diff --git a/dist/apps/admin-gui/assets/config/version.json b/dist/apps/admin-gui/assets/config/version.json index 193f97fba..9c90b2036 100644 --- a/dist/apps/admin-gui/assets/config/version.json +++ b/dist/apps/admin-gui/assets/config/version.json @@ -1 +1 @@ -{"version":"9.0.0"} +{"version":"9.1.0"} diff --git a/dist/apps/admin-gui/index.html b/dist/apps/admin-gui/index.html index 759473cdd..7ca08d8a0 100644 --- a/dist/apps/admin-gui/index.html +++ b/dist/apps/admin-gui/index.html @@ -6,7 +6,7 @@ - + @@ -14,5 +14,5 @@
- + diff --git a/dist/apps/admin-gui/main.425b0fb7c40265dc.js b/dist/apps/admin-gui/main.4a29fe2922788df4.js similarity index 99% rename from dist/apps/admin-gui/main.425b0fb7c40265dc.js rename to dist/apps/admin-gui/main.4a29fe2922788df4.js index 0e1cfdba9..666f611d6 100644 --- a/dist/apps/admin-gui/main.425b0fb7c40265dc.js +++ b/dist/apps/admin-gui/main.4a29fe2922788df4.js @@ -1 +1 @@ -(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{57788:(qe,me,h)=>{"use strict";h.d(me,{g:()=>it});var e=h(32105),c=h(10036),g=h(5e3),w=h(53251),_=h(69808),b=h(9244),E=h(42377),v=h(64901),I=h(47423),N=h(29772),A=h(25245),q=h(51062);function j(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"div",6),g.TgZ(1,"div",7),g.TgZ(2,"perun-web-apps-entity-search-select",8),g.NdJ("entitySelected",function(ae){return g.CHM(Ue).$implicit[0]=ae.namespace+":"+ae.friendlyName}),g.ALo(3,"translate"),g.ALo(4,"translate"),g.ALo(5,"translate"),g.qZA(),g.qZA(),g.TgZ(6,"div",9),g.TgZ(7,"perun-web-apps-debounce-filter",10),g.NdJ("filter",function(ae){return g.CHM(Ue).$implicit[1]=ae}),g.qZA(),g.qZA(),g.TgZ(8,"div",11),g.TgZ(9,"button",12),g.NdJ("click",function(){const Ae=g.CHM(Ue).$implicit;return g.oxw(2).removeOption(Ae)}),g.ALo(10,"translate"),g.TgZ(11,"mat-icon"),g._uU(12,"clear"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.xp6(2),g.Q6J("entities",Ue.availableAttrDefs)("searchFunction",Ue.nameFunction)("mainTextFunction",Ue.nameFunction)("secondaryTextFunction",Ue.secondaryTextFunction)("selectPlaceholder",g.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SELECT_ATTR_DEF"))("findPlaceholder",g.lcZ(4,12,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.FIND_ATTR_DEF"))("noEntriesText",g.lcZ(5,14,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.NO_ATTR_DEF_FOUND")),g.xp6(5),g.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_PLACEHOLDER"),g.xp6(2),g.s9C("matTooltip",g.lcZ(10,16,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.REMOVE_PARAMETER")),g.Q6J("disabled",1===Ue.options.length)}}function G(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"div",1),g.YNc(1,j,13,18,"div",2),g.TgZ(2,"button",3),g.NdJ("click",function(){return g.CHM(Ue),g.oxw().addOption()}),g._uU(3),g.ALo(4,"translate"),g.qZA(),g.TgZ(5,"span",4),g.ALo(6,"translate"),g.TgZ(7,"button",5),g.NdJ("click",function(){return g.CHM(Ue),g.oxw().searchEntities()}),g.TgZ(8,"mat-icon"),g._uU(9,"search"),g.qZA(),g._uU(10),g.ALo(11,"translate"),g.qZA(),g.qZA(),g.qZA()}if(2&Be){const Ue=g.oxw();g.xp6(1),g.Q6J("ngForOf",Ue.options),g.xp6(2),g.hij(" ",g.lcZ(4,6,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.ADD_PARAMETER")," "),g.xp6(2),g.s9C("matTooltip",g.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_BUTTON_TOOLTIP")),g.Q6J("matTooltipDisabled",!Ue.emptySearchString()),g.xp6(2),g.Q6J("disabled",Ue.emptySearchString()),g.xp6(3),g.hij(" ",g.lcZ(11,10,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_BUTTON")," ")}}let Q=(()=>{class Be{constructor(){this.attributeSelected=new g.vpe,this.search=new g.vpe,this.availableAttrDefs=[],this.options=[],this.nameFunction=Ue=>Ue.displayName,this.secondaryTextFunction=Ue=>"#"+String(Ue.id)}ngOnInit(){this.availableAttrDefs=this.attributes.filter(Ue=>Ue.entity===this.attributesForEntity).sort(b.Xd)}ngOnChanges(){this.options=[],this.options.push([this.attributes[0].namespace+":"+this.attributes[0].friendlyName,""])}removeOption(Ue){this.options=this.options.filter(_e=>_e!==Ue)}addOption(){this.options.push([this.attributes[0].namespace+":"+this.attributes[0].friendlyName,""])}emptySearchString(){return this.options.some(Ue=>0===Ue[1].length)}searchEntities(){const Ue={};this.options.forEach(_e=>{Ue[_e[0]]=_e[1]}),this.search.emit(Ue)}}return Be.\u0275fac=function(Ue){return new(Ue||Be)},Be.\u0275cmp=g.Xpm({type:Be,selectors:[["perun-web-apps-attribute-search-select"]],inputs:{attributes:"attributes",attributesForEntity:"attributesForEntity"},outputs:{attributeSelected:"attributeSelected",search:"search"},features:[g.TTD],decls:1,vars:1,consts:[["class","container ml-0 mr-0 pl-0 pr-0 mt-3",4,"ngIf"],[1,"container","ml-0","mr-0","pl-0","pr-0","mt-3"],["class","row",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["matTooltipPosition","below",3,"matTooltip","matTooltipDisabled"],["data-cy","searcher-search-button","mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"row"],[1,"col-7"],[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"],[1,"col-4","pr-0"],[3,"placeholder","filter"],[1,"col-1"],["mat-icon-button","","color","warn",1,"mt-2",3,"matTooltip","disabled","click"]],template:function(Ue,_e){1&Ue&&g.YNc(0,G,12,12,"div",0),2&Ue&&g.Q6J("ngIf",void 0!==_e.options)},directives:[_.O5,_.sg,E.i,v.P,I.lW,N.gM,A.Hw],pipes:[q.X$],styles:[""]}),Be})();var he=h(64877),F=h(62707),be=h(38383),pe=h(74010),ye=h(62109),T=h(20773);function R(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_USERS")," ")}function L(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"user")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","user")}}const X=function(){return["user","id","name"]};function Y(Be,ze){if(1&Be&&g._UZ(0,"app-users-list",9),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,X))("users",Ue.entities)}}function se(Be,ze){if(1&Be&&(g.YNc(0,L,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,Y,1,4,"app-users-list",7)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function Te(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_MEMBERS")," ")}function Oe(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-vo-search-select",13),g.NdJ("voSelected",function(ae){return g.CHM(Ue),g.oxw(2).voSelected(ae)}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("vos",Ue.vos)}}function Se(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"member")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","user")}}const We=function(){return["id","voId","userId","status"]};function ge(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-members-list",14),g.NdJ("updateTable",function(){g.CHM(Ue);const ae=g.oxw(2);return ae.searchEntities(ae.searchInput,"member")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(4,We))("disableExpirationChange",!0)("members",Ue.entities)}}function Le(Be,ze){if(1&Be&&(g.TgZ(0,"div",10),g.YNc(1,Oe,1,1,"perun-web-apps-vo-search-select",11),g.qZA(),g.YNc(2,Se,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(3,ge,1,5,"perun-web-apps-members-list",12)),2&Be){const Ue=g.oxw();g.xp6(1),g.Q6J("ngIf",Ue.vos.length>0),g.xp6(1),g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function ue(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_FACILITIES")," ")}function Me(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"facility")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","facility")}}const z=function(){return["id","name","description"]};function P(Be,ze){if(1&Be&&g._UZ(0,"perun-web-apps-facilities-list",16),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,z))("facilities",Ue.entities)}}function de(Be,ze){if(1&Be&&(g.YNc(0,Me,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,P,1,4,"perun-web-apps-facilities-list",15)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function Ce(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_RESOURCES")," ")}function Pe(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"resource")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","resource")}}const ce=function(){return["id","name","description","voId","facilityId"]};function fe(Be,ze){if(1&Be&&g._UZ(0,"perun-web-apps-resources-list",18),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,ce))("resources",Ue.entities)}}function Ze(Be,ze){if(1&Be&&(g.YNc(0,Pe,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,fe,1,4,"perun-web-apps-resources-list",17)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function ne(Be,ze){1&Be&&g._UZ(0,"mat-spinner",19)}let it=(()=>{class Be{constructor(Ue,_e,ae){this.attributesManager=Ue,this.searcher=_e,this.voService=ae,this.loadingEntityData=!1,this.allAttrDefinitions=[],this.tableId=c.ee,this.entities=[],this.vos=[]}ngOnInit(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(Ue=>{this.allAttrDefinitions=Ue,this.loading=!1})}tabChanged(Ue){switch(this.entities=[],Ue){case 0:this.tableId=c.ee;break;case 1:this.loadingEntityData=!0,this.loadAllVos(),this.tableId=c.FF;break;case 2:this.tableId=c.$I;break;case 3:this.tableId=c.XH}}loadAllVos(){this.loadingEntityData=!0,this.voService.getAllVos().subscribe(Ue=>{this.vos=Ue,this.selectedVo=Ue[0],this.loadingEntityData=!1})}voSelected(Ue){void 0!==Ue&&(this.selectedVo=Ue)}searchEntities(Ue,_e){switch(this.searchInput=Ue,this.loadingEntityData=!0,_e){case"user":this.getUsers();break;case"member":this.getMembers();break;case"facility":this.getFacilities();break;case"resource":this.getResources()}}getUsers(){this.searcher.getUsersSearcher({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}getMembers(){this.searcher.getMembersByUserAttributes({vo:this.selectedVo.id,userAttributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}getFacilities(){this.searcher.getFacilities({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue.map(_e=>({facility:_e})),this.loadingEntityData=!1})}getResources(){this.searcher.getAttributesResources({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}}return Be.id="AdminSearcherComponent",Be.\u0275fac=function(Ue){return new(Ue||Be)(g.Y36(e.H8),g.Y36(e.t7),g.Y36(e.YF))},Be.\u0275cmp=g.Xpm({type:Be,selectors:[["app-admin-searcher"]],hostVars:2,hostBindings:function(Ue,_e){2&Ue&&g.ekj("router-component",_e.true)},decls:17,vars:4,consts:[[1,"page-subtitle"],[3,"selectedIndexChange"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"attributes","attributesForEntity","search",4,"ngIf"],[3,"tableId","displayedColumns","users",4,"ngIf"],[3,"attributes","attributesForEntity","search"],[3,"tableId","displayedColumns","users"],[1,"mt-3"],[3,"vos","voSelected",4,"ngIf"],[3,"tableId","displayedColumns","disableExpirationChange","members","updateTable",4,"ngIf"],[3,"vos","voSelected"],[3,"tableId","displayedColumns","disableExpirationChange","members","updateTable"],[3,"tableId","displayedColumns","facilities",4,"ngIf"],[3,"tableId","displayedColumns","facilities"],[3,"tableId","displayedColumns","resources",4,"ngIf"],[3,"tableId","displayedColumns","resources"],[1,"ml-auto","mr-auto"]],template:function(Ue,_e){1&Ue&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"mat-tab-group",1),g.NdJ("selectedIndexChange",function(Ae){return _e.tabChanged(Ae)}),g.TgZ(4,"mat-tab",2),g.YNc(5,R,2,3,"ng-template",3),g.YNc(6,se,2,2,"ng-template",4),g.qZA(),g.TgZ(7,"mat-tab"),g.YNc(8,Te,2,3,"ng-template",3),g.YNc(9,Le,4,3,"ng-template",4),g.qZA(),g.TgZ(10,"mat-tab"),g.YNc(11,ue,2,3,"ng-template",3),g.YNc(12,de,2,2,"ng-template",4),g.qZA(),g.TgZ(13,"mat-tab"),g.YNc(14,Ce,2,3,"ng-template",3),g.YNc(15,Ze,2,2,"ng-template",4),g.qZA(),g.qZA(),g.YNc(16,ne,1,0,"mat-spinner",5)),2&Ue&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"ADMIN.SEARCHER.TITLE")),g.xp6(15),g.Q6J("ngIf",_e.loading||_e.loadingEntityData))},directives:[w.SP,w.uX,w.uD,w.Vc,_.O5,Q,he.C,F.M,be.O,pe.X,ye.C,T.Ou],pipes:[q.X$],styles:[""]}),Be})()},80774:(qe,me,h)=>{"use strict";h.d(me,{F:()=>T});var e=h(20449),c=h(32105),g=h(10036),w=h(9244),_=h(40009),b=h(90719),E=h(32080),v=h(5e3),I=h(48966),N=h(96214),A=h(69808),q=h(47423),j=h(7434),G=h(20773),Q=h(60205),he=h(51062);function F(R,L){if(1&R){const X=v.EpF();v.TgZ(0,"button",7),v.NdJ("click",function(){return v.CHM(X),v.oxw().createService()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&R&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"ADMIN.SERVICES.CREATE")," "))}function be(R,L){if(1&R){const X=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(X),v.oxw().deleteService()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&R){const X=v.oxw();v.Q6J("disabled",0===X.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"ADMIN.SERVICES.DELETE")," ")}}function pe(R,L){1&R&&v._UZ(0,"mat-spinner",9)}function ye(R,L){if(1&R&&v._UZ(0,"app-services-list",10),2&R){const X=v.oxw();v.Q6J("filterValue",X.filterValue)("selection",X.selection)("services",X.services)("tableId",X.tableId)}}let T=(()=>{class R{constructor(X,Y,se){this.serviceManager=X,this.dialog=Y,this.authResolver=se,this.selection=new e.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=g.NL}ngOnInit(){this.serviceManager.getServices().subscribe(X=>{this.services=X,this.refreshTable()})}createService(){const X=(0,w.kZ)();X.width="600px",X.data={theme:"admin-theme"},this.dialog.open(_.R,X).afterClosed().subscribe(se=>{se&&this.refreshTable()})}deleteService(){const X=(0,w.kZ)();X.width="600px",X.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(b.m,X).afterClosed().subscribe(se=>{se&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(X=>{this.services=X,this.selection.clear(),this.loading=!1})}applyFilter(X){this.filterValue=X}}return R.id="AdminServicesComponent",R.\u0275fac=function(X){return new(X||R)(v.Y36(c.KK),v.Y36(I.uw),v.Y36(E.x4))},R.\u0275cmp=v.Xpm({type:R,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","action-button mr-2","data-cy","service-create-button","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","data-cy","service-delete-button","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"filterValue","selection","services","tableId",4,"ngIf"],["color","accent","data-cy","service-create-button","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","data-cy","service-delete-button","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"filterValue","selection","services","tableId"]],template:function(X,Y){1&X&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"perun-web-apps-refresh-button",1),v.NdJ("refresh",function(){return Y.refreshTable()}),v.qZA(),v.YNc(5,F,3,3,"button",2),v.YNc(6,be,3,4,"button",3),v.TgZ(7,"perun-web-apps-immediate-filter",4),v.NdJ("filter",function(Te){return Y.applyFilter(Te)}),v.qZA(),v.YNc(8,pe,1,0,"mat-spinner",5),v.YNc(9,ye,1,4,"app-services-list",6),v.qZA()),2&X&&(v.xp6(2),v.Oqu(v.lcZ(3,6,"ADMIN.SERVICES.TITLE")),v.xp6(3),v.Q6J("ngIf",Y.authResolver.isPerunAdmin()),v.xp6(1),v.Q6J("ngIf",Y.authResolver.isPerunAdmin()),v.xp6(1),v.Q6J("placeholder","ADMIN.SERVICES.FILTER"),v.xp6(1),v.Q6J("ngIf",Y.loading),v.xp6(1),v.Q6J("ngIf",!Y.loading))},directives:[N.t,A.O5,q.lW,j.L,G.Ou,Q.Q],pipes:[he.X$],styles:[""]}),R})()},25828:(qe,me,h)=>{"use strict";h.d(me,{t:()=>N});var e=h(10036),c=h(64080),g=h(32080),w=h(5e3),_=h(64901),b=h(77446),E=h(88561),v=h(51062);const I=function(){return["user","id","name","email","logins","organization"]};let N=(()=>{class A{constructor(j){this.storeService=j,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[c.r.USER_DEF_ORGANIZATION,c.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(j){this.searchString=j}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return A.id="AdminUsersComponent",A.\u0275fac=function(j){return new(j||A)(w.Y36(g.d6))},A.\u0275cmp=w.Xpm({type:A,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(j,G){2&j&&w.ekj("router-component",G.true)},decls:8,vars:16,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"autoFocus","placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","attrNames","displayedColumns","tableId","withoutVo"]],template:function(j,G){1&j&&(w.TgZ(0,"h1",0),w._uU(1),w.ALo(2,"translate"),w.qZA(),w.TgZ(3,"perun-web-apps-debounce-filter",1),w.NdJ("filter",function(he){return G.onSearchByString(he)}),w.qZA(),w.TgZ(4,"mat-checkbox",2),w.NdJ("change",function(){return G.findUsersWithoutVO()}),w._uU(5),w.ALo(6,"translate"),w.qZA(),w._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&j&&(w.xp6(1),w.Oqu(w.lcZ(2,11,"ADMIN.USERS.TITLE")),w.xp6(2),w.Q6J("autoFocus",!0)("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),w.xp6(1),w.Q6J("checked",G.usersWithoutVo),w.xp6(1),w.hij(" ",w.lcZ(6,13,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),w.xp6(2),w.Q6J("disableRouting",!1)("searchString",G.searchString)("attrNames",G.attributes)("displayedColumns",w.DdM(15,I))("tableId",G.tableId)("withoutVo",G.usersWithoutVo))},directives:[_.P,b.oG,E.M],pipes:[v.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),A})()},72077:(qe,me,h)=>{"use strict";h.d(me,{y:()=>R});var e=h(32080),c=h(17445),g=h(40520),w=h(9244),_=h(5e3),b=h(48966),E=h(47423),v=h(51062);let I=(()=>{class L{constructor(Y){this.dialogRef=Y}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return L.\u0275fac=function(Y){return new(Y||L)(_.Y36(b.so))},L.\u0275cmp=_.Xpm({type:L,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"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(Y,se){1&Y&&(_.TgZ(0,"h1",0),_._uU(1),_.ALo(2,"translate"),_.qZA(),_.TgZ(3,"div",1),_.TgZ(4,"div",2),_.TgZ(5,"p"),_._uU(6),_.ALo(7,"translate"),_.qZA(),_.qZA(),_.TgZ(8,"div",3),_.TgZ(9,"button",4),_.NdJ("click",function(){return se.onClose()}),_._uU(10),_.ALo(11,"translate"),_.qZA(),_.TgZ(12,"button",5),_.NdJ("click",function(){return se.onReload()}),_._uU(13),_.ALo(14,"translate"),_.qZA(),_.qZA(),_.qZA()),2&Y&&(_.xp6(1),_.Oqu(_.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),_.xp6(5),_.hij(" ",_.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),_.xp6(4),_.hij(" ",_.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),_.xp6(3),_.hij(" ",_.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[b.uh,b.xY,b.H8,E.lW],pipes:[v.X$],styles:[""]}),L})();var N=h(36157),A=h(39300);let q=(()=>{class L{constructor(Y,se){this.router=Y,this.routeReuseStrategy=se;const Te=se;Y.events.subscribe(Oe=>{Oe instanceof N.OD&&Te.setLastNavigationType("popstate"===Oe.navigationTrigger?"back":"direct")})}init(){}}return L.\u0275fac=function(Y){return new(Y||L)(_.LFG(N.F0),_.LFG(N.wN))},L.\u0275prov=_.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const j=["footer"];function G(L,X){if(1&L&&(_.TgZ(0,"div",3),_.TgZ(1,"mat-icon"),_._uU(2,"alert"),_.qZA(),_._uU(3),_.qZA()),2&L){const Y=_.oxw();_.xp6(3),_.hij(" ",Y.warningMessage,"\n")}}const Q=function(L,X){return{top:L,background:X}},he=function(L,X){return{"margin-top":L,"min-height":X}},F=function(L,X){return{"border-color":L,background:X}},be=function(L){return{"background-color":L}},pe=function(L){return{"min-height":L}};function ye(L,X){if(1&L&&(_._UZ(0,"app-perun-nav-menu",4),_.TgZ(1,"mat-sidenav-container",5),_.TgZ(2,"mat-sidenav",6,7),_.TgZ(4,"ng-scrollbar"),_._UZ(5,"app-side-menu",8),_.qZA(),_.qZA(),_.TgZ(6,"mat-sidenav-content",9),_.TgZ(7,"div",10),_._UZ(8,"router-outlet"),_.qZA(),_.TgZ(9,"div",null,11),_._UZ(11,"perun-web-apps-footer"),_.qZA(),_.qZA(),_.qZA()),2&L){const Y=_.MAs(3),se=_.oxw();_.Q6J("principal",se.principal)("ngStyle",_.WLB(12,Q,se.getNavMenuTop(),se.navBackgroundColor))("sideNav",Y),_.xp6(1),_.Q6J("ngStyle",_.WLB(15,he,se.getSideNavMarginTop(),se.getSideNavMinHeight())),_.xp6(1),_.Q6J("fixedInViewport",!0)("mode",se.sidebarMode)("fixedTopGap",se.getTopGap())("ngStyle",_.WLB(18,F,se.sideBarBorderColor,se.sideMenubackgroundColor))("opened",!se.isMobile()),_.xp6(3),_.Q6J("sideNav",Y),_.xp6(1),_.Q6J("ngStyle",_.VKq(21,be,se.contentBackgroundColor)),_.xp6(1),_.Q6J("ngStyle",_.VKq(23,pe,se.contentInnerMinHeight))}}function T(L,X){1&L&&_._UZ(0,"perun-web-apps-login-screen-base",12),2&L&&_.Q6J("application","admin-gui")}let R=(()=>{class L{constructor(Y,se,Te,Oe,Se,We,ge){this.cache=Y,this.store=se,this.http=Te,this.dialog=Oe,this.router=Se,this.initAuth=We,this.cd=ge,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=h(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<=L.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,c.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,A.h)(Y=>Y instanceof N.OD)).subscribe(Y=>{this.updateInitAccessedPage(Y)})}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(){var Y,se,Te,Oe;const Se=null!==(Oe=null===(Te=null===(se=null===(Y=this.footer)||void 0===Y?void 0:Y.nativeElement)||void 0===se?void 0:se.offsetHeight)||void 0===Te?void 0:Te.toString())&&void 0!==Oe?Oe:"0";this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+Se+"px - 112px)":"calc(100vh - "+Se+"px - 64px)",this.cd.detectChanges()}updateInitAccessedPage(Y){Y.url===sessionStorage.getItem("initPage")?("imperative"===Y.navigationTrigger&&Y.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===Y.navigationTrigger&&(Y.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(Y.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const Y=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:Y}).subscribe(se=>{const Te=se.version;if(Te)if(this.version&&"SNAPSHOT"!==Te&&this.version!==Te){const Oe=(0,w.kZ)();this.dialog.open(I,Oe)}else this.version=Te})}}return L.minWidth=992,L.\u0275fac=function(Y){return new(Y||L)(_.Y36(q),_.Y36(e.d6),_.Y36(g.eN),_.Y36(b.uw),_.Y36(N.F0),_.Y36(e.v0),_.Y36(_.sBO))},L.\u0275cmp=_.Xpm({type:L,selectors:[["app-root"]],viewQuery:function(Y,se){if(1&Y&&_.Gf(j,5),2&Y){let Te;_.iGM(Te=_.CRH())&&(se.footer=Te.first)}},hostBindings:function(Y,se){1&Y&&_.NdJ("resize",function(Oe){return se.getScreenSize(Oe)},!1,_.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,"principal","ngStyle","sideNav"],[3,"ngStyle"],[3,"fixedInViewport","mode","fixedTopGap","ngStyle","opened"],["sidenav",""],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(Y,se){1&Y&&(_.YNc(0,G,4,1,"div",0),_._UZ(1,"perun-web-apps-notificator",1),_.YNc(2,ye,12,25,"ng-template",2),_.YNc(3,T,1,1,"ng-template",2)),2&Y&&(_.Q6J("ngIf",se.displayWarning),_.xp6(1),_.Q6J("displayWarning",se.displayWarning),_.xp6(1),_.Q6J("ngIf",!se.isLoginScreenShow&&!se.isServiceAccess&&!se.isServiceLogin()),_.xp6(1),_.Q6J("ngIf",se.isLoginScreenShow||se.isServiceAccess||se.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}ng-scrollbar[_ngcontent-%COMP%]{--scrollbar-thumb-color: #6a6a6a;--scrollbar-thumb-hover-color: lightgrey}"]}),L})()},77968:(qe,me,h)=>{"use strict";h.d(me,{D:()=>c});var e=h(5e3);let c=(()=>{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(_){this.homeItemsChange.emit(_)}setAccessMenuItems(_){this.accessItemsChange.emit(_)}setFacilityMenuItems(_){this.facilityItemsChange.emit(_)}setAdminItems(_){this.adminItemsChange.emit(_)}setUserItems(_){this.userItemsChange.emit(_)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(qe,me,h)=>{"use strict";h.d(me,{o:()=>be});var e=h(32105),c=h(10036),g=h(32080),w=h(5e3),_=h(96214),b=h(67322),E=h(74107),v=h(90508),I=h(69808),N=h(7434),A=h(20773),q=h(24179),j=h(51062);function G(pe,ye){if(1&pe&&(w.TgZ(0,"mat-option",9),w._uU(1),w.qZA()),2&pe){const T=ye.$implicit;w.Q6J("value",T.id),w.xp6(1),w.hij(" ",T.name," ")}}function Q(pe,ye){1&pe&&w._UZ(0,"mat-spinner",10)}const he=function(){return["id","vo","name","description"]};function F(pe,ye){if(1&pe&&w._UZ(0,"perun-web-apps-groups-list",11),2&pe){const T=w.oxw();w.Q6J("displayedColumns",w.DdM(6,he))("groups",T.groupsToShow)("disableMembers",!1)("filter",T.filterValue)("groupsToDisableRouting",T.groupsWithoutRouteAuth)("tableId",T.tableId)}}let be=(()=>{class pe{constructor(T,R,L){this.facilityManager=T,this.authResolver=R,this.entityStorageService=L,this.groups=[],this.filterValue="",this.selected="all",this.groupsToShow=this.groups,this.tableId=c.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(T=>{this.vos=T,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(T=>T.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(T=>{this.facilityManager.getAllowedGroups(this.facility.id,T.id).subscribe(R=>{this.groups=this.groups.concat(R),this.groupsToShow=this.groups,this.setAuthRights(T,R),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(T,R){R.forEach(L=>{this.authResolver.isAuthorized("getGroupById_int_policy",[T,L])||this.groupsWithoutRouteAuth.add(L.id)})}applyFilter(T){this.filterValue=T}}return pe.id="FacilityAllowedGroupsComponent",pe.\u0275fac=function(T){return new(T||pe)(w.Y36(e.IQ),w.Y36(g.x4),w.Y36(g.fb))},pe.\u0275cmp=w.Xpm({type:pe,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(T,R){2&T&&w.ekj("router-component",R.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","selectionChange","valueChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","disableMembers","filter","groupsToDisableRouting","tableId",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","disableMembers","filter","groupsToDisableRouting","tableId"]],template:function(T,R){1&T&&(w.TgZ(0,"div"),w.TgZ(1,"h1",0),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"perun-web-apps-refresh-button",1),w.NdJ("refresh",function(){return R.refreshTable()}),w.qZA(),w.TgZ(5,"mat-form-field",2),w.TgZ(6,"mat-label"),w._uU(7),w.ALo(8,"translate"),w.qZA(),w.TgZ(9,"mat-select",3),w.NdJ("selectionChange",function(){return R.showGroup()})("valueChange",function(X){return R.selected=X}),w.TgZ(10,"mat-option",4),w._uU(11),w.ALo(12,"translate"),w.qZA(),w.YNc(13,G,2,2,"mat-option",5),w.qZA(),w.qZA(),w.TgZ(14,"perun-web-apps-immediate-filter",6),w.NdJ("filter",function(X){return R.applyFilter(X)}),w.qZA(),w.YNc(15,Q,1,0,"mat-spinner",7),w.YNc(16,F,1,7,"perun-web-apps-groups-list",8),w.qZA()),2&T&&(w.xp6(2),w.Oqu(w.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),w.xp6(5),w.Oqu(w.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),w.xp6(2),w.Q6J("value",R.selected),w.xp6(2),w.Oqu(w.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),w.xp6(2),w.Q6J("ngForOf",R.vos),w.xp6(1),w.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),w.xp6(1),w.Q6J("ngIf",R.loading),w.xp6(1),w.Q6J("ngIf",!R.loading))},directives:[_.t,b.KE,b.hX,E.gD,v.ey,I.sg,N.L,I.O5,A.Ou,q.W],pipes:[j.X$],styles:[""]}),pe})()},25610:(qe,me,h)=>{"use strict";h.d(me,{_:()=>X});var e=h(10036),c=h(32105),g=h(32080),w=h(64080),_=h(5e3),b=h(96214),E=h(64901),v=h(47423),I=h(25245),N=h(51062);let A=(()=>{class Y{constructor(){this.changeAdvancedFilter=new _.vpe,this.clearFilters=new _.vpe}ngOnInit(){this.changeAdvancedFilter.emit(this.advancedFilter)}toggleAdvancedFilter(){this.advancedFilter=!this.advancedFilter,this.changeAdvancedFilter.emit(this.advancedFilter)}}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["perun-web-apps-advanced-filter"]],inputs:{filtersCount:"filtersCount",advancedFilter:"advancedFilter"},outputs:{changeAdvancedFilter:"changeAdvancedFilter",clearFilters:"clearFilters"},decls:12,vars:11,consts:[["mat-stroked-button","",3,"click"]],template:function(Te,Oe){1&Te&&(_.TgZ(0,"button",0),_.NdJ("click",function(){return Oe.toggleAdvancedFilter()}),_.TgZ(1,"mat-icon"),_._uU(2,"filter_list"),_.qZA(),_._uU(3),_.ALo(4,"translate"),_.TgZ(5,"mat-icon"),_._uU(6),_.qZA(),_.qZA(),_.TgZ(7,"button",0),_.NdJ("click",function(){return Oe.clearFilters.emit()}),_.TgZ(8,"mat-icon"),_._uU(9,"filter_list_off"),_.qZA(),_._uU(10),_.ALo(11,"translate"),_.qZA()),2&Te&&(_.Gre("mr-2 ",Oe.filtersCount?"grey":"no-color",""),_.xp6(3),_.AsE(" ",_.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.FILTERS")," ",Oe.filtersCount?"("+Oe.filtersCount+")":null," "),_.xp6(3),_.Oqu(Oe.advancedFilter?"arrow_drop_up":"arrow_drop_down"),_.xp6(4),_.hij(" ",_.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.CLEAR_FILTERS"),"\n"))},directives:[v.lW,I.Hw],pipes:[N.X$],styles:[".grey[_ngcontent-%COMP%]{color:#fff;background-color:gray}.no-color[_ngcontent-%COMP%]{color:#000;background-color:transparent}"]}),Y})();var q=h(69808),j=h(32368),G=h(93075),Q=h(62707),he=h(45703),F=h(30540),be=h(20773),pe=h(88561);function ye(Y,se){if(1&Y){const Te=_.EpF();_.TgZ(0,"div",8),_.TgZ(1,"div",9),_.TgZ(2,"mat-slide-toggle",10),_.NdJ("ngModelChange",function(Se){return _.CHM(Te),_.oxw().allowed=Se})("change",function(){return _.CHM(Te),_.oxw().changeFilter()}),_._uU(3),_.ALo(4,"translate"),_.qZA(),_.TgZ(5,"span",11),_._uU(6),_.ALo(7,"translate"),_.qZA(),_.qZA(),_.TgZ(8,"div",1),_.TgZ(9,"perun-web-apps-vo-search-select",12),_.NdJ("voSelected",function(Se){return _.CHM(Te),_.oxw().voSelected(Se)}),_.qZA(),_.TgZ(10,"perun-web-apps-resource-search-select",13),_.NdJ("resourceSelected",function(Se){return _.CHM(Te),_.oxw().resourceSelected(Se)}),_.qZA(),_.TgZ(11,"perun-web-apps-service-search-select",14),_.NdJ("serviceSelected",function(Se){return _.CHM(Te),_.oxw().serviceSelected(Se)}),_.qZA(),_.qZA(),_.qZA()}if(2&Y){const Te=_.oxw();_.xp6(2),_.Q6J("ngModel",Te.allowed),_.xp6(1),_.hij(" ",_.lcZ(4,10,"FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED")," "),_.xp6(3),_.Oqu(_.lcZ(7,12,Te.toggle_messages[Te.allowed?1:0])),_.xp6(3),_.Q6J("vos",Te.vos)("vo",Te.selectedVo),_.xp6(1),_.Q6J("resources",Te.filteredResources)("displayStatus",!1)("resource",Te.selectedResource),_.xp6(1),_.Q6J("services",Te.filteredServices)("service",Te.selectedService)}}function T(Y,se){1&Y&&_._UZ(0,"mat-spinner",15)}const R=function(){return["id","name","email","logins","organization"]};function L(Y,se){if(1&Y&&_._UZ(0,"perun-web-apps-users-dynamic-list",16),2&Y){const Te=_.oxw();_.Q6J("attrNames",Te.attributes)("disableRouting",!Te.routeAuth)("displayedColumns",_.DdM(10,R))("onlyAllowed",Te.allowed)("facilityId",Te.facility.id)("searchString",Te.filterValue)("resourceId",-1===Te.selectedResource.id?null:Te.selectedResource.id)("serviceId",-1===Te.selectedService.id?null:Te.selectedService.id)("tableId",Te.tableId)("voId",-1===Te.selectedVo.id?null:Te.selectedVo.id)}}let X=(()=>{class Y{constructor(Te,Oe,Se,We,ge,Le){this.facilityService=Te,this.serviceService=Oe,this.resourceService=Se,this.authResolver=We,this.storeService=ge,this.entityStorageService=Le,this.loading=!1,this.filterValue="",this.attributes=[],this.allowed=!0,this.emptyResource={id:-1,beanName:"Resource",name:"No filter"},this.resources=[this.emptyResource],this.filteredResources=[this.emptyResource],this.selectedResource=this.emptyResource,this.emptyVo={id:-1,beanName:"Vo",name:"No filter"},this.vos=[this.emptyVo],this.selectedVo=this.emptyVo,this.emptyService={id:-1,beanName:"Service",name:"No filter"},this.services=[this.emptyService],this.filteredServices=[this.emptyService],this.selectedService=this.emptyService,this.resourceAssignedServices=new Map,this.tableId=e.z6,this.toggle_messages=["FACILITY_DETAIL.ALLOWED_USERS.FILTER_ASSIGNED_MSG","FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED_MSG"],this.advancedFilter=!1}ngOnInit(){this.loading=!0,this.attributes=[w.r.USER_DEF_ORGANIZATION,w.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames()),this.facility=this.entityStorageService.getEntity(),this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.changeFilter(),this.refreshPage()}changeFilter(){this.filtersCount=this.allowed?1:0,-1!==this.selectedVo.id&&(this.filtersCount+=1),-1!==this.selectedResource.id&&(this.filtersCount+=1),-1!==this.selectedService.id&&(this.filtersCount+=1)}clearFilters(){this.allowed=!1,this.selectedVo=this.emptyVo,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,this.filtersCount=0}refreshPage(){this.loading=!0,this.facilityService.getAssignedResourcesForFacility(this.facility.id).subscribe(Te=>{this.resources=[this.emptyResource].concat(Te),this.filteredResources=this.resources,this.facilityService.getAllowedVos(this.facility.id).subscribe(Oe=>{this.vos=[this.emptyVo].concat(Oe),this.serviceService.getAssignedServices(this.facility.id).subscribe(Se=>{this.services=[this.emptyService].concat(Se),this.filteredServices=this.services,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(Te){this.filterValue=Te}voSelected(Te){this.selectedVo.id!==Te.id&&(this.selectedVo=Te,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,-1===Te.id?(this.filteredResources=this.resources,this.filteredServices=this.services):(this.filteredResources=this.resources.filter(Oe=>Oe.voId===Te.id),this.serviceService.getAssignedServicesVo(this.facility.id,Te.id).subscribe(Oe=>{this.filteredServices=[this.emptyService].concat(Oe),this.loading=!1},()=>this.loading=!1),this.filteredResources=[this.emptyResource].concat(this.filteredResources)),this.changeFilter())}resourceSelected(Te){this.selectedResource.id!==Te.id&&(this.selectedResource=Te,this.selectedService=this.emptyService,-1===Te.id?this.filteredServices=this.services:this.resourceService.getAssignedServicesToResource(Te.id).subscribe(Oe=>{this.filteredServices=[this.emptyService].concat(Oe),this.loading=!1},()=>this.loading=!1),this.changeFilter())}serviceSelected(Te){this.selectedService=Te,this.changeFilter()}}return Y.id="FacilityAllowedUsersComponent",Y.\u0275fac=function(Te){return new(Te||Y)(_.Y36(c.IQ),_.Y36(c.KK),_.Y36(c.xk),_.Y36(g.x4),_.Y36(g.d6),_.Y36(g.fb))},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["app-facility-allowed-users"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[1,"filters"],[1,"mr-2",3,"refresh"],[1,"mr-2","filter",3,"placeholder","filter"],[3,"advancedFilter","filtersCount","changeAdvancedFilter","clearFilters"],["class","advanced-filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"attrNames","disableRouting","displayedColumns","onlyAllowed","facilityId","searchString","resourceId","serviceId","tableId","voId",4,"ngIf"],[1,"advanced-filter"],[1,"toggle","filters"],["labelPosition","before",1,"mr-2",3,"ngModel","ngModelChange","change"],[1,"text-muted"],[1,"search-select",3,"vos","vo","voSelected"],[1,"search-select",3,"resources","displayStatus","resource","resourceSelected"],[1,"search-select",3,"services","service","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"attrNames","disableRouting","displayedColumns","onlyAllowed","facilityId","searchString","resourceId","serviceId","tableId","voId"]],template:function(Te,Oe){1&Te&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"div",1),_.TgZ(5,"perun-web-apps-refresh-button",2),_.NdJ("refresh",function(){return Oe.refreshPage()}),_.qZA(),_.TgZ(6,"perun-web-apps-debounce-filter",3),_.NdJ("filter",function(We){return Oe.applyFilter(We)}),_.qZA(),_.TgZ(7,"perun-web-apps-advanced-filter",4),_.NdJ("changeAdvancedFilter",function(We){return Oe.advancedFilter=We})("clearFilters",function(){return Oe.clearFilters()}),_.qZA(),_.qZA(),_.YNc(8,ye,12,14,"div",5),_.YNc(9,T,1,0,"mat-spinner",6),_.YNc(10,L,1,11,"perun-web-apps-users-dynamic-list",7),_.qZA()),2&Te&&(_.xp6(2),_.Oqu(_.lcZ(3,7,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),_.xp6(4),_.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),_.xp6(1),_.Q6J("advancedFilter",Oe.advancedFilter)("filtersCount",Oe.filtersCount),_.xp6(1),_.Q6J("ngIf",Oe.advancedFilter),_.xp6(1),_.Q6J("ngIf",Oe.loading),_.xp6(1),_.Q6J("ngIf",!Oe.loading))},directives:[b.t,E.P,A,q.O5,j.Rr,G.JJ,G.On,Q.M,he.L,F.J,be.Ou,pe.M],pipes:[N.X$],styles:[".filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.filter[_ngcontent-%COMP%]{min-width:350px}.search-select[_ngcontent-%COMP%]{width:32%;margin-right:20px;margin-top:30px}.toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column}.advanced-filter[_ngcontent-%COMP%]{border:1px solid lightgray;padding:15px}"]}),Y})()},34904:(qe,me,h)=>{"use strict";h.d(me,{f:()=>Oe});var e=h(20449),c=h(533),g=h(32105),w=h(93075),_=h(48966),b=h(32080),E=h(5e3),v=h(51062),I=h(69808),N=h(20773),A=h(62707),q=h(67322),j=h(98833),G=h(47423);function Q(Se,We){1&Se&&E._UZ(0,"mat-spinner",5)}function he(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"div",6),E.TgZ(1,"perun-web-apps-vo-search-select",7),E.NdJ("voSelected",function(ue){return E.CHM(ge),E.oxw().selectedVo=ue}),E.qZA(),E.TgZ(2,"mat-form-field"),E._UZ(3,"input",8),E.ALo(4,"translate"),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"mat-form-field"),E._UZ(9,"input",9),E.ALo(10,"translate"),E.TgZ(11,"mat-error"),E._uU(12),E.ALo(13,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&Se){const ge=E.oxw();E.xp6(1),E.Q6J("vos",ge.vos),E.xp6(2),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),E.Q6J("formControl",ge.nameCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),E.xp6(3),E.s9C("placeholder",E.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),E.Q6J("formControl",ge.descriptionCtrl),E.xp6(3),E.hij(" ",E.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let F=(()=>{class Se{constructor(ge,Le,ue,Me,z,P){this.dialogRef=ge,this.data=Le,this.notificator=ue,this.voService=Me,this.translate=z,this.resourcesManager=P,this.vos=[],this.selectedVo=null,z.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(de=>this.successMessage=de)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(ge=>{this.vos=ge,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new w.NI(null,[w.kI.required,w.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new w.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 Se.\u0275fac=function(ge){return new(ge||Se)(E.Y36(_.so),E.Y36(_.WI),E.Y36(b.V6),E.Y36(g.YF),E.Y36(v.sK),E.Y36(g.xk))},Se.\u0275cmp=E.Xpm({type:Se,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["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"],["data-cy","create-resource-dialog-button","color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",3,"vos","voSelected"],["matInput","","data-cy","create-resource-name-input","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(ge,Le){1&ge&&(E.TgZ(0,"div"),E.YNc(1,Q,1,0,"mat-spinner",0),E.YNc(2,he,14,15,"div",1),E.TgZ(3,"div",2),E.TgZ(4,"button",3),E.NdJ("click",function(){return Le.onCancel()}),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.TgZ(7,"button",4),E.NdJ("click",function(){return Le.onSubmit()}),E._uU(8),E.ALo(9,"translate"),E.qZA(),E.qZA(),E.qZA()),2&ge&&(E.Tol(Le.theme),E.xp6(1),E.Q6J("ngIf",Le.loading),E.xp6(1),E.Q6J("ngIf",!Le.loading),E.xp6(3),E.hij(" ",E.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),E.xp6(2),E.Q6J("disabled",Le.nameCtrl.invalid||Le.descriptionCtrl.invalid||null===Le.selectedVo||Le.loading),E.xp6(1),E.hij(" ",E.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[I.O5,N.Ou,_.xY,A.M,q.KE,j.Nt,w.Fj,w.Q7,w.JJ,w.oH,q.TO,_.H8,G.lW],pipes:[v.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Se})();var be=h(10036),pe=h(9244),ye=h(96214),T=h(30540),R=h(7434),L=h(62109);function X(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"button",9),E.NdJ("click",function(){return E.CHM(ge),E.oxw().createResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&Se&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function Y(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"button",10),E.NdJ("click",function(){return E.CHM(ge),E.oxw().removeResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&Se){const ge=E.oxw();E.Q6J("disabled",0===ge.selected.selected.length),E.xp6(1),E.hij(" ",E.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function se(Se,We){1&Se&&E._UZ(0,"mat-spinner",11)}function Te(Se,We){if(1&Se&&E._UZ(0,"perun-web-apps-resources-list",12),2&Se){const ge=E.oxw();E.Q6J("tableId",ge.tableId)("filterValue",ge.filterValue)("resources",ge.resources)("selection",ge.selected)("disableRouting",!ge.routeAuth)("displayedColumns",ge.displayedColumns)}}let Oe=(()=>{class Se{constructor(ge,Le,ue,Me,z){this.dialog=ge,this.facilitiesManager=Le,this.servicesManager=ue,this.authResolver=Me,this.entityStorageService=z,this.resources=[],this.selected=new e.Ov(!0,[]),this.emptyService={id:-1,beanName:"Service",name:"All"},this.services=[this.emptyService],this.selectedService=this.emptyService,this.filterValue="",this.tableId=be.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.servicesManager.getAssignedServices(this.facility.id).subscribe(ge=>{this.services=[this.emptyService].concat(ge)}),this.refreshTable()}removeResource(){const ge=(0,pe.kZ)();ge.width="450px",ge.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(c.f,ge).afterClosed().subscribe(ue=>{ue&&this.refreshTable()})}refreshTable(){this.loading=!0,-1===this.selectedService.id?this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(ge=>{this.resources=ge,this.selected.clear(),this.setAuthRights(),this.loading=!1}):this.facilitiesManager.getAssignedRichResourcesForFacilityAndService(this.facility.id,this.selectedService.id).subscribe(ge=>{this.resources=ge,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(ge){this.filterValue=ge}createResource(){const ge=(0,pe.kZ)();ge.width="1350px",ge.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(F,ge).afterClosed().subscribe(ue=>{ue&&this.refreshTable()})}serviceSelected(ge){this.selectedService=ge,this.refreshTable()}}return Se.id="FacilityResourcesComponent",Se.\u0275fac=function(ge){return new(ge||Se)(E.Y36(_.uw),E.Y36(g.IQ),E.Y36(g.KK),E.Y36(b.x4),E.Y36(b.fb))},Se.\u0275cmp=E.Xpm({type:Se,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(ge,Le){2&ge&&E.ekj("router-component",Le.true)},decls:12,vars:10,consts:[[1,"page-subtitle"],[1,"align-elements"],[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"],[1,"search-select","mr-2",3,"services","service","serviceSelected"],[1,"filter-field",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(ge,Le){1&ge&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"div",1),E.TgZ(5,"perun-web-apps-refresh-button",2),E.NdJ("refresh",function(){return Le.refreshTable()}),E.qZA(),E.YNc(6,X,3,3,"button",3),E.YNc(7,Y,3,4,"button",4),E.TgZ(8,"perun-web-apps-service-search-select",5),E.NdJ("serviceSelected",function(Me){return Le.serviceSelected(Me)}),E.qZA(),E.TgZ(9,"perun-web-apps-immediate-filter",6),E.NdJ("filter",function(Me){return Le.applyFilter(Me)}),E.qZA(),E.qZA(),E.YNc(10,se,1,0,"mat-spinner",7),E.YNc(11,Te,1,6,"perun-web-apps-resources-list",8),E.qZA()),2&ge&&(E.xp6(2),E.Oqu(E.lcZ(3,8,"FACILITY_DETAIL.RESOURCES.TITLE")),E.xp6(4),E.Q6J("ngIf",Le.addAuth),E.xp6(1),E.Q6J("ngIf",Le.removeAuth),E.xp6(1),E.Q6J("services",Le.services)("service",Le.selectedService),E.xp6(1),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",Le.loading),E.xp6(1),E.Q6J("ngIf",!Le.loading))},directives:[ye.t,I.O5,G.lW,T.J,R.L,N.Ou,L.C],pipes:[v.X$],styles:[".search-select[_ngcontent-%COMP%]{min-width:325px}.filter-field[_ngcontent-%COMP%]{min-width:250px}.align-elements[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}"]}),Se})()},86353:(qe,me,h)=>{"use strict";h.d(me,{P:()=>ue});var e=h(32105),c=h(9244),g=h(10036),w=h(20449),_=h(48966),b=h(32080),E=h(93075),v=h(5e3),I=h(51062),N=h(36157),A=h(69808),q=h(20773),j=h(67322),G=h(98833),Q=h(74107),he=h(90508),F=h(98380),be=h(47423);function pe(Me,z){1&Me&&v._UZ(0,"mat-spinner",7)}function ye(Me,z){if(1&Me){const P=v.EpF();v.TgZ(0,"mat-option",16),v.NdJ("click",function(){const Pe=v.CHM(P).$implicit;return v.oxw(2).srcFacility=Pe}),v._uU(1),v.qZA()}if(2&Me){const P=z.$implicit;v.Q6J("value",P),v.xp6(1),v.hij(" ",P.name," ")}}function T(Me,z){if(1&Me){const P=v.EpF();v.TgZ(0,"div",8),v.TgZ(1,"mat-form-field"),v._UZ(2,"input",9),v.ALo(3,"translate"),v.TgZ(4,"mat-error"),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.qZA(),v.TgZ(7,"mat-form-field"),v._UZ(8,"input",10),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"mat-form-field"),v.TgZ(11,"mat-select",11),v.ALo(12,"translate"),v.TgZ(13,"mat-option",12),v.NdJ("click",function(){return v.CHM(P),v.oxw().srcFacility=null}),v._uU(14),v.ALo(15,"translate"),v.qZA(),v.YNc(16,ye,2,2,"mat-option",13),v.qZA(),v.qZA(),v.TgZ(17,"perun-web-apps-alert",14),v._UZ(18,"i",15),v.ALo(19,"translate"),v.qZA(),v.qZA()}if(2&Me){const P=v.oxw();v.xp6(2),v.s9C("placeholder",v.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),v.Q6J("formControl",P.nameControl),v.xp6(3),v.Oqu(v.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),v.xp6(3),v.s9C("placeholder",v.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),v.Q6J("formControl",P.descControl),v.xp6(3),v.s9C("placeholder",v.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),v.xp6(3),v.hij(" ",v.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),v.xp6(2),v.Q6J("ngForOf",P.facilities),v.xp6(2),v.Q6J("innerHTML",v.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),v.oJD)}}let R=(()=>{class Me{constructor(P,de,Ce,Pe,ce,fe,Ze){this.dialogRef=P,this.data=de,this.facilitiesManager=Ce,this.notificator=Pe,this.translate=ce,this.router=fe,this.entityStorageService=Ze,this.nameControl=new E.NI("",[E.kI.required]),this.descControl=new E.NI(""),this.srcFacility=null,this.loading=!1,this.configure=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(P=>{this.facilities=P,this.loading=!1},()=>this.loading=!1)}onCreate(P){this.loading=!0,this.configure=P,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(de=>{this.entityStorageService.setEntity({id:de.id,beanName:de.beanName}),sessionStorage.setItem("newFacilityId",String(de.id)),null!==this.srcFacility?this.copyFacilitySettings(de.id):this.handleSuccess(de.id)})}onCancel(){this.dialogRef.close(!1)}copyFacilitySettings(P){this.facilitiesManager.copyAttributes(this.srcFacility.id,P).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,P).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,P).subscribe(()=>{this.handleSuccess(P)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}handleSuccess(P){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",P.toString(),"configuration"]),this.dialogRef.close(!0)}}return Me.\u0275fac=function(P){return new(P||Me)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.IQ),v.Y36(b.V6),v.Y36(I.sK),v.Y36(N.F0),v.Y36(b.fb))},Me.\u0275cmp=v.Xpm({type:Me,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"],["data-cy","create-facility-button","color","accent","mat-flat-button","",1,"ml2",3,"disabled","click"],["color","accent","mat-flat-button","",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(P,de){1&P&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,pe,1,0,"mat-spinner",1),v.YNc(5,T,20,21,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return de.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return de.onCreate(!1)}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.TgZ(13,"button",6),v.NdJ("click",function(){return de.onCreate(!0)}),v._uU(14),v.ALo(15,"translate"),v.qZA(),v.qZA(),v.qZA()),2&P&&(v.Tol(de.theme),v.xp6(2),v.Oqu(v.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),v.xp6(2),v.Q6J("ngIf",de.loading),v.xp6(1),v.Q6J("ngIf",!de.loading),v.xp6(3),v.hij(" ",v.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),v.xp6(2),v.Q6J("disabled",0===de.nameControl.value.trim().length||de.loading),v.xp6(1),v.hij(" ",v.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),v.xp6(2),v.Q6J("disabled",0===de.nameControl.value.trim().length||!!de.srcFacility||de.loading),v.xp6(1),v.hij(" ",v.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[A.O5,q.Ou,_.xY,j.KE,G.Nt,E.Fj,E.Q7,E.JJ,E.oH,j.TO,Q.gD,he.ey,A.sg,F.w,_.H8,be.lW],pipes:[I.X$],styles:[""]}),Me})();var L=h(54037),X=h(77968),Y=h(4235),se=h(25245),Te=h(96214),Oe=h(7434),Se=h(74010);function We(Me,z){1&Me&&v._UZ(0,"mat-spinner",9)}function ge(Me,z){if(1&Me&&v._UZ(0,"perun-web-apps-facilities-list",10),2&Me){const P=v.oxw();v.Q6J("tableId",P.tableId)("selection",P.selection)("filterValue",P.filterValue)("facilities",P.facilities)("recentIds",P.recentIds)}}const Le=function(){return{color:"black"}};let ue=(()=>{class Me{constructor(P,de,Ce){this.facilityManager=P,this.sideMenuService=de,this.dialog=Ce,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new w.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(P=>{this.selection.clear(),this.facilities=P,this.recentIds=(0,c.vL)("facilities"),this.loading=!1})}onCreate(){const P=(0,c.kZ)();P.width="800px",P.data={theme:"facility-theme"},this.dialog.open(R,P).afterClosed().subscribe(Ce=>{Ce&&(this.loading=!0,this.refreshTable())})}onDelete(){const P=(0,c.kZ)();P.width="500px",P.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(L.Y,P).afterClosed().subscribe(Ce=>{Ce&&this.refreshTable()})}applyFilter(P){this.filterValue=P}}return Me.id="FacilitySelectPageComponent",Me.\u0275fac=function(P){return new(P||Me)(v.Y36(e.IQ),v.Y36(X.D),v.Y36(_.uw))},Me.\u0275cmp=v.Xpm({type:Me,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(P,de){2&P&&v.ekj("router-component",de.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(P,de){1&P&&(v.TgZ(0,"div",0),v._UZ(1,"perun-web-apps-back-button"),v.TgZ(2,"h1",1),v._UZ(3,"mat-icon",2),v._uU(4),v.ALo(5,"translate"),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return de.refreshTable()}),v.qZA(),v.TgZ(7,"button",4),v.NdJ("click",function(){return de.onCreate()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return de.onDelete()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.TgZ(13,"perun-web-apps-immediate-filter",6),v.NdJ("filter",function(Pe){return de.applyFilter(Pe)}),v.qZA(),v.YNc(14,We,1,0,"mat-spinner",7),v.YNc(15,ge,1,5,"perun-web-apps-facilities-list",8),v.qZA()),2&P&&(v.xp6(3),v.Q6J("ngStyle",v.DdM(15,Le)),v.xp6(1),v.hij(" ",v.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),v.xp6(4),v.hij(" ",v.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),v.xp6(2),v.Q6J("disabled",0===de.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),v.xp6(2),v.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),v.xp6(1),v.Q6J("ngIf",de.loading),v.xp6(1),v.Q6J("ngIf",!de.loading))},directives:[Y.W,se.Hw,A.PC,Te.t,be.lW,Oe.L,A.O5,q.Ou,Se.X],pipes:[I.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Me})()},51076:(qe,me,h)=>{"use strict";h.d(me,{J:()=>be});var e=h(48966),c=h(32080),g=h(32105),w=h(9244),_=h(93075),b=h(5e3),E=h(51062),v=h(67322),I=h(98833),N=h(74107),A=h(69808),q=h(90508),j=h(47423),G=h(57706);let Q=(()=>{class pe{constructor(T){this.translateService=T,this.returnData=""}transform(T){switch(T){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(R=>{this.returnData=R});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(R=>{this.returnData=R});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(R=>{this.returnData=R});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(R=>{this.returnData=R});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(R=>{this.returnData=R});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(R=>{this.returnData=R});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(R=>{this.returnData=R});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(R=>{this.returnData=R});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(R=>{this.returnData=R});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(R=>{this.returnData=R});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(R=>{this.returnData=R});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(R=>{this.returnData=R});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(R=>{this.returnData=R});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(R=>{this.returnData=R});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(R=>{this.returnData=R});break;case"LIST_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.LIST_INPUT_BOX").subscribe(R=>{this.returnData=R});break;case"MAP_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.MAP_INPUT_BOX").subscribe(R=>{this.returnData=R});break;default:return T}return this.returnData}}return pe.\u0275fac=function(T){return new(T||pe)(b.Y36(E.sK,16))},pe.\u0275pipe=b.Yjl({name:"applicationFormWidgetDescription",type:pe,pure:!0}),pe})();function he(pe,ye){if(1&pe&&(b.TgZ(0,"mat-option",9),b._uU(1),b.ALo(2,"applicationFormItemType"),b.qZA()),2&pe){const T=ye.$implicit;b.Q6J("value",T),b.xp6(1),b.hij(" ",b.lcZ(2,2,T)," ")}}function F(pe,ye){if(1&pe&&(b.TgZ(0,"mat-option",9),b._uU(1),b.qZA()),2&pe){const T=ye.$implicit;b.Q6J("value",T),b.xp6(1),b.hij(" ",T," ")}}let be=(()=>{class pe{constructor(T,R,L,X){this.dialogRef=T,this.data=R,this.translateService=L,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","LIST_INPUT_BOX","MAP_INPUT_BOX"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(T=>{this.nameCtrl=new _.NI("",[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(T);for(const R of this.data.applicationFormItems)this.items.push(R.shortname),R.type===g.Dy.EMBEDDED_GROUP_APPLICATION&&(this.widgets=this.widgets.filter(L=>L!==g.Dy.EMBEDDED_GROUP_APPLICATION));this.selectedItem=T})}cancel(){this.dialogRef.close(void 0)}submit(){const T=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,T])}createApplicationItem(){const T=(0,w.dv)(this.languages);T.id=this.data.fakeId,T.shortname=this.nameCtrl.value,T.type=this.selectedWidget;for(let R=0;R{"use strict";h.d(me,{W:()=>q});var e=h(48966),c=h(32105),g=h(32080),w=h(5e3),_=h(51062),b=h(69808),E=h(20773),v=h(62707),I=h(82322),N=h(47423);function A(j,G){1&j&&w._UZ(0,"mat-spinner",9)}let q=(()=>{class j{constructor(Q,he,F,be,pe,ye,T,R,L){this.dialogRef=Q,this.voService=he,this.groupService=F,this.translateService=be,this.registrarManager=pe,this.notificatorService=ye,this.apiRequest=T,this.cd=R,this.data=L,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=X=>X.name,be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(X=>this.successMessage=X),be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(X=>this.privilegeMessage=X),be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(X=>this.noFormMessage=X)}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(Q=>{this.vos=Q,this.loading=!1},()=>this.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(Q){this.selectedVo=Q,this.cd.detectChanges(),this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(Q=>{this.groups=Q}):this.groups=[],this.selectedGroup=null}}return j.\u0275fac=function(Q){return new(Q||j)(w.Y36(e.so),w.Y36(c.YF),w.Y36(c.ff),w.Y36(_.sK),w.Y36(c.tk),w.Y36(g.V6),w.Y36(g.F5),w.Y36(w.sBO),w.Y36(e.WI))},j.\u0275cmp=w.Xpm({type:j,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"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(Q,he){1&Q&&(w.TgZ(0,"div"),w.TgZ(1,"h1",0),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.YNc(4,A,1,0,"mat-spinner",1),w.TgZ(5,"div",2),w.TgZ(6,"div",3),w._uU(7),w.ALo(8,"translate"),w.qZA(),w._uU(9),w.ALo(10,"translate"),w.TgZ(11,"perun-web-apps-vo-search-select",4),w.NdJ("voSelected",function(be){return he.voSelected(be)}),w.qZA(),w._uU(12),w.ALo(13,"translate"),w.TgZ(14,"perun-web-apps-group-search-select",5),w.NdJ("groupSelected",function(be){return he.selectedGroup=be}),w.qZA(),w.qZA(),w.TgZ(15,"div",6),w.TgZ(16,"button",7),w.NdJ("click",function(){return he.cancel()}),w._uU(17),w.ALo(18,"translate"),w.qZA(),w.TgZ(19,"button",8),w.NdJ("click",function(){return he.submit()}),w._uU(20),w.ALo(21,"translate"),w.qZA(),w.qZA(),w.qZA()),2&Q&&(w.Tol(he.theme),w.xp6(2),w.Oqu(w.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),w.xp6(2),w.Q6J("ngIf",he.loading),w.xp6(1),w.Q6J("hidden",he.loading),w.xp6(2),w.hij(" ",w.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),w.xp6(2),w.hij(" ",w.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),w.xp6(2),w.Q6J("vos",he.vos),w.xp6(1),w.hij(" ",w.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),w.xp6(2),w.Q6J("groups",he.groups)("disableAutoSelect",!0),w.xp6(3),w.hij(" ",w.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),w.xp6(2),w.Q6J("disabled",!he.selectedVo&&!he.selectedGroup||he.loading),w.xp6(1),w.hij(" ",w.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,E.Ou,e.xY,v.M,I.h,e.H8,N.lW],pipes:[_.X$],styles:[""]}),j})()},40009:(qe,me,h)=>{"use strict";h.d(me,{R:()=>he});var e=h(48966),c=h(32080),g=h(93075),w=h(32105),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(77446),q=h(47423);function j(F,be){1&F&&_._UZ(0,"mat-spinner",4)}function G(F,be){if(1&F){const pe=_.EpF();_.TgZ(0,"div",5),_.TgZ(1,"mat-form-field"),_.TgZ(2,"input",6),_.NdJ("change",function(){return _.CHM(pe),_.oxw().makePath()}),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"mat-error"),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.qZA(),_.TgZ(7,"mat-form-field"),_.TgZ(8,"input",7),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().description=T}),_.ALo(9,"translate"),_.qZA(),_.qZA(),_.TgZ(10,"mat-form-field"),_._UZ(11,"input",8),_.ALo(12,"translate"),_.TgZ(13,"mat-error"),_._uU(14),_.ALo(15,"translate"),_.qZA(),_.qZA(),_.TgZ(16,"mat-form-field"),_._UZ(17,"input",9),_.ALo(18,"translate"),_.TgZ(19,"mat-error"),_._uU(20),_.ALo(21,"translate"),_.qZA(),_.qZA(),_.TgZ(22,"mat-form-field"),_._UZ(23,"input",8),_.ALo(24,"translate"),_.TgZ(25,"mat-error"),_._uU(26),_.ALo(27,"translate"),_.qZA(),_.qZA(),_.TgZ(28,"span",10),_._uU(29),_.ALo(30,"translate"),_.TgZ(31,"mat-checkbox",11),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().status=T}),_._uU(32),_.ALo(33,"translate"),_.qZA(),_.qZA(),_.TgZ(34,"span",10),_._uU(35),_.ALo(36,"translate"),_.TgZ(37,"mat-checkbox",11),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().propagateExpiredMembers=T}),_._uU(38),_.ALo(39,"translate"),_.qZA(),_.qZA(),_.qZA()}if(2&F){const pe=_.oxw();_.xp6(2),_.s9C("placeholder",_.lcZ(3,20,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),_.Q6J("formControl",pe.nameControl),_.xp6(3),_.Oqu(_.lcZ(6,22,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),_.xp6(3),_.s9C("placeholder",_.lcZ(9,24,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),_.Q6J("ngModel",pe.description),_.xp6(3),_.s9C("placeholder",_.lcZ(12,26,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),_.Q6J("formControl",pe.delayControl),_.xp6(3),_.Oqu(_.lcZ(15,28,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),_.xp6(3),_.s9C("placeholder",_.lcZ(18,30,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),_.Q6J("formControl",pe.recurrenceControl),_.xp6(3),_.Oqu(_.lcZ(21,32,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),_.xp6(3),_.s9C("placeholder",_.lcZ(24,34,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),_.Q6J("formControl",pe.pathControl),_.xp6(3),_.Oqu(_.lcZ(27,36,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),_.xp6(3),_.hij("",_.lcZ(30,38,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),_.xp6(2),_.Q6J("ngModel",pe.status),_.xp6(1),_.Oqu(_.lcZ(33,40,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT")),_.xp6(3),_.hij("",_.lcZ(36,42,"DIALOGS.CREATE_EDIT_SERVICE.EXPIRED_MEMBERS")," "),_.xp6(2),_.Q6J("ngModel",pe.propagateExpiredMembers),_.xp6(1),_.Oqu(_.lcZ(39,44,"DIALOGS.CREATE_EDIT_SERVICE.EXPIRED_MEMBERS_HINT"))}}function Q(F,be){if(1&F){const pe=_.EpF();_.TgZ(0,"div",12),_.TgZ(1,"button",13),_.NdJ("click",function(){return _.CHM(pe),_.oxw().onCancel()}),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"button",14),_.NdJ("click",function(){_.CHM(pe);const T=_.oxw();return T.asEdit?T.onEdit():T.onCreate()}),_._uU(5),_.qZA(),_.qZA()}if(2&F){const pe=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),_.xp6(2),_.Q6J("disabled",pe.nameControl.invalid||pe.delayControl.invalid||pe.recurrenceControl.invalid||pe.pathControl.invalid),_.xp6(1),_.hij(" ",pe.buttonText," ")}}let he=(()=>{class F{constructor(pe,ye,T,R,L){this.dialogRef=pe,this.data=ye,this.serviceManager=T,this.notificator=R,this.translate=L,this.loading=!1,this.status=!0,this.propagateExpiredMembers=!0,this.nameControl=new g.NI("",[g.kI.required,g.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new g.NI(10,[g.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new g.NI(2,[g.kI.pattern("^[0-9]*$")]),this.pathControl=new g.NI("",[g.kI.required]),this.asEdit=!1}ngOnInit(){this.theme=this.data.theme,this.asEdit=void 0!==this.data.service,this.asEdit?(this.nameControl.setValue(this.data.service.name),this.description=this.data.service.description,this.delayControl.setValue(this.data.service.delay),this.recurrenceControl.setValue(this.data.service.recurrence),this.pathControl.setValue(this.data.service.script),this.status=this.data.service.enabled,this.propagateExpiredMembers=this.data.service.useExpiredMembers,this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT")):(this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE"))}onCreate(){this.loading=!0,this.serviceManager.createServiceWithService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,useExpiredMembers:this.propagateExpiredMembers,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onEdit(){this.loading=!0,this.serviceManager.updateService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,useExpiredMembers:this.propagateExpiredMembers,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}makePath(){const pe="./".concat(this.nameControl.value);this.pathControl.setValue(pe)}}return F.\u0275fac=function(pe){return new(pe||F)(_.Y36(e.so),_.Y36(e.WI),_.Y36(w.KK),_.Y36(c.V6),_.Y36(b.sK))},F.\u0275cmp=_.Xpm({type:F,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","data-cy","service-name-input","required","",3,"placeholder","formControl","change"],["matInput","","data-cy","service-description-input",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","required","",3,"placeholder","formControl"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","service-create-edit-dialog-button","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(pe,ye){1&pe&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.qZA(),_.YNc(3,j,1,0,"mat-spinner",1),_.YNc(4,G,40,46,"div",2),_.YNc(5,Q,6,5,"div",3),_.qZA()),2&pe&&(_.Tol(ye.theme),_.xp6(2),_.Oqu(ye.title),_.xp6(1),_.Q6J("ngIf",ye.loading),_.xp6(1),_.Q6J("ngIf",!ye.loading),_.xp6(1),_.Q6J("ngIf",!ye.loading))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,g.Fj,g.Q7,g.JJ,g.oH,I.TO,g.On,A.oG,e.H8,q.lW],pipes:[b.X$],styles:[""]}),F})()},81889:(qe,me,h)=>{"use strict";h.d(me,{y:()=>be});var e=h(48966),c=h(32080),g=h(32105),w=h(93075),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(77446),q=h(82322),j=h(47423);function G(pe,ye){1&pe&&_._UZ(0,"mat-spinner",3)}function Q(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"mat-checkbox",14),_.NdJ("ngModelChange",function(L){return _.CHM(T),_.oxw(2).asSubgroup=L})("click",function(){return _.CHM(T),_.oxw(2).loadVoGroups()}),_._uU(1),_.ALo(2,"translate"),_.qZA()}if(2&pe){const T=_.oxw(2);_.Q6J("ngModel",T.asSubgroup)("labelPosition","before"),_.xp6(1),_.hij(" ",_.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function he(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"perun-web-apps-group-search-select",15),_.NdJ("groupSelected",function(L){return _.CHM(T),_.oxw(2).selectedParent=L}),_.qZA()}if(2&pe){const T=_.oxw(2);_.Q6J("disableAutoSelect",!0)("groups",T.voGroups)}}function F(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"div"),_.TgZ(1,"div",4),_.TgZ(2,"mat-form-field"),_.TgZ(3,"label",5),_._UZ(4,"input",6),_.ALo(5,"translate"),_.qZA(),_.TgZ(6,"mat-error"),_._uU(7),_.ALo(8,"translate"),_.qZA(),_.qZA(),_.TgZ(9,"mat-form-field",7),_.TgZ(10,"label",5),_.TgZ(11,"textarea",8),_.ALo(12,"translate"),_._uU(13," "),_.qZA(),_.qZA(),_.qZA(),_.YNc(14,Q,3,5,"mat-checkbox",9),_.YNc(15,he,1,2,"perun-web-apps-group-search-select",10),_.qZA(),_.TgZ(16,"div",11),_.TgZ(17,"button",12),_.NdJ("click",function(){return _.CHM(T),_.oxw().onCancel()}),_._uU(18),_.ALo(19,"translate"),_.qZA(),_.TgZ(20,"button",13),_.NdJ("click",function(){return _.CHM(T),_.oxw().onSubmit()}),_._uU(21),_.ALo(22,"translate"),_.qZA(),_.qZA(),_.qZA()}if(2&pe){const T=_.oxw();_.xp6(4),_.s9C("placeholder",_.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),_.Q6J("formControl",T.nameControl),_.xp6(3),_.hij(" ",T.invalidNameMessage.length?T.invalidNameMessage:_.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),_.xp6(4),_.s9C("placeholder",_.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),_.Q6J("formControl",T.descriptionControl),_.xp6(3),_.Q6J("ngIf",T.isNotSubGroup),_.xp6(1),_.Q6J("ngIf",T.asSubgroup),_.xp6(3),_.hij(" ",_.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),_.xp6(2),_.Q6J("disabled",T.nameControl.invalid||T.descriptionControl.invalid||T.asSubgroup&&null===T.selectedParent||T.loading),_.xp6(1),_.hij(" ",_.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let be=(()=>{class pe{constructor(T,R,L,X,Y,se){this.dialogRef=T,this.data=R,this.groupService=L,this.translate=X,this.notificator=Y,this.store=se,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.voGroups=[],this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameFunction=Te=>Te.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?X.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(Te=>this.title=Te):X.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(Te=>{this.title=Te+this.data.parentGroup.name}),X.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(Te=>this.successMessage=Te),X.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(Te=>this.successSubGroupMessage=Te)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new w.NI("",[w.kI.required,w.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),w.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new w.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(T=>{this.voGroups=T.filter(R=>"members"!==R.name)})}}return pe.\u0275fac=function(T){return new(T||pe)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.ff),_.Y36(b.sK),_.Y36(c.V6),_.Y36(c.d6))},pe.\u0275cmp=_.Xpm({type:pe,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,"ngModel","labelPosition","ngModelChange","click",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,"ngModel","labelPosition","ngModelChange","click"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(T,R){1&T&&(_.TgZ(0,"h1",0),_._uU(1),_.qZA(),_.TgZ(2,"div"),_.YNc(3,G,1,0,"mat-spinner",1),_.YNc(4,F,23,20,"div",2),_.qZA()),2&T&&(_.xp6(1),_.Oqu(R.title),_.xp6(1),_.Tol(R.theme),_.xp6(1),_.Q6J("ngIf",R.loading),_.xp6(1),_.Q6J("ngIf",!R.loading))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,w.Fj,w.Q7,w.JJ,w.oH,I.TO,A.oG,w.On,q.h,e.H8,j.lW],pipes:[b.X$],styles:[""]}),pe})()},54037:(qe,me,h)=>{"use strict";h.d(me,{Y:()=>v});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.facilitiesManager=j,this.notificator=G,this.translate=Q,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new w.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(A){this.force=A.force,A.deleted?this.onConfirm():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(c.so),_.Y36(c.WI),_.Y36(e.IQ),_.Y36(g.V6),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","facilities")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},41656:(qe,me,h)=>{"use strict";h.d(me,{P:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.translate=G,this.groupService=Q,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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 A=this.data.groups.map(q=>q.id);this.groupService.deleteGroups({groups:A,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(q=>{this.notificator.showSuccess(q),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(A){this.force=A.force,A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(b.sK),_.Y36(w.ff))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","groups")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},90719:(qe,me,h)=>{"use strict";h.d(me,{m:()=>v});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.serviceManager=j,this.notificator=G,this.translate=Q,this.dataSource=new w.by(this.data.services),this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.services=this.data.services,this.relations.push(this.translate.instant("DIALOGS.DELETE_SERVICE.DESTINATION_RELATION")),this.anotherMessage=this.translate.instant("DIALOGS.DELETE_SERVICE.MORE_INFORMATION")}onConfirm(){if(0===this.services.length)return this.dialogRef.close(!0),void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_SERVICE.SUCCESS"));this.loading=!0,this.serviceManager.deleteService(this.services.pop().id,this.force).subscribe(()=>{this.onConfirm(),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(A){this.force=A.force,A.deleted?this.onConfirm():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(c.so),_.Y36(c.WI),_.Y36(e.KK),_.Y36(g.V6),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-service-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","anotherMessage","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","services")("anotherMessage",q.anotherMessage)("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},83491:(qe,me,h)=>{"use strict";h.d(me,{_:()=>ee});var e=h(48966),c=h(32105),g=h(9244),w=h(33604),_=h(32080),b=h(5e3),E=h(51062),v=h(69808),I=h(20773),N=h(53251);const A=["*"];let q=(()=>{class Ne{}return Ne.\u0275fac=function(H){return new(H||Ne)},Ne.\u0275cmp=b.Xpm({type:Ne,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:A,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(H,D){1&H&&(b.F$t(),b.TgZ(0,"div",0),b.TgZ(1,"span",1),b._uU(2),b.qZA(),b.TgZ(3,"div",2),b.Hsn(4),b.qZA(),b.qZA(),b.TgZ(5,"div",3),b._UZ(6,"span",4),b.TgZ(7,"div",5),b._uU(8),b.qZA(),b.qZA()),2&H&&(b.xp6(2),b.hij("",D.label,":"),b.xp6(6),b.hij(" ",D.description," "))},styles:[""]}),Ne})();var j=h(67322),G=h(98833),Q=h(93075),he=h(77446),F=h(52170),be=h(74107),pe=h(90508),ye=h(63312),T=h(74533),R=h(47423),L=h(29772),X=h(25245),Y=h(57706);let se=(()=>{class Ne{constructor(H){this.translateService=H}transform(H){switch(H){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+H);default:return H}}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(E.sK,16))},Ne.\u0275pipe=b.Yjl({name:"applicationFormItemDisabled",type:Ne,pure:!0}),Ne})(),Te=(()=>{class Ne{constructor(H){this.translateService=H}transform(H){switch(H){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+H);default:return H}}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(E.sK,16))},Ne.\u0275pipe=b.Yjl({name:"applicationFormItemHidden",type:Ne,pure:!0}),Ne})();function Oe(Ne,V){1&Ne&&b._UZ(0,"mat-spinner",8)}function Se(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"section"),b.TgZ(5,"mat-checkbox",22),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(3).applicationFormItem.updatable=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(3);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.updatable)}}function We(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div",13),b.TgZ(1,"mat-form-field",13),b.TgZ(2,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(3).applicationFormItem.federationAttribute=O}),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(3);b.xp6(2),b.Q6J("ngModel",H.applicationFormItem.federationAttribute)}}function ge(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"section"),b.TgZ(5,"mat-checkbox",22),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.required=O}),b.qZA(),b.qZA(),b.qZA(),b.YNc(6,Se,6,7,"div",17),b.TgZ(7,"app-edit-application-form-item-line",12),b.ALo(8,"translate"),b.ALo(9,"translate"),b.TgZ(10,"div",13),b.TgZ(11,"perun-web-apps-selection-item-search-select",23),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.perunSourceAttribute=O.value}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(12,"app-edit-application-form-item-line",12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"div",13),b.TgZ(16,"perun-web-apps-selection-item-search-select",23),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.perunDestinationAttribute=O.value}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(17,"app-edit-application-form-item-line",12),b.ALo(18,"translate"),b.ALo(19,"translate"),b.TgZ(20,"div",13),b.TgZ(21,"perun-web-apps-selection-item-search-select",24),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).changeFederationAttribute(O)}),b.qZA(),b.qZA(),b.YNc(22,We,3,1,"div",25),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION"))("label",b.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.required),b.xp6(1),b.Q6J("ngIf",H.typesWithUpdatable.indexOf(H.applicationFormItem.type)>-1),b.xp6(1),b.Q6J("description",b.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE")),b.xp6(4),b.Q6J("attributes",H.sourceAttributes)("selectedAttribute",H.applicationFormItem.perunSourceAttribute)("asGroup",!!H.data.group)("type",H.itemType.SOURCE),b.xp6(1),b.Q6J("description",b.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE")),b.xp6(4),b.Q6J("attributes",H.destinationAttributes)("selectedAttribute",H.applicationFormItem.perunDestinationAttribute)("asGroup",!!H.data.group)("type",H.itemType.DESTINATION),b.xp6(1),b.Q6J("description",b.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE")),b.xp6(4),b.Q6J("selectedAttribute",H.applicationFormItem.federationAttribute)("asGroup",!!H.data.group)("type",H.itemType.FEDERATION),b.xp6(1),b.Q6J("ngIf"," -- custom value -- "===H.federationAttributeDN)}}function Le(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.regex=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.regex)}}function ue(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-option",26),b._uU(1),b.ALo(2,"applicationFormItemDisabled"),b.qZA()),2&Ne){const H=V.$implicit;b.Q6J("value",H),b.xp6(1),b.hij(" ",b.lcZ(2,2,H)," ")}}function Me(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"perun-web-apps-app-form-item-search-select",27),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(3).disabledDependencyItem=O}),b.qZA()}if(2&Ne){const H=b.oxw(3);b.Q6J("item",H.disabledDependencyItem)("items",H.possibleDependencyItems)}}function z(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"mat-select",18),b.NdJ("valueChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.disabled=O}),b.YNc(6,ue,3,4,"mat-option",19),b.qZA(),b.qZA(),b.qZA(),b.TgZ(7,"app-edit-application-form-item-line",12),b.ALo(8,"translate"),b.ALo(9,"translate"),b.TgZ(10,"div",13),b.YNc(11,Me,1,2,"perun-web-apps-app-form-item-search-select",20),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION"))("label",b.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED")),b.xp6(4),b.Q6J("value",H.applicationFormItem.disabled),b.xp6(1),b.Q6J("ngForOf",H.disabledValues),b.xp6(1),b.Q6J("description",b.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION"))("label",b.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY")),b.xp6(4),b.Q6J("ngIf",null!==H.disabledDependencyItem)}}function P(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-option",26),b._uU(1),b.ALo(2,"applicationFormItemHidden"),b.qZA()),2&Ne){const H=V.$implicit;b.Q6J("value",H),b.xp6(1),b.hij(" ",b.lcZ(2,2,H)," ")}}function de(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"perun-web-apps-app-form-item-search-select",27),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).hiddenDependencyItem=O}),b.qZA()}if(2&Ne){const H=b.oxw(2);b.Q6J("item",H.hiddenDependencyItem)("items",H.possibleDependencyItems)}}function Ce(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",28),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION"))("label",b.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT")),b.xp6(4),b.Q6J("cdkTextareaAutosize",!0)("ngModel",D.applicationFormItem.i18n[H].label)}}function Pe(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(6,"app-edit-application-form-item-line",12),b.ALo(7,"translate"),b.ALo(8,"translate"),b.TgZ(9,"mat-form-field",13),b.TgZ(10,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].help=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(11,"app-edit-application-form-item-line",12),b.ALo(12,"translate"),b.ALo(13,"translate"),b.TgZ(14,"mat-form-field",13),b.TgZ(15,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].errorMessage=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION"))("label",b.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].label),b.xp6(1),b.Q6J("description",b.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION"))("label",b.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].help),b.xp6(1),b.Q6J("description",b.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION"))("label",b.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].errorMessage)}}function ce(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].label)}}function fe(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b._uU(1),b.ALo(2,"translate"),b.TgZ(3,"mat-form-field"),b.TgZ(4,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H).$implicit[0]=O}),b.qZA(),b.qZA(),b._uU(5),b.ALo(6,"translate"),b.TgZ(7,"mat-form-field"),b.TgZ(8,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H).$implicit[1]=O}),b.qZA(),b.qZA(),b.TgZ(9,"button",37),b.NdJ("click",function(){const i=b.CHM(H).$implicit,o=b.oxw(2).$implicit;return b.oxw(2).removeOption(i,o)}),b.ALo(10,"translate"),b.TgZ(11,"mat-icon"),b._uU(12,"clear"),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=V.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),b.xp6(3),b.Q6J("ngModel",H[0]),b.xp6(1),b.hij(" ",b.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),b.xp6(3),b.Q6J("ngModel",H[1]),b.xp6(1),b.s9C("matTooltip",b.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Ze(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",29),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",30),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"div",31),b.TgZ(8,"button",32),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).sortOptionsAZ(O)}),b.TgZ(9,"i",33),b._uU(10,"arrow_downward"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",34),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).sortOptionsZA(O)}),b.TgZ(14,"i",33),b._uU(15,"arrow_upward"),b.qZA(),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.qZA(),b.YNc(18,fe,13,11,"div",35),b.TgZ(19,"button",36),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).addOption(O)}),b._uU(20),b.ALo(21,"translate"),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(2),b.hij(" ",b.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),b.xp6(3),b.hij(" ",b.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),b.xp6(6),b.hij(" ",b.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),b.xp6(5),b.hij(" ",b.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),b.xp6(2),b.Q6J("ngForOf",D.options[H]),b.xp6(2),b.hij(" ",b.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const ne=function(){return["HEADING","HTML_COMMENT"]},it=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION","LIST_INPUT_BOX","MAP_INPUT_BOX"]},Be=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},ze=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function Ue(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-tab",11),b.ALo(1,"translate"),b.ALo(2,"uppercase"),b.YNc(3,Ce,6,8,"div",17),b.YNc(4,Pe,16,21,"div",17),b.YNc(5,ce,6,7,"div",17),b.YNc(6,Ze,22,16,"div",17),b.qZA()),2&Ne){const H=V.$implicit,D=b.oxw(2);b.s9C("label",b.lcZ(1,5,b.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+H))),b.xp6(3),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(9,ne))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(10,it))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(11,Be))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(12,ze)))}}const _e=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX","LIST_INPUT_BOX","MAP_INPUT_BOX"]},ae=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX","LIST_INPUT_BOX","MAP_INPUT_BOX"]};function Ae(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"mat-tab-group",10),b.TgZ(2,"mat-tab",11),b.ALo(3,"translate"),b.TgZ(4,"app-edit-application-form-item-line",12),b.ALo(5,"translate"),b.ALo(6,"translate"),b.TgZ(7,"mat-form-field",13),b.TgZ(8,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw().applicationFormItem.shortname=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(9,"app-edit-application-form-item-line",12),b.ALo(10,"translate"),b.ALo(11,"translate"),b._uU(12),b.ALo(13,"applicationFormItemType"),b.qZA(),b.TgZ(14,"app-edit-application-form-item-line",12),b.ALo(15,"translate"),b.ALo(16,"translate"),b.TgZ(17,"section"),b.TgZ(18,"mat-checkbox",15),b.NdJ("change",function(){return b.CHM(H),b.oxw().onChangingType("INITIAL")}),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-checkbox",16),b.NdJ("change",function(){return b.CHM(H),b.oxw().onChangingType("EXTENSION")}),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.qZA(),b.qZA(),b.YNc(24,ge,23,38,"div",17),b.YNc(25,Le,6,7,"div",17),b.YNc(26,z,12,15,"div",17),b.TgZ(27,"app-edit-application-form-item-line",12),b.ALo(28,"translate"),b.ALo(29,"translate"),b.TgZ(30,"mat-form-field",13),b.TgZ(31,"mat-select",18),b.NdJ("valueChange",function(O){return b.CHM(H),b.oxw().applicationFormItem.hidden=O}),b.YNc(32,P,3,4,"mat-option",19),b.qZA(),b.qZA(),b.qZA(),b.TgZ(33,"app-edit-application-form-item-line",12),b.ALo(34,"translate"),b.ALo(35,"translate"),b.TgZ(36,"div",13),b.YNc(37,de,1,2,"perun-web-apps-app-form-item-search-select",20),b.qZA(),b.qZA(),b.qZA(),b.YNc(38,Ue,7,13,"mat-tab",21),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw();b.xp6(2),b.s9C("label",b.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),b.xp6(2),b.Q6J("description",b.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION"))("label",b.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.shortname),b.xp6(1),b.Q6J("description",b.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION"))("label",b.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET")),b.xp6(3),b.hij(" ",b.lcZ(13,34,H.applicationFormItem.type)," "),b.xp6(2),b.Q6J("description",b.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION"))("label",b.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.applicationTypes.includes("INITIAL")),b.xp6(1),b.hij(" ",b.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),b.xp6(2),b.Q6J("ngModel",H.applicationFormItem.applicationTypes.includes("EXTENSION")),b.xp6(1),b.hij(" ",b.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),b.xp6(2),b.Q6J("ngIf",H.isApplicationFormItemOfType(b.DdM(52,_e))),b.xp6(1),b.Q6J("ngIf",H.isApplicationFormItemOfType(b.DdM(53,ae))),b.xp6(1),b.Q6J("ngIf",H.typesWithDisabled.indexOf(H.applicationFormItem.type)>-1),b.xp6(1),b.Q6J("description",b.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION"))("label",b.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN")),b.xp6(4),b.Q6J("value",H.applicationFormItem.hidden),b.xp6(1),b.Q6J("ngForOf",H.hiddenValues),b.xp6(1),b.Q6J("description",b.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION"))("label",b.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY")),b.xp6(4),b.Q6J("ngIf",null!==H.hiddenDependencyItem),b.xp6(1),b.Q6J("ngForOf",H.languages)}}let ee=(()=>{class Ne{constructor(H,D,O,i,o,u){this.dialogRef=H,this.data=D,this.attributesManager=O,this.translateService=i,this.store=o,this.cd=u,this.federationAttributeDN="",this.itemType=w.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","LIST_INPUT_BOX","MAP_INPUT_BOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.languages=["en"],this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(H=>H.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=w.Sx),this.disabledDependencyItem=this.data.allItems.find(H=>H.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=w.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(H=>{const D=this.filterAttributesForWidget(H);this.sourceAttributes=D.concat(this.findAttribute(H,this.applicationFormItem.perunSourceAttribute)),this.destinationAttributes=D.concat(this.findAttribute(H,this.applicationFormItem.perunDestinationAttribute)),this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===w.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===w.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(H){if(this.applicationFormItem.applicationTypes.includes(H)){const D=this.applicationFormItem.applicationTypes.indexOf(H);this.applicationFormItem.applicationTypes.splice(D,1)}else this.applicationFormItem.applicationTypes.push(H)}addOption(H){this.options[H].push(["",""])}removeOption(H,D){this.options[D]=this.options[D].filter(O=>!(O[0]===H[0]&&O[1]===H[1]))}sortOptionsAZ(H){this.options[H]=this.options[H].sort((D,O)=>D[1]>O[1]?1:D[1]D[1]>O[1]?-1:D[1]this.dependencyTypes.includes(H.type)).filter(H=>H.id!==this.data.applicationFormItem.id))}updateOption(H){var D;let O="";if(null!==(D=this.options[H])&&void 0!==D&&D)for(const i of this.options[H])""!==i[0]&&""!==i[1]&&(O=""===O?i[0]+"#"+i[1]:O+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n[H].options=O}updateOptions(){for(const H of this.languages)this.updateOption(H)}findAttribute(H,D){return H.find(O=>D.includes(O.friendlyName))}filterAttributesForWidget(H){return H.filter("MAP_INPUT_BOX"===this.applicationFormItem.type?D=>D.type.includes("LinkedHashMap"):"LIST_INPUT_BOX"===this.applicationFormItem.type?D=>D.type.includes("ArrayList"):D=>!D.type.includes("ArrayList")&&!D.type.includes("LinkedHashMap"))}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(e.so),b.Y36(e.WI),b.Y36(c.H8),b.Y36(E.sK),b.Y36(_.d6),b.Y36(b.sBO))},Ne.\u0275cmp=b.Xpm({type:Ne,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"],["class","dialog-container","mat-dialog-content","",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,"description","label"],[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"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-icon-button","",3,"matTooltip","click"]],template:function(H,D){1&H&&(b.TgZ(0,"div"),b.TgZ(1,"div",0),b.TgZ(2,"h1",1),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.YNc(5,Oe,1,0,"mat-spinner",2),b.YNc(6,Ae,39,54,"div",3),b.TgZ(7,"div",4),b.TgZ(8,"button",5),b.NdJ("click",function(){return D.cancel()}),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"div",6),b.ALo(12,"translate"),b.TgZ(13,"button",7),b.NdJ("click",function(){return D.submit()}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&H&&(b.Gre("",D.theme," h-100"),b.xp6(3),b.AsE(" ",b.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",D.applicationFormItem.shortname," "),b.xp6(2),b.Q6J("ngIf",D.loading),b.xp6(1),b.Q6J("ngIf",!D.loading),b.xp6(3),b.hij(" ",b.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),b.Q6J("matTooltipDisabled",!D.applicationFormItem.required||""!==D.applicationFormItem.perunSourceAttribute||""!==D.applicationFormItem.federationAttribute||"ALWAYS"!==D.applicationFormItem.disabled&&"ALWAYS"!==D.applicationFormItem.hidden),b.xp6(2),b.Q6J("disabled",D.loading||D.applicationFormItem.required&&""===D.applicationFormItem.perunSourceAttribute&&""===D.applicationFormItem.federationAttribute&&("ALWAYS"===D.applicationFormItem.disabled||"ALWAYS"===D.applicationFormItem.hidden)),b.xp6(1),b.hij(" ",b.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,v.O5,I.Ou,e.xY,N.SP,N.uX,q,j.KE,G.Nt,Q.Fj,Q.JJ,Q.On,he.oG,F.$x,be.gD,v.sg,pe.ey,ye.Y,T.IC,R.lW,L.gM,X.Hw,e.H8],pipes:[E.X$,Y.c,se,Te,v.gd],styles:[""]}),Ne})()},19352:(qe,me,h)=>{"use strict";h.d(me,{H:()=>We});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(9244),b=h(16074),E=h(69808),v=h(5e3),I=h(51062),N=h(20773),A=h(47423),q=h(25245),j=h(29772),G=h(31359);function Q(ge,Le){1&ge&&v._UZ(0,"mat-spinner",6)}function he(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function F(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&ge){const ue=Le.$implicit;v.xp6(1),v.Oqu(ue.user.id)}}function be(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function pe(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v._uU(1),v.ALo(2,"userFullName"),v.qZA()),2&ge){const ue=Le.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,ue.user))}}function ye(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function T(ge,Le){if(1&ge){const ue=v.EpF();v.TgZ(0,"button",20),v.NdJ("click",function(){v.CHM(ue);const z=v.oxw().$implicit;return v.oxw(2).changeExpiration(z)}),v.TgZ(1,"mat-icon"),v._uU(2," today "),v.qZA(),v.qZA()}}function R(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v.TgZ(1,"span"),v._uU(2),v.qZA(),v.YNc(3,T,3,0,"button",19),v.qZA()),2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.xp6(2),v.Oqu(Me.parseDate(ue.validityTo)),v.xp6(1),v.Q6J("ngIf",Me.isExpirationAuthorized(ue))}}function L(ge,Le){1&ge&&v._UZ(0,"th",17)}function X(ge,Le){1&ge&&(v.TgZ(0,"mat-icon",25),v._uU(1,"clear"),v.qZA())}function Y(ge,Le){1&ge&&(v.TgZ(0,"mat-icon"),v._uU(1,"settings_backup_restore"),v.qZA())}function se(ge,Le){if(1&ge){const ue=v.EpF();v.TgZ(0,"td",18),v.TgZ(1,"div",21),v.ALo(2,"translate"),v.TgZ(3,"button",22),v.NdJ("click",function(){const P=v.CHM(ue).$implicit;return v.oxw(2).markSponsor(P)}),v.YNc(4,X,2,0,"mat-icon",23),v.YNc(5,Y,2,0,"mat-icon",24),v.qZA(),v.qZA(),v.qZA()}if(2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.xp6(1),v.s9C("matTooltip",v.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),v.Q6J("matTooltipDisabled",Me.isRemoveAuthorized(ue))("matTooltipPosition","above"),v.xp6(2),v.Q6J("disabled",!Me.isRemoveAuthorized(ue)),v.xp6(1),v.Q6J("ngIf",!Me.sponsorsToRemove.has(ue.user.id)),v.xp6(1),v.Q6J("ngIf",Me.sponsorsToRemove.has(ue.user.id))}}function Te(ge,Le){1&ge&&v._UZ(0,"tr",26)}function Oe(ge,Le){if(1&ge&&v._UZ(0,"tr",27),2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.ekj("make-red",Me.sponsorsToRemove.has(ue.user.id))}}function Se(ge,Le){if(1&ge&&(v.TgZ(0,"div",7),v.TgZ(1,"table",8),v.ynx(2,9),v.YNc(3,he,3,3,"th",10),v.YNc(4,F,2,1,"td",11),v.BQk(),v.ynx(5,12),v.YNc(6,be,3,3,"th",10),v.YNc(7,pe,3,3,"td",11),v.BQk(),v.ynx(8,13),v.YNc(9,ye,3,3,"th",10),v.YNc(10,R,4,2,"td",11),v.BQk(),v.ynx(11,14),v.YNc(12,L,1,0,"th",10),v.YNc(13,se,6,8,"td",11),v.BQk(),v.YNc(14,Te,1,0,"tr",15),v.YNc(15,Oe,1,2,"tr",16),v.qZA(),v.qZA()),2&ge){const ue=v.oxw();v.xp6(1),v.Q6J("dataSource",ue.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",ue.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",ue.displayedColumns)}}let We=(()=>{class ge{constructor(ue,Me,z,P,de,Ce,Pe,ce){this.dialogRef=ue,this.data=Me,this.memberService=z,this.userService=P,this.notificator=de,this.authResolver=Ce,this.translate=Pe,this.dialog=ce,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.sponsorsToRemove=new Set,this.expirationChanged=!1}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new w.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(ue){this.sponsorsToRemove.has(ue.user.id)?this.sponsorsToRemove.delete(ue.user.id):this.sponsorsToRemove.add(ue.user.id)}onSubmit(){this.loading=!0;const ue=Array.from(this.sponsorsToRemove);this.removeSponsors(ue)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(ue){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[ue.user])}isExpirationAuthorized(ue){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[ue.user,this.vo])}parseDate(ue){return null===ue?"Never expire":(0,E.p6)(ue,"d.M.y","en")}changeExpiration(ue){const Me=(0,_.kZ)();Me.width="400px",Me.data={memberId:this.data.member.id,sponsor:ue},this.dialog.open(b.hd,Me).afterClosed().subscribe(P=>{P&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(de=>{this.sponsors=de,this.dataSource=new w.by(this.sponsors),this.loading=!1}))})}removeSponsors(ue){if(0===ue.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Me=ue.pop();this.memberService.removeSponsor(this.data.member.id,Me).subscribe(()=>{this.removeSponsors(ue)},()=>this.loading=!1)}}return ge.\u0275fac=function(ue){return new(ue||ge)(v.Y36(c.so),v.Y36(c.WI),v.Y36(e.uq),v.Y36(e.Fv),v.Y36(g.V6),v.Y36(g.x4),v.Y36(I.sK),v.Y36(c.uw))},ge.\u0275cmp=v.Xpm({type:ge,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"],["color","warn","mat-flat-button","",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"],["class","font-weight-bolder","mat-header-row","",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,"matTooltipDisabled","matTooltipPosition","matTooltip"],["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(ue,Me){1&ue&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,Q,1,0,"mat-spinner",1),v.YNc(5,Se,16,3,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return Me.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return Me.onSubmit()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&ue&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),v.xp6(2),v.Tol(Me.theme),v.xp6(1),v.Q6J("ngIf",Me.loading),v.xp6(1),v.Q6J("ngIf",!Me.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),v.xp6(2),v.Q6J("disabled",Me.loading||0===Me.sponsorsToRemove.size),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[c.uh,E.O5,N.Ou,c.xY,w.BZ,w.w1,w.fO,w.ge,w.Dz,w.ev,A.lW,q.Hw,j.gM,w.as,w.XQ,w.nj,w.Gk,c.H8],pipes:[I.X$,G.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),ge})()},74414:(qe,me,h)=>{"use strict";h.d(me,{R:()=>T});var e=h(48966),c=h(93075),g=h(32105),w=h(32080),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(74107),q=h(90508),j=h(47423);function G(R,L){1&R&&_._UZ(0,"mat-spinner",6)}function Q(R,L){1&R&&(_.TgZ(0,"div",14),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function he(R,L){1&R&&(_.TgZ(0,"div",14),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function F(R,L){1&R&&(_.TgZ(0,"mat-error"),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.Oqu(_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function be(R,L){1&R&&(_.TgZ(0,"mat-error"),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.Oqu(_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function pe(R,L){if(1&R&&(_.TgZ(0,"mat-option",15),_._uU(1),_.ALo(2,"translate"),_.ALo(3,"uppercase"),_.qZA()),2&R){const X=L.$implicit;_.s9C("value",X),_.xp6(1),_.Oqu(_.lcZ(2,2,_.lcZ(3,4,"SHARED_LIB.LANGUAGES."+X)))}}function ye(R,L){if(1&R){const X=_.EpF();_.TgZ(0,"div",7),_.YNc(1,Q,3,3,"div",8),_.YNc(2,he,3,3,"div",8),_.TgZ(3,"mat-form-field",9),_._UZ(4,"input",10),_.ALo(5,"translate"),_.YNc(6,F,3,3,"mat-error",11),_.qZA(),_.TgZ(7,"mat-form-field",9),_._UZ(8,"textarea",10),_.ALo(9,"translate"),_.YNc(10,be,3,3,"mat-error",11),_.qZA(),_.TgZ(11,"mat-form-field",9),_.TgZ(12,"mat-label"),_._uU(13),_.ALo(14,"translate"),_.qZA(),_.TgZ(15,"mat-select",12),_.NdJ("valueChange",function(se){return _.CHM(X),_.oxw().currentLanguage=se}),_.YNc(16,pe,4,6,"mat-option",13),_.qZA(),_.qZA(),_.qZA()}if(2&R){const X=_.oxw();_.xp6(1),_.Q6J("ngIf",!X.data.groupId),_.xp6(1),_.Q6J("ngIf",X.data.groupId),_.xp6(2),_.s9C("placeholder",_.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),_.Q6J("formControl",X.name),_.xp6(2),_.Q6J("ngIf",X.name.invalid),_.xp6(2),_.s9C("placeholder",_.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),_.Q6J("formControl",X.emailForm),_.xp6(2),_.Q6J("ngIf",X.emailForm.invalid),_.xp6(3),_.Oqu(_.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),_.xp6(2),_.Q6J("value",X.currentLanguage),_.xp6(1),_.Q6J("ngForOf",X.languages)}}let T=(()=>{class R{constructor(X,Y,se,Te,Oe,Se){this.dialogRef=X,this.data=Y,this.registrarManager=se,this.notificator=Te,this.translate=Oe,this.store=Se,this.emailForm=new c.NI("",[c.kI.required,c.kI.email.bind(this)]),this.languages=["en"],this.currentLanguage="en",this.name=new c.NI("",c.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 R.\u0275fac=function(X){return new(X||R)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.tk),_.Y36(w.V6),_.Y36(b.sK),_.Y36(w.d6))},R.\u0275cmp=_.Xpm({type:R,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"],["color","accent","mat-flat-button","",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,Y){1&X&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.YNc(4,G,1,0,"mat-spinner",1),_.YNc(5,ye,17,17,"div",2),_.TgZ(6,"div",3),_.TgZ(7,"button",4),_.NdJ("click",function(){return Y.onCancel()}),_._uU(8),_.ALo(9,"translate"),_.qZA(),_.TgZ(10,"button",5),_.NdJ("click",function(){return Y.onSubmit()}),_._uU(11),_.ALo(12,"translate"),_.qZA(),_.qZA(),_.qZA()),2&X&&(_.Tol(Y.theme),_.xp6(2),_.Oqu(_.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),_.xp6(2),_.Q6J("ngIf",Y.loading),_.xp6(1),_.Q6J("ngIf",!Y.loading),_.xp6(3),_.hij(" ",_.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),_.xp6(2),_.Q6J("disabled",Y.emailForm.invalid||Y.name.invalid||Y.loading),_.xp6(1),_.hij(" ",_.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,c.Fj,c.Q7,c.JJ,c.oH,I.TO,I.hX,A.gD,E.sg,q.ey,e.H8,j.lW],pipes:[b.X$,E.gd],styles:[""]}),R})()},87842:(qe,me,h)=>{"use strict";h.d(me,{c:()=>se});var e=h(48966),c=h(93075),g=h(68675),w=h(54004),_=h(36769),b=h(32080),E=h(32105),v=h(5e3),I=h(51062),N=h(79814),A=h(69808),q=h(98380),j=h(67322),G=h(98833),Q=h(91079),he=h(90508),F=h(20773),be=h(47423),pe=h(29772);function ye(Te,Oe){1&Te&&(v.TgZ(0,"mat-radio-button",12),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function T(Te,Oe){1&Te&&(v.TgZ(0,"mat-radio-button",13),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function R(Te,Oe){1&Te&&(v.TgZ(0,"perun-web-apps-alert",14),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function L(Te,Oe){if(1&Te){const Se=v.EpF();v.TgZ(0,"mat-option",20),v.NdJ("click",function(){const Le=v.CHM(Se).$implicit;return v.oxw(2).selectedGroup=Le}),v.TgZ(1,"span"),v._uU(2),v.qZA(),v.qZA()}if(2&Te){const Se=Oe.$implicit;v.Q6J("value",Se),v.xp6(2),v.Oqu(Se.name)}}function X(Te,Oe){if(1&Te){const Se=v.EpF();v.TgZ(0,"mat-form-field",15),v.TgZ(1,"input",16),v.NdJ("change",function(){return v.CHM(Se),v.oxw().selectedGroup=null}),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"mat-autocomplete",17,18),v.YNc(5,L,3,2,"mat-option",19),v.ALo(6,"async"),v.qZA(),v.qZA()}if(2&Te){const Se=v.MAs(4),We=v.oxw();v.Q6J("@openClose","toGroup"===We.moveOption?"open":"closed"),v.xp6(1),v.s9C("placeholder",v.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),v.Q6J("formControl",We.otherGroupsCtrl)("matAutocomplete",Se),v.xp6(2),v.Q6J("displayWith",We.displayFn),v.xp6(2),v.Q6J("ngForOf",v.lcZ(6,8,We.filteredGroups))}}function Y(Te,Oe){1&Te&&v._UZ(0,"mat-spinner",21)}let se=(()=>{class Te{constructor(Se,We,ge,Le,ue,Me,z){this.dialogRef=Se,this.data=We,this.groupService=ge,this.notificator=Le,this.translate=ue,this.apiRequest=Me,this.authResolver=z,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new c.NI(null,[c.kI.required.bind(this)]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(P=>this.successMessage=P),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(P=>this.errorMessage=P)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Se=>{this.otherGroups=Se.filter(We=>We.id!==this.data.group.id&&"members"!==We.name&&this.canMove(We)),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,w.U)(We=>We?this._filterGroups(We):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Se){return Se&&Se.name}canMove(Se){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Se,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Se])}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)},Se=>{this.notificator.showRPCError(Se,this.errorMessage),this.dialogRef.close(!1)})}_filterGroups(Se){if("object"==typeof Se)return[];const We=Se.toLowerCase();return Se?this.otherGroups.filter(ge=>ge.name.toLowerCase().includes(We)):this.otherGroups}}return Te.\u0275fac=function(Se){return new(Se||Te)(v.Y36(e.so),v.Y36(e.WI),v.Y36(E.ff),v.Y36(b.V6),v.Y36(I.sK),v.Y36(b.F5),v.Y36(b.x4))},Te.\u0275cmp=v.Xpm({type:Te,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","class","move-options","value","toRoot",4,"ngIf"],["color","primary","value","toGroup",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,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["color","primary","value","toGroup"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","formControl","matAutocomplete","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Se,We){1&Se&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div",1),v.TgZ(5,"p"),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.TgZ(8,"mat-radio-group",2),v.NdJ("ngModelChange",function(Le){return We.moveOption=Le}),v.YNc(9,ye,3,3,"mat-radio-button",3),v.YNc(10,T,3,3,"mat-radio-button",4),v.qZA(),v.YNc(11,R,3,3,"perun-web-apps-alert",5),v.YNc(12,X,7,10,"mat-form-field",6),v.qZA(),v.YNc(13,Y,1,0,"mat-spinner",7),v.TgZ(14,"div",8),v.TgZ(15,"button",9),v.NdJ("click",function(){return We.close()}),v._uU(16),v.ALo(17,"translate"),v.qZA(),v.TgZ(18,"span",10),v.ALo(19,"translate"),v.TgZ(20,"button",11),v.NdJ("click",function(){return We.confirm()}),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.qZA(),v.qZA(),v.qZA()),2&Se&&(v.Tol(We.data.theme),v.xp6(2),v.AsE("",v.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",We.data.group.name,""),v.xp6(4),v.hij(" ",v.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),v.xp6(2),v.Q6J("ngModel",We.moveOption),v.xp6(1),v.Q6J("ngIf",!We.toRootOptionDisabled),v.xp6(1),v.Q6J("ngIf",!We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",We.toRootOptionDisabled&&We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",!We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",We.loading),v.xp6(3),v.hij(" ",v.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),v.xp6(2),v.s9C("matTooltip",v.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),v.Q6J("matTooltipDisabled",null!==We.selectedGroup||"toRoot"===We.moveOption)("matTooltipPosition","above"),v.xp6(2),v.Q6J("disabled",(We.otherGroupsCtrl.invalid||null===We.selectedGroup)&&"toRoot"!==We.moveOption||We.loading),v.xp6(1),v.hij(" ",v.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,N.VQ,c.JJ,c.On,A.O5,N.U0,q.w,j.KE,G.Nt,c.Fj,Q.ZL,c.Q7,c.oH,Q.XC,A.sg,he.ey,F.Ou,e.H8,be.lW,pe.gM],pipes:[I.X$,A.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[_.BQ]}}),Te})()},58964:(qe,me,h)=>{"use strict";h.d(me,{m:()=>F});var e=h(48966),c=h(32105),g=h(32080),w=h(5e3),_=h(51062),b=h(69808),E=h(20773),v=h(67322),I=h(74107),N=h(90508),A=h(47423);function q(be,pe){1&be&&w._UZ(0,"mat-spinner",7)}function j(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",ye.friendlyNameParameter," ")}}function G(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.ALo(2,"translate"),w.ALo(3,"uppercase"),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",w.lcZ(2,2,w.lcZ(3,4,"SHARED_LIB.LANGUAGES."+ye))," ")}}function Q(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",ye," ")}}function he(be,pe){if(1&be){const ye=w.EpF();w.TgZ(0,"div",8),w.TgZ(1,"mat-form-field"),w.TgZ(2,"mat-label"),w._uU(3),w.ALo(4,"translate"),w.qZA(),w.TgZ(5,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedLogin=R}),w.YNc(6,j,2,2,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(7,"mat-form-field"),w.TgZ(8,"mat-label"),w._uU(9),w.ALo(10,"translate"),w.qZA(),w.TgZ(11,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedLang=R}),w.YNc(12,G,4,6,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(13,"mat-form-field"),w.TgZ(14,"mat-label"),w._uU(15),w.ALo(16,"translate"),w.qZA(),w.TgZ(17,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedMail=R}),w.YNc(18,Q,2,2,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(19,"div",11),w.TgZ(20,"p",12),w._uU(21),w.ALo(22,"translate"),w.qZA(),w.TgZ(23,"p"),w._uU(24),w.qZA(),w.qZA(),w.qZA()}if(2&be){const ye=w.oxw();w.xp6(3),w.Oqu(w.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),w.xp6(2),w.Q6J("value",ye.selectedLogin),w.xp6(1),w.Q6J("ngForOf",ye.logins),w.xp6(3),w.Oqu(w.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),w.xp6(2),w.Q6J("value",ye.selectedLang),w.xp6(1),w.Q6J("ngForOf",ye.languages),w.xp6(3),w.Oqu(w.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),w.xp6(2),w.Q6J("value",ye.selectedMail),w.xp6(1),w.Q6J("ngForOf",ye.mails),w.xp6(3),w.Oqu(w.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),w.xp6(3),w.Oqu(ye.selectedLogin.value)}}let F=(()=>{class be{constructor(ye,T,R,L,X,Y,se){this.dialogRef=ye,this.data=T,this.membersManagerService=R,this.attributesManagerService=L,this.store=X,this.translate=Y,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=[],Y.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(Te=>this.successMessage=Te)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const ye=this.selectedLogin.friendlyNameParameter,R=window.location.href.split("/"),L=R[0]+"//"+R[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,ye,this.pwdMails.get(this.selectedMail),this.selectedLang,L).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}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"}}return be.\u0275fac=function(ye){return new(ye||be)(w.Y36(e.so),w.Y36(e.WI),w.Y36(c.uq),w.Y36(c.H8),w.Y36(g.d6),w.Y36(_.sK),w.Y36(g.V6))},be.\u0275cmp=w.Xpm({type:be,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(ye,T){1&ye&&(w.TgZ(0,"h1",0),w._uU(1),w.ALo(2,"translate"),w.qZA(),w.TgZ(3,"div",1),w.YNc(4,q,1,0,"mat-spinner",2),w.qZA(),w.YNc(5,he,25,19,"div",3),w.TgZ(6,"div",4),w.TgZ(7,"button",5),w.NdJ("click",function(){return T.onCancel()}),w._uU(8),w.ALo(9,"translate"),w.qZA(),w.TgZ(10,"button",6),w.NdJ("click",function(){return T.onSubmit()}),w._uU(11),w.ALo(12,"translate"),w.qZA(),w.qZA()),2&ye&&(w.xp6(1),w.Oqu(w.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),w.xp6(3),w.Q6J("ngIf",T.loading),w.xp6(1),w.Q6J("ngIf",!T.loading),w.xp6(3),w.hij(" ",w.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),w.xp6(2),w.Q6J("disabled",T.loading),w.xp6(1),w.hij(" ",w.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,b.O5,E.Ou,e.xY,v.KE,v.hX,I.gD,b.sg,N.ey,e.H8,A.lW],pipes:[_.X$,b.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),be})()},53455:(qe,me,h)=>{"use strict";h.d(me,{X:()=>ye});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(47423),N=h(31359);function A(T,R){1&T&&_._UZ(0,"th",13)}function q(T,R){if(1&T&&(_.TgZ(0,"td",14),_._uU(1),_.qZA()),2&T){const L=R.$implicit;_.xp6(1),_.Oqu(L.id)}}function j(T,R){1&T&&_._UZ(0,"th",13)}function G(T,R){if(1&T&&(_.TgZ(0,"td",14),_._uU(1),_.ALo(2,"userFullName"),_.qZA()),2&T){const L=R.$implicit;_.xp6(1),_.Oqu(_.lcZ(2,1,L.user))}}function Q(T,R){1&T&&_._UZ(0,"tr",15)}function he(T,R){1&T&&_._UZ(0,"tr",16)}function F(T,R){if(1&T&&(_.TgZ(0,"div",4),_.TgZ(1,"p"),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"div",5),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.TgZ(7,"table",6),_.ynx(8,7),_.YNc(9,A,1,0,"th",8),_.YNc(10,q,2,1,"td",9),_.BQk(),_.ynx(11,10),_.YNc(12,j,1,0,"th",8),_.YNc(13,G,3,3,"td",9),_.BQk(),_.YNc(14,Q,1,0,"tr",11),_.YNc(15,he,1,0,"tr",12),_.qZA(),_.qZA()),2&T){const L=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,5,L.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),_.xp6(3),_.hij(" ",_.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),_.xp6(2),_.Q6J("dataSource",L.dataSource),_.xp6(7),_.Q6J("matHeaderRowDef",L.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",L.displayedColumns)}}function be(T,R){1&T&&_._UZ(0,"mat-spinner",17)}function pe(T,R){if(1&T){const L=_.EpF();_.TgZ(0,"div",18),_.TgZ(1,"button",19),_.NdJ("click",function(){return _.CHM(L),_.oxw().onCancel()}),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"button",20),_.NdJ("click",function(){return _.CHM(L),_.oxw().onSubmit()}),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.qZA()}if(2&T){const L=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),_.xp6(3),_.hij(" ",_.lcZ(6,4,L.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let ye=(()=>{class T{constructor(L,X,Y,se,Te,Oe){this.dialogRef=L,this.data=X,this.membersService=Y,this.groupService=se,this.notificator=Te,this.translate=Oe,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(L=>L.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(L=>L.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const L=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(L),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return T.\u0275fac=function(L){return new(L||T)(_.Y36(e.so),_.Y36(e.WI),_.Y36(w.uq),_.Y36(w.ff),_.Y36(g.V6),_.Y36(b.sK))},T.\u0275cmp=_.Xpm({type:T,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"],["class","font-weight-bolder","mat-header-row","",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"],["color","warn","data-cy","remove-members-dialog","mat-flat-button","",1,"ml-2",3,"click"]],template:function(L,X){1&L&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.YNc(4,F,16,9,"div",1),_.YNc(5,be,1,0,"mat-spinner",2),_.YNc(6,pe,7,6,"div",3),_.qZA()),2&L&&(_.Tol(X.theme),_.xp6(2),_.Oqu(_.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),_.xp6(2),_.Q6J("ngIf",!X.loading),_.xp6(1),_.Q6J("ngIf",X.loading),_.xp6(1),_.Q6J("ngIf",!X.loading))},directives:[e.uh,E.O5,e.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,v.Ou,e.H8,I.lW],pipes:[b.X$,N.d],styles:[""]}),T})()},533:(qe,me,h)=>{"use strict";h.d(me,{f:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.translate=G,this.resourcesManager=Q,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(A=>{this.loading=!1,this.notificator.showSuccess(A),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(A){A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(b.sK),_.Y36(w.xk))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","resources")("disableForce",!0)("loading",q.loading))},directives:[E.e],styles:[""]}),I})()},11717:(qe,me,h)=>{"use strict";h.d(me,{o:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.voService=G,this.translate=Q,this.force=!1,this.displayedColumns=["name"],this.relations=[],Q.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(he=>this.successMessage=he)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(A){this.force=A.force,A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(w.YF),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","organizations")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),I})()},1186:(qe,me,h)=>{"use strict";h.d(me,{E:()=>he});var e=h(48966),c=h(32105),g=h(5e3),w=h(69808),_=h(20773),b=h(67322),E=h(98833),v=h(93075),I=h(74107),N=h(90508),A=h(47423),q=h(51062);function j(F,be){1&F&&g._UZ(0,"mat-spinner",6)}function G(F,be){if(1&F){const pe=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(T){return g.CHM(pe),g.oxw(2).embeddedState=T}),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&F){const pe=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",pe.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 Q(F,be){if(1&F){const pe=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(T){return g.CHM(pe),g.oxw().moduleName=T}),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(T){return g.CHM(pe),g.oxw().initialState=T}),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(T){return g.CHM(pe),g.oxw().extensionState=T}),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,G,10,10,"div",13),g.qZA()}if(2&F){const pe=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",pe.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",pe.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",pe.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"===pe.entity&&pe.autoRegistrationEnabled)}}let he=(()=>{class F{constructor(pe,ye,T){this.dialogRef=pe,this.data=ye,this.registrarManager=T,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(pe=>{this.dialogRef.close(pe)},()=>this.loading=!1)}}return F.\u0275fac=function(pe){return new(pe||F)(g.Y36(e.so),g.Y36(e.WI),g.Y36(c.tk))},F.\u0275cmp=g.Xpm({type:F,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,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"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(pe,ye){1&pe&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,j,1,0,"mat-spinner",1),g.YNc(5,Q,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return ye.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return ye.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&pe&&(g.Tol(ye.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",ye.loading),g.xp6(1),g.Q6J("ngIf",!ye.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",ye.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,w.O5,_.Ou,e.xY,b.KE,E.Nt,v.Fj,v.JJ,v.On,I.gD,N.ey,e.H8,A.lW],pipes:[q.X$],styles:[""]}),F})()},34775:(qe,me,h)=>{"use strict";h.d(me,{_:()=>qi});var e=h(32105),c=h(5e3),g=h(69808),w=h(20773),_=h(81125),b=h(25245),E=h(9224),v=h(64877),I=h(87831),N=h(24179),A=h(62109),q=h(74010),j=h(38383),G=h(98380),Q=h(51062);function he(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function F(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function be(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SELF_IDENTITIES_"+Pt.entityType)," ")}}const pe=function(){return["user","id","name"]};function ye(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,be,3,3,"div",2),c._UZ(2,"app-users-list",10),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,pe))("disableRouting",!0)("users",Pt.users)}}function T(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ye,3,5,"div",2),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.users.length)}}function R(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getSelfData(vt.roles.get("SELF").get("User"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,F,1,0,"mat-spinner",1),c.YNc(8,T,2,1,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SELF")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function L(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function X(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_VOS_"+Pt.entityType)," ")}}const Y=function(){return["id","name","shortName"]};function se(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,X,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",12),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Y))("vos",Pt.vos)("disableRouting",!0)}}function Te(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_GROUPS_"+Pt.entityType)," ")}}const Oe=function(){return["id","vo","name","description"]};function Se(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,Te,3,3,"div",2),c._UZ(2,"perun-web-apps-groups-list",14),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Oe))("groups",Pt.groups)("disableRouting",!0)}}function We(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_RESOURCES_"+Pt.entityType)," ")}}const ge=function(){return["id","name","vo","facility","description"]};function Le(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,We,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",15),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("disableRouting",!0)}}function ue(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_FACILITIES_"+Pt.entityType)," ")}}const Me=function(){return["id","name","description"]};function z(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,ue,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",16),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Me))("facilities",Pt.facilities)("disableRouting",!0)}}function P(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,se,3,5,"div",2),c.YNc(2,Se,3,5,"div",11),c.YNc(3,Le,3,5,"div",11),c.YNc(4,z,3,5,"div",11),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.vos.length),c.xp6(1),c.Q6J("ngIf",Pt.groups.length),c.xp6(1),c.Q6J("ngIf",Pt.resources.length),c.xp6(1),c.Q6J("ngIf",Pt.facilities.length)}}function de(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getMembershipData(vt.roles.get("MEMBERSHIP").get("Group"),vt.roles.get("MEMBERSHIP").get("Vo"),vt.roles.get("MEMBERSHIP").get("Resource"),vt.roles.get("MEMBERSHIP").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,L,1,0,"mat-spinner",1),c.YNc(8,P,5,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.MEMBERSHIP")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ce(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function Pe(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",20),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.Q6J("ngSwitch",Pt.entityType),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ROLES.GROUPADMIN_GROUPS_"+Pt.entityType)," ")}}function ce(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,Pe,3,4,"div",18),c._UZ(2,"perun-web-apps-groups-list",19),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Oe))("groups",Pt.groups)}}function fe(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getGroups(vt.roles.get("GROUPADMIN").get("Group"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",17),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ce,1,0,"mat-spinner",1),c.YNc(8,ce,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.GROUPADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ze(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function ne(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS_"+Pt.entityType)," ")}}const it=function(){return["id","recent","vo","name","description"]};function Be(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ne,3,3,"div",2),c._UZ(2,"perun-web-apps-groups-list",19),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,it))("groups",Pt.groups)}}function ze(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getGroups(vt.roles.get("GROUPOBSERVER").get("Group"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",17),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ze,1,0,"mat-spinner",1),c.YNc(8,Be,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.GROUPOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ue(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function _e(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.VOADMIN_VOS_"+Pt.entityType)," ")}}function ae(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,_e,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function Ae(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("VOADMIN").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ue,1,0,"mat-spinner",1),c.YNc(8,ae,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.VOADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function ee(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function Ne(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.VOOBSERVER_VOS_"+Pt.entityType)," ")}}function V(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,Ne,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function H(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("VOOBSERVER").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,ee,1,0,"mat-spinner",1),c.YNc(8,V,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.VOOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function D(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function O(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS_"+Pt.entityType)," ")}}function i(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.TgZ(1,"div"),c.YNc(2,O,3,3,"div",2),c._UZ(3,"perun-web-apps-vos-list",22),c.qZA(),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(2),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function o(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,D,1,0,"mat-spinner",1),c.YNc(8,i,4,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function u(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function l(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS_"+Pt.entityType)," ")}}function s(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,l,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function n(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("TOPGROUPCREATOR").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,u,1,0,"mat-spinner",1),c.YNc(8,s,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function t(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function r(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES_"+Pt.entityType)," ")}}function a(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,r,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function d(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCEADMIN").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,t,1,0,"mat-spinner",1),c.YNc(8,a,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCEADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function f(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function x(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES_"+Pt.entityType)," ")}}function Ye(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,x,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function It(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCEOBSERVER").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,f,1,0,"mat-spinner",1),c.YNc(8,Ye,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function jt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function bt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES_"+Pt.entityType)," ")}}function Yt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,bt,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function Ct(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCESELFSERVICE").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,jt,1,0,"mat-spinner",1),c.YNc(8,Yt,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Nt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function He(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES_"+Pt.entityType)," ")}}function je(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,He,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",26),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Me))("facilities",Pt.facilities)}}function Z(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getFacilities(vt.roles.get("FACILITYADMIN").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",25),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Nt,1,0,"mat-spinner",1),c.YNc(8,je,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.FACILITYADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function $(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function oe(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES_"+Pt.entityType)," ")}}function nt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,oe,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",26),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Me))("facilities",Pt.facilities)}}function ct(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getFacilities(vt.roles.get("FACILITYOBSERVER").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",25),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,$,1,0,"mat-spinner",1),c.YNc(8,nt,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.FACILITYOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Rt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function mt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS_"+Pt.entityType)," ")}}const Tt=function(){return["id","fullName","sponsored"]};function ot(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,mt,3,3,"div",2),c._UZ(2,"perun-web-apps-members-list",27),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Tt))("members",Pt.members)}}function rt(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getMembers(vt.roles.get("SPONSORSHIP").get("Member"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Rt,1,0,"mat-spinner",1),c.YNc(8,ot,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SPONSORSHIP")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function lt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function ut(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SPONSOR_VOS_"+Pt.entityType)," ")}}function Ht(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ut,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function Qt(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("SPONSOR").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,lt,1,0,"mat-spinner",1),c.YNc(8,Ht,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SPONSOR")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function ni(Lt,oi){1&Lt&&(c.TgZ(0,"mat-expansion-panel"),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&Lt&&(c.xp6(5),c.Oqu(c.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function hi(Lt,oi){1&Lt&&(c.TgZ(0,"mat-expansion-panel"),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&Lt&&(c.xp6(5),c.Oqu(c.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function gi(Lt,oi){if(1&Lt&&(c.TgZ(0,"p",29),c._uU(1),c.qZA()),2&Lt){const Pt=oi.$implicit;c.xp6(1),c.AsE("",Pt[0]," ids: ",Pt[1],"")}}function xi(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){const at=c.CHM(Pt).$implicit;return c.oxw(2).getInnerKeys(at)}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.qZA(),c.qZA(),c.qZA(),c.YNc(6,gi,2,2,"p",28),c.qZA()}if(2&Lt){const Pt=oi.$implicit,$e=c.oxw(2);c.xp6(5),c.Oqu(Pt),c.xp6(1),c.Q6J("ngForOf",$e.currentIds)}}function ji(Lt,oi){if(1&Lt&&(c.TgZ(0,"mat-accordion"),c.YNc(1,R,9,5,"mat-expansion-panel",5),c.YNc(2,de,9,5,"mat-expansion-panel",5),c.YNc(3,fe,9,5,"mat-expansion-panel",5),c.YNc(4,ze,9,5,"mat-expansion-panel",5),c.YNc(5,Ae,9,5,"mat-expansion-panel",5),c.YNc(6,H,9,5,"mat-expansion-panel",5),c.YNc(7,o,9,5,"mat-expansion-panel",5),c.YNc(8,n,9,5,"mat-expansion-panel",5),c.YNc(9,d,9,5,"mat-expansion-panel",5),c.YNc(10,It,9,5,"mat-expansion-panel",5),c.YNc(11,Ct,9,5,"mat-expansion-panel",5),c.YNc(12,Z,9,5,"mat-expansion-panel",5),c.YNc(13,ct,9,5,"mat-expansion-panel",5),c.YNc(14,rt,9,5,"mat-expansion-panel",5),c.YNc(15,Qt,9,5,"mat-expansion-panel",5),c.YNc(16,ni,7,3,"mat-expansion-panel",2),c.YNc(17,hi,7,3,"mat-expansion-panel",2),c.YNc(18,xi,7,2,"mat-expansion-panel",6),c.qZA()),2&Lt){const Pt=c.oxw();c.xp6(1),c.Q6J("ngIf",Pt.roles.get("SELF")),c.xp6(1),c.Q6J("ngIf",Pt.roles.get("MEMBERSHIP")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("GROUPADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("GROUPOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("VOADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("VOOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("TRUSTEDFACILITYADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("TOPGROUPCREATOR")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCEADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCEOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCESELFSERVICE")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("FACILITYADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("FACILITYOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("SPONSORSHIP")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("SPONSOR")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("PERUNADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("PERUNOBSERVER")),c.xp6(1),c.Q6J("ngForOf",Pt.roleNames)}}function tn(Lt,oi){1&Lt&&(c.TgZ(0,"perun-web-apps-alert",30),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.NO_ROLES"),"\n"))}let qi=(()=>{class Lt{constructor(Pt,$e,vt,at,Qe,yt,U){this.authzResolverService=Pt,this.usersManagerService=$e,this.vosManagerService=vt,this.facilitiesManagerService=at,this.resourcesManagerService=Qe,this.groupsManagerService=yt,this.membersManagerService=U,this.roles=new Map,this.groups=[],this.vos=[],this.facilities=[],this.resources=[],this.members=[],this.users=[],this.currentIds=[]}getGroups(Pt){this.loading=!0,this.groups=[],this.groupsManagerService.getGroupsByIds(Pt).subscribe($e=>{this.groups=$e,this.loading=!1})}getVos(Pt){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(Pt).subscribe($e=>{this.vos=$e,this.loading=!1})}getFacilities(Pt){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesByIds(Pt).subscribe($e=>{this.facilities=$e.map(vt=>({facility:vt})),this.loading=!1})}getResources(Pt){this.loading=!0,this.resources=[],this.resourcesManagerService.getRichResourcesByIds(Pt).subscribe($e=>{this.resources=$e,this.loading=!1})}getMembers(Pt){this.loading=!0,this.members=[],this.membersManagerService.getRichMembersByIds(Pt).subscribe($e=>{this.members=$e,this.loading=!1})}getSelfData(Pt){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.entityId).subscribe($e=>{this.vos=$e;const vt=[this.entityId].concat(Pt);this.usersManagerService.getRichUsersByIds(vt).subscribe(at=>{this.users=at,this.loading=!1})})}getMembershipData(Pt,$e,vt,at){this.loading=!0,this.vos=[],this.resources=[],this.groups=[],this.facilities=[],this.getResourcesIfArrayNotEmpty(vt).then(()=>this.getFacilitiesIfArrayNotEmpty(at).then(()=>this.getVosIfArrayNotEmpty($e).then(()=>this.getGroupsIfArrayNotEmpty(Pt).then(()=>this.loading=!1).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))}getResourcesIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.resourcesManagerService.getRichResourcesByIds(Pt).subscribe(vt=>{this.resources=vt,$e()}):$e()})}getFacilitiesIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.facilitiesManagerService.getFacilitiesByIds(Pt).subscribe(vt=>{this.facilities=vt.map(at=>({facility:at})),$e()}):$e()})}getVosIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.vosManagerService.getVosByIds(Pt).subscribe(vt=>{this.vos=vt,$e()}):$e()})}getGroupsIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.groupsManagerService.getGroupsByIds(Pt).subscribe(vt=>{this.groups=vt,$e()}):$e()})}getInnerKeys(Pt){if(this.roles.get(Pt)){const $e=this.roles.get(Pt).entries(),vt=[];let at=$e.next().value;for(;at;)vt.push(at),at=$e.next().value;this.currentIds=vt}else this.currentIds=[]}}return Lt.\u0275fac=function(Pt){return new(Pt||Lt)(c.Y36(e.Ct),c.Y36(e.Fv),c.Y36(e.YF),c.Y36(e.IQ),c.Y36(e.xk),c.Y36(e.ff),c.Y36(e.uq))},Lt.\u0275cmp=c.Xpm({type:Lt,selectors:[["app-perun-web-apps-roles-page"]],inputs:{roles:"roles",outerLoading:"outerLoading",showDescription:"showDescription",roleNames:"roleNames",entityId:"entityId",entityType:"entityType"},decls:6,vars:6,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened",4,"ngIf"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["mat-card-avatar","","svgIcon","perun-user-dark",1,"mr-2"],[1,"mt-auto","mb-auto"],[3,"displayedColumns","disableRouting","users"],["class","mt-5",4,"ngIf"],[3,"displayedColumns","vos","disableRouting"],[1,"mt-5"],[3,"displayedColumns","groups","disableRouting"],[3,"resources","displayedColumns","disableRouting"],[3,"displayedColumns","facilities","disableRouting"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"ngSwitch",4,"ngIf"],[3,"displayedColumns","groups"],[3,"ngSwitch"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],[3,"displayedColumns","vos"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","displayedColumns","routingVo"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"displayedColumns","members"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"],["alert_type","warn"]],template:function(Pt,$e){1&Pt&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.YNc(3,he,1,0,"mat-spinner",1),c.YNc(4,ji,19,18,"mat-accordion",2),c.YNc(5,tn,3,3,"perun-web-apps-alert",3)),2&Pt&&(c.xp6(1),c.Oqu(c.lcZ(2,4,"ROLES.TITLE")),c.xp6(2),c.Q6J("ngIf",$e.outerLoading),c.xp6(1),c.Q6J("ngIf",!$e.outerLoading&&$e.roles.size>0),c.xp6(1),c.Q6J("ngIf",!$e.outerLoading&&0===$e.roles.size))},directives:[g.O5,w.Ou,_.pp,_.ib,_.yz,_.yK,b.Hw,E.kc,v.C,I.Z,N.W,A.C,q.X,g.RF,j.O,g.sg,G.w],pipes:[Q.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),Lt})()},60205:(qe,me,h)=>{"use strict";h.d(me,{Q:()=>z});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(32080),E=h(18750),v=h(77446),I=h(69808),N=h(25245),A=h(29772),q=h(50301),j=h(36157),G=h(98380),Q=h(51062);function he(P,de){if(1&P){const Ce=e.EpF();e.TgZ(0,"th",18),e.TgZ(1,"mat-checkbox",19),e.NdJ("change",function(ce){e.CHM(Ce);const fe=e.oxw();return ce?fe.masterToggle():null}),e.qZA(),e.qZA()}if(2&P){const Ce=e.oxw();e.xp6(1),e.Q6J("aria-label",Ce.checkboxLabel())("checked",Ce.selection.hasValue()&&Ce.isAllSelected())("indeterminate",Ce.selection.hasValue()&&!Ce.isAllSelected())}}function F(P,de){if(1&P){const Ce=e.EpF();e.TgZ(0,"td",20),e.TgZ(1,"mat-checkbox",21),e.NdJ("change",function(ce){const Ze=e.CHM(Ce).$implicit,ne=e.oxw();return ce?ne.selection.toggle(Ze):null})("click",function(ce){return ce.stopPropagation()}),e.ALo(2,"lowercase"),e.qZA(),e.qZA()}if(2&P){const Ce=de.$implicit,Pe=e.oxw();e.xp6(1),e.Q2q("data-cy","",e.lcZ(2,3,Ce.name),"-checkbox"),e.Q6J("aria-label",Pe.checkboxLabel(Ce))("checked",Pe.selection.isSelected(Ce))}}function be(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")," "))}function pe(P,de){if(1&P&&(e.TgZ(0,"td",23),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.id)}}function ye(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")," "))}function T(P,de){if(1&P&&(e.TgZ(0,"td",24),e.ALo(1,"lowercase"),e._uU(2),e.qZA()),2&P){const Ce=de.$implicit;e.Q2q("data-cy","",e.lcZ(1,2,Ce.name),"-name-td"),e.xp6(2),e.hij(" ",Ce.name," ")}}function R(P,de){1&P&&e._UZ(0,"th",25)}function L(P,de){1&P&&(e.TgZ(0,"mat-icon",28),e.ALo(1,"translate"),e._uU(2," check_circle_outline "),e.qZA()),2&P&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function X(P,de){1&P&&(e.TgZ(0,"mat-icon",29),e.ALo(1,"translate"),e._uU(2," block "),e.qZA()),2&P&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function Y(P,de){if(1&P&&(e.TgZ(0,"td",24),e.YNc(1,L,3,3,"mat-icon",26),e.YNc(2,X,3,3,"mat-icon",27),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Q6J("ngIf",Ce.enabled),e.xp6(1),e.Q6J("ngIf",!Ce.enabled)}}function se(P,de){1&P&&(e.TgZ(0,"th",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")," "))}function Te(P,de){if(1&P&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.script)}}function Oe(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")," "))}function Se(P,de){if(1&P&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.description)}}function We(P,de){1&P&&e._UZ(0,"tr",30)}const ge=function(P){return["/admin/services",P]};function Le(P,de){if(1&P&&e._UZ(0,"tr",31),2&P){const Ce=de.$implicit,Pe=e.oxw();e.ekj("cursor-pointer",!Pe.disableRouting)("disable-outline",Pe.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",Pe.disableRouting?null:e.VKq(6,ge,Ce.id))("routerLink",Pe.disableRouting?null:e.VKq(8,ge,Ce.id))}}function ue(P,de){1&P&&(e.TgZ(0,"perun-web-apps-alert",32),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Me(P,de){1&P&&(e.TgZ(0,"perun-web-apps-alert",32),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let z=(()=>{class P{constructor(Ce,Pe){this.authResolver=Ce,this.tableCheckbox=Pe,this.services=[],this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new w.Ov(!0,[]),this.disableRouting=!1,this.selectionChanged=new e.vpe,this.pageSizeOptions=_.f7}set matSort(Ce){this.sort=Ce,this.setDataSource()}static getDataForColumn(Ce,Pe){switch(Pe){case"id":return Ce.id.toString();case"name":return Ce.name;case"enabled":return Ce.enabled?"true":"false";case"script":return Ce.script;case"description":return Ce.description;default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ce=>"id"!==Ce)),this.dataSource=new g.by(this.services),this.setDataSource(),this.selection.changed.subscribe(()=>{this.selectionChanged.emit()})}exportData(Ce){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,P.getDataForColumn),Ce)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Ce,Pe)=>(0,_.Sd)(Ce,Pe,this.displayedColumns,P.getDataForColumn),this.dataSource.sortData=(Ce,Pe)=>(0,_.pR)(Ce,Pe,P.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}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(Ce){return Ce?`${this.selection.isSelected(Ce)?"deselect":"select"} row ${Ce.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return P.\u0275fac=function(Ce){return new(Ce||P)(e.Y36(b.x4),e.Y36(b.UA))},P.\u0275cmp=e.Xpm({type:P,selectors:[["app-services-list"]],viewQuery:function(Ce,Pe){if(1&Ce&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&Ce){let ce;e.iGM(ce=e.CRH())&&(Pe.child=ce.first),e.iGM(ce=e.CRH())&&(Pe.matSort=ce.first)}},inputs:{services:"services",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{selectionChanged:"selectionChanged"},features:[e.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"pageSizeOptions","dataLength","tableId","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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","enabled"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","script"],["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"],["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",""],["class","align-bottom green",3,"matTooltip",4,"ngIf"],["class","align-bottom red",3,"matTooltip",4,"ngIf"],[1,"align-bottom","green",3,"matTooltip"],[1,"align-bottom","red",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Ce,Pe){1&Ce&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(fe){return Pe.exportData(fe)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,he,2,3,"th",4),e.YNc(5,F,3,5,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,be,3,3,"th",7),e.YNc(8,pe,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ye,3,3,"th",7),e.YNc(11,T,3,4,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,R,1,0,"th",12),e.YNc(14,Y,3,2,"td",10),e.BQk(),e.ynx(15,13),e.YNc(16,se,3,3,"th",12),e.YNc(17,Te,2,1,"td",10),e.BQk(),e.ynx(18,14),e.YNc(19,Oe,3,3,"th",7),e.YNc(20,Se,2,1,"td",10),e.BQk(),e.YNc(21,We,1,0,"tr",15),e.YNc(22,Le,1,10,"tr",16),e.qZA(),e.qZA(),e.qZA(),e.YNc(23,ue,3,3,"perun-web-apps-alert",17),e.YNc(24,Me,3,3,"perun-web-apps-alert",17)),2&Ce&&(e.Q6J("hidden",void 0===Pe.services||0===Pe.services.length||0===Pe.dataSource.filteredData.length),e.xp6(1),e.Q6J("pageSizeOptions",Pe.pageSizeOptions)("dataLength",Pe.dataSource.filteredData.length)("tableId",Pe.tableId),e.xp6(1),e.Q6J("dataSource",Pe.dataSource),e.xp6(19),e.Q6J("matHeaderRowDef",Pe.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",Pe.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===Pe.dataSource.filteredData.length&&void 0!==Pe.services&&0!==Pe.services.length),e.xp6(1),e.Q6J("ngIf",void 0===Pe.services||0===Pe.services.length))},directives:[E.l,g.BZ,c.YE,g.w1,g.fO,g.ge,v.oG,g.Dz,g.ev,c.nU,I.O5,N.Hw,A.gM,g.as,g.XQ,g.nj,g.Gk,q.YH,j.rH,G.w],pipes:[I.i8,Q.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.green[_ngcontent-%COMP%]{color:green}.red[_ngcontent-%COMP%]{color:red}"]}),P})()},64877:(qe,me,h)=>{"use strict";h.d(me,{C:()=>Ze});var e=h(84847),c=h(32075),g=h(20449),w=h(9244),_=h(32080),b=h(5e3),E=h(18750),v=h(69808),I=h(77446),N=h(25245),A=h(29772),q=h(50301),j=h(98380),G=h(51062),Q=h(31359),he=h(9954),F=h(16119),be=h(7598);function pe(ne,it){if(1&ne){const Be=b.EpF();b.TgZ(0,"mat-checkbox",21),b.NdJ("change",function(Ue){b.CHM(Be);const _e=b.oxw(2);return Ue?_e.masterToggle():null}),b.qZA()}if(2&ne){const Be=b.oxw(2);b.Q6J("aria-label",Be.checkboxLabel())("checked",Be.selection.hasValue()&&Be.isAllSelected())("indeterminate",Be.selection.hasValue()&&!Be.isAllSelected())}}function ye(ne,it){if(1&ne&&(b.TgZ(0,"th",19),b.YNc(1,pe,1,3,"mat-checkbox",20),b.qZA()),2&ne){const Be=b.oxw();b.xp6(1),b.Q6J("ngIf",Be.selection.isMultipleSelection())}}function T(ne,it){if(1&ne){const Be=b.EpF();b.TgZ(0,"td",22),b.TgZ(1,"mat-checkbox",23),b.NdJ("change",function(Ue){const ae=b.CHM(Be).$implicit,Ae=b.oxw();return Ue?Ae.selection.toggle(ae):null})("click",function(Ue){return Ue.stopPropagation()}),b.ALo(2,"lowercase"),b.qZA(),b.qZA()}if(2&ne){const Be=it.$implicit,ze=b.oxw();b.xp6(1),b.Q2q("data-cy","",b.lcZ(2,4,Be.firstName),"-checkbox"),b.Q6J("aria-label",ze.checkboxLabel(Be))("checked",ze.selection.isSelected(Be))("disabled",ze.disableSelf&&Be.id===ze.principalId&&!ze.authResolver.isPerunAdmin())}}function R(ne,it){1&ne&&b._UZ(0,"th",24)}function L(ne,it){1&ne&&(b.TgZ(0,"mat-icon",28),b.ALo(1,"translate"),b._uU(2," account_circle "),b.qZA()),2&ne&&b.s9C("matTooltip",b.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function X(ne,it){if(1&ne&&(b._UZ(0,"mat-icon",29),b.ALo(1,"translate")),2&ne){const Be=b.oxw(2);b.s9C("matTooltip",b.lcZ(1,2,"MANAGERS_LIST.SERVICE")),b.Q6J("svgIcon",Be.svgIcon)}}function Y(ne,it){if(1&ne&&(b.TgZ(0,"td",25),b.YNc(1,L,3,3,"mat-icon",26),b.YNc(2,X,2,4,"mat-icon",27),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Q6J("ngIf",!Be.serviceUser),b.xp6(1),b.Q6J("ngIf",Be.serviceUser)}}function se(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function Te(ne,it){if(1&ne&&(b.TgZ(0,"td",25),b._uU(1),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.hij(" ",Be.id," ")}}function Oe(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Se(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b.ALo(1,"lowercase"),b._uU(2),b.ALo(3,"userFullName"),b.qZA()),2&ne){const Be=it.$implicit;b.Q2q("data-cy","",b.lcZ(1,2,Be.firstName),"-firstName-td"),b.xp6(2),b.hij(" ",b.lcZ(3,4,Be)," ")}}function We(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")," "))}function ge(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userVo"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function Le(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.EMAIL")," "))}function ue(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userEmail"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function Me(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.LOGINS")," "))}function z(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userLogins"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function P(ne,it){1&ne&&b._UZ(0,"tr",32)}const de=function(ne){return["/admin/users",ne]},Ce=function(ne){return["/myProfile/service-identities",ne]};function Pe(ne,it){if(1&ne&&b._UZ(0,"tr",33),2&ne){const Be=it.$implicit,ze=b.oxw();b.ekj("cursor-pointer",!ze.disableRouting),b.Q6J("perunWebAppsForceRouterLink",ze.disableRouting?null:ze.routeToAdmin?b.VKq(4,de,Be.id):b.VKq(6,Ce,Be.id))("perunWebAppsMiddleClickRouterLink",ze.disableRouting?null:ze.routeToAdmin?b.VKq(8,de,Be.id):b.VKq(10,Ce,Be.id))}}function ce(ne,it){if(1&ne&&(b.TgZ(0,"perun-web-apps-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne){const Be=b.oxw();b.xp6(1),b.hij(" ",Be.noUsersFoundLabel?Be.noUsersFoundLabel:b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n")}}function fe(ne,it){1&ne&&(b.TgZ(0,"perun-web-apps-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Ze=(()=>{class ne{constructor(Be,ze,Ue){this.authResolver=Be,this.tableCheckbox=ze,this.storeService=Ue,this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.routeToAdmin=!0,this.disableRouting=!1,this.filter="",this.disableSelf=!1,this.svgIcon="perun-service-identity-black",this.pageSizeOptions=w.f7}set matSort(Be){this.sort=Be}static getDataForColumn(Be,ze){var Ue;switch(ze){case"id":return Be.id.toString();case"user":return Be.serviceUser?"true":"false";case"name":return Be?Be.lastName?Be.lastName:null!==(Ue=Be.firstName)&&void 0!==Ue?Ue:"":"";case"organization":return(0,w.OV)(Be);case"email":return(0,w.kN)(Be);case"logins":return(0,w.lt)(Be);default:return""}}static getExportDataForColumn(Be,ze){switch(ze){case"id":return Be.id.toString();case"user":return Be.serviceUser?"service-user":"user";case"name":return Be?(0,w.bD)(Be):"";case"organization":return(0,w.OV)(Be);case"email":return(0,w.kN)(Be);case"logins":return(0,w.lt)(Be);default:return""}}exportData(Be){(0,w.O6)((0,w.Xn)(this.dataSource.filteredData,this.displayedColumns,ne.getExportDataForColumn),Be)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Be,ze)=>(0,w.Sd)(Be,ze,this.displayedColumns,ne.getDataForColumn),this.dataSource.sortData=(Be,ze)=>(0,w.pR)(Be,ze,ne.getDataForColumn)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngOnChanges(){this.principalId=this.storeService.getPerunPrincipal().userId,this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Be=>"id"!==Be)),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Be){return Be?`${this.selection.isSelected(Be)?"deselect":"select"} row ${Be.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return ne.\u0275fac=function(Be){return new(Be||ne)(b.Y36(_.x4),b.Y36(_.UA),b.Y36(_.d6))},ne.\u0275cmp=b.Xpm({type:ne,selectors:[["app-users-list"]],viewQuery:function(Be,ze){if(1&Be&&(b.Gf(w.l9,7),b.Gf(e.YE,7)),2&Be){let Ue;b.iGM(Ue=b.CRH())&&(ze.child=Ue.first),b.iGM(Ue=b.CRH())&&(ze.matSort=Ue.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",routeToAdmin:"routeToAdmin",disableRouting:"disableRouting",filter:"filter",tableId:"tableId",noUsersFoundLabel:"noUsersFoundLabel",disableSelf:"disableSelf"},features:[b.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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"],["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"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"svgIcon","matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"svgIcon","matTooltip"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(Be,ze){1&Be&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(_e){return ze.exportData(_e)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,ye,2,1,"th",4),b.YNc(5,T,3,6,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,R,1,0,"th",7),b.YNc(8,Y,3,2,"td",8),b.BQk(),b.ynx(9,9),b.YNc(10,se,3,3,"th",10),b.YNc(11,Te,2,1,"td",8),b.BQk(),b.ynx(12,11),b.YNc(13,Oe,3,3,"th",10),b.YNc(14,Se,4,6,"td",12),b.BQk(),b.ynx(15,13),b.YNc(16,We,3,3,"th",10),b.YNc(17,ge,3,3,"td",12),b.BQk(),b.ynx(18,14),b.YNc(19,Le,3,3,"th",10),b.YNc(20,ue,3,3,"td",12),b.BQk(),b.ynx(21,15),b.YNc(22,Me,3,3,"th",10),b.YNc(23,z,3,3,"td",12),b.BQk(),b.YNc(24,P,1,0,"tr",16),b.YNc(25,Pe,1,12,"tr",17),b.qZA(),b.qZA(),b.qZA(),b.YNc(26,ce,3,3,"perun-web-apps-alert",18),b.YNc(27,fe,3,3,"perun-web-apps-alert",18)),2&Be&&(b.Q6J("hidden",0===ze.users.length||!ze.dataSource||0===ze.dataSource.filteredData.length),b.xp6(1),b.Q6J("dataLength",ze.dataSource.filteredData.length)("pageSizeOptions",ze.pageSizeOptions)("tableId",ze.tableId),b.xp6(1),b.Q6J("dataSource",ze.dataSource),b.xp6(22),b.Q6J("matHeaderRowDef",ze.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",ze.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===ze.users.length),b.xp6(1),b.Q6J("ngIf",0===ze.dataSource.filteredData.length&&0!==ze.users.length))},directives:[E.l,c.BZ,e.YE,c.w1,c.fO,c.ge,v.O5,I.oG,c.Dz,c.ev,N.Hw,A.gM,e.nU,c.as,c.XQ,c.nj,c.Gk,q.Kd,q.YH,j.w],pipes:[v.i8,G.X$,Q.d,he.Z,F.S,be.g],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ne})()},57706:(qe,me,h)=>{"use strict";h.d(me,{c:()=>g});var e=h(5e3),c=h(51062);let g=(()=>{class w{constructor(b){this.translateService=b,this.returnData=""}transform(b){switch(b){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(E=>{this.returnData=E});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(E=>{this.returnData=E});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(E=>{this.returnData=E});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(E=>{this.returnData=E});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(E=>{this.returnData=E});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(E=>{this.returnData=E});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(E=>{this.returnData=E});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(E=>{this.returnData=E});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(E=>{this.returnData=E});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(E=>{this.returnData=E});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(E=>{this.returnData=E});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(E=>{this.returnData=E});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(E=>{this.returnData=E});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(E=>{this.returnData=E});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(E=>{this.returnData=E});break;case"LIST_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.LIST_INPUT_BOX").subscribe(E=>{this.returnData=E});break;case"MAP_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.MAP_INPUT_BOX").subscribe(E=>{this.returnData=E});break;default:return b}return this.returnData}}return w.\u0275fac=function(b){return new(b||w)(e.Y36(c.sK,16))},w.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:w,pure:!0}),w})()},43157:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(5e3),c=h(51062);let g=(()=>{class w{constructor(b){this.translate=b,this.returnData=""}transform(b){switch(b){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(E=>{this.returnData=`done${E}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(E=>{this.returnData=`clear${E}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(E=>{this.returnData=`contact_mail ${E}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(E=>{this.returnData=`gavel${E}`});break;default:this.returnData=b}return this.returnData}}return w.\u0275fac=function(b){return new(b||w)(e.Y36(c.sK,16))},w.\u0275pipe=e.Yjl({name:"applicationState",type:w,pure:!1}),w})()},70844:(qe,me,h)=>{"use strict";h.d(me,{u:()=>g});var e=h(32080),c=h(5e3);let g=(()=>{class w{constructor(b){this.storeService=b,this.USER_CONSENT_RELATED_ATT_NAMESPACE=["urn:perun:user_facility:attribute-def","urn:perun:user:attribute-def","urn:perun:member:attribute-def","urn:perun:member_group:attribute-def","urn:perun:member_resource:attribute-def","urn:perun:ues:attribute-def"]}transform(b,E,v){return!!(this.storeService.get("enforce_consents")&&v&&E)&&this.USER_CONSENT_RELATED_ATT_NAMESPACE.reduce((N,A)=>N||b.startsWith(A),!1)}}return w.\u0275fac=function(b){return new(b||w)(c.Y36(e.d6,16))},w.\u0275pipe=c.Yjl({name:"consentRelatedAttribute",type:w,pure:!0}),w})()},37677:(qe,me,h)=>{"use strict";h.d(me,{A:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.substring(40)}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(qe,me,h)=>{"use strict";h.d(me,{m:()=>nt});var e=h(69808),c=h(36157),g=h(91079),w=h(47423),_=h(77446),b=h(90508),E=h(86856),v=h(48966),I=h(4834),N=h(81125),A=h(67322),q=h(25245),j=h(98833),G=h(86087),Q=h(85899),he=h(20773),F=h(79814),be=h(74107),pe=h(2638),ye=h(32368),T=h(57261),R=h(84847),L=h(32075),X=h(53251),Y=h(29772),se=h(90149),Te=h(9224),Oe=h(27544),Se=h(26688),We=h(92181),ge=h(92081),Le=h(93075),ue=h(73228),Me=h(36769),z=h(32080),P=h(5e3),de=h(50301),Ce=h(51062);const Pe=["collapse"],ce=function(){return{color:"linkTextColor"}};function fe(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",14),P._uU(1,"keyboard_arrow_right"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,ce))}function Ze(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",14),P._uU(1,"keyboard_arrow_down"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,ce))}function ne(ct,Rt){if(1&ct&&(P.TgZ(0,"span",12),P.YNc(1,fe,2,2,"mat-icon",13),P.YNc(2,Ze,2,2,"mat-icon",13),P.qZA()),2&ct){const mt=P.oxw().$implicit,Tt=P.oxw(2);P.xp6(1),P.Q6J("ngIf",!Tt.isActive(Tt.currentUrl,mt.showChildrenRegex)),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const it=function(ct,Rt){return{color:ct,"border-color":Rt}};function Be(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"a",17),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(4).navigate(rt.url)}),P._uU(1),P.ALo(2,"translate"),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(4);P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(9,it,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(2,7,mt.label)," ")}}function ze(ct,Rt){if(1&ct&&(P.TgZ(0,"div",15),P.YNc(1,Be,3,12,"a",16),P.qZA()),2&ct){const mt=P.oxw().$implicit;P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",null==mt?null:mt.children)}}function Ue(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"div"),P.TgZ(1,"a",9),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(2).navigate(rt.url)}),P._uU(2),P.ALo(3,"translate"),P.YNc(4,ne,3,2,"span",10),P.qZA(),P.YNc(5,ze,2,2,"div",11),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(2);P.xp6(1),P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(11,it,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(3,9,mt.label)," "),P.xp6(2),P.Q6J("ngIf",mt.children),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}function _e(ct,Rt){if(1&ct&&(P.TgZ(0,"div"),P.YNc(1,Ue,6,14,"div",8),P.qZA()),2&ct){const mt=P.oxw();P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",mt.item.links)}}const ae=function(ct,Rt){return{background:ct,"border-top":Rt}},Ae=function(ct){return{color:ct}},ee=function(){return{color:"currentColor"}},Ne=function(ct){return{background:ct}};let V=(()=>{class ct{constructor(mt,Tt){this.router=mt,this.store=Tt,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=mt.url,mt.events.subscribe(ot=>{ot instanceof c.m2&&(this.currentUrl=ot.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(mt,Tt){return new RegExp(Tt).test(mt)}navigate(mt){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(mt)):this.router.navigate(mt)}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.Y36(c.F0),P.Y36(z.d6))},ct.\u0275cmp=P.Xpm({type:ct,selectors:[["app-side-menu-item"]],viewQuery:function(mt,Tt){if(1&mt&&P.Gf(Pe,5),2&mt){let ot;P.iGM(ot=P.CRH())&&(Tt.collapseDiv=ot.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(mt,Tt){1&mt&&(P.TgZ(0,"div",0),P.TgZ(1,"div",1),P.NdJ("click",function(){return Tt.toggle()}),P.TgZ(2,"div",2),P.TgZ(3,"a",3),P.TgZ(4,"div"),P._UZ(5,"mat-icon",4),P.qZA(),P.TgZ(6,"div",5),P._uU(7),P.ALo(8,"translate"),P.qZA(),P.qZA(),P.qZA(),P.qZA(),P.TgZ(9,"div"),P.TgZ(10,"div",6),P.YNc(11,_e,2,2,"div",7),P.qZA(),P.qZA(),P.qZA()),2&mt&&(P.xp6(1),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.WLB(18,ae,Tt.item.backgroundColorCss,Tt.index?Tt.dividerStyle:"none")),P.xp6(1),P.Gre("entity-menu-item-link ",Tt.item.labelClass,""),P.Q6J("perunWebAppsMiddleClickRouterLink",Tt.item.baseLink),P.xp6(1),P.Q6J("ngStyle",P.VKq(21,Ae,Tt.item.textColorCss)),P.xp6(2),P.Q6J("ngStyle",P.DdM(23,ee))("svgIcon",Tt.item.icon),P.xp6(2),P.Oqu(P.lcZ(8,16,Tt.item.label)),P.xp6(2),P.Q6J("@openClose",Tt.expanded?"open":"closed"),P.xp6(1),P.Gre("side-entity-menu ",Tt.item.linksClass,""),P.Q6J("ngStyle",P.VKq(24,Ne,Tt.linkBgColor)),P.xp6(1),P.Q6J("ngIf",Tt.showLinks))},directives:[b.wG,e.PC,de.YH,q.Hw,e.O5,e.sg,e.mk],pipes:[Ce.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:[Me.BQ,Me.Ly]}}),ct})(),H=(()=>{class ct{transform(mt){if(void 0===mt.value)return"";switch(mt.type){case"java.lang.String":return mt.value;case"java.lang.Integer":case"java.lang.Boolean":default:return String(mt.value);case"java.util.ArrayList":return this.whenValueIsArray(mt.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(mt.value)}}whenValueIsArray(mt){let Tt="";return mt.forEach(function(ot){Tt=Tt.concat(ot+", ")}),Tt}whenValueIsMap(mt){let Tt="";return mt.forEach((ot,rt)=>{Tt=Tt.concat(rt+": "+ot+", ")}),Tt}}return ct.\u0275fac=function(mt){return new(mt||ct)},ct.\u0275pipe=P.Yjl({name:"anyToString",type:ct,pure:!0}),ct})();const D=["collapse"],O=function(){return{color:"linkTextColor"}};function i(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",12),P._uU(1,"keyboard_arrow_right"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,O))}function o(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",12),P._uU(1,"keyboard_arrow_down"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,O))}function u(ct,Rt){if(1&ct&&(P.TgZ(0,"span",10),P.YNc(1,i,2,2,"mat-icon",11),P.YNc(2,o,2,2,"mat-icon",11),P.qZA()),2&ct){const mt=P.oxw().$implicit,Tt=P.oxw();P.xp6(1),P.Q6J("ngIf",!Tt.isActive(Tt.currentUrl,mt.showChildrenRegex)),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const l=function(ct,Rt){return{color:ct,"border-color":Rt}};function s(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"a",14),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(3).navigate(rt.url)}),P._uU(1),P.ALo(2,"translate"),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(3);P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.WLB(9,l,Tt.linkTextColor,Tt.linkTextColor))("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("perunWebAppsMiddleClickRouterLink",mt.url),P.xp6(1),P.hij(" ",P.lcZ(2,7,mt.label)," ")}}function n(ct,Rt){if(1&ct&&(P.TgZ(0,"div"),P.YNc(1,s,3,12,"a",13),P.qZA()),2&ct){const mt=P.oxw().$implicit;P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",null==mt?null:mt.children)}}function t(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"div"),P.TgZ(1,"a",7),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw().navigate(rt.url)}),P._uU(2),P.ALo(3,"translate"),P.YNc(4,u,3,2,"span",8),P.qZA(),P.YNc(5,n,2,2,"div",9),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw();P.xp6(1),P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(11,l,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(3,9,mt.label)," "),P.xp6(2),P.Q6J("ngIf",mt.children),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const r=function(ct){return{background:ct}},a=function(ct){return{color:ct}},d=function(){return{color:"currentColor"}};let f=(()=>{class ct{constructor(mt,Tt){this.router=mt,this.store=Tt,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=mt.url,mt.events.subscribe(ot=>{ot instanceof c.m2&&(this.currentUrl=ot.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(mt,Tt){return new RegExp(Tt).test(mt)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(mt){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(mt)):this.router.navigate(mt)}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.Y36(c.F0),P.Y36(z.d6))},ct.\u0275cmp=P.Xpm({type:ct,selectors:[["app-side-menu-root-item"]],viewQuery:function(mt,Tt){if(1&mt&&P.Gf(D,5),2&mt){let ot;P.iGM(ot=P.CRH())&&(Tt.collapseDiv=ot.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[P.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","ngClass","ngStyle","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"],["class","pl-5 clickable","matRipple","",3,"activated","matRippleColor","ngStyle","ngClass","perunWebAppsMiddleClickRouterLink","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"matRippleColor","ngStyle","ngClass","perunWebAppsMiddleClickRouterLink","click"]],template:function(mt,Tt){1&mt&&(P.TgZ(0,"div",0),P.TgZ(1,"div",1),P.NdJ("click",function(){return Tt.toggle()}),P.TgZ(2,"div"),P.TgZ(3,"a",2),P.TgZ(4,"div"),P._UZ(5,"mat-icon",3),P.qZA(),P.TgZ(6,"div",4),P._uU(7),P.ALo(8,"translate"),P.qZA(),P.qZA(),P.qZA(),P.qZA(),P.TgZ(9,"div"),P.TgZ(10,"div",5),P.YNc(11,t,6,14,"div",6),P.qZA(),P.qZA(),P.qZA()),2&mt&&(P.s9C("id",Tt.id),P.xp6(1),P.ekj("root-header-activated",Tt.isActive(Tt.currentUrl,Tt.item.baseColorClassRegex)),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.VKq(21,r,Tt.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",Tt.item.baseLink),P.xp6(1),P.Gre("entity-menu-item-link ",Tt.item.labelClass,""),P.xp6(1),P.Q6J("ngStyle",P.VKq(23,a,Tt.item.textColorCss)),P.xp6(2),P.Q6J("ngStyle",P.DdM(25,d))("svgIcon",Tt.item.icon),P.xp6(2),P.Oqu(P.lcZ(8,19,Tt.item.label)),P.xp6(2),P.Q6J("@openClose",Tt.expanded?"open":"closed"),P.xp6(1),P.Gre("side-entity-menu ",Tt.item.linksClass,""),P.Q6J("ngStyle",P.VKq(26,r,Tt.linkBgColor)),P.xp6(1),P.Q6J("ngForOf",Tt.item.links))},directives:[b.wG,e.PC,de.YH,q.Hw,e.sg,e.mk,e.O5],pipes:[Ce.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:[Me.BQ,Me.Ly]}}),ct})();var x=h(44409),Ye=h(29071),It=h(63189),jt=h(37677),bt=h(33604),Yt=h(11243),Ct=h(19516),Nt=h(43586),He=h(14623),je=h(9244),Z=h(28499),$=h(70844),oe=h(16074);let nt=(()=>{class ct{constructor(mt){this.translate=mt,mt.addLangs(["en","cs"])}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.LFG(Ce.sK))},ct.\u0275mod=P.oAB({type:ct}),ct.\u0275inj=P.cJS({providers:[H,jt.A,$.u],imports:[[e.ez,c.Bz,g.Bb,j.c,A.lN,Le.UX,Le.u5,q.Ps,pe.SJ,N.To,Ce.aw.forChild({}),w.ot,R.JX,L.p0,X.Nh,se.dp,w.ot,_.p9,v.Is,be.LD,T.ZX,he.Cq,Q.Cv,Y.AV,ye.rP,E.FA,b.XK,F.Fk,I.t,b.si,G.TU,Te.QW,ge.T5,x._t,Te.QW,Se.Hi,We.Tx,Ye.Cl,It.r,Oe.g,bt.ez,Yt.r,Ct.d4,Nt.Co,He.ie,je.Je,Z.E3,oe.jD],Nt.Co,g.Bb,j.c,c.Bz,Le.UX,Le.u5,q.Ps,pe.SJ,Ce.aw,R.JX,L.p0,X.Nh,se.dp,w.ot,_.p9,v.Is,be.LD,T.ZX,he.Cq,Q.Cv,Y.AV,ye.rP,E.FA,b.XK,F.Fk,I.t,Te.QW,ge.T5,b.si,G.TU,x._t,Se.Hi,Se.Hi,N.To,We.Tx,Ye.Cl,Ye.Cl,Ye.Cl,Yt.r]}),ct})();P.B6R(ue.V,[f,e.sg,V,e.O5],[])},69024:(qe,me,h)=>{"use strict";h.d(me,{V:()=>v});var e=h(32080),c=h(32105),g=h(9244),w=h(19516),_=h(64080),b=h(5e3),E=h(51062);let v=(()=>{class I{constructor(A,q,j,G,Q,he,F,be){this.translate=A,this.authResolver=q,this.store=j,this.apiRequest=G,this.attributesManager=Q,this.notificator=he,this.guiAuthResolver=F,this.routePolicyService=be,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$"},{label:"MENU_ITEMS.ADMIN.CONSENT_HUBS",url:["/admin/consent_hubs"],activatedRegex:"^/admin/consent_hubs$"},{label:"MENU_ITEMS.ADMIN.SEARCHER",url:["/admin/searcher"],activatedRegex:"^/admin/searcher"}]}}parseFacility(A){return{label:A.name,baseLink:[`/facilities/${A.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(A),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(A,q){const j=(new w.r5).transform(A,q);return{label:A.name,baseLink:[j],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(j,q?"/organizations":"/facilities",A),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseGroup(A){return{label:A.name,baseLink:[`/organizations/${A.voId}/groups/${A.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(A),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(A,q=!1,j=!1){return{label:A.name,baseLink:[`/organizations/${A.id}`],links:this.getVoLinks(A,j),colorClass:"vo-item",icon:q?"perun-hierarchical-vo":"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(A){return{label:(0,g.bD)(A.user),baseLink:[`/organizations/${A.voId}/members/${A.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(A),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(A,q,j){return{label:(0,g.bD)(A),baseLink:[q],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(A,q,j),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(A){return{label:(0,g.bD)(A),baseLink:[`/myProfile/service-identities/${A.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${A.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${A.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"},{label:"MENU_ITEMS.USER.AUTHENTICATION",url:[`/myProfile/service-identities/${A.id}/authentication`],activatedRegex:"/myProfile/service-identities/\\d+/authentication"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(A){return{label:A.name,baseLink:[`/admin/services/${A.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${A.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${A.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${A.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(A,q){const j=[];if(j.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${A.id}`],activatedRegex:"/organizations/\\d+$"}),this.routePolicyService.canNavigate("organizations-members",A)&&j.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${A.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.routePolicyService.canNavigate("organizations-groups",A)&&j.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${A.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.routePolicyService.canNavigate("organizations-resources",A)){const G=[];this.routePolicyService.canNavigate("organizations-resources-preview",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${A.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}),this.routePolicyService.canNavigate("organizations-resources-tags",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${A.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.routePolicyService.canNavigate("organizations-resources-states",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${A.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),j.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${A.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:G,showChildrenRegex:"/organizations/\\d+/resources"})}if(this.routePolicyService.canNavigate("organizations-applications",A)&&j.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${A.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.routePolicyService.canNavigate("organizations-sponsoredMembers",A)&&j.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${A.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.routePolicyService.canNavigate("organizations-serviceAccounts",A)&&j.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${A.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),this.routePolicyService.canNavigate("organizations-attributes",A)&&j.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.routePolicyService.canNavigate("organizations-statistics",A)&&j.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${A.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"}),this.routePolicyService.canNavigate("organizations-settings",A)){const G=[];this.routePolicyService.canNavigate("organizations-settings-expiration",A)&&G.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${A.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),this.routePolicyService.canNavigate("organizations-settings-managers",A)&&G.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${A.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("organizations-settings-applicationForm",A)&&G.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${A.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),this.routePolicyService.canNavigate("organizations-settings-notifications",A)&&G.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${A.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),this.routePolicyService.canNavigate("organizations-settings-extsources",A)&&G.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${A.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),this.routePolicyService.canNavigate("organizations-settings-memberOrganizations",A)&&G.push({label:"MENU_ITEMS.VO.MEMBER_ORGANIZATIONS",url:[`/organizations/${A.id}/settings/memberOrganizations`],activatedRegex:"/organizations/\\d+/settings/memberOrganizations"}),this.routePolicyService.canNavigate("organizations-settings-hierarchicalInclusion",A)&&q&&G.push({label:"MENU_ITEMS.VO.HIERARCHICAL_INCLUSION",url:[`/organizations/${A.id}/settings/hierarchicalInclusion`],activatedRegex:"/organizations/\\d+/settings/hierarchicalInclusion"}),j.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${A.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:G,showChildrenRegex:"/organizations/\\d+/settings"})}return j}getUserLinks(A,q,j){const G=[];return G.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[q],activatedRegex:`${j}$`}),G.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${q}/organizations`],activatedRegex:`${j}/organizations`}),G.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${q}/groups`],activatedRegex:`${j}/groups`}),G.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${q}/accounts`],activatedRegex:`${j}/accounts`}),G.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${q}/identities`],activatedRegex:`${j}/identities`}),G.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${q}/facilities`],activatedRegex:`${j}/facilities`}),G.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${q}/resources`],activatedRegex:`${j}/resources`}),G.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${q}/attributes`],activatedRegex:`${j}/attributes`}),G.push({label:"MENU_ITEMS.USER.ROLES",url:[`${q}/roles`],activatedRegex:`^${q}/roles`}),G.push(A.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${q}/associated-users`],activatedRegex:`^${q}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${q}/service-identities`],activatedRegex:`^${q}/service-identities`}),G}getMemberLinks(A){const q=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${A.voId}/members/${A.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.routePolicyService.canNavigate("members-groups",A)&&q.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`/organizations/${A.voId}/members/${A.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.routePolicyService.canNavigate("members-applications",A)&&q.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`/organizations/${A.voId}/members/${A.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.routePolicyService.canNavigate("members-resources",A)&&q.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${A.voId}/members/${A.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),this.routePolicyService.canNavigate("members-attributes",A)&&q.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${A.voId}/members/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),q}getFacilityLinks(A){const q=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${A.id}`],activatedRegex:"/facilities/\\d+$"}];if(this.routePolicyService.canNavigate("facilities-resources",A)&&q.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${A.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.routePolicyService.canNavigate("facilities-allowed-users",A)&&q.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${A.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.routePolicyService.canNavigate("facilities-allowed-groups",A)&&q.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${A.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.routePolicyService.canNavigate("facilities-services-status",A)&&q.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${A.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.routePolicyService.canNavigate("facilities-services-destinations",A)&&q.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${A.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.routePolicyService.canNavigate("facilities-hosts",A)&&q.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${A.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),this.routePolicyService.canNavigate("facilities-attributes",A)&&q.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",A.id.toString(),"attributes"],activatedRegex:"/facilities/\\d+/attributes$"}),this.routePolicyService.canNavigate("facilities-settings",A)){const j=[];this.routePolicyService.canNavigate("facilities-settings-owners",A)&&j.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",A.id.toString(),"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),this.routePolicyService.canNavigate("facilities-settings-managers",A)&&j.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",A.id.toString(),"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("facilities-settings-security-teams",A)&&j.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${A.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),this.routePolicyService.canNavigate("facilities-settings-blacklist",A)&&j.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",A.id.toString(),"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),q.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",A.id.toString(),"settings"],activatedRegex:"/facilities/\\d+/settings$",children:j,showChildrenRegex:"/facilities/\\d+/settings"})}return q}getGroupLinks(A){const q=[],j=[];return q.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${A.voId}/groups/${A.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.routePolicyService.canNavigate("groups-members",A)&&q.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${A.voId}/groups/${A.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.routePolicyService.canNavigate("groups-subgroups",A)&&"members"!==A.name&&q.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${A.voId}/groups/${A.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.routePolicyService.canNavigate("groups-resources",A)&&q.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${A.voId}/groups/${A.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.routePolicyService.canNavigate("groups-applications",A)&&q.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),this.routePolicyService.canNavigate("groups-attributes",A)&&q.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${A.voId}/groups/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"}),this.routePolicyService.canNavigate("groups-statistics",A)&&q.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${A.voId}/groups/${A.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.routePolicyService.canNavigate("groups-roles",A)&&q.push({label:"MENU_ITEMS.GROUP.ROLES",url:[`/organizations/${A.voId}/groups/${A.id}/roles`],activatedRegex:"/organizations/\\d+/groups/\\d+/roles"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(A.id,_.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{j.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${A.voId}/groups/${A.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},G=>{"HttpErrorResponse"!==G.name&&this.notificator.showRPCError(G)}),this.routePolicyService.canNavigate("groups-settings-managers",A)&&j.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("groups-settings-applicationForm",A)&&j.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${A.voId}/groups/${A.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.routePolicyService.canNavigate("groups-settings-notifications",A)&&j.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.routePolicyService.canNavigate("groups-settings-relations",A)&&j.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.routePolicyService.canNavigate("groups-settings-extsources",A)&&j.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${A.voId}/groups/${A.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==j.length&&q.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${A.voId}/groups/${A.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:j,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),q}getResourceLinks(A,q,j){const G=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[A],activatedRegex:`${q}/\\d+/resources/\\d+$`}];return this.routePolicyService.canNavigate("resources-groups",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[A,"groups"],activatedRegex:`${q}/\\d+/resources/\\d+/groups$`}),this.routePolicyService.canNavigate("resources-services",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[A,"services"],activatedRegex:`${q}/\\d+/resources/\\d+/services$`}),this.routePolicyService.canNavigate("resources-members",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[A,"members"],activatedRegex:`${q}/\\d+/resources/\\d+/members$`}),this.routePolicyService.canNavigate("resources-tags",j)&&G.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[A,"tags"],activatedRegex:`${q}/\\d+/resources/\\d+/tags$`}),this.routePolicyService.canNavigate("resources-attributes",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[A,"attributes"],activatedRegex:`${q}/\\d+/resources/\\d+/attributes$`}),this.routePolicyService.canNavigate("resources-settings",j)&&G.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[A,"settings"],activatedRegex:`${q}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[A,"settings","managers"],activatedRegex:`${q}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${q}/\\d+/resources/\\d+/settings`}),G}}return I.\u0275fac=function(A){return new(A||I)(b.LFG(E.sK),b.LFG(e.x4),b.LFG(e.d6),b.LFG(e.F5),b.LFG(c.H8),b.LFG(e.V6),b.LFG(e.x4),b.LFG(e.Ip))},I.\u0275prov=b.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})()},73228:(qe,me,h)=>{"use strict";h.d(me,{V:()=>he});var e=h(72077),c=h(69024),g=h(32080),w=h(36769),_=h(5e3),b=h(77968);function E(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",10),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("sideNav",T.sideNav)}}function v(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.accessItems.length-1)("sideNav",T.sideNav)}}function I(F,be){if(1&F&&_._UZ(0,"app-side-menu-root-item",2),2&F){const pe=_.oxw();_.Q6J("id","facilities-item-btn")("item",pe.facilityItem)("sideNav",pe.sideNav)}}function N(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw(2);_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.facilityItems.length-1)("sideNav",T.sideNav)}}function A(F,be){if(1&F&&(_.TgZ(0,"div"),_.YNc(1,N,2,5,"div",3),_.qZA()),2&F){const pe=_.oxw();_.xp6(1),_.Q6J("ngForOf",pe.facilityItems)}}function q(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.userItems.length-1)("sideNav",T.sideNav)}}function j(F,be){if(1&F&&_._UZ(0,"app-side-menu-root-item",7),2&F){const pe=_.oxw();_.Q6J("id","admin-item-btn")("item",pe.adminItem)("showOpen",pe.adminItemOpened)("sideNav",pe.sideNav)}}function G(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw(2);_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",!0)("sideNav",T.sideNav)}}function Q(F,be){if(1&F&&(_.TgZ(0,"div"),_.YNc(1,G,2,5,"div",3),_.qZA()),2&F){const pe=_.oxw();_.xp6(1),_.Q6J("ngForOf",pe.adminItems)}}let he=(()=>{class F{constructor(pe,ye,T){this.sideMenuService=pe,this.sideMenuItemService=ye,this.authResolver=T,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}static areSameItems(pe,ye){return pe.label===ye.label&&pe.labelClass===ye.labelClass}static areSameLinks(pe,ye){if(pe.links.length!==ye.links.length)return!1;for(let T=0;Tye.length?pe.length:ye.length;for(let R=0;Rpe.length-1)pe.push(ye[R]);else{if(R>ye.length-1){const L=pe.length;for(let X=0;X{this.setFacilityItems(pe)}),this.sideMenuService.accessItemsChange.subscribe(pe=>{this.setAccessItems(pe)}),this.sideMenuService.adminItemsChange.subscribe(pe=>{this.setAdminItems(pe)}),this.sideMenuService.userItemsChange.subscribe(pe=>{this.setUserItems(pe)}),this.sideMenuService.homeItemsChange.subscribe(pe=>{this.setHomeItems(pe)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.adminItems,[])}setHomeItems(pe){this.resetExceptHome(),F.setNewItems(this.homeItems,pe)}setFacilityItems(pe){this.resetExceptFacility(),F.setNewItems(this.facilityItems,pe)}setAccessItems(pe){this.resetExceptAccess(),F.setNewItems(this.accessItems,pe)}setUserItems(pe){this.userItemOpened=0===pe.length,this.resetExceptUser(),F.setNewItems(this.userItems,pe)}setAdminItems(pe){this.adminItemOpened=0===pe.length,this.resetExceptAdmin(),F.setNewItems(this.adminItems,pe)}}return F.\u0275fac=function(pe){return new(pe||F)(_.Y36(b.D),_.Y36(c.V),_.Y36(g.x4))},F.\u0275cmp=_.Xpm({type:F,selectors:[["app-side-menu"]],inputs:{sideNav:"sideNav"},decls:13,vars:17,consts:[["id","sideMenuSpacer"],["id","sideMenuAccordion",1,"accordion","entity-menu-accordion"],[3,"id","item","sideNav"],["class","overflow-hidden",4,"ngFor","ngForOf"],["data-cy","access-item-button",3,"item","id","sideNav"],[3,"id","item","sideNav",4,"ngIf"],[4,"ngIf"],[3,"id","item","showOpen","sideNav"],[3,"id","item","showOpen","sideNav",4,"ngIf"],[1,"overflow-hidden"],[3,"index","item","sideNav"],[3,"index","item","showLinks","sideNav"]],template:function(pe,ye){1&pe&&(_.TgZ(0,"div",0),_.TgZ(1,"div",1),_._UZ(2,"app-side-menu-root-item",2),_.YNc(3,E,2,4,"div",3),_._UZ(4,"app-side-menu-root-item",4),_.TgZ(5,"div"),_.YNc(6,v,2,5,"div",3),_.qZA(),_.YNc(7,I,1,3,"app-side-menu-root-item",5),_.YNc(8,A,2,1,"div",6),_._UZ(9,"app-side-menu-root-item",7),_.YNc(10,q,2,5,"div",3),_.YNc(11,j,1,4,"app-side-menu-root-item",8),_.YNc(12,Q,2,1,"div",6),_.qZA(),_.qZA()),2&pe&&(_.xp6(2),_.Q6J("id","home-item-btn")("item",ye.homeItem)("sideNav",ye.sideNav),_.xp6(1),_.Q6J("ngForOf",ye.homeItems),_.xp6(1),_.Q6J("item",ye.accessItem)("id","access-item-btn")("sideNav",ye.sideNav),_.xp6(2),_.Q6J("ngForOf",ye.accessItems),_.xp6(1),_.Q6J("ngIf",ye.authResolver.canManageFacilities()),_.xp6(1),_.Q6J("ngIf",ye.authResolver.canManageFacilities()),_.xp6(1),_.Q6J("id","profile-item-btn")("item",ye.userItem)("showOpen",ye.userItemOpened)("sideNav",ye.sideNav),_.xp6(1),_.Q6J("ngForOf",ye.userItems),_.xp6(1),_.Q6J("ngIf",ye.authResolver.isPerunAdminOrObserver()),_.xp6(1),_.Q6J("ngIf",ye.authResolver.isPerunAdminOrObserver()))},styles:[".entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.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-accordion[_ngcontent-%COMP%]{background-color:#f4f4f4}#sideMenuAccordion[_ngcontent-%COMP%]{width:300px}#sideMenuSpacer[_ngcontent-%COMP%]{height:100%}"],data:{animation:[w.Ly]}}),F})()},86511:(qe,me,h)=>{"use strict";h.d(me,{A:()=>w});var e=h(32080),c=h(5e3),g=h(51062);let w=(()=>{class _{constructor(E,v){this.notificator=E,this.translate=v}setDialogRef(E){this.dialogRef=E}setType(E){this.entityType=E}getType(){return this.entityType}createCandidate(E){return{userExtSource:E.userExtSource,additionalUserExtSources:E.additionalUserExtSources,attributes:E.attributes,firstName:E.firstName,lastName:E.lastName,middleName:E.middleName,titleBefore:E.titleBefore,titleAfter:E.titleAfter,id:E.id}}getFormattedGroup(E){return{id:E.id,beanName:E.beanName,name:E.name,voId:E.voId}}success(E){this.notificator.showSuccess(this.translate.instant(E)),this.dialogRef.close(!0)}getCandidateWithError(E,v){const I=v.error,N=I.message.split(":").splice(1).join();return{candidate:E,errorName:I.name,errorMsg:N}}}return _.\u0275fac=function(E){return new(E||_)(c.LFG(e.V6),c.LFG(g.sK))},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},157:(qe,me,h)=>{"use strict";h.d(me,{b:()=>Nt});var e=h(5e3),c=h(44409),g=h(48966),w=h(47423),_=h(51062);let b=(()=>{class He{constructor(Z){this.dialogRef=Z}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(g.so))},He.\u0275cmp=e.Xpm({type:He,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"],["color","warn","data-cy","delete-application-form-item-dialog","mat-flat-button","",1,"ml-2",3,"click"]],template:function(Z,$){1&Z&&(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 $.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return $.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&Z&&(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,w.lW],pipes:[_.X$],styles:[""]}),He})();var E=h(32080),v=h(83491),I=h(9244),N=h(36157),A=h(69808),q=h(20773),j=h(32075),G=h(25245),Q=h(29772),he=h(93075),F=h(21963),be=h(28820),pe=h(98380),ye=h(57706),T=h(64597);const R=["table"];function L(He,je){1&He&&e._UZ(0,"mat-spinner",3)}function X(He,je){1&He&&e._UZ(0,"th",24)}function Y(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(Z),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function se(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function Te(He,je){if(1&He&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.AsE(" ",Z.shortname,"",Z.required?"*":""," ")}}function Oe(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function Se(He,je){if(1&He&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,Z.type)," ")}}function We(He,je){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,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function ge(He,je){if(1&He&&(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&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",$.disabledTooltip(Z)),e.xp6(3),e.hij(" ",$.disabledHiddenDependency(Z,Z.disabled,Z.disabledDependencyItemId)," ")}}function Le(He,je){if(1&He&&(e.TgZ(0,"td",28),e.YNc(1,ge,5,2,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Z.disabled)}}function ue(He,je){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,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function Me(He,je){if(1&He&&(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&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",$.hiddenTooltip(Z)),e.xp6(3),e.hij(" ",$.disabledHiddenDependency(Z,Z.hidden,Z.hiddenDependencyItemId)," ")}}function z(He,je){if(1&He&&(e.TgZ(0,"td",28),e.YNc(1,Me,5,2,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Z.hidden)}}function P(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function de(He,je){1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function Ce(He,je){1&He&&(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 Pe(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&He){const Z=je.$implicit;e.xp6(2),e.hij(" ",Z,"")}}function ce(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Pe,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function fe(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",$.getLocalizedLabel(Z),e.oJD)}}function Ze(He,je){if(1&He&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",Z," ")}}function ne(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,Ze,2,1,"option",33),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z))}}function it(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function Be(He,je){if(1&He&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",Z," ")}}function ze(He,je){1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function Ue(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(oe){e.CHM(Z);const nt=e.oxw().$implicit;return e.oxw(2).mapForCombobox[nt.id]=oe}),e.YNc(2,Be,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,ze,3,0,"div",29),e.qZA()}if(2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("ngModel",$.mapForCombobox[Z.id]),e.xp6(1),e.Q6J("ngForOf",$.getLocalizedOptions(Z)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===$.mapForCombobox[Z.id])}}function _e(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&He){const Z=je.$implicit;e.xp6(2),e.hij(" ",Z," ")}}function ae(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,_e,3,1,"div",33),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z))}}function Ae(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.hij(" ",$.getLocalizedLabel(Z)," ")}}function ee(He,je){1&He&&(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&He&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function Ne(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.hij(" ",$.getLocalizedLabel(Z)," ")}}function V(He,je){1&He&&(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())}const H=function(){return["Example 1","Example 2"]},D=function(He){return{id:0,beanName:"Attribute",namespace:"",value:He}};function O(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"perun-web-apps-attribute-value-list",85),e.qZA()),2&He&&(e.xp6(1),e.Q6J("attribute",e.VKq(2,D,e.DdM(1,H))))}const i=function(){return{key1:"value 1",key2:"value 2"}};function o(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"perun-web-apps-attribute-value-map",85),e.qZA()),2&He&&(e.xp6(1),e.Q6J("attribute",e.VKq(2,D,e.DdM(1,i))))}function u(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,de,3,0,"div",29),e.YNc(2,Ce,5,0,"div",29),e.YNc(3,ce,5,4,"div",29),e.YNc(4,fe,2,1,"div",29),e.YNc(5,ne,3,1,"div",29),e.YNc(6,it,2,0,"div",29),e.YNc(7,Ue,7,6,"div",29),e.YNc(8,ae,3,1,"div",29),e.YNc(9,Ae,3,1,"div",29),e.YNc(10,ee,85,3,"div",29),e.YNc(11,Ne,3,1,"div",29),e.YNc(12,V,10,0,"div",29),e.YNc(13,O,2,4,"div",29),e.YNc(14,o,2,4,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===Z.type||"VALIDATED_EMAIL"===Z.type||"USERNAME"===Z.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===Z.type),e.xp6(1),e.Q6J("ngIf","RADIO"===Z.type),e.xp6(1),e.Q6J("ngIf","HEADING"===Z.type||"HTML_COMMENT"===Z.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===Z.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===Z.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===Z.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===Z.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Z.type),e.xp6(1),e.Q6J("ngIf","LIST_INPUT_BOX"===Z.type),e.xp6(1),e.Q6J("ngIf","MAP_INPUT_BOX"===Z.type)}}function l(He,je){1&He&&e._UZ(0,"th",24)}function s(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",87),e.NdJ("click",function(){return e.CHM(Z),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function n(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,s,4,3,"button",86),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Z.type&&!Z.forDelete)}}function t(He,je){1&He&&e._UZ(0,"th",24)}function r(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",90),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).edit(oe)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function a(He,je){1&He&&(e.TgZ(0,"div",91),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function d(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,r,4,3,"button",88),e.YNc(2,a,3,3,"div",89),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf",!Z.forDelete),e.xp6(1),e.Q6J("ngIf",Z.forDelete)}}function f(He,je){1&He&&e._UZ(0,"th",24)}function x(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",93),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).delete(oe)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&He){const Z=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,Z.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function Ye(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",87),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).restore(oe)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function It(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,x,5,6,"button",92),e.YNc(2,Ye,4,3,"button",86),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf",!Z.forDelete),e.xp6(1),e.Q6J("ngIf",Z.forDelete)}}function jt(He,je){1&He&&e._UZ(0,"tr",94)}function bt(He,je){if(1&He&&e._UZ(0,"tr",95),2&He){const Z=je.$implicit,$=e.oxw(2);e.ekj("make-green",Z.id<=0)("make-red",Z.forDelete)("make-yellow",-1!==$.itemsChanged.indexOf(Z.id)&&!Z.forDelete&&Z.id>0),e.Q6J("cdkDragData",Z)}}function Yt(He,je){if(1&He){const Z=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(oe){return e.CHM(Z),e.oxw().drop(oe)}),e.ynx(5,9),e.YNc(6,X,1,0,"th",10),e.YNc(7,Y,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,se,3,3,"th",10),e.YNc(10,Te,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,Oe,3,3,"th",10),e.YNc(13,Se,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,We,3,3,"th",15),e.YNc(16,Le,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,ue,3,3,"th",15),e.YNc(19,z,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,P,3,3,"th",10),e.YNc(22,u,15,14,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,l,1,0,"th",10),e.YNc(25,n,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,t,1,0,"th",10),e.YNc(28,d,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,f,1,0,"th",10),e.YNc(31,It,3,2,"td",11),e.BQk(),e.YNc(32,jt,1,0,"tr",22),e.YNc(33,bt,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&He){const Z=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",Z.dragDisabled)("dataSource",Z.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",Z.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",Z.displayedColumns)}}function Ct(He,je){1&He&&(e.TgZ(0,"perun-web-apps-alert",96),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Nt=(()=>{class He{constructor(Z,$,oe,nt){this.dialog=Z,this.notificator=$,this.router=oe,this.translate=nt,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(Z,$,oe){let nt="";if("IF_EMPTY"===$||"IF_PREFILLED"===$){const ct=null===oe?"":this.applicationFormItems.find(Rt=>Rt.id===oe).shortname;nt="IF_EMPTY"===$?`(${this.ifEmpty} ${ct})`:`(${this.ifPrefilled} ${ct})`}return nt}disabledTooltip(Z){let $;switch(Z.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return $=null===Z.disabledDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${$} ${this.isEmpty}`;case"IF_PREFILLED":return $=null===Z.disabledDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${$} ${this.isPrefilled}`}}hiddenTooltip(Z){let $;switch(Z.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return $=null===Z.hiddenDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${$} ${this.isEmpty}`;case"IF_PREFILLED":return $=null===Z.hiddenDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${$} ${this.isPrefilled}`}}edit(Z){const $=(0,I.kZ)();$.width="600px",$.height="600px",$.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:Z,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(v._,$).afterClosed().subscribe(nt=>{nt&&(this.itemsChanged.push(Z.id),this.applicationFormItemsChange.emit())})}delete(Z){const $=(0,I.kZ)();$.width="500px",this.dialog.open(b,$).afterClosed().subscribe(nt=>{nt&&(Z.forDelete=!0,0===Z.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(Z),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(Z){this.dragDisabled=!0;const $=this.applicationFormItems.indexOf(Z.item.data);(0,c.bA)(this.applicationFormItems,$,Z.currentIndex),this.itemsChanged.push(this.applicationFormItems[Z.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(Z){if(Z.i18n[this.translate.getDefaultLang()]){const $=Z.i18n[this.translate.getDefaultLang()].options;if(null!==$&&""!==$){const oe=[];for(const nt of $.split("|"))oe.push(nt.split("#")[1]);return oe}}return[]}getLocalizedLabel(Z){return Z.i18n[this.translate.getDefaultLang()]?Z.i18n[this.translate.getDefaultLang()].label:Z.shortname}restore(Z){Z.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(g.uw),e.Y36(E.V6),e.Y36(N.F0),e.Y36(_.sK))},He.\u0275cmp=e.Xpm({type:He,selectors:[["app-application-form-list"]],viewQuery:function(Z,$){if(1&Z&&e.Gf(R,5),2&Z){let oe;e.iGM(oe=e.CRH())&&($.table=oe.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"],[3,"attribute"],["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(Z,$){1&Z&&(e.YNc(0,L,1,0,"mat-spinner",0),e.YNc(1,Yt,34,4,"div",1),e.YNc(2,Ct,3,3,"perun-web-apps-alert",2)),2&Z&&(e.Q6J("ngIf",$.loading),e.xp6(1),e.Q6J("ngIf",0!==$.applicationFormItems.length&&!$.loading),e.xp6(1),e.Q6J("ngIf",0===$.applicationFormItems.length&&!$.loading))},directives:[A.O5,q.Ou,j.BZ,c.Wj,j.w1,j.fO,j.ge,j.Dz,j.ev,w.lW,G.Hw,Q.gM,he._Y,he.JL,he.F,A.sg,he.YN,he.Kr,he.EJ,he.JJ,he.On,F.H,be.$,j.as,j.XQ,j.nj,j.Gk,c.Zt,pe.w],pipes:[_.X$,ye.c,T.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}"]}),He})()},9146:(qe,me,h)=>{"use strict";h.d(me,{S:()=>r});var e=h(32105),c=h(9244),g=h(84847),w=h(32080),_=h(56451),b=h(18505),E=h(69808),v=h(5e3),I=h(10036),N=h(18750),A=h(20773),q=h(32075),j=h(25245),G=h(29772);function Q(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",1),v._uU(2,"arrow_right_alt"),v.qZA(),v.qZA())}function he(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",2),v._uU(2,"restore"),v.qZA(),v.qZA())}function F(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",3),v._uU(2,"nat"),v.qZA(),v.qZA())}let be=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275cmp=v.Xpm({type:a,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(f,x){1&f&&(v.TgZ(0,"div"),v.YNc(1,Q,3,0,"div",0),v.YNc(2,he,3,0,"div",0),v.YNc(3,F,3,0,"div",0),v.qZA()),2&f&&(v.xp6(1),v.Q6J("ngIf","INITIAL"===x.applicationType),v.xp6(1),v.Q6J("ngIf","EXTENSION"===x.applicationType),v.xp6(1),v.Q6J("ngIf","EMBEDDED"===x.applicationType))},directives:[E.O5,j.Hw,G.gM],styles:[""]}),a})();var pe=h(50301),ye=h(36157),T=h(98380),R=h(51062),L=h(43157),X=h(31359);function Y(a,d){1&a&&(v.TgZ(0,"div",26),v._UZ(1,"mat-spinner",27),v.qZA())}function se(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function Te(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.id)}}function Oe(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Se(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.ALo(2,"date"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,f.createdAt,"d.M.y"))}}function We(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function ge(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.vo.id)}}function Le(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function ue(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.vo.name)}}function Me(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function z(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.group?f.group.id:""," ")}}function P(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function de(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.group?f.group.name:""," ")}}function Ce(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function Pe(a,d){if(1&a&&(v.TgZ(0,"td",29),v._UZ(1,"app-application-type-icon",31),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Q6J("applicationType",f.type)}}function ce(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function fe(a,d){if(1&a&&(v.TgZ(0,"td",29),v._UZ(1,"span",32),v.ALo(2,"applicationState"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Q6J("outerHTML",v.lcZ(2,1,f.state),v.oJD)}}function Ze(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function ne(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.extSourceName)}}function it(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function Be(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.extSourceType)}}function ze(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function Ue(a,d){if(1&a&&(v.TgZ(0,"div"),v._uU(1),v.qZA()),2&a){const f=v.oxw().$implicit;v.xp6(1),v.hij(" ",f.createdBy.slice(f.createdBy.lastIndexOf("=")+1,f.createdBy.length)," ")}}function _e(a,d){if(1&a&&(v._uU(0),v.ALo(1,"userFullName")),2&a){const f=v.oxw().$implicit;v.hij(" ",v.lcZ(1,1,f.user)," ")}}function ae(a,d){if(1&a&&(v.TgZ(0,"td",29),v.YNc(1,Ue,2,1,"div",33),v.YNc(2,_e,2,3,"ng-template",null,34,v.W1O),v.qZA()),2&a){const f=d.$implicit,x=v.MAs(3);v.xp6(1),v.Q6J("ngIf",null===f.user)("ngIfElse",x)}}function Ae(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function ee(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.createdBy.slice(f.createdBy.lastIndexOf("=")+1,f.createdBy.length)," ")}}function Ne(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function V(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit,x=v.oxw();v.xp6(1),v.Oqu(x.getFriendlyName(f.modifiedBy))}}function H(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function D(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.ALo(2,"date"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,f.modifiedAt,"d.M.y"))}}function O(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function i(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.fedInfo)}}function o(a,d){if(1&a&&(v.TgZ(0,"th",30),v._uU(1),v.qZA()),2&a){const f=v.oxw().$implicit;v.xp6(1),v.Oqu(f)}}function u(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit,x=v.oxw().$implicit,Ye=v.oxw();v.xp6(1),v.hij(" ",Ye.getValue(f.formData,x)," ")}}function l(a,d){1&a&&(v.ynx(0,35),v.YNc(1,o,2,1,"th",9),v.YNc(2,u,2,1,"td",6),v.BQk()),2&a&&v.s9C("matColumnDef",d.$implicit)}function s(a,d){1&a&&v._UZ(0,"tr",36)}function n(a,d){if(1&a&&v._UZ(0,"tr",37),2&a){const f=d.$implicit,x=v.oxw();v.ekj("cursor-pointer",!x.disableRouting),v.Q6J("perunWebAppsMiddleClickRouterLink",x.selectApplication(f))("routerLink",x.selectApplication(f))}}function t(a,d){1&a&&(v.TgZ(0,"perun-web-apps-alert",38),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.Q6J("alert_type","warn"),v.xp6(1),v.hij(" ",v.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let r=(()=>{class a{constructor(f,x,Ye){this.authResolver=f,this.tableConfigService=x,this.dynamicPaginatingService=Ye,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.parsedColumns=[],this.pageSizeOptions=c.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var f,x,Ye,It;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(jt=>"id"!==jt)),this.dataSource=new w.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!==(x=null===(f=this.member)||void 0===f?void 0:f.userId)&&void 0!==x?x:null,null!==(It=null===(Ye=this.group)||void 0===Ye?void 0:Ye.id)&&void 0!==It?It:null,this.getVoId()),this.dataSource.loading$.subscribe(jt=>{if(jt||!this.displayedColumns.includes("fedInfo"))return;this.displayedColumns=this.displayedColumns.filter(Yt=>!this.parsedColumns.includes(Yt)),this.parsedColumns=[];const bt=this.dataSource.getData()[0];bt&&this.parseColumns(bt.formData)})}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var f,x,Ye,It;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!==(x=null===(f=this.member)||void 0===f?void 0:f.userId)&&void 0!==x?x:null,null!==(It=null===(Ye=this.group)||void 0===Ye?void 0:Ye.id)&&void 0!==It?It:null,this.getVoId(),!0)}exportData(f){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn.bind(this)),f)}selectApplication(f){return this.disableRouting?null:this.group?["/organizations",f.vo.id,"groups",this.group.id,"applications",f.id]:this.member?["/organizations",f.vo.id,"members",this.member.id,"applications",f.id]:["/organizations",f.vo.id,"applications",f.id]}getExportDataForColumn(f,x){var Ye,It,jt,bt;switch(x){case"id":return f.id.toString();case"voId":return f.vo.id.toString();case"voName":return f.vo.name;case"groupId":return null!==(It=null===(Ye=f.group)||void 0===Ye?void 0:Ye.id.toString())&&void 0!==It?It:"";case"groupName":return null!==(bt=null===(jt=f.group)||void 0===jt?void 0:jt.name)&&void 0!==bt?bt:"";case"type":return f.type;case"fedInfo":return f.fedInfo;case"formData":return this.stringify(f.formData);case"state":return f.state;case"extSourceName":return f.extSourceName;case"extSourceType":return f.extSourceType;case"user":return f.user?(0,c.bD)(f.user):"";case"createdBy":return f.createdBy;case"createdAt":return f.createdAt;case"modifiedBy":return f.modifiedBy;case"modifiedAt":return f.modifiedAt;default:return f[x]}}getSortDataColumn(){if(!this.sort)return e.sY.DATE_CREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATE_CREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUP_NAME;case"modifiedBy":return e.sY.MODIFIED_BY}}getFriendlyName(f){const x=f.lastIndexOf("/CN=");if(-1!==x){const Ye=f.slice(x+4,f.length).replace("/unstructuredName="," ");return-1!==Ye.lastIndexOf("\\")?f.slice(f.lastIndexOf("=")+1,f.length):Ye}return f}yearAgo(){const f=new Date;return f.setDate(f.getDate()-365),f}dateToString(f){return(0,E.p6)(f,"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(f){const x=It=>Object.entries(It).reduce((jt,[bt,Yt])=>jt[bt]instanceof Object?jt[bt]=x(jt[bt]):(null==Yt||"null"===Yt||0===Yt.length||(jt[bt]=Yt),jt),{});let Ye=JSON.stringify(x(f));return Ye=Ye.replace("{","["),Ye=Ye.replace("}","]"),Ye}getFormDataString(f){return this.stringify(f.formItem)}parseColumns(f){f.forEach(x=>{this.displayedColumns.includes(x.shortname)||this.displayedColumns.push(x.shortname),this.parsedColumns.includes(x.shortname)||this.parsedColumns.push(x.shortname)})}getValue(f,x){var Ye;const It=f.filter(jt=>jt.shortname===x);return 0===It.length?"":null!==(Ye=It[0].value)&&void 0!==Ye?Ye:It[0].prefilledValue}}return a.\u0275fac=function(f){return new(f||a)(v.Y36(w.x4),v.Y36(I.dB),v.Y36(w.ly))},a.\u0275cmp=v.Xpm({type:a,selectors:[["app-applications-dynamic-list"]],viewQuery:function(f,x){if(1&f&&(v.Gf(c.l9,7),v.Gf(g.YE,5)),2&f){let Ye;v.iGM(Ye=v.CRH())&&(x.child=Ye.first),v.iGM(Ye=v.CRH())&&(x.sort=Ye.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:[v.TTD],decls:55,vars:14,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(f,x){1&f&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(It){return x.exportData(It)}),v.YNc(2,Y,2,0,"div",2),v.ALo(3,"async"),v.TgZ(4,"table",3),v.ynx(5,4),v.YNc(6,se,3,3,"th",5),v.YNc(7,Te,2,1,"td",6),v.BQk(),v.ynx(8,7),v.YNc(9,Oe,3,3,"th",5),v.YNc(10,Se,3,4,"td",6),v.BQk(),v.ynx(11,8),v.YNc(12,We,3,3,"th",9),v.YNc(13,ge,2,1,"td",6),v.BQk(),v.ynx(14,10),v.YNc(15,Le,3,3,"th",9),v.YNc(16,ue,2,1,"td",6),v.BQk(),v.ynx(17,11),v.YNc(18,Me,3,3,"th",9),v.YNc(19,z,2,1,"td",6),v.BQk(),v.ynx(20,12),v.YNc(21,P,3,3,"th",9),v.YNc(22,de,2,1,"td",6),v.BQk(),v.ynx(23,13),v.YNc(24,Ce,3,3,"th",5),v.YNc(25,Pe,2,1,"td",6),v.BQk(),v.ynx(26,14),v.YNc(27,ce,3,3,"th",5),v.YNc(28,fe,3,3,"td",6),v.BQk(),v.ynx(29,15),v.YNc(30,Ze,3,3,"th",9),v.YNc(31,ne,2,1,"td",6),v.BQk(),v.ynx(32,16),v.YNc(33,it,3,3,"th",9),v.YNc(34,Be,2,1,"td",6),v.BQk(),v.ynx(35,17),v.YNc(36,ze,3,3,"th",5),v.YNc(37,ae,4,2,"td",6),v.BQk(),v.ynx(38,18),v.YNc(39,Ae,3,3,"th",9),v.YNc(40,ee,2,1,"td",6),v.BQk(),v.ynx(41,19),v.YNc(42,Ne,3,3,"th",5),v.YNc(43,V,2,1,"td",6),v.BQk(),v.ynx(44,20),v.YNc(45,H,3,3,"th",9),v.YNc(46,D,3,4,"td",6),v.BQk(),v.ynx(47,21),v.YNc(48,O,3,3,"th",9),v.YNc(49,i,2,1,"td",6),v.BQk(),v.YNc(50,l,3,1,"ng-container",22),v.YNc(51,s,1,0,"tr",23),v.YNc(52,n,1,4,"tr",24),v.qZA(),v.qZA(),v.qZA(),v.YNc(53,t,3,4,"perun-web-apps-alert",25),v.ALo(54,"async")),2&f&&(v.Q6J("hidden",0===x.dataSource.allObjectCount),v.xp6(1),v.Q6J("dataLength",x.dataSource.allObjectCount)("pageSizeOptions",x.pageSizeOptions)("tableId",x.tableId),v.xp6(1),v.Q6J("ngIf",v.lcZ(3,10,x.dataSource.loading$)),v.xp6(2),v.Q6J("dataSource",x.dataSource),v.xp6(46),v.Q6J("ngForOf",x.parsedColumns),v.xp6(1),v.Q6J("matHeaderRowDef",x.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",x.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===x.dataSource.allObjectCount&&!1===v.lcZ(54,12,x.dataSource.loading$)))},directives:[N.l,E.O5,A.Ou,q.BZ,g.YE,q.w1,q.fO,q.ge,g.nU,q.Dz,q.ev,be,E.sg,q.as,q.XQ,q.nj,q.Gk,pe.YH,ye.rH,T.w],pipes:[E.Ov,R.X$,E.uU,L.h,X.d],styles:[""]}),a})()},45256:(qe,me,h)=>{"use strict";h.d(me,{k:()=>G});var e=h(20449),c=h(32105),g=h(64080),w=h(48966),_=h(32080),b=h(9244),E=h(86511),v=h(77579),I=h(56451),N=h(39646),A=h(63900),q=h(68675),j=h(5e3);let G=(()=>{class Q{constructor(F,be,pe,ye,T,R,L,X,Y,se){this.data=F,this.dialogRef=be,this.membersManagerService=pe,this.voService=ye,this.registrarManager=T,this.groupService=R,this.store=L,this.guiAuthResolver=X,this.requestService=Y,this.addMemberService=se,this.loading=!1,this.searcher=new v.x,this.members=this.searcher.pipe((0,A.w)(Te=>(0,I.T)((0,N.of)(null),this.voService.getCompleteCandidatesForGroup(this.data.group.id,this.attrNames,Te))),(0,q.O)(void 0)),this.failed=[],this.selection=new e.Ov(!0,[]),this.attrNames=[g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL],this.languages=this.store.get("supported_languages"),this.addMemberService.setDialogRef(this.dialogRef),this.addMemberService.setType("group")}ngOnInit(){this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group]),this.selection.changed.subscribe(F=>{this.addAuth=!!F.source.selected.every(be=>be.member)||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.data.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.data.group])})}add(){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_ADD"));this.requestService.dontHandleErrorForNext();const F=this.selection.selected.pop();F.member?this.addMember(F):F.richUser?this.addUser(F):F.candidate&&this.addCandidate(F)}invite(F){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE"));this.requestService.dontHandleErrorForNext();const be=this.selection.selected.pop();be.richUser?this.inviteUser(be,F):this.inviteCandidate(be,F)}cancel(F){this.dialogRef.close(F)}addCandidate(F){this.membersManagerService.createMemberForCandidate({vo:this.data.group.voId,candidate:this.addMemberService.createCandidate(F.candidate),groups:[this.addMemberService.getFormattedGroup(this.data.group)]}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addMember(F){this.groupService.addMembers(this.data.group.id,[F.member.id]).subscribe(()=>{this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addUser(F){this.membersManagerService.createMemberForUser({vo:this.data.group.voId,user:F.richUser.id,groups:[this.addMemberService.getFormattedGroup(this.data.group)]}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}inviteCandidate(F,be){this.registrarManager.sendInvitationForGroup((0,b.Jc)(F.candidate),be,this.data.group.voId,this.data.group.id).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}inviteUser(F,be){this.registrarManager.sendInvitationGroupToExistingUser(F.richUser.id,this.data.group.voId,this.data.group.id).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}}return Q.\u0275fac=function(F){return new(F||Q)(j.Y36(w.WI),j.Y36(w.so),j.Y36(c.uq),j.Y36(c.YF),j.Y36(c.tk),j.Y36(c.ff),j.Y36(_.d6),j.Y36(_.x4),j.Y36(_.F5),j.Y36(E.A))},Q.\u0275cmp=j.Xpm({type:Q,selectors:[["app-group-add-member-dialog"]],decls:2,vars:11,consts:[[3,"loading","languages","manualAddingBlocked","addAuth","inviteAuth","failed","members","selection","theme","add","cancel","invite","search"]],template:function(F,be){1&F&&(j.TgZ(0,"app-add-member-dialog",0),j.NdJ("add",function(){return be.add()})("cancel",function(ye){return be.cancel(ye)})("invite",function(ye){return be.invite(ye)})("search",function(ye){return be.searcher.next(ye)}),j.ALo(1,"async"),j.qZA()),2&F&&j.Q6J("loading",be.loading)("languages",be.languages)("manualAddingBlocked",be.data.manualAddingBlocked)("addAuth",be.addAuth)("inviteAuth",be.inviteAuth)("failed",be.failed)("members",j.lcZ(1,9,be.members))("selection",be.selection)("theme","group-theme")},styles:[""]}),Q})()},51525:(qe,me,h)=>{"use strict";h.d(me,{H:()=>G});var e=h(48966),c=h(32105),g=h(32080),w=h(20449),_=h(9244),b=h(64080),E=h(86511),v=h(77579),I=h(56451),N=h(39646),A=h(63900),q=h(68675),j=h(5e3);let G=(()=>{class Q{constructor(F,be,pe,ye,T,R,L,X){this.data=F,this.dialogRef=be,this.membersManagerService=pe,this.voService=ye,this.registrarManager=T,this.store=R,this.requestService=L,this.addMemberService=X,this.loading=!1,this.searcher=new v.x,this.members=this.searcher.pipe((0,A.w)(Y=>(0,I.T)((0,N.of)(null),this.voService.getCompleteCandidatesForVo(this.data.voId,this.attrNames,Y))),(0,q.O)(void 0)),this.failed=[],this.selection=new w.Ov(!0,[]),this.attrNames=[b.r.USER_DEF_ORGANIZATION,b.r.USER_DEF_PREFERRED_MAIL],this.languages=this.store.get("supported_languages"),this.addMemberService.setDialogRef(this.dialogRef),this.addMemberService.setType("vo")}add(){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_ADD"));this.requestService.dontHandleErrorForNext();const F=this.selection.selected.pop();F.richUser?this.addUser(F):this.addCandidate(F)}invite(F){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE"));this.requestService.dontHandleErrorForNext();const be=this.selection.selected.pop();be.richUser?this.inviteUser(be,F):this.inviteCandidate(be,F)}cancel(F){this.dialogRef.close(F)}addCandidate(F){this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.addMemberService.createCandidate(F.candidate)}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addUser(F){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:F.richUser.id}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}inviteCandidate(F,be){this.registrarManager.sendInvitation((0,_.Jc)(F.candidate),be,this.data.voId).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}inviteUser(F,be){this.registrarManager.sendInvitationToExistingUser(F.richUser.id,this.data.voId).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}}return Q.\u0275fac=function(F){return new(F||Q)(j.Y36(e.WI),j.Y36(e.so),j.Y36(c.uq),j.Y36(c.YF),j.Y36(c.tk),j.Y36(g.d6),j.Y36(g.F5),j.Y36(E.A))},Q.\u0275cmp=j.Xpm({type:Q,selectors:[["app-vo-add-member-dialog"]],decls:2,vars:8,consts:[[3,"loading","languages","failed","members","selection","theme","add","cancel","invite","search"]],template:function(F,be){1&F&&(j.TgZ(0,"app-add-member-dialog",0),j.NdJ("add",function(){return be.add()})("cancel",function(ye){return be.cancel(ye)})("invite",function(ye){return be.invite(ye)})("search",function(ye){return be.searcher.next(ye)}),j.ALo(1,"async"),j.qZA()),2&F&&j.Q6J("loading",be.loading)("languages",be.languages)("failed",be.failed)("members",j.lcZ(1,6,be.members))("selection",be.selection)("theme","vo-theme")},styles:[""]}),Q})()},55857:(qe,me,h)=>{"use strict";h.d(me,{W:()=>be});var e=h(32105),c=h(10036),g=h(32080),w=h(93075),_=h(69808),b=h(5e3),E=h(96214),v=h(47423),I=h(67322),N=h(74107),A=h(90508),q=h(64901),j=h(39798),G=h(9146),Q=h(51062);function he(pe,ye){if(1&pe){const T=b.EpF();b.TgZ(0,"button",14),b.NdJ("click",function(){return b.CHM(T),b.oxw().showAllDetails=!0}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function F(pe,ye){if(1&pe){const T=b.EpF();b.TgZ(0,"button",14),b.NdJ("click",function(){return b.CHM(T),b.oxw().showAllDetails=!1}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let be=(()=>{class pe{constructor(T,R,L){this.registrarManager=T,this.guiAuthResolver=R,this.entityStorageService=L,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=c.Af,this.tableId=c.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new w.NI((0,_.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new w.NI((0,_.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 T=new Date;return T.setDate(T.getDate()-365),T}applyFilter(T){this.filterValue=T}}return pe.id="GroupApplicationsComponent",pe.\u0275fac=function(T){return new(T||pe)(b.Y36(e.tk),b.Y36(g.x4),b.Y36(g.fb))},pe.\u0275cmp=b.Xpm({type:pe,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(T,R){2&T&&b.ekj("router-component",R.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","mat-stroked-button","",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,"endDate","startDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(T,R){1&T&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return R.refresh=!R.refresh}),b.qZA(),b.YNc(5,he,3,3,"button",2),b.YNc(6,F,3,3,"button",2),b.TgZ(7,"mat-form-field",3),b.TgZ(8,"mat-label"),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"mat-select",4),b.NdJ("selectionChange",function(){return R.select()})("valueChange",function(X){return R.state=X}),b.TgZ(12,"mat-option",5),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.TgZ(15,"mat-option",6),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"mat-option",7),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-option",8),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.TgZ(24,"mat-option",9),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"mat-option",10),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"perun-web-apps-debounce-filter",11),b.NdJ("filter",function(X){return R.applyFilter(X)}),b.qZA(),b.TgZ(31,"perun-web-apps-date-range",12),b.NdJ("datePicker",function(){return R.select()}),b.qZA(),b.qZA(),b.TgZ(32,"div"),b._UZ(33,"app-applications-dynamic-list",13),b.qZA()),2&T&&(b.xp6(1),b.Oqu(b.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),b.xp6(4),b.Q6J("ngIf",!R.showAllDetails),b.xp6(1),b.Q6J("ngIf",R.showAllDetails),b.xp6(3),b.Oqu(b.lcZ(10,24,"APPLICATIONS_LIST.STATE")),b.xp6(2),b.Q6J("value",R.state),b.xp6(2),b.Oqu(b.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),b.xp6(3),b.Oqu(b.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),b.xp6(3),b.Oqu(b.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),b.xp6(3),b.Oqu(b.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),b.xp6(3),b.Oqu(b.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),b.xp6(3),b.Oqu(b.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),b.xp6(2),b.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),b.xp6(1),b.Q6J("endDate",R.endDate)("startDate",R.startDate),b.xp6(2),b.Q6J("tableId",R.showAllDetails?R.detailTableId:R.tableId)("searchString",R.filterValue)("displayedColumns",R.showAllDetails?R.detailedDisplayedColumns:R.displayedColumns)("states",R.currentStates)("dateFrom",R.startDate.value)("dateTo",R.endDate.value)("refreshTable",R.refresh)("group",R.group))},directives:[E.t,_.O5,v.lW,I.KE,I.hX,N.gD,A.ey,q.P,j.S,G.S],pipes:[Q.X$],styles:[""]}),pe})()},75234:(qe,me,h)=>{"use strict";h.d(me,{y:()=>P});var e=h(20449),c=h(32080),g=h(64080),w=h(53455),_=h(32105),b=h(10036),E=h(9244),v=h(74414),I=h(93075),N=h(45256),A=h(5e3),q=h(48966),j=h(69808),G=h(98380),Q=h(96214),he=h(29772),F=h(47423),be=h(67322),pe=h(74107),ye=h(90508),T=h(64901),R=h(20773),L=h(1903),X=h(51062);let Y=(()=>{class de{transform(Pe,ce){return!!("members"===Pe.name||(0,E.bx)(Pe)||"add"===ce&&(0,E.jh)(Pe.attributes,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING))}}return de.\u0275fac=function(Pe){return new(Pe||de)},de.\u0275pipe=A.Yjl({name:"groupMembersActionButtonDisabled",type:de,pure:!0}),de})(),se=(()=>{class de{transform(Pe,ce){return"members"===Pe.name?"GROUP_DETAIL.MEMBERS.BUTTON_DISABLED_MEMBERS_GROUP":(0,E.bx)(Pe)?"GROUP_DETAIL.MEMBERS.SYNCHRONIZED":"add"===ce&&(0,E.jh)(Pe.attributes,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING)?"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED":""}}return de.\u0275fac=function(Pe){return new(Pe||de)},de.\u0275pipe=A.Yjl({name:"groupMembersActionButtonDisabledTooltip",type:de,pure:!0}),de})();var Te=h(20551);function Oe(de,Ce){1&de&&(A.TgZ(0,"perun-web-apps-alert",14),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function Se(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onAddMember()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",A.xi3(1,2,Pe.group,"add")),A.xp6(2),A.hij(" ",A.lcZ(3,5,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function We(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",16),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onInviteMember()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",A.lcZ(1,2,Pe.group)),A.xp6(2),A.hij(" ",A.lcZ(3,4,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function ge(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",17),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onRemoveMembers()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",Pe.selection.isEmpty()||A.lcZ(1,2,Pe.group)),A.xp6(2),A.hij(" ",A.lcZ(3,4,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Le(de,Ce){if(1&de&&(A.TgZ(0,"mat-option",18),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&de){const Pe=Ce.$implicit;A.Q6J("value",Pe),A.xp6(1),A.Oqu(A.lcZ(2,2,Pe))}}function ue(de,Ce){if(1&de&&(A.TgZ(0,"mat-option",18),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&de){const Pe=Ce.$implicit;A.Q6J("value",Pe),A.xp6(1),A.Oqu(A.lcZ(2,2,Pe))}}function Me(de,Ce){1&de&&A._UZ(0,"mat-spinner",19)}function z(de,Ce){if(1&de&&A._UZ(0,"perun-web-apps-members-dynamic-list",20),2&de){const Pe=A.oxw();A.Q6J("attrNames",Pe.memberAttrNames)("groupId",Pe.group.id)("tableId",Pe.tableId)("displayedColumns",Pe.displayedColumns)("searchString",Pe.searchString)("updateTable",Pe.updateTable)("selectedGroupStatuses",Pe.selectedGroupStatuses)("selectedStatuses",Pe.selectedStatuses)("selection",Pe.selection)("voId",Pe.group.voId)}}let P=(()=>{class de{constructor(Pe,ce,fe,Ze,ne,it,Be,ze){this.groupService=Pe,this.dialog=ce,this.guiAuthResolver=fe,this.storeService=Ze,this.attributesManager=ne,this.apiRequest=it,this.notificator=Be,this.entityStorageService=ze,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=b.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.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new I.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new I.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"],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,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}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).then(()=>this.loadPage(this.group.id))}loadPage(Pe){this.groupService.getRichGroupByIdWithAttributesByNames(Pe,this.groupAttrNames).subscribe(ce=>{this.group=ce,this.synchEnabled=(0,E.bx)(this.group),this.loading=!1})}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(Pe){this.searchString=Pe,this.selection.clear()}onAddMember(){const Pe=(0,E.kZ)();Pe.width="1000px",Pe.data={group:this.group,manualAddingBlocked:this.blockManualMemberAdding},this.dialog.open(N.k,Pe).afterClosed().subscribe(fe=>{fe&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Pe=(0,E.kZ)();Pe.width="450px",Pe.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(w.X,Pe).afterClosed().subscribe(fe=>{fe&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Pe=(0,E.kZ)();Pe.width="650px",Pe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(v.R,Pe)}displaySelectedStatuses(){if(this.selectedStatuses.length===this.statusList.length)return"ALL";const Pe=this.statuses.value;return Pe?`${Pe[0]} ${Pe.length>1?"(+"+(Pe.length-1).toString()+" "+(2===Pe.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Pe){return new Promise(ce=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Pe,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,ce()},fe=>{const Ze=fe.error;"PrivilegeException"!==Ze.name&&this.notificator.showError(Ze.name),ce()})})}changeVoStatuses(){this.selection.clear(),this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selection.clear(),this.selectedGroupStatuses=this.groupStatuses.value}refreshTable(){this.selection.clear(),this.updateTable=!this.updateTable}}return de.id="GroupMembersComponent",de.\u0275fac=function(Pe){return new(Pe||de)(A.Y36(_.ff),A.Y36(q.uw),A.Y36(c.x4),A.Y36(c.d6),A.Y36(_.H8),A.Y36(c.F5),A.Y36(c.V6),A.Y36(c.fb))},de.\u0275cmp=A.Xpm({type:de,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Pe,ce){2&Pe&&A.ekj("router-component",ce.true)},decls:42,vars:55,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["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,"attrNames","groupId","tableId","displayedColumns","searchString","updateTable","selectedGroupStatuses","selectedStatuses","selection","voId",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,"attrNames","groupId","tableId","displayedColumns","searchString","updateTable","selectedGroupStatuses","selectedStatuses","selection","voId"]],template:function(Pe,ce){1&Pe&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.YNc(3,Oe,3,3,"perun-web-apps-alert",1),A.TgZ(4,"div",2),A.TgZ(5,"perun-web-apps-refresh-button",3),A.NdJ("click",function(){return ce.refreshTable()}),A.qZA(),A.TgZ(6,"span",4),A.ALo(7,"groupMembersActionButtonDisabled"),A.ALo(8,"translate"),A.ALo(9,"groupMembersActionButtonDisabledTooltip"),A.YNc(10,Se,4,7,"button",5),A.qZA(),A.TgZ(11,"span",4),A.ALo(12,"groupMembersActionButtonDisabled"),A.ALo(13,"translate"),A.ALo(14,"groupMembersActionButtonDisabledTooltip"),A.YNc(15,We,4,6,"button",6),A.qZA(),A.TgZ(16,"span",4),A.ALo(17,"groupMembersActionButtonDisabled"),A.ALo(18,"translate"),A.ALo(19,"groupMembersActionButtonDisabledTooltip"),A.YNc(20,ge,4,6,"button",7),A.qZA(),A.TgZ(21,"mat-form-field",8),A.TgZ(22,"mat-label"),A._uU(23),A.ALo(24,"translate"),A.qZA(),A.TgZ(25,"mat-select",9),A.NdJ("closed",function(){return ce.changeVoStatuses()}),A.TgZ(26,"mat-select-trigger"),A._uU(27),A.ALo(28,"memberStatus"),A.qZA(),A.YNc(29,Le,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(30,"mat-form-field",8),A.TgZ(31,"mat-label"),A._uU(32),A.ALo(33,"translate"),A.qZA(),A.TgZ(34,"mat-select",9),A.NdJ("closed",function(){return ce.changeGroupStatuses()}),A.TgZ(35,"mat-select-trigger"),A._uU(36),A.ALo(37,"memberStatus"),A.qZA(),A.YNc(38,ue,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(39,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(Ze){return ce.onSearchByString(Ze)}),A.qZA(),A.qZA(),A.YNc(40,Me,1,0,"mat-spinner",12),A.YNc(41,z,1,10,"perun-web-apps-members-dynamic-list",13)),2&Pe&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"GROUP_DETAIL.MEMBERS.TITLE")),A.xp6(2),A.Q6J("ngIf",ce.synchEnabled),A.xp6(3),A.s9C("matTooltip",A.lcZ(8,30,A.xi3(9,32,ce.group,"add"))),A.Q6J("matTooltipDisabled",!A.xi3(7,27,ce.group,"add"))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.addAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(13,37,A.lcZ(14,39,ce.group))),A.Q6J("matTooltipDisabled",!A.lcZ(12,35,ce.group))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.inviteAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(18,43,A.lcZ(19,45,ce.group))),A.Q6J("matTooltipDisabled",!A.lcZ(17,41,ce.group))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.removeAuth),A.xp6(3),A.Oqu(A.lcZ(24,47,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),A.xp6(2),A.Q6J("formControl",ce.statuses),A.xp6(2),A.hij(" ",A.lcZ(28,49,ce.displaySelectedStatuses())," "),A.xp6(2),A.Q6J("ngForOf",ce.statusList),A.xp6(3),A.Oqu(A.lcZ(33,51,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),A.xp6(2),A.Q6J("formControl",ce.groupStatuses),A.xp6(2),A.hij(" ",A.lcZ(37,53,ce.displaySelectedGroupStatuses())," "),A.xp6(2),A.Q6J("ngForOf",ce.groupStatusList),A.xp6(1),A.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),A.xp6(1),A.Q6J("ngIf",ce.loading),A.xp6(1),A.Q6J("ngIf",!ce.loading))},directives:[j.O5,G.w,Q.t,he.gM,F.lW,be.KE,be.hX,pe.gD,I.JJ,I.oH,pe.$L,j.sg,ye.ey,T.P,R.Ou,L.m],pipes:[X.X$,Y,se,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}"]}),de})()},37240:(qe,me,h)=>{"use strict";h.d(me,{q:()=>Ue});var e=h(20449),c=h(32105),g=h(10036),w=h(48966),_=h(32080),E=(h(33604),h(5e3)),v=h(51062),I=h(69808),N=h(20773),A=h(92081),q=h(64901),j=h(62109),G=h(32368),Q=h(93075),he=h(47423),F=h(29772);const be=["list"],pe=["stepper"];function ye(_e,ae){1&_e&&E._UZ(0,"mat-spinner",4)}function T(_e,ae){1&_e&&(E._uU(0),E.ALo(1,"translate")),2&_e&&E.Oqu(E.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function R(_e,ae){1&_e&&(E._uU(0),E.ALo(1,"translate")),2&_e&&E.Oqu(E.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const L=function(){return["select","id","name","facility","tags","description"]};function X(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",5),E.TgZ(1,"mat-stepper",6,7),E.TgZ(3,"mat-step",8),E.YNc(4,T,2,3,"ng-template",9),E.TgZ(5,"perun-web-apps-debounce-filter",10),E.NdJ("filter",function(Ne){return E.CHM(Ae),E.oxw().applyFilter(Ne)}),E.ALo(6,"translate"),E.qZA(),E._UZ(7,"perun-web-apps-resources-list",11,12),E.qZA(),E.TgZ(9,"mat-step"),E.YNc(10,R,2,3,"ng-template",9),E.TgZ(11,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeSubgroupsMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().autoAssignSubgroups=Ne}),E._uU(12),E.ALo(13,"translate"),E.qZA(),E.TgZ(14,"div",14),E._UZ(15,"i",15),E.qZA(),E.TgZ(16,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeInactiveMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().asActive=Ne}),E._uU(17),E.ALo(18,"translate"),E.qZA(),E.TgZ(19,"div",14),E._uU(20),E.qZA(),E.TgZ(21,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeAsyncMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().async=Ne}),E._uU(22),E.ALo(23,"translate"),E.qZA(),E.TgZ(24,"div",14),E._uU(25),E.qZA(),E.qZA(),E.qZA(),E.qZA()}if(2&_e){const Ae=E.MAs(8),ee=E.oxw();E.xp6(1),E.Q6J("linear",!0),E.xp6(2),E.Q6J("completed",0!==ee.selection.selected.length&&void 0!==Ae&&Ae.addAuth),E.xp6(2),E.s9C("placeholder",E.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),E.xp6(2),E.Q6J("filterValue",ee.filterValue)("groupToResource",ee.data.group)("disableRouting",!0)("resources",ee.resources)("selection",ee.selection)("displayedColumns",E.DdM(27,L))("tableId",ee.tableId),E.xp6(4),E.Q6J("ngModel",ee.autoAssignSubgroups),E.xp6(1),E.hij(" ",E.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),E.xp6(3),E.Q6J("innerHTML",ee.autoAssignHint,E.oJD),E.xp6(1),E.Q6J("ngModel",ee.asActive),E.xp6(1),E.hij(" ",E.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),E.xp6(3),E.hij(" ",ee.asActiveHint," "),E.xp6(1),E.Q6J("ngModel",ee.async),E.xp6(1),E.hij(" ",E.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),E.xp6(3),E.hij(" ",ee.asyncHint," ")}}function Y(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",22),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).stepperPrevious()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&_e&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function se(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).stepperNext()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&_e){const Ae=E.oxw(2);E.ekj("ml-2",void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex)("ml-auto",!(void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex)),E.Q6J("disabled",0===Ae.selection.selected.length||void 0!==Ae.list&&!Ae.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function Te(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",24),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).onSubmit()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&_e){const Ae=E.oxw(2);E.Q6J("disabled",0===Ae.selection.selected.length||Ae.loading),E.xp6(1),E.hij(" ",E.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Oe(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",16),E.TgZ(1,"button",17),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,Y,3,3,"button",18),E.YNc(5,se,3,8,"button",19),E.TgZ(6,"span",20),E.ALo(7,"translate"),E.YNc(8,Te,3,4,"button",21),E.qZA(),E.qZA()}if(2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),E.xp6(2),E.Q6J("ngIf",void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex),E.xp6(1),E.Q6J("ngIf",void 0!==Ae.stepper&&Ae.stepper.selectedIndex!==Ae.stepper._steps.length-1),E.xp6(1),E.s9C("matTooltip",E.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",void 0===Ae.list||Ae.list.addAuth),E.xp6(2),E.Q6J("ngIf",void 0!==Ae.stepper&&Ae.stepper.selectedIndex===Ae.stepper._steps.length-1)}}let Se=(()=>{class _e{constructor(Ae,ee,Ne,V,H,D,O){this.dialogRef=Ae,this.data=ee,this.notificator=Ne,this.translate=V,this.resourcesManager=H,this.guiAuthResolver=D,this.cd=O,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(Ae=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(ee=>{for(const Ne of Ae)-1===ee.findIndex(V=>V.id===Ne.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,Ne])&&this.resources.push(Ne);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(Ae){this.filterValue=Ae}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const Ae=this.selection.selected.map(ee=>ee.id);this.resourcesManager.assignGroupToResources(this.data.group.id,Ae,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(ee=>{this.notificator.showSuccess(ee),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 _e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(w.so),E.Y36(w.WI),E.Y36(_.V6),E.Y36(v.sK),E.Y36(c.xk),E.Y36(_.x4),E.Y36(E.sBO))},_e.\u0275cmp=E.Xpm({type:_e,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(Ae,ee){if(1&Ae&&(E.Gf(be,5),E.Gf(pe,5)),2&Ae){let Ne;E.iGM(Ne=E.CRH())&&(ee.list=Ne.first),E.iGM(Ne=E.CRH())&&(ee.stepper=Ne.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,"filterValue","groupToResource","disableRouting","resources","selection","displayedColumns","tableId"],["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"],["class","ml-2","color","accent","mat-flat-button","",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"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,ye,1,0,"mat-spinner",1),E.YNc(5,X,26,28,"div",2),E.YNc(6,Oe,9,10,"div",3),E.qZA()),2&Ae&&(E.Tol(ee.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),E.xp6(2),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading&&void 0!==ee.stepper))},directives:[w.uh,I.O5,N.Ou,w.xY,A.Vq,A.C0,A.VY,q.P,j.C,G.Rr,Q.JJ,Q.On,w.H8,he.lW,F.gM],pipes:[v.X$],styles:[""]}),_e})();var We=h(32075);function ge(_e,ae){1&_e&&E._UZ(0,"mat-spinner",4)}function Le(_e,ae){1&_e&&E._UZ(0,"th",13)}function ue(_e,ae){if(1&_e&&(E.TgZ(0,"td",14),E._uU(1),E.qZA()),2&_e){const Ae=ae.$implicit;E.xp6(1),E.Oqu(Ae.name)}}function Me(_e,ae){1&_e&&E._UZ(0,"tr",15)}function z(_e,ae){1&_e&&E._UZ(0,"tr",16)}function P(_e,ae){if(1&_e&&(E.TgZ(0,"div",5),E.TgZ(1,"p"),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"div",6),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.TgZ(7,"table",7),E.ynx(8,8),E.YNc(9,Le,1,0,"th",9),E.YNc(10,ue,2,1,"td",10),E.BQk(),E.YNc(11,Me,1,0,"tr",11),E.YNc(12,z,1,0,"tr",12),E.qZA(),E.qZA()),2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),E.xp6(3),E.hij(" ",E.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),E.xp6(2),E.Q6J("dataSource",Ae.dataSource),E.xp6(4),E.Q6J("matHeaderRowDef",Ae.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",Ae.displayedColumns)}}function de(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",17),E.TgZ(1,"button",18),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"button",19),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onSubmit()}),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.qZA()}if(2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),E.xp6(2),E.Q6J("disabled",Ae.loading),E.xp6(1),E.hij(" ",E.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Ce=(()=>{class _e{constructor(Ae,ee,Ne,V,H){this.dialogRef=Ae,this.data=ee,this.notificator=Ne,this.translate=V,this.resourcesManager=H,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new We.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const Ae=this.data.resources.map(ee=>ee.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,Ae).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(ee=>{this.loading=!1,this.notificator.showSuccess(ee),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return _e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(w.so),E.Y36(w.WI),E.Y36(_.V6),E.Y36(v.sK),E.Y36(c.xk))},_e.\u0275cmp=E.Xpm({type:_e,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"],["class","font-weight-bolder","mat-header-row","",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"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,ge,1,0,"mat-spinner",1),E.YNc(5,P,13,9,"div",2),E.YNc(6,de,7,7,"div",3),E.qZA()),2&Ae&&(E.Tol(ee.data.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),E.xp6(2),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading))},directives:[w.uh,I.O5,N.Ou,w.xY,We.BZ,We.w1,We.fO,We.ge,We.Dz,We.ev,We.as,We.XQ,We.nj,We.Gk,w.H8,he.lW],pipes:[v.X$],styles:[""]}),_e})();var Pe=h(9244),ce=h(96214),fe=h(7434);const Ze=["list"];function ne(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",8),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().addResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&_e&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function it(_e,ae){1&_e&&E._UZ(0,"mat-spinner",9)}const Be=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function ze(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"perun-web-apps-resources-list",10,11),E.NdJ("refreshTable",function(){return E.CHM(Ae),E.oxw().refreshTable()}),E.qZA()}if(2&_e){const Ae=E.oxw();E.Q6J("disableRouting",!Ae.routingAuth)("filterValue",Ae.filterValue)("resources",Ae.resources)("routingVo",!0)("displayedColumns",E.DdM(10,Be))("selection",Ae.selected)("groupId",Ae.group.id)("groupToResource",Ae.group)("resourcesToDisableCheckbox",Ae.resourcesToDisable)("tableId",Ae.tableId)}}let Ue=(()=>{class _e{constructor(Ae,ee,Ne,V,H){this.resourcesManager=Ae,this.groupService=ee,this.dialog=Ne,this.guiAuthResolver=V,this.entityStorageService=H,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(Ae=>{this.resources=Ae.map(ee=>{const Ne=ee.enrichedResource.resource;return Ne.facility=ee.facility,Ne.status=ee.status,Ne.resourceTags=ee.resourceTags,Ne.failureCause=ee.failureCause,Ne.sourceGroupId=ee.sourceGroupId,Ne}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(ee=>null!==ee.sourceGroupId).map(ee=>ee.id)),this.setAuthorization(),this.loading=!1})}applyFilter(Ae){this.filterValue=Ae}addResource(){const Ae=(0,Pe.kZ)();Ae.width="1000px",Ae.data={theme:"group-theme",group:this.group},this.dialog.open(Se,Ae).afterClosed().subscribe(Ne=>{Ne&&this.refreshTable()})}removeResource(){const Ae=(0,Pe.kZ)();Ae.width="450px",Ae.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Ce,Ae).afterClosed().subscribe(Ne=>{Ne&&(this.selected.clear(),this.refreshTable())})}}return _e.id="GroupResourcesComponent",_e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(c.xk),E.Y36(c.ff),E.Y36(w.uw),E.Y36(_.x4),E.Y36(_.fb))},_e.\u0275cmp=E.Xpm({type:_e,selectors:[["app-group-resources"]],viewQuery:function(Ae,ee){if(1&Ae&&E.Gf(Ze,5),2&Ae){let Ne;E.iGM(Ne=E.CRH())&&(ee.list=Ne.first)}},hostVars:2,hostBindings:function(Ae,ee){2&Ae&&E.ekj("router-component",ee.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","groupId","groupToResource","resourcesToDisableCheckbox","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","groupId","groupToResource","resourcesToDisableCheckbox","tableId","refreshTable"],["list",""]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"perun-web-apps-refresh-button",1),E.NdJ("refresh",function(){return ee.refreshTable()}),E.qZA(),E.YNc(5,ne,3,3,"button",2),E.TgZ(6,"span",3),E.ALo(7,"translate"),E.TgZ(8,"button",4),E.NdJ("click",function(){return ee.removeResource()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.qZA(),E.TgZ(11,"perun-web-apps-immediate-filter",5),E.NdJ("filter",function(V){return ee.applyFilter(V)}),E.qZA(),E.YNc(12,it,1,0,"mat-spinner",6),E.YNc(13,ze,2,11,"perun-web-apps-resources-list",7),E.qZA()),2&Ae&&(E.xp6(2),E.Oqu(E.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),E.xp6(3),E.Q6J("ngIf",ee.addAuth),E.xp6(1),E.s9C("matTooltip",E.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),E.Q6J("matTooltipDisabled",0===ee.selected.selected.length||void 0!==ee.list&&ee.list.removeAuth),E.xp6(2),E.Q6J("disabled",0===ee.selected.selected.length||void 0!==ee.list&&!ee.list.removeAuth),E.xp6(1),E.hij(" ",E.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),E.xp6(2),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",ee.resources&&!ee.loading))},directives:[ce.t,I.O5,he.lW,F.gM,fe.L,N.Ou,j.C],pipes:[v.X$],styles:[""]}),_e})()},61639:(qe,me,h)=>{"use strict";h.d(me,{C:()=>_});var e=h(32105),c=h(32080),g=h(5e3),w=h(34775);let _=(()=>{class b{constructor(v,I){this.authzResolverService=v,this.entityStorageService=I,this.roleNames=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"]}ngOnInit(){this.outerLoading=!0,this.groupId=this.entityStorageService.getEntity().id,this.authzResolverService.getGroupRoles(this.groupId).subscribe(v=>{this.roleNames=Object.keys(v).map(I=>I.toUpperCase()),this.prepareRoles(v),this.outerLoading=!1})}prepareRoles(v){this.roleNames.forEach(I=>{const N=new Map;Object.keys(v[I]).forEach(q=>{N.set(q,v[I][q])}),this.roles.set(I,N)}),this.roleNames=this.roleNames.filter(I=>!this.roleFilter.includes(I))}}return b.id="GroupRolesComponent",b.\u0275fac=function(v){return new(v||b)(g.Y36(e.Ct),g.Y36(c.fb))},b.\u0275cmp=g.Xpm({type:b,selectors:[["app-group-roles"]],hostVars:2,hostBindings:function(v,I){2&v&&g.ekj("router-component",I.true)},decls:1,vars:6,consts:[[3,"outerLoading","roles","roleNames","entityId","entityType","showDescription"]],template:function(v,I){1&v&&g._UZ(0,"app-perun-web-apps-roles-page",0),2&v&&g.Q6J("outerLoading",I.outerLoading)("roles",I.roles)("roleNames",I.roleNames)("entityId",I.groupId)("entityType","GROUP")("showDescription",!0)},directives:[w._],styles:[""]}),b})()},14336:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>Ce});var e=h(32080),c=h(51076),g=h(83491),w=h(95502),_=h(1186),b=h(32105),E=h(9244),v=h(5e3),I=h(48966),N=h(51062),A=h(36157),q=h(69808),j=h(20773),G=h(25245),Q=h(29772),he=h(32368),F=h(93075),be=h(47423),pe=h(4834),ye=h(96214),T=h(98380),R=h(157);const L=["autoRegToggle"];function X(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",3)}function Y(Pe,ce){if(1&Pe&&(v.TgZ(0,"span"),v._uU(1," , "),v.TgZ(2,"mat-icon",22),v._uU(3,"nat"),v.qZA(),v._uU(4),v.ALo(5,"translate"),v.ALo(6,"translate"),v.qZA()),2&Pe){const fe=v.oxw(3);v.xp6(4),v.hij(" ",fe.applicationForm.automaticApprovalEmbedded?v.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function se(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"mat-slide-toggle",23,24),v.NdJ("change",function(){return v.CHM(fe),v.oxw(3).updateAutoRegistration()}),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw(3);v.xp6(1),v.Q6J("disabled",!fe.changeAutoRegistration)("ngModel",fe.autoRegistrationEnabled),v.xp6(2),v.hij(" ",v.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function Te(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",25),v.NdJ("click",function(){return v.CHM(fe),v.oxw(3).settings()}),v.TgZ(1,"i",12),v._uU(2,"edit"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Pe&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Oe(Pe,ce){if(1&Pe&&(v.TgZ(0,"div",15),v.TgZ(1,"div",16),v.TgZ(2,"div",17),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.TgZ(5,"div"),v.TgZ(6,"span",17),v._uU(7),v.ALo(8,"translate"),v.qZA(),v._uU(9,": "),v.TgZ(10,"mat-icon",18),v._uU(11,"arrow_right_alt"),v.qZA(),v._uU(12),v.ALo(13,"translate"),v.ALo(14,"translate"),v.TgZ(15,"mat-icon",19),v._uU(16,"restore"),v.qZA(),v._uU(17),v.ALo(18,"translate"),v.ALo(19,"translate"),v.YNc(20,Y,7,5,"span",2),v.qZA(),v.YNc(21,se,5,5,"div",2),v.qZA(),v.TgZ(22,"div",20),v.YNc(23,Te,5,3,"button",21),v.qZA(),v.qZA()),2&Pe){const fe=v.oxw(2);v.xp6(1),v.Q6J("ngClass",fe.autoRegistrationEnabled?"w-75":"w-50"),v.xp6(2),v.AsE(" ",v.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",fe.applicationForm.moduleClassName," "),v.xp6(4),v.Oqu(v.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),v.xp6(5),v.hij(" ",fe.applicationForm.automaticApproval?v.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),v.xp6(5),v.hij(" ",fe.applicationForm.automaticApprovalExtension?v.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),v.xp6(3),v.Q6J("ngIf",fe.autoRegistrationEnabled),v.xp6(1),v.Q6J("ngIf",fe.voHasEmbeddedGroupApplication),v.xp6(2),v.Q6J("ngIf",fe.editAuth)}}function Se(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",26),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).add()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function We(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",27),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).save()}),v.TgZ(1,"i",12),v._uU(2,"save"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&Pe){const fe=v.oxw(2);v.Q6J("disabled",!fe.itemsChanged),v.xp6(3),v.hij(" ",v.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function ge(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",28),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).copy()}),v.TgZ(1,"i",12),v._uU(2,"file_copy"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Pe&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function Le(Pe,ce){1&Pe&&(v.TgZ(0,"perun-web-apps-alert",29),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const ue=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Me=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function z(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div"),v.YNc(1,Oe,24,21,"div",4),v._UZ(2,"mat-divider",5),v.TgZ(3,"div",6),v.TgZ(4,"perun-web-apps-refresh-button",7),v.NdJ("refresh",function(){return v.CHM(fe),v.oxw().updateFormItems()}),v.qZA(),v.YNc(5,Se,3,3,"button",8),v.YNc(6,We,5,4,"button",9),v.YNc(7,ge,5,3,"button",10),v.TgZ(8,"button",11),v.NdJ("click",function(){return v.CHM(fe),v.oxw().preview()}),v.TgZ(9,"i",12),v._uU(10,"search"),v.qZA(),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.YNc(13,Le,3,3,"perun-web-apps-alert",13),v.TgZ(14,"app-application-form-list",14),v.NdJ("applicationFormItemsChange",function(){return v.CHM(fe),v.oxw().changeItems()}),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw();v.xp6(1),v.Q6J("ngIf",!fe.loading),v.xp6(4),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("ngIf",fe.editAuth),v.xp6(4),v.hij(" ",v.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),v.xp6(2),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("applicationForm",fe.applicationForm)("applicationFormItems",fe.applicationFormItems)("loading",fe.loading)("displayedColumns",fe.editAuth?v.DdM(14,ue):v.DdM(15,Me))("refreshApplicationForm",fe.refreshApplicationForm)("theme","group-theme")}}function P(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",32),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).createEmptyApplicationForm()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function de(Pe,ce){if(1&Pe&&(v.TgZ(0,"div"),v.TgZ(1,"perun-web-apps-alert",30),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,P,3,3,"button",31),v.qZA()),2&Pe){const fe=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),v.xp6(2),v.Q6J("ngIf",fe.createEmptyForm)}}let Ce=(()=>{class Pe{constructor(fe,Ze,ne,it,Be,ze,Ue,_e,ae){this.registrarManager=fe,this.dialog=Ze,this.notificator=ne,this.translate=it,this.apiRequest=Be,this.router=ze,this.guiAuthResolver=Ue,this.attributesManager=_e,this.entityStorageService=ae,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(fe=>{this.applicationForm=fe,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ze=>{this.applicationFormItems=Ze,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(ne=>{this.voHasEmbeddedGroupApplication=null!==ne.value,this.autoRegistrationEnabled=!!ne.value,this.loading=!1})},()=>this.loading=!1)},fe=>{const Ze=fe.error;"FormNotExistsException"===Ze.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(Ze)})}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 fe=(0,E.kZ)();fe.width="500px",fe.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(c.J,fe).afterClosed().subscribe(ne=>{ne&&(this.applicationFormItems=Object.assign([],ne[0]),fe=(0,E.kZ)(),fe.width="600px",fe.height="600px",fe.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:ne[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,fe),this.itemsChanged=!0)})}copy(){const fe=(0,E.kZ)();fe.width="500px",fe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(w.W,fe).afterClosed().subscribe(ne=>{ne&&this.updateFormItems()})}settings(){const fe=(0,E.kZ)();fe.width="400px",fe.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(_.E,fe).afterClosed().subscribe(ne=>{ne&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(it=>{this.notificator.showSuccess(it)}),this.applicationForm=ne)})}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(fe=>{this.applicationFormItems=fe,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 fe=0;for(const Ze of this.applicationFormItems)Ze.ordnum=fe,Ze.forDelete||fe++;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(Ze=>{this.notificator.showSuccess(Ze)}),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(fe=>{this.notificator.showSuccess(fe)}),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(fe=>{this.notificator.showSuccess(fe)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return Pe.id="GroupSettingsApplicationFormComponent",Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(b.tk),v.Y36(I.uw),v.Y36(e.V6),v.Y36(N.sK),v.Y36(e.F5),v.Y36(A.F0),v.Y36(e.x4),v.Y36(b.H8),v.Y36(e.fb))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-group-settings-application-form"]],viewQuery:function(fe,Ze){if(1&fe&&v.Gf(L,5),2&fe){let ne;v.iGM(ne=v.CRH())&&(Ze.autoRegToggle=ne.first)}},hostVars:2,hostBindings:function(fe,Ze){2&fe&&v.ekj("router-component",Ze.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"],["color","accent","class","mr-2 action-button","data-cy","add-form-item","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","class","mr-2","data-cy","save-application-form","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"applicationForm","applicationFormItems","loading","displayedColumns","refreshApplicationForm","theme","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"],["class","ml-auto action-button","mat-stroked-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"],["color","accent","data-cy","add-form-item","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","accent","data-cy","save-application-form","mat-flat-button","",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["data-cy","create-empty-form","mat-stroked-button","",3,"click",4,"ngIf"],["data-cy","create-empty-form","mat-stroked-button","",3,"click"]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.YNc(3,X,1,0,"mat-spinner",1),v.YNc(4,z,15,16,"div",2),v.YNc(5,de,5,4,"div",2)),2&fe&&(v.xp6(1),v.hij(" ",v.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.noApplicationForm),v.xp6(1),v.Q6J("ngIf",!Ze.loading&&Ze.noApplicationForm))},directives:[q.O5,j.Ou,q.mk,G.Hw,Q.gM,he.Rr,F.JJ,F.On,be.lW,pe.d,ye.t,T.w,R.b],pipes:[N.X$],styles:[""]}),Pe})()},15592:(qe,me,h)=>{"use strict";h.d(me,{u:()=>z});var e=h(81889),c=h(20449),g=h(41656),w=h(9244),_=h(32105),b=h(64080),E=h(10036),v=h(87842),I=h(32080),A=(h(33604),h(5e3)),q=h(48966),j=h(96214),G=h(69808),Q=h(47423),he=h(29772),F=h(64901),be=h(32368),pe=h(93075),ye=h(20773),T=h(58956),R=h(24179),L=h(51062);const X=["tree"],Y=["list"],se=["toggle"];function Te(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",10),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().onCreateGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Oe(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().deleteGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&P){const Ce=A.oxw();A.Q6J("disabled",0===Ce.selected.selected.length||void 0!==Ce.tree&&!Ce.tree.removeAuth||void 0!==Ce.list&&!Ce.list.removeAuth),A.xp6(1),A.hij(" ",A.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Se(P,de){1&P&&A._UZ(0,"mat-spinner",12)}function We(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-tree",16,17),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).refreshTable()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("disableRouting",!Ce.routeAuth)("expandAll",Ce.filtering)("groups",Ce.groups)("hideCheckbox",!Ce.deleteAuth)("filterValue",Ce.filterValue)("selection",Ce.selected)}}const ge=function(){return["select","id","name","description","menu"]},Le=function(){return["id","name","description","menu"]};function ue(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-list",18,19),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).refreshTable()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Ce.routeAuth)("displayedColumns",Ce.deleteAuth?A.DdM(8,ge):A.DdM(9,Le))("groups",Ce.groups)("selection",Ce.selected)("filter",Ce.filterValue)("tableId",Ce.tableId)}}function Me(P,de){if(1&P&&(A.TgZ(0,"div",13),A.YNc(1,We,2,6,"perun-web-apps-groups-tree",14),A.YNc(2,ue,2,10,"perun-web-apps-groups-list",15),A.qZA()),2&P){const Ce=A.oxw();A.xp6(1),A.Q6J("ngIf",!Ce.showGroupList),A.xp6(1),A.Q6J("ngIf",Ce.showGroupList)}}let z=(()=>{class P{constructor(Ce,Pe,ce,fe){this.dialog=Ce,this.groupService=Pe,this.guiAuthResolver=ce,this.entityStorageService=fe,this.groups=[],this.selected=new c.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=E.bf,this.filterValue=""}onCreateGroup(){const Ce=(0,w.kZ)();Ce.width="450px",Ce.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Ce).afterClosed().subscribe(ce=>{ce&&(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 Ce=(0,w.kZ)();Ce.width="450px",Ce.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Ce).afterClosed().subscribe(ce=>{ce&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[b.r.GROUP_DEF_MAIL_FOOTER,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(Ce=>{this.groups=Ce,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ce){this.filterValue=Ce,this.filtering=""!==Ce}onMoveGroup(Ce){const Pe=(0,w.kZ)();Pe.width="550px",Pe.data={group:Ce,theme:"group-theme"},this.dialog.open(v.c,Pe).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}}return P.id="GroupSubgroupsComponent",P.\u0275fac=function(Ce){return new(Ce||P)(A.Y36(q.uw),A.Y36(_.ff),A.Y36(I.x4),A.Y36(I.fb))},P.\u0275cmp=A.Xpm({type:P,selectors:[["app-group-subgroups"]],viewQuery:function(Ce,Pe){if(1&Ce&&(A.Gf(X,5),A.Gf(Y,5),A.Gf(se,7)),2&Ce){let ce;A.iGM(ce=A.CRH())&&(Pe.tree=ce.first),A.iGM(ce=A.CRH())&&(Pe.list=ce.first),A.iGM(ce=A.CRH())&&(Pe.toggle=ce.first)}},hostVars:2,hostBindings:function(Ce,Pe){2&Ce&&A.ekj("router-component",Pe.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,"matTooltipDisabled","matTooltip"],["color","warn","class","mr-2","data-cy","delete-group-button","mat-flat-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"],["color","warn","data-cy","delete-group-button","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"disableRouting","expandAll","groups","hideCheckbox","filterValue","selection","moveGroup","refreshTable",4,"ngIf"],[3,"authType","disableMembers","disableRouting","displayedColumns","groups","selection","filter","tableId","moveGroup","refreshTable",4,"ngIf"],[3,"disableRouting","expandAll","groups","hideCheckbox","filterValue","selection","moveGroup","refreshTable"],["tree",""],[3,"authType","disableMembers","disableRouting","displayedColumns","groups","selection","filter","tableId","moveGroup","refreshTable"],["list",""]],template:function(Ce,Pe){if(1&Ce&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return Pe.refreshTable()}),A.qZA(),A.YNc(5,Te,3,3,"button",2),A.TgZ(6,"span",3),A.ALo(7,"translate"),A.YNc(8,Oe,3,4,"button",4),A.qZA(),A.TgZ(9,"perun-web-apps-debounce-filter",5),A.NdJ("filter",function(fe){return Pe.applyFilter(fe)}),A.qZA(),A.TgZ(10,"mat-slide-toggle",6,7),A.NdJ("change",function(){return Pe.selected.clear()})("ngModelChange",function(fe){return Pe.showGroupList=fe}),A._uU(12),A.ALo(13,"translate"),A.qZA(),A.TgZ(14,"label"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.YNc(17,Se,1,0,"mat-spinner",8),A.YNc(18,Me,3,2,"div",9),A.qZA()),2&Ce){const ce=A.MAs(11);A.xp6(2),A.Oqu(A.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),A.xp6(3),A.Q6J("ngIf",Pe.createAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),A.Q6J("matTooltipDisabled",void 0===Pe.tree&&void 0===Pe.list||void 0!==Pe.tree&&Pe.tree.removeAuth||void 0!==Pe.list&&Pe.list.removeAuth),A.xp6(2),A.Q6J("ngIf",Pe.deleteAuth),A.xp6(1),A.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),A.xp6(1),A.Q6J("ngModel",Pe.showGroupList),A.xp6(2),A.Oqu(A.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),A.xp6(2),A.uIk("for",ce.inputId),A.xp6(1),A.Oqu(A.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),A.xp6(2),A.Q6J("ngIf",Pe.loading),A.xp6(1),A.Q6J("ngIf",!Pe.loading)}},directives:[j.t,G.O5,Q.lW,he.gM,F.P,be.Rr,pe.JJ,pe.On,ye.Ou,T.I,R.W],pipes:[L.X$],styles:[""]}),P})()},85243:(qe,me,h)=>{"use strict";h.d(me,{j:()=>Ce});var e=h(32105),c=h(10036),g=h(20449),w=h(9244),_=h(48966),b=h(32080),E=h(64080),v=h(5e3),I=h(51062),N=h(69808),A=h(20773),q=h(7434),j=h(24179),G=h(47423);function Q(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",6)}function he(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"perun-web-apps-immediate-filter",7),v.NdJ("filter",function(ne){return v.CHM(fe),v.oxw().applyFilter(ne)}),v.qZA()}2&Pe&&v.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const F=function(){return["select","id","name","description"]};function be(Pe,ce){if(1&Pe&&v._UZ(0,"perun-web-apps-groups-list",8),2&Pe){const fe=v.oxw();v.Q6J("disableGroups",!0)("disableMembers",!0)("displayedColumns",v.DdM(8,F))("filter",fe.filterValue)("groupsToDisableCheckbox",fe.membersGroups)("disableRouting",!0)("groups",fe.groups)("selection",fe.selection)}}function pe(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div",9),v.TgZ(1,"button",10),v.NdJ("click",function(){return v.CHM(fe),v.oxw().onCancel()}),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"button",11),v.NdJ("click",function(){return v.CHM(fe),v.oxw().onAdd()}),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw();v.xp6(2),v.hij(" ",v.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),v.xp6(2),v.Q6J("disabled",0===fe.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let ye=(()=>{class Pe{constructor(fe,Ze,ne,it,Be,ze,Ue){this.dialogRef=fe,this.data=Ze,this.groupManager=ne,this.memberManager=it,this.notificator=Be,this.translate=ze,this.authResolver=Ue,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[E.r.GROUP_SYNC_ENABLED,E.r.GROUP_LAST_SYNC_STATE,E.r.GROUP_LAST_SYNC_TIMESTAMP,E.r.GROUP_STRUCTURE_SYNC_ENABLED,E.r.GROUP_LAST_STRUCTURE_SYNC_STATE,E.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(fe=>{this.member=fe,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(Ze=>{this.groups=Ze.filter(ne=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[ne])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const fe=this.selection.selected.map(Ze=>Ze.id);this.loading=!0,this.groupManager.addMember(fe,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(fe){this.filterValue=fe}}return Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.ff),v.Y36(e.uq),v.Y36(b.V6),v.Y36(I.sK),v.Y36(b.x4))},Pe.\u0275cmp=v.Xpm({type:Pe,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,"disableGroups","disableMembers","displayedColumns","filter","groupsToDisableCheckbox","disableRouting","groups","selection",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"disableGroups","disableMembers","displayedColumns","filter","groupsToDisableCheckbox","disableRouting","groups","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,Q,1,0,"mat-spinner",1),v.TgZ(5,"div",2),v.YNc(6,he,1,1,"perun-web-apps-immediate-filter",3),v.YNc(7,be,1,9,"perun-web-apps-groups-list",4),v.qZA(),v.YNc(8,pe,7,7,"div",5),v.qZA()),2&fe&&(v.Tol(Ze.theme),v.xp6(2),v.Oqu(v.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(2),v.Q6J("ngIf",!Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading))},directives:[_.uh,N.O5,A.Ou,_.xY,q.L,j.W,_.H8,G.lW],pipes:[I.X$],styles:[""]}),Pe})();var T=h(32075);function R(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",6)}function L(Pe,ce){1&Pe&&v._UZ(0,"th",15)}function X(Pe,ce){if(1&Pe&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&Pe){const fe=ce.$implicit;v.xp6(1),v.Oqu(fe.name)}}function Y(Pe,ce){1&Pe&&v._UZ(0,"tr",17)}function se(Pe,ce){1&Pe&&v._UZ(0,"tr",18)}function Te(Pe,ce){if(1&Pe&&(v.TgZ(0,"div",7),v.TgZ(1,"p"),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div",8),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.TgZ(7,"table",9),v.ynx(8,10),v.YNc(9,L,1,0,"th",11),v.YNc(10,X,2,1,"td",12),v.BQk(),v.YNc(11,Y,1,0,"tr",13),v.YNc(12,se,1,0,"tr",14),v.qZA(),v.qZA()),2&Pe){const fe=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),v.xp6(2),v.Q6J("dataSource",fe.dataSource),v.xp6(4),v.Q6J("matHeaderRowDef",fe.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",fe.displayedColumns)}}let Oe=(()=>{class Pe{constructor(fe,Ze,ne,it,Be){this.dialogRef=fe,this.data=Ze,this.groupManager=ne,this.notificator=it,this.translate=Be,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new T.by(this.data.groups)}onRemove(){this.loading=!0;const fe=this.dataSource.data.map(Ze=>Ze.id);this.groupManager.removeMember(fe,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 Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.ff),v.Y36(b.V6),v.Y36(I.sK))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["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"],["color","warn","mat-flat-button","",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"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,R,1,0,"mat-spinner",1),v.YNc(5,Te,13,9,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return Ze.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return Ze.onRemove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&fe&&(v.Tol(Ze.theme),v.xp6(2),v.Oqu(v.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),v.xp6(2),v.Q6J("disabled",Ze.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[_.uh,N.O5,A.Ou,_.xY,T.BZ,T.w1,T.fO,T.ge,T.Dz,T.ev,T.as,T.XQ,T.nj,T.Gk,_.H8,G.lW],pipes:[I.X$],styles:[""]}),Pe})();h(33604);var We=h(36157),ge=h(96214),Le=h(29772);const ue=["list"];function Me(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(fe),v.oxw().addGroup()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function z(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",9)}const P=function(){return["select","id","name","description","expiration","groupStatus"]};function de(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"perun-web-apps-groups-list",10,11),v.NdJ("refreshTable",function(){return v.CHM(fe),v.oxw().refreshTable()}),v.qZA()}if(2&Pe){const fe=v.oxw();v.Q6J("displayedColumns",v.DdM(9,P))("authType","member-groups")("filter",fe.filterValue)("memberId",fe.memberId)("disableRouting",!fe.routeAuth)("groups",fe.groups)("memberGroupStatus",fe.member.groupStatus)("selection",fe.selection)("tableId",fe.tableId)}}let Ce=(()=>{class Pe{constructor(fe,Ze,ne,it,Be){this.groupsService=fe,this.route=Ze,this.dialog=ne,this.authResolver=it,this.memberService=Be,this.filterValue="",this.tableId=c.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(fe=>{this.memberId=Number(fe.memberId),this.memberService.getMemberById(this.memberId).subscribe(Ze=>{this.member=Ze,this.groupsService.getAllGroups(this.member.voId).subscribe(ne=>{this.allGroups=ne,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,[E.r.MEMBER_DEF_GROUP_EXPIRATION,E.r.MEMBER_GROUP_STATUS]).subscribe(fe=>{this.selection.clear(),this.groups=fe,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const fe={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((Ze,ne)=>Ze||this.authResolver.isAuthorized("addMember_Group_Member_policy",[ne]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[fe,this.groups[0]]))}addGroup(){const fe=(0,w.kZ)();fe.width="850px",fe.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(ne=>ne.id)),theme:"member-theme"},this.dialog.open(ye,fe).afterClosed().subscribe(ne=>{ne&&this.refreshTable()})}removeGroup(){const fe=(0,w.kZ)();fe.width="650px",fe.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Oe,fe).afterClosed().subscribe(ne=>{ne&&this.refreshTable()})}applyFilter(fe){this.filterValue=fe}}return Pe.id="MemberGroupsComponent",Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(e.ff),v.Y36(We.gz),v.Y36(_.uw),v.Y36(b.x4),v.Y36(e.uq))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-member-groups"]],viewQuery:function(fe,Ze){if(1&fe&&v.Gf(ue,5),2&fe){let ne;v.iGM(ne=v.CRH())&&(Ze.list=ne.first)}},hostVars:2,hostBindings:function(fe,Ze){2&fe&&v.ekj("router-component",Ze.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","authType","filter","memberId","disableRouting","groups","memberGroupStatus","selection","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","authType","filter","memberId","disableRouting","groups","memberGroupStatus","selection","tableId","refreshTable"],["list",""]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"perun-web-apps-refresh-button",1),v.NdJ("refresh",function(){return Ze.refreshTable()}),v.qZA(),v.YNc(4,Me,3,3,"button",2),v.TgZ(5,"span",3),v.ALo(6,"translate"),v.TgZ(7,"button",4),v.NdJ("click",function(){return Ze.removeGroup()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.qZA(),v.TgZ(10,"perun-web-apps-immediate-filter",5),v.NdJ("filter",function(it){return Ze.applyFilter(it)}),v.qZA(),v.YNc(11,z,1,0,"mat-spinner",6),v.YNc(12,de,2,10,"perun-web-apps-groups-list",7)),2&fe&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),v.xp6(3),v.Q6J("ngIf",Ze.addAuth),v.xp6(1),v.s9C("matTooltip",v.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),v.Q6J("matTooltipDisabled",void 0===Ze.list||void 0!==Ze.list&&Ze.list.removeAuth),v.xp6(2),v.Q6J("disabled",0===Ze.selection.selected.length||void 0!==Ze.list&&!Ze.list.removeAuth),v.xp6(1),v.hij(" ",v.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),v.xp6(2),v.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),v.xp6(1),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading))},directives:[ge.t,N.O5,G.lW,Le.gM,q.L,A.Ou,j.W],pipes:[I.X$],styles:[""]}),Pe})()},94856:(qe,me,h)=>{"use strict";h.d(me,{c:()=>pe});var e=h(32105),c=h(10036),g=h(93075),w=h(69808),_=h(32080),b=h(5e3),E=h(96214),v=h(47423),I=h(67322),N=h(74107),A=h(90508),q=h(64901),j=h(39798),G=h(77446),Q=h(9146),he=h(51062);function F(ye,T){if(1&ye){const R=b.EpF();b.TgZ(0,"button",15),b.NdJ("click",function(){return b.CHM(R),b.oxw().showDetails(!0)}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ye&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function be(ye,T){if(1&ye){const R=b.EpF();b.TgZ(0,"button",15),b.NdJ("click",function(){return b.CHM(R),b.oxw().showDetails(!1)}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ye&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let pe=(()=>{class ye{constructor(R,L){this.registrarManager=R,this.entityStorageService=L,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=c.Jf,this.tableId=c.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,w.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,w.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 R=new Date;return R.setDate(R.getDate()-365),R}showGroupApplications(R){this.showGroupApps=R.checked,this.currentColumns=this.refreshColumns()}showDetails(R){this.showAllDetails=R,this.currentColumns=this.refreshColumns()}applyFilter(R){this.filterValue=R}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(R=>"groupName"!==R&&"groupId"!==R):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(R=>"groupName"!==R)}}return ye.id="VoApplicationsComponent",ye.\u0275fac=function(R){return new(R||ye)(b.Y36(e.tk),b.Y36(_.fb))},ye.\u0275cmp=b.Xpm({type:ye,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(R,L){2&R&&b.ekj("router-component",L.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,"endDate","startDate","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(R,L){1&R&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return L.refresh=!L.refresh}),b.qZA(),b.YNc(5,F,3,3,"button",2),b.YNc(6,be,3,3,"button",2),b.TgZ(7,"mat-form-field",3),b.TgZ(8,"mat-label"),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"mat-select",4),b.NdJ("selectionChange",function(){return L.select()})("valueChange",function(Y){return L.state=Y}),b.TgZ(12,"mat-option",5),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.TgZ(15,"mat-option",6),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"mat-option",7),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-option",8),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.TgZ(24,"mat-option",9),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"mat-option",10),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"perun-web-apps-debounce-filter",11),b.NdJ("filter",function(Y){return L.applyFilter(Y)}),b.qZA(),b.TgZ(31,"perun-web-apps-date-range",12),b.NdJ("datePicker",function(){return L.select()}),b.qZA(),b.TgZ(32,"div"),b.TgZ(33,"mat-checkbox",13),b.NdJ("change",function(Y){return L.showGroupApplications(Y)}),b._uU(34),b.ALo(35,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(36,"div"),b._UZ(37,"app-applications-dynamic-list",14),b.qZA()),2&R&&(b.xp6(1),b.Oqu(b.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),b.xp6(4),b.Q6J("ngIf",!L.showAllDetails),b.xp6(1),b.Q6J("ngIf",L.showAllDetails),b.xp6(3),b.Oqu(b.lcZ(10,27,"APPLICATIONS_LIST.STATE")),b.xp6(2),b.Q6J("value",L.state),b.xp6(2),b.Oqu(b.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),b.xp6(3),b.Oqu(b.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),b.xp6(3),b.Oqu(b.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),b.xp6(3),b.Oqu(b.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),b.xp6(3),b.Oqu(b.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),b.xp6(3),b.Oqu(b.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),b.xp6(2),b.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),b.xp6(1),b.Q6J("endDate",L.endDate)("startDate",L.startDate),b.xp6(2),b.Q6J("checked",L.showGroupApps),b.xp6(1),b.hij(" ",b.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),b.xp6(3),b.Q6J("tableId",L.showAllDetails?L.detailTableId:L.tableId)("searchString",L.filterValue)("displayedColumns",L.currentColumns)("states",L.currentStates)("dateFrom",L.startDate.value)("dateTo",L.endDate.value)("includeGroupApps",L.showGroupApps)("refreshTable",L.refresh)("vo",L.vo))},directives:[E.t,w.O5,v.lW,I.KE,I.hX,N.gD,A.ey,q.P,j.S,G.oG,Q.S],pipes:[he.X$],styles:[""]}),ye})()},4732:(qe,me,h)=>{"use strict";h.d(me,{G:()=>z});var e=h(81889),c=h(41656),g=h(20449),w=h(87842),_=h(9244),b=h(32105),E=h(10036),v=h(64080),I=h(32080),A=(h(33604),h(5e3)),q=h(48966),j=h(96214),G=h(69808),Q=h(47423),he=h(29772),F=h(64901),be=h(32368),pe=h(93075),ye=h(20773),T=h(58956),R=h(24179),L=h(98380),X=h(51062);const Y=["toggle"],se=["tree"],Te=["list"];function Oe(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().onCreateGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Se(P,de){1&P&&A._UZ(0,"mat-spinner",12)}function We(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-tree",16,17),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).loadAllGroups()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("expandAll",Ce.filtering)("disableRouting",!Ce.routeAuth)("groups",Ce.groups)("selection",Ce.selected)("filterValue",Ce.filterValue)("vo",Ce.vo)}}const ge=function(){return["select","id","name","description","menu"]};function Le(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-list",18,19),A.NdJ("refreshTable",function(){return A.CHM(Ce),A.oxw(2).loadAllGroups()})("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("authType","vo-groups")("disableMembers",!0)("displayedColumns",A.DdM(8,ge))("disableRouting",!Ce.routeAuth)("groups",Ce.groups)("selection",Ce.selected)("filter",Ce.filterValue)("tableId",Ce.tableId)}}function ue(P,de){if(1&P&&(A.TgZ(0,"div",13),A.YNc(1,We,2,6,"perun-web-apps-groups-tree",14),A.YNc(2,Le,2,9,"perun-web-apps-groups-list",15),A.qZA()),2&P){const Ce=A.oxw();A.xp6(1),A.Q6J("ngIf",!Ce.showGroupList),A.xp6(1),A.Q6J("ngIf",Ce.showGroupList)}}function Me(P,de){1&P&&(A.TgZ(0,"perun-web-apps-alert",20),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let z=(()=>{class P{constructor(Ce,Pe,ce,fe){this.dialog=Ce,this.groupService=Pe,this.authResolver=ce,this.entityStorageService=fe,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=E.rc}onCreateGroup(){const Ce=(0,_.kZ)();Ce.width="450px",Ce.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Ce).afterClosed().subscribe(ce=>{ce&&(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(){var Ce,Pe;return(null===(Ce=this.tree)||void 0===Ce?void 0:Ce.removeAuth)||(null===(Pe=this.list)||void 0===Pe?void 0:Pe.removeAuth)}deleteGroup(){const Ce=(0,_.kZ)();Ce.width="450px",Ce.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(c.P,Ce).afterClosed().subscribe(ce=>{ce&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Ce){const Pe=(0,_.kZ)();Pe.width="550px",Pe.data={group:Ce,theme:"vo-theme"},this.dialog.open(w.c,Pe).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[v.r.GROUP_SYNC_ENABLED,v.r.GROUP_LAST_SYNC_STATE,v.r.GROUP_LAST_SYNC_TIMESTAMP,v.r.GROUP_STRUCTURE_SYNC_ENABLED,v.r.GROUP_LAST_STRUCTURE_SYNC_STATE,v.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ce=>{this.groups=Ce,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ce){this.filterValue=Ce,this.filtering=""!==Ce}}return P.id="VoGroupsComponent",P.\u0275fac=function(Ce){return new(Ce||P)(A.Y36(q.uw),A.Y36(b.ff),A.Y36(I.x4),A.Y36(I.fb))},P.\u0275cmp=A.Xpm({type:P,selectors:[["app-vo-groups"]],viewQuery:function(Ce,Pe){if(1&Ce&&(A.Gf(Y,7),A.Gf(se,5),A.Gf(Te,5)),2&Ce){let ce;A.iGM(ce=A.CRH())&&(Pe.toggle=ce.first),A.iGM(ce=A.CRH())&&(Pe.tree=ce.first),A.iGM(ce=A.CRH())&&(Pe.list=ce.first)}},hostVars:2,hostBindings:function(Ce,Pe){2&Ce&&A.ekj("router-component",Pe.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","data-cy","create-group-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","data-cy","delete-group-button","mat-flat-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"],["color","accent","data-cy","create-group-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"expandAll","disableRouting","groups","selection","filterValue","vo","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"authType","disableMembers","displayedColumns","disableRouting","groups","selection","filter","tableId","refreshTable","moveGroup",4,"ngIf"],["theme","vo-theme",3,"expandAll","disableRouting","groups","selection","filterValue","vo","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"authType","disableMembers","displayedColumns","disableRouting","groups","selection","filter","tableId","refreshTable","moveGroup"],["list",""],["alert_type","warn"]],template:function(Ce,Pe){if(1&Ce&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return Pe.loadAllGroups()}),A.qZA(),A.YNc(5,Oe,3,3,"button",2),A.TgZ(6,"span",3),A.ALo(7,"translate"),A.TgZ(8,"button",4),A.NdJ("click",function(){return Pe.deleteGroup()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.qZA(),A.TgZ(11,"perun-web-apps-debounce-filter",5),A.NdJ("filter",function(fe){return Pe.applyFilter(fe)}),A.qZA(),A.TgZ(12,"mat-slide-toggle",6,7),A.NdJ("change",function(){return Pe.removeAllGroups()})("ngModelChange",function(fe){return Pe.showGroupList=fe}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.TgZ(16,"label"),A._uU(17),A.ALo(18,"translate"),A.qZA(),A.YNc(19,Se,1,0,"mat-spinner",8),A.YNc(20,ue,3,2,"div",9),A.YNc(21,Me,3,3,"perun-web-apps-alert",10),A.qZA()),2&Ce){const ce=A.MAs(13);A.xp6(2),A.Oqu(A.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),A.xp6(3),A.Q6J("ngIf",Pe.createAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),A.Q6J("matTooltipDisabled",void 0===Pe.tree&&void 0===Pe.list||Pe.disableTooltip()),A.xp6(2),A.Q6J("disabled",0===Pe.selected.selected.length||Pe.disableRemove()),A.xp6(1),A.hij(" ",A.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),A.xp6(1),A.Q6J("ngModel",Pe.showGroupList),A.xp6(2),A.Oqu(A.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),A.xp6(2),A.uIk("for",ce.inputId),A.xp6(1),A.Oqu(A.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),A.xp6(2),A.Q6J("ngIf",Pe.loading),A.xp6(1),A.Q6J("ngIf",!Pe.loading&&0!==Pe.groups.length),A.xp6(1),A.Q6J("ngIf",0===Pe.groups.length&&!Pe.loading)}},directives:[j.t,G.O5,Q.lW,he.gM,F.P,be.Rr,pe.JJ,pe.On,ye.Ou,T.I,R.W,L.w],pipes:[X.X$],styles:[""]}),P})()},81847:(qe,me,h)=>{"use strict";h.d(me,{y:()=>ge});var e=h(20449),c=h(32080),g=h(53455),w=h(32105),_=h(64080),b=h(93075),E=h(10036),v=h(9244),I=h(74414),N=h(51525),A=h(5e3),q=h(48966),j=h(96214),G=h(29772),Q=h(69808),he=h(47423),F=h(67322),be=h(74107),pe=h(90508),ye=h(64901),T=h(20773),R=h(1903),L=h(51062),X=h(20551);function Y(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onAddMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&Le){const Me=A.oxw();A.Q6J("disabled",Me.blockManualMemberAdding),A.xp6(1),A.hij(" ",A.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function se(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onInviteMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&Le&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function Te(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",16),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onRemoveMembers()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&Le){const Me=A.oxw();A.Q6J("disabled",Me.selection.isEmpty()),A.xp6(1),A.hij(" ",A.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Oe(Le,ue){if(1&Le&&(A.TgZ(0,"mat-option",17),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&Le){const Me=ue.$implicit;A.Q6J("value",Me),A.xp6(1),A.Oqu(A.lcZ(2,2,Me))}}function Se(Le,ue){1&Le&&A._UZ(0,"mat-spinner",18)}function We(Le,ue){if(1&Le&&A._UZ(0,"perun-web-apps-members-dynamic-list",19),2&Le){const Me=A.oxw();A.Q6J("attrNames",Me.attrNames)("selection",Me.selection)("tableId",Me.tableId)("displayedColumns",Me.displayedColumns)("updateTable",Me.updateTable)("searchString",Me.searchString)("selectedStatuses",Me.selectedStatuses)("voId",Me.vo.id)}}let ge=(()=>{class Le{constructor(Me,z,P,de,Ce,Pe,ce){this.notificator=Me,this.dialog=z,this.authzService=P,this.storeService=de,this.attributesManager=Ce,this.apiRequest=Pe,this.entityStorageService=ce,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[_.r.MEMBER_DEF_ORGANIZATION,_.r.MEMBER_DEF_MAIL,_.r.USER_DEF_ORGANIZATION,_.r.USER_DEF_PREFERRED_MAIL,_.r.MEMBER_DEF_EXPIRATION,_.r.MEMBER_LIFECYCLE_ALTERABLE],this.statuses=new b.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=E.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(Me){this.searchString=Me,this.selection.clear()}onAddMember(){const Me=(0,v.kZ)();Me.width="1000px",Me.data={voId:this.vo.id},this.dialog.open(N.H,Me).afterClosed().subscribe(P=>{P&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Me=(0,v.kZ)();Me.width="450px",Me.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Me).afterClosed().subscribe(P=>{P&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Me=(0,v.kZ)();Me.width="650px",Me.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(I.R,Me)}displaySelectedStatuses(){if(this.selectedStatuses.length===this.statusList.length)return"ALL";const Me=this.statuses.value;return Me?`${Me[0]} ${Me.length>1?"(+"+(Me.length-1).toString()+" "+(2===Me.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Me){return new Promise(z=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Me,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(P=>{this.blockManualMemberAdding=null!==P.value,z()},P=>{const de=P.error;"PrivilegeException"!==de.name&&this.notificator.showError(de.name),z()})})}changeStatuses(){this.selection.clear(),this.selectedStatuses=this.statuses.value}refreshTable(){this.selection.clear(),this.updateTable=!this.updateTable}}return Le.id="VoMembersComponent",Le.\u0275fac=function(Me){return new(Me||Le)(A.Y36(c.V6),A.Y36(q.uw),A.Y36(c.x4),A.Y36(c.d6),A.Y36(w.H8),A.Y36(c.F5),A.Y36(c.fb))},Le.\u0275cmp=A.Xpm({type:Le,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Me,z){2&Me&&A.ekj("router-component",z.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltip"],["color","accent","class","mr-2 action-button","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","data-cy","remove-members","class","mr-2","mat-flat-button","",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,"attrNames","selection","tableId","displayedColumns","updateTable","searchString","selectedStatuses","voId",4,"ngIf"],["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,"click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"attrNames","selection","tableId","displayedColumns","updateTable","searchString","selectedStatuses","voId"]],template:function(Me,z){1&Me&&(A.TgZ(0,"div",0),A.TgZ(1,"h1",1),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",2),A.TgZ(5,"perun-web-apps-refresh-button",3),A.NdJ("click",function(){return z.refreshTable()}),A.qZA(),A.TgZ(6,"div",4),A.ALo(7,"translate"),A.YNc(8,Y,3,4,"button",5),A.qZA(),A.YNc(9,se,3,3,"button",6),A.YNc(10,Te,3,4,"button",7),A.TgZ(11,"mat-form-field",8),A.TgZ(12,"mat-label"),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-select",9),A.NdJ("closed",function(){return z.changeStatuses()}),A.TgZ(16,"mat-select-trigger"),A._uU(17),A.ALo(18,"memberStatus"),A.qZA(),A.YNc(19,Oe,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(20,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(de){return z.onSearchByString(de)}),A.qZA(),A.qZA(),A.YNc(21,Se,1,0,"mat-spinner",12),A.YNc(22,We,1,8,"perun-web-apps-members-dynamic-list",13),A.qZA()),2&Me&&(A.xp6(2),A.Oqu(A.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),A.xp6(4),A.s9C("matTooltip",A.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),A.Q6J("matTooltipDisabled",!z.blockManualMemberAdding),A.xp6(2),A.Q6J("ngIf",z.addAuth),A.xp6(1),A.Q6J("ngIf",z.inviteAuth),A.xp6(1),A.Q6J("ngIf",z.removeAuth),A.xp6(3),A.Oqu(A.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),A.xp6(2),A.Q6J("formControl",z.statuses),A.xp6(2),A.hij(" ",A.lcZ(18,19,z.displaySelectedStatuses())," "),A.xp6(2),A.Q6J("ngForOf",z.statusList),A.xp6(1),A.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),A.xp6(1),A.Q6J("ngIf",z.loading),A.xp6(1),A.Q6J("ngIf",!z.loading))},directives:[j.t,G.gM,Q.O5,he.lW,F.KE,F.hX,be.gD,b.JJ,b.oH,be.$L,Q.sg,pe.ey,ye.P,T.Ou,R.m],pipes:[L.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}"]}),Le})()},68056:(qe,me,h)=>{"use strict";h.d(me,{z:()=>pe});var e=h(20449),c=h(32105),g=h(533),w=h(10036),_=h(9244),b=h(32080),E=h(5e3),v=h(48966),I=h(96214),N=h(69808),A=h(47423),q=h(7434),j=h(20773),G=h(62109),Q=h(51062);function he(ye,T){if(1&ye){const R=E.EpF();E.TgZ(0,"button",6),E.NdJ("click",function(){return E.CHM(R),E.oxw().deleteSelectedResources()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&ye){const R=E.oxw();E.Q6J("disabled",0===R.selected.selected.length),E.xp6(1),E.hij(" ",E.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function F(ye,T){1&ye&&E._UZ(0,"mat-spinner",7)}function be(ye,T){if(1&ye&&E._UZ(0,"perun-web-apps-resources-list",8),2&ye){const R=E.oxw();E.Q6J("disableRouting",!R.routeAuth)("filterValue",R.filterValue)("resources",R.resources)("routingVo",!0)("displayedColumns",R.displayedColumns)("selection",R.selected)("tableId",R.tableId)}}let pe=(()=>{class ye{constructor(R,L,X,Y){this.resourcesManager=R,this.dialog=L,this.authResolver=X,this.entityStorageService=Y,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=w.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(R=>{this.resources=R,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(R){this.filterValue=R}deleteSelectedResources(){const R=(0,_.kZ)();R.width="450px",R.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,R).afterClosed().subscribe(X=>{X&&this.refreshTable()})}}return ye.id="VoResourcesPreviewComponent",ye.\u0275fac=function(R){return new(R||ye)(E.Y36(c.xk),E.Y36(v.uw),E.Y36(b.x4),E.Y36(b.fb))},ye.\u0275cmp=E.Xpm({type:ye,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(R,L){2&R&&E.ekj("router-component",L.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,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","tableId",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","tableId"]],template:function(R,L){1&R&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"perun-web-apps-refresh-button",1),E.NdJ("refresh",function(){return L.refreshTable()}),E.qZA(),E.YNc(5,he,3,4,"button",2),E.TgZ(6,"perun-web-apps-immediate-filter",3),E.NdJ("filter",function(Y){return L.applyFilter(Y)}),E.qZA(),E.YNc(7,F,1,0,"mat-spinner",4),E.YNc(8,be,1,7,"perun-web-apps-resources-list",5),E.qZA()),2&R&&(E.xp6(2),E.Oqu(E.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),E.xp6(3),E.Q6J("ngIf",L.removeAuth),E.xp6(1),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",L.loading),E.xp6(1),E.Q6J("ngIf",!L.loading))},directives:[I.t,N.O5,A.lW,q.L,j.Ou,G.C],pipes:[Q.X$],styles:[""]}),ye})()},24219:(qe,me,h)=>{"use strict";h.d(me,{z:()=>_e});var e=h(32080),c=h(32105),g=h(5e3),w=h(96214),_=h(53251),b=h(69808),E=h(98380),v=h(32075),I=h(20773),N=h(81125),A=h(4834),q=h(51062);function j(ae,Ae){1&ae&&g._UZ(0,"mat-spinner",2)}function G(ae,Ae){if(1&ae&&(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&ae){const ee=g.oxw().$implicit,Ne=g.oxw(2);g.xp6(4),g.HOy(" ",Ne.getErrorCountStates(ee)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",ee.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function Q(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function he(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.id)}}function F(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function be(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.service.name)}}function pe(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function ye(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.status)}}function T(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function R(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function L(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function X(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,R,3,4,"div",25),g.YNc(2,L,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.schedule)("ngIfElse",Ne)}}function Y(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function se(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function Te(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Oe(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,se,3,4,"div",25),g.YNc(2,Te,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.startTime)("ngIfElse",Ne)}}function Se(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function We(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function ge(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Le(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,We,3,4,"div",25),g.YNc(2,ge,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.endTime)("ngIfElse",Ne)}}function ue(ae,Ae){1&ae&&g._UZ(0,"tr",28)}const Me=function(ae,Ae,ee){return{redTableItem:ae,greenTableItem:Ae,yellowTableItem:ee}};function z(ae,Ae){if(1&ae&&g._UZ(0,"tr",29),2&ae){const ee=Ae.$implicit;g.Q6J("ngClass",g.kEZ(1,Me,"ERROR"===ee.status||"SENDERROR"===ee.status||"GENERROR"===ee.status,"DONE"===ee.status,"WARNING"===ee.status))}}function P(ae,Ae){if(1&ae&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,Q,3,3,"th",14),g.YNc(3,he,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,F,3,3,"th",14),g.YNc(6,be,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,pe,3,3,"th",14),g.YNc(9,ye,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,T,3,3,"th",14),g.YNc(12,X,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,Y,3,3,"th",14),g.YNc(15,Oe,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Se,3,3,"th",14),g.YNc(18,Le,4,2,"td",15),g.BQk(),g.YNc(19,ue,1,0,"tr",21),g.YNc(20,z,1,5,"tr",22),g.qZA()),2&ae){const ee=g.oxw(2).$implicit,Ne=g.oxw(2);g.Q6J("dataSource",Ne.datasources[Ne.propagation.indexOf(ee)]),g.xp6(19),g.Q6J("matHeaderRowDef",Ne.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",Ne.displayedColumns)}}function de(ae,Ae){1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Ce(ae,Ae){if(1&ae&&(g._UZ(0,"mat-divider"),g.YNc(1,P,21,3,"table",11),g.YNc(2,de,3,3,"div",8)),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==ee.taskList.length),g.xp6(1),g.Q6J("ngIf",0===ee.taskList.length)}}function Pe(ae,Ae){if(1&ae&&(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,G,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Ce,3,2,"ng-template",9),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.oxw(2);g.xp6(5),g.hij(" ",ee.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==Ne.getErrorCountStates(ee))}}function ce(ae,Ae){if(1&ae&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,Pe,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&ae){const ee=g.oxw();g.xp6(2),g.Q6J("ngForOf",ee.propagation)}}let fe=(()=>{class ae{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(ee){let Ne=0;for(const V of ee.taskList)("ERROR"===V.status||"GENERROR"===V.status||"SENDERROR"===V.status)&&Ne++;return Ne}getDataSource(){this.datasources=[];for(const ee of this.propagation)this.datasources.push(new v.by(ee.taskList))}ngOnChanges(){this.getDataSource()}}return ae.\u0275fac=function(ee){return new(ee||ae)},ae.\u0275cmp=g.Xpm({type:ae,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"],["height","28","src","assets/img/PerunWebImages/resource-black.svg","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["class","w-100","mat-table","",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(ee,Ne){1&ee&&(g.YNc(0,j,1,0,"mat-spinner",0),g.YNc(1,ce,3,1,"div",1)),2&ee&&(g.Q6J("ngIf",Ne.loading),g.xp6(1),g.Q6J("ngIf",!Ne.loading))},directives:[b.O5,I.Ou,N.pp,b.sg,N.ib,N.yz,N.yK,N.u4,N.HS,A.d,v.BZ,v.w1,v.fO,v.ge,v.Dz,v.ev,v.as,v.XQ,v.nj,v.Gk,b.mk],pipes:[q.X$,b.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}"]}),ae})();function Ze(ae,Ae){if(1&ae&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&ae){const ee=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(ee.errorPropagation.length)}}function ne(ae,Ae){1&ae&&(g.TgZ(0,"perun-web-apps-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function it(ae,Ae){if(1&ae&&(g.YNc(0,ne,3,3,"perun-web-apps-alert",6),g._UZ(1,"app-state-tab",7)),2&ae){const ee=g.oxw();g.Q6J("ngIf",!ee.loading&&0===ee.errorPropagation.length),g.xp6(1),g.Q6J("loading",ee.loading)("propagation",ee.errorPropagation)}}function Be(ae,Ae){if(1&ae&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&ae){const ee=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(ee.okPropagation.length)}}function ze(ae,Ae){1&ae&&(g.TgZ(0,"perun-web-apps-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function Ue(ae,Ae){if(1&ae&&(g.YNc(0,ze,3,3,"perun-web-apps-alert",6),g._UZ(1,"app-state-tab",7)),2&ae){const ee=g.oxw();g.Q6J("ngIf",!ee.loading&&0===ee.okPropagation.length),g.xp6(1),g.Q6J("loading",ee.loading)("propagation",ee.okPropagation)}}let _e=(()=>{class ae{constructor(ee,Ne){this.taskService=ee,this.entityStorageService=Ne,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(ee=>{this.resourceStates=ee,this.okPropagation=[],this.errorPropagation=[];for(const Ne of ee){let V=!0;for(const H of Ne.taskList)if("ERROR"===H.status||"GENERROR"===H.status||"SENDERROR"===H.status){V=!1;break}V?this.okPropagation.push(Ne):this.errorPropagation.push(Ne)}this.loading=!1},()=>this.loading=!1)}}return ae.id="VoResourcesStatesComponent",ae.\u0275fac=function(ee){return new(ee||ae)(g.Y36(c.Ob),g.Y36(e.fb))},ae.\u0275cmp=g.Xpm({type:ae,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(ee,Ne){2&ee&&g.ekj("router-component",Ne.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(ee,Ne){1&ee&&(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 Ne.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(H){return Ne.selectedIndex=H}),g.TgZ(5,"mat-tab"),g.YNc(6,Ze,4,4,"ng-template",3),g.YNc(7,it,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,Be,4,4,"ng-template",3),g.YNc(10,Ue,2,3,"ng-template",4),g.qZA(),g.qZA()),2&ee&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",Ne.selectedIndex))},directives:[w.t,_.SP,_.uX,_.uD,_.Vc,b.O5,E.w,fe],pipes:[q.X$],styles:[""]}),ae})()},10369:(qe,me,h)=>{"use strict";h.d(me,{w:()=>Oe});var e=h(1186),c=h(32080),g=h(95502),w=h(51076),_=h(83491),b=h(32105),E=h(9244),v=h(5e3),I=h(48966),N=h(51062),A=h(36157),q=h(69808),j=h(20773),G=h(25245),Q=h(29772),he=h(47423),F=h(4834),be=h(96214),pe=h(98380),ye=h(157);function T(Se,We){1&Se&&v._UZ(0,"mat-spinner",13)}function R(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",21),v.NdJ("click",function(){return v.CHM(ge),v.oxw(2).settings()}),v.TgZ(1,"i",10),v._uU(2,"edit"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Se&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function L(Se,We){if(1&Se&&(v.TgZ(0,"div",14),v.TgZ(1,"div",15),v.TgZ(2,"div",16),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.TgZ(5,"div"),v.TgZ(6,"span",16),v._uU(7),v.ALo(8,"translate"),v.qZA(),v._uU(9,": "),v.TgZ(10,"mat-icon",17),v._uU(11,"arrow_right_alt"),v.qZA(),v._uU(12),v.ALo(13,"translate"),v.ALo(14,"translate"),v.TgZ(15,"mat-icon",18),v._uU(16,"restore"),v.qZA(),v._uU(17),v.ALo(18,"translate"),v.ALo(19,"translate"),v.qZA(),v.qZA(),v.TgZ(20,"div",19),v.YNc(21,R,5,3,"button",20),v.qZA(),v.qZA()),2&Se){const ge=v.oxw();v.xp6(3),v.AsE(" ",v.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",ge.applicationForm.moduleClassName," "),v.xp6(4),v.Oqu(v.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),v.xp6(5),v.hij(" ",ge.applicationForm.automaticApproval?v.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),v.xp6(5),v.hij(" ",ge.applicationForm.automaticApprovalExtension?v.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),v.xp6(4),v.Q6J("ngIf",ge.editAuth)}}function X(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",22),v.NdJ("click",function(){return v.CHM(ge),v.oxw().add()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Se&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function Y(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",23),v.NdJ("click",function(){return v.CHM(ge),v.oxw().save()}),v.TgZ(1,"i",10),v._uU(2,"save"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&Se){const ge=v.oxw();v.Q6J("disabled",!ge.itemsChanged),v.xp6(3),v.hij(" ",v.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function se(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){return v.CHM(ge),v.oxw().copy()}),v.TgZ(1,"i",10),v._uU(2,"file_copy"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Se&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function Te(Se,We){1&Se&&(v.TgZ(0,"perun-web-apps-alert",25),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Se&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Oe=(()=>{class Se{constructor(ge,Le,ue,Me,z,P,de,Ce){this.registrarManager=ge,this.dialog=Le,this.notificator=ue,this.translate=Me,this.router=z,this.authResolver=P,this.voService=de,this.entityStorageService=Ce,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(ge=>{this.applicationForm=ge,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(Le=>{this.applicationFormItems=Le,this.loading=!1})})}add(){let ge=(0,E.kZ)();ge.width="500px",ge.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(w.J,ge).afterClosed().subscribe(ue=>{ue&&(this.applicationFormItems=Object.assign([],ue[0]),ge=(0,E.kZ)(),ge.width="600px",ge.height="600px",ge.data={voId:this.vo.id,applicationFormItem:ue[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(_._,ge),this.itemsChanged=!0)})}copy(){const ge=(0,E.kZ)();ge.width="500px",ge.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,ge).afterClosed().subscribe(ue=>{ue&&this.updateFormItems()})}settings(){const ge=(0,E.kZ)();ge.width="400px",ge.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,ge).afterClosed().subscribe(ue=>{ue&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Me=>{this.notificator.showSuccess(Me)}),this.applicationForm=ue)})}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(ge=>{this.applicationFormItems=ge,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let ge=0;for(const Le of this.applicationFormItems)Le.ordnum=ge,Le.forDelete||ge++;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(Le=>{this.notificator.showSuccess(Le)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(ge=>ge.forDelete=!0),this.itemsChanged=!0}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"]}}return Se.id="VoSettingsApplicationFormComponent",Se.\u0275fac=function(ge){return new(ge||Se)(v.Y36(b.tk),v.Y36(I.uw),v.Y36(c.V6),v.Y36(N.sK),v.Y36(A.F0),v.Y36(c.x4),v.Y36(b.YF),v.Y36(c.fb))},Se.\u0275cmp=v.Xpm({type:Se,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(ge,Le){2&ge&&v.ekj("router-component",Le.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"],["color","accent","class","mr-2 action-button","data-cy","add-form-item","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","data-cy","save-application-form","class","mr-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"applicationForm","applicationFormItems","loading","displayedColumns","refreshApplicationForm","theme","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"],["class","ml-auto action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["color","accent","data-cy","add-form-item","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","accent","data-cy","save-application-form","mat-flat-button","",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(ge,Le){1&ge&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.YNc(3,T,1,0,"mat-spinner",1),v.TgZ(4,"div"),v.YNc(5,L,22,18,"div",2),v._UZ(6,"mat-divider",3),v.TgZ(7,"div",4),v.TgZ(8,"perun-web-apps-refresh-button",5),v.NdJ("refresh",function(){return Le.updateFormItems()}),v.qZA(),v.YNc(9,X,3,3,"button",6),v.YNc(10,Y,5,4,"button",7),v.YNc(11,se,5,3,"button",8),v.TgZ(12,"button",9),v.NdJ("click",function(){return Le.preview()}),v.TgZ(13,"i",10),v._uU(14,"search"),v.qZA(),v._uU(15),v.ALo(16,"translate"),v.qZA(),v.qZA(),v.YNc(17,Te,3,3,"perun-web-apps-alert",11),v.TgZ(18,"app-application-form-list",12),v.NdJ("applicationFormItemsChange",function(){return Le.changeItems()}),v.qZA(),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),v.xp6(2),v.Q6J("ngIf",Le.loading),v.xp6(2),v.Q6J("ngIf",!Le.loading),v.xp6(4),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("ngIf",Le.editAuth),v.xp6(4),v.hij(" ",v.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),v.xp6(2),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("applicationForm",Le.applicationForm)("applicationFormItems",Le.applicationFormItems)("loading",Le.loading)("displayedColumns",Le.displayedColumns)("refreshApplicationForm",Le.refreshApplicationForm)("theme","vo-theme"))},directives:[q.O5,j.Ou,G.Hw,Q.gM,he.lW,F.d,be.t,pe.w,ye.b],pipes:[N.X$],styles:[""]}),Se})()},3246:(qe,me,h)=>{"use strict";h.d(me,{T:()=>Dn});var e=h(32105),c=h(20449),g=h(10036),w=h(9244),_=h(48966),b=h(32080),E=h(93075),v=h(69808),I=h(45323),N=h(28499),A=h(5e3),q=h(51062),j=h(20773),G=h(92081),Q=h(98380),he=h(67322),F=h(98833),be=h(74107),pe=h(90508),ye=h(29772),T=h(77446),R=h(13469),L=h(79814),X=h(74250),Y=h(86856);let se=(()=>{class St{constructor(){this.expiration="never",this.datePicker=new A.vpe,this.expirationControl=new E.NI(null)}ngOnInit(){const st=new Date;this.minDate=new Date(st.getFullYear(),st.getMonth(),st.getDate()),this.expirationControl.setValue((0,v.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,v.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,v.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return St.\u0275fac=function(st){return new(st||St)},St.\u0275cmp=A.Xpm({type:St,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(st,kt){if(1&st){const Fe=A.EpF();A.TgZ(0,"mat-radio-group",0),A.NdJ("ngModelChange",function(Je){return kt.expiration=Je})("change",function(){return kt.emitDate()}),A.TgZ(1,"mat-radio-button",1),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"mat-radio-button",2),A.TgZ(5,"mat-form-field",3),A.NdJ("click",function(){return A.CHM(Fe),A.MAs(12).open()}),A.TgZ(6,"mat-label"),A._uU(7),A.ALo(8,"translate"),A.qZA(),A.TgZ(9,"input",4),A.NdJ("dateChange",function(){return kt.setExpiration()}),A.qZA(),A._UZ(10,"mat-datepicker-toggle",5),A._UZ(11,"mat-datepicker",6,7),A.qZA(),A.qZA(),A.qZA()}if(2&st){const Fe=A.MAs(12);A.Q6J("ngModel",kt.expiration),A.xp6(2),A.hij(" ",A.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),A.xp6(2),A.s9C("value",kt.expirationControl.value),A.xp6(3),A.Oqu(A.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),A.xp6(2),A.Q6J("min",kt.minDate)("formControl",kt.expirationControl)("matDatepicker",Fe),A.xp6(1),A.Q6J("for",Fe)("disabled",!1),A.xp6(1),A.Q6J("disabled",!1)}},directives:[L.VQ,E.JJ,E.On,L.U0,he.KE,he.hX,F.Nt,E.Fj,Y.hl,E.oH,Y.nW,he.R9,Y.Mq],pipes:[q.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),St})();var Te=h(25245),Oe=h(47423),Se=h(31359);const We=["stepper"];function ge(St,Kt){1&St&&(A.TgZ(0,"h1",4),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function Le(St,Kt){1&St&&A._UZ(0,"mat-spinner",5)}function ue(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Me(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function z(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function P(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function de(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Ce(St,Kt){if(1&St&&(A.TgZ(0,"mat-option",35),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.Q6J("value",st),A.xp6(1),A.hij(" ",st," ")}}function Pe(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function ce(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function fe(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Ze(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function ne(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"perun-web-apps-user-search-select",36),A.NdJ("userSelected",function(Fe){return A.CHM(st),A.oxw(2).selectedSponsor=Fe}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.xp6(1),A.Q6J("disableAutoSelect",!0)("users",st.voSponsors)}}function it(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",6),A.TgZ(1,"mat-stepper",7,8),A.TgZ(3,"mat-step",9),A.YNc(4,ue,2,3,"ng-template",10),A.YNc(5,Me,3,3,"perun-web-apps-alert",11),A.TgZ(6,"form",12),A.TgZ(7,"h5",13),A._uU(8),A.ALo(9,"translate"),A.qZA(),A.TgZ(10,"mat-form-field",14),A._UZ(11,"input",15),A.ALo(12,"translate"),A.YNc(13,z,3,3,"mat-error",16),A.qZA(),A.TgZ(14,"mat-form-field"),A._UZ(15,"input",17),A.ALo(16,"translate"),A.YNc(17,P,3,3,"mat-error",16),A.qZA(),A.TgZ(18,"mat-form-field"),A._UZ(19,"input",18),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-form-field"),A._UZ(22,"input",19),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(24,"mat-step",9),A.YNc(25,de,2,3,"ng-template",10),A.TgZ(26,"h5",13),A._uU(27),A.ALo(28,"translate"),A.qZA(),A.TgZ(29,"form",20),A.TgZ(30,"mat-form-field"),A.TgZ(31,"mat-select",21),A.NdJ("valueChange",function(Fe){return A.CHM(st),A.oxw().onNamespaceChanged(Fe)}),A.ALo(32,"translate"),A.YNc(33,Ce,2,2,"mat-option",22),A.qZA(),A.YNc(34,Pe,3,3,"mat-error",16),A.qZA(),A.TgZ(35,"mat-form-field",23),A.ALo(36,"translate"),A._UZ(37,"input",24),A.ALo(38,"translate"),A.YNc(39,ce,3,3,"mat-error",16),A.qZA(),A.TgZ(40,"mat-form-field"),A._UZ(41,"input",25),A.ALo(42,"translate"),A.YNc(43,fe,3,3,"mat-error",16),A.qZA(),A.TgZ(44,"span",23),A.ALo(45,"translate"),A.TgZ(46,"mat-checkbox",26),A.NdJ("change",function(){return A.CHM(st),A.oxw().passwordResetChange()}),A._uU(47),A.ALo(48,"translate"),A.qZA(),A.qZA(),A._UZ(49,"perun-web-apps-password-form",27),A.qZA(),A.qZA(),A.TgZ(50,"mat-step"),A.YNc(51,Ze,2,3,"ng-template",10),A.TgZ(52,"div",28),A.TgZ(53,"h5",13),A._uU(54),A.ALo(55,"translate"),A.qZA(),A.TgZ(56,"div",14),A.TgZ(57,"h6"),A._uU(58),A.ALo(59,"translate"),A.qZA(),A.TgZ(60,"mat-radio-group",29),A.NdJ("ngModelChange",function(Fe){return A.CHM(st),A.oxw().sponsorType=Fe}),A.TgZ(61,"span",30),A.ALo(62,"translate"),A.TgZ(63,"mat-radio-button",31),A.NdJ("click",function(){return A.CHM(st),A.oxw().selectedSponsor=null}),A._uU(64),A.ALo(65,"translate"),A.qZA(),A.qZA(),A.TgZ(66,"span",30),A.ALo(67,"translate"),A.TgZ(68,"mat-radio-button",32),A._uU(69),A.ALo(70,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(71,ne,2,2,"div",16),A.qZA(),A.TgZ(72,"h6",14),A._uU(73),A.ALo(74,"translate"),A.qZA(),A.TgZ(75,"perun-web-apps-expiration-select",33),A.NdJ("datePicker",function(Fe){return A.CHM(st),A.oxw().setExpiration(Fe)}),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.oxw();A.xp6(1),A.Q6J("linear",!0),A.xp6(2),A.Q6J("stepControl",st.userControl),A.xp6(2),A.Q6J("ngIf",st.functionalityNotSupported),A.xp6(1),A.Q6J("formGroup",st.userControl),A.xp6(2),A.hij(" ",A.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),A.xp6(3),A.s9C("placeholder",A.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),A.xp6(2),A.Q6J("ngIf",st.userControl.hasError("required","firstName")),A.xp6(2),A.s9C("placeholder",A.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),A.xp6(2),A.Q6J("ngIf",st.userControl.hasError("required","lastName")),A.xp6(2),A.s9C("placeholder",A.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),A.xp6(3),A.s9C("placeholder",A.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),A.xp6(2),A.Q6J("stepControl",st.namespaceControl),A.xp6(3),A.Oqu(A.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),A.xp6(2),A.Q6J("formGroup",st.namespaceControl),A.xp6(2),A.s9C("placeholder",A.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),A.xp6(2),A.Q6J("ngForOf",st.namespaceOptions),A.xp6(1),A.Q6J("ngIf",st.namespaceControl.hasError("required","namespace")),A.xp6(1),A.s9C("matTooltip",A.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),A.Q6J("matTooltipDisabled",st.namespaceControl.get("login").enabled),A.xp6(2),A.s9C("placeholder",A.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),A.xp6(2),A.Q6J("ngIf",st.namespaceControl.hasError("required","login")),A.xp6(2),A.s9C("placeholder",A.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),A.xp6(2),A.Q6J("ngIf",st.namespaceControl.hasError("required","email")||st.namespaceControl.hasError("pattern","email")),A.xp6(1),A.s9C("matTooltip",A.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),A.Q6J("matTooltipDisabled",st.namespaceControl.get("passwordReset").enabled),A.xp6(3),A.hij("",A.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),A.xp6(2),A.Q6J("formGroup",st.namespaceControl)("namespace",st.selectedNamespace)("tooltipPwdViaEmail",st.namespaceControl.get("passwordReset").value),A.xp6(5),A.Oqu(A.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),A.xp6(4),A.Oqu(A.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),A.xp6(2),A.Q6J("ngModel",st.sponsorType),A.xp6(1),A.s9C("matTooltip",A.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),A.Q6J("matTooltipDisabled",st.isSponsor),A.xp6(2),A.Q6J("disabled",!st.isSponsor),A.xp6(1),A.hij(" ",A.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),A.Q6J("matTooltipDisabled",st.isPerunAdmin),A.xp6(2),A.Q6J("disabled",!st.isPerunAdmin),A.xp6(1),A.hij(" ",A.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),A.xp6(2),A.Q6J("ngIf","other"===st.sponsorType),A.xp6(2),A.Oqu(A.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function Be(St,Kt){if(1&St&&(A.TgZ(0,"div",6),A.TgZ(1,"div",37),A.TgZ(2,"mat-icon",38),A._uU(3,"done"),A.qZA(),A._uU(4),A.ALo(5,"translate"),A.TgZ(6,"i"),A._uU(7),A.ALo(8,"userFullName"),A.qZA(),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div"),A._uU(12),A.ALo(13,"translate"),A.qZA(),A.TgZ(14,"div"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.TgZ(17,"perun-web-apps-alert",39),A._uU(18),A.ALo(19,"translate"),A.qZA(),A.qZA()),2&St){const st=A.oxw();A.xp6(4),A.hij(" ",A.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),A.xp6(3),A.Oqu(A.lcZ(8,10,st.createdMember.user)),A.xp6(2),A.hij(" ",A.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),A.xp6(3),A.AsE("",A.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",st.loginThatWasSet,""),A.xp6(3),A.AsE(" ",A.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",st.namespaceControl.get("passwordCtrl").value," "),A.xp6(3),A.Oqu(A.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function ze(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",40),A.TgZ(1,"button",41),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.qZA()}2&St&&(A.xp6(2),A.hij(" ",A.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function Ue(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",41),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperPrevious()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function _e(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",46),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperNext()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.ekj("ml-2",void 0!==st.stepper&&0!==st.stepper.selectedIndex)("ml-auto",!(void 0!==st.stepper&&0!==st.stepper.selectedIndex)),A.Q6J("disabled",st.getStepperNextConditions()),A.xp6(1),A.hij(" ",A.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function ae(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",47),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).onConfirm()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("disabled",null===st.sponsorType||"other"===st.sponsorType&&null===st.selectedSponsor),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function Ae(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",40),A.TgZ(1,"button",42),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,Ue,3,3,"button",43),A.YNc(5,_e,3,8,"button",44),A.YNc(6,ae,3,4,"button",45),A.qZA()}if(2&St){const st=A.oxw();A.xp6(2),A.hij(" ",A.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),A.xp6(2),A.Q6J("ngIf",void 0!==st.stepper&&0!==st.stepper.selectedIndex),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex!==st.stepper._steps.length-1),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex===st.stepper._steps.length-1)}}let ee=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=st,this.data=kt,this.membersService=Fe,this.apiRequestConfiguration=Bt,this.usersService=Je,this.store=wt,this.translator=Gt,this.authzService=li,this.guiAuthResolver=vi,this.formBuilder=Vi,this.cd=Ui,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.selectedNamespace=null,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.namespaceRules=[],this.parsedRules=new Map,this.expiration="never"}static parseAttributes(st,kt,Fe){for(const Bt of kt)switch(Bt){case"login":st.login=Fe;break;case"password":st.password=Fe}}onConfirm(){this.loading=!0;const st={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},kt=this.namespaceControl.get("namespace").value,Fe=this.parsedRules.get(kt);"No namespace"!==kt&&(st.userData.namespace=kt),"disabled"!==Fe.login&&(st.userData.login=this.namespaceControl.get("login").value),"disabled"!==Fe.password&&(st.sendActivationLink=this.namespaceControl.get("passwordReset").value,st.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(st.validityTo=this.expiration),this.membersService.createSponsoredMember(st).subscribe(Bt=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=Bt,!!Bt&&!!Bt.userAttributes&&Bt.userAttributes.filter(Je=>"login-namespace"===Je.baseFriendlyName).filter(Je=>Je.friendlyNameParameter===kt).filter(Je=>null!==Je.value).forEach(Je=>{this.loginThatWasSet=Je.value}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(st){this.selectedNamespace=st;const kt=this.parsedRules.get(st),Fe=this.namespaceControl.get("login"),Bt=this.namespaceControl.get("passwordCtrl"),Je=this.namespaceControl.get("passwordAgainCtrl"),wt=this.namespaceControl.get("passwordReset");"disabled"!==kt.login?(0,w.mH)(Fe,"optional"===kt.login?[]:[E.kI.required]):(Fe.disable(),Fe.setValue("")),"disabled"!==kt.password?((0,w.mH)(Bt,"optional"===kt.password?[]:[E.kI.required],[(0,N.yT)(st,this.usersService,this.apiRequestConfiguration)]),(0,w.mH)(Je,[]),(0,w.mH)(wt,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(Bt.disable(),Bt.setValue(""),Je.disable(),Je.setValue(""),wt.disable(),wt.setValue(!1))}passwordResetChange(){const st=this.namespaceControl.get("passwordCtrl"),kt=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(st.disable(),st.setValue(""),kt.disable(),kt.setValue("")):(st.enable(),kt.enable())}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"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()}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(I.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",E.kI.required],lastName:["",E.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",E.kI.required],login:["",[E.kI.required]],passwordCtrl:["",E.kI.required,[(0,N.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[E.kI.required,E.kI.pattern(w.B2)]]},{validators:w.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(st=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(st),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const st of this.namespaceRules){this.namespaceOptions.push(st.namespaceName);const kt={login:"disabled",password:"disabled"};St.parseAttributes(kt,st.requiredAttributes,"required"),St.parseAttributes(kt,st.optionalAttributes,"optional"),this.parsedRules.set(st.namespaceName,kt)}}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(e.uq),A.Y36(b.F5),A.Y36(e.Fv),A.Y36(b.d6),A.Y36(q.sK),A.Y36(e.Ct),A.Y36(b.x4),A.Y36(E.qu),A.Y36(A.sBO))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(st,kt){if(1&st&&A.Gf(We,5),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.stepper=Fe.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",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"],["formControlName","namespace","required","",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login","required","",3,"placeholder"],["matInput","","formControlName","email","required","",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","namespace","tooltipPwdViaEmail"],[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,"disableAutoSelect","users","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(st,kt){1&st&&(A.TgZ(0,"div"),A.YNc(1,ge,3,3,"h1",0),A.YNc(2,Le,1,0,"mat-spinner",1),A.YNc(3,it,76,80,"div",2),A.YNc(4,Be,20,20,"div",2),A.YNc(5,ze,4,3,"div",3),A.YNc(6,Ae,7,6,"div",3),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(1),A.Q6J("ngIf",!kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading&&!kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",!kt.loading&&kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",!kt.loading&&!kt.successfullyCreated))},directives:[v.O5,_.uh,j.Ou,_.xY,G.Vq,G.C0,G.VY,Q.w,E._Y,E.JL,E.sg,he.KE,F.Nt,E.Fj,E.JJ,E.u,E.Q7,he.TO,be.gD,v.sg,pe.ey,ye.gM,T.oG,R.G,L.VQ,E.On,L.U0,X.S,se,Te.Hw,_.H8,Oe.lW],pipes:[q.X$,Se.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}"]}),St})();var Ne=h(64080),V=h(61150),H=h(7434),D=h(24179),O=h(92181);const i=["stepper"];function o(St,Kt){1&St&&A._UZ(0,"mat-spinner",4)}function u(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function l(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",29),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function s(St,Kt){if(1&St&&(A.TgZ(0,"mat-option",30),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.Q6J("value",st),A.xp6(1),A.hij(" ",st," ")}}function n(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function t(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function r(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function a(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function d(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function f(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function x(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",31),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function Ye(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"mat-radio-group",32),A.NdJ("ngModelChange",function(Fe){return A.CHM(st),A.oxw(3).passwordReset=Fe}),A.TgZ(1,"mat-radio-button",33),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"mat-radio-button",34),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(3);A.Q6J("ngModel",st.passwordReset),A.xp6(2),A.hij(" ",A.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),A.xp6(3),A.hij(" ",A.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function It(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function jt(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function bt(St,Kt){1&St&&(A.TgZ(0,"div"),A.TgZ(1,"perun-web-apps-alert",35),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.qZA()),2&St&&(A.xp6(2),A.Oqu(A.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Yt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"h5",36),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-create-group-form",37),A.NdJ("asSubgroupChanged",function(Fe){return A.CHM(st),A.oxw(3).asSubGroup=Fe})("nameChanged",function(Fe){return A.CHM(st),A.oxw(3).name=Fe})("descriptionChanged",function(Fe){return A.CHM(st),A.oxw(3).description=Fe})("parentGroupChanged",function(Fe){return A.CHM(st),A.oxw(3).parentGroup=Fe}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(3);A.xp6(2),A.hij(" ",A.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),A.xp6(2),A.Q6J("voGroups",st.allVoGroups)}}const Ct=function(){return["select","id","name","description"]};function Nt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"h5",36),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-immediate-filter",38),A.NdJ("filter",function(Fe){return A.CHM(st),A.oxw(3).applyFilter(Fe)}),A.qZA(),A._UZ(5,"perun-web-apps-groups-list",39),A.qZA()}if(2&St){const st=A.oxw(3);A.xp6(2),A.hij(" ",A.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),A.xp6(2),A.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),A.xp6(1),A.Q6J("groups",st.assignableGroups)("selection",st.selection)("disableRouting",!0)("displayedColumns",A.DdM(10,Ct))("filter",st.filterValue)("tableId",st.tableId)}}function He(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"mat-stepper",8,9),A.TgZ(2,"mat-step",10),A.YNc(3,u,2,3,"ng-template",11),A.YNc(4,l,3,3,"perun-web-apps-alert",12),A.TgZ(5,"h5",13),A._uU(6),A.ALo(7,"translate"),A.qZA(),A.TgZ(8,"form",14),A.TgZ(9,"mat-form-field"),A.TgZ(10,"mat-select",15),A.ALo(11,"translate"),A.YNc(12,s,2,2,"mat-option",16),A.qZA(),A.YNc(13,n,3,3,"mat-error",7),A.qZA(),A.TgZ(14,"div"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.TgZ(17,"div",17),A._uU(18),A.qZA(),A.TgZ(19,"mat-form-field",18),A.TgZ(20,"mat-label"),A._uU(21),A.ALo(22,"translate"),A.qZA(),A.TgZ(23,"textarea",19),A._uU(24," "),A.qZA(),A.YNc(25,t,3,3,"mat-error",7),A.YNc(26,r,3,4,"mat-error",7),A.YNc(27,a,3,4,"mat-error",7),A.YNc(28,d,3,4,"mat-error",7),A.qZA(),A.qZA(),A.qZA(),A.TgZ(29,"mat-step"),A.YNc(30,f,2,3,"ng-template",11),A.TgZ(31,"div",13),A.TgZ(32,"h5",20),A._uU(33),A.ALo(34,"translate"),A.qZA(),A.YNc(35,x,3,3,"perun-web-apps-alert",21),A.YNc(36,Ye,7,7,"mat-radio-group",22),A.qZA(),A.qZA(),A.TgZ(37,"mat-step"),A.YNc(38,It,2,3,"ng-template",11),A.TgZ(39,"div",13),A.TgZ(40,"h5",20),A._uU(41),A.ALo(42,"translate"),A.qZA(),A.TgZ(43,"perun-web-apps-expiration-select",23),A.NdJ("datePicker",function(Fe){return A.CHM(st),A.oxw(2).setExpiration(Fe)}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(44,"mat-step"),A.YNc(45,jt,2,3,"ng-template",11),A.TgZ(46,"div",13),A.TgZ(47,"h5",20),A._uU(48),A.ALo(49,"translate"),A.qZA(),A.TgZ(50,"mat-radio-group",24),A.NdJ("change",function(){return A.CHM(st),A.oxw(2).groupAssigmentChanged()})("ngModelChange",function(Fe){return A.CHM(st),A.oxw(2).groupAssignment=Fe}),A.TgZ(51,"mat-radio-button",25),A._uU(52),A.ALo(53,"translate"),A.qZA(),A.TgZ(54,"span",26),A.ALo(55,"translate"),A.TgZ(56,"mat-radio-button",27),A._uU(57),A.ALo(58,"translate"),A.qZA(),A.qZA(),A.TgZ(59,"span",26),A.ALo(60,"translate"),A.TgZ(61,"mat-radio-button",28),A._uU(62),A.ALo(63,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.YNc(64,bt,4,3,"div",7),A.YNc(65,Yt,5,4,"div",7),A.YNc(66,Nt,6,11,"div",7),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("linear",!0),A.xp6(2),A.Q6J("stepControl",st.usersInfoFormGroup),A.xp6(2),A.Q6J("ngIf",st.functionalityNotSupported),A.xp6(2),A.Oqu(A.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),A.xp6(2),A.Q6J("formGroup",st.usersInfoFormGroup),A.xp6(2),A.s9C("placeholder",A.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),A.xp6(2),A.Q6J("ngForOf",st.namespaceOptions),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("required","namespace")),A.xp6(2),A.Oqu(A.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),A.xp6(3),A.hij(" ",st.getSelectedNamespaceRules().csvGenHeaderDescription," "),A.xp6(3),A.Oqu(A.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),A.xp6(2),A.s9C("placeholder",st.getSelectedNamespaceRules().csvGenPlaceholder),A.xp6(2),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("required","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),A.xp6(5),A.hij(" ",A.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),A.xp6(2),A.Q6J("ngIf","No namespace"===st.getSelectedNamespaceRules().namespaceName),A.xp6(1),A.Q6J("ngIf","No namespace"!==st.getSelectedNamespaceRules().namespaceName),A.xp6(5),A.Oqu(A.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),A.xp6(2),A.Q6J("expiration",st.expiration),A.xp6(5),A.Oqu(A.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),A.xp6(2),A.Q6J("ngModel",st.groupAssignment),A.xp6(2),A.hij(" ",A.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),A.Q6J("matTooltipDisabled",!st.manualMemberAddingBlocked&&st.createGroupAuth),A.xp6(2),A.Q6J("disabled",st.manualMemberAddingBlocked||!st.createGroupAuth),A.xp6(1),A.hij(" ",A.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),A.Q6J("matTooltipDisabled",!st.manualMemberAddingBlocked&&0!==st.assignableGroups.length),A.xp6(2),A.Q6J("disabled",st.manualMemberAddingBlocked||0===st.assignableGroups.length),A.xp6(1),A.hij(" ",A.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),A.xp6(2),A.Q6J("ngIf","none"===st.groupAssignment),A.xp6(1),A.Q6J("ngIf","new"===st.groupAssignment),A.xp6(1),A.Q6J("ngIf","existing"===st.groupAssignment)}}function je(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",41),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.Q6J("alert_type","success"),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function Z(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",41),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.Q6J("alert_type","warn"),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function $(St,Kt){if(1&St&&(A.TgZ(0,"div"),A.YNc(1,je,3,4,"perun-web-apps-alert",40),A.YNc(2,Z,3,4,"perun-web-apps-alert",40),A.qZA()),2&St){const st=A.oxw(2);A.xp6(1),A.Q6J("ngIf",!1===st.finishedWithErrors),A.xp6(1),A.Q6J("ngIf",st.finishedWithErrors)}}function oe(St,Kt){if(1&St&&(A.TgZ(0,"div",5),A.YNc(1,He,67,59,"mat-stepper",6),A.YNc(2,$,3,2,"div",7),A.qZA()),2&St){const st=A.oxw();A.xp6(1),A.Q6J("ngIf","user-input"===st.state),A.xp6(1),A.Q6J("ngIf","results"===st.state)}}function nt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",47),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperPrevious()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function ct(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",48),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperNext()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.ekj("ml-2",void 0!==st.stepper&&0!==st.stepper.selectedIndex)("ml-auto",!(void 0!==st.stepper&&0!==st.stepper.selectedIndex)),A.Q6J("disabled",st.getStepperNextConditions()),A.xp6(1),A.hij(" ",A.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Rt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",48),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).onSubmit()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("disabled",null===st.groupAssignment||"existing"===st.groupAssignment&&0===st.selection.selected.length||"new"===st.groupAssignment&&(0===st.name.length||0===st.description.length)||!0===st.asSubGroup&&null===st.parentGroup),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function mt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",42),A.TgZ(1,"button",43),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,nt,3,3,"button",44),A.YNc(5,ct,3,8,"button",45),A.YNc(6,Rt,3,4,"button",46),A.qZA()}if(2&St){const st=A.oxw();A.xp6(2),A.hij(" ",A.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),A.xp6(2),A.Q6J("ngIf",void 0!==st.stepper&&0!==st.stepper.selectedIndex),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex!==st.stepper._steps.length-1),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex===st.stepper._steps.length-1)}}function Tt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",42),A.TgZ(1,"button",43),A.NdJ("click",function(){return A.CHM(st),A.oxw().onClose()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"button",49),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"mat-menu",null,50),A.TgZ(9,"button",51),A.NdJ("click",function(){return A.CHM(st),A.oxw().generatePdf()}),A._uU(10),A.ALo(11,"translate"),A.qZA(),A.TgZ(12,"button",51),A.NdJ("click",function(){return A.CHM(st),A.oxw().downloadCsv()}),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.MAs(8);A.xp6(2),A.hij(" ",A.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),A.xp6(2),A.Q6J("matMenuTriggerFor",st),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),A.xp6(5),A.hij(" ",A.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),A.xp6(3),A.hij(" ",A.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let ot=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt,Gt,li,vi,Vi,Ui,bn){this.dialogRef=st,this.data=kt,this.store=Fe,this.membersService=Bt,this.notificator=Je,this.translate=wt,this.guiAuthResolver=Gt,this.groupsService=li,this.attributesService=vi,this.formBuilder=Vi,this.sponsoredMembersPDFService=Ui,this.cd=bn,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new c.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.namespaceRules=[],this.resultData=[],this.groupAttrNames=[Ne.r.GROUP_SYNC_ENABLED,Ne.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(st){return st.forEach(kt=>{if("OK"!==kt.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:["",E.kI.required],sponsoredMembers:["",[E.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(st=>{this.manualMemberAddingBlocked=(0,w.jh)(st,Ne.r.VO_BLOCK_MANUAL_MEMBER_ADDING),this.manualMemberAddingBlocked?(this.loading=!1,this.cd.detectChanges()):this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(kt=>{this.allVoGroups=kt.filter(Fe=>"members"!==Fe.name),this.assignableGroups=this.filterAssignableGroups(kt),this.membersService.getAllNamespacesRules().subscribe(Fe=>{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(Fe),this.namespaceRules.forEach(Bt=>this.namespaceOptions.push(Bt.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)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"yyyy-MM-dd","en-GB")}applyFilter(st){this.filterValue=st}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(st=>{this.groupIds.push(st.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(st=>{this.groupIds.push(st.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(st=>st.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(st=>st.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,w.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()}filterAssignableGroups(st){const kt=[];for(const Fe of st)!(0,w.bx)(Fe)&&!(0,w.jh)(Fe.attributes,Ne.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING)&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[Fe])&&kt.push(Fe);return kt}createOutputObjects(st){let kt="",Fe="",Bt="",Je="";const wt=[];return st.forEach(Gt=>{kt=Gt.name.replace(";"," ").split(";")[0],Fe=Gt.status,Bt=Gt.login?Gt.login:Bt,Je=Gt.password?Gt.password:Je;const li={name:kt,status:Fe,login:Bt,password:Je};Gt.note&&(li.note=Gt.note),wt.push(li)}),wt}onGenerate(){this.loading=!0;const st=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),kt=this.getSelectedNamespaceRules().csvGenHeader,Fe=[];for(const Je of st){const wt=this.parseMemberLine(Je);if("format"===wt||"email"===wt)return void(this.loading=!1);""!==wt&&Fe.push(wt)}const Bt={data:Fe,header:kt,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(Bt.groups=this.groupIds),"never"!==this.expiration&&(Bt.validityTo=(0,v.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(Bt.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(Bt).subscribe(Je=>{this.state="results",this.finishedWithErrors=St.didSomeGenerationFailed(Je),this.loading=!1,this.resultData=Je},()=>this.loading=!1)}parseMemberLine(st){const kt=st.trim();if(""===kt)return"";const Fe=kt.split(";"),Bt=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(Fe.length!==Bt.length)return"format";if("mail"===Bt[2].slice(Bt[2].length-4).toLowerCase()&&!Fe[2].trim().match(w.B2))return"email";if("login"===Bt[3]&&""===Fe[3].trim())return"login";let Je="";for(const wt of Fe)Je+=wt.trim()+";";return Je.slice(0,-1)}userInputValidator(){return st=>{const kt=st.value.split("\n");for(const Fe of kt){const Bt=this.parseMemberLine(Fe);if("format"===Bt)return{invalidFormat:{value:Fe}};if("email"===Bt)return{invalidEmail:{value:Fe}};if("login"===Bt)return{invalidLogin:{value:Fe}}}return null}}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(b.d6),A.Y36(e.uq),A.Y36(b.V6),A.Y36(q.sK),A.Y36(b.x4),A.Y36(e.ff),A.Y36(e.H8),A.Y36(E.qu),A.Y36(b.HV),A.Y36(A.sBO))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(st,kt){if(1&st&&A.Gf(i,5),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.stepper=Fe.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",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"],["formControlName","namespace","required","",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["cols","50","id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","formControlName","sponsoredMembers","matInput","","rows","8",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","asSubgroupChanged","nameChanged","descriptionChanged","parentGroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","disableRouting","displayedColumns","filter","tableId"],[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"],["color","accent","mat-flat-button","",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,o,1,0,"mat-spinner",1),A.YNc(5,oe,3,2,"div",2),A.YNc(6,mt,7,6,"div",3),A.YNc(7,Tt,15,13,"div",3),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(2),A.Oqu(A.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),A.xp6(2),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading&&void 0!==kt.stepper&&"results"!==kt.state),A.xp6(1),A.Q6J("ngIf","results"===kt.state))},directives:[_.uh,v.O5,j.Ou,_.xY,G.Vq,G.C0,G.VY,Q.w,E._Y,E.JL,E.sg,he.KE,be.gD,E.JJ,E.u,E.Q7,v.sg,pe.ey,he.TO,he.hX,E.Fj,F.Nt,L.VQ,E.On,L.U0,se,ye.gM,V.r,H.L,D.W,_.H8,Oe.lW,O.p6,O.VK,O.OP],pipes:[q.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),St})();var rt=h(38383);function lt(St,Kt){1&St&&A._UZ(0,"mat-spinner",12)}const ut=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ht(St,Kt){if(1&St&&A._UZ(0,"perun-web-apps-members-list",13),2&St){const st=A.oxw();A.Q6J("disableRouting",!0)("hidden",st.loading)("disableStatusChange",!0)("members",st.members)("selection",st.selection)("displayedColumns",A.DdM(7,ut))("tableId",st.tableId)}}function Qt(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",14),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let ni=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt){this.dialogRef=st,this.data=kt,this.store=Fe,this.membersService=Bt,this.notificator=Je,this.translate=wt,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new E.NI("",[E.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new c.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(st){if(this.loading=!0,0===st.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const kt=st.pop();kt.sponsored?this.membersService.sponsorMember(kt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(st)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(kt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(st)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const st=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(st)}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"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,[Ne.r.MEMBER_DEF_EXPIRATION,Ne.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(kt=>{this.members=kt,this.loading=!1},()=>this.loading=!1))}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(b.d6),A.Y36(e.uq),A.Y36(b.V6),A.Y36(q.sK))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","accent","mat-flat-button","",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","hidden","disableStatusChange","members","selection","displayedColumns","tableId",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["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"],[3,"disableRouting","hidden","disableStatusChange","members","selection","displayedColumns","tableId"],["alert_type","info"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",1),A.TgZ(5,"mat-form-field",2),A.TgZ(6,"label"),A.TgZ(7,"input",3),A.NdJ("keyup.enter",function(){return kt.onSearchByString()}),A.ALo(8,"translate"),A.qZA(),A.qZA(),A.TgZ(9,"mat-error"),A._uU(10),A.ALo(11,"translate"),A.qZA(),A.qZA(),A.TgZ(12,"button",4),A.NdJ("click",function(){return kt.onSearchByString()}),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.YNc(15,lt,1,0,"mat-spinner",5),A.YNc(16,Ht,1,8,"perun-web-apps-members-list",6),A.YNc(17,Qt,3,3,"perun-web-apps-alert",7),A.TgZ(18,"div"),A._UZ(19,"br"),A.TgZ(20,"h6"),A._uU(21),A.ALo(22,"translate"),A.qZA(),A.TgZ(23,"perun-web-apps-expiration-select",8),A.NdJ("datePicker",function(Bt){return kt.setExpiration(Bt)}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(24,"div",9),A.TgZ(25,"button",10),A.NdJ("click",function(){return kt.onCancel()}),A._uU(26),A.ALo(27,"translate"),A.qZA(),A.TgZ(28,"button",11),A.NdJ("click",function(){return kt.onSubmit()}),A._uU(29),A.ALo(30,"translate"),A.qZA(),A.qZA(),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(2),A.Oqu(A.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),A.xp6(5),A.s9C("placeholder",A.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),A.Q6J("formControl",kt.searchCtrl),A.xp6(3),A.hij(" ",A.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),A.xp6(2),A.Q6J("disabled",kt.loading),A.xp6(1),A.hij(" ",A.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),A.xp6(2),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",kt.firstSearchDone),A.xp6(1),A.Q6J("ngIf",!kt.firstSearchDone),A.xp6(4),A.Oqu(A.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),A.xp6(5),A.hij(" ",A.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),A.xp6(2),A.Q6J("disabled",kt.loading||0===kt.selection.selected.length),A.xp6(1),A.hij(" ",A.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[_.uh,_.xY,he.KE,F.Nt,E.Fj,E.JJ,E.oH,he.TO,Oe.lW,v.O5,j.Ou,rt.O,Q.w,se,_.H8],pipes:[q.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),St})();var hi=h(96214),gi=h(84847),xi=h(32075),ji=h(19352),tn=h(58964),qi=h(18750),Lt=h(50301),oi=h(36157),Pt=h(20919),$e=h(5865);function vt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"th",19),A.TgZ(1,"mat-checkbox",20),A.NdJ("change",function(Fe){A.CHM(st);const Bt=A.oxw();return Fe?Bt.masterToggle():null}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw();A.xp6(1),A.Q6J("aria-label",st.checkboxLabel())("checked",st.selection.hasValue()&&st.isAllSelected())("indeterminate",st.selection.hasValue()&&!st.isAllSelected())}}function at(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"td",21),A.TgZ(1,"mat-checkbox",22),A.NdJ("change",function(Fe){const Je=A.CHM(st).$implicit,wt=A.oxw();return Fe?wt.selection.toggle(Je):null})("click",function(Fe){return Fe.stopPropagation()}),A.qZA(),A.qZA()}if(2&St){const st=Kt.$implicit,kt=A.oxw();A.xp6(1),A.Q6J("aria-label",kt.checkboxLabel(st))("checked",kt.selection.isSelected(st))}}function Qe(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function yt(St,Kt){if(1&St&&(A.TgZ(0,"td",24),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",st.member.id," ")}}function U(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function Ge(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"userFullName"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.member.user)," ")}}function _t(St,Kt){1&St&&(A.TgZ(0,"th",26),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.EMAIL")," "))}function Dt(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"memberEmail"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.Oqu(A.lcZ(2,1,st.member))}}function ti(St,Kt){1&St&&(A.TgZ(0,"th",26),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.LOGIN")," "))}function si(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"memberLogins"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.member)," ")}}function Ii(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function wi(St,Kt){if(1&St&&(A.TgZ(0,"span"),A._uU(1),A.ALo(2,"userFullName"),A._UZ(3,"br"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.user),"")}}function zi(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A.YNc(1,wi,4,3,"span",27),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.Q6J("ngForOf",st.sponsors)}}function rn(St,Kt){1&St&&A._UZ(0,"th",23)}function Oi(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"span",30),A.ALo(1,"translate"),A.TgZ(2,"button",31),A.NdJ("mouseenter",function(){return A.CHM(st),A.oxw(2).disableRouting=!0})("mouseleave",function(){A.CHM(st);const Fe=A.oxw(2);return Fe.disableRouting=Fe.routingStrategy})("click",function(){A.CHM(st);const Fe=A.oxw().$implicit;return A.oxw().resetPassword(Fe)}),A.TgZ(3,"mat-icon"),A._uU(4,"vpn_key"),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("matTooltipPosition","above")("matTooltip",A.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),A.xp6(2),A.Q6J("disabled",st.loading)}}function Hi(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"td",25),A.TgZ(1,"button",28),A.NdJ("click",function(){const Bt=A.CHM(st).$implicit;return A.oxw().showSponsors(Bt)})("mouseenter",function(){return A.CHM(st),A.oxw().disableRouting=!0})("mouseleave",function(){A.CHM(st);const Fe=A.oxw();return Fe.disableRouting=Fe.routingStrategy}),A.TgZ(2,"mat-icon"),A._uU(3,"edit"),A.qZA(),A.qZA(),A.YNc(4,Oi,5,5,"span",29),A.qZA()}if(2&St){const st=Kt.$implicit,kt=A.oxw();A.xp6(4),A.Q6J("ngIf",kt.passwdResetAuth(st))}}function Ki(St,Kt){1&St&&A._UZ(0,"tr",32)}const Li=function(St,Kt){return["/organizations",St,"members",Kt]};function yi(St,Kt){if(1&St&&A._UZ(0,"tr",33),2&St){const st=Kt.$implicit,kt=A.oxw();A.ekj("cursor-pointer",!kt.disableRouting)("disable-outline",kt.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",kt.disableRouting?null:A.WLB(6,Li,st.member.voId,st.member.id))("routerLink",kt.disableRouting?null:A.WLB(9,Li,st.member.voId,st.member.id))}}function nn(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function fn(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let Wi=(()=>{class St{constructor(st,kt,Fe,Bt,Je){this.dialog=st,this.authResolver=kt,this.storeService=Fe,this.attributesManager=Bt,this.tableCheckbox=Je,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","email","logins","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new A.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=w.f7}set matSort(st){this.sort=st}static getSortDataForColumn(st,kt){var Fe;switch(kt){case"id":return st.member.id.toString();case"name":return st.member.user?st.member.user.lastName?st.member.user.lastName:null!==(Fe=st.member.user.firstName)&&void 0!==Fe?Fe:"":"";case"sponsors":return st.sponsors.length.toString();default:return""}}static getDataForColumn(st,kt){switch(kt){case"id":return st.member.id.toString();case"name":return st.member.user?(0,w.bD)(st.member.user):"";case"sponsors":return st.sponsors.map(Fe=>(0,w.bD)(Fe.user)).join();default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(st=>"id"!==st)),this.setDataSource(),this.routingStrategy=this.disableRouting}exportData(st){(0,w.O6)((0,w.Xn)(this.dataSource.filteredData,this.displayedColumns,St.getDataForColumn),st)}setDataSource(){this.dataSource||(this.dataSource=new xi.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(st,kt)=>(0,w.Sd)(st,kt,this.displayedColumns,St.getDataForColumn),this.dataSource.sortData=(st,kt)=>(0,w.pR)(st,kt,St.getSortDataForColumn)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(st){const kt=(0,w.kZ)();kt.width="650px",kt.data={sponsors:st.sponsors,member:st.member,theme:"vo-theme"},this.dialog.open(ji.H,kt).afterClosed().subscribe(Bt=>{Bt&&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(st){return st?`${this.selection.isSelected(st)?"deselect":"select"} row ${st.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(st){this.loading=!0;const kt=this.storeService.get("password_namespace_attributes").map(Fe=>{const Bt=Fe.split(":");return Bt[Bt.length-1]});this.attributesManager.getLogins(st.member.userId).subscribe(Fe=>{const Bt=Fe.filter(Gt=>kt.includes(Gt.friendlyNameParameter)),Je=(0,w.kZ)();Je.width="400px",Je.data={userId:st.member.userId,memberId:st.member.id,logins:Bt},this.dialog.open(tn.m,Je).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(st){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:st.member.voId,beanName:"Vo"},st.member])}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.uw),A.Y36(b.x4),A.Y36(b.d6),A.Y36(e.H8),A.Y36(b.UA))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-sponsored-members-list"]],viewQuery:function(st,kt){if(1&st&&(A.Gf(w.l9,7),A.Gf(gi.YE,7)),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.child=Fe.first),A.iGM(Fe=A.CRH())&&(kt.matSort=Fe.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[A.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"pageSizeOptions","dataLength","tableId","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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","email"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","logins"],["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",""],["mat-header-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(st,kt){1&st&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(Bt){return kt.exportData(Bt)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,vt,2,3,"th",4),A.YNc(5,at,2,2,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,Qe,3,3,"th",7),A.YNc(8,yt,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,U,3,3,"th",7),A.YNc(11,Ge,3,3,"td",10),A.BQk(),A.ynx(12,11),A.YNc(13,_t,3,3,"th",12),A.YNc(14,Dt,3,3,"td",10),A.BQk(),A.ynx(15,13),A.YNc(16,ti,3,3,"th",12),A.YNc(17,si,3,3,"td",10),A.BQk(),A.ynx(18,14),A.YNc(19,Ii,3,3,"th",7),A.YNc(20,zi,2,1,"td",10),A.BQk(),A.ynx(21,15),A.YNc(22,rn,1,0,"th",7),A.YNc(23,Hi,5,1,"td",10),A.BQk(),A.YNc(24,Ki,1,0,"tr",16),A.YNc(25,yi,1,12,"tr",17),A.qZA(),A.qZA(),A.qZA(),A.YNc(26,nn,3,3,"perun-web-apps-alert",18),A.YNc(27,fn,3,3,"perun-web-apps-alert",18)),2&st&&(A.Q6J("hidden",0===kt.dataSource.filteredData.length||0===kt.sponsoredMembers.length),A.xp6(1),A.Q6J("pageSizeOptions",kt.pageSizeOptions)("dataLength",kt.dataSource.filteredData.length)("tableId",kt.tableId),A.xp6(1),A.Q6J("dataSource",kt.dataSource),A.xp6(22),A.Q6J("matHeaderRowDef",kt.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",kt.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===kt.dataSource.filteredData.length&&0!==kt.sponsoredMembers.length),A.xp6(1),A.Q6J("ngIf",0===kt.sponsoredMembers.length))},directives:[qi.l,xi.BZ,gi.YE,xi.w1,xi.fO,xi.ge,T.oG,xi.Dz,xi.ev,gi.nU,v.sg,Oe.lW,Te.Hw,v.O5,ye.gM,xi.as,xi.XQ,xi.nj,xi.Gk,Lt.YH,oi.rH,Q.w],pipes:[q.X$,Se.d,Pt.D,$e.p],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),St})();function sn(St,Kt){if(1&St&&(A.TgZ(0,"button",10),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(),kt=A.MAs(9);A.Q6J("disabled",st.findSponsorsAuth&&0===st.voSponsors.length)("matMenuTriggerFor",kt),A.xp6(1),A.hij(" ",A.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function An(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCreate()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function On(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(st),A.oxw().onGenerate()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function un(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",12),A.NdJ("click",function(){return A.CHM(st),A.oxw().onSponsorExistingMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function Ji(St,Kt){1&St&&A._UZ(0,"mat-spinner",13)}function ln(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"app-sponsored-members-list",14),A.NdJ("refreshTable",function(){return A.CHM(st),A.oxw().refresh()}),A.qZA()}if(2&St){const st=A.oxw();A.Q6J("disableRouting",!st.routeAuth)("selection",st.selection)("filterValue",st.searchString)("sponsoredMembers",st.members)("tableId",st.tableId)}}let Dn=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt){this.membersManager=st,this.dialog=kt,this.authResolver=Fe,this.storeService=Bt,this.authzResolver=Je,this.entityStorageService=wt,this.members=[],this.voSponsors=[],this.selection=new c.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf,this.attrNames=[Ne.r.USER_DEF_PREFERRED_MAIL]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.setAuthRights();const st=["SPONSOR"],kt=new Map;this.authResolver.setRolesAuthorization(st,this.vo,kt),this.findSponsorsAuth=kt.get(st[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(I.u.SPONSOR,this.vo.id,"Vo",[Ne.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(Bt=>{this.voSponsors=Bt,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 st=(0,w.kZ)();st.width="620px",st.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(ee,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}onGenerate(){const st=(0,w.kZ)();st.width="750px",st.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ot,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}onSponsorExistingMember(){const st=(0,w.kZ)();st.width="650px",st.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ni,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(st=>{this.selection.clear(),this.members=st,this.setAuthRights(),this.loading=!1})}applyFilter(st){this.searchString=st}}return St.id="VoSponsoredMembersComponent",St.\u0275fac=function(st){return new(st||St)(A.Y36(e.uq),A.Y36(_.uw),A.Y36(b.x4),A.Y36(b.d6),A.Y36(e.Ct),A.Y36(b.fb))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(st,kt){2&st&&A.ekj("router-component",kt.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","mr-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["class","action-button","mat-menu-item","",3,"click",4,"ngIf"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","selection","filterValue","sponsoredMembers","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","selection","filterValue","sponsoredMembers","tableId","refreshTable"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return kt.refresh()}),A.qZA(),A.TgZ(5,"span",2),A.ALo(6,"translate"),A.YNc(7,sn,3,5,"button",3),A.qZA(),A.TgZ(8,"mat-menu",null,4),A.YNc(10,An,3,3,"button",5),A.YNc(11,On,3,3,"button",5),A.qZA(),A.YNc(12,un,3,3,"button",6),A.TgZ(13,"perun-web-apps-immediate-filter",7),A.NdJ("filter",function(Bt){return kt.applyFilter(Bt)}),A.qZA(),A.YNc(14,Ji,1,0,"mat-spinner",8),A.YNc(15,ln,1,5,"app-sponsored-members-list",9),A.qZA()),2&st&&(A.xp6(2),A.Oqu(A.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),A.xp6(3),A.s9C("matTooltip",A.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),A.Q6J("matTooltipDisabled",!(kt.findSponsorsAuth&&0===kt.voSponsors.length)),A.xp6(2),A.Q6J("ngIf",kt.createAuth||kt.generateAuth),A.xp6(3),A.Q6J("ngIf",kt.createAuth),A.xp6(1),A.Q6J("ngIf",kt.generateAuth),A.xp6(1),A.Q6J("ngIf",kt.setSponsorshipAuth),A.xp6(1),A.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),A.xp6(1),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading))},directives:[hi.t,ye.gM,v.O5,Oe.lW,O.p6,O.VK,O.OP,H.L,j.Ou,Wi],pipes:[q.X$],styles:[""]}),St})()},25309:(qe,me,h)=>{"use strict";h.d(me,{Y:()=>Le});var e=h(32105),c=h(9244),g=h(32080),w=h(11717),_=h(20449),b=h(48966),E=h(93075),v=h(5e3),I=h(51062),N=h(36157),A=h(69808),q=h(20773),j=h(67322),G=h(98833),Q=h(47423),he=h(29772);function F(ue,Me){1&ue&&v._UZ(0,"mat-spinner",3)}function be(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"div",4),v.TgZ(2,"mat-form-field"),v._UZ(3,"input",5),v.ALo(4,"translate"),v.TgZ(5,"mat-error"),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.qZA(),v.TgZ(8,"mat-form-field"),v._UZ(9,"input",6),v.ALo(10,"translate"),v.TgZ(11,"mat-error"),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.qZA(),v.qZA(),v.TgZ(14,"div",7),v.TgZ(15,"button",8),v.NdJ("click",function(){return v.CHM(z),v.oxw().onCancel()}),v._uU(16),v.ALo(17,"translate"),v.qZA(),v.TgZ(18,"div",9),v.ALo(19,"translate"),v.TgZ(20,"button",10),v.NdJ("click",function(){return v.CHM(z),v.oxw().onSubmit()}),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.qZA(),v.qZA(),v.qZA()}if(2&ue){const z=v.oxw();v.xp6(3),v.s9C("placeholder",v.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),v.Q6J("formControl",z.fullNameCtrl),v.xp6(3),v.hij(" ",v.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),v.xp6(3),v.s9C("placeholder",v.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),v.Q6J("formControl",z.shortNameCtrl),v.xp6(3),v.hij(" ",v.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),v.xp6(4),v.hij(" ",v.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),v.xp6(2),v.s9C("matTooltip",v.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),v.Q6J("matTooltipDisabled",z.shortNameCtrl.valid&&z.fullNameCtrl.valid),v.xp6(2),v.Q6J("disabled",z.shortNameCtrl.invalid||z.fullNameCtrl.invalid),v.xp6(1),v.hij(" ",v.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let pe=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce){this.dialogRef=z,this.data=P,this.notificator=de,this.voService=Ce,this.translate=Pe,this.router=ce,Pe.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(fe=>this.successMessage=fe)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new E.NI(null,[E.kI.required,E.kI.pattern("^[\\w.-]+$"),E.kI.maxLength(33)]),this.fullNameCtrl=new E.NI(null,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(z=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.router.navigate(["/organizations",z.id]),this.dialogRef.close(!0)},()=>this.loading=!1)}}return ue.\u0275fac=function(z){return new(z||ue)(v.Y36(b.so),v.Y36(b.WI),v.Y36(g.V6),v.Y36(e.YF),v.Y36(I.sK),v.Y36(N.F0))},ue.\u0275cmp=v.Xpm({type:ue,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","","data-cy","vo-name-input","required","",3,"formControl","placeholder"],["matInput","","data-cy","vo-shortname-input","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","accent","data-cy","create-vo-button","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(z,P){1&z&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,F,1,0,"mat-spinner",1),v.YNc(5,be,23,25,"div",2),v.qZA()),2&z&&(v.Tol(P.theme),v.xp6(2),v.Oqu(v.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),v.xp6(2),v.Q6J("ngIf",P.loading),v.xp6(1),v.Q6J("ngIf",!P.loading))},directives:[b.uh,A.O5,q.Ou,b.xY,j.KE,G.Nt,E.Fj,E.Q7,E.JJ,E.oH,j.TO,b.H8,Q.lW,he.gM],pipes:[I.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}}"]}),ue})();var ye=h(10036),T=h(77968),R=h(4235),L=h(25245),X=h(96214),Y=h(7434),se=h(87831);function Te(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"button",9),v.NdJ("click",function(){return v.CHM(z),v.oxw().onCreateVo()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&ue&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Oe(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"button",10),v.NdJ("click",function(){return v.CHM(z),v.oxw().onRemoveVo()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&ue){const z=v.oxw();v.Q6J("disabled",0===z.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Se(ue,Me){1&ue&&v._UZ(0,"mat-spinner",11)}function We(ue,Me){if(1&ue&&v._UZ(0,"perun-web-apps-vos-list",12),2&ue){const z=v.oxw();v.Q6J("tableId",z.tableId)("displayedColumns",z.displayedColumns)("filterValue",z.filterValue)("recentIds",z.recentIds)("selection",z.selection)("vos",z.vos)}}const ge=function(){return{color:"black"}};let Le=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce){this.sideMenuService=z,this.voService=P,this.guiAuthResolver=de,this.dialog=Ce,this.notificator=Pe,this.apiRequest=ce,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=ye.tw}ngOnInit(){this.loading=!0,this.selection=new _.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","hierarchy","recent","shortName","name"]:["id","recent","hierarchy","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyEnrichedVos().subscribe(z=>{this.vos=z,this.recentIds=(0,c.vL)("vos"),this.loading=!1},z=>{const P=z.error;"PrivilegeException"===P.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(P)})}applyFilter(z){this.filterValue=z}onCreateVo(){const z=(0,c.kZ)();z.width="610px",z.data={theme:"vo-theme"},this.dialog.open(pe,z).afterClosed().subscribe(de=>{de&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const z=(0,c.kZ)();z.width="500px",z.data={theme:"vo-theme",vos:[this.selection.selected[0].vo]},this.dialog.open(w.o,z).afterClosed().subscribe(de=>{de&&this.refreshTable()})}}return ue.id="VoSelectPageComponent",ue.\u0275fac=function(z){return new(z||ue)(v.Y36(T.D),v.Y36(e.YF),v.Y36(g.x4),v.Y36(b.uw),v.Y36(g.V6),v.Y36(g.F5))},ue.\u0275cmp=v.Xpm({type:ue,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(z,P){2&z&&v.ekj("router-component",P.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"],["class","mr-2 action-button","data-cy","new-vo-button","color","accent","mat-flat-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"],["data-cy","new-vo-button","color","accent","mat-flat-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(z,P){1&z&&(v.TgZ(0,"div",0),v._UZ(1,"perun-web-apps-back-button"),v.TgZ(2,"h1",1),v._UZ(3,"mat-icon",2),v._uU(4),v.ALo(5,"translate"),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return P.refreshTable()}),v.qZA(),v.YNc(7,Te,3,3,"button",4),v.YNc(8,Oe,3,4,"button",5),v.TgZ(9,"perun-web-apps-immediate-filter",6),v.NdJ("filter",function(Ce){return P.applyFilter(Ce)}),v.qZA(),v.YNc(10,Se,1,0,"mat-spinner",7),v.YNc(11,We,1,6,"perun-web-apps-vos-list",8),v.qZA()),2&z&&(v.xp6(3),v.Q6J("ngStyle",v.DdM(10,ge)),v.xp6(1),v.hij(" ",v.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),v.xp6(3),v.Q6J("ngIf",P.createAuth),v.xp6(1),v.Q6J("ngIf",P.deleteAuth),v.xp6(1),v.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),v.xp6(1),v.Q6J("ngIf",P.loading),v.xp6(1),v.Q6J("ngIf",!P.loading))},directives:[R.W,L.Hw,A.PC,X.t,A.O5,Q.lW,Y.L,q.Ou,se.Z],pipes:[I.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),ue})()},48032:(qe,me,h)=>{"use strict";var e=h(22313),c=h(5e3),g=h(36157);let w=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(xe,ft){},styles:[""]}),tt})();var _=h(32105),b=h(32080),E=h(9244),v=h(16074),I=h(77968),N=h(51062),A=h(48966),q=h(2638),j=h(77446),G=h(93075),Q=h(69808),he=h(25245),F=h(47423),be=h(20773),pe=h(98380),ye=h(90508),T=h(29772);function R(tt,Wt){1&tt&&c._UZ(0,"mat-spinner",3)}function L(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",4),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function X(tt,Wt){if(1&tt&&(c.TgZ(0,"div",7),c.TgZ(1,"a",8),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c._UZ(4,"mat-icon",10),c.TgZ(5,"p",11),c._uU(6),c.qZA(),c.qZA(),c.qZA()),2&tt){const xe=Wt.$implicit;c.xp6(1),c.Gre("",xe.style," item-itself"),c.s9C("matTooltip",xe.tooltip),c.Q6J("routerLink",xe.url),c.xp6(2),c.Oqu(xe.type),c.xp6(1),c.Q6J("svgIcon",xe.cssIcon),c.xp6(2),c.Oqu(xe.label)}}function Y(tt,Wt){if(1&tt&&(c.TgZ(0,"div",5),c.YNc(1,X,7,8,"div",6),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("ngForOf",xe.items)}}let se=(()=>{class tt{constructor(xe,ft,Ut,$t){this.vosManager=xe,this.groupsManager=ft,this.authResolver=Ut,this.facilitiesManager=$t,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,E.j4)("recent");for(const xe of this.recentItems)switch(xe.type){case"Vo":this.vosIds.push(xe.id);break;case"Group":this.groupsIds.push(xe.id);break;case"Facility":this.facilitiesIds.push(xe.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(xe=>{this.vos=xe,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(xe=>{this.groups=xe,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(xe=>{this.facilities=xe,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const xe of this.recentItems)switch(xe.type){case"Vo":{const ft=this.vos.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${ft.id}`,label:ft.name,tooltip:ft.name,style:"vo-btn",type:"Organization"});break}case"Group":{const ft=this.groups.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-group",url:`/organizations/${ft.voId}/groups/${ft.id}`,label:ft.shortName,tooltip:`${xe.voName} : ${ft.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const ft=this.facilities.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${ft.id}`,label:ft.name,tooltip:ft.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.YF),c.Y36(_.ff),c.Y36(b.x4),c.Y36(_.IQ))},tt.\u0275cmp=c.Xpm({type:tt,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","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(xe,ft){1&xe&&(c.YNc(0,R,1,0,"mat-spinner",0),c.YNc(1,L,3,3,"perun-web-apps-alert",1),c.YNc(2,Y,2,1,"div",2)),2&xe&&(c.Q6J("ngIf",ft.loading),c.xp6(1),c.Q6J("ngIf",0===ft.items.length&&!ft.loading),c.xp6(1),c.Q6J("ngIf",ft.items.length>0))},directives:[Q.O5,be.Ou,pe.w,Q.sg,ye.wG,g.yS,T.gM,he.Hw],pipes:[N.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%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}"]}),tt})();var Te=h(87831),Oe=h(24179),Se=h(62109),We=h(74010);function ge(tt,Wt){1&tt&&c._UZ(0,"mat-spinner",7)}const Le=function(){return["id","recent","shortName","name"]};function ue(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-vos-list",8),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(4,Le))("recentIds",xe.recentIds)("vos",xe.objects)}}const Me=function(){return["id","recent","vo","name","description"]};function z(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-groups-list",9),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(4,Me))("groups",xe.objects)("recentIds",xe.recentIds)}}const P=function(){return["id","recent","name","vo","facility"]};function de(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-resources-list",10),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(5,P))("resources",xe.objects)("recentIds",xe.recentIds)("routingVo",!0)}}const Ce=function(){return["id","recent","name","description"]};function Pe(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-facilities-list",11),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Ce))("facilities",xe.objects)("pageSizeOptions",null)("recentIds",xe.recentIds)}}function ce(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.YNc(1,ue,2,5,"span",6),c.YNc(2,z,2,5,"span",6),c.YNc(3,de,2,6,"span",6),c.YNc(4,Pe,2,5,"span",6),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("ngIf","Vo"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Group"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Resource"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Facility"===xe.primaryObject)}}let fe=(()=>{class tt{constructor(xe,ft,Ut){this.authzResolver=xe,this.guiAuthResolver=ft,this.resourceService=Ut,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(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(xe=>{this.objects=xe.map(ft=>({facility:ft})),this.recentIds=(0,E.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Ct),c.Y36(b.x4),c.Y36(_.xk))},tt.\u0275cmp=c.Xpm({type:tt,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","displayedColumns","groups","recentIds"],[3,"pageSizeOptions","displayedColumns","resources","recentIds","routingVo"],[3,"displayedColumns","facilities","pageSizeOptions","recentIds"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c._UZ(2,"mat-icon",2),c._uU(3),c.ALo(4,"translate"),c.TgZ(5,"span",3),c.ALo(6,"translate"),c.TgZ(7,"mat-icon",4),c._uU(8,"info_outline"),c.qZA(),c.qZA(),c.qZA(),c.YNc(9,ge,1,0,"mat-spinner",5),c.YNc(10,ce,5,4,"div",6),c.qZA()),2&xe&&(c.xp6(2),c.Q6J("svgIcon",ft.svgIcon),c.xp6(1),c.hij(" ",c.lcZ(4,5,ft.title)," "),c.xp6(2),c.s9C("matTooltip",c.lcZ(6,7,ft.roleTooltipInfo)),c.xp6(4),c.Q6J("ngIf",ft.loading),c.xp6(1),c.Q6J("ngIf",!ft.loading))},directives:[he.Hw,T.gM,Q.O5,be.Ou,Te.Z,Oe.W,Se.C,We.X],pipes:[N.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}"]}),tt})();var Ze=h(31359);function ne(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"mat-checkbox",8),c.NdJ("change",function(Ut){const bi=c.CHM(xe).$implicit,Ei=c.oxw();return Ut?Ei.changeRoleView(bi):null}),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()}if(2&tt){const xe=Wt.$implicit,ft=c.oxw();c.xp6(1),c.Q6J("checked",ft.isRoleShowed(xe)),c.xp6(1),c.Oqu(c.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+xe))}}function it(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(xe),c.oxw(2).rightSettingOpened=!0}),c.TgZ(1,"mat-icon"),c._uU(2,"settings"),c.qZA(),c.qZA()}}function Be(tt,Wt){1&tt&&(c.TgZ(0,"span"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function ze(tt,Wt){1&tt&&(c.TgZ(0,"span"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function Ue(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"button",23),c.NdJ("click",function(){return c.CHM(xe),c.oxw(3).goToUserProfile()}),c.TgZ(1,"mat-icon",24),c._uU(2,"exit_to_app"),c.qZA(),c._uU(3),c.ALo(4,"translate"),c.qZA()}if(2&tt){const xe=c.oxw(3);c.xp6(3),c.AsE("",c.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",xe.userProfileName," ")}}const _e=function(){return["/myProfile"]};function ae(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.TgZ(1,"div",16),c.TgZ(2,"div",17),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.TgZ(5,"div",18),c.YNc(6,Be,3,3,"span",14),c.YNc(7,ze,3,3,"span",14),c.qZA(),c.TgZ(8,"div",19),c.TgZ(9,"button",20),c._UZ(10,"mat-icon",21),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.YNc(13,Ue,5,4,"button",22),c.qZA(),c.qZA(),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(3),c.hij(" ",c.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),c.xp6(3),c.Q6J("ngIf",!xe.userProfileUrl),c.xp6(1),c.Q6J("ngIf",xe.userProfileUrl),c.xp6(2),c.Q6J("routerLink",c.DdM(10,_e)),c.xp6(2),c.hij(" ",c.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),c.xp6(2),c.Q6J("ngIf",xe.userProfileUrl)}}function Ae(tt,Wt){1&tt&&(c.TgZ(0,"span"),c.TgZ(1,"div",3),c._uU(2),c.ALo(3,"translate"),c.qZA(),c._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),c.qZA()),2&tt&&(c.xp6(2),c.hij(" ",c.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function ee(tt,Wt){1&tt&&(c.TgZ(0,"div",27),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function Ne(tt,Wt){if(1&tt&&c._UZ(0,"app-perun-web-apps-dashboard-card",30),2&tt){const xe=c.oxw().$implicit,ft=c.oxw(3);c.Q6J("roleName",xe)("role",ft.roles[xe])}}function V(tt,Wt){if(1&tt&&(c.TgZ(0,"div",28),c.YNc(1,Ne,1,2,"app-perun-web-apps-dashboard-card",29),c.qZA()),2&tt){const xe=Wt.$implicit,ft=c.oxw(3);c.xp6(1),c.Q6J("ngIf",ft.isRoleShowed(xe))}}function H(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.YNc(1,Ae,5,3,"span",14),c.YNc(2,ee,3,3,"div",25),c.TgZ(3,"div"),c.YNc(4,V,2,1,"div",26),c.qZA(),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("ngIf",xe.recentlyViewedShow),c.xp6(1),c.Q6J("ngIf",xe.rolesToHide.toString()!==xe.roleNames.toString()),c.xp6(2),c.Q6J("ngForOf",xe.roleNames)}}function D(tt,Wt){if(1&tt&&(c.TgZ(0,"div",9),c.TgZ(1,"h1",10),c._UZ(2,"mat-icon",11),c.TgZ(3,"span",12),c._uU(4),c.ALo(5,"translate"),c.ALo(6,"userFullName"),c.qZA(),c.YNc(7,it,3,0,"button",13),c.qZA(),c.YNc(8,ae,14,11,"div",14),c.YNc(9,H,5,3,"div",14),c.qZA()),2&tt){const xe=c.oxw();c.xp6(4),c.AsE("",c.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",c.lcZ(6,7,xe.user),""),c.xp6(3),c.Q6J("ngIf",!xe.isOnlySelfRole),c.xp6(1),c.Q6J("ngIf",xe.isOnlySelfRole),c.xp6(1),c.Q6J("ngIf",!xe.isOnlySelfRole)}}let O=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei,Yi,on,Wn,kn){this.userManager=xe,this.storeService=ft,this.sideMenuService=Ut,this.route=$t,this.router=bi,this.notificator=Ei,this.translateService=Yi,this.dialog=on,this.apiRequestConfiguration=Wn,this.otherApplicationService=kn,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"],Yi.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Xr=>this.mailSuccessMessage=Xr)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const xe=Object.keys(this.roles);this.isOnlySelfRole=xe.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(ft=>xe.includes(ft)),this.getDashboardSettings()}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}changeRoleView(xe){if(this.isRoleShowed(xe)){const ft=[];for(const Ut of this.roleNames)this.isRoleShowed(Ut)||ft.push(Ut),Ut===xe&&ft.push(Ut);this.rolesToHide=ft}else this.rolesToHide=this.rolesToHide.filter(ft=>ft!==xe);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(xe){return!this.rolesToHide.includes(xe)}validatePreferredMailChange(){const xe=this.route.snapshot.queryParamMap,ft=xe.get("token"),Ut=xe.get("u");ft&&Ut&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(ft,Number.parseInt(Ut,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const $t=(0,E.kZ)();$t.width="600px",this.dialog.open(v.qD,$t).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}getDashboardSettings(){const xe=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===xe||xe;const ft=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===ft?[]:ft}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Fv),c.Y36(b.d6),c.Y36(I.D),c.Y36(g.gz),c.Y36(g.F0),c.Y36(b.V6),c.Y36(N.sK),c.Y36(A.uw),c.Y36(b.F5),c.Y36(b.jq))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("router-component",ft.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"],["class","ml-auto text-bigger","mat-stroked-button","",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"],["class","text-bigger ml-2 mt-2","mat-stroked-button","",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(xe,ft){1&xe&&(c.TgZ(0,"mat-sidenav-container",0),c.TgZ(1,"mat-sidenav",1),c.NdJ("openedChange",function($t){return ft.rightSettingOpened=$t}),c.TgZ(2,"div",2),c.TgZ(3,"div",3),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"mat-checkbox",4),c.NdJ("ngModelChange",function($t){return ft.recentlyViewedShow=$t})("change",function($t){return $t?ft.recentlyViewedChanged():null}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"div",5),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.YNc(13,ne,4,4,"div",6),c.qZA(),c.qZA(),c.TgZ(14,"mat-sidenav-content"),c.YNc(15,D,10,9,"div",7),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.Q6J("opened",ft.rightSettingOpened),c.xp6(3),c.Oqu(c.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),c.xp6(3),c.Q6J("ngModel",ft.recentlyViewedShow),c.xp6(1),c.Oqu(c.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),c.xp6(3),c.Oqu(c.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),c.xp6(2),c.Q6J("ngForOf",ft.roleNames),c.xp6(2),c.Q6J("ngIf",void 0!==ft.user))},directives:[q.TM,q.JX,j.oG,G.JJ,G.On,Q.sg,q.Rh,Q.O5,he.Hw,F.lW,g.rH,se,fe],pipes:[N.X$,Ze.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}"]}),tt})();var i=h(4235);let o=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"perun-web-apps-back-button"),c.TgZ(2,"h1",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(3),c.Oqu(c.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[i.W],pipes:[N.X$],styles:[""]}),tt})();var u=h(33604),l=h(67322),s=h(98833),n=h(63189);let t=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,F.ot,he.Ps,g.Bz,u.ez,N.aw,l.lN,G.UX,s.c,n.r]]}),tt})(),r=(()=>{class tt{constructor(xe,ft){this.auth=xe,this.router=ft}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.e8),c.Y36(g.F0))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"h4",3),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"button",4),c.NdJ("click",function(){return ft.startAuth()}),c._uU(7),c.ALo(8,"translate"),c.TgZ(9,"mat-icon"),c._uU(10," login "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.xp6(4),c.hij(" ",c.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),c.xp6(3),c.hij(" ",c.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[F.lW,he.Hw],pipes:[N.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),tt})();var a=h(41619);function d(tt,Wt){if(1&tt&&(c.TgZ(0,"div",8),c._UZ(1,"div",9),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("innerHTML",xe.logo,c.oJD)}}function f(tt,Wt){if(1&tt&&(c.TgZ(0,"div",10),c._UZ(1,"div",11),c._UZ(2,"mat-icon",12),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("innerHTML",xe.logo,c.oJD)}}const x=function(tt){return{color:tt}};function Ye(tt,Wt){if(1&tt&&(c.TgZ(0,"p",13),c._uU(1),c.qZA()),2&tt){const xe=c.oxw();c.Q6J("ngStyle",c.VKq(2,x,xe.textColor)),c.xp6(1),c.hij(" ",xe.headerTitle," ")}}const It=function(tt,Wt){return{background:tt,color:Wt}},jt=function(tt,Wt){return{"min-height":tt,"background-color":Wt}};let bt=(()=>{class tt{constructor(xe,ft,Ut,$t){this.storeService=xe,this.sanitizer=ft,this.preferredLangService=Ut,this.translateService=$t,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 xe=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(xe)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.d6),c.Y36(e.H7),c.Y36(b.BN),c.Y36(N.sK))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.YNc(1,d,2,1,"div",1),c.YNc(2,f,3,1,"div",2),c.YNc(3,Ye,2,4,"p",3),c.qZA(),c.TgZ(4,"div",4),c.TgZ(5,"div",5),c.TgZ(6,"div",6),c._UZ(7,"router-outlet"),c.qZA(),c.TgZ(8,"div",7),c._UZ(9,"perun-web-apps-footer"),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.WLB(5,It,ft.headerBackgroundColor,ft.headerTextColor)),c.xp6(1),c.Q6J("ngIf","admin-gui"===ft.application||"user-profile"===ft.application||"consolidator"===ft.application),c.xp6(1),c.Q6J("ngIf","publications"===ft.application),c.xp6(1),c.Q6J("ngIf",!!ft.headerTitle),c.xp6(2),c.Q6J("ngStyle",c.WLB(8,jt,ft.getContentInnerMinHeight(),ft.contentBackgroundColor)))},directives:[Q.PC,Q.O5,he.Hw,g.lC,a.$],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),tt})();function Yt(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",8),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const Nt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:u.t$},{path:"api-callback",component:w},{path:"login",component:r},{path:"service-access",component:(()=>{class tt{constructor(xe){this.authzService=xe,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new G.NI(null,[G.kI.required]),this.passwordCtrl=new G.NI(null,[G.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(xe=>{sessionStorage.setItem("baPrincipal",JSON.stringify(xe)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Ct))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"h2"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.YNc(6,Yt,3,3,"perun-web-apps-alert",3),c.TgZ(7,"mat-form-field",4),c.TgZ(8,"mat-label"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c._UZ(11,"input",5),c.TgZ(12,"mat-error"),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.qZA(),c.TgZ(15,"mat-form-field",4),c.TgZ(16,"mat-label"),c._uU(17),c.ALo(18,"translate"),c.qZA(),c._UZ(19,"input",6),c.TgZ(20,"mat-error"),c._uU(21),c.ALo(22,"translate"),c.qZA(),c.qZA(),c.TgZ(23,"button",7),c.NdJ("click",function(){return ft.startAuth()}),c._uU(24),c.ALo(25,"translate"),c.TgZ(26,"mat-icon"),c._uU(27," login "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.xp6(4),c.Oqu(c.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),c.xp6(2),c.Q6J("ngIf",ft.wrongUsernameOrPassword),c.xp6(3),c.Oqu(c.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),c.xp6(2),c.Q6J("formControl",ft.usernameCtrl),c.xp6(2),c.hij(" ",c.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),c.xp6(4),c.Oqu(c.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),c.xp6(2),c.Q6J("formControl",ft.passwordCtrl)("type","password"),c.xp6(2),c.hij(" ",c.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),c.xp6(2),c.Q6J("disabled",ft.usernameCtrl.invalid||ft.passwordCtrl.invalid),c.xp6(1),c.hij(" ",c.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[Q.O5,pe.w,l.KE,l.hX,s.Nt,G.Fj,G.Q7,G.JJ,G.oH,l.TO,F.lW,he.Hw],pipes:[N.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}"]}),tt})()},{path:"organizations",loadChildren:()=>Promise.all([h.e(969),h.e(323),h.e(243),h.e(858)]).then(h.bind(h,60858)).then(tt=>tt.VosModule)},{path:"admin",loadChildren:()=>Promise.all([h.e(969),h.e(374),h.e(323),h.e(346)]).then(h.bind(h,36346)).then(tt=>tt.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([h.e(969),h.e(374),h.e(323),h.e(346),h.e(243),h.e(958)]).then(h.bind(h,12958)).then(tt=>tt.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([h.e(969),h.e(374)]).then(h.bind(h,46374)).then(tt=>tt.UsersModule)},{path:"home",component:O},{path:"notAuthorized",component:u.y9},{path:"**",component:o}];let He=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[g.Bz.forRoot(Nt,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),tt})();var je=h(72077),Z=h(14264);class ${constructor(Wt,xe="/assets/i18n/",ft=".json"){this.http=Wt,this.prefix=xe,this.suffix=ft}getTranslation(Wt){return this.http.get(`${this.prefix}${Wt}${this.suffix}`)}}var oe=h(40520),nt=h(76360);let ct=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({providers:[b.e8],imports:[[Q.ez]]}),tt})();var Rt=h(81847),mt=h(4732),Tt=h(94856),ot=h(55857),rt=h(37240),lt=h(15592),ut=h(75234),Ht=h(37380),Qt=h(34904),ni=h(85243),hi=h(68056),gi=h(24219),xi=h(25828),ji=h(10369),tn=h(14336),qi=h(25309),Lt=h(86353),oi=h(3246),Pt=h(57788),$e=h(80774),vt=h(25610),at=h(61639);let yt=(()=>{class tt{constructor(){this.allowCachePages=[{type:"vo",components:[Rt.y.id,mt.G.id,Tt.c.id,hi.z.id,gi.z.id,ji.w.id,oi.T.id]},{type:"group",components:[ut.y.id,lt.u.id,rt.q.id,at.C.id,ot.W.id,tn.Z.id]},{type:"facility",components:[Ht.o.id,Qt.f.id,vt._.id]},{type:"member",components:[ni.j.id]},{type:"admin",components:[xi.t.id,Pt.g.id,$e.F.id]},{type:"entitySelect",components:[qi.Y.id,Lt.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 xe of this.allowCachePages)this.typeToComponentToHandlers.set(xe.type,new Map)}static getCurrentTimestamp(){return+Date.now()}static getComponentName(xe){return xe.id}static getPath(xe){var ft,Ut;return null!==(Ut=null===(ft=xe.routeConfig)||void 0===ft?void 0:ft.path)&&void 0!==Ut?Ut:""}shouldReuseRoute(xe,ft){return this.checkResets(ft),xe.routeConfig===ft.routeConfig}retrieve(xe){if(xe.component){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages)if(Ut.components.includes(ft)){const $t=this.typeToComponentToHandlers.get(Ut.type).get(ft);return void 0===$t?null:$t.routeHandle}}return null}shouldAttach(xe){if(!this.isUserNavigatingBack)return!1;if(xe.component){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages){const $t=this.typeToComponentToHandlers.get(Ut.type).get(ft);if(void 0!==$t&&tt.getCurrentTimestamp()-$t.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const Ut=this.getComponentType(xe);this.typeToComponentToHandlers.get(Ut).set(tt.getComponentName(xe.component),{routeHandle:ft,saveTimeStamp:tt.getCurrentTimestamp()})}}setLastNavigationType(xe){this.isUserNavigatingBack="back"===xe}checkResets(xe){const ft=tt.getPath(xe);for(const Ut of this.resets)if(Ut.resetPath===ft){const $t=String(xe.params[Ut.param]);null!==Ut.lastValue&&Ut.lastValue!==$t&&this.typeToComponentToHandlers.get(Ut.resetType).clear(),Ut.lastValue=$t}}getComponentType(xe){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages)if(Ut.components.includes(ft))return Ut.type;return null}}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac}),tt})();const U=new c.OlP("perun-api-service");let Ge=(()=>{class tt{constructor(xe,ft,Ut,$t,bi){this.http=xe,this.storeService=ft,this.authzSevice=Ut,this.titleService=$t,this.utilsService=bi}initializeColors(xe,ft){return new Promise(Ut=>{ft.forEach($t=>{const bi=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,bi)}),xe.forEach($t=>{const bi=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,bi),this.setEntityTheme($t.entity,bi)}),Ut()})}setEntityTheme(xe,ft){const Ut=function _t(tt){return[Dt(tinycolor(tt).lighten(52),"50"),Dt(tinycolor(tt).lighten(37),"100"),Dt(tinycolor(tt).lighten(26),"200"),Dt(tinycolor(tt).lighten(12),"300"),Dt(tinycolor(tt).lighten(6),"400"),Dt(tinycolor(tt),"500"),Dt(tinycolor(tt).darken(6),"600"),Dt(tinycolor(tt).darken(12),"700"),Dt(tinycolor(tt).darken(18),"800"),Dt(tinycolor(tt).darken(24),"900"),Dt(tinycolor(tt).lighten(50).saturate(30),"A100"),Dt(tinycolor(tt).lighten(30).saturate(30),"A200"),Dt(tinycolor(tt).lighten(10).saturate(15),"A400"),Dt(tinycolor(tt).lighten(5).saturate(5),"A700")]}(ft);for(const $t of Ut){const Yi=`--${xe}-theme-primary-contrast-${$t.name}`,on=$t.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${xe}-theme-primary-${$t.name}`,`${$t.red},${$t.green},${$t.blue}`),document.documentElement.style.setProperty(Yi,on)}}loadAppDefaultConfig(){return new Promise(xe=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ft=>{this.storeService.setDefaultConfig(ft),xe()})})}loadAppInstanceConfig(){return new Promise(xe=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ft=>{var Ut;this.storeService.setInstanceConfig(ft);const $t=document.location.hostname;(null===(Ut=null==ft?void 0:ft.brandings)||void 0===Ut?void 0:Ut[$t])&&this.storeService.setBanding($t),xe()},()=>{xe()})})}getNoCacheHeaders(){return new oe.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(xe=>{const ft=document.querySelector("link[rel*='icon']")||document.createElement("link");ft.type="image/x-icon",ft.rel="shortcut icon",ft.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(ft),xe()})}setApiUrl(){return new Promise(xe=>{let ft=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(ft=ft.replace("oauth","ba")),this.authzSevice.configuration.basePath=ft,this.titleService.setTitle(this.storeService.get("document_title","en")),xe()})}loadAppsConfig(){return new Promise((xe,ft)=>{this.utilsService.getAppsConfig().subscribe(Ut=>{this.storeService.setAppsConfig(Ut),xe()},Ut=>ft(Ut))})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(oe.eN),c.LFG(b.d6),c.LFG(_.Ct),c.LFG(e.Dx),c.LFG(_.FW))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();function Dt(tt,Wt){const xe=tinycolor(tt),ft=xe.toRgb();return{name:Wt,hex:xe.toHexString(),darkContrast:xe.isLight(),red:ft.r,green:ft.g,blue:ft.b}}let ti=(()=>{class tt{constructor(xe,ft){this.data=xe,this.location=ft}redirect(){this.location.go("/"),location.reload()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.WI),c.Y36(Q.Ye))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"h2"),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"p"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"button",0),c.NdJ("click",function(){return ft.redirect()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.hij(" ",c.lcZ(2,3,ft.data.title),"\n"),c.xp6(3),c.hij(" ",c.lcZ(5,5,ft.data.message),"\n"),c.xp6(4),c.hij(" ",c.lcZ(9,7,ft.data.action)," "))},pipes:[N.X$],styles:[""]}),tt})(),si=(()=>{class tt{constructor(xe,ft){this.dialogRef=xe,this.data=ft}refresh(){location.reload()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.so),c.Y36(A.WI))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"h2"),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"p"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"button",0),c.NdJ("click",function(){return ft.refresh()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.hij(" ",c.lcZ(2,3,ft.data.title),"\n"),c.xp6(3),c.hij(" ",c.lcZ(5,5,ft.data.message),"\n"),c.xp6(4),c.hij(" ",c.lcZ(9,7,ft.data.action)," "))},pipes:[N.X$],styles:[""]}),tt})(),Ii=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei){this.initAuthService=xe,this.appConfigService=ft,this.authzSevice=Ut,this.dialog=$t,this.location=bi,this.guiAuthResolver=Ei,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(xe=>{if("Invalid path"!==xe)throw console.error(xe),this.location.go("/"),location.reload(),xe;this.handleErr(xe)}).then(xe=>xe?this.initAuthService.loadPrincipal().catch(ft=>this.handleErr(ft)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(xe){const ft=(0,E.kZ)();throw"Invalid path"===xe?(ft.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(ti,ft)):(ft.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===xe.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":xe.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(si,ft)),console.error(xe),xe}loadPolicies(){return new Promise((xe,ft)=>{this.authzSevice.getAllPolicies().subscribe(Ut=>{this.guiAuthResolver.setPerunPolicies(Ut),xe()},Ut=>ft(Ut))})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(b.v0),c.LFG(Ge),c.LFG(_.Ct),c.LFG(A.uw),c.LFG(Q.Ye),c.LFG(b.x4))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),wi=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,A.Is,F.ot,N.aw]]}),tt})();var zi=h(50226),rn=h(47429),Oi=h(70925),Hi=h(63191),Ki=h(77579),Li=h(56451),yi=h(54968),nn=h(68306),fn=h(66406),Wi=h(39646),sn=h(95698),An=h(54482),On=h(72733),Ji=h(22529),ln=h(82722),Dn=h(28746),St=h(71345);const Kt=new c.OlP("SMOOTH_SCROLL_OPTIONS");let st=(()=>{class tt{constructor(xe,ft,Ut){this._document=xe,this._platform=ft,this._onGoingScrolls=new Map,this._defaultOptions=Object.assign({duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1}},Ut)}get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}_scrollElement(xe,ft,Ut){xe.scrollLeft=ft,xe.scrollTop=Ut}_getElement(xe,ft){return"string"==typeof xe?(ft||this._document).querySelector(xe):(0,Hi.fI)(xe)}_initSmoothScroll(xe){return this._onGoingScrolls.has(xe)&&this._onGoingScrolls.get(xe).next(),this._onGoingScrolls.set(xe,new Ki.x).get(xe)}_isFinished(xe,ft,Ut){return xe.currentX!==xe.x||xe.currentY!==xe.y||(ft.next(),Ut(),!1)}_interrupted(xe,ft){return(0,Li.T)((0,yi.R)(xe,"wheel",{passive:!0,capture:!0}),(0,yi.R)(xe,"touchmove",{passive:!0,capture:!0}),ft).pipe((0,sn.q)(1))}_destroy(xe,ft){ft.complete(),this._onGoingScrolls.delete(xe)}_step(xe){return new nn.y(ft=>{let Ut=(this._now()-xe.startTime)/xe.duration;Ut=Ut>1?1:Ut;const $t=xe.easing(Ut);xe.currentX=xe.startX+(xe.x-xe.startX)*$t,xe.currentY=xe.startY+(xe.y-xe.startY)*$t,this._scrollElement(xe.scrollable,xe.currentX,xe.currentY),fn.Z.schedule(()=>ft.next(xe))})}_applyScrollToOptions(xe,ft){if(!ft.duration)return this._scrollElement(xe,ft.left,ft.top),Promise.resolve();const Ut=this._initSmoothScroll(xe),$t={scrollable:xe,startTime:this._now(),startX:xe.scrollLeft,startY:xe.scrollTop,x:null==ft.left?xe.scrollLeft:~~ft.left,y:null==ft.top?xe.scrollTop:~~ft.top,duration:ft.duration,easing:St(ft.easing.x1,ft.easing.y1,ft.easing.x2,ft.easing.y2)};return new Promise(bi=>{(0,Wi.of)(null).pipe(function un(tt,Wt=1/0,xe){return Wt=(Wt||0)<1?1/0:Wt,(0,An.e)((ft,Ut)=>(0,On.p)(ft,Ut,tt,Wt,void 0,!0,xe))}(()=>this._step($t).pipe((0,Ji.o)(Ei=>this._isFinished(Ei,Ut,bi)))),(0,ln.R)(this._interrupted(xe,Ut)),(0,Dn.x)(()=>this._destroy(xe,Ut))).subscribe()})}scrollTo(xe,ft){if((0,Q.NF)(this._platform)){const Ut=this._getElement(xe),$t="rtl"===getComputedStyle(Ut).direction,bi=(0,Oi._i)(),Ei=Object.assign(Object.assign(Object.assign({},this._defaultOptions),ft),{left:null==ft.left?$t?ft.end:ft.start:ft.left,right:null==ft.right?$t?ft.start:ft.end:ft.right});return null!=Ei.bottom&&(Ei.top=Ut.scrollHeight-Ut.clientHeight-Ei.bottom),$t&&0!==bi?(null!=Ei.left&&(Ei.right=Ut.scrollWidth-Ut.clientWidth-Ei.left),2===bi?Ei.left=Ei.right:1===bi&&(Ei.left=Ei.right?-Ei.right:Ei.right)):null!=Ei.right&&(Ei.left=Ut.scrollWidth-Ut.clientWidth-Ei.right),this._applyScrollToOptions(Ut,Ei)}return Promise.resolve()}scrollToElement(xe,ft,Ut={}){const $t=this._getElement(xe),bi=this._getElement(ft,$t),Ei=Object.assign(Object.assign({},Ut),{left:bi.offsetLeft+(Ut.left||0),top:bi.offsetTop+(Ut.top||0)});return bi?this.scrollTo($t,Ei):Promise.resolve()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(Q.K0),c.LFG(c.Lbi),c.LFG(Kt,8))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Fe=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({}),tt})();var Bt=h(60515),Je=h(61135),wt=h(50727),Gt=h(18505),li=h(54004),vi=h(63900);function Vi(...tt){const Wt=tt.length;if(0===Wt)throw new Error("list of properties cannot be empty.");return(0,li.U)(xe=>{let ft=xe;for(let Ut=0;Ut{tt.onselectstart=()=>!1})}function Pn(tt){return(0,Gt.b)(()=>{tt.onselectstart=null})}function Rn(){return(0,Gt.b)(tt=>tt.stopPropagation())}function xn(tt,Wt){return tt.clientX>=Wt.left&&tt.clientX<=Wt.left+Wt.width&&tt.clientY>=Wt.top&&tt.clientY<=Wt.top+Wt.height}let Hn=(()=>{class tt{constructor(xe){this.viewPort=xe,this.nativeElement=xe.nativeElement}get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){var xe;return(null===(xe=this.contentWrapperElement)||void 0===xe?void 0:xe.clientHeight)||0}get contentWidth(){var xe;return(null===(xe=this.contentWrapperElement)||void 0===xe?void 0:xe.clientWidth)||0}activatePointerEvents(xe,ft){this.hovered=new nn.y(Ut=>{const $t=(0,yi.R)(this.nativeElement,"mousemove",{passive:!0}),bi=xe?$t:$t.pipe(Rn()),Ei=(0,yi.R)(this.nativeElement,"mouseleave",{passive:!0}).pipe((0,li.U)(()=>!1));(0,Li.T)(bi,Ei).pipe((0,Gt.b)(Yi=>Ut.next(Yi)),(0,ln.R)(ft)).subscribe()}),this.clicked=new nn.y(Ut=>{const $t=(0,yi.R)(this.nativeElement,"mousedown",{passive:!0}).pipe((0,Gt.b)(Ei=>Ut.next(Ei))),bi=(0,yi.R)(this.nativeElement,"mouseup",{passive:!0}).pipe((0,Gt.b)(()=>Ut.next(!1)));$t.pipe((0,vi.w)(()=>bi),(0,ln.R)(ft)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(xe){this.nativeElement.className=`ng-native-scrollbar-hider ng-scroll-viewport ${xe}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(xe){this.nativeElement.scrollTop=xe}scrollXTo(xe){this.nativeElement.scrollLeft=xe}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollViewport",""]]}),tt})(),mn=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275dir=c.lG2({type:tt}),tt})();const vn=new c.OlP("NG_SCROLLBAR_OPTIONS"),Gn={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1};let cn=(()=>{class tt{constructor(xe){this.globalOptions=xe?Object.assign(Object.assign({},Gn),xe):Gn,this.rtlScrollAxisType=(0,Oi._i)()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(vn,8))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Bn=(()=>{class tt{constructor(xe,ft,Ut){this.cmp=xe,this.trackElement=ft,this.document=Ut}get clicked(){const xe=(0,yi.R)(this.trackElement,"mousedown",{passive:!0}).pipe(Rn(),wn(this.document)),ft=(0,yi.R)(this.document,"mouseup",{passive:!0}).pipe(Rn(),Pn(this.document),(0,vi.w)(()=>Bt.E));return(0,Li.T)(xe,ft)}get clientRect(){return this.trackElement.getBoundingClientRect()}onTrackClicked(xe,ft,Ut){return(0,Wi.of)(xe).pipe(Vi(this.pageProperty),(0,li.U)($t=>($t-this.offset-ft/2)/this.size*Ut),(0,Gt.b)($t=>{this.cmp.scrollTo(Object.assign(Object.assign({},this.mapToScrollToOption($t)),{duration:(0,Hi.su)(this.cmp.trackClickScrollDuration)}))}))}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(HTMLElement),c.Y36(Document))},tt.\u0275dir=c.lG2({type:tt}),tt})(),zn=(()=>{class tt extends Bn{constructor(xe,ft,Ut){super(xe,ft.nativeElement,Ut),this.cmp=xe,this.document=Ut}get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}mapToScrollToOption(xe){return{left:xe}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarTrackX",""]],features:[c.qOj]}),tt})(),dn=(()=>{class tt extends Bn{constructor(xe,ft,Ut){super(xe,ft.nativeElement,Ut),this.cmp=xe,this.document=Ut}get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}mapToScrollToOption(xe){return{top:xe}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarTrackY",""]],features:[c.qOj]}),tt})(),cr=(()=>{class tt{constructor(xe,ft,Ut,$t){this.cmp=xe,this.track=ft,this.thumbElement=Ut,this.document=$t,this._dragging=new Ki.x,this.dragging=this._dragging.pipe((0,Ui.x)())}get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return(0,yi.R)(this.thumbElement,"mousedown",{passive:!0}).pipe(Rn())}update(){const xe=function gt(tt,Wt,xe){return Math.max(~~(tt/Wt*tt),xe)}(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),ft=function k(tt,Wt,xe){return tt*xe/Wt}(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);fn.Z.schedule(()=>this.updateStyles(this.handleDirection(ft,this.trackMax),xe))}dragged(xe){let ft,Ut;const $t=(0,Wi.of)(xe).pipe(wn(this.document),(0,Gt.b)(()=>{ft=this.trackMax,Ut=this.viewportScrollMax,this.setDragging(!0)})),bi=(0,yi.R)(this.document,"mousemove",{capture:!0,passive:!0}).pipe(Rn()),Ei=(0,yi.R)(this.document,"mouseup",{capture:!0}).pipe(Rn(),Pn(this.document),(0,Gt.b)(()=>this.setDragging(!1)));return $t.pipe(Vi(this.pageProperty),(0,li.U)(Yi=>Yi-this.dragStartOffset),(0,bn.z)(Yi=>bi.pipe(Vi(this.clientProperty),(0,li.U)(on=>on-this.track.offset),(0,li.U)(on=>Ut*(on-Yi)/ft),(0,li.U)(on=>this.handleDrag(on,Ut)),(0,Gt.b)(on=>this.scrollTo(on)),(0,ln.R)(Ei))))}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(Bn),c.Y36(HTMLElement),c.Y36(Document))},tt.\u0275dir=c.lG2({type:tt,outputs:{dragging:"dragging"}}),tt})(),W=(()=>{class tt extends cr{constructor(xe,ft,Ut,$t,bi){super(xe,ft,Ut.nativeElement,$t),this.cmp=xe,this.track=ft,this.element=Ut,this.document=$t,this.dir=bi}get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}updateStyles(xe,ft){this.thumbElement.style.width=`${ft}px`,this.thumbElement.style.transform=`translate3d(${xe}px, 0, 0)`}handleDrag(xe,ft){if("rtl"===this.dir.value){if(1===this.cmp.manager.rtlScrollAxisType)return xe-ft;if(2===this.cmp.manager.rtlScrollAxisType)return ft-xe}return xe}handleDirection(xe,ft){if("rtl"===this.dir.value){if(2===this.cmp.manager.rtlScrollAxisType)return-xe;if(0===this.cmp.manager.rtlScrollAxisType)return xe-ft}return xe}setDragging(xe){this.cmp.setDragging({horizontalDragging:xe})}scrollTo(xe){this.cmp.viewport.scrollXTo(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(zn),c.Y36(c.SBq),c.Y36(Q.K0),c.Y36(zi.Is))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarThumbX",""]],features:[c.qOj]}),tt})(),Re=(()=>{class tt extends cr{constructor(xe,ft,Ut,$t){super(xe,ft,Ut.nativeElement,$t),this.cmp=xe,this.track=ft,this.element=Ut,this.document=$t}get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}updateStyles(xe,ft){this.thumbElement.style.height=`${ft}px`,this.thumbElement.style.transform=`translate3d(0px, ${xe}px, 0)`}handleDrag(xe){return xe}handleDirection(xe){return xe}setDragging(xe){this.cmp.setDragging({verticalDragging:xe})}scrollTo(xe){this.cmp.viewport.scrollYTo(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(dn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarThumbY",""]],features:[c.qOj]}),tt})(),pt=(()=>{class tt{constructor(xe,ft,Ut,$t,bi){this.el=xe,this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi,this.destroyed=new Ki.x}activatePointerEvents(){let xe,ft,Ut;return"viewport"===this.cmp.pointerEventsMethod?(this.viewportTrackClicked=new Ki.x,this.viewportThumbClicked=new Ki.x,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),xe=this.viewportThumbClicked,ft=this.viewportTrackClicked,Ut=this.cmp.viewport.hovered.pipe((0,li.U)($t=>!!$t&&xn($t,this.el.getBoundingClientRect())),(0,Ui.x)(),(0,Gt.b)($t=>this.document.onselectstart=$t?()=>!1:null)),this.cmp.viewport.clicked.pipe((0,Gt.b)($t=>{$t?xn($t,this.thumb.clientRect)?this.viewportThumbClicked.next($t):xn($t,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next($t)):this.cmp.setClicked(!1)}),(0,ln.R)(this.destroyed)).subscribe()):(xe=this.thumb.clicked,ft=this.track.clicked,Ut=this.hovered),(0,Li.T)(Ut.pipe((0,Gt.b)($t=>this.setHovered($t))),xe.pipe((0,vi.w)($t=>this.thumb.dragged($t))),ft.pipe((0,vi.w)($t=>this.track.onTrackClicked($t,this.thumb.size,this.viewportScrollSize))))}get hovered(){const xe=(0,yi.R)(this.el,"mouseenter",{passive:!0}).pipe(Rn(),(0,li.U)(()=>!0)),ft=(0,yi.R)(this.el,"mouseleave",{passive:!0}).pipe(Rn(),(0,li.U)(()=>!1));return(0,Li.T)(xe,ft)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe((0,ln.R)(this.destroyed)).subscribe(),(0,Li.T)(this.cmp.scrolled,this.cmp.updated).pipe((0,Gt.b)(()=>{var xe;return null===(xe=this.thumb)||void 0===xe?void 0:xe.update()}),(0,ln.R)(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(HTMLElement),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Document),c.Y36(c.R0b))},tt.\u0275dir=c.lG2({type:tt}),tt})(),Et=(()=>{class tt extends pt{constructor(xe,ft,Ut,$t,bi){super(xe.nativeElement,ft,Ut,$t,bi),this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}setHovered(xe){this.cmp.setHovered({verticalHovered:xe})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Q.K0),c.Y36(c.R0b))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["scrollbar-y"]],viewQuery:function(xe,ft){if(1&xe&&(c.Gf(dn,7),c.Gf(Re,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.track=Ut.first),c.iGM(Ut=c.CRH())&&(ft.thumb=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("scrollbar-control",!0)},features:[c.qOj],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"div",1),c.qZA()),2&xe&&(c.Gre("ng-scrollbar-track ",ft.cmp.trackClass,""),c.xp6(1),c.Gre("ng-scrollbar-thumb ",ft.cmp.thumbClass,""))},directives:[dn,Re],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%} .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0} .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset} .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0} .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0} .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0}),tt})(),te=(()=>{class tt extends pt{constructor(xe,ft,Ut,$t,bi){super(xe.nativeElement,ft,Ut,$t,bi),this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}setHovered(xe){this.cmp.setHovered({horizontalHovered:xe})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Q.K0),c.Y36(c.R0b))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["scrollbar-x"]],viewQuery:function(xe,ft){if(1&xe&&(c.Gf(zn,7),c.Gf(W,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.track=Ut.first),c.iGM(Ut=c.CRH())&&(ft.thumb=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("scrollbar-control",!0)},features:[c.qOj],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"div",1),c.qZA()),2&xe&&(c.Gre("ng-scrollbar-track ",ft.cmp.trackClass,""),c.xp6(1),c.Gre("ng-scrollbar-thumb ",ft.cmp.thumbClass,""))},directives:[zn,W],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%} .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset} .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0}),tt})(),Ie=(()=>{class tt{constructor(xe){this.el=xe}set ngAttr(xe){for(const[ft,Ut]of Object.entries(xe))this.el.nativeElement.setAttribute(ft,Ut)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"}}),tt})(),le=(()=>{class tt{constructor(xe,ft,Ut){if(this.zone=xe,this.platform=ft,this.scrollbar=Ut,this._disabled=!1,this._currentSubscription=null,this.event=new c.vpe,!Ut)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}get debounce(){return this._debounce}set debounce(xe){this._debounce=(0,Hi.su)(xe),this._subscribe()}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,Hi.Ig)(xe),this._disabled?this._unsubscribe():this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){const xe=new nn.y(ft=>{this._resizeObserver=new ResizeObserver(Ut=>ft.next(Ut)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?xe.pipe((0,Jn.b)(this._debounce)):xe).subscribe(this.event)})}}_unsubscribe(){var xe,ft;null===(xe=this._resizeObserver)||void 0===xe||xe.disconnect(),null===(ft=this._currentSubscription)||void 0===ft||ft.unsubscribe()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.R0b),c.Y36(Oi.t4),c.Y36(mn))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","resizeSensor",""]],inputs:{debounce:["sensorDebounce","debounce"],disabled:["sensorDisabled","disabled"]},outputs:{event:"resizeSensor"}}),tt})(),et=(()=>{class tt{constructor(xe,ft,Ut){this.document=xe,this.manager=ft,this.platform=Ut,this._scrollbarSize=new Je.X(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),Ut.isBrowser&&(0,yi.R)(this.document.defaultView,"resize",{passive:!0}).pipe((0,Jn.b)(this.manager.globalOptions.windowResizeDebounce),(0,li.U)(()=>this.getNativeScrollbarSize()),(0,Ui.x)(),(0,Gt.b)($t=>this._scrollbarSize.next($t))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;const xe=this.document.createElement("div");xe.className="ng-scrollbar-measure",xe.style.left="0px",xe.style.overflow="scroll",xe.style.position="fixed",xe.style.top="-9999px",this.document.body.appendChild(xe);const ft=xe.getBoundingClientRect().right;return this.document.body.removeChild(xe),ft}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(Q.K0),c.LFG(cn),c.LFG(Oi.t4))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),xt=(()=>{class tt{constructor(xe,ft,Ut){this.renderer=ft,this.hideNativeScrollbar=Ut,this._subscriber=wt.w0.EMPTY,this._subscriber=Ut.scrollbarSize.subscribe($t=>{this.renderer.setStyle(xe.nativeElement,"--native-scrollbar-size",`-${$t}px`,c.JOm.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(et))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","hideNativeScrollbar",""]]}),tt})(),zt=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei){this.el=xe,this.zone=ft,this.changeDetectorRef=Ut,this.dir=$t,this.smoothScroll=bi,this.manager=Ei,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new c.vpe,this.state={},this.destroyed=new Ki.x}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,Hi.Ig)(xe)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(xe){this._sensorDisabled=(0,Hi.Ig)(xe)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(xe){this._pointerEventsDisabled=(0,Hi.Ig)(xe)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(xe){this._viewportPropagateMouseMove=(0,Hi.Ig)(xe)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(xe){this._autoHeightDisabled=(0,Hi.Ig)(xe)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(xe){this._autoWidthDisabled=(0,Hi.Ig)(xe)}get nativeElement(){return this.el.nativeElement}updateState(){let xe=!1,ft=!1,Ut=!1,$t=!1;("all"===this.track||"vertical"===this.track)&&(Ut=this.viewport.scrollHeight>this.viewport.clientHeight,xe="always"===this.visibility||Ut),("all"===this.track||"horizontal"===this.track)&&($t=this.viewport.scrollWidth>this.viewport.clientWidth,ft="always"===this.visibility||$t),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:xe,horizontalUsed:ft,isVerticallyScrollable:Ut,isHorizontallyScrollable:$t})}setState(xe){this.state=Object.assign(Object.assign({},this.state),xe),this.changeDetectorRef.detectChanges()}getScrolledByDirection(xe){let ft;return this.scrolled.pipe((0,Gt.b)(Ut=>ft=Ut),Vi("target",xe),(0,nr.G)(),(0,jn.h)(([Ut,$t])=>Ut!==$t),(0,li.U)(()=>ft))}setHovered(xe){this.zone.run(()=>this.setState(Object.assign({},xe)))}setDragging(xe){this.zone.run(()=>this.setState(Object.assign({},xe)))}setClicked(xe){this.zone.run(()=>this.setState({scrollbarClicked:xe}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let xe=(0,yi.R)(this.viewport.nativeElement,"scroll",{passive:!0});xe=this.scrollAuditTime?xe.pipe((0,Cn.e)(this.scrollAuditTime)):xe,this.scrolled=xe.pipe((0,ln.R)(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(xe){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe((0,Gt.b)(()=>this.update()),(0,ln.R)(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(xe){return this.smoothScroll.scrollTo(this.viewport.nativeElement,xe)}scrollToElement(xe,ft){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,xe,ft)}updateHeight(){this.nativeElement.style.height="standard"===this.appearance&&this.scrollbarX?`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:`${this.viewport.contentHeight}px`}updateWidth(){this.nativeElement.style.width="standard"===this.appearance&&this.scrollbarY?`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:`${this.viewport.contentWidth}px`}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(zi.Is),c.Y36(st),c.Y36(cn))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["ng-scrollbar"]],contentQueries:function(xe,ft,Ut){if(1&xe&&c.Suo(Ut,Hn,7),2&xe){let $t;c.iGM($t=c.CRH())&&(ft.customViewPort=$t.first)}},viewQuery:function(xe,ft){if(1&xe&&(c.Gf(Tr,5,c.SBq),c.Gf(En,5,c.SBq),c.Gf(Hn,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.scrollbarY=Ut.first),c.iGM(Ut=c.CRH())&&(ft.scrollbarX=Ut.first),c.iGM(Ut=c.CRH())&&(ft.defaultViewPort=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],features:[c._Bn([{provide:mn,useExisting:tt}]),c.TTD],ngContentSelectors:Zn,decls:6,vars:4,consts:[[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"sensorDebounce","sensorDisabled","resizeSensor"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"],["scrollbarX",""],["scrollbarY",""]],template:function(xe,ft){1&xe&&(c.F$t(),c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.NdJ("resizeSensor",function(){return ft.update()}),c.TgZ(2,"div",2),c.TgZ(3,"div"),c.Hsn(4),c.qZA(),c.qZA(),c.qZA(),c.YNc(5,Qn,3,2,"ng-container",3),c.qZA()),2&xe&&(c.Q6J("ngAttr",ft.state),c.xp6(1),c.Q6J("sensorDebounce",ft.sensorDebounce)("sensorDisabled",ft.sensorDisabled),c.xp6(4),c.Q6J("ngIf",!ft.disabled))},directives:[te,Et,Ie,le,Hn,xt,Q.O5],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none} .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)} .ng-scroll-content{position:relative!important;display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%], .ng-scroll-viewport{position:absolute;left:0;right:0;top:0;bottom:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none} .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none} .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)} .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none} .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default} .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0}),tt})(),Jt=(()=>{class tt{static withConfig(xe){return{ngModule:tt,providers:[{provide:vn,useValue:xe}]}}}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,zi.vT,rn.eL,Oi.ud,Fe]]}),tt})();var ai=h(86114),ui=h(36769),fi=h(22465);function Ai(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"perun-web-apps-notification",2),c.NdJ("closeNotification",function(){const $t=c.CHM(xe).index;return c.oxw().removeNotification($t)}),c.qZA(),c.qZA()}if(2&tt){const xe=Wt.$implicit;c.Q6J("@flyInOut",void 0),c.xp6(1),c.Q6J("data",xe)("newNotification",!0)}}const Mi=function(tt){return{top:tt}};let Bi=(()=>{class tt{constructor(xe,ft){this.notificator=xe,this.notificationStorageService=ft,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(Ut=>{this.processNotification(Ut)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(xe){this.notifications.splice(xe,1)}processNotification(xe){this.notifications.push(xe),this.notificationStorageService.storeNotification(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.V6),c.Y36(b.SZ))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-notificator"]],hostBindings:function(xe,ft){1&xe&&c.NdJ("resize",function($t){return ft.getScreenSize($t)},!1,c.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.YNc(1,Ai,2,3,"div",1),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.VKq(2,Mi,ft.getNotificatorTop())),c.xp6(1),c.Q6J("ngForOf",ft.notifications))},directives:[Q.PC,Q.sg,fi.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:[ui.Pd]}}),tt})();var ke=h(29071);function De(tt,Wt){if(1&tt&&(c.TgZ(0,"div",9),c._UZ(1,"perun-web-apps-notification",10),c.qZA()),2&tt){const xe=Wt.$implicit;c.xp6(1),c.Q6J("data",xe)("inDialog",!0)}}function we(tt,Wt){if(1&tt&&(c.TgZ(0,"div",6),c.TgZ(1,"cdk-virtual-scroll-viewport",7),c.YNc(2,De,2,2,"div",8),c.qZA(),c.qZA()),2&tt){const xe=c.oxw();c.xp6(2),c.Q6J("cdkVirtualForOf",xe.notifications)}}function ht(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",11),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Zt=(()=>{class tt{constructor(xe,ft){this.dialogRef=xe,this.notificationStorageService=ft}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.so),c.Y36(b.SZ))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.YNc(3,we,3,1,"div",1),c.YNc(4,ht,3,3,"perun-web-apps-alert",2),c.TgZ(5,"div",3),c.TgZ(6,"button",4),c.NdJ("click",function(){return ft.onClear()}),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.TgZ(9,"button",5),c.NdJ("click",function(){return ft.onCancel()}),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.Oqu(c.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),c.xp6(2),c.Q6J("ngIf",0!==ft.notifications.length),c.xp6(1),c.Q6J("ngIf",0===ft.notifications.length),c.xp6(3),c.hij(" ",c.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),c.xp6(3),c.hij(" ",c.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[A.uh,Q.O5,ke.N7,ke.xd,ke.x0,fi.c,pe.w,A.H8,F.lW],pipes:[N.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),tt})();var pi=h(27544),ki=h(52314);function Xi(tt,Wt){1&tt&&(c.TgZ(0,"div",10),c.TgZ(1,"span",11),c._uU(2," ~ \u{1f5f2}\xa0 "),c.qZA(),c.TgZ(3,"span",12),c._uU(4," DEVEL "),c.qZA(),c.TgZ(5,"span",11),c._uU(6," \xa0\u{1f5f2} ~ "),c.qZA(),c.qZA())}const pn=function(tt){return{color:tt}},Nn=function(){return["/home"]};let $n=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei,Yi,on,Wn,kn){this.storeService=xe,this.authService=ft,this.authzResolverService=Ut,this.dialog=$t,this.notificator=bi,this.translateService=Ei,this.store=Yi,this.sanitizer=on,this.notificationStorageService=Wn,this.otherApplicationService=kn,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 xe=(0,E.kZ)();xe.width="520px",this.dialog.open(Zt,xe)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.d6),c.Y36(b.e8),c.Y36(_.Ct),c.Y36(A.uw),c.Y36(b.V6),c.Y36(N.sK),c.Y36(b.d6),c.Y36(e.H7),c.Y36(b.SZ),c.Y36(b.jq))},tt.\u0275cmp=c.Xpm({type:tt,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,"iconColor","label","textColor","logoutEnabled","url","user"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"button",1),c.NdJ("click",function(){return ft.sideNav.toggle()}),c.TgZ(2,"mat-icon",2),c._uU(3," menu "),c.qZA(),c.qZA(),c.TgZ(4,"a",3),c._UZ(5,"div",4),c.qZA(),c.qZA(),c.YNc(6,Xi,7,0,"div",5),c.TgZ(7,"div",6),c.TgZ(8,"button",7),c.NdJ("click",function(){return ft.showNotificationHistory()}),c.ALo(9,"translate"),c.TgZ(10,"mat-icon",8),c._uU(11),c.qZA(),c.qZA(),c._UZ(12,"perun-web-apps-header-menu",9),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.VKq(19,pn,ft.navTextColor)),c.xp6(2),c.Q6J("ngStyle",c.VKq(21,pn,ft.iconColor)),c.xp6(2),c.Q6J("routerLink",c.DdM(23,Nn)),c.xp6(1),c.Q6J("innerHTML",ft.logo,c.oJD),c.xp6(1),c.Q6J("ngIf",ft.isDevel),c.xp6(1),c.Q6J("ngStyle",c.VKq(24,pn,ft.navTextColor)),c.xp6(1),c.Q6J("matTooltip",c.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),c.xp6(2),c.s9C("matBadge",ft.getNewNotificationsCount()>5?"5+":ft.getNewNotificationsCount()),c.Q6J("ngStyle",c.VKq(26,pn,ft.iconColor))("matBadgeHidden",0===ft.getNewNotificationsCount()),c.xp6(1),c.hij(" ",ft.getNewNotificationsCount()?"notifications_active":"notifications"," "),c.xp6(1),c.Q6J("iconColor",ft.iconColor)("label",ft.profileLabel)("textColor",ft.navTextColor)("logoutEnabled",ft.logoutEnabled)("url",ft.profileUrl)("user",ft.principal.user))},directives:[Q.PC,F.lW,he.Hw,g.yS,Q.O5,T.gM,pi.k,ki.X],pipes:[N.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}"]}),tt})();var sr=h(73228);const ri={provide:oe.TP,useExisting:(0,c.Gpc)(()=>b.yC),multi:!0};function ci(tt){return new $(tt,"./assets/i18n/",".json")}function Si(tt){const Wt={basePath:tt.get("api_url")};return new _.VK(Wt)}const _i=tt=>()=>tt.initialize();let Fi=(()=>{class tt{constructor(xe,ft){this.customIconService=xe,this.translate=ft,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(b.EB),c.LFG(N.sK))},tt.\u0275mod=c.oAB({type:tt,bootstrap:[je.y]}),tt.\u0275inj=c.cJS({providers:[Ii,{provide:c.ip1,useFactory:_i,multi:!0,deps:[Ii]},{provide:_.VK,useFactory:Si,deps:[b.d6]},{provide:g.wN,useClass:yt},b.EB,{provide:U,useClass:b.sM},b.yC,ri,{provide:ai.Hy,useFactory:()=>localStorage}],imports:[[nt.PW,e.b2,oe.JF,Z.m,ct,He,he.Ps,wi,N.aw.forRoot({loader:{provide:N.Zw,useFactory:ci,deps:[oe.eN]}}),_.au,u.ez,t,Jt.withConfig({autoWidthDisabled:!1,visibility:"hover"}),ai.zr.forRoot()]]}),tt})();c.B6R(je.y,[Q.O5,he.Hw,Bi,$n,Q.PC,q.TM,q.JX,zt,sr.V,q.Rh,g.lC,a.$,bt],[]),(0,c.G48)(),e.q6().bootstrapModule(Fi).catch(tt=>console.error(tt))},11243:(qe,me,h)=>{"use strict";h.d(me,{r:()=>g});var e=h(69808),c=h(5e3);let g=(()=>{class w{}return w.\u0275fac=function(b){return new(b||w)},w.\u0275mod=c.oAB({type:w}),w.\u0275inj=c.cJS({imports:[[e.ez]]}),w})()},6335:(qe,me,h)=>{"use strict";h.d(me,{Rc:()=>c,pI:()=>g,Ng:()=>w});var e=h(5e3);const c="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let w=(()=>{class _{getString(E){return localStorage.getItem(E)}getNumber(E){return parseInt(localStorage.getItem(E),10)}setNumber(E,v){localStorage.setItem(E,v.toString())}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=e.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},10036:(qe,me,h)=>{"use strict";h.d(me,{dB:()=>g,CP:()=>w,tw:()=>_,nT:()=>b,YF:()=>E,gc:()=>v,v1:()=>I,AA:()=>N,VR:()=>A,uM:()=>q,xx:()=>j,H2:()=>G,xt:()=>Q,dI:()=>he,j1:()=>F,Wv:()=>be,qy:()=>pe,BV:()=>ye,qV:()=>T,tY:()=>R,Af:()=>L,O7:()=>X,gB:()=>Y,Hi:()=>se,Jf:()=>Te,W1:()=>Oe,rF:()=>Se,Aj:()=>We,Ad:()=>ge,kZ:()=>Le,cL:()=>ue,RS:()=>Me,HC:()=>z,KE:()=>P,Sb:()=>de,_7:()=>Ce,bf:()=>Pe,rc:()=>ce,Cf:()=>fe,eq:()=>ze,NG:()=>Ue,O9:()=>_e,d7:()=>ae,vq:()=>Ae,NL:()=>ee,kO:()=>Ne,aL:()=>V,DR:()=>H,uC:()=>D,JO:()=>O,oK:()=>i,Iz:()=>o,It:()=>u,z6:()=>l,iQ:()=>s,e5:()=>n,Bf:()=>t,zp:()=>d,US:()=>f,gG:()=>x,$V:()=>Ye,S7:()=>It,zW:()=>Yt,CE:()=>Nt,Is:()=>He,M8:()=>$,g:()=>oe,_c:()=>nt,dK:()=>ct,yW:()=>Rt,HE:()=>mt,ee:()=>ot,FF:()=>rt,$I:()=>lt,XH:()=>ut,$t:()=>Ht,uI:()=>Qt});var e=h(6335),c=h(5e3);let g=(()=>{class ni{constructor(gi){this.guiConfigService=gi}getTablePageSize(gi){const xi=this.guiConfigService.getNumber(e.pI+gi);if(!isNaN(xi))return xi;const ji=this.guiConfigService.getNumber(e.Rc);return isNaN(ji)?10:ji}setTablePageSize(gi,xi){this.guiConfigService.setNumber(e.pI+gi,xi)}}return ni.\u0275fac=function(gi){return new(gi||ni)(c.LFG(e.Ng))},ni.\u0275prov=c.Yz7({token:ni,factory:ni.\u0275fac,providedIn:"root"}),ni})();const w="0",_="1",b="2",E="3",v="4",I="5",N="6",A="7",q="8",j="9",G="10",Q="11",he="12",F="13",be="14",pe="15",ye="16",T="17",R="18",L="19",X="20",Y="21",se="22",Te="23",Oe="24",Se="25",We="26",ge="27",Le="28",ue="29",Me="30",z="31",P="32",de="33",Ce="34",Pe="35",ce="36",fe="37",ze="42",Ue="43",_e="44",ae="45",Ae="46",ee="47",Ne="48",V="49",H="50",D="51",O="52",i="53",o="54",u="55",l="56",s="57",n="58",t="59",d="62",f="63",x="64",Ye="65",It="66",Yt="69",Nt="71",He="72",$="75",oe="76",nt="77",ct="78",Rt="79",mt="80",ot="82",rt="83",lt="84",ut="85",Ht="86",Qt="87"},36769:(qe,me,h)=>{"use strict";h.d(me,{Ji:()=>_,Pd:()=>g,BQ:()=>c,Ly:()=>w,GH:()=>v,Ls:()=>I,SG:()=>E,es:()=>b});var e=h(41777);const c=(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%)"}))])]),w=(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"}))])]),_=(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})])]),b=(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")])]),E=(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})])])]),v=(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%)"}))])]),I=(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%)"}))])])},33604:(qe,me,h)=>{"use strict";h.d(me,{Mw:()=>P.M,qG:()=>V.qG,Sx:()=>ee.S,y9:()=>H,Nj:()=>it.N,ez:()=>Me,t$:()=>ze});var e=h(69808),c=h(77446),g=h(32075),w=h(51062),_=h(36157),b=h(84847),E=h(86087),v=h(20773),I=h(63189),N=h(25245),A=h(92181),q=h(47423),j=h(29772),G=h(67322),Q=h(93075),he=h(98833),F=h(26688),be=h(44409),pe=h(90508),ye=h(19516),T=h(69287),R=h(90149),L=h(86856),X=h(79814),Y=h(74107),se=h(43586),Te=h(29071),Oe=h(48966),Se=h(9244),We=h(6397),ge=h(5e3);let Le=(()=>{class D extends pe.LF{format(i,o){return"input"===o?`${i.getDate().toString()}.${(i.getMonth()+1).toString()}.${i.getFullYear()}`:i.toDateString()}}return D.\u0275fac=function(){let O;return function(o){return(O||(O=ge.n5z(D)))(o||D)}}(),D.\u0275prov=ge.Yz7({token:D,factory:D.\u0275fac}),D})();const ue={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 D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=ge.oAB({type:D}),D.\u0275inj=ge.cJS({providers:[{provide:pe._A,useClass:Le},{provide:pe.sG,useValue:ue}],imports:[[e.ez,c.p9,g.p0,Q.u5,F.Hi,be._t,w.aw,_.Bz,b.JX,E.TU,v.Cq,I.r,N.Ps,A.Tx,q.ot,j.AV,G.lN,Q.UX,he.c,pe.si,ye.d4,T.Iq,R.dp,L.FA,X.Fk,pe.Ng,Y.LD,se.Co,Te.Cl,Oe.Is,Se.Je,We.C]]}),D})();h(53984);var P=h(43532),it=(h(38719),h(21963),h(28820),h(63167),h(62109),h(22465),h(80275),h(53599)),Be=h(32080);let ze=(()=>{class D{constructor(i,o,u,l){this.router=i,this.route=o,this.location=u,this.forceRoute=l}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(i=>{this.router.navigate([i.redirectTo])}):this.location.back()}}return D.\u0275fac=function(i){return new(i||D)(ge.Y36(_.F0),ge.Y36(_.gz),ge.Y36(e.Ye),ge.Y36(Be.xw))},D.\u0275cmp=ge.Xpm({type:D,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(i,o){},styles:[""]}),D})();h(24179),h(58956),h(41619),h(61150);var ee=h(63312),V=(h(52314),h(52170));let H=(()=>{class D{constructor(i){this.router=i}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return D.\u0275fac=function(i){return new(i||D)(ge.Y36(_.F0))},D.\u0275cmp=ge.Xpm({type:D,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(i,o){1&i&&(ge.TgZ(0,"div",0),ge.TgZ(1,"h1",1),ge._uU(2),ge.ALo(3,"translate"),ge.qZA(),ge.TgZ(4,"div"),ge._uU(5),ge.ALo(6,"translate"),ge.qZA(),ge.TgZ(7,"button",2),ge.NdJ("click",function(){return o.redirectToHome()}),ge._uU(8),ge.ALo(9,"translate"),ge.qZA(),ge.qZA()),2&i&&(ge.xp6(2),ge.Oqu(ge.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),ge.xp6(3),ge.Oqu(ge.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),ge.xp6(3),ge.hij(" ",ge.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[q.lW],pipes:[w.X$],styles:[""]}),D})()},63312:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_,Y:()=>b});var e=h(5e3),g=(h(32105),h(51062)),w=h(42377);const _={};let b=(()=>{class E{constructor(I){this.translate=I,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=N=>N===_?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):N.shortname,this.secondaryFunction=N=>N===_?"":N.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+String(N.id),this.searchFunction=N=>N===_?"":N.shortname+String(N.id)}}return E.\u0275fac=function(I){return new(I||E)(e.Y36(g.sK))},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(q){return N.itemSelected.emit(q)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&I&&e.Q6J("entities",N.items)("searchFunction",N.searchFunction)("mainTextFunction",N.nameFunction)("secondaryTextFunction",N.secondaryFunction)("entity",N.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:[w.i],pipes:[g.X$],styles:[""]}),E})()},38719:(qe,me,h)=>{"use strict";h.d(me,{u:()=>N});var e=h(5e3),c=h(9244),g=h(69808),w=h(77446),_=h(93075),b=h(67322),E=h(64597);function v(A,q){if(1&A){const j=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(j),e.oxw()._sendEventToParent()})("ngModelChange",function(Q){return e.CHM(j),e.oxw().attribute.value=Q}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&A){const j=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,j.attribute.displayName),"-value"),e.Q6J("ngModel",j.attribute.value)}}function I(A,q){if(1&A&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&A){const j=e.oxw();e.xp6(1),e.Oqu(j.attribute.value)}}let N=(()=>{class A{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return A.\u0275fac=function(j){return new(j||A)},A.\u0275cmp=e.Xpm({type:A,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(j,G){1&j&&(e.TgZ(0,"div"),e.YNc(1,v,2,4,"mat-checkbox",0),e.YNc(2,I,2,1,"mat-label",1),e.qZA()),2&j&&(e.xp6(1),e.Q6J("ngIf",!G.readonly),e.xp6(1),e.Q6J("ngIf",G.readonly))},directives:[g.O5,w.oG,_.JJ,_.On,b.hX],pipes:[E.R],styles:[""]}),A})()},21963:(qe,me,h)=>{"use strict";h.d(me,{H:()=>R});var e=h(5e3),c=h(91159),g=h(44409),w=h(16074),_=h(9244),b=h(48966),E=h(26688),v=h(69808),I=h(25245),N=h(29772),A=h(47423),q=h(67322),j=h(98833);function G(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(Y),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function Q(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(Y);const Te=e.oxw().$implicit;return e.oxw().edit(Te)}),e._uU(1,"edit"),e.qZA()}}function he(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(Y);const Te=e.oxw().$implicit;return e.oxw().remove(Te)}),e._uU(1,"cancel"),e.qZA()}}function F(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Oe=e.CHM(Y).$implicit,Se=e.oxw();return Se.remove(Oe),Se._sendEventToParent()}),e.YNc(1,G,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Oe=e.CHM(Y).$implicit,Se=e.oxw();return Se.readonly&&void 0!==Se.attribute.displayName&&Se.showValue(Oe,Se.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,Q,2,0,"mat-icon",7),e.YNc(5,he,2,0,"mat-icon",8),e.qZA()}if(2&L){const Y=X.$implicit,se=e.oxw();e.Q6J("selectable",se.selectable)("cdkDragData",Y)("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(" ",Y," "),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable)}}function be(L,X){1&L&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function pe(L,X){1&L&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function ye(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(Y),e.oxw().onShowChange()}),e.YNc(3,be,2,0,"mat-icon",15),e.YNc(4,pe,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&L){const Y=e.oxw();e.xp6(1),e.Q6J("matTooltip",Y.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!Y.showMore),e.xp6(1),e.Q6J("ngIf",Y.showMore)}}function T(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(Te){return e.CHM(Y),e.oxw().add(Te)})("change",function(){return e.CHM(Y),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&L){const Y=e.oxw(),se=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",se)("matChipInputSeparatorKeyCodes",Y.separatorKeysCodes)("matChipInputAddOnBlur",Y.addOnBlur)}}let R=(()=>{class L{constructor(Y,se){this.dialog=Y,this.changeDetector=se,this.readonly=!1,this.sendEventToParent=new e.vpe,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[c.K5,c.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5}ngOnInit(){this.removable=!(0,_.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=this.attribute.value,this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,_.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(Y){const se=Y.input,Te=Y.value;(Te||"").trim()&&(this.attribute.value.push(Te.trim()),this.values=this.attribute.value,this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),se&&(se.value=""),this.sendEventToParent.emit()}remove(Y){const se=(0,_.kZ)();se.width="400px",se.data={name:Y},this.dialog.open(w.Wr,se).afterClosed().subscribe(Oe=>{if(Oe){const Se=this.attribute.value.indexOf(Y);this.attribute.value.splice(Se,1),this.values=this.attribute.value,this.sendEventToParent.emit(),this.changeDetector.detectChanges()}})}drop(Y){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,Y.previousIndex,Y.currentIndex),this.values=this.attribute.value}edit(Y){const se=this.attribute.value.indexOf(Y),Te=(0,_.kZ)();Te.width="600px",Te.data={attribute:this.attribute,index:se},this.dialog.open(w.r2,Te).afterClosed().subscribe(Se=>{Se&&(this.values=this.attribute.value,this.sendEventToParent.emit())})}showValue(Y,se){const Te=(0,_.kZ)();Te.width="350px",Te.data={value:Y,title:se},this.dialog.open(w.mk,Te)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(b.uw),e.Y36(e.sBO))},L.\u0275cmp=e.Xpm({type:L,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(Y,se){1&Y&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Oe){return se.drop(Oe),se._sendEventToParent()}),e.YNc(3,F,6,9,"mat-chip",2),e.YNc(4,ye,5,4,"div",3),e.YNc(5,T,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&Y&&(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:[E.qn,g.Wj,v.sg,E.HS,g.Zt,v.O5,I.Hw,N.gM,A.lW,q.KE,j.Nt,E.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}"]}),L})()},28820:(qe,me,h)=>{"use strict";h.d(me,{$:()=>be});var e=h(16074),c=h(9244),g=h(5e3),w=h(48966),_=h(93075),b=h(69808),E=h(67322),v=h(98833),I=h(47423),N=h(25245),A=h(29772);function q(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(T);const L=g.oxw().index;return g.oxw().removeValue(L)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function j(pe,ye){if(1&pe){const T=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(T).index,Y=g.oxw();return Y.readonly&&Y.attribute.displayName&&Y.showValue(Y.keys[X],Y.attribute.displayName)})("ngModelChange",function(L){const Y=g.CHM(T).index;return g.oxw().keys[Y]=L}),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(T).$implicit,Y=g.oxw();return Y.readonly&&void 0!==Y.attribute.displayName&&Y.showValue(X,Y.attribute.displayName)})("ngModelChange",function(L){const Y=g.CHM(T).index;return g.oxw().values[Y]=L}),g.qZA(),g.qZA(),g.YNc(7,q,3,0,"button",14),g.qZA()}if(2&pe){const T=ye.index,R=g.oxw();g.xp6(1),g.s9C("appearance",R.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",R.attribute.id,"-key-",T,""),g.xp6(1),g.ekj("cursor-pointer",R.readonly&&void 0!==R.attribute.displayName),g.hYB("id","",R.attribute.id,"-key-",T,""),g.MGl("name","key-",T,""),g.Q6J("ngModel",R.keys[T])("readonly",R.readonly),g.xp6(1),g.s9C("appearance",R.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",R.attribute.id,"-value-",T,""),g.xp6(1),g.ekj("cursor-pointer",R.readonly&&void 0!==R.attribute.displayName),g.MGl("name","value-",T,""),g.hYB("id","",R.attribute.id,"-value-",T,""),g.Q6J("readonly",R.readonly)("ngModel",R.values[T]),g.xp6(1),g.Q6J("ngIf",!R.readonly)}}function G(pe,ye){1&pe&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function Q(pe,ye){1&pe&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function he(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(T),g.oxw().onShowChange()}),g.YNc(1,G,2,0,"mat-icon",17),g.YNc(2,Q,2,0,"mat-icon",17),g.qZA()}if(2&pe){const T=g.oxw();g.xp6(1),g.Q6J("ngIf",!T.showMore),g.xp6(1),g.Q6J("ngIf",T.showMore)}}function F(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(T),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let be=(()=>{class pe{constructor(T){this.dialog=T,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const T=new Map(Object.entries(this.attribute.value));for(const[R,L]of T.entries())this.keys.push(R),this.values.push(L)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}customTrackBy(T){return T}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(T){this.keys.splice(T,1),this.values.splice(T,1)}updateAttribute(){const T={};for(let R=0;RR.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!R.readonly))},directives:[_._Y,_.JL,_.F,b.sg,E.KE,v.Nt,_.Fj,_.Q7,_.JJ,_.On,b.O5,I.lW,N.Hw,A.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}"]}),pe})()},63167:(qe,me,h)=>{"use strict";h.d(me,{_:()=>I});var e=h(5e3),c=h(9244),g=h(16074),w=h(48966),_=h(67322),b=h(98833),E=h(93075),v=h(64597);let I=(()=>{class N{constructor(q){this.dialog=q,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(q,j){const G=(0,c.kZ)();G.width="350px",G.data={value:q,title:j},this.dialog.open(g.mk,G)}}return N.\u0275fac=function(q){return new(q||N)(e.Y36(w.uw))},N.\u0275cmp=e.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(q,j){1&q&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return j.readonly&&void 0!==j.value&&j.showValue(j.value,j.attribute.displayName)})("ngModelChange",function(Q){return j.attribute.value=Q})("keydown",function(){return j._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&q&&(e.s9C("appearance",j.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",j.readonly&&void 0!==j.value),e.Q2q("data-cy","",e.lcZ(2,6,j.attribute.displayName),"-value"),e.Q6J("readonly",j.readonly)("ngModel",j.attribute.value))},directives:[_.KE,b.Nt,E.Fj,E.JJ,E.On],pipes:[v.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),N})()},43532:(qe,me,h)=>{"use strict";h.d(me,{M:()=>ye});var e=h(5e3),c=h(28820),g=h(69808),w=h(38719),_=h(21963),b=h(63167),E=h(9244),v=h(16074),I=h(48966),N=h(67322),A=h(98833),q=h(93075);let j=(()=>{class T{constructor(L){this.dialog=L,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,E.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(L){const X=(0,E.kZ)();X.width="350px",X.data={value:L.value,title:L.displayName},this.dialog.open(v.mk,X)}}return T.\u0275fac=function(L){return new(L||T)(e.Y36(I.uw))},T.\u0275cmp=e.Xpm({type:T,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(L,X){1&L&&(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(se){return X.attribute.value=se})("keydown",function(){return X._sendEventToParent()}),e.qZA(),e.qZA()),2&L&&(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:[N.KE,A.Nt,q.wV,q.Fj,q.JJ,q.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),T})();const G=["map"];function Q(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function he(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function F(T,R){if(1&T&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function be(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function pe(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}let ye=(()=>{class T{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return T.\u0275fac=function(L){return new(L||T)},T.\u0275cmp=e.Xpm({type:T,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(L,X){if(1&L&&e.Gf(G,5),2&L){let Y;e.iGM(Y=e.CRH())&&(X.mapComponent=Y.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(L,X){1&L&&(e.TgZ(0,"div"),e.YNc(1,Q,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,he,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return X._sendEventToParent2()}),e.YNc(4,F,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,be,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,pe,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&L&&(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,w.u,_.H,c.$,b._,j],styles:[""]}),T})()},53984:(qe,me,h)=>{"use strict";h.d(me,{p:()=>We});var e=h(84847),c=h(32075),g=h(20449),w=h(43532),_=h(9244),b=h(32080),E=h(5e3),v=h(18750),I=h(77446),N=h(29772),A=h(69808),q=h(98380),j=h(64597);let G=(()=>{class ge{transform(ue){return"virt"===ue.namespace.split(":")[4]}}return ge.\u0275fac=function(ue){return new(ue||ge)},ge.\u0275pipe=E.Yjl({name:"isVirtualAttribute",type:ge,pure:!0}),ge})();var Q=h(51062);function he(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"th",17),E.TgZ(1,"mat-checkbox",18),E.NdJ("change",function(z){E.CHM(ue);const P=E.oxw();return z?P.masterToggle():null}),E.qZA(),E.qZA()}if(2&ge){const ue=E.oxw();E.xp6(1),E.Q6J("checked",ue.selection.hasValue()&&ue.isAllSelected())("indeterminate",ue.selection.hasValue()&&!ue.isAllSelected())("aria-label",ue.checkboxLabel())}}function F(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"mat-checkbox",20),E.NdJ("click",function(z){return z.stopPropagation()})("change",function(z){const de=E.CHM(ue).$implicit,Ce=E.oxw();return z?Ce.selection.toggle(de):null}),E.ALo(2,"multiWordDataCy"),E.ALo(3,"isVirtualAttribute"),E.qZA(),E.qZA()}if(2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.Q2q("data-cy","",E.lcZ(2,4,ue.displayName),"-checkbox"),E.Q6J("checked",Me.selection.isSelected(ue))("disabled",E.lcZ(3,6,ue)||!ue.writable)("aria-label",Me.checkboxLabel(ue))}}function be(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function pe(ge,Le){if(1&ge&&(E.TgZ(0,"td",22),E._uU(1),E.qZA()),2&ge){const ue=Le.$implicit;E.xp6(1),E.Oqu(ue.id)}}function ye(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function T(ge,Le){if(1&ge&&(E.TgZ(0,"td",23),E.TgZ(1,"div",24),E._uU(2),E.qZA(),E.qZA()),2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.s9C("matTooltip",Me.getAttributeFullName(ue)),E.xp6(1),E.hij(" ",ue.displayName," ")}}function R(ge,Le){1&ge&&(E.TgZ(0,"th",25),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function L(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"td",23),E.TgZ(1,"perun-web-apps-attribute-value",26),E.NdJ("sendEventToParent2",function(){const P=E.CHM(ue).$implicit;return E.oxw().onValueChange(P)}),E.qZA(),E.qZA()}if(2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.Q6J("attribute",ue)("readonly",Me.readonly||!ue.writable)}}function X(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function Y(ge,Le){if(1&ge&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&ge){const ue=Le.$implicit;E.xp6(1),E.Oqu(ue.description)}}function se(ge,Le){1&ge&&E._UZ(0,"tr",27)}function Te(ge,Le){if(1&ge&&(E._UZ(0,"tr",28),E.ALo(1,"translate")),2&ge){const ue=Le.$implicit,Me=E.oxw();E.s9C("matTooltip",E.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),E.Q6J("matTooltipPosition","before")("matTooltipDisabled",ue.writable||Me.readonly)}}function Oe(ge,Le){1&ge&&(E.TgZ(0,"perun-web-apps-alert",29),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Se(ge,Le){if(1&ge&&(E.TgZ(0,"perun-web-apps-alert",29),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge){const ue=E.oxw();E.xp6(1),E.hij(" ",E.lcZ(2,1,ue.emptyListText),"\n")}}let We=(()=>{class ge{constructor(ue,Me){this.authResolver=ue,this.tableCheckbox=Me,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=_.f7}set matSort(ue){this.sort=ue,this.setDataSource()}static canBeSelected(ue){return!(0,_.Hm)(ue)&&ue.writable}static getDataForColumn(ue,Me){switch(Me){case"id":return ue.id.toString();case"displayName":return ue.displayName;case"description":return ue.description;case"value":return JSON.stringify(ue.value);case"urn":return ue.namespace+":"+ue.baseFriendlyName;default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(ue=>"id"!==ue)),this.dataSource=new c.by((0,_.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(ue){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,ge.getDataForColumn),ue)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(ue=>!this.hiddenColumns.includes(ue)),this.dataSource&&(this.dataSource.filterPredicate=(ue,Me)=>(0,_.Sd)(ue,Me,this.displayedColumns.concat("urn"),ge.getDataForColumn),this.dataSource.sortData=(ue,Me)=>(0,_.pR)(ue,Me,ge.getDataForColumn),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,ge.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,ge.canBeSelected)}checkboxLabel(ue){return ue?`${this.selection.isSelected(ue)?"deselect":"select"} row ${ue.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const ue of this.items.toArray())"java.util.LinkedHashMap"===ue.attribute.type&&ue.updateMapAttribute()}onValueChange(ue){ge.canBeSelected(ue)&&this.selection.select(ue)}getAttributeFullName(ue){return`${ue.namespace}:${ue.friendlyName}`}}return ge.\u0275fac=function(ue){return new(ue||ge)(E.Y36(b.x4),E.Y36(b.UA))},ge.\u0275cmp=E.Xpm({type:ge,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(ue,Me){if(1&ue&&(E.Gf(_.l9,7),E.Gf(e.YE,7),E.Gf(w.M,5)),2&ue){let z;E.iGM(z=E.CRH())&&(Me.child=z.first),E.iGM(z=E.CRH())&&(Me.matSort=z.first),E.iGM(z=E.CRH())&&(Me.items=z)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[E.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(ue,Me){1&ue&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(P){return Me.exportData(P)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,he,2,3,"th",4),E.YNc(5,F,4,8,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,be,3,3,"th",7),E.YNc(8,pe,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,ye,3,3,"th",7),E.YNc(11,T,3,2,"td",10),E.BQk(),E.ynx(12,11),E.YNc(13,R,3,3,"th",12),E.YNc(14,L,2,2,"td",10),E.BQk(),E.ynx(15,13),E.YNc(16,X,3,3,"th",7),E.YNc(17,Y,2,1,"td",10),E.BQk(),E.YNc(18,se,1,0,"tr",14),E.YNc(19,Te,2,5,"tr",15),E.qZA(),E.qZA(),E.qZA(),E.YNc(20,Oe,3,3,"perun-web-apps-alert",16),E.YNc(21,Se,3,3,"perun-web-apps-alert",16)),2&ue&&(E.Q6J("hidden",0===Me.dataSource.filteredData.length),E.xp6(1),E.Q6J("tableId",Me.tableId)("dataLength",Me.dataSource.filteredData.length)("pageSizeOptions",Me.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",Me.dataSource),E.xp6(16),E.Q6J("matHeaderRowDef",Me.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",Me.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===Me.dataSource.filteredData.length&&0!==Me.dataSource.data.length),E.xp6(1),E.Q6J("ngIf",0===Me.dataSource.data.length))},directives:[v.l,c.BZ,e.YE,c.w1,c.fO,c.ge,I.oG,c.Dz,c.ev,e.nU,N.gM,w.M,c.as,c.XQ,c.nj,c.Gk,A.O5,q.w],pipes:[j.R,G,Q.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}"]}),ge})()},4235:(qe,me,h)=>{"use strict";h.d(me,{W:()=>I});var e=h(32080),c=h(5e3),g=h(69808),w=h(47423),_=h(29772),b=h(25245),E=h(51062);const v=function(N){return{color:N}};let I=(()=>{class N{constructor(q,j){this.location=q,this.storeService=j}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return N.\u0275fac=function(q){return new(q||N)(c.Y36(g.Ye),c.Y36(e.d6))},N.\u0275cmp=c.Xpm({type:N,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(q,j){1&q&&(c.TgZ(0,"button",0),c.NdJ("click",function(){return j.goBack()}),c.ALo(1,"translate"),c.TgZ(2,"mat-icon",1),c._uU(3,"arrow_right_alt"),c.qZA(),c.qZA()),2&q&&(c.s9C("matTooltip",c.lcZ(1,2,"Back")),c.Q6J("ngStyle",c.VKq(4,v,j.backButtonColor)))},directives:[w.lW,g.PC,_.gM,b.Hw],pipes:[E.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),N})()},61150:(qe,me,h)=>{"use strict";h.d(me,{r:()=>q});var e=h(5e3),c=h(93075),g=h(32080),w=h(67322),_=h(98833),b=h(69808),E=h(77446),v=h(82322),I=h(51062);function N(j,G){if(1&j){const Q=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM(Q),e.oxw().emitAsSubGroup()})("ngModelChange",function(F){return e.CHM(Q),e.oxw().asSubgroup=F}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&j){const Q=e.oxw();e.Q6J("labelPosition","before")("ngModel",Q.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function A(j,G){if(1&j){const Q=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(F){return e.CHM(Q),e.oxw().emitParentGroup(F)}),e.qZA()}if(2&j){const Q=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",Q.voGroups)}}let q=(()=>{class j{constructor(Q){this.store=Q,this.parentGroup=null,this.voGroups=[],this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex")}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new c.NI("",[c.kI.required,c.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),c.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new c.NI("",[c.kI.required,c.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(Q=>"members"!==Q.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(Q){this.selectedParent=Q,this.parentGroupChanged.emit(Q)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return j.\u0275fac=function(Q){return new(Q||j)(e.Y36(g.d6))},j.\u0275cmp=e.Xpm({type:j,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(Q,he){1&Q&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return he.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 he.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,N,3,5,"mat-checkbox",5),e.YNc(16,A,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&Q&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",he.nameControl),e.xp6(3),e.hij(" ",he.invalidNameMessage.length?he.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",he.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",he.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",he.asSubgroup))},directives:[w.KE,_.Nt,c.Fj,c.Q7,c.JJ,c.oH,w.TO,b.O5,E.oG,c.On,v.h],pipes:[I.X$],styles:[""]}),j})()},39798:(qe,me,h)=>{"use strict";h.d(me,{S:()=>E});var e=h(5e3),c=h(67322),g=h(98833),w=h(86856),_=h(93075),b=h(51062);let E=(()=>{class v{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 v.\u0275fac=function(N){return new(N||v)},v.\u0275cmp=e.Xpm({type:v,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(N,A){if(1&N){const q=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(q),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 A.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(q),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 A.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&N){const q=e.MAs(7),j=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",q)("min",A.startMinDate)("max",A.startMaxDate)("formControl",A.startDate),e.xp6(1),e.Q6J("for",q),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",j)("min",A.endMinDate)("max",A.endMaxDate)("formControl",A.endDate),e.xp6(1),e.Q6J("for",j)}},directives:[c.KE,c.hX,g.Nt,w.hl,_.Fj,_.JJ,_.oH,w.nW,c.R9,w.Mq],pipes:[b.X$],styles:[""]}),v})()},64901:(qe,me,h)=>{"use strict";h.d(me,{P:()=>A});var e=h(5e3),c=h(54968),g=h(54004),w=h(78372),_=h(71884),b=h(93075),E=h(67322),v=h(98833),I=h(51062);const N=["input"];let A=(()=>{class q{constructor(){this.autoFocus=!1,this.control=new b.NI,this.filter=new e.vpe}ngOnInit(){this.autoFocus&&this.input.nativeElement.focus(),(0,c.R)(this.input.nativeElement,"keyup").pipe((0,g.U)(G=>G.target.value),(0,w.b)(500),(0,_.x)()).subscribe(G=>{this.control.invalid||this.filter.emit(G)})}}return q.\u0275fac=function(G){return new(G||q)},q.\u0275cmp=e.Xpm({type:q,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(G,Q){if(1&G&&e.Gf(N,7),2&G){let he;e.iGM(he=e.CRH())&&(Q.input=he.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus",control:"control",error:"error"},outputs:{filter:"filter"},decls:6,vars:5,consts:[[1,"filter-field","mr-2"],["matInput","","data-cy","filter-input",3,"placeholder","formControl"],["input",""]],template:function(G,Q){1&G&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.TgZ(4,"mat-error"),e._uU(5),e.qZA(),e.qZA()),2&G&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,3,Q.placeholder)),e.Q6J("formControl",Q.control),e.xp6(4),e.hij(" ",Q.error," "))},directives:[E.KE,v.Nt,b.Fj,b.JJ,b.oH,E.TO],pipes:[I.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),q})()},42377:(qe,me,h)=>{"use strict";h.d(me,{i:()=>pe});var e=h(5e3),c=h(93075),g=h(4707),w=h(77579),_=h(71884),b=h(82722),E=h(67322),v=h(74107),I=h(69808),N=h(90508),A=h(43586),q=h(29071);const j=["scrollViewport"];function G(ye,T){if(1&ye&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&ye){const R=e.oxw();e.xp6(1),e.hij(" ",R.multipleSelectedText()," ")}}function Q(ye,T){if(1&ye&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ye){const R=e.oxw(2);e.Tol(R.colorByStatus(null==R.entitiesCtrl?null:R.entitiesCtrl.value)),e.xp6(1),e.hij(" ",R.statusTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)?"("+R.statusTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)+")":""," ")}}function he(ye,T){if(1&ye&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,Q,2,4,"span",10),e.qZA()),2&ye){const R=e.oxw();e.Q6J("value",null==R.entitiesCtrl?null:R.entitiesCtrl.value),e.xp6(1),e.hij(" ",R.mainTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(R.secondaryTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",R.displayStatus)}}function F(ye,T){if(1&ye&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ye){const R=e.oxw().$implicit,L=e.oxw();e.Tol(L.colorByStatus(R)),e.xp6(1),e.hij(" ",L.statusTextFunction(R)?"("+L.statusTextFunction(R)+")":""," ")}}function be(ye,T){if(1&ye&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,F,2,4,"span",10),e.qZA()),2&ye){const R=T.$implicit,L=e.oxw();e.Tol(L.theme),e.Q6J("value",R),e.xp6(1),e.hij(" ",L.mainTextFunction(R)," "),e.xp6(2),e.Oqu(L.secondaryTextFunction(R)),e.xp6(1),e.Q6J("ngIf",L.displayStatus)}}let pe=(()=>{class ye{constructor(R){this.cd=R,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 c.NI,this.entityFilterCtrl=new c.NI,this.filteredEntities=new g.t(1),this._onDestroy=new w.x,this.entitiesLen=0,this.mainTextFunction=L=>JSON.stringify(L),this.secondaryTextFunction=L=>"#".concat(String(L.id),L.description?" ".concat(L.description):""),this.statusTextFunction=L=>L.status}ngOnInit(){this.entitiesCtrl.valueChanges.pipe((0,_.x)()).subscribe(R=>this.entitySelected.emit(R)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(R=>this.entitiesLen=R.length),this.entityFilterCtrl.valueChanges.pipe((0,b.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(R){switch(R.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(R){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),R.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}normalize(R){return R.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let R=48*this.entitiesLen;return R>192&&(R=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),R}multipleSelectedText(){const R=this.entitiesCtrl.value;if(R&&0!==R.length)return R.length===this.entities.length?"ALL":R.length>1?this.mainTextFunction(R[0])+` + ${R.length-1} other(s)`:this.mainTextFunction(R[0])+" "+this.secondaryTextFunction(R[0])}filterEntites(){if(!this.entities)return;let R=this.entityFilterCtrl.value;if(!R)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();R=this.normalize(R),this.filteredEntities.next(this.entities.filter(L=>this.normalize(this.searchFunction(L)).includes(R))),this.cd.detectChanges()}}return ye.\u0275fac=function(R){return new(R||ye)(e.Y36(e.sBO))},ye.\u0275cmp=e.Xpm({type:ye,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(R,L){if(1&R&&e.Gf(j,5),2&R){let X;e.iGM(X=e.CRH())&&(L.scrollViewport=X.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"],["data-cy","search-select-input",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(R,L){1&R&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return L.openChange()}),e.YNc(2,G,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,he,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,be,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&R&&(e.xp6(1),e.s9C("placeholder",L.selectPlaceholder),e.Q6J("formControl",L.entitiesCtrl)("multiple",L.multiple),e.xp6(1),e.Q6J("ngIf",L.multiple),e.xp6(2),e.s9C("placeholderLabel",L.findPlaceholder),e.s9C("noEntriesFoundLabel",L.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",L.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==L.entitiesCtrl?null:L.entitiesCtrl.value),e.xp6(1),e.Udp("height",L.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,L.filteredEntities)))},directives:[E.KE,v.gD,c.JJ,c.oH,I.O5,v.$L,N.ey,A.nu,q.N7,q.xd,q.x0],pipes:[I.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}"]}),ye})()},74010:(qe,me,h)=>{"use strict";h.d(me,{X:()=>Ue});var e=h(84847),c=h(32075),g=h(9244),w=h(32080),_=h(5e3),b=h(18750),E=h(77446),v=h(10441),I=h(93075),N=h(69808),A=h(29772),q=h(47423),j=h(25245);function G(_e,ae){if(1&_e&&(_.TgZ(0,"div",6),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.hij(" ",Ae[ee.paramName]," ")}}function Q(_e,ae){1&_e&&(_.TgZ(0,"mat-icon"),_._uU(1,"more_horiz"),_.qZA())}function he(_e,ae){1&_e&&(_.TgZ(0,"mat-icon"),_._uU(1,"keyboard_arrow_up"),_.qZA())}function F(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"button",7),_.NdJ("click",function(){return _.CHM(Ae),_.oxw().onShowChange()}),_.YNc(1,Q,2,0,"mat-icon",8),_.YNc(2,he,2,0,"mat-icon",8),_.qZA()}if(2&_e){const Ae=_.oxw();_.xp6(1),_.Q6J("ngIf",!Ae.showMore),_.xp6(1),_.Q6J("ngIf",Ae.showMore)}}let be=(()=>{class _e{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 _e.\u0275fac=function(Ae){return new(Ae||_e)},_e.\u0275cmp=_.Xpm({type:_e,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[_.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(Ae,ee){1&Ae&&(_.TgZ(0,"form",0),_.TgZ(1,"div",1),_.TgZ(2,"div",2),_.YNc(3,G,2,1,"div",3),_.qZA(),_.TgZ(4,"div"),_.TgZ(5,"span",4),_.YNc(6,F,3,2,"button",5),_.qZA(),_.qZA(),_.qZA(),_.qZA()),2&Ae&&(_.xp6(3),_.Q6J("ngForOf",ee.objects.slice(0,ee.itemsShown)),_.xp6(2),_.Q6J("matTooltip",ee.showMore?"Show less":"Show more")("matTooltipPosition","above"),_.xp6(1),_.Q6J("ngIf",ee.objects.length>ee.defaultItemsShown))},directives:[I._Y,I.JL,I.F,N.sg,A.gM,N.O5,q.lW,j.Hw],styles:[""]}),_e})();var pe=h(50301),ye=h(36157),T=h(98380),R=h(51062),L=h(53561);let X=(()=>{class _e{transform(Ae,ee,Ne){return Ae.filter(V=>V[Ne].includes(ee)).filter((V,H,D)=>D.findIndex(O=>O[Ne]===V[Ne])===H)}}return _e.\u0275fac=function(Ae){return new(Ae||_e)},_e.\u0275pipe=_.Yjl({name:"filterUniqueObjects",type:_e,pure:!0}),_e})();function Y(_e,ae){1&_e&&_._UZ(0,"th",20)}function se(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",21),_.TgZ(1,"mat-checkbox",22),_.NdJ("change",function(Ne){const H=_.CHM(Ae).$implicit,D=_.oxw();return Ne?D.selection.toggle(H):null})("click",function(Ne){return Ne.stopPropagation()}),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q2q("data-cy","",Ae.facility.name,"-checkbox"),_.Q6J("aria-label",ee.checkboxLabel(Ae))("checked",ee.selection.isSelected(Ae))}}function Te(_e,ae){1&_e&&(_.TgZ(0,"th",23),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Oe(_e,ae){if(1&_e&&(_.TgZ(0,"td",24),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.hij(" ",Ae.facility.id," ")}}function Se(_e,ae){1&_e&&_._UZ(0,"th",25)}function We(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._UZ(1,"perun-web-apps-recently-viewed-icon",27),_.qZA()),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("id",Ae.facility.id)("recentIds",ee.recentIds)}}function ge(_e,ae){1&_e&&(_.TgZ(0,"th",23),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function Le(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.uIk("data-cy",Ae.facility.name),_.xp6(1),_.hij(" ",Ae.facility.name," ")}}function ue(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Me(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.Oqu(Ae.facility.description)}}function z(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function P(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.ALo(2,"technicalOwners"),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.Oqu(_.lcZ(2,1,Ae.owners))}}function de(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Ce(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",26),_.TgZ(1,"perun-web-apps-object-list-values",28),_.NdJ("mouseenter",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!0})("mouseleave",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!1}),_.ALo(2,"filterUniqueObjects"),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("objects",_.Dn7(2,2,Ae.destinations,ee.filterValue,"destination"))("paramName","destination")}}function Pe(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function ce(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",26),_.TgZ(1,"perun-web-apps-object-list-values",28),_.NdJ("mouseenter",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!0})("mouseleave",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!1}),_.ALo(2,"filterUniqueObjects"),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("objects",_.Dn7(2,2,Ae.hosts,ee.filterValue,"hostname"))("paramName","hostname")}}function fe(_e,ae){1&_e&&_._UZ(0,"tr",29)}const Ze=function(_e){return["/facilities",_e]},ne=function(){return[]};function it(_e,ae){if(1&_e&&_._UZ(0,"tr",30),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.ekj("cursor-pointer",!ee.disableRouting)("disable-outline",ee.disableRouting),_.Q6J("perunWebAppsMiddleClickRouterLink",_.VKq(6,Ze,Ae.facility.id))("routerLink",ee.disableRouting||ee.localDisableRouting?_.DdM(8,ne):_.VKq(9,Ze,Ae.facility.id))}}function Be(_e,ae){1&_e&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ze(_e,ae){1&_e&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let Ue=(()=>{class _e{constructor(Ae){this.authResolver=Ae,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7,this.disableRouting=!1,this.getDataForColumnFun=(ee,Ne)=>_e.getDataForColumn(ee,Ne,this.recentIds)}set matSort(Ae){this.sort=Ae}static getDataForColumn(Ae,ee,Ne){switch(ee){case"id":return Ae.facility.id.toString();case"name":return Ae.facility.name;case"description":return Ae.facility.description;case"technicalOwners":return(0,g.te)(Ae.owners);case"recent":return Ne&&Ne.includes(Ae.facility.id)?"#".repeat(Ne.indexOf(Ae.facility.id)):Ae.name;case"destinations":return Ae.destinations.map(V=>V.destination).join(" ; ");case"hosts":return Ae.hosts.map(V=>V.hostname).join(" ; ");default:return Ae[ee]}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ae=>"id"!==Ae)),this.setDataSource()}exportData(Ae){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),Ae)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Ae,ee)=>(0,g.Sd)(Ae,ee,this.displayedColumns,this.getDataForColumnFun),this.dataSource.sortData=(Ae,ee)=>(0,g.pR)(Ae,ee,this.getDataForColumnFun)),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(Ae=>this.selection.select(Ae))}checkboxLabel(Ae){return Ae?`${this.selection.isSelected(Ae)?"deselect":"select"} row ${Ae.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return _e.\u0275fac=function(Ae){return new(Ae||_e)(_.Y36(w.x4))},_e.\u0275cmp=_.Xpm({type:_e,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(Ae,ee){if(1&Ae&&(_.Gf(g.l9,7),_.Gf(e.YE,7)),2&Ae){let Ne;_.iGM(Ne=_.CRH())&&(ee.child=Ne.first),_.iGM(Ne=_.CRH())&&(ee.matSort=Ne.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions",disableRouting:"disableRouting"},features:[_.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,"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"],["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(Ae,ee){1&Ae&&(_.TgZ(0,"div",0),_.TgZ(1,"perun-web-apps-table-wrapper",1),_.NdJ("exportData",function(V){return ee.exportData(V)}),_.TgZ(2,"table",2),_.ynx(3,3),_.YNc(4,Y,1,0,"th",4),_.YNc(5,se,2,3,"td",5),_.BQk(),_.ynx(6,6),_.YNc(7,Te,3,3,"th",7),_.YNc(8,Oe,2,1,"td",8),_.BQk(),_.ynx(9,9),_.YNc(10,Se,1,0,"th",10),_.YNc(11,We,2,2,"td",11),_.BQk(),_.ynx(12,12),_.YNc(13,ge,3,3,"th",7),_.YNc(14,Le,2,2,"td",11),_.BQk(),_.ynx(15,13),_.YNc(16,ue,3,3,"th",10),_.YNc(17,Me,2,1,"td",11),_.BQk(),_.ynx(18,14),_.YNc(19,z,3,3,"th",10),_.YNc(20,P,3,3,"td",11),_.BQk(),_.ynx(21,15),_.YNc(22,de,3,3,"th",10),_.YNc(23,Ce,3,6,"td",11),_.BQk(),_.ynx(24,16),_.YNc(25,Pe,3,3,"th",10),_.YNc(26,ce,3,6,"td",11),_.BQk(),_.YNc(27,fe,1,0,"tr",17),_.YNc(28,it,1,11,"tr",18),_.qZA(),_.qZA(),_.qZA(),_.YNc(29,Be,3,3,"perun-web-apps-alert",19),_.YNc(30,ze,3,3,"perun-web-apps-alert",19)),2&Ae&&(_.Q6J("hidden",!ee.dataSource||0===ee.dataSource.filteredData.length||0===ee.facilities.length),_.xp6(1),_.Q6J("tableId",ee.tableId)("dataLength",ee.dataSource.filteredData.length)("pageSizeOptions",ee.pageSizeOptions),_.xp6(1),_.Q6J("dataSource",ee.dataSource),_.xp6(25),_.Q6J("matHeaderRowDef",ee.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",ee.displayedColumns),_.xp6(1),_.Q6J("ngIf",0===ee.dataSource.filteredData.length&&0!==ee.facilities.length),_.xp6(1),_.Q6J("ngIf",0===ee.facilities.length))},directives:[b.l,c.BZ,e.YE,c.w1,c.fO,c.ge,c.Dz,c.ev,E.oG,e.nU,v.W,be,c.as,c.XQ,c.nj,c.Gk,pe.YH,ye.rH,N.O5,T.w],pipes:[R.X$,L.J,X],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),_e})()},13449:(qe,me,h)=>{"use strict";h.d(me,{i:()=>T});var e=h(5e3),c=h(32080),g=h(69808),w=h(47423),_=h(69287),b=h(29772),E=h(25245),v=h(92181),I=h(51062),N=h(45942),A=h(29218),q=h(28764);function j(R,L){if(1&R){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&R){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 G(R,L){if(1&R){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&R){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 Q(R,L){if(1&R){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&R){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 he(R,L){if(1&R&&(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,j,9,17,"span",4),e.YNc(6,G,5,5,"span",4),e.YNc(7,Q,5,5,"span",4),e.qZA()),2&R){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 F(R,L){if(1&R){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&R){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 be(R,L){if(1&R){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&R){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 pe(R,L){if(1&R){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&R){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 ye(R,L){if(1&R&&(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,F,10,16,"button",10),e.YNc(13,be,6,4,"button",10),e.YNc(14,pe,6,4,"button",10),e.qZA(),e.qZA()),2&R){const X=e.MAs(5),Y=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",X),e.xp6(5),e.Q6J("cdkCopyToClipboard",Y.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",Y.syncAuth),e.xp6(1),e.Q6J("ngIf",Y.moveAuth),e.xp6(1),e.Q6J("ngIf",Y.editAuth)}}let T=(()=>{class R{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 R.\u0275fac=function(X){return new(X||R)(e.Y36(c.x4))},R.\u0275cmp=e.Xpm({type:R,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,Y){1&X&&(e.YNc(0,he,8,8,"div",0),e.YNc(1,ye,15,8,"div",1)),2&X&&(e.Q6J("ngIf",Y.displayButtons),e.xp6(1),e.Q6J("ngIf",!Y.displayButtons))},directives:[g.O5,w.lW,_.i3,b.gM,E.Hw,v.p6,v.VK,v.OP],pipes:[I.X$,N.r,A.J,q.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),R})()},8223:(qe,me,h)=>{"use strict";h.d(me,{x:()=>j});var e=h(5e3),c=h(9244),g=h(16074),w=h(48966),_=h(69808),b=h(29772),E=h(25245),v=h(51062);function I(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function N(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function A(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&G){const he=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",he.failureCause,"")}}function q(G,Q){1&G&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let j=(()=>{class G{constructor(he){this.dialog=he,this.status="",this.statusChange=new e.vpe}changeStatus(){const he=(0,c.kZ)();he.width="500px",he.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,he).afterClosed().subscribe(be=>{be&&this.statusChange.emit()})}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(w.uw))},G.\u0275cmp=e.Xpm({type:G,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(he,F){1&he&&(e.TgZ(0,"div",0),e.YNc(1,I,4,3,"span",1),e.YNc(2,N,4,3,"span",1),e.YNc(3,A,4,4,"span",1),e.YNc(4,q,4,3,"span",2),e.qZA()),2&he&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===F.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===F.status),e.xp6(1),e.Q6J("ngIf","FAILED"===F.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===F.status))},directives:[_.O5,b.gM,E.Hw],pipes:[v.X$],styles:[""]}),G})()},82322:(qe,me,h)=>{"use strict";h.d(me,{h:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.disableAutoSelect=!1,this.displayStatus=!1,this.groupSelected=new e.vpe,this.nameFunction=v=>v.name}ngOnInit(){this.groups=this.groups.sort(c.aC)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,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(v,I){if(1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.groupSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v){let N;e.Q6J("entities",I.groups)("entity",null!==(N=I.firstSelectedGroup)&&void 0!==N?N:null)("displayStatus",I.displayStatus)("disableAutoSelect",I.disableAutoSelect)("mainTextFunction",I.nameFunction)("searchFunction",I.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:[w.X$],styles:[""]}),b})()},24179:(qe,me,h)=>{"use strict";h.d(me,{W:()=>i});var e=h(5e3),c=h(16074),g=h(32105),w=h(32080),_=h(9244),b=h(84847),E=h(32075),v=h(20449),I=h(69808),N=h(48966),A=h(18750),q=h(77446),j=h(29772),G=h(10441),Q=h(25245),he=h(8223),F=h(47423),be=h(13449),pe=h(50301),ye=h(98380),T=h(51062),R=h(69773),L=h(21757),X=h(62383);let Y=(()=>{class o{transform(l){var s;const n=l.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return null!==(s=null==n?void 0:n.value)&&void 0!==s?s:"Never"}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275pipe=e.Yjl({name:"groupExpiration",type:o,pure:!0}),o})();function se(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(n){e.CHM(l);const t=e.oxw(2);return n?t.masterToggle():null}),e.qZA()}if(2&o){const l=e.oxw(2);e.Q6J("aria-label",l.checkboxLabel())("checked",l.selection.hasValue()&&l.isAllSelected())("indeterminate",l.selection.hasValue()&&!l.isAllSelected())}}function Te(o,u){if(1&o&&(e.TgZ(0,"th",24),e.YNc(1,se,1,3,"mat-checkbox",25),e.qZA()),2&o){const l=e.oxw();e.xp6(1),e.Q6J("ngIf",!l.disableHeadCheckbox)}}function Oe(o,u){if(1&o){const l=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(n){const r=e.CHM(l).$implicit,a=e.oxw();return n?a.itemSelectionToggle(r):null})("click",function(n){return n.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,s.getCheckboxTooltipMessage(l))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!s.disableSelect(l)),e.xp6(2),e.Q2q("data-cy","",l.name,"-checkbox"),e.Q6J("aria-label",s.checkboxLabel(l))("checked",s.selection.isSelected(l))("disabled","members"===l.name&&s.disableMembers||s.disableSelect(l))}}function Se(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function We(o,u){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Oqu(l.id)}}function ge(o,u){1&o&&e._UZ(0,"th",32)}function Le(o,u){if(1&o&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("recentIds",s.recentIds)("id",l.id)}}function ue(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function Me(o,u){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.hij(" ",s.voNames.get(l.voId)," ")}}function z(o,u){1&o&&e._UZ(0,"th",32)}function P(o,u){1&o&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&o&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function de(o,u){1&o&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&o&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function Ce(o,u){if(1&o&&(e.TgZ(0,"td",33),e.YNc(1,P,3,3,"mat-icon",35),e.YNc(2,de,3,3,"mat-icon",35),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Q6J("ngIf",l.sourceGroupId&&!l.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",l.moreTypesOfAssignment)}}function Pe(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function ce(o,u){if(1&o&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.uIk("data-cy",l.name),e.xp6(1),e.hij(" ",l.name," ")}}function fe(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function Ze(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(l),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw();return n.disabledRouting=n.disableRouting})("statusChange",function(){return e.CHM(l),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",l.id)("resourceId",s.resourceId)("failureCause",l.failureCause)("status",l.status)}}function ne(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function it(o,u){if(1&o&&(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&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,s.getStatusAttribute(l)),""),e.s9C("matTooltip",s.getStatusAttribute(l)),e.xp6(3),e.hij(" ",e.lcZ(5,7,s.getStatusAttribute(l))," ")}}function Be(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function ze(o,u){if(1&o&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Oqu(l.description)}}function Ue(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function _e(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(l);const n=e.oxw().$implicit;return e.oxw().changeExpiration(n)})("mouseenter",function(){return e.CHM(l),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw(2);return n.disabledRouting=n.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function ae(o,u){if(1&o&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,_e,3,0,"button",40),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,l))," "),e.xp6(3),e.Q6J("ngIf",s.canManageGroup(l))}}function Ae(o,u){1&o&&e._UZ(0,"th",32)}function ee(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(l),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw();return n.disabledRouting=n.disableRouting})("moveGroup",function(){const t=e.CHM(l).$implicit;return e.oxw().onMoveGroup(t)})("changeNameDescription",function(){const t=e.CHM(l).$implicit;return e.oxw().onChangeNameDescription(t)})("syncGroup",function(){const t=e.CHM(l).$implicit;return e.oxw().onSyncDetail(t)}),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("disabled","members"===l.name)("displayButtons",s.displayButtons)("group",l)}}function Ne(o,u){1&o&&e._UZ(0,"tr",43)}const V=function(o,u){return["/organizations",o,"groups",u]};function H(o,u){if(1&o&&e._UZ(0,"tr",44),2&o){const l=u.$implicit,s=e.oxw();e.ekj("cursor-pointer",!s.disableRouting&&!s.groupsToDisableRouting.has(l.id))("disable-outline",s.disabledRouting||s.groupsToDisableRouting.has(l.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",s.disabledRouting||s.groupsToDisableRouting.has(l.id)?null:e.WLB(6,V,l.voId,l.id))("perunWebAppsForceRouterLink",s.disabledRouting||s.groupsToDisableRouting.has(l.id)?null:e.WLB(9,V,l.voId,l.id))}}function D(o,u){if(1&o&&(e.TgZ(0,"perun-web-apps-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const l=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,1,l.noGroupsAlert),"\n")}}function O(o,u){1&o&&(e.TgZ(0,"perun-web-apps-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let i=(()=>{class o{constructor(l,s,n,t,r){this.dialog=l,this.authResolver=s,this.voService=n,this.tableCheckbox=t,this.changeDetector=r,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new v.Ov(!0,[]),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=_.f7,this.recentIds=[],this.resourceId=null,this.noGroupsAlert="SHARED_LIB.UI.ALERTS.NO_GROUPS",this.refreshTable=new e.vpe,this.displayButtons=window.innerWidth>800,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.hasMembersGroup=!1,this.getDataForColumnFun=(a,d)=>o.getDataForColumn(a,d,this.voNames),this.getSortDataForColumnFun=(a,d)=>o.getSortDataForColumn(a,d,this.voNames,this.recentIds),this.canBeSelected=a=>!("members"===a.name&&this.disableMembers||this.disableSelect(a))}set matSort(l){this.sort=l}static getDataForColumn(l,s,n){switch(s){case"id":return l.id.toString();case"vo":return n.get(l.voId);case"name":return l.name;case"description":return l.description;case"expiration":{const t=(0,_.x2)(l);return(0,_.sG)(t)}case"recent":return"";case"status":return l.status;case"uuid":return l.uuid;default:return l[s]}}static getSortDataForColumn(l,s,n,t){switch(s){case"id":return l.id.toString();case"vo":return n.get(l.voId);case"name":return l.name;case"description":return l.description;case"expiration":{const r=(0,_.x2)(l);return r&&"never"!==r.toLowerCase()?(0,I.p6)(r,"yyyy.MM.dd","en"):r}case"recent":return t&&t.includes(l.id)?"#".repeat(t.indexOf(l.id)):l.name;case"status":return l.status;default:return l[s]}}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 l of this.groups)if("members"===l.name)return!0;return!1}exportData(l){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),l)}setDataSource(){this.dataSource||(this.dataSource=new E.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(l,s)=>(0,_.Sd)(l,s,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(l,s)=>(0,_.pR)(l,s,this.getSortDataForColumnFun)),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(l){return l?`${this.selection.isSelected(l)?"deselect":"select"} row ${l.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(l){return this.disableGroups&&(this.groupsToDisableCheckbox.has(l.id)||(0,_.bx)(l))}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(l=>"id"!==l),this.changeDetector.detectChanges())}onMoveGroup(l){this.moveGroup.emit(l)}onSyncDetail(l){const s=(0,_.kZ)();s.data={groupId:l.id,theme:this.theme},this.dialog.open(c.Bp,s)}onChangeNameDescription(l){const s=(0,_.kZ)();s.data={theme:"group-theme",group:l,dialogType:c.Eg.GROUP},this.dialog.open(c.rd,s).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[s]),!0):"group-relations"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("result-removeGroupUnion_Group_Group_policy",[this.parentGroup])&&this.authResolver.isAuthorized("operand-removeGroupUnion_Group_Group_policy",[s]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,s]),!0):"member-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[s]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,s]),!0):void 0}itemSelectionToggle(l){this.selection.toggle(l),this.removeAuth=this.setAuth()}getCheckboxTooltipMessage(l){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":(0,_.bx)(l)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":l.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(l=>{this.voIds.has(l.voId)||this.voIds.add(l.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(l=>{l.forEach(s=>{this.voNames.set(s.id,s.name)})}))}changeExpiration(l){const s=l.attributes.find(r=>"groupMembershipExpiration"===r.baseFriendlyName),n=(0,_.kZ)();n.width="400px",n.data={memberId:this.memberId,groupId:l.id,expirationAttr:s,status:this.getStatusAttribute(l)},this.dialog.open(c.u3,n).afterClosed().subscribe(r=>{r.success&&this.refreshTable.emit()})}canManageGroup(l){return this.authResolver.isThisGroupAdmin(l.id)||this.authResolver.isThisVoAdmin(l.voId)}getStatusAttribute(l){const s=l.attributes.find(n=>"groupStatus"===n.baseFriendlyName);return(null==s?void 0:s.value)?s.value:""}}return o.\u0275fac=function(l){return new(l||o)(e.Y36(N.uw),e.Y36(w.x4),e.Y36(g.YF),e.Y36(w.UA),e.Y36(e.sBO))},o.\u0275cmp=e.Xpm({type:o,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(l,s){if(1&l&&(e.Gf(_.l9,7),e.Gf(b.YE,7)),2&l){let n;e.iGM(n=e.CRH())&&(s.child=n.first),e.iGM(n=e.CRH())&&(s.matSort=n.first)}},hostBindings:function(l,s){1&l&&e.NdJ("resize",function(t){return s.shouldHideButtons(t)},!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",noGroupsAlert:"noGroupsAlert"},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","perunWebAppsForceRouterLink",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","perunWebAppsForceRouterLink"],["alert_type","warn"]],template:function(l,s){1&l&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(t){return s.exportData(t)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Te,2,1,"th",4),e.YNc(5,Oe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,Se,3,3,"th",7),e.YNc(8,We,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ge,1,0,"th",10),e.YNc(11,Le,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,ue,3,3,"th",7),e.YNc(14,Me,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,z,1,0,"th",10),e.YNc(17,Ce,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,Pe,3,3,"th",7),e.YNc(20,ce,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,fe,3,3,"th",7),e.YNc(23,Ze,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,ne,3,3,"th",7),e.YNc(26,it,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,Be,3,3,"th",7),e.YNc(29,ze,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,Ue,3,3,"th",7),e.YNc(32,ae,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,Ae,1,0,"th",10),e.YNc(35,ee,2,3,"td",11),e.BQk(),e.YNc(36,Ne,1,0,"tr",21),e.YNc(37,H,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,D,3,3,"perun-web-apps-alert",23),e.YNc(39,O,3,3,"perun-web-apps-alert",23)),2&l&&(e.Q6J("hidden",0===s.groups.length||!s.dataSource||0===s.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions)("tableId",s.tableId),e.xp6(1),e.Q6J("dataSource",s.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",s.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",s.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===s.groups.length),e.xp6(1),e.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.groups.length))},directives:[A.l,E.BZ,b.YE,E.w1,E.fO,E.ge,I.O5,q.oG,E.Dz,E.ev,j.gM,b.nU,G.W,Q.Hw,he.x,F.lW,be.i,E.as,E.XQ,E.nj,E.Gk,pe.YH,pe.Kd,ye.w],pipes:[T.X$,R.u,L.f,X.M,Y],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}"]}),o})()},58956:(qe,me,h)=>{"use strict";h.d(me,{I:()=>Se});var e=h(5e3),c=h(90149),g=h(28258),w=h(20449);class _{constructor(ge){this.id=ge.id,this.name=ge.name,this.parentGroupId=ge.parentGroupId,this.voId=ge.voId,this.shortName=ge.shortName,this.description=ge.description,this.attributes=ge.attributes,this.beanName=ge.beanName}addChild(ge){null==this.children?this.children=[ge]:this.children.push(ge)}}var b=h(9244),E=h(16074),v=h(32080),I=h(48966),N=h(69808),A=h(29071),q=h(77446),j=h(36157),G=h(47423),Q=h(25245),he=h(29772),F=h(13449),be=h(98380),pe=h(51062);const ye=["scrollViewport"];function T(We,ge){if(1&We){const Le=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(Le);const Me=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Me)}),e.qZA()}if(2&We){const Le=e.oxw().$implicit,ue=e.oxw(2);e.Q2q("data-cy","",Le.name,"-checkbox"),e.Q6J("disabled","members"===Le.fullName)("checked",ue.selection.isSelected(Le))("indeterminate",ue.descendantsPartiallySelected(Le))}}function R(We,ge){if(1&We&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&We){const Le=e.oxw().$implicit,ue=e.oxw(2);e.xp6(1),e.hij(" ",ue.treeControl.isExpanded(Le)?"expand_more":"chevron_right"," ")}}function L(We,ge){if(1&We&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&We){const Le=e.oxw().$implicit;e.xp6(1),e.hij(" #",Le.id," ")}}const X=function(We,ge){return["/organizations",We,"groups",ge]};function Y(We,ge){if(1&We){const Le=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,T,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(Le),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(Le),e.oxw(2).disableRouting=!1})("click",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).treeControl.toggle(z)}),e.YNc(5,R,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,L,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 z=e.CHM(Le).$implicit;return e.oxw(2).onMoveGroup(z)})("syncGroup",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).onSyncDetail(z)})("changeNameDescription",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).onChangeNameDescription(z)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&We){const Le=ge.$implicit,ue=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*Le.level+"px"),e.xp6(1),e.Q6J("ngIf",!ue.hideCheckbox),e.xp6(1),e.Q6J("routerLink",ue.disableRouting?null:e.WLB(15,X,Le.voId,Le.id)),e.xp6(1),e.Q6J("disabled",!Le.expandable),e.uIk("aria-label","toggle "+Le.name),e.xp6(1),e.Q6J("ngIf",Le.expandable),e.xp6(2),e.uIk("data-cy",Le.name),e.xp6(1),e.hij(" ",Le.name," "),e.xp6(1),e.Q6J("ngIf",ue.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",Le.description),e.xp6(1),e.hij(" ",Le.description," "),e.xp6(2),e.Q6J("disabled","members"===Le.fullName)("displayButtons",ue.displayButtons)("group",Le)}}const se=function(We){return{height:We}};function Te(We,ge){if(1&We&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,Y,16,18,"ng-container",5),e.qZA(),e.qZA()),2&We){const Le=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,se,Le.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",Le.dataSource)}}function Oe(We,ge){1&We&&(e.TgZ(0,"perun-web-apps-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&We&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Se=(()=>{class We{constructor(Le,ue,Me){this.cd=Le,this.dialog=ue,this.authResolver=Me,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new w.Ov(!0,[]),this.hideCheckbox=!1,this.displayButtons=window.innerWidth>600,this.treeControl=new g.C2(z=>z.level,z=>z.expandable),this.hasChild=(z,P)=>P.expandable,this.getLevel=z=>z.level,this.transformer=(z,P)=>({expandable:!!z.children&&z.children.length>0,name:z.shortName,fullName:z.name,parentGroupId:z.parentGroupId,level:P,id:z.id,voId:z.voId,attributes:z.attributes,beanName:z.beanName,description:z.description}),this.treeFlattener=new c.JZ(this.transformer,z=>z.level,z=>z.expandable,z=>z.children),this.dataSource=new c.kc(this.treeControl,this.treeFlattener)}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(Le=>{var ue,Me;return(null===(ue=Le.name)||void 0===ue?void 0:ue.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Me=Le.description)||void 0===Me?void 0:Me.toLowerCase().includes(this.filterValue.toLowerCase()))||Le.id.toString().includes(this.filterValue.toLowerCase())||Le.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const Le of this.filteredGroups)Le.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,b.oU)(Le.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(Le){const ue=(0,b.kZ)();ue.data={groupId:Le.id,theme:this.theme},this.dialog.open(E.Bp,ue)}onChangeNameDescription(Le){const ue=(0,b.kZ)();ue.data={theme:"group-theme",group:Le,dialogType:E.Eg.GROUP},this.dialog.open(E.rd,ue).afterClosed().subscribe(z=>{z&&this.refreshTable.emit()})}createGroupTrees(Le){const ue=new Map;for(const P of Le)ue.set(P.id,new _(P));const Me=new Set;ue.forEach((P,de,Ce)=>{const Pe=Ce.get(P.parentGroupId);void 0!==Pe&&(Pe.addChild(P),Ce.set(P.parentGroupId,Pe)),null!==P.parentGroupId&&void 0===Pe&&Me.add(P.id)});const z=[];ue.forEach(P=>{(null===P.parentGroupId||Me.has(P.id))&&z.push(P)}),this.dataSource.data=z,this.cd.detectChanges()}getParentNode(Le){const ue=this.getLevel(Le);if(ue<1)return null;for(let z=this.treeControl.dataNodes.indexOf(Le)-1;z>=0;z--){const P=this.treeControl.dataNodes[z];if(this.getLevel(P)this.selection.isSelected(P));ue&&!z&&this.selection.deselect(Le)}checkAllParentsSelection(Le){let ue=this.getParentNode(Le);for(;ue;)this.checkRootNodeSelection(ue),ue=this.getParentNode(ue);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(Le){return this.treeControl.getDescendants(Le).some(z=>this.selection.isSelected(z))&&!this.selection.isSelected(Le)}itemSelectionToggle(Le){this.selection.toggle(Le);const ue=this.treeControl.getDescendants(Le);this.selection.isSelected(Le)?this.selection.select(...ue):this.selection.deselect(...ue),ue.every(Me=>this.selection.isSelected(Me)),this.checkAllParentsSelection(Le)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(Le,ue)=>Le&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,ue]):(Le,ue)=>Le&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[ue]),!0)}onMoveGroup(Le){this.moveGroup.emit(Le)}getTreeViewHeight(){let Le=0;this.scrollViewport&&(Le=this.scrollViewport.getDataLength());let ue=48*Le;return ue>672&&(ue=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),String(ue)+"px"}}return We.\u0275fac=function(Le){return new(Le||We)(e.Y36(e.sBO),e.Y36(I.uw),e.Y36(v.x4))},We.\u0275cmp=e.Xpm({type:We,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(Le,ue){if(1&Le&&e.Gf(ye,5),2&Le){let Me;e.iGM(Me=e.CRH())&&(ue.scrollViewport=Me.first)}},hostBindings:function(Le,ue){1&Le&&e.NdJ("resize",function(z){return ue.shouldHideButtons(z)},!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(Le,ue){1&Le&&(e.YNc(0,Te,4,6,"div",0),e.YNc(1,Oe,3,3,"perun-web-apps-alert",1)),2&Le&&(e.Q6J("ngIf",0!==ue.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===ue.filteredGroups.length))},directives:[N.O5,A.N7,A.xd,N.PC,A.x0,q.oG,j.yS,G.lW,Q.Hw,he.gM,F.i,be.w],pipes:[pe.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}"]}),We})()},52314:(qe,me,h)=>{"use strict";h.d(me,{X:()=>j});var e=h(32105),c=h(32080),g=h(5e3),w=h(51062),_=h(69808),b=h(47423),E=h(92181),v=h(29772),I=h(25245);const N=function(G){return{color:G}};function A(G,Q){if(1&G&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&G){const he=g.oxw(),F=g.MAs(2);g.Q6J("matMenuTriggerFor",F)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,N,he.iconColor))}}function q(G,Q){if(1&G){const he=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(he),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&G&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let j=(()=>{class G{constructor(he,F,be,pe){this.authService=he,this.authzResolverService=F,this.notificator=be,this.translateService=pe}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return G.\u0275fac=function(he){return new(he||G)(g.Y36(c.e8),g.Y36(e.Ct),g.Y36(c.V6),g.Y36(w.sK))},G.\u0275cmp=g.Xpm({type:G,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(he,F){if(1&he&&(g.YNc(0,A,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return F.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,q,3,3,"button",7),g.qZA()),2&he){const be=g.MAs(12);g.Q6J("ngIf",F.url),g.xp6(5),g.Oqu(F.label),g.xp6(1),g.Q6J("matMenuTriggerFor",be),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,N,F.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,N,F.textColor)),g.xp6(1),g.xDo(" ",F.user.titleBefore," ",F.user.firstName," ",F.user.middleName," ",F.user.lastName," ",F.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",F.logoutEnabled)}},directives:[_.O5,b.lW,E.p6,v.gM,I.Hw,_.PC,E.VK,E.OP],pipes:[w.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),G})()},7434:(qe,me,h)=>{"use strict";h.d(me,{L:()=>N});var e=h(5e3),c=h(93075),g=h(67322),w=h(69808),_=h(98833),b=h(50301),E=h(51062);function v(A,q){if(1&A&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&A){const j=e.oxw();e.s9C("placeholder",e.lcZ(1,2,j.placeholder)),e.Q6J("formControl",j.formControl)}}function I(A,q){if(1&A&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&A){const j=e.oxw();e.s9C("placeholder",e.lcZ(1,2,j.placeholder)),e.Q6J("formControl",j.formControl)}}let N=(()=>{class A{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new c.NI}ngOnInit(){this.formControl.valueChanges.subscribe(j=>{let G=j.trim();G=G.toLowerCase(),this.filter.emit(G)})}}return A.\u0275fac=function(j){return new(j||A)},A.\u0275cmp=e.Xpm({type:A,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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(j,G){1&j&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,v,2,4,"input",1),e.YNc(2,I,2,4,"input",2),e.qZA()),2&j&&(e.xp6(1),e.Q6J("ngIf",G.autoFocus),e.xp6(1),e.Q6J("ngIf",!G.autoFocus))},directives:[g.KE,w.O5,_.Nt,c.Fj,b.hT,c.JJ,c.oH],pipes:[E.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),A})()},1903:(qe,me,h)=>{"use strict";h.d(me,{m:()=>H});var e=h(84847),c=h(9244),g=h(16074),w=h(32080),_=h(56451),b=h(18505),E=h(5e3),v=h(48966),I=h(10036),N=h(18750),A=h(69808),q=h(20773),j=h(32075),G=h(77446),Q=h(29772),he=h(25245),F=h(50301),be=h(36157),pe=h(98380);let ye=(()=>{class D{transform(i){if("INDIRECT"===i.membershipType)return!0;const o=i.memberAttributes.find(u=>"isLifecycleAlterable"===u.friendlyName);return!!o&&!o.value}}return D.\u0275fac=function(i){return new(i||D)},D.\u0275pipe=E.Yjl({name:"memberListCheckboxDisabled",type:D,pure:!0}),D})();var T=h(51062);let R=(()=>{class D{constructor(i){this.translate=i}transform(i){if("INDIRECT"===i.membershipType)return this.translate.instant("MEMBERS_LIST.CHECKBOX_TOOLTIP_INDIRECT");const o=i.memberAttributes.find(u=>"isLifecycleAlterable"===u.friendlyName);return o?o.value?"":this.translate.instant("MEMBERS_LIST.CHECKBOX_TOOLTIP_UNALTERABLE"):""}}return D.\u0275fac=function(i){return new(i||D)(E.Y36(T.sK,16))},D.\u0275pipe=E.Yjl({name:"memberCheckboxLabel",type:D,pure:!0}),D})();var L=h(31359),X=h(69773),Y=h(12856),se=h(21757),Te=h(96974),Oe=h(20919),Se=h(5865);function We(D,O){1&D&&(E.TgZ(0,"div",22),E._UZ(1,"mat-spinner",23),E.qZA())}function ge(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"th",24),E.TgZ(1,"mat-checkbox",25),E.NdJ("change",function(u){E.CHM(i);const l=E.oxw();return u?l.masterToggle():null}),E.qZA(),E.qZA()}if(2&D){const i=E.oxw();E.xp6(1),E.Q6J("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function Le(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",26),E.TgZ(1,"mat-checkbox",27),E.NdJ("change",function(u){const s=E.CHM(i).$implicit,n=E.oxw();return u?n.selection.toggle(s):null})("click",function(u){return u.stopPropagation()}),E.ALo(2,"lowercase"),E.ALo(3,"memberListCheckboxDisabled"),E.ALo(4,"memberCheckboxLabel"),E.qZA(),E.qZA()}if(2&D){const i=O.$implicit,o=E.oxw();E.xp6(1),E.Q2q("data-cy","",E.lcZ(2,5,i.user.firstName),"-checkbox"),E.Q6J("aria-label",o.checkboxLabel(i))("checked",o.selection.isSelected(i))("disabled",E.lcZ(3,7,i))("matTooltip",E.lcZ(4,9,i))}}function ue(D,O){1&D&&(E.TgZ(0,"th",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.ID")))}function Me(D,O){if(1&D&&(E.TgZ(0,"td",29),E._uU(1),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(i.id)}}function z(D,O){1&D&&E._UZ(0,"th",28)}function P(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"mat-icon",32),E.NdJ("click",function(u){E.CHM(i);const l=E.oxw().$implicit;return E.oxw().viewMemberGroupTree(u,l)}),E.ALo(1,"translate"),E._uU(2,"transfer_within_a_station"),E.qZA()}2&D&&E.Q6J("matTooltip",E.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function de(D,O){if(1&D&&(E.TgZ(0,"td",30),E.YNc(1,P,3,3,"mat-icon",31),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Q6J("ngIf","DIRECT"!==i.membershipType)}}function Ce(D,O){1&D&&(E.TgZ(0,"th",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Pe(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"userFullName"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i.user))}}function ce(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function fe(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",30),E.TgZ(1,"i",34),E.NdJ("click",function(u){const s=E.CHM(i).$implicit;return E.oxw().changeStatus(u,s)}),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&D){const i=O.$implicit;E.xp6(1),E.Gre("material-icons ",E.lcZ(2,5,i.status),""),E.s9C("matTooltip",E.xi3(3,7,i,!1)),E.xp6(4),E.hij(" ",E.lcZ(6,10,i.status)," ")}}function Ze(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function ne(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",30),E.TgZ(1,"i",34),E.NdJ("click",function(u){const s=E.CHM(i).$implicit,n=E.oxw();return n.changeStatus(u,s,n.groupId)}),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&D){const i=O.$implicit;E.xp6(1),E.Gre("material-icons ",E.lcZ(2,5,i.groupStatus),""),E.s9C("matTooltip",E.xi3(3,7,i,!0)),E.xp6(4),E.hij(" ",E.lcZ(6,10,i.groupStatus)," ")}}function it(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Be(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberOrganization"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function ze(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Ue(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberEmail"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function _e(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function ae(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberLogins"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function Ae(D,O){1&D&&E._UZ(0,"tr",35)}const ee=function(D,O){return["/organizations",D,"members",O]};function Ne(D,O){if(1&D&&E._UZ(0,"tr",36),2&D){const i=O.$implicit,o=E.oxw();E.ekj("cursor-pointer",o.dataSource.routeAuth)("italic_font","INDIRECT"===i.membershipType)("disable-outline",!o.dataSource.routeAuth),E.Q6J("perunWebAppsMiddleClickRouterLink",o.dataSource.routeAuth?E.WLB(8,ee,i.voId,i.id):null)("routerLink",o.dataSource.routeAuth?E.WLB(11,ee,i.voId,i.id):null)}}function V(D,O){1&D&&(E.TgZ(0,"perun-web-apps-alert",37),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let H=(()=>{class D{constructor(i,o,u,l,s){this.dialog=i,this.authResolver=o,this.tableCheckbox=u,this.tableConfigService=l,this.dynamicPaginatingService=s,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=c.f7,this.canBeSelected=n=>"INDIRECT"!==n.membershipType}static getExportDataForColumn(i,o){switch(o){case"id":return i.id.toString();case"fullName":return i.user?(0,c.bD)(i.user):"";case"status":return i.status;case"groupStatus":return i.groupStatus;case"organization":return(0,c.Gw)(i);case"email":return(0,c.g$)(i);case"logins":return(0,c.lt)(i);default:return""}}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(i=>"id"!==i)),this.dataSource=new w.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(i=>{this.canBeSelected(i)&&this.selection.select(i)})}isAllSelected(){return this.selection.selected.length===this.dataSource.getData().filter(u=>this.canBeSelected(u)).length}checkboxLabel(i){return i?`${this.selection.isSelected(i)?"deselect":"select"} row ${i.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(i,o,u){i.stopPropagation();const l=(0,c.kZ)();l.width="500px",l.data={member:o,voId:this.voId,groupId:u};const s=u?o.groupStatus:o.status;this.dialog.open(g.pf,l).afterClosed().subscribe(t=>{if(t){const r=u?t.groupStatus:t.status;"VALID"===s&&("EXPIRED"===r||"DISABLED"===r)||"VALID"===r?(u?o.groupStatus=r:o.status=r,this.changeExpiration(o,u)):this.loadMembersPage()}})}changeExpiration(i,o){const u=i.memberAttributes.find(o?n=>"groupMembershipExpiration"===n.friendlyName:n=>"membershipExpiration"===n.friendlyName),l=(0,c.kZ)();let s;l.width="400px",l.data={voId:this.voId,groupId:o,memberId:i.id,expirationAttr:u,status:o?i.groupStatus:i.status,statusChanged:!0},s=this.dialog.open(o?g.u3:g.kZ,l),s.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(i){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,D.getExportDataForColumn),i)}viewMemberGroupTree(i,o){i.stopPropagation();const u=(0,c.kZ)();u.width="800px",u.data={member:o,groupId:this.groupId},this.dialog.open(g.jd,u)}}return D.\u0275fac=function(i){return new(i||D)(E.Y36(v.uw),E.Y36(w.x4),E.Y36(w.UA),E.Y36(I.dB),E.Y36(w.ly))},D.\u0275cmp=E.Xpm({type:D,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(i,o){if(1&i&&(E.Gf(c.l9,7),E.Gf(e.YE,5)),2&i){let u;E.iGM(u=E.CRH())&&(o.child=u.first),E.iGM(u=E.CRH())&&(o.sort=u.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[E.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","disabled","matTooltip","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(i,o){1&i&&(E.TgZ(0,"div",0),E.ALo(1,"async"),E.TgZ(2,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(l){return o.exportData(l)}),E.YNc(3,We,2,0,"div",2),E.ALo(4,"async"),E.TgZ(5,"table",3),E.ynx(6,4),E.YNc(7,ge,2,3,"th",5),E.YNc(8,Le,5,11,"td",6),E.BQk(),E.ynx(9,7),E.YNc(10,ue,3,3,"th",8),E.YNc(11,Me,2,1,"td",9),E.BQk(),E.ynx(12,10),E.YNc(13,z,1,0,"th",8),E.YNc(14,de,2,1,"td",11),E.BQk(),E.ynx(15,12),E.YNc(16,Ce,3,3,"th",8),E.YNc(17,Pe,3,3,"td",11),E.BQk(),E.ynx(18,13),E.YNc(19,ce,3,3,"th",14),E.YNc(20,fe,7,12,"td",11),E.BQk(),E.ynx(21,15),E.YNc(22,Ze,3,3,"th",14),E.YNc(23,ne,7,12,"td",11),E.BQk(),E.ynx(24,16),E.YNc(25,it,3,3,"th",14),E.YNc(26,Be,3,3,"td",11),E.BQk(),E.ynx(27,17),E.YNc(28,ze,3,3,"th",14),E.YNc(29,Ue,3,3,"td",11),E.BQk(),E.ynx(30,18),E.YNc(31,_e,3,3,"th",14),E.YNc(32,ae,3,3,"td",11),E.BQk(),E.YNc(33,Ae,1,0,"tr",19),E.YNc(34,Ne,1,14,"tr",20),E.qZA(),E.qZA(),E.qZA(),E.YNc(35,V,3,3,"perun-web-apps-alert",21),E.ALo(36,"async")),2&i&&(E.Q6J("hidden",0===o.dataSource.allObjectCount&&!1===E.lcZ(1,9,o.dataSource.loading$)),E.xp6(2),E.Q6J("tableId",o.tableId)("dataLength",o.dataSource.allObjectCount)("pageSizeOptions",o.pageSizeOptions),E.xp6(1),E.Q6J("ngIf",E.lcZ(4,11,o.dataSource.loading$)),E.xp6(2),E.Q6J("dataSource",o.dataSource),E.xp6(28),E.Q6J("matHeaderRowDef",o.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",o.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===o.dataSource.allObjectCount&&!1===E.lcZ(36,13,o.dataSource.loading$)))},directives:[N.l,A.O5,q.Ou,j.BZ,e.YE,j.w1,j.fO,j.ge,G.oG,j.Dz,j.ev,Q.gM,e.nU,he.Hw,j.as,j.XQ,j.nj,j.Gk,F.YH,be.rH,pe.w],pipes:[A.Ov,A.i8,ye,R,T.X$,L.d,X.u,Y.i,se.f,Te.M,Oe.D,Se.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),D})()},38383:(qe,me,h)=>{"use strict";h.d(me,{O:()=>O});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(16074),E=h(32080),v=h(48966),I=h(36157),N=h(18750),A=h(77446),q=h(29772),j=h(69808),G=h(25245),Q=h(50301),he=h(98380),F=h(51062),be=h(31359),pe=h(69773),ye=h(12856),T=h(21757),R=h(96974),L=h(20919),X=h(5865);function Y(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"th",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(s){e.CHM(u);const n=e.oxw();return s?n.masterToggle():null}),e.qZA(),e.qZA()}if(2&i){const u=e.oxw();e.xp6(1),e.Q6J("aria-label",u.checkboxLabel())("checked",u.selection.hasValue()&&u.isAllSelected())("indeterminate",u.selection.hasValue()&&!u.isAllSelected())}}function se(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",28),e.TgZ(1,"mat-checkbox",29),e.NdJ("change",function(s){const t=e.CHM(u).$implicit,r=e.oxw();return s?r.selection.toggle(t):null})("click",function(s){return s.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&i){const u=o.$implicit,l=e.oxw();e.xp6(1),e.Q6J("aria-label",l.checkboxLabel(u))("checked",l.selection.isSelected(u))("disabled","DIRECT"!==u.membershipType)("matTooltip","DIRECT"!==u.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function Te(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Oe(i,o){if(1&i&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.id)}}function Se(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.VO_ID")," "))}function We(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.voId)}}function ge(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.USER_ID")," "))}function Le(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.userId)}}function ue(i,o){1&i&&e._UZ(0,"th",30)}function Me(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"mat-icon",34),e.NdJ("click",function(){e.CHM(u);const s=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(s)})("mouseenter",function(){return e.CHM(u),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(u);const s=e.oxw(2);return s.disableRouting=s.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&i&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function z(i,o){if(1&i&&(e.TgZ(0,"td",32),e.YNc(1,Me,3,3,"mat-icon",33),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==u.membershipType)}}function P(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function de(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u.user))}}function Ce(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function Pe(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"i",35),e.NdJ("click",function(s){const t=e.CHM(u).$implicit;return e.oxw().changeStatus(s,t)}),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&i){const u=o.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,u.status),""),e.s9C("matTooltip",e.xi3(3,7,u,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,u.status)," ")}}function ce(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function fe(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"i",35),e.NdJ("click",function(s){const t=e.CHM(u).$implicit;return e.oxw().changeStatus(s,t)}),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&i){const u=o.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,u.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,u,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,u.groupStatus)," ")}}function Ze(i,o){1&i&&(e.TgZ(0,"th",36),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function ne(i,o){1&i&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function it(i,o){if(1&i&&(e.TgZ(0,"td",37),e.YNc(1,ne,2,0,"mat-icon",38),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Q6J("ngIf",u.sponsored)}}function Be(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function ze(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function Ue(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function _e(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function ae(i,o){1&i&&(e.TgZ(0,"th",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function Ae(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function ee(i,o){1&i&&e._UZ(0,"tr",40)}const Ne=function(i,o){return["/organizations",i,"members",o]};function V(i,o){if(1&i&&e._UZ(0,"tr",41),2&i){const u=o.$implicit,l=e.oxw();e.ekj("cursor-pointer",!l.disabledRouting)("disable-outline",l.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",l.disableRouting?null:e.WLB(6,Ne,u.voId,u.id))("routerLink",l.disableRouting?null:e.WLB(9,Ne,u.voId,u.id))}}function H(i,o){1&i&&(e.TgZ(0,"perun-web-apps-alert",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function D(i,o){1&i&&(e.TgZ(0,"perun-web-apps-alert",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let O=(()=>{class i{constructor(u,l,s,n){this.dialog=u,this.authResolver=l,this.tableCheckbox=s,this.route=n,this.selection=new w.Ov,this.displayedColumns=["checkbox","id","voId","userId","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableStatusChange=!1,this.disableExpirationChange=!1,this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=_.f7,this.getExportDataForColumnFun=(t,r)=>i.getExportDataForColumn(t,r,this.showGroupStatuses),this.getSortDataForColumnFun=(t,r)=>i.getSortDataForColumn(t,r,this.showGroupStatuses),this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(u){this.sort=u}static getFilterDataForColumn(u,l){switch(l){case"fullName":return u.user?(0,_.bD)(u.user):"";case"email":return(0,_.g$)(u);case"logins":return(0,_.lt)(u);default:return""}}static getExportDataForColumn(u,l,s){switch(l){case"id":return u.id.toString();case"fullName":return u.user?(0,_.bD)(u.user):"";case"status":return s?u.groupStatus:u.status;case"organization":return(0,_.Gw)(u);case"email":return(0,_.g$)(u);case"logins":return(0,_.lt)(u);default:return""}}static getSortDataForColumn(u,l,s){var n;switch(l){case"id":return u.id.toString();case"fullName":return u.user?u.user.lastName?u.user.lastName:null!==(n=u.user.firstName)&&void 0!==n?n:"":"";case"status":return s?u.groupStatus:u.status;case"organization":return(0,_.Gw)(u);case"email":return(0,_.g$)(u);default:return""}}exportData(u){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumnFun),u)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(u,l)=>(0,_.Sd)(u,l,this.displayedColumns,i.getFilterDataForColumn),this.dataSource.sortData=(u,l)=>(0,_.pR)(u,l,this.getSortDataForColumnFun)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(u=>"id"!==u))}ngOnChanges(){var u;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(u=this.route.parent)||void 0===u||u.params.subscribe(l=>{l.groupId&&(this.groupId=Number(l.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(u){return u?`${this.selection.isSelected(u)?"deselect":"select"} row ${u.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(u,l){if(u.stopPropagation(),!this.disableStatusChange){const s=(0,_.kZ)();s.width="500px",s.data={member:l,disableChangeExpiration:this.disableExpirationChange},this.dialog.open(b.pf,s).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}viewMemberGroupTree(u){const l=(0,_.kZ)();l.width="800px",l.data={member:u,groupId:this.groupId},this.dialog.open(b.jd,l)}}return i.\u0275fac=function(u){return new(u||i)(e.Y36(v.uw),e.Y36(E.x4),e.Y36(E.UA),e.Y36(I.gz))},i.\u0275cmp=e.Xpm({type:i,selectors:[["perun-web-apps-members-list"]],viewQuery:function(u,l){if(1&u&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&u){let s;e.iGM(s=e.CRH())&&(l.child=s.first),e.iGM(s=e.CRH())&&(l.matSort=s.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",disableStatusChange:"disableStatusChange",disableExpirationChange:"disableExpirationChange",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:43,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","voId"],["mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["matColumnDef","type"],["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(u,l){1&u&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(n){return l.exportData(n)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Y,2,3,"th",4),e.YNc(5,se,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,Te,3,3,"th",7),e.YNc(8,Oe,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Se,3,3,"th",7),e.YNc(11,We,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,ge,3,3,"th",7),e.YNc(14,Le,2,1,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,ue,1,0,"th",7),e.YNc(17,z,2,1,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,P,3,3,"th",7),e.YNc(20,de,3,3,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Ce,3,3,"th",7),e.YNc(23,Pe,7,12,"td",10),e.BQk(),e.ynx(24,15),e.YNc(25,ce,3,3,"th",7),e.YNc(26,fe,7,12,"td",10),e.BQk(),e.ynx(27,16),e.YNc(28,Ze,3,3,"th",17),e.YNc(29,it,2,1,"td",18),e.BQk(),e.ynx(30,19),e.YNc(31,Be,3,3,"th",7),e.YNc(32,ze,3,3,"td",10),e.BQk(),e.ynx(33,20),e.YNc(34,Ue,3,3,"th",7),e.YNc(35,_e,3,3,"td",10),e.BQk(),e.ynx(36,21),e.YNc(37,ae,3,3,"th",22),e.YNc(38,Ae,3,3,"td",10),e.BQk(),e.YNc(39,ee,1,0,"tr",23),e.YNc(40,V,1,12,"tr",24),e.qZA(),e.qZA(),e.qZA(),e.YNc(41,H,3,3,"perun-web-apps-alert",25),e.YNc(42,D,3,3,"perun-web-apps-alert",25)),2&u&&(e.Q6J("hidden",0===l.members.length||!l.dataSource||0===l.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",l.dataSource.filteredData.length)("tableId",l.tableId)("pageSizeOptions",l.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",l.dataSource),e.xp6(37),e.Q6J("matHeaderRowDef",l.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",l.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==l.members.length&&0===l.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===l.members.length))},directives:[N.l,g.BZ,c.YE,g.w1,g.fO,g.ge,A.oG,g.Dz,g.ev,q.gM,c.nU,j.O5,G.Hw,g.as,g.XQ,g.nj,g.Gk,Q.YH,I.rH,he.w],pipes:[F.X$,be.d,pe.u,ye.i,T.f,R.M,L.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}"]}),i})()},22465:(qe,me,h)=>{"use strict";h.d(me,{c:()=>A});var e=h(5e3),c=h(32080),g=h(9244),w=h(16074),_=h(48966),b=h(69808),E=h(25245),v=h(51062);function I(q,j){if(1&q&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&q){const G=e.oxw();e.xp6(2),e.Oqu(G.data.icon)}}function N(q,j){if(1&q&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&q){const G=e.oxw();e.xp6(1),e.hij(" ",G.showTimestamp()," ")}}let A=(()=>{class q{constructor(G,Q){this.dialog=G,this.notificationStorageService=Q,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 G=(0,g.kZ)();G.width="550px",G.data=this.data,G.autoFocus=!1,this.dialog.open(w.FM,G).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[G,Q]=this.data.timeStamp.split(":");return Q.length<2?G+":0"+Q:this.data.timeStamp}}return q.\u0275fac=function(G){return new(G||q)(e.Y36(_.uw),e.Y36(c.SZ))},q.\u0275cmp=e.Xpm({type:q,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(G,Q){1&G&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return Q.alreadyClosed||Q.waiting?"":Q.closeSelf()}),e.YNc(2,I,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,N,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return Q.waiting=!0,Q.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&G&&(e.Gre("notification ",Q.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===Q.data.type)("success","success"===Q.data.type),e.xp6(2),e.Q6J("ngIf",null!==Q.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,Q.data.title)," "),e.xp6(2),e.Q6J("ngIf",Q.inDialog),e.xp6(1),e.Q6J("hidden",Q.alreadyPressed),e.xp6(1),e.hij(" ",Q.data.actionText," "))},directives:[b.O5,E.Hw],pipes:[v.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}"]}),q})()},53599:(qe,me,h)=>{"use strict";h.d(me,{N:()=>se});var e=h(5e3),c=h(32105),g=h(32080),w=h(32075),_=h(9244),b=h(16074),E=h(48966),v=h(36157),I=h(69808),N=h(98380),A=h(84847),q=h(47423),j=h(51062),G=h(34447);function Q(Te,Oe){1&Te&&(e.TgZ(0,"perun-web-apps-alert"),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.Oqu(e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function he(Te,Oe){1&Te&&(e.TgZ(0,"th",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function F(Te,Oe){if(1&Te&&(e.TgZ(0,"td",17),e._uU(1),e.qZA()),2&Te){const Se=Oe.$implicit;e.xp6(1),e.Oqu(Se.friendlyNameParameter)}}function be(Te,Oe){1&Te&&(e.TgZ(0,"th",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function pe(Te,Oe){if(1&Te&&(e.TgZ(0,"td",18),e._uU(1),e.qZA()),2&Te){const Se=Oe.$implicit;e.xp6(1),e.Oqu(Se.value)}}function ye(Te,Oe){1&Te&&e._UZ(0,"th",16)}function T(Te,Oe){if(1&Te){const Se=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){const Le=e.CHM(Se).$implicit;return e.oxw().resetPassword(Le.friendlyNameParameter)}),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"customTranslate"),e.qZA(),e.qZA()}if(2&Te){const Se=Oe.$implicit,We=e.oxw();e.xp6(1),e.Q6J("disabled",!We.logins.includes(Se)),e.xp6(1),e.hij(" ",e.lcZ(3,2,e.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function R(Te,Oe){1&Te&&e._UZ(0,"th",16)}function L(Te,Oe){if(1&Te){const Se=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",21),e.NdJ("click",function(){const Le=e.CHM(Se).$implicit;return e.oxw().changePassword(Le)}),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"customTranslate"),e.qZA(),e.qZA()}if(2&Te){const Se=Oe.$implicit,We=e.oxw();e.xp6(1),e.Q6J("disabled",!We.logins.includes(Se)),e.xp6(1),e.hij(" ",e.lcZ(3,2,e.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function X(Te,Oe){1&Te&&e._UZ(0,"tr",22)}function Y(Te,Oe){1&Te&&e._UZ(0,"tr",23)}let se=(()=>{class Te{constructor(Se,We,ge,Le,ue,Me,z){this.attributesManagerService=Se,this.store=We,this.dialog=ge,this.route=Le,this.router=ue,this.otherApplicationService=Me,this.entityStorageService=z,this.authenticationPage=!1,this.filteredNamespaces=new e.vpe,this.logins=[],this.nameSpaces=[]}ngOnInit(){this.userId=this.authenticationPage?this.entityStorageService.getEntity().id:this.store.getPerunPrincipal().userId,this.displayedColumns=this.authenticationPage?["namespace","value","change"]:["namespace","value","reset","change"],this.nameSpaces=this.store.get("password_namespace_attributes").map(Se=>{const We=Se.split(":");return We[We.length-1]}),this.refreshTable()}refreshTable(){this.attributesManagerService.getLogins(this.userId).subscribe(Se=>{if(this.logins=Se.filter(We=>this.nameSpaces.includes(We.friendlyNameParameter)),this.filteredNamespaces.emit(Se.map(We=>We.friendlyNameParameter)),this.dataSource=new w.by(Se),!this.authenticationPage){const ge=this.route.snapshot.queryParamMap.get("namespace");if(ge){const Le=this.logins.find(ue=>ue.friendlyNameParameter===ge);Le&&this.changePassword(Le)}}})}resetPassword(Se){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",Se),"_blank")}changePassword(Se){this.authenticationPage||this.router.navigate([],{queryParams:{namespace:Se.friendlyNameParameter},queryParamsHandling:"merge"});const We=(0,_.kZ)();We.width="600px",We.data={login:String(Se.value),namespace:Se.friendlyName.split(":")[1]},this.dialog.open(b.xF,We).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return Te.\u0275fac=function(Se){return new(Se||Te)(e.Y36(c.H8),e.Y36(g.d6),e.Y36(E.uw),e.Y36(v.gz),e.Y36(v.F0),e.Y36(g.jq),e.Y36(g.fb))},Te.\u0275cmp=e.Xpm({type:Te,selectors:[["perun-web-apps-password-reset"]],inputs:{authenticationPage:"authenticationPage"},outputs:{filteredNamespaces:"filteredNamespaces"},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(Se,We){1&Se&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA(),e.YNc(4,Q,4,5,"perun-web-apps-alert",1),e.TgZ(5,"div",2),e.TgZ(6,"div",3),e.TgZ(7,"div",4),e.TgZ(8,"table",5),e.ynx(9,6),e.YNc(10,he,4,5,"th",7),e.YNc(11,F,2,1,"td",8),e.BQk(),e.ynx(12,9),e.YNc(13,be,4,5,"th",7),e.YNc(14,pe,2,1,"td",10),e.BQk(),e.ynx(15,11),e.YNc(16,ye,1,0,"th",7),e.YNc(17,T,5,6,"td",12),e.BQk(),e.ynx(18,13),e.YNc(19,R,1,0,"th",7),e.YNc(20,L,5,6,"td",12),e.BQk(),e.YNc(21,X,1,0,"tr",14),e.YNc(22,Y,1,0,"tr",15),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&Se&&(e.xp6(1),e.hij(" ",We.authenticationPage?"":e.lcZ(2,5,e.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),e.xp6(3),e.Q6J("ngIf",!We.logins.length&&!We.authenticationPage),e.xp6(4),e.Q6J("dataSource",We.dataSource),e.xp6(13),e.Q6J("matHeaderRowDef",We.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",We.displayedColumns))},directives:[I.O5,N.w,w.BZ,A.YE,w.w1,w.fO,w.ge,w.Dz,w.ev,q.lW,w.as,w.XQ,w.nj,w.Gk],pipes:[j.X$,G.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),Te})()},41619:(qe,me,h)=>{"use strict";h.d(me,{$:()=>ue});var e=h(32080),c=h(32105),g=h(5e3),w=h(48966),_=h(51062),b=h(67322),E=h(98833),v=h(93075),I=h(69808),N=h(47423);function A(Me,z){1&Me&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Me&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let q=(()=>{class Me{constructor(P,de,Ce,Pe,ce){this.dialogRef=P,this.translate=de,this.notificator=Ce,this.rtMessages=Pe,this.storeService=ce,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(P=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+String(P.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",h(4147).i8)}close(){this.dialogRef.close()}}return Me.\u0275fac=function(P){return new(P||Me)(g.Y36(w.so),g.Y36(_.sK),g.Y36(e.V6),g.Y36(c.Hr),g.Y36(e.d6))},Me.\u0275cmp=g.Xpm({type:Me,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(P,de){if(1&P&&(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(Pe){return de.subject=Pe}),g.qZA(),g.YNc(10,A,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(Pe){return de.message=Pe}),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 de.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return de.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&P){const Ce=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",de.subject),g.xp6(2),g.Q6J("ngIf",Ce.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",de.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",Ce.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[w.uh,w.xY,b.KE,b.hX,E.Nt,v.Fj,v.Q7,v.JJ,v.On,I.O5,b.TO,b.bx,w.H8,N.lW],pipes:[_.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Me})();var j=h(9244);let G=(()=>{class Me{transform(P,de,Ce){return P[`${Ce}_${de}`]}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"localisedText",type:Me,pure:!0}),Me})(),Q=(()=>{class Me{transform(P,de){return P["link_"+de]||P.link_en}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"localisedLink",type:Me,pure:!0}),Me})(),he=(()=>{class Me{transform(P){return P.includes("/")?P:"/assets/config/"+P}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Me,pure:!0}),Me})();function F(Me,z){if(1&Me&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("href",g.xi3(1,2,P,de.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,P.logo),g.LSH)}}function be(Me,z){if(1&Me&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Me){const P=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,P.logo),g.LSH)}}function pe(Me,z){if(1&Me&&(g.TgZ(0,"div"),g.YNc(1,F,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,be,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,P,de.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,P,de.language))}}const ye=function(Me){return{"min-height":Me}};function T(Me,z){if(1&Me&&(g.TgZ(0,"div",10),g.YNc(1,pe,5,8,"div",5),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw();g.Q6J("ngStyle",g.VKq(2,ye,de.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",P.elements)}}const R=function(Me){return{color:Me}};function L(Me,z){if(1&Me&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,R,de.linksTextColor)),g.xp6(1),g.hij(" ",P.icon," ")}}function X(Me,z){if(1&Me){const P=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(P);const Ce=g.oxw().$implicit;return g.oxw(3).openDialog(Ce.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,R,de.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,P,de.language,"label")," ")}}function Y(Me,z){if(1&Me&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("href",g.xi3(1,3,P,de.language),g.LSH)("ngStyle",g.VKq(10,R,de.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,P,de.language,"label"))}}function se(Me,z){if(1&Me&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,R,de.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,P,de.language,"label"))}}function Te(Me,z){if(1&Me&&(g.TgZ(0,"div",16),g.YNc(1,L,2,4,"i",17),g.YNc(2,X,3,8,"span",18),g.YNc(3,Y,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,se,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw(3);g.xp6(1),g.Q6J("ngIf",P.icon),g.xp6(1),g.Q6J("ngIf",P.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,P,de.language)&&!P.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,P,de.language)&&!P.dialog)}}const Oe=function(Me){return{height:Me}};function Se(Me,z){if(1&Me&&(g.TgZ(0,"div",10),g.YNc(1,Te,7,10,"div",15),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw();g.Q6J("ngStyle",g.VKq(2,Oe,de.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",P.elements)}}function We(Me,z){if(1&Me&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,T,2,4,"div",9),g.YNc(5,Se,2,4,"div",9),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw();g.ekj("my-auto",de.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,R,de.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,P,de.language,"title")," "),g.xp6(2),g.Q6J("ngIf",P.logos),g.xp6(1),g.Q6J("ngIf",P.elements&&!P.logos)}}function ge(Me,z){if(1&Me&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Me){const P=z.$implicit,de=z.index,Ce=g.oxw();g.xp6(1),g.Q6J("href",P.url,g.LSH)("ngStyle",g.VKq(3,R,Ce.copyrightTextColor)),g.xp6(1),g.Oqu(de?", "+P.name:P.name)}}const Le=function(Me){return{background:Me}};let ue=(()=>{class Me{constructor(P,de,Ce){this.storeService=P,this.translateService=de,this.dialog=Ce,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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(P=>{this.language=P.lang}),this.version=h(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const P of this.footerColumns)P.logos?this.containsLogos=!0:25*P.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*P.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(P){const de=(0,j.kZ)();"reportIssue"===P&&(de.width="550px",this.dialog.open(q,de))}}return Me.\u0275fac=function(P){return new(P||Me)(g.Y36(e.d6),g.Y36(_.sK),g.Y36(w.uw))},Me.\u0275cmp=g.Xpm({type:Me,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(P,de){1&P&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,We,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,ge,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&P&&(g.Q6J("ngStyle",g.VKq(8,Le,de.bgColor)),g.xp6(2),g.Q6J("ngForOf",de.footerColumns),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,R,de.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",de.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",de.copyrightItems),g.xp6(2),g.Q6J("href",de.githubRepository,g.LSH)("ngStyle",g.VKq(12,R,de.copyrightTextColor)),g.xp6(1),g.Oqu(de.version))},directives:[I.PC,I.sg,I.O5],pipes:[G,Q,he],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}"]}),Me})()},10441:(qe,me,h)=>{"use strict";h.d(me,{W:()=>E});var e=h(5e3),c=h(69808),g=h(25245),w=h(29772),_=h(51062);function b(v,I){1&v&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&v&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let E=(()=>{class v{constructor(){this.recentIds=[]}}return v.\u0275fac=function(N){return new(N||v)},v.\u0275cmp=e.Xpm({type:v,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(N,A){1&N&&e.YNc(0,b,3,3,"mat-icon",0),2&N&&e.Q6J("ngIf",A.recentIds.indexOf(A.id)>-1)},directives:[c.O5,g.Hw,w.gM],pipes:[_.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),v})()},96214:(qe,me,h)=>{"use strict";h.d(me,{t:()=>b});var e=h(5e3),c=h(47423),g=h(29772),w=h(25245),_=h(51062);let b=(()=>{class E{constructor(){this.refresh=new e.vpe}onClickbutton(I){this.refresh.emit(I)}}return E.\u0275fac=function(I){return new(I||E)},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"button",0),e.NdJ("click",function(q){return N.onClickbutton(q)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&I&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",N.disabled),e.xp6(2),e.s9C("svgIcon",N.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[c.lW,g.gM,w.Hw],pipes:[_.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}"]}),E})()},45703:(qe,me,h)=>{"use strict";h.d(me,{L:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.resource=null,this.displayStatus=!0,this.resourceSelected=new e.vpe,this.nameFunction=v=>v.name,this.secondaryFunction=()=>null}ngOnInit(){this.resources=this.resources.sort(c.aC)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resource:"resource",resources:"resources",displayStatus:"displayStatus"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:15,consts:[[3,"entity","entities","displayStatus","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.resourceSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entity",I.resource)("entities",I.resources)("displayStatus",I.displayStatus)("searchFunction",I.nameFunction)("mainTextFunction",I.nameFunction)("secondaryTextFunction",I.secondaryFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[g.i],pipes:[w.X$],styles:[""]}),b})()},62109:(qe,me,h)=>{"use strict";h.d(me,{C:()=>Ae});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(32080),E=h(18750),v=h(77446),I=h(29772),N=h(10441),A=h(69808),q=h(25245),j=h(8223),G=h(50301),Q=h(36157),he=h(98380),F=h(51062);let be=(()=>{class ee{transform(V){if(null==V)return null;let D="";return V.forEach(function(O){D=D.concat(O.tagName)}),D}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:ee,pure:!0}),ee})();var pe=h(82895);function ye(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(D){e.CHM(V);const O=e.oxw();return D?O.masterToggle():null}),e.qZA(),e.qZA()}if(2&ee){const V=e.oxw();e.xp6(1),e.Q6J("aria-label",V.checkboxLabel())("checked",V.selection.hasValue()&&V.isAllSelected())("indeterminate",V.selection.hasValue()&&!V.isAllSelected())}}function T(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"span",27),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",28),e.NdJ("change",function(D){const i=e.CHM(V).$implicit,o=e.oxw();return D?o.itemSelectionToggle(i):null})("click",function(D){return D.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&ee){const V=Ne.$implicit,H=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",!H.disableSelect(V)),e.xp6(2),e.Q2q("data-cy","",V.name,"-checkbox"),e.Q6J("aria-label",H.checkboxLabel(V))("checked",H.selection.isSelected(V))("disabled",H.disableSelect(V))}}function R(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function L(ee,Ne){if(1&ee&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.id)}}function X(ee,Ne){1&ee&&e._UZ(0,"th",31)}function Y(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._UZ(1,"perun-web-apps-recently-viewed-icon",33),e.qZA()),2&ee){const V=Ne.$implicit,H=e.oxw();e.xp6(1),e.Q6J("recentIds",H.recentIds)("id",V.id)}}function se(ee,Ne){1&ee&&e._UZ(0,"th",31)}function Te(ee,Ne){1&ee&&(e.TgZ(0,"mat-icon",35),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&ee&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Oe(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e.YNc(1,Te,3,3,"mat-icon",34),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Q6J("ngIf",V.sourceGroupId)}}function Se(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function We(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.uIk("data-cy",V.name),e.xp6(1),e.hij(" ",V.name," ")}}function ge(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function Le(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.vo.name)}}function ue(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_ID")," "))}function Me(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.voId)}}function z(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function P(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"perun-web-apps-group-resource-status",36),e.NdJ("mouseenter",function(){return e.CHM(V),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(V);const D=e.oxw();return D.disabledRouting=D.disableRouting})("statusChange",function(){return e.CHM(V),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&ee){const V=Ne.$implicit,H=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",V.id)("groupId",H.groupId)("failureCause",V.failureCause)("status",V.status)}}function de(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function Ce(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.facility.name)}}function Pe(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_ID")," "))}function ce(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.facilityId)}}function fe(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Ze(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,V.resourceTags)," ")}}function ne(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function it(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.description)}}function Be(ee,Ne){1&ee&&e._UZ(0,"tr",37)}const ze=function(ee){return[ee]};function Ue(ee,Ne){if(1&ee&&(e._UZ(0,"tr",38),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&ee){const V=Ne.$implicit,H=e.oxw();e.ekj("cursor-pointer",!H.disableRouting)("disable-outline",H.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,ze,H.disabledRouting?null:e.xi3(1,6,V,H.routingVo)))("routerLink",H.disabledRouting?null:e.xi3(2,9,V,H.routingVo))}}function _e(ee,Ne){1&ee&&(e.TgZ(0,"perun-web-apps-alert",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ae(ee,Ne){1&ee&&(e.TgZ(0,"perun-web-apps-alert",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let Ae=(()=>{class ee{constructor(V,H){this.guiAuthResolver=V,this.tableCheckbox=H,this.resources=[],this.selection=new w.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","voId","status","facility","facilityId","tags","description"],this.pageSizeOptions=_.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.getDataForColumnFun=(D,O)=>ee.getDataForColumn(D,O,this.recentIds),this.canBeSelected=D=>!this.disableSelect(D)}set matSort(V){this.sort=V}static getDataForColumn(V,H,D){switch(H){case"id":return V.id.toString();case"vo":return V.vo.name;case"name":return V.name;case"facility":return V.facility.name;case"description":return V.description;case"recent":return D&&D.includes(V.id)?"#".repeat(D.indexOf(V.id)):V.name;case"tags":{if(!V.resourceTags)return V[H];let i="";return V.resourceTags.forEach(function(o){i=i.concat(o.tagName)}),i}case"status":return V.status;case"uuid":return V.uuid;default:return V[H]}}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(V=>"id"!==V)),this.setDataSource(),this.setAuth()}exportData(V){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),V)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(V,H)=>(0,_.Sd)(V,H,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(V,H)=>(0,_.pR)(V,H,this.getDataForColumnFun)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const V=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(V),V}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(V){return V?`${this.selection.isSelected(V)?"deselect":"select"} row ${V.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const V=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((H,D)=>H&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",V.concat([D])),!0),this.addAuth=this.selection.selected.reduce((H,D)=>H&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",V.concat([D])),!0)}itemSelectionToggle(V){this.selection.toggle(V),this.setAuth()}disableSelect(V){return this.resourcesToDisableCheckbox.has(V.id)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(b.x4),e.Y36(b.UA))},ee.\u0275cmp=e.Xpm({type:ee,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(V,H){if(1&V&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&V){let D;e.iGM(D=e.CRH())&&(H.child=D.first),e.iGM(D=e.CRH())&&(H.matSort=D.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:43,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","voId"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","facilityId"],["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(V,H){1&V&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(O){return H.exportData(O)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ye,2,3,"th",4),e.YNc(5,T,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,R,3,3,"th",7),e.YNc(8,L,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,X,1,0,"th",10),e.YNc(11,Y,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,se,1,0,"th",10),e.YNc(14,Oe,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Se,3,3,"th",7),e.YNc(17,We,2,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,ge,3,3,"th",7),e.YNc(20,Le,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,ue,3,3,"th",7),e.YNc(23,Me,2,1,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,z,3,3,"th",7),e.YNc(26,P,2,5,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,de,3,3,"th",7),e.YNc(29,Ce,2,1,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,Pe,3,3,"th",7),e.YNc(32,ce,2,1,"td",11),e.BQk(),e.ynx(33,19),e.YNc(34,fe,3,3,"th",7),e.YNc(35,Ze,3,3,"td",11),e.BQk(),e.ynx(36,20),e.YNc(37,ne,3,3,"th",7),e.YNc(38,it,2,1,"td",11),e.BQk(),e.YNc(39,Be,1,0,"tr",21),e.YNc(40,Ue,3,14,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(41,_e,3,3,"perun-web-apps-alert",23),e.YNc(42,ae,3,3,"perun-web-apps-alert",23)),2&V&&(e.Q6J("hidden",0===H.dataSource.filteredData.length||0===H.resources.length),e.xp6(1),e.Q6J("dataLength",H.dataSource.filteredData.length)("tableId",H.tableId)("pageSizeOptions",H.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",H.dataSource),e.xp6(37),e.Q6J("matHeaderRowDef",H.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",H.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===H.dataSource.filteredData.length&&0!==H.resources.length),e.xp6(1),e.Q6J("ngIf",0===H.resources.length))},directives:[E.l,g.BZ,c.YE,g.w1,g.fO,g.ge,v.oG,g.Dz,g.ev,I.gM,c.nU,N.W,A.O5,q.Hw,j.x,g.as,g.XQ,g.nj,g.Gk,G.YH,Q.rH,he.w],pipes:[F.X$,be,pe.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}"]}),ee})()},52170:(qe,me,h)=>{"use strict";h.d(me,{qG:()=>_,$x:()=>b});var e=h(5e3),c=h(51062),g=h(42377);class w{constructor(v,I){this.value=I,this.displayName=v}}var _=(()=>{return(E=_||(_={}))[E.SOURCE=0]="SOURCE",E[E.DESTINATION=1]="DESTINATION",E[E.FEDERATION=2]="FEDERATION",_;var E})();let b=(()=>{class E{constructor(I){this.translateService=I,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=N=>N.displayName,this.shortNameFunction=()=>null,this.searchFunction=N=>N.displayName}static getDefinition(I){const N=I.namespace.split(":");return null===N[4]?"null":N[4]}ngOnInit(){this.type===_.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(I=>{const N=new w(I,"");this.items.push(N),this.item=N});for(const I of this.attributes){const N=new w(I.friendlyName+" ("+I.entity+" / "+E.getDefinition(I)+")",I.namespace+":"+I.friendlyName);N.value===this.selectedAttribute&&(this.item=N),("user"===I.entity.toLowerCase()||"member"===I.entity.toLowerCase()||"vo"===I.entity.toLowerCase()&&this.type===_.SOURCE||"group"===I.entity.toLowerCase()&&this.asGroup&&this.type===_.SOURCE)&&this.items.push(N)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(I=>{this.items.push(new w(I,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(N=>{this.items.push(new w(N,"custom")),this.items.push(new w("Display name","displayName")),this.items.push(new w("Common name","cn")),this.items.push(new w("Mail","mail")),this.items.push(new w("Organization","o")),this.items.push(new w("Level of Assurance (LoA)","loa")),this.items.push(new w("First name","givenName")),this.items.push(new w("Surname","sn")),this.items.push(new w("EPPN","eppn")),this.items.push(new w("IdP Category","md_entityCategory")),this.items.push(new w("IdP Affiliation","affiliation")),this.items.push(new w("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new w("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new w("schacHomeOrganization","schacHomeOrganization")),this.items.push(new w("Login","uid")),this.items.push(new w("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const I of this.items)if(I.value===this.selectedAttribute)return void(this.item=I);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(I){I.sort((N,A)=>""===N.value?-1:""===A.value?1:N.displayName.localeCompare(A.displayName))}}return E.\u0275fac=function(I){return new(I||E)(e.Y36(c.sK))},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(q){return N.itemSelected.emit(q)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&I&&e.Q6J("entities",N.items)("entity",N.item)("searchFunction",N.searchFunction)("mainTextFunction",N.nameFunction)("secondaryTextFunction",N.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:[c.X$],styles:[""]}),E})()},30540:(qe,me,h)=>{"use strict";h.d(me,{J:()=>w});var e=h(5e3),c=h(42377),g=h(51062);let w=(()=>{class _{constructor(){this.service=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.serviceSelected=new e.vpe,this.nameFunction=E=>E.name,this.secondaryFunction=()=>"",this.searchFunction=E=>E.name}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["perun-web-apps-service-search-select"]],inputs:{service:"service",services:"services",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{serviceSelected:"serviceSelected"},decls:4,vars:17,consts:[[3,"entity","entities","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(E,v){1&E&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(N){return v.serviceSelected.emit(N)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&E&&e.Q6J("entity",v.service)("entities",v.services)("multiple",v.multiple)("disableAutoSelect",v.disableAutoSelect)("searchFunction",v.searchFunction)("mainTextFunction",v.nameFunction)("secondaryTextFunction",v.secondaryFunction)("selectPlaceholder",e.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.SELECT_SERVICE"))("findPlaceholder",e.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.FIND_SERVICE"))("noEntriesText",e.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.NO_SERVICE_FOUND"))("theme",v.theme)},directives:[c.i],pipes:[g.X$],styles:[""]}),_})()},80275:(qe,me,h)=>{"use strict";h.d(me,{j:()=>Me});var e=h(20449),c=h(84847),g=h(32075),w=h(32080),_=h(9244),b=h(5e3),E=h(36157),v=h(18750),I=h(29772),N=h(77446),A=h(50301),q=h(69808),j=h(98380),G=h(51062),Q=h(34447);let he=(()=>{class z{transform(de){var Ce;const Pe=de.find(ce=>"mail"===ce.friendlyName);return null!==(Ce=null==Pe?void 0:Pe.value)&&void 0!==Ce?Ce:"N/A"}}return z.\u0275fac=function(de){return new(de||z)},z.\u0275pipe=b.Yjl({name:"getMailFromAttributes",type:z,pure:!0}),z})();function F(z,P){1&z&&b._UZ(0,"th",18)}function be(z,P){if(1&z){const de=b.EpF();b.TgZ(0,"td",19),b.TgZ(1,"span",20),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.TgZ(4,"mat-checkbox",21),b.NdJ("change",function(Pe){const fe=b.CHM(de).$implicit,Ze=b.oxw();return Pe?Ze.selection.toggle(fe):null})("click",function(Pe){return Pe.stopPropagation()}),b.qZA(),b.qZA(),b.qZA()}if(2&z){const de=P.$implicit,Ce=b.oxw();b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,b.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",!de.userExtSource.persistent),b.xp6(3),b.Q6J("aria-label",Ce.checkboxLabel(de))("checked",Ce.selection.isSelected(de))("disabled",de.userExtSource.persistent)}}function pe(z,P){1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function ye(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.id," ")}}function T(z,P){1&z&&(b.TgZ(0,"th",24),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function R(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.ALo(2,"getMailFromAttributes"),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,1,de.attributes)," ")}}function L(z,P){if(1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z){const de=b.oxw();b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,de.extSourceNameHeader?de.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function X(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.extSource.name," ")}}function Y(z,P){if(1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z){const de=b.oxw();b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,de.loginHeader?de.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function se(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.login," ")}}function Te(z,P){1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Oe(z,P){if(1&z&&(b.TgZ(0,"td",25),b._uU(1),b.ALo(2,"date"),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",b.xi3(2,1,de.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Se(z,P){1&z&&b._UZ(0,"tr",26)}const We=function(z,P){return["/admin","users",z,"identities",P]};function ge(z,P){if(1&z&&b._UZ(0,"tr",27),2&z){const de=P.$implicit,Ce=b.oxw();b.ekj("cursor-pointer",!Ce.disableRouting)("disable-outline",Ce.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Ce.disableRouting?null:b.WLB(6,We,Ce.userId,de.userExtSource.id))("routerLink",Ce.disableRouting?null:b.WLB(9,We,Ce.userId,de.userExtSource.id))}}function Le(z,P){1&z&&(b.TgZ(0,"perun-web-apps-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ue(z,P){1&z&&(b.TgZ(0,"perun-web-apps-alert",28),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Me=(()=>{class z{constructor(de,Ce){this.route=de,this.authResolver=Ce,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=_.f7}set matSort(de){this.sort=de,this.setDataSource()}static getDataForColumn(de,Ce){switch(Ce){case"id":return de.userExtSource.id.toString();case"mail":{const Pe=de.attributes.find(ce=>"mail"===ce.friendlyName);return Pe?Pe.value:"N/A"}case"extSourceName":return de.userExtSource.extSource.name;case"login":return de.userExtSource.login;case"lastAccess":return de.userExtSource.lastAccess.split(".")[0];default:return de[Ce]}}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(de=>{this.userId=Number(de.userId)}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(de=>"id"!==de)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}exportData(de){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,z.getDataForColumn),de)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(de,Ce)=>(0,_.Sd)(de,Ce,this.displayedColumns,z.getDataForColumn),this.dataSource.sortData=(de,Ce)=>(0,_.pR)(de,Ce,z.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(de){return`${this.selection.isSelected(de.userExtSource)?"deselect":"select"} row ${de.userExtSource.id+1}`}}return z.\u0275fac=function(de){return new(de||z)(b.Y36(E.gz),b.Y36(w.x4))},z.\u0275cmp=b.Xpm({type:z,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(de,Ce){if(1&de&&(b.Gf(_.l9,7),b.Gf(c.YE,7)),2&de){let Pe;b.iGM(Pe=b.CRH())&&(Ce.child=Pe.first),b.iGM(Pe=b.CRH())&&(Ce.matSort=Pe.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[b.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(de,Ce){1&de&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(ce){return Ce.exportData(ce)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,F,1,0,"th",4),b.YNc(5,be,5,10,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,pe,4,5,"th",7),b.YNc(8,ye,2,1,"td",8),b.BQk(),b.ynx(9,9),b.YNc(10,T,4,5,"th",10),b.YNc(11,R,3,3,"td",8),b.BQk(),b.ynx(12,11),b.YNc(13,L,4,5,"th",7),b.YNc(14,X,2,1,"td",8),b.BQk(),b.ynx(15,12),b.YNc(16,Y,4,5,"th",7),b.YNc(17,se,2,1,"td",8),b.BQk(),b.ynx(18,13),b.YNc(19,Te,4,5,"th",7),b.YNc(20,Oe,3,4,"td",14),b.BQk(),b.YNc(21,Se,1,0,"tr",15),b.YNc(22,ge,1,12,"tr",16),b.qZA(),b.qZA(),b.qZA(),b.YNc(23,Le,3,3,"perun-web-apps-alert",17),b.YNc(24,ue,4,5,"perun-web-apps-alert",17)),2&de&&(b.Q6J("hidden",0===Ce.userExtSources.length||0===Ce.dataSource.filteredData.length),b.xp6(1),b.Q6J("tableId",Ce.tableId)("dataLength",Ce.dataSource.filteredData.length)("pageSizeOptions",Ce.pageSizeOptions),b.xp6(1),b.Q6J("dataSource",Ce.dataSource),b.xp6(19),b.Q6J("matHeaderRowDef",Ce.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ce.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Ce.dataSource.filteredData.length&&0!==Ce.userExtSources.length),b.xp6(1),b.Q6J("ngIf",0===Ce.userExtSources.length))},directives:[v.l,g.BZ,c.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,I.gM,N.oG,c.nU,g.as,g.XQ,g.nj,g.Gk,A.YH,E.rH,q.O5,j.w],pipes:[G.X$,Q.a,he,q.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}"]}),z})()},74250:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=c.bD}ngOnInit(){this.users=this.users.sort(c.fx)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,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(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.userSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entities",I.users)("disableAutoSelect",I.disableAutoSelect)("searchFunction",I.userFullNameFunction)("mainTextFunction",I.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:[w.X$],styles:[""]}),b})()},88561:(qe,me,h)=>{"use strict";h.d(me,{M:()=>Be});var e=h(20449),c=h(9244),g=h(84847),w=h(32080),_=h(56451),b=h(18505),E=h(5e3),v=h(10036),I=h(18750),N=h(69808),A=h(20773),q=h(32075),j=h(77446),G=h(25245),Q=h(29772),he=h(50301),F=h(98380),be=h(51062),pe=h(31359),ye=h(9954),T=h(16119),R=h(7598);function L(ze,Ue){1&ze&&(E.TgZ(0,"div",20),E._UZ(1,"mat-spinner",21),E.qZA())}function X(ze,Ue){if(1&ze){const _e=E.EpF();E.TgZ(0,"mat-checkbox",24),E.NdJ("change",function(Ae){E.CHM(_e);const ee=E.oxw(2);return Ae?ee.masterToggle():null}),E.qZA()}if(2&ze){const _e=E.oxw(2);E.Q6J("aria-label",_e.checkboxLabel())("checked",_e.selection.hasValue()&&_e.isAllSelected())("indeterminate",_e.selection.hasValue()&&!_e.isAllSelected())}}function Y(ze,Ue){if(1&ze&&(E.TgZ(0,"th",22),E.YNc(1,X,1,3,"mat-checkbox",23),E.qZA()),2&ze){const _e=E.oxw();E.xp6(1),E.Q6J("ngIf",_e.selection.isMultipleSelection())}}function se(ze,Ue){if(1&ze){const _e=E.EpF();E.TgZ(0,"td",25),E.TgZ(1,"mat-checkbox",26),E.NdJ("change",function(Ae){const Ne=E.CHM(_e).$implicit,V=E.oxw();return Ae?V.selection.toggle(Ne):null})("click",function(Ae){return Ae.stopPropagation()}),E.qZA(),E.qZA()}if(2&ze){const _e=Ue.$implicit,ae=E.oxw();E.xp6(1),E.Q6J("aria-label",ae.checkboxLabel(_e))("checked",ae.selection.isSelected(_e))}}function Te(ze,Ue){1&ze&&E._UZ(0,"th",27)}function Oe(ze,Ue){1&ze&&(E.TgZ(0,"mat-icon",31),E.ALo(1,"translate"),E._uU(2," account_circle "),E.qZA()),2&ze&&E.s9C("matTooltip",E.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Se(ze,Ue){if(1&ze&&(E._UZ(0,"mat-icon",32),E.ALo(1,"translate")),2&ze){const _e=E.oxw(2);E.s9C("matTooltip",E.lcZ(1,2,"MANAGERS_LIST.SERVICE")),E.Q6J("svgIcon",_e.svgIcon)}}function We(ze,Ue){if(1&ze&&(E.TgZ(0,"td",28),E.YNc(1,Oe,3,3,"mat-icon",29),E.YNc(2,Se,2,4,"mat-icon",30),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Q6J("ngIf",!_e.serviceUser),E.xp6(1),E.Q6J("ngIf",_e.serviceUser)}}function ge(ze,Ue){1&ze&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function Le(ze,Ue){if(1&ze&&(E.TgZ(0,"td",28),E._uU(1),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.hij(" ",_e.id," ")}}function ue(ze,Ue){1&ze&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Me(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E.ALo(1,"lowercase"),E._uU(2),E.ALo(3,"userFullName"),E.qZA()),2&ze){const _e=Ue.$implicit;E.Q2q("data-cy","",E.lcZ(1,2,_e.firstName),"-td"),E.xp6(2),E.hij(" ",E.lcZ(3,4,_e)," ")}}function z(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function P(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function de(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Ce(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userEmail"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function Pe(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function ce(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userLogins"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function fe(ze,Ue){1&ze&&E._UZ(0,"tr",35)}const Ze=function(ze){return["/admin/users",ze]};function ne(ze,Ue){if(1&ze&&E._UZ(0,"tr",36),2&ze){const _e=Ue.$implicit,ae=E.oxw();E.ekj("cursor-pointer",!ae.disableRouting),E.Q6J("perunWebAppsForceRouterLink",ae.disableRouting?null:E.VKq(4,Ze,_e.id))("perunWebAppsMiddleClickRouterLink",ae.disableRouting?null:E.VKq(6,Ze,_e.id))}}function it(ze,Ue){1&ze&&(E.TgZ(0,"perun-web-apps-alert",37),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.Q6J("alert_type","warn"),E.xp6(1),E.hij(" ",E.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let Be=(()=>{class ze{constructor(_e,ae,Ae,ee){this.authResolver=_e,this.tableCheckbox=ae,this.tableConfigService=Ae,this.dynamicPaginatingService=ee,this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.svgIcon="perun-service-identity-black",this.pageSizeOptions=c.f7}static getExportDataForColumn(_e,ae){switch(ae){case"id":return _e.id.toString();case"user":return _e.serviceUser?"service-user":"user";case"name":return _e?(0,c.bD)(_e):"";case"organization":return(0,c.OV)(_e);case"email":return(0,c.kN)(_e);case"logins":return(0,c.lt)(_e);default:return""}}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(_e=>"id"!==_e)),this.dataSource=new w.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(_e=>this.selection.select(_e))}isAllSelected(){return this.selection.selected.length===this.dataSource.getData().length}checkboxLabel(_e){return _e?`${this.selection.isSelected(_e)?"deselect":"select"} row ${_e.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(_e){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,ze.getExportDataForColumn),_e)}}return ze.\u0275fac=function(_e){return new(_e||ze)(E.Y36(w.x4),E.Y36(w.UA),E.Y36(v.dB),E.Y36(w.ly))},ze.\u0275cmp=E.Xpm({type:ze,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(_e,ae){if(1&_e&&(E.Gf(c.l9,7),E.Gf(g.YE,5)),2&_e){let Ae;E.iGM(Ae=E.CRH())&&(ae.child=Ae.first),E.iGM(Ae=E.CRH())&&(ae.sort=Ae.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:[E.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(_e,ae){1&_e&&(E.TgZ(0,"div",0),E.ALo(1,"async"),E.TgZ(2,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(ee){return ae.exportData(ee)}),E.YNc(3,L,2,0,"div",2),E.ALo(4,"async"),E.TgZ(5,"table",3),E.ynx(6,4),E.YNc(7,Y,2,1,"th",5),E.YNc(8,se,2,2,"td",6),E.BQk(),E.ynx(9,7),E.YNc(10,Te,1,0,"th",8),E.YNc(11,We,3,2,"td",9),E.BQk(),E.ynx(12,10),E.YNc(13,ge,3,3,"th",11),E.YNc(14,Le,2,1,"td",9),E.BQk(),E.ynx(15,12),E.YNc(16,ue,3,3,"th",11),E.YNc(17,Me,4,6,"td",13),E.BQk(),E.ynx(18,14),E.YNc(19,z,3,3,"th",8),E.YNc(20,P,3,3,"td",13),E.BQk(),E.ynx(21,15),E.YNc(22,de,3,3,"th",8),E.YNc(23,Ce,3,3,"td",13),E.BQk(),E.ynx(24,16),E.YNc(25,Pe,3,3,"th",8),E.YNc(26,ce,3,3,"td",13),E.BQk(),E.YNc(27,fe,1,0,"tr",17),E.YNc(28,ne,1,8,"tr",18),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,it,3,4,"perun-web-apps-alert",19),E.ALo(30,"async")),2&_e&&(E.Q6J("hidden",0===ae.dataSource.allObjectCount&&!1===E.lcZ(1,9,ae.dataSource.loading$)),E.xp6(2),E.Q6J("tableId",ae.tableId)("dataLength",ae.dataSource.allObjectCount)("pageSizeOptions",ae.pageSizeOptions),E.xp6(1),E.Q6J("ngIf",E.lcZ(4,11,ae.dataSource.loading$)),E.xp6(2),E.Q6J("dataSource",ae.dataSource),E.xp6(22),E.Q6J("matHeaderRowDef",ae.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",ae.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===ae.dataSource.allObjectCount&&!1===E.lcZ(30,13,ae.dataSource.loading$)))},directives:[I.l,N.O5,A.Ou,q.BZ,g.YE,q.w1,q.fO,q.ge,j.oG,q.Dz,q.ev,G.Hw,Q.gM,g.nU,q.as,q.XQ,q.nj,q.Gk,he.Kd,he.YH,F.w],pipes:[N.Ov,be.X$,N.i8,pe.d,ye.Z,T.S,R.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ze})()},62707:(qe,me,h)=>{"use strict";h.d(me,{M:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.voSelected=new e.vpe,this.nameFunction=v=>v.name,this.shortNameFunction=v=>v.shortName,this.searchFunction=v=>v.name+v.shortName+String(v.id)}ngOnChanges(){this.vos.sort(c.aC),this.vo||(this.vo=this.vos[0])}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},features:[e.TTD],decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.voSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entity",I.vo)("entities",I.vos)("searchFunction",I.searchFunction)("mainTextFunction",I.nameFunction)("secondaryTextFunction",I.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:[g.i],pipes:[w.X$],styles:[""]}),b})()},87831:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>Le});var e=h(84847),c=h(32075),g=h(9244),w=h(32080),_=h(5e3),b=h(18750),E=h(77446),v=h(10441),I=h(69808),N=h(25245),A=h(50301),q=h(98380),j=h(51062);function G(ue,Me){1&ue&&_._UZ(0,"th",19)}function Q(ue,Me){if(1&ue){const z=_.EpF();_.TgZ(0,"td",20),_.TgZ(1,"mat-checkbox",21),_.NdJ("change",function(de){const Pe=_.CHM(z).$implicit,ce=_.oxw();return de?ce.selection.toggle(Pe):null})("click",function(de){return de.stopPropagation()}),_.qZA(),_.qZA()}if(2&ue){const z=Me.$implicit,P=_.oxw();_.xp6(1),_.Q6J("aria-label",P.checkboxLabel(z))("checked",P.selection.isSelected(z))}}function he(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function F(ue,Me){if(1&ue&&(_.TgZ(0,"td",23),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P;_.xp6(1),_.Oqu(null!==(P=z.id)&&void 0!==P?P:z.vo.id)}}function be(ue,Me){1&ue&&_._UZ(0,"th",24)}function pe(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._UZ(1,"perun-web-apps-recently-viewed-icon",26),_.qZA()),2&ue){const z=Me.$implicit,P=_.oxw();let de;_.xp6(1),_.Q6J("recentIds",P.recentIds)("id",null!==(de=z.id)&&void 0!==de?de:z.vo.id)}}function ye(ue,Me){1&ue&&_._UZ(0,"th",24)}function T(ue,Me){1&ue&&_._UZ(0,"mat-icon",28),2&ue&&_.Q6J("svgIcon","perun-hierarchical-vo")}function R(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_.YNc(1,T,1,1,"mat-icon",27),_.qZA()),2&ue){const z=Me.$implicit;_.xp6(1),_.Q6J("ngIf",0!==(null==z||null==z.memberVos?null:z.memberVos.length))}}function L(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function X(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P,de;_.uIk("data-cy",null!==(P=z.shortName)&&void 0!==P?P:z.vo.shortName),_.xp6(1),_.hij(" ",null!==(de=z.shortName)&&void 0!==de?de:z.vo.shortName," ")}}function Y(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function se(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P;_.xp6(1),_.Oqu(null!==(P=z.name)&&void 0!==P?P:z.vo.name)}}function Te(ue,Me){1&ue&&_._UZ(0,"tr",29)}const Oe=function(ue){return["/organizations",ue]};function Se(ue,Me){if(1&ue&&_._UZ(0,"tr",30),2&ue){const z=Me.$implicit,P=_.oxw();let de,Ce;_.ekj("disable-outline",P.disableRouting)("cursor-pointer",!P.disableRouting),_.Q6J("perunWebAppsMiddleClickRouterLink",P.disableRouting?null:_.VKq(6,Oe,null!==(de=z.id)&&void 0!==de?de:z.vo.id))("perunWebAppsForceRouterLink",P.disableRouting?null:_.VKq(8,Oe,null!==(Ce=z.id)&&void 0!==Ce?Ce:z.vo.id))}}function We(ue,Me){1&ue&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ge(ue,Me){1&ue&&(_.TgZ(0,"perun-web-apps-alert",32),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Le=(()=>{class ue{constructor(z){this.authResolver=z,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7,this.getDataForColumnFun=(P,de)=>ue.getDataForColumn(P,de,this.recentIds)}set matSort(z){this.sort=z}static getDataForColumn(z,P,de){switch(ue.isEnrichedVo(z)&&(z=z.vo),P){case"id":return z.id.toString();case"shortName":return z.shortName;case"name":return z.name;case"recent":return de&&de.includes(z.id)?"#".repeat(de.indexOf(z.id)):z.name;default:return z[P]}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(z=>"id"!==z)),this.setDataSource()}exportData(z){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),z)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(z,P)=>(0,g.Sd)(z,P,this.displayedColumns,this.getDataForColumnFun),this.dataSource.sortData=(z,P)=>(0,g.pR)(z,P,this.getDataForColumnFun)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(z){return`${this.selection.isSelected(z)?"deselect":"select"} row ${z.id+1}`}}return ue.isEnrichedVo=Me=>void 0!==Me.vo,ue.\u0275fac=function(z){return new(z||ue)(_.Y36(w.x4))},ue.\u0275cmp=_.Xpm({type:ue,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(z,P){if(1&z&&(_.Gf(g.l9,7),_.Gf(e.YE,7)),2&z){let de;_.iGM(de=_.CRH())&&(P.child=de.first),_.iGM(de=_.CRH())&&(P.matSort=de.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[_.TTD],decls:25,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","hierarchy"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","cursor-pointer","perunWebAppsMiddleClickRouterLink","perunWebAppsForceRouterLink",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"],[3,"svgIcon",4,"ngIf"],[3,"svgIcon"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","perunWebAppsForceRouterLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(z,P){1&z&&(_.TgZ(0,"div",0),_.TgZ(1,"perun-web-apps-table-wrapper",1),_.NdJ("exportData",function(Ce){return P.exportData(Ce)}),_.TgZ(2,"table",2),_.ynx(3,3),_.YNc(4,G,1,0,"th",4),_.YNc(5,Q,2,2,"td",5),_.BQk(),_.ynx(6,6),_.YNc(7,he,3,3,"th",7),_.YNc(8,F,2,1,"td",8),_.BQk(),_.ynx(9,9),_.YNc(10,be,1,0,"th",10),_.YNc(11,pe,2,2,"td",11),_.BQk(),_.ynx(12,12),_.YNc(13,ye,1,0,"th",10),_.YNc(14,R,2,1,"td",11),_.BQk(),_.ynx(15,13),_.YNc(16,L,3,3,"th",7),_.YNc(17,X,2,2,"td",11),_.BQk(),_.ynx(18,14),_.YNc(19,Y,3,3,"th",7),_.YNc(20,se,2,1,"td",11),_.BQk(),_.YNc(21,Te,1,0,"tr",15),_.YNc(22,Se,1,10,"tr",16),_.qZA(),_.qZA(),_.qZA(),_.YNc(23,We,3,3,"perun-web-apps-alert",17),_.YNc(24,ge,3,3,"perun-web-apps-alert",18)),2&z&&(_.Q6J("hidden",0===P.dataSource.filteredData.length||0===P.vos.length),_.xp6(1),_.Q6J("dataLength",P.dataSource.filteredData.length)("tableId",P.tableId)("pageSizeOptions",P.pageSizeOptions),_.xp6(1),_.Q6J("dataSource",P.dataSource),_.xp6(19),_.Q6J("matHeaderRowDef",P.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",P.displayedColumns),_.xp6(1),_.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.vos.length),_.xp6(1),_.Q6J("ngIf",0===P.vos.length))},directives:[b.l,c.BZ,e.YE,c.w1,c.fO,c.ge,c.Dz,c.ev,E.oG,e.nU,v.W,I.O5,N.Hw,c.as,c.XQ,c.nj,c.Gk,A.YH,A.Kd,q.w],pipes:[j.X$],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}"]}),ue})()},16074:(qe,me,h)=>{"use strict";h.d(me,{GI:()=>kt,Wr:()=>Yt,r2:()=>bt,gr:()=>je,u3:()=>si,Qu:()=>Kt,pf:()=>ue,xF:()=>Hi,hd:()=>Wi,kZ:()=>yi,wA:()=>jt,rd:()=>ne,Eg:()=>Ze,Bp:()=>Ae,qD:()=>at,jd:()=>vt,FM:()=>O,jD:()=>R,Lc:()=>r,mk:()=>d,Ts:()=>lt});var e=h(69808),c=h(51062),g=h(32075),w=h(48966),_=h(47423),b=h(67322),E=h(93075),v=h(98833),I=h(20773),N=h(79814),A=h(86856),q=h(69287),j=h(25245),G=h(19516),Q=h(63189),he=h(36157),F=h(90149),be=h(74107),pe=h(28499),ye=h(6397),T=h(5e3);let R=(()=>{class Fe{}return Fe.\u0275fac=function(Je){return new(Je||Fe)},Fe.\u0275mod=T.oAB({type:Fe}),Fe.\u0275inj=T.cJS({imports:[[e.ez,c.aw,g.p0,w.Is,_.ot,b.lN,E.u5,v.c,I.Cq,N.Fk,A.FA,E.UX,q.Iq,j.Ps,G.d4,Q.r,he.Bz,F.dp,be.LD,pe.E3,ye.C]]}),Fe})();var L=h(32105),X=h(32080),Y=h(90508),se=h(20551);function Te(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",6)}function Oe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-option",17),T._uU(1),T.ALo(2,"memberStatus"),T.qZA()),2&Fe){const Je=Bt.$implicit;T.Q6J("value",Je),T.xp6(1),T.Oqu(T.lcZ(2,2,Je))}}function Se(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-form-field",14),T.TgZ(1,"mat-label"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-select",15),T.NdJ("selectionChange",function(Gt){return T.CHM(Je),T.oxw(3).changeStatus(Gt)}),T.YNc(5,Oe,3,4,"mat-option",16),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw(3);T.xp6(2),T.Oqu(T.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),T.xp6(3),T.Q6J("ngForOf",Je.allStatuses)}}function We(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T._uU(1),T.ALo(2,"translate"),T.YNc(3,Se,6,4,"mat-form-field",13),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),T.xp6(2),T.Q6J("ngIf",!Je.loading)}}function ge(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"memberStatus"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.AsE(" ",T.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",T.lcZ(3,4,Je.allStatuses[0])," ")}}function Le(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",7),T.TgZ(1,"div",8),T._uU(2),T.ALo(3,"translate"),T.ALo(4,"memberStatus"),T.qZA(),T.TgZ(5,"div",9),T._uU(6),T.qZA(),T.YNc(7,We,4,4,"div",10),T.YNc(8,ge,4,6,"div",10),T.TgZ(9,"div",11),T._UZ(10,"i",12),T.qZA(),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.AsE(" ",T.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",T.lcZ(4,8,Je.actualStatus)," "),T.xp6(4),T.Oqu(Je.description),T.xp6(1),T.Q6J("ngIf",Je.allStatuses.length>1),T.xp6(1),T.Q6J("ngIf",1===Je.allStatuses.length),T.xp6(2),T.Q6J("innerHTML",Je.changeMessage,T.oJD)}}let ue=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.memberManager=Gt,this.groupsManager=li,this.notificatorService=vi,this.translate=Vi,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(Je=>Je!==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(Je){this.selectedStatus=Je.value,this.submitButtonText=("VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus)&&!this.data.disableChangeExpiration?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(wt=>{this.notificatorService.showSuccess(wt),this.dialogRef.close(Je)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(wt=>{this.notificatorService.showSuccess(wt),this.dialogRef.close(Je)})},()=>this.loading=!1)}changeStatusMessage(Je,wt){if("VALID"===Je)switch(wt){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(wt){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=""}}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.uq),T.Y36(L.ff),T.Y36(X.V6),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Te,1,0,"mat-spinner",1),T.YNc(5,Le,11,10,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(11),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),T.xp6(2),T.Q6J("disabled",wt.loading||!wt.selectedStatus),T.xp6(1),T.hij(" ",wt.submitButtonText," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,b.hX,be.gD,e.sg,Y.ey,w.H8,_.lW],pipes:[c.X$,se.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),Fe})();function Me(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function z(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function P(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function de(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Ce(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",8)}function Pe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-form-field"),T._UZ(1,"input",13),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.MGl("placeholder","",T.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),T.Q6J("value",Je.shortName)}}function ce(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-form-field",14),T._UZ(1,"textarea",15),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.MGl("placeholder","",T.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),T.Q6J("formControl",Je.descriptionCtrl)}}function fe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",9),T.YNc(1,Pe,3,4,"mat-form-field",10),T.TgZ(2,"mat-form-field"),T._UZ(3,"input",11),T.ALo(4,"translate"),T.TgZ(5,"mat-error"),T._uU(6),T.ALo(7,"translate"),T.qZA(),T.qZA(),T.YNc(8,ce,3,4,"mat-form-field",12),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(1),T.Q6J("ngIf",2===Je.dialogType),T.xp6(2),T.MGl("placeholder","",T.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),T.Q6J("formControl",Je.nameCtrl),T.xp6(3),T.hij(" ",Je.invalidNameMessage.length?Je.invalidNameMessage:T.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),T.xp6(2),T.Q6J("ngIf",2!==Je.dialogType)}}var Ze=(()=>{return(Fe=Ze||(Ze={}))[Fe.FACILITY=0]="FACILITY",Fe[Fe.RESOURCE=1]="RESOURCE",Fe[Fe.VO=2]="VO",Fe[Fe.GROUP=3]="GROUP",Ze;var Fe})();let ne=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui,bn,Jn){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.translateService=li,this.facilitiesManager=vi,this.resourcesManager=Vi,this.groupsManager=Ui,this.vosManager=bn,this.store=Jn,this.invalidNameMessage=this.data.dialogType===Ze.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===Ze.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case Ze.FACILITY:this.nameCtrl=new E.NI(this.data.facility.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI(this.data.facility.description);break;case Ze.RESOURCE:this.nameCtrl=new E.NI(this.data.resource.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new E.NI(this.data.resource.description);break;case Ze.GROUP:{const Je=this.data.group.name.split(":");this.nameCtrl=new E.NI(Je[Je.length-1],[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.pattern(this.secondaryRegex),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI(this.data.group.description);break}case Ze.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new E.NI(this.data.vo.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case Ze.FACILITY:this.editFacility();break;case Ze.RESOURCE:this.editResource();break;case Ze.GROUP:this.editGroup();break;case Ze.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(Je=>{this.notificator.showSuccess(Je),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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(Je=>{const wt=Je;wt.name=this.nameCtrl.value,wt.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:wt}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(c.sK),T.Y36(L.IQ),T.Y36(L.xk),T.Y36(L.ff),T.Y36(L.YF),T.Y36(X.d6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.YNc(1,Me,3,3,"h1",0),T.YNc(2,z,3,3,"h1",0),T.YNc(3,P,3,3,"h1",0),T.YNc(4,de,3,3,"h1",0),T.TgZ(5,"div",1),T.YNc(6,Ce,1,0,"mat-spinner",2),T.YNc(7,fe,9,9,"div",3),T.qZA(),T.TgZ(8,"div",4),T.TgZ(9,"button",5),T.NdJ("click",function(){return wt.cancel()}),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.TgZ(12,"button",6),T.NdJ("click",function(){return wt.submit()}),T._uU(13),T.ALo(14,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(1),T.Q6J("ngIf",0===wt.dialogType),T.xp6(1),T.Q6J("ngIf",1===wt.dialogType),T.xp6(1),T.Q6J("ngIf",2===wt.dialogType),T.xp6(1),T.Q6J("ngIf",3===wt.dialogType),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("disabled",wt.loading||wt.nameCtrl.invalid||wt.descriptionCtrl.invalid),T.xp6(1),T.hij(" ",T.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[e.O5,w.uh,w.xY,I.Ou,b.KE,v.Nt,E.Fj,E.Q7,E.JJ,E.oH,b.TO,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var it=h(64080),Be=h(9244);function ze(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",8)}function Ue(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",9),T.TgZ(1,"span"),T._uU(2),T.ALo(3,"translate"),T.TgZ(4,"b"),T._uU(5),T.qZA(),T.qZA(),T._UZ(6,"br"),T.TgZ(7,"span"),T._uU(8),T.ALo(9,"translate"),T.TgZ(10,"b"),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA(),T._UZ(13,"br"),T.TgZ(14,"span"),T._uU(15),T.ALo(16,"translate"),T.TgZ(17,"b"),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.qZA(),T._UZ(20,"br"),T.TgZ(21,"span"),T._uU(22),T.ALo(23,"translate"),T.TgZ(24,"b"),T._uU(25),T.ALo(26,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),T.xp6(3),T.Oqu(Je.group.name),T.xp6(3),T.hij(" ",T.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),T.xp6(3),T.Oqu(T.lcZ(12,12,Je.getSynchronizationType())),T.xp6(4),T.hij(" ",T.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),T.xp6(3),T.Oqu(T.lcZ(19,16,Je.getLastSyncState())),T.xp6(4),T.hij(" ",T.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),T.xp6(3),T.Oqu(T.lcZ(26,20,Je.getLastSyncTime()))}}function _e(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",10),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onForceStructure()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function ae(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",10),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onForce()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Ae=(()=>{class Fe{constructor(Je,wt,Gt,li){this.dialogRef=Je,this.data=wt,this.groupService=Gt,this.notificator=li,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,[it.r.GROUP_SYNC_ENABLED,it.r.GROUP_LAST_SYNC_STATE,it.r.GROUP_LAST_SYNC_TIMESTAMP,it.r.GROUP_STRUCTURE_SYNC_ENABLED,it.r.GROUP_LAST_STRUCTURE_SYNC_STATE,it.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Je=>{this.group=Je,this.syncEnabled=(0,Be.IL)(this.group.attributes,it.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,Be.IL)(this.group.attributes,it.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,Be.IL)(this.group.attributes,it.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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.ff),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,ze,1,0,"mat-spinner",1),T.YNc(5,Ue,27,22,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"div",4),T.TgZ(8,"button",5),T.NdJ("click",function(){return wt.refresh()}),T.TgZ(9,"mat-icon"),T._uU(10,"refresh"),T.qZA(),T.qZA(),T.YNc(11,_e,3,4,"button",6),T.YNc(12,ae,3,4,"button",6),T.TgZ(13,"button",7),T.NdJ("click",function(){return wt.onCancel()}),T._uU(14),T.ALo(15,"translate"),T.qZA(),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(6),T.Q6J("ngIf",wt.isStructured()),T.xp6(1),T.Q6J("ngIf",wt.isBasic()||wt.isStructured()),T.xp6(2),T.hij(" ",T.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,w.H8,_.lW,j.Hw],pipes:[c.X$],styles:[""]}),Fe})();function ee(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function Ne(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function V(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function H(Fe,Bt){if(1&Fe){const Je=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,"input",9,10),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw().subject=Gt}),T.qZA(),T.YNc(7,Ne,3,3,"mat-error",11),T.qZA(),T.TgZ(8,"mat-form-field"),T.TgZ(9,"mat-label"),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.TgZ(12,"textarea",12,13),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw().message=Gt}),T.ALo(14,"translate"),T._uU(15," "),T.qZA(),T.YNc(16,V,3,3,"mat-error",11),T.qZA(),T.qZA()}if(2&Fe){const Je=T.MAs(6),wt=T.MAs(13),Gt=T.oxw();T.xp6(3),T.Oqu(T.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),T.xp6(2),T.Q6J("ngModel",Gt.subject),T.xp6(2),T.Q6J("ngIf",Je.invalid),T.xp6(3),T.Oqu(T.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),T.xp6(2),T.s9C("placeholder",T.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),T.Q6J("ngModel",Gt.message),T.xp6(4),T.Q6J("ngIf",wt.invalid)}}let D=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.translate=wt,this.notificator=Gt,this.rtMessages=li,this.data=vi,this.storeService=Vi,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var Je,wt;(null===(wt=null===(Je=this.data)||void 0===Je?void 0:Je.error)||void 0===wt?void 0:wt.errorId)&&(this.subject="".concat(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(Je=>{this.dialogRef.afterClosed().subscribe(()=>{const wt="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),Je.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(wt)}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const Je=this.storeService.get("config");let wt=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(wt=wt.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),wt=wt.concat(this.data.error.message,"\n","Perun instance: ",Je,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const Gt=/"password":".+?"/;let li=JSON.stringify(this.data.error.payload);li=li.replace(Gt,'"password":"####"'),wt=wt.concat("Payload:\n"+li+"\n\n")}return wt=wt.concat("Sent from new Perun Gui, version: ",h(4147).i8),wt.split("\n").join("\n ")}parseMethod(Je){return Je&&this.methodRegexp.exec(Je)[1]}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(c.sK),T.Y36(X.V6),T.Y36(L.Hr),T.Y36(w.WI),T.Y36(X.d6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.YNc(3,ee,1,0,"mat-spinner",1),T.YNc(4,H,17,13,"div",2),T.TgZ(5,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"button",5),T.NdJ("click",function(){return wt.dialogRef.close()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",6),T.NdJ("click",function(){return wt.sendBugReport()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(4),T.hij(" ",T.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),T.xp6(2),T.Q6J("disabled",""===wt.message||""===wt.subject||wt.loading),T.xp6(1),T.hij(" ",T.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,b.hX,v.Nt,E.Fj,E.Q7,E.JJ,E.On,b.TO,w.H8,_.lW],pipes:[c.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Fe})(),O=(()=>{class Fe{constructor(Je,wt,Gt){this.dialogRef=Je,this.dialog=wt,this.data=Gt}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const Je=(0,Be.kZ)();Je.width="550px",Je.data={error:this.data.error},Je.autoFocus=!1,this.dialog.open(D,Je)}),this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.uw),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.qZA(),T.TgZ(2,"div",1),T._uU(3),T.qZA(),T.TgZ(4,"div",2),T.TgZ(5,"div",3),T.TgZ(6,"button",4),T.NdJ("click",function(){return wt.onBugReportClick()}),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"button",5),T.NdJ("click",function(){return wt.onCloseClick()}),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(wt.data.title),T.xp6(2),T.hij(" ",wt.data.description,"\n"),T.xp6(3),T.Q6J("hidden","error"!==wt.data.type),T.xp6(1),T.hij(" ",T.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),T.xp6(3),T.hij(" ",T.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[w.uh,w.xY,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var i=h(34447);function o(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",3)}function u(Fe,Bt){1&Fe&&T._UZ(0,"th",15)}function l(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",16),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.hij(" ",Je.userExtSource.extSource.name," ")}}function s(Fe,Bt){1&Fe&&T._UZ(0,"tr",17)}function n(Fe,Bt){1&Fe&&T._UZ(0,"tr",18)}function t(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div"),T.TgZ(1,"div",4),T.TgZ(2,"p"),T._uU(3),T.ALo(4,"translate"),T.ALo(5,"customTranslate"),T.qZA(),T.TgZ(6,"div",5),T._uU(7),T.ALo(8,"translate"),T.ALo(9,"customTranslate"),T.qZA(),T.TgZ(10,"table",6),T.ynx(11,7),T.YNc(12,u,1,0,"th",8),T.YNc(13,l,2,1,"td",9),T.BQk(),T.YNc(14,s,1,0,"tr",10),T.YNc(15,n,1,0,"tr",11),T.qZA(),T.qZA(),T.TgZ(16,"div",12),T.TgZ(17,"button",13),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onCancel()}),T._uU(18),T.ALo(19,"translate"),T.ALo(20,"customTranslate"),T.qZA(),T.TgZ(21,"button",14),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(22),T.ALo(23,"translate"),T.ALo(24,"customTranslate"),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(3),T.hij(" ",T.lcZ(4,7,T.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),T.xp6(4),T.hij(" ",T.lcZ(8,11,T.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),T.xp6(3),T.Q6J("dataSource",Je.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",Je.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",Je.displayedColumns),T.xp6(3),T.hij(" ",T.lcZ(19,15,T.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),T.xp6(4),T.hij(" ",T.lcZ(23,19,T.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let r=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.usersManagerService=Gt,this.translate=li,this.notificator=vi,this.force=!1,this.displayedColumns=["name"],li.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Vi=>this.successMessage=Vi)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.Fv),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA(),T.TgZ(4,"div"),T.YNc(5,o,1,0,"mat-spinner",1),T.YNc(6,t,25,23,"div",2),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,6,T.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),T.xp6(3),T.Tol(wt.theme),T.xp6(1),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,w.H8,_.lW],pipes:[c.X$,i.a],styles:[""]}),Fe})();var a=h(74533);let d=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.qZA(),T.TgZ(2,"div",1),T.TgZ(3,"textarea",2),T._uU(4),T.qZA(),T.qZA(),T.TgZ(5,"div",3),T.TgZ(6,"button",4),T.NdJ("click",function(){return wt.onCancel()}),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"button",5),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(wt.title),T.xp6(3),T.Oqu(wt.value),T.xp6(3),T.hij(" ",T.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),T.xp6(2),T.Q6J("cdkCopyToClipboard",wt.value),T.xp6(1),T.hij(" ",T.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[w.uh,w.xY,a.IC,v.Nt,w.H8,_.lW,q.i3],pipes:[c.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),Fe})();function f(Fe,Bt){1&Fe&&T._UZ(0,"th",12)}function x(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",13),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.Oqu(Je.displayName)}}function Ye(Fe,Bt){1&Fe&&T._UZ(0,"tr",14)}function It(Fe,Bt){1&Fe&&T._UZ(0,"tr",15)}let jt=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.translate=li,this.attributesManager=vi,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new g.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){switch(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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(c.sK),T.Y36(L.H8))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"div"),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"div",2),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"table",3),T.ynx(11,4),T.YNc(12,f,1,0,"th",5),T.YNc(13,x,2,1,"td",6),T.BQk(),T.YNc(14,Ye,1,0,"tr",7),T.YNc(15,It,1,0,"tr",8),T.qZA(),T.qZA(),T.TgZ(16,"div",9),T.TgZ(17,"button",10),T.NdJ("click",function(){return wt.onCancel()}),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.TgZ(20,"button",11),T.NdJ("click",function(){return wt.onSubmit()}),T._uU(21),T.ALo(22,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),T.xp6(4),T.hij(" ",T.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),T.xp6(3),T.hij(" ",T.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),T.xp6(2),T.Q6J("dataSource",wt.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",wt.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",wt.displayedColumns),T.xp6(3),T.hij(" ",T.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),T.xp6(3),T.hij(" ",T.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[w.uh,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})(),bt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt,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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h5",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"mat-form-field"),T.TgZ(5,"textarea",2),T.NdJ("ngModelChange",function(li){return wt.attributeValue=li}),T.qZA(),T.qZA(),T.qZA(),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),T.xp6(4),T.Q6J("ngModel",wt.attributeValue),T.xp6(3),T.hij(" ",T.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),T.xp6(3),T.hij(" ",T.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[w.uh,w.xY,b.KE,a.IC,v.Nt,E.Fj,E.JJ,E.On,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})(),Yt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h5",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"div"),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"div",2),T._uU(8),T.qZA(),T.qZA(),T.TgZ(9,"div",3),T.TgZ(10,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.TgZ(13,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(14),T.ALo(15,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),T.xp6(4),T.hij(" ",T.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),T.xp6(3),T.hij(" ",wt.data.name," "),T.xp6(3),T.hij(" ",T.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),T.xp6(3),T.hij(" ",T.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[w.uh,w.xY,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var Ct=h(98380);function Nt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"perun-web-apps-alert",9),T._uU(1),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(1),T.Oqu(Je.pendingEmailsMessage)}}function He(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,T.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let je=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.translate=Gt,this.notificator=li,this.usersManagerService=vi,this.authService=Vi,this.pendingMails=[],Gt.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(Ui=>this.successMessage=Ui),Gt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(Ui=>this.pendingEmailsMessageStart=Ui),Gt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(Ui=>this.pendingEmailsMessageEnd=Ui)}ngOnInit(){this.emailControl=new E.NI(null,[E.kI.required,E.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(Je=>{this.pendingMails=Je.filter((Gt,li,vi)=>li===vi.indexOf(Gt));let wt="";this.pendingMails.forEach(Gt=>wt+=`${Gt===this.pendingMails[0]?"":", "}${Gt}`),this.pendingEmailsMessage=this.pendingEmailsMessageStart+wt+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const wt=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",wt[0]+"//"+wt[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(c.sK),T.Y36(X.V6),T.Y36(L.Fv),T.Y36(X.e8))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA(),T.TgZ(4,"div",1),T.YNc(5,Nt,2,1,"perun-web-apps-alert",2),T.TgZ(6,"mat-form-field",3),T.TgZ(7,"label",3),T._UZ(8,"input",4),T.ALo(9,"translate"),T.ALo(10,"customTranslate"),T.qZA(),T.YNc(11,He,4,5,"mat-error",5),T.qZA(),T.qZA(),T.TgZ(12,"div",6),T.TgZ(13,"button",7),T.NdJ("click",function(){return wt.onCancel()}),T._uU(14),T.ALo(15,"translate"),T.ALo(16,"customTranslate"),T.qZA(),T.TgZ(17,"button",8),T.NdJ("click",function(){return wt.onSubmit()}),T._uU(18),T.ALo(19,"translate"),T.ALo(20,"customTranslate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,8,T.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),T.xp6(4),T.Q6J("ngIf",wt.pendingMails.length),T.xp6(3),T.s9C("placeholder",T.lcZ(9,12,T.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),T.Q6J("formControl",wt.emailControl),T.xp6(3),T.Q6J("ngIf",wt.emailControl.invalid),T.xp6(3),T.hij(" ",T.lcZ(15,16,T.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),T.xp6(3),T.Q6J("disabled",!wt.emailControl.valid),T.xp6(1),T.hij(" ",T.lcZ(19,20,T.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[w.uh,w.xY,e.O5,Ct.w,b.KE,v.Nt,E.Fj,E.Q7,E.JJ,E.oH,b.TO,w.H8,_.lW],pipes:[c.X$,i.a],styles:[""]}),Fe})();function Z(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function $(Fe,Bt){1&Fe&&(T.TgZ(0,"div",17),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "))}function oe(Fe,Bt){1&Fe&&T._UZ(0,"th",18)}function nt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",19),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.Oqu(Je)}}function ct(Fe,Bt){1&Fe&&T._UZ(0,"tr",20)}function Rt(Fe,Bt){1&Fe&&T._UZ(0,"tr",21)}function mt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"perun-web-apps-alert",22),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.Q6J("alert_type","warn"),T.xp6(1),T.hij(" ",T.lcZ(2,2,Je.data.alert)," ")}}function Tt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T.TgZ(1,"p"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,$,3,3,"div",9),T.TgZ(5,"table",10),T.ynx(6,11),T.YNc(7,oe,1,0,"th",12),T.YNc(8,nt,2,1,"td",13),T.BQk(),T.YNc(9,ct,1,0,"tr",14),T.YNc(10,Rt,1,0,"tr",15),T.qZA(),T.YNc(11,mt,3,4,"perun-web-apps-alert",16),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,6,Je.data.description)," "),T.xp6(2),T.Q6J("ngIf",Je.data.showAsk),T.xp6(1),T.Q6J("dataSource",Je.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",Je.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",Je.displayedColumns),T.xp6(1),T.Q6J("ngIf",Je.data.alert)}}function ot(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",23),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.REMOVE_BUTTON")," ")}}function rt(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",24),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," ")}}let lt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,selectors:[["perun-web-apps-universal-confirmation-items-dialog"]],decls:12,vars:13,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","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-weight-bold",4,"ngIf"],["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"],[3,"alert_type",4,"ngIf"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[3,"alert_type"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Z,1,0,"mat-spinner",1),T.YNc(5,Tt,12,8,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.onCancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.YNc(10,ot,3,4,"button",5),T.YNc(11,rt,3,4,"button",6),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,wt.data.title)),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("ngIf","remove"===wt.data.type),T.xp6(1),T.Q6J("ngIf","confirmation"===wt.data.type))},directives:[w.uh,e.O5,I.Ou,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,Ct.w,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var ut=h(28258);let Ht=(()=>{class Fe{transform(Je){const wt=Je.split(":");return wt[wt.length-1]}}return Fe.\u0275fac=function(Je){return new(Je||Fe)},Fe.\u0275pipe=T.Yjl({name:"parseGroupName",type:Fe,pure:!0}),Fe})();function Qt(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function ni(Fe,Bt){1&Fe&&(T.TgZ(0,"perun-web-apps-alert"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function hi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function gi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const xi=function(Fe){return{"min-width":Fe}};function ji(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-tree-node",16),T.TgZ(1,"li",17),T.TgZ(2,"div",18),T.NdJ("click",function(){const li=T.CHM(Je).$implicit;return T.oxw(3).navigate(li.id,li.include)}),T._UZ(3,"button",19),T.TgZ(4,"div",20),T.TgZ(5,"span"),T._uU(6),T.ALo(7,"parseGroupName"),T.qZA(),T.YNc(8,hi,3,3,"span",21),T.YNc(9,gi,3,3,"span",21),T.qZA(),T.TgZ(10,"span",22),T._uU(11),T.qZA(),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=Bt.$implicit,wt=T.oxw(3);T.xp6(2),T.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),T.xp6(2),T.Q6J("ngStyle",T.VKq(11,xi,wt.getMinWidth(Je.level))),T.xp6(2),T.Oqu(T.lcZ(7,9,Je.name)),T.xp6(2),T.Q6J("ngIf",Je.direct),T.xp6(1),T.Q6J("ngIf",Je.include),T.xp6(2),T.Oqu(Je.description)}}function tn(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function qi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Lt(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-nested-tree-node"),T.TgZ(1,"li"),T.TgZ(2,"div",17),T.TgZ(3,"button",24),T.TgZ(4,"mat-icon",25),T._uU(5),T.qZA(),T.qZA(),T.TgZ(6,"div",18),T.NdJ("click",function(){const li=T.CHM(Je).$implicit;return T.oxw(3).navigate(li.id,li.include)}),T.TgZ(7,"div",20),T.TgZ(8,"span"),T._uU(9),T.ALo(10,"parseGroupName"),T.qZA(),T.YNc(11,tn,3,3,"span",21),T.YNc(12,qi,3,3,"span",21),T.qZA(),T.TgZ(13,"span",22),T._uU(14),T.qZA(),T.qZA(),T.qZA(),T.TgZ(15,"ul"),T.GkF(16,26),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=Bt.$implicit,wt=T.oxw(3);T.xp6(3),T.uIk("aria-label","Toggle "+Je.name),T.xp6(2),T.hij(" ",wt.treeControl.isExpanded(Je)?"expand_more":"chevron_right"," "),T.xp6(1),T.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),T.xp6(1),T.Q6J("ngStyle",T.VKq(15,xi,wt.getMinWidth(Je.level))),T.xp6(2),T.Oqu(T.lcZ(10,13,Je.name)),T.xp6(2),T.Q6J("ngIf",Je.direct),T.xp6(1),T.Q6J("ngIf",Je.include),T.xp6(2),T.Oqu(Je.description),T.xp6(1),T.ekj("example-tree-invisible",!wt.treeControl.isExpanded(Je))}}function oi(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-tree",13),T.YNc(1,ji,12,13,"mat-tree-node",14),T.YNc(2,Lt,17,17,"mat-nested-tree-node",15),T.qZA()),2&Fe){const Je=T.oxw(2);T.Q6J("dataSource",Je.dataSource)("treeControl",Je.treeControl),T.xp6(2),T.Q6J("matTreeNodeDefWhen",Je.hasChild)}}function Pt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T.TgZ(1,"p"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-form-field",9),T._UZ(5,"input",10),T.ALo(6,"translate"),T.qZA(),T.YNc(7,ni,3,3,"perun-web-apps-alert",11),T.YNc(8,oi,3,3,"mat-tree",12),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.Oqu(T.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),T.xp6(3),T.s9C("placeholder",T.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),T.Q6J("formControl",Je.formControl),T.xp6(2),T.Q6J("ngIf",!Je.dataSource.data.length),T.xp6(1),T.Q6J("ngIf",Je.dataSource.data.length)}}const $e=function(Fe){return{name:Fe}};let vt=(()=>{class Fe{constructor(Je,wt,Gt){this.dialogRef=Je,this.data=wt,this.groupsManagerService=Gt,this.treeControl=new ut.VY(li=>li.children),this.dataSource=new F.WX,this.formControl=new E.NI(""),this.userName="",this.groupTree=[],this.paths=[],this.hasChild=(li,vi)=>!!vi.children&&vi.children.length>0}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(Je=>{this.paths=Je,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(Je=>{const wt=Je.trim().toLowerCase(),Gt=this.paths.filter(li=>li.filter(vi=>vi.name.includes(wt)).length);this.createGroupTree(Gt),this.dataSource.data=this.groupTree}),this.userName=(0,Be.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(Je,wt=!1){window.open(`/organizations/${this.data.member.voId}/groups/${Je}${wt?"/settings/relations":""}`,"_blank")}getMinWidth(Je){return String(400-40*Je)+"px"}recursiveSearch(Je,wt,Gt){for(const vi of Je)if(vi.name===wt[Gt].name)return wt.length===Gt+1?(vi.direct=!0,Je):(vi.children=wt[++Gt].name.includes(wt[Gt-1].name)?this.recursiveSearch(vi.children,wt,Gt):[{name:wt[Gt].name,id:wt[Gt-1].id,description:wt[Gt].description,direct:!1,include:!0,level:Gt,children:[]}].concat(vi.children),Je);return Je.push({name:wt[Gt].name,id:wt[Gt].id,description:wt[Gt].description,direct:!1,include:!1,level:Gt,children:[]}),this.recursiveSearch(Je,wt,Gt)}createGroupTree(Je){this.groupTree=[],Je.forEach(wt=>{this.groupTree=this.recursiveSearch(this.groupTree,wt,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.ff))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Qt,1,0,"mat-spinner",2),T.YNc(5,Pt,9,9,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"div",5),T.TgZ(8,"button",6),T.NdJ("click",function(){return wt.onCancel()}),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(2),T.hij(" ",T.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",T.VKq(9,$e,wt.userName))," "),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(4),T.hij(" ",T.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,v.Nt,E.Fj,E.JJ,E.oH,Ct.w,F.gi,F.fQ,F.uo,F.eu,_.lW,e.PC,F.GZ,j.Hw,F.Ar,w.H8],pipes:[c.X$,Ht],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}"]}),Fe})(),at=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.router=wt}onClose(){this.router.navigate([]),this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(he.F0))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"perun-web-apps-alert",2),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.qZA(),T.TgZ(7,"div",3),T.TgZ(8,"button",4),T.NdJ("click",function(){return wt.onClose()}),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),T.xp6(4),T.Oqu(T.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),T.xp6(4),T.hij(" ",T.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[w.uh,w.xY,Ct.w,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var Qe=h(62383);function yt(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-radio-button",16),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function U(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-radio-button",17),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function Ge(Fe,Bt){1&Fe&&(T.TgZ(0,"perun-web-apps-alert",18),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let _t=(()=>{class Fe{constructor(Je){this.dialogRef=Je,this.canExtendMembership=!1,this.expirationChanged=new T.vpe,this.statusChange=new T.vpe,this.expirationControl=new E.NI(null)}ngOnInit(){const Je=new Date;this.currentDate=(0,e.p6)(new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(Je){return(0,e.p6)(Je,"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,e.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,e.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){if(1&Je){const Gt=T.EpF();T.TgZ(0,"div",0),T.TgZ(1,"div",1),T.TgZ(2,"p"),T.TgZ(3,"strong"),T._uU(4),T.ALo(5,"translate"),T.qZA(),T._uU(6),T.ALo(7,"parseDate"),T.qZA(),T.TgZ(8,"p"),T.TgZ(9,"strong"),T._uU(10),T.ALo(11,"translate"),T.qZA(),T._uU(12),T.ALo(13,"parseDate"),T.qZA(),T.TgZ(14,"mat-radio-group",2),T.NdJ("ngModelChange",function(vi){return wt.newExpiration=vi}),T.TgZ(15,"mat-radio-button",3),T.TgZ(16,"mat-form-field",4),T.NdJ("click",function(){return T.CHM(Gt),T.MAs(23).open()}),T.TgZ(17,"mat-label"),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.TgZ(20,"input",5),T.NdJ("dateChange",function(){return wt.setExpiration()}),T.qZA(),T._UZ(21,"mat-datepicker-toggle",6),T._UZ(22,"mat-datepicker",7,8),T.qZA(),T.qZA(),T.YNc(24,yt,3,3,"mat-radio-button",9),T.YNc(25,U,3,3,"mat-radio-button",10),T.TgZ(26,"mat-radio-button",11),T._uU(27),T.ALo(28,"translate"),T.qZA(),T.qZA(),T.YNc(29,Ge,3,3,"perun-web-apps-alert",12),T.qZA(),T.TgZ(30,"div",13),T.TgZ(31,"button",14),T.NdJ("click",function(){return wt.onCancel()}),T._uU(32),T.ALo(33,"translate"),T.qZA(),T.TgZ(34,"button",15),T.NdJ("click",function(){return wt.onChange()}),T._uU(35),T.ALo(36,"translate"),T.qZA(),T.qZA(),T.qZA()}if(2&Je){const Gt=T.MAs(23);T.xp6(4),T.Oqu(T.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),T.xp6(2),T.hij(" ",T.lcZ(7,23,wt.currentExpiration)," "),T.xp6(4),T.Oqu(T.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),T.xp6(2),T.hij(" ",wt.newExpiration?T.lcZ(13,27,wt.newExpiration):"never"," "),T.xp6(2),T.Q6J("ngModel",wt.newExpiration),T.xp6(1),T.s9C("value",wt.expirationControl.value),T.xp6(3),T.Oqu(T.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),T.xp6(2),T.Q6J("min",wt.minDate)("max",wt.maxDate)("formControl",wt.expirationControl)("matDatepicker",Gt),T.xp6(1),T.Q6J("for",Gt)("disabled",!1),T.xp6(1),T.Q6J("disabled",!1),T.xp6(2),T.Q6J("ngIf",wt.canExtendMembership&&"vo"===wt.mode),T.xp6(1),T.Q6J("ngIf",wt.canExtendMembership&&"group"===wt.mode),T.xp6(2),T.hij(" ",T.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),T.xp6(2),T.Q6J("ngIf","EXPIRED"===wt.status&&("never"===wt.newExpiration||wt.parseDate(wt.expirationControl.value)>wt.currentDate)),T.xp6(3),T.hij(" ",T.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),T.xp6(2),T.Q6J("disabled",wt.expirationControl.invalid),T.xp6(1),T.hij(" ",T.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[w.xY,N.VQ,E.JJ,E.On,N.U0,b.KE,b.hX,v.Nt,E.Fj,A.hl,E.oH,A.nW,b.R9,A.Mq,e.O5,Ct.w,w.H8,_.lW],pipes:[c.X$,Qe.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}"]}),Fe})();function Dt(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function ti(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("statusChange",function(){return T.CHM(Je),T.oxw().changeStatus=!0})("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","group")("status",Je.status)}}let si=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.groupManager=vi,this.translate=Vi,this.notificator=Ui,this.loading=!1,this.canExtendMembership=!1,this.expirationAttr=null,Vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){var Je,wt;this.status=this.data.status,this.loading=!0;const Gt=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()):this.minDate=new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=null!==(wt=null===(Je=this.expirationAttr)||void 0===Je?void 0:Je.value)&&void 0!==wt?wt:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,e.p6)(Gt,"yyyy-MM-dd","en"),this.maxDate=Gt):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,it.r.GROUP_DEF_EXPIRATION_RULES).subscribe(li=>{null!==li.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(vi=>{this.canExtendMembership=!!vi,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"groupRules"===Je?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"===Je?null:Je,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(wt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:wt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(L.ff),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Dt,1,0,"mat-spinner",2),T.YNc(5,ti,1,7,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();var Ii=h(13469);function wi(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function zi(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"form",5),T.TgZ(1,"div",6),T.TgZ(2,"mat-form-field"),T.TgZ(3,"mat-label"),T._uU(4),T.ALo(5,"translate"),T.qZA(),T._UZ(6,"input",7),T.TgZ(7,"mat-icon",8),T.NdJ("click",function(){T.CHM(Je);const Gt=T.oxw();return Gt.showOldPassword=!Gt.showOldPassword}),T._uU(8),T.qZA(),T.YNc(9,wi,3,3,"mat-error",9),T.qZA(),T._UZ(10,"perun-web-apps-password-form",10),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("formGroup",Je.formGroup),T.xp6(4),T.Oqu(T.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),T.xp6(2),T.Q6J("type",Je.showOldPassword?"text":"password"),T.xp6(2),T.hij(" ",Je.showOldPassword?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Je.oldPwd.hasError("required")),T.xp6(1),T.Q6J("formGroup",Je.formGroup)("namespace",Je.data.namespace)}}function rn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",11)}function Oi(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div",12),T.TgZ(1,"div",13),T.TgZ(2,"button",14),T.NdJ("click",function(){return T.CHM(Je),T.oxw().close()}),T._uU(3),T.ALo(4,"translate"),T.qZA(),T.TgZ(5,"button",15),T.NdJ("click",function(){return T.CHM(Je),T.oxw().changePassword()}),T._uU(6),T.ALo(7,"translate"),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(3),T.hij(" ",T.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),T.xp6(2),T.Q6J("disabled",Je.formGroup.invalid||Je.formGroup.pending),T.xp6(1),T.hij(" ",T.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Hi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this._formBuilder=Gt,this.usersManagerService=li,this.apiRequestConfiguration=vi,this.notificator=Vi,this.translate=Ui,this.showOldPassword=!1,Ui.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",E.kI.required],passwordCtrl:["",E.kI.required,[(0,pe.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:Be.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({login:this.data.login,namespace:this.data.namespace,newPassword:this.newPwd.value,oldPassword:this.oldPwd.value,checkOldPassword:!0}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(E.qu),T.Y36(L.Fv),T.Y36(X.F5),T.Y36(X.V6),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.YNc(4,zi,11,9,"form",2),T.YNc(5,rn,1,0,"mat-spinner",3),T.qZA(),T.YNc(6,Oi,8,7,"div",4)),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),T.xp6(3),T.Q6J("ngIf",!wt.loading),T.xp6(1),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,w.xY,e.O5,E._Y,E.JL,E.sg,b.KE,b.hX,E.Fj,v.Nt,E.JJ,E.u,E.Q7,j.Hw,b.R9,b.TO,Ii.G,I.Ou,w.H8,_.lW],pipes:[c.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}"]}),Fe})();function Ki(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function Li(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("statusChange",function(){return T.CHM(Je),T.oxw().changeStatus=!0})("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","vo")("status",Je.status)}}let yi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.translate=vi,this.notificator=Vi,this.loading=!1,this.canExtendMembership=!1,this.expirationAttr=null,vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(Ui=>this.successMessage=Ui)}ngOnInit(){var Je,wt;this.status=this.data.status,this.loading=!0;const Gt=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()):this.minDate=new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=null!==(wt=null===(Je=this.expirationAttr)||void 0===Je?void 0:Je.value)&&void 0!==wt?wt:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,e.p6)(Gt,"yyyy-MM-dd","en"),this.maxDate=Gt):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,it.r.VO_DEF_EXPIRATION_RULES).subscribe(li=>{null!==li.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(vi=>{this.canExtendMembership=!!vi,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"voRules"===Je?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"===Je?null:Je,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(wt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:wt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Ki,1,0,"mat-spinner",2),T.YNc(5,Li,1,7,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();function nn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function fn(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("mode","sponsor")}}let Wi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.groupManager=vi,this.translate=Vi,this.notificator=Ui,this.loading=!1,Vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const Je=new Date;this.minDate=new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),this.loading=!1}onExpirationChanged(Je){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===Je?null:Je).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(L.ff),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,nn,1,0,"mat-spinner",2),T.YNc(5,fn,1,4,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();function sn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function An(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function On(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function un(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-radio-group",12),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw(2).asyncValidation=Gt}),T.TgZ(1,"span",13),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-radio-button",14),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"mat-radio-button",14),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw(2);T.Q6J("ngModel",Je.asyncValidation),T.xp6(2),T.hij(" ",T.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),T.xp6(2),T.Q6J("value",!1),T.xp6(1),T.hij(" ",T.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),T.xp6(2),T.Q6J("value",!0),T.xp6(1),T.hij(" ",T.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function Ji(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function ln(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function Dn(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",5),T.TgZ(1,"p",6),T._uU(2),T.TgZ(3,"span",7),T._uU(4),T.qZA(),T._uU(5),T.TgZ(6,"span",7),T._uU(7),T.qZA(),T.qZA(),T.TgZ(8,"p"),T.TgZ(9,"strong",8),T._uU(10),T.ALo(11,"translate"),T.qZA(),T._uU(12),T.qZA(),T.TgZ(13,"p"),T.TgZ(14,"strong",8),T._uU(15),T.ALo(16,"translate"),T.qZA(),T._uU(17),T.qZA(),T.YNc(18,An,3,3,"span",9),T.YNc(19,On,3,3,"span",9),T.YNc(20,un,10,12,"mat-radio-group",10),T.YNc(21,Ji,3,3,"span",9),T.YNc(22,ln,3,3,"span",9),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",Je.group.name," "),T.xp6(2),T.hij("#",Je.group.id,""),T.xp6(1),T.hij(" - ",Je.resource.name," "),T.xp6(2),T.hij("#",Je.resource.id,""),T.xp6(3),T.hij(" ",T.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),T.xp6(2),T.hij(" ",Je.status," "),T.xp6(3),T.hij(" ",T.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),T.xp6(2),T.hij(" ",Je.getReversedStatus()," "),T.xp6(1),T.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),T.xp6(1),T.Q6J("ngIf","ACTIVE"===Je.status),T.xp6(1),T.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),T.xp6(1),T.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!1===Je.asyncValidation),T.xp6(1),T.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!0===Je.asyncValidation)}}function St(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div",15),T.TgZ(1,"button",16),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onCancel()}),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"button",17),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),T.xp6(2),T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===Je.status?"DEACTIVATE":"ACTIVATE"))," ")}}let Kt=(()=>{class Fe{constructor(Je,wt,Gt,li){this.dialogRef=Je,this.data=wt,this.resourceService=Gt,this.groupService=li,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(Je=>{this.resource=Je,this.groupService.getGroupById(this.data.groupId).subscribe(wt=>{this.group=wt,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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.xk),T.Y36(L.ff))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,sn,1,0,"mat-spinner",1),T.YNc(5,Dn,23,17,"div",2),T.YNc(6,St,7,7,"div",3),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.hij(" ",T.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,w.xY,N.VQ,E.JJ,E.On,N.U0,w.H8,_.lW],pipes:[c.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),Fe})();var st=h(90995);let kt=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.usersService=li,this.translate=vi,this.force=!1,this.displayedColumns=["name"],this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.by([this.data.user]),this.relations.push(this.translate.instant("DIALOGS.ANONYMIZE_USER.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.ANONYMIZE_USER.VO_RELATION"))}onCancel(){this.dialogRef.close(!1)}anonymizeUser(){this.loading=!0,this.usersService.anonymizeUser(this.data.user.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ANONYMIZE_USER.SUCCESS_NOTIFICATION")),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(Je){this.force=Je.force,Je.deleted?this.anonymizeUser():this.onCancel()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(L.Fv),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,selectors:[["perun-web-apps-anonymize-user-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","relations","loading","anonymize","deleted"]],template:function(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"perun-web-apps-delete-entity-dialog",0),T.NdJ("deleted",function(li){return wt.onSubmit(li)}),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(1),T.Q6J("entityNames",wt.dataSource)("entityType","user")("relations",wt.relations)("loading",wt.loading)("anonymize",!0))},directives:[st.e],styles:[""]}),Fe})()},90995:(qe,me,h)=>{"use strict";h.d(me,{e:()=>Me});var e=h(5e3),c=h(93075),g=h(32075),w=h(69808),_=h(20773),b=h(48966),E=h(47423),v=h(25245),I=h(14623),N=h(98380),A=h(67322),q=h(98833),j=h(51062);let G=(()=>{class z{constructor(de){this.translate=de}transform(de){return this.translate.instant(de?"DIALOGS.DELETE_ENTITY.TYPE_ANONYMIZE":"DIALOGS.DELETE_ENTITY.TYPE_DELETE")}}return z.\u0275fac=function(de){return new(de||z)(e.Y36(j.sK,16))},z.\u0275pipe=e.Yjl({name:"deleteDialogType",type:z,pure:!0}),z})();var Q=h(31359);function he(z,P){1&z&&e._UZ(0,"mat-spinner",2)}const F=function(z){return{action:z}};function be(z,P){if(1&z&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"deleteDialogType"),e.ALo(4,"translate"),e.TgZ(5,"span",17),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.ALo(9,"translate"),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.lnq(" ",e.xi3(2,6,"DIALOGS.DELETE_ENTITY.BASIC",e.VKq(17,F,e.lcZ(3,9,de.anonymize)))," ",e.lcZ(4,11,"DIALOGS.DELETE_ENTITY.ONLY")," ",de.entityType," "),e.xp6(5),e.Oqu(e.lcZ(7,13,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",de.entityType," ",e.lcZ(9,15,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function pe(z,P){if(1&z&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"deleteDialogType"),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.AsE(" ",e.xi3(2,2,"DIALOGS.DELETE_ENTITY.BASIC",e.VKq(7,F,e.lcZ(3,5,de.anonymize)))," ",de.entityType," ? ")}}function ye(z,P){1&z&&e._UZ(0,"th",18)}function T(z,P){if(1&z&&(e.TgZ(0,"td",19),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&z){const de=P.$implicit,Ce=e.oxw(2);e.xp6(1),e.hij(" ",Ce.anonymize?e.lcZ(2,1,de):de.name," ")}}function R(z,P){1&z&&e._UZ(0,"tr",20)}function L(z,P){1&z&&e._UZ(0,"tr",21)}function X(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(de),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,"titlecase"),e.ALo(6,"deleteDialogType"),e.ALo(7,"translate"),e.qZA()}if(2&z){const de=e.oxw(2);e.xp6(3),e.AsE(" ",e.xi3(4,2,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(11,F,e.lcZ(5,5,e.lcZ(6,7,de.anonymize))))," ",e.lcZ(7,9,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}const Y=function(){return["name"]};function se(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"titlecase"),e.ALo(5,"deleteDialogType"),e.qZA(),e.TgZ(6,"div",4),e.YNc(7,be,10,19,"div",5),e.YNc(8,pe,4,9,"div",5),e.TgZ(9,"table",6),e.ynx(10,7),e.YNc(11,ye,1,0,"th",8),e.YNc(12,T,3,3,"td",9),e.BQk(),e.YNc(13,R,1,0,"tr",10),e.YNc(14,L,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return e.CHM(de),e.oxw().onCancel()}),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"button",14),e.NdJ("click",function(){return e.CHM(de),e.oxw().onDelete()}),e._uU(20),e.ALo(21,"translate"),e.ALo(22,"titlecase"),e.ALo(23,"deleteDialogType"),e.qZA(),e.YNc(24,X,8,13,"button",15),e.qZA(),e.qZA()}if(2&z){const de=e.oxw();e.xp6(2),e.AsE(" ",e.xi3(3,10,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(26,F,e.lcZ(4,13,e.lcZ(5,15,de.anonymize))))," ",de.entityType," "),e.xp6(5),e.Q6J("ngIf",!de.disableForce),e.xp6(1),e.Q6J("ngIf",de.disableForce),e.xp6(1),e.Q6J("dataSource",de.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(28,Y)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(29,Y)),e.xp6(3),e.hij(" ",e.lcZ(18,17,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.xi3(21,19,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(30,F,e.lcZ(22,22,e.lcZ(23,24,de.anonymize))))," "),e.xp6(4),e.Q6J("ngIf",!de.disableForce)}}function Te(z,P){if(1&z&&(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&z){const de=P.$implicit;e.xp6(4),e.hij(" ",de," ")}}function Oe(z,P){if(1&z&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.hij(" ",de.anotherMessage," ")}}function Se(z,P){1&z&&e._UZ(0,"th",18)}function We(z,P){if(1&z&&(e.TgZ(0,"td",19),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&z){const de=P.$implicit,Ce=e.oxw(2);e.xp6(1),e.hij(" ",Ce.anonymize?e.lcZ(2,1,de):de.name," ")}}function ge(z,P){1&z&&e._UZ(0,"tr",20)}function Le(z,P){1&z&&e._UZ(0,"tr",21)}function ue(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"titlecase"),e.ALo(5,"deleteDialogType"),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div",4),e.TgZ(8,"div",16),e._uU(9),e.ALo(10,"translate"),e.TgZ(11,"mat-list"),e.YNc(12,Te,5,1,"mat-list-item",23),e.qZA(),e.YNc(13,Oe,2,1,"div",1),e.TgZ(14,"perun-web-apps-alert",24),e._uU(15),e.ALo(16,"translate"),e.ALo(17,"deleteDialogType"),e.qZA(),e.TgZ(18,"table",6),e.ynx(19,7),e.YNc(20,Se,1,0,"th",8),e.YNc(21,We,3,3,"td",9),e.BQk(),e.YNc(22,ge,1,0,"tr",10),e.YNc(23,Le,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field"),e._UZ(25,"input",25),e.ALo(26,"translate"),e.ALo(27,"uppercase"),e.ALo(28,"deleteDialogType"),e.qZA(),e.qZA(),e.TgZ(29,"div",12),e.TgZ(30,"button",13),e.NdJ("click",function(){return e.CHM(de),e.oxw().onCancel()}),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.TgZ(33,"button",26),e.NdJ("click",function(){return e.CHM(de),e.oxw().onDelete()}),e.TgZ(34,"mat-icon"),e._uU(35,"warning"),e.qZA(),e._uU(36),e.ALo(37,"translate"),e.ALo(38,"titlecase"),e.ALo(39,"deleteDialogType"),e.ALo(40,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&z){const de=e.oxw();e.xp6(2),e.lnq(" ",e.xi3(3,17,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(51,F,e.lcZ(4,20,e.lcZ(5,22,de.anonymize))))," ",de.entityType," ",e.lcZ(6,24,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(7),e.hij(" ",e.lcZ(10,26,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",de.relations),e.xp6(1),e.Q6J("ngIf",de.anotherMessage),e.xp6(2),e.AsE(" ",e.xi3(16,28,"DIALOGS.DELETE_ENTITY.ASK",e.VKq(53,F,e.lcZ(17,31,de.anonymize)))," ",de.entityType," ? "),e.xp6(3),e.Q6J("dataSource",de.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(55,Y)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(56,Y)),e.xp6(2),e.s9C("placeholder",e.xi3(26,33,"DIALOGS.DELETE_ENTITY.CONTROL",e.VKq(57,F,e.lcZ(27,36,e.lcZ(28,38,de.anonymize))))),e.Q6J("formControl",de.deleteControl),e.xp6(6),e.hij(" ",e.lcZ(32,40,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",de.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.xi3(37,42,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(59,F,e.lcZ(38,45,e.lcZ(39,47,de.anonymize))))," ",e.lcZ(40,49,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let Me=(()=>{class z{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.anonymize=!1,this.deleted=new e.vpe,this.force=!1}ngOnInit(){this.deleteReg=this.anonymize?/^ANONYMIZE$/:/^DELETE$/,this.deleteControl=new c.NI("",[c.kI.required,c.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return z.\u0275fac=function(de){return new(de||z)},z.\u0275cmp=e.Xpm({type:z,selectors:[["perun-web-apps-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading",anonymize:"anonymize"},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"],["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"],["data-cy","delete-button-dialog","color","warn","mat-flat-button","",1,"ml-2",3,"click"],["class","ml-2","data-cy","force-delete","color","warn","mat-flat-button","",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",""],["data-cy","force-delete","color","warn","mat-flat-button","",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["data-cy","force-delete-button","color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(de,Ce){1&de&&(e.YNc(0,he,1,0,"mat-spinner",0),e.YNc(1,se,25,32,"div",1),e.YNc(2,ue,41,61,"div",1)),2&de&&(e.Q6J("ngIf",Ce.loading),e.xp6(1),e.Q6J("ngIf",!Ce.force&&!Ce.loading),e.xp6(1),e.Q6J("ngIf",Ce.force&&!Ce.loading))},directives:[w.O5,_.Ou,b.uh,b.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,b.H8,E.lW,v.Hw,I.i$,w.sg,I.Tg,N.w,A.KE,q.Nt,c.Fj,c.JJ,c.oH],pipes:[j.X$,w.rS,G,Q.d,w.gd],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),z})()},50301:(qe,me,h)=>{"use strict";h.d(me,{hT:()=>c,Kd:()=>w,YH:()=>_});var e=h(5e3);let c=(()=>{class b{constructor(v){this.elementRef=v}ngOnInit(){this.elementRef.nativeElement.focus()}}return b.\u0275fac=function(v){return new(v||b)(e.Y36(e.SBq))},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsAutoFocus",""]]}),b})();var g=h(32080);let w=(()=>{class b{constructor(v){this.router=v}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return b.\u0275fac=function(v){return new(v||b)(e.Y36(g.xw))},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(v,I){1&v&&e.NdJ("click",function(){return I.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),b})(),_=(()=>{class b{onClick(v){if(1===v.button&&null!=this.perunWebAppsMiddleClickRouterLink){const I=this.perunWebAppsMiddleClickRouterLink.join("/"),N=location.search;window.open(I+N)}}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(v,I){1&v&&e.NdJ("mouseup",function(A){return I.onClick(A)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),b})()},45323:(qe,me,h)=>{"use strict";h.d(me,{u:()=>e});var e=(()=>{return(c=e||(e={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",e;var c})()},28499:(qe,me,h)=>{"use strict";h.d(me,{E3:()=>A,yT:()=>q.y});var e=h(69808),c=h(67322),g=h(29772),w=h(93075),_=h(98833),b=h(51062),E=h(20773),v=h(25245),I=h(63189),N=h(5e3);let A=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=N.oAB({type:G}),G.\u0275inj=N.cJS({providers:[],imports:[[e.ez,c.lN,g.AV,w.UX,_.c,b.aw,E.Cq,v.Ps,I.r]]}),G})();var q=h(47549);h(13469)},13469:(qe,me,h)=>{"use strict";h.d(me,{G:()=>ye});var e=h(47549),c=h(32080),g=h(32105),w=h(5e3),_=h(51062),b=h(93075),E=h(67322),v=h(29772),I=h(98833),N=h(69808),A=h(20773),q=h(25245),j=h(98380);function G(T,R){1&T&&w._UZ(0,"mat-spinner",12),2&T&&w.Q6J("diameter",18)}function Q(T,R){if(1&T&&(w.TgZ(0,"mat-icon",13),w._uU(1," error "),w.qZA()),2&T){const L=w.oxw();w.Q6J("matTooltip",L.getErrorTooltip())("matTooltipDisabled",!L.formGroup.get("passwordCtrl").hasError("backendError"))}}function he(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function F(T,R){if(1&T&&(w.TgZ(0,"mat-error",14),w._uU(1),w.qZA()),2&T){const L=w.oxw();w.Q6J("matTooltip",L.getErrorTooltip()),w.xp6(1),w.Oqu(L.getErrorTooltip())}}function be(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function pe(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let ye=(()=>{class T{constructor(L,X,Y){this.translator=L,this.usersManagerService=X,this.store=Y,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(L=>{var X;const Y=L.userAttributes.find(se=>"preferredLanguage"===se.friendlyName);this.language=null!==(X=null==Y?void 0:Y.value)&&void 0!==X?X:"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 L=this.formGroup.get("passwordCtrl").getError("backendError");return L&&(L=L.replace(":null","")),L}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(L=>L.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(L=>"default"===L.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return T.\u0275fac=function(L){return new(L||T)(w.Y36(_.sK),w.Y36(g.Fv),w.Y36(c.d6))},T.\u0275cmp=w.Xpm({type:T,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[w.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(L,X){1&L&&(w.TgZ(0,"div",0),w.TgZ(1,"mat-form-field",1),w._UZ(2,"input",2),w.ALo(3,"translate"),w.YNc(4,G,1,1,"mat-spinner",3),w.TgZ(5,"mat-icon",4),w.NdJ("click",function(){return X.showNewPassword=!X.showNewPassword}),w._uU(6),w.qZA(),w.YNc(7,Q,2,2,"mat-icon",5),w.YNc(8,he,3,3,"mat-error",6),w.YNc(9,F,2,2,"mat-error",7),w.qZA(),w.TgZ(10,"mat-form-field",8),w.TgZ(11,"mat-label"),w._uU(12),w.ALo(13,"translate"),w.qZA(),w._UZ(14,"input",9),w.TgZ(15,"mat-icon",4),w.NdJ("click",function(){return X.showPasswordConfirm=!X.showPasswordConfirm}),w._uU(16),w.qZA(),w.YNc(17,be,3,3,"mat-error",6),w.YNc(18,pe,3,3,"mat-error",6),w.qZA(),w.TgZ(19,"perun-web-apps-alert",10),w._UZ(20,"div",11),w.qZA(),w.qZA()),2&L&&(w.Q6J("formGroup",X.formGroup),w.xp6(1),w.Q6J("matTooltip",X.getPasswordDisabledTooltip())("matTooltipDisabled",X.formGroup.get("passwordCtrl").enabled||X.tooltipPwdDisabledForNamespace),w.xp6(1),w.s9C("placeholder",w.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),w.Q6J("type",X.showNewPassword?"text":"password")("required",X.passwordRequired)("errorStateMatcher",X.passwordStateMatcher),w.xp6(2),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").pending),w.xp6(2),w.hij(" ",X.showNewPassword?"visibility_off":"visibility"," "),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").dirty&&null!==X.formGroup.get("passwordCtrl").errors),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("required")),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("backendError")),w.xp6(3),w.Oqu(w.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),w.xp6(2),w.Q6J("type",X.showPasswordConfirm?"text":"password")("required",X.passwordRequired),w.xp6(2),w.hij(" ",X.showPasswordConfirm?"visibility_off":"visibility"," "),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("required")),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),w.xp6(2),w.Q6J("innerHTML",X.passwordRequirement,w.oJD))},directives:[b.JL,b.sg,E.KE,v.gM,I.Nt,b.Fj,b.JJ,b.u,b.Q7,N.O5,A.Ou,E.R9,q.Hw,E.TO,E.hX,j.w],pipes:[_.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)}"]}),T})()},47549:(qe,me,h)=>{"use strict";h.d(me,{S:()=>b,y:()=>E});var e=h(82805),c=h(39646),g=h(63900),w=h(54004),_=h(70262);class b{isErrorState(I){return!(!(null==I?void 0:I.invalid)||!(null==I?void 0:I.dirty))}}const E=(v,I,N,A=500)=>q=>(0,e.H)(A).pipe((0,g.w)(()=>(N.dontHandleErrorForNext(),v&&"No namespace"!==v?I.checkPasswordStrength({password:q.value,namespace:v}):(0,c.of)(null))),(0,w.U)(()=>null),(0,_.K)(j=>{const G=j.error,Q={backendError:G.message.substring(G.message.indexOf(":")+1)};return(0,c.of)(Q)}))},32105:(qe,me,h)=>{"use strict";h.d(me,{au:()=>H,sY:()=>ue,H8:()=>E,jw:()=>v,Ct:()=>I,VK:()=>b,WY:()=>A,KG:()=>j,IQ:()=>G,ff:()=>he,uq:()=>be,aC:()=>pe,Hr:()=>ye,tk:()=>T,xk:()=>R,t7:()=>L,KK:()=>X,Ob:()=>Y,Dy:()=>Ae,Fv:()=>se,FW:()=>Te,YF:()=>Oe});var e=h(40520);class c{encodeKey(O){return encodeURIComponent(O)}encodeValue(O){return encodeURIComponent(O)}decodeKey(O){return decodeURIComponent(O)}decodeValue(O){return decodeURIComponent(O)}}var g=h(5e3);const w=new g.OlP("basePath");class b{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,this.credentials=O.credentials?O.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(O){if(0===O.length)return;const i=O.find(o=>this.isJsonMime(o));return void 0===i?O[0]:i}selectHeaderAccept(O){if(0===O.length)return;const i=O.find(o=>this.isJsonMime(o));return void 0===i?O[0]:i}isJsonMime(O){const i=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==O&&(i.test(O)||"application/json-patch+json"===O.toLowerCase())}lookupCredential(O){const i=this.credentials[O];return"function"==typeof i?i():i}}let E=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}convertAttributeToNonunique(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}convertAttributeToUnique(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attribute"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteAttributeDefinitions(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attributes[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAttributeDefinitions(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAttribute(i,o,u,l,s,n,t,r,a,d,f,x="body",Ye=!1,It){let jt=new e.LE({encoder:this.encoder});null!=i&&(jt=this.addToHttpParams(jt,i,"attributeName")),null!=o&&(jt=this.addToHttpParams(jt,o,"attributeId")),null!=u&&(jt=this.addToHttpParams(jt,u,"facility")),null!=l&&(jt=this.addToHttpParams(jt,l,"user")),null!=s&&(jt=this.addToHttpParams(jt,s,"vo")),null!=n&&(jt=this.addToHttpParams(jt,n,"resource")),null!=t&&(jt=this.addToHttpParams(jt,t,"member")),null!=r&&(jt=this.addToHttpParams(jt,r,"group")),null!=a&&(jt=this.addToHttpParams(jt,a,"host")),null!=d&&(jt=this.addToHttpParams(jt,d,"userExtSource")),null!=f&&(jt=this.addToHttpParams(jt,f,"key"));let Yt,bt=this.defaultHeaders;Yt=this.configuration.lookupCredential("BasicAuth"),Yt&&(bt=bt.set("Authorization","Basic "+Yt)),Yt=this.configuration.lookupCredential("BearerAuth"),Yt&&(bt=bt.set("Authorization","Bearer "+Yt));let Ct=It&&It.httpHeaderAccept;void 0===Ct&&(Ct=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ct&&(bt=bt.set("Accept",Ct));let Nt=It&&It.context;void 0===Nt&&(Nt=new e.qT);let He="json";return Ct&&(He=Ct.startsWith("text")?"text":this.configuration.isJsonMime(Ct)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:Nt,params:jt,responseType:He,withCredentials:this.configuration.withCredentials,headers:bt,observe:x,reportProgress:Ye})}getAttributeDefinitionById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeDefinitionByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeDefinitionsByNamespace(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"namespace"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeModulesDependenciesForAttributeGraphText(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==o)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"format")),null!=o&&(n=this.addToHttpParams(n,o,"attrName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAttributeModulesDependenciesGraphText(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"format"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributePolicyCollections(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeRights(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributesDefinitionWithRights(i,o,u,l,s,n,t,r,a="body",d=!1,f){let x=new e.LE({encoder:this.encoder});null!=i&&(x=this.addToHttpParams(x,i,"member")),null!=o&&(x=this.addToHttpParams(x,o,"user")),null!=u&&(x=this.addToHttpParams(x,u,"vo")),null!=l&&(x=this.addToHttpParams(x,l,"group")),null!=s&&(x=this.addToHttpParams(x,s,"resource")),null!=n&&(x=this.addToHttpParams(x,n,"facility")),null!=t&&(x=this.addToHttpParams(x,t,"host")),null!=r&&(x=this.addToHttpParams(x,r,"userExtSource"));let It,Ye=this.defaultHeaders;It=this.configuration.lookupCredential("BasicAuth"),It&&(Ye=Ye.set("Authorization","Basic "+It)),It=this.configuration.lookupCredential("BearerAuth"),It&&(Ye=Ye.set("Authorization","Bearer "+It));let jt=f&&f.httpHeaderAccept;void 0===jt&&(jt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==jt&&(Ye=Ye.set("Accept",jt));let bt=f&&f.context;void 0===bt&&(bt=new e.qT);let Yt="json";return jt&&(Yt=jt.startsWith("text")?"text":this.configuration.isJsonMime(jt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:bt,params:x,responseType:Yt,withCredentials:this.configuration.withCredentials,headers:Ye,observe:a,reportProgress:d})}getEntitylessAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"key")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEntitylessAttributesByKey(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"key"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEntitylessAttributesByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attrName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEntitylessAttributesWithKeys(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attrName")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"keys[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEntitylessKeys(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityResourceUserMemberAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),null!=u&&(r=this.addToHttpParams(r,u,"user")),null!=l&&(r=this.addToHttpParams(r,l,"member"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getFacilityUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupResourceAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getLogins(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberAndUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"workWithUserAttributes"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAndUserAttributesByNames(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroupAndUserAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getMemberGroupAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroupAttributesByNames(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getMemberResourceAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesFacilityService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesFacilityServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")}),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesGroupResourceService(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"group"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesHostService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==o)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"host"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"workWithUserAttributes"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesMemberGroup(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"service")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"group")),null!=l&&(a=this.addToHttpParams(a,l,"member")),null!=s&&(a=this.addToHttpParams(a,s,"workWithUserAttributes"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getRequiredAttributesMemberGroupService(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"group")),null!=u&&(r=this.addToHttpParams(r,u,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRequiredAttributesMemberResource(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberResourceService(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),null!=u&&(r=this.addToHttpParams(r,u,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRequiredAttributesResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesResourceService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesResourceServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")}),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesUserFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesVoService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceGroupAndGroupAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==u)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"resource")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"workWithGroupAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getResourceGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceGroupMemberAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"group")),null!=u&&(r=this.addToHttpParams(r,u,"member")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getUserAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserFacilityAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==u)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)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 d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"facility")),null!=o&&(d=this.addToHttpParams(d,o,"resource")),null!=u&&(d=this.addToHttpParams(d,u,"group")),null!=l&&(d=this.addToHttpParams(d,l,"user")),null!=s&&(d=this.addToHttpParams(d,s,"member")),n&&n.forEach(bt=>{d=this.addToHttpParams(d,bt,"attributes[]")});let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}removeAttributesForFacilityResourceUserMember(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==u)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"facility")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"user")),null!=l&&(a=this.addToHttpParams(a,l,"member")),s&&s.forEach(jt=>{a=this.addToHttpParams(a,jt,"attributes[]")});let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}removeEntitylessAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"key")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupResourceAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeHostAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHostAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")}),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeMemberResourceAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberResourceAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeResourceAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUesAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserExtSourceAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserFacilityAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeUserFacilityAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeVoAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setAttributePolicyCollections(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setAttributeRights(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setEntitylessAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityResourceGroupUserMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityResourceUserMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setHostAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setHostAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupWithUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAndUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberWithUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceGroupWithGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserExtSourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserExtSourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserFacilityAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setVoAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setVoAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),v=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}auditMessagesManagerLog(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"msg"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createAuditerConsumer(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consumerName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAuditerConsumers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAuditerMessagesCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getLastMessageId(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMessages(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"count"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMessagesByCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"count"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMessagesPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMessagesPage was null or undefined when calling getMessagesPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}pollConsumerMessages(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consumerName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}setLastProcessedId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==o)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consumerName")),null!=o&&(n=this.addToHttpParams(n,o,"lastProcessedId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),I=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAllPolicies(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllRolesManagementRules(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAuthzAdminGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==o)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"role")),null!=o&&(t=this.addToHttpParams(t,o,"complementaryObjectId")),null!=u&&(t=this.addToHttpParams(t,u,"complementaryObjectName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAuthzRichAdmins(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"role")),null!=o&&(d=this.addToHttpParams(d,o,"complementaryObjectId")),null!=u&&(d=this.addToHttpParams(d,u,"complementaryObjectName")),l&&l.forEach(bt=>{d=this.addToHttpParams(d,bt,"specificAttributes")}),null!=s&&(d=this.addToHttpParams(d,s,"allUserAttributes")),null!=n&&(d=this.addToHttpParams(d,n,"onlyDirectAdmins"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}getFacilitiesWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupRoleNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupRoles(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"groupId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getLoggedUser(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMembersWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getPerunPrincipal(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPrincipalRoleNames(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getResourcesWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserRoleNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserRoles(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isFacilityAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isGroupAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isPerunAdmin(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}isVoAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}keepAlive(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}loadAuthorizationComponents(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}setRoleWithGroupComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setRoleWithUserComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unsetRoleWithGroupComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unsetRoleWithUserComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),A=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}changeConsentStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consent")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}evaluateConsentsForConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling evaluateConsentsForConsentHub.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consentHub"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForConsentHub`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}evaluateConsentsForService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling evaluateConsentsForService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForService`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllConsentHubs(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllConsents(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getConsentById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentForUserAndConsentHub(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==o)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==u)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"consentHub")),null!=u&&(t=this.addToHttpParams(t,u,"status"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getConsentHubByFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentHubById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentHubByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consentHub"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForConsentHubWithStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consentHub")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getConsentsForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForUserAndConsentHub(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==o)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"consentHub"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getConsentsForUserWithStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateConsentHub was null or undefined when calling updateConsentHub.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),j=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addExtSourceWithGroupSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addExtSourceWithVoSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createExtSourceFromExtSourceObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ExtSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createExtSourceWithNameType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==o)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSourceByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSources(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getGroupExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}loadExtSourcesDefinitions(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeExtSourceWithGroupSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeExtSourceWithVoSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),G=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addFacilityAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminGroupByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminUserByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByFacilityNameOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHost(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==o)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"hostname"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHostByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==o)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"hostname"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==o)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hostnames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHostsByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==o)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hostnames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignSecurityTeam(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignSecurityTeamByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwners(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"description"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllowedGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedGroupsByFacilityName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedRichGroupsWithAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"vo")),null!=l&&(r=this.addToHttpParams(r,l,"service"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllowedRichGroupsWithAttributesByFacilityName(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"vo")),null!=l&&(r=this.addToHttpParams(r,l,"service"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllowedUsersOfFacility(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedUsersOfFacilityByFacilityName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedVosByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesByAssignedServiceForFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedResourcesForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesForFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForFacilityAndService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityAndService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesForFacilityAndService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedRichResourcesForFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedSecurityTeams(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedSecurityTeamsByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedUsers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedUsersByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getBansForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facilityId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEnrichedFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getEnrichedHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilitiesByAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeName")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilitiesByDestination(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesByHostName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFacilitiesWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAdminGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAdminUsers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAdminUsersByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityBan(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityForHost(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityOwners(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityOwnersByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHosts(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsByHostname(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsCountByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getOwnerFacilities(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"owner"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeBanByUserIdFacilityId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminGroupByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminUserByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeFacilityOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByFacilityNameOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHost(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeHostByHostname(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==o)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hosts[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHostsByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==o)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hosts[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSecurityTeam(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSecurityTeamByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setFacilityBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFacility was null or undefined when calling updateFacility.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFacilityBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),he=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling addMember.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==o)throw new Error("Required parameter members was null or undefined when calling addMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"members[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}allowGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling allowGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling allowGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/allowGroupToHierarchicalVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}canExtendMembershipInGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createGroupUnion(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==o)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resultGroup")),null!=o&&(n=this.addToHttpParams(n,o,"operandGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createGroupWithParentGroupNameDescription(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"parentGroup")),null!=o&&(t=this.addToHttpParams(t,o,"name")),null!=u&&(t=this.addToHttpParams(t,u,"description"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}createGroupWithVoNameDescription(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"name")),null!=u&&(t=this.addToHttpParams(t,u,"description"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}deleteGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputDeleteGroups was null or undefined when calling deleteGroups.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}disallowGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling disallowGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling disallowGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/disallowGroupToHierarchicalVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}extendMembershipInGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}forceAllSubGroupsSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceGroupStructureSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceGroupSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAllowedGroupsToHierarchicalVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllAllowedGroupsToHierarchicalVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllGroupsFromAllVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllMemberGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attrNames[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichGroupsWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllRichSubGroupsWithGroupAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==o)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"name"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupMemberById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCountsByGroupStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCountsByVoStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupRichMembersByIds(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==o)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"members[]")}),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupUnions(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==o)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"reverseDirection"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getGroupsWhereMemberIsActive(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getGroupsWhereMemberIsActive.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsWhereMemberIsActive`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getIndirectMembershipPaths(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberRichGroupsWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichGroupByIdWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"groupId")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSubgroupsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getVoAllAllowedGroupsToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isAllowedGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling isAllowedGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling isAllowedGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isAllowedGroupToHierarchicalVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isGroupMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==o)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}moveGroupWithDestinationGroupMovingGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"destinationGroup")),null!=i&&(n=this.addToHttpParams(n,i,"movingGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupUnion(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==o)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resultGroup")),null!=o&&(n=this.addToHttpParams(n,o,"operandGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeMember.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==o)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"members[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setGroupsMemberStatus(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==o)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==u)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"status"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateGroup was null or undefined when calling updateGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),be=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}canExtendMembership(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createMemberForCandidate(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createMemberForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createMemberFromExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSpecificMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSpecificMember was null or undefined when calling createSpecificMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMembers was null or undefined when calling createSponsoredMembers.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMembersFromCSV(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"members[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}extendMembership(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}findCompleteRichMembersByAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrsNames[]")}),null!=o&&(t=this.addToHttpParams(t,o,"searchString")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"allowedStatuses[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}findCompleteRichMembersForGroup(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==l)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"group")),o&&o.forEach(bt=>{d=this.addToHttpParams(d,bt,"attrsNames[]")}),s&&s.forEach(bt=>{d=this.addToHttpParams(d,bt,"allowedStatuses[]")}),n&&n.forEach(bt=>{d=this.addToHttpParams(d,bt,"allowedGroupStatuses[]")}),null!=u&&(d=this.addToHttpParams(d,u,"searchString")),null!=l&&(d=this.addToHttpParams(d,l,"lookingInParentGroup"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}findCompleteRichMembersForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"allowedStatuses[]")}),null!=u&&(r=this.addToHttpParams(r,u,"searchString"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}findMembersInVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"searchString"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findSponsoredCompleteRichMembersForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==l)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"searchString")),null!=l&&(r=this.addToHttpParams(r,l,"onlySponsored"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllMembers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllNamespacesRules(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllSponsoredMembersAndTheirSponsors(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getCompleteRichMembersForGroup(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),u&&u.forEach(jt=>{a=this.addToHttpParams(a,jt,"allowedStatuses[]")}),l&&l.forEach(jt=>{a=this.addToHttpParams(a,jt,"allowedGroupStatuses[]")}),null!=o&&(a=this.addToHttpParams(a,o,"lookingInParentGroup")),s&&s.forEach(jt=>{a=this.addToHttpParams(a,jt,"attrsNames[]")});let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getCompleteRichMembersForGroupResource(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==u)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==l)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"allowedStatuses[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getCompleteRichMembersForVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"allowedStatuses[]")}),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrsNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==u)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"extLogin")),null!=u&&(t=this.addToHttpParams(t,u,"extSourceName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberByUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMembersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getMembersWithStatusCount(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichMemberWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichMembersByIds(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"ids[]")}),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichMembersNoUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsoredMembersAndTheirSponsors(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsByMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsByVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"extSourceName")),null!=u&&(r=this.addToHttpParams(r,u,"extLogin")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}moveMembership(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==o)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==u)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"sourceUser")),null!=u&&(t=this.addToHttpParams(t,u,"targetUser"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeSponsor(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"sponsor"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendAccountActivationLinkEmail(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==l)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"namespace")),null!=u&&(r=this.addToHttpParams(r,u,"emailAttributeURN")),null!=l&&(r=this.addToHttpParams(r,l,"language"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sendPasswordResetLinkEmail(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==l)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"member")),null!=o&&(a=this.addToHttpParams(a,o,"namespace")),null!=u&&(a=this.addToHttpParams(a,u,"emailAttributeURN")),null!=l&&(a=this.addToHttpParams(a,l,"language")),null!=s&&(a=this.addToHttpParams(a,s,"baseUrl"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}setSponsoredMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setSponsorshipForMember(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"sponsoredMember")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}setStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling setStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sponsorMember(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateSponsorshipValidity(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}validateMemberAsync(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),pe=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}createOwner(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateOwner was null or undefined when calling createOwner.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"owner")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllOwners(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getOwnerById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getOwnerByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"owner"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),ye=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}sentMessageToRTWithMemberQueue(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"memberId")),null!=o&&(r=this.addToHttpParams(r,o,"queue")),null!=u&&(r=this.addToHttpParams(r,u,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sentMessageToRTWithQueue(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"queue")),null!=o&&(t=this.addToHttpParams(t,o,"subject")),null!=u&&(t=this.addToHttpParams(t,u,"text"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"voId")),null!=o&&(t=this.addToHttpParams(t,o,"subject")),null!=u&&(t=this.addToHttpParams(t,u,"text"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVoQueue(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"voId")),null!=o&&(r=this.addToHttpParams(r,o,"queue")),null!=u&&(r=this.addToHttpParams(r,u,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),T=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addApplicationMailForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addApplicationMailForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addGroupsToAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}approveApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}checkForSimilarRichIdentities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}checkForSimilarUsersWithAuthInfo(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}consolidate(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}consolidateIdentityUsingToken(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"token"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}copyFormFromGroupToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromGroupToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromVoToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromVoToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromGroupToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromGroupToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromVoToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromVoToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createApplicationFormInGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createApplicationFormInVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteApplicationMailForGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==o)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"id"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteApplicationMailForVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==o)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"id"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteGroupsFromAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationDataById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationMailsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationMailsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationsForGroup(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"state[]")}),null!=u&&(r=this.addToHttpParams(r,u,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getApplicationsForMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getApplicationsForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"state[]")}),null!=u&&(r=this.addToHttpParams(r,u,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getApplicationsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getConsolidatorToken(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFormItemsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFormItemsForGroupWithType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFormItemsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFormItemsForVoWithType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupApplicationForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsToAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoApplicationForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}rejectApplication(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"id")),null!=o&&(n=this.addToHttpParams(n,o,"reason"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendInvitation(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let r=new e.LE({encoder:this.encoder});null!=u&&(r=this.addToHttpParams(r,u,"voId")),null!=l&&(r=this.addToHttpParams(r,l,"name")),null!=i&&(r=this.addToHttpParams(r,i,"email")),null!=o&&(r=this.addToHttpParams(r,o,"language"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sendInvitationForGroup(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new e.LE({encoder:this.encoder});null!=u&&(a=this.addToHttpParams(a,u,"voId")),null!=l&&(a=this.addToHttpParams(a,l,"groupId")),null!=s&&(a=this.addToHttpParams(a,s,"name")),null!=i&&(a=this.addToHttpParams(a,i,"email")),null!=o&&(a=this.addToHttpParams(a,o,"language"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}sendInvitationGroupToExistingUser(i,o,u,l="body",s=!1,n){let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"userId")),null!=o&&(t=this.addToHttpParams(t,o,"voId")),null!=u&&(t=this.addToHttpParams(t,u,"groupId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sendInvitationToExistingUser(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userId")),null!=o&&(n=this.addToHttpParams(n,o,"voId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendMessage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setSendingEnabled(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}submitApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateApplicationMail(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemData(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsData(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}verifyApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),R=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}activateGroupResourceAssignment(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"async"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}addAdminToGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addAdminToUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addResourceSelfServiceGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addResourceSelfServiceUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}allowGroupsToResources(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"groups[]")}),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"resources[]")}),null!=u&&(t=this.addToHttpParams(t,u,"async"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}assignGroupToResource(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignGroupToResources(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),o&&o.forEach(jt=>{a=this.addToHttpParams(a,jt,"resources[]")}),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignGroupsToResource(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let a=new e.LE({encoder:this.encoder});i&&i.forEach(jt=>{a=this.addToHttpParams(a,jt,"groups[]")}),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignResourceTagToResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}assignService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling assignService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==o)throw new Error("Required parameter services was null or undefined when calling assignServices.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==o)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"servicesPackage"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createResource(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==u)throw new Error("Required parameter name was null or undefined when calling createResource.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"facility")),null!=u&&(r=this.addToHttpParams(r,u,"name")),null!=l&&(r=this.addToHttpParams(r,l,"description"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}createResourceTagWithResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createResourceTagWithTagName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"tagName")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deactivateGroupResourceAssignment(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteAllResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteAllResourcesTagsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAdminGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAdmins(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllResourcesByResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAllResourcesTagsForResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesTagsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedUsersOfResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedMembersWithStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithMemberService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedServicesToResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEnrichedResourceById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"id")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEnrichedResourcesForFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEnrichedResourcesForVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupAssignments(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMailingServiceRichResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMailingServiceRichResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getMailingServiceRichResourcesWithMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceAssignments(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceBan(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==u)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"name"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesCountForAll(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getResourcesCountForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesFromVoWhereUserIsAdmin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourcesWhereGroupIsAdmin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"group"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourcesWhereUserIsAdmin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"user"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRichAdmins(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==u)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==l)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"specificAttributes")}),null!=u&&(r=this.addToHttpParams(r,u,"allUserAttributes")),null!=l&&(r=this.addToHttpParams(r,l,"onlyDirectAdmins"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRichResourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichResourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeAllResourceTagsFromResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeBanByMemberAndResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAdminResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupFromResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupFromResources(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"resources[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupsFromResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeResourceSelfServiceGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceSelfServiceUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceTagFromResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}removeService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling removeService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==o)throw new Error("Required parameter services was null or undefined when calling removeServices.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==o)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"servicesPackage"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAdminResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setResourceBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unallowGroupsFromResources(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"resources[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateResourceBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),L=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAttributesMatchResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMatchResources was null or undefined when calling getAttributesMatchResources.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getResources/attributes-match`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAttributesResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetResources was null or undefined when calling getAttributesResources.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getResources/attributes`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getFacilities(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetFacilities was null or undefined when calling getFacilities.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getFacilities`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getMembersByUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMembersByUserAttributes was null or undefined when calling getMembersByUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getMembersByUserAttributes`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getUsersSearcher(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetUsers was null or undefined when calling getUsersSearcher.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getUsers`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),X=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addDestination(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==l)throw new Error("Required parameter type was null or undefined when calling addDestination.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"service")),null!=o&&(a=this.addToHttpParams(a,o,"facility")),null!=u&&(a=this.addToHttpParams(a,u,"destination")),null!=l&&(a=this.addToHttpParams(a,l,"type")),null!=s&&(a=this.addToHttpParams(a,s,"propagationType"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}addDestinationToMultipleServices(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addDestinationsForAllServicesOnFacility(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==u)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),null!=o&&(r=this.addToHttpParams(r,o,"destination")),null!=u&&(r=this.addToHttpParams(r,u,"type")),null!=l&&(r=this.addToHttpParams(r,l,"propagationType"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}addRequiredAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addRequiredAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addServiceToServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==o)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"servicesPackage")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockAllServicesOnDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}blockAllServicesOnDestinationByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"destination")),null!=o&&(n=this.addToHttpParams(n,o,"destinationType"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockAllServicesOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}blockServiceOnDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockServiceOnDestinationWithNameAndType(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"destination")),null!=u&&(t=this.addToHttpParams(t,u,"destinationType"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}blockServiceOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createService(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==u)throw new Error("Required parameter script was null or undefined when calling createService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"name")),null!=o&&(t=this.addToHttpParams(t,o,"description")),null!=u&&(t=this.addToHttpParams(t,u,"script"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}createServiceWithService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateService was null or undefined when calling createServiceWithService.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServicesPackageByNameAndDescription(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"description"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling deleteService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceServicePropagation(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllDestinations(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllRichDestinationsForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichDestinationsForService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedServices(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedServicesVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServicesVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getAssignedServicesVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices/f-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDataWithGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDataWithVos(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDestinationsCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFacilitiesDestinations(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAssignedServicesForGUI(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFlatData(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHashedDataWithGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"consentEval"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getHashedHierarchicalData(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"consentEval"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getHierarchicalData(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getServiceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServiceByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServices(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getServicesBlockedOnDestination(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesBlockedOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesByAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesFromServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackageById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackageByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackages(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}isServiceBlockedOnDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isServiceBlockedOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}planServicePropagation(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAllDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAllRequiredAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeDestination(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==l)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"facility")),null!=u&&(r=this.addToHttpParams(r,u,"destination")),null!=l&&(r=this.addToHttpParams(r,l,"type"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeRequiredAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeRequiredAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServiceFromServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==o)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"servicesPackage")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockAllServicesOnDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}unblockAllServicesOnDestinationByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"destination")),null!=o&&(n=this.addToHttpParams(n,o,"destinationType"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockAllServicesOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}unblockServiceOnDestinationById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockServiceOnDestinationByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"destination")),null!=u&&(t=this.addToHttpParams(t,u,"destinationType"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}unblockServiceOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateService was null or undefined when calling updateService.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Y=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}countTasks(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}deleteTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskIdObject was null or undefined when calling deleteTask.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskResultIdObject was null or undefined when calling deleteTaskResultById.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultsIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultsNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAllFacilitiesStates(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"voId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityServicesState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTask(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getTask.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getTaskById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"taskResult"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResults(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getTaskResultsByTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForDestinations(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"destinations[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForGUIByTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForGUIByTaskAndDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"task")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getTaskResultsForGUIByTaskOnlyNewest(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isThereSuchTask(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}listAllTasks(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}listAllTasksForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}suspendTasksPropagation(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"suspend"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),se=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addSpecificUserOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==o)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"specificUser"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addUserExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}anonymizeUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}changeNonAuthzPasswordByToken(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}changePasswordForLogin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}changePasswordForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}checkPasswordResetRequestByTokenIsValid(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"token"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}checkPasswordStrength(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createAlternativePassword(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServiceUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteAlternativePassword(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==o)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==u)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"loginNamespace")),null!=u&&(t=this.addToHttpParams(t,u,"passwordId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}deletePasswordForLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"login")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deletePasswordForUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findRichUsers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"searchString"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}findRichUsersWithAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"searchString")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrsNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findUsers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"searchString"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}generateAccountForName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"namespace")),null!=o&&(n=this.addToHttpParams(n,o,"name"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllRichUsersWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"includedSpecificUsers"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsForFacilityWhereUserIsActive(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsForResourceWhereUserIsActive(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getPendingPreferredEmailChanges(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUserExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUserWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersWithAttributesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersWithoutVoWithAttributes(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attrsNames[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSpecificUsersByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsorsForMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsForMemberByVoAndLogin(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"extSourceName")),null!=u&&(r=this.addToHttpParams(r,u,"extLogin")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getUserByExtSourceNameAndExtLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"extLogin")),null!=o&&(n=this.addToHttpParams(n,o,"extSourceName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceByExtLoginAndExtSourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==o)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"extSourceName")),null!=o&&(n=this.addToHttpParams(n,o,"extSourceLogin"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceByUniqueAttributeValueAndAttributeId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeId")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeName")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getUsersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsersBySpecificUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"specificUser"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsersPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getVosWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosWhereUserIsMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isLoginAvailable(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==o)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"loginNamespace")),null!=o&&(n=this.addToHttpParams(n,o,"login"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}loginExist(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSpecificUserOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==o)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"specificUser"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserExtSource(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==o)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"userExtSource")),null!=u&&(t=this.addToHttpParams(t,u,"force"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}requestPreferredEmailChange(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==o)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"user")),null!=o&&(d=this.addToHttpParams(d,o,"email")),null!=u&&(d=this.addToHttpParams(d,u,"lang")),null!=l&&(d=this.addToHttpParams(d,l,"linkPath")),null!=s&&(d=this.addToHttpParams(d,s,"customUrl")),null!=n&&(d=this.addToHttpParams(d,n,"idpFilter"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}reservePasswordForLogin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}reservePasswordForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}reserveRandomPassword(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setLogin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==o)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==u)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"login")),null!=u&&(t=this.addToHttpParams(t,u,"namespace"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateUserExtSourceLastAccess(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}validatePasswordForLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"login")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}validatePasswordForUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}validatePreferredEmailChangeWithToken(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==o)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"token")),null!=o&&(n=this.addToHttpParams(n,o,"u"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Te=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAppsConfig(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getGuiConfiguration(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunRPCVersion(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunStatistics(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunStatus(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunSystemTimeInMillis(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Oe=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addMemberVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addSponsorRoleToGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addSponsorRoleToUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addVoAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addVoAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createVoWithName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==o)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"shortName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createVoWithVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findCandidates(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"id")),null!=o&&(t=this.addToHttpParams(t,o,"searchString")),null!=u&&(t=this.addToHttpParams(t,u,"maxNumOfResults"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}findCandidatesForGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"searchString"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getCompleteCandidatesForGroup(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"searchString"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getCompleteCandidatesForVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"searchString"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getEnrichedVoById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMyEnrichedVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMyVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getParentVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichAdminsForVo(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==u)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==l)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"vo")),null!=o&&(a=this.addToHttpParams(a,o,"role")),u&&u.forEach(jt=>{a=this.addToHttpParams(a,jt,"specificAttributes")}),null!=l&&(a=this.addToHttpParams(a,l,"allUserAttributes")),null!=s&&(a=this.addToHttpParams(a,s,"onlyDirectAdmins"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getVoAdminGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"role"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAdminUsers(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==u)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"role")),null!=u&&(t=this.addToHttpParams(t,u,"onlyDirectAdmins"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getVoBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoBanForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoBansForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoByShortName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"shortName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoMembersCountsByStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeMemberVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSponsorRoleFromGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSponsorRoleFromUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeVoBanForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}setVoBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoBan was null or undefined when calling setVoBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateVo was null or undefined when calling updateVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const ue={ID:"ID",DATE_CREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUP_NAME:"GROUP_NAME",MODIFIED_BY:"MODIFIED_BY"},Ae={HTML_COMMENT:"HTML_COMMENT",SUBMIT_BUTTON:"SUBMIT_BUTTON",AUTO_SUBMIT_BUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATED_EMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDED_GROUP_APPLICATION:"EMBEDDED_GROUP_APPLICATION",LIST_INPUT_BOX:"LIST_INPUT_BOX",MAP_INPUT_BOX:"MAP_INPUT_BOX"};let H=(()=>{class D{constructor(i,o){if(i)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!o)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:D,providers:[{provide:b,useFactory:i}]}}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(D,12),g.LFG(e.eN,8))},D.\u0275mod=g.oAB({type:D}),D.\u0275inj=g.cJS({providers:[],imports:[[]]}),D})()},19516:(qe,me,h)=>{"use strict";h.d(me,{bY:()=>G.b,r5:()=>b.r,d4:()=>g,dp:()=>w.d});var e=h(69808),c=h(5e3);let g=(()=>{class Q{}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({imports:[[e.ez]]}),Q})();var w=h(31359),b=(h(34447),h(82895)),G=(h(12856),h(20919),h(5865),h(53561),h(16119),h(7598),h(9954),h(4765))},34447:(qe,me,h)=>{"use strict";h.d(me,{a:()=>w});var e=h(32080),c=h(5e3),g=h(51062);let w=(()=>{class _{constructor(E,v){this.translate=E,this.storage=v}transform(E,v="en"){const I=this.storage.get("custom_labels");if(I)for(const N of I)if(N.label===E)return N[v];return E}}return _.\u0275fac=function(E){return new(E||_)(c.Y36(g.sK,16),c.Y36(e.d6,16))},_.\u0275pipe=c.Yjl({name:"customTranslate",type:_,pure:!0}),_})()},4765:(qe,me,h)=>{"use strict";h.d(me,{b:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.namespace.includes("virt")||_.namespace.includes("core")||_.namespace.includes("entityless")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"disableUniqueAttribute",type:g,pure:!0}),g})()},82895:(qe,me,h)=>{"use strict";h.d(me,{r:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_,b){return b?`/organizations/${_.voId}/resources/${_.id}`:`/facilities/${_.facilityId}/resources/${_.id}`}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(qe,me,h)=>{"use strict";h.d(me,{F:()=>w});var e=h(9244),c=h(64080),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const v=(0,e.IL)(E.attributes,c.r.GROUP_SYNC_ENABLED),I=(0,e.IL)(E.attributes,c.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const N=I.value;if("true"===v.value){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"red":null!==Q&&Q.trim().length>0?"green":""}if(N){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"red":null!==Q&&Q.trim().length>0?"green":""}return""}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:_,pure:!0}),_})()},29218:(qe,me,h)=>{"use strict";h.d(me,{J:()=>w});var e=h(64080),c=h(9244),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"";const v=(0,c.IL)(E.attributes,e.r.GROUP_SYNC_ENABLED),I=(0,c.IL)(E.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"";const N=I.value;if("true"===v.value){const q=(0,c.IL)(E.attributes,e.r.GROUP_LAST_SYNC_STATE),j=(0,c.IL)(E.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==Q&&Q.trim(),"sync")}if(N){const q=(0,c.IL)(E.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,c.IL)(E.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==Q&&Q.trim(),"sync")}return"sync_disabled"}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:_,pure:!0}),_})()},45942:(qe,me,h)=>{"use strict";h.d(me,{r:()=>w});var e=h(9244),c=h(64080),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const v=(0,e.IL)(E.attributes,c.r.GROUP_SYNC_ENABLED),I=(0,e.IL)(E.attributes,c.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const N=I.value;if("true"===v.value){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==Q&&Q.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(N){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==Q&&Q.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:_,pure:!0}),_})()},20919:(qe,me,h)=>{"use strict";h.d(me,{D:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.g$)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberEmail",type:w,pure:!0}),w})()},5865:(qe,me,h)=>{"use strict";h.d(me,{p:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.lt)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberLogins",type:w,pure:!0}),w})()},96974:(qe,me,h)=>{"use strict";h.d(me,{M:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.Gw)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberOrganization",type:w,pure:!0}),w})()},69773:(qe,me,h)=>{"use strict";h.d(me,{u:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){switch(_){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(qe,me,h)=>{"use strict";h.d(me,{f:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){switch(_){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return _}}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(qe,me,h)=>{"use strict";h.d(me,{i:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b,E){var v,I;let N=null,A=null;b.memberAttributes&&(N=b.memberAttributes.find(j=>"membershipExpiration"===j.friendlyName),A=b.memberAttributes.find(j=>"groupMembershipExpiration"===j.friendlyName));let q="";return q=E?`\n Group status: ${(0,e.Oe)(b.groupStatus)}, Expiration: ${null!==(v=null==A?void 0:A.value)&&void 0!==v?v:"never"}`:b.memberAttributes?`Status: ${(0,e.Oe)(b.status,b.groupStatus)}\n Vo status: ${(0,e.Oe)(b.status)}, Expiration: ${null!==(I=null==N?void 0:N.value)&&void 0!==I?I:"never"}`:`Status: ${(0,e.Oe)(b.status,b.groupStatus)}\n Vo status: ${(0,e.Oe)(b.status)}`,q}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberStatusTooltip",type:w,pure:!0}),w})()},20551:(qe,me,h)=>{"use strict";h.d(me,{l:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.replace("VALID","ACTIVE")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(qe,me,h)=>{"use strict";h.d(me,{R:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(qe,me,h)=>{"use strict";h.d(me,{M:()=>g});var e=h(69808),c=h(5e3);let g=(()=>{class w{transform(b,E){return"voRules"===b?"Vo rules":"groupRules"===b?"Group rules":b&&"never"!==b.toLowerCase()?(0,e.p6)(b.replace(" ","T"),"d.M.yyyy "+(E?"H:mm:ss":""),"en"):"never"}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"parseDate",type:w,pure:!0}),w})()},53561:(qe,me,h)=>{"use strict";h.d(me,{J:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.te)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"technicalOwners",type:w,pure:!0}),w})()},16119:(qe,me,h)=>{"use strict";h.d(me,{S:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.kN)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userEmail",type:w,pure:!0}),w})()},31359:(qe,me,h)=>{"use strict";h.d(me,{d:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return[_.titleBefore,_.firstName,_.middleName,_.lastName,_.titleAfter].join(" ")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(qe,me,h)=>{"use strict";h.d(me,{g:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.$0)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userLogins",type:w,pure:!0}),w})()},9954:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.OV)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userVo",type:w,pure:!0}),w})()},32080:(qe,me,h)=>{"use strict";h.d(me,{yC:()=>Te,F5:()=>Y,sM:()=>We,eE:()=>Ae,e8:()=>A,EB:()=>be,Be:()=>ne,Hy:()=>P,ly:()=>ue,fb:()=>it,xw:()=>ge,x4:()=>w,v0:()=>G,SZ:()=>Oe,V6:()=>se,jq:()=>fe,BN:()=>de,Ip:()=>ze,HV:()=>ce,d6:()=>v,UA:()=>Le});var e=h(32105),c=h(45323),g=h(5e3);let w=(()=>{class ee{constructor(V){this.authzSevice=V,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(V){this.principal=V,this.initData(V)}setPerunPolicies(V){this.perunPolicies=V}getPerunPolicies(){return this.perunPolicies}isAuthorized(V,H){if(null===this.principal.roles)return!1;const D=this.fetchPolicyWithAllIncludedPolicies(V);let O=[];for(const o of D)O=O.concat(o.perunRoles);const i=this.fetchAllRelatedObjects(H);return this.resolveAuthorization(O,i)}principalHasRole(V,H,D){let O=H;return H.startsWith("Rich")&&(O=H.substring(4)),!(!this.principal.roles[V]||!this.principal.roles[V][O])&&this.principal.roles[V][O].includes(Number(D.toString()))}canManageFacilities(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER,c.u.FACILITYADMIN,c.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(c.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.VOADMIN)}isThisVoAdminOrObserver(V){return this.editableVos.includes(Number(V.toString()))||this.observableVos.includes(Number(V.toString()))||this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)}isThisVoAdmin(V){return this.editableVos.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(c.u.SPONSOR)}isThisGroupAdmin(V){return this.editableGroups.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isGroupAdminInThisVo(V){return this.hasGroupInTheseVos.includes(V)}isFacilityAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.FACILITYADMIN)}isThisFacilityAdmin(V){return this.editableFacilities.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(c.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.VOOBSERVER,c.u.PERUNOBSERVER)}isThisVoObserver(V){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)||this.observableVos.includes(V)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((V,H)=>{this.authzSevice.getAllRolesManagementRules().subscribe(D=>{this.allRolesManagementRules=D,V()},D=>H(D))})}assignAvailableRoles(V,H){this.allRolesManagementRules.forEach(D=>{D.primaryObject===H&&V.push(D.roleName)}),V.sort(),"Vo"===H&&this.voCustomSort(V)}isManagerPagePrivileged(V){const H=[];let D=V.beanName;D.startsWith("Rich")&&(D=D.substring(4)),this.assignAvailableRoles(H,D);const O=new Map;this.setRolesAuthorization(H,V,O);for(const i of O.values())if(i.readAuth||i.manageAuth)return!0;return!1}setRolesAuthorization(V,H,D){for(const O of V){let i=[],o=[],u=[];for(const r of this.allRolesManagementRules)if(r.roleName===O){i=i.concat(r.privilegedRolesToRead),o=o.concat(r.privilegedRolesToManage);for(const a of Object.keys(r.entitiesToManage))u="User"===a?[a].concat(u):u.concat(a);break}const l=this.fetchAllRelatedObjects([H]),s=this.resolveAuthorization(i,l),n=this.resolveAuthorization(o,l);D.set(O,{readAuth:s,manageAuth:n,modes:u})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(V){for(const H of this.allRolesManagementRules)if(H.roleName===V)return H.primaryObject;return""}resolveAuthorization(V,H){for(const D of V){let O=!0;for(const i of Object.keys(D)){const o=D[i];if(null===o)this.principalRoles.has(i)||(O=!1);else if(H[o]){for(const u of H[o])if(!this.principalHasRole(i,o,u)){O=!1;break}}else O=!1;if(!O)break}if(O)return!0}return!1}getPerunPolicy(V){for(const H of this.perunPolicies)if(H.policyName===V)return H;return null}fetchAllRelatedObjects(V){const H={};for(const D of V){let O=D.beanName;switch(D.beanName.startsWith("Rich")&&(O=D.beanName.substring(4)),H[O]?H[O].push(D.id):H[O]=[D.id],O){case"Member":H.User?H.User.push(D.userId):H.User=[D.userId],H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId];break;case"Group":case"ResourceTag":H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId];break;case"Resource":H.Facility?H.Facility.push(D.facilityId):H.Facility=[D.facilityId],H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId]}}return H}fetchPolicyWithAllIncludedPolicies(V){const H=new Map;let D=[];for(D.push(V);0!==D.length;){const i=D.shift();if(H.has(i))continue;const o=this.getPerunPolicy(i);if(!o)return[];H.set(i,o),D=D.concat(o.includePolicies)}const O=[];for(const i of H.values())O.push(i);return O}voCustomSort(V){for(let H=0;H{class ee{constructor(){this.branding=""}setInstanceConfig(V){this.instanceConfig=V}setDefaultConfig(V){this.defaultConfig=V}getAppsConfig(){return this.appsConfig}setAppsConfig(V){this.appsConfig=V}setPerunPrincipal(V){this.principal=V}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(V){this.initialPageId=V}getLoginAttributeNames(){return this.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(V){this.branding=V}skipOidc(){return this.getProperty("skip_oidc")}getProperty(V){var H,D;const O=[null===(D=null===(H=this.instanceConfig)||void 0===H?void 0:H.brandings)||void 0===D?void 0:D[this.branding],this.instanceConfig,this.defaultConfig];let i=null;for(const o of O)o&&!i&&(i=o[V]);return i}get(...V){let H;if(""!==this.branding){const D=this.instanceConfig.brandings[this.branding];for(let O=0;O{class ee{constructor(V,H,D,O,i){this.injector=V,this.store=H,this.dialog=D,this.route=O,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(b.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(o=>{o.idpFilter&&(this.filterShortname=String(o.idpFilter))})}getClientConfig(){const V=this.setIdpFilter(),O=.5+.25*Math.random(),i=V?{acr_values:V}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(i.prompt="consent"),sessionStorage.getItem("mfa_route")&&(i.acr_values="https://refeds.org/profile/mfa",i.prompt="login",i.max_age="0"),"Linker"===this.store.getProperty("application")){i.prompt="login";const o=(0,E.O5)("idphint",location.search.substring(1));o&&(i.idphint=o)}return{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"),clockSkewInSec:1,timeoutFactor:O,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:i}}setIdpFilter(){const V=location.search.substring(1).split("&");this.filterShortname=null;const H=this.store.get("oidc_client","filters");if(!H)return null;let D=null;return V.forEach(O=>{const i=O.split("=");"idpFilter"===i[0]&&H[i[1]]&&(this.filterShortname=i[1],D=H[i[1]])}),H.default&&!D?(this.filterShortname="default",H.default):D}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const V=location.pathname,H=location.search.substring(1);return"/api-callback"===V?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(V,H).then(D=>D?this.startRefreshToken():new Promise(O=>O(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(V=>!!V&&(this.oauthService.events.pipe((0,_.h)(H=>"token_expires"===H.type&&"access_token"===H.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const V=sessionStorage.getItem("mfa_route");if(V)return this.router.navigate([V],{replaceUrl:!0});let H=sessionStorage.getItem("auth:redirect");const D=sessionStorage.getItem("auth:queryParams");let O=[];D&&(O=D.split("&"));const i={};return O.forEach(o=>{const u=o.split("=");i[u[0]]=u[1]}),(!H||"/login"===H)&&(H="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=String(i.idpFilter)),this.router.navigate([H],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,_.h)(V=>V instanceof b.m2)).subscribe(()=>{const V={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===V.idpFilter?{}:V,queryParamsHandling:"merge",replaceUrl:!0})})}isPotentiallyValidPath(V){const H=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===V)return!0;for(const D of H)if(V.startsWith(D))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(V,H){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(D=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",H),localStorage.removeItem("access_token"),!1):!!D||(this.isPotentiallyValidPath(V)?(sessionStorage.setItem("auth:redirect",V),sessionStorage.setItem("auth:queryParams",H),!1):new Promise((O,i)=>i("Invalid path"))))}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(g.zs3),g.LFG(v),g.LFG(I.uw),g.LFG(b.gz),g.LFG(N.Ct))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var q=h(51062);let j=(()=>{class ee{constructor(V){this.dialogRef=V}}return ee.\u0275fac=function(V){return new(V||ee)(g.Y36(I.so))},ee.\u0275cmp=g.Xpm({type:ee,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(V,H){1&V&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&V&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[I.xY],pipes:[q.X$],styles:[""]}),ee})(),G=(()=>{class ee{constructor(V,H,D,O,i,o){this.authService=V,this.storeService=H,this.authResolver=D,this.authzService=O,this.dialog=i,this.router=o,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(V){this.loginScreenShown=V}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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(V=>V(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(V=>{if(null===V.user){const H=(0,E.kZ)();this.dialog.open(j,H)}else{this.storeService.setPerunPrincipal(V),this.authResolver.init(V);const H=localStorage.getItem("routeAuthGuard");H&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([H]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(V=>{this.storeService.setPerunPrincipal(V)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(V=>{V()});if(this.storeService.get("auto_auth_redirect"))return localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const V=location.search.substr(1).split("&"),H={};for(const D of V){const O=D.split("=");H[O[0]]=O[1]}return void this.router.navigate(["login"],{queryParams:H,queryParamsHandling:"merge"})}}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(A),g.LFG(v),g.LFG(w),g.LFG(e.Ct),g.LFG(I.uw),g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Q=h(25245),he=h(22313);let be=(()=>{class ee{constructor(V,H){this.matIconRegistry=V,this.domSanitizer=H,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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(V=>{this.matIconRegistry.addSvgIcon(V.name,this.domSanitizer.bypassSecurityTrustResourceUrl(V.url))})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(Q.jv),g.LFG(he.H7))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})();var pe=h(40520),ye=h(62843),T=h(28746),R=h(18505),L=h(47423);let X=(()=>{class ee{constructor(V){this.dialogRef=V}close(){this.dialogRef.close(!0)}}return ee.\u0275fac=function(V){return new(V||ee)(g.Y36(I.so))},ee.\u0275cmp=g.Xpm({type:ee,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(V,H){1&V&&(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 H.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&V&&(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:[I.uh,I.xY,I.H8,L.lW],pipes:[q.X$],styles:[""]}),ee})(),Y=(()=>{class ee{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const V=this.handleNextError;return this.handleNextError=!0,V}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),se=(()=>{class ee{constructor(V){this.translate=V,this.addNotification=new g.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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(V,H=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===V.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===V.name?H:H+"\n"+V.name,V,V.message)}showRouteError(){const V=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),H=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(V,null,H)}showError(V,H,D,O,i){this.addNotification.emit({type:"error",error:H,description:D,title:V,actionText:void 0===O&&void 0!==D?this.getDefaultActionMessage():O,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(V,H,D,O){this.addNotification.emit({type:"success",description:H,title:V,actionText:void 0===D&&void 0!==H?this.getDefaultActionMessage():D,delay:this.defaultSuccessDelayMs,icon:"done",action:O,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(q.sK))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Te=(()=>{class ee{constructor(V,H,D,O,i,o){this.authService=V,this.apiRequestConfiguration=H,this.notificator=D,this.store=O,this.dialog=i,this.initAuthService=o}intercept(V,H){const D=this.store.get("api_url");if(V.url.includes("i18n")&&(V=V.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==D&&this.isCallToPerunApi(V.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const o=(0,E.kZ)();o.width="450px",this.dialogRefSessionExpiration=this.dialog.open(X,o),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{(0,T.x)(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?V=V.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(V.url)&&(V=V.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const O=this.apiRequestConfiguration.shouldHandleError(),i="POST"===V.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(V.url);return H.handle(V).pipe((0,R.b)(o=>{o instanceof pe.Zn&&i&&this.initAuthService.loadPrincipal()},o=>{const u=this.formatErrors(o,V);return void 0===u?(0,ye._)(o):O?void this.notificator.showRPCError(u):(0,ye._)(u)}))}isCallToPerunApi(V){return V.startsWith(this.store.get("api_url"))}formatErrors(V,H){let D;console.error(V);const O=V.error;if(O.errorId&&(D=O),void 0!==D)return D.urlWithParams=H.urlWithParams,D.call=H.url,D.payload=H.body,D}isNotConsolidatorOrLinker(){const V=this.store.getProperty("application");return!("Linker"===V||"Consolidator"===V)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(A),g.LFG(Y),g.LFG(se),g.LFG(v),g.LFG(I.uw),g.LFG(G))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),Oe=(()=>{class ee{constructor(){this.newNotificationsCount=0,this.notificationData=[]}storeNotification(V){this.newNotificationsCount++,this.notificationData.push(V)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Se=h(70262);let We=(()=>{class ee{constructor(V,H,D,O){this.http=V,this.notificator=H,this.authService=D,this.storeService=O}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let V=new pe.WM;return V=V.set("Authorization",this.authService.getAuthorizationHeaderValue()),V}get(V,H=!0){const D=`${this.getApiUrl()}${V}`;return this.http.get(D,{headers:this.getHeaders()}).pipe((0,Se.K)(O=>this.formatErrors(O,D,null,H)))}put(V,H={},D=!0){const O=`${this.getApiUrl()}${V}`,i=JSON.stringify(H);return this.http.put(O,i,{headers:this.getHeaders()}).pipe((0,Se.K)(o=>this.formatErrors(o,O,i,D)))}post(V,H={},D=!0){const O=`${this.getApiUrl()}${V}`,i=JSON.stringify(H);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(O,i,{headers:o}).pipe((0,Se.K)(u=>this.formatErrors(u,O,i,D)))}delete(V,H=!0){const D=`${this.getApiUrl()}${V}`;return this.http.delete(D,{headers:this.getHeaders()}).pipe((0,Se.K)(O=>this.formatErrors(O,D,null,H)))}formatErrors(V,H,D,O){const i=V.error;return i.call=H,i.payload=D,O&&this.notificator.showRPCError(V.error),(0,ye._)(i)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(pe.eN),g.LFG(se),g.LFG(A),g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ge=(()=>{class ee{constructor(V){this.router=V,this.lastState="forward",this.history=new Set,V.events.subscribe(H=>{H instanceof b.OD&&("popstate"===H.navigationTrigger?this.history.has(H.restoredState.navigationId)?(this.lastState="back",this.history.delete(H.restoredState.navigationId)):(this.lastState="forward",this.history.add(H.id)):(this.history.add(H.id),this.lastState="forward"))})}forceNavigate(V,H){if(null===V)return;let D="";V.forEach(O=>D+="/"+O),D.length>0&&(D=D.substring(1)),void 0===H&&(H={}),H.queryParams={redirectTo:D},this.router.navigate(["redirect"],H)}getLastState(){return this.lastState}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Le=(()=>{class ee{isAllSelectedWithDisabledCheckbox(V,H,D,O,i,o,u,l){return this.numSelected=V,this.numCanBeSelected=0,this.pageStart=i*D,this.pageEnd=this.pageStart+D,this.pageIterator=0,this.dataLength=""===H?o.data.length:o.filteredData.length,O||(this.modulo=this.dataLength%D,this.pageEnd=0===this.modulo?this.pageStart+D:this.pageStart+this.modulo),o.sortData(o.filteredData,u).forEach(s=>{this.pageStart<=this.pageIterator&&this.pageIterator{l?s(n)&&this.pageStart<=this.pageIterator&&this.pageIterator{class ee{constructor(V,H,D,O){this.membersService=V,this.usersService=H,this.auditMessagesManagerService=D,this.registrarService=O}getMembers(V,H,D,O,i,o,u,l,s,n){return this.membersService.getMembersPage({vo:V,attrNames:H,query:{pageSize:i,offset:O*i,order:D,sortColumn:o,statuses:u,searchString:l,groupId:s,groupStatuses:n}})}getUsers(V,H,D,O,i,o,u,l,s,n,t,r){return this.usersService.getUsersPage({attrNames:V,query:{offset:O*D,pageSize:O,order:H,sortColumn:i,searchString:o,withoutVo:u,facilityId:l,voId:s,resourceId:n,serviceId:t,onlyAllowed:r}})}getAuditMessages(V,H,D){return this.auditMessagesManagerService.getMessagesPage({query:{offset:D*H,pageSize:D,order:V}})}getApplications(V,H,D,O,i,o,u,l,s,n,t,r,a){return this.registrarService.getApplicationsPage({vo:t,query:{pageSize:V,offset:H*V,order:D,sortColumn:O,searchString:o,includeGroupApplications:i,getDetails:a,states:u,dateFrom:l,dateTo:s,userId:n,groupId:r}})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Me=h(61135),z=h(39646);class P{constructor(Ne,V){this.dynamicPaginatingService=Ne,this.authzService=V,this.allObjectCount=0,this.routeAuth=!0,this.dataSubject=new Me.X([]),this.loadingSubject=new Me.X(!1),this.loading$=this.loadingSubject.asObservable()}loadMembers(Ne,V,H,D,O,i,o,u,l,s){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const n=this.latestQueryTime;this.dynamicPaginatingService.getMembers(Ne,V,H,D,O,i,o,u,l,s).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(t=>{if(this.latestQueryTime<=n){const r=t.data;null!==r&&0!==r.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:Ne},r[0]])),this.allObjectCount=t.totalCount,this.dataSubject.next(r)}})}loadUsers(Ne,V,H,D,O,i,o,u,l,s,n,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const r=this.latestQueryTime;this.dynamicPaginatingService.getUsers(Ne,D,H,V,O,i,o,u,l,s,n,t).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(a=>{if(this.latestQueryTime<=r){const d=a.data;this.allObjectCount=a.totalCount,this.dataSubject.next(d)}})}loadAuditMessages(Ne,V,H){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const D=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(H,V,Ne).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(O=>{if(this.latestQueryTime<=D){const i=O.data;this.allObjectCount=O.totalCount,this.dataSubject.next(i)}})}loadApplications(Ne,V,H,D,O,i,o,u,l,s,n,t,r){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const a=this.latestQueryTime;this.dynamicPaginatingService.getApplications(Ne,V,H,D,i,O,o,u,l,s,t,n,null!=r&&r).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(d=>{if(this.latestQueryTime<=a){const f=d.data;if(null!==f&&0!==f.length){const x=f;this.routeAuth=x[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[x[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[x[0].vo])}this.allObjectCount=d.totalCount,this.dataSubject.next(f)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let de=(()=>{class ee{constructor(V,H){this.route=V,this.store=H}getPreferredLanguage(V){const H=this.store.get("supported_languages"),D=navigator.languages.map(o=>o.split("-")[0]),O=location.search.substring(1).split("&");let i=null;for(const o of O){const u=o.split("=");"lang"===u[0]&&(i=u[1])}return i&&H.includes(i)?i:V&&H.includes(V)?V:D&&H.includes(D[0])?D[0]:"en"}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(b.gz),g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ce=h(70655);let Pe=(()=>{class ee{generatePdf(V){return(0,Ce.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(V).open()})}loadPdfMake(){return(0,Ce.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const V=yield h.e(641).then(h.t.bind(h,54641,23)),H=yield h.e(493).then(h.t.bind(h,58493,19));this.pdfMake=V.default,this.pdfMake.vfs=H.default.pdfMake.vfs}})}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ce=(()=>{class ee{constructor(V){this.pdfService=V}static generateTableForUser(V){const H=V.name.replace(";"," ").split(";")[0];return"OK"!==V.status?this.generateErrorRowForUser(H,V.status):ee.generateRowForUser(H,V.login,V.password)}static generateErrorRowForUser(V,H){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:V,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:H,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(V,H,D){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[ee.generateNameCell(V),{},ee.getPasswordLabelCell(),ee.generatePasswordCell(D)],[ee.getLoginLabelCell(),ee.generateLoginCell(H),{},{}]]}}}static generateNameCell(V){return{text:V,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(V){return{text:null==V?"N/A":V,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(V){return{text:null==V?"N/A":V,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(V){return(0,Ce.mG)(this,void 0,void 0,function*(){const H=[];for(const O of V)H.push(ee.generateTableForUser(O));return this.pdfService.generatePdf({content:H})})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(Pe))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),fe=(()=>{class ee{constructor(V){this.storeService=V}static getBrandContainingDomain(V,H){for(const D of V)if(D.newApps.admin===H||D.newApps.profile===H||D.newApps.pwdReset===H||D.newApps.consolidator===H||D.newApps.linker===H)return D;return V[0]}getUrlForOtherApplication(V,H){const O=window.location.href.split("/"),i=O[0]+"//"+O[2],o=ee.getBrandContainingDomain(this.storeService.getAppsConfig().brands,i);let u;if(o.newApps[V])u=o.newApps[V],"pwdReset"===V&&(u+=`?login-namespace=${H}`);else switch(u=o.oldGuiDomain+"/fed",V){case"admin":u+="/gui/";break;case"profile":u+="/profile/";break;case"pwdReset":u+=`/pwd-reset/?login-namespace=${H}`}return u}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ze=h(86087);let ne=(()=>{class ee extends Ze.ye{constructor(){super(...arguments),this.getRangeLabel=function(V,H,D){let O;return O=D<1e3?String(D):D<1e4?"1 000":D<1e5?"10 000":"100 000",`${V*H+1} \u2013 ${(V+1)*H} of ${O} +`}}}return ee.\u0275fac=function(){let Ne;return function(H){return(Ne||(Ne=g.n5z(ee)))(H||ee)}}(),ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),it=(()=>{class ee{setEntity(V){this.entity=V}getEntity(){return this.entity}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Be=h(64080);let ze=(()=>{class ee{constructor(V,H,D,O,i){this.authResolver=V,this.attributesManager=H,this.notificator=D,this.apiRequest=O,this.router=i,this.routePolicies=new Map([["organizations",o=>this.authResolver.isAuthorized("getEnrichedVoById_int_policy",[o])],["organizations-members",o=>this.authResolver.isAuthorized("getMembersPage_Vo_MembersPageQuery_List_policy",[o])],["organizations-groups",o=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[o])],["organizations-resources",o=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[o])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[o])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[o])],["organizations-resources-preview",o=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[o])],["organizations-resources-tags",o=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[o])],["organizations-resources-states",o=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[o])],["organizations-applications",o=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[o])],["organizations-sponsoredMembers",o=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[o])],["organizations-serviceAccounts",o=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[o])],["organizations-attributes",o=>this.authResolver.isAuthorized("getEnrichedVoById_int_policy",[o])],["organizations-statistics",o=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[o])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[o])],["organizations-settings",o=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[o])||this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-expiration",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["organizations-settings-applicationForm",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-notifications",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-extsources",o=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[o])],["organizations-settings-memberOrganizations",()=>this.authResolver.isPerunAdmin()],["organizations-settings-hierarchicalInclusion",()=>this.authResolver.isPerunAdmin()],["members",o=>this.authResolver.isAuthorized("getRichMemberWithAttributes_Member_policy",[o])],["members-groups",o=>this.authResolver.isAuthorized("getMemberGroups_Member_policy",[o])],["members-applications",o=>this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[o])],["members-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[o])],["members-attributes",o=>this.authResolver.isAuthorized("getRichMemberWithAttributes_Member_policy",[o])],["groups",o=>this.authResolver.isAuthorized("getGroupById_int_policy",[o])],["groups-members",o=>this.authResolver.isAuthorized("group-getMembersPage_Vo_MembersPageQuery_List_policy",[o])],["groups-subgroups",o=>this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[o])],["groups-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[o])],["groups-applications",o=>this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[o])],["groups-attributes",o=>this.authResolver.isAuthorized("getGroupById_int_policy",[o])],["groups-statistics",o=>this.authResolver.isAuthorized("getGroupMembersCount_Group_policy",[o])&&this.authResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[o])&&this.authResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[o])],["groups-roles",o=>this.authResolver.isAuthorized("getGroupRoles_int_policy",[o])],["groups-settings",o=>this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])||this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[o])||this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[o])],["groups-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["groups-settings-applicationForm",o=>this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])],["groups-settings-notifications",o=>this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])],["groups-settings-relations",o=>this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[o])],["groups-settings-extsources",o=>this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[o])],["groups-settings-expiration",o=>(this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(o.id,Be.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{},()=>{this.notificator.showRouteError(),this.router.navigate(["/notAuthorized"])}),!0)],["resources",o=>this.authResolver.isAuthorized("getRichResourceById_int_policy",[o])],["resources-groups",o=>this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[o])],["resources-services",o=>this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[o])],["resources-members",o=>this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[o])],["resources-tags",o=>this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[o])],["resources-attributes",o=>this.authResolver.isAuthorized("getRichResourceById_int_policy",[o])],["resources-settings",o=>this.authResolver.isManagerPagePrivileged(o)],["resources-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["facilities",o=>this.authResolver.isAuthorized("getFacilityById_int_policy",[o])],["facilities-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[o])],["facilities-allowed-users",o=>this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[o])],["facilities-allowed-groups",o=>this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[o])],["facilities-services-status",o=>this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[o])],["services-status",o=>this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[o])],["facilities-services-destinations",o=>this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[o])],["facilities-hosts",()=>this.authResolver.isFacilityAdmin()],["facilities-attributes",o=>this.authResolver.isAuthorized("getFacilityById_int_policy",[o])],["facilities-settings",o=>this.authResolver.isAuthorized("getOwners_Facility_policy",[o])||this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[o])||this.authResolver.isAuthorized("getBansForFacility_int_policy",[o])],["facilities-settings-owners",o=>this.authResolver.isAuthorized("getOwners_Facility_policy",[o])],["facilities-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["facilities-settings-security-teams",o=>this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[o])],["facilities-settings-blacklist",o=>this.authResolver.isAuthorized("getBansForFacility_int_policy",[o])]])}canNavigate(V,H){if(V.startsWith("admin")||V.startsWith("identities"))return this.authResolver.isPerunAdminOrObserver();if("facilities"===V&&-1===H.id)return this.authResolver.canManageFacilities();const D=this.routePolicies.get(V);return!D||D(H)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(w),g.LFG(e.H8),g.LFG(se),g.LFG(Y),g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ue=h(54004),_e=h(63900),ae=h(4707);let Ae=(()=>{class ee{constructor(V){this.authService=V,this.roleWithObjects$=new ae.t(1),this.authService.getAllRolesManagementRules().pipe((0,Ue.U)(H=>H.filter(D=>D.assignableToAttributes)),(0,_e.w)(H=>{const D=new Map;return H.map(O=>D.set(O.roleName,["None",...Object.keys(O.assignedObjects)])),(0,z.of)(new Map([...D.entries()].sort()))})).subscribe(this.roleWithObjects$)}getRoles(){return this.roleWithObjects$.pipe((0,_e.w)(V=>(0,z.of)(Array.from(V.keys()))))}getObjects(V){return this.roleWithObjects$.pipe((0,_e.w)(H=>(0,z.of)(H.get(V))))}filterNullInPolicy(){return function(V){return V.pipe((0,Ue.U)(H=>(H.forEach(D=>D.policies=D.policies.filter(O=>null!==O.role&&null!==O.object)),H)))}}addAttributeId(){return function(V){return V.pipe((0,Ue.U)(([H,D])=>(D.forEach(O=>O.attributeId=H),D)))}}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(e.Ct))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},64080:(qe,me,h)=>{"use strict";h.d(me,{r:()=>e});let e=(()=>{class c{}return c.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",c.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",c.MEMBER_GROUP_STATUS="urn:perun:member_group:attribute-def:virt:groupStatus",c.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",c.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",c.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",c.MEMBER_LIFECYCLE_ALTERABLE="urn:perun:member:attribute-def:virt:isLifecycleAlterable",c.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",c.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",c.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",c.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",c.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",c.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",c.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",c.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",c.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",c.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",c.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",c.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",c.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",c.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",c.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",c.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",c.UES_SOURCE_IDP_NAME="urn:perun:ues:attribute-def:def:sourceIdPName",c})()},9244:(qe,me,h)=>{"use strict";h.d(me,{dN:()=>A,Je:()=>v,f7:()=>I.f7,l9:()=>N.l,sF:()=>I.sF,XI:()=>I.XI,Xd:()=>I.Xd,aC:()=>I.aC,fx:()=>I.fx,dv:()=>I.dv,i5:()=>I.i5,Sd:()=>I.Sd,pR:()=>I.pR,ys:()=>I.ys,O6:()=>I.O6,B2:()=>I.B2,mH:()=>I.mH,MX:()=>I.MX,oU:()=>I.oU,IL:()=>I.IL,Jc:()=>I.Jc,Xn:()=>I.Xn,kZ:()=>I.kZ,v$:()=>I.v$,x2:()=>I.x2,vL:()=>I.vL,j4:()=>I.j4,jh:()=>I.jh,bx:()=>I.bx,Hm:()=>I.Hm,Cz:()=>I.Cz,sG:()=>I.sG,g$:()=>I.g$,bD:()=>I.bD,lt:()=>I.lt,Oe:()=>I.Oe,hu:()=>I.hu,Gw:()=>I.Gw,O5:()=>I.O5,te:()=>I.te,kN:()=>I.kN,$0:()=>I.$0,OV:()=>I.OV});var e=h(86087),c=h(92181),g=h(25245),w=h(47423),_=h(51062),b=h(69808),E=h(5e3);let v=(()=>{class q{}return q.\u0275fac=function(G){return new(G||q)},q.\u0275mod=E.oAB({type:q}),q.\u0275inj=E.cJS({providers:[],imports:[[e.TU,c.Tx,g.Ps,w.ot,_.aw,b.ez]]}),q})();var I=h(17218),N=h(18750);class A{static passwordMatchValidator(j){const G=j.get("passwordCtrl").value,Q=j.get("passwordAgainCtrl").value;return j.get("passwordAgainCtrl").setErrors(G!==Q?{noPasswordMatch:!0}:null),null}static patternValidator(j){return G=>{if(!G.value)return null;let Q=0;for(const he of j)Q+=he.test(G.value)?1:0;return Q>=3?null:{isWeak:!0}}}}},17218:(qe,me,h)=>{"use strict";h.d(me,{f7:()=>E,B2:()=>v,g$:()=>I,kN:()=>N,$0:()=>A,lt:()=>q,bD:()=>G,hu:()=>Q,Cz:()=>he,te:()=>be,ys:()=>pe,vL:()=>T,j4:()=>R,sF:()=>L,XI:()=>X,OV:()=>Te,MX:()=>Oe,oU:()=>Se,IL:()=>We,Jc:()=>ge,v$:()=>Le,i5:()=>P,kZ:()=>de,dv:()=>Ce,Hm:()=>Pe,Oe:()=>ce,Gw:()=>fe,x2:()=>Ze,sG:()=>ne,pR:()=>Be,Sd:()=>ze,Xn:()=>_e,O6:()=>ae,aC:()=>Ae,Xd:()=>ee,fx:()=>Ne,mH:()=>V,jh:()=>H,bx:()=>D,O5:()=>O});var e=h(70655),c=h(48966),g=h(69808),w=h(94327),b=h(64080);const E=[5,10,25,100],v=/^(([^<>+()[\]\\.,;:\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 I(i){let o="";return null==i||i.userAttributes.forEach(u=>{"preferredMail"===u.friendlyName&&(o=u.value)}),o&&0===o.length&&null!==i.memberAttributes&&i.memberAttributes.forEach(u=>{"mail"===u.friendlyName&&null!==u.value&&(o=u.value)}),o}function N(i){let o="";return i&&i.userAttributes.forEach(u=>{"preferredMail"===u.friendlyName&&(o=u.value)}),o}function A(i){let o="";return!!i&&!!i.userAttributes&&i.userAttributes.filter(u=>"login-namespace"===u.baseFriendlyName).filter(u=>null!==u.value).forEach(u=>{o=o.concat(u.friendlyNameParameter,": ",u.value,", ")}),o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function q(i){let o="";return!!i&&!!i.userAttributes&&i.userAttributes.filter(u=>"login-namespace"===u.baseFriendlyName).filter(u=>null!==u.value).forEach(u=>{o=o.concat(u.friendlyNameParameter,": ",u.value,", ")}),o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function G(i){let o="";return null!==i.titleBefore&&(o+=i.titleBefore+" "),null!==i.firstName&&(o+=i.firstName+" "),null!==i.middleName&&(o+=i.middleName+" "),null!==i.lastName&&(o+=i.lastName+" "),null!==i.titleAfter&&(o+=i.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function Q(i){let o="";return null!==i.firstName&&(o+=i.firstName+" "),null!==i.middleName&&(o+=i.middleName+" "),null!==i.lastName&&(o+=i.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function he(i){let o="";return i.split(/(?=[A-Z])/g).forEach(l=>{o=o.concat(l.toLowerCase()),o=o.concat(" ")}),o=o.charAt(0).toUpperCase()+o.slice(1,o.length-1),o}function be(i){let o="";for(const u of i)"technical"===u.type&&(o+=u.name+", ");return o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function pe(i,o){return(0,e.mG)(this,void 0,void 0,function*(){yield function ye(i){return new Promise(o=>setTimeout(o,i))}(i),o()})}function T(i){return JSON.parse(localStorage.getItem(i))||[]}function R(i){return JSON.parse(localStorage.getItem(i))||[]}function L(i,o){if(null===localStorage.getItem(i)){const u=[];u.unshift(o.id),localStorage.setItem(i,JSON.stringify(u))}else{const u=JSON.parse(localStorage.getItem(i)),l=function se(i,o){for(let u=0;u0&&u.splice(l,1),0!==l&&u.unshift(o.id),u.length>5&&u.pop(),localStorage.setItem(i,JSON.stringify(u))}}function X(i,o){if(null===localStorage.getItem("recent")){let u;u="Group"===i.beanName?[{id:i.id,name:i.shortName,fullName:i.name,type:i.beanName,voId:i.voId,voName:o}]:[{id:i.id,name:i.name,type:i.beanName,voId:i.voId}],localStorage.setItem("recent",JSON.stringify(u))}else{const u=JSON.parse(localStorage.getItem("recent"));let l;l="Group"===i.beanName?{id:i.id,name:i.shortName,fullName:i.name,type:i.beanName,voId:i.voId,voName:o}:{id:i.id,name:i.name,type:i.beanName,voId:i.voId};const s=function Y(i,o){for(let u=0;u0&&u.splice(s,1),0!==s&&u.unshift(l),u.length>5&&u.pop(),localStorage.setItem("recent",JSON.stringify(u))}}function Te(i){let o="";return i&&i.userAttributes.forEach(u=>{"organization"===u.friendlyName&&(o=u.value)}),o}function Oe(i){return i.filter(o=>!o.namespace.includes("def:core"))}function Se(i,o){const u=o.find(l=>l.id===i);return u?u.parentGroupId?Se(u.parentGroupId,o).concat(u):[u]:[]}function We(i,o){for(const u of i)if(u.namespace+":"+u.friendlyName===o)return u;return null}function ge(i){return null!=i.attributes["urn:perun:member:attribute-def:def:mail"]?i.attributes["urn:perun:member:attribute-def:def:mail"]:null!=i.attributes["urn:perun:user:attribute-def:def:preferredMail"]?i.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function Le(i){return i.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function ue(i){if(i.includes("/CN=")){const o=i.split("/");for(const u of o)if(u.startsWith("CN="))return Me(u.substring(3))}return i}(i.userExtSource.extSource.name):i.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function z(i){switch(i){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 i}}(i.userExtSource.extSource.name):i.userExtSource.extSource.name}function Me(i){return decodeURIComponent(i.replace(/\\x/g,"%"))}function P(i=["en","cs"]){const o={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{},htmlMessage:{}};return i.forEach(u=>{o.message[u]={locale:u,htmlFormat:!1,subject:"",text:""},o.htmlMessage[u]={locale:u,htmlFormat:!0,subject:"",text:""}}),o}function de(){const i=new c.vA;return i.disableClose=!0,i.autoFocus=!1,i}function Ce(i){const o={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 u of i)o.i18n[u]={locale:u,errorMessage:"",help:"",label:"",options:""};return o}function Pe(i){return"virt"===i.namespace.split(":")[4]}function ce(i,o){return"valid"!==i.toLowerCase()||o&&"valid"!==i.toLowerCase()?i:"ACTIVE"}function fe(i){let o="";return null==i||i.memberAttributes.forEach(u=>{"organization"===u.friendlyName&&null!==u.value&&(o=u.value)}),0===o.length&&(null==i||i.userAttributes.forEach(u=>{"organization"===u.friendlyName&&(o=u.value)})),o}function Ze(i){var o;const u=i.attributes.find(l=>"groupMembershipExpiration"===l.baseFriendlyName);return null!==(o=null==u?void 0:u.value)&&void 0!==o?o:"Never"}function ne(i){return i&&"never"!==i.toLowerCase()?(0,g.p6)(i,"d.M.yyyy","en"):i}const it=new Intl.Collator("cs",{numeric:!0});function Be(i,o,u){const l=o.active,s=o.direction;return l&&""!==s?i.sort((n,t)=>{const r=u(n,l),a=u(t,l);return it.compare(r,a)*("asc"===s?1:-1)}):i}function ze(i,o,u,l,s){o=o.toLowerCase();let n="";return u.forEach(t=>{n+=";"+l(i,t)}),s&&(n+=";"+l(i,"uuid")),n.toLowerCase().includes(o)}function _e(i,o,u){const l=[],s=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(n=>!s.includes(n)),i.forEach(n=>{const t={};o.forEach(r=>{var a;t[r]=(null!==(a=u(n,r))&&void 0!==a?a:"").split('"').join("''").trim()}),l.push(t)}),l}function ae(i,o="csv",u="export"){if("csv"===o){const l=(a,d)=>null===d?"":d,s=Object.keys(i[0]),n=i.map(a=>s.map(d=>JSON.stringify(a[d],l)).join(","));n.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const t=n.join("\r\n"),r=new Blob([t],{type:"text/csv"});(0,w.saveAs)(r,`${u}.${o}`)}}function Ae(i,o){return i.name.toLowerCase()>o.name.toLowerCase()?1:i.name.toLowerCase()===o.name.toLowerCase()?0:-1}function ee(i,o){return i.displayName.toLowerCase()>o.displayName.toLowerCase()?1:i.displayName.toLowerCase()===o.displayName.toLowerCase()?0:-1}function Ne(i,o){var u,l,s,n;let t,r;return i.user?(t=i.user.lastName?i.user.lastName:null!==(u=i.user.firstName)&&void 0!==u?u:"",r=o.user.lastName?o.user.lastName:null!==(l=o.user.firstName)&&void 0!==l?l:""):(t=i.lastName?i.lastName:null!==(s=i.firstName)&&void 0!==s?s:"",r=o.lastName?o.lastName:null!==(n=o.firstName)&&void 0!==n?n:""),t>r?1:t===r?0:-1}function V(i,o,u=[]){i.enable(),i.clearValidators(),i.clearAsyncValidators(),i.setValidators(o),i.setAsyncValidators(u),i.updateValueAndValidity()}function H(i,o){return!!i&&i.some(u=>u.namespace+":"+u.friendlyName===o&&null!==u.value&&"true"===String(u.value))}function D(i){return H(i.attributes,b.r.GROUP_SYNC_ENABLED)||H(i.attributes,b.r.GROUP_STRUCTURE_SYNC_ENABLED)}function O(i,o){const u=o.split("&");for(const l of u){const[s,n]=l.split("=");if(s.includes(i))return n}return""}},18750:(qe,me,h)=>{"use strict";h.d(me,{l:()=>G});var e=h(5e3),c=h(86087),g=h(17218),w=h(10036),_=h(69808),b=h(47423),E=h(92181),v=h(25245),I=h(51062);let N=(()=>{class Q{constructor(){this.exportData=new e.vpe}}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275cmp=e.Xpm({type:Q,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(F,be){if(1&F&&(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 be.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&F){const pe=e.MAs(5),ye=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",pe),e.xp6(5),e.Q6J("matMenuTriggerFor",ye),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[b.lW,E.p6,v.Hw,E.VK,E.OP],pipes:[I.X$],styles:[""]}),Q})();function A(Q,he){if(1&Q){const F=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(pe){return e.CHM(F),e.oxw().exportData.emit(pe)}),e.qZA()}}function q(Q,he){if(1&Q){const F=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(pe){return e.CHM(F),e.oxw().exportData.emit(pe)}),e.qZA()}}const j=["*"];let G=(()=>{class Q{constructor(F){this.tableConfigService=F,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}set matPaginator(F){this.paginator=F}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}pageChangedTop(F){this.pageSize=F.pageSize,this.tableConfigService.setTablePageSize(this.tableId,F.pageSize)}pageChangedBottom(F){this.paginator.pageSize=F.pageSize,this.paginator.pageIndex=F.pageIndex,this.paginator.page.emit(F),this.pageSize=F.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,F.pageSize)}}return Q.\u0275fac=function(F){return new(F||Q)(e.Y36(w.dB))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(F,be){if(1&F&&e.Gf(c.NW,7),2&F){let pe;e.iGM(pe=e.CRH())&&(be.matPaginator=pe.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:j,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(F,be){1&F&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(ye){return be.pageChangedTop(ye)}),e.qZA(),e.YNc(3,A,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(ye){return be.pageChangedBottom(ye)}),e.qZA(),e.YNc(8,q,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&F&&(e.xp6(2),e.Q6J("length",be.dataLength)("pageSizeOptions",be.pageSizeOptions)("pageSize",be.pageSize),e.xp6(1),e.Q6J("ngIf",!be.hideExport),e.xp6(4),e.Q6J("length",be.paginator.length)("pageIndex",be.paginator.pageIndex)("pageSizeOptions",be.paginator.pageSizeOptions)("pageSize",be.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!be.hideExport))},directives:[c.NW,_.O5,N],styles:[""]}),Q})()},98380:(qe,me,h)=>{"use strict";h.d(me,{w:()=>I});var e=h(5e3),c=h(69808),g=h(25245);function w(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function _(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function b(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function E(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const v=["*"];let I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275cmp=e.Xpm({type:N,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:v,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(q,j){1&q&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,w,2,0,"mat-icon",1),e.YNc(2,_,2,0,"mat-icon",1),e.YNc(3,b,2,0,"mat-icon",1),e.YNc(4,E,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&q&&(e.ekj("warn-alert","warn"===j.alert_type)("error-alert","error"===j.alert_type)("success-alert","success"===j.alert_type)("info-alert","info"===j.alert_type),e.xp6(1),e.Q6J("ngIf","info"===j.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===j.alert_type),e.xp6(1),e.Q6J("ngIf","error"===j.alert_type),e.xp6(1),e.Q6J("ngIf","success"===j.alert_type))},directives:[c.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}"]}),N})()},63189:(qe,me,h)=>{"use strict";h.d(me,{r:()=>w});var e=h(25245),c=h(69808),g=h(5e3);let w=(()=>{class _{}return _.\u0275fac=function(E){return new(E||_)},_.\u0275mod=g.oAB({type:_}),_.\u0275inj=g.cJS({imports:[[e.Ps,c.ez]]}),_})()},6397:(qe,me,h)=>{"use strict";h.d(me,{C:()=>u});var e=h(69808),c=h(47423),g=h(9224),w=h(77446),_=h(48966),b=h(4834),E=h(81125),v=h(67322),I=h(5e3),N=h(90508);let Le=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[N.uc,N.BQ],N.uc,N.BQ]}),l})();var Me=h(25245),z=h(98833),P=h(20773),de=h(92081),Ce=h(32075),Pe=h(29071),ce=h(93075),fe=h(86856),Ze=h(2638),ne=h(14623),it=h(92181);let ee=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[N.BQ],N.BQ]}),l})();var Ne=h(84847),V=h(86087),H=h(29772),D=h(74107),O=h(53251),i=h(32368),o=h(26688);let u=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[e.ez,g.QW,b.t,E.To,c.ot,Le,w.p9,Me.Ps,Ce.p0,_.Is,P.Cq,v.lN,z.c,Pe.Cl,ce.u5,ce.UX,de.T5,fe.FA,N.XK,Ze.SJ,ne.ie,it.Tx,ee,Ne.JX,V.TU,H.AV,D.LD,N.si,Ce.p0,i.rP,o.Hi],g.QW,b.t,E.To,c.ot,Le,w.p9,Me.Ps,Ce.p0,_.Is,P.Cq,v.lN,z.c,Pe.Cl,ce.u5,ce.UX,de.T5,fe.FA,N.XK,Ze.SJ,ne.ie,it.Tx,ee,Ne.JX,V.TU,H.AV,D.LD,N.si,O.Nh,i.rP,o.Hi]}),l})()},71345:qe=>{var w=.1,_="function"==typeof Float32Array;function b(G,Q){return 1-3*Q+3*G}function E(G,Q){return 3*Q-6*G}function v(G){return 3*G}function I(G,Q,he){return((b(Q,he)*G+E(Q,he))*G+v(Q))*G}function N(G,Q,he){return 3*b(Q,he)*G*G+2*E(Q,he)*G+v(Q)}function j(G){return G}qe.exports=function(Q,he,F,be){if(!(0<=Q&&Q<=1&&0<=F&&F<=1))throw new Error("bezier x values must be in [0, 1] range");if(Q===he&&F===be)return j;for(var pe=_?new Float32Array(11):new Array(11),ye=0;ye<11;++ye)pe[ye]=I(ye*w,Q,F);return function(L){return 0===L?0:1===L?1:I(function T(R){for(var L=0,X=1;10!==X&&pe[X]<=R;++X)L+=w;--X;var Te=L+(R-pe[X])/(pe[X+1]-pe[X])*w,Oe=N(Te,Q,F);return Oe>=.001?function q(G,Q,he,F){for(var be=0;be<4;++be){var pe=N(Q,he,F);if(0===pe)return Q;Q-=(I(Q,he,F)-G)/pe}return Q}(R,Te,Q,F):0===Oe?Te:function A(G,Q,he,F,be){var pe,ye,T=0;do{(pe=I(ye=Q+(he-Q)/2,F,be)-G)>0?he=ye:Q=ye}while(Math.abs(pe)>1e-7&&++T<10);return ye}(R,L,L+w,Q,F)}(L),he,be)}}},1302:function(qe,me,h){var e;!function(c,g){var w={};!function(c){"use strict";c.__esModule=!0,c.digestLength=32,c.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 w(j,G,Q,he,F){for(var be,pe,ye,T,R,L,X,Y,se,Te,Oe,Se,We;F>=64;){for(be=G[0],pe=G[1],ye=G[2],T=G[3],R=G[4],L=G[5],X=G[6],Y=G[7],Te=0;Te<16;Te++)j[Te]=(255&Q[Oe=he+4*Te])<<24|(255&Q[Oe+1])<<16|(255&Q[Oe+2])<<8|255&Q[Oe+3];for(Te=16;Te<64;Te++)j[Te]=((Se=((se=j[Te-2])>>>17|se<<15)^(se>>>19|se<<13)^se>>>10)+j[Te-7]|0)+((We=((se=j[Te-15])>>>7|se<<25)^(se>>>18|se<<14)^se>>>3)+j[Te-16]|0);for(Te=0;Te<64;Te++)Se=(((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&L^~R&X)|0)+(Y+(g[Te]+j[Te]|0)|0)|0,We=((be>>>2|be<<30)^(be>>>13|be<<19)^(be>>>22|be<<10))+(be&pe^be&ye^pe&ye)|0,Y=X,X=L,L=R,R=T+Se|0,T=ye,ye=pe,pe=be,be=Se+We|0;G[0]+=be,G[1]+=pe,G[2]+=ye,G[3]+=T,G[4]+=R,G[5]+=L,G[6]+=X,G[7]+=Y,he+=64,F-=64}return he}var _=function(){function j(){this.digestLength=c.digestLength,this.blockSize=c.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 j.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},j.prototype.clean=function(){for(var G=0;G0){for(;this.bufferLength<64&&Q>0;)this.buffer[this.bufferLength++]=G[he++],Q--;64===this.bufferLength&&(w(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(Q>=64&&(he=w(this.temp,this.state,G,he,Q),Q%=64);Q>0;)this.buffer[this.bufferLength++]=G[he++],Q--;return this},j.prototype.finish=function(G){if(!this.finished){var Q=this.bytesHashed,he=this.bufferLength,F=Q/536870912|0,be=Q<<3,pe=Q%64<56?64:128;this.buffer[he]=128;for(var ye=he+1;ye>>24&255,this.buffer[pe-7]=F>>>16&255,this.buffer[pe-6]=F>>>8&255,this.buffer[pe-5]=F>>>0&255,this.buffer[pe-4]=be>>>24&255,this.buffer[pe-3]=be>>>16&255,this.buffer[pe-2]=be>>>8&255,this.buffer[pe-1]=be>>>0&255,w(this.temp,this.state,this.buffer,0,pe),this.finished=!0}for(ye=0;ye<8;ye++)G[4*ye+0]=this.state[ye]>>>24&255,G[4*ye+1]=this.state[ye]>>>16&255,G[4*ye+2]=this.state[ye]>>>8&255,G[4*ye+3]=this.state[ye]>>>0&255;return this},j.prototype.digest=function(){var G=new Uint8Array(this.digestLength);return this.finish(G),G},j.prototype._saveState=function(G){for(var Q=0;Qthis.blockSize)(new _).update(G).finish(Q).clean();else for(var he=0;he1&&G.update(j),Q&&G.update(Q),G.update(he),G.finish(j),he[0]++}c.HMAC=b,c.hash=E,c.default=E,c.hmac=v;var N=new Uint8Array(c.digestLength);c.hkdf=function A(j,G,Q,he){void 0===G&&(G=N),void 0===he&&(he=32);for(var F=new Uint8Array([1]),be=v(G,j),pe=new b(be),ye=new Uint8Array(pe.digestLength),T=ye.length,R=new Uint8Array(he),L=0;L>>24&255,pe[1]=X>>>16&255,pe[2]=X>>>8&255,pe[3]=X>>>0&255,F.reset(),F.update(G),F.update(pe),F.finish(T);for(var Y=0;Y=A.status}function b(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(q){var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(A)}}var E="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,v=E.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),I=E.saveAs||("object"!=typeof window||window!==E?function(){}:"download"in HTMLAnchorElement.prototype&&!v?function(N,A,q){var j=E.URL||E.webkitURL,G=document.createElement("a");G.download=A=A||N.name||"download",G.rel="noopener","string"==typeof N?(G.href=N,G.origin===location.origin?b(G):_(G.href)?w(N,A,q):b(G,G.target="_blank")):(G.href=j.createObjectURL(N),setTimeout(function(){j.revokeObjectURL(G.href)},4e4),setTimeout(function(){b(G)},0))}:"msSaveOrOpenBlob"in navigator?function(N,A,q){if(A=A||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function g(N,A){return void 0===A?A={autoBom:!1}:"object"!=typeof A&&(console.warn("Deprecated: Expected third argument to be a object"),A={autoBom:!A}),A.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,q),A);else if(_(N))w(N,A,q);else{var j=document.createElement("a");j.href=N,j.target="_blank",setTimeout(function(){b(j)})}}:function(N,A,q,j){if((j=j||open("","_blank"))&&(j.document.title=j.document.body.innerText="downloading..."),"string"==typeof N)return w(N,A,q);var G="application/octet-stream"===N.type,Q=/constructor/i.test(E.HTMLElement)||E.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||G&&Q||v)&&"undefined"!=typeof FileReader){var F=new FileReader;F.onloadend=function(){var ye=F.result;ye=he?ye:ye.replace(/^data:[^;]*;/,"data:attachment/file;"),j?j.location.href=ye:location=ye,j=null},F.readAsDataURL(N)}else{var be=E.URL||E.webkitURL,pe=be.createObjectURL(N);j?j.location=pe:location.href=pe,j=null,setTimeout(function(){be.revokeObjectURL(pe)},4e4)}});E.saveAs=I.saveAs=I,qe.exports=I}.apply(me,[]))&&(qe.exports=c)},61135:(qe,me,h)=>{"use strict";h.d(me,{X:()=>c});var e=h(77579);class c extends e.x{constructor(w){super(),this._value=w}get value(){return this.getValue()}_subscribe(w){const _=super._subscribe(w);return!_.closed&&w.next(this._value),_}getValue(){const{hasError:w,thrownError:_,_value:b}=this;if(w)throw _;return this._throwIfClosed(),b}next(w){super.next(this._value=w)}}},68306:(qe,me,h)=>{"use strict";h.d(me,{y:()=>N});var e=h(70930),c=h(50727),g=h(48822),w=h(44671);var E=h(42416),v=h(30576),I=h(72806);let N=(()=>{class G{constructor(he){he&&(this._subscribe=he)}lift(he){const F=new G;return F.source=this,F.operator=he,F}subscribe(he,F,be){const pe=function j(G){return G&&G instanceof e.Lv||function q(G){return G&&(0,v.m)(G.next)&&(0,v.m)(G.error)&&(0,v.m)(G.complete)}(G)&&(0,c.Nn)(G)}(he)?he:new e.Hp(he,F,be);return(0,I.x)(()=>{const{operator:ye,source:T}=this;pe.add(ye?ye.call(pe,T):T?this._subscribe(pe):this._trySubscribe(pe))}),pe}_trySubscribe(he){try{return this._subscribe(he)}catch(F){he.error(F)}}forEach(he,F){return new(F=A(F))((be,pe)=>{const ye=new e.Hp({next:T=>{try{he(T)}catch(R){pe(R),ye.unsubscribe()}},error:pe,complete:be});this.subscribe(ye)})}_subscribe(he){var F;return null===(F=this.source)||void 0===F?void 0:F.subscribe(he)}[g.L](){return this}pipe(...he){return function b(G){return 0===G.length?w.y:1===G.length?G[0]:function(he){return G.reduce((F,be)=>be(F),he)}}(he)(this)}toPromise(he){return new(he=A(he))((F,be)=>{let pe;this.subscribe(ye=>pe=ye,ye=>be(ye),()=>F(pe))})}}return G.create=Q=>new G(Q),G})();function A(G){var Q;return null!==(Q=null!=G?G:E.v.Promise)&&void 0!==Q?Q:Promise}},4707:(qe,me,h)=>{"use strict";h.d(me,{t:()=>g});var e=h(77579),c=h(26063);class g extends e.x{constructor(_=1/0,b=1/0,E=c.l){super(),this._bufferSize=_,this._windowTime=b,this._timestampProvider=E,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=b===1/0,this._bufferSize=Math.max(1,_),this._windowTime=Math.max(1,b)}next(_){const{isStopped:b,_buffer:E,_infiniteTimeWindow:v,_timestampProvider:I,_windowTime:N}=this;b||(E.push(_),!v&&E.push(I.now()+N)),this._trimBuffer(),super.next(_)}_subscribe(_){this._throwIfClosed(),this._trimBuffer();const b=this._innerSubscribe(_),{_infiniteTimeWindow:E,_buffer:v}=this,I=v.slice();for(let N=0;N{"use strict";h.d(me,{x:()=>E});var e=h(68306),c=h(50727);const w=(0,h(83888).d)(I=>function(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _=h(38737),b=h(72806);let E=(()=>{class I extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(A){const q=new v(this,this);return q.operator=A,q}_throwIfClosed(){if(this.closed)throw new w}next(A){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(A)}})}error(A){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=A;const{observers:q}=this;for(;q.length;)q.shift().error(A)}})}complete(){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:A}=this;for(;A.length;)A.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var A;return(null===(A=this.observers)||void 0===A?void 0:A.length)>0}_trySubscribe(A){return this._throwIfClosed(),super._trySubscribe(A)}_subscribe(A){return this._throwIfClosed(),this._checkFinalizedStatuses(A),this._innerSubscribe(A)}_innerSubscribe(A){const{hasError:q,isStopped:j,observers:G}=this;return q||j?c.Lc:(this.currentObservers=null,G.push(A),new c.w0(()=>{this.currentObservers=null,(0,_.P)(G,A)}))}_checkFinalizedStatuses(A){const{hasError:q,thrownError:j,isStopped:G}=this;q?A.error(j):G&&A.complete()}asObservable(){const A=new e.y;return A.source=this,A}}return I.create=(N,A)=>new v(N,A),I})();class v extends E{constructor(N,A){super(),this.destination=N,this.source=A}next(N){var A,q;null===(q=null===(A=this.destination)||void 0===A?void 0:A.next)||void 0===q||q.call(A,N)}error(N){var A,q;null===(q=null===(A=this.destination)||void 0===A?void 0:A.error)||void 0===q||q.call(A,N)}complete(){var N,A;null===(A=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===A||A.call(N)}_subscribe(N){var A,q;return null!==(q=null===(A=this.source)||void 0===A?void 0:A.subscribe(N))&&void 0!==q?q:c.Lc}}},70930:(qe,me,h)=>{"use strict";h.d(me,{Hp:()=>he,Lv:()=>q});var e=h(30576),c=h(50727),g=h(42416),w=h(87849),_=h(25032);const b=I("C",void 0,void 0);function I(T,R,L){return{kind:T,value:R,error:L}}var N=h(43410),A=h(72806);class q extends c.w0{constructor(R){super(),this.isStopped=!1,R?(this.destination=R,(0,c.Nn)(R)&&R.add(this)):this.destination=ye}static create(R,L,X){return new he(R,L,X)}next(R){this.isStopped?pe(function v(T){return I("N",T,void 0)}(R),this):this._next(R)}error(R){this.isStopped?pe(function E(T){return I("E",void 0,T)}(R),this):(this.isStopped=!0,this._error(R))}complete(){this.isStopped?pe(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(R){this.destination.next(R)}_error(R){try{this.destination.error(R)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const j=Function.prototype.bind;function G(T,R){return j.call(T,R)}class Q{constructor(R){this.partialObserver=R}next(R){const{partialObserver:L}=this;if(L.next)try{L.next(R)}catch(X){F(X)}}error(R){const{partialObserver:L}=this;if(L.error)try{L.error(R)}catch(X){F(X)}else F(R)}complete(){const{partialObserver:R}=this;if(R.complete)try{R.complete()}catch(L){F(L)}}}class he extends q{constructor(R,L,X){let Y;if(super(),(0,e.m)(R)||!R)Y={next:null!=R?R:void 0,error:null!=L?L:void 0,complete:null!=X?X:void 0};else{let se;this&&g.v.useDeprecatedNextContext?(se=Object.create(R),se.unsubscribe=()=>this.unsubscribe(),Y={next:R.next&&G(R.next,se),error:R.error&&G(R.error,se),complete:R.complete&&G(R.complete,se)}):Y=R}this.destination=new Q(Y)}}function F(T){g.v.useDeprecatedSynchronousErrorHandling?(0,A.O)(T):(0,w.h)(T)}function pe(T,R){const{onStoppedNotification:L}=g.v;L&&N.z.setTimeout(()=>L(T,R))}const ye={closed:!0,next:_.Z,error:function be(T){throw T},complete:_.Z}},50727:(qe,me,h)=>{"use strict";h.d(me,{Lc:()=>b,w0:()=>_,Nn:()=>E});var e=h(30576);const g=(0,h(83888).d)(I=>function(A){I(this),this.message=A?`${A.length} errors occurred during unsubscription:\n${A.map((q,j)=>`${j+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=A});var w=h(38737);class _{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:A}=this;if(A)if(this._parentage=null,Array.isArray(A))for(const G of A)G.remove(this);else A.remove(this);const{initialTeardown:q}=this;if((0,e.m)(q))try{q()}catch(G){N=G instanceof g?G.errors:[G]}const{_finalizers:j}=this;if(j){this._finalizers=null;for(const G of j)try{v(G)}catch(Q){N=null!=N?N:[],Q instanceof g?N=[...N,...Q.errors]:N.push(Q)}}if(N)throw new g(N)}}add(N){var A;if(N&&N!==this)if(this.closed)v(N);else{if(N instanceof _){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(A=this._finalizers)&&void 0!==A?A:[]).push(N)}}_hasParent(N){const{_parentage:A}=this;return A===N||Array.isArray(A)&&A.includes(N)}_addParent(N){const{_parentage:A}=this;this._parentage=Array.isArray(A)?(A.push(N),A):A?[A,N]:N}_removeParent(N){const{_parentage:A}=this;A===N?this._parentage=null:Array.isArray(A)&&(0,w.P)(A,N)}remove(N){const{_finalizers:A}=this;A&&(0,w.P)(A,N),N instanceof _&&N._removeParent(this)}}_.EMPTY=(()=>{const I=new _;return I.closed=!0,I})();const b=_.EMPTY;function E(I){return I instanceof _||I&&"closed"in I&&(0,e.m)(I.remove)&&(0,e.m)(I.add)&&(0,e.m)(I.unsubscribe)}function v(I){(0,e.m)(I)?I():I.unsubscribe()}},42416:(qe,me,h)=>{"use strict";h.d(me,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},39841:(qe,me,h)=>{"use strict";h.d(me,{a:()=>N});var e=h(68306),c=h(54742),g=h(32076),w=h(44671),_=h(83268),b=h(63269),E=h(31810),v=h(25403),I=h(39672);function N(...j){const G=(0,b.yG)(j),Q=(0,b.jO)(j),{args:he,keys:F}=(0,c.D)(j);if(0===he.length)return(0,g.D)([],G);const be=new e.y(function A(j,G,Q=w.y){return he=>{q(G,()=>{const{length:F}=j,be=new Array(F);let pe=F,ye=F;for(let T=0;T{const R=(0,g.D)(j[T],G);let L=!1;R.subscribe((0,v.x)(he,X=>{be[T]=X,L||(L=!0,ye--),ye||he.next(Q(be.slice()))},()=>{--pe||he.complete()}))},he)},he)}}(he,G,F?pe=>(0,E.n)(F,pe):w.y));return Q?be.pipe((0,_.Z)(Q)):be}function q(j,G,Q){j?(0,I.f)(Q,j,G):G()}},97272:(qe,me,h)=>{"use strict";h.d(me,{z:()=>_});var e=h(8189),g=h(63269),w=h(32076);function _(...b){return function c(){return(0,e.J)(1)}()((0,w.D)(b,(0,g.yG)(b)))}},49770:(qe,me,h)=>{"use strict";h.d(me,{P:()=>g});var e=h(68306),c=h(38421);function g(w){return new e.y(_=>{(0,c.Xf)(w()).subscribe(_)})}},60515:(qe,me,h)=>{"use strict";h.d(me,{E:()=>c});const c=new(h(68306).y)(_=>_.complete())},4128:(qe,me,h)=>{"use strict";h.d(me,{D:()=>v});var e=h(68306),c=h(54742),g=h(38421),w=h(63269),_=h(25403),b=h(83268),E=h(31810);function v(...I){const N=(0,w.jO)(I),{args:A,keys:q}=(0,c.D)(I),j=new e.y(G=>{const{length:Q}=A;if(!Q)return void G.complete();const he=new Array(Q);let F=Q,be=Q;for(let pe=0;pe{ye||(ye=!0,be--),he[pe]=T},()=>F--,void 0,()=>{(!F||!ye)&&(be||G.next(q?(0,E.n)(q,he):he),G.complete())}))}});return N?j.pipe((0,b.Z)(N)):j}},32076:(qe,me,h)=>{"use strict";h.d(me,{D:()=>X});var e=h(38421),c=h(39672),g=h(54482),w=h(25403);function _(Y,se=0){return(0,g.e)((Te,Oe)=>{Te.subscribe((0,w.x)(Oe,Se=>(0,c.f)(Oe,Y,()=>Oe.next(Se),se),()=>(0,c.f)(Oe,Y,()=>Oe.complete(),se),Se=>(0,c.f)(Oe,Y,()=>Oe.error(Se),se)))})}function b(Y,se=0){return(0,g.e)((Te,Oe)=>{Oe.add(Y.schedule(()=>Te.subscribe(Oe),se))})}var I=h(68306),A=h(2202),q=h(30576);function G(Y,se){if(!Y)throw new Error("Iterable cannot be null");return new I.y(Te=>{(0,c.f)(Te,se,()=>{const Oe=Y[Symbol.asyncIterator]();(0,c.f)(Te,se,()=>{Oe.next().then(Se=>{Se.done?Te.complete():Te.next(Se.value)})},0,!0)})})}var Q=h(93670),he=h(28239),F=h(81144),be=h(26495),pe=h(12206),ye=h(44532),T=h(53260);function X(Y,se){return se?function L(Y,se){if(null!=Y){if((0,Q.c)(Y))return function E(Y,se){return(0,e.Xf)(Y).pipe(b(se),_(se))}(Y,se);if((0,F.z)(Y))return function N(Y,se){return new I.y(Te=>{let Oe=0;return se.schedule(function(){Oe===Y.length?Te.complete():(Te.next(Y[Oe++]),Te.closed||this.schedule())})})}(Y,se);if((0,he.t)(Y))return function v(Y,se){return(0,e.Xf)(Y).pipe(b(se),_(se))}(Y,se);if((0,pe.D)(Y))return G(Y,se);if((0,be.T)(Y))return function j(Y,se){return new I.y(Te=>{let Oe;return(0,c.f)(Te,se,()=>{Oe=Y[A.h](),(0,c.f)(Te,se,()=>{let Se,We;try{({value:Se,done:We}=Oe.next())}catch(ge){return void Te.error(ge)}We?Te.complete():Te.next(Se)},0,!0)}),()=>(0,q.m)(null==Oe?void 0:Oe.return)&&Oe.return()})}(Y,se);if((0,T.L)(Y))return function R(Y,se){return G((0,T.Q)(Y),se)}(Y,se)}throw(0,ye.z)(Y)}(Y,se):(0,e.Xf)(Y)}},54968:(qe,me,h)=>{"use strict";h.d(me,{R:()=>N});var e=h(38421),c=h(68306),g=h(86099),w=h(81144),_=h(30576),b=h(83268);const E=["addListener","removeListener"],v=["addEventListener","removeEventListener"],I=["on","off"];function N(Q,he,F,be){if((0,_.m)(F)&&(be=F,F=void 0),be)return N(Q,he,F).pipe((0,b.Z)(be));const[pe,ye]=function G(Q){return(0,_.m)(Q.addEventListener)&&(0,_.m)(Q.removeEventListener)}(Q)?v.map(T=>R=>Q[T](he,R,F)):function q(Q){return(0,_.m)(Q.addListener)&&(0,_.m)(Q.removeListener)}(Q)?E.map(A(Q,he)):function j(Q){return(0,_.m)(Q.on)&&(0,_.m)(Q.off)}(Q)?I.map(A(Q,he)):[];if(!pe&&(0,w.z)(Q))return(0,g.z)(T=>N(T,he,F))((0,e.Xf)(Q));if(!pe)throw new TypeError("Invalid event target");return new c.y(T=>{const R=(...L)=>T.next(1ye(R)})}function A(Q,he){return F=>be=>Q[F](he,be)}},38421:(qe,me,h)=>{"use strict";h.d(me,{Xf:()=>j});var e=h(70655),c=h(81144),g=h(28239),w=h(68306),_=h(93670),b=h(12206),E=h(44532),v=h(26495),I=h(53260),N=h(30576),A=h(87849),q=h(48822);function j(T){if(T instanceof w.y)return T;if(null!=T){if((0,_.c)(T))return function G(T){return new w.y(R=>{const L=T[q.L]();if((0,N.m)(L.subscribe))return L.subscribe(R);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(T);if((0,c.z)(T))return function Q(T){return new w.y(R=>{for(let L=0;L{T.then(L=>{R.closed||(R.next(L),R.complete())},L=>R.error(L)).then(null,A.h)})}(T);if((0,b.D)(T))return be(T);if((0,v.T)(T))return function F(T){return new w.y(R=>{for(const L of T)if(R.next(L),R.closed)return;R.complete()})}(T);if((0,I.L)(T))return function pe(T){return be((0,I.Q)(T))}(T)}throw(0,E.z)(T)}function be(T){return new w.y(R=>{(function ye(T,R){var L,X,Y,se;return(0,e.mG)(this,void 0,void 0,function*(){try{for(L=(0,e.KL)(T);!(X=yield L.next()).done;)if(R.next(X.value),R.closed)return}catch(Te){Y={error:Te}}finally{try{X&&!X.done&&(se=L.return)&&(yield se.call(L))}finally{if(Y)throw Y.error}}R.complete()})})(T,R).catch(L=>R.error(L))})}},17445:(qe,me,h)=>{"use strict";h.d(me,{F:()=>g});var e=h(34986),c=h(82805);function g(w=0,_=e.z){return w<0&&(w=0),(0,c.H)(w,w,_)}},56451:(qe,me,h)=>{"use strict";h.d(me,{T:()=>b});var e=h(8189),c=h(38421),g=h(60515),w=h(63269),_=h(32076);function b(...E){const v=(0,w.yG)(E),I=(0,w._6)(E,1/0),N=E;return N.length?1===N.length?(0,c.Xf)(N[0]):(0,e.J)(I)((0,_.D)(N,v)):g.E}},39646:(qe,me,h)=>{"use strict";h.d(me,{of:()=>g});var e=h(63269),c=h(32076);function g(...w){const _=(0,e.yG)(w);return(0,c.D)(w,_)}},54355:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_});var e=h(68306),c=h(38421),g=h(75797),w=h(25403);function _(...E){return 1===(E=(0,g.k)(E)).length?(0,c.Xf)(E[0]):new e.y(function b(E){return v=>{let I=[];for(let N=0;I&&!v.closed&&N{if(I){for(let q=0;q{"use strict";h.d(me,{_:()=>g});var e=h(68306),c=h(30576);function g(w,_){const b=(0,c.m)(w)?w:()=>w,E=v=>v.error(b());return new e.y(_?v=>_.schedule(E,0,v):E)}},82805:(qe,me,h)=>{"use strict";h.d(me,{H:()=>_});var e=h(68306),c=h(34986),g=h(93532),w=h(51165);function _(b=0,E,v=c.P){let I=-1;return null!=E&&((0,g.K)(E)?v=E:I=E),new e.y(N=>{let A=(0,w.q)(b)?+b-v.now():b;A<0&&(A=0);let q=0;return v.schedule(function(){N.closed||(N.next(q++),0<=I?this.schedule(void 0,I):N.complete())},A)})}},25403:(qe,me,h)=>{"use strict";h.d(me,{x:()=>c});var e=h(70930);function c(w,_,b,E,v){return new g(w,_,b,E,v)}class g extends e.Lv{constructor(_,b,E,v,I,N){super(_),this.onFinalize=I,this.shouldUnsubscribe=N,this._next=b?function(A){try{b(A)}catch(q){_.error(q)}}:super._next,this._error=v?function(A){try{v(A)}catch(q){_.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=E?function(){try{E()}catch(A){_.error(A)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var _;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:b}=this;super.unsubscribe(),!b&&(null===(_=this.onFinalize)||void 0===_||_.call(this))}}}},23601:(qe,me,h)=>{"use strict";h.d(me,{e:()=>E});var e=h(34986),c=h(54482),g=h(38421),w=h(25403),b=h(82805);function E(v,I=e.z){return function _(v){return(0,c.e)((I,N)=>{let A=!1,q=null,j=null,G=!1;const Q=()=>{if(null==j||j.unsubscribe(),j=null,A){A=!1;const F=q;q=null,N.next(F)}G&&N.complete()},he=()=>{j=null,G&&N.complete()};I.subscribe((0,w.x)(N,F=>{A=!0,q=F,j||(0,g.Xf)(v(F)).subscribe(j=(0,w.x)(N,Q,he))},()=>{G=!0,(!A||!j||j.closed)&&N.complete()}))})}(()=>(0,b.H)(v,I))}},70262:(qe,me,h)=>{"use strict";h.d(me,{K:()=>w});var e=h(38421),c=h(25403),g=h(54482);function w(_){return(0,g.e)((b,E)=>{let N,v=null,I=!1;v=b.subscribe((0,c.x)(E,void 0,void 0,A=>{N=(0,e.Xf)(_(A,w(_)(b))),v?(v.unsubscribe(),v=null,N.subscribe(E)):I=!0})),I&&(v.unsubscribe(),v=null,N.subscribe(E))})}},24351:(qe,me,h)=>{"use strict";h.d(me,{b:()=>g});var e=h(86099),c=h(30576);function g(w,_){return(0,c.m)(_)?(0,e.z)(w,_,1):(0,e.z)(w,1)}},78372:(qe,me,h)=>{"use strict";h.d(me,{b:()=>w});var e=h(34986),c=h(54482),g=h(25403);function w(_,b=e.z){return(0,c.e)((E,v)=>{let I=null,N=null,A=null;const q=()=>{if(I){I.unsubscribe(),I=null;const G=N;N=null,v.next(G)}};function j(){const G=A+_,Q=b.now();if(Q{N=G,A=b.now(),I||(I=b.schedule(j,_),v.add(I))},()=>{q(),v.complete()},void 0,()=>{N=I=null}))})}},46590:(qe,me,h)=>{"use strict";h.d(me,{d:()=>g});var e=h(54482),c=h(25403);function g(w){return(0,e.e)((_,b)=>{let E=!1;_.subscribe((0,c.x)(b,v=>{E=!0,b.next(v)},()=>{E||b.next(w),b.complete()}))})}},91005:(qe,me,h)=>{"use strict";h.d(me,{g:()=>q});var e=h(34986),c=h(97272),g=h(95698),w=h(54482),_=h(25403),b=h(25032),v=h(69718),I=h(86099);function N(j,G){return G?Q=>(0,c.z)(G.pipe((0,g.q)(1),function E(){return(0,w.e)((j,G)=>{j.subscribe((0,_.x)(G,b.Z))})}()),Q.pipe(N(j))):(0,I.z)((Q,he)=>j(Q,he).pipe((0,g.q)(1),(0,v.h)(Q)))}var A=h(82805);function q(j,G=e.z){const Q=(0,A.H)(j,G);return N(()=>Q)}},71884:(qe,me,h)=>{"use strict";h.d(me,{x:()=>w});var e=h(44671),c=h(54482),g=h(25403);function w(b,E=e.y){return b=null!=b?b:_,(0,c.e)((v,I)=>{let N,A=!0;v.subscribe((0,g.x)(I,q=>{const j=E(q);(A||!b(N,j))&&(A=!1,N=j,I.next(q))}))})}function _(b,E){return b===E}},39300:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(54482),c=h(25403);function g(w,_){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>w.call(_,I,v++)&&E.next(I)))})}},28746:(qe,me,h)=>{"use strict";h.d(me,{x:()=>c});var e=h(54482);function c(g){return(0,e.e)((w,_)=>{try{w.subscribe(_)}finally{_.add(g)}})}},50590:(qe,me,h)=>{"use strict";h.d(me,{P:()=>E});var e=h(86805),c=h(39300),g=h(95698),w=h(46590),_=h(18068),b=h(44671);function E(v,I){const N=arguments.length>=2;return A=>A.pipe(v?(0,c.h)((q,j)=>v(q,j,A)):b.y,(0,g.q)(1),N?(0,w.d)(I):(0,_.T)(()=>new e.K))}},54004:(qe,me,h)=>{"use strict";h.d(me,{U:()=>g});var e=h(54482),c=h(25403);function g(w,_){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>{E.next(w.call(_,I,v++))}))})}},69718:(qe,me,h)=>{"use strict";h.d(me,{h:()=>c});var e=h(54004);function c(g){return(0,e.U)(()=>g)}},8189:(qe,me,h)=>{"use strict";h.d(me,{J:()=>g});var e=h(86099),c=h(44671);function g(w=1/0){return(0,e.z)(c.y,w)}},72733:(qe,me,h)=>{"use strict";h.d(me,{p:()=>w});var e=h(38421),c=h(39672),g=h(25403);function w(_,b,E,v,I,N,A,q){const j=[];let G=0,Q=0,he=!1;const F=()=>{he&&!j.length&&!G&&b.complete()},be=ye=>G{N&&b.next(ye),G++;let T=!1;(0,e.Xf)(E(ye,Q++)).subscribe((0,g.x)(b,R=>{null==I||I(R),N?be(R):b.next(R)},()=>{T=!0},void 0,()=>{if(T)try{for(G--;j.length&&Gpe(R)):pe(R)}F()}catch(R){b.error(R)}}))};return _.subscribe((0,g.x)(b,be,()=>{he=!0,F()})),()=>{null==q||q()}}},86099:(qe,me,h)=>{"use strict";h.d(me,{z:()=>b});var e=h(54004),c=h(38421),g=h(54482),w=h(72733),_=h(30576);function b(E,v,I=1/0){return(0,_.m)(v)?b((N,A)=>(0,e.U)((q,j)=>v(N,q,A,j))((0,c.Xf)(E(N,A))),I):("number"==typeof v&&(I=v),(0,g.e)((N,A)=>(0,w.p)(N,A,E,I)))}},11520:(qe,me,h)=>{"use strict";h.d(me,{G:()=>g});var e=h(54482),c=h(25403);function g(){return(0,e.e)((w,_)=>{let b,E=!1;w.subscribe((0,c.x)(_,v=>{const I=b;b=v,E&&_.next([I,v]),E=!0}))})}},57359:(qe,me,h)=>{"use strict";h.d(me,{U:()=>c});var e=h(25403);function c(g,w,_,b,E){return(v,I)=>{let N=_,A=w,q=0;v.subscribe((0,e.x)(I,j=>{const G=q++;A=N?g(A,j,G):(N=!0,j),b&&I.next(A)},E&&(()=>{N&&I.next(A),I.complete()})))}}},13099:(qe,me,h)=>{"use strict";h.d(me,{B:()=>_});var e=h(38421),c=h(77579),g=h(70930),w=h(54482);function _(E={}){const{connector:v=(()=>new c.x),resetOnError:I=!0,resetOnComplete:N=!0,resetOnRefCountZero:A=!0}=E;return q=>{let j,G,Q,he=0,F=!1,be=!1;const pe=()=>{null==G||G.unsubscribe(),G=void 0},ye=()=>{pe(),j=Q=void 0,F=be=!1},T=()=>{const R=j;ye(),null==R||R.unsubscribe()};return(0,w.e)((R,L)=>{he++,!be&&!F&&pe();const X=Q=null!=Q?Q:v();L.add(()=>{he--,0===he&&!be&&!F&&(G=b(T,A))}),X.subscribe(L),!j&&he>0&&(j=new g.Hp({next:Y=>X.next(Y),error:Y=>{be=!0,pe(),G=b(ye,I,Y),X.error(Y)},complete:()=>{F=!0,pe(),G=b(ye,N),X.complete()}}),(0,e.Xf)(R).subscribe(j))})(q)}}function b(E,v,...I){if(!0===v)return void E();if(!1===v)return;const N=new g.Hp({next:()=>{N.unsubscribe(),E()}});return v(...I).subscribe(N)}},34782:(qe,me,h)=>{"use strict";h.d(me,{d:()=>g});var e=h(4707),c=h(13099);function g(w,_,b){let E,v=!1;return w&&"object"==typeof w?({bufferSize:E=1/0,windowTime:_=1/0,refCount:v=!1,scheduler:b}=w):E=null!=w?w:1/0,(0,c.B)({connector:()=>new e.t(E,_,b),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:v})}},35684:(qe,me,h)=>{"use strict";h.d(me,{T:()=>c});var e=h(39300);function c(g){return(0,e.h)((w,_)=>g<=_)}},68675:(qe,me,h)=>{"use strict";h.d(me,{O:()=>w});var e=h(97272),c=h(63269),g=h(54482);function w(..._){const b=(0,c.yG)(_);return(0,g.e)((E,v)=>{(b?(0,e.z)(_,E,b):(0,e.z)(_,E)).subscribe(v)})}},63900:(qe,me,h)=>{"use strict";h.d(me,{w:()=>w});var e=h(38421),c=h(54482),g=h(25403);function w(_,b){return(0,c.e)((E,v)=>{let I=null,N=0,A=!1;const q=()=>A&&!I&&v.complete();E.subscribe((0,g.x)(v,j=>{null==I||I.unsubscribe();let G=0;const Q=N++;(0,e.Xf)(_(j,Q)).subscribe(I=(0,g.x)(v,he=>v.next(b?b(j,he,Q,G++):he),()=>{I=null,q()}))},()=>{A=!0,q()}))})}},95698:(qe,me,h)=>{"use strict";h.d(me,{q:()=>w});var e=h(60515),c=h(54482),g=h(25403);function w(_){return _<=0?()=>e.E:(0,c.e)((b,E)=>{let v=0;b.subscribe((0,g.x)(E,I=>{++v<=_&&(E.next(I),_<=v&&E.complete())}))})}},82722:(qe,me,h)=>{"use strict";h.d(me,{R:()=>_});var e=h(54482),c=h(25403),g=h(38421),w=h(25032);function _(b){return(0,e.e)((E,v)=>{(0,g.Xf)(b).subscribe((0,c.x)(v,()=>v.complete(),w.Z)),!v.closed&&E.subscribe(v)})}},22529:(qe,me,h)=>{"use strict";h.d(me,{o:()=>g});var e=h(54482),c=h(25403);function g(w,_=!1){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>{const N=w(I,v++);(N||_)&&E.next(I),!N&&E.complete()}))})}},18505:(qe,me,h)=>{"use strict";h.d(me,{b:()=>_});var e=h(30576),c=h(54482),g=h(25403),w=h(44671);function _(b,E,v){const I=(0,e.m)(b)||E||v?{next:b,error:E,complete:v}:b;return I?(0,c.e)((N,A)=>{var q;null===(q=I.subscribe)||void 0===q||q.call(I);let j=!0;N.subscribe((0,g.x)(A,G=>{var Q;null===(Q=I.next)||void 0===Q||Q.call(I,G),A.next(G)},()=>{var G;j=!1,null===(G=I.complete)||void 0===G||G.call(I),A.complete()},G=>{var Q;j=!1,null===(Q=I.error)||void 0===Q||Q.call(I,G),A.error(G)},()=>{var G,Q;j&&(null===(G=I.unsubscribe)||void 0===G||G.call(I)),null===(Q=I.finalize)||void 0===Q||Q.call(I)}))}):w.y}},18068:(qe,me,h)=>{"use strict";h.d(me,{T:()=>w});var e=h(86805),c=h(54482),g=h(25403);function w(b=_){return(0,c.e)((E,v)=>{let I=!1;E.subscribe((0,g.x)(v,N=>{I=!0,v.next(N)},()=>I?v.complete():v.error(b())))})}function _(){return new e.K}},17414:(qe,me,h)=>{"use strict";h.d(me,{V:()=>I});var e=h(34986),c=h(51165),g=h(54482),w=h(38421),_=h(83888),b=h(25403),E=h(39672);const v=(0,_.d)(A=>function(j=null){A(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=j});function I(A,q){const{first:j,each:G,with:Q=N,scheduler:he=(null!=q?q:e.z),meta:F=null}=(0,c.q)(A)?{first:A}:"number"==typeof A?{each:A}:A;if(null==j&&null==G)throw new TypeError("No timeout provided.");return(0,g.e)((be,pe)=>{let ye,T,R=null,L=0;const X=Y=>{T=(0,E.f)(pe,he,()=>{try{ye.unsubscribe(),(0,w.Xf)(Q({meta:F,lastValue:R,seen:L})).subscribe(pe)}catch(se){pe.error(se)}},Y)};ye=be.subscribe((0,b.x)(pe,Y=>{null==T||T.unsubscribe(),L++,pe.next(R=Y),G>0&&X(G)},void 0,void 0,()=>{(null==T?void 0:T.closed)||null==T||T.unsubscribe(),R=null})),!L&&X(null!=j?"number"==typeof j?j:+j-he.now():G)})}function N(A){throw new v(A)}},84408:(qe,me,h)=>{"use strict";h.d(me,{o:()=>_});var e=h(50727);class c extends e.w0{constructor(E,v){super()}schedule(E,v=0){return this}}const g={setInterval(b,E,...v){const{delegate:I}=g;return(null==I?void 0:I.setInterval)?I.setInterval(b,E,...v):setInterval(b,E,...v)},clearInterval(b){const{delegate:E}=g;return((null==E?void 0:E.clearInterval)||clearInterval)(b)},delegate:void 0};var w=h(38737);class _ extends c{constructor(E,v){super(E,v),this.scheduler=E,this.work=v,this.pending=!1}schedule(E,v=0){if(this.closed)return this;this.state=E;const I=this.id,N=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(N,I,v)),this.pending=!0,this.delay=v,this.id=this.id||this.requestAsyncId(N,this.id,v),this}requestAsyncId(E,v,I=0){return g.setInterval(E.flush.bind(E,this),I)}recycleAsyncId(E,v,I=0){if(null!=I&&this.delay===I&&!1===this.pending)return v;g.clearInterval(v)}execute(E,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const I=this._execute(E,v);if(I)return I;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,v){let N,I=!1;try{this.work(E)}catch(A){I=!0,N=A||new Error("Scheduled action threw falsy error")}if(I)return this.unsubscribe(),N}unsubscribe(){if(!this.closed){const{id:E,scheduler:v}=this,{actions:I}=v;this.work=this.state=this.scheduler=null,this.pending=!1,(0,w.P)(I,this),null!=E&&(this.id=this.recycleAsyncId(v,E,null)),this.delay=null,super.unsubscribe()}}}},97565:(qe,me,h)=>{"use strict";h.d(me,{v:()=>g});var e=h(26063);class c{constructor(_,b=c.now){this.schedulerActionCtor=_,this.now=b}schedule(_,b=0,E){return new this.schedulerActionCtor(this,_).schedule(E,b)}}c.now=e.l.now;class g extends c{constructor(_,b=c.now){super(_,b),this.actions=[],this._active=!1,this._scheduled=void 0}flush(_){const{actions:b}=this;if(this._active)return void b.push(_);let E;this._active=!0;do{if(E=_.execute(_.state,_.delay))break}while(_=b.shift());if(this._active=!1,E){for(;_=b.shift();)_.unsubscribe();throw E}}}},66406:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>E});var e=h(84408),c=h(50727);const g={schedule(I){let N=requestAnimationFrame,A=cancelAnimationFrame;const{delegate:q}=g;q&&(N=q.requestAnimationFrame,A=q.cancelAnimationFrame);const j=N(G=>{A=void 0,I(G)});return new c.w0(()=>null==A?void 0:A(j))},requestAnimationFrame(...I){const{delegate:N}=g;return((null==N?void 0:N.requestAnimationFrame)||requestAnimationFrame)(...I)},cancelAnimationFrame(...I){const{delegate:N}=g;return((null==N?void 0:N.cancelAnimationFrame)||cancelAnimationFrame)(...I)},delegate:void 0};var _=h(97565);const E=new class b extends _.v{flush(N){this._active=!0;const A=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let j;N=N||q.shift();do{if(j=N.execute(N.state,N.delay))break}while((N=q[0])&&N.id===A&&q.shift());if(this._active=!1,j){for(;(N=q[0])&&N.id===A&&q.shift();)N.unsubscribe();throw j}}}(class w extends e.o{constructor(N,A){super(N,A),this.scheduler=N,this.work=A}requestAsyncId(N,A,q=0){return null!==q&&q>0?super.requestAsyncId(N,A,q):(N.actions.push(this),N._scheduled||(N._scheduled=g.requestAnimationFrame(()=>N.flush(void 0))))}recycleAsyncId(N,A,q=0){if(null!=q&&q>0||null==q&&this.delay>0)return super.recycleAsyncId(N,A,q);N.actions.some(j=>j.id===A)||(g.cancelAnimationFrame(A),N._scheduled=void 0)}})},53101:(qe,me,h)=>{"use strict";h.d(me,{E:()=>G});var e=h(84408);let g,c=1;const w={};function _(he){return he in w&&(delete w[he],!0)}const b={setImmediate(he){const F=c++;return w[F]=!0,g||(g=Promise.resolve()),g.then(()=>_(F)&&he()),F},clearImmediate(he){_(he)}},{setImmediate:v,clearImmediate:I}=b,N={setImmediate(...he){const{delegate:F}=N;return((null==F?void 0:F.setImmediate)||v)(...he)},clearImmediate(he){const{delegate:F}=N;return((null==F?void 0:F.clearImmediate)||I)(he)},delegate:void 0};var q=h(97565);const G=new class j extends q.v{flush(F){this._active=!0;const be=this._scheduled;this._scheduled=void 0;const{actions:pe}=this;let ye;F=F||pe.shift();do{if(ye=F.execute(F.state,F.delay))break}while((F=pe[0])&&F.id===be&&pe.shift());if(this._active=!1,ye){for(;(F=pe[0])&&F.id===be&&pe.shift();)F.unsubscribe();throw ye}}}(class A extends e.o{constructor(F,be){super(F,be),this.scheduler=F,this.work=be}requestAsyncId(F,be,pe=0){return null!==pe&&pe>0?super.requestAsyncId(F,be,pe):(F.actions.push(this),F._scheduled||(F._scheduled=N.setImmediate(F.flush.bind(F,void 0))))}recycleAsyncId(F,be,pe=0){if(null!=pe&&pe>0||null==pe&&this.delay>0)return super.recycleAsyncId(F,be,pe);F.actions.some(ye=>ye.id===be)||(N.clearImmediate(be),F._scheduled=void 0)}})},34986:(qe,me,h)=>{"use strict";h.d(me,{z:()=>g,P:()=>w});var e=h(84408);const g=new(h(97565).v)(e.o),w=g},26063:(qe,me,h)=>{"use strict";h.d(me,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},43410:(qe,me,h)=>{"use strict";h.d(me,{z:()=>e});const e={setTimeout(c,g,...w){const{delegate:_}=e;return(null==_?void 0:_.setTimeout)?_.setTimeout(c,g,...w):setTimeout(c,g,...w)},clearTimeout(c){const{delegate:g}=e;return((null==g?void 0:g.clearTimeout)||clearTimeout)(c)},delegate:void 0}},2202:(qe,me,h)=>{"use strict";h.d(me,{h:()=>c});const c=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(qe,me,h)=>{"use strict";h.d(me,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(qe,me,h)=>{"use strict";h.d(me,{K:()=>c});const c=(0,h(83888).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(qe,me,h)=>{"use strict";h.d(me,{jO:()=>w,yG:()=>_,_6:()=>b});var e=h(30576),c=h(93532);function g(E){return E[E.length-1]}function w(E){return(0,e.m)(g(E))?E.pop():void 0}function _(E){return(0,c.K)(g(E))?E.pop():void 0}function b(E,v){return"number"==typeof g(E)?E.pop():v}},54742:(qe,me,h)=>{"use strict";h.d(me,{D:()=>_});const{isArray:e}=Array,{getPrototypeOf:c,prototype:g,keys:w}=Object;function _(E){if(1===E.length){const v=E[0];if(e(v))return{args:v,keys:null};if(function b(E){return E&&"object"==typeof E&&c(E)===g}(v)){const I=w(v);return{args:I.map(N=>v[N]),keys:I}}}return{args:E,keys:null}}},75797:(qe,me,h)=>{"use strict";h.d(me,{k:()=>c});const{isArray:e}=Array;function c(g){return 1===g.length&&e(g[0])?g[0]:g}},38737:(qe,me,h)=>{"use strict";function e(c,g){if(c){const w=c.indexOf(g);0<=w&&c.splice(w,1)}}h.d(me,{P:()=>e})},83888:(qe,me,h)=>{"use strict";function e(c){const w=c(_=>{Error.call(_),_.stack=(new Error).stack});return w.prototype=Object.create(Error.prototype),w.prototype.constructor=w,w}h.d(me,{d:()=>e})},31810:(qe,me,h)=>{"use strict";function e(c,g){return c.reduce((w,_,b)=>(w[_]=g[b],w),{})}h.d(me,{n:()=>e})},72806:(qe,me,h)=>{"use strict";h.d(me,{x:()=>g,O:()=>w});var e=h(42416);let c=null;function g(_){if(e.v.useDeprecatedSynchronousErrorHandling){const b=!c;if(b&&(c={errorThrown:!1,error:null}),_(),b){const{errorThrown:E,error:v}=c;if(c=null,E)throw v}}else _()}function w(_){e.v.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=_)}},39672:(qe,me,h)=>{"use strict";function e(c,g,w,_=0,b=!1){const E=g.schedule(function(){w(),b?c.add(this.schedule(null,_)):this.unsubscribe()},_);if(c.add(E),!b)return E}h.d(me,{f:()=>e})},44671:(qe,me,h)=>{"use strict";function e(c){return c}h.d(me,{y:()=>e})},81144:(qe,me,h)=>{"use strict";h.d(me,{z:()=>e});const e=c=>c&&"number"==typeof c.length&&"function"!=typeof c},12206:(qe,me,h)=>{"use strict";h.d(me,{D:()=>c});var e=h(30576);function c(g){return Symbol.asyncIterator&&(0,e.m)(null==g?void 0:g[Symbol.asyncIterator])}},51165:(qe,me,h)=>{"use strict";function e(c){return c instanceof Date&&!isNaN(c)}h.d(me,{q:()=>e})},30576:(qe,me,h)=>{"use strict";function e(c){return"function"==typeof c}h.d(me,{m:()=>e})},93670:(qe,me,h)=>{"use strict";h.d(me,{c:()=>g});var e=h(48822),c=h(30576);function g(w){return(0,c.m)(w[e.L])}},26495:(qe,me,h)=>{"use strict";h.d(me,{T:()=>g});var e=h(2202),c=h(30576);function g(w){return(0,c.m)(null==w?void 0:w[e.h])}},45191:(qe,me,h)=>{"use strict";h.d(me,{b:()=>g});var e=h(68306),c=h(30576);function g(w){return!!w&&(w instanceof e.y||(0,c.m)(w.lift)&&(0,c.m)(w.subscribe))}},28239:(qe,me,h)=>{"use strict";h.d(me,{t:()=>c});var e=h(30576);function c(g){return(0,e.m)(null==g?void 0:g.then)}},53260:(qe,me,h)=>{"use strict";h.d(me,{Q:()=>g,L:()=>w});var e=h(70655),c=h(30576);function g(_){return(0,e.FC)(this,arguments,function*(){const E=_.getReader();try{for(;;){const{value:v,done:I}=yield(0,e.qq)(E.read());if(I)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(v)}}finally{E.releaseLock()}})}function w(_){return(0,c.m)(null==_?void 0:_.getReader)}},93532:(qe,me,h)=>{"use strict";h.d(me,{K:()=>c});var e=h(30576);function c(g){return g&&(0,e.m)(g.schedule)}},54482:(qe,me,h)=>{"use strict";h.d(me,{A:()=>c,e:()=>g});var e=h(30576);function c(w){return(0,e.m)(null==w?void 0:w.lift)}function g(w){return _=>{if(c(_))return _.lift(function(b){try{return w(b,this)}catch(E){this.error(E)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>w});var e=h(54004);const{isArray:c}=Array;function w(_){return(0,e.U)(b=>function g(_,b){return c(b)?_(...b):_(b)}(_,b))}},25032:(qe,me,h)=>{"use strict";function e(){}h.d(me,{Z:()=>e})},87849:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(42416),c=h(43410);function g(w){c.z.setTimeout(()=>{const{onUnhandledError:_}=e.v;if(!_)throw w;_(w)})}},44532:(qe,me,h)=>{"use strict";function e(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}h.d(me,{z:()=>e})},70655:(qe,me,h)=>{"use strict";function _(Oe,Se,We,ge){var Me,Le=arguments.length,ue=Le<3?Se:null===ge?ge=Object.getOwnPropertyDescriptor(Se,We):ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(Oe,Se,We,ge);else for(var z=Oe.length-1;z>=0;z--)(Me=Oe[z])&&(ue=(Le<3?Me(ue):Le>3?Me(Se,We,ue):Me(Se,We))||ue);return Le>3&&ue&&Object.defineProperty(Se,We,ue),ue}function v(Oe,Se,We,ge){return new(We||(We=Promise))(function(ue,Me){function z(Ce){try{de(ge.next(Ce))}catch(Pe){Me(Pe)}}function P(Ce){try{de(ge.throw(Ce))}catch(Pe){Me(Pe)}}function de(Ce){Ce.done?ue(Ce.value):function Le(ue){return ue instanceof We?ue:new We(function(Me){Me(ue)})}(Ce.value).then(z,P)}de((ge=ge.apply(Oe,Se||[])).next())})}function F(Oe){return this instanceof F?(this.v=Oe,this):new F(Oe)}function be(Oe,Se,We){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Le,ge=We.apply(Oe,Se||[]),ue=[];return Le={},Me("next"),Me("throw"),Me("return"),Le[Symbol.asyncIterator]=function(){return this},Le;function Me(ce){ge[ce]&&(Le[ce]=function(fe){return new Promise(function(Ze,ne){ue.push([ce,fe,Ze,ne])>1||z(ce,fe)})})}function z(ce,fe){try{!function P(ce){ce.value instanceof F?Promise.resolve(ce.value.v).then(de,Ce):Pe(ue[0][2],ce)}(ge[ce](fe))}catch(Ze){Pe(ue[0][3],Ze)}}function de(ce){z("next",ce)}function Ce(ce){z("throw",ce)}function Pe(ce,fe){ce(fe),ue.shift(),ue.length&&z(ue[0][0],ue[0][1])}}function ye(Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Se=Oe[Symbol.asyncIterator];return Se?Se.call(Oe):(Oe=function q(Oe){var Se="function"==typeof Symbol&&Symbol.iterator,We=Se&&Oe[Se],ge=0;if(We)return We.call(Oe);if(Oe&&"number"==typeof Oe.length)return{next:function(){return Oe&&ge>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[ge++],done:!Oe}}};throw new TypeError(Se?"Object is not iterable.":"Symbol.iterator is not defined.")}(Oe),We={},ge("next"),ge("throw"),ge("return"),We[Symbol.asyncIterator]=function(){return this},We);function ge(ue){We[ue]=Oe[ue]&&function(Me){return new Promise(function(z,P){!function Le(ue,Me,z,P){Promise.resolve(P).then(function(de){ue({value:de,done:z})},Me)}(z,P,(Me=Oe[ue](Me)).done,Me.value)})}}}h.d(me,{gn:()=>_,mG:()=>v,qq:()=>F,FC:()=>be,KL:()=>ye})},41777:(qe,me,h)=>{"use strict";h.d(me,{l3:()=>g,_j:()=>e,LC:()=>c,ZN:()=>be,jt:()=>_,pV:()=>j,ru:()=>b,F4:()=>N,IO:()=>Q,vP:()=>E,SB:()=>I,oB:()=>v,eR:()=>A,X$:()=>w,ZE:()=>pe,k1:()=>ye});class e{}class c{}const g="*";function w(T,R){return{type:7,name:T,definitions:R,options:{}}}function _(T,R=null){return{type:4,styles:R,timings:T}}function b(T,R=null){return{type:3,steps:T,options:R}}function E(T,R=null){return{type:2,steps:T,options:R}}function v(T){return{type:6,styles:T,offset:null}}function I(T,R,L){return{type:0,name:T,styles:R,options:L}}function N(T){return{type:5,steps:T}}function A(T,R,L=null){return{type:1,expr:T,animation:R,options:L}}function j(T=null){return{type:9,options:T}}function Q(T,R,L=null){return{type:11,selector:T,animation:R,options:L}}function F(T){Promise.resolve(null).then(T)}class be{constructor(R=0,L=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=R+L}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}onStart(R){this._onStartFns.push(R)}onDone(R){this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){F(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(R=>R()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(R){this._position=this.totalTime?R*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(R){const L="start"==R?this._onStartFns:this._onDoneFns;L.forEach(X=>X()),L.length=0}}class pe{constructor(R){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=R;let L=0,X=0,Y=0;const se=this.players.length;0==se?F(()=>this._onFinish()):this.players.forEach(Te=>{Te.onDone(()=>{++L==se&&this._onFinish()}),Te.onDestroy(()=>{++X==se&&this._onDestroy()}),Te.onStart(()=>{++Y==se&&this._onStart()})}),this.totalTime=this.players.reduce((Te,Oe)=>Math.max(Te,Oe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}init(){this.players.forEach(R=>R.init())}onStart(R){this._onStartFns.push(R)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(R=>R()),this._onStartFns=[])}onDone(R){this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(R=>R.play())}pause(){this.players.forEach(R=>R.pause())}restart(){this.players.forEach(R=>R.restart())}finish(){this._onFinish(),this.players.forEach(R=>R.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(R=>R.destroy()),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this.players.forEach(R=>R.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(R){const L=R*this.totalTime;this.players.forEach(X=>{const Y=X.totalTime?Math.min(1,L/X.totalTime):1;X.setPosition(Y)})}getPosition(){const R=this.players.reduce((L,X)=>null===L||X.totalTime>L.totalTime?X:L,null);return null!=R?R.getPosition():0}beforeDestroy(){this.players.forEach(R=>{R.beforeDestroy&&R.beforeDestroy()})}triggerCallback(R){const L="start"==R?this._onStartFns:this._onDoneFns;L.forEach(X=>X()),L.length=0}}const ye="!"},15664:(qe,me,h)=>{"use strict";h.d(me,{rt:()=>Nt,s1:()=>ge,$s:()=>Te,kH:()=>It,mK:()=>ae,Em:()=>Le,tE:()=>Ye,qV:()=>_e,qm:()=>Ct,ic:()=>Me,Kd:()=>a,X6:()=>D,yG:()=>O});var e=h(69808),c=h(5e3),g=h(70925),w=h(77579),_=h(50727),b=h(61135),E=h(39646),v=h(91159),I=h(18505),N=h(78372),A=h(39300),q=h(54004),j=h(95698),G=h(35684),Q=h(71884),he=h(82722),F=h(63191),be=h(17144);function R(He,je){return(He.getAttribute(je)||"").match(/\S+/g)||[]}const X="cdk-describedby-message",Y="cdk-describedby-host";let se=0,Te=(()=>{class He{constructor(Z,$){this._platform=$,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+se++,this._document=Z}describe(Z,$,oe){if(!this._canBeDescribed(Z,$))return;const nt=Oe($,oe);"string"!=typeof $?(Se($),this._messageRegistry.set(nt,{messageElement:$,referenceCount:0})):this._messageRegistry.has(nt)||this._createMessageElement($,oe),this._isElementDescribedByMessage(Z,nt)||this._addMessageReference(Z,nt)}removeDescription(Z,$,oe){var nt;if(!$||!this._isElementNode(Z))return;const ct=Oe($,oe);if(this._isElementDescribedByMessage(Z,ct)&&this._removeMessageReference(Z,ct),"string"==typeof $){const Rt=this._messageRegistry.get(ct);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(ct)}0===(null===(nt=this._messagesContainer)||void 0===nt?void 0:nt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Z;const $=this._document.querySelectorAll(`[${Y}="${this._id}"]`);for(let oe=0;oe<$.length;oe++)this._removeCdkDescribedByReferenceIds($[oe]),$[oe].removeAttribute(Y);null===(Z=this._messagesContainer)||void 0===Z||Z.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Z,$){const oe=this._document.createElement("div");Se(oe),oe.textContent=Z,$&&oe.setAttribute("role",$),this._createMessagesContainer(),this._messagesContainer.appendChild(oe),this._messageRegistry.set(Oe(Z,$),{messageElement:oe,referenceCount:0})}_deleteMessageElement(Z){var $,oe;null===(oe=null===($=this._messageRegistry.get(Z))||void 0===$?void 0:$.messageElement)||void 0===oe||oe.remove(),this._messageRegistry.delete(Z)}_createMessagesContainer(){if(this._messagesContainer)return;const Z="cdk-describedby-message-container",$=this._document.querySelectorAll(`.${Z}[platform="server"]`);for(let nt=0;nt<$.length;nt++)$[nt].remove();const oe=this._document.createElement("div");oe.style.visibility="hidden",oe.classList.add(Z),oe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&oe.setAttribute("platform","server"),this._document.body.appendChild(oe),this._messagesContainer=oe}_removeCdkDescribedByReferenceIds(Z){const $=R(Z,"aria-describedby").filter(oe=>0!=oe.indexOf(X));Z.setAttribute("aria-describedby",$.join(" "))}_addMessageReference(Z,$){const oe=this._messageRegistry.get($);(function ye(He,je,Z){const $=R(He,je);$.some(oe=>oe.trim()==Z.trim())||($.push(Z.trim()),He.setAttribute(je,$.join(" ")))})(Z,"aria-describedby",oe.messageElement.id),Z.setAttribute(Y,this._id),oe.referenceCount++}_removeMessageReference(Z,$){const oe=this._messageRegistry.get($);oe.referenceCount--,function T(He,je,Z){const oe=R(He,je).filter(nt=>nt!=Z.trim());oe.length?He.setAttribute(je,oe.join(" ")):He.removeAttribute(je)}(Z,"aria-describedby",oe.messageElement.id),Z.removeAttribute(Y)}_isElementDescribedByMessage(Z,$){const oe=R(Z,"aria-describedby"),nt=this._messageRegistry.get($),ct=nt&&nt.messageElement.id;return!!ct&&-1!=oe.indexOf(ct)}_canBeDescribed(Z,$){if(!this._isElementNode(Z))return!1;if($&&"object"==typeof $)return!0;const oe=null==$?"":`${$}`.trim(),nt=Z.getAttribute("aria-label");return!(!oe||nt&&nt.trim()===oe)}_isElementNode(Z){return Z.nodeType===this._document.ELEMENT_NODE}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(e.K0),c.LFG(g.t4))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Oe(He,je){return"string"==typeof He?`${je||""}/${He}`:He}function Se(He){He.id||(He.id=`${X}-${se++}`)}class We{constructor(je){this._items=je,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new w.x,this._typeaheadSubscription=_.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Z=>Z.disabled,this._pressedLetters=[],this.tabOut=new w.x,this.change=new w.x,je instanceof c.n_E&&je.changes.subscribe(Z=>{if(this._activeItem){const oe=Z.toArray().indexOf(this._activeItem);oe>-1&&oe!==this._activeItemIndex&&(this._activeItemIndex=oe)}})}skipPredicate(je){return this._skipPredicateFn=je,this}withWrap(je=!0){return this._wrap=je,this}withVerticalOrientation(je=!0){return this._vertical=je,this}withHorizontalOrientation(je){return this._horizontal=je,this}withAllowedModifierKeys(je){return this._allowedModifierKeys=je,this}withTypeAhead(je=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,I.b)(Z=>this._pressedLetters.push(Z)),(0,N.b)(je),(0,A.h)(()=>this._pressedLetters.length>0),(0,q.U)(()=>this._pressedLetters.join(""))).subscribe(Z=>{const $=this._getItemsArray();for(let oe=1;oe<$.length+1;oe++){const nt=(this._activeItemIndex+oe)%$.length,ct=$[nt];if(!this._skipPredicateFn(ct)&&0===ct.getLabel().toUpperCase().trim().indexOf(Z)){this.setActiveItem(nt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(je=!0){return this._homeAndEnd=je,this}setActiveItem(je){const Z=this._activeItem;this.updateActiveItem(je),this._activeItem!==Z&&this.change.next(this._activeItemIndex)}onKeydown(je){const Z=je.keyCode,oe=["altKey","ctrlKey","metaKey","shiftKey"].every(nt=>!je[nt]||this._allowedModifierKeys.indexOf(nt)>-1);switch(Z){case v.Mf:return void this.tabOut.next();case v.JH:if(this._vertical&&oe){this.setNextItemActive();break}return;case v.LH:if(this._vertical&&oe){this.setPreviousItemActive();break}return;case v.SV:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case v.oh:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case v.Sd:if(this._homeAndEnd&&oe){this.setFirstItemActive();break}return;case v.uR:if(this._homeAndEnd&&oe){this.setLastItemActive();break}return;default:return void((oe||(0,v.Vb)(je,"shiftKey"))&&(je.key&&1===je.key.length?this._letterKeyStream.next(je.key.toLocaleUpperCase()):(Z>=v.A&&Z<=v.Z||Z>=v.xE&&Z<=v.aO)&&this._letterKeyStream.next(String.fromCharCode(Z))))}this._pressedLetters=[],je.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(je){const Z=this._getItemsArray(),$="number"==typeof je?je:Z.indexOf(je),oe=Z[$];this._activeItem=null==oe?null:oe,this._activeItemIndex=$}_setActiveItemByDelta(je){this._wrap?this._setActiveInWrapMode(je):this._setActiveInDefaultMode(je)}_setActiveInWrapMode(je){const Z=this._getItemsArray();for(let $=1;$<=Z.length;$++){const oe=(this._activeItemIndex+je*$+Z.length)%Z.length;if(!this._skipPredicateFn(Z[oe]))return void this.setActiveItem(oe)}}_setActiveInDefaultMode(je){this._setActiveItemByIndex(this._activeItemIndex+je,je)}_setActiveItemByIndex(je,Z){const $=this._getItemsArray();if($[je]){for(;this._skipPredicateFn($[je]);)if(!$[je+=Z])return;this.setActiveItem(je)}}_getItemsArray(){return this._items instanceof c.n_E?this._items.toArray():this._items}}class ge extends We{setActiveItem(je){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(je),this.activeItem&&this.activeItem.setActiveStyles()}}class Le extends We{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(je){return this._origin=je,this}setActiveItem(je){super.setActiveItem(je),this.activeItem&&this.activeItem.focus(this._origin)}}let Me=(()=>{class He{constructor(Z){this._platform=Z}isDisabled(Z){return Z.hasAttribute("disabled")}isVisible(Z){return function P(He){return!!(He.offsetWidth||He.offsetHeight||"function"==typeof He.getClientRects&&He.getClientRects().length)}(Z)&&"visible"===getComputedStyle(Z).visibility}isTabbable(Z){if(!this._platform.isBrowser)return!1;const $=function z(He){try{return He.frameElement}catch(je){return null}}(function ze(He){return He.ownerDocument&&He.ownerDocument.defaultView||window}(Z));if($&&(-1===ne($)||!this.isVisible($)))return!1;let oe=Z.nodeName.toLowerCase(),nt=ne(Z);return Z.hasAttribute("contenteditable")?-1!==nt:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function it(He){let je=He.nodeName.toLowerCase(),Z="input"===je&&He.type;return"text"===Z||"password"===Z||"select"===je||"textarea"===je}(Z))&&("audio"===oe?!!Z.hasAttribute("controls")&&-1!==nt:"video"===oe?-1!==nt&&(null!==nt||this._platform.FIREFOX||Z.hasAttribute("controls")):Z.tabIndex>=0)}isFocusable(Z,$){return function Be(He){return!function Ce(He){return function ce(He){return"input"==He.nodeName.toLowerCase()}(He)&&"hidden"==He.type}(He)&&(function de(He){let je=He.nodeName.toLowerCase();return"input"===je||"select"===je||"button"===je||"textarea"===je}(He)||function Pe(He){return function fe(He){return"a"==He.nodeName.toLowerCase()}(He)&&He.hasAttribute("href")}(He)||He.hasAttribute("contenteditable")||Ze(He))}(Z)&&!this.isDisabled(Z)&&((null==$?void 0:$.ignoreVisibility)||this.isVisible(Z))}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Ze(He){if(!He.hasAttribute("tabindex")||void 0===He.tabIndex)return!1;let je=He.getAttribute("tabindex");return!(!je||isNaN(parseInt(je,10)))}function ne(He){if(!Ze(He))return null;const je=parseInt(He.getAttribute("tabindex")||"",10);return isNaN(je)?-1:je}class Ue{constructor(je,Z,$,oe,nt=!1){this._element=je,this._checker=Z,this._ngZone=$,this._document=oe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,nt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(je){this._enabled=je,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(je,this._startAnchor),this._toggleAnchorTabIndex(je,this._endAnchor))}destroy(){const je=this._startAnchor,Z=this._endAnchor;je&&(je.removeEventListener("focus",this.startAnchorListener),je.remove()),Z&&(Z.removeEventListener("focus",this.endAnchorListener),Z.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(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusInitialElement(je)))})}focusFirstTabbableElementWhenReady(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusFirstTabbableElement(je)))})}focusLastTabbableElementWhenReady(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusLastTabbableElement(je)))})}_getRegionBoundary(je){const Z=this._element.querySelectorAll(`[cdk-focus-region-${je}], [cdkFocusRegion${je}], [cdk-focus-${je}]`);return"start"==je?Z.length?Z[0]:this._getFirstTabbableElement(this._element):Z.length?Z[Z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(je){const Z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Z){if(!this._checker.isFocusable(Z)){const $=this._getFirstTabbableElement(Z);return null==$||$.focus(je),!!$}return Z.focus(je),!0}return this.focusFirstTabbableElement(je)}focusFirstTabbableElement(je){const Z=this._getRegionBoundary("start");return Z&&Z.focus(je),!!Z}focusLastTabbableElement(je){const Z=this._getRegionBoundary("end");return Z&&Z.focus(je),!!Z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(je){if(this._checker.isFocusable(je)&&this._checker.isTabbable(je))return je;const Z=je.children;for(let $=0;$=0;$--){const oe=Z[$].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Z[$]):null;if(oe)return oe}return null}_createAnchor(){const je=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,je),je.classList.add("cdk-visually-hidden"),je.classList.add("cdk-focus-trap-anchor"),je.setAttribute("aria-hidden","true"),je}_toggleAnchorTabIndex(je,Z){je?Z.setAttribute("tabindex","0"):Z.removeAttribute("tabindex")}toggleAnchors(je){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(je,this._startAnchor),this._toggleAnchorTabIndex(je,this._endAnchor))}_executeOnStable(je){this._ngZone.isStable?je():this._ngZone.onStable.pipe((0,j.q)(1)).subscribe(je)}}let _e=(()=>{class He{constructor(Z,$,oe){this._checker=Z,this._ngZone=$,this._document=oe}create(Z,$=!1){return new Ue(Z,this._checker,this._ngZone,this._document,$)}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(Me),c.LFG(c.R0b),c.LFG(e.K0))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),ae=(()=>{class He{constructor(Z,$,oe){this._elementRef=Z,this._focusTrapFactory=$,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Z){this.focusTrap.enabled=(0,F.Ig)(Z)}get autoCapture(){return this._autoCapture}set autoCapture(Z){this._autoCapture=(0,F.Ig)(Z)}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(Z){const $=Z.autoCapture;$&&!$.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return He.\u0275fac=function(Z){return new(Z||He)(c.Y36(c.SBq),c.Y36(_e),c.Y36(e.K0))},He.\u0275dir=c.lG2({type:He,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[c.TTD]}),He})();function D(He){return 0===He.buttons||0===He.offsetX&&0===He.offsetY}function O(He){const je=He.touches&&He.touches[0]||He.changedTouches&&He.changedTouches[0];return!(!je||-1!==je.identifier||null!=je.radiusX&&1!==je.radiusX||null!=je.radiusY&&1!==je.radiusY)}const i=new c.OlP("cdk-input-modality-detector-options"),o={ignoreKeys:[v.zL,v.jx,v.b2,v.MW,v.JU]},l=(0,g.i$)({passive:!0,capture:!0});let s=(()=>{class He{constructor(Z,$,oe,nt){this._platform=Z,this._mostRecentTarget=null,this._modality=new b.X(null),this._lastTouchMs=0,this._onKeydown=ct=>{var Rt,mt;(null===(mt=null===(Rt=this._options)||void 0===Rt?void 0:Rt.ignoreKeys)||void 0===mt?void 0:mt.some(Tt=>Tt===ct.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(ct))},this._onMousedown=ct=>{Date.now()-this._lastTouchMs<650||(this._modality.next(D(ct)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(ct))},this._onTouchstart=ct=>{O(ct)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(ct))},this._options=Object.assign(Object.assign({},o),nt),this.modalityDetected=this._modality.pipe((0,G.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Q.x)()),Z.isBrowser&&$.runOutsideAngular(()=>{oe.addEventListener("keydown",this._onKeydown,l),oe.addEventListener("mousedown",this._onMousedown,l),oe.addEventListener("touchstart",this._onTouchstart,l)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,l),document.removeEventListener("mousedown",this._onMousedown,l),document.removeEventListener("touchstart",this._onTouchstart,l))}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4),c.LFG(c.R0b),c.LFG(e.K0),c.LFG(i,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const n=new c.OlP("liveAnnouncerElement",{providedIn:"root",factory:function t(){return null}}),r=new c.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let a=(()=>{class He{constructor(Z,$,oe,nt){this._ngZone=$,this._defaultOptions=nt,this._document=oe,this._liveElement=Z||this._createLiveElement()}announce(Z,...$){const oe=this._defaultOptions;let nt,ct;return 1===$.length&&"number"==typeof $[0]?ct=$[0]:[nt,ct]=$,this.clear(),clearTimeout(this._previousTimeout),nt||(nt=oe&&oe.politeness?oe.politeness:"polite"),null==ct&&oe&&(ct=oe.duration),this._liveElement.setAttribute("aria-live",nt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Rt=>this._currentResolve=Rt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Z,"number"==typeof ct&&(this._previousTimeout=setTimeout(()=>this.clear(),ct)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Z,$;clearTimeout(this._previousTimeout),null===(Z=this._liveElement)||void 0===Z||Z.remove(),this._liveElement=null,null===($=this._currentResolve)||void 0===$||$.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Z="cdk-live-announcer-element",$=this._document.getElementsByClassName(Z),oe=this._document.createElement("div");for(let nt=0;nt<$.length;nt++)$[nt].remove();return oe.classList.add(Z),oe.classList.add("cdk-visually-hidden"),oe.setAttribute("aria-atomic","true"),oe.setAttribute("aria-live","polite"),this._document.body.appendChild(oe),oe}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(n,8),c.LFG(c.R0b),c.LFG(e.K0),c.LFG(r,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const f=new c.OlP("cdk-focus-monitor-default-options"),x=(0,g.i$)({passive:!0,capture:!0});let Ye=(()=>{class He{constructor(Z,$,oe,nt,ct){this._ngZone=Z,this._platform=$,this._inputModalityDetector=oe,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 w.x,this._rootNodeFocusAndBlurListener=Rt=>{const mt=(0,g.sA)(Rt),Tt="focus"===Rt.type?this._onFocus:this._onBlur;for(let ot=mt;ot;ot=ot.parentElement)Tt.call(this,Rt,ot)},this._document=nt,this._detectionMode=(null==ct?void 0:ct.detectionMode)||0}monitor(Z,$=!1){const oe=(0,F.fI)(Z);if(!this._platform.isBrowser||1!==oe.nodeType)return(0,E.of)(null);const nt=(0,g.kV)(oe)||this._getDocument(),ct=this._elementInfo.get(oe);if(ct)return $&&(ct.checkChildren=!0),ct.subject;const Rt={checkChildren:$,subject:new w.x,rootNode:nt};return this._elementInfo.set(oe,Rt),this._registerGlobalListeners(Rt),Rt.subject}stopMonitoring(Z){const $=(0,F.fI)(Z),oe=this._elementInfo.get($);oe&&(oe.subject.complete(),this._setClasses($),this._elementInfo.delete($),this._removeGlobalListeners(oe))}focusVia(Z,$,oe){const nt=(0,F.fI)(Z);nt===this._getDocument().activeElement?this._getClosestElementsInfo(nt).forEach(([Rt,mt])=>this._originChanged(Rt,$,mt)):(this._setOrigin($),"function"==typeof nt.focus&&nt.focus(oe))}ngOnDestroy(){this._elementInfo.forEach((Z,$)=>this.stopMonitoring($))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Z){return 1===this._detectionMode||!!(null==Z?void 0:Z.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Z,$){Z.classList.toggle("cdk-focused",!!$),Z.classList.toggle("cdk-touch-focused","touch"===$),Z.classList.toggle("cdk-keyboard-focused","keyboard"===$),Z.classList.toggle("cdk-mouse-focused","mouse"===$),Z.classList.toggle("cdk-program-focused","program"===$)}_setOrigin(Z,$=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Z,this._originFromTouchInteraction="touch"===Z&&$,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Z,$){const oe=this._elementInfo.get($),nt=(0,g.sA)(Z);!oe||!oe.checkChildren&&$!==nt||this._originChanged($,this._getFocusOrigin(nt),oe)}_onBlur(Z,$){const oe=this._elementInfo.get($);!oe||oe.checkChildren&&Z.relatedTarget instanceof Node&&$.contains(Z.relatedTarget)||(this._setClasses($),this._emitOrigin(oe.subject,null))}_emitOrigin(Z,$){this._ngZone.run(()=>Z.next($))}_registerGlobalListeners(Z){if(!this._platform.isBrowser)return;const $=Z.rootNode,oe=this._rootNodeFocusListenerCount.get($)||0;oe||this._ngZone.runOutsideAngular(()=>{$.addEventListener("focus",this._rootNodeFocusAndBlurListener,x),$.addEventListener("blur",this._rootNodeFocusAndBlurListener,x)}),this._rootNodeFocusListenerCount.set($,oe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,he.R)(this._stopInputModalityDetector)).subscribe(nt=>{this._setOrigin(nt,!0)}))}_removeGlobalListeners(Z){const $=Z.rootNode;if(this._rootNodeFocusListenerCount.has($)){const oe=this._rootNodeFocusListenerCount.get($);oe>1?this._rootNodeFocusListenerCount.set($,oe-1):($.removeEventListener("focus",this._rootNodeFocusAndBlurListener,x),$.removeEventListener("blur",this._rootNodeFocusAndBlurListener,x),this._rootNodeFocusListenerCount.delete($))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Z,$,oe){this._setClasses(Z,$),this._emitOrigin(oe.subject,$),this._lastFocusOrigin=$}_getClosestElementsInfo(Z){const $=[];return this._elementInfo.forEach((oe,nt)=>{(nt===Z||oe.checkChildren&&nt.contains(Z))&&$.push([nt,oe])}),$}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(c.R0b),c.LFG(g.t4),c.LFG(s),c.LFG(e.K0,8),c.LFG(f,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),It=(()=>{class He{constructor(Z,$){this._elementRef=Z,this._focusMonitor=$,this.cdkFocusChange=new c.vpe}ngAfterViewInit(){const Z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Z,1===Z.nodeType&&Z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe($=>this.cdkFocusChange.emit($))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return He.\u0275fac=function(Z){return new(Z||He)(c.Y36(c.SBq),c.Y36(Ye))},He.\u0275dir=c.lG2({type:He,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),He})();const jt="cdk-high-contrast-black-on-white",bt="cdk-high-contrast-white-on-black",Yt="cdk-high-contrast-active";let Ct=(()=>{class He{constructor(Z,$){this._platform=Z,this._document=$}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Z=this._document.createElement("div");Z.style.backgroundColor="rgb(1,2,3)",Z.style.position="absolute",this._document.body.appendChild(Z);const $=this._document.defaultView||window,oe=$&&$.getComputedStyle?$.getComputedStyle(Z):null,nt=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(Z.remove(),nt){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 Z=this._document.body.classList;Z.remove(Yt),Z.remove(jt),Z.remove(bt),this._hasCheckedHighContrastMode=!0;const $=this.getHighContrastMode();1===$?(Z.add(Yt),Z.add(jt)):2===$&&(Z.add(Yt),Z.add(bt))}}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4),c.LFG(e.K0))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Nt=(()=>{class He{constructor(Z){Z._applyBodyHighContrastModeCssClasses()}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(Ct))},He.\u0275mod=c.oAB({type:He}),He.\u0275inj=c.cJS({imports:[[be.Q8]]}),He})()},50226:(qe,me,h)=>{"use strict";h.d(me,{vT:()=>I,Is:()=>E});var e=h(5e3),c=h(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function w(){return(0,e.f3M)(c.K0)}}),_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let E=(()=>{class N{constructor(q){if(this.value="ltr",this.change=new e.vpe,q){const G=q.documentElement?q.documentElement.dir:null;this.value=function b(N){const A=(null==N?void 0:N.toLowerCase())||"";return"auto"===A&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?_.test(navigator.language)?"rtl":"ltr":"rtl"===A?"rtl":"ltr"}((q.body?q.body.dir:null)||G||"ltr")}}ngOnDestroy(){this.change.complete()}}return N.\u0275fac=function(q){return new(q||N)(e.LFG(g,8))},N.\u0275prov=e.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275mod=e.oAB({type:N}),N.\u0275inj=e.cJS({}),N})()},69287:(qe,me,h)=>{"use strict";h.d(me,{i3:()=>b,TU:()=>w,Iq:()=>E});var e=h(69808),c=h(5e3);class g{constructor(I,N){this._document=N;const A=this._textarea=this._document.createElement("textarea"),q=A.style;q.position="fixed",q.top=q.opacity="0",q.left="-999em",A.setAttribute("aria-hidden","true"),A.value=I,this._document.body.appendChild(A)}copy(){const I=this._textarea;let N=!1;try{if(I){const A=this._document.activeElement;I.select(),I.setSelectionRange(0,I.value.length),N=this._document.execCommand("copy"),A&&A.focus()}}catch(A){}return N}destroy(){const I=this._textarea;I&&(I.remove(),this._textarea=void 0)}}let w=(()=>{class v{constructor(N){this._document=N}copy(N){const A=this.beginCopy(N),q=A.copy();return A.destroy(),q}beginCopy(N){return new g(N,this._document)}}return v.\u0275fac=function(N){return new(N||v)(c.LFG(e.K0))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const _=new c.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let b=(()=>{class v{constructor(N,A,q){this._clipboard=N,this._ngZone=A,this.text="",this.attempts=1,this.copied=new c.vpe,this._pending=new Set,q&&null!=q.attempts&&(this.attempts=q.attempts)}copy(N=this.attempts){if(N>1){let A=N;const q=this._clipboard.beginCopy(this.text);this._pending.add(q);const j=()=>{const G=q.copy();G||!--A||this._destroyed?(this._currentTimeout=null,this._pending.delete(q),q.destroy(),this.copied.emit(G)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(j,1))};j()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(N=>N.destroy()),this._pending.clear(),this._destroyed=!0}}return v.\u0275fac=function(N){return new(N||v)(c.Y36(w),c.Y36(c.R0b),c.Y36(_,8))},v.\u0275dir=c.lG2({type:v,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(N,A){1&N&&c.NdJ("click",function(){return A.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),v})(),E=(()=>{class v{}return v.\u0275fac=function(N){return new(N||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({}),v})()},63191:(qe,me,h)=>{"use strict";h.d(me,{t6:()=>w,Eq:()=>_,Ig:()=>c,HM:()=>b,fI:()=>E,su:()=>g,du:()=>v});var e=h(5e3);function c(I){return null!=I&&"false"!=`${I}`}function g(I,N=0){return w(I)?Number(I):N}function w(I){return!isNaN(parseFloat(I))&&!isNaN(Number(I))}function _(I){return Array.isArray(I)?I:[I]}function b(I){return null==I?"":"string"==typeof I?I:`${I}px`}function E(I){return I instanceof e.SBq?I.nativeElement:I}function v(I,N=/\s+/){const A=[];if(null!=I){const q=Array.isArray(I)?I:`${I}`.split(N);for(const j of q){const G=`${j}`.trim();G&&A.push(G)}}return A}},20449:(qe,me,h)=>{"use strict";h.d(me,{P3:()=>E,o2:()=>_,Ov:()=>N,A8:()=>q,yy:()=>v,eX:()=>I,k:()=>j,Z9:()=>b});var e=h(45191),c=h(39646),g=h(77579),w=h(5e3);class _{}function b(G){return G&&"function"==typeof G.connect}class E extends _{constructor(Q){super(),this._data=Q}connect(){return(0,e.b)(this._data)?this._data:(0,c.of)(this._data)}disconnect(){}}class v{applyChanges(Q,he,F,be,pe){Q.forEachOperation((ye,T,R)=>{let L,X;if(null==ye.previousIndex){const Y=F(ye,T,R);L=he.createEmbeddedView(Y.templateRef,Y.context,Y.index),X=1}else null==R?(he.remove(T),X=3):(L=he.get(T),he.move(L,R),X=2);pe&&pe({context:null==L?void 0:L.context,operation:X,record:ye})})}detach(){}}class I{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Q,he,F,be,pe){Q.forEachOperation((ye,T,R)=>{let L,X;null==ye.previousIndex?(L=this._insertView(()=>F(ye,T,R),R,he,be(ye)),X=L?1:0):null==R?(this._detachAndCacheView(T,he),X=3):(L=this._moveView(T,R,he,be(ye)),X=2),pe&&pe({context:null==L?void 0:L.context,operation:X,record:ye})})}detach(){for(const Q of this._viewCache)Q.destroy();this._viewCache=[]}_insertView(Q,he,F,be){const pe=this._insertViewFromCache(he,F);if(pe)return void(pe.context.$implicit=be);const ye=Q();return F.createEmbeddedView(ye.templateRef,ye.context,ye.index)}_detachAndCacheView(Q,he){const F=he.detach(Q);this._maybeCacheView(F,he)}_moveView(Q,he,F,be){const pe=F.get(Q);return F.move(pe,he),pe.context.$implicit=be,pe}_maybeCacheView(Q,he){if(this._viewCache.lengththis._markSelected(be)):this._markSelected(he[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Q){this._verifyValueAssignment(Q),Q.forEach(he=>this._markSelected(he)),this._emitChangeEvent()}deselect(...Q){this._verifyValueAssignment(Q),Q.forEach(he=>this._unmarkSelected(he)),this._emitChangeEvent()}toggle(Q){this.isSelected(Q)?this.deselect(Q):this.select(Q)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(Q){return this._selection.has(Q)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Q){this._multiple&&this.selected&&this._selected.sort(Q)}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(Q){this.isSelected(Q)||(this._multiple||this._unmarkAll(),this._selection.add(Q),this._emitChanges&&this._selectedToEmit.push(Q))}_unmarkSelected(Q){this.isSelected(Q)&&(this._selection.delete(Q),this._emitChanges&&this._deselectedToEmit.push(Q))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Q=>this._unmarkSelected(Q))}_verifyValueAssignment(Q){}}let q=(()=>{class G{constructor(){this._listeners=[]}notify(he,F){for(let be of this._listeners)be(he,F)}listen(he){return this._listeners.push(he),()=>{this._listeners=this._listeners.filter(F=>he!==F)}}ngOnDestroy(){this._listeners=[]}}return G.\u0275fac=function(he){return new(he||G)},G.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const j=new w.OlP("_ViewRepeater")},44409:(qe,me,h)=>{"use strict";h.d(me,{Zt:()=>He,Wj:()=>x,_t:()=>je,bA:()=>Ue});var e=h(5e3),c=h(69808),g=h(70925),w=h(63191),_=h(15664),b=h(77579),E=h(50727),v=h(17445),I=h(66406),N=h(68306),A=h(56451),q=h(82722),j=h(68675),G=h(54004),Q=h(95698),he=h(18505),F=h(63900),be=h(29071),pe=h(50226);function ye(Z,$,oe){for(let nt in $)if($.hasOwnProperty(nt)){const ct=$[nt];ct?Z.setProperty(nt,ct,(null==oe?void 0:oe.has(nt))?"important":""):Z.removeProperty(nt)}return Z}function T(Z,$){const oe=$?"":"none";ye(Z.style,{"touch-action":$?"":"none","-webkit-user-drag":$?"":"none","-webkit-tap-highlight-color":$?"":"transparent","user-select":oe,"-ms-user-select":oe,"-webkit-user-select":oe,"-moz-user-select":oe})}function R(Z,$,oe){ye(Z.style,{position:$?"":"fixed",top:$?"":"0",opacity:$?"":"0",left:$?"":"-999em"},oe)}function L(Z,$){return $&&"none"!=$?Z+" "+$:Z}function X(Z){const $=Z.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(Z)*$}function se(Z,$){return Z.getPropertyValue($).split(",").map(nt=>nt.trim())}function Te(Z){const $=Z.getBoundingClientRect();return{top:$.top,right:$.right,bottom:$.bottom,left:$.left,width:$.width,height:$.height,x:$.x,y:$.y}}function Oe(Z,$,oe){const{top:nt,bottom:ct,left:Rt,right:mt}=Z;return oe>=nt&&oe<=ct&&$>=Rt&&$<=mt}function Se(Z,$,oe){Z.top+=$,Z.bottom=Z.top+Z.height,Z.left+=oe,Z.right=Z.left+Z.width}function We(Z,$,oe,nt){const{top:ct,right:Rt,bottom:mt,left:Tt,width:ot,height:rt}=Z,lt=ot*$,ut=rt*$;return nt>ct-ut&&ntTt-lt&&oe{this.positions.set(oe,{scrollPosition:{top:oe.scrollTop,left:oe.scrollLeft},clientRect:Te(oe)})})}handleScroll($){const oe=(0,g.sA)($),nt=this.positions.get(oe);if(!nt)return null;const ct=nt.scrollPosition;let Rt,mt;if(oe===this._document){const rt=this.getViewportScrollPosition();Rt=rt.top,mt=rt.left}else Rt=oe.scrollTop,mt=oe.scrollLeft;const Tt=ct.top-Rt,ot=ct.left-mt;return this.positions.forEach((rt,lt)=>{rt.clientRect&&oe!==lt&&oe.contains(lt)&&Se(rt.clientRect,Tt,ot)}),ct.top=Rt,ct.left=mt,{top:Tt,left:ot}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Le(Z){const $=Z.cloneNode(!0),oe=$.querySelectorAll("[id]"),nt=Z.nodeName.toLowerCase();$.removeAttribute("id");for(let ct=0;ct{if(this.beforeStarted.next(),this._handles.length){const ot=this._getTargetHandle(Tt);ot&&!this._disabledHandles.has(ot)&&!this.disabled&&this._initializeDragSequence(ot,Tt)}else this.disabled||this._initializeDragSequence(this._rootElement,Tt)},this._pointerMove=Tt=>{const ot=this._getPointerPositionOnPage(Tt);if(!this._hasStartedDragging){if(Math.abs(ot.x-this._pickupPositionOnPage.x)+Math.abs(ot.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Qt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Tt),ni=this._dropContainer;if(!Qt)return void this._endDragSequence(Tt);(!ni||!ni.isDragging()&&!ni.isReceiving())&&(Tt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Tt)))}return}Tt.preventDefault();const rt=this._getConstrainedPointerPosition(ot);if(this._hasMoved=!0,this._lastKnownPointerPosition=ot,this._updatePointerDirectionDelta(rt),this._dropContainer)this._updateActiveDropContainer(rt,ot);else{const lt=this._activeTransform;lt.x=rt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,lt.y=rt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(lt.x,lt.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:rt,event:Tt,distance:this._getDragDistance(rt),delta:this._pointerDirectionDelta})})},this._pointerUp=Tt=>{this._endDragSequence(Tt)},this._nativeDragStart=Tt=>{if(this._handles.length){const ot=this._getTargetHandle(Tt);ot&&!this._disabledHandles.has(ot)&&!this.disabled&&Tt.preventDefault()}else this.disabled||Tt.preventDefault()},this.withRootElement($).withParent(oe.parentDragRef||null),this._parentPositions=new ge(nt),mt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled($){const oe=(0,w.Ig)($);oe!==this._disabled&&(this._disabled=oe,this._toggleNativeDragInteractions(),this._handles.forEach(nt=>T(nt,oe)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles($){this._handles=$.map(nt=>(0,w.fI)(nt)),this._handles.forEach(nt=>T(nt,this.disabled)),this._toggleNativeDragInteractions();const oe=new Set;return this._disabledHandles.forEach(nt=>{this._handles.indexOf(nt)>-1&&oe.add(nt)}),this._disabledHandles=oe,this}withPreviewTemplate($){return this._previewTemplate=$,this}withPlaceholderTemplate($){return this._placeholderTemplate=$,this}withRootElement($){const oe=(0,w.fI)($);return oe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{oe.addEventListener("mousedown",this._pointerDown,Ce),oe.addEventListener("touchstart",this._pointerDown,de),oe.addEventListener("dragstart",this._nativeDragStart,Ce)}),this._initialTransform=void 0,this._rootElement=oe),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement($){return this._boundaryElement=$?(0,w.fI)($):null,this._resizeSubscription.unsubscribe(),$&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent($){return this._parentDragRef=$,this}dispose(){var $,oe;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===($=this._rootElement)||void 0===$||$.remove()),null===(oe=this._anchor)||void 0===oe||oe.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($){!this._disabledHandles.has($)&&this._handles.indexOf($)>-1&&(this._disabledHandles.add($),T($,!0))}enableHandle($){this._disabledHandles.has($)&&(this._disabledHandles.delete($),T($,this.disabled))}withDirection($){return this._direction=$,this}_withDropContainer($){this._dropContainer=$}getFreeDragPosition(){const $=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:$.x,y:$.y}}setFreeDragPosition($){return this._activeTransform={x:0,y:0},this._passiveTransform.x=$.x,this._passiveTransform.y=$.y,this._dropContainer||this._applyRootElementTransform($.x,$.y),this}withPreviewContainer($){return this._previewContainer=$,this}_sortFromLastPointerPosition(){const $=this._lastKnownPointerPosition;$&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition($),$)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var $,oe;null===($=this._preview)||void 0===$||$.remove(),null===(oe=this._previewRef)||void 0===oe||oe.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var $,oe;null===($=this._placeholder)||void 0===$||$.remove(),null===(oe=this._placeholderRef)||void 0===oe||oe.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence($){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($),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const oe=this._getPointerPositionOnPage($);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(oe),dropPoint:oe})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence($){it($)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const oe=this._dropContainer;if(oe){const nt=this._rootElement,ct=nt.parentNode,Rt=this._placeholder=this._createPlaceholderElement(),mt=this._anchor=this._anchor||this._document.createComment(""),Tt=this._getShadowRoot();ct.insertBefore(mt,nt),this._initialTransform=nt.style.transform||"",this._preview=this._createPreviewElement(),R(nt,!1,ce),this._document.body.appendChild(ct.replaceChild(Rt,nt)),this._getPreviewInsertionPoint(ct,Tt).appendChild(this._preview),this.started.next({source:this}),oe.start(),this._initialContainer=oe,this._initialIndex=oe.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(oe?oe.getScrollableParents():[])}_initializeDragSequence($,oe){this._parentDragRef&&oe.stopPropagation();const nt=this.isDragging(),ct=it(oe),Rt=!ct&&0!==oe.button,mt=this._rootElement,Tt=(0,g.sA)(oe),ot=!ct&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),rt=ct?(0,_.yG)(oe):(0,_.X6)(oe);if(Tt&&Tt.draggable&&"mousedown"===oe.type&&oe.preventDefault(),nt||Rt||ot||rt)return;if(this._handles.length){const Ht=mt.style;this._rootElementTapHighlight=Ht.webkitTapHighlightColor||"",Ht.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(Ht=>this._updateOnScroll(Ht)),this._boundaryElement&&(this._boundaryRect=Te(this._boundaryElement));const lt=this._previewTemplate;this._pickupPositionInElement=lt&<.template&&!lt.matchSize?{x:0,y:0}:this._getPointerPositionInElement($,oe);const ut=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(oe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:ut.x,y:ut.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,oe)}_cleanupDragArtifacts($){R(this._rootElement,!0,ce),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const oe=this._dropContainer,nt=oe.getItemIndex(this),ct=this._getPointerPositionOnPage($),Rt=this._getDragDistance(ct),mt=oe._isOverContainer(ct.x,ct.y);this.ended.next({source:this,distance:Rt,dropPoint:ct}),this.dropped.next({item:this,currentIndex:nt,previousIndex:this._initialIndex,container:oe,previousContainer:this._initialContainer,isPointerOverContainer:mt,distance:Rt,dropPoint:ct}),oe.drop(this,nt,this._initialIndex,this._initialContainer,mt,Rt,ct),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:$,y:oe},{x:nt,y:ct}){let Rt=this._initialContainer._getSiblingContainerFromPosition(this,$,oe);!Rt&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer($,oe)&&(Rt=this._initialContainer),Rt&&Rt!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Rt,this._dropContainer.enter(this,$,oe,Rt===this._initialContainer&&Rt.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Rt,currentIndex:Rt.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(nt,ct),this._dropContainer._sortItem(this,$,oe,this._pointerDirectionDelta),this._applyPreviewTransform($-this._pickupPositionInElement.x,oe-this._pickupPositionInElement.y))}_createPreviewElement(){const $=this._previewTemplate,oe=this.previewClass,nt=$?$.template:null;let ct;if(nt&&$){const Rt=$.matchSize?this._rootElement.getBoundingClientRect():null,mt=$.viewContainer.createEmbeddedView(nt,$.context);mt.detectChanges(),ct=Be(mt,this._document),this._previewRef=mt,$.matchSize?ze(ct,Rt):ct.style.transform=Ze(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Rt=this._rootElement;ct=Le(Rt),ze(ct,Rt.getBoundingClientRect()),this._initialTransform&&(ct.style.transform=this._initialTransform)}return ye(ct.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ce),T(ct,!1),ct.classList.add("cdk-drag-preview"),ct.setAttribute("dir",this._direction),oe&&(Array.isArray(oe)?oe.forEach(Rt=>ct.classList.add(Rt)):ct.classList.add(oe)),ct}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const $=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform($.left,$.top);const oe=function Y(Z){const $=getComputedStyle(Z),oe=se($,"transition-property"),nt=oe.find(Tt=>"transform"===Tt||"all"===Tt);if(!nt)return 0;const ct=oe.indexOf(nt),Rt=se($,"transition-duration"),mt=se($,"transition-delay");return X(Rt[ct])+X(mt[ct])}(this._preview);return 0===oe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(nt=>{const ct=mt=>{var Tt;(!mt||(0,g.sA)(mt)===this._preview&&"transform"===mt.propertyName)&&(null===(Tt=this._preview)||void 0===Tt||Tt.removeEventListener("transitionend",ct),nt(),clearTimeout(Rt))},Rt=setTimeout(ct,1.5*oe);this._preview.addEventListener("transitionend",ct)}))}_createPlaceholderElement(){const $=this._placeholderTemplate,oe=$?$.template:null;let nt;return oe?(this._placeholderRef=$.viewContainer.createEmbeddedView(oe,$.context),this._placeholderRef.detectChanges(),nt=Be(this._placeholderRef,this._document)):nt=Le(this._rootElement),nt.style.pointerEvents="none",nt.classList.add("cdk-drag-placeholder"),nt}_getPointerPositionInElement($,oe){const nt=this._rootElement.getBoundingClientRect(),ct=$===this._rootElement?null:$,Rt=ct?ct.getBoundingClientRect():nt,mt=it(oe)?oe.targetTouches[0]:oe,Tt=this._getViewportScrollPosition();return{x:Rt.left-nt.left+(mt.pageX-Rt.left-Tt.left),y:Rt.top-nt.top+(mt.pageY-Rt.top-Tt.top)}}_getPointerPositionOnPage($){const oe=this._getViewportScrollPosition(),nt=it($)?$.touches[0]||$.changedTouches[0]||{pageX:0,pageY:0}:$,ct=nt.pageX-oe.left,Rt=nt.pageY-oe.top;if(this._ownerSVGElement){const mt=this._ownerSVGElement.getScreenCTM();if(mt){const Tt=this._ownerSVGElement.createSVGPoint();return Tt.x=ct,Tt.y=Rt,Tt.matrixTransform(mt.inverse())}}return{x:ct,y:Rt}}_getConstrainedPointerPosition($){const oe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:nt,y:ct}=this.constrainPosition?this.constrainPosition($,this):$;if("x"===this.lockAxis||"x"===oe?ct=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===oe)&&(nt=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Rt,y:mt}=this._pickupPositionInElement,Tt=this._boundaryRect,{width:ot,height:rt}=this._getPreviewRect(),lt=Tt.top+mt,ut=Tt.bottom-(rt-mt);nt=ne(nt,Tt.left+Rt,Tt.right-(ot-Rt)),ct=ne(ct,lt,ut)}return{x:nt,y:ct}}_updatePointerDirectionDelta($){const{x:oe,y:nt}=$,ct=this._pointerDirectionDelta,Rt=this._pointerPositionAtLastDirectionChange,mt=Math.abs(oe-Rt.x),Tt=Math.abs(nt-Rt.y);return mt>this._config.pointerDirectionChangeThreshold&&(ct.x=oe>Rt.x?1:-1,Rt.x=oe),Tt>this._config.pointerDirectionChangeThreshold&&(ct.y=nt>Rt.y?1:-1,Rt.y=nt),ct}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const $=this._handles.length>0||!this.isDragging();$!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=$,T(this._rootElement,$))}_removeRootElementListeners($){$.removeEventListener("mousedown",this._pointerDown,Ce),$.removeEventListener("touchstart",this._pointerDown,de),$.removeEventListener("dragstart",this._nativeDragStart,Ce)}_applyRootElementTransform($,oe){const nt=Ze($,oe),ct=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ct.transform&&"none"!=ct.transform?ct.transform:""),ct.transform=L(nt,this._initialTransform)}_applyPreviewTransform($,oe){var nt;const ct=(null===(nt=this._previewTemplate)||void 0===nt?void 0:nt.template)?void 0:this._initialTransform,Rt=Ze($,oe);this._preview.style.transform=L(Rt,ct)}_getDragDistance($){const oe=this._pickupPositionOnPage;return oe?{x:$.x-oe.x,y:$.y-oe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:$,y:oe}=this._passiveTransform;if(0===$&&0===oe||this.isDragging()||!this._boundaryElement)return;const nt=this._boundaryElement.getBoundingClientRect(),ct=this._rootElement.getBoundingClientRect();if(0===nt.width&&0===nt.height||0===ct.width&&0===ct.height)return;const Rt=nt.left-ct.left,mt=ct.right-nt.right,Tt=nt.top-ct.top,ot=ct.bottom-nt.bottom;nt.width>ct.width?(Rt>0&&($+=Rt),mt>0&&($-=mt)):$=0,nt.height>ct.height?(Tt>0&&(oe+=Tt),ot>0&&(oe-=ot)):oe=0,($!==this._passiveTransform.x||oe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:oe,x:$})}_getDragStartDelay($){const oe=this.dragStartDelay;return"number"==typeof oe?oe:it($)?oe.touch:oe?oe.mouse:0}_updateOnScroll($){const oe=this._parentPositions.handleScroll($);if(oe){const nt=(0,g.sA)($);this._boundaryRect&&nt!==this._boundaryElement&&nt.contains(this._boundaryElement)&&Se(this._boundaryRect,oe.top,oe.left),this._pickupPositionOnPage.x+=oe.left,this._pickupPositionOnPage.y+=oe.top,this._dropContainer||(this._activeTransform.x-=oe.left,this._activeTransform.y-=oe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var $;return(null===($=this._parentPositions.positions.get(this._document))||void 0===$?void 0:$.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint($,oe){const nt=this._previewContainer||"global";if("parent"===nt)return $;if("global"===nt){const ct=this._document;return oe||ct.fullscreenElement||ct.webkitFullscreenElement||ct.mozFullScreenElement||ct.msFullscreenElement||ct.body}return(0,w.fI)(nt)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle($){return this._handles.find(oe=>$.target&&($.target===oe||oe.contains($.target)))}}function Ze(Z,$){return`translate3d(${Math.round(Z)}px, ${Math.round($)}px, 0)`}function ne(Z,$,oe){return Math.max($,Math.min(oe,Z))}function it(Z){return"t"===Z.type[0]}function Be(Z,$){const oe=Z.rootNodes;if(1===oe.length&&oe[0].nodeType===$.ELEMENT_NODE)return oe[0];const nt=$.createElement("div");return oe.forEach(ct=>nt.appendChild(ct)),nt}function ze(Z,$){Z.style.width=`${$.width}px`,Z.style.height=`${$.height}px`,Z.style.transform=Ze($.left,$.top)}function Ue(Z,$,oe){const nt=Ae($,Z.length-1),ct=Ae(oe,Z.length-1);if(nt===ct)return;const Rt=Z[nt],mt=ct!0,this.sortPredicate=()=>!0,this.beforeStarted=new b.x,this.entered=new b.x,this.exited=new b.x,this.dropped=new b.x,this.sorted=new b.x,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=E.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new b.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,v.F)(0,I.Z).pipe((0,q.R)(this._stopScrollTimers)).subscribe(()=>{const mt=this._scrollNode,Tt=this.autoScrollStep;1===this._verticalScrollDirection?mt.scrollBy(0,-Tt):2===this._verticalScrollDirection&&mt.scrollBy(0,Tt),1===this._horizontalScrollDirection?mt.scrollBy(-Tt,0):2===this._horizontalScrollDirection&&mt.scrollBy(Tt,0)})},this.element=(0,w.fI)($),this._document=nt,this.withScrollableParents([this.element]),oe.registerDropContainer(this),this._parentPositions=new ge(nt)}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($,oe,nt,ct){let Rt;this._draggingStarted(),null==ct?(Rt=this.sortingDisabled?this._draggables.indexOf($):-1,-1===Rt&&(Rt=this._getItemIndexFromPointerPosition($,oe,nt))):Rt=ct;const mt=this._activeDraggables,Tt=mt.indexOf($),ot=$.getPlaceholderElement();let rt=mt[Rt];if(rt===$&&(rt=mt[Rt+1]),!rt&&(null==Rt||-1===Rt||Rt-1&&mt.splice(Tt,1),rt&&!this._dragDropRegistry.isDragging(rt)){const lt=rt.getRootElement();lt.parentElement.insertBefore(ot,lt),mt.splice(Rt,0,$)}else(0,w.fI)(this.element).appendChild(ot),mt.push($);ot.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:$,container:this,currentIndex:this.getItemIndex($)})}exit($){this._reset(),this.exited.next({item:$,container:this})}drop($,oe,nt,ct,Rt,mt,Tt){this._reset(),this.dropped.next({item:$,currentIndex:oe,previousIndex:nt,container:this,previousContainer:ct,isPointerOverContainer:Rt,distance:mt,dropPoint:Tt})}withItems($){const oe=this._draggables;return this._draggables=$,$.forEach(nt=>nt._withDropContainer(this)),this.isDragging()&&(oe.filter(ct=>ct.isDragging()).every(ct=>-1===$.indexOf(ct))?this._reset():this._cacheItems()),this}withDirection($){return this._direction=$,this}connectedTo($){return this._siblings=$.slice(),this}withOrientation($){return this._orientation=$,this}withScrollableParents($){const oe=(0,w.fI)(this.element);return this._scrollableElements=-1===$.indexOf(oe)?[oe,...$]:$.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex($){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(nt=>nt.drag===$):this._draggables.indexOf($)}isReceiving(){return this._activeSiblings.size>0}_sortItem($,oe,nt,ct){if(this.sortingDisabled||!this._clientRect||!We(this._clientRect,.05,oe,nt))return;const Rt=this._itemPositions,mt=this._getItemIndexFromPointerPosition($,oe,nt,ct);if(-1===mt&&Rt.length>0)return;const Tt="horizontal"===this._orientation,ot=Rt.findIndex(gi=>gi.drag===$),rt=Rt[mt],ut=rt.clientRect,Ht=ot>mt?1:-1,Qt=this._getItemOffsetPx(Rt[ot].clientRect,ut,Ht),ni=this._getSiblingOffsetPx(ot,Rt,Ht),hi=Rt.slice();Ue(Rt,ot,mt),this.sorted.next({previousIndex:ot,currentIndex:mt,container:this,item:$}),Rt.forEach((gi,xi)=>{if(hi[xi]===gi)return;const ji=gi.drag===$,tn=ji?Qt:ni,qi=ji?$.getPlaceholderElement():gi.drag.getRootElement();gi.offset+=tn,Tt?(qi.style.transform=L(`translate3d(${Math.round(gi.offset)}px, 0, 0)`,gi.initialTransform),Se(gi.clientRect,0,tn)):(qi.style.transform=L(`translate3d(0, ${Math.round(gi.offset)}px, 0)`,gi.initialTransform),Se(gi.clientRect,tn,0))}),this._previousSwap.overlaps=Oe(ut,oe,nt),this._previousSwap.drag=rt.drag,this._previousSwap.delta=Tt?ct.x:ct.y}_startScrollingIfNecessary($,oe){if(this.autoScrollDisabled)return;let nt,ct=0,Rt=0;if(this._parentPositions.positions.forEach((mt,Tt)=>{Tt===this._document||!mt.clientRect||nt||We(mt.clientRect,.05,$,oe)&&([ct,Rt]=function O(Z,$,oe,nt){const ct=H($,nt),Rt=D($,oe);let mt=0,Tt=0;if(ct){const ot=Z.scrollTop;1===ct?ot>0&&(mt=1):Z.scrollHeight-ot>Z.clientHeight&&(mt=2)}if(Rt){const ot=Z.scrollLeft;1===Rt?ot>0&&(Tt=1):Z.scrollWidth-ot>Z.clientWidth&&(Tt=2)}return[mt,Tt]}(Tt,mt.clientRect,$,oe),(ct||Rt)&&(nt=Tt))}),!ct&&!Rt){const{width:mt,height:Tt}=this._viewportRuler.getViewportSize(),ot={width:mt,height:Tt,top:0,right:mt,bottom:Tt,left:0};ct=H(ot,oe),Rt=D(ot,$),nt=window}nt&&(ct!==this._verticalScrollDirection||Rt!==this._horizontalScrollDirection||nt!==this._scrollNode)&&(this._verticalScrollDirection=ct,this._horizontalScrollDirection=Rt,this._scrollNode=nt,(ct||Rt)&&nt?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const $=(0,w.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=$.msScrollSnapType||$.scrollSnapType||"",$.scrollSnapType=$.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const $=(0,w.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get($).clientRect}_cacheItemPositions(){const $="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(oe=>{const nt=oe.getVisibleElement();return{drag:oe,offset:0,initialTransform:nt.style.transform||"",clientRect:Te(nt)}}).sort((oe,nt)=>$?oe.clientRect.left-nt.clientRect.left:oe.clientRect.top-nt.clientRect.top)}_reset(){this._isDragging=!1;const $=(0,w.fI)(this.element).style;$.scrollSnapType=$.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(oe=>{var nt;const ct=oe.getRootElement();if(ct){const Rt=null===(nt=this._itemPositions.find(mt=>mt.drag===oe))||void 0===nt?void 0:nt.initialTransform;ct.style.transform=Rt||""}}),this._siblings.forEach(oe=>oe._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($,oe,nt){const ct="horizontal"===this._orientation,Rt=oe[$].clientRect,mt=oe[$+-1*nt];let Tt=Rt[ct?"width":"height"]*nt;if(mt){const ot=ct?"left":"top",rt=ct?"right":"bottom";-1===nt?Tt-=mt.clientRect[ot]-Rt[rt]:Tt+=Rt[ot]-mt.clientRect[rt]}return Tt}_getItemOffsetPx($,oe,nt){const ct="horizontal"===this._orientation;let Rt=ct?oe.left-$.left:oe.top-$.top;return-1===nt&&(Rt+=ct?oe.width-$.width:oe.height-$.height),Rt}_shouldEnterAsFirstChild($,oe){if(!this._activeDraggables.length)return!1;const nt=this._itemPositions,ct="horizontal"===this._orientation;if(nt[0].drag!==this._activeDraggables[0]){const mt=nt[nt.length-1].clientRect;return ct?$>=mt.right:oe>=mt.bottom}{const mt=nt[0].clientRect;return ct?$<=mt.left:oe<=mt.top}}_getItemIndexFromPointerPosition($,oe,nt,ct){const Rt="horizontal"===this._orientation,mt=this._itemPositions.findIndex(({drag:Tt,clientRect:ot})=>{if(Tt===$)return!1;if(ct){const rt=Rt?ct.x:ct.y;if(Tt===this._previousSwap.drag&&this._previousSwap.overlaps&&rt===this._previousSwap.delta)return!1}return Rt?oe>=Math.floor(ot.left)&&oe=Math.floor(ot.top)&&ntct._canReceive($,oe,nt))}_canReceive($,oe,nt){if(!this._clientRect||!Oe(this._clientRect,oe,nt)||!this.enterPredicate($,this))return!1;const ct=this._getShadowRoot().elementFromPoint(oe,nt);if(!ct)return!1;const Rt=(0,w.fI)(this.element);return ct===Rt||Rt.contains(ct)}_startReceiving($,oe){const nt=this._activeSiblings;!nt.has($)&&oe.every(ct=>this.enterPredicate(ct,this)||this._draggables.indexOf(ct)>-1)&&(nt.add($),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving($){this._activeSiblings.delete($),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>{if(this.isDragging()){const oe=this._parentPositions.handleScroll($);oe&&(this._itemPositions.forEach(({clientRect:nt})=>{Se(nt,oe.top,oe.left)}),this._itemPositions.forEach(({drag:nt})=>{this._dragDropRegistry.isDragging(nt)&&nt._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const $=(0,g.kV)((0,w.fI)(this.element));this._cachedShadowRoot=$||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const $=this._activeDraggables.filter(oe=>oe.isDragging());this._siblings.forEach(oe=>oe._startReceiving(this,$))}}function H(Z,$){const{top:oe,bottom:nt,height:ct}=Z,Rt=.05*ct;return $>=oe-Rt&&$<=oe+Rt?1:$>=nt-Rt&&$<=nt+Rt?2:0}function D(Z,$){const{left:oe,right:nt,width:ct}=Z,Rt=.05*ct;return $>=oe-Rt&&$<=oe+Rt?1:$>=nt-Rt&&$<=nt+Rt?2:0}const i=(0,g.i$)({passive:!1,capture:!0});let o=(()=>{class Z{constructor(oe,nt){this._ngZone=oe,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ct=>ct.isDragging(),this.pointerMove=new b.x,this.pointerUp=new b.x,this.scroll=new b.x,this._preventDefaultWhileDragging=ct=>{this._activeDragInstances.length>0&&ct.preventDefault()},this._persistentTouchmoveListener=ct=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ct.preventDefault(),this.pointerMove.next(ct))},this._document=nt}registerDropContainer(oe){this._dropInstances.has(oe)||this._dropInstances.add(oe)}registerDragItem(oe){this._dragInstances.add(oe),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,i)})}removeDropContainer(oe){this._dropInstances.delete(oe)}removeDragItem(oe){this._dragInstances.delete(oe),this.stopDragging(oe),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,i)}startDragging(oe,nt){if(!(this._activeDragInstances.indexOf(oe)>-1)&&(this._activeDragInstances.push(oe),1===this._activeDragInstances.length)){const ct=nt.type.startsWith("touch");this._globalListeners.set(ct?"touchend":"mouseup",{handler:Rt=>this.pointerUp.next(Rt),options:!0}).set("scroll",{handler:Rt=>this.scroll.next(Rt),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:i}),ct||this._globalListeners.set("mousemove",{handler:Rt=>this.pointerMove.next(Rt),options:i}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Rt,mt)=>{this._document.addEventListener(mt,Rt.handler,Rt.options)})})}}stopDragging(oe){const nt=this._activeDragInstances.indexOf(oe);nt>-1&&(this._activeDragInstances.splice(nt,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(oe){return this._activeDragInstances.indexOf(oe)>-1}scrolled(oe){const nt=[this.scroll];return oe&&oe!==this._document&&nt.push(new N.y(ct=>this._ngZone.runOutsideAngular(()=>{const mt=Tt=>{this._activeDragInstances.length&&ct.next(Tt)};return oe.addEventListener("scroll",mt,!0),()=>{oe.removeEventListener("scroll",mt,!0)}}))),(0,A.T)(...nt)}ngOnDestroy(){this._dragInstances.forEach(oe=>this.removeDragItem(oe)),this._dropInstances.forEach(oe=>this.removeDropContainer(oe)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((oe,nt)=>{this._document.removeEventListener(nt,oe.handler,oe.options)}),this._globalListeners.clear()}}return Z.\u0275fac=function(oe){return new(oe||Z)(e.LFG(e.R0b),e.LFG(c.K0))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const u={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let l=(()=>{class Z{constructor(oe,nt,ct,Rt){this._document=oe,this._ngZone=nt,this._viewportRuler=ct,this._dragDropRegistry=Rt}createDrag(oe,nt=u){return new fe(oe,nt,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(oe){return new V(oe,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return Z.\u0275fac=function(oe){return new(oe||Z)(e.LFG(c.K0),e.LFG(e.R0b),e.LFG(be.rL),e.LFG(o))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const s=new e.OlP("CDK_DRAG_PARENT"),n=new e.OlP("CdkDropListGroup"),r=new e.OlP("CDK_DRAG_CONFIG");let d=0;const f=new e.OlP("CdkDropList");let x=(()=>{class Z{constructor(oe,nt,ct,Rt,mt,Tt,ot){this.element=oe,this._changeDetectorRef=ct,this._scrollDispatcher=Rt,this._dir=mt,this._group=Tt,this._destroyed=new b.x,this.connectedTo=[],this.id="cdk-drop-list-"+d++,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=nt.createDropList(oe),this._dropListRef.data=this,ot&&this._assignDefaults(ot),this._dropListRef.enterPredicate=(rt,lt)=>this.enterPredicate(rt.data,lt.data),this._dropListRef.sortPredicate=(rt,lt,ut)=>this.sortPredicate(rt,lt.data,ut.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Z._dropLists.push(this),Tt&&Tt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(oe){this._dropListRef.disabled=this._disabled=(0,w.Ig)(oe)}addItem(oe){this._unsortedItems.add(oe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(oe){this._unsortedItems.delete(oe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((oe,nt)=>oe._dragRef.getVisibleElement().compareDocumentPosition(nt._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const oe=Z._dropLists.indexOf(this);oe>-1&&Z._dropLists.splice(oe,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(oe){this._dir&&this._dir.change.pipe((0,j.O)(this._dir.value),(0,q.R)(this._destroyed)).subscribe(nt=>oe.withDirection(nt)),oe.beforeStarted.subscribe(()=>{const nt=(0,w.Eq)(this.connectedTo).map(ct=>"string"==typeof ct?Z._dropLists.find(mt=>mt.id===ct):ct);if(this._group&&this._group._items.forEach(ct=>{-1===nt.indexOf(ct)&&nt.push(ct)}),!this._scrollableParentsResolved){const ct=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Rt=>Rt.getElementRef().nativeElement);this._dropListRef.withScrollableParents(ct),this._scrollableParentsResolved=!0}oe.disabled=this.disabled,oe.lockAxis=this.lockAxis,oe.sortingDisabled=(0,w.Ig)(this.sortingDisabled),oe.autoScrollDisabled=(0,w.Ig)(this.autoScrollDisabled),oe.autoScrollStep=(0,w.su)(this.autoScrollStep,2),oe.connectedTo(nt.filter(ct=>ct&&ct!==this).map(ct=>ct._dropListRef)).withOrientation(this.orientation)})}_handleEvents(oe){oe.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),oe.entered.subscribe(nt=>{this.entered.emit({container:this,item:nt.item.data,currentIndex:nt.currentIndex})}),oe.exited.subscribe(nt=>{this.exited.emit({container:this,item:nt.item.data}),this._changeDetectorRef.markForCheck()}),oe.sorted.subscribe(nt=>{this.sorted.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,container:this,item:nt.item.data})}),oe.dropped.subscribe(nt=>{this.dropped.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,previousContainer:nt.previousContainer.data,container:nt.container.data,item:nt.item.data,isPointerOverContainer:nt.isPointerOverContainer,distance:nt.distance,dropPoint:nt.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(oe){const{lockAxis:nt,draggingDisabled:ct,sortingDisabled:Rt,listAutoScrollDisabled:mt,listOrientation:Tt}=oe;this.disabled=null!=ct&&ct,this.sortingDisabled=null!=Rt&&Rt,this.autoScrollDisabled=null!=mt&&mt,this.orientation=Tt||"vertical",nt&&(this.lockAxis=nt)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(oe=>oe._dragRef))}}return Z._dropLists=[],Z.\u0275fac=function(oe){return new(oe||Z)(e.Y36(e.SBq),e.Y36(l),e.Y36(e.sBO),e.Y36(be.mF),e.Y36(pe.Is,8),e.Y36(n,12),e.Y36(r,8))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(oe,nt){2&oe&&(e.uIk("id",nt.id),e.ekj("cdk-drop-list-disabled",nt.disabled)("cdk-drop-list-dragging",nt._dropListRef.isDragging())("cdk-drop-list-receiving",nt._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:n,useValue:void 0},{provide:f,useExisting:Z}])]}),Z})();const Ye=new e.OlP("CdkDragHandle"),jt=new e.OlP("CdkDragPlaceholder"),Yt=new e.OlP("CdkDragPreview");let He=(()=>{class Z{constructor(oe,nt,ct,Rt,mt,Tt,ot,rt,lt,ut,Ht){this.element=oe,this.dropContainer=nt,this._ngZone=Rt,this._viewContainerRef=mt,this._dir=ot,this._changeDetectorRef=lt,this._selfHandle=ut,this._parentDrag=Ht,this._destroyed=new b.x,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 N.y(Qt=>{const ni=this._dragRef.moved.pipe((0,G.U)(hi=>({source:this,pointerPosition:hi.pointerPosition,event:hi.event,delta:hi.delta,distance:hi.distance}))).subscribe(Qt);return()=>{ni.unsubscribe()}}),this._dragRef=rt.createDrag(oe,{dragStartThreshold:Tt&&null!=Tt.dragStartThreshold?Tt.dragStartThreshold:5,pointerDirectionChangeThreshold:Tt&&null!=Tt.pointerDirectionChangeThreshold?Tt.pointerDirectionChangeThreshold:5,zIndex:null==Tt?void 0:Tt.zIndex}),this._dragRef.data=this,Z._dragInstances.push(this),Tt&&this._assignDefaults(Tt),nt&&(this._dragRef._withDropContainer(nt._dropListRef),nt.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(oe){this._disabled=(0,w.Ig)(oe),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.q)(1),(0,q.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(oe){const nt=oe.rootElementSelector,ct=oe.freeDragPosition;nt&&!nt.firstChange&&this._updateRootElement(),ct&&!ct.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const oe=Z._dragInstances.indexOf(this);oe>-1&&Z._dragInstances.splice(oe,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var oe;const nt=this.element.nativeElement;let ct=nt;this.rootElementSelector&&(ct=void 0!==nt.closest?nt.closest(this.rootElementSelector):null===(oe=nt.parentElement)||void 0===oe?void 0:oe.closest(this.rootElementSelector)),this._dragRef.withRootElement(ct||nt)}_getBoundaryElement(){const oe=this.boundaryElement;return oe?"string"==typeof oe?this.element.nativeElement.closest(oe):(0,w.fI)(oe):null}_syncInputs(oe){oe.beforeStarted.subscribe(()=>{if(!oe.isDragging()){const nt=this._dir,ct=this.dragStartDelay,Rt=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,mt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;oe.disabled=this.disabled,oe.lockAxis=this.lockAxis,oe.dragStartDelay="object"==typeof ct&&ct?ct:(0,w.su)(ct),oe.constrainPosition=this.constrainPosition,oe.previewClass=this.previewClass,oe.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Rt).withPreviewTemplate(mt).withPreviewContainer(this.previewContainer||"global"),nt&&oe.withDirection(nt.value)}}),oe.beforeStarted.pipe((0,Q.q)(1)).subscribe(()=>{var nt;if(this._parentDrag)return void oe.withParent(this._parentDrag._dragRef);let ct=this.element.nativeElement.parentElement;for(;ct;){if(ct.classList.contains("cdk-drag")){oe.withParent((null===(nt=Z._dragInstances.find(Rt=>Rt.element.nativeElement===ct))||void 0===nt?void 0:nt._dragRef)||null);break}ct=ct.parentElement}})}_handleEvents(oe){oe.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),oe.released.subscribe(()=>{this.released.emit({source:this})}),oe.ended.subscribe(nt=>{this.ended.emit({source:this,distance:nt.distance,dropPoint:nt.dropPoint}),this._changeDetectorRef.markForCheck()}),oe.entered.subscribe(nt=>{this.entered.emit({container:nt.container.data,item:this,currentIndex:nt.currentIndex})}),oe.exited.subscribe(nt=>{this.exited.emit({container:nt.container.data,item:this})}),oe.dropped.subscribe(nt=>{this.dropped.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,previousContainer:nt.previousContainer.data,container:nt.container.data,isPointerOverContainer:nt.isPointerOverContainer,item:this,distance:nt.distance,dropPoint:nt.dropPoint})})}_assignDefaults(oe){const{lockAxis:nt,dragStartDelay:ct,constrainPosition:Rt,previewClass:mt,boundaryElement:Tt,draggingDisabled:ot,rootElementSelector:rt,previewContainer:lt}=oe;this.disabled=null!=ot&&ot,this.dragStartDelay=ct||0,nt&&(this.lockAxis=nt),Rt&&(this.constrainPosition=Rt),mt&&(this.previewClass=mt),Tt&&(this.boundaryElement=Tt),rt&&(this.rootElementSelector=rt),lt&&(this.previewContainer=lt)}_setupHandlesListener(){this._handles.changes.pipe((0,j.O)(this._handles),(0,he.b)(oe=>{const nt=oe.filter(ct=>ct._parentDrag===this).map(ct=>ct.element);this._selfHandle&&this.rootElementSelector&&nt.push(this.element),this._dragRef.withHandles(nt)}),(0,F.w)(oe=>(0,A.T)(...oe.map(nt=>nt._stateChanges.pipe((0,j.O)(nt))))),(0,q.R)(this._destroyed)).subscribe(oe=>{const nt=this._dragRef,ct=oe.element.nativeElement;oe.disabled?nt.disableHandle(ct):nt.enableHandle(ct)})}}return Z._dragInstances=[],Z.\u0275fac=function(oe){return new(oe||Z)(e.Y36(e.SBq),e.Y36(f,12),e.Y36(c.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(r,8),e.Y36(pe.Is,8),e.Y36(l),e.Y36(e.sBO),e.Y36(Ye,10),e.Y36(s,12))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkDrag",""]],contentQueries:function(oe,nt,ct){if(1&oe&&(e.Suo(ct,Yt,5),e.Suo(ct,jt,5),e.Suo(ct,Ye,5)),2&oe){let Rt;e.iGM(Rt=e.CRH())&&(nt._previewTemplate=Rt.first),e.iGM(Rt=e.CRH())&&(nt._placeholderTemplate=Rt.first),e.iGM(Rt=e.CRH())&&(nt._handles=Rt)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(oe,nt){2&oe&&e.ekj("cdk-drag-disabled",nt.disabled)("cdk-drag-dragging",nt._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:s,useExisting:Z}]),e.TTD]}),Z})(),je=(()=>{class Z{}return Z.\u0275fac=function(oe){return new(oe||Z)},Z.\u0275mod=e.oAB({type:Z}),Z.\u0275inj=e.cJS({providers:[l],imports:[be.ZD]}),Z})()},91159:(qe,me,h)=>{"use strict";h.d(me,{A:()=>Pe,zL:()=>v,ZH:()=>c,OC:()=>_t,jx:()=>E,yY:()=>X,JH:()=>ye,uR:()=>Q,K5:()=>_,hY:()=>A,Sd:()=>he,oh:()=>F,b2:()=>Ki,MW:()=>a,aO:()=>Me,VM:()=>G,Ku:()=>j,SV:()=>pe,JU:()=>b,L_:()=>q,Mf:()=>g,LH:()=>be,Z:()=>r,xE:()=>Y,Vb:()=>Li});const c=8,g=9,_=13,b=16,E=17,v=18,A=27,q=32,j=33,G=34,Q=35,he=36,F=37,be=38,pe=39,ye=40,X=46,Y=48,Me=57,Pe=65,r=90,a=91,_t=188,Ki=224;function Li(yi,...nn){return nn.length?nn.some(fn=>yi[fn]):yi.altKey||yi.shiftKey||yi.ctrlKey||yi.metaKey}},17144:(qe,me,h)=>{"use strict";h.d(me,{wD:()=>v,Q8:()=>I});var e=h(63191),c=h(5e3),g=h(68306),w=h(77579),_=h(78372);let b=(()=>{class N{create(q){return"undefined"==typeof MutationObserver?null:new MutationObserver(q)}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),E=(()=>{class N{constructor(q){this._mutationObserverFactory=q,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((q,j)=>this._cleanupObserver(j))}observe(q){const j=(0,e.fI)(q);return new g.y(G=>{const he=this._observeElement(j).subscribe(G);return()=>{he.unsubscribe(),this._unobserveElement(j)}})}_observeElement(q){if(this._observedElements.has(q))this._observedElements.get(q).count++;else{const j=new w.x,G=this._mutationObserverFactory.create(Q=>j.next(Q));G&&G.observe(q,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(q,{observer:G,stream:j,count:1})}return this._observedElements.get(q).stream}_unobserveElement(q){this._observedElements.has(q)&&(this._observedElements.get(q).count--,this._observedElements.get(q).count||this._cleanupObserver(q))}_cleanupObserver(q){if(this._observedElements.has(q)){const{observer:j,stream:G}=this._observedElements.get(q);j&&j.disconnect(),G.complete(),this._observedElements.delete(q)}}}return N.\u0275fac=function(q){return new(q||N)(c.LFG(b))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),v=(()=>{class N{constructor(q,j,G){this._contentObserver=q,this._elementRef=j,this._ngZone=G,this.event=new c.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(q){this._disabled=(0,e.Ig)(q),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(q){this._debounce=(0,e.su)(q),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const q=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?q.pipe((0,_.b)(this.debounce)):q).subscribe(this.event)})}_unsubscribe(){var q;null===(q=this._currentSubscription)||void 0===q||q.unsubscribe()}}return N.\u0275fac=function(q){return new(q||N)(c.Y36(E),c.Y36(c.SBq),c.Y36(c.R0b))},N.\u0275dir=c.lG2({type:N,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),N})(),I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({providers:[b]}),N})()},91314:(qe,me,h)=>{"use strict";h.d(me,{pI:()=>ae,xu:()=>_e,_G:()=>Me,aV:()=>Be,X_:()=>X,Xj:()=>ge,U8:()=>Ne});var e=h(29071),c=h(69808),g=h(5e3),w=h(63191),_=h(70925),b=h(50226),E=h(47429),v=h(77579),I=h(50727),N=h(56451),A=h(95698),q=h(82722),j=h(22529),G=h(91159);const Q=(0,_.Mq)();class he{constructor(D,O){this._viewportRuler=D,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=O}attach(){}enable(){if(this._canBeEnabled()){const D=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=D.style.left||"",this._previousHTMLStyles.top=D.style.top||"",D.style.left=(0,w.HM)(-this._previousScrollPosition.left),D.style.top=(0,w.HM)(-this._previousScrollPosition.top),D.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const D=this._document.documentElement,i=D.style,o=this._document.body.style,u=i.scrollBehavior||"",l=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,D.classList.remove("cdk-global-scrollblock"),Q&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(i.scrollBehavior=u,o.scrollBehavior=l)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const O=this._document.body,i=this._viewportRuler.getViewportSize();return O.scrollHeight>i.height||O.scrollWidth>i.width}}class be{constructor(D,O,i,o){this._scrollDispatcher=D,this._ngZone=O,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(D){this._overlayRef=D}enable(){if(this._scrollSubscription)return;const D=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=D.subscribe(()=>{const O=this._viewportRuler.getViewportScrollPosition().top;Math.abs(O-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=D.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class pe{enable(){}disable(){}attach(){}}function ye(H,D){return D.some(O=>H.bottomO.bottom||H.rightO.right)}function T(H,D){return D.some(O=>H.topO.bottom||H.leftO.right)}class R{constructor(D,O,i,o){this._scrollDispatcher=D,this._viewportRuler=O,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(D){this._overlayRef=D}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 O=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();ye(O,[{width:i,height:o,bottom:o,right:i,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 L=(()=>{class H{constructor(O,i,o,u){this._scrollDispatcher=O,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new pe,this.close=l=>new be(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new he(this._viewportRuler,this._document),this.reposition=l=>new R(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=u}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(c.K0))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();class X{constructor(D){if(this.scrollStrategy=new pe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,D){const O=Object.keys(D);for(const i of O)void 0!==D[i]&&(this[i]=D[i])}}}class Te{constructor(D,O){this.connectionPair=D,this.scrollableViewProperties=O}}class We{constructor(D,O,i,o,u,l,s,n,t){this._portalOutlet=D,this._host=O,this._pane=i,this._config=o,this._ngZone=u,this._keyboardDispatcher=l,this._document=s,this._location=n,this._outsideClickDispatcher=t,this._backdropElement=null,this._backdropClick=new v.x,this._attachments=new v.x,this._detachments=new v.x,this._locationChanges=I.w0.EMPTY,this._backdropClickHandler=r=>this._backdropClick.next(r),this._backdropTransitionendHandler=r=>{this._disposeBackdrop(r.target)},this._keydownEvents=new v.x,this._outsidePointerEvents=new v.x,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(D){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const O=this._portalOutlet.attach(D);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,A.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),O}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const D=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),D}dispose(){var D;const O=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===(D=this._host)||void 0===D||D.remove(),this._previousHostParent=this._pane=this._host=null,O&&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(D){D!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=D,this.hasAttached()&&(D.attach(this),this.updatePosition()))}updateSize(D){this._config=Object.assign(Object.assign({},this._config),D),this._updateElementSize()}setDirection(D){this._config=Object.assign(Object.assign({},this._config),{direction:D}),this._updateElementDirection()}addPanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!0)}removePanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!1)}getDirection(){const D=this._config.direction;return D?"string"==typeof D?D:D.value:"ltr"}updateScrollStrategy(D){D!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=D,this.hasAttached()&&(D.attach(this),D.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const D=this._pane.style;D.width=(0,w.HM)(this._config.width),D.height=(0,w.HM)(this._config.height),D.minWidth=(0,w.HM)(this._config.minWidth),D.minHeight=(0,w.HM)(this._config.minHeight),D.maxWidth=(0,w.HM)(this._config.maxWidth),D.maxHeight=(0,w.HM)(this._config.maxHeight)}_togglePointerEvents(D){this._pane.style.pointerEvents=D?"":"none"}_attachBackdrop(){const D="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(D)})}):this._backdropElement.classList.add(D)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const D=this._backdropElement;!D||(D.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{D.addEventListener("transitionend",this._backdropTransitionendHandler)}),D.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(D)},500)))}_toggleClasses(D,O,i){const o=(0,w.Eq)(O||[]).filter(u=>!!u);o.length&&(i?D.classList.add(...o):D.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const D=this._ngZone.onStable.pipe((0,q.R)((0,N.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()),D.unsubscribe())})})}_disposeScrollStrategy(){const D=this._scrollStrategy;D&&(D.disable(),D.detach&&D.detach())}_disposeBackdrop(D){D&&(D.removeEventListener("click",this._backdropClickHandler),D.removeEventListener("transitionend",this._backdropTransitionendHandler),D.remove(),this._backdropElement===D&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ge=(()=>{class H{constructor(O,i){this._platform=i,this._document=O}ngOnDestroy(){var O;null===(O=this._containerElement)||void 0===O||O.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const O="cdk-overlay-container";if(this._platform.isBrowser||(0,_.Oy)()){const o=this._document.querySelectorAll(`.${O}[platform="server"], .${O}[platform="test"]`);for(let u=0;u{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 D=this._originRect,O=this._overlayRect,i=this._viewportRect,o=this._containerRect,u=[];let l;for(let s of this._preferredPositions){let n=this._getOriginPoint(D,o,s),t=this._getOverlayPoint(n,O,s),r=this._getOverlayFit(t,O,i,s);if(r.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,n);this._canFitWithFlexibleDimensions(r,t,i)?u.push({position:s,origin:n,overlayRect:O,boundingBoxRect:this._calculateBoundingBoxRect(n,s)}):(!l||l.overlayFit.visibleArean&&(n=r,s=t)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Le),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const D=this._lastPosition;if(D){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const O=this._getOriginPoint(this._originRect,this._containerRect,D);this._applyPosition(D,O)}else this.apply()}withScrollableContainers(D){return this._scrollables=D,this}withPositions(D){return this._preferredPositions=D,-1===D.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(D){return this._viewportMargin=D,this}withFlexibleDimensions(D=!0){return this._hasFlexibleDimensions=D,this}withGrowAfterOpen(D=!0){return this._growAfterOpen=D,this}withPush(D=!0){return this._canPush=D,this}withLockedPosition(D=!0){return this._positionLocked=D,this}setOrigin(D){return this._origin=D,this}withDefaultOffsetX(D){return this._offsetX=D,this}withDefaultOffsetY(D){return this._offsetY=D,this}withTransformOriginOn(D){return this._transformOriginSelector=D,this}_getOriginPoint(D,O,i){let o,u;if("center"==i.originX)o=D.left+D.width/2;else{const l=this._isRtl()?D.right:D.left,s=this._isRtl()?D.left:D.right;o="start"==i.originX?l:s}return O.left<0&&(o-=O.left),u="center"==i.originY?D.top+D.height/2:"top"==i.originY?D.top:D.bottom,O.top<0&&(u-=O.top),{x:o,y:u}}_getOverlayPoint(D,O,i){let o,u;return o="center"==i.overlayX?-O.width/2:"start"===i.overlayX?this._isRtl()?-O.width:0:this._isRtl()?0:-O.width,u="center"==i.overlayY?-O.height/2:"top"==i.overlayY?0:-O.height,{x:D.x+o,y:D.y+u}}_getOverlayFit(D,O,i,o){const u=de(O);let{x:l,y:s}=D,n=this._getOffset(o,"x"),t=this._getOffset(o,"y");n&&(l+=n),t&&(s+=t);let d=0-s,f=s+u.height-i.height,x=this._subtractOverflows(u.width,0-l,l+u.width-i.width),Ye=this._subtractOverflows(u.height,d,f),It=x*Ye;return{visibleArea:It,isCompletelyWithinViewport:u.width*u.height===It,fitsInViewportVertically:Ye===u.height,fitsInViewportHorizontally:x==u.width}}_canFitWithFlexibleDimensions(D,O,i){if(this._hasFlexibleDimensions){const o=i.bottom-O.y,u=i.right-O.x,l=P(this._overlayRef.getConfig().minHeight),s=P(this._overlayRef.getConfig().minWidth),t=D.fitsInViewportHorizontally||null!=s&&s<=u;return(D.fitsInViewportVertically||null!=l&&l<=o)&&t}return!1}_pushOverlayOnScreen(D,O,i){if(this._previousPushAmount&&this._positionLocked)return{x:D.x+this._previousPushAmount.x,y:D.y+this._previousPushAmount.y};const o=de(O),u=this._viewportRect,l=Math.max(D.x+o.width-u.width,0),s=Math.max(D.y+o.height-u.height,0),n=Math.max(u.top-i.top-D.y,0),t=Math.max(u.left-i.left-D.x,0);let r=0,a=0;return r=o.width<=u.width?t||-l:D.xx&&!this._isInitialRender&&!this._growAfterOpen&&(l=D.y-x/2)}if("end"===O.overlayX&&!o||"start"===O.overlayX&&o)d=i.width-D.x+this._viewportMargin,r=D.x-this._viewportMargin;else if("start"===O.overlayX&&!o||"end"===O.overlayX&&o)a=D.x,r=i.right-D.x;else{const f=Math.min(i.right-D.x+i.left,D.x),x=this._lastBoundingBoxSize.width;r=2*f,a=D.x-f,r>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=D.x-x/2)}return{top:l,left:a,bottom:s,right:d,width:r,height:u}}_setBoundingBoxStyles(D,O){const i=this._calculateBoundingBoxRect(D,O);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.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 u=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=(0,w.HM)(i.height),o.top=(0,w.HM)(i.top),o.bottom=(0,w.HM)(i.bottom),o.width=(0,w.HM)(i.width),o.left=(0,w.HM)(i.left),o.right=(0,w.HM)(i.right),o.alignItems="center"===O.overlayX?"center":"end"===O.overlayX?"flex-end":"flex-start",o.justifyContent="center"===O.overlayY?"center":"bottom"===O.overlayY?"flex-end":"flex-start",u&&(o.maxHeight=(0,w.HM)(u)),l&&(o.maxWidth=(0,w.HM)(l))}this._lastBoundingBoxSize=i,z(this._boundingBox.style,o)}_resetBoundingBoxStyles(){z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(D,O){const i={},o=this._hasExactPosition(),u=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){const r=this._viewportRuler.getViewportScrollPosition();z(i,this._getExactOverlayY(O,D,r)),z(i,this._getExactOverlayX(O,D,r))}else i.position="static";let s="",n=this._getOffset(O,"x"),t=this._getOffset(O,"y");n&&(s+=`translateX(${n}px) `),t&&(s+=`translateY(${t}px)`),i.transform=s.trim(),l.maxHeight&&(o?i.maxHeight=(0,w.HM)(l.maxHeight):u&&(i.maxHeight="")),l.maxWidth&&(o?i.maxWidth=(0,w.HM)(l.maxWidth):u&&(i.maxWidth="")),z(this._pane.style,i)}_getExactOverlayY(D,O,i){let o={top:"",bottom:""},u=this._getOverlayPoint(O,this._overlayRect,D);return this._isPushed&&(u=this._pushOverlayOnScreen(u,this._overlayRect,i)),"bottom"===D.overlayY?o.bottom=this._document.documentElement.clientHeight-(u.y+this._overlayRect.height)+"px":o.top=(0,w.HM)(u.y),o}_getExactOverlayX(D,O,i){let l,o={left:"",right:""},u=this._getOverlayPoint(O,this._overlayRect,D);return this._isPushed&&(u=this._pushOverlayOnScreen(u,this._overlayRect,i)),l=this._isRtl()?"end"===D.overlayX?"left":"right":"end"===D.overlayX?"right":"left","right"===l?o.right=this._document.documentElement.clientWidth-(u.x+this._overlayRect.width)+"px":o.left=(0,w.HM)(u.x),o}_getScrollVisibility(){const D=this._getOriginRect(),O=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:T(D,i),isOriginOutsideView:ye(D,i),isOverlayClipped:T(O,i),isOverlayOutsideView:ye(O,i)}}_subtractOverflows(D,...O){return O.reduce((i,o)=>i-Math.max(o,0),D)}_getNarrowedViewportRect(){const D=this._document.documentElement.clientWidth,O=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+D-this._viewportMargin,bottom:i.top+O-this._viewportMargin,width:D-2*this._viewportMargin,height:O-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(D,O){return"x"===O?null==D.offsetX?this._offsetX:D.offsetX:null==D.offsetY?this._offsetY:D.offsetY}_validatePositions(){}_addPanelClasses(D){this._pane&&(0,w.Eq)(D).forEach(O=>{""!==O&&-1===this._appliedPanelClasses.indexOf(O)&&(this._appliedPanelClasses.push(O),this._pane.classList.add(O))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(D=>{this._pane.classList.remove(D)}),this._appliedPanelClasses=[])}_getOriginRect(){const D=this._origin;if(D instanceof g.SBq)return D.nativeElement.getBoundingClientRect();if(D instanceof Element)return D.getBoundingClientRect();const O=D.width||0,i=D.height||0;return{top:D.y,bottom:D.y+i,left:D.x,right:D.x+O,height:i,width:O}}}function z(H,D){for(let O in D)D.hasOwnProperty(O)&&(H[O]=D[O]);return H}function P(H){if("number"!=typeof H&&null!=H){const[D,O]=H.split(ue);return O&&"px"!==O?null:parseFloat(D)}return H||null}function de(H){return{top:Math.floor(H.top),right:Math.floor(H.right),bottom:Math.floor(H.bottom),left:Math.floor(H.left),width:Math.floor(H.width),height:Math.floor(H.height)}}const Ce="cdk-global-overlay-wrapper";class Pe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(D){const O=D.getConfig();this._overlayRef=D,this._width&&!O.width&&D.updateSize({width:this._width}),this._height&&!O.height&&D.updateSize({height:this._height}),D.hostElement.classList.add(Ce),this._isDisposed=!1}top(D=""){return this._bottomOffset="",this._topOffset=D,this._alignItems="flex-start",this}left(D=""){return this._rightOffset="",this._leftOffset=D,this._justifyContent="flex-start",this}bottom(D=""){return this._topOffset="",this._bottomOffset=D,this._alignItems="flex-end",this}right(D=""){return this._leftOffset="",this._rightOffset=D,this._justifyContent="flex-end",this}width(D=""){return this._overlayRef?this._overlayRef.updateSize({width:D}):this._width=D,this}height(D=""){return this._overlayRef?this._overlayRef.updateSize({height:D}):this._height=D,this}centerHorizontally(D=""){return this.left(D),this._justifyContent="center",this}centerVertically(D=""){return this.top(D),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const D=this._overlayRef.overlayElement.style,O=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:u,maxWidth:l,maxHeight:s}=i,n=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),t=!("100%"!==u&&"100vh"!==u||s&&"100%"!==s&&"100vh"!==s);D.position=this._cssPosition,D.marginLeft=n?"0":this._leftOffset,D.marginTop=t?"0":this._topOffset,D.marginBottom=this._bottomOffset,D.marginRight=this._rightOffset,n?O.justifyContent="flex-start":"center"===this._justifyContent?O.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?O.justifyContent="flex-end":"flex-end"===this._justifyContent&&(O.justifyContent="flex-start"):O.justifyContent=this._justifyContent,O.alignItems=t?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const D=this._overlayRef.overlayElement.style,O=this._overlayRef.hostElement,i=O.style;O.classList.remove(Ce),i.justifyContent=i.alignItems=D.marginTop=D.marginBottom=D.marginLeft=D.marginRight=D.position="",this._overlayRef=null,this._isDisposed=!0}}let ce=(()=>{class H{constructor(O,i,o,u){this._viewportRuler=O,this._document=i,this._platform=o,this._overlayContainer=u}global(){return new Pe}flexibleConnectedTo(O){return new Me(O,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(e.rL),g.LFG(c.K0),g.LFG(_.t4),g.LFG(ge))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),fe=(()=>{class H{constructor(O){this._attachedOverlays=[],this._document=O}ngOnDestroy(){this.detach()}add(O){this.remove(O),this._attachedOverlays.push(O)}remove(O){const i=this._attachedOverlays.indexOf(O);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),Ze=(()=>{class H extends fe{constructor(O,i){super(O),this._ngZone=i,this._keydownListener=o=>{const u=this._attachedOverlays;for(let l=u.length-1;l>-1;l--)if(u[l]._keydownEvents.observers.length>0){const s=u[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(o)):s.next(o);break}}}add(O){super.add(O),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0),g.LFG(g.R0b,8))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),ne=(()=>{class H extends fe{constructor(O,i,o){super(O),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=u=>{this._pointerDownEventTarget=(0,_.sA)(u)},this._clickListener=u=>{const l=(0,_.sA)(u),s="click"===u.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const n=this._attachedOverlays.slice();for(let t=n.length-1;t>-1;t--){const r=n[t];if(r._outsidePointerEvents.observers.length<1||!r.hasAttached())continue;if(r.overlayElement.contains(l)||r.overlayElement.contains(s))break;const a=r._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>a.next(u)):a.next(u)}}}add(O){if(super.add(O),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const O=this._document.body;O.removeEventListener("pointerdown",this._pointerDownListener,!0),O.removeEventListener("click",this._clickListener,!0),O.removeEventListener("auxclick",this._clickListener,!0),O.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(O.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(O){O.addEventListener("pointerdown",this._pointerDownListener,!0),O.addEventListener("click",this._clickListener,!0),O.addEventListener("auxclick",this._clickListener,!0),O.addEventListener("contextmenu",this._clickListener,!0)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0),g.LFG(_.t4),g.LFG(g.R0b,8))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),it=0,Be=(()=>{class H{constructor(O,i,o,u,l,s,n,t,r,a,d){this.scrollStrategies=O,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=u,this._keyboardDispatcher=l,this._injector=s,this._ngZone=n,this._document=t,this._directionality=r,this._location=a,this._outsideClickDispatcher=d}create(O){const i=this._createHostElement(),o=this._createPaneElement(i),u=this._createPortalOutlet(o),l=new X(O);return l.direction=l.direction||this._directionality.value,new We(u,i,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(O){const i=this._document.createElement("div");return i.id="cdk-overlay-"+it++,i.classList.add("cdk-overlay-pane"),O.appendChild(i),i}_createHostElement(){const O=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(O),O}_createPortalOutlet(O){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new E.u0(O,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(L),g.LFG(ge),g.LFG(g._Vd),g.LFG(ce),g.LFG(Ze),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(c.K0),g.LFG(b.Is),g.LFG(c.Ye),g.LFG(ne))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac}),H})();const ze=[{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"}],Ue=new g.OlP("cdk-connected-overlay-scroll-strategy");let _e=(()=>{class H{constructor(O){this.elementRef=O}}return H.\u0275fac=function(O){return new(O||H)(g.Y36(g.SBq))},H.\u0275dir=g.lG2({type:H,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),H})(),ae=(()=>{class H{constructor(O,i,o,u,l){this._overlay=O,this._dir=l,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=I.w0.EMPTY,this._attachSubscription=I.w0.EMPTY,this._detachSubscription=I.w0.EMPTY,this._positionSubscription=I.w0.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 E.UE(i,o),this._scrollStrategyFactory=u,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(O){this._offsetX=O,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(O){this._offsetY=O,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(O){this._hasBackdrop=(0,w.Ig)(O)}get lockPosition(){return this._lockPosition}set lockPosition(O){this._lockPosition=(0,w.Ig)(O)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(O){this._flexibleDimensions=(0,w.Ig)(O)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(O){this._growAfterOpen=(0,w.Ig)(O)}get push(){return this._push}set push(O){this._push=(0,w.Ig)(O)}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(O){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),O.origin&&this.open&&this._position.apply()),O.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ze);const O=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=O.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=O.detachments().subscribe(()=>this.detach.emit()),O.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===G.hY&&!this.disableClose&&!(0,G.Vb)(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const O=this._position=this.positionStrategy||this._createPositionStrategy(),i=new X({direction:this._dir,positionStrategy:O,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(O){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return O.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const O=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(O),O}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof _e?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(O=>{this.backdropClick.emit(O)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,j.o)(()=>this.positionChange.observers.length>0)).subscribe(O=>{this.positionChange.emit(O),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return H.\u0275fac=function(O){return new(O||H)(g.Y36(Be),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(Ue),g.Y36(b.Is,8))},H.\u0275dir=g.lG2({type:H,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]}),H})();const ee={provide:Ue,deps:[Be],useFactory:function Ae(H){return()=>H.scrollStrategies.reposition()}};let Ne=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=g.oAB({type:H}),H.\u0275inj=g.cJS({providers:[Be,ee],imports:[[b.vT,E.eL,e.Cl],e.Cl]}),H})()},70925:(qe,me,h)=>{"use strict";h.d(me,{t4:()=>w,ud:()=>_,sA:()=>ye,ht:()=>pe,kV:()=>be,Oy:()=>T,_i:()=>Q,qK:()=>v,i$:()=>A,Mq:()=>G});var e=h(5e3),c=h(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(R){g=!1}let b,w=(()=>{class R{constructor(X){this._platformId=X,this.isBrowser=this._platformId?(0,c.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 R.\u0275fac=function(X){return new(X||R)(e.LFG(e.Lbi))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),_=(()=>{class R{}return R.\u0275fac=function(X){return new(X||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({}),R})();const E=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function v(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(E),b;let R=document.createElement("input");return b=new Set(E.filter(L=>(R.setAttribute("type",L),R.type===L))),b}let I,q,j,he;function A(R){return function N(){if(null==I&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>I=!0}))}finally{I=I||!1}return I}()?R:!!R.capture}function G(){if(null==j){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return j=!1,j;if("scrollBehavior"in document.documentElement.style)j=!0;else{const R=Element.prototype.scrollTo;j=!!R&&!/\{\s*\[native code\]\s*\}/.test(R.toString())}}return j}function Q(){if("object"!=typeof document||!document)return 0;if(null==q){const R=document.createElement("div"),L=R.style;R.dir="rtl",L.width="1px",L.overflow="auto",L.visibility="hidden",L.pointerEvents="none",L.position="absolute";const X=document.createElement("div"),Y=X.style;Y.width="2px",Y.height="1px",R.appendChild(X),document.body.appendChild(R),q=0,0===R.scrollLeft&&(R.scrollLeft=1,q=0===R.scrollLeft?1:2),R.remove()}return q}function be(R){if(function F(){if(null==he){const R="undefined"!=typeof document?document.head:null;he=!(!R||!R.createShadowRoot&&!R.attachShadow)}return he}()){const L=R.getRootNode?R.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&L instanceof ShadowRoot)return L}return null}function pe(){let R="undefined"!=typeof document&&document?document.activeElement:null;for(;R&&R.shadowRoot;){const L=R.shadowRoot.activeElement;if(L===R)break;R=L}return R}function ye(R){return R.composedPath?R.composedPath()[0]:R.target}function T(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(qe,me,h)=>{"use strict";h.d(me,{en:()=>j,ig:()=>F,Pl:()=>pe,C5:()=>N,u0:()=>Q,eL:()=>T,UE:()=>A});var e=h(5e3),c=h(69808);class I{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 N extends I{constructor(X,Y,se,Te){super(),this.component=X,this.viewContainerRef=Y,this.injector=se,this.componentFactoryResolver=Te}}class A extends I{constructor(X,Y,se){super(),this.templateRef=X,this.viewContainerRef=Y,this.context=se}get origin(){return this.templateRef.elementRef}attach(X,Y=this.context){return this.context=Y,super.attach(X)}detach(){return this.context=void 0,super.detach()}}class q extends I{constructor(X){super(),this.element=X instanceof e.SBq?X.nativeElement:X}}class j{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(X){return X instanceof N?(this._attachedPortal=X,this.attachComponentPortal(X)):X instanceof A?(this._attachedPortal=X,this.attachTemplatePortal(X)):this.attachDomPortal&&X instanceof q?(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 Q extends j{constructor(X,Y,se,Te,Oe){super(),this.outletElement=X,this._componentFactoryResolver=Y,this._appRef=se,this._defaultInjector=Te,this.attachDomPortal=Se=>{const We=Se.element,ge=this._document.createComment("dom-portal");We.parentNode.insertBefore(ge,We),this.outletElement.appendChild(We),this._attachedPortal=Se,super.setDisposeFn(()=>{ge.parentNode&&ge.parentNode.replaceChild(We,ge)})},this._document=Oe}attachComponentPortal(X){const se=(X.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(X.component);let Te;return X.viewContainerRef?(Te=X.viewContainerRef.createComponent(se,X.viewContainerRef.length,X.injector||X.viewContainerRef.injector),this.setDisposeFn(()=>Te.destroy())):(Te=se.create(X.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(Te.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Te.hostView),Te.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Te)),this._attachedPortal=X,Te}attachTemplatePortal(X){let Y=X.viewContainerRef,se=Y.createEmbeddedView(X.templateRef,X.context);return se.rootNodes.forEach(Te=>this.outletElement.appendChild(Te)),se.detectChanges(),this.setDisposeFn(()=>{let Te=Y.indexOf(se);-1!==Te&&Y.remove(Te)}),this._attachedPortal=X,se}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(X){return X.hostView.rootNodes[0]}}let F=(()=>{class L extends A{constructor(Y,se){super(Y,se)}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(e.Rgc),e.Y36(e.s_b))},L.\u0275dir=e.lG2({type:L,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),L})(),pe=(()=>{class L extends j{constructor(Y,se,Te){super(),this._componentFactoryResolver=Y,this._viewContainerRef=se,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Oe=>{const Se=Oe.element,We=this._document.createComment("dom-portal");Oe.setAttachedHost(this),Se.parentNode.insertBefore(We,Se),this._getRootNode().appendChild(Se),this._attachedPortal=Oe,super.setDisposeFn(()=>{We.parentNode&&We.parentNode.replaceChild(Se,We)})},this._document=Te}get portal(){return this._attachedPortal}set portal(Y){this.hasAttached()&&!Y&&!this._isInitialized||(this.hasAttached()&&super.detach(),Y&&super.attach(Y),this._attachedPortal=Y||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Y){Y.setAttachedHost(this);const se=null!=Y.viewContainerRef?Y.viewContainerRef:this._viewContainerRef,Oe=(Y.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Y.component),Se=se.createComponent(Oe,se.length,Y.injector||se.injector);return se!==this._viewContainerRef&&this._getRootNode().appendChild(Se.hostView.rootNodes[0]),super.setDisposeFn(()=>Se.destroy()),this._attachedPortal=Y,this._attachedRef=Se,this.attached.emit(Se),Se}attachTemplatePortal(Y){Y.setAttachedHost(this);const se=this._viewContainerRef.createEmbeddedView(Y.templateRef,Y.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Y,this._attachedRef=se,this.attached.emit(se),se}_getRootNode(){const Y=this._viewContainerRef.element.nativeElement;return Y.nodeType===Y.ELEMENT_NODE?Y:Y.parentNode}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(c.K0))},L.\u0275dir=e.lG2({type:L,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({}),L})()},29071:(qe,me,h)=>{"use strict";h.d(me,{xd:()=>Oe,PQ:()=>ge,ZD:()=>Pe,x0:()=>Ce,N7:()=>P,mF:()=>We,Cl:()=>ce,rL:()=>ue});var e=h(63191),c=h(5e3),g=h(77579),w=h(39646),_=h(68306),b=h(54968),E=h(66406),v=h(53101),I=h(50727),N=h(45191),A=h(71884),q=h(23601),j=h(39300),G=h(82722),Q=h(68675),he=h(11520),F=h(63900),be=h(34782),pe=h(69808),ye=h(70925),T=h(50226),R=h(20449);const L=["contentWrapper"],X=["*"],Y=new c.OlP("VIRTUAL_SCROLL_STRATEGY");class se{constructor(Ze,ne,it){this._scrolledIndexChange=new g.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,A.x)()),this._viewport=null,this._itemSize=Ze,this._minBufferPx=ne,this._maxBufferPx=it}attach(Ze){this._viewport=Ze,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Ze,ne,it){this._itemSize=Ze,this._minBufferPx=ne,this._maxBufferPx=it,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Ze,ne){this._viewport&&this._viewport.scrollToOffset(Ze*this._itemSize,ne)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Ze=this._viewport.getRenderedRange(),ne={start:Ze.start,end:Ze.end},it=this._viewport.getViewportSize(),Be=this._viewport.getDataLength();let ze=this._viewport.measureScrollOffset(),Ue=this._itemSize>0?ze/this._itemSize:0;if(ne.end>Be){const ae=Math.ceil(it/this._itemSize),Ae=Math.max(0,Math.min(Ue,Be-ae));Ue!=Ae&&(Ue=Ae,ze=Ae*this._itemSize,ne.start=Math.floor(Ue)),ne.end=Math.max(0,Math.min(Be,ne.start+ae))}const _e=ze-ne.start*this._itemSize;if(_e0&&(ne.end=Math.min(Be,ne.end+Ae),ne.start=Math.max(0,Math.floor(Ue-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(ne),this._viewport.setRenderedContentOffset(this._itemSize*ne.start),this._scrolledIndexChange.next(Math.floor(Ue))}}function Te(fe){return fe._scrollStrategy}let Oe=(()=>{class fe{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new se(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(ne){this._itemSize=(0,e.su)(ne)}get minBufferPx(){return this._minBufferPx}set minBufferPx(ne){this._minBufferPx=(0,e.su)(ne)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(ne){this._maxBufferPx=(0,e.su)(ne)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275dir=c.lG2({type:fe,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[c._Bn([{provide:Y,useFactory:Te,deps:[(0,c.Gpc)(()=>fe)]}]),c.TTD]}),fe})(),We=(()=>{class fe{constructor(ne,it,Be){this._ngZone=ne,this._platform=it,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Be}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const it=this.scrollContainers.get(ne);it&&(it.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new _.y(it=>{this._globalSubscription||this._addGlobalListener();const Be=ne>0?this._scrolled.pipe((0,q.e)(ne)).subscribe(it):this._scrolled.subscribe(it);return this._scrolledCount++,()=>{Be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,w.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,it)=>this.deregister(it)),this._scrolled.complete()}ancestorScrolled(ne,it){const Be=this.getAncestorScrollContainers(ne);return this.scrolled(it).pipe((0,j.h)(ze=>!ze||Be.indexOf(ze)>-1))}getAncestorScrollContainers(ne){const it=[];return this.scrollContainers.forEach((Be,ze)=>{this._scrollableContainsElement(ze,ne)&&it.push(ze)}),it}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,it){let Be=(0,e.fI)(it),ze=ne.getElementRef().nativeElement;do{if(Be==ze)return!0}while(Be=Be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,b.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.LFG(c.R0b),c.LFG(ye.t4),c.LFG(pe.K0,8))},fe.\u0275prov=c.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ge=(()=>{class fe{constructor(ne,it,Be,ze){this.elementRef=ne,this.scrollDispatcher=it,this.ngZone=Be,this.dir=ze,this._destroyed=new g.x,this._elementScrolled=new _.y(Ue=>this.ngZone.runOutsideAngular(()=>(0,b.R)(this.elementRef.nativeElement,"scroll").pipe((0,G.R)(this._destroyed)).subscribe(Ue)))}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(ne){const it=this.elementRef.nativeElement,Be=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=Be?ne.end:ne.start),null==ne.right&&(ne.right=Be?ne.start:ne.end),null!=ne.bottom&&(ne.top=it.scrollHeight-it.clientHeight-ne.bottom),Be&&0!=(0,ye._i)()?(null!=ne.left&&(ne.right=it.scrollWidth-it.clientWidth-ne.left),2==(0,ye._i)()?ne.left=ne.right:1==(0,ye._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=it.scrollWidth-it.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const it=this.elementRef.nativeElement;(0,ye.Mq)()?it.scrollTo(ne):(null!=ne.top&&(it.scrollTop=ne.top),null!=ne.left&&(it.scrollLeft=ne.left))}measureScrollOffset(ne){const it="left",ze=this.elementRef.nativeElement;if("top"==ne)return ze.scrollTop;if("bottom"==ne)return ze.scrollHeight-ze.clientHeight-ze.scrollTop;const Ue=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=Ue?"right":it:"end"==ne&&(ne=Ue?it:"right"),Ue&&2==(0,ye._i)()?ne==it?ze.scrollWidth-ze.clientWidth-ze.scrollLeft:ze.scrollLeft:Ue&&1==(0,ye._i)()?ne==it?ze.scrollLeft+ze.scrollWidth-ze.clientWidth:-ze.scrollLeft:ne==it?ze.scrollLeft:ze.scrollWidth-ze.clientWidth-ze.scrollLeft}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.SBq),c.Y36(We),c.Y36(c.R0b),c.Y36(T.Is,8))},fe.\u0275dir=c.lG2({type:fe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),fe})(),ue=(()=>{class fe{constructor(ne,it,Be){this._platform=ne,this._change=new g.x,this._changeListener=ze=>{this._change.next(ze)},this._document=Be,it.runOutsideAngular(()=>{if(ne.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:it,height:Be}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+Be,right:ne.left+it,height:Be,width:it}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,it=this._getWindow(),Be=ne.documentElement,ze=Be.getBoundingClientRect();return{top:-ze.top||ne.body.scrollTop||it.scrollY||Be.scrollTop||0,left:-ze.left||ne.body.scrollLeft||it.scrollX||Be.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe((0,q.e)(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.LFG(ye.t4),c.LFG(c.R0b),c.LFG(pe.K0,8))},fe.\u0275prov=c.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const z="undefined"!=typeof requestAnimationFrame?E.Z:v.E;let P=(()=>{class fe extends ge{constructor(ne,it,Be,ze,Ue,_e,ae){super(ne,_e,Be,Ue),this.elementRef=ne,this._changeDetectorRef=it,this._scrollStrategy=ze,this._detachedSubject=new g.x,this._renderedRangeSubject=new g.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new _.y(Ae=>this._scrollStrategy.scrolledIndexChange.subscribe(ee=>Promise.resolve().then(()=>this.ngZone.run(()=>Ae.next(ee))))),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=I.w0.EMPTY,this._viewportChanges=ae.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(ne){this._orientation!==ne&&(this._orientation=ne,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ne){this._appendOnly=(0,e.Ig)(ne)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,Q.O)(null),(0,q.e)(0,z)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ne){this.ngZone.runOutsideAngular(()=>{this._forOf=ne,this._forOf.dataStream.pipe((0,G.R)(this._detachedSubject)).subscribe(it=>{const Be=it.length;Be!==this._dataLength&&(this._dataLength=Be,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(ne){this._totalContentSize!==ne&&(this._totalContentSize=ne,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ne){(function Me(fe,Ze){return fe.start==Ze.start&&fe.end==Ze.end})(this._renderedRange,ne)||(this.appendOnly&&(ne={start:0,end:Math.max(this._renderedRange.end,ne.end)}),this._renderedRangeSubject.next(this._renderedRange=ne),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ne,it="to-start"){const ze="horizontal"==this.orientation,Ue=ze?"X":"Y";let ae=`translate${Ue}(${Number((ze&&this.dir&&"rtl"==this.dir.value?-1:1)*ne)}px)`;this._renderedContentOffset=ne=this.appendOnly&&"to-start"===it?0:ne,"to-end"===it&&(ae+=` translate${Ue}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ae&&(this._renderedContentTransform=ae,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ne,it="auto"){const Be={behavior:it};"horizontal"===this.orientation?Be.start=ne:Be.top=ne,this.scrollTo(Be)}scrollToIndex(ne,it="auto"){this._scrollStrategy.scrollToIndex(ne,it)}measureScrollOffset(ne){return super.measureScrollOffset(ne||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const ne=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ne.offsetWidth:ne.offsetHeight}measureRangeSize(ne){return this._forOf?this._forOf.measureRangeSize(ne,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const ne=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?ne.clientWidth:ne.clientHeight}_markChangeDetectionNeeded(ne){ne&&this._runAfterChangeDetection.push(ne),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 ne=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const it of ne)it()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(Y,8),c.Y36(T.Is,8),c.Y36(We),c.Y36(ue))},fe.\u0275cmp=c.Xpm({type:fe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ne,it){if(1&ne&&c.Gf(L,7),2&ne){let Be;c.iGM(Be=c.CRH())&&(it._contentWrapper=Be.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ne,it){2&ne&&c.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===it.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==it.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[c._Bn([{provide:ge,useExisting:fe}]),c.qOj],ngContentSelectors:X,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ne,it){1&ne&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA(),c._UZ(3,"div",2)),2&ne&&(c.xp6(3),c.Udp("width",it._totalContentWidth)("height",it._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}),fe})();function de(fe,Ze,ne){if(!ne.getBoundingClientRect)return 0;const Be=ne.getBoundingClientRect();return"horizontal"===fe?"start"===Ze?Be.left:Be.right:"start"===Ze?Be.top:Be.bottom}let Ce=(()=>{class fe{constructor(ne,it,Be,ze,Ue,_e){this._viewContainerRef=ne,this._template=it,this._differs=Be,this._viewRepeater=ze,this._viewport=Ue,this.viewChange=new g.x,this._dataSourceChanges=new g.x,this.dataStream=this._dataSourceChanges.pipe((0,Q.O)(null),(0,he.G)(),(0,F.w)(([ae,Ae])=>this._changeDataSource(ae,Ae)),(0,be.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.x,this.dataStream.subscribe(ae=>{this._data=ae,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,G.R)(this._destroyed)).subscribe(ae=>{this._renderedRange=ae,this.viewChange.observers.length&&_e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(ne){this._cdkVirtualForOf=ne,(0,R.Z9)(ne)?this._dataSourceChanges.next(ne):this._dataSourceChanges.next(new R.P3((0,N.b)(ne)?ne:Array.from(ne||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(ne){this._needsUpdate=!0,this._cdkVirtualForTrackBy=ne?(it,Be)=>ne(it+(this._renderedRange?this._renderedRange.start:0),Be):void 0}set cdkVirtualForTemplate(ne){ne&&(this._needsUpdate=!0,this._template=ne)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(ne){this._viewRepeater.viewCacheSize=(0,e.su)(ne)}measureRangeSize(ne,it){if(ne.start>=ne.end)return 0;const Be=ne.start-this._renderedRange.start,ze=ne.end-ne.start;let Ue,_e;for(let ae=0;ae-1;ae--){const Ae=this._viewContainerRef.get(ae+Be);if(Ae&&Ae.rootNodes.length){_e=Ae.rootNodes[Ae.rootNodes.length-1];break}}return Ue&&_e?de(it,"end",_e)-de(it,"start",Ue):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const ne=this._differ.diff(this._renderedItems);ne?this._applyChanges(ne):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((ne,it)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(ne,it):it)),this._needsUpdate=!0)}_changeDataSource(ne,it){return ne&&ne.disconnect(this),this._needsUpdate=!0,it?it.connect(this):(0,w.of)()}_updateContext(){const ne=this._data.length;let it=this._viewContainerRef.length;for(;it--;){const Be=this._viewContainerRef.get(it);Be.context.index=this._renderedRange.start+it,Be.context.count=ne,this._updateComputedContextProperties(Be.context),Be.detectChanges()}}_applyChanges(ne){this._viewRepeater.applyChanges(ne,this._viewContainerRef,(ze,Ue,_e)=>this._getEmbeddedViewArgs(ze,_e),ze=>ze.item),ne.forEachIdentityChange(ze=>{this._viewContainerRef.get(ze.currentIndex).context.$implicit=ze.item});const it=this._data.length;let Be=this._viewContainerRef.length;for(;Be--;){const ze=this._viewContainerRef.get(Be);ze.context.index=this._renderedRange.start+Be,ze.context.count=it,this._updateComputedContextProperties(ze.context)}}_updateComputedContextProperties(ne){ne.first=0===ne.index,ne.last=ne.index===ne.count-1,ne.even=ne.index%2==0,ne.odd=!ne.even}_getEmbeddedViewArgs(ne,it){return{templateRef:this._template,context:{$implicit:ne.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:it}}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4),c.Y36(R.k),c.Y36(P,4),c.Y36(c.R0b))},fe.\u0275dir=c.lG2({type:fe,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[c._Bn([{provide:R.k,useClass:R.eX}])]}),fe})(),Pe=(()=>{class fe{}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275mod=c.oAB({type:fe}),fe.\u0275inj=c.cJS({}),fe})(),ce=(()=>{class fe{}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275mod=c.oAB({type:fe}),fe.\u0275inj=c.cJS({imports:[[T.vT,Pe],T.vT,Pe]}),fe})()},74533:(qe,me,h)=>{"use strict";h.d(me,{Lq:()=>A,IC:()=>j,Ky:()=>G});var e=h(70925),c=h(5e3),g=h(63191),w=h(60515),_=h(77579),b=h(54968),E=h(23601),v=h(82722),I=h(69808);const N=(0,e.i$)({passive:!0});let A=(()=>{class Q{constructor(F,be){this._platform=F,this._ngZone=be,this._monitoredElements=new Map}monitor(F){if(!this._platform.isBrowser)return w.E;const be=(0,g.fI)(F),pe=this._monitoredElements.get(be);if(pe)return pe.subject;const ye=new _.x,T="cdk-text-field-autofilled",R=L=>{"cdk-text-field-autofill-start"!==L.animationName||be.classList.contains(T)?"cdk-text-field-autofill-end"===L.animationName&&be.classList.contains(T)&&(be.classList.remove(T),this._ngZone.run(()=>ye.next({target:L.target,isAutofilled:!1}))):(be.classList.add(T),this._ngZone.run(()=>ye.next({target:L.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{be.addEventListener("animationstart",R,N),be.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(be,{subject:ye,unlisten:()=>{be.removeEventListener("animationstart",R,N)}}),ye}stopMonitoring(F){const be=(0,g.fI)(F),pe=this._monitoredElements.get(be);pe&&(pe.unlisten(),pe.subject.complete(),be.classList.remove("cdk-text-field-autofill-monitored"),be.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(be))}ngOnDestroy(){this._monitoredElements.forEach((F,be)=>this.stopMonitoring(be))}}return Q.\u0275fac=function(F){return new(F||Q)(c.LFG(e.t4),c.LFG(c.R0b))},Q.\u0275prov=c.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),j=(()=>{class Q{constructor(F,be,pe,ye){this._elementRef=F,this._platform=be,this._ngZone=pe,this._destroyed=new _.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=T=>{this._hasFocus="focus"===T.type},this._document=ye,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(F){this._minRows=(0,g.su)(F),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(F){this._maxRows=(0,g.su)(F),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(F){F=(0,g.Ig)(F),this._enabled!==F&&((this._enabled=F)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(F){this._cachedPlaceholderHeight=void 0,F?this._textareaElement.setAttribute("placeholder",F):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const F=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;F&&(this._textareaElement.style.minHeight=F)}_setMaxHeight(){const F=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;F&&(this._textareaElement.style.maxHeight=F)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const F=this._getWindow();(0,b.R)(F,"resize").pipe((0,E.e)(16),(0,v.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 F=this._textareaElement.cloneNode(!1);F.rows=1,F.style.position="absolute",F.style.visibility="hidden",F.style.border="none",F.style.padding="0",F.style.height="",F.style.minHeight="",F.style.maxHeight="",F.style.overflow="hidden",this._textareaElement.parentNode.appendChild(F),this._cachedLineHeight=F.clientHeight,F.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const F=this._textareaElement,be=F.style.marginBottom||"",pe=this._platform.FIREFOX,ye=pe&&this._hasFocus,T=pe?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ye&&(F.style.marginBottom=`${F.clientHeight}px`),F.classList.add(T);const R=F.scrollHeight-4;return F.classList.remove(T),ye&&(F.style.marginBottom=be),R}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const F=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=F}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(F=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const be=this._elementRef.nativeElement,pe=be.value;if(!F&&this._minRows===this._previousMinRows&&pe===this._previousValue)return;const ye=this._measureScrollHeight(),T=Math.max(ye,this._cachedPlaceholderHeight||0);be.style.height=`${T}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(be)):setTimeout(()=>this._scrollToCaretPosition(be))}),this._previousValue=pe,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(F){const{selectionStart:be,selectionEnd:pe}=F;!this._destroyed.isStopped&&this._hasFocus&&F.setSelectionRange(be,pe)}}return Q.\u0275fac=function(F){return new(F||Q)(c.Y36(c.SBq),c.Y36(e.t4),c.Y36(c.R0b),c.Y36(I.K0,8))},Q.\u0275dir=c.lG2({type:Q,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(F,be){1&F&&c.NdJ("input",function(){return be._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),Q})(),G=(()=>{class Q{}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({}),Q})()},28258:(qe,me,h)=>{"use strict";h.d(me,{HI:()=>Q,Xx:()=>Oe,_0:()=>X,nZ:()=>ue,Hs:()=>Y,rO:()=>be,cu:()=>he,XJ:()=>We,Ud:()=>ge,C2:()=>j,VY:()=>G});var e=h(20449),c=h(45191),g=h(77579),w=h(61135),_=h(39646),b=h(95698),E=h(39300),v=h(82722),I=h(5e3),N=h(63191),A=h(50226);class q{constructor(){this.expansionModel=new e.Ov(!0)}toggle(z){this.expansionModel.toggle(this._trackByValue(z))}expand(z){this.expansionModel.select(this._trackByValue(z))}collapse(z){this.expansionModel.deselect(this._trackByValue(z))}isExpanded(z){return this.expansionModel.isSelected(this._trackByValue(z))}toggleDescendants(z){this.expansionModel.isSelected(this._trackByValue(z))?this.collapseDescendants(z):this.expandDescendants(z)}collapseAll(){this.expansionModel.clear()}expandDescendants(z){let P=[z];P.push(...this.getDescendants(z)),this.expansionModel.select(...P.map(de=>this._trackByValue(de)))}collapseDescendants(z){let P=[z];P.push(...this.getDescendants(z)),this.expansionModel.deselect(...P.map(de=>this._trackByValue(de)))}_trackByValue(z){return this.trackBy?this.trackBy(z):z}}class j extends q{constructor(z,P,de){super(),this.getLevel=z,this.isExpandable=P,this.options=de,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(z){const de=[];for(let Ce=this.dataNodes.indexOf(z)+1;Cethis._trackByValue(z)))}}class G extends q{constructor(z,P){super(),this.getChildren=z,this.options=P,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const z=this.dataNodes.reduce((P,de)=>[...P,...this.getDescendants(de),de],[]);this.expansionModel.select(...z.map(P=>this._trackByValue(P)))}getDescendants(z){const P=[];return this._getDescendants(P,z),P.splice(1)}_getDescendants(z,P){z.push(P);const de=this.getChildren(P);Array.isArray(de)?de.forEach(Ce=>this._getDescendants(z,Ce)):(0,c.b)(de)&&de.pipe((0,b.q)(1),(0,E.h)(Boolean)).subscribe(Ce=>{for(const Pe of Ce)this._getDescendants(z,Pe)})}}const Q=new I.OlP("CDK_TREE_NODE_OUTLET_NODE");let he=(()=>{class Me{constructor(P,de){this.viewContainer=P,this._node=de}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.s_b),I.Y36(Q,8))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeOutlet",""]]}),Me})();class F{constructor(z){this.$implicit=z}}let be=(()=>{class Me{constructor(P){this.template=P}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.Rgc))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Me})(),X=(()=>{class Me{constructor(P,de){this._differs=P,this._changeDetectorRef=de,this._onDestroy=new g.x,this._levels=new Map,this.viewChange=new w.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(P){this._dataSource!==P&&this._switchDataSource(P)}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 P=this._nodeDefs.filter(de=>!de.when);this._defaultNodeDef=P[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(P){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),P||this._nodeOutlet.viewContainer.clear(),this._dataSource=P,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let P;(0,e.Z9)(this._dataSource)?P=this._dataSource.connect(this):(0,c.b)(this._dataSource)?P=this._dataSource:Array.isArray(this._dataSource)&&(P=(0,_.of)(this._dataSource)),P&&(this._dataSubscription=P.pipe((0,v.R)(this._onDestroy)).subscribe(de=>this.renderNodeChanges(de)))}renderNodeChanges(P,de=this._dataDiffer,Ce=this._nodeOutlet.viewContainer,Pe){const ce=de.diff(P);!ce||(ce.forEachOperation((fe,Ze,ne)=>{if(null==fe.previousIndex)this.insertNode(P[ne],ne,Ce,Pe);else if(null==ne)Ce.remove(Ze),this._levels.delete(fe.item);else{const it=Ce.get(Ze);Ce.move(it,ne)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(P,de){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Pe=>Pe.when&&Pe.when(de,P))||this._defaultNodeDef}insertNode(P,de,Ce,Pe){const ce=this._getNodeDef(P,de),fe=new F(P);fe.level=this.treeControl.getLevel?this.treeControl.getLevel(P):void 0!==Pe&&this._levels.has(Pe)?this._levels.get(Pe)+1:0,this._levels.set(P,fe.level),(Ce||this._nodeOutlet.viewContainer).createEmbeddedView(ce.template,fe,de),Y.mostRecentTreeNode&&(Y.mostRecentTreeNode.data=P)}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.ZZ4),I.Y36(I.sBO))},Me.\u0275cmp=I.Xpm({type:Me,selectors:[["cdk-tree"]],contentQueries:function(P,de,Ce){if(1&P&&I.Suo(Ce,be,5),2&P){let Pe;I.iGM(Pe=I.CRH())&&(de._nodeDefs=Pe)}},viewQuery:function(P,de){if(1&P&&I.Gf(he,7),2&P){let Ce;I.iGM(Ce=I.CRH())&&(de._nodeOutlet=Ce.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(P,de){1&P&&I.GkF(0,0)},directives:[he],encapsulation:2}),Me})(),Y=(()=>{class Me{constructor(P,de){this._elementRef=P,this._tree=de,this._destroyed=new g.x,this._dataChanges=new g.x,Me.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(P){this._elementRef.nativeElement.setAttribute("role",P)}get data(){return this._data}set data(P){P!==this._data&&(this._data=P,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(Me){let z=Me.parentElement;for(;z&&!Te(z);)z=z.parentElement;return z?z.classList.contains("cdk-nested-tree-node")?(0,N.su)(z.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Me.mostRecentTreeNode===this&&(Me.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Me.mostRecentTreeNode=null,Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.SBq),I.Y36(X))},Me.\u0275dir=I.lG2({type:Me,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(P,de){2&P&&I.uIk("aria-expanded",de.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Me})();function Te(Me){const z=Me.classList;return!(!(null==z?void 0:z.contains("cdk-nested-tree-node"))&&!(null==z?void 0:z.contains("cdk-tree")))}let Oe=(()=>{class Me extends Y{constructor(P,de,Ce){super(P,de),this._differs=Ce}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const P=this._tree.treeControl.getChildren(this.data);Array.isArray(P)?this.updateChildrenNodes(P):(0,c.b)(P)&&P.pipe((0,v.R)(this._destroyed)).subscribe(de=>this.updateChildrenNodes(de)),this.nodeOutlet.changes.pipe((0,v.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(P){const de=this._getNodeOutlet();P&&(this._children=P),de&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,de.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const P=this._getNodeOutlet();P&&(P.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const P=this.nodeOutlet;return P&&P.find(de=>!de._node||de._node===this)}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.SBq),I.Y36(X),I.Y36(I.ZZ4))},Me.\u0275dir=I.lG2({type:Me,selectors:[["cdk-nested-tree-node"]],contentQueries:function(P,de,Ce){if(1&P&&I.Suo(Ce,he,5),2&P){let Pe;I.iGM(Pe=I.CRH())&&(de.nodeOutlet=Pe)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[I._Bn([{provide:Y,useExisting:Me},{provide:Q,useExisting:Me}]),I.qOj]}),Me})();const Se=/([A-Za-z%]+)$/;let We=(()=>{class Me{constructor(P,de,Ce,Pe){this._treeNode=P,this._tree=de,this._element=Ce,this._dir=Pe,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),Pe&&Pe.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),P._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(P){this._setLevelInput(P)}get indent(){return this._indent}set indent(P){this._setIndentInput(P)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const P=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,de=null==this._level?P:this._level;return"number"==typeof de?`${de*this._indent}${this.indentUnits}`:null}_setPadding(P=!1){const de=this._paddingIndent();if(de!==this._currentPadding||P){const Ce=this._element.nativeElement,Pe=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",ce="paddingLeft"===Pe?"paddingRight":"paddingLeft";Ce.style[Pe]=de||"",Ce.style[ce]="",this._currentPadding=de}}_setLevelInput(P){this._level=(0,N.su)(P,null),this._setPadding()}_setIndentInput(P){let de=P,Ce="px";if("string"==typeof P){const Pe=P.split(Se);de=Pe[0],Ce=Pe[1]||Ce}this.indentUnits=Ce,this._indent=(0,N.su)(de),this._setPadding()}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(Y),I.Y36(X),I.Y36(I.SBq),I.Y36(A.Is,8))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Me})(),ge=(()=>{class Me{constructor(P,de){this._tree=P,this._treeNode=de,this._recursive=!1}get recursive(){return this._recursive}set recursive(P){this._recursive=(0,N.Ig)(P)}_toggle(P){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),P.stopPropagation()}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(X),I.Y36(Y))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(P,de){1&P&&I.NdJ("click",function(Pe){return de._toggle(Pe)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Me})(),ue=(()=>{class Me{}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275mod=I.oAB({type:Me}),Me.\u0275inj=I.cJS({}),Me})()},69808:(qe,me,h)=>{"use strict";h.d(me,{mr:()=>pe,Ov:()=>Je,ez:()=>xn,K0:()=>E,uU:()=>Ui,Do:()=>T,V_:()=>N,Ye:()=>R,S$:()=>F,i8:()=>wt,mk:()=>wi,sg:()=>Oi,O5:()=>Li,PC:()=>ln,RF:()=>Wi,n9:()=>sn,ED:()=>An,tP:()=>Dn,b0:()=>ye,lw:()=>v,rS:()=>li,gd:()=>vi,EM:()=>gt,JF:()=>Et,p6:()=>d,NF:()=>cn,PM:()=>Bn,w_:()=>b,bD:()=>Hn,q:()=>g,Mx:()=>Ii,HT:()=>_});var e=h(5e3);let c=null;function g(){return c}function _(te){c||(c=te)}class b{}const E=new e.OlP("DocumentToken");let v=(()=>{class te{historyGo(le){throw new Error("Not implemented")}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275prov=e.Yz7({token:te,factory:function(){return function I(){return(0,e.LFG)(A)}()},providedIn:"platform"}),te})();const N=new e.OlP("Location Initialized");let A=(()=>{class te extends v{constructor(le){super(),this._doc=le,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(le){const et=g().getGlobalEventTarget(this._doc,"window");return et.addEventListener("popstate",le,!1),()=>et.removeEventListener("popstate",le)}onHashChange(le){const et=g().getGlobalEventTarget(this._doc,"window");return et.addEventListener("hashchange",le,!1),()=>et.removeEventListener("hashchange",le)}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(le){this.location.pathname=le}pushState(le,et,xt){q()?this._history.pushState(le,et,xt):this.location.hash=xt}replaceState(le,et,xt){q()?this._history.replaceState(le,et,xt):this.location.hash=xt}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(E))},te.\u0275prov=e.Yz7({token:te,factory:function(){return function j(){return new A((0,e.LFG)(E))}()},providedIn:"platform"}),te})();function q(){return!!window.history.pushState}function G(te,Ie){if(0==te.length)return Ie;if(0==Ie.length)return te;let le=0;return te.endsWith("/")&&le++,Ie.startsWith("/")&&le++,2==le?te+Ie.substring(1):1==le?te+Ie:te+"/"+Ie}function Q(te){const Ie=te.match(/#|\?|$/),le=Ie&&Ie.index||te.length;return te.slice(0,le-("/"===te[le-1]?1:0))+te.slice(le)}function he(te){return te&&"?"!==te[0]?"?"+te:te}let F=(()=>{class te{historyGo(le){throw new Error("Not implemented")}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275prov=e.Yz7({token:te,factory:function(){return function be(te){const Ie=(0,e.LFG)(E).location;return new ye((0,e.LFG)(v),Ie&&Ie.origin||"")}()},providedIn:"root"}),te})();const pe=new e.OlP("appBaseHref");let ye=(()=>{class te extends F{constructor(le,et){if(super(),this._platformLocation=le,this._removeListenerFns=[],null==et&&(et=this._platformLocation.getBaseHrefFromDOM()),null==et)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=et}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return G(this._baseHref,le)}path(le=!1){const et=this._platformLocation.pathname+he(this._platformLocation.search),xt=this._platformLocation.hash;return xt&&le?`${et}${xt}`:et}pushState(le,et,xt,zt){const Jt=this.prepareExternalUrl(xt+he(zt));this._platformLocation.pushState(le,et,Jt)}replaceState(le,et,xt,zt){const Jt=this.prepareExternalUrl(xt+he(zt));this._platformLocation.replaceState(le,et,Jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformLocation).historyGo)||void 0===xt||xt.call(et,le)}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(v),e.LFG(pe,8))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})(),T=(()=>{class te extends F{constructor(le,et){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=et&&(this._baseHref=et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let et=this._platformLocation.hash;return null==et&&(et="#"),et.length>0?et.substring(1):et}prepareExternalUrl(le){const et=G(this._baseHref,le);return et.length>0?"#"+et:et}pushState(le,et,xt,zt){let Jt=this.prepareExternalUrl(xt+he(zt));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.pushState(le,et,Jt)}replaceState(le,et,xt,zt){let Jt=this.prepareExternalUrl(xt+he(zt));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.replaceState(le,et,Jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformLocation).historyGo)||void 0===xt||xt.call(et,le)}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(v),e.LFG(pe,8))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})(),R=(()=>{class te{constructor(le,et){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=le;const xt=this._platformStrategy.getBaseHref();this._platformLocation=et,this._baseHref=Q(Y(xt)),this._platformStrategy.onPopState(zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:zt.state,type:zt.type})})}path(le=!1){return this.normalize(this._platformStrategy.path(le))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(le,et=""){return this.path()==this.normalize(le+he(et))}normalize(le){return te.stripTrailingSlash(function X(te,Ie){return te&&Ie.startsWith(te)?Ie.substring(te.length):Ie}(this._baseHref,Y(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._platformStrategy.prepareExternalUrl(le)}go(le,et="",xt=null){this._platformStrategy.pushState(xt,"",le,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+he(et)),xt)}replaceState(le,et="",xt=null){this._platformStrategy.replaceState(xt,"",le,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+he(et)),xt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformStrategy).historyGo)||void 0===xt||xt.call(et,le)}onUrlChange(le){this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(et=>{this._notifyUrlChangeListeners(et.url,et.state)}))}_notifyUrlChangeListeners(le="",et){this._urlChangeListeners.forEach(xt=>xt(le,et))}subscribe(le,et,xt){return this._subject.subscribe({next:le,error:et,complete:xt})}}return te.normalizeQueryParams=he,te.joinWithSlash=G,te.stripTrailingSlash=Q,te.\u0275fac=function(le){return new(le||te)(e.LFG(F),e.LFG(v))},te.\u0275prov=e.Yz7({token:te,factory:function(){return function L(){return new R((0,e.LFG)(F),(0,e.LFG)(v))}()},providedIn:"root"}),te})();function Y(te){return te.replace(/\/index.html$/,"")}var Oe=(()=>((Oe=Oe||{})[Oe.Zero=0]="Zero",Oe[Oe.One=1]="One",Oe[Oe.Two=2]="Two",Oe[Oe.Few=3]="Few",Oe[Oe.Many=4]="Many",Oe[Oe.Other=5]="Other",Oe))(),Se=(()=>((Se=Se||{})[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se))(),We=(()=>((We=We||{})[We.Narrow=0]="Narrow",We[We.Abbreviated=1]="Abbreviated",We[We.Wide=2]="Wide",We[We.Short=3]="Short",We))(),ge=(()=>((ge=ge||{})[ge.Short=0]="Short",ge[ge.Medium=1]="Medium",ge[ge.Long=2]="Long",ge[ge.Full=3]="Full",ge))(),Le=(()=>((Le=Le||{})[Le.Decimal=0]="Decimal",Le[Le.Group=1]="Group",Le[Le.List=2]="List",Le[Le.PercentSign=3]="PercentSign",Le[Le.PlusSign=4]="PlusSign",Le[Le.MinusSign=5]="MinusSign",Le[Le.Exponential=6]="Exponential",Le[Le.SuperscriptingExponent=7]="SuperscriptingExponent",Le[Le.PerMille=8]="PerMille",Le[Le.Infinity=9]="Infinity",Le[Le.NaN=10]="NaN",Le[Le.TimeSeparator=11]="TimeSeparator",Le[Le.CurrencyDecimal=12]="CurrencyDecimal",Le[Le.CurrencyGroup=13]="CurrencyGroup",Le))();function fe(te,Ie){return D((0,e.cg1)(te)[e.wAp.DateFormat],Ie)}function Ze(te,Ie){return D((0,e.cg1)(te)[e.wAp.TimeFormat],Ie)}function ne(te,Ie){return D((0,e.cg1)(te)[e.wAp.DateTimeFormat],Ie)}function it(te,Ie){const le=(0,e.cg1)(te),et=le[e.wAp.NumberSymbols][Ie];if(void 0===et){if(Ie===Le.CurrencyDecimal)return le[e.wAp.NumberSymbols][Le.Decimal];if(Ie===Le.CurrencyGroup)return le[e.wAp.NumberSymbols][Le.Group]}return et}const Ae=e.kL8;function ee(te){if(!te[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${te[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function D(te,Ie){for(let le=Ie;le>-1;le--)if(void 0!==te[le])return te[le];throw new Error("Locale data API: locale data undefined")}function O(te){const[Ie,le]=te.split(":");return{hours:+Ie,minutes:+le}}const l=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,s={},n=/((?:[^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 t=(()=>((t=t||{})[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t))(),r=(()=>((r=r||{})[r.FullYear=0]="FullYear",r[r.Month=1]="Month",r[r.Date=2]="Date",r[r.Hours=3]="Hours",r[r.Minutes=4]="Minutes",r[r.Seconds=5]="Seconds",r[r.FractionalSeconds=6]="FractionalSeconds",r[r.Day=7]="Day",r))(),a=(()=>((a=a||{})[a.DayPeriods=0]="DayPeriods",a[a.Days=1]="Days",a[a.Months=2]="Months",a[a.Eras=3]="Eras",a))();function d(te,Ie,le,et){let xt=function lt(te){if(Ht(te))return te;if("number"==typeof te&&!isNaN(te))return new Date(te);if("string"==typeof te){if(te=te.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(te)){const[xt,zt=1,Jt=1]=te.split("-").map(ai=>+ai);return f(xt,zt-1,Jt)}const le=parseFloat(te);if(!isNaN(te-le))return new Date(le);let et;if(et=te.match(l))return function ut(te){const Ie=new Date(0);let le=0,et=0;const xt=te[8]?Ie.setUTCFullYear:Ie.setFullYear,zt=te[8]?Ie.setUTCHours:Ie.setHours;te[9]&&(le=Number(te[9]+te[10]),et=Number(te[9]+te[11])),xt.call(Ie,Number(te[1]),Number(te[2])-1,Number(te[3]));const Jt=Number(te[4]||0)-le,ai=Number(te[5]||0)-et,ui=Number(te[6]||0),fi=Math.floor(1e3*parseFloat("0."+(te[7]||0)));return zt.call(Ie,Jt,ai,ui,fi),Ie}(et)}const Ie=new Date(te);if(!Ht(Ie))throw new Error(`Unable to convert "${te}" into a date`);return Ie}(te);Ie=x(le,Ie)||Ie;let ai,Jt=[];for(;Ie;){if(ai=n.exec(Ie),!ai){Jt.push(Ie);break}{Jt=Jt.concat(ai.slice(1));const Ai=Jt.pop();if(!Ai)break;Ie=Ai}}let ui=xt.getTimezoneOffset();et&&(ui=Tt(et,ui),xt=function rt(te,Ie,le){const et=le?-1:1,xt=te.getTimezoneOffset();return function ot(te,Ie){return(te=new Date(te.getTime())).setMinutes(te.getMinutes()+Ie),te}(te,et*(Tt(Ie,xt)-xt))}(xt,et,!0));let fi="";return Jt.forEach(Ai=>{const Mi=function mt(te){if(Rt[te])return Rt[te];let Ie;switch(te){case"G":case"GG":case"GGG":Ie=Ct(a.Eras,We.Abbreviated);break;case"GGGG":Ie=Ct(a.Eras,We.Wide);break;case"GGGGG":Ie=Ct(a.Eras,We.Narrow);break;case"y":Ie=bt(r.FullYear,1,0,!1,!0);break;case"yy":Ie=bt(r.FullYear,2,0,!0,!0);break;case"yyy":Ie=bt(r.FullYear,3,0,!1,!0);break;case"yyyy":Ie=bt(r.FullYear,4,0,!1,!0);break;case"Y":Ie=ct(1);break;case"YY":Ie=ct(2,!0);break;case"YYY":Ie=ct(3);break;case"YYYY":Ie=ct(4);break;case"M":case"L":Ie=bt(r.Month,1,1);break;case"MM":case"LL":Ie=bt(r.Month,2,1);break;case"MMM":Ie=Ct(a.Months,We.Abbreviated);break;case"MMMM":Ie=Ct(a.Months,We.Wide);break;case"MMMMM":Ie=Ct(a.Months,We.Narrow);break;case"LLL":Ie=Ct(a.Months,We.Abbreviated,Se.Standalone);break;case"LLLL":Ie=Ct(a.Months,We.Wide,Se.Standalone);break;case"LLLLL":Ie=Ct(a.Months,We.Narrow,Se.Standalone);break;case"w":Ie=nt(1);break;case"ww":Ie=nt(2);break;case"W":Ie=nt(1,!0);break;case"d":Ie=bt(r.Date,1);break;case"dd":Ie=bt(r.Date,2);break;case"c":case"cc":Ie=bt(r.Day,1);break;case"ccc":Ie=Ct(a.Days,We.Abbreviated,Se.Standalone);break;case"cccc":Ie=Ct(a.Days,We.Wide,Se.Standalone);break;case"ccccc":Ie=Ct(a.Days,We.Narrow,Se.Standalone);break;case"cccccc":Ie=Ct(a.Days,We.Short,Se.Standalone);break;case"E":case"EE":case"EEE":Ie=Ct(a.Days,We.Abbreviated);break;case"EEEE":Ie=Ct(a.Days,We.Wide);break;case"EEEEE":Ie=Ct(a.Days,We.Narrow);break;case"EEEEEE":Ie=Ct(a.Days,We.Short);break;case"a":case"aa":case"aaa":Ie=Ct(a.DayPeriods,We.Abbreviated);break;case"aaaa":Ie=Ct(a.DayPeriods,We.Wide);break;case"aaaaa":Ie=Ct(a.DayPeriods,We.Narrow);break;case"b":case"bb":case"bbb":Ie=Ct(a.DayPeriods,We.Abbreviated,Se.Standalone,!0);break;case"bbbb":Ie=Ct(a.DayPeriods,We.Wide,Se.Standalone,!0);break;case"bbbbb":Ie=Ct(a.DayPeriods,We.Narrow,Se.Standalone,!0);break;case"B":case"BB":case"BBB":Ie=Ct(a.DayPeriods,We.Abbreviated,Se.Format,!0);break;case"BBBB":Ie=Ct(a.DayPeriods,We.Wide,Se.Format,!0);break;case"BBBBB":Ie=Ct(a.DayPeriods,We.Narrow,Se.Format,!0);break;case"h":Ie=bt(r.Hours,1,-12);break;case"hh":Ie=bt(r.Hours,2,-12);break;case"H":Ie=bt(r.Hours,1);break;case"HH":Ie=bt(r.Hours,2);break;case"m":Ie=bt(r.Minutes,1);break;case"mm":Ie=bt(r.Minutes,2);break;case"s":Ie=bt(r.Seconds,1);break;case"ss":Ie=bt(r.Seconds,2);break;case"S":Ie=bt(r.FractionalSeconds,1);break;case"SS":Ie=bt(r.FractionalSeconds,2);break;case"SSS":Ie=bt(r.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ie=He(t.Short);break;case"ZZZZZ":Ie=He(t.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ie=He(t.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ie=He(t.Long);break;default:return null}return Rt[te]=Ie,Ie}(Ai);fi+=Mi?Mi(xt,le,ui):"''"===Ai?"'":Ai.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),fi}function f(te,Ie,le){const et=new Date(0);return et.setFullYear(te,Ie,le),et.setHours(0,0,0),et}function x(te,Ie){const le=function Me(te){return(0,e.cg1)(te)[e.wAp.LocaleId]}(te);if(s[le]=s[le]||{},s[le][Ie])return s[le][Ie];let et="";switch(Ie){case"shortDate":et=fe(te,ge.Short);break;case"mediumDate":et=fe(te,ge.Medium);break;case"longDate":et=fe(te,ge.Long);break;case"fullDate":et=fe(te,ge.Full);break;case"shortTime":et=Ze(te,ge.Short);break;case"mediumTime":et=Ze(te,ge.Medium);break;case"longTime":et=Ze(te,ge.Long);break;case"fullTime":et=Ze(te,ge.Full);break;case"short":const xt=x(te,"shortTime"),zt=x(te,"shortDate");et=Ye(ne(te,ge.Short),[xt,zt]);break;case"medium":const Jt=x(te,"mediumTime"),ai=x(te,"mediumDate");et=Ye(ne(te,ge.Medium),[Jt,ai]);break;case"long":const ui=x(te,"longTime"),fi=x(te,"longDate");et=Ye(ne(te,ge.Long),[ui,fi]);break;case"full":const Ai=x(te,"fullTime"),Mi=x(te,"fullDate");et=Ye(ne(te,ge.Full),[Ai,Mi])}return et&&(s[le][Ie]=et),et}function Ye(te,Ie){return Ie&&(te=te.replace(/\{([^}]+)}/g,function(le,et){return null!=Ie&&et in Ie?Ie[et]:le})),te}function It(te,Ie,le="-",et,xt){let zt="";(te<0||xt&&te<=0)&&(xt?te=1-te:(te=-te,zt=le));let Jt=String(te);for(;Jt.length0||ai>-le)&&(ai+=le),te===r.Hours)0===ai&&-12===le&&(ai=12);else if(te===r.FractionalSeconds)return function jt(te,Ie){return It(te,3).substr(0,Ie)}(ai,Ie);const ui=it(Jt,Le.MinusSign);return It(ai,Ie,ui,et,xt)}}function Ct(te,Ie,le=Se.Format,et=!1){return function(xt,zt){return function Nt(te,Ie,le,et,xt,zt){switch(le){case a.Months:return function de(te,Ie,le){const et=(0,e.cg1)(te),zt=D([et[e.wAp.MonthsFormat],et[e.wAp.MonthsStandalone]],Ie);return D(zt,le)}(Ie,xt,et)[te.getMonth()];case a.Days:return function P(te,Ie,le){const et=(0,e.cg1)(te),zt=D([et[e.wAp.DaysFormat],et[e.wAp.DaysStandalone]],Ie);return D(zt,le)}(Ie,xt,et)[te.getDay()];case a.DayPeriods:const Jt=te.getHours(),ai=te.getMinutes();if(zt){const fi=function Ne(te){const Ie=(0,e.cg1)(te);return ee(Ie),(Ie[e.wAp.ExtraData][2]||[]).map(et=>"string"==typeof et?O(et):[O(et[0]),O(et[1])])}(Ie),Ai=function V(te,Ie,le){const et=(0,e.cg1)(te);ee(et);const zt=D([et[e.wAp.ExtraData][0],et[e.wAp.ExtraData][1]],Ie)||[];return D(zt,le)||[]}(Ie,xt,et),Mi=fi.findIndex(Bi=>{if(Array.isArray(Bi)){const[ke,De]=Bi,we=Jt>=ke.hours&&ai>=ke.minutes,ht=Jt0?Math.floor(xt/60):Math.ceil(xt/60);switch(te){case t.Short:return(xt>=0?"+":"")+It(Jt,2,zt)+It(Math.abs(xt%60),2,zt);case t.ShortGMT:return"GMT"+(xt>=0?"+":"")+It(Jt,1,zt);case t.Long:return"GMT"+(xt>=0?"+":"")+It(Jt,2,zt)+":"+It(Math.abs(xt%60),2,zt);case t.Extended:return 0===et?"Z":(xt>=0?"+":"")+It(Jt,2,zt)+":"+It(Math.abs(xt%60),2,zt);default:throw new Error(`Unknown zone width "${te}"`)}}}function oe(te){return f(te.getFullYear(),te.getMonth(),te.getDate()+(4-te.getDay()))}function nt(te,Ie=!1){return function(le,et){let xt;if(Ie){const zt=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,Jt=le.getDate();xt=1+Math.floor((Jt+zt)/7)}else{const zt=oe(le),Jt=function $(te){const Ie=f(te,0,1).getDay();return f(te,0,1+(Ie<=4?4:11)-Ie)}(zt.getFullYear()),ai=zt.getTime()-Jt.getTime();xt=1+Math.round(ai/6048e5)}return It(xt,te,it(et,Le.MinusSign))}}function ct(te,Ie=!1){return function(le,et){return It(oe(le).getFullYear(),te,it(et,Le.MinusSign),Ie)}}const Rt={};function Tt(te,Ie){te=te.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+te)/6e4;return isNaN(le)?Ie:le}function Ht(te){return te instanceof Date&&!isNaN(te.valueOf())}class _t{}let ti=(()=>{class te extends _t{constructor(le){super(),this.locale=le}getPluralCategory(le,et){switch(Ae(et||this.locale)(le)){case Oe.Zero:return"zero";case Oe.One:return"one";case Oe.Two:return"two";case Oe.Few:return"few";case Oe.Many:return"many";default:return"other"}}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(e.soG))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})();function Ii(te,Ie){Ie=encodeURIComponent(Ie);for(const le of te.split(";")){const et=le.indexOf("="),[xt,zt]=-1==et?[le,""]:[le.slice(0,et),le.slice(et+1)];if(xt.trim()===Ie)return decodeURIComponent(zt)}return null}let wi=(()=>{class te{constructor(le,et,xt,zt){this._iterableDiffers=le,this._keyValueDiffers=et,this._ngEl=xt,this._renderer=zt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(le){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof le?le.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(le){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof le?le.split(/\s+/):le,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 le=this._iterableDiffer.diff(this._rawClass);le&&this._applyIterableChanges(le)}else if(this._keyValueDiffer){const le=this._keyValueDiffer.diff(this._rawClass);le&&this._applyKeyValueChanges(le)}}_applyKeyValueChanges(le){le.forEachAddedItem(et=>this._toggleClass(et.key,et.currentValue)),le.forEachChangedItem(et=>this._toggleClass(et.key,et.currentValue)),le.forEachRemovedItem(et=>{et.previousValue&&this._toggleClass(et.key,!1)})}_applyIterableChanges(le){le.forEachAddedItem(et=>{if("string"!=typeof et.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(et.item)}`);this._toggleClass(et.item,!0)}),le.forEachRemovedItem(et=>this._toggleClass(et.item,!1))}_applyClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(et=>this._toggleClass(et,!0)):Object.keys(le).forEach(et=>this._toggleClass(et,!!le[et])))}_removeClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(et=>this._toggleClass(et,!1)):Object.keys(le).forEach(et=>this._toggleClass(et,!1)))}_toggleClass(le,et){(le=le.trim())&&le.split(/\s+/g).forEach(xt=>{et?this._renderer.addClass(this._ngEl.nativeElement,xt):this._renderer.removeClass(this._ngEl.nativeElement,xt)})}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),te})();class rn{constructor(Ie,le,et,xt){this.$implicit=Ie,this.ngForOf=le,this.index=et,this.count=xt}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 Oi=(()=>{class te{constructor(le,et,xt){this._viewContainer=le,this._template=et,this._differs=xt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const et=this._viewContainer;le.forEachOperation((xt,zt,Jt)=>{if(null==xt.previousIndex)et.createEmbeddedView(this._template,new rn(xt.item,this._ngForOf,-1,-1),null===Jt?void 0:Jt);else if(null==Jt)et.remove(null===zt?void 0:zt);else if(null!==zt){const ai=et.get(zt);et.move(ai,Jt),Hi(ai,xt)}});for(let xt=0,zt=et.length;xt{Hi(et.get(xt.currentIndex),xt)})}static ngTemplateContextGuard(le,et){return!0}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),te})();function Hi(te,Ie){te.context.$implicit=Ie.item}let Li=(()=>{class te{constructor(le,et){this._viewContainer=le,this._context=new yi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=et}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){nn("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){nn("ngIfElse",le),this._elseTemplateRef=le,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(le,et){return!0}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),te})();class yi{constructor(){this.$implicit=null,this.ngIf=null}}function nn(te,Ie){if(Ie&&!Ie.createEmbeddedView)throw new Error(`${te} must be a TemplateRef, but received '${(0,e.AaK)(Ie)}'.`)}class fn{constructor(Ie,le){this._viewContainerRef=Ie,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ie){Ie&&!this._created?this.create():!Ie&&this._created&&this.destroy()}}let Wi=(()=>{class te{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(le)}_matchCase(le){const et=le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),et}_updateDefaultCases(le){if(this._defaultViews&&le!==this._defaultUsed){this._defaultUsed=le;for(let et=0;et{class te{constructor(le,et,xt){this.ngSwitch=xt,xt._addCase(),this._view=new fn(le,et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Wi,9))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),te})(),An=(()=>{class te{constructor(le,et,xt){xt._addDefault(new fn(le,et))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Wi,9))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngSwitchDefault",""]]}),te})(),ln=(()=>{class te{constructor(le,et,xt){this._ngEl=le,this._differs=et,this._renderer=xt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,et){const[xt,zt]=le.split(".");null!=(et=null!=et&&zt?`${et}${zt}`:et)?this._renderer.setStyle(this._ngEl.nativeElement,xt,et):this._renderer.removeStyle(this._ngEl.nativeElement,xt)}_applyChanges(le){le.forEachRemovedItem(et=>this._setStyle(et.key,null)),le.forEachAddedItem(et=>this._setStyle(et.key,et.currentValue)),le.forEachChangedItem(et=>this._setStyle(et.key,et.currentValue))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),te})(),Dn=(()=>{class te{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(le){if(le.ngTemplateOutlet){const et=this._viewContainerRef;this._viewRef&&et.remove(et.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?et.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),te})();function Kt(te,Ie){return new e.vHH(2100,"")}class st{createSubscription(Ie,le){return Ie.subscribe({next:le,error:et=>{throw et}})}dispose(Ie){Ie.unsubscribe()}onDestroy(Ie){Ie.unsubscribe()}}class kt{createSubscription(Ie,le){return Ie.then(le,et=>{throw et})}dispose(Ie){}onDestroy(Ie){}}const Fe=new kt,Bt=new st;let Je=(()=>{class te{constructor(le){this._ref=le,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,et=>this._updateLatestValue(le,et))}_selectStrategy(le){if((0,e.QGY)(le))return Fe;if((0,e.F4k)(le))return Bt;throw Kt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,et){le===this._obj&&(this._latestValue=et,this._ref.markForCheck())}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.sBO,16))},te.\u0275pipe=e.Yjl({name:"async",type:te,pure:!1}),te})(),wt=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.toLowerCase()}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"lowercase",type:te,pure:!0}),te})();const Gt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let li=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.replace(Gt,et=>et[0].toUpperCase()+et.substr(1).toLowerCase())}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"titlecase",type:te,pure:!0}),te})(),vi=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.toUpperCase()}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"uppercase",type:te,pure:!0}),te})();const Vi=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ui=(()=>{class te{constructor(le,et){this.locale=le,this.defaultTimezone=et}transform(le,et="mediumDate",xt,zt){var Jt;if(null==le||""===le||le!=le)return null;try{return d(le,et,zt||this.locale,null!==(Jt=null!=xt?xt:this.defaultTimezone)&&void 0!==Jt?Jt:void 0)}catch(ai){throw Kt()}}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.soG,16),e.Y36(Vi,24))},te.\u0275pipe=e.Yjl({name:"date",type:te,pure:!0}),te})(),xn=(()=>{class te{}return te.\u0275fac=function(le){return new(le||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({providers:[{provide:_t,useClass:ti}]}),te})();const Hn="browser";function cn(te){return te===Hn}function Bn(te){return"server"===te}let gt=(()=>{class te{}return te.\u0275prov=(0,e.Yz7)({token:te,providedIn:"root",factory:()=>new k((0,e.LFG)(E),window)}),te})();class k{constructor(Ie,le){this.document=Ie,this.window=le,this.offset=()=>[0,0]}setOffset(Ie){this.offset=Array.isArray(Ie)?()=>Ie:Ie}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ie){this.supportsScrolling()&&this.window.scrollTo(Ie[0],Ie[1])}scrollToAnchor(Ie){if(!this.supportsScrolling())return;const le=function Re(te,Ie){const le=te.getElementById(Ie)||te.getElementsByName(Ie)[0];if(le)return le;if("function"==typeof te.createTreeWalker&&te.body&&(te.body.createShadowRoot||te.body.attachShadow)){const et=te.createTreeWalker(te.body,NodeFilter.SHOW_ELEMENT);let xt=et.currentNode;for(;xt;){const zt=xt.shadowRoot;if(zt){const Jt=zt.getElementById(Ie)||zt.querySelector(`[name="${Ie}"]`);if(Jt)return Jt}xt=et.nextNode()}}return null}(this.document,Ie);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Ie){if(this.supportScrollRestoration()){const le=this.window.history;le&&le.scrollRestoration&&(le.scrollRestoration=Ie)}}scrollToElement(Ie){const le=Ie.getBoundingClientRect(),et=le.left+this.window.pageXOffset,xt=le.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(et-zt[0],xt-zt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Ie=W(this.window.history)||W(Object.getPrototypeOf(this.window.history));return!(!Ie||!Ie.writable&&!Ie.set)}catch(Ie){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Ie){return!1}}}function W(te){return Object.getOwnPropertyDescriptor(te,"scrollRestoration")}class Et{}},40520:(qe,me,h)=>{"use strict";h.d(me,{TP:()=>Me,eN:()=>Le,JF:()=>D,qT:()=>pe,WM:()=>N,LE:()=>F,Zn:()=>Se});var e=h(69808),c=h(5e3),g=h(39646),w=h(68306),_=h(24351),b=h(39300),E=h(54004);class v{}class I{}class N{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(l=>{const s=l.indexOf(":");if(s>0){const n=l.slice(0,s),t=n.toLowerCase(),r=l.slice(s+1).trim();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(r):this.headers.set(t,[r])}})}:()=>{this.headers=new Map,Object.keys(u).forEach(l=>{let s=u[l];const n=l.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(n,s),this.maybeSetNormalizedName(l,n))})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const l=this.headers.get(u.toLowerCase());return l&&l.length>0?l[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,l){return this.clone({name:u,value:l,op:"a"})}set(u,l){return this.clone({name:u,value:l,op:"s"})}delete(u,l){return this.clone({name:u,value:l,op:"d"})}maybeSetNormalizedName(u,l){this.normalizedNames.has(l)||this.normalizedNames.set(l,u)}init(){this.lazyInit&&(this.lazyInit instanceof N?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(l=>{this.headers.set(l,u.headers.get(l)),this.normalizedNames.set(l,u.normalizedNames.get(l))})}clone(u){const l=new N;return l.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,l.lazyUpdate=(this.lazyUpdate||[]).concat([u]),l}applyUpdate(u){const l=u.name.toLowerCase();switch(u.op){case"a":case"s":let s=u.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(u.name,l);const n=("a"===u.op?this.headers.get(l):void 0)||[];n.push(...s),this.headers.set(l,n);break;case"d":const t=u.value;if(t){let r=this.headers.get(l);if(!r)return;r=r.filter(a=>-1===t.indexOf(a)),0===r.length?(this.headers.delete(l),this.normalizedNames.delete(l)):this.headers.set(l,r)}else this.headers.delete(l),this.normalizedNames.delete(l)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(l=>u(this.normalizedNames.get(l),this.headers.get(l)))}}class A{encodeKey(u){return Q(u)}encodeValue(u){return Q(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const j=/%(\d[a-f0-9])/gi,G={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Q(o){return encodeURIComponent(o).replace(j,(u,l)=>{var s;return null!==(s=G[l])&&void 0!==s?s:u})}function he(o){return`${o}`}class F{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new A,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(o,u){const l=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(n=>{const t=n.indexOf("="),[r,a]=-1==t?[u.decodeKey(n),""]:[u.decodeKey(n.slice(0,t)),u.decodeValue(n.slice(t+1))],d=l.get(r)||[];d.push(a),l.set(r,d)}),l}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(l=>{const s=u.fromObject[l];this.map.set(l,Array.isArray(s)?s:[s])})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const l=this.map.get(u);return l?l[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,l){return this.clone({param:u,value:l,op:"a"})}appendAll(u){const l=[];return Object.keys(u).forEach(s=>{const n=u[s];Array.isArray(n)?n.forEach(t=>{l.push({param:s,value:t,op:"a"})}):l.push({param:s,value:n,op:"a"})}),this.clone(l)}set(u,l){return this.clone({param:u,value:l,op:"s"})}delete(u,l){return this.clone({param:u,value:l,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const l=this.encoder.encodeKey(u);return this.map.get(u).map(s=>l+"="+this.encoder.encodeValue(s)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const l=new F({encoder:this.encoder});return l.cloneFrom=this.cloneFrom||this,l.updates=(this.updates||[]).concat(u),l}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 l=("a"===u.op?this.map.get(u.param):void 0)||[];l.push(he(u.value)),this.map.set(u.param,l);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let s=this.map.get(u.param)||[];const n=s.indexOf(he(u.value));-1!==n&&s.splice(n,1),s.length>0?this.map.set(u.param,s):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class pe{constructor(){this.map=new Map}set(u,l){return this.map.set(u,l),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 T(o){return"undefined"!=typeof ArrayBuffer&&o instanceof ArrayBuffer}function R(o){return"undefined"!=typeof Blob&&o instanceof Blob}function L(o){return"undefined"!=typeof FormData&&o instanceof FormData}class Y{constructor(u,l,s,n){let t;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function ye(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==s?s:null,t=n):t=s,t&&(this.reportProgress=!!t.reportProgress,this.withCredentials=!!t.withCredentials,t.responseType&&(this.responseType=t.responseType),t.headers&&(this.headers=t.headers),t.context&&(this.context=t.context),t.params&&(this.params=t.params)),this.headers||(this.headers=new N),this.context||(this.context=new pe),this.params){const r=this.params.toString();if(0===r.length)this.urlWithParams=l;else{const a=l.indexOf("?");this.urlWithParams=l+(-1===a?"?":aIt.set(jt,u.setHeaders[jt]),f)),u.setParams&&(x=Object.keys(u.setParams).reduce((It,jt)=>It.set(jt,u.setParams[jt]),x)),new Y(s,n,r,{params:x,headers:f,context:Ye,reportProgress:d,responseType:t,withCredentials:a})}}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 Te{constructor(u,l=200,s="OK"){this.headers=u.headers||new N,this.status=void 0!==u.status?u.status:l,this.statusText=u.statusText||s,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class Oe extends Te{constructor(u={}){super(u),this.type=se.ResponseHeader}clone(u={}){return new Oe({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 Te{constructor(u={}){super(u),this.type=se.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new Se({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 We extends Te{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 ge(o,u){return{body:u,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials}}let Le=(()=>{class o{constructor(l){this.handler=l}request(l,s,n={}){let t;if(l instanceof Y)t=l;else{let d,f;d=n.headers instanceof N?n.headers:new N(n.headers),n.params&&(f=n.params instanceof F?n.params:new F({fromObject:n.params})),t=new Y(l,s,void 0!==n.body?n.body:null,{headers:d,context:n.context,params:f,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,g.of)(t).pipe((0,_.b)(d=>this.handler.handle(d)));if(l instanceof Y||"events"===n.observe)return r;const a=r.pipe((0,b.h)(d=>d instanceof Se));switch(n.observe||"body"){case"body":switch(t.responseType){case"arraybuffer":return a.pipe((0,E.U)(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return a.pipe((0,E.U)(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return a.pipe((0,E.U)(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return a.pipe((0,E.U)(d=>d.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(l,s={}){return this.request("DELETE",l,s)}get(l,s={}){return this.request("GET",l,s)}head(l,s={}){return this.request("HEAD",l,s)}jsonp(l,s){return this.request("JSONP",l,{params:(new F).append(s,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(l,s={}){return this.request("OPTIONS",l,s)}patch(l,s,n={}){return this.request("PATCH",l,ge(n,s))}post(l,s,n={}){return this.request("POST",l,ge(n,s))}put(l,s,n={}){return this.request("PUT",l,ge(n,s))}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(v))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();class ue{constructor(u,l){this.next=u,this.interceptor=l}handle(u){return this.interceptor.intercept(u,this.next)}}const Me=new c.OlP("HTTP_INTERCEPTORS");let z=(()=>{class o{intercept(l,s){return s.handle(l)}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();const ne=/^\)\]\}',?\n/;let Be=(()=>{class o{constructor(l){this.xhrFactory=l}handle(l){if("JSONP"===l.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new w.y(s=>{const n=this.xhrFactory.build();if(n.open(l.method,l.urlWithParams),l.withCredentials&&(n.withCredentials=!0),l.headers.forEach((jt,bt)=>n.setRequestHeader(jt,bt.join(","))),l.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!l.headers.has("Content-Type")){const jt=l.detectContentTypeHeader();null!==jt&&n.setRequestHeader("Content-Type",jt)}if(l.responseType){const jt=l.responseType.toLowerCase();n.responseType="json"!==jt?jt:"text"}const t=l.serializeBody();let r=null;const a=()=>{if(null!==r)return r;const jt=n.statusText||"OK",bt=new N(n.getAllResponseHeaders()),Yt=function it(o){return"responseURL"in o&&o.responseURL?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null}(n)||l.url;return r=new Oe({headers:bt,status:n.status,statusText:jt,url:Yt}),r},d=()=>{let{headers:jt,status:bt,statusText:Yt,url:Ct}=a(),Nt=null;204!==bt&&(Nt=void 0===n.response?n.responseText:n.response),0===bt&&(bt=Nt?200:0);let He=bt>=200&&bt<300;if("json"===l.responseType&&"string"==typeof Nt){const je=Nt;Nt=Nt.replace(ne,"");try{Nt=""!==Nt?JSON.parse(Nt):null}catch(Z){Nt=je,He&&(He=!1,Nt={error:Z,text:Nt})}}He?(s.next(new Se({body:Nt,headers:jt,status:bt,statusText:Yt,url:Ct||void 0})),s.complete()):s.error(new We({error:Nt,headers:jt,status:bt,statusText:Yt,url:Ct||void 0}))},f=jt=>{const{url:bt}=a(),Yt=new We({error:jt,status:n.status||0,statusText:n.statusText||"Unknown Error",url:bt||void 0});s.error(Yt)};let x=!1;const Ye=jt=>{x||(s.next(a()),x=!0);let bt={type:se.DownloadProgress,loaded:jt.loaded};jt.lengthComputable&&(bt.total=jt.total),"text"===l.responseType&&!!n.responseText&&(bt.partialText=n.responseText),s.next(bt)},It=jt=>{let bt={type:se.UploadProgress,loaded:jt.loaded};jt.lengthComputable&&(bt.total=jt.total),s.next(bt)};return n.addEventListener("load",d),n.addEventListener("error",f),n.addEventListener("timeout",f),n.addEventListener("abort",f),l.reportProgress&&(n.addEventListener("progress",Ye),null!==t&&n.upload&&n.upload.addEventListener("progress",It)),n.send(t),s.next({type:se.Sent}),()=>{n.removeEventListener("error",f),n.removeEventListener("abort",f),n.removeEventListener("load",d),n.removeEventListener("timeout",f),l.reportProgress&&(n.removeEventListener("progress",Ye),null!==t&&n.upload&&n.upload.removeEventListener("progress",It)),n.readyState!==n.DONE&&n.abort()}})}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(e.JF))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();const ze=new c.OlP("XSRF_COOKIE_NAME"),Ue=new c.OlP("XSRF_HEADER_NAME");class _e{}let ae=(()=>{class o{constructor(l,s,n){this.doc=l,this.platform=s,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const l=this.doc.cookie||"";return l!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(l,this.cookieName),this.lastCookieString=l),this.lastToken}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(e.K0),c.LFG(c.Lbi),c.LFG(ze))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),Ae=(()=>{class o{constructor(l,s){this.tokenService=l,this.headerName=s}intercept(l,s){const n=l.url.toLowerCase();if("GET"===l.method||"HEAD"===l.method||n.startsWith("http://")||n.startsWith("https://"))return s.handle(l);const t=this.tokenService.getToken();return null!==t&&!l.headers.has(this.headerName)&&(l=l.clone({headers:l.headers.set(this.headerName,t)})),s.handle(l)}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(_e),c.LFG(Ue))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),ee=(()=>{class o{constructor(l,s){this.backend=l,this.injector=s,this.chain=null}handle(l){if(null===this.chain){const s=this.injector.get(Me,[]);this.chain=s.reduceRight((n,t)=>new ue(n,t),this.backend)}return this.chain.handle(l)}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(I),c.LFG(c.zs3))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),H=(()=>{class o{static disable(){return{ngModule:o,providers:[{provide:Ae,useClass:z}]}}static withOptions(l={}){return{ngModule:o,providers:[l.cookieName?{provide:ze,useValue:l.cookieName}:[],l.headerName?{provide:Ue,useValue:l.headerName}:[]]}}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275mod=c.oAB({type:o}),o.\u0275inj=c.cJS({providers:[Ae,{provide:Me,useExisting:Ae,multi:!0},{provide:_e,useClass:ae},{provide:ze,useValue:"XSRF-TOKEN"},{provide:Ue,useValue:"X-XSRF-TOKEN"}]}),o})(),D=(()=>{class o{}return o.\u0275fac=function(l){return new(l||o)},o.\u0275mod=c.oAB({type:o}),o.\u0275inj=c.cJS({providers:[Le,{provide:v,useClass:ee},Be,{provide:I,useExisting:Be}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),o})()},5e3:(qe,me,h)=>{"use strict";h.d(me,{deG:()=>Hm,tb:()=>cm,AFp:()=>am,ip1:()=>zc,CZH:()=>qs,hGG:()=>jT,z2F:()=>ka,sBO:()=>AT,Sil:()=>Yc,_Vd:()=>Ra,EJc:()=>um,SBq:()=>Ia,qLn:()=>_a,vpe:()=>Ir,tBr:()=>ua,XFs:()=>V,OlP:()=>gn,zs3:()=>or,ZZ4:()=>Io,aQg:()=>Oo,soG:()=>Do,YKP:()=>ff,h0i:()=>zs,PXZ:()=>uT,R0b:()=>tr,FiY:()=>Wr,Lbi:()=>lm,g9A:()=>om,n_E:()=>Eo,Qsj:()=>KC,FYo:()=>df,JOm:()=>Mr,q3G:()=>Tn,tp0:()=>bs,Rgc:()=>Ba,dDg:()=>fm,GfV:()=>uf,s_b:()=>wo,ifc:()=>t,eFA:()=>_m,G48:()=>_T,Gpc:()=>A,f3M:()=>qm,_c5:()=>LT,VLi:()=>lT,c2e:()=>dm,zSh:()=>Ul,wAp:()=>Ri,vHH:()=>Q,EiD:()=>Fd,mCW:()=>pa,qzn:()=>Ts,JVY:()=>pg,pB0:()=>_g,eBb:()=>mg,L6k:()=>fg,LAX:()=>gg,cg1:()=>Ec,kL8:()=>Op,yhl:()=>Id,dqk:()=>x,sIi:()=>Ea,CqO:()=>zh,QGY:()=>oc,F4k:()=>Gh,RDi:()=>W,AaK:()=>v,z3N:()=>Nr,qOj:()=>Wl,TTD:()=>Zn,_Bn:()=>of,xp6:()=>Eu,uIk:()=>Jl,Q2q:()=>Ql,Tol:()=>up,Gre:()=>Ep,ekj:()=>fc,Suo:()=>kf,Xpm:()=>oe,lG2:()=>lt,Yz7:()=>fe,cJS:()=>ne,oAB:()=>Tt,Yjl:()=>ut,Y36:()=>wa,_UZ:()=>Uh,GkF:()=>jh,BQk:()=>ac,ynx:()=>sc,qZA:()=>rc,TgZ:()=>nc,EpF:()=>Zh,n5z:()=>md,Ikx:()=>vc,LFG:()=>In,$8M:()=>jo,$Z:()=>Fh,NdJ:()=>lc,CRH:()=>Vf,kcU:()=>Ga,O4$:()=>Za,oxw:()=>qh,ALo:()=>Mf,lcZ:()=>Sf,xi3:()=>Df,Dn7:()=>Pf,Hsn:()=>Qh,F$t:()=>Jh,Q6J:()=>tc,s9C:()=>uc,MGl:()=>fo,hYB:()=>hc,DdM:()=>Af,VKq:()=>bf,WLB:()=>Cf,kEZ:()=>vf,iGM:()=>Bf,MAs:()=>Dh,evT:()=>$d,Jf7:()=>Qd,CHM:()=>Si,oJD:()=>Ud,LSH:()=>il,B6R:()=>nt,Udp:()=>pc,WFA:()=>cc,d8E:()=>Tc,YNc:()=>Sh,W1O:()=>Zf,_uU:()=>Ap,Oqu:()=>gc,hij:()=>go,AsE:()=>_c,lnq:()=>Ac,HOy:()=>bc,xDo:()=>Cc,Gf:()=>Nf});var e=h(77579),c=h(50727),g=h(68306),w=h(56451),_=h(13099);function b(p){for(let m in p)if(p[m]===b)return m;throw Error("Could not find renamed property on target object.")}function E(p,m){for(const C in m)m.hasOwnProperty(C)&&!p.hasOwnProperty(C)&&(p[C]=m[C])}function v(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(v).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const C=m.indexOf("\n");return-1===C?m:m.substring(0,C)}function I(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const N=b({__forward_ref__:b});function A(p){return p.__forward_ref__=A,p.toString=function(){return v(this())},p}function q(p){return j(p)?p():p}function j(p){return"function"==typeof p&&p.hasOwnProperty(N)&&p.__forward_ref__===A}class Q extends Error{constructor(m,C){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,C)),this.code=m}}function F(p){return"string"==typeof p?p:null==p?"":String(p)}function be(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():F(p)}function R(p,m){const C=m?` in ${m}`:"";throw new Q(-201,`No provider for ${be(p)} found${C}`)}function P(p,m){null==p&&function de(p,m,C,y){throw new Error(`ASSERTION ERROR: ${p}`+(null==y?"":` [Expected=> ${C} ${y} ${m} <=Actual]`))}(m,p,null,"!=")}function fe(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function ne(p){return{providers:p.providers||[],imports:p.imports||[]}}function it(p){return Be(p,ae)||Be(p,ee)}function Be(p,m){return p.hasOwnProperty(m)?p[m]:null}function _e(p){return p&&(p.hasOwnProperty(Ae)||p.hasOwnProperty(Ne))?p[Ae]:null}const ae=b({\u0275prov:b}),Ae=b({\u0275inj:b}),ee=b({ngInjectableDef:b}),Ne=b({ngInjectorDef:b});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let H;function O(p){const m=H;return H=p,m}function i(p,m,C){const y=it(p);return y&&"root"==y.providedIn?void 0===y.value?y.value=y.factory():y.value:C&V.Optional?null:void 0!==m?m:void R(v(p),"Injector")}function u(p){return{toString:p}.toString()}var l=(()=>((l=l||{})[l.OnPush=0]="OnPush",l[l.Default=1]="Default",l))(),t=(()=>{return(p=t||(t={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",t;var p})();const r="undefined"!=typeof globalThis&&globalThis,a="undefined"!=typeof window&&window,d="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,x=r||"undefined"!=typeof global&&global||a||d,jt={},bt=[],Yt=b({\u0275cmp:b}),Ct=b({\u0275dir:b}),Nt=b({\u0275pipe:b}),He=b({\u0275mod:b}),je=b({\u0275fac:b}),Z=b({__NG_ELEMENT_ID__:b});let $=0;function oe(p){return u(()=>{const C={},y={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:C,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===l.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||bt,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||t.Emulated,id:"c",styles:p.styles||bt,_:null,setInput:null,schemas:p.schemas||null,tView:null},M=p.directives,S=p.features,B=p.pipes;return y.id+=$++,y.inputs=rt(p.inputs,C),y.outputs=rt(p.outputs),S&&S.forEach(re=>re(y)),y.directiveDefs=M?()=>("function"==typeof M?M():M).map(ct):null,y.pipeDefs=B?()=>("function"==typeof B?B():B).map(Rt):null,y})}function nt(p,m,C){const y=p.\u0275cmp;y.directiveDefs=()=>m.map(ct),y.pipeDefs=()=>C.map(Rt)}function ct(p){return Ht(p)||function Qt(p){return p[Ct]||null}(p)}function Rt(p){return function ni(p){return p[Nt]||null}(p)}const mt={};function Tt(p){return u(()=>{const m={type:p.type,bootstrap:p.bootstrap||bt,declarations:p.declarations||bt,imports:p.imports||bt,exports:p.exports||bt,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(mt[p.id]=p.type),m})}function rt(p,m){if(null==p)return jt;const C={};for(const y in p)if(p.hasOwnProperty(y)){let M=p[y],S=M;Array.isArray(M)&&(S=M[1],M=M[0]),C[M]=y,m&&(m[M]=S)}return C}const lt=oe;function ut(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function Ht(p){return p[Yt]||null}function hi(p,m){const C=p[He]||null;if(!C&&!0===m)throw new Error(`Type ${v(p)} does not have '\u0275mod' property.`);return C}function Wi(p){return Array.isArray(p)&&"object"==typeof p[1]}function sn(p){return Array.isArray(p)&&!0===p[1]}function An(p){return 0!=(8&p.flags)}function On(p){return 2==(2&p.flags)}function un(p){return 1==(1&p.flags)}function Ji(p){return null!==p.template}function ln(p){return 0!=(512&p[2])}function yn(p,m){return p.hasOwnProperty(je)?p[je]:null}class Qn{constructor(m,C,y){this.previousValue=m,this.currentValue=C,this.firstChange=y}isFirstChange(){return this.firstChange}}function Zn(){return wn}function wn(p){return p.type.prototype.ngOnChanges&&(p.setInput=Rn),Pn}function Pn(){const p=Hn(this),m=null==p?void 0:p.current;if(m){const C=p.previous;if(C===jt)p.previous=m;else for(let y in m)C[y]=m[y];p.current=null,this.ngOnChanges(m)}}function Rn(p,m,C,y){const M=Hn(p)||function mn(p,m){return p[xn]=m}(p,{previous:jt,current:null}),S=M.current||(M.current={}),B=M.previous,re=this.declaredInputs[C],Ee=B[re];S[re]=new Qn(Ee&&Ee.currentValue,m,B===jt),p[y]=m}Zn.ngInherit=!0;const xn="__ngSimpleChanges__";function Hn(p){return p[xn]||null}let k;function W(p){k=p}function Re(){return void 0!==k?k:"undefined"!=typeof document?document:void 0}function Et(p){return!!p.listen}const te={createRenderer:(p,m)=>Re()};function le(p){for(;Array.isArray(p);)p=p[0];return p}function zt(p,m){return le(m[p])}function Jt(p,m){return le(m[p.index])}function ui(p,m){return p.data[m]}function fi(p,m){return p[m]}function Ai(p,m){const C=m[p];return Wi(C)?C:C[0]}function Mi(p){return 4==(4&p[2])}function Bi(p){return 128==(128&p[2])}function De(p,m){return null==m?null:p[m]}function we(p){p[18]=0}function ht(p,m){p[5]+=m;let C=p,y=p[3];for(;null!==y&&(1===m&&1===C[5]||-1===m&&0===C[5]);)y[5]+=m,C=y,y=y[3]}const Zt={lFrame:ja(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Nn(){return Zt.bindingsEnabled}function ri(){return Zt.lFrame.lView}function ci(){return Zt.lFrame.tView}function Si(p){return Zt.lFrame.contextLView=p,p[8]}function _i(){let p=Fi();for(;null!==p&&64===p.type;)p=p.parent;return p}function Fi(){return Zt.lFrame.currentTNode}function tt(p,m){const C=Zt.lFrame;C.currentTNode=p,C.isParent=m}function Wt(){return Zt.lFrame.isParent}function xe(){Zt.lFrame.isParent=!1}function $t(){return Zt.isInCheckNoChangesMode}function bi(p){Zt.isInCheckNoChangesMode=p}function Ei(){const p=Zt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function Yi(){return Zt.lFrame.bindingIndex}function Wn(){return Zt.lFrame.bindingIndex++}function kn(p){const m=Zt.lFrame,C=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,C}function Va(p,m){const C=Zt.lFrame;C.bindingIndex=C.bindingRootIndex=p,Qs(m)}function Qs(p){Zt.lFrame.currentDirectiveIndex=p}function $s(p){const m=Zt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Fa(){return Zt.lFrame.currentQueryIndex}function es(p){Zt.lFrame.currentQueryIndex=p}function Lo(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function ts(p,m,C){if(C&V.SkipSelf){let M=m,S=p;for(;!(M=M.parent,null!==M||C&V.Host||(M=Lo(S),null===M||(S=S[15],10&M.type))););if(null===M)return!1;m=M,p=S}const y=Zt.lFrame=Ua();return y.currentTNode=m,y.lView=p,!0}function zr(p){const m=Ua(),C=p[1];Zt.lFrame=m,m.currentTNode=C.firstChild,m.lView=p,m.tView=C,m.contextLView=p,m.bindingIndex=C.bindingStartIndex,m.inI18n=!1}function Ua(){const p=Zt.lFrame,m=null===p?null:p.child;return null===m?ja(p):m}function ja(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function is(){const p=Zt.lFrame;return Zt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const Ks=is;function ns(){const p=is();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function Ln(){return Zt.lFrame.selectedIndex}function dr(p){Zt.lFrame.selectedIndex=p}function hn(){const p=Zt.lFrame;return ui(p.tView,p.selectedIndex)}function Za(){Zt.lFrame.currentNamespace="svg"}function Ga(){!function rs(){Zt.lFrame.currentNamespace=null}()}function ur(p,m){for(let C=m.directiveStart,y=m.directiveEnd;C=y)break}else m[Ee]<0&&(p[18]+=65536),(re>11>16&&(3&p[2])===m){p[2]+=2048;try{S.call(re)}finally{}}}else try{S.call(re)}finally{}}class Or{constructor(m,C,y){this.factory=m,this.resolving=!1,this.canSeeViewProviders=C,this.injectImpl=y}}function ds(p,m,C){const y=Et(p);let M=0;for(;Mm){B=S-1;break}}}for(;S>16}(p),y=m;for(;C>0;)y=y[15],C--;return y}let na=!0;function ra(p){const m=na;return na=p,m}let Ve=0;function At(p,m){const C=Ft(p,m);if(-1!==C)return C;const y=m[1];y.firstCreatePass&&(p.injectorIndex=m.length,Ot(y.data,p),Ot(m,null),Ot(y.blueprint,null));const M=Xt(p,m),S=p.injectorIndex;if(hs(M)){const B=Ur(M),re=Lr(M,m),Ee=re[1].data;for(let Xe=0;Xe<8;Xe++)m[S+Xe]=re[B+Xe]|Ee[B+Xe]}return m[S+8]=M,S}function Ot(p,m){p.push(0,0,0,0,0,0,0,0,m)}function Ft(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function Xt(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let C=0,y=null,M=m;for(;null!==M;){const S=M[1],B=S.type;if(y=2===B?S.declTNode:1===B?M[6]:null,null===y)return-1;if(C++,M=M[15],-1!==y.injectorIndex)return y.injectorIndex|C<<16}return-1}function Ci(p,m,C){!function Ke(p,m,C){let y;"string"==typeof C?y=C.charCodeAt(0)||0:C.hasOwnProperty(Z)&&(y=C[Z]),null==y&&(y=C[Z]=Ve++);const M=255&y;m.data[p+(M>>5)]|=1<=0?255&m:pr:m}(C);if("function"==typeof S){if(!ts(m,p,y))return y&V.Host?Di(M,C,y):Qi(m,C,y,M);try{const B=S(y);if(null!=B||y&V.Optional)return B;R(C)}finally{Ks()}}else if("number"==typeof S){let B=null,re=Ft(p,m),Ee=-1,Xe=y&V.Host?m[16][6]:null;for((-1===re||y&V.SkipSelf)&&(Ee=-1===re?Xt(p,m):m[re+8],-1!==Ee&&Ya(y,!1)?(B=m[1],re=Ur(Ee),m=Lr(Ee,m)):re=-1);-1!==re;){const dt=m[1];if(Br(S,re,dt.data)){const Mt=fr(re,m,C,B,y,Xe);if(Mt!==jr)return Mt}Ee=m[re+8],-1!==Ee&&Ya(y,m[1].data[re+8]===Xe)&&Br(S,re,m)?(B=dt,re=Ur(Ee),m=Lr(Ee,m)):re=-1}}}return Qi(m,C,y,M)}const jr={};function pr(){return new ps(_i(),ri())}function fr(p,m,C,y,M,S){const B=m[1],re=B.data[p+8],dt=Kn(re,B,C,null==y?On(re)&&na:y!=B&&0!=(3&re.type),M&V.Host&&S===re);return null!==dt?Er(m,B,dt,re):jr}function Kn(p,m,C,y,M){const S=p.providerIndexes,B=m.data,re=1048575&S,Ee=p.directiveStart,dt=S>>20,Vt=M?re+dt:p.directiveEnd;for(let qt=y?re:re+dt;qt=Ee&&ei.type===C)return qt}if(M){const qt=B[Ee];if(qt&&Ji(qt)&&qt.type===C)return Ee}return null}function Er(p,m,C,y){let M=p[C];const S=m.data;if(function hd(p){return p instanceof Or}(M)){const B=M;B.resolving&&function pe(p,m){const C=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new Q(-200,`Circular dependency in DI detected for ${p}${C}`)}(be(S[C]));const re=ra(B.canSeeViewProviders);B.resolving=!0;const Ee=B.injectImpl?O(B.injectImpl):null;ts(p,y,V.Default);try{M=p[C]=B.factory(void 0,S,p,y),m.firstCreatePass&&C>=y.directiveStart&&function as(p,m,C){const{ngOnChanges:y,ngOnInit:M,ngDoCheck:S}=m.type.prototype;if(y){const B=wn(m);(C.preOrderHooks||(C.preOrderHooks=[])).push(p,B),(C.preOrderCheckHooks||(C.preOrderCheckHooks=[])).push(p,B)}M&&(C.preOrderHooks||(C.preOrderHooks=[])).push(0-p,M),S&&((C.preOrderHooks||(C.preOrderHooks=[])).push(p,S),(C.preOrderCheckHooks||(C.preOrderCheckHooks=[])).push(p,S))}(C,S[C],m)}finally{null!==Ee&&O(Ee),ra(re),B.resolving=!1,Ks()}}return M}function Br(p,m,C){return!!(C[m+(p>>5)]&1<{const m=p.prototype.constructor,C=m[je]||Uo(m),y=Object.prototype;let M=Object.getPrototypeOf(p.prototype).constructor;for(;M&&M!==y;){const S=M[je]||Uo(M);if(S&&S!==C)return S;M=Object.getPrototypeOf(M)}return S=>new S})}function Uo(p){return j(p)?()=>{const m=Uo(q(p));return m&&m()}:yn(p)}function jo(p){return function Gi(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const C=p.attrs;if(C){const y=C.length;let M=0;for(;M{const y=function Zo(p){return function(...C){if(p){const y=p(...C);for(const M in y)this[M]=y[M]}}}(m);function M(...S){if(this instanceof M)return y.apply(this,S),this;const B=new M(...S);return re.annotation=B,re;function re(Ee,Xe,dt){const Mt=Ee.hasOwnProperty(ms)?Ee[ms]:Object.defineProperty(Ee,ms,{value:[]})[ms];for(;Mt.length<=dt;)Mt.push(null);return(Mt[dt]=Mt[dt]||[]).push(B),Ee}}return C&&(M.prototype=Object.create(C.prototype)),M.prototype.ngMetadataName=p,M.annotationCls=M,M})}class gn{constructor(m,C){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof C?this.__NG_ELEMENT_ID__=C:void 0!==C&&(this.\u0275prov=fe({token:this,providedIn:C.providedIn||"root",factory:C.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Hm=new gn("AnalyzeForEntryComponents");function ar(p,m){void 0===m&&(m=p);for(let C=0;CArray.isArray(C)?yr(C,m):m(C))}function _d(p,m,C){m>=p.length?p.push(C):p.splice(m,0,C)}function qa(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function oa(p,m){const C=[];for(let y=0;y=0?p[1|y]=C:(y=~y,function Nm(p,m,C,y){let M=p.length;if(M==m)p.push(C,y);else if(1===M)p.push(y,p[0]),p[0]=C;else{for(M--,p.push(p[M-1],p[M]);M>m;)p[M]=p[M-2],M--;p[m]=C,p[m+1]=y}}(p,y,m,C)),y}function zo(p,m){const C=As(p,m);if(C>=0)return p[1|C]}function As(p,m){return function Cd(p,m,C){let y=0,M=p.length>>C;for(;M!==y;){const S=y+(M-y>>1),B=p[S<m?M=S:y=S+1}return~(M<({token:p})),-1),Wr=da(_s("Optional"),8),bs=da(_s("SkipSelf"),4);let Ka,Xa;function vs(p){var m;return(null===(m=function Qo(){if(void 0===Ka&&(Ka=null,x.trustedTypes))try{Ka=x.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return Ka}())||void 0===m?void 0:m.createHTML(p))||p}function Dd(p){var m;return(null===(m=function $o(){if(void 0===Xa&&(Xa=null,x.trustedTypes))try{Xa=x.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return Xa}())||void 0===m?void 0:m.createHTML(p))||p}class Yr{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class lg extends Yr{getTypeName(){return"HTML"}}class cg extends Yr{getTypeName(){return"Style"}}class dg extends Yr{getTypeName(){return"Script"}}class ug extends Yr{getTypeName(){return"URL"}}class hg extends Yr{getTypeName(){return"ResourceURL"}}function Nr(p){return p instanceof Yr?p.changingThisBreaksApplicationSecurity:p}function Ts(p,m){const C=Id(p);if(null!=C&&C!==m){if("ResourceURL"===C&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${C} (see https://g.co/ng/security#xss)`)}return C===m}function Id(p){return p instanceof Yr&&p.getTypeName()||null}function pg(p){return new lg(p)}function fg(p){return new cg(p)}function mg(p){return new dg(p)}function gg(p){return new ug(p)}function _g(p){return new hg(p)}class Ag{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const C=(new window.DOMParser).parseFromString(vs(m),"text/html").body;return null===C?this.inertDocumentHelper.getInertBodyElement(m):(C.removeChild(C.firstChild),C)}catch(C){return null}}}class bg{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const C=this.inertDocument.createElement("html");this.inertDocument.appendChild(C);const y=this.inertDocument.createElement("body");C.appendChild(y)}}getInertBodyElement(m){const C=this.inertDocument.createElement("template");if("content"in C)return C.innerHTML=vs(m),C;const y=this.inertDocument.createElement("body");return y.innerHTML=vs(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(y),y}stripCustomNsAttrs(m){const C=m.attributes;for(let M=C.length-1;0pa(m.trim())).join(", ")),this.buf.push(" ",B,'="',Vd(Ee),'"')}var p;return this.buf.push(">"),!0}endElement(m){const C=m.nodeName.toLowerCase();Ko.hasOwnProperty(C)&&!Ld.hasOwnProperty(C)&&(this.buf.push(""))}chars(m){this.buf.push(Vd(m))}checkClobberedElement(m,C){if(C&&(m.compareDocumentPosition(C)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return C}}const wg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xg=/([^\#-~ |!])/g;function Vd(p){return p.replace(/&/g,"&").replace(wg,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(xg,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let eo;function Fd(p,m){let C=null;try{eo=eo||function Od(p){const m=new bg(p);return function Cg(){try{return!!(new window.DOMParser).parseFromString(vs(""),"text/html")}catch(p){return!1}}()?new Ag(m):m}(p);let y=m?String(m):"";C=eo.getInertBodyElement(y);let M=5,S=y;do{if(0===M)throw new Error("Failed to sanitize html because the input is unstable");M--,y=S,S=C.innerHTML,C=eo.getInertBodyElement(y)}while(y!==S);return vs((new yg).sanitizeChildren(tl(C)||C))}finally{if(C){const y=tl(C)||C;for(;y.firstChild;)y.removeChild(y.firstChild)}}}function tl(p){return"content"in p&&function Mg(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var Tn=(()=>((Tn=Tn||{})[Tn.NONE=0]="NONE",Tn[Tn.HTML=1]="HTML",Tn[Tn.STYLE=2]="STYLE",Tn[Tn.SCRIPT=3]="SCRIPT",Tn[Tn.URL=4]="URL",Tn[Tn.RESOURCE_URL=5]="RESOURCE_URL",Tn))();function Ud(p){const m=ma();return m?Dd(m.sanitize(Tn.HTML,p)||""):Ts(p,"HTML")?Dd(Nr(p)):Fd(Re(),F(p))}function il(p){const m=ma();return m?m.sanitize(Tn.URL,p)||"":Ts(p,"URL")?Nr(p):pa(F(p))}function ma(){const p=ri();return p&&p[12]}const Gd="__ngContext__";function Fn(p,m){p[Gd]=m}function rl(p){const m=function ga(p){return p[Gd]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function al(p){return p.ngOriginalError}function Zg(p,...m){p.error(...m)}class _a{constructor(){this._console=console}handleError(m){const C=this._findOriginalError(m),y=function jg(p){return p&&p.ngErrorLogger||Zg}(m);y(this._console,"ERROR",m),C&&y(this._console,"ORIGINAL ERROR",C)}_findOriginalError(m){let C=m&&al(m);for(;C&&al(C);)C=al(C);return C||null}}const Jd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(x))();function Qd(p){return p.ownerDocument.defaultView}function $d(p){return p.ownerDocument}function xr(p){return p instanceof Function?p():p}var Mr=(()=>((Mr=Mr||{})[Mr.Important=1]="Important",Mr[Mr.DashCase=2]="DashCase",Mr))();function ll(p,m){return undefined(p,m)}function Aa(p){const m=p[3];return sn(m)?m[3]:m}function cl(p){return iu(p[13])}function dl(p){return iu(p[4])}function iu(p){for(;null!==p&&!sn(p);)p=p[4];return p}function ys(p,m,C,y,M){if(null!=y){let S,B=!1;sn(y)?S=y:Wi(y)&&(B=!0,y=y[0]);const re=le(y);0===p&&null!==C?null==M?lu(m,C,re):qr(m,C,re,M||null,!0):1===p&&null!==C?qr(m,C,re,M||null,!0):2===p?function mu(p,m,C){const y=to(p,m);y&&function d_(p,m,C,y){Et(p)?p.removeChild(m,C,y):m.removeChild(C)}(p,y,m,C)}(m,re,B):3===p&&m.destroyNode(re),null!=S&&function p_(p,m,C,y,M){const S=C[7];S!==le(C)&&ys(m,p,y,S,M);for(let re=10;re0&&(p[C-1][4]=y[4]);const S=qa(p,10+m);!function i_(p,m){ba(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(y[1],y);const B=S[19];null!==B&&B.detachView(S[1]),y[3]=null,y[4]=null,y[2]&=-129}return y}function su(p,m){if(!(256&m[2])){const C=m[11];Et(C)&&C.destroyNode&&ba(p,m,C,3,null,null),function s_(p){let m=p[13];if(!m)return fl(p[1],p);for(;m;){let C=null;if(Wi(m))C=m[13];else{const y=m[10];y&&(C=y)}if(!C){for(;m&&!m[4]&&m!==p;)Wi(m)&&fl(m[1],m),m=m[3];null===m&&(m=p),Wi(m)&&fl(m[1],m),C=m&&m[4]}m=C}}(m)}}function fl(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function c_(p,m){let C;if(null!=p&&null!=(C=p.destroyHooks))for(let y=0;y=0?y[M=Xe]():y[M=-Xe].unsubscribe(),S+=2}else{const B=y[M=C[S+1]];C[S].call(B)}if(null!==y){for(let S=M+1;SS?"":M[Mt+1].toLowerCase();const qt=8&y?Vt:null;if(qt&&-1!==Au(qt,Xe,0)||2&y&&Xe!==Vt){if(gr(y))return!1;B=!0}}}}else{if(!B&&!gr(y)&&!gr(Ee))return!1;if(B&&gr(Ee))continue;B=!1,y=Ee|1&y}}return gr(y)||B}function gr(p){return 0==(1&p)}function A_(p,m,C,y){if(null===m)return-1;let M=0;if(y||!C){let S=!1;for(;M-1)for(C++;C0?'="'+re+'"':"")+"]"}else 8&y?M+="."+B:4&y&&(M+=" "+B);else""!==M&&!gr(B)&&(m+=Tu(S,M),M=""),y=B,S=S||!gr(y);C++}return""!==M&&(m+=Tu(S,M)),m}const Ni={};function Eu(p){yu(ci(),ri(),Ln()+p,$t())}function yu(p,m,C,y){if(!y)if(3==(3&m[2])){const S=p.preOrderCheckHooks;null!==S&&os(m,S,C)}else{const S=p.preOrderHooks;null!==S&&ls(m,S,0,C)}dr(C)}function ro(p,m){return p<<17|m<<2}function _r(p){return p>>17&32767}function bl(p){return 2|p}function kr(p){return(131068&p)>>2}function Cl(p,m){return-131069&p|m<<2}function vl(p){return 1|p}function Lu(p,m){const C=p.contentQueries;if(null!==C)for(let y=0;y20&&yu(p,m,20,$t()),C(y,M)}finally{dr(S)}}function Nu(p,m,C){if(An(m)){const M=m.directiveEnd;for(let S=m.directiveStart;S0;){const C=p[--m];if("number"==typeof C&&C<0)return C}return 0})(re)!=Ee&&re.push(Ee),re.push(y,M,B)}}function zu(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function Wu(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function K_(p,m,C){if(C){if(m.exportAs)for(let y=0;y0&&Ll(C)}}function Ll(p){for(let y=cl(p);null!==y;y=dl(y))for(let M=10;M0&&Ll(S)}const C=p[1].components;if(null!==C)for(let y=0;y0&&Ll(M)}}function sA(p,m){const C=Ai(m,p),y=C[1];(function aA(p,m){for(let C=m.length;CPromise.resolve(null))();function $u(p){return p[7]||(p[7]=[])}function Ku(p){return p.cleanup||(p.cleanup=[])}function Xu(p,m,C){return(null===p||Ji(p))&&(C=function et(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(C[m.index])),C[11]}function eh(p,m){const C=p[9],y=C?C.get(_a,null):null;y&&y.handleError(m)}function th(p,m,C,y,M){for(let S=0;Sthis.processProvider(re,m,C)),yr([m],re=>this.processInjectorType(re,[],S)),this.records.set(Fl,Ss(void 0,this));const B=this.records.get(Ul);this.scope=null!=B?B.value:null,this.source=M||("object"==typeof m?null:v(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,C=la,y=V.Default){this.assertNotDestroyed();const M=Ed(this),S=O(void 0);try{if(!(y&V.SkipSelf)){let re=this.records.get(m);if(void 0===re){const Ee=function TA(p){return"function"==typeof p||"object"==typeof p&&p instanceof gn}(m)&&it(m);re=Ee&&this.injectableDefInScope(Ee)?Ss(Zl(m),Ta):null,this.records.set(m,re)}if(null!=re)return this.hydrate(m,re)}return(y&V.Self?nh():this.parent).get(m,C=y&V.Optional&&C===la?null:C)}catch(B){if("NullInjectorError"===B.name){if((B[Qa]=B[Qa]||[]).unshift(v(m)),M)throw B;return function Qm(p,m,C,y){const M=p[Qa];throw m[Td]&&M.unshift(m[Td]),p.message=function $m(p,m,C,y=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let M=v(m);if(Array.isArray(m))M=m.map(v).join(" -> ");else if("object"==typeof m){let S=[];for(let B in m)if(m.hasOwnProperty(B)){let re=m[B];S.push(B+":"+("string"==typeof re?JSON.stringify(re):v(re)))}M=`{${S.join(", ")}}`}return`${C}${y?"("+y+")":""}[${M}]: ${p.replace(Gm,"\n ")}`}("\n"+p.message,M,C,y),p.ngTokenPath=M,p[Qa]=null,p}(B,m,"R3InjectorError",this.source)}throw B}finally{O(S),Ed(M)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((y,M)=>m.push(v(M))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Q(205,!1)}processInjectorType(m,C,y){if(!(m=q(m)))return!1;let M=_e(m);const S=null==M&&m.ngModule||void 0,B=void 0===S?m:S,re=-1!==y.indexOf(B);if(void 0!==S&&(M=_e(S)),null==M)return!1;if(null!=M.imports&&!re){let dt;y.push(B);try{yr(M.imports,Mt=>{this.processInjectorType(Mt,C,y)&&(void 0===dt&&(dt=[]),dt.push(Mt))})}finally{}if(void 0!==dt)for(let Mt=0;Mtthis.processProvider(ei,Vt,qt||bt))}}this.injectorDefTypes.add(B);const Ee=yn(B)||(()=>new B);this.records.set(B,Ss(Ee,Ta));const Xe=M.providers;if(null!=Xe&&!re){const dt=m;yr(Xe,Mt=>this.processProvider(Mt,dt,Xe))}return void 0!==S&&void 0!==m.providers}processProvider(m,C,y){let M=Ds(m=q(m))?m:q(m&&m.provide);const S=function gA(p,m,C){return oh(p)?Ss(void 0,p.useValue):Ss(ah(p),Ta)}(m);if(Ds(m)||!0!==m.multi)this.records.get(M);else{let B=this.records.get(M);B||(B=Ss(void 0,Ta,!0),B.factory=()=>qo(B.multi),this.records.set(M,B)),M=m,B.multi.push(m)}this.records.set(M,S)}hydrate(m,C){return C.value===Ta&&(C.value=pA,C.value=C.factory()),"object"==typeof C.value&&C.value&&function vA(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(C.value)&&this.onDestroy.add(C.value),C.value}injectableDefInScope(m){if(!m.providedIn)return!1;const C=q(m.providedIn);return"string"==typeof C?"any"===C||C===this.scope:this.injectorDefTypes.has(C)}}function Zl(p){const m=it(p),C=null!==m?m.factory:yn(p);if(null!==C)return C;if(p instanceof gn)throw new Q(204,!1);if(p instanceof Function)return function mA(p){const m=p.length;if(m>0)throw oa(m,"?"),new Q(204,!1);const C=function ze(p){const m=p&&(p[ae]||p[ee]);if(m){const C=function Ue(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${C}" 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 "${C}" class.`),m}return null}(p);return null!==C?()=>C.factory(p):()=>new p}(p);throw new Q(204,!1)}function ah(p,m,C){let y;if(Ds(p)){const M=q(p);return yn(M)||Zl(M)}if(oh(p))y=()=>q(p.useValue);else if(function AA(p){return!(!p||!p.useFactory)}(p))y=()=>p.useFactory(...qo(p.deps||[]));else if(function _A(p){return!(!p||!p.useExisting)}(p))y=()=>In(q(p.useExisting));else{const M=q(p&&(p.useClass||p.provide));if(!function CA(p){return!!p.deps}(p))return yn(M)||Zl(M);y=()=>new M(...qo(p.deps))}return y}function Ss(p,m,C=!1){return{factory:p,value:m,multi:C?[]:void 0}}function oh(p){return null!==p&&"object"==typeof p&&Wm in p}function Ds(p){return"function"==typeof p}let or=(()=>{class p{static create(C,y){var M;if(Array.isArray(C))return rh({name:""},y,C,"");{const S=null!==(M=C.name)&&void 0!==M?M:"";return rh({name:S},C.parent,C.providers,S)}}}return p.THROW_IF_NOT_FOUND=la,p.NULL=new ih,p.\u0275prov=fe({token:p,providedIn:"any",factory:()=>In(Fl)}),p.__NG_ELEMENT_ID__=-1,p})();function PA(p,m){ur(rl(p)[1],_i())}function Wl(p){let m=function bh(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),C=!0;const y=[p];for(;m;){let M;if(Ji(p))M=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new Q(903,"");M=m.\u0275dir}if(M){if(C){y.push(M);const B=p;B.inputs=Yl(p.inputs),B.declaredInputs=Yl(p.declaredInputs),B.outputs=Yl(p.outputs);const re=M.hostBindings;re&&HA(p,re);const Ee=M.viewQuery,Xe=M.contentQueries;if(Ee&&IA(p,Ee),Xe&&OA(p,Xe),E(p.inputs,M.inputs),E(p.declaredInputs,M.declaredInputs),E(p.outputs,M.outputs),Ji(M)&&M.data.animation){const dt=p.data;dt.animation=(dt.animation||[]).concat(M.data.animation)}}const S=M.features;if(S)for(let B=0;B=0;y--){const M=p[y];M.hostVars=m+=M.hostVars,M.hostAttrs=us(M.hostAttrs,C=us(C,M.hostAttrs))}}(y)}function Yl(p){return p===jt?{}:p===bt?[]:p}function IA(p,m){const C=p.viewQuery;p.viewQuery=C?(y,M)=>{m(y,M),C(y,M)}:m}function OA(p,m){const C=p.contentQueries;p.contentQueries=C?(y,M,S)=>{m(y,M,S),C(y,M,S)}:m}function HA(p,m){const C=p.hostBindings;p.hostBindings=C?(y,M)=>{m(y,M),C(y,M)}:m}let uo=null;function Ps(){if(!uo){const p=x.Symbol;if(p&&p.iterator)uo=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let C=0;Cre(le(Zi[y.index])):y.index;if(Et(C)){let Zi=null;if(!re&&Ee&&(Zi=function db(p,m,C,y){const M=p.cleanup;if(null!=M)for(let S=0;SEe?re[Ee]:null}"string"==typeof B&&(S+=2)}return null}(p,m,M,y.index)),null!==Zi)(Zi.__ngLastListenerFn__||Zi).__ngNextListenerFn__=S,Zi.__ngLastListenerFn__=S,qt=!1;else{S=dc(y,m,Mt,S,!1);const en=C.listen(Ti,M,S);Vt.push(S,en),dt&&dt.push(M,Pi,ii,ii+1)}}else S=dc(y,m,Mt,S,!0),Ti.addEventListener(M,S,B),Vt.push(S),dt&&dt.push(M,Pi,ii,B)}else S=dc(y,m,Mt,S,!1);const ei=y.outputs;let di;if(qt&&null!==ei&&(di=ei[M])){const mi=di.length;if(mi)for(let Ti=0;Ti0;)m=m[15],p--;return m}(p,Zt.lFrame.contextLView))[8]}(p)}function ub(p,m){let C=null;const y=function b_(p){const m=p.attrs;if(null!=m){const C=m.indexOf(5);if(0==(1&C))return m[C+1]}return null}(p);for(let M=0;M=0}const Sn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sp(p){return p.substring(Sn.key,Sn.keyEnd)}function ap(p,m){const C=Sn.textEnd;return C===m?-1:(m=Sn.keyEnd=function Ab(p,m,C){for(;m32;)m++;return m}(p,Sn.key=m,C),Us(p,m,C))}function Us(p,m,C){for(;m=0;C=ap(m,C))Xn(p,sp(m),!0)}function br(p,m,C,y){const M=ri(),S=ci(),B=kn(2);S.firstUpdatePass&&pp(S,p,B,y),m!==Ni&&Un(M,B,m)&&mp(S,S.data[Ln()],M,M[11],p,M[B+1]=function Sb(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=v(Nr(p)))),p}(m,C),y,B)}function Cr(p,m,C,y){const M=ci(),S=kn(2);M.firstUpdatePass&&pp(M,null,S,y);const B=ri();if(C!==Ni&&Un(B,S,C)){const re=M.data[Ln()];if(_p(re,y)&&!hp(M,S)){let Ee=y?re.classesWithoutHost:re.stylesWithoutHost;null!==Ee&&(C=I(Ee,C||"")),ic(M,re,B,C,y)}else!function Mb(p,m,C,y,M,S,B,re){M===Ni&&(M=bt);let Ee=0,Xe=0,dt=0=p.expandoStartIndex}function pp(p,m,C,y){const M=p.data;if(null===M[C+1]){const S=M[Ln()],B=hp(p,C);_p(S,y)&&null===m&&!B&&(m=!1),m=function Tb(p,m,C,y){const M=$s(p);let S=y?m.residualClasses:m.residualStyles;if(null===M)0===(y?m.classBindings:m.styleBindings)&&(C=xa(C=mc(null,p,m,C,y),m.attrs,y),S=null);else{const B=m.directiveStylingLast;if(-1===B||p[B]!==M)if(C=mc(M,p,m,C,y),null===S){let Ee=function Eb(p,m,C){const y=C?m.classBindings:m.styleBindings;if(0!==kr(y))return p[_r(y)]}(p,m,y);void 0!==Ee&&Array.isArray(Ee)&&(Ee=mc(null,p,m,Ee[1],y),Ee=xa(Ee,m.attrs,y),function yb(p,m,C,y){p[_r(C?m.classBindings:m.styleBindings)]=y}(p,m,y,Ee))}else S=function wb(p,m,C){let y;const M=m.directiveEnd;for(let S=1+m.directiveStylingLast;S0)&&(Xe=!0)}else dt=C;if(M)if(0!==Ee){const Vt=_r(p[re+1]);p[y+1]=ro(Vt,re),0!==Vt&&(p[Vt+1]=Cl(p[Vt+1],y)),p[re+1]=function x_(p,m){return 131071&p|m<<17}(p[re+1],y)}else p[y+1]=ro(re,0),0!==re&&(p[re+1]=Cl(p[re+1],y)),re=y;else p[y+1]=ro(Ee,0),0===re?re=y:p[Ee+1]=Cl(p[Ee+1],y),Ee=y;Xe&&(p[y+1]=bl(p[y+1])),rp(p,dt,y,!0),rp(p,dt,y,!1),function pb(p,m,C,y,M){const S=M?p.residualClasses:p.residualStyles;null!=S&&"string"==typeof m&&As(S,m)>=0&&(C[y+1]=vl(C[y+1]))}(m,dt,p,y,S),B=ro(re,Ee),S?m.classBindings=B:m.styleBindings=B}(M,S,m,C,B,y)}}function mc(p,m,C,y,M){let S=null;const B=C.directiveEnd;let re=C.directiveStylingLast;for(-1===re?re=C.directiveStart:re++;re0;){const Ee=p[M],Xe=Array.isArray(Ee),dt=Xe?Ee[1]:Ee,Mt=null===dt;let Vt=C[M+1];Vt===Ni&&(Vt=Mt?bt:void 0);let qt=Mt?zo(Vt,y):dt===y?Vt:void 0;if(Xe&&!mo(qt)&&(qt=zo(Ee,y)),mo(qt)&&(re=qt,B))return re;const ei=p[M+1];M=B?_r(ei):kr(ei)}if(null!==m){let Ee=S?m.residualClasses:m.residualStyles;null!=Ee&&(re=zo(Ee,y))}return re}function mo(p){return void 0!==p}function _p(p,m){return 0!=(p.flags&(m?16:32))}function Ap(p,m=""){const C=ri(),y=ci(),M=p+20,S=y.firstCreatePass?ws(y,M,1,m,null):y.data[M],B=C[M]=function ul(p,m){return Et(p)?p.createText(m):p.createTextNode(m)}(C[11],m);io(y,C,B,S),tt(S,!1)}function gc(p){return go("",p,""),gc}function go(p,m,C){const y=ri(),M=Is(y,p,m,C);return M!==Ni&&Vr(y,Ln(),M),go}function _c(p,m,C,y,M){const S=ri(),B=Os(S,p,m,C,y,M);return B!==Ni&&Vr(S,Ln(),B),_c}function Ac(p,m,C,y,M,S,B){const re=ri(),Ee=function Hs(p,m,C,y,M,S,B,re){const Xe=ho(p,Yi(),C,M,B);return kn(3),Xe?m+F(C)+y+F(M)+S+F(B)+re:Ni}(re,p,m,C,y,M,S,B);return Ee!==Ni&&Vr(re,Ln(),Ee),Ac}function bc(p,m,C,y,M,S,B,re,Ee){const Xe=ri(),dt=function Ls(p,m,C,y,M,S,B,re,Ee,Xe){const Mt=lr(p,Yi(),C,M,B,Ee);return kn(4),Mt?m+F(C)+y+F(M)+S+F(B)+re+F(Ee)+Xe:Ni}(Xe,p,m,C,y,M,S,B,re,Ee);return dt!==Ni&&Vr(Xe,Ln(),dt),bc}function Cc(p,m,C,y,M,S,B,re,Ee,Xe,dt){const Mt=ri(),Vt=function Bs(p,m,C,y,M,S,B,re,Ee,Xe,dt,Mt){const Vt=Yi();let qt=lr(p,Vt,C,M,B,Ee);return qt=Un(p,Vt+4,dt)||qt,kn(5),qt?m+F(C)+y+F(M)+S+F(B)+re+F(Ee)+Xe+F(dt)+Mt:Ni}(Mt,p,m,C,y,M,S,B,re,Ee,Xe,dt);return Vt!==Ni&&Vr(Mt,Ln(),Vt),Cc}function Ep(p,m,C){Cr(Xn,Rr,Is(ri(),p,m,C),!0)}function vc(p,m,C){const y=ri();return Un(y,Wn(),m)&&er(ci(),hn(),y,p,m,y[11],C,!0),vc}function Tc(p,m,C){const y=ri();if(Un(y,Wn(),m)){const S=ci(),B=hn();er(S,B,y,p,m,Xu($s(S.data),B,y),C,!0)}return Tc}const Qr=void 0;var Yb=["en",[["a","p"],["AM","PM"],Qr],[["AM","PM"],Qr,Qr],[["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"]],Qr,[["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"]],Qr,[["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}",Qr,"{1} 'at' {0}",Qr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Wb(p){const C=Math.floor(Math.abs(p)),y=p.toString().replace(/^[^.]*\.?/,"").length;return 1===C&&0===y?1:5}];let js={};function Ec(p){const m=function qb(p){return p.toLowerCase().replace(/_/g,"-")}(p);let C=Hp(m);if(C)return C;const y=m.split("-")[0];if(C=Hp(y),C)return C;if("en"===y)return Yb;throw new Error(`Missing locale data for the locale "${p}".`)}function Op(p){return Ec(p)[Ri.PluralCase]}function Hp(p){return p in js||(js[p]=x.ng&&x.ng.common&&x.ng.common.locales&&x.ng.common.locales[p]),js[p]}var Ri=(()=>((Ri=Ri||{})[Ri.LocaleId=0]="LocaleId",Ri[Ri.DayPeriodsFormat=1]="DayPeriodsFormat",Ri[Ri.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ri[Ri.DaysFormat=3]="DaysFormat",Ri[Ri.DaysStandalone=4]="DaysStandalone",Ri[Ri.MonthsFormat=5]="MonthsFormat",Ri[Ri.MonthsStandalone=6]="MonthsStandalone",Ri[Ri.Eras=7]="Eras",Ri[Ri.FirstDayOfWeek=8]="FirstDayOfWeek",Ri[Ri.WeekendRange=9]="WeekendRange",Ri[Ri.DateFormat=10]="DateFormat",Ri[Ri.TimeFormat=11]="TimeFormat",Ri[Ri.DateTimeFormat=12]="DateTimeFormat",Ri[Ri.NumberSymbols=13]="NumberSymbols",Ri[Ri.NumberFormats=14]="NumberFormats",Ri[Ri.CurrencyCode=15]="CurrencyCode",Ri[Ri.CurrencySymbol=16]="CurrencySymbol",Ri[Ri.CurrencyName=17]="CurrencyName",Ri[Ri.Currencies=18]="Currencies",Ri[Ri.Directionality=19]="Directionality",Ri[Ri.PluralCase=20]="PluralCase",Ri[Ri.ExtraData=21]="ExtraData",Ri))();const _o="en-US";let Lp=_o;function xc(p,m,C,y,M){if(p=q(p),Array.isArray(p))for(let S=0;S>20;if(Ds(p)||!p.multi){const qt=new Or(Ee,M,wa),ei=Sc(re,m,M?dt:dt+Vt,Mt);-1===ei?(Ci(At(Xe,B),S,re),Mc(S,p,m.length),m.push(re),Xe.directiveStart++,Xe.directiveEnd++,M&&(Xe.providerIndexes+=1048576),C.push(qt),B.push(qt)):(C[ei]=qt,B[ei]=qt)}else{const qt=Sc(re,m,dt+Vt,Mt),ei=Sc(re,m,dt,dt+Vt),di=qt>=0&&C[qt],mi=ei>=0&&C[ei];if(M&&!mi||!M&&!di){Ci(At(Xe,B),S,re);const Ti=function WC(p,m,C,y,M){const S=new Or(p,C,wa);return S.multi=[],S.index=m,S.componentProviders=0,af(S,M,y&&!C),S}(M?zC:GC,C.length,M,y,Ee);!M&&mi&&(C[ei].providerFactory=Ti),Mc(S,p,m.length,0),m.push(re),Xe.directiveStart++,Xe.directiveEnd++,M&&(Xe.providerIndexes+=1048576),C.push(Ti),B.push(Ti)}else Mc(S,p,qt>-1?qt:ei,af(C[M?ei:qt],Ee,!M&&y));!M&&y&&mi&&C[ei].componentProviders++}}}function Mc(p,m,C,y){const M=Ds(m),S=function bA(p){return!!p.useClass}(m);if(M||S){const Ee=(S?q(m.useClass):m).prototype.ngOnDestroy;if(Ee){const Xe=p.destroyHooks||(p.destroyHooks=[]);if(!M&&m.multi){const dt=Xe.indexOf(C);-1===dt?Xe.push(C,[y,Ee]):Xe[dt+1].push(y,Ee)}else Xe.push(C,Ee)}}}function af(p,m,C){return C&&p.componentProviders++,p.multi.push(m)-1}function Sc(p,m,C,y){for(let M=C;M{C.providersResolver=(y,M)=>function ZC(p,m,C){const y=ci();if(y.firstCreatePass){const M=Ji(p);xc(C,y.data,y.blueprint,M,!0),xc(m,y.data,y.blueprint,M,!1)}}(y,M?M(p):p,m)}}class lf{}class JC{resolveComponentFactory(m){throw function qC(p){const m=Error(`No component factory found for ${v(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let Ra=(()=>{class p{}return p.NULL=new JC,p})();function QC(){return Gs(_i(),ri())}function Gs(p,m){return new Ia(Jt(p,m))}let Ia=(()=>{class p{constructor(C){this.nativeElement=C}}return p.__NG_ELEMENT_ID__=QC,p})();function $C(p){return p instanceof Ia?p.nativeElement:p}class df{}let KC=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function ev(){const p=ri(),C=Ai(_i().index,p);return function XC(p){return p[11]}(Wi(C)?C:p)}(),p})(),tv=(()=>{class p{}return p.\u0275prov=fe({token:p,providedIn:"root",factory:()=>null}),p})();class uf{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const iv=new uf("13.2.2"),Pc={};function To(p,m,C,y,M=!1){for(;null!==C;){const S=m[C.index];if(null!==S&&y.push(le(S)),sn(S))for(let re=10;re-1&&(pl(m,y),qa(C,y))}this._attachedToViewContainer=!1}su(this._lView[1],this._lView)}onDestroy(m){Uu(this._lView[1],this._lView,null,m)}markForCheck(){Bl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){kl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function lA(p,m,C){bi(!0);try{kl(p,m,C)}finally{bi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Q(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function r_(p,m){ba(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new Q(902,"");this._appRef=m}}class nv extends Oa{constructor(m){super(m),this._view=m}detectChanges(){Qu(this._view)}checkNoChanges(){!function cA(p){bi(!0);try{Qu(p)}finally{bi(!1)}}(this._view)}get context(){return null}}class hf extends Ra{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const C=Ht(m);return new Rc(C,this.ngModule)}}function pf(p){const m=[];for(let C in p)p.hasOwnProperty(C)&&m.push({propName:p[C],templateName:C});return m}const sv=new gn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Jd});class Rc extends lf{constructor(m,C){super(),this.componentDef=m,this.ngModule=C,this.componentType=m.type,this.selector=function y_(p){return p.map(E_).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!C}get inputs(){return pf(this.componentDef.inputs)}get outputs(){return pf(this.componentDef.outputs)}create(m,C,y,M){const S=(M=M||this.ngModule)?function av(p,m){return{get:(C,y,M)=>{const S=p.get(C,Pc,M);return S!==Pc||y===Pc?S:m.get(C,y,M)}}}(m,M.injector):m,B=S.get(df,te),re=S.get(tv,null),Ee=B.createRenderer(null,this.componentDef),Xe=this.componentDef.selectors[0][0]||"div",dt=y?function Fu(p,m,C){if(Et(p))return p.selectRootElement(m,C===t.ShadowDom);let y="string"==typeof m?p.querySelector(m):m;return y.textContent="",y}(Ee,y,this.componentDef.encapsulation):hl(B.createRenderer(null,this.componentDef),Xe,function rv(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(Xe)),Mt=this.componentDef.onPush?576:528,Vt=function Ah(p,m){return{components:[],scheduler:p||Jd,clean:dA,playerHandler:m||null,flags:0}}(),qt=oo(0,null,null,1,0,null,null,null,null,null),ei=Ca(null,qt,Vt,Mt,null,null,B,Ee,re,S);let di,mi;zr(ei);try{const Ti=function gh(p,m,C,y,M,S){const B=C[1];C[20]=p;const Ee=ws(B,20,2,"#host",null),Xe=Ee.mergedAttrs=m.hostAttrs;null!==Xe&&(co(Ee,Xe,!0),null!==p&&(ds(M,p,Xe),null!==Ee.classes&&Al(M,p,Ee.classes),null!==Ee.styles&&_u(M,p,Ee.styles)));const dt=y.createRenderer(p,m),Mt=Ca(C,ku(m),null,m.onPush?64:16,C[20],Ee,y,dt,S||null,null);return B.firstCreatePass&&(Ci(At(Ee,C),B,m.type),Wu(B,Ee),Yu(Ee,C.length,1)),lo(C,Mt),C[20]=Mt}(dt,this.componentDef,ei,B,Ee);if(dt)if(y)ds(Ee,dt,["ng-version",iv.full]);else{const{attrs:ii,classes:Pi}=function w_(p){const m=[],C=[];let y=1,M=2;for(;y0&&Al(Ee,dt,Pi.join(" "))}if(mi=ui(qt,20),void 0!==C){const ii=mi.projection=[];for(let Pi=0;PiEe(B,m)),m.contentQueries){const Ee=_i();m.contentQueries(1,B,Ee.directiveStart)}const re=_i();return!S.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(dr(re.index),Gu(C[1],re,0,re.directiveStart,re.directiveEnd,m),zu(m,B)),B}(Ti,this.componentDef,ei,Vt,[PA]),va(qt,ei,null)}finally{ns()}return new lv(this.componentType,di,Gs(mi,ei),ei,mi)}}class lv extends class YC{}{constructor(m,C,y,M,S){super(),this.location=y,this._rootLView=M,this._tNode=S,this.instance=C,this.hostView=this.changeDetectorRef=new nv(M),this.componentType=m}get injector(){return new ps(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class zs{}class ff{}const Ws=new Map;class _f extends zs{constructor(m,C){super(),this._parent=C,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hf(this);const y=hi(m);this._bootstrapComponents=xr(y.bootstrap),this._r3Injector=sh(m,C,[{provide:zs,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver}],v(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,C=or.THROW_IF_NOT_FOUND,y=V.Default){return m===or||m===zs||m===Fl?this:this._r3Injector.get(m,C,y)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(C=>C()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class Ic extends ff{constructor(m){super(),this.moduleType=m,null!==hi(m)&&function dv(p){const m=new Set;!function C(y){const M=hi(y,!0),S=M.id;null!==S&&(function mf(p,m,C){if(m&&m!==C)throw new Error(`Duplicate module registered for ${p} - ${v(m)} vs ${v(m.name)}`)}(S,Ws.get(S),y),Ws.set(S,y));const B=xr(M.imports);for(const re of B)m.has(re)||(m.add(re),C(re))}(p)}(m)}create(m){return new _f(this.moduleType,m)}}function Af(p,m,C){const y=Ei()+p,M=ri();return M[y]===Ni?Dr(M,y,C?m.call(C):m()):function ya(p,m){return p[m]}(M,y)}function bf(p,m,C,y){return Tf(ri(),Ei(),p,m,C,y)}function Cf(p,m,C,y,M){return Ef(ri(),Ei(),p,m,C,y,M)}function vf(p,m,C,y,M,S){return yf(ri(),Ei(),p,m,C,y,M,S)}function Ha(p,m){const C=p[m];return C===Ni?void 0:C}function Tf(p,m,C,y,M,S){const B=m+C;return Un(p,B,M)?Dr(p,B+1,S?y.call(S,M):y(M)):Ha(p,B+1)}function Ef(p,m,C,y,M,S,B){const re=m+C;return Jr(p,re,M,S)?Dr(p,re+2,B?y.call(B,M,S):y(M,S)):Ha(p,re+2)}function yf(p,m,C,y,M,S,B,re){const Ee=m+C;return ho(p,Ee,M,S,B)?Dr(p,Ee+3,re?y.call(re,M,S,B):y(M,S,B)):Ha(p,Ee+3)}function Mf(p,m){const C=ci();let y;const M=p+20;C.firstCreatePass?(y=function _v(p,m){if(m)for(let C=m.length-1;C>=0;C--){const y=m[C];if(p===y.name)return y}}(m,C.pipeRegistry),C.data[M]=y,y.onDestroy&&(C.destroyHooks||(C.destroyHooks=[])).push(M,y.onDestroy)):y=C.data[M];const S=y.factory||(y.factory=yn(y.type)),B=O(wa);try{const re=ra(!1),Ee=S();return ra(re),function jA(p,m,C,y){C>=p.data.length&&(p.data[C]=null,p.blueprint[C]=null),m[C]=y}(C,ri(),M,Ee),Ee}finally{O(B)}}function Sf(p,m,C){const y=p+20,M=ri(),S=fi(M,y);return La(M,y)?Tf(M,Ei(),m,S.transform,C,S):S.transform(C)}function Df(p,m,C,y){const M=p+20,S=ri(),B=fi(S,M);return La(S,M)?Ef(S,Ei(),m,B.transform,C,y,B):B.transform(C,y)}function Pf(p,m,C,y,M){const S=p+20,B=ri(),re=fi(B,S);return La(B,S)?yf(B,Ei(),m,re.transform,C,y,M,re):re.transform(C,y,M)}function La(p,m){return p[1].data[m].pure}function Oc(p){return m=>{setTimeout(p,void 0,m)}}const Ir=class Cv extends e.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,C,y){var M,S,B;let re=m,Ee=C||(()=>null),Xe=y;if(m&&"object"==typeof m){const Mt=m;re=null===(M=Mt.next)||void 0===M?void 0:M.bind(Mt),Ee=null===(S=Mt.error)||void 0===S?void 0:S.bind(Mt),Xe=null===(B=Mt.complete)||void 0===B?void 0:B.bind(Mt)}this.__isAsync&&(Ee=Oc(Ee),re&&(re=Oc(re)),Xe&&(Xe=Oc(Xe)));const dt=super.subscribe({next:re,error:Ee,complete:Xe});return m instanceof c.w0&&m.add(dt),dt}};function vv(){return this._results[Ps()]()}class Eo{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const C=Ps(),y=Eo.prototype;y[C]||(y[C]=vv)}get changes(){return this._changes||(this._changes=new Ir)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,C){return this._results.reduce(m,C)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,C){const y=this;y.dirty=!1;const M=ar(m);(this._changesDetected=!function Lm(p,m,C){if(p.length!==m.length)return!1;for(let y=0;y{class p{}return p.__NG_ELEMENT_ID__=yv,p})();const Tv=Ba,Ev=class extends Tv{constructor(m,C,y){super(),this._declarationLView=m,this._declarationTContainer=C,this.elementRef=y}createEmbeddedView(m){const C=this._declarationTContainer.tViews,y=Ca(this._declarationLView,C,m,16,null,C.declTNode,null,null,null,null);y[17]=this._declarationLView[this._declarationTContainer.index];const S=this._declarationLView[19];return null!==S&&(y[19]=S.createEmbeddedView(C)),va(C,y,m),new Oa(y)}};function yv(){return yo(_i(),ri())}function yo(p,m){return 4&p.type?new Ev(m,p,Gs(p,m)):null}let wo=(()=>{class p{}return p.__NG_ELEMENT_ID__=wv,p})();function wv(){return Of(_i(),ri())}const xv=wo,Rf=class extends xv{constructor(m,C,y){super(),this._lContainer=m,this._hostTNode=C,this._hostLView=y}get element(){return Gs(this._hostTNode,this._hostLView)}get injector(){return new ps(this._hostTNode,this._hostLView)}get parentInjector(){const m=Xt(this._hostTNode,this._hostLView);if(hs(m)){const C=Lr(m,this._hostLView),y=Ur(m);return new ps(C[1].data[y+8],C)}return new ps(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const C=If(this._lContainer);return null!==C&&C[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,C,y){const M=m.createEmbeddedView(C||{});return this.insert(M,y),M}createComponent(m,C,y,M,S){const B=m&&!function aa(p){return"function"==typeof p}(m);let re;if(B)re=C;else{const Mt=C||{};re=Mt.index,y=Mt.injector,M=Mt.projectableNodes,S=Mt.ngModuleRef}const Ee=B?m:new Rc(Ht(m)),Xe=y||this.parentInjector;if(!S&&null==Ee.ngModule&&Xe){const Mt=Xe.get(zs,null);Mt&&(S=Mt)}const dt=Ee.create(Xe,M,void 0,S);return this.insert(dt.hostView,re),dt}insert(m,C){const y=m._lView,M=y[1];if(function ke(p){return sn(p[3])}(y)){const dt=this.indexOf(m);if(-1!==dt)this.detach(dt);else{const Mt=y[3],Vt=new Rf(Mt,Mt[6],Mt[3]);Vt.detach(Vt.indexOf(m))}}const S=this._adjustIndex(C),B=this._lContainer;!function a_(p,m,C,y){const M=10+y,S=C.length;y>0&&(C[M-1][4]=m),y0)y.push(B[re/2]);else{const Xe=S[re+1],dt=m[-Ee];for(let Mt=10;Mt{class p{constructor(C){this.appInits=C,this.resolve=So,this.reject=So,this.initialized=!1,this.done=!1,this.donePromise=new Promise((y,M)=>{this.resolve=y,this.reject=M})}runInitializers(){if(this.initialized)return;const C=[],y=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let M=0;M{S.subscribe({complete:re,error:Ee})});C.push(B)}}Promise.all(C).then(()=>{y()}).catch(M=>{this.reject(M)}),0===C.length&&y(),this.initialized=!0}}return p.\u0275fac=function(C){return new(C||p)(In(zc,8))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const am=new gn("AppId"),Kv={provide:am,useFactory:function $v(){return`${Wc()}${Wc()}${Wc()}`},deps:[]};function Wc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const om=new gn("Platform Initializer"),lm=new gn("Platform ID"),cm=new gn("appBootstrapListener");let dm=(()=>{class p{log(C){console.log(C)}warn(C){console.warn(C)}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const Do=new gn("LocaleId"),um=new gn("DefaultCurrencyCode");class Xv{constructor(m,C){this.ngModuleFactory=m,this.componentFactories=C}}let Yc=(()=>{class p{compileModuleSync(C){return new Ic(C)}compileModuleAsync(C){return Promise.resolve(this.compileModuleSync(C))}compileModuleAndAllComponentsSync(C){const y=this.compileModuleSync(C),S=xr(hi(C).declarations).reduce((B,re)=>{const Ee=Ht(re);return Ee&&B.push(new Rc(Ee)),B},[]);return new Xv(y,S)}compileModuleAndAllComponentsAsync(C){return Promise.resolve(this.compileModuleAndAllComponentsSync(C))}clearCache(){}clearCacheFor(C){}getModuleId(C){}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const tT=(()=>Promise.resolve(0))();function qc(p){"undefined"==typeof Zone?tT.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class tr{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:C=!1,shouldCoalesceRunChangeDetection:y=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ir(!1),this.onMicrotaskEmpty=new Ir(!1),this.onStable=new Ir(!1),this.onError=new Ir(!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)),m&&Zone.longStackTraceZoneSpec&&(M._inner=M._inner.fork(Zone.longStackTraceZoneSpec)),M.shouldCoalesceEventChangeDetection=!y&&C,M.shouldCoalesceRunChangeDetection=y,M.lastRequestAnimationFrameId=-1,M.nativeRequestAnimationFrame=function iT(){let p=x.requestAnimationFrame,m=x.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const C=p[Zone.__symbol__("OriginalDelegate")];C&&(p=C);const y=m[Zone.__symbol__("OriginalDelegate")];y&&(m=y)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function sT(p){const m=()=>{!function rT(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(x,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Qc(p),p.isCheckStableRunning=!0,Jc(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Qc(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(C,y,M,S,B,re)=>{try{return hm(p),C.invokeTask(M,S,B,re)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||p.shouldCoalesceRunChangeDetection)&&m(),pm(p)}},onInvoke:(C,y,M,S,B,re,Ee)=>{try{return hm(p),C.invoke(M,S,B,re,Ee)}finally{p.shouldCoalesceRunChangeDetection&&m(),pm(p)}},onHasTask:(C,y,M,S)=>{C.hasTask(M,S),y===M&&("microTask"==S.change?(p._hasPendingMicrotasks=S.microTask,Qc(p),Jc(p)):"macroTask"==S.change&&(p.hasPendingMacrotasks=S.macroTask))},onHandleError:(C,y,M,S)=>(C.handleError(M,S),p.runOutsideAngular(()=>p.onError.emit(S)),!1)})}(M)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!tr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(tr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,C,y){return this._inner.run(m,C,y)}runTask(m,C,y,M){const S=this._inner,B=S.scheduleEventTask("NgZoneEvent: "+M,m,nT,So,So);try{return S.runTask(B,C,y)}finally{S.cancelTask(B)}}runGuarded(m,C,y){return this._inner.runGuarded(m,C,y)}runOutsideAngular(m){return this._outer.run(m)}}const nT={};function Jc(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Qc(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function hm(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function pm(p){p._nesting--,Jc(p)}class aT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ir,this.onMicrotaskEmpty=new Ir,this.onStable=new Ir,this.onError=new Ir}run(m,C,y){return m.apply(C,y)}runGuarded(m,C,y){return m.apply(C,y)}runOutsideAngular(m){return m()}runTask(m,C,y,M){return m.apply(C,y)}}let fm=(()=>{class p{constructor(C){this._ngZone=C,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),C.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:()=>{tr.assertNotInAngularZone(),qc(()=>{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())qc(()=>{for(;0!==this._callbacks.length;){let C=this._callbacks.pop();clearTimeout(C.timeoutId),C.doneCb(this._didWork)}this._didWork=!1});else{let C=this.getPendingTasks();this._callbacks=this._callbacks.filter(y=>!y.updateCb||!y.updateCb(C)||(clearTimeout(y.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(C=>({source:C.source,creationLocation:C.creationLocation,data:C.data})):[]}addCallback(C,y,M){let S=-1;y&&y>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(B=>B.timeoutId!==S),C(this._didWork,this.getPendingTasks())},y)),this._callbacks.push({doneCb:C,timeoutId:S,updateCb:M})}whenStable(C,y,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(C,y,M),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(C,y,M){return[]}}return p.\u0275fac=function(C){return new(C||p)(In(tr))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})(),mm=(()=>{class p{constructor(){this._applications=new Map,$c.addToWindow(this)}registerApplication(C,y){this._applications.set(C,y)}unregisterApplication(C){this._applications.delete(C)}unregisterAllApplications(){this._applications.clear()}getTestability(C){return this._applications.get(C)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(C,y=!0){return $c.findTestabilityInTree(this,C,y)}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();class oT{addToWindow(m){}findTestabilityInTree(m,C,y){return null}}function lT(p){$c=p}let vr,$c=new oT;const gm=new gn("AllowMultipleToken");class uT{constructor(m,C){this.name=m,this.token=C}}function _m(p,m,C=[]){const y=`Platform: ${m}`,M=new gn(y);return(S=[])=>{let B=Am();if(!B||B.injector.get(gm,!1))if(p)p(C.concat(S).concat({provide:M,useValue:!0}));else{const re=C.concat(S).concat({provide:M,useValue:!0},{provide:Ul,useValue:"platform"});!function hT(p){if(vr&&!vr.destroyed&&!vr.injector.get(gm,!1))throw new Q(400,"");vr=p.get(bm);const m=p.get(om,null);m&&m.forEach(C=>C())}(or.create({providers:re,name:y}))}return function pT(p){const m=Am();if(!m)throw new Q(401,"");return m}()}}function Am(){return vr&&!vr.destroyed?vr:null}let bm=(()=>{class p{constructor(C){this._injector=C,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(C,y){const re=function fT(p,m){let C;return C="noop"===p?new aT:("zone.js"===p?void 0:p)||new tr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),C}(y?y.ngZone:void 0,{ngZoneEventCoalescing:y&&y.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:y&&y.ngZoneRunCoalescing||!1}),Ee=[{provide:tr,useValue:re}];return re.run(()=>{const Xe=or.create({providers:Ee,parent:this.injector,name:C.moduleType.name}),dt=C.create(Xe),Mt=dt.injector.get(_a,null);if(!Mt)throw new Q(402,"");return re.runOutsideAngular(()=>{const Vt=re.onError.subscribe({next:qt=>{Mt.handleError(qt)}});dt.onDestroy(()=>{Kc(this._modules,dt),Vt.unsubscribe()})}),function mT(p,m,C){try{const y=C();return oc(y)?y.catch(M=>{throw m.runOutsideAngular(()=>p.handleError(M)),M}):y}catch(y){throw m.runOutsideAngular(()=>p.handleError(y)),y}}(Mt,re,()=>{const Vt=dt.injector.get(qs);return Vt.runInitializers(),Vt.donePromise.then(()=>(function Kb(p){P(p,"Expected localeId to be defined"),"string"==typeof p&&(Lp=p.toLowerCase().replace(/_/g,"-"))}(dt.injector.get(Do,_o)||_o),this._moduleDoBootstrap(dt),dt))})})}bootstrapModule(C,y=[]){const M=Cm({},y);return function cT(p,m,C){const y=new Ic(C);return Promise.resolve(y)}(0,0,C).then(S=>this.bootstrapModuleFactory(S,M))}_moduleDoBootstrap(C){const y=C.injector.get(ka);if(C._bootstrapComponents.length>0)C._bootstrapComponents.forEach(M=>y.bootstrap(M));else{if(!C.instance.ngDoBootstrap)throw new Q(403,"");C.instance.ngDoBootstrap(y)}this._modules.push(C)}onDestroy(C){this._destroyListeners.push(C)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Q(404,"");this._modules.slice().forEach(C=>C.destroy()),this._destroyListeners.forEach(C=>C()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(C){return new(C||p)(In(or))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();function Cm(p,m){return Array.isArray(m)?m.reduce(Cm,p):Object.assign(Object.assign({},p),m)}let ka=(()=>{class p{constructor(C,y,M,S,B){this._zone=C,this._injector=y,this._exceptionHandler=M,this._componentFactoryResolver=S,this._initStatus=B,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 re=new g.y(Xe=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Xe.next(this._stable),Xe.complete()})}),Ee=new g.y(Xe=>{let dt;this._zone.runOutsideAngular(()=>{dt=this._zone.onStable.subscribe(()=>{tr.assertNotInAngularZone(),qc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Xe.next(!0))})})});const Mt=this._zone.onUnstable.subscribe(()=>{tr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Xe.next(!1)}))});return()=>{dt.unsubscribe(),Mt.unsubscribe()}});this.isStable=(0,w.T)(re,Ee.pipe((0,_.B)()))}bootstrap(C,y){if(!this._initStatus.done)throw new Q(405,"");let M;M=C instanceof lf?C:this._componentFactoryResolver.resolveComponentFactory(C),this.componentTypes.push(M.componentType);const S=function dT(p){return p.isBoundToModule}(M)?void 0:this._injector.get(zs),re=M.create(or.NULL,[],y||M.selector,S),Ee=re.location.nativeElement,Xe=re.injector.get(fm,null),dt=Xe&&re.injector.get(mm);return Xe&&dt&&dt.registerApplication(Ee,Xe),re.onDestroy(()=>{this.detachView(re.hostView),Kc(this.components,re),dt&&dt.unregisterApplication(Ee)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new Q(101,"");try{this._runningTick=!0;for(let C of this._views)C.detectChanges()}catch(C){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(C))}finally{this._runningTick=!1}}attachView(C){const y=C;this._views.push(y),y.attachToAppRef(this)}detachView(C){const y=C;Kc(this._views,y),y.detachFromAppRef()}_loadComponent(C){this.attachView(C.hostView),this.tick(),this.components.push(C),this._injector.get(cm,[]).concat(this._bootstrapListeners).forEach(M=>M(C))}ngOnDestroy(){this._views.slice().forEach(C=>C.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(C){return new(C||p)(In(tr),In(or),In(_a),In(Ra),In(qs))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();function Kc(p,m){const C=p.indexOf(m);C>-1&&p.splice(C,1)}let Tm=!0;function _T(){Tm=!1}let AT=(()=>{class p{}return p.__NG_ELEMENT_ID__=bT,p})();function bT(p){return function CT(p,m,C){if(On(p)&&!C){const y=Ai(p.index,m);return new Oa(y,y)}return 47&p.type?new Oa(m[16],m):null}(_i(),ri(),16==(16&p))}class Mm{constructor(){}supports(m){return Ea(m)}create(m){return new xT(m)}}const wT=(p,m)=>m;class xT{constructor(m){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=m||wT}forEachItem(m){let C;for(C=this._itHead;null!==C;C=C._next)m(C)}forEachOperation(m){let C=this._itHead,y=this._removalsHead,M=0,S=null;for(;C||y;){const B=!y||C&&C.currentIndex{B=this._trackByFn(M,re),null!==C&&Object.is(C.trackById,B)?(y&&(C=this._verifyReinsertion(C,re,B,M)),Object.is(C.item,re)||this._addIdentityChange(C,re)):(C=this._mismatch(C,re,B,M),y=!0),C=C._next,M++}),this.length=M;return this._truncate(C),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,C,y,M){let S;return null===m?S=this._itTail:(S=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null))?(Object.is(m.item,C)||this._addIdentityChange(m,C),this._reinsertAfter(m,S,M)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(y,M))?(Object.is(m.item,C)||this._addIdentityChange(m,C),this._moveAfter(m,S,M)):m=this._addAfter(new MT(C,y),S,M),m}_verifyReinsertion(m,C,y,M){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null);return null!==S?m=this._reinsertAfter(S,m._prev,M):m.currentIndex!=M&&(m.currentIndex=M,this._addToMoves(m,M)),m}_truncate(m){for(;null!==m;){const C=m._next;this._addToRemovals(this._unlink(m)),m=C}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(m,C,y){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const M=m._prevRemoved,S=m._nextRemoved;return null===M?this._removalsHead=S:M._nextRemoved=S,null===S?this._removalsTail=M:S._prevRemoved=M,this._insertAfter(m,C,y),this._addToMoves(m,y),m}_moveAfter(m,C,y){return this._unlink(m),this._insertAfter(m,C,y),this._addToMoves(m,y),m}_addAfter(m,C,y){return this._insertAfter(m,C,y),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,C,y){const M=null===C?this._itHead:C._next;return m._next=M,m._prev=C,null===M?this._itTail=m:M._prev=m,null===C?this._itHead=m:C._next=m,null===this._linkedRecords&&(this._linkedRecords=new Sm),this._linkedRecords.put(m),m.currentIndex=y,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const C=m._prev,y=m._next;return null===C?this._itHead=y:C._next=y,null===y?this._itTail=C:y._prev=C,m}_addToMoves(m,C){return m.previousIndex===C||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sm),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,C){return m.item=C,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class MT{constructor(m,C){this.item=m,this.trackById=C,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 ST{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,C){let y;for(y=this._head;null!==y;y=y._nextDup)if((null===C||C<=y.currentIndex)&&Object.is(y.trackById,m))return y;return null}remove(m){const C=m._prevDup,y=m._nextDup;return null===C?this._head=y:C._nextDup=y,null===y?this._tail=C:y._prevDup=C,null===this._head}}class Sm{constructor(){this.map=new Map}put(m){const C=m.trackById;let y=this.map.get(C);y||(y=new ST,this.map.set(C,y)),y.add(m)}get(m,C){const M=this.map.get(m);return M?M.get(m,C):null}remove(m){const C=m.trackById;return this.map.get(C).remove(m)&&this.map.delete(C),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Dm(p,m,C){const y=p.previousIndex;if(null===y)return y;let M=0;return C&&y{if(C&&C.key===M)this._maybeAddToChanges(C,y),this._appendAfter=C,C=C._next;else{const S=this._getOrCreateRecordForKey(M,y);C=this._insertBeforeOrAppend(C,S)}}),C){C._prev&&(C._prev._next=null),this._removalsHead=C;for(let y=C;null!==y;y=y._nextRemoved)y===this._mapHead&&(this._mapHead=null),this._records.delete(y.key),y._nextRemoved=y._next,y.previousValue=y.currentValue,y.currentValue=null,y._prev=null,y._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,C){if(m){const y=m._prev;return C._next=m,C._prev=y,m._prev=C,y&&(y._next=C),m===this._mapHead&&(this._mapHead=C),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=C,C._prev=this._appendAfter):this._mapHead=C,this._appendAfter=C,null}_getOrCreateRecordForKey(m,C){if(this._records.has(m)){const M=this._records.get(m);this._maybeAddToChanges(M,C);const S=M._prev,B=M._next;return S&&(S._next=B),B&&(B._prev=S),M._next=null,M._prev=null,M}const y=new PT(m);return this._records.set(m,y),y.currentValue=C,this._addToAdditions(y),y}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,C){Object.is(C,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=C,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,C){m instanceof Map?m.forEach(C):Object.keys(m).forEach(y=>C(m[y],y))}}class PT{constructor(m){this.key=m,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 Rm(){return new Io([new Mm])}let Io=(()=>{class p{constructor(C){this.factories=C}static create(C,y){if(null!=y){const M=y.factories.slice();C=C.concat(M)}return new p(C)}static extend(C){return{provide:p,useFactory:y=>p.create(C,y||Rm()),deps:[[p,new bs,new Wr]]}}find(C){const y=this.factories.find(M=>M.supports(C));if(null!=y)return y;throw new Q(901,"")}}return p.\u0275prov=fe({token:p,providedIn:"root",factory:Rm}),p})();function Im(){return new Oo([new Pm])}let Oo=(()=>{class p{constructor(C){this.factories=C}static create(C,y){if(y){const M=y.factories.slice();C=C.concat(M)}return new p(C)}static extend(C){return{provide:p,useFactory:y=>p.create(C,y||Im()),deps:[[p,new bs,new Wr]]}}find(C){const y=this.factories.find(S=>S.supports(C));if(y)return y;throw new Q(901,"")}}return p.\u0275prov=fe({token:p,providedIn:"root",factory:Im}),p})();const RT=[new Pm],OT=new Io([new Mm]),HT=new Oo(RT),LT=_m(null,"core",[{provide:lm,useValue:"unknown"},{provide:bm,deps:[or]},{provide:mm,deps:[]},{provide:dm,deps:[]}]),FT=[{provide:ka,useClass:ka,deps:[tr,or,_a,Ra,qs]},{provide:sv,deps:[tr],useFactory:function UT(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(C){m.push(C)}}},{provide:qs,useClass:qs,deps:[[new Wr,zc]]},{provide:Yc,useClass:Yc,deps:[]},Kv,{provide:Io,useFactory:function BT(){return OT},deps:[]},{provide:Oo,useFactory:function NT(){return HT},deps:[]},{provide:Do,useFactory:function kT(p){return p||function VT(){return"undefined"!=typeof $localize&&$localize.locale||_o}()},deps:[[new ua(Do),new Wr,new bs]]},{provide:um,useValue:"USD"}];let jT=(()=>{class p{constructor(C){}}return p.\u0275fac=function(C){return new(C||p)(In(ka))},p.\u0275mod=Tt({type:p}),p.\u0275inj=ne({providers:FT}),p})()},93075:(qe,me,h)=>{"use strict";h.d(me,{Zs:()=>k,Fj:()=>G,qu:()=>Mi,NI:()=>Dt,oH:()=>Je,u:()=>nr,sg:()=>Gt,u5:()=>ui,Cf:()=>F,JU:()=>v,a5:()=>_e,JJ:()=>V,JL:()=>H,F:()=>zi,On:()=>sn,YN:()=>rr,wV:()=>un,c5:()=>et,UX:()=>fi,Q7:()=>gt,EJ:()=>En,kI:()=>ye,_Y:()=>An,Kr:()=>Rn});var e=h(5e3),c=h(69808),g=h(32076),w=h(4128),_=h(54004);let b=(()=>{class ke{constructor(we,ht){this._renderer=we,this._elementRef=ht,this.onChange=Zt=>{},this.onTouched=()=>{}}setProperty(we,ht){this._renderer.setProperty(this._elementRef.nativeElement,we,ht)}registerOnTouched(we){this.onTouched=we}registerOnChange(we){this.onChange=we}setDisabledState(we){this.setProperty("disabled",we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.Qsj),e.Y36(e.SBq))},ke.\u0275dir=e.lG2({type:ke}),ke})(),E=(()=>{class ke extends b{}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,features:[e.qOj]}),ke})();const v=new e.OlP("NgValueAccessor"),A={provide:v,useExisting:(0,e.Gpc)(()=>G),multi:!0},j=new e.OlP("CompositionEventMode");let G=(()=>{class ke extends b{constructor(we,ht,Zt){super(we,ht),this._compositionMode=Zt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function q(){const ke=(0,c.q)()?(0,c.q)().getUserAgent():"";return/android (\d+)/.test(ke.toLowerCase())}())}writeValue(we){this.setProperty("value",null==we?"":we)}_handleInput(we){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(we)}_compositionStart(){this._composing=!0}_compositionEnd(we){this._composing=!1,this._compositionMode&&this.onChange(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(j,8))},ke.\u0275dir=e.lG2({type:ke,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(we,ht){1&we&&e.NdJ("input",function(pi){return ht._handleInput(pi.target.value)})("blur",function(){return ht.onTouched()})("compositionstart",function(){return ht._compositionStart()})("compositionend",function(pi){return ht._compositionEnd(pi.target.value)})},features:[e._Bn([A]),e.qOj]}),ke})();function Q(ke){return null==ke||0===ke.length}function he(ke){return null!=ke&&"number"==typeof ke.length}const F=new e.OlP("NgValidators"),be=new e.OlP("NgAsyncValidators"),pe=/^(?=.{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 ye{static min(De){return function T(ke){return De=>{if(Q(De.value)||Q(ke))return null;const we=parseFloat(De.value);return!isNaN(we)&&we{if(Q(De.value)||Q(ke))return null;const we=parseFloat(De.value);return!isNaN(we)&&we>ke?{max:{max:ke,actual:De.value}}:null}}(De)}static required(De){return L(De)}static requiredTrue(De){return X(De)}static email(De){return function Y(ke){return Q(ke.value)||pe.test(ke.value)?null:{email:!0}}(De)}static minLength(De){return function se(ke){return De=>Q(De.value)||!he(De.value)?null:De.value.lengthhe(De.value)&&De.value.length>ke?{maxlength:{requiredLength:ke,actualLength:De.value.length}}:null}(De)}static pattern(De){return Oe(De)}static nullValidator(De){return null}static compose(De){return P(De)}static composeAsync(De){return Ce(De)}}function L(ke){return Q(ke.value)?{required:!0}:null}function X(ke){return!0===ke.value?null:{required:!0}}function Oe(ke){if(!ke)return Se;let De,we;return"string"==typeof ke?(we="","^"!==ke.charAt(0)&&(we+="^"),we+=ke,"$"!==ke.charAt(ke.length-1)&&(we+="$"),De=new RegExp(we)):(we=ke.toString(),De=ke),ht=>{if(Q(ht.value))return null;const Zt=ht.value;return De.test(Zt)?null:{pattern:{requiredPattern:we,actualValue:Zt}}}}function Se(ke){return null}function We(ke){return null!=ke}function ge(ke){const De=(0,e.QGY)(ke)?(0,g.D)(ke):ke;return(0,e.CqO)(De),De}function Le(ke){let De={};return ke.forEach(we=>{De=null!=we?Object.assign(Object.assign({},De),we):De}),0===Object.keys(De).length?null:De}function ue(ke,De){return De.map(we=>we(ke))}function z(ke){return ke.map(De=>function Me(ke){return!ke.validate}(De)?De:we=>De.validate(we))}function P(ke){if(!ke)return null;const De=ke.filter(We);return 0==De.length?null:function(we){return Le(ue(we,De))}}function de(ke){return null!=ke?P(z(ke)):null}function Ce(ke){if(!ke)return null;const De=ke.filter(We);return 0==De.length?null:function(we){const ht=ue(we,De).map(ge);return(0,w.D)(ht).pipe((0,_.U)(Le))}}function Pe(ke){return null!=ke?Ce(z(ke)):null}function ce(ke,De){return null===ke?[De]:Array.isArray(ke)?[...ke,De]:[ke,De]}function fe(ke){return ke._rawValidators}function Ze(ke){return ke._rawAsyncValidators}function ne(ke){return ke?Array.isArray(ke)?ke:[ke]:[]}function it(ke,De){return Array.isArray(ke)?ke.includes(De):ke===De}function Be(ke,De){const we=ne(De);return ne(ke).forEach(Zt=>{it(we,Zt)||we.push(Zt)}),we}function ze(ke,De){return ne(De).filter(we=>!it(ke,we))}class Ue{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(De){this._rawValidators=De||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(De){this._rawAsyncValidators=De||[],this._composedAsyncValidatorFn=Pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(De){this._onDestroyCallbacks.push(De)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(De=>De()),this._onDestroyCallbacks=[]}reset(De){this.control&&this.control.reset(De)}hasError(De,we){return!!this.control&&this.control.hasError(De,we)}getError(De,we){return this.control?this.control.getError(De,we):null}}class _e extends Ue{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ae extends Ue{get formDirective(){return null}get path(){return null}}class Ae{constructor(De){this._cd=De}is(De){var we,ht,Zt;return"submitted"===De?!!(null===(we=this._cd)||void 0===we?void 0:we.submitted):!!(null===(Zt=null===(ht=this._cd)||void 0===ht?void 0:ht.control)||void 0===Zt?void 0:Zt[De])}}let V=(()=>{class ke extends Ae{constructor(we){super(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(_e,2))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(we,ht){2&we&&e.ekj("ng-untouched",ht.is("untouched"))("ng-touched",ht.is("touched"))("ng-pristine",ht.is("pristine"))("ng-dirty",ht.is("dirty"))("ng-valid",ht.is("valid"))("ng-invalid",ht.is("invalid"))("ng-pending",ht.is("pending"))},features:[e.qOj]}),ke})(),H=(()=>{class ke extends Ae{constructor(we){super(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(we,ht){2&we&&e.ekj("ng-untouched",ht.is("untouched"))("ng-touched",ht.is("touched"))("ng-pristine",ht.is("pristine"))("ng-dirty",ht.is("dirty"))("ng-valid",ht.is("valid"))("ng-invalid",ht.is("invalid"))("ng-pending",ht.is("pending"))("ng-submitted",ht.is("submitted"))},features:[e.qOj]}),ke})();function jt(ke,De){return[...De.path,ke]}function bt(ke,De){He(ke,De),De.valueAccessor.writeValue(ke.value),function Z(ke,De){De.valueAccessor.registerOnChange(we=>{ke._pendingValue=we,ke._pendingChange=!0,ke._pendingDirty=!0,"change"===ke.updateOn&&oe(ke,De)})}(ke,De),function nt(ke,De){const we=(ht,Zt)=>{De.valueAccessor.writeValue(ht),Zt&&De.viewToModelUpdate(ht)};ke.registerOnChange(we),De._registerOnDestroy(()=>{ke._unregisterOnChange(we)})}(ke,De),function $(ke,De){De.valueAccessor.registerOnTouched(()=>{ke._pendingTouched=!0,"blur"===ke.updateOn&&ke._pendingChange&&oe(ke,De),"submit"!==ke.updateOn&&ke.markAsTouched()})}(ke,De),function Nt(ke,De){if(De.valueAccessor.setDisabledState){const we=ht=>{De.valueAccessor.setDisabledState(ht)};ke.registerOnDisabledChange(we),De._registerOnDestroy(()=>{ke._unregisterOnDisabledChange(we)})}}(ke,De)}function Yt(ke,De,we=!0){const ht=()=>{};De.valueAccessor&&(De.valueAccessor.registerOnChange(ht),De.valueAccessor.registerOnTouched(ht)),je(ke,De),ke&&(De._invokeOnDestroyCallbacks(),ke._registerOnCollectionChange(()=>{}))}function Ct(ke,De){ke.forEach(we=>{we.registerOnValidatorChange&&we.registerOnValidatorChange(De)})}function He(ke,De){const we=fe(ke);null!==De.validator?ke.setValidators(ce(we,De.validator)):"function"==typeof we&&ke.setValidators([we]);const ht=Ze(ke);null!==De.asyncValidator?ke.setAsyncValidators(ce(ht,De.asyncValidator)):"function"==typeof ht&&ke.setAsyncValidators([ht]);const Zt=()=>ke.updateValueAndValidity();Ct(De._rawValidators,Zt),Ct(De._rawAsyncValidators,Zt)}function je(ke,De){let we=!1;if(null!==ke){if(null!==De.validator){const Zt=fe(ke);if(Array.isArray(Zt)&&Zt.length>0){const pi=Zt.filter(ki=>ki!==De.validator);pi.length!==Zt.length&&(we=!0,ke.setValidators(pi))}}if(null!==De.asyncValidator){const Zt=Ze(ke);if(Array.isArray(Zt)&&Zt.length>0){const pi=Zt.filter(ki=>ki!==De.asyncValidator);pi.length!==Zt.length&&(we=!0,ke.setAsyncValidators(pi))}}}const ht=()=>{};return Ct(De._rawValidators,ht),Ct(De._rawAsyncValidators,ht),we}function oe(ke,De){ke._pendingDirty&&ke.markAsDirty(),ke.setValue(ke._pendingValue,{emitModelToViewChange:!1}),De.viewToModelUpdate(ke._pendingValue),ke._pendingChange=!1}function ct(ke,De){He(ke,De)}function ot(ke,De){if(!ke.hasOwnProperty("model"))return!1;const we=ke.model;return!!we.isFirstChange()||!Object.is(De,we.currentValue)}function lt(ke,De){ke._syncPendingControls(),De.forEach(we=>{const ht=we.control;"submit"===ht.updateOn&&ht._pendingChange&&(we.viewToModelUpdate(ht._pendingValue),ht._pendingChange=!1)})}function ut(ke,De){if(!De)return null;let we,ht,Zt;return Array.isArray(De),De.forEach(pi=>{pi.constructor===G?we=pi:function rt(ke){return Object.getPrototypeOf(ke.constructor)===E}(pi)?ht=pi:Zt=pi}),Zt||ht||we||null}function Ht(ke,De){const we=ke.indexOf(De);we>-1&&ke.splice(we,1)}const hi="VALID",gi="INVALID",xi="PENDING",ji="DISABLED";function qi(ke){return($e(ke)?ke.validators:ke)||null}function Lt(ke){return Array.isArray(ke)?de(ke):ke||null}function oi(ke,De){return($e(De)?De.asyncValidators:ke)||null}function Pt(ke){return Array.isArray(ke)?Pe(ke):ke||null}function $e(ke){return null!=ke&&!Array.isArray(ke)&&"object"==typeof ke}const vt=ke=>ke instanceof Dt,at=ke=>ke instanceof ti,Qe=ke=>ke instanceof si;function yt(ke){return vt(ke)?ke.value:ke.getRawValue()}function U(ke,De){const we=at(ke),ht=ke.controls;if(!(we?Object.keys(ht):ht).length)throw new e.vHH(1e3,"");if(!ht[De])throw new e.vHH(1001,"")}function Ge(ke,De){at(ke),ke._forEachChild((ht,Zt)=>{if(void 0===De[Zt])throw new e.vHH(1002,"")})}class _t{constructor(De,we){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=De,this._rawAsyncValidators=we,this._composedValidatorFn=Lt(this._rawValidators),this._composedAsyncValidatorFn=Pt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(De){this._rawValidators=this._composedValidatorFn=De}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(De){this._rawAsyncValidators=this._composedAsyncValidatorFn=De}get parent(){return this._parent}get valid(){return this.status===hi}get invalid(){return this.status===gi}get pending(){return this.status==xi}get disabled(){return this.status===ji}get enabled(){return this.status!==ji}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(De){this._rawValidators=De,this._composedValidatorFn=Lt(De)}setAsyncValidators(De){this._rawAsyncValidators=De,this._composedAsyncValidatorFn=Pt(De)}addValidators(De){this.setValidators(Be(De,this._rawValidators))}addAsyncValidators(De){this.setAsyncValidators(Be(De,this._rawAsyncValidators))}removeValidators(De){this.setValidators(ze(De,this._rawValidators))}removeAsyncValidators(De){this.setAsyncValidators(ze(De,this._rawAsyncValidators))}hasValidator(De){return it(this._rawValidators,De)}hasAsyncValidator(De){return it(this._rawAsyncValidators,De)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(De={}){this.touched=!0,this._parent&&!De.onlySelf&&this._parent.markAsTouched(De)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(De=>De.markAllAsTouched())}markAsUntouched(De={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(we=>{we.markAsUntouched({onlySelf:!0})}),this._parent&&!De.onlySelf&&this._parent._updateTouched(De)}markAsDirty(De={}){this.pristine=!1,this._parent&&!De.onlySelf&&this._parent.markAsDirty(De)}markAsPristine(De={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(we=>{we.markAsPristine({onlySelf:!0})}),this._parent&&!De.onlySelf&&this._parent._updatePristine(De)}markAsPending(De={}){this.status=xi,!1!==De.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!De.onlySelf&&this._parent.markAsPending(De)}disable(De={}){const we=this._parentMarkedDirty(De.onlySelf);this.status=ji,this.errors=null,this._forEachChild(ht=>{ht.disable(Object.assign(Object.assign({},De),{onlySelf:!0}))}),this._updateValue(),!1!==De.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},De),{skipPristineCheck:we})),this._onDisabledChange.forEach(ht=>ht(!0))}enable(De={}){const we=this._parentMarkedDirty(De.onlySelf);this.status=hi,this._forEachChild(ht=>{ht.enable(Object.assign(Object.assign({},De),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:De.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},De),{skipPristineCheck:we})),this._onDisabledChange.forEach(ht=>ht(!1))}_updateAncestors(De){this._parent&&!De.onlySelf&&(this._parent.updateValueAndValidity(De),De.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(De){this._parent=De}updateValueAndValidity(De={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hi||this.status===xi)&&this._runAsyncValidator(De.emitEvent)),!1!==De.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!De.onlySelf&&this._parent.updateValueAndValidity(De)}_updateTreeValidity(De={emitEvent:!0}){this._forEachChild(we=>we._updateTreeValidity(De)),this.updateValueAndValidity({onlySelf:!0,emitEvent:De.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ji:hi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(De){if(this.asyncValidator){this.status=xi,this._hasOwnPendingAsyncValidator=!0;const we=ge(this.asyncValidator(this));this._asyncValidationSubscription=we.subscribe(ht=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ht,{emitEvent:De})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(De,we={}){this.errors=De,this._updateControlsErrors(!1!==we.emitEvent)}get(De){return function tn(ke,De,we){if(null==De||(Array.isArray(De)||(De=De.split(we)),Array.isArray(De)&&0===De.length))return null;let ht=ke;return De.forEach(Zt=>{ht=at(ht)?ht.controls.hasOwnProperty(Zt)?ht.controls[Zt]:null:Qe(ht)&&ht.at(Zt)||null}),ht}(this,De,".")}getError(De,we){const ht=we?this.get(we):this;return ht&&ht.errors?ht.errors[De]:null}hasError(De,we){return!!this.getError(De,we)}get root(){let De=this;for(;De._parent;)De=De._parent;return De}_updateControlsErrors(De){this.status=this._calculateStatus(),De&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(De)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?ji:this.errors?gi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xi)?xi:this._anyControlsHaveStatus(gi)?gi:hi}_anyControlsHaveStatus(De){return this._anyControls(we=>we.status===De)}_anyControlsDirty(){return this._anyControls(De=>De.dirty)}_anyControlsTouched(){return this._anyControls(De=>De.touched)}_updatePristine(De={}){this.pristine=!this._anyControlsDirty(),this._parent&&!De.onlySelf&&this._parent._updatePristine(De)}_updateTouched(De={}){this.touched=this._anyControlsTouched(),this._parent&&!De.onlySelf&&this._parent._updateTouched(De)}_isBoxedValue(De){return"object"==typeof De&&null!==De&&2===Object.keys(De).length&&"value"in De&&"disabled"in De}_registerOnCollectionChange(De){this._onCollectionChange=De}_setUpdateStrategy(De){$e(De)&&null!=De.updateOn&&(this._updateOn=De.updateOn)}_parentMarkedDirty(De){return!De&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Dt extends _t{constructor(De=null,we,ht){super(qi(we),oi(ht,we)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(De),this._setUpdateStrategy(we),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$e(we)&&we.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(De)?De.value:De)}setValue(De,we={}){this.value=this._pendingValue=De,this._onChange.length&&!1!==we.emitModelToViewChange&&this._onChange.forEach(ht=>ht(this.value,!1!==we.emitViewToModelChange)),this.updateValueAndValidity(we)}patchValue(De,we={}){this.setValue(De,we)}reset(De=this.defaultValue,we={}){this._applyFormState(De),this.markAsPristine(we),this.markAsUntouched(we),this.setValue(this.value,we),this._pendingChange=!1}_updateValue(){}_anyControls(De){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(De){this._onChange.push(De)}_unregisterOnChange(De){Ht(this._onChange,De)}registerOnDisabledChange(De){this._onDisabledChange.push(De)}_unregisterOnDisabledChange(De){Ht(this._onDisabledChange,De)}_forEachChild(De){}_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(De){this._isBoxedValue(De)?(this.value=this._pendingValue=De.value,De.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=De}}class ti extends _t{constructor(De,we,ht){super(qi(we),oi(ht,we)),this.controls=De,this._initObservables(),this._setUpdateStrategy(we),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(De,we){return this.controls[De]?this.controls[De]:(this.controls[De]=we,we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange),we)}addControl(De,we,ht={}){this.registerControl(De,we),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}removeControl(De,we={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),delete this.controls[De],this.updateValueAndValidity({emitEvent:we.emitEvent}),this._onCollectionChange()}setControl(De,we,ht={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),delete this.controls[De],we&&this.registerControl(De,we),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}contains(De){return this.controls.hasOwnProperty(De)&&this.controls[De].enabled}setValue(De,we={}){Ge(this,De),Object.keys(De).forEach(ht=>{U(this,ht),this.controls[ht].setValue(De[ht],{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we)}patchValue(De,we={}){null!=De&&(Object.keys(De).forEach(ht=>{this.controls[ht]&&this.controls[ht].patchValue(De[ht],{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we))}reset(De={},we={}){this._forEachChild((ht,Zt)=>{ht.reset(De[Zt],{onlySelf:!0,emitEvent:we.emitEvent})}),this._updatePristine(we),this._updateTouched(we),this.updateValueAndValidity(we)}getRawValue(){return this._reduceChildren({},(De,we,ht)=>(De[ht]=yt(we),De))}_syncPendingControls(){let De=this._reduceChildren(!1,(we,ht)=>!!ht._syncPendingControls()||we);return De&&this.updateValueAndValidity({onlySelf:!0}),De}_forEachChild(De){Object.keys(this.controls).forEach(we=>{const ht=this.controls[we];ht&&De(ht,we)})}_setUpControls(){this._forEachChild(De=>{De.setParent(this),De._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(De){for(const we of Object.keys(this.controls)){const ht=this.controls[we];if(this.contains(we)&&De(ht))return!0}return!1}_reduceValue(){return this._reduceChildren({},(De,we,ht)=>((we.enabled||this.disabled)&&(De[ht]=we.value),De))}_reduceChildren(De,we){let ht=De;return this._forEachChild((Zt,pi)=>{ht=we(ht,Zt,pi)}),ht}_allControlsDisabled(){for(const De of Object.keys(this.controls))if(this.controls[De].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class si extends _t{constructor(De,we,ht){super(qi(we),oi(ht,we)),this.controls=De,this._initObservables(),this._setUpdateStrategy(we),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(De){return this.controls[De]}push(De,we={}){this.controls.push(De),this._registerControl(De),this.updateValueAndValidity({emitEvent:we.emitEvent}),this._onCollectionChange()}insert(De,we,ht={}){this.controls.splice(De,0,we),this._registerControl(we),this.updateValueAndValidity({emitEvent:ht.emitEvent})}removeAt(De,we={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),this.controls.splice(De,1),this.updateValueAndValidity({emitEvent:we.emitEvent})}setControl(De,we,ht={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),this.controls.splice(De,1),we&&(this.controls.splice(De,0,we),this._registerControl(we)),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(De,we={}){Ge(this,De),De.forEach((ht,Zt)=>{U(this,Zt),this.at(Zt).setValue(ht,{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we)}patchValue(De,we={}){null!=De&&(De.forEach((ht,Zt)=>{this.at(Zt)&&this.at(Zt).patchValue(ht,{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we))}reset(De=[],we={}){this._forEachChild((ht,Zt)=>{ht.reset(De[Zt],{onlySelf:!0,emitEvent:we.emitEvent})}),this._updatePristine(we),this._updateTouched(we),this.updateValueAndValidity(we)}getRawValue(){return this.controls.map(De=>yt(De))}clear(De={}){this.controls.length<1||(this._forEachChild(we=>we._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:De.emitEvent}))}_syncPendingControls(){let De=this.controls.reduce((we,ht)=>!!ht._syncPendingControls()||we,!1);return De&&this.updateValueAndValidity({onlySelf:!0}),De}_forEachChild(De){this.controls.forEach((we,ht)=>{De(we,ht)})}_updateValue(){this.value=this.controls.filter(De=>De.enabled||this.disabled).map(De=>De.value)}_anyControls(De){return this.controls.some(we=>we.enabled&&De(we))}_setUpControls(){this._forEachChild(De=>this._registerControl(De))}_allControlsDisabled(){for(const De of this.controls)if(De.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(De){De.setParent(this),De._registerOnCollectionChange(this._onCollectionChange)}}const Ii={provide:ae,useExisting:(0,e.Gpc)(()=>zi)},wi=(()=>Promise.resolve(null))();let zi=(()=>{class ke extends ae{constructor(we,ht){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ti({},de(we),Pe(ht))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(we){wi.then(()=>{const ht=this._findContainer(we.path);we.control=ht.registerControl(we.name,we.control),bt(we.control,we),we.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(we)})}getControl(we){return this.form.get(we.path)}removeControl(we){wi.then(()=>{const ht=this._findContainer(we.path);ht&&ht.removeControl(we.name),this._directives.delete(we)})}addFormGroup(we){wi.then(()=>{const ht=this._findContainer(we.path),Zt=new ti({});ct(Zt,we),ht.registerControl(we.name,Zt),Zt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(we){wi.then(()=>{const ht=this._findContainer(we.path);ht&&ht.removeControl(we.name)})}getFormGroup(we){return this.form.get(we.path)}updateModel(we,ht){wi.then(()=>{this.form.get(we.path).setValue(ht)})}setValue(we){this.control.setValue(we)}onSubmit(we){return this.submitted=!0,lt(this.form,this._directives),this.ngSubmit.emit(we),!1}onReset(){this.resetForm()}resetForm(we){this.form.reset(we),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(we){return we.pop(),we.length?this.form.get(we):this.form}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(we,ht){1&we&&e.NdJ("submit",function(pi){return ht.onSubmit(pi)})("reset",function(){return ht.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ii]),e.qOj]}),ke})();const fn={provide:_e,useExisting:(0,e.Gpc)(()=>sn)},Wi=(()=>Promise.resolve(null))();let sn=(()=>{class ke extends _e{constructor(we,ht,Zt,pi,ki){super(),this._changeDetectorRef=ki,this.control=new Dt,this._registered=!1,this.update=new e.vpe,this._parent=we,this._setValidators(ht),this._setAsyncValidators(Zt),this.valueAccessor=ut(0,pi)}ngOnChanges(we){if(this._checkForErrors(),!this._registered||"name"in we){if(this._registered&&(this._checkName(),this.formDirective)){const ht=we.name.previousValue;this.formDirective.removeControl({name:ht,path:this._getPath(ht)})}this._setUpControl()}"isDisabled"in we&&this._updateDisabled(we),ot(we,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(we){this.viewModel=we,this.update.emit(we)}_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(){bt(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(we){Wi.then(()=>{var ht;this.control.setValue(we,{emitViewToModelChange:!1}),null===(ht=this._changeDetectorRef)||void 0===ht||ht.markForCheck()})}_updateDisabled(we){const ht=we.isDisabled.currentValue,Zt=""===ht||ht&&"false"!==ht;Wi.then(()=>{var pi;Zt&&!this.control.disabled?this.control.disable():!Zt&&this.control.disabled&&this.control.enable(),null===(pi=this._changeDetectorRef)||void 0===pi||pi.markForCheck()})}_getPath(we){return this._parent?jt(we,this._parent):[we]}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,9),e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(e.sBO,8))},ke.\u0275dir=e.lG2({type:ke,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]}),ke})(),An=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ke})();const On={provide:v,useExisting:(0,e.Gpc)(()=>un),multi:!0};let un=(()=>{class ke extends E{writeValue(we){this.setProperty("value",null==we?"":we)}registerOnChange(we){this.onChange=ht=>{we(""==ht?null:parseFloat(ht))}}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(we,ht){1&we&&e.NdJ("input",function(pi){return ht.onChange(pi.target.value)})("blur",function(){return ht.onTouched()})},features:[e._Bn([On]),e.qOj]}),ke})(),Dn=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({}),ke})();const Fe=new e.OlP("NgModelWithFormControlWarning"),Bt={provide:_e,useExisting:(0,e.Gpc)(()=>Je)};let Je=(()=>{class ke extends _e{constructor(we,ht,Zt,pi){super(),this._ngModelWarningConfig=pi,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(we),this._setAsyncValidators(ht),this.valueAccessor=ut(0,Zt)}set isDisabled(we){}ngOnChanges(we){if(this._isControlChanged(we)){const ht=we.form.previousValue;ht&&Yt(ht,this,!1),bt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}ot(we,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Yt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(we){this.viewModel=we,this.update.emit(we)}_isControlChanged(we){return we.hasOwnProperty("form")}}return ke._ngModelWarningSentOnce=!1,ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(Fe,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Bt]),e.qOj,e.TTD]}),ke})();const wt={provide:ae,useExisting:(0,e.Gpc)(()=>Gt)};let Gt=(()=>{class ke extends ae{constructor(we,ht){super(),this.validators=we,this.asyncValidators=ht,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(we),this._setAsyncValidators(ht)}ngOnChanges(we){this._checkFormPresent(),we.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(je(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(we){const ht=this.form.get(we.path);return bt(ht,we),ht.updateValueAndValidity({emitEvent:!1}),this.directives.push(we),ht}getControl(we){return this.form.get(we.path)}removeControl(we){Yt(we.control||null,we,!1),Ht(this.directives,we)}addFormGroup(we){this._setUpFormContainer(we)}removeFormGroup(we){this._cleanUpFormContainer(we)}getFormGroup(we){return this.form.get(we.path)}addFormArray(we){this._setUpFormContainer(we)}removeFormArray(we){this._cleanUpFormContainer(we)}getFormArray(we){return this.form.get(we.path)}updateModel(we,ht){this.form.get(we.path).setValue(ht)}onSubmit(we){return this.submitted=!0,lt(this.form,this.directives),this.ngSubmit.emit(we),!1}onReset(){this.resetForm()}resetForm(we){this.form.reset(we),this.submitted=!1}_updateDomValue(){this.directives.forEach(we=>{const ht=we.control,Zt=this.form.get(we.path);ht!==Zt&&(Yt(ht||null,we),vt(Zt)&&(bt(Zt,we),we.control=Zt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(we){const ht=this.form.get(we.path);ct(ht,we),ht.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(we){if(this.form){const ht=this.form.get(we.path);ht&&function Rt(ke,De){return je(ke,De)}(ht,we)&&ht.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){He(this.form,this),this._oldForm&&je(this._oldForm,this)}_checkFormPresent(){}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroup",""]],hostBindings:function(we,ht){1&we&&e.NdJ("submit",function(pi){return ht.onSubmit(pi)})("reset",function(){return ht.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([wt]),e.qOj,e.TTD]}),ke})();const Jn={provide:_e,useExisting:(0,e.Gpc)(()=>nr)};let nr=(()=>{class ke extends _e{constructor(we,ht,Zt,pi,ki){super(),this._ngModelWarningConfig=ki,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=we,this._setValidators(ht),this._setAsyncValidators(Zt),this.valueAccessor=ut(0,pi)}set isDisabled(we){}ngOnChanges(we){this._added||this._setUpControl(),ot(we,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(we){this.viewModel=we,this.update.emit(we)}get path(){return jt(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 ke._ngModelWarningSentOnce=!1,ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,13),e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(Fe,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([Jn]),e.qOj,e.TTD]}),ke})();const jn={provide:v,useExisting:(0,e.Gpc)(()=>En),multi:!0};function Cn(ke,De){return null==ke?`${De}`:(De&&"object"==typeof De&&(De="Object"),`${ke}: ${De}`.slice(0,50))}let En=(()=>{class ke extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(we){this._compareWith=we}writeValue(we){this.value=we;const Zt=Cn(this._getOptionId(we),we);this.setProperty("value",Zt)}registerOnChange(we){this.onChange=ht=>{this.value=this._getOptionValue(ht),we(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(we){for(const ht of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ht),we))return ht;return null}_getOptionValue(we){const ht=function Tr(ke){return ke.split(":")[0]}(we);return this._optionMap.has(ht)?this._optionMap.get(ht):we}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(we,ht){1&we&&e.NdJ("change",function(pi){return ht.onChange(pi.target.value)})("blur",function(){return ht.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([jn]),e.qOj]}),ke})(),rr=(()=>{class ke{constructor(we,ht,Zt){this._element=we,this._renderer=ht,this._select=Zt,this._select&&(this.id=this._select._registerOption())}set ngValue(we){null!=this._select&&(this._select._optionMap.set(this.id,we),this._setElementValue(Cn(this.id,we)),this._select.writeValue(this._select.value))}set value(we){this._setElementValue(we),this._select&&this._select.writeValue(this._select.value)}_setElementValue(we){this._renderer.setProperty(this._element.nativeElement,"value",we)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(En,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})();const yn={provide:v,useExisting:(0,e.Gpc)(()=>Pn),multi:!0};function Qn(ke,De){return null==ke?`${De}`:("string"==typeof De&&(De=`'${De}'`),De&&"object"==typeof De&&(De="Object"),`${ke}: ${De}`.slice(0,50))}let Pn=(()=>{class ke extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(we){this._compareWith=we}writeValue(we){let ht;if(this.value=we,Array.isArray(we)){const Zt=we.map(pi=>this._getOptionId(pi));ht=(pi,ki)=>{pi._setSelected(Zt.indexOf(ki.toString())>-1)}}else ht=(Zt,pi)=>{Zt._setSelected(!1)};this._optionMap.forEach(ht)}registerOnChange(we){this.onChange=ht=>{const Zt=[],pi=ht.selectedOptions;if(void 0!==pi){const ki=pi;for(let Xi=0;Xi{class ke{constructor(we,ht,Zt){this._element=we,this._renderer=ht,this._select=Zt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(we){null!=this._select&&(this._value=we,this._setElementValue(Qn(this.id,we)),this._select.writeValue(this._select.value))}set value(we){this._select?(this._value=we,this._setElementValue(Qn(this.id,we)),this._select.writeValue(this._select.value)):this._setElementValue(we)}_setElementValue(we){this._renderer.setProperty(this._element.nativeElement,"value",we)}_setSelected(we){this._renderer.setProperty(this._element.nativeElement,"selected",we)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Pn,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})(),vn=(()=>{class ke{constructor(){this._validator=Se}ngOnChanges(we){if(this.inputName in we){const ht=this.normalizeInput(we[this.inputName].currentValue);this._enabled=this.enabled(ht),this._validator=this._enabled?this.createValidator(ht):Se,this._onChange&&this._onChange()}}validate(we){return this._validator(we)}registerOnValidatorChange(we){this._onChange=we}enabled(we){return null!=we}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275dir=e.lG2({type:ke,features:[e.TTD]}),ke})();const dn={provide:F,useExisting:(0,e.Gpc)(()=>gt),multi:!0},cr={provide:F,useExisting:(0,e.Gpc)(()=>k),multi:!0};let gt=(()=>{class ke extends vn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=we=>function Hn(ke){return null!=ke&&!1!==ke&&"false"!=`${ke}`}(we),this.createValidator=we=>L}enabled(we){return we}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("required",ht._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([dn]),e.qOj]}),ke})(),k=(()=>{class ke extends gt{constructor(){super(...arguments),this.createValidator=we=>X}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("required",ht._enabled?"":null)},features:[e._Bn([cr]),e.qOj]}),ke})();const le={provide:F,useExisting:(0,e.Gpc)(()=>et),multi:!0};let et=(()=>{class ke extends vn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=we=>we,this.createValidator=we=>Oe(we)}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("pattern",ht._enabled?ht.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([le]),e.qOj]}),ke})(),ai=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[[Dn]]}),ke})(),ui=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[ai]}),ke})(),fi=(()=>{class ke{static withConfig(we){return{ngModule:ke,providers:[{provide:Fe,useValue:we.warnOnNgModelWithFormControl}]}}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[ai]}),ke})(),Mi=(()=>{class ke{group(we,ht=null){const Zt=this._reduceControls(we);let Xi,pi=null,ki=null;return null!=ht&&(function Ai(ke){return void 0!==ke.asyncValidators||void 0!==ke.validators||void 0!==ke.updateOn}(ht)?(pi=null!=ht.validators?ht.validators:null,ki=null!=ht.asyncValidators?ht.asyncValidators:null,Xi=null!=ht.updateOn?ht.updateOn:void 0):(pi=null!=ht.validator?ht.validator:null,ki=null!=ht.asyncValidator?ht.asyncValidator:null)),new ti(Zt,{asyncValidators:ki,updateOn:Xi,validators:pi})}control(we,ht,Zt){return new Dt(we,ht,Zt)}array(we,ht,Zt){const pi=we.map(ki=>this._createControl(ki));return new si(pi,ht,Zt)}_reduceControls(we){const ht={};return Object.keys(we).forEach(Zt=>{ht[Zt]=this._createControl(we[Zt])}),ht}_createControl(we){return vt(we)||at(we)||Qe(we)?we:Array.isArray(we)?this.control(we[0],we.length>1?we[1]:null,we.length>2?we[2]:null):this.control(we)}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275prov=e.Yz7({token:ke,factory:ke.\u0275fac,providedIn:fi}),ke})()},91079:(qe,me,h)=>{"use strict";h.d(me,{XC:()=>P,Bb:()=>ze,ZL:()=>ne});var e=h(15664),c=h(63191),g=h(5e3),w=h(90508),_=h(50727),b=h(77579),E=h(49770),v=h(56451),I=h(39646),N=h(54968),A=h(70925),q=h(69808),j=h(91314),G=h(29071),Q=h(91159),he=h(47429),F=h(93075),be=h(67322),pe=h(68675),ye=h(63900),T=h(95698),R=h(39300),L=h(54004),X=h(18505),Y=h(91005),se=h(50226);const Te=["panel"];function Oe(Ue,_e){if(1&Ue&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&Ue){const ae=_e.id,Ae=g.oxw();g.Q6J("id",Ae.id)("ngClass",Ae._classList),g.uIk("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby(ae))}}const Se=["*"];let We=0;class ge{constructor(_e,ae){this.source=_e,this.option=ae}}const Le=(0,w.Kr)(class{}),ue=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Me(){return{autoActiveFirstOption:!1}}});let z=(()=>{class Ue extends Le{constructor(ae,Ae,ee,Ne){super(),this._changeDetectorRef=ae,this._elementRef=Ae,this._activeOptionChanges=_.w0.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-"+We++,this.inertGroups=(null==Ne?void 0:Ne.SAFARI)||!1,this._autoActiveFirstOption=!!ee.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(ae){this._autoActiveFirstOption=(0,c.Ig)(ae)}set classList(ae){this._classList=ae&&ae.length?(0,c.du)(ae).reduce((Ae,ee)=>(Ae[ee]=!0,Ae),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(ae=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[ae]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(ae){this.panel&&(this.panel.nativeElement.scrollTop=ae)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(ae){const Ae=new ge(this,ae);this.optionSelected.emit(Ae)}_getPanelAriaLabelledby(ae){return this.ariaLabel?null:this.ariaLabelledby?(ae?ae+" ":"")+this.ariaLabelledby:ae}_setVisibilityClasses(ae){ae[this._visibleClass]=this.showPanel,ae[this._hiddenClass]=!this.showPanel}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(ue),g.Y36(A.t4))},Ue.\u0275dir=g.lG2({type:Ue,viewQuery:function(ae,Ae){if(1&ae&&(g.Gf(g.Rgc,7),g.Gf(Te,5)),2&ae){let ee;g.iGM(ee=g.CRH())&&(Ae.template=ee.first),g.iGM(ee=g.CRH())&&(Ae.panel=ee.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]}),Ue})(),P=(()=>{class Ue extends z{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=g.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275cmp=g.Xpm({type:Ue,selectors:[["mat-autocomplete"]],contentQueries:function(ae,Ae,ee){if(1&ae&&(g.Suo(ee,w.K7,5),g.Suo(ee,w.ey,5)),2&ae){let Ne;g.iGM(Ne=g.CRH())&&(Ae.optionGroups=Ne),g.iGM(Ne=g.CRH())&&(Ae.options=Ne)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:w.HF,useExisting:Ue}]),g.qOj],ngContentSelectors:Se,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(ae,Ae){1&ae&&(g.F$t(),g.YNc(0,Oe,3,4,"ng-template"))},directives:[q.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}),Ue})();const de=new g.OlP("mat-autocomplete-scroll-strategy"),Pe={provide:de,deps:[j.aV],useFactory:function Ce(Ue){return()=>Ue.scrollStrategies.reposition()}},ce={provide:F.JU,useExisting:(0,g.Gpc)(()=>ne),multi:!0};let Ze=(()=>{class Ue{constructor(ae,Ae,ee,Ne,V,H,D,O,i,o,u){this._element=ae,this._overlay=Ae,this._viewContainerRef=ee,this._zone=Ne,this._changeDetectorRef=V,this._dir=D,this._formField=O,this._document=i,this._viewportRuler=o,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=_.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new b.x,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,E.P)(()=>{const l=this.autocomplete?this.autocomplete.options:null;return l?l.changes.pipe((0,pe.O)(l),(0,ye.w)(()=>(0,v.T)(...l.map(s=>s.onSelectionChange)))):this._zone.onStable.pipe((0,T.q)(1),(0,ye.w)(()=>this.optionSelections))}),this._scrollStrategy=H}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(ae){this._autocompleteDisabled=(0,c.Ig)(ae)}ngAfterViewInit(){const ae=this._getWindow();void 0!==ae&&this._zone.runOutsideAngular(()=>ae.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(ae){ae.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const ae=this._getWindow();void 0!==ae&&ae.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._zone.run(()=>{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,v.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,R.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,R.h)(()=>this._overlayAttached)):(0,I.of)()).pipe((0,L.U)(ae=>ae instanceof w.rN?ae:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,v.T)((0,N.R)(this._document,"click"),(0,N.R)(this._document,"auxclick"),(0,N.R)(this._document,"touchend")).pipe((0,R.h)(ae=>{const Ae=(0,A.sA)(ae),ee=this._formField?this._formField._elementRef.nativeElement:null,Ne=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ae!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ee||!ee.contains(Ae))&&(!Ne||!Ne.contains(Ae))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ae)}))}writeValue(ae){Promise.resolve().then(()=>this._setTriggerValue(ae))}registerOnChange(ae){this._onChange=ae}registerOnTouched(ae){this._onTouched=ae}setDisabledState(ae){this._element.nativeElement.disabled=ae}_handleKeydown(ae){const Ae=ae.keyCode,ee=(0,Q.Vb)(ae);if(Ae===Q.hY&&!ee&&ae.preventDefault(),this.activeOption&&Ae===Q.K5&&this.panelOpen&&!ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),ae.preventDefault();else if(this.autocomplete){const Ne=this.autocomplete._keyManager.activeItem,V=Ae===Q.LH||Ae===Q.JH;Ae===Q.Mf||V&&!ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(ae):V&&this._canOpen()&&this.openPanel(),(V||this.autocomplete._keyManager.activeItem!==Ne)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(ae){let Ae=ae.target,ee=Ae.value;"number"===Ae.type&&(ee=""==ee?null:parseFloat(ee)),this._previousValue!==ee&&(this._previousValue=ee,this._onChange(ee),this._canOpen()&&this._document.activeElement===ae.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(ae=!1){this._formField&&"auto"===this._formField.floatLabel&&(ae?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const ae=this._zone.onStable.pipe((0,T.q)(1)),Ae=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Y.g)(0));return(0,v.T)(ae,Ae).pipe((0,ye.w)(()=>(this._zone.run(()=>{const ee=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),ee!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,T.q)(1)).subscribe(ee=>this._setValueAndClose(ee))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(ae){const Ae=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(ae):ae,ee=null!=Ae?Ae:"";this._formField?this._formField._control.value=ee:this._element.nativeElement.value=ee,this._previousValue=ee}_setValueAndClose(ae){const Ae=ae&&ae.source;Ae&&(this._clearPreviousSelectedOption(Ae),this._setTriggerValue(Ae.value),this._onChange(Ae.value),this.autocomplete._emitSelectEvent(Ae),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(ae){this.autocomplete.options.forEach(Ae=>{Ae!==ae&&Ae.selected&&Ae.deselect()})}_attachOverlay(){var ae;let Ae=this._overlayRef;Ae?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ae.updateSize({width:this._getPanelWidth()})):(this._portal=new he.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(ae=this._formField)||void 0===ae?void 0:ae.getLabelId()}),Ae=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ae,Ae.keydownEvents().subscribe(Ne=>{(Ne.keyCode===Q.hY&&!(0,Q.Vb)(Ne)||Ne.keyCode===Q.LH&&(0,Q.Vb)(Ne,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),Ne.stopPropagation(),Ne.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ae&&Ae.updateSize({width:this._getPanelWidth()})})),Ae&&!Ae.hasAttached()&&(Ae.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ee=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&ee!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var ae;return new j.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(ae=this._defaults)||void 0===ae?void 0:ae.overlayPanelClass})}_getOverlayPosition(){const ae=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(ae),this._positionStrategy=ae,ae}_setStrategyPositions(ae){const Ae=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ee=this._aboveClass,Ne=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ee}];let V;V="above"===this.position?Ne:"below"===this.position?Ae:[...Ae,...Ne],ae.withPositions(V)}_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 ae=this.autocomplete;ae.autoActiveFirstOption?ae._keyManager.setFirstItemActive():ae._keyManager.setActiveItem(-1)}_canOpen(){const ae=this._element.nativeElement;return!ae.readOnly&&!ae.disabled&&!this._autocompleteDisabled}_getWindow(){var ae;return(null===(ae=this._document)||void 0===ae?void 0:ae.defaultView)||window}_scrollToOption(ae){const Ae=this.autocomplete,ee=(0,w.CB)(ae,Ae.options,Ae.optionGroups);if(0===ae&&1===ee)Ae._setScrollTop(0);else if(Ae.panel){const Ne=Ae.options.toArray()[ae];if(Ne){const V=Ne._getHostElement(),H=(0,w.jH)(V.offsetTop,V.offsetHeight,Ae._getScrollTop(),Ae.panel.nativeElement.offsetHeight);Ae._setScrollTop(H)}}}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(g.Y36(g.SBq),g.Y36(j.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(de),g.Y36(se.Is,8),g.Y36(be.G_,9),g.Y36(q.K0,8),g.Y36(G.rL),g.Y36(ue,8))},Ue.\u0275dir=g.lG2({type:Ue,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),Ue})(),ne=(()=>{class Ue extends Ze{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=g.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275dir=g.lG2({type:Ue,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(ae,Ae){1&ae&&g.NdJ("focusin",function(){return Ae._handleFocus()})("blur",function(){return Ae._onTouched()})("input",function(Ne){return Ae._handleInput(Ne)})("keydown",function(Ne){return Ae._handleKeydown(Ne)})("click",function(){return Ae._handleClick()}),2&ae&&g.uIk("autocomplete",Ae.autocompleteAttribute)("role",Ae.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ae.autocompleteDisabled?null:"list")("aria-activedescendant",Ae.panelOpen&&Ae.activeOption?Ae.activeOption.id:null)("aria-expanded",Ae.autocompleteDisabled?null:Ae.panelOpen.toString())("aria-owns",Ae.autocompleteDisabled||!Ae.panelOpen||null==Ae.autocomplete?null:Ae.autocomplete.id)("aria-haspopup",Ae.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[g._Bn([ce]),g.qOj]}),Ue})(),ze=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=g.oAB({type:Ue}),Ue.\u0275inj=g.cJS({providers:[Pe],imports:[[j.U8,w.Ng,w.BQ,q.ez],G.ZD,w.Ng,w.BQ]}),Ue})()},27544:(qe,me,h)=>{"use strict";h.d(me,{k:()=>I,g:()=>N});var e=h(5e3),c=h(90508),g=h(15664),w=h(63191),_=h(76360);let b=0;const E=(0,c.Id)(class{}),v="mat-badge-content";let I=(()=>{class A extends E{constructor(j,G,Q,he,F){super(),this._ngZone=j,this._elementRef=G,this._ariaDescriber=Q,this._renderer=he,this._animationMode=F,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=b++,this._isInitialized=!1}get color(){return this._color}set color(j){this._setColor(j),this._color=j}get overlap(){return this._overlap}set overlap(j){this._overlap=(0,w.Ig)(j)}get content(){return this._content}set content(j){this._updateRenderedContent(j)}get description(){return this._description}set description(j){this._updateHostAriaDescription(j)}get hidden(){return this._hidden}set hidden(j){this._hidden=(0,w.Ig)(j)}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 j=this._renderer.createElement("span"),G="mat-badge-active";return j.setAttribute("id",`mat-badge-content-${this._id}`),j.setAttribute("aria-hidden","true"),j.classList.add(v),"NoopAnimations"===this._animationMode&&j.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(j),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{j.classList.add(G)})}):j.classList.add(G),j}_updateRenderedContent(j){const G=`${null!=j?j:""}`.trim();this._isInitialized&&G&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=G),this._content=G}_updateHostAriaDescription(j){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),j&&this._ariaDescriber.describe(this._elementRef.nativeElement,j),this._description=j}_setColor(j){const G=this._elementRef.nativeElement.classList;G.remove(`mat-badge-${this._color}`),j&&G.add(`mat-badge-${j}`)}_clearExistingBadges(){const j=this._elementRef.nativeElement.querySelectorAll(`:scope > .${v}`);for(const G of Array.from(j))G!==this._badgeElement&&G.remove()}}return A.\u0275fac=function(j){return new(j||A)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(_.Qb,8))},A.\u0275dir=e.lG2({type:A,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(j,G){2&j&&e.ekj("mat-badge-overlap",G.overlap)("mat-badge-above",G.isAbove())("mat-badge-below",!G.isAbove())("mat-badge-before",!G.isAfter())("mat-badge-after",G.isAfter())("mat-badge-small","small"===G.size)("mat-badge-medium","medium"===G.size)("mat-badge-large","large"===G.size)("mat-badge-hidden",G.hidden||!G.content)("mat-badge-disabled",G.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]}),A})(),N=(()=>{class A{}return A.\u0275fac=function(j){return new(j||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.rt,c.BQ],c.BQ]}),A})()},47423:(qe,me,h)=>{"use strict";h.d(me,{lW:()=>A,ot:()=>j});var e=h(5e3),c=h(90508),g=h(76360),w=h(15664);const _=["mat-button",""],b=["*"],I=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],N=(0,c.pj)((0,c.Id)((0,c.Kr)(class{constructor(G){this._elementRef=G}})));let A=(()=>{class G extends N{constructor(he,F,be){super(he),this._focusMonitor=F,this._animationMode=be,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const pe of I)this._hasHostAttributes(pe)&&this._getHostElement().classList.add(pe);he.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(he,F){he?this._focusMonitor.focusVia(this._getHostElement(),he,F):this._getHostElement().focus(F)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...he){return he.some(F=>this._getHostElement().hasAttribute(F))}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(e.SBq),e.Y36(w.tE),e.Y36(g.Qb,8))},G.\u0275cmp=e.Xpm({type:G,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(he,F){if(1&he&&e.Gf(c.wG,5),2&he){let be;e.iGM(be=e.CRH())&&(F.ripple=be.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(he,F){2&he&&(e.uIk("disabled",F.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===F._animationMode)("mat-button-disabled",F.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:_,ngContentSelectors:b,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(he,F){1&he&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&he&&(e.xp6(2),e.ekj("mat-button-ripple-round",F.isRoundButton||F.isIconButton),e.Q6J("matRippleDisabled",F._isRippleDisabled())("matRippleCentered",F.isIconButton)("matRippleTrigger",F._getHostElement()))},directives:[c.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;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;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;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;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}),G})(),j=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=e.oAB({type:G}),G.\u0275inj=e.cJS({imports:[[c.si,c.BQ],c.BQ]}),G})()},9224:(qe,me,h)=>{"use strict";h.d(me,{a8:()=>T,kc:()=>ye,dn:()=>N,dk:()=>R,QW:()=>X,$j:()=>q,n5:()=>A});var e=h(5e3),c=h(76360),g=h(90508);const w=["*",[["mat-card-footer"]]],_=["*","mat-card-footer"],b=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],E=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let N=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),Y})(),A=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),Y})(),q=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),Y})(),ye=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),Y})(),T=(()=>{class Y{constructor(Te){this._animationMode=Te}}return Y.\u0275fac=function(Te){return new(Te||Y)(e.Y36(c.Qb,8))},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Te,Oe){2&Te&&e.ekj("_mat-animation-noopable","NoopAnimations"===Oe._animationMode)},exportAs:["matCard"],ngContentSelectors:_,decls:2,vars:0,template:function(Te,Oe){1&Te&&(e.F$t(w),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}),Y})(),R=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:E,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Te,Oe){1&Te&&(e.F$t(b),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),Y})(),X=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),Y})()},77446:(qe,me,h)=>{"use strict";h.d(me,{oG:()=>be,p9:()=>R});var e=h(63191),c=h(5e3),g=h(93075),w=h(90508),_=h(76360),b=h(15664),E=h(17144);const v=["input"],I=function(L){return{enterDuration:L}},N=["*"],A=new c.OlP("mat-checkbox-default-options",{providedIn:"root",factory:q});function q(){return{color:"accent",clickAction:"check-indeterminate"}}let j=0;const G=q(),Q={provide:g.JU,useExisting:(0,c.Gpc)(()=>be),multi:!0};class he{}const F=(0,w.sb)((0,w.pj)((0,w.Kr)((0,w.Id)(class{constructor(L){this._elementRef=L}}))));let be=(()=>{class L extends F{constructor(Y,se,Te,Oe,Se,We,ge){super(Y),this._changeDetectorRef=se,this._focusMonitor=Te,this._ngZone=Oe,this._animationMode=We,this._options=ge,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++j,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new c.vpe,this.indeterminateChange=new c.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||G,this.color=this.defaultColor=this._options.color||G.color,this.tabIndex=parseInt(Se)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(Y){this._required=(0,e.Ig)(Y)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Y=>{Y||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(Y){const se=(0,e.Ig)(Y);se!=this.checked&&(this._checked=se,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Y){const se=(0,e.Ig)(Y);se!==this.disabled&&(this._disabled=se,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(Y){const se=Y!=this._indeterminate;this._indeterminate=(0,e.Ig)(Y),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(Y){this.checked=!!Y}registerOnChange(Y){this._controlValueAccessorChangeFn=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(Y){let se=this._currentCheckState,Te=this._elementRef.nativeElement;if(se!==Y&&(this._currentAnimationClass.length>0&&Te.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(se,Y),this._currentCheckState=Y,this._currentAnimationClass.length>0)){Te.classList.add(this._currentAnimationClass);const Oe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Te.classList.remove(Oe)},1e3)})}}_emitChangeEvent(){const Y=new he;Y.source=this,Y.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(Y),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(Y){var se;const Te=null===(se=this._options)||void 0===se?void 0:se.clickAction;Y.stopPropagation(),this.disabled||"noop"===Te?!this.disabled&&"noop"===Te&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Te&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(Y,se){Y?this._focusMonitor.focusVia(this._inputElement,Y,se):this._inputElement.nativeElement.focus(se)}_onInteractionEvent(Y){Y.stopPropagation()}_getAnimationClassForCheckStateTransition(Y,se){if("NoopAnimations"===this._animationMode)return"";let Te="";switch(Y){case 0:if(1===se)Te="unchecked-checked";else{if(3!=se)return"";Te="unchecked-indeterminate"}break;case 2:Te=1===se?"unchecked-checked":"unchecked-indeterminate";break;case 1:Te=2===se?"checked-unchecked":"checked-indeterminate";break;case 3:Te=1===se?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${Te}`}_syncIndeterminate(Y){const se=this._inputElement;se&&(se.nativeElement.indeterminate=Y)}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(b.tE),c.Y36(c.R0b),c.$8M("tabindex"),c.Y36(_.Qb,8),c.Y36(A,8))},L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-checkbox"]],viewQuery:function(Y,se){if(1&Y&&(c.Gf(v,5),c.Gf(w.wG,5)),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._inputElement=Te.first),c.iGM(Te=c.CRH())&&(se.ripple=Te.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(Y,se){2&Y&&(c.Ikx("id",se.id),c.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),c.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:[c._Bn([Q]),c.qOj],ngContentSelectors:N,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","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(Y,se){if(1&Y&&(c.F$t(),c.TgZ(0,"label",0,1),c.TgZ(2,"span",2),c.TgZ(3,"input",3,4),c.NdJ("change",function(Oe){return se._onInteractionEvent(Oe)})("click",function(Oe){return se._onInputClick(Oe)}),c.qZA(),c.TgZ(5,"span",5),c._UZ(6,"span",6),c.qZA(),c._UZ(7,"span",7),c.TgZ(8,"span",8),c.O4$(),c.TgZ(9,"svg",9),c._UZ(10,"path",10),c.qZA(),c.kcU(),c._UZ(11,"span",11),c.qZA(),c.qZA(),c.TgZ(12,"span",12,13),c.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),c.TgZ(14,"span",14),c._uU(15,"\xa0"),c.qZA(),c.Hsn(16),c.qZA(),c.qZA()),2&Y){const Te=c.MAs(1),Oe=c.MAs(13);c.uIk("for",se.inputId),c.xp6(2),c.ekj("mat-checkbox-inner-container-no-side-margin",!Oe.textContent||!Oe.textContent.trim()),c.xp6(1),c.Q6J("id",se.inputId)("required",se.required)("checked",se.checked)("disabled",se.disabled)("tabIndex",se.tabIndex),c.uIk("value",se.value)("name",se.name)("aria-label",se.ariaLabel||null)("aria-labelledby",se.ariaLabelledby)("aria-checked",se._getAriaChecked())("aria-describedby",se.ariaDescribedby),c.xp6(2),c.Q6J("matRippleTrigger",Te)("matRippleDisabled",se._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",c.VKq(19,I,"NoopAnimations"===se._animationMode?0:150))}},directives:[w.wG,E.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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({}),L})(),R=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[w.si,w.BQ,E.Q8,T],w.BQ,T]}),L})()},26688:(qe,me,h)=>{"use strict";h.d(me,{HS:()=>Te,oH:()=>ge,qn:()=>z,Hi:()=>de});var e=h(91159),c=h(5e3),g=h(90508),w=h(63191),_=h(69808),b=h(76360),E=h(77579),v=h(56451),I=h(95698),N=h(82722),A=h(68675),q=h(70925),j=h(15664),G=h(20449),Q=h(93075),he=h(67322),F=h(50226);const be=["*"],ye=new c.OlP("MatChipRemove"),T=new c.OlP("MatChipAvatar"),R=new c.OlP("MatChipTrailingIcon");class L{constructor(Pe){this._elementRef=Pe}}const X=(0,g.sb)((0,g.pj)((0,g.Kr)(L),"primary"),-1);let Te=(()=>{class Ce extends X{constructor(ce,fe,Ze,ne,it,Be,ze,Ue){super(ce),this._ngZone=fe,this._changeDetectorRef=it,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 E.x,this._onBlur=new E.x,this.selectionChange=new c.vpe,this.destroyed=new c.vpe,this.removed=new c.vpe,this._addHostClassName(),this._chipRippleTarget=Be.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,fe,this._chipRippleTarget,Ze),this._chipRipple.setupTriggerEvents(ce),this.rippleConfig=ne||{},this._animationsDisabled="NoopAnimations"===ze,this.tabIndex=null!=Ue&&parseInt(Ue)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(ce){const fe=(0,w.Ig)(ce);fe!==this._selected&&(this._selected=fe,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(ce){this._value=ce}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(ce){this._selectable=(0,w.Ig)(ce)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(ce){this._disabled=(0,w.Ig)(ce)}get removable(){return this._removable}set removable(ce){this._removable=(0,w.Ig)(ce)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const ce="mat-basic-chip",fe=this._elementRef.nativeElement;fe.hasAttribute(ce)||fe.tagName.toLowerCase()===ce?fe.classList.add(ce):fe.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(ce=!1){return this._selected=!this.selected,this._dispatchSelectionChange(ce),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(ce){this.disabled&&ce.preventDefault()}_handleKeydown(ce){if(!this.disabled)switch(ce.keyCode){case e.yY:case e.ZH:this.remove(),ce.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),ce.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(ce=!1){this.selectionChange.emit({source:this,isUserInput:ce,selected:this._selected})}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(q.t4),c.Y36(g.Y2,8),c.Y36(c.sBO),c.Y36(_.K0),c.Y36(b.Qb,8),c.$8M("tabindex"))},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ce,fe,Ze){if(1&ce&&(c.Suo(Ze,T,5),c.Suo(Ze,R,5),c.Suo(Ze,ye,5)),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe.avatar=ne.first),c.iGM(ne=c.CRH())&&(fe.trailingIcon=ne.first),c.iGM(ne=c.CRH())&&(fe.removeIcon=ne.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(ce,fe){1&ce&&c.NdJ("click",function(ne){return fe._handleClick(ne)})("keydown",function(ne){return fe._handleKeydown(ne)})("focus",function(){return fe.focus()})("blur",function(){return fe._blur()}),2&ce&&(c.uIk("tabindex",fe.disabled?null:fe.tabIndex)("disabled",fe.disabled||null)("aria-disabled",fe.disabled.toString())("aria-selected",fe.ariaSelected),c.ekj("mat-chip-selected",fe.selected)("mat-chip-with-avatar",fe.avatar)("mat-chip-with-trailing-icon",fe.trailingIcon||fe.removeIcon)("mat-chip-disabled",fe.disabled)("_mat-animation-noopable",fe._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:[c.qOj]}),Ce})();const Se=new c.OlP("mat-chips-default-options");let We=0,ge=(()=>{class Ce{constructor(ce,fe){this._elementRef=ce,this._defaultOptions=fe,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new c.vpe,this.placeholder="",this.id="mat-chip-list-input-"+We++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(ce){ce&&(this._chipList=ce,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(ce){this._addOnBlur=(0,w.Ig)(ce)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(ce){this._disabled=(0,w.Ig)(ce)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(ce){if(ce){if(ce.keyCode===e.Mf&&!(0,e.Vb)(ce,"shiftKey")&&this._chipList._allowFocusEscape(),ce.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void ce.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(ce)}_keyup(ce){!this._focusLastChipOnBackspace&&ce.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,ce.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(ce){!this.inputElement.value&&!!ce&&this._chipList._keydown(ce),(!ce||this._isSeparatorKey(ce))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==ce||ce.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(ce){this.inputElement.focus(ce)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(ce){return!(0,e.Vb)(ce)&&new Set(this.separatorKeyCodes).has(ce.keyCode)}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(Se))},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(ce,fe){1&ce&&c.NdJ("keydown",function(ne){return fe._keydown(ne)})("keyup",function(ne){return fe._keyup(ne)})("blur",function(){return fe._blur()})("focus",function(){return fe._focus()})("input",function(){return fe._onInput()}),2&ce&&(c.Ikx("id",fe.id),c.uIk("disabled",fe.disabled||null)("placeholder",fe.placeholder||null)("aria-invalid",fe._chipList&&fe._chipList.ngControl?fe._chipList.ngControl.invalid:null)("aria-required",fe._chipList&&fe._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:[c.TTD]}),Ce})();const Le=(0,g.FD)(class{constructor(Ce,Pe,ce,fe){this._defaultErrorStateMatcher=Ce,this._parentForm=Pe,this._parentFormGroup=ce,this.ngControl=fe}});let ue=0;class Me{constructor(Pe,ce){this.source=Pe,this.value=ce}}let z=(()=>{class Ce extends Le{constructor(ce,fe,Ze,ne,it,Be,ze){super(Be,ne,it,ze),this._elementRef=ce,this._changeDetectorRef=fe,this._dir=Ze,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new E.x,this._uid="mat-chip-list-"+ue++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(Ue,_e)=>Ue===_e,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new c.vpe,this.valueChange=new c.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var ce,fe;return this.multiple?(null===(ce=this._selectionModel)||void 0===ce?void 0:ce.selected)||[]:null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(ce){this._multiple=(0,w.Ig)(ce),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(ce){this._compareWith=ce,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ce){this.writeValue(ce),this._value=ce}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var ce,fe,Ze,ne;return null!==(ne=null!==(ce=this._required)&&void 0!==ce?ce:null===(Ze=null===(fe=this.ngControl)||void 0===fe?void 0:fe.control)||void 0===Ze?void 0:Ze.hasValidator(Q.kI.required))&&void 0!==ne&&ne}set required(ce){this._required=(0,w.Ig)(ce),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(ce){this._placeholder=ce,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(ce){this._disabled=(0,w.Ig)(ce),this._syncChipsState()}get selectable(){return this._selectable}set selectable(ce){this._selectable=(0,w.Ig)(ce),this.chips&&this.chips.forEach(fe=>fe.chipListSelectable=this._selectable)}set tabIndex(ce){this._userTabIndex=ce,this._tabIndex=ce}get chipSelectionChanges(){return(0,v.T)(...this.chips.map(ce=>ce.selectionChange))}get chipFocusChanges(){return(0,v.T)(...this.chips.map(ce=>ce._onFocus))}get chipBlurChanges(){return(0,v.T)(...this.chips.map(ce=>ce._onBlur))}get chipRemoveChanges(){return(0,v.T)(...this.chips.map(ce=>ce.destroyed))}ngAfterContentInit(){this._keyManager=new j.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,N.R)(this._destroyed)).subscribe(ce=>this._keyManager.withHorizontalOrientation(ce)),this._keyManager.tabOut.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,A.O)(null),(0,N.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 G.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(ce){this._chipInput=ce,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",ce.id)}setDescribedByIds(ce){this._ariaDescribedby=ce.join(" ")}writeValue(ce){this.chips&&this._setSelectionByValue(ce,!1)}registerOnChange(ce){this._onChange=ce}registerOnTouched(ce){this._onTouched=ce}setDisabledState(ce){this.disabled=ce,this.stateChanges.next()}onContainerClick(ce){this._originatesFromChip(ce)||this.focus()}focus(ce){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(ce),this.stateChanges.next()))}_focusInput(ce){this._chipInput&&this._chipInput.focus(ce)}_keydown(ce){const fe=ce.target;fe&&fe.classList.contains("mat-chip")&&(this._keyManager.onKeydown(ce),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const ce=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(ce)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(ce){return ce>=0&&ceZe.deselect()),Array.isArray(ce))ce.forEach(Ze=>this._selectValue(Ze,fe)),this._sortValues();else{const Ze=this._selectValue(ce,fe);Ze&&fe&&this._keyManager.setActiveItem(Ze)}}_selectValue(ce,fe=!0){const Ze=this.chips.find(ne=>null!=ne.value&&this._compareWith(ne.value,ce));return Ze&&(fe?Ze.selectViaInteraction():Ze.select(),this._selectionModel.select(Ze)),Ze}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(ce){this._selectionModel.clear(),this.chips.forEach(fe=>{fe!==ce&&fe.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(ce=>{ce.selected&&this._selectionModel.select(ce)}),this.stateChanges.next())}_propagateChanges(ce){let fe=null;fe=Array.isArray(this.selected)?this.selected.map(Ze=>Ze.value):this.selected?this.selected.value:ce,this._value=fe,this.change.emit(new Me(this,fe)),this.valueChange.emit(fe),this._onChange(fe),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(ce=>{ce.source.selected?this._selectionModel.select(ce.source):this._selectionModel.deselect(ce.source),this.multiple||this.chips.forEach(fe=>{!this._selectionModel.isSelected(fe)&&fe.selected&&fe.deselect()}),ce.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(ce=>{let fe=this.chips.toArray().indexOf(ce.chip);this._isValidIndex(fe)&&this._keyManager.updateActiveItem(fe),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(ce=>{const fe=ce.chip,Ze=this.chips.toArray().indexOf(ce.chip);this._isValidIndex(Ze)&&fe._hasFocus&&(this._lastDestroyedChipIndex=Ze)})}_originatesFromChip(ce){let fe=ce.target;for(;fe&&fe!==this._elementRef.nativeElement;){if(fe.classList.contains("mat-chip"))return!0;fe=fe.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(ce=>ce._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(ce=>{ce._chipListDisabled=this._disabled,ce._chipListMultiple=this.multiple})}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(F.Is,8),c.Y36(Q.F,8),c.Y36(Q.sg,8),c.Y36(g.rD),c.Y36(Q.a5,10))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-chip-list"]],contentQueries:function(ce,fe,Ze){if(1&ce&&c.Suo(Ze,Te,5),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe.chips=ne)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(ce,fe){1&ce&&c.NdJ("focus",function(){return fe.focus()})("blur",function(){return fe._blur()})("keydown",function(ne){return fe._keydown(ne)}),2&ce&&(c.Ikx("id",fe._uid),c.uIk("tabindex",fe.disabled?null:fe._tabIndex)("aria-describedby",fe._ariaDescribedby||null)("aria-required",fe.role?fe.required:null)("aria-disabled",fe.disabled.toString())("aria-invalid",fe.errorState)("aria-multiselectable",fe.multiple)("role",fe.role)("aria-orientation",fe.ariaOrientation),c.ekj("mat-chip-list-disabled",fe.disabled)("mat-chip-list-invalid",fe.errorState)("mat-chip-list-required",fe.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:[c._Bn([{provide:he.Eo,useExisting:Ce}]),c.qOj],ngContentSelectors:be,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(ce,fe){1&ce&&(c.F$t(),c.TgZ(0,"div",0),c.Hsn(1),c.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;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;transform:translateZ(0)}.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}),Ce})(),de=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275mod=c.oAB({type:Ce}),Ce.\u0275inj=c.cJS({providers:[g.rD,{provide:Se,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Ce})()},90508:(qe,me,h)=>{"use strict";h.d(me,{yN:()=>pe,mZ:()=>ye,_A:()=>z,rD:()=>it,sG:()=>P,K7:()=>f,HF:()=>t,Y2:()=>o,BQ:()=>L,X2:()=>Be,uc:()=>_e,XK:()=>Ze,ey:()=>bt,Ng:()=>Nt,rN:()=>It,nP:()=>s,us:()=>n,wG:()=>u,si:()=>l,LF:()=>Pe,IR:()=>D,CB:()=>Yt,jH:()=>Ct,pj:()=>Oe,Kr:()=>Se,Id:()=>Te,FD:()=>ge,dB:()=>Le,sb:()=>We,E0:()=>ze});var e=h(5e3),c=h(50226),w=h(69808),_=h(70925),b=h(15664),E=h(63191),v=h(77579),I=h(68306),N=h(68675),A=h(76360),q=h(91159);function Q(He,je){if(1&He&&e._UZ(0,"mat-pseudo-checkbox",4),2&He){const Z=e.oxw();e.Q6J("state",Z.selected?"checked":"unchecked")("disabled",Z.disabled)}}function he(He,je){if(1&He&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&He){const Z=e.oxw();e.xp6(1),e.hij("(",Z.group.label,")")}}const F=["*"];let pe=(()=>{class He{}return He.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",He.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",He.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",He.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",He})(),ye=(()=>{class He{}return He.COMPLEX="375ms",He.ENTERING="225ms",He.EXITING="195ms",He})();const R=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function T(){return!0}});let L=(()=>{class He{constructor(Z,$,oe){this._sanityChecks=$,this._document=oe,this._hasDoneGlobalChecks=!1,Z._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Z){return!(0,_.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Z])}}return He.\u0275fac=function(Z){return new(Z||He)(e.LFG(b.qm),e.LFG(R,8),e.LFG(w.K0))},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[c.vT],c.vT]}),He})();function Te(He){return class extends He{constructor(...je){super(...je),this._disabled=!1}get disabled(){return this._disabled}set disabled(je){this._disabled=(0,E.Ig)(je)}}}function Oe(He,je){return class extends He{constructor(...Z){super(...Z),this.defaultColor=je,this.color=je}get color(){return this._color}set color(Z){const $=Z||this.defaultColor;$!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),$&&this._elementRef.nativeElement.classList.add(`mat-${$}`),this._color=$)}}}function Se(He){return class extends He{constructor(...je){super(...je),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(je){this._disableRipple=(0,E.Ig)(je)}}}function We(He,je=0){return class extends He{constructor(...Z){super(...Z),this._tabIndex=je,this.defaultTabIndex=je}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Z){this._tabIndex=null!=Z?(0,E.su)(Z):this.defaultTabIndex}}}function ge(He){return class extends He{constructor(...je){super(...je),this.stateChanges=new v.x,this.errorState=!1}updateErrorState(){const je=this.errorState,nt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);nt!==je&&(this.errorState=nt,this.stateChanges.next())}}}function Le(He){return class extends He{constructor(...je){super(...je),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new I.y(Z=>{this._isInitialized?this._notifySubscriber(Z):this._pendingSubscribers.push(Z)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(je){je.next(),je.complete()}}}const ue=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Me(){return(0,e.f3M)(e.soG)}});class z{constructor(){this._localeChanges=new v.x,this.localeChanges=this._localeChanges}getValidDateOrNull(je){return this.isDateInstance(je)&&this.isValid(je)?je:null}deserialize(je){return null==je||this.isDateInstance(je)&&this.isValid(je)?je:this.invalid()}setLocale(je){this.locale=je,this._localeChanges.next()}compareDate(je,Z){return this.getYear(je)-this.getYear(Z)||this.getMonth(je)-this.getMonth(Z)||this.getDate(je)-this.getDate(Z)}sameDate(je,Z){if(je&&Z){let $=this.isValid(je),oe=this.isValid(Z);return $&&oe?!this.compareDate(je,Z):$==oe}return je==Z}clampDate(je,Z,$){return Z&&this.compareDate(je,Z)<0?Z:$&&this.compareDate(je,$)>0?$:je}}const P=new e.OlP("mat-date-formats"),de=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ce(He,je){const Z=Array(He);for(let $=0;${class He extends z{constructor(Z,$){super(),this.useUtcForDisplay=!1,super.setLocale(Z)}getYear(Z){return Z.getFullYear()}getMonth(Z){return Z.getMonth()}getDate(Z){return Z.getDate()}getDayOfWeek(Z){return Z.getDay()}getMonthNames(Z){const $=new Intl.DateTimeFormat(this.locale,{month:Z,timeZone:"utc"});return Ce(12,oe=>this._format($,new Date(2017,oe,1)))}getDateNames(){const Z=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ce(31,$=>this._format(Z,new Date(2017,0,$+1)))}getDayOfWeekNames(Z){const $=new Intl.DateTimeFormat(this.locale,{weekday:Z,timeZone:"utc"});return Ce(7,oe=>this._format($,new Date(2017,0,oe+1)))}getYearName(Z){const $=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format($,Z)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Z){return this.getDate(this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z)+1,0))}clone(Z){return new Date(Z.getTime())}createDate(Z,$,oe){let nt=this._createDateWithOverflow(Z,$,oe);return nt.getMonth(),nt}today(){return new Date}parse(Z){return"number"==typeof Z?new Date(Z):Z?new Date(Date.parse(Z)):null}format(Z,$){if(!this.isValid(Z))throw Error("NativeDateAdapter: Cannot format invalid date.");const oe=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},$),{timeZone:"utc"}));return this._format(oe,Z)}addCalendarYears(Z,$){return this.addCalendarMonths(Z,12*$)}addCalendarMonths(Z,$){let oe=this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z)+$,this.getDate(Z));return this.getMonth(oe)!=((this.getMonth(Z)+$)%12+12)%12&&(oe=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),0)),oe}addCalendarDays(Z,$){return this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z),this.getDate(Z)+$)}toIso8601(Z){return[Z.getUTCFullYear(),this._2digit(Z.getUTCMonth()+1),this._2digit(Z.getUTCDate())].join("-")}deserialize(Z){if("string"==typeof Z){if(!Z)return null;if(de.test(Z)){let $=new Date(Z);if(this.isValid($))return $}}return super.deserialize(Z)}isDateInstance(Z){return Z instanceof Date}isValid(Z){return!isNaN(Z.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Z,$,oe){const nt=new Date;return nt.setFullYear(Z,$,oe),nt.setHours(0,0,0,0),nt}_2digit(Z){return("00"+Z).slice(-2)}_format(Z,$){const oe=new Date;return oe.setUTCFullYear($.getFullYear(),$.getMonth(),$.getDate()),oe.setUTCHours($.getHours(),$.getMinutes(),$.getSeconds(),$.getMilliseconds()),Z.format(oe)}}return He.\u0275fac=function(Z){return new(Z||He)(e.LFG(ue,8),e.LFG(_.t4))},He.\u0275prov=e.Yz7({token:He,factory:He.\u0275fac}),He})();const ce={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 fe=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({providers:[{provide:z,useClass:Pe}]}),He})(),Ze=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({providers:[{provide:P,useValue:ce}],imports:[[fe]]}),He})(),it=(()=>{class He{isErrorState(Z,$){return!!(Z&&Z.invalid&&(Z.touched||$&&$.submitted))}}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275prov=e.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Be=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275dir=e.lG2({type:He,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),He})();function ze(He,je,Z="mat"){He.changes.pipe((0,N.O)(He)).subscribe(({length:$})=>{Ue(je,`${Z}-2-line`,!1),Ue(je,`${Z}-3-line`,!1),Ue(je,`${Z}-multi-line`,!1),2===$||3===$?Ue(je,`${Z}-${$}-line`,!0):$>3&&Ue(je,`${Z}-multi-line`,!0)})}function Ue(He,je,Z){He.nativeElement.classList.toggle(je,Z)}let _e=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L],L]}),He})();class ae{constructor(je,Z,$){this._renderer=je,this.element=Z,this.config=$,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ae={enterDuration:225,exitDuration:150},Ne=(0,_.i$)({passive:!0}),V=["mousedown","touchstart"],H=["mouseup","mouseleave","touchend","touchcancel"];class D{constructor(je,Z,$,oe){this._target=je,this._ngZone=Z,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,oe.isBrowser&&(this._containerElement=(0,E.fI)($))}fadeInRipple(je,Z,$={}){const oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),nt=Object.assign(Object.assign({},Ae),$.animation);$.centered&&(je=oe.left+oe.width/2,Z=oe.top+oe.height/2);const ct=$.radius||function i(He,je,Z){const $=Math.max(Math.abs(He-Z.left),Math.abs(He-Z.right)),oe=Math.max(Math.abs(je-Z.top),Math.abs(je-Z.bottom));return Math.sqrt($*$+oe*oe)}(je,Z,oe),Rt=je-oe.left,mt=Z-oe.top,Tt=nt.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=Rt-ct+"px",ot.style.top=mt-ct+"px",ot.style.height=2*ct+"px",ot.style.width=2*ct+"px",null!=$.color&&(ot.style.backgroundColor=$.color),ot.style.transitionDuration=`${Tt}ms`,this._containerElement.appendChild(ot),function O(He){window.getComputedStyle(He).getPropertyValue("opacity")}(ot),ot.style.transform="scale(1)";const rt=new ae(this,ot,$);return rt.state=0,this._activeRipples.add(rt),$.persistent||(this._mostRecentTransientRipple=rt),this._runTimeoutOutsideZone(()=>{const lt=rt===this._mostRecentTransientRipple;rt.state=1,!$.persistent&&(!lt||!this._isPointerDown)&&rt.fadeOut()},Tt),rt}fadeOutRipple(je){const Z=this._activeRipples.delete(je);if(je===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!Z)return;const $=je.element,oe=Object.assign(Object.assign({},Ae),je.config.animation);$.style.transitionDuration=`${oe.exitDuration}ms`,$.style.opacity="0",je.state=2,this._runTimeoutOutsideZone(()=>{je.state=3,$.remove()},oe.exitDuration)}fadeOutAll(){this._activeRipples.forEach(je=>je.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(je=>{je.config.persistent||je.fadeOut()})}setupTriggerEvents(je){const Z=(0,E.fI)(je);!Z||Z===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Z,this._registerEvents(V))}handleEvent(je){"mousedown"===je.type?this._onMousedown(je):"touchstart"===je.type?this._onTouchStart(je):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(H),this._pointerUpEventsRegistered=!0)}_onMousedown(je){const Z=(0,b.X6)(je),$=this._lastTouchStartEvent&&Date.now(){!je.config.persistent&&(1===je.state||je.config.terminateOnPointerUp&&0===je.state)&&je.fadeOut()}))}_runTimeoutOutsideZone(je,Z=0){this._ngZone.runOutsideAngular(()=>setTimeout(je,Z))}_registerEvents(je){this._ngZone.runOutsideAngular(()=>{je.forEach(Z=>{this._triggerElement.addEventListener(Z,this,Ne)})})}_removeTriggerEvents(){this._triggerElement&&(V.forEach(je=>{this._triggerElement.removeEventListener(je,this,Ne)}),this._pointerUpEventsRegistered&&H.forEach(je=>{this._triggerElement.removeEventListener(je,this,Ne)}))}}const o=new e.OlP("mat-ripple-global-options");let u=(()=>{class He{constructor(Z,$,oe,nt,ct){this._elementRef=Z,this._animationMode=ct,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=nt||{},this._rippleRenderer=new D(this,$,Z,oe)}get disabled(){return this._disabled}set disabled(Z){Z&&this.fadeOutAllNonPersistent(),this._disabled=Z,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Z){this._trigger=Z,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(Z,$=0,oe){return"number"==typeof Z?this._rippleRenderer.fadeInRipple(Z,$,Object.assign(Object.assign({},this.rippleConfig),oe)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Z))}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_.t4),e.Y36(o,8),e.Y36(A.Qb,8))},He.\u0275dir=e.lG2({type:He,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Z,$){2&Z&&e.ekj("mat-ripple-unbounded",$.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"]}),He})(),l=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L],L]}),He})(),s=(()=>{class He{constructor(Z){this._animationMode=Z,this.state="unchecked",this.disabled=!1}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(A.Qb,8))},He.\u0275cmp=e.Xpm({type:He,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Z,$){2&Z&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===$.state)("mat-pseudo-checkbox-checked","checked"===$.state)("mat-pseudo-checkbox-disabled",$.disabled)("_mat-animation-noopable","NoopAnimations"===$._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(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}),He})(),n=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L]]}),He})();const t=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),f=new e.OlP("MatOptgroup");let Ye=0;class It{constructor(je,Z=!1){this.source=je,this.isUserInput=Z}}let jt=(()=>{class He{constructor(Z,$,oe,nt){this._element=Z,this._changeDetectorRef=$,this._parent=oe,this.group=nt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ye++,this.onSelectionChange=new e.vpe,this._stateChanges=new v.x}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(Z){this._disabled=(0,E.Ig)(Z)}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(Z,$){const oe=this._getHostElement();"function"==typeof oe.focus&&oe.focus($)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Z){(Z.keyCode===q.K5||Z.keyCode===q.L_)&&!(0,q.Vb)(Z)&&(this._selectViaInteraction(),Z.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 Z=this.viewValue;Z!==this._mostRecentViewValue&&(this._mostRecentViewValue=Z,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Z=!1){this.onSelectionChange.emit(new It(this,Z))}}return He.\u0275fac=function(Z){e.$Z()},He.\u0275dir=e.lG2({type:He,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),He})(),bt=(()=>{class He extends jt{constructor(Z,$,oe,nt){super(Z,$,oe,nt)}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(t,8),e.Y36(f,8))},He.\u0275cmp=e.Xpm({type:He,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Z,$){1&Z&&e.NdJ("click",function(){return $._selectViaInteraction()})("keydown",function(nt){return $._handleKeydown(nt)}),2&Z&&(e.Ikx("id",$.id),e.uIk("tabindex",$._getTabIndex())("aria-selected",$._getAriaSelected())("aria-disabled",$.disabled.toString()),e.ekj("mat-selected",$.selected)("mat-option-multiple",$.multiple)("mat-active",$.active)("mat-option-disabled",$.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:F,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(Z,$){1&Z&&(e.F$t(),e.YNc(0,Q,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,he,2,1,"span",2),e._UZ(4,"div",3)),2&Z&&(e.Q6J("ngIf",$.multiple),e.xp6(3),e.Q6J("ngIf",$.group&&$.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",$._getHostElement())("matRippleDisabled",$.disabled||$.disableRipple))},directives:[s,w.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;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}),He})();function Yt(He,je,Z){if(Z.length){let $=je.toArray(),oe=Z.toArray(),nt=0;for(let ct=0;ctZ+$?Math.max(0,He-$+je):Z}let Nt=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[l,w.ez,L,n]]}),He})()},86856:(qe,me,h)=>{"use strict";h.d(me,{Mq:()=>mt,hl:()=>Ht,FA:()=>at,nW:()=>ni});var e=h(15664),c=h(91314),g=h(47429),w=h(69808),_=h(5e3),b=h(47423),E=h(29071),v=h(90508),I=h(77579),N=h(50727),A=h(56451),q=h(39646),j=h(91159),G=h(95698),Q=h(68675),he=h(39300),F=h(50226),be=h(63191),pe=h(70925),ye=h(41777),T=h(93075),R=h(67322),L=h(98833);const X=["mat-calendar-body",""];function Y(Qe,yt){if(1&Qe&&(_.TgZ(0,"tr",2),_.TgZ(1,"td",3),_._uU(2),_.qZA(),_.qZA()),2&Qe){const U=_.oxw();_.xp6(1),_.Udp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),_.uIk("colspan",U.numCols),_.xp6(1),_.hij(" ",U.label," ")}}function se(Qe,yt){if(1&Qe&&(_.TgZ(0,"td",3),_._uU(1),_.qZA()),2&Qe){const U=_.oxw(2);_.Udp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),_.uIk("colspan",U._firstRowOffset),_.xp6(1),_.hij(" ",U._firstRowOffset>=U.labelMinRequiredCells?U.label:""," ")}}function Te(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"td",7),_.TgZ(1,"button",8),_.NdJ("click",function(_t){const ti=_.CHM(U).$implicit;return _.oxw(2)._cellClicked(ti,_t)}),_.TgZ(2,"div",9),_._uU(3),_.qZA(),_._UZ(4,"div",10),_.qZA(),_.qZA()}if(2&Qe){const U=yt.$implicit,Ge=yt.index,_t=_.oxw().index,Dt=_.oxw();_.Udp("width",Dt._cellWidth)("padding-top",Dt._cellPadding)("padding-bottom",Dt._cellPadding),_.uIk("data-mat-row",_t)("data-mat-col",Ge),_.xp6(1),_.ekj("mat-calendar-body-disabled",!U.enabled)("mat-calendar-body-active",Dt._isActiveCell(_t,Ge))("mat-calendar-body-range-start",Dt._isRangeStart(U.compareValue))("mat-calendar-body-range-end",Dt._isRangeEnd(U.compareValue))("mat-calendar-body-in-range",Dt._isInRange(U.compareValue))("mat-calendar-body-comparison-bridge-start",Dt._isComparisonBridgeStart(U.compareValue,_t,Ge))("mat-calendar-body-comparison-bridge-end",Dt._isComparisonBridgeEnd(U.compareValue,_t,Ge))("mat-calendar-body-comparison-start",Dt._isComparisonStart(U.compareValue))("mat-calendar-body-comparison-end",Dt._isComparisonEnd(U.compareValue))("mat-calendar-body-in-comparison-range",Dt._isInComparisonRange(U.compareValue))("mat-calendar-body-preview-start",Dt._isPreviewStart(U.compareValue))("mat-calendar-body-preview-end",Dt._isPreviewEnd(U.compareValue))("mat-calendar-body-in-preview",Dt._isInPreview(U.compareValue)),_.Q6J("ngClass",U.cssClasses)("tabindex",Dt._isActiveCell(_t,Ge)?0:-1),_.uIk("aria-label",U.ariaLabel)("aria-disabled",!U.enabled||null)("aria-pressed",Dt._isSelected(U.compareValue))("aria-current",Dt.todayValue===U.compareValue?"date":null),_.xp6(1),_.ekj("mat-calendar-body-selected",Dt._isSelected(U.compareValue))("mat-calendar-body-comparison-identical",Dt._isComparisonIdentical(U.compareValue))("mat-calendar-body-today",Dt.todayValue===U.compareValue),_.xp6(1),_.hij(" ",U.displayValue," ")}}function Oe(Qe,yt){if(1&Qe&&(_.TgZ(0,"tr",4),_.YNc(1,se,2,6,"td",5),_.YNc(2,Te,5,47,"td",6),_.qZA()),2&Qe){const U=yt.$implicit,Ge=yt.index,_t=_.oxw();_.xp6(1),_.Q6J("ngIf",0===Ge&&_t._firstRowOffset),_.xp6(1),_.Q6J("ngForOf",U)}}function Se(Qe,yt){if(1&Qe&&(_.TgZ(0,"th",5),_.TgZ(1,"span",6),_._uU(2),_.qZA(),_.TgZ(3,"span",7),_._uU(4),_.qZA(),_.qZA()),2&Qe){const U=yt.$implicit;_.xp6(2),_.Oqu(U.long),_.xp6(2),_.Oqu(U.narrow)}}const We=["*"];function ge(Qe,yt){}function Le(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-month-view",5),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("_userSelection",function(_t){return _.CHM(U),_.oxw()._dateSelected(_t)}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)("comparisonStart",U.comparisonStart)("comparisonEnd",U.comparisonEnd)}}function ue(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-year-view",6),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("monthSelected",function(_t){return _.CHM(U),_.oxw()._monthSelectedInYearView(_t)})("selectedChange",function(_t){return _.CHM(U),_.oxw()._goToDateInView(_t,"month")}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Me(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-multi-year-view",7),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("yearSelected",function(_t){return _.CHM(U),_.oxw()._yearSelectedInMultiYearView(_t)})("selectedChange",function(_t){return _.CHM(U),_.oxw()._goToDateInView(_t,"year")}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function z(Qe,yt){}const P=["button"];function de(Qe,yt){1&Qe&&(_.O4$(),_.TgZ(0,"svg",3),_._UZ(1,"path",4),_.qZA())}const Ce=[[["","matDatepickerToggleIcon",""]]],Pe=["[matDatepickerToggleIcon]"];class it{constructor(yt,U,Ge,_t,Dt={},ti=yt,si){this.value=yt,this.displayValue=U,this.ariaLabel=Ge,this.enabled=_t,this.cssClasses=Dt,this.compareValue=ti,this.rawValue=si}}let Be=(()=>{class Qe{constructor(U,Ge){this._elementRef=U,this._ngZone=Ge,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new _.vpe,this.previewChange=new _.vpe,this._enterHandler=_t=>{if(this._skipNextFocus&&"focus"===_t.type)this._skipNextFocus=!1;else if(_t.target&&this.isRange){const Dt=this._getCellFromElement(_t.target);Dt&&this._ngZone.run(()=>this.previewChange.emit({value:Dt.enabled?Dt:null,event:_t}))}},this._leaveHandler=_t=>{null!==this.previewEnd&&this.isRange&&_t.target&&this._getCellFromElement(_t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:_t}))},Ge.runOutsideAngular(()=>{const _t=U.nativeElement;_t.addEventListener("mouseenter",this._enterHandler,!0),_t.addEventListener("focus",this._enterHandler,!0),_t.addEventListener("mouseleave",this._leaveHandler,!0),_t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(U,Ge){U.enabled&&this.selectedValueChange.emit({value:U.value,event:Ge})}_isSelected(U){return this.startValue===U||this.endValue===U}ngOnChanges(U){const Ge=U.numCols,{rows:_t,numCols:Dt}=this;(U.rows||Ge)&&(this._firstRowOffset=_t&&_t.length&&_t[0].length?Dt-_t[0].length:0),(U.cellAspectRatio||Ge||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Dt+"%"),(Ge||!this._cellWidth)&&(this._cellWidth=100/Dt+"%")}ngOnDestroy(){const U=this._elementRef.nativeElement;U.removeEventListener("mouseenter",this._enterHandler,!0),U.removeEventListener("focus",this._enterHandler,!0),U.removeEventListener("mouseleave",this._leaveHandler,!0),U.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(U,Ge){let _t=U*this.numCols+Ge;return U&&(_t-=this._firstRowOffset),_t==this.activeCell}_focusActiveCell(U=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>{setTimeout(()=>{const Ge=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Ge&&(U||(this._skipNextFocus=!0),Ge.focus())})})})}_isRangeStart(U){return Ue(U,this.startValue,this.endValue)}_isRangeEnd(U){return _e(U,this.startValue,this.endValue)}_isInRange(U){return ae(U,this.startValue,this.endValue,this.isRange)}_isComparisonStart(U){return Ue(U,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(U,Ge,_t){if(!this._isComparisonStart(U)||this._isRangeStart(U)||!this._isInRange(U))return!1;let Dt=this.rows[Ge][_t-1];if(!Dt){const ti=this.rows[Ge-1];Dt=ti&&ti[ti.length-1]}return Dt&&!this._isRangeEnd(Dt.compareValue)}_isComparisonBridgeEnd(U,Ge,_t){if(!this._isComparisonEnd(U)||this._isRangeEnd(U)||!this._isInRange(U))return!1;let Dt=this.rows[Ge][_t+1];if(!Dt){const ti=this.rows[Ge+1];Dt=ti&&ti[0]}return Dt&&!this._isRangeStart(Dt.compareValue)}_isComparisonEnd(U){return _e(U,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(U){return ae(U,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(U){return this.comparisonStart===this.comparisonEnd&&U===this.comparisonStart}_isPreviewStart(U){return Ue(U,this.previewStart,this.previewEnd)}_isPreviewEnd(U){return _e(U,this.previewStart,this.previewEnd)}_isInPreview(U){return ae(U,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(U){let Ge;if(ze(U)?Ge=U:ze(U.parentNode)&&(Ge=U.parentNode),Ge){const _t=Ge.getAttribute("data-mat-row"),Dt=Ge.getAttribute("data-mat-col");if(_t&&Dt)return this.rows[parseInt(_t)][parseInt(Dt)]}return null}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(_.R0b))},Qe.\u0275cmp=_.Xpm({type:Qe,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:[_.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(U,Ge){1&U&&(_.YNc(0,Y,3,6,"tr",0),_.YNc(1,Oe,3,2,"tr",1)),2&U&&(_.Q6J("ngIf",Ge._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}),Qe})();function ze(Qe){return"TD"===Qe.nodeName}function Ue(Qe,yt,U){return null!==U&&yt!==U&&Qe=yt&&Qe===U}function ae(Qe,yt,U,Ge){return Ge&&null!==yt&&null!==U&&yt!==U&&Qe>=yt&&Qe<=U}class Ae{constructor(yt,U){this.start=yt,this.end=U}}let ee=(()=>{class Qe{constructor(U,Ge){this.selection=U,this._adapter=Ge,this._selectionChanged=new I.x,this.selectionChanged=this._selectionChanged,this.selection=U}updateSelection(U,Ge){const _t=this.selection;this.selection=U,this._selectionChanged.next({selection:U,source:Ge,oldValue:_t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(U){return this._adapter.isDateInstance(U)&&this._adapter.isValid(U)}}return Qe.\u0275fac=function(U){_.$Z()},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),Ne=(()=>{class Qe extends ee{constructor(U){super(null,U)}add(U){super.updateSelection(U,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const U=new Qe(this._adapter);return U.updateSelection(this.selection,this),U}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.LFG(v._A))},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})();const D={provide:ee,deps:[[new _.FiY,new _.tp0,ee],v._A],useFactory:function H(Qe,yt){return Qe||new Ne(yt)}},o=new _.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let t=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti){this._changeDetectorRef=U,this._dateFormats=Ge,this._dateAdapter=_t,this._dir=Dt,this._rangeStrategy=ti,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this._userSelection=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){const Ge=this._activeDate,_t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),this._hasSameMonthAndYear(Ge,this._activeDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnChanges(U){const Ge=U.comparisonStart||U.comparisonEnd;Ge&&!Ge.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(U){const Ge=U.value,_t=this._dateAdapter.getYear(this.activeDate),Dt=this._dateAdapter.getMonth(this.activeDate),ti=this._dateAdapter.createDate(_t,Dt,Ge);let si,Ii;this._selected instanceof Ae?(si=this._getDateInCurrentMonth(this._selected.start),Ii=this._getDateInCurrentMonth(this._selected.end)):si=Ii=this._getDateInCurrentMonth(this._selected),(si!==Ge||Ii!==Ge)&&this.selectedChange.emit(ti),this._userSelection.emit({value:ti,event:U.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case j.Ku:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case j.VM:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case j.K5:case j.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&U.preventDefault());case j.hY:return void(null!=this._previewEnd&&!(0,j.Vb)(U)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:U}),U.preventDefault(),U.stopPropagation()));default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:U}),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 U=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(U)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(U){this._matCalendarBody._focusActiveCell(U)}_previewChanged({event:U,value:Ge}){if(this._rangeStrategy){const Dt=this._rangeStrategy.createPreview(Ge?Ge.rawValue:null,this.selected,U);this._previewStart=this._getCellCompareValue(Dt.start),this._previewEnd=this._getCellCompareValue(Dt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const U=this._dateAdapter.getFirstDayOfWeek(),Ge=this._dateAdapter.getDayOfWeekNames("narrow");let Dt=this._dateAdapter.getDayOfWeekNames("long").map((ti,si)=>({long:ti,narrow:Ge[si]}));this._weekdays=Dt.slice(U).concat(Dt.slice(0,U))}_createWeekCells(){const U=this._dateAdapter.getNumDaysInMonth(this.activeDate),Ge=this._dateAdapter.getDateNames();this._weeks=[[]];for(let _t=0,Dt=this._firstWeekOffset;_t=0)&&(!this.maxDate||this._dateAdapter.compareDate(U,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(U))}_getDateInCurrentMonth(U){return U&&this._hasSameMonthAndYear(U,this.activeDate)?this._dateAdapter.getDate(U):null}_hasSameMonthAndYear(U,Ge){return!(!U||!Ge||this._dateAdapter.getMonth(U)!=this._dateAdapter.getMonth(Ge)||this._dateAdapter.getYear(U)!=this._dateAdapter.getYear(Ge))}_getCellCompareValue(U){if(U){const Ge=this._dateAdapter.getYear(U),_t=this._dateAdapter.getMonth(U),Dt=this._dateAdapter.getDate(U);return new Date(Ge,_t,Dt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(U){U instanceof Ae?(this._rangeStart=this._getCellCompareValue(U.start),this._rangeEnd=this._getCellCompareValue(U.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(U),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(U){return!this.dateFilter||this.dateFilter(U)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.sBO),_.Y36(v.sG,8),_.Y36(v._A,8),_.Y36(F.Is,8),_.Y36(o,8))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-month-view"]],viewQuery:function(U,Ge){if(1&U&&_.Gf(Be,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._matCalendarBody=_t.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:[_.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"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(U,Ge){1&U&&(_.TgZ(0,"table",0),_.TgZ(1,"thead",1),_.TgZ(2,"tr"),_.YNc(3,Se,5,2,"th",2),_.qZA(),_.TgZ(4,"tr"),_._UZ(5,"th",3),_.qZA(),_.qZA(),_.TgZ(6,"tbody",4),_.NdJ("selectedValueChange",function(Dt){return Ge._dateSelected(Dt)})("previewChange",function(Dt){return Ge._previewChanged(Dt)})("keyup",function(Dt){return Ge._handleCalendarBodyKeyup(Dt)})("keydown",function(Dt){return Ge._handleCalendarBodyKeydown(Dt)}),_.qZA(),_.qZA()),2&U&&(_.xp6(3),_.Q6J("ngForOf",Ge._weekdays),_.xp6(3),_.Q6J("label",Ge._monthLabel)("rows",Ge._weeks)("todayValue",Ge._todayDate)("startValue",Ge._rangeStart)("endValue",Ge._rangeEnd)("comparisonStart",Ge._comparisonRangeStart)("comparisonEnd",Ge._comparisonRangeEnd)("previewStart",Ge._previewStart)("previewEnd",Ge._previewEnd)("isRange",Ge._isRange)("labelMinRequiredCells",3)("activeCell",Ge._dateAdapter.getDate(Ge.activeDate)-1))},directives:[Be,w.sg],encapsulation:2,changeDetection:0}),Qe})();const r=24;let d=(()=>{class Qe{constructor(U,Ge,_t){this._changeDetectorRef=U,this._dateAdapter=Ge,this._dir=_t,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this.yearSelected=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){let Ge=this._activeDate;const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),f(this._dateAdapter,Ge,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedYear(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Ge=this._dateAdapter.getYear(this._activeDate)-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let _t=0,Dt=[];_tthis._createCellForYear(ti))),Dt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(U){const Ge=U.value;this.yearSelected.emit(this._dateAdapter.createDate(Ge,0,1));let _t=this._dateAdapter.getMonth(this.activeDate),Dt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Ge,_t,1));this.selectedChange.emit(this._dateAdapter.createDate(Ge,_t,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case j.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-240:-r);break;case j.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?240:r);break;case j.K5:case j.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_getActiveCell(){return x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(U){const Ge=this._dateAdapter.createDate(U,0,1),_t=this._dateAdapter.getYearName(Ge),Dt=this.dateClass?this.dateClass(Ge,"multi-year"):void 0;return new it(U,_t,_t,this._shouldEnableYear(U),Dt)}_shouldEnableYear(U){if(null==U||this.maxDate&&U>this._dateAdapter.getYear(this.maxDate)||this.minDate&&U{class Qe{constructor(U,Ge,_t,Dt){this._changeDetectorRef=U,this._dateFormats=Ge,this._dateAdapter=_t,this._dir=Dt,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this.monthSelected=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){let Ge=this._activeDate;const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),this._dateAdapter.getYear(Ge)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedMonth(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(U){const Ge=U.value,_t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ge,1);this.monthSelected.emit(_t);const Dt=this._dateAdapter.getNumDaysInMonth(_t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ge,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case j.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-10:-1);break;case j.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10:1);break;case j.K5:case j.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let U=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Ge=>Ge.map(_t=>this._createCellForMonth(_t,U[_t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(U){return U&&this._dateAdapter.getYear(U)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(U):null}_createCellForMonth(U,Ge){const _t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Dt=this._dateAdapter.format(_t,this._dateFormats.display.monthYearA11yLabel),ti=this.dateClass?this.dateClass(_t,"year"):void 0;return new it(U,Ge.toLocaleUpperCase(),Dt,this._shouldEnableMonth(U),ti)}_shouldEnableMonth(U){const Ge=this._dateAdapter.getYear(this.activeDate);if(null==U||this._isYearAndMonthAfterMaxDate(Ge,U)||this._isYearAndMonthBeforeMinDate(Ge,U))return!1;if(!this.dateFilter)return!0;for(let Dt=this._dateAdapter.createDate(Ge,U,1);this._dateAdapter.getMonth(Dt)==U;Dt=this._dateAdapter.addCalendarDays(Dt,1))if(this.dateFilter(Dt))return!0;return!1}_isYearAndMonthAfterMaxDate(U,Ge){if(this.maxDate){const _t=this._dateAdapter.getYear(this.maxDate),Dt=this._dateAdapter.getMonth(this.maxDate);return U>_t||U===_t&&Ge>Dt}return!1}_isYearAndMonthBeforeMinDate(U,Ge){if(this.minDate){const _t=this._dateAdapter.getYear(this.minDate),Dt=this._dateAdapter.getMonth(this.minDate);return U<_t||U===_t&&Ge{class Qe{constructor(){this.changes=new I.x,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(U,Ge){return`${U} \u2013 ${Ge}`}}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),Yt=0,Ct=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti){this._intl=U,this.calendar=Ge,this._dateAdapter=_t,this._dateFormats=Dt,this._buttonDescriptionId="mat-calendar-button-"+Yt++,this.calendar.stateChanges.subscribe(()=>ti.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 Ge=this._dateAdapter.getYear(this.calendar.activeDate)-x(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),_t=Ge+r-1,Dt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Ge,0,1)),ti=this._dateAdapter.getYearName(this._dateAdapter.createDate(_t,0,1));return this._intl.formatYearRange(Dt,ti)}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:-r)}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:r)}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(U,Ge){return"month"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(Ge)&&this._dateAdapter.getMonth(U)==this._dateAdapter.getMonth(Ge):"year"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(Ge):f(this._dateAdapter,U,Ge,this.calendar.minDate,this.calendar.maxDate)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36((0,_.Gpc)(()=>Nt)),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(_.sBO))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:We,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","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(U,Ge){1&U&&(_.F$t(),_.TgZ(0,"div",0),_.TgZ(1,"div",1),_.TgZ(2,"button",2),_.NdJ("click",function(){return Ge.currentPeriodClicked()}),_.TgZ(3,"span"),_._uU(4),_.qZA(),_.O4$(),_.TgZ(5,"svg",3),_._UZ(6,"polygon",4),_.qZA(),_.qZA(),_.kcU(),_._UZ(7,"div",5),_.Hsn(8),_.TgZ(9,"button",6),_.NdJ("click",function(){return Ge.previousClicked()}),_.qZA(),_.TgZ(10,"button",7),_.NdJ("click",function(){return Ge.nextClicked()}),_.qZA(),_.qZA(),_.qZA()),2&U&&(_.xp6(2),_.uIk("aria-label",Ge.periodButtonLabel)("aria-describedby",Ge._buttonDescriptionId),_.xp6(1),_.uIk("id",Ge._buttonDescriptionId),_.xp6(1),_.Oqu(Ge.periodButtonText),_.xp6(1),_.ekj("mat-calendar-invert","month"!==Ge.calendar.currentView),_.xp6(4),_.Q6J("disabled",!Ge.previousEnabled()),_.uIk("aria-label",Ge.prevButtonLabel),_.xp6(1),_.Q6J("disabled",!Ge.nextEnabled()),_.uIk("aria-label",Ge.nextButtonLabel))},directives:[b.lW],encapsulation:2,changeDetection:0}),Qe})(),Nt=(()=>{class Qe{constructor(U,Ge,_t,Dt){this._dateAdapter=Ge,this._dateFormats=_t,this._changeDetectorRef=Dt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new _.vpe,this.yearSelected=new _.vpe,this.monthSelected=new _.vpe,this.viewChanged=new _.vpe(!0),this._userSelection=new _.vpe,this.stateChanges=new I.x,this._intlChanges=U.changes.subscribe(()=>{Dt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get activeDate(){return this._clampedActiveDate}set activeDate(U){this._clampedActiveDate=this._dateAdapter.clampDate(U,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(U){const Ge=this._currentView!==U?U:null;this._currentView=U,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Ge&&this.viewChanged.emit(Ge)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||Ct),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(U){const Ge=U.minDate&&!this._dateAdapter.sameDate(U.minDate.previousValue,U.minDate.currentValue)?U.minDate:void 0,_t=U.maxDate&&!this._dateAdapter.sameDate(U.maxDate.previousValue,U.maxDate.currentValue)?U.maxDate:void 0,Dt=Ge||_t||U.dateFilter;if(Dt&&!Dt.firstChange){const ti=this._getCurrentViewComponent();ti&&(this._changeDetectorRef.detectChanges(),ti._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(U){const Ge=U.value;(this.selected instanceof Ae||Ge&&!this._dateAdapter.sameDate(Ge,this.selected))&&this.selectedChange.emit(Ge),this._userSelection.emit(U)}_yearSelectedInMultiYearView(U){this.yearSelected.emit(U)}_monthSelectedInYearView(U){this.monthSelected.emit(U)}_goToDateInView(U,Ge){this.activeDate=U,this.currentView=Ge}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(_.sBO))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-calendar"]],viewQuery:function(U,Ge){if(1&U&&(_.Gf(t,5),_.Gf(jt,5),_.Gf(d,5)),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge.monthView=_t.first),_.iGM(_t=_.CRH())&&(Ge.yearView=_t.first),_.iGM(_t=_.CRH())&&(Ge.multiYearView=_t.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:[_._Bn([D]),_.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(U,Ge){1&U&&(_.YNc(0,ge,0,0,"ng-template",0),_.TgZ(1,"div",1),_.YNc(2,Le,1,8,"mat-month-view",2),_.YNc(3,ue,1,6,"mat-year-view",3),_.YNc(4,Me,1,6,"mat-multi-year-view",4),_.qZA()),2&U&&(_.Q6J("cdkPortalOutlet",Ge._calendarHeaderPortal),_.xp6(1),_.Q6J("ngSwitch",Ge.currentView),_.xp6(1),_.Q6J("ngSwitchCase","month"),_.xp6(1),_.Q6J("ngSwitchCase","year"),_.xp6(1),_.Q6J("ngSwitchCase","multi-year"))},directives:[t,jt,d,g.Pl,e.kH,w.RF,w.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}),Qe})();const He={transformPanel:(0,ye.X$)("transformPanel",[(0,ye.eR)("void => enter-dropdown",(0,ye.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ye.F4)([(0,ye.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ye.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ye.eR)("void => enter-dialog",(0,ye.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ye.F4)([(0,ye.oB)({opacity:0,transform:"scale(0.7)"}),(0,ye.oB)({transform:"none",opacity:1})]))),(0,ye.eR)("* => void",(0,ye.jt)("100ms linear",(0,ye.oB)({opacity:0})))]),fadeInCalendar:(0,ye.X$)("fadeInCalendar",[(0,ye.SB)("void",(0,ye.oB)({opacity:0})),(0,ye.SB)("enter",(0,ye.oB)({opacity:1})),(0,ye.eR)("void => *",(0,ye.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let je=0;const Z=new _.OlP("mat-datepicker-scroll-strategy"),oe={provide:Z,deps:[c.aV],useFactory:function $(Qe){return()=>Qe.scrollStrategies.reposition()}},nt=(0,v.pj)(class{constructor(Qe){this._elementRef=Qe}});let ct=(()=>{class Qe extends nt{constructor(U,Ge,_t,Dt,ti,si){super(U),this._changeDetectorRef=Ge,this._globalModel=_t,this._dateAdapter=Dt,this._rangeSelectionStrategy=ti,this._subscriptions=new N.w0,this._animationDone=new I.x,this._actionsPortal=null,this._closeButtonText=si.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(U){const Ge=this._model.selection,_t=U.value,Dt=Ge instanceof Ae;if(Dt&&this._rangeSelectionStrategy){const ti=this._rangeSelectionStrategy.selectionFinished(_t,Ge,U.event);this._model.updateSelection(ti,this)}else _t&&(Dt||!this._dateAdapter.sameDate(_t,Ge))&&this._model.add(_t);(!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 Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ee),_.Y36(v._A),_.Y36(o,8),_.Y36(bt))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker-content"]],viewQuery:function(U,Ge){if(1&U&&_.Gf(Nt,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._calendar=_t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(U,Ge){1&U&&_.WFA("@transformPanel.done",function(){return Ge._animationDone.next()}),2&U&&(_.d8E("@transformPanel",Ge._animationState),_.ekj("mat-datepicker-content-touch",Ge.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[_.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(U,Ge){if(1&U&&(_.TgZ(0,"div",0),_.TgZ(1,"mat-calendar",1),_.NdJ("yearSelected",function(Dt){return Ge.datepicker._selectYear(Dt)})("monthSelected",function(Dt){return Ge.datepicker._selectMonth(Dt)})("viewChanged",function(Dt){return Ge.datepicker._viewChanged(Dt)})("_userSelection",function(Dt){return Ge._handleUserSelection(Dt)}),_.qZA(),_.YNc(2,z,0,0,"ng-template",2),_.TgZ(3,"button",3),_.NdJ("focus",function(){return Ge._closeButtonFocused=!0})("blur",function(){return Ge._closeButtonFocused=!1})("click",function(){return Ge.datepicker.close()}),_._uU(4),_.qZA(),_.qZA()),2&U){let _t;_.ekj("mat-datepicker-content-container-with-custom-header",Ge.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ge._actionsPortal),_.uIk("aria-modal",!0)("aria-labelledby",null!==(_t=Ge._dialogLabelId)&&void 0!==_t?_t:void 0),_.xp6(1),_.Q6J("id",Ge.datepicker.id)("ngClass",Ge.datepicker.panelClass)("startAt",Ge.datepicker.startAt)("startView",Ge.datepicker.startView)("minDate",Ge.datepicker._getMinDate())("maxDate",Ge.datepicker._getMaxDate())("dateFilter",Ge.datepicker._getDateFilter())("headerComponent",Ge.datepicker.calendarHeaderComponent)("selected",Ge._getSelected())("dateClass",Ge.datepicker.dateClass)("comparisonStart",Ge.comparisonStart)("comparisonEnd",Ge.comparisonEnd)("@fadeInCalendar","enter"),_.xp6(1),_.Q6J("cdkPortalOutlet",Ge._actionsPortal),_.xp6(1),_.ekj("cdk-visually-hidden",!Ge._closeButtonFocused),_.Q6J("color",Ge.color||"primary"),_.xp6(1),_.Oqu(Ge._closeButtonText)}},directives:[Nt,b.lW,e.mK,w.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:[He.transformPanel,He.fadeInCalendar]},changeDetection:0}),Qe})(),Rt=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti,si,Ii){this._overlay=U,this._ngZone=Ge,this._viewContainerRef=_t,this._dateAdapter=ti,this._dir=si,this._model=Ii,this._inputStateChanges=N.w0.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new _.vpe,this.monthSelected=new _.vpe,this.viewChanged=new _.vpe(!0),this.openedStream=new _.vpe,this.closedStream=new _.vpe,this._opened=!1,this.id="mat-datepicker-"+je++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new I.x,this._scrollStrategy=Dt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(U){this._color=U}get touchUi(){return this._touchUi}set touchUi(U){this._touchUi=(0,be.Ig)(U)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(U){const Ge=(0,be.Ig)(U);Ge!==this._disabled&&(this._disabled=Ge,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(U){this._restoreFocus=(0,be.Ig)(U)}get panelClass(){return this._panelClass}set panelClass(U){this._panelClass=(0,be.du)(U)}get opened(){return this._opened}set opened(U){(0,be.Ig)(U)?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(U){const Ge=U.xPosition||U.yPosition;if(Ge&&!Ge.firstChange&&this._overlayRef){const _t=this._overlayRef.getConfig().positionStrategy;_t instanceof c._G&&(this._setConnectedPositions(_t),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(U){this._model.add(U)}_selectYear(U){this.yearSelected.emit(U)}_selectMonth(U){this.monthSelected.emit(U)}_viewChanged(U){this.viewChanged.emit(U)}registerInput(U){return this._inputStateChanges.unsubscribe(),this.datepickerInput=U,this._inputStateChanges=U.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(U){this._actionsPortal=U}removeActions(U){U===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,pe.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Ge=this._componentRef.instance;Ge._startExitAnimation(),Ge._animationDone.pipe((0,G.q)(1)).subscribe(()=>this._destroyOverlay())}const U=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(U)):U()}_applyPendingSelection(){var U,Ge;null===(Ge=null===(U=this._componentRef)||void 0===U?void 0:U.instance)||void 0===Ge||Ge._applyPendingSelection()}_forwardContentValues(U){U.datepicker=this,U.color=this.color,U._actionsPortal=this._actionsPortal,U._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const U=this.touchUi,Ge=new g.C5(ct,this._viewContainerRef),_t=this._overlayRef=this._overlay.create(new c.X_({positionStrategy:U?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[U?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:U?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(U?"dialog":"popup")}));this._getCloseStream(_t).subscribe(Dt=>{Dt&&Dt.preventDefault(),this.close()}),_t.keydownEvents().subscribe(Dt=>{const ti=Dt.keyCode;(ti===j.LH||ti===j.JH||ti===j.oh||ti===j.SV||ti===j.Ku||ti===j.VM)&&Dt.preventDefault()}),this._componentRef=_t.attach(Ge),this._forwardContentValues(this._componentRef.instance),U||this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>_t.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const U=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(U)}_setConnectedPositions(U){const Ge="end"===this.xPosition?"end":"start",_t="start"===Ge?"end":"start",Dt="above"===this.yPosition?"bottom":"top",ti="top"===Dt?"bottom":"top";return U.withPositions([{originX:Ge,originY:ti,overlayX:Ge,overlayY:Dt},{originX:Ge,originY:Dt,overlayX:Ge,overlayY:ti},{originX:_t,originY:ti,overlayX:_t,overlayY:Dt},{originX:_t,originY:Dt,overlayX:_t,overlayY:ti}])}_getCloseStream(U){return(0,A.T)(U.backdropClick(),U.detachments(),U.keydownEvents().pipe((0,he.h)(Ge=>Ge.keyCode===j.hY&&!(0,j.Vb)(Ge)||this.datepickerInput&&(0,j.Vb)(Ge,"altKey")&&Ge.keyCode===j.LH)))}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(c.aV),_.Y36(_.R0b),_.Y36(_.s_b),_.Y36(Z),_.Y36(v._A,8),_.Y36(F.Is,8),_.Y36(ee))},Qe.\u0275dir=_.lG2({type:Qe,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:[_.TTD]}),Qe})(),mt=(()=>{class Qe extends Rt{}return Qe.\u0275fac=function(){let yt;return function(Ge){return(yt||(yt=_.n5z(Qe)))(Ge||Qe)}}(),Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[_._Bn([D,{provide:Rt,useExisting:Qe}]),_.qOj],decls:0,vars:0,template:function(U,Ge){},encapsulation:2,changeDetection:0}),Qe})();class Tt{constructor(yt,U){this.target=yt,this.targetElement=U,this.value=this.target.value}}let ot=(()=>{class Qe{constructor(U,Ge,_t){this._elementRef=U,this._dateAdapter=Ge,this._dateFormats=_t,this.dateChange=new _.vpe,this.dateInput=new _.vpe,this.stateChanges=new I.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=N.w0.EMPTY,this._localeSubscription=N.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value));return!ti||this._matchesFilter(ti)?null:{matDatepickerFilter:!0}},this._minValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),si=this._getMinDate();return!si||!ti||this._dateAdapter.compareDate(si,ti)<=0?null:{matDatepickerMin:{min:si,actual:ti}}},this._maxValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),si=this._getMaxDate();return!si||!ti||this._dateAdapter.compareDate(si,ti)>=0?null:{matDatepickerMax:{max:si,actual:ti}}},this._lastValueValid=!1,this._localeSubscription=Ge.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(U){this._assignValueProgrammatically(U)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(U){const Ge=(0,be.Ig)(U),_t=this._elementRef.nativeElement;this._disabled!==Ge&&(this._disabled=Ge,this.stateChanges.next(void 0)),Ge&&this._isInitialized&&_t.blur&&_t.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(U){this._model=U,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Ge=>{if(this._shouldHandleChangeEvent(Ge)){const _t=this._getValueFromModel(Ge.selection);this._lastValueValid=this._isValidValue(_t),this._cvaOnChange(_t),this._onTouched(),this._formatValue(_t),this.dateInput.emit(new Tt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Tt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(U){(function rt(Qe,yt){const U=Object.keys(Qe);for(let Ge of U){const{previousValue:_t,currentValue:Dt}=Qe[Ge];if(!yt.isDateInstance(_t)||!yt.isDateInstance(Dt))return!0;if(!yt.sameDate(_t,Dt))return!0}return!1})(U,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(U){this._validatorOnChange=U}validate(U){return this._validator?this._validator(U):null}writeValue(U){this._assignValueProgrammatically(U)}registerOnChange(U){this._cvaOnChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U}_onKeydown(U){U.altKey&&U.keyCode===j.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),U.preventDefault())}_onInput(U){const Ge=this._lastValueValid;let _t=this._dateAdapter.parse(U,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(_t),_t=this._dateAdapter.getValidDateOrNull(_t);const Dt=!this._dateAdapter.sameDate(_t,this.value);!_t||Dt?this._cvaOnChange(_t):(U&&!this.value&&this._cvaOnChange(_t),Ge!==this._lastValueValid&&this._validatorOnChange()),Dt&&(this._assignValue(_t),this.dateInput.emit(new Tt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Tt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(U){this._elementRef.nativeElement.value=null!=U?this._dateAdapter.format(U,this._dateFormats.display.dateInput):""}_assignValue(U){this._model?(this._assignValueToModel(U),this._pendingValue=null):this._pendingValue=U}_isValidValue(U){return!U||this._dateAdapter.isValid(U)}_parentDisabled(){return!1}_assignValueProgrammatically(U){U=this._dateAdapter.deserialize(U),this._lastValueValid=this._isValidValue(U),U=this._dateAdapter.getValidDateOrNull(U),this._assignValue(U),this._formatValue(U)}_matchesFilter(U){const Ge=this._getDateFilter();return!Ge||Ge(U)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(v._A,8),_.Y36(v.sG,8))},Qe.\u0275dir=_.lG2({type:Qe,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[_.TTD]}),Qe})();const lt={provide:T.JU,useExisting:(0,_.Gpc)(()=>Ht),multi:!0},ut={provide:T.Cf,useExisting:(0,_.Gpc)(()=>Ht),multi:!0};let Ht=(()=>{class Qe extends ot{constructor(U,Ge,_t,Dt){super(U,Ge,_t),this._formField=Dt,this._closedSubscription=N.w0.EMPTY,this._validator=T.kI.compose(super._getValidators())}set matDatepicker(U){U&&(this._datepicker=U,this._closedSubscription=U.closedStream.subscribe(()=>this._onTouched()),this._registerModel(U.registerInput(this)))}get min(){return this._min}set min(U){const Ge=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(Ge,this._min)||(this._min=Ge,this._validatorOnChange())}get max(){return this._max}set max(U){const Ge=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(Ge,this._max)||(this._max=Ge,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(U){const Ge=this._matchesFilter(this.value);this._dateFilter=U,this._matchesFilter(this.value)!==Ge&&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(U){return U}_assignValueToModel(U){this._model&&this._model.updateSelection(U,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(U){return U.source!==this}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(R.G_,8))},Qe.\u0275dir=_.lG2({type:Qe,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(U,Ge){1&U&&_.NdJ("input",function(Dt){return Ge._onInput(Dt.target.value)})("change",function(){return Ge._onChange()})("blur",function(){return Ge._onBlur()})("keydown",function(Dt){return Ge._onKeydown(Dt)}),2&U&&(_.Ikx("disabled",Ge.disabled),_.uIk("aria-haspopup",Ge._datepicker?"dialog":null)("aria-owns",(null==Ge._datepicker?null:Ge._datepicker.opened)&&Ge._datepicker.id||null)("min",Ge.min?Ge._dateAdapter.toIso8601(Ge.min):null)("max",Ge.max?Ge._dateAdapter.toIso8601(Ge.max):null)("data-mat-calendar",Ge._datepicker?Ge._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[_._Bn([lt,ut,{provide:L.Jk,useExisting:Qe}]),_.qOj]}),Qe})(),Qt=(()=>{class Qe{}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275dir=_.lG2({type:Qe,selectors:[["","matDatepickerToggleIcon",""]]}),Qe})(),ni=(()=>{class Qe{constructor(U,Ge,_t){this._intl=U,this._changeDetectorRef=Ge,this._stateChanges=N.w0.EMPTY;const Dt=Number(_t);this.tabIndex=Dt||0===Dt?Dt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(U){this._disabled=(0,be.Ig)(U)}ngOnChanges(U){U.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(U){this.datepicker&&!this.disabled&&(this.datepicker.open(),U.stopPropagation())}_watchStateChanges(){const U=this.datepicker?this.datepicker.stateChanges:(0,q.of)(),Ge=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,q.of)(),_t=this.datepicker?(0,A.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,q.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,A.T)(this._intl.changes,U,Ge,_t).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36(_.sBO),_.$8M("tabindex"))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker-toggle"]],contentQueries:function(U,Ge,_t){if(1&U&&_.Suo(_t,Qt,5),2&U){let Dt;_.iGM(Dt=_.CRH())&&(Ge._customIcon=Dt.first)}},viewQuery:function(U,Ge){if(1&U&&_.Gf(P,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._button=_t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(U,Ge){1&U&&_.NdJ("click",function(Dt){return Ge._open(Dt)}),2&U&&(_.uIk("tabindex",null)("data-mat-calendar",Ge.datepicker?Ge.datepicker.id:null),_.ekj("mat-datepicker-toggle-active",Ge.datepicker&&Ge.datepicker.opened)("mat-accent",Ge.datepicker&&"accent"===Ge.datepicker.color)("mat-warn",Ge.datepicker&&"warn"===Ge.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[_.TTD],ngContentSelectors:Pe,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(U,Ge){1&U&&(_.F$t(Ce),_.TgZ(0,"button",0,1),_.YNc(2,de,2,0,"svg",2),_.Hsn(3),_.qZA()),2&U&&(_.Q6J("disabled",Ge.disabled)("disableRipple",Ge.disableRipple),_.uIk("aria-haspopup",Ge.datepicker?"dialog":null)("aria-label",Ge.ariaLabel||Ge._intl.openCalendarLabel)("tabindex",Ge.disabled?-1:Ge.tabIndex),_.xp6(2),_.Q6J("ngIf",!Ge._customIcon))},directives:[b.lW,w.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}),Qe})(),at=(()=>{class Qe{}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275mod=_.oAB({type:Qe}),Qe.\u0275inj=_.cJS({providers:[bt,oe],imports:[[w.ez,b.ot,c.U8,e.rt,g.eL,v.BQ],E.ZD]}),Qe})()},48966:(qe,me,h)=>{"use strict";h.d(me,{WI:()=>Te,uw:()=>Me,H8:()=>ce,vA:()=>pe,xY:()=>Pe,Is:()=>Ze,so:()=>Y,uh:()=>Ce});var e=h(91314),c=h(47429),g=h(5e3),w=h(90508),_=h(50226),b=h(77579),E=h(49770),v=h(39646),I=h(39300),N=h(95698),A=h(68675),q=h(70925),j=h(69808),G=h(41777),Q=h(15664),he=h(91159),F=h(76360);function be(ne,it){}class pe{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ye={dialogContainer:(0,G.X$)("dialogContainer",[(0,G.SB)("void, exit",(0,G.oB)({opacity:0,transform:"scale(0.7)"})),(0,G.SB)("enter",(0,G.oB)({transform:"none"})),(0,G.eR)("* => enter",(0,G.ru)([(0,G.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,G.oB)({transform:"none",opacity:1})),(0,G.IO)("@*",(0,G.pV)(),{optional:!0})])),(0,G.eR)("* => void, * => exit",(0,G.ru)([(0,G.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,G.oB)({opacity:0})),(0,G.IO)("@*",(0,G.pV)(),{optional:!0})]))])};let R=(()=>{class ne extends c.en{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne){super(),this._elementRef=Be,this._focusTrapFactory=ze,this._changeDetectorRef=Ue,this._config=ae,this._interactivityChecker=Ae,this._ngZone=ee,this._focusMonitor=Ne,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=V=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(V)),this._ariaLabelledBy=ae.ariaLabelledBy||null,this._document=_e}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,q.ht)())}attachComponentPortal(Be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(Be)}attachTemplatePortal(Be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(Be)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Be,ze){this._interactivityChecker.isFocusable(Be)||(Be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ue=()=>{Be.removeEventListener("blur",Ue),Be.removeEventListener("mousedown",Ue),Be.removeAttribute("tabindex")};Be.addEventListener("blur",Ue),Be.addEventListener("mousedown",Ue)})),Be.focus(ze)}_focusByCssSelector(Be,ze){let Ue=this._elementRef.nativeElement.querySelector(Be);Ue&&this._forceFocus(Ue,ze)}_trapFocus(){const Be=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Be.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ze=>{ze||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 Be=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&Be&&"function"==typeof Be.focus){const ze=(0,q.ht)(),Ue=this._elementRef.nativeElement;(!ze||ze===this._document.body||ze===Ue||Ue.contains(ze))&&(this._focusMonitor?(this._focusMonitor.focusVia(Be,this._closeInteractionType),this._closeInteractionType=null):Be.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Be=this._elementRef.nativeElement,ze=(0,q.ht)();return Be===ze||Be.contains(ze)}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.Y36(g.SBq),g.Y36(Q.qV),g.Y36(g.sBO),g.Y36(j.K0,8),g.Y36(pe),g.Y36(Q.ic),g.Y36(g.R0b),g.Y36(Q.tE))},ne.\u0275dir=g.lG2({type:ne,viewQuery:function(Be,ze){if(1&Be&&g.Gf(c.Pl,7),2&Be){let Ue;g.iGM(Ue=g.CRH())&&(ze._portalOutlet=Ue.first)}},features:[g.qOj]}),ne})(),L=(()=>{class ne extends R{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:Be,totalTime:ze}){"enter"===Be?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ze})):"exit"===Be&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ze}))}_onAnimationStart({toState:Be,totalTime:ze}){"enter"===Be?this._animationStateChanged.next({state:"opening",totalTime:ze}):("exit"===Be||"void"===Be)&&this._animationStateChanged.next({state:"closing",totalTime:ze})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ne.\u0275fac=function(){let it;return function(ze){return(it||(it=g.n5z(ne)))(ze||ne)}}(),ne.\u0275cmp=g.Xpm({type:ne,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(Be,ze){1&Be&&g.WFA("@dialogContainer.start",function(_e){return ze._onAnimationStart(_e)})("@dialogContainer.done",function(_e){return ze._onAnimationDone(_e)}),2&Be&&(g.Ikx("id",ze._id),g.uIk("role",ze._config.role)("aria-labelledby",ze._config.ariaLabel?null:ze._ariaLabelledBy)("aria-label",ze._config.ariaLabel)("aria-describedby",ze._config.ariaDescribedBy||null),g.d8E("@dialogContainer",ze._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Be,ze){1&Be&&g.YNc(0,be,0,0,"ng-template",0)},directives:[c.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:[ye.dialogContainer]}}),ne})(),X=0;class Y{constructor(it,Be,ze="mat-dialog-"+X++){this._overlayRef=it,this._containerInstance=Be,this.id=ze,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new b.x,this._afterClosed=new b.x,this._beforeClosed=new b.x,this._state=0,Be._id=ze,Be._animationStateChanged.pipe((0,I.h)(Ue=>"opened"===Ue.state),(0,N.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Be._animationStateChanged.pipe((0,I.h)(Ue=>"closed"===Ue.state),(0,N.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),it.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),it.keydownEvents().pipe((0,I.h)(Ue=>Ue.keyCode===he.hY&&!this.disableClose&&!(0,he.Vb)(Ue))).subscribe(Ue=>{Ue.preventDefault(),se(this,"keyboard")}),it.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():se(this,"mouse")})}close(it){this._result=it,this._containerInstance._animationStateChanged.pipe((0,I.h)(Be=>"closing"===Be.state),(0,N.q)(1)).subscribe(Be=>{this._beforeClosed.next(it),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Be.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(it){let Be=this._getPositionStrategy();return it&&(it.left||it.right)?it.left?Be.left(it.left):Be.right(it.right):Be.centerHorizontally(),it&&(it.top||it.bottom)?it.top?Be.top(it.top):Be.bottom(it.bottom):Be.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(it="",Be=""){return this._overlayRef.updateSize({width:it,height:Be}),this._overlayRef.updatePosition(),this}addPanelClass(it){return this._overlayRef.addPanelClass(it),this}removePanelClass(it){return this._overlayRef.removePanelClass(it),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function se(ne,it,Be){return void 0!==ne._containerInstance&&(ne._containerInstance._closeInteractionType=it),ne.close(Be)}const Te=new g.OlP("MatDialogData"),Oe=new g.OlP("mat-dialog-default-options"),Se=new g.OlP("mat-dialog-scroll-strategy"),Le={provide:Se,deps:[e.aV],useFactory:function ge(ne){return()=>ne.scrollStrategies.block()}};let ue=(()=>{class ne{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne,V,H){this._overlay=Be,this._injector=ze,this._defaultOptions=Ue,this._parentDialog=_e,this._overlayContainer=ae,this._dialogRefConstructor=ee,this._dialogContainerType=Ne,this._dialogDataToken=V,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new b.x,this._afterOpenedAtThisLevel=new b.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,E.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.O)(void 0))),this._scrollStrategy=Ae}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Be=this._parentDialog;return Be?Be._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(Be,ze){ze=function z(ne,it){return Object.assign(Object.assign({},it),ne)}(ze,this._defaultOptions||new pe),ze.id&&this.getDialogById(ze.id);const Ue=this._createOverlay(ze),_e=this._attachDialogContainer(Ue,ze),ae=this._attachDialogContent(Be,_e,Ue,ze);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ae),ae.afterClosed().subscribe(()=>this._removeOpenDialog(ae)),this.afterOpened.next(ae),_e._initializeWithAttachedContent(),ae}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Be){return this.openDialogs.find(ze=>ze.id===Be)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(Be){const ze=this._getOverlayConfig(Be);return this._overlay.create(ze)}_getOverlayConfig(Be){const ze=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:Be.scrollStrategy||this._scrollStrategy(),panelClass:Be.panelClass,hasBackdrop:Be.hasBackdrop,direction:Be.direction,minWidth:Be.minWidth,minHeight:Be.minHeight,maxWidth:Be.maxWidth,maxHeight:Be.maxHeight,disposeOnNavigation:Be.closeOnNavigation});return Be.backdropClass&&(ze.backdropClass=Be.backdropClass),ze}_attachDialogContainer(Be,ze){const _e=g.zs3.create({parent:ze&&ze.viewContainerRef&&ze.viewContainerRef.injector||this._injector,providers:[{provide:pe,useValue:ze}]}),ae=new c.C5(this._dialogContainerType,ze.viewContainerRef,_e,ze.componentFactoryResolver);return Be.attach(ae).instance}_attachDialogContent(Be,ze,Ue,_e){const ae=new this._dialogRefConstructor(Ue,ze,_e.id);if(Be instanceof g.Rgc)ze.attachTemplatePortal(new c.UE(Be,null,{$implicit:_e.data,dialogRef:ae}));else{const Ae=this._createInjector(_e,ae,ze),ee=ze.attachComponentPortal(new c.C5(Be,_e.viewContainerRef,Ae,_e.componentFactoryResolver));ae.componentInstance=ee.instance}return ae.updateSize(_e.width,_e.height).updatePosition(_e.position),ae}_createInjector(Be,ze,Ue){const _e=Be&&Be.viewContainerRef&&Be.viewContainerRef.injector,ae=[{provide:this._dialogContainerType,useValue:Ue},{provide:this._dialogDataToken,useValue:Be.data},{provide:this._dialogRefConstructor,useValue:ze}];return Be.direction&&(!_e||!_e.get(_.Is,null,g.XFs.Optional))&&ae.push({provide:_.Is,useValue:{value:Be.direction,change:(0,v.of)()}}),g.zs3.create({parent:_e||this._injector,providers:ae})}_removeOpenDialog(Be){const ze=this.openDialogs.indexOf(Be);ze>-1&&(this.openDialogs.splice(ze,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ue,_e)=>{Ue?_e.setAttribute("aria-hidden",Ue):_e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Be=this._overlayContainer.getContainerElement();if(Be.parentElement){const ze=Be.parentElement.children;for(let Ue=ze.length-1;Ue>-1;Ue--){let _e=ze[Ue];_e!==Be&&"SCRIPT"!==_e.nodeName&&"STYLE"!==_e.nodeName&&!_e.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(_e,_e.getAttribute("aria-hidden")),_e.setAttribute("aria-hidden","true"))}}}_closeDialogs(Be){let ze=Be.length;for(;ze--;)Be[ze].close()}}return ne.\u0275fac=function(Be){g.$Z()},ne.\u0275dir=g.lG2({type:ne}),ne})(),Me=(()=>{class ne extends ue{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne){super(Be,ze,_e,Ae,ee,ae,Y,L,Te,Ne)}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(j.Ye,8),g.LFG(Oe,8),g.LFG(Se),g.LFG(ne,12),g.LFG(e.Xj),g.LFG(F.Qb,8))},ne.\u0275prov=g.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),P=0,Ce=(()=>{class ne{constructor(Be,ze,Ue){this._dialogRef=Be,this._elementRef=ze,this._dialog=Ue,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=function fe(ne,it){let Be=ne.nativeElement.parentElement;for(;Be&&!Be.classList.contains("mat-dialog-container");)Be=Be.parentElement;return Be?it.find(ze=>ze.id===Be.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const Be=this._dialogRef._containerInstance;Be&&!Be._ariaLabelledBy&&(Be._ariaLabelledBy=this.id)})}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.Y36(Y,8),g.Y36(g.SBq),g.Y36(Me))},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(Be,ze){2&Be&&g.Ikx("id",ze.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ne})(),Pe=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ne})(),ce=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ne})(),Ze=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275mod=g.oAB({type:ne}),ne.\u0275inj=g.cJS({providers:[Me,Le],imports:[[e.U8,c.eL,w.BQ],w.BQ]}),ne})()},4834:(qe,me,h)=>{"use strict";h.d(me,{d:()=>w,t:()=>_});var e=h(5e3),c=h(63191),g=h(90508);let w=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(v){this._vertical=(0,c.Ig)(v)}get inset(){return this._inset}set inset(v){this._inset=(0,c.Ig)(v)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(v,I){2&v&&(e.uIk("aria-orientation",I.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",I.vertical)("mat-divider-horizontal",!I.vertical)("mat-divider-inset",I.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(v,I){},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}),b})(),_=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),b})()},81125:(qe,me,h)=>{"use strict";h.d(me,{pp:()=>Be,To:()=>ze,ib:()=>Ce,HS:()=>z,u4:()=>ne,yz:()=>Ze,yK:()=>it});var e=h(5e3),c=h(63191),g=h(77579),w=h(50727),_=h(20449);let b=0;const E=new e.OlP("CdkAccordion");let v=(()=>{class Ue{constructor(){this._stateChanges=new g.x,this._openCloseAllActions=new g.x,this.id="cdk-accordion-"+b++,this._multi=!1}get multi(){return this._multi}set multi(ae){this._multi=(0,c.Ig)(ae)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ae){this._stateChanges.next(ae)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:E,useExisting:Ue}]),e.TTD]}),Ue})(),I=0,N=(()=>{class Ue{constructor(ae,Ae,ee){this.accordion=ae,this._changeDetectorRef=Ae,this._expansionDispatcher=ee,this._openCloseAllSubscription=w.w0.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-"+I++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ee.listen((Ne,V)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===V&&this.id!==Ne&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(ae){ae=(0,c.Ig)(ae),this._expanded!==ae&&(this._expanded=ae,this.expandedChange.emit(ae),ae?(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(ae){this._disabled=(0,c.Ig)(ae)}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(ae=>{this.disabled||(this.expanded=ae)})}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(E,12),e.Y36(e.sBO),e.Y36(_.A8))},Ue.\u0275dir=e.lG2({type:Ue,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:E,useValue:void 0}])]}),Ue})(),A=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({}),Ue})();var q=h(47429),j=h(69808),G=h(90508),Q=h(15664),he=h(71884),F=h(68675),be=h(39300),pe=h(95698),ye=h(91159),T=h(76360),R=h(60515),L=h(56451),X=h(41777);const Y=["body"];function se(Ue,_e){}const Te=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Oe=["mat-expansion-panel-header","*","mat-action-row"];function Se(Ue,_e){if(1&Ue&&e._UZ(0,"span",2),2&Ue){const ae=e.oxw();e.Q6J("@indicatorRotate",ae._getExpandedState())}}const We=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ge=["mat-panel-title","mat-panel-description","*"],Le=new e.OlP("MAT_ACCORDION"),ue="225ms cubic-bezier(0.4,0.0,0.2,1)",Me={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)(ue))]),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)(ue))])};let z=(()=>{class Ue{constructor(ae){this._template=ae}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(e.Rgc))},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["ng-template","matExpansionPanelContent",""]]}),Ue})(),P=0;const de=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Ce=(()=>{class Ue extends N{constructor(ae,Ae,ee,Ne,V,H,D){super(ae,Ae,ee),this._viewContainerRef=Ne,this._animationMode=H,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new g.x,this.accordion=ae,this._document=V,this._bodyAnimationDone.pipe((0,he.x)((O,i)=>O.fromState===i.fromState&&O.toState===i.toState)).subscribe(O=>{"void"!==O.fromState&&("expanded"===O.toState?this.afterExpand.emit():"collapsed"===O.toState&&this.afterCollapse.emit())}),D&&(this.hideToggle=D.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ae){this._hideToggle=(0,c.Ig)(ae)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ae){this._togglePosition=ae}_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,F.O)(null),(0,be.h)(()=>this.expanded&&!this._portal),(0,pe.q)(1)).subscribe(()=>{this._portal=new q.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(ae){this._inputChanges.next(ae)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ae=this._document.activeElement,Ae=this._body.nativeElement;return ae===Ae||Ae.contains(ae)}return!1}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(Le,12),e.Y36(e.sBO),e.Y36(_.A8),e.Y36(e.s_b),e.Y36(j.K0),e.Y36(T.Qb,8),e.Y36(de,8))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-expansion-panel"]],contentQueries:function(ae,Ae,ee){if(1&ae&&e.Suo(ee,z,5),2&ae){let Ne;e.iGM(Ne=e.CRH())&&(Ae._lazyContent=Ne.first)}},viewQuery:function(ae,Ae){if(1&ae&&e.Gf(Y,5),2&ae){let ee;e.iGM(ee=e.CRH())&&(Ae._body=ee.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ae,Ae){2&ae&&e.ekj("mat-expanded",Ae.expanded)("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-expansion-panel-spacing",Ae._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:Le,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Oe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ae,Ae){1&ae&&(e.F$t(Te),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(Ne){return Ae._bodyAnimationDone.next(Ne)}),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&ae&&(e.xp6(1),e.Q6J("@bodyExpansion",Ae._getExpandedState())("id",Ae.id),e.uIk("aria-labelledby",Ae._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",Ae._portal))},directives:[q.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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[Me.bodyExpansion]},changeDetection:0}),Ue})();class ce{}const fe=(0,G.sb)(ce);let Ze=(()=>{class Ue extends fe{constructor(ae,Ae,ee,Ne,V,H,D){super(),this.panel=ae,this._element=Ae,this._focusMonitor=ee,this._changeDetectorRef=Ne,this._animationMode=H,this._parentChangeSubscription=w.w0.EMPTY;const O=ae.accordion?ae.accordion._stateChanges.pipe((0,be.h)(i=>!(!i.hideToggle&&!i.togglePosition))):R.E;this.tabIndex=parseInt(D||"")||0,this._parentChangeSubscription=(0,L.T)(ae.opened,ae.closed,O,ae._inputChanges.pipe((0,be.h)(i=>!!(i.hideToggle||i.disabled||i.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ae.closed.pipe((0,be.h)(()=>ae._containsFocus())).subscribe(()=>ee.focusVia(Ae,"program")),V&&(this.expandedHeight=V.expandedHeight,this.collapsedHeight=V.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 ae=this._isExpanded();return ae&&this.expandedHeight?this.expandedHeight:!ae&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ae){switch(ae.keyCode){case ye.L_:case ye.K5:(0,ye.Vb)(ae)||(ae.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ae))}}focus(ae,Ae){ae?this._focusMonitor.focusVia(this._element,ae,Ae):this._element.nativeElement.focus(Ae)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ae=>{ae&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(Ce,1),e.Y36(e.SBq),e.Y36(Q.tE),e.Y36(e.sBO),e.Y36(de,8),e.Y36(T.Qb,8),e.$8M("tabindex"))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ae,Ae){1&ae&&e.NdJ("click",function(){return Ae._toggle()})("keydown",function(Ne){return Ae._keydown(Ne)}),2&ae&&(e.uIk("id",Ae.panel._headerId)("tabindex",Ae.tabIndex)("aria-controls",Ae._getPanelId())("aria-expanded",Ae._isExpanded())("aria-disabled",Ae.panel.disabled),e.Udp("height",Ae._getHeaderHeight()),e.ekj("mat-expanded",Ae._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ae._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ae._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ae._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:ge,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ae,Ae){1&ae&&(e.F$t(We),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Se,1,1,"span",1)),2&ae&&(e.xp6(4),e.Q6J("ngIf",Ae._showToggle()))},directives:[j.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:[Me.indicatorRotate]},changeDetection:0}),Ue})(),ne=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),Ue})(),it=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Ue})(),Be=(()=>{class Ue extends v{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(ae){this._hideToggle=(0,c.Ig)(ae)}ngAfterContentInit(){this._headers.changes.pipe((0,F.O)(this._headers)).subscribe(ae=>{this._ownHeaders.reset(ae.filter(Ae=>Ae.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Q.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ae){this._keyManager.onKeydown(ae)}_handleHeaderFocus(ae){this._keyManager.updateActiveItem(ae)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=e.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-accordion"]],contentQueries:function(ae,Ae,ee){if(1&ae&&e.Suo(ee,Ze,5),2&ae){let Ne;e.iGM(Ne=e.CRH())&&(Ae._headers=Ne)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ae,Ae){2&ae&&e.ekj("mat-accordion-multi",Ae.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:Le,useExisting:Ue}]),e.qOj]}),Ue})(),ze=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({imports:[[j.ez,G.BQ,A,q.eL]]}),Ue})()},67322:(qe,me,h)=>{"use strict";h.d(me,{G_:()=>H,TO:()=>Me,KE:()=>D,Eo:()=>P,lN:()=>O,bx:()=>Ze,hX:()=>ne,UY:()=>it,R9:()=>_e});var e=h(17144),c=h(69808),g=h(5e3),w=h(90508),_=h(63191),b=h(77579),E=h(56451),v=h(54968),I=h(68675),N=h(82722),A=h(95698),q=h(41777),j=h(76360),G=h(50226),Q=h(70925);const he=["connectionContainer"],F=["inputContainer"],be=["label"];function pe(i,o){1&i&&(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 ye(i,o){if(1&i){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&i){const u=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)}}function T(i,o){if(1&i&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&i){const u=g.oxw(2);g.xp6(3),g.Oqu(u._control.placeholder)}}function R(i,o){1&i&&g.Hsn(0,3,["*ngSwitchCase","true"])}function L(i,o){1&i&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function X(i,o){if(1&i){const u=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.YNc(2,T,4,1,"ng-container",12),g.YNc(3,R,1,0,"ng-content",12),g.YNc(4,L,2,0,"span",22),g.qZA()}if(2&i){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 Y(i,o){1&i&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function se(i,o){if(1&i&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&i){const u=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==u.color)("mat-warn","warn"==u.color)}}function Te(i,o){if(1&i&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&i){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Oe(i,o){if(1&i&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&i){const u=g.oxw(2);g.Q6J("id",u._hintLabelId),g.xp6(1),g.Oqu(u.hintLabel)}}function Se(i,o){if(1&i&&(g.TgZ(0,"div",27),g.YNc(1,Oe,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&i){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",u.hintLabel)}}const We=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ge=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Le=0;const ue=new g.OlP("MatError");let Me=(()=>{class i{constructor(u,l){this.id="mat-error-"+Le++,u||l.nativeElement.setAttribute("aria-live","polite")}}return i.\u0275fac=function(u){return new(u||i)(g.$8M("aria-live"),g.Y36(g.SBq))},i.\u0275dir=g.lG2({type:i,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(u,l){2&u&&g.uIk("id",l.id)},inputs:{id:"id"},features:[g._Bn([{provide:ue,useExisting:i}])]}),i})();const z={transitionMessages:(0,q.X$)("transitionMessages",[(0,q.SB)("enter",(0,q.oB)({opacity:1,transform:"translateY(0%)"})),(0,q.eR)("void => enter",[(0,q.oB)({opacity:0,transform:"translateY(-5px)"}),(0,q.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let P=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i}),i})(),ce=0;const fe=new g.OlP("MatHint");let Ze=(()=>{class i{constructor(){this.align="start",this.id="mat-hint-"+ce++}}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(u,l){2&u&&(g.uIk("id",l.id)("align",null),g.ekj("mat-form-field-hint-end","end"===l.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:fe,useExisting:i}])]}),i})(),ne=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-label"]]}),i})(),it=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-placeholder"]]}),i})();const Be=new g.OlP("MatPrefix"),Ue=new g.OlP("MatSuffix");let _e=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:Ue,useExisting:i}])]}),i})(),ae=0;const Ne=(0,w.pj)(class{constructor(i){this._elementRef=i}},"primary"),V=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),H=new g.OlP("MatFormField");let D=(()=>{class i extends Ne{constructor(u,l,s,n,t,r,a){super(u),this._changeDetectorRef=l,this._dir=s,this._defaults=n,this._platform=t,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new b.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=n&&n.appearance?n.appearance:"legacy",this._hideRequiredMarker=!(!n||null==n.hideRequiredMarker)&&n.hideRequiredMarker}get appearance(){return this._appearance}set appearance(u){const l=this._appearance;this._appearance=u||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&l!==u&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,_.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,I.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,N.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,E.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,I.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,I.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,N.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 l=this._control?this._control.ngControl:null;return l&&l[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,v.R)(this._label.nativeElement,"transitionend").pipe((0,A.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 l=this._hintChildren?this._hintChildren.find(n=>"start"===n.align):null,s=this._hintChildren?this._hintChildren.find(n=>"end"===n.align):null;l?u.push(l.id):this._hintLabel&&u.push(this._hintLabelId),s&&u.push(s.id)}else this._errorChildren&&u.push(...this._errorChildren.map(l=>l.id));this._control.setDescribedByIds(u)}}_validateControlChild(){}updateOutlineGap(){const u=this._label?this._label.nativeElement:null,l=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",n=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!u||!u.children.length||!u.textContent.trim()){const f=l.querySelectorAll(`${s}, ${n}`);for(let x=0;x0?.75*jt+10:0}for(let f=0;f{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({imports:[[c.ez,w.BQ,e.Q8],w.BQ]}),i})()},25245:(qe,me,h)=>{"use strict";h.d(me,{Hw:()=>Ce,Ps:()=>Pe,jv:()=>se});var e=h(5e3),c=h(90508),g=h(63191),w=h(69808),_=h(39646),b=h(62843),E=h(4128),v=h(50727),I=h(18505),N=h(54004),A=h(70262),q=h(28746),j=h(13099),G=h(95698),Q=h(40520),he=h(22313);const F=["*"];let be;function ye(ce){var fe;return(null===(fe=function pe(){if(void 0===be&&(be=null,"undefined"!=typeof window)){const ce=window;void 0!==ce.trustedTypes&&(be=ce.trustedTypes.createPolicy("angular#components",{createHTML:fe=>fe}))}return be}())||void 0===fe?void 0:fe.createHTML(ce))||ce}function T(ce){return Error(`Unable to find icon with the name "${ce}"`)}function L(ce){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ce}".`)}function X(ce){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ce}".`)}class Y{constructor(fe,Ze,ne){this.url=fe,this.svgText=Ze,this.options=ne}}let se=(()=>{class ce{constructor(Ze,ne,it,Be){this._httpClient=Ze,this._sanitizer=ne,this._errorHandler=Be,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=it}addSvgIcon(Ze,ne,it){return this.addSvgIconInNamespace("",Ze,ne,it)}addSvgIconLiteral(Ze,ne,it){return this.addSvgIconLiteralInNamespace("",Ze,ne,it)}addSvgIconInNamespace(Ze,ne,it,Be){return this._addSvgIconConfig(Ze,ne,new Y(it,null,Be))}addSvgIconResolver(Ze){return this._resolvers.push(Ze),this}addSvgIconLiteralInNamespace(Ze,ne,it,Be){const ze=this._sanitizer.sanitize(e.q3G.HTML,it);if(!ze)throw X(it);const Ue=ye(ze);return this._addSvgIconConfig(Ze,ne,new Y("",Ue,Be))}addSvgIconSet(Ze,ne){return this.addSvgIconSetInNamespace("",Ze,ne)}addSvgIconSetLiteral(Ze,ne){return this.addSvgIconSetLiteralInNamespace("",Ze,ne)}addSvgIconSetInNamespace(Ze,ne,it){return this._addSvgIconSetConfig(Ze,new Y(ne,null,it))}addSvgIconSetLiteralInNamespace(Ze,ne,it){const Be=this._sanitizer.sanitize(e.q3G.HTML,ne);if(!Be)throw X(ne);const ze=ye(Be);return this._addSvgIconSetConfig(Ze,new Y("",ze,it))}registerFontClassAlias(Ze,ne=Ze){return this._fontCssClassesByAlias.set(Ze,ne),this}classNameForFontAlias(Ze){return this._fontCssClassesByAlias.get(Ze)||Ze}setDefaultFontSetClass(Ze){return this._defaultFontSetClass=Ze,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ze){const ne=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ze);if(!ne)throw L(Ze);const it=this._cachedIconsByUrl.get(ne);return it?(0,_.of)(Se(it)):this._loadSvgIconFromConfig(new Y(Ze,null)).pipe((0,I.b)(Be=>this._cachedIconsByUrl.set(ne,Be)),(0,N.U)(Be=>Se(Be)))}getNamedSvgIcon(Ze,ne=""){const it=We(ne,Ze);let Be=this._svgIconConfigs.get(it);if(Be)return this._getSvgFromConfig(Be);if(Be=this._getIconConfigFromResolvers(ne,Ze),Be)return this._svgIconConfigs.set(it,Be),this._getSvgFromConfig(Be);const ze=this._iconSetConfigs.get(ne);return ze?this._getSvgFromIconSetConfigs(Ze,ze):(0,b._)(T(it))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ze){return Ze.svgText?(0,_.of)(Se(this._svgElementFromConfig(Ze))):this._loadSvgIconFromConfig(Ze).pipe((0,N.U)(ne=>Se(ne)))}_getSvgFromIconSetConfigs(Ze,ne){const it=this._extractIconWithNameFromAnySet(Ze,ne);if(it)return(0,_.of)(it);const Be=ne.filter(ze=>!ze.svgText).map(ze=>this._loadSvgIconSetFromConfig(ze).pipe((0,A.K)(Ue=>{const ae=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,ze.url)} failed: ${Ue.message}`;return this._errorHandler.handleError(new Error(ae)),(0,_.of)(null)})));return(0,E.D)(Be).pipe((0,N.U)(()=>{const ze=this._extractIconWithNameFromAnySet(Ze,ne);if(!ze)throw T(Ze);return ze}))}_extractIconWithNameFromAnySet(Ze,ne){for(let it=ne.length-1;it>=0;it--){const Be=ne[it];if(Be.svgText&&Be.svgText.toString().indexOf(Ze)>-1){const ze=this._svgElementFromConfig(Be),Ue=this._extractSvgIconFromSet(ze,Ze,Be.options);if(Ue)return Ue}}return null}_loadSvgIconFromConfig(Ze){return this._fetchIcon(Ze).pipe((0,I.b)(ne=>Ze.svgText=ne),(0,N.U)(()=>this._svgElementFromConfig(Ze)))}_loadSvgIconSetFromConfig(Ze){return Ze.svgText?(0,_.of)(null):this._fetchIcon(Ze).pipe((0,I.b)(ne=>Ze.svgText=ne))}_extractSvgIconFromSet(Ze,ne,it){const Be=Ze.querySelector(`[id="${ne}"]`);if(!Be)return null;const ze=Be.cloneNode(!0);if(ze.removeAttribute("id"),"svg"===ze.nodeName.toLowerCase())return this._setSvgAttributes(ze,it);if("symbol"===ze.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ze),it);const Ue=this._svgElementFromString(ye(""));return Ue.appendChild(ze),this._setSvgAttributes(Ue,it)}_svgElementFromString(Ze){const ne=this._document.createElement("DIV");ne.innerHTML=Ze;const it=ne.querySelector("svg");if(!it)throw Error(" tag not found");return it}_toSvgElement(Ze){const ne=this._svgElementFromString(ye("")),it=Ze.attributes;for(let Be=0;Beye(Ae)),(0,q.x)(()=>this._inProgressUrlFetches.delete(Ue)),(0,j.B)());return this._inProgressUrlFetches.set(Ue,ae),ae}_addSvgIconConfig(Ze,ne,it){return this._svgIconConfigs.set(We(Ze,ne),it),this}_addSvgIconSetConfig(Ze,ne){const it=this._iconSetConfigs.get(Ze);return it?it.push(ne):this._iconSetConfigs.set(Ze,[ne]),this}_svgElementFromConfig(Ze){if(!Ze.svgElement){const ne=this._svgElementFromString(Ze.svgText);this._setSvgAttributes(ne,Ze.options),Ze.svgElement=ne}return Ze.svgElement}_getIconConfigFromResolvers(Ze,ne){for(let it=0;itfe?fe.pathname+fe.search:""}}}),z=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P=z.map(ce=>`[${ce}]`).join(", "),de=/^url\(['"]?#(.*?)['"]?\)$/;let Ce=(()=>{class ce extends Le{constructor(Ze,ne,it,Be,ze){super(Ze),this._iconRegistry=ne,this._location=Be,this._errorHandler=ze,this._inline=!1,this._currentIconFetch=v.w0.EMPTY,it||Ze.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ze){this._inline=(0,g.Ig)(Ze)}get svgIcon(){return this._svgIcon}set svgIcon(Ze){Ze!==this._svgIcon&&(Ze?this._updateSvgIcon(Ze):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ze)}get fontSet(){return this._fontSet}set fontSet(Ze){const ne=this._cleanupFontValue(Ze);ne!==this._fontSet&&(this._fontSet=ne,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ze){const ne=this._cleanupFontValue(Ze);ne!==this._fontIcon&&(this._fontIcon=ne,this._updateFontIconClasses())}_splitIconName(Ze){if(!Ze)return["",""];const ne=Ze.split(":");switch(ne.length){case 1:return["",ne[0]];case 2:return ne;default:throw Error(`Invalid icon name: "${Ze}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ze=this._elementsWithExternalReferences;if(Ze&&Ze.size){const ne=this._location.getPathname();ne!==this._previousPath&&(this._previousPath=ne,this._prependPathToReferences(ne))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ze){this._clearSvgElement();const ne=this._location.getPathname();this._previousPath=ne,this._cacheChildrenWithExternalReferences(Ze),this._prependPathToReferences(ne),this._elementRef.nativeElement.appendChild(Ze)}_clearSvgElement(){const Ze=this._elementRef.nativeElement;let ne=Ze.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ne--;){const it=Ze.childNodes[ne];(1!==it.nodeType||"svg"===it.nodeName.toLowerCase())&&it.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ze=this._elementRef.nativeElement,ne=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();ne!=this._previousFontSetClass&&(this._previousFontSetClass&&Ze.classList.remove(this._previousFontSetClass),ne&&Ze.classList.add(ne),this._previousFontSetClass=ne),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&Ze.classList.remove(this._previousFontIconClass),this.fontIcon&&Ze.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ze){return"string"==typeof Ze?Ze.trim().split(" ")[0]:Ze}_prependPathToReferences(Ze){const ne=this._elementsWithExternalReferences;ne&&ne.forEach((it,Be)=>{it.forEach(ze=>{Be.setAttribute(ze.name,`url('${Ze}#${ze.value}')`)})})}_cacheChildrenWithExternalReferences(Ze){const ne=Ze.querySelectorAll(P),it=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Be=0;Be{const Ue=ne[Be],_e=Ue.getAttribute(ze),ae=_e?_e.match(de):null;if(ae){let Ae=it.get(Ue);Ae||(Ae=[],it.set(Ue,Ae)),Ae.push({name:ze,value:ae[1]})}})}_updateSvgIcon(Ze){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ze){const[ne,it]=this._splitIconName(Ze);ne&&(this._svgNamespace=ne),it&&(this._svgName=it),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(it,ne).pipe((0,G.q)(1)).subscribe(Be=>this._setSvgElement(Be),Be=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ne}:${it}! ${Be.message}`))})}}}return ce.\u0275fac=function(Ze){return new(Ze||ce)(e.Y36(e.SBq),e.Y36(se),e.$8M("aria-hidden"),e.Y36(ue),e.Y36(e.qLn))},ce.\u0275cmp=e.Xpm({type:ce,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ze,ne){2&Ze&&(e.uIk("data-mat-icon-type",ne._usingFontIcon()?"font":"svg")("data-mat-icon-name",ne._svgName||ne.fontIcon)("data-mat-icon-namespace",ne._svgNamespace||ne.fontSet),e.ekj("mat-icon-inline",ne.inline)("mat-icon-no-color","primary"!==ne.color&&"accent"!==ne.color&&"warn"!==ne.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:F,decls:1,vars:0,template:function(Ze,ne){1&Ze&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-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}),ce})(),Pe=(()=>{class ce{}return ce.\u0275fac=function(Ze){return new(Ze||ce)},ce.\u0275mod=e.oAB({type:ce}),ce.\u0275inj=e.cJS({imports:[[c.BQ],c.BQ]}),ce})()},98833:(qe,me,h)=>{"use strict";h.d(me,{Jk:()=>N,Nt:()=>G,c:()=>Q});var e=h(63191),c=h(70925),g=h(5e3),w=h(93075),_=h(90508),b=h(67322),E=h(77579),v=h(74533);const N=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),A=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let q=0;const j=(0,_.FD)(class{constructor(he,F,be,pe){this._defaultErrorStateMatcher=he,this._parentForm=F,this._parentFormGroup=be,this.ngControl=pe}});let G=(()=>{class he extends j{constructor(be,pe,ye,T,R,L,X,Y,se,Te){super(L,T,R,ye),this._elementRef=be,this._platform=pe,this._autofillMonitor=Y,this._formField=Te,this._uid="mat-input-"+q++,this.focused=!1,this.stateChanges=new E.x,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=>(0,c.qK)().has(We)),this._iOSKeyupListener=We=>{const ge=We.target;!ge.value&&0===ge.selectionStart&&0===ge.selectionEnd&&(ge.setSelectionRange(1,1),ge.setSelectionRange(0,0))};const Oe=this._elementRef.nativeElement,Se=Oe.nodeName.toLowerCase();this._inputValueAccessor=X||Oe,this._previousNativeValue=this.value,this.id=this.id,pe.IOS&&se.runOutsideAngular(()=>{be.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Se,this._isTextarea="textarea"===Se,this._isInFormField=!!Te,this._isNativeSelect&&(this.controlType=Oe.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(be){this._disabled=(0,e.Ig)(be),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(be){this._id=be||this._uid}get required(){var be,pe,ye,T;return null!==(T=null!==(be=this._required)&&void 0!==be?be:null===(ye=null===(pe=this.ngControl)||void 0===pe?void 0:pe.control)||void 0===ye?void 0:ye.hasValidator(w.kI.required))&&void 0!==T&&T}set required(be){this._required=(0,e.Ig)(be)}get type(){return this._type}set type(be){this._type=be||"text",this._validateType(),!this._isTextarea&&(0,c.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(be){be!==this.value&&(this._inputValueAccessor.value=be,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(be){this._readonly=(0,e.Ig)(be)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(be=>{this.autofilled=be.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(be){this._elementRef.nativeElement.focus(be)}_focusChanged(be){be!==this.focused&&(this.focused=be,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var be,pe;const ye=(null===(pe=null===(be=this._formField)||void 0===be?void 0:be._hideControlPlaceholder)||void 0===pe?void 0:pe.call(be))?null:this.placeholder;if(ye!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=ye,ye?T.setAttribute("placeholder",ye):T.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const be=this._elementRef.nativeElement.value;this._previousNativeValue!==be&&(this._previousNativeValue=be,this.stateChanges.next())}_validateType(){A.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let be=this._elementRef.nativeElement.validity;return be&&be.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const be=this._elementRef.nativeElement,pe=be.options[0];return this.focused||be.multiple||!this.empty||!!(be.selectedIndex>-1&&pe&&pe.label)}return this.focused||!this.empty}setDescribedByIds(be){be.length?this._elementRef.nativeElement.setAttribute("aria-describedby",be.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const be=this._elementRef.nativeElement;return this._isNativeSelect&&(be.multiple||be.size>1)}}return he.\u0275fac=function(be){return new(be||he)(g.Y36(g.SBq),g.Y36(c.t4),g.Y36(w.a5,10),g.Y36(w.F,8),g.Y36(w.sg,8),g.Y36(_.rD),g.Y36(N,10),g.Y36(v.Lq),g.Y36(g.R0b),g.Y36(b.G_,8))},he.\u0275dir=g.lG2({type:he,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(be,pe){1&be&&g.NdJ("focus",function(){return pe._focusChanged(!0)})("blur",function(){return pe._focusChanged(!1)})("input",function(){return pe._onInput()}),2&be&&(g.Ikx("disabled",pe.disabled)("required",pe.required),g.uIk("id",pe.id)("data-placeholder",pe.placeholder)("name",pe.name||null)("readonly",pe.readonly&&!pe._isNativeSelect||null)("aria-invalid",pe.empty&&pe.required?null:pe.errorState)("aria-required",pe.required),g.ekj("mat-input-server",pe._isServer)("mat-native-select-inline",pe._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:b.Eo,useExisting:he}]),g.qOj,g.TTD]}),he})(),Q=(()=>{class he{}return he.\u0275fac=function(be){return new(be||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[_.rD],imports:[[v.Ky,b.lN,_.BQ],v.Ky,b.lN]}),he})()},14623:(qe,me,h)=>{"use strict";h.d(me,{i$:()=>se,Tg:()=>We,ie:()=>de});var e=h(69808),c=h(5e3),g=h(90508),w=h(63191),_=h(77579),b=h(82722),q=(h(68675),h(15664),h(20449),h(91159),h(93075),h(4834));const j=["*"],Q=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],he=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],T=(0,g.Id)((0,g.Kr)(class{})),R=(0,g.Kr)(class{}),L=new c.OlP("MatList"),X=new c.OlP("MatNavList");let se=(()=>{class Ce extends T{constructor(ce){super(),this._elementRef=ce,this._stateChanges=new _.x,"action-list"===this._getListType()&&ce.nativeElement.classList.add("mat-action-list")}_getListType(){const ce=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===ce?"list":"mat-action-list"===ce?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[c._Bn([{provide:L,useExisting:Ce}]),c.qOj,c.TTD],ngContentSelectors:j,decls:1,vars:0,template:function(ce,fe){1&ce&&(c.F$t(),c.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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}),Ce})(),Te=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ce})(),Oe=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ce})(),We=(()=>{class Ce extends R{constructor(ce,fe,Ze,ne){super(),this._element=ce,this._isInteractiveList=!1,this._destroyed=new _.x,this._disabled=!1,this._isInteractiveList=!!(Ze||ne&&"action-list"===ne._getListType()),this._list=Ze||ne;const it=this._getHostElement();"button"===it.nodeName.toLowerCase()&&!it.hasAttribute("type")&&it.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,b.R)(this._destroyed)).subscribe(()=>{fe.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(ce){this._disabled=(0,w.Ig)(ce)}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 Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(X,8),c.Y36(L,8))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ce,fe,Ze){if(1&ce&&(c.Suo(Ze,Te,5),c.Suo(Ze,Oe,5),c.Suo(Ze,g.X2,5)),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe._avatar=ne.first),c.iGM(ne=c.CRH())&&(fe._icon=ne.first),c.iGM(ne=c.CRH())&&(fe._lines=ne)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(ce,fe){2&ce&&c.ekj("mat-list-item-disabled",fe.disabled)("mat-list-item-avatar",fe._avatar||fe._icon)("mat-list-item-with-avatar",fe._avatar||fe._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[c.qOj],ngContentSelectors:he,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(ce,fe){1&ce&&(c.F$t(Q),c.TgZ(0,"span",0),c._UZ(1,"span",1),c.Hsn(2),c.TgZ(3,"span",2),c.Hsn(4,1),c.qZA(),c.Hsn(5,2),c.qZA()),2&ce&&(c.xp6(1),c.Q6J("matRippleTrigger",fe._getHostElement())("matRippleDisabled",fe._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Ce})(),de=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275mod=c.oAB({type:Ce}),Ce.\u0275inj=c.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,q.t]}),Ce})()},92181:(qe,me,h)=>{"use strict";h.d(me,{VK:()=>Be,OP:()=>ce,Tx:()=>V,p6:()=>Ne});var e=h(15664),c=h(63191),g=h(91159),w=h(5e3),_=h(77579),b=h(50727),E=h(56451),v=h(39646),I=h(53101),N=h(68675),A=h(63900),q=h(95698),j=h(82722),G=h(39300),Q=h(91005),he=h(41777),F=h(47429),be=h(69808),pe=h(90508),ye=h(91314),T=h(70925),R=h(50226),L=h(29071);const X=["mat-menu-item",""];function Y(H,D){1&H&&(w.O4$(),w.TgZ(0,"svg",2),w._UZ(1,"polygon",3),w.qZA())}const se=["*"];function Te(H,D){if(1&H){const O=w.EpF();w.TgZ(0,"div",0),w.NdJ("keydown",function(o){return w.CHM(O),w.oxw()._handleKeydown(o)})("click",function(){return w.CHM(O),w.oxw().closed.emit("click")})("@transformMenu.start",function(o){return w.CHM(O),w.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return w.CHM(O),w.oxw()._onAnimationDone(o)}),w.TgZ(1,"div",1),w.Hsn(2),w.qZA(),w.qZA()}if(2&H){const O=w.oxw();w.Q6J("id",O.panelId)("ngClass",O._classList)("@transformMenu",O._panelAnimationState),w.uIk("aria-label",O.ariaLabel||null)("aria-labelledby",O.ariaLabelledby||null)("aria-describedby",O.ariaDescribedby||null)}}const Oe={transformMenu:(0,he.X$)("transformMenu",[(0,he.SB)("void",(0,he.oB)({opacity:0,transform:"scale(0.8)"})),(0,he.eR)("void => enter",(0,he.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,he.oB)({opacity:1,transform:"scale(1)"}))),(0,he.eR)("* => void",(0,he.jt)("100ms 25ms linear",(0,he.oB)({opacity:0})))]),fadeInItems:(0,he.X$)("fadeInItems",[(0,he.SB)("showing",(0,he.oB)({opacity:1})),(0,he.eR)("void => *",[(0,he.oB)({opacity:0}),(0,he.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ge=new w.OlP("MatMenuContent"),Ce=new w.OlP("MAT_MENU_PANEL"),Pe=(0,pe.Kr)((0,pe.Id)(class{}));let ce=(()=>{class H extends Pe{constructor(O,i,o,u,l){var s;super(),this._elementRef=O,this._document=i,this._focusMonitor=o,this._parentMenu=u,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new _.x,this._focused=new _.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==u?void 0:u.addItem)||void 0===s||s.call(u,this)}focus(O,i){this._focusMonitor&&O?this._focusMonitor.focusVia(this._getHostElement(),O,i):this._getHostElement().focus(i),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(O){this.disabled&&(O.preventDefault(),O.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var O;const i=this._elementRef.nativeElement.cloneNode(!0),o=i.querySelectorAll("mat-icon, .material-icons");for(let u=0;u{class H{constructor(O,i,o,u){this._elementRef=O,this._ngZone=i,this._defaultOptions=o,this._changeDetectorRef=u,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new w.n_E,this._tabSubscription=b.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new _.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new w.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+ne++}get xPosition(){return this._xPosition}set xPosition(O){this._xPosition=O,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(O){this._yPosition=O,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(O){this._overlapTrigger=(0,c.Ig)(O)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(O){this._hasBackdrop=(0,c.Ig)(O)}set panelClass(O){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=O,O&&O.length&&(O.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(O){this.panelClass=O}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,N.O)(this._directDescendantItems),(0,A.w)(O=>(0,E.T)(...O.map(i=>i._focused)))).subscribe(O=>this._keyManager.updateActiveItem(O)),this._directDescendantItems.changes.subscribe(O=>{var i;const o=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=o.activeItem)||void 0===i?void 0:i._hasFocus())){const u=O.toArray(),l=Math.max(0,Math.min(u.length-1,o.activeItemIndex||0));u[l]&&!u[l].disabled?o.setActiveItem(l):o.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,N.O)(this._directDescendantItems),(0,A.w)(i=>(0,E.T)(...i.map(o=>o._hovered))))}addItem(O){}removeItem(O){}_handleKeydown(O){const i=O.keyCode,o=this._keyManager;switch(i){case g.hY:(0,g.Vb)(O)||(O.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(i===g.LH||i===g.JH)&&o.setFocusOrigin("keyboard"),void o.onKeydown(O)}O.stopPropagation()}focusFirstItem(O="program"){this._ngZone.onStable.pipe((0,q.q)(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(O).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(O){const i=Math.min(this._baseElevation+O,24),o=`${this._elevationPrefix}${i}`,u=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(O=this.xPosition,i=this.yPosition){var o;const u=this._classList;u["mat-menu-before"]="before"===O,u["mat-menu-after"]="after"===O,u["mat-menu-above"]="above"===i,u["mat-menu-below"]="below"===i,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(O){this._animationDone.next(O),this._isAnimating=!1}_onAnimationStart(O){this._isAnimating=!0,"enter"===O.toState&&0===this._keyManager.activeItemIndex&&(O.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,N.O)(this._allItems)).subscribe(O=>{this._directDescendantItems.reset(O.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(fe),w.Y36(w.sBO))},H.\u0275dir=w.lG2({type:H,contentQueries:function(O,i,o){if(1&O&&(w.Suo(o,ge,5),w.Suo(o,ce,5),w.Suo(o,ce,4)),2&O){let u;w.iGM(u=w.CRH())&&(i.lazyContent=u.first),w.iGM(u=w.CRH())&&(i._allItems=u),w.iGM(u=w.CRH())&&(i.items=u)}},viewQuery:function(O,i){if(1&O&&w.Gf(w.Rgc,5),2&O){let o;w.iGM(o=w.CRH())&&(i.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"}}),H})(),Be=(()=>{class H extends it{constructor(O,i,o,u){super(O,i,o,u),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(fe),w.Y36(w.sBO))},H.\u0275cmp=w.Xpm({type:H,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(O,i){2&O&&w.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[w._Bn([{provide:Ce,useExisting:H}]),w.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(O,i){1&O&&(w.F$t(),w.YNc(0,Te,3,6,"ng-template"))},directives:[be.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[Oe.transformMenu,Oe.fadeInItems]},changeDetection:0}),H})();const ze=new w.OlP("mat-menu-scroll-strategy"),_e={provide:ze,deps:[ye.aV],useFactory:function Ue(H){return()=>H.scrollStrategies.reposition()}},Ae=(0,T.i$)({passive:!0});let ee=(()=>{class H{constructor(O,i,o,u,l,s,n,t,r){this._overlay=O,this._element=i,this._viewContainerRef=o,this._menuItemInstance=s,this._dir=n,this._focusMonitor=t,this._ngZone=r,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=b.w0.EMPTY,this._hoverSubscription=b.w0.EMPTY,this._menuCloseSubscription=b.w0.EMPTY,this._handleTouchStart=a=>{(0,e.yG)(a)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new w.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new w.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=u,this._parentMaterialMenu=l instanceof it?l:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ae),s&&(s._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(O){this.menu=O}get menu(){return this._menu}set menu(O){O!==this._menu&&(this._menu=O,this._menuCloseSubscription.unsubscribe(),O&&(this._menuCloseSubscription=O.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ae),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 O=this._createOverlay(),i=O.getConfig(),o=i.positionStrategy;this._setPosition(o),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,O.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof it&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,j.R)(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(O,i){this._focusMonitor&&O?this._focusMonitor.focusVia(this._element,O,i):this._element.nativeElement.focus(i)}updatePosition(){var O;null===(O=this._overlayRef)||void 0===O||O.updatePosition()}_destroyMenu(O){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===O||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof it?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe((0,G.h)(o=>"void"===o.toState),(0,q.q)(1),(0,j.R)(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.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 O=0,i=this.menu.parentMenu;for(;i;)O++,i=i.parentMenu;this.menu.setElevation(O)}}_setIsMenuOpen(O){this._menuOpen=O,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(O)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const O=this._getOverlayConfig();this._subscribeToPositions(O.positionStrategy),this._overlayRef=this._overlay.create(O),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ye.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(O){this.menu.setPositionClasses&&O.positionChanges.subscribe(i=>{const o="start"===i.connectionPair.overlayX?"after":"before",u="top"===i.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(o,u)):this.menu.setPositionClasses(o,u)})}_setPosition(O){let[i,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[u,l]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,n]=[u,l],[t,r]=[i,o],a=0;this.triggersSubmenu()?(r=i="before"===this.menu.xPosition?"start":"end",o=t="end"===i?"start":"end",a="bottom"===u?8:-8):this.menu.overlapTrigger||(s="top"===u?"bottom":"top",n="top"===l?"bottom":"top"),O.withPositions([{originX:i,originY:s,overlayX:t,overlayY:u,offsetY:a},{originX:o,originY:s,overlayX:r,overlayY:u,offsetY:a},{originX:i,originY:n,overlayX:t,overlayY:l,offsetY:-a},{originX:o,originY:n,overlayX:r,overlayY:l,offsetY:-a}])}_menuClosingActions(){const O=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,v.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,G.h)(l=>l!==this._menuItemInstance),(0,G.h)(()=>this._menuOpen)):(0,v.of)();return(0,E.T)(O,o,u,i)}_handleMousedown(O){(0,e.X6)(O)||(this._openedBy=0===O.button?"mouse":void 0,this.triggersSubmenu()&&O.preventDefault())}_handleKeydown(O){const i=O.keyCode;(i===g.K5||i===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===g.SV&&"ltr"===this.dir||i===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(O){this.triggersSubmenu()?(O.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,G.h)(O=>O===this._menuItemInstance&&!O.disabled),(0,Q.g)(0,I.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof it&&this.menu._isAnimating?this.menu._animationDone.pipe((0,q.q)(1),(0,Q.g)(0,I.E),(0,j.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new F.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(ye.aV),w.Y36(w.SBq),w.Y36(w.s_b),w.Y36(ze),w.Y36(Ce,8),w.Y36(ce,10),w.Y36(R.Is,8),w.Y36(e.tE),w.Y36(w.R0b))},H.\u0275dir=w.lG2({type:H,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(O,i){1&O&&w.NdJ("click",function(u){return i._handleClick(u)})("mousedown",function(u){return i._handleMousedown(u)})("keydown",function(u){return i._handleKeydown(u)}),2&O&&w.uIk("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.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"}}),H})(),Ne=(()=>{class H extends ee{}return H.\u0275fac=function(){let D;return function(i){return(D||(D=w.n5z(H)))(i||H)}}(),H.\u0275dir=w.lG2({type:H,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[w.qOj]}),H})(),V=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=w.oAB({type:H}),H.\u0275inj=w.cJS({providers:[_e],imports:[[be.ez,pe.BQ,pe.si,ye.U8],L.ZD,pe.BQ]}),H})()},86087:(qe,me,h)=>{"use strict";h.d(me,{NW:()=>X,ye:()=>he,TU:()=>Y});var e=h(69808),c=h(5e3),g=h(90508),w=h(47423),_=h(74107),b=h(29772),E=h(63191),v=h(77579),I=h(67322);function N(se,Te){if(1&se&&(c.TgZ(0,"mat-option",19),c._uU(1),c.qZA()),2&se){const Oe=Te.$implicit;c.Q6J("value",Oe),c.xp6(1),c.hij(" ",Oe," ")}}function A(se,Te){if(1&se){const Oe=c.EpF();c.TgZ(0,"mat-form-field",16),c.TgZ(1,"mat-select",17),c.NdJ("selectionChange",function(We){return c.CHM(Oe),c.oxw(2)._changePageSize(We.value)}),c.YNc(2,N,2,2,"mat-option",18),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw(2);c.Q6J("appearance",Oe._formFieldAppearance)("color",Oe.color),c.xp6(1),c.Q6J("value",Oe.pageSize)("disabled",Oe.disabled)("aria-label",Oe._intl.itemsPerPageLabel),c.xp6(1),c.Q6J("ngForOf",Oe._displayedPageSizeOptions)}}function q(se,Te){if(1&se&&(c.TgZ(0,"div",20),c._uU(1),c.qZA()),2&se){const Oe=c.oxw(2);c.xp6(1),c.Oqu(Oe.pageSize)}}function j(se,Te){if(1&se&&(c.TgZ(0,"div",12),c.TgZ(1,"div",13),c._uU(2),c.qZA(),c.YNc(3,A,3,6,"mat-form-field",14),c.YNc(4,q,2,1,"div",15),c.qZA()),2&se){const Oe=c.oxw();c.xp6(2),c.hij(" ",Oe._intl.itemsPerPageLabel," "),c.xp6(1),c.Q6J("ngIf",Oe._displayedPageSizeOptions.length>1),c.xp6(1),c.Q6J("ngIf",Oe._displayedPageSizeOptions.length<=1)}}function G(se,Te){if(1&se){const Oe=c.EpF();c.TgZ(0,"button",21),c.NdJ("click",function(){return c.CHM(Oe),c.oxw().firstPage()}),c.O4$(),c.TgZ(1,"svg",7),c._UZ(2,"path",22),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw();c.Q6J("matTooltip",Oe._intl.firstPageLabel)("matTooltipDisabled",Oe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Oe._previousButtonsDisabled()),c.uIk("aria-label",Oe._intl.firstPageLabel)}}function Q(se,Te){if(1&se){const Oe=c.EpF();c.O4$(),c.kcU(),c.TgZ(0,"button",23),c.NdJ("click",function(){return c.CHM(Oe),c.oxw().lastPage()}),c.O4$(),c.TgZ(1,"svg",7),c._UZ(2,"path",24),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw();c.Q6J("matTooltip",Oe._intl.lastPageLabel)("matTooltipDisabled",Oe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Oe._nextButtonsDisabled()),c.uIk("aria-label",Oe._intl.lastPageLabel)}}let he=(()=>{class se{constructor(){this.changes=new v.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Oe,Se,We)=>{if(0==We||0==Se)return`0 of ${We}`;const ge=Oe*Se;return`${ge+1} \u2013 ${ge<(We=Math.max(We,0))?Math.min(ge+Se,We):ge+Se} of ${We}`}}}return se.\u0275fac=function(Oe){return new(Oe||se)},se.\u0275prov=c.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const be={provide:he,deps:[[new c.FiY,new c.tp0,he]],useFactory:function F(se){return se||new he}},T=new c.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),R=(0,g.Id)((0,g.dB)(class{}));let L=(()=>{class se extends R{constructor(Oe,Se,We){if(super(),this._intl=Oe,this._changeDetectorRef=Se,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new c.vpe,this._intlChanges=Oe.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),We){const{pageSize:ge,pageSizeOptions:Le,hidePageSize:ue,showFirstLastButtons:Me}=We;null!=ge&&(this._pageSize=ge),null!=Le&&(this._pageSizeOptions=Le),null!=ue&&(this._hidePageSize=ue),null!=Me&&(this._showFirstLastButtons=Me)}}get pageIndex(){return this._pageIndex}set pageIndex(Oe){this._pageIndex=Math.max((0,E.su)(Oe),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Oe){this._length=(0,E.su)(Oe),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Oe){this._pageSize=Math.max((0,E.su)(Oe),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Oe){this._pageSizeOptions=(Oe||[]).map(Se=>(0,E.su)(Se)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Oe){this._hidePageSize=(0,E.Ig)(Oe)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Oe){this._showFirstLastButtons=(0,E.Ig)(Oe)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Oe=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Oe)}previousPage(){if(!this.hasPreviousPage())return;const Oe=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Oe)}firstPage(){if(!this.hasPreviousPage())return;const Oe=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Oe)}lastPage(){if(!this.hasNextPage())return;const Oe=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Oe)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Oe=this.getNumberOfPages()-1;return this.pageIndexOe-Se),this._changeDetectorRef.markForCheck())}_emitPageEvent(Oe){this.page.emit({previousPageIndex:Oe,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return se.\u0275fac=function(Oe){c.$Z()},se.\u0275dir=c.lG2({type:se,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[c.qOj]}),se})(),X=(()=>{class se extends L{constructor(Oe,Se,We){super(Oe,Se,We),We&&null!=We.formFieldAppearance&&(this._formFieldAppearance=We.formFieldAppearance)}}return se.\u0275fac=function(Oe){return new(Oe||se)(c.Y36(he),c.Y36(c.sBO),c.Y36(T,8))},se.\u0275cmp=c.Xpm({type:se,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[c.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(Oe,Se){1&Oe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.YNc(2,j,5,3,"div",2),c.TgZ(3,"div",3),c.TgZ(4,"div",4),c._uU(5),c.qZA(),c.YNc(6,G,3,5,"button",5),c.TgZ(7,"button",6),c.NdJ("click",function(){return Se.previousPage()}),c.O4$(),c.TgZ(8,"svg",7),c._UZ(9,"path",8),c.qZA(),c.qZA(),c.kcU(),c.TgZ(10,"button",9),c.NdJ("click",function(){return Se.nextPage()}),c.O4$(),c.TgZ(11,"svg",7),c._UZ(12,"path",10),c.qZA(),c.qZA(),c.YNc(13,Q,3,5,"button",11),c.qZA(),c.qZA(),c.qZA()),2&Oe&&(c.xp6(2),c.Q6J("ngIf",!Se.hidePageSize),c.xp6(3),c.hij(" ",Se._intl.getRangeLabel(Se.pageIndex,Se.pageSize,Se.length)," "),c.xp6(1),c.Q6J("ngIf",Se.showFirstLastButtons),c.xp6(1),c.Q6J("matTooltip",Se._intl.previousPageLabel)("matTooltipDisabled",Se._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Se._previousButtonsDisabled()),c.uIk("aria-label",Se._intl.previousPageLabel),c.xp6(3),c.Q6J("matTooltip",Se._intl.nextPageLabel)("matTooltipDisabled",Se._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Se._nextButtonsDisabled()),c.uIk("aria-label",Se._intl.nextPageLabel),c.xp6(3),c.Q6J("ngIf",Se.showFirstLastButtons))},directives:[I.KE,_.gD,g.ey,w.lW,e.O5,e.sg,b.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})(),Y=(()=>{class se{}return se.\u0275fac=function(Oe){return new(Oe||se)},se.\u0275mod=c.oAB({type:se}),se.\u0275inj=c.cJS({providers:[be],imports:[[e.ez,w.ot,_.LD,b.AV,g.BQ]]}),se})()},85899:(qe,me,h)=>{"use strict";h.d(me,{Cv:()=>q});var e=h(5e3),c=h(69808),g=h(90508);let q=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=e.oAB({type:j}),j.\u0275inj=e.cJS({imports:[[c.ez,g.BQ],g.BQ]}),j})()},20773:(qe,me,h)=>{"use strict";h.d(me,{Ou:()=>F,Cq:()=>be});var e=h(63191),c=h(70925),g=h(69808),w=h(5e3),_=h(90508),b=h(76360),E=h(50727),v=h(29071);function I(ye,T){if(1&ye&&(w.O4$(),w._UZ(0,"circle",4)),2&ye){const R=w.oxw(),L=w.MAs(1);w.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+R._spinnerAnimationLabel)("stroke-dashoffset",R._getStrokeDashOffset(),"px")("stroke-dasharray",R._getStrokeCircumference(),"px")("stroke-width",R._getCircleStrokeWidth(),"%")("transform-origin",R._getCircleTransformOrigin(L)),w.uIk("r",R._getCircleRadius())}}function N(ye,T){if(1&ye&&(w.O4$(),w._UZ(0,"circle",4)),2&ye){const R=w.oxw(),L=w.MAs(1);w.Udp("stroke-dashoffset",R._getStrokeDashOffset(),"px")("stroke-dasharray",R._getStrokeCircumference(),"px")("stroke-width",R._getCircleStrokeWidth(),"%")("transform-origin",R._getCircleTransformOrigin(L)),w.uIk("r",R._getCircleRadius())}}const j=(0,_.pj)(class{constructor(ye){this._elementRef=ye}},"primary"),G=new w.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Q(){return{diameter:100}}});class F extends j{constructor(T,R,L,X,Y,se,Te,Oe){super(T),this._document=L,this._diameter=100,this._value=0,this._resizeSubscription=E.w0.EMPTY,this.mode="determinate";const Se=F._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Se.has(L.head)||Se.set(L.head,new Set([100])),this._noopAnimations="NoopAnimations"===X&&!!Y&&!Y._forceAnimations,"mat-spinner"===T.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Y&&(Y.diameter&&(this.diameter=Y.diameter),Y.strokeWidth&&(this.strokeWidth=Y.strokeWidth)),R.isBrowser&&R.SAFARI&&Te&&se&&Oe&&(this._resizeSubscription=Te.change(150).subscribe(()=>{"indeterminate"===this.mode&&Oe.run(()=>se.markForCheck())}))}get diameter(){return this._diameter}set diameter(T){this._diameter=(0,e.su)(T),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(T){this._strokeWidth=(0,e.su)(T)}get value(){return"determinate"===this.mode?this._value:0}set value(T){this._value=Math.max(0,Math.min(100,(0,e.su)(T)))}ngOnInit(){const T=this._elementRef.nativeElement;this._styleRoot=(0,c.kV)(T)||this._document.head,this._attachStyleNode(),T.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const T=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${T} ${T}`}_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(T){var R;const L=50*(null!==(R=T.currentScale)&&void 0!==R?R:1);return`${L}% ${L}%`}_attachStyleNode(){const T=this._styleRoot,R=this._diameter,L=F._diameters;let X=L.get(T);if(!X||!X.has(R)){const Y=this._document.createElement("style");Y.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Y.textContent=this._getAnimationText(),T.appendChild(Y),X||(X=new Set,L.set(T,X)),X.add(R)}}_getAnimationText(){const T=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*T).replace(/END_VALUE/g,""+.2*T).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}F._diameters=new WeakMap,F.\u0275fac=function(T){return new(T||F)(w.Y36(w.SBq),w.Y36(c.t4),w.Y36(g.K0,8),w.Y36(b.Qb,8),w.Y36(G),w.Y36(w.sBO),w.Y36(v.rL),w.Y36(w.R0b))},F.\u0275cmp=w.Xpm({type:F,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(T,R){2&T&&(w.uIk("aria-valuemin","determinate"===R.mode?0:null)("aria-valuemax","determinate"===R.mode?100:null)("aria-valuenow","determinate"===R.mode?R.value:null)("mode",R.mode),w.Udp("width",R.diameter,"px")("height",R.diameter,"px"),w.ekj("_mat-animation-noopable",R._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[w.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(T,R){1&T&&(w.O4$(),w.TgZ(0,"svg",0,1),w.YNc(2,I,1,11,"circle",2),w.YNc(3,N,1,9,"circle",3),w.qZA()),2&T&&(w.Udp("width",R.diameter,"px")("height",R.diameter,"px"),w.Q6J("ngSwitch","indeterminate"===R.mode),w.uIk("viewBox",R._getViewBox()),w.xp6(2),w.Q6J("ngSwitchCase",!0),w.xp6(1),w.Q6J("ngSwitchCase",!1))},directives:[g.RF,g.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 be=(()=>{class ye{}return ye.\u0275fac=function(R){return new(R||ye)},ye.\u0275mod=w.oAB({type:ye}),ye.\u0275inj=w.cJS({imports:[[_.BQ,g.ez],_.BQ]}),ye})()},79814:(qe,me,h)=>{"use strict";h.d(me,{U0:()=>R,VQ:()=>be,Fk:()=>L});var e=h(5e3),c=h(90508),g=h(63191),w=h(93075),_=h(76360),b=h(15664),E=h(20449);const v=["input"],I=function(X){return{enterDuration:X}},N=["*"],A=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function q(){return{color:"accent"}}});let j=0;const G={provide:w.JU,useExisting:(0,e.Gpc)(()=>be),multi:!0};class Q{constructor(Y,se){this.source=Y,this.value=se}}const he=new e.OlP("MatRadioGroup");let F=(()=>{class X{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+j++,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(Te=>{Te.checked=this.value===Te.value,Te.checked&&(this._selected=Te)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Q(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 X.\u0275fac=function(se){return new(se||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})(),be=(()=>{class X extends F{}return X.\u0275fac=function(){let Y;return function(Te){return(Y||(Y=e.n5z(X)))(Te||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["mat-radio-group"]],contentQueries:function(se,Te,Oe){if(1&se&&e.Suo(Oe,R,5),2&se){let Se;e.iGM(Se=e.CRH())&&(Te._radios=Se)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([G,{provide:he,useExisting:X}]),e.qOj]}),X})();class pe{constructor(Y){this._elementRef=Y}}const ye=(0,c.Kr)((0,c.sb)(pe));let T=(()=>{class X extends ye{constructor(se,Te,Oe,Se,We,ge,Le,ue){super(Te),this._changeDetector=Oe,this._focusMonitor=Se,this._radioDispatcher=We,this._providerOverride=Le,this._uniqueId="mat-radio-"+ ++j,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===ge,ue&&(this.tabIndex=(0,g.su)(ue,0)),this._removeUniqueSelectionListener=We.listen((Me,z)=>{Me!==this.id&&z===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(se){const Te=(0,g.Ig)(se);this._checked!==Te&&(this._checked=Te,Te&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Te&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Te&&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,Te){Te?this._focusMonitor.focusVia(this._inputElement,Te,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)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),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 Q(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const Te=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Te&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}_updateTabIndex(){var se;const Te=this.radioGroup;let Oe;if(Oe=Te&&Te.selected&&!this.disabled?Te.selected===this?this.tabIndex:-1:this.tabIndex,Oe!==this._previousTabIndex){const Se=null===(se=this._inputElement)||void 0===se?void 0:se.nativeElement;Se&&(Se.setAttribute("tabindex",Oe+""),this._previousTabIndex=Oe)}}}return X.\u0275fac=function(se){e.$Z()},X.\u0275dir=e.lG2({type:X,viewQuery:function(se,Te){if(1&se&&e.Gf(v,5),2&se){let Oe;e.iGM(Oe=e.CRH())&&(Te._inputElement=Oe.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})(),R=(()=>{class X extends T{constructor(se,Te,Oe,Se,We,ge,Le,ue){super(se,Te,Oe,Se,We,ge,Le,ue)}}return X.\u0275fac=function(se){return new(se||X)(e.Y36(he,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(b.tE),e.Y36(E.A8),e.Y36(_.Qb,8),e.Y36(A,8),e.$8M("tabindex"))},X.\u0275cmp=e.Xpm({type:X,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(se,Te){1&se&&e.NdJ("focus",function(){return Te._inputElement.nativeElement.focus()}),2&se&&(e.uIk("tabindex",null)("id",Te.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",Te.checked)("mat-radio-disabled",Te.disabled)("_mat-animation-noopable",Te._noopAnimations)("mat-primary","primary"===Te.color)("mat-accent","accent"===Te.color)("mat-warn","warn"===Te.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:N,decls:13,vars:19,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",3,"id","checked","disabled","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,Te){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(Se){return Te._onInputInteraction(Se)})("click",function(Se){return Te._onInputClick(Se)}),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 Oe=e.MAs(1);e.uIk("for",Te.inputId),e.xp6(5),e.Q6J("id",Te.inputId)("checked",Te.checked)("disabled",Te.disabled)("required",Te.required),e.uIk("name",Te.name)("value",Te.value)("aria-label",Te.ariaLabel)("aria-labelledby",Te.ariaLabelledby)("aria-describedby",Te.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Oe)("matRippleDisabled",Te._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(17,I,Te._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==Te.labelPosition)}},directives:[c.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-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;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{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.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})(),L=(()=>{class X{}return X.\u0275fac=function(se){return new(se||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({imports:[[c.si,c.BQ],c.BQ]}),X})()},74107:(qe,me,h)=>{"use strict";h.d(me,{gD:()=>V,LD:()=>H,$L:()=>ee});var e=h(91314),c=h(69808),g=h(5e3),w=h(90508),_=h(67322),b=h(29071),E=h(15664),v=h(63191),I=h(20449),N=h(91159),A=h(93075),q=h(77579),j=h(49770),G=h(56451),Q=h(68675),he=h(63900),F=h(95698),be=h(39300),pe=h(54004),ye=h(71884),T=h(82722),R=h(41777),L=h(50226);const X=["trigger"],Y=["panel"];function se(D,O){if(1&D&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&D){const i=g.oxw();g.xp6(1),g.Oqu(i.placeholder)}}function Te(D,O){if(1&D&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&D){const i=g.oxw(2);g.xp6(1),g.Oqu(i.triggerValue)}}function Oe(D,O){1&D&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Se(D,O){if(1&D&&(g.TgZ(0,"span",9),g.YNc(1,Te,2,1,"span",10),g.YNc(2,Oe,1,0,"ng-content",11),g.qZA()),2&D){const i=g.oxw();g.Q6J("ngSwitch",!!i.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function We(D,O){if(1&D){const i=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(u){return g.CHM(i),g.oxw()._panelDoneAnimatingStream.next(u.toState)})("keydown",function(u){return g.CHM(i),g.oxw()._handleKeydown(u)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&D){const i=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",i._getPanelTheme(),""),g.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),g.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),g.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}const ge=[[["mat-select-trigger"]],"*"],Le=["mat-select-trigger","*"],ue={transformPanelWrap:(0,R.X$)("transformPanelWrap",[(0,R.eR)("* => void",(0,R.IO)("@transformPanel",[(0,R.pV)()],{optional:!0}))]),transformPanel:(0,R.X$)("transformPanel",[(0,R.SB)("void",(0,R.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,R.SB)("showing",(0,R.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,R.SB)("showing-multiple",(0,R.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,R.eR)("void => *",(0,R.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,R.eR)("* => void",(0,R.jt)("100ms 25ms linear",(0,R.oB)({opacity:0})))])};let de=0;const it=new g.OlP("mat-select-scroll-strategy"),ze=new g.OlP("MAT_SELECT_CONFIG"),Ue={provide:it,deps:[e.aV],useFactory:function Be(D){return()=>D.scrollStrategies.reposition()}};class _e{constructor(O,i){this.source=O,this.value=i}}const ae=(0,w.Kr)((0,w.sb)((0,w.Id)((0,w.FD)(class{constructor(D,O,i,o,u){this._elementRef=D,this._defaultErrorStateMatcher=O,this._parentForm=i,this._parentFormGroup=o,this.ngControl=u}})))),Ae=new g.OlP("MatSelectTrigger");let ee=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=g.lG2({type:D,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:Ae,useExisting:D}])]}),D})(),Ne=(()=>{class D extends ae{constructor(i,o,u,l,s,n,t,r,a,d,f,x,Ye,It){var jt,bt,Yt;super(s,l,t,r,d),this._viewportRuler=i,this._changeDetectorRef=o,this._ngZone=u,this._dir=n,this._parentFormField=a,this._liveAnnouncer=Ye,this._defaultOptions=It,this._panelOpen=!1,this._compareWith=(Ct,Nt)=>Ct===Nt,this._uid="mat-select-"+de++,this._triggerAriaLabelledBy=null,this._destroy=new q.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+de++,this._panelDoneAnimatingStream=new q.x,this._overlayPanelClass=(null===(jt=this._defaultOptions)||void 0===jt?void 0:jt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Yt=null===(bt=this._defaultOptions)||void 0===bt?void 0:bt.disableOptionCentering)&&void 0!==Yt&&Yt,this.ariaLabel="",this.optionSelectionChanges=(0,j.P)(()=>{const Ct=this.options;return Ct?Ct.changes.pipe((0,Q.O)(Ct),(0,he.w)(()=>(0,G.T)(...Ct.map(Nt=>Nt.onSelectionChange)))):this._ngZone.onStable.pipe((0,F.q)(1),(0,he.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,be.h)(Ct=>Ct),(0,pe.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,be.h)(Ct=>!Ct),(0,pe.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==It?void 0:It.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=It.typeaheadDebounceInterval),this._scrollStrategyFactory=x,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){var i,o,u,l;return null!==(l=null!==(i=this._required)&&void 0!==i?i:null===(u=null===(o=this.ngControl)||void 0===o?void 0:o.control)||void 0===u?void 0:u.hasValidator(A.kI.required))&&void 0!==l&&l}set required(i){this._required=(0,v.Ig)(i),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._multiple=(0,v.Ig)(i)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(i){this._disableOptionCentering=(0,v.Ig)(i)}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(i){this._typeaheadDebounceInterval=(0,v.su)(i)}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new I.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ye.x)(),(0,T.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,T.R)(this._destroy)).subscribe(i=>{i.added.forEach(o=>o.select()),i.removed.forEach(o=>o.deselect())}),this.options.changes.pipe((0,Q.O)(null),(0,T.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const i=this._getTriggerAriaLabelledby(),o=this.ngControl;if(i!==this._triggerAriaLabelledBy){const u=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?u.setAttribute("aria-labelledby",i):u.removeAttribute("aria-labelledby")}o&&(this._previousControl!==o.control&&(void 0!==this._previousControl&&null!==o.disabled&&o.disabled!==this.disabled&&(this.disabled=o.disabled),this._previousControl=o.control),this.updateErrorState())}ngOnChanges(i){i.disabled&&this.stateChanges.next(),i.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(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var i,o;return this.multiple?(null===(i=this._selectionModel)||void 0===i?void 0:i.selected)||[]:null===(o=this._selectionModel)||void 0===o?void 0:o.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const i=this._selectionModel.selected.map(o=>o.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){const o=i.keyCode,u=o===N.JH||o===N.LH||o===N.oh||o===N.SV,l=o===N.K5||o===N.L_,s=this._keyManager;if(!s.isTyping()&&l&&!(0,N.Vb)(i)||(this.multiple||i.altKey)&&u)i.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;s.onKeydown(i);const t=this.selected;t&&n!==t&&this._liveAnnouncer.announce(t.viewValue,1e4)}}_handleOpenKeydown(i){const o=this._keyManager,u=i.keyCode,l=u===N.JH||u===N.LH,s=o.isTyping();if(l&&i.altKey)i.preventDefault(),this.close();else if(s||u!==N.K5&&u!==N.L_||!o.activeItem||(0,N.Vb)(i))if(!s&&this._multiple&&u===N.A&&i.ctrlKey){i.preventDefault();const n=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(n?t.select():t.deselect())})}else{const n=o.activeItemIndex;o.onKeydown(i),this._multiple&&l&&i.shiftKey&&o.activeItem&&o.activeItemIndex!==n&&o.activeItem._selectViaInteraction()}else i.preventDefault(),o.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,F.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(i){if(this._selectionModel.selected.forEach(o=>o.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(o=>this._selectOptionByValue(o)),this._sortValues();else{const o=this._selectOptionByValue(i);o?this._keyManager.updateActiveItem(o):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){const o=this.options.find(u=>{if(this._selectionModel.isSelected(u))return!1;try{return null!=u.value&&this._compareWith(u.value,i)}catch(l){return!1}});return o&&this._selectionModel.select(o),o}_assignValue(i){return!!(i!==this._value||this._multiple&&Array.isArray(i))&&(this.options&&this._setSelectionByValue(i),this._value=i,!0)}_initKeyManager(){this._keyManager=new E.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,T.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,T.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 i=(0,G.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,T.R)(i)).subscribe(o=>{this._onSelect(o.source,o.isUserInput),o.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,G.T)(...this.options.map(o=>o._stateChanges)).pipe((0,T.R)(i)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(i,o){const u=this._selectionModel.isSelected(i);null!=i.value||this._multiple?(u!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),o&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),o&&this.focus())):(i.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(i.value)),u!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const i=this.options.toArray();this._selectionModel.sort((o,u)=>this.sortComparator?this.sortComparator(o,u,i):i.indexOf(o)-i.indexOf(u)),this.stateChanges.next()}}_propagateChanges(i){let o=null;o=this.multiple?this.selected.map(u=>u.value):this.selected?this.selected.value:i,this._value=o,this.valueChange.emit(o),this._onChange(o),this.selectionChange.emit(this._getChangeEvent(o)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var i;return!this._panelOpen&&!this.disabled&&(null===(i=this.options)||void 0===i?void 0:i.length)>0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){var i;if(this.ariaLabel)return null;const o=null===(i=this._parentFormField)||void 0===i?void 0:i.getLabelId();return this.ariaLabelledby?(o?o+" ":"")+this.ariaLabelledby:o}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var i;if(this.ariaLabel)return null;const o=null===(i=this._parentFormField)||void 0===i?void 0:i.getLabelId();let u=(o?o+" ":"")+this._valueId;return this.ariaLabelledby&&(u+=" "+this.ariaLabelledby),u}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){this._ariaDescribedby=i.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return D.\u0275fac=function(i){return new(i||D)(g.Y36(b.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(w.rD),g.Y36(g.SBq),g.Y36(L.Is,8),g.Y36(A.F,8),g.Y36(A.sg,8),g.Y36(_.G_,8),g.Y36(A.a5,10),g.$8M("tabindex"),g.Y36(it),g.Y36(E.Kd),g.Y36(ze,8))},D.\u0275dir=g.lG2({type:D,viewQuery:function(i,o){if(1&i&&(g.Gf(X,5),g.Gf(Y,5),g.Gf(e.pI,5)),2&i){let u;g.iGM(u=g.CRH())&&(o.trigger=u.first),g.iGM(u=g.CRH())&&(o.panel=u.first),g.iGM(u=g.CRH())&&(o._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]}),D})(),V=(()=>{class D extends Ne{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(i,o,u){const l=this._getItemHeight();return Math.min(Math.max(0,l*i-o+l/2),u)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,T.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,F.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(i){const o=(0,w.CB)(i,this.options,this.optionGroups),u=this._getItemHeight();this.panel.nativeElement.scrollTop=0===i&&1===o?0:(0,w.jH)((i+o)*u,u,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(i){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(i)}_getChangeEvent(i){return new _e(this,i)}_calculateOverlayOffsetX(){const i=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),u=this._isRtl(),l=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let r=this._selectionModel.selected[0]||this.options.first;s=r&&r.group?32:16}u||(s*=-1);const n=0-(i.left+s-(u?l:0)),t=i.right+s-o.width+(u?0:l);n>0?s+=n+8:t>0&&(s-=t+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(i,o,u){const l=this._getItemHeight(),s=(l-this._triggerRect.height)/2,n=Math.floor(256/l);let t;return this.disableOptionCentering?0:(t=0===this._scrollTop?i*l:this._scrollTop===u?(i-(this._getItemCount()-n))*l+(l-(this._getItemCount()*l-256)%l):o-l/2,Math.round(-1*t-s))}_checkOverlayWithinViewport(i){const o=this._getItemHeight(),u=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,s=u.height-this._triggerRect.bottom-8,n=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*o,256)-n-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):n>l?this._adjustPanelDown(n,l,i):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(i,o){const u=Math.round(i-o);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(i,o,u){const l=Math.round(i-o);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=u)return this._scrollTop=u,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const i=this._getItemHeight(),o=this._getItemCount(),u=Math.min(o*i,256),s=o*i-u;let n;n=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),n+=(0,w.CB)(n,this.options,this.optionGroups);const t=u/2;this._scrollTop=this._calculateOverlayScroll(n,t,s),this._offsetY=this._calculateOverlayOffsetY(n,t,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const i=this._getItemHeight(),o=(i-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-o+i/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return D.\u0275fac=function(){let O;return function(o){return(O||(O=g.n5z(D)))(o||D)}}(),D.\u0275cmp=g.Xpm({type:D,selectors:[["mat-select"]],contentQueries:function(i,o,u){if(1&i&&(g.Suo(u,Ae,5),g.Suo(u,w.ey,5),g.Suo(u,w.K7,5)),2&i){let l;g.iGM(l=g.CRH())&&(o.customTrigger=l.first),g.iGM(l=g.CRH())&&(o.options=l),g.iGM(l=g.CRH())&&(o.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(i,o){1&i&&g.NdJ("keydown",function(l){return o._handleKeydown(l)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&i&&(g.uIk("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-describedby",o._ariaDescribedby||null)("aria-activedescendant",o._getAriaActiveDescendant()),g.ekj("mat-select-disabled",o.disabled)("mat-select-invalid",o.errorState)("mat-select-required",o.required)("mat-select-empty",o.empty)("mat-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:_.Eo,useExisting:D},{provide:w.HF,useExisting:D}]),g.qOj],ngContentSelectors:Le,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(i,o){if(1&i&&(g.F$t(ge),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return o.toggle()}),g.TgZ(3,"div",2),g.YNc(4,se,2,1,"span",3),g.YNc(5,Se,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,We,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&i){const u=g.MAs(1);g.uIk("aria-owns",o.panelOpen?o.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",o.empty),g.uIk("id",o._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayMinWidth",null==o._triggerRect?null:o._triggerRect.width)("cdkConnectedOverlayOffsetY",o._offsetY)}},directives:[e.xu,c.RF,c.n9,c.ED,e.pI,c.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[ue.transformPanelWrap,ue.transformPanel]},changeDetection:0}),D})(),H=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=g.oAB({type:D}),D.\u0275inj=g.cJS({providers:[Ue],imports:[[c.ez,e.U8,w.Ng,w.BQ],b.ZD,_.lN,w.Ng,w.BQ]}),D})()},2638:(qe,me,h)=>{"use strict";h.d(me,{JX:()=>ne,TM:()=>it,Rh:()=>Ze,SJ:()=>Be});var e=h(29071),c=h(69808),g=h(5e3),w=h(90508),_=h(63191),b=h(91159),E=h(77579),v=h(54968),I=h(56451),N=h(39300),A=h(54004),q=h(69718),j=h(82722),G=h(71884),Q=h(95698),he=h(68675),F=h(78372),be=h(41777),pe=h(76360),ye=h(15664),T=h(70925),R=h(50226);const L=["*"],X=["content"];function Y(ze,Ue){if(1&ze){const _e=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){return g.CHM(_e),g.oxw()._onBackdropClicked()}),g.qZA()}if(2&ze){const _e=g.oxw();g.ekj("mat-drawer-shown",_e._isShowingBackdrop())}}function se(ze,Ue){1&ze&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const Te=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Oe=["mat-drawer","mat-drawer-content","*"];function Se(ze,Ue){if(1&ze){const _e=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){return g.CHM(_e),g.oxw()._onBackdropClicked()}),g.qZA()}if(2&ze){const _e=g.oxw();g.ekj("mat-drawer-shown",_e._isShowingBackdrop())}}function We(ze,Ue){1&ze&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const ge=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Le=["mat-sidenav","mat-sidenav-content","*"],Me={transformDrawer:(0,be.X$)("transform",[(0,be.SB)("open, open-instant",(0,be.oB)({transform:"none",visibility:"visible"})),(0,be.SB)("void",(0,be.oB)({"box-shadow":"none",visibility:"hidden"})),(0,be.eR)("void => open-instant",(0,be.jt)("0ms")),(0,be.eR)("void <=> open, open-instant => void",(0,be.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},P=new g.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ce(){return!1}}),de=new g.OlP("MAT_DRAWER_CONTAINER");let Pe=(()=>{class ze extends e.PQ{constructor(_e,ae,Ae,ee,Ne){super(Ae,ee,Ne),this._changeDetectorRef=_e,this._container=ae}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>fe)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(_e,ae){2&_e&&g.Udp("margin-left",ae._container._contentMargins.left,"px")("margin-right",ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:ze}]),g.qOj],ngContentSelectors:L,decls:1,vars:0,template:function(_e,ae){1&_e&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),ze})(),ce=(()=>{class ze{constructor(_e,ae,Ae,ee,Ne,V,H,D){this._elementRef=_e,this._focusTrapFactory=ae,this._focusMonitor=Ae,this._platform=ee,this._ngZone=Ne,this._interactivityChecker=V,this._doc=H,this._container=D,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E.x,this._animationEnd=new E.x,this._animationState="void",this.openedChange=new g.vpe(!0),this._openedStream=this.openedChange.pipe((0,N.h)(O=>O),(0,A.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,N.h)(O=>O.fromState!==O.toState&&0===O.toState.indexOf("open")),(0,q.h)(void 0)),this._closedStream=this.openedChange.pipe((0,N.h)(O=>!O),(0,A.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,N.h)(O=>O.fromState!==O.toState&&"void"===O.toState),(0,q.h)(void 0)),this._destroyed=new E.x,this.onPositionChanged=new g.vpe,this._modeChanged=new E.x,this.openedChange.subscribe(O=>{O?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,v.R)(this._elementRef.nativeElement,"keydown").pipe((0,N.h)(O=>O.keyCode===b.hY&&!this.disableClose&&!(0,b.Vb)(O)),(0,j.R)(this._destroyed)).subscribe(O=>this._ngZone.run(()=>{this.close(),O.stopPropagation(),O.preventDefault()}))}),this._animationEnd.pipe((0,G.x)((O,i)=>O.fromState===i.fromState&&O.toState===i.toState)).subscribe(O=>{const{fromState:i,toState:o}=O;(0===o.indexOf("open")&&"void"===i||"void"===o&&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=(0,_.Ig)(_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=(0,_.Ig)(_e)),this._autoFocus=_e}get opened(){return this._opened}set opened(_e){this.toggle((0,_.Ig)(_e))}_forceFocus(_e,ae){this._interactivityChecker.isFocusable(_e)||(_e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ae=()=>{_e.removeEventListener("blur",Ae),_e.removeEventListener("mousedown",Ae),_e.removeAttribute("tabindex")};_e.addEventListener("blur",Ae),_e.addEventListener("mousedown",Ae)})),_e.focus(ae)}_focusByCssSelector(_e,ae){let Ae=this._elementRef.nativeElement.querySelector(_e);Ae&&this._forceFocus(Ae,ae)}_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(ae=>{!ae&&"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,ae){_e&&ae&&(this._openedVia=ae);const Ae=this._setOpen(_e,!_e&&this._isFocusWithinDrawer(),this._openedVia||"program");return _e||(this._openedVia=null),Ae}_setOpen(_e,ae,Ae){return this._opened=_e,_e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ae&&this._restoreFocus(Ae)),this._updateFocusTrapState(),new Promise(ee=>{this.openedChange.pipe((0,Q.q)(1)).subscribe(Ne=>ee(Ne?"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 ae=this._elementRef.nativeElement,Ae=ae.parentNode;"end"===_e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ae.insertBefore(this._anchor,ae)),Ae.appendChild(ae)):this._anchor&&this._anchor.parentNode.insertBefore(ae,this._anchor)}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.SBq),g.Y36(ye.qV),g.Y36(ye.tE),g.Y36(T.t4),g.Y36(g.R0b),g.Y36(ye.ic),g.Y36(c.K0,8),g.Y36(de,8))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer"]],viewQuery:function(_e,ae){if(1&_e&&g.Gf(X,5),2&_e){let Ae;g.iGM(Ae=g.CRH())&&(ae._content=Ae.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(_e,ae){1&_e&&g.WFA("@transform.start",function(ee){return ae._animationStarted.next(ee)})("@transform.done",function(ee){return ae._animationEnd.next(ee)}),2&_e&&(g.uIk("align",null),g.d8E("@transform",ae._animationState),g.ekj("mat-drawer-end","end"===ae.position)("mat-drawer-over","over"===ae.mode)("mat-drawer-push","push"===ae.mode)("mat-drawer-side","side"===ae.mode)("mat-drawer-opened",ae.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:L,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(_e,ae){1&_e&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},directives:[e.PQ],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0}),ze})(),fe=(()=>{class ze{constructor(_e,ae,Ae,ee,Ne,V=!1,H){this._dir=_e,this._element=ae,this._ngZone=Ae,this._changeDetectorRef=ee,this._animationMode=H,this._drawers=new g.n_E,this.backdropClick=new g.vpe,this._destroyed=new E.x,this._doCheckSubject=new E.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E.x,_e&&_e.change.pipe((0,j.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ne.change().pipe((0,j.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=V}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(_e){this._autosize=(0,_.Ig)(_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:(0,_.Ig)(_e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,he.O)(this._allDrawers),(0,j.R)(this._destroyed)).subscribe(_e=>{this._drawers.reset(_e.filter(ae=>!ae._container||ae._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,he.O)(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,F.b)(10),(0,j.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(_e=>_e.open())}close(){this._drawers.forEach(_e=>_e.close())}updateContentMargins(){let _e=0,ae=0;if(this._left&&this._left.opened)if("side"==this._left.mode)_e+=this._left._getWidth();else if("push"==this._left.mode){const Ae=this._left._getWidth();_e+=Ae,ae-=Ae}if(this._right&&this._right.opened)if("side"==this._right.mode)ae+=this._right._getWidth();else if("push"==this._right.mode){const Ae=this._right._getWidth();ae+=Ae,_e-=Ae}_e=_e||null,ae=ae||null,(_e!==this._contentMargins.left||ae!==this._contentMargins.right)&&(this._contentMargins={left:_e,right:ae},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,N.h)(ae=>ae.fromState!==ae.toState),(0,j.R)(this._drawers.changes)).subscribe(ae=>{"open-instant"!==ae.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==_e.mode&&_e.openedChange.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(_e.opened))}_watchDrawerPosition(_e){!_e||_e.onPositionChanged.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(_e){_e&&_e._modeChanged.pipe((0,j.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(_e){const ae=this._element.nativeElement.classList,Ae="mat-drawer-container-has-open";_e?ae.add(Ae):ae.remove(Ae)}_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 ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(R.Is,8),g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(e.rL),g.Y36(P),g.Y36(pe.Qb,8))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer-container"]],contentQueries:function(_e,ae,Ae){if(1&_e&&(g.Suo(Ae,Pe,5),g.Suo(Ae,ce,5)),2&_e){let ee;g.iGM(ee=g.CRH())&&(ae._content=ee.first),g.iGM(ee=g.CRH())&&(ae._allDrawers=ee)}},viewQuery:function(_e,ae){if(1&_e&&g.Gf(Pe,5),2&_e){let Ae;g.iGM(Ae=g.CRH())&&(ae._userContent=Ae.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(_e,ae){2&_e&&g.ekj("mat-drawer-container-explicit-backdrop",ae._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:de,useExisting:ze}])],ngContentSelectors:Oe,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,ae){1&_e&&(g.F$t(Te),g.YNc(0,Y,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,se,2,0,"mat-drawer-content",1)),2&_e&&(g.Q6J("ngIf",ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!ae._content))},directives:[Pe,c.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),ze})(),Ze=(()=>{class ze extends Pe{constructor(_e,ae,Ae,ee,Ne){super(_e,ae,Ae,ee,Ne)}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>it)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(_e,ae){2&_e&&g.Udp("margin-left",ae._container._contentMargins.left,"px")("margin-right",ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:ze}]),g.qOj],ngContentSelectors:L,decls:1,vars:0,template:function(_e,ae){1&_e&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),ze})(),ne=(()=>{class ze extends ce{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(_e){this._fixedInViewport=(0,_.Ig)(_e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(_e){this._fixedTopGap=(0,_.su)(_e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(_e){this._fixedBottomGap=(0,_.su)(_e)}}return ze.\u0275fac=function(){let Ue;return function(ae){return(Ue||(Ue=g.n5z(ze)))(ae||ze)}}(),ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(_e,ae){2&_e&&(g.uIk("align",null),g.Udp("top",ae.fixedInViewport?ae.fixedTopGap:null,"px")("bottom",ae.fixedInViewport?ae.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===ae.position)("mat-drawer-over","over"===ae.mode)("mat-drawer-push","push"===ae.mode)("mat-drawer-side","side"===ae.mode)("mat-drawer-opened",ae.opened)("mat-sidenav-fixed",ae.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:L,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(_e,ae){1&_e&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},directives:[e.PQ],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0}),ze})(),it=(()=>{class ze extends fe{}return ze.\u0275fac=function(){let Ue;return function(ae){return(Ue||(Ue=g.n5z(ze)))(ae||ze)}}(),ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav-container"]],contentQueries:function(_e,ae,Ae){if(1&_e&&(g.Suo(Ae,Ze,5),g.Suo(Ae,ne,5)),2&_e){let ee;g.iGM(ee=g.CRH())&&(ae._content=ee.first),g.iGM(ee=g.CRH())&&(ae._allDrawers=ee)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(_e,ae){2&_e&&g.ekj("mat-drawer-container-explicit-backdrop",ae._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:de,useExisting:ze}]),g.qOj],ngContentSelectors:Le,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,ae){1&_e&&(g.F$t(ge),g.YNc(0,Se,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,We,2,0,"mat-sidenav-content",1)),2&_e&&(g.Q6J("ngIf",ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!ae._content))},directives:[Ze,c.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),ze})(),Be=(()=>{class ze{}return ze.\u0275fac=function(_e){return new(_e||ze)},ze.\u0275mod=g.oAB({type:ze}),ze.\u0275inj=g.cJS({imports:[[c.ez,w.BQ,e.ZD],e.ZD,w.BQ]}),ze})()},32368:(qe,me,h)=>{"use strict";h.d(me,{Rr:()=>be,rP:()=>R});var e=h(17144),c=h(5e3),g=h(90508),w=h(63191),_=h(93075),b=h(76360),E=h(15664);const v=["thumbContainer"],I=["toggleBar"],N=["input"],A=function(L){return{enterDuration:L}},q=["*"],j=new c.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let G=0;const Q={provide:_.JU,useExisting:(0,c.Gpc)(()=>be),multi:!0};class he{constructor(X,Y){this.source=X,this.checked=Y}}const F=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(L){this._elementRef=L}}))));let be=(()=>{class L extends F{constructor(Y,se,Te,Oe,Se,We){super(Y),this._focusMonitor=se,this._changeDetectorRef=Te,this.defaults=Se,this._onChange=ge=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++G,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 c.vpe,this.toggleChange=new c.vpe,this.tabIndex=parseInt(Oe)||0,this.color=this.defaultColor=Se.color||"accent",this._noopAnimations="NoopAnimations"===We}get required(){return this._required}set required(Y){this._required=(0,w.Ig)(Y)}get checked(){return this._checked}set checked(Y){this._checked=(0,w.Ig)(Y),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Y=>{Y||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(Y){Y.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Y){Y.stopPropagation()}writeValue(Y){this.checked=!!Y}registerOnChange(Y){this._onChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y,this._changeDetectorRef.markForCheck()}focus(Y,se){se?this._focusMonitor.focusVia(this._inputElement,se,Y):this._inputElement.nativeElement.focus(Y)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new he(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(E.tE),c.Y36(c.sBO),c.$8M("tabindex"),c.Y36(j),c.Y36(b.Qb,8))},L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-slide-toggle"]],viewQuery:function(Y,se){if(1&Y&&(c.Gf(v,5),c.Gf(I,5),c.Gf(N,5)),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._thumbEl=Te.first),c.iGM(Te=c.CRH())&&(se._thumbBarEl=Te.first),c.iGM(Te=c.CRH())&&(se._inputElement=Te.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Y,se){2&Y&&(c.Ikx("id",se.id),c.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),c.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:[c._Bn([Q]),c.qOj],ngContentSelectors:q,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(Y,se){if(1&Y&&(c.F$t(),c.TgZ(0,"label",0,1),c.TgZ(2,"span",2,3),c.TgZ(4,"input",4,5),c.NdJ("change",function(Oe){return se._onChangeEvent(Oe)})("click",function(Oe){return se._onInputClick(Oe)}),c.qZA(),c.TgZ(6,"span",6,7),c._UZ(8,"span",8),c.TgZ(9,"span",9),c._UZ(10,"span",10),c.qZA(),c.qZA(),c.qZA(),c.TgZ(11,"span",11,12),c.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),c.TgZ(13,"span",13),c._uU(14,"\xa0"),c.qZA(),c.Hsn(15),c.qZA(),c.qZA()),2&Y){const Te=c.MAs(1),Oe=c.MAs(12);c.uIk("for",se.inputId),c.xp6(2),c.ekj("mat-slide-toggle-bar-no-side-margin",!Oe.textContent||!Oe.textContent.trim()),c.xp6(2),c.Q6J("id",se.inputId)("required",se.required)("tabIndex",se.tabIndex)("checked",se.checked)("disabled",se.disabled),c.uIk("name",se.name)("aria-checked",se.checked)("aria-label",se.ariaLabel)("aria-labelledby",se.ariaLabelledby)("aria-describedby",se.ariaDescribedby),c.xp6(5),c.Q6J("matRippleTrigger",Te)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",c.VKq(18,A,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;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}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({}),L})(),R=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[T,g.si,g.BQ,e.Q8],T,g.BQ]}),L})()},57261:(qe,me,h)=>{"use strict";h.d(me,{ZX:()=>F});var e=h(91314),c=h(47429),g=h(69808),w=h(5e3),_=h(90508),b=h(47423);h(41777);let F=(()=>{class R{}return R.\u0275fac=function(X){return new(X||R)},R.\u0275mod=w.oAB({type:R}),R.\u0275inj=w.cJS({imports:[[e.U8,c.eL,g.ez,b.ot,_.BQ],_.BQ]}),R})()},84847:(qe,me,h)=>{"use strict";h.d(me,{YE:()=>X,nU:()=>Te,JX:()=>Oe});var e=h(5e3),c=h(63191),g=h(91159),w=h(90508),_=h(77579),b=h(56451),E=h(41777),v=h(15664),I=h(69808);const N=["mat-sort-header",""];function A(Se,We){if(1&Se){const ge=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(ge),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(ge),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&Se){const ge=e.oxw();e.Q6J("@arrowOpacity",ge._getArrowViewState())("@arrowPosition",ge._getArrowViewState())("@allowChildren",ge._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",ge._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",ge._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",ge._getArrowDirectionState())}}const q=["*"],j=w.mZ.ENTERING+" "+w.yN.STANDARD_CURVE,G={indicator:(0,E.X$)("indicator",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"translateY(0px)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"translateY(10px)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),leftPointer:(0,E.X$)("leftPointer",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"rotate(-45deg)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"rotate(45deg)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),rightPointer:(0,E.X$)("rightPointer",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"rotate(45deg)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"rotate(-45deg)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),arrowOpacity:(0,E.X$)("arrowOpacity",[(0,E.SB)("desc-to-active, asc-to-active, active",(0,E.oB)({opacity:1})),(0,E.SB)("desc-to-hint, asc-to-hint, hint",(0,E.oB)({opacity:.54})),(0,E.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,E.oB)({opacity:0})),(0,E.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,E.jt)("0ms")),(0,E.eR)("* <=> *",(0,E.jt)(j))]),arrowPosition:(0,E.X$)("arrowPosition",[(0,E.eR)("* => desc-to-hint, * => desc-to-active",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(-25%)"}),(0,E.oB)({transform:"translateY(0)"})]))),(0,E.eR)("* => hint-to-desc, * => active-to-desc",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(0)"}),(0,E.oB)({transform:"translateY(25%)"})]))),(0,E.eR)("* => asc-to-hint, * => asc-to-active",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(25%)"}),(0,E.oB)({transform:"translateY(0)"})]))),(0,E.eR)("* => hint-to-asc, * => active-to-asc",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(0)"}),(0,E.oB)({transform:"translateY(-25%)"})]))),(0,E.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,E.oB)({transform:"translateY(0)"})),(0,E.SB)("hint-to-desc, active-to-desc, desc",(0,E.oB)({transform:"translateY(-25%)"})),(0,E.SB)("hint-to-asc, active-to-asc, asc",(0,E.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,E.X$)("allowChildren",[(0,E.eR)("* <=> *",[(0,E.IO)("@*",(0,E.pV)(),{optional:!0})])])};let pe=(()=>{class Se{constructor(){this.changes=new _.x}}return Se.\u0275fac=function(ge){return new(ge||Se)},Se.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();const T={provide:pe,deps:[[new e.FiY,new e.tp0,pe]],useFactory:function ye(Se){return Se||new pe}},R=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),L=(0,w.dB)((0,w.Id)(class{}));let X=(()=>{class Se extends L{constructor(ge){super(),this._defaultOptions=ge,this.sortables=new Map,this._stateChanges=new _.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(ge){this._direction=ge}get disableClear(){return this._disableClear}set disableClear(ge){this._disableClear=(0,c.Ig)(ge)}register(ge){this.sortables.set(ge.id,ge)}deregister(ge){this.sortables.delete(ge.id)}sort(ge){this.active!=ge.id?(this.active=ge.id,this.direction=ge.start?ge.start:this.start):this.direction=this.getNextSortDirection(ge),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(ge){var Le,ue,Me;if(!ge)return"";const z=null!==(ue=null!==(Le=null==ge?void 0:ge.disableClear)&&void 0!==Le?Le:this.disableClear)&&void 0!==ue?ue:!!(null===(Me=this._defaultOptions)||void 0===Me?void 0:Me.disableClear);let P=function Y(Se,We){let ge=["asc","desc"];return"desc"==Se&&ge.reverse(),We||ge.push(""),ge}(ge.start||this.start,z),de=P.indexOf(this.direction)+1;return de>=P.length&&(de=0),P[de]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Se.\u0275fac=function(ge){return new(ge||Se)(e.Y36(R,8))},Se.\u0275dir=e.lG2({type:Se,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]}),Se})();const se=(0,w.Id)(class{});let Te=(()=>{class Se extends se{constructor(ge,Le,ue,Me,z,P,de){super(),this._intl=ge,this._changeDetectorRef=Le,this._sort=ue,this._columnDef=Me,this._focusMonitor=z,this._elementRef=P,this._ariaDescriber=de,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(ge){this._updateSortActionDescription(ge)}get disableClear(){return this._disableClear}set disableClear(ge){this._disableClear=(0,c.Ig)(ge)}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(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ge=>{const Le=!!ge;Le!==this._showIndicatorHint&&(this._setIndicatorHintVisible(Le),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(ge){this._isDisabled()&&ge||(this._showIndicatorHint=ge,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(ge){this._viewState=ge||{},this._disableViewStateAnimation&&(this._viewState={toState:ge.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(ge){!this._isDisabled()&&(ge.keyCode===g.L_||ge.keyCode===g.K5)&&(ge.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 ge=this._viewState.fromState;return(ge?`${ge}-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(ge){var Le,ue;this._sortButton&&(null===(Le=this._ariaDescriber)||void 0===Le||Le.removeDescription(this._sortButton,this._sortActionDescription),null===(ue=this._ariaDescriber)||void 0===ue||ue.describe(this._sortButton,ge)),this._sortActionDescription=ge}_handleStateChanges(){this._rerenderSubscription=(0,b.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 Se.\u0275fac=function(ge){return new(ge||Se)(e.Y36(pe),e.Y36(e.sBO),e.Y36(X,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(v.tE),e.Y36(e.SBq),e.Y36(v.$s,8))},Se.\u0275cmp=e.Xpm({type:Se,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(ge,Le){1&ge&&e.NdJ("click",function(){return Le._handleClick()})("keydown",function(Me){return Le._handleKeydown(Me)})("mouseenter",function(){return Le._setIndicatorHintVisible(!0)})("mouseleave",function(){return Le._setIndicatorHintVisible(!1)}),2&ge&&(e.uIk("aria-sort",Le._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",Le._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:N,ngContentSelectors:q,decls:4,vars:7,consts:[[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(ge,Le){1&ge&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,A,6,6,"div",2),e.qZA()),2&ge&&(e.ekj("mat-sort-header-sorted",Le._isSorted())("mat-sort-header-position-before","before"==Le.arrowPosition),e.uIk("tabindex",Le._isDisabled()?null:0)("role",Le._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",Le._renderArrow()))},directives:[I.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:[G.indicator,G.leftPointer,G.rightPointer,G.arrowOpacity,G.arrowPosition,G.allowChildren]},changeDetection:0}),Se})(),Oe=(()=>{class Se{}return Se.\u0275fac=function(ge){return new(ge||Se)},Se.\u0275mod=e.oAB({type:Se}),Se.\u0275inj=e.cJS({providers:[T],imports:[[I.ez,w.BQ]]}),Se})()},92081:(qe,me,h)=>{"use strict";h.d(me,{C0:()=>r,BY:()=>t,VY:()=>D,Vq:()=>x,T5:()=>jt,fd:()=>It});var e=h(47429),c=h(15664),g=h(63191),w=h(91159),_=h(69808),b=h(5e3),E=h(70925),v=h(77579),I=h(39646),N=h(68675),A=h(82722),q=h(50226);function j(bt,Yt){1&bt&&b.Hsn(0)}const G=["*"];let Q=(()=>{class bt{constructor(Ct){this._elementRef=Ct}focus(){this._elementRef.nativeElement.focus()}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.SBq))},bt.\u0275dir=b.lG2({type:bt,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),bt})(),he=(()=>{class bt{constructor(Ct){this.template=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["","cdkStepLabel",""]]}),bt})(),F=0;const ye=new b.OlP("STEPPER_GLOBAL_OPTIONS");let T=(()=>{class bt{constructor(Ct,Nt){this._stepper=Ct,this.interacted=!1,this.interactedStream=new b.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Nt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(Ct){this._editable=(0,g.Ig)(Ct)}get optional(){return this._optional}set optional(Ct){this._optional=(0,g.Ig)(Ct)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Ct){this._completedOverride=(0,g.Ig)(Ct)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Ct){this._customError=(0,g.Ig)(Ct)}_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 Ct;return null!==(Ct=this._stepperOptions.showError)&&void 0!==Ct?Ct:null!=this._customError}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36((0,b.Gpc)(()=>R)),b.Y36(ye,8))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["cdk-step"]],contentQueries:function(Ct,Nt,He){if(1&Ct&&b.Suo(He,he,5),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt.stepLabel=je.first)}},viewQuery:function(Ct,Nt){if(1&Ct&&b.Gf(b.Rgc,7),2&Ct){let He;b.iGM(He=b.CRH())&&(Nt.content=He.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:[b.TTD],ngContentSelectors:G,decls:1,vars:0,template:function(Ct,Nt){1&Ct&&(b.F$t(),b.YNc(0,j,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),bt})(),R=(()=>{class bt{constructor(Ct,Nt,He,je){this._dir=Ct,this._changeDetectorRef=Nt,this._elementRef=He,this._destroyed=new v.x,this.steps=new b.n_E,this._sortedHeaders=new b.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new b.vpe,this._orientation="horizontal",this._groupId=F++}get linear(){return this._linear}set linear(Ct){this._linear=(0,g.Ig)(Ct)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ct){var Nt;const He=(0,g.su)(Ct);this.steps&&this._steps?(this._isValidIndex(He),null===(Nt=this.selected)||void 0===Nt||Nt._markAsInteracted(),this._selectedIndex!==He&&!this._anyControlsInvalidOrPending(He)&&(He>=this._selectedIndex||this.steps.toArray()[He].editable)&&this._updateSelectedItemIndex(He)):this._selectedIndex=He}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Ct){this.selectedIndex=Ct&&this.steps?this.steps.toArray().indexOf(Ct):-1}get orientation(){return this._orientation}set orientation(Ct){this._orientation=Ct,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Ct)}ngAfterContentInit(){this._steps.changes.pipe((0,N.O)(this._steps),(0,A.R)(this._destroyed)).subscribe(Ct=>{this.steps.reset(Ct.filter(Nt=>Nt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,N.O)(this._stepHeader),(0,A.R)(this._destroyed)).subscribe(Ct=>{this._sortedHeaders.reset(Ct.toArray().sort((Nt,He)=>Nt._elementRef.nativeElement.compareDocumentPosition(He._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new c.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,I.of)()).pipe((0,N.O)(this._layoutDirection()),(0,A.R)(this._destroyed)).subscribe(Ct=>this._keyManager.withHorizontalOrientation(Ct)),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(Ct=>Ct.reset()),this._stateChanged()}_getStepLabelId(Ct){return`cdk-step-label-${this._groupId}-${Ct}`}_getStepContentId(Ct){return`cdk-step-content-${this._groupId}-${Ct}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Ct){const Nt=Ct-this._selectedIndex;return Nt<0?"rtl"===this._layoutDirection()?"next":"previous":Nt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Ct,Nt="number"){const He=this.steps.toArray()[Ct],je=this._isCurrentStep(Ct);return He._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(He,je):this._getGuidelineLogic(He,je,Nt)}_getDefaultIndicatorLogic(Ct,Nt){return Ct._showError()&&Ct.hasError&&!Nt?"error":!Ct.completed||Nt?"number":Ct.editable?"edit":"done"}_getGuidelineLogic(Ct,Nt,He="number"){return Ct._showError()&&Ct.hasError&&!Nt?"error":Ct.completed&&!Nt?"done":Ct.completed&&Nt?He:Ct.editable&&Nt?"edit":He}_isCurrentStep(Ct){return this._selectedIndex===Ct}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Ct){const Nt=this.steps.toArray();this.selectionChange.emit({selectedIndex:Ct,previouslySelectedIndex:this._selectedIndex,selectedStep:Nt[Ct],previouslySelectedStep:Nt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Ct):this._keyManager.updateActiveItem(Ct),this._selectedIndex=Ct,this._stateChanged()}_onKeydown(Ct){const Nt=(0,w.Vb)(Ct),He=Ct.keyCode,je=this._keyManager;null==je.activeItemIndex||Nt||He!==w.L_&&He!==w.K5?je.onKeydown(Ct):(this.selectedIndex=je.activeItemIndex,Ct.preventDefault())}_anyControlsInvalidOrPending(Ct){return!!(this._linear&&Ct>=0)&&this.steps.toArray().slice(0,Ct).some(Nt=>{const He=Nt.stepControl;return(He?He.invalid||He.pending||!Nt.interacted:!Nt.completed)&&!Nt.optional&&!Nt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Ct=this._elementRef.nativeElement,Nt=(0,E.ht)();return Ct===Nt||Ct.contains(Nt)}_isValidIndex(Ct){return Ct>-1&&(!this.steps||Ct{class bt{constructor(Ct){this._stepper=Ct,this.type="button"}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(R))},bt.\u0275dir=b.lG2({type:bt,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(Ct,Nt){1&Ct&&b.NdJ("click",function(){return Nt._stepper.previous()}),2&Ct&&b.Ikx("type",Nt.type)},inputs:{type:"type"}}),bt})(),Y=(()=>{class bt{}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275mod=b.oAB({type:bt}),bt.\u0275inj=b.cJS({imports:[[q.vT]]}),bt})();var se=h(47423),Te=h(90508),Oe=h(25245),Se=h(50727),We=h(63900),ge=h(54004),Le=h(71884),ue=h(41777);function Me(bt,Yt){if(1&bt&&b.GkF(0,8),2&bt){const Ct=b.oxw();b.Q6J("ngTemplateOutlet",Ct.iconOverrides[Ct.state])("ngTemplateOutletContext",Ct._getIconContext())}}function z(bt,Yt){if(1&bt&&(b.TgZ(0,"span",13),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._getDefaultTextForState(Ct.state))}}function P(bt,Yt){if(1&bt&&(b.TgZ(0,"span",14),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._intl.completedLabel)}}function de(bt,Yt){if(1&bt&&(b.TgZ(0,"span",14),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._intl.editableLabel)}}function Ce(bt,Yt){if(1&bt&&(b.TgZ(0,"mat-icon",13),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._getDefaultTextForState(Ct.state))}}function Pe(bt,Yt){if(1&bt&&(b.ynx(0,9),b.YNc(1,z,2,1,"span",10),b.YNc(2,P,2,1,"span",11),b.YNc(3,de,2,1,"span",11),b.YNc(4,Ce,2,1,"mat-icon",12),b.BQk()),2&bt){const Ct=b.oxw();b.Q6J("ngSwitch",Ct.state),b.xp6(1),b.Q6J("ngSwitchCase","number"),b.xp6(1),b.Q6J("ngIf","done"===Ct.state),b.xp6(1),b.Q6J("ngIf","edit"===Ct.state)}}function ce(bt,Yt){if(1&bt&&(b.TgZ(0,"div",15),b.GkF(1,16),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("ngTemplateOutlet",Ct._templateLabel().template)}}function fe(bt,Yt){if(1&bt&&(b.TgZ(0,"div",15),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct.label)}}function Ze(bt,Yt){if(1&bt&&(b.TgZ(0,"div",17),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct._intl.optionalLabel)}}function ne(bt,Yt){if(1&bt&&(b.TgZ(0,"div",18),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct.errorMessage)}}function it(bt,Yt){}function Be(bt,Yt){if(1&bt&&(b.Hsn(0),b.YNc(1,it,0,0,"ng-template",0)),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("cdkPortalOutlet",Ct._portal)}}const ze=["*"];function Ue(bt,Yt){1&bt&&b._UZ(0,"div",9)}const _e=function(bt,Yt){return{step:bt,i:Yt}};function ae(bt,Yt){if(1&bt&&(b.ynx(0),b.GkF(1,7),b.YNc(2,Ue,1,0,"div",8),b.BQk()),2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=Yt.last;b.oxw(2);const je=b.MAs(4);b.xp6(1),b.Q6J("ngTemplateOutlet",je)("ngTemplateOutletContext",b.WLB(3,_e,Ct,Nt)),b.xp6(1),b.Q6J("ngIf",!He)}}function Ae(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"div",10),b.NdJ("@horizontalStepTransition.done",function(He){return b.CHM(Ct),b.oxw(2)._animationDone.next(He)}),b.GkF(1,11),b.qZA()}if(2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=b.oxw(2);b.Q6J("@horizontalStepTransition",He._getAnimationDirection(Nt))("id",He._getStepContentId(Nt)),b.uIk("aria-labelledby",He._getStepLabelId(Nt))("aria-expanded",He.selectedIndex===Nt),b.xp6(1),b.Q6J("ngTemplateOutlet",Ct.content)}}function ee(bt,Yt){if(1&bt&&(b.ynx(0),b.TgZ(1,"div",3),b.YNc(2,ae,3,6,"ng-container",4),b.qZA(),b.TgZ(3,"div",5),b.YNc(4,Ae,2,5,"div",6),b.qZA(),b.BQk()),2&bt){const Ct=b.oxw();b.xp6(2),b.Q6J("ngForOf",Ct.steps),b.xp6(2),b.Q6J("ngForOf",Ct.steps)}}function Ne(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"div",13),b.GkF(1,7),b.TgZ(2,"div",14),b.TgZ(3,"div",15),b.NdJ("@verticalStepTransition.done",function(He){return b.CHM(Ct),b.oxw(2)._animationDone.next(He)}),b.TgZ(4,"div",16),b.GkF(5,11),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=Yt.last,je=b.oxw(2),Z=b.MAs(4);b.xp6(1),b.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",b.WLB(9,_e,Ct,Nt)),b.xp6(1),b.ekj("mat-stepper-vertical-line",!He),b.xp6(1),b.Q6J("@verticalStepTransition",je._getAnimationDirection(Nt))("id",je._getStepContentId(Nt)),b.uIk("aria-labelledby",je._getStepLabelId(Nt))("aria-expanded",je.selectedIndex===Nt),b.xp6(2),b.Q6J("ngTemplateOutlet",Ct.content)}}function V(bt,Yt){if(1&bt&&(b.ynx(0),b.YNc(1,Ne,6,12,"div",12),b.BQk()),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("ngForOf",Ct.steps)}}function H(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"mat-step-header",17),b.NdJ("click",function(){return b.CHM(Ct).step.select()})("keydown",function(He){return b.CHM(Ct),b.oxw()._onKeydown(He)}),b.qZA()}if(2&bt){const Ct=Yt.step,Nt=Yt.i,He=b.oxw();b.ekj("mat-horizontal-stepper-header","horizontal"===He.orientation)("mat-vertical-stepper-header","vertical"===He.orientation),b.Q6J("tabIndex",He._getFocusIndex()===Nt?0:-1)("id",He._getStepLabelId(Nt))("index",Nt)("state",He._getIndicatorType(Nt,Ct.state))("label",Ct.stepLabel||Ct.label)("selected",He.selectedIndex===Nt)("active",He._stepIsNavigable(Nt,Ct))("optional",Ct.optional)("errorMessage",Ct.errorMessage)("iconOverrides",He._iconOverrides)("disableRipple",He.disableRipple||!He._stepIsNavigable(Nt,Ct))("color",Ct.color||He.color),b.uIk("aria-posinset",Nt+1)("aria-setsize",He.steps.length)("aria-controls",He._getStepContentId(Nt))("aria-selected",He.selectedIndex==Nt)("aria-label",Ct.ariaLabel||null)("aria-labelledby",!Ct.ariaLabel&&Ct.ariaLabelledby?Ct.ariaLabelledby:null)("aria-disabled",!He._stepIsNavigable(Nt,Ct)||null)}}let D=(()=>{class bt extends he{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["","matStepLabel",""]],features:[b.qOj]}),bt})(),O=(()=>{class bt{constructor(){this.changes=new v.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275prov=b.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const o={provide:O,deps:[[new b.FiY,new b.tp0,O]],useFactory:function i(bt){return bt||new O}},u=(0,Te.pj)(class extends Q{constructor(Yt){super(Yt)}},"primary");let l=(()=>{class bt extends u{constructor(Ct,Nt,He,je){super(He),this._intl=Ct,this._focusMonitor=Nt,this._intlSubscription=Ct.changes.subscribe(()=>je.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ct,Nt){Ct?this._focusMonitor.focusVia(this._elementRef,Ct,Nt):this._elementRef.nativeElement.focus(Nt)}_stringLabel(){return this.label instanceof D?null:this.label}_templateLabel(){return this.label instanceof D?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Ct){return"number"==Ct?`${this.index+1}`:"edit"==Ct?"create":"error"==Ct?"warning":Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(O),b.Y36(c.tE),b.Y36(b.SBq),b.Y36(b.sBO))},bt.\u0275cmp=b.Xpm({type:bt,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:[b.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(Ct,Nt){1&Ct&&(b._UZ(0,"div",0),b.TgZ(1,"div"),b.TgZ(2,"div",1),b.YNc(3,Me,1,2,"ng-container",2),b.YNc(4,Pe,5,4,"ng-container",3),b.qZA(),b.qZA(),b.TgZ(5,"div",4),b.YNc(6,ce,2,1,"div",5),b.YNc(7,fe,2,1,"div",5),b.YNc(8,Ze,2,1,"div",6),b.YNc(9,ne,2,1,"div",7),b.qZA()),2&Ct&&(b.Q6J("matRippleTrigger",Nt._getHostElement())("matRippleDisabled",Nt.disableRipple),b.xp6(1),b.Gre("mat-step-icon-state-",Nt.state," mat-step-icon"),b.ekj("mat-step-icon-selected",Nt.selected),b.xp6(1),b.Q6J("ngSwitch",!(!Nt.iconOverrides||!Nt.iconOverrides[Nt.state])),b.xp6(1),b.Q6J("ngSwitchCase",!0),b.xp6(2),b.ekj("mat-step-label-active",Nt.active)("mat-step-label-selected",Nt.selected)("mat-step-label-error","error"==Nt.state),b.xp6(1),b.Q6J("ngIf",Nt._templateLabel()),b.xp6(1),b.Q6J("ngIf",Nt._stringLabel()),b.xp6(1),b.Q6J("ngIf",Nt.optional&&"error"!=Nt.state),b.xp6(1),b.Q6J("ngIf","error"==Nt.state))},directives:[Oe.Hw,Te.wG,_.RF,_.n9,_.tP,_.ED,_.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}),bt})();const s={horizontalStepTransition:(0,ue.X$)("horizontalStepTransition",[(0,ue.SB)("previous",(0,ue.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,ue.SB)("current",(0,ue.oB)({transform:"none",visibility:"inherit"})),(0,ue.SB)("next",(0,ue.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,ue.eR)("* => *",(0,ue.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,ue.X$)("verticalStepTransition",[(0,ue.SB)("previous",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("next",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("current",(0,ue.oB)({height:"*",visibility:"inherit"})),(0,ue.eR)("* <=> current",(0,ue.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let n=(()=>{class bt{constructor(Ct){this.templateRef=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),bt})(),t=(()=>{class bt{constructor(Ct){this._template=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["ng-template","matStepContent",""]]}),bt})(),r=(()=>{class bt extends T{constructor(Ct,Nt,He,je){super(Ct,je),this._errorStateMatcher=Nt,this._viewContainerRef=He,this._isSelected=Se.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,We.w)(()=>this._stepper.selectionChange.pipe((0,ge.U)(Ct=>Ct.selectedStep===this),(0,N.O)(this._stepper.selected===this)))).subscribe(Ct=>{Ct&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Ct,Nt){return this._errorStateMatcher.isErrorState(Ct,Nt)||!!(Ct&&Ct.invalid&&this.interacted)}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36((0,b.Gpc)(()=>x)),b.Y36(Te.rD,4),b.Y36(b.s_b),b.Y36(ye,8))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["mat-step"]],contentQueries:function(Ct,Nt,He){if(1&Ct&&(b.Suo(He,D,5),b.Suo(He,t,5)),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt.stepLabel=je.first),b.iGM(je=b.CRH())&&(Nt._lazyContent=je.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[b._Bn([{provide:Te.rD,useExisting:bt},{provide:T,useExisting:bt}]),b.qOj],ngContentSelectors:ze,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(Ct,Nt){1&Ct&&(b.F$t(),b.YNc(0,Be,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),bt})(),a=(()=>{class bt extends R{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,features:[b.qOj]}),bt})(),d=(()=>{class bt extends a{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["mat-horizontal-stepper"]],features:[b.qOj]}),bt})(),f=(()=>{class bt extends a{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["mat-vertical-stepper"]],features:[b.qOj]}),bt})(),x=(()=>{class bt extends R{constructor(Ct,Nt,He,je){super(Ct,Nt,He,je),this.steps=new b.n_E,this.animationDone=new b.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new v.x;const Z=He.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Z?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Ct,templateRef:Nt})=>this._iconOverrides[Ct]=Nt),this.steps.changes.pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,Le.x)((Ct,Nt)=>Ct.fromState===Nt.fromState&&Ct.toState===Nt.toState),(0,A.R)(this._destroyed)).subscribe(Ct=>{"current"===Ct.toState&&this.animationDone.emit()})}_stepIsNavigable(Ct,Nt){return Nt.completed||this.selectedIndex===Ct||!this.linear}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(q.Is,8),b.Y36(b.sBO),b.Y36(b.SBq),b.Y36(_.K0))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(Ct,Nt,He){if(1&Ct&&(b.Suo(He,r,5),b.Suo(He,n,5)),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt._steps=je),b.iGM(je=b.CRH())&&(Nt._icons=je)}},viewQuery:function(Ct,Nt){if(1&Ct&&b.Gf(l,5),2&Ct){let He;b.iGM(He=b.CRH())&&(Nt._stepHeader=He)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(Ct,Nt){2&Ct&&(b.uIk("aria-orientation",Nt.orientation),b.ekj("mat-stepper-horizontal","horizontal"===Nt.orientation)("mat-stepper-vertical","vertical"===Nt.orientation)("mat-stepper-label-position-end","horizontal"===Nt.orientation&&"end"==Nt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Nt.orientation&&"bottom"==Nt.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[b._Bn([{provide:R,useExisting:bt},{provide:d,useExisting:bt},{provide:f,useExisting:bt}]),b.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(Ct,Nt){1&Ct&&(b.ynx(0,0),b.YNc(1,ee,5,2,"ng-container",1),b.YNc(2,V,2,1,"ng-container",1),b.BQk(),b.YNc(3,H,1,23,"ng-template",null,2,b.W1O)),2&Ct&&(b.Q6J("ngSwitch",Nt.orientation),b.xp6(1),b.Q6J("ngSwitchCase","horizontal"),b.xp6(1),b.Q6J("ngSwitchCase","vertical"))},directives:[l,_.RF,_.n9,_.sg,_.tP,_.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:[s.horizontalStepTransition,s.verticalStepTransition]},changeDetection:0}),bt})(),It=(()=>{class bt extends X{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(Ct,Nt){2&Ct&&b.Ikx("type",Nt.type)},inputs:{type:"type"},features:[b.qOj]}),bt})(),jt=(()=>{class bt{}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275mod=b.oAB({type:bt}),bt.\u0275inj=b.cJS({providers:[o,Te.rD],imports:[[Te.BQ,_.ez,e.eL,se.ot,Y,Oe.Ps,Te.si],Te.BQ]}),bt})()},32075:(qe,me,h)=>{"use strict";h.d(me,{ev:()=>lt,Dz:()=>ct,w1:()=>Tt,ge:()=>ot,fO:()=>Rt,XQ:()=>ni,as:()=>ut,Gk:()=>gi,nj:()=>Qt,BZ:()=>nt,by:()=>Pt,p0:()=>qi});var e=h(5e3),c=h(63191),g=h(20449),w=h(69808),_=h(77579),b=h(32076),E=h(61135),v=h(45191),I=h(39646),N=h(82722),A=h(95698),q=h(50226),j=h(70925),G=h(29071);const Q=[[["caption"]],[["colgroup"],["col"]]],he=["caption","colgroup, col"];function pe($e){return class extends $e{constructor(...vt){super(...vt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(vt){const at=this._sticky;this._sticky=(0,c.Ig)(vt),this._hasStickyChanged=at!==this._sticky}hasStickyChanged(){const vt=this._hasStickyChanged;return this._hasStickyChanged=!1,vt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ye=new e.OlP("CDK_TABLE");let R=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellDef",""]]}),$e})(),L=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderCellDef",""]]}),$e})(),X=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterCellDef",""]]}),$e})();class Y{}const se=pe(Y);let Te=(()=>{class $e extends se{constructor(at){super(),this._table=at,this._stickyEnd=!1}get name(){return this._name}set name(at){this._setNameInput(at)}get stickyEnd(){return this._stickyEnd}set stickyEnd(at){const Qe=this._stickyEnd;this._stickyEnd=(0,c.Ig)(at),this._hasStickyChanged=Qe!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(at){at&&(this._name=at,this.cssClassFriendlyName=at.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkColumnDef",""]],contentQueries:function(at,Qe,yt){if(1&at&&(e.Suo(yt,R,5),e.Suo(yt,L,5),e.Suo(yt,X,5)),2&at){let U;e.iGM(U=e.CRH())&&(Qe.cell=U.first),e.iGM(U=e.CRH())&&(Qe.headerCell=U.first),e.iGM(U=e.CRH())&&(Qe.footerCell=U.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})();class Oe{constructor(vt,at){at.nativeElement.classList.add(...vt._columnCssClassName)}}let Se=(()=>{class $e extends Oe{constructor(at,Qe){super(at,Qe)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(Te),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})(),ge=(()=>{class $e extends Oe{constructor(at,Qe){var yt;if(super(at,Qe),1===(null===(yt=at._table)||void 0===yt?void 0:yt._elementRef.nativeElement.nodeType)){const U=at._table._elementRef.nativeElement.getAttribute("role");Qe.nativeElement.setAttribute("role","grid"===U||"treegrid"===U?"gridcell":"cell")}}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(Te),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 Le{constructor(){this.tasks=[],this.endTasks=[]}}const ue=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Me=(()=>{class $e{constructor(at){this._ngZone=at,this._currentSchedule=null,this._destroyed=new _.x}schedule(at){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(at)}scheduleEnd(at){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(at)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Le,this._getScheduleObservable().pipe((0,N.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const at=this._currentSchedule;this._currentSchedule=new Le;for(const Qe of at.tasks)Qe();for(const Qe of at.endTasks)Qe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,b.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,A.q)(1))}}return $e.\u0275fac=function(at){return new(at||$e)(e.LFG(e.R0b))},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),P=(()=>{class $e{constructor(at,Qe){this.template=at,this._differs=Qe}ngOnChanges(at){if(!this._columnsDiffer){const Qe=at.columns&&at.columns.currentValue||[];this._columnsDiffer=this._differs.find(Qe).create(),this._columnsDiffer.diff(Qe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(at){return this instanceof Pe?at.headerCell.template:this instanceof Ze?at.footerCell.template:at.cell.template}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},$e.\u0275dir=e.lG2({type:$e,features:[e.TTD]}),$e})();class de extends P{}const Ce=pe(de);let Pe=(()=>{class $e extends Ce{constructor(at,Qe,yt){super(at,Qe),this._table=yt}ngOnChanges(at){super.ngOnChanges(at)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})();class ce extends P{}const fe=pe(ce);let Ze=(()=>{class $e extends fe{constructor(at,Qe,yt){super(at,Qe),this._table=yt}ngOnChanges(at){super.ngOnChanges(at)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})(),ne=(()=>{class $e extends P{constructor(at,Qe,yt){super(at,Qe),this._table=yt}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),$e})(),it=(()=>{class $e{constructor(at){this._viewContainer=at,$e.mostRecentCellOutlet=this}ngOnDestroy(){$e.mostRecentCellOutlet===this&&($e.mostRecentCellOutlet=null)}}return $e.mostRecentCellOutlet=null,$e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellOutlet",""]]}),$e})(),Be=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$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(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),Ue=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$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(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),_e=(()=>{class $e{constructor(at){this.templateRef=at,this._contentClassName="cdk-no-data-row"}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["ng-template","cdkNoDataRow",""]]}),$e})();const ae=["top","bottom","left","right"];class Ae{constructor(vt,at,Qe,yt,U=!0,Ge=!0,_t){this._isNativeHtmlTable=vt,this._stickCellCss=at,this.direction=Qe,this._coalescedStyleScheduler=yt,this._isBrowser=U,this._needsPositionStickyOnElement=Ge,this._positionListener=_t,this._cachedCellWidths=[],this._borderCellCss={top:`${at}-border-elem-top`,bottom:`${at}-border-elem-bottom`,left:`${at}-border-elem-left`,right:`${at}-border-elem-right`}}clearStickyPositioning(vt,at){const Qe=[];for(const yt of vt)if(yt.nodeType===yt.ELEMENT_NODE){Qe.push(yt);for(let U=0;U{for(const yt of Qe)this._removeStickyStyle(yt,at)})}updateStickyColumns(vt,at,Qe,yt=!0){if(!vt.length||!this._isBrowser||!at.some(wi=>wi)&&!Qe.some(wi=>wi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const U=vt[0],Ge=U.children.length,_t=this._getCellWidths(U,yt),Dt=this._getStickyStartColumnPositions(_t,at),ti=this._getStickyEndColumnPositions(_t,Qe),si=at.lastIndexOf(!0),Ii=Qe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const wi="rtl"===this.direction,zi=wi?"right":"left",rn=wi?"left":"right";for(const Oi of vt)for(let Hi=0;Hiat[Hi]?Oi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ii?[]:_t.slice(Ii).map((Oi,Hi)=>Qe[Hi+Ii]?Oi:null).reverse()}))})}stickRows(vt,at,Qe){if(!this._isBrowser)return;const yt="bottom"===Qe?vt.slice().reverse():vt,U="bottom"===Qe?at.slice().reverse():at,Ge=[],_t=[],Dt=[];for(let si=0,Ii=0;si{var si,Ii;for(let wi=0;wi{at.some(yt=>!yt)?this._removeStickyStyle(Qe,["bottom"]):this._addStickyStyle(Qe,"bottom",0,!1)})}_removeStickyStyle(vt,at){for(const yt of at)vt.style[yt]="",vt.classList.remove(this._borderCellCss[yt]);ae.some(yt=>-1===at.indexOf(yt)&&vt.style[yt])?vt.style.zIndex=this._getCalculatedZIndex(vt):(vt.style.zIndex="",this._needsPositionStickyOnElement&&(vt.style.position=""),vt.classList.remove(this._stickCellCss))}_addStickyStyle(vt,at,Qe,yt){vt.classList.add(this._stickCellCss),yt&&vt.classList.add(this._borderCellCss[at]),vt.style[at]=`${Qe}px`,vt.style.zIndex=this._getCalculatedZIndex(vt),this._needsPositionStickyOnElement&&(vt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(vt){const at={top:100,bottom:10,left:1,right:1};let Qe=0;for(const yt of ae)vt.style[yt]&&(Qe+=at[yt]);return Qe?`${Qe}`:""}_getCellWidths(vt,at=!0){if(!at&&this._cachedCellWidths.length)return this._cachedCellWidths;const Qe=[],yt=vt.children;for(let U=0;U0;U--)at[U]&&(Qe[U]=yt,yt+=vt[U]);return Qe}}const u=new e.OlP("CDK_SPL");let s=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","rowOutlet",""]]}),$e})(),n=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","headerRowOutlet",""]]}),$e})(),t=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","footerRowOutlet",""]]}),$e})(),r=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","noDataRowOutlet",""]]}),$e})(),f=(()=>{class $e{constructor(at,Qe,yt,U,Ge,_t,Dt,ti,si,Ii,wi,zi){this._differs=at,this._changeDetectorRef=Qe,this._elementRef=yt,this._dir=Ge,this._platform=Dt,this._viewRepeater=ti,this._coalescedStyleScheduler=si,this._viewportRuler=Ii,this._stickyPositioningListener=wi,this._ngZone=zi,this._onDestroy=new _.x,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 E.X({start:0,end:Number.MAX_VALUE}),U||this._elementRef.nativeElement.setAttribute("role","table"),this._document=_t,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(at){this._trackByFn=at}get dataSource(){return this._dataSource}set dataSource(at){this._dataSource!==at&&this._switchDataSource(at)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(at){this._multiTemplateDataRows=(0,c.Ig)(at),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(at){this._fixedLayout=(0,c.Ig)(at),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((at,Qe)=>this.trackBy?this.trackBy(Qe.dataIndex,Qe.data):Qe),this._viewportRuler.change().pipe((0,N.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Qe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Qe,this._forceRecalculateCellWidths=Qe,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(at=>{at.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 at=this._dataDiffer.diff(this._renderRows);if(!at)return this._updateNoDataRow(),void this.contentChanged.next();const Qe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(at,Qe,(yt,U,Ge)=>this._getEmbeddedViewArgs(yt.item,Ge),yt=>yt.item.data,yt=>{1===yt.operation&&yt.context&&this._renderCellTemplateForItem(yt.record.item.rowDef,yt.context)}),this._updateRowIndexContext(),at.forEachIdentityChange(yt=>{Qe.get(yt.currentIndex).context.$implicit=yt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,A.q)(1),(0,N.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(at){this._customColumnDefs.add(at)}removeColumnDef(at){this._customColumnDefs.delete(at)}addRowDef(at){this._customRowDefs.add(at)}removeRowDef(at){this._customRowDefs.delete(at)}addHeaderRowDef(at){this._customHeaderRowDefs.add(at),this._headerRowDefChanged=!0}removeHeaderRowDef(at){this._customHeaderRowDefs.delete(at),this._headerRowDefChanged=!0}addFooterRowDef(at){this._customFooterRowDefs.add(at),this._footerRowDefChanged=!0}removeFooterRowDef(at){this._customFooterRowDefs.delete(at),this._footerRowDefChanged=!0}setNoDataRow(at){this._customNoDataRow=at}updateStickyHeaderRowStyles(){const at=this._getRenderedRows(this._headerRowOutlet),yt=this._elementRef.nativeElement.querySelector("thead");yt&&(yt.style.display=at.length?"":"none");const U=this._headerRowDefs.map(Ge=>Ge.sticky);this._stickyStyler.clearStickyPositioning(at,["top"]),this._stickyStyler.stickRows(at,U,"top"),this._headerRowDefs.forEach(Ge=>Ge.resetStickyChanged())}updateStickyFooterRowStyles(){const at=this._getRenderedRows(this._footerRowOutlet),yt=this._elementRef.nativeElement.querySelector("tfoot");yt&&(yt.style.display=at.length?"":"none");const U=this._footerRowDefs.map(Ge=>Ge.sticky);this._stickyStyler.clearStickyPositioning(at,["bottom"]),this._stickyStyler.stickRows(at,U,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,U),this._footerRowDefs.forEach(Ge=>Ge.resetStickyChanged())}updateStickyColumnStyles(){const at=this._getRenderedRows(this._headerRowOutlet),Qe=this._getRenderedRows(this._rowOutlet),yt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...at,...Qe,...yt],["left","right"]),this._stickyColumnStylesNeedReset=!1),at.forEach((U,Ge)=>{this._addStickyColumnStyles([U],this._headerRowDefs[Ge])}),this._rowDefs.forEach(U=>{const Ge=[];for(let _t=0;_t{this._addStickyColumnStyles([U],this._footerRowDefs[Ge])}),Array.from(this._columnDefsByName.values()).forEach(U=>U.resetStickyChanged())}_getAllRenderRows(){const at=[],Qe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let yt=0;yt{const _t=yt&&yt.has(Ge)?yt.get(Ge):[];if(_t.length){const Dt=_t.shift();return Dt.dataIndex=Qe,Dt}return{data:at,rowDef:Ge,dataIndex:Qe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),x(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Qe=>{this._columnDefsByName.has(Qe.name),this._columnDefsByName.set(Qe.name,Qe)})}_cacheRowDefs(){this._headerRowDefs=x(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=x(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=x(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const at=this._rowDefs.filter(Qe=>!Qe.when);this._defaultRowDef=at[0]}_renderUpdatedColumns(){const at=(Ge,_t)=>Ge||!!_t.getColumnsDiff(),Qe=this._rowDefs.reduce(at,!1);Qe&&this._forceRenderDataRows();const yt=this._headerRowDefs.reduce(at,!1);yt&&this._forceRenderHeaderRows();const U=this._footerRowDefs.reduce(at,!1);return U&&this._forceRenderFooterRows(),Qe||yt||U}_switchDataSource(at){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),at||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=at}_observeRenderChanges(){if(!this.dataSource)return;let at;(0,g.Z9)(this.dataSource)?at=this.dataSource.connect(this):(0,v.b)(this.dataSource)?at=this.dataSource:Array.isArray(this.dataSource)&&(at=(0,I.of)(this.dataSource)),this._renderChangeSubscription=at.pipe((0,N.R)(this._onDestroy)).subscribe(Qe=>{this._data=Qe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((at,Qe)=>this._renderRow(this._headerRowOutlet,at,Qe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((at,Qe)=>this._renderRow(this._footerRowOutlet,at,Qe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(at,Qe){const yt=Array.from(Qe.columns||[]).map(_t=>this._columnDefsByName.get(_t)),U=yt.map(_t=>_t.sticky),Ge=yt.map(_t=>_t.stickyEnd);this._stickyStyler.updateStickyColumns(at,U,Ge,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(at){const Qe=[];for(let yt=0;yt!U.when||U.when(Qe,at));else{let U=this._rowDefs.find(Ge=>Ge.when&&Ge.when(Qe,at))||this._defaultRowDef;U&&yt.push(U)}return yt}_getEmbeddedViewArgs(at,Qe){return{templateRef:at.rowDef.template,context:{$implicit:at.data},index:Qe}}_renderRow(at,Qe,yt,U={}){const Ge=at.viewContainer.createEmbeddedView(Qe.template,U,yt);return this._renderCellTemplateForItem(Qe,U),Ge}_renderCellTemplateForItem(at,Qe){for(let yt of this._getCellTemplates(at))it.mostRecentCellOutlet&&it.mostRecentCellOutlet._viewContainer.createEmbeddedView(yt,Qe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const at=this._rowOutlet.viewContainer;for(let Qe=0,yt=at.length;Qe{const yt=this._columnDefsByName.get(Qe);return at.extractCellTemplate(yt)}):[]}_applyNativeTableSections(){const at=this._document.createDocumentFragment(),Qe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const yt of Qe){const U=this._document.createElement(yt.tag);U.setAttribute("role","rowgroup");for(const Ge of yt.outlets)U.appendChild(Ge.elementRef.nativeElement);at.appendChild(U)}this._elementRef.nativeElement.appendChild(at)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const at=(Qe,yt)=>Qe||yt.hasStickyChanged();this._headerRowDefs.reduce(at,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(at,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(at,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ae(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,I.of)()).pipe((0,N.R)(this._onDestroy)).subscribe(Qe=>{this._stickyStyler.direction=Qe,this.updateStickyColumnStyles()})}_getOwnDefs(at){return at.filter(Qe=>!Qe._table||Qe._table===this)}_updateNoDataRow(){const at=this._customNoDataRow||this._noDataRow;if(!at)return;const Qe=0===this._rowOutlet.viewContainer.length;if(Qe===this._isShowingNoDataRow)return;const yt=this._noDataRowOutlet.viewContainer;if(Qe){const U=yt.createEmbeddedView(at.templateRef),Ge=U.rootNodes[0];1===U.rootNodes.length&&(null==Ge?void 0:Ge.nodeType)===this._document.ELEMENT_NODE&&(Ge.setAttribute("role","row"),Ge.classList.add(at._contentClassName))}else yt.clear();this._isShowingNoDataRow=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(q.Is,8),e.Y36(w.K0),e.Y36(j.t4),e.Y36(g.k),e.Y36(ue),e.Y36(G.rL),e.Y36(u,12),e.Y36(e.R0b,8))},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(at,Qe,yt){if(1&at&&(e.Suo(yt,_e,5),e.Suo(yt,Te,5),e.Suo(yt,ne,5),e.Suo(yt,Pe,5),e.Suo(yt,Ze,5)),2&at){let U;e.iGM(U=e.CRH())&&(Qe._noDataRow=U.first),e.iGM(U=e.CRH())&&(Qe._contentColumnDefs=U),e.iGM(U=e.CRH())&&(Qe._contentRowDefs=U),e.iGM(U=e.CRH())&&(Qe._contentHeaderRowDefs=U),e.iGM(U=e.CRH())&&(Qe._contentFooterRowDefs=U)}},viewQuery:function(at,Qe){if(1&at&&(e.Gf(s,7),e.Gf(n,7),e.Gf(t,7),e.Gf(r,7)),2&at){let yt;e.iGM(yt=e.CRH())&&(Qe._rowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._headerRowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._footerRowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._noDataRowOutlet=yt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(at,Qe){2&at&&e.ekj("cdk-table-fixed-layout",Qe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ye,useExisting:$e},{provide:g.k,useClass:g.yy},{provide:ue,useClass:Me},{provide:u,useValue:null}])],ngContentSelectors:he,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Qe){1&at&&(e.F$t(Q),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[n,s,r,t],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})();function x($e,vt){return $e.concat(Array.from(vt))}let jt=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[G.Cl]]}),$e})();var bt=h(90508),Yt=h(56451),Ct=h(39841),Nt=h(54004);const He=[[["caption"]],[["colgroup"],["col"]]],je=["caption","colgroup, col"];let nt=(()=>{class $e extends f{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(at,Qe){2&at&&e.ekj("mat-table-fixed-layout",Qe.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:f,useExisting:$e},{provide:ye,useExisting:$e},{provide:ue,useClass:Me},{provide:u,useValue:null}]),e.qOj],ngContentSelectors:je,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Qe){1&at&&(e.F$t(He),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[n,s,r,t],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})(),ct=(()=>{class $e extends R{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:R,useExisting:$e}]),e.qOj]}),$e})(),Rt=(()=>{class $e extends L{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:L,useExisting:$e}]),e.qOj]}),$e})(),Tt=(()=>{class $e extends Te{get name(){return this._name}set name(at){this._setNameInput(at)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:Te,useExisting:$e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})(),ot=(()=>{class $e extends Se{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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})(),lt=(()=>{class $e extends ge{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),$e})(),ut=(()=>{class $e extends Pe{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Pe,useExisting:$e}]),e.qOj]}),$e})(),Qt=(()=>{class $e extends ne{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:ne,useExisting:$e}]),e.qOj]}),$e})(),ni=(()=>{class $e extends Be{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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:Be,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),gi=(()=>{class $e extends Ue{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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:Ue,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),qi=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[jt,bt.BQ],bt.BQ]}),$e})();class oi extends g.o2{constructor(vt=[]){super(),this._renderData=new E.X([]),this._filter=new E.X(""),this._internalPageChanges=new _.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(at,Qe)=>{const yt=at[Qe];if((0,c.t6)(yt)){const U=Number(yt);return U<9007199254740991?U:yt}return yt},this.sortData=(at,Qe)=>{const yt=Qe.active,U=Qe.direction;return yt&&""!=U?at.sort((Ge,_t)=>{let Dt=this.sortingDataAccessor(Ge,yt),ti=this.sortingDataAccessor(_t,yt);const si=typeof Dt,Ii=typeof ti;si!==Ii&&("number"===si&&(Dt+=""),"number"===Ii&&(ti+=""));let wi=0;return null!=Dt&&null!=ti?Dt>ti?wi=1:Dt{const yt=Object.keys(at).reduce((Ge,_t)=>Ge+at[_t]+"\u25ec","").toLowerCase(),U=Qe.trim().toLowerCase();return-1!=yt.indexOf(U)},this._data=new E.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 at=this._sort?(0,Yt.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),Qe=this._paginator?(0,Yt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),U=(0,Ct.a)([this._data,this._filter]).pipe((0,Nt.U)(([Dt])=>this._filterData(Dt))),Ge=(0,Ct.a)([U,at]).pipe((0,Nt.U)(([Dt])=>this._orderData(Dt))),_t=(0,Ct.a)([Ge,Qe]).pipe((0,Nt.U)(([Dt])=>this._pageData(Dt)));null===(vt=this._renderChangesSubscription)||void 0===vt||vt.unsubscribe(),this._renderChangesSubscription=_t.subscribe(Dt=>this._renderData.next(Dt))}_filterData(vt){return this.filteredData=null==this.filter||""===this.filter?vt:vt.filter(at=>this.filterPredicate(at,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 at=this.paginator.pageIndex*this.paginator.pageSize;return vt.slice(at,at+this.paginator.pageSize)}_updatePaginator(vt){Promise.resolve().then(()=>{const at=this.paginator;if(at&&(at.length=vt,at.pageIndex>0)){const Qe=Math.ceil(at.length/at.pageSize)-1||0,yt=Math.min(at.pageIndex,Qe);yt!==at.pageIndex&&(at.pageIndex=yt,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 Pt extends oi{}},53251:(qe,me,h)=>{"use strict";h.d(me,{uX:()=>O,Vc:()=>Ae,SP:()=>Nt,uD:()=>V,Nh:()=>Rt});var e=h(15664),c=h(17144),g=h(47429),w=h(69808),_=h(5e3),b=h(90508),E=h(76360),v=h(95698),I=h(68675),N=h(71884),A=h(82722),q=h(63900),j=h(35684),G=h(77579),Q=h(50727),he=h(54968),F=h(39646),be=h(56451),pe=h(60515),ye=h(68306),T=h(82805),R=h(41777),L=h(50226),X=h(63191),Y=h(91159),se=h(70925),Te=h(29071);function Oe(mt,Tt){1&mt&&_.Hsn(0)}const Se=["*"];function We(mt,Tt){}const ge=function(mt){return{animationDuration:mt}},Le=function(mt,Tt){return{value:mt,params:Tt}},ue=["tabListContainer"],Me=["tabList"],z=["tabListInner"],P=["nextPaginator"],de=["previousPaginator"],Ce=["tabBodyWrapper"],Pe=["tabHeader"];function ce(mt,Tt){}function fe(mt,Tt){if(1&mt&&_.YNc(0,ce,0,0,"ng-template",10),2&mt){const ot=_.oxw().$implicit;_.Q6J("cdkPortalOutlet",ot.templateLabel)}}function Ze(mt,Tt){if(1&mt&&_._uU(0),2&mt){const ot=_.oxw().$implicit;_.Oqu(ot.textLabel)}}function ne(mt,Tt){if(1&mt){const ot=_.EpF();_.TgZ(0,"div",6),_.NdJ("click",function(){const lt=_.CHM(ot),ut=lt.$implicit,Ht=lt.index,Qt=_.oxw(),ni=_.MAs(1);return Qt._handleClick(ut,ni,Ht)})("cdkFocusChange",function(lt){const Ht=_.CHM(ot).index;return _.oxw()._tabFocusChanged(lt,Ht)}),_.TgZ(1,"div",7),_.YNc(2,fe,1,1,"ng-template",8),_.YNc(3,Ze,1,1,"ng-template",null,9,_.W1O),_.qZA(),_.qZA()}if(2&mt){const ot=Tt.$implicit,rt=Tt.index,lt=_.MAs(4),ut=_.oxw();_.ekj("mat-tab-label-active",ut.selectedIndex===rt),_.Q6J("id",ut._getTabLabelId(rt))("ngClass",ot.labelClass)("disabled",ot.disabled)("matRippleDisabled",ot.disabled||ut.disableRipple),_.uIk("tabIndex",ut._getTabIndex(ot,rt))("aria-posinset",rt+1)("aria-setsize",ut._tabs.length)("aria-controls",ut._getTabContentId(rt))("aria-selected",ut.selectedIndex===rt)("aria-label",ot.ariaLabel||null)("aria-labelledby",!ot.ariaLabel&&ot.ariaLabelledby?ot.ariaLabelledby:null),_.xp6(2),_.Q6J("ngIf",ot.templateLabel)("ngIfElse",lt)}}function it(mt,Tt){if(1&mt){const ot=_.EpF();_.TgZ(0,"mat-tab-body",11),_.NdJ("_onCentered",function(){return _.CHM(ot),_.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(lt){return _.CHM(ot),_.oxw()._setTabBodyWrapperHeight(lt)}),_.qZA()}if(2&mt){const ot=Tt.$implicit,rt=Tt.index,lt=_.oxw();_.ekj("mat-tab-body-active",lt.selectedIndex===rt),_.Q6J("id",lt._getTabContentId(rt))("ngClass",ot.bodyClass)("content",ot.content)("position",ot.position)("origin",ot.origin)("animationDuration",lt.animationDuration),_.uIk("tabindex",null!=lt.contentTabIndex&<.selectedIndex===rt?lt.contentTabIndex:null)("aria-labelledby",lt._getTabLabelId(rt))}}const ze=new _.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ue(){return Tt=>({left:Tt?(Tt.offsetLeft||0)+"px":"0",width:Tt?(Tt.offsetWidth||0)+"px":"0"})}});let _e=(()=>{class mt{constructor(ot,rt,lt,ut){this._elementRef=ot,this._ngZone=rt,this._inkBarPositioner=lt,this._animationMode=ut}alignToElement(ot){this.show(),this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{const rt=this._inkBarPositioner(ot),lt=this._elementRef.nativeElement;lt.style.left=rt.left,lt.style.width=rt.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.R0b),_.Y36(ze),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ot,rt){2&ot&&_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode)}}),mt})();const ae=new _.OlP("MatTabContent");let Ae=(()=>{class mt{constructor(ot){this.template=ot}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.Rgc))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabContent",""]],features:[_._Bn([{provide:ae,useExisting:mt}])]}),mt})();const ee=new _.OlP("MatTabLabel"),Ne=new _.OlP("MAT_TAB");let V=(()=>{class mt extends g.ig{constructor(ot,rt,lt){super(ot,rt),this._closestTab=lt}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.Rgc),_.Y36(_.s_b),_.Y36(Ne,8))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_._Bn([{provide:ee,useExisting:mt}]),_.qOj]}),mt})();const H=(0,b.Id)(class{}),D=new _.OlP("MAT_TAB_GROUP");let O=(()=>{class mt extends H{constructor(ot,rt){super(),this._viewContainerRef=ot,this._closestTabGroup=rt,this.textLabel="",this._contentPortal=null,this._stateChanges=new G.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(ot){this._setTemplateLabelInput(ot)}get content(){return this._contentPortal}ngOnChanges(ot){(ot.hasOwnProperty("textLabel")||ot.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ot){ot&&ot._closestTab===this&&(this._templateLabel=ot)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.s_b),_.Y36(D,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab"]],contentQueries:function(ot,rt,lt){if(1&ot&&(_.Suo(lt,ee,5),_.Suo(lt,ae,7,_.Rgc)),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt.templateLabel=ut.first),_.iGM(ut=_.CRH())&&(rt._explicitContent=ut.first)}},viewQuery:function(ot,rt){if(1&ot&&_.Gf(_.Rgc,7),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._implicitContent=lt.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[_._Bn([{provide:Ne,useExisting:mt}]),_.qOj,_.TTD],ngContentSelectors:Se,decls:1,vars:0,template:function(ot,rt){1&ot&&(_.F$t(),_.YNc(0,Oe,1,0,"ng-template"))},encapsulation:2}),mt})();const i={translateTab:(0,R.X$)("translateTab",[(0,R.SB)("center, void, left-origin-center, right-origin-center",(0,R.oB)({transform:"none"})),(0,R.SB)("left",(0,R.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,R.SB)("right",(0,R.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,R.eR)("* => left, * => right, left => center, right => center",(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,R.eR)("void => left-origin-center",[(0,R.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,R.eR)("void => right-origin-center",[(0,R.oB)({transform:"translate3d(100%, 0, 0)"}),(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let o=(()=>{class mt extends g.Pl{constructor(ot,rt,lt,ut){super(ot,rt,ut),this._host=lt,this._centeringSub=Q.w0.EMPTY,this._leavingSub=Q.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,I.O)(this._host._isCenterPosition(this._host._position))).subscribe(ot=>{ot&&!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 mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_._Vd),_.Y36(_.s_b),_.Y36((0,_.Gpc)(()=>l)),_.Y36(w.K0))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabBodyHost",""]],features:[_.qOj]}),mt})(),u=(()=>{class mt{constructor(ot,rt,lt){this._elementRef=ot,this._dir=rt,this._dirChangeSubscription=Q.w0.EMPTY,this._translateTabComplete=new G.x,this._onCentering=new _.vpe,this._beforeCentering=new _.vpe,this._afterLeavingCenter=new _.vpe,this._onCentered=new _.vpe(!0),this.animationDuration="500ms",rt&&(this._dirChangeSubscription=rt.change.subscribe(ut=>{this._computePositionAnimationState(ut),lt.markForCheck()})),this._translateTabComplete.pipe((0,N.x)((ut,Ht)=>ut.fromState===Ht.fromState&&ut.toState===Ht.toState)).subscribe(ut=>{this._isCenterPosition(ut.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ut.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(ot){this._positionIndex=ot,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ot){const rt=this._isCenterPosition(ot.toState);this._beforeCentering.emit(rt),rt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ot){return"center"==ot||"left-origin-center"==ot||"right-origin-center"==ot}_computePositionAnimationState(ot=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ot?"left":"right":this._positionIndex>0?"ltr"==ot?"right":"left":"center"}_computePositionFromOrigin(ot){const rt=this._getLayoutDirection();return"ltr"==rt&&ot<=0||"rtl"==rt&&ot>0?"left-origin-center":"right-origin-center"}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(L.Is,8),_.Y36(_.sBO))},mt.\u0275dir=_.lG2({type:mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),mt})(),l=(()=>{class mt extends u{constructor(ot,rt,lt){super(ot,rt,lt)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(L.Is,8),_.Y36(_.sBO))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-body"]],viewQuery:function(ot,rt){if(1&ot&&_.Gf(g.Pl,5),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._portalHost=lt.first)}},hostAttrs:[1,"mat-tab-body"],features:[_.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ot,rt){1&ot&&(_.TgZ(0,"div",0,1),_.NdJ("@translateTab.start",function(ut){return rt._onTranslateTabStarted(ut)})("@translateTab.done",function(ut){return rt._translateTabComplete.next(ut)}),_.YNc(2,We,0,0,"ng-template",2),_.qZA()),2&ot&&_.Q6J("@translateTab",_.WLB(3,Le,rt._position,_.VKq(1,ge,rt.animationDuration)))},directives:[o],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[i.translateTab]}}),mt})();const s=new _.OlP("MAT_TABS_CONFIG"),n=(0,b.Id)(class{});let t=(()=>{class mt extends n{constructor(ot){super(),this.elementRef=ot}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ot,rt){2&ot&&(_.uIk("aria-disabled",!!rt.disabled),_.ekj("mat-tab-disabled",rt.disabled))},inputs:{disabled:"disabled"},features:[_.qOj]}),mt})();const r=(0,se.i$)({passive:!0});let x=(()=>{class mt{constructor(ot,rt,lt,ut,Ht,Qt,ni){this._elementRef=ot,this._changeDetectorRef=rt,this._viewportRuler=lt,this._dir=ut,this._ngZone=Ht,this._platform=Qt,this._animationMode=ni,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new G.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new G.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new _.vpe,this.indexFocused=new _.vpe,Ht.runOutsideAngular(()=>{(0,he.R)(ot.nativeElement,"mouseleave").pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(ot){ot=(0,X.su)(ot),this._selectedIndex!=ot&&(this._selectedIndexChanged=!0,this._selectedIndex=ot,this._keyManager&&this._keyManager.updateActiveItem(ot))}ngAfterViewInit(){(0,he.R)(this._previousPaginator.nativeElement,"touchstart",r).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,he.R)(this._nextPaginator.nativeElement,"touchstart",r).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ot=this._dir?this._dir.change:(0,F.of)("ltr"),rt=this._viewportRuler.change(150),lt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(lt),(0,be.T)(ot,rt,this._items.changes,this._itemsResized()).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),lt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,A.R)(this._destroyed)).subscribe(ut=>{this.indexFocused.emit(ut),this._setTabFocus(ut)})}_itemsResized(){return"function"!=typeof ResizeObserver?pe.E:this._items.changes.pipe((0,I.O)(this._items),(0,q.w)(ot=>new ye.y(rt=>this._ngZone.runOutsideAngular(()=>{const lt=new ResizeObserver(()=>{rt.next()});return ot.forEach(ut=>{lt.observe(ut.elementRef.nativeElement)}),()=>{lt.disconnect()}}))),(0,j.T)(1))}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(ot){if(!(0,Y.Vb)(ot))switch(ot.keyCode){case Y.K5:case Y.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ot));break;default:this._keyManager.onKeydown(ot)}}_onContentChanges(){const ot=this._elementRef.nativeElement.textContent;ot!==this._currentTextContent&&(this._currentTextContent=ot||"",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(ot){!this._isValidIndex(ot)||this.focusIndex===ot||!this._keyManager||this._keyManager.setActiveItem(ot)}_isValidIndex(ot){if(!this._items)return!0;const rt=this._items?this._items.toArray()[ot]:null;return!!rt&&!rt.disabled}_setTabFocus(ot){if(this._showPaginationControls&&this._scrollToLabel(ot),this._items&&this._items.length){this._items.toArray()[ot].focus();const rt=this._tabListContainer.nativeElement;rt.scrollLeft="ltr"==this._getLayoutDirection()?0:rt.scrollWidth-rt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ot=this.scrollDistance,rt="ltr"===this._getLayoutDirection()?-ot:ot;this._tabList.nativeElement.style.transform=`translateX(${Math.round(rt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ot){this._scrollTo(ot)}_scrollHeader(ot){return this._scrollTo(this._scrollDistance+("before"==ot?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ot){this._stopInterval(),this._scrollHeader(ot)}_scrollToLabel(ot){if(this.disablePagination)return;const rt=this._items?this._items.toArray()[ot]:null;if(!rt)return;const lt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ut,offsetWidth:Ht}=rt.elementRef.nativeElement;let Qt,ni;"ltr"==this._getLayoutDirection()?(Qt=ut,ni=Qt+Ht):(ni=this._tabListInner.nativeElement.offsetWidth-ut,Qt=ni-Ht);const hi=this.scrollDistance,gi=this.scrollDistance+lt;Qtgi&&(this.scrollDistance+=ni-gi+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ot=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ot||(this.scrollDistance=0),ot!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ot}}_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 ot=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,rt=ot?ot.elementRef.nativeElement:null;rt?this._inkBar.alignToElement(rt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ot,rt){rt&&null!=rt.button&&0!==rt.button||(this._stopInterval(),(0,T.H)(650,100).pipe((0,A.R)((0,be.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:lt,distance:ut}=this._scrollHeader(ot);(0===ut||ut>=lt)&&this._stopInterval()}))}_scrollTo(ot){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const rt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(rt,ot)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:rt,distance:this._scrollDistance}}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,inputs:{disablePagination:"disablePagination"}}),mt})(),Ye=(()=>{class mt extends x{constructor(ot,rt,lt,ut,Ht,Qt,ni){super(ot,rt,lt,ut,Ht,Qt,ni),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ot){this._disableRipple=(0,X.Ig)(ot)}_itemSelected(ot){ot.preventDefault()}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,inputs:{disableRipple:"disableRipple"},features:[_.qOj]}),mt})(),It=(()=>{class mt extends Ye{constructor(ot,rt,lt,ut,Ht,Qt,ni){super(ot,rt,lt,ut,Ht,Qt,ni)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-header"]],contentQueries:function(ot,rt,lt){if(1&ot&&_.Suo(lt,t,4),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt._items=ut)}},viewQuery:function(ot,rt){if(1&ot&&(_.Gf(_e,7),_.Gf(ue,7),_.Gf(Me,7),_.Gf(z,7),_.Gf(P,5),_.Gf(de,5)),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._inkBar=lt.first),_.iGM(lt=_.CRH())&&(rt._tabListContainer=lt.first),_.iGM(lt=_.CRH())&&(rt._tabList=lt.first),_.iGM(lt=_.CRH())&&(rt._tabListInner=lt.first),_.iGM(lt=_.CRH())&&(rt._nextPaginator=lt.first),_.iGM(lt=_.CRH())&&(rt._previousPaginator=lt.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ot,rt){2&ot&&_.ekj("mat-tab-header-pagination-controls-enabled",rt._showPaginationControls)("mat-tab-header-rtl","rtl"==rt._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[_.qOj],ngContentSelectors:Se,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ot,rt){1&ot&&(_.F$t(),_.TgZ(0,"button",0,1),_.NdJ("click",function(){return rt._handlePaginatorClick("before")})("mousedown",function(ut){return rt._handlePaginatorPress("before",ut)})("touchend",function(){return rt._stopInterval()}),_._UZ(2,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.NdJ("keydown",function(ut){return rt._handleKeydown(ut)}),_.TgZ(5,"div",5,6),_.NdJ("cdkObserveContent",function(){return rt._onContentChanges()}),_.TgZ(7,"div",7,8),_.Hsn(9),_.qZA(),_._UZ(10,"mat-ink-bar"),_.qZA(),_.qZA(),_.TgZ(11,"button",9,10),_.NdJ("mousedown",function(ut){return rt._handlePaginatorPress("after",ut)})("click",function(){return rt._handlePaginatorClick("after")})("touchend",function(){return rt._stopInterval()}),_._UZ(13,"div",2),_.qZA()),2&ot&&(_.ekj("mat-tab-header-pagination-disabled",rt._disableScrollBefore),_.Q6J("matRippleDisabled",rt._disableScrollBefore||rt.disableRipple)("disabled",rt._disableScrollBefore||null),_.xp6(5),_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode),_.xp6(6),_.ekj("mat-tab-header-pagination-disabled",rt._disableScrollAfter),_.Q6J("matRippleDisabled",rt._disableScrollAfter||rt.disableRipple)("disabled",rt._disableScrollAfter||null))},directives:[b.wG,c.wD,_e],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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}),mt})(),jt=0;class bt{}const Yt=(0,b.pj)((0,b.Kr)(class{constructor(mt){this._elementRef=mt}}),"primary");let Ct=(()=>{class mt extends Yt{constructor(ot,rt,lt,ut){var Ht;super(ot),this._changeDetectorRef=rt,this._animationMode=ut,this._tabs=new _.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Q.w0.EMPTY,this._tabLabelSubscription=Q.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new _.vpe,this.focusChange=new _.vpe,this.animationDone=new _.vpe,this.selectedTabChange=new _.vpe(!0),this._groupId=jt++,this.animationDuration=lt&<.animationDuration?lt.animationDuration:"500ms",this.disablePagination=!(!lt||null==lt.disablePagination)&<.disablePagination,this.dynamicHeight=!(!lt||null==lt.dynamicHeight)&<.dynamicHeight,this.contentTabIndex=null!==(Ht=null==lt?void 0:lt.contentTabIndex)&&void 0!==Ht?Ht:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ot){this._dynamicHeight=(0,X.Ig)(ot)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ot){this._indexToSelect=(0,X.su)(ot,null)}get animationDuration(){return this._animationDuration}set animationDuration(ot){this._animationDuration=/^\d+$/.test(ot+"")?ot+"ms":ot}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ot){this._contentTabIndex=(0,X.su)(ot,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ot){const rt=this._elementRef.nativeElement;rt.classList.remove(`mat-background-${this.backgroundColor}`),ot&&rt.classList.add(`mat-background-${ot}`),this._backgroundColor=ot}ngAfterContentChecked(){const ot=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ot){const rt=null==this._selectedIndex;if(!rt){this.selectedTabChange.emit(this._createChangeEvent(ot));const lt=this._tabBodyWrapper.nativeElement;lt.style.minHeight=lt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((lt,ut)=>lt.isActive=ut===ot),rt||(this.selectedIndexChange.emit(ot),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((rt,lt)=>{rt.position=lt-ot,null!=this._selectedIndex&&0==rt.position&&!rt.origin&&(rt.origin=ot-this._selectedIndex)}),this._selectedIndex!==ot&&(this._selectedIndex=ot,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ot=this._clampTabIndex(this._indexToSelect);if(ot===this._selectedIndex){const rt=this._tabs.toArray();let lt;for(let ut=0;ut{rt[ot].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ot))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,I.O)(this._allTabs)).subscribe(ot=>{this._tabs.reset(ot.filter(rt=>rt._closestTabGroup===this||!rt._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(ot){const rt=this._tabHeader;rt&&(rt.focusIndex=ot)}_focusChanged(ot){this._lastFocusedTabIndex=ot,this.focusChange.emit(this._createChangeEvent(ot))}_createChangeEvent(ot){const rt=new bt;return rt.index=ot,this._tabs&&this._tabs.length&&(rt.tab=this._tabs.toArray()[ot]),rt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,be.T)(...this._tabs.map(ot=>ot._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ot){return Math.min(this._tabs.length-1,Math.max(ot||0,0))}_getTabLabelId(ot){return`mat-tab-label-${this._groupId}-${ot}`}_getTabContentId(ot){return`mat-tab-content-${this._groupId}-${ot}`}_setTabBodyWrapperHeight(ot){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const rt=this._tabBodyWrapper.nativeElement;rt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(rt.style.height=ot+"px")}_removeTabBodyWrapperHeight(){const ot=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ot.clientHeight,ot.style.height="",this.animationDone.emit()}_handleClick(ot,rt,lt){ot.disabled||(this.selectedIndex=rt.focusIndex=lt)}_getTabIndex(ot,rt){var lt;return ot.disabled?null:rt===(null!==(lt=this._lastFocusedTabIndex)&&void 0!==lt?lt:this.selectedIndex)?0:-1}_tabFocusChanged(ot,rt){ot&&"mouse"!==ot&&"touch"!==ot&&(this._tabHeader.focusIndex=rt)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(s,8),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,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:[_.qOj]}),mt})(),Nt=(()=>{class mt extends Ct{constructor(ot,rt,lt,ut){super(ot,rt,lt,ut)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(s,8),_.Y36(E.Qb,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-group"]],contentQueries:function(ot,rt,lt){if(1&ot&&_.Suo(lt,O,5),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt._allTabs=ut)}},viewQuery:function(ot,rt){if(1&ot&&(_.Gf(Ce,5),_.Gf(Pe,5)),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._tabBodyWrapper=lt.first),_.iGM(lt=_.CRH())&&(rt._tabHeader=lt.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(ot,rt){2&ot&&_.ekj("mat-tab-group-dynamic-height",rt.dynamicHeight)("mat-tab-group-inverted-header","below"===rt.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[_._Bn([{provide:D,useExisting:mt}]),_.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(ot,rt){1&ot&&(_.TgZ(0,"mat-tab-header",0,1),_.NdJ("indexFocused",function(ut){return rt._focusChanged(ut)})("selectFocusedIndex",function(ut){return rt.selectedIndex=ut}),_.YNc(2,ne,5,15,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.YNc(5,it,1,10,"mat-tab-body",5),_.qZA()),2&ot&&(_.Q6J("selectedIndex",rt.selectedIndex||0)("disableRipple",rt.disableRipple)("disablePagination",rt.disablePagination),_.xp6(2),_.Q6J("ngForOf",rt._tabs),_.xp6(1),_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode),_.xp6(2),_.Q6J("ngForOf",rt._tabs))},directives:[It,l,w.sg,t,b.wG,e.kH,w.mk,w.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}),mt})(),Rt=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=_.oAB({type:mt}),mt.\u0275inj=_.cJS({imports:[[w.ez,b.BQ,g.eL,b.si,c.Q8,e.rt],b.BQ]}),mt})()},29772:(qe,me,h)=>{"use strict";h.d(me,{gM:()=>ze,AV:()=>ae});var e=h(91314),c=h(15664),g=h(69808),w=h(5e3),_=h(90508),b=h(29071),E=h(63191),v=h(91159),I=h(77579),N=h(39841),A=h(97272),q=h(68306),j=h(95698),G=h(35684),Q=h(78372),he=h(54004),F=h(68675),be=h(82722),pe=h(70925);const T=new Set;let R,L=(()=>{class ee{constructor(V){this._platform=V,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Y}matchMedia(V){return(this._platform.WEBKIT||this._platform.BLINK)&&function X(ee){if(!T.has(ee))try{R||(R=document.createElement("style"),R.setAttribute("type","text/css"),document.head.appendChild(R)),R.sheet&&(R.sheet.insertRule(`@media ${ee} {body{ }}`,0),T.add(ee))}catch(Ne){console.error(Ne)}}(V),this._matchMedia(V)}}return ee.\u0275fac=function(V){return new(V||ee)(w.LFG(pe.t4))},ee.\u0275prov=w.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function Y(ee){return{matches:"all"===ee||""===ee,media:ee,addListener:()=>{},removeListener:()=>{}}}let se=(()=>{class ee{constructor(V,H){this._mediaMatcher=V,this._zone=H,this._queries=new Map,this._destroySubject=new I.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(V){return Te((0,E.Eq)(V)).some(D=>this._registerQuery(D).mql.matches)}observe(V){const D=Te((0,E.Eq)(V)).map(i=>this._registerQuery(i).observable);let O=(0,N.a)(D);return O=(0,A.z)(O.pipe((0,j.q)(1)),O.pipe((0,G.T)(1),(0,Q.b)(0))),O.pipe((0,he.U)(i=>{const o={matches:!1,breakpoints:{}};return i.forEach(({matches:u,query:l})=>{o.matches=o.matches||u,o.breakpoints[l]=u}),o}))}_registerQuery(V){if(this._queries.has(V))return this._queries.get(V);const H=this._mediaMatcher.matchMedia(V),O={observable:new q.y(i=>{const o=u=>this._zone.run(()=>i.next(u));return H.addListener(o),()=>{H.removeListener(o)}}).pipe((0,F.O)(H),(0,he.U)(({matches:i})=>({query:V,matches:i})),(0,be.R)(this._destroySubject)),mql:H};return this._queries.set(V,O),O}}return ee.\u0275fac=function(V){return new(V||ee)(w.LFG(L),w.LFG(w.R0b))},ee.\u0275prov=w.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function Te(ee){return ee.map(Ne=>Ne.split(",")).reduce((Ne,V)=>Ne.concat(V)).map(Ne=>Ne.trim())}var Se=h(47429),We=h(76360),ge=h(50226);h(41777);const ue=["tooltip"],P="tooltip-panel",de=(0,pe.i$)({passive:!0}),ce=new w.OlP("mat-tooltip-scroll-strategy"),Ze={provide:ce,deps:[e.aV],useFactory:function fe(ee){return()=>ee.scrollStrategies.reposition({scrollThrottle:20})}},ne=new w.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function it(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Be=(()=>{class ee{constructor(V,H,D,O,i,o,u,l,s,n,t,r){this._overlay=V,this._elementRef=H,this._scrollDispatcher=D,this._viewContainerRef=O,this._ngZone=i,this._platform=o,this._ariaDescriber=u,this._focusMonitor=l,this._dir=n,this._defaultOptions=t,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 I.x,this._scrollStrategy=s,this._document=r,t&&(t.position&&(this.position=t.position),t.touchGestures&&(this.touchGestures=t.touchGestures)),n.change.pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(V){var H;V!==this._position&&(this._position=V,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(H=this._tooltipInstance)||void 0===H||H.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(V){this._disabled=(0,E.Ig)(V),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(V){this._showDelay=(0,E.su)(V)}get hideDelay(){return this._hideDelay}set hideDelay(V){this._hideDelay=(0,E.su)(V),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(V){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=V?String(V).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(V){this._tooltipClass=V,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,be.R)(this._destroyed)).subscribe(V=>{V?"keyboard"===V&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const V=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([H,D])=>{V.removeEventListener(H,D,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(V,this.message,"tooltip"),this._focusMonitor.stopMonitoring(V)}show(V=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const H=this._createOverlay();this._detach(),this._portal=this._portal||new Se.C5(this._tooltipComponent,this._viewContainerRef);const D=this._tooltipInstance=H.attach(this._portal).instance;D._triggerElement=this._elementRef.nativeElement,D._mouseLeaveHideDelay=this._hideDelay,D.afterHidden().pipe((0,be.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),D.show(V)}hide(V=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(V)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var V;if(this._overlayRef)return this._overlayRef;const H=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),D=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(H);return D.positionChanges.pipe((0,be.R)(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:D,panelClass:`${this._cssClassPrefix}-${P}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,be.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,be.R)(this._destroyed)).subscribe(()=>{var O;return null===(O=this._tooltipInstance)||void 0===O?void 0:O._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,be.R)(this._destroyed)).subscribe(O=>{this._isTooltipVisible()&&O.keyCode===v.hY&&!(0,v.Vb)(O)&&(O.preventDefault(),O.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(V=this._defaultOptions)||void 0===V?void 0:V.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(V){const H=V.getConfig().positionStrategy,D=this._getOrigin(),O=this._getOverlayPosition();H.withPositions([this._addOffset(Object.assign(Object.assign({},D.main),O.main)),this._addOffset(Object.assign(Object.assign({},D.fallback),O.fallback))])}_addOffset(V){return V}_getOrigin(){const V=!this._dir||"ltr"==this._dir.value,H=this.position;let D;"above"==H||"below"==H?D={originX:"center",originY:"above"==H?"top":"bottom"}:"before"==H||"left"==H&&V||"right"==H&&!V?D={originX:"start",originY:"center"}:("after"==H||"right"==H&&V||"left"==H&&!V)&&(D={originX:"end",originY:"center"});const{x:O,y:i}=this._invertPosition(D.originX,D.originY);return{main:D,fallback:{originX:O,originY:i}}}_getOverlayPosition(){const V=!this._dir||"ltr"==this._dir.value,H=this.position;let D;"above"==H?D={overlayX:"center",overlayY:"bottom"}:"below"==H?D={overlayX:"center",overlayY:"top"}:"before"==H||"left"==H&&V||"right"==H&&!V?D={overlayX:"end",overlayY:"center"}:("after"==H||"right"==H&&V||"left"==H&&!V)&&(D={overlayX:"start",overlayY:"center"});const{x:O,y:i}=this._invertPosition(D.overlayX,D.overlayY);return{main:D,fallback:{overlayX:O,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,j.q)(1),(0,be.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(V){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=V,this._tooltipInstance._markForCheck())}_invertPosition(V,H){return"above"===this.position||"below"===this.position?"top"===H?H="bottom":"bottom"===H&&(H="top"):"end"===V?V="start":"start"===V&&(V="end"),{x:V,y:H}}_updateCurrentPositionClass(V){const{overlayY:H,originX:D,originY:O}=V;let i;if(i="center"===H?this._dir&&"rtl"===this._dir.value?"end"===D?"left":"right":"start"===D?"left":"right":"bottom"===H&&"top"===O?"above":"below",i!==this._currentPosition){const o=this._overlayRef;if(o){const u=`${this._cssClassPrefix}-${P}-`;o.removePanelClass(u+this._currentPosition),o.addPanelClass(u+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 V=[];if(this._platformSupportsMouseEvents())V.push(["mouseleave",H=>{var D;const O=H.relatedTarget;(!O||!(null===(D=this._overlayRef)||void 0===D?void 0:D.overlayElement.contains(O)))&&this.hide()}],["wheel",H=>this._wheelListener(H)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const H=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};V.push(["touchend",H],["touchcancel",H])}this._addListeners(V),this._passiveListeners.push(...V)}_addListeners(V){V.forEach(([H,D])=>{this._elementRef.nativeElement.addEventListener(H,D,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(V){if(this._isTooltipVisible()){const H=this._document.elementFromPoint(V.clientX,V.clientY),D=this._elementRef.nativeElement;H!==D&&!D.contains(H)&&this.hide()}}_disableNativeGesturesIfNecessary(){const V=this.touchGestures;if("off"!==V){const H=this._elementRef.nativeElement,D=H.style;("on"===V||"INPUT"!==H.nodeName&&"TEXTAREA"!==H.nodeName)&&(D.userSelect=D.msUserSelect=D.webkitUserSelect=D.MozUserSelect="none"),("on"===V||!H.draggable)&&(D.webkitUserDrag="none"),D.touchAction="none",D.webkitTapHighlightColor="transparent"}}}return ee.\u0275fac=function(V){w.$Z()},ee.\u0275dir=w.lG2({type:ee,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ee})(),ze=(()=>{class ee extends Be{constructor(V,H,D,O,i,o,u,l,s,n,t,r){super(V,H,D,O,i,o,u,l,s,n,t,r),this._tooltipComponent=_e}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(e.aV),w.Y36(w.SBq),w.Y36(b.mF),w.Y36(w.s_b),w.Y36(w.R0b),w.Y36(pe.t4),w.Y36(c.$s),w.Y36(c.tE),w.Y36(ce),w.Y36(ge.Is,8),w.Y36(ne,8),w.Y36(g.K0))},ee.\u0275dir=w.lG2({type:ee,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[w.qOj]}),ee})(),Ue=(()=>{class ee{constructor(V,H){this._changeDetectorRef=V,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new I.x,this._animationsDisabled="NoopAnimations"===H}show(V){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},V)}hide(V){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},V)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:V}){(!V||!this._triggerElement.contains(V))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:V}){(V===this._showAnimation||V===this._hideAnimation)&&this._finalizeAnimation(V===this._showAnimation)}_finalizeAnimation(V){V?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(V){const H=this._tooltip.nativeElement,D=this._showAnimation,O=this._hideAnimation;if(H.classList.remove(V?O:D),H.classList.add(V?D:O),this._isVisible=V,V&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const i=getComputedStyle(H);("0s"===i.getPropertyValue("animation-duration")||"none"===i.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}V&&this._onShow(),this._animationsDisabled&&(H.classList.add("_mat-animation-noopable"),this._finalizeAnimation(V))}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(w.sBO),w.Y36(We.Qb,8))},ee.\u0275dir=w.lG2({type:ee}),ee})(),_e=(()=>{class ee extends Ue{constructor(V,H,D){super(V,D),this._breakpointObserver=H,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(w.sBO),w.Y36(se),w.Y36(We.Qb,8))},ee.\u0275cmp=w.Xpm({type:ee,selectors:[["mat-tooltip-component"]],viewQuery:function(V,H){if(1&V&&w.Gf(ue,7),2&V){let D;w.iGM(D=w.CRH())&&(H._tooltip=D.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(V,H){1&V&&w.NdJ("mouseleave",function(O){return H._handleMouseLeave(O)}),2&V&&w.Udp("zoom",H.isVisible()?1:null)},features:[w.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(V,H){if(1&V&&(w.TgZ(0,"div",0,1),w.NdJ("animationend",function(O){return H._handleAnimationEnd(O)}),w.ALo(2,"async"),w._uU(3),w.qZA()),2&V){let D;w.ekj("mat-tooltip-handset",null==(D=w.lcZ(2,4,H._isHandset))?null:D.matches),w.Q6J("ngClass",H.tooltipClass),w.xp6(3),w.Oqu(H.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),ee})(),ae=(()=>{class ee{}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=w.oAB({type:ee}),ee.\u0275inj=w.cJS({providers:[Ze],imports:[[c.rt,g.ez,e.U8,_.BQ],_.BQ,b.ZD]}),ee})()},90149:(qe,me,h)=>{"use strict";h.d(me,{GZ:()=>j,gi:()=>he,kc:()=>T,JZ:()=>ye,dp:()=>pe,WX:()=>R,uo:()=>A,fQ:()=>q,Ar:()=>Q,eu:()=>F});var e=h(28258),c=h(5e3),g=h(90508),w=h(63191),_=h(20449),b=h(61135),E=h(56451),v=h(95698),I=h(54004);const N=(0,g.sb)((0,g.Id)(e.Hs));let A=(()=>{class L extends N{constructor(Y,se,Te){super(Y,se),this.tabIndex=Number(Te)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(e._0),c.$8M("tabindex"))},L.\u0275dir=c.lG2({type:L,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[c._Bn([{provide:e.Hs,useExisting:L}]),c.qOj]}),L})(),q=(()=>{class L extends e.rO{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[c._Bn([{provide:e.rO,useExisting:L}]),c.qOj]}),L})(),j=(()=>{class L extends e.Xx{constructor(Y,se,Te,Oe){super(Y,se,Te),this._disabled=!1,this.tabIndex=Number(Oe)||0}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,w.Ig)(Y)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Y){this._tabIndex=null!=Y?Y:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(e._0),c.Y36(c.ZZ4),c.$8M("tabindex"))},L.\u0275dir=c.lG2({type:L,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[c._Bn([{provide:e.Xx,useExisting:L},{provide:e.Hs,useExisting:L},{provide:e.HI,useExisting:L}]),c.qOj]}),L})(),Q=(()=>{class L{constructor(Y,se){this.viewContainer=Y,this._node=se}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.s_b),c.Y36(e.HI,8))},L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeOutlet",""]],features:[c._Bn([{provide:e.cu,useExisting:L}])]}),L})(),he=(()=>{class L extends e._0{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-tree"]],viewQuery:function(Y,se){if(1&Y&&c.Gf(Q,7),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._nodeOutlet=Te.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[c._Bn([{provide:e._0,useExisting:L}]),c.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(Y,se){1&Y&&c.GkF(0,0)},directives:[Q],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}),L})(),F=(()=>{class L extends e.Ud{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[c._Bn([{provide:e.Ud,useExisting:L}]),c.qOj]}),L})(),pe=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),L})();class ye{constructor(X,Y,se,Te){this.transformFunction=X,this.getLevel=Y,this.isExpandable=se,this.getChildren=Te}_flattenNode(X,Y,se,Te){const Oe=this.transformFunction(X,Y);if(se.push(Oe),this.isExpandable(Oe)){const Se=this.getChildren(X);Se&&(Array.isArray(Se)?this._flattenChildren(Se,Y,se,Te):Se.pipe((0,v.q)(1)).subscribe(We=>{this._flattenChildren(We,Y,se,Te)}))}return se}_flattenChildren(X,Y,se,Te){X.forEach((Oe,Se)=>{let We=Te.slice();We.push(Se!=X.length-1),this._flattenNode(Oe,Y+1,se,We)})}flattenNodes(X){let Y=[];return X.forEach(se=>this._flattenNode(se,0,Y,[])),Y}expandFlattenedNodes(X,Y){let se=[],Te=[];return Te[0]=!0,X.forEach(Oe=>{let Se=!0;for(let We=0;We<=this.getLevel(Oe);We++)Se=Se&&Te[We];Se&&se.push(Oe),this.isExpandable(Oe)&&(Te[this.getLevel(Oe)+1]=Y.isExpanded(Oe))}),se}}class T extends _.o2{constructor(X,Y,se){super(),this._treeControl=X,this._treeFlattener=Y,this._flattenedData=new b.X([]),this._expandedData=new b.X([]),this._data=new b.X([]),se&&(this.data=se)}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,E.T)(X.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,I.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class R extends _.o2{constructor(){super(...arguments),this._data=new b.X([])}get data(){return this._data.value}set data(X){this._data.next(X)}connect(X){return(0,E.T)(X.viewChange,this._data).pipe((0,I.U)(()=>this.data))}disconnect(){}}},76360:(qe,me,h)=>{"use strict";h.d(me,{Qb:()=>Gn,PW:()=>dn});var e=h(5e3),c=h(22313),g=h(41777);function w(){return"undefined"!=typeof window&&void 0!==window.document}function _(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function b(gt){switch(gt.length){case 0:return new g.ZN;case 1:return gt[0];default:return new g.ZE(gt)}}function E(gt,k,W,Re,pt={},Et={}){const te=[],Ie=[];let le=-1,et=null;if(Re.forEach(xt=>{const zt=xt.offset,Jt=zt==le,ai=Jt&&et||{};Object.keys(xt).forEach(ui=>{let fi=ui,Ai=xt[ui];if("offset"!==ui)switch(fi=k.normalizePropertyName(fi,te),Ai){case g.k1:Ai=pt[ui];break;case g.l3:Ai=Et[ui];break;default:Ai=k.normalizeStyleValue(ui,fi,Ai,te)}ai[fi]=Ai}),Jt||Ie.push(ai),et=ai,le=zt}),te.length){const xt="\n - ";throw new Error(`Unable to animate due to the following errors:${xt}${te.join(xt)}`)}return Ie}function v(gt,k,W,Re){switch(k){case"start":gt.onStart(()=>Re(W&&I(W,"start",gt)));break;case"done":gt.onDone(()=>Re(W&&I(W,"done",gt)));break;case"destroy":gt.onDestroy(()=>Re(W&&I(W,"destroy",gt)))}}function I(gt,k,W){const Re=W.totalTime,Et=N(gt.element,gt.triggerName,gt.fromState,gt.toState,k||gt.phaseName,null==Re?gt.totalTime:Re,!!W.disabled),te=gt._data;return null!=te&&(Et._data=te),Et}function N(gt,k,W,Re,pt="",Et=0,te){return{element:gt,triggerName:k,fromState:W,toState:Re,phaseName:pt,totalTime:Et,disabled:!!te}}function A(gt,k,W){let Re;return gt instanceof Map?(Re=gt.get(k),Re||gt.set(k,Re=W)):(Re=gt[k],Re||(Re=gt[k]=W)),Re}function q(gt){const k=gt.indexOf(":");return[gt.substring(1,k),gt.substr(k+1)]}let j=(gt,k)=>!1,G=(gt,k,W)=>[];(_()||"undefined"!=typeof Element)&&(j=w()?(gt,k)=>{for(;k&&k!==document.documentElement;){if(k===gt)return!0;k=k.parentNode||k.host}return!1}:(gt,k)=>gt.contains(k),G=(gt,k,W)=>{if(W)return Array.from(gt.querySelectorAll(k));const Re=gt.querySelector(k);return Re?[Re]:[]});let F=null,be=!1;function pe(gt){F||(F=function ye(){return"undefined"!=typeof document?document.body:null}()||{},be=!!F.style&&"WebkitAppearance"in F.style);let k=!0;return F.style&&!function he(gt){return"ebkit"==gt.substring(1,6)}(gt)&&(k=gt in F.style,!k&&be&&(k="Webkit"+gt.charAt(0).toUpperCase()+gt.substr(1)in F.style)),k}const T=j,R=G;let X=(()=>{class gt{validateStyleProperty(W){return pe(W)}matchesElement(W,Re){return!1}containsElement(W,Re){return T(W,Re)}query(W,Re,pt){return R(W,Re,pt)}computeStyle(W,Re,pt){return pt||""}animate(W,Re,pt,Et,te,Ie=[],le){return new g.ZN(pt,Et)}}return gt.\u0275fac=function(W){return new(W||gt)},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})(),Y=(()=>{class gt{}return gt.NOOP=new X,gt})();const Se="ng-enter",We="ng-leave",ge="ng-trigger",Le=".ng-trigger",ue="ng-animating",Me=".ng-animating";function z(gt){if("number"==typeof gt)return gt;const k=gt.match(/^(-?[\.\d]+)(m?s)/);return!k||k.length<2?0:P(parseFloat(k[1]),k[2])}function P(gt,k){return"s"===k?1e3*gt:gt}function de(gt,k,W){return gt.hasOwnProperty("duration")?gt:function Ce(gt,k,W){let pt,Et=0,te="";if("string"==typeof gt){const Ie=gt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ie)return k.push(`The provided timing value "${gt}" is invalid.`),{duration:0,delay:0,easing:""};pt=P(parseFloat(Ie[1]),Ie[2]);const le=Ie[3];null!=le&&(Et=P(parseFloat(le),Ie[4]));const et=Ie[5];et&&(te=et)}else pt=gt;if(!W){let Ie=!1,le=k.length;pt<0&&(k.push("Duration values below 0 are not allowed for this animation step."),Ie=!0),Et<0&&(k.push("Delay values below 0 are not allowed for this animation step."),Ie=!0),Ie&&k.splice(le,0,`The provided timing value "${gt}" is invalid.`)}return{duration:pt,delay:Et,easing:te}}(gt,k,W)}function Pe(gt,k={}){return Object.keys(gt).forEach(W=>{k[W]=gt[W]}),k}function fe(gt,k,W={}){if(k)for(let Re in gt)W[Re]=gt[Re];else Pe(gt,W);return W}function Ze(gt,k,W){return W?k+":"+W+";":""}function ne(gt){let k="";for(let W=0;W{const pt=V(Re);W&&!W.hasOwnProperty(Re)&&(W[Re]=gt.style[pt]),gt.style[pt]=k[Re]}),_()&&ne(gt))}function Be(gt,k){gt.style&&(Object.keys(k).forEach(W=>{const Re=V(W);gt.style[Re]=""}),_()&&ne(gt))}function ze(gt){return Array.isArray(gt)?1==gt.length?gt[0]:(0,g.vP)(gt):gt}const _e=new RegExp("{{\\s*(.+?)\\s*}}","g");function ae(gt){let k=[];if("string"==typeof gt){let W;for(;W=_e.exec(gt);)k.push(W[1]);_e.lastIndex=0}return k}function Ae(gt,k,W){const Re=gt.toString(),pt=Re.replace(_e,(Et,te)=>{let Ie=k[te];return k.hasOwnProperty(te)||(W.push(`Please provide a value for the animation param ${te}`),Ie=""),Ie.toString()});return pt==Re?gt:pt}function ee(gt){const k=[];let W=gt.next();for(;!W.done;)k.push(W.value),W=gt.next();return k}const Ne=/-+([a-z0-9])/g;function V(gt){return gt.replace(Ne,(...k)=>k[1].toUpperCase())}function H(gt){return gt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i(gt,k,W){switch(k.type){case 7:return gt.visitTrigger(k,W);case 0:return gt.visitState(k,W);case 1:return gt.visitTransition(k,W);case 2:return gt.visitSequence(k,W);case 3:return gt.visitGroup(k,W);case 4:return gt.visitAnimate(k,W);case 5:return gt.visitKeyframes(k,W);case 6:return gt.visitStyle(k,W);case 8:return gt.visitReference(k,W);case 9:return gt.visitAnimateChild(k,W);case 10:return gt.visitAnimateRef(k,W);case 11:return gt.visitQuery(k,W);case 12:return gt.visitStagger(k,W);default:throw new Error(`Unable to resolve animation metadata node #${k.type}`)}}function o(gt,k){return window.getComputedStyle(gt)[k]}const u="*";function l(gt,k){const W=[];return"string"==typeof gt?gt.split(/\s*,\s*/).forEach(Re=>function s(gt,k,W){if(":"==gt[0]){const le=function n(gt,k){switch(gt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(W,Re)=>parseFloat(Re)>parseFloat(W);case":decrement":return(W,Re)=>parseFloat(Re) *"}}(gt,W);if("function"==typeof le)return void k.push(le);gt=le}const Re=gt.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Re||Re.length<4)return W.push(`The provided transition expression "${gt}" is not supported`),k;const pt=Re[1],Et=Re[2],te=Re[3];k.push(a(pt,te));"<"==Et[0]&&!(pt==u&&te==u)&&k.push(a(te,pt))}(Re,W,k)):W.push(gt),W}const t=new Set(["true","1"]),r=new Set(["false","0"]);function a(gt,k){const W=t.has(gt)||r.has(gt),Re=t.has(k)||r.has(k);return(pt,Et)=>{let te=gt==u||gt==pt,Ie=k==u||k==Et;return!te&&W&&"boolean"==typeof pt&&(te=pt?t.has(gt):r.has(gt)),!Ie&&Re&&"boolean"==typeof Et&&(Ie=Et?t.has(k):r.has(k)),te&&Ie}}const d=":self",f=new RegExp(`s*${d}s*,?`,"g");function x(gt,k,W){return new It(gt).build(k,W)}class It{constructor(k){this._driver=k}build(k,W){const Re=new Yt(W);return this._resetContextStyleTimingState(Re),i(this,ze(k),Re)}_resetContextStyleTimingState(k){k.currentQuerySelector="",k.collectedStyles={},k.collectedStyles[""]={},k.currentTime=0}visitTrigger(k,W){let Re=W.queryCount=0,pt=W.depCount=0;const Et=[],te=[];return"@"==k.name.charAt(0)&&W.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),k.definitions.forEach(Ie=>{if(this._resetContextStyleTimingState(W),0==Ie.type){const le=Ie,et=le.name;et.toString().split(/\s*,\s*/).forEach(xt=>{le.name=xt,Et.push(this.visitState(le,W))}),le.name=et}else if(1==Ie.type){const le=this.visitTransition(Ie,W);Re+=le.queryCount,pt+=le.depCount,te.push(le)}else W.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:k.name,states:Et,transitions:te,queryCount:Re,depCount:pt,options:null}}visitState(k,W){const Re=this.visitStyle(k.styles,W),pt=k.options&&k.options.params||null;if(Re.containsDynamicStyles){const Et=new Set,te=pt||{};if(Re.styles.forEach(Ie=>{if(Nt(Ie)){const le=Ie;Object.keys(le).forEach(et=>{ae(le[et]).forEach(xt=>{te.hasOwnProperty(xt)||Et.add(xt)})})}}),Et.size){const Ie=ee(Et.values());W.errors.push(`state("${k.name}", ...) must define default values for all the following style substitutions: ${Ie.join(", ")}`)}}return{type:0,name:k.name,style:Re,options:pt?{params:pt}:null}}visitTransition(k,W){W.queryCount=0,W.depCount=0;const Re=i(this,ze(k.animation),W);return{type:1,matchers:l(k.expr,W.errors),animation:Re,queryCount:W.queryCount,depCount:W.depCount,options:je(k.options)}}visitSequence(k,W){return{type:2,steps:k.steps.map(Re=>i(this,Re,W)),options:je(k.options)}}visitGroup(k,W){const Re=W.currentTime;let pt=0;const Et=k.steps.map(te=>{W.currentTime=Re;const Ie=i(this,te,W);return pt=Math.max(pt,W.currentTime),Ie});return W.currentTime=pt,{type:3,steps:Et,options:je(k.options)}}visitAnimate(k,W){const Re=function He(gt,k){let W=null;if(gt.hasOwnProperty("duration"))W=gt;else if("number"==typeof gt)return Z(de(gt,k).duration,0,"");const Re=gt;if(Re.split(/\s+/).some(Et=>"{"==Et.charAt(0)&&"{"==Et.charAt(1))){const Et=Z(0,0,"");return Et.dynamic=!0,Et.strValue=Re,Et}return W=W||de(Re,k),Z(W.duration,W.delay,W.easing)}(k.timings,W.errors);W.currentAnimateTimings=Re;let pt,Et=k.styles?k.styles:(0,g.oB)({});if(5==Et.type)pt=this.visitKeyframes(Et,W);else{let te=k.styles,Ie=!1;if(!te){Ie=!0;const et={};Re.easing&&(et.easing=Re.easing),te=(0,g.oB)(et)}W.currentTime+=Re.duration+Re.delay;const le=this.visitStyle(te,W);le.isEmptyStep=Ie,pt=le}return W.currentAnimateTimings=null,{type:4,timings:Re,style:pt,options:null}}visitStyle(k,W){const Re=this._makeStyleAst(k,W);return this._validateStyleAst(Re,W),Re}_makeStyleAst(k,W){const Re=[];Array.isArray(k.styles)?k.styles.forEach(te=>{"string"==typeof te?te==g.l3?Re.push(te):W.errors.push(`The provided style string value ${te} is not allowed.`):Re.push(te)}):Re.push(k.styles);let pt=!1,Et=null;return Re.forEach(te=>{if(Nt(te)){const Ie=te,le=Ie.easing;if(le&&(Et=le,delete Ie.easing),!pt)for(let et in Ie)if(Ie[et].toString().indexOf("{{")>=0){pt=!0;break}}}),{type:6,styles:Re,easing:Et,offset:k.offset,containsDynamicStyles:pt,options:null}}_validateStyleAst(k,W){const Re=W.currentAnimateTimings;let pt=W.currentTime,Et=W.currentTime;Re&&Et>0&&(Et-=Re.duration+Re.delay),k.styles.forEach(te=>{"string"!=typeof te&&Object.keys(te).forEach(Ie=>{if(!this._driver.validateStyleProperty(Ie))return void W.errors.push(`The provided animation property "${Ie}" is not a supported CSS property for animations`);const le=W.collectedStyles[W.currentQuerySelector],et=le[Ie];let xt=!0;et&&(Et!=pt&&Et>=et.startTime&&pt<=et.endTime&&(W.errors.push(`The CSS property "${Ie}" that exists between the times of "${et.startTime}ms" and "${et.endTime}ms" is also being animated in a parallel animation between the times of "${Et}ms" and "${pt}ms"`),xt=!1),Et=et.startTime),xt&&(le[Ie]={startTime:Et,endTime:pt}),W.options&&function Ue(gt,k,W){const Re=k.params||{},pt=ae(gt);pt.length&&pt.forEach(Et=>{Re.hasOwnProperty(Et)||W.push(`Unable to resolve the local animation param ${Et} in the given list of values`)})}(te[Ie],W.options,W.errors)})})}visitKeyframes(k,W){const Re={type:5,styles:[],options:null};if(!W.currentAnimateTimings)return W.errors.push("keyframes() must be placed inside of a call to animate()"),Re;let Et=0;const te=[];let Ie=!1,le=!1,et=0;const xt=k.steps.map(Mi=>{const Bi=this._makeStyleAst(Mi,W);let ke=null!=Bi.offset?Bi.offset:function Ct(gt){if("string"==typeof gt)return null;let k=null;if(Array.isArray(gt))gt.forEach(W=>{if(Nt(W)&&W.hasOwnProperty("offset")){const Re=W;k=parseFloat(Re.offset),delete Re.offset}});else if(Nt(gt)&>.hasOwnProperty("offset")){const W=gt;k=parseFloat(W.offset),delete W.offset}return k}(Bi.styles),De=0;return null!=ke&&(Et++,De=Bi.offset=ke),le=le||De<0||De>1,Ie=Ie||De0&&Et{const ke=Jt>0?Bi==ai?1:Jt*Bi:te[Bi],De=ke*Ai;W.currentTime=ui+fi.delay+De,fi.duration=De,this._validateStyleAst(Mi,W),Mi.offset=ke,Re.styles.push(Mi)}),Re}visitReference(k,W){return{type:8,animation:i(this,ze(k.animation),W),options:je(k.options)}}visitAnimateChild(k,W){return W.depCount++,{type:9,options:je(k.options)}}visitAnimateRef(k,W){return{type:10,animation:this.visitReference(k.animation,W),options:je(k.options)}}visitQuery(k,W){const Re=W.currentQuerySelector,pt=k.options||{};W.queryCount++,W.currentQuery=k;const[Et,te]=function jt(gt){const k=!!gt.split(/\s*,\s*/).find(W=>W==d);return k&&(gt=gt.replace(f,"")),gt=gt.replace(/@\*/g,Le).replace(/@\w+/g,W=>Le+"-"+W.substr(1)).replace(/:animating/g,Me),[gt,k]}(k.selector);W.currentQuerySelector=Re.length?Re+" "+Et:Et,A(W.collectedStyles,W.currentQuerySelector,{});const Ie=i(this,ze(k.animation),W);return W.currentQuery=null,W.currentQuerySelector=Re,{type:11,selector:Et,limit:pt.limit||0,optional:!!pt.optional,includeSelf:te,animation:Ie,originalSelector:k.selector,options:je(k.options)}}visitStagger(k,W){W.currentQuery||W.errors.push("stagger() can only be used inside of query()");const Re="full"===k.timings?{duration:0,delay:0,easing:"full"}:de(k.timings,W.errors,!0);return{type:12,animation:i(this,ze(k.animation),W),timings:Re,options:null}}}class Yt{constructor(k){this.errors=k,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 Nt(gt){return!Array.isArray(gt)&&"object"==typeof gt}function je(gt){return gt?(gt=Pe(gt)).params&&(gt.params=function bt(gt){return gt?Pe(gt):null}(gt.params)):gt={},gt}function Z(gt,k,W){return{duration:gt,delay:k,easing:W}}function $(gt,k,W,Re,pt,Et,te=null,Ie=!1){return{type:1,element:gt,keyframes:k,preStyleProps:W,postStyleProps:Re,duration:pt,delay:Et,totalTime:pt+Et,easing:te,subTimeline:Ie}}class oe{constructor(){this._map=new Map}get(k){return this._map.get(k)||[]}append(k,W){let Re=this._map.get(k);Re||this._map.set(k,Re=[]),Re.push(...W)}has(k){return this._map.has(k)}clear(){this._map.clear()}}const Rt=new RegExp(":enter","g"),Tt=new RegExp(":leave","g");function ot(gt,k,W,Re,pt,Et={},te={},Ie,le,et=[]){return(new rt).buildKeyframes(gt,k,W,Re,pt,Et,te,Ie,le,et)}class rt{buildKeyframes(k,W,Re,pt,Et,te,Ie,le,et,xt=[]){et=et||new oe;const zt=new ut(k,W,et,pt,Et,xt,[]);zt.options=le,zt.currentTimeline.setStyles([te],null,zt.errors,le),i(this,Re,zt);const Jt=zt.timelines.filter(ai=>ai.containsAnimation());if(Object.keys(Ie).length){let ai;for(let ui=Jt.length-1;ui>=0;ui--){const fi=Jt[ui];if(fi.element===W){ai=fi;break}}ai&&!ai.allowOnlyTimelineStyles()&&ai.setStyles([Ie],null,zt.errors,le)}return Jt.length?Jt.map(ai=>ai.buildKeyframes()):[$(W,[],[],[],0,0,"",!1)]}visitTrigger(k,W){}visitState(k,W){}visitTransition(k,W){}visitAnimateChild(k,W){const Re=W.subInstructions.get(W.element);if(Re){const pt=W.createSubContext(k.options),Et=W.currentTimeline.currentTime,te=this._visitSubInstructions(Re,pt,pt.options);Et!=te&&W.transformIntoNewTimeline(te)}W.previousNode=k}visitAnimateRef(k,W){const Re=W.createSubContext(k.options);Re.transformIntoNewTimeline(),this.visitReference(k.animation,Re),W.transformIntoNewTimeline(Re.currentTimeline.currentTime),W.previousNode=k}_visitSubInstructions(k,W,Re){let Et=W.currentTimeline.currentTime;const te=null!=Re.duration?z(Re.duration):null,Ie=null!=Re.delay?z(Re.delay):null;return 0!==te&&k.forEach(le=>{const et=W.appendInstructionToTimeline(le,te,Ie);Et=Math.max(Et,et.duration+et.delay)}),Et}visitReference(k,W){W.updateOptions(k.options,!0),i(this,k.animation,W),W.previousNode=k}visitSequence(k,W){const Re=W.subContextCount;let pt=W;const Et=k.options;if(Et&&(Et.params||Et.delay)&&(pt=W.createSubContext(Et),pt.transformIntoNewTimeline(),null!=Et.delay)){6==pt.previousNode.type&&(pt.currentTimeline.snapshotCurrentStyles(),pt.previousNode=lt);const te=z(Et.delay);pt.delayNextStep(te)}k.steps.length&&(k.steps.forEach(te=>i(this,te,pt)),pt.currentTimeline.applyStylesToKeyframe(),pt.subContextCount>Re&&pt.transformIntoNewTimeline()),W.previousNode=k}visitGroup(k,W){const Re=[];let pt=W.currentTimeline.currentTime;const Et=k.options&&k.options.delay?z(k.options.delay):0;k.steps.forEach(te=>{const Ie=W.createSubContext(k.options);Et&&Ie.delayNextStep(Et),i(this,te,Ie),pt=Math.max(pt,Ie.currentTimeline.currentTime),Re.push(Ie.currentTimeline)}),Re.forEach(te=>W.currentTimeline.mergeTimelineCollectedStyles(te)),W.transformIntoNewTimeline(pt),W.previousNode=k}_visitTiming(k,W){if(k.dynamic){const Re=k.strValue;return de(W.params?Ae(Re,W.params,W.errors):Re,W.errors)}return{duration:k.duration,delay:k.delay,easing:k.easing}}visitAnimate(k,W){const Re=W.currentAnimateTimings=this._visitTiming(k.timings,W),pt=W.currentTimeline;Re.delay&&(W.incrementTime(Re.delay),pt.snapshotCurrentStyles());const Et=k.style;5==Et.type?this.visitKeyframes(Et,W):(W.incrementTime(Re.duration),this.visitStyle(Et,W),pt.applyStylesToKeyframe()),W.currentAnimateTimings=null,W.previousNode=k}visitStyle(k,W){const Re=W.currentTimeline,pt=W.currentAnimateTimings;!pt&&Re.getCurrentStyleProperties().length&&Re.forwardFrame();const Et=pt&&pt.easing||k.easing;k.isEmptyStep?Re.applyEmptyStep(Et):Re.setStyles(k.styles,Et,W.errors,W.options),W.previousNode=k}visitKeyframes(k,W){const Re=W.currentAnimateTimings,pt=W.currentTimeline.duration,Et=Re.duration,Ie=W.createSubContext().currentTimeline;Ie.easing=Re.easing,k.styles.forEach(le=>{Ie.forwardTime((le.offset||0)*Et),Ie.setStyles(le.styles,le.easing,W.errors,W.options),Ie.applyStylesToKeyframe()}),W.currentTimeline.mergeTimelineCollectedStyles(Ie),W.transformIntoNewTimeline(pt+Et),W.previousNode=k}visitQuery(k,W){const Re=W.currentTimeline.currentTime,pt=k.options||{},Et=pt.delay?z(pt.delay):0;Et&&(6===W.previousNode.type||0==Re&&W.currentTimeline.getCurrentStyleProperties().length)&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=lt);let te=Re;const Ie=W.invokeQuery(k.selector,k.originalSelector,k.limit,k.includeSelf,!!pt.optional,W.errors);W.currentQueryTotal=Ie.length;let le=null;Ie.forEach((et,xt)=>{W.currentQueryIndex=xt;const zt=W.createSubContext(k.options,et);Et&&zt.delayNextStep(Et),et===W.element&&(le=zt.currentTimeline),i(this,k.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),te=Math.max(te,zt.currentTimeline.currentTime)}),W.currentQueryIndex=0,W.currentQueryTotal=0,W.transformIntoNewTimeline(te),le&&(W.currentTimeline.mergeTimelineCollectedStyles(le),W.currentTimeline.snapshotCurrentStyles()),W.previousNode=k}visitStagger(k,W){const Re=W.parentContext,pt=W.currentTimeline,Et=k.timings,te=Math.abs(Et.duration),Ie=te*(W.currentQueryTotal-1);let le=te*W.currentQueryIndex;switch(Et.duration<0?"reverse":Et.easing){case"reverse":le=Ie-le;break;case"full":le=Re.currentStaggerTime}const xt=W.currentTimeline;le&&xt.delayNextStep(le);const zt=xt.currentTime;i(this,k.animation,W),W.previousNode=k,Re.currentStaggerTime=pt.currentTime-zt+(pt.startTime-Re.currentTimeline.startTime)}}const lt={};class ut{constructor(k,W,Re,pt,Et,te,Ie,le){this._driver=k,this.element=W,this.subInstructions=Re,this._enterClassName=pt,this._leaveClassName=Et,this.errors=te,this.timelines=Ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=le||new Ht(this._driver,W,0),Ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(k,W){if(!k)return;const Re=k;let pt=this.options;null!=Re.duration&&(pt.duration=z(Re.duration)),null!=Re.delay&&(pt.delay=z(Re.delay));const Et=Re.params;if(Et){let te=pt.params;te||(te=this.options.params={}),Object.keys(Et).forEach(Ie=>{(!W||!te.hasOwnProperty(Ie))&&(te[Ie]=Ae(Et[Ie],te,this.errors))})}}_copyOptions(){const k={};if(this.options){const W=this.options.params;if(W){const Re=k.params={};Object.keys(W).forEach(pt=>{Re[pt]=W[pt]})}}return k}createSubContext(k=null,W,Re){const pt=W||this.element,Et=new ut(this._driver,pt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pt,Re||0));return Et.previousNode=this.previousNode,Et.currentAnimateTimings=this.currentAnimateTimings,Et.options=this._copyOptions(),Et.updateOptions(k),Et.currentQueryIndex=this.currentQueryIndex,Et.currentQueryTotal=this.currentQueryTotal,Et.parentContext=this,this.subContextCount++,Et}transformIntoNewTimeline(k){return this.previousNode=lt,this.currentTimeline=this.currentTimeline.fork(this.element,k),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(k,W,Re){const pt={duration:null!=W?W:k.duration,delay:this.currentTimeline.currentTime+(null!=Re?Re:0)+k.delay,easing:""},Et=new Qt(this._driver,k.element,k.keyframes,k.preStyleProps,k.postStyleProps,pt,k.stretchStartingKeyframe);return this.timelines.push(Et),pt}incrementTime(k){this.currentTimeline.forwardTime(this.currentTimeline.duration+k)}delayNextStep(k){k>0&&this.currentTimeline.delayNextStep(k)}invokeQuery(k,W,Re,pt,Et,te){let Ie=[];if(pt&&Ie.push(this.element),k.length>0){k=(k=k.replace(Rt,"."+this._enterClassName)).replace(Tt,"."+this._leaveClassName);let et=this._driver.query(this.element,k,1!=Re);0!==Re&&(et=Re<0?et.slice(et.length+Re,et.length):et.slice(0,Re)),Ie.push(...et)}return!Et&&0==Ie.length&&te.push(`\`query("${W}")\` returned zero elements. (Use \`query("${W}", { optional: true })\` if you wish to allow this.)`),Ie}}class Ht{constructor(k,W,Re,pt){this._driver=k,this.element=W,this.startTime=Re,this._elementTimelineStylesLookup=pt,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(W),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(W,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(k){const W=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||W?(this.forwardTime(this.currentTime+k),W&&this.snapshotCurrentStyles()):this.startTime+=k}fork(k,W){return this.applyStylesToKeyframe(),new Ht(this._driver,k,W||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(k){this.applyStylesToKeyframe(),this.duration=k,this._loadKeyframe()}_updateStyle(k,W){this._localTimelineStyles[k]=W,this._globalTimelineStyles[k]=W,this._styleSummary[k]={time:this.currentTime,value:W}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(k){k&&(this._previousKeyframe.easing=k),Object.keys(this._globalTimelineStyles).forEach(W=>{this._backFill[W]=this._globalTimelineStyles[W]||g.l3,this._currentKeyframe[W]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(k,W,Re,pt){W&&(this._previousKeyframe.easing=W);const Et=pt&&pt.params||{},te=function hi(gt,k){const W={};let Re;return gt.forEach(pt=>{"*"===pt?(Re=Re||Object.keys(k),Re.forEach(Et=>{W[Et]=g.l3})):fe(pt,!1,W)}),W}(k,this._globalTimelineStyles);Object.keys(te).forEach(Ie=>{const le=Ae(te[Ie],Et,Re);this._pendingStyles[Ie]=le,this._localTimelineStyles.hasOwnProperty(Ie)||(this._backFill[Ie]=this._globalTimelineStyles.hasOwnProperty(Ie)?this._globalTimelineStyles[Ie]:g.l3),this._updateStyle(Ie,le)})}applyStylesToKeyframe(){const k=this._pendingStyles,W=Object.keys(k);0!=W.length&&(this._pendingStyles={},W.forEach(Re=>{this._currentKeyframe[Re]=k[Re]}),Object.keys(this._localTimelineStyles).forEach(Re=>{this._currentKeyframe.hasOwnProperty(Re)||(this._currentKeyframe[Re]=this._localTimelineStyles[Re])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(k=>{const W=this._localTimelineStyles[k];this._pendingStyles[k]=W,this._updateStyle(k,W)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const k=[];for(let W in this._currentKeyframe)k.push(W);return k}mergeTimelineCollectedStyles(k){Object.keys(k._styleSummary).forEach(W=>{const Re=this._styleSummary[W],pt=k._styleSummary[W];(!Re||pt.time>Re.time)&&this._updateStyle(W,pt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const k=new Set,W=new Set,Re=1===this._keyframes.size&&0===this.duration;let pt=[];this._keyframes.forEach((Ie,le)=>{const et=fe(Ie,!0);Object.keys(et).forEach(xt=>{const zt=et[xt];zt==g.k1?k.add(xt):zt==g.l3&&W.add(xt)}),Re||(et.offset=le/this.duration),pt.push(et)});const Et=k.size?ee(k.values()):[],te=W.size?ee(W.values()):[];if(Re){const Ie=pt[0],le=Pe(Ie);Ie.offset=0,le.offset=1,pt=[Ie,le]}return $(this.element,pt,Et,te,this.duration,this.startTime,this.easing,!1)}}class Qt extends Ht{constructor(k,W,Re,pt,Et,te,Ie=!1){super(k,W,te.delay),this.keyframes=Re,this.preStyleProps=pt,this.postStyleProps=Et,this._stretchStartingKeyframe=Ie,this.timings={duration:te.duration,delay:te.delay,easing:te.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let k=this.keyframes,{delay:W,duration:Re,easing:pt}=this.timings;if(this._stretchStartingKeyframe&&W){const Et=[],te=Re+W,Ie=W/te,le=fe(k[0],!1);le.offset=0,Et.push(le);const et=fe(k[0],!1);et.offset=ni(Ie),Et.push(et);const xt=k.length-1;for(let zt=1;zt<=xt;zt++){let Jt=fe(k[zt],!1);Jt.offset=ni((W+Jt.offset*Re)/te),Et.push(Jt)}Re=te,W=0,pt="",k=Et}return $(this.element,k,this.preStyleProps,this.postStyleProps,Re,W,pt,!0)}}function ni(gt,k=3){const W=Math.pow(10,k-1);return Math.round(gt*W)/W}class xi{}class tn extends xi{normalizePropertyName(k,W){return V(k)}normalizeStyleValue(k,W,Re,pt){let Et="";const te=Re.toString().trim();if(qi[W]&&0!==Re&&"0"!==Re)if("number"==typeof Re)Et="px";else{const Ie=Re.match(/^[+-]?[\d\.]+([a-z]*)$/);Ie&&0==Ie[1].length&&pt.push(`Please provide a CSS unit value for ${k}:${Re}`)}return te+Et}}const qi=(()=>function Lt(gt){const k={};return gt.forEach(W=>k[W]=!0),k}("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 oi(gt,k,W,Re,pt,Et,te,Ie,le,et,xt,zt,Jt){return{type:0,element:gt,triggerName:k,isRemovalTransition:pt,fromState:W,fromStyles:Et,toState:Re,toStyles:te,timelines:Ie,queriedElements:le,preStyleProps:et,postStyleProps:xt,totalTime:zt,errors:Jt}}const Pt={};class $e{constructor(k,W,Re){this._triggerName=k,this.ast=W,this._stateStyles=Re}match(k,W,Re,pt){return function vt(gt,k,W,Re,pt){return gt.some(Et=>Et(k,W,Re,pt))}(this.ast.matchers,k,W,Re,pt)}buildStyles(k,W,Re){const pt=this._stateStyles["*"],Et=this._stateStyles[k],te=pt?pt.buildStyles(W,Re):{};return Et?Et.buildStyles(W,Re):te}build(k,W,Re,pt,Et,te,Ie,le,et,xt){const zt=[],Jt=this.ast.options&&this.ast.options.params||Pt,ui=this.buildStyles(Re,Ie&&Ie.params||Pt,zt),fi=le&&le.params||Pt,Ai=this.buildStyles(pt,fi,zt),Mi=new Set,Bi=new Map,ke=new Map,De="void"===pt,we={params:Object.assign(Object.assign({},Jt),fi)},ht=xt?[]:ot(k,W,this.ast.animation,Et,te,ui,Ai,we,et,zt);let Zt=0;if(ht.forEach(ki=>{Zt=Math.max(ki.duration+ki.delay,Zt)}),zt.length)return oi(W,this._triggerName,Re,pt,De,ui,Ai,[],[],Bi,ke,Zt,zt);ht.forEach(ki=>{const Xi=ki.element,pn=A(Bi,Xi,{});ki.preStyleProps.forEach($n=>pn[$n]=!0);const Nn=A(ke,Xi,{});ki.postStyleProps.forEach($n=>Nn[$n]=!0),Xi!==W&&Mi.add(Xi)});const pi=ee(Mi.values());return oi(W,this._triggerName,Re,pt,De,ui,Ai,ht,pi,Bi,ke,Zt)}}class at{constructor(k,W,Re){this.styles=k,this.defaultParams=W,this.normalizer=Re}buildStyles(k,W){const Re={},pt=Pe(this.defaultParams);return Object.keys(k).forEach(Et=>{const te=k[Et];null!=te&&(pt[Et]=te)}),this.styles.styles.forEach(Et=>{if("string"!=typeof Et){const te=Et;Object.keys(te).forEach(Ie=>{let le=te[Ie];le.length>1&&(le=Ae(le,pt,W));const et=this.normalizer.normalizePropertyName(Ie,W);le=this.normalizer.normalizeStyleValue(Ie,et,le,W),Re[et]=le})}}),Re}}class yt{constructor(k,W,Re){this.name=k,this.ast=W,this._normalizer=Re,this.transitionFactories=[],this.states={},W.states.forEach(pt=>{this.states[pt.name]=new at(pt.style,pt.options&&pt.options.params||{},Re)}),Ge(this.states,"true","1"),Ge(this.states,"false","0"),W.transitions.forEach(pt=>{this.transitionFactories.push(new $e(k,pt,this.states))}),this.fallbackTransition=function U(gt,k,W){return new $e(gt,{type:1,animation:{type:2,steps:[],options:null},matchers:[(te,Ie)=>!0],options:null,queryCount:0,depCount:0},k)}(k,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(k,W,Re,pt){return this.transitionFactories.find(te=>te.match(k,W,Re,pt))||null}matchStyles(k,W,Re){return this.fallbackTransition.buildStyles(k,W,Re)}}function Ge(gt,k,W){gt.hasOwnProperty(k)?gt.hasOwnProperty(W)||(gt[W]=gt[k]):gt.hasOwnProperty(W)&&(gt[k]=gt[W])}const _t=new oe;class Dt{constructor(k,W,Re){this.bodyNode=k,this._driver=W,this._normalizer=Re,this._animations={},this._playersById={},this.players=[]}register(k,W){const Re=[],pt=x(this._driver,W,Re);if(Re.length)throw new Error(`Unable to build the animation due to the following errors: ${Re.join("\n")}`);this._animations[k]=pt}_buildPlayer(k,W,Re){const pt=k.element,Et=E(0,this._normalizer,0,k.keyframes,W,Re);return this._driver.animate(pt,Et,k.duration,k.delay,k.easing,[],!0)}create(k,W,Re={}){const pt=[],Et=this._animations[k];let te;const Ie=new Map;if(Et?(te=ot(this._driver,W,Et,Se,We,{},{},Re,_t,pt),te.forEach(xt=>{const zt=A(Ie,xt.element,{});xt.postStyleProps.forEach(Jt=>zt[Jt]=null)})):(pt.push("The requested animation doesn't exist or has already been destroyed"),te=[]),pt.length)throw new Error(`Unable to create the animation due to the following errors: ${pt.join("\n")}`);Ie.forEach((xt,zt)=>{Object.keys(xt).forEach(Jt=>{xt[Jt]=this._driver.computeStyle(zt,Jt,g.l3)})});const et=b(te.map(xt=>{const zt=Ie.get(xt.element);return this._buildPlayer(xt,{},zt)}));return this._playersById[k]=et,et.onDestroy(()=>this.destroy(k)),this.players.push(et),et}destroy(k){const W=this._getPlayer(k);W.destroy(),delete this._playersById[k];const Re=this.players.indexOf(W);Re>=0&&this.players.splice(Re,1)}_getPlayer(k){const W=this._playersById[k];if(!W)throw new Error(`Unable to find the timeline player referenced by ${k}`);return W}listen(k,W,Re,pt){const Et=N(W,"","","");return v(this._getPlayer(k),Re,Et,pt),()=>{}}command(k,W,Re,pt){if("register"==Re)return void this.register(k,pt[0]);if("create"==Re)return void this.create(k,W,pt[0]||{});const Et=this._getPlayer(k);switch(Re){case"play":Et.play();break;case"pause":Et.pause();break;case"reset":Et.reset();break;case"restart":Et.restart();break;case"finish":Et.finish();break;case"init":Et.init();break;case"setPosition":Et.setPosition(parseFloat(pt[0]));break;case"destroy":this.destroy(k)}}}const ti="ng-animate-queued",Ii="ng-animate-disabled",Oi=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ki={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Li="__ng_removed";class yi{constructor(k,W=""){this.namespaceId=W;const Re=k&&k.hasOwnProperty("value");if(this.value=function un(gt){return null!=gt?gt:null}(Re?k.value:k),Re){const Et=Pe(k);delete Et.value,this.options=Et}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(k){const W=k.params;if(W){const Re=this.options.params;Object.keys(W).forEach(pt=>{null==Re[pt]&&(Re[pt]=W[pt])})}}}const nn="void",fn=new yi(nn);class Wi{constructor(k,W,Re){this.id=k,this.hostElement=W,this._engine=Re,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+k,st(W,this._hostClassName)}listen(k,W,Re,pt){if(!this._triggers.hasOwnProperty(W))throw new Error(`Unable to listen on the animation trigger event "${Re}" because the animation trigger "${W}" doesn't exist!`);if(null==Re||0==Re.length)throw new Error(`Unable to listen on the animation trigger "${W}" because the provided event is undefined!`);if(!function ln(gt){return"start"==gt||"done"==gt}(Re))throw new Error(`The provided animation trigger event "${Re}" for the animation trigger "${W}" is not supported!`);const Et=A(this._elementListeners,k,[]),te={name:W,phase:Re,callback:pt};Et.push(te);const Ie=A(this._engine.statesByElement,k,{});return Ie.hasOwnProperty(W)||(st(k,ge),st(k,ge+"-"+W),Ie[W]=fn),()=>{this._engine.afterFlush(()=>{const le=Et.indexOf(te);le>=0&&Et.splice(le,1),this._triggers[W]||delete Ie[W]})}}register(k,W){return!this._triggers[k]&&(this._triggers[k]=W,!0)}_getTrigger(k){const W=this._triggers[k];if(!W)throw new Error(`The provided animation trigger "${k}" has not been registered!`);return W}trigger(k,W,Re,pt=!0){const Et=this._getTrigger(W),te=new An(this.id,W,k);let Ie=this._engine.statesByElement.get(k);Ie||(st(k,ge),st(k,ge+"-"+W),this._engine.statesByElement.set(k,Ie={}));let le=Ie[W];const et=new yi(Re,this.id);if(!(Re&&Re.hasOwnProperty("value"))&&le&&et.absorbOptions(le.options),Ie[W]=et,le||(le=fn),et.value!==nn&&le.value===et.value){if(!function wt(gt,k){const W=Object.keys(gt),Re=Object.keys(k);if(W.length!=Re.length)return!1;for(let pt=0;pt{Be(k,Ai),it(k,Mi)})}return}const Jt=A(this._engine.playersByElement,k,[]);Jt.forEach(fi=>{fi.namespaceId==this.id&&fi.triggerName==W&&fi.queued&&fi.destroy()});let ai=Et.matchTransition(le.value,et.value,k,et.params),ui=!1;if(!ai){if(!pt)return;ai=Et.fallbackTransition,ui=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:k,triggerName:W,transition:ai,fromState:le,toState:et,player:te,isFallbackTransition:ui}),ui||(st(k,ti),te.onStart(()=>{kt(k,ti)})),te.onDone(()=>{let fi=this.players.indexOf(te);fi>=0&&this.players.splice(fi,1);const Ai=this._engine.playersByElement.get(k);if(Ai){let Mi=Ai.indexOf(te);Mi>=0&&Ai.splice(Mi,1)}}),this.players.push(te),Jt.push(te),te}deregister(k){delete this._triggers[k],this._engine.statesByElement.forEach((W,Re)=>{delete W[k]}),this._elementListeners.forEach((W,Re)=>{this._elementListeners.set(Re,W.filter(pt=>pt.name!=k))})}clearElementCache(k){this._engine.statesByElement.delete(k),this._elementListeners.delete(k);const W=this._engine.playersByElement.get(k);W&&(W.forEach(Re=>Re.destroy()),this._engine.playersByElement.delete(k))}_signalRemovalForInnerTriggers(k,W){const Re=this._engine.driver.query(k,Le,!0);Re.forEach(pt=>{if(pt[Li])return;const Et=this._engine.fetchNamespacesByElement(pt);Et.size?Et.forEach(te=>te.triggerLeaveAnimation(pt,W,!1,!0)):this.clearElementCache(pt)}),this._engine.afterFlushAnimationsDone(()=>Re.forEach(pt=>this.clearElementCache(pt)))}triggerLeaveAnimation(k,W,Re,pt){const Et=this._engine.statesByElement.get(k),te=new Map;if(Et){const Ie=[];if(Object.keys(Et).forEach(le=>{if(te.set(le,Et[le].value),this._triggers[le]){const et=this.trigger(k,le,nn,pt);et&&Ie.push(et)}}),Ie.length)return this._engine.markElementAsRemoved(this.id,k,!0,W,te),Re&&b(Ie).onDone(()=>this._engine.processLeaveNode(k)),!0}return!1}prepareLeaveAnimationListeners(k){const W=this._elementListeners.get(k),Re=this._engine.statesByElement.get(k);if(W&&Re){const pt=new Set;W.forEach(Et=>{const te=Et.name;if(pt.has(te))return;pt.add(te);const le=this._triggers[te].fallbackTransition,et=Re[te]||fn,xt=new yi(nn),zt=new An(this.id,te,k);this._engine.totalQueuedPlayers++,this._queue.push({element:k,triggerName:te,transition:le,fromState:et,toState:xt,player:zt,isFallbackTransition:!0})})}}removeNode(k,W){const Re=this._engine;if(k.childElementCount&&this._signalRemovalForInnerTriggers(k,W),this.triggerLeaveAnimation(k,W,!0))return;let pt=!1;if(Re.totalAnimations){const Et=Re.players.length?Re.playersByQueriedElement.get(k):[];if(Et&&Et.length)pt=!0;else{let te=k;for(;te=te.parentNode;)if(Re.statesByElement.get(te)){pt=!0;break}}}if(this.prepareLeaveAnimationListeners(k),pt)Re.markElementAsRemoved(this.id,k,!1,W);else{const Et=k[Li];(!Et||Et===Hi)&&(Re.afterFlush(()=>this.clearElementCache(k)),Re.destroyInnerAnimations(k),Re._onRemovalComplete(k,W))}}insertNode(k,W){st(k,this._hostClassName)}drainQueuedTransitions(k){const W=[];return this._queue.forEach(Re=>{const pt=Re.player;if(pt.destroyed)return;const Et=Re.element,te=this._elementListeners.get(Et);te&&te.forEach(Ie=>{if(Ie.name==Re.triggerName){const le=N(Et,Re.triggerName,Re.fromState.value,Re.toState.value);le._data=k,v(Re.player,Ie.phase,le,Ie.callback)}}),pt.markedForDestroy?this._engine.afterFlush(()=>{pt.destroy()}):W.push(Re)}),this._queue=[],W.sort((Re,pt)=>{const Et=Re.transition.ast.depCount,te=pt.transition.ast.depCount;return 0==Et||0==te?Et-te:this._engine.driver.containsElement(Re.element,pt.element)?1:-1})}destroy(k){this.players.forEach(W=>W.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,k)}elementContainsData(k){let W=!1;return this._elementListeners.has(k)&&(W=!0),W=!!this._queue.find(Re=>Re.element===k)||W,W}}class sn{constructor(k,W,Re){this.bodyNode=k,this.driver=W,this._normalizer=Re,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=(pt,Et)=>{}}_onRemovalComplete(k,W){this.onRemovalComplete(k,W)}get queuedPlayers(){const k=[];return this._namespaceList.forEach(W=>{W.players.forEach(Re=>{Re.queued&&k.push(Re)})}),k}createNamespace(k,W){const Re=new Wi(k,W,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,W)?this._balanceNamespaceList(Re,W):(this.newHostElements.set(W,Re),this.collectEnterElement(W)),this._namespaceLookup[k]=Re}_balanceNamespaceList(k,W){const Re=this._namespaceList.length-1;if(Re>=0){let pt=!1;for(let Et=Re;Et>=0;Et--)if(this.driver.containsElement(this._namespaceList[Et].hostElement,W)){this._namespaceList.splice(Et+1,0,k),pt=!0;break}pt||this._namespaceList.splice(0,0,k)}else this._namespaceList.push(k);return this.namespacesByHostElement.set(W,k),k}register(k,W){let Re=this._namespaceLookup[k];return Re||(Re=this.createNamespace(k,W)),Re}registerTrigger(k,W,Re){let pt=this._namespaceLookup[k];pt&&pt.register(W,Re)&&this.totalAnimations++}destroy(k,W){if(!k)return;const Re=this._fetchNamespace(k);this.afterFlush(()=>{this.namespacesByHostElement.delete(Re.hostElement),delete this._namespaceLookup[k];const pt=this._namespaceList.indexOf(Re);pt>=0&&this._namespaceList.splice(pt,1)}),this.afterFlushAnimationsDone(()=>Re.destroy(W))}_fetchNamespace(k){return this._namespaceLookup[k]}fetchNamespacesByElement(k){const W=new Set,Re=this.statesByElement.get(k);if(Re){const pt=Object.keys(Re);for(let Et=0;Et=0&&this.collectedLeaveElements.splice(te,1)}if(k){const te=this._fetchNamespace(k);te&&te.insertNode(W,Re)}pt&&this.collectEnterElement(W)}collectEnterElement(k){this.collectedEnterElements.push(k)}markElementAsDisabled(k,W){W?this.disabledNodes.has(k)||(this.disabledNodes.add(k),st(k,Ii)):this.disabledNodes.has(k)&&(this.disabledNodes.delete(k),kt(k,Ii))}removeNode(k,W,Re,pt){if(Ji(W)){const Et=k?this._fetchNamespace(k):null;if(Et?Et.removeNode(W,pt):this.markElementAsRemoved(k,W,!1,pt),Re){const te=this.namespacesByHostElement.get(W);te&&te.id!==k&&te.removeNode(W,pt)}}else this._onRemovalComplete(W,pt)}markElementAsRemoved(k,W,Re,pt,Et){this.collectedLeaveElements.push(W),W[Li]={namespaceId:k,setForRemoval:pt,hasAnimation:Re,removedBeforeQueried:!1,previousTriggersValues:Et}}listen(k,W,Re,pt,Et){return Ji(W)?this._fetchNamespace(k).listen(W,Re,pt,Et):()=>{}}_buildInstruction(k,W,Re,pt,Et){return k.transition.build(this.driver,k.element,k.fromState.value,k.toState.value,Re,pt,k.fromState.options,k.toState.options,W,Et)}destroyInnerAnimations(k){let W=this.driver.query(k,Le,!0);W.forEach(Re=>this.destroyActiveAnimationsForElement(Re)),0!=this.playersByQueriedElement.size&&(W=this.driver.query(k,Me,!0),W.forEach(Re=>this.finishActiveQueriedAnimationOnElement(Re)))}destroyActiveAnimationsForElement(k){const W=this.playersByElement.get(k);W&&W.forEach(Re=>{Re.queued?Re.markedForDestroy=!0:Re.destroy()})}finishActiveQueriedAnimationOnElement(k){const W=this.playersByQueriedElement.get(k);W&&W.forEach(Re=>Re.finish())}whenRenderingDone(){return new Promise(k=>{if(this.players.length)return b(this.players).onDone(()=>k());k()})}processLeaveNode(k){var W;const Re=k[Li];if(Re&&Re.setForRemoval){if(k[Li]=Hi,Re.namespaceId){this.destroyInnerAnimations(k);const pt=this._fetchNamespace(Re.namespaceId);pt&&pt.clearElementCache(k)}this._onRemovalComplete(k,Re.setForRemoval)}(null===(W=k.classList)||void 0===W?void 0:W.contains(Ii))&&this.markElementAsDisabled(k,!1),this.driver.query(k,".ng-animate-disabled",!0).forEach(pt=>{this.markElementAsDisabled(pt,!1)})}flush(k=-1){let W=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Re,pt)=>this._balanceNamespaceList(Re,pt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Re=0;ReRe()),this._flushFns=[],this._whenQuietFns.length){const Re=this._whenQuietFns;this._whenQuietFns=[],W.length?b(W).onDone(()=>{Re.forEach(pt=>pt())}):Re.forEach(pt=>pt())}}reportError(k){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${k.join("\n")}`)}_flushAnimations(k,W){const Re=new oe,pt=[],Et=new Map,te=[],Ie=new Map,le=new Map,et=new Map,xt=new Set;this.disabledNodes.forEach(ci=>{xt.add(ci);const Si=this.driver.query(ci,".ng-animate-queued",!0);for(let _i=0;_i{const _i=Se+fi++;ui.set(Si,_i),ci.forEach(Fi=>st(Fi,_i))});const Ai=[],Mi=new Set,Bi=new Set;for(let ci=0;ciMi.add(Fi)):Bi.add(Si))}const ke=new Map,De=Kt(Jt,Array.from(Mi));De.forEach((ci,Si)=>{const _i=We+fi++;ke.set(Si,_i),ci.forEach(Fi=>st(Fi,_i))}),k.push(()=>{ai.forEach((ci,Si)=>{const _i=ui.get(Si);ci.forEach(Fi=>kt(Fi,_i))}),De.forEach((ci,Si)=>{const _i=ke.get(Si);ci.forEach(Fi=>kt(Fi,_i))}),Ai.forEach(ci=>{this.processLeaveNode(ci)})});const we=[],ht=[];for(let ci=this._namespaceList.length-1;ci>=0;ci--)this._namespaceList[ci].drainQueuedTransitions(W).forEach(_i=>{const Fi=_i.player,an=_i.element;if(we.push(Fi),this.collectedEnterElements.length){const bi=an[Li];if(bi&&bi.setForMove){if(bi.previousTriggersValues&&bi.previousTriggersValues.has(_i.triggerName)){const Ei=bi.previousTriggersValues.get(_i.triggerName),Yi=this.statesByElement.get(_i.element);Yi&&Yi[_i.triggerName]&&(Yi[_i.triggerName].value=Ei)}return void Fi.destroy()}}const tt=!zt||!this.driver.containsElement(zt,an),Wt=ke.get(an),xe=ui.get(an),ft=this._buildInstruction(_i,Re,xe,Wt,tt);if(ft.errors&&ft.errors.length)return void ht.push(ft);if(tt)return Fi.onStart(()=>Be(an,ft.fromStyles)),Fi.onDestroy(()=>it(an,ft.toStyles)),void pt.push(Fi);if(_i.isFallbackTransition)return Fi.onStart(()=>Be(an,ft.fromStyles)),Fi.onDestroy(()=>it(an,ft.toStyles)),void pt.push(Fi);const Ut=[];ft.timelines.forEach(bi=>{bi.stretchStartingKeyframe=!0,this.disabledNodes.has(bi.element)||Ut.push(bi)}),ft.timelines=Ut,Re.append(an,ft.timelines),te.push({instruction:ft,player:Fi,element:an}),ft.queriedElements.forEach(bi=>A(Ie,bi,[]).push(Fi)),ft.preStyleProps.forEach((bi,Ei)=>{const Yi=Object.keys(bi);if(Yi.length){let on=le.get(Ei);on||le.set(Ei,on=new Set),Yi.forEach(Wn=>on.add(Wn))}}),ft.postStyleProps.forEach((bi,Ei)=>{const Yi=Object.keys(bi);let on=et.get(Ei);on||et.set(Ei,on=new Set),Yi.forEach(Wn=>on.add(Wn))})});if(ht.length){const ci=[];ht.forEach(Si=>{ci.push(`@${Si.triggerName} has failed due to:\n`),Si.errors.forEach(_i=>ci.push(`- ${_i}\n`))}),we.forEach(Si=>Si.destroy()),this.reportError(ci)}const Zt=new Map,pi=new Map;te.forEach(ci=>{const Si=ci.element;Re.has(Si)&&(pi.set(Si,Si),this._beforeAnimationBuild(ci.player.namespaceId,ci.instruction,Zt))}),pt.forEach(ci=>{const Si=ci.element;this._getPreviousPlayers(Si,!1,ci.namespaceId,ci.triggerName,null).forEach(Fi=>{A(Zt,Si,[]).push(Fi),Fi.destroy()})});const ki=Ai.filter(ci=>Gt(ci,le,et)),Xi=new Map;St(Xi,this.driver,Bi,et,g.l3).forEach(ci=>{Gt(ci,le,et)&&ki.push(ci)});const Nn=new Map;ai.forEach((ci,Si)=>{St(Nn,this.driver,new Set(ci),le,g.k1)}),ki.forEach(ci=>{const Si=Xi.get(ci),_i=Nn.get(ci);Xi.set(ci,Object.assign(Object.assign({},Si),_i))});const $n=[],sr=[],ri={};te.forEach(ci=>{const{element:Si,player:_i,instruction:Fi}=ci;if(Re.has(Si)){if(xt.has(Si))return _i.onDestroy(()=>it(Si,Fi.toStyles)),_i.disabled=!0,_i.overrideTotalTime(Fi.totalTime),void pt.push(_i);let an=ri;if(pi.size>1){let Wt=Si;const xe=[];for(;Wt=Wt.parentNode;){const ft=pi.get(Wt);if(ft){an=ft;break}xe.push(Wt)}xe.forEach(ft=>pi.set(ft,an))}const tt=this._buildAnimation(_i.namespaceId,Fi,Zt,Et,Nn,Xi);if(_i.setRealPlayer(tt),an===ri)$n.push(_i);else{const Wt=this.playersByElement.get(an);Wt&&Wt.length&&(_i.parentPlayer=b(Wt)),pt.push(_i)}}else Be(Si,Fi.fromStyles),_i.onDestroy(()=>it(Si,Fi.toStyles)),sr.push(_i),xt.has(Si)&&pt.push(_i)}),sr.forEach(ci=>{const Si=Et.get(ci.element);if(Si&&Si.length){const _i=b(Si);ci.setRealPlayer(_i)}}),pt.forEach(ci=>{ci.parentPlayer?ci.syncPlayerEvents(ci.parentPlayer):ci.destroy()});for(let ci=0;ci!tt.destroyed);an.length?Fe(this,Si,an):this.processLeaveNode(Si)}return Ai.length=0,$n.forEach(ci=>{this.players.push(ci),ci.onDone(()=>{ci.destroy();const Si=this.players.indexOf(ci);this.players.splice(Si,1)}),ci.play()}),$n}elementContainsData(k,W){let Re=!1;const pt=W[Li];return pt&&pt.setForRemoval&&(Re=!0),this.playersByElement.has(W)&&(Re=!0),this.playersByQueriedElement.has(W)&&(Re=!0),this.statesByElement.has(W)&&(Re=!0),this._fetchNamespace(k).elementContainsData(W)||Re}afterFlush(k){this._flushFns.push(k)}afterFlushAnimationsDone(k){this._whenQuietFns.push(k)}_getPreviousPlayers(k,W,Re,pt,Et){let te=[];if(W){const Ie=this.playersByQueriedElement.get(k);Ie&&(te=Ie)}else{const Ie=this.playersByElement.get(k);if(Ie){const le=!Et||Et==nn;Ie.forEach(et=>{et.queued||!le&&et.triggerName!=pt||te.push(et)})}}return(Re||pt)&&(te=te.filter(Ie=>!(Re&&Re!=Ie.namespaceId||pt&&pt!=Ie.triggerName))),te}_beforeAnimationBuild(k,W,Re){const Et=W.element,te=W.isRemovalTransition?void 0:k,Ie=W.isRemovalTransition?void 0:W.triggerName;for(const le of W.timelines){const et=le.element,xt=et!==Et,zt=A(Re,et,[]);this._getPreviousPlayers(et,xt,te,Ie,W.toState).forEach(ai=>{const ui=ai.getRealPlayer();ui.beforeDestroy&&ui.beforeDestroy(),ai.destroy(),zt.push(ai)})}Be(Et,W.fromStyles)}_buildAnimation(k,W,Re,pt,Et,te){const Ie=W.triggerName,le=W.element,et=[],xt=new Set,zt=new Set,Jt=W.timelines.map(ui=>{const fi=ui.element;xt.add(fi);const Ai=fi[Li];if(Ai&&Ai.removedBeforeQueried)return new g.ZN(ui.duration,ui.delay);const Mi=fi!==le,Bi=function Bt(gt){const k=[];return Je(gt,k),k}((Re.get(fi)||Oi).map(Zt=>Zt.getRealPlayer())).filter(Zt=>!!Zt.element&&Zt.element===fi),ke=Et.get(fi),De=te.get(fi),we=E(0,this._normalizer,0,ui.keyframes,ke,De),ht=this._buildPlayer(ui,we,Bi);if(ui.subTimeline&&pt&&zt.add(fi),Mi){const Zt=new An(k,Ie,fi);Zt.setRealPlayer(ht),et.push(Zt)}return ht});et.forEach(ui=>{A(this.playersByQueriedElement,ui.element,[]).push(ui),ui.onDone(()=>function On(gt,k,W){let Re;if(gt instanceof Map){if(Re=gt.get(k),Re){if(Re.length){const pt=Re.indexOf(W);Re.splice(pt,1)}0==Re.length&>.delete(k)}}else if(Re=gt[k],Re){if(Re.length){const pt=Re.indexOf(W);Re.splice(pt,1)}0==Re.length&&delete gt[k]}return Re}(this.playersByQueriedElement,ui.element,ui))}),xt.forEach(ui=>st(ui,ue));const ai=b(Jt);return ai.onDestroy(()=>{xt.forEach(ui=>kt(ui,ue)),it(le,W.toStyles)}),zt.forEach(ui=>{A(pt,ui,[]).push(ai)}),ai}_buildPlayer(k,W,Re){return W.length>0?this.driver.animate(k.element,W,k.duration,k.delay,k.easing,Re):new g.ZN(k.duration,k.delay)}}class An{constructor(k,W,Re){this.namespaceId=k,this.triggerName=W,this.element=Re,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(k){this._containsRealPlayer||(this._player=k,Object.keys(this._queuedCallbacks).forEach(W=>{this._queuedCallbacks[W].forEach(Re=>v(k,W,void 0,Re))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(k.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(k){this.totalTime=k}syncPlayerEvents(k){const W=this._player;W.triggerCallback&&k.onStart(()=>W.triggerCallback("start")),k.onDone(()=>this.finish()),k.onDestroy(()=>this.destroy())}_queueEvent(k,W){A(this._queuedCallbacks,k,[]).push(W)}onDone(k){this.queued&&this._queueEvent("done",k),this._player.onDone(k)}onStart(k){this.queued&&this._queueEvent("start",k),this._player.onStart(k)}onDestroy(k){this.queued&&this._queueEvent("destroy",k),this._player.onDestroy(k)}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(k){this.queued||this._player.setPosition(k)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(k){const W=this._player;W.triggerCallback&&W.triggerCallback(k)}}function Ji(gt){return gt&&1===gt.nodeType}function Dn(gt,k){const W=gt.style.display;return gt.style.display=null!=k?k:"none",W}function St(gt,k,W,Re,pt){const Et=[];W.forEach(le=>Et.push(Dn(le)));const te=[];Re.forEach((le,et)=>{const xt={};le.forEach(zt=>{const Jt=xt[zt]=k.computeStyle(et,zt,pt);(!Jt||0==Jt.length)&&(et[Li]=Ki,te.push(et))}),gt.set(et,xt)});let Ie=0;return W.forEach(le=>Dn(le,Et[Ie++])),te}function Kt(gt,k){const W=new Map;if(gt.forEach(Ie=>W.set(Ie,[])),0==k.length)return W;const pt=new Set(k),Et=new Map;function te(Ie){if(!Ie)return 1;let le=Et.get(Ie);if(le)return le;const et=Ie.parentNode;return le=W.has(et)?et:pt.has(et)?1:te(et),Et.set(Ie,le),le}return k.forEach(Ie=>{const le=te(Ie);1!==le&&W.get(le).push(Ie)}),W}function st(gt,k){var W;null===(W=gt.classList)||void 0===W||W.add(k)}function kt(gt,k){var W;null===(W=gt.classList)||void 0===W||W.remove(k)}function Fe(gt,k,W){b(W).onDone(()=>gt.processLeaveNode(k))}function Je(gt,k){for(let W=0;Wpt.add(Et)):k.set(gt,Re),W.delete(gt),!0}class li{constructor(k,W,Re){this.bodyNode=k,this._driver=W,this._normalizer=Re,this._triggerCache={},this.onRemovalComplete=(pt,Et)=>{},this._transitionEngine=new sn(k,W,Re),this._timelineEngine=new Dt(k,W,Re),this._transitionEngine.onRemovalComplete=(pt,Et)=>this.onRemovalComplete(pt,Et)}registerTrigger(k,W,Re,pt,Et){const te=k+"-"+pt;let Ie=this._triggerCache[te];if(!Ie){const le=[],et=x(this._driver,Et,le);if(le.length)throw new Error(`The animation trigger "${pt}" has failed to build due to the following errors:\n - ${le.join("\n - ")}`);Ie=function Qe(gt,k,W){return new yt(gt,k,W)}(pt,et,this._normalizer),this._triggerCache[te]=Ie}this._transitionEngine.registerTrigger(W,pt,Ie)}register(k,W){this._transitionEngine.register(k,W)}destroy(k,W){this._transitionEngine.destroy(k,W)}onInsert(k,W,Re,pt){this._transitionEngine.insertNode(k,W,Re,pt)}onRemove(k,W,Re,pt){this._transitionEngine.removeNode(k,W,pt||!1,Re)}disableAnimations(k,W){this._transitionEngine.markElementAsDisabled(k,W)}process(k,W,Re,pt){if("@"==Re.charAt(0)){const[Et,te]=q(Re);this._timelineEngine.command(Et,W,te,pt)}else this._transitionEngine.trigger(k,W,Re,pt)}listen(k,W,Re,pt,Et){if("@"==Re.charAt(0)){const[te,Ie]=q(Re);return this._timelineEngine.listen(te,W,Ie,Et)}return this._transitionEngine.listen(k,W,Re,pt,Et)}flush(k=-1){this._transitionEngine.flush(k)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Vi=(()=>{class gt{constructor(W,Re,pt){this._element=W,this._startStyles=Re,this._endStyles=pt,this._state=0;let Et=gt.initialStylesByElement.get(W);Et||gt.initialStylesByElement.set(W,Et={}),this._initialStyles=Et}start(){this._state<1&&(this._startStyles&&it(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(it(this._element,this._initialStyles),this._endStyles&&(it(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gt.initialStylesByElement.delete(this._element),this._startStyles&&(Be(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Be(this._element,this._endStyles),this._endStyles=null),it(this._element,this._initialStyles),this._state=3)}}return gt.initialStylesByElement=new WeakMap,gt})();function Ui(gt){let k=null;const W=Object.keys(gt);for(let Re=0;Rek()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const k=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,k,this.options),this._finalKeyframe=k.length?k[k.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(k,W,Re){return k.animate(W,Re)}onStart(k){this._onStartFns.push(k)}onDone(k){this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(k=>k()),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(k=>k()),this._onDestroyFns=[])}setPosition(k){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=k*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const k={};if(this.hasStarted()){const W=this._finalKeyframe;Object.keys(W).forEach(Re=>{"offset"!=Re&&(k[Re]=this._finished?W[Re]:o(this.element,Re))})}this.currentSnapshot=k}triggerCallback(k){const W="start"==k?this._onStartFns:this._onDoneFns;W.forEach(Re=>Re()),W.length=0}}class nr{validateStyleProperty(k){return pe(k)}matchesElement(k,W){return!1}containsElement(k,W){return T(k,W)}query(k,W,Re){return R(k,W,Re)}computeStyle(k,W,Re){return window.getComputedStyle(k)[W]}animate(k,W,Re,pt,Et,te=[]){const le={duration:Re,delay:pt,fill:0==pt?"both":"forwards"};Et&&(le.easing=Et);const et={},xt=te.filter(Jt=>Jt instanceof Jn);(function D(gt,k){return 0===gt||0===k})(Re,pt)&&xt.forEach(Jt=>{let ai=Jt.currentSnapshot;Object.keys(ai).forEach(ui=>et[ui]=ai[ui])}),W=function O(gt,k,W){const Re=Object.keys(W);if(Re.length&&k.length){let Et=k[0],te=[];if(Re.forEach(Ie=>{Et.hasOwnProperty(Ie)||te.push(Ie),Et[Ie]=W[Ie]}),te.length)for(var pt=1;ptfe(Jt,!1)),et);const zt=function vi(gt,k){let W=null,Re=null;return Array.isArray(k)&&k.length?(W=Ui(k[0]),k.length>1&&(Re=Ui(k[k.length-1]))):k&&(W=Ui(k)),W||Re?new Vi(gt,W,Re):null}(k,W);return new Jn(k,W,le,zt)}}var jn=h(69808);let Cn=(()=>{class gt extends g._j{constructor(W,Re){super(),this._nextAnimationId=0,this._renderer=W.createRenderer(Re.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(W){const Re=this._nextAnimationId.toString();this._nextAnimationId++;const pt=Array.isArray(W)?(0,g.vP)(W):W;return rr(this._renderer,null,Re,"register",[pt]),new Tr(Re,this._renderer)}}return gt.\u0275fac=function(W){return new(W||gt)(e.LFG(e.FYo),e.LFG(jn.K0))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();class Tr extends g.LC{constructor(k,W){super(),this._id=k,this._renderer=W}create(k,W){return new En(this._id,k,W||{},this._renderer)}}class En{constructor(k,W,Re,pt){this.id=k,this.element=W,this._renderer=pt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Re)}_listen(k,W){return this._renderer.listen(this.element,`@@${this.id}:${k}`,W)}_command(k,...W){return rr(this._renderer,this.element,this.id,k,W)}onDone(k){this._listen("done",k)}onStart(k){this._listen("start",k)}onDestroy(k){this._listen("destroy",k)}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(k){this._command("setPosition",k)}getPosition(){var k,W;return null!==(W=null===(k=this._renderer.engine.players[+this.id])||void 0===k?void 0:k.getPosition())&&void 0!==W?W:0}}function rr(gt,k,W,Re,pt){return gt.setProperty(k,`@@${W}:${Re}`,pt)}const Qn="@.disabled";let Zn=(()=>{class gt{constructor(W,Re,pt){this.delegate=W,this.engine=Re,this._zone=pt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Re.onRemovalComplete=(Et,te)=>{const Ie=null==te?void 0:te.parentNode(Et);Ie&&te.removeChild(Ie,Et)}}createRenderer(W,Re){const Et=this.delegate.createRenderer(W,Re);if(!(W&&Re&&Re.data&&Re.data.animation)){let xt=this._rendererCache.get(Et);return xt||(xt=new wn("",Et,this.engine),this._rendererCache.set(Et,xt)),xt}const te=Re.id,Ie=Re.id+"-"+this._currentId;this._currentId++,this.engine.register(Ie,W);const le=xt=>{Array.isArray(xt)?xt.forEach(le):this.engine.registerTrigger(te,Ie,W,xt.name,xt)};return Re.data.animation.forEach(le),new Pn(this,Ie,Et,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(W,Re,pt){W>=0&&WRe(pt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Et=>{const[te,Ie]=Et;te(Ie)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Re,pt]))}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 gt.\u0275fac=function(W){return new(W||gt)(e.LFG(e.FYo),e.LFG(li),e.LFG(e.R0b))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();class wn{constructor(k,W,Re){this.namespaceId=k,this.delegate=W,this.engine=Re,this.destroyNode=this.delegate.destroyNode?pt=>W.destroyNode(pt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(k,W){return this.delegate.createElement(k,W)}createComment(k){return this.delegate.createComment(k)}createText(k){return this.delegate.createText(k)}appendChild(k,W){this.delegate.appendChild(k,W),this.engine.onInsert(this.namespaceId,W,k,!1)}insertBefore(k,W,Re,pt=!0){this.delegate.insertBefore(k,W,Re),this.engine.onInsert(this.namespaceId,W,k,pt)}removeChild(k,W,Re){this.engine.onRemove(this.namespaceId,W,this.delegate,Re)}selectRootElement(k,W){return this.delegate.selectRootElement(k,W)}parentNode(k){return this.delegate.parentNode(k)}nextSibling(k){return this.delegate.nextSibling(k)}setAttribute(k,W,Re,pt){this.delegate.setAttribute(k,W,Re,pt)}removeAttribute(k,W,Re){this.delegate.removeAttribute(k,W,Re)}addClass(k,W){this.delegate.addClass(k,W)}removeClass(k,W){this.delegate.removeClass(k,W)}setStyle(k,W,Re,pt){this.delegate.setStyle(k,W,Re,pt)}removeStyle(k,W,Re){this.delegate.removeStyle(k,W,Re)}setProperty(k,W,Re){"@"==W.charAt(0)&&W==Qn?this.disableAnimations(k,!!Re):this.delegate.setProperty(k,W,Re)}setValue(k,W){this.delegate.setValue(k,W)}listen(k,W,Re){return this.delegate.listen(k,W,Re)}disableAnimations(k,W){this.engine.disableAnimations(k,W)}}class Pn extends wn{constructor(k,W,Re,pt){super(W,Re,pt),this.factory=k,this.namespaceId=W}setProperty(k,W,Re){"@"==W.charAt(0)?"."==W.charAt(1)&&W==Qn?this.disableAnimations(k,Re=void 0===Re||!!Re):this.engine.process(this.namespaceId,k,W.substr(1),Re):this.delegate.setProperty(k,W,Re)}listen(k,W,Re){if("@"==W.charAt(0)){const pt=function Rn(gt){switch(gt){case"body":return document.body;case"document":return document;case"window":return window;default:return gt}}(k);let Et=W.substr(1),te="";return"@"!=Et.charAt(0)&&([Et,te]=function xn(gt){const k=gt.indexOf(".");return[gt.substring(0,k),gt.substr(k+1)]}(Et)),this.engine.listen(this.namespaceId,pt,Et,te,Ie=>{this.factory.scheduleListenerCallback(Ie._data||-1,Re,Ie)})}return this.delegate.listen(k,W,Re)}}let Hn=(()=>{class gt extends li{constructor(W,Re,pt){super(W.body,Re,pt)}ngOnDestroy(){this.flush()}}return gt.\u0275fac=function(W){return new(W||gt)(e.LFG(jn.K0),e.LFG(Y),e.LFG(xi))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();const Gn=new e.OlP("AnimationModuleType"),cn=[{provide:g._j,useClass:Cn},{provide:xi,useFactory:function mn(){return new tn}},{provide:li,useClass:Hn},{provide:e.FYo,useFactory:function vn(gt,k,W){return new Zn(gt,k,W)},deps:[c.se,li,e.R0b]}],Bn=[{provide:Y,useFactory:()=>new nr},{provide:Gn,useValue:"BrowserAnimations"},...cn],zn=[{provide:Y,useClass:X},{provide:Gn,useValue:"NoopAnimations"},...cn];let dn=(()=>{class gt{static withConfig(W){return{ngModule:gt,providers:W.disableAnimations?zn:Bn}}}return gt.\u0275fac=function(W){return new(W||gt)},gt.\u0275mod=e.oAB({type:gt}),gt.\u0275inj=e.cJS({providers:Bn,imports:[c.b2]}),gt})()},22313:(qe,me,h)=>{"use strict";h.d(me,{b2:()=>ee,H7:()=>Rt,Dx:()=>O,q6:()=>ae,se:()=>ge});var e=h(69808),c=h(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class w extends g{static makeCurrent(){(0,e.HT)(new w)}onAndCancel(lt,ut,Ht){return lt.addEventListener(ut,Ht,!1),()=>{lt.removeEventListener(ut,Ht,!1)}}dispatchEvent(lt,ut){lt.dispatchEvent(ut)}remove(lt){lt.parentNode&<.parentNode.removeChild(lt)}createElement(lt,ut){return(ut=ut||this.getDefaultDocument()).createElement(lt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(lt){return lt.nodeType===Node.ELEMENT_NODE}isShadowRoot(lt){return lt instanceof DocumentFragment}getGlobalEventTarget(lt,ut){return"window"===ut?window:"document"===ut?lt:"body"===ut?lt.body:null}getBaseHref(lt){const ut=function b(){return _=_||document.querySelector("base"),_?_.getAttribute("href"):null}();return null==ut?null:function v(rt){E=E||document.createElement("a"),E.setAttribute("href",rt);const lt=E.pathname;return"/"===lt.charAt(0)?lt:`/${lt}`}(ut)}resetBaseElement(){_=null}getUserAgent(){return window.navigator.userAgent}getCookie(lt){return(0,e.Mx)(document.cookie,lt)}}let E,_=null;const I=new c.OlP("TRANSITION_ID"),A=[{provide:c.ip1,useFactory:function N(rt,lt,ut){return()=>{ut.get(c.CZH).donePromise.then(()=>{const Ht=(0,e.q)(),Qt=lt.querySelectorAll(`style[ng-transition="${rt}"]`);for(let ni=0;ni{const ni=lt.findTestabilityInTree(Ht,Qt);if(null==ni)throw new Error("Could not find testability for element.");return ni},c.dqk.getAllAngularTestabilities=()=>lt.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>lt.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(Ht=>{const Qt=c.dqk.getAllAngularTestabilities();let ni=Qt.length,hi=!1;const gi=function(xi){hi=hi||xi,ni--,0==ni&&Ht(hi)};Qt.forEach(function(xi){xi.whenStable(gi)})})}findTestabilityInTree(lt,ut,Ht){if(null==ut)return null;const Qt=lt.getTestability(ut);return null!=Qt?Qt:Ht?(0,e.q)().isShadowRoot(ut)?this.findTestabilityInTree(lt,ut.host,!0):this.findTestabilityInTree(lt,ut.parentElement,!0):null}}let j=(()=>{class rt{build(){return new XMLHttpRequest}}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const G=new c.OlP("EventManagerPlugins");let Q=(()=>{class rt{constructor(ut,Ht){this._zone=Ht,this._eventNameToPlugin=new Map,ut.forEach(Qt=>Qt.manager=this),this._plugins=ut.slice().reverse()}addEventListener(ut,Ht,Qt){return this._findPluginFor(Ht).addEventListener(ut,Ht,Qt)}addGlobalEventListener(ut,Ht,Qt){return this._findPluginFor(Ht).addGlobalEventListener(ut,Ht,Qt)}getZone(){return this._zone}_findPluginFor(ut){const Ht=this._eventNameToPlugin.get(ut);if(Ht)return Ht;const Qt=this._plugins;for(let ni=0;ni{class rt{constructor(){this._stylesSet=new Set}addStyles(ut){const Ht=new Set;ut.forEach(Qt=>{this._stylesSet.has(Qt)||(this._stylesSet.add(Qt),Ht.add(Qt))}),this.onStylesAdded(Ht)}onStylesAdded(ut){}getAllStyles(){return Array.from(this._stylesSet)}}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),be=(()=>{class rt extends F{constructor(ut){super(),this._doc=ut,this._hostNodes=new Map,this._hostNodes.set(ut.head,[])}_addStylesToHost(ut,Ht,Qt){ut.forEach(ni=>{const hi=this._doc.createElement("style");hi.textContent=ni,Qt.push(Ht.appendChild(hi))})}addHost(ut){const Ht=[];this._addStylesToHost(this._stylesSet,ut,Ht),this._hostNodes.set(ut,Ht)}removeHost(ut){const Ht=this._hostNodes.get(ut);Ht&&Ht.forEach(pe),this._hostNodes.delete(ut)}onStylesAdded(ut){this._hostNodes.forEach((Ht,Qt)=>{this._addStylesToHost(ut,Qt,Ht)})}ngOnDestroy(){this._hostNodes.forEach(ut=>ut.forEach(pe))}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();function pe(rt){(0,e.q)().remove(rt)}const ye={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/"},T=/%COMP%/g,L="%COMP%",X=`_nghost-${L}`,Y=`_ngcontent-${L}`;function Oe(rt,lt,ut){for(let Ht=0;Ht{if("__ngUnwrap__"===lt)return rt;!1===rt(lt)&&(lt.preventDefault(),lt.returnValue=!1)}}let ge=(()=>{class rt{constructor(ut,Ht,Qt){this.eventManager=ut,this.sharedStylesHost=Ht,this.appId=Qt,this.rendererByCompId=new Map,this.defaultRenderer=new Le(ut)}createRenderer(ut,Ht){if(!ut||!Ht)return this.defaultRenderer;switch(Ht.encapsulation){case c.ifc.Emulated:{let Qt=this.rendererByCompId.get(Ht.id);return Qt||(Qt=new z(this.eventManager,this.sharedStylesHost,Ht,this.appId),this.rendererByCompId.set(Ht.id,Qt)),Qt.applyToHost(ut),Qt}case 1:case c.ifc.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,ut,Ht);default:if(!this.rendererByCompId.has(Ht.id)){const Qt=Oe(Ht.id,Ht.styles,[]);this.sharedStylesHost.addStyles(Qt),this.rendererByCompId.set(Ht.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(Q),c.LFG(be),c.LFG(c.AFp))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();class Le{constructor(lt){this.eventManager=lt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(lt,ut){return ut?document.createElementNS(ye[ut]||ut,lt):document.createElement(lt)}createComment(lt){return document.createComment(lt)}createText(lt){return document.createTextNode(lt)}appendChild(lt,ut){lt.appendChild(ut)}insertBefore(lt,ut,Ht){lt&<.insertBefore(ut,Ht)}removeChild(lt,ut){lt&<.removeChild(ut)}selectRootElement(lt,ut){let Ht="string"==typeof lt?document.querySelector(lt):lt;if(!Ht)throw new Error(`The selector "${lt}" did not match any elements`);return ut||(Ht.textContent=""),Ht}parentNode(lt){return lt.parentNode}nextSibling(lt){return lt.nextSibling}setAttribute(lt,ut,Ht,Qt){if(Qt){ut=Qt+":"+ut;const ni=ye[Qt];ni?lt.setAttributeNS(ni,ut,Ht):lt.setAttribute(ut,Ht)}else lt.setAttribute(ut,Ht)}removeAttribute(lt,ut,Ht){if(Ht){const Qt=ye[Ht];Qt?lt.removeAttributeNS(Qt,ut):lt.removeAttribute(`${Ht}:${ut}`)}else lt.removeAttribute(ut)}addClass(lt,ut){lt.classList.add(ut)}removeClass(lt,ut){lt.classList.remove(ut)}setStyle(lt,ut,Ht,Qt){Qt&(c.JOm.DashCase|c.JOm.Important)?lt.style.setProperty(ut,Ht,Qt&c.JOm.Important?"important":""):lt.style[ut]=Ht}removeStyle(lt,ut,Ht){Ht&c.JOm.DashCase?lt.style.removeProperty(ut):lt.style[ut]=""}setProperty(lt,ut,Ht){lt[ut]=Ht}setValue(lt,ut){lt.nodeValue=ut}listen(lt,ut,Ht){return"string"==typeof lt?this.eventManager.addGlobalEventListener(lt,ut,Se(Ht)):this.eventManager.addEventListener(lt,ut,Se(Ht))}}class z extends Le{constructor(lt,ut,Ht,Qt){super(lt),this.component=Ht;const ni=Oe(Qt+"-"+Ht.id,Ht.styles,[]);ut.addStyles(ni),this.contentAttr=function se(rt){return Y.replace(T,rt)}(Qt+"-"+Ht.id),this.hostAttr=function Te(rt){return X.replace(T,rt)}(Qt+"-"+Ht.id)}applyToHost(lt){super.setAttribute(lt,this.hostAttr,"")}createElement(lt,ut){const Ht=super.createElement(lt,ut);return super.setAttribute(Ht,this.contentAttr,""),Ht}}class P extends Le{constructor(lt,ut,Ht,Qt){super(lt),this.sharedStylesHost=ut,this.hostEl=Ht,this.shadowRoot=Ht.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ni=Oe(Qt.id,Qt.styles,[]);for(let hi=0;hi{class rt extends he{constructor(ut){super(ut)}supports(ut){return!0}addEventListener(ut,Ht,Qt){return ut.addEventListener(Ht,Qt,!1),()=>this.removeEventListener(ut,Ht,Qt)}removeEventListener(ut,Ht,Qt){return ut.removeEventListener(Ht,Qt)}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const Ce=["alt","control","meta","shift"],ce={"\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"},fe={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"},Ze={alt:rt=>rt.altKey,control:rt=>rt.ctrlKey,meta:rt=>rt.metaKey,shift:rt=>rt.shiftKey};let ne=(()=>{class rt extends he{constructor(ut){super(ut)}supports(ut){return null!=rt.parseEventName(ut)}addEventListener(ut,Ht,Qt){const ni=rt.parseEventName(Ht),hi=rt.eventCallback(ni.fullKey,Qt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(ut,ni.domEventName,hi))}static parseEventName(ut){const Ht=ut.toLowerCase().split("."),Qt=Ht.shift();if(0===Ht.length||"keydown"!==Qt&&"keyup"!==Qt)return null;const ni=rt._normalizeKey(Ht.pop());let hi="";if(Ce.forEach(xi=>{const ji=Ht.indexOf(xi);ji>-1&&(Ht.splice(ji,1),hi+=xi+".")}),hi+=ni,0!=Ht.length||0===ni.length)return null;const gi={};return gi.domEventName=Qt,gi.fullKey=hi,gi}static getEventFullKey(ut){let Ht="",Qt=function it(rt){let lt=rt.key;if(null==lt){if(lt=rt.keyIdentifier,null==lt)return"Unidentified";lt.startsWith("U+")&&(lt=String.fromCharCode(parseInt(lt.substring(2),16)),3===rt.location&&fe.hasOwnProperty(lt)&&(lt=fe[lt]))}return ce[lt]||lt}(ut);return Qt=Qt.toLowerCase()," "===Qt?Qt="space":"."===Qt&&(Qt="dot"),Ce.forEach(ni=>{ni!=Qt&&Ze[ni](ut)&&(Ht+=ni+".")}),Ht+=Qt,Ht}static eventCallback(ut,Ht,Qt){return ni=>{rt.getEventFullKey(ni)===ut&&Qt.runGuarded(()=>Ht(ni))}}static _normalizeKey(ut){return"esc"===ut?"escape":ut}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const ae=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:e.bD},{provide:c.g9A,useValue:function Be(){w.makeCurrent(),q.init()},multi:!0},{provide:e.K0,useFactory:function Ue(){return(0,c.RDi)(document),document},deps:[]}]),Ae=[{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function ze(){return new c.qLn},deps:[]},{provide:G,useClass:de,multi:!0,deps:[e.K0,c.R0b,c.Lbi]},{provide:G,useClass:ne,multi:!0,deps:[e.K0]},{provide:ge,useClass:ge,deps:[Q,be,c.AFp]},{provide:c.FYo,useExisting:ge},{provide:F,useExisting:be},{provide:be,useClass:be,deps:[e.K0]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b]},{provide:Q,useClass:Q,deps:[G,c.R0b]},{provide:e.JF,useClass:j,deps:[]}];let ee=(()=>{class rt{constructor(ut){if(ut)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(ut){return{ngModule:rt,providers:[{provide:c.AFp,useValue:ut.appId},{provide:I,useExisting:c.AFp},A]}}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(rt,12))},rt.\u0275mod=c.oAB({type:rt}),rt.\u0275inj=c.cJS({providers:Ae,imports:[e.ez,c.hGG]}),rt})(),O=(()=>{class rt{constructor(ut){this._doc=ut}getTitle(){return this._doc.title}setTitle(ut){this._doc.title=ut||""}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new ut:function D(){return new O((0,c.LFG)(e.K0))}(),Ht},providedIn:"root"}),rt})();"undefined"!=typeof window&&window;let Rt=(()=>{class rt{}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new(ut||rt):c.LFG(Tt),Ht},providedIn:"root"}),rt})(),Tt=(()=>{class rt extends Rt{constructor(ut){super(),this._doc=ut}sanitize(ut,Ht){if(null==Ht)return null;switch(ut){case c.q3G.NONE:return Ht;case c.q3G.HTML:return(0,c.qzn)(Ht,"HTML")?(0,c.z3N)(Ht):(0,c.EiD)(this._doc,String(Ht)).toString();case c.q3G.STYLE:return(0,c.qzn)(Ht,"Style")?(0,c.z3N)(Ht):Ht;case c.q3G.SCRIPT:if((0,c.qzn)(Ht,"Script"))return(0,c.z3N)(Ht);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.yhl)(Ht),(0,c.qzn)(Ht,"URL")?(0,c.z3N)(Ht):(0,c.mCW)(String(Ht));case c.q3G.RESOURCE_URL:if((0,c.qzn)(Ht,"ResourceURL"))return(0,c.z3N)(Ht);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ut} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ut){return(0,c.JVY)(ut)}bypassSecurityTrustStyle(ut){return(0,c.L6k)(ut)}bypassSecurityTrustScript(ut){return(0,c.eBb)(ut)}bypassSecurityTrustUrl(ut){return(0,c.LAX)(ut)}bypassSecurityTrustResourceUrl(ut){return(0,c.pB0)(ut)}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new ut:function mt(rt){return new Tt(rt.get(e.K0))}(c.LFG(c.zs3)),Ht},providedIn:"root"}),rt})()},36157:(qe,me,h)=>{"use strict";h.d(me,{gz:()=>wi,m2:()=>Pe,OD:()=>Ce,GZ:()=>Xs,wN:()=>zr,F0:()=>Vn,rH:()=>ss,yS:()=>as,Bz:()=>Vo,lC:()=>Hn});var e=h(5e3),c=h(68306),g=h(50727),w=h(54482),_=h(25403);function b(){return(0,w.e)((ve,ie)=>{let J=null;ve._refCount++;const Ve=(0,_.x)(ie,void 0,void 0,void 0,()=>{if(!ve||ve._refCount<=0||0<--ve._refCount)return void(J=null);const Ke=ve._connection,At=J;J=null,Ke&&(!At||Ke===At)&&Ke.unsubscribe(),ie.unsubscribe()});ve.subscribe(Ve),Ve.closed||(J=ve.connect())})}class E extends c.y{constructor(ie,J){super(),this.source=ie,this.subjectFactory=J,this._subject=null,this._refCount=0,this._connection=null,(0,w.A)(ie)&&(this.lift=ie.lift)}_subscribe(ie){return this.getSubject().subscribe(ie)}getSubject(){const ie=this._subject;return(!ie||ie.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ie}=this;this._subject=this._connection=null,null==ie||ie.unsubscribe()}connect(){let ie=this._connection;if(!ie){ie=this._connection=new g.w0;const J=this.getSubject();ie.add(this.source.subscribe((0,_.x)(J,void 0,()=>{this._teardown(),J.complete()},Ve=>{this._teardown(),J.error(Ve)},()=>this._teardown()))),ie.closed&&(this._connection=null,ie=g.w0.EMPTY)}return ie}refCount(){return b()(this)}}var v=h(32076),I=h(39646),N=h(61135),A=h(39841),q=h(86805),j=h(97272),G=h(49770),Q=h(60515),he=h(77579),F=h(57359);function be(ve,ie){return(0,w.e)((0,F.U)(ve,ie,arguments.length>=2,!0))}var pe=h(39300);function ye(ve){return ve<=0?()=>Q.E:(0,w.e)((ie,J)=>{let Ve=[];ie.subscribe((0,_.x)(J,Ke=>{Ve.push(Ke),ve{for(const Ke of Ve)J.next(Ke);J.complete()},void 0,()=>{Ve=null}))})}var T=h(18068),R=h(46590),L=h(44671),Y=h(54004),se=h(63900),Te=h(95698),Oe=h(68675),Se=h(70262),We=h(24351),ge=h(50590),Le=h(86099),ue=h(18505),Me=h(28746),z=h(8189),P=h(69808);class de{constructor(ie,J){this.id=ie,this.url=J}}class Ce extends de{constructor(ie,J,Ve="imperative",Ke=null){super(ie,J),this.navigationTrigger=Ve,this.restoredState=Ke}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pe extends de{constructor(ie,J,Ve){super(ie,J),this.urlAfterRedirects=Ve}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ce extends de{constructor(ie,J,Ve){super(ie,J),this.reason=Ve}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fe extends de{constructor(ie,J,Ve){super(ie,J),this.error=Ve}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ze extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ne extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends de{constructor(ie,J,Ve,Ke,At){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke,this.shouldActivate=At}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Be extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ue{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _e{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ae{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(ie){this.snapshot=ie}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ne{constructor(ie){this.snapshot=ie}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class V{constructor(ie,J,Ve){this.routerEvent=ie,this.position=J,this.anchor=Ve}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const H="primary";class D{constructor(ie){this.params=ie||{}}has(ie){return Object.prototype.hasOwnProperty.call(this.params,ie)}get(ie){if(this.has(ie)){const J=this.params[ie];return Array.isArray(J)?J[0]:J}return null}getAll(ie){if(this.has(ie)){const J=this.params[ie];return Array.isArray(J)?J:[J]}return[]}get keys(){return Object.keys(this.params)}}function O(ve){return new D(ve)}const i="ngNavigationCancelingError";function o(ve){const ie=Error("NavigationCancelingError: "+ve);return ie[i]=!0,ie}function l(ve,ie,J){const Ve=J.path.split("/");if(Ve.length>ve.length||"full"===J.pathMatch&&(ie.hasChildren()||Ve.lengthVe[At]===Ke)}return ve===ie}function r(ve){return Array.prototype.concat.apply([],ve)}function a(ve){return ve.length>0?ve[ve.length-1]:null}function f(ve,ie){for(const J in ve)ve.hasOwnProperty(J)&&ie(ve[J],J)}function x(ve){return(0,e.CqO)(ve)?ve:(0,e.QGY)(ve)?(0,v.D)(Promise.resolve(ve)):(0,I.of)(ve)}const It={exact:function Ct(ve,ie,J){if(!Rt(ve.segments,ie.segments)||!Z(ve.segments,ie.segments,J)||ve.numberOfChildren!==ie.numberOfChildren)return!1;for(const Ve in ie.children)if(!ve.children[Ve]||!Ct(ve.children[Ve],ie.children[Ve],J))return!1;return!0},subset:He},jt={exact:function Yt(ve,ie){return n(ve,ie)},subset:function Nt(ve,ie){return Object.keys(ie).length<=Object.keys(ve).length&&Object.keys(ie).every(J=>t(ve[J],ie[J]))},ignored:()=>!0};function bt(ve,ie,J){return It[J.paths](ve.root,ie.root,J.matrixParams)&&jt[J.queryParams](ve.queryParams,ie.queryParams)&&!("exact"===J.fragment&&ve.fragment!==ie.fragment)}function He(ve,ie,J){return je(ve,ie,ie.segments,J)}function je(ve,ie,J,Ve){if(ve.segments.length>J.length){const Ke=ve.segments.slice(0,J.length);return!(!Rt(Ke,J)||ie.hasChildren()||!Z(Ke,J,Ve))}if(ve.segments.length===J.length){if(!Rt(ve.segments,J)||!Z(ve.segments,J,Ve))return!1;for(const Ke in ie.children)if(!ve.children[Ke]||!He(ve.children[Ke],ie.children[Ke],Ve))return!1;return!0}{const Ke=J.slice(0,ve.segments.length),At=J.slice(ve.segments.length);return!!(Rt(ve.segments,Ke)&&Z(ve.segments,Ke,Ve)&&ve.children[H])&&je(ve.children[H],ie,At,Ve)}}function Z(ve,ie,J){return ie.every((Ve,Ke)=>jt[J](ve[Ke].parameters,Ve.parameters))}class ${constructor(ie,J,Ve){this.root=ie,this.queryParams=J,this.fragment=Ve}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=O(this.queryParams)),this._queryParamMap}toString(){return rt.serialize(this)}}class oe{constructor(ie,J){this.segments=ie,this.children=J,this.parent=null,f(J,(Ve,Ke)=>Ve.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lt(this)}}class nt{constructor(ie,J){this.path=ie,this.parameters=J}get parameterMap(){return this._parameterMap||(this._parameterMap=O(this.parameters)),this._parameterMap}toString(){return ji(this)}}function Rt(ve,ie){return ve.length===ie.length&&ve.every((J,Ve)=>J.path===ie[Ve].path)}class Tt{}class ot{parse(ie){const J=new Qe(ie);return new $(J.parseRootSegment(),J.parseQueryParams(),J.parseFragment())}serialize(ie){const J=`/${ut(ie.root,!0)}`,Ve=function qi(ve){const ie=Object.keys(ve).map(J=>{const Ve=ve[J];return Array.isArray(Ve)?Ve.map(Ke=>`${Qt(J)}=${Qt(Ke)}`).join("&"):`${Qt(J)}=${Qt(Ve)}`}).filter(J=>!!J);return ie.length?`?${ie.join("&")}`:""}(ie.queryParams);return`${J}${Ve}${"string"==typeof ie.fragment?`#${function ni(ve){return encodeURI(ve)}(ie.fragment)}`:""}`}}const rt=new ot;function lt(ve){return ve.segments.map(ie=>ji(ie)).join("/")}function ut(ve,ie){if(!ve.hasChildren())return lt(ve);if(ie){const J=ve.children[H]?ut(ve.children[H],!1):"",Ve=[];return f(ve.children,(Ke,At)=>{At!==H&&Ve.push(`${At}:${ut(Ke,!1)}`)}),Ve.length>0?`${J}(${Ve.join("//")})`:J}{const J=function mt(ve,ie){let J=[];return f(ve.children,(Ve,Ke)=>{Ke===H&&(J=J.concat(ie(Ve,Ke)))}),f(ve.children,(Ve,Ke)=>{Ke!==H&&(J=J.concat(ie(Ve,Ke)))}),J}(ve,(Ve,Ke)=>Ke===H?[ut(ve.children[H],!1)]:[`${Ke}:${ut(Ve,!1)}`]);return 1===Object.keys(ve.children).length&&null!=ve.children[H]?`${lt(ve)}/${J[0]}`:`${lt(ve)}/(${J.join("//")})`}}function Ht(ve){return encodeURIComponent(ve).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qt(ve){return Ht(ve).replace(/%3B/gi,";")}function hi(ve){return Ht(ve).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gi(ve){return decodeURIComponent(ve)}function xi(ve){return gi(ve.replace(/\+/g,"%20"))}function ji(ve){return`${hi(ve.path)}${function tn(ve){return Object.keys(ve).map(ie=>`;${hi(ie)}=${hi(ve[ie])}`).join("")}(ve.parameters)}`}const Lt=/^[^\/()?;=#]+/;function oi(ve){const ie=ve.match(Lt);return ie?ie[0]:""}const Pt=/^[^=?&#]+/,vt=/^[^&#]+/;class Qe{constructor(ie){this.url=ie,this.remaining=ie}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new oe([],{}):new oe([],this.parseChildren())}parseQueryParams(){const ie={};if(this.consumeOptional("?"))do{this.parseQueryParam(ie)}while(this.consumeOptional("&"));return ie}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ie=[];for(this.peekStartsWith("(")||ie.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ie.push(this.parseSegment());let J={};this.peekStartsWith("/(")&&(this.capture("/"),J=this.parseParens(!0));let Ve={};return this.peekStartsWith("(")&&(Ve=this.parseParens(!1)),(ie.length>0||Object.keys(J).length>0)&&(Ve[H]=new oe(ie,J)),Ve}parseSegment(){const ie=oi(this.remaining);if(""===ie&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(ie),new nt(gi(ie),this.parseMatrixParams())}parseMatrixParams(){const ie={};for(;this.consumeOptional(";");)this.parseParam(ie);return ie}parseParam(ie){const J=oi(this.remaining);if(!J)return;this.capture(J);let Ve="";if(this.consumeOptional("=")){const Ke=oi(this.remaining);Ke&&(Ve=Ke,this.capture(Ve))}ie[gi(J)]=gi(Ve)}parseQueryParam(ie){const J=function $e(ve){const ie=ve.match(Pt);return ie?ie[0]:""}(this.remaining);if(!J)return;this.capture(J);let Ve="";if(this.consumeOptional("=")){const Ot=function at(ve){const ie=ve.match(vt);return ie?ie[0]:""}(this.remaining);Ot&&(Ve=Ot,this.capture(Ve))}const Ke=xi(J),At=xi(Ve);if(ie.hasOwnProperty(Ke)){let Ot=ie[Ke];Array.isArray(Ot)||(Ot=[Ot],ie[Ke]=Ot),Ot.push(At)}else ie[Ke]=At}parseParens(ie){const J={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ve=oi(this.remaining),Ke=this.remaining[Ve.length];if("/"!==Ke&&")"!==Ke&&";"!==Ke)throw new Error(`Cannot parse url '${this.url}'`);let At;Ve.indexOf(":")>-1?(At=Ve.substr(0,Ve.indexOf(":")),this.capture(At),this.capture(":")):ie&&(At=H);const Ot=this.parseChildren();J[At]=1===Object.keys(Ot).length?Ot[H]:new oe([],Ot),this.consumeOptional("//")}return J}peekStartsWith(ie){return this.remaining.startsWith(ie)}consumeOptional(ie){return!!this.peekStartsWith(ie)&&(this.remaining=this.remaining.substring(ie.length),!0)}capture(ie){if(!this.consumeOptional(ie))throw new Error(`Expected "${ie}".`)}}class yt{constructor(ie){this._root=ie}get root(){return this._root.value}parent(ie){const J=this.pathFromRoot(ie);return J.length>1?J[J.length-2]:null}children(ie){const J=U(ie,this._root);return J?J.children.map(Ve=>Ve.value):[]}firstChild(ie){const J=U(ie,this._root);return J&&J.children.length>0?J.children[0].value:null}siblings(ie){const J=Ge(ie,this._root);return J.length<2?[]:J[J.length-2].children.map(Ke=>Ke.value).filter(Ke=>Ke!==ie)}pathFromRoot(ie){return Ge(ie,this._root).map(J=>J.value)}}function U(ve,ie){if(ve===ie.value)return ie;for(const J of ie.children){const Ve=U(ve,J);if(Ve)return Ve}return null}function Ge(ve,ie){if(ve===ie.value)return[ie];for(const J of ie.children){const Ve=Ge(ve,J);if(Ve.length)return Ve.unshift(ie),Ve}return[]}class _t{constructor(ie,J){this.value=ie,this.children=J}toString(){return`TreeNode(${this.value})`}}function Dt(ve){const ie={};return ve&&ve.children.forEach(J=>ie[J.value.outlet]=J),ie}class ti extends yt{constructor(ie,J){super(ie),this.snapshot=J,Ki(this,ie)}toString(){return this.snapshot.toString()}}function si(ve,ie){const J=function Ii(ve,ie){const Ot=new Oi([],{},{},"",{},H,ie,null,ve.root,-1,{});return new Hi("",new _t(Ot,[]))}(ve,ie),Ve=new N.X([new nt("",{})]),Ke=new N.X({}),At=new N.X({}),Ot=new N.X({}),Ft=new N.X(""),Xt=new wi(Ve,Ke,Ot,Ft,At,H,ie,J.root);return Xt.snapshot=J.root,new ti(new _t(Xt,[]),J)}class wi{constructor(ie,J,Ve,Ke,At,Ot,Ft,Xt){this.url=ie,this.params=J,this.queryParams=Ve,this.fragment=Ke,this.data=At,this.outlet=Ot,this.component=Ft,this._futureSnapshot=Xt}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,Y.U)(ie=>O(ie)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Y.U)(ie=>O(ie)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zi(ve,ie="emptyOnly"){const J=ve.pathFromRoot;let Ve=0;if("always"!==ie)for(Ve=J.length-1;Ve>=1;){const Ke=J[Ve],At=J[Ve-1];if(Ke.routeConfig&&""===Ke.routeConfig.path)Ve--;else{if(At.component)break;Ve--}}return function rn(ve){return ve.reduce((ie,J)=>({params:Object.assign(Object.assign({},ie.params),J.params),data:Object.assign(Object.assign({},ie.data),J.data),resolve:Object.assign(Object.assign({},ie.resolve),J._resolvedData)}),{params:{},data:{},resolve:{}})}(J.slice(Ve))}class Oi{constructor(ie,J,Ve,Ke,At,Ot,Ft,Xt,Ci,Gi,Di){this.url=ie,this.params=J,this.queryParams=Ve,this.fragment=Ke,this.data=At,this.outlet=Ot,this.component=Ft,this.routeConfig=Xt,this._urlSegment=Ci,this._lastPathIndex=Gi,this._resolve=Di}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=O(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=O(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ve=>Ve.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Hi extends yt{constructor(ie,J){super(J),this.url=ie,Ki(this,J)}toString(){return Li(this._root)}}function Ki(ve,ie){ie.value._routerState=ve,ie.children.forEach(J=>Ki(ve,J))}function Li(ve){const ie=ve.children.length>0?` { ${ve.children.map(Li).join(", ")} } `:"";return`${ve.value}${ie}`}function yi(ve){if(ve.snapshot){const ie=ve.snapshot,J=ve._futureSnapshot;ve.snapshot=J,n(ie.queryParams,J.queryParams)||ve.queryParams.next(J.queryParams),ie.fragment!==J.fragment&&ve.fragment.next(J.fragment),n(ie.params,J.params)||ve.params.next(J.params),function s(ve,ie){if(ve.length!==ie.length)return!1;for(let J=0;Jn(J.parameters,ie[Ve].parameters))}(ve.url,ie.url);return J&&!(!ve.parent!=!ie.parent)&&(!ve.parent||nn(ve.parent,ie.parent))}function Wi(ve,ie,J){if(J&&ve.shouldReuseRoute(ie.value,J.value.snapshot)){const Ve=J.value;Ve._futureSnapshot=ie.value;const Ke=function sn(ve,ie,J){return ie.children.map(Ve=>{for(const Ke of J.children)if(ve.shouldReuseRoute(Ve.value,Ke.value.snapshot))return Wi(ve,Ve,Ke);return Wi(ve,Ve)})}(ve,ie,J);return new _t(Ve,Ke)}{if(ve.shouldAttach(ie.value)){const At=ve.retrieve(ie.value);if(null!==At){const Ot=At.route;return Ot.value._futureSnapshot=ie.value,Ot.children=ie.children.map(Ft=>Wi(ve,Ft)),Ot}}const Ve=function An(ve){return new wi(new N.X(ve.url),new N.X(ve.params),new N.X(ve.queryParams),new N.X(ve.fragment),new N.X(ve.data),ve.outlet,ve.component,ve)}(ie.value),Ke=ie.children.map(At=>Wi(ve,At));return new _t(Ve,Ke)}}function un(ve){return"object"==typeof ve&&null!=ve&&!ve.outlets&&!ve.segmentPath}function Ji(ve){return"object"==typeof ve&&null!=ve&&ve.outlets}function ln(ve,ie,J,Ve,Ke){let At={};return Ve&&f(Ve,(Ot,Ft)=>{At[Ft]=Array.isArray(Ot)?Ot.map(Xt=>`${Xt}`):`${Ot}`}),new $(J.root===ve?ie:Dn(J.root,ve,ie),At,Ke)}function Dn(ve,ie,J){const Ve={};return f(ve.children,(Ke,At)=>{Ve[At]=Ke===ie?J:Dn(Ke,ie,J)}),new oe(ve.segments,Ve)}class St{constructor(ie,J,Ve){if(this.isAbsolute=ie,this.numberOfDoubleDots=J,this.commands=Ve,ie&&Ve.length>0&&un(Ve[0]))throw new Error("Root segment cannot have matrix parameters");const Ke=Ve.find(Ji);if(Ke&&Ke!==a(Ve))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class st{constructor(ie,J,Ve){this.segmentGroup=ie,this.processChildren=J,this.index=Ve}}function Je(ve,ie,J){if(ve||(ve=new oe([],{})),0===ve.segments.length&&ve.hasChildren())return wt(ve,ie,J);const Ve=function Gt(ve,ie,J){let Ve=0,Ke=ie;const At={match:!1,pathIndex:0,commandIndex:0};for(;Ke=J.length)return At;const Ot=ve.segments[Ke],Ft=J[Ve];if(Ji(Ft))break;const Xt=`${Ft}`,Ci=Ve0&&void 0===Xt)break;if(Xt&&Ci&&"object"==typeof Ci&&void 0===Ci.outlets){if(!Ui(Xt,Ci,Ot))return At;Ve+=2}else{if(!Ui(Xt,{},Ot))return At;Ve++}Ke++}return{match:!0,pathIndex:Ke,commandIndex:Ve}}(ve,ie,J),Ke=J.slice(Ve.commandIndex);if(Ve.match&&Ve.pathIndex{"string"==typeof At&&(At=[At]),null!==At&&(Ke[Ot]=Je(ve.children[Ot],ie,At))}),f(ve.children,(At,Ot)=>{void 0===Ve[Ot]&&(Ke[Ot]=At)}),new oe(ve.segments,Ke)}}function li(ve,ie,J){const Ve=ve.segments.slice(0,ie);let Ke=0;for(;Ke{"string"==typeof J&&(J=[J]),null!==J&&(ie[Ve]=li(new oe([],{}),0,J))}),ie}function Vi(ve){const ie={};return f(ve,(J,Ve)=>ie[Ve]=`${J}`),ie}function Ui(ve,ie,J){return ve==J.path&&n(ie,J.parameters)}class Jn{constructor(ie,J,Ve,Ke){this.routeReuseStrategy=ie,this.futureState=J,this.currState=Ve,this.forwardEvent=Ke}activate(ie){const J=this.futureState._root,Ve=this.currState?this.currState._root:null;this.deactivateChildRoutes(J,Ve,ie),yi(this.futureState.root),this.activateChildRoutes(J,Ve,ie)}deactivateChildRoutes(ie,J,Ve){const Ke=Dt(J);ie.children.forEach(At=>{const Ot=At.value.outlet;this.deactivateRoutes(At,Ke[Ot],Ve),delete Ke[Ot]}),f(Ke,(At,Ot)=>{this.deactivateRouteAndItsChildren(At,Ve)})}deactivateRoutes(ie,J,Ve){const Ke=ie.value,At=J?J.value:null;if(Ke===At)if(Ke.component){const Ot=Ve.getContext(Ke.outlet);Ot&&this.deactivateChildRoutes(ie,J,Ot.children)}else this.deactivateChildRoutes(ie,J,Ve);else At&&this.deactivateRouteAndItsChildren(J,Ve)}deactivateRouteAndItsChildren(ie,J){ie.value.component&&this.routeReuseStrategy.shouldDetach(ie.value.snapshot)?this.detachAndStoreRouteSubtree(ie,J):this.deactivateRouteAndOutlet(ie,J)}detachAndStoreRouteSubtree(ie,J){const Ve=J.getContext(ie.value.outlet),Ke=Ve&&ie.value.component?Ve.children:J,At=Dt(ie);for(const Ot of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ot],Ke);if(Ve&&Ve.outlet){const Ot=Ve.outlet.detach(),Ft=Ve.children.onOutletDeactivated();this.routeReuseStrategy.store(ie.value.snapshot,{componentRef:Ot,route:ie,contexts:Ft})}}deactivateRouteAndOutlet(ie,J){const Ve=J.getContext(ie.value.outlet),Ke=Ve&&ie.value.component?Ve.children:J,At=Dt(ie);for(const Ot of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ot],Ke);Ve&&Ve.outlet&&(Ve.outlet.deactivate(),Ve.children.onOutletDeactivated(),Ve.attachRef=null,Ve.resolver=null,Ve.route=null)}activateChildRoutes(ie,J,Ve){const Ke=Dt(J);ie.children.forEach(At=>{this.activateRoutes(At,Ke[At.value.outlet],Ve),this.forwardEvent(new Ne(At.value.snapshot))}),ie.children.length&&this.forwardEvent(new Ae(ie.value.snapshot))}activateRoutes(ie,J,Ve){const Ke=ie.value,At=J?J.value:null;if(yi(Ke),Ke===At)if(Ke.component){const Ot=Ve.getOrCreateContext(Ke.outlet);this.activateChildRoutes(ie,J,Ot.children)}else this.activateChildRoutes(ie,J,Ve);else if(Ke.component){const Ot=Ve.getOrCreateContext(Ke.outlet);if(this.routeReuseStrategy.shouldAttach(Ke.snapshot)){const Ft=this.routeReuseStrategy.retrieve(Ke.snapshot);this.routeReuseStrategy.store(Ke.snapshot,null),Ot.children.onOutletReAttached(Ft.contexts),Ot.attachRef=Ft.componentRef,Ot.route=Ft.route.value,Ot.outlet&&Ot.outlet.attach(Ft.componentRef,Ft.route.value),yi(Ft.route.value),this.activateChildRoutes(ie,null,Ot.children)}else{const Ft=function nr(ve){for(let ie=ve.parent;ie;ie=ie.parent){const J=ie.routeConfig;if(J&&J._loadedConfig)return J._loadedConfig;if(J&&J.component)return null}return null}(Ke.snapshot),Xt=Ft?Ft.module.componentFactoryResolver:null;Ot.attachRef=null,Ot.route=Ke,Ot.resolver=Xt,Ot.outlet&&Ot.outlet.activateWith(Ke,Xt),this.activateChildRoutes(ie,null,Ot.children)}}else this.activateChildRoutes(ie,null,Ve)}}class jn{constructor(ie,J){this.routes=ie,this.module=J}}function Cn(ve){return"function"==typeof ve}function En(ve){return ve instanceof $}const wn=Symbol("INITIAL_VALUE");function Pn(){return(0,se.w)(ve=>(0,A.a)(ve.map(ie=>ie.pipe((0,Te.q)(1),(0,Oe.O)(wn)))).pipe(be((ie,J)=>{let Ve=!1;return J.reduce((Ke,At,Ot)=>Ke!==wn?Ke:(At===wn&&(Ve=!0),Ve||!1!==At&&Ot!==J.length-1&&!En(At)?Ke:At),ie)},wn),(0,pe.h)(ie=>ie!==wn),(0,Y.U)(ie=>En(ie)?ie:!0===ie),(0,Te.q)(1)))}class Rn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new xn,this.attachRef=null}}class xn{constructor(){this.contexts=new Map}onChildOutletCreated(ie,J){const Ve=this.getOrCreateContext(ie);Ve.outlet=J,this.contexts.set(ie,Ve)}onChildOutletDestroyed(ie){const J=this.getContext(ie);J&&(J.outlet=null,J.attachRef=null)}onOutletDeactivated(){const ie=this.contexts;return this.contexts=new Map,ie}onOutletReAttached(ie){this.contexts=ie}getOrCreateContext(ie){let J=this.getContext(ie);return J||(J=new Rn,this.contexts.set(ie,J)),J}getContext(ie){return this.contexts.get(ie)||null}}let Hn=(()=>{class ve{constructor(J,Ve,Ke,At,Ot){this.parentContexts=J,this.location=Ve,this.resolver=Ke,this.changeDetector=Ot,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=At||H,J.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const J=this.parentContexts.getContext(this.name);J&&J.route&&(J.attachRef?this.attach(J.attachRef,J.route):this.activateWith(J.route,J.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 J=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(J.instance),J}attach(J,Ve){this.activated=J,this._activatedRoute=Ve,this.location.insert(J.hostView),this.attachEvents.emit(J.instance)}deactivate(){if(this.activated){const J=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(J)}}activateWith(J,Ve){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=J;const Ot=(Ve=Ve||this.resolver).resolveComponentFactory(J._futureSnapshot.routeConfig.component),Ft=this.parentContexts.getOrCreateContext(this.name).children,Xt=new mn(J,Ft,this.location.injector);this.activated=this.location.createComponent(Ot,this.location.length,Xt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(xn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},ve.\u0275dir=e.lG2({type:ve,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),ve})();class mn{constructor(ie,J,Ve){this.route=ie,this.childContexts=J,this.parent=Ve}get(ie,J){return ie===wi?this.route:ie===xn?this.childContexts:this.parent.get(ie,J)}}let vn=(()=>{class ve{}return ve.\u0275fac=function(J){return new(J||ve)},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["ng-component"]],decls:1,vars:0,template:function(J,Ve){1&J&&e._UZ(0,"router-outlet")},directives:[Hn],encapsulation:2}),ve})();function Gn(ve,ie=""){for(let J=0;Jdn(Ve)===ie);return J.push(...ve.filter(Ve=>dn(Ve)!==ie)),J}const gt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function k(ve,ie,J){var Ve;if(""===ie.path)return"full"===ie.pathMatch&&(ve.hasChildren()||J.length>0)?Object.assign({},gt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const At=(ie.matcher||l)(J,ve,ie);if(!At)return Object.assign({},gt);const Ot={};f(At.posParams,(Xt,Ci)=>{Ot[Ci]=Xt.path});const Ft=At.consumed.length>0?Object.assign(Object.assign({},Ot),At.consumed[At.consumed.length-1].parameters):Ot;return{matched:!0,consumedSegments:At.consumed,lastChild:At.consumed.length,parameters:Ft,positionalParamSegments:null!==(Ve=At.posParams)&&void 0!==Ve?Ve:{}}}function W(ve,ie,J,Ve,Ke="corrected"){if(J.length>0&&function Et(ve,ie,J){return J.some(Ve=>Ie(ve,ie,Ve)&&dn(Ve)!==H)}(ve,J,Ve)){const Ot=new oe(ie,function pt(ve,ie,J,Ve){const Ke={};Ke[H]=Ve,Ve._sourceSegment=ve,Ve._segmentIndexShift=ie.length;for(const At of J)if(""===At.path&&dn(At)!==H){const Ot=new oe([],{});Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,Ke[dn(At)]=Ot}return Ke}(ve,ie,Ve,new oe(J,ve.children)));return Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,{segmentGroup:Ot,slicedSegments:[]}}if(0===J.length&&function te(ve,ie,J){return J.some(Ve=>Ie(ve,ie,Ve))}(ve,J,Ve)){const Ot=new oe(ve.segments,function Re(ve,ie,J,Ve,Ke,At){const Ot={};for(const Ft of Ve)if(Ie(ve,J,Ft)&&!Ke[dn(Ft)]){const Xt=new oe([],{});Xt._sourceSegment=ve,Xt._segmentIndexShift="legacy"===At?ve.segments.length:ie.length,Ot[dn(Ft)]=Xt}return Object.assign(Object.assign({},Ke),Ot)}(ve,ie,J,Ve,ve.children,Ke));return Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,{segmentGroup:Ot,slicedSegments:J}}const At=new oe(ve.segments,ve.children);return At._sourceSegment=ve,At._segmentIndexShift=ie.length,{segmentGroup:At,slicedSegments:J}}function Ie(ve,ie,J){return(!(ve.hasChildren()||ie.length>0)||"full"!==J.pathMatch)&&""===J.path}function le(ve,ie,J,Ve){return!!(dn(ve)===Ve||Ve!==H&&Ie(ie,J,ve))&&("**"===ve.path||k(ie,ve,J).matched)}function et(ve,ie,J){return 0===ie.length&&!ve.children[J]}class xt{constructor(ie){this.segmentGroup=ie||null}}class zt{constructor(ie){this.urlTree=ie}}function Jt(ve){return new c.y(ie=>ie.error(new xt(ve)))}function ai(ve){return new c.y(ie=>ie.error(new zt(ve)))}function ui(ve){return new c.y(ie=>ie.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${ve}'`)))}class Mi{constructor(ie,J,Ve,Ke,At){this.configLoader=J,this.urlSerializer=Ve,this.urlTree=Ke,this.config=At,this.allowRedirects=!0,this.ngModule=ie.get(e.h0i)}apply(){const ie=W(this.urlTree.root,[],[],this.config).segmentGroup,J=new oe(ie.segments,ie.children);return this.expandSegmentGroup(this.ngModule,this.config,J,H).pipe((0,Y.U)(At=>this.createUrlTree(ke(At),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Se.K)(At=>{if(At instanceof zt)return this.allowRedirects=!1,this.match(At.urlTree);throw At instanceof xt?this.noMatchError(At):At}))}match(ie){return this.expandSegmentGroup(this.ngModule,this.config,ie.root,H).pipe((0,Y.U)(Ke=>this.createUrlTree(ke(Ke),ie.queryParams,ie.fragment))).pipe((0,Se.K)(Ke=>{throw Ke instanceof xt?this.noMatchError(Ke):Ke}))}noMatchError(ie){return new Error(`Cannot match any routes. URL Segment: '${ie.segmentGroup}'`)}createUrlTree(ie,J,Ve){const Ke=ie.segments.length>0?new oe([],{[H]:ie}):ie;return new $(Ke,J,Ve)}expandSegmentGroup(ie,J,Ve,Ke){return 0===Ve.segments.length&&Ve.hasChildren()?this.expandChildren(ie,J,Ve).pipe((0,Y.U)(At=>new oe([],At))):this.expandSegment(ie,Ve,J,Ve.segments,Ke,!0)}expandChildren(ie,J,Ve){const Ke=[];for(const At of Object.keys(Ve.children))"primary"===At?Ke.unshift(At):Ke.push(At);return(0,v.D)(Ke).pipe((0,We.b)(At=>{const Ot=Ve.children[At],Ft=cr(J,At);return this.expandSegmentGroup(ie,Ft,Ot,At).pipe((0,Y.U)(Xt=>({segment:Xt,outlet:At})))}),be((At,Ot)=>(At[Ot.outlet]=Ot.segment,At),{}),function X(ve,ie){const J=arguments.length>=2;return Ve=>Ve.pipe(ve?(0,pe.h)((Ke,At)=>ve(Ke,At,Ve)):L.y,ye(1),J?(0,R.d)(ie):(0,T.T)(()=>new q.K))}())}expandSegment(ie,J,Ve,Ke,At,Ot){return(0,v.D)(Ve).pipe((0,We.b)(Ft=>this.expandSegmentAgainstRoute(ie,J,Ve,Ft,Ke,At,Ot).pipe((0,Se.K)(Ci=>{if(Ci instanceof xt)return(0,I.of)(null);throw Ci}))),(0,ge.P)(Ft=>!!Ft),(0,Se.K)((Ft,Xt)=>{if(Ft instanceof q.K||"EmptyError"===Ft.name){if(et(J,Ke,At))return(0,I.of)(new oe([],{}));throw new xt(J)}throw Ft}))}expandSegmentAgainstRoute(ie,J,Ve,Ke,At,Ot,Ft){return le(Ke,J,At,Ot)?void 0===Ke.redirectTo?this.matchSegmentAgainstRoute(ie,J,Ke,At,Ot):Ft&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot):Jt(J):Jt(J)}expandSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot){return"**"===Ke.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ie,Ve,Ke,Ot):this.expandRegularSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot)}expandWildCardWithParamsAgainstRouteUsingRedirect(ie,J,Ve,Ke){const At=this.applyRedirectCommands([],Ve.redirectTo,{});return Ve.redirectTo.startsWith("/")?ai(At):this.lineralizeSegments(Ve,At).pipe((0,Le.z)(Ot=>{const Ft=new oe(Ot,{});return this.expandSegment(ie,Ft,J,Ot,Ke,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot){const{matched:Ft,consumedSegments:Xt,lastChild:Ci,positionalParamSegments:Gi}=k(J,Ke,At);if(!Ft)return Jt(J);const Di=this.applyRedirectCommands(Xt,Ke.redirectTo,Gi);return Ke.redirectTo.startsWith("/")?ai(Di):this.lineralizeSegments(Ke,Di).pipe((0,Le.z)(Qi=>this.expandSegment(ie,J,Ve,Qi.concat(At.slice(Ci)),Ot,!1)))}matchSegmentAgainstRoute(ie,J,Ve,Ke,At){if("**"===Ve.path)return Ve.loadChildren?(Ve._loadedConfig?(0,I.of)(Ve._loadedConfig):this.configLoader.load(ie.injector,Ve)).pipe((0,Y.U)(Qi=>(Ve._loadedConfig=Qi,new oe(Ke,{})))):(0,I.of)(new oe(Ke,{}));const{matched:Ot,consumedSegments:Ft,lastChild:Xt}=k(J,Ve,Ke);if(!Ot)return Jt(J);const Ci=Ke.slice(Xt);return this.getChildConfig(ie,Ve,Ke).pipe((0,Le.z)(Di=>{const Qi=Di.module,$i=Di.routes,{segmentGroup:jr,slicedSegments:pr}=W(J,Ft,Ci,$i),fr=new oe(jr.segments,jr.children);if(0===pr.length&&fr.hasChildren())return this.expandChildren(Qi,$i,fr).pipe((0,Y.U)(Br=>new oe(Ft,Br)));if(0===$i.length&&0===pr.length)return(0,I.of)(new oe(Ft,{}));const Kn=dn(Ve)===At;return this.expandSegment(Qi,fr,$i,pr,Kn?H:At,!0).pipe((0,Y.U)(mr=>new oe(Ft.concat(mr.segments),mr.children)))}))}getChildConfig(ie,J,Ve){return J.children?(0,I.of)(new jn(J.children,ie)):J.loadChildren?void 0!==J._loadedConfig?(0,I.of)(J._loadedConfig):this.runCanLoadGuards(ie.injector,J,Ve).pipe((0,Le.z)(Ke=>Ke?this.configLoader.load(ie.injector,J).pipe((0,Y.U)(At=>(J._loadedConfig=At,At))):function fi(ve){return new c.y(ie=>ie.error(o(`Cannot load children because the guard of the route "path: '${ve.path}'" returned false`)))}(J))):(0,I.of)(new jn([],ie))}runCanLoadGuards(ie,J,Ve){const Ke=J.canLoad;if(!Ke||0===Ke.length)return(0,I.of)(!0);const At=Ke.map(Ot=>{const Ft=ie.get(Ot);let Xt;if(function rr(ve){return ve&&Cn(ve.canLoad)}(Ft))Xt=Ft.canLoad(J,Ve);else{if(!Cn(Ft))throw new Error("Invalid CanLoad guard");Xt=Ft(J,Ve)}return x(Xt)});return(0,I.of)(At).pipe(Pn(),(0,ue.b)(Ot=>{if(!En(Ot))return;const Ft=o(`Redirecting to "${this.urlSerializer.serialize(Ot)}"`);throw Ft.url=Ot,Ft}),(0,Y.U)(Ot=>!0===Ot))}lineralizeSegments(ie,J){let Ve=[],Ke=J.root;for(;;){if(Ve=Ve.concat(Ke.segments),0===Ke.numberOfChildren)return(0,I.of)(Ve);if(Ke.numberOfChildren>1||!Ke.children[H])return ui(ie.redirectTo);Ke=Ke.children[H]}}applyRedirectCommands(ie,J,Ve){return this.applyRedirectCreatreUrlTree(J,this.urlSerializer.parse(J),ie,Ve)}applyRedirectCreatreUrlTree(ie,J,Ve,Ke){const At=this.createSegmentGroup(ie,J.root,Ve,Ke);return new $(At,this.createQueryParams(J.queryParams,this.urlTree.queryParams),J.fragment)}createQueryParams(ie,J){const Ve={};return f(ie,(Ke,At)=>{if("string"==typeof Ke&&Ke.startsWith(":")){const Ft=Ke.substring(1);Ve[At]=J[Ft]}else Ve[At]=Ke}),Ve}createSegmentGroup(ie,J,Ve,Ke){const At=this.createSegments(ie,J.segments,Ve,Ke);let Ot={};return f(J.children,(Ft,Xt)=>{Ot[Xt]=this.createSegmentGroup(ie,Ft,Ve,Ke)}),new oe(At,Ot)}createSegments(ie,J,Ve,Ke){return J.map(At=>At.path.startsWith(":")?this.findPosParam(ie,At,Ke):this.findOrReturn(At,Ve))}findPosParam(ie,J,Ve){const Ke=Ve[J.path.substring(1)];if(!Ke)throw new Error(`Cannot redirect to '${ie}'. Cannot find '${J.path}'.`);return Ke}findOrReturn(ie,J){let Ve=0;for(const Ke of J){if(Ke.path===ie.path)return J.splice(Ve),Ke;Ve++}return ie}}function ke(ve){const ie={};for(const Ve of Object.keys(ve.children)){const At=ke(ve.children[Ve]);(At.segments.length>0||At.hasChildren())&&(ie[Ve]=At)}return function Bi(ve){if(1===ve.numberOfChildren&&ve.children[H]){const ie=ve.children[H];return new oe(ve.segments.concat(ie.segments),ie.children)}return ve}(new oe(ve.segments,ie))}class we{constructor(ie){this.path=ie,this.route=this.path[this.path.length-1]}}class ht{constructor(ie,J){this.component=ie,this.route=J}}function Zt(ve,ie,J){const Ve=ve._root;return pn(Ve,ie?ie._root:null,J,[Ve.value])}function ki(ve,ie,J){const Ve=function Xi(ve){if(!ve)return null;for(let ie=ve.parent;ie;ie=ie.parent){const J=ie.routeConfig;if(J&&J._loadedConfig)return J._loadedConfig}return null}(ie);return(Ve?Ve.module.injector:J).get(ve)}function pn(ve,ie,J,Ve,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const At=Dt(ie);return ve.children.forEach(Ot=>{(function Nn(ve,ie,J,Ve,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const At=ve.value,Ot=ie?ie.value:null,Ft=J?J.getContext(ve.value.outlet):null;if(Ot&&At.routeConfig===Ot.routeConfig){const Xt=function $n(ve,ie,J){if("function"==typeof J)return J(ve,ie);switch(J){case"pathParamsChange":return!Rt(ve.url,ie.url);case"pathParamsOrQueryParamsChange":return!Rt(ve.url,ie.url)||!n(ve.queryParams,ie.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(ve,ie)||!n(ve.queryParams,ie.queryParams);default:return!nn(ve,ie)}}(Ot,At,At.routeConfig.runGuardsAndResolvers);Xt?Ke.canActivateChecks.push(new we(Ve)):(At.data=Ot.data,At._resolvedData=Ot._resolvedData),pn(ve,ie,At.component?Ft?Ft.children:null:J,Ve,Ke),Xt&&Ft&&Ft.outlet&&Ft.outlet.isActivated&&Ke.canDeactivateChecks.push(new ht(Ft.outlet.component,Ot))}else Ot&&sr(ie,Ft,Ke),Ke.canActivateChecks.push(new we(Ve)),pn(ve,null,At.component?Ft?Ft.children:null:J,Ve,Ke)})(Ot,At[Ot.value.outlet],J,Ve.concat([Ot.value]),Ke),delete At[Ot.value.outlet]}),f(At,(Ot,Ft)=>sr(Ot,J.getContext(Ft),Ke)),Ke}function sr(ve,ie,J){const Ve=Dt(ve),Ke=ve.value;f(Ve,(At,Ot)=>{sr(At,Ke.component?ie?ie.children.getContext(Ot):null:ie,J)}),J.canDeactivateChecks.push(new ht(Ke.component&&ie&&ie.outlet&&ie.outlet.isActivated?ie.outlet.component:null,Ke))}class xe{}function ft(ve){return new c.y(ie=>ie.error(ve))}class $t{constructor(ie,J,Ve,Ke,At,Ot){this.rootComponentType=ie,this.config=J,this.urlTree=Ve,this.url=Ke,this.paramsInheritanceStrategy=At,this.relativeLinkResolution=Ot}recognize(){const ie=W(this.urlTree.root,[],[],this.config.filter(Ot=>void 0===Ot.redirectTo),this.relativeLinkResolution).segmentGroup,J=this.processSegmentGroup(this.config,ie,H);if(null===J)return null;const Ve=new Oi([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},H,this.rootComponentType,null,this.urlTree.root,-1,{}),Ke=new _t(Ve,J),At=new Hi(this.url,Ke);return this.inheritParamsAndData(At._root),At}inheritParamsAndData(ie){const J=ie.value,Ve=zi(J,this.paramsInheritanceStrategy);J.params=Object.freeze(Ve.params),J.data=Object.freeze(Ve.data),ie.children.forEach(Ke=>this.inheritParamsAndData(Ke))}processSegmentGroup(ie,J,Ve){return 0===J.segments.length&&J.hasChildren()?this.processChildren(ie,J):this.processSegment(ie,J,J.segments,Ve)}processChildren(ie,J){const Ve=[];for(const At of Object.keys(J.children)){const Ot=J.children[At],Ft=cr(ie,At),Xt=this.processSegmentGroup(Ft,Ot,At);if(null===Xt)return null;Ve.push(...Xt)}const Ke=on(Ve);return function bi(ve){ve.sort((ie,J)=>ie.value.outlet===H?-1:J.value.outlet===H?1:ie.value.outlet.localeCompare(J.value.outlet))}(Ke),Ke}processSegment(ie,J,Ve,Ke){for(const At of ie){const Ot=this.processSegmentAgainstRoute(At,J,Ve,Ke);if(null!==Ot)return Ot}return et(J,Ve,Ke)?[]:null}processSegmentAgainstRoute(ie,J,Ve,Ke){if(ie.redirectTo||!le(ie,J,Ve,Ke))return null;let At,Ot=[],Ft=[];if("**"===ie.path){const $i=Ve.length>0?a(Ve).parameters:{};At=new Oi(Ve,$i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Js(ie),dn(ie),ie.component,ie,kn(J),Xr(J)+Ve.length,Va(ie))}else{const $i=k(J,ie,Ve);if(!$i.matched)return null;Ot=$i.consumedSegments,Ft=Ve.slice($i.lastChild),At=new Oi(Ot,$i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Js(ie),dn(ie),ie.component,ie,kn(J),Xr(J)+Ot.length,Va(ie))}const Xt=function Ei(ve){return ve.children?ve.children:ve.loadChildren?ve._loadedConfig.routes:[]}(ie),{segmentGroup:Ci,slicedSegments:Gi}=W(J,Ot,Ft,Xt.filter($i=>void 0===$i.redirectTo),this.relativeLinkResolution);if(0===Gi.length&&Ci.hasChildren()){const $i=this.processChildren(Xt,Ci);return null===$i?null:[new _t(At,$i)]}if(0===Xt.length&&0===Gi.length)return[new _t(At,[])];const Di=dn(ie)===Ke,Qi=this.processSegment(Xt,Ci,Gi,Di?H:Ke);return null===Qi?null:[new _t(At,Qi)]}}function Yi(ve){const ie=ve.value.routeConfig;return ie&&""===ie.path&&void 0===ie.redirectTo}function on(ve){const ie=[],J=new Set;for(const Ve of ve){if(!Yi(Ve)){ie.push(Ve);continue}const Ke=ie.find(At=>Ve.value.routeConfig===At.value.routeConfig);void 0!==Ke?(Ke.children.push(...Ve.children),J.add(Ke)):ie.push(Ve)}for(const Ve of J){const Ke=on(Ve.children);ie.push(new _t(Ve.value,Ke))}return ie.filter(Ve=>!J.has(Ve))}function kn(ve){let ie=ve;for(;ie._sourceSegment;)ie=ie._sourceSegment;return ie}function Xr(ve){let ie=ve,J=ie._segmentIndexShift?ie._segmentIndexShift:0;for(;ie._sourceSegment;)ie=ie._sourceSegment,J+=ie._segmentIndexShift?ie._segmentIndexShift:0;return J-1}function Js(ve){return ve.data||{}}function Va(ve){return ve.resolve||{}}function es(ve){return[...Object.keys(ve),...Object.getOwnPropertySymbols(ve)]}function ts(ve){return(0,se.w)(ie=>{const J=ve(ie);return J?(0,v.D)(J).pipe((0,Y.U)(()=>ie)):(0,I.of)(ie)})}class zr{}class ja extends class Ua{shouldDetach(ie){return!1}store(ie,J){}shouldAttach(ie){return!1}retrieve(ie){return null}shouldReuseRoute(ie,J){return ie.routeConfig===J.routeConfig}}{}const is=new e.OlP("ROUTES");class Ks{constructor(ie,J,Ve,Ke){this.injector=ie,this.compiler=J,this.onLoadStartListener=Ve,this.onLoadEndListener=Ke}load(ie,J){if(J._loader$)return J._loader$;this.onLoadStartListener&&this.onLoadStartListener(J);const Ke=this.loadModuleFactory(J.loadChildren).pipe((0,Y.U)(At=>{this.onLoadEndListener&&this.onLoadEndListener(J);const Ot=At.create(ie);return new jn(r(Ot.injector.get(is,void 0,e.XFs.Self|e.XFs.Optional)).map(zn),Ot)}),(0,Se.K)(At=>{throw J._loader$=void 0,At}));return J._loader$=new E(Ke,()=>new he.x).pipe(b()),J._loader$}loadModuleFactory(ie){return x(ie()).pipe((0,Le.z)(J=>J instanceof e.YKP?(0,I.of)(J):(0,v.D)(this.compiler.compileModuleAsync(J))))}}class Bo{shouldProcessUrl(ie){return!0}extract(ie){return ie}merge(ie,J){return ie}}function No(ve){throw ve}function Ln(ve,ie,J){return ie.parse("/")}function dr(ve,ie){return(0,I.of)(null)}const hn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Za={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vn=(()=>{class ve{constructor(J,Ve,Ke,At,Ot,Ft,Xt){this.rootComponentType=J,this.urlSerializer=Ve,this.rootContexts=Ke,this.location=At,this.config=Xt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new he.x,this.errorHandler=No,this.malformedUriErrorHandler=Ln,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dr,afterPreactivation:dr},this.urlHandlingStrategy=new Bo,this.routeReuseStrategy=new ja,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Ot.get(e.h0i),this.console=Ot.get(e.c2e);const Di=Ot.get(e.R0b);this.isNgZoneEnabled=Di instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(Xt),this.currentUrlTree=function Ye(){return new $(new oe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ks(Ot,Ft,Qi=>this.triggerEvent(new Ue(Qi)),Qi=>this.triggerEvent(new _e(Qi))),this.routerState=si(this.currentUrlTree,this.rootComponentType),this.transitions=new N.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 J;return null===(J=this.location.getState())||void 0===J?void 0:J.\u0275routerPageId}setupNavigations(J){const Ve=this.events;return J.pipe((0,pe.h)(Ke=>0!==Ke.id),(0,Y.U)(Ke=>Object.assign(Object.assign({},Ke),{extractedUrl:this.urlHandlingStrategy.extract(Ke.rawUrl)})),(0,se.w)(Ke=>{let At=!1,Ot=!1;return(0,I.of)(Ke).pipe((0,ue.b)(Ft=>{this.currentNavigation={id:Ft.id,initialUrl:Ft.currentRawUrl,extractedUrl:Ft.extractedUrl,trigger:Ft.source,extras:Ft.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,se.w)(Ft=>{const Xt=this.browserUrlTree.toString(),Ci=!this.navigated||Ft.extractedUrl.toString()!==Xt||Xt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ci)&&this.urlHandlingStrategy.shouldProcessUrl(Ft.rawUrl))return rs(Ft.source)&&(this.browserUrlTree=Ft.extractedUrl),(0,I.of)(Ft).pipe((0,se.w)(Di=>{const Qi=this.transitions.getValue();return Ve.next(new Ce(Di.id,this.serializeUrl(Di.extractedUrl),Di.source,Di.restoredState)),Qi!==this.transitions.getValue()?Q.E:Promise.resolve(Di)}),function De(ve,ie,J,Ve){return(0,se.w)(Ke=>function Ai(ve,ie,J,Ve,Ke){return new Mi(ve,ie,J,Ve,Ke).apply()}(ve,ie,J,Ke.extractedUrl,Ve).pipe((0,Y.U)(At=>Object.assign(Object.assign({},Ke),{urlAfterRedirects:At}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ue.b)(Di=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Di.urlAfterRedirects})}),function Ho(ve,ie,J,Ve,Ke){return(0,Le.z)(At=>function Ut(ve,ie,J,Ve,Ke="emptyOnly",At="legacy"){try{const Ot=new $t(ve,ie,J,Ve,Ke,At).recognize();return null===Ot?ft(new xe):(0,I.of)(Ot)}catch(Ot){return ft(Ot)}}(ve,ie,At.urlAfterRedirects,J(At.urlAfterRedirects),Ve,Ke).pipe((0,Y.U)(Ot=>Object.assign(Object.assign({},At),{targetSnapshot:Ot}))))}(this.rootComponentType,this.config,Di=>this.serializeUrl(Di),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ue.b)(Di=>{if("eager"===this.urlUpdateStrategy){if(!Di.extras.skipLocationChange){const $i=this.urlHandlingStrategy.merge(Di.urlAfterRedirects,Di.rawUrl);this.setBrowserUrl($i,Di)}this.browserUrlTree=Di.urlAfterRedirects}const Qi=new Ze(Di.id,this.serializeUrl(Di.extractedUrl),this.serializeUrl(Di.urlAfterRedirects),Di.targetSnapshot);Ve.next(Qi)}));if(Ci&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Qi,extractedUrl:$i,source:jr,restoredState:pr,extras:fr}=Ft,Kn=new Ce(Qi,this.serializeUrl($i),jr,pr);Ve.next(Kn);const Er=si($i,this.rootComponentType).snapshot;return(0,I.of)(Object.assign(Object.assign({},Ft),{targetSnapshot:Er,urlAfterRedirects:$i,extras:Object.assign(Object.assign({},fr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Ft.rawUrl,Ft.resolve(null),Q.E}),ts(Ft=>{const{targetSnapshot:Xt,id:Ci,extractedUrl:Gi,rawUrl:Di,extras:{skipLocationChange:Qi,replaceUrl:$i}}=Ft;return this.hooks.beforePreactivation(Xt,{navigationId:Ci,appliedUrlTree:Gi,rawUrlTree:Di,skipLocationChange:!!Qi,replaceUrl:!!$i})}),(0,ue.b)(Ft=>{const Xt=new ne(Ft.id,this.serializeUrl(Ft.extractedUrl),this.serializeUrl(Ft.urlAfterRedirects),Ft.targetSnapshot);this.triggerEvent(Xt)}),(0,Y.U)(Ft=>Object.assign(Object.assign({},Ft),{guards:Zt(Ft.targetSnapshot,Ft.currentSnapshot,this.rootContexts)})),function ri(ve,ie){return(0,Le.z)(J=>{const{targetSnapshot:Ve,currentSnapshot:Ke,guards:{canActivateChecks:At,canDeactivateChecks:Ot}}=J;return 0===Ot.length&&0===At.length?(0,I.of)(Object.assign(Object.assign({},J),{guardsResult:!0})):function ci(ve,ie,J,Ve){return(0,v.D)(ve).pipe((0,Le.z)(Ke=>function Wt(ve,ie,J,Ve,Ke){const At=ie&&ie.routeConfig?ie.routeConfig.canDeactivate:null;if(!At||0===At.length)return(0,I.of)(!0);const Ot=At.map(Ft=>{const Xt=ki(Ft,ie,Ke);let Ci;if(function Zn(ve){return ve&&Cn(ve.canDeactivate)}(Xt))Ci=x(Xt.canDeactivate(ve,ie,J,Ve));else{if(!Cn(Xt))throw new Error("Invalid CanDeactivate guard");Ci=x(Xt(ve,ie,J,Ve))}return Ci.pipe((0,ge.P)())});return(0,I.of)(Ot).pipe(Pn())}(Ke.component,Ke.route,J,ie,Ve)),(0,ge.P)(Ke=>!0!==Ke,!0))}(Ot,Ve,Ke,ve).pipe((0,Le.z)(Ft=>Ft&&function Tr(ve){return"boolean"==typeof ve}(Ft)?function Si(ve,ie,J,Ve){return(0,v.D)(ie).pipe((0,We.b)(Ke=>(0,j.z)(function Fi(ve,ie){return null!==ve&&ie&&ie(new ae(ve)),(0,I.of)(!0)}(Ke.route.parent,Ve),function _i(ve,ie){return null!==ve&&ie&&ie(new ee(ve)),(0,I.of)(!0)}(Ke.route,Ve),function tt(ve,ie,J){const Ve=ie[ie.length-1],At=ie.slice(0,ie.length-1).reverse().map(Ot=>function pi(ve){const ie=ve.routeConfig?ve.routeConfig.canActivateChild:null;return ie&&0!==ie.length?{node:ve,guards:ie}:null}(Ot)).filter(Ot=>null!==Ot).map(Ot=>(0,G.P)(()=>{const Ft=Ot.guards.map(Xt=>{const Ci=ki(Xt,Ot.node,J);let Gi;if(function Qn(ve){return ve&&Cn(ve.canActivateChild)}(Ci))Gi=x(Ci.canActivateChild(Ve,ve));else{if(!Cn(Ci))throw new Error("Invalid CanActivateChild guard");Gi=x(Ci(Ve,ve))}return Gi.pipe((0,ge.P)())});return(0,I.of)(Ft).pipe(Pn())}));return(0,I.of)(At).pipe(Pn())}(ve,Ke.path,J),function an(ve,ie,J){const Ve=ie.routeConfig?ie.routeConfig.canActivate:null;if(!Ve||0===Ve.length)return(0,I.of)(!0);const Ke=Ve.map(At=>(0,G.P)(()=>{const Ot=ki(At,ie,J);let Ft;if(function yn(ve){return ve&&Cn(ve.canActivate)}(Ot))Ft=x(Ot.canActivate(ie,ve));else{if(!Cn(Ot))throw new Error("Invalid CanActivate guard");Ft=x(Ot(ie,ve))}return Ft.pipe((0,ge.P)())}));return(0,I.of)(Ke).pipe(Pn())}(ve,Ke.route,J))),(0,ge.P)(Ke=>!0!==Ke,!0))}(Ve,At,ve,ie):(0,I.of)(Ft)),(0,Y.U)(Ft=>Object.assign(Object.assign({},J),{guardsResult:Ft})))})}(this.ngModule.injector,Ft=>this.triggerEvent(Ft)),(0,ue.b)(Ft=>{if(En(Ft.guardsResult)){const Ci=o(`Redirecting to "${this.serializeUrl(Ft.guardsResult)}"`);throw Ci.url=Ft.guardsResult,Ci}const Xt=new it(Ft.id,this.serializeUrl(Ft.extractedUrl),this.serializeUrl(Ft.urlAfterRedirects),Ft.targetSnapshot,!!Ft.guardsResult);this.triggerEvent(Xt)}),(0,pe.h)(Ft=>!!Ft.guardsResult||(this.restoreHistory(Ft),this.cancelNavigationTransition(Ft,""),!1)),ts(Ft=>{if(Ft.guards.canActivateChecks.length)return(0,I.of)(Ft).pipe((0,ue.b)(Xt=>{const Ci=new Be(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ci)}),(0,se.w)(Xt=>{let Ci=!1;return(0,I.of)(Xt).pipe(function Qs(ve,ie){return(0,Le.z)(J=>{const{targetSnapshot:Ve,guards:{canActivateChecks:Ke}}=J;if(!Ke.length)return(0,I.of)(J);let At=0;return(0,v.D)(Ke).pipe((0,We.b)(Ot=>function $s(ve,ie,J,Ve){return function Fa(ve,ie,J,Ve){const Ke=es(ve);if(0===Ke.length)return(0,I.of)({});const At={};return(0,v.D)(Ke).pipe((0,Le.z)(Ot=>function Lo(ve,ie,J,Ve){const Ke=ki(ve,ie,Ve);return x(Ke.resolve?Ke.resolve(ie,J):Ke(ie,J))}(ve[Ot],ie,J,Ve).pipe((0,ue.b)(Ft=>{At[Ot]=Ft}))),ye(1),(0,Le.z)(()=>es(At).length===Ke.length?(0,I.of)(At):Q.E))}(ve._resolve,ve,ie,Ve).pipe((0,Y.U)(At=>(ve._resolvedData=At,ve.data=Object.assign(Object.assign({},ve.data),zi(ve,J).resolve),null)))}(Ot.route,Ve,ve,ie)),(0,ue.b)(()=>At++),ye(1),(0,Le.z)(Ot=>At===Ke.length?(0,I.of)(J):Q.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ue.b)({next:()=>Ci=!0,complete:()=>{Ci||(this.restoreHistory(Xt),this.cancelNavigationTransition(Xt,"At least one route resolver didn't emit any value."))}}))}),(0,ue.b)(Xt=>{const Ci=new ze(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ci)}))}),ts(Ft=>{const{targetSnapshot:Xt,id:Ci,extractedUrl:Gi,rawUrl:Di,extras:{skipLocationChange:Qi,replaceUrl:$i}}=Ft;return this.hooks.afterPreactivation(Xt,{navigationId:Ci,appliedUrlTree:Gi,rawUrlTree:Di,skipLocationChange:!!Qi,replaceUrl:!!$i})}),(0,Y.U)(Ft=>{const Xt=function fn(ve,ie,J){const Ve=Wi(ve,ie._root,J?J._root:void 0);return new ti(Ve,ie)}(this.routeReuseStrategy,Ft.targetSnapshot,Ft.currentRouterState);return Object.assign(Object.assign({},Ft),{targetRouterState:Xt})}),(0,ue.b)(Ft=>{this.currentUrlTree=Ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Ft.urlAfterRedirects,Ft.rawUrl),this.routerState=Ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ft),this.browserUrlTree=Ft.urlAfterRedirects)}),((ve,ie,J)=>(0,Y.U)(Ve=>(new Jn(ie,Ve.targetRouterState,Ve.currentRouterState,J).activate(ve),Ve)))(this.rootContexts,this.routeReuseStrategy,Ft=>this.triggerEvent(Ft)),(0,ue.b)({next(){At=!0},complete(){At=!0}}),(0,Me.x)(()=>{var Ft;At||Ot||this.cancelNavigationTransition(Ke,`Navigation ID ${Ke.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Ft=this.currentNavigation)||void 0===Ft?void 0:Ft.id)===Ke.id&&(this.currentNavigation=null)}),(0,Se.K)(Ft=>{if(Ot=!0,function u(ve){return ve&&ve[i]}(Ft)){const Xt=En(Ft.url);Xt||(this.navigated=!0,this.restoreHistory(Ke,!0));const Ci=new ce(Ke.id,this.serializeUrl(Ke.extractedUrl),Ft.message);Ve.next(Ci),Xt?setTimeout(()=>{const Gi=this.urlHandlingStrategy.merge(Ft.url,this.rawUrlTree),Di={skipLocationChange:Ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rs(Ke.source)};this.scheduleNavigation(Gi,"imperative",null,Di,{resolve:Ke.resolve,reject:Ke.reject,promise:Ke.promise})},0):Ke.resolve(!1)}else{this.restoreHistory(Ke,!0);const Xt=new fe(Ke.id,this.serializeUrl(Ke.extractedUrl),Ft);Ve.next(Xt);try{Ke.resolve(this.errorHandler(Ft))}catch(Ci){Ke.reject(Ci)}}return Q.E}))}))}resetRootComponentType(J){this.rootComponentType=J,this.routerState.root.component=this.rootComponentType}setTransition(J){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),J))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(J=>{const Ve="popstate"===J.type?"popstate":"hashchange";"popstate"===Ve&&setTimeout(()=>{var Ke;const At={replaceUrl:!0},Ot=(null===(Ke=J.state)||void 0===Ke?void 0:Ke.navigationId)?J.state:null;if(Ot){const Xt=Object.assign({},Ot);delete Xt.navigationId,delete Xt.\u0275routerPageId,0!==Object.keys(Xt).length&&(At.state=Xt)}const Ft=this.parseUrl(J.url);this.scheduleNavigation(Ft,Ve,Ot,At)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(J){this.events.next(J)}resetConfig(J){Gn(J),this.config=J.map(zn),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(J,Ve={}){const{relativeTo:Ke,queryParams:At,fragment:Ot,queryParamsHandling:Ft,preserveFragment:Xt}=Ve,Ci=Ke||this.routerState.root,Gi=Xt?this.currentUrlTree.fragment:Ot;let Di=null;switch(Ft){case"merge":Di=Object.assign(Object.assign({},this.currentUrlTree.queryParams),At);break;case"preserve":Di=this.currentUrlTree.queryParams;break;default:Di=At||null}return null!==Di&&(Di=this.removeEmptyProps(Di)),function On(ve,ie,J,Ve,Ke){if(0===J.length)return ln(ie.root,ie.root,ie,Ve,Ke);const At=function Kt(ve){if("string"==typeof ve[0]&&1===ve.length&&"/"===ve[0])return new St(!0,0,ve);let ie=0,J=!1;const Ve=ve.reduce((Ke,At,Ot)=>{if("object"==typeof At&&null!=At){if(At.outlets){const Ft={};return f(At.outlets,(Xt,Ci)=>{Ft[Ci]="string"==typeof Xt?Xt.split("/"):Xt}),[...Ke,{outlets:Ft}]}if(At.segmentPath)return[...Ke,At.segmentPath]}return"string"!=typeof At?[...Ke,At]:0===Ot?(At.split("/").forEach((Ft,Xt)=>{0==Xt&&"."===Ft||(0==Xt&&""===Ft?J=!0:".."===Ft?ie++:""!=Ft&&Ke.push(Ft))}),Ke):[...Ke,At]},[]);return new St(J,ie,Ve)}(J);if(At.toRoot())return ln(ie.root,new oe([],{}),ie,Ve,Ke);const Ot=function kt(ve,ie,J){if(ve.isAbsolute)return new st(ie.root,!0,0);if(-1===J.snapshot._lastPathIndex){const At=J.snapshot._urlSegment;return new st(At,At===ie.root,0)}const Ve=un(ve.commands[0])?0:1;return function Fe(ve,ie,J){let Ve=ve,Ke=ie,At=J;for(;At>Ke;){if(At-=Ke,Ve=Ve.parent,!Ve)throw new Error("Invalid number of '../'");Ke=Ve.segments.length}return new st(Ve,!1,Ke-At)}(J.snapshot._urlSegment,J.snapshot._lastPathIndex+Ve,ve.numberOfDoubleDots)}(At,ie,ve),Ft=Ot.processChildren?wt(Ot.segmentGroup,Ot.index,At.commands):Je(Ot.segmentGroup,Ot.index,At.commands);return ln(Ot.segmentGroup,Ft,ie,Ve,Ke)}(Ci,this.currentUrlTree,J,Di,null!=Gi?Gi:null)}navigateByUrl(J,Ve={skipLocationChange:!1}){const Ke=En(J)?J:this.parseUrl(J),At=this.urlHandlingStrategy.merge(Ke,this.rawUrlTree);return this.scheduleNavigation(At,"imperative",null,Ve)}navigate(J,Ve={skipLocationChange:!1}){return function Ga(ve){for(let ie=0;ie{const At=J[Ke];return null!=At&&(Ve[Ke]=At),Ve},{})}processNavigations(){this.navigations.subscribe(J=>{this.navigated=!0,this.lastSuccessfulId=J.id,this.currentPageId=J.targetPageId,this.events.next(new Pe(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,J.resolve(!0)},J=>{this.console.warn(`Unhandled Navigation Error: ${J}`)})}scheduleNavigation(J,Ve,Ke,At,Ot){var Ft,Xt,Ci;if(this.disposed)return Promise.resolve(!1);const Gi=this.transitions.value,Di=rs(Ve)&&Gi&&!rs(Gi.source),Qi=Gi.rawUrl.toString()===J.toString(),$i=Gi.id===(null===(Ft=this.currentNavigation)||void 0===Ft?void 0:Ft.id);if(Di&&Qi&&$i)return Promise.resolve(!0);let pr,fr,Kn;Ot?(pr=Ot.resolve,fr=Ot.reject,Kn=Ot.promise):Kn=new Promise((Br,Ya)=>{pr=Br,fr=Ya});const Er=++this.navigationId;let mr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Ke=this.location.getState()),mr=Ke&&Ke.\u0275routerPageId?Ke.\u0275routerPageId:At.replaceUrl||At.skipLocationChange?null!==(Xt=this.browserPageId)&&void 0!==Xt?Xt:0:(null!==(Ci=this.browserPageId)&&void 0!==Ci?Ci:0)+1):mr=0,this.setTransition({id:Er,targetPageId:mr,source:Ve,restoredState:Ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:J,extras:At,resolve:pr,reject:fr,promise:Kn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kn.catch(Br=>Promise.reject(Br))}setBrowserUrl(J,Ve){const Ke=this.urlSerializer.serialize(J),At=Object.assign(Object.assign({},Ve.extras.state),this.generateNgRouterState(Ve.id,Ve.targetPageId));this.location.isCurrentPathEqualTo(Ke)||Ve.extras.replaceUrl?this.location.replaceState(Ke,"",At):this.location.go(Ke,"",At)}restoreHistory(J,Ve=!1){var Ke,At;if("computed"===this.canceledNavigationResolution){const Ot=this.currentPageId-J.targetPageId;"popstate"!==J.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Ke=this.currentNavigation)||void 0===Ke?void 0:Ke.finalUrl)||0===Ot?this.currentUrlTree===(null===(At=this.currentNavigation)||void 0===At?void 0:At.finalUrl)&&0===Ot&&(this.resetState(J),this.browserUrlTree=J.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(Ot)}else"replace"===this.canceledNavigationResolution&&(Ve&&this.resetState(J),this.resetUrlToCurrentUrlTree())}resetState(J){this.routerState=J.currentRouterState,this.currentUrlTree=J.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,J.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(J,Ve){const Ke=new ce(J.id,this.serializeUrl(J.extractedUrl),Ve);this.triggerEvent(Ke),J.resolve(!1)}generateNgRouterState(J,Ve){return"computed"===this.canceledNavigationResolution?{navigationId:J,\u0275routerPageId:Ve}:{navigationId:J}}}return ve.\u0275fac=function(J){e.$Z()},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function rs(ve){return"imperative"!==ve}let ss=(()=>{class ve{constructor(J,Ve,Ke,At,Ot){this.router=J,this.route=Ve,this.tabIndexAttribute=Ke,this.renderer=At,this.el=Ot,this.commands=null,this.onChanges=new he.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(J){if(null!=this.tabIndexAttribute)return;const Ve=this.renderer,Ke=this.el.nativeElement;null!==J?Ve.setAttribute(Ke,"tabindex",J):Ve.removeAttribute(Ke,"tabindex")}ngOnChanges(J){this.onChanges.next(this)}set routerLink(J){null!=J?(this.commands=Array.isArray(J)?J:[J],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const J={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,J),!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:ur(this.preserveFragment)})}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(Vn),e.Y36(wi),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},ve.\u0275dir=e.lG2({type:ve,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(J,Ve){1&J&&e.NdJ("click",function(){return Ve.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),ve})(),as=(()=>{class ve{constructor(J,Ve,Ke){this.router=J,this.route=Ve,this.locationStrategy=Ke,this.commands=null,this.href=null,this.onChanges=new he.x,this.subscription=J.events.subscribe(At=>{At instanceof Pe&&this.updateTargetUrlAndHref()})}set routerLink(J){this.commands=null!=J?Array.isArray(J)?J:[J]:null}ngOnChanges(J){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(J,Ve,Ke,At,Ot){if(0!==J||Ve||Ke||At||Ot||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Ft={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Ft),!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:ur(this.preserveFragment)})}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(Vn),e.Y36(wi),e.Y36(P.S$))},ve.\u0275dir=e.lG2({type:ve,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(J,Ve){1&J&&e.NdJ("click",function(At){return Ve.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&J&&e.uIk("target",Ve.target)("href",Ve.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]}),ve})();function ur(ve){return""===ve||!!ve}class cs{}class Xs{preload(ie,J){return(0,I.of)(null)}}let hr=(()=>{class ve{constructor(J,Ve,Ke,At){this.router=J,this.injector=Ke,this.preloadingStrategy=At,this.loader=new Ks(Ke,Ve,Xt=>J.triggerEvent(new Ue(Xt)),Xt=>J.triggerEvent(new _e(Xt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,pe.h)(J=>J instanceof Pe),(0,We.b)(()=>this.preload())).subscribe(()=>{})}preload(){const J=this.injector.get(e.h0i);return this.processRoutes(J,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(J,Ve){const Ke=[];for(const At of Ve)if(At.loadChildren&&!At.canLoad&&At._loadedConfig){const Ot=At._loadedConfig;Ke.push(this.processRoutes(Ot.module,Ot.routes))}else At.loadChildren&&!At.canLoad?Ke.push(this.preloadConfig(J,At)):At.children&&Ke.push(this.processRoutes(J,At.children));return(0,v.D)(Ke).pipe((0,z.J)(),(0,Y.U)(At=>{}))}preloadConfig(J,Ve){return this.preloadingStrategy.preload(Ve,()=>(Ve._loadedConfig?(0,I.of)(Ve._loadedConfig):this.loader.load(J.injector,Ve)).pipe((0,Le.z)(At=>(Ve._loadedConfig=At,this.processRoutes(At.module,At.routes)))))}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(Vn),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(cs))},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Or=(()=>{class ve{constructor(J,Ve,Ke={}){this.router=J,this.viewportScroller=Ve,this.options=Ke,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ke.scrollPositionRestoration=Ke.scrollPositionRestoration||"disabled",Ke.anchorScrolling=Ke.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(J=>{J instanceof Ce?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=J.navigationTrigger,this.restoredId=J.restoredState?J.restoredState.navigationId:0):J instanceof Pe&&(this.lastId=J.id,this.scheduleScrollEvent(J,this.router.parseUrl(J.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(J=>{J instanceof V&&(J.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(J.position):J.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(J.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(J,Ve){this.router.triggerEvent(new V(J,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ve))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return ve.\u0275fac=function(J){e.$Z()},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Hr=new e.OlP("ROUTER_CONFIGURATION"),Fr=new e.OlP("ROUTER_FORROOT_GUARD"),ea=[P.Ye,{provide:Tt,useClass:ot},{provide:Vn,useFactory:function ia(ve,ie,J,Ve,Ke,At,Ot={},Ft,Xt){const Ci=new Vn(null,ve,ie,J,Ve,Ke,r(At));return Ft&&(Ci.urlHandlingStrategy=Ft),Xt&&(Ci.routeReuseStrategy=Xt),function us(ve,ie){ve.errorHandler&&(ie.errorHandler=ve.errorHandler),ve.malformedUriErrorHandler&&(ie.malformedUriErrorHandler=ve.malformedUriErrorHandler),ve.onSameUrlNavigation&&(ie.onSameUrlNavigation=ve.onSameUrlNavigation),ve.paramsInheritanceStrategy&&(ie.paramsInheritanceStrategy=ve.paramsInheritanceStrategy),ve.relativeLinkResolution&&(ie.relativeLinkResolution=ve.relativeLinkResolution),ve.urlUpdateStrategy&&(ie.urlUpdateStrategy=ve.urlUpdateStrategy),ve.canceledNavigationResolution&&(ie.canceledNavigationResolution=ve.canceledNavigationResolution)}(Ot,Ci),Ot.enableTracing&&Ci.events.subscribe(Gi=>{var Di,Qi;null===(Di=console.group)||void 0===Di||Di.call(console,`Router Event: ${Gi.constructor.name}`),console.log(Gi.toString()),console.log(Gi),null===(Qi=console.groupEnd)||void 0===Qi||Qi.call(console)}),Ci},deps:[Tt,xn,P.Ye,e.zs3,e.Sil,is,Hr,[class ns{},new e.FiY],[zr,new e.FiY]]},xn,{provide:wi,useFactory:function Wa(ve){return ve.routerState.root},deps:[Vn]},hr,Xs,class za{preload(ie,J){return J().pipe((0,Se.K)(()=>(0,I.of)(null)))}},{provide:Hr,useValue:{enableTracing:!1}}];function ko(){return new e.PXZ("Router",Vn)}let Vo=(()=>{class ve{constructor(J,Ve){}static forRoot(J,Ve){return{ngModule:ve,providers:[ea,ta(J),{provide:Fr,useFactory:ds,deps:[[Vn,new e.FiY,new e.tp0]]},{provide:Hr,useValue:Ve||{}},{provide:P.S$,useFactory:fd,deps:[P.lw,[new e.tBr(P.mr),new e.FiY],Hr]},{provide:Or,useFactory:pd,deps:[Vn,P.EM,Hr]},{provide:cs,useExisting:Ve&&Ve.preloadingStrategy?Ve.preloadingStrategy:Xs},{provide:e.PXZ,multi:!0,useFactory:ko},[hs,{provide:e.ip1,multi:!0,useFactory:Ur,deps:[hs]},{provide:Lr,useFactory:Fo,deps:[hs]},{provide:e.tb,multi:!0,useExisting:Lr}]]}}static forChild(J){return{ngModule:ve,providers:[ta(J)]}}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(Fr,8),e.LFG(Vn,8))},ve.\u0275mod=e.oAB({type:ve}),ve.\u0275inj=e.cJS({}),ve})();function pd(ve,ie,J){return J.scrollOffset&&ie.setOffset(J.scrollOffset),new Or(ve,ie,J)}function fd(ve,ie,J={}){return J.useHash?new P.Do(ve,ie):new P.b0(ve,ie)}function ds(ve){return"guarded"}function ta(ve){return[{provide:e.deG,multi:!0,useValue:ve},{provide:is,multi:!0,useValue:ve}]}let hs=(()=>{class ve{constructor(J){this.injector=J,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new he.x}appInitializer(){return this.injector.get(P.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Ve=null;const Ke=new Promise(Ft=>Ve=Ft),At=this.injector.get(Vn),Ot=this.injector.get(Hr);return"disabled"===Ot.initialNavigation?(At.setUpLocationChangeListener(),Ve(!0)):"enabled"===Ot.initialNavigation||"enabledBlocking"===Ot.initialNavigation?(At.hooks.afterPreactivation=()=>this.initNavigation?(0,I.of)(null):(this.initNavigation=!0,Ve(!0),this.resultOfPreactivationDone),At.initialNavigation()):Ve(!0),Ke})}bootstrapListener(J){const Ve=this.injector.get(Hr),Ke=this.injector.get(hr),At=this.injector.get(Or),Ot=this.injector.get(Vn),Ft=this.injector.get(e.z2F);J===Ft.components[0]&&(("enabledNonBlocking"===Ve.initialNavigation||void 0===Ve.initialNavigation)&&Ot.initialNavigation(),Ke.setUpPreloading(),At.init(),Ot.resetRootComponentType(Ft.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(e.zs3))},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function Ur(ve){return ve.appInitializer.bind(ve)}function Fo(ve){return ve.bootstrapListener.bind(ve)}const Lr=new e.OlP("Router Initializer")},51062:(qe,me,h)=>{"use strict";h.d(me,{Zw:()=>q,aw:()=>Le,X$:()=>ge,sK:()=>Se});var e=h(5e3),c=h(39646),g=h(45191),w=h(4128),_=h(97272),b=h(49770),E=h(95698),v=h(34782),I=h(54004),N=h(24351),A=h(63900);class q{}let j=(()=>{class ue extends q{getTranslation(z){return(0,c.of)({})}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class G{}let Q=(()=>{class ue{handle(z){return z.key}}return ue.\u0275fac=function(z){return new(z||ue)},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();function he(ue,Me){if(ue===Me)return!0;if(null===ue||null===Me)return!1;if(ue!=ue&&Me!=Me)return!0;let de,Ce,Pe,z=typeof ue;if(z==typeof Me&&"object"==z){if(!Array.isArray(ue)){if(Array.isArray(Me))return!1;for(Ce in Pe=Object.create(null),ue){if(!he(ue[Ce],Me[Ce]))return!1;Pe[Ce]=!0}for(Ce in Me)if(!(Ce in Pe)&&void 0!==Me[Ce])return!1;return!0}if(!Array.isArray(Me))return!1;if((de=ue.length)==Me.length){for(Ce=0;Ce{be(Me[P])?P in ue?z[P]=pe(ue[P],Me[P]):Object.assign(z,{[P]:Me[P]}):Object.assign(z,{[P]:Me[P]})}),z}class ye{}let T=(()=>{class ue extends ye{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(z,P){let de;return de="string"==typeof z?this.interpolateString(z,P):"function"==typeof z?this.interpolateFunction(z,P):z,de}getValue(z,P){let de="string"==typeof P?P.split("."):[P];P="";do{P+=de.shift(),!F(z)||!F(z[P])||"object"!=typeof z[P]&&de.length?de.length?P+=".":z=void 0:(z=z[P],P="")}while(de.length);return z}interpolateFunction(z,P){return z(P)}interpolateString(z,P){return P?z.replace(this.templateMatcher,(de,Ce)=>{let Pe=this.getValue(P,Ce);return F(Pe)?Pe:de}):z}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class R{}let L=(()=>{class ue extends R{compile(z,P){return z}compileTranslations(z,P){return z}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();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 Y=new e.OlP("USE_STORE"),se=new e.OlP("USE_DEFAULT_LANG"),Te=new e.OlP("DEFAULT_LANGUAGE"),Oe=new e.OlP("USE_EXTEND");let Se=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce=!0,fe=!1,Ze=!1,ne){this.store=z,this.currentLoader=P,this.compiler=de,this.parser=Ce,this.missingTranslationHandler=Pe,this.useDefaultLang=ce,this.isolate=fe,this.extend=Ze,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},ne&&this.setDefaultLang(ne)}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(z){this.isolate?this._defaultLang=z:this.store.defaultLang=z}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(z){this.isolate?this._currentLang=z:this.store.currentLang=z}get langs(){return this.isolate?this._langs:this.store.langs}set langs(z){this.isolate?this._langs=z:this.store.langs=z}get translations(){return this.isolate?this._translations:this.store.translations}set translations(z){this.isolate?this._translations=z:this.store.translations=z}setDefaultLang(z){if(z===this.defaultLang)return;let P=this.retrieveTranslations(z);void 0!==P?(null==this.defaultLang&&(this.defaultLang=z),P.pipe((0,E.q)(1)).subscribe(de=>{this.changeDefaultLang(z)})):this.changeDefaultLang(z)}getDefaultLang(){return this.defaultLang}use(z){if(z===this.currentLang)return(0,c.of)(this.translations[z]);let P=this.retrieveTranslations(z);return void 0!==P?(this.currentLang||(this.currentLang=z),P.pipe((0,E.q)(1)).subscribe(de=>{this.changeLang(z)}),P):(this.changeLang(z),(0,c.of)(this.translations[z]))}retrieveTranslations(z){let P;return(void 0===this.translations[z]||this.extend)&&(this._translationRequests[z]=this._translationRequests[z]||this.getTranslation(z),P=this._translationRequests[z]),P}getTranslation(z){this.pending=!0;const P=this.currentLoader.getTranslation(z).pipe((0,v.d)(1),(0,E.q)(1));return this.loadingTranslations=P.pipe((0,I.U)(de=>this.compiler.compileTranslations(de,z)),(0,v.d)(1),(0,E.q)(1)),this.loadingTranslations.subscribe({next:de=>{this.translations[z]=this.extend&&this.translations[z]?Object.assign(Object.assign({},de),this.translations[z]):de,this.updateLangs(),this.pending=!1},error:de=>{this.pending=!1}}),P}setTranslation(z,P,de=!1){P=this.compiler.compileTranslations(P,z),this.translations[z]=(de||this.extend)&&this.translations[z]?pe(this.translations[z],P):P,this.updateLangs(),this.onTranslationChange.emit({lang:z,translations:this.translations[z]})}getLangs(){return this.langs}addLangs(z){z.forEach(P=>{-1===this.langs.indexOf(P)&&this.langs.push(P)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(z,P,de){let Ce;if(P instanceof Array){let Pe={},ce=!1;for(let fe of P)Pe[fe]=this.getParsedResult(z,fe,de),(0,g.b)(Pe[fe])&&(ce=!0);if(ce){const fe=P.map(Ze=>(0,g.b)(Pe[Ze])?Pe[Ze]:(0,c.of)(Pe[Ze]));return(0,w.D)(fe).pipe((0,I.U)(Ze=>{let ne={};return Ze.forEach((it,Be)=>{ne[P[Be]]=it}),ne}))}return Pe}if(z&&(Ce=this.parser.interpolate(this.parser.getValue(z,P),de)),void 0===Ce&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ce=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],P),de)),void 0===Ce){let Pe={key:P,translateService:this};void 0!==de&&(Pe.interpolateParams=de),Ce=this.missingTranslationHandler.handle(Pe)}return void 0!==Ce?Ce:P}get(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,N.b)(de=>(de=this.getParsedResult(de,z,P),(0,g.b)(de)?de:(0,c.of)(de))));{let de=this.getParsedResult(this.translations[this.currentLang],z,P);return(0,g.b)(de)?de:(0,c.of)(de)}}getStreamOnTranslationChange(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');return(0,_.z)((0,b.P)(()=>this.get(z,P)),this.onTranslationChange.pipe((0,A.w)(de=>{const Ce=this.getParsedResult(de.translations,z,P);return"function"==typeof Ce.subscribe?Ce:(0,c.of)(Ce)})))}stream(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');return(0,_.z)((0,b.P)(()=>this.get(z,P)),this.onLangChange.pipe((0,A.w)(de=>{const Ce=this.getParsedResult(de.translations,z,P);return(0,g.b)(Ce)?Ce:(0,c.of)(Ce)})))}instant(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');let de=this.getParsedResult(this.translations[this.currentLang],z,P);if((0,g.b)(de)){if(z instanceof Array){let Ce={};return z.forEach((Pe,ce)=>{Ce[z[ce]]=z[ce]}),Ce}return z}return de}set(z,P,de=this.currentLang){this.translations[de][z]=this.compiler.compile(P,de),this.updateLangs(),this.onTranslationChange.emit({lang:de,translations:this.translations[de]})}changeLang(z){this.currentLang=z,this.onLangChange.emit({lang:z,translations:this.translations[z]}),null==this.defaultLang&&this.changeDefaultLang(z)}changeDefaultLang(z){this.defaultLang=z,this.onDefaultLangChange.emit({lang:z,translations:this.translations[z]})}reloadLang(z){return this.resetLang(z),this.getTranslation(z)}resetLang(z){this._translationRequests[z]=void 0,this.translations[z]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==z?(-1!==z.indexOf("-")&&(z=z.split("-")[0]),-1!==z.indexOf("_")&&(z=z.split("_")[0]),z):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,z}}return ue.\u0275fac=function(z){return new(z||ue)(e.LFG(X),e.LFG(q),e.LFG(R),e.LFG(ye),e.LFG(G),e.LFG(se),e.LFG(Y),e.LFG(Oe),e.LFG(Te))},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),ge=(()=>{class ue{constructor(z,P){this.translate=z,this._ref=P,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(z,P,de){let Ce=Pe=>{this.value=void 0!==Pe?Pe:z,this.lastKey=z,this._ref.markForCheck()};if(de){let Pe=this.translate.getParsedResult(de,z,P);(0,g.b)(Pe.subscribe)?Pe.subscribe(Ce):Ce(Pe)}this.translate.get(z,P).subscribe(Ce)}transform(z,...P){if(!z||!z.length)return z;if(he(z,this.lastKey)&&he(P,this.lastParams))return this.value;let de;if(F(P[0])&&P.length)if("string"==typeof P[0]&&P[0].length){let Ce=P[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{de=JSON.parse(Ce)}catch(Pe){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${P[0]}`)}}else"object"==typeof P[0]&&!Array.isArray(P[0])&&(de=P[0]);return this.lastKey=z,this.lastParams=P,this.updateValue(z,de),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ce=>{this.lastKey&&Ce.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(z,de,Ce.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ce=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,de,Ce.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,de))})),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 ue.\u0275fac=function(z){return new(z||ue)(e.Y36(Se,16),e.Y36(e.sBO,16))},ue.\u0275pipe=e.Yjl({name:"translate",type:ue,pure:!1}),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),Le=(()=>{class ue{static forRoot(z={}){return{ngModule:ue,providers:[z.loader||{provide:q,useClass:j},z.compiler||{provide:R,useClass:L},z.parser||{provide:ye,useClass:T},z.missingTranslationHandler||{provide:G,useClass:Q},X,{provide:Y,useValue:z.isolate},{provide:se,useValue:z.useDefaultLang},{provide:Oe,useValue:z.extend},{provide:Te,useValue:z.defaultLanguage},Se]}}static forChild(z={}){return{ngModule:ue,providers:[z.loader||{provide:q,useClass:j},z.compiler||{provide:R,useClass:L},z.parser||{provide:ye,useClass:T},z.missingTranslationHandler||{provide:G,useClass:Q},{provide:Y,useValue:z.isolate},{provide:se,useValue:z.useDefaultLang},{provide:Oe,useValue:z.extend},{provide:Te,useValue:z.defaultLanguage},Se]}}}return ue.\u0275fac=function(z){return new(z||ue)},ue.\u0275mod=e.oAB({type:ue}),ue.\u0275inj=e.cJS({}),ue})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(77579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(39646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(32076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(54355),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(62843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(39841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(56451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(39300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(18505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(78372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(91005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(63900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(54004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(50590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(70262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(17414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(95698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(86099),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class qe extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return qe.\u0275fac=function(){let me;return function(e){return(me||(me=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(qe)))(e||qe)}}(),qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class qe{constructor(){this.data=new Map}getItem(h){return this.data.get(h)}removeItem(h){this.data.delete(h)}setItem(h,e){this.data.set(h,e)}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class ReceivedTokens{}class OAuthEvent{constructor(me){this.type=me}}class OAuthSuccessEvent extends OAuthEvent{constructor(me,h=null){super(me),this.info=h}}class OAuthInfoEvent extends OAuthEvent{constructor(me,h=null){super(me),this.info=h}}class OAuthErrorEvent extends OAuthEvent{constructor(me,h,e=null){super(me),this.reason=h,this.params=e}}function b64DecodeUnicode(qe){const me=qe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(me).split("").map(function(h){return"%"+("00"+h.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(qe){return btoa(qe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(me){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=h=>{location.href=h},me&&Object.assign(this,me)}}class WebHttpUrlEncodingCodec{encodeKey(me){return encodeURIComponent(me)}encodeValue(me){return encodeURIComponent(me)}decodeKey(me){return decodeURIComponent(me)}decodeValue(me){return decodeURIComponent(me)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(me){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let h=this.inferHashAlgorithm(me.idTokenHeader),e=yield this.calcHash(me.accessToken,h),g=base64UrlEncode(e.substr(0,e.length/2)),w=me.idTokenClaims.at_hash.replace(/=/g,"");return g!==w&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+w)),g===w})}inferHashAlgorithm(me){let h=me.alg;if(!h.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+h);return"sha-"+h.substr(2)}}let UrlHelperService=(()=>{class qe{getHashFragmentParams(h){let e=h||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const c=e.indexOf("?");return e=e.substr(c>-1?c+1:1),this.parseQueryString(e)}parseQueryString(h){const e={};let c,g,w,_,b,E,v;if(null===h)return e;c=h.split("&");for(let I=0;I>6,g[_++]=128|63&b):b<55296||b>=57344?(g[_++]=224|b>>12,g[_++]=128|b>>6&63,g[_++]=128|63&b):(b=65536+((1023&b)<<10|1023&qe.charCodeAt(++e)),g[_++]=240|b>>18,g[_++]=128|b>>12&63,g[_++]=128|b>>6&63,g[_++]=128|63&b);qe=g}else{if("object"!==c)throw new Error(ERROR);if(null===qe)throw new Error(ERROR);if(ARRAY_BUFFER&&qe.constructor===ArrayBuffer)qe=new Uint8Array(qe);else if(!(Array.isArray(qe)||ARRAY_BUFFER&&ArrayBuffer.isView(qe)))throw new Error(ERROR)}qe.length>64&&(qe=new Sha256(me,!0).update(qe).array());var E=[],v=[];for(e=0;e<64;++e){var I=qe[e]||0;E[e]=92^I,v[e]=54^I}Sha256.call(this,me,h),this.update(v),this.oKeyPad=E,this.inner=!0,this.sharedMemory=h}Sha256.prototype.update=function(qe){if(!this.finalized){var me,h=typeof qe;if("string"!==h){if("object"!==h)throw new Error(ERROR);if(null===qe)throw new Error(ERROR);if(ARRAY_BUFFER&&qe.constructor===ArrayBuffer)qe=new Uint8Array(qe);else if(!(Array.isArray(qe)||ARRAY_BUFFER&&ArrayBuffer.isView(qe)))throw new Error(ERROR);me=!0}for(var e,g,c=0,w=qe.length,_=this.blocks;c>2]|=qe[c]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(_[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=_[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 qe=this.blocks,me=this.lastByteIndex;qe[16]=this.block,qe[me>>2]|=EXTRA[3&me],this.block=qe[16],me>=56&&(this.hashed||this.hash(),qe[0]=this.block,qe[16]=qe[1]=qe[2]=qe[3]=qe[4]=qe[5]=qe[6]=qe[7]=qe[8]=qe[9]=qe[10]=qe[11]=qe[12]=qe[13]=qe[14]=qe[15]=0),qe[14]=this.hBytes<<3|this.bytes>>>29,qe[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var E,A,G,Q,he,F,qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=this.blocks;for(E=16;E<64;++E)b[E]=b[E-16]+(((A=b[E-15])>>>7|A<<25)^(A>>>18|A<<14)^A>>>3)+b[E-7]+(((A=b[E-2])>>>17|A<<15)^(A>>>19|A<<13)^A>>>10)<<0;for(F=me&h,E=0;E<64;E+=4)this.first?(this.is224?(G=300032,_=(A=b[0]-1413257819)-150054599<<0,e=A+24177077<<0):(G=704751109,_=(A=b[0]-210244248)-1521486534<<0,e=A+143694565<<0),this.first=!1):(_=e+(A=_+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&g^~c&w)+K[E]+b[E])<<0,e=A+(((qe>>>2|qe<<30)^(qe>>>13|qe<<19)^(qe>>>22|qe<<10))+((G=qe&me)^qe&h^F))<<0),w=h+(A=w+((_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7))+(_&c^~_&g)+K[E+1]+b[E+1])<<0,h=A+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+((Q=e&qe)^e&me^G))<<0,g=me+(A=g+((w>>>6|w<<26)^(w>>>11|w<<21)^(w>>>25|w<<7))+(w&_^~w&c)+K[E+2]+b[E+2])<<0,me=A+(((h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10))+((he=h&e)^h&qe^Q))<<0,c=qe+(A=c+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&w^~g&_)+K[E+3]+b[E+3])<<0,qe=A+(((me>>>2|me<<30)^(me>>>13|me<<19)^(me>>>22|me<<10))+((F=me&h)^me&e^he))<<0;this.h0=this.h0+qe<<0,this.h1=this.h1+me<<0,this.h2=this.h2+h<<0,this.h3=this.h3+e<<0,this.h4=this.h4+c<<0,this.h5=this.h5+g<<0,this.h6=this.h6+w<<0,this.h7=this.h7+_<<0},Sha256.prototype.hex=function(){this.finalize();var qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=HEX_CHARS[qe>>28&15]+HEX_CHARS[qe>>24&15]+HEX_CHARS[qe>>20&15]+HEX_CHARS[qe>>16&15]+HEX_CHARS[qe>>12&15]+HEX_CHARS[qe>>8&15]+HEX_CHARS[qe>>4&15]+HEX_CHARS[15&qe]+HEX_CHARS[me>>28&15]+HEX_CHARS[me>>24&15]+HEX_CHARS[me>>20&15]+HEX_CHARS[me>>16&15]+HEX_CHARS[me>>12&15]+HEX_CHARS[me>>8&15]+HEX_CHARS[me>>4&15]+HEX_CHARS[15&me]+HEX_CHARS[h>>28&15]+HEX_CHARS[h>>24&15]+HEX_CHARS[h>>20&15]+HEX_CHARS[h>>16&15]+HEX_CHARS[h>>12&15]+HEX_CHARS[h>>8&15]+HEX_CHARS[h>>4&15]+HEX_CHARS[15&h]+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[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]+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[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];return this.is224||(b+=HEX_CHARS[_>>28&15]+HEX_CHARS[_>>24&15]+HEX_CHARS[_>>20&15]+HEX_CHARS[_>>16&15]+HEX_CHARS[_>>12&15]+HEX_CHARS[_>>8&15]+HEX_CHARS[_>>4&15]+HEX_CHARS[15&_]),b},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=[qe>>24&255,qe>>16&255,qe>>8&255,255&qe,me>>24&255,me>>16&255,me>>8&255,255&me,h>>24&255,h>>16&255,h>>8&255,255&h,e>>24&255,e>>16&255,e>>8&255,255&e,c>>24&255,c>>16&255,c>>8&255,255&c,g>>24&255,g>>16&255,g>>8&255,255&g,w>>24&255,w>>16&255,w>>8&255,255&w];return this.is224||b.push(_>>24&255,_>>16&255,_>>8&255,255&_),b},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var qe=new ArrayBuffer(this.is224?28:32),me=new DataView(qe);return me.setUint32(0,this.h0),me.setUint32(4,this.h1),me.setUint32(8,this.h2),me.setUint32(12,this.h3),me.setUint32(16,this.h4),me.setUint32(20,this.h5),me.setUint32(24,this.h6),this.is224||me.setUint32(28,this.h7),qe},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var qe=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(qe),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(qe){if("string"!=typeof qe)throw new TypeError("expected string");var me,h=qe,e=new Uint8Array(h.length);for(me=0;me{class qe{calcHash(h,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(h)))})}toHashString2(h){let e="";for(let c of h)e+=String.fromCharCode(c);return e}toHashString(h){const e=new Uint8Array(h);let c="";for(let g of e)c+=String.fromCharCode(g);return c}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),OAuthService=(()=>{class qe extends AuthConfig{constructor(h,e,c,g,w,_,b,E,v,I){var N;super(),this.ngZone=h,this.http=e,this.config=w,this.urlHelper=_,this.logger=b,this.crypto=E,this.dateTimeService=I,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=v,w||(w={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),w&&this.configure(w);try{c?this.setStorage(c):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(A){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",A)}if(this.checkLocalStorageAccessable()){const A=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==A?void 0:A.includes("MSIE "))||(null==A?void 0:A.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const h="test";try{return void 0!==window.localStorage&&(localStorage.setItem(h,h),localStorage.removeItem(h),!0)}catch(e){return!1}}configure(h){Object.assign(this,new AuthConfig,h),this.config=Object.assign({},new AuthConfig,h),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)(h=>"token_received"===h.type)).subscribe(h=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(h={},e,c=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(w=>{"token_received"===w.type?g=!0:"logout"===w.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_expires"===w.type&&(null==e||"any"===e||w.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(w=>{g&&this.refreshInternal(h,c).catch(_=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(h,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(h,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(h=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(h))}loadDiscoveryDocumentAndLogin(h=null){return this.loadDiscoveryDocumentAndTryLogin(h=h||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof h.state?h.state:""),!1))}debug(...h){this.showDebugInformation&&this.logger.debug.apply(this.logger,h)}validateUrlFromDiscoveryDocument(h){const e=[],c=this.validateUrlForHttps(h),g=this.validateUrlAgainstIssuer(h);return c||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(h){if(!h)return!0;const e=h.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(h,e){if(!h)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(h))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(h){return!this.strictDiscoveryDocumentValidation||!h||h.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)(h=>"token_received"===h.type)).subscribe(h=>{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 h=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),c=this.calcTimeout(e,h);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)(c)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const h=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),c=this.calcTimeout(e,h);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)(c)).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(h,e){const c=this.dateTimeService.now();return Math.max(0,(e-h)*this.timeoutFactor-(c-h))}setStorage(h){this._storage=h,this.configChanged()}loadDiscoveryDocument(h=null){return new Promise((e,c)=>{h||((h=this.issuer||"").endsWith("/")||(h+="/"),h+=".well-known/openid-configuration"),this.validateUrlForHttps(h)?this.http.get(h).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void c("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(w=>{const b=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:w});this.eventsSubject.next(b),e(b)}).catch(w=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",w)),c(w)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),c(g)}):c("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((h,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(c=>{this.jwks=c,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),h(c)},c=>{this.logger.error("error loading jwks",c),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",c)),e(c)}):h(null)})}validateDiscoveryDocument(h){let e;return this.skipIssuerCheck||h.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(h.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(h.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(h.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!h.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: "+h.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(h,e,c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(h,e,c).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((h,e)=>{const c=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:c,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let w=JSON.parse(g.body);const _=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!_.sub||w.sub!==_.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");w=Object.assign({},_,w),this._storage.setItem("id_token_claims_obj",JSON.stringify(w)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),h({info:w})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),h(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(h,e,c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:h,password:e},c)}fetchTokenUsingGrant(h,e,c=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",h).set("scope",this.scope);if(this.useHttpBasicAuth){const w=btoa(`${this.clientId}:${this.dummyClientSecret}`);c=c.set("Authorization","Basic "+w)}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 w of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(w,this.customQueryParams[w]);for(const w of Object.keys(e))g=g.set(w,e[w]);return c=c.set("Content-Type","application/x-www-form-urlencoded"),new Promise((w,_)=>{this.http.post(this.tokenEndpoint,g,{headers:c}).subscribe(b=>{this.debug("tokenResponse",b),this.storeAccessTokenResponse(b.access_token,b.refresh_token,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b.scope,this.extractRecognizedCustomParameters(b)),this.oidc&&b.id_token&&this.processIdToken(b.id_token,b.access_token).then(E=>{this.storeIdToken(E),w(b)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),w(b)},b=>{this.logger.error("Error performing ${grantType} flow",b),this.eventsSubject.next(new OAuthErrorEvent("token_error",b)),_(b)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((h,e)=>{let c=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 w=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+w)}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 w of Object.getOwnPropertyNames(this.customQueryParams))c=c.set(w,this.customQueryParams[w]);this.http.post(this.tokenEndpoint,c,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(w=>w.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(w.id_token,w.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(_=>this.storeIdToken(_)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(_=>w)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(w))).subscribe(w=>{this.debug("refresh tokenResponse",w),this.storeAccessTokenResponse(w.access_token,w.refresh_token,w.expires_in||this.fallbackAccessTokenExpirationTimeInSec,w.scope,this.extractRecognizedCustomParameters(w)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),h(w)},w=>{this.logger.error("Error refreshing token",w),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",w)),e(w)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=h=>{const e=this.processMessageEventMessage(h);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(c=>this.debug("tryLogin during silent refresh failed",c))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(h={},e=!0){const c=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(h.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=c.sub;const w=this.document.createElement("iframe");w.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,h).then(I=>{w.setAttribute("src",I),this.silentRefreshShowIFrame||(w.style.display="none"),this.document.body.appendChild(w)});const b=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(I=>I instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(I=>"token_received"===I.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),v=(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__.S)([b,E,v]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(I=>{if(I instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===I.type||(I=new OAuthErrorEvent("silent_refresh_error",I)),this.eventsSubject.next(I),I;return"token_received"===I.type&&(I=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(I)),I})).toPromise()}initImplicitFlowInPopup(h){return this.initLoginFlowInPopup(h)}initLoginFlowInPopup(h){return h=h||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((c,g)=>{let b,_=null;h.windowRef?h.windowRef&&!h.windowRef.closed&&(_=h.windowRef,_.location.href=e):_=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(h));const E=q=>{this.tryLogin({customHashFragment:q,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{I(),c(!0)},j=>{I(),g(j)})};_?b=window.setInterval(()=>{(!_||_.closed)&&(I(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const I=()=>{window.clearInterval(b),window.removeEventListener("storage",A),window.removeEventListener("message",N),null!==_&&_.close(),_=null},N=q=>{const j=this.processMessageEventMessage(q);j&&null!==j?(window.removeEventListener("storage",A),E(j)):console.log("false event firing")},A=q=>{"auth_hash"===q.key&&(window.removeEventListener("message",N),E(q.newValue))};window.addEventListener("message",N),window.addEventListener("storage",A)}))}calculatePopupFeatures(h){const e=h.height||470,c=h.width||500,g=window.screenLeft+(window.outerWidth-c)/2;return`location=no,toolbar=no,width=${c},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(h){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!h||!h.data||"string"!=typeof h.data)return;const c=h.data;return c.startsWith(e)?"#"+c.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=h=>{const e=h.origin.toLowerCase(),c=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),c.startsWith(e)){switch(h.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",h)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",c,"event",h)},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(h=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(h=>{this.debug("token refresh after session change worked")}).catch(h=>{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)(h=>"silently_refreshed"===h.type||"silent_refresh_timeout"===h.type||"silent_refresh_error"===h.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(h=>{"silently_refreshed"!==h.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 h=this.document.getElementById(this.sessionCheckIFrameName);h&&this.document.body.removeChild(h);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 h=this.document.getElementById(this.sessionCheckIFrameName);h||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),h.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(h="",e="",c="",g=!1,w={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const _=this;let b;b=c||this.redirectUri;const E=yield this.createAndSaveNonce();if(h=h?E+this.config.nonceStateSeparator+encodeURIComponent(h):E,!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 v=_.loginUrl.indexOf("?")>-1?"&":"?";let I=_.scope;this.oidc&&!I.match(/(^|\s)openid($|\s)/)&&(I="openid "+I);let N=_.loginUrl+v+"response_type="+encodeURIComponent(_.responseType)+"&client_id="+encodeURIComponent(_.clientId)+"&state="+encodeURIComponent(h)+"&redirect_uri="+encodeURIComponent(b)+"&scope="+encodeURIComponent(I);if(this.responseType.includes("code")&&!this.disablePKCE){const[A,q]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",q):this._storage.setItem("PKCE_verifier",q),N+="&code_challenge="+A,N+="&code_challenge_method=S256"}e&&(N+="&login_hint="+encodeURIComponent(e)),_.resource&&(N+="&resource="+encodeURIComponent(_.resource)),_.oidc&&(N+="&nonce="+encodeURIComponent(E)),g&&(N+="&prompt=none");for(const A of Object.keys(w))N+="&"+encodeURIComponent(A)+"="+encodeURIComponent(w[A]);if(this.customQueryParams)for(const A of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+A+"="+encodeURIComponent(this.customQueryParams[A]);return N})}initImplicitFlowInternal(h="",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 c={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(c=e),this.createLoginUrl(h,g,null,!1,c).then(this.config.openUri).catch(w=>{console.error("Error in initImplicitFlow",w),this.inImplicitFlow=!1})}initImplicitFlow(h="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(h,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"discovery_document_loaded"===c.type)).subscribe(c=>this.initImplicitFlowInternal(h,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(h){const e=this;if(h.onTokenReceived){const c={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};h.onTokenReceived(c)}}storeAccessTokenResponse(h,e,c,g,w){if(this._storage.setItem("access_token",h),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()),c){const _=1e3*c,E=this.dateTimeService.new().getTime()+_;this._storage.setItem("expires_at",""+E)}e&&this._storage.setItem("refresh_token",e),w&&w.forEach((_,b)=>{this._storage.setItem(b,_)})}tryLogin(h=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(h).then(e=>!0):this.tryLoginImplicitFlow(h)}parseQueryString(h){return h&&0!==h.length?("?"===h.charAt(0)&&(h=h.substr(1)),this.urlHelper.parseQueryString(h)):{}}tryLoginCodeFlow(h=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(h=h||{}).customHashFragment?h.customHashFragment.substring(1):window.location.search,c=this.getCodePartsFromUrl(e),g=c.code,w=c.state,_=c.session_state;if(!h.preventClearHashAfterLogin){const v=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,v)}let[b,E]=this.parseState(w);if(this.state=E,c.error){this.debug("error trying to login"),this.handleLoginError(h,c);const v=new OAuthErrorEvent("code_error",{},c);return this.eventsSubject.next(v),Promise.reject(v)}if(!h.disableNonceCheck){if(!b)return this.saveRequestedRoute(),Promise.resolve();if(!h.disableOAuth2StateCheck&&!this.validateNonce(b)){const I=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(I),Promise.reject(I)}return this.storeSessionState(_),g&&(yield this.getTokenFromCode(g,h),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const h=this._storage.getItem("requested_route");h&&history.replaceState(null,"",window.location.origin+h)}getCodePartsFromUrl(h){return h&&0!==h.length?("?"===h.charAt(0)&&(h=h.substr(1)),this.urlHelper.parseQueryString(h)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(h,e){let c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",h).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?c=c.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(c,e)}fetchAndProcessToken(h,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let c=(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}`);c=c.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(h=h.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(h=h.set("client_secret",this.dummyClientSecret)),new Promise((g,w)=>{if(this.customQueryParams)for(let _ of Object.getOwnPropertyNames(this.customQueryParams))h=h.set(_,this.customQueryParams[_]);this.http.post(this.tokenEndpoint,h,{headers:c}).subscribe(_=>{this.debug("refresh tokenResponse",_),this.storeAccessTokenResponse(_.access_token,_.refresh_token,_.expires_in||this.fallbackAccessTokenExpirationTimeInSec,_.scope,this.extractRecognizedCustomParameters(_)),this.oidc&&_.id_token?this.processIdToken(_.id_token,_.access_token,e.disableNonceCheck).then(b=>{this.storeIdToken(b),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(_)}).catch(b=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",b)),console.error("Error validating tokens"),console.error(b),w(b)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(_))},_=>{console.error("Error getting token",_),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",_)),w(_)})})}tryLoginImplicitFlow(h=null){let e;e=(h=h||{}).customHashFragment?this.urlHelper.getHashFragmentParams(h.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const c=e.state;let[g,w]=this.parseState(c);if(this.state=w,e.error){this.debug("error trying to login"),this.handleLoginError(h,e);const I=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(I),Promise.reject(I)}const _=e.access_token,b=e.id_token,E=e.session_state,v=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!_||this.requestAccessToken&&!h.disableOAuth2StateCheck&&!c||this.oidc&&!b)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!E&&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&&!h.disableNonceCheck&&!this.validateNonce(g)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(_,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v),this.oidc?this.processIdToken(b,_,h.disableNonceCheck).then(I=>h.validationHandler?h.validationHandler({accessToken:_,idClaims:I.idTokenClaims,idToken:I.idToken,state:c}).then(N=>I):I).then(I=>(this.storeIdToken(I),this.storeSessionState(E),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(h),this.inImplicitFlow=!1,!0)).catch(I=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",I)),this.logger.error("Error validating tokens"),this.logger.error(I),Promise.reject(I))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(h),Promise.resolve(!0))}parseState(h){let e=h,c="";if(h){const g=h.indexOf(this.config.nonceStateSeparator);g>-1&&(e=h.substr(0,g),c=h.substr(g+this.config.nonceStateSeparator.length))}return[e,c]}validateNonce(h){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===h||(console.error("Validating access_token failed, wrong state/nonce.",e,h),!1)}storeIdToken(h){this._storage.setItem("id_token",h.idToken),this._storage.setItem("id_token_claims_obj",h.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+h.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(h){this._storage.setItem("session_state",h)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(h,e){h.onLoginError&&h.onLoginError(e),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(h=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:h}processIdToken(h,e,c=!1){const g=h.split("."),_=b64DecodeUnicode(this.padBase64(g[0])),b=JSON.parse(_),v=b64DecodeUnicode(this.padBase64(g[1])),I=JSON.parse(v);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(I.aud)){if(I.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+I.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(I.aud!==this.clientId){const he="Wrong audience: "+I.aud;return this.logger.warn(he),Promise.reject(he)}if(!I.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==I.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${I.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!I.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&I.iss!==this.issuer){const he="Wrong issuer: "+I.iss;return this.logger.warn(he),Promise.reject(he)}if(!c&&I.nonce!==N){const he="Wrong nonce: "+I.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!I.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const A=this.dateTimeService.now(),q=1e3*I.iat,j=1e3*I.exp,G=this.getClockSkewInMsec();if(q-G>=A||j+G<=A){const he="Token has expired";return console.error(he),console.error({now:A,issuedAtMSec:q,expiresAtMSec:j}),Promise.reject(he)}const Q={accessToken:e,idToken:h,jwks:this.jwks,idTokenClaims:I,idTokenHeader:b,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(Q).then(he=>({idToken:h,idTokenClaims:I,idTokenClaimsJson:v,idTokenHeader:b,idTokenHeaderJson:_,idTokenExpiresAt:j})):this.checkAtHash(Q).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const F="Wrong at_hash";return this.logger.warn(F),Promise.reject(F)}return this.checkSignature(Q).then(F=>{const pe={idToken:h,idTokenClaims:I,idTokenClaimsJson:v,idTokenHeader:b,idTokenHeaderJson:_,idTokenExpiresAt:j};return this.disableAtHashCheck?pe:this.checkAtHash(Q).then(ye=>{if(this.requestAccessToken&&!ye){const T="Wrong at_hash";return this.logger.warn(T),Promise.reject(T)}return pe})})})}getIdentityClaims(){const h=this._storage.getItem("id_token_claims_obj");return h?JSON.parse(h):null}getGrantedScopes(){const h=this._storage.getItem("granted_scopes");return h?JSON.parse(h):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(h){for(;h.length%4!=0;)h+="=";return h}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 h=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(h&&parseInt(h,10)=0&&null!==this._storage.getItem(h)?JSON.parse(this._storage.getItem(h)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(h={},e=""){let c=!1;"boolean"==typeof h&&(c=h,h={});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(_=>this._storage.removeItem(_)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||c||!g&&!this.postLogoutRedirectUri)return;let w;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)w=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let _=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(_=_.set("id_token_hint",g));const b=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";b&&(_=_.set("post_logout_redirect_uri",b),e&&(_=_.set("state",e)));for(let E in h)_=_.set(E,h[E]);w=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+_.toString()}this.config.openUri(w)}createAndSaveNonce(){const h=this;return this.createNonce().then(function(e){return h.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):h._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const h=this.document.getElementById(this.silentRefreshIFrameName);h&&h.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(h=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let c=45,g="";const w="undefined"==typeof self?null:self.crypto||self.msCrypto;if(w){let _=new Uint8Array(c);w.getRandomValues(_),_.map||(_.map=Array.prototype.map),_=_.map(b=>e.charCodeAt(b%e.length)),g=String.fromCharCode.apply(null,_)}else for(;0"discovery_document_loaded"===c.type)).subscribe(c=>this.initCodeFlowInternal(h,e))}initCodeFlowInternal(h="",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 c={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(c=e),this.createLoginUrl(h,g,null,!1,c).then(this.config.openUri).catch(w=>{console.error("Error in initAuthorizationCodeFlow"),console.error(w)})}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 h=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(h,"sha-256")),h]})}extractRecognizedCustomParameters(h){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(c=>{h[c]&&e.set(c,JSON.stringify(h[c]))}),e}revokeTokenAndLogout(h={},e=!1){let c=this.revocationEndpoint,g=this.getAccessToken(),w=this.getRefreshToken();if(!g)return;let _=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),b=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const E=btoa(`${this.clientId}:${this.dummyClientSecret}`);b=b.set("Authorization","Basic "+E)}if(this.useHttpBasicAuth||(_=_.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(_=_.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const E of Object.getOwnPropertyNames(this.customQueryParams))_=_.set(E,this.customQueryParams[E]);return new Promise((E,v)=>{let I,N;if(g){let A=_.set("token",g).set("token_type_hint","access_token");I=this.http.post(c,A,{headers:b})}else I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(w){let A=_.set("token",w).set("token_type_hint","refresh_token");N=this.http.post(c,A,{headers:b})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(I=I.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(A=>0===A.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(A=>0===A.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([I,N]).subscribe(A=>{this.logOut(h),E(A),this.logger.info("Token successfully revoked")},A=>{this.logger.error("Error revoking token",A),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",A)),v(A)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return qe.\u0275fac=function(h){return new(h||qe)(_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))},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(me){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(me)}}let DefaultOAuthInterceptor=(()=>{class qe{constructor(h,e,c){this.oAuthService=h,this.errorHandler=e,this.moduleConfig=c}checkUrl(h){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(h):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>h.toLowerCase().startsWith(e.toLowerCase()))}intercept(h,e){const c=h.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(c)?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)(w=>!!w)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(w=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(w=>{if(w){const b=h.headers.set("Authorization","Bearer "+w);h=h.clone({headers:b})}return e.handle(h).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(_=>this.errorHandler.handleError(_)))})):e.handle(h).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>this.errorHandler.handleError(w))):e.handle(h)}}return qe.\u0275fac=function(h){return new(h||qe)(_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))},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class NullValidationHandler{validateSignature(me){return Promise.resolve(null)}validateAtHash(me){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class qe{static forRoot(h=null,e=NullValidationHandler){return{ngModule:qe,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:h},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:qe}),qe.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),qe})();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:(qe,me,h)=>{"use strict";h.d(me,{nu:()=>Ue,Co:()=>ae});var e=h(91159),c=h(5e3),g=h(93075),w=h(90508),_=h(67322),b=h(74107),E=h(61135),v=h(39646),I=h(39841),N=h(77579),A=h(63900),q=h(54004),j=h(68675),G=h(91005),Q=h(82722),he=h(95698),F=h(39300),be=h(18505),pe=h(29071),ye=h(15664),T=h(77446),R=h(20773),L=h(47423),X=h(25245),Y=h(69808),se=h(29772);const Te=["searchSelectInput"],Oe=["innerSelectSearch"];function Se(Ae,ee){if(1&Ae){const Ne=c.EpF();c.TgZ(0,"mat-checkbox",9),c.NdJ("change",function(H){return c.CHM(Ne),c.oxw()._emitSelectAllBooleanToParent(H.checked)}),c.qZA()}if(2&Ae){const Ne=c.oxw();c.Q6J("color",null==Ne.matFormField?null:Ne.matFormField.color)("checked",Ne.toggleAllCheckboxChecked)("indeterminate",Ne.toggleAllCheckboxIndeterminate)("matTooltip",Ne.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Ne.toogleAllCheckboxTooltipPosition)}}function We(Ae,ee){1&Ae&&c._UZ(0,"mat-spinner",10)}function ge(Ae,ee){1&Ae&&c.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Le(Ae,ee){if(1&Ae&&(c.TgZ(0,"mat-icon",14),c._uU(1),c.qZA()),2&Ae){const Ne=c.oxw(2);c.Q6J("svgIcon",Ne.closeSvgIcon),c.xp6(1),c.hij(" ",Ne.closeSvgIcon?null:Ne.closeIcon," ")}}function ue(Ae,ee){if(1&Ae){const Ne=c.EpF();c.TgZ(0,"button",11),c.NdJ("click",function(){return c.CHM(Ne),c.oxw()._reset(!0)}),c.YNc(1,ge,1,0,"ng-content",12),c.YNc(2,Le,2,2,"ng-template",null,13,c.W1O),c.qZA()}if(2&Ae){const Ne=c.MAs(3),V=c.oxw();c.xp6(1),c.Q6J("ngIf",V.clearIcon)("ngIfElse",Ne)}}function Me(Ae,ee){1&Ae&&c.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function z(Ae,ee){if(1&Ae&&c._uU(0),2&Ae){const Ne=c.oxw(2);c.Oqu(Ne.noEntriesFoundLabel)}}function P(Ae,ee){if(1&Ae&&(c.TgZ(0,"div",15),c.YNc(1,Me,1,0,"ng-content",12),c.YNc(2,z,1,1,"ng-template",null,16,c.W1O),c.qZA()),2&Ae){const Ne=c.MAs(3),V=c.oxw();c.xp6(1),c.Q6J("ngIf",V.noEntriesFound)("ngIfElse",Ne)}}const de=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Ce=function(Ae,ee){return{"mat-select-search-inner-multiple":Ae,"mat-select-search-inner-toggle-all":ee}},Pe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let ce=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275dir=c.lG2({type:Ae,selectors:[["","ngxMatSelectSearchClear",""]]}),Ae})();const fe=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","indexAndLengthScreenReaderText","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Ze=new c.OlP("mat-selectsearch-default-options");let Be=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275dir=c.lG2({type:Ae,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Ae})(),Ue=(()=>{class Ae{constructor(Ne,V,H,D=null,O,i=null,o){this.matSelect=Ne,this.changeDetectorRef=V,this._viewportRuler=H,this.matOption=D,this.liveAnnouncer=O,this.matFormField=i,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",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 c.vpe,this.onTouched=u=>{},this._options$=new E.X(null),this.optionsList$=this._options$.pipe((0,A.w)(u=>u?u.changes.pipe((0,q.U)(l=>l.toArray()),(0,j.O)(u.toArray())):(0,v.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,q.U)(u=>u?u.length:0)),this._formControl=new g.NI(""),this._showNoEntriesFound$=(0,I.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,q.U)(([u,l])=>this.noEntriesFoundLabel&&u&&l===this.getOptionsLengthOffset())),this._onDestroy=new N.x,this.applyDefaultOptions(o)}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(Ne){this._options$.next(Ne)}get _options(){return this._options$.getValue()}applyDefaultOptions(Ne){if(Ne)for(const V of fe)Ne.hasOwnProperty(V)&&(this[V]=Ne[V])}ngOnInit(){const Ne="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(Ne):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,Ne]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[Ne]=!0):this.matSelect.panelClass=Ne,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,G.g)(1),(0,Q.R)(this._onDestroy)).subscribe(V=>{V?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,he.q)(1)).pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let V=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const H=this._options.toArray(),D=H[this.getOptionsLengthOffset()],O=this.matSelect._keyManager;O&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(V,D)||!O.activeItem||!H.find(o=>this.matSelect.compareWith(o,O.activeItem)))&&O.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),V=D})})}),this._showNoEntriesFound$.pipe((0,Q.R)(this._onDestroy)).subscribe(V=>{this.matOption&&(V?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,Q.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Ne){this.toggleAll.emit(Ne)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Ne){(Ne.key&&1===Ne.key.length||Ne.keyCode>=e.A&&Ne.keyCode<=e.Z||Ne.keyCode>=e.xE&&Ne.keyCode<=e.aO||Ne.keyCode===e.L_||this.preventHomeEndKeyPropagation&&(Ne.keyCode===e.Sd||Ne.keyCode===e.uR))&&Ne.stopPropagation(),this.matSelect.multiple&&Ne.key&&Ne.keyCode===e.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&Ne.keyCode===e.hY&&this.value&&(this._reset(!0),Ne.stopPropagation())}_handleKeyup(Ne){if(Ne.keyCode===e.LH||Ne.keyCode===e.JH){const V=this.matSelect._getAriaActiveDescendant(),H=this._options.toArray().findIndex(D=>D.id===V);if(-1!==H){const D=this._options.toArray()[H];this.liveAnnouncer.announce(D.viewValue+" "+this.getAriaIndex(H)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(Ne){return 0===this.getOptionsLengthOffset()?Ne+1:Ne}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(Ne){this._lastExternalInputValue=Ne,this._formControl.setValue(Ne),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(Ne){this._formControl.valueChanges.pipe((0,F.h)(V=>V!==this._lastExternalInputValue),(0,be.b)(()=>this._lastExternalInputValue=void 0),(0,Q.R)(this._onDestroy)).subscribe(Ne)}registerOnTouched(Ne){this.onTouched=Ne}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Ne=this.matSelect.panel.nativeElement,V=Ne.scrollTop;this.searchSelectInput.nativeElement.focus(),Ne.scrollTop=V}_reset(Ne){this._formControl.setValue(""),Ne&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,Q.R)(this._onDestroy)).subscribe(Ne=>{let V=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Ne||!Array.isArray(Ne))&&(Ne=[]);const H=this.matSelect.options.map(D=>D.value);this.previousSelectedValues.forEach(D=>{!Ne.some(O=>this.matSelect.compareWith(O,D))&&!H.some(O=>this.matSelect.compareWith(O,D))&&(Ne.push(D),V=!0)})}this.previousSelectedValues=Ne,V&&this.matSelect._onChange(Ne)})):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 Ne=this.getMatOptionHeight(),V=this.matSelect._keyManager.activeItemIndex||0,H=(0,w.CB)(V,this.matSelect.options,this.matSelect.optionGroups),D=(this.matOption?-1:0)+H+V,O=this.matSelect.panel.nativeElement.scrollTop,i=this.innerSelectSearch.nativeElement.offsetHeight,o=Math.floor((256-i)/Ne),u=Math.round((O+i)/Ne)-1;u>=D?this.matSelect.panel.nativeElement.scrollTop=D*Ne:u+o<=D&&(this.matSelect.panel.nativeElement.scrollTop=(D+1)*Ne-(256-i))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let V,Ne=this.innerSelectSearch.nativeElement;for(;Ne=Ne.parentElement;)if(Ne.classList.contains("mat-select-panel")){V=Ne;break}V&&(this.innerSelectSearch.nativeElement.style.width=V.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)(c.Y36(b.gD),c.Y36(c.sBO),c.Y36(pe.rL),c.Y36(w.ey,8),c.Y36(ye.Kd),c.Y36(_.KE,8),c.Y36(Ze,8))},Ae.\u0275cmp=c.Xpm({type:Ae,selectors:[["ngx-mat-select-search"]],contentQueries:function(Ne,V,H){if(1&Ne&&(c.Suo(H,ce,5),c.Suo(H,Be,5)),2&Ne){let D;c.iGM(D=c.CRH())&&(V.clearIcon=D.first),c.iGM(D=c.CRH())&&(V.noEntriesFound=D.first)}},viewQuery:function(Ne,V){if(1&Ne&&(c.Gf(Te,7,c.SBq),c.Gf(Oe,7,c.SBq)),2&Ne){let H;c.iGM(H=c.CRH())&&(V.searchSelectInput=H.first),c.iGM(H=c.CRH())&&(V.innerSelectSearch=H.first)}},hostVars:2,hostBindings:function(Ne,V){2&Ne&&c.ekj("mat-select-search-inside-mat-option",V.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",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:[c._Bn([{provide:g.JU,useExisting:(0,c.Gpc)(()=>Ae),multi:!0}])],ngContentSelectors:Pe,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",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(Ne,V){1&Ne&&(c.F$t(de),c._UZ(0,"input",0),c.TgZ(1,"div",1,2),c.YNc(3,Se,1,5,"mat-checkbox",3),c.TgZ(4,"input",4,5),c.NdJ("keydown",function(D){return V._handleKeydown(D)})("keyup",function(D){return V._handleKeyup(D)})("blur",function(){return V.onBlur()}),c.qZA(),c.YNc(6,We,1,0,"mat-spinner",6),c.YNc(7,ue,4,2,"button",7),c.Hsn(8),c.qZA(),c.YNc(9,P,4,2,"div",8),c.ALo(10,"async")),2&Ne&&(c.xp6(1),c.Q6J("ngClass",c.WLB(11,Ce,V.matSelect.multiple,V._isToggleAllCheckboxVisible())),c.xp6(2),c.Q6J("ngIf",V._isToggleAllCheckboxVisible()),c.xp6(1),c.Q6J("type",V.type)("formControl",V._formControl)("placeholder",V.placeholderLabel),c.uIk("aria-label",V.ariaLabel),c.xp6(2),c.Q6J("ngIf",V.searching),c.xp6(1),c.Q6J("ngIf",!V.hideClearSearchButton&&V.value&&!V.searching),c.xp6(2),c.Q6J("ngIf",c.lcZ(10,9,V._showNoEntriesFound$)))},directives:[T.oG,R.Ou,L.lW,X.Hw,Y.mk,Y.O5,se.gM,g.Fj,g.JJ,g.oH],pipes:[Y.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}),Ae})(),ae=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275mod=c.oAB({type:Ae}),Ae.\u0275inj=c.cJS({imports:[[Y.ez,g.UX,L.ot,T.p9,X.Ps,R.Cq,se.AV]]}),Ae})()},4147:qe=>{"use strict";qe.exports={i8:"9.0.0"}}},qe=>{qe(qe.s=48032)}]); \ No newline at end of file +(self.webpackChunkadmin_gui=self.webpackChunkadmin_gui||[]).push([[179],{57788:(qe,me,h)=>{"use strict";h.d(me,{g:()=>it});var e=h(32105),c=h(10036),g=h(5e3),w=h(53251),_=h(69808),b=h(9244),E=h(42377),v=h(64901),I=h(47423),N=h(29772),A=h(25245),q=h(51062);function j(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"div",6),g.TgZ(1,"div",7),g.TgZ(2,"perun-web-apps-entity-search-select",8),g.NdJ("entitySelected",function(ae){return g.CHM(Ue).$implicit[0]=ae.namespace+":"+ae.friendlyName}),g.ALo(3,"translate"),g.ALo(4,"translate"),g.ALo(5,"translate"),g.qZA(),g.qZA(),g.TgZ(6,"div",9),g.TgZ(7,"perun-web-apps-debounce-filter",10),g.NdJ("filter",function(ae){return g.CHM(Ue).$implicit[1]=ae}),g.qZA(),g.qZA(),g.TgZ(8,"div",11),g.TgZ(9,"button",12),g.NdJ("click",function(){const Ae=g.CHM(Ue).$implicit;return g.oxw(2).removeOption(Ae)}),g.ALo(10,"translate"),g.TgZ(11,"mat-icon"),g._uU(12,"clear"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.xp6(2),g.Q6J("entities",Ue.availableAttrDefs)("searchFunction",Ue.nameFunction)("mainTextFunction",Ue.nameFunction)("secondaryTextFunction",Ue.secondaryTextFunction)("selectPlaceholder",g.lcZ(3,10,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SELECT_ATTR_DEF"))("findPlaceholder",g.lcZ(4,12,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.FIND_ATTR_DEF"))("noEntriesText",g.lcZ(5,14,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.NO_ATTR_DEF_FOUND")),g.xp6(5),g.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_PLACEHOLDER"),g.xp6(2),g.s9C("matTooltip",g.lcZ(10,16,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.REMOVE_PARAMETER")),g.Q6J("disabled",1===Ue.options.length)}}function G(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"div",1),g.YNc(1,j,13,18,"div",2),g.TgZ(2,"button",3),g.NdJ("click",function(){return g.CHM(Ue),g.oxw().addOption()}),g._uU(3),g.ALo(4,"translate"),g.qZA(),g.TgZ(5,"span",4),g.ALo(6,"translate"),g.TgZ(7,"button",5),g.NdJ("click",function(){return g.CHM(Ue),g.oxw().searchEntities()}),g.TgZ(8,"mat-icon"),g._uU(9,"search"),g.qZA(),g._uU(10),g.ALo(11,"translate"),g.qZA(),g.qZA(),g.qZA()}if(2&Be){const Ue=g.oxw();g.xp6(1),g.Q6J("ngForOf",Ue.options),g.xp6(2),g.hij(" ",g.lcZ(4,6,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.ADD_PARAMETER")," "),g.xp6(2),g.s9C("matTooltip",g.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_BUTTON_TOOLTIP")),g.Q6J("matTooltipDisabled",!Ue.emptySearchString()),g.xp6(2),g.Q6J("disabled",Ue.emptySearchString()),g.xp6(3),g.hij(" ",g.lcZ(11,10,"SHARED_LIB.PERUN.COMPONENTS.ATTR_DEF_SEARCH_SELECT.SEARCH_BUTTON")," ")}}let Q=(()=>{class Be{constructor(){this.attributeSelected=new g.vpe,this.search=new g.vpe,this.availableAttrDefs=[],this.options=[],this.nameFunction=Ue=>Ue.displayName,this.secondaryTextFunction=Ue=>"#"+String(Ue.id)}ngOnInit(){this.availableAttrDefs=this.attributes.filter(Ue=>Ue.entity===this.attributesForEntity).sort(b.Xd)}ngOnChanges(){this.options=[],this.options.push([this.attributes[0].namespace+":"+this.attributes[0].friendlyName,""])}removeOption(Ue){this.options=this.options.filter(_e=>_e!==Ue)}addOption(){this.options.push([this.attributes[0].namespace+":"+this.attributes[0].friendlyName,""])}emptySearchString(){return this.options.some(Ue=>0===Ue[1].length)}searchEntities(){const Ue={};this.options.forEach(_e=>{Ue[_e[0]]=_e[1]}),this.search.emit(Ue)}}return Be.\u0275fac=function(Ue){return new(Ue||Be)},Be.\u0275cmp=g.Xpm({type:Be,selectors:[["perun-web-apps-attribute-search-select"]],inputs:{attributes:"attributes",attributesForEntity:"attributesForEntity"},outputs:{attributeSelected:"attributeSelected",search:"search"},features:[g.TTD],decls:1,vars:1,consts:[["class","container ml-0 mr-0 pl-0 pr-0 mt-3",4,"ngIf"],[1,"container","ml-0","mr-0","pl-0","pr-0","mt-3"],["class","row",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mr-2",3,"click"],["matTooltipPosition","below",3,"matTooltip","matTooltipDisabled"],["data-cy","searcher-search-button","mat-stroked-button","",1,"mr-2",3,"disabled","click"],[1,"row"],[1,"col-7"],[3,"entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"],[1,"col-4","pr-0"],[3,"placeholder","filter"],[1,"col-1"],["mat-icon-button","","color","warn",1,"mt-2",3,"matTooltip","disabled","click"]],template:function(Ue,_e){1&Ue&&g.YNc(0,G,12,12,"div",0),2&Ue&&g.Q6J("ngIf",void 0!==_e.options)},directives:[_.O5,_.sg,E.i,v.P,I.lW,N.gM,A.Hw],pipes:[q.X$],styles:[""]}),Be})();var he=h(64877),F=h(62707),be=h(38383),pe=h(74010),ye=h(62109),T=h(20773);function R(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_USERS")," ")}function L(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"user")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","user")}}const X=function(){return["user","id","name"]};function Y(Be,ze){if(1&Be&&g._UZ(0,"app-users-list",9),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,X))("users",Ue.entities)}}function se(Be,ze){if(1&Be&&(g.YNc(0,L,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,Y,1,4,"app-users-list",7)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function Te(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_MEMBERS")," ")}function Oe(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-vo-search-select",13),g.NdJ("voSelected",function(ae){return g.CHM(Ue),g.oxw(2).voSelected(ae)}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("vos",Ue.vos)}}function Se(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"member")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","user")}}const We=function(){return["id","voId","userId","status"]};function ge(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-members-list",14),g.NdJ("updateTable",function(){g.CHM(Ue);const ae=g.oxw(2);return ae.searchEntities(ae.searchInput,"member")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(4,We))("disableExpirationChange",!0)("members",Ue.entities)}}function Le(Be,ze){if(1&Be&&(g.TgZ(0,"div",10),g.YNc(1,Oe,1,1,"perun-web-apps-vo-search-select",11),g.qZA(),g.YNc(2,Se,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(3,ge,1,5,"perun-web-apps-members-list",12)),2&Be){const Ue=g.oxw();g.xp6(1),g.Q6J("ngIf",Ue.vos.length>0),g.xp6(1),g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function ue(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_FACILITIES")," ")}function Me(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"facility")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","facility")}}const z=function(){return["id","name","description"]};function P(Be,ze){if(1&Be&&g._UZ(0,"perun-web-apps-facilities-list",16),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,z))("facilities",Ue.entities)}}function de(Be,ze){if(1&Be&&(g.YNc(0,Me,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,P,1,4,"perun-web-apps-facilities-list",15)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function Ce(Be,ze){1&Be&&(g._uU(0),g.ALo(1,"translate")),2&Be&&g.hij(" ",g.lcZ(1,1,"ADMIN.SEARCHER.TAB_RESOURCES")," ")}function Pe(Be,ze){if(1&Be){const Ue=g.EpF();g.TgZ(0,"perun-web-apps-attribute-search-select",8),g.NdJ("search",function(ae){return g.CHM(Ue),g.oxw(2).searchEntities(ae,"resource")}),g.qZA()}if(2&Be){const Ue=g.oxw(2);g.Q6J("attributes",Ue.allAttrDefinitions)("attributesForEntity","resource")}}const ce=function(){return["id","name","description","voId","facilityId"]};function fe(Be,ze){if(1&Be&&g._UZ(0,"perun-web-apps-resources-list",18),2&Be){const Ue=g.oxw(2);g.Q6J("tableId",Ue.tableId)("displayedColumns",g.DdM(3,ce))("resources",Ue.entities)}}function Ze(Be,ze){if(1&Be&&(g.YNc(0,Pe,1,2,"perun-web-apps-attribute-search-select",6),g.YNc(1,fe,1,4,"perun-web-apps-resources-list",17)),2&Be){const Ue=g.oxw();g.Q6J("ngIf",!Ue.loading),g.xp6(1),g.Q6J("ngIf",!Ue.loadingEntityData)}}function ne(Be,ze){1&Be&&g._UZ(0,"mat-spinner",19)}let it=(()=>{class Be{constructor(Ue,_e,ae){this.attributesManager=Ue,this.searcher=_e,this.voService=ae,this.loadingEntityData=!1,this.allAttrDefinitions=[],this.tableId=c.ee,this.entities=[],this.vos=[]}ngOnInit(){this.loading=!0,this.attributesManager.getAllAttributeDefinitions().subscribe(Ue=>{this.allAttrDefinitions=Ue,this.loading=!1})}tabChanged(Ue){switch(this.entities=[],Ue){case 0:this.tableId=c.ee;break;case 1:this.loadingEntityData=!0,this.loadAllVos(),this.tableId=c.FF;break;case 2:this.tableId=c.$I;break;case 3:this.tableId=c.XH}}loadAllVos(){this.loadingEntityData=!0,this.voService.getAllVos().subscribe(Ue=>{this.vos=Ue,this.selectedVo=Ue[0],this.loadingEntityData=!1})}voSelected(Ue){void 0!==Ue&&(this.selectedVo=Ue)}searchEntities(Ue,_e){switch(this.searchInput=Ue,this.loadingEntityData=!0,_e){case"user":this.getUsers();break;case"member":this.getMembers();break;case"facility":this.getFacilities();break;case"resource":this.getResources()}}getUsers(){this.searcher.getUsersSearcher({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}getMembers(){this.searcher.getMembersByUserAttributes({vo:this.selectedVo.id,userAttributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}getFacilities(){this.searcher.getFacilities({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue.map(_e=>({facility:_e})),this.loadingEntityData=!1})}getResources(){this.searcher.getAttributesResources({attributesWithSearchingValues:this.searchInput}).subscribe(Ue=>{this.entities=Ue,this.loadingEntityData=!1})}}return Be.id="AdminSearcherComponent",Be.\u0275fac=function(Ue){return new(Ue||Be)(g.Y36(e.H8),g.Y36(e.t7),g.Y36(e.YF))},Be.\u0275cmp=g.Xpm({type:Be,selectors:[["app-admin-searcher"]],hostVars:2,hostBindings:function(Ue,_e){2&Ue&&g.ekj("router-component",_e.true)},decls:17,vars:4,consts:[[1,"page-subtitle"],[3,"selectedIndexChange"],[1,"mb-2"],["matTabLabel",""],["matTabContent",""],["class","ml-auto mr-auto",4,"ngIf"],[3,"attributes","attributesForEntity","search",4,"ngIf"],[3,"tableId","displayedColumns","users",4,"ngIf"],[3,"attributes","attributesForEntity","search"],[3,"tableId","displayedColumns","users"],[1,"mt-3"],[3,"vos","voSelected",4,"ngIf"],[3,"tableId","displayedColumns","disableExpirationChange","members","updateTable",4,"ngIf"],[3,"vos","voSelected"],[3,"tableId","displayedColumns","disableExpirationChange","members","updateTable"],[3,"tableId","displayedColumns","facilities",4,"ngIf"],[3,"tableId","displayedColumns","facilities"],[3,"tableId","displayedColumns","resources",4,"ngIf"],[3,"tableId","displayedColumns","resources"],[1,"ml-auto","mr-auto"]],template:function(Ue,_e){1&Ue&&(g.TgZ(0,"h1",0),g._uU(1),g.ALo(2,"translate"),g.qZA(),g.TgZ(3,"mat-tab-group",1),g.NdJ("selectedIndexChange",function(Ae){return _e.tabChanged(Ae)}),g.TgZ(4,"mat-tab",2),g.YNc(5,R,2,3,"ng-template",3),g.YNc(6,se,2,2,"ng-template",4),g.qZA(),g.TgZ(7,"mat-tab"),g.YNc(8,Te,2,3,"ng-template",3),g.YNc(9,Le,4,3,"ng-template",4),g.qZA(),g.TgZ(10,"mat-tab"),g.YNc(11,ue,2,3,"ng-template",3),g.YNc(12,de,2,2,"ng-template",4),g.qZA(),g.TgZ(13,"mat-tab"),g.YNc(14,Ce,2,3,"ng-template",3),g.YNc(15,Ze,2,2,"ng-template",4),g.qZA(),g.qZA(),g.YNc(16,ne,1,0,"mat-spinner",5)),2&Ue&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"ADMIN.SEARCHER.TITLE")),g.xp6(15),g.Q6J("ngIf",_e.loading||_e.loadingEntityData))},directives:[w.SP,w.uX,w.uD,w.Vc,_.O5,Q,he.C,F.M,be.O,pe.X,ye.C,T.Ou],pipes:[q.X$],styles:[""]}),Be})()},80774:(qe,me,h)=>{"use strict";h.d(me,{F:()=>T});var e=h(20449),c=h(32105),g=h(10036),w=h(9244),_=h(40009),b=h(90719),E=h(32080),v=h(5e3),I=h(48966),N=h(96214),A=h(69808),q=h(47423),j=h(7434),G=h(20773),Q=h(60205),he=h(51062);function F(R,L){if(1&R){const X=v.EpF();v.TgZ(0,"button",7),v.NdJ("click",function(){return v.CHM(X),v.oxw().createService()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&R&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"ADMIN.SERVICES.CREATE")," "))}function be(R,L){if(1&R){const X=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(X),v.oxw().deleteService()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&R){const X=v.oxw();v.Q6J("disabled",0===X.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"ADMIN.SERVICES.DELETE")," ")}}function pe(R,L){1&R&&v._UZ(0,"mat-spinner",9)}function ye(R,L){if(1&R&&v._UZ(0,"app-services-list",10),2&R){const X=v.oxw();v.Q6J("filterValue",X.filterValue)("selection",X.selection)("services",X.services)("tableId",X.tableId)}}let T=(()=>{class R{constructor(X,Y,se){this.serviceManager=X,this.dialog=Y,this.authResolver=se,this.selection=new e.Ov(!0,[]),this.loading=!1,this.filterValue="",this.tableId=g.NL}ngOnInit(){this.serviceManager.getServices().subscribe(X=>{this.services=X,this.refreshTable()})}createService(){const X=(0,w.kZ)();X.width="600px",X.data={theme:"admin-theme"},this.dialog.open(_.R,X).afterClosed().subscribe(se=>{se&&this.refreshTable()})}deleteService(){const X=(0,w.kZ)();X.width="600px",X.data={theme:"admin-theme",services:this.selection.selected},this.dialog.open(b.m,X).afterClosed().subscribe(se=>{se&&this.refreshTable()})}refreshTable(){this.loading=!0,this.serviceManager.getServices().subscribe(X=>{this.services=X,this.selection.clear(),this.loading=!1})}applyFilter(X){this.filterValue=X}}return R.id="AdminServicesComponent",R.\u0275fac=function(X){return new(X||R)(v.Y36(c.KK),v.Y36(I.uw),v.Y36(E.x4))},R.\u0275cmp=v.Xpm({type:R,selectors:[["app-admin-services"]],decls:10,vars:8,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","action-button mr-2","data-cy","service-create-button","mat-flat-button","",3,"click",4,"ngIf"],["class","mr-2","color","warn","data-cy","service-delete-button","mat-flat-button","",3,"disabled","click",4,"ngIf"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"filterValue","selection","services","tableId",4,"ngIf"],["color","accent","data-cy","service-create-button","mat-flat-button","",1,"action-button","mr-2",3,"click"],["color","warn","data-cy","service-delete-button","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"mr-auto","ml-auto"],[3,"filterValue","selection","services","tableId"]],template:function(X,Y){1&X&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"perun-web-apps-refresh-button",1),v.NdJ("refresh",function(){return Y.refreshTable()}),v.qZA(),v.YNc(5,F,3,3,"button",2),v.YNc(6,be,3,4,"button",3),v.TgZ(7,"perun-web-apps-immediate-filter",4),v.NdJ("filter",function(Te){return Y.applyFilter(Te)}),v.qZA(),v.YNc(8,pe,1,0,"mat-spinner",5),v.YNc(9,ye,1,4,"app-services-list",6),v.qZA()),2&X&&(v.xp6(2),v.Oqu(v.lcZ(3,6,"ADMIN.SERVICES.TITLE")),v.xp6(3),v.Q6J("ngIf",Y.authResolver.isPerunAdmin()),v.xp6(1),v.Q6J("ngIf",Y.authResolver.isPerunAdmin()),v.xp6(1),v.Q6J("placeholder","ADMIN.SERVICES.FILTER"),v.xp6(1),v.Q6J("ngIf",Y.loading),v.xp6(1),v.Q6J("ngIf",!Y.loading))},directives:[N.t,A.O5,q.lW,j.L,G.Ou,Q.Q],pipes:[he.X$],styles:[""]}),R})()},25828:(qe,me,h)=>{"use strict";h.d(me,{t:()=>N});var e=h(10036),c=h(64080),g=h(32080),w=h(5e3),_=h(64901),b=h(77446),E=h(88561),v=h(51062);const I=function(){return["user","id","name","email","logins","organization"]};let N=(()=>{class A{constructor(j){this.storeService=j,this.usersWithoutVo=!1,this.tableId=e.xx,this.attributes=[]}ngOnInit(){this.attributes=[c.r.USER_DEF_ORGANIZATION,c.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames())}onSearchByString(j){this.searchString=j}findUsersWithoutVO(){this.usersWithoutVo=!this.usersWithoutVo}}return A.id="AdminUsersComponent",A.\u0275fac=function(j){return new(j||A)(w.Y36(g.d6))},A.\u0275cmp=w.Xpm({type:A,selectors:[["app-admin-users"]],hostVars:2,hostBindings:function(j,G){2&j&&w.ekj("router-component",G.true)},decls:8,vars:16,consts:[[1,"page-subtitle"],[1,"mt-2","search-field",3,"autoFocus","placeholder","filter"],["color","primary",3,"checked","change"],[3,"disableRouting","searchString","attrNames","displayedColumns","tableId","withoutVo"]],template:function(j,G){1&j&&(w.TgZ(0,"h1",0),w._uU(1),w.ALo(2,"translate"),w.qZA(),w.TgZ(3,"perun-web-apps-debounce-filter",1),w.NdJ("filter",function(he){return G.onSearchByString(he)}),w.qZA(),w.TgZ(4,"mat-checkbox",2),w.NdJ("change",function(){return G.findUsersWithoutVO()}),w._uU(5),w.ALo(6,"translate"),w.qZA(),w._UZ(7,"perun-web-apps-users-dynamic-list",3)),2&j&&(w.xp6(1),w.Oqu(w.lcZ(2,11,"ADMIN.USERS.TITLE")),w.xp6(2),w.Q6J("autoFocus",!0)("placeholder","ADMIN.USERS.SEARCH_PLACEHOLDER"),w.xp6(1),w.Q6J("checked",G.usersWithoutVo),w.xp6(1),w.hij(" ",w.lcZ(6,13,"ADMIN.USERS.USERS_WITHOUT_VO"),"\n"),w.xp6(2),w.Q6J("disableRouting",!1)("searchString",G.searchString)("attrNames",G.attributes)("displayedColumns",w.DdM(15,I))("tableId",G.tableId)("withoutVo",G.usersWithoutVo))},directives:[_.P,b.oG,E.M],pipes:[v.X$],styles:[".search-field[_ngcontent-%COMP%]{width:325px}"]}),A})()},72077:(qe,me,h)=>{"use strict";h.d(me,{y:()=>R});var e=h(32080),c=h(17445),g=h(40520),w=h(9244),_=h(5e3),b=h(48966),E=h(47423),v=h(51062);let I=(()=>{class L{constructor(Y){this.dialogRef=Y}onReload(){location.reload()}onClose(){this.dialogRef.close()}}return L.\u0275fac=function(Y){return new(Y||L)(_.Y36(b.so))},L.\u0275cmp=_.Xpm({type:L,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"],["color","accent","mat-flat-button","",1,"ml-2",3,"click"]],template:function(Y,se){1&Y&&(_.TgZ(0,"h1",0),_._uU(1),_.ALo(2,"translate"),_.qZA(),_.TgZ(3,"div",1),_.TgZ(4,"div",2),_.TgZ(5,"p"),_._uU(6),_.ALo(7,"translate"),_.qZA(),_.qZA(),_.TgZ(8,"div",3),_.TgZ(9,"button",4),_.NdJ("click",function(){return se.onClose()}),_._uU(10),_.ALo(11,"translate"),_.qZA(),_.TgZ(12,"button",5),_.NdJ("click",function(){return se.onReload()}),_._uU(13),_.ALo(14,"translate"),_.qZA(),_.qZA(),_.qZA()),2&Y&&(_.xp6(1),_.Oqu(_.lcZ(2,4,"DIALOGS.NEW_VERSION.TITLE")),_.xp6(5),_.hij(" ",_.lcZ(7,6,"DIALOGS.NEW_VERSION.DESCRIPTION")," "),_.xp6(4),_.hij(" ",_.lcZ(11,8,"DIALOGS.NEW_VERSION.LATER")," "),_.xp6(3),_.hij(" ",_.lcZ(14,10,"DIALOGS.NEW_VERSION.RELOAD")," "))},directives:[b.uh,b.xY,b.H8,E.lW],pipes:[v.X$],styles:[""]}),L})();var N=h(36157),A=h(39300);let q=(()=>{class L{constructor(Y,se){this.router=Y,this.routeReuseStrategy=se;const Te=se;Y.events.subscribe(Oe=>{Oe instanceof N.OD&&Te.setLastNavigationType("popstate"===Oe.navigationTrigger?"back":"direct")})}init(){}}return L.\u0275fac=function(Y){return new(Y||L)(_.LFG(N.F0),_.LFG(N.wN))},L.\u0275prov=_.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const j=["footer"];function G(L,X){if(1&L&&(_.TgZ(0,"div",3),_.TgZ(1,"mat-icon"),_._uU(2,"alert"),_.qZA(),_._uU(3),_.qZA()),2&L){const Y=_.oxw();_.xp6(3),_.hij(" ",Y.warningMessage,"\n")}}const Q=function(L,X){return{top:L,background:X}},he=function(L,X){return{"margin-top":L,"min-height":X}},F=function(L,X){return{"border-color":L,background:X}},be=function(L){return{"background-color":L}},pe=function(L){return{"min-height":L}};function ye(L,X){if(1&L&&(_._UZ(0,"app-perun-nav-menu",4),_.TgZ(1,"mat-sidenav-container",5),_.TgZ(2,"mat-sidenav",6,7),_.TgZ(4,"ng-scrollbar"),_._UZ(5,"app-side-menu",8),_.qZA(),_.qZA(),_.TgZ(6,"mat-sidenav-content",9),_.TgZ(7,"div",10),_._UZ(8,"router-outlet"),_.qZA(),_.TgZ(9,"div",null,11),_._UZ(11,"perun-web-apps-footer"),_.qZA(),_.qZA(),_.qZA()),2&L){const Y=_.MAs(3),se=_.oxw();_.Q6J("principal",se.principal)("ngStyle",_.WLB(12,Q,se.getNavMenuTop(),se.navBackgroundColor))("sideNav",Y),_.xp6(1),_.Q6J("ngStyle",_.WLB(15,he,se.getSideNavMarginTop(),se.getSideNavMinHeight())),_.xp6(1),_.Q6J("fixedInViewport",!0)("mode",se.sidebarMode)("fixedTopGap",se.getTopGap())("ngStyle",_.WLB(18,F,se.sideBarBorderColor,se.sideMenubackgroundColor))("opened",!se.isMobile()),_.xp6(3),_.Q6J("sideNav",Y),_.xp6(1),_.Q6J("ngStyle",_.VKq(21,be,se.contentBackgroundColor)),_.xp6(1),_.Q6J("ngStyle",_.VKq(23,pe,se.contentInnerMinHeight))}}function T(L,X){1&L&&_._UZ(0,"perun-web-apps-login-screen-base",12),2&L&&_.Q6J("application","admin-gui")}let R=(()=>{class L{constructor(Y,se,Te,Oe,Se,We,ge){this.cache=Y,this.store=se,this.http=Te,this.dialog=Oe,this.router=Se,this.initAuth=We,this.cd=ge,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=h(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<=L.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,c.F)(3e4).subscribe(()=>{this.loadAppVersion()}),this.router.events.pipe((0,A.h)(Y=>Y instanceof N.OD)).subscribe(Y=>{this.updateInitAccessedPage(Y)})}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(){var Y,se,Te,Oe;const Se=null!==(Oe=null===(Te=null===(se=null===(Y=this.footer)||void 0===Y?void 0:Y.nativeElement)||void 0===se?void 0:se.offsetHeight)||void 0===Te?void 0:Te.toString())&&void 0!==Oe?Oe:"0";this.contentInnerMinHeight=this.displayWarning?"calc(100vh - "+Se+"px - 112px)":"calc(100vh - "+Se+"px - 64px)",this.cd.detectChanges()}updateInitAccessedPage(Y){Y.url===sessionStorage.getItem("initPage")?("imperative"===Y.navigationTrigger&&Y.id!==this.store.getInitialPageId()&&sessionStorage.setItem("onInitPage","false"),"popstate"===Y.navigationTrigger&&(Y.restoredState.navigationId===this.store.getInitialPageId()?(sessionStorage.setItem("onInitPage","true"),this.store.setInitialPageId(Y.id)):sessionStorage.setItem("onInitPage","false"))):sessionStorage.setItem("onInitPage","false")}loadAppVersion(){const Y=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:Y}).subscribe(se=>{const Te=se.version;if(Te)if(this.version&&"SNAPSHOT"!==Te&&this.version!==Te){const Oe=(0,w.kZ)();this.dialog.open(I,Oe)}else this.version=Te})}}return L.minWidth=992,L.\u0275fac=function(Y){return new(Y||L)(_.Y36(q),_.Y36(e.d6),_.Y36(g.eN),_.Y36(b.uw),_.Y36(N.F0),_.Y36(e.v0),_.Y36(_.sBO))},L.\u0275cmp=_.Xpm({type:L,selectors:[["app-root"]],viewQuery:function(Y,se){if(1&Y&&_.Gf(j,5),2&Y){let Te;_.iGM(Te=_.CRH())&&(se.footer=Te.first)}},hostBindings:function(Y,se){1&Y&&_.NdJ("resize",function(Oe){return se.getScreenSize(Oe)},!1,_.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,"principal","ngStyle","sideNav"],[3,"ngStyle"],[3,"fixedInViewport","mode","fixedTopGap","ngStyle","opened"],["sidenav",""],[3,"sideNav"],["id","content-inner",3,"ngStyle"],["id","content-wrap",3,"ngStyle"],["footer",""],[3,"application"]],template:function(Y,se){1&Y&&(_.YNc(0,G,4,1,"div",0),_._UZ(1,"perun-web-apps-notificator",1),_.YNc(2,ye,12,25,"ng-template",2),_.YNc(3,T,1,1,"ng-template",2)),2&Y&&(_.Q6J("ngIf",se.displayWarning),_.xp6(1),_.Q6J("displayWarning",se.displayWarning),_.xp6(1),_.Q6J("ngIf",!se.isLoginScreenShow&&!se.isServiceAccess&&!se.isServiceLogin()),_.xp6(1),_.Q6J("ngIf",se.isLoginScreenShow||se.isServiceAccess||se.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}ng-scrollbar[_ngcontent-%COMP%]{--scrollbar-thumb-color: #6a6a6a;--scrollbar-thumb-hover-color: lightgrey}"]}),L})()},77968:(qe,me,h)=>{"use strict";h.d(me,{D:()=>c});var e=h(5e3);let c=(()=>{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(_){this.homeItemsChange.emit(_)}setAccessMenuItems(_){this.accessItemsChange.emit(_)}setFacilityMenuItems(_){this.facilityItemsChange.emit(_)}setAdminItems(_){this.adminItemsChange.emit(_)}setUserItems(_){this.userItemsChange.emit(_)}reset(){this.resetChange.emit()}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},37380:(qe,me,h)=>{"use strict";h.d(me,{o:()=>be});var e=h(32105),c=h(10036),g=h(32080),w=h(5e3),_=h(96214),b=h(67322),E=h(74107),v=h(90508),I=h(69808),N=h(7434),A=h(20773),q=h(24179),j=h(51062);function G(pe,ye){if(1&pe&&(w.TgZ(0,"mat-option",9),w._uU(1),w.qZA()),2&pe){const T=ye.$implicit;w.Q6J("value",T.id),w.xp6(1),w.hij(" ",T.name," ")}}function Q(pe,ye){1&pe&&w._UZ(0,"mat-spinner",10)}const he=function(){return["id","vo","name","description"]};function F(pe,ye){if(1&pe&&w._UZ(0,"perun-web-apps-groups-list",11),2&pe){const T=w.oxw();w.Q6J("displayedColumns",w.DdM(6,he))("groups",T.groupsToShow)("disableMembers",!1)("filter",T.filterValue)("groupsToDisableRouting",T.groupsWithoutRouteAuth)("tableId",T.tableId)}}let be=(()=>{class pe{constructor(T,R,L){this.facilityManager=T,this.authResolver=R,this.entityStorageService=L,this.groups=[],this.filterValue="",this.selected="all",this.groupsToShow=this.groups,this.tableId=c.Aj,this.groupsWithoutRouteAuth=new Set}ngOnInit(){this.loading=!0,this.facility=this.entityStorageService.getEntity(),this.facilityManager.getAllowedVos(this.facility.id).subscribe(T=>{this.vos=T,this.refreshTable()})}showGroup(){this.groupsToShow="all"!==this.selected?this.groups.filter(T=>T.voId===parseInt(this.selected,10)):this.groups}refreshTable(){this.loading=!0,this.groups=[],this.vos.forEach(T=>{this.facilityManager.getAllowedGroups(this.facility.id,T.id).subscribe(R=>{this.groups=this.groups.concat(R),this.groupsToShow=this.groups,this.setAuthRights(T,R),this.loading=!1})}),0===this.vos.length&&(this.loading=!1)}setAuthRights(T,R){R.forEach(L=>{this.authResolver.isAuthorized("getGroupById_int_policy",[T,L])||this.groupsWithoutRouteAuth.add(L.id)})}applyFilter(T){this.filterValue=T}}return pe.id="FacilityAllowedGroupsComponent",pe.\u0275fac=function(T){return new(T||pe)(w.Y36(e.IQ),w.Y36(g.x4),w.Y36(g.fb))},pe.\u0275cmp=w.Xpm({type:pe,selectors:[["app-facility-allowed-groups"]],hostVars:2,hostBindings:function(T,R){2&T&&w.ekj("router-component",R.true)},inputs:{groups:"groups"},decls:17,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],[1,"mr-2"],[3,"value","selectionChange","valueChange"],["value","all"],[3,"value",4,"ngFor","ngForOf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"displayedColumns","groups","disableMembers","filter","groupsToDisableRouting","tableId",4,"ngIf"],[3,"value"],[1,"ml-auto","mr-auto"],[3,"displayedColumns","groups","disableMembers","filter","groupsToDisableRouting","tableId"]],template:function(T,R){1&T&&(w.TgZ(0,"div"),w.TgZ(1,"h1",0),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.TgZ(4,"perun-web-apps-refresh-button",1),w.NdJ("refresh",function(){return R.refreshTable()}),w.qZA(),w.TgZ(5,"mat-form-field",2),w.TgZ(6,"mat-label"),w._uU(7),w.ALo(8,"translate"),w.qZA(),w.TgZ(9,"mat-select",3),w.NdJ("selectionChange",function(){return R.showGroup()})("valueChange",function(X){return R.selected=X}),w.TgZ(10,"mat-option",4),w._uU(11),w.ALo(12,"translate"),w.qZA(),w.YNc(13,G,2,2,"mat-option",5),w.qZA(),w.qZA(),w.TgZ(14,"perun-web-apps-immediate-filter",6),w.NdJ("filter",function(X){return R.applyFilter(X)}),w.qZA(),w.YNc(15,Q,1,0,"mat-spinner",7),w.YNc(16,F,1,7,"perun-web-apps-groups-list",8),w.qZA()),2&T&&(w.xp6(2),w.Oqu(w.lcZ(3,8,"MENU_ITEMS.FACILITY.ALLOWED_GROUPS")),w.xp6(5),w.Oqu(w.lcZ(8,10,"FACILITY_DETAIL.ALLOWED_GROUPS.SHOW_VOS_GROUPS")),w.xp6(2),w.Q6J("value",R.selected),w.xp6(2),w.Oqu(w.lcZ(12,12,"FACILITY_DETAIL.ALLOWED_GROUPS.ALL")),w.xp6(2),w.Q6J("ngForOf",R.vos),w.xp6(1),w.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_GROUPS.FILTER"),w.xp6(1),w.Q6J("ngIf",R.loading),w.xp6(1),w.Q6J("ngIf",!R.loading))},directives:[_.t,b.KE,b.hX,E.gD,v.ey,I.sg,N.L,I.O5,A.Ou,q.W],pipes:[j.X$],styles:[""]}),pe})()},25610:(qe,me,h)=>{"use strict";h.d(me,{_:()=>X});var e=h(10036),c=h(32105),g=h(32080),w=h(64080),_=h(5e3),b=h(96214),E=h(64901),v=h(47423),I=h(25245),N=h(51062);let A=(()=>{class Y{constructor(){this.changeAdvancedFilter=new _.vpe,this.clearFilters=new _.vpe}ngOnInit(){this.changeAdvancedFilter.emit(this.advancedFilter)}toggleAdvancedFilter(){this.advancedFilter=!this.advancedFilter,this.changeAdvancedFilter.emit(this.advancedFilter)}}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["perun-web-apps-advanced-filter"]],inputs:{filtersCount:"filtersCount",advancedFilter:"advancedFilter"},outputs:{changeAdvancedFilter:"changeAdvancedFilter",clearFilters:"clearFilters"},decls:12,vars:11,consts:[["mat-stroked-button","",3,"click"]],template:function(Te,Oe){1&Te&&(_.TgZ(0,"button",0),_.NdJ("click",function(){return Oe.toggleAdvancedFilter()}),_.TgZ(1,"mat-icon"),_._uU(2,"filter_list"),_.qZA(),_._uU(3),_.ALo(4,"translate"),_.TgZ(5,"mat-icon"),_._uU(6),_.qZA(),_.qZA(),_.TgZ(7,"button",0),_.NdJ("click",function(){return Oe.clearFilters.emit()}),_.TgZ(8,"mat-icon"),_._uU(9,"filter_list_off"),_.qZA(),_._uU(10),_.ALo(11,"translate"),_.qZA()),2&Te&&(_.Gre("mr-2 ",Oe.filtersCount?"grey":"no-color",""),_.xp6(3),_.AsE(" ",_.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.FILTERS")," ",Oe.filtersCount?"("+Oe.filtersCount+")":null," "),_.xp6(3),_.Oqu(Oe.advancedFilter?"arrow_drop_up":"arrow_drop_down"),_.xp6(4),_.hij(" ",_.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.ADVANCED_FILTER.CLEAR_FILTERS"),"\n"))},directives:[v.lW,I.Hw],pipes:[N.X$],styles:[".grey[_ngcontent-%COMP%]{color:#fff;background-color:gray}.no-color[_ngcontent-%COMP%]{color:#000;background-color:transparent}"]}),Y})();var q=h(69808),j=h(32368),G=h(93075),Q=h(62707),he=h(45703),F=h(30540),be=h(20773),pe=h(88561);function ye(Y,se){if(1&Y){const Te=_.EpF();_.TgZ(0,"div",8),_.TgZ(1,"div",9),_.TgZ(2,"mat-slide-toggle",10),_.NdJ("ngModelChange",function(Se){return _.CHM(Te),_.oxw().allowed=Se})("change",function(){return _.CHM(Te),_.oxw().changeFilter()}),_._uU(3),_.ALo(4,"translate"),_.qZA(),_.TgZ(5,"span",11),_._uU(6),_.ALo(7,"translate"),_.qZA(),_.qZA(),_.TgZ(8,"div",1),_.TgZ(9,"perun-web-apps-vo-search-select",12),_.NdJ("voSelected",function(Se){return _.CHM(Te),_.oxw().voSelected(Se)}),_.qZA(),_.TgZ(10,"perun-web-apps-resource-search-select",13),_.NdJ("resourceSelected",function(Se){return _.CHM(Te),_.oxw().resourceSelected(Se)}),_.qZA(),_.TgZ(11,"perun-web-apps-service-search-select",14),_.NdJ("serviceSelected",function(Se){return _.CHM(Te),_.oxw().serviceSelected(Se)}),_.qZA(),_.qZA(),_.qZA()}if(2&Y){const Te=_.oxw();_.xp6(2),_.Q6J("ngModel",Te.allowed),_.xp6(1),_.hij(" ",_.lcZ(4,10,"FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED")," "),_.xp6(3),_.Oqu(_.lcZ(7,12,Te.toggle_messages[Te.allowed?1:0])),_.xp6(3),_.Q6J("vos",Te.vos)("vo",Te.selectedVo),_.xp6(1),_.Q6J("resources",Te.filteredResources)("displayStatus",!1)("resource",Te.selectedResource),_.xp6(1),_.Q6J("services",Te.filteredServices)("service",Te.selectedService)}}function T(Y,se){1&Y&&_._UZ(0,"mat-spinner",15)}const R=function(){return["id","name","email","logins","organization"]};function L(Y,se){if(1&Y&&_._UZ(0,"perun-web-apps-users-dynamic-list",16),2&Y){const Te=_.oxw();_.Q6J("attrNames",Te.attributes)("disableRouting",!Te.routeAuth)("displayedColumns",_.DdM(10,R))("onlyAllowed",Te.allowed)("facilityId",Te.facility.id)("searchString",Te.filterValue)("resourceId",-1===Te.selectedResource.id?null:Te.selectedResource.id)("serviceId",-1===Te.selectedService.id?null:Te.selectedService.id)("tableId",Te.tableId)("voId",-1===Te.selectedVo.id?null:Te.selectedVo.id)}}let X=(()=>{class Y{constructor(Te,Oe,Se,We,ge,Le){this.facilityService=Te,this.serviceService=Oe,this.resourceService=Se,this.authResolver=We,this.storeService=ge,this.entityStorageService=Le,this.loading=!1,this.filterValue="",this.attributes=[],this.allowed=!0,this.emptyResource={id:-1,beanName:"Resource",name:"No filter"},this.resources=[this.emptyResource],this.filteredResources=[this.emptyResource],this.selectedResource=this.emptyResource,this.emptyVo={id:-1,beanName:"Vo",name:"No filter"},this.vos=[this.emptyVo],this.selectedVo=this.emptyVo,this.emptyService={id:-1,beanName:"Service",name:"No filter"},this.services=[this.emptyService],this.filteredServices=[this.emptyService],this.selectedService=this.emptyService,this.resourceAssignedServices=new Map,this.tableId=e.z6,this.toggle_messages=["FACILITY_DETAIL.ALLOWED_USERS.FILTER_ASSIGNED_MSG","FACILITY_DETAIL.ALLOWED_USERS.FILTER_ALLOWED_MSG"],this.advancedFilter=!1}ngOnInit(){this.loading=!0,this.attributes=[w.r.USER_DEF_ORGANIZATION,w.r.USER_DEF_PREFERRED_MAIL],this.attributes=this.attributes.concat(this.storeService.getLoginAttributeNames()),this.facility=this.entityStorageService.getEntity(),this.routeAuth=this.authResolver.isPerunAdminOrObserver(),this.changeFilter(),this.refreshPage()}changeFilter(){this.filtersCount=this.allowed?1:0,-1!==this.selectedVo.id&&(this.filtersCount+=1),-1!==this.selectedResource.id&&(this.filtersCount+=1),-1!==this.selectedService.id&&(this.filtersCount+=1)}clearFilters(){this.allowed=!1,this.selectedVo=this.emptyVo,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,this.filtersCount=0}refreshPage(){this.loading=!0,this.facilityService.getAssignedResourcesForFacility(this.facility.id).subscribe(Te=>{this.resources=[this.emptyResource].concat(Te),this.filteredResources=this.resources,this.facilityService.getAllowedVos(this.facility.id).subscribe(Oe=>{this.vos=[this.emptyVo].concat(Oe),this.serviceService.getAssignedServices(this.facility.id).subscribe(Se=>{this.services=[this.emptyService].concat(Se),this.filteredServices=this.services,this.loading=!1},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(Te){this.filterValue=Te}voSelected(Te){this.selectedVo.id!==Te.id&&(this.selectedVo=Te,this.selectedResource=this.emptyResource,this.selectedService=this.emptyService,-1===Te.id?(this.filteredResources=this.resources,this.filteredServices=this.services):(this.filteredResources=this.resources.filter(Oe=>Oe.voId===Te.id),this.serviceService.getAssignedServicesVo(this.facility.id,Te.id).subscribe(Oe=>{this.filteredServices=[this.emptyService].concat(Oe),this.loading=!1},()=>this.loading=!1),this.filteredResources=[this.emptyResource].concat(this.filteredResources)),this.changeFilter())}resourceSelected(Te){this.selectedResource.id!==Te.id&&(this.selectedResource=Te,this.selectedService=this.emptyService,-1===Te.id?this.filteredServices=this.services:this.resourceService.getAssignedServicesToResource(Te.id).subscribe(Oe=>{this.filteredServices=[this.emptyService].concat(Oe),this.loading=!1},()=>this.loading=!1),this.changeFilter())}serviceSelected(Te){this.selectedService=Te,this.changeFilter()}}return Y.id="FacilityAllowedUsersComponent",Y.\u0275fac=function(Te){return new(Te||Y)(_.Y36(c.IQ),_.Y36(c.KK),_.Y36(c.xk),_.Y36(g.x4),_.Y36(g.d6),_.Y36(g.fb))},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["app-facility-allowed-users"]],decls:11,vars:9,consts:[[1,"page-subtitle"],[1,"filters"],[1,"mr-2",3,"refresh"],[1,"mr-2","filter",3,"placeholder","filter"],[3,"advancedFilter","filtersCount","changeAdvancedFilter","clearFilters"],["class","advanced-filter",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[3,"attrNames","disableRouting","displayedColumns","onlyAllowed","facilityId","searchString","resourceId","serviceId","tableId","voId",4,"ngIf"],[1,"advanced-filter"],[1,"toggle","filters"],["labelPosition","before",1,"mr-2",3,"ngModel","ngModelChange","change"],[1,"text-muted"],[1,"search-select",3,"vos","vo","voSelected"],[1,"search-select",3,"resources","displayStatus","resource","resourceSelected"],[1,"search-select",3,"services","service","serviceSelected"],[1,"ml-auto","mr-auto"],[3,"attrNames","disableRouting","displayedColumns","onlyAllowed","facilityId","searchString","resourceId","serviceId","tableId","voId"]],template:function(Te,Oe){1&Te&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"div",1),_.TgZ(5,"perun-web-apps-refresh-button",2),_.NdJ("refresh",function(){return Oe.refreshPage()}),_.qZA(),_.TgZ(6,"perun-web-apps-debounce-filter",3),_.NdJ("filter",function(We){return Oe.applyFilter(We)}),_.qZA(),_.TgZ(7,"perun-web-apps-advanced-filter",4),_.NdJ("changeAdvancedFilter",function(We){return Oe.advancedFilter=We})("clearFilters",function(){return Oe.clearFilters()}),_.qZA(),_.qZA(),_.YNc(8,ye,12,14,"div",5),_.YNc(9,T,1,0,"mat-spinner",6),_.YNc(10,L,1,11,"perun-web-apps-users-dynamic-list",7),_.qZA()),2&Te&&(_.xp6(2),_.Oqu(_.lcZ(3,7,"FACILITY_DETAIL.ALLOWED_USERS.TITLE")),_.xp6(4),_.Q6J("placeholder","FACILITY_DETAIL.ALLOWED_USERS.FILTER"),_.xp6(1),_.Q6J("advancedFilter",Oe.advancedFilter)("filtersCount",Oe.filtersCount),_.xp6(1),_.Q6J("ngIf",Oe.advancedFilter),_.xp6(1),_.Q6J("ngIf",Oe.loading),_.xp6(1),_.Q6J("ngIf",!Oe.loading))},directives:[b.t,E.P,A,q.O5,j.Rr,G.JJ,G.On,Q.M,he.L,F.J,be.Ou,pe.M],pipes:[N.X$],styles:[".filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}.filter[_ngcontent-%COMP%]{min-width:350px}.search-select[_ngcontent-%COMP%]{width:32%;margin-right:20px;margin-top:30px}.toggle[_ngcontent-%COMP%]{display:flex;flex-direction:column}.advanced-filter[_ngcontent-%COMP%]{border:1px solid lightgray;padding:15px}"]}),Y})()},34904:(qe,me,h)=>{"use strict";h.d(me,{f:()=>Oe});var e=h(20449),c=h(533),g=h(32105),w=h(93075),_=h(48966),b=h(32080),E=h(5e3),v=h(51062),I=h(69808),N=h(20773),A=h(62707),q=h(67322),j=h(98833),G=h(47423);function Q(Se,We){1&Se&&E._UZ(0,"mat-spinner",5)}function he(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"div",6),E.TgZ(1,"perun-web-apps-vo-search-select",7),E.NdJ("voSelected",function(ue){return E.CHM(ge),E.oxw().selectedVo=ue}),E.qZA(),E.TgZ(2,"mat-form-field"),E._UZ(3,"input",8),E.ALo(4,"translate"),E.TgZ(5,"mat-error"),E._uU(6),E.ALo(7,"translate"),E.qZA(),E.qZA(),E.TgZ(8,"mat-form-field"),E._UZ(9,"input",9),E.ALo(10,"translate"),E.TgZ(11,"mat-error"),E._uU(12),E.ALo(13,"translate"),E.qZA(),E.qZA(),E.qZA()}if(2&Se){const ge=E.oxw();E.xp6(1),E.Q6J("vos",ge.vos),E.xp6(2),E.s9C("placeholder",E.lcZ(4,7,"DIALOGS.CREATE_RESOURCE.NAME")),E.Q6J("formControl",ge.nameCtrl),E.xp6(3),E.hij(" ",E.lcZ(7,9,"DIALOGS.CREATE_RESOURCE.INCORRECT_NAME")," "),E.xp6(3),E.s9C("placeholder",E.lcZ(10,11,"DIALOGS.CREATE_RESOURCE.DESCRIPTION")),E.Q6J("formControl",ge.descriptionCtrl),E.xp6(3),E.hij(" ",E.lcZ(13,13,"DIALOGS.CREATE_RESOURCE.FILL_DESCRIPTION")," ")}}let F=(()=>{class Se{constructor(ge,Le,ue,Me,z,P){this.dialogRef=ge,this.data=Le,this.notificator=ue,this.voService=Me,this.translate=z,this.resourcesManager=P,this.vos=[],this.selectedVo=null,z.get("DIALOGS.CREATE_RESOURCE.SUCCESS").subscribe(de=>this.successMessage=de)}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voService.getAllVos().subscribe(ge=>{this.vos=ge,this.loading=!1},()=>this.loading=!1),this.nameCtrl=new w.NI(null,[w.kI.required,w.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new w.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 Se.\u0275fac=function(ge){return new(ge||Se)(E.Y36(_.so),E.Y36(_.WI),E.Y36(b.V6),E.Y36(g.YF),E.Y36(v.sK),E.Y36(g.xk))},Se.\u0275cmp=E.Xpm({type:Se,selectors:[["app-create-resource-dialog"]],decls:10,vars:12,consts:[["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"],["data-cy","create-resource-dialog-button","color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container"],["data-cy","create-resource-select-vo",3,"vos","voSelected"],["matInput","","data-cy","create-resource-name-input","required","",3,"formControl","placeholder"],["matInput","",3,"formControl","placeholder"]],template:function(ge,Le){1&ge&&(E.TgZ(0,"div"),E.YNc(1,Q,1,0,"mat-spinner",0),E.YNc(2,he,14,15,"div",1),E.TgZ(3,"div",2),E.TgZ(4,"button",3),E.NdJ("click",function(){return Le.onCancel()}),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.TgZ(7,"button",4),E.NdJ("click",function(){return Le.onSubmit()}),E._uU(8),E.ALo(9,"translate"),E.qZA(),E.qZA(),E.qZA()),2&ge&&(E.Tol(Le.theme),E.xp6(1),E.Q6J("ngIf",Le.loading),E.xp6(1),E.Q6J("ngIf",!Le.loading),E.xp6(3),E.hij(" ",E.lcZ(6,8,"DIALOGS.CREATE_RESOURCE.CANCEL")," "),E.xp6(2),E.Q6J("disabled",Le.nameCtrl.invalid||Le.descriptionCtrl.invalid||null===Le.selectedVo||Le.loading),E.xp6(1),E.hij(" ",E.lcZ(9,10,"DIALOGS.CREATE_RESOURCE.CREATE")," "))},directives:[I.O5,N.Ou,_.xY,A.M,q.KE,j.Nt,w.Fj,w.Q7,w.JJ,w.oH,q.TO,_.H8,G.lW],pipes:[v.X$],styles:[".long-input[_ngcontent-%COMP%]{width:100%}"]}),Se})();var be=h(10036),pe=h(9244),ye=h(96214),T=h(30540),R=h(7434),L=h(62109);function X(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"button",9),E.NdJ("click",function(){return E.CHM(ge),E.oxw().createResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&Se&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"FACILITY_DETAIL.RESOURCES.CREATE")," "))}function Y(Se,We){if(1&Se){const ge=E.EpF();E.TgZ(0,"button",10),E.NdJ("click",function(){return E.CHM(ge),E.oxw().removeResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&Se){const ge=E.oxw();E.Q6J("disabled",0===ge.selected.selected.length),E.xp6(1),E.hij(" ",E.lcZ(2,2,"FACILITY_DETAIL.RESOURCES.DELETE")," ")}}function se(Se,We){1&Se&&E._UZ(0,"mat-spinner",11)}function Te(Se,We){if(1&Se&&E._UZ(0,"perun-web-apps-resources-list",12),2&Se){const ge=E.oxw();E.Q6J("tableId",ge.tableId)("filterValue",ge.filterValue)("resources",ge.resources)("selection",ge.selected)("disableRouting",!ge.routeAuth)("displayedColumns",ge.displayedColumns)}}let Oe=(()=>{class Se{constructor(ge,Le,ue,Me,z){this.dialog=ge,this.facilitiesManager=Le,this.servicesManager=ue,this.authResolver=Me,this.entityStorageService=z,this.resources=[],this.selected=new e.Ov(!0,[]),this.emptyService={id:-1,beanName:"Service",name:"All"},this.services=[this.emptyService],this.selectedService=this.emptyService,this.filterValue="",this.tableId=be.CP,this.displayedColumns=["id","vo","facility","description"]}ngOnInit(){this.facility=this.entityStorageService.getEntity(),this.setAuthRights(),this.servicesManager.getAssignedServices(this.facility.id).subscribe(ge=>{this.services=[this.emptyService].concat(ge)}),this.refreshTable()}removeResource(){const ge=(0,pe.kZ)();ge.width="450px",ge.data={theme:"facility-theme",resources:this.selected.selected},this.dialog.open(c.f,ge).afterClosed().subscribe(ue=>{ue&&this.refreshTable()})}refreshTable(){this.loading=!0,-1===this.selectedService.id?this.facilitiesManager.getAssignedRichResourcesForFacility(this.facility.id).subscribe(ge=>{this.resources=ge,this.selected.clear(),this.setAuthRights(),this.loading=!1}):this.facilitiesManager.getAssignedRichResourcesForFacilityAndService(this.facility.id,this.selectedService.id).subscribe(ge=>{this.resources=ge,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(ge){this.filterValue=ge}createResource(){const ge=(0,pe.kZ)();ge.width="1350px",ge.data={facilityId:this.facility.id,theme:"facility-theme"},this.dialog.open(F,ge).afterClosed().subscribe(ue=>{ue&&this.refreshTable()})}serviceSelected(ge){this.selectedService=ge,this.refreshTable()}}return Se.id="FacilityResourcesComponent",Se.\u0275fac=function(ge){return new(ge||Se)(E.Y36(_.uw),E.Y36(g.IQ),E.Y36(g.KK),E.Y36(b.x4),E.Y36(b.fb))},Se.\u0275cmp=E.Xpm({type:Se,selectors:[["app-facility-resources"]],hostVars:2,hostBindings:function(ge,Le){2&ge&&E.ekj("router-component",Le.true)},decls:12,vars:10,consts:[[1,"page-subtitle"],[1,"align-elements"],[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"],[1,"search-select","mr-2",3,"services","service","serviceSelected"],[1,"filter-field",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(ge,Le){1&ge&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"div",1),E.TgZ(5,"perun-web-apps-refresh-button",2),E.NdJ("refresh",function(){return Le.refreshTable()}),E.qZA(),E.YNc(6,X,3,3,"button",3),E.YNc(7,Y,3,4,"button",4),E.TgZ(8,"perun-web-apps-service-search-select",5),E.NdJ("serviceSelected",function(Me){return Le.serviceSelected(Me)}),E.qZA(),E.TgZ(9,"perun-web-apps-immediate-filter",6),E.NdJ("filter",function(Me){return Le.applyFilter(Me)}),E.qZA(),E.qZA(),E.YNc(10,se,1,0,"mat-spinner",7),E.YNc(11,Te,1,6,"perun-web-apps-resources-list",8),E.qZA()),2&ge&&(E.xp6(2),E.Oqu(E.lcZ(3,8,"FACILITY_DETAIL.RESOURCES.TITLE")),E.xp6(4),E.Q6J("ngIf",Le.addAuth),E.xp6(1),E.Q6J("ngIf",Le.removeAuth),E.xp6(1),E.Q6J("services",Le.services)("service",Le.selectedService),E.xp6(1),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",Le.loading),E.xp6(1),E.Q6J("ngIf",!Le.loading))},directives:[ye.t,I.O5,G.lW,T.J,R.L,N.Ou,L.C],pipes:[v.X$],styles:[".search-select[_ngcontent-%COMP%]{min-width:325px}.filter-field[_ngcontent-%COMP%]{min-width:250px}.align-elements[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline}"]}),Se})()},86353:(qe,me,h)=>{"use strict";h.d(me,{P:()=>ue});var e=h(32105),c=h(9244),g=h(10036),w=h(20449),_=h(48966),b=h(32080),E=h(93075),v=h(5e3),I=h(51062),N=h(36157),A=h(69808),q=h(20773),j=h(67322),G=h(98833),Q=h(74107),he=h(90508),F=h(98380),be=h(47423);function pe(Me,z){1&Me&&v._UZ(0,"mat-spinner",7)}function ye(Me,z){if(1&Me){const P=v.EpF();v.TgZ(0,"mat-option",16),v.NdJ("click",function(){const Pe=v.CHM(P).$implicit;return v.oxw(2).srcFacility=Pe}),v._uU(1),v.qZA()}if(2&Me){const P=z.$implicit;v.Q6J("value",P),v.xp6(1),v.hij(" ",P.name," ")}}function T(Me,z){if(1&Me){const P=v.EpF();v.TgZ(0,"div",8),v.TgZ(1,"mat-form-field"),v._UZ(2,"input",9),v.ALo(3,"translate"),v.TgZ(4,"mat-error"),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.qZA(),v.TgZ(7,"mat-form-field"),v._UZ(8,"input",10),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"mat-form-field"),v.TgZ(11,"mat-select",11),v.ALo(12,"translate"),v.TgZ(13,"mat-option",12),v.NdJ("click",function(){return v.CHM(P),v.oxw().srcFacility=null}),v._uU(14),v.ALo(15,"translate"),v.qZA(),v.YNc(16,ye,2,2,"mat-option",13),v.qZA(),v.qZA(),v.TgZ(17,"perun-web-apps-alert",14),v._UZ(18,"i",15),v.ALo(19,"translate"),v.qZA(),v.qZA()}if(2&Me){const P=v.oxw();v.xp6(2),v.s9C("placeholder",v.lcZ(3,9,"DIALOGS.CREATE_FACILITY.NAME")),v.Q6J("formControl",P.nameControl),v.xp6(3),v.Oqu(v.lcZ(6,11,"DIALOGS.CREATE_FACILITY.REQUIRE_NAME")),v.xp6(3),v.s9C("placeholder",v.lcZ(9,13,"DIALOGS.CREATE_FACILITY.DESCRIPTION")),v.Q6J("formControl",P.descControl),v.xp6(3),v.s9C("placeholder",v.lcZ(12,15,"DIALOGS.CREATE_FACILITY.AS_COPY")),v.xp6(3),v.hij(" ",v.lcZ(15,17,"DIALOGS.CREATE_FACILITY.NO_COPY")," "),v.xp6(2),v.Q6J("ngForOf",P.facilities),v.xp6(2),v.Q6J("innerHTML",v.lcZ(19,19,"DIALOGS.CREATE_FACILITY.HINT"),v.oJD)}}let R=(()=>{class Me{constructor(P,de,Ce,Pe,ce,fe,Ze){this.dialogRef=P,this.data=de,this.facilitiesManager=Ce,this.notificator=Pe,this.translate=ce,this.router=fe,this.entityStorageService=Ze,this.nameControl=new E.NI("",[E.kI.required]),this.descControl=new E.NI(""),this.srcFacility=null,this.loading=!1,this.configure=!1}ngOnInit(){this.theme=this.data.theme,this.loading=!0,this.facilitiesManager.getAllFacilities().subscribe(P=>{this.facilities=P,this.loading=!1},()=>this.loading=!1)}onCreate(P){this.loading=!0,this.configure=P,this.facilitiesManager.createFacility(this.nameControl.value,this.descControl.value).subscribe(de=>{this.entityStorageService.setEntity({id:de.id,beanName:de.beanName}),sessionStorage.setItem("newFacilityId",String(de.id)),null!==this.srcFacility?this.copyFacilitySettings(de.id):this.handleSuccess(de.id)})}onCancel(){this.dialogRef.close(!1)}copyFacilitySettings(P){this.facilitiesManager.copyAttributes(this.srcFacility.id,P).subscribe(()=>{this.facilitiesManager.copyManagers(this.srcFacility.id,P).subscribe(()=>{this.facilitiesManager.copyOwners(this.srcFacility.id,P).subscribe(()=>{this.handleSuccess(P)},()=>this.loading=!1)},()=>this.loading=!1)},()=>this.loading=!1)}handleSuccess(P){this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_FACILITY.SUCCESS")),this.configure&&this.router.navigate(["facilities",P.toString(),"configuration"]),this.dialogRef.close(!0)}}return Me.\u0275fac=function(P){return new(P||Me)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.IQ),v.Y36(b.V6),v.Y36(I.sK),v.Y36(N.F0),v.Y36(b.fb))},Me.\u0275cmp=v.Xpm({type:Me,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"],["data-cy","create-facility-button","color","accent","mat-flat-button","",1,"ml2",3,"disabled","click"],["color","accent","mat-flat-button","",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(P,de){1&P&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,pe,1,0,"mat-spinner",1),v.YNc(5,T,20,21,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return de.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return de.onCreate(!1)}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.TgZ(13,"button",6),v.NdJ("click",function(){return de.onCreate(!0)}),v._uU(14),v.ALo(15,"translate"),v.qZA(),v.qZA(),v.qZA()),2&P&&(v.Tol(de.theme),v.xp6(2),v.Oqu(v.lcZ(3,11,"DIALOGS.CREATE_FACILITY.TITLE")),v.xp6(2),v.Q6J("ngIf",de.loading),v.xp6(1),v.Q6J("ngIf",!de.loading),v.xp6(3),v.hij(" ",v.lcZ(9,13,"DIALOGS.CREATE_FACILITY.CANCEL")," "),v.xp6(2),v.Q6J("disabled",0===de.nameControl.value.trim().length||de.loading),v.xp6(1),v.hij(" ",v.lcZ(12,15,"DIALOGS.CREATE_FACILITY.CREATE")," "),v.xp6(2),v.Q6J("disabled",0===de.nameControl.value.trim().length||!!de.srcFacility||de.loading),v.xp6(1),v.hij(" ",v.lcZ(15,17,"DIALOGS.CREATE_FACILITY.CREATE_AND_CONFIGURE")," "))},directives:[A.O5,q.Ou,_.xY,j.KE,G.Nt,E.Fj,E.Q7,E.JJ,E.oH,j.TO,Q.gD,he.ey,A.sg,F.w,_.H8,be.lW],pipes:[I.X$],styles:[""]}),Me})();var L=h(54037),X=h(77968),Y=h(4235),se=h(25245),Te=h(96214),Oe=h(7434),Se=h(74010);function We(Me,z){1&Me&&v._UZ(0,"mat-spinner",9)}function ge(Me,z){if(1&Me&&v._UZ(0,"perun-web-apps-facilities-list",10),2&Me){const P=v.oxw();v.Q6J("tableId",P.tableId)("selection",P.selection)("filterValue",P.filterValue)("facilities",P.facilities)("recentIds",P.recentIds)}}const Le=function(){return{color:"black"}};let ue=(()=>{class Me{constructor(P,de,Ce){this.facilityManager=P,this.sideMenuService=de,this.dialog=Ce,this.facilities=[],this.recentIds=[],this.filterValue="",this.tableId=g.xt,this.selection=new w.Ov(!1,[])}ngOnInit(){this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setFacilityMenuItems([])}refreshTable(){this.loading=!0,this.facilityManager.getEnrichedFacilities().subscribe(P=>{this.selection.clear(),this.facilities=P,this.recentIds=(0,c.vL)("facilities"),this.loading=!1})}onCreate(){const P=(0,c.kZ)();P.width="800px",P.data={theme:"facility-theme"},this.dialog.open(R,P).afterClosed().subscribe(Ce=>{Ce&&(this.loading=!0,this.refreshTable())})}onDelete(){const P=(0,c.kZ)();P.width="500px",P.data={theme:"facility-theme",facility:this.selection.selected[0].facility},this.dialog.open(L.Y,P).afterClosed().subscribe(Ce=>{Ce&&this.refreshTable()})}applyFilter(P){this.filterValue=P}}return Me.id="FacilitySelectPageComponent",Me.\u0275fac=function(P){return new(P||Me)(v.Y36(e.IQ),v.Y36(X.D),v.Y36(_.uw))},Me.\u0275cmp=v.Xpm({type:Me,selectors:[["app-facility-select-page"]],hostVars:2,hostBindings:function(P,de){2&P&&v.ekj("router-component",de.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(P,de){1&P&&(v.TgZ(0,"div",0),v._UZ(1,"perun-web-apps-back-button"),v.TgZ(2,"h1",1),v._UZ(3,"mat-icon",2),v._uU(4),v.ALo(5,"translate"),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return de.refreshTable()}),v.qZA(),v.TgZ(7,"button",4),v.NdJ("click",function(){return de.onCreate()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return de.onDelete()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.TgZ(13,"perun-web-apps-immediate-filter",6),v.NdJ("filter",function(Pe){return de.applyFilter(Pe)}),v.qZA(),v.YNc(14,We,1,0,"mat-spinner",7),v.YNc(15,ge,1,5,"perun-web-apps-facilities-list",8),v.qZA()),2&P&&(v.xp6(3),v.Q6J("ngStyle",v.DdM(15,Le)),v.xp6(1),v.hij(" ",v.lcZ(5,9,"FACILITY_MANAGEMENT.TITLE")," "),v.xp6(4),v.hij(" ",v.lcZ(9,11,"FACILITY_MANAGEMENT.CREATE")," "),v.xp6(2),v.Q6J("disabled",0===de.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(12,13,"FACILITY_MANAGEMENT.DELETE")," "),v.xp6(2),v.Q6J("autoFocus",!0)("placeholder","FACILITY_MANAGEMENT.FILTER_PLACEHOLDER"),v.xp6(1),v.Q6J("ngIf",de.loading),v.xp6(1),v.Q6J("ngIf",!de.loading))},directives:[Y.W,se.Hw,A.PC,Te.t,be.lW,Oe.L,A.O5,q.Ou,Se.X],pipes:[I.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),Me})()},51076:(qe,me,h)=>{"use strict";h.d(me,{J:()=>be});var e=h(48966),c=h(32080),g=h(32105),w=h(9244),_=h(93075),b=h(5e3),E=h(51062),v=h(67322),I=h(98833),N=h(74107),A=h(69808),q=h(90508),j=h(47423),G=h(57706);let Q=(()=>{class pe{constructor(T){this.translateService=T,this.returnData=""}transform(T){switch(T){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HEADER").subscribe(R=>{this.returnData=R});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.HTML_COMMENT").subscribe(R=>{this.returnData=R});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTFIELD").subscribe(R=>{this.returnData=R});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.VALIDATED_EMAIL").subscribe(R=>{this.returnData=R});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.USERNAME").subscribe(R=>{this.returnData=R});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.PASSWORD").subscribe(R=>{this.returnData=R});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SELECTIONBOX").subscribe(R=>{this.returnData=R});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TEXTAREA").subscribe(R=>{this.returnData=R});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.COMBOBOX").subscribe(R=>{this.returnData=R});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.CHECKBOX").subscribe(R=>{this.returnData=R});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.SUBMIT_BUTTON").subscribe(R=>{this.returnData=R});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.RADIO").subscribe(R=>{this.returnData=R});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.TIMEZONE").subscribe(R=>{this.returnData=R});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.AUTO_SUBMIT_BUTTON").subscribe(R=>{this.returnData=R});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.EMBEDDED_GROUP_APPLICATION").subscribe(R=>{this.returnData=R});break;case"LIST_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.LIST_INPUT_BOX").subscribe(R=>{this.returnData=R});break;case"MAP_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.WIDGET_DESCRIPTION.MAP_INPUT_BOX").subscribe(R=>{this.returnData=R});break;default:return T}return this.returnData}}return pe.\u0275fac=function(T){return new(T||pe)(b.Y36(E.sK,16))},pe.\u0275pipe=b.Yjl({name:"applicationFormWidgetDescription",type:pe,pure:!0}),pe})();function he(pe,ye){if(1&pe&&(b.TgZ(0,"mat-option",9),b._uU(1),b.ALo(2,"applicationFormItemType"),b.qZA()),2&pe){const T=ye.$implicit;b.Q6J("value",T),b.xp6(1),b.hij(" ",b.lcZ(2,2,T)," ")}}function F(pe,ye){if(1&pe&&(b.TgZ(0,"mat-option",9),b._uU(1),b.qZA()),2&pe){const T=ye.$implicit;b.Q6J("value",T),b.xp6(1),b.hij(" ",T," ")}}let be=(()=>{class pe{constructor(T,R,L,X){this.dialogRef=T,this.data=R,this.translateService=L,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","LIST_INPUT_BOX","MAP_INPUT_BOX"]}ngOnInit(){this.translateService.get("DIALOGS.APPLICATION_FORM_ADD_ITEM.INSERT_TO_BEGINNING").subscribe(T=>{this.nameCtrl=new _.NI("",[_.kI.required,_.kI.pattern(".*[\\S]+.*"),_.kI.maxLength(129)]),this.nameCtrl.markAllAsTouched(),this.items.push(T);for(const R of this.data.applicationFormItems)this.items.push(R.shortname),R.type===g.Dy.EMBEDDED_GROUP_APPLICATION&&(this.widgets=this.widgets.filter(L=>L!==g.Dy.EMBEDDED_GROUP_APPLICATION));this.selectedItem=T})}cancel(){this.dialogRef.close(void 0)}submit(){const T=this.createApplicationItem();this.dialogRef.close([this.data.applicationFormItems,T])}createApplicationItem(){const T=(0,w.dv)(this.languages);T.id=this.data.fakeId,T.shortname=this.nameCtrl.value,T.type=this.selectedWidget;for(let R=0;R{"use strict";h.d(me,{W:()=>q});var e=h(48966),c=h(32105),g=h(32080),w=h(5e3),_=h(51062),b=h(69808),E=h(20773),v=h(62707),I=h(82322),N=h(47423);function A(j,G){1&j&&w._UZ(0,"mat-spinner",9)}let q=(()=>{class j{constructor(Q,he,F,be,pe,ye,T,R,L){this.dialogRef=Q,this.voService=he,this.groupService=F,this.translateService=be,this.registrarManager=pe,this.notificatorService=ye,this.apiRequest=T,this.cd=R,this.data=L,this.vos=[],this.groups=[],this.selectedGroup=null,this.loading=!1,this.nameFunction=X=>X.name,be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUCCESS").subscribe(X=>this.successMessage=X),be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.PRIVILEGE").subscribe(X=>this.privilegeMessage=X),be.get("DIALOGS.APPLICATION_FORM_COPY_ITEMS.NO_FORM").subscribe(X=>this.noFormMessage=X)}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(Q=>{this.vos=Q,this.loading=!1},()=>this.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.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)},Q=>{const he=Q.error;"FormNotExistsException"===he.name&&this.notificatorService.showError(this.noFormMessage),"PrivilegeException"===he.name&&this.notificatorService.showError(this.privilegeMessage),this.loading=!1})}voSelected(Q){this.selectedVo=Q,this.cd.detectChanges(),this.getGroups()}getGroups(){void 0!==this.selectedVo?this.groupService.getAllGroups(this.selectedVo.id).subscribe(Q=>{this.groups=Q}):this.groups=[],this.selectedGroup=null}}return j.\u0275fac=function(Q){return new(Q||j)(w.Y36(e.so),w.Y36(c.YF),w.Y36(c.ff),w.Y36(_.sK),w.Y36(c.tk),w.Y36(g.V6),w.Y36(g.F5),w.Y36(w.sBO),w.Y36(e.WI))},j.\u0275cmp=w.Xpm({type:j,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"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"ml-auto","mr-auto"]],template:function(Q,he){1&Q&&(w.TgZ(0,"div"),w.TgZ(1,"h1",0),w._uU(2),w.ALo(3,"translate"),w.qZA(),w.YNc(4,A,1,0,"mat-spinner",1),w.TgZ(5,"div",2),w.TgZ(6,"div",3),w._uU(7),w.ALo(8,"translate"),w.qZA(),w._uU(9),w.ALo(10,"translate"),w.TgZ(11,"perun-web-apps-vo-search-select",4),w.NdJ("voSelected",function(be){return he.voSelected(be)}),w.qZA(),w._uU(12),w.ALo(13,"translate"),w.TgZ(14,"perun-web-apps-group-search-select",5),w.NdJ("groupSelected",function(be){return he.selectedGroup=be}),w.qZA(),w.qZA(),w.TgZ(15,"div",6),w.TgZ(16,"button",7),w.NdJ("click",function(){return he.cancel()}),w._uU(17),w.ALo(18,"translate"),w.qZA(),w.TgZ(19,"button",8),w.NdJ("click",function(){return he.submit()}),w._uU(20),w.ALo(21,"translate"),w.qZA(),w.qZA(),w.qZA()),2&Q&&(w.Tol(he.theme),w.xp6(2),w.Oqu(w.lcZ(3,15,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.TITLE")),w.xp6(2),w.Q6J("ngIf",he.loading),w.xp6(1),w.Q6J("hidden",he.loading),w.xp6(2),w.hij(" ",w.lcZ(8,17,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.DESCRIPTION")," "),w.xp6(2),w.hij(" ",w.lcZ(10,19,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_VO"),": "),w.xp6(2),w.Q6J("vos",he.vos),w.xp6(1),w.hij(" ",w.lcZ(13,21,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SOURCE_GROUP"),": "),w.xp6(2),w.Q6J("groups",he.groups)("disableAutoSelect",!0),w.xp6(3),w.hij(" ",w.lcZ(18,23,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.CANCEL_BUTTON")," "),w.xp6(2),w.Q6J("disabled",!he.selectedVo&&!he.selectedGroup||he.loading),w.xp6(1),w.hij(" ",w.lcZ(21,25,"DIALOGS.APPLICATION_FORM_COPY_ITEMS.SUBMIT_BUTTON")," "))},directives:[e.uh,b.O5,E.Ou,e.xY,v.M,I.h,e.H8,N.lW],pipes:[_.X$],styles:[""]}),j})()},40009:(qe,me,h)=>{"use strict";h.d(me,{R:()=>he});var e=h(48966),c=h(32080),g=h(93075),w=h(32105),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(77446),q=h(47423);function j(F,be){1&F&&_._UZ(0,"mat-spinner",4)}function G(F,be){if(1&F){const pe=_.EpF();_.TgZ(0,"div",5),_.TgZ(1,"mat-form-field"),_.TgZ(2,"input",6),_.NdJ("change",function(){return _.CHM(pe),_.oxw().makePath()}),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"mat-error"),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.qZA(),_.TgZ(7,"mat-form-field"),_.TgZ(8,"input",7),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().description=T}),_.ALo(9,"translate"),_.qZA(),_.qZA(),_.TgZ(10,"mat-form-field"),_._UZ(11,"input",8),_.ALo(12,"translate"),_.TgZ(13,"mat-error"),_._uU(14),_.ALo(15,"translate"),_.qZA(),_.qZA(),_.TgZ(16,"mat-form-field"),_._UZ(17,"input",9),_.ALo(18,"translate"),_.TgZ(19,"mat-error"),_._uU(20),_.ALo(21,"translate"),_.qZA(),_.qZA(),_.TgZ(22,"mat-form-field"),_._UZ(23,"input",8),_.ALo(24,"translate"),_.TgZ(25,"mat-error"),_._uU(26),_.ALo(27,"translate"),_.qZA(),_.qZA(),_.TgZ(28,"span",10),_._uU(29),_.ALo(30,"translate"),_.TgZ(31,"mat-checkbox",11),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().status=T}),_._uU(32),_.ALo(33,"translate"),_.qZA(),_.qZA(),_.TgZ(34,"span",10),_._uU(35),_.ALo(36,"translate"),_.TgZ(37,"mat-checkbox",11),_.NdJ("ngModelChange",function(T){return _.CHM(pe),_.oxw().propagateExpiredMembers=T}),_._uU(38),_.ALo(39,"translate"),_.qZA(),_.qZA(),_.qZA()}if(2&F){const pe=_.oxw();_.xp6(2),_.s9C("placeholder",_.lcZ(3,20,"DIALOGS.CREATE_EDIT_SERVICE.NAME")),_.Q6J("formControl",pe.nameControl),_.xp6(3),_.Oqu(_.lcZ(6,22,"DIALOGS.CREATE_EDIT_SERVICE.RESTRICTION_NAME")),_.xp6(3),_.s9C("placeholder",_.lcZ(9,24,"DIALOGS.CREATE_EDIT_SERVICE.DESCRIPTION")),_.Q6J("ngModel",pe.description),_.xp6(3),_.s9C("placeholder",_.lcZ(12,26,"DIALOGS.CREATE_EDIT_SERVICE.DELAY")),_.Q6J("formControl",pe.delayControl),_.xp6(3),_.Oqu(_.lcZ(15,28,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_DELAY")),_.xp6(3),_.s9C("placeholder",_.lcZ(18,30,"DIALOGS.CREATE_EDIT_SERVICE.RECURRENCE")),_.Q6J("formControl",pe.recurrenceControl),_.xp6(3),_.Oqu(_.lcZ(21,32,"DIALOGS.CREATE_EDIT_SERVICE.INVALID_RECURRENCE")),_.xp6(3),_.s9C("placeholder",_.lcZ(24,34,"DIALOGS.CREATE_EDIT_SERVICE.PATH")),_.Q6J("formControl",pe.pathControl),_.xp6(3),_.Oqu(_.lcZ(27,36,"DIALOGS.CREATE_EDIT_SERVICE.REQUIRE_PATH")),_.xp6(3),_.hij("",_.lcZ(30,38,"DIALOGS.CREATE_EDIT_SERVICE.STATUS")," "),_.xp6(2),_.Q6J("ngModel",pe.status),_.xp6(1),_.Oqu(_.lcZ(33,40,"DIALOGS.CREATE_EDIT_SERVICE.STATUS_HINT")),_.xp6(3),_.hij("",_.lcZ(36,42,"DIALOGS.CREATE_EDIT_SERVICE.EXPIRED_MEMBERS")," "),_.xp6(2),_.Q6J("ngModel",pe.propagateExpiredMembers),_.xp6(1),_.Oqu(_.lcZ(39,44,"DIALOGS.CREATE_EDIT_SERVICE.EXPIRED_MEMBERS_HINT"))}}function Q(F,be){if(1&F){const pe=_.EpF();_.TgZ(0,"div",12),_.TgZ(1,"button",13),_.NdJ("click",function(){return _.CHM(pe),_.oxw().onCancel()}),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"button",14),_.NdJ("click",function(){_.CHM(pe);const T=_.oxw();return T.asEdit?T.onEdit():T.onCreate()}),_._uU(5),_.qZA(),_.qZA()}if(2&F){const pe=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,3,"DIALOGS.CREATE_EDIT_SERVICE.CANCEL")," "),_.xp6(2),_.Q6J("disabled",pe.nameControl.invalid||pe.delayControl.invalid||pe.recurrenceControl.invalid||pe.pathControl.invalid),_.xp6(1),_.hij(" ",pe.buttonText," ")}}let he=(()=>{class F{constructor(pe,ye,T,R,L){this.dialogRef=pe,this.data=ye,this.serviceManager=T,this.notificator=R,this.translate=L,this.loading=!1,this.status=!0,this.propagateExpiredMembers=!0,this.nameControl=new g.NI("",[g.kI.required,g.kI.pattern("^[a-zA-Z0-9_]+$")]),this.delayControl=new g.NI(10,[g.kI.pattern("^[0-9]*$")]),this.recurrenceControl=new g.NI(2,[g.kI.pattern("^[0-9]*$")]),this.pathControl=new g.NI("",[g.kI.required]),this.asEdit=!1}ngOnInit(){this.theme=this.data.theme,this.asEdit=void 0!==this.data.service,this.asEdit?(this.nameControl.setValue(this.data.service.name),this.description=this.data.service.description,this.delayControl.setValue(this.data.service.delay),this.recurrenceControl.setValue(this.data.service.recurrence),this.pathControl.setValue(this.data.service.script),this.status=this.data.service.enabled,this.propagateExpiredMembers=this.data.service.useExpiredMembers,this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT")):(this.title=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_TITLE"),this.buttonText=this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE"))}onCreate(){this.loading=!0,this.serviceManager.createServiceWithService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,useExpiredMembers:this.propagateExpiredMembers,id:0,beanName:""}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.CREATE_SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onEdit(){this.loading=!0,this.serviceManager.updateService({service:{name:this.nameControl.value,description:this.description,delay:this.delayControl.value,recurrence:this.recurrenceControl.value,enabled:this.status,script:this.pathControl.value,useExpiredMembers:this.propagateExpiredMembers,id:this.data.service.id,beanName:this.data.service.beanName}}).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.CREATE_EDIT_SERVICE.EDIT_SUCCESS")),this.dialogRef.close(!0),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}makePath(){const pe="./".concat(this.nameControl.value);this.pathControl.setValue(pe)}}return F.\u0275fac=function(pe){return new(pe||F)(_.Y36(e.so),_.Y36(e.WI),_.Y36(w.KK),_.Y36(c.V6),_.Y36(b.sK))},F.\u0275cmp=_.Xpm({type:F,selectors:[["app-create-service-dialog"]],decls:6,vars:7,consts:[["mat-dialog-title",""],["class","mr-auto ml-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],["mat-dialog-content","",1,"dialog-container"],["matInput","","data-cy","service-name-input","required","",3,"placeholder","formControl","change"],["matInput","","data-cy","service-description-input",3,"ngModel","placeholder","ngModelChange"],["matInput","","required","",3,"formControl","placeholder"],["matInput","","required","",3,"placeholder","formControl"],[1,"d-flex"],[1,"ml-3",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","data-cy","service-create-edit-dialog-button","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(pe,ye){1&pe&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.qZA(),_.YNc(3,j,1,0,"mat-spinner",1),_.YNc(4,G,40,46,"div",2),_.YNc(5,Q,6,5,"div",3),_.qZA()),2&pe&&(_.Tol(ye.theme),_.xp6(2),_.Oqu(ye.title),_.xp6(1),_.Q6J("ngIf",ye.loading),_.xp6(1),_.Q6J("ngIf",!ye.loading),_.xp6(1),_.Q6J("ngIf",!ye.loading))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,g.Fj,g.Q7,g.JJ,g.oH,I.TO,g.On,A.oG,e.H8,q.lW],pipes:[b.X$],styles:[""]}),F})()},81889:(qe,me,h)=>{"use strict";h.d(me,{y:()=>be});var e=h(48966),c=h(32080),g=h(32105),w=h(93075),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(77446),q=h(82322),j=h(47423);function G(pe,ye){1&pe&&_._UZ(0,"mat-spinner",3)}function Q(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"mat-checkbox",14),_.NdJ("ngModelChange",function(L){return _.CHM(T),_.oxw(2).asSubgroup=L})("click",function(){return _.CHM(T),_.oxw(2).loadVoGroups()}),_._uU(1),_.ALo(2,"translate"),_.qZA()}if(2&pe){const T=_.oxw(2);_.Q6J("ngModel",T.asSubgroup)("labelPosition","before"),_.xp6(1),_.hij(" ",_.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function he(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"perun-web-apps-group-search-select",15),_.NdJ("groupSelected",function(L){return _.CHM(T),_.oxw(2).selectedParent=L}),_.qZA()}if(2&pe){const T=_.oxw(2);_.Q6J("disableAutoSelect",!0)("groups",T.voGroups)}}function F(pe,ye){if(1&pe){const T=_.EpF();_.TgZ(0,"div"),_.TgZ(1,"div",4),_.TgZ(2,"mat-form-field"),_.TgZ(3,"label",5),_._UZ(4,"input",6),_.ALo(5,"translate"),_.qZA(),_.TgZ(6,"mat-error"),_._uU(7),_.ALo(8,"translate"),_.qZA(),_.qZA(),_.TgZ(9,"mat-form-field",7),_.TgZ(10,"label",5),_.TgZ(11,"textarea",8),_.ALo(12,"translate"),_._uU(13," "),_.qZA(),_.qZA(),_.qZA(),_.YNc(14,Q,3,5,"mat-checkbox",9),_.YNc(15,he,1,2,"perun-web-apps-group-search-select",10),_.qZA(),_.TgZ(16,"div",11),_.TgZ(17,"button",12),_.NdJ("click",function(){return _.CHM(T),_.oxw().onCancel()}),_._uU(18),_.ALo(19,"translate"),_.qZA(),_.TgZ(20,"button",13),_.NdJ("click",function(){return _.CHM(T),_.oxw().onSubmit()}),_._uU(21),_.ALo(22,"translate"),_.qZA(),_.qZA(),_.qZA()}if(2&pe){const T=_.oxw();_.xp6(4),_.s9C("placeholder",_.lcZ(5,10,"DIALOGS.CREATE_GROUP.NAME")),_.Q6J("formControl",T.nameControl),_.xp6(3),_.hij(" ",T.invalidNameMessage.length?T.invalidNameMessage:_.lcZ(8,12,"DIALOGS.CREATE_GROUP.FILL_VALUE")," "),_.xp6(4),_.s9C("placeholder",_.lcZ(12,14,"DIALOGS.CREATE_GROUP.DESCRIPTION")),_.Q6J("formControl",T.descriptionControl),_.xp6(3),_.Q6J("ngIf",T.isNotSubGroup),_.xp6(1),_.Q6J("ngIf",T.asSubgroup),_.xp6(3),_.hij(" ",_.lcZ(19,16,"DIALOGS.CREATE_GROUP.CANCEL")," "),_.xp6(2),_.Q6J("disabled",T.nameControl.invalid||T.descriptionControl.invalid||T.asSubgroup&&null===T.selectedParent||T.loading),_.xp6(1),_.hij(" ",_.lcZ(22,18,"DIALOGS.CREATE_GROUP.CREATE")," ")}}let be=(()=>{class pe{constructor(T,R,L,X,Y,se){this.dialogRef=T,this.data=R,this.groupService=L,this.translate=X,this.notificator=Y,this.store=se,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.voGroups=[],this.secondaryRegex=this.store.get("group_name_secondary_regex"),this.nameFunction=Te=>Te.name,this.isNotSubGroup=null===this.data.parentGroup,this.isNotSubGroup?X.get("DIALOGS.CREATE_GROUP.TITLE").subscribe(Te=>this.title=Te):X.get("DIALOGS.CREATE_GROUP.TITLE_SUB_GROUP").subscribe(Te=>{this.title=Te+this.data.parentGroup.name}),X.get("DIALOGS.CREATE_GROUP.SUCCESS").subscribe(Te=>this.successMessage=Te),X.get("DIALOGS.CREATE_GROUP.SUCCESS_SUBGROUP").subscribe(Te=>this.successSubGroupMessage=Te)}ngOnInit(){this.theme=this.data.theme,this.invalidNameMessage=this.invalidNameMessage&&this.secondaryRegex?this.invalidNameMessage:"",this.nameControl=new w.NI("",[w.kI.required,w.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),w.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new w.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(T=>{this.voGroups=T.filter(R=>"members"!==R.name)})}}return pe.\u0275fac=function(T){return new(T||pe)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.ff),_.Y36(b.sK),_.Y36(c.V6),_.Y36(c.d6))},pe.\u0275cmp=_.Xpm({type:pe,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,"ngModel","labelPosition","ngModelChange","click",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,"ngModel","labelPosition","ngModelChange","click"],[1,"long-input",3,"disableAutoSelect","groups","groupSelected"]],template:function(T,R){1&T&&(_.TgZ(0,"h1",0),_._uU(1),_.qZA(),_.TgZ(2,"div"),_.YNc(3,G,1,0,"mat-spinner",1),_.YNc(4,F,23,20,"div",2),_.qZA()),2&T&&(_.xp6(1),_.Oqu(R.title),_.xp6(1),_.Tol(R.theme),_.xp6(1),_.Q6J("ngIf",R.loading),_.xp6(1),_.Q6J("ngIf",!R.loading))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,w.Fj,w.Q7,w.JJ,w.oH,I.TO,A.oG,w.On,q.h,e.H8,j.lW],pipes:[b.X$],styles:[""]}),pe})()},54037:(qe,me,h)=>{"use strict";h.d(me,{Y:()=>v});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.facilitiesManager=j,this.notificator=G,this.translate=Q,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.facility=this.data.facility,this.dataSource=new w.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(A){this.force=A.force,A.deleted?this.onConfirm():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(c.so),_.Y36(c.WI),_.Y36(e.IQ),_.Y36(g.V6),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-facility-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","facilities")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},41656:(qe,me,h)=>{"use strict";h.d(me,{P:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.translate=G,this.groupService=Q,this.displayedColumns=["name"],this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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 A=this.data.groups.map(q=>q.id);this.groupService.deleteGroups({groups:A,forceDelete:this.force}).subscribe(()=>{this.translate.get("DIALOGS.DELETE_GROUP.SUCCESS").subscribe(q=>{this.notificator.showSuccess(q),this.dialogRef.close(!0)},()=>this.loading=!1)},()=>this.loading=!1)}onSubmit(A){this.force=A.force,A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(b.sK),_.Y36(w.ff))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-group-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","groups")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},90719:(qe,me,h)=>{"use strict";h.d(me,{m:()=>v});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.serviceManager=j,this.notificator=G,this.translate=Q,this.dataSource=new w.by(this.data.services),this.loading=!1,this.relations=[],this.force=!1}ngOnInit(){this.theme=this.data.theme,this.services=this.data.services,this.relations.push(this.translate.instant("DIALOGS.DELETE_SERVICE.DESTINATION_RELATION")),this.anotherMessage=this.translate.instant("DIALOGS.DELETE_SERVICE.MORE_INFORMATION")}onConfirm(){if(0===this.services.length)return this.dialogRef.close(!0),void this.notificator.showSuccess(this.translate.instant("DIALOGS.DELETE_SERVICE.SUCCESS"));this.loading=!0,this.serviceManager.deleteService(this.services.pop().id,this.force).subscribe(()=>{this.onConfirm(),this.loading=!1},()=>this.loading=!1)}onCancel(){this.dialogRef.close(!1)}onSubmit(A){this.force=A.force,A.deleted?this.onConfirm():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(c.so),_.Y36(c.WI),_.Y36(e.KK),_.Y36(g.V6),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-delete-service-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","anotherMessage","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","services")("anotherMessage",q.anotherMessage)("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[""]}),I})()},83491:(qe,me,h)=>{"use strict";h.d(me,{_:()=>ee});var e=h(48966),c=h(32105),g=h(9244),w=h(33604),_=h(32080),b=h(5e3),E=h(51062),v=h(69808),I=h(20773),N=h(53251);const A=["*"];let q=(()=>{class Ne{}return Ne.\u0275fac=function(H){return new(H||Ne)},Ne.\u0275cmp=b.Xpm({type:Ne,selectors:[["app-edit-application-form-item-line"]],inputs:{label:"label",description:"description"},ngContentSelectors:A,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(H,D){1&H&&(b.F$t(),b.TgZ(0,"div",0),b.TgZ(1,"span",1),b._uU(2),b.qZA(),b.TgZ(3,"div",2),b.Hsn(4),b.qZA(),b.qZA(),b.TgZ(5,"div",3),b._UZ(6,"span",4),b.TgZ(7,"div",5),b._uU(8),b.qZA(),b.qZA()),2&H&&(b.xp6(2),b.hij("",D.label,":"),b.xp6(6),b.hij(" ",D.description," "))},styles:[""]}),Ne})();var j=h(67322),G=h(98833),Q=h(93075),he=h(77446),F=h(52170),be=h(74107),pe=h(90508),ye=h(63312),T=h(74533),R=h(47423),L=h(29772),X=h(25245),Y=h(57706);let se=(()=>{class Ne{constructor(H){this.translateService=H}transform(H){switch(H){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED."+H);default:return H}}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(E.sK,16))},Ne.\u0275pipe=b.Yjl({name:"applicationFormItemDisabled",type:Ne,pure:!0}),Ne})(),Te=(()=>{class Ne{constructor(H){this.translateService=H}transform(H){switch(H){case"ALWAYS":case"NEVER":case"IF_PREFILLED":case"IF_EMPTY":return this.translateService.instant("VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN."+H);default:return H}}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(E.sK,16))},Ne.\u0275pipe=b.Yjl({name:"applicationFormItemHidden",type:Ne,pure:!0}),Ne})();function Oe(Ne,V){1&Ne&&b._UZ(0,"mat-spinner",8)}function Se(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"section"),b.TgZ(5,"mat-checkbox",22),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(3).applicationFormItem.updatable=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(3);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.UPDATABLE")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.updatable)}}function We(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div",13),b.TgZ(1,"mat-form-field",13),b.TgZ(2,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(3).applicationFormItem.federationAttribute=O}),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(3);b.xp6(2),b.Q6J("ngModel",H.applicationFormItem.federationAttribute)}}function ge(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"section"),b.TgZ(5,"mat-checkbox",22),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.required=O}),b.qZA(),b.qZA(),b.qZA(),b.YNc(6,Se,6,7,"div",17),b.TgZ(7,"app-edit-application-form-item-line",12),b.ALo(8,"translate"),b.ALo(9,"translate"),b.TgZ(10,"div",13),b.TgZ(11,"perun-web-apps-selection-item-search-select",23),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.perunSourceAttribute=O.value}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(12,"app-edit-application-form-item-line",12),b.ALo(13,"translate"),b.ALo(14,"translate"),b.TgZ(15,"div",13),b.TgZ(16,"perun-web-apps-selection-item-search-select",23),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.perunDestinationAttribute=O.value}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(17,"app-edit-application-form-item-line",12),b.ALo(18,"translate"),b.ALo(19,"translate"),b.TgZ(20,"div",13),b.TgZ(21,"perun-web-apps-selection-item-search-select",24),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).changeFederationAttribute(O)}),b.qZA(),b.qZA(),b.YNc(22,We,3,1,"div",25),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,22,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED_DESCRIPTION"))("label",b.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REQUIRED")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.required),b.xp6(1),b.Q6J("ngIf",H.typesWithUpdatable.indexOf(H.applicationFormItem.type)>-1),b.xp6(1),b.Q6J("description",b.lcZ(8,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(9,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SOURCE_ATTRIBUTE")),b.xp6(4),b.Q6J("attributes",H.sourceAttributes)("selectedAttribute",H.applicationFormItem.perunSourceAttribute)("asGroup",!!H.data.group)("type",H.itemType.SOURCE),b.xp6(1),b.Q6J("description",b.lcZ(13,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(14,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DESTINATION_ATTRIBUTE")),b.xp6(4),b.Q6J("attributes",H.destinationAttributes)("selectedAttribute",H.applicationFormItem.perunDestinationAttribute)("asGroup",!!H.data.group)("type",H.itemType.DESTINATION),b.xp6(1),b.Q6J("description",b.lcZ(18,34,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE_DESCRIPTION"))("label",b.lcZ(19,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.FEDERATION_ATTRIBUTE")),b.xp6(4),b.Q6J("selectedAttribute",H.applicationFormItem.federationAttribute)("asGroup",!!H.data.group)("type",H.itemType.FEDERATION),b.xp6(1),b.Q6J("ngIf"," -- custom value -- "===H.federationAttributeDN)}}function Le(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.regex=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REGEX")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.regex)}}function ue(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-option",26),b._uU(1),b.ALo(2,"applicationFormItemDisabled"),b.qZA()),2&Ne){const H=V.$implicit;b.Q6J("value",H),b.xp6(1),b.hij(" ",b.lcZ(2,2,H)," ")}}function Me(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"perun-web-apps-app-form-item-search-select",27),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(3).disabledDependencyItem=O}),b.qZA()}if(2&Ne){const H=b.oxw(3);b.Q6J("item",H.disabledDependencyItem)("items",H.possibleDependencyItems)}}function z(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"mat-select",18),b.NdJ("valueChange",function(O){return b.CHM(H),b.oxw(2).applicationFormItem.disabled=O}),b.YNc(6,ue,3,4,"mat-option",19),b.qZA(),b.qZA(),b.qZA(),b.TgZ(7,"app-edit-application-form-item-line",12),b.ALo(8,"translate"),b.ALo(9,"translate"),b.TgZ(10,"div",13),b.YNc(11,Me,1,2,"perun-web-apps-app-form-item-search-select",20),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DESCRIPTION"))("label",b.lcZ(3,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED")),b.xp6(4),b.Q6J("value",H.applicationFormItem.disabled),b.xp6(1),b.Q6J("ngForOf",H.disabledValues),b.xp6(1),b.Q6J("description",b.lcZ(8,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY_DESCRIPTION"))("label",b.lcZ(9,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISABLED_DEPENDENCY")),b.xp6(4),b.Q6J("ngIf",null!==H.disabledDependencyItem)}}function P(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-option",26),b._uU(1),b.ALo(2,"applicationFormItemHidden"),b.qZA()),2&Ne){const H=V.$implicit;b.Q6J("value",H),b.xp6(1),b.hij(" ",b.lcZ(2,2,H)," ")}}function de(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"perun-web-apps-app-form-item-search-select",27),b.NdJ("itemSelected",function(O){return b.CHM(H),b.oxw(2).hiddenDependencyItem=O}),b.qZA()}if(2&Ne){const H=b.oxw(2);b.Q6J("item",H.hiddenDependencyItem)("items",H.possibleDependencyItems)}}function Ce(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",28),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,4,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT_DESCRIPTION"))("label",b.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CONTENT")),b.xp6(4),b.Q6J("cdkTextareaAutosize",!0)("ngModel",D.applicationFormItem.i18n[H].label)}}function Pe(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(6,"app-edit-application-form-item-line",12),b.ALo(7,"translate"),b.ALo(8,"translate"),b.TgZ(9,"mat-form-field",13),b.TgZ(10,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].help=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(11,"app-edit-application-form-item-line",12),b.ALo(12,"translate"),b.ALo(13,"translate"),b.TgZ(14,"mat-form-field",13),b.TgZ(15,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].errorMessage=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_DESCRIPTION"))("label",b.lcZ(3,11,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].label),b.xp6(1),b.Q6J("description",b.lcZ(7,13,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP_DESCRIPTION"))("label",b.lcZ(8,15,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HELP")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].help),b.xp6(1),b.Q6J("description",b.lcZ(12,17,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR_DESCRIPTION"))("label",b.lcZ(13,19,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ERROR")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].errorMessage)}}function ce(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"app-edit-application-form-item-line",12),b.ALo(2,"translate"),b.ALo(3,"translate"),b.TgZ(4,"mat-form-field",13),b.TgZ(5,"textarea",14),b.NdJ("ngModelChange",function(O){b.CHM(H);const i=b.oxw().$implicit;return b.oxw(2).applicationFormItem.i18n[i].label=O}),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(1),b.Q6J("description",b.lcZ(2,3,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL_BUTTON_DESCRIPTION"))("label",b.lcZ(3,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL")),b.xp6(4),b.Q6J("ngModel",D.applicationFormItem.i18n[H].label)}}function fe(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b._uU(1),b.ALo(2,"translate"),b.TgZ(3,"mat-form-field"),b.TgZ(4,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H).$implicit[0]=O}),b.qZA(),b.qZA(),b._uU(5),b.ALo(6,"translate"),b.TgZ(7,"mat-form-field"),b.TgZ(8,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H).$implicit[1]=O}),b.qZA(),b.qZA(),b.TgZ(9,"button",37),b.NdJ("click",function(){const i=b.CHM(H).$implicit,o=b.oxw(2).$implicit;return b.oxw(2).removeOption(i,o)}),b.ALo(10,"translate"),b.TgZ(11,"mat-icon"),b._uU(12,"clear"),b.qZA(),b.qZA(),b.qZA()}if(2&Ne){const H=V.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,5,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.VALUE"),": "),b.xp6(3),b.Q6J("ngModel",H[0]),b.xp6(1),b.hij(" ",b.lcZ(6,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LABEL"),": "),b.xp6(3),b.Q6J("ngModel",H[1]),b.xp6(1),b.s9C("matTooltip",b.lcZ(10,9,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.REMOVE_OPTION"))}}function Ze(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div"),b.TgZ(1,"div",29),b._uU(2),b.ALo(3,"translate"),b.qZA(),b.TgZ(4,"div",30),b._uU(5),b.ALo(6,"translate"),b.qZA(),b.TgZ(7,"div",31),b.TgZ(8,"button",32),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).sortOptionsAZ(O)}),b.TgZ(9,"i",33),b._uU(10,"arrow_downward"),b.qZA(),b._uU(11),b.ALo(12,"translate"),b.qZA(),b.TgZ(13,"button",34),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).sortOptionsZA(O)}),b.TgZ(14,"i",33),b._uU(15,"arrow_upward"),b.qZA(),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.qZA(),b.YNc(18,fe,13,11,"div",35),b.TgZ(19,"button",36),b.NdJ("click",function(){b.CHM(H);const O=b.oxw().$implicit;return b.oxw(2).addOption(O)}),b._uU(20),b.ALo(21,"translate"),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw().$implicit,D=b.oxw(2);b.xp6(2),b.hij(" ",b.lcZ(3,6,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS"),": "),b.xp6(3),b.hij(" ",b.lcZ(6,8,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.OPTIONS_DESCRIPTION")," "),b.xp6(6),b.hij(" ",b.lcZ(12,10,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_AZ")," "),b.xp6(5),b.hij(" ",b.lcZ(17,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SORT_BY_LABEL_ZA")," "),b.xp6(2),b.Q6J("ngForOf",D.options[H]),b.xp6(2),b.hij(" ",b.lcZ(21,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.ADD_OPTION")," ")}}const ne=function(){return["HEADING","HTML_COMMENT"]},it=function(){return["TEXTFIELD","VALIDATED_EMAIL","USERNAME","PASSWORD","RADIO","TEXTAREA","COMBOBOX","CHECKBOX","TIMEZONE","SELECTIONBOX","EMBEDDED_GROUP_APPLICATION","LIST_INPUT_BOX","MAP_INPUT_BOX"]},Be=function(){return["SUBMIT_BUTTON","AUTO_SUBMIT_BUTTON"]},ze=function(){return["RADIO","COMBOBOX","CHECKBOX","SELECTIONBOX"]};function Ue(Ne,V){if(1&Ne&&(b.TgZ(0,"mat-tab",11),b.ALo(1,"translate"),b.ALo(2,"uppercase"),b.YNc(3,Ce,6,8,"div",17),b.YNc(4,Pe,16,21,"div",17),b.YNc(5,ce,6,7,"div",17),b.YNc(6,Ze,22,16,"div",17),b.qZA()),2&Ne){const H=V.$implicit,D=b.oxw(2);b.s9C("label",b.lcZ(1,5,b.lcZ(2,7,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.LANGUAGE_"+H))),b.xp6(3),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(9,ne))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(10,it))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(11,Be))),b.xp6(1),b.Q6J("ngIf",D.isApplicationFormItemOfType(b.DdM(12,ze)))}}const _e=function(){return["TEXTFIELD","USERNAME","VALIDATED_EMAIL","PASSWORD","TEXTAREA","TIMEZONE","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX","LIST_INPUT_BOX","MAP_INPUT_BOX"]},ae=function(){return["TEXTFIELD","USERNAME","PASSWORD","TEXTAREA","CHECKBOX","RADIO","COMBOBOX","SELECTIONBOX","LIST_INPUT_BOX","MAP_INPUT_BOX"]};function Ae(Ne,V){if(1&Ne){const H=b.EpF();b.TgZ(0,"div",9),b.TgZ(1,"mat-tab-group",10),b.TgZ(2,"mat-tab",11),b.ALo(3,"translate"),b.TgZ(4,"app-edit-application-form-item-line",12),b.ALo(5,"translate"),b.ALo(6,"translate"),b.TgZ(7,"mat-form-field",13),b.TgZ(8,"input",14),b.NdJ("ngModelChange",function(O){return b.CHM(H),b.oxw().applicationFormItem.shortname=O}),b.qZA(),b.qZA(),b.qZA(),b.TgZ(9,"app-edit-application-form-item-line",12),b.ALo(10,"translate"),b.ALo(11,"translate"),b._uU(12),b.ALo(13,"applicationFormItemType"),b.qZA(),b.TgZ(14,"app-edit-application-form-item-line",12),b.ALo(15,"translate"),b.ALo(16,"translate"),b.TgZ(17,"section"),b.TgZ(18,"mat-checkbox",15),b.NdJ("change",function(){return b.CHM(H),b.oxw().onChangingType("INITIAL")}),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-checkbox",16),b.NdJ("change",function(){return b.CHM(H),b.oxw().onChangingType("EXTENSION")}),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.qZA(),b.qZA(),b.YNc(24,ge,23,38,"div",17),b.YNc(25,Le,6,7,"div",17),b.YNc(26,z,12,15,"div",17),b.TgZ(27,"app-edit-application-form-item-line",12),b.ALo(28,"translate"),b.ALo(29,"translate"),b.TgZ(30,"mat-form-field",13),b.TgZ(31,"mat-select",18),b.NdJ("valueChange",function(O){return b.CHM(H),b.oxw().applicationFormItem.hidden=O}),b.YNc(32,P,3,4,"mat-option",19),b.qZA(),b.qZA(),b.qZA(),b.TgZ(33,"app-edit-application-form-item-line",12),b.ALo(34,"translate"),b.ALo(35,"translate"),b.TgZ(36,"div",13),b.YNc(37,de,1,2,"perun-web-apps-app-form-item-search-select",20),b.qZA(),b.qZA(),b.qZA(),b.YNc(38,Ue,7,13,"mat-tab",21),b.qZA(),b.qZA()}if(2&Ne){const H=b.oxw();b.xp6(2),b.s9C("label",b.lcZ(3,24,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.BASIC_SETTINGS")),b.xp6(2),b.Q6J("description",b.lcZ(5,26,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME_DESCRIPTION"))("label",b.lcZ(6,28,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SHORT_NAME")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.shortname),b.xp6(1),b.Q6J("description",b.lcZ(10,30,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET_DESCRIPTION"))("label",b.lcZ(11,32,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INPUT_WIDGET")),b.xp6(3),b.hij(" ",b.lcZ(13,34,H.applicationFormItem.type)," "),b.xp6(2),b.Q6J("description",b.lcZ(15,36,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION_DESCRIPTION"))("label",b.lcZ(16,38,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.DISPLAY_ON_APPLICATION")),b.xp6(4),b.Q6J("ngModel",H.applicationFormItem.applicationTypes.includes("INITIAL")),b.xp6(1),b.hij(" ",b.lcZ(20,40,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.INITIAL")," "),b.xp6(2),b.Q6J("ngModel",H.applicationFormItem.applicationTypes.includes("EXTENSION")),b.xp6(1),b.hij(" ",b.lcZ(23,42,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.EXTENSION")," "),b.xp6(2),b.Q6J("ngIf",H.isApplicationFormItemOfType(b.DdM(52,_e))),b.xp6(1),b.Q6J("ngIf",H.isApplicationFormItemOfType(b.DdM(53,ae))),b.xp6(1),b.Q6J("ngIf",H.typesWithDisabled.indexOf(H.applicationFormItem.type)>-1),b.xp6(1),b.Q6J("description",b.lcZ(28,44,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DESCRIPTION"))("label",b.lcZ(29,46,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN")),b.xp6(4),b.Q6J("value",H.applicationFormItem.hidden),b.xp6(1),b.Q6J("ngForOf",H.hiddenValues),b.xp6(1),b.Q6J("description",b.lcZ(34,48,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY_DESCRIPTION"))("label",b.lcZ(35,50,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.HIDDEN_DEPENDENCY")),b.xp6(4),b.Q6J("ngIf",null!==H.hiddenDependencyItem),b.xp6(1),b.Q6J("ngForOf",H.languages)}}let ee=(()=>{class Ne{constructor(H,D,O,i,o,u){this.dialogRef=H,this.data=D,this.attributesManager=O,this.translateService=i,this.store=o,this.cd=u,this.federationAttributeDN="",this.itemType=w.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","LIST_INPUT_BOX","MAP_INPUT_BOX"],this.hiddenDependencyItem=null,this.disabledDependencyItem=null,this.languages=["en"],this.dependencyTypes=["PASSWORD","VALIDATED_EMAIL","TEXTFIELD","TEXTAREA","CHECKBOX","RADIO","SELECTIONBOX","COMBOBOX","USERNAME"]}ngOnInit(){this.languages=this.store.get("supported_languages"),this.hiddenDependencyItem=this.data.allItems.find(H=>H.id===this.data.applicationFormItem.hiddenDependencyItemId),this.hiddenDependencyItem||(this.hiddenDependencyItem=w.Sx),this.disabledDependencyItem=this.data.allItems.find(H=>H.id===this.data.applicationFormItem.disabledDependencyItemId),this.disabledDependencyItem||(this.disabledDependencyItem=w.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(H=>{const D=this.filterAttributesForWidget(H);this.sourceAttributes=D.concat(this.findAttribute(H,this.applicationFormItem.perunSourceAttribute)),this.destinationAttributes=D.concat(this.findAttribute(H,this.applicationFormItem.perunDestinationAttribute)),this.loading=!1},()=>this.loading=!1),null===this.applicationFormItem.perunDestinationAttribute&&(this.applicationFormItem.perunDestinationAttribute=""),null===this.applicationFormItem.perunSourceAttribute&&(this.applicationFormItem.perunSourceAttribute=""),this.getOptions()}cancel(){this.dialogRef.close()}submit(){this.applicationFormItem.hiddenDependencyItemId=this.hiddenDependencyItem===w.Sx?null:this.hiddenDependencyItem.id,this.applicationFormItem.disabledDependencyItemId=this.disabledDependencyItem===w.Sx?null:this.disabledDependencyItem.id,this.updateOptions(),this.copy(this.applicationFormItem,this.data.applicationFormItem),this.dialogRef.close(!0)}onChangingType(H){if(this.applicationFormItem.applicationTypes.includes(H)){const D=this.applicationFormItem.applicationTypes.indexOf(H);this.applicationFormItem.applicationTypes.splice(D,1)}else this.applicationFormItem.applicationTypes.push(H)}addOption(H){this.options[H].push(["",""])}removeOption(H,D){this.options[D]=this.options[D].filter(O=>!(O[0]===H[0]&&O[1]===H[1]))}sortOptionsAZ(H){this.options[H]=this.options[H].sort((D,O)=>D[1]>O[1]?1:D[1]D[1]>O[1]?-1:D[1]this.dependencyTypes.includes(H.type)).filter(H=>H.id!==this.data.applicationFormItem.id))}updateOption(H){var D;let O="";if(null!==(D=this.options[H])&&void 0!==D&&D)for(const i of this.options[H])""!==i[0]&&""!==i[1]&&(O=""===O?i[0]+"#"+i[1]:O+"|"+i[0]+"#"+i[1]);this.applicationFormItem.i18n[H].options=O}updateOptions(){for(const H of this.languages)this.updateOption(H)}findAttribute(H,D){return H.find(O=>D.includes(O.friendlyName))}filterAttributesForWidget(H){return H.filter("MAP_INPUT_BOX"===this.applicationFormItem.type?D=>D.type.includes("LinkedHashMap"):"LIST_INPUT_BOX"===this.applicationFormItem.type?D=>D.type.includes("ArrayList"):D=>!D.type.includes("ArrayList")&&!D.type.includes("LinkedHashMap"))}}return Ne.\u0275fac=function(H){return new(H||Ne)(b.Y36(e.so),b.Y36(e.WI),b.Y36(c.H8),b.Y36(E.sK),b.Y36(_.d6),b.Y36(b.sBO))},Ne.\u0275cmp=b.Xpm({type:Ne,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"],["class","dialog-container","mat-dialog-content","",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,"description","label"],[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"],["color","accent","mat-flat-button","",1,"mr-2",3,"click"],["color","warn","mat-icon-button","",3,"matTooltip","click"]],template:function(H,D){1&H&&(b.TgZ(0,"div"),b.TgZ(1,"div",0),b.TgZ(2,"h1",1),b._uU(3),b.ALo(4,"translate"),b.qZA(),b.YNc(5,Oe,1,0,"mat-spinner",2),b.YNc(6,Ae,39,54,"div",3),b.TgZ(7,"div",4),b.TgZ(8,"button",5),b.NdJ("click",function(){return D.cancel()}),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"div",6),b.ALo(12,"translate"),b.TgZ(13,"button",7),b.NdJ("click",function(){return D.submit()}),b._uU(14),b.ALo(15,"translate"),b.qZA(),b.qZA(),b.qZA(),b.qZA(),b.qZA()),2&H&&(b.Gre("",D.theme," h-100"),b.xp6(3),b.AsE(" ",b.lcZ(4,12,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.TITLE")," : ",D.applicationFormItem.shortname," "),b.xp6(2),b.Q6J("ngIf",D.loading),b.xp6(1),b.Q6J("ngIf",!D.loading),b.xp6(3),b.hij(" ",b.lcZ(10,14,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.CANCEL_BUTTON")," "),b.xp6(2),b.s9C("matTooltip",b.lcZ(12,16,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON_DISABLED_TOOLTIP")),b.Q6J("matTooltipDisabled",!D.applicationFormItem.required||""!==D.applicationFormItem.perunSourceAttribute||""!==D.applicationFormItem.federationAttribute||"ALWAYS"!==D.applicationFormItem.disabled&&"ALWAYS"!==D.applicationFormItem.hidden),b.xp6(2),b.Q6J("disabled",D.loading||D.applicationFormItem.required&&""===D.applicationFormItem.perunSourceAttribute&&""===D.applicationFormItem.federationAttribute&&("ALWAYS"===D.applicationFormItem.disabled||"ALWAYS"===D.applicationFormItem.hidden)),b.xp6(1),b.hij(" ",b.lcZ(15,18,"DIALOGS.APPLICATION_FORM_EDIT_ITEM.SUBMIT_BUTTON")," "))},directives:[e.uh,v.O5,I.Ou,e.xY,N.SP,N.uX,q,j.KE,G.Nt,Q.Fj,Q.JJ,Q.On,he.oG,F.$x,be.gD,v.sg,pe.ey,ye.Y,T.IC,R.lW,L.gM,X.Hw,e.H8],pipes:[E.X$,Y.c,se,Te,v.gd],styles:[""]}),Ne})()},19352:(qe,me,h)=>{"use strict";h.d(me,{H:()=>We});var e=h(32105),c=h(48966),g=h(32080),w=h(32075),_=h(9244),b=h(16074),E=h(69808),v=h(5e3),I=h(51062),N=h(20773),A=h(47423),q=h(25245),j=h(29772),G=h(31359);function Q(ge,Le){1&ge&&v._UZ(0,"mat-spinner",6)}function he(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_ID")," "))}function F(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v._uU(1),v.qZA()),2&ge){const ue=Le.$implicit;v.xp6(1),v.Oqu(ue.user.id)}}function be(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_NAME")," "))}function pe(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v._uU(1),v.ALo(2,"userFullName"),v.qZA()),2&ge){const ue=Le.$implicit;v.xp6(1),v.Oqu(v.lcZ(2,1,ue.user))}}function ye(ge,Le){1&ge&&(v.TgZ(0,"th",17),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.EDIT_MEMBER_SPONSORS.TABLE_EXPIRATION")," "))}function T(ge,Le){if(1&ge){const ue=v.EpF();v.TgZ(0,"button",20),v.NdJ("click",function(){v.CHM(ue);const z=v.oxw().$implicit;return v.oxw(2).changeExpiration(z)}),v.TgZ(1,"mat-icon"),v._uU(2," today "),v.qZA(),v.qZA()}}function R(ge,Le){if(1&ge&&(v.TgZ(0,"td",18),v.TgZ(1,"span"),v._uU(2),v.qZA(),v.YNc(3,T,3,0,"button",19),v.qZA()),2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.xp6(2),v.Oqu(Me.parseDate(ue.validityTo)),v.xp6(1),v.Q6J("ngIf",Me.isExpirationAuthorized(ue))}}function L(ge,Le){1&ge&&v._UZ(0,"th",17)}function X(ge,Le){1&ge&&(v.TgZ(0,"mat-icon",25),v._uU(1,"clear"),v.qZA())}function Y(ge,Le){1&ge&&(v.TgZ(0,"mat-icon"),v._uU(1,"settings_backup_restore"),v.qZA())}function se(ge,Le){if(1&ge){const ue=v.EpF();v.TgZ(0,"td",18),v.TgZ(1,"div",21),v.ALo(2,"translate"),v.TgZ(3,"button",22),v.NdJ("click",function(){const P=v.CHM(ue).$implicit;return v.oxw(2).markSponsor(P)}),v.YNc(4,X,2,0,"mat-icon",23),v.YNc(5,Y,2,0,"mat-icon",24),v.qZA(),v.qZA(),v.qZA()}if(2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.xp6(1),v.s9C("matTooltip",v.lcZ(2,6,"DIALOGS.EDIT_MEMBER_SPONSORS.REMOVE_SPONSOR_DISABLED")),v.Q6J("matTooltipDisabled",Me.isRemoveAuthorized(ue))("matTooltipPosition","above"),v.xp6(2),v.Q6J("disabled",!Me.isRemoveAuthorized(ue)),v.xp6(1),v.Q6J("ngIf",!Me.sponsorsToRemove.has(ue.user.id)),v.xp6(1),v.Q6J("ngIf",Me.sponsorsToRemove.has(ue.user.id))}}function Te(ge,Le){1&ge&&v._UZ(0,"tr",26)}function Oe(ge,Le){if(1&ge&&v._UZ(0,"tr",27),2&ge){const ue=Le.$implicit,Me=v.oxw(2);v.ekj("make-red",Me.sponsorsToRemove.has(ue.user.id))}}function Se(ge,Le){if(1&ge&&(v.TgZ(0,"div",7),v.TgZ(1,"table",8),v.ynx(2,9),v.YNc(3,he,3,3,"th",10),v.YNc(4,F,2,1,"td",11),v.BQk(),v.ynx(5,12),v.YNc(6,be,3,3,"th",10),v.YNc(7,pe,3,3,"td",11),v.BQk(),v.ynx(8,13),v.YNc(9,ye,3,3,"th",10),v.YNc(10,R,4,2,"td",11),v.BQk(),v.ynx(11,14),v.YNc(12,L,1,0,"th",10),v.YNc(13,se,6,8,"td",11),v.BQk(),v.YNc(14,Te,1,0,"tr",15),v.YNc(15,Oe,1,2,"tr",16),v.qZA(),v.qZA()),2&ge){const ue=v.oxw();v.xp6(1),v.Q6J("dataSource",ue.dataSource),v.xp6(13),v.Q6J("matHeaderRowDef",ue.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",ue.displayedColumns)}}let We=(()=>{class ge{constructor(ue,Me,z,P,de,Ce,Pe,ce){this.dialogRef=ue,this.data=Me,this.memberService=z,this.userService=P,this.notificator=de,this.authResolver=Ce,this.translate=Pe,this.dialog=ce,this.displayedColumns=["id","name","expiration","remove"],this.loading=!1,this.sponsorsToRemove=new Set,this.expirationChanged=!1}ngOnInit(){this.theme=this.data.theme,this.sponsors=this.data.sponsors,this.dataSource=new w.by(this.data.sponsors),this.vo={beanName:"Vo",id:this.data.member.voId}}markSponsor(ue){this.sponsorsToRemove.has(ue.user.id)?this.sponsorsToRemove.delete(ue.user.id):this.sponsorsToRemove.add(ue.user.id)}onSubmit(){this.loading=!0;const ue=Array.from(this.sponsorsToRemove);this.removeSponsors(ue)}onCancel(){this.dialogRef.close(this.expirationChanged)}isRemoveAuthorized(ue){return this.authResolver.isAuthorized("sponsored-removeSponsor_Member_User_policy",[this.data.member])&&this.authResolver.isAuthorized("sponsor-removeSponsor_Member_User_policy",[ue.user])}isExpirationAuthorized(ue){return this.authResolver.isAuthorized("updateSponsorshipValidity_Member_User_LocalDate",[ue.user,this.vo])}parseDate(ue){return null===ue?"Never expire":(0,E.p6)(ue,"d.M.y","en")}changeExpiration(ue){const Me=(0,_.kZ)();Me.width="400px",Me.data={memberId:this.data.member.id,sponsor:ue},this.dialog.open(b.hd,Me).afterClosed().subscribe(P=>{P&&(this.loading=!0,this.expirationChanged=!0,this.userService.getSponsorsForMember(this.data.member.id,[]).subscribe(de=>{this.sponsors=de,this.dataSource=new w.by(this.sponsors),this.loading=!1}))})}removeSponsors(ue){if(0===ue.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.EDIT_MEMBER_SPONSORS.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const Me=ue.pop();this.memberService.removeSponsor(this.data.member.id,Me).subscribe(()=>{this.removeSponsors(ue)},()=>this.loading=!1)}}return ge.\u0275fac=function(ue){return new(ue||ge)(v.Y36(c.so),v.Y36(c.WI),v.Y36(e.uq),v.Y36(e.Fv),v.Y36(g.V6),v.Y36(g.x4),v.Y36(I.sK),v.Y36(c.uw))},ge.\u0275cmp=v.Xpm({type:ge,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"],["color","warn","mat-flat-button","",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"],["class","font-weight-bolder","mat-header-row","",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,"matTooltipDisabled","matTooltipPosition","matTooltip"],["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(ue,Me){1&ue&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"div"),v.YNc(4,Q,1,0,"mat-spinner",1),v.YNc(5,Se,16,3,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return Me.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return Me.onSubmit()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&ue&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"DIALOGS.EDIT_MEMBER_SPONSORS.TITLE")),v.xp6(2),v.Tol(Me.theme),v.xp6(1),v.Q6J("ngIf",Me.loading),v.xp6(1),v.Q6J("ngIf",!Me.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.EDIT_MEMBER_SPONSORS.CANCEL")," "),v.xp6(2),v.Q6J("disabled",Me.loading||0===Me.sponsorsToRemove.size),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.EDIT_MEMBER_SPONSORS.SUBMIT")," "))},directives:[c.uh,E.O5,N.Ou,c.xY,w.BZ,w.w1,w.fO,w.ge,w.Dz,w.ev,A.lW,q.Hw,j.gM,w.as,w.XQ,w.nj,w.Gk,c.H8],pipes:[I.X$,G.d],styles:[".make-red[_ngcontent-%COMP%]{background-color:#ffcdd2}.btn-delete[_ngcontent-%COMP%]:disabled .icn-delete[_ngcontent-%COMP%]{color:gray}"]}),ge})()},74414:(qe,me,h)=>{"use strict";h.d(me,{R:()=>T});var e=h(48966),c=h(93075),g=h(32105),w=h(32080),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(67322),N=h(98833),A=h(74107),q=h(90508),j=h(47423);function G(R,L){1&R&&_._UZ(0,"mat-spinner",6)}function Q(R,L){1&R&&(_.TgZ(0,"div",14),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_VO")," "))}function he(R,L){1&R&&(_.TgZ(0,"div",14),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.DESCRIPTION_GROUP")," "))}function F(R,L){1&R&&(_.TgZ(0,"mat-error"),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.Oqu(_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.NAME_ERROR")))}function be(R,L){1&R&&(_.TgZ(0,"mat-error"),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&R&&(_.xp6(1),_.Oqu(_.lcZ(2,1,"DIALOGS.INVITE_MEMBER.EMAIL_ERROR")))}function pe(R,L){if(1&R&&(_.TgZ(0,"mat-option",15),_._uU(1),_.ALo(2,"translate"),_.ALo(3,"uppercase"),_.qZA()),2&R){const X=L.$implicit;_.s9C("value",X),_.xp6(1),_.Oqu(_.lcZ(2,2,_.lcZ(3,4,"SHARED_LIB.LANGUAGES."+X)))}}function ye(R,L){if(1&R){const X=_.EpF();_.TgZ(0,"div",7),_.YNc(1,Q,3,3,"div",8),_.YNc(2,he,3,3,"div",8),_.TgZ(3,"mat-form-field",9),_._UZ(4,"input",10),_.ALo(5,"translate"),_.YNc(6,F,3,3,"mat-error",11),_.qZA(),_.TgZ(7,"mat-form-field",9),_._UZ(8,"textarea",10),_.ALo(9,"translate"),_.YNc(10,be,3,3,"mat-error",11),_.qZA(),_.TgZ(11,"mat-form-field",9),_.TgZ(12,"mat-label"),_._uU(13),_.ALo(14,"translate"),_.qZA(),_.TgZ(15,"mat-select",12),_.NdJ("valueChange",function(se){return _.CHM(X),_.oxw().currentLanguage=se}),_.YNc(16,pe,4,6,"mat-option",13),_.qZA(),_.qZA(),_.qZA()}if(2&R){const X=_.oxw();_.xp6(1),_.Q6J("ngIf",!X.data.groupId),_.xp6(1),_.Q6J("ngIf",X.data.groupId),_.xp6(2),_.s9C("placeholder",_.lcZ(5,11,"DIALOGS.INVITE_MEMBER.NAME")),_.Q6J("formControl",X.name),_.xp6(2),_.Q6J("ngIf",X.name.invalid),_.xp6(2),_.s9C("placeholder",_.lcZ(9,13,"DIALOGS.INVITE_MEMBER.EMAIL")),_.Q6J("formControl",X.emailForm),_.xp6(2),_.Q6J("ngIf",X.emailForm.invalid),_.xp6(3),_.Oqu(_.lcZ(14,15,"DIALOGS.INVITE_MEMBER.LANGUAGE")),_.xp6(2),_.Q6J("value",X.currentLanguage),_.xp6(1),_.Q6J("ngForOf",X.languages)}}let T=(()=>{class R{constructor(X,Y,se,Te,Oe,Se){this.dialogRef=X,this.data=Y,this.registrarManager=se,this.notificator=Te,this.translate=Oe,this.store=Se,this.emailForm=new c.NI("",[c.kI.required,c.kI.email.bind(this)]),this.languages=["en"],this.currentLanguage="en",this.name=new c.NI("",c.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 R.\u0275fac=function(X){return new(X||R)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.tk),_.Y36(w.V6),_.Y36(b.sK),_.Y36(w.d6))},R.\u0275cmp=_.Xpm({type:R,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"],["color","accent","mat-flat-button","",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,Y){1&X&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.YNc(4,G,1,0,"mat-spinner",1),_.YNc(5,ye,17,17,"div",2),_.TgZ(6,"div",3),_.TgZ(7,"button",4),_.NdJ("click",function(){return Y.onCancel()}),_._uU(8),_.ALo(9,"translate"),_.qZA(),_.TgZ(10,"button",5),_.NdJ("click",function(){return Y.onSubmit()}),_._uU(11),_.ALo(12,"translate"),_.qZA(),_.qZA(),_.qZA()),2&X&&(_.Tol(Y.theme),_.xp6(2),_.Oqu(_.lcZ(3,9,"DIALOGS.INVITE_MEMBER.TITLE")),_.xp6(2),_.Q6J("ngIf",Y.loading),_.xp6(1),_.Q6J("ngIf",!Y.loading),_.xp6(3),_.hij(" ",_.lcZ(9,11,"DIALOGS.INVITE_MEMBER.CANCEL")," "),_.xp6(2),_.Q6J("disabled",Y.emailForm.invalid||Y.name.invalid||Y.loading),_.xp6(1),_.hij(" ",_.lcZ(12,13,"DIALOGS.INVITE_MEMBER.INVITE")," "))},directives:[e.uh,E.O5,v.Ou,e.xY,I.KE,N.Nt,c.Fj,c.Q7,c.JJ,c.oH,I.TO,I.hX,A.gD,E.sg,q.ey,e.H8,j.lW],pipes:[b.X$,E.gd],styles:[""]}),R})()},87842:(qe,me,h)=>{"use strict";h.d(me,{c:()=>se});var e=h(48966),c=h(93075),g=h(68675),w=h(54004),_=h(36769),b=h(32080),E=h(32105),v=h(5e3),I=h(51062),N=h(79814),A=h(69808),q=h(98380),j=h(67322),G=h(98833),Q=h(91079),he=h(90508),F=h(20773),be=h(47423),pe=h(29772);function ye(Te,Oe){1&Te&&(v.TgZ(0,"mat-radio-button",12),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.NO_GROUP")," "))}function T(Te,Oe){1&Te&&(v.TgZ(0,"mat-radio-button",13),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.TO_GROUP")," "))}function R(Te,Oe){1&Te&&(v.TgZ(0,"perun-web-apps-alert",14),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Te&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"DIALOGS.MOVE_GROUP.CANNOT_MOVE")," "))}function L(Te,Oe){if(1&Te){const Se=v.EpF();v.TgZ(0,"mat-option",20),v.NdJ("click",function(){const Le=v.CHM(Se).$implicit;return v.oxw(2).selectedGroup=Le}),v.TgZ(1,"span"),v._uU(2),v.qZA(),v.qZA()}if(2&Te){const Se=Oe.$implicit;v.Q6J("value",Se),v.xp6(2),v.Oqu(Se.name)}}function X(Te,Oe){if(1&Te){const Se=v.EpF();v.TgZ(0,"mat-form-field",15),v.TgZ(1,"input",16),v.NdJ("change",function(){return v.CHM(Se),v.oxw().selectedGroup=null}),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"mat-autocomplete",17,18),v.YNc(5,L,3,2,"mat-option",19),v.ALo(6,"async"),v.qZA(),v.qZA()}if(2&Te){const Se=v.MAs(4),We=v.oxw();v.Q6J("@openClose","toGroup"===We.moveOption?"open":"closed"),v.xp6(1),v.s9C("placeholder",v.lcZ(2,6,"DIALOGS.MOVE_GROUP.GROUP_SELECT")),v.Q6J("formControl",We.otherGroupsCtrl)("matAutocomplete",Se),v.xp6(2),v.Q6J("displayWith",We.displayFn),v.xp6(2),v.Q6J("ngForOf",v.lcZ(6,8,We.filteredGroups))}}function Y(Te,Oe){1&Te&&v._UZ(0,"mat-spinner",21)}let se=(()=>{class Te{constructor(Se,We,ge,Le,ue,Me,z){this.dialogRef=Se,this.data=We,this.groupService=ge,this.notificator=Le,this.translate=ue,this.apiRequest=Me,this.authResolver=z,this.toRootOptionDisabled=!1,this.toGroupOptionDisabled=!1,this.otherGroups=[],this.otherGroupsCtrl=new c.NI(null,[c.kI.required.bind(this)]),this.loading=!1,this.selectedGroup=null,this.translate.get("DIALOGS.MOVE_GROUP.SUCCESS").subscribe(P=>this.successMessage=P),this.translate.get("DIALOGS.MOVE_GROUP.ERROR").subscribe(P=>this.errorMessage=P)}ngOnInit(){this.loading=!0,this.groupService.getAllGroups(this.data.group.voId).subscribe(Se=>{this.otherGroups=Se.filter(We=>We.id!==this.data.group.id&&"members"!==We.name&&this.canMove(We)),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,w.U)(We=>We?this._filterGroups(We):this.otherGroups.slice())),this.loading=!1},()=>this.loading=!1)}displayFn(Se){return Se&&Se.name}canMove(Se){return this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[Se,this.data.group])&&this.authResolver.isAuthorized("moveGroup_Group_Group_policy",[this.data.group,Se])}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)},Se=>{this.notificator.showRPCError(Se,this.errorMessage),this.dialogRef.close(!1)})}_filterGroups(Se){if("object"==typeof Se)return[];const We=Se.toLowerCase();return Se?this.otherGroups.filter(ge=>ge.name.toLowerCase().includes(We)):this.otherGroups}}return Te.\u0275fac=function(Se){return new(Se||Te)(v.Y36(e.so),v.Y36(e.WI),v.Y36(E.ff),v.Y36(b.V6),v.Y36(I.sK),v.Y36(b.F5),v.Y36(b.x4))},Te.\u0275cmp=v.Xpm({type:Te,selectors:[["app-move-group-dialog"]],decls:23,vars:28,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngModel","ngModelChange"],["color","primary","class","move-options","value","toRoot",4,"ngIf"],["color","primary","value","toGroup",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,"matTooltipDisabled","matTooltipPosition","matTooltip"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"],["color","primary","value","toRoot",1,"move-options"],["color","primary","value","toGroup"],["alert_type","warn"],[1,"w-100","mt-2"],["matInput","","required","",3,"placeholder","formControl","matAutocomplete","change"],[3,"displayWith"],["groupSelectAutocomplete","matAutocomplete"],[3,"value","click",4,"ngFor","ngForOf"],[3,"value","click"],[1,"ml-auto","mr-auto"]],template:function(Se,We){1&Se&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div",1),v.TgZ(5,"p"),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.TgZ(8,"mat-radio-group",2),v.NdJ("ngModelChange",function(Le){return We.moveOption=Le}),v.YNc(9,ye,3,3,"mat-radio-button",3),v.YNc(10,T,3,3,"mat-radio-button",4),v.qZA(),v.YNc(11,R,3,3,"perun-web-apps-alert",5),v.YNc(12,X,7,10,"mat-form-field",6),v.qZA(),v.YNc(13,Y,1,0,"mat-spinner",7),v.TgZ(14,"div",8),v.TgZ(15,"button",9),v.NdJ("click",function(){return We.close()}),v._uU(16),v.ALo(17,"translate"),v.qZA(),v.TgZ(18,"span",10),v.ALo(19,"translate"),v.TgZ(20,"button",11),v.NdJ("click",function(){return We.confirm()}),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.qZA(),v.qZA(),v.qZA()),2&Se&&(v.Tol(We.data.theme),v.xp6(2),v.AsE("",v.lcZ(3,18,"DIALOGS.MOVE_GROUP.TITLE"),"",We.data.group.name,""),v.xp6(4),v.hij(" ",v.lcZ(7,20,"DIALOGS.MOVE_GROUP.INFO")," "),v.xp6(2),v.Q6J("ngModel",We.moveOption),v.xp6(1),v.Q6J("ngIf",!We.toRootOptionDisabled),v.xp6(1),v.Q6J("ngIf",!We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",We.toRootOptionDisabled&&We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",!We.toGroupOptionDisabled),v.xp6(1),v.Q6J("ngIf",We.loading),v.xp6(3),v.hij(" ",v.lcZ(17,22,"DIALOGS.MOVE_GROUP.CANCEL")," "),v.xp6(2),v.s9C("matTooltip",v.lcZ(19,24,"DIALOGS.MOVE_GROUP.DISABLED_HINT")),v.Q6J("matTooltipDisabled",null!==We.selectedGroup||"toRoot"===We.moveOption)("matTooltipPosition","above"),v.xp6(2),v.Q6J("disabled",(We.otherGroupsCtrl.invalid||null===We.selectedGroup)&&"toRoot"!==We.moveOption||We.loading),v.xp6(1),v.hij(" ",v.lcZ(22,26,"DIALOGS.MOVE_GROUP.CONFIRM")," "))},directives:[e.uh,e.xY,N.VQ,c.JJ,c.On,A.O5,N.U0,q.w,j.KE,G.Nt,c.Fj,Q.ZL,c.Q7,c.oH,Q.XC,A.sg,he.ey,F.Ou,e.H8,be.lW,pe.gM],pipes:[I.X$,A.Ov],styles:[".move-options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"],data:{animation:[_.BQ]}}),Te})()},58964:(qe,me,h)=>{"use strict";h.d(me,{m:()=>F});var e=h(48966),c=h(32105),g=h(32080),w=h(5e3),_=h(51062),b=h(69808),E=h(20773),v=h(67322),I=h(74107),N=h(90508),A=h(47423);function q(be,pe){1&be&&w._UZ(0,"mat-spinner",7)}function j(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",ye.friendlyNameParameter," ")}}function G(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.ALo(2,"translate"),w.ALo(3,"uppercase"),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",w.lcZ(2,2,w.lcZ(3,4,"SHARED_LIB.LANGUAGES."+ye))," ")}}function Q(be,pe){if(1&be&&(w.TgZ(0,"mat-option",13),w._uU(1),w.qZA()),2&be){const ye=pe.$implicit;w.Q6J("value",ye),w.xp6(1),w.hij(" ",ye," ")}}function he(be,pe){if(1&be){const ye=w.EpF();w.TgZ(0,"div",8),w.TgZ(1,"mat-form-field"),w.TgZ(2,"mat-label"),w._uU(3),w.ALo(4,"translate"),w.qZA(),w.TgZ(5,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedLogin=R}),w.YNc(6,j,2,2,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(7,"mat-form-field"),w.TgZ(8,"mat-label"),w._uU(9),w.ALo(10,"translate"),w.qZA(),w.TgZ(11,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedLang=R}),w.YNc(12,G,4,6,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(13,"mat-form-field"),w.TgZ(14,"mat-label"),w._uU(15),w.ALo(16,"translate"),w.qZA(),w.TgZ(17,"mat-select",9),w.NdJ("valueChange",function(R){return w.CHM(ye),w.oxw().selectedMail=R}),w.YNc(18,Q,2,2,"mat-option",10),w.qZA(),w.qZA(),w.TgZ(19,"div",11),w.TgZ(20,"p",12),w._uU(21),w.ALo(22,"translate"),w.qZA(),w.TgZ(23,"p"),w._uU(24),w.qZA(),w.qZA(),w.qZA()}if(2&be){const ye=w.oxw();w.xp6(3),w.Oqu(w.lcZ(4,11,"DIALOGS.PASSWORD_RESET_REQUEST.NAMESPACE")),w.xp6(2),w.Q6J("value",ye.selectedLogin),w.xp6(1),w.Q6J("ngForOf",ye.logins),w.xp6(3),w.Oqu(w.lcZ(10,13,"DIALOGS.PASSWORD_RESET_REQUEST.LANGUAGE")),w.xp6(2),w.Q6J("value",ye.selectedLang),w.xp6(1),w.Q6J("ngForOf",ye.languages),w.xp6(3),w.Oqu(w.lcZ(16,15,"DIALOGS.PASSWORD_RESET_REQUEST.EMAIL")),w.xp6(2),w.Q6J("value",ye.selectedMail),w.xp6(1),w.Q6J("ngForOf",ye.mails),w.xp6(3),w.Oqu(w.lcZ(22,17,"DIALOGS.PASSWORD_RESET_REQUEST.LOGIN")),w.xp6(3),w.Oqu(ye.selectedLogin.value)}}let F=(()=>{class be{constructor(ye,T,R,L,X,Y,se){this.dialogRef=ye,this.data=T,this.membersManagerService=R,this.attributesManagerService=L,this.store=X,this.translate=Y,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=[],Y.get("DIALOGS.PASSWORD_RESET_REQUEST.SUCCESS").subscribe(Te=>this.successMessage=Te)}ngOnInit(){this.getMailAttributes(),this.logins=this.data.logins,this.selectedLogin=this.logins[0]}onCancel(){this.dialogRef.close()}onSubmit(){this.loading=!0;const ye=this.selectedLogin.friendlyNameParameter,R=window.location.href.split("/"),L=R[0]+"//"+R[2];this.membersManagerService.sendPasswordResetLinkEmail(this.data.memberId,ye,this.pwdMails.get(this.selectedMail),this.selectedLang,L).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close()},()=>this.loading=!1)}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"}}return be.\u0275fac=function(ye){return new(ye||be)(w.Y36(e.so),w.Y36(e.WI),w.Y36(c.uq),w.Y36(c.H8),w.Y36(g.d6),w.Y36(_.sK),w.Y36(g.V6))},be.\u0275cmp=w.Xpm({type:be,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(ye,T){1&ye&&(w.TgZ(0,"h1",0),w._uU(1),w.ALo(2,"translate"),w.qZA(),w.TgZ(3,"div",1),w.YNc(4,q,1,0,"mat-spinner",2),w.qZA(),w.YNc(5,he,25,19,"div",3),w.TgZ(6,"div",4),w.TgZ(7,"button",5),w.NdJ("click",function(){return T.onCancel()}),w._uU(8),w.ALo(9,"translate"),w.qZA(),w.TgZ(10,"button",6),w.NdJ("click",function(){return T.onSubmit()}),w._uU(11),w.ALo(12,"translate"),w.qZA(),w.qZA()),2&ye&&(w.xp6(1),w.Oqu(w.lcZ(2,6,"DIALOGS.PASSWORD_RESET_REQUEST.TITLE")),w.xp6(3),w.Q6J("ngIf",T.loading),w.xp6(1),w.Q6J("ngIf",!T.loading),w.xp6(3),w.hij(" ",w.lcZ(9,8,"DIALOGS.PASSWORD_RESET_REQUEST.CANCEL")," "),w.xp6(2),w.Q6J("disabled",T.loading),w.xp6(1),w.hij(" ",w.lcZ(12,10,"DIALOGS.PASSWORD_RESET_REQUEST.SEND")," "))},directives:[e.uh,b.O5,E.Ou,e.xY,v.KE,v.hX,I.gD,b.sg,N.ey,e.H8,A.lW],pipes:[_.X$,b.gd],styles:[".column-size[_ngcontent-%COMP%]{width:8rem}"]}),be})()},53455:(qe,me,h)=>{"use strict";h.d(me,{X:()=>ye});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(69808),v=h(20773),I=h(47423),N=h(31359);function A(T,R){1&T&&_._UZ(0,"th",13)}function q(T,R){if(1&T&&(_.TgZ(0,"td",14),_._uU(1),_.qZA()),2&T){const L=R.$implicit;_.xp6(1),_.Oqu(L.id)}}function j(T,R){1&T&&_._UZ(0,"th",13)}function G(T,R){if(1&T&&(_.TgZ(0,"td",14),_._uU(1),_.ALo(2,"userFullName"),_.qZA()),2&T){const L=R.$implicit;_.xp6(1),_.Oqu(_.lcZ(2,1,L.user))}}function Q(T,R){1&T&&_._UZ(0,"tr",15)}function he(T,R){1&T&&_._UZ(0,"tr",16)}function F(T,R){if(1&T&&(_.TgZ(0,"div",4),_.TgZ(1,"p"),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"div",5),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.TgZ(7,"table",6),_.ynx(8,7),_.YNc(9,A,1,0,"th",8),_.YNc(10,q,2,1,"td",9),_.BQk(),_.ynx(11,10),_.YNc(12,j,1,0,"th",8),_.YNc(13,G,3,3,"td",9),_.BQk(),_.YNc(14,Q,1,0,"tr",11),_.YNc(15,he,1,0,"tr",12),_.qZA(),_.qZA()),2&T){const L=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,5,L.data.groupId?"DIALOGS.REMOVE_MEMBERS.DESCRIPTION_GROUP":"DIALOGS.REMOVE_MEMBERS.DESCRIPTION")," "),_.xp6(3),_.hij(" ",_.lcZ(6,7,"DIALOGS.REMOVE_MEMBERS.ASK")," "),_.xp6(2),_.Q6J("dataSource",L.dataSource),_.xp6(7),_.Q6J("matHeaderRowDef",L.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",L.displayedColumns)}}function be(T,R){1&T&&_._UZ(0,"mat-spinner",17)}function pe(T,R){if(1&T){const L=_.EpF();_.TgZ(0,"div",18),_.TgZ(1,"button",19),_.NdJ("click",function(){return _.CHM(L),_.oxw().onCancel()}),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.TgZ(4,"button",20),_.NdJ("click",function(){return _.CHM(L),_.oxw().onSubmit()}),_._uU(5),_.ALo(6,"translate"),_.qZA(),_.qZA()}if(2&T){const L=_.oxw();_.xp6(2),_.hij(" ",_.lcZ(3,2,"DIALOGS.REMOVE_MEMBERS.CANCEL")," "),_.xp6(3),_.hij(" ",_.lcZ(6,4,L.data.groupId?"DIALOGS.REMOVE_MEMBERS.REMOVE_GROUP":"DIALOGS.REMOVE_MEMBERS.REMOVE")," ")}}let ye=(()=>{class T{constructor(L,X,Y,se,Te,Oe){this.dialogRef=L,this.data=X,this.membersService=Y,this.groupService=se,this.notificator=Te,this.translate=Oe,this.displayedColumns=["id","name"]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(L=>L.id)).subscribe(()=>this.onSuccess(),()=>this.onError()):this.membersService.deleteMembers(this.data.members.map(L=>L.id)).subscribe(()=>this.onSuccess(),()=>this.onError())}onSuccess(){const L=this.translate.instant(this.data.groupId?"DIALOGS.REMOVE_MEMBERS.SUCCESS_GROUP":"DIALOGS.REMOVE_MEMBERS.SUCCESS");this.notificator.showSuccess(L),this.dialogRef.close(!0),this.loading=!1}onError(){this.loading=!1}}return T.\u0275fac=function(L){return new(L||T)(_.Y36(e.so),_.Y36(e.WI),_.Y36(w.uq),_.Y36(w.ff),_.Y36(g.V6),_.Y36(b.sK))},T.\u0275cmp=_.Xpm({type:T,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"],["class","font-weight-bolder","mat-header-row","",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"],["color","warn","data-cy","remove-members-dialog","mat-flat-button","",1,"ml-2",3,"click"]],template:function(L,X){1&L&&(_.TgZ(0,"div"),_.TgZ(1,"h1",0),_._uU(2),_.ALo(3,"translate"),_.qZA(),_.YNc(4,F,16,9,"div",1),_.YNc(5,be,1,0,"mat-spinner",2),_.YNc(6,pe,7,6,"div",3),_.qZA()),2&L&&(_.Tol(X.theme),_.xp6(2),_.Oqu(_.lcZ(3,7,"DIALOGS.REMOVE_MEMBERS.TITLE")),_.xp6(2),_.Q6J("ngIf",!X.loading),_.xp6(1),_.Q6J("ngIf",X.loading),_.xp6(1),_.Q6J("ngIf",!X.loading))},directives:[e.uh,E.O5,e.xY,c.BZ,c.w1,c.fO,c.ge,c.Dz,c.ev,c.as,c.XQ,c.nj,c.Gk,v.Ou,e.H8,I.lW],pipes:[b.X$,N.d],styles:[""]}),T})()},533:(qe,me,h)=>{"use strict";h.d(me,{f:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.translate=G,this.resourcesManager=Q,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(A=>{this.loading=!1,this.notificator.showSuccess(A),this.dialogRef.close(!0)}):this.resourcesManager.deleteResource(this.data.resources[0].id).subscribe(()=>{this.data.resources.shift(),this.onDelete()},()=>{this.dialogRef.close(!0)})}onSubmit(A){A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(b.sK),_.Y36(w.xk))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-remove-resource-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","disableForce","loading","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","resources")("disableForce",!0)("loading",q.loading))},directives:[E.e],styles:[""]}),I})()},11717:(qe,me,h)=>{"use strict";h.d(me,{o:()=>v});var e=h(48966),c=h(32075),g=h(32080),w=h(32105),_=h(5e3),b=h(51062),E=h(90995);let v=(()=>{class I{constructor(A,q,j,G,Q){this.dialogRef=A,this.data=q,this.notificator=j,this.voService=G,this.translate=Q,this.force=!1,this.displayedColumns=["name"],this.relations=[],Q.get("DIALOGS.REMOVE_VO.SUCCESS").subscribe(he=>this.successMessage=he)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new c.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(A){this.force=A.force,A.deleted?this.onDelete():this.onCancel()}}return I.\u0275fac=function(A){return new(A||I)(_.Y36(e.so),_.Y36(e.WI),_.Y36(g.V6),_.Y36(w.YF),_.Y36(b.sK))},I.\u0275cmp=_.Xpm({type:I,selectors:[["app-remove-vo-dialog"]],decls:2,vars:7,consts:[[3,"entityNames","entityType","loading","relations","deleted"]],template:function(A,q){1&A&&(_.TgZ(0,"div"),_.TgZ(1,"perun-web-apps-delete-entity-dialog",0),_.NdJ("deleted",function(G){return q.onSubmit(G)}),_.qZA(),_.qZA()),2&A&&(_.Tol(q.theme),_.xp6(1),_.Q6J("entityNames",q.dataSource)("entityType","organizations")("loading",q.loading)("relations",q.relations))},directives:[E.e],styles:[".foo[_ngcontent-%COMP%]{margin-top:20px}"]}),I})()},1186:(qe,me,h)=>{"use strict";h.d(me,{E:()=>he});var e=h(48966),c=h(32105),g=h(5e3),w=h(69808),_=h(20773),b=h(67322),E=h(98833),v=h(93075),I=h(74107),N=h(90508),A=h(47423),q=h(51062);function j(F,be){1&F&&g._UZ(0,"mat-spinner",6)}function G(F,be){if(1&F){const pe=g.EpF();g.TgZ(0,"div"),g.TgZ(1,"mat-form-field",9),g.TgZ(2,"mat-select",10),g.NdJ("valueChange",function(T){return g.CHM(pe),g.oxw(2).embeddedState=T}),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&F){const pe=g.oxw(2);g.xp6(2),g.MGl("placeholder","",g.lcZ(3,4,"DIALOGS.UPDATE_APPLICATION_FORM.EMBEDDED"),":"),g.Q6J("value",pe.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 Q(F,be){if(1&F){const pe=g.EpF();g.TgZ(0,"div",7),g.TgZ(1,"mat-form-field"),g.TgZ(2,"input",8),g.NdJ("ngModelChange",function(T){return g.CHM(pe),g.oxw().moduleName=T}),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(T){return g.CHM(pe),g.oxw().initialState=T}),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(T){return g.CHM(pe),g.oxw().extensionState=T}),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,G,10,10,"div",13),g.qZA()}if(2&F){const pe=g.oxw();g.xp6(2),g.s9C("placeholder",g.lcZ(3,11,"DIALOGS.UPDATE_APPLICATION_FORM.MODULE_NAME")),g.Q6J("ngModel",pe.moduleName),g.xp6(3),g.MGl("placeholder","",g.lcZ(6,13,"DIALOGS.UPDATE_APPLICATION_FORM.INITIAL"),":"),g.Q6J("value",pe.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",pe.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"===pe.entity&&pe.autoRegistrationEnabled)}}let he=(()=>{class F{constructor(pe,ye,T){this.dialogRef=pe,this.data=ye,this.registrarManager=T,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(pe=>{this.dialogRef.close(pe)},()=>this.loading=!1)}}return F.\u0275fac=function(pe){return new(pe||F)(g.Y36(e.so),g.Y36(e.WI),g.Y36(c.tk))},F.\u0275cmp=g.Xpm({type:F,selectors:[["app-update-application-form-dialog"]],decls:13,vars:15,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"],["matInput","",3,"ngModel","placeholder","ngModelChange"],[1,"w-100"],["disableOptionCentering","",3,"value","placeholder","valueChange"],["value","auto"],["value","manual"],[4,"ngIf"]],template:function(pe,ye){1&pe&&(g.TgZ(0,"div"),g.TgZ(1,"h1",0),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,j,1,0,"mat-spinner",1),g.YNc(5,Q,23,25,"div",2),g.TgZ(6,"div",3),g.TgZ(7,"button",4),g.NdJ("click",function(){return ye.onCancel()}),g._uU(8),g.ALo(9,"translate"),g.qZA(),g.TgZ(10,"button",5),g.NdJ("click",function(){return ye.submit()}),g._uU(11),g.ALo(12,"translate"),g.qZA(),g.qZA(),g.qZA()),2&pe&&(g.Tol(ye.theme),g.xp6(2),g.Oqu(g.lcZ(3,9,"DIALOGS.UPDATE_APPLICATION_FORM.TITLE")),g.xp6(2),g.Q6J("ngIf",ye.loading),g.xp6(1),g.Q6J("ngIf",!ye.loading),g.xp6(3),g.hij(" ",g.lcZ(9,11,"DIALOGS.UPDATE_APPLICATION_FORM.CANCEL_BUTTON")," "),g.xp6(2),g.Q6J("disabled",ye.loading),g.xp6(1),g.hij(" ",g.lcZ(12,13,"DIALOGS.UPDATE_APPLICATION_FORM.SUBMIT_BUTTON")," "))},directives:[e.uh,w.O5,_.Ou,e.xY,b.KE,E.Nt,v.Fj,v.JJ,v.On,I.gD,N.ey,e.H8,A.lW],pipes:[q.X$],styles:[""]}),F})()},34775:(qe,me,h)=>{"use strict";h.d(me,{_:()=>qi});var e=h(32105),c=h(5e3),g=h(69808),w=h(20773),_=h(81125),b=h(25245),E=h(9224),v=h(64877),I=h(87831),N=h(24179),A=h(62109),q=h(74010),j=h(38383),G=h(98380),Q=h(51062);function he(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function F(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function be(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SELF_IDENTITIES_"+Pt.entityType)," ")}}const pe=function(){return["user","id","name"]};function ye(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,be,3,3,"div",2),c._UZ(2,"app-users-list",10),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,pe))("disableRouting",!0)("users",Pt.users)}}function T(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ye,3,5,"div",2),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.users.length)}}function R(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getSelfData(vt.roles.get("SELF").get("User"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,F,1,0,"mat-spinner",1),c.YNc(8,T,2,1,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SELF")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function L(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function X(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_VOS_"+Pt.entityType)," ")}}const Y=function(){return["id","name","shortName"]};function se(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,X,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",12),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Y))("vos",Pt.vos)("disableRouting",!0)}}function Te(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_GROUPS_"+Pt.entityType)," ")}}const Oe=function(){return["id","vo","name","description"]};function Se(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,Te,3,3,"div",2),c._UZ(2,"perun-web-apps-groups-list",14),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Oe))("groups",Pt.groups)("disableRouting",!0)}}function We(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_RESOURCES_"+Pt.entityType)," ")}}const ge=function(){return["id","name","vo","facility","description"]};function Le(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,We,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",15),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("disableRouting",!0)}}function ue(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(5);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.MEMBERSHIP_FACILITIES_"+Pt.entityType)," ")}}const Me=function(){return["id","name","description"]};function z(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",13),c.YNc(1,ue,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",16),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Me))("facilities",Pt.facilities)("disableRouting",!0)}}function P(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,se,3,5,"div",2),c.YNc(2,Se,3,5,"div",11),c.YNc(3,Le,3,5,"div",11),c.YNc(4,z,3,5,"div",11),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.vos.length),c.xp6(1),c.Q6J("ngIf",Pt.groups.length),c.xp6(1),c.Q6J("ngIf",Pt.resources.length),c.xp6(1),c.Q6J("ngIf",Pt.facilities.length)}}function de(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getMembershipData(vt.roles.get("MEMBERSHIP").get("Group"),vt.roles.get("MEMBERSHIP").get("Vo"),vt.roles.get("MEMBERSHIP").get("Resource"),vt.roles.get("MEMBERSHIP").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,L,1,0,"mat-spinner",1),c.YNc(8,P,5,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.MEMBERSHIP")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ce(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function Pe(Lt,oi){if(1&Lt&&(c.TgZ(0,"div",20),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.Q6J("ngSwitch",Pt.entityType),c.xp6(1),c.hij(" ",c.lcZ(2,2,"ROLES.GROUPADMIN_GROUPS_"+Pt.entityType)," ")}}function ce(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,Pe,3,4,"div",18),c._UZ(2,"perun-web-apps-groups-list",19),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Oe))("groups",Pt.groups)}}function fe(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getGroups(vt.roles.get("GROUPADMIN").get("Group"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",17),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ce,1,0,"mat-spinner",1),c.YNc(8,ce,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.GROUPADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ze(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function ne(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.GROUPOBSERVER_GROUPS_"+Pt.entityType)," ")}}const it=function(){return["id","recent","vo","name","description"]};function Be(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ne,3,3,"div",2),c._UZ(2,"perun-web-apps-groups-list",19),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,it))("groups",Pt.groups)}}function ze(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getGroups(vt.roles.get("GROUPOBSERVER").get("Group"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",17),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ze,1,0,"mat-spinner",1),c.YNc(8,Be,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.GROUPOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Ue(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function _e(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.VOADMIN_VOS_"+Pt.entityType)," ")}}function ae(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,_e,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function Ae(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("VOADMIN").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Ue,1,0,"mat-spinner",1),c.YNc(8,ae,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.VOADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function ee(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function Ne(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.VOOBSERVER_VOS_"+Pt.entityType)," ")}}function V(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,Ne,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function H(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("VOOBSERVER").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,ee,1,0,"mat-spinner",1),c.YNc(8,V,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.VOOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function D(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function O(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.TRUSTEDFACILITYADMIN_VOS_"+Pt.entityType)," ")}}function i(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.TgZ(1,"div"),c.YNc(2,O,3,3,"div",2),c._UZ(3,"perun-web-apps-vos-list",22),c.qZA(),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(2),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function o(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("TRUSTEDFACILITYADMIN").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,D,1,0,"mat-spinner",1),c.YNc(8,i,4,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.TRUSTEDFACILITYADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function u(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function l(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.TOPGROUPCREATOR_VOS_"+Pt.entityType)," ")}}function s(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,l,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function n(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("TOPGROUPCREATOR").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",21),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,u,1,0,"mat-spinner",1),c.YNc(8,s,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.TOPGROUPCREATOR")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function t(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function r(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCEADMIN_RESOURCES_"+Pt.entityType)," ")}}function a(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,r,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function d(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCEADMIN").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,t,1,0,"mat-spinner",1),c.YNc(8,a,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCEADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function f(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function x(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCEOBSERVER_RESOURCES_"+Pt.entityType)," ")}}function Ye(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,x,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function It(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCEOBSERVER").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,f,1,0,"mat-spinner",1),c.YNc(8,Ye,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCEOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function jt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function bt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.RESOURCESELFSERVICE_RESOURCES_"+Pt.entityType)," ")}}function Yt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,bt,3,3,"div",2),c._UZ(2,"perun-web-apps-resources-list",24),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("resources",Pt.resources)("displayedColumns",c.DdM(4,ge))("routingVo",!0)}}function Ct(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getResources(vt.roles.get("RESOURCESELFSERVICE").get("Resource"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",23),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,jt,1,0,"mat-spinner",1),c.YNc(8,Yt,3,5,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.RESOURCESELFSERVICE")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Nt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function He(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.FACILITYADMIN_FACILITIES_"+Pt.entityType)," ")}}function je(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,He,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",26),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Me))("facilities",Pt.facilities)}}function Z(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getFacilities(vt.roles.get("FACILITYADMIN").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",25),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Nt,1,0,"mat-spinner",1),c.YNc(8,je,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.FACILITYADMIN")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function $(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function oe(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.FACILITYOBSERVER_FACILITIES_"+Pt.entityType)," ")}}function nt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,oe,3,3,"div",2),c._UZ(2,"perun-web-apps-facilities-list",26),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Me))("facilities",Pt.facilities)}}function ct(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getFacilities(vt.roles.get("FACILITYOBSERVER").get("Facility"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",25),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,$,1,0,"mat-spinner",1),c.YNc(8,nt,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.FACILITYOBSERVER")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function Rt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function mt(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SPONSORSHIP_MEMBERS_"+Pt.entityType)," ")}}const Tt=function(){return["id","fullName","sponsored"]};function ot(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,mt,3,3,"div",2),c._UZ(2,"perun-web-apps-members-list",27),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Tt))("members",Pt.members)}}function rt(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getMembers(vt.roles.get("SPONSORSHIP").get("Member"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,Rt,1,0,"mat-spinner",1),c.YNc(8,ot,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SPONSORSHIP")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function lt(Lt,oi){1&Lt&&c._UZ(0,"mat-spinner",4)}function ut(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt){const Pt=c.oxw(4);c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.SPONSOR_VOS_"+Pt.entityType)," ")}}function Ht(Lt,oi){if(1&Lt&&(c.TgZ(0,"div"),c.YNc(1,ut,3,3,"div",2),c._UZ(2,"perun-web-apps-vos-list",22),c.qZA()),2&Lt){const Pt=c.oxw(3);c.xp6(1),c.Q6J("ngIf",Pt.showDescription),c.xp6(1),c.Q6J("displayedColumns",c.DdM(3,Y))("vos",Pt.vos)}}function Qt(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){c.CHM(Pt);const vt=c.oxw(2);return vt.getVos(vt.roles.get("SPONSOR").get("Vo"))}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.YNc(7,lt,1,0,"mat-spinner",1),c.YNc(8,Ht,3,4,"div",2),c.qZA()}if(2&Lt){const Pt=c.oxw(2);c.xp6(5),c.Oqu(c.lcZ(6,3,"ROLES.SPONSOR")),c.xp6(2),c.Q6J("ngIf",Pt.loading),c.xp6(1),c.Q6J("ngIf",!Pt.loading)}}function ni(Lt,oi){1&Lt&&(c.TgZ(0,"mat-expansion-panel"),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&Lt&&(c.xp6(5),c.Oqu(c.lcZ(6,1,"ROLES.PERUN_ADMIN")))}function hi(Lt,oi){1&Lt&&(c.TgZ(0,"mat-expansion-panel"),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&Lt&&(c.xp6(5),c.Oqu(c.lcZ(6,1,"ROLES.PERUN_OBSERVER")))}function gi(Lt,oi){if(1&Lt&&(c.TgZ(0,"p",29),c._uU(1),c.qZA()),2&Lt){const Pt=oi.$implicit;c.xp6(1),c.AsE("",Pt[0]," ids: ",Pt[1],"")}}function xi(Lt,oi){if(1&Lt){const Pt=c.EpF();c.TgZ(0,"mat-expansion-panel",7),c.NdJ("opened",function(){const at=c.CHM(Pt).$implicit;return c.oxw(2).getInnerKeys(at)}),c.TgZ(1,"mat-expansion-panel-header"),c.TgZ(2,"mat-panel-title"),c._UZ(3,"mat-icon",8),c.TgZ(4,"p",9),c._uU(5),c.qZA(),c.qZA(),c.qZA(),c.YNc(6,gi,2,2,"p",28),c.qZA()}if(2&Lt){const Pt=oi.$implicit,$e=c.oxw(2);c.xp6(5),c.Oqu(Pt),c.xp6(1),c.Q6J("ngForOf",$e.currentIds)}}function ji(Lt,oi){if(1&Lt&&(c.TgZ(0,"mat-accordion"),c.YNc(1,R,9,5,"mat-expansion-panel",5),c.YNc(2,de,9,5,"mat-expansion-panel",5),c.YNc(3,fe,9,5,"mat-expansion-panel",5),c.YNc(4,ze,9,5,"mat-expansion-panel",5),c.YNc(5,Ae,9,5,"mat-expansion-panel",5),c.YNc(6,H,9,5,"mat-expansion-panel",5),c.YNc(7,o,9,5,"mat-expansion-panel",5),c.YNc(8,n,9,5,"mat-expansion-panel",5),c.YNc(9,d,9,5,"mat-expansion-panel",5),c.YNc(10,It,9,5,"mat-expansion-panel",5),c.YNc(11,Ct,9,5,"mat-expansion-panel",5),c.YNc(12,Z,9,5,"mat-expansion-panel",5),c.YNc(13,ct,9,5,"mat-expansion-panel",5),c.YNc(14,rt,9,5,"mat-expansion-panel",5),c.YNc(15,Qt,9,5,"mat-expansion-panel",5),c.YNc(16,ni,7,3,"mat-expansion-panel",2),c.YNc(17,hi,7,3,"mat-expansion-panel",2),c.YNc(18,xi,7,2,"mat-expansion-panel",6),c.qZA()),2&Lt){const Pt=c.oxw();c.xp6(1),c.Q6J("ngIf",Pt.roles.get("SELF")),c.xp6(1),c.Q6J("ngIf",Pt.roles.get("MEMBERSHIP")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("GROUPADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("GROUPOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("VOADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("VOOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("TRUSTEDFACILITYADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("TOPGROUPCREATOR")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCEADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCEOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("RESOURCESELFSERVICE")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("FACILITYADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("FACILITYOBSERVER")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("SPONSORSHIP")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("SPONSOR")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("PERUNADMIN")),c.xp6(1),c.Q6J("ngIf",Pt.roles.has("PERUNOBSERVER")),c.xp6(1),c.Q6J("ngForOf",Pt.roleNames)}}function tn(Lt,oi){1&Lt&&(c.TgZ(0,"perun-web-apps-alert",30),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&Lt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"ROLES.NO_ROLES"),"\n"))}let qi=(()=>{class Lt{constructor(Pt,$e,vt,at,Qe,yt,U){this.authzResolverService=Pt,this.usersManagerService=$e,this.vosManagerService=vt,this.facilitiesManagerService=at,this.resourcesManagerService=Qe,this.groupsManagerService=yt,this.membersManagerService=U,this.roles=new Map,this.groups=[],this.vos=[],this.facilities=[],this.resources=[],this.members=[],this.users=[],this.currentIds=[]}getGroups(Pt){this.loading=!0,this.groups=[],this.groupsManagerService.getGroupsByIds(Pt).subscribe($e=>{this.groups=$e,this.loading=!1})}getVos(Pt){this.loading=!0,this.vos=[],this.vosManagerService.getVosByIds(Pt).subscribe($e=>{this.vos=$e,this.loading=!1})}getFacilities(Pt){this.loading=!0,this.facilities=[],this.facilitiesManagerService.getFacilitiesByIds(Pt).subscribe($e=>{this.facilities=$e.map(vt=>({facility:vt})),this.loading=!1})}getResources(Pt){this.loading=!0,this.resources=[],this.resourcesManagerService.getRichResourcesByIds(Pt).subscribe($e=>{this.resources=$e,this.loading=!1})}getMembers(Pt){this.loading=!0,this.members=[],this.membersManagerService.getRichMembersByIds(Pt).subscribe($e=>{this.members=$e,this.loading=!1})}getSelfData(Pt){this.loading=!0,this.vos=[],this.users=[],this.usersManagerService.getVosWhereUserIsMember(this.entityId).subscribe($e=>{this.vos=$e;const vt=[this.entityId].concat(Pt);this.usersManagerService.getRichUsersByIds(vt).subscribe(at=>{this.users=at,this.loading=!1})})}getMembershipData(Pt,$e,vt,at){this.loading=!0,this.vos=[],this.resources=[],this.groups=[],this.facilities=[],this.getResourcesIfArrayNotEmpty(vt).then(()=>this.getFacilitiesIfArrayNotEmpty(at).then(()=>this.getVosIfArrayNotEmpty($e).then(()=>this.getGroupsIfArrayNotEmpty(Pt).then(()=>this.loading=!1).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))).catch(Qe=>console.error(Qe))}getResourcesIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.resourcesManagerService.getRichResourcesByIds(Pt).subscribe(vt=>{this.resources=vt,$e()}):$e()})}getFacilitiesIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.facilitiesManagerService.getFacilitiesByIds(Pt).subscribe(vt=>{this.facilities=vt.map(at=>({facility:at})),$e()}):$e()})}getVosIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.vosManagerService.getVosByIds(Pt).subscribe(vt=>{this.vos=vt,$e()}):$e()})}getGroupsIfArrayNotEmpty(Pt){return new Promise($e=>{Pt&&0!==Pt.length?this.groupsManagerService.getGroupsByIds(Pt).subscribe(vt=>{this.groups=vt,$e()}):$e()})}getInnerKeys(Pt){if(this.roles.get(Pt)){const $e=this.roles.get(Pt).entries(),vt=[];let at=$e.next().value;for(;at;)vt.push(at),at=$e.next().value;this.currentIds=vt}else this.currentIds=[]}}return Lt.\u0275fac=function(Pt){return new(Pt||Lt)(c.Y36(e.Ct),c.Y36(e.Fv),c.Y36(e.YF),c.Y36(e.IQ),c.Y36(e.xk),c.Y36(e.ff),c.Y36(e.uq))},Lt.\u0275cmp=c.Xpm({type:Lt,selectors:[["app-perun-web-apps-roles-page"]],inputs:{roles:"roles",outerLoading:"outerLoading",showDescription:"showDescription",roleNames:"roleNames",entityId:"entityId",entityType:"entityType"},decls:6,vars:6,consts:[[1,"page-subtitle","d-flex"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],["alert_type","warn",4,"ngIf"],[1,"ml-auto","mr-auto"],[3,"opened",4,"ngIf"],[3,"opened",4,"ngFor","ngForOf"],[3,"opened"],["mat-card-avatar","","svgIcon","perun-user-dark",1,"mr-2"],[1,"mt-auto","mb-auto"],[3,"displayedColumns","disableRouting","users"],["class","mt-5",4,"ngIf"],[3,"displayedColumns","vos","disableRouting"],[1,"mt-5"],[3,"displayedColumns","groups","disableRouting"],[3,"resources","displayedColumns","disableRouting"],[3,"displayedColumns","facilities","disableRouting"],["mat-card-avatar","","svgIcon","perun-group-black",1,"mr-2"],[3,"ngSwitch",4,"ngIf"],[3,"displayedColumns","groups"],[3,"ngSwitch"],["mat-card-avatar","","svgIcon","perun-vo-black",1,"mr-2"],[3,"displayedColumns","vos"],["mat-card-avatar","","svgIcon","perun-resource-black",1,"mr-2"],[3,"resources","displayedColumns","routingVo"],["mat-card-avatar","","svgIcon","perun-facility-black",1,"mr-2"],[3,"displayedColumns","facilities"],[3,"displayedColumns","members"],["class","role-content",4,"ngFor","ngForOf"],[1,"role-content"],["alert_type","warn"]],template:function(Pt,$e){1&Pt&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.YNc(3,he,1,0,"mat-spinner",1),c.YNc(4,ji,19,18,"mat-accordion",2),c.YNc(5,tn,3,3,"perun-web-apps-alert",3)),2&Pt&&(c.xp6(1),c.Oqu(c.lcZ(2,4,"ROLES.TITLE")),c.xp6(2),c.Q6J("ngIf",$e.outerLoading),c.xp6(1),c.Q6J("ngIf",!$e.outerLoading&&$e.roles.size>0),c.xp6(1),c.Q6J("ngIf",!$e.outerLoading&&0===$e.roles.size))},directives:[g.O5,w.Ou,_.pp,_.ib,_.yz,_.yK,b.Hw,E.kc,v.C,I.Z,N.W,A.C,q.X,g.RF,j.O,g.sg,G.w],pipes:[Q.X$],styles:[".role-content[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden}.info-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),Lt})()},60205:(qe,me,h)=>{"use strict";h.d(me,{Q:()=>z});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(32080),E=h(18750),v=h(77446),I=h(69808),N=h(25245),A=h(29772),q=h(50301),j=h(36157),G=h(98380),Q=h(51062);function he(P,de){if(1&P){const Ce=e.EpF();e.TgZ(0,"th",18),e.TgZ(1,"mat-checkbox",19),e.NdJ("change",function(ce){e.CHM(Ce);const fe=e.oxw();return ce?fe.masterToggle():null}),e.qZA(),e.qZA()}if(2&P){const Ce=e.oxw();e.xp6(1),e.Q6J("aria-label",Ce.checkboxLabel())("checked",Ce.selection.hasValue()&&Ce.isAllSelected())("indeterminate",Ce.selection.hasValue()&&!Ce.isAllSelected())}}function F(P,de){if(1&P){const Ce=e.EpF();e.TgZ(0,"td",20),e.TgZ(1,"mat-checkbox",21),e.NdJ("change",function(ce){const Ze=e.CHM(Ce).$implicit,ne=e.oxw();return ce?ne.selection.toggle(Ze):null})("click",function(ce){return ce.stopPropagation()}),e.ALo(2,"lowercase"),e.qZA(),e.qZA()}if(2&P){const Ce=de.$implicit,Pe=e.oxw();e.xp6(1),e.Q2q("data-cy","",e.lcZ(2,3,Ce.name),"-checkbox"),e.Q6J("aria-label",Pe.checkboxLabel(Ce))("checked",Pe.selection.isSelected(Ce))}}function be(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.ID")," "))}function pe(P,de){if(1&P&&(e.TgZ(0,"td",23),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.id)}}function ye(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NAME")," "))}function T(P,de){if(1&P&&(e.TgZ(0,"td",24),e.ALo(1,"lowercase"),e._uU(2),e.qZA()),2&P){const Ce=de.$implicit;e.Q2q("data-cy","",e.lcZ(1,2,Ce.name),"-name-td"),e.xp6(2),e.hij(" ",Ce.name," ")}}function R(P,de){1&P&&e._UZ(0,"th",25)}function L(P,de){1&P&&(e.TgZ(0,"mat-icon",28),e.ALo(1,"translate"),e._uU(2," check_circle_outline "),e.qZA()),2&P&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.ENABLED"))}function X(P,de){1&P&&(e.TgZ(0,"mat-icon",29),e.ALo(1,"translate"),e._uU(2," block "),e.qZA()),2&P&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED.COMPONENTS.SERVICES_LIST.DISABLED"))}function Y(P,de){if(1&P&&(e.TgZ(0,"td",24),e.YNc(1,L,3,3,"mat-icon",26),e.YNc(2,X,3,3,"mat-icon",27),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Q6J("ngIf",Ce.enabled),e.xp6(1),e.Q6J("ngIf",!Ce.enabled)}}function se(P,de){1&P&&(e.TgZ(0,"th",25),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.SCRIPT")," "))}function Te(P,de){if(1&P&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.script)}}function Oe(P,de){1&P&&(e.TgZ(0,"th",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.DESCRIPTION")," "))}function Se(P,de){if(1&P&&(e.TgZ(0,"td",24),e._uU(1),e.qZA()),2&P){const Ce=de.$implicit;e.xp6(1),e.Oqu(Ce.description)}}function We(P,de){1&P&&e._UZ(0,"tr",30)}const ge=function(P){return["/admin/services",P]};function Le(P,de){if(1&P&&e._UZ(0,"tr",31),2&P){const Ce=de.$implicit,Pe=e.oxw();e.ekj("cursor-pointer",!Pe.disableRouting)("disable-outline",Pe.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",Pe.disableRouting?null:e.VKq(6,ge,Ce.id))("routerLink",Pe.disableRouting?null:e.VKq(8,ge,Ce.id))}}function ue(P,de){1&P&&(e.TgZ(0,"perun-web-apps-alert",32),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Me(P,de){1&P&&(e.TgZ(0,"perun-web-apps-alert",32),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&P&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED.COMPONENTS.SERVICES_LIST.NO_SERVICES_WARNING"),"\n"))}let z=(()=>{class P{constructor(Ce,Pe){this.authResolver=Ce,this.tableCheckbox=Pe,this.services=[],this.filterValue="",this.displayedColumns=["select","id","name","enabled","script","description"],this.selection=new w.Ov(!0,[]),this.disableRouting=!1,this.selectionChanged=new e.vpe,this.pageSizeOptions=_.f7}set matSort(Ce){this.sort=Ce,this.setDataSource()}static getDataForColumn(Ce,Pe){switch(Pe){case"id":return Ce.id.toString();case"name":return Ce.name;case"enabled":return Ce.enabled?"true":"false";case"script":return Ce.script;case"description":return Ce.description;default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ce=>"id"!==Ce)),this.dataSource=new g.by(this.services),this.setDataSource(),this.selection.changed.subscribe(()=>{this.selectionChanged.emit()})}exportData(Ce){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,P.getDataForColumn),Ce)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(Ce,Pe)=>(0,_.Sd)(Ce,Pe,this.displayedColumns,P.getDataForColumn),this.dataSource.sortData=(Ce,Pe)=>(0,_.pR)(Ce,Pe,P.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}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(Ce){return Ce?`${this.selection.isSelected(Ce)?"deselect":"select"} row ${Ce.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}}return P.\u0275fac=function(Ce){return new(Ce||P)(e.Y36(b.x4),e.Y36(b.UA))},P.\u0275cmp=e.Xpm({type:P,selectors:[["app-services-list"]],viewQuery:function(Ce,Pe){if(1&Ce&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&Ce){let ce;e.iGM(ce=e.CRH())&&(Pe.child=ce.first),e.iGM(ce=e.CRH())&&(Pe.matSort=ce.first)}},inputs:{services:"services",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",disableRouting:"disableRouting"},outputs:{selectionChanged:"selectionChanged"},features:[e.TTD],decls:25,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"pageSizeOptions","dataLength","tableId","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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","enabled"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","script"],["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"],["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",""],["class","align-bottom green",3,"matTooltip",4,"ngIf"],["class","align-bottom red",3,"matTooltip",4,"ngIf"],[1,"align-bottom","green",3,"matTooltip"],[1,"align-bottom","red",3,"matTooltip"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","routerLink"],["alert_type","warn"]],template:function(Ce,Pe){1&Ce&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(fe){return Pe.exportData(fe)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,he,2,3,"th",4),e.YNc(5,F,3,5,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,be,3,3,"th",7),e.YNc(8,pe,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ye,3,3,"th",7),e.YNc(11,T,3,4,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,R,1,0,"th",12),e.YNc(14,Y,3,2,"td",10),e.BQk(),e.ynx(15,13),e.YNc(16,se,3,3,"th",12),e.YNc(17,Te,2,1,"td",10),e.BQk(),e.ynx(18,14),e.YNc(19,Oe,3,3,"th",7),e.YNc(20,Se,2,1,"td",10),e.BQk(),e.YNc(21,We,1,0,"tr",15),e.YNc(22,Le,1,10,"tr",16),e.qZA(),e.qZA(),e.qZA(),e.YNc(23,ue,3,3,"perun-web-apps-alert",17),e.YNc(24,Me,3,3,"perun-web-apps-alert",17)),2&Ce&&(e.Q6J("hidden",void 0===Pe.services||0===Pe.services.length||0===Pe.dataSource.filteredData.length),e.xp6(1),e.Q6J("pageSizeOptions",Pe.pageSizeOptions)("dataLength",Pe.dataSource.filteredData.length)("tableId",Pe.tableId),e.xp6(1),e.Q6J("dataSource",Pe.dataSource),e.xp6(19),e.Q6J("matHeaderRowDef",Pe.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",Pe.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===Pe.dataSource.filteredData.length&&void 0!==Pe.services&&0!==Pe.services.length),e.xp6(1),e.Q6J("ngIf",void 0===Pe.services||0===Pe.services.length))},directives:[E.l,g.BZ,c.YE,g.w1,g.fO,g.ge,v.oG,g.Dz,g.ev,c.nU,I.O5,N.Hw,A.gM,g.as,g.XQ,g.nj,g.Gk,q.YH,j.rH,G.w],pipes:[I.i8,Q.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.disable-outline[_ngcontent-%COMP%]{outline:none!important}.green[_ngcontent-%COMP%]{color:green}.red[_ngcontent-%COMP%]{color:red}"]}),P})()},64877:(qe,me,h)=>{"use strict";h.d(me,{C:()=>Ze});var e=h(84847),c=h(32075),g=h(20449),w=h(9244),_=h(32080),b=h(5e3),E=h(18750),v=h(69808),I=h(77446),N=h(25245),A=h(29772),q=h(50301),j=h(98380),G=h(51062),Q=h(31359),he=h(9954),F=h(16119),be=h(7598);function pe(ne,it){if(1&ne){const Be=b.EpF();b.TgZ(0,"mat-checkbox",21),b.NdJ("change",function(Ue){b.CHM(Be);const _e=b.oxw(2);return Ue?_e.masterToggle():null}),b.qZA()}if(2&ne){const Be=b.oxw(2);b.Q6J("aria-label",Be.checkboxLabel())("checked",Be.selection.hasValue()&&Be.isAllSelected())("indeterminate",Be.selection.hasValue()&&!Be.isAllSelected())}}function ye(ne,it){if(1&ne&&(b.TgZ(0,"th",19),b.YNc(1,pe,1,3,"mat-checkbox",20),b.qZA()),2&ne){const Be=b.oxw();b.xp6(1),b.Q6J("ngIf",Be.selection.isMultipleSelection())}}function T(ne,it){if(1&ne){const Be=b.EpF();b.TgZ(0,"td",22),b.TgZ(1,"mat-checkbox",23),b.NdJ("change",function(Ue){const ae=b.CHM(Be).$implicit,Ae=b.oxw();return Ue?Ae.selection.toggle(ae):null})("click",function(Ue){return Ue.stopPropagation()}),b.ALo(2,"lowercase"),b.qZA(),b.qZA()}if(2&ne){const Be=it.$implicit,ze=b.oxw();b.xp6(1),b.Q2q("data-cy","",b.lcZ(2,4,Be.firstName),"-checkbox"),b.Q6J("aria-label",ze.checkboxLabel(Be))("checked",ze.selection.isSelected(Be))("disabled",ze.disableSelf&&Be.id===ze.principalId&&!ze.authResolver.isPerunAdmin())}}function R(ne,it){1&ne&&b._UZ(0,"th",24)}function L(ne,it){1&ne&&(b.TgZ(0,"mat-icon",28),b.ALo(1,"translate"),b._uU(2," account_circle "),b.qZA()),2&ne&&b.s9C("matTooltip",b.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function X(ne,it){if(1&ne&&(b._UZ(0,"mat-icon",29),b.ALo(1,"translate")),2&ne){const Be=b.oxw(2);b.s9C("matTooltip",b.lcZ(1,2,"MANAGERS_LIST.SERVICE")),b.Q6J("svgIcon",Be.svgIcon)}}function Y(ne,it){if(1&ne&&(b.TgZ(0,"td",25),b.YNc(1,L,3,3,"mat-icon",26),b.YNc(2,X,2,4,"mat-icon",27),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Q6J("ngIf",!Be.serviceUser),b.xp6(1),b.Q6J("ngIf",Be.serviceUser)}}function se(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function Te(ne,it){if(1&ne&&(b.TgZ(0,"td",25),b._uU(1),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.hij(" ",Be.id," ")}}function Oe(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Se(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b.ALo(1,"lowercase"),b._uU(2),b.ALo(3,"userFullName"),b.qZA()),2&ne){const Be=it.$implicit;b.Q2q("data-cy","",b.lcZ(1,2,Be.firstName),"-firstName-td"),b.xp6(2),b.hij(" ",b.lcZ(3,4,Be)," ")}}function We(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")," "))}function ge(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userVo"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function Le(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.EMAIL")," "))}function ue(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userEmail"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function Me(ne,it){1&ne&&(b.TgZ(0,"th",30),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"MANAGERS_LIST.LOGINS")," "))}function z(ne,it){if(1&ne&&(b.TgZ(0,"td",31),b._uU(1),b.ALo(2,"userLogins"),b.qZA()),2&ne){const Be=it.$implicit;b.xp6(1),b.Oqu(b.lcZ(2,1,Be))}}function P(ne,it){1&ne&&b._UZ(0,"tr",32)}const de=function(ne){return["/admin/users",ne]},Ce=function(ne){return["/myProfile/service-identities",ne]};function Pe(ne,it){if(1&ne&&b._UZ(0,"tr",33),2&ne){const Be=it.$implicit,ze=b.oxw();b.ekj("cursor-pointer",!ze.disableRouting),b.Q6J("perunWebAppsForceRouterLink",ze.disableRouting?null:ze.routeToAdmin?b.VKq(4,de,Be.id):b.VKq(6,Ce,Be.id))("perunWebAppsMiddleClickRouterLink",ze.disableRouting?null:ze.routeToAdmin?b.VKq(8,de,Be.id):b.VKq(10,Ce,Be.id))}}function ce(ne,it){if(1&ne&&(b.TgZ(0,"perun-web-apps-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne){const Be=b.oxw();b.xp6(1),b.hij(" ",Be.noUsersFoundLabel?Be.noUsersFoundLabel:b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n")}}function fe(ne,it){1&ne&&(b.TgZ(0,"perun-web-apps-alert",34),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&ne&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Ze=(()=>{class ne{constructor(Be,ze,Ue){this.authResolver=Be,this.tableCheckbox=ze,this.storeService=Ue,this.selection=new g.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.routeToAdmin=!0,this.disableRouting=!1,this.filter="",this.disableSelf=!1,this.svgIcon="perun-service-identity-black",this.pageSizeOptions=w.f7}set matSort(Be){this.sort=Be}static getDataForColumn(Be,ze){var Ue;switch(ze){case"id":return Be.id.toString();case"user":return Be.serviceUser?"true":"false";case"name":return Be?Be.lastName?Be.lastName:null!==(Ue=Be.firstName)&&void 0!==Ue?Ue:"":"";case"organization":return(0,w.OV)(Be);case"email":return(0,w.kN)(Be);case"logins":return(0,w.lt)(Be);default:return""}}static getExportDataForColumn(Be,ze){switch(ze){case"id":return Be.id.toString();case"user":return Be.serviceUser?"service-user":"user";case"name":return Be?(0,w.bD)(Be):"";case"organization":return(0,w.OV)(Be);case"email":return(0,w.kN)(Be);case"logins":return(0,w.lt)(Be);default:return""}}exportData(Be){(0,w.O6)((0,w.Xn)(this.dataSource.filteredData,this.displayedColumns,ne.getExportDataForColumn),Be)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Be,ze)=>(0,w.Sd)(Be,ze,this.displayedColumns,ne.getDataForColumn),this.dataSource.sortData=(Be,ze)=>(0,w.pR)(Be,ze,ne.getDataForColumn)),this.dataSource.filter=this.filter,this.dataSource.data=this.users}ngOnChanges(){this.principalId=this.storeService.getPerunPrincipal().userId,this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Be=>"id"!==Be)),this.setDataSource()}isAllSelected(){return this.tableCheckbox.isAllSelected(this.selection.selected.length,this.filter,this.child.paginator.pageSize,this.child.paginator.hasNextPage(),this.dataSource)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filter,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!1)}checkboxLabel(Be){return Be?`${this.selection.isSelected(Be)?"deselect":"select"} row ${Be.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return ne.\u0275fac=function(Be){return new(Be||ne)(b.Y36(_.x4),b.Y36(_.UA),b.Y36(_.d6))},ne.\u0275cmp=b.Xpm({type:ne,selectors:[["app-users-list"]],viewQuery:function(Be,ze){if(1&Be&&(b.Gf(w.l9,7),b.Gf(e.YE,7)),2&Be){let Ue;b.iGM(Ue=b.CRH())&&(ze.child=Ue.first),b.iGM(Ue=b.CRH())&&(ze.matSort=Ue.first)}},inputs:{users:"users",selection:"selection",displayedColumns:"displayedColumns",routeToAdmin:"routeToAdmin",disableRouting:"disableRouting",filter:"filter",tableId:"tableId",noUsersFoundLabel:"noUsersFoundLabel",disableSelf:"disableSelf"},features:[b.TTD],decls:28,vars:9,consts:[[1,"card","mt-2",3,"hidden"],[3,"dataLength","pageSizeOptions","tableId","exportData"],["mat-table","","matSort","","matSortActive","id","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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"],["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"],["color","primary",3,"aria-label","checked","disabled","change","click"],["mat-header-cell",""],["mat-cell","",1,"static-column-size"],["class","align-bottom",3,"matTooltip",4,"ngIf"],["class","align-bottom",3,"svgIcon","matTooltip",4,"ngIf"],[1,"align-bottom",3,"matTooltip"],[1,"align-bottom",3,"svgIcon","matTooltip"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsForceRouterLink","perunWebAppsMiddleClickRouterLink"],["alert_type","warn"]],template:function(Be,ze){1&Be&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(_e){return ze.exportData(_e)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,ye,2,1,"th",4),b.YNc(5,T,3,6,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,R,1,0,"th",7),b.YNc(8,Y,3,2,"td",8),b.BQk(),b.ynx(9,9),b.YNc(10,se,3,3,"th",10),b.YNc(11,Te,2,1,"td",8),b.BQk(),b.ynx(12,11),b.YNc(13,Oe,3,3,"th",10),b.YNc(14,Se,4,6,"td",12),b.BQk(),b.ynx(15,13),b.YNc(16,We,3,3,"th",10),b.YNc(17,ge,3,3,"td",12),b.BQk(),b.ynx(18,14),b.YNc(19,Le,3,3,"th",10),b.YNc(20,ue,3,3,"td",12),b.BQk(),b.ynx(21,15),b.YNc(22,Me,3,3,"th",10),b.YNc(23,z,3,3,"td",12),b.BQk(),b.YNc(24,P,1,0,"tr",16),b.YNc(25,Pe,1,12,"tr",17),b.qZA(),b.qZA(),b.qZA(),b.YNc(26,ce,3,3,"perun-web-apps-alert",18),b.YNc(27,fe,3,3,"perun-web-apps-alert",18)),2&Be&&(b.Q6J("hidden",0===ze.users.length||!ze.dataSource||0===ze.dataSource.filteredData.length),b.xp6(1),b.Q6J("dataLength",ze.dataSource.filteredData.length)("pageSizeOptions",ze.pageSizeOptions)("tableId",ze.tableId),b.xp6(1),b.Q6J("dataSource",ze.dataSource),b.xp6(22),b.Q6J("matHeaderRowDef",ze.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",ze.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===ze.users.length),b.xp6(1),b.Q6J("ngIf",0===ze.dataSource.filteredData.length&&0!==ze.users.length))},directives:[E.l,c.BZ,e.YE,c.w1,c.fO,c.ge,v.O5,I.oG,c.Dz,c.ev,N.Hw,A.gM,e.nU,c.as,c.XQ,c.nj,c.Gk,q.Kd,q.YH,j.w],pipes:[v.i8,G.X$,Q.d,he.Z,F.S,be.g],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ne})()},57706:(qe,me,h)=>{"use strict";h.d(me,{c:()=>g});var e=h(5e3),c=h(51062);let g=(()=>{class w{constructor(b){this.translateService=b,this.returnData=""}transform(b){switch(b){case"HEADING":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HEADER").subscribe(E=>{this.returnData=E});break;case"HTML_COMMENT":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.HTML_COMMENT").subscribe(E=>{this.returnData=E});break;case"TEXTFIELD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTFIELD").subscribe(E=>{this.returnData=E});break;case"VALIDATED_EMAIL":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.VALIDATED_EMAIL").subscribe(E=>{this.returnData=E});break;case"USERNAME":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.USERNAME").subscribe(E=>{this.returnData=E});break;case"PASSWORD":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.PASSWORD").subscribe(E=>{this.returnData=E});break;case"SELECTIONBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SELECTIONBOX").subscribe(E=>{this.returnData=E});break;case"TEXTAREA":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TEXTAREA").subscribe(E=>{this.returnData=E});break;case"COMBOBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.COMBOBOX").subscribe(E=>{this.returnData=E});break;case"CHECKBOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.CHECKBOX").subscribe(E=>{this.returnData=E});break;case"SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.SUBMIT_BUTTON").subscribe(E=>{this.returnData=E});break;case"RADIO":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.RADIO").subscribe(E=>{this.returnData=E});break;case"TIMEZONE":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.TIMEZONE").subscribe(E=>{this.returnData=E});break;case"AUTO_SUBMIT_BUTTON":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.AUTO_SUBMIT_BUTTON").subscribe(E=>{this.returnData=E});break;case"EMBEDDED_GROUP_APPLICATION":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.EMBEDDED_GROUP_APPLICATION").subscribe(E=>{this.returnData=E});break;case"LIST_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.LIST_INPUT_BOX").subscribe(E=>{this.returnData=E});break;case"MAP_INPUT_BOX":this.translateService.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPES.MAP_INPUT_BOX").subscribe(E=>{this.returnData=E});break;default:return b}return this.returnData}}return w.\u0275fac=function(b){return new(b||w)(e.Y36(c.sK,16))},w.\u0275pipe=e.Yjl({name:"applicationFormItemType",type:w,pure:!0}),w})()},43157:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(5e3),c=h(51062);let g=(()=>{class w{constructor(b){this.translate=b,this.returnData=""}transform(b){switch(b){case"APPROVED":this.translate.get("VO_DETAIL.APPLICATION.STATE.APPROVED").subscribe(E=>{this.returnData=`done${E}`});break;case"REJECTED":this.translate.get("VO_DETAIL.APPLICATION.STATE.REJECTED").subscribe(E=>{this.returnData=`clear${E}`});break;case"NEW":this.translate.get("VO_DETAIL.APPLICATION.STATE.NEW").subscribe(E=>{this.returnData=`contact_mail ${E}`});break;case"VERIFIED":this.translate.get("VO_DETAIL.APPLICATION.STATE.VERIFIED").subscribe(E=>{this.returnData=`gavel${E}`});break;default:this.returnData=b}return this.returnData}}return w.\u0275fac=function(b){return new(b||w)(e.Y36(c.sK,16))},w.\u0275pipe=e.Yjl({name:"applicationState",type:w,pure:!1}),w})()},70844:(qe,me,h)=>{"use strict";h.d(me,{u:()=>g});var e=h(32080),c=h(5e3);let g=(()=>{class w{constructor(b){this.storeService=b,this.USER_CONSENT_RELATED_ATT_NAMESPACE=["urn:perun:user_facility:attribute-def","urn:perun:user:attribute-def","urn:perun:member:attribute-def","urn:perun:member_group:attribute-def","urn:perun:member_resource:attribute-def","urn:perun:ues:attribute-def"]}transform(b,E,v){return!!(this.storeService.get("enforce_consents")&&v&&E)&&this.USER_CONSENT_RELATED_ATT_NAMESPACE.reduce((N,A)=>N||b.startsWith(A),!1)}}return w.\u0275fac=function(b){return new(b||w)(c.Y36(e.d6,16))},w.\u0275pipe=c.Yjl({name:"consentRelatedAttribute",type:w,pure:!0}),w})()},37677:(qe,me,h)=>{"use strict";h.d(me,{A:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.substring(40)}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"extSourceType",type:g,pure:!0}),g})()},14264:(qe,me,h)=>{"use strict";h.d(me,{m:()=>nt});var e=h(69808),c=h(36157),g=h(91079),w=h(47423),_=h(77446),b=h(90508),E=h(86856),v=h(48966),I=h(4834),N=h(81125),A=h(67322),q=h(25245),j=h(98833),G=h(86087),Q=h(85899),he=h(20773),F=h(79814),be=h(74107),pe=h(2638),ye=h(32368),T=h(57261),R=h(84847),L=h(32075),X=h(53251),Y=h(29772),se=h(90149),Te=h(9224),Oe=h(27544),Se=h(26688),We=h(92181),ge=h(92081),Le=h(93075),ue=h(73228),Me=h(36769),z=h(32080),P=h(5e3),de=h(50301),Ce=h(51062);const Pe=["collapse"],ce=function(){return{color:"linkTextColor"}};function fe(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",14),P._uU(1,"keyboard_arrow_right"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,ce))}function Ze(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",14),P._uU(1,"keyboard_arrow_down"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,ce))}function ne(ct,Rt){if(1&ct&&(P.TgZ(0,"span",12),P.YNc(1,fe,2,2,"mat-icon",13),P.YNc(2,Ze,2,2,"mat-icon",13),P.qZA()),2&ct){const mt=P.oxw().$implicit,Tt=P.oxw(2);P.xp6(1),P.Q6J("ngIf",!Tt.isActive(Tt.currentUrl,mt.showChildrenRegex)),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const it=function(ct,Rt){return{color:ct,"border-color":Rt}};function Be(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"a",17),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(4).navigate(rt.url)}),P._uU(1),P.ALo(2,"translate"),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(4);P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(9,it,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(2,7,mt.label)," ")}}function ze(ct,Rt){if(1&ct&&(P.TgZ(0,"div",15),P.YNc(1,Be,3,12,"a",16),P.qZA()),2&ct){const mt=P.oxw().$implicit;P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",null==mt?null:mt.children)}}function Ue(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"div"),P.TgZ(1,"a",9),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(2).navigate(rt.url)}),P._uU(2),P.ALo(3,"translate"),P.YNc(4,ne,3,2,"span",10),P.qZA(),P.YNc(5,ze,2,2,"div",11),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(2);P.xp6(1),P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(11,it,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(3,9,mt.label)," "),P.xp6(2),P.Q6J("ngIf",mt.children),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}function _e(ct,Rt){if(1&ct&&(P.TgZ(0,"div"),P.YNc(1,Ue,6,14,"div",8),P.qZA()),2&ct){const mt=P.oxw();P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",mt.item.links)}}const ae=function(ct,Rt){return{background:ct,"border-top":Rt}},Ae=function(ct){return{color:ct}},ee=function(){return{color:"currentColor"}},Ne=function(ct){return{background:ct}};let V=(()=>{class ct{constructor(mt,Tt){this.router=mt,this.store=Tt,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=mt.url,mt.events.subscribe(ot=>{ot instanceof c.m2&&(this.currentUrl=ot.url)})}toggle(){void 0!==this.item.baseLink&&this.navigate(this.item.baseLink)}isActive(mt,Tt){return new RegExp(Tt).test(mt)}navigate(mt){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(mt)):this.router.navigate(mt)}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.Y36(c.F0),P.Y36(z.d6))},ct.\u0275cmp=P.Xpm({type:ct,selectors:[["app-side-menu-item"]],viewQuery:function(mt,Tt){if(1&mt&&P.Gf(Pe,5),2&mt){let ot;P.iGM(ot=P.CRH())&&(Tt.collapseDiv=ot.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(mt,Tt){1&mt&&(P.TgZ(0,"div",0),P.TgZ(1,"div",1),P.NdJ("click",function(){return Tt.toggle()}),P.TgZ(2,"div",2),P.TgZ(3,"a",3),P.TgZ(4,"div"),P._UZ(5,"mat-icon",4),P.qZA(),P.TgZ(6,"div",5),P._uU(7),P.ALo(8,"translate"),P.qZA(),P.qZA(),P.qZA(),P.qZA(),P.TgZ(9,"div"),P.TgZ(10,"div",6),P.YNc(11,_e,2,2,"div",7),P.qZA(),P.qZA(),P.qZA()),2&mt&&(P.xp6(1),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.WLB(18,ae,Tt.item.backgroundColorCss,Tt.index?Tt.dividerStyle:"none")),P.xp6(1),P.Gre("entity-menu-item-link ",Tt.item.labelClass,""),P.Q6J("perunWebAppsMiddleClickRouterLink",Tt.item.baseLink),P.xp6(1),P.Q6J("ngStyle",P.VKq(21,Ae,Tt.item.textColorCss)),P.xp6(2),P.Q6J("ngStyle",P.DdM(23,ee))("svgIcon",Tt.item.icon),P.xp6(2),P.Oqu(P.lcZ(8,16,Tt.item.label)),P.xp6(2),P.Q6J("@openClose",Tt.expanded?"open":"closed"),P.xp6(1),P.Gre("side-entity-menu ",Tt.item.linksClass,""),P.Q6J("ngStyle",P.VKq(24,Ne,Tt.linkBgColor)),P.xp6(1),P.Q6J("ngIf",Tt.showLinks))},directives:[b.wG,e.PC,de.YH,q.Hw,e.O5,e.sg,e.mk],pipes:[Ce.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:[Me.BQ,Me.Ly]}}),ct})(),H=(()=>{class ct{transform(mt){if(void 0===mt.value)return"";switch(mt.type){case"java.lang.String":return mt.value;case"java.lang.Integer":case"java.lang.Boolean":default:return String(mt.value);case"java.util.ArrayList":return this.whenValueIsArray(mt.value);case"java.util.LinkedHashMap":return this.whenValueIsMap(mt.value)}}whenValueIsArray(mt){let Tt="";return mt.forEach(function(ot){Tt=Tt.concat(ot+", ")}),Tt}whenValueIsMap(mt){let Tt="";return mt.forEach((ot,rt)=>{Tt=Tt.concat(rt+": "+ot+", ")}),Tt}}return ct.\u0275fac=function(mt){return new(mt||ct)},ct.\u0275pipe=P.Yjl({name:"anyToString",type:ct,pure:!0}),ct})();const D=["collapse"],O=function(){return{color:"linkTextColor"}};function i(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",12),P._uU(1,"keyboard_arrow_right"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,O))}function o(ct,Rt){1&ct&&(P.TgZ(0,"mat-icon",12),P._uU(1,"keyboard_arrow_down"),P.qZA()),2&ct&&P.Q6J("ngStyle",P.DdM(1,O))}function u(ct,Rt){if(1&ct&&(P.TgZ(0,"span",10),P.YNc(1,i,2,2,"mat-icon",11),P.YNc(2,o,2,2,"mat-icon",11),P.qZA()),2&ct){const mt=P.oxw().$implicit,Tt=P.oxw();P.xp6(1),P.Q6J("ngIf",!Tt.isActive(Tt.currentUrl,mt.showChildrenRegex)),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const l=function(ct,Rt){return{color:ct,"border-color":Rt}};function s(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"a",14),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw(3).navigate(rt.url)}),P._uU(1),P.ALo(2,"translate"),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw(3);P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.WLB(9,l,Tt.linkTextColor,Tt.linkTextColor))("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("perunWebAppsMiddleClickRouterLink",mt.url),P.xp6(1),P.hij(" ",P.lcZ(2,7,mt.label)," ")}}function n(ct,Rt){if(1&ct&&(P.TgZ(0,"div"),P.YNc(1,s,3,12,"a",13),P.qZA()),2&ct){const mt=P.oxw().$implicit;P.Q6J("@rollInOut",void 0),P.xp6(1),P.Q6J("ngForOf",null==mt?null:mt.children)}}function t(ct,Rt){if(1&ct){const mt=P.EpF();P.TgZ(0,"div"),P.TgZ(1,"a",7),P.NdJ("click",function(){const rt=P.CHM(mt).$implicit;return P.oxw().navigate(rt.url)}),P._uU(2),P.ALo(3,"translate"),P.YNc(4,u,3,2,"span",8),P.qZA(),P.YNc(5,n,2,2,"div",9),P.qZA()}if(2&ct){const mt=Rt.$implicit,Tt=P.oxw();P.xp6(1),P.ekj("activated",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0===Tt.item.activatedClass),P.Q6J("perunWebAppsMiddleClickRouterLink",mt.url)("matRippleColor","rgba(255, 255, 255, 0.1)")("ngClass",Tt.isActive(Tt.currentUrl,mt.activatedRegex)&&void 0!==Tt.item.activatedClass?Tt.item.activatedClass:"")("ngStyle",P.WLB(11,l,Tt.linkTextColor,Tt.linkTextColor)),P.xp6(1),P.hij(" ",P.lcZ(3,9,mt.label)," "),P.xp6(2),P.Q6J("ngIf",mt.children),P.xp6(1),P.Q6J("ngIf",Tt.isActive(Tt.currentUrl,mt.showChildrenRegex))}}const r=function(ct){return{background:ct}},a=function(ct){return{color:ct}},d=function(){return{color:"currentColor"}};let f=(()=>{class ct{constructor(mt,Tt){this.router=mt,this.store=Tt,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=mt.url,mt.events.subscribe(ot=>{ot instanceof c.m2&&(this.currentUrl=ot.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(mt,Tt){return new RegExp(Tt).test(mt)}getBgClass(){return this.item.baseColorClass?this.isActive(this.currentUrl,this.item.baseColorClassRegex)?this.item.colorClass:this.item.baseColorClass:this.item.colorClass}navigate(mt){"over"===this.sideNav.mode?this.sideNav.close().then(()=>this.router.navigate(mt)):this.router.navigate(mt)}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.Y36(c.F0),P.Y36(z.d6))},ct.\u0275cmp=P.Xpm({type:ct,selectors:[["app-side-menu-root-item"]],viewQuery:function(mt,Tt){if(1&mt&&P.Gf(D,5),2&mt){let ot;P.iGM(ot=P.CRH())&&(Tt.collapseDiv=ot.first)}},inputs:{item:"item",index:"index",showOpen:"showOpen",id:"id",sideNav:"sideNav"},features:[P.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","ngClass","ngStyle","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"],["class","pl-5 clickable","matRipple","",3,"activated","matRippleColor","ngStyle","ngClass","perunWebAppsMiddleClickRouterLink","click",4,"ngFor","ngForOf"],["matRipple","",1,"pl-5","clickable",3,"matRippleColor","ngStyle","ngClass","perunWebAppsMiddleClickRouterLink","click"]],template:function(mt,Tt){1&mt&&(P.TgZ(0,"div",0),P.TgZ(1,"div",1),P.NdJ("click",function(){return Tt.toggle()}),P.TgZ(2,"div"),P.TgZ(3,"a",2),P.TgZ(4,"div"),P._UZ(5,"mat-icon",3),P.qZA(),P.TgZ(6,"div",4),P._uU(7),P.ALo(8,"translate"),P.qZA(),P.qZA(),P.qZA(),P.qZA(),P.TgZ(9,"div"),P.TgZ(10,"div",5),P.YNc(11,t,6,14,"div",6),P.qZA(),P.qZA(),P.qZA()),2&mt&&(P.s9C("id",Tt.id),P.xp6(1),P.ekj("root-header-activated",Tt.isActive(Tt.currentUrl,Tt.item.baseColorClassRegex)),P.Q6J("matRippleColor","rgba(255, 255, 255, 0.1)")("ngStyle",P.VKq(21,r,Tt.item.backgroundColorCss))("perunWebAppsMiddleClickRouterLink",Tt.item.baseLink),P.xp6(1),P.Gre("entity-menu-item-link ",Tt.item.labelClass,""),P.xp6(1),P.Q6J("ngStyle",P.VKq(23,a,Tt.item.textColorCss)),P.xp6(2),P.Q6J("ngStyle",P.DdM(25,d))("svgIcon",Tt.item.icon),P.xp6(2),P.Oqu(P.lcZ(8,19,Tt.item.label)),P.xp6(2),P.Q6J("@openClose",Tt.expanded?"open":"closed"),P.xp6(1),P.Gre("side-entity-menu ",Tt.item.linksClass,""),P.Q6J("ngStyle",P.VKq(26,r,Tt.linkBgColor)),P.xp6(1),P.Q6J("ngForOf",Tt.item.links))},directives:[b.wG,e.PC,de.YH,q.Hw,e.sg,e.mk,e.O5],pipes:[Ce.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:[Me.BQ,Me.Ly]}}),ct})();var x=h(44409),Ye=h(29071),It=h(63189),jt=h(37677),bt=h(33604),Yt=h(11243),Ct=h(19516),Nt=h(43586),He=h(14623),je=h(9244),Z=h(28499),$=h(70844),oe=h(16074);let nt=(()=>{class ct{constructor(mt){this.translate=mt,mt.addLangs(["en","cs"])}}return ct.\u0275fac=function(mt){return new(mt||ct)(P.LFG(Ce.sK))},ct.\u0275mod=P.oAB({type:ct}),ct.\u0275inj=P.cJS({providers:[H,jt.A,$.u],imports:[[e.ez,c.Bz,g.Bb,j.c,A.lN,Le.UX,Le.u5,q.Ps,pe.SJ,N.To,Ce.aw.forChild({}),w.ot,R.JX,L.p0,X.Nh,se.dp,w.ot,_.p9,v.Is,be.LD,T.ZX,he.Cq,Q.Cv,Y.AV,ye.rP,E.FA,b.XK,F.Fk,I.t,b.si,G.TU,Te.QW,ge.T5,x._t,Te.QW,Se.Hi,We.Tx,Ye.Cl,It.r,Oe.g,bt.ez,Yt.r,Ct.d4,Nt.Co,He.ie,je.Je,Z.E3,oe.jD],Nt.Co,g.Bb,j.c,c.Bz,Le.UX,Le.u5,q.Ps,pe.SJ,Ce.aw,R.JX,L.p0,X.Nh,se.dp,w.ot,_.p9,v.Is,be.LD,T.ZX,he.Cq,Q.Cv,Y.AV,ye.rP,E.FA,b.XK,F.Fk,I.t,Te.QW,ge.T5,b.si,G.TU,x._t,Se.Hi,Se.Hi,N.To,We.Tx,Ye.Cl,Ye.Cl,Ye.Cl,Yt.r]}),ct})();P.B6R(ue.V,[f,e.sg,V,e.O5],[])},69024:(qe,me,h)=>{"use strict";h.d(me,{V:()=>v});var e=h(32080),c=h(32105),g=h(9244),w=h(19516),_=h(64080),b=h(5e3),E=h(51062);let v=(()=>{class I{constructor(A,q,j,G,Q,he,F,be){this.translate=A,this.authResolver=q,this.store=j,this.apiRequest=G,this.attributesManager=Q,this.notificator=he,this.guiAuthResolver=F,this.routePolicyService=be,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$"},{label:"MENU_ITEMS.ADMIN.CONSENT_HUBS",url:["/admin/consent_hubs"],activatedRegex:"^/admin/consent_hubs$"},{label:"MENU_ITEMS.ADMIN.SEARCHER",url:["/admin/searcher"],activatedRegex:"^/admin/searcher"}]}}parseFacility(A){return{label:A.name,baseLink:[`/facilities/${A.id}`],backgroundColorCss:this.facilityBgColor,textColorCss:this.facilityTextColor,links:this.getFacilityLinks(A),colorClass:"facility-item",icon:"perun-facility-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseResource(A,q){const j=(new w.r5).transform(A,q);return{label:A.name,baseLink:[j],backgroundColorCss:this.resourceBgColor,textColorCss:this.resourceTextColor,links:this.getResourceLinks(j,q?"/organizations":"/facilities",A),colorClass:"resource-item",icon:"perun-resource-white",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseGroup(A){return{label:A.name,baseLink:[`/organizations/${A.voId}/groups/${A.id}`],backgroundColorCss:this.groupBgColor,textColorCss:this.groupTextColor,links:this.getGroupLinks(A),colorClass:"group-item",icon:"perun-group",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseVo(A,q=!1,j=!1){return{label:A.name,baseLink:[`/organizations/${A.id}`],links:this.getVoLinks(A,j),colorClass:"vo-item",icon:q?"perun-hierarchical-vo":"perun-vo",activatedClass:"dark-item-activated",linksClass:"dark-item-links",backgroundColorCss:this.voBgColor,textColorCss:this.voTextColor}}parseMember(A){return{label:(0,g.bD)(A.user),baseLink:[`/organizations/${A.voId}/members/${A.id}`],backgroundColorCss:this.memberBgColor,textColorCss:this.memberTextColor,links:this.getMemberLinks(A),colorClass:"member-item",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseUser(A,q,j){return{label:(0,g.bD)(A),baseLink:[q],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:this.getUserLinks(A,q,j),colorClass:"user-bg-color",icon:"perun-user",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseServiceIdentity(A){return{label:(0,g.bD)(A),baseLink:[`/myProfile/service-identities/${A.id}`],backgroundColorCss:this.userBgColor,textColorCss:this.userTextColor,links:[{label:"MENU_ITEMS.USER.OVERVIEW",url:[`/myProfile/service-identities/${A.id}`],activatedRegex:"/myProfile/service-identities/\\d+$"},{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`/myProfile/service-identities/${A.id}/associated-users`],activatedRegex:"/myProfile/service-identities/\\d+/associated-users"},{label:"MENU_ITEMS.USER.AUTHENTICATION",url:[`/myProfile/service-identities/${A.id}/authentication`],activatedRegex:"/myProfile/service-identities/\\d+/authentication"}],colorClass:"user-bg-color",icon:"perun-service-identity",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}parseService(A){return{label:A.name,baseLink:[`/admin/services/${A.id}`],backgroundColorCss:this.serviceBgColor,textColorCss:this.serviceTextColor,links:[{label:"MENU_ITEMS.SERVICE.OVERVIEW",url:[`/admin/services/${A.id}`],activatedRegex:"/admin/services/\\d+$"},{label:"MENU_ITEMS.SERVICE.REQUIRED_ATTRIBUTES",url:[`/admin/services/${A.id}/required-attributes`],activatedRegex:"/admin/services/\\d+/required-attributes"},{label:"MENU_ITEMS.SERVICE.DESTINATIONS",url:[`/admin/services/${A.id}/destinations`],activatedRegex:"/admin/services/\\d+/destinations"}],colorClass:"service-item",icon:"perun-service",activatedClass:"dark-item-activated",linksClass:"dark-item-links"}}getVoLinks(A,q){const j=[];if(j.push({label:"MENU_ITEMS.VO.OVERVIEW",url:[`/organizations/${A.id}`],activatedRegex:"/organizations/\\d+$"}),this.routePolicyService.canNavigate("organizations-members",A)&&j.push({label:"MENU_ITEMS.VO.MEMBERS",url:[`/organizations/${A.id}/members`],activatedRegex:"/organizations/\\d+/members$"}),this.routePolicyService.canNavigate("organizations-groups",A)&&j.push({label:"MENU_ITEMS.VO.GROUPS",url:[`/organizations/${A.id}/groups`],activatedRegex:"/organizations/\\d+/groups$"}),this.routePolicyService.canNavigate("organizations-resources",A)){const G=[];this.routePolicyService.canNavigate("organizations-resources-preview",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_PREVIEW",url:[`/organizations/${A.id}/resources/preview`],activatedRegex:"/organizations/\\d+/resources/preview$"}),this.routePolicyService.canNavigate("organizations-resources-tags",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_TAGS",url:[`/organizations/${A.id}/resources/tags`],activatedRegex:"/organizations/\\d+/resources/tags$"}),this.routePolicyService.canNavigate("organizations-resources-states",A)&&G.push({label:"MENU_ITEMS.VO.RESOURCE_STATES",url:[`/organizations/${A.id}/resources/states`],activatedRegex:"/organizations/\\d+/resources/states$"}),j.push({label:"MENU_ITEMS.VO.RESOURCES",url:[`/organizations/${A.id}/resources`],activatedRegex:"/organizations/\\d+/resources$",children:G,showChildrenRegex:"/organizations/\\d+/resources"})}if(this.routePolicyService.canNavigate("organizations-applications",A)&&j.push({label:"MENU_ITEMS.VO.APPLICATIONS",url:[`/organizations/${A.id}/applications`],activatedRegex:"/organizations/\\d+/applications"}),this.routePolicyService.canNavigate("organizations-sponsoredMembers",A)&&j.push({label:"MENU_ITEMS.VO.SPONSORED_MEMBERS",url:[`/organizations/${A.id}/sponsoredMembers`],activatedRegex:"/organizations/\\d+/sponsoredMembers$"}),this.routePolicyService.canNavigate("organizations-serviceAccounts",A)&&j.push({label:"MENU_ITEMS.VO.SERVICE_MEMBERS",url:[`/organizations/${A.id}/serviceAccounts`],activatedRegex:"/organizations/\\d+/serviceAccounts$"}),this.routePolicyService.canNavigate("organizations-attributes",A)&&j.push({label:"MENU_ITEMS.VO.ATTRIBUTES",url:[`/organizations/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/attributes$"}),this.routePolicyService.canNavigate("organizations-statistics",A)&&j.push({label:"MENU_ITEMS.VO.STATISTICS",url:[`/organizations/${A.id}/statistics`],activatedRegex:"/organizations/\\d+/statistics"}),this.routePolicyService.canNavigate("organizations-settings",A)){const G=[];this.routePolicyService.canNavigate("organizations-settings-expiration",A)&&G.push({label:"MENU_ITEMS.VO.EXPIRATION",url:[`/organizations/${A.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/settings/expiration$"}),this.routePolicyService.canNavigate("organizations-settings-managers",A)&&G.push({label:"MENU_ITEMS.VO.MANAGERS",url:[`/organizations/${A.id}/settings/managers`],activatedRegex:"/organizations/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("organizations-settings-applicationForm",A)&&G.push({label:"MENU_ITEMS.VO.APPLICATION_FORM",url:[`/organizations/${A.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/settings/applicationForm$"}),this.routePolicyService.canNavigate("organizations-settings-notifications",A)&&G.push({label:"MENU_ITEMS.VO.NOTIFICATIONS",url:[`/organizations/${A.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/settings/notifications$"}),this.routePolicyService.canNavigate("organizations-settings-extsources",A)&&G.push({label:"MENU_ITEMS.VO.EXTSOURCES",url:[`/organizations/${A.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/settings/extsources$"}),this.routePolicyService.canNavigate("organizations-settings-memberOrganizations",A)&&G.push({label:"MENU_ITEMS.VO.MEMBER_ORGANIZATIONS",url:[`/organizations/${A.id}/settings/memberOrganizations`],activatedRegex:"/organizations/\\d+/settings/memberOrganizations"}),this.routePolicyService.canNavigate("organizations-settings-hierarchicalInclusion",A)&&q&&G.push({label:"MENU_ITEMS.VO.HIERARCHICAL_INCLUSION",url:[`/organizations/${A.id}/settings/hierarchicalInclusion`],activatedRegex:"/organizations/\\d+/settings/hierarchicalInclusion"}),j.push({label:"MENU_ITEMS.VO.SETTINGS",url:[`/organizations/${A.id}/settings`],activatedRegex:"/organizations/\\d+/settings$",children:G,showChildrenRegex:"/organizations/\\d+/settings"})}return j}getUserLinks(A,q,j){const G=[];return G.push({label:"MENU_ITEMS.USER.OVERVIEW",url:[q],activatedRegex:`${j}$`}),G.push({label:"MENU_ITEMS.ADMIN.ORGANIZATIONS",url:[`${q}/organizations`],activatedRegex:`${j}/organizations`}),G.push({label:"MENU_ITEMS.ADMIN.GROUPS",url:[`${q}/groups`],activatedRegex:`${j}/groups`}),G.push({label:"MENU_ITEMS.USER.ACCOUNTS",url:[`${q}/accounts`],activatedRegex:`${j}/accounts`}),G.push({label:"MENU_ITEMS.USER.IDENTITIES",url:[`${q}/identities`],activatedRegex:`${j}/identities`}),G.push({label:"MENU_ITEMS.USER.FACILITIES",url:[`${q}/facilities`],activatedRegex:`${j}/facilities`}),G.push({label:"MENU_ITEMS.USER.RESOURCES",url:[`${q}/resources`],activatedRegex:`${j}/resources`}),G.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`${q}/attributes`],activatedRegex:`${j}/attributes`}),G.push({label:"MENU_ITEMS.USER.ROLES",url:[`${q}/roles`],activatedRegex:`^${q}/roles`}),G.push(A.serviceUser?{label:"MENU_ITEMS.USER.ASSOCIATED_USERS",url:[`${q}/associated-users`],activatedRegex:`^${q}/associated-users`}:{label:"MENU_ITEMS.USER.SERVICE_IDENTITIES",url:[`${q}/service-identities`],activatedRegex:`^${q}/service-identities`}),G}getMemberLinks(A){const q=[{label:"MENU_ITEMS.MEMBER.OVERVIEW",url:[`/organizations/${A.voId}/members/${A.id}`],activatedRegex:"/organizations/\\d+/members/\\d+$"}];return this.routePolicyService.canNavigate("members-groups",A)&&q.push({label:"MENU_ITEMS.MEMBER.GROUPS",url:[`/organizations/${A.voId}/members/${A.id}/groups`],activatedRegex:"/organizations/\\d+/members/\\d+/groups"}),this.routePolicyService.canNavigate("members-applications",A)&&q.push({label:"MENU_ITEMS.MEMBER.APPLICATIONS",url:[`/organizations/${A.voId}/members/${A.id}/applications`],activatedRegex:"/organizations/\\d+/members/\\d+/applications"}),this.routePolicyService.canNavigate("members-resources",A)&&q.push({label:"MENU_ITEMS.MEMBER.RESOURCES",url:[`/organizations/${A.voId}/members/${A.id}/resources`],activatedRegex:"/organizations/\\d+/members/\\d+/resources"}),this.routePolicyService.canNavigate("members-attributes",A)&&q.push({label:"MENU_ITEMS.MEMBER.ATTRIBUTES",url:[`/organizations/${A.voId}/members/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/members/\\d+/attributes$"}),q}getFacilityLinks(A){const q=[{label:"MENU_ITEMS.FACILITY.OVERVIEW",url:[`/facilities/${A.id}`],activatedRegex:"/facilities/\\d+$"}];if(this.routePolicyService.canNavigate("facilities-resources",A)&&q.push({label:"MENU_ITEMS.FACILITY.RESOURCES",url:[`/facilities/${A.id}/resources`],activatedRegex:"/facilities/\\d+/resources$"}),this.routePolicyService.canNavigate("facilities-allowed-users",A)&&q.push({label:"MENU_ITEMS.FACILITY.ALLOWED_USERS",url:[`/facilities/${A.id}/allowed-users`],activatedRegex:"/facilities/\\d+/allowed-users"}),this.routePolicyService.canNavigate("facilities-allowed-groups",A)&&q.push({label:"MENU_ITEMS.FACILITY.ALLOWED_GROUPS",url:[`/facilities/${A.id}/allowed-groups`],activatedRegex:"/facilities/\\d+/allowed-groups"}),this.routePolicyService.canNavigate("facilities-services-status",A)&&q.push({label:"MENU_ITEMS.FACILITY.SERVICES_STATUS",url:[`/facilities/${A.id}/services-status`],activatedRegex:"/facilities/\\d+/services-status"}),this.routePolicyService.canNavigate("facilities-services-destinations",A)&&q.push({label:"MENU_ITEMS.FACILITY.SERVICES_DESTINATIONS",url:[`/facilities/${A.id}/services-destinations`],activatedRegex:"facilities/\\d+/services-destinations"}),this.routePolicyService.canNavigate("facilities-hosts",A)&&q.push({label:"MENU_ITEMS.FACILITY.HOSTS",url:[`/facilities/${A.id}/hosts`],activatedRegex:"facilities/\\d+/hosts"}),this.routePolicyService.canNavigate("facilities-attributes",A)&&q.push({label:"MENU_ITEMS.FACILITY.ATTRIBUTES",url:["/facilities",A.id.toString(),"attributes"],activatedRegex:"/facilities/\\d+/attributes$"}),this.routePolicyService.canNavigate("facilities-settings",A)){const j=[];this.routePolicyService.canNavigate("facilities-settings-owners",A)&&j.push({label:"MENU_ITEMS.FACILITY.OWNERS",url:["/facilities",A.id.toString(),"settings","owners"],activatedRegex:"/facilities/\\d+/settings/owners$"}),this.routePolicyService.canNavigate("facilities-settings-managers",A)&&j.push({label:"MENU_ITEMS.FACILITY.MANAGERS",url:["/facilities",A.id.toString(),"settings","managers"],activatedRegex:"/facilities/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("facilities-settings-security-teams",A)&&j.push({label:"MENU_ITEMS.FACILITY.SECURITY_TEAMS",url:[`/facilities/${A.id}/settings/security-teams`],activatedRegex:"facilities/\\d+/settings/security-teams"}),this.routePolicyService.canNavigate("facilities-settings-blacklist",A)&&j.push({label:"MENU_ITEMS.FACILITY.BLACKLIST",url:["facilities",A.id.toString(),"settings","blacklist"],activatedRegex:"/facilities/\\d+/settings/blacklist"}),q.push({label:"MENU_ITEMS.FACILITY.SETTINGS",url:["/facilities",A.id.toString(),"settings"],activatedRegex:"/facilities/\\d+/settings$",children:j,showChildrenRegex:"/facilities/\\d+/settings"})}return q}getGroupLinks(A){const q=[],j=[];return q.push({label:"MENU_ITEMS.GROUP.OVERVIEW",url:[`/organizations/${A.voId}/groups/${A.id}`],activatedRegex:"/organizations/\\d+/groups/\\d+$"}),this.routePolicyService.canNavigate("groups-members",A)&&q.push({label:"MENU_ITEMS.GROUP.MEMBERS",url:[`/organizations/${A.voId}/groups/${A.id}/members`],activatedRegex:"/organizations/\\d+/groups/\\d+/members$"}),this.routePolicyService.canNavigate("groups-subgroups",A)&&"members"!==A.name&&q.push({label:"MENU_ITEMS.GROUP.SUBGROUPS",url:[`/organizations/${A.voId}/groups/${A.id}/subgroups`],activatedRegex:"/organizations/\\d+/groups/\\d+/subgroups$"}),this.routePolicyService.canNavigate("groups-resources",A)&&q.push({label:"MENU_ITEMS.GROUP.RESOURCES",url:[`/organizations/${A.voId}/groups/${A.id}/resources`],activatedRegex:"/organizations/\\d+/groups/\\d+/resources$"}),this.routePolicyService.canNavigate("groups-applications",A)&&q.push({label:"MENU_ITEMS.GROUP.APPLICATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/applications`],activatedRegex:"/organizations/\\d+/groups/\\d+/applications$"}),this.routePolicyService.canNavigate("groups-attributes",A)&&q.push({label:"MENU_ITEMS.GROUP.ATTRIBUTES",url:[`/organizations/${A.voId}/groups/${A.id}/attributes`],activatedRegex:"/organizations/\\d+/groups/\\d+/attributes$"}),this.routePolicyService.canNavigate("groups-statistics",A)&&q.push({label:"MENU_ITEMS.GROUP.STATISTICS",url:[`/organizations/${A.voId}/groups/${A.id}/statistics`],activatedRegex:"/organizations/\\d+/groups/\\d+/statistics"}),this.routePolicyService.canNavigate("groups-roles",A)&&q.push({label:"MENU_ITEMS.GROUP.ROLES",url:[`/organizations/${A.voId}/groups/${A.id}/roles`],activatedRegex:"/organizations/\\d+/groups/\\d+/roles"}),this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(A.id,_.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{j.push({label:"MENU_ITEMS.GROUP.EXPIRATION",url:[`/organizations/${A.voId}/groups/${A.id}/settings/expiration`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/expiration$"})},G=>{"HttpErrorResponse"!==G.name&&this.notificator.showRPCError(G)}),this.routePolicyService.canNavigate("groups-settings-managers",A)&&j.push({label:"MENU_ITEMS.GROUP.MANAGERS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/managers`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/managers$"}),this.routePolicyService.canNavigate("groups-settings-applicationForm",A)&&j.push({label:"MENU_ITEMS.GROUP.APPLICATION_FORM",url:[`/organizations/${A.voId}/groups/${A.id}/settings/applicationForm`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/applicationForm$"}),this.routePolicyService.canNavigate("groups-settings-notifications",A)&&j.push({label:"MENU_ITEMS.GROUP.NOTIFICATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/notifications`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/notifications$"}),this.routePolicyService.canNavigate("groups-settings-relations",A)&&j.push({label:"MENU_ITEMS.GROUP.RELATIONS",url:[`/organizations/${A.voId}/groups/${A.id}/settings/relations`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/relations$"}),this.routePolicyService.canNavigate("groups-settings-extsources",A)&&j.push({label:"MENU_ITEMS.GROUP.EXTSOURCES",url:[`/organizations/${A.voId}/groups/${A.id}/settings/extsources`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings/extsources$"}),0!==j.length&&q.push({label:"MENU_ITEMS.GROUP.SETTINGS",url:[`/organizations/${A.voId}/groups/${A.id}/settings`],activatedRegex:"/organizations/\\d+/groups/\\d+/settings$",children:j,showChildrenRegex:"/organizations/\\d+/groups/\\d+/settings"}),q}getResourceLinks(A,q,j){const G=[{label:"MENU_ITEMS.RESOURCE.OVERVIEW",url:[A],activatedRegex:`${q}/\\d+/resources/\\d+$`}];return this.routePolicyService.canNavigate("resources-groups",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_GROUPS",url:[A,"groups"],activatedRegex:`${q}/\\d+/resources/\\d+/groups$`}),this.routePolicyService.canNavigate("resources-services",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_SERVICES",url:[A,"services"],activatedRegex:`${q}/\\d+/resources/\\d+/services$`}),this.routePolicyService.canNavigate("resources-members",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ASSIGNED_MEMBERS",url:[A,"members"],activatedRegex:`${q}/\\d+/resources/\\d+/members$`}),this.routePolicyService.canNavigate("resources-tags",j)&&G.push({label:"MENU_ITEMS.RESOURCE.RESOURCE_TAGS",url:[A,"tags"],activatedRegex:`${q}/\\d+/resources/\\d+/tags$`}),this.routePolicyService.canNavigate("resources-attributes",j)&&G.push({label:"MENU_ITEMS.RESOURCE.ATTRIBUTES",url:[A,"attributes"],activatedRegex:`${q}/\\d+/resources/\\d+/attributes$`}),this.routePolicyService.canNavigate("resources-settings",j)&&G.push({label:"MENU_ITEMS.RESOURCE.SETTINGS",url:[A,"settings"],activatedRegex:`${q}/\\d+/resources/\\d+/settings$`,children:[{label:"MENU_ITEMS.RESOURCE.MANAGERS",url:[A,"settings","managers"],activatedRegex:`${q}/\\d+/resources/\\d+/settings/managers$`}],showChildrenRegex:`${q}/\\d+/resources/\\d+/settings`}),G}}return I.\u0275fac=function(A){return new(A||I)(b.LFG(E.sK),b.LFG(e.x4),b.LFG(e.d6),b.LFG(e.F5),b.LFG(c.H8),b.LFG(e.V6),b.LFG(e.x4),b.LFG(e.Ip))},I.\u0275prov=b.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})()},73228:(qe,me,h)=>{"use strict";h.d(me,{V:()=>he});var e=h(72077),c=h(69024),g=h(32080),w=h(36769),_=h(5e3),b=h(77968);function E(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",10),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("sideNav",T.sideNav)}}function v(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.accessItems.length-1)("sideNav",T.sideNav)}}function I(F,be){if(1&F&&_._UZ(0,"app-side-menu-root-item",2),2&F){const pe=_.oxw();_.Q6J("id","facilities-item-btn")("item",pe.facilityItem)("sideNav",pe.sideNav)}}function N(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw(2);_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.facilityItems.length-1)("sideNav",T.sideNav)}}function A(F,be){if(1&F&&(_.TgZ(0,"div"),_.YNc(1,N,2,5,"div",3),_.qZA()),2&F){const pe=_.oxw();_.xp6(1),_.Q6J("ngForOf",pe.facilityItems)}}function q(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw();_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",ye===T.userItems.length-1)("sideNav",T.sideNav)}}function j(F,be){if(1&F&&_._UZ(0,"app-side-menu-root-item",7),2&F){const pe=_.oxw();_.Q6J("id","admin-item-btn")("item",pe.adminItem)("showOpen",pe.adminItemOpened)("sideNav",pe.sideNav)}}function G(F,be){if(1&F&&(_.TgZ(0,"div",9),_._UZ(1,"app-side-menu-item",11),_.qZA()),2&F){const pe=be.$implicit,ye=be.index,T=_.oxw(2);_.Q6J("@rollInOut",void 0),_.xp6(1),_.Q6J("index",ye)("item",pe)("showLinks",!0)("sideNav",T.sideNav)}}function Q(F,be){if(1&F&&(_.TgZ(0,"div"),_.YNc(1,G,2,5,"div",3),_.qZA()),2&F){const pe=_.oxw();_.xp6(1),_.Q6J("ngForOf",pe.adminItems)}}let he=(()=>{class F{constructor(pe,ye,T){this.sideMenuService=pe,this.sideMenuItemService=ye,this.authResolver=T,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}static areSameItems(pe,ye){return pe.label===ye.label&&pe.labelClass===ye.labelClass}static areSameLinks(pe,ye){if(pe.links.length!==ye.links.length)return!1;for(let T=0;Tye.length?pe.length:ye.length;for(let R=0;Rpe.length-1)pe.push(ye[R]);else{if(R>ye.length-1){const L=pe.length;for(let X=0;X{this.setFacilityItems(pe)}),this.sideMenuService.accessItemsChange.subscribe(pe=>{this.setAccessItems(pe)}),this.sideMenuService.adminItemsChange.subscribe(pe=>{this.setAdminItems(pe)}),this.sideMenuService.userItemsChange.subscribe(pe=>{this.setUserItems(pe)}),this.sideMenuService.homeItemsChange.subscribe(pe=>{this.setHomeItems(pe)}),this.sideMenuService.resetChange.subscribe(()=>{this.reset()})}reset(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptHome(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptFacility(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.userItems,[])}resetExceptAccess(){this.adminItemOpened=!1,this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.adminItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptAdmin(){this.userItemOpened=!1,F.setNewItems(this.homeItems,[]),F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.userItems,[])}resetExceptUser(){this.adminItemOpened=!1,F.setNewItems(this.accessItems,[]),F.setNewItems(this.facilityItems,[]),F.setNewItems(this.adminItems,[])}setHomeItems(pe){this.resetExceptHome(),F.setNewItems(this.homeItems,pe)}setFacilityItems(pe){this.resetExceptFacility(),F.setNewItems(this.facilityItems,pe)}setAccessItems(pe){this.resetExceptAccess(),F.setNewItems(this.accessItems,pe)}setUserItems(pe){this.userItemOpened=0===pe.length,this.resetExceptUser(),F.setNewItems(this.userItems,pe)}setAdminItems(pe){this.adminItemOpened=0===pe.length,this.resetExceptAdmin(),F.setNewItems(this.adminItems,pe)}}return F.\u0275fac=function(pe){return new(pe||F)(_.Y36(b.D),_.Y36(c.V),_.Y36(g.x4))},F.\u0275cmp=_.Xpm({type:F,selectors:[["app-side-menu"]],inputs:{sideNav:"sideNav"},decls:13,vars:17,consts:[["id","sideMenuSpacer"],["id","sideMenuAccordion",1,"accordion","entity-menu-accordion"],[3,"id","item","sideNav"],["class","overflow-hidden",4,"ngFor","ngForOf"],["data-cy","access-item-button",3,"item","id","sideNav"],[3,"id","item","sideNav",4,"ngIf"],[4,"ngIf"],[3,"id","item","showOpen","sideNav"],[3,"id","item","showOpen","sideNav",4,"ngIf"],[1,"overflow-hidden"],[3,"index","item","sideNav"],[3,"index","item","showLinks","sideNav"]],template:function(pe,ye){1&pe&&(_.TgZ(0,"div",0),_.TgZ(1,"div",1),_._UZ(2,"app-side-menu-root-item",2),_.YNc(3,E,2,4,"div",3),_._UZ(4,"app-side-menu-root-item",4),_.TgZ(5,"div"),_.YNc(6,v,2,5,"div",3),_.qZA(),_.YNc(7,I,1,3,"app-side-menu-root-item",5),_.YNc(8,A,2,1,"div",6),_._UZ(9,"app-side-menu-root-item",7),_.YNc(10,q,2,5,"div",3),_.YNc(11,j,1,4,"app-side-menu-root-item",8),_.YNc(12,Q,2,1,"div",6),_.qZA(),_.qZA()),2&pe&&(_.xp6(2),_.Q6J("id","home-item-btn")("item",ye.homeItem)("sideNav",ye.sideNav),_.xp6(1),_.Q6J("ngForOf",ye.homeItems),_.xp6(1),_.Q6J("item",ye.accessItem)("id","access-item-btn")("sideNav",ye.sideNav),_.xp6(2),_.Q6J("ngForOf",ye.accessItems),_.xp6(1),_.Q6J("ngIf",ye.authResolver.canManageFacilities()),_.xp6(1),_.Q6J("ngIf",ye.authResolver.canManageFacilities()),_.xp6(1),_.Q6J("id","profile-item-btn")("item",ye.userItem)("showOpen",ye.userItemOpened)("sideNav",ye.sideNav),_.xp6(1),_.Q6J("ngForOf",ye.userItems),_.xp6(1),_.Q6J("ngIf",ye.authResolver.isPerunAdminOrObserver()),_.xp6(1),_.Q6J("ngIf",ye.authResolver.isPerunAdminOrObserver()))},styles:[".entity-menu-item-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.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-accordion[_ngcontent-%COMP%]{background-color:#f4f4f4}#sideMenuAccordion[_ngcontent-%COMP%]{width:300px}#sideMenuSpacer[_ngcontent-%COMP%]{height:100%}"],data:{animation:[w.Ly]}}),F})()},86511:(qe,me,h)=>{"use strict";h.d(me,{A:()=>w});var e=h(32080),c=h(5e3),g=h(51062);let w=(()=>{class _{constructor(E,v){this.notificator=E,this.translate=v}setDialogRef(E){this.dialogRef=E}setType(E){this.entityType=E}getType(){return this.entityType}createCandidate(E){return{userExtSource:E.userExtSource,additionalUserExtSources:E.additionalUserExtSources,attributes:E.attributes,firstName:E.firstName,lastName:E.lastName,middleName:E.middleName,titleBefore:E.titleBefore,titleAfter:E.titleAfter,id:E.id}}getFormattedGroup(E){return{id:E.id,beanName:E.beanName,name:E.name,voId:E.voId}}success(E){this.notificator.showSuccess(this.translate.instant(E)),this.dialogRef.close(!0)}getCandidateWithError(E,v){const I=v.error,N=I.message.split(":").splice(1).join();return{candidate:E,errorName:I.name,errorMsg:N}}}return _.\u0275fac=function(E){return new(E||_)(c.LFG(e.V6),c.LFG(g.sK))},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},157:(qe,me,h)=>{"use strict";h.d(me,{b:()=>Nt});var e=h(5e3),c=h(44409),g=h(48966),w=h(47423),_=h(51062);let b=(()=>{class He{constructor(Z){this.dialogRef=Z}onCancel(){this.dialogRef.close(!1)}submit(){this.dialogRef.close(!0)}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(g.so))},He.\u0275cmp=e.Xpm({type:He,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"],["color","warn","data-cy","delete-application-form-item-dialog","mat-flat-button","",1,"ml-2",3,"click"]],template:function(Z,$){1&Z&&(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 $.onCancel()}),e._uU(15),e.ALo(16,"translate"),e.qZA(),e.TgZ(17,"button",6),e.NdJ("click",function(){return $.submit()}),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.qZA()),2&Z&&(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,w.lW],pipes:[_.X$],styles:[""]}),He})();var E=h(32080),v=h(83491),I=h(9244),N=h(36157),A=h(69808),q=h(20773),j=h(32075),G=h(25245),Q=h(29772),he=h(93075),F=h(21963),be=h(28820),pe=h(98380),ye=h(57706),T=h(64597);const R=["table"];function L(He,je){1&He&&e._UZ(0,"mat-spinner",3)}function X(He,je){1&He&&e._UZ(0,"th",24)}function Y(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"td",25),e.TgZ(1,"button",26),e.NdJ("mousedown",function(){return e.CHM(Z),e.oxw(2).dragDisabled=!1}),e.TgZ(2,"mat-icon"),e._uU(3,"drag_indicator"),e.qZA(),e.qZA(),e.qZA()}}function se(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SHORTNAME")," "))}function Te(He,je){if(1&He&&(e.TgZ(0,"td",25),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.AsE(" ",Z.shortname,"",Z.required?"*":""," ")}}function Oe(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TYPE")," "))}function Se(He,je){if(1&He&&(e.TgZ(0,"td",25),e._uU(1),e.ALo(2,"applicationFormItemType"),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,Z.type)," ")}}function We(He,je){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,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DISABLED_HEADER")," "))}function ge(He,je){if(1&He&&(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&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",$.disabledTooltip(Z)),e.xp6(3),e.hij(" ",$.disabledHiddenDependency(Z,Z.disabled,Z.disabledDependencyItemId)," ")}}function Le(He,je){if(1&He&&(e.TgZ(0,"td",28),e.YNc(1,ge,5,2,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Z.disabled)}}function ue(He,je){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,"VO_DETAIL.SETTINGS.APPLICATION_FORM.HIDDEN_HEADER")," "))}function Me(He,je){if(1&He&&(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&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("matTooltip",$.hiddenTooltip(Z)),e.xp6(3),e.hij(" ",$.disabledHiddenDependency(Z,Z.hidden,Z.hiddenDependencyItemId)," ")}}function z(He,je){if(1&He&&(e.TgZ(0,"td",28),e.YNc(1,Me,5,2,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","NEVER"!==Z.hidden)}}function P(He,je){1&He&&(e.TgZ(0,"th",24),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW")," "))}function de(He,je){1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function Ce(He,je){1&He&&(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 Pe(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"input",35),e._uU(2),e._UZ(3,"br"),e.qZA()),2&He){const Z=je.$implicit;e.xp6(2),e.hij(" ",Z,"")}}function ce(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,Pe,4,1,"div",33),e._UZ(3,"input",34),e.ALo(4,"translate"),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z)),e.xp6(1),e.s9C("value",e.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.CLEAR_SELECTION"))}}function fe(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"span",36),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",$.getLocalizedLabel(Z),e.oJD)}}function Ze(He,je){if(1&He&&(e.TgZ(0,"option"),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",Z," ")}}function ne(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"select"),e.YNc(2,Ze,2,1,"option",33),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z))}}function it(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"textarea"),e.qZA())}function Be(He,je){if(1&He&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.hij(" ",Z," ")}}function ze(He,je){1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e._UZ(2,"input",31),e.qZA(),e.qZA())}function Ue(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"select",37),e.NdJ("ngModelChange",function(oe){e.CHM(Z);const nt=e.oxw().$implicit;return e.oxw(2).mapForCombobox[nt.id]=oe}),e.YNc(2,Be,2,1,"option",38),e.TgZ(3,"option",39),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.qZA(),e.YNc(6,ze,3,0,"div",29),e.qZA()}if(2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(1),e.Q6J("ngModel",$.mapForCombobox[Z.id]),e.xp6(1),e.Q6J("ngForOf",$.getLocalizedOptions(Z)),e.xp6(2),e.hij(" ",e.lcZ(5,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.OTHER_VALUE")," "),e.xp6(2),e.Q6J("ngIf","true"===$.mapForCombobox[Z.id])}}function _e(He,je){if(1&He&&(e.TgZ(0,"div"),e._UZ(1,"input",41),e._uU(2),e.qZA()),2&He){const Z=je.$implicit;e.xp6(2),e.hij(" ",Z," ")}}function ae(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"form"),e.YNc(2,_e,3,1,"div",33),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",$.getLocalizedOptions(Z))}}function Ae(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.hij(" ",$.getLocalizedLabel(Z)," ")}}function ee(He,je){1&He&&(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&He&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NOT_SELECTED")," "))}function Ne(He,je){if(1&He&&(e.TgZ(0,"div"),e.TgZ(1,"button",42),e._uU(2),e.qZA(),e.qZA()),2&He){const Z=e.oxw().$implicit,$=e.oxw(2);e.xp6(2),e.hij(" ",$.getLocalizedLabel(Z)," ")}}function V(He,je){1&He&&(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())}const H=function(){return["Example 1","Example 2"]},D=function(He){return{id:0,beanName:"Attribute",namespace:"",value:He}};function O(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"perun-web-apps-attribute-value-list",85),e.qZA()),2&He&&(e.xp6(1),e.Q6J("attribute",e.VKq(2,D,e.DdM(1,H))))}const i=function(){return{key1:"value 1",key2:"value 2"}};function o(He,je){1&He&&(e.TgZ(0,"div"),e._UZ(1,"perun-web-apps-attribute-value-map",85),e.qZA()),2&He&&(e.xp6(1),e.Q6J("attribute",e.VKq(2,D,e.DdM(1,i))))}function u(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,de,3,0,"div",29),e.YNc(2,Ce,5,0,"div",29),e.YNc(3,ce,5,4,"div",29),e.YNc(4,fe,2,1,"div",29),e.YNc(5,ne,3,1,"div",29),e.YNc(6,it,2,0,"div",29),e.YNc(7,Ue,7,6,"div",29),e.YNc(8,ae,3,1,"div",29),e.YNc(9,Ae,3,1,"div",29),e.YNc(10,ee,85,3,"div",29),e.YNc(11,Ne,3,1,"div",29),e.YNc(12,V,10,0,"div",29),e.YNc(13,O,2,4,"div",29),e.YNc(14,o,2,4,"div",29),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","TEXTFIELD"===Z.type||"VALIDATED_EMAIL"===Z.type||"USERNAME"===Z.type),e.xp6(1),e.Q6J("ngIf","PASSWORD"===Z.type),e.xp6(1),e.Q6J("ngIf","RADIO"===Z.type),e.xp6(1),e.Q6J("ngIf","HEADING"===Z.type||"HTML_COMMENT"===Z.type),e.xp6(1),e.Q6J("ngIf","SELECTIONBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","TEXTAREA"===Z.type),e.xp6(1),e.Q6J("ngIf","COMBOBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","CHECKBOX"===Z.type),e.xp6(1),e.Q6J("ngIf","SUBMIT_BUTTON"===Z.type),e.xp6(1),e.Q6J("ngIf","TIMEZONE"===Z.type),e.xp6(1),e.Q6J("ngIf","AUTO_SUBMIT_BUTTON"===Z.type),e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Z.type),e.xp6(1),e.Q6J("ngIf","LIST_INPUT_BOX"===Z.type),e.xp6(1),e.Q6J("ngIf","MAP_INPUT_BOX"===Z.type)}}function l(He,je){1&He&&e._UZ(0,"th",24)}function s(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",87),e.NdJ("click",function(){return e.CHM(Z),e.oxw(3).openManagingGroups()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"supervised_user_circle"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANAGE_GROUPS"))}function n(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,s,4,3,"button",86),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf","EMBEDDED_GROUP_APPLICATION"===Z.type&&!Z.forDelete)}}function t(He,je){1&He&&e._UZ(0,"th",24)}function r(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",90),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).edit(oe)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"edit"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.EDIT"))}function a(He,je){1&He&&(e.TgZ(0,"div",91),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MARK_DELETE")," "))}function d(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,r,4,3,"button",88),e.YNc(2,a,3,3,"div",89),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf",!Z.forDelete),e.xp6(1),e.Q6J("ngIf",Z.forDelete)}}function f(He,je){1&He&&e._UZ(0,"th",24)}function x(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",93),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).delete(oe)}),e.ALo(1,"multiWordDataCy"),e.ALo(2,"translate"),e.TgZ(3,"mat-icon"),e._uU(4,"delete"),e.qZA(),e.qZA()}if(2&He){const Z=e.oxw().$implicit;e.Q2q("data-cy","",e.lcZ(1,2,Z.shortname),"-delete"),e.s9C("matTooltip",e.lcZ(2,4,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DELETE"))}}function Ye(He,je){if(1&He){const Z=e.EpF();e.TgZ(0,"button",87),e.NdJ("click",function(){e.CHM(Z);const oe=e.oxw().$implicit;return e.oxw(2).restore(oe)}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon"),e._uU(3,"settings_backup_restore"),e.qZA(),e.qZA()}2&He&&e.s9C("matTooltip",e.lcZ(1,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.REVERT_DELETE"))}function It(He,je){if(1&He&&(e.TgZ(0,"td",25),e.YNc(1,x,5,6,"button",92),e.YNc(2,Ye,4,3,"button",86),e.qZA()),2&He){const Z=je.$implicit;e.xp6(1),e.Q6J("ngIf",!Z.forDelete),e.xp6(1),e.Q6J("ngIf",Z.forDelete)}}function jt(He,je){1&He&&e._UZ(0,"tr",94)}function bt(He,je){if(1&He&&e._UZ(0,"tr",95),2&He){const Z=je.$implicit,$=e.oxw(2);e.ekj("make-green",Z.id<=0)("make-red",Z.forDelete)("make-yellow",-1!==$.itemsChanged.indexOf(Z.id)&&!Z.forDelete&&Z.id>0),e.Q6J("cdkDragData",Z)}}function Yt(He,je){if(1&He){const Z=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(oe){return e.CHM(Z),e.oxw().drop(oe)}),e.ynx(5,9),e.YNc(6,X,1,0,"th",10),e.YNc(7,Y,4,0,"td",11),e.BQk(),e.ynx(8,12),e.YNc(9,se,3,3,"th",10),e.YNc(10,Te,2,2,"td",11),e.BQk(),e.ynx(11,13),e.YNc(12,Oe,3,3,"th",10),e.YNc(13,Se,3,3,"td",11),e.BQk(),e.ynx(14,14),e.YNc(15,We,3,3,"th",15),e.YNc(16,Le,2,1,"td",16),e.BQk(),e.ynx(17,17),e.YNc(18,ue,3,3,"th",15),e.YNc(19,z,2,1,"td",16),e.BQk(),e.ynx(20,18),e.YNc(21,P,3,3,"th",10),e.YNc(22,u,15,14,"td",11),e.BQk(),e.ynx(23,19),e.YNc(24,l,1,0,"th",10),e.YNc(25,n,2,1,"td",11),e.BQk(),e.ynx(26,20),e.YNc(27,t,1,0,"th",10),e.YNc(28,d,3,2,"td",11),e.BQk(),e.ynx(29,21),e.YNc(30,f,1,0,"th",10),e.YNc(31,It,3,2,"td",11),e.BQk(),e.YNc(32,jt,1,0,"tr",22),e.YNc(33,bt,1,7,"tr",23),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&He){const Z=e.oxw();e.xp6(3),e.Q6J("cdkDropListDisabled",Z.dragDisabled)("dataSource",Z.dataSource),e.xp6(29),e.Q6J("matHeaderRowDef",Z.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",Z.displayedColumns)}}function Ct(He,je){1&He&&(e.TgZ(0,"perun-web-apps-alert",96),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&He&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM"),"\n"))}let Nt=(()=>{class He{constructor(Z,$,oe,nt){this.dialog=Z,this.notificator=$,this.router=oe,this.translate=nt,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(Z,$,oe){let nt="";if("IF_EMPTY"===$||"IF_PREFILLED"===$){const ct=null===oe?"":this.applicationFormItems.find(Rt=>Rt.id===oe).shortname;nt="IF_EMPTY"===$?`(${this.ifEmpty} ${ct})`:`(${this.ifPrefilled} ${ct})`}return nt}disabledTooltip(Z){let $;switch(Z.disabled){case"ALWAYS":return this.alwaysDisabled;case"IF_EMPTY":return $=null===Z.disabledDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${$} ${this.isEmpty}`;case"IF_PREFILLED":return $=null===Z.disabledDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.disabledDependencyItemId).shortname,`${this.isDisabledIf} ${$} ${this.isPrefilled}`}}hiddenTooltip(Z){let $;switch(Z.hidden){case"ALWAYS":return this.alwaysHidden;case"IF_EMPTY":return $=null===Z.hiddenDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${$} ${this.isEmpty}`;case"IF_PREFILLED":return $=null===Z.hiddenDependencyItemId?"":this.applicationFormItems.find(oe=>oe.id===Z.hiddenDependencyItemId).shortname,`${this.isHiddenIf} ${$} ${this.isPrefilled}`}}edit(Z){const $=(0,I.kZ)();$.width="600px",$.height="600px",$.data={voId:this.applicationForm.vo.id,group:this.applicationForm.group,applicationFormItem:Z,theme:this.theme,allItems:this.applicationFormItems},this.dialog.open(v._,$).afterClosed().subscribe(nt=>{nt&&(this.itemsChanged.push(Z.id),this.applicationFormItemsChange.emit())})}delete(Z){const $=(0,I.kZ)();$.width="500px",this.dialog.open(b,$).afterClosed().subscribe(nt=>{nt&&(Z.forDelete=!0,0===Z.id&&(this.applicationFormItems.splice(this.applicationFormItems.indexOf(Z),1),this.table.renderRows()),this.applicationFormItemsChange.emit())})}drop(Z){this.dragDisabled=!0;const $=this.applicationFormItems.indexOf(Z.item.data);(0,c.bA)(this.applicationFormItems,$,Z.currentIndex),this.itemsChanged.push(this.applicationFormItems[Z.currentIndex].id),this.applicationFormItemsChange.emit(),this.table.renderRows()}getLocalizedOptions(Z){if(Z.i18n[this.translate.getDefaultLang()]){const $=Z.i18n[this.translate.getDefaultLang()].options;if(null!==$&&""!==$){const oe=[];for(const nt of $.split("|"))oe.push(nt.split("#")[1]);return oe}}return[]}getLocalizedLabel(Z){return Z.i18n[this.translate.getDefaultLang()]?Z.i18n[this.translate.getDefaultLang()].label:Z.shortname}restore(Z){Z.forDelete=!1}openManagingGroups(){this.router.navigate(["/organizations",this.applicationForm.vo.id,"settings","applicationForm","manageGroups"])}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(g.uw),e.Y36(E.V6),e.Y36(N.F0),e.Y36(_.sK))},He.\u0275cmp=e.Xpm({type:He,selectors:[["app-application-form-list"]],viewQuery:function(Z,$){if(1&Z&&e.Gf(R,5),2&Z){let oe;e.iGM(oe=e.CRH())&&($.table=oe.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"],[3,"attribute"],["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(Z,$){1&Z&&(e.YNc(0,L,1,0,"mat-spinner",0),e.YNc(1,Yt,34,4,"div",1),e.YNc(2,Ct,3,3,"perun-web-apps-alert",2)),2&Z&&(e.Q6J("ngIf",$.loading),e.xp6(1),e.Q6J("ngIf",0!==$.applicationFormItems.length&&!$.loading),e.xp6(1),e.Q6J("ngIf",0===$.applicationFormItems.length&&!$.loading))},directives:[A.O5,q.Ou,j.BZ,c.Wj,j.w1,j.fO,j.ge,j.Dz,j.ev,w.lW,G.Hw,Q.gM,he._Y,he.JL,he.F,A.sg,he.YN,he.Kr,he.EJ,he.JJ,he.On,F.H,be.$,j.as,j.XQ,j.nj,j.Gk,c.Zt,pe.w],pipes:[_.X$,ye.c,T.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}"]}),He})()},9146:(qe,me,h)=>{"use strict";h.d(me,{S:()=>r});var e=h(32105),c=h(9244),g=h(84847),w=h(32080),_=h(56451),b=h(18505),E=h(69808),v=h(5e3),I=h(10036),N=h(18750),A=h(20773),q=h(32075),j=h(25245),G=h(29772);function Q(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",1),v._uU(2,"arrow_right_alt"),v.qZA(),v.qZA())}function he(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",2),v._uU(2,"restore"),v.qZA(),v.qZA())}function F(a,d){1&a&&(v.TgZ(0,"div"),v.TgZ(1,"mat-icon",3),v._uU(2,"nat"),v.qZA(),v.qZA())}let be=(()=>{class a{}return a.\u0275fac=function(f){return new(f||a)},a.\u0275cmp=v.Xpm({type:a,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(f,x){1&f&&(v.TgZ(0,"div"),v.YNc(1,Q,3,0,"div",0),v.YNc(2,he,3,0,"div",0),v.YNc(3,F,3,0,"div",0),v.qZA()),2&f&&(v.xp6(1),v.Q6J("ngIf","INITIAL"===x.applicationType),v.xp6(1),v.Q6J("ngIf","EXTENSION"===x.applicationType),v.xp6(1),v.Q6J("ngIf","EMBEDDED"===x.applicationType))},directives:[E.O5,j.Hw,G.gM],styles:[""]}),a})();var pe=h(50301),ye=h(36157),T=h(98380),R=h(51062),L=h(43157),X=h(31359);function Y(a,d){1&a&&(v.TgZ(0,"div",26),v._UZ(1,"mat-spinner",27),v.qZA())}function se(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.ID")," "))}function Te(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.id)}}function Oe(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.CREATED_DATE")," "))}function Se(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.ALo(2,"date"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,f.createdAt,"d.M.y"))}}function We(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.VO_ID")))}function ge(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.vo.id)}}function Le(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.VO_NAME")))}function ue(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.vo.name)}}function Me(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.GROUP_ID")))}function z(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.group?f.group.id:""," ")}}function P(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.GROUP_NAME")))}function de(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.group?f.group.name:""," ")}}function Ce(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.TYPE")," "))}function Pe(a,d){if(1&a&&(v.TgZ(0,"td",29),v._UZ(1,"app-application-type-icon",31),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Q6J("applicationType",f.type)}}function ce(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.STATE")," "))}function fe(a,d){if(1&a&&(v.TgZ(0,"td",29),v._UZ(1,"span",32),v.ALo(2,"applicationState"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Q6J("outerHTML",v.lcZ(2,1,f.state),v.oJD)}}function Ze(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCENAME")))}function ne(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.extSourceName)}}function it(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.EXTSOURCETYPE")))}function Be(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.extSourceType)}}function ze(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.USER")," "))}function Ue(a,d){if(1&a&&(v.TgZ(0,"div"),v._uU(1),v.qZA()),2&a){const f=v.oxw().$implicit;v.xp6(1),v.hij(" ",f.createdBy.slice(f.createdBy.lastIndexOf("=")+1,f.createdBy.length)," ")}}function _e(a,d){if(1&a&&(v._uU(0),v.ALo(1,"userFullName")),2&a){const f=v.oxw().$implicit;v.hij(" ",v.lcZ(1,1,f.user)," ")}}function ae(a,d){if(1&a&&(v.TgZ(0,"td",29),v.YNc(1,Ue,2,1,"div",33),v.YNc(2,_e,2,3,"ng-template",null,34,v.W1O),v.qZA()),2&a){const f=d.$implicit,x=v.MAs(3);v.xp6(1),v.Q6J("ngIf",null===f.user)("ngIfElse",x)}}function Ae(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.CREATED_BY")))}function ee(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.hij(" ",f.createdBy.slice(f.createdBy.lastIndexOf("=")+1,f.createdBy.length)," ")}}function Ne(a,d){1&a&&(v.TgZ(0,"th",28),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_BY")," "))}function V(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit,x=v.oxw();v.xp6(1),v.Oqu(x.getFriendlyName(f.modifiedBy))}}function H(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.MODIFIED_AT")))}function D(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.ALo(2,"date"),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(v.xi3(2,1,f.modifiedAt,"d.M.y"))}}function O(a,d){1&a&&(v.TgZ(0,"th",30),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"APPLICATIONS_LIST.FEDINFO")))}function i(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit;v.xp6(1),v.Oqu(f.fedInfo)}}function o(a,d){if(1&a&&(v.TgZ(0,"th",30),v._uU(1),v.qZA()),2&a){const f=v.oxw().$implicit;v.xp6(1),v.Oqu(f)}}function u(a,d){if(1&a&&(v.TgZ(0,"td",29),v._uU(1),v.qZA()),2&a){const f=d.$implicit,x=v.oxw().$implicit,Ye=v.oxw();v.xp6(1),v.hij(" ",Ye.getValue(f.formData,x)," ")}}function l(a,d){1&a&&(v.ynx(0,35),v.YNc(1,o,2,1,"th",9),v.YNc(2,u,2,1,"td",6),v.BQk()),2&a&&v.s9C("matColumnDef",d.$implicit)}function s(a,d){1&a&&v._UZ(0,"tr",36)}function n(a,d){if(1&a&&v._UZ(0,"tr",37),2&a){const f=d.$implicit,x=v.oxw();v.ekj("cursor-pointer",!x.disableRouting),v.Q6J("perunWebAppsMiddleClickRouterLink",x.selectApplication(f))("routerLink",x.selectApplication(f))}}function t(a,d){1&a&&(v.TgZ(0,"perun-web-apps-alert",38),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&a&&(v.Q6J("alert_type","warn"),v.xp6(1),v.hij(" ",v.lcZ(2,2,"VO_DETAIL.APPLICATION.NO_APPLICATION_FOUND"),"\n"))}let r=(()=>{class a{constructor(f,x,Ye){this.authResolver=f,this.tableConfigService=x,this.dynamicPaginatingService=Ye,this.displayedColumns=[],this.disableRouting=!1,this.searchString="",this.dateTo=new Date,this.dateFrom=this.yearAgo(),this.refreshTable=!1,this.parsedColumns=[],this.pageSizeOptions=c.f7}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadApplicationsPage())).subscribe()}ngOnInit(){var f,x,Ye,It;this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(jt=>"id"!==jt)),this.dataSource=new w.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!==(x=null===(f=this.member)||void 0===f?void 0:f.userId)&&void 0!==x?x:null,null!==(It=null===(Ye=this.group)||void 0===Ye?void 0:Ye.id)&&void 0!==It?It:null,this.getVoId()),this.dataSource.loading$.subscribe(jt=>{if(jt||!this.displayedColumns.includes("fedInfo"))return;this.displayedColumns=this.displayedColumns.filter(Yt=>!this.parsedColumns.includes(Yt)),this.parsedColumns=[];const bt=this.dataSource.getData()[0];bt&&this.parseColumns(bt.formData)})}ngOnChanges(){this.refreshTable=!1,this.dataSource&&(this.child.paginator.pageIndex=0,this.loadApplicationsPage())}loadApplicationsPage(){var f,x,Ye,It;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!==(x=null===(f=this.member)||void 0===f?void 0:f.userId)&&void 0!==x?x:null,null!==(It=null===(Ye=this.group)||void 0===Ye?void 0:Ye.id)&&void 0!==It?It:null,this.getVoId(),!0)}exportData(f){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,this.getExportDataForColumn.bind(this)),f)}selectApplication(f){return this.disableRouting?null:this.group?["/organizations",f.vo.id,"groups",this.group.id,"applications",f.id]:this.member?["/organizations",f.vo.id,"members",this.member.id,"applications",f.id]:["/organizations",f.vo.id,"applications",f.id]}getExportDataForColumn(f,x){var Ye,It,jt,bt;switch(x){case"id":return f.id.toString();case"voId":return f.vo.id.toString();case"voName":return f.vo.name;case"groupId":return null!==(It=null===(Ye=f.group)||void 0===Ye?void 0:Ye.id.toString())&&void 0!==It?It:"";case"groupName":return null!==(bt=null===(jt=f.group)||void 0===jt?void 0:jt.name)&&void 0!==bt?bt:"";case"type":return f.type;case"fedInfo":return f.fedInfo;case"formData":return this.stringify(f.formData);case"state":return f.state;case"extSourceName":return f.extSourceName;case"extSourceType":return f.extSourceType;case"user":return f.user?(0,c.bD)(f.user):"";case"createdBy":return f.createdBy;case"createdAt":return f.createdAt;case"modifiedBy":return f.modifiedBy;case"modifiedAt":return f.modifiedAt;default:return f[x]}}getSortDataColumn(){if(!this.sort)return e.sY.DATE_CREATED;switch(this.sort.active){case"id":return e.sY.ID;case"createdAt":default:return e.sY.DATE_CREATED;case"type":return e.sY.TYPE;case"state":return e.sY.STATE;case"user":return e.sY.SUBMITTER;case"groupName":return e.sY.GROUP_NAME;case"modifiedBy":return e.sY.MODIFIED_BY}}getFriendlyName(f){const x=f.lastIndexOf("/CN=");if(-1!==x){const Ye=f.slice(x+4,f.length).replace("/unstructuredName="," ");return-1!==Ye.lastIndexOf("\\")?f.slice(f.lastIndexOf("=")+1,f.length):Ye}return f}yearAgo(){const f=new Date;return f.setDate(f.getDate()-365),f}dateToString(f){return(0,E.p6)(f,"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(f){const x=It=>Object.entries(It).reduce((jt,[bt,Yt])=>jt[bt]instanceof Object?jt[bt]=x(jt[bt]):(null==Yt||"null"===Yt||0===Yt.length||(jt[bt]=Yt),jt),{});let Ye=JSON.stringify(x(f));return Ye=Ye.replace("{","["),Ye=Ye.replace("}","]"),Ye}getFormDataString(f){return this.stringify(f.formItem)}parseColumns(f){f.forEach(x=>{this.displayedColumns.includes(x.shortname)||this.displayedColumns.push(x.shortname),this.parsedColumns.includes(x.shortname)||this.parsedColumns.push(x.shortname)})}getValue(f,x){var Ye;const It=f.filter(jt=>jt.shortname===x);return 0===It.length?"":null!==(Ye=It[0].value)&&void 0!==Ye?Ye:It[0].prefilledValue}}return a.\u0275fac=function(f){return new(f||a)(v.Y36(w.x4),v.Y36(I.dB),v.Y36(w.ly))},a.\u0275cmp=v.Xpm({type:a,selectors:[["app-applications-dynamic-list"]],viewQuery:function(f,x){if(1&f&&(v.Gf(c.l9,7),v.Gf(g.YE,5)),2&f){let Ye;v.iGM(Ye=v.CRH())&&(x.child=Ye.first),v.iGM(Ye=v.CRH())&&(x.sort=Ye.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:[v.TTD],decls:55,vars:14,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(f,x){1&f&&(v.TgZ(0,"div",0),v.TgZ(1,"perun-web-apps-table-wrapper",1),v.NdJ("exportData",function(It){return x.exportData(It)}),v.YNc(2,Y,2,0,"div",2),v.ALo(3,"async"),v.TgZ(4,"table",3),v.ynx(5,4),v.YNc(6,se,3,3,"th",5),v.YNc(7,Te,2,1,"td",6),v.BQk(),v.ynx(8,7),v.YNc(9,Oe,3,3,"th",5),v.YNc(10,Se,3,4,"td",6),v.BQk(),v.ynx(11,8),v.YNc(12,We,3,3,"th",9),v.YNc(13,ge,2,1,"td",6),v.BQk(),v.ynx(14,10),v.YNc(15,Le,3,3,"th",9),v.YNc(16,ue,2,1,"td",6),v.BQk(),v.ynx(17,11),v.YNc(18,Me,3,3,"th",9),v.YNc(19,z,2,1,"td",6),v.BQk(),v.ynx(20,12),v.YNc(21,P,3,3,"th",9),v.YNc(22,de,2,1,"td",6),v.BQk(),v.ynx(23,13),v.YNc(24,Ce,3,3,"th",5),v.YNc(25,Pe,2,1,"td",6),v.BQk(),v.ynx(26,14),v.YNc(27,ce,3,3,"th",5),v.YNc(28,fe,3,3,"td",6),v.BQk(),v.ynx(29,15),v.YNc(30,Ze,3,3,"th",9),v.YNc(31,ne,2,1,"td",6),v.BQk(),v.ynx(32,16),v.YNc(33,it,3,3,"th",9),v.YNc(34,Be,2,1,"td",6),v.BQk(),v.ynx(35,17),v.YNc(36,ze,3,3,"th",5),v.YNc(37,ae,4,2,"td",6),v.BQk(),v.ynx(38,18),v.YNc(39,Ae,3,3,"th",9),v.YNc(40,ee,2,1,"td",6),v.BQk(),v.ynx(41,19),v.YNc(42,Ne,3,3,"th",5),v.YNc(43,V,2,1,"td",6),v.BQk(),v.ynx(44,20),v.YNc(45,H,3,3,"th",9),v.YNc(46,D,3,4,"td",6),v.BQk(),v.ynx(47,21),v.YNc(48,O,3,3,"th",9),v.YNc(49,i,2,1,"td",6),v.BQk(),v.YNc(50,l,3,1,"ng-container",22),v.YNc(51,s,1,0,"tr",23),v.YNc(52,n,1,4,"tr",24),v.qZA(),v.qZA(),v.qZA(),v.YNc(53,t,3,4,"perun-web-apps-alert",25),v.ALo(54,"async")),2&f&&(v.Q6J("hidden",0===x.dataSource.allObjectCount),v.xp6(1),v.Q6J("dataLength",x.dataSource.allObjectCount)("pageSizeOptions",x.pageSizeOptions)("tableId",x.tableId),v.xp6(1),v.Q6J("ngIf",v.lcZ(3,10,x.dataSource.loading$)),v.xp6(2),v.Q6J("dataSource",x.dataSource),v.xp6(46),v.Q6J("ngForOf",x.parsedColumns),v.xp6(1),v.Q6J("matHeaderRowDef",x.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",x.displayedColumns),v.xp6(1),v.Q6J("ngIf",0===x.dataSource.allObjectCount&&!1===v.lcZ(54,12,x.dataSource.loading$)))},directives:[N.l,E.O5,A.Ou,q.BZ,g.YE,q.w1,q.fO,q.ge,g.nU,q.Dz,q.ev,be,E.sg,q.as,q.XQ,q.nj,q.Gk,pe.YH,ye.rH,T.w],pipes:[E.Ov,R.X$,E.uU,L.h,X.d],styles:[""]}),a})()},45256:(qe,me,h)=>{"use strict";h.d(me,{k:()=>G});var e=h(20449),c=h(32105),g=h(64080),w=h(48966),_=h(32080),b=h(9244),E=h(86511),v=h(77579),I=h(56451),N=h(39646),A=h(63900),q=h(68675),j=h(5e3);let G=(()=>{class Q{constructor(F,be,pe,ye,T,R,L,X,Y,se){this.data=F,this.dialogRef=be,this.membersManagerService=pe,this.voService=ye,this.registrarManager=T,this.groupService=R,this.store=L,this.guiAuthResolver=X,this.requestService=Y,this.addMemberService=se,this.loading=!1,this.searcher=new v.x,this.members=this.searcher.pipe((0,A.w)(Te=>(0,I.T)((0,N.of)(null),this.voService.getCompleteCandidatesForGroup(this.data.group.id,this.attrNames,Te))),(0,q.O)(void 0)),this.failed=[],this.selection=new e.Ov(!0,[]),this.attrNames=[g.r.USER_DEF_ORGANIZATION,g.r.USER_DEF_PREFERRED_MAIL],this.languages=this.store.get("supported_languages"),this.addMemberService.setDialogRef(this.dialogRef),this.addMemberService.setType("group")}ngOnInit(){this.inviteAuth=this.guiAuthResolver.isAuthorized("group-sendInvitation_Vo_Group_User_policy",[this.data.group]),this.selection.changed.subscribe(F=>{this.addAuth=!!F.source.selected.every(be=>be.member)||this.guiAuthResolver.isAuthorized("createMember_Vo_User_List_policy",[this.data.group])&&this.guiAuthResolver.isAuthorized("createMember_Vo_Candidate_List_policy",[this.data.group])})}add(){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_ADD"));this.requestService.dontHandleErrorForNext();const F=this.selection.selected.pop();F.member?this.addMember(F):F.richUser?this.addUser(F):F.candidate&&this.addCandidate(F)}invite(F){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE"));this.requestService.dontHandleErrorForNext();const be=this.selection.selected.pop();be.richUser?this.inviteUser(be,F):this.inviteCandidate(be,F)}cancel(F){this.dialogRef.close(F)}addCandidate(F){this.membersManagerService.createMemberForCandidate({vo:this.data.group.voId,candidate:this.addMemberService.createCandidate(F.candidate),groups:[this.addMemberService.getFormattedGroup(this.data.group)]}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addMember(F){this.groupService.addMembers(this.data.group.id,[F.member.id]).subscribe(()=>{this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addUser(F){this.membersManagerService.createMemberForUser({vo:this.data.group.voId,user:F.richUser.id,groups:[this.addMemberService.getFormattedGroup(this.data.group)]}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}inviteCandidate(F,be){this.registrarManager.sendInvitationForGroup((0,b.Jc)(F.candidate),be,this.data.group.voId,this.data.group.id).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}inviteUser(F,be){this.registrarManager.sendInvitationGroupToExistingUser(F.richUser.id,this.data.group.voId,this.data.group.id).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}}return Q.\u0275fac=function(F){return new(F||Q)(j.Y36(w.WI),j.Y36(w.so),j.Y36(c.uq),j.Y36(c.YF),j.Y36(c.tk),j.Y36(c.ff),j.Y36(_.d6),j.Y36(_.x4),j.Y36(_.F5),j.Y36(E.A))},Q.\u0275cmp=j.Xpm({type:Q,selectors:[["app-group-add-member-dialog"]],decls:2,vars:11,consts:[[3,"loading","languages","manualAddingBlocked","addAuth","inviteAuth","failed","members","selection","theme","add","cancel","invite","search"]],template:function(F,be){1&F&&(j.TgZ(0,"app-add-member-dialog",0),j.NdJ("add",function(){return be.add()})("cancel",function(ye){return be.cancel(ye)})("invite",function(ye){return be.invite(ye)})("search",function(ye){return be.searcher.next(ye)}),j.ALo(1,"async"),j.qZA()),2&F&&j.Q6J("loading",be.loading)("languages",be.languages)("manualAddingBlocked",be.data.manualAddingBlocked)("addAuth",be.addAuth)("inviteAuth",be.inviteAuth)("failed",be.failed)("members",j.lcZ(1,9,be.members))("selection",be.selection)("theme","group-theme")},styles:[""]}),Q})()},51525:(qe,me,h)=>{"use strict";h.d(me,{H:()=>G});var e=h(48966),c=h(32105),g=h(32080),w=h(20449),_=h(9244),b=h(64080),E=h(86511),v=h(77579),I=h(56451),N=h(39646),A=h(63900),q=h(68675),j=h(5e3);let G=(()=>{class Q{constructor(F,be,pe,ye,T,R,L,X){this.data=F,this.dialogRef=be,this.membersManagerService=pe,this.voService=ye,this.registrarManager=T,this.store=R,this.requestService=L,this.addMemberService=X,this.loading=!1,this.searcher=new v.x,this.members=this.searcher.pipe((0,A.w)(Y=>(0,I.T)((0,N.of)(null),this.voService.getCompleteCandidatesForVo(this.data.voId,this.attrNames,Y))),(0,q.O)(void 0)),this.failed=[],this.selection=new w.Ov(!0,[]),this.attrNames=[b.r.USER_DEF_ORGANIZATION,b.r.USER_DEF_PREFERRED_MAIL],this.languages=this.store.get("supported_languages"),this.addMemberService.setDialogRef(this.dialogRef),this.addMemberService.setType("vo")}add(){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_ADD"));this.requestService.dontHandleErrorForNext();const F=this.selection.selected.pop();F.richUser?this.addUser(F):this.addCandidate(F)}invite(F){if(this.loading=!0,0===this.selection.selected.length)return void(0!==this.failed.length?this.loading=!1:this.addMemberService.success("DIALOGS.ADD_MEMBERS.SUCCESS_INVITE"));this.requestService.dontHandleErrorForNext();const be=this.selection.selected.pop();be.richUser?this.inviteUser(be,F):this.inviteCandidate(be,F)}cancel(F){this.dialogRef.close(F)}addCandidate(F){this.membersManagerService.createMemberForCandidate({vo:this.data.voId,candidate:this.addMemberService.createCandidate(F.candidate)}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}addUser(F){this.membersManagerService.createMemberForUser({vo:this.data.voId,user:F.richUser.id}).subscribe(be=>{this.membersManagerService.validateMemberAsync(be.id).subscribe(),this.add()},be=>{this.failed.push(this.addMemberService.getCandidateWithError(F,be)),this.add()})}inviteCandidate(F,be){this.registrarManager.sendInvitation((0,_.Jc)(F.candidate),be,this.data.voId).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}inviteUser(F,be){this.registrarManager.sendInvitationToExistingUser(F.richUser.id,this.data.voId).subscribe(()=>{this.invite(be)},pe=>{this.failed.push(this.addMemberService.getCandidateWithError(F,pe)),this.invite(be)})}}return Q.\u0275fac=function(F){return new(F||Q)(j.Y36(e.WI),j.Y36(e.so),j.Y36(c.uq),j.Y36(c.YF),j.Y36(c.tk),j.Y36(g.d6),j.Y36(g.F5),j.Y36(E.A))},Q.\u0275cmp=j.Xpm({type:Q,selectors:[["app-vo-add-member-dialog"]],decls:2,vars:8,consts:[[3,"loading","languages","failed","members","selection","theme","add","cancel","invite","search"]],template:function(F,be){1&F&&(j.TgZ(0,"app-add-member-dialog",0),j.NdJ("add",function(){return be.add()})("cancel",function(ye){return be.cancel(ye)})("invite",function(ye){return be.invite(ye)})("search",function(ye){return be.searcher.next(ye)}),j.ALo(1,"async"),j.qZA()),2&F&&j.Q6J("loading",be.loading)("languages",be.languages)("failed",be.failed)("members",j.lcZ(1,6,be.members))("selection",be.selection)("theme","vo-theme")},styles:[""]}),Q})()},55857:(qe,me,h)=>{"use strict";h.d(me,{W:()=>be});var e=h(32105),c=h(10036),g=h(32080),w=h(93075),_=h(69808),b=h(5e3),E=h(96214),v=h(47423),I=h(67322),N=h(74107),A=h(90508),q=h(64901),j=h(39798),G=h(9146),Q=h(51062);function he(pe,ye){if(1&pe){const T=b.EpF();b.TgZ(0,"button",14),b.NdJ("click",function(){return b.CHM(T),b.oxw().showAllDetails=!0}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function F(pe,ye){if(1&pe){const T=b.EpF();b.TgZ(0,"button",14),b.NdJ("click",function(){return b.CHM(T),b.oxw().showAllDetails=!1}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&pe&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let be=(()=>{class pe{constructor(T,R,L){this.registrarManager=T,this.guiAuthResolver=R,this.entityStorageService=L,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=c.Af,this.tableId=c.gB,this.refresh=!1}ngOnInit(){this.group=this.entityStorageService.getEntity(),this.startDate=new w.NI((0,_.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new w.NI((0,_.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 T=new Date;return T.setDate(T.getDate()-365),T}applyFilter(T){this.filterValue=T}}return pe.id="GroupApplicationsComponent",pe.\u0275fac=function(T){return new(T||pe)(b.Y36(e.tk),b.Y36(g.x4),b.Y36(g.fb))},pe.\u0275cmp=b.Xpm({type:pe,selectors:[["app-group-applications"]],hostVars:2,hostBindings:function(T,R){2&T&&b.ekj("router-component",R.true)},decls:34,vars:38,consts:[[1,"page-subtitle"],[3,"refresh"],["class","mr-2","mat-stroked-button","",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,"endDate","startDate","datePicker"],[3,"tableId","searchString","displayedColumns","states","dateFrom","dateTo","refreshTable","group"],["mat-stroked-button","",1,"mr-2",3,"click"]],template:function(T,R){1&T&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return R.refresh=!R.refresh}),b.qZA(),b.YNc(5,he,3,3,"button",2),b.YNc(6,F,3,3,"button",2),b.TgZ(7,"mat-form-field",3),b.TgZ(8,"mat-label"),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"mat-select",4),b.NdJ("selectionChange",function(){return R.select()})("valueChange",function(X){return R.state=X}),b.TgZ(12,"mat-option",5),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.TgZ(15,"mat-option",6),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"mat-option",7),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-option",8),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.TgZ(24,"mat-option",9),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"mat-option",10),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"perun-web-apps-debounce-filter",11),b.NdJ("filter",function(X){return R.applyFilter(X)}),b.qZA(),b.TgZ(31,"perun-web-apps-date-range",12),b.NdJ("datePicker",function(){return R.select()}),b.qZA(),b.qZA(),b.TgZ(32,"div"),b._UZ(33,"app-applications-dynamic-list",13),b.qZA()),2&T&&(b.xp6(1),b.Oqu(b.lcZ(2,22,"VO_DETAIL.APPLICATION.TITLE")),b.xp6(4),b.Q6J("ngIf",!R.showAllDetails),b.xp6(1),b.Q6J("ngIf",R.showAllDetails),b.xp6(3),b.Oqu(b.lcZ(10,24,"APPLICATIONS_LIST.STATE")),b.xp6(2),b.Q6J("value",R.state),b.xp6(2),b.Oqu(b.lcZ(14,26,"VO_DETAIL.APPLICATION.SELECTION_ALL")),b.xp6(3),b.Oqu(b.lcZ(17,28,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),b.xp6(3),b.Oqu(b.lcZ(20,30,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),b.xp6(3),b.Oqu(b.lcZ(23,32,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),b.xp6(3),b.Oqu(b.lcZ(26,34,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),b.xp6(3),b.Oqu(b.lcZ(29,36,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),b.xp6(2),b.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),b.xp6(1),b.Q6J("endDate",R.endDate)("startDate",R.startDate),b.xp6(2),b.Q6J("tableId",R.showAllDetails?R.detailTableId:R.tableId)("searchString",R.filterValue)("displayedColumns",R.showAllDetails?R.detailedDisplayedColumns:R.displayedColumns)("states",R.currentStates)("dateFrom",R.startDate.value)("dateTo",R.endDate.value)("refreshTable",R.refresh)("group",R.group))},directives:[E.t,_.O5,v.lW,I.KE,I.hX,N.gD,A.ey,q.P,j.S,G.S],pipes:[Q.X$],styles:[""]}),pe})()},75234:(qe,me,h)=>{"use strict";h.d(me,{y:()=>P});var e=h(20449),c=h(32080),g=h(64080),w=h(53455),_=h(32105),b=h(10036),E=h(9244),v=h(74414),I=h(93075),N=h(45256),A=h(5e3),q=h(48966),j=h(69808),G=h(98380),Q=h(96214),he=h(29772),F=h(47423),be=h(67322),pe=h(74107),ye=h(90508),T=h(64901),R=h(20773),L=h(1903),X=h(51062);let Y=(()=>{class de{transform(Pe,ce){return!!("members"===Pe.name||(0,E.bx)(Pe)||"add"===ce&&(0,E.jh)(Pe.attributes,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING))}}return de.\u0275fac=function(Pe){return new(Pe||de)},de.\u0275pipe=A.Yjl({name:"groupMembersActionButtonDisabled",type:de,pure:!0}),de})(),se=(()=>{class de{transform(Pe,ce){return"members"===Pe.name?"GROUP_DETAIL.MEMBERS.BUTTON_DISABLED_MEMBERS_GROUP":(0,E.bx)(Pe)?"GROUP_DETAIL.MEMBERS.SYNCHRONIZED":"add"===ce&&(0,E.jh)(Pe.attributes,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING)?"GROUP_DETAIL.MEMBERS.ADD_MEMBER_DISABLED":""}}return de.\u0275fac=function(Pe){return new(Pe||de)},de.\u0275pipe=A.Yjl({name:"groupMembersActionButtonDisabledTooltip",type:de,pure:!0}),de})();var Te=h(20551);function Oe(de,Ce){1&de&&(A.TgZ(0,"perun-web-apps-alert",14),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&de&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"GROUP_DETAIL.MEMBERS.ACTIONS_DISABLED"),"\n"))}function Se(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onAddMember()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",A.xi3(1,2,Pe.group,"add")),A.xp6(2),A.hij(" ",A.lcZ(3,5,"GROUP_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function We(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",16),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onInviteMember()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",A.lcZ(1,2,Pe.group)),A.xp6(2),A.hij(" ",A.lcZ(3,4,"GROUP_DETAIL.MEMBERS.INVITE_MEMBER")," ")}}function ge(de,Ce){if(1&de){const Pe=A.EpF();A.TgZ(0,"button",17),A.NdJ("click",function(){return A.CHM(Pe),A.oxw().onRemoveMembers()}),A.ALo(1,"groupMembersActionButtonDisabled"),A._uU(2),A.ALo(3,"translate"),A.qZA()}if(2&de){const Pe=A.oxw();A.Q6J("disabled",Pe.selection.isEmpty()||A.lcZ(1,2,Pe.group)),A.xp6(2),A.hij(" ",A.lcZ(3,4,"GROUP_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Le(de,Ce){if(1&de&&(A.TgZ(0,"mat-option",18),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&de){const Pe=Ce.$implicit;A.Q6J("value",Pe),A.xp6(1),A.Oqu(A.lcZ(2,2,Pe))}}function ue(de,Ce){if(1&de&&(A.TgZ(0,"mat-option",18),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&de){const Pe=Ce.$implicit;A.Q6J("value",Pe),A.xp6(1),A.Oqu(A.lcZ(2,2,Pe))}}function Me(de,Ce){1&de&&A._UZ(0,"mat-spinner",19)}function z(de,Ce){if(1&de&&A._UZ(0,"perun-web-apps-members-dynamic-list",20),2&de){const Pe=A.oxw();A.Q6J("attrNames",Pe.memberAttrNames)("groupId",Pe.group.id)("tableId",Pe.tableId)("displayedColumns",Pe.displayedColumns)("searchString",Pe.searchString)("updateTable",Pe.updateTable)("selectedGroupStatuses",Pe.selectedGroupStatuses)("selectedStatuses",Pe.selectedStatuses)("selection",Pe.selection)("voId",Pe.group.voId)}}let P=(()=>{class de{constructor(Pe,ce,fe,Ze,ne,it,Be,ze){this.groupService=Pe,this.dialog=ce,this.guiAuthResolver=fe,this.storeService=Ze,this.attributesManager=ne,this.apiRequest=it,this.notificator=Be,this.entityStorageService=ze,this.synchEnabled=!1,this.updateTable=!1,this.loading=!1,this.tableId=b.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.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.statuses=new I.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=["VALID","INVALID"],this.groupStatuses=new I.NI,this.groupStatusList=["VALID","EXPIRED"],this.selectedGroupStatuses=["VALID"],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,g.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}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).then(()=>this.loadPage(this.group.id))}loadPage(Pe){this.groupService.getRichGroupByIdWithAttributesByNames(Pe,this.groupAttrNames).subscribe(ce=>{this.group=ce,this.synchEnabled=(0,E.bx)(this.group),this.loading=!1})}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(Pe){this.searchString=Pe,this.selection.clear()}onAddMember(){const Pe=(0,E.kZ)();Pe.width="1000px",Pe.data={group:this.group,manualAddingBlocked:this.blockManualMemberAdding},this.dialog.open(N.k,Pe).afterClosed().subscribe(fe=>{fe&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onRemoveMembers(){const Pe=(0,E.kZ)();Pe.width="450px",Pe.data={groupId:this.group.id,members:this.selection.selected,theme:"group-theme"},this.dialog.open(w.X,Pe).afterClosed().subscribe(fe=>{fe&&(this.selection.clear(),this.updateTable=!this.updateTable)})}onInviteMember(){const Pe=(0,E.kZ)();Pe.width="650px",Pe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(v.R,Pe)}displaySelectedStatuses(){if(this.selectedStatuses.length===this.statusList.length)return"ALL";const Pe=this.statuses.value;return Pe?`${Pe[0]} ${Pe.length>1?"(+"+(Pe.length-1).toString()+" "+(2===Pe.length?"other)":"others)"):""}`:""}displaySelectedGroupStatuses(){return this.selectedGroupStatuses.length===this.groupStatusList.length?"ALL":`${this.groupStatuses.value[0]}`}isManualAddingBlocked(Pe){return new Promise(ce=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Pe,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(fe=>{this.blockManualMemberAdding=null!==fe.value,ce()},fe=>{const Ze=fe.error;"PrivilegeException"!==Ze.name&&this.notificator.showError(Ze.name),ce()})})}changeVoStatuses(){this.selection.clear(),this.selectedStatuses=this.statuses.value}changeGroupStatuses(){this.selection.clear(),this.selectedGroupStatuses=this.groupStatuses.value}refreshTable(){this.selection.clear(),this.updateTable=!this.updateTable}}return de.id="GroupMembersComponent",de.\u0275fac=function(Pe){return new(Pe||de)(A.Y36(_.ff),A.Y36(q.uw),A.Y36(c.x4),A.Y36(c.d6),A.Y36(_.H8),A.Y36(c.F5),A.Y36(c.V6),A.Y36(c.fb))},de.\u0275cmp=A.Xpm({type:de,selectors:[["app-group-members"]],hostVars:2,hostBindings:function(Pe,ce){2&Pe&&A.ekj("router-component",ce.true)},decls:42,vars:55,consts:[[1,"page-subtitle"],["alert_type","warn",4,"ngIf"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltipPosition","matTooltip"],["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,"attrNames","groupId","tableId","displayedColumns","searchString","updateTable","selectedGroupStatuses","selectedStatuses","selection","voId",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,"attrNames","groupId","tableId","displayedColumns","searchString","updateTable","selectedGroupStatuses","selectedStatuses","selection","voId"]],template:function(Pe,ce){1&Pe&&(A.TgZ(0,"h1",0),A._uU(1),A.ALo(2,"translate"),A.qZA(),A.YNc(3,Oe,3,3,"perun-web-apps-alert",1),A.TgZ(4,"div",2),A.TgZ(5,"perun-web-apps-refresh-button",3),A.NdJ("click",function(){return ce.refreshTable()}),A.qZA(),A.TgZ(6,"span",4),A.ALo(7,"groupMembersActionButtonDisabled"),A.ALo(8,"translate"),A.ALo(9,"groupMembersActionButtonDisabledTooltip"),A.YNc(10,Se,4,7,"button",5),A.qZA(),A.TgZ(11,"span",4),A.ALo(12,"groupMembersActionButtonDisabled"),A.ALo(13,"translate"),A.ALo(14,"groupMembersActionButtonDisabledTooltip"),A.YNc(15,We,4,6,"button",6),A.qZA(),A.TgZ(16,"span",4),A.ALo(17,"groupMembersActionButtonDisabled"),A.ALo(18,"translate"),A.ALo(19,"groupMembersActionButtonDisabledTooltip"),A.YNc(20,ge,4,6,"button",7),A.qZA(),A.TgZ(21,"mat-form-field",8),A.TgZ(22,"mat-label"),A._uU(23),A.ALo(24,"translate"),A.qZA(),A.TgZ(25,"mat-select",9),A.NdJ("closed",function(){return ce.changeVoStatuses()}),A.TgZ(26,"mat-select-trigger"),A._uU(27),A.ALo(28,"memberStatus"),A.qZA(),A.YNc(29,Le,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(30,"mat-form-field",8),A.TgZ(31,"mat-label"),A._uU(32),A.ALo(33,"translate"),A.qZA(),A.TgZ(34,"mat-select",9),A.NdJ("closed",function(){return ce.changeGroupStatuses()}),A.TgZ(35,"mat-select-trigger"),A._uU(36),A.ALo(37,"memberStatus"),A.qZA(),A.YNc(38,ue,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(39,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(Ze){return ce.onSearchByString(Ze)}),A.qZA(),A.qZA(),A.YNc(40,Me,1,0,"mat-spinner",12),A.YNc(41,z,1,10,"perun-web-apps-members-dynamic-list",13)),2&Pe&&(A.xp6(1),A.Oqu(A.lcZ(2,25,"GROUP_DETAIL.MEMBERS.TITLE")),A.xp6(2),A.Q6J("ngIf",ce.synchEnabled),A.xp6(3),A.s9C("matTooltip",A.lcZ(8,30,A.xi3(9,32,ce.group,"add"))),A.Q6J("matTooltipDisabled",!A.xi3(7,27,ce.group,"add"))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.addAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(13,37,A.lcZ(14,39,ce.group))),A.Q6J("matTooltipDisabled",!A.lcZ(12,35,ce.group))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.inviteAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(18,43,A.lcZ(19,45,ce.group))),A.Q6J("matTooltipDisabled",!A.lcZ(17,41,ce.group))("matTooltipPosition","above"),A.xp6(4),A.Q6J("ngIf",ce.removeAuth),A.xp6(3),A.Oqu(A.lcZ(24,47,"GROUP_DETAIL.MEMBERS.FILTER_STATUS")),A.xp6(2),A.Q6J("formControl",ce.statuses),A.xp6(2),A.hij(" ",A.lcZ(28,49,ce.displaySelectedStatuses())," "),A.xp6(2),A.Q6J("ngForOf",ce.statusList),A.xp6(3),A.Oqu(A.lcZ(33,51,"GROUP_DETAIL.MEMBERS.FILTER_GROUP_STATUS")),A.xp6(2),A.Q6J("formControl",ce.groupStatuses),A.xp6(2),A.hij(" ",A.lcZ(37,53,ce.displaySelectedGroupStatuses())," "),A.xp6(2),A.Q6J("ngForOf",ce.groupStatusList),A.xp6(1),A.Q6J("placeholder","GROUP_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),A.xp6(1),A.Q6J("ngIf",ce.loading),A.xp6(1),A.Q6J("ngIf",!ce.loading))},directives:[j.O5,G.w,Q.t,he.gM,F.lW,be.KE,be.hX,pe.gD,I.JJ,I.oH,pe.$L,j.sg,ye.ey,T.P,R.Ou,L.m],pipes:[X.X$,Y,se,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}"]}),de})()},37240:(qe,me,h)=>{"use strict";h.d(me,{q:()=>Ue});var e=h(20449),c=h(32105),g=h(10036),w=h(48966),_=h(32080),E=(h(33604),h(5e3)),v=h(51062),I=h(69808),N=h(20773),A=h(92081),q=h(64901),j=h(62109),G=h(32368),Q=h(93075),he=h(47423),F=h(29772);const be=["list"],pe=["stepper"];function ye(_e,ae){1&_e&&E._UZ(0,"mat-spinner",4)}function T(_e,ae){1&_e&&(E._uU(0),E.ALo(1,"translate")),2&_e&&E.Oqu(E.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.RESOURCES"))}function R(_e,ae){1&_e&&(E._uU(0),E.ALo(1,"translate")),2&_e&&E.Oqu(E.lcZ(1,1,"DIALOGS.ADD_GROUP_RESOURCES.OPTIONS"))}const L=function(){return["select","id","name","facility","tags","description"]};function X(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",5),E.TgZ(1,"mat-stepper",6,7),E.TgZ(3,"mat-step",8),E.YNc(4,T,2,3,"ng-template",9),E.TgZ(5,"perun-web-apps-debounce-filter",10),E.NdJ("filter",function(Ne){return E.CHM(Ae),E.oxw().applyFilter(Ne)}),E.ALo(6,"translate"),E.qZA(),E._UZ(7,"perun-web-apps-resources-list",11,12),E.qZA(),E.TgZ(9,"mat-step"),E.YNc(10,R,2,3,"ng-template",9),E.TgZ(11,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeSubgroupsMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().autoAssignSubgroups=Ne}),E._uU(12),E.ALo(13,"translate"),E.qZA(),E.TgZ(14,"div",14),E._UZ(15,"i",15),E.qZA(),E.TgZ(16,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeInactiveMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().asActive=Ne}),E._uU(17),E.ALo(18,"translate"),E.qZA(),E.TgZ(19,"div",14),E._uU(20),E.qZA(),E.TgZ(21,"mat-slide-toggle",13),E.NdJ("toggleChange",function(){return E.CHM(Ae),E.oxw().changeAsyncMessage()})("ngModelChange",function(Ne){return E.CHM(Ae),E.oxw().async=Ne}),E._uU(22),E.ALo(23,"translate"),E.qZA(),E.TgZ(24,"div",14),E._uU(25),E.qZA(),E.qZA(),E.qZA(),E.qZA()}if(2&_e){const Ae=E.MAs(8),ee=E.oxw();E.xp6(1),E.Q6J("linear",!0),E.xp6(2),E.Q6J("completed",0!==ee.selection.selected.length&&void 0!==Ae&&Ae.addAuth),E.xp6(2),E.s9C("placeholder",E.lcZ(6,19,"DIALOGS.ADD_GROUP_RESOURCES.FILTER")),E.xp6(2),E.Q6J("filterValue",ee.filterValue)("groupToResource",ee.data.group)("disableRouting",!0)("resources",ee.resources)("selection",ee.selection)("displayedColumns",E.DdM(27,L))("tableId",ee.tableId),E.xp6(4),E.Q6J("ngModel",ee.autoAssignSubgroups),E.xp6(1),E.hij(" ",E.lcZ(13,21,"DIALOGS.ADD_GROUP_RESOURCES.AUTO_SUBGROUPS")," "),E.xp6(3),E.Q6J("innerHTML",ee.autoAssignHint,E.oJD),E.xp6(1),E.Q6J("ngModel",ee.asActive),E.xp6(1),E.hij(" ",E.lcZ(18,23,"DIALOGS.ADD_GROUP_RESOURCES.AS_ACTIVE")," "),E.xp6(3),E.hij(" ",ee.asActiveHint," "),E.xp6(1),E.Q6J("ngModel",ee.async),E.xp6(1),E.hij(" ",E.lcZ(23,25,"DIALOGS.ADD_GROUP_RESOURCES.ASYNC_OPT")," "),E.xp6(3),E.hij(" ",ee.asyncHint," ")}}function Y(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",22),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).stepperPrevious()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&_e&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"DIALOGS.ADD_GROUP_RESOURCES.BACK")," "))}function se(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",23),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).stepperNext()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&_e){const Ae=E.oxw(2);E.ekj("ml-2",void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex)("ml-auto",!(void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex)),E.Q6J("disabled",0===Ae.selection.selected.length||void 0!==Ae.list&&!Ae.list.addAuth),E.xp6(1),E.hij(" ",E.lcZ(2,6,"DIALOGS.ADD_GROUP_RESOURCES.NEXT")," ")}}function Te(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",24),E.NdJ("click",function(){return E.CHM(Ae),E.oxw(2).onSubmit()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&_e){const Ae=E.oxw(2);E.Q6J("disabled",0===Ae.selection.selected.length||Ae.loading),E.xp6(1),E.hij(" ",E.lcZ(2,2,"DIALOGS.ADD_GROUP_RESOURCES.ADD")," ")}}function Oe(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",16),E.TgZ(1,"button",17),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,Y,3,3,"button",18),E.YNc(5,se,3,8,"button",19),E.TgZ(6,"span",20),E.ALo(7,"translate"),E.YNc(8,Te,3,4,"button",21),E.qZA(),E.qZA()}if(2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,6,"DIALOGS.ADD_GROUP_RESOURCES.CANCEL")," "),E.xp6(2),E.Q6J("ngIf",void 0!==Ae.stepper&&0!==Ae.stepper.selectedIndex),E.xp6(1),E.Q6J("ngIf",void 0!==Ae.stepper&&Ae.stepper.selectedIndex!==Ae.stepper._steps.length-1),E.xp6(1),E.s9C("matTooltip",E.lcZ(7,8,"DIALOGS.ADD_GROUP_RESOURCES.ADD_PERMISSION_TOOLTIP")),E.Q6J("matTooltipDisabled",void 0===Ae.list||Ae.list.addAuth),E.xp6(2),E.Q6J("ngIf",void 0!==Ae.stepper&&Ae.stepper.selectedIndex===Ae.stepper._steps.length-1)}}let Se=(()=>{class _e{constructor(Ae,ee,Ne,V,H,D,O){this.dialogRef=Ae,this.data=ee,this.notificator=Ne,this.translate=V,this.resourcesManager=H,this.guiAuthResolver=D,this.cd=O,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(Ae=>{this.resourcesManager.getAssignedResourcesWithGroup(this.data.group.id).subscribe(ee=>{for(const Ne of Ae)-1===ee.findIndex(V=>V.id===Ne.id)&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",[this.data.group,Ne])&&this.resources.push(Ne);this.loading=!1,this.cd.detectChanges()},()=>this.loading=!1)},()=>this.loading=!1)}applyFilter(Ae){this.filterValue=Ae}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const Ae=this.selection.selected.map(ee=>ee.id);this.resourcesManager.assignGroupToResources(this.data.group.id,Ae,this.async,!this.asActive,this.autoAssignSubgroups).subscribe(()=>{this.translate.get("DIALOGS.ADD_GROUP_RESOURCES.SUCCESS").subscribe(ee=>{this.notificator.showSuccess(ee),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 _e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(w.so),E.Y36(w.WI),E.Y36(_.V6),E.Y36(v.sK),E.Y36(c.xk),E.Y36(_.x4),E.Y36(E.sBO))},_e.\u0275cmp=E.Xpm({type:_e,selectors:[["app-add-group-resource-dialog"]],viewQuery:function(Ae,ee){if(1&Ae&&(E.Gf(be,5),E.Gf(pe,5)),2&Ae){let Ne;E.iGM(Ne=E.CRH())&&(ee.list=Ne.first),E.iGM(Ne=E.CRH())&&(ee.stepper=Ne.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,"filterValue","groupToResource","disableRouting","resources","selection","displayedColumns","tableId"],["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"],["class","ml-2","color","accent","mat-flat-button","",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"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,ye,1,0,"mat-spinner",1),E.YNc(5,X,26,28,"div",2),E.YNc(6,Oe,9,10,"div",3),E.qZA()),2&Ae&&(E.Tol(ee.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.ADD_GROUP_RESOURCES.TITLE")),E.xp6(2),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading&&void 0!==ee.stepper))},directives:[w.uh,I.O5,N.Ou,w.xY,A.Vq,A.C0,A.VY,q.P,j.C,G.Rr,Q.JJ,Q.On,w.H8,he.lW,F.gM],pipes:[v.X$],styles:[""]}),_e})();var We=h(32075);function ge(_e,ae){1&_e&&E._UZ(0,"mat-spinner",4)}function Le(_e,ae){1&_e&&E._UZ(0,"th",13)}function ue(_e,ae){if(1&_e&&(E.TgZ(0,"td",14),E._uU(1),E.qZA()),2&_e){const Ae=ae.$implicit;E.xp6(1),E.Oqu(Ae.name)}}function Me(_e,ae){1&_e&&E._UZ(0,"tr",15)}function z(_e,ae){1&_e&&E._UZ(0,"tr",16)}function P(_e,ae){if(1&_e&&(E.TgZ(0,"div",5),E.TgZ(1,"p"),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"div",6),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.TgZ(7,"table",7),E.ynx(8,8),E.YNc(9,Le,1,0,"th",9),E.YNc(10,ue,2,1,"td",10),E.BQk(),E.YNc(11,Me,1,0,"tr",11),E.YNc(12,z,1,0,"tr",12),E.qZA(),E.qZA()),2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,5,"DIALOGS.REMOVE_RESOURCES.DESCRIPTION")," "),E.xp6(3),E.hij(" ",E.lcZ(6,7,"DIALOGS.REMOVE_RESOURCES.ASK")," "),E.xp6(2),E.Q6J("dataSource",Ae.dataSource),E.xp6(4),E.Q6J("matHeaderRowDef",Ae.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",Ae.displayedColumns)}}function de(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"div",17),E.TgZ(1,"button",18),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onCancel()}),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"button",19),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().onSubmit()}),E._uU(5),E.ALo(6,"translate"),E.qZA(),E.qZA()}if(2&_e){const Ae=E.oxw();E.xp6(2),E.hij(" ",E.lcZ(3,3,"DIALOGS.REMOVE_RESOURCES.CANCEL")," "),E.xp6(2),E.Q6J("disabled",Ae.loading),E.xp6(1),E.hij(" ",E.lcZ(6,5,"DIALOGS.REMOVE_RESOURCES.DELETE")," ")}}let Ce=(()=>{class _e{constructor(Ae,ee,Ne,V,H){this.dialogRef=Ae,this.data=ee,this.notificator=Ne,this.translate=V,this.resourcesManager=H,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new We.by(this.data.resources)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0;const Ae=this.data.resources.map(ee=>ee.id);this.resourcesManager.removeGroupFromResources(this.data.groupId,Ae).subscribe(()=>{this.translate.get("DIALOGS.REMOVE_RESOURCES.SUCCESS").subscribe(ee=>{this.loading=!1,this.notificator.showSuccess(ee),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return _e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(w.so),E.Y36(w.WI),E.Y36(_.V6),E.Y36(v.sK),E.Y36(c.xk))},_e.\u0275cmp=E.Xpm({type:_e,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"],["class","font-weight-bolder","mat-header-row","",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"],["color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.YNc(4,ge,1,0,"mat-spinner",1),E.YNc(5,P,13,9,"div",2),E.YNc(6,de,7,7,"div",3),E.qZA()),2&Ae&&(E.Tol(ee.data.theme),E.xp6(2),E.Oqu(E.lcZ(3,7,"DIALOGS.REMOVE_RESOURCES.TITLE")),E.xp6(2),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading),E.xp6(1),E.Q6J("ngIf",!ee.loading))},directives:[w.uh,I.O5,N.Ou,w.xY,We.BZ,We.w1,We.fO,We.ge,We.Dz,We.ev,We.as,We.XQ,We.nj,We.Gk,w.H8,he.lW],pipes:[v.X$],styles:[""]}),_e})();var Pe=h(9244),ce=h(96214),fe=h(7434);const Ze=["list"];function ne(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"button",8),E.NdJ("click",function(){return E.CHM(Ae),E.oxw().addResource()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}2&_e&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"GROUP_DETAIL.RESOURCES.ADD")," "))}function it(_e,ae){1&_e&&E._UZ(0,"mat-spinner",9)}const Be=function(){return["select","id","indirectResourceAssigment","name","status","facility","tags","description"]};function ze(_e,ae){if(1&_e){const Ae=E.EpF();E.TgZ(0,"perun-web-apps-resources-list",10,11),E.NdJ("refreshTable",function(){return E.CHM(Ae),E.oxw().refreshTable()}),E.qZA()}if(2&_e){const Ae=E.oxw();E.Q6J("disableRouting",!Ae.routingAuth)("filterValue",Ae.filterValue)("resources",Ae.resources)("routingVo",!0)("displayedColumns",E.DdM(10,Be))("selection",Ae.selected)("groupId",Ae.group.id)("groupToResource",Ae.group)("resourcesToDisableCheckbox",Ae.resourcesToDisable)("tableId",Ae.tableId)}}let Ue=(()=>{class _e{constructor(Ae,ee,Ne,V,H){this.resourcesManager=Ae,this.groupService=ee,this.dialog=Ne,this.guiAuthResolver=V,this.entityStorageService=H,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(Ae=>{this.resources=Ae.map(ee=>{const Ne=ee.enrichedResource.resource;return Ne.facility=ee.facility,Ne.status=ee.status,Ne.resourceTags=ee.resourceTags,Ne.failureCause=ee.failureCause,Ne.sourceGroupId=ee.sourceGroupId,Ne}),this.selected.clear(),this.resourcesToDisable=new Set(this.resources.filter(ee=>null!==ee.sourceGroupId).map(ee=>ee.id)),this.setAuthorization(),this.loading=!1})}applyFilter(Ae){this.filterValue=Ae}addResource(){const Ae=(0,Pe.kZ)();Ae.width="1000px",Ae.data={theme:"group-theme",group:this.group},this.dialog.open(Se,Ae).afterClosed().subscribe(Ne=>{Ne&&this.refreshTable()})}removeResource(){const Ae=(0,Pe.kZ)();Ae.width="450px",Ae.data={theme:"group-theme",resources:this.selected.selected,groupId:this.group.id},this.dialog.open(Ce,Ae).afterClosed().subscribe(Ne=>{Ne&&(this.selected.clear(),this.refreshTable())})}}return _e.id="GroupResourcesComponent",_e.\u0275fac=function(Ae){return new(Ae||_e)(E.Y36(c.xk),E.Y36(c.ff),E.Y36(w.uw),E.Y36(_.x4),E.Y36(_.fb))},_e.\u0275cmp=E.Xpm({type:_e,selectors:[["app-group-resources"]],viewQuery:function(Ae,ee){if(1&Ae&&E.Gf(Ze,5),2&Ae){let Ne;E.iGM(Ne=E.CRH())&&(ee.list=Ne.first)}},hostVars:2,hostBindings:function(Ae,ee){2&Ae&&E.ekj("router-component",ee.true)},decls:14,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","groupId","groupToResource","resourcesToDisableCheckbox","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","groupId","groupToResource","resourcesToDisableCheckbox","tableId","refreshTable"],["list",""]],template:function(Ae,ee){1&Ae&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"perun-web-apps-refresh-button",1),E.NdJ("refresh",function(){return ee.refreshTable()}),E.qZA(),E.YNc(5,ne,3,3,"button",2),E.TgZ(6,"span",3),E.ALo(7,"translate"),E.TgZ(8,"button",4),E.NdJ("click",function(){return ee.removeResource()}),E._uU(9),E.ALo(10,"translate"),E.qZA(),E.qZA(),E.TgZ(11,"perun-web-apps-immediate-filter",5),E.NdJ("filter",function(V){return ee.applyFilter(V)}),E.qZA(),E.YNc(12,it,1,0,"mat-spinner",6),E.YNc(13,ze,2,11,"perun-web-apps-resources-list",7),E.qZA()),2&Ae&&(E.xp6(2),E.Oqu(E.lcZ(3,9,"GROUP_DETAIL.RESOURCES.TITLE")),E.xp6(3),E.Q6J("ngIf",ee.addAuth),E.xp6(1),E.s9C("matTooltip",E.lcZ(7,11,"GROUP_DETAIL.RESOURCES.DELETE_PERMISSION_HINT")),E.Q6J("matTooltipDisabled",0===ee.selected.selected.length||void 0!==ee.list&&ee.list.removeAuth),E.xp6(2),E.Q6J("disabled",0===ee.selected.selected.length||void 0!==ee.list&&!ee.list.removeAuth),E.xp6(1),E.hij(" ",E.lcZ(10,13,"GROUP_DETAIL.RESOURCES.DELETE")," "),E.xp6(2),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",ee.loading),E.xp6(1),E.Q6J("ngIf",ee.resources&&!ee.loading))},directives:[ce.t,I.O5,he.lW,F.gM,fe.L,N.Ou,j.C],pipes:[v.X$],styles:[""]}),_e})()},61639:(qe,me,h)=>{"use strict";h.d(me,{C:()=>_});var e=h(32105),c=h(32080),g=h(5e3),w=h(34775);let _=(()=>{class b{constructor(v,I){this.authzResolverService=v,this.entityStorageService=I,this.roleNames=[],this.roles=new Map,this.roleFilter=["SELF","GROUPADMIN","VOADMIN","RESOURCEADMIN","FACILITYADMIN","TOPGROUPCREATOR","SPONSOR","RESOURCESELFSERVICE","VOOBSERVER","RESOURCEOBSERVER","GROUPOBSERVER","TRUSTEDFACILITYADMIN","FACILITYOBSERVER","PERUNADMIN","PERUNOBSERVER"]}ngOnInit(){this.outerLoading=!0,this.groupId=this.entityStorageService.getEntity().id,this.authzResolverService.getGroupRoles(this.groupId).subscribe(v=>{this.roleNames=Object.keys(v).map(I=>I.toUpperCase()),this.prepareRoles(v),this.outerLoading=!1})}prepareRoles(v){this.roleNames.forEach(I=>{const N=new Map;Object.keys(v[I]).forEach(q=>{N.set(q,v[I][q])}),this.roles.set(I,N)}),this.roleNames=this.roleNames.filter(I=>!this.roleFilter.includes(I))}}return b.id="GroupRolesComponent",b.\u0275fac=function(v){return new(v||b)(g.Y36(e.Ct),g.Y36(c.fb))},b.\u0275cmp=g.Xpm({type:b,selectors:[["app-group-roles"]],hostVars:2,hostBindings:function(v,I){2&v&&g.ekj("router-component",I.true)},decls:1,vars:6,consts:[[3,"outerLoading","roles","roleNames","entityId","entityType","showDescription"]],template:function(v,I){1&v&&g._UZ(0,"app-perun-web-apps-roles-page",0),2&v&&g.Q6J("outerLoading",I.outerLoading)("roles",I.roles)("roleNames",I.roleNames)("entityId",I.groupId)("entityType","GROUP")("showDescription",!0)},directives:[w._],styles:[""]}),b})()},14336:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>Ce});var e=h(32080),c=h(51076),g=h(83491),w=h(95502),_=h(1186),b=h(32105),E=h(9244),v=h(5e3),I=h(48966),N=h(51062),A=h(36157),q=h(69808),j=h(20773),G=h(25245),Q=h(29772),he=h(32368),F=h(93075),be=h(47423),pe=h(4834),ye=h(96214),T=h(98380),R=h(157);const L=["autoRegToggle"];function X(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",3)}function Y(Pe,ce){if(1&Pe&&(v.TgZ(0,"span"),v._uU(1," , "),v.TgZ(2,"mat-icon",22),v._uU(3,"nat"),v.qZA(),v._uU(4),v.ALo(5,"translate"),v.ALo(6,"translate"),v.qZA()),2&Pe){const fe=v.oxw(3);v.xp6(4),v.hij(" ",fe.applicationForm.automaticApprovalEmbedded?v.lcZ(5,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(6,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," ")}}function se(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"mat-slide-toggle",23,24),v.NdJ("change",function(){return v.CHM(fe),v.oxw(3).updateAutoRegistration()}),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw(3);v.xp6(1),v.Q6J("disabled",!fe.changeAutoRegistration)("ngModel",fe.autoRegistrationEnabled),v.xp6(2),v.hij(" ",v.lcZ(4,3,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ALLOW_EMBEDDED")," ")}}function Te(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",25),v.NdJ("click",function(){return v.CHM(fe),v.oxw(3).settings()}),v.TgZ(1,"i",12),v._uU(2,"edit"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Pe&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function Oe(Pe,ce){if(1&Pe&&(v.TgZ(0,"div",15),v.TgZ(1,"div",16),v.TgZ(2,"div",17),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.TgZ(5,"div"),v.TgZ(6,"span",17),v._uU(7),v.ALo(8,"translate"),v.qZA(),v._uU(9,": "),v.TgZ(10,"mat-icon",18),v._uU(11,"arrow_right_alt"),v.qZA(),v._uU(12),v.ALo(13,"translate"),v.ALo(14,"translate"),v.TgZ(15,"mat-icon",19),v._uU(16,"restore"),v.qZA(),v._uU(17),v.ALo(18,"translate"),v.ALo(19,"translate"),v.YNc(20,Y,7,5,"span",2),v.qZA(),v.YNc(21,se,5,5,"div",2),v.qZA(),v.TgZ(22,"div",20),v.YNc(23,Te,5,3,"button",21),v.qZA(),v.qZA()),2&Pe){const fe=v.oxw(2);v.xp6(1),v.Q6J("ngClass",fe.autoRegistrationEnabled?"w-75":"w-50"),v.xp6(2),v.AsE(" ",v.lcZ(4,9,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",fe.applicationForm.moduleClassName," "),v.xp6(4),v.Oqu(v.lcZ(8,11,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),v.xp6(5),v.hij(" ",fe.applicationForm.automaticApproval?v.lcZ(13,13,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(14,15,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),v.xp6(5),v.hij(" ",fe.applicationForm.automaticApprovalExtension?v.lcZ(18,17,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(19,19,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),v.xp6(3),v.Q6J("ngIf",fe.autoRegistrationEnabled),v.xp6(1),v.Q6J("ngIf",fe.voHasEmbeddedGroupApplication),v.xp6(2),v.Q6J("ngIf",fe.editAuth)}}function Se(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",26),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).add()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function We(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",27),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).save()}),v.TgZ(1,"i",12),v._uU(2,"save"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&Pe){const fe=v.oxw(2);v.Q6J("disabled",!fe.itemsChanged),v.xp6(3),v.hij(" ",v.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function ge(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",28),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).copy()}),v.TgZ(1,"i",12),v._uU(2,"file_copy"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Pe&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.COPY_GROUP_BUTTON")," "))}function Le(Pe,ce){1&Pe&&(v.TgZ(0,"perun-web-apps-alert",29),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}const ue=function(){return["drag","shortname","type","disabled","hidden","preview","managegroups","edit","delete"]},Me=function(){return["shortname","type","disabled","hidden","preview","managegroups"]};function z(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div"),v.YNc(1,Oe,24,21,"div",4),v._UZ(2,"mat-divider",5),v.TgZ(3,"div",6),v.TgZ(4,"perun-web-apps-refresh-button",7),v.NdJ("refresh",function(){return v.CHM(fe),v.oxw().updateFormItems()}),v.qZA(),v.YNc(5,Se,3,3,"button",8),v.YNc(6,We,5,4,"button",9),v.YNc(7,ge,5,3,"button",10),v.TgZ(8,"button",11),v.NdJ("click",function(){return v.CHM(fe),v.oxw().preview()}),v.TgZ(9,"i",12),v._uU(10,"search"),v.qZA(),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.YNc(13,Le,3,3,"perun-web-apps-alert",13),v.TgZ(14,"app-application-form-list",14),v.NdJ("applicationFormItemsChange",function(){return v.CHM(fe),v.oxw().changeItems()}),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw();v.xp6(1),v.Q6J("ngIf",!fe.loading),v.xp6(4),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("ngIf",fe.editAuth),v.xp6(4),v.hij(" ",v.lcZ(12,12,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),v.xp6(2),v.Q6J("ngIf",fe.editAuth),v.xp6(1),v.Q6J("applicationForm",fe.applicationForm)("applicationFormItems",fe.applicationFormItems)("loading",fe.loading)("displayedColumns",fe.editAuth?v.DdM(14,ue):v.DdM(15,Me))("refreshApplicationForm",fe.refreshApplicationForm)("theme","group-theme")}}function P(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",32),v.NdJ("click",function(){return v.CHM(fe),v.oxw(2).createEmptyApplicationForm()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CREATE_APPLICATION_FORM")," "))}function de(Pe,ce){if(1&Pe&&(v.TgZ(0,"div"),v.TgZ(1,"perun-web-apps-alert",30),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,P,3,3,"button",31),v.qZA()),2&Pe){const fe=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,2,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.NO_APPLICATION_FORM")),v.xp6(2),v.Q6J("ngIf",fe.createEmptyForm)}}let Ce=(()=>{class Pe{constructor(fe,Ze,ne,it,Be,ze,Ue,_e,ae){this.registrarManager=fe,this.dialog=Ze,this.notificator=ne,this.translate=it,this.apiRequest=Be,this.router=ze,this.guiAuthResolver=Ue,this.attributesManager=_e,this.entityStorageService=ae,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(fe=>{this.applicationForm=fe,this.registrarManager.getFormItemsForGroup(this.group.id).subscribe(Ze=>{this.applicationFormItems=Ze,this.attributesManager.getGroupAttributeByName(this.group.id,"urn:perun:group:attribute-def:virt:autoRegistrationEnabled").subscribe(ne=>{this.voHasEmbeddedGroupApplication=null!==ne.value,this.autoRegistrationEnabled=!!ne.value,this.loading=!1})},()=>this.loading=!1)},fe=>{const Ze=fe.error;"FormNotExistsException"===Ze.name?(this.noApplicationForm=!0,this.loading=!1):this.notificator.showRPCError(Ze)})}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 fe=(0,E.kZ)();fe.width="500px",fe.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(c.J,fe).afterClosed().subscribe(ne=>{ne&&(this.applicationFormItems=Object.assign([],ne[0]),fe=(0,E.kZ)(),fe.width="600px",fe.height="600px",fe.data={voId:this.group.voId,groupId:this.group.id,applicationFormItem:ne[1],theme:"group-theme",allItems:this.applicationFormItems},this.dialog.open(g._,fe),this.itemsChanged=!0)})}copy(){const fe=(0,E.kZ)();fe.width="500px",fe.data={voId:this.group.voId,groupId:this.group.id,theme:"group-theme"},this.dialog.open(w.W,fe).afterClosed().subscribe(ne=>{ne&&this.updateFormItems()})}settings(){const fe=(0,E.kZ)();fe.width="400px",fe.data={entity:"group",applicationForm:this.applicationForm,theme:"group-theme",autoRegistrationEnabled:this.autoRegistrationEnabled},this.dialog.open(_.E,fe).afterClosed().subscribe(ne=>{ne&&(this.translate.get("GROUP_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(it=>{this.notificator.showSuccess(it)}),this.applicationForm=ne)})}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(fe=>{this.applicationFormItems=fe,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 fe=0;for(const Ze of this.applicationFormItems)Ze.ordnum=fe,Ze.forDelete||fe++;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(Ze=>{this.notificator.showSuccess(Ze)}),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(fe=>{this.notificator.showSuccess(fe)}),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(fe=>{this.notificator.showSuccess(fe)}),this.autoRegToggle.setDisabledState(!1)},()=>this.autoRegToggle.setDisabledState(!1))}}return Pe.id="GroupSettingsApplicationFormComponent",Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(b.tk),v.Y36(I.uw),v.Y36(e.V6),v.Y36(N.sK),v.Y36(e.F5),v.Y36(A.F0),v.Y36(e.x4),v.Y36(b.H8),v.Y36(e.fb))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-group-settings-application-form"]],viewQuery:function(fe,Ze){if(1&fe&&v.Gf(L,5),2&fe){let ne;v.iGM(ne=v.CRH())&&(Ze.autoRegToggle=ne.first)}},hostVars:2,hostBindings:function(fe,Ze){2&fe&&v.ekj("router-component",Ze.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"],["color","accent","class","mr-2 action-button","data-cy","add-form-item","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","class","mr-2","data-cy","save-application-form","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"applicationForm","applicationFormItems","loading","displayedColumns","refreshApplicationForm","theme","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"],["class","ml-auto action-button","mat-stroked-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"],["color","accent","data-cy","add-form-item","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","accent","data-cy","save-application-form","mat-flat-button","",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"],["alert_type","warn"],["data-cy","create-empty-form","mat-stroked-button","",3,"click",4,"ngIf"],["data-cy","create-empty-form","mat-stroked-button","",3,"click"]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.YNc(3,X,1,0,"mat-spinner",1),v.YNc(4,z,15,16,"div",2),v.YNc(5,de,5,4,"div",2)),2&fe&&(v.xp6(1),v.hij(" ",v.lcZ(2,4,"GROUP_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.noApplicationForm),v.xp6(1),v.Q6J("ngIf",!Ze.loading&&Ze.noApplicationForm))},directives:[q.O5,j.Ou,q.mk,G.Hw,Q.gM,he.Rr,F.JJ,F.On,be.lW,pe.d,ye.t,T.w,R.b],pipes:[N.X$],styles:[""]}),Pe})()},15592:(qe,me,h)=>{"use strict";h.d(me,{u:()=>z});var e=h(81889),c=h(20449),g=h(41656),w=h(9244),_=h(32105),b=h(64080),E=h(10036),v=h(87842),I=h(32080),A=(h(33604),h(5e3)),q=h(48966),j=h(96214),G=h(69808),Q=h(47423),he=h(29772),F=h(64901),be=h(32368),pe=h(93075),ye=h(20773),T=h(58956),R=h(24179),L=h(51062);const X=["tree"],Y=["list"],se=["toggle"];function Te(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",10),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().onCreateGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"GROUP_DETAIL.SUBGROUPS.CREATE_GROUP")," "))}function Oe(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().deleteGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&P){const Ce=A.oxw();A.Q6J("disabled",0===Ce.selected.selected.length||void 0!==Ce.tree&&!Ce.tree.removeAuth||void 0!==Ce.list&&!Ce.list.removeAuth),A.xp6(1),A.hij(" ",A.lcZ(2,2,"GROUP_DETAIL.SUBGROUPS.DELETE_GROUP")," ")}}function Se(P,de){1&P&&A._UZ(0,"mat-spinner",12)}function We(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-tree",16,17),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).refreshTable()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("disableRouting",!Ce.routeAuth)("expandAll",Ce.filtering)("groups",Ce.groups)("hideCheckbox",!Ce.deleteAuth)("filterValue",Ce.filterValue)("selection",Ce.selected)}}const ge=function(){return["select","id","name","description","menu"]},Le=function(){return["id","name","description","menu"]};function ue(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-list",18,19),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).refreshTable()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("authType","group-subgroups")("disableMembers",!0)("disableRouting",!Ce.routeAuth)("displayedColumns",Ce.deleteAuth?A.DdM(8,ge):A.DdM(9,Le))("groups",Ce.groups)("selection",Ce.selected)("filter",Ce.filterValue)("tableId",Ce.tableId)}}function Me(P,de){if(1&P&&(A.TgZ(0,"div",13),A.YNc(1,We,2,6,"perun-web-apps-groups-tree",14),A.YNc(2,ue,2,10,"perun-web-apps-groups-list",15),A.qZA()),2&P){const Ce=A.oxw();A.xp6(1),A.Q6J("ngIf",!Ce.showGroupList),A.xp6(1),A.Q6J("ngIf",Ce.showGroupList)}}let z=(()=>{class P{constructor(Ce,Pe,ce,fe){this.dialog=Ce,this.groupService=Pe,this.guiAuthResolver=ce,this.entityStorageService=fe,this.groups=[],this.selected=new c.Ov(!0,[]),this.showGroupList=!1,this.filtering=!1,this.tableId=E.bf,this.filterValue=""}onCreateGroup(){const Ce=(0,w.kZ)();Ce.width="450px",Ce.data={parentGroup:this.group,theme:"group-theme"},this.dialog.open(e.y,Ce).afterClosed().subscribe(ce=>{ce&&(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 Ce=(0,w.kZ)();Ce.width="450px",Ce.data={voId:this.group.id,groups:this.selected.selected,theme:"group-theme"},this.dialog.open(g.P,Ce).afterClosed().subscribe(ce=>{ce&&this.refreshTable()})}refreshTable(){this.loading=!0,this.groupService.getAllRichSubGroupsWithGroupAttributesByNames(this.group.id,[b.r.GROUP_DEF_MAIL_FOOTER,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(Ce=>{this.groups=Ce,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ce){this.filterValue=Ce,this.filtering=""!==Ce}onMoveGroup(Ce){const Pe=(0,w.kZ)();Pe.width="550px",Pe.data={group:Ce,theme:"group-theme"},this.dialog.open(v.c,Pe).afterClosed().subscribe(fe=>{fe&&this.refreshTable()})}}return P.id="GroupSubgroupsComponent",P.\u0275fac=function(Ce){return new(Ce||P)(A.Y36(q.uw),A.Y36(_.ff),A.Y36(I.x4),A.Y36(I.fb))},P.\u0275cmp=A.Xpm({type:P,selectors:[["app-group-subgroups"]],viewQuery:function(Ce,Pe){if(1&Ce&&(A.Gf(X,5),A.Gf(Y,5),A.Gf(se,7)),2&Ce){let ce;A.iGM(ce=A.CRH())&&(Pe.tree=ce.first),A.iGM(ce=A.CRH())&&(Pe.list=ce.first),A.iGM(ce=A.CRH())&&(Pe.toggle=ce.first)}},hostVars:2,hostBindings:function(Ce,Pe){2&Ce&&A.ekj("router-component",Pe.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,"matTooltipDisabled","matTooltip"],["color","warn","class","mr-2","data-cy","delete-group-button","mat-flat-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"],["color","warn","data-cy","delete-group-button","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],[3,"disableRouting","expandAll","groups","hideCheckbox","filterValue","selection","moveGroup","refreshTable",4,"ngIf"],[3,"authType","disableMembers","disableRouting","displayedColumns","groups","selection","filter","tableId","moveGroup","refreshTable",4,"ngIf"],[3,"disableRouting","expandAll","groups","hideCheckbox","filterValue","selection","moveGroup","refreshTable"],["tree",""],[3,"authType","disableMembers","disableRouting","displayedColumns","groups","selection","filter","tableId","moveGroup","refreshTable"],["list",""]],template:function(Ce,Pe){if(1&Ce&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return Pe.refreshTable()}),A.qZA(),A.YNc(5,Te,3,3,"button",2),A.TgZ(6,"span",3),A.ALo(7,"translate"),A.YNc(8,Oe,3,4,"button",4),A.qZA(),A.TgZ(9,"perun-web-apps-debounce-filter",5),A.NdJ("filter",function(fe){return Pe.applyFilter(fe)}),A.qZA(),A.TgZ(10,"mat-slide-toggle",6,7),A.NdJ("change",function(){return Pe.selected.clear()})("ngModelChange",function(fe){return Pe.showGroupList=fe}),A._uU(12),A.ALo(13,"translate"),A.qZA(),A.TgZ(14,"label"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.YNc(17,Se,1,0,"mat-spinner",8),A.YNc(18,Me,3,2,"div",9),A.qZA()),2&Ce){const ce=A.MAs(11);A.xp6(2),A.Oqu(A.lcZ(3,12,"GROUP_DETAIL.SUBGROUPS.TITLE")),A.xp6(3),A.Q6J("ngIf",Pe.createAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(7,14,"GROUP_DETAIL.SUBGROUPS.DELETE_PERMISSION_HINT")),A.Q6J("matTooltipDisabled",void 0===Pe.tree&&void 0===Pe.list||void 0!==Pe.tree&&Pe.tree.removeAuth||void 0!==Pe.list&&Pe.list.removeAuth),A.xp6(2),A.Q6J("ngIf",Pe.deleteAuth),A.xp6(1),A.Q6J("placeholder","GROUP_DETAIL.SUBGROUPS.FILTER"),A.xp6(1),A.Q6J("ngModel",Pe.showGroupList),A.xp6(2),A.Oqu(A.lcZ(13,16,"GROUP_DETAIL.SUBGROUPS.TREE_VIEW")),A.xp6(2),A.uIk("for",ce.inputId),A.xp6(1),A.Oqu(A.lcZ(16,18,"GROUP_DETAIL.SUBGROUPS.LIST_VIEW")),A.xp6(2),A.Q6J("ngIf",Pe.loading),A.xp6(1),A.Q6J("ngIf",!Pe.loading)}},directives:[j.t,G.O5,Q.lW,he.gM,F.P,be.Rr,pe.JJ,pe.On,ye.Ou,T.I,R.W],pipes:[L.X$],styles:[""]}),P})()},85243:(qe,me,h)=>{"use strict";h.d(me,{j:()=>Ce});var e=h(32105),c=h(10036),g=h(20449),w=h(9244),_=h(48966),b=h(32080),E=h(64080),v=h(5e3),I=h(51062),N=h(69808),A=h(20773),q=h(7434),j=h(24179),G=h(47423);function Q(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",6)}function he(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"perun-web-apps-immediate-filter",7),v.NdJ("filter",function(ne){return v.CHM(fe),v.oxw().applyFilter(ne)}),v.qZA()}2&Pe&&v.Q6J("placeholder","DIALOGS.ADD_MEMBER_GROUP.FILTER")}const F=function(){return["select","id","name","description"]};function be(Pe,ce){if(1&Pe&&v._UZ(0,"perun-web-apps-groups-list",8),2&Pe){const fe=v.oxw();v.Q6J("disableGroups",!0)("disableMembers",!0)("displayedColumns",v.DdM(8,F))("filter",fe.filterValue)("groupsToDisableCheckbox",fe.membersGroups)("disableRouting",!0)("groups",fe.groups)("selection",fe.selection)}}function pe(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"div",9),v.TgZ(1,"button",10),v.NdJ("click",function(){return v.CHM(fe),v.oxw().onCancel()}),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"button",11),v.NdJ("click",function(){return v.CHM(fe),v.oxw().onAdd()}),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.qZA()}if(2&Pe){const fe=v.oxw();v.xp6(2),v.hij(" ",v.lcZ(3,3,"DIALOGS.ADD_MEMBER_GROUP.CANCEL")," "),v.xp6(2),v.Q6J("disabled",0===fe.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(6,5,"DIALOGS.ADD_MEMBER_GROUP.ADD")," ")}}let ye=(()=>{class Pe{constructor(fe,Ze,ne,it,Be,ze,Ue){this.dialogRef=fe,this.data=Ze,this.groupManager=ne,this.memberManager=it,this.notificator=Be,this.translate=ze,this.authResolver=Ue,this.loading=!1,this.groups=[],this.selection=new g.Ov(!0,[]),this.attrNames=[E.r.GROUP_SYNC_ENABLED,E.r.GROUP_LAST_SYNC_STATE,E.r.GROUP_LAST_SYNC_TIMESTAMP,E.r.GROUP_STRUCTURE_SYNC_ENABLED,E.r.GROUP_LAST_STRUCTURE_SYNC_STATE,E.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(fe=>{this.member=fe,this.groupManager.getAllRichGroupsWithAttributesByNames(this.member.voId,this.attrNames).subscribe(Ze=>{this.groups=Ze.filter(ne=>this.authResolver.isAuthorized("addMember_Group_Member_policy",[ne])),this.loading=!1},()=>this.loading=!1)})}onAdd(){const fe=this.selection.selected.map(Ze=>Ze.id);this.loading=!0,this.groupManager.addMember(fe,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(fe){this.filterValue=fe}}return Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.ff),v.Y36(e.uq),v.Y36(b.V6),v.Y36(I.sK),v.Y36(b.x4))},Pe.\u0275cmp=v.Xpm({type:Pe,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,"disableGroups","disableMembers","displayedColumns","filter","groupsToDisableCheckbox","disableRouting","groups","selection",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],[1,"mr-auto","ml-auto"],[3,"placeholder","filter"],[3,"disableGroups","disableMembers","displayedColumns","filter","groupsToDisableCheckbox","disableRouting","groups","selection"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["color","accent","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,Q,1,0,"mat-spinner",1),v.TgZ(5,"div",2),v.YNc(6,he,1,1,"perun-web-apps-immediate-filter",3),v.YNc(7,be,1,9,"perun-web-apps-groups-list",4),v.qZA(),v.YNc(8,pe,7,7,"div",5),v.qZA()),2&fe&&(v.Tol(Ze.theme),v.xp6(2),v.Oqu(v.lcZ(3,8,"DIALOGS.ADD_MEMBER_GROUP.TITLE")),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(2),v.Q6J("ngIf",!Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading))},directives:[_.uh,N.O5,A.Ou,_.xY,q.L,j.W,_.H8,G.lW],pipes:[I.X$],styles:[""]}),Pe})();var T=h(32075);function R(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",6)}function L(Pe,ce){1&Pe&&v._UZ(0,"th",15)}function X(Pe,ce){if(1&Pe&&(v.TgZ(0,"td",16),v._uU(1),v.qZA()),2&Pe){const fe=ce.$implicit;v.xp6(1),v.Oqu(fe.name)}}function Y(Pe,ce){1&Pe&&v._UZ(0,"tr",17)}function se(Pe,ce){1&Pe&&v._UZ(0,"tr",18)}function Te(Pe,ce){if(1&Pe&&(v.TgZ(0,"div",7),v.TgZ(1,"p"),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.TgZ(4,"div",8),v._uU(5),v.ALo(6,"translate"),v.qZA(),v.TgZ(7,"table",9),v.ynx(8,10),v.YNc(9,L,1,0,"th",11),v.YNc(10,X,2,1,"td",12),v.BQk(),v.YNc(11,Y,1,0,"tr",13),v.YNc(12,se,1,0,"tr",14),v.qZA(),v.qZA()),2&Pe){const fe=v.oxw();v.xp6(2),v.Oqu(v.lcZ(3,5,"DIALOGS.REMOVE_MEMBER_GROUP.DESCRIPTION")),v.xp6(3),v.hij(" ",v.lcZ(6,7,"DIALOGS.REMOVE_MEMBER_GROUP.ASK")," "),v.xp6(2),v.Q6J("dataSource",fe.dataSource),v.xp6(4),v.Q6J("matHeaderRowDef",fe.displayedColumns),v.xp6(1),v.Q6J("matRowDefColumns",fe.displayedColumns)}}let Oe=(()=>{class Pe{constructor(fe,Ze,ne,it,Be){this.dialogRef=fe,this.data=Ze,this.groupManager=ne,this.notificator=it,this.translate=Be,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new T.by(this.data.groups)}onRemove(){this.loading=!0;const fe=this.dataSource.data.map(Ze=>Ze.id);this.groupManager.removeMember(fe,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 Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(_.so),v.Y36(_.WI),v.Y36(e.ff),v.Y36(b.V6),v.Y36(I.sK))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-remove-member-group-dialog"]],decls:13,vars:15,consts:[["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"],["color","warn","mat-flat-button","",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"],["class","font-weight-bolder","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,R,1,0,"mat-spinner",1),v.YNc(5,Te,13,9,"div",2),v.TgZ(6,"div",3),v.TgZ(7,"button",4),v.NdJ("click",function(){return Ze.onCancel()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.TgZ(10,"button",5),v.NdJ("click",function(){return Ze.onRemove()}),v._uU(11),v.ALo(12,"translate"),v.qZA(),v.qZA(),v.qZA()),2&fe&&(v.Tol(Ze.theme),v.xp6(2),v.Oqu(v.lcZ(3,9,"DIALOGS.REMOVE_MEMBER_GROUP.TITLE")),v.xp6(2),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading),v.xp6(3),v.hij(" ",v.lcZ(9,11,"DIALOGS.REMOVE_MEMBER_GROUP.CANCEL")," "),v.xp6(2),v.Q6J("disabled",Ze.loading),v.xp6(1),v.hij(" ",v.lcZ(12,13,"DIALOGS.REMOVE_MEMBER_GROUP.REMOVE")," "))},directives:[_.uh,N.O5,A.Ou,_.xY,T.BZ,T.w1,T.fO,T.ge,T.Dz,T.ev,T.as,T.XQ,T.nj,T.Gk,_.H8,G.lW],pipes:[I.X$],styles:[""]}),Pe})();h(33604);var We=h(36157),ge=h(96214),Le=h(29772);const ue=["list"];function Me(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"button",8),v.NdJ("click",function(){return v.CHM(fe),v.oxw().addGroup()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Pe&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"MEMBER_DETAIL.GROUPS.ADD"),"\n"))}function z(Pe,ce){1&Pe&&v._UZ(0,"mat-spinner",9)}const P=function(){return["select","id","name","description","expiration","groupStatus"]};function de(Pe,ce){if(1&Pe){const fe=v.EpF();v.TgZ(0,"perun-web-apps-groups-list",10,11),v.NdJ("refreshTable",function(){return v.CHM(fe),v.oxw().refreshTable()}),v.qZA()}if(2&Pe){const fe=v.oxw();v.Q6J("displayedColumns",v.DdM(9,P))("authType","member-groups")("filter",fe.filterValue)("memberId",fe.memberId)("disableRouting",!fe.routeAuth)("groups",fe.groups)("memberGroupStatus",fe.member.groupStatus)("selection",fe.selection)("tableId",fe.tableId)}}let Ce=(()=>{class Pe{constructor(fe,Ze,ne,it,Be){this.groupsService=fe,this.route=Ze,this.dialog=ne,this.authResolver=it,this.memberService=Be,this.filterValue="",this.tableId=c.W1,this.selection=new g.Ov(!0,[])}ngOnInit(){this.loading=!0,this.route.parent.params.subscribe(fe=>{this.memberId=Number(fe.memberId),this.memberService.getMemberById(this.memberId).subscribe(Ze=>{this.member=Ze,this.groupsService.getAllGroups(this.member.voId).subscribe(ne=>{this.allGroups=ne,this.refreshTable()})})})}refreshTable(){this.loading=!0,this.groupsService.getMemberRichGroupsWithAttributesByNames(this.memberId,[E.r.MEMBER_DEF_GROUP_EXPIRATION,E.r.MEMBER_GROUP_STATUS]).subscribe(fe=>{this.selection.clear(),this.groups=fe,this.setAuthRights(),this.loading=!1},()=>this.loading=!1)}setAuthRights(){const fe={id:this.member.voId,beanName:"Vo"};this.addAuth=this.allGroups.reduce((Ze,ne)=>Ze||this.authResolver.isAuthorized("addMember_Group_Member_policy",[ne]),!1),0!==this.groups.length&&(this.routeAuth=this.authResolver.isAuthorized("getGroupById_int_policy",[fe,this.groups[0]]))}addGroup(){const fe=(0,w.kZ)();fe.width="850px",fe.data={memberId:this.memberId,membersGroups:new Set(this.groups.map(ne=>ne.id)),theme:"member-theme"},this.dialog.open(ye,fe).afterClosed().subscribe(ne=>{ne&&this.refreshTable()})}removeGroup(){const fe=(0,w.kZ)();fe.width="650px",fe.data={memberId:this.memberId,groups:this.selection.selected,theme:"member-theme"},this.dialog.open(Oe,fe).afterClosed().subscribe(ne=>{ne&&this.refreshTable()})}applyFilter(fe){this.filterValue=fe}}return Pe.id="MemberGroupsComponent",Pe.\u0275fac=function(fe){return new(fe||Pe)(v.Y36(e.ff),v.Y36(We.gz),v.Y36(_.uw),v.Y36(b.x4),v.Y36(e.uq))},Pe.\u0275cmp=v.Xpm({type:Pe,selectors:[["app-member-groups"]],viewQuery:function(fe,Ze){if(1&fe&&v.Gf(ue,5),2&fe){let ne;v.iGM(ne=v.CRH())&&(Ze.list=ne.first)}},hostVars:2,hostBindings:function(fe,Ze){2&fe&&v.ekj("router-component",Ze.true)},decls:13,vars:15,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[3,"placeholder","filter"],["class","mr-auto ml-auto",4,"ngIf"],[3,"displayedColumns","authType","filter","memberId","disableRouting","groups","memberGroupStatus","selection","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"mr-auto","ml-auto"],[3,"displayedColumns","authType","filter","memberId","disableRouting","groups","memberGroupStatus","selection","tableId","refreshTable"],["list",""]],template:function(fe,Ze){1&fe&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.TgZ(3,"perun-web-apps-refresh-button",1),v.NdJ("refresh",function(){return Ze.refreshTable()}),v.qZA(),v.YNc(4,Me,3,3,"button",2),v.TgZ(5,"span",3),v.ALo(6,"translate"),v.TgZ(7,"button",4),v.NdJ("click",function(){return Ze.removeGroup()}),v._uU(8),v.ALo(9,"translate"),v.qZA(),v.qZA(),v.TgZ(10,"perun-web-apps-immediate-filter",5),v.NdJ("filter",function(it){return Ze.applyFilter(it)}),v.qZA(),v.YNc(11,z,1,0,"mat-spinner",6),v.YNc(12,de,2,10,"perun-web-apps-groups-list",7)),2&fe&&(v.xp6(1),v.Oqu(v.lcZ(2,9,"MEMBER_DETAIL.GROUPS.TITLE")),v.xp6(3),v.Q6J("ngIf",Ze.addAuth),v.xp6(1),v.s9C("matTooltip",v.lcZ(6,11,"MEMBER_DETAIL.GROUPS.REMOVE_PERMISSION_HINT")),v.Q6J("matTooltipDisabled",void 0===Ze.list||void 0!==Ze.list&&Ze.list.removeAuth),v.xp6(2),v.Q6J("disabled",0===Ze.selection.selected.length||void 0!==Ze.list&&!Ze.list.removeAuth),v.xp6(1),v.hij(" ",v.lcZ(9,13,"MEMBER_DETAIL.GROUPS.REMOVE")," "),v.xp6(2),v.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),v.xp6(1),v.Q6J("ngIf",Ze.loading),v.xp6(1),v.Q6J("ngIf",!Ze.loading))},directives:[ge.t,N.O5,G.lW,Le.gM,q.L,A.Ou,j.W],pipes:[I.X$],styles:[""]}),Pe})()},94856:(qe,me,h)=>{"use strict";h.d(me,{c:()=>pe});var e=h(32105),c=h(10036),g=h(93075),w=h(69808),_=h(32080),b=h(5e3),E=h(96214),v=h(47423),I=h(67322),N=h(74107),A=h(90508),q=h(64901),j=h(39798),G=h(77446),Q=h(9146),he=h(51062);function F(ye,T){if(1&ye){const R=b.EpF();b.TgZ(0,"button",15),b.NdJ("click",function(){return b.CHM(R),b.oxw().showDetails(!0)}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ye&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_ALL_DETAILS")," "))}function be(ye,T){if(1&ye){const R=b.EpF();b.TgZ(0,"button",15),b.NdJ("click",function(){return b.CHM(R),b.oxw().showDetails(!1)}),b._uU(1),b.ALo(2,"translate"),b.qZA()}2&ye&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"VO_DETAIL.APPLICATION.SHOW_LESS_DETAILS")," "))}let pe=(()=>{class ye{constructor(R,L){this.registrarManager=R,this.entityStorageService=L,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=c.Jf,this.tableId=c.Hi,this.showGroupApps=!1,this.refresh=!1}ngOnInit(){this.vo=this.entityStorageService.getEntity(),this.startDate=new g.NI((0,w.p6)(this.yearAgo(),"yyyy-MM-dd","en-GB")),this.endDate=new g.NI((0,w.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 R=new Date;return R.setDate(R.getDate()-365),R}showGroupApplications(R){this.showGroupApps=R.checked,this.currentColumns=this.refreshColumns()}showDetails(R){this.showAllDetails=R,this.currentColumns=this.refreshColumns()}applyFilter(R){this.filterValue=R}refreshColumns(){return this.showAllDetails?this.showGroupApps?this.detailedColumns:this.detailedColumns.filter(R=>"groupName"!==R&&"groupId"!==R):this.showGroupApps?this.simpleColumns:this.simpleColumns.filter(R=>"groupName"!==R)}}return ye.id="VoApplicationsComponent",ye.\u0275fac=function(R){return new(R||ye)(b.Y36(e.tk),b.Y36(_.fb))},ye.\u0275cmp=b.Xpm({type:ye,selectors:[["app-vo-applications"]],hostVars:2,hostBindings:function(R,L){2&R&&b.ekj("router-component",L.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,"endDate","startDate","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(R,L){1&R&&(b.TgZ(0,"h1",0),b._uU(1),b.ALo(2,"translate"),b.qZA(),b.TgZ(3,"div"),b.TgZ(4,"perun-web-apps-refresh-button",1),b.NdJ("refresh",function(){return L.refresh=!L.refresh}),b.qZA(),b.YNc(5,F,3,3,"button",2),b.YNc(6,be,3,3,"button",2),b.TgZ(7,"mat-form-field",3),b.TgZ(8,"mat-label"),b._uU(9),b.ALo(10,"translate"),b.qZA(),b.TgZ(11,"mat-select",4),b.NdJ("selectionChange",function(){return L.select()})("valueChange",function(Y){return L.state=Y}),b.TgZ(12,"mat-option",5),b._uU(13),b.ALo(14,"translate"),b.qZA(),b.TgZ(15,"mat-option",6),b._uU(16),b.ALo(17,"translate"),b.qZA(),b.TgZ(18,"mat-option",7),b._uU(19),b.ALo(20,"translate"),b.qZA(),b.TgZ(21,"mat-option",8),b._uU(22),b.ALo(23,"translate"),b.qZA(),b.TgZ(24,"mat-option",9),b._uU(25),b.ALo(26,"translate"),b.qZA(),b.TgZ(27,"mat-option",10),b._uU(28),b.ALo(29,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(30,"perun-web-apps-debounce-filter",11),b.NdJ("filter",function(Y){return L.applyFilter(Y)}),b.qZA(),b.TgZ(31,"perun-web-apps-date-range",12),b.NdJ("datePicker",function(){return L.select()}),b.qZA(),b.TgZ(32,"div"),b.TgZ(33,"mat-checkbox",13),b.NdJ("change",function(Y){return L.showGroupApplications(Y)}),b._uU(34),b.ALo(35,"translate"),b.qZA(),b.qZA(),b.qZA(),b.TgZ(36,"div"),b._UZ(37,"app-applications-dynamic-list",14),b.qZA()),2&R&&(b.xp6(1),b.Oqu(b.lcZ(2,25,"VO_DETAIL.APPLICATION.TITLE")),b.xp6(4),b.Q6J("ngIf",!L.showAllDetails),b.xp6(1),b.Q6J("ngIf",L.showAllDetails),b.xp6(3),b.Oqu(b.lcZ(10,27,"APPLICATIONS_LIST.STATE")),b.xp6(2),b.Q6J("value",L.state),b.xp6(2),b.Oqu(b.lcZ(14,29,"VO_DETAIL.APPLICATION.SELECTION_ALL")),b.xp6(3),b.Oqu(b.lcZ(17,31,"VO_DETAIL.APPLICATION.SELECTION_WFMV")),b.xp6(3),b.Oqu(b.lcZ(20,33,"VO_DETAIL.APPLICATION.SELECTION_SUBMITTED")),b.xp6(3),b.Oqu(b.lcZ(23,35,"VO_DETAIL.APPLICATION.SELECTION_PENDING")),b.xp6(3),b.Oqu(b.lcZ(26,37,"VO_DETAIL.APPLICATION.SELECTION_APPROVED")),b.xp6(3),b.Oqu(b.lcZ(29,39,"VO_DETAIL.APPLICATION.SELECTION_REJECTED")),b.xp6(2),b.Q6J("placeholder","VO_DETAIL.APPLICATION.FILTER"),b.xp6(1),b.Q6J("endDate",L.endDate)("startDate",L.startDate),b.xp6(2),b.Q6J("checked",L.showGroupApps),b.xp6(1),b.hij(" ",b.lcZ(35,41,"VO_DETAIL.APPLICATION.SHOW_GROUP_APPLICATIONS")," "),b.xp6(3),b.Q6J("tableId",L.showAllDetails?L.detailTableId:L.tableId)("searchString",L.filterValue)("displayedColumns",L.currentColumns)("states",L.currentStates)("dateFrom",L.startDate.value)("dateTo",L.endDate.value)("includeGroupApps",L.showGroupApps)("refreshTable",L.refresh)("vo",L.vo))},directives:[E.t,w.O5,v.lW,I.KE,I.hX,N.gD,A.ey,q.P,j.S,G.oG,Q.S],pipes:[he.X$],styles:[""]}),ye})()},4732:(qe,me,h)=>{"use strict";h.d(me,{G:()=>z});var e=h(81889),c=h(41656),g=h(20449),w=h(87842),_=h(9244),b=h(32105),E=h(10036),v=h(64080),I=h(32080),A=(h(33604),h(5e3)),q=h(48966),j=h(96214),G=h(69808),Q=h(47423),he=h(29772),F=h(64901),be=h(32368),pe=h(93075),ye=h(20773),T=h(58956),R=h(24179),L=h(98380),X=h(51062);const Y=["toggle"],se=["tree"],Te=["list"];function Oe(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(Ce),A.oxw().onCreateGroup()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.GROUPS.CREATE_GROUP")," "))}function Se(P,de){1&P&&A._UZ(0,"mat-spinner",12)}function We(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-tree",16,17),A.NdJ("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)})("refreshTable",function(){return A.CHM(Ce),A.oxw(2).loadAllGroups()}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("expandAll",Ce.filtering)("disableRouting",!Ce.routeAuth)("groups",Ce.groups)("selection",Ce.selected)("filterValue",Ce.filterValue)("vo",Ce.vo)}}const ge=function(){return["select","id","name","description","menu"]};function Le(P,de){if(1&P){const Ce=A.EpF();A.TgZ(0,"perun-web-apps-groups-list",18,19),A.NdJ("refreshTable",function(){return A.CHM(Ce),A.oxw(2).loadAllGroups()})("moveGroup",function(ce){return A.CHM(Ce),A.oxw(2).onMoveGroup(ce)}),A.qZA()}if(2&P){const Ce=A.oxw(2);A.Q6J("authType","vo-groups")("disableMembers",!0)("displayedColumns",A.DdM(8,ge))("disableRouting",!Ce.routeAuth)("groups",Ce.groups)("selection",Ce.selected)("filter",Ce.filterValue)("tableId",Ce.tableId)}}function ue(P,de){if(1&P&&(A.TgZ(0,"div",13),A.YNc(1,We,2,6,"perun-web-apps-groups-tree",14),A.YNc(2,Le,2,9,"perun-web-apps-groups-list",15),A.qZA()),2&P){const Ce=A.oxw();A.xp6(1),A.Q6J("ngIf",!Ce.showGroupList),A.xp6(1),A.Q6J("ngIf",Ce.showGroupList)}}function Me(P,de){1&P&&(A.TgZ(0,"perun-web-apps-alert",20),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&P&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.GROUPS.NO_GROUPS")," "))}let z=(()=>{class P{constructor(Ce,Pe,ce,fe){this.dialog=Ce,this.groupService=Pe,this.authResolver=ce,this.entityStorageService=fe,this.groups=[],this.showGroupList=!1,this.selected=new g.Ov(!0,[]),this.filtering=!1,this.filterValue="",this.tableId=E.rc}onCreateGroup(){const Ce=(0,_.kZ)();Ce.width="450px",Ce.data={voId:this.vo.id,parentGroup:null,theme:"vo-theme"},this.dialog.open(e.y,Ce).afterClosed().subscribe(ce=>{ce&&(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(){var Ce,Pe;return(null===(Ce=this.tree)||void 0===Ce?void 0:Ce.removeAuth)||(null===(Pe=this.list)||void 0===Pe?void 0:Pe.removeAuth)}deleteGroup(){const Ce=(0,_.kZ)();Ce.width="450px",Ce.data={voId:this.vo.id,groups:this.selected.selected,theme:"vo-theme"},this.dialog.open(c.P,Ce).afterClosed().subscribe(ce=>{ce&&this.loadAllGroups()})}removeAllGroups(){this.selected.clear()}onMoveGroup(Ce){const Pe=(0,_.kZ)();Pe.width="550px",Pe.data={group:Ce,theme:"vo-theme"},this.dialog.open(w.c,Pe).afterClosed().subscribe(fe=>{fe&&this.loadAllGroups()})}loadAllGroups(){this.loading=!0,this.groupService.getAllRichGroupsWithAttributesByNames(this.vo.id,[v.r.GROUP_SYNC_ENABLED,v.r.GROUP_LAST_SYNC_STATE,v.r.GROUP_LAST_SYNC_TIMESTAMP,v.r.GROUP_STRUCTURE_SYNC_ENABLED,v.r.GROUP_LAST_STRUCTURE_SYNC_STATE,v.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Ce=>{this.groups=Ce,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(Ce){this.filterValue=Ce,this.filtering=""!==Ce}}return P.id="VoGroupsComponent",P.\u0275fac=function(Ce){return new(Ce||P)(A.Y36(q.uw),A.Y36(b.ff),A.Y36(I.x4),A.Y36(I.fb))},P.\u0275cmp=A.Xpm({type:P,selectors:[["app-vo-groups"]],viewQuery:function(Ce,Pe){if(1&Ce&&(A.Gf(Y,7),A.Gf(se,5),A.Gf(Te,5)),2&Ce){let ce;A.iGM(ce=A.CRH())&&(Pe.toggle=ce.first),A.iGM(ce=A.CRH())&&(Pe.tree=ce.first),A.iGM(ce=A.CRH())&&(Pe.list=ce.first)}},hostVars:2,hostBindings:function(Ce,Pe){2&Ce&&A.ekj("router-component",Pe.true)},decls:22,vars:24,consts:[[1,"page-subtitle"],[3,"refresh"],["color","accent","class","mr-2 action-button","data-cy","create-group-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"matTooltipDisabled","matTooltip"],["color","warn","data-cy","delete-group-button","mat-flat-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"],["color","accent","data-cy","create-group-button","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[1,"mt-3"],["theme","vo-theme",3,"expandAll","disableRouting","groups","selection","filterValue","vo","moveGroup","refreshTable",4,"ngIf"],["theme","vo-theme",3,"authType","disableMembers","displayedColumns","disableRouting","groups","selection","filter","tableId","refreshTable","moveGroup",4,"ngIf"],["theme","vo-theme",3,"expandAll","disableRouting","groups","selection","filterValue","vo","moveGroup","refreshTable"],["tree",""],["theme","vo-theme",3,"authType","disableMembers","displayedColumns","disableRouting","groups","selection","filter","tableId","refreshTable","moveGroup"],["list",""],["alert_type","warn"]],template:function(Ce,Pe){if(1&Ce&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return Pe.loadAllGroups()}),A.qZA(),A.YNc(5,Oe,3,3,"button",2),A.TgZ(6,"span",3),A.ALo(7,"translate"),A.TgZ(8,"button",4),A.NdJ("click",function(){return Pe.deleteGroup()}),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.qZA(),A.TgZ(11,"perun-web-apps-debounce-filter",5),A.NdJ("filter",function(fe){return Pe.applyFilter(fe)}),A.qZA(),A.TgZ(12,"mat-slide-toggle",6,7),A.NdJ("change",function(){return Pe.removeAllGroups()})("ngModelChange",function(fe){return Pe.showGroupList=fe}),A._uU(14),A.ALo(15,"translate"),A.qZA(),A.TgZ(16,"label"),A._uU(17),A.ALo(18,"translate"),A.qZA(),A.YNc(19,Se,1,0,"mat-spinner",8),A.YNc(20,ue,3,2,"div",9),A.YNc(21,Me,3,3,"perun-web-apps-alert",10),A.qZA()),2&Ce){const ce=A.MAs(13);A.xp6(2),A.Oqu(A.lcZ(3,14,"VO_DETAIL.GROUPS.TITLE")),A.xp6(3),A.Q6J("ngIf",Pe.createAuth),A.xp6(1),A.s9C("matTooltip",A.lcZ(7,16,"VO_DETAIL.GROUPS.DELETE_PERMISSION_HINT")),A.Q6J("matTooltipDisabled",void 0===Pe.tree&&void 0===Pe.list||Pe.disableTooltip()),A.xp6(2),A.Q6J("disabled",0===Pe.selected.selected.length||Pe.disableRemove()),A.xp6(1),A.hij(" ",A.lcZ(10,18,"VO_DETAIL.GROUPS.DELETE_GROUP")," "),A.xp6(2),A.Q6J("placeholder","VO_DETAIL.GROUPS.FILTER"),A.xp6(1),A.Q6J("ngModel",Pe.showGroupList),A.xp6(2),A.Oqu(A.lcZ(15,20,"VO_DETAIL.GROUPS.TREE_VIEW")),A.xp6(2),A.uIk("for",ce.inputId),A.xp6(1),A.Oqu(A.lcZ(18,22,"VO_DETAIL.GROUPS.LIST_VIEW")),A.xp6(2),A.Q6J("ngIf",Pe.loading),A.xp6(1),A.Q6J("ngIf",!Pe.loading&&0!==Pe.groups.length),A.xp6(1),A.Q6J("ngIf",0===Pe.groups.length&&!Pe.loading)}},directives:[j.t,G.O5,Q.lW,he.gM,F.P,be.Rr,pe.JJ,pe.On,ye.Ou,T.I,R.W,L.w],pipes:[X.X$],styles:[""]}),P})()},81847:(qe,me,h)=>{"use strict";h.d(me,{y:()=>ge});var e=h(20449),c=h(32080),g=h(53455),w=h(32105),_=h(64080),b=h(93075),E=h(10036),v=h(9244),I=h(74414),N=h(51525),A=h(5e3),q=h(48966),j=h(96214),G=h(29772),Q=h(69808),he=h(47423),F=h(67322),be=h(74107),pe=h(90508),ye=h(64901),T=h(20773),R=h(1903),L=h(51062),X=h(20551);function Y(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",14),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onAddMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&Le){const Me=A.oxw();A.Q6J("disabled",Me.blockManualMemberAdding),A.xp6(1),A.hij(" ",A.lcZ(2,2,"VO_DETAIL.MEMBERS.ADD_MEMBER")," ")}}function se(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",15),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onInviteMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&Le&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.MEMBERS.INVITE")," "))}function Te(Le,ue){if(1&Le){const Me=A.EpF();A.TgZ(0,"button",16),A.NdJ("click",function(){return A.CHM(Me),A.oxw().onRemoveMembers()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&Le){const Me=A.oxw();A.Q6J("disabled",Me.selection.isEmpty()),A.xp6(1),A.hij(" ",A.lcZ(2,2,"VO_DETAIL.MEMBERS.REMOVE_MEMBERS")," ")}}function Oe(Le,ue){if(1&Le&&(A.TgZ(0,"mat-option",17),A._uU(1),A.ALo(2,"memberStatus"),A.qZA()),2&Le){const Me=ue.$implicit;A.Q6J("value",Me),A.xp6(1),A.Oqu(A.lcZ(2,2,Me))}}function Se(Le,ue){1&Le&&A._UZ(0,"mat-spinner",18)}function We(Le,ue){if(1&Le&&A._UZ(0,"perun-web-apps-members-dynamic-list",19),2&Le){const Me=A.oxw();A.Q6J("attrNames",Me.attrNames)("selection",Me.selection)("tableId",Me.tableId)("displayedColumns",Me.displayedColumns)("updateTable",Me.updateTable)("searchString",Me.searchString)("selectedStatuses",Me.selectedStatuses)("voId",Me.vo.id)}}let ge=(()=>{class Le{constructor(Me,z,P,de,Ce,Pe,ce){this.notificator=Me,this.dialog=z,this.authzService=P,this.storeService=de,this.attributesManager=Ce,this.apiRequest=Pe,this.entityStorageService=ce,this.members=null,this.selection=new e.Ov(!0,[]),this.loading=!1,this.attrNames=[_.r.MEMBER_DEF_ORGANIZATION,_.r.MEMBER_DEF_MAIL,_.r.USER_DEF_ORGANIZATION,_.r.USER_DEF_PREFERRED_MAIL,_.r.MEMBER_DEF_EXPIRATION,_.r.MEMBER_LIFECYCLE_ALTERABLE],this.statuses=new b.NI,this.statusList=["VALID","INVALID","EXPIRED","DISABLED"],this.selectedStatuses=[],this.tableId=E.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(Me){this.searchString=Me,this.selection.clear()}onAddMember(){const Me=(0,v.kZ)();Me.width="1000px",Me.data={voId:this.vo.id},this.dialog.open(N.H,Me).afterClosed().subscribe(P=>{P&&(this.updateTable=!this.updateTable,this.selection.clear())})}onRemoveMembers(){const Me=(0,v.kZ)();Me.width="450px",Me.data={members:this.selection.selected,theme:"vo-theme"},this.dialog.open(g.X,Me).afterClosed().subscribe(P=>{P&&(this.updateTable=!this.updateTable,this.selection.clear())})}onInviteMember(){const Me=(0,v.kZ)();Me.width="650px",Me.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(I.R,Me)}displaySelectedStatuses(){if(this.selectedStatuses.length===this.statusList.length)return"ALL";const Me=this.statuses.value;return Me?`${Me[0]} ${Me.length>1?"(+"+(Me.length-1).toString()+" "+(2===Me.length?"other)":"others)"):""}`:""}isManualAddingBlocked(Me){return new Promise(z=>{this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getVoAttributeByName(Me,"urn:perun:vo:attribute-def:def:blockManualMemberAdding").subscribe(P=>{this.blockManualMemberAdding=null!==P.value,z()},P=>{const de=P.error;"PrivilegeException"!==de.name&&this.notificator.showError(de.name),z()})})}changeStatuses(){this.selection.clear(),this.selectedStatuses=this.statuses.value}refreshTable(){this.selection.clear(),this.updateTable=!this.updateTable}}return Le.id="VoMembersComponent",Le.\u0275fac=function(Me){return new(Me||Le)(A.Y36(c.V6),A.Y36(q.uw),A.Y36(c.x4),A.Y36(c.d6),A.Y36(w.H8),A.Y36(c.F5),A.Y36(c.fb))},Le.\u0275cmp=A.Xpm({type:Le,selectors:[["app-vo-members"]],hostVars:2,hostBindings:function(Me,z){2&Me&&A.ekj("router-component",z.true)},decls:23,vars:21,consts:[[1,"vo-theme"],[1,"page-subtitle"],[1,"align-elements"],[3,"click"],[3,"matTooltipDisabled","matTooltip"],["color","accent","class","mr-2 action-button","data-cy","add-members","mat-flat-button","",3,"disabled","click",4,"ngIf"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","data-cy","remove-members","class","mr-2","mat-flat-button","",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,"attrNames","selection","tableId","displayedColumns","updateTable","searchString","selectedStatuses","voId",4,"ngIf"],["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,"click"],["color","warn","data-cy","remove-members","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"vo-theme",3,"value"],[1,"ml-auto","mr-auto"],[3,"attrNames","selection","tableId","displayedColumns","updateTable","searchString","selectedStatuses","voId"]],template:function(Me,z){1&Me&&(A.TgZ(0,"div",0),A.TgZ(1,"h1",1),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",2),A.TgZ(5,"perun-web-apps-refresh-button",3),A.NdJ("click",function(){return z.refreshTable()}),A.qZA(),A.TgZ(6,"div",4),A.ALo(7,"translate"),A.YNc(8,Y,3,4,"button",5),A.qZA(),A.YNc(9,se,3,3,"button",6),A.YNc(10,Te,3,4,"button",7),A.TgZ(11,"mat-form-field",8),A.TgZ(12,"mat-label"),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.TgZ(15,"mat-select",9),A.NdJ("closed",function(){return z.changeStatuses()}),A.TgZ(16,"mat-select-trigger"),A._uU(17),A.ALo(18,"memberStatus"),A.qZA(),A.YNc(19,Oe,3,4,"mat-option",10),A.qZA(),A.qZA(),A.TgZ(20,"perun-web-apps-debounce-filter",11),A.NdJ("filter",function(de){return z.onSearchByString(de)}),A.qZA(),A.qZA(),A.YNc(21,Se,1,0,"mat-spinner",12),A.YNc(22,We,1,8,"perun-web-apps-members-dynamic-list",13),A.qZA()),2&Me&&(A.xp6(2),A.Oqu(A.lcZ(3,13,"VO_DETAIL.MEMBERS.TITLE")),A.xp6(4),A.s9C("matTooltip",A.lcZ(7,15,"VO_DETAIL.MEMBERS.ADD_MEMBER_DISABLED")),A.Q6J("matTooltipDisabled",!z.blockManualMemberAdding),A.xp6(2),A.Q6J("ngIf",z.addAuth),A.xp6(1),A.Q6J("ngIf",z.inviteAuth),A.xp6(1),A.Q6J("ngIf",z.removeAuth),A.xp6(3),A.Oqu(A.lcZ(14,17,"VO_DETAIL.MEMBERS.FILTER_STATUS")),A.xp6(2),A.Q6J("formControl",z.statuses),A.xp6(2),A.hij(" ",A.lcZ(18,19,z.displaySelectedStatuses())," "),A.xp6(2),A.Q6J("ngForOf",z.statusList),A.xp6(1),A.Q6J("placeholder","VO_DETAIL.MEMBERS.SEARCH_DESCRIPTION"),A.xp6(1),A.Q6J("ngIf",z.loading),A.xp6(1),A.Q6J("ngIf",!z.loading))},directives:[j.t,G.gM,Q.O5,he.lW,F.KE,F.hX,be.gD,b.JJ,b.oH,be.$L,Q.sg,pe.ey,ye.P,T.Ou,R.m],pipes:[L.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}"]}),Le})()},68056:(qe,me,h)=>{"use strict";h.d(me,{z:()=>pe});var e=h(20449),c=h(32105),g=h(533),w=h(10036),_=h(9244),b=h(32080),E=h(5e3),v=h(48966),I=h(96214),N=h(69808),A=h(47423),q=h(7434),j=h(20773),G=h(62109),Q=h(51062);function he(ye,T){if(1&ye){const R=E.EpF();E.TgZ(0,"button",6),E.NdJ("click",function(){return E.CHM(R),E.oxw().deleteSelectedResources()}),E._uU(1),E.ALo(2,"translate"),E.qZA()}if(2&ye){const R=E.oxw();E.Q6J("disabled",0===R.selected.selected.length),E.xp6(1),E.hij(" ",E.lcZ(2,2,"VO_DETAIL.RESOURCES.LIST.DELETE")," ")}}function F(ye,T){1&ye&&E._UZ(0,"mat-spinner",7)}function be(ye,T){if(1&ye&&E._UZ(0,"perun-web-apps-resources-list",8),2&ye){const R=E.oxw();E.Q6J("disableRouting",!R.routeAuth)("filterValue",R.filterValue)("resources",R.resources)("routingVo",!0)("displayedColumns",R.displayedColumns)("selection",R.selected)("tableId",R.tableId)}}let pe=(()=>{class ye{constructor(R,L,X,Y){this.resourcesManager=R,this.dialog=L,this.authResolver=X,this.entityStorageService=Y,this.resources=[],this.selected=new e.Ov(!0,[]),this.filterValue="",this.displayedColumns=[],this.tableId=w.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(R=>{this.resources=R,this.selected.clear(),this.setAuthRights(),this.loading=!1})}applyFilter(R){this.filterValue=R}deleteSelectedResources(){const R=(0,_.kZ)();R.width="450px",R.data={theme:"vo-theme",resources:this.selected.selected},this.dialog.open(g.f,R).afterClosed().subscribe(X=>{X&&this.refreshTable()})}}return ye.id="VoResourcesPreviewComponent",ye.\u0275fac=function(R){return new(R||ye)(E.Y36(c.xk),E.Y36(v.uw),E.Y36(b.x4),E.Y36(b.fb))},ye.\u0275cmp=E.Xpm({type:ye,selectors:[["app-vo-resources-preview"]],hostVars:2,hostBindings:function(R,L){2&R&&E.ekj("router-component",L.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,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","tableId",4,"ngIf"],["color","warn","mat-flat-button","",1,"mr-2",3,"disabled","click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","filterValue","resources","routingVo","displayedColumns","selection","tableId"]],template:function(R,L){1&R&&(E.TgZ(0,"div"),E.TgZ(1,"h1",0),E._uU(2),E.ALo(3,"translate"),E.qZA(),E.TgZ(4,"perun-web-apps-refresh-button",1),E.NdJ("refresh",function(){return L.refreshTable()}),E.qZA(),E.YNc(5,he,3,4,"button",2),E.TgZ(6,"perun-web-apps-immediate-filter",3),E.NdJ("filter",function(Y){return L.applyFilter(Y)}),E.qZA(),E.YNc(7,F,1,0,"mat-spinner",4),E.YNc(8,be,1,7,"perun-web-apps-resources-list",5),E.qZA()),2&R&&(E.xp6(2),E.Oqu(E.lcZ(3,5,"VO_DETAIL.RESOURCES.LIST.TITLE")),E.xp6(3),E.Q6J("ngIf",L.removeAuth),E.xp6(1),E.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),E.xp6(1),E.Q6J("ngIf",L.loading),E.xp6(1),E.Q6J("ngIf",!L.loading))},directives:[I.t,N.O5,A.lW,q.L,j.Ou,G.C],pipes:[Q.X$],styles:[""]}),ye})()},24219:(qe,me,h)=>{"use strict";h.d(me,{z:()=>_e});var e=h(32080),c=h(32105),g=h(5e3),w=h(96214),_=h(53251),b=h(69808),E=h(98380),v=h(32075),I=h(20773),N=h(81125),A=h(4834),q=h(51062);function j(ae,Ae){1&ae&&g._UZ(0,"mat-spinner",2)}function G(ae,Ae){if(1&ae&&(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&ae){const ee=g.oxw().$implicit,Ne=g.oxw(2);g.xp6(4),g.HOy(" ",Ne.getErrorCountStates(ee)," ",g.lcZ(5,4,"VO_DETAIL.RESOURCES.STATES.FROM")," ",ee.taskList.length," ",g.lcZ(6,6,"VO_DETAIL.RESOURCES.STATES.TASKS_WITH_ERROR_STATE")," ")}}function Q(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ID")," "))}function he(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.id)}}function F(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SERVICE")," "))}function be(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.service.name)}}function pe(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STATUS")," "))}function ye(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g._uU(1),g.qZA()),2&ae){const ee=Ae.$implicit;g.xp6(1),g.Oqu(ee.status)}}function T(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_SCHEDULED")," "))}function R(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function L(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function X(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,R,3,4,"div",25),g.YNc(2,L,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.schedule)("ngIfElse",Ne)}}function Y(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_STARTED")," "))}function se(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function Te(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Oe(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,se,3,4,"div",25),g.YNc(2,Te,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.startTime)("ngIfElse",Ne)}}function Se(ae,Ae){1&ae&&(g.TgZ(0,"th",23),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.TABLE_ENDED")," "))}function We(ae,Ae){if(1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"date"),g.qZA()),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.hij(" ",g.xi3(2,1,ee.schedule,"d.M.y H:mm:ss")," ")}}function ge(ae,Ae){1&ae&&(g._uU(0),g.ALo(1,"translate")),2&ae&&g.hij(" ",g.lcZ(1,1,"VO_DETAIL.RESOURCES.STATES.NOT_YET")," ")}function Le(ae,Ae){if(1&ae&&(g.TgZ(0,"td",24),g.YNc(1,We,3,4,"div",25),g.YNc(2,ge,2,3,"ng-template",26,27,g.W1O),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.MAs(3);g.xp6(1),g.Q6J("ngIf",ee.endTime)("ngIfElse",Ne)}}function ue(ae,Ae){1&ae&&g._UZ(0,"tr",28)}const Me=function(ae,Ae,ee){return{redTableItem:ae,greenTableItem:Ae,yellowTableItem:ee}};function z(ae,Ae){if(1&ae&&g._UZ(0,"tr",29),2&ae){const ee=Ae.$implicit;g.Q6J("ngClass",g.kEZ(1,Me,"ERROR"===ee.status||"SENDERROR"===ee.status||"GENERROR"===ee.status,"DONE"===ee.status,"WARNING"===ee.status))}}function P(ae,Ae){if(1&ae&&(g.TgZ(0,"table",12),g.ynx(1,13),g.YNc(2,Q,3,3,"th",14),g.YNc(3,he,2,1,"td",15),g.BQk(),g.ynx(4,16),g.YNc(5,F,3,3,"th",14),g.YNc(6,be,2,1,"td",15),g.BQk(),g.ynx(7,17),g.YNc(8,pe,3,3,"th",14),g.YNc(9,ye,2,1,"td",15),g.BQk(),g.ynx(10,18),g.YNc(11,T,3,3,"th",14),g.YNc(12,X,4,2,"td",15),g.BQk(),g.ynx(13,19),g.YNc(14,Y,3,3,"th",14),g.YNc(15,Oe,4,2,"td",15),g.BQk(),g.ynx(16,20),g.YNc(17,Se,3,3,"th",14),g.YNc(18,Le,4,2,"td",15),g.BQk(),g.YNc(19,ue,1,0,"tr",21),g.YNc(20,z,1,5,"tr",22),g.qZA()),2&ae){const ee=g.oxw(2).$implicit,Ne=g.oxw(2);g.Q6J("dataSource",Ne.datasources[Ne.propagation.indexOf(ee)]),g.xp6(19),g.Q6J("matHeaderRowDef",Ne.displayedColumns),g.xp6(1),g.Q6J("matRowDefColumns",Ne.displayedColumns)}}function de(ae,Ae){1&ae&&(g.TgZ(0,"div"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_TASKS")," "))}function Ce(ae,Ae){if(1&ae&&(g._UZ(0,"mat-divider"),g.YNc(1,P,21,3,"table",11),g.YNc(2,de,3,3,"div",8)),2&ae){const ee=g.oxw().$implicit;g.xp6(1),g.Q6J("ngIf",0!==ee.taskList.length),g.xp6(1),g.Q6J("ngIf",0===ee.taskList.length)}}function Pe(ae,Ae){if(1&ae&&(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,G,7,8,"mat-panel-description",8),g.qZA(),g.YNc(7,Ce,3,2,"ng-template",9),g.qZA()),2&ae){const ee=Ae.$implicit,Ne=g.oxw(2);g.xp6(5),g.hij(" ",ee.resource.name," "),g.xp6(1),g.Q6J("ngIf",0!==Ne.getErrorCountStates(ee))}}function ce(ae,Ae){if(1&ae&&(g.TgZ(0,"div",3),g.TgZ(1,"mat-accordion",4),g.YNc(2,Pe,8,2,"mat-expansion-panel",5),g.qZA(),g.qZA()),2&ae){const ee=g.oxw();g.xp6(2),g.Q6J("ngForOf",ee.propagation)}}let fe=(()=>{class ae{constructor(){this.propagation=[],this.loading=!1,this.datasources=[],this.displayedColumns=["id","service","status","scheduled","started","ended"]}getErrorCountStates(ee){let Ne=0;for(const V of ee.taskList)("ERROR"===V.status||"GENERROR"===V.status||"SENDERROR"===V.status)&&Ne++;return Ne}getDataSource(){this.datasources=[];for(const ee of this.propagation)this.datasources.push(new v.by(ee.taskList))}ngOnChanges(){this.getDataSource()}}return ae.\u0275fac=function(ee){return new(ee||ae)},ae.\u0275cmp=g.Xpm({type:ae,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"],["height","28","src","assets/img/PerunWebImages/resource-black.svg","width","28"],[1,"ml-2"],[4,"ngIf"],["matExpansionPanelContent",""],[1,"material-icons","red"],["class","w-100","mat-table","",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(ee,Ne){1&ee&&(g.YNc(0,j,1,0,"mat-spinner",0),g.YNc(1,ce,3,1,"div",1)),2&ee&&(g.Q6J("ngIf",Ne.loading),g.xp6(1),g.Q6J("ngIf",!Ne.loading))},directives:[b.O5,I.Ou,N.pp,b.sg,N.ib,N.yz,N.yK,N.u4,N.HS,A.d,v.BZ,v.w1,v.fO,v.ge,v.Dz,v.ev,v.as,v.XQ,v.nj,v.Gk,b.mk],pipes:[q.X$,b.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}"]}),ae})();function Ze(ae,Ae){if(1&ae&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",5),g._uU(3),g.qZA()),2&ae){const ee=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.ERROR_RESOURCES")," "),g.xp6(3),g.Oqu(ee.errorPropagation.length)}}function ne(ae,Ae){1&ae&&(g.TgZ(0,"perun-web-apps-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_ERROR")," "))}function it(ae,Ae){if(1&ae&&(g.YNc(0,ne,3,3,"perun-web-apps-alert",6),g._UZ(1,"app-state-tab",7)),2&ae){const ee=g.oxw();g.Q6J("ngIf",!ee.loading&&0===ee.errorPropagation.length),g.xp6(1),g.Q6J("loading",ee.loading)("propagation",ee.errorPropagation)}}function Be(ae,Ae){if(1&ae&&(g._uU(0),g.ALo(1,"translate"),g.TgZ(2,"span",9),g._uU(3),g.qZA()),2&ae){const ee=g.oxw();g.hij(" ",g.lcZ(1,2,"VO_DETAIL.RESOURCES.STATES.OK_RESOURCES")," "),g.xp6(3),g.Oqu(ee.okPropagation.length)}}function ze(ae,Ae){1&ae&&(g.TgZ(0,"perun-web-apps-alert",8),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&ae&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"VO_DETAIL.RESOURCES.STATES.NO_RESOURCES_IN_OK")," "))}function Ue(ae,Ae){if(1&ae&&(g.YNc(0,ze,3,3,"perun-web-apps-alert",6),g._UZ(1,"app-state-tab",7)),2&ae){const ee=g.oxw();g.Q6J("ngIf",!ee.loading&&0===ee.okPropagation.length),g.xp6(1),g.Q6J("loading",ee.loading)("propagation",ee.okPropagation)}}let _e=(()=>{class ae{constructor(ee,Ne){this.taskService=ee,this.entityStorageService=Ne,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(ee=>{this.resourceStates=ee,this.okPropagation=[],this.errorPropagation=[];for(const Ne of ee){let V=!0;for(const H of Ne.taskList)if("ERROR"===H.status||"GENERROR"===H.status||"SENDERROR"===H.status){V=!1;break}V?this.okPropagation.push(Ne):this.errorPropagation.push(Ne)}this.loading=!1},()=>this.loading=!1)}}return ae.id="VoResourcesStatesComponent",ae.\u0275fac=function(ee){return new(ee||ae)(g.Y36(c.Ob),g.Y36(e.fb))},ae.\u0275cmp=g.Xpm({type:ae,selectors:[["app-vo-resources-states"]],hostVars:2,hostBindings:function(ee,Ne){2&ee&&g.ekj("router-component",Ne.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(ee,Ne){1&ee&&(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 Ne.refreshTable()}),g.qZA(),g.TgZ(4,"mat-tab-group",2),g.NdJ("selectedIndexChange",function(H){return Ne.selectedIndex=H}),g.TgZ(5,"mat-tab"),g.YNc(6,Ze,4,4,"ng-template",3),g.YNc(7,it,2,3,"ng-template",4),g.qZA(),g.TgZ(8,"mat-tab"),g.YNc(9,Be,4,4,"ng-template",3),g.YNc(10,Ue,2,3,"ng-template",4),g.qZA(),g.qZA()),2&ee&&(g.xp6(1),g.Oqu(g.lcZ(2,2,"VO_DETAIL.RESOURCES.STATES.TITLE")),g.xp6(3),g.Q6J("selectedIndex",Ne.selectedIndex))},directives:[w.t,_.SP,_.uX,_.uD,_.Vc,b.O5,E.w,fe],pipes:[q.X$],styles:[""]}),ae})()},10369:(qe,me,h)=>{"use strict";h.d(me,{w:()=>Oe});var e=h(1186),c=h(32080),g=h(95502),w=h(51076),_=h(83491),b=h(32105),E=h(9244),v=h(5e3),I=h(48966),N=h(51062),A=h(36157),q=h(69808),j=h(20773),G=h(25245),Q=h(29772),he=h(47423),F=h(4834),be=h(96214),pe=h(98380),ye=h(157);function T(Se,We){1&Se&&v._UZ(0,"mat-spinner",13)}function R(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",21),v.NdJ("click",function(){return v.CHM(ge),v.oxw(2).settings()}),v.TgZ(1,"i",10),v._uU(2,"edit"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Se&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SETTINGS_BUTTON")," "))}function L(Se,We){if(1&Se&&(v.TgZ(0,"div",14),v.TgZ(1,"div",15),v.TgZ(2,"div",16),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.TgZ(5,"div"),v.TgZ(6,"span",16),v._uU(7),v.ALo(8,"translate"),v.qZA(),v._uU(9,": "),v.TgZ(10,"mat-icon",17),v._uU(11,"arrow_right_alt"),v.qZA(),v._uU(12),v.ALo(13,"translate"),v.ALo(14,"translate"),v.TgZ(15,"mat-icon",18),v._uU(16,"restore"),v.qZA(),v._uU(17),v.ALo(18,"translate"),v.ALo(19,"translate"),v.qZA(),v.qZA(),v.TgZ(20,"div",19),v.YNc(21,R,5,3,"button",20),v.qZA(),v.qZA()),2&Se){const ge=v.oxw();v.xp6(3),v.AsE(" ",v.lcZ(4,6,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MODULE_NAME"),": ",ge.applicationForm.moduleClassName," "),v.xp6(4),v.Oqu(v.lcZ(8,8,"VO_DETAIL.SETTINGS.APPLICATION_FORM.APPLICATION_TYPE")),v.xp6(5),v.hij(" ",ge.applicationForm.automaticApproval?v.lcZ(13,10,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(14,12,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," , "),v.xp6(5),v.hij(" ",ge.applicationForm.automaticApprovalExtension?v.lcZ(18,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.AUTOMATIC"):v.lcZ(19,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.MANUAL")," "),v.xp6(4),v.Q6J("ngIf",ge.editAuth)}}function X(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",22),v.NdJ("click",function(){return v.CHM(ge),v.oxw().add()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&Se&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.ADD_BUTTON")," "))}function Y(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",23),v.NdJ("click",function(){return v.CHM(ge),v.oxw().save()}),v.TgZ(1,"i",10),v._uU(2,"save"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}if(2&Se){const ge=v.oxw();v.Q6J("disabled",!ge.itemsChanged),v.xp6(3),v.hij(" ",v.lcZ(4,2,"VO_DETAIL.SETTINGS.APPLICATION_FORM.SAVE_BUTTON")," ")}}function se(Se,We){if(1&Se){const ge=v.EpF();v.TgZ(0,"button",24),v.NdJ("click",function(){return v.CHM(ge),v.oxw().copy()}),v.TgZ(1,"i",10),v._uU(2,"file_copy"),v.qZA(),v._uU(3),v.ALo(4,"translate"),v.qZA()}2&Se&&(v.xp6(3),v.hij(" ",v.lcZ(4,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.COPY_VO_BUTTON")," "))}function Te(Se,We){1&Se&&(v.TgZ(0,"perun-web-apps-alert",25),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&Se&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_DETAIL.SETTINGS.APPLICATION_FORM.DRAG_AND_DROP_INFO")," "))}let Oe=(()=>{class Se{constructor(ge,Le,ue,Me,z,P,de,Ce){this.registrarManager=ge,this.dialog=Le,this.notificator=ue,this.translate=Me,this.router=z,this.authResolver=P,this.voService=de,this.entityStorageService=Ce,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(ge=>{this.applicationForm=ge,this.registrarManager.getFormItemsForVo(this.vo.id).subscribe(Le=>{this.applicationFormItems=Le,this.loading=!1})})}add(){let ge=(0,E.kZ)();ge.width="500px",ge.data={applicationFormItems:this.applicationFormItems,fakeId:this.idCounter--},this.dialog.open(w.J,ge).afterClosed().subscribe(ue=>{ue&&(this.applicationFormItems=Object.assign([],ue[0]),ge=(0,E.kZ)(),ge.width="600px",ge.height="600px",ge.data={voId:this.vo.id,applicationFormItem:ue[1],theme:"vo-theme",allItems:this.applicationFormItems},this.dialog.open(_._,ge),this.itemsChanged=!0)})}copy(){const ge=(0,E.kZ)();ge.width="500px",ge.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(g.W,ge).afterClosed().subscribe(ue=>{ue&&this.updateFormItems()})}settings(){const ge=(0,E.kZ)();ge.width="400px",ge.data={entity:"vo",applicationForm:this.applicationForm,theme:"vo-theme"},this.dialog.open(e.E,ge).afterClosed().subscribe(ue=>{ue&&(this.translate.get("VO_DETAIL.SETTINGS.APPLICATION_FORM.CHANGE_SETTINGS_SUCCESS").subscribe(Me=>{this.notificator.showSuccess(Me)}),this.applicationForm=ue)})}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(ge=>{this.applicationFormItems=ge,this.itemsChanged=!1,this.setAuthRights(),this.refreshApplicationForm=!1,this.loading=!1})}changeItems(){this.itemsChanged=!0}save(){let ge=0;for(const Le of this.applicationFormItems)Le.ordnum=ge,Le.forDelete||ge++;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(Le=>{this.notificator.showSuccess(Le)}),this.updateFormItems()})}clear(){this.applicationFormItems.forEach(ge=>ge.forDelete=!0),this.itemsChanged=!0}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"]}}return Se.id="VoSettingsApplicationFormComponent",Se.\u0275fac=function(ge){return new(ge||Se)(v.Y36(b.tk),v.Y36(I.uw),v.Y36(c.V6),v.Y36(N.sK),v.Y36(A.F0),v.Y36(c.x4),v.Y36(b.YF),v.Y36(c.fb))},Se.\u0275cmp=v.Xpm({type:Se,selectors:[["app-vo-settings-application-form"]],hostVars:2,hostBindings:function(ge,Le){2&ge&&v.ekj("router-component",Le.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"],["color","accent","class","mr-2 action-button","data-cy","add-form-item","mat-flat-button","",3,"click",4,"ngIf"],["color","accent","data-cy","save-application-form","class","mr-2","mat-flat-button","",3,"disabled","click",4,"ngIf"],["class","mr-2 action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons"],["alert_type","info",4,"ngIf"],[3,"applicationForm","applicationFormItems","loading","displayedColumns","refreshApplicationForm","theme","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"],["class","ml-auto action-button","mat-stroked-button","",3,"click",4,"ngIf"],["mat-stroked-button","",1,"ml-auto","action-button",3,"click"],["color","accent","data-cy","add-form-item","mat-flat-button","",1,"mr-2","action-button",3,"click"],["color","accent","data-cy","save-application-form","mat-flat-button","",1,"mr-2",3,"disabled","click"],["mat-stroked-button","",1,"mr-2","action-button",3,"click"],["alert_type","info"]],template:function(ge,Le){1&ge&&(v.TgZ(0,"h1",0),v._uU(1),v.ALo(2,"translate"),v.qZA(),v.YNc(3,T,1,0,"mat-spinner",1),v.TgZ(4,"div"),v.YNc(5,L,22,18,"div",2),v._UZ(6,"mat-divider",3),v.TgZ(7,"div",4),v.TgZ(8,"perun-web-apps-refresh-button",5),v.NdJ("refresh",function(){return Le.updateFormItems()}),v.qZA(),v.YNc(9,X,3,3,"button",6),v.YNc(10,Y,5,4,"button",7),v.YNc(11,se,5,3,"button",8),v.TgZ(12,"button",9),v.NdJ("click",function(){return Le.preview()}),v.TgZ(13,"i",10),v._uU(14,"search"),v.qZA(),v._uU(15),v.ALo(16,"translate"),v.qZA(),v.qZA(),v.YNc(17,Te,3,3,"perun-web-apps-alert",11),v.TgZ(18,"app-application-form-list",12),v.NdJ("applicationFormItemsChange",function(){return Le.changeItems()}),v.qZA(),v.qZA()),2&ge&&(v.xp6(1),v.hij(" ",v.lcZ(2,14,"VO_DETAIL.SETTINGS.APPLICATION_FORM.TITLE"),"\n"),v.xp6(2),v.Q6J("ngIf",Le.loading),v.xp6(2),v.Q6J("ngIf",!Le.loading),v.xp6(4),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("ngIf",Le.editAuth),v.xp6(4),v.hij(" ",v.lcZ(16,16,"VO_DETAIL.SETTINGS.APPLICATION_FORM.PREVIEW_BUTTON")," "),v.xp6(2),v.Q6J("ngIf",Le.editAuth),v.xp6(1),v.Q6J("applicationForm",Le.applicationForm)("applicationFormItems",Le.applicationFormItems)("loading",Le.loading)("displayedColumns",Le.displayedColumns)("refreshApplicationForm",Le.refreshApplicationForm)("theme","vo-theme"))},directives:[q.O5,j.Ou,G.Hw,Q.gM,he.lW,F.d,be.t,pe.w,ye.b],pipes:[N.X$],styles:[""]}),Se})()},3246:(qe,me,h)=>{"use strict";h.d(me,{T:()=>Dn});var e=h(32105),c=h(20449),g=h(10036),w=h(9244),_=h(48966),b=h(32080),E=h(93075),v=h(69808),I=h(45323),N=h(28499),A=h(5e3),q=h(51062),j=h(20773),G=h(92081),Q=h(98380),he=h(67322),F=h(98833),be=h(74107),pe=h(90508),ye=h(29772),T=h(77446),R=h(13469),L=h(79814),X=h(74250),Y=h(86856);let se=(()=>{class St{constructor(){this.expiration="never",this.datePicker=new A.vpe,this.expirationControl=new E.NI(null)}ngOnInit(){const st=new Date;this.minDate=new Date(st.getFullYear(),st.getMonth(),st.getDate()),this.expirationControl.setValue((0,v.p6)(this.minDate,"yyyy-MM-dd","en-GB"))}setExpiration(){this.expiration=(0,v.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB"),this.expirationControl.setValue((0,v.p6)(this.expirationControl.value,"yyyy-MM-dd","en-GB")),this.emitDate()}emitDate(){"never"!==this.expiration&&""===this.expirationControl.value||this.datePicker.emit(this.expiration)}}return St.\u0275fac=function(st){return new(st||St)},St.\u0275cmp=A.Xpm({type:St,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(st,kt){if(1&st){const Fe=A.EpF();A.TgZ(0,"mat-radio-group",0),A.NdJ("ngModelChange",function(Je){return kt.expiration=Je})("change",function(){return kt.emitDate()}),A.TgZ(1,"mat-radio-button",1),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"mat-radio-button",2),A.TgZ(5,"mat-form-field",3),A.NdJ("click",function(){return A.CHM(Fe),A.MAs(12).open()}),A.TgZ(6,"mat-label"),A._uU(7),A.ALo(8,"translate"),A.qZA(),A.TgZ(9,"input",4),A.NdJ("dateChange",function(){return kt.setExpiration()}),A.qZA(),A._UZ(10,"mat-datepicker-toggle",5),A._UZ(11,"mat-datepicker",6,7),A.qZA(),A.qZA(),A.qZA()}if(2&st){const Fe=A.MAs(12);A.Q6J("ngModel",kt.expiration),A.xp6(2),A.hij(" ",A.lcZ(3,10,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),A.xp6(2),A.s9C("value",kt.expirationControl.value),A.xp6(3),A.Oqu(A.lcZ(8,12,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),A.xp6(2),A.Q6J("min",kt.minDate)("formControl",kt.expirationControl)("matDatepicker",Fe),A.xp6(1),A.Q6J("for",Fe)("disabled",!1),A.xp6(1),A.Q6J("disabled",!1)}},directives:[L.VQ,E.JJ,E.On,L.U0,he.KE,he.hX,F.Nt,E.Fj,Y.hl,E.oH,Y.nW,he.R9,Y.Mq],pipes:[q.X$],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),St})();var Te=h(25245),Oe=h(47423),Se=h(31359);const We=["stepper"];function ge(St,Kt){1&St&&(A.TgZ(0,"h1",4),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE")," "))}function Le(St,Kt){1&St&&A._UZ(0,"mat-spinner",5)}function ue(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_LABEL"))}function Me(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function z(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function P(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function de(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_LABEL"))}function Ce(St,Kt){if(1&St&&(A.TgZ(0,"mat-option",35),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.Q6J("value",st),A.xp6(1),A.hij(" ",st," ")}}function Pe(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_ERROR")," "))}function ce(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.LENGTH_ERROR")," "))}function fe(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL_ERROR")," "))}function Ze(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_LABEL"))}function ne(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"perun-web-apps-user-search-select",36),A.NdJ("userSelected",function(Fe){return A.CHM(st),A.oxw(2).selectedSponsor=Fe}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.xp6(1),A.Q6J("disableAutoSelect",!0)("users",st.voSponsors)}}function it(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",6),A.TgZ(1,"mat-stepper",7,8),A.TgZ(3,"mat-step",9),A.YNc(4,ue,2,3,"ng-template",10),A.YNc(5,Me,3,3,"perun-web-apps-alert",11),A.TgZ(6,"form",12),A.TgZ(7,"h5",13),A._uU(8),A.ALo(9,"translate"),A.qZA(),A.TgZ(10,"mat-form-field",14),A._UZ(11,"input",15),A.ALo(12,"translate"),A.YNc(13,z,3,3,"mat-error",16),A.qZA(),A.TgZ(14,"mat-form-field"),A._UZ(15,"input",17),A.ALo(16,"translate"),A.YNc(17,P,3,3,"mat-error",16),A.qZA(),A.TgZ(18,"mat-form-field"),A._UZ(19,"input",18),A.ALo(20,"translate"),A.qZA(),A.TgZ(21,"mat-form-field"),A._UZ(22,"input",19),A.ALo(23,"translate"),A.qZA(),A.qZA(),A.qZA(),A.TgZ(24,"mat-step",9),A.YNc(25,de,2,3,"ng-template",10),A.TgZ(26,"h5",13),A._uU(27),A.ALo(28,"translate"),A.qZA(),A.TgZ(29,"form",20),A.TgZ(30,"mat-form-field"),A.TgZ(31,"mat-select",21),A.NdJ("valueChange",function(Fe){return A.CHM(st),A.oxw().onNamespaceChanged(Fe)}),A.ALo(32,"translate"),A.YNc(33,Ce,2,2,"mat-option",22),A.qZA(),A.YNc(34,Pe,3,3,"mat-error",16),A.qZA(),A.TgZ(35,"mat-form-field",23),A.ALo(36,"translate"),A._UZ(37,"input",24),A.ALo(38,"translate"),A.YNc(39,ce,3,3,"mat-error",16),A.qZA(),A.TgZ(40,"mat-form-field"),A._UZ(41,"input",25),A.ALo(42,"translate"),A.YNc(43,fe,3,3,"mat-error",16),A.qZA(),A.TgZ(44,"span",23),A.ALo(45,"translate"),A.TgZ(46,"mat-checkbox",26),A.NdJ("change",function(){return A.CHM(st),A.oxw().passwordResetChange()}),A._uU(47),A.ALo(48,"translate"),A.qZA(),A.qZA(),A._UZ(49,"perun-web-apps-password-form",27),A.qZA(),A.qZA(),A.TgZ(50,"mat-step"),A.YNc(51,Ze,2,3,"ng-template",10),A.TgZ(52,"div",28),A.TgZ(53,"h5",13),A._uU(54),A.ALo(55,"translate"),A.qZA(),A.TgZ(56,"div",14),A.TgZ(57,"h6"),A._uU(58),A.ALo(59,"translate"),A.qZA(),A.TgZ(60,"mat-radio-group",29),A.NdJ("ngModelChange",function(Fe){return A.CHM(st),A.oxw().sponsorType=Fe}),A.TgZ(61,"span",30),A.ALo(62,"translate"),A.TgZ(63,"mat-radio-button",31),A.NdJ("click",function(){return A.CHM(st),A.oxw().selectedSponsor=null}),A._uU(64),A.ALo(65,"translate"),A.qZA(),A.qZA(),A.TgZ(66,"span",30),A.ALo(67,"translate"),A.TgZ(68,"mat-radio-button",32),A._uU(69),A.ALo(70,"translate"),A.qZA(),A.qZA(),A.qZA(),A.YNc(71,ne,2,2,"div",16),A.qZA(),A.TgZ(72,"h6",14),A._uU(73),A.ALo(74,"translate"),A.qZA(),A.TgZ(75,"perun-web-apps-expiration-select",33),A.NdJ("datePicker",function(Fe){return A.CHM(st),A.oxw().setExpiration(Fe)}),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.oxw();A.xp6(1),A.Q6J("linear",!0),A.xp6(2),A.Q6J("stepControl",st.userControl),A.xp6(2),A.Q6J("ngIf",st.functionalityNotSupported),A.xp6(1),A.Q6J("formGroup",st.userControl),A.xp6(2),A.hij(" ",A.lcZ(9,42,"DIALOGS.CREATE_SPONSORED_MEMBER.USER_TITLE")," "),A.xp6(3),A.s9C("placeholder",A.lcZ(12,44,"DIALOGS.CREATE_SPONSORED_MEMBER.FIRST_NAME")),A.xp6(2),A.Q6J("ngIf",st.userControl.hasError("required","firstName")),A.xp6(2),A.s9C("placeholder",A.lcZ(16,46,"DIALOGS.CREATE_SPONSORED_MEMBER.LAST_NAME")),A.xp6(2),A.Q6J("ngIf",st.userControl.hasError("required","lastName")),A.xp6(2),A.s9C("placeholder",A.lcZ(20,48,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_BEFORE")),A.xp6(3),A.s9C("placeholder",A.lcZ(23,50,"DIALOGS.CREATE_SPONSORED_MEMBER.TITLE_AFTER")),A.xp6(2),A.Q6J("stepControl",st.namespaceControl),A.xp6(3),A.Oqu(A.lcZ(28,52,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE_TITLE")),A.xp6(2),A.Q6J("formGroup",st.namespaceControl),A.xp6(2),A.s9C("placeholder",A.lcZ(32,54,"DIALOGS.CREATE_SPONSORED_MEMBER.NAMESPACE")),A.xp6(2),A.Q6J("ngForOf",st.namespaceOptions),A.xp6(1),A.Q6J("ngIf",st.namespaceControl.hasError("required","namespace")),A.xp6(1),A.s9C("matTooltip",A.lcZ(36,56,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN_DISABLED")),A.Q6J("matTooltipDisabled",st.namespaceControl.get("login").enabled),A.xp6(2),A.s9C("placeholder",A.lcZ(38,58,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN")),A.xp6(2),A.Q6J("ngIf",st.namespaceControl.hasError("required","login")),A.xp6(2),A.s9C("placeholder",A.lcZ(42,60,"DIALOGS.CREATE_SPONSORED_MEMBER.EMAIL")),A.xp6(2),A.Q6J("ngIf",st.namespaceControl.hasError("required","email")||st.namespaceControl.hasError("pattern","email")),A.xp6(1),A.s9C("matTooltip",A.lcZ(45,62,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET_DISABLED")),A.Q6J("matTooltipDisabled",st.namespaceControl.get("passwordReset").enabled),A.xp6(3),A.hij("",A.lcZ(48,64,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD_RESET")," "),A.xp6(2),A.Q6J("formGroup",st.namespaceControl)("namespace",st.selectedNamespace)("tooltipPwdViaEmail",st.namespaceControl.get("passwordReset").value),A.xp6(5),A.Oqu(A.lcZ(55,66,"DIALOGS.CREATE_SPONSORED_MEMBER.SPONSORSHIP_TITLE")),A.xp6(4),A.Oqu(A.lcZ(59,68,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SPONSOR")),A.xp6(2),A.Q6J("ngModel",st.sponsorType),A.xp6(1),A.s9C("matTooltip",A.lcZ(62,70,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF_DISABLED")),A.Q6J("matTooltipDisabled",st.isSponsor),A.xp6(2),A.Q6J("disabled",!st.isSponsor),A.xp6(1),A.hij(" ",A.lcZ(65,72,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_SELF")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(67,74,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER_DISABLED")),A.Q6J("matTooltipDisabled",st.isPerunAdmin),A.xp6(2),A.Q6J("disabled",!st.isPerunAdmin),A.xp6(1),A.hij(" ",A.lcZ(70,76,"DIALOGS.CREATE_SPONSORED_MEMBER.SELECT_OTHER")," "),A.xp6(2),A.Q6J("ngIf","other"===st.sponsorType),A.xp6(2),A.Oqu(A.lcZ(74,78,"DIALOGS.CREATE_SPONSORED_MEMBER.EXPIRATION"))}}function Be(St,Kt){if(1&St&&(A.TgZ(0,"div",6),A.TgZ(1,"div",37),A.TgZ(2,"mat-icon",38),A._uU(3,"done"),A.qZA(),A._uU(4),A.ALo(5,"translate"),A.TgZ(6,"i"),A._uU(7),A.ALo(8,"userFullName"),A.qZA(),A._uU(9),A.ALo(10,"translate"),A.qZA(),A.TgZ(11,"div"),A._uU(12),A.ALo(13,"translate"),A.qZA(),A.TgZ(14,"div"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.TgZ(17,"perun-web-apps-alert",39),A._uU(18),A.ALo(19,"translate"),A.qZA(),A.qZA()),2&St){const st=A.oxw();A.xp6(4),A.hij(" ",A.lcZ(5,8,"DIALOGS.CREATE_SPONSORED_MEMBER.USER")," "),A.xp6(3),A.Oqu(A.lcZ(8,10,st.createdMember.user)),A.xp6(2),A.hij(" ",A.lcZ(10,12,"DIALOGS.CREATE_SPONSORED_MEMBER.WAS_CREATED")," "),A.xp6(3),A.AsE("",A.lcZ(13,14,"DIALOGS.CREATE_SPONSORED_MEMBER.LOGIN"),": ",st.loginThatWasSet,""),A.xp6(3),A.AsE(" ",A.lcZ(16,16,"DIALOGS.CREATE_SPONSORED_MEMBER.PASSWORD")," : ",st.namespaceControl.get("passwordCtrl").value," "),A.xp6(3),A.Oqu(A.lcZ(19,18,"DIALOGS.CREATE_SPONSORED_MEMBER.COPY_INFORMATION"))}}function ze(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",40),A.TgZ(1,"button",41),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.qZA()}2&St&&(A.xp6(2),A.hij(" ",A.lcZ(3,1,"DIALOGS.CREATE_SPONSORED_MEMBER.OK")," "))}function Ue(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",41),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperPrevious()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.BACK")," "))}function _e(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",46),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperNext()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.ekj("ml-2",void 0!==st.stepper&&0!==st.stepper.selectedIndex)("ml-auto",!(void 0!==st.stepper&&0!==st.stepper.selectedIndex)),A.Q6J("disabled",st.getStepperNextConditions()),A.xp6(1),A.hij(" ",A.lcZ(2,6,"DIALOGS.CREATE_SPONSORED_MEMBER.NEXT")," ")}}function ae(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",47),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).onConfirm()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("disabled",null===st.sponsorType||"other"===st.sponsorType&&null===st.selectedSponsor),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.CREATE_SPONSORED_MEMBER.SUBMIT")," ")}}function Ae(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",40),A.TgZ(1,"button",42),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,Ue,3,3,"button",43),A.YNc(5,_e,3,8,"button",44),A.YNc(6,ae,3,4,"button",45),A.qZA()}if(2&St){const st=A.oxw();A.xp6(2),A.hij(" ",A.lcZ(3,4,"DIALOGS.CREATE_SPONSORED_MEMBER.CANCEL")," "),A.xp6(2),A.Q6J("ngIf",void 0!==st.stepper&&0!==st.stepper.selectedIndex),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex!==st.stepper._steps.length-1),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex===st.stepper._steps.length-1)}}let ee=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=st,this.data=kt,this.membersService=Fe,this.apiRequestConfiguration=Bt,this.usersService=Je,this.store=wt,this.translator=Gt,this.authzService=li,this.guiAuthResolver=vi,this.formBuilder=Vi,this.cd=Ui,this.loading=!1,this.functionalityNotSupported=!1,this.loginThatWasSet="",this.successfullyCreated=!1,this.namespaceOptions=[],this.selectedNamespace=null,this.userControl=null,this.namespaceControl=null,this.voSponsors=[],this.selectedSponsor=null,this.sponsorType="self",this.isSponsor=!1,this.isPerunAdmin=!1,this.namespaceRules=[],this.parsedRules=new Map,this.expiration="never"}static parseAttributes(st,kt,Fe){for(const Bt of kt)switch(Bt){case"login":st.login=Fe;break;case"password":st.password=Fe}}onConfirm(){this.loading=!0;const st={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},kt=this.namespaceControl.get("namespace").value,Fe=this.parsedRules.get(kt);"No namespace"!==kt&&(st.userData.namespace=kt),"disabled"!==Fe.login&&(st.userData.login=this.namespaceControl.get("login").value),"disabled"!==Fe.password&&(st.sendActivationLink=this.namespaceControl.get("passwordReset").value,st.userData.password=this.namespaceControl.get("passwordCtrl").value),"never"!==this.expiration&&(st.validityTo=this.expiration),this.membersService.createSponsoredMember(st).subscribe(Bt=>{this.successfullyCreated=!0,this.dialogRef.updateSize("600px"),this.createdMember=Bt,!!Bt&&!!Bt.userAttributes&&Bt.userAttributes.filter(Je=>"login-namespace"===Je.baseFriendlyName).filter(Je=>Je.friendlyNameParameter===kt).filter(Je=>null!==Je.value).forEach(Je=>{this.loginThatWasSet=Je.value}),this.loading=!1},()=>{this.loading=!1})}onCancel(){this.successfullyCreated?this.dialogRef.close(!0):this.dialogRef.close()}onNamespaceChanged(st){this.selectedNamespace=st;const kt=this.parsedRules.get(st),Fe=this.namespaceControl.get("login"),Bt=this.namespaceControl.get("passwordCtrl"),Je=this.namespaceControl.get("passwordAgainCtrl"),wt=this.namespaceControl.get("passwordReset");"disabled"!==kt.login?(0,w.mH)(Fe,"optional"===kt.login?[]:[E.kI.required]):(Fe.disable(),Fe.setValue("")),"disabled"!==kt.password?((0,w.mH)(Bt,"optional"===kt.password?[]:[E.kI.required],[(0,N.yT)(st,this.usersService,this.apiRequestConfiguration)]),(0,w.mH)(Je,[]),(0,w.mH)(wt,[]),this.namespaceControl.get("passwordReset").setValue(!1)):(Bt.disable(),Bt.setValue(""),Je.disable(),Je.setValue(""),wt.disable(),wt.setValue(!1))}passwordResetChange(){const st=this.namespaceControl.get("passwordCtrl"),kt=this.namespaceControl.get("passwordAgainCtrl");this.namespaceControl.get("passwordReset").value?(st.disable(),st.setValue(""),kt.disable(),kt.setValue("")):(st.enable(),kt.enable())}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"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()}ngOnInit(){this.loading=!0,this.theme=this.data.theme,this.voSponsors=this.data.sponsors,this.isSponsor=this.guiAuthResolver.principalHasRole(I.u.SPONSOR,"Vo",this.data.voId),this.isPerunAdmin=this.guiAuthResolver.isPerunAdmin(),this.sponsorType=this.isSponsor?"self":"other",this.userControl=this.formBuilder.group({firstName:["",E.kI.required],lastName:["",E.kI.required],titleBefore:[""],titleAfter:[""]}),this.namespaceControl=this.formBuilder.group({namespace:["",E.kI.required],login:["",[E.kI.required]],passwordCtrl:["",E.kI.required,[(0,N.yT)(null,this.usersService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""],passwordReset:[!1,[]],email:["",[E.kI.required,E.kI.pattern(w.B2)]]},{validators:w.dN.passwordMatchValidator}),this.membersService.getAllNamespacesRules().subscribe(st=>{this.store.get("allow_empty_sponsor_namespace")&&this.namespaceRules.push({namespaceName:"No namespace",requiredAttributes:[],optionalAttributes:[]}),this.namespaceRules=this.namespaceRules.concat(st),this.parseNamespaceRules(),0===this.namespaceOptions.length&&(this.functionalityNotSupported=!0),this.loading=!1,this.cd.detectChanges()})}parseNamespaceRules(){for(const st of this.namespaceRules){this.namespaceOptions.push(st.namespaceName);const kt={login:"disabled",password:"disabled"};St.parseAttributes(kt,st.requiredAttributes,"required"),St.parseAttributes(kt,st.optionalAttributes,"optional"),this.parsedRules.set(st.namespaceName,kt)}}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(e.uq),A.Y36(b.F5),A.Y36(e.Fv),A.Y36(b.d6),A.Y36(q.sK),A.Y36(e.Ct),A.Y36(b.x4),A.Y36(E.qu),A.Y36(A.sBO))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-create-sponsored-member-dialog"]],viewQuery:function(st,kt){if(1&st&&A.Gf(We,5),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.stepper=Fe.first)}},decls:7,vars:9,consts:[["mat-dialog-title","",4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",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"],["formControlName","namespace","required","",3,"placeholder","valueChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltipPosition","left",3,"matTooltip","matTooltipDisabled"],["matInput","","formControlName","login","required","",3,"placeholder"],["matInput","","formControlName","email","required","",3,"placeholder"],["labelPosition","before","formControlName","passwordReset",3,"change"],[3,"formGroup","namespace","tooltipPwdViaEmail"],[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,"disableAutoSelect","users","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(st,kt){1&st&&(A.TgZ(0,"div"),A.YNc(1,ge,3,3,"h1",0),A.YNc(2,Le,1,0,"mat-spinner",1),A.YNc(3,it,76,80,"div",2),A.YNc(4,Be,20,20,"div",2),A.YNc(5,ze,4,3,"div",3),A.YNc(6,Ae,7,6,"div",3),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(1),A.Q6J("ngIf",!kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading&&!kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",!kt.loading&&kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",kt.successfullyCreated),A.xp6(1),A.Q6J("ngIf",!kt.loading&&!kt.successfullyCreated))},directives:[v.O5,_.uh,j.Ou,_.xY,G.Vq,G.C0,G.VY,Q.w,E._Y,E.JL,E.sg,he.KE,F.Nt,E.Fj,E.JJ,E.u,E.Q7,he.TO,be.gD,v.sg,pe.ey,ye.gM,T.oG,R.G,L.VQ,E.On,L.U0,X.S,se,Te.Hw,_.H8,Oe.lW],pipes:[q.X$,Se.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}"]}),St})();var Ne=h(64080),V=h(61150),H=h(7434),D=h(24179),O=h(92181);const i=["stepper"];function o(St,Kt){1&St&&A._UZ(0,"mat-spinner",4)}function u(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_LABEL"))}function l(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",29),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.CREATE_SPONSORED_MEMBER.FUNCTIONALITY_NOT_SUPPORTED")," "))}function s(St,Kt){if(1&St&&(A.TgZ(0,"mat-option",30),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.Q6J("value",st),A.xp6(1),A.hij(" ",st," ")}}function n(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE_ERROR")," "))}function t(St,Kt){1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMES_ERROR")," "))}function r(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_FORMAT"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidFormat").value," ")}}function a(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_EMAIL"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidEmail").value," ")}}function d(St,Kt){if(1&St&&(A.TgZ(0,"mat-error"),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(3);A.xp6(1),A.AsE(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ERROR_LOGIN"),": ",st.usersInfoFormGroup.get("sponsoredMembers").getError("invalidLogin").value," ")}}function f(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_LABEL"))}function x(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",31),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_NAMESPACE_PASSWORD_INFO")," "))}function Ye(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"mat-radio-group",32),A.NdJ("ngModelChange",function(Fe){return A.CHM(st),A.oxw(3).passwordReset=Fe}),A.TgZ(1,"mat-radio-button",33),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"mat-radio-button",34),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(3);A.Q6J("ngModel",st.passwordReset),A.xp6(2),A.hij(" ",A.lcZ(3,3,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GENERATE_PASSWORD")," "),A.xp6(3),A.hij(" ",A.lcZ(6,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_RESET")," ")}}function It(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION_LABEL"))}function jt(St,Kt){1&St&&(A._uU(0),A.ALo(1,"translate")),2&St&&A.Oqu(A.lcZ(1,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUPS_LABEL"))}function bt(St,Kt){1&St&&(A.TgZ(0,"div"),A.TgZ(1,"perun-web-apps-alert",35),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.qZA()),2&St&&(A.xp6(2),A.Oqu(A.lcZ(3,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DONT_ASSIGN_INFO")))}function Yt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"h5",36),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-create-group-form",37),A.NdJ("asSubgroupChanged",function(Fe){return A.CHM(st),A.oxw(3).asSubGroup=Fe})("nameChanged",function(Fe){return A.CHM(st),A.oxw(3).name=Fe})("descriptionChanged",function(Fe){return A.CHM(st),A.oxw(3).description=Fe})("parentGroupChanged",function(Fe){return A.CHM(st),A.oxw(3).parentGroup=Fe}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(3);A.xp6(2),A.hij(" ",A.lcZ(3,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CREATE_NEW_GROUP")," "),A.xp6(2),A.Q6J("voGroups",st.allVoGroups)}}const Ct=function(){return["select","id","name","description"]};function Nt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div"),A.TgZ(1,"h5",36),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-immediate-filter",38),A.NdJ("filter",function(Fe){return A.CHM(st),A.oxw(3).applyFilter(Fe)}),A.qZA(),A._UZ(5,"perun-web-apps-groups-list",39),A.qZA()}if(2&St){const st=A.oxw(3);A.xp6(2),A.hij(" ",A.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SELECT_EXISTING_GROUPS")," "),A.xp6(2),A.Q6J("placeholder","SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_SEARCH"),A.xp6(1),A.Q6J("groups",st.assignableGroups)("selection",st.selection)("disableRouting",!0)("displayedColumns",A.DdM(10,Ct))("filter",st.filterValue)("tableId",st.tableId)}}function He(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"mat-stepper",8,9),A.TgZ(2,"mat-step",10),A.YNc(3,u,2,3,"ng-template",11),A.YNc(4,l,3,3,"perun-web-apps-alert",12),A.TgZ(5,"h5",13),A._uU(6),A.ALo(7,"translate"),A.qZA(),A.TgZ(8,"form",14),A.TgZ(9,"mat-form-field"),A.TgZ(10,"mat-select",15),A.ALo(11,"translate"),A.YNc(12,s,2,2,"mat-option",16),A.qZA(),A.YNc(13,n,3,3,"mat-error",7),A.qZA(),A.TgZ(14,"div"),A._uU(15),A.ALo(16,"translate"),A.qZA(),A.TgZ(17,"div",17),A._uU(18),A.qZA(),A.TgZ(19,"mat-form-field",18),A.TgZ(20,"mat-label"),A._uU(21),A.ALo(22,"translate"),A.qZA(),A.TgZ(23,"textarea",19),A._uU(24," "),A.qZA(),A.YNc(25,t,3,3,"mat-error",7),A.YNc(26,r,3,4,"mat-error",7),A.YNc(27,a,3,4,"mat-error",7),A.YNc(28,d,3,4,"mat-error",7),A.qZA(),A.qZA(),A.qZA(),A.TgZ(29,"mat-step"),A.YNc(30,f,2,3,"ng-template",11),A.TgZ(31,"div",13),A.TgZ(32,"h5",20),A._uU(33),A.ALo(34,"translate"),A.qZA(),A.YNc(35,x,3,3,"perun-web-apps-alert",21),A.YNc(36,Ye,7,7,"mat-radio-group",22),A.qZA(),A.qZA(),A.TgZ(37,"mat-step"),A.YNc(38,It,2,3,"ng-template",11),A.TgZ(39,"div",13),A.TgZ(40,"h5",20),A._uU(41),A.ALo(42,"translate"),A.qZA(),A.TgZ(43,"perun-web-apps-expiration-select",23),A.NdJ("datePicker",function(Fe){return A.CHM(st),A.oxw(2).setExpiration(Fe)}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(44,"mat-step"),A.YNc(45,jt,2,3,"ng-template",11),A.TgZ(46,"div",13),A.TgZ(47,"h5",20),A._uU(48),A.ALo(49,"translate"),A.qZA(),A.TgZ(50,"mat-radio-group",24),A.NdJ("change",function(){return A.CHM(st),A.oxw(2).groupAssigmentChanged()})("ngModelChange",function(Fe){return A.CHM(st),A.oxw(2).groupAssignment=Fe}),A.TgZ(51,"mat-radio-button",25),A._uU(52),A.ALo(53,"translate"),A.qZA(),A.TgZ(54,"span",26),A.ALo(55,"translate"),A.TgZ(56,"mat-radio-button",27),A._uU(57),A.ALo(58,"translate"),A.qZA(),A.qZA(),A.TgZ(59,"span",26),A.ALo(60,"translate"),A.TgZ(61,"mat-radio-button",28),A._uU(62),A.ALo(63,"translate"),A.qZA(),A.qZA(),A.qZA(),A.qZA(),A.YNc(64,bt,4,3,"div",7),A.YNc(65,Yt,5,4,"div",7),A.YNc(66,Nt,6,11,"div",7),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("linear",!0),A.xp6(2),A.Q6J("stepControl",st.usersInfoFormGroup),A.xp6(2),A.Q6J("ngIf",st.functionalityNotSupported),A.xp6(2),A.Oqu(A.lcZ(7,35,"DIALOGS.GENERATE_SPONSORED_MEMBERS.USERS_INFO")),A.xp6(2),A.Q6J("formGroup",st.usersInfoFormGroup),A.xp6(2),A.s9C("placeholder",A.lcZ(11,37,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NAMESPACE")),A.xp6(2),A.Q6J("ngForOf",st.namespaceOptions),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("required","namespace")),A.xp6(2),A.Oqu(A.lcZ(16,39,"DIALOGS.GENERATE_SPONSORED_MEMBERS.HINT")),A.xp6(3),A.hij(" ",st.getSelectedNamespaceRules().csvGenHeaderDescription," "),A.xp6(3),A.Oqu(A.lcZ(22,41,"DIALOGS.GENERATE_SPONSORED_MEMBERS.INSERT_HERE")),A.xp6(2),A.s9C("placeholder",st.getSelectedNamespaceRules().csvGenPlaceholder),A.xp6(2),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("required","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidFormat","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidEmail","sponsoredMembers")),A.xp6(1),A.Q6J("ngIf",st.usersInfoFormGroup.hasError("invalidLogin","sponsoredMembers")),A.xp6(5),A.hij(" ",A.lcZ(34,43,"DIALOGS.GENERATE_SPONSORED_MEMBERS.PASSWORD_MANAGEMENT")," "),A.xp6(2),A.Q6J("ngIf","No namespace"===st.getSelectedNamespaceRules().namespaceName),A.xp6(1),A.Q6J("ngIf","No namespace"!==st.getSelectedNamespaceRules().namespaceName),A.xp6(5),A.Oqu(A.lcZ(42,45,"DIALOGS.GENERATE_SPONSORED_MEMBERS.EXPIRATION")),A.xp6(2),A.Q6J("expiration",st.expiration),A.xp6(5),A.Oqu(A.lcZ(49,47,"DIALOGS.GENERATE_SPONSORED_MEMBERS.GROUP_ASSIGMENT")),A.xp6(2),A.Q6J("ngModel",st.groupAssignment),A.xp6(2),A.hij(" ",A.lcZ(53,49,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NO_ASSIGN")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(55,51,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_NEW")),A.Q6J("matTooltipDisabled",!st.manualMemberAddingBlocked&&st.createGroupAuth),A.xp6(2),A.Q6J("disabled",st.manualMemberAddingBlocked||!st.createGroupAuth),A.xp6(1),A.hij(" ",A.lcZ(58,53,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_TO_NEW")," "),A.xp6(2),A.s9C("matTooltip",A.lcZ(60,55,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DISABLED_ASSIGN_EXISTING")),A.Q6J("matTooltipDisabled",!st.manualMemberAddingBlocked&&0!==st.assignableGroups.length),A.xp6(2),A.Q6J("disabled",st.manualMemberAddingBlocked||0===st.assignableGroups.length),A.xp6(1),A.hij(" ",A.lcZ(63,57,"DIALOGS.GENERATE_SPONSORED_MEMBERS.ASSIGN_EXISTING")," "),A.xp6(2),A.Q6J("ngIf","none"===st.groupAssignment),A.xp6(1),A.Q6J("ngIf","new"===st.groupAssignment),A.xp6(1),A.Q6J("ngIf","existing"===st.groupAssignment)}}function je(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",41),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.Q6J("alert_type","success"),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUCCESS")," "))}function Z(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",41),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.Q6J("alert_type","warn"),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.FINISHED_WITH_ERRORS")," "))}function $(St,Kt){if(1&St&&(A.TgZ(0,"div"),A.YNc(1,je,3,4,"perun-web-apps-alert",40),A.YNc(2,Z,3,4,"perun-web-apps-alert",40),A.qZA()),2&St){const st=A.oxw(2);A.xp6(1),A.Q6J("ngIf",!1===st.finishedWithErrors),A.xp6(1),A.Q6J("ngIf",st.finishedWithErrors)}}function oe(St,Kt){if(1&St&&(A.TgZ(0,"div",5),A.YNc(1,He,67,59,"mat-stepper",6),A.YNc(2,$,3,2,"div",7),A.qZA()),2&St){const st=A.oxw();A.xp6(1),A.Q6J("ngIf","user-input"===st.state),A.xp6(1),A.Q6J("ngIf","results"===st.state)}}function nt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",47),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperPrevious()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.GENERATE_SPONSORED_MEMBERS.BACK")," "))}function ct(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",48),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).stepperNext()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.ekj("ml-2",void 0!==st.stepper&&0!==st.stepper.selectedIndex)("ml-auto",!(void 0!==st.stepper&&0!==st.stepper.selectedIndex)),A.Q6J("disabled",st.getStepperNextConditions()),A.xp6(1),A.hij(" ",A.lcZ(2,6,"DIALOGS.GENERATE_SPONSORED_MEMBERS.NEXT")," ")}}function Rt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",48),A.NdJ("click",function(){return A.CHM(st),A.oxw(2).onSubmit()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("disabled",null===st.groupAssignment||"existing"===st.groupAssignment&&0===st.selection.selected.length||"new"===st.groupAssignment&&(0===st.name.length||0===st.description.length)||!0===st.asSubGroup&&null===st.parentGroup),A.xp6(1),A.hij(" ",A.lcZ(2,2,"DIALOGS.GENERATE_SPONSORED_MEMBERS.SUBMIT")," ")}}function mt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",42),A.TgZ(1,"button",43),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCancel()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,nt,3,3,"button",44),A.YNc(5,ct,3,8,"button",45),A.YNc(6,Rt,3,4,"button",46),A.qZA()}if(2&St){const st=A.oxw();A.xp6(2),A.hij(" ",A.lcZ(3,4,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CANCEL")," "),A.xp6(2),A.Q6J("ngIf",void 0!==st.stepper&&0!==st.stepper.selectedIndex),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex!==st.stepper._steps.length-1),A.xp6(1),A.Q6J("ngIf",void 0!==st.stepper&&st.stepper.selectedIndex===st.stepper._steps.length-1)}}function Tt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"div",42),A.TgZ(1,"button",43),A.NdJ("click",function(){return A.CHM(st),A.oxw().onClose()}),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"button",49),A._uU(5),A.ALo(6,"translate"),A.qZA(),A.TgZ(7,"mat-menu",null,50),A.TgZ(9,"button",51),A.NdJ("click",function(){return A.CHM(st),A.oxw().generatePdf()}),A._uU(10),A.ALo(11,"translate"),A.qZA(),A.TgZ(12,"button",51),A.NdJ("click",function(){return A.CHM(st),A.oxw().downloadCsv()}),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.MAs(8);A.xp6(2),A.hij(" ",A.lcZ(3,5,"DIALOGS.GENERATE_SPONSORED_MEMBERS.CLOSE")," "),A.xp6(2),A.Q6J("matMenuTriggerFor",st),A.xp6(1),A.hij(" ",A.lcZ(6,7,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD")," "),A.xp6(5),A.hij(" ",A.lcZ(11,9,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_PDF")," "),A.xp6(3),A.hij(" ",A.lcZ(14,11,"DIALOGS.GENERATE_SPONSORED_MEMBERS.DOWNLOAD_CSV")," ")}}let ot=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt,Gt,li,vi,Vi,Ui,bn){this.dialogRef=st,this.data=kt,this.store=Fe,this.membersService=Bt,this.notificator=Je,this.translate=wt,this.guiAuthResolver=Gt,this.groupsService=li,this.attributesService=vi,this.formBuilder=Vi,this.sponsoredMembersPDFService=Ui,this.cd=bn,this.loading=!1,this.functionalityNotSupported=!1,this.namespaceOptions=[],this.state="user-input",this.passwordReset="generate",this.groupAssignment=null,this.expiration="never",this.assignableGroups=[],this.allVoGroups=[],this.selection=new c.Ov(!0,[]),this.manualMemberAddingBlocked=!1,this.name="",this.description="",this.asSubGroup=!1,this.parentGroup=null,this.groupIds=[],this.filterValue="",this.tableId=g.rc,this.finishedWithErrors=!1,this.namespaceRules=[],this.resultData=[],this.groupAttrNames=[Ne.r.GROUP_SYNC_ENABLED,Ne.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING]}static didSomeGenerationFailed(st){return st.forEach(kt=>{if("OK"!==kt.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:["",E.kI.required],sponsoredMembers:["",[E.kI.required,this.userInputValidator()]]}),this.usersInfoFormGroup.controls.namespace.valueChanges.subscribe({next:()=>{this.usersInfoFormGroup.controls.sponsoredMembers.updateValueAndValidity()}}),this.attributesService.getVoAttributes(this.data.voId).subscribe(st=>{this.manualMemberAddingBlocked=(0,w.jh)(st,Ne.r.VO_BLOCK_MANUAL_MEMBER_ADDING),this.manualMemberAddingBlocked?(this.loading=!1,this.cd.detectChanges()):this.groupsService.getAllRichGroupsWithAttributesByNames(this.data.voId,this.groupAttrNames).subscribe(kt=>{this.allVoGroups=kt.filter(Fe=>"members"!==Fe.name),this.assignableGroups=this.filterAssignableGroups(kt),this.membersService.getAllNamespacesRules().subscribe(Fe=>{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(Fe),this.namespaceRules.forEach(Bt=>this.namespaceOptions.push(Bt.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)}onCancel(){this.dialogRef.close(!1)}onClose(){this.dialogRef.close(!0)}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"yyyy-MM-dd","en-GB")}applyFilter(st){this.filterValue=st}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(st=>{this.groupIds.push(st.id),this.onGenerate()},()=>this.loading=!1):this.groupsService.createGroupWithVoNameDescription(this.data.voId,this.name,this.description).subscribe(st=>{this.groupIds.push(st.id),this.onGenerate()},()=>this.loading=!1):("existing"===this.groupAssignment&&(this.groupIds=this.selection.selected.map(st=>st.id)),this.onGenerate())}getSelectedNamespaceRules(){return this.namespaceRules.find(st=>st.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,w.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()}filterAssignableGroups(st){const kt=[];for(const Fe of st)!(0,w.bx)(Fe)&&!(0,w.jh)(Fe.attributes,Ne.r.GROUP_BLOCK_MANUAL_MEMBER_ADDING)&&this.guiAuthResolver.isAuthorized("addMembers_Group_List_policy",[Fe])&&kt.push(Fe);return kt}createOutputObjects(st){let kt="",Fe="",Bt="",Je="";const wt=[];return st.forEach(Gt=>{kt=Gt.name.replace(";"," ").split(";")[0],Fe=Gt.status,Bt=Gt.login?Gt.login:Bt,Je=Gt.password?Gt.password:Je;const li={name:kt,status:Fe,login:Bt,password:Je};Gt.note&&(li.note=Gt.note),wt.push(li)}),wt}onGenerate(){this.loading=!0;const st=this.usersInfoFormGroup.get("sponsoredMembers").value.split("\n"),kt=this.getSelectedNamespaceRules().csvGenHeader,Fe=[];for(const Je of st){const wt=this.parseMemberLine(Je);if("format"===wt||"email"===wt)return void(this.loading=!1);""!==wt&&Fe.push(wt)}const Bt={data:Fe,header:kt,namespace:"",sponsor:this.store.getPerunPrincipal().userId,vo:this.data.voId,sendActivationLinks:"reset"===this.passwordReset};"none"!==this.groupAssignment&&(Bt.groups=this.groupIds),"never"!==this.expiration&&(Bt.validityTo=(0,v.p6)(this.expiration,"yyyy-MM-dd","en-GB")),"No namespace"!==this.usersInfoFormGroup.get("namespace").value&&(Bt.namespace=this.usersInfoFormGroup.get("namespace").value),this.membersService.createSponsoredMembersFromCSV(Bt).subscribe(Je=>{this.state="results",this.finishedWithErrors=St.didSomeGenerationFailed(Je),this.loading=!1,this.resultData=Je},()=>this.loading=!1)}parseMemberLine(st){const kt=st.trim();if(""===kt)return"";const Fe=kt.split(";"),Bt=this.getSelectedNamespaceRules().csvGenHeader.split(";");if(Fe.length!==Bt.length)return"format";if("mail"===Bt[2].slice(Bt[2].length-4).toLowerCase()&&!Fe[2].trim().match(w.B2))return"email";if("login"===Bt[3]&&""===Fe[3].trim())return"login";let Je="";for(const wt of Fe)Je+=wt.trim()+";";return Je.slice(0,-1)}userInputValidator(){return st=>{const kt=st.value.split("\n");for(const Fe of kt){const Bt=this.parseMemberLine(Fe);if("format"===Bt)return{invalidFormat:{value:Fe}};if("email"===Bt)return{invalidEmail:{value:Fe}};if("login"===Bt)return{invalidLogin:{value:Fe}}}return null}}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(b.d6),A.Y36(e.uq),A.Y36(b.V6),A.Y36(q.sK),A.Y36(b.x4),A.Y36(e.ff),A.Y36(e.H8),A.Y36(E.qu),A.Y36(b.HV),A.Y36(A.sBO))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-generate-sponsored-members-dialog"]],viewQuery:function(st,kt){if(1&st&&A.Gf(i,5),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.stepper=Fe.first)}},decls:8,vars:10,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["class","dialog-container","mat-dialog-content","",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"],["formControlName","namespace","required","",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[1,"font-weight-bold"],[1,"pt-2"],["cols","50","id","voGenerateSponsoredMembers","name","voGenerateSponsoredMembers","formControlName","sponsoredMembers","matInput","","rows","8",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","asSubgroupChanged","nameChanged","descriptionChanged","parentGroupChanged"],[3,"placeholder","filter"],[3,"groups","selection","disableRouting","displayedColumns","filter","tableId"],[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"],["color","accent","mat-flat-button","",1,"ml-auto","dropdown-toggle",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.YNc(4,o,1,0,"mat-spinner",1),A.YNc(5,oe,3,2,"div",2),A.YNc(6,mt,7,6,"div",3),A.YNc(7,Tt,15,13,"div",3),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(2),A.Oqu(A.lcZ(3,8,"DIALOGS.GENERATE_SPONSORED_MEMBERS.TITLE")),A.xp6(2),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading&&void 0!==kt.stepper&&"results"!==kt.state),A.xp6(1),A.Q6J("ngIf","results"===kt.state))},directives:[_.uh,v.O5,j.Ou,_.xY,G.Vq,G.C0,G.VY,Q.w,E._Y,E.JL,E.sg,he.KE,be.gD,E.JJ,E.u,E.Q7,v.sg,pe.ey,he.TO,he.hX,E.Fj,F.Nt,L.VQ,E.On,L.U0,se,ye.gM,V.r,H.L,D.W,_.H8,Oe.lW,O.p6,O.VK,O.OP],pipes:[q.X$],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),St})();var rt=h(38383);function lt(St,Kt){1&St&&A._UZ(0,"mat-spinner",12)}const ut=function(){return["checkbox","id","fullName","status","sponsored","email"]};function Ht(St,Kt){if(1&St&&A._UZ(0,"perun-web-apps-members-list",13),2&St){const st=A.oxw();A.Q6J("disableRouting",!0)("hidden",st.loading)("disableStatusChange",!0)("members",st.members)("selection",st.selection)("displayedColumns",A.DdM(7,ut))("tableId",st.tableId)}}function Qt(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",14),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"DIALOGS.SPONSOR_EXISTING_MEMBER.BEGIN_SEARCH")," "))}let ni=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt){this.dialogRef=st,this.data=kt,this.store=Fe,this.membersService=Bt,this.notificator=Je,this.translate=wt,this.loading=!1,this.tableId=g.US,this.expiration="never",this.searchCtrl=new E.NI("",[E.kI.required]),this.firstSearchDone=!1,this.members=[],this.selection=new c.Ov(!0,[])}ngOnInit(){this.theme=this.data.theme}onCancel(){this.dialogRef.close(!1)}sponsor(st){if(this.loading=!0,0===st.length)return this.notificator.showSuccess(this.translate.instant("DIALOGS.SPONSOR_EXISTING_MEMBER.SUCCESS")),this.loading=!1,void this.dialogRef.close(!0);const kt=st.pop();kt.sponsored?this.membersService.sponsorMember(kt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(st)},()=>this.loading=!1):this.membersService.setSponsorshipForMember(kt.id,this.store.getPerunPrincipal().user.id,this.expiration).subscribe(()=>{this.sponsor(st)},()=>this.loading=!1)}onSubmit(){this.loading=!0;const st=Array.from(this.selection.selected);this.expiration="never"===this.expiration?null:this.expiration,this.sponsor(st)}setExpiration(st){this.expiration="never"===st?"never":(0,v.p6)(st,"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,[Ne.r.MEMBER_DEF_EXPIRATION,Ne.r.USER_DEF_PREFERRED_MAIL],this.searchCtrl.value).subscribe(kt=>{this.members=kt,this.loading=!1},()=>this.loading=!1))}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.so),A.Y36(_.WI),A.Y36(b.d6),A.Y36(e.uq),A.Y36(b.V6),A.Y36(q.sK))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-sponsor-existing-member-dialog"]],decls:31,vars:30,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"mr-2","search-field","adjust-width"],["autocomplete","false","matInput","",3,"formControl","placeholder","keyup.enter"],["color","accent","mat-flat-button","",1,"ml-auto",3,"disabled","click"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","hidden","disableStatusChange","members","selection","displayedColumns","tableId",4,"ngIf"],["alert_type","info",4,"ngIf"],[3,"datePicker"],["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"],[3,"disableRouting","hidden","disableStatusChange","members","selection","displayedColumns","tableId"],["alert_type","info"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"div",1),A.TgZ(5,"mat-form-field",2),A.TgZ(6,"label"),A.TgZ(7,"input",3),A.NdJ("keyup.enter",function(){return kt.onSearchByString()}),A.ALo(8,"translate"),A.qZA(),A.qZA(),A.TgZ(9,"mat-error"),A._uU(10),A.ALo(11,"translate"),A.qZA(),A.qZA(),A.TgZ(12,"button",4),A.NdJ("click",function(){return kt.onSearchByString()}),A._uU(13),A.ALo(14,"translate"),A.qZA(),A.YNc(15,lt,1,0,"mat-spinner",5),A.YNc(16,Ht,1,8,"perun-web-apps-members-list",6),A.YNc(17,Qt,3,3,"perun-web-apps-alert",7),A.TgZ(18,"div"),A._UZ(19,"br"),A.TgZ(20,"h6"),A._uU(21),A.ALo(22,"translate"),A.qZA(),A.TgZ(23,"perun-web-apps-expiration-select",8),A.NdJ("datePicker",function(Bt){return kt.setExpiration(Bt)}),A.qZA(),A.qZA(),A.qZA(),A.TgZ(24,"div",9),A.TgZ(25,"button",10),A.NdJ("click",function(){return kt.onCancel()}),A._uU(26),A.ALo(27,"translate"),A.qZA(),A.TgZ(28,"button",11),A.NdJ("click",function(){return kt.onSubmit()}),A._uU(29),A.ALo(30,"translate"),A.qZA(),A.qZA(),A.qZA()),2&st&&(A.Tol(kt.theme),A.xp6(2),A.Oqu(A.lcZ(3,16,"DIALOGS.SPONSOR_EXISTING_MEMBER.TITLE")),A.xp6(5),A.s9C("placeholder",A.lcZ(8,18,"DIALOGS.SPONSOR_EXISTING_MEMBER.DESCRIPTION")),A.Q6J("formControl",kt.searchCtrl),A.xp6(3),A.hij(" ",A.lcZ(11,20,"DIALOGS.SPONSOR_EXISTING_MEMBER.EMPTY_SEARCH_MESSAGE")," "),A.xp6(2),A.Q6J("disabled",kt.loading),A.xp6(1),A.hij(" ",A.lcZ(14,22,"DIALOGS.SPONSOR_EXISTING_MEMBER.SEARCH")," "),A.xp6(2),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",kt.firstSearchDone),A.xp6(1),A.Q6J("ngIf",!kt.firstSearchDone),A.xp6(4),A.Oqu(A.lcZ(22,24,"DIALOGS.SPONSOR_EXISTING_MEMBER.EXPIRATION")),A.xp6(5),A.hij(" ",A.lcZ(27,26,"DIALOGS.SPONSOR_EXISTING_MEMBER.CANCEL")," "),A.xp6(2),A.Q6J("disabled",kt.loading||0===kt.selection.selected.length),A.xp6(1),A.hij(" ",A.lcZ(30,28,"DIALOGS.SPONSOR_EXISTING_MEMBER.SPONSOR")," "))},directives:[_.uh,_.xY,he.KE,F.Nt,E.Fj,E.JJ,E.oH,he.TO,Oe.lW,v.O5,j.Ou,rt.O,Q.w,se,_.H8],pipes:[q.X$],styles:[".adjust-width[_ngcontent-%COMP%]{width:270px}"]}),St})();var hi=h(96214),gi=h(84847),xi=h(32075),ji=h(19352),tn=h(58964),qi=h(18750),Lt=h(50301),oi=h(36157),Pt=h(20919),$e=h(5865);function vt(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"th",19),A.TgZ(1,"mat-checkbox",20),A.NdJ("change",function(Fe){A.CHM(st);const Bt=A.oxw();return Fe?Bt.masterToggle():null}),A.qZA(),A.qZA()}if(2&St){const st=A.oxw();A.xp6(1),A.Q6J("aria-label",st.checkboxLabel())("checked",st.selection.hasValue()&&st.isAllSelected())("indeterminate",st.selection.hasValue()&&!st.isAllSelected())}}function at(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"td",21),A.TgZ(1,"mat-checkbox",22),A.NdJ("change",function(Fe){const Je=A.CHM(st).$implicit,wt=A.oxw();return Fe?wt.selection.toggle(Je):null})("click",function(Fe){return Fe.stopPropagation()}),A.qZA(),A.qZA()}if(2&St){const st=Kt.$implicit,kt=A.oxw();A.xp6(1),A.Q6J("aria-label",kt.checkboxLabel(st))("checked",kt.selection.isSelected(st))}}function Qe(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.ID")," "))}function yt(St,Kt){if(1&St&&(A.TgZ(0,"td",24),A._uU(1),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",st.member.id," ")}}function U(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NAME")," "))}function Ge(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"userFullName"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.member.user)," ")}}function _t(St,Kt){1&St&&(A.TgZ(0,"th",26),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.EMAIL")," "))}function Dt(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"memberEmail"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.Oqu(A.lcZ(2,1,st.member))}}function ti(St,Kt){1&St&&(A.TgZ(0,"th",26),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.LOGIN")," "))}function si(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A._uU(1),A.ALo(2,"memberLogins"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.member)," ")}}function Ii(St,Kt){1&St&&(A.TgZ(0,"th",23),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.SPONSORS")," "))}function wi(St,Kt){if(1&St&&(A.TgZ(0,"span"),A._uU(1),A.ALo(2,"userFullName"),A._UZ(3,"br"),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.hij(" ",A.lcZ(2,1,st.user),"")}}function zi(St,Kt){if(1&St&&(A.TgZ(0,"td",25),A.YNc(1,wi,4,3,"span",27),A.qZA()),2&St){const st=Kt.$implicit;A.xp6(1),A.Q6J("ngForOf",st.sponsors)}}function rn(St,Kt){1&St&&A._UZ(0,"th",23)}function Oi(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"span",30),A.ALo(1,"translate"),A.TgZ(2,"button",31),A.NdJ("mouseenter",function(){return A.CHM(st),A.oxw(2).disableRouting=!0})("mouseleave",function(){A.CHM(st);const Fe=A.oxw(2);return Fe.disableRouting=Fe.routingStrategy})("click",function(){A.CHM(st);const Fe=A.oxw().$implicit;return A.oxw().resetPassword(Fe)}),A.TgZ(3,"mat-icon"),A._uU(4,"vpn_key"),A.qZA(),A.qZA(),A.qZA()}if(2&St){const st=A.oxw(2);A.Q6J("matTooltipPosition","above")("matTooltip",A.lcZ(1,3,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.PASSWORD_RESET")),A.xp6(2),A.Q6J("disabled",st.loading)}}function Hi(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"td",25),A.TgZ(1,"button",28),A.NdJ("click",function(){const Bt=A.CHM(st).$implicit;return A.oxw().showSponsors(Bt)})("mouseenter",function(){return A.CHM(st),A.oxw().disableRouting=!0})("mouseleave",function(){A.CHM(st);const Fe=A.oxw();return Fe.disableRouting=Fe.routingStrategy}),A.TgZ(2,"mat-icon"),A._uU(3,"edit"),A.qZA(),A.qZA(),A.YNc(4,Oi,5,5,"span",29),A.qZA()}if(2&St){const st=Kt.$implicit,kt=A.oxw();A.xp6(4),A.Q6J("ngIf",kt.passwdResetAuth(st))}}function Ki(St,Kt){1&St&&A._UZ(0,"tr",32)}const Li=function(St,Kt){return["/organizations",St,"members",Kt]};function yi(St,Kt){if(1&St&&A._UZ(0,"tr",33),2&St){const st=Kt.$implicit,kt=A.oxw();A.ekj("cursor-pointer",!kt.disableRouting)("disable-outline",kt.disableRouting),A.Q6J("perunWebAppsMiddleClickRouterLink",kt.disableRouting?null:A.WLB(6,Li,st.member.voId,st.member.id))("routerLink",kt.disableRouting?null:A.WLB(9,Li,st.member.voId,st.member.id))}}function nn(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function fn(St,Kt){1&St&&(A.TgZ(0,"perun-web-apps-alert",34),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"SHARED.COMPONENTS.SPONSORED_MEMBERS_LIST.NO_SPONSORED_MEMBERS_WARNING"),"\n"))}let Wi=(()=>{class St{constructor(st,kt,Fe,Bt,Je){this.dialog=st,this.authResolver=kt,this.storeService=Fe,this.attributesManager=Bt,this.tableCheckbox=Je,this.sponsoredMembers=[],this.filterValue="",this.displayedColumns=["id","name","email","logins","sponsors","menu"],this.disableRouting=!1,this.refreshTable=new A.vpe,this.loading=!1,this.routingStrategy=!1,this.pageSizeOptions=w.f7}set matSort(st){this.sort=st}static getSortDataForColumn(st,kt){var Fe;switch(kt){case"id":return st.member.id.toString();case"name":return st.member.user?st.member.user.lastName?st.member.user.lastName:null!==(Fe=st.member.user.firstName)&&void 0!==Fe?Fe:"":"";case"sponsors":return st.sponsors.length.toString();default:return""}}static getDataForColumn(st,kt){switch(kt){case"id":return st.member.id.toString();case"name":return st.member.user?(0,w.bD)(st.member.user):"";case"sponsors":return st.sponsors.map(Fe=>(0,w.bD)(Fe.user)).join();default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(st=>"id"!==st)),this.setDataSource(),this.routingStrategy=this.disableRouting}exportData(st){(0,w.O6)((0,w.Xn)(this.dataSource.filteredData,this.displayedColumns,St.getDataForColumn),st)}setDataSource(){this.dataSource||(this.dataSource=new xi.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(st,kt)=>(0,w.Sd)(st,kt,this.displayedColumns,St.getDataForColumn),this.dataSource.sortData=(st,kt)=>(0,w.pR)(st,kt,St.getSortDataForColumn)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.sponsoredMembers}showSponsors(st){const kt=(0,w.kZ)();kt.width="650px",kt.data={sponsors:st.sponsors,member:st.member,theme:"vo-theme"},this.dialog.open(ji.H,kt).afterClosed().subscribe(Bt=>{Bt&&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(st){return st?`${this.selection.isSelected(st)?"deselect":"select"} row ${st.member.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}resetPassword(st){this.loading=!0;const kt=this.storeService.get("password_namespace_attributes").map(Fe=>{const Bt=Fe.split(":");return Bt[Bt.length-1]});this.attributesManager.getLogins(st.member.userId).subscribe(Fe=>{const Bt=Fe.filter(Gt=>kt.includes(Gt.friendlyNameParameter)),Je=(0,w.kZ)();Je.width="400px",Je.data={userId:st.member.userId,memberId:st.member.id,logins:Bt},this.dialog.open(tn.m,Je).afterClosed().subscribe(()=>{this.loading=!1})},()=>this.loading=!1)}passwdResetAuth(st){return this.authResolver.isAuthorized("sendPasswordResetLinkEmail_Member_String_String_String_String_policy",[{id:st.member.voId,beanName:"Vo"},st.member])}}return St.\u0275fac=function(st){return new(st||St)(A.Y36(_.uw),A.Y36(b.x4),A.Y36(b.d6),A.Y36(e.H8),A.Y36(b.UA))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-sponsored-members-list"]],viewQuery:function(st,kt){if(1&st&&(A.Gf(w.l9,7),A.Gf(gi.YE,7)),2&st){let Fe;A.iGM(Fe=A.CRH())&&(kt.child=Fe.first),A.iGM(Fe=A.CRH())&&(kt.matSort=Fe.first)}},inputs:{sponsoredMembers:"sponsoredMembers",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",disableRouting:"disableRouting",tableId:"tableId"},outputs:{refreshTable:"refreshTable"},features:[A.TTD],decls:28,vars:9,consts:[[1,"card","mt-3",3,"hidden"],[3,"pageSizeOptions","dataLength","tableId","exportData"],["mat-table","","matSort","","matSortActive","name","matSortDirection","asc","matSortDisableClear","",1,"w-100",3,"dataSource"],["matColumnDef","select"],["class","align-checkbox","mat-header-cell","",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","email"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","logins"],["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",""],["mat-header-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(st,kt){1&st&&(A.TgZ(0,"div",0),A.TgZ(1,"perun-web-apps-table-wrapper",1),A.NdJ("exportData",function(Bt){return kt.exportData(Bt)}),A.TgZ(2,"table",2),A.ynx(3,3),A.YNc(4,vt,2,3,"th",4),A.YNc(5,at,2,2,"td",5),A.BQk(),A.ynx(6,6),A.YNc(7,Qe,3,3,"th",7),A.YNc(8,yt,2,1,"td",8),A.BQk(),A.ynx(9,9),A.YNc(10,U,3,3,"th",7),A.YNc(11,Ge,3,3,"td",10),A.BQk(),A.ynx(12,11),A.YNc(13,_t,3,3,"th",12),A.YNc(14,Dt,3,3,"td",10),A.BQk(),A.ynx(15,13),A.YNc(16,ti,3,3,"th",12),A.YNc(17,si,3,3,"td",10),A.BQk(),A.ynx(18,14),A.YNc(19,Ii,3,3,"th",7),A.YNc(20,zi,2,1,"td",10),A.BQk(),A.ynx(21,15),A.YNc(22,rn,1,0,"th",7),A.YNc(23,Hi,5,1,"td",10),A.BQk(),A.YNc(24,Ki,1,0,"tr",16),A.YNc(25,yi,1,12,"tr",17),A.qZA(),A.qZA(),A.qZA(),A.YNc(26,nn,3,3,"perun-web-apps-alert",18),A.YNc(27,fn,3,3,"perun-web-apps-alert",18)),2&st&&(A.Q6J("hidden",0===kt.dataSource.filteredData.length||0===kt.sponsoredMembers.length),A.xp6(1),A.Q6J("pageSizeOptions",kt.pageSizeOptions)("dataLength",kt.dataSource.filteredData.length)("tableId",kt.tableId),A.xp6(1),A.Q6J("dataSource",kt.dataSource),A.xp6(22),A.Q6J("matHeaderRowDef",kt.displayedColumns),A.xp6(1),A.Q6J("matRowDefColumns",kt.displayedColumns),A.xp6(1),A.Q6J("ngIf",0===kt.dataSource.filteredData.length&&0!==kt.sponsoredMembers.length),A.xp6(1),A.Q6J("ngIf",0===kt.sponsoredMembers.length))},directives:[qi.l,xi.BZ,gi.YE,xi.w1,xi.fO,xi.ge,T.oG,xi.Dz,xi.ev,gi.nU,v.sg,Oe.lW,Te.Hw,v.O5,ye.gM,xi.as,xi.XQ,xi.nj,xi.Gk,Lt.YH,oi.rH,Q.w],pipes:[q.X$,Se.d,Pt.D,$e.p],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),St})();function sn(St,Kt){if(1&St&&(A.TgZ(0,"button",10),A._uU(1),A.ALo(2,"translate"),A.qZA()),2&St){const st=A.oxw(),kt=A.MAs(9);A.Q6J("disabled",st.findSponsorsAuth&&0===st.voSponsors.length)("matMenuTriggerFor",kt),A.xp6(1),A.hij(" ",A.lcZ(2,3,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE")," ")}}function An(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(st),A.oxw().onCreate()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.CREATE_ONE")," "))}function On(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",11),A.NdJ("click",function(){return A.CHM(st),A.oxw().onGenerate()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.GENERATE")," "))}function un(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"button",12),A.NdJ("click",function(){return A.CHM(st),A.oxw().onSponsorExistingMember()}),A._uU(1),A.ALo(2,"translate"),A.qZA()}2&St&&(A.xp6(1),A.hij(" ",A.lcZ(2,1,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.SPONSOR_EXISTING")," "))}function Ji(St,Kt){1&St&&A._UZ(0,"mat-spinner",13)}function ln(St,Kt){if(1&St){const st=A.EpF();A.TgZ(0,"app-sponsored-members-list",14),A.NdJ("refreshTable",function(){return A.CHM(st),A.oxw().refresh()}),A.qZA()}if(2&St){const st=A.oxw();A.Q6J("disableRouting",!st.routeAuth)("selection",st.selection)("filterValue",st.searchString)("sponsoredMembers",st.members)("tableId",st.tableId)}}let Dn=(()=>{class St{constructor(st,kt,Fe,Bt,Je,wt){this.membersManager=st,this.dialog=kt,this.authResolver=Fe,this.storeService=Bt,this.authzResolver=Je,this.entityStorageService=wt,this.members=[],this.voSponsors=[],this.selection=new c.Ov(!0,[]),this.searchString="",this.loading=!1,this.tableId=g.Bf,this.attrNames=[Ne.r.USER_DEF_PREFERRED_MAIL]}ngOnInit(){this.loading=!0,this.vo=this.entityStorageService.getEntity(),this.attrNames=this.attrNames.concat(this.storeService.getLoginAttributeNames()),this.setAuthRights();const st=["SPONSOR"],kt=new Map;this.authResolver.setRolesAuthorization(st,this.vo,kt),this.findSponsorsAuth=kt.get(st[0]).readAuth,this.findSponsorsAuth?this.authzResolver.getAuthzRichAdmins(I.u.SPONSOR,this.vo.id,"Vo",[Ne.r.USER_DEF_PREFERRED_MAIL],!1,!1).subscribe(Bt=>{this.voSponsors=Bt,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 st=(0,w.kZ)();st.width="620px",st.data={entityId:this.vo.id,voId:this.vo.id,sponsors:this.voSponsors,theme:"vo-theme"},this.dialog.open(ee,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}onGenerate(){const st=(0,w.kZ)();st.width="750px",st.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ot,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}onSponsorExistingMember(){const st=(0,w.kZ)();st.width="650px",st.data={voId:this.vo.id,theme:"vo-theme"},this.dialog.open(ni,st).afterClosed().subscribe(Fe=>{Fe&&(this.loading=!0,this.authzResolver.getPerunPrincipal().subscribe(Bt=>{this.storeService.setPerunPrincipal(Bt),this.refresh()}))})}refresh(){this.loading=!0,this.membersManager.getSponsoredMembersAndTheirSponsors(this.vo.id,this.attrNames).subscribe(st=>{this.selection.clear(),this.members=st,this.setAuthRights(),this.loading=!1})}applyFilter(st){this.searchString=st}}return St.id="VoSponsoredMembersComponent",St.\u0275fac=function(st){return new(st||St)(A.Y36(e.uq),A.Y36(_.uw),A.Y36(b.x4),A.Y36(b.d6),A.Y36(e.Ct),A.Y36(b.fb))},St.\u0275cmp=A.Xpm({type:St,selectors:[["app-vo-settings-sponsored-members"]],hostVars:2,hostBindings:function(st,kt){2&st&&A.ekj("router-component",kt.true)},decls:16,vars:14,consts:[[1,"page-subtitle"],[3,"refresh"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["class","mr-2 dropdown-toggle","color","accent","mat-flat-button","",3,"disabled","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["class","action-button","mat-menu-item","",3,"click",4,"ngIf"],["color","accent","class","mr-2 action-button","mat-flat-button","",3,"click",4,"ngIf"],[3,"placeholder","filter"],["class","ml-auto mr-auto",4,"ngIf"],[3,"disableRouting","selection","filterValue","sponsoredMembers","tableId","refreshTable",4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","dropdown-toggle",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"action-button",3,"click"],["color","accent","mat-flat-button","",1,"mr-2","action-button",3,"click"],[1,"ml-auto","mr-auto"],[3,"disableRouting","selection","filterValue","sponsoredMembers","tableId","refreshTable"]],template:function(st,kt){1&st&&(A.TgZ(0,"div"),A.TgZ(1,"h1",0),A._uU(2),A.ALo(3,"translate"),A.qZA(),A.TgZ(4,"perun-web-apps-refresh-button",1),A.NdJ("refresh",function(){return kt.refresh()}),A.qZA(),A.TgZ(5,"span",2),A.ALo(6,"translate"),A.YNc(7,sn,3,5,"button",3),A.qZA(),A.TgZ(8,"mat-menu",null,4),A.YNc(10,An,3,3,"button",5),A.YNc(11,On,3,3,"button",5),A.qZA(),A.YNc(12,un,3,3,"button",6),A.TgZ(13,"perun-web-apps-immediate-filter",7),A.NdJ("filter",function(Bt){return kt.applyFilter(Bt)}),A.qZA(),A.YNc(14,Ji,1,0,"mat-spinner",8),A.YNc(15,ln,1,5,"app-sponsored-members-list",9),A.qZA()),2&st&&(A.xp6(2),A.Oqu(A.lcZ(3,10,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.TITLE")),A.xp6(3),A.s9C("matTooltip",A.lcZ(6,12,"VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.NO_SPONSORS")),A.Q6J("matTooltipDisabled",!(kt.findSponsorsAuth&&0===kt.voSponsors.length)),A.xp6(2),A.Q6J("ngIf",kt.createAuth||kt.generateAuth),A.xp6(3),A.Q6J("ngIf",kt.createAuth),A.xp6(1),A.Q6J("ngIf",kt.generateAuth),A.xp6(1),A.Q6J("ngIf",kt.setSponsorshipAuth),A.xp6(1),A.Q6J("placeholder","VO_DETAIL.SETTINGS.SPONSORED_MEMBERS.FILTER"),A.xp6(1),A.Q6J("ngIf",kt.loading),A.xp6(1),A.Q6J("ngIf",!kt.loading))},directives:[hi.t,ye.gM,v.O5,Oe.lW,O.p6,O.VK,O.OP,H.L,j.Ou,Wi],pipes:[q.X$],styles:[""]}),St})()},25309:(qe,me,h)=>{"use strict";h.d(me,{Y:()=>Le});var e=h(32105),c=h(9244),g=h(32080),w=h(11717),_=h(20449),b=h(48966),E=h(93075),v=h(5e3),I=h(51062),N=h(36157),A=h(69808),q=h(20773),j=h(67322),G=h(98833),Q=h(47423),he=h(29772);function F(ue,Me){1&ue&&v._UZ(0,"mat-spinner",3)}function be(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"div"),v.TgZ(1,"div",4),v.TgZ(2,"mat-form-field"),v._UZ(3,"input",5),v.ALo(4,"translate"),v.TgZ(5,"mat-error"),v._uU(6),v.ALo(7,"translate"),v.qZA(),v.qZA(),v.TgZ(8,"mat-form-field"),v._UZ(9,"input",6),v.ALo(10,"translate"),v.TgZ(11,"mat-error"),v._uU(12),v.ALo(13,"translate"),v.qZA(),v.qZA(),v.qZA(),v.TgZ(14,"div",7),v.TgZ(15,"button",8),v.NdJ("click",function(){return v.CHM(z),v.oxw().onCancel()}),v._uU(16),v.ALo(17,"translate"),v.qZA(),v.TgZ(18,"div",9),v.ALo(19,"translate"),v.TgZ(20,"button",10),v.NdJ("click",function(){return v.CHM(z),v.oxw().onSubmit()}),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.qZA(),v.qZA(),v.qZA()}if(2&ue){const z=v.oxw();v.xp6(3),v.s9C("placeholder",v.lcZ(4,11,"DIALOGS.CREATE_VO.FULL_NAME")),v.Q6J("formControl",z.fullNameCtrl),v.xp6(3),v.hij(" ",v.lcZ(7,13,"DIALOGS.CREATE_VO.FILL_FULL_NAME")," "),v.xp6(3),v.s9C("placeholder",v.lcZ(10,15,"DIALOGS.CREATE_VO.SHORT_NAME")),v.Q6J("formControl",z.shortNameCtrl),v.xp6(3),v.hij(" ",v.lcZ(13,17,"DIALOGS.CREATE_VO.FILL_SHORT_NAME")," "),v.xp6(4),v.hij(" ",v.lcZ(17,19,"DIALOGS.CREATE_VO.CANCEL")," "),v.xp6(2),v.s9C("matTooltip",v.lcZ(19,21,"DIALOGS.CREATE_VO.TOOLTIP")),v.Q6J("matTooltipDisabled",z.shortNameCtrl.valid&&z.fullNameCtrl.valid),v.xp6(2),v.Q6J("disabled",z.shortNameCtrl.invalid||z.fullNameCtrl.invalid),v.xp6(1),v.hij(" ",v.lcZ(22,23,"DIALOGS.CREATE_VO.CREATE")," ")}}let pe=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce){this.dialogRef=z,this.data=P,this.notificator=de,this.voService=Ce,this.translate=Pe,this.router=ce,Pe.get("DIALOGS.CREATE_VO.SUCCESS").subscribe(fe=>this.successMessage=fe)}ngOnInit(){this.theme=this.data.theme,this.shortNameCtrl=new E.NI(null,[E.kI.required,E.kI.pattern("^[\\w.-]+$"),E.kI.maxLength(33)]),this.fullNameCtrl=new E.NI(null,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.voService.createVoWithName(this.fullNameCtrl.value,this.shortNameCtrl.value).subscribe(z=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.router.navigate(["/organizations",z.id]),this.dialogRef.close(!0)},()=>this.loading=!1)}}return ue.\u0275fac=function(z){return new(z||ue)(v.Y36(b.so),v.Y36(b.WI),v.Y36(g.V6),v.Y36(e.YF),v.Y36(I.sK),v.Y36(N.F0))},ue.\u0275cmp=v.Xpm({type:ue,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","","data-cy","vo-name-input","required","",3,"formControl","placeholder"],["matInput","","data-cy","vo-shortname-input","required","",3,"formControl","placeholder"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto",3,"click"],["matTooltipPosition","above",3,"matTooltip","matTooltipDisabled"],["color","accent","data-cy","create-vo-button","mat-flat-button","",1,"ml-2",3,"disabled","click"]],template:function(z,P){1&z&&(v.TgZ(0,"div"),v.TgZ(1,"h1",0),v._uU(2),v.ALo(3,"translate"),v.qZA(),v.YNc(4,F,1,0,"mat-spinner",1),v.YNc(5,be,23,25,"div",2),v.qZA()),2&z&&(v.Tol(P.theme),v.xp6(2),v.Oqu(v.lcZ(3,6,"DIALOGS.CREATE_VO.TITLE")),v.xp6(2),v.Q6J("ngIf",P.loading),v.xp6(1),v.Q6J("ngIf",!P.loading))},directives:[b.uh,A.O5,q.Ou,b.xY,j.KE,G.Nt,E.Fj,E.Q7,E.JJ,E.oH,j.TO,b.H8,Q.lW,he.gM],pipes:[I.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}}"]}),ue})();var ye=h(10036),T=h(77968),R=h(4235),L=h(25245),X=h(96214),Y=h(7434),se=h(87831);function Te(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"button",9),v.NdJ("click",function(){return v.CHM(z),v.oxw().onCreateVo()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}2&ue&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"VO_MANAGEMENT.CREATE_VO")," "))}function Oe(ue,Me){if(1&ue){const z=v.EpF();v.TgZ(0,"button",10),v.NdJ("click",function(){return v.CHM(z),v.oxw().onRemoveVo()}),v._uU(1),v.ALo(2,"translate"),v.qZA()}if(2&ue){const z=v.oxw();v.Q6J("disabled",0===z.selection.selected.length),v.xp6(1),v.hij(" ",v.lcZ(2,2,"VO_MANAGEMENT.REMOVE_VO")," ")}}function Se(ue,Me){1&ue&&v._UZ(0,"mat-spinner",11)}function We(ue,Me){if(1&ue&&v._UZ(0,"perun-web-apps-vos-list",12),2&ue){const z=v.oxw();v.Q6J("tableId",z.tableId)("displayedColumns",z.displayedColumns)("filterValue",z.filterValue)("recentIds",z.recentIds)("selection",z.selection)("vos",z.vos)}}const ge=function(){return{color:"black"}};let Le=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce){this.sideMenuService=z,this.voService=P,this.guiAuthResolver=de,this.dialog=Ce,this.notificator=Pe,this.apiRequest=ce,this.vos=[],this.recentIds=[],this.filterValue="",this.tableId=ye.tw}ngOnInit(){this.loading=!0,this.selection=new _.Ov(!1,[]),this.createAuth=this.guiAuthResolver.isAuthorized("createVo_Vo_policy",[]),this.deleteAuth=this.guiAuthResolver.isAuthorized("deleteVo_Vo_policy",[]),this.displayedColumns=this.deleteAuth?["checkbox","id","hierarchy","recent","shortName","name"]:["id","recent","hierarchy","shortName","name"],this.refreshTable()}ngAfterViewChecked(){this.sideMenuService.setAccessMenuItems([])}refreshTable(){this.loading=!0,this.selection.clear(),this.apiRequest.dontHandleErrorForNext(),this.voService.getMyEnrichedVos().subscribe(z=>{this.vos=z,this.recentIds=(0,c.vL)("vos"),this.loading=!1},z=>{const P=z.error;"PrivilegeException"===P.name?(this.vos=[],this.loading=!1):this.notificator.showRPCError(P)})}applyFilter(z){this.filterValue=z}onCreateVo(){const z=(0,c.kZ)();z.width="610px",z.data={theme:"vo-theme"},this.dialog.open(pe,z).afterClosed().subscribe(de=>{de&&(this.loading=!0,this.refreshTable())})}onRemoveVo(){const z=(0,c.kZ)();z.width="500px",z.data={theme:"vo-theme",vos:[this.selection.selected[0].vo]},this.dialog.open(w.o,z).afterClosed().subscribe(de=>{de&&this.refreshTable()})}}return ue.id="VoSelectPageComponent",ue.\u0275fac=function(z){return new(z||ue)(v.Y36(T.D),v.Y36(e.YF),v.Y36(g.x4),v.Y36(b.uw),v.Y36(g.V6),v.Y36(g.F5))},ue.\u0275cmp=v.Xpm({type:ue,selectors:[["app-vo-select-page"]],hostVars:2,hostBindings:function(z,P){2&z&&v.ekj("router-component",P.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"],["class","mr-2 action-button","data-cy","new-vo-button","color","accent","mat-flat-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"],["data-cy","new-vo-button","color","accent","mat-flat-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(z,P){1&z&&(v.TgZ(0,"div",0),v._UZ(1,"perun-web-apps-back-button"),v.TgZ(2,"h1",1),v._UZ(3,"mat-icon",2),v._uU(4),v.ALo(5,"translate"),v.qZA(),v.TgZ(6,"perun-web-apps-refresh-button",3),v.NdJ("refresh",function(){return P.refreshTable()}),v.qZA(),v.YNc(7,Te,3,3,"button",4),v.YNc(8,Oe,3,4,"button",5),v.TgZ(9,"perun-web-apps-immediate-filter",6),v.NdJ("filter",function(Ce){return P.applyFilter(Ce)}),v.qZA(),v.YNc(10,Se,1,0,"mat-spinner",7),v.YNc(11,We,1,6,"perun-web-apps-vos-list",8),v.qZA()),2&z&&(v.xp6(3),v.Q6J("ngStyle",v.DdM(10,ge)),v.xp6(1),v.hij(" ",v.lcZ(5,8,"VO_MANAGEMENT.TITLE")," "),v.xp6(3),v.Q6J("ngIf",P.createAuth),v.xp6(1),v.Q6J("ngIf",P.deleteAuth),v.xp6(1),v.Q6J("autoFocus",!0)("placeholder","VO_MANAGEMENT.FILTER_PLACEHOLDER"),v.xp6(1),v.Q6J("ngIf",P.loading),v.xp6(1),v.Q6J("ngIf",!P.loading))},directives:[R.W,L.Hw,A.PC,X.t,A.O5,Q.lW,Y.L,q.Ou,se.Z],pipes:[I.X$],styles:[".icon-scale[_ngcontent-%COMP%]{transform:scale(1.7);margin-left:.5rem;margin-top:-.4rem;margin-right:.9rem}"]}),ue})()},48032:(qe,me,h)=>{"use strict";var e=h(22313),c=h(5e3),g=h(36157);let w=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["app-auth-callback"]],decls:0,vars:0,template:function(xe,ft){},styles:[""]}),tt})();var _=h(32105),b=h(32080),E=h(9244),v=h(16074),I=h(77968),N=h(51062),A=h(48966),q=h(2638),j=h(77446),G=h(93075),Q=h(69808),he=h(25245),F=h(47423),be=h(20773),pe=h(98380),ye=h(90508),T=h(29772);function R(tt,Wt){1&tt&&c._UZ(0,"mat-spinner",3)}function L(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",4),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NO_RECENTLY_VIEWED")))}function X(tt,Wt){if(1&tt&&(c.TgZ(0,"div",7),c.TgZ(1,"a",8),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c._UZ(4,"mat-icon",10),c.TgZ(5,"p",11),c._uU(6),c.qZA(),c.qZA(),c.qZA()),2&tt){const xe=Wt.$implicit;c.xp6(1),c.Gre("",xe.style," item-itself"),c.s9C("matTooltip",xe.tooltip),c.Q6J("routerLink",xe.url),c.xp6(2),c.Oqu(xe.type),c.xp6(1),c.Q6J("svgIcon",xe.cssIcon),c.xp6(2),c.Oqu(xe.label)}}function Y(tt,Wt){if(1&tt&&(c.TgZ(0,"div",5),c.YNc(1,X,7,8,"div",6),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("ngForOf",xe.items)}}let se=(()=>{class tt{constructor(xe,ft,Ut,$t){this.vosManager=xe,this.groupsManager=ft,this.authResolver=Ut,this.facilitiesManager=$t,this.items=[],this.vosIds=[],this.groupsIds=[],this.facilitiesIds=[],this.existingRecentIds=[],this.vos=[],this.groups=[],this.facilities=[]}ngOnInit(){this.loading=!0,this.recentItems=(0,E.j4)("recent");for(const xe of this.recentItems)switch(xe.type){case"Vo":this.vosIds.push(xe.id);break;case"Group":this.groupsIds.push(xe.id);break;case"Facility":this.facilitiesIds.push(xe.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(xe=>{this.vos=xe,this.getGroups()}):this.getGroups()}getGroups(){this.authResolver.isAuthorized("getGroupsByIds_List_policy",[])?this.groupsManager.getGroupsByIds(this.groupsIds).subscribe(xe=>{this.groups=xe,this.getFacilities()}):this.getFacilities()}getFacilities(){this.authResolver.isAuthorized("getFacilitiesByIds_List_policy",[])?this.facilitiesManager.getFacilitiesByIds(this.facilitiesIds).subscribe(xe=>{this.facilities=xe,this.addRecentlyViewedToDashboard()}):this.addRecentlyViewedToDashboard()}addRecentlyViewedToDashboard(){for(const xe of this.recentItems)switch(xe.type){case"Vo":{const ft=this.vos.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-vo",url:`/organizations/${ft.id}`,label:ft.name,tooltip:ft.name,style:"vo-btn",type:"Organization"});break}case"Group":{const ft=this.groups.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-group",url:`/organizations/${ft.voId}/groups/${ft.id}`,label:ft.shortName,tooltip:`${xe.voName} : ${ft.name.replace(/:/g," : ")}`,style:"group-btn",type:"Group"});break}case"Facility":{const ft=this.facilities.filter(Ut=>Ut.id===xe.id)[0];ft&&this.items.push({cssIcon:"perun-facility-white",url:`/facilities/${ft.id}`,label:ft.name,tooltip:ft.name,style:"facility-btn",type:"Facility"});break}}this.loading=!1}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.YF),c.Y36(_.ff),c.Y36(b.x4),c.Y36(_.IQ))},tt.\u0275cmp=c.Xpm({type:tt,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","matTooltip"],[1,"item-type"],[1,"item-pic","perun-icon",3,"svgIcon"],[1,"truncate"]],template:function(xe,ft){1&xe&&(c.YNc(0,R,1,0,"mat-spinner",0),c.YNc(1,L,3,3,"perun-web-apps-alert",1),c.YNc(2,Y,2,1,"div",2)),2&xe&&(c.Q6J("ngIf",ft.loading),c.xp6(1),c.Q6J("ngIf",0===ft.items.length&&!ft.loading),c.xp6(1),c.Q6J("ngIf",ft.items.length>0))},directives:[Q.O5,be.Ou,pe.w,Q.sg,ye.wG,g.yS,T.gM,he.Hw],pipes:[N.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%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}"]}),tt})();var Te=h(87831),Oe=h(24179),Se=h(62109),We=h(74010);function ge(tt,Wt){1&tt&&c._UZ(0,"mat-spinner",7)}const Le=function(){return["id","recent","shortName","name"]};function ue(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-vos-list",8),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(4,Le))("recentIds",xe.recentIds)("vos",xe.objects)}}const Me=function(){return["id","recent","vo","name","description"]};function z(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-groups-list",9),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(4,Me))("groups",xe.objects)("recentIds",xe.recentIds)}}const P=function(){return["id","recent","name","vo","facility"]};function de(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-resources-list",10),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("pageSizeOptions",null)("displayedColumns",c.DdM(5,P))("resources",xe.objects)("recentIds",xe.recentIds)("routingVo",!0)}}const Ce=function(){return["id","recent","name","description"]};function Pe(tt,Wt){if(1&tt&&(c.TgZ(0,"span"),c._UZ(1,"perun-web-apps-facilities-list",11),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("displayedColumns",c.DdM(4,Ce))("facilities",xe.objects)("pageSizeOptions",null)("recentIds",xe.recentIds)}}function ce(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.YNc(1,ue,2,5,"span",6),c.YNc(2,z,2,5,"span",6),c.YNc(3,de,2,6,"span",6),c.YNc(4,Pe,2,5,"span",6),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("ngIf","Vo"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Group"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Resource"===xe.primaryObject),c.xp6(1),c.Q6J("ngIf","Facility"===xe.primaryObject)}}let fe=(()=>{class tt{constructor(xe,ft,Ut){this.authzResolver=xe,this.guiAuthResolver=ft,this.resourceService=Ut,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(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("vos"),this.loading=!1});break;case"Group":this.authzResolver.getGroupsWhereUserIsInRoles([this.roleName]).subscribe(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("groups"),this.loading=!1});break;case"Resource":this.resourceService.getRichResourcesByIds(this.role[this.primaryObject]).subscribe(xe=>{this.objects=xe,this.recentIds=(0,E.vL)("resources"),this.loading=!1});break;case"Facility":this.authzResolver.getFacilitiesWhereUserIsInRoles([this.roleName]).subscribe(xe=>{this.objects=xe.map(ft=>({facility:ft})),this.recentIds=(0,E.vL)("facilities"),this.loading=!1});break;default:this.objects=[],this.loading=!1}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Ct),c.Y36(b.x4),c.Y36(_.xk))},tt.\u0275cmp=c.Xpm({type:tt,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","displayedColumns","groups","recentIds"],[3,"pageSizeOptions","displayedColumns","resources","recentIds","routingVo"],[3,"displayedColumns","facilities","pageSizeOptions","recentIds"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c._UZ(2,"mat-icon",2),c._uU(3),c.ALo(4,"translate"),c.TgZ(5,"span",3),c.ALo(6,"translate"),c.TgZ(7,"mat-icon",4),c._uU(8,"info_outline"),c.qZA(),c.qZA(),c.qZA(),c.YNc(9,ge,1,0,"mat-spinner",5),c.YNc(10,ce,5,4,"div",6),c.qZA()),2&xe&&(c.xp6(2),c.Q6J("svgIcon",ft.svgIcon),c.xp6(1),c.hij(" ",c.lcZ(4,5,ft.title)," "),c.xp6(2),c.s9C("matTooltip",c.lcZ(6,7,ft.roleTooltipInfo)),c.xp6(4),c.Q6J("ngIf",ft.loading),c.xp6(1),c.Q6J("ngIf",!ft.loading))},directives:[he.Hw,T.gM,Q.O5,be.Ou,Te.Z,Oe.W,Se.C,We.X],pipes:[N.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}"]}),tt})();var Ze=h(31359);function ne(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"mat-checkbox",8),c.NdJ("change",function(Ut){const bi=c.CHM(xe).$implicit,Ei=c.oxw();return Ut?Ei.changeRoleView(bi):null}),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()}if(2&tt){const xe=Wt.$implicit,ft=c.oxw();c.xp6(1),c.Q6J("checked",ft.isRoleShowed(xe)),c.xp6(1),c.Oqu(c.lcZ(3,2,"USER_DETAIL.DASHBOARD.CARD_TITLE_"+xe))}}function it(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"button",15),c.NdJ("click",function(){return c.CHM(xe),c.oxw(2).rightSettingOpened=!0}),c.TgZ(1,"mat-icon"),c._uU(2,"settings"),c.qZA(),c.qZA()}}function Be(tt,Wt){1&tt&&(c.TgZ(0,"span"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO_NO_USER_PROFILE")))}function ze(tt,Wt){1&tt&&(c.TgZ(0,"span"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"USER_DETAIL.DASHBOARD.NOT_MANAGER_INFO")))}function Ue(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"button",23),c.NdJ("click",function(){return c.CHM(xe),c.oxw(3).goToUserProfile()}),c.TgZ(1,"mat-icon",24),c._uU(2,"exit_to_app"),c.qZA(),c._uU(3),c.ALo(4,"translate"),c.qZA()}if(2&tt){const xe=c.oxw(3);c.xp6(3),c.AsE("",c.lcZ(4,2,"USER_DETAIL.DASHBOARD.GO_TO_USER_PROFILE")," ",xe.userProfileName," ")}}const _e=function(){return["/myProfile"]};function ae(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.TgZ(1,"div",16),c.TgZ(2,"div",17),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.TgZ(5,"div",18),c.YNc(6,Be,3,3,"span",14),c.YNc(7,ze,3,3,"span",14),c.qZA(),c.TgZ(8,"div",19),c.TgZ(9,"button",20),c._UZ(10,"mat-icon",21),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.YNc(13,Ue,5,4,"button",22),c.qZA(),c.qZA(),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(3),c.hij(" ",c.lcZ(4,6,"USER_DETAIL.DASHBOARD.NOT_MANAGER")," "),c.xp6(3),c.Q6J("ngIf",!xe.userProfileUrl),c.xp6(1),c.Q6J("ngIf",xe.userProfileUrl),c.xp6(2),c.Q6J("routerLink",c.DdM(10,_e)),c.xp6(2),c.hij(" ",c.lcZ(12,8,"USER_DETAIL.DASHBOARD.GO_TO_MY_PROFILE")," "),c.xp6(2),c.Q6J("ngIf",xe.userProfileUrl)}}function Ae(tt,Wt){1&tt&&(c.TgZ(0,"span"),c.TgZ(1,"div",3),c._uU(2),c.ALo(3,"translate"),c.qZA(),c._UZ(4,"app-perun-web-apps-dashboard-recently-viewed-button-field"),c.qZA()),2&tt&&(c.xp6(2),c.hij(" ",c.lcZ(3,1,"USER_DETAIL.DASHBOARD.RECENTLY_VIEWED")," "))}function ee(tt,Wt){1&tt&&(c.TgZ(0,"div",27),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"USER_DETAIL.DASHBOARD.MANAGEABLE_ENTITIES")," "))}function Ne(tt,Wt){if(1&tt&&c._UZ(0,"app-perun-web-apps-dashboard-card",30),2&tt){const xe=c.oxw().$implicit,ft=c.oxw(3);c.Q6J("roleName",xe)("role",ft.roles[xe])}}function V(tt,Wt){if(1&tt&&(c.TgZ(0,"div",28),c.YNc(1,Ne,1,2,"app-perun-web-apps-dashboard-card",29),c.qZA()),2&tt){const xe=Wt.$implicit,ft=c.oxw(3);c.xp6(1),c.Q6J("ngIf",ft.isRoleShowed(xe))}}function H(tt,Wt){if(1&tt&&(c.TgZ(0,"div"),c.YNc(1,Ae,5,3,"span",14),c.YNc(2,ee,3,3,"div",25),c.TgZ(3,"div"),c.YNc(4,V,2,1,"div",26),c.qZA(),c.qZA()),2&tt){const xe=c.oxw(2);c.xp6(1),c.Q6J("ngIf",xe.recentlyViewedShow),c.xp6(1),c.Q6J("ngIf",xe.rolesToHide.toString()!==xe.roleNames.toString()),c.xp6(2),c.Q6J("ngForOf",xe.roleNames)}}function D(tt,Wt){if(1&tt&&(c.TgZ(0,"div",9),c.TgZ(1,"h1",10),c._UZ(2,"mat-icon",11),c.TgZ(3,"span",12),c._uU(4),c.ALo(5,"translate"),c.ALo(6,"userFullName"),c.qZA(),c.YNc(7,it,3,0,"button",13),c.qZA(),c.YNc(8,ae,14,11,"div",14),c.YNc(9,H,5,3,"div",14),c.qZA()),2&tt){const xe=c.oxw();c.xp6(4),c.AsE("",c.lcZ(5,5,"USER_DETAIL.DASHBOARD.TITLE")," ",c.lcZ(6,7,xe.user),""),c.xp6(3),c.Q6J("ngIf",!xe.isOnlySelfRole),c.xp6(1),c.Q6J("ngIf",xe.isOnlySelfRole),c.xp6(1),c.Q6J("ngIf",!xe.isOnlySelfRole)}}let O=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei,Yi,on,Wn,kn){this.userManager=xe,this.storeService=ft,this.sideMenuService=Ut,this.route=$t,this.router=bi,this.notificator=Ei,this.translateService=Yi,this.dialog=on,this.apiRequestConfiguration=Wn,this.otherApplicationService=kn,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"],Yi.get("USER_DETAIL.DASHBOARD.MAIL_CHANGE_SUCCESS").subscribe(Xr=>this.mailSuccessMessage=Xr)}ngOnInit(){this.sideMenuService.setHomeItems([]),this.validatePreferredMailChange(),this.user=this.storeService.getPerunPrincipal().user,this.roles=this.storeService.getPerunPrincipal().roles,this.getUserProfile();const xe=Object.keys(this.roles);this.isOnlySelfRole=xe.toString()===["SELF"].toString(),this.roleNames=this.allowedRoles.filter(ft=>xe.includes(ft)),this.getDashboardSettings()}goToUserProfile(){window.open(this.userProfileUrl)}recentlyViewedChanged(){localStorage.setItem("showRecentlyViewed",JSON.stringify(this.recentlyViewedShow))}changeRoleView(xe){if(this.isRoleShowed(xe)){const ft=[];for(const Ut of this.roleNames)this.isRoleShowed(Ut)||ft.push(Ut),Ut===xe&&ft.push(Ut);this.rolesToHide=ft}else this.rolesToHide=this.rolesToHide.filter(ft=>ft!==xe);localStorage.setItem("rolesToHide",JSON.stringify(this.rolesToHide))}isRoleShowed(xe){return!this.rolesToHide.includes(xe)}validatePreferredMailChange(){const xe=this.route.snapshot.queryParamMap,ft=xe.get("token"),Ut=xe.get("u");ft&&Ut&&(this.apiRequestConfiguration.dontHandleErrorForNext(),this.userManager.validatePreferredEmailChangeWithToken(ft,Number.parseInt(Ut,10)).subscribe(()=>{this.notificator.showSuccess(this.mailSuccessMessage),this.router.navigate([],{replaceUrl:!0})},()=>{const $t=(0,E.kZ)();$t.width="600px",this.dialog.open(v.qD,$t).afterClosed().subscribe(()=>{this.getDashboardSettings()})}))}getDashboardSettings(){const xe=JSON.parse(localStorage.getItem("showRecentlyViewed"));this.recentlyViewedShow=null===xe||xe;const ft=JSON.parse(localStorage.getItem("rolesToHide"));this.rolesToHide=null===ft?[]:ft}getUserProfile(){this.userProfileUrl=this.otherApplicationService.getUrlForOtherApplication("profile"),this.userProfileName=this.storeService.get("profile_label_en")}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Fv),c.Y36(b.d6),c.Y36(I.D),c.Y36(g.gz),c.Y36(g.F0),c.Y36(b.V6),c.Y36(N.sK),c.Y36(A.uw),c.Y36(b.F5),c.Y36(b.jq))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["app-perun-web-apps-user-dashboard"]],hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("router-component",ft.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"],["class","ml-auto text-bigger","mat-stroked-button","",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"],["class","text-bigger ml-2 mt-2","mat-stroked-button","",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(xe,ft){1&xe&&(c.TgZ(0,"mat-sidenav-container",0),c.TgZ(1,"mat-sidenav",1),c.NdJ("openedChange",function($t){return ft.rightSettingOpened=$t}),c.TgZ(2,"div",2),c.TgZ(3,"div",3),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"mat-checkbox",4),c.NdJ("ngModelChange",function($t){return ft.recentlyViewedShow=$t})("change",function($t){return $t?ft.recentlyViewedChanged():null}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA(),c.TgZ(10,"div",5),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.YNc(13,ne,4,4,"div",6),c.qZA(),c.qZA(),c.TgZ(14,"mat-sidenav-content"),c.YNc(15,D,10,9,"div",7),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.Q6J("opened",ft.rightSettingOpened),c.xp6(3),c.Oqu(c.lcZ(5,7,"USER_DETAIL.DASHBOARD.DASHBOARD_SETTINGS")),c.xp6(3),c.Q6J("ngModel",ft.recentlyViewedShow),c.xp6(1),c.Oqu(c.lcZ(9,9,"USER_DETAIL.DASHBOARD.SHOW_RECENTLY_VIEWED")),c.xp6(3),c.Oqu(c.lcZ(12,11,"USER_DETAIL.DASHBOARD.SHOW_ROLES")),c.xp6(2),c.Q6J("ngForOf",ft.roleNames),c.xp6(2),c.Q6J("ngIf",void 0!==ft.user))},directives:[q.TM,q.JX,j.oG,G.JJ,G.On,Q.sg,q.Rh,Q.O5,he.Hw,F.lW,g.rH,se,fe],pipes:[N.X$,Ze.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}"]}),tt})();var i=h(4235);let o=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"perun-web-apps-back-button"),c.TgZ(2,"h1",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(3),c.Oqu(c.lcZ(4,1,"GENERAL.PAGE_NOT_FOUND.TITLE")))},directives:[i.W],pipes:[N.X$],styles:[""]}),tt})();var u=h(33604),l=h(67322),s=h(98833),n=h(63189);let t=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,F.ot,he.Ps,g.Bz,u.ez,N.aw,l.lN,G.UX,s.c,n.r]]}),tt})(),r=(()=>{class tt{constructor(xe,ft){this.auth=xe,this.router=ft}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.e8),c.Y36(g.F0))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"h4",3),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"button",4),c.NdJ("click",function(){return ft.startAuth()}),c._uU(7),c.ALo(8,"translate"),c.TgZ(9,"mat-icon"),c._uU(10," login "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.xp6(4),c.hij(" ",c.lcZ(5,2,"SHARED_LIB.PERUN.LOGIN.TEXT")," "),c.xp6(3),c.hij(" ",c.lcZ(8,4,"SHARED_LIB.PERUN.LOGIN.SIGN_IN")," "))},directives:[F.lW,he.Hw],pipes:[N.X$],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),tt})();var a=h(41619);function d(tt,Wt){if(1&tt&&(c.TgZ(0,"div",8),c._UZ(1,"div",9),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("innerHTML",xe.logo,c.oJD)}}function f(tt,Wt){if(1&tt&&(c.TgZ(0,"div",10),c._UZ(1,"div",11),c._UZ(2,"mat-icon",12),c.qZA()),2&tt){const xe=c.oxw();c.xp6(1),c.Q6J("innerHTML",xe.logo,c.oJD)}}const x=function(tt){return{color:tt}};function Ye(tt,Wt){if(1&tt&&(c.TgZ(0,"p",13),c._uU(1),c.qZA()),2&tt){const xe=c.oxw();c.Q6J("ngStyle",c.VKq(2,x,xe.textColor)),c.xp6(1),c.hij(" ",xe.headerTitle," ")}}const It=function(tt,Wt){return{background:tt,color:Wt}},jt=function(tt,Wt){return{"min-height":tt,"background-color":Wt}};let bt=(()=>{class tt{constructor(xe,ft,Ut,$t){this.storeService=xe,this.sanitizer=ft,this.preferredLangService=Ut,this.translateService=$t,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 xe=this.preferredLangService.getPreferredLanguage(null);this.translateService.use(xe)}}getContentInnerMinHeight(){return"calc((100vh - 64px) + 0px)"}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.d6),c.Y36(e.H7),c.Y36(b.BN),c.Y36(N.sK))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.YNc(1,d,2,1,"div",1),c.YNc(2,f,3,1,"div",2),c.YNc(3,Ye,2,4,"p",3),c.qZA(),c.TgZ(4,"div",4),c.TgZ(5,"div",5),c.TgZ(6,"div",6),c._UZ(7,"router-outlet"),c.qZA(),c.TgZ(8,"div",7),c._UZ(9,"perun-web-apps-footer"),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.WLB(5,It,ft.headerBackgroundColor,ft.headerTextColor)),c.xp6(1),c.Q6J("ngIf","admin-gui"===ft.application||"user-profile"===ft.application||"consolidator"===ft.application),c.xp6(1),c.Q6J("ngIf","publications"===ft.application),c.xp6(1),c.Q6J("ngIf",!!ft.headerTitle),c.xp6(2),c.Q6J("ngStyle",c.WLB(8,jt,ft.getContentInnerMinHeight(),ft.contentBackgroundColor)))},directives:[Q.PC,Q.O5,he.Hw,g.lC,a.$],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),tt})();function Yt(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",8),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.hij(" ",c.lcZ(2,1,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.WRONG_LOGIN_OR_PASSWORD")," "))}const Nt=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"redirect",component:u.t$},{path:"api-callback",component:w},{path:"login",component:r},{path:"service-access",component:(()=>{class tt{constructor(xe){this.authzService=xe,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new G.NI(null,[G.kI.required]),this.passwordCtrl=new G.NI(null,[G.kI.required])}startAuth(){sessionStorage.setItem("basicUsername",this.usernameCtrl.value),sessionStorage.setItem("basicPassword",this.passwordCtrl.value),this.authzService.getPerunPrincipal().subscribe(xe=>{sessionStorage.setItem("baPrincipal",JSON.stringify(xe)),location.reload()},()=>{this.wrongUsernameOrPassword=!0})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(_.Ct))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"h2"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.YNc(6,Yt,3,3,"perun-web-apps-alert",3),c.TgZ(7,"mat-form-field",4),c.TgZ(8,"mat-label"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c._UZ(11,"input",5),c.TgZ(12,"mat-error"),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.qZA(),c.TgZ(15,"mat-form-field",4),c.TgZ(16,"mat-label"),c._uU(17),c.ALo(18,"translate"),c.qZA(),c._UZ(19,"input",6),c.TgZ(20,"mat-error"),c._uU(21),c.ALo(22,"translate"),c.qZA(),c.qZA(),c.TgZ(23,"button",7),c.NdJ("click",function(){return ft.startAuth()}),c._uU(24),c.ALo(25,"translate"),c.TgZ(26,"mat-icon"),c._uU(27," login "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&xe&&(c.xp6(4),c.Oqu(c.lcZ(5,11,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.LABEL")),c.xp6(2),c.Q6J("ngIf",ft.wrongUsernameOrPassword),c.xp6(3),c.Oqu(c.lcZ(10,13,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME")),c.xp6(2),c.Q6J("formControl",ft.usernameCtrl),c.xp6(2),c.hij(" ",c.lcZ(14,15,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.USERNAME_ERROR")," "),c.xp6(4),c.Oqu(c.lcZ(18,17,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD")),c.xp6(2),c.Q6J("formControl",ft.passwordCtrl)("type","password"),c.xp6(2),c.hij(" ",c.lcZ(22,19,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.PASSWORD_ERROR")," "),c.xp6(2),c.Q6J("disabled",ft.usernameCtrl.invalid||ft.passwordCtrl.invalid),c.xp6(1),c.hij(" ",c.lcZ(25,21,"SHARED_LIB.PERUN.LOGIN_SERVICE_ACCESS.SIGN_IN")," "))},directives:[Q.O5,pe.w,l.KE,l.hX,s.Nt,G.Fj,G.Q7,G.JJ,G.oH,l.TO,F.lW,he.Hw],pipes:[N.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}"]}),tt})()},{path:"organizations",loadChildren:()=>Promise.all([h.e(969),h.e(323),h.e(243),h.e(858)]).then(h.bind(h,60858)).then(tt=>tt.VosModule)},{path:"admin",loadChildren:()=>Promise.all([h.e(969),h.e(374),h.e(323),h.e(346)]).then(h.bind(h,36346)).then(tt=>tt.AdminModule)},{path:"facilities",loadChildren:()=>Promise.all([h.e(969),h.e(374),h.e(323),h.e(346),h.e(243),h.e(958)]).then(h.bind(h,12958)).then(tt=>tt.FacilitiesModule)},{path:"myProfile",loadChildren:()=>Promise.all([h.e(969),h.e(374)]).then(h.bind(h,46374)).then(tt=>tt.UsersModule)},{path:"home",component:O},{path:"notAuthorized",component:u.y9},{path:"**",component:o}];let He=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[g.Bz.forRoot(Nt,{preloadingStrategy:g.GZ,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],g.Bz]}),tt})();var je=h(72077),Z=h(14264);class ${constructor(Wt,xe="/assets/i18n/",ft=".json"){this.http=Wt,this.prefix=xe,this.suffix=ft}getTranslation(Wt){return this.http.get(`${this.prefix}${Wt}${this.suffix}`)}}var oe=h(40520),nt=h(76360);let ct=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({providers:[b.e8],imports:[[Q.ez]]}),tt})();var Rt=h(81847),mt=h(4732),Tt=h(94856),ot=h(55857),rt=h(37240),lt=h(15592),ut=h(75234),Ht=h(37380),Qt=h(34904),ni=h(85243),hi=h(68056),gi=h(24219),xi=h(25828),ji=h(10369),tn=h(14336),qi=h(25309),Lt=h(86353),oi=h(3246),Pt=h(57788),$e=h(80774),vt=h(25610),at=h(61639);let yt=(()=>{class tt{constructor(){this.allowCachePages=[{type:"vo",components:[Rt.y.id,mt.G.id,Tt.c.id,hi.z.id,gi.z.id,ji.w.id,oi.T.id]},{type:"group",components:[ut.y.id,lt.u.id,rt.q.id,at.C.id,ot.W.id,tn.Z.id]},{type:"facility",components:[Ht.o.id,Qt.f.id,vt._.id]},{type:"member",components:[ni.j.id]},{type:"admin",components:[xi.t.id,Pt.g.id,$e.F.id]},{type:"entitySelect",components:[qi.Y.id,Lt.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 xe of this.allowCachePages)this.typeToComponentToHandlers.set(xe.type,new Map)}static getCurrentTimestamp(){return+Date.now()}static getComponentName(xe){return xe.id}static getPath(xe){var ft,Ut;return null!==(Ut=null===(ft=xe.routeConfig)||void 0===ft?void 0:ft.path)&&void 0!==Ut?Ut:""}shouldReuseRoute(xe,ft){return this.checkResets(ft),xe.routeConfig===ft.routeConfig}retrieve(xe){if(xe.component){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages)if(Ut.components.includes(ft)){const $t=this.typeToComponentToHandlers.get(Ut.type).get(ft);return void 0===$t?null:$t.routeHandle}}return null}shouldAttach(xe){if(!this.isUserNavigatingBack)return!1;if(xe.component){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages){const $t=this.typeToComponentToHandlers.get(Ut.type).get(ft);if(void 0!==$t&&tt.getCurrentTimestamp()-$t.saveTimeStamp0;)document.getElementsByTagName("mat-tooltip-component")[0].remove();const Ut=this.getComponentType(xe);this.typeToComponentToHandlers.get(Ut).set(tt.getComponentName(xe.component),{routeHandle:ft,saveTimeStamp:tt.getCurrentTimestamp()})}}setLastNavigationType(xe){this.isUserNavigatingBack="back"===xe}checkResets(xe){const ft=tt.getPath(xe);for(const Ut of this.resets)if(Ut.resetPath===ft){const $t=String(xe.params[Ut.param]);null!==Ut.lastValue&&Ut.lastValue!==$t&&this.typeToComponentToHandlers.get(Ut.resetType).clear(),Ut.lastValue=$t}}getComponentType(xe){const ft=tt.getComponentName(xe.component);for(const Ut of this.allowCachePages)if(Ut.components.includes(ft))return Ut.type;return null}}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac}),tt})();const U=new c.OlP("perun-api-service");let Ge=(()=>{class tt{constructor(xe,ft,Ut,$t,bi){this.http=xe,this.storeService=ft,this.authzSevice=Ut,this.titleService=$t,this.utilsService=bi}initializeColors(xe,ft){return new Promise(Ut=>{ft.forEach($t=>{const bi=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,bi)}),xe.forEach($t=>{const bi=this.storeService.get("theme",$t.configValue);document.documentElement.style.setProperty($t.cssVariable,bi),this.setEntityTheme($t.entity,bi)}),Ut()})}setEntityTheme(xe,ft){const Ut=function _t(tt){return[Dt(tinycolor(tt).lighten(52),"50"),Dt(tinycolor(tt).lighten(37),"100"),Dt(tinycolor(tt).lighten(26),"200"),Dt(tinycolor(tt).lighten(12),"300"),Dt(tinycolor(tt).lighten(6),"400"),Dt(tinycolor(tt),"500"),Dt(tinycolor(tt).darken(6),"600"),Dt(tinycolor(tt).darken(12),"700"),Dt(tinycolor(tt).darken(18),"800"),Dt(tinycolor(tt).darken(24),"900"),Dt(tinycolor(tt).lighten(50).saturate(30),"A100"),Dt(tinycolor(tt).lighten(30).saturate(30),"A200"),Dt(tinycolor(tt).lighten(10).saturate(15),"A400"),Dt(tinycolor(tt).lighten(5).saturate(5),"A700")]}(ft);for(const $t of Ut){const Yi=`--${xe}-theme-primary-contrast-${$t.name}`,on=$t.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${xe}-theme-primary-${$t.name}`,`${$t.red},${$t.green},${$t.blue}`),document.documentElement.style.setProperty(Yi,on)}}loadAppDefaultConfig(){return new Promise(xe=>{this.http.get("/assets/config/defaultConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ft=>{this.storeService.setDefaultConfig(ft),xe()})})}loadAppInstanceConfig(){return new Promise(xe=>{this.http.get("/assets/config/instanceConfig.json",{headers:this.getNoCacheHeaders()}).subscribe(ft=>{var Ut;this.storeService.setInstanceConfig(ft);const $t=document.location.hostname;(null===(Ut=null==ft?void 0:ft.brandings)||void 0===Ut?void 0:Ut[$t])&&this.storeService.setBanding($t),xe()},()=>{xe()})})}getNoCacheHeaders(){return new oe.WM({CacheControl:"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}setInstanceFavicon(){return new Promise(xe=>{const ft=document.querySelector("link[rel*='icon']")||document.createElement("link");ft.type="image/x-icon",ft.rel="shortcut icon",ft.href=this.storeService.get("instance_favicon")?"./assets/config/instanceFavicon.ico":"./assets/img/perun.ico",document.getElementsByTagName("head")[0].appendChild(ft),xe()})}setApiUrl(){return new Promise(xe=>{let ft=this.storeService.get("api_url");("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))&&(ft=ft.replace("oauth","ba")),this.authzSevice.configuration.basePath=ft,this.titleService.setTitle(this.storeService.get("document_title","en")),xe()})}loadAppsConfig(){return new Promise((xe,ft)=>{this.utilsService.getAppsConfig().subscribe(Ut=>{this.storeService.setAppsConfig(Ut),xe()},Ut=>ft(Ut))})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(oe.eN),c.LFG(b.d6),c.LFG(_.Ct),c.LFG(e.Dx),c.LFG(_.FW))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();function Dt(tt,Wt){const xe=tinycolor(tt),ft=xe.toRgb();return{name:Wt,hex:xe.toHexString(),darkContrast:xe.isLight(),red:ft.r,green:ft.g,blue:ft.b}}let ti=(()=>{class tt{constructor(xe,ft){this.data=xe,this.location=ft}redirect(){this.location.go("/"),location.reload()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.WI),c.Y36(Q.Ye))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-prevent-proxy-overload-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"h2"),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"p"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"button",0),c.NdJ("click",function(){return ft.redirect()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.hij(" ",c.lcZ(2,3,ft.data.title),"\n"),c.xp6(3),c.hij(" ",c.lcZ(5,5,ft.data.message),"\n"),c.xp6(4),c.hij(" ",c.lcZ(9,7,ft.data.action)," "))},pipes:[N.X$],styles:[""]}),tt})(),si=(()=>{class tt{constructor(xe,ft){this.dialogRef=xe,this.data=ft}refresh(){location.reload()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.so),c.Y36(A.WI))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-server-down-dialog"]],decls:10,vars:9,consts:[[3,"click"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"h2"),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.TgZ(3,"p"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"div"),c.TgZ(7,"button",0),c.NdJ("click",function(){return ft.refresh()}),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.hij(" ",c.lcZ(2,3,ft.data.title),"\n"),c.xp6(3),c.hij(" ",c.lcZ(5,5,ft.data.message),"\n"),c.xp6(4),c.hij(" ",c.lcZ(9,7,ft.data.action)," "))},pipes:[N.X$],styles:[""]}),tt})(),Ii=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei){this.initAuthService=xe,this.appConfigService=ft,this.authzSevice=Ut,this.dialog=$t,this.location=bi,this.guiAuthResolver=Ei,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(xe=>{if("Invalid path"!==xe)throw console.error(xe),this.location.go("/"),location.reload(),xe;this.handleErr(xe)}).then(xe=>xe?this.initAuthService.loadPrincipal().catch(ft=>this.handleErr(ft)).then(()=>this.loadPolicies()).then(()=>this.appConfigService.loadAppsConfig()).then(()=>this.guiAuthResolver.loadRolesManagementRules()):this.initAuthService.handleAuthStart())}handleErr(xe){const ft=(0,E.kZ)();throw"Invalid path"===xe?(ft.data={title:"GENERAL.PROXY_OVERLOAD_PREVENTION.TITLE",message:"GENERAL.PROXY_OVERLOAD_PREVENTION.MESSAGE",action:"GENERAL.PROXY_OVERLOAD_PREVENTION.ACTION"},this.dialog.open(ti,ft)):(ft.data={title:"GENERAL.PRINCIPAL_ERROR.TITLE",message:0===xe.status?"GENERAL.PRINCIPAL_ERROR.MESSAGE":xe.message,action:"GENERAL.PRINCIPAL_ERROR.ACTION"},this.dialog.open(si,ft)),console.error(xe),xe}loadPolicies(){return new Promise((xe,ft)=>{this.authzSevice.getAllPolicies().subscribe(Ut=>{this.guiAuthResolver.setPerunPolicies(Ut),xe()},Ut=>ft(Ut))})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(b.v0),c.LFG(Ge),c.LFG(_.Ct),c.LFG(A.uw),c.LFG(Q.Ye),c.LFG(b.x4))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),wi=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,A.Is,F.ot,N.aw]]}),tt})();var zi=h(50226),rn=h(47429),Oi=h(70925),Hi=h(63191),Ki=h(77579),Li=h(56451),yi=h(54968),nn=h(68306),fn=h(66406),Wi=h(39646),sn=h(95698),An=h(54482),On=h(72733),Ji=h(22529),ln=h(82722),Dn=h(28746),St=h(71345);const Kt=new c.OlP("SMOOTH_SCROLL_OPTIONS");let st=(()=>{class tt{constructor(xe,ft,Ut){this._document=xe,this._platform=ft,this._onGoingScrolls=new Map,this._defaultOptions=Object.assign({duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1}},Ut)}get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}_scrollElement(xe,ft,Ut){xe.scrollLeft=ft,xe.scrollTop=Ut}_getElement(xe,ft){return"string"==typeof xe?(ft||this._document).querySelector(xe):(0,Hi.fI)(xe)}_initSmoothScroll(xe){return this._onGoingScrolls.has(xe)&&this._onGoingScrolls.get(xe).next(),this._onGoingScrolls.set(xe,new Ki.x).get(xe)}_isFinished(xe,ft,Ut){return xe.currentX!==xe.x||xe.currentY!==xe.y||(ft.next(),Ut(),!1)}_interrupted(xe,ft){return(0,Li.T)((0,yi.R)(xe,"wheel",{passive:!0,capture:!0}),(0,yi.R)(xe,"touchmove",{passive:!0,capture:!0}),ft).pipe((0,sn.q)(1))}_destroy(xe,ft){ft.complete(),this._onGoingScrolls.delete(xe)}_step(xe){return new nn.y(ft=>{let Ut=(this._now()-xe.startTime)/xe.duration;Ut=Ut>1?1:Ut;const $t=xe.easing(Ut);xe.currentX=xe.startX+(xe.x-xe.startX)*$t,xe.currentY=xe.startY+(xe.y-xe.startY)*$t,this._scrollElement(xe.scrollable,xe.currentX,xe.currentY),fn.Z.schedule(()=>ft.next(xe))})}_applyScrollToOptions(xe,ft){if(!ft.duration)return this._scrollElement(xe,ft.left,ft.top),Promise.resolve();const Ut=this._initSmoothScroll(xe),$t={scrollable:xe,startTime:this._now(),startX:xe.scrollLeft,startY:xe.scrollTop,x:null==ft.left?xe.scrollLeft:~~ft.left,y:null==ft.top?xe.scrollTop:~~ft.top,duration:ft.duration,easing:St(ft.easing.x1,ft.easing.y1,ft.easing.x2,ft.easing.y2)};return new Promise(bi=>{(0,Wi.of)(null).pipe(function un(tt,Wt=1/0,xe){return Wt=(Wt||0)<1?1/0:Wt,(0,An.e)((ft,Ut)=>(0,On.p)(ft,Ut,tt,Wt,void 0,!0,xe))}(()=>this._step($t).pipe((0,Ji.o)(Ei=>this._isFinished(Ei,Ut,bi)))),(0,ln.R)(this._interrupted(xe,Ut)),(0,Dn.x)(()=>this._destroy(xe,Ut))).subscribe()})}scrollTo(xe,ft){if((0,Q.NF)(this._platform)){const Ut=this._getElement(xe),$t="rtl"===getComputedStyle(Ut).direction,bi=(0,Oi._i)(),Ei=Object.assign(Object.assign(Object.assign({},this._defaultOptions),ft),{left:null==ft.left?$t?ft.end:ft.start:ft.left,right:null==ft.right?$t?ft.start:ft.end:ft.right});return null!=Ei.bottom&&(Ei.top=Ut.scrollHeight-Ut.clientHeight-Ei.bottom),$t&&0!==bi?(null!=Ei.left&&(Ei.right=Ut.scrollWidth-Ut.clientWidth-Ei.left),2===bi?Ei.left=Ei.right:1===bi&&(Ei.left=Ei.right?-Ei.right:Ei.right)):null!=Ei.right&&(Ei.left=Ut.scrollWidth-Ut.clientWidth-Ei.right),this._applyScrollToOptions(Ut,Ei)}return Promise.resolve()}scrollToElement(xe,ft,Ut={}){const $t=this._getElement(xe),bi=this._getElement(ft,$t),Ei=Object.assign(Object.assign({},Ut),{left:bi.offsetLeft+(Ut.left||0),top:bi.offsetTop+(Ut.top||0)});return bi?this.scrollTo($t,Ei):Promise.resolve()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(Q.K0),c.LFG(c.Lbi),c.LFG(Kt,8))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Fe=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({}),tt})();var Bt=h(60515),Je=h(61135),wt=h(50727),Gt=h(18505),li=h(54004),vi=h(63900);function Vi(...tt){const Wt=tt.length;if(0===Wt)throw new Error("list of properties cannot be empty.");return(0,li.U)(xe=>{let ft=xe;for(let Ut=0;Ut{tt.onselectstart=()=>!1})}function Pn(tt){return(0,Gt.b)(()=>{tt.onselectstart=null})}function Rn(){return(0,Gt.b)(tt=>tt.stopPropagation())}function xn(tt,Wt){return tt.clientX>=Wt.left&&tt.clientX<=Wt.left+Wt.width&&tt.clientY>=Wt.top&&tt.clientY<=Wt.top+Wt.height}let Hn=(()=>{class tt{constructor(xe){this.viewPort=xe,this.nativeElement=xe.nativeElement}get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){var xe;return(null===(xe=this.contentWrapperElement)||void 0===xe?void 0:xe.clientHeight)||0}get contentWidth(){var xe;return(null===(xe=this.contentWrapperElement)||void 0===xe?void 0:xe.clientWidth)||0}activatePointerEvents(xe,ft){this.hovered=new nn.y(Ut=>{const $t=(0,yi.R)(this.nativeElement,"mousemove",{passive:!0}),bi=xe?$t:$t.pipe(Rn()),Ei=(0,yi.R)(this.nativeElement,"mouseleave",{passive:!0}).pipe((0,li.U)(()=>!1));(0,Li.T)(bi,Ei).pipe((0,Gt.b)(Yi=>Ut.next(Yi)),(0,ln.R)(ft)).subscribe()}),this.clicked=new nn.y(Ut=>{const $t=(0,yi.R)(this.nativeElement,"mousedown",{passive:!0}).pipe((0,Gt.b)(Ei=>Ut.next(Ei))),bi=(0,yi.R)(this.nativeElement,"mouseup",{passive:!0}).pipe((0,Gt.b)(()=>Ut.next(!1)));$t.pipe((0,vi.w)(()=>bi),(0,ln.R)(ft)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(xe){this.nativeElement.className=`ng-native-scrollbar-hider ng-scroll-viewport ${xe}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(xe){this.nativeElement.scrollTop=xe}scrollXTo(xe){this.nativeElement.scrollLeft=xe}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollViewport",""]]}),tt})(),mn=(()=>{class tt{}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275dir=c.lG2({type:tt}),tt})();const vn=new c.OlP("NG_SCROLLBAR_OPTIONS"),Gn={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1};let cn=(()=>{class tt{constructor(xe){this.globalOptions=xe?Object.assign(Object.assign({},Gn),xe):Gn,this.rtlScrollAxisType=(0,Oi._i)()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(vn,8))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),Bn=(()=>{class tt{constructor(xe,ft,Ut){this.cmp=xe,this.trackElement=ft,this.document=Ut}get clicked(){const xe=(0,yi.R)(this.trackElement,"mousedown",{passive:!0}).pipe(Rn(),wn(this.document)),ft=(0,yi.R)(this.document,"mouseup",{passive:!0}).pipe(Rn(),Pn(this.document),(0,vi.w)(()=>Bt.E));return(0,Li.T)(xe,ft)}get clientRect(){return this.trackElement.getBoundingClientRect()}onTrackClicked(xe,ft,Ut){return(0,Wi.of)(xe).pipe(Vi(this.pageProperty),(0,li.U)($t=>($t-this.offset-ft/2)/this.size*Ut),(0,Gt.b)($t=>{this.cmp.scrollTo(Object.assign(Object.assign({},this.mapToScrollToOption($t)),{duration:(0,Hi.su)(this.cmp.trackClickScrollDuration)}))}))}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(HTMLElement),c.Y36(Document))},tt.\u0275dir=c.lG2({type:tt}),tt})(),zn=(()=>{class tt extends Bn{constructor(xe,ft,Ut){super(xe,ft.nativeElement,Ut),this.cmp=xe,this.document=Ut}get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}mapToScrollToOption(xe){return{left:xe}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarTrackX",""]],features:[c.qOj]}),tt})(),dn=(()=>{class tt extends Bn{constructor(xe,ft,Ut){super(xe,ft.nativeElement,Ut),this.cmp=xe,this.document=Ut}get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}mapToScrollToOption(xe){return{top:xe}}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarTrackY",""]],features:[c.qOj]}),tt})(),cr=(()=>{class tt{constructor(xe,ft,Ut,$t){this.cmp=xe,this.track=ft,this.thumbElement=Ut,this.document=$t,this._dragging=new Ki.x,this.dragging=this._dragging.pipe((0,Ui.x)())}get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return(0,yi.R)(this.thumbElement,"mousedown",{passive:!0}).pipe(Rn())}update(){const xe=function gt(tt,Wt,xe){return Math.max(~~(tt/Wt*tt),xe)}(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),ft=function k(tt,Wt,xe){return tt*xe/Wt}(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);fn.Z.schedule(()=>this.updateStyles(this.handleDirection(ft,this.trackMax),xe))}dragged(xe){let ft,Ut;const $t=(0,Wi.of)(xe).pipe(wn(this.document),(0,Gt.b)(()=>{ft=this.trackMax,Ut=this.viewportScrollMax,this.setDragging(!0)})),bi=(0,yi.R)(this.document,"mousemove",{capture:!0,passive:!0}).pipe(Rn()),Ei=(0,yi.R)(this.document,"mouseup",{capture:!0}).pipe(Rn(),Pn(this.document),(0,Gt.b)(()=>this.setDragging(!1)));return $t.pipe(Vi(this.pageProperty),(0,li.U)(Yi=>Yi-this.dragStartOffset),(0,bn.z)(Yi=>bi.pipe(Vi(this.clientProperty),(0,li.U)(on=>on-this.track.offset),(0,li.U)(on=>Ut*(on-Yi)/ft),(0,li.U)(on=>this.handleDrag(on,Ut)),(0,Gt.b)(on=>this.scrollTo(on)),(0,ln.R)(Ei))))}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(Bn),c.Y36(HTMLElement),c.Y36(Document))},tt.\u0275dir=c.lG2({type:tt,outputs:{dragging:"dragging"}}),tt})(),W=(()=>{class tt extends cr{constructor(xe,ft,Ut,$t,bi){super(xe,ft,Ut.nativeElement,$t),this.cmp=xe,this.track=ft,this.element=Ut,this.document=$t,this.dir=bi}get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}updateStyles(xe,ft){this.thumbElement.style.width=`${ft}px`,this.thumbElement.style.transform=`translate3d(${xe}px, 0, 0)`}handleDrag(xe,ft){if("rtl"===this.dir.value){if(1===this.cmp.manager.rtlScrollAxisType)return xe-ft;if(2===this.cmp.manager.rtlScrollAxisType)return ft-xe}return xe}handleDirection(xe,ft){if("rtl"===this.dir.value){if(2===this.cmp.manager.rtlScrollAxisType)return-xe;if(0===this.cmp.manager.rtlScrollAxisType)return xe-ft}return xe}setDragging(xe){this.cmp.setDragging({horizontalDragging:xe})}scrollTo(xe){this.cmp.viewport.scrollXTo(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(zn),c.Y36(c.SBq),c.Y36(Q.K0),c.Y36(zi.Is))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarThumbX",""]],features:[c.qOj]}),tt})(),Re=(()=>{class tt extends cr{constructor(xe,ft,Ut,$t){super(xe,ft,Ut.nativeElement,$t),this.cmp=xe,this.track=ft,this.element=Ut,this.document=$t}get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}updateStyles(xe,ft){this.thumbElement.style.height=`${ft}px`,this.thumbElement.style.transform=`translate3d(0px, ${xe}px, 0)`}handleDrag(xe){return xe}handleDirection(xe){return xe}setDragging(xe){this.cmp.setDragging({verticalDragging:xe})}scrollTo(xe){this.cmp.viewport.scrollYTo(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(mn),c.Y36(dn),c.Y36(c.SBq),c.Y36(Q.K0))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","scrollbarThumbY",""]],features:[c.qOj]}),tt})(),pt=(()=>{class tt{constructor(xe,ft,Ut,$t,bi){this.el=xe,this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi,this.destroyed=new Ki.x}activatePointerEvents(){let xe,ft,Ut;return"viewport"===this.cmp.pointerEventsMethod?(this.viewportTrackClicked=new Ki.x,this.viewportThumbClicked=new Ki.x,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),xe=this.viewportThumbClicked,ft=this.viewportTrackClicked,Ut=this.cmp.viewport.hovered.pipe((0,li.U)($t=>!!$t&&xn($t,this.el.getBoundingClientRect())),(0,Ui.x)(),(0,Gt.b)($t=>this.document.onselectstart=$t?()=>!1:null)),this.cmp.viewport.clicked.pipe((0,Gt.b)($t=>{$t?xn($t,this.thumb.clientRect)?this.viewportThumbClicked.next($t):xn($t,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next($t)):this.cmp.setClicked(!1)}),(0,ln.R)(this.destroyed)).subscribe()):(xe=this.thumb.clicked,ft=this.track.clicked,Ut=this.hovered),(0,Li.T)(Ut.pipe((0,Gt.b)($t=>this.setHovered($t))),xe.pipe((0,vi.w)($t=>this.thumb.dragged($t))),ft.pipe((0,vi.w)($t=>this.track.onTrackClicked($t,this.thumb.size,this.viewportScrollSize))))}get hovered(){const xe=(0,yi.R)(this.el,"mouseenter",{passive:!0}).pipe(Rn(),(0,li.U)(()=>!0)),ft=(0,yi.R)(this.el,"mouseleave",{passive:!0}).pipe(Rn(),(0,li.U)(()=>!1));return(0,Li.T)(xe,ft)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe((0,ln.R)(this.destroyed)).subscribe(),(0,Li.T)(this.cmp.scrolled,this.cmp.updated).pipe((0,Gt.b)(()=>{var xe;return null===(xe=this.thumb)||void 0===xe?void 0:xe.update()}),(0,ln.R)(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(HTMLElement),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Document),c.Y36(c.R0b))},tt.\u0275dir=c.lG2({type:tt}),tt})(),Et=(()=>{class tt extends pt{constructor(xe,ft,Ut,$t,bi){super(xe.nativeElement,ft,Ut,$t,bi),this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}setHovered(xe){this.cmp.setHovered({verticalHovered:xe})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Q.K0),c.Y36(c.R0b))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["scrollbar-y"]],viewQuery:function(xe,ft){if(1&xe&&(c.Gf(dn,7),c.Gf(Re,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.track=Ut.first),c.iGM(Ut=c.CRH())&&(ft.thumb=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("scrollbar-control",!0)},features:[c.qOj],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"div",1),c.qZA()),2&xe&&(c.Gre("ng-scrollbar-track ",ft.cmp.trackClass,""),c.xp6(1),c.Gre("ng-scrollbar-thumb ",ft.cmp.thumbClass,""))},directives:[dn,Re],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%} .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0} .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset} .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset} .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0} .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0} .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0}),tt})(),te=(()=>{class tt extends pt{constructor(xe,ft,Ut,$t,bi){super(xe.nativeElement,ft,Ut,$t,bi),this.cmp=ft,this.platform=Ut,this.document=$t,this.zone=bi}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}setHovered(xe){this.cmp.setHovered({horizontalHovered:xe})}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(mn),c.Y36(Oi.t4),c.Y36(Q.K0),c.Y36(c.R0b))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["scrollbar-x"]],viewQuery:function(xe,ft){if(1&xe&&(c.Gf(zn,7),c.Gf(W,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.track=Ut.first),c.iGM(Ut=c.CRH())&&(ft.thumb=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("scrollbar-control",!0)},features:[c.qOj],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c._UZ(1,"div",1),c.qZA()),2&xe&&(c.Gre("ng-scrollbar-track ",ft.cmp.trackClass,""),c.xp6(1),c.Gre("ng-scrollbar-thumb ",ft.cmp.thumbClass,""))},directives:[zn,W],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)} .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%} .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb, .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)} .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset} .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control, .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0} .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true], .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0}),tt})(),Ie=(()=>{class tt{constructor(xe){this.el=xe}set ngAttr(xe){for(const[ft,Ut]of Object.entries(xe))this.el.nativeElement.setAttribute(ft,Ut)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"}}),tt})(),le=(()=>{class tt{constructor(xe,ft,Ut){if(this.zone=xe,this.platform=ft,this.scrollbar=Ut,this._disabled=!1,this._currentSubscription=null,this.event=new c.vpe,!Ut)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}get debounce(){return this._debounce}set debounce(xe){this._debounce=(0,Hi.su)(xe),this._subscribe()}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,Hi.Ig)(xe),this._disabled?this._unsubscribe():this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){const xe=new nn.y(ft=>{this._resizeObserver=new ResizeObserver(Ut=>ft.next(Ut)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?xe.pipe((0,Jn.b)(this._debounce)):xe).subscribe(this.event)})}}_unsubscribe(){var xe,ft;null===(xe=this._resizeObserver)||void 0===xe||xe.disconnect(),null===(ft=this._currentSubscription)||void 0===ft||ft.unsubscribe()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.R0b),c.Y36(Oi.t4),c.Y36(mn))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","resizeSensor",""]],inputs:{debounce:["sensorDebounce","debounce"],disabled:["sensorDisabled","disabled"]},outputs:{event:"resizeSensor"}}),tt})(),et=(()=>{class tt{constructor(xe,ft,Ut){this.document=xe,this.manager=ft,this.platform=Ut,this._scrollbarSize=new Je.X(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),Ut.isBrowser&&(0,yi.R)(this.document.defaultView,"resize",{passive:!0}).pipe((0,Jn.b)(this.manager.globalOptions.windowResizeDebounce),(0,li.U)(()=>this.getNativeScrollbarSize()),(0,Ui.x)(),(0,Gt.b)($t=>this._scrollbarSize.next($t))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;const xe=this.document.createElement("div");xe.className="ng-scrollbar-measure",xe.style.left="0px",xe.style.overflow="scroll",xe.style.position="fixed",xe.style.top="-9999px",this.document.body.appendChild(xe);const ft=xe.getBoundingClientRect().right;return this.document.body.removeChild(xe),ft}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(Q.K0),c.LFG(cn),c.LFG(Oi.t4))},tt.\u0275prov=c.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),xt=(()=>{class tt{constructor(xe,ft,Ut){this.renderer=ft,this.hideNativeScrollbar=Ut,this._subscriber=wt.w0.EMPTY,this._subscriber=Ut.scrollbarSize.subscribe($t=>{this.renderer.setStyle(xe.nativeElement,"--native-scrollbar-size",`-${$t}px`,c.JOm.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(et))},tt.\u0275dir=c.lG2({type:tt,selectors:[["","hideNativeScrollbar",""]]}),tt})(),zt=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei){this.el=xe,this.zone=ft,this.changeDetectorRef=Ut,this.dir=$t,this.smoothScroll=bi,this.manager=Ei,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new c.vpe,this.state={},this.destroyed=new Ki.x}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,Hi.Ig)(xe)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(xe){this._sensorDisabled=(0,Hi.Ig)(xe)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(xe){this._pointerEventsDisabled=(0,Hi.Ig)(xe)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(xe){this._viewportPropagateMouseMove=(0,Hi.Ig)(xe)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(xe){this._autoHeightDisabled=(0,Hi.Ig)(xe)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(xe){this._autoWidthDisabled=(0,Hi.Ig)(xe)}get nativeElement(){return this.el.nativeElement}updateState(){let xe=!1,ft=!1,Ut=!1,$t=!1;("all"===this.track||"vertical"===this.track)&&(Ut=this.viewport.scrollHeight>this.viewport.clientHeight,xe="always"===this.visibility||Ut),("all"===this.track||"horizontal"===this.track)&&($t=this.viewport.scrollWidth>this.viewport.clientWidth,ft="always"===this.visibility||$t),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:xe,horizontalUsed:ft,isVerticallyScrollable:Ut,isHorizontallyScrollable:$t})}setState(xe){this.state=Object.assign(Object.assign({},this.state),xe),this.changeDetectorRef.detectChanges()}getScrolledByDirection(xe){let ft;return this.scrolled.pipe((0,Gt.b)(Ut=>ft=Ut),Vi("target",xe),(0,nr.G)(),(0,jn.h)(([Ut,$t])=>Ut!==$t),(0,li.U)(()=>ft))}setHovered(xe){this.zone.run(()=>this.setState(Object.assign({},xe)))}setDragging(xe){this.zone.run(()=>this.setState(Object.assign({},xe)))}setClicked(xe){this.zone.run(()=>this.setState({scrollbarClicked:xe}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let xe=(0,yi.R)(this.viewport.nativeElement,"scroll",{passive:!0});xe=this.scrollAuditTime?xe.pipe((0,Cn.e)(this.scrollAuditTime)):xe,this.scrolled=xe.pipe((0,ln.R)(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(xe){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe((0,Gt.b)(()=>this.update()),(0,ln.R)(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(xe){return this.smoothScroll.scrollTo(this.viewport.nativeElement,xe)}scrollToElement(xe,ft){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,xe,ft)}updateHeight(){this.nativeElement.style.height="standard"===this.appearance&&this.scrollbarX?`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:`${this.viewport.contentHeight}px`}updateWidth(){this.nativeElement.style.width="standard"===this.appearance&&this.scrollbarY?`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:`${this.viewport.contentWidth}px`}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(zi.Is),c.Y36(st),c.Y36(cn))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["ng-scrollbar"]],contentQueries:function(xe,ft,Ut){if(1&xe&&c.Suo(Ut,Hn,7),2&xe){let $t;c.iGM($t=c.CRH())&&(ft.customViewPort=$t.first)}},viewQuery:function(xe,ft){if(1&xe&&(c.Gf(Tr,5,c.SBq),c.Gf(En,5,c.SBq),c.Gf(Hn,7)),2&xe){let Ut;c.iGM(Ut=c.CRH())&&(ft.scrollbarY=Ut.first),c.iGM(Ut=c.CRH())&&(ft.scrollbarX=Ut.first),c.iGM(Ut=c.CRH())&&(ft.defaultViewPort=Ut.first)}},hostVars:2,hostBindings:function(xe,ft){2&xe&&c.ekj("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],features:[c._Bn([{provide:mn,useExisting:tt}]),c.TTD],ngContentSelectors:Zn,decls:6,vars:4,consts:[[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"sensorDebounce","sensorDisabled","resizeSensor"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"],["scrollbarX",""],["scrollbarY",""]],template:function(xe,ft){1&xe&&(c.F$t(),c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.NdJ("resizeSensor",function(){return ft.update()}),c.TgZ(2,"div",2),c.TgZ(3,"div"),c.Hsn(4),c.qZA(),c.qZA(),c.qZA(),c.YNc(5,Qn,3,2,"ng-container",3),c.qZA()),2&xe&&(c.Q6J("ngAttr",ft.state),c.xp6(1),c.Q6J("sensorDebounce",ft.sensorDebounce)("sensorDisabled",ft.sensorDisabled),c.xp6(4),c.Q6J("ngIf",!ft.disabled))},directives:[te,Et,Ie,le,Hn,xt,Q.O5],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none} .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)} .ng-scroll-content{position:relative!important;display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%], .ng-scroll-viewport{position:absolute;left:0;right:0;top:0;bottom:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none} .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport, .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*> .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none} .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)} .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none} .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default} .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0}),tt})(),Jt=(()=>{class tt{static withConfig(xe){return{ngModule:tt,providers:[{provide:vn,useValue:xe}]}}}return tt.\u0275fac=function(xe){return new(xe||tt)},tt.\u0275mod=c.oAB({type:tt}),tt.\u0275inj=c.cJS({imports:[[Q.ez,zi.vT,rn.eL,Oi.ud,Fe]]}),tt})();var ai=h(86114),ui=h(36769),fi=h(22465);function Ai(tt,Wt){if(1&tt){const xe=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"perun-web-apps-notification",2),c.NdJ("closeNotification",function(){const $t=c.CHM(xe).index;return c.oxw().removeNotification($t)}),c.qZA(),c.qZA()}if(2&tt){const xe=Wt.$implicit;c.Q6J("@flyInOut",void 0),c.xp6(1),c.Q6J("data",xe)("newNotification",!0)}}const Mi=function(tt){return{top:tt}};let Bi=(()=>{class tt{constructor(xe,ft){this.notificator=xe,this.notificationStorageService=ft,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(Ut=>{this.processNotification(Ut)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(xe){this.notifications.splice(xe,1)}processNotification(xe){this.notifications.push(xe),this.notificationStorageService.storeNotification(xe)}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.V6),c.Y36(b.SZ))},tt.\u0275cmp=c.Xpm({type:tt,selectors:[["perun-web-apps-notificator"]],hostBindings:function(xe,ft){1&xe&&c.NdJ("resize",function($t){return ft.getScreenSize($t)},!1,c.Jf7)},inputs:{displayWarning:"displayWarning"},decls:2,vars:4,consts:[["id","notificator",3,"ngStyle"],[4,"ngFor","ngForOf"],[3,"data","newNotification","closeNotification"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.YNc(1,Ai,2,3,"div",1),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.VKq(2,Mi,ft.getNotificatorTop())),c.xp6(1),c.Q6J("ngForOf",ft.notifications))},directives:[Q.PC,Q.sg,fi.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:[ui.Pd]}}),tt})();var ke=h(29071);function De(tt,Wt){if(1&tt&&(c.TgZ(0,"div",9),c._UZ(1,"perun-web-apps-notification",10),c.qZA()),2&tt){const xe=Wt.$implicit;c.xp6(1),c.Q6J("data",xe)("inDialog",!0)}}function we(tt,Wt){if(1&tt&&(c.TgZ(0,"div",6),c.TgZ(1,"cdk-virtual-scroll-viewport",7),c.YNc(2,De,2,2,"div",8),c.qZA(),c.qZA()),2&tt){const xe=c.oxw();c.xp6(2),c.Q6J("cdkVirtualForOf",xe.notifications)}}function ht(tt,Wt){1&tt&&(c.TgZ(0,"perun-web-apps-alert",11),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&tt&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"DIALOGS.NOTIFICATION_LIST.NO_NOTIFICATIONS_ALERT")))}let Zt=(()=>{class tt{constructor(xe,ft){this.dialogRef=xe,this.notificationStorageService=ft}ngOnInit(){this.notifications=this.notificationStorageService.getNotifications()}onCancel(){this.dialogRef.close()}onClear(){this.notificationStorageService.clearNotifications(),this.notifications=[]}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(A.so),c.Y36(b.SZ))},tt.\u0275cmp=c.Xpm({type:tt,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(xe,ft){1&xe&&(c.TgZ(0,"h1",0),c._uU(1),c.ALo(2,"translate"),c.qZA(),c.YNc(3,we,3,1,"div",1),c.YNc(4,ht,3,3,"perun-web-apps-alert",2),c.TgZ(5,"div",3),c.TgZ(6,"button",4),c.NdJ("click",function(){return ft.onClear()}),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.TgZ(9,"button",5),c.NdJ("click",function(){return ft.onCancel()}),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.qZA()),2&xe&&(c.xp6(1),c.Oqu(c.lcZ(2,5,"DIALOGS.NOTIFICATION_LIST.TITLE")),c.xp6(2),c.Q6J("ngIf",0!==ft.notifications.length),c.xp6(1),c.Q6J("ngIf",0===ft.notifications.length),c.xp6(3),c.hij(" ",c.lcZ(8,7,"DIALOGS.NOTIFICATION_LIST.CLEAR")," "),c.xp6(3),c.hij(" ",c.lcZ(11,9,"DIALOGS.NOTIFICATION_LIST.CANCEL")," "))},directives:[A.uh,Q.O5,ke.N7,ke.xd,ke.x0,fi.c,pe.w,A.H8,F.lW],pipes:[N.X$],styles:[".viewport[_ngcontent-%COMP%]{height:400px;width:470px}.hide-horizontal-scrollbar[_ngcontent-%COMP%]{overflow-x:hidden}"]}),tt})();var pi=h(27544),ki=h(52314);function Xi(tt,Wt){1&tt&&(c.TgZ(0,"div",10),c.TgZ(1,"span",11),c._uU(2," ~ \u{1f5f2}\xa0 "),c.qZA(),c.TgZ(3,"span",12),c._uU(4," DEVEL "),c.qZA(),c.TgZ(5,"span",11),c._uU(6," \xa0\u{1f5f2} ~ "),c.qZA(),c.qZA())}const pn=function(tt){return{color:tt}},Nn=function(){return["/home"]};let $n=(()=>{class tt{constructor(xe,ft,Ut,$t,bi,Ei,Yi,on,Wn,kn){this.storeService=xe,this.authService=ft,this.authzResolverService=Ut,this.dialog=$t,this.notificator=bi,this.translateService=Ei,this.store=Yi,this.sanitizer=on,this.notificationStorageService=Wn,this.otherApplicationService=kn,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 xe=(0,E.kZ)();xe.width="520px",this.dialog.open(Zt,xe)}getNewNotificationsCount(){return this.notificationStorageService.newNotificationsCount}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.Y36(b.d6),c.Y36(b.e8),c.Y36(_.Ct),c.Y36(A.uw),c.Y36(b.V6),c.Y36(N.sK),c.Y36(b.d6),c.Y36(e.H7),c.Y36(b.SZ),c.Y36(b.jq))},tt.\u0275cmp=c.Xpm({type:tt,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,"iconColor","label","textColor","logoutEnabled","url","user"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(xe,ft){1&xe&&(c.TgZ(0,"div",0),c.TgZ(1,"button",1),c.NdJ("click",function(){return ft.sideNav.toggle()}),c.TgZ(2,"mat-icon",2),c._uU(3," menu "),c.qZA(),c.qZA(),c.TgZ(4,"a",3),c._UZ(5,"div",4),c.qZA(),c.qZA(),c.YNc(6,Xi,7,0,"div",5),c.TgZ(7,"div",6),c.TgZ(8,"button",7),c.NdJ("click",function(){return ft.showNotificationHistory()}),c.ALo(9,"translate"),c.TgZ(10,"mat-icon",8),c._uU(11),c.qZA(),c.qZA(),c._UZ(12,"perun-web-apps-header-menu",9),c.qZA()),2&xe&&(c.Q6J("ngStyle",c.VKq(19,pn,ft.navTextColor)),c.xp6(2),c.Q6J("ngStyle",c.VKq(21,pn,ft.iconColor)),c.xp6(2),c.Q6J("routerLink",c.DdM(23,Nn)),c.xp6(1),c.Q6J("innerHTML",ft.logo,c.oJD),c.xp6(1),c.Q6J("ngIf",ft.isDevel),c.xp6(1),c.Q6J("ngStyle",c.VKq(24,pn,ft.navTextColor)),c.xp6(1),c.Q6J("matTooltip",c.lcZ(9,17,"NAV.NOTIFICATIONS_TOOLTIP")),c.xp6(2),c.s9C("matBadge",ft.getNewNotificationsCount()>5?"5+":ft.getNewNotificationsCount()),c.Q6J("ngStyle",c.VKq(26,pn,ft.iconColor))("matBadgeHidden",0===ft.getNewNotificationsCount()),c.xp6(1),c.hij(" ",ft.getNewNotificationsCount()?"notifications_active":"notifications"," "),c.xp6(1),c.Q6J("iconColor",ft.iconColor)("label",ft.profileLabel)("textColor",ft.navTextColor)("logoutEnabled",ft.logoutEnabled)("url",ft.profileUrl)("user",ft.principal.user))},directives:[Q.PC,F.lW,he.Hw,g.yS,Q.O5,T.gM,pi.k,ki.X],pipes:[N.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}"]}),tt})();var sr=h(73228);const ri={provide:oe.TP,useExisting:(0,c.Gpc)(()=>b.yC),multi:!0};function ci(tt){return new $(tt,"./assets/i18n/",".json")}function Si(tt){const Wt={basePath:tt.get("api_url")};return new _.VK(Wt)}const _i=tt=>()=>tt.initialize();let Fi=(()=>{class tt{constructor(xe,ft){this.customIconService=xe,this.translate=ft,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return tt.\u0275fac=function(xe){return new(xe||tt)(c.LFG(b.EB),c.LFG(N.sK))},tt.\u0275mod=c.oAB({type:tt,bootstrap:[je.y]}),tt.\u0275inj=c.cJS({providers:[Ii,{provide:c.ip1,useFactory:_i,multi:!0,deps:[Ii]},{provide:_.VK,useFactory:Si,deps:[b.d6]},{provide:g.wN,useClass:yt},b.EB,{provide:U,useClass:b.sM},b.yC,ri,{provide:ai.Hy,useFactory:()=>localStorage}],imports:[[nt.PW,e.b2,oe.JF,Z.m,ct,He,he.Ps,wi,N.aw.forRoot({loader:{provide:N.Zw,useFactory:ci,deps:[oe.eN]}}),_.au,u.ez,t,Jt.withConfig({autoWidthDisabled:!1,visibility:"hover"}),ai.zr.forRoot()]]}),tt})();c.B6R(je.y,[Q.O5,he.Hw,Bi,$n,Q.PC,q.TM,q.JX,zt,sr.V,q.Rh,g.lC,a.$,bt],[]),(0,c.G48)(),e.q6().bootstrapModule(Fi).catch(tt=>console.error(tt))},11243:(qe,me,h)=>{"use strict";h.d(me,{r:()=>g});var e=h(69808),c=h(5e3);let g=(()=>{class w{}return w.\u0275fac=function(b){return new(b||w)},w.\u0275mod=c.oAB({type:w}),w.\u0275inj=c.cJS({imports:[[e.ez]]}),w})()},6335:(qe,me,h)=>{"use strict";h.d(me,{Rc:()=>c,pI:()=>g,Ng:()=>w});var e=h(5e3);const c="GUI_CONFIG.PREF_PAGE_SIZE",g="GUI_CONFIG.PREF_PAGE_SIZE.";let w=(()=>{class _{getString(E){return localStorage.getItem(E)}getNumber(E){return parseInt(localStorage.getItem(E),10)}setNumber(E,v){localStorage.setItem(E,v.toString())}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275prov=e.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},10036:(qe,me,h)=>{"use strict";h.d(me,{dB:()=>g,CP:()=>w,tw:()=>_,nT:()=>b,YF:()=>E,gc:()=>v,v1:()=>I,AA:()=>N,VR:()=>A,uM:()=>q,xx:()=>j,H2:()=>G,xt:()=>Q,dI:()=>he,j1:()=>F,Wv:()=>be,qy:()=>pe,BV:()=>ye,qV:()=>T,tY:()=>R,Af:()=>L,O7:()=>X,gB:()=>Y,Hi:()=>se,Jf:()=>Te,W1:()=>Oe,rF:()=>Se,Aj:()=>We,Ad:()=>ge,kZ:()=>Le,cL:()=>ue,RS:()=>Me,HC:()=>z,KE:()=>P,Sb:()=>de,_7:()=>Ce,bf:()=>Pe,rc:()=>ce,Cf:()=>fe,eq:()=>ze,NG:()=>Ue,O9:()=>_e,d7:()=>ae,vq:()=>Ae,NL:()=>ee,kO:()=>Ne,aL:()=>V,DR:()=>H,uC:()=>D,JO:()=>O,oK:()=>i,Iz:()=>o,It:()=>u,z6:()=>l,iQ:()=>s,e5:()=>n,Bf:()=>t,zp:()=>d,US:()=>f,gG:()=>x,$V:()=>Ye,S7:()=>It,zW:()=>Yt,CE:()=>Nt,Is:()=>He,M8:()=>$,g:()=>oe,_c:()=>nt,dK:()=>ct,yW:()=>Rt,HE:()=>mt,ee:()=>ot,FF:()=>rt,$I:()=>lt,XH:()=>ut,$t:()=>Ht,uI:()=>Qt});var e=h(6335),c=h(5e3);let g=(()=>{class ni{constructor(gi){this.guiConfigService=gi}getTablePageSize(gi){const xi=this.guiConfigService.getNumber(e.pI+gi);if(!isNaN(xi))return xi;const ji=this.guiConfigService.getNumber(e.Rc);return isNaN(ji)?10:ji}setTablePageSize(gi,xi){this.guiConfigService.setNumber(e.pI+gi,xi)}}return ni.\u0275fac=function(gi){return new(gi||ni)(c.LFG(e.Ng))},ni.\u0275prov=c.Yz7({token:ni,factory:ni.\u0275fac,providedIn:"root"}),ni})();const w="0",_="1",b="2",E="3",v="4",I="5",N="6",A="7",q="8",j="9",G="10",Q="11",he="12",F="13",be="14",pe="15",ye="16",T="17",R="18",L="19",X="20",Y="21",se="22",Te="23",Oe="24",Se="25",We="26",ge="27",Le="28",ue="29",Me="30",z="31",P="32",de="33",Ce="34",Pe="35",ce="36",fe="37",ze="42",Ue="43",_e="44",ae="45",Ae="46",ee="47",Ne="48",V="49",H="50",D="51",O="52",i="53",o="54",u="55",l="56",s="57",n="58",t="59",d="62",f="63",x="64",Ye="65",It="66",Yt="69",Nt="71",He="72",$="75",oe="76",nt="77",ct="78",Rt="79",mt="80",ot="82",rt="83",lt="84",ut="85",Ht="86",Qt="87"},36769:(qe,me,h)=>{"use strict";h.d(me,{Ji:()=>_,Pd:()=>g,BQ:()=>c,Ly:()=>w,GH:()=>v,Ls:()=>I,SG:()=>E,es:()=>b});var e=h(41777);const c=(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%)"}))])]),w=(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"}))])]),_=(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})])]),b=(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")])]),E=(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})])])]),v=(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%)"}))])]),I=(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%)"}))])])},33604:(qe,me,h)=>{"use strict";h.d(me,{Mw:()=>P.M,qG:()=>V.qG,Sx:()=>ee.S,y9:()=>H,Nj:()=>it.N,ez:()=>Me,t$:()=>ze});var e=h(69808),c=h(77446),g=h(32075),w=h(51062),_=h(36157),b=h(84847),E=h(86087),v=h(20773),I=h(63189),N=h(25245),A=h(92181),q=h(47423),j=h(29772),G=h(67322),Q=h(93075),he=h(98833),F=h(26688),be=h(44409),pe=h(90508),ye=h(19516),T=h(69287),R=h(90149),L=h(86856),X=h(79814),Y=h(74107),se=h(43586),Te=h(29071),Oe=h(48966),Se=h(9244),We=h(6397),ge=h(5e3);let Le=(()=>{class D extends pe.LF{format(i,o){return"input"===o?`${i.getDate().toString()}.${(i.getMonth()+1).toString()}.${i.getFullYear()}`:i.toDateString()}}return D.\u0275fac=function(){let O;return function(o){return(O||(O=ge.n5z(D)))(o||D)}}(),D.\u0275prov=ge.Yz7({token:D,factory:D.\u0275fac}),D})();const ue={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 D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=ge.oAB({type:D}),D.\u0275inj=ge.cJS({providers:[{provide:pe._A,useClass:Le},{provide:pe.sG,useValue:ue}],imports:[[e.ez,c.p9,g.p0,Q.u5,F.Hi,be._t,w.aw,_.Bz,b.JX,E.TU,v.Cq,I.r,N.Ps,A.Tx,q.ot,j.AV,G.lN,Q.UX,he.c,pe.si,ye.d4,T.Iq,R.dp,L.FA,X.Fk,pe.Ng,Y.LD,se.Co,Te.Cl,Oe.Is,Se.Je,We.C]]}),D})();h(53984);var P=h(43532),it=(h(38719),h(21963),h(28820),h(63167),h(62109),h(22465),h(80275),h(53599)),Be=h(32080);let ze=(()=>{class D{constructor(i,o,u,l){this.router=i,this.route=o,this.location=u,this.forceRoute=l}ngOnInit(){"back"!==this.forceRoute.getLastState()?this.route.queryParams.subscribe(i=>{this.router.navigate([i.redirectTo])}):this.location.back()}}return D.\u0275fac=function(i){return new(i||D)(ge.Y36(_.F0),ge.Y36(_.gz),ge.Y36(e.Ye),ge.Y36(Be.xw))},D.\u0275cmp=ge.Xpm({type:D,selectors:[["perun-web-apps-redirect-page"]],decls:0,vars:0,template:function(i,o){},styles:[""]}),D})();h(24179),h(58956),h(41619),h(61150);var ee=h(63312),V=(h(52314),h(52170));let H=(()=>{class D{constructor(i){this.router=i}redirectToHome(){this.router.navigate(["/home"],{queryParamsHandling:"merge"})}}return D.\u0275fac=function(i){return new(i||D)(ge.Y36(_.F0))},D.\u0275cmp=ge.Xpm({type:D,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(i,o){1&i&&(ge.TgZ(0,"div",0),ge.TgZ(1,"h1",1),ge._uU(2),ge.ALo(3,"translate"),ge.qZA(),ge.TgZ(4,"div"),ge._uU(5),ge.ALo(6,"translate"),ge.qZA(),ge.TgZ(7,"button",2),ge.NdJ("click",function(){return o.redirectToHome()}),ge._uU(8),ge.ALo(9,"translate"),ge.qZA(),ge.qZA()),2&i&&(ge.xp6(2),ge.Oqu(ge.lcZ(3,3,"GENERAL.NOT_AUTHORIZED_PAGE.TITLE")),ge.xp6(3),ge.Oqu(ge.lcZ(6,5,"GENERAL.NOT_AUTHORIZED_PAGE.DESC")),ge.xp6(3),ge.hij(" ",ge.lcZ(9,7,"GENERAL.NOT_AUTHORIZED_PAGE.REDIRECT")," "))},directives:[q.lW],pipes:[w.X$],styles:[""]}),D})()},63312:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_,Y:()=>b});var e=h(5e3),g=(h(32105),h(51062)),w=h(42377);const _={};let b=(()=>{class E{constructor(I){this.translate=I,this.item=null,this.itemSelected=new e.vpe,this.nameFunction=N=>N===_?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NO_ITEM"):N.shortname,this.secondaryFunction=N=>N===_?"":N.id<0?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.APP_FORM_ITEM_SEARCH_SELECT.NEW_ITEM"):"#"+String(N.id),this.searchFunction=N=>N===_?"":N.shortname+String(N.id)}}return E.\u0275fac=function(I){return new(I||E)(e.Y36(g.sK))},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(q){return N.itemSelected.emit(q)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&I&&e.Q6J("entities",N.items)("searchFunction",N.searchFunction)("mainTextFunction",N.nameFunction)("secondaryTextFunction",N.secondaryFunction)("entity",N.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:[w.i],pipes:[g.X$],styles:[""]}),E})()},38719:(qe,me,h)=>{"use strict";h.d(me,{u:()=>N});var e=h(5e3),c=h(9244),g=h(69808),w=h(77446),_=h(93075),b=h(67322),E=h(64597);function v(A,q){if(1&A){const j=e.EpF();e.TgZ(0,"mat-checkbox",2),e.NdJ("change",function(){return e.CHM(j),e.oxw()._sendEventToParent()})("ngModelChange",function(Q){return e.CHM(j),e.oxw().attribute.value=Q}),e.ALo(1,"multiWordDataCy"),e.qZA()}if(2&A){const j=e.oxw();e.Q2q("data-cy","",e.lcZ(1,2,j.attribute.displayName),"-value"),e.Q6J("ngModel",j.attribute.value)}}function I(A,q){if(1&A&&(e.TgZ(0,"mat-label"),e._uU(1),e.qZA()),2&A){const j=e.oxw();e.xp6(1),e.Oqu(j.attribute.value)}}let N=(()=>{class A{constructor(){this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}}return A.\u0275fac=function(j){return new(j||A)},A.\u0275cmp=e.Xpm({type:A,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(j,G){1&j&&(e.TgZ(0,"div"),e.YNc(1,v,2,4,"mat-checkbox",0),e.YNc(2,I,2,1,"mat-label",1),e.qZA()),2&j&&(e.xp6(1),e.Q6J("ngIf",!G.readonly),e.xp6(1),e.Q6J("ngIf",G.readonly))},directives:[g.O5,w.oG,_.JJ,_.On,b.hX],pipes:[E.R],styles:[""]}),A})()},21963:(qe,me,h)=>{"use strict";h.d(me,{H:()=>R});var e=h(5e3),c=h(91159),g=h(44409),w=h(16074),_=h(9244),b=h(48966),E=h(26688),v=h(69808),I=h(25245),N=h(29772),A=h(47423),q=h(67322),j=h(98833);function G(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",9),e.NdJ("mousedown",function(){return e.CHM(Y),e.oxw(2).dragDisabled=!1}),e._uU(1,"drag_indicator"),e.qZA()}}function Q(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",10),e.NdJ("click",function(){e.CHM(Y);const Te=e.oxw().$implicit;return e.oxw().edit(Te)}),e._uU(1,"edit"),e.qZA()}}function he(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-icon",11),e.NdJ("click",function(){e.CHM(Y);const Te=e.oxw().$implicit;return e.oxw().remove(Te)}),e._uU(1,"cancel"),e.qZA()}}function F(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-chip",4),e.NdJ("removed",function(){const Oe=e.CHM(Y).$implicit,Se=e.oxw();return Se.remove(Oe),Se._sendEventToParent()}),e.YNc(1,G,2,0,"mat-icon",5),e.TgZ(2,"div",6),e.NdJ("click",function(){const Oe=e.CHM(Y).$implicit,Se=e.oxw();return Se.readonly&&void 0!==Se.attribute.displayName&&Se.showValue(Oe,Se.attribute.displayName)}),e._uU(3),e.qZA(),e.YNc(4,Q,2,0,"mat-icon",7),e.YNc(5,he,2,0,"mat-icon",8),e.qZA()}if(2&L){const Y=X.$implicit,se=e.oxw();e.Q6J("selectable",se.selectable)("cdkDragData",Y)("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(" ",Y," "),e.xp6(1),e.Q6J("ngIf",se.removable),e.xp6(1),e.Q6J("ngIf",se.removable)}}function be(L,X){1&L&&(e.TgZ(0,"mat-icon"),e._uU(1,"more_horiz"),e.qZA())}function pe(L,X){1&L&&(e.TgZ(0,"mat-icon"),e._uU(1,"keyboard_arrow_up"),e.qZA())}function ye(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"div",12),e.TgZ(1,"span",13),e.TgZ(2,"button",14),e.NdJ("click",function(){return e.CHM(Y),e.oxw().onShowChange()}),e.YNc(3,be,2,0,"mat-icon",15),e.YNc(4,pe,2,0,"mat-icon",15),e.qZA(),e.qZA(),e.qZA()}if(2&L){const Y=e.oxw();e.xp6(1),e.Q6J("matTooltip",Y.showMore?"Show less":"Show more")("matTooltipPosition","above"),e.xp6(2),e.Q6J("ngIf",!Y.showMore),e.xp6(1),e.Q6J("ngIf",Y.showMore)}}function T(L,X){if(1&L){const Y=e.EpF();e.TgZ(0,"mat-form-field",12),e.TgZ(1,"input",16),e.NdJ("matChipInputTokenEnd",function(Te){return e.CHM(Y),e.oxw().add(Te)})("change",function(){return e.CHM(Y),e.oxw()._sendEventToParent()}),e.qZA(),e.qZA()}if(2&L){const Y=e.oxw(),se=e.MAs(2);e.xp6(1),e.Q6J("matChipInputFor",se)("matChipInputSeparatorKeyCodes",Y.separatorKeysCodes)("matChipInputAddOnBlur",Y.addOnBlur)}}let R=(()=>{class L{constructor(Y,se){this.dialog=Y,this.changeDetector=se,this.readonly=!1,this.sendEventToParent=new e.vpe,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[c.K5,c.OC],this.values=[],this.showMore=!1,this.defaultItemsShown=5}ngOnInit(){this.removable=!(0,_.Hm)(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=this.attribute.value,this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,_.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(Y){const se=Y.input,Te=Y.value;(Te||"").trim()&&(this.attribute.value.push(Te.trim()),this.values=this.attribute.value,this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),se&&(se.value=""),this.sendEventToParent.emit()}remove(Y){const se=(0,_.kZ)();se.width="400px",se.data={name:Y},this.dialog.open(w.Wr,se).afterClosed().subscribe(Oe=>{if(Oe){const Se=this.attribute.value.indexOf(Y);this.attribute.value.splice(Se,1),this.values=this.attribute.value,this.sendEventToParent.emit(),this.changeDetector.detectChanges()}})}drop(Y){this.dragDisabled=!0,(0,g.bA)(this.attribute.value,Y.previousIndex,Y.currentIndex),this.values=this.attribute.value}edit(Y){const se=this.attribute.value.indexOf(Y),Te=(0,_.kZ)();Te.width="600px",Te.data={attribute:this.attribute,index:se},this.dialog.open(w.r2,Te).afterClosed().subscribe(Se=>{Se&&(this.values=this.attribute.value,this.sendEventToParent.emit())})}showValue(Y,se){const Te=(0,_.kZ)();Te.width="350px",Te.data={value:Y,title:se},this.dialog.open(w.mk,Te)}setItemsShown(){this.itemsShown=this.showMore?this.values.length:this.defaultItemsShown}onShowChange(){this.showMore=!this.showMore,this.setItemsShown()}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(b.uw),e.Y36(e.sBO))},L.\u0275cmp=e.Xpm({type:L,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(Y,se){1&Y&&(e.TgZ(0,"div"),e.TgZ(1,"mat-chip-list",0,1),e.NdJ("cdkDropListDropped",function(Oe){return se.drop(Oe),se._sendEventToParent()}),e.YNc(3,F,6,9,"mat-chip",2),e.YNc(4,ye,5,4,"div",3),e.YNc(5,T,2,3,"mat-form-field",3),e.qZA(),e.qZA()),2&Y&&(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:[E.qn,g.Wj,v.sg,E.HS,g.Zt,v.O5,I.Hw,N.gM,A.lW,q.KE,j.Nt,E.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}"]}),L})()},28820:(qe,me,h)=>{"use strict";h.d(me,{$:()=>be});var e=h(16074),c=h(9244),g=h(5e3),w=h(48966),_=h(93075),b=h(69808),E=h(67322),v=h(98833),I=h(47423),N=h(25245),A=h(29772);function q(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",15),g.NdJ("click",function(){g.CHM(T);const L=g.oxw().index;return g.oxw().removeValue(L)}),g.TgZ(1,"mat-icon"),g._uU(2," indeterminate_check_box "),g.qZA(),g.qZA()}}function j(pe,ye){if(1&pe){const T=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(T).index,Y=g.oxw();return Y.readonly&&Y.attribute.displayName&&Y.showValue(Y.keys[X],Y.attribute.displayName)})("ngModelChange",function(L){const Y=g.CHM(T).index;return g.oxw().keys[Y]=L}),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(T).$implicit,Y=g.oxw();return Y.readonly&&void 0!==Y.attribute.displayName&&Y.showValue(X,Y.attribute.displayName)})("ngModelChange",function(L){const Y=g.CHM(T).index;return g.oxw().values[Y]=L}),g.qZA(),g.qZA(),g.YNc(7,q,3,0,"button",14),g.qZA()}if(2&pe){const T=ye.index,R=g.oxw();g.xp6(1),g.s9C("appearance",R.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",R.attribute.id,"-key-",T,""),g.xp6(1),g.ekj("cursor-pointer",R.readonly&&void 0!==R.attribute.displayName),g.hYB("id","",R.attribute.id,"-key-",T,""),g.MGl("name","key-",T,""),g.Q6J("ngModel",R.keys[T])("readonly",R.readonly),g.xp6(1),g.s9C("appearance",R.readonly?"none":"standard"),g.xp6(1),g.hYB("for","",R.attribute.id,"-value-",T,""),g.xp6(1),g.ekj("cursor-pointer",R.readonly&&void 0!==R.attribute.displayName),g.MGl("name","value-",T,""),g.hYB("id","",R.attribute.id,"-value-",T,""),g.Q6J("readonly",R.readonly)("ngModel",R.values[T]),g.xp6(1),g.Q6J("ngIf",!R.readonly)}}function G(pe,ye){1&pe&&(g.TgZ(0,"mat-icon"),g._uU(1,"more_horiz"),g.qZA())}function Q(pe,ye){1&pe&&(g.TgZ(0,"mat-icon"),g._uU(1,"keyboard_arrow_up"),g.qZA())}function he(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",16),g.NdJ("click",function(){return g.CHM(T),g.oxw().onShowChange()}),g.YNc(1,G,2,0,"mat-icon",17),g.YNc(2,Q,2,0,"mat-icon",17),g.qZA()}if(2&pe){const T=g.oxw();g.xp6(1),g.Q6J("ngIf",!T.showMore),g.xp6(1),g.Q6J("ngIf",T.showMore)}}function F(pe,ye){if(1&pe){const T=g.EpF();g.TgZ(0,"button",18),g.NdJ("click",function(){return g.CHM(T),g.oxw().addValue()}),g.TgZ(1,"mat-icon"),g._uU(2," add_box "),g.qZA(),g.qZA()}}let be=(()=>{class pe{constructor(T){this.dialog=T,this.readonly=!1,this.keys=[],this.values=[],this.defaultItemsShown=3,this.showMore=!1}ngOnInit(){if(this.attribute.value){const T=new Map(Object.entries(this.attribute.value));for(const[R,L]of T.entries())this.keys.push(R),this.values.push(L)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}customTrackBy(T){return T}addValue(){this.keys.push(""),this.values.push(""),this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())}removeValue(T){this.keys.splice(T,1),this.values.splice(T,1)}updateAttribute(){const T={};for(let R=0;RR.defaultItemsShown),g.xp6(1),g.Q6J("ngIf",!R.readonly))},directives:[_._Y,_.JL,_.F,b.sg,E.KE,v.Nt,_.Fj,_.Q7,_.JJ,_.On,b.O5,I.lW,N.Hw,A.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}"]}),pe})()},63167:(qe,me,h)=>{"use strict";h.d(me,{_:()=>I});var e=h(5e3),c=h(9244),g=h(16074),w=h(48966),_=h(67322),b=h(98833),E=h(93075),v=h(64597);let I=(()=>{class N{constructor(q){this.dialog=q,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.value=this.attribute.value,this.readonly||(this.readonly=(0,c.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(q,j){const G=(0,c.kZ)();G.width="350px",G.data={value:q,title:j},this.dialog.open(g.mk,G)}}return N.\u0275fac=function(q){return new(q||N)(e.Y36(w.uw))},N.\u0275cmp=e.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(q,j){1&q&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"input",1),e.NdJ("click",function(){return j.readonly&&void 0!==j.value&&j.showValue(j.value,j.attribute.displayName)})("ngModelChange",function(Q){return j.attribute.value=Q})("keydown",function(){return j._sendEventToParent()}),e.ALo(2,"multiWordDataCy"),e.qZA(),e.qZA()),2&q&&(e.s9C("appearance",j.readonly?"none":"standard"),e.xp6(1),e.ekj("cursor-pointer",j.readonly&&void 0!==j.value),e.Q2q("data-cy","",e.lcZ(2,6,j.attribute.displayName),"-value"),e.Q6J("readonly",j.readonly)("ngModel",j.attribute.value))},directives:[_.KE,b.Nt,E.Fj,E.JJ,E.On],pipes:[v.R],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),N})()},43532:(qe,me,h)=>{"use strict";h.d(me,{M:()=>ye});var e=h(5e3),c=h(28820),g=h(69808),w=h(38719),_=h(21963),b=h(63167),E=h(9244),v=h(16074),I=h(48966),N=h(67322),A=h(98833),q=h(93075);let j=(()=>{class T{constructor(L){this.dialog=L,this.readonly=!1,this.sendEventToParent=new e.vpe}ngOnInit(){this.readonly||(this.readonly=(0,E.Hm)(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(L){const X=(0,E.kZ)();X.width="350px",X.data={value:L.value,title:L.displayName},this.dialog.open(v.mk,X)}}return T.\u0275fac=function(L){return new(L||T)(e.Y36(I.uw))},T.\u0275cmp=e.Xpm({type:T,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(L,X){1&L&&(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(se){return X.attribute.value=se})("keydown",function(){return X._sendEventToParent()}),e.qZA(),e.qZA()),2&L&&(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:[N.KE,A.Nt,q.wV,q.Fj,q.JJ,q.On],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),T})();const G=["map"];function Q(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-boolean",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function he(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-list",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function F(T,R){if(1&T&&e._UZ(0,"perun-web-apps-attribute-value-map",4,5),2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function be(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-string",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}function pe(T,R){if(1&T){const L=e.EpF();e.TgZ(0,"perun-web-apps-attribute-value-integer",3),e.NdJ("sendEventToParent",function(){return e.CHM(L),e.oxw()._sendEventToParent2()}),e.qZA()}if(2&T){const L=e.oxw();e.Q6J("attribute",L.attribute)("readonly",L.readonly)}}let ye=(()=>{class T{constructor(){this.readonly=!1,this.sendEventToParent2=new e.vpe}updateMapAttribute(){"java.util.LinkedHashMap"===this.attribute.type&&this.mapComponent.updateAttribute()}_sendEventToParent2(){this.sendEventToParent2.emit()}}return T.\u0275fac=function(L){return new(L||T)},T.\u0275cmp=e.Xpm({type:T,selectors:[["perun-web-apps-attribute-value"]],viewQuery:function(L,X){if(1&L&&e.Gf(G,5),2&L){let Y;e.iGM(Y=e.CRH())&&(X.mapComponent=Y.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(L,X){1&L&&(e.TgZ(0,"div"),e.YNc(1,Q,1,2,"perun-web-apps-attribute-value-boolean",0),e.YNc(2,he,1,2,"perun-web-apps-attribute-value-list",0),e.TgZ(3,"div",1),e.NdJ("click",function(){return X._sendEventToParent2()}),e.YNc(4,F,2,2,"perun-web-apps-attribute-value-map",2),e.qZA(),e.YNc(5,be,1,2,"perun-web-apps-attribute-value-string",0),e.YNc(6,pe,1,2,"perun-web-apps-attribute-value-integer",0),e.qZA()),2&L&&(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,w.u,_.H,c.$,b._,j],styles:[""]}),T})()},53984:(qe,me,h)=>{"use strict";h.d(me,{p:()=>We});var e=h(84847),c=h(32075),g=h(20449),w=h(43532),_=h(9244),b=h(32080),E=h(5e3),v=h(18750),I=h(77446),N=h(29772),A=h(69808),q=h(98380),j=h(64597);let G=(()=>{class ge{transform(ue){return"virt"===ue.namespace.split(":")[4]}}return ge.\u0275fac=function(ue){return new(ue||ge)},ge.\u0275pipe=E.Yjl({name:"isVirtualAttribute",type:ge,pure:!0}),ge})();var Q=h(51062);function he(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"th",17),E.TgZ(1,"mat-checkbox",18),E.NdJ("change",function(z){E.CHM(ue);const P=E.oxw();return z?P.masterToggle():null}),E.qZA(),E.qZA()}if(2&ge){const ue=E.oxw();E.xp6(1),E.Q6J("checked",ue.selection.hasValue()&&ue.isAllSelected())("indeterminate",ue.selection.hasValue()&&!ue.isAllSelected())("aria-label",ue.checkboxLabel())}}function F(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"td",19),E.TgZ(1,"mat-checkbox",20),E.NdJ("click",function(z){return z.stopPropagation()})("change",function(z){const de=E.CHM(ue).$implicit,Ce=E.oxw();return z?Ce.selection.toggle(de):null}),E.ALo(2,"multiWordDataCy"),E.ALo(3,"isVirtualAttribute"),E.qZA(),E.qZA()}if(2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.Q2q("data-cy","",E.lcZ(2,4,ue.displayName),"-checkbox"),E.Q6J("checked",Me.selection.isSelected(ue))("disabled",E.lcZ(3,6,ue)||!ue.writable)("aria-label",Me.checkboxLabel(ue))}}function be(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.ID")," "))}function pe(ge,Le){if(1&ge&&(E.TgZ(0,"td",22),E._uU(1),E.qZA()),2&ge){const ue=Le.$implicit;E.xp6(1),E.Oqu(ue.id)}}function ye(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.NAME")," "))}function T(ge,Le){if(1&ge&&(E.TgZ(0,"td",23),E.TgZ(1,"div",24),E._uU(2),E.qZA(),E.qZA()),2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.s9C("matTooltip",Me.getAttributeFullName(ue)),E.xp6(1),E.hij(" ",ue.displayName," ")}}function R(ge,Le){1&ge&&(E.TgZ(0,"th",25),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.VALUE")," "))}function L(ge,Le){if(1&ge){const ue=E.EpF();E.TgZ(0,"td",23),E.TgZ(1,"perun-web-apps-attribute-value",26),E.NdJ("sendEventToParent2",function(){const P=E.CHM(ue).$implicit;return E.oxw().onValueChange(P)}),E.qZA(),E.qZA()}if(2&ge){const ue=Le.$implicit,Me=E.oxw();E.xp6(1),E.Q6J("attribute",ue)("readonly",Me.readonly||!ue.writable)}}function X(ge,Le){1&ge&&(E.TgZ(0,"th",21),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DESCRIPTION")," "))}function Y(ge,Le){if(1&ge&&(E.TgZ(0,"td",23),E._uU(1),E.qZA()),2&ge){const ue=Le.$implicit;E.xp6(1),E.Oqu(ue.description)}}function se(ge,Le){1&ge&&E._UZ(0,"tr",27)}function Te(ge,Le){if(1&ge&&(E._UZ(0,"tr",28),E.ALo(1,"translate")),2&ge){const ue=Le.$implicit,Me=E.oxw();E.s9C("matTooltip",E.lcZ(1,3,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTES_LIST.DISABLED_HINT")),E.Q6J("matTooltipPosition","before")("matTooltipDisabled",ue.writable||Me.readonly)}}function Oe(ge,Le){1&ge&&(E.TgZ(0,"perun-web-apps-alert",29),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function Se(ge,Le){if(1&ge&&(E.TgZ(0,"perun-web-apps-alert",29),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ge){const ue=E.oxw();E.xp6(1),E.hij(" ",E.lcZ(2,1,ue.emptyListText),"\n")}}let We=(()=>{class ge{constructor(ue,Me){this.authResolver=ue,this.tableCheckbox=Me,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=_.f7}set matSort(ue){this.sort=ue,this.setDataSource()}static canBeSelected(ue){return!(0,_.Hm)(ue)&&ue.writable}static getDataForColumn(ue,Me){switch(Me){case"id":return ue.id.toString();case"displayName":return ue.displayName;case"description":return ue.description;case"value":return JSON.stringify(ue.value);case"urn":return ue.namespace+":"+ue.baseFriendlyName;default:return""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(ue=>"id"!==ue)),this.dataSource=new c.by((0,_.MX)(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(ue){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,ge.getDataForColumn),ue)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(ue=>!this.hiddenColumns.includes(ue)),this.dataSource&&(this.dataSource.filterPredicate=(ue,Me)=>(0,_.Sd)(ue,Me,this.displayedColumns.concat("urn"),ge.getDataForColumn),this.dataSource.sortData=(ue,Me)=>(0,_.pR)(ue,Me,ge.getDataForColumn),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,ge.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,ge.canBeSelected)}checkboxLabel(ue){return ue?`${this.selection.isSelected(ue)?"deselect":"select"} row ${ue.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}updateMapAttributes(){for(const ue of this.items.toArray())"java.util.LinkedHashMap"===ue.attribute.type&&ue.updateMapAttribute()}onValueChange(ue){ge.canBeSelected(ue)&&this.selection.select(ue)}getAttributeFullName(ue){return`${ue.namespace}:${ue.friendlyName}`}}return ge.\u0275fac=function(ue){return new(ue||ge)(E.Y36(b.x4),E.Y36(b.UA))},ge.\u0275cmp=E.Xpm({type:ge,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(ue,Me){if(1&ue&&(E.Gf(_.l9,7),E.Gf(e.YE,7),E.Gf(w.M,5)),2&ue){let z;E.iGM(z=E.CRH())&&(Me.child=z.first),E.iGM(z=E.CRH())&&(Me.matSort=z.first),E.iGM(z=E.CRH())&&(Me.items=z)}},inputs:{attributes:"attributes",selection:"selection",displayedColumns:"displayedColumns",inDialog:"inDialog",filterValue:"filterValue",tableId:"tableId",readonly:"readonly",hiddenColumns:"hiddenColumns",emptyListText:"emptyListText"},features:[E.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(ue,Me){1&ue&&(E.TgZ(0,"div",0),E.TgZ(1,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(P){return Me.exportData(P)}),E.TgZ(2,"table",2),E.ynx(3,3),E.YNc(4,he,2,3,"th",4),E.YNc(5,F,4,8,"td",5),E.BQk(),E.ynx(6,6),E.YNc(7,be,3,3,"th",7),E.YNc(8,pe,2,1,"td",8),E.BQk(),E.ynx(9,9),E.YNc(10,ye,3,3,"th",7),E.YNc(11,T,3,2,"td",10),E.BQk(),E.ynx(12,11),E.YNc(13,R,3,3,"th",12),E.YNc(14,L,2,2,"td",10),E.BQk(),E.ynx(15,13),E.YNc(16,X,3,3,"th",7),E.YNc(17,Y,2,1,"td",10),E.BQk(),E.YNc(18,se,1,0,"tr",14),E.YNc(19,Te,2,5,"tr",15),E.qZA(),E.qZA(),E.qZA(),E.YNc(20,Oe,3,3,"perun-web-apps-alert",16),E.YNc(21,Se,3,3,"perun-web-apps-alert",16)),2&ue&&(E.Q6J("hidden",0===Me.dataSource.filteredData.length),E.xp6(1),E.Q6J("tableId",Me.tableId)("dataLength",Me.dataSource.filteredData.length)("pageSizeOptions",Me.pageSizeOptions),E.xp6(1),E.Q6J("dataSource",Me.dataSource),E.xp6(16),E.Q6J("matHeaderRowDef",Me.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",Me.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===Me.dataSource.filteredData.length&&0!==Me.dataSource.data.length),E.xp6(1),E.Q6J("ngIf",0===Me.dataSource.data.length))},directives:[v.l,c.BZ,e.YE,c.w1,c.fO,c.ge,I.oG,c.Dz,c.ev,e.nU,N.gM,w.M,c.as,c.XQ,c.nj,c.Gk,A.O5,q.w],pipes:[j.R,G,Q.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}"]}),ge})()},4235:(qe,me,h)=>{"use strict";h.d(me,{W:()=>I});var e=h(32080),c=h(5e3),g=h(69808),w=h(47423),_=h(29772),b=h(25245),E=h(51062);const v=function(N){return{color:N}};let I=(()=>{class N{constructor(q,j){this.location=q,this.storeService=j}ngOnInit(){this.backButtonColor=this.storeService.get("theme","back_button_color")}goBack(){"false"===sessionStorage.getItem("onInitPage")&&this.location.back()}}return N.\u0275fac=function(q){return new(q||N)(c.Y36(g.Ye),c.Y36(e.d6))},N.\u0275cmp=c.Xpm({type:N,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(q,j){1&q&&(c.TgZ(0,"button",0),c.NdJ("click",function(){return j.goBack()}),c.ALo(1,"translate"),c.TgZ(2,"mat-icon",1),c._uU(3,"arrow_right_alt"),c.qZA(),c.qZA()),2&q&&(c.s9C("matTooltip",c.lcZ(1,2,"Back")),c.Q6J("ngStyle",c.VKq(4,v,j.backButtonColor)))},directives:[w.lW,g.PC,_.gM,b.Hw],pipes:[E.X$],styles:[".rotate[_ngcontent-%COMP%]{transform:rotate(180deg) scale(1.5)}"]}),N})()},61150:(qe,me,h)=>{"use strict";h.d(me,{r:()=>q});var e=h(5e3),c=h(93075),g=h(32080),w=h(67322),_=h(98833),b=h(69808),E=h(77446),v=h(82322),I=h(51062);function N(j,G){if(1&j){const Q=e.EpF();e.TgZ(0,"mat-checkbox",7),e.NdJ("change",function(){return e.CHM(Q),e.oxw().emitAsSubGroup()})("ngModelChange",function(F){return e.CHM(Q),e.oxw().asSubgroup=F}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&j){const Q=e.oxw();e.Q6J("labelPosition","before")("ngModel",Q.asSubgroup),e.xp6(1),e.hij(" ",e.lcZ(2,3,"DIALOGS.CREATE_GROUP.AS_SUBGROUP")," ")}}function A(j,G){if(1&j){const Q=e.EpF();e.TgZ(0,"perun-web-apps-group-search-select",8),e.NdJ("groupSelected",function(F){return e.CHM(Q),e.oxw().emitParentGroup(F)}),e.qZA()}if(2&j){const Q=e.oxw();e.Q6J("disableAutoSelect",!0)("groups",Q.voGroups)}}let q=(()=>{class j{constructor(Q){this.store=Q,this.parentGroup=null,this.voGroups=[],this.nameChanged=new e.vpe,this.descriptionChanged=new e.vpe,this.parentGroupChanged=new e.vpe,this.asSubgroupChanged=new e.vpe,this.asSubgroup=!1,this.invalidNameMessage=this.store.get("group_name_error_message"),this.secondaryRegex=this.store.get("group_name_secondary_regex")}ngOnInit(){this.isNotSubGroup=null===this.parentGroup,this.nameControl=new c.NI("",[c.kI.required,c.kI.pattern(this.secondaryRegex?this.secondaryRegex:""),c.kI.pattern(".*[\\S]+.*")]),this.descriptionControl=new c.NI("",[c.kI.required,c.kI.maxLength(129)]),this.selectedParent=null,this.voGroups=this.voGroups.filter(Q=>"members"!==Q.name)}emitName(){this.nameChanged.emit(this.nameControl.invalid?"":this.nameControl.value)}emitDescription(){this.descriptionChanged.emit(this.descriptionControl.invalid?"":this.descriptionControl.value)}emitParentGroup(Q){this.selectedParent=Q,this.parentGroupChanged.emit(Q)}emitAsSubGroup(){this.asSubgroup||this.emitParentGroup(null),this.asSubgroupChanged.emit(this.asSubgroup)}}return j.\u0275fac=function(Q){return new(Q||j)(e.Y36(g.d6))},j.\u0275cmp=e.Xpm({type:j,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(Q,he){1&Q&&(e.TgZ(0,"div",0),e.TgZ(1,"mat-form-field",1),e.NdJ("keyup",function(){return he.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 he.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,N,3,5,"mat-checkbox",5),e.YNc(16,A,1,2,"perun-web-apps-group-search-select",6),e.qZA()),2&Q&&(e.xp6(3),e.s9C("placeholder",e.lcZ(4,8,"DIALOGS.CREATE_GROUP.NAME")),e.Q6J("formControl",he.nameControl),e.xp6(3),e.hij(" ",he.invalidNameMessage.length?he.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",he.descriptionControl),e.xp6(3),e.hij(" ",e.lcZ(14,14,"DIALOGS.CREATE_GROUP.INVALID_DESCRIPTION")," "),e.xp6(2),e.Q6J("ngIf",he.isNotSubGroup),e.xp6(1),e.Q6J("ngIf",he.asSubgroup))},directives:[w.KE,_.Nt,c.Fj,c.Q7,c.JJ,c.oH,w.TO,b.O5,E.oG,c.On,v.h],pipes:[I.X$],styles:[""]}),j})()},39798:(qe,me,h)=>{"use strict";h.d(me,{S:()=>E});var e=h(5e3),c=h(67322),g=h(98833),w=h(86856),_=h(93075),b=h(51062);let E=(()=>{class v{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 v.\u0275fac=function(N){return new(N||v)},v.\u0275cmp=e.Xpm({type:v,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(N,A){if(1&N){const q=e.EpF();e.TgZ(0,"mat-form-field",0),e.NdJ("click",function(){return e.CHM(q),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 A.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(q),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 A.dateChange()}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",2),e._UZ(14,"mat-datepicker",null,5),e.qZA()}if(2&N){const q=e.MAs(7),j=e.MAs(15);e.xp6(2),e.Oqu(e.lcZ(3,12,"VO_DETAIL.APPLICATION.DATE.START")),e.xp6(2),e.Q6J("matDatepicker",q)("min",A.startMinDate)("max",A.startMaxDate)("formControl",A.startDate),e.xp6(1),e.Q6J("for",q),e.xp6(5),e.Oqu(e.lcZ(11,14,"VO_DETAIL.APPLICATION.DATE.END")),e.xp6(2),e.Q6J("matDatepicker",j)("min",A.endMinDate)("max",A.endMaxDate)("formControl",A.endDate),e.xp6(1),e.Q6J("for",j)}},directives:[c.KE,c.hX,g.Nt,w.hl,_.Fj,_.JJ,_.oH,w.nW,c.R9,w.Mq],pipes:[b.X$],styles:[""]}),v})()},64901:(qe,me,h)=>{"use strict";h.d(me,{P:()=>A});var e=h(5e3),c=h(54968),g=h(54004),w=h(78372),_=h(71884),b=h(93075),E=h(67322),v=h(98833),I=h(51062);const N=["input"];let A=(()=>{class q{constructor(){this.autoFocus=!1,this.control=new b.NI,this.filter=new e.vpe}ngOnInit(){this.autoFocus&&this.input.nativeElement.focus(),(0,c.R)(this.input.nativeElement,"keyup").pipe((0,g.U)(G=>G.target.value),(0,w.b)(500),(0,_.x)()).subscribe(G=>{this.control.invalid||this.filter.emit(G)})}}return q.\u0275fac=function(G){return new(G||q)},q.\u0275cmp=e.Xpm({type:q,selectors:[["perun-web-apps-debounce-filter"]],viewQuery:function(G,Q){if(1&G&&e.Gf(N,7),2&G){let he;e.iGM(he=e.CRH())&&(Q.input=he.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus",control:"control",error:"error"},outputs:{filter:"filter"},decls:6,vars:5,consts:[[1,"filter-field","mr-2"],["matInput","","data-cy","filter-input",3,"placeholder","formControl"],["input",""]],template:function(G,Q){1&G&&(e.TgZ(0,"mat-form-field",0),e._UZ(1,"input",1,2),e.ALo(3,"translate"),e.TgZ(4,"mat-error"),e._uU(5),e.qZA(),e.qZA()),2&G&&(e.xp6(1),e.s9C("placeholder",e.lcZ(3,3,Q.placeholder)),e.Q6J("formControl",Q.control),e.xp6(4),e.hij(" ",Q.error," "))},directives:[E.KE,v.Nt,b.Fj,b.JJ,b.oH,E.TO],pipes:[I.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),q})()},42377:(qe,me,h)=>{"use strict";h.d(me,{i:()=>pe});var e=h(5e3),c=h(93075),g=h(4707),w=h(77579),_=h(71884),b=h(82722),E=h(67322),v=h(74107),I=h(69808),N=h(90508),A=h(43586),q=h(29071);const j=["scrollViewport"];function G(ye,T){if(1&ye&&(e.TgZ(0,"mat-select-trigger"),e._uU(1),e.qZA()),2&ye){const R=e.oxw();e.xp6(1),e.hij(" ",R.multipleSelectedText()," ")}}function Q(ye,T){if(1&ye&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ye){const R=e.oxw(2);e.Tol(R.colorByStatus(null==R.entitiesCtrl?null:R.entitiesCtrl.value)),e.xp6(1),e.hij(" ",R.statusTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)?"("+R.statusTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)+")":""," ")}}function he(ye,T){if(1&ye&&(e.TgZ(0,"mat-option",8),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,Q,2,4,"span",10),e.qZA()),2&ye){const R=e.oxw();e.Q6J("value",null==R.entitiesCtrl?null:R.entitiesCtrl.value),e.xp6(1),e.hij(" ",R.mainTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)," "),e.xp6(2),e.Oqu(R.secondaryTextFunction(null==R.entitiesCtrl?null:R.entitiesCtrl.value)),e.xp6(1),e.Q6J("ngIf",R.displayStatus)}}function F(ye,T){if(1&ye&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&ye){const R=e.oxw().$implicit,L=e.oxw();e.Tol(L.colorByStatus(R)),e.xp6(1),e.hij(" ",L.statusTextFunction(R)?"("+L.statusTextFunction(R)+")":""," ")}}function be(ye,T){if(1&ye&&(e.TgZ(0,"mat-option",11),e._uU(1),e.TgZ(2,"span",9),e._uU(3),e.qZA(),e.YNc(4,F,2,4,"span",10),e.qZA()),2&ye){const R=T.$implicit,L=e.oxw();e.Tol(L.theme),e.Q6J("value",R),e.xp6(1),e.hij(" ",L.mainTextFunction(R)," "),e.xp6(2),e.Oqu(L.secondaryTextFunction(R)),e.xp6(1),e.Q6J("ngIf",L.displayStatus)}}let pe=(()=>{class ye{constructor(R){this.cd=R,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 c.NI,this.entityFilterCtrl=new c.NI,this.filteredEntities=new g.t(1),this._onDestroy=new w.x,this.entitiesLen=0,this.mainTextFunction=L=>JSON.stringify(L),this.secondaryTextFunction=L=>"#".concat(String(L.id),L.description?" ".concat(L.description):""),this.statusTextFunction=L=>L.status}ngOnInit(){this.entitiesCtrl.valueChanges.pipe((0,_.x)()).subscribe(R=>this.entitySelected.emit(R)),!this.disableAutoSelect&&null===this.entity&&this.entitiesCtrl.setValue(this.entities[0]),this.filteredEntities.subscribe(R=>this.entitiesLen=R.length),this.entityFilterCtrl.valueChanges.pipe((0,b.R)(this._onDestroy)).subscribe(()=>{this.filterEntites()}),null!==this.entity&&this.entitiesCtrl.setValue(this.entity)}colorByStatus(R){switch(R.status){case"ACTIVE":return"green";case"INACTIVE":return"grey";case"FAILED":return"red";case"PROCESSING":return"black"}}ngOnChanges(R){null!==this.entity&&this.entitiesCtrl.setValue(this.entity),R.entities&&this.filteredEntities.next(this.entities.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}normalize(R){return R.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}openChange(){this.scrollViewport.scrollToIndex(0),this.scrollViewport.checkViewportSize()}getViewportHeight(){let R=48*this.entitiesLen;return R>192&&(R=192),this.scrollViewport&&this.scrollViewport.checkViewportSize(),R}multipleSelectedText(){const R=this.entitiesCtrl.value;if(R&&0!==R.length)return R.length===this.entities.length?"ALL":R.length>1?this.mainTextFunction(R[0])+` + ${R.length-1} other(s)`:this.mainTextFunction(R[0])+" "+this.secondaryTextFunction(R[0])}filterEntites(){if(!this.entities)return;let R=this.entityFilterCtrl.value;if(!R)return this.filteredEntities.next(this.entities.slice()),void this.cd.detectChanges();R=this.normalize(R),this.filteredEntities.next(this.entities.filter(L=>this.normalize(this.searchFunction(L)).includes(R))),this.cd.detectChanges()}}return ye.\u0275fac=function(R){return new(R||ye)(e.Y36(e.sBO))},ye.\u0275cmp=e.Xpm({type:ye,selectors:[["perun-web-apps-entity-search-select"]],viewQuery:function(R,L){if(1&R&&e.Gf(j,5),2&R){let X;e.iGM(X=e.CRH())&&(L.scrollViewport=X.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"],["data-cy","search-select-input",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(R,L){1&R&&(e.TgZ(0,"mat-form-field",0),e.TgZ(1,"mat-select",1),e.NdJ("openedChange",function(){return L.openChange()}),e.YNc(2,G,2,1,"mat-select-trigger",2),e.TgZ(3,"mat-option"),e._UZ(4,"ngx-mat-select-search",3),e.qZA(),e.YNc(5,he,5,4,"mat-option",4),e.TgZ(6,"cdk-virtual-scroll-viewport",5,6),e.YNc(8,be,5,7,"mat-option",7),e.ALo(9,"async"),e.qZA(),e.qZA(),e.qZA()),2&R&&(e.xp6(1),e.s9C("placeholder",L.selectPlaceholder),e.Q6J("formControl",L.entitiesCtrl)("multiple",L.multiple),e.xp6(1),e.Q6J("ngIf",L.multiple),e.xp6(2),e.s9C("placeholderLabel",L.findPlaceholder),e.s9C("noEntriesFoundLabel",L.noEntriesText),e.Q6J("clearSearchInput",!1)("formControl",L.entityFilterCtrl),e.xp6(1),e.Q6J("ngIf",null==L.entitiesCtrl?null:L.entitiesCtrl.value),e.xp6(1),e.Udp("height",L.getViewportHeight(),"px"),e.Q6J("minBufferPx",240)("maxBufferPx",480),e.xp6(2),e.Q6J("cdkVirtualForOf",e.lcZ(9,14,L.filteredEntities)))},directives:[E.KE,v.gD,c.JJ,c.oH,I.O5,v.$L,N.ey,A.nu,q.N7,q.xd,q.x0],pipes:[I.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}"]}),ye})()},74010:(qe,me,h)=>{"use strict";h.d(me,{X:()=>Ue});var e=h(84847),c=h(32075),g=h(9244),w=h(32080),_=h(5e3),b=h(18750),E=h(77446),v=h(10441),I=h(93075),N=h(69808),A=h(29772),q=h(47423),j=h(25245);function G(_e,ae){if(1&_e&&(_.TgZ(0,"div",6),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.hij(" ",Ae[ee.paramName]," ")}}function Q(_e,ae){1&_e&&(_.TgZ(0,"mat-icon"),_._uU(1,"more_horiz"),_.qZA())}function he(_e,ae){1&_e&&(_.TgZ(0,"mat-icon"),_._uU(1,"keyboard_arrow_up"),_.qZA())}function F(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"button",7),_.NdJ("click",function(){return _.CHM(Ae),_.oxw().onShowChange()}),_.YNc(1,Q,2,0,"mat-icon",8),_.YNc(2,he,2,0,"mat-icon",8),_.qZA()}if(2&_e){const Ae=_.oxw();_.xp6(1),_.Q6J("ngIf",!Ae.showMore),_.xp6(1),_.Q6J("ngIf",Ae.showMore)}}let be=(()=>{class _e{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 _e.\u0275fac=function(Ae){return new(Ae||_e)},_e.\u0275cmp=_.Xpm({type:_e,selectors:[["perun-web-apps-object-list-values"]],inputs:{objects:"objects",filterValue:"filterValue",paramName:"paramName"},features:[_.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(Ae,ee){1&Ae&&(_.TgZ(0,"form",0),_.TgZ(1,"div",1),_.TgZ(2,"div",2),_.YNc(3,G,2,1,"div",3),_.qZA(),_.TgZ(4,"div"),_.TgZ(5,"span",4),_.YNc(6,F,3,2,"button",5),_.qZA(),_.qZA(),_.qZA(),_.qZA()),2&Ae&&(_.xp6(3),_.Q6J("ngForOf",ee.objects.slice(0,ee.itemsShown)),_.xp6(2),_.Q6J("matTooltip",ee.showMore?"Show less":"Show more")("matTooltipPosition","above"),_.xp6(1),_.Q6J("ngIf",ee.objects.length>ee.defaultItemsShown))},directives:[I._Y,I.JL,I.F,N.sg,A.gM,N.O5,q.lW,j.Hw],styles:[""]}),_e})();var pe=h(50301),ye=h(36157),T=h(98380),R=h(51062),L=h(53561);let X=(()=>{class _e{transform(Ae,ee,Ne){return Ae.filter(V=>V[Ne].includes(ee)).filter((V,H,D)=>D.findIndex(O=>O[Ne]===V[Ne])===H)}}return _e.\u0275fac=function(Ae){return new(Ae||_e)},_e.\u0275pipe=_.Yjl({name:"filterUniqueObjects",type:_e,pure:!0}),_e})();function Y(_e,ae){1&_e&&_._UZ(0,"th",20)}function se(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",21),_.TgZ(1,"mat-checkbox",22),_.NdJ("change",function(Ne){const H=_.CHM(Ae).$implicit,D=_.oxw();return Ne?D.selection.toggle(H):null})("click",function(Ne){return Ne.stopPropagation()}),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q2q("data-cy","",Ae.facility.name,"-checkbox"),_.Q6J("aria-label",ee.checkboxLabel(Ae))("checked",ee.selection.isSelected(Ae))}}function Te(_e,ae){1&_e&&(_.TgZ(0,"th",23),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.ID")," "))}function Oe(_e,ae){if(1&_e&&(_.TgZ(0,"td",24),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.hij(" ",Ae.facility.id," ")}}function Se(_e,ae){1&_e&&_._UZ(0,"th",25)}function We(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._UZ(1,"perun-web-apps-recently-viewed-icon",27),_.qZA()),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("id",Ae.facility.id)("recentIds",ee.recentIds)}}function ge(_e,ae){1&_e&&(_.TgZ(0,"th",23),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.NAME")," "))}function Le(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.uIk("data-cy",Ae.facility.name),_.xp6(1),_.hij(" ",Ae.facility.name," ")}}function ue(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESCRIPTION")," "))}function Me(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.Oqu(Ae.facility.description)}}function z(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.TECHNICAL_OWNERS")," "))}function P(_e,ae){if(1&_e&&(_.TgZ(0,"td",26),_._uU(1),_.ALo(2,"technicalOwners"),_.qZA()),2&_e){const Ae=ae.$implicit;_.xp6(1),_.Oqu(_.lcZ(2,1,Ae.owners))}}function de(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.DESTINATIONS")," "))}function Ce(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",26),_.TgZ(1,"perun-web-apps-object-list-values",28),_.NdJ("mouseenter",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!0})("mouseleave",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!1}),_.ALo(2,"filterUniqueObjects"),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("objects",_.Dn7(2,2,Ae.destinations,ee.filterValue,"destination"))("paramName","destination")}}function Pe(_e,ae){1&_e&&(_.TgZ(0,"th",25),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED.COMPONENTS.FACILITIES_LIST.HOSTS")," "))}function ce(_e,ae){if(1&_e){const Ae=_.EpF();_.TgZ(0,"td",26),_.TgZ(1,"perun-web-apps-object-list-values",28),_.NdJ("mouseenter",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!0})("mouseleave",function(){return _.CHM(Ae),_.oxw().localDisableRouting=!1}),_.ALo(2,"filterUniqueObjects"),_.qZA(),_.qZA()}if(2&_e){const Ae=ae.$implicit,ee=_.oxw();_.xp6(1),_.Q6J("objects",_.Dn7(2,2,Ae.hosts,ee.filterValue,"hostname"))("paramName","hostname")}}function fe(_e,ae){1&_e&&_._UZ(0,"tr",29)}const Ze=function(_e){return["/facilities",_e]},ne=function(){return[]};function it(_e,ae){if(1&_e&&_._UZ(0,"tr",30),2&_e){const Ae=ae.$implicit,ee=_.oxw();_.ekj("cursor-pointer",!ee.disableRouting)("disable-outline",ee.disableRouting),_.Q6J("perunWebAppsMiddleClickRouterLink",_.VKq(6,Ze,Ae.facility.id))("routerLink",ee.disableRouting||ee.localDisableRouting?_.DdM(8,ne):_.VKq(9,Ze,Ae.facility.id))}}function Be(_e,ae){1&_e&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ze(_e,ae){1&_e&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&_e&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FACILITIES"),"\n"))}let Ue=(()=>{class _e{constructor(Ae){this.authResolver=Ae,this.displayedColumns=["select","id","recent","name","description","technicalOwners","destinations","hosts"],this.pageSizeOptions=g.f7,this.disableRouting=!1,this.getDataForColumnFun=(ee,Ne)=>_e.getDataForColumn(ee,Ne,this.recentIds)}set matSort(Ae){this.sort=Ae}static getDataForColumn(Ae,ee,Ne){switch(ee){case"id":return Ae.facility.id.toString();case"name":return Ae.facility.name;case"description":return Ae.facility.description;case"technicalOwners":return(0,g.te)(Ae.owners);case"recent":return Ne&&Ne.includes(Ae.facility.id)?"#".repeat(Ne.indexOf(Ae.facility.id)):Ae.name;case"destinations":return Ae.destinations.map(V=>V.destination).join(" ; ");case"hosts":return Ae.hosts.map(V=>V.hostname).join(" ; ");default:return Ae[ee]}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(Ae=>"id"!==Ae)),this.setDataSource()}exportData(Ae){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),Ae)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(Ae,ee)=>(0,g.Sd)(Ae,ee,this.displayedColumns,this.getDataForColumnFun),this.dataSource.sortData=(Ae,ee)=>(0,g.pR)(Ae,ee,this.getDataForColumnFun)),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(Ae=>this.selection.select(Ae))}checkboxLabel(Ae){return Ae?`${this.selection.isSelected(Ae)?"deselect":"select"} row ${Ae.facility.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}}return _e.\u0275fac=function(Ae){return new(Ae||_e)(_.Y36(w.x4))},_e.\u0275cmp=_.Xpm({type:_e,selectors:[["perun-web-apps-facilities-list"]],viewQuery:function(Ae,ee){if(1&Ae&&(_.Gf(g.l9,7),_.Gf(e.YE,7)),2&Ae){let Ne;_.iGM(Ne=_.CRH())&&(ee.child=Ne.first),_.iGM(Ne=_.CRH())&&(ee.matSort=Ne.first)}},inputs:{facilities:"facilities",recentIds:"recentIds",filterValue:"filterValue",tableId:"tableId",displayedColumns:"displayedColumns",selection:"selection",pageSizeOptions:"pageSizeOptions",disableRouting:"disableRouting"},features:[_.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,"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"],["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(Ae,ee){1&Ae&&(_.TgZ(0,"div",0),_.TgZ(1,"perun-web-apps-table-wrapper",1),_.NdJ("exportData",function(V){return ee.exportData(V)}),_.TgZ(2,"table",2),_.ynx(3,3),_.YNc(4,Y,1,0,"th",4),_.YNc(5,se,2,3,"td",5),_.BQk(),_.ynx(6,6),_.YNc(7,Te,3,3,"th",7),_.YNc(8,Oe,2,1,"td",8),_.BQk(),_.ynx(9,9),_.YNc(10,Se,1,0,"th",10),_.YNc(11,We,2,2,"td",11),_.BQk(),_.ynx(12,12),_.YNc(13,ge,3,3,"th",7),_.YNc(14,Le,2,2,"td",11),_.BQk(),_.ynx(15,13),_.YNc(16,ue,3,3,"th",10),_.YNc(17,Me,2,1,"td",11),_.BQk(),_.ynx(18,14),_.YNc(19,z,3,3,"th",10),_.YNc(20,P,3,3,"td",11),_.BQk(),_.ynx(21,15),_.YNc(22,de,3,3,"th",10),_.YNc(23,Ce,3,6,"td",11),_.BQk(),_.ynx(24,16),_.YNc(25,Pe,3,3,"th",10),_.YNc(26,ce,3,6,"td",11),_.BQk(),_.YNc(27,fe,1,0,"tr",17),_.YNc(28,it,1,11,"tr",18),_.qZA(),_.qZA(),_.qZA(),_.YNc(29,Be,3,3,"perun-web-apps-alert",19),_.YNc(30,ze,3,3,"perun-web-apps-alert",19)),2&Ae&&(_.Q6J("hidden",!ee.dataSource||0===ee.dataSource.filteredData.length||0===ee.facilities.length),_.xp6(1),_.Q6J("tableId",ee.tableId)("dataLength",ee.dataSource.filteredData.length)("pageSizeOptions",ee.pageSizeOptions),_.xp6(1),_.Q6J("dataSource",ee.dataSource),_.xp6(25),_.Q6J("matHeaderRowDef",ee.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",ee.displayedColumns),_.xp6(1),_.Q6J("ngIf",0===ee.dataSource.filteredData.length&&0!==ee.facilities.length),_.xp6(1),_.Q6J("ngIf",0===ee.facilities.length))},directives:[b.l,c.BZ,e.YE,c.w1,c.fO,c.ge,c.Dz,c.ev,E.oG,e.nU,v.W,be,c.as,c.XQ,c.nj,c.Gk,pe.YH,ye.rH,N.O5,T.w],pipes:[R.X$,L.J,X],styles:[".disable-outline[_ngcontent-%COMP%]{outline:none!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),_e})()},13449:(qe,me,h)=>{"use strict";h.d(me,{i:()=>T});var e=h(5e3),c=h(32080),g=h(69808),w=h(47423),_=h(69287),b=h(29772),E=h(25245),v=h(92181),I=h(51062),N=h(45942),A=h(29218),q=h(28764);function j(R,L){if(1&R){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&R){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 G(R,L){if(1&R){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&R){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 Q(R,L){if(1&R){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&R){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 he(R,L){if(1&R&&(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,j,9,17,"span",4),e.YNc(6,G,5,5,"span",4),e.YNc(7,Q,5,5,"span",4),e.qZA()),2&R){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 F(R,L){if(1&R){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&R){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 be(R,L){if(1&R){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&R){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 pe(R,L){if(1&R){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&R){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 ye(R,L){if(1&R&&(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,F,10,16,"button",10),e.YNc(13,be,6,4,"button",10),e.YNc(14,pe,6,4,"button",10),e.qZA(),e.qZA()),2&R){const X=e.MAs(5),Y=e.oxw();e.xp6(1),e.Q6J("mat-menu-trigger-for",X),e.xp6(5),e.Q6J("cdkCopyToClipboard",Y.group.name),e.xp6(4),e.Oqu(e.lcZ(11,6,"SHARED_LIB.PERUN.COMPONENTS.GROUP_MENU.COPY")),e.xp6(2),e.Q6J("ngIf",Y.syncAuth),e.xp6(1),e.Q6J("ngIf",Y.moveAuth),e.xp6(1),e.Q6J("ngIf",Y.editAuth)}}let T=(()=>{class R{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 R.\u0275fac=function(X){return new(X||R)(e.Y36(c.x4))},R.\u0275cmp=e.Xpm({type:R,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,Y){1&X&&(e.YNc(0,he,8,8,"div",0),e.YNc(1,ye,15,8,"div",1)),2&X&&(e.Q6J("ngIf",Y.displayButtons),e.xp6(1),e.Q6J("ngIf",!Y.displayButtons))},directives:[g.O5,w.lW,_.i3,b.gM,E.Hw,v.p6,v.VK,v.OP],pipes:[I.X$,N.r,A.J,q.F],styles:[".buttons-container[_ngcontent-%COMP%]{white-space:nowrap;width:160px}.horiz_right[_ngcontent-%COMP%]{float:right}"]}),R})()},8223:(qe,me,h)=>{"use strict";h.d(me,{x:()=>j});var e=h(5e3),c=h(9244),g=h(16074),w=h(48966),_=h(69808),b=h(29772),E=h(25245),v=h(51062);function I(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",4),e._uU(3,"check_circle_outline"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.ACTIVE"))}function N(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",5),e._uU(3,"block"),e.qZA(),e.qZA()}2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.INACTIVE"))}function A(G,Q){if(1&G){const he=e.EpF();e.TgZ(0,"span",3),e.NdJ("click",function(){return e.CHM(he),e.oxw().changeStatus()}),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",6),e._uU(3,"report"),e.qZA(),e.qZA()}if(2&G){const he=e.oxw();e.hYB("matTooltip","",e.lcZ(1,2,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.FAILED"),": ",he.failureCause,"")}}function q(G,Q){1&G&&(e.TgZ(0,"span",7),e.ALo(1,"translate"),e.TgZ(2,"mat-icon",8),e._uU(3,"autorenew"),e.qZA(),e.qZA()),2&G&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUP_RESOURCE_STATUS.PROCESSING"))}let j=(()=>{class G{constructor(he){this.dialog=he,this.status="",this.statusChange=new e.vpe}changeStatus(){const he=(0,c.kZ)();he.width="500px",he.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(g.Qu,he).afterClosed().subscribe(be=>{be&&this.statusChange.emit()})}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(w.uw))},G.\u0275cmp=e.Xpm({type:G,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(he,F){1&he&&(e.TgZ(0,"div",0),e.YNc(1,I,4,3,"span",1),e.YNc(2,N,4,3,"span",1),e.YNc(3,A,4,4,"span",1),e.YNc(4,q,4,3,"span",2),e.qZA()),2&he&&(e.xp6(1),e.Q6J("ngIf","ACTIVE"===F.status),e.xp6(1),e.Q6J("ngIf","INACTIVE"===F.status),e.xp6(1),e.Q6J("ngIf","FAILED"===F.status),e.xp6(1),e.Q6J("ngIf","PROCESSING"===F.status))},directives:[_.O5,b.gM,E.Hw],pipes:[v.X$],styles:[""]}),G})()},82322:(qe,me,h)=>{"use strict";h.d(me,{h:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.disableAutoSelect=!1,this.displayStatus=!1,this.groupSelected=new e.vpe,this.nameFunction=v=>v.name}ngOnInit(){this.groups=this.groups.sort(c.aC)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,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(v,I){if(1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.groupSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v){let N;e.Q6J("entities",I.groups)("entity",null!==(N=I.firstSelectedGroup)&&void 0!==N?N:null)("displayStatus",I.displayStatus)("disableAutoSelect",I.disableAutoSelect)("mainTextFunction",I.nameFunction)("searchFunction",I.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:[w.X$],styles:[""]}),b})()},24179:(qe,me,h)=>{"use strict";h.d(me,{W:()=>i});var e=h(5e3),c=h(16074),g=h(32105),w=h(32080),_=h(9244),b=h(84847),E=h(32075),v=h(20449),I=h(69808),N=h(48966),A=h(18750),q=h(77446),j=h(29772),G=h(10441),Q=h(25245),he=h(8223),F=h(47423),be=h(13449),pe=h(50301),ye=h(98380),T=h(51062),R=h(69773),L=h(21757),X=h(62383);let Y=(()=>{class o{transform(l){var s;const n=l.attributes.find(t=>"groupMembershipExpiration"===t.baseFriendlyName);return null!==(s=null==n?void 0:n.value)&&void 0!==s?s:"Never"}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275pipe=e.Yjl({name:"groupExpiration",type:o,pure:!0}),o})();function se(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"mat-checkbox",26),e.NdJ("change",function(n){e.CHM(l);const t=e.oxw(2);return n?t.masterToggle():null}),e.qZA()}if(2&o){const l=e.oxw(2);e.Q6J("aria-label",l.checkboxLabel())("checked",l.selection.hasValue()&&l.isAllSelected())("indeterminate",l.selection.hasValue()&&!l.isAllSelected())}}function Te(o,u){if(1&o&&(e.TgZ(0,"th",24),e.YNc(1,se,1,3,"mat-checkbox",25),e.qZA()),2&o){const l=e.oxw();e.xp6(1),e.Q6J("ngIf",!l.disableHeadCheckbox)}}function Oe(o,u){if(1&o){const l=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(n){const r=e.CHM(l).$implicit,a=e.oxw();return n?a.itemSelectionToggle(r):null})("click",function(n){return n.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.s9C("matTooltip",e.lcZ(2,7,s.getCheckboxTooltipMessage(l))),e.Q6J("matTooltipPosition","above")("matTooltipDisabled",!s.disableSelect(l)),e.xp6(2),e.Q2q("data-cy","",l.name,"-checkbox"),e.Q6J("aria-label",s.checkboxLabel(l))("checked",s.selection.isSelected(l))("disabled","members"===l.name&&s.disableMembers||s.disableSelect(l))}}function Se(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_ID")," "))}function We(o,u){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Oqu(l.id)}}function ge(o,u){1&o&&e._UZ(0,"th",32)}function Le(o,u){if(1&o&&(e.TgZ(0,"td",33),e._UZ(1,"perun-web-apps-recently-viewed-icon",34),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("recentIds",s.recentIds)("id",l.id)}}function ue(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_VO_NAME")," "))}function Me(o,u){if(1&o&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.hij(" ",s.voNames.get(l.voId)," ")}}function z(o,u){1&o&&e._UZ(0,"th",32)}function P(o,u){1&o&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&o&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.INDIRECT_GROUP"))}function de(o,u){1&o&&(e.TgZ(0,"mat-icon",36),e.ALo(1,"translate"),e._uU(2,"alt_route"),e.qZA()),2&o&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.MULTIPLE_ASSIGNMENTS"))}function Ce(o,u){if(1&o&&(e.TgZ(0,"td",33),e.YNc(1,P,3,3,"mat-icon",35),e.YNc(2,de,3,3,"mat-icon",35),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Q6J("ngIf",l.sourceGroupId&&!l.moreTypesOfAssignment),e.xp6(1),e.Q6J("ngIf",l.moreTypesOfAssignment)}}function Pe(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_NAME")," "))}function ce(o,u){if(1&o&&(e.TgZ(0,"td",33),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.uIk("data-cy",l.name),e.xp6(1),e.hij(" ",l.name," ")}}function fe(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function Ze(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"td",37),e.TgZ(1,"perun-web-apps-group-resource-status",38),e.NdJ("mouseenter",function(){return e.CHM(l),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw();return n.disabledRouting=n.disableRouting})("statusChange",function(){return e.CHM(l),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("theme","resource-theme")("groupId",l.id)("resourceId",s.resourceId)("failureCause",l.failureCause)("status",l.status)}}function ne(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_STATUS")," "))}function it(o,u){if(1&o&&(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&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,s.getStatusAttribute(l)),""),e.s9C("matTooltip",s.getStatusAttribute(l)),e.xp6(3),e.hij(" ",e.lcZ(5,7,s.getStatusAttribute(l))," ")}}function Be(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_DESCRIPTION")," "))}function ze(o,u){if(1&o&&(e.TgZ(0,"td",37),e._uU(1),e.qZA()),2&o){const l=u.$implicit;e.xp6(1),e.Oqu(l.description)}}function Ue(o,u){1&o&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.TABLE_GROUP_EXPIRATION")," "))}function _e(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(l);const n=e.oxw().$implicit;return e.oxw().changeExpiration(n)})("mouseenter",function(){return e.CHM(l),e.oxw(2).disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw(2);return n.disabledRouting=n.disableRouting}),e.TgZ(1,"mat-icon"),e._uU(2,"edit"),e.qZA(),e.qZA()}}function ae(o,u){if(1&o&&(e.TgZ(0,"td",37),e._uU(1),e.ALo(2,"parseDate"),e.ALo(3,"groupExpiration"),e.YNc(4,_e,3,0,"button",40),e.qZA()),2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,2,e.lcZ(3,4,l))," "),e.xp6(3),e.Q6J("ngIf",s.canManageGroup(l))}}function Ae(o,u){1&o&&e._UZ(0,"th",32)}function ee(o,u){if(1&o){const l=e.EpF();e.TgZ(0,"td",33),e.TgZ(1,"perun-web-apps-group-menu",42),e.NdJ("mouseenter",function(){return e.CHM(l),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(l);const n=e.oxw();return n.disabledRouting=n.disableRouting})("moveGroup",function(){const t=e.CHM(l).$implicit;return e.oxw().onMoveGroup(t)})("changeNameDescription",function(){const t=e.CHM(l).$implicit;return e.oxw().onChangeNameDescription(t)})("syncGroup",function(){const t=e.CHM(l).$implicit;return e.oxw().onSyncDetail(t)}),e.qZA(),e.qZA()}if(2&o){const l=u.$implicit,s=e.oxw();e.xp6(1),e.Q6J("disabled","members"===l.name)("displayButtons",s.displayButtons)("group",l)}}function Ne(o,u){1&o&&e._UZ(0,"tr",43)}const V=function(o,u){return["/organizations",o,"groups",u]};function H(o,u){if(1&o&&e._UZ(0,"tr",44),2&o){const l=u.$implicit,s=e.oxw();e.ekj("cursor-pointer",!s.disableRouting&&!s.groupsToDisableRouting.has(l.id))("disable-outline",s.disabledRouting||s.groupsToDisableRouting.has(l.id)),e.Q6J("perunWebAppsMiddleClickRouterLink",s.disabledRouting||s.groupsToDisableRouting.has(l.id)?null:e.WLB(6,V,l.voId,l.id))("perunWebAppsForceRouterLink",s.disabledRouting||s.groupsToDisableRouting.has(l.id)?null:e.WLB(9,V,l.voId,l.id))}}function D(o,u){if(1&o&&(e.TgZ(0,"perun-web-apps-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o){const l=e.oxw();e.xp6(1),e.hij(" ",e.lcZ(2,1,l.noGroupsAlert),"\n")}}function O(o,u){1&o&&(e.TgZ(0,"perun-web-apps-alert",45),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&o&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let i=(()=>{class o{constructor(l,s,n,t,r){this.dialog=l,this.authResolver=s,this.voService=n,this.tableCheckbox=t,this.changeDetector=r,this.theme="group-theme",this.moveGroup=new e.vpe,this.groups=[],this.selection=new v.Ov(!0,[]),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=_.f7,this.recentIds=[],this.resourceId=null,this.noGroupsAlert="SHARED_LIB.UI.ALERTS.NO_GROUPS",this.refreshTable=new e.vpe,this.displayButtons=window.innerWidth>800,this.disabledRouting=!1,this.voIds=new Set,this.voNames=new Map,this.hasMembersGroup=!1,this.getDataForColumnFun=(a,d)=>o.getDataForColumn(a,d,this.voNames),this.getSortDataForColumnFun=(a,d)=>o.getSortDataForColumn(a,d,this.voNames,this.recentIds),this.canBeSelected=a=>!("members"===a.name&&this.disableMembers||this.disableSelect(a))}set matSort(l){this.sort=l}static getDataForColumn(l,s,n){switch(s){case"id":return l.id.toString();case"vo":return n.get(l.voId);case"name":return l.name;case"description":return l.description;case"expiration":{const t=(0,_.x2)(l);return(0,_.sG)(t)}case"recent":return"";case"status":return l.status;case"uuid":return l.uuid;default:return l[s]}}static getSortDataForColumn(l,s,n,t){switch(s){case"id":return l.id.toString();case"vo":return n.get(l.voId);case"name":return l.name;case"description":return l.description;case"expiration":{const r=(0,_.x2)(l);return r&&"never"!==r.toLowerCase()?(0,I.p6)(r,"yyyy.MM.dd","en"):r}case"recent":return t&&t.includes(l.id)?"#".repeat(t.indexOf(l.id)):l.name;case"status":return l.status;default:return l[s]}}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 l of this.groups)if("members"===l.name)return!0;return!1}exportData(l){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),l)}setDataSource(){this.dataSource||(this.dataSource=new E.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(l,s)=>(0,_.Sd)(l,s,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(l,s)=>(0,_.pR)(l,s,this.getSortDataForColumnFun)),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(l){return l?`${this.selection.isSelected(l)?"deselect":"select"} row ${l.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}disableSelect(l){return this.disableGroups&&(this.groupsToDisableCheckbox.has(l.id)||(0,_.bx)(l))}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(l=>"id"!==l),this.changeDetector.detectChanges())}onMoveGroup(l){this.moveGroup.emit(l)}onSyncDetail(l){const s=(0,_.kZ)();s.data={groupId:l.id,theme:this.theme},this.dialog.open(c.Bp,s)}onChangeNameDescription(l){const s=(0,_.kZ)();s.data={theme:"group-theme",group:l,dialogType:c.Eg.GROUP},this.dialog.open(c.rd,s).afterClosed().subscribe(t=>{t&&this.refreshTable.emit()})}setAuth(){return"group-subgroups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[s]),!0):"group-relations"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("result-removeGroupUnion_Group_Group_policy",[this.parentGroup])&&this.authResolver.isAuthorized("operand-removeGroupUnion_Group_Group_policy",[s]),!0):"vo-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroup_Group_boolean_policy",[this.vo,s]),!0):"member-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("removeMember_Member_List_policy",[s]),!0):"application-form-manage-groups"===this.authType?this.selection.selected.reduce((l,s)=>l&&this.authResolver.isAuthorized("deleteGroupsFromAutoRegistration_List_policy",[this.vo,s]),!0):void 0}itemSelectionToggle(l){this.selection.toggle(l),this.removeAuth=this.setAuth()}getCheckboxTooltipMessage(l){return"create-relation-dialog"===this.authType?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.CREATE_RELATION_AUTH_TOOLTIP":(0,_.bx)(l)?"SHARED_LIB.PERUN.COMPONENTS.GROUPS_LIST.SYNCHRONIZED_GROUP":l.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(l=>{this.voIds.has(l.voId)||this.voIds.add(l.voId)}),this.voIds.size>0&&this.voService.getVosByIds([...this.voIds]).subscribe(l=>{l.forEach(s=>{this.voNames.set(s.id,s.name)})}))}changeExpiration(l){const s=l.attributes.find(r=>"groupMembershipExpiration"===r.baseFriendlyName),n=(0,_.kZ)();n.width="400px",n.data={memberId:this.memberId,groupId:l.id,expirationAttr:s,status:this.getStatusAttribute(l)},this.dialog.open(c.u3,n).afterClosed().subscribe(r=>{r.success&&this.refreshTable.emit()})}canManageGroup(l){return this.authResolver.isThisGroupAdmin(l.id)||this.authResolver.isThisVoAdmin(l.voId)}getStatusAttribute(l){const s=l.attributes.find(n=>"groupStatus"===n.baseFriendlyName);return(null==s?void 0:s.value)?s.value:""}}return o.\u0275fac=function(l){return new(l||o)(e.Y36(N.uw),e.Y36(w.x4),e.Y36(g.YF),e.Y36(w.UA),e.Y36(e.sBO))},o.\u0275cmp=e.Xpm({type:o,selectors:[["perun-web-apps-groups-list"]],viewQuery:function(l,s){if(1&l&&(e.Gf(_.l9,7),e.Gf(b.YE,7)),2&l){let n;e.iGM(n=e.CRH())&&(s.child=n.first),e.iGM(n=e.CRH())&&(s.matSort=n.first)}},hostBindings:function(l,s){1&l&&e.NdJ("resize",function(t){return s.shouldHideButtons(t)},!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",noGroupsAlert:"noGroupsAlert"},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","perunWebAppsForceRouterLink",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","perunWebAppsForceRouterLink"],["alert_type","warn"]],template:function(l,s){1&l&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(t){return s.exportData(t)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Te,2,1,"th",4),e.YNc(5,Oe,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,Se,3,3,"th",7),e.YNc(8,We,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,ge,1,0,"th",10),e.YNc(11,Le,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,ue,3,3,"th",7),e.YNc(14,Me,2,1,"td",8),e.BQk(),e.ynx(15,13),e.YNc(16,z,1,0,"th",10),e.YNc(17,Ce,3,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,Pe,3,3,"th",7),e.YNc(20,ce,2,2,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,fe,3,3,"th",7),e.YNc(23,Ze,2,5,"td",16),e.BQk(),e.ynx(24,17),e.YNc(25,ne,3,3,"th",7),e.YNc(26,it,6,9,"td",11),e.BQk(),e.ynx(27,18),e.YNc(28,Be,3,3,"th",7),e.YNc(29,ze,2,1,"td",16),e.BQk(),e.ynx(30,19),e.YNc(31,Ue,3,3,"th",7),e.YNc(32,ae,5,6,"td",16),e.BQk(),e.ynx(33,20),e.YNc(34,Ae,1,0,"th",10),e.YNc(35,ee,2,3,"td",11),e.BQk(),e.YNc(36,Ne,1,0,"tr",21),e.YNc(37,H,1,12,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(38,D,3,3,"perun-web-apps-alert",23),e.YNc(39,O,3,3,"perun-web-apps-alert",23)),2&l&&(e.Q6J("hidden",0===s.groups.length||!s.dataSource||0===s.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",s.dataSource.filteredData.length)("pageSizeOptions",s.pageSizeOptions)("tableId",s.tableId),e.xp6(1),e.Q6J("dataSource",s.dataSource),e.xp6(34),e.Q6J("matHeaderRowDef",s.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",s.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===s.groups.length),e.xp6(1),e.Q6J("ngIf",0===s.dataSource.filteredData.length&&0!==s.groups.length))},directives:[A.l,E.BZ,b.YE,E.w1,E.fO,E.ge,I.O5,q.oG,E.Dz,E.ev,j.gM,b.nU,G.W,Q.Hw,he.x,F.lW,be.i,E.as,E.XQ,E.nj,E.Gk,pe.YH,pe.Kd,ye.w],pipes:[T.X$,R.u,L.f,X.M,Y],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}"]}),o})()},58956:(qe,me,h)=>{"use strict";h.d(me,{I:()=>Se});var e=h(5e3),c=h(90149),g=h(28258),w=h(20449);class _{constructor(ge){this.id=ge.id,this.name=ge.name,this.parentGroupId=ge.parentGroupId,this.voId=ge.voId,this.shortName=ge.shortName,this.description=ge.description,this.attributes=ge.attributes,this.beanName=ge.beanName}addChild(ge){null==this.children?this.children=[ge]:this.children.push(ge)}}var b=h(9244),E=h(16074),v=h(32080),I=h(48966),N=h(69808),A=h(29071),q=h(77446),j=h(36157),G=h(47423),Q=h(25245),he=h(29772),F=h(13449),be=h(98380),pe=h(51062);const ye=["scrollViewport"];function T(We,ge){if(1&We){const Le=e.EpF();e.TgZ(0,"mat-checkbox",19),e.NdJ("change",function(){e.CHM(Le);const Me=e.oxw().$implicit;return e.oxw(2).itemSelectionToggle(Me)}),e.qZA()}if(2&We){const Le=e.oxw().$implicit,ue=e.oxw(2);e.Q2q("data-cy","",Le.name,"-checkbox"),e.Q6J("disabled","members"===Le.fullName)("checked",ue.selection.isSelected(Le))("indeterminate",ue.descendantsPartiallySelected(Le))}}function R(We,ge){if(1&We&&(e.TgZ(0,"mat-icon",20),e._uU(1),e.qZA()),2&We){const Le=e.oxw().$implicit,ue=e.oxw(2);e.xp6(1),e.hij(" ",ue.treeControl.isExpanded(Le)?"expand_more":"chevron_right"," ")}}function L(We,ge){if(1&We&&(e.TgZ(0,"span",21),e._uU(1),e.qZA()),2&We){const Le=e.oxw().$implicit;e.xp6(1),e.hij(" #",Le.id," ")}}const X=function(We,ge){return["/organizations",We,"groups",ge]};function Y(We,ge){if(1&We){const Le=e.EpF();e.ynx(0),e.TgZ(1,"div",6),e.YNc(2,T,1,4,"mat-checkbox",7),e.TgZ(3,"a",8),e.TgZ(4,"button",9),e.NdJ("mouseenter",function(){return e.CHM(Le),e.oxw(2).disableRouting=!0})("mouseleave",function(){return e.CHM(Le),e.oxw(2).disableRouting=!1})("click",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).treeControl.toggle(z)}),e.YNc(5,R,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,L,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 z=e.CHM(Le).$implicit;return e.oxw(2).onMoveGroup(z)})("syncGroup",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).onSyncDetail(z)})("changeNameDescription",function(){const z=e.CHM(Le).$implicit;return e.oxw(2).onChangeNameDescription(z)}),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&We){const Le=ge.$implicit,ue=e.oxw(2);e.xp6(1),e.Udp("padding-left",24*Le.level+"px"),e.xp6(1),e.Q6J("ngIf",!ue.hideCheckbox),e.xp6(1),e.Q6J("routerLink",ue.disableRouting?null:e.WLB(15,X,Le.voId,Le.id)),e.xp6(1),e.Q6J("disabled",!Le.expandable),e.uIk("aria-label","toggle "+Le.name),e.xp6(1),e.Q6J("ngIf",Le.expandable),e.xp6(2),e.uIk("data-cy",Le.name),e.xp6(1),e.hij(" ",Le.name," "),e.xp6(1),e.Q6J("ngIf",ue.authResolver.isPerunAdminOrObserver()),e.xp6(3),e.s9C("matTooltip",Le.description),e.xp6(1),e.hij(" ",Le.description," "),e.xp6(2),e.Q6J("disabled","members"===Le.fullName)("displayButtons",ue.displayButtons)("group",Le)}}const se=function(We){return{height:We}};function Te(We,ge){if(1&We&&(e.TgZ(0,"div",2),e.TgZ(1,"cdk-virtual-scroll-viewport",3,4),e.YNc(3,Y,16,18,"ng-container",5),e.qZA(),e.qZA()),2&We){const Le=e.oxw();e.xp6(1),e.Q6J("minBufferPx",240)("maxBufferPx",480)("ngStyle",e.VKq(4,se,Le.getTreeViewHeight())),e.xp6(2),e.Q6J("cdkVirtualForOf",Le.dataSource)}}function Oe(We,ge){1&We&&(e.TgZ(0,"perun-web-apps-alert",22),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&We&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}let Se=(()=>{class We{constructor(Le,ue,Me){this.cd=Le,this.dialog=ue,this.authResolver=Me,this.theme="group-theme",this.moveGroup=new e.vpe,this.refreshTable=new e.vpe,this.expandAll=!1,this.disableRouting=!1,this.selection=new w.Ov(!0,[]),this.hideCheckbox=!1,this.displayButtons=window.innerWidth>600,this.treeControl=new g.C2(z=>z.level,z=>z.expandable),this.hasChild=(z,P)=>P.expandable,this.getLevel=z=>z.level,this.transformer=(z,P)=>({expandable:!!z.children&&z.children.length>0,name:z.shortName,fullName:z.name,parentGroupId:z.parentGroupId,level:P,id:z.id,voId:z.voId,attributes:z.attributes,beanName:z.beanName,description:z.description}),this.treeFlattener=new c.JZ(this.transformer,z=>z.level,z=>z.expandable,z=>z.children),this.dataSource=new c.kc(this.treeControl,this.treeFlattener)}shouldHideButtons(){this.displayButtons=window.innerWidth>600}ngOnChanges(){if(this.expandAll){this.filteredGroups=this.groups.filter(Le=>{var ue,Me;return(null===(ue=Le.name)||void 0===ue?void 0:ue.toLowerCase().includes(this.filterValue.toLowerCase()))||(null===(Me=Le.description)||void 0===Me?void 0:Me.toLowerCase().includes(this.filterValue.toLowerCase()))||Le.id.toString().includes(this.filterValue.toLowerCase())||Le.uuid.toLowerCase().includes(this.filterValue.toLowerCase())});for(const Le of this.filteredGroups)Le.parentGroupId&&(this.filteredGroups=this.filteredGroups.concat((0,b.oU)(Le.parentGroupId,this.groups)))}else this.filteredGroups=this.groups;this.createGroupTrees(this.filteredGroups),this.expandAll&&this.treeControl.expandAll(),this.removeAuth=this.setRemoveAuth()}onSyncDetail(Le){const ue=(0,b.kZ)();ue.data={groupId:Le.id,theme:this.theme},this.dialog.open(E.Bp,ue)}onChangeNameDescription(Le){const ue=(0,b.kZ)();ue.data={theme:"group-theme",group:Le,dialogType:E.Eg.GROUP},this.dialog.open(E.rd,ue).afterClosed().subscribe(z=>{z&&this.refreshTable.emit()})}createGroupTrees(Le){const ue=new Map;for(const P of Le)ue.set(P.id,new _(P));const Me=new Set;ue.forEach((P,de,Ce)=>{const Pe=Ce.get(P.parentGroupId);void 0!==Pe&&(Pe.addChild(P),Ce.set(P.parentGroupId,Pe)),null!==P.parentGroupId&&void 0===Pe&&Me.add(P.id)});const z=[];ue.forEach(P=>{(null===P.parentGroupId||Me.has(P.id))&&z.push(P)}),this.dataSource.data=z,this.cd.detectChanges()}getParentNode(Le){const ue=this.getLevel(Le);if(ue<1)return null;for(let z=this.treeControl.dataNodes.indexOf(Le)-1;z>=0;z--){const P=this.treeControl.dataNodes[z];if(this.getLevel(P)this.selection.isSelected(P));ue&&!z&&this.selection.deselect(Le)}checkAllParentsSelection(Le){let ue=this.getParentNode(Le);for(;ue;)this.checkRootNodeSelection(ue),ue=this.getParentNode(ue);this.removeAuth=this.setRemoveAuth()}descendantsPartiallySelected(Le){return this.treeControl.getDescendants(Le).some(z=>this.selection.isSelected(z))&&!this.selection.isSelected(Le)}itemSelectionToggle(Le){this.selection.toggle(Le);const ue=this.treeControl.getDescendants(Le);this.selection.isSelected(Le)?this.selection.select(...ue):this.selection.deselect(...ue),ue.every(Me=>this.selection.isSelected(Me)),this.checkAllParentsSelection(Le)}setRemoveAuth(){return this.selection.selected.reduce(void 0!==this.vo?(Le,ue)=>Le&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[this.vo,ue]):(Le,ue)=>Le&&this.authResolver.isAuthorized("deleteGroups_List_boolean_policy",[ue]),!0)}onMoveGroup(Le){this.moveGroup.emit(Le)}getTreeViewHeight(){let Le=0;this.scrollViewport&&(Le=this.scrollViewport.getDataLength());let ue=48*Le;return ue>672&&(ue=696),this.scrollViewport&&this.scrollViewport.checkViewportSize(),String(ue)+"px"}}return We.\u0275fac=function(Le){return new(Le||We)(e.Y36(e.sBO),e.Y36(I.uw),e.Y36(v.x4))},We.\u0275cmp=e.Xpm({type:We,selectors:[["perun-web-apps-groups-tree"]],viewQuery:function(Le,ue){if(1&Le&&e.Gf(ye,5),2&Le){let Me;e.iGM(Me=e.CRH())&&(ue.scrollViewport=Me.first)}},hostBindings:function(Le,ue){1&Le&&e.NdJ("resize",function(z){return ue.shouldHideButtons(z)},!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(Le,ue){1&Le&&(e.YNc(0,Te,4,6,"div",0),e.YNc(1,Oe,3,3,"perun-web-apps-alert",1)),2&Le&&(e.Q6J("ngIf",0!==ue.filteredGroups.length),e.xp6(1),e.Q6J("ngIf",0===ue.filteredGroups.length))},directives:[N.O5,A.N7,A.xd,N.PC,A.x0,q.oG,j.yS,G.lW,Q.Hw,he.gM,F.i,be.w],pipes:[pe.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}"]}),We})()},52314:(qe,me,h)=>{"use strict";h.d(me,{X:()=>j});var e=h(32105),c=h(32080),g=h(5e3),w=h(51062),_=h(69808),b=h(47423),E=h(92181),v=h(29772),I=h(25245);const N=function(G){return{color:G}};function A(G,Q){if(1&G&&(g.TgZ(0,"button",8),g.ALo(1,"translate"),g.TgZ(2,"mat-icon",4),g._uU(3," apps "),g.qZA(),g.qZA()),2&G){const he=g.oxw(),F=g.MAs(2);g.Q6J("matMenuTriggerFor",F)("matTooltip",g.lcZ(1,3,"NAV.OTHER_APPLICATIONS")),g.xp6(2),g.Q6J("ngStyle",g.VKq(5,N,he.iconColor))}}function q(G,Q){if(1&G){const he=g.EpF();g.TgZ(0,"button",2),g.NdJ("click",function(){return g.CHM(he),g.oxw().onLogOut()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&G&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"NAV.LOGOUT")," "))}let j=(()=>{class G{constructor(he,F,be,pe){this.authService=he,this.authzResolverService=F,this.notificator=be,this.translateService=pe}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return G.\u0275fac=function(he){return new(he||G)(g.Y36(c.e8),g.Y36(e.Ct),g.Y36(c.V6),g.Y36(w.sK))},G.\u0275cmp=g.Xpm({type:G,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(he,F){if(1&he&&(g.YNc(0,A,4,7,"button",0),g.TgZ(1,"mat-menu",null,1),g.TgZ(3,"button",2),g.NdJ("click",function(){return F.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,q,3,3,"button",7),g.qZA()),2&he){const be=g.MAs(12);g.Q6J("ngIf",F.url),g.xp6(5),g.Oqu(F.label),g.xp6(1),g.Q6J("matMenuTriggerFor",be),g.xp6(1),g.Q6J("ngStyle",g.VKq(11,N,F.iconColor)),g.xp6(2),g.Q6J("ngStyle",g.VKq(13,N,F.textColor)),g.xp6(1),g.xDo(" ",F.user.titleBefore," ",F.user.firstName," ",F.user.middleName," ",F.user.lastName," ",F.user.titleAfter," "),g.xp6(3),g.Q6J("ngIf",F.logoutEnabled)}},directives:[_.O5,b.lW,E.p6,v.gM,I.Hw,_.PC,E.VK,E.OP],pipes:[w.X$],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),G})()},7434:(qe,me,h)=>{"use strict";h.d(me,{L:()=>N});var e=h(5e3),c=h(93075),g=h(67322),w=h(69808),_=h(98833),b=h(50301),E=h(51062);function v(A,q){if(1&A&&(e._UZ(0,"input",3),e.ALo(1,"translate")),2&A){const j=e.oxw();e.s9C("placeholder",e.lcZ(1,2,j.placeholder)),e.Q6J("formControl",j.formControl)}}function I(A,q){if(1&A&&(e._UZ(0,"input",4),e.ALo(1,"translate")),2&A){const j=e.oxw();e.s9C("placeholder",e.lcZ(1,2,j.placeholder)),e.Q6J("formControl",j.formControl)}}let N=(()=>{class A{constructor(){this.filter=new e.vpe,this.autoFocus=!1,this.formControl=new c.NI}ngOnInit(){this.formControl.valueChanges.subscribe(j=>{let G=j.trim();G=G.toLowerCase(),this.filter.emit(G)})}}return A.\u0275fac=function(j){return new(j||A)},A.\u0275cmp=e.Xpm({type:A,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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(j,G){1&j&&(e.TgZ(0,"mat-form-field",0),e.YNc(1,v,2,4,"input",1),e.YNc(2,I,2,4,"input",2),e.qZA()),2&j&&(e.xp6(1),e.Q6J("ngIf",G.autoFocus),e.xp6(1),e.Q6J("ngIf",!G.autoFocus))},directives:[g.KE,w.O5,_.Nt,c.Fj,b.hT,c.JJ,c.oH],pipes:[E.X$],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),A})()},1903:(qe,me,h)=>{"use strict";h.d(me,{m:()=>H});var e=h(84847),c=h(9244),g=h(16074),w=h(32080),_=h(56451),b=h(18505),E=h(5e3),v=h(48966),I=h(10036),N=h(18750),A=h(69808),q=h(20773),j=h(32075),G=h(77446),Q=h(29772),he=h(25245),F=h(50301),be=h(36157),pe=h(98380);let ye=(()=>{class D{transform(i){if("INDIRECT"===i.membershipType)return!0;const o=i.memberAttributes.find(u=>"isLifecycleAlterable"===u.friendlyName);return!!o&&!o.value}}return D.\u0275fac=function(i){return new(i||D)},D.\u0275pipe=E.Yjl({name:"memberListCheckboxDisabled",type:D,pure:!0}),D})();var T=h(51062);let R=(()=>{class D{constructor(i){this.translate=i}transform(i){if("INDIRECT"===i.membershipType)return this.translate.instant("MEMBERS_LIST.CHECKBOX_TOOLTIP_INDIRECT");const o=i.memberAttributes.find(u=>"isLifecycleAlterable"===u.friendlyName);return o?o.value?"":this.translate.instant("MEMBERS_LIST.CHECKBOX_TOOLTIP_UNALTERABLE"):""}}return D.\u0275fac=function(i){return new(i||D)(E.Y36(T.sK,16))},D.\u0275pipe=E.Yjl({name:"memberCheckboxLabel",type:D,pure:!0}),D})();var L=h(31359),X=h(69773),Y=h(12856),se=h(21757),Te=h(96974),Oe=h(20919),Se=h(5865);function We(D,O){1&D&&(E.TgZ(0,"div",22),E._UZ(1,"mat-spinner",23),E.qZA())}function ge(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"th",24),E.TgZ(1,"mat-checkbox",25),E.NdJ("change",function(u){E.CHM(i);const l=E.oxw();return u?l.masterToggle():null}),E.qZA(),E.qZA()}if(2&D){const i=E.oxw();E.xp6(1),E.Q6J("aria-label",i.checkboxLabel())("checked",i.selection.hasValue()&&i.isAllSelected())("indeterminate",i.selection.hasValue()&&!i.isAllSelected())}}function Le(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",26),E.TgZ(1,"mat-checkbox",27),E.NdJ("change",function(u){const s=E.CHM(i).$implicit,n=E.oxw();return u?n.selection.toggle(s):null})("click",function(u){return u.stopPropagation()}),E.ALo(2,"lowercase"),E.ALo(3,"memberListCheckboxDisabled"),E.ALo(4,"memberCheckboxLabel"),E.qZA(),E.qZA()}if(2&D){const i=O.$implicit,o=E.oxw();E.xp6(1),E.Q2q("data-cy","",E.lcZ(2,5,i.user.firstName),"-checkbox"),E.Q6J("aria-label",o.checkboxLabel(i))("checked",o.selection.isSelected(i))("disabled",E.lcZ(3,7,i))("matTooltip",E.lcZ(4,9,i))}}function ue(D,O){1&D&&(E.TgZ(0,"th",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.ID")))}function Me(D,O){if(1&D&&(E.TgZ(0,"td",29),E._uU(1),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(i.id)}}function z(D,O){1&D&&E._UZ(0,"th",28)}function P(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"mat-icon",32),E.NdJ("click",function(u){E.CHM(i);const l=E.oxw().$implicit;return E.oxw().viewMemberGroupTree(u,l)}),E.ALo(1,"translate"),E._uU(2,"transfer_within_a_station"),E.qZA()}2&D&&E.Q6J("matTooltip",E.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function de(D,O){if(1&D&&(E.TgZ(0,"td",30),E.YNc(1,P,3,3,"mat-icon",31),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Q6J("ngIf","DIRECT"!==i.membershipType)}}function Ce(D,O){1&D&&(E.TgZ(0,"th",28),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function Pe(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"userFullName"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i.user))}}function ce(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.STATUS")))}function fe(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",30),E.TgZ(1,"i",34),E.NdJ("click",function(u){const s=E.CHM(i).$implicit;return E.oxw().changeStatus(u,s)}),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&D){const i=O.$implicit;E.xp6(1),E.Gre("material-icons ",E.lcZ(2,5,i.status),""),E.s9C("matTooltip",E.xi3(3,7,i,!1)),E.xp6(4),E.hij(" ",E.lcZ(6,10,i.status)," ")}}function Ze(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")))}function ne(D,O){if(1&D){const i=E.EpF();E.TgZ(0,"td",30),E.TgZ(1,"i",34),E.NdJ("click",function(u){const s=E.CHM(i).$implicit,n=E.oxw();return n.changeStatus(u,s,n.groupId)}),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&D){const i=O.$implicit;E.xp6(1),E.Gre("material-icons ",E.lcZ(2,5,i.groupStatus),""),E.s9C("matTooltip",E.xi3(3,7,i,!0)),E.xp6(4),E.hij(" ",E.lcZ(6,10,i.groupStatus)," ")}}function it(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")))}function Be(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberOrganization"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function ze(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.EMAIL")))}function Ue(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberEmail"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function _e(D,O){1&D&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function ae(D,O){if(1&D&&(E.TgZ(0,"td",30),E._uU(1),E.ALo(2,"memberLogins"),E.qZA()),2&D){const i=O.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,i))}}function Ae(D,O){1&D&&E._UZ(0,"tr",35)}const ee=function(D,O){return["/organizations",D,"members",O]};function Ne(D,O){if(1&D&&E._UZ(0,"tr",36),2&D){const i=O.$implicit,o=E.oxw();E.ekj("cursor-pointer",o.dataSource.routeAuth)("italic_font","INDIRECT"===i.membershipType)("disable-outline",!o.dataSource.routeAuth),E.Q6J("perunWebAppsMiddleClickRouterLink",o.dataSource.routeAuth?E.WLB(8,ee,i.voId,i.id):null)("routerLink",o.dataSource.routeAuth?E.WLB(11,ee,i.voId,i.id):null)}}function V(D,O){1&D&&(E.TgZ(0,"perun-web-apps-alert",37),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&D&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let H=(()=>{class D{constructor(i,o,u,l,s){this.dialog=i,this.authResolver=o,this.tableCheckbox=u,this.tableConfigService=l,this.dynamicPaginatingService=s,this.displayedColumns=["checkbox","id","type","fullName","status","groupStatus","organization","email","logins"],this.selectedGroupStatuses=[],this.pageSizeOptions=c.f7,this.canBeSelected=n=>"INDIRECT"!==n.membershipType}static getExportDataForColumn(i,o){switch(o){case"id":return i.id.toString();case"fullName":return i.user?(0,c.bD)(i.user):"";case"status":return i.status;case"groupStatus":return i.groupStatus;case"organization":return(0,c.Gw)(i);case"email":return(0,c.g$)(i);case"logins":return(0,c.lt)(i);default:return""}}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadMembersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(i=>"id"!==i)),this.dataSource=new w.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(i=>{this.canBeSelected(i)&&this.selection.select(i)})}isAllSelected(){return this.selection.selected.length===this.dataSource.getData().filter(u=>this.canBeSelected(u)).length}checkboxLabel(i){return i?`${this.selection.isSelected(i)?"deselect":"select"} row ${i.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(i,o,u){i.stopPropagation();const l=(0,c.kZ)();l.width="500px",l.data={member:o,voId:this.voId,groupId:u};const s=u?o.groupStatus:o.status;this.dialog.open(g.pf,l).afterClosed().subscribe(t=>{if(t){const r=u?t.groupStatus:t.status;"VALID"===s&&("EXPIRED"===r||"DISABLED"===r)||"VALID"===r?(u?o.groupStatus=r:o.status=r,this.changeExpiration(o,u)):this.loadMembersPage()}})}changeExpiration(i,o){const u=i.memberAttributes.find(o?n=>"groupMembershipExpiration"===n.friendlyName:n=>"membershipExpiration"===n.friendlyName),l=(0,c.kZ)();let s;l.width="400px",l.data={voId:this.voId,groupId:o,memberId:i.id,expirationAttr:u,status:o?i.groupStatus:i.status,statusChanged:!0},s=this.dialog.open(o?g.u3:g.kZ,l),s.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(i){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,D.getExportDataForColumn),i)}viewMemberGroupTree(i,o){i.stopPropagation();const u=(0,c.kZ)();u.width="800px",u.data={member:o,groupId:this.groupId},this.dialog.open(g.jd,u)}}return D.\u0275fac=function(i){return new(i||D)(E.Y36(v.uw),E.Y36(w.x4),E.Y36(w.UA),E.Y36(I.dB),E.Y36(w.ly))},D.\u0275cmp=E.Xpm({type:D,selectors:[["perun-web-apps-members-dynamic-list"]],viewQuery:function(i,o){if(1&i&&(E.Gf(c.l9,7),E.Gf(e.YE,5)),2&i){let u;E.iGM(u=E.CRH())&&(o.child=u.first),E.iGM(u=E.CRH())&&(o.sort=u.first)}},inputs:{selection:"selection",displayedColumns:"displayedColumns",voId:"voId",groupId:"groupId",selectedGroupStatuses:"selectedGroupStatuses",attrNames:"attrNames",searchString:"searchString",selectedStatuses:"selectedStatuses",tableId:"tableId",updateTable:"updateTable"},features:[E.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","disabled","matTooltip","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(i,o){1&i&&(E.TgZ(0,"div",0),E.ALo(1,"async"),E.TgZ(2,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(l){return o.exportData(l)}),E.YNc(3,We,2,0,"div",2),E.ALo(4,"async"),E.TgZ(5,"table",3),E.ynx(6,4),E.YNc(7,ge,2,3,"th",5),E.YNc(8,Le,5,11,"td",6),E.BQk(),E.ynx(9,7),E.YNc(10,ue,3,3,"th",8),E.YNc(11,Me,2,1,"td",9),E.BQk(),E.ynx(12,10),E.YNc(13,z,1,0,"th",8),E.YNc(14,de,2,1,"td",11),E.BQk(),E.ynx(15,12),E.YNc(16,Ce,3,3,"th",8),E.YNc(17,Pe,3,3,"td",11),E.BQk(),E.ynx(18,13),E.YNc(19,ce,3,3,"th",14),E.YNc(20,fe,7,12,"td",11),E.BQk(),E.ynx(21,15),E.YNc(22,Ze,3,3,"th",14),E.YNc(23,ne,7,12,"td",11),E.BQk(),E.ynx(24,16),E.YNc(25,it,3,3,"th",14),E.YNc(26,Be,3,3,"td",11),E.BQk(),E.ynx(27,17),E.YNc(28,ze,3,3,"th",14),E.YNc(29,Ue,3,3,"td",11),E.BQk(),E.ynx(30,18),E.YNc(31,_e,3,3,"th",14),E.YNc(32,ae,3,3,"td",11),E.BQk(),E.YNc(33,Ae,1,0,"tr",19),E.YNc(34,Ne,1,14,"tr",20),E.qZA(),E.qZA(),E.qZA(),E.YNc(35,V,3,3,"perun-web-apps-alert",21),E.ALo(36,"async")),2&i&&(E.Q6J("hidden",0===o.dataSource.allObjectCount&&!1===E.lcZ(1,9,o.dataSource.loading$)),E.xp6(2),E.Q6J("tableId",o.tableId)("dataLength",o.dataSource.allObjectCount)("pageSizeOptions",o.pageSizeOptions),E.xp6(1),E.Q6J("ngIf",E.lcZ(4,11,o.dataSource.loading$)),E.xp6(2),E.Q6J("dataSource",o.dataSource),E.xp6(28),E.Q6J("matHeaderRowDef",o.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",o.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===o.dataSource.allObjectCount&&!1===E.lcZ(36,13,o.dataSource.loading$)))},directives:[N.l,A.O5,q.Ou,j.BZ,e.YE,j.w1,j.fO,j.ge,G.oG,j.Dz,j.ev,Q.gM,e.nU,he.Hw,j.as,j.XQ,j.nj,j.Gk,F.YH,be.rH,pe.w],pipes:[A.Ov,A.i8,ye,R,T.X$,L.d,X.u,Y.i,se.f,Te.M,Oe.D,Se.p],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),D})()},38383:(qe,me,h)=>{"use strict";h.d(me,{O:()=>O});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(16074),E=h(32080),v=h(48966),I=h(36157),N=h(18750),A=h(77446),q=h(29772),j=h(69808),G=h(25245),Q=h(50301),he=h(98380),F=h(51062),be=h(31359),pe=h(69773),ye=h(12856),T=h(21757),R=h(96974),L=h(20919),X=h(5865);function Y(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"th",26),e.TgZ(1,"mat-checkbox",27),e.NdJ("change",function(s){e.CHM(u);const n=e.oxw();return s?n.masterToggle():null}),e.qZA(),e.qZA()}if(2&i){const u=e.oxw();e.xp6(1),e.Q6J("aria-label",u.checkboxLabel())("checked",u.selection.hasValue()&&u.isAllSelected())("indeterminate",u.selection.hasValue()&&!u.isAllSelected())}}function se(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",28),e.TgZ(1,"mat-checkbox",29),e.NdJ("change",function(s){const t=e.CHM(u).$implicit,r=e.oxw();return s?r.selection.toggle(t):null})("click",function(s){return s.stopPropagation()}),e.ALo(2,"translate"),e.qZA(),e.qZA()}if(2&i){const u=o.$implicit,l=e.oxw();e.xp6(1),e.Q6J("aria-label",l.checkboxLabel(u))("checked",l.selection.isSelected(u))("disabled","DIRECT"!==u.membershipType)("matTooltip","DIRECT"!==u.membershipType?e.lcZ(2,4,"MEMBERS_LIST.CHECKBOX_TOOLTIP"):"")}}function Te(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.ID")))}function Oe(i,o){if(1&i&&(e.TgZ(0,"td",31),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.id)}}function Se(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.VO_ID")," "))}function We(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.voId)}}function ge(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.USER_ID")," "))}function Le(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(u.userId)}}function ue(i,o){1&i&&e._UZ(0,"th",30)}function Me(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"mat-icon",34),e.NdJ("click",function(){e.CHM(u);const s=e.oxw().$implicit;return e.oxw().viewMemberGroupTree(s)})("mouseenter",function(){return e.CHM(u),e.oxw(2).disableRouting=!0})("mouseleave",function(){e.CHM(u);const s=e.oxw(2);return s.disableRouting=s.disabledRouting}),e.ALo(1,"translate"),e._uU(2,"transfer_within_a_station"),e.qZA()}2&i&&e.Q6J("matTooltip",e.lcZ(1,1,"MEMBERS_LIST.INDIRECT_MEMBER"))}function z(i,o){if(1&i&&(e.TgZ(0,"td",32),e.YNc(1,Me,3,3,"mat-icon",33),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Q6J("ngIf","DIRECT"!==u.membershipType)}}function P(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.NAME")," "))}function de(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u.user))}}function Ce(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.STATUS")," "))}function Pe(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"i",35),e.NdJ("click",function(s){const t=e.CHM(u).$implicit;return e.oxw().changeStatus(s,t)}),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&i){const u=o.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,u.status),""),e.s9C("matTooltip",e.xi3(3,7,u,!1)),e.xp6(4),e.hij(" ",e.lcZ(6,10,u.status)," ")}}function ce(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.GROUP_STATUS")," "))}function fe(i,o){if(1&i){const u=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"i",35),e.NdJ("click",function(s){const t=e.CHM(u).$implicit;return e.oxw().changeStatus(s,t)}),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&i){const u=o.$implicit;e.xp6(1),e.Gre("material-icons ",e.lcZ(2,5,u.groupStatus),""),e.s9C("matTooltip",e.xi3(3,7,u,!0)),e.xp6(4),e.hij(" ",e.lcZ(6,10,u.groupStatus)," ")}}function Ze(i,o){1&i&&(e.TgZ(0,"th",36),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ALREADY_SPONSORED")," "))}function ne(i,o){1&i&&(e.TgZ(0,"mat-icon"),e._uU(1,"check_circle_outline"),e.qZA())}function it(i,o){if(1&i&&(e.TgZ(0,"td",37),e.YNc(1,ne,2,0,"mat-icon",38),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Q6J("ngIf",u.sponsored)}}function Be(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.ORGANIZATION")," "))}function ze(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberOrganization"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function Ue(i,o){1&i&&(e.TgZ(0,"th",30),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"MEMBERS_LIST.EMAIL")," "))}function _e(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberEmail"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function ae(i,o){1&i&&(e.TgZ(0,"th",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"MEMBERS_LIST.LOGINS")))}function Ae(i,o){if(1&i&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"memberLogins"),e.qZA()),2&i){const u=o.$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,u))}}function ee(i,o){1&i&&e._UZ(0,"tr",40)}const Ne=function(i,o){return["/organizations",i,"members",o]};function V(i,o){if(1&i&&e._UZ(0,"tr",41),2&i){const u=o.$implicit,l=e.oxw();e.ekj("cursor-pointer",!l.disabledRouting)("disable-outline",l.disableRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",l.disableRouting?null:e.WLB(6,Ne,u.voId,u.id))("routerLink",l.disableRouting?null:e.WLB(9,Ne,u.voId,u.id))}}function H(i,o){1&i&&(e.TgZ(0,"perun-web-apps-alert",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function D(i,o){1&i&&(e.TgZ(0,"perun-web-apps-alert",42),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_MEMBERS"),"\n"))}let O=(()=>{class i{constructor(u,l,s,n){this.dialog=u,this.authResolver=l,this.tableCheckbox=s,this.route=n,this.selection=new w.Ov,this.displayedColumns=["checkbox","id","voId","userId","type","fullName","status","groupStatus","sponsored","organization","email","logins"],this.disableStatusChange=!1,this.disableExpirationChange=!1,this.disableRouting=!1,this.filter="",this.updateTable=new e.vpe,this.pageSizeOptions=_.f7,this.getExportDataForColumnFun=(t,r)=>i.getExportDataForColumn(t,r,this.showGroupStatuses),this.getSortDataForColumnFun=(t,r)=>i.getSortDataForColumn(t,r,this.showGroupStatuses),this.canBeSelected=t=>"DIRECT"===t.membershipType}set matSort(u){this.sort=u}static getFilterDataForColumn(u,l){switch(l){case"fullName":return u.user?(0,_.bD)(u.user):"";case"email":return(0,_.g$)(u);case"logins":return(0,_.lt)(u);default:return""}}static getExportDataForColumn(u,l,s){switch(l){case"id":return u.id.toString();case"fullName":return u.user?(0,_.bD)(u.user):"";case"status":return s?u.groupStatus:u.status;case"organization":return(0,_.Gw)(u);case"email":return(0,_.g$)(u);case"logins":return(0,_.lt)(u);default:return""}}static getSortDataForColumn(u,l,s){var n;switch(l){case"id":return u.id.toString();case"fullName":return u.user?u.user.lastName?u.user.lastName:null!==(n=u.user.firstName)&&void 0!==n?n:"":"";case"status":return s?u.groupStatus:u.status;case"organization":return(0,_.Gw)(u);case"email":return(0,_.g$)(u);default:return""}}exportData(u){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getExportDataForColumnFun),u)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(u,l)=>(0,_.Sd)(u,l,this.displayedColumns,i.getFilterDataForColumn),this.dataSource.sortData=(u,l)=>(0,_.pR)(u,l,this.getSortDataForColumnFun)),this.dataSource.filter=this.filter,this.dataSource.data=this.members}ngAfterViewInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(u=>"id"!==u))}ngOnChanges(){var u;this.setDataSource(),this.disabledRouting=this.disableRouting,null===(u=this.route.parent)||void 0===u||u.params.subscribe(l=>{l.groupId&&(this.groupId=Number(l.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(u){return u?`${this.selection.isSelected(u)?"deselect":"select"} row ${u.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}changeStatus(u,l){if(u.stopPropagation(),!this.disableStatusChange){const s=(0,_.kZ)();s.width="500px",s.data={member:l,disableChangeExpiration:this.disableExpirationChange},this.dialog.open(b.pf,s).afterClosed().subscribe(t=>{t&&this.updateTable.emit(!0)})}}viewMemberGroupTree(u){const l=(0,_.kZ)();l.width="800px",l.data={member:u,groupId:this.groupId},this.dialog.open(b.jd,l)}}return i.\u0275fac=function(u){return new(u||i)(e.Y36(v.uw),e.Y36(E.x4),e.Y36(E.UA),e.Y36(I.gz))},i.\u0275cmp=e.Xpm({type:i,selectors:[["perun-web-apps-members-list"]],viewQuery:function(u,l){if(1&u&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&u){let s;e.iGM(s=e.CRH())&&(l.child=s.first),e.iGM(s=e.CRH())&&(l.matSort=s.first)}},inputs:{showGroupStatuses:"showGroupStatuses",members:"members",searchString:"searchString",selection:"selection",displayedColumns:"displayedColumns",disableStatusChange:"disableStatusChange",disableExpirationChange:"disableExpirationChange",tableId:"tableId",disableRouting:"disableRouting",filter:"filter"},outputs:{updateTable:"updateTable"},features:[e.TTD],decls:43,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","voId"],["mat-cell","",4,"matCellDef"],["matColumnDef","userId"],["matColumnDef","type"],["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(u,l){1&u&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(n){return l.exportData(n)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,Y,2,3,"th",4),e.YNc(5,se,3,6,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,Te,3,3,"th",7),e.YNc(8,Oe,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,Se,3,3,"th",7),e.YNc(11,We,2,1,"td",10),e.BQk(),e.ynx(12,11),e.YNc(13,ge,3,3,"th",7),e.YNc(14,Le,2,1,"td",10),e.BQk(),e.ynx(15,12),e.YNc(16,ue,1,0,"th",7),e.YNc(17,z,2,1,"td",10),e.BQk(),e.ynx(18,13),e.YNc(19,P,3,3,"th",7),e.YNc(20,de,3,3,"td",10),e.BQk(),e.ynx(21,14),e.YNc(22,Ce,3,3,"th",7),e.YNc(23,Pe,7,12,"td",10),e.BQk(),e.ynx(24,15),e.YNc(25,ce,3,3,"th",7),e.YNc(26,fe,7,12,"td",10),e.BQk(),e.ynx(27,16),e.YNc(28,Ze,3,3,"th",17),e.YNc(29,it,2,1,"td",18),e.BQk(),e.ynx(30,19),e.YNc(31,Be,3,3,"th",7),e.YNc(32,ze,3,3,"td",10),e.BQk(),e.ynx(33,20),e.YNc(34,Ue,3,3,"th",7),e.YNc(35,_e,3,3,"td",10),e.BQk(),e.ynx(36,21),e.YNc(37,ae,3,3,"th",22),e.YNc(38,Ae,3,3,"td",10),e.BQk(),e.YNc(39,ee,1,0,"tr",23),e.YNc(40,V,1,12,"tr",24),e.qZA(),e.qZA(),e.qZA(),e.YNc(41,H,3,3,"perun-web-apps-alert",25),e.YNc(42,D,3,3,"perun-web-apps-alert",25)),2&u&&(e.Q6J("hidden",0===l.members.length||!l.dataSource||0===l.dataSource.filteredData.length),e.xp6(1),e.Q6J("dataLength",l.dataSource.filteredData.length)("tableId",l.tableId)("pageSizeOptions",l.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",l.dataSource),e.xp6(37),e.Q6J("matHeaderRowDef",l.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",l.displayedColumns),e.xp6(1),e.Q6J("ngIf",0!==l.members.length&&0===l.dataSource.filteredData.length),e.xp6(1),e.Q6J("ngIf",0===l.members.length))},directives:[N.l,g.BZ,c.YE,g.w1,g.fO,g.ge,A.oG,g.Dz,g.ev,q.gM,c.nU,j.O5,G.Hw,g.as,g.XQ,g.nj,g.Gk,Q.YH,I.rH,he.w],pipes:[F.X$,be.d,pe.u,ye.i,T.f,R.M,L.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}"]}),i})()},22465:(qe,me,h)=>{"use strict";h.d(me,{c:()=>A});var e=h(5e3),c=h(32080),g=h(9244),w=h(16074),_=h(48966),b=h(69808),E=h(25245),v=h(51062);function I(q,j){if(1&q&&(e.TgZ(0,"div",5),e.TgZ(1,"mat-icon"),e._uU(2),e.qZA(),e.qZA()),2&q){const G=e.oxw();e.xp6(2),e.Oqu(G.data.icon)}}function N(q,j){if(1&q&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&q){const G=e.oxw();e.xp6(1),e.hij(" ",G.showTimestamp()," ")}}let A=(()=>{class q{constructor(G,Q){this.dialog=G,this.notificationStorageService=Q,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 G=(0,g.kZ)();G.width="550px",G.data=this.data,G.autoFocus=!1,this.dialog.open(w.FM,G).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[G,Q]=this.data.timeStamp.split(":");return Q.length<2?G+":0"+Q:this.data.timeStamp}}return q.\u0275fac=function(G){return new(G||q)(e.Y36(_.uw),e.Y36(c.SZ))},q.\u0275cmp=e.Xpm({type:q,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(G,Q){1&G&&(e.TgZ(0,"div"),e.TgZ(1,"div",0),e.NdJ("click",function(){return Q.alreadyClosed||Q.waiting?"":Q.closeSelf()}),e.YNc(2,I,3,1,"div",1),e.TgZ(3,"div",2),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.YNc(6,N,2,1,"div",3),e.TgZ(7,"div",4),e.NdJ("click",function(){return Q.waiting=!0,Q.doAction()}),e._uU(8),e.qZA(),e.qZA(),e.qZA()),2&G&&(e.Gre("notification ",Q.inDialog?"":"mat-elevation-z7",""),e.ekj("error","error"===Q.data.type)("success","success"===Q.data.type),e.xp6(2),e.Q6J("ngIf",null!==Q.data.icon),e.xp6(2),e.hij(" ",e.lcZ(5,12,Q.data.title)," "),e.xp6(2),e.Q6J("ngIf",Q.inDialog),e.xp6(1),e.Q6J("hidden",Q.alreadyPressed),e.xp6(1),e.hij(" ",Q.data.actionText," "))},directives:[b.O5,E.Hw],pipes:[v.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}"]}),q})()},53599:(qe,me,h)=>{"use strict";h.d(me,{N:()=>se});var e=h(5e3),c=h(32105),g=h(32080),w=h(32075),_=h(9244),b=h(16074),E=h(48966),v=h(36157),I=h(69808),N=h(98380),A=h(84847),q=h(47423),j=h(51062),G=h(34447);function Q(Te,Oe){1&Te&&(e.TgZ(0,"perun-web-apps-alert"),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.Oqu(e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NOT_SUPPORTED"))))}function he(Te,Oe){1&Te&&(e.TgZ(0,"th",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.NAMESPACE"))," "))}function F(Te,Oe){if(1&Te&&(e.TgZ(0,"td",17),e._uU(1),e.qZA()),2&Te){const Se=Oe.$implicit;e.xp6(1),e.Oqu(Se.friendlyNameParameter)}}function be(Te,Oe){1&Te&&(e.TgZ(0,"th",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA()),2&Te&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.LOGIN"))," "))}function pe(Te,Oe){if(1&Te&&(e.TgZ(0,"td",18),e._uU(1),e.qZA()),2&Te){const Se=Oe.$implicit;e.xp6(1),e.Oqu(Se.value)}}function ye(Te,Oe){1&Te&&e._UZ(0,"th",16)}function T(Te,Oe){if(1&Te){const Se=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",20),e.NdJ("click",function(){const Le=e.CHM(Se).$implicit;return e.oxw().resetPassword(Le.friendlyNameParameter)}),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"customTranslate"),e.qZA(),e.qZA()}if(2&Te){const Se=Oe.$implicit,We=e.oxw();e.xp6(1),e.Q6J("disabled",!We.logins.includes(Se)),e.xp6(1),e.hij(" ",e.lcZ(3,2,e.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.RESET_PASSWORD"))," ")}}function R(Te,Oe){1&Te&&e._UZ(0,"th",16)}function L(Te,Oe){if(1&Te){const Se=e.EpF();e.TgZ(0,"td",19),e.TgZ(1,"button",21),e.NdJ("click",function(){const Le=e.CHM(Se).$implicit;return e.oxw().changePassword(Le)}),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"customTranslate"),e.qZA(),e.qZA()}if(2&Te){const Se=Oe.$implicit,We=e.oxw();e.xp6(1),e.Q6J("disabled",!We.logins.includes(Se)),e.xp6(1),e.hij(" ",e.lcZ(3,2,e.lcZ(4,4,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.CHANGE_PASSWORD"))," ")}}function X(Te,Oe){1&Te&&e._UZ(0,"tr",22)}function Y(Te,Oe){1&Te&&e._UZ(0,"tr",23)}let se=(()=>{class Te{constructor(Se,We,ge,Le,ue,Me,z){this.attributesManagerService=Se,this.store=We,this.dialog=ge,this.route=Le,this.router=ue,this.otherApplicationService=Me,this.entityStorageService=z,this.authenticationPage=!1,this.filteredNamespaces=new e.vpe,this.logins=[],this.nameSpaces=[]}ngOnInit(){this.userId=this.authenticationPage?this.entityStorageService.getEntity().id:this.store.getPerunPrincipal().userId,this.displayedColumns=this.authenticationPage?["namespace","value","change"]:["namespace","value","reset","change"],this.nameSpaces=this.store.get("password_namespace_attributes").map(Se=>{const We=Se.split(":");return We[We.length-1]}),this.refreshTable()}refreshTable(){this.attributesManagerService.getLogins(this.userId).subscribe(Se=>{if(this.logins=Se.filter(We=>this.nameSpaces.includes(We.friendlyNameParameter)),this.filteredNamespaces.emit(Se.map(We=>We.friendlyNameParameter)),this.dataSource=new w.by(Se),!this.authenticationPage){const ge=this.route.snapshot.queryParamMap.get("namespace");if(ge){const Le=this.logins.find(ue=>ue.friendlyNameParameter===ge);Le&&this.changePassword(Le)}}})}resetPassword(Se){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",Se),"_blank")}changePassword(Se){this.authenticationPage||this.router.navigate([],{queryParams:{namespace:Se.friendlyNameParameter},queryParamsHandling:"merge"});const We=(0,_.kZ)();We.width="600px",We.data={login:String(Se.value),namespace:Se.friendlyName.split(":")[1]},this.dialog.open(b.xF,We).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return Te.\u0275fac=function(Se){return new(Se||Te)(e.Y36(c.H8),e.Y36(g.d6),e.Y36(E.uw),e.Y36(v.gz),e.Y36(v.F0),e.Y36(g.jq),e.Y36(g.fb))},Te.\u0275cmp=e.Xpm({type:Te,selectors:[["perun-web-apps-password-reset"]],inputs:{authenticationPage:"authenticationPage"},outputs:{filteredNamespaces:"filteredNamespaces"},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(Se,We){1&Se&&(e.TgZ(0,"h1",0),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"customTranslate"),e.qZA(),e.YNc(4,Q,4,5,"perun-web-apps-alert",1),e.TgZ(5,"div",2),e.TgZ(6,"div",3),e.TgZ(7,"div",4),e.TgZ(8,"table",5),e.ynx(9,6),e.YNc(10,he,4,5,"th",7),e.YNc(11,F,2,1,"td",8),e.BQk(),e.ynx(12,9),e.YNc(13,be,4,5,"th",7),e.YNc(14,pe,2,1,"td",10),e.BQk(),e.ynx(15,11),e.YNc(16,ye,1,0,"th",7),e.YNc(17,T,5,6,"td",12),e.BQk(),e.ynx(18,13),e.YNc(19,R,1,0,"th",7),e.YNc(20,L,5,6,"td",12),e.BQk(),e.YNc(21,X,1,0,"tr",14),e.YNc(22,Y,1,0,"tr",15),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&Se&&(e.xp6(1),e.hij(" ",We.authenticationPage?"":e.lcZ(2,5,e.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_RESET.TITLE")),"\n"),e.xp6(3),e.Q6J("ngIf",!We.logins.length&&!We.authenticationPage),e.xp6(4),e.Q6J("dataSource",We.dataSource),e.xp6(13),e.Q6J("matHeaderRowDef",We.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",We.displayedColumns))},directives:[I.O5,N.w,w.BZ,A.YE,w.w1,w.fO,w.ge,w.Dz,w.ev,q.lW,w.as,w.XQ,w.nj,w.Gk],pipes:[j.X$,G.a],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),Te})()},41619:(qe,me,h)=>{"use strict";h.d(me,{$:()=>ue});var e=h(32080),c=h(32105),g=h(5e3),w=h(48966),_=h(51062),b=h(67322),E=h(98833),v=h(93075),I=h(69808),N=h(47423);function A(Me,z){1&Me&&(g.TgZ(0,"mat-error"),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&Me&&(g.xp6(1),g.Oqu(g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let q=(()=>{class Me{constructor(P,de,Ce,Pe,ce){this.dialogRef=P,this.translate=de,this.notificator=Ce,this.rtMessages=Pe,this.storeService=ce,this.message="",this.subject="",this.instanceName=""}ngOnInit(){this.instanceName=this.storeService.get("config")}sendBugReport(){this.rtMessages.sentMessageToRTWithQueue("perun",this.subject,this.getFullEmailBody()).subscribe(P=>{this.dialogRef.afterClosed().subscribe(()=>this.notificator.showSuccess(this.translate.instant("DIALOGS.REPORT_ISSUE.SUCCESS")+String(P.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",h(4147).i8)}close(){this.dialogRef.close()}}return Me.\u0275fac=function(P){return new(P||Me)(g.Y36(w.so),g.Y36(_.sK),g.Y36(e.V6),g.Y36(c.Hr),g.Y36(e.d6))},Me.\u0275cmp=g.Xpm({type:Me,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(P,de){if(1&P&&(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(Pe){return de.subject=Pe}),g.qZA(),g.YNc(10,A,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(Pe){return de.message=Pe}),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 de.close()}),g._uU(24),g.ALo(25,"translate"),g.qZA(),g.TgZ(26,"button",9),g.NdJ("click",function(){return de.sendBugReport()}),g._uU(27),g.ALo(28,"translate"),g.qZA(),g.qZA(),g.qZA()),2&P){const Ce=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",de.subject),g.xp6(2),g.Q6J("ngIf",Ce.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",de.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",Ce.invalid),g.xp6(1),g.hij(" ",g.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[w.uh,w.xY,b.KE,b.hX,E.Nt,v.Fj,v.Q7,v.JJ,v.On,I.O5,b.TO,b.bx,w.H8,N.lW],pipes:[_.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Me})();var j=h(9244);let G=(()=>{class Me{transform(P,de,Ce){return P[`${Ce}_${de}`]}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"localisedText",type:Me,pure:!0}),Me})(),Q=(()=>{class Me{transform(P,de){return P["link_"+de]||P.link_en}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"localisedLink",type:Me,pure:!0}),Me})(),he=(()=>{class Me{transform(P){return P.includes("/")?P:"/assets/config/"+P}}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275pipe=g.Yjl({name:"footerLogoPath",type:Me,pure:!0}),Me})();function F(Me,z){if(1&Me&&(g.TgZ(0,"a",13),g.ALo(1,"localisedLink"),g._UZ(2,"img",14),g.ALo(3,"footerLogoPath"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("href",g.xi3(1,2,P,de.language),g.LSH),g.xp6(2),g.s9C("src",g.lcZ(3,5,P.logo),g.LSH)}}function be(Me,z){if(1&Me&&(g.TgZ(0,"span"),g._UZ(1,"img",14),g.ALo(2,"footerLogoPath"),g.qZA()),2&Me){const P=g.oxw().$implicit;g.xp6(1),g.s9C("src",g.lcZ(2,1,P.logo),g.LSH)}}function pe(Me,z){if(1&Me&&(g.TgZ(0,"div"),g.YNc(1,F,4,7,"a",11),g.ALo(2,"localisedLink"),g.YNc(3,be,3,3,"span",12),g.ALo(4,"localisedLink"),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw(3);g.xp6(1),g.Q6J("ngIf",g.xi3(2,2,P,de.language)),g.xp6(2),g.Q6J("ngIf",!g.xi3(4,5,P,de.language))}}const ye=function(Me){return{"min-height":Me}};function T(Me,z){if(1&Me&&(g.TgZ(0,"div",10),g.YNc(1,pe,5,8,"div",5),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw();g.Q6J("ngStyle",g.VKq(2,ye,de.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",P.elements)}}const R=function(Me){return{color:Me}};function L(Me,z){if(1&Me&&(g.TgZ(0,"i",20),g._uU(1),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(2,R,de.linksTextColor)),g.xp6(1),g.hij(" ",P.icon," ")}}function X(Me,z){if(1&Me){const P=g.EpF();g.TgZ(0,"span",21),g.NdJ("click",function(){g.CHM(P);const Ce=g.oxw().$implicit;return g.oxw(3).openDialog(Ce.dialog)}),g._uU(1),g.ALo(2,"localisedText"),g.qZA()}if(2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,R,de.linksTextColor)),g.xp6(1),g.hij("",g.Dn7(2,2,P,de.language,"label")," ")}}function Y(Me,z){if(1&Me&&(g.TgZ(0,"a",22),g.ALo(1,"localisedLink"),g._uU(2),g.ALo(3,"localisedText"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("href",g.xi3(1,3,P,de.language),g.LSH)("ngStyle",g.VKq(10,R,de.linksTextColor)),g.xp6(2),g.Oqu(g.Dn7(3,6,P,de.language,"label"))}}function se(Me,z){if(1&Me&&(g.TgZ(0,"span",10),g._uU(1),g.ALo(2,"localisedText"),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw(3);g.Q6J("ngStyle",g.VKq(6,R,de.linksTextColor)),g.xp6(1),g.Oqu(g.Dn7(2,2,P,de.language,"label"))}}function Te(Me,z){if(1&Me&&(g.TgZ(0,"div",16),g.YNc(1,L,2,4,"i",17),g.YNc(2,X,3,8,"span",18),g.YNc(3,Y,4,12,"a",19),g.ALo(4,"localisedLink"),g.YNc(5,se,3,8,"span",9),g.ALo(6,"localisedLink"),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw(3);g.xp6(1),g.Q6J("ngIf",P.icon),g.xp6(1),g.Q6J("ngIf",P.dialog),g.xp6(1),g.Q6J("ngIf",g.xi3(4,4,P,de.language)&&!P.dialog),g.xp6(2),g.Q6J("ngIf",!g.xi3(6,7,P,de.language)&&!P.dialog)}}const Oe=function(Me){return{height:Me}};function Se(Me,z){if(1&Me&&(g.TgZ(0,"div",10),g.YNc(1,Te,7,10,"div",15),g.qZA()),2&Me){const P=g.oxw().$implicit,de=g.oxw();g.Q6J("ngStyle",g.VKq(2,Oe,de.columnContentHeight+"px")),g.xp6(1),g.Q6J("ngForOf",P.elements)}}function We(Me,z){if(1&Me&&(g.TgZ(0,"div",7),g.TgZ(1,"h6",8),g._uU(2),g.ALo(3,"localisedText"),g.qZA(),g.YNc(4,T,2,4,"div",9),g.YNc(5,Se,2,4,"div",9),g.qZA()),2&Me){const P=z.$implicit,de=g.oxw();g.ekj("my-auto",de.containsLogos),g.xp6(1),g.Q6J("ngStyle",g.VKq(10,R,de.headersTextColor)),g.xp6(1),g.hij(" ",g.Dn7(3,6,P,de.language,"title")," "),g.xp6(2),g.Q6J("ngIf",P.logos),g.xp6(1),g.Q6J("ngIf",P.elements&&!P.logos)}}function ge(Me,z){if(1&Me&&(g.TgZ(0,"span"),g.TgZ(1,"a",6),g._uU(2),g.qZA(),g.qZA()),2&Me){const P=z.$implicit,de=z.index,Ce=g.oxw();g.xp6(1),g.Q6J("href",P.url,g.LSH)("ngStyle",g.VKq(3,R,Ce.copyrightTextColor)),g.xp6(1),g.Oqu(de?", "+P.name:P.name)}}const Le=function(Me){return{background:Me}};let ue=(()=>{class Me{constructor(P,de,Ce){this.storeService=P,this.translateService=de,this.dialog=Ce,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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(P=>{this.language=P.lang}),this.version=h(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const P of this.footerColumns)P.logos?this.containsLogos=!0:25*P.elements.length>this.columnContentHeight&&(this.columnContentHeight=25*P.elements.length);this.copyrightItems=this.storeService.get("footer","copyright_items")}openDialog(P){const de=(0,j.kZ)();"reportIssue"===P&&(de.width="550px",this.dialog.open(q,de))}}return Me.\u0275fac=function(P){return new(P||Me)(g.Y36(e.d6),g.Y36(_.sK),g.Y36(w.uw))},Me.\u0275cmp=g.Xpm({type:Me,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(P,de){1&P&&(g.TgZ(0,"footer",0),g.TgZ(1,"div",1),g.YNc(2,We,6,12,"div",2),g.qZA(),g._UZ(3,"hr",3),g.TgZ(4,"div",4),g._uU(5),g.YNc(6,ge,3,5,"span",5),g._uU(7," Version "),g.TgZ(8,"a",6),g._uU(9),g.qZA(),g.qZA(),g.qZA()),2&P&&(g.Q6J("ngStyle",g.VKq(8,Le,de.bgColor)),g.xp6(2),g.Q6J("ngForOf",de.footerColumns),g.xp6(2),g.Q6J("ngStyle",g.VKq(10,R,de.copyrightTextColor)),g.xp6(1),g.hij(" \xa9 ",de.currentYear," Copyright: "),g.xp6(1),g.Q6J("ngForOf",de.copyrightItems),g.xp6(2),g.Q6J("href",de.githubRepository,g.LSH)("ngStyle",g.VKq(12,R,de.copyrightTextColor)),g.xp6(1),g.Oqu(de.version))},directives:[I.PC,I.sg,I.O5],pipes:[G,Q,he],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}"]}),Me})()},10441:(qe,me,h)=>{"use strict";h.d(me,{W:()=>E});var e=h(5e3),c=h(69808),g=h(25245),w=h(29772),_=h(51062);function b(v,I){1&v&&(e.TgZ(0,"mat-icon",1),e.ALo(1,"translate"),e._uU(2," visibility\n"),e.qZA()),2&v&&e.s9C("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RECENTLY_VIEWED_ICON.RECENT"))}let E=(()=>{class v{constructor(){this.recentIds=[]}}return v.\u0275fac=function(N){return new(N||v)},v.\u0275cmp=e.Xpm({type:v,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(N,A){1&N&&e.YNc(0,b,3,3,"mat-icon",0),2&N&&e.Q6J("ngIf",A.recentIds.indexOf(A.id)>-1)},directives:[c.O5,g.Hw,w.gM],pipes:[_.X$],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),v})()},96214:(qe,me,h)=>{"use strict";h.d(me,{t:()=>b});var e=h(5e3),c=h(47423),g=h(29772),w=h(25245),_=h(51062);let b=(()=>{class E{constructor(){this.refresh=new e.vpe}onClickbutton(I){this.refresh.emit(I)}}return E.\u0275fac=function(I){return new(I||E)},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"button",0),e.NdJ("click",function(q){return N.onClickbutton(q)}),e.ALo(1,"translate"),e._UZ(2,"mat-icon",1),e.qZA()),2&I&&(e.s9C("matTooltip",e.lcZ(1,3,"SHARED_LIB.PERUN.REFRESH_BUTTON")),e.Q6J("disabled",N.disabled),e.xp6(2),e.s9C("svgIcon",N.disabled?"perun-refresh-disabled":"perun-refresh-enabled"))},directives:[c.lW,g.gM,w.Hw],pipes:[_.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}"]}),E})()},45703:(qe,me,h)=>{"use strict";h.d(me,{L:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.resource=null,this.displayStatus=!0,this.resourceSelected=new e.vpe,this.nameFunction=v=>v.name,this.secondaryFunction=()=>null}ngOnInit(){this.resources=this.resources.sort(c.aC)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-resource-search-select"]],inputs:{resource:"resource",resources:"resources",displayStatus:"displayStatus"},outputs:{resourceSelected:"resourceSelected"},decls:4,vars:15,consts:[[3,"entity","entities","displayStatus","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.resourceSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entity",I.resource)("entities",I.resources)("displayStatus",I.displayStatus)("searchFunction",I.nameFunction)("mainTextFunction",I.nameFunction)("secondaryTextFunction",I.secondaryFunction)("selectPlaceholder",e.lcZ(1,9,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.SELECT_RESOURCE"))("findPlaceholder",e.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.FIND_RESOURCE"))("noEntriesText",e.lcZ(3,13,"SHARED_LIB.PERUN.COMPONENTS.RESOURCE_SEARCH_SELECT.NO_RESOURCE_FOUND"))},directives:[g.i],pipes:[w.X$],styles:[""]}),b})()},62109:(qe,me,h)=>{"use strict";h.d(me,{C:()=>Ae});var e=h(5e3),c=h(84847),g=h(32075),w=h(20449),_=h(9244),b=h(32080),E=h(18750),v=h(77446),I=h(29772),N=h(10441),A=h(69808),q=h(25245),j=h(8223),G=h(50301),Q=h(36157),he=h(98380),F=h(51062);let be=(()=>{class ee{transform(V){if(null==V)return null;let D="";return V.forEach(function(O){D=D.concat(O.tagName)}),D}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275pipe=e.Yjl({name:"resourceTagsToString",type:ee,pure:!0}),ee})();var pe=h(82895);function ye(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"th",24),e.TgZ(1,"mat-checkbox",25),e.NdJ("change",function(D){e.CHM(V);const O=e.oxw();return D?O.masterToggle():null}),e.qZA(),e.qZA()}if(2&ee){const V=e.oxw();e.xp6(1),e.Q6J("aria-label",V.checkboxLabel())("checked",V.selection.hasValue()&&V.isAllSelected())("indeterminate",V.selection.hasValue()&&!V.isAllSelected())}}function T(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"td",26),e.TgZ(1,"span",27),e.ALo(2,"translate"),e.TgZ(3,"mat-checkbox",28),e.NdJ("change",function(D){const i=e.CHM(V).$implicit,o=e.oxw();return D?o.itemSelectionToggle(i):null})("click",function(D){return D.stopPropagation()}),e.qZA(),e.qZA(),e.qZA()}if(2&ee){const V=Ne.$implicit,H=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",!H.disableSelect(V)),e.xp6(2),e.Q2q("data-cy","",V.name,"-checkbox"),e.Q6J("aria-label",H.checkboxLabel(V))("checked",H.selection.isSelected(V))("disabled",H.disableSelect(V))}}function R(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_ID")," "))}function L(ee,Ne){if(1&ee&&(e.TgZ(0,"td",30),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.id)}}function X(ee,Ne){1&ee&&e._UZ(0,"th",31)}function Y(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._UZ(1,"perun-web-apps-recently-viewed-icon",33),e.qZA()),2&ee){const V=Ne.$implicit,H=e.oxw();e.xp6(1),e.Q6J("recentIds",H.recentIds)("id",V.id)}}function se(ee,Ne){1&ee&&e._UZ(0,"th",31)}function Te(ee,Ne){1&ee&&(e.TgZ(0,"mat-icon",35),e.ALo(1,"translate"),e._uU(2,"account_tree"),e.qZA()),2&ee&&e.Q6J("matTooltip",e.lcZ(1,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.INDIRECT_RESOURCE"))}function Oe(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e.YNc(1,Te,3,3,"mat-icon",34),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Q6J("ngIf",V.sourceGroupId)}}function Se(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_NAME")," "))}function We(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.uIk("data-cy",V.name),e.xp6(1),e.hij(" ",V.name," ")}}function ge(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_NAME")," "))}function Le(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.vo.name)}}function ue(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_VO_ID")," "))}function Me(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.voId)}}function z(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_GROUP_RESOURCE_STATUS")," "))}function P(ee,Ne){if(1&ee){const V=e.EpF();e.TgZ(0,"td",32),e.TgZ(1,"perun-web-apps-group-resource-status",36),e.NdJ("mouseenter",function(){return e.CHM(V),e.oxw().disabledRouting=!0})("mouseleave",function(){e.CHM(V);const D=e.oxw();return D.disabledRouting=D.disableRouting})("statusChange",function(){return e.CHM(V),e.oxw().refreshTable.emit()}),e.qZA(),e.qZA()}if(2&ee){const V=Ne.$implicit,H=e.oxw();e.xp6(1),e.Q6J("theme","group-theme")("resourceId",V.id)("groupId",H.groupId)("failureCause",V.failureCause)("status",V.status)}}function de(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_NAME")," "))}function Ce(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.facility.name)}}function Pe(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_FACILITY_ID")," "))}function ce(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.facilityId)}}function fe(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_TAGS")," "))}function Ze(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.ALo(2,"resourceTagsToString"),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,V.resourceTags)," ")}}function ne(ee,Ne){1&ee&&(e.TgZ(0,"th",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.TABLE_RESOURCE_DESCRIPTION")," "))}function it(ee,Ne){if(1&ee&&(e.TgZ(0,"td",32),e._uU(1),e.qZA()),2&ee){const V=Ne.$implicit;e.xp6(1),e.Oqu(V.description)}}function Be(ee,Ne){1&ee&&e._UZ(0,"tr",37)}const ze=function(ee){return[ee]};function Ue(ee,Ne){if(1&ee&&(e._UZ(0,"tr",38),e.ALo(1,"getResourceRoute"),e.ALo(2,"getResourceRoute")),2&ee){const V=Ne.$implicit,H=e.oxw();e.ekj("cursor-pointer",!H.disableRouting)("disable-outline",H.disabledRouting),e.Q6J("perunWebAppsMiddleClickRouterLink",e.VKq(12,ze,H.disabledRouting?null:e.xi3(1,6,V,H.routingVo)))("routerLink",H.disabledRouting?null:e.xi3(2,9,V,H.routingVo))}}function _e(ee,Ne){1&ee&&(e.TgZ(0,"perun-web-apps-alert",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ae(ee,Ne){1&ee&&(e.TgZ(0,"perun-web-apps-alert",39),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&ee&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.RESOURCES_LIST.NO_RESOURCES_WARNING"),"\n"))}let Ae=(()=>{class ee{constructor(V,H){this.guiAuthResolver=V,this.tableCheckbox=H,this.resources=[],this.selection=new w.Ov(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","voId","status","facility","facilityId","tags","description"],this.pageSizeOptions=_.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.getDataForColumnFun=(D,O)=>ee.getDataForColumn(D,O,this.recentIds),this.canBeSelected=D=>!this.disableSelect(D)}set matSort(V){this.sort=V}static getDataForColumn(V,H,D){switch(H){case"id":return V.id.toString();case"vo":return V.vo.name;case"name":return V.name;case"facility":return V.facility.name;case"description":return V.description;case"recent":return D&&D.includes(V.id)?"#".repeat(D.indexOf(V.id)):V.name;case"tags":{if(!V.resourceTags)return V[H];let i="";return V.resourceTags.forEach(function(o){i=i.concat(o.tagName)}),i}case"status":return V.status;case"uuid":return V.uuid;default:return V[H]}}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(V=>"id"!==V)),this.setDataSource(),this.setAuth()}exportData(V){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),V)}setDataSource(){this.dataSource||(this.dataSource=new g.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(V,H)=>(0,_.Sd)(V,H,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(V,H)=>(0,_.pR)(V,H,this.getDataForColumnFun)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.resources}isAllSelected(){const V=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(V),V}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(V){return V?`${this.selection.isSelected(V)?"deselect":"select"} row ${V.id+1}`:(this.isAllSelected()?"select":"deselect")+" all"}setAuth(){const V=this.groupToResource?[this.groupToResource]:[];this.removeAuth=this.selection.selected.reduce((H,D)=>H&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",V.concat([D])),!0),this.addAuth=this.selection.selected.reduce((H,D)=>H&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",V.concat([D])),!0)}itemSelectionToggle(V){this.selection.toggle(V),this.setAuth()}disableSelect(V){return this.resourcesToDisableCheckbox.has(V.id)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(b.x4),e.Y36(b.UA))},ee.\u0275cmp=e.Xpm({type:ee,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(V,H){if(1&V&&(e.Gf(_.l9,7),e.Gf(c.YE,7)),2&V){let D;e.iGM(D=e.CRH())&&(H.child=D.first),e.iGM(D=e.CRH())&&(H.matSort=D.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:43,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","voId"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","facilityId"],["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(V,H){1&V&&(e.TgZ(0,"div",0),e.TgZ(1,"perun-web-apps-table-wrapper",1),e.NdJ("exportData",function(O){return H.exportData(O)}),e.TgZ(2,"table",2),e.ynx(3,3),e.YNc(4,ye,2,3,"th",4),e.YNc(5,T,4,9,"td",5),e.BQk(),e.ynx(6,6),e.YNc(7,R,3,3,"th",7),e.YNc(8,L,2,1,"td",8),e.BQk(),e.ynx(9,9),e.YNc(10,X,1,0,"th",10),e.YNc(11,Y,2,2,"td",11),e.BQk(),e.ynx(12,12),e.YNc(13,se,1,0,"th",10),e.YNc(14,Oe,2,1,"td",11),e.BQk(),e.ynx(15,13),e.YNc(16,Se,3,3,"th",7),e.YNc(17,We,2,2,"td",11),e.BQk(),e.ynx(18,14),e.YNc(19,ge,3,3,"th",7),e.YNc(20,Le,2,1,"td",11),e.BQk(),e.ynx(21,15),e.YNc(22,ue,3,3,"th",7),e.YNc(23,Me,2,1,"td",11),e.BQk(),e.ynx(24,16),e.YNc(25,z,3,3,"th",7),e.YNc(26,P,2,5,"td",11),e.BQk(),e.ynx(27,17),e.YNc(28,de,3,3,"th",7),e.YNc(29,Ce,2,1,"td",11),e.BQk(),e.ynx(30,18),e.YNc(31,Pe,3,3,"th",7),e.YNc(32,ce,2,1,"td",11),e.BQk(),e.ynx(33,19),e.YNc(34,fe,3,3,"th",7),e.YNc(35,Ze,3,3,"td",11),e.BQk(),e.ynx(36,20),e.YNc(37,ne,3,3,"th",7),e.YNc(38,it,2,1,"td",11),e.BQk(),e.YNc(39,Be,1,0,"tr",21),e.YNc(40,Ue,3,14,"tr",22),e.qZA(),e.qZA(),e.qZA(),e.YNc(41,_e,3,3,"perun-web-apps-alert",23),e.YNc(42,ae,3,3,"perun-web-apps-alert",23)),2&V&&(e.Q6J("hidden",0===H.dataSource.filteredData.length||0===H.resources.length),e.xp6(1),e.Q6J("dataLength",H.dataSource.filteredData.length)("tableId",H.tableId)("pageSizeOptions",H.pageSizeOptions),e.xp6(1),e.Q6J("dataSource",H.dataSource),e.xp6(37),e.Q6J("matHeaderRowDef",H.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",H.displayedColumns),e.xp6(1),e.Q6J("ngIf",0===H.dataSource.filteredData.length&&0!==H.resources.length),e.xp6(1),e.Q6J("ngIf",0===H.resources.length))},directives:[E.l,g.BZ,c.YE,g.w1,g.fO,g.ge,v.oG,g.Dz,g.ev,I.gM,c.nU,N.W,A.O5,q.Hw,j.x,g.as,g.XQ,g.nj,g.Gk,G.YH,Q.rH,he.w],pipes:[F.X$,be,pe.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}"]}),ee})()},52170:(qe,me,h)=>{"use strict";h.d(me,{qG:()=>_,$x:()=>b});var e=h(5e3),c=h(51062),g=h(42377);class w{constructor(v,I){this.value=I,this.displayName=v}}var _=(()=>{return(E=_||(_={}))[E.SOURCE=0]="SOURCE",E[E.DESTINATION=1]="DESTINATION",E[E.FEDERATION=2]="FEDERATION",_;var E})();let b=(()=>{class E{constructor(I){this.translateService=I,this.attributes=[],this.asGroup=!1,this.itemSelected=new e.vpe,this.items=[],this.nameFunction=N=>N.displayName,this.shortNameFunction=()=>null,this.searchFunction=N=>N.displayName}static getDefinition(I){const N=I.namespace.split(":");return null===N[4]?"null":N[4]}ngOnInit(){this.type===_.FEDERATION?(this.getFederationAttributes(),this.getFederationAttribute()):this.createSelectionItems(),this.sortAttributes(this.items)}createSelectionItems(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(I=>{const N=new w(I,"");this.items.push(N),this.item=N});for(const I of this.attributes){const N=new w(I.friendlyName+" ("+I.entity+" / "+E.getDefinition(I)+")",I.namespace+":"+I.friendlyName);N.value===this.selectedAttribute&&(this.item=N),("user"===I.entity.toLowerCase()||"member"===I.entity.toLowerCase()||"vo"===I.entity.toLowerCase()&&this.type===_.SOURCE||"group"===I.entity.toLowerCase()&&this.asGroup&&this.type===_.SOURCE)&&this.items.push(N)}}getFederationAttributes(){this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.NO_SELECTED_ITEM").subscribe(I=>{this.items.push(new w(I,"")),this.translateService.get("DIALOGS.APPLICATION_FORM_EDIT_ITEM.CUSTOM_VALUE").subscribe(N=>{this.items.push(new w(N,"custom")),this.items.push(new w("Display name","displayName")),this.items.push(new w("Common name","cn")),this.items.push(new w("Mail","mail")),this.items.push(new w("Organization","o")),this.items.push(new w("Level of Assurance (LoA)","loa")),this.items.push(new w("First name","givenName")),this.items.push(new w("Surname","sn")),this.items.push(new w("EPPN","eppn")),this.items.push(new w("IdP Category","md_entityCategory")),this.items.push(new w("IdP Affiliation","affiliation")),this.items.push(new w("EduPersonScopedAffiliation","eduPersonScopedAffiliation")),this.items.push(new w("Forwarded Affiliation from Proxy","forwardedScopedAffiliation")),this.items.push(new w("schacHomeOrganization","schacHomeOrganization")),this.items.push(new w("Login","uid")),this.items.push(new w("Alternative login name","alternativeLoginName"))})})}getFederationAttribute(){for(const I of this.items)if(I.value===this.selectedAttribute)return void(this.item=I);this.item=this.items[1],this.item.value=this.selectedAttribute}sortAttributes(I){I.sort((N,A)=>""===N.value?-1:""===A.value?1:N.displayName.localeCompare(A.displayName))}}return E.\u0275fac=function(I){return new(I||E)(e.Y36(c.sK))},E.\u0275cmp=e.Xpm({type:E,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(I,N){1&I&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(q){return N.itemSelected.emit(q)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&I&&e.Q6J("entities",N.items)("entity",N.item)("searchFunction",N.searchFunction)("mainTextFunction",N.nameFunction)("secondaryTextFunction",N.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:[c.X$],styles:[""]}),E})()},30540:(qe,me,h)=>{"use strict";h.d(me,{J:()=>w});var e=h(5e3),c=h(42377),g=h(51062);let w=(()=>{class _{constructor(){this.service=null,this.multiple=!1,this.disableAutoSelect=!1,this.theme="",this.serviceSelected=new e.vpe,this.nameFunction=E=>E.name,this.secondaryFunction=()=>"",this.searchFunction=E=>E.name}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["perun-web-apps-service-search-select"]],inputs:{service:"service",services:"services",multiple:"multiple",disableAutoSelect:"disableAutoSelect",theme:"theme"},outputs:{serviceSelected:"serviceSelected"},decls:4,vars:17,consts:[[3,"entity","entities","multiple","disableAutoSelect","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","theme","entitySelected"]],template:function(E,v){1&E&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(N){return v.serviceSelected.emit(N)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&E&&e.Q6J("entity",v.service)("entities",v.services)("multiple",v.multiple)("disableAutoSelect",v.disableAutoSelect)("searchFunction",v.searchFunction)("mainTextFunction",v.nameFunction)("secondaryTextFunction",v.secondaryFunction)("selectPlaceholder",e.lcZ(1,11,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.SELECT_SERVICE"))("findPlaceholder",e.lcZ(2,13,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.FIND_SERVICE"))("noEntriesText",e.lcZ(3,15,"SHARED_LIB.PERUN.COMPONENTS.SERVICE_SEARCH_SELECT.NO_SERVICE_FOUND"))("theme",v.theme)},directives:[c.i],pipes:[g.X$],styles:[""]}),_})()},80275:(qe,me,h)=>{"use strict";h.d(me,{j:()=>Me});var e=h(20449),c=h(84847),g=h(32075),w=h(32080),_=h(9244),b=h(5e3),E=h(36157),v=h(18750),I=h(29772),N=h(77446),A=h(50301),q=h(69808),j=h(98380),G=h(51062),Q=h(34447);let he=(()=>{class z{transform(de){var Ce;const Pe=de.find(ce=>"mail"===ce.friendlyName);return null!==(Ce=null==Pe?void 0:Pe.value)&&void 0!==Ce?Ce:"N/A"}}return z.\u0275fac=function(de){return new(de||z)},z.\u0275pipe=b.Yjl({name:"getMailFromAttributes",type:z,pure:!0}),z})();function F(z,P){1&z&&b._UZ(0,"th",18)}function be(z,P){if(1&z){const de=b.EpF();b.TgZ(0,"td",19),b.TgZ(1,"span",20),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.TgZ(4,"mat-checkbox",21),b.NdJ("change",function(Pe){const fe=b.CHM(de).$implicit,Ze=b.oxw();return Pe?Ze.selection.toggle(fe):null})("click",function(Pe){return Pe.stopPropagation()}),b.qZA(),b.qZA(),b.qZA()}if(2&z){const de=P.$implicit,Ce=b.oxw();b.xp6(1),b.s9C("matTooltip",b.lcZ(2,6,b.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.CANNOT_BE_DELETED_TOOLTIP"))),b.Q6J("matTooltipPosition","above")("matTooltipDisabled",!de.userExtSource.persistent),b.xp6(3),b.Q6J("aria-label",Ce.checkboxLabel(de))("checked",Ce.selection.isSelected(de))("disabled",de.userExtSource.persistent)}}function pe(z,P){1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.ID"))," "))}function ye(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.id," ")}}function T(z,P){1&z&&(b.TgZ(0,"th",24),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.MAIL"))," "))}function R(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.ALo(2,"getMailFromAttributes"),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",b.lcZ(2,1,de.attributes)," ")}}function L(z,P){if(1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z){const de=b.oxw();b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,de.extSourceNameHeader?de.extSourceNameHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.EXT_SOURCE_NAME"))," ")}}function X(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.extSource.name," ")}}function Y(z,P){if(1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z){const de=b.oxw();b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,de.loginHeader?de.loginHeader:"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LOGIN"))," ")}}function se(z,P){if(1&z&&(b.TgZ(0,"td",23),b._uU(1),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",de.userExtSource.login," ")}}function Te(z,P){1&z&&(b.TgZ(0,"th",22),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.LAST_ACCESS"))," "))}function Oe(z,P){if(1&z&&(b.TgZ(0,"td",25),b._uU(1),b.ALo(2,"date"),b.qZA()),2&z){const de=P.$implicit;b.xp6(1),b.hij(" ",b.xi3(2,1,de.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function Se(z,P){1&z&&b._UZ(0,"tr",26)}const We=function(z,P){return["/admin","users",z,"identities",P]};function ge(z,P){if(1&z&&b._UZ(0,"tr",27),2&z){const de=P.$implicit,Ce=b.oxw();b.ekj("cursor-pointer",!Ce.disableRouting)("disable-outline",Ce.disableRouting),b.Q6J("perunWebAppsMiddleClickRouterLink",Ce.disableRouting?null:b.WLB(6,We,Ce.userId,de.userExtSource.id))("routerLink",Ce.disableRouting?null:b.WLB(9,We,Ce.userId,de.userExtSource.id))}}function Le(z,P){1&z&&(b.TgZ(0,"perun-web-apps-alert",28),b._uU(1),b.ALo(2,"translate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ue(z,P){1&z&&(b.TgZ(0,"perun-web-apps-alert",28),b._uU(1),b.ALo(2,"translate"),b.ALo(3,"customTranslate"),b.qZA()),2&z&&(b.xp6(1),b.hij(" ",b.lcZ(2,1,b.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.USER_EXT_SOURCES_LIST.NO_IDENTITIES")),"\n"))}let Me=(()=>{class z{constructor(de,Ce){this.route=de,this.authResolver=Ce,this.selection=new e.Ov,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=_.f7}set matSort(de){this.sort=de,this.setDataSource()}static getDataForColumn(de,Ce){switch(Ce){case"id":return de.userExtSource.id.toString();case"mail":{const Pe=de.attributes.find(ce=>"mail"===ce.friendlyName);return Pe?Pe.value:"N/A"}case"extSourceName":return de.userExtSource.extSource.name;case"login":return de.userExtSource.login;case"lastAccess":return de.userExtSource.lastAccess.split(".")[0];default:return de[Ce]}}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(de=>{this.userId=Number(de.userId)}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(de=>"id"!==de)),this.dataSource=new g.by(this.userExtSources),this.setDataSource()}exportData(de){(0,_.O6)((0,_.Xn)(this.dataSource.filteredData,this.displayedColumns,z.getDataForColumn),de)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(de,Ce)=>(0,_.Sd)(de,Ce,this.displayedColumns,z.getDataForColumn),this.dataSource.sortData=(de,Ce)=>(0,_.pR)(de,Ce,z.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}checkboxLabel(de){return`${this.selection.isSelected(de.userExtSource)?"deselect":"select"} row ${de.userExtSource.id+1}`}}return z.\u0275fac=function(de){return new(de||z)(b.Y36(E.gz),b.Y36(w.x4))},z.\u0275cmp=b.Xpm({type:z,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(de,Ce){if(1&de&&(b.Gf(_.l9,7),b.Gf(c.YE,7)),2&de){let Pe;b.iGM(Pe=b.CRH())&&(Ce.child=Pe.first),b.iGM(Pe=b.CRH())&&(Ce.matSort=Pe.first)}},inputs:{userExtSources:"userExtSources",selection:"selection",filterValue:"filterValue",displayedColumns:"displayedColumns",tableId:"tableId",extSourceNameHeader:"extSourceNameHeader",loginHeader:"loginHeader",disableRouting:"disableRouting"},features:[b.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(de,Ce){1&de&&(b.TgZ(0,"div",0),b.TgZ(1,"perun-web-apps-table-wrapper",1),b.NdJ("exportData",function(ce){return Ce.exportData(ce)}),b.TgZ(2,"table",2),b.ynx(3,3),b.YNc(4,F,1,0,"th",4),b.YNc(5,be,5,10,"td",5),b.BQk(),b.ynx(6,6),b.YNc(7,pe,4,5,"th",7),b.YNc(8,ye,2,1,"td",8),b.BQk(),b.ynx(9,9),b.YNc(10,T,4,5,"th",10),b.YNc(11,R,3,3,"td",8),b.BQk(),b.ynx(12,11),b.YNc(13,L,4,5,"th",7),b.YNc(14,X,2,1,"td",8),b.BQk(),b.ynx(15,12),b.YNc(16,Y,4,5,"th",7),b.YNc(17,se,2,1,"td",8),b.BQk(),b.ynx(18,13),b.YNc(19,Te,4,5,"th",7),b.YNc(20,Oe,3,4,"td",14),b.BQk(),b.YNc(21,Se,1,0,"tr",15),b.YNc(22,ge,1,12,"tr",16),b.qZA(),b.qZA(),b.qZA(),b.YNc(23,Le,3,3,"perun-web-apps-alert",17),b.YNc(24,ue,4,5,"perun-web-apps-alert",17)),2&de&&(b.Q6J("hidden",0===Ce.userExtSources.length||0===Ce.dataSource.filteredData.length),b.xp6(1),b.Q6J("tableId",Ce.tableId)("dataLength",Ce.dataSource.filteredData.length)("pageSizeOptions",Ce.pageSizeOptions),b.xp6(1),b.Q6J("dataSource",Ce.dataSource),b.xp6(19),b.Q6J("matHeaderRowDef",Ce.displayedColumns),b.xp6(1),b.Q6J("matRowDefColumns",Ce.displayedColumns),b.xp6(1),b.Q6J("ngIf",0===Ce.dataSource.filteredData.length&&0!==Ce.userExtSources.length),b.xp6(1),b.Q6J("ngIf",0===Ce.userExtSources.length))},directives:[v.l,g.BZ,c.YE,g.w1,g.fO,g.ge,g.Dz,g.ev,I.gM,N.oG,c.nU,g.as,g.XQ,g.nj,g.Gk,A.YH,E.rH,q.O5,j.w],pipes:[G.X$,Q.a,he,q.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}"]}),z})()},74250:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.disableAutoSelect=!1,this.userSelected=new e.vpe,this.userFullNameFunction=c.bD}ngOnInit(){this.users=this.users.sort(c.fx)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,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(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.userSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entities",I.users)("disableAutoSelect",I.disableAutoSelect)("searchFunction",I.userFullNameFunction)("mainTextFunction",I.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:[w.X$],styles:[""]}),b})()},88561:(qe,me,h)=>{"use strict";h.d(me,{M:()=>Be});var e=h(20449),c=h(9244),g=h(84847),w=h(32080),_=h(56451),b=h(18505),E=h(5e3),v=h(10036),I=h(18750),N=h(69808),A=h(20773),q=h(32075),j=h(77446),G=h(25245),Q=h(29772),he=h(50301),F=h(98380),be=h(51062),pe=h(31359),ye=h(9954),T=h(16119),R=h(7598);function L(ze,Ue){1&ze&&(E.TgZ(0,"div",20),E._UZ(1,"mat-spinner",21),E.qZA())}function X(ze,Ue){if(1&ze){const _e=E.EpF();E.TgZ(0,"mat-checkbox",24),E.NdJ("change",function(Ae){E.CHM(_e);const ee=E.oxw(2);return Ae?ee.masterToggle():null}),E.qZA()}if(2&ze){const _e=E.oxw(2);E.Q6J("aria-label",_e.checkboxLabel())("checked",_e.selection.hasValue()&&_e.isAllSelected())("indeterminate",_e.selection.hasValue()&&!_e.isAllSelected())}}function Y(ze,Ue){if(1&ze&&(E.TgZ(0,"th",22),E.YNc(1,X,1,3,"mat-checkbox",23),E.qZA()),2&ze){const _e=E.oxw();E.xp6(1),E.Q6J("ngIf",_e.selection.isMultipleSelection())}}function se(ze,Ue){if(1&ze){const _e=E.EpF();E.TgZ(0,"td",25),E.TgZ(1,"mat-checkbox",26),E.NdJ("change",function(Ae){const Ne=E.CHM(_e).$implicit,V=E.oxw();return Ae?V.selection.toggle(Ne):null})("click",function(Ae){return Ae.stopPropagation()}),E.qZA(),E.qZA()}if(2&ze){const _e=Ue.$implicit,ae=E.oxw();E.xp6(1),E.Q6J("aria-label",ae.checkboxLabel(_e))("checked",ae.selection.isSelected(_e))}}function Te(ze,Ue){1&ze&&E._UZ(0,"th",27)}function Oe(ze,Ue){1&ze&&(E.TgZ(0,"mat-icon",31),E.ALo(1,"translate"),E._uU(2," account_circle "),E.qZA()),2&ze&&E.s9C("matTooltip",E.lcZ(1,1,"MANAGERS_LIST.PERSON"))}function Se(ze,Ue){if(1&ze&&(E._UZ(0,"mat-icon",32),E.ALo(1,"translate")),2&ze){const _e=E.oxw(2);E.s9C("matTooltip",E.lcZ(1,2,"MANAGERS_LIST.SERVICE")),E.Q6J("svgIcon",_e.svgIcon)}}function We(ze,Ue){if(1&ze&&(E.TgZ(0,"td",28),E.YNc(1,Oe,3,3,"mat-icon",29),E.YNc(2,Se,2,4,"mat-icon",30),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Q6J("ngIf",!_e.serviceUser),E.xp6(1),E.Q6J("ngIf",_e.serviceUser)}}function ge(ze,Ue){1&ze&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MANAGERS_LIST.ID")," "))}function Le(ze,Ue){if(1&ze&&(E.TgZ(0,"td",28),E._uU(1),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.hij(" ",_e.id," ")}}function ue(ze,Ue){1&ze&&(E.TgZ(0,"th",33),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.hij(" ",E.lcZ(2,1,"MANAGERS_LIST.NAME")," "))}function Me(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E.ALo(1,"lowercase"),E._uU(2),E.ALo(3,"userFullName"),E.qZA()),2&ze){const _e=Ue.$implicit;E.Q2q("data-cy","",E.lcZ(1,2,_e.firstName),"-td"),E.xp6(2),E.hij(" ",E.lcZ(3,4,_e)," ")}}function z(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.ORGANIZATION")))}function P(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userVo"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function de(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.EMAIL")))}function Ce(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userEmail"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function Pe(ze,Ue){1&ze&&(E.TgZ(0,"th",27),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.xp6(1),E.Oqu(E.lcZ(2,1,"MANAGERS_LIST.LOGINS")))}function ce(ze,Ue){if(1&ze&&(E.TgZ(0,"td",34),E._uU(1),E.ALo(2,"userLogins"),E.qZA()),2&ze){const _e=Ue.$implicit;E.xp6(1),E.Oqu(E.lcZ(2,1,_e))}}function fe(ze,Ue){1&ze&&E._UZ(0,"tr",35)}const Ze=function(ze){return["/admin/users",ze]};function ne(ze,Ue){if(1&ze&&E._UZ(0,"tr",36),2&ze){const _e=Ue.$implicit,ae=E.oxw();E.ekj("cursor-pointer",!ae.disableRouting),E.Q6J("perunWebAppsForceRouterLink",ae.disableRouting?null:E.VKq(4,Ze,_e.id))("perunWebAppsMiddleClickRouterLink",ae.disableRouting?null:E.VKq(6,Ze,_e.id))}}function it(ze,Ue){1&ze&&(E.TgZ(0,"perun-web-apps-alert",37),E._uU(1),E.ALo(2,"translate"),E.qZA()),2&ze&&(E.Q6J("alert_type","warn"),E.xp6(1),E.hij(" ",E.lcZ(2,2,"SHARED_LIB.UI.ALERTS.NO_USERS"),"\n"))}let Be=(()=>{class ze{constructor(_e,ae,Ae,ee){this.authResolver=_e,this.tableCheckbox=ae,this.tableConfigService=Ae,this.dynamicPaginatingService=ee,this.selection=new e.Ov(!0,[]),this.displayedColumns=["select","user","id","name","email","logins","organization"],this.disableRouting=!1,this.searchString="",this.attrNames=[],this.svgIcon="perun-service-identity-black",this.pageSizeOptions=c.f7}static getExportDataForColumn(_e,ae){switch(ae){case"id":return _e.id.toString();case"user":return _e.serviceUser?"service-user":"user";case"name":return _e?(0,c.bD)(_e):"";case"organization":return(0,c.OV)(_e);case"email":return(0,c.kN)(_e);case"logins":return(0,c.lt)(_e);default:return""}}ngAfterViewInit(){this.sort.sortChange.subscribe(()=>this.child.paginator.pageIndex=0),(0,_.T)(this.sort.sortChange,this.child.paginator.page).pipe((0,b.b)(()=>this.loadUsersPage())).subscribe()}ngOnInit(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(_e=>"id"!==_e)),this.dataSource=new w.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(_e=>this.selection.select(_e))}isAllSelected(){return this.selection.selected.length===this.dataSource.getData().length}checkboxLabel(_e){return _e?`${this.selection.isSelected(_e)?"deselect":"select"} row ${_e.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(_e){(0,c.O6)((0,c.Xn)(this.dataSource.getData(),this.displayedColumns,ze.getExportDataForColumn),_e)}}return ze.\u0275fac=function(_e){return new(_e||ze)(E.Y36(w.x4),E.Y36(w.UA),E.Y36(v.dB),E.Y36(w.ly))},ze.\u0275cmp=E.Xpm({type:ze,selectors:[["perun-web-apps-users-dynamic-list"]],viewQuery:function(_e,ae){if(1&_e&&(E.Gf(c.l9,7),E.Gf(g.YE,5)),2&_e){let Ae;E.iGM(Ae=E.CRH())&&(ae.child=Ae.first),E.iGM(Ae=E.CRH())&&(ae.sort=Ae.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:[E.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(_e,ae){1&_e&&(E.TgZ(0,"div",0),E.ALo(1,"async"),E.TgZ(2,"perun-web-apps-table-wrapper",1),E.NdJ("exportData",function(ee){return ae.exportData(ee)}),E.YNc(3,L,2,0,"div",2),E.ALo(4,"async"),E.TgZ(5,"table",3),E.ynx(6,4),E.YNc(7,Y,2,1,"th",5),E.YNc(8,se,2,2,"td",6),E.BQk(),E.ynx(9,7),E.YNc(10,Te,1,0,"th",8),E.YNc(11,We,3,2,"td",9),E.BQk(),E.ynx(12,10),E.YNc(13,ge,3,3,"th",11),E.YNc(14,Le,2,1,"td",9),E.BQk(),E.ynx(15,12),E.YNc(16,ue,3,3,"th",11),E.YNc(17,Me,4,6,"td",13),E.BQk(),E.ynx(18,14),E.YNc(19,z,3,3,"th",8),E.YNc(20,P,3,3,"td",13),E.BQk(),E.ynx(21,15),E.YNc(22,de,3,3,"th",8),E.YNc(23,Ce,3,3,"td",13),E.BQk(),E.ynx(24,16),E.YNc(25,Pe,3,3,"th",8),E.YNc(26,ce,3,3,"td",13),E.BQk(),E.YNc(27,fe,1,0,"tr",17),E.YNc(28,ne,1,8,"tr",18),E.qZA(),E.qZA(),E.qZA(),E.YNc(29,it,3,4,"perun-web-apps-alert",19),E.ALo(30,"async")),2&_e&&(E.Q6J("hidden",0===ae.dataSource.allObjectCount&&!1===E.lcZ(1,9,ae.dataSource.loading$)),E.xp6(2),E.Q6J("tableId",ae.tableId)("dataLength",ae.dataSource.allObjectCount)("pageSizeOptions",ae.pageSizeOptions),E.xp6(1),E.Q6J("ngIf",E.lcZ(4,11,ae.dataSource.loading$)),E.xp6(2),E.Q6J("dataSource",ae.dataSource),E.xp6(22),E.Q6J("matHeaderRowDef",ae.displayedColumns),E.xp6(1),E.Q6J("matRowDefColumns",ae.displayedColumns),E.xp6(1),E.Q6J("ngIf",0===ae.dataSource.allObjectCount&&!1===E.lcZ(30,13,ae.dataSource.loading$)))},directives:[I.l,N.O5,A.Ou,q.BZ,g.YE,q.w1,q.fO,q.ge,j.oG,q.Dz,q.ev,G.Hw,Q.gM,g.nU,q.as,q.XQ,q.nj,q.Gk,he.Kd,he.YH,F.w],pipes:[N.Ov,be.X$,N.i8,pe.d,ye.Z,T.S,R.g],styles:[".italic_font[_ngcontent-%COMP%]{font-style:italic}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),ze})()},62707:(qe,me,h)=>{"use strict";h.d(me,{M:()=>_});var e=h(5e3),c=h(9244),g=h(42377),w=h(51062);let _=(()=>{class b{constructor(){this.voSelected=new e.vpe,this.nameFunction=v=>v.name,this.shortNameFunction=v=>v.shortName,this.searchFunction=v=>v.name+v.shortName+String(v.id)}ngOnChanges(){this.vos.sort(c.aC),this.vo||(this.vo=this.vos[0])}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["perun-web-apps-vo-search-select"]],inputs:{vo:"vo",vos:"vos"},outputs:{voSelected:"voSelected"},features:[e.TTD],decls:4,vars:14,consts:[[3,"entity","entities","searchFunction","mainTextFunction","secondaryTextFunction","selectPlaceholder","findPlaceholder","noEntriesText","entitySelected"]],template:function(v,I){1&v&&(e.TgZ(0,"perun-web-apps-entity-search-select",0),e.NdJ("entitySelected",function(A){return I.voSelected.emit(A)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&v&&e.Q6J("entity",I.vo)("entities",I.vos)("searchFunction",I.searchFunction)("mainTextFunction",I.nameFunction)("secondaryTextFunction",I.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:[g.i],pipes:[w.X$],styles:[""]}),b})()},87831:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>Le});var e=h(84847),c=h(32075),g=h(9244),w=h(32080),_=h(5e3),b=h(18750),E=h(77446),v=h(10441),I=h(69808),N=h(25245),A=h(50301),q=h(98380),j=h(51062);function G(ue,Me){1&ue&&_._UZ(0,"th",19)}function Q(ue,Me){if(1&ue){const z=_.EpF();_.TgZ(0,"td",20),_.TgZ(1,"mat-checkbox",21),_.NdJ("change",function(de){const Pe=_.CHM(z).$implicit,ce=_.oxw();return de?ce.selection.toggle(Pe):null})("click",function(de){return de.stopPropagation()}),_.qZA(),_.qZA()}if(2&ue){const z=Me.$implicit,P=_.oxw();_.xp6(1),_.Q6J("aria-label",P.checkboxLabel(z))("checked",P.selection.isSelected(z))}}function he(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.ID")," "))}function F(ue,Me){if(1&ue&&(_.TgZ(0,"td",23),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P;_.xp6(1),_.Oqu(null!==(P=z.id)&&void 0!==P?P:z.vo.id)}}function be(ue,Me){1&ue&&_._UZ(0,"th",24)}function pe(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._UZ(1,"perun-web-apps-recently-viewed-icon",26),_.qZA()),2&ue){const z=Me.$implicit,P=_.oxw();let de;_.xp6(1),_.Q6J("recentIds",P.recentIds)("id",null!==(de=z.id)&&void 0!==de?de:z.vo.id)}}function ye(ue,Me){1&ue&&_._UZ(0,"th",24)}function T(ue,Me){1&ue&&_._UZ(0,"mat-icon",28),2&ue&&_.Q6J("svgIcon","perun-hierarchical-vo")}function R(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_.YNc(1,T,1,1,"mat-icon",27),_.qZA()),2&ue){const z=Me.$implicit;_.xp6(1),_.Q6J("ngIf",0!==(null==z||null==z.memberVos?null:z.memberVos.length))}}function L(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.SHORTNAME")," "))}function X(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P,de;_.uIk("data-cy",null!==(P=z.shortName)&&void 0!==P?P:z.vo.shortName),_.xp6(1),_.hij(" ",null!==(de=z.shortName)&&void 0!==de?de:z.vo.shortName," ")}}function Y(ue,Me){1&ue&&(_.TgZ(0,"th",22),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.VOS_LIST.NAME")," "))}function se(ue,Me){if(1&ue&&(_.TgZ(0,"td",25),_._uU(1),_.qZA()),2&ue){const z=Me.$implicit;let P;_.xp6(1),_.Oqu(null!==(P=z.name)&&void 0!==P?P:z.vo.name)}}function Te(ue,Me){1&ue&&_._UZ(0,"tr",29)}const Oe=function(ue){return["/organizations",ue]};function Se(ue,Me){if(1&ue&&_._UZ(0,"tr",30),2&ue){const z=Me.$implicit,P=_.oxw();let de,Ce;_.ekj("disable-outline",P.disableRouting)("cursor-pointer",!P.disableRouting),_.Q6J("perunWebAppsMiddleClickRouterLink",P.disableRouting?null:_.VKq(6,Oe,null!==(de=z.id)&&void 0!==de?de:z.vo.id))("perunWebAppsForceRouterLink",P.disableRouting?null:_.VKq(8,Oe,null!==(Ce=z.id)&&void 0!==Ce?Ce:z.vo.id))}}function We(ue,Me){1&ue&&(_.TgZ(0,"perun-web-apps-alert",31),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_FILTER_RESULTS_ALERT"),"\n"))}function ge(ue,Me){1&ue&&(_.TgZ(0,"perun-web-apps-alert",32),_._uU(1),_.ALo(2,"translate"),_.qZA()),2&ue&&(_.xp6(1),_.hij(" ",_.lcZ(2,1,"SHARED_LIB.UI.ALERTS.NO_ORGANIZATIONS"),"\n"))}let Le=(()=>{class ue{constructor(z){this.authResolver=z,this.vos=[],this.displayedColumns=[],this.disableRouting=!1,this.pageSizeOptions=g.f7,this.getDataForColumnFun=(P,de)=>ue.getDataForColumn(P,de,this.recentIds)}set matSort(z){this.sort=z}static getDataForColumn(z,P,de){switch(ue.isEnrichedVo(z)&&(z=z.vo),P){case"id":return z.id.toString();case"shortName":return z.shortName;case"name":return z.name;case"recent":return de&&de.includes(z.id)?"#".repeat(de.indexOf(z.id)):z.name;default:return z[P]}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(z=>"id"!==z)),this.setDataSource()}exportData(z){(0,g.O6)((0,g.Xn)(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),z)}setDataSource(){this.dataSource||(this.dataSource=new c.by,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(z,P)=>(0,g.Sd)(z,P,this.displayedColumns,this.getDataForColumnFun),this.dataSource.sortData=(z,P)=>(0,g.pR)(z,P,this.getDataForColumnFun)),this.dataSource.filter=this.filterValue,this.dataSource.data=this.vos}checkboxLabel(z){return`${this.selection.isSelected(z)?"deselect":"select"} row ${z.id+1}`}}return ue.isEnrichedVo=Me=>void 0!==Me.vo,ue.\u0275fac=function(z){return new(z||ue)(_.Y36(w.x4))},ue.\u0275cmp=_.Xpm({type:ue,selectors:[["perun-web-apps-vos-list"]],viewQuery:function(z,P){if(1&z&&(_.Gf(g.l9,7),_.Gf(e.YE,7)),2&z){let de;_.iGM(de=_.CRH())&&(P.child=de.first),_.iGM(de=_.CRH())&&(P.matSort=de.first)}},inputs:{vos:"vos",recentIds:"recentIds",filterValue:"filterValue",selection:"selection",displayedColumns:"displayedColumns",disableRouting:"disableRouting",pageSizeOptions:"pageSizeOptions",tableId:"tableId"},features:[_.TTD],decls:25,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","hierarchy"],["matColumnDef","shortName"],["matColumnDef","name"],["mat-header-row","",4,"matHeaderRowDef"],["class","dark-hover-list-item","mat-row","",3,"disable-outline","cursor-pointer","perunWebAppsMiddleClickRouterLink","perunWebAppsForceRouterLink",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"],[3,"svgIcon",4,"ngIf"],[3,"svgIcon"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item",3,"perunWebAppsMiddleClickRouterLink","perunWebAppsForceRouterLink"],["alert_type","warn","data-cy","no-filter-result"],["alert_type","warn"]],template:function(z,P){1&z&&(_.TgZ(0,"div",0),_.TgZ(1,"perun-web-apps-table-wrapper",1),_.NdJ("exportData",function(Ce){return P.exportData(Ce)}),_.TgZ(2,"table",2),_.ynx(3,3),_.YNc(4,G,1,0,"th",4),_.YNc(5,Q,2,2,"td",5),_.BQk(),_.ynx(6,6),_.YNc(7,he,3,3,"th",7),_.YNc(8,F,2,1,"td",8),_.BQk(),_.ynx(9,9),_.YNc(10,be,1,0,"th",10),_.YNc(11,pe,2,2,"td",11),_.BQk(),_.ynx(12,12),_.YNc(13,ye,1,0,"th",10),_.YNc(14,R,2,1,"td",11),_.BQk(),_.ynx(15,13),_.YNc(16,L,3,3,"th",7),_.YNc(17,X,2,2,"td",11),_.BQk(),_.ynx(18,14),_.YNc(19,Y,3,3,"th",7),_.YNc(20,se,2,1,"td",11),_.BQk(),_.YNc(21,Te,1,0,"tr",15),_.YNc(22,Se,1,10,"tr",16),_.qZA(),_.qZA(),_.qZA(),_.YNc(23,We,3,3,"perun-web-apps-alert",17),_.YNc(24,ge,3,3,"perun-web-apps-alert",18)),2&z&&(_.Q6J("hidden",0===P.dataSource.filteredData.length||0===P.vos.length),_.xp6(1),_.Q6J("dataLength",P.dataSource.filteredData.length)("tableId",P.tableId)("pageSizeOptions",P.pageSizeOptions),_.xp6(1),_.Q6J("dataSource",P.dataSource),_.xp6(19),_.Q6J("matHeaderRowDef",P.displayedColumns),_.xp6(1),_.Q6J("matRowDefColumns",P.displayedColumns),_.xp6(1),_.Q6J("ngIf",0===P.dataSource.filteredData.length&&0!==P.vos.length),_.xp6(1),_.Q6J("ngIf",0===P.vos.length))},directives:[b.l,c.BZ,e.YE,c.w1,c.fO,c.ge,c.Dz,c.ev,E.oG,e.nU,v.W,I.O5,N.Hw,c.as,c.XQ,c.nj,c.Gk,A.YH,A.Kd,q.w],pipes:[j.X$],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}"]}),ue})()},16074:(qe,me,h)=>{"use strict";h.d(me,{GI:()=>kt,Wr:()=>Yt,r2:()=>bt,gr:()=>je,u3:()=>si,Qu:()=>Kt,pf:()=>ue,xF:()=>Hi,hd:()=>Wi,kZ:()=>yi,wA:()=>jt,rd:()=>ne,Eg:()=>Ze,Bp:()=>Ae,qD:()=>at,jd:()=>vt,FM:()=>O,jD:()=>R,Lc:()=>r,mk:()=>d,Ts:()=>lt});var e=h(69808),c=h(51062),g=h(32075),w=h(48966),_=h(47423),b=h(67322),E=h(93075),v=h(98833),I=h(20773),N=h(79814),A=h(86856),q=h(69287),j=h(25245),G=h(19516),Q=h(63189),he=h(36157),F=h(90149),be=h(74107),pe=h(28499),ye=h(6397),T=h(5e3);let R=(()=>{class Fe{}return Fe.\u0275fac=function(Je){return new(Je||Fe)},Fe.\u0275mod=T.oAB({type:Fe}),Fe.\u0275inj=T.cJS({imports:[[e.ez,c.aw,g.p0,w.Is,_.ot,b.lN,E.u5,v.c,I.Cq,N.Fk,A.FA,E.UX,q.Iq,j.Ps,G.d4,Q.r,he.Bz,F.dp,be.LD,pe.E3,ye.C]]}),Fe})();var L=h(32105),X=h(32080),Y=h(90508),se=h(20551);function Te(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",6)}function Oe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-option",17),T._uU(1),T.ALo(2,"memberStatus"),T.qZA()),2&Fe){const Je=Bt.$implicit;T.Q6J("value",Je),T.xp6(1),T.Oqu(T.lcZ(2,2,Je))}}function Se(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-form-field",14),T.TgZ(1,"mat-label"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-select",15),T.NdJ("selectionChange",function(Gt){return T.CHM(Je),T.oxw(3).changeStatus(Gt)}),T.YNc(5,Oe,3,4,"mat-option",16),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw(3);T.xp6(2),T.Oqu(T.lcZ(3,2,"DIALOGS.CHANGE_STATUS.SELECT_STATUS")),T.xp6(3),T.Q6J("ngForOf",Je.allStatuses)}}function We(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T._uU(1),T.ALo(2,"translate"),T.YNc(3,Se,6,4,"mat-form-field",13),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," "),T.xp6(2),T.Q6J("ngIf",!Je.loading)}}function ge(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"memberStatus"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.AsE(" ",T.lcZ(2,2,"DIALOGS.CHANGE_STATUS.NEW_STATUS")," ",T.lcZ(3,4,Je.allStatuses[0])," ")}}function Le(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",7),T.TgZ(1,"div",8),T._uU(2),T.ALo(3,"translate"),T.ALo(4,"memberStatus"),T.qZA(),T.TgZ(5,"div",9),T._uU(6),T.qZA(),T.YNc(7,We,4,4,"div",10),T.YNc(8,ge,4,6,"div",10),T.TgZ(9,"div",11),T._UZ(10,"i",12),T.qZA(),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.AsE(" ",T.lcZ(3,6,"DIALOGS.CHANGE_STATUS.CURRENT_STATUS")," ",T.lcZ(4,8,Je.actualStatus)," "),T.xp6(4),T.Oqu(Je.description),T.xp6(1),T.Q6J("ngIf",Je.allStatuses.length>1),T.xp6(1),T.Q6J("ngIf",1===Je.allStatuses.length),T.xp6(2),T.Q6J("innerHTML",Je.changeMessage,T.oJD)}}let ue=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.memberManager=Gt,this.groupsManager=li,this.notificatorService=vi,this.translate=Vi,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(Je=>Je!==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(Je){this.selectedStatus=Je.value,this.submitButtonText=("VALID"===this.actualStatus&&"EXPIRED"===this.selectedStatus||"VALID"===this.actualStatus&&"DISABLED"===this.selectedStatus||"VALID"===this.selectedStatus)&&!this.data.disableChangeExpiration?this.changeStatusWithExpButton:this.changeStatusButton,this.changeStatusMessage(this.actualStatus,this.selectedStatus)}cancel(){this.dialogRef.close()}submit(){this.loading=!0,this.data.groupId?this.groupsManager.setGroupsMemberStatus(this.data.member.id,this.data.groupId,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(wt=>{this.notificatorService.showSuccess(wt),this.dialogRef.close(Je)})},()=>this.loading=!1):this.memberManager.setStatus(this.data.member.id,this.selectedStatus).subscribe(Je=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(wt=>{this.notificatorService.showSuccess(wt),this.dialogRef.close(Je)})},()=>this.loading=!1)}changeStatusMessage(Je,wt){if("VALID"===Je)switch(wt){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(wt){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=""}}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.uq),T.Y36(L.ff),T.Y36(X.V6),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Te,1,0,"mat-spinner",1),T.YNc(5,Le,11,10,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(11),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,"DIALOGS.CHANGE_STATUS.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(9,11,"DIALOGS.CHANGE_STATUS.CANCEL")," "),T.xp6(2),T.Q6J("disabled",wt.loading||!wt.selectedStatus),T.xp6(1),T.hij(" ",wt.submitButtonText," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,b.hX,be.gD,e.sg,Y.ey,w.H8,_.lW],pipes:[c.X$,se.l],styles:[".new-line[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),Fe})();function Me(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_FACILITY")," "))}function z(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_RESOURCE")," "))}function P(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_VO")," "))}function de(Fe,Bt){1&Fe&&(T.TgZ(0,"h1",7),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.EDIT_GROUP")," "))}function Ce(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",8)}function Pe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-form-field"),T._UZ(1,"input",13),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.MGl("placeholder","",T.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SHORT_NAME"),":"),T.Q6J("value",Je.shortName)}}function ce(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-form-field",14),T._UZ(1,"textarea",15),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.xp6(1),T.MGl("placeholder","",T.lcZ(2,2,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.DESCRIPTION"),":"),T.Q6J("formControl",Je.descriptionCtrl)}}function fe(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",9),T.YNc(1,Pe,3,4,"mat-form-field",10),T.TgZ(2,"mat-form-field"),T._UZ(3,"input",11),T.ALo(4,"translate"),T.TgZ(5,"mat-error"),T._uU(6),T.ALo(7,"translate"),T.qZA(),T.qZA(),T.YNc(8,ce,3,4,"mat-form-field",12),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(1),T.Q6J("ngIf",2===Je.dialogType),T.xp6(2),T.MGl("placeholder","",T.lcZ(4,5,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.NAME"),":"),T.Q6J("formControl",Je.nameCtrl),T.xp6(3),T.hij(" ",Je.invalidNameMessage.length?Je.invalidNameMessage:T.lcZ(7,7,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.FILL_NAME")," "),T.xp6(2),T.Q6J("ngIf",2!==Je.dialogType)}}var Ze=(()=>{return(Fe=Ze||(Ze={}))[Fe.FACILITY=0]="FACILITY",Fe[Fe.RESOURCE=1]="RESOURCE",Fe[Fe.VO=2]="VO",Fe[Fe.GROUP=3]="GROUP",Ze;var Fe})();let ne=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui,bn,Jn){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.translateService=li,this.facilitiesManager=vi,this.resourcesManager=Vi,this.groupsManager=Ui,this.vosManager=bn,this.store=Jn,this.invalidNameMessage=this.data.dialogType===Ze.GROUP?this.store.get("group_name_error_message"):"",this.loading=!1,this.secondaryRegex=this.data.dialogType===Ze.GROUP?this.store.get("group_name_secondary_regex"):""}ngOnInit(){switch(this.theme=this.data.theme,this.dialogType=this.data.dialogType,this.dialogType){case Ze.FACILITY:this.nameCtrl=new E.NI(this.data.facility.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI(this.data.facility.description);break;case Ze.RESOURCE:this.nameCtrl=new E.NI(this.data.resource.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*")]),this.descriptionCtrl=new E.NI(this.data.resource.description);break;case Ze.GROUP:{const Je=this.data.group.name.split(":");this.nameCtrl=new E.NI(Je[Je.length-1],[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.pattern(this.secondaryRegex),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI(this.data.group.description);break}case Ze.VO:this.shortName=this.data.vo.shortName,this.nameCtrl=new E.NI(this.data.vo.name,[E.kI.required,E.kI.pattern(".*[\\S]+.*"),E.kI.maxLength(129)]),this.descriptionCtrl=new E.NI}}cancel(){this.dialogRef.close(!1)}submit(){switch(this.loading=!0,this.dialogType){case Ze.FACILITY:this.editFacility();break;case Ze.RESOURCE:this.editResource();break;case Ze.GROUP:this.editGroup();break;case Ze.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(Je=>{this.notificator.showSuccess(Je),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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}editGroup(){this.groupsManager.getGroupById(this.data.group.id).subscribe(Je=>{const wt=Je;wt.name=this.nameCtrl.value,wt.description=this.descriptionCtrl.value,this.groupsManager.updateGroup({group:wt}).subscribe(()=>{this.translateService.get("DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.GROUP_SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})},()=>this.loading=!1)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(c.sK),T.Y36(L.IQ),T.Y36(L.xk),T.Y36(L.ff),T.Y36(L.YF),T.Y36(X.d6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.YNc(1,Me,3,3,"h1",0),T.YNc(2,z,3,3,"h1",0),T.YNc(3,P,3,3,"h1",0),T.YNc(4,de,3,3,"h1",0),T.TgZ(5,"div",1),T.YNc(6,Ce,1,0,"mat-spinner",2),T.YNc(7,fe,9,9,"div",3),T.qZA(),T.TgZ(8,"div",4),T.TgZ(9,"button",5),T.NdJ("click",function(){return wt.cancel()}),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.TgZ(12,"button",6),T.NdJ("click",function(){return wt.submit()}),T._uU(13),T.ALo(14,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(1),T.Q6J("ngIf",0===wt.dialogType),T.xp6(1),T.Q6J("ngIf",1===wt.dialogType),T.xp6(1),T.Q6J("ngIf",2===wt.dialogType),T.xp6(1),T.Q6J("ngIf",3===wt.dialogType),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(11,12,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("disabled",wt.loading||wt.nameCtrl.invalid||wt.descriptionCtrl.invalid),T.xp6(1),T.hij(" ",T.lcZ(14,14,"DIALOGS.EDIT_FACILITY_RESOURCE_GROUP_VO.SUBMIT_BUTTON")," "))},directives:[e.O5,w.uh,w.xY,I.Ou,b.KE,v.Nt,E.Fj,E.Q7,E.JJ,E.oH,b.TO,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var it=h(64080),Be=h(9244);function ze(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",8)}function Ue(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",9),T.TgZ(1,"span"),T._uU(2),T.ALo(3,"translate"),T.TgZ(4,"b"),T._uU(5),T.qZA(),T.qZA(),T._UZ(6,"br"),T.TgZ(7,"span"),T._uU(8),T.ALo(9,"translate"),T.TgZ(10,"b"),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA(),T._UZ(13,"br"),T.TgZ(14,"span"),T._uU(15),T.ALo(16,"translate"),T.TgZ(17,"b"),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.qZA(),T._UZ(20,"br"),T.TgZ(21,"span"),T._uU(22),T.ALo(23,"translate"),T.TgZ(24,"b"),T._uU(25),T.ALo(26,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,8,"DIALOGS.GROUP_SYNC_DETAIL.GROUP_NAME")," "),T.xp6(3),T.Oqu(Je.group.name),T.xp6(3),T.hij(" ",T.lcZ(9,10,"DIALOGS.GROUP_SYNC_DETAIL.SYNCHRONIZATION")," "),T.xp6(3),T.Oqu(T.lcZ(12,12,Je.getSynchronizationType())),T.xp6(4),T.hij(" ",T.lcZ(16,14,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_STATE")," "),T.xp6(3),T.Oqu(T.lcZ(19,16,Je.getLastSyncState())),T.xp6(4),T.hij(" ",T.lcZ(23,18,"DIALOGS.GROUP_SYNC_DETAIL.LAST_SYNC_TIME")," "),T.xp6(3),T.Oqu(T.lcZ(26,20,Je.getLastSyncTime()))}}function _e(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",10),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onForceStructure()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE_STRUCTURE")," ")}}function ae(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",10),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onForce()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"DIALOGS.GROUP_SYNC_DETAIL.FORCE")," ")}}let Ae=(()=>{class Fe{constructor(Je,wt,Gt,li){this.dialogRef=Je,this.data=wt,this.groupService=Gt,this.notificator=li,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,[it.r.GROUP_SYNC_ENABLED,it.r.GROUP_LAST_SYNC_STATE,it.r.GROUP_LAST_SYNC_TIMESTAMP,it.r.GROUP_STRUCTURE_SYNC_ENABLED,it.r.GROUP_LAST_STRUCTURE_SYNC_STATE,it.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP]).subscribe(Je=>{this.group=Je,this.syncEnabled=(0,Be.IL)(this.group.attributes,it.r.GROUP_SYNC_ENABLED).value,this.lastSyncState=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_SYNC_STATE).value,this.lastSyncTime=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_SYNC_TIMESTAMP).value,this.structSyncEnabled=(0,Be.IL)(this.group.attributes,it.r.GROUP_STRUCTURE_SYNC_ENABLED).value,this.lastStructSyncState=(0,Be.IL)(this.group.attributes,it.r.GROUP_LAST_STRUCTURE_SYNC_STATE).value,this.lastStructSyncTime=(0,Be.IL)(this.group.attributes,it.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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.ff),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,ze,1,0,"mat-spinner",1),T.YNc(5,Ue,27,22,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"div",4),T.TgZ(8,"button",5),T.NdJ("click",function(){return wt.refresh()}),T.TgZ(9,"mat-icon"),T._uU(10,"refresh"),T.qZA(),T.qZA(),T.YNc(11,_e,3,4,"button",6),T.YNc(12,ae,3,4,"button",6),T.TgZ(13,"button",7),T.NdJ("click",function(){return wt.onCancel()}),T._uU(14),T.ALo(15,"translate"),T.qZA(),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,"DIALOGS.GROUP_SYNC_DETAIL.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(6),T.Q6J("ngIf",wt.isStructured()),T.xp6(1),T.Q6J("ngIf",wt.isBasic()||wt.isStructured()),T.xp6(2),T.hij(" ",T.lcZ(15,11,"DIALOGS.GROUP_SYNC_DETAIL.CANCEL")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,w.H8,_.lW,j.Hw],pipes:[c.X$],styles:[""]}),Fe})();function ee(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function Ne(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT_ERROR")))}function V(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_ERROR")))}function H(Fe,Bt){if(1&Fe){const Je=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,"input",9,10),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw().subject=Gt}),T.qZA(),T.YNc(7,Ne,3,3,"mat-error",11),T.qZA(),T.TgZ(8,"mat-form-field"),T.TgZ(9,"mat-label"),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.TgZ(12,"textarea",12,13),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw().message=Gt}),T.ALo(14,"translate"),T._uU(15," "),T.qZA(),T.YNc(16,V,3,3,"mat-error",11),T.qZA(),T.qZA()}if(2&Fe){const Je=T.MAs(6),wt=T.MAs(13),Gt=T.oxw();T.xp6(3),T.Oqu(T.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),T.xp6(2),T.Q6J("ngModel",Gt.subject),T.xp6(2),T.Q6J("ngIf",Je.invalid),T.xp6(3),T.Oqu(T.lcZ(11,9,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE")),T.xp6(2),T.s9C("placeholder",T.lcZ(14,11,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.MESSAGE_PLACEHOLDER")),T.Q6J("ngModel",Gt.message),T.xp6(4),T.Q6J("ngIf",wt.invalid)}}let D=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.translate=wt,this.notificator=Gt,this.rtMessages=li,this.data=vi,this.storeService=Vi,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var Je,wt;(null===(wt=null===(Je=this.data)||void 0===Je?void 0:Je.error)||void 0===wt?void 0:wt.errorId)&&(this.subject="".concat(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(Je=>{this.dialogRef.afterClosed().subscribe(()=>{const wt="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),Je.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(wt)}),this.dialogRef.close()},()=>{this.loading=!1,this.dialogRef.afterClosed().subscribe(()=>{})})}getFullEmailBody(){const Je=this.storeService.get("config");let wt=this.message+"\n------------------------\nTechnical details:\n\n"+this.data.error.errorId;if(wt=wt.concat(this.data.error.type?" "+this.data.error.type+"\n":"\n"),wt=wt.concat(this.data.error.message,"\n","Perun instance: ",Je,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const Gt=/"password":".+?"/;let li=JSON.stringify(this.data.error.payload);li=li.replace(Gt,'"password":"####"'),wt=wt.concat("Payload:\n"+li+"\n\n")}return wt=wt.concat("Sent from new Perun Gui, version: ",h(4147).i8),wt.split("\n").join("\n ")}parseMethod(Je){return Je&&this.methodRegexp.exec(Je)[1]}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(c.sK),T.Y36(X.V6),T.Y36(L.Hr),T.Y36(w.WI),T.Y36(X.d6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.YNc(3,ee,1,0,"mat-spinner",1),T.YNc(4,H,17,13,"div",2),T.TgZ(5,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"button",5),T.NdJ("click",function(){return wt.dialogRef.close()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",6),T.NdJ("click",function(){return wt.sendBugReport()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,6,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(4),T.hij(" ",T.lcZ(9,8,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.CANCEL")," "),T.xp6(2),T.Q6J("disabled",""===wt.message||""===wt.subject||wt.loading),T.xp6(1),T.hij(" ",T.lcZ(12,10,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SEND")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,b.hX,v.Nt,E.Fj,E.Q7,E.JJ,E.On,b.TO,w.H8,_.lW],pipes:[c.X$],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),Fe})(),O=(()=>{class Fe{constructor(Je,wt,Gt){this.dialogRef=Je,this.dialog=wt,this.data=Gt}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const Je=(0,Be.kZ)();Je.width="550px",Je.data={error:this.data.error},Je.autoFocus=!1,this.dialog.open(D,Je)}),this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.uw),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.qZA(),T.TgZ(2,"div",1),T._uU(3),T.qZA(),T.TgZ(4,"div",2),T.TgZ(5,"div",3),T.TgZ(6,"button",4),T.NdJ("click",function(){return wt.onBugReportClick()}),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"button",5),T.NdJ("click",function(){return wt.onCloseClick()}),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(wt.data.title),T.xp6(2),T.hij(" ",wt.data.description,"\n"),T.xp6(3),T.Q6J("hidden","error"!==wt.data.type),T.xp6(1),T.hij(" ",T.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_BUG_REPORT")," "),T.xp6(3),T.hij(" ",T.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.DIALOG_CLOSE")," "))},directives:[w.uh,w.xY,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var i=h(34447);function o(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",3)}function u(Fe,Bt){1&Fe&&T._UZ(0,"th",15)}function l(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",16),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.hij(" ",Je.userExtSource.extSource.name," ")}}function s(Fe,Bt){1&Fe&&T._UZ(0,"tr",17)}function n(Fe,Bt){1&Fe&&T._UZ(0,"tr",18)}function t(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div"),T.TgZ(1,"div",4),T.TgZ(2,"p"),T._uU(3),T.ALo(4,"translate"),T.ALo(5,"customTranslate"),T.qZA(),T.TgZ(6,"div",5),T._uU(7),T.ALo(8,"translate"),T.ALo(9,"customTranslate"),T.qZA(),T.TgZ(10,"table",6),T.ynx(11,7),T.YNc(12,u,1,0,"th",8),T.YNc(13,l,2,1,"td",9),T.BQk(),T.YNc(14,s,1,0,"tr",10),T.YNc(15,n,1,0,"tr",11),T.qZA(),T.qZA(),T.TgZ(16,"div",12),T.TgZ(17,"button",13),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onCancel()}),T._uU(18),T.ALo(19,"translate"),T.ALo(20,"customTranslate"),T.qZA(),T.TgZ(21,"button",14),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(22),T.ALo(23,"translate"),T.ALo(24,"customTranslate"),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(3),T.hij(" ",T.lcZ(4,7,T.lcZ(5,9,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.DESCRIPTION"))," "),T.xp6(4),T.hij(" ",T.lcZ(8,11,T.lcZ(9,13,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.ASK"))," "),T.xp6(3),T.Q6J("dataSource",Je.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",Je.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",Je.displayedColumns),T.xp6(3),T.hij(" ",T.lcZ(19,15,T.lcZ(20,17,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.CANCEL"))," "),T.xp6(4),T.hij(" ",T.lcZ(23,19,T.lcZ(24,21,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.REMOVE"))," ")}}let r=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.usersManagerService=Gt,this.translate=li,this.notificator=vi,this.force=!1,this.displayedColumns=["name"],li.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(Vi=>this.successMessage=Vi)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.Fv),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA(),T.TgZ(4,"div"),T.YNc(5,o,1,0,"mat-spinner",1),T.YNc(6,t,25,23,"div",2),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,6,T.lcZ(3,8,"SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.TITLE")),"\n"),T.xp6(3),T.Tol(wt.theme),T.xp6(1),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,w.H8,_.lW],pipes:[c.X$,i.a],styles:[""]}),Fe})();var a=h(74533);let d=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt}ngOnInit(){this.value=this.data.value,this.title=this.data.title}onCancel(){this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.qZA(),T.TgZ(2,"div",1),T.TgZ(3,"textarea",2),T._uU(4),T.qZA(),T.qZA(),T.TgZ(5,"div",3),T.TgZ(6,"button",4),T.NdJ("click",function(){return wt.onCancel()}),T._uU(7),T.ALo(8,"translate"),T.qZA(),T.TgZ(9,"button",5),T._uU(10),T.ALo(11,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(wt.title),T.xp6(3),T.Oqu(wt.value),T.xp6(3),T.hij(" ",T.lcZ(8,5,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.CLOSE")," "),T.xp6(2),T.Q6J("cdkCopyToClipboard",wt.value),T.xp6(1),T.hij(" ",T.lcZ(11,7,"SHARED_LIB.PERUN.COMPONENTS.SHOW_VALUE.COPY")," "))},directives:[w.uh,w.xY,a.IC,v.Nt,w.H8,_.lW,q.i3],pipes:[c.X$],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),Fe})();function f(Fe,Bt){1&Fe&&T._UZ(0,"th",12)}function x(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",13),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.Oqu(Je.displayName)}}function Ye(Fe,Bt){1&Fe&&T._UZ(0,"tr",14)}function It(Fe,Bt){1&Fe&&T._UZ(0,"tr",15)}let jt=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.translate=li,this.attributesManager=vi,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new g.by(this.data.attributes)}onCancel(){this.dialogRef.close(!1)}onSubmit(){switch(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(Je=>{this.notificator.showSuccess(Je),this.dialogRef.close(!0)})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(c.sK),T.Y36(L.H8))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"div"),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"div",2),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"table",3),T.ynx(11,4),T.YNc(12,f,1,0,"th",5),T.YNc(13,x,2,1,"td",6),T.BQk(),T.YNc(14,Ye,1,0,"tr",7),T.YNc(15,It,1,0,"tr",8),T.qZA(),T.qZA(),T.TgZ(16,"div",9),T.TgZ(17,"button",10),T.NdJ("click",function(){return wt.onCancel()}),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.TgZ(20,"button",11),T.NdJ("click",function(){return wt.onSubmit()}),T._uU(21),T.ALo(22,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,8,"DIALOGS.EDIT_ATTRIBUTES.TITLE")),T.xp6(4),T.hij(" ",T.lcZ(6,10,"DIALOGS.EDIT_ATTRIBUTES.DESCRIPTION")," "),T.xp6(3),T.hij(" ",T.lcZ(9,12,"DIALOGS.EDIT_ATTRIBUTES.ASK")," "),T.xp6(2),T.Q6J("dataSource",wt.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",wt.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",wt.displayedColumns),T.xp6(3),T.hij(" ",T.lcZ(19,14,"DIALOGS.EDIT_ATTRIBUTES.CANCEL")," "),T.xp6(3),T.hij(" ",T.lcZ(22,16,"DIALOGS.EDIT_ATTRIBUTES.SAVE")," "))},directives:[w.uh,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})(),bt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt,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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h5",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"mat-form-field"),T.TgZ(5,"textarea",2),T.NdJ("ngModelChange",function(li){return wt.attributeValue=li}),T.qZA(),T.qZA(),T.qZA(),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.TgZ(10,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.TITLE"),"\n"),T.xp6(4),T.Q6J("ngModel",wt.attributeValue),T.xp6(3),T.hij(" ",T.lcZ(9,6,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.CANCEL_BUTTON")," "),T.xp6(3),T.hij(" ",T.lcZ(12,8,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.EDIT_DIALOG.SUBMIT_BUTTON")," "))},directives:[w.uh,w.xY,b.KE,a.IC,v.Nt,E.Fj,E.JJ,E.On,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})(),Yt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt}cancel(){this.dialogRef.close()}submit(){this.dialogRef.close(!0)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h5",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"div"),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"div",2),T._uU(8),T.qZA(),T.qZA(),T.TgZ(9,"div",3),T.TgZ(10,"button",4),T.NdJ("click",function(){return wt.cancel()}),T._uU(11),T.ALo(12,"translate"),T.qZA(),T.TgZ(13,"button",5),T.NdJ("click",function(){return wt.submit()}),T._uU(14),T.ALo(15,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,5,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.TITLE"),"\n"),T.xp6(4),T.hij(" ",T.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.DESCRIPTION")," "),T.xp6(3),T.hij(" ",wt.data.name," "),T.xp6(3),T.hij(" ",T.lcZ(12,9,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.CANCEL_BUTTON")," "),T.xp6(3),T.hij(" ",T.lcZ(15,11,"SHARED_LIB.PERUN.COMPONENTS.ATTRIBUTE_VALUE_LIST.DELETE_DIALOG.SUBMIT_BUTTON")," "))},directives:[w.uh,w.xY,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var Ct=h(98380);function Nt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"perun-web-apps-alert",9),T._uU(1),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(1),T.Oqu(Je.pendingEmailsMessage)}}function He(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,T.lcZ(3,3,"DIALOGS.CHANGE_EMAIL.EMAIL_ERROR"))))}let je=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.translate=Gt,this.notificator=li,this.usersManagerService=vi,this.authService=Vi,this.pendingMails=[],Gt.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(Ui=>this.successMessage=Ui),Gt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(Ui=>this.pendingEmailsMessageStart=Ui),Gt.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(Ui=>this.pendingEmailsMessageEnd=Ui)}ngOnInit(){this.emailControl=new E.NI(null,[E.kI.required,E.kI.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(Je=>{this.pendingMails=Je.filter((Gt,li,vi)=>li===vi.indexOf(Gt));let wt="";this.pendingMails.forEach(Gt=>wt+=`${Gt===this.pendingMails[0]?"":", "}${Gt}`),this.pendingEmailsMessage=this.pendingEmailsMessageStart+wt+this.pendingEmailsMessageEnd})}onCancel(){this.dialogRef.close()}onSubmit(){const wt=window.location.href.split("/");this.usersManagerService.requestPreferredEmailChange(this.data.userId,this.emailControl.value,this.translate.currentLang,"",wt[0]+"//"+wt[2],this.authService.getIdpFilter()).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(c.sK),T.Y36(X.V6),T.Y36(L.Fv),T.Y36(X.e8))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.ALo(3,"customTranslate"),T.qZA(),T.TgZ(4,"div",1),T.YNc(5,Nt,2,1,"perun-web-apps-alert",2),T.TgZ(6,"mat-form-field",3),T.TgZ(7,"label",3),T._UZ(8,"input",4),T.ALo(9,"translate"),T.ALo(10,"customTranslate"),T.qZA(),T.YNc(11,He,4,5,"mat-error",5),T.qZA(),T.qZA(),T.TgZ(12,"div",6),T.TgZ(13,"button",7),T.NdJ("click",function(){return wt.onCancel()}),T._uU(14),T.ALo(15,"translate"),T.ALo(16,"customTranslate"),T.qZA(),T.TgZ(17,"button",8),T.NdJ("click",function(){return wt.onSubmit()}),T._uU(18),T.ALo(19,"translate"),T.ALo(20,"customTranslate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,8,T.lcZ(3,10,"DIALOGS.CHANGE_EMAIL.TITLE"))),T.xp6(4),T.Q6J("ngIf",wt.pendingMails.length),T.xp6(3),T.s9C("placeholder",T.lcZ(9,12,T.lcZ(10,14,"DIALOGS.CHANGE_EMAIL.INPUT_PLACEHOLDER"))),T.Q6J("formControl",wt.emailControl),T.xp6(3),T.Q6J("ngIf",wt.emailControl.invalid),T.xp6(3),T.hij(" ",T.lcZ(15,16,T.lcZ(16,18,"DIALOGS.CHANGE_EMAIL.CANCEL"))," "),T.xp6(3),T.Q6J("disabled",!wt.emailControl.valid),T.xp6(1),T.hij(" ",T.lcZ(19,20,T.lcZ(20,22,"DIALOGS.CHANGE_EMAIL.CHANGE"))," "))},directives:[w.uh,w.xY,e.O5,Ct.w,b.KE,v.Nt,E.Fj,E.Q7,E.JJ,E.oH,b.TO,w.H8,_.lW],pipes:[c.X$,i.a],styles:[""]}),Fe})();function Z(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function $(Fe,Bt){1&Fe&&(T.TgZ(0,"div",17),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "))}function oe(Fe,Bt){1&Fe&&T._UZ(0,"th",18)}function nt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"td",19),T._uU(1),T.qZA()),2&Fe){const Je=Bt.$implicit;T.xp6(1),T.Oqu(Je)}}function ct(Fe,Bt){1&Fe&&T._UZ(0,"tr",20)}function Rt(Fe,Bt){1&Fe&&T._UZ(0,"tr",21)}function mt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"perun-web-apps-alert",22),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe){const Je=T.oxw(2);T.Q6J("alert_type","warn"),T.xp6(1),T.hij(" ",T.lcZ(2,2,Je.data.alert)," ")}}function Tt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T.TgZ(1,"p"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,$,3,3,"div",9),T.TgZ(5,"table",10),T.ynx(6,11),T.YNc(7,oe,1,0,"th",12),T.YNc(8,nt,2,1,"td",13),T.BQk(),T.YNc(9,ct,1,0,"tr",14),T.YNc(10,Rt,1,0,"tr",15),T.qZA(),T.YNc(11,mt,3,4,"perun-web-apps-alert",16),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,6,Je.data.description)," "),T.xp6(2),T.Q6J("ngIf",Je.data.showAsk),T.xp6(1),T.Q6J("dataSource",Je.dataSource),T.xp6(4),T.Q6J("matHeaderRowDef",Je.displayedColumns),T.xp6(1),T.Q6J("matRowDefColumns",Je.displayedColumns),T.xp6(1),T.Q6J("ngIf",Je.data.alert)}}function ot(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",23),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.REMOVE_BUTTON")," ")}}function rt(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"button",24),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(1),T.ALo(2,"translate"),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," ")}}let lt=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.data=wt,this.displayedColumns=["name"],this.loading=!1}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.by(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI))},Fe.\u0275cmp=T.Xpm({type:Fe,selectors:[["perun-web-apps-universal-confirmation-items-dialog"]],decls:12,vars:13,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","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-weight-bold",4,"ngIf"],["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"],[3,"alert_type",4,"ngIf"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[3,"alert_type"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",3,"disabled","click"]],template:function(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Z,1,0,"mat-spinner",1),T.YNc(5,Tt,12,8,"div",2),T.TgZ(6,"div",3),T.TgZ(7,"button",4),T.NdJ("click",function(){return wt.onCancel()}),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.YNc(10,ot,3,4,"button",5),T.YNc(11,rt,3,4,"button",6),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.Oqu(T.lcZ(3,9,wt.data.title)),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(3),T.hij(" ",T.lcZ(9,11,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.CANCEL_BUTTON")," "),T.xp6(2),T.Q6J("ngIf","remove"===wt.data.type),T.xp6(1),T.Q6J("ngIf","confirmation"===wt.data.type))},directives:[w.uh,e.O5,I.Ou,w.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,Ct.w,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var ut=h(28258);let Ht=(()=>{class Fe{transform(Je){const wt=Je.split(":");return wt[wt.length-1]}}return Fe.\u0275fac=function(Je){return new(Je||Fe)},Fe.\u0275pipe=T.Yjl({name:"parseGroupName",type:Fe,pure:!0}),Fe})();function Qt(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",7)}function ni(Fe,Bt){1&Fe&&(T.TgZ(0,"perun-web-apps-alert"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.NO_PATHS")))}function hi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function gi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}const xi=function(Fe){return{"min-width":Fe}};function ji(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-tree-node",16),T.TgZ(1,"li",17),T.TgZ(2,"div",18),T.NdJ("click",function(){const li=T.CHM(Je).$implicit;return T.oxw(3).navigate(li.id,li.include)}),T._UZ(3,"button",19),T.TgZ(4,"div",20),T.TgZ(5,"span"),T._uU(6),T.ALo(7,"parseGroupName"),T.qZA(),T.YNc(8,hi,3,3,"span",21),T.YNc(9,gi,3,3,"span",21),T.qZA(),T.TgZ(10,"span",22),T._uU(11),T.qZA(),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=Bt.$implicit,wt=T.oxw(3);T.xp6(2),T.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),T.xp6(2),T.Q6J("ngStyle",T.VKq(11,xi,wt.getMinWidth(Je.level))),T.xp6(2),T.Oqu(T.lcZ(7,9,Je.name)),T.xp6(2),T.Q6J("ngIf",Je.direct),T.xp6(1),T.Q6J("ngIf",Je.include),T.xp6(2),T.Oqu(Je.description)}}function tn(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.DIRECT")))}function qi(Fe,Bt){1&Fe&&(T.TgZ(0,"span",23),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INCLUDE")))}function Lt(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-nested-tree-node"),T.TgZ(1,"li"),T.TgZ(2,"div",17),T.TgZ(3,"button",24),T.TgZ(4,"mat-icon",25),T._uU(5),T.qZA(),T.qZA(),T.TgZ(6,"div",18),T.NdJ("click",function(){const li=T.CHM(Je).$implicit;return T.oxw(3).navigate(li.id,li.include)}),T.TgZ(7,"div",20),T.TgZ(8,"span"),T._uU(9),T.ALo(10,"parseGroupName"),T.qZA(),T.YNc(11,tn,3,3,"span",21),T.YNc(12,qi,3,3,"span",21),T.qZA(),T.TgZ(13,"span",22),T._uU(14),T.qZA(),T.qZA(),T.qZA(),T.TgZ(15,"ul"),T.GkF(16,26),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=Bt.$implicit,wt=T.oxw(3);T.xp6(3),T.uIk("aria-label","Toggle "+Je.name),T.xp6(2),T.hij(" ",wt.treeControl.isExpanded(Je)?"expand_more":"chevron_right"," "),T.xp6(1),T.ekj("cursor-pointer",Je.direct||Je.include)("act-disabled",!Je.direct&&!Je.include),T.xp6(1),T.Q6J("ngStyle",T.VKq(15,xi,wt.getMinWidth(Je.level))),T.xp6(2),T.Oqu(T.lcZ(10,13,Je.name)),T.xp6(2),T.Q6J("ngIf",Je.direct),T.xp6(1),T.Q6J("ngIf",Je.include),T.xp6(2),T.Oqu(Je.description),T.xp6(1),T.ekj("example-tree-invisible",!wt.treeControl.isExpanded(Je))}}function oi(Fe,Bt){if(1&Fe&&(T.TgZ(0,"mat-tree",13),T.YNc(1,ji,12,13,"mat-tree-node",14),T.YNc(2,Lt,17,17,"mat-nested-tree-node",15),T.qZA()),2&Fe){const Je=T.oxw(2);T.Q6J("dataSource",Je.dataSource)("treeControl",Je.treeControl),T.xp6(2),T.Q6J("matTreeNodeDefWhen",Je.hasChild)}}function Pt(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",8),T.TgZ(1,"p"),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-form-field",9),T._UZ(5,"input",10),T.ALo(6,"translate"),T.qZA(),T.YNc(7,ni,3,3,"perun-web-apps-alert",11),T.YNc(8,oi,3,3,"mat-tree",12),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.Oqu(T.lcZ(3,5,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.INFO")),T.xp6(3),T.s9C("placeholder",T.lcZ(6,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.FILTER")),T.Q6J("formControl",Je.formControl),T.xp6(2),T.Q6J("ngIf",!Je.dataSource.data.length),T.xp6(1),T.Q6J("ngIf",Je.dataSource.data.length)}}const $e=function(Fe){return{name:Fe}};let vt=(()=>{class Fe{constructor(Je,wt,Gt){this.dialogRef=Je,this.data=wt,this.groupsManagerService=Gt,this.treeControl=new ut.VY(li=>li.children),this.dataSource=new F.WX,this.formControl=new E.NI(""),this.userName="",this.groupTree=[],this.paths=[],this.hasChild=(li,vi)=>!!vi.children&&vi.children.length>0}ngOnInit(){this.loading=!0,this.groupsManagerService.getIndirectMembershipPaths(this.data.member.id,this.data.groupId).subscribe(Je=>{this.paths=Je,this.createGroupTree(this.paths),this.dataSource.data=this.groupTree,this.loading=!1}),this.formControl.valueChanges.subscribe(Je=>{const wt=Je.trim().toLowerCase(),Gt=this.paths.filter(li=>li.filter(vi=>vi.name.includes(wt)).length);this.createGroupTree(Gt),this.dataSource.data=this.groupTree}),this.userName=(0,Be.bD)(this.data.member.user)}onCancel(){this.dialogRef.close()}navigate(Je,wt=!1){window.open(`/organizations/${this.data.member.voId}/groups/${Je}${wt?"/settings/relations":""}`,"_blank")}getMinWidth(Je){return String(400-40*Je)+"px"}recursiveSearch(Je,wt,Gt){for(const vi of Je)if(vi.name===wt[Gt].name)return wt.length===Gt+1?(vi.direct=!0,Je):(vi.children=wt[++Gt].name.includes(wt[Gt-1].name)?this.recursiveSearch(vi.children,wt,Gt):[{name:wt[Gt].name,id:wt[Gt-1].id,description:wt[Gt].description,direct:!1,include:!0,level:Gt,children:[]}].concat(vi.children),Je);return Je.push({name:wt[Gt].name,id:wt[Gt].id,description:wt[Gt].description,direct:!1,include:!1,level:Gt,children:[]}),this.recursiveSearch(Je,wt,Gt)}createGroupTree(Je){this.groupTree=[],Je.forEach(wt=>{this.groupTree=this.recursiveSearch(this.groupTree,wt,0)}),this.groupTree.length&&(this.groupTree=this.groupTree[0].children)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.ff))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Qt,1,0,"mat-spinner",2),T.YNc(5,Pt,9,9,"div",3),T.TgZ(6,"div",4),T.TgZ(7,"div",5),T.TgZ(8,"button",6),T.NdJ("click",function(){return wt.onCancel()}),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.qZA(),T.qZA(),T.qZA()),2&Je&&(T.xp6(2),T.hij(" ",T.xi3(3,4,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.TITLE",T.VKq(9,$e,wt.userName))," "),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(4),T.hij(" ",T.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MEMBER_TREEVIEW_DIALOG.CLOSE")," "))},directives:[w.uh,e.O5,I.Ou,w.xY,b.KE,v.Nt,E.Fj,E.JJ,E.oH,Ct.w,F.gi,F.fQ,F.uo,F.eu,_.lW,e.PC,F.GZ,j.Hw,F.Ar,w.H8],pipes:[c.X$,Ht],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}"]}),Fe})(),at=(()=>{class Fe{constructor(Je,wt){this.dialogRef=Je,this.router=wt}onClose(){this.router.navigate([]),this.dialogRef.close()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(he.F0))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.TgZ(4,"perun-web-apps-alert",2),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.qZA(),T.TgZ(7,"div",3),T.TgZ(8,"button",4),T.NdJ("click",function(){return wt.onClose()}),T._uU(9),T.ALo(10,"translate"),T.qZA(),T.qZA()),2&Je&&(T.xp6(1),T.hij(" ",T.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.TITLE"),"\n"),T.xp6(4),T.Oqu(T.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.INFO")),T.xp6(4),T.hij(" ",T.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.MAIL_CHANGE_FAILED_DIALOG.CLOSE")," "))},directives:[w.uh,w.xY,Ct.w,w.H8,_.lW],pipes:[c.X$],styles:[""]}),Fe})();var Qe=h(62383);function yt(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-radio-button",16),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.VO_RULES")," "))}function U(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-radio-button",17),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.GROUP_RULES")," "))}function Ge(Fe,Bt){1&Fe&&(T.TgZ(0,"perun-web-apps-alert",18),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"DIALOGS.CHANGE_EXPIRATION.STATUS_CHANGE_INFO")))}let _t=(()=>{class Fe{constructor(Je){this.dialogRef=Je,this.canExtendMembership=!1,this.expirationChanged=new T.vpe,this.statusChange=new T.vpe,this.expirationControl=new E.NI(null)}ngOnInit(){const Je=new Date;this.currentDate=(0,e.p6)(new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),"yyyy-MM-dd","en_US"),"never"!==this.newExpiration&&this.expirationControl.setValue(this.newExpiration)}parseDate(Je){return(0,e.p6)(Je,"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,e.p6)(this.expirationControl.value,"yyyy-MM-dd","en"),this.expirationControl.setValue((0,e.p6)(this.expirationControl.value,"yyyy-MM-dd","en"))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){if(1&Je){const Gt=T.EpF();T.TgZ(0,"div",0),T.TgZ(1,"div",1),T.TgZ(2,"p"),T.TgZ(3,"strong"),T._uU(4),T.ALo(5,"translate"),T.qZA(),T._uU(6),T.ALo(7,"parseDate"),T.qZA(),T.TgZ(8,"p"),T.TgZ(9,"strong"),T._uU(10),T.ALo(11,"translate"),T.qZA(),T._uU(12),T.ALo(13,"parseDate"),T.qZA(),T.TgZ(14,"mat-radio-group",2),T.NdJ("ngModelChange",function(vi){return wt.newExpiration=vi}),T.TgZ(15,"mat-radio-button",3),T.TgZ(16,"mat-form-field",4),T.NdJ("click",function(){return T.CHM(Gt),T.MAs(23).open()}),T.TgZ(17,"mat-label"),T._uU(18),T.ALo(19,"translate"),T.qZA(),T.TgZ(20,"input",5),T.NdJ("dateChange",function(){return wt.setExpiration()}),T.qZA(),T._UZ(21,"mat-datepicker-toggle",6),T._UZ(22,"mat-datepicker",7,8),T.qZA(),T.qZA(),T.YNc(24,yt,3,3,"mat-radio-button",9),T.YNc(25,U,3,3,"mat-radio-button",10),T.TgZ(26,"mat-radio-button",11),T._uU(27),T.ALo(28,"translate"),T.qZA(),T.qZA(),T.YNc(29,Ge,3,3,"perun-web-apps-alert",12),T.qZA(),T.TgZ(30,"div",13),T.TgZ(31,"button",14),T.NdJ("click",function(){return wt.onCancel()}),T._uU(32),T.ALo(33,"translate"),T.qZA(),T.TgZ(34,"button",15),T.NdJ("click",function(){return wt.onChange()}),T._uU(35),T.ALo(36,"translate"),T.qZA(),T.qZA(),T.qZA()}if(2&Je){const Gt=T.MAs(23);T.xp6(4),T.Oqu(T.lcZ(5,21,"DIALOGS.CHANGE_EXPIRATION.CURRENT_EXPIRATION")),T.xp6(2),T.hij(" ",T.lcZ(7,23,wt.currentExpiration)," "),T.xp6(4),T.Oqu(T.lcZ(11,25,"DIALOGS.CHANGE_EXPIRATION.NEW_EXPIRATION")),T.xp6(2),T.hij(" ",wt.newExpiration?T.lcZ(13,27,wt.newExpiration):"never"," "),T.xp6(2),T.Q6J("ngModel",wt.newExpiration),T.xp6(1),T.s9C("value",wt.expirationControl.value),T.xp6(3),T.Oqu(T.lcZ(19,29,"DIALOGS.CHANGE_EXPIRATION.DATE_LABEL")),T.xp6(2),T.Q6J("min",wt.minDate)("max",wt.maxDate)("formControl",wt.expirationControl)("matDatepicker",Gt),T.xp6(1),T.Q6J("for",Gt)("disabled",!1),T.xp6(1),T.Q6J("disabled",!1),T.xp6(2),T.Q6J("ngIf",wt.canExtendMembership&&"vo"===wt.mode),T.xp6(1),T.Q6J("ngIf",wt.canExtendMembership&&"group"===wt.mode),T.xp6(2),T.hij(" ",T.lcZ(28,31,"DIALOGS.CHANGE_EXPIRATION.EXPIRATION_NEVER")," "),T.xp6(2),T.Q6J("ngIf","EXPIRED"===wt.status&&("never"===wt.newExpiration||wt.parseDate(wt.expirationControl.value)>wt.currentDate)),T.xp6(3),T.hij(" ",T.lcZ(33,33,"DIALOGS.CHANGE_EXPIRATION.CANCEL")," "),T.xp6(2),T.Q6J("disabled",wt.expirationControl.invalid),T.xp6(1),T.hij(" ",T.lcZ(36,35,"DIALOGS.CHANGE_EXPIRATION.SAVE")," ")}},directives:[w.xY,N.VQ,E.JJ,E.On,N.U0,b.KE,b.hX,v.Nt,E.Fj,A.hl,E.oH,A.nW,b.R9,A.Mq,e.O5,Ct.w,w.H8,_.lW],pipes:[c.X$,Qe.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}"]}),Fe})();function Dt(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function ti(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("statusChange",function(){return T.CHM(Je),T.oxw().changeStatus=!0})("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","group")("status",Je.status)}}let si=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.groupManager=vi,this.translate=Vi,this.notificator=Ui,this.loading=!1,this.canExtendMembership=!1,this.expirationAttr=null,Vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){var Je,wt;this.status=this.data.status,this.loading=!0;const Gt=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()):this.minDate=new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=null!==(wt=null===(Je=this.expirationAttr)||void 0===Je?void 0:Je.value)&&void 0!==wt?wt:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,e.p6)(Gt,"yyyy-MM-dd","en"),this.maxDate=Gt):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getGroupAttributeByName(this.data.groupId,it.r.GROUP_DEF_EXPIRATION_RULES).subscribe(li=>{null!==li.value?this.groupManager.canExtendMembershipInGroup(this.data.memberId,this.data.groupId).subscribe(vi=>{this.canExtendMembership=!!vi,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"groupRules"===Je?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"===Je?null:Je,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(wt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:wt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(L.ff),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Dt,1,0,"mat-spinner",2),T.YNc(5,ti,1,7,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_GROUP_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();var Ii=h(13469);function wi(Fe,Bt){1&Fe&&(T.TgZ(0,"mat-error"),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.Oqu(T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.FIELD_EMPTY")))}function zi(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"form",5),T.TgZ(1,"div",6),T.TgZ(2,"mat-form-field"),T.TgZ(3,"mat-label"),T._uU(4),T.ALo(5,"translate"),T.qZA(),T._UZ(6,"input",7),T.TgZ(7,"mat-icon",8),T.NdJ("click",function(){T.CHM(Je);const Gt=T.oxw();return Gt.showOldPassword=!Gt.showOldPassword}),T._uU(8),T.qZA(),T.YNc(9,wi,3,3,"mat-error",9),T.qZA(),T._UZ(10,"perun-web-apps-password-form",10),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("formGroup",Je.formGroup),T.xp6(4),T.Oqu(T.lcZ(5,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.OLD_PASSWORD")),T.xp6(2),T.Q6J("type",Je.showOldPassword?"text":"password"),T.xp6(2),T.hij(" ",Je.showOldPassword?"visibility_off":"visibility"," "),T.xp6(1),T.Q6J("ngIf",Je.oldPwd.hasError("required")),T.xp6(1),T.Q6J("formGroup",Je.formGroup)("namespace",Je.data.namespace)}}function rn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",11)}function Oi(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div",12),T.TgZ(1,"div",13),T.TgZ(2,"button",14),T.NdJ("click",function(){return T.CHM(Je),T.oxw().close()}),T._uU(3),T.ALo(4,"translate"),T.qZA(),T.TgZ(5,"button",15),T.NdJ("click",function(){return T.CHM(Je),T.oxw().changePassword()}),T._uU(6),T.ALo(7,"translate"),T.qZA(),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(3),T.hij(" ",T.lcZ(4,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CANCEL")," "),T.xp6(2),T.Q6J("disabled",Je.formGroup.invalid||Je.formGroup.pending),T.xp6(1),T.hij(" ",T.lcZ(7,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.CHANGE")," ")}}let Hi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this._formBuilder=Gt,this.usersManagerService=li,this.apiRequestConfiguration=vi,this.notificator=Vi,this.translate=Ui,this.showOldPassword=!1,Ui.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",E.kI.required],passwordCtrl:["",E.kI.required,[(0,pe.yT)(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:Be.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({login:this.data.login,namespace:this.data.namespace,newPassword:this.newPwd.value,oldPassword:this.oldPwd.value,checkOldPassword:!0}).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.loading=!1,this.dialogRef.close(!0)})}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(E.qu),T.Y36(L.Fv),T.Y36(X.F5),T.Y36(X.V6),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"h1",0),T._uU(1),T.ALo(2,"translate"),T.qZA(),T.TgZ(3,"div",1),T.YNc(4,zi,11,9,"form",2),T.YNc(5,rn,1,0,"mat-spinner",3),T.qZA(),T.YNc(6,Oi,8,7,"div",4)),2&Je&&(T.xp6(1),T.Oqu(T.lcZ(2,4,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.TITLE")),T.xp6(3),T.Q6J("ngIf",!wt.loading),T.xp6(1),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,w.xY,e.O5,E._Y,E.JL,E.sg,b.KE,b.hX,E.Fj,v.Nt,E.JJ,E.u,E.Q7,j.Hw,b.R9,b.TO,Ii.G,I.Ou,w.H8,_.lW],pipes:[c.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}"]}),Fe})();function Ki(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function Li(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("statusChange",function(){return T.CHM(Je),T.oxw().changeStatus=!0})("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("maxDate",Je.maxDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("canExtendMembership",Je.canExtendMembership)("mode","vo")("status",Je.status)}}let yi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.translate=vi,this.notificator=Vi,this.loading=!1,this.canExtendMembership=!1,this.expirationAttr=null,vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(Ui=>this.successMessage=Ui)}ngOnInit(){var Je,wt;this.status=this.data.status,this.loading=!0;const Gt=new Date;"VALID"!==this.data.status?this.maxDate="EXPIRED"===this.data.status?void 0:new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()):this.minDate=new Date(Gt.getFullYear(),Gt.getMonth(),Gt.getDate()),this.expirationAttr=this.data.expirationAttr,this.currentExpiration=null!==(wt=null===(Je=this.expirationAttr)||void 0===Je?void 0:Je.value)&&void 0!==wt?wt:"never",this.newExpiration=this.currentExpiration,this.data.statusChanged&&("VALID"!==this.data.status?(this.newExpiration=(0,e.p6)(Gt,"yyyy-MM-dd","en"),this.maxDate=Gt):this.newExpiration="never"),"VALID"===this.data.status?this.attributesManagerService.getVoAttributeByName(this.data.voId,it.r.VO_DEF_EXPIRATION_RULES).subscribe(li=>{null!==li.value?this.memberManager.canExtendMembership(this.data.memberId).subscribe(vi=>{this.canExtendMembership=!!vi,this.loading=!1},()=>this.loading=!1):this.loading=!1},()=>this.loading=!1):this.loading=!1}onExpirationChanged(Je){this.loading=!0,"voRules"===Je?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"===Je?null:Je,this.attributesManagerService.setMemberAttribute({member:this.data.memberId,attribute:this.expirationAttr}).subscribe(()=>{this.changeStatus&&"EXPIRED"===this.status?this.memberManager.setStatus(this.data.memberId,"VALID").subscribe(wt=>{this.translate.get("DIALOGS.CHANGE_STATUS.SUCCESS").subscribe(Gt=>{this.notificator.showSuccess(Gt),this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0,member:wt})})},()=>this.loading=!1):(this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close({success:!0}))},()=>this.loading=!1))}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,Ki,1,0,"mat-spinner",2),T.YNc(5,Li,1,7,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_VO_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();function nn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function fn(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"perun-web-apps-change-expiration-dialog",5),T.NdJ("expirationChanged",function(Gt){return T.CHM(Je),T.oxw().onExpirationChanged(Gt)}),T.qZA()}if(2&Fe){const Je=T.oxw();T.Q6J("minDate",Je.minDate)("currentExpiration",Je.currentExpiration)("newExpiration",Je.newExpiration)("mode","sponsor")}}let Wi=(()=>{class Fe{constructor(Je,wt,Gt,li,vi,Vi,Ui){this.dialogRef=Je,this.data=wt,this.attributesManagerService=Gt,this.memberManager=li,this.groupManager=vi,this.translate=Vi,this.notificator=Ui,this.loading=!1,Vi.get("DIALOGS.CHANGE_EXPIRATION.SUCCESS").subscribe(bn=>this.successMessage=bn)}ngOnInit(){this.loading=!0,this.currentExpiration=this.data.sponsor.validityTo?this.data.sponsor.validityTo:"never",this.newExpiration=this.currentExpiration;const Je=new Date;this.minDate=new Date(Je.getFullYear(),Je.getMonth(),Je.getDate()),this.loading=!1}onExpirationChanged(Je){this.loading=!0,this.memberManager.updateSponsorshipValidity(this.data.memberId,this.data.sponsor.user.id,"never"===Je?null:Je).subscribe(()=>{this.loading=!1,this.notificator.showSuccess(this.successMessage),this.dialogRef.close(!0)},()=>this.loading=!1)}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.H8),T.Y36(L.uq),T.Y36(L.ff),T.Y36(c.sK),T.Y36(X.V6))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div",0),T.TgZ(1,"h1",1),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,nn,1,0,"mat-spinner",2),T.YNc(5,fn,1,4,"perun-web-apps-change-expiration-dialog",3),T.qZA()),2&Je&&(T.xp6(2),T.Oqu(T.lcZ(3,3,"DIALOGS.CHANGE_SPONSORSHIP_EXPIRATION.TITLE")),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,_t],pipes:[c.X$],styles:[""]}),Fe})();function sn(Fe,Bt){1&Fe&&T._UZ(0,"mat-spinner",4)}function An(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ACTIVE_HINT")," "))}function On(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.INACTIVE_HINT")," "))}function un(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"mat-radio-group",12),T.NdJ("ngModelChange",function(Gt){return T.CHM(Je),T.oxw(2).asyncValidation=Gt}),T.TgZ(1,"span",13),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"mat-radio-button",14),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.TgZ(7,"mat-radio-button",14),T._uU(8),T.ALo(9,"translate"),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw(2);T.Q6J("ngModel",Je.asyncValidation),T.xp6(2),T.hij(" ",T.lcZ(3,6,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.VALIDATE")," : "),T.xp6(2),T.Q6J("value",!1),T.xp6(1),T.hij(" ",T.lcZ(6,8,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC")," "),T.xp6(2),T.Q6J("value",!0),T.xp6(1),T.hij(" ",T.lcZ(9,10,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC")," ")}}function Ji(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.SYNC_HINT")," "))}function ln(Fe,Bt){1&Fe&&(T.TgZ(0,"span",11),T._uU(1),T.ALo(2,"translate"),T.qZA()),2&Fe&&(T.xp6(1),T.hij(" ",T.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.ASYNC_HINT")," "))}function Dn(Fe,Bt){if(1&Fe&&(T.TgZ(0,"div",5),T.TgZ(1,"p",6),T._uU(2),T.TgZ(3,"span",7),T._uU(4),T.qZA(),T._uU(5),T.TgZ(6,"span",7),T._uU(7),T.qZA(),T.qZA(),T.TgZ(8,"p"),T.TgZ(9,"strong",8),T._uU(10),T.ALo(11,"translate"),T.qZA(),T._uU(12),T.qZA(),T.TgZ(13,"p"),T.TgZ(14,"strong",8),T._uU(15),T.ALo(16,"translate"),T.qZA(),T._uU(17),T.qZA(),T.YNc(18,An,3,3,"span",9),T.YNc(19,On,3,3,"span",9),T.YNc(20,un,10,12,"mat-radio-group",10),T.YNc(21,Ji,3,3,"span",9),T.YNc(22,ln,3,3,"span",9),T.qZA()),2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",Je.group.name," "),T.xp6(2),T.hij("#",Je.group.id,""),T.xp6(1),T.hij(" - ",Je.resource.name," "),T.xp6(2),T.hij("#",Je.resource.id,""),T.xp6(3),T.hij(" ",T.lcZ(11,13,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CURRENT")," : "),T.xp6(2),T.hij(" ",Je.status," "),T.xp6(3),T.hij(" ",T.lcZ(16,15,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.NEW")," : "),T.xp6(2),T.hij(" ",Je.getReversedStatus()," "),T.xp6(1),T.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),T.xp6(1),T.Q6J("ngIf","ACTIVE"===Je.status),T.xp6(1),T.Q6J("ngIf","INACTIVE"===Je.status||"FAILED"===Je.status),T.xp6(1),T.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!1===Je.asyncValidation),T.xp6(1),T.Q6J("ngIf",("INACTIVE"===Je.status||"FAILED"===Je.status)&&!0===Je.asyncValidation)}}function St(Fe,Bt){if(1&Fe){const Je=T.EpF();T.TgZ(0,"div",15),T.TgZ(1,"button",16),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onCancel()}),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.TgZ(4,"button",17),T.NdJ("click",function(){return T.CHM(Je),T.oxw().onSubmit()}),T._uU(5),T.ALo(6,"translate"),T.qZA(),T.qZA()}if(2&Fe){const Je=T.oxw();T.xp6(2),T.hij(" ",T.lcZ(3,3,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.CANCEL")," "),T.xp6(2),T.Q6J("disabled",Je.loading),T.xp6(1),T.hij(" ",T.lcZ(6,5,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG."+("ACTIVE"===Je.status?"DEACTIVATE":"ACTIVATE"))," ")}}let Kt=(()=>{class Fe{constructor(Je,wt,Gt,li){this.dialogRef=Je,this.data=wt,this.resourceService=Gt,this.groupService=li,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(Je=>{this.resource=Je,this.groupService.getGroupById(this.data.groupId).subscribe(wt=>{this.group=wt,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 Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(L.xk),T.Y36(L.ff))},Fe.\u0275cmp=T.Xpm({type:Fe,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(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"h1",0),T._uU(2),T.ALo(3,"translate"),T.qZA(),T.YNc(4,sn,1,0,"mat-spinner",1),T.YNc(5,Dn,23,17,"div",2),T.YNc(6,St,7,7,"div",3),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(2),T.hij(" ",T.lcZ(3,7,"SHARED_LIB.PERUN.COMPONENTS.CHANGE_GROUP_RESOURCE_ASSIGMENT_DIALOG.TITLE")," "),T.xp6(2),T.Q6J("ngIf",wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading),T.xp6(1),T.Q6J("ngIf",!wt.loading))},directives:[w.uh,e.O5,I.Ou,w.xY,N.VQ,E.JJ,E.On,N.U0,w.H8,_.lW],pipes:[c.X$],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),Fe})();var st=h(90995);let kt=(()=>{class Fe{constructor(Je,wt,Gt,li,vi){this.dialogRef=Je,this.data=wt,this.notificator=Gt,this.usersService=li,this.translate=vi,this.force=!1,this.displayedColumns=["name"],this.relations=[]}ngOnInit(){this.theme=this.data.theme,this.dataSource=new g.by([this.data.user]),this.relations.push(this.translate.instant("DIALOGS.ANONYMIZE_USER.GROUP_RELATION")),this.relations.push(this.translate.instant("DIALOGS.ANONYMIZE_USER.VO_RELATION"))}onCancel(){this.dialogRef.close(!1)}anonymizeUser(){this.loading=!0,this.usersService.anonymizeUser(this.data.user.id,this.force).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ANONYMIZE_USER.SUCCESS_NOTIFICATION")),this.loading=!1,this.dialogRef.close(!0)},()=>this.loading=!1)}onSubmit(Je){this.force=Je.force,Je.deleted?this.anonymizeUser():this.onCancel()}}return Fe.\u0275fac=function(Je){return new(Je||Fe)(T.Y36(w.so),T.Y36(w.WI),T.Y36(X.V6),T.Y36(L.Fv),T.Y36(c.sK))},Fe.\u0275cmp=T.Xpm({type:Fe,selectors:[["perun-web-apps-anonymize-user-dialog"]],decls:2,vars:8,consts:[[3,"entityNames","entityType","relations","loading","anonymize","deleted"]],template:function(Je,wt){1&Je&&(T.TgZ(0,"div"),T.TgZ(1,"perun-web-apps-delete-entity-dialog",0),T.NdJ("deleted",function(li){return wt.onSubmit(li)}),T.qZA(),T.qZA()),2&Je&&(T.Tol(wt.theme),T.xp6(1),T.Q6J("entityNames",wt.dataSource)("entityType","user")("relations",wt.relations)("loading",wt.loading)("anonymize",!0))},directives:[st.e],styles:[""]}),Fe})()},90995:(qe,me,h)=>{"use strict";h.d(me,{e:()=>Me});var e=h(5e3),c=h(93075),g=h(32075),w=h(69808),_=h(20773),b=h(48966),E=h(47423),v=h(25245),I=h(14623),N=h(98380),A=h(67322),q=h(98833),j=h(51062);let G=(()=>{class z{constructor(de){this.translate=de}transform(de){return this.translate.instant(de?"DIALOGS.DELETE_ENTITY.TYPE_ANONYMIZE":"DIALOGS.DELETE_ENTITY.TYPE_DELETE")}}return z.\u0275fac=function(de){return new(de||z)(e.Y36(j.sK,16))},z.\u0275pipe=e.Yjl({name:"deleteDialogType",type:z,pure:!0}),z})();var Q=h(31359);function he(z,P){1&z&&e._UZ(0,"mat-spinner",2)}const F=function(z){return{action:z}};function be(z,P){if(1&z&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"deleteDialogType"),e.ALo(4,"translate"),e.TgZ(5,"span",17),e._uU(6),e.ALo(7,"translate"),e.qZA(),e._uU(8),e.ALo(9,"translate"),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.lnq(" ",e.xi3(2,6,"DIALOGS.DELETE_ENTITY.BASIC",e.VKq(17,F,e.lcZ(3,9,de.anonymize)))," ",e.lcZ(4,11,"DIALOGS.DELETE_ENTITY.ONLY")," ",de.entityType," "),e.xp6(5),e.Oqu(e.lcZ(7,13,"DIALOGS.DELETE_ENTITY.OR")),e.xp6(2),e.AsE(" ",de.entityType," ",e.lcZ(9,15,"DIALOGS.DELETE_ENTITY.RELATIONS"),"? ")}}function pe(z,P){if(1&z&&(e.TgZ(0,"div",16),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"deleteDialogType"),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.AsE(" ",e.xi3(2,2,"DIALOGS.DELETE_ENTITY.BASIC",e.VKq(7,F,e.lcZ(3,5,de.anonymize)))," ",de.entityType," ? ")}}function ye(z,P){1&z&&e._UZ(0,"th",18)}function T(z,P){if(1&z&&(e.TgZ(0,"td",19),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&z){const de=P.$implicit,Ce=e.oxw(2);e.xp6(1),e.hij(" ",Ce.anonymize?e.lcZ(2,1,de):de.name," ")}}function R(z,P){1&z&&e._UZ(0,"tr",20)}function L(z,P){1&z&&e._UZ(0,"tr",21)}function X(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(de),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,"titlecase"),e.ALo(6,"deleteDialogType"),e.ALo(7,"translate"),e.qZA()}if(2&z){const de=e.oxw(2);e.xp6(3),e.AsE(" ",e.xi3(4,2,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(11,F,e.lcZ(5,5,e.lcZ(6,7,de.anonymize))))," ",e.lcZ(7,9,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}const Y=function(){return["name"]};function se(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"titlecase"),e.ALo(5,"deleteDialogType"),e.qZA(),e.TgZ(6,"div",4),e.YNc(7,be,10,19,"div",5),e.YNc(8,pe,4,9,"div",5),e.TgZ(9,"table",6),e.ynx(10,7),e.YNc(11,ye,1,0,"th",8),e.YNc(12,T,3,3,"td",9),e.BQk(),e.YNc(13,R,1,0,"tr",10),e.YNc(14,L,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(15,"div",12),e.TgZ(16,"button",13),e.NdJ("click",function(){return e.CHM(de),e.oxw().onCancel()}),e._uU(17),e.ALo(18,"translate"),e.qZA(),e.TgZ(19,"button",14),e.NdJ("click",function(){return e.CHM(de),e.oxw().onDelete()}),e._uU(20),e.ALo(21,"translate"),e.ALo(22,"titlecase"),e.ALo(23,"deleteDialogType"),e.qZA(),e.YNc(24,X,8,13,"button",15),e.qZA(),e.qZA()}if(2&z){const de=e.oxw();e.xp6(2),e.AsE(" ",e.xi3(3,10,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(26,F,e.lcZ(4,13,e.lcZ(5,15,de.anonymize))))," ",de.entityType," "),e.xp6(5),e.Q6J("ngIf",!de.disableForce),e.xp6(1),e.Q6J("ngIf",de.disableForce),e.xp6(1),e.Q6J("dataSource",de.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(28,Y)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(29,Y)),e.xp6(3),e.hij(" ",e.lcZ(18,17,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(3),e.hij(" ",e.xi3(21,19,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(30,F,e.lcZ(22,22,e.lcZ(23,24,de.anonymize))))," "),e.xp6(4),e.Q6J("ngIf",!de.disableForce)}}function Te(z,P){if(1&z&&(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&z){const de=P.$implicit;e.xp6(4),e.hij(" ",de," ")}}function Oe(z,P){if(1&z&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&z){const de=e.oxw(2);e.xp6(1),e.hij(" ",de.anotherMessage," ")}}function Se(z,P){1&z&&e._UZ(0,"th",18)}function We(z,P){if(1&z&&(e.TgZ(0,"td",19),e._uU(1),e.ALo(2,"userFullName"),e.qZA()),2&z){const de=P.$implicit,Ce=e.oxw(2);e.xp6(1),e.hij(" ",Ce.anonymize?e.lcZ(2,1,de):de.name," ")}}function ge(z,P){1&z&&e._UZ(0,"tr",20)}function Le(z,P){1&z&&e._UZ(0,"tr",21)}function ue(z,P){if(1&z){const de=e.EpF();e.TgZ(0,"div"),e.TgZ(1,"h1",3),e._uU(2),e.ALo(3,"translate"),e.ALo(4,"titlecase"),e.ALo(5,"deleteDialogType"),e.ALo(6,"translate"),e.qZA(),e.TgZ(7,"div",4),e.TgZ(8,"div",16),e._uU(9),e.ALo(10,"translate"),e.TgZ(11,"mat-list"),e.YNc(12,Te,5,1,"mat-list-item",23),e.qZA(),e.YNc(13,Oe,2,1,"div",1),e.TgZ(14,"perun-web-apps-alert",24),e._uU(15),e.ALo(16,"translate"),e.ALo(17,"deleteDialogType"),e.qZA(),e.TgZ(18,"table",6),e.ynx(19,7),e.YNc(20,Se,1,0,"th",8),e.YNc(21,We,3,3,"td",9),e.BQk(),e.YNc(22,ge,1,0,"tr",10),e.YNc(23,Le,1,0,"tr",11),e.qZA(),e.qZA(),e.TgZ(24,"mat-form-field"),e._UZ(25,"input",25),e.ALo(26,"translate"),e.ALo(27,"uppercase"),e.ALo(28,"deleteDialogType"),e.qZA(),e.qZA(),e.TgZ(29,"div",12),e.TgZ(30,"button",13),e.NdJ("click",function(){return e.CHM(de),e.oxw().onCancel()}),e._uU(31),e.ALo(32,"translate"),e.qZA(),e.TgZ(33,"button",26),e.NdJ("click",function(){return e.CHM(de),e.oxw().onDelete()}),e.TgZ(34,"mat-icon"),e._uU(35,"warning"),e.qZA(),e._uU(36),e.ALo(37,"translate"),e.ALo(38,"titlecase"),e.ALo(39,"deleteDialogType"),e.ALo(40,"translate"),e.qZA(),e.qZA(),e.qZA()}if(2&z){const de=e.oxw();e.xp6(2),e.lnq(" ",e.xi3(3,17,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(51,F,e.lcZ(4,20,e.lcZ(5,22,de.anonymize))))," ",de.entityType," ",e.lcZ(6,24,"DIALOGS.DELETE_ENTITY.RELATIONS")," "),e.xp6(7),e.hij(" ",e.lcZ(10,26,"DIALOGS.DELETE_ENTITY.WARN"),": "),e.xp6(3),e.Q6J("ngForOf",de.relations),e.xp6(1),e.Q6J("ngIf",de.anotherMessage),e.xp6(2),e.AsE(" ",e.xi3(16,28,"DIALOGS.DELETE_ENTITY.ASK",e.VKq(53,F,e.lcZ(17,31,de.anonymize)))," ",de.entityType," ? "),e.xp6(3),e.Q6J("dataSource",de.entityNames),e.xp6(4),e.Q6J("matHeaderRowDef",e.DdM(55,Y)),e.xp6(1),e.Q6J("matRowDefColumns",e.DdM(56,Y)),e.xp6(2),e.s9C("placeholder",e.xi3(26,33,"DIALOGS.DELETE_ENTITY.CONTROL",e.VKq(57,F,e.lcZ(27,36,e.lcZ(28,38,de.anonymize))))),e.Q6J("formControl",de.deleteControl),e.xp6(6),e.hij(" ",e.lcZ(32,40,"DIALOGS.DELETE_ENTITY.CANCEL")," "),e.xp6(2),e.Q6J("disabled",de.deleteControl.invalid),e.xp6(3),e.AsE(" ",e.xi3(37,42,"DIALOGS.DELETE_ENTITY.DELETE",e.VKq(59,F,e.lcZ(38,45,e.lcZ(39,47,de.anonymize))))," ",e.lcZ(40,49,"DIALOGS.DELETE_ENTITY.RELATIONS")," ")}}let Me=(()=>{class z{constructor(){this.entityNames=new g.by,this.relations=[],this.disableForce=!1,this.loading=!1,this.anonymize=!1,this.deleted=new e.vpe,this.force=!1}ngOnInit(){this.deleteReg=this.anonymize?/^ANONYMIZE$/:/^DELETE$/,this.deleteControl=new c.NI("",[c.kI.required,c.kI.pattern(this.deleteReg)])}onCancel(){this.deleted.emit({deleted:!1,force:!1})}onDelete(){this.deleted.emit({deleted:!0,force:this.force})}}return z.\u0275fac=function(de){return new(de||z)},z.\u0275cmp=e.Xpm({type:z,selectors:[["perun-web-apps-delete-entity-dialog"]],inputs:{title:"title",entityNames:"entityNames",entityType:"entityType",relations:"relations",anotherMessage:"anotherMessage",disableForce:"disableForce",loading:"loading",anonymize:"anonymize"},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"],["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"],["data-cy","delete-button-dialog","color","warn","mat-flat-button","",1,"ml-2",3,"click"],["class","ml-2","data-cy","force-delete","color","warn","mat-flat-button","",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",""],["data-cy","force-delete","color","warn","mat-flat-button","",1,"ml-2",3,"click"],[4,"ngFor","ngForOf"],["alert_type","warn"],["data-cy","force-delete-control","matInput","",3,"formControl","placeholder"],["data-cy","force-delete-button","color","warn","mat-flat-button","",1,"ml-2",3,"disabled","click"],[1,"dot-icon"]],template:function(de,Ce){1&de&&(e.YNc(0,he,1,0,"mat-spinner",0),e.YNc(1,se,25,32,"div",1),e.YNc(2,ue,41,61,"div",1)),2&de&&(e.Q6J("ngIf",Ce.loading),e.xp6(1),e.Q6J("ngIf",!Ce.force&&!Ce.loading),e.xp6(1),e.Q6J("ngIf",Ce.force&&!Ce.loading))},directives:[w.O5,_.Ou,b.uh,b.xY,g.BZ,g.w1,g.fO,g.ge,g.Dz,g.ev,g.as,g.XQ,g.nj,g.Gk,b.H8,E.lW,v.Hw,I.i$,w.sg,I.Tg,N.w,A.KE,q.Nt,c.Fj,c.JJ,c.oH],pipes:[j.X$,w.rS,G,Q.d,w.gd],styles:[".dot-icon[_ngcontent-%COMP%]{font-size:small;vertical-align:-1px}.table-margin[_ngcontent-%COMP%]{margin-top:-50px;margin-bottom:20px}"]}),z})()},50301:(qe,me,h)=>{"use strict";h.d(me,{hT:()=>c,Kd:()=>w,YH:()=>_});var e=h(5e3);let c=(()=>{class b{constructor(v){this.elementRef=v}ngOnInit(){this.elementRef.nativeElement.focus()}}return b.\u0275fac=function(v){return new(v||b)(e.Y36(e.SBq))},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsAutoFocus",""]]}),b})();var g=h(32080);let w=(()=>{class b{constructor(v){this.router=v}onClick(){this.router.forceNavigate(this.perunWebAppsForceRouterLink)}}return b.\u0275fac=function(v){return new(v||b)(e.Y36(g.xw))},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsForceRouterLink",""]],hostBindings:function(v,I){1&v&&e.NdJ("click",function(){return I.onClick()})},inputs:{perunWebAppsForceRouterLink:"perunWebAppsForceRouterLink"}}),b})(),_=(()=>{class b{onClick(v){if(1===v.button&&null!=this.perunWebAppsMiddleClickRouterLink){const I=this.perunWebAppsMiddleClickRouterLink.join("/"),N=location.search;window.open(I+N)}}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275dir=e.lG2({type:b,selectors:[["","perunWebAppsMiddleClickRouterLink",""]],hostBindings:function(v,I){1&v&&e.NdJ("mouseup",function(A){return I.onClick(A)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),b})()},45323:(qe,me,h)=>{"use strict";h.d(me,{u:()=>e});var e=(()=>{return(c=e||(e={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",e;var c})()},28499:(qe,me,h)=>{"use strict";h.d(me,{E3:()=>A,yT:()=>q.y});var e=h(69808),c=h(67322),g=h(29772),w=h(93075),_=h(98833),b=h(51062),E=h(20773),v=h(25245),I=h(63189),N=h(5e3);let A=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=N.oAB({type:G}),G.\u0275inj=N.cJS({providers:[],imports:[[e.ez,c.lN,g.AV,w.UX,_.c,b.aw,E.Cq,v.Ps,I.r]]}),G})();var q=h(47549);h(13469)},13469:(qe,me,h)=>{"use strict";h.d(me,{G:()=>ye});var e=h(47549),c=h(32080),g=h(32105),w=h(5e3),_=h(51062),b=h(93075),E=h(67322),v=h(29772),I=h(98833),N=h(69808),A=h(20773),q=h(25245),j=h(98380);function G(T,R){1&T&&w._UZ(0,"mat-spinner",12),2&T&&w.Q6J("diameter",18)}function Q(T,R){if(1&T&&(w.TgZ(0,"mat-icon",13),w._uU(1," error "),w.qZA()),2&T){const L=w.oxw();w.Q6J("matTooltip",L.getErrorTooltip())("matTooltipDisabled",!L.formGroup.get("passwordCtrl").hasError("backendError"))}}function he(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function F(T,R){if(1&T&&(w.TgZ(0,"mat-error",14),w._uU(1),w.qZA()),2&T){const L=w.oxw();w.Q6J("matTooltip",L.getErrorTooltip()),w.xp6(1),w.Oqu(L.getErrorTooltip())}}function be(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function pe(T,R){1&T&&(w.TgZ(0,"mat-error"),w._uU(1),w.ALo(2,"translate"),w.qZA()),2&T&&(w.xp6(1),w.Oqu(w.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let ye=(()=>{class T{constructor(L,X,Y){this.translator=L,this.usersManagerService=X,this.store=Y,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new e.S,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(L=>{var X;const Y=L.userAttributes.find(se=>"preferredLanguage"===se.friendlyName);this.language=null!==(X=null==Y?void 0:Y.value)&&void 0!==X?X:"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 L=this.formGroup.get("passwordCtrl").getError("backendError");return L&&(L=L.replace(":null","")),L}changeHelp(){this.passwordRequirement=this.allPasswordRequirements.find(L=>L.split(":")[0]===this.namespace),this.passwordRequirement=void 0===this.passwordRequirement?this.allPasswordRequirements.find(L=>"default"===L.split(":")[0]).split(/:(.+)/)[1]:this.passwordRequirement.split(/:(.+)/)[1]}}return T.\u0275fac=function(L){return new(L||T)(w.Y36(_.sK),w.Y36(g.Fv),w.Y36(c.d6))},T.\u0275cmp=w.Xpm({type:T,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[w.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(L,X){1&L&&(w.TgZ(0,"div",0),w.TgZ(1,"mat-form-field",1),w._UZ(2,"input",2),w.ALo(3,"translate"),w.YNc(4,G,1,1,"mat-spinner",3),w.TgZ(5,"mat-icon",4),w.NdJ("click",function(){return X.showNewPassword=!X.showNewPassword}),w._uU(6),w.qZA(),w.YNc(7,Q,2,2,"mat-icon",5),w.YNc(8,he,3,3,"mat-error",6),w.YNc(9,F,2,2,"mat-error",7),w.qZA(),w.TgZ(10,"mat-form-field",8),w.TgZ(11,"mat-label"),w._uU(12),w.ALo(13,"translate"),w.qZA(),w._UZ(14,"input",9),w.TgZ(15,"mat-icon",4),w.NdJ("click",function(){return X.showPasswordConfirm=!X.showPasswordConfirm}),w._uU(16),w.qZA(),w.YNc(17,be,3,3,"mat-error",6),w.YNc(18,pe,3,3,"mat-error",6),w.qZA(),w.TgZ(19,"perun-web-apps-alert",10),w._UZ(20,"div",11),w.qZA(),w.qZA()),2&L&&(w.Q6J("formGroup",X.formGroup),w.xp6(1),w.Q6J("matTooltip",X.getPasswordDisabledTooltip())("matTooltipDisabled",X.formGroup.get("passwordCtrl").enabled||X.tooltipPwdDisabledForNamespace),w.xp6(1),w.s9C("placeholder",w.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),w.Q6J("type",X.showNewPassword?"text":"password")("required",X.passwordRequired)("errorStateMatcher",X.passwordStateMatcher),w.xp6(2),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").pending),w.xp6(2),w.hij(" ",X.showNewPassword?"visibility_off":"visibility"," "),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").dirty&&null!==X.formGroup.get("passwordCtrl").errors),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("required")),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordCtrl").hasError("backendError")),w.xp6(3),w.Oqu(w.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),w.xp6(2),w.Q6J("type",X.showPasswordConfirm?"text":"password")("required",X.passwordRequired),w.xp6(2),w.hij(" ",X.showPasswordConfirm?"visibility_off":"visibility"," "),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("required")),w.xp6(1),w.Q6J("ngIf",X.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),w.xp6(2),w.Q6J("innerHTML",X.passwordRequirement,w.oJD))},directives:[b.JL,b.sg,E.KE,v.gM,I.Nt,b.Fj,b.JJ,b.u,b.Q7,N.O5,A.Ou,E.R9,q.Hw,E.TO,E.hX,j.w],pipes:[_.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)}"]}),T})()},47549:(qe,me,h)=>{"use strict";h.d(me,{S:()=>b,y:()=>E});var e=h(82805),c=h(39646),g=h(63900),w=h(54004),_=h(70262);class b{isErrorState(I){return!(!(null==I?void 0:I.invalid)||!(null==I?void 0:I.dirty))}}const E=(v,I,N,A=500)=>q=>(0,e.H)(A).pipe((0,g.w)(()=>(N.dontHandleErrorForNext(),v&&"No namespace"!==v?I.checkPasswordStrength({password:q.value,namespace:v}):(0,c.of)(null))),(0,w.U)(()=>null),(0,_.K)(j=>{const G=j.error,Q={backendError:G.message.substring(G.message.indexOf(":")+1)};return(0,c.of)(Q)}))},32105:(qe,me,h)=>{"use strict";h.d(me,{au:()=>H,sY:()=>ue,H8:()=>E,jw:()=>v,Ct:()=>I,VK:()=>b,WY:()=>A,KG:()=>j,IQ:()=>G,ff:()=>he,uq:()=>be,aC:()=>pe,Hr:()=>ye,tk:()=>T,xk:()=>R,t7:()=>L,KK:()=>X,Ob:()=>Y,Dy:()=>Ae,Fv:()=>se,FW:()=>Te,YF:()=>Oe});var e=h(40520);class c{encodeKey(O){return encodeURIComponent(O)}encodeValue(O){return encodeURIComponent(O)}decodeKey(O){return decodeURIComponent(O)}decodeValue(O){return decodeURIComponent(O)}}var g=h(5e3);const w=new g.OlP("basePath");class b{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,this.credentials=O.credentials?O.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(O){if(0===O.length)return;const i=O.find(o=>this.isJsonMime(o));return void 0===i?O[0]:i}selectHeaderAccept(O){if(0===O.length)return;const i=O.find(o=>this.isJsonMime(o));return void 0===i?O[0]:i}isJsonMime(O){const i=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==O&&(i.test(O)||"application/json-patch+json"===O.toLowerCase())}lookupCredential(O){const i=this.credentials[O];return"function"==typeof i?i():i}}let E=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}convertAttributeToNonunique(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}convertAttributeToUnique(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attribute"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteAttributeDefinitions(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attributes[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAttributeDefinitions(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAttribute(i,o,u,l,s,n,t,r,a,d,f,x="body",Ye=!1,It){let jt=new e.LE({encoder:this.encoder});null!=i&&(jt=this.addToHttpParams(jt,i,"attributeName")),null!=o&&(jt=this.addToHttpParams(jt,o,"attributeId")),null!=u&&(jt=this.addToHttpParams(jt,u,"facility")),null!=l&&(jt=this.addToHttpParams(jt,l,"user")),null!=s&&(jt=this.addToHttpParams(jt,s,"vo")),null!=n&&(jt=this.addToHttpParams(jt,n,"resource")),null!=t&&(jt=this.addToHttpParams(jt,t,"member")),null!=r&&(jt=this.addToHttpParams(jt,r,"group")),null!=a&&(jt=this.addToHttpParams(jt,a,"host")),null!=d&&(jt=this.addToHttpParams(jt,d,"userExtSource")),null!=f&&(jt=this.addToHttpParams(jt,f,"key"));let Yt,bt=this.defaultHeaders;Yt=this.configuration.lookupCredential("BasicAuth"),Yt&&(bt=bt.set("Authorization","Basic "+Yt)),Yt=this.configuration.lookupCredential("BearerAuth"),Yt&&(bt=bt.set("Authorization","Bearer "+Yt));let Ct=It&&It.httpHeaderAccept;void 0===Ct&&(Ct=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ct&&(bt=bt.set("Accept",Ct));let Nt=It&&It.context;void 0===Nt&&(Nt=new e.qT);let He="json";return Ct&&(He=Ct.startsWith("text")?"text":this.configuration.isJsonMime(Ct)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:Nt,params:jt,responseType:He,withCredentials:this.configuration.withCredentials,headers:bt,observe:x,reportProgress:Ye})}getAttributeDefinitionById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeDefinitionByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeDefinitionsByNamespace(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"namespace"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeModulesDependenciesForAttributeGraphText(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");if(null==o)throw new Error("Required parameter attrName was null or undefined when calling getAttributeModulesDependenciesForAttributeGraphText.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"format")),null!=o&&(n=this.addToHttpParams(n,o,"attrName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAttributeModulesDependenciesGraphText(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"format"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributePolicyCollections(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributeRights(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAttributesDefinitionWithRights(i,o,u,l,s,n,t,r,a="body",d=!1,f){let x=new e.LE({encoder:this.encoder});null!=i&&(x=this.addToHttpParams(x,i,"member")),null!=o&&(x=this.addToHttpParams(x,o,"user")),null!=u&&(x=this.addToHttpParams(x,u,"vo")),null!=l&&(x=this.addToHttpParams(x,l,"group")),null!=s&&(x=this.addToHttpParams(x,s,"resource")),null!=n&&(x=this.addToHttpParams(x,n,"facility")),null!=t&&(x=this.addToHttpParams(x,t,"host")),null!=r&&(x=this.addToHttpParams(x,r,"userExtSource"));let It,Ye=this.defaultHeaders;It=this.configuration.lookupCredential("BasicAuth"),It&&(Ye=Ye.set("Authorization","Basic "+It)),It=this.configuration.lookupCredential("BearerAuth"),It&&(Ye=Ye.set("Authorization","Bearer "+It));let jt=f&&f.httpHeaderAccept;void 0===jt&&(jt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==jt&&(Ye=Ye.set("Accept",jt));let bt=f&&f.context;void 0===bt&&(bt=new e.qT);let Yt="json";return jt&&(Yt=jt.startsWith("text")?"text":this.configuration.isJsonMime(jt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:bt,params:x,responseType:Yt,withCredentials:this.configuration.withCredentials,headers:Ye,observe:a,reportProgress:d})}getEntitylessAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getEntitylessAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"key")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEntitylessAttributesByKey(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"key"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEntitylessAttributesByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attrName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEntitylessAttributesWithKeys(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attrName")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"keys[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEntitylessKeys(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getFacilityAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getFacilityAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getFacilityAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityResourceUserMemberAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getFacilityResourceUserMemberAttributes.");if(null==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),null!=u&&(r=this.addToHttpParams(r,u,"user")),null!=l&&(r=this.addToHttpParams(r,l,"member"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getFacilityUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityUserAttributes.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getFacilityUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getGroupAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getGroupAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupResourceAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeById.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getGroupResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributeByName.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getGroupResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getHostAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getHostAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHostAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling getHostAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getHostAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getLogins(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberAndUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributes.");if(null==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"workWithUserAttributes"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAndUserAttributesByNames(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberAndUserAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getMemberAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getMemberAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroupAndUserAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAndUserAttributesByNames.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getMemberGroupAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeById.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberGroupAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributeByName.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberGroupAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroupAttributesByNames(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroupAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getMemberGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberGroupAttributesByNames.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getMemberResourceAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeById.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getMemberResourceAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributeByName.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getMemberResourceAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getMemberResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesFacilityService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesFacilityService.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesFacilityServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesFacilityServices.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacilityServices.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")}),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesGroupResourceService(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesGroupResourceService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"group"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesHostService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesHostService.");if(null==o)throw new Error("Required parameter host was null or undefined when calling getRequiredAttributesHostService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"host"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"workWithUserAttributes"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesMemberGroup(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");if(null==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"service")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"group")),null!=l&&(a=this.addToHttpParams(a,l,"member")),null!=s&&(a=this.addToHttpParams(a,s,"workWithUserAttributes"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getRequiredAttributesMemberGroupService(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getRequiredAttributesMemberGroupService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupService.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"group")),null!=u&&(r=this.addToHttpParams(r,u,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRequiredAttributesMemberResource(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberResourceService(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesMemberResourceService.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberResourceService.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),null!=u&&(r=this.addToHttpParams(r,u,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRequiredAttributesResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesResourceService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesResourceService.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesResourceServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter services was null or undefined when calling getRequiredAttributesResourceServices.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResourceServices.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")}),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRequiredAttributesUserFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUserFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesUserFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRequiredAttributesVoService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesVoService.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getRequiredAttributesVoService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getResourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getResourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceGroupAndGroupAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributes.");if(null==u)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"resource")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"workWithGroupAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");if(null==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getResourceGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceGroupMemberAttributesByNames(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==u)throw new Error("Required parameter member was null or undefined when calling getResourceGroupMemberAttributesByNames.");if(null==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"group")),null!=u&&(r=this.addToHttpParams(r,u,"member")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getUserAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getUserAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getUserExtSourceAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserFacilityAttributeById(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeById.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeById.");if(null==u)throw new Error("Required parameter attributeId was null or undefined when calling getUserFacilityAttributeById.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attributeId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributeByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributeByName.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributeByName.");if(null==u)throw new Error("Required parameter attributeName was null or undefined when calling getUserFacilityAttributeByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attributeName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserFacilityAttributes.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getUserFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributeById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeById.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling getVoAttributeById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributeByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributeByName.");if(null==o)throw new Error("Required parameter attributeName was null or undefined when calling getVoAttributeByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attributeName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getVoAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==u)throw new Error("Required parameter group was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)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 d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"facility")),null!=o&&(d=this.addToHttpParams(d,o,"resource")),null!=u&&(d=this.addToHttpParams(d,u,"group")),null!=l&&(d=this.addToHttpParams(d,l,"user")),null!=s&&(d=this.addToHttpParams(d,s,"member")),n&&n.forEach(bt=>{d=this.addToHttpParams(d,bt,"attributes[]")});let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}removeAttributesForFacilityResourceUserMember(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==u)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"facility")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"user")),null!=l&&(a=this.addToHttpParams(a,l,"member")),s&&s.forEach(jt=>{a=this.addToHttpParams(a,jt,"attributes[]")});let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}removeEntitylessAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter key was null or undefined when calling removeEntitylessAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeEntitylessAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"key")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeFacilityAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeFacilityAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeGroupAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeGroupAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupResourceAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttribute.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeGroupResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");if(null==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeHostAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeHostAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHostAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHostAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeHostAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"host")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeMemberAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberAttributesWorkWithUserAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")}),null!=u&&(t=this.addToHttpParams(t,u,"workWithUserAttributes"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttribute.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberGroupAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");if(null==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"group")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeMemberResourceAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttribute.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeMemberResourceAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberResourceAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeMemberResourceAttributes.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeMemberResourceAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeMemberResourceAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeResourceAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeResourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeResourceAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUesAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUesAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUesAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeUserAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserExtSourceAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSourceAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeUserExtSourceAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userExtSource")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserFacilityAttribute(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttribute.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttribute.");if(null==u)throw new Error("Required parameter attribute was null or undefined when calling removeUserFacilityAttribute.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"attribute"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeUserFacilityAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserFacilityAttributes.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeUserFacilityAttributes.");if(null==u)throw new Error("Required parameter attributes was null or undefined when calling removeUserFacilityAttributes.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attributes[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeVoAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttribute.");if(null==o)throw new Error("Required parameter attribute was null or undefined when calling removeVoAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"attribute"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeVoAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setAttributePolicyCollections(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setAttributeRights(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setEntitylessAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityResourceGroupUserMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityResourceUserMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setFacilityUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setGroupResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setHostAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setHostAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberGroupWithUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAndUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setMemberWithUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setResourceGroupWithGroupAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserExtSourceAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserExtSourceAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserFacilityAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setUserFacilityAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setVoAttribute(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setVoAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),v=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}auditMessagesManagerLog(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter msg was null or undefined when calling auditMessagesManagerLog.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"msg"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/log`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createAuditerConsumer(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling createAuditerConsumer.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consumerName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/createAuditerConsumer`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAuditerConsumers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAllAuditerConsumers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAuditerMessagesCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getAuditerMessagesCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getLastMessageId(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getLastMessageId`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMessages(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"count"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessages`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMessagesByCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter count was null or undefined when calling getMessagesByCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"count"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesByCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMessagesPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMessagesPage was null or undefined when calling getMessagesPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/auditMessagesManager/getMessagesPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}pollConsumerMessages(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling pollConsumerMessages.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consumerName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/auditMessagesManager/pollConsumerMessages`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}setLastProcessedId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consumerName was null or undefined when calling setLastProcessedId.");if(null==o)throw new Error("Required parameter lastProcessedId was null or undefined when calling setLastProcessedId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consumerName")),null!=o&&(n=this.addToHttpParams(n,o,"lastProcessedId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/auditMessagesManager/setLastProcessedId`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),I=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAllPolicies(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllRolesManagementRules(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAuthzAdminGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzAdminGroups.");if(null==o)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzAdminGroups.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"role")),null!=o&&(t=this.addToHttpParams(t,o,"complementaryObjectId")),null!=u&&(t=this.addToHttpParams(t,u,"complementaryObjectName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAuthzRichAdmins(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter role was null or undefined when calling getAuthzRichAdmins.");if(null==o)throw new Error("Required parameter complementaryObjectId was null or undefined when calling getAuthzRichAdmins.");if(null==u)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"role")),null!=o&&(d=this.addToHttpParams(d,o,"complementaryObjectId")),null!=u&&(d=this.addToHttpParams(d,u,"complementaryObjectName")),l&&l.forEach(bt=>{d=this.addToHttpParams(d,bt,"specificAttributes")}),null!=s&&(d=this.addToHttpParams(d,s,"allUserAttributes")),null!=n&&(d=this.addToHttpParams(d,n,"onlyDirectAdmins"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}getFacilitiesWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupRoleNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupRoles(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"groupId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getLoggedUser(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMembersWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getPerunPrincipal(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPrincipalRoleNames(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getResourcesWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserRoleNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserRoles(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosWhereUserIsInRoles(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"user")),i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"roles[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isFacilityAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isGroupAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isPerunAdmin(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}isVoAdmin(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}keepAlive(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}loadAuthorizationComponents(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}setRoleWithGroupComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setRoleWithUserComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unsetRoleWithGroupComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unsetRoleWithUserComplementaryObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),A=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}changeConsentStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consent")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}evaluateConsentsForConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling evaluateConsentsForConsentHub.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consentHub"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForConsentHub`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}evaluateConsentsForService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling evaluateConsentsForService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForService`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllConsentHubs(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllConsents(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getConsentById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentForUserAndConsentHub(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==o)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==u)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"consentHub")),null!=u&&(t=this.addToHttpParams(t,u,"status"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getConsentHubByFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentHubById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentHubByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"consentHub"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForConsentHubWithStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"consentHub")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getConsentsForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getConsentsForUserAndConsentHub(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==o)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"consentHub"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getConsentsForUserWithStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateConsentHub(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateConsentHub was null or undefined when calling updateConsentHub.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),j=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addExtSourceWithGroupSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling addExtSourceWithGroupSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithGroupSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/g-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addExtSourceWithVoSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addExtSourceWithVoSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling addExtSourceWithVoSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/addExtSource/v-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createExtSourceFromExtSourceObject(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ExtSourceObject was null or undefined when calling createExtSourceFromExtSourceObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/extSourcesManager/createExtSource/es`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createExtSourceWithNameType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createExtSourceWithNameType.");if(null==o)throw new Error("Required parameter type was null or undefined when calling createExtSourceWithNameType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/createExtSource/n-t`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteExtSource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/deleteExtSource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getExtSourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSourceByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getExtSourceByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSourceByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getExtSources(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getExtSources`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getGroupExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getGroupExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/getVoExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}loadExtSourcesDefinitions(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/extSourcesManager/loadExtSourcesDefinitions`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeExtSourceWithGroupSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeExtSourceWithGroupSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithGroupSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/g-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeExtSourceWithVoSource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeExtSourceWithVoSource.");if(null==o)throw new Error("Required parameter source was null or undefined when calling removeExtSourceWithVoSource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"source"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/extSourcesManager/removeExtSource/v-s`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),G=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addFacilityAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminGroupByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminGroupByFacilityName.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addFacilityAdminGroupByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/group/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityAdminUserByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityAdminUserByFacilityName.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addFacilityAdminUserByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addAdmin/user/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwner.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByFacilityNameOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByFacilityNameOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/f-o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addFacilityOwnerByOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addFacilityOwnerByOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling addFacilityOwnerByOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addOwner/o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHost(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHost.");if(null==o)throw new Error("Required parameter hostname was null or undefined when calling addHost.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"hostname"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHostByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostByFacilityName.");if(null==o)throw new Error("Required parameter hostname was null or undefined when calling addHostByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"hostname"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHost/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHosts.");if(null==o)throw new Error("Required parameter hostnames was null or undefined when calling addHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hostnames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addHostsByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addHostsByFacilityName.");if(null==o)throw new Error("Required parameter hostnames was null or undefined when calling addHostsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hostnames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/addHosts/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignSecurityTeam(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeam.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeam.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignSecurityTeamByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling assignSecurityTeamByFacilityName.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling assignSecurityTeamByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/assignSecurityTeam/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributes.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyAttributesByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyAttributesBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-dest-names`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyAttributesBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyAttributesBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyAttributesBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyAttributes/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagers.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyManagers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyManagersByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyManagersBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyManagersBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyManagersBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyManagersBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyManagers/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwners(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwners.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyOwners.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersByDestinationName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacility was null or undefined when calling copyOwnersByDestinationName.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersByDestinationName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacility")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersBySourceDestinationNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");if(null==o)throw new Error("Required parameter destFacilityName was null or undefined when calling copyOwnersBySourceDestinationNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacilityName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-dest-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyOwnersBySourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter srcFacilityName was null or undefined when calling copyOwnersBySourceName.");if(null==o)throw new Error("Required parameter destFacility was null or undefined when calling copyOwnersBySourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"srcFacilityName")),null!=o&&(n=this.addToHttpParams(n,o,"destFacility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/copyOwners/src-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"description"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/createFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling deleteFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/deleteFacility/f-name`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllowedGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedGroupsByFacilityName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedGroupsByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedGroups/f-name`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedRichGroupsWithAttributes(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributes.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributes.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"vo")),null!=l&&(r=this.addToHttpParams(r,l,"service"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllowedRichGroupsWithAttributesByFacilityName(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllowedRichGroupsWithAttributesByFacilityName.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"vo")),null!=l&&(r=this.addToHttpParams(r,l,"service"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedRichGroupsWithAttributes/f-name`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllowedUsersOfFacility(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacility.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedUsersOfFacilityByFacilityName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedUsersOfFacilityByFacilityName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"service"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAllowedUsers/v-f-s/f-name`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAllowedVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedVosByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllowedVosByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/getAllowedVos/f-name`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedFacilitiesByGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedFacilitiesByMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/member`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedFacilitiesByService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/service`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedFacilitiesByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedFacilitiesByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedFacilities/user`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesByAssignedServiceForFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedResourcesByAssignedServiceForFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResourcesByAssignedService`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedResourcesForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesForFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedResourcesForFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedResources/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForFacilityAndService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityAndService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesForFacilityAndService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-s`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedRichResourcesForFacilityByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedRichResourcesForFacilityByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedRichResources/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedSecurityTeams(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeams.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedSecurityTeamsByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedSecurityTeamsByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedSecurityTeams/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedUsers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedUsersByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedUsersByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAssignedUsers/f-name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getBansForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facilityId was null or undefined when calling getBansForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facilityId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getBansForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBansForUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEnrichedFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getEnrichedHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedHosts.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getEnrichedHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getEnrichedHosts`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilitiesByAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getFacilitiesByAttribute.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getFacilitiesByAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeName")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByAttribute`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilitiesByDestination(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getFacilitiesByDestination.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByDestination`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesByHostName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getFacilitiesByHostName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByHostName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getFacilitiesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilitiesCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFacilitiesWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilitiesWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilitiesWhereUserIsAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAdminGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdminGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAdminUsers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsers.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityAdminUsersByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAdminUsersByFacilityName.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getFacilityAdminUsersByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getAdmins/f-name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityBan(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getFacilityBan.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getFacilityBan.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBan`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacilityBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getFacilityBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getFacilityById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getFacilityByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityForHost(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling getFacilityForHost.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getFacilityForHost`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityOwners(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwners.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityOwnersByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityOwnersByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwners/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getHostById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHosts(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHosts.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHosts/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsByHostname(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling getHostsByHostname.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsByHostname`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getHostsCountByFacilityName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getHostsCountByFacilityName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getHostsCount/f-name`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getOwnerFacilities(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerFacilities.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"owner"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getOwnerFacilities`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichFacilities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/facilitiesManager/getRichFacilities`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeBanByUserIdFacilityId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeBanByUserIdFacilityId.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeBanByUserIdFacilityId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byUserIdFacilityId`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminGroupByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminGroupByFacilityName.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeFacilityAdminGroupByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/group/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityAdminUserByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityAdminUserByFacilityName.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeFacilityAdminUserByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeAdmin/user/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeFacilityBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeBan/byId`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeFacilityOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwner.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByFacilityNameOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByFacilityNameOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/f-o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeFacilityOwnerByOwnerName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeFacilityOwnerByOwnerName.");if(null==o)throw new Error("Required parameter owner was null or undefined when calling removeFacilityOwnerByOwnerName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"owner"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeOwner/o-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHost(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter host was null or undefined when calling removeHost.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"host"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHost`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeHostByHostname(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter hostname was null or undefined when calling removeHostByHostname.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"hostname"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHostByHostname`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeHosts(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHosts.");if(null==o)throw new Error("Required parameter hosts was null or undefined when calling removeHosts.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hosts[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeHostsByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeHostsByFacilityName.");if(null==o)throw new Error("Required parameter hosts was null or undefined when calling removeHostsByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"hosts[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeHosts/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSecurityTeam(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeam.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeam.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSecurityTeamByFacilityName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling removeSecurityTeamByFacilityName.");if(null==o)throw new Error("Required parameter securityTeam was null or undefined when calling removeSecurityTeamByFacilityName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"securityTeam"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/facilitiesManager/removeSecurityTeam/f-name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setFacilityBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetBanForUserOnFacility was null or undefined when calling setFacilityBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFacility was null or undefined when calling updateFacility.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateFacility`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFacilityBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateBanForFacility was null or undefined when calling updateFacilityBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/facilitiesManager/updateBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),he=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling addMember.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling addMembers.");if(null==o)throw new Error("Required parameter members was null or undefined when calling addMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"members[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}allowGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling allowGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling allowGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/allowGroupToHierarchicalVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}canExtendMembershipInGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembershipInGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling canExtendMembershipInGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createGroupUnion(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling createGroupUnion.");if(null==o)throw new Error("Required parameter operandGroup was null or undefined when calling createGroupUnion.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resultGroup")),null!=o&&(n=this.addToHttpParams(n,o,"operandGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createGroupWithParentGroupNameDescription(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter parentGroup was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createGroupWithParentGroupNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithParentGroupNameDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"parentGroup")),null!=o&&(t=this.addToHttpParams(t,o,"name")),null!=u&&(t=this.addToHttpParams(t,u,"description"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}createGroupWithVoNameDescription(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createGroupWithVoNameDescription.");if(null==o)throw new Error("Required parameter name was null or undefined when calling createGroupWithVoNameDescription.");if(null==u)throw new Error("Required parameter description was null or undefined when calling createGroupWithVoNameDescription.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"name")),null!=u&&(t=this.addToHttpParams(t,u,"description"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}deleteGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputDeleteGroups was null or undefined when calling deleteGroups.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}disallowGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling disallowGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling disallowGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/disallowGroupToHierarchicalVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}extendMembershipInGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembershipInGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling extendMembershipInGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}forceAllSubGroupsSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceGroupStructureSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceGroupSynchronization(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllAllowedGroupsToHierarchicalVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllAllowedGroupsToHierarchicalVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllGroupsFromAllVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllMemberGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attrNames[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichGroupsWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllRichGroupsWithAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroupsWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllRichSubGroupsWithGroupAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupByName.");if(null==o)throw new Error("Required parameter name was null or undefined when calling getGroupByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"name"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupMemberById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMemberById.");if(null==o)throw new Error("Required parameter member was null or undefined when calling getGroupMemberById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCountsByGroupStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupMembersCountsByVoStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupRichMembersByIds(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupRichMembersByIds.");if(null==o)throw new Error("Required parameter members was null or undefined when calling getGroupRichMembersByIds.");if(null==u)throw new Error("Required parameter attrNames was null or undefined when calling getGroupRichMembersByIds.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"members[]")}),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupUnions(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupUnions.");if(null==o)throw new Error("Required parameter reverseDirection was null or undefined when calling getGroupUnions.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"reverseDirection"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getGroupsWhereMemberIsActive(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getGroupsWhereMemberIsActive.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsWhereMemberIsActive`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getIndirectMembershipPaths(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getIndirectMembershipPaths.");if(null==o)throw new Error("Required parameter group was null or undefined when calling getIndirectMembershipPaths.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMemberGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberRichGroupsWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getMemberRichGroupsWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichGroupByIdWithAttributesByNames(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"groupId")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSubgroupsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getVoAllAllowedGroupsToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isAllowedGroupToHierarchicalVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling isAllowedGroupToHierarchicalVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling isAllowedGroupToHierarchicalVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isAllowedGroupToHierarchicalVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isGroupMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling isGroupMember.");if(null==o)throw new Error("Required parameter group was null or undefined when calling isGroupMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}moveGroupWithDestinationGroupMovingGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let n=new e.LE({encoder:this.encoder});null!=o&&(n=this.addToHttpParams(n,o,"destinationGroup")),null!=i&&(n=this.addToHttpParams(n,i,"movingGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupUnion(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resultGroup was null or undefined when calling removeGroupUnion.");if(null==o)throw new Error("Required parameter operandGroup was null or undefined when calling removeGroupUnion.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resultGroup")),null!=o&&(n=this.addToHttpParams(n,o,"operandGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeMember.");if(null==o)throw new Error("Required parameter member was null or undefined when calling removeMember.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeMembers.");if(null==o)throw new Error("Required parameter members was null or undefined when calling removeMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"members[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setGroupsMemberStatus(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling setGroupsMemberStatus.");if(null==o)throw new Error("Required parameter group was null or undefined when calling setGroupsMemberStatus.");if(null==u)throw new Error("Required parameter status was null or undefined when calling setGroupsMemberStatus.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"group")),null!=u&&(t=this.addToHttpParams(t,u,"status"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateGroup was null or undefined when calling updateGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),be=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}canExtendMembership(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createMemberForCandidate(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createMemberForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberForUser was null or undefined when calling createMemberForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createMemberFromExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSpecificMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSpecificMember was null or undefined when calling createSpecificMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMembers was null or undefined when calling createSponsoredMembers.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createSponsoredMembersFromCSV(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"members[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}extendMembership(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}findCompleteRichMembersByAttributes(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersByAttributes.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersByAttributes.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrsNames[]")}),null!=o&&(t=this.addToHttpParams(t,o,"searchString")),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"allowedStatuses[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}findCompleteRichMembersForGroup(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForGroup.");if(null==l)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"group")),o&&o.forEach(bt=>{d=this.addToHttpParams(d,bt,"attrsNames[]")}),s&&s.forEach(bt=>{d=this.addToHttpParams(d,bt,"allowedStatuses[]")}),n&&n.forEach(bt=>{d=this.addToHttpParams(d,bt,"allowedGroupStatuses[]")}),null!=u&&(d=this.addToHttpParams(d,u,"searchString")),null!=l&&(d=this.addToHttpParams(d,l,"lookingInParentGroup"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}findCompleteRichMembersForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findCompleteRichMembersForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"allowedStatuses[]")}),null!=u&&(r=this.addToHttpParams(r,u,"searchString"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}findMembersInVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findMembersInVo.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findMembersInVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"searchString"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findSponsoredCompleteRichMembersForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==o)throw new Error("Required parameter attrsNames was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling findSponsoredCompleteRichMembersForVo.");if(null==l)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),null!=u&&(r=this.addToHttpParams(r,u,"searchString")),null!=l&&(r=this.addToHttpParams(r,l,"onlySponsored"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getAllMembers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllNamespacesRules(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllSponsoredMembersAndTheirSponsors(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getAllSponsoredMembersAndTheirSponsors.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getCompleteRichMembersForGroup(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroup.");if(null==o)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling getCompleteRichMembersForGroup.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),u&&u.forEach(jt=>{a=this.addToHttpParams(a,jt,"allowedStatuses[]")}),l&&l.forEach(jt=>{a=this.addToHttpParams(a,jt,"allowedGroupStatuses[]")}),null!=o&&(a=this.addToHttpParams(a,o,"lookingInParentGroup")),s&&s.forEach(jt=>{a=this.addToHttpParams(a,jt,"attrsNames[]")});let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getCompleteRichMembersForGroupResource(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==u)throw new Error("Required parameter attrsNames was null or undefined when calling getCompleteRichMembersForGroupResource.");if(null==l)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),null!=o&&(r=this.addToHttpParams(r,o,"resource")),u&&u.forEach(It=>{r=this.addToHttpParams(r,It,"attrsNames[]")}),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"allowedStatuses[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getCompleteRichMembersForVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"allowedStatuses[]")}),u&&u.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrsNames[]")});let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberByExtSourceNameAndExtLogin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extLogin was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");if(null==u)throw new Error("Required parameter extSourceName was null or undefined when calling getMemberByExtSourceNameAndExtLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"extLogin")),null!=u&&(t=this.addToHttpParams(t,u,"extSourceName"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberByUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberByUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getMemberByUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMembers(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMembersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersCount(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMembersPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedMembers was null or undefined when calling getMembersPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getMembersWithStatusCount(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMembersWithStatusCount.");if(null==o)throw new Error("Required parameter status was null or undefined when calling getMembersWithStatusCount.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichMemberWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichMembersByIds(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"ids[]")}),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichMembersNoUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsoredMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsoredMembersAndTheirSponsors(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembersAndTheirSponsors.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getSponsoredMembersAndTheirSponsors.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsByMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsByVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsByVo.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsByVo.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsByVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"extSourceName")),null!=u&&(r=this.addToHttpParams(r,u,"extLogin")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}moveMembership(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling moveMembership.");if(null==o)throw new Error("Required parameter sourceUser was null or undefined when calling moveMembership.");if(null==u)throw new Error("Required parameter targetUser was null or undefined when calling moveMembership.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"sourceUser")),null!=u&&(t=this.addToHttpParams(t,u,"targetUser"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeSponsor(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeSponsor.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling removeSponsor.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"sponsor"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendAccountActivationLinkEmail(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendAccountActivationLinkEmail.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling sendAccountActivationLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendAccountActivationLinkEmail.");if(null==l)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"member")),null!=o&&(r=this.addToHttpParams(r,o,"namespace")),null!=u&&(r=this.addToHttpParams(r,u,"emailAttributeURN")),null!=l&&(r=this.addToHttpParams(r,l,"language"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sendPasswordResetLinkEmail(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter member was null or undefined when calling sendPasswordResetLinkEmail.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling sendPasswordResetLinkEmail.");if(null==u)throw new Error("Required parameter emailAttributeURN was null or undefined when calling sendPasswordResetLinkEmail.");if(null==l)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"member")),null!=o&&(a=this.addToHttpParams(a,o,"namespace")),null!=u&&(a=this.addToHttpParams(a,u,"emailAttributeURN")),null!=l&&(a=this.addToHttpParams(a,l,"language")),null!=s&&(a=this.addToHttpParams(a,s,"baseUrl"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}setSponsoredMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setSponsorshipForMember(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter sponsoredMember was null or undefined when calling setSponsorshipForMember.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling setSponsorshipForMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"sponsoredMember")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}setStatus(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling setStatus.");if(null==o)throw new Error("Required parameter status was null or undefined when calling setStatus.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"status"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sponsorMember(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling sponsorMember.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling sponsorMember.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateSponsorshipValidity(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter member was null or undefined when calling updateSponsorshipValidity.");if(null==o)throw new Error("Required parameter sponsor was null or undefined when calling updateSponsorshipValidity.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"member")),null!=o&&(t=this.addToHttpParams(t,o,"sponsor")),null!=u&&(t=this.addToHttpParams(t,u,"validityTo"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}validateMemberAsync(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),pe=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}createOwner(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateOwner was null or undefined when calling createOwner.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"owner")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllOwners(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getOwnerById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getOwnerByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"owner"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),ye=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}sentMessageToRTWithMemberQueue(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter memberId was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==o)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"memberId")),null!=o&&(r=this.addToHttpParams(r,o,"queue")),null!=u&&(r=this.addToHttpParams(r,u,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sentMessageToRTWithQueue(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithQueue.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithQueue.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"queue")),null!=o&&(t=this.addToHttpParams(t,o,"subject")),null!=u&&(t=this.addToHttpParams(t,u,"text"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVo.");if(null==o)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVo.");if(null==u)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"voId")),null!=o&&(t=this.addToHttpParams(t,o,"subject")),null!=u&&(t=this.addToHttpParams(t,u,"text"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVoQueue(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter voId was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==o)throw new Error("Required parameter queue was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==u)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"voId")),null!=o&&(r=this.addToHttpParams(r,o,"queue")),null!=u&&(r=this.addToHttpParams(r,u,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),T=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addApplicationMailForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addApplicationMailForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addGroupsToAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}approveApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}checkForSimilarRichIdentities(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}checkForSimilarUsersWithAuthInfo(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}consolidate(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}consolidateIdentityUsingToken(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"token"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}copyFormFromGroupToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromGroupToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromVoToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyFormFromVoToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromGroupToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromGroupToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromGroup")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromVoToGroup(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyMailsFromVoToVo(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"fromVo")),null!=o&&(n=this.addToHttpParams(n,o,"toVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createApplicationFormInGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}createApplicationFormInVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteApplicationMailForGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deleteApplicationMailForGroup.");if(null==o)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"id"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteApplicationMailForVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteApplicationMailForVo.");if(null==o)throw new Error("Required parameter id was null or undefined when calling deleteApplicationMailForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"id"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteGroupsFromAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationDataById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationMailsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationMailsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getApplicationsForGroup(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"group")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"state[]")}),null!=u&&(r=this.addToHttpParams(r,u,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getApplicationsForMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getApplicationsForVo(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"state[]")}),null!=u&&(r=this.addToHttpParams(r,u,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getApplicationsPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getConsolidatorToken(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFormItemsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFormItemsForGroupWithType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFormItemsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFormItemsForVoWithType(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"type"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupApplicationForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsToAutoRegistration(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoApplicationForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}rejectApplication(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"id")),null!=o&&(n=this.addToHttpParams(n,o,"reason"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendInvitation(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitation.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendInvitation.");let r=new e.LE({encoder:this.encoder});null!=u&&(r=this.addToHttpParams(r,u,"voId")),null!=l&&(r=this.addToHttpParams(r,l,"name")),null!=i&&(r=this.addToHttpParams(r,i,"email")),null!=o&&(r=this.addToHttpParams(r,o,"language"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}sendInvitationForGroup(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter email was null or undefined when calling sendInvitationForGroup.");if(null==o)throw new Error("Required parameter language was null or undefined when calling sendInvitationForGroup.");let a=new e.LE({encoder:this.encoder});null!=u&&(a=this.addToHttpParams(a,u,"voId")),null!=l&&(a=this.addToHttpParams(a,l,"groupId")),null!=s&&(a=this.addToHttpParams(a,s,"name")),null!=i&&(a=this.addToHttpParams(a,i,"email")),null!=o&&(a=this.addToHttpParams(a,o,"language"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}sendInvitationGroupToExistingUser(i,o,u,l="body",s=!1,n){let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"userId")),null!=o&&(t=this.addToHttpParams(t,o,"voId")),null!=u&&(t=this.addToHttpParams(t,u,"groupId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sendInvitationToExistingUser(i,o,u="body",l=!1,s){let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"userId")),null!=o&&(n=this.addToHttpParams(n,o,"voId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}sendMessage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}setSendingEnabled(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}submitApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateApplicationMail(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateForm(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemData(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsData(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsForGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateFormItemsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}verifyApplication(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),R=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}activateGroupResourceAssignment(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling activateGroupResourceAssignment.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling activateGroupResourceAssignment.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),null!=o&&(t=this.addToHttpParams(t,o,"resource")),null!=u&&(t=this.addToHttpParams(t,u,"async"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}addAdminToGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addAdminToGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addAdminToUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addAdminToUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addAdminToUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addResourceSelfServiceGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling addResourceSelfServiceGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addResourceSelfServiceUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling addResourceSelfServiceUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addResourceSelfServiceUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}allowGroupsToResources(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter groups was null or undefined when calling allowGroupsToResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling allowGroupsToResources.");let t=new e.LE({encoder:this.encoder});i&&i.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"groups[]")}),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"resources[]")}),null!=u&&(t=this.addToHttpParams(t,u,"async"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}assignGroupToResource(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling assignGroupToResource.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignGroupToResources(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter group was null or undefined when calling assignGroupToResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling assignGroupToResources.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"group")),o&&o.forEach(jt=>{a=this.addToHttpParams(a,jt,"resources[]")}),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignGroupsToResource(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter groups was null or undefined when calling assignGroupsToResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling assignGroupsToResource.");let a=new e.LE({encoder:this.encoder});i&&i.forEach(jt=>{a=this.addToHttpParams(a,jt,"groups[]")}),null!=o&&(a=this.addToHttpParams(a,o,"resource")),null!=u&&(a=this.addToHttpParams(a,u,"async")),null!=l&&(a=this.addToHttpParams(a,l,"assignInactive")),null!=s&&(a=this.addToHttpParams(a,s,"autoAssignSubgroups"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}assignResourceTagToResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}assignService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling assignService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServices.");if(null==o)throw new Error("Required parameter services was null or undefined when calling assignServices.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}assignServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling assignServicesPackage.");if(null==o)throw new Error("Required parameter servicesPackage was null or undefined when calling assignServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"servicesPackage"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}copyResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createResource(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling createResource.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling createResource.");if(null==u)throw new Error("Required parameter name was null or undefined when calling createResource.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"facility")),null!=u&&(r=this.addToHttpParams(r,u,"name")),null!=l&&(r=this.addToHttpParams(r,l,"description"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}createResourceTagWithResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createResourceTagWithTagName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter tagName was null or undefined when calling createResourceTagWithTagName.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling createResourceTagWithTagName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"tagName")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deactivateGroupResourceAssignment(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling deactivateGroupResourceAssignment.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling deactivateGroupResourceAssignment.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteAllResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteAllResourcesTagsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}deleteResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAdminGroups(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAdmins(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAdmins.");if(null==o)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getAdmins.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"onlyDirectAdmins"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllResourcesByResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAllResourcesTagsForResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesTagsForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllowedUsersOfResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"member"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedMembersWithStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResourcesWithStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichMembers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithGroup(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"group"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesWithMemberService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMemberService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling getAssignedRichResourcesWithMemberService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAssignedServicesToResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getBansForResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getEnrichedResourceById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"id")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEnrichedResourcesForFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getEnrichedResourcesForVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupAssignments(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getMailingServiceRichResourcesWithMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getMailingServiceRichResourcesWithMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getMailingServiceRichResourcesWithMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceAssignments(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceBan(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getResourceBan.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getResourceBan.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourceBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourceByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourceByName.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getResourceByName.");if(null==u)throw new Error("Required parameter name was null or undefined when calling getResourceByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"name"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesCountForAll(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getResourcesCountForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getResourcesFromVoWhereUserIsAdmin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter user was null or undefined when calling getResourcesFromVoWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getResourcesWhereGroupIsAdmin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereGroupIsAdmin.");if(null==u)throw new Error("Required parameter group was null or undefined when calling getResourcesWhereGroupIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"group"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourcesWhereUserIsAdmin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getResourcesWhereUserIsAdmin.");if(null==u)throw new Error("Required parameter user was null or undefined when calling getResourcesWhereUserIsAdmin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"facility")),null!=o&&(t=this.addToHttpParams(t,o,"vo")),null!=u&&(t=this.addToHttpParams(t,u,"user"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRichAdmins(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getRichAdmins.");if(null==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdmins.");if(null==u)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdmins.");if(null==l)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"resource")),o&&o.forEach(It=>{r=this.addToHttpParams(r,It,"specificAttributes")}),null!=u&&(r=this.addToHttpParams(r,u,"allUserAttributes")),null!=l&&(r=this.addToHttpParams(r,l,"onlyDirectAdmins"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getRichResourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichResourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling getVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeAllResourceTagsFromResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"resource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeBanByMemberAndResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeBanByMemberAndResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeBanByMemberAndResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupAdminResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeGroupAdminResource.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeGroupAdminResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupFromResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupFromResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupFromResources(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling removeGroupFromResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling removeGroupFromResources.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"resources[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeGroupsFromResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling removeGroupsFromResource.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling removeGroupsFromResource.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeResourceSelfServiceGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceGroup.");if(null==o)throw new Error("Required parameter group was null or undefined when calling removeResourceSelfServiceGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"group"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceSelfServiceUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeResourceSelfServiceUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeResourceSelfServiceUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeResourceTagFromResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}removeService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeService.");if(null==o)throw new Error("Required parameter service was null or undefined when calling removeService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServices(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServices.");if(null==o)throw new Error("Required parameter services was null or undefined when calling removeServices.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"services[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeServicesPackage.");if(null==o)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"servicesPackage"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserAdminResource(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter resource was null or undefined when calling removeUserAdminResource.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeUserAdminResource.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"resource")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setResourceBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}unallowGroupsFromResources(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter groups was null or undefined when calling unallowGroupsFromResources.");if(null==o)throw new Error("Required parameter resources was null or undefined when calling unallowGroupsFromResources.");let n=new e.LE({encoder:this.encoder});i&&i.forEach(x=>{n=this.addToHttpParams(n,x,"groups[]")}),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"resources[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateResource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateResourceBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateResourceTag(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),L=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAttributesMatchResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMatchResources was null or undefined when calling getAttributesMatchResources.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getResources/attributes-match`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAttributesResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetResources was null or undefined when calling getAttributesResources.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getResources/attributes`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getFacilities(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetFacilities was null or undefined when calling getFacilities.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getFacilities`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getMembersByUserAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetMembersByUserAttributes was null or undefined when calling getMembersByUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getMembersByUserAttributes`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getUsersSearcher(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetUsers was null or undefined when calling getUsersSearcher.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/searcher/getUsers`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),X=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addDestination(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestination.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling addDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling addDestination.");if(null==l)throw new Error("Required parameter type was null or undefined when calling addDestination.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"service")),null!=o&&(a=this.addToHttpParams(a,o,"facility")),null!=u&&(a=this.addToHttpParams(a,u,"destination")),null!=l&&(a=this.addToHttpParams(a,l,"type")),null!=s&&(a=this.addToHttpParams(a,s,"propagationType"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestination`,null,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}addDestinationToMultipleServices(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddDestinationToMultipleServices was null or undefined when calling addDestinationToMultipleServices.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestination`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/f`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputAddDestinationsDefinedByHostsOnFacility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithListOfServiceAndFacility.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/addDestinationsDefinedByHostsOnFacility/lists-f`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling addDestinationsDefinedByHostsOnFacilityWithServiceAndFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsDefinedByHostsOnFacility/s-f`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addDestinationsForAllServicesOnFacility(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter facility was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling addDestinationsForAllServicesOnFacility.");if(null==u)throw new Error("Required parameter type was null or undefined when calling addDestinationsForAllServicesOnFacility.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"facility")),null!=o&&(r=this.addToHttpParams(r,o,"destination")),null!=u&&(r=this.addToHttpParams(r,u,"type")),null!=l&&(r=this.addToHttpParams(r,l,"propagationType"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addDestinationsForAllServicesOnFacility`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}addRequiredAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttribute.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling addRequiredAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttribute`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addRequiredAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling addRequiredAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling addRequiredAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addRequiredAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addServiceToServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling addServiceToServicesPackage.");if(null==o)throw new Error("Required parameter service was null or undefined when calling addServiceToServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"servicesPackage")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/addServiceToServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockAllServicesOnDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/d`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}blockAllServicesOnDestinationByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter destination was null or undefined when calling blockAllServicesOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling blockAllServicesOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"destination")),null!=o&&(n=this.addToHttpParams(n,o,"destinationType"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnDestination/dname-dtype`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockAllServicesOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling blockAllServicesOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockAllServicesOnFacility`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}blockServiceOnDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-d`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}blockServiceOnDestinationWithNameAndType(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling blockServiceOnDestinationWithNameAndType.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling blockServiceOnDestinationWithNameAndType.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"destination")),null!=u&&(t=this.addToHttpParams(t,u,"destinationType"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnDestination/s-dname-dtype`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}blockServiceOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling blockServiceOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling blockServiceOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/blockServiceOnFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createService(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter name was null or undefined when calling createService.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createService.");if(null==u)throw new Error("Required parameter script was null or undefined when calling createService.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"name")),null!=o&&(t=this.addToHttpParams(t,o,"description")),null!=u&&(t=this.addToHttpParams(t,u,"script"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createService`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}createServiceWithService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateService was null or undefined when calling createServiceWithService.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createService`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateServicesPackage was null or undefined when calling createServicesPackage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/createServicesPackage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServicesPackageByNameAndDescription(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createServicesPackageByNameAndDescription.");if(null==o)throw new Error("Required parameter description was null or undefined when calling createServicesPackageByNameAndDescription.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"description"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/createServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteService(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling deleteService.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteService`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling deleteServicesPackage.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/deleteServicesPackage`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}forceServicePropagation(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling forceServicePropagation.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/forceServicePropagation`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllDestinations(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/all`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getAllRichDestinationsForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAllRichDestinationsForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllRichDestinationsForService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAllRichDestinationsForService.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAllRichDestinations/s`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedResources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling getAssignedResources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedResourcesForService`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedServices(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServices.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices/f`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedServicesVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getAssignedServicesVo.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getAssignedServicesVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"facility")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getAssignedServices/f-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDataWithGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithGroups.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDataWithGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDataWithVos(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDataWithVos.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDataWithVos.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDataWithVos`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinations/s-f`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getDestinationsCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getDestinationsCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getFacilitiesDestinations(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getFacilitiesDestinations.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilitiesDestinations`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityAssignedServicesForGUI(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityAssignedServicesForGUI.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFacilityAssignedServicesForGUI`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFlatData(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getFlatData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getFlatData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getFlatData`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getHashedDataWithGroups(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedDataWithGroups.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHashedDataWithGroups.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"consentEval"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedDataWithGroups`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getHashedHierarchicalData(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHashedHierarchicalData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHashedHierarchicalData.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"facility")),null!=u&&(t=this.addToHttpParams(t,u,"consentEval"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHashedHierarchicalData`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getHierarchicalData(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getHierarchicalData.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getHierarchicalData.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getHierarchicalData`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getRichDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getRichDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getRichDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getRichDestinations`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getServiceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getServiceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServiceByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServiceByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServiceByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServices(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServices`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getServicesBlockedOnDestination(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling getServicesBlockedOnDestination.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnDestination`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesBlockedOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getServicesBlockedOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesBlockedOnFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesByAttributeDefinition(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter attributeDefinition was null or undefined when calling getServicesByAttributeDefinition.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"attributeDefinition"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesByAttributeDefinition`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesFromServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesFromServicesPackage.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesFromServicesPackage`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackageById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling getServicesPackageById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"servicesPackage"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackageByName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter name was null or undefined when calling getServicesPackageByName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"name"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackageByName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getServicesPackages(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/getServicesPackages`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}isServiceBlockedOnDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling isServiceBlockedOnDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnDestination`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}isServiceBlockedOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isServiceBlockedOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling isServiceBlockedOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/servicesManager/isServiceBlockedOnFacility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}planServicePropagation(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling planServicePropagation.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/planServicePropagation`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAllDestinations(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllDestinations.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeAllDestinations.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllDestinations`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeAllRequiredAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeAllRequiredAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"service"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeAllRequiredAttributes`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeDestination(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeDestination.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling removeDestination.");if(null==u)throw new Error("Required parameter destination was null or undefined when calling removeDestination.");if(null==l)throw new Error("Required parameter type was null or undefined when calling removeDestination.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"service")),null!=o&&(r=this.addToHttpParams(r,o,"facility")),null!=u&&(r=this.addToHttpParams(r,u,"destination")),null!=l&&(r=this.addToHttpParams(r,l,"type"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeDestination`,null,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}removeRequiredAttribute(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttribute.");if(null==o)throw new Error("Required parameter attributeId was null or undefined when calling removeRequiredAttribute.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"attributeId"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttribute`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeRequiredAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling removeRequiredAttributes.");if(null==o)throw new Error("Required parameter attributes was null or undefined when calling removeRequiredAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attributes[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeRequiredAttributes`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeServiceFromServicesPackage(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter servicesPackage was null or undefined when calling removeServiceFromServicesPackage.");if(null==o)throw new Error("Required parameter service was null or undefined when calling removeServiceFromServicesPackage.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"servicesPackage")),null!=o&&(n=this.addToHttpParams(n,o,"service"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/removeServiceFromServicesPackage`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockAllServicesOnDestinationById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"destination"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/d`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}unblockAllServicesOnDestinationByName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter destination was null or undefined when calling unblockAllServicesOnDestinationByName.");if(null==o)throw new Error("Required parameter destinationType was null or undefined when calling unblockAllServicesOnDestinationByName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"destination")),null!=o&&(n=this.addToHttpParams(n,o,"destinationType"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnDestination/dname-dtype`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockAllServicesOnFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling unblockAllServicesOnFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockAllServicesOnFacility`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}unblockServiceOnDestinationById(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationById.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationById.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-d`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}unblockServiceOnDestinationByName(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnDestinationByName.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling unblockServiceOnDestinationByName.");if(null==u)throw new Error("Required parameter destinationType was null or undefined when calling unblockServiceOnDestinationByName.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"service")),null!=o&&(t=this.addToHttpParams(t,o,"destination")),null!=u&&(t=this.addToHttpParams(t,u,"destinationType"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnDestination/s-dname-dtype`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}unblockServiceOnFacility(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling unblockServiceOnFacility.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling unblockServiceOnFacility.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/servicesManager/unblockServiceOnFacility`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}updateService(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateService was null or undefined when calling updateService.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateService`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateServicesPackage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateServicesPackage was null or undefined when calling updateServicesPackage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/servicesManager/updateServicesPackage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Y=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}countTasks(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/countTasks`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}deleteTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskIdObject was null or undefined when calling deleteTask.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTask`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskResultIdObject was null or undefined when calling deleteTaskResultById.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResultById`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultsIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskAndDestinationIdObject was null or undefined when calling deleteTaskResultsIds.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/id`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteTaskResultsNames(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter TaskAndDestinationNameObject was null or undefined when calling deleteTaskResultsNames.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/deleteTaskResults/name`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getAllFacilitiesStates(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllFacilitiesStates`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAllResourcesState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter voId was null or undefined when calling getAllResourcesState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"voId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getAllResourcesState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityServicesState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityServicesState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityServicesState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getFacilityState(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling getFacilityState.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getFacilityState`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTask(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling getTask.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getTask.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTask`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getTaskById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getTaskById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter taskResult was null or undefined when calling getTaskResultById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"taskResult"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResults(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResults`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getTaskResultsByTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsByTask.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsByTask`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForDestinations(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter destinations was null or undefined when calling getTaskResultsForDestinations.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"destinations[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForDestinations`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForGUIByTask(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTask.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTask`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getTaskResultsForGUIByTaskAndDestination(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");if(null==o)throw new Error("Required parameter destination was null or undefined when calling getTaskResultsForGUIByTaskAndDestination.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"task")),null!=o&&(n=this.addToHttpParams(n,o,"destination"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskAndDestination`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getTaskResultsForGUIByTaskOnlyNewest(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter task was null or undefined when calling getTaskResultsForGUIByTaskOnlyNewest.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"task"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/getTaskResultsForGUIByTaskOnlyNewest`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isThereSuchTask(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter service was null or undefined when calling isThereSuchTask.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling isThereSuchTask.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"service")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/isThereSuchTask`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}listAllTasks(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasks`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}listAllTasksForFacility(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter facility was null or undefined when calling listAllTasksForFacility.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"facility"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/tasksManager/listAllTasksForFacility`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}suspendTasksPropagation(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter suspend was null or undefined when calling suspendTasksPropagation.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"suspend"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/tasksManager/suspendTasksPropagation`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),se=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addSpecificUserOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling addSpecificUserOwner.");if(null==o)throw new Error("Required parameter specificUser was null or undefined when calling addSpecificUserOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"specificUser"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addUserExtSource(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}anonymizeUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}changeNonAuthzPasswordByToken(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}changePasswordForLogin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}changePasswordForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}checkPasswordResetRequestByTokenIsValid(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"token"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}checkPasswordStrength(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createAlternativePassword(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}createServiceUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteAlternativePassword(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteAlternativePassword.");if(null==o)throw new Error("Required parameter loginNamespace was null or undefined when calling deleteAlternativePassword.");if(null==u)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"loginNamespace")),null!=u&&(t=this.addToHttpParams(t,u,"passwordId"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}deletePasswordForLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter login was null or undefined when calling deletePasswordForLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"login")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deletePasswordForUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling deletePasswordForUser.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling deletePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}deleteUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findRichUsers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"searchString"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}findRichUsersWithAttributes(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"searchString")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrsNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findUsers(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"searchString"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}generateAccountForName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"namespace")),null!=o&&(n=this.addToHttpParams(n,o,"name"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllRichUsersWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"includedSpecificUsers"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getAssignedRichResourcesForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getGroupsForFacilityWhereUserIsActive(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");if(null==o)throw new Error("Required parameter facility was null or undefined when calling getGroupsForFacilityWhereUserIsActive.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"facility"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsForResourceWhereUserIsActive(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsForResourceWhereUserIsActive.");if(null==o)throw new Error("Required parameter resource was null or undefined when calling getGroupsForResourceWhereUserIsActive.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"resource"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");if(null==o)throw new Error("Required parameter vo was null or undefined when calling getGroupsInVoWhereUserIsAdmin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"vo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getGroupsWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getPendingPreferredEmailChanges(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUserExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUserWithAttributes(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersWithAttributesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichUsersWithoutVoWithAttributes(i,o="body",u=!1,l){let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"attrsNames[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSpecificUsersByUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getSponsorsForMember(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"member")),o&&o.forEach(x=>{n=this.addToHttpParams(n,x,"attrNames[]")});let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getSponsorsForMemberByVoAndLogin(i,o,u,l,s="body",n=!1,t){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getSponsorsForMemberByVoAndLogin.");if(null==u)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let r=new e.LE({encoder:this.encoder});null!=i&&(r=this.addToHttpParams(r,i,"vo")),null!=o&&(r=this.addToHttpParams(r,o,"extSourceName")),null!=u&&(r=this.addToHttpParams(r,u,"extLogin")),l&&l.forEach(It=>{r=this.addToHttpParams(r,It,"attrNames[]")});let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let f=t&&t.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(a=a.set("Accept",f));let x=t&&t.context;void 0===x&&(x=new e.qT);let Ye="json";return f&&(Ye=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:x,params:r,responseType:Ye,withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:n})}getUserByExtSourceNameAndExtLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter extLogin was null or undefined when calling getUserByExtSourceNameAndExtLogin.");if(null==o)throw new Error("Required parameter extSourceName was null or undefined when calling getUserByExtSourceNameAndExtLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"extLogin")),null!=o&&(n=this.addToHttpParams(n,o,"extSourceName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getUserById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceByExtLoginAndExtSourceName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==o)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"extSourceName")),null!=o&&(n=this.addToHttpParams(n,o,"extSourceLogin"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourceByUniqueAttributeValueAndAttributeId(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeId was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeId.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeId")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter attributeName was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");if(null==o)throw new Error("Required parameter attributeValue was null or undefined when calling getUserExtSourceByUniqueAttributeValueAndAttributeName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"attributeName")),null!=o&&(n=this.addToHttpParams(n,o,"attributeValue"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getUserExtSources(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUserExtSourcesByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsers(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getUsersByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsersBySpecificUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"specificUser"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getUsersPage(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}getVosWhereUserIsAdmin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosWhereUserIsMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"user"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}isLoginAvailable(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter loginNamespace was null or undefined when calling isLoginAvailable.");if(null==o)throw new Error("Required parameter login was null or undefined when calling isLoginAvailable.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"loginNamespace")),null!=o&&(n=this.addToHttpParams(n,o,"login"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}loginExist(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling loginExist.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling loginExist.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSpecificUserOwner(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeSpecificUserOwner.");if(null==o)throw new Error("Required parameter specificUser was null or undefined when calling removeSpecificUserOwner.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"specificUser"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeUserExtSource(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling removeUserExtSource.");if(null==o)throw new Error("Required parameter userExtSource was null or undefined when calling removeUserExtSource.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"userExtSource")),null!=u&&(t=this.addToHttpParams(t,u,"force"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}requestPreferredEmailChange(i,o,u,l,s,n,t="body",r=!1,a){if(null==i)throw new Error("Required parameter user was null or undefined when calling requestPreferredEmailChange.");if(null==o)throw new Error("Required parameter email was null or undefined when calling requestPreferredEmailChange.");let d=new e.LE({encoder:this.encoder});null!=i&&(d=this.addToHttpParams(d,i,"user")),null!=o&&(d=this.addToHttpParams(d,o,"email")),null!=u&&(d=this.addToHttpParams(d,u,"lang")),null!=l&&(d=this.addToHttpParams(d,l,"linkPath")),null!=s&&(d=this.addToHttpParams(d,s,"customUrl")),null!=n&&(d=this.addToHttpParams(d,n,"idpFilter"));let x,f=this.defaultHeaders;x=this.configuration.lookupCredential("BasicAuth"),x&&(f=f.set("Authorization","Basic "+x)),x=this.configuration.lookupCredential("BearerAuth"),x&&(f=f.set("Authorization","Bearer "+x));let Ye=a&&a.httpHeaderAccept;void 0===Ye&&(Ye=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ye&&(f=f.set("Accept",Ye));let It=a&&a.context;void 0===It&&(It=new e.qT);let jt="json";return Ye&&(jt=Ye.startsWith("text")?"text":this.configuration.isJsonMime(Ye)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:It,params:d,responseType:jt,withCredentials:this.configuration.withCredentials,headers:f,observe:t,reportProgress:r})}reservePasswordForLogin(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}reservePasswordForUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}reserveRandomPassword(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling reserveRandomPassword.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling reserveRandomPassword.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}setLogin(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==o)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==u)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"user")),null!=o&&(t=this.addToHttpParams(t,o,"login")),null!=u&&(t=this.addToHttpParams(t,u,"namespace"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}updateUser(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateUserExtSourceLastAccess(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"userExtSource"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}validatePasswordForLogin(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter login was null or undefined when calling validatePasswordForLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForLogin.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"login")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}validatePasswordForUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter user was null or undefined when calling validatePasswordForUser.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling validatePasswordForUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"user")),null!=o&&(n=this.addToHttpParams(n,o,"namespace"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}validatePreferredEmailChangeWithToken(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter token was null or undefined when calling validatePreferredEmailChangeWithToken.");if(null==o)throw new Error("Required parameter u was null or undefined when calling validatePreferredEmailChangeWithToken.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"token")),null!=o&&(n=this.addToHttpParams(n,o,"u"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Te=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}getAppsConfig(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getGuiConfiguration(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunRPCVersion(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunStatistics(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunStatus(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getPerunSystemTimeInMillis(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Oe=(()=>{class D{constructor(i,o,u){this.httpClient=i,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new e.WM,this.configuration=new b,u&&(this.configuration=u),"string"!=typeof this.configuration.basePath&&("string"!=typeof o&&(o=this.basePath),this.configuration.basePath=o),this.encoder=this.configuration.encoder||new c}addToHttpParams(i,o,u){return"object"!=typeof o||o instanceof Date?this.addToHttpParamsRecursive(i,o,u):this.addToHttpParamsRecursive(i,o)}addToHttpParamsRecursive(i,o,u){if(null==o)return i;if("object"==typeof o)if(Array.isArray(o))o.forEach(l=>i=this.addToHttpParamsRecursive(i,l,u));else if(o instanceof Date){if(null==u)throw Error("key may not be null if value is Date");i=i.append(u,o.toISOString().substr(0,10))}else Object.keys(o).forEach(l=>i=this.addToHttpParamsRecursive(i,o[l],null!=u?`${u}.${l}`:l));else{if(null==u)throw Error("key may not be null if value is not object or array");i=i.append(u,o)}return i}addMemberVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addSponsorRoleToGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addSponsorRoleToGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addSponsorRoleToUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addSponsorRoleToUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addSponsorRoleToUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addVoAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling addVoAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}addVoAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling addVoAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling addVoAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createVoWithName(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter name was null or undefined when calling createVoWithName.");if(null==o)throw new Error("Required parameter shortName was null or undefined when calling createVoWithName.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"name")),null!=o&&(n=this.addToHttpParams(n,o,"shortName"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}createVoWithVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputCreateVoWithVo was null or undefined when calling createVoWithVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}deleteVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"force"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}findCandidates(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter id was null or undefined when calling findCandidates.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCandidates.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"id")),null!=o&&(t=this.addToHttpParams(t,o,"searchString")),null!=u&&(t=this.addToHttpParams(t,u,"maxNumOfResults"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}findCandidatesForGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter group was null or undefined when calling findCandidatesForGroup.");if(null==o)throw new Error("Required parameter searchString was null or undefined when calling findCandidatesForGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"group")),null!=o&&(n=this.addToHttpParams(n,o,"searchString"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getAllVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getCompleteCandidatesForGroup(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter group was null or undefined when calling getCompleteCandidatesForGroup.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForGroup.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForGroup.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"group")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"searchString"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getCompleteCandidatesForVo(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getCompleteCandidatesForVo.");if(null==o)throw new Error("Required parameter attrNames was null or undefined when calling getCompleteCandidatesForVo.");if(null==u)throw new Error("Required parameter searchString was null or undefined when calling getCompleteCandidatesForVo.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),o&&o.forEach(Ye=>{t=this.addToHttpParams(t,Ye,"attrNames[]")}),null!=u&&(t=this.addToHttpParams(t,u,"searchString"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getEnrichedVoById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMemberVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getMyEnrichedVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getMyVos(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}getParentVos(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getRichAdminsForVo(i,o,u,l,s,n="body",t=!1,r){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getRichAdminsForVo.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getRichAdminsForVo.");if(null==u)throw new Error("Required parameter specificAttributes was null or undefined when calling getRichAdminsForVo.");if(null==l)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==s)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let a=new e.LE({encoder:this.encoder});null!=i&&(a=this.addToHttpParams(a,i,"vo")),null!=o&&(a=this.addToHttpParams(a,o,"role")),u&&u.forEach(jt=>{a=this.addToHttpParams(a,jt,"specificAttributes")}),null!=l&&(a=this.addToHttpParams(a,l,"allUserAttributes")),null!=s&&(a=this.addToHttpParams(a,s,"onlyDirectAdmins"));let f,d=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(d=d.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(d=d.set("Authorization","Bearer "+f));let x=r&&r.httpHeaderAccept;void 0===x&&(x=this.configuration.selectHeaderAccept(["application/json"])),void 0!==x&&(d=d.set("Accept",x));let Ye=r&&r.context;void 0===Ye&&(Ye=new e.qT);let It="json";return x&&(It=x.startsWith("text")?"text":this.configuration.isJsonMime(x)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{context:Ye,params:a,responseType:It,withCredentials:this.configuration.withCredentials,headers:d,observe:n,reportProgress:t})}getVoAdminGroups(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminGroups.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getVoAdminGroups.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"role"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}getVoAdminUsers(i,o,u,l="body",s=!1,n){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoAdminUsers.");if(null==o)throw new Error("Required parameter role was null or undefined when calling getVoAdminUsers.");if(null==u)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getVoAdminUsers.");let t=new e.LE({encoder:this.encoder});null!=i&&(t=this.addToHttpParams(t,i,"vo")),null!=o&&(t=this.addToHttpParams(t,o,"role")),null!=u&&(t=this.addToHttpParams(t,u,"onlyDirectAdmins"));let a,r=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(r=r.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(r=r.set("Authorization","Bearer "+a));let d=n&&n.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(r=r.set("Accept",d));let f=n&&n.context;void 0===f&&(f=new e.qT);let x="json";return d&&(x=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{context:f,params:t,responseType:x,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getVoBanById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoBanForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoBansForVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoById(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter id was null or undefined when calling getVoById.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"id"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoByShortName(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"shortName"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVoMembersCountsByStatus(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"vo"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosByIds(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let s=new e.LE({encoder:this.encoder});i&&i.forEach(f=>{s=this.addToHttpParams(s,f,"ids[]")});let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}getVosCount(i="body",o=!1,u){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=u&&u.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let t=u&&u.context;void 0===t&&(t=new e.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{context:t,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:i,reportProgress:o})}removeMemberVo(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==o)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"memberVo"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSponsorRoleFromGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeSponsorRoleFromGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeSponsorRoleFromUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeSponsorRoleFromUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeSponsorRoleFromUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAdminGroup(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminGroup.");if(null==o)throw new Error("Required parameter authorizedGroup was null or undefined when calling removeVoAdminGroup.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"authorizedGroup"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoAdminUser(i,o,u="body",l=!1,s){if(null==i)throw new Error("Required parameter vo was null or undefined when calling removeVoAdminUser.");if(null==o)throw new Error("Required parameter user was null or undefined when calling removeVoAdminUser.");let n=new e.LE({encoder:this.encoder});null!=i&&(n=this.addToHttpParams(n,i,"vo")),null!=o&&(n=this.addToHttpParams(n,o,"user"));let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(t=t.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(t=t.set("Authorization","Bearer "+r));let a=s&&s.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(t=t.set("Accept",a));let d=s&&s.context;void 0===d&&(d=new e.qT);let f="json";return a&&(f=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{context:d,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:t,observe:u,reportProgress:l})}removeVoBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"banId"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}removeVoBanForMember(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let s=new e.LE({encoder:this.encoder});null!=i&&(s=this.addToHttpParams(s,i,"member"));let t,n=this.defaultHeaders;t=this.configuration.lookupCredential("BasicAuth"),t&&(n=n.set("Authorization","Basic "+t)),t=this.configuration.lookupCredential("BearerAuth"),t&&(n=n.set("Authorization","Bearer "+t));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let a=l&&l.context;void 0===a&&(a=new e.qT);let d="json";return r&&(d=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{context:a,params:s,responseType:d,withCredentials:this.configuration.withCredentials,headers:n,observe:o,reportProgress:u})}setVoBan(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputSetVoBan was null or undefined when calling setVoBan.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}updateVo(i,o="body",u=!1,l){if(null==i)throw new Error("Required parameter InputUpdateVo was null or undefined when calling updateVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let t=l&&l.httpHeaderAccept;void 0===t&&(t=this.configuration.selectHeaderAccept(["application/json"])),void 0!==t&&(s=s.set("Accept",t));let r=l&&l.context;void 0===r&&(r=new e.qT);const d=this.configuration.selectHeaderContentType(["application/json"]);void 0!==d&&(s=s.set("Content-Type",d));let f="json";return t&&(f=t.startsWith("text")?"text":this.configuration.isJsonMime(t)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,i,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:u})}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(e.eN),g.LFG(w,8),g.LFG(b,8))},D.\u0275prov=g.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const ue={ID:"ID",DATE_CREATED:"DATE_CREATED",TYPE:"TYPE",STATE:"STATE",SUBMITTER:"SUBMITTER",GROUP_NAME:"GROUP_NAME",MODIFIED_BY:"MODIFIED_BY"},Ae={HTML_COMMENT:"HTML_COMMENT",SUBMIT_BUTTON:"SUBMIT_BUTTON",AUTO_SUBMIT_BUTTON:"AUTO_SUBMIT_BUTTON",PASSWORD:"PASSWORD",VALIDATED_EMAIL:"VALIDATED_EMAIL",TEXTFIELD:"TEXTFIELD",TEXTAREA:"TEXTAREA",CHECKBOX:"CHECKBOX",RADIO:"RADIO",SELECTIONBOX:"SELECTIONBOX",COMBOBOX:"COMBOBOX",USERNAME:"USERNAME",HEADING:"HEADING",TIMEZONE:"TIMEZONE",EMBEDDED_GROUP_APPLICATION:"EMBEDDED_GROUP_APPLICATION",LIST_INPUT_BOX:"LIST_INPUT_BOX",MAP_INPUT_BOX:"MAP_INPUT_BOX"};let H=(()=>{class D{constructor(i,o){if(i)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!o)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:D,providers:[{provide:b,useFactory:i}]}}}return D.\u0275fac=function(i){return new(i||D)(g.LFG(D,12),g.LFG(e.eN,8))},D.\u0275mod=g.oAB({type:D}),D.\u0275inj=g.cJS({providers:[],imports:[[]]}),D})()},19516:(qe,me,h)=>{"use strict";h.d(me,{bY:()=>G.b,r5:()=>b.r,d4:()=>g,dp:()=>w.d});var e=h(69808),c=h(5e3);let g=(()=>{class Q{}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({imports:[[e.ez]]}),Q})();var w=h(31359),b=(h(34447),h(82895)),G=(h(12856),h(20919),h(5865),h(53561),h(16119),h(7598),h(9954),h(4765))},34447:(qe,me,h)=>{"use strict";h.d(me,{a:()=>w});var e=h(32080),c=h(5e3),g=h(51062);let w=(()=>{class _{constructor(E,v){this.translate=E,this.storage=v}transform(E,v="en"){const I=this.storage.get("custom_labels");if(I)for(const N of I)if(N.label===E)return N[v];return E}}return _.\u0275fac=function(E){return new(E||_)(c.Y36(g.sK,16),c.Y36(e.d6,16))},_.\u0275pipe=c.Yjl({name:"customTranslate",type:_,pure:!0}),_})()},4765:(qe,me,h)=>{"use strict";h.d(me,{b:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.namespace.includes("virt")||_.namespace.includes("core")||_.namespace.includes("entityless")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"disableUniqueAttribute",type:g,pure:!0}),g})()},82895:(qe,me,h)=>{"use strict";h.d(me,{r:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_,b){return b?`/organizations/${_.voId}/resources/${_.id}`:`/facilities/${_.facilityId}/resources/${_.id}`}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"getResourceRoute",type:g,pure:!0}),g})()},28764:(qe,me,h)=>{"use strict";h.d(me,{F:()=>w});var e=h(9244),c=h(64080),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const v=(0,e.IL)(E.attributes,c.r.GROUP_SYNC_ENABLED),I=(0,e.IL)(E.attributes,c.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const N=I.value;if("true"===v.value){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"red":null!==Q&&Q.trim().length>0?"green":""}if(N){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"red":null!==Q&&Q.trim().length>0?"green":""}return""}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncIconColor",type:_,pure:!0}),_})()},29218:(qe,me,h)=>{"use strict";h.d(me,{J:()=>w});var e=h(64080),c=h(9244),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"";const v=(0,c.IL)(E.attributes,e.r.GROUP_SYNC_ENABLED),I=(0,c.IL)(E.attributes,e.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"";const N=I.value;if("true"===v.value){const q=(0,c.IL)(E.attributes,e.r.GROUP_LAST_SYNC_STATE),j=(0,c.IL)(E.attributes,e.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==Q&&Q.trim(),"sync")}if(N){const q=(0,c.IL)(E.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,c.IL)(E.attributes,e.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"sync_problem":(null!==Q&&Q.trim(),"sync")}return"sync_disabled"}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncIcon",type:_,pure:!0}),_})()},45942:(qe,me,h)=>{"use strict";h.d(me,{r:()=>w});var e=h(9244),c=h(64080),g=h(5e3);let w=(()=>{class _{transform(E){if(null==E||null==E.attributes)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const v=(0,e.IL)(E.attributes,c.r.GROUP_SYNC_ENABLED),I=(0,e.IL)(E.attributes,c.r.GROUP_STRUCTURE_SYNC_ENABLED);if(null===v&&null===I)return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED";const N=I.value;if("true"===v.value){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==Q&&Q.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}if(N){const q=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_STATE),j=(0,e.IL)(E.attributes,c.r.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP),G=q.value,Q=j.value;return null!=G&&G.trim().length>0?"VO_DETAIL.GROUPS.GROUP_SYNC_FAILED":null!==Q&&Q.trim().length>0?"VO_DETAIL.GROUPS.GROUP_STRUCTURE_SYNCED":"VO_DETAIL.GROUPS.GROUP_NOT_YET_SYNCED"}return"VO_DETAIL.GROUPS.GROUP_NOT_SYNCED"}}return _.\u0275fac=function(E){return new(E||_)},_.\u0275pipe=g.Yjl({name:"groupSyncToolTip",type:_,pure:!0}),_})()},20919:(qe,me,h)=>{"use strict";h.d(me,{D:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.g$)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberEmail",type:w,pure:!0}),w})()},5865:(qe,me,h)=>{"use strict";h.d(me,{p:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.lt)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberLogins",type:w,pure:!0}),w})()},96974:(qe,me,h)=>{"use strict";h.d(me,{M:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.Gw)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberOrganization",type:w,pure:!0}),w})()},69773:(qe,me,h)=>{"use strict";h.d(me,{u:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){switch(_){case"VALID":return"green";case"INVALID":return"red";default:return""}}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIconColor",type:g,pure:!0}),g})()},21757:(qe,me,h)=>{"use strict";h.d(me,{f:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){switch(_){case"VALID":return"verified_user";case"INVALID":return"report";case"EXPIRED":return"schedule";case"DISABLED":return"delete";default:return _}}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatusIcon",type:g,pure:!0}),g})()},12856:(qe,me,h)=>{"use strict";h.d(me,{i:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b,E){var v,I;let N=null,A=null;b.memberAttributes&&(N=b.memberAttributes.find(j=>"membershipExpiration"===j.friendlyName),A=b.memberAttributes.find(j=>"groupMembershipExpiration"===j.friendlyName));let q="";return q=E?`\n Group status: ${(0,e.Oe)(b.groupStatus)}, Expiration: ${null!==(v=null==A?void 0:A.value)&&void 0!==v?v:"never"}`:b.memberAttributes?`Status: ${(0,e.Oe)(b.status,b.groupStatus)}\n Vo status: ${(0,e.Oe)(b.status)}, Expiration: ${null!==(I=null==N?void 0:N.value)&&void 0!==I?I:"never"}`:`Status: ${(0,e.Oe)(b.status,b.groupStatus)}\n Vo status: ${(0,e.Oe)(b.status)}`,q}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"memberStatusTooltip",type:w,pure:!0}),w})()},20551:(qe,me,h)=>{"use strict";h.d(me,{l:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.replace("VALID","ACTIVE")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"memberStatus",type:g,pure:!0}),g})()},64597:(qe,me,h)=>{"use strict";h.d(me,{R:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return _.replace(/\s/g,"-").toLowerCase()}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"multiWordDataCy",type:g,pure:!0}),g})()},62383:(qe,me,h)=>{"use strict";h.d(me,{M:()=>g});var e=h(69808),c=h(5e3);let g=(()=>{class w{transform(b,E){return"voRules"===b?"Vo rules":"groupRules"===b?"Group rules":b&&"never"!==b.toLowerCase()?(0,e.p6)(b.replace(" ","T"),"d.M.yyyy "+(E?"H:mm:ss":""),"en"):"never"}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"parseDate",type:w,pure:!0}),w})()},53561:(qe,me,h)=>{"use strict";h.d(me,{J:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.te)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"technicalOwners",type:w,pure:!0}),w})()},16119:(qe,me,h)=>{"use strict";h.d(me,{S:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.kN)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userEmail",type:w,pure:!0}),w})()},31359:(qe,me,h)=>{"use strict";h.d(me,{d:()=>c});var e=h(5e3);let c=(()=>{class g{transform(_){return[_.titleBefore,_.firstName,_.middleName,_.lastName,_.titleAfter].join(" ")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=e.Yjl({name:"userFullName",type:g,pure:!0}),g})()},7598:(qe,me,h)=>{"use strict";h.d(me,{g:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.$0)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userLogins",type:w,pure:!0}),w})()},9954:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>g});var e=h(9244),c=h(5e3);let g=(()=>{class w{transform(b){return(0,e.OV)(b)}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275pipe=c.Yjl({name:"userVo",type:w,pure:!0}),w})()},32080:(qe,me,h)=>{"use strict";h.d(me,{yC:()=>Te,F5:()=>Y,sM:()=>We,eE:()=>Ae,e8:()=>A,EB:()=>be,Be:()=>ne,Hy:()=>P,ly:()=>ue,fb:()=>it,xw:()=>ge,x4:()=>w,v0:()=>G,SZ:()=>Oe,V6:()=>se,jq:()=>fe,BN:()=>de,Ip:()=>ze,HV:()=>ce,d6:()=>v,UA:()=>Le});var e=h(32105),c=h(45323),g=h(5e3);let w=(()=>{class ee{constructor(V){this.authzSevice=V,this.principalRoles=new Set,this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}init(V){this.principal=V,this.initData(V)}setPerunPolicies(V){this.perunPolicies=V}getPerunPolicies(){return this.perunPolicies}isAuthorized(V,H){if(null===this.principal.roles)return!1;const D=this.fetchPolicyWithAllIncludedPolicies(V);let O=[];for(const o of D)O=O.concat(o.perunRoles);const i=this.fetchAllRelatedObjects(H);return this.resolveAuthorization(O,i)}principalHasRole(V,H,D){let O=H;return H.startsWith("Rich")&&(O=H.substring(4)),!(!this.principal.roles[V]||!this.principal.roles[V][O])&&this.principal.roles[V][O].includes(Number(D.toString()))}canManageFacilities(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER,c.u.FACILITYADMIN,c.u.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(c.u.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.VOADMIN)}isThisVoAdminOrObserver(V){return this.editableVos.includes(Number(V.toString()))||this.observableVos.includes(Number(V.toString()))||this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)}isThisVoAdmin(V){return this.editableVos.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(c.u.SPONSOR)}isThisGroupAdmin(V){return this.editableGroups.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isGroupAdminInThisVo(V){return this.hasGroupInTheseVos.includes(V)}isFacilityAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.FACILITYADMIN)}isThisFacilityAdmin(V){return this.editableFacilities.includes(V)||this.principalRoles.has(c.u.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(c.u.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.VOOBSERVER,c.u.PERUNOBSERVER)}isThisVoObserver(V){return this.hasAtLeastOne(c.u.PERUNADMIN,c.u.PERUNOBSERVER)||this.observableVos.includes(V)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((V,H)=>{this.authzSevice.getAllRolesManagementRules().subscribe(D=>{this.allRolesManagementRules=D,V()},D=>H(D))})}assignAvailableRoles(V,H){this.allRolesManagementRules.forEach(D=>{D.primaryObject===H&&V.push(D.roleName)}),V.sort(),"Vo"===H&&this.voCustomSort(V)}isManagerPagePrivileged(V){const H=[];let D=V.beanName;D.startsWith("Rich")&&(D=D.substring(4)),this.assignAvailableRoles(H,D);const O=new Map;this.setRolesAuthorization(H,V,O);for(const i of O.values())if(i.readAuth||i.manageAuth)return!0;return!1}setRolesAuthorization(V,H,D){for(const O of V){let i=[],o=[],u=[];for(const r of this.allRolesManagementRules)if(r.roleName===O){i=i.concat(r.privilegedRolesToRead),o=o.concat(r.privilegedRolesToManage);for(const a of Object.keys(r.entitiesToManage))u="User"===a?[a].concat(u):u.concat(a);break}const l=this.fetchAllRelatedObjects([H]),s=this.resolveAuthorization(i,l),n=this.resolveAuthorization(o,l);D.set(O,{readAuth:s,manageAuth:n,modes:u})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(V){for(const H of this.allRolesManagementRules)if(H.roleName===V)return H.primaryObject;return""}resolveAuthorization(V,H){for(const D of V){let O=!0;for(const i of Object.keys(D)){const o=D[i];if(null===o)this.principalRoles.has(i)||(O=!1);else if(H[o]){for(const u of H[o])if(!this.principalHasRole(i,o,u)){O=!1;break}}else O=!1;if(!O)break}if(O)return!0}return!1}getPerunPolicy(V){for(const H of this.perunPolicies)if(H.policyName===V)return H;return null}fetchAllRelatedObjects(V){const H={};for(const D of V){let O=D.beanName;switch(D.beanName.startsWith("Rich")&&(O=D.beanName.substring(4)),H[O]?H[O].push(D.id):H[O]=[D.id],O){case"Member":H.User?H.User.push(D.userId):H.User=[D.userId],H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId];break;case"Group":case"ResourceTag":H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId];break;case"Resource":H.Facility?H.Facility.push(D.facilityId):H.Facility=[D.facilityId],H.Vo?H.Vo.push(D.voId):H.Vo=[D.voId]}}return H}fetchPolicyWithAllIncludedPolicies(V){const H=new Map;let D=[];for(D.push(V);0!==D.length;){const i=D.shift();if(H.has(i))continue;const o=this.getPerunPolicy(i);if(!o)return[];H.set(i,o),D=D.concat(o.includePolicies)}const O=[];for(const i of H.values())O.push(i);return O}voCustomSort(V){for(let H=0;H{class ee{constructor(){this.branding=""}setInstanceConfig(V){this.instanceConfig=V}setDefaultConfig(V){this.defaultConfig=V}getAppsConfig(){return this.appsConfig}setAppsConfig(V){this.appsConfig=V}setPerunPrincipal(V){this.principal=V}getPerunPrincipal(){return this.principal}getInitialPageId(){return this.initialPageId}setInitialPageId(V){this.initialPageId=V}getLoginAttributeNames(){return this.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(V){this.branding=V}skipOidc(){return this.getProperty("skip_oidc")}getProperty(V){var H,D;const O=[null===(D=null===(H=this.instanceConfig)||void 0===H?void 0:H.brandings)||void 0===D?void 0:D[this.branding],this.instanceConfig,this.defaultConfig];let i=null;for(const o of O)o&&!i&&(i=o[V]);return i}get(...V){let H;if(""!==this.branding){const D=this.instanceConfig.brandings[this.branding];for(let O=0;O{class ee{constructor(V,H,D,O,i){this.injector=V,this.store=H,this.dialog=D,this.route=O,this.oauthService=i,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(b.F0),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(o=>{o.idpFilter&&(this.filterShortname=String(o.idpFilter))})}getClientConfig(){const V=this.setIdpFilter(),O=.5+.25*Math.random(),i=V?{acr_values:V}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(i.prompt="consent"),sessionStorage.getItem("mfa_route")&&(i.acr_values="https://refeds.org/profile/mfa",i.prompt="login",i.max_age="0"),"Linker"===this.store.getProperty("application")){i.prompt="login";const o=(0,E.O5)("idphint",location.search.substring(1));o&&(i.idphint=o)}return{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"),clockSkewInSec:1,timeoutFactor:O,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:i}}setIdpFilter(){const V=location.search.substring(1).split("&");this.filterShortname=null;const H=this.store.get("oidc_client","filters");if(!H)return null;let D=null;return V.forEach(O=>{const i=O.split("=");"idpFilter"===i[0]&&H[i[1]]&&(this.filterShortname=i[1],D=H[i[1]])}),H.default&&!D?(this.filterShortname="default",H.default):D}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const V=location.pathname,H=location.search.substring(1);return"/api-callback"===V?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(V,H).then(D=>D?this.startRefreshToken():new Promise(O=>O(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(V=>!!V&&(this.oauthService.events.pipe((0,_.h)(H=>"token_expires"===H.type&&"access_token"===H.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}handleAuthCallback(){return this.oauthService.loadDiscoveryDocumentAndTryLogin()}redirectToOriginDestination(){const V=sessionStorage.getItem("mfa_route");if(V)return this.router.navigate([V],{replaceUrl:!0});let H=sessionStorage.getItem("auth:redirect");const D=sessionStorage.getItem("auth:queryParams");let O=[];D&&(O=D.split("&"));const i={};return O.forEach(o=>{const u=o.split("=");i[u[0]]=u[1]}),(!H||"/login"===H)&&(H="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),i.idpFilter&&(this.filterShortname=String(i.idpFilter)),this.router.navigate([H],{queryParams:i,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,_.h)(V=>V instanceof b.m2)).subscribe(()=>{const V={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===V.idpFilter?{}:V,queryParamsHandling:"merge",replaceUrl:!0})})}isPotentiallyValidPath(V){const H=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===V)return!0;for(const D of H)if(V.startsWith(D))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(V,H){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(D=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",H),localStorage.removeItem("access_token"),!1):!!D||(this.isPotentiallyValidPath(V)?(sessionStorage.setItem("auth:redirect",V),sessionStorage.setItem("auth:queryParams",H),!1):new Promise((O,i)=>i("Invalid path"))))}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(g.zs3),g.LFG(v),g.LFG(I.uw),g.LFG(b.gz),g.LFG(N.Ct))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var q=h(51062);let j=(()=>{class ee{constructor(V){this.dialogRef=V}}return ee.\u0275fac=function(V){return new(V||ee)(g.Y36(I.so))},ee.\u0275cmp=g.Xpm({type:ee,selectors:[["perun-web-apps-user-dont-exist-dialog"]],decls:3,vars:3,consts:[["mat-dialog-content","",1,"mt-2","mb-2"]],template:function(V,H){1&V&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&V&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[I.xY],pipes:[q.X$],styles:[""]}),ee})(),G=(()=>{class ee{constructor(V,H,D,O,i,o){this.authService=V,this.storeService=H,this.authResolver=D,this.authzService=O,this.dialog=i,this.router=o,this.loginScreenShown=!1,this.serviceAccess=!1,this.serviceAccessLoginScreen=!1}setLoginScreen(V){this.loginScreenShown=V}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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(V=>V(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(V=>{if(null===V.user){const H=(0,E.kZ)();this.dialog.open(j,H)}else{this.storeService.setPerunPrincipal(V),this.authResolver.init(V);const H=localStorage.getItem("routeAuthGuard");H&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([H]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(V=>{this.storeService.setPerunPrincipal(V)})}handleAuthStart(){if("/service-access"===location.pathname||sessionStorage.getItem("baPrincipal"))return this.serviceAccess=!0,this.serviceAccessLoginScreen=!0,new Promise(V=>{V()});if(this.storeService.get("auto_auth_redirect"))return localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const V=location.search.substr(1).split("&"),H={};for(const D of V){const O=D.split("=");H[O[0]]=O[1]}return void this.router.navigate(["login"],{queryParams:H,queryParamsHandling:"merge"})}}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(A),g.LFG(v),g.LFG(w),g.LFG(e.Ct),g.LFG(I.uw),g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Q=h(25245),he=h(22313);let be=(()=>{class ee{constructor(V,H){this.matIconRegistry=V,this.domSanitizer=H,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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(V=>{this.matIconRegistry.addSvgIcon(V.name,this.domSanitizer.bypassSecurityTrustResourceUrl(V.url))})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(Q.jv),g.LFG(he.H7))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})();var pe=h(40520),ye=h(62843),T=h(28746),R=h(18505),L=h(47423);let X=(()=>{class ee{constructor(V){this.dialogRef=V}close(){this.dialogRef.close(!0)}}return ee.\u0275fac=function(V){return new(V||ee)(g.Y36(I.so))},ee.\u0275cmp=g.Xpm({type:ee,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(V,H){1&V&&(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 H.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&V&&(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:[I.uh,I.xY,I.H8,L.lW],pipes:[q.X$],styles:[""]}),ee})(),Y=(()=>{class ee{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const V=this.handleNextError;return this.handleNextError=!0,V}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),se=(()=>{class ee{constructor(V){this.translate=V,this.addNotification=new g.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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(V,H=this.getDefaultRpcMessage()){this.showError("PrivilegeException"===V.name?this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.PRIVILEGE_EXCEPTION"):void 0===V.name?H:H+"\n"+V.name,V,V.message)}showRouteError(){const V=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_ERROR"),H=this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.NOTIFICATOR.NOTIFICATION.ROUTE_DENIED_DESC");this.showError(V,null,H)}showError(V,H,D,O,i){this.addNotification.emit({type:"error",error:H,description:D,title:V,actionText:void 0===O&&void 0!==D?this.getDefaultActionMessage():O,delay:this.defaultErrorDelayMs,icon:"error_outline",action:i,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(V,H,D,O){this.addNotification.emit({type:"success",description:H,title:V,actionText:void 0===D&&void 0!==H?this.getDefaultActionMessage():D,delay:this.defaultSuccessDelayMs,icon:"done",action:O,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(q.sK))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Te=(()=>{class ee{constructor(V,H,D,O,i,o){this.authService=V,this.apiRequestConfiguration=H,this.notificator=D,this.store=O,this.dialog=i,this.initAuthService=o}intercept(V,H){const D=this.store.get("api_url");if(V.url.includes("i18n")&&(V=V.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==D&&this.isCallToPerunApi(V.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const o=(0,E.kZ)();o.width="450px",this.dialogRefSessionExpiration=this.dialog.open(X,o),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{(0,T.x)(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?V=V.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(V.url)&&(V=V.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const O=this.apiRequestConfiguration.shouldHandleError(),i="POST"===V.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(V.url);return H.handle(V).pipe((0,R.b)(o=>{o instanceof pe.Zn&&i&&this.initAuthService.loadPrincipal()},o=>{const u=this.formatErrors(o,V);return void 0===u?(0,ye._)(o):O?void this.notificator.showRPCError(u):(0,ye._)(u)}))}isCallToPerunApi(V){return V.startsWith(this.store.get("api_url"))}formatErrors(V,H){let D;console.error(V);const O=V.error;if(O.errorId&&(D=O),void 0!==D)return D.urlWithParams=H.urlWithParams,D.call=H.url,D.payload=H.body,D}isNotConsolidatorOrLinker(){const V=this.store.getProperty("application");return!("Linker"===V||"Consolidator"===V)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(A),g.LFG(Y),g.LFG(se),g.LFG(v),g.LFG(I.uw),g.LFG(G))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),Oe=(()=>{class ee{constructor(){this.newNotificationsCount=0,this.notificationData=[]}storeNotification(V){this.newNotificationsCount++,this.notificationData.push(V)}getNotifications(){return this.notificationData.reverse()}clearNotifications(){this.notificationData=[]}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Se=h(70262);let We=(()=>{class ee{constructor(V,H,D,O){this.http=V,this.notificator=H,this.authService=D,this.storeService=O}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let V=new pe.WM;return V=V.set("Authorization",this.authService.getAuthorizationHeaderValue()),V}get(V,H=!0){const D=`${this.getApiUrl()}${V}`;return this.http.get(D,{headers:this.getHeaders()}).pipe((0,Se.K)(O=>this.formatErrors(O,D,null,H)))}put(V,H={},D=!0){const O=`${this.getApiUrl()}${V}`,i=JSON.stringify(H);return this.http.put(O,i,{headers:this.getHeaders()}).pipe((0,Se.K)(o=>this.formatErrors(o,O,i,D)))}post(V,H={},D=!0){const O=`${this.getApiUrl()}${V}`,i=JSON.stringify(H);let o=this.getHeaders();return o=o.set("Content-Type","application/json; charset=utf-8"),this.http.post(O,i,{headers:o}).pipe((0,Se.K)(u=>this.formatErrors(u,O,i,D)))}delete(V,H=!0){const D=`${this.getApiUrl()}${V}`;return this.http.delete(D,{headers:this.getHeaders()}).pipe((0,Se.K)(O=>this.formatErrors(O,D,null,H)))}formatErrors(V,H,D,O){const i=V.error;return i.call=H,i.payload=D,O&&this.notificator.showRPCError(V.error),(0,ye._)(i)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(pe.eN),g.LFG(se),g.LFG(A),g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ge=(()=>{class ee{constructor(V){this.router=V,this.lastState="forward",this.history=new Set,V.events.subscribe(H=>{H instanceof b.OD&&("popstate"===H.navigationTrigger?this.history.has(H.restoredState.navigationId)?(this.lastState="back",this.history.delete(H.restoredState.navigationId)):(this.lastState="forward",this.history.add(H.id)):(this.history.add(H.id),this.lastState="forward"))})}forceNavigate(V,H){if(null===V)return;let D="";V.forEach(O=>D+="/"+O),D.length>0&&(D=D.substring(1)),void 0===H&&(H={}),H.queryParams={redirectTo:D},this.router.navigate(["redirect"],H)}getLastState(){return this.lastState}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Le=(()=>{class ee{isAllSelectedWithDisabledCheckbox(V,H,D,O,i,o,u,l){return this.numSelected=V,this.numCanBeSelected=0,this.pageStart=i*D,this.pageEnd=this.pageStart+D,this.pageIterator=0,this.dataLength=""===H?o.data.length:o.filteredData.length,O||(this.modulo=this.dataLength%D,this.pageEnd=0===this.modulo?this.pageStart+D:this.pageStart+this.modulo),o.sortData(o.filteredData,u).forEach(s=>{this.pageStart<=this.pageIterator&&this.pageIterator{l?s(n)&&this.pageStart<=this.pageIterator&&this.pageIterator{class ee{constructor(V,H,D,O){this.membersService=V,this.usersService=H,this.auditMessagesManagerService=D,this.registrarService=O}getMembers(V,H,D,O,i,o,u,l,s,n){return this.membersService.getMembersPage({vo:V,attrNames:H,query:{pageSize:i,offset:O*i,order:D,sortColumn:o,statuses:u,searchString:l,groupId:s,groupStatuses:n}})}getUsers(V,H,D,O,i,o,u,l,s,n,t,r){return this.usersService.getUsersPage({attrNames:V,query:{offset:O*D,pageSize:O,order:H,sortColumn:i,searchString:o,withoutVo:u,facilityId:l,voId:s,resourceId:n,serviceId:t,onlyAllowed:r}})}getAuditMessages(V,H,D){return this.auditMessagesManagerService.getMessagesPage({query:{offset:D*H,pageSize:D,order:V}})}getApplications(V,H,D,O,i,o,u,l,s,n,t,r,a){return this.registrarService.getApplicationsPage({vo:t,query:{pageSize:V,offset:H*V,order:D,sortColumn:O,searchString:o,includeGroupApplications:i,getDetails:a,states:u,dateFrom:l,dateTo:s,userId:n,groupId:r}})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(e.uq),g.LFG(e.Fv),g.LFG(e.jw),g.LFG(e.tk))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Me=h(61135),z=h(39646);class P{constructor(Ne,V){this.dynamicPaginatingService=Ne,this.authzService=V,this.allObjectCount=0,this.routeAuth=!0,this.dataSubject=new Me.X([]),this.loadingSubject=new Me.X(!1),this.loading$=this.loadingSubject.asObservable()}loadMembers(Ne,V,H,D,O,i,o,u,l,s){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const n=this.latestQueryTime;this.dynamicPaginatingService.getMembers(Ne,V,H,D,O,i,o,u,l,s).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(t=>{if(this.latestQueryTime<=n){const r=t.data;null!==r&&0!==r.length&&(this.routeAuth=this.authzService.isAuthorized("getMemberById_int_policy",[{beanName:"Vo",id:Ne},r[0]])),this.allObjectCount=t.totalCount,this.dataSubject.next(r)}})}loadUsers(Ne,V,H,D,O,i,o,u,l,s,n,t){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const r=this.latestQueryTime;this.dynamicPaginatingService.getUsers(Ne,D,H,V,O,i,o,u,l,s,n,t).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(a=>{if(this.latestQueryTime<=r){const d=a.data;this.allObjectCount=a.totalCount,this.dataSubject.next(d)}})}loadAuditMessages(Ne,V,H){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const D=this.latestQueryTime;this.dynamicPaginatingService.getAuditMessages(H,V,Ne).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(O=>{if(this.latestQueryTime<=D){const i=O.data;this.allObjectCount=O.totalCount,this.dataSubject.next(i)}})}loadApplications(Ne,V,H,D,O,i,o,u,l,s,n,t,r){this.loadingSubject.next(!0),this.latestQueryTime=Date.now();const a=this.latestQueryTime;this.dynamicPaginatingService.getApplications(Ne,V,H,D,i,O,o,u,l,s,t,n,null!=r&&r).pipe((0,Se.K)(()=>(0,z.of)([])),(0,T.x)(()=>this.loadingSubject.next(!1))).subscribe(d=>{if(this.latestQueryTime<=a){const f=d.data;if(null!==f&&0!==f.length){const x=f;this.routeAuth=x[0].group?this.authzService.isAuthorized("getApplicationsForGroup_Group_List_policy",[x[0].group]):this.authzService.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[x[0].vo])}this.allObjectCount=d.totalCount,this.dataSubject.next(f)}})}connect(){return this.dataSubject.asObservable()}disconnect(){this.dataSubject.complete(),this.loadingSubject.complete()}getData(){return this.dataSubject.value}}let de=(()=>{class ee{constructor(V,H){this.route=V,this.store=H}getPreferredLanguage(V){const H=this.store.get("supported_languages"),D=navigator.languages.map(o=>o.split("-")[0]),O=location.search.substring(1).split("&");let i=null;for(const o of O){const u=o.split("=");"lang"===u[0]&&(i=u[1])}return i&&H.includes(i)?i:V&&H.includes(V)?V:D&&H.includes(D[0])?D[0]:"en"}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(b.gz),g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ce=h(70655);let Pe=(()=>{class ee{generatePdf(V){return(0,Ce.mG)(this,void 0,void 0,function*(){yield this.loadPdfMake(),this.pdfMake.createPdf(V).open()})}loadPdfMake(){return(0,Ce.mG)(this,void 0,void 0,function*(){if(!this.pdfMake){const V=yield h.e(641).then(h.t.bind(h,54641,23)),H=yield h.e(493).then(h.t.bind(h,58493,19));this.pdfMake=V.default,this.pdfMake.vfs=H.default.pdfMake.vfs}})}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ce=(()=>{class ee{constructor(V){this.pdfService=V}static generateTableForUser(V){const H=V.name.replace(";"," ").split(";")[0];return"OK"!==V.status?this.generateErrorRowForUser(H,V.status):ee.generateRowForUser(H,V.login,V.password)}static generateErrorRowForUser(V,H){return{table:{heights:[30,1,1],widths:[249,249],body:[[{text:V,colSpan:1,alignment:"center",bold:!0,fontSize:12,margin:[20,25],color:"red"},{text:H,alignment:"center",bold:!0,color:"red"}]]}}}static generateRowForUser(V,H,D){return{table:{heights:[30,0],widths:[120,120,120,120],body:[[ee.generateNameCell(V),{},ee.getPasswordLabelCell(),ee.generatePasswordCell(D)],[ee.getLoginLabelCell(),ee.generateLoginCell(H),{},{}]]}}}static generateNameCell(V){return{text:V,colSpan:2,alignment:"center",border:[!0,!0,!0,!1],bold:!0,fontSize:12,margin:[10,10]}}static generatePasswordCell(V){return{text:null==V?"N/A":V,border:[!1,!0,!0,!0],bold:!0,margin:[0,25],rowSpan:2,alignment:"left"}}static generateLoginCell(V){return{text:null==V?"N/A":V,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(V){return(0,Ce.mG)(this,void 0,void 0,function*(){const H=[];for(const O of V)H.push(ee.generateTableForUser(O));return this.pdfService.generatePdf({content:H})})}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(Pe))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),fe=(()=>{class ee{constructor(V){this.storeService=V}static getBrandContainingDomain(V,H){for(const D of V)if(D.newApps.admin===H||D.newApps.profile===H||D.newApps.pwdReset===H||D.newApps.consolidator===H||D.newApps.linker===H)return D;return V[0]}getUrlForOtherApplication(V,H){const O=window.location.href.split("/"),i=O[0]+"//"+O[2],o=ee.getBrandContainingDomain(this.storeService.getAppsConfig().brands,i);let u;if(o.newApps[V])u=o.newApps[V],"pwdReset"===V&&(u+=`?login-namespace=${H}`);else switch(u=o.oldGuiDomain+"/fed",V){case"admin":u+="/gui/";break;case"profile":u+="/profile/";break;case"pwdReset":u+=`/pwd-reset/?login-namespace=${H}`}return u}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(v))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ze=h(86087);let ne=(()=>{class ee extends Ze.ye{constructor(){super(...arguments),this.getRangeLabel=function(V,H,D){let O;return O=D<1e3?String(D):D<1e4?"1 000":D<1e5?"10 000":"100 000",`${V*H+1} \u2013 ${(V+1)*H} of ${O} +`}}}return ee.\u0275fac=function(){let Ne;return function(H){return(Ne||(Ne=g.n5z(ee)))(H||ee)}}(),ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),it=(()=>{class ee{setEntity(V){this.entity=V}getEntity(){return this.entity}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Be=h(64080);let ze=(()=>{class ee{constructor(V,H,D,O,i){this.authResolver=V,this.attributesManager=H,this.notificator=D,this.apiRequest=O,this.router=i,this.routePolicies=new Map([["organizations",o=>this.authResolver.isAuthorized("getEnrichedVoById_int_policy",[o])],["organizations-members",o=>this.authResolver.isAuthorized("getMembersPage_Vo_MembersPageQuery_List_policy",[o])],["organizations-groups",o=>this.authResolver.isAuthorized("getAllRichGroupsWithAttributesByNames_Vo_List_policy",[o])],["organizations-resources",o=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[o])||this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[o])||this.authResolver.isAuthorized("getResourcesState_Vo_policy",[o])],["organizations-resources-preview",o=>this.authResolver.isAuthorized("getRichResources_Vo_policy",[o])],["organizations-resources-tags",o=>this.authResolver.isAuthorized("getAllResourcesTagsForVo_Vo_policy",[o])],["organizations-resources-states",o=>this.authResolver.isAuthorized("getResourcesState_Vo_policy",[o])],["organizations-applications",o=>this.authResolver.isAuthorized("getApplicationsForVo_Vo_List_Boolean_policy",[o])],["organizations-sponsoredMembers",o=>this.authResolver.isAuthorized("getSponsoredMembersAndTheirSponsors_Vo_policy",[o])],["organizations-serviceAccounts",o=>this.authResolver.isAuthorized("createSpecificMember_Vo_Candidate_List_SpecificUserType_List_policy",[o])],["organizations-attributes",o=>this.authResolver.isAuthorized("getEnrichedVoById_int_policy",[o])],["organizations-statistics",o=>this.authResolver.isAuthorized("getMembersCount_Vo_Status_policy",[o])&&this.authResolver.isAuthorized("getMembersCount_Vo_policy",[o])],["organizations-settings",o=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[o])||this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-expiration",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["organizations-settings-applicationForm",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-notifications",o=>this.authResolver.isThisVoAdminOrObserver(o.id)],["organizations-settings-extsources",o=>this.authResolver.isAuthorized("getVoExtSources_Vo_policy",[o])],["organizations-settings-memberOrganizations",()=>this.authResolver.isPerunAdmin()],["organizations-settings-hierarchicalInclusion",()=>this.authResolver.isPerunAdmin()],["members",o=>this.authResolver.isAuthorized("getRichMemberWithAttributes_Member_policy",[o])],["members-groups",o=>this.authResolver.isAuthorized("getMemberGroups_Member_policy",[o])],["members-applications",o=>this.authResolver.isAuthorized("vo-getApplicationsForMember_Group_Member_policy",[o])],["members-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Member_policy",[o])],["members-attributes",o=>this.authResolver.isAuthorized("getRichMemberWithAttributes_Member_policy",[o])],["groups",o=>this.authResolver.isAuthorized("getGroupById_int_policy",[o])],["groups-members",o=>this.authResolver.isAuthorized("group-getMembersPage_Vo_MembersPageQuery_List_policy",[o])],["groups-subgroups",o=>this.authResolver.isAuthorized("getAllRichSubGroupsWithAttributesByNames_Group_List_policy",[o])],["groups-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Group_policy",[o])],["groups-applications",o=>this.authResolver.isAuthorized("getApplicationsForGroup_Group_List_policy",[o])],["groups-attributes",o=>this.authResolver.isAuthorized("getGroupById_int_policy",[o])],["groups-statistics",o=>this.authResolver.isAuthorized("getGroupMembersCount_Group_policy",[o])&&this.authResolver.isAuthorized("getGroupMembersCountsByVoStatus_Group_policy",[o])&&this.authResolver.isAuthorized("getGroupMembersCountsByGroupStatus_Group_policy",[o])],["groups-roles",o=>this.authResolver.isAuthorized("getGroupRoles_int_policy",[o])],["groups-settings",o=>this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])||this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[o])||this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[o])],["groups-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["groups-settings-applicationForm",o=>this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])],["groups-settings-notifications",o=>this.authResolver.isAuthorized("group-getFormItems_ApplicationForm_AppType_policy",[o])],["groups-settings-relations",o=>this.authResolver.isAuthorized("getGroupUnions_Group_boolean_policy",[o])],["groups-settings-extsources",o=>this.authResolver.isAuthorized("getGroupExtSources_Group_policy",[o])],["groups-settings-expiration",o=>(this.apiRequest.dontHandleErrorForNext(),this.attributesManager.getGroupAttributeByName(o.id,Be.r.GROUP_DEF_EXPIRATION_RULES).subscribe(()=>{},()=>{this.notificator.showRouteError(),this.router.navigate(["/notAuthorized"])}),!0)],["resources",o=>this.authResolver.isAuthorized("getRichResourceById_int_policy",[o])],["resources-groups",o=>this.authResolver.isAuthorized("getAssignedGroups_Resource_policy",[o])],["resources-services",o=>this.authResolver.isAuthorized("getAssignedServices_Resource_policy",[o])],["resources-members",o=>this.authResolver.isAuthorized("getAssignedMembers_Resource_policy",[o])],["resources-tags",o=>this.authResolver.isAuthorized("getAllResourcesTagsForResource_Resource_policy",[o])],["resources-attributes",o=>this.authResolver.isAuthorized("getRichResourceById_int_policy",[o])],["resources-settings",o=>this.authResolver.isManagerPagePrivileged(o)],["resources-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["facilities",o=>this.authResolver.isAuthorized("getFacilityById_int_policy",[o])],["facilities-resources",o=>this.authResolver.isAuthorized("getAssignedRichResources_Facility_policy",[o])],["facilities-allowed-users",o=>this.authResolver.isAuthorized("getAssignedUsers_Facility_Service_policy",[o])],["facilities-allowed-groups",o=>this.authResolver.isAuthorized("getAllowedGroups_Facility_Vo_Service_policy",[o])],["facilities-services-status",o=>this.authResolver.isAuthorized("getFacilityServicesState_Facility_policy",[o])],["services-status",o=>this.authResolver.isAuthorized("getTaskResultsByTask_int_policy",[o])],["facilities-services-destinations",o=>this.authResolver.isAuthorized("getAllRichDestinations_Facility_policy",[o])],["facilities-hosts",()=>this.authResolver.isFacilityAdmin()],["facilities-attributes",o=>this.authResolver.isAuthorized("getFacilityById_int_policy",[o])],["facilities-settings",o=>this.authResolver.isAuthorized("getOwners_Facility_policy",[o])||this.authResolver.isManagerPagePrivileged(o)||this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[o])||this.authResolver.isAuthorized("getBansForFacility_int_policy",[o])],["facilities-settings-owners",o=>this.authResolver.isAuthorized("getOwners_Facility_policy",[o])],["facilities-settings-managers",o=>this.authResolver.isManagerPagePrivileged(o)],["facilities-settings-security-teams",o=>this.authResolver.isAuthorized("getAssignedSecurityTeams_Facility_policy",[o])],["facilities-settings-blacklist",o=>this.authResolver.isAuthorized("getBansForFacility_int_policy",[o])]])}canNavigate(V,H){if(V.startsWith("admin")||V.startsWith("identities"))return this.authResolver.isPerunAdminOrObserver();if("facilities"===V&&-1===H.id)return this.authResolver.canManageFacilities();const D=this.routePolicies.get(V);return!D||D(H)}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(w),g.LFG(e.H8),g.LFG(se),g.LFG(Y),g.LFG(b.F0))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Ue=h(54004),_e=h(63900),ae=h(4707);let Ae=(()=>{class ee{constructor(V){this.authService=V,this.roleWithObjects$=new ae.t(1),this.authService.getAllRolesManagementRules().pipe((0,Ue.U)(H=>H.filter(D=>D.assignableToAttributes)),(0,_e.w)(H=>{const D=new Map;return H.map(O=>D.set(O.roleName,["None",...Object.keys(O.assignedObjects)])),(0,z.of)(new Map([...D.entries()].sort()))})).subscribe(this.roleWithObjects$)}getRoles(){return this.roleWithObjects$.pipe((0,_e.w)(V=>(0,z.of)(Array.from(V.keys()))))}getObjects(V){return this.roleWithObjects$.pipe((0,_e.w)(H=>(0,z.of)(H.get(V))))}filterNullInPolicy(){return function(V){return V.pipe((0,Ue.U)(H=>(H.forEach(D=>D.policies=D.policies.filter(O=>null!==O.role&&null!==O.object)),H)))}}addAttributeId(){return function(V){return V.pipe((0,Ue.U)(([H,D])=>(D.forEach(O=>O.attributeId=H),D)))}}}return ee.\u0275fac=function(V){return new(V||ee)(g.LFG(e.Ct))},ee.\u0275prov=g.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},64080:(qe,me,h)=>{"use strict";h.d(me,{r:()=>e});let e=(()=>{class c{}return c.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",c.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",c.MEMBER_GROUP_STATUS="urn:perun:member_group:attribute-def:virt:groupStatus",c.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",c.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",c.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",c.MEMBER_LIFECYCLE_ALTERABLE="urn:perun:member:attribute-def:virt:isLifecycleAlterable",c.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",c.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",c.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",c.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",c.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",c.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",c.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",c.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",c.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",c.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",c.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",c.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",c.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",c.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",c.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",c.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",c.UES_SOURCE_IDP_NAME="urn:perun:ues:attribute-def:def:sourceIdPName",c})()},9244:(qe,me,h)=>{"use strict";h.d(me,{dN:()=>A,Je:()=>v,f7:()=>I.f7,l9:()=>N.l,sF:()=>I.sF,XI:()=>I.XI,Xd:()=>I.Xd,aC:()=>I.aC,fx:()=>I.fx,dv:()=>I.dv,i5:()=>I.i5,Sd:()=>I.Sd,pR:()=>I.pR,ys:()=>I.ys,O6:()=>I.O6,B2:()=>I.B2,mH:()=>I.mH,MX:()=>I.MX,oU:()=>I.oU,IL:()=>I.IL,Jc:()=>I.Jc,Xn:()=>I.Xn,kZ:()=>I.kZ,v$:()=>I.v$,x2:()=>I.x2,vL:()=>I.vL,j4:()=>I.j4,jh:()=>I.jh,bx:()=>I.bx,Hm:()=>I.Hm,Cz:()=>I.Cz,sG:()=>I.sG,g$:()=>I.g$,bD:()=>I.bD,lt:()=>I.lt,Oe:()=>I.Oe,hu:()=>I.hu,Gw:()=>I.Gw,O5:()=>I.O5,te:()=>I.te,kN:()=>I.kN,$0:()=>I.$0,OV:()=>I.OV});var e=h(86087),c=h(92181),g=h(25245),w=h(47423),_=h(51062),b=h(69808),E=h(5e3);let v=(()=>{class q{}return q.\u0275fac=function(G){return new(G||q)},q.\u0275mod=E.oAB({type:q}),q.\u0275inj=E.cJS({providers:[],imports:[[e.TU,c.Tx,g.Ps,w.ot,_.aw,b.ez]]}),q})();var I=h(17218),N=h(18750);class A{static passwordMatchValidator(j){const G=j.get("passwordCtrl").value,Q=j.get("passwordAgainCtrl").value;return j.get("passwordAgainCtrl").setErrors(G!==Q?{noPasswordMatch:!0}:null),null}static patternValidator(j){return G=>{if(!G.value)return null;let Q=0;for(const he of j)Q+=he.test(G.value)?1:0;return Q>=3?null:{isWeak:!0}}}}},17218:(qe,me,h)=>{"use strict";h.d(me,{f7:()=>E,B2:()=>v,g$:()=>I,kN:()=>N,$0:()=>A,lt:()=>q,bD:()=>G,hu:()=>Q,Cz:()=>he,te:()=>be,ys:()=>pe,vL:()=>T,j4:()=>R,sF:()=>L,XI:()=>X,OV:()=>Te,MX:()=>Oe,oU:()=>Se,IL:()=>We,Jc:()=>ge,v$:()=>Le,i5:()=>P,kZ:()=>de,dv:()=>Ce,Hm:()=>Pe,Oe:()=>ce,Gw:()=>fe,x2:()=>Ze,sG:()=>ne,pR:()=>Be,Sd:()=>ze,Xn:()=>_e,O6:()=>ae,aC:()=>Ae,Xd:()=>ee,fx:()=>Ne,mH:()=>V,jh:()=>H,bx:()=>D,O5:()=>O});var e=h(70655),c=h(48966),g=h(69808),w=h(94327),b=h(64080);const E=[5,10,25,100],v=/^(([^<>+()[\]\\.,;:\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 I(i){let o="";return null==i||i.userAttributes.forEach(u=>{"preferredMail"===u.friendlyName&&(o=u.value)}),o&&0===o.length&&null!==i.memberAttributes&&i.memberAttributes.forEach(u=>{"mail"===u.friendlyName&&null!==u.value&&(o=u.value)}),o}function N(i){let o="";return i&&i.userAttributes.forEach(u=>{"preferredMail"===u.friendlyName&&(o=u.value)}),o}function A(i){let o="";return!!i&&!!i.userAttributes&&i.userAttributes.filter(u=>"login-namespace"===u.baseFriendlyName).filter(u=>null!==u.value).forEach(u=>{o=o.concat(u.friendlyNameParameter,": ",u.value,", ")}),o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function q(i){let o="";return!!i&&!!i.userAttributes&&i.userAttributes.filter(u=>"login-namespace"===u.baseFriendlyName).filter(u=>null!==u.value).forEach(u=>{o=o.concat(u.friendlyNameParameter,": ",u.value,", ")}),o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function G(i){let o="";return null!==i.titleBefore&&(o+=i.titleBefore+" "),null!==i.firstName&&(o+=i.firstName+" "),null!==i.middleName&&(o+=i.middleName+" "),null!==i.lastName&&(o+=i.lastName+" "),null!==i.titleAfter&&(o+=i.titleAfter+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function Q(i){let o="";return null!==i.firstName&&(o+=i.firstName+" "),null!==i.middleName&&(o+=i.middleName+" "),null!==i.lastName&&(o+=i.lastName+" "),o.endsWith(" ")&&(o=o.substring(0,o.length-1)),o}function he(i){let o="";return i.split(/(?=[A-Z])/g).forEach(l=>{o=o.concat(l.toLowerCase()),o=o.concat(" ")}),o=o.charAt(0).toUpperCase()+o.slice(1,o.length-1),o}function be(i){let o="";for(const u of i)"technical"===u.type&&(o+=u.name+", ");return o.endsWith(", ")&&(o=o.substring(0,o.length-2)),o}function pe(i,o){return(0,e.mG)(this,void 0,void 0,function*(){yield function ye(i){return new Promise(o=>setTimeout(o,i))}(i),o()})}function T(i){return JSON.parse(localStorage.getItem(i))||[]}function R(i){return JSON.parse(localStorage.getItem(i))||[]}function L(i,o){if(null===localStorage.getItem(i)){const u=[];u.unshift(o.id),localStorage.setItem(i,JSON.stringify(u))}else{const u=JSON.parse(localStorage.getItem(i)),l=function se(i,o){for(let u=0;u0&&u.splice(l,1),0!==l&&u.unshift(o.id),u.length>5&&u.pop(),localStorage.setItem(i,JSON.stringify(u))}}function X(i,o){if(null===localStorage.getItem("recent")){let u;u="Group"===i.beanName?[{id:i.id,name:i.shortName,fullName:i.name,type:i.beanName,voId:i.voId,voName:o}]:[{id:i.id,name:i.name,type:i.beanName,voId:i.voId}],localStorage.setItem("recent",JSON.stringify(u))}else{const u=JSON.parse(localStorage.getItem("recent"));let l;l="Group"===i.beanName?{id:i.id,name:i.shortName,fullName:i.name,type:i.beanName,voId:i.voId,voName:o}:{id:i.id,name:i.name,type:i.beanName,voId:i.voId};const s=function Y(i,o){for(let u=0;u0&&u.splice(s,1),0!==s&&u.unshift(l),u.length>5&&u.pop(),localStorage.setItem("recent",JSON.stringify(u))}}function Te(i){let o="";return i&&i.userAttributes.forEach(u=>{"organization"===u.friendlyName&&(o=u.value)}),o}function Oe(i){return i.filter(o=>!o.namespace.includes("def:core"))}function Se(i,o){const u=o.find(l=>l.id===i);return u?u.parentGroupId?Se(u.parentGroupId,o).concat(u):[u]:[]}function We(i,o){for(const u of i)if(u.namespace+":"+u.friendlyName===o)return u;return null}function ge(i){return null!=i.attributes["urn:perun:member:attribute-def:def:mail"]?i.attributes["urn:perun:member:attribute-def:def:mail"]:null!=i.attributes["urn:perun:user:attribute-def:def:preferredMail"]?i.attributes["urn:perun:user:attribute-def:def:preferredMail"]:""}function Le(i){return i.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceX509".toLowerCase()?function ue(i){if(i.includes("/CN=")){const o=i.split("/");for(const u of o)if(u.startsWith("CN="))return Me(u.substring(3))}return i}(i.userExtSource.extSource.name):i.userExtSource.extSource.type.toLowerCase()==="cz.metacentrum.perun.core.impl.ExtSourceIdp".toLowerCase()?function z(i){switch(i){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 i}}(i.userExtSource.extSource.name):i.userExtSource.extSource.name}function Me(i){return decodeURIComponent(i.replace(/\\x/g,"%"))}function P(i=["en","cs"]){const o={appType:"INITIAL",formId:0,mailType:"APP_CREATED_USER",send:!0,message:{},htmlMessage:{}};return i.forEach(u=>{o.message[u]={locale:u,htmlFormat:!1,subject:"",text:""},o.htmlMessage[u]={locale:u,htmlFormat:!0,subject:"",text:""}}),o}function de(){const i=new c.vA;return i.disableClose=!0,i.autoFocus=!1,i}function Ce(i){const o={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 u of i)o.i18n[u]={locale:u,errorMessage:"",help:"",label:"",options:""};return o}function Pe(i){return"virt"===i.namespace.split(":")[4]}function ce(i,o){return"valid"!==i.toLowerCase()||o&&"valid"!==i.toLowerCase()?i:"ACTIVE"}function fe(i){let o="";return null==i||i.memberAttributes.forEach(u=>{"organization"===u.friendlyName&&null!==u.value&&(o=u.value)}),0===o.length&&(null==i||i.userAttributes.forEach(u=>{"organization"===u.friendlyName&&(o=u.value)})),o}function Ze(i){var o;const u=i.attributes.find(l=>"groupMembershipExpiration"===l.baseFriendlyName);return null!==(o=null==u?void 0:u.value)&&void 0!==o?o:"Never"}function ne(i){return i&&"never"!==i.toLowerCase()?(0,g.p6)(i,"d.M.yyyy","en"):i}const it=new Intl.Collator("cs",{numeric:!0});function Be(i,o,u){const l=o.active,s=o.direction;return l&&""!==s?i.sort((n,t)=>{const r=u(n,l),a=u(t,l);return it.compare(r,a)*("asc"===s?1:-1)}):i}function ze(i,o,u,l,s){o=o.toLowerCase();let n="";return u.forEach(t=>{n+=";"+l(i,t)}),s&&(n+=";"+l(i,"uuid")),n.toLowerCase().includes(o)}function _e(i,o,u){const l=[],s=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(n=>!s.includes(n)),i.forEach(n=>{const t={};o.forEach(r=>{var a;t[r]=(null!==(a=u(n,r))&&void 0!==a?a:"").split('"').join("''").trim()}),l.push(t)}),l}function ae(i,o="csv",u="export"){if("csv"===o){const l=(a,d)=>null===d?"":d,s=Object.keys(i[0]),n=i.map(a=>s.map(d=>JSON.stringify(a[d],l)).join(","));n.unshift(s.join(",").split(" ").join("_").split('"').join("''"));const t=n.join("\r\n"),r=new Blob([t],{type:"text/csv"});(0,w.saveAs)(r,`${u}.${o}`)}}function Ae(i,o){return i.name.toLowerCase()>o.name.toLowerCase()?1:i.name.toLowerCase()===o.name.toLowerCase()?0:-1}function ee(i,o){return i.displayName.toLowerCase()>o.displayName.toLowerCase()?1:i.displayName.toLowerCase()===o.displayName.toLowerCase()?0:-1}function Ne(i,o){var u,l,s,n;let t,r;return i.user?(t=i.user.lastName?i.user.lastName:null!==(u=i.user.firstName)&&void 0!==u?u:"",r=o.user.lastName?o.user.lastName:null!==(l=o.user.firstName)&&void 0!==l?l:""):(t=i.lastName?i.lastName:null!==(s=i.firstName)&&void 0!==s?s:"",r=o.lastName?o.lastName:null!==(n=o.firstName)&&void 0!==n?n:""),t>r?1:t===r?0:-1}function V(i,o,u=[]){i.enable(),i.clearValidators(),i.clearAsyncValidators(),i.setValidators(o),i.setAsyncValidators(u),i.updateValueAndValidity()}function H(i,o){return!!i&&i.some(u=>u.namespace+":"+u.friendlyName===o&&null!==u.value&&"true"===String(u.value))}function D(i){return H(i.attributes,b.r.GROUP_SYNC_ENABLED)||H(i.attributes,b.r.GROUP_STRUCTURE_SYNC_ENABLED)}function O(i,o){const u=o.split("&");for(const l of u){const[s,n]=l.split("=");if(s.includes(i))return n}return""}},18750:(qe,me,h)=>{"use strict";h.d(me,{l:()=>G});var e=h(5e3),c=h(86087),g=h(17218),w=h(10036),_=h(69808),b=h(47423),E=h(92181),v=h(25245),I=h(51062);let N=(()=>{class Q{constructor(){this.exportData=new e.vpe}}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275cmp=e.Xpm({type:Q,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(F,be){if(1&F&&(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 be.exportData.emit("csv")}),e._uU(12,"Csv"),e.qZA(),e.qZA(),e.qZA()),2&F){const pe=e.MAs(5),ye=e.MAs(10);e.xp6(1),e.Q6J("matMenuTriggerFor",pe),e.xp6(5),e.Q6J("matMenuTriggerFor",ye),e.xp6(1),e.hij(" ",e.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[b.lW,E.p6,v.Hw,E.VK,E.OP],pipes:[I.X$],styles:[""]}),Q})();function A(Q,he){if(1&Q){const F=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(pe){return e.CHM(F),e.oxw().exportData.emit(pe)}),e.qZA()}}function q(Q,he){if(1&Q){const F=e.EpF();e.TgZ(0,"perun-web-apps-table-options",6),e.NdJ("exportData",function(pe){return e.CHM(F),e.oxw().exportData.emit(pe)}),e.qZA()}}const j=["*"];let G=(()=>{class Q{constructor(F){this.tableConfigService=F,this.hideExport=!1,this.pageSizeOptions=g.f7,this.dataLength=0,this.exportData=new e.vpe,this.pageSize=5}set matPaginator(F){this.paginator=F}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}pageChangedTop(F){this.pageSize=F.pageSize,this.tableConfigService.setTablePageSize(this.tableId,F.pageSize)}pageChangedBottom(F){this.paginator.pageSize=F.pageSize,this.paginator.pageIndex=F.pageIndex,this.paginator.page.emit(F),this.pageSize=F.pageSize,this.tableId&&this.tableConfigService.setTablePageSize(this.tableId,F.pageSize)}}return Q.\u0275fac=function(F){return new(F||Q)(e.Y36(w.dB))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(F,be){if(1&F&&e.Gf(c.NW,7),2&F){let pe;e.iGM(pe=e.CRH())&&(be.matPaginator=pe.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:j,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(F,be){1&F&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"mat-paginator",2),e.NdJ("page",function(ye){return be.pageChangedTop(ye)}),e.qZA(),e.YNc(3,A,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(ye){return be.pageChangedBottom(ye)}),e.qZA(),e.YNc(8,q,1,0,"perun-web-apps-table-options",3),e.qZA(),e.qZA()),2&F&&(e.xp6(2),e.Q6J("length",be.dataLength)("pageSizeOptions",be.pageSizeOptions)("pageSize",be.pageSize),e.xp6(1),e.Q6J("ngIf",!be.hideExport),e.xp6(4),e.Q6J("length",be.paginator.length)("pageIndex",be.paginator.pageIndex)("pageSizeOptions",be.paginator.pageSizeOptions)("pageSize",be.paginator.pageSize),e.xp6(1),e.Q6J("ngIf",!be.hideExport))},directives:[c.NW,_.O5,N],styles:[""]}),Q})()},98380:(qe,me,h)=>{"use strict";h.d(me,{w:()=>I});var e=h(5e3),c=h(69808),g=h(25245);function w(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," info "),e.qZA())}function _(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," warning "),e.qZA())}function b(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," dangerous "),e.qZA())}function E(N,A){1&N&&(e.TgZ(0,"mat-icon",2),e._uU(1," check_circle "),e.qZA())}const v=["*"];let I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275cmp=e.Xpm({type:N,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:v,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(q,j){1&q&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,w,2,0,"mat-icon",1),e.YNc(2,_,2,0,"mat-icon",1),e.YNc(3,b,2,0,"mat-icon",1),e.YNc(4,E,2,0,"mat-icon",1),e.Hsn(5),e.qZA()),2&q&&(e.ekj("warn-alert","warn"===j.alert_type)("error-alert","error"===j.alert_type)("success-alert","success"===j.alert_type)("info-alert","info"===j.alert_type),e.xp6(1),e.Q6J("ngIf","info"===j.alert_type),e.xp6(1),e.Q6J("ngIf","warn"===j.alert_type),e.xp6(1),e.Q6J("ngIf","error"===j.alert_type),e.xp6(1),e.Q6J("ngIf","success"===j.alert_type))},directives:[c.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}"]}),N})()},63189:(qe,me,h)=>{"use strict";h.d(me,{r:()=>w});var e=h(25245),c=h(69808),g=h(5e3);let w=(()=>{class _{}return _.\u0275fac=function(E){return new(E||_)},_.\u0275mod=g.oAB({type:_}),_.\u0275inj=g.cJS({imports:[[e.Ps,c.ez]]}),_})()},6397:(qe,me,h)=>{"use strict";h.d(me,{C:()=>u});var e=h(69808),c=h(47423),g=h(9224),w=h(77446),_=h(48966),b=h(4834),E=h(81125),v=h(67322),I=h(5e3),N=h(90508);let Le=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[N.uc,N.BQ],N.uc,N.BQ]}),l})();var Me=h(25245),z=h(98833),P=h(20773),de=h(92081),Ce=h(32075),Pe=h(29071),ce=h(93075),fe=h(86856),Ze=h(2638),ne=h(14623),it=h(92181);let ee=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[N.BQ],N.BQ]}),l})();var Ne=h(84847),V=h(86087),H=h(29772),D=h(74107),O=h(53251),i=h(32368),o=h(26688);let u=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=I.oAB({type:l}),l.\u0275inj=I.cJS({imports:[[e.ez,g.QW,b.t,E.To,c.ot,Le,w.p9,Me.Ps,Ce.p0,_.Is,P.Cq,v.lN,z.c,Pe.Cl,ce.u5,ce.UX,de.T5,fe.FA,N.XK,Ze.SJ,ne.ie,it.Tx,ee,Ne.JX,V.TU,H.AV,D.LD,N.si,Ce.p0,i.rP,o.Hi],g.QW,b.t,E.To,c.ot,Le,w.p9,Me.Ps,Ce.p0,_.Is,P.Cq,v.lN,z.c,Pe.Cl,ce.u5,ce.UX,de.T5,fe.FA,N.XK,Ze.SJ,ne.ie,it.Tx,ee,Ne.JX,V.TU,H.AV,D.LD,N.si,O.Nh,i.rP,o.Hi]}),l})()},71345:qe=>{var w=.1,_="function"==typeof Float32Array;function b(G,Q){return 1-3*Q+3*G}function E(G,Q){return 3*Q-6*G}function v(G){return 3*G}function I(G,Q,he){return((b(Q,he)*G+E(Q,he))*G+v(Q))*G}function N(G,Q,he){return 3*b(Q,he)*G*G+2*E(Q,he)*G+v(Q)}function j(G){return G}qe.exports=function(Q,he,F,be){if(!(0<=Q&&Q<=1&&0<=F&&F<=1))throw new Error("bezier x values must be in [0, 1] range");if(Q===he&&F===be)return j;for(var pe=_?new Float32Array(11):new Array(11),ye=0;ye<11;++ye)pe[ye]=I(ye*w,Q,F);return function(L){return 0===L?0:1===L?1:I(function T(R){for(var L=0,X=1;10!==X&&pe[X]<=R;++X)L+=w;--X;var Te=L+(R-pe[X])/(pe[X+1]-pe[X])*w,Oe=N(Te,Q,F);return Oe>=.001?function q(G,Q,he,F){for(var be=0;be<4;++be){var pe=N(Q,he,F);if(0===pe)return Q;Q-=(I(Q,he,F)-G)/pe}return Q}(R,Te,Q,F):0===Oe?Te:function A(G,Q,he,F,be){var pe,ye,T=0;do{(pe=I(ye=Q+(he-Q)/2,F,be)-G)>0?he=ye:Q=ye}while(Math.abs(pe)>1e-7&&++T<10);return ye}(R,L,L+w,Q,F)}(L),he,be)}}},1302:function(qe,me,h){var e;!function(c,g){var w={};!function(c){"use strict";c.__esModule=!0,c.digestLength=32,c.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 w(j,G,Q,he,F){for(var be,pe,ye,T,R,L,X,Y,se,Te,Oe,Se,We;F>=64;){for(be=G[0],pe=G[1],ye=G[2],T=G[3],R=G[4],L=G[5],X=G[6],Y=G[7],Te=0;Te<16;Te++)j[Te]=(255&Q[Oe=he+4*Te])<<24|(255&Q[Oe+1])<<16|(255&Q[Oe+2])<<8|255&Q[Oe+3];for(Te=16;Te<64;Te++)j[Te]=((Se=((se=j[Te-2])>>>17|se<<15)^(se>>>19|se<<13)^se>>>10)+j[Te-7]|0)+((We=((se=j[Te-15])>>>7|se<<25)^(se>>>18|se<<14)^se>>>3)+j[Te-16]|0);for(Te=0;Te<64;Te++)Se=(((R>>>6|R<<26)^(R>>>11|R<<21)^(R>>>25|R<<7))+(R&L^~R&X)|0)+(Y+(g[Te]+j[Te]|0)|0)|0,We=((be>>>2|be<<30)^(be>>>13|be<<19)^(be>>>22|be<<10))+(be&pe^be&ye^pe&ye)|0,Y=X,X=L,L=R,R=T+Se|0,T=ye,ye=pe,pe=be,be=Se+We|0;G[0]+=be,G[1]+=pe,G[2]+=ye,G[3]+=T,G[4]+=R,G[5]+=L,G[6]+=X,G[7]+=Y,he+=64,F-=64}return he}var _=function(){function j(){this.digestLength=c.digestLength,this.blockSize=c.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 j.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},j.prototype.clean=function(){for(var G=0;G0){for(;this.bufferLength<64&&Q>0;)this.buffer[this.bufferLength++]=G[he++],Q--;64===this.bufferLength&&(w(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(Q>=64&&(he=w(this.temp,this.state,G,he,Q),Q%=64);Q>0;)this.buffer[this.bufferLength++]=G[he++],Q--;return this},j.prototype.finish=function(G){if(!this.finished){var Q=this.bytesHashed,he=this.bufferLength,F=Q/536870912|0,be=Q<<3,pe=Q%64<56?64:128;this.buffer[he]=128;for(var ye=he+1;ye>>24&255,this.buffer[pe-7]=F>>>16&255,this.buffer[pe-6]=F>>>8&255,this.buffer[pe-5]=F>>>0&255,this.buffer[pe-4]=be>>>24&255,this.buffer[pe-3]=be>>>16&255,this.buffer[pe-2]=be>>>8&255,this.buffer[pe-1]=be>>>0&255,w(this.temp,this.state,this.buffer,0,pe),this.finished=!0}for(ye=0;ye<8;ye++)G[4*ye+0]=this.state[ye]>>>24&255,G[4*ye+1]=this.state[ye]>>>16&255,G[4*ye+2]=this.state[ye]>>>8&255,G[4*ye+3]=this.state[ye]>>>0&255;return this},j.prototype.digest=function(){var G=new Uint8Array(this.digestLength);return this.finish(G),G},j.prototype._saveState=function(G){for(var Q=0;Qthis.blockSize)(new _).update(G).finish(Q).clean();else for(var he=0;he1&&G.update(j),Q&&G.update(Q),G.update(he),G.finish(j),he[0]++}c.HMAC=b,c.hash=E,c.default=E,c.hmac=v;var N=new Uint8Array(c.digestLength);c.hkdf=function A(j,G,Q,he){void 0===G&&(G=N),void 0===he&&(he=32);for(var F=new Uint8Array([1]),be=v(G,j),pe=new b(be),ye=new Uint8Array(pe.digestLength),T=ye.length,R=new Uint8Array(he),L=0;L>>24&255,pe[1]=X>>>16&255,pe[2]=X>>>8&255,pe[3]=X>>>0&255,F.reset(),F.update(G),F.update(pe),F.finish(T);for(var Y=0;Y=A.status}function b(N){try{N.dispatchEvent(new MouseEvent("click"))}catch(q){var A=document.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),N.dispatchEvent(A)}}var E="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,v=E.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),I=E.saveAs||("object"!=typeof window||window!==E?function(){}:"download"in HTMLAnchorElement.prototype&&!v?function(N,A,q){var j=E.URL||E.webkitURL,G=document.createElement("a");G.download=A=A||N.name||"download",G.rel="noopener","string"==typeof N?(G.href=N,G.origin===location.origin?b(G):_(G.href)?w(N,A,q):b(G,G.target="_blank")):(G.href=j.createObjectURL(N),setTimeout(function(){j.revokeObjectURL(G.href)},4e4),setTimeout(function(){b(G)},0))}:"msSaveOrOpenBlob"in navigator?function(N,A,q){if(A=A||N.name||"download","string"!=typeof N)navigator.msSaveOrOpenBlob(function g(N,A){return void 0===A?A={autoBom:!1}:"object"!=typeof A&&(console.warn("Deprecated: Expected third argument to be a object"),A={autoBom:!A}),A.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,q),A);else if(_(N))w(N,A,q);else{var j=document.createElement("a");j.href=N,j.target="_blank",setTimeout(function(){b(j)})}}:function(N,A,q,j){if((j=j||open("","_blank"))&&(j.document.title=j.document.body.innerText="downloading..."),"string"==typeof N)return w(N,A,q);var G="application/octet-stream"===N.type,Q=/constructor/i.test(E.HTMLElement)||E.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||G&&Q||v)&&"undefined"!=typeof FileReader){var F=new FileReader;F.onloadend=function(){var ye=F.result;ye=he?ye:ye.replace(/^data:[^;]*;/,"data:attachment/file;"),j?j.location.href=ye:location=ye,j=null},F.readAsDataURL(N)}else{var be=E.URL||E.webkitURL,pe=be.createObjectURL(N);j?j.location=pe:location.href=pe,j=null,setTimeout(function(){be.revokeObjectURL(pe)},4e4)}});E.saveAs=I.saveAs=I,qe.exports=I}.apply(me,[]))&&(qe.exports=c)},61135:(qe,me,h)=>{"use strict";h.d(me,{X:()=>c});var e=h(77579);class c extends e.x{constructor(w){super(),this._value=w}get value(){return this.getValue()}_subscribe(w){const _=super._subscribe(w);return!_.closed&&w.next(this._value),_}getValue(){const{hasError:w,thrownError:_,_value:b}=this;if(w)throw _;return this._throwIfClosed(),b}next(w){super.next(this._value=w)}}},68306:(qe,me,h)=>{"use strict";h.d(me,{y:()=>N});var e=h(70930),c=h(50727),g=h(48822),w=h(44671);var E=h(42416),v=h(30576),I=h(72806);let N=(()=>{class G{constructor(he){he&&(this._subscribe=he)}lift(he){const F=new G;return F.source=this,F.operator=he,F}subscribe(he,F,be){const pe=function j(G){return G&&G instanceof e.Lv||function q(G){return G&&(0,v.m)(G.next)&&(0,v.m)(G.error)&&(0,v.m)(G.complete)}(G)&&(0,c.Nn)(G)}(he)?he:new e.Hp(he,F,be);return(0,I.x)(()=>{const{operator:ye,source:T}=this;pe.add(ye?ye.call(pe,T):T?this._subscribe(pe):this._trySubscribe(pe))}),pe}_trySubscribe(he){try{return this._subscribe(he)}catch(F){he.error(F)}}forEach(he,F){return new(F=A(F))((be,pe)=>{const ye=new e.Hp({next:T=>{try{he(T)}catch(R){pe(R),ye.unsubscribe()}},error:pe,complete:be});this.subscribe(ye)})}_subscribe(he){var F;return null===(F=this.source)||void 0===F?void 0:F.subscribe(he)}[g.L](){return this}pipe(...he){return function b(G){return 0===G.length?w.y:1===G.length?G[0]:function(he){return G.reduce((F,be)=>be(F),he)}}(he)(this)}toPromise(he){return new(he=A(he))((F,be)=>{let pe;this.subscribe(ye=>pe=ye,ye=>be(ye),()=>F(pe))})}}return G.create=Q=>new G(Q),G})();function A(G){var Q;return null!==(Q=null!=G?G:E.v.Promise)&&void 0!==Q?Q:Promise}},4707:(qe,me,h)=>{"use strict";h.d(me,{t:()=>g});var e=h(77579),c=h(26063);class g extends e.x{constructor(_=1/0,b=1/0,E=c.l){super(),this._bufferSize=_,this._windowTime=b,this._timestampProvider=E,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=b===1/0,this._bufferSize=Math.max(1,_),this._windowTime=Math.max(1,b)}next(_){const{isStopped:b,_buffer:E,_infiniteTimeWindow:v,_timestampProvider:I,_windowTime:N}=this;b||(E.push(_),!v&&E.push(I.now()+N)),this._trimBuffer(),super.next(_)}_subscribe(_){this._throwIfClosed(),this._trimBuffer();const b=this._innerSubscribe(_),{_infiniteTimeWindow:E,_buffer:v}=this,I=v.slice();for(let N=0;N{"use strict";h.d(me,{x:()=>E});var e=h(68306),c=h(50727);const w=(0,h(83888).d)(I=>function(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _=h(38737),b=h(72806);let E=(()=>{class I extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(A){const q=new v(this,this);return q.operator=A,q}_throwIfClosed(){if(this.closed)throw new w}next(A){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const q of this.currentObservers)q.next(A)}})}error(A){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=A;const{observers:q}=this;for(;q.length;)q.shift().error(A)}})}complete(){(0,b.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:A}=this;for(;A.length;)A.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var A;return(null===(A=this.observers)||void 0===A?void 0:A.length)>0}_trySubscribe(A){return this._throwIfClosed(),super._trySubscribe(A)}_subscribe(A){return this._throwIfClosed(),this._checkFinalizedStatuses(A),this._innerSubscribe(A)}_innerSubscribe(A){const{hasError:q,isStopped:j,observers:G}=this;return q||j?c.Lc:(this.currentObservers=null,G.push(A),new c.w0(()=>{this.currentObservers=null,(0,_.P)(G,A)}))}_checkFinalizedStatuses(A){const{hasError:q,thrownError:j,isStopped:G}=this;q?A.error(j):G&&A.complete()}asObservable(){const A=new e.y;return A.source=this,A}}return I.create=(N,A)=>new v(N,A),I})();class v extends E{constructor(N,A){super(),this.destination=N,this.source=A}next(N){var A,q;null===(q=null===(A=this.destination)||void 0===A?void 0:A.next)||void 0===q||q.call(A,N)}error(N){var A,q;null===(q=null===(A=this.destination)||void 0===A?void 0:A.error)||void 0===q||q.call(A,N)}complete(){var N,A;null===(A=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===A||A.call(N)}_subscribe(N){var A,q;return null!==(q=null===(A=this.source)||void 0===A?void 0:A.subscribe(N))&&void 0!==q?q:c.Lc}}},70930:(qe,me,h)=>{"use strict";h.d(me,{Hp:()=>he,Lv:()=>q});var e=h(30576),c=h(50727),g=h(42416),w=h(87849),_=h(25032);const b=I("C",void 0,void 0);function I(T,R,L){return{kind:T,value:R,error:L}}var N=h(43410),A=h(72806);class q extends c.w0{constructor(R){super(),this.isStopped=!1,R?(this.destination=R,(0,c.Nn)(R)&&R.add(this)):this.destination=ye}static create(R,L,X){return new he(R,L,X)}next(R){this.isStopped?pe(function v(T){return I("N",T,void 0)}(R),this):this._next(R)}error(R){this.isStopped?pe(function E(T){return I("E",void 0,T)}(R),this):(this.isStopped=!0,this._error(R))}complete(){this.isStopped?pe(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(R){this.destination.next(R)}_error(R){try{this.destination.error(R)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const j=Function.prototype.bind;function G(T,R){return j.call(T,R)}class Q{constructor(R){this.partialObserver=R}next(R){const{partialObserver:L}=this;if(L.next)try{L.next(R)}catch(X){F(X)}}error(R){const{partialObserver:L}=this;if(L.error)try{L.error(R)}catch(X){F(X)}else F(R)}complete(){const{partialObserver:R}=this;if(R.complete)try{R.complete()}catch(L){F(L)}}}class he extends q{constructor(R,L,X){let Y;if(super(),(0,e.m)(R)||!R)Y={next:null!=R?R:void 0,error:null!=L?L:void 0,complete:null!=X?X:void 0};else{let se;this&&g.v.useDeprecatedNextContext?(se=Object.create(R),se.unsubscribe=()=>this.unsubscribe(),Y={next:R.next&&G(R.next,se),error:R.error&&G(R.error,se),complete:R.complete&&G(R.complete,se)}):Y=R}this.destination=new Q(Y)}}function F(T){g.v.useDeprecatedSynchronousErrorHandling?(0,A.O)(T):(0,w.h)(T)}function pe(T,R){const{onStoppedNotification:L}=g.v;L&&N.z.setTimeout(()=>L(T,R))}const ye={closed:!0,next:_.Z,error:function be(T){throw T},complete:_.Z}},50727:(qe,me,h)=>{"use strict";h.d(me,{Lc:()=>b,w0:()=>_,Nn:()=>E});var e=h(30576);const g=(0,h(83888).d)(I=>function(A){I(this),this.message=A?`${A.length} errors occurred during unsubscription:\n${A.map((q,j)=>`${j+1}) ${q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=A});var w=h(38737);class _{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:A}=this;if(A)if(this._parentage=null,Array.isArray(A))for(const G of A)G.remove(this);else A.remove(this);const{initialTeardown:q}=this;if((0,e.m)(q))try{q()}catch(G){N=G instanceof g?G.errors:[G]}const{_finalizers:j}=this;if(j){this._finalizers=null;for(const G of j)try{v(G)}catch(Q){N=null!=N?N:[],Q instanceof g?N=[...N,...Q.errors]:N.push(Q)}}if(N)throw new g(N)}}add(N){var A;if(N&&N!==this)if(this.closed)v(N);else{if(N instanceof _){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(A=this._finalizers)&&void 0!==A?A:[]).push(N)}}_hasParent(N){const{_parentage:A}=this;return A===N||Array.isArray(A)&&A.includes(N)}_addParent(N){const{_parentage:A}=this;this._parentage=Array.isArray(A)?(A.push(N),A):A?[A,N]:N}_removeParent(N){const{_parentage:A}=this;A===N?this._parentage=null:Array.isArray(A)&&(0,w.P)(A,N)}remove(N){const{_finalizers:A}=this;A&&(0,w.P)(A,N),N instanceof _&&N._removeParent(this)}}_.EMPTY=(()=>{const I=new _;return I.closed=!0,I})();const b=_.EMPTY;function E(I){return I instanceof _||I&&"closed"in I&&(0,e.m)(I.remove)&&(0,e.m)(I.add)&&(0,e.m)(I.unsubscribe)}function v(I){(0,e.m)(I)?I():I.unsubscribe()}},42416:(qe,me,h)=>{"use strict";h.d(me,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},39841:(qe,me,h)=>{"use strict";h.d(me,{a:()=>N});var e=h(68306),c=h(54742),g=h(32076),w=h(44671),_=h(83268),b=h(63269),E=h(31810),v=h(25403),I=h(39672);function N(...j){const G=(0,b.yG)(j),Q=(0,b.jO)(j),{args:he,keys:F}=(0,c.D)(j);if(0===he.length)return(0,g.D)([],G);const be=new e.y(function A(j,G,Q=w.y){return he=>{q(G,()=>{const{length:F}=j,be=new Array(F);let pe=F,ye=F;for(let T=0;T{const R=(0,g.D)(j[T],G);let L=!1;R.subscribe((0,v.x)(he,X=>{be[T]=X,L||(L=!0,ye--),ye||he.next(Q(be.slice()))},()=>{--pe||he.complete()}))},he)},he)}}(he,G,F?pe=>(0,E.n)(F,pe):w.y));return Q?be.pipe((0,_.Z)(Q)):be}function q(j,G,Q){j?(0,I.f)(Q,j,G):G()}},97272:(qe,me,h)=>{"use strict";h.d(me,{z:()=>_});var e=h(8189),g=h(63269),w=h(32076);function _(...b){return function c(){return(0,e.J)(1)}()((0,w.D)(b,(0,g.yG)(b)))}},49770:(qe,me,h)=>{"use strict";h.d(me,{P:()=>g});var e=h(68306),c=h(38421);function g(w){return new e.y(_=>{(0,c.Xf)(w()).subscribe(_)})}},60515:(qe,me,h)=>{"use strict";h.d(me,{E:()=>c});const c=new(h(68306).y)(_=>_.complete())},4128:(qe,me,h)=>{"use strict";h.d(me,{D:()=>v});var e=h(68306),c=h(54742),g=h(38421),w=h(63269),_=h(25403),b=h(83268),E=h(31810);function v(...I){const N=(0,w.jO)(I),{args:A,keys:q}=(0,c.D)(I),j=new e.y(G=>{const{length:Q}=A;if(!Q)return void G.complete();const he=new Array(Q);let F=Q,be=Q;for(let pe=0;pe{ye||(ye=!0,be--),he[pe]=T},()=>F--,void 0,()=>{(!F||!ye)&&(be||G.next(q?(0,E.n)(q,he):he),G.complete())}))}});return N?j.pipe((0,b.Z)(N)):j}},32076:(qe,me,h)=>{"use strict";h.d(me,{D:()=>X});var e=h(38421),c=h(39672),g=h(54482),w=h(25403);function _(Y,se=0){return(0,g.e)((Te,Oe)=>{Te.subscribe((0,w.x)(Oe,Se=>(0,c.f)(Oe,Y,()=>Oe.next(Se),se),()=>(0,c.f)(Oe,Y,()=>Oe.complete(),se),Se=>(0,c.f)(Oe,Y,()=>Oe.error(Se),se)))})}function b(Y,se=0){return(0,g.e)((Te,Oe)=>{Oe.add(Y.schedule(()=>Te.subscribe(Oe),se))})}var I=h(68306),A=h(2202),q=h(30576);function G(Y,se){if(!Y)throw new Error("Iterable cannot be null");return new I.y(Te=>{(0,c.f)(Te,se,()=>{const Oe=Y[Symbol.asyncIterator]();(0,c.f)(Te,se,()=>{Oe.next().then(Se=>{Se.done?Te.complete():Te.next(Se.value)})},0,!0)})})}var Q=h(93670),he=h(28239),F=h(81144),be=h(26495),pe=h(12206),ye=h(44532),T=h(53260);function X(Y,se){return se?function L(Y,se){if(null!=Y){if((0,Q.c)(Y))return function E(Y,se){return(0,e.Xf)(Y).pipe(b(se),_(se))}(Y,se);if((0,F.z)(Y))return function N(Y,se){return new I.y(Te=>{let Oe=0;return se.schedule(function(){Oe===Y.length?Te.complete():(Te.next(Y[Oe++]),Te.closed||this.schedule())})})}(Y,se);if((0,he.t)(Y))return function v(Y,se){return(0,e.Xf)(Y).pipe(b(se),_(se))}(Y,se);if((0,pe.D)(Y))return G(Y,se);if((0,be.T)(Y))return function j(Y,se){return new I.y(Te=>{let Oe;return(0,c.f)(Te,se,()=>{Oe=Y[A.h](),(0,c.f)(Te,se,()=>{let Se,We;try{({value:Se,done:We}=Oe.next())}catch(ge){return void Te.error(ge)}We?Te.complete():Te.next(Se)},0,!0)}),()=>(0,q.m)(null==Oe?void 0:Oe.return)&&Oe.return()})}(Y,se);if((0,T.L)(Y))return function R(Y,se){return G((0,T.Q)(Y),se)}(Y,se)}throw(0,ye.z)(Y)}(Y,se):(0,e.Xf)(Y)}},54968:(qe,me,h)=>{"use strict";h.d(me,{R:()=>N});var e=h(38421),c=h(68306),g=h(86099),w=h(81144),_=h(30576),b=h(83268);const E=["addListener","removeListener"],v=["addEventListener","removeEventListener"],I=["on","off"];function N(Q,he,F,be){if((0,_.m)(F)&&(be=F,F=void 0),be)return N(Q,he,F).pipe((0,b.Z)(be));const[pe,ye]=function G(Q){return(0,_.m)(Q.addEventListener)&&(0,_.m)(Q.removeEventListener)}(Q)?v.map(T=>R=>Q[T](he,R,F)):function q(Q){return(0,_.m)(Q.addListener)&&(0,_.m)(Q.removeListener)}(Q)?E.map(A(Q,he)):function j(Q){return(0,_.m)(Q.on)&&(0,_.m)(Q.off)}(Q)?I.map(A(Q,he)):[];if(!pe&&(0,w.z)(Q))return(0,g.z)(T=>N(T,he,F))((0,e.Xf)(Q));if(!pe)throw new TypeError("Invalid event target");return new c.y(T=>{const R=(...L)=>T.next(1ye(R)})}function A(Q,he){return F=>be=>Q[F](he,be)}},38421:(qe,me,h)=>{"use strict";h.d(me,{Xf:()=>j});var e=h(70655),c=h(81144),g=h(28239),w=h(68306),_=h(93670),b=h(12206),E=h(44532),v=h(26495),I=h(53260),N=h(30576),A=h(87849),q=h(48822);function j(T){if(T instanceof w.y)return T;if(null!=T){if((0,_.c)(T))return function G(T){return new w.y(R=>{const L=T[q.L]();if((0,N.m)(L.subscribe))return L.subscribe(R);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(T);if((0,c.z)(T))return function Q(T){return new w.y(R=>{for(let L=0;L{T.then(L=>{R.closed||(R.next(L),R.complete())},L=>R.error(L)).then(null,A.h)})}(T);if((0,b.D)(T))return be(T);if((0,v.T)(T))return function F(T){return new w.y(R=>{for(const L of T)if(R.next(L),R.closed)return;R.complete()})}(T);if((0,I.L)(T))return function pe(T){return be((0,I.Q)(T))}(T)}throw(0,E.z)(T)}function be(T){return new w.y(R=>{(function ye(T,R){var L,X,Y,se;return(0,e.mG)(this,void 0,void 0,function*(){try{for(L=(0,e.KL)(T);!(X=yield L.next()).done;)if(R.next(X.value),R.closed)return}catch(Te){Y={error:Te}}finally{try{X&&!X.done&&(se=L.return)&&(yield se.call(L))}finally{if(Y)throw Y.error}}R.complete()})})(T,R).catch(L=>R.error(L))})}},17445:(qe,me,h)=>{"use strict";h.d(me,{F:()=>g});var e=h(34986),c=h(82805);function g(w=0,_=e.z){return w<0&&(w=0),(0,c.H)(w,w,_)}},56451:(qe,me,h)=>{"use strict";h.d(me,{T:()=>b});var e=h(8189),c=h(38421),g=h(60515),w=h(63269),_=h(32076);function b(...E){const v=(0,w.yG)(E),I=(0,w._6)(E,1/0),N=E;return N.length?1===N.length?(0,c.Xf)(N[0]):(0,e.J)(I)((0,_.D)(N,v)):g.E}},39646:(qe,me,h)=>{"use strict";h.d(me,{of:()=>g});var e=h(63269),c=h(32076);function g(...w){const _=(0,e.yG)(w);return(0,c.D)(w,_)}},54355:(qe,me,h)=>{"use strict";h.d(me,{S:()=>_});var e=h(68306),c=h(38421),g=h(75797),w=h(25403);function _(...E){return 1===(E=(0,g.k)(E)).length?(0,c.Xf)(E[0]):new e.y(function b(E){return v=>{let I=[];for(let N=0;I&&!v.closed&&N{if(I){for(let q=0;q{"use strict";h.d(me,{_:()=>g});var e=h(68306),c=h(30576);function g(w,_){const b=(0,c.m)(w)?w:()=>w,E=v=>v.error(b());return new e.y(_?v=>_.schedule(E,0,v):E)}},82805:(qe,me,h)=>{"use strict";h.d(me,{H:()=>_});var e=h(68306),c=h(34986),g=h(93532),w=h(51165);function _(b=0,E,v=c.P){let I=-1;return null!=E&&((0,g.K)(E)?v=E:I=E),new e.y(N=>{let A=(0,w.q)(b)?+b-v.now():b;A<0&&(A=0);let q=0;return v.schedule(function(){N.closed||(N.next(q++),0<=I?this.schedule(void 0,I):N.complete())},A)})}},25403:(qe,me,h)=>{"use strict";h.d(me,{x:()=>c});var e=h(70930);function c(w,_,b,E,v){return new g(w,_,b,E,v)}class g extends e.Lv{constructor(_,b,E,v,I,N){super(_),this.onFinalize=I,this.shouldUnsubscribe=N,this._next=b?function(A){try{b(A)}catch(q){_.error(q)}}:super._next,this._error=v?function(A){try{v(A)}catch(q){_.error(q)}finally{this.unsubscribe()}}:super._error,this._complete=E?function(){try{E()}catch(A){_.error(A)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var _;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:b}=this;super.unsubscribe(),!b&&(null===(_=this.onFinalize)||void 0===_||_.call(this))}}}},23601:(qe,me,h)=>{"use strict";h.d(me,{e:()=>E});var e=h(34986),c=h(54482),g=h(38421),w=h(25403),b=h(82805);function E(v,I=e.z){return function _(v){return(0,c.e)((I,N)=>{let A=!1,q=null,j=null,G=!1;const Q=()=>{if(null==j||j.unsubscribe(),j=null,A){A=!1;const F=q;q=null,N.next(F)}G&&N.complete()},he=()=>{j=null,G&&N.complete()};I.subscribe((0,w.x)(N,F=>{A=!0,q=F,j||(0,g.Xf)(v(F)).subscribe(j=(0,w.x)(N,Q,he))},()=>{G=!0,(!A||!j||j.closed)&&N.complete()}))})}(()=>(0,b.H)(v,I))}},70262:(qe,me,h)=>{"use strict";h.d(me,{K:()=>w});var e=h(38421),c=h(25403),g=h(54482);function w(_){return(0,g.e)((b,E)=>{let N,v=null,I=!1;v=b.subscribe((0,c.x)(E,void 0,void 0,A=>{N=(0,e.Xf)(_(A,w(_)(b))),v?(v.unsubscribe(),v=null,N.subscribe(E)):I=!0})),I&&(v.unsubscribe(),v=null,N.subscribe(E))})}},24351:(qe,me,h)=>{"use strict";h.d(me,{b:()=>g});var e=h(86099),c=h(30576);function g(w,_){return(0,c.m)(_)?(0,e.z)(w,_,1):(0,e.z)(w,1)}},78372:(qe,me,h)=>{"use strict";h.d(me,{b:()=>w});var e=h(34986),c=h(54482),g=h(25403);function w(_,b=e.z){return(0,c.e)((E,v)=>{let I=null,N=null,A=null;const q=()=>{if(I){I.unsubscribe(),I=null;const G=N;N=null,v.next(G)}};function j(){const G=A+_,Q=b.now();if(Q{N=G,A=b.now(),I||(I=b.schedule(j,_),v.add(I))},()=>{q(),v.complete()},void 0,()=>{N=I=null}))})}},46590:(qe,me,h)=>{"use strict";h.d(me,{d:()=>g});var e=h(54482),c=h(25403);function g(w){return(0,e.e)((_,b)=>{let E=!1;_.subscribe((0,c.x)(b,v=>{E=!0,b.next(v)},()=>{E||b.next(w),b.complete()}))})}},91005:(qe,me,h)=>{"use strict";h.d(me,{g:()=>q});var e=h(34986),c=h(97272),g=h(95698),w=h(54482),_=h(25403),b=h(25032),v=h(69718),I=h(86099);function N(j,G){return G?Q=>(0,c.z)(G.pipe((0,g.q)(1),function E(){return(0,w.e)((j,G)=>{j.subscribe((0,_.x)(G,b.Z))})}()),Q.pipe(N(j))):(0,I.z)((Q,he)=>j(Q,he).pipe((0,g.q)(1),(0,v.h)(Q)))}var A=h(82805);function q(j,G=e.z){const Q=(0,A.H)(j,G);return N(()=>Q)}},71884:(qe,me,h)=>{"use strict";h.d(me,{x:()=>w});var e=h(44671),c=h(54482),g=h(25403);function w(b,E=e.y){return b=null!=b?b:_,(0,c.e)((v,I)=>{let N,A=!0;v.subscribe((0,g.x)(I,q=>{const j=E(q);(A||!b(N,j))&&(A=!1,N=j,I.next(q))}))})}function _(b,E){return b===E}},39300:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(54482),c=h(25403);function g(w,_){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>w.call(_,I,v++)&&E.next(I)))})}},28746:(qe,me,h)=>{"use strict";h.d(me,{x:()=>c});var e=h(54482);function c(g){return(0,e.e)((w,_)=>{try{w.subscribe(_)}finally{_.add(g)}})}},50590:(qe,me,h)=>{"use strict";h.d(me,{P:()=>E});var e=h(86805),c=h(39300),g=h(95698),w=h(46590),_=h(18068),b=h(44671);function E(v,I){const N=arguments.length>=2;return A=>A.pipe(v?(0,c.h)((q,j)=>v(q,j,A)):b.y,(0,g.q)(1),N?(0,w.d)(I):(0,_.T)(()=>new e.K))}},54004:(qe,me,h)=>{"use strict";h.d(me,{U:()=>g});var e=h(54482),c=h(25403);function g(w,_){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>{E.next(w.call(_,I,v++))}))})}},69718:(qe,me,h)=>{"use strict";h.d(me,{h:()=>c});var e=h(54004);function c(g){return(0,e.U)(()=>g)}},8189:(qe,me,h)=>{"use strict";h.d(me,{J:()=>g});var e=h(86099),c=h(44671);function g(w=1/0){return(0,e.z)(c.y,w)}},72733:(qe,me,h)=>{"use strict";h.d(me,{p:()=>w});var e=h(38421),c=h(39672),g=h(25403);function w(_,b,E,v,I,N,A,q){const j=[];let G=0,Q=0,he=!1;const F=()=>{he&&!j.length&&!G&&b.complete()},be=ye=>G{N&&b.next(ye),G++;let T=!1;(0,e.Xf)(E(ye,Q++)).subscribe((0,g.x)(b,R=>{null==I||I(R),N?be(R):b.next(R)},()=>{T=!0},void 0,()=>{if(T)try{for(G--;j.length&&Gpe(R)):pe(R)}F()}catch(R){b.error(R)}}))};return _.subscribe((0,g.x)(b,be,()=>{he=!0,F()})),()=>{null==q||q()}}},86099:(qe,me,h)=>{"use strict";h.d(me,{z:()=>b});var e=h(54004),c=h(38421),g=h(54482),w=h(72733),_=h(30576);function b(E,v,I=1/0){return(0,_.m)(v)?b((N,A)=>(0,e.U)((q,j)=>v(N,q,A,j))((0,c.Xf)(E(N,A))),I):("number"==typeof v&&(I=v),(0,g.e)((N,A)=>(0,w.p)(N,A,E,I)))}},11520:(qe,me,h)=>{"use strict";h.d(me,{G:()=>g});var e=h(54482),c=h(25403);function g(){return(0,e.e)((w,_)=>{let b,E=!1;w.subscribe((0,c.x)(_,v=>{const I=b;b=v,E&&_.next([I,v]),E=!0}))})}},57359:(qe,me,h)=>{"use strict";h.d(me,{U:()=>c});var e=h(25403);function c(g,w,_,b,E){return(v,I)=>{let N=_,A=w,q=0;v.subscribe((0,e.x)(I,j=>{const G=q++;A=N?g(A,j,G):(N=!0,j),b&&I.next(A)},E&&(()=>{N&&I.next(A),I.complete()})))}}},13099:(qe,me,h)=>{"use strict";h.d(me,{B:()=>_});var e=h(38421),c=h(77579),g=h(70930),w=h(54482);function _(E={}){const{connector:v=(()=>new c.x),resetOnError:I=!0,resetOnComplete:N=!0,resetOnRefCountZero:A=!0}=E;return q=>{let j,G,Q,he=0,F=!1,be=!1;const pe=()=>{null==G||G.unsubscribe(),G=void 0},ye=()=>{pe(),j=Q=void 0,F=be=!1},T=()=>{const R=j;ye(),null==R||R.unsubscribe()};return(0,w.e)((R,L)=>{he++,!be&&!F&&pe();const X=Q=null!=Q?Q:v();L.add(()=>{he--,0===he&&!be&&!F&&(G=b(T,A))}),X.subscribe(L),!j&&he>0&&(j=new g.Hp({next:Y=>X.next(Y),error:Y=>{be=!0,pe(),G=b(ye,I,Y),X.error(Y)},complete:()=>{F=!0,pe(),G=b(ye,N),X.complete()}}),(0,e.Xf)(R).subscribe(j))})(q)}}function b(E,v,...I){if(!0===v)return void E();if(!1===v)return;const N=new g.Hp({next:()=>{N.unsubscribe(),E()}});return v(...I).subscribe(N)}},34782:(qe,me,h)=>{"use strict";h.d(me,{d:()=>g});var e=h(4707),c=h(13099);function g(w,_,b){let E,v=!1;return w&&"object"==typeof w?({bufferSize:E=1/0,windowTime:_=1/0,refCount:v=!1,scheduler:b}=w):E=null!=w?w:1/0,(0,c.B)({connector:()=>new e.t(E,_,b),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:v})}},35684:(qe,me,h)=>{"use strict";h.d(me,{T:()=>c});var e=h(39300);function c(g){return(0,e.h)((w,_)=>g<=_)}},68675:(qe,me,h)=>{"use strict";h.d(me,{O:()=>w});var e=h(97272),c=h(63269),g=h(54482);function w(..._){const b=(0,c.yG)(_);return(0,g.e)((E,v)=>{(b?(0,e.z)(_,E,b):(0,e.z)(_,E)).subscribe(v)})}},63900:(qe,me,h)=>{"use strict";h.d(me,{w:()=>w});var e=h(38421),c=h(54482),g=h(25403);function w(_,b){return(0,c.e)((E,v)=>{let I=null,N=0,A=!1;const q=()=>A&&!I&&v.complete();E.subscribe((0,g.x)(v,j=>{null==I||I.unsubscribe();let G=0;const Q=N++;(0,e.Xf)(_(j,Q)).subscribe(I=(0,g.x)(v,he=>v.next(b?b(j,he,Q,G++):he),()=>{I=null,q()}))},()=>{A=!0,q()}))})}},95698:(qe,me,h)=>{"use strict";h.d(me,{q:()=>w});var e=h(60515),c=h(54482),g=h(25403);function w(_){return _<=0?()=>e.E:(0,c.e)((b,E)=>{let v=0;b.subscribe((0,g.x)(E,I=>{++v<=_&&(E.next(I),_<=v&&E.complete())}))})}},82722:(qe,me,h)=>{"use strict";h.d(me,{R:()=>_});var e=h(54482),c=h(25403),g=h(38421),w=h(25032);function _(b){return(0,e.e)((E,v)=>{(0,g.Xf)(b).subscribe((0,c.x)(v,()=>v.complete(),w.Z)),!v.closed&&E.subscribe(v)})}},22529:(qe,me,h)=>{"use strict";h.d(me,{o:()=>g});var e=h(54482),c=h(25403);function g(w,_=!1){return(0,e.e)((b,E)=>{let v=0;b.subscribe((0,c.x)(E,I=>{const N=w(I,v++);(N||_)&&E.next(I),!N&&E.complete()}))})}},18505:(qe,me,h)=>{"use strict";h.d(me,{b:()=>_});var e=h(30576),c=h(54482),g=h(25403),w=h(44671);function _(b,E,v){const I=(0,e.m)(b)||E||v?{next:b,error:E,complete:v}:b;return I?(0,c.e)((N,A)=>{var q;null===(q=I.subscribe)||void 0===q||q.call(I);let j=!0;N.subscribe((0,g.x)(A,G=>{var Q;null===(Q=I.next)||void 0===Q||Q.call(I,G),A.next(G)},()=>{var G;j=!1,null===(G=I.complete)||void 0===G||G.call(I),A.complete()},G=>{var Q;j=!1,null===(Q=I.error)||void 0===Q||Q.call(I,G),A.error(G)},()=>{var G,Q;j&&(null===(G=I.unsubscribe)||void 0===G||G.call(I)),null===(Q=I.finalize)||void 0===Q||Q.call(I)}))}):w.y}},18068:(qe,me,h)=>{"use strict";h.d(me,{T:()=>w});var e=h(86805),c=h(54482),g=h(25403);function w(b=_){return(0,c.e)((E,v)=>{let I=!1;E.subscribe((0,g.x)(v,N=>{I=!0,v.next(N)},()=>I?v.complete():v.error(b())))})}function _(){return new e.K}},17414:(qe,me,h)=>{"use strict";h.d(me,{V:()=>I});var e=h(34986),c=h(51165),g=h(54482),w=h(38421),_=h(83888),b=h(25403),E=h(39672);const v=(0,_.d)(A=>function(j=null){A(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=j});function I(A,q){const{first:j,each:G,with:Q=N,scheduler:he=(null!=q?q:e.z),meta:F=null}=(0,c.q)(A)?{first:A}:"number"==typeof A?{each:A}:A;if(null==j&&null==G)throw new TypeError("No timeout provided.");return(0,g.e)((be,pe)=>{let ye,T,R=null,L=0;const X=Y=>{T=(0,E.f)(pe,he,()=>{try{ye.unsubscribe(),(0,w.Xf)(Q({meta:F,lastValue:R,seen:L})).subscribe(pe)}catch(se){pe.error(se)}},Y)};ye=be.subscribe((0,b.x)(pe,Y=>{null==T||T.unsubscribe(),L++,pe.next(R=Y),G>0&&X(G)},void 0,void 0,()=>{(null==T?void 0:T.closed)||null==T||T.unsubscribe(),R=null})),!L&&X(null!=j?"number"==typeof j?j:+j-he.now():G)})}function N(A){throw new v(A)}},84408:(qe,me,h)=>{"use strict";h.d(me,{o:()=>_});var e=h(50727);class c extends e.w0{constructor(E,v){super()}schedule(E,v=0){return this}}const g={setInterval(b,E,...v){const{delegate:I}=g;return(null==I?void 0:I.setInterval)?I.setInterval(b,E,...v):setInterval(b,E,...v)},clearInterval(b){const{delegate:E}=g;return((null==E?void 0:E.clearInterval)||clearInterval)(b)},delegate:void 0};var w=h(38737);class _ extends c{constructor(E,v){super(E,v),this.scheduler=E,this.work=v,this.pending=!1}schedule(E,v=0){if(this.closed)return this;this.state=E;const I=this.id,N=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(N,I,v)),this.pending=!0,this.delay=v,this.id=this.id||this.requestAsyncId(N,this.id,v),this}requestAsyncId(E,v,I=0){return g.setInterval(E.flush.bind(E,this),I)}recycleAsyncId(E,v,I=0){if(null!=I&&this.delay===I&&!1===this.pending)return v;g.clearInterval(v)}execute(E,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const I=this._execute(E,v);if(I)return I;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(E,v){let N,I=!1;try{this.work(E)}catch(A){I=!0,N=A||new Error("Scheduled action threw falsy error")}if(I)return this.unsubscribe(),N}unsubscribe(){if(!this.closed){const{id:E,scheduler:v}=this,{actions:I}=v;this.work=this.state=this.scheduler=null,this.pending=!1,(0,w.P)(I,this),null!=E&&(this.id=this.recycleAsyncId(v,E,null)),this.delay=null,super.unsubscribe()}}}},97565:(qe,me,h)=>{"use strict";h.d(me,{v:()=>g});var e=h(26063);class c{constructor(_,b=c.now){this.schedulerActionCtor=_,this.now=b}schedule(_,b=0,E){return new this.schedulerActionCtor(this,_).schedule(E,b)}}c.now=e.l.now;class g extends c{constructor(_,b=c.now){super(_,b),this.actions=[],this._active=!1,this._scheduled=void 0}flush(_){const{actions:b}=this;if(this._active)return void b.push(_);let E;this._active=!0;do{if(E=_.execute(_.state,_.delay))break}while(_=b.shift());if(this._active=!1,E){for(;_=b.shift();)_.unsubscribe();throw E}}}},66406:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>E});var e=h(84408),c=h(50727);const g={schedule(I){let N=requestAnimationFrame,A=cancelAnimationFrame;const{delegate:q}=g;q&&(N=q.requestAnimationFrame,A=q.cancelAnimationFrame);const j=N(G=>{A=void 0,I(G)});return new c.w0(()=>null==A?void 0:A(j))},requestAnimationFrame(...I){const{delegate:N}=g;return((null==N?void 0:N.requestAnimationFrame)||requestAnimationFrame)(...I)},cancelAnimationFrame(...I){const{delegate:N}=g;return((null==N?void 0:N.cancelAnimationFrame)||cancelAnimationFrame)(...I)},delegate:void 0};var _=h(97565);const E=new class b extends _.v{flush(N){this._active=!0;const A=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let j;N=N||q.shift();do{if(j=N.execute(N.state,N.delay))break}while((N=q[0])&&N.id===A&&q.shift());if(this._active=!1,j){for(;(N=q[0])&&N.id===A&&q.shift();)N.unsubscribe();throw j}}}(class w extends e.o{constructor(N,A){super(N,A),this.scheduler=N,this.work=A}requestAsyncId(N,A,q=0){return null!==q&&q>0?super.requestAsyncId(N,A,q):(N.actions.push(this),N._scheduled||(N._scheduled=g.requestAnimationFrame(()=>N.flush(void 0))))}recycleAsyncId(N,A,q=0){if(null!=q&&q>0||null==q&&this.delay>0)return super.recycleAsyncId(N,A,q);N.actions.some(j=>j.id===A)||(g.cancelAnimationFrame(A),N._scheduled=void 0)}})},53101:(qe,me,h)=>{"use strict";h.d(me,{E:()=>G});var e=h(84408);let g,c=1;const w={};function _(he){return he in w&&(delete w[he],!0)}const b={setImmediate(he){const F=c++;return w[F]=!0,g||(g=Promise.resolve()),g.then(()=>_(F)&&he()),F},clearImmediate(he){_(he)}},{setImmediate:v,clearImmediate:I}=b,N={setImmediate(...he){const{delegate:F}=N;return((null==F?void 0:F.setImmediate)||v)(...he)},clearImmediate(he){const{delegate:F}=N;return((null==F?void 0:F.clearImmediate)||I)(he)},delegate:void 0};var q=h(97565);const G=new class j extends q.v{flush(F){this._active=!0;const be=this._scheduled;this._scheduled=void 0;const{actions:pe}=this;let ye;F=F||pe.shift();do{if(ye=F.execute(F.state,F.delay))break}while((F=pe[0])&&F.id===be&&pe.shift());if(this._active=!1,ye){for(;(F=pe[0])&&F.id===be&&pe.shift();)F.unsubscribe();throw ye}}}(class A extends e.o{constructor(F,be){super(F,be),this.scheduler=F,this.work=be}requestAsyncId(F,be,pe=0){return null!==pe&&pe>0?super.requestAsyncId(F,be,pe):(F.actions.push(this),F._scheduled||(F._scheduled=N.setImmediate(F.flush.bind(F,void 0))))}recycleAsyncId(F,be,pe=0){if(null!=pe&&pe>0||null==pe&&this.delay>0)return super.recycleAsyncId(F,be,pe);F.actions.some(ye=>ye.id===be)||(N.clearImmediate(be),F._scheduled=void 0)}})},34986:(qe,me,h)=>{"use strict";h.d(me,{z:()=>g,P:()=>w});var e=h(84408);const g=new(h(97565).v)(e.o),w=g},26063:(qe,me,h)=>{"use strict";h.d(me,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},43410:(qe,me,h)=>{"use strict";h.d(me,{z:()=>e});const e={setTimeout(c,g,...w){const{delegate:_}=e;return(null==_?void 0:_.setTimeout)?_.setTimeout(c,g,...w):setTimeout(c,g,...w)},clearTimeout(c){const{delegate:g}=e;return((null==g?void 0:g.clearTimeout)||clearTimeout)(c)},delegate:void 0}},2202:(qe,me,h)=>{"use strict";h.d(me,{h:()=>c});const c=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},48822:(qe,me,h)=>{"use strict";h.d(me,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},86805:(qe,me,h)=>{"use strict";h.d(me,{K:()=>c});const c=(0,h(83888).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},63269:(qe,me,h)=>{"use strict";h.d(me,{jO:()=>w,yG:()=>_,_6:()=>b});var e=h(30576),c=h(93532);function g(E){return E[E.length-1]}function w(E){return(0,e.m)(g(E))?E.pop():void 0}function _(E){return(0,c.K)(g(E))?E.pop():void 0}function b(E,v){return"number"==typeof g(E)?E.pop():v}},54742:(qe,me,h)=>{"use strict";h.d(me,{D:()=>_});const{isArray:e}=Array,{getPrototypeOf:c,prototype:g,keys:w}=Object;function _(E){if(1===E.length){const v=E[0];if(e(v))return{args:v,keys:null};if(function b(E){return E&&"object"==typeof E&&c(E)===g}(v)){const I=w(v);return{args:I.map(N=>v[N]),keys:I}}}return{args:E,keys:null}}},75797:(qe,me,h)=>{"use strict";h.d(me,{k:()=>c});const{isArray:e}=Array;function c(g){return 1===g.length&&e(g[0])?g[0]:g}},38737:(qe,me,h)=>{"use strict";function e(c,g){if(c){const w=c.indexOf(g);0<=w&&c.splice(w,1)}}h.d(me,{P:()=>e})},83888:(qe,me,h)=>{"use strict";function e(c){const w=c(_=>{Error.call(_),_.stack=(new Error).stack});return w.prototype=Object.create(Error.prototype),w.prototype.constructor=w,w}h.d(me,{d:()=>e})},31810:(qe,me,h)=>{"use strict";function e(c,g){return c.reduce((w,_,b)=>(w[_]=g[b],w),{})}h.d(me,{n:()=>e})},72806:(qe,me,h)=>{"use strict";h.d(me,{x:()=>g,O:()=>w});var e=h(42416);let c=null;function g(_){if(e.v.useDeprecatedSynchronousErrorHandling){const b=!c;if(b&&(c={errorThrown:!1,error:null}),_(),b){const{errorThrown:E,error:v}=c;if(c=null,E)throw v}}else _()}function w(_){e.v.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=_)}},39672:(qe,me,h)=>{"use strict";function e(c,g,w,_=0,b=!1){const E=g.schedule(function(){w(),b?c.add(this.schedule(null,_)):this.unsubscribe()},_);if(c.add(E),!b)return E}h.d(me,{f:()=>e})},44671:(qe,me,h)=>{"use strict";function e(c){return c}h.d(me,{y:()=>e})},81144:(qe,me,h)=>{"use strict";h.d(me,{z:()=>e});const e=c=>c&&"number"==typeof c.length&&"function"!=typeof c},12206:(qe,me,h)=>{"use strict";h.d(me,{D:()=>c});var e=h(30576);function c(g){return Symbol.asyncIterator&&(0,e.m)(null==g?void 0:g[Symbol.asyncIterator])}},51165:(qe,me,h)=>{"use strict";function e(c){return c instanceof Date&&!isNaN(c)}h.d(me,{q:()=>e})},30576:(qe,me,h)=>{"use strict";function e(c){return"function"==typeof c}h.d(me,{m:()=>e})},93670:(qe,me,h)=>{"use strict";h.d(me,{c:()=>g});var e=h(48822),c=h(30576);function g(w){return(0,c.m)(w[e.L])}},26495:(qe,me,h)=>{"use strict";h.d(me,{T:()=>g});var e=h(2202),c=h(30576);function g(w){return(0,c.m)(null==w?void 0:w[e.h])}},45191:(qe,me,h)=>{"use strict";h.d(me,{b:()=>g});var e=h(68306),c=h(30576);function g(w){return!!w&&(w instanceof e.y||(0,c.m)(w.lift)&&(0,c.m)(w.subscribe))}},28239:(qe,me,h)=>{"use strict";h.d(me,{t:()=>c});var e=h(30576);function c(g){return(0,e.m)(null==g?void 0:g.then)}},53260:(qe,me,h)=>{"use strict";h.d(me,{Q:()=>g,L:()=>w});var e=h(70655),c=h(30576);function g(_){return(0,e.FC)(this,arguments,function*(){const E=_.getReader();try{for(;;){const{value:v,done:I}=yield(0,e.qq)(E.read());if(I)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(v)}}finally{E.releaseLock()}})}function w(_){return(0,c.m)(null==_?void 0:_.getReader)}},93532:(qe,me,h)=>{"use strict";h.d(me,{K:()=>c});var e=h(30576);function c(g){return g&&(0,e.m)(g.schedule)}},54482:(qe,me,h)=>{"use strict";h.d(me,{A:()=>c,e:()=>g});var e=h(30576);function c(w){return(0,e.m)(null==w?void 0:w.lift)}function g(w){return _=>{if(c(_))return _.lift(function(b){try{return w(b,this)}catch(E){this.error(E)}});throw new TypeError("Unable to lift unknown Observable type")}}},83268:(qe,me,h)=>{"use strict";h.d(me,{Z:()=>w});var e=h(54004);const{isArray:c}=Array;function w(_){return(0,e.U)(b=>function g(_,b){return c(b)?_(...b):_(b)}(_,b))}},25032:(qe,me,h)=>{"use strict";function e(){}h.d(me,{Z:()=>e})},87849:(qe,me,h)=>{"use strict";h.d(me,{h:()=>g});var e=h(42416),c=h(43410);function g(w){c.z.setTimeout(()=>{const{onUnhandledError:_}=e.v;if(!_)throw w;_(w)})}},44532:(qe,me,h)=>{"use strict";function e(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}h.d(me,{z:()=>e})},70655:(qe,me,h)=>{"use strict";function _(Oe,Se,We,ge){var Me,Le=arguments.length,ue=Le<3?Se:null===ge?ge=Object.getOwnPropertyDescriptor(Se,We):ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(Oe,Se,We,ge);else for(var z=Oe.length-1;z>=0;z--)(Me=Oe[z])&&(ue=(Le<3?Me(ue):Le>3?Me(Se,We,ue):Me(Se,We))||ue);return Le>3&&ue&&Object.defineProperty(Se,We,ue),ue}function v(Oe,Se,We,ge){return new(We||(We=Promise))(function(ue,Me){function z(Ce){try{de(ge.next(Ce))}catch(Pe){Me(Pe)}}function P(Ce){try{de(ge.throw(Ce))}catch(Pe){Me(Pe)}}function de(Ce){Ce.done?ue(Ce.value):function Le(ue){return ue instanceof We?ue:new We(function(Me){Me(ue)})}(Ce.value).then(z,P)}de((ge=ge.apply(Oe,Se||[])).next())})}function F(Oe){return this instanceof F?(this.v=Oe,this):new F(Oe)}function be(Oe,Se,We){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Le,ge=We.apply(Oe,Se||[]),ue=[];return Le={},Me("next"),Me("throw"),Me("return"),Le[Symbol.asyncIterator]=function(){return this},Le;function Me(ce){ge[ce]&&(Le[ce]=function(fe){return new Promise(function(Ze,ne){ue.push([ce,fe,Ze,ne])>1||z(ce,fe)})})}function z(ce,fe){try{!function P(ce){ce.value instanceof F?Promise.resolve(ce.value.v).then(de,Ce):Pe(ue[0][2],ce)}(ge[ce](fe))}catch(Ze){Pe(ue[0][3],Ze)}}function de(ce){z("next",ce)}function Ce(ce){z("throw",ce)}function Pe(ce,fe){ce(fe),ue.shift(),ue.length&&z(ue[0][0],ue[0][1])}}function ye(Oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Se=Oe[Symbol.asyncIterator];return Se?Se.call(Oe):(Oe=function q(Oe){var Se="function"==typeof Symbol&&Symbol.iterator,We=Se&&Oe[Se],ge=0;if(We)return We.call(Oe);if(Oe&&"number"==typeof Oe.length)return{next:function(){return Oe&&ge>=Oe.length&&(Oe=void 0),{value:Oe&&Oe[ge++],done:!Oe}}};throw new TypeError(Se?"Object is not iterable.":"Symbol.iterator is not defined.")}(Oe),We={},ge("next"),ge("throw"),ge("return"),We[Symbol.asyncIterator]=function(){return this},We);function ge(ue){We[ue]=Oe[ue]&&function(Me){return new Promise(function(z,P){!function Le(ue,Me,z,P){Promise.resolve(P).then(function(de){ue({value:de,done:z})},Me)}(z,P,(Me=Oe[ue](Me)).done,Me.value)})}}}h.d(me,{gn:()=>_,mG:()=>v,qq:()=>F,FC:()=>be,KL:()=>ye})},41777:(qe,me,h)=>{"use strict";h.d(me,{l3:()=>g,_j:()=>e,LC:()=>c,ZN:()=>be,jt:()=>_,pV:()=>j,ru:()=>b,F4:()=>N,IO:()=>Q,vP:()=>E,SB:()=>I,oB:()=>v,eR:()=>A,X$:()=>w,ZE:()=>pe,k1:()=>ye});class e{}class c{}const g="*";function w(T,R){return{type:7,name:T,definitions:R,options:{}}}function _(T,R=null){return{type:4,styles:R,timings:T}}function b(T,R=null){return{type:3,steps:T,options:R}}function E(T,R=null){return{type:2,steps:T,options:R}}function v(T){return{type:6,styles:T,offset:null}}function I(T,R,L){return{type:0,name:T,styles:R,options:L}}function N(T){return{type:5,steps:T}}function A(T,R,L=null){return{type:1,expr:T,animation:R,options:L}}function j(T=null){return{type:9,options:T}}function Q(T,R,L=null){return{type:11,selector:T,animation:R,options:L}}function F(T){Promise.resolve(null).then(T)}class be{constructor(R=0,L=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=R+L}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}onStart(R){this._onStartFns.push(R)}onDone(R){this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){F(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(R=>R()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(R){this._position=this.totalTime?R*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(R){const L="start"==R?this._onStartFns:this._onDoneFns;L.forEach(X=>X()),L.length=0}}class pe{constructor(R){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=R;let L=0,X=0,Y=0;const se=this.players.length;0==se?F(()=>this._onFinish()):this.players.forEach(Te=>{Te.onDone(()=>{++L==se&&this._onFinish()}),Te.onDestroy(()=>{++X==se&&this._onDestroy()}),Te.onStart(()=>{++Y==se&&this._onStart()})}),this.totalTime=this.players.reduce((Te,Oe)=>Math.max(Te,Oe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(R=>R()),this._onDoneFns=[])}init(){this.players.forEach(R=>R.init())}onStart(R){this._onStartFns.push(R)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(R=>R()),this._onStartFns=[])}onDone(R){this._onDoneFns.push(R)}onDestroy(R){this._onDestroyFns.push(R)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(R=>R.play())}pause(){this.players.forEach(R=>R.pause())}restart(){this.players.forEach(R=>R.restart())}finish(){this._onFinish(),this.players.forEach(R=>R.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(R=>R.destroy()),this._onDestroyFns.forEach(R=>R()),this._onDestroyFns=[])}reset(){this.players.forEach(R=>R.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(R){const L=R*this.totalTime;this.players.forEach(X=>{const Y=X.totalTime?Math.min(1,L/X.totalTime):1;X.setPosition(Y)})}getPosition(){const R=this.players.reduce((L,X)=>null===L||X.totalTime>L.totalTime?X:L,null);return null!=R?R.getPosition():0}beforeDestroy(){this.players.forEach(R=>{R.beforeDestroy&&R.beforeDestroy()})}triggerCallback(R){const L="start"==R?this._onStartFns:this._onDoneFns;L.forEach(X=>X()),L.length=0}}const ye="!"},15664:(qe,me,h)=>{"use strict";h.d(me,{rt:()=>Nt,s1:()=>ge,$s:()=>Te,kH:()=>It,mK:()=>ae,Em:()=>Le,tE:()=>Ye,qV:()=>_e,qm:()=>Ct,ic:()=>Me,Kd:()=>a,X6:()=>D,yG:()=>O});var e=h(69808),c=h(5e3),g=h(70925),w=h(77579),_=h(50727),b=h(61135),E=h(39646),v=h(91159),I=h(18505),N=h(78372),A=h(39300),q=h(54004),j=h(95698),G=h(35684),Q=h(71884),he=h(82722),F=h(63191),be=h(17144);function R(He,je){return(He.getAttribute(je)||"").match(/\S+/g)||[]}const X="cdk-describedby-message",Y="cdk-describedby-host";let se=0,Te=(()=>{class He{constructor(Z,$){this._platform=$,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+se++,this._document=Z}describe(Z,$,oe){if(!this._canBeDescribed(Z,$))return;const nt=Oe($,oe);"string"!=typeof $?(Se($),this._messageRegistry.set(nt,{messageElement:$,referenceCount:0})):this._messageRegistry.has(nt)||this._createMessageElement($,oe),this._isElementDescribedByMessage(Z,nt)||this._addMessageReference(Z,nt)}removeDescription(Z,$,oe){var nt;if(!$||!this._isElementNode(Z))return;const ct=Oe($,oe);if(this._isElementDescribedByMessage(Z,ct)&&this._removeMessageReference(Z,ct),"string"==typeof $){const Rt=this._messageRegistry.get(ct);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(ct)}0===(null===(nt=this._messagesContainer)||void 0===nt?void 0:nt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Z;const $=this._document.querySelectorAll(`[${Y}="${this._id}"]`);for(let oe=0;oe<$.length;oe++)this._removeCdkDescribedByReferenceIds($[oe]),$[oe].removeAttribute(Y);null===(Z=this._messagesContainer)||void 0===Z||Z.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Z,$){const oe=this._document.createElement("div");Se(oe),oe.textContent=Z,$&&oe.setAttribute("role",$),this._createMessagesContainer(),this._messagesContainer.appendChild(oe),this._messageRegistry.set(Oe(Z,$),{messageElement:oe,referenceCount:0})}_deleteMessageElement(Z){var $,oe;null===(oe=null===($=this._messageRegistry.get(Z))||void 0===$?void 0:$.messageElement)||void 0===oe||oe.remove(),this._messageRegistry.delete(Z)}_createMessagesContainer(){if(this._messagesContainer)return;const Z="cdk-describedby-message-container",$=this._document.querySelectorAll(`.${Z}[platform="server"]`);for(let nt=0;nt<$.length;nt++)$[nt].remove();const oe=this._document.createElement("div");oe.style.visibility="hidden",oe.classList.add(Z),oe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&oe.setAttribute("platform","server"),this._document.body.appendChild(oe),this._messagesContainer=oe}_removeCdkDescribedByReferenceIds(Z){const $=R(Z,"aria-describedby").filter(oe=>0!=oe.indexOf(X));Z.setAttribute("aria-describedby",$.join(" "))}_addMessageReference(Z,$){const oe=this._messageRegistry.get($);(function ye(He,je,Z){const $=R(He,je);$.some(oe=>oe.trim()==Z.trim())||($.push(Z.trim()),He.setAttribute(je,$.join(" ")))})(Z,"aria-describedby",oe.messageElement.id),Z.setAttribute(Y,this._id),oe.referenceCount++}_removeMessageReference(Z,$){const oe=this._messageRegistry.get($);oe.referenceCount--,function T(He,je,Z){const oe=R(He,je).filter(nt=>nt!=Z.trim());oe.length?He.setAttribute(je,oe.join(" ")):He.removeAttribute(je)}(Z,"aria-describedby",oe.messageElement.id),Z.removeAttribute(Y)}_isElementDescribedByMessage(Z,$){const oe=R(Z,"aria-describedby"),nt=this._messageRegistry.get($),ct=nt&&nt.messageElement.id;return!!ct&&-1!=oe.indexOf(ct)}_canBeDescribed(Z,$){if(!this._isElementNode(Z))return!1;if($&&"object"==typeof $)return!0;const oe=null==$?"":`${$}`.trim(),nt=Z.getAttribute("aria-label");return!(!oe||nt&&nt.trim()===oe)}_isElementNode(Z){return Z.nodeType===this._document.ELEMENT_NODE}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(e.K0),c.LFG(g.t4))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Oe(He,je){return"string"==typeof He?`${je||""}/${He}`:He}function Se(He){He.id||(He.id=`${X}-${se++}`)}class We{constructor(je){this._items=je,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new w.x,this._typeaheadSubscription=_.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=Z=>Z.disabled,this._pressedLetters=[],this.tabOut=new w.x,this.change=new w.x,je instanceof c.n_E&&je.changes.subscribe(Z=>{if(this._activeItem){const oe=Z.toArray().indexOf(this._activeItem);oe>-1&&oe!==this._activeItemIndex&&(this._activeItemIndex=oe)}})}skipPredicate(je){return this._skipPredicateFn=je,this}withWrap(je=!0){return this._wrap=je,this}withVerticalOrientation(je=!0){return this._vertical=je,this}withHorizontalOrientation(je){return this._horizontal=je,this}withAllowedModifierKeys(je){return this._allowedModifierKeys=je,this}withTypeAhead(je=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,I.b)(Z=>this._pressedLetters.push(Z)),(0,N.b)(je),(0,A.h)(()=>this._pressedLetters.length>0),(0,q.U)(()=>this._pressedLetters.join(""))).subscribe(Z=>{const $=this._getItemsArray();for(let oe=1;oe<$.length+1;oe++){const nt=(this._activeItemIndex+oe)%$.length,ct=$[nt];if(!this._skipPredicateFn(ct)&&0===ct.getLabel().toUpperCase().trim().indexOf(Z)){this.setActiveItem(nt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(je=!0){return this._homeAndEnd=je,this}setActiveItem(je){const Z=this._activeItem;this.updateActiveItem(je),this._activeItem!==Z&&this.change.next(this._activeItemIndex)}onKeydown(je){const Z=je.keyCode,oe=["altKey","ctrlKey","metaKey","shiftKey"].every(nt=>!je[nt]||this._allowedModifierKeys.indexOf(nt)>-1);switch(Z){case v.Mf:return void this.tabOut.next();case v.JH:if(this._vertical&&oe){this.setNextItemActive();break}return;case v.LH:if(this._vertical&&oe){this.setPreviousItemActive();break}return;case v.SV:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case v.oh:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case v.Sd:if(this._homeAndEnd&&oe){this.setFirstItemActive();break}return;case v.uR:if(this._homeAndEnd&&oe){this.setLastItemActive();break}return;default:return void((oe||(0,v.Vb)(je,"shiftKey"))&&(je.key&&1===je.key.length?this._letterKeyStream.next(je.key.toLocaleUpperCase()):(Z>=v.A&&Z<=v.Z||Z>=v.xE&&Z<=v.aO)&&this._letterKeyStream.next(String.fromCharCode(Z))))}this._pressedLetters=[],je.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(je){const Z=this._getItemsArray(),$="number"==typeof je?je:Z.indexOf(je),oe=Z[$];this._activeItem=null==oe?null:oe,this._activeItemIndex=$}_setActiveItemByDelta(je){this._wrap?this._setActiveInWrapMode(je):this._setActiveInDefaultMode(je)}_setActiveInWrapMode(je){const Z=this._getItemsArray();for(let $=1;$<=Z.length;$++){const oe=(this._activeItemIndex+je*$+Z.length)%Z.length;if(!this._skipPredicateFn(Z[oe]))return void this.setActiveItem(oe)}}_setActiveInDefaultMode(je){this._setActiveItemByIndex(this._activeItemIndex+je,je)}_setActiveItemByIndex(je,Z){const $=this._getItemsArray();if($[je]){for(;this._skipPredicateFn($[je]);)if(!$[je+=Z])return;this.setActiveItem(je)}}_getItemsArray(){return this._items instanceof c.n_E?this._items.toArray():this._items}}class ge extends We{setActiveItem(je){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(je),this.activeItem&&this.activeItem.setActiveStyles()}}class Le extends We{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(je){return this._origin=je,this}setActiveItem(je){super.setActiveItem(je),this.activeItem&&this.activeItem.focus(this._origin)}}let Me=(()=>{class He{constructor(Z){this._platform=Z}isDisabled(Z){return Z.hasAttribute("disabled")}isVisible(Z){return function P(He){return!!(He.offsetWidth||He.offsetHeight||"function"==typeof He.getClientRects&&He.getClientRects().length)}(Z)&&"visible"===getComputedStyle(Z).visibility}isTabbable(Z){if(!this._platform.isBrowser)return!1;const $=function z(He){try{return He.frameElement}catch(je){return null}}(function ze(He){return He.ownerDocument&&He.ownerDocument.defaultView||window}(Z));if($&&(-1===ne($)||!this.isVisible($)))return!1;let oe=Z.nodeName.toLowerCase(),nt=ne(Z);return Z.hasAttribute("contenteditable")?-1!==nt:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function it(He){let je=He.nodeName.toLowerCase(),Z="input"===je&&He.type;return"text"===Z||"password"===Z||"select"===je||"textarea"===je}(Z))&&("audio"===oe?!!Z.hasAttribute("controls")&&-1!==nt:"video"===oe?-1!==nt&&(null!==nt||this._platform.FIREFOX||Z.hasAttribute("controls")):Z.tabIndex>=0)}isFocusable(Z,$){return function Be(He){return!function Ce(He){return function ce(He){return"input"==He.nodeName.toLowerCase()}(He)&&"hidden"==He.type}(He)&&(function de(He){let je=He.nodeName.toLowerCase();return"input"===je||"select"===je||"button"===je||"textarea"===je}(He)||function Pe(He){return function fe(He){return"a"==He.nodeName.toLowerCase()}(He)&&He.hasAttribute("href")}(He)||He.hasAttribute("contenteditable")||Ze(He))}(Z)&&!this.isDisabled(Z)&&((null==$?void 0:$.ignoreVisibility)||this.isVisible(Z))}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();function Ze(He){if(!He.hasAttribute("tabindex")||void 0===He.tabIndex)return!1;let je=He.getAttribute("tabindex");return!(!je||isNaN(parseInt(je,10)))}function ne(He){if(!Ze(He))return null;const je=parseInt(He.getAttribute("tabindex")||"",10);return isNaN(je)?-1:je}class Ue{constructor(je,Z,$,oe,nt=!1){this._element=je,this._checker=Z,this._ngZone=$,this._document=oe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,nt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(je){this._enabled=je,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(je,this._startAnchor),this._toggleAnchorTabIndex(je,this._endAnchor))}destroy(){const je=this._startAnchor,Z=this._endAnchor;je&&(je.removeEventListener("focus",this.startAnchorListener),je.remove()),Z&&(Z.removeEventListener("focus",this.endAnchorListener),Z.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(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusInitialElement(je)))})}focusFirstTabbableElementWhenReady(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusFirstTabbableElement(je)))})}focusLastTabbableElementWhenReady(je){return new Promise(Z=>{this._executeOnStable(()=>Z(this.focusLastTabbableElement(je)))})}_getRegionBoundary(je){const Z=this._element.querySelectorAll(`[cdk-focus-region-${je}], [cdkFocusRegion${je}], [cdk-focus-${je}]`);return"start"==je?Z.length?Z[0]:this._getFirstTabbableElement(this._element):Z.length?Z[Z.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(je){const Z=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Z){if(!this._checker.isFocusable(Z)){const $=this._getFirstTabbableElement(Z);return null==$||$.focus(je),!!$}return Z.focus(je),!0}return this.focusFirstTabbableElement(je)}focusFirstTabbableElement(je){const Z=this._getRegionBoundary("start");return Z&&Z.focus(je),!!Z}focusLastTabbableElement(je){const Z=this._getRegionBoundary("end");return Z&&Z.focus(je),!!Z}hasAttached(){return this._hasAttached}_getFirstTabbableElement(je){if(this._checker.isFocusable(je)&&this._checker.isTabbable(je))return je;const Z=je.children;for(let $=0;$=0;$--){const oe=Z[$].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Z[$]):null;if(oe)return oe}return null}_createAnchor(){const je=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,je),je.classList.add("cdk-visually-hidden"),je.classList.add("cdk-focus-trap-anchor"),je.setAttribute("aria-hidden","true"),je}_toggleAnchorTabIndex(je,Z){je?Z.setAttribute("tabindex","0"):Z.removeAttribute("tabindex")}toggleAnchors(je){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(je,this._startAnchor),this._toggleAnchorTabIndex(je,this._endAnchor))}_executeOnStable(je){this._ngZone.isStable?je():this._ngZone.onStable.pipe((0,j.q)(1)).subscribe(je)}}let _e=(()=>{class He{constructor(Z,$,oe){this._checker=Z,this._ngZone=$,this._document=oe}create(Z,$=!1){return new Ue(Z,this._checker,this._ngZone,this._document,$)}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(Me),c.LFG(c.R0b),c.LFG(e.K0))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),ae=(()=>{class He{constructor(Z,$,oe){this._elementRef=Z,this._focusTrapFactory=$,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Z){this.focusTrap.enabled=(0,F.Ig)(Z)}get autoCapture(){return this._autoCapture}set autoCapture(Z){this._autoCapture=(0,F.Ig)(Z)}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(Z){const $=Z.autoCapture;$&&!$.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return He.\u0275fac=function(Z){return new(Z||He)(c.Y36(c.SBq),c.Y36(_e),c.Y36(e.K0))},He.\u0275dir=c.lG2({type:He,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[c.TTD]}),He})();function D(He){return 0===He.buttons||0===He.offsetX&&0===He.offsetY}function O(He){const je=He.touches&&He.touches[0]||He.changedTouches&&He.changedTouches[0];return!(!je||-1!==je.identifier||null!=je.radiusX&&1!==je.radiusX||null!=je.radiusY&&1!==je.radiusY)}const i=new c.OlP("cdk-input-modality-detector-options"),o={ignoreKeys:[v.zL,v.jx,v.b2,v.MW,v.JU]},l=(0,g.i$)({passive:!0,capture:!0});let s=(()=>{class He{constructor(Z,$,oe,nt){this._platform=Z,this._mostRecentTarget=null,this._modality=new b.X(null),this._lastTouchMs=0,this._onKeydown=ct=>{var Rt,mt;(null===(mt=null===(Rt=this._options)||void 0===Rt?void 0:Rt.ignoreKeys)||void 0===mt?void 0:mt.some(Tt=>Tt===ct.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(ct))},this._onMousedown=ct=>{Date.now()-this._lastTouchMs<650||(this._modality.next(D(ct)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(ct))},this._onTouchstart=ct=>{O(ct)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(ct))},this._options=Object.assign(Object.assign({},o),nt),this.modalityDetected=this._modality.pipe((0,G.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Q.x)()),Z.isBrowser&&$.runOutsideAngular(()=>{oe.addEventListener("keydown",this._onKeydown,l),oe.addEventListener("mousedown",this._onMousedown,l),oe.addEventListener("touchstart",this._onTouchstart,l)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,l),document.removeEventListener("mousedown",this._onMousedown,l),document.removeEventListener("touchstart",this._onTouchstart,l))}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4),c.LFG(c.R0b),c.LFG(e.K0),c.LFG(i,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const n=new c.OlP("liveAnnouncerElement",{providedIn:"root",factory:function t(){return null}}),r=new c.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let a=(()=>{class He{constructor(Z,$,oe,nt){this._ngZone=$,this._defaultOptions=nt,this._document=oe,this._liveElement=Z||this._createLiveElement()}announce(Z,...$){const oe=this._defaultOptions;let nt,ct;return 1===$.length&&"number"==typeof $[0]?ct=$[0]:[nt,ct]=$,this.clear(),clearTimeout(this._previousTimeout),nt||(nt=oe&&oe.politeness?oe.politeness:"polite"),null==ct&&oe&&(ct=oe.duration),this._liveElement.setAttribute("aria-live",nt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Rt=>this._currentResolve=Rt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Z,"number"==typeof ct&&(this._previousTimeout=setTimeout(()=>this.clear(),ct)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Z,$;clearTimeout(this._previousTimeout),null===(Z=this._liveElement)||void 0===Z||Z.remove(),this._liveElement=null,null===($=this._currentResolve)||void 0===$||$.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Z="cdk-live-announcer-element",$=this._document.getElementsByClassName(Z),oe=this._document.createElement("div");for(let nt=0;nt<$.length;nt++)$[nt].remove();return oe.classList.add(Z),oe.classList.add("cdk-visually-hidden"),oe.setAttribute("aria-atomic","true"),oe.setAttribute("aria-live","polite"),this._document.body.appendChild(oe),oe}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(n,8),c.LFG(c.R0b),c.LFG(e.K0),c.LFG(r,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})();const f=new c.OlP("cdk-focus-monitor-default-options"),x=(0,g.i$)({passive:!0,capture:!0});let Ye=(()=>{class He{constructor(Z,$,oe,nt,ct){this._ngZone=Z,this._platform=$,this._inputModalityDetector=oe,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 w.x,this._rootNodeFocusAndBlurListener=Rt=>{const mt=(0,g.sA)(Rt),Tt="focus"===Rt.type?this._onFocus:this._onBlur;for(let ot=mt;ot;ot=ot.parentElement)Tt.call(this,Rt,ot)},this._document=nt,this._detectionMode=(null==ct?void 0:ct.detectionMode)||0}monitor(Z,$=!1){const oe=(0,F.fI)(Z);if(!this._platform.isBrowser||1!==oe.nodeType)return(0,E.of)(null);const nt=(0,g.kV)(oe)||this._getDocument(),ct=this._elementInfo.get(oe);if(ct)return $&&(ct.checkChildren=!0),ct.subject;const Rt={checkChildren:$,subject:new w.x,rootNode:nt};return this._elementInfo.set(oe,Rt),this._registerGlobalListeners(Rt),Rt.subject}stopMonitoring(Z){const $=(0,F.fI)(Z),oe=this._elementInfo.get($);oe&&(oe.subject.complete(),this._setClasses($),this._elementInfo.delete($),this._removeGlobalListeners(oe))}focusVia(Z,$,oe){const nt=(0,F.fI)(Z);nt===this._getDocument().activeElement?this._getClosestElementsInfo(nt).forEach(([Rt,mt])=>this._originChanged(Rt,$,mt)):(this._setOrigin($),"function"==typeof nt.focus&&nt.focus(oe))}ngOnDestroy(){this._elementInfo.forEach((Z,$)=>this.stopMonitoring($))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Z){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Z)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Z){return 1===this._detectionMode||!!(null==Z?void 0:Z.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Z,$){Z.classList.toggle("cdk-focused",!!$),Z.classList.toggle("cdk-touch-focused","touch"===$),Z.classList.toggle("cdk-keyboard-focused","keyboard"===$),Z.classList.toggle("cdk-mouse-focused","mouse"===$),Z.classList.toggle("cdk-program-focused","program"===$)}_setOrigin(Z,$=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Z,this._originFromTouchInteraction="touch"===Z&&$,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Z,$){const oe=this._elementInfo.get($),nt=(0,g.sA)(Z);!oe||!oe.checkChildren&&$!==nt||this._originChanged($,this._getFocusOrigin(nt),oe)}_onBlur(Z,$){const oe=this._elementInfo.get($);!oe||oe.checkChildren&&Z.relatedTarget instanceof Node&&$.contains(Z.relatedTarget)||(this._setClasses($),this._emitOrigin(oe.subject,null))}_emitOrigin(Z,$){this._ngZone.run(()=>Z.next($))}_registerGlobalListeners(Z){if(!this._platform.isBrowser)return;const $=Z.rootNode,oe=this._rootNodeFocusListenerCount.get($)||0;oe||this._ngZone.runOutsideAngular(()=>{$.addEventListener("focus",this._rootNodeFocusAndBlurListener,x),$.addEventListener("blur",this._rootNodeFocusAndBlurListener,x)}),this._rootNodeFocusListenerCount.set($,oe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,he.R)(this._stopInputModalityDetector)).subscribe(nt=>{this._setOrigin(nt,!0)}))}_removeGlobalListeners(Z){const $=Z.rootNode;if(this._rootNodeFocusListenerCount.has($)){const oe=this._rootNodeFocusListenerCount.get($);oe>1?this._rootNodeFocusListenerCount.set($,oe-1):($.removeEventListener("focus",this._rootNodeFocusAndBlurListener,x),$.removeEventListener("blur",this._rootNodeFocusAndBlurListener,x),this._rootNodeFocusListenerCount.delete($))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Z,$,oe){this._setClasses(Z,$),this._emitOrigin(oe.subject,$),this._lastFocusOrigin=$}_getClosestElementsInfo(Z){const $=[];return this._elementInfo.forEach((oe,nt)=>{(nt===Z||oe.checkChildren&&nt.contains(Z))&&$.push([nt,oe])}),$}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(c.R0b),c.LFG(g.t4),c.LFG(s),c.LFG(e.K0,8),c.LFG(f,8))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),It=(()=>{class He{constructor(Z,$){this._elementRef=Z,this._focusMonitor=$,this.cdkFocusChange=new c.vpe}ngAfterViewInit(){const Z=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Z,1===Z.nodeType&&Z.hasAttribute("cdkMonitorSubtreeFocus")).subscribe($=>this.cdkFocusChange.emit($))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return He.\u0275fac=function(Z){return new(Z||He)(c.Y36(c.SBq),c.Y36(Ye))},He.\u0275dir=c.lG2({type:He,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),He})();const jt="cdk-high-contrast-black-on-white",bt="cdk-high-contrast-white-on-black",Yt="cdk-high-contrast-active";let Ct=(()=>{class He{constructor(Z,$){this._platform=Z,this._document=$}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Z=this._document.createElement("div");Z.style.backgroundColor="rgb(1,2,3)",Z.style.position="absolute",this._document.body.appendChild(Z);const $=this._document.defaultView||window,oe=$&&$.getComputedStyle?$.getComputedStyle(Z):null,nt=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(Z.remove(),nt){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 Z=this._document.body.classList;Z.remove(Yt),Z.remove(jt),Z.remove(bt),this._hasCheckedHighContrastMode=!0;const $=this.getHighContrastMode();1===$?(Z.add(Yt),Z.add(jt)):2===$&&(Z.add(Yt),Z.add(bt))}}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(g.t4),c.LFG(e.K0))},He.\u0275prov=c.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Nt=(()=>{class He{constructor(Z){Z._applyBodyHighContrastModeCssClasses()}}return He.\u0275fac=function(Z){return new(Z||He)(c.LFG(Ct))},He.\u0275mod=c.oAB({type:He}),He.\u0275inj=c.cJS({imports:[[be.Q8]]}),He})()},50226:(qe,me,h)=>{"use strict";h.d(me,{vT:()=>I,Is:()=>E});var e=h(5e3),c=h(69808);const g=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function w(){return(0,e.f3M)(c.K0)}}),_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let E=(()=>{class N{constructor(q){if(this.value="ltr",this.change=new e.vpe,q){const G=q.documentElement?q.documentElement.dir:null;this.value=function b(N){const A=(null==N?void 0:N.toLowerCase())||"";return"auto"===A&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?_.test(navigator.language)?"rtl":"ltr":"rtl"===A?"rtl":"ltr"}((q.body?q.body.dir:null)||G||"ltr")}}ngOnDestroy(){this.change.complete()}}return N.\u0275fac=function(q){return new(q||N)(e.LFG(g,8))},N.\u0275prov=e.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275mod=e.oAB({type:N}),N.\u0275inj=e.cJS({}),N})()},69287:(qe,me,h)=>{"use strict";h.d(me,{i3:()=>b,TU:()=>w,Iq:()=>E});var e=h(69808),c=h(5e3);class g{constructor(I,N){this._document=N;const A=this._textarea=this._document.createElement("textarea"),q=A.style;q.position="fixed",q.top=q.opacity="0",q.left="-999em",A.setAttribute("aria-hidden","true"),A.value=I,this._document.body.appendChild(A)}copy(){const I=this._textarea;let N=!1;try{if(I){const A=this._document.activeElement;I.select(),I.setSelectionRange(0,I.value.length),N=this._document.execCommand("copy"),A&&A.focus()}}catch(A){}return N}destroy(){const I=this._textarea;I&&(I.remove(),this._textarea=void 0)}}let w=(()=>{class v{constructor(N){this._document=N}copy(N){const A=this.beginCopy(N),q=A.copy();return A.destroy(),q}beginCopy(N){return new g(N,this._document)}}return v.\u0275fac=function(N){return new(N||v)(c.LFG(e.K0))},v.\u0275prov=c.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const _=new c.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let b=(()=>{class v{constructor(N,A,q){this._clipboard=N,this._ngZone=A,this.text="",this.attempts=1,this.copied=new c.vpe,this._pending=new Set,q&&null!=q.attempts&&(this.attempts=q.attempts)}copy(N=this.attempts){if(N>1){let A=N;const q=this._clipboard.beginCopy(this.text);this._pending.add(q);const j=()=>{const G=q.copy();G||!--A||this._destroyed?(this._currentTimeout=null,this._pending.delete(q),q.destroy(),this.copied.emit(G)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(j,1))};j()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(N=>N.destroy()),this._pending.clear(),this._destroyed=!0}}return v.\u0275fac=function(N){return new(N||v)(c.Y36(w),c.Y36(c.R0b),c.Y36(_,8))},v.\u0275dir=c.lG2({type:v,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(N,A){1&N&&c.NdJ("click",function(){return A.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),v})(),E=(()=>{class v{}return v.\u0275fac=function(N){return new(N||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({}),v})()},63191:(qe,me,h)=>{"use strict";h.d(me,{t6:()=>w,Eq:()=>_,Ig:()=>c,HM:()=>b,fI:()=>E,su:()=>g,du:()=>v});var e=h(5e3);function c(I){return null!=I&&"false"!=`${I}`}function g(I,N=0){return w(I)?Number(I):N}function w(I){return!isNaN(parseFloat(I))&&!isNaN(Number(I))}function _(I){return Array.isArray(I)?I:[I]}function b(I){return null==I?"":"string"==typeof I?I:`${I}px`}function E(I){return I instanceof e.SBq?I.nativeElement:I}function v(I,N=/\s+/){const A=[];if(null!=I){const q=Array.isArray(I)?I:`${I}`.split(N);for(const j of q){const G=`${j}`.trim();G&&A.push(G)}}return A}},20449:(qe,me,h)=>{"use strict";h.d(me,{P3:()=>E,o2:()=>_,Ov:()=>N,A8:()=>q,yy:()=>v,eX:()=>I,k:()=>j,Z9:()=>b});var e=h(45191),c=h(39646),g=h(77579),w=h(5e3);class _{}function b(G){return G&&"function"==typeof G.connect}class E extends _{constructor(Q){super(),this._data=Q}connect(){return(0,e.b)(this._data)?this._data:(0,c.of)(this._data)}disconnect(){}}class v{applyChanges(Q,he,F,be,pe){Q.forEachOperation((ye,T,R)=>{let L,X;if(null==ye.previousIndex){const Y=F(ye,T,R);L=he.createEmbeddedView(Y.templateRef,Y.context,Y.index),X=1}else null==R?(he.remove(T),X=3):(L=he.get(T),he.move(L,R),X=2);pe&&pe({context:null==L?void 0:L.context,operation:X,record:ye})})}detach(){}}class I{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Q,he,F,be,pe){Q.forEachOperation((ye,T,R)=>{let L,X;null==ye.previousIndex?(L=this._insertView(()=>F(ye,T,R),R,he,be(ye)),X=L?1:0):null==R?(this._detachAndCacheView(T,he),X=3):(L=this._moveView(T,R,he,be(ye)),X=2),pe&&pe({context:null==L?void 0:L.context,operation:X,record:ye})})}detach(){for(const Q of this._viewCache)Q.destroy();this._viewCache=[]}_insertView(Q,he,F,be){const pe=this._insertViewFromCache(he,F);if(pe)return void(pe.context.$implicit=be);const ye=Q();return F.createEmbeddedView(ye.templateRef,ye.context,ye.index)}_detachAndCacheView(Q,he){const F=he.detach(Q);this._maybeCacheView(F,he)}_moveView(Q,he,F,be){const pe=F.get(Q);return F.move(pe,he),pe.context.$implicit=be,pe}_maybeCacheView(Q,he){if(this._viewCache.lengththis._markSelected(be)):this._markSelected(he[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Q){this._verifyValueAssignment(Q),Q.forEach(he=>this._markSelected(he)),this._emitChangeEvent()}deselect(...Q){this._verifyValueAssignment(Q),Q.forEach(he=>this._unmarkSelected(he)),this._emitChangeEvent()}toggle(Q){this.isSelected(Q)?this.deselect(Q):this.select(Q)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(Q){return this._selection.has(Q)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Q){this._multiple&&this.selected&&this._selected.sort(Q)}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(Q){this.isSelected(Q)||(this._multiple||this._unmarkAll(),this._selection.add(Q),this._emitChanges&&this._selectedToEmit.push(Q))}_unmarkSelected(Q){this.isSelected(Q)&&(this._selection.delete(Q),this._emitChanges&&this._deselectedToEmit.push(Q))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Q=>this._unmarkSelected(Q))}_verifyValueAssignment(Q){}}let q=(()=>{class G{constructor(){this._listeners=[]}notify(he,F){for(let be of this._listeners)be(he,F)}listen(he){return this._listeners.push(he),()=>{this._listeners=this._listeners.filter(F=>he!==F)}}ngOnDestroy(){this._listeners=[]}}return G.\u0275fac=function(he){return new(he||G)},G.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})();const j=new w.OlP("_ViewRepeater")},44409:(qe,me,h)=>{"use strict";h.d(me,{Zt:()=>He,Wj:()=>x,_t:()=>je,bA:()=>Ue});var e=h(5e3),c=h(69808),g=h(70925),w=h(63191),_=h(15664),b=h(77579),E=h(50727),v=h(17445),I=h(66406),N=h(68306),A=h(56451),q=h(82722),j=h(68675),G=h(54004),Q=h(95698),he=h(18505),F=h(63900),be=h(29071),pe=h(50226);function ye(Z,$,oe){for(let nt in $)if($.hasOwnProperty(nt)){const ct=$[nt];ct?Z.setProperty(nt,ct,(null==oe?void 0:oe.has(nt))?"important":""):Z.removeProperty(nt)}return Z}function T(Z,$){const oe=$?"":"none";ye(Z.style,{"touch-action":$?"":"none","-webkit-user-drag":$?"":"none","-webkit-tap-highlight-color":$?"":"transparent","user-select":oe,"-ms-user-select":oe,"-webkit-user-select":oe,"-moz-user-select":oe})}function R(Z,$,oe){ye(Z.style,{position:$?"":"fixed",top:$?"":"0",opacity:$?"":"0",left:$?"":"-999em"},oe)}function L(Z,$){return $&&"none"!=$?Z+" "+$:Z}function X(Z){const $=Z.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(Z)*$}function se(Z,$){return Z.getPropertyValue($).split(",").map(nt=>nt.trim())}function Te(Z){const $=Z.getBoundingClientRect();return{top:$.top,right:$.right,bottom:$.bottom,left:$.left,width:$.width,height:$.height,x:$.x,y:$.y}}function Oe(Z,$,oe){const{top:nt,bottom:ct,left:Rt,right:mt}=Z;return oe>=nt&&oe<=ct&&$>=Rt&&$<=mt}function Se(Z,$,oe){Z.top+=$,Z.bottom=Z.top+Z.height,Z.left+=oe,Z.right=Z.left+Z.width}function We(Z,$,oe,nt){const{top:ct,right:Rt,bottom:mt,left:Tt,width:ot,height:rt}=Z,lt=ot*$,ut=rt*$;return nt>ct-ut&&ntTt-lt&&oe{this.positions.set(oe,{scrollPosition:{top:oe.scrollTop,left:oe.scrollLeft},clientRect:Te(oe)})})}handleScroll($){const oe=(0,g.sA)($),nt=this.positions.get(oe);if(!nt)return null;const ct=nt.scrollPosition;let Rt,mt;if(oe===this._document){const rt=this.getViewportScrollPosition();Rt=rt.top,mt=rt.left}else Rt=oe.scrollTop,mt=oe.scrollLeft;const Tt=ct.top-Rt,ot=ct.left-mt;return this.positions.forEach((rt,lt)=>{rt.clientRect&&oe!==lt&&oe.contains(lt)&&Se(rt.clientRect,Tt,ot)}),ct.top=Rt,ct.left=mt,{top:Tt,left:ot}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Le(Z){const $=Z.cloneNode(!0),oe=$.querySelectorAll("[id]"),nt=Z.nodeName.toLowerCase();$.removeAttribute("id");for(let ct=0;ct{if(this.beforeStarted.next(),this._handles.length){const ot=this._getTargetHandle(Tt);ot&&!this._disabledHandles.has(ot)&&!this.disabled&&this._initializeDragSequence(ot,Tt)}else this.disabled||this._initializeDragSequence(this._rootElement,Tt)},this._pointerMove=Tt=>{const ot=this._getPointerPositionOnPage(Tt);if(!this._hasStartedDragging){if(Math.abs(ot.x-this._pickupPositionOnPage.x)+Math.abs(ot.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Qt=Date.now()>=this._dragStartTime+this._getDragStartDelay(Tt),ni=this._dropContainer;if(!Qt)return void this._endDragSequence(Tt);(!ni||!ni.isDragging()&&!ni.isReceiving())&&(Tt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Tt)))}return}Tt.preventDefault();const rt=this._getConstrainedPointerPosition(ot);if(this._hasMoved=!0,this._lastKnownPointerPosition=ot,this._updatePointerDirectionDelta(rt),this._dropContainer)this._updateActiveDropContainer(rt,ot);else{const lt=this._activeTransform;lt.x=rt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,lt.y=rt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(lt.x,lt.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:rt,event:Tt,distance:this._getDragDistance(rt),delta:this._pointerDirectionDelta})})},this._pointerUp=Tt=>{this._endDragSequence(Tt)},this._nativeDragStart=Tt=>{if(this._handles.length){const ot=this._getTargetHandle(Tt);ot&&!this._disabledHandles.has(ot)&&!this.disabled&&Tt.preventDefault()}else this.disabled||Tt.preventDefault()},this.withRootElement($).withParent(oe.parentDragRef||null),this._parentPositions=new ge(nt),mt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled($){const oe=(0,w.Ig)($);oe!==this._disabled&&(this._disabled=oe,this._toggleNativeDragInteractions(),this._handles.forEach(nt=>T(nt,oe)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles($){this._handles=$.map(nt=>(0,w.fI)(nt)),this._handles.forEach(nt=>T(nt,this.disabled)),this._toggleNativeDragInteractions();const oe=new Set;return this._disabledHandles.forEach(nt=>{this._handles.indexOf(nt)>-1&&oe.add(nt)}),this._disabledHandles=oe,this}withPreviewTemplate($){return this._previewTemplate=$,this}withPlaceholderTemplate($){return this._placeholderTemplate=$,this}withRootElement($){const oe=(0,w.fI)($);return oe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{oe.addEventListener("mousedown",this._pointerDown,Ce),oe.addEventListener("touchstart",this._pointerDown,de),oe.addEventListener("dragstart",this._nativeDragStart,Ce)}),this._initialTransform=void 0,this._rootElement=oe),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement($){return this._boundaryElement=$?(0,w.fI)($):null,this._resizeSubscription.unsubscribe(),$&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent($){return this._parentDragRef=$,this}dispose(){var $,oe;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===($=this._rootElement)||void 0===$||$.remove()),null===(oe=this._anchor)||void 0===oe||oe.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($){!this._disabledHandles.has($)&&this._handles.indexOf($)>-1&&(this._disabledHandles.add($),T($,!0))}enableHandle($){this._disabledHandles.has($)&&(this._disabledHandles.delete($),T($,this.disabled))}withDirection($){return this._direction=$,this}_withDropContainer($){this._dropContainer=$}getFreeDragPosition(){const $=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:$.x,y:$.y}}setFreeDragPosition($){return this._activeTransform={x:0,y:0},this._passiveTransform.x=$.x,this._passiveTransform.y=$.y,this._dropContainer||this._applyRootElementTransform($.x,$.y),this}withPreviewContainer($){return this._previewContainer=$,this}_sortFromLastPointerPosition(){const $=this._lastKnownPointerPosition;$&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition($),$)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var $,oe;null===($=this._preview)||void 0===$||$.remove(),null===(oe=this._previewRef)||void 0===oe||oe.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var $,oe;null===($=this._placeholder)||void 0===$||$.remove(),null===(oe=this._placeholderRef)||void 0===oe||oe.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence($){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($),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const oe=this._getPointerPositionOnPage($);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(oe),dropPoint:oe})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence($){it($)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const oe=this._dropContainer;if(oe){const nt=this._rootElement,ct=nt.parentNode,Rt=this._placeholder=this._createPlaceholderElement(),mt=this._anchor=this._anchor||this._document.createComment(""),Tt=this._getShadowRoot();ct.insertBefore(mt,nt),this._initialTransform=nt.style.transform||"",this._preview=this._createPreviewElement(),R(nt,!1,ce),this._document.body.appendChild(ct.replaceChild(Rt,nt)),this._getPreviewInsertionPoint(ct,Tt).appendChild(this._preview),this.started.next({source:this}),oe.start(),this._initialContainer=oe,this._initialIndex=oe.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(oe?oe.getScrollableParents():[])}_initializeDragSequence($,oe){this._parentDragRef&&oe.stopPropagation();const nt=this.isDragging(),ct=it(oe),Rt=!ct&&0!==oe.button,mt=this._rootElement,Tt=(0,g.sA)(oe),ot=!ct&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),rt=ct?(0,_.yG)(oe):(0,_.X6)(oe);if(Tt&&Tt.draggable&&"mousedown"===oe.type&&oe.preventDefault(),nt||Rt||ot||rt)return;if(this._handles.length){const Ht=mt.style;this._rootElementTapHighlight=Ht.webkitTapHighlightColor||"",Ht.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(Ht=>this._updateOnScroll(Ht)),this._boundaryElement&&(this._boundaryRect=Te(this._boundaryElement));const lt=this._previewTemplate;this._pickupPositionInElement=lt&<.template&&!lt.matchSize?{x:0,y:0}:this._getPointerPositionInElement($,oe);const ut=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(oe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:ut.x,y:ut.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,oe)}_cleanupDragArtifacts($){R(this._rootElement,!0,ce),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const oe=this._dropContainer,nt=oe.getItemIndex(this),ct=this._getPointerPositionOnPage($),Rt=this._getDragDistance(ct),mt=oe._isOverContainer(ct.x,ct.y);this.ended.next({source:this,distance:Rt,dropPoint:ct}),this.dropped.next({item:this,currentIndex:nt,previousIndex:this._initialIndex,container:oe,previousContainer:this._initialContainer,isPointerOverContainer:mt,distance:Rt,dropPoint:ct}),oe.drop(this,nt,this._initialIndex,this._initialContainer,mt,Rt,ct),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:$,y:oe},{x:nt,y:ct}){let Rt=this._initialContainer._getSiblingContainerFromPosition(this,$,oe);!Rt&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer($,oe)&&(Rt=this._initialContainer),Rt&&Rt!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Rt,this._dropContainer.enter(this,$,oe,Rt===this._initialContainer&&Rt.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Rt,currentIndex:Rt.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(nt,ct),this._dropContainer._sortItem(this,$,oe,this._pointerDirectionDelta),this._applyPreviewTransform($-this._pickupPositionInElement.x,oe-this._pickupPositionInElement.y))}_createPreviewElement(){const $=this._previewTemplate,oe=this.previewClass,nt=$?$.template:null;let ct;if(nt&&$){const Rt=$.matchSize?this._rootElement.getBoundingClientRect():null,mt=$.viewContainer.createEmbeddedView(nt,$.context);mt.detectChanges(),ct=Be(mt,this._document),this._previewRef=mt,$.matchSize?ze(ct,Rt):ct.style.transform=Ze(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const Rt=this._rootElement;ct=Le(Rt),ze(ct,Rt.getBoundingClientRect()),this._initialTransform&&(ct.style.transform=this._initialTransform)}return ye(ct.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ce),T(ct,!1),ct.classList.add("cdk-drag-preview"),ct.setAttribute("dir",this._direction),oe&&(Array.isArray(oe)?oe.forEach(Rt=>ct.classList.add(Rt)):ct.classList.add(oe)),ct}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const $=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform($.left,$.top);const oe=function Y(Z){const $=getComputedStyle(Z),oe=se($,"transition-property"),nt=oe.find(Tt=>"transform"===Tt||"all"===Tt);if(!nt)return 0;const ct=oe.indexOf(nt),Rt=se($,"transition-duration"),mt=se($,"transition-delay");return X(Rt[ct])+X(mt[ct])}(this._preview);return 0===oe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(nt=>{const ct=mt=>{var Tt;(!mt||(0,g.sA)(mt)===this._preview&&"transform"===mt.propertyName)&&(null===(Tt=this._preview)||void 0===Tt||Tt.removeEventListener("transitionend",ct),nt(),clearTimeout(Rt))},Rt=setTimeout(ct,1.5*oe);this._preview.addEventListener("transitionend",ct)}))}_createPlaceholderElement(){const $=this._placeholderTemplate,oe=$?$.template:null;let nt;return oe?(this._placeholderRef=$.viewContainer.createEmbeddedView(oe,$.context),this._placeholderRef.detectChanges(),nt=Be(this._placeholderRef,this._document)):nt=Le(this._rootElement),nt.style.pointerEvents="none",nt.classList.add("cdk-drag-placeholder"),nt}_getPointerPositionInElement($,oe){const nt=this._rootElement.getBoundingClientRect(),ct=$===this._rootElement?null:$,Rt=ct?ct.getBoundingClientRect():nt,mt=it(oe)?oe.targetTouches[0]:oe,Tt=this._getViewportScrollPosition();return{x:Rt.left-nt.left+(mt.pageX-Rt.left-Tt.left),y:Rt.top-nt.top+(mt.pageY-Rt.top-Tt.top)}}_getPointerPositionOnPage($){const oe=this._getViewportScrollPosition(),nt=it($)?$.touches[0]||$.changedTouches[0]||{pageX:0,pageY:0}:$,ct=nt.pageX-oe.left,Rt=nt.pageY-oe.top;if(this._ownerSVGElement){const mt=this._ownerSVGElement.getScreenCTM();if(mt){const Tt=this._ownerSVGElement.createSVGPoint();return Tt.x=ct,Tt.y=Rt,Tt.matrixTransform(mt.inverse())}}return{x:ct,y:Rt}}_getConstrainedPointerPosition($){const oe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:nt,y:ct}=this.constrainPosition?this.constrainPosition($,this):$;if("x"===this.lockAxis||"x"===oe?ct=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===oe)&&(nt=this._pickupPositionOnPage.x),this._boundaryRect){const{x:Rt,y:mt}=this._pickupPositionInElement,Tt=this._boundaryRect,{width:ot,height:rt}=this._getPreviewRect(),lt=Tt.top+mt,ut=Tt.bottom-(rt-mt);nt=ne(nt,Tt.left+Rt,Tt.right-(ot-Rt)),ct=ne(ct,lt,ut)}return{x:nt,y:ct}}_updatePointerDirectionDelta($){const{x:oe,y:nt}=$,ct=this._pointerDirectionDelta,Rt=this._pointerPositionAtLastDirectionChange,mt=Math.abs(oe-Rt.x),Tt=Math.abs(nt-Rt.y);return mt>this._config.pointerDirectionChangeThreshold&&(ct.x=oe>Rt.x?1:-1,Rt.x=oe),Tt>this._config.pointerDirectionChangeThreshold&&(ct.y=nt>Rt.y?1:-1,Rt.y=nt),ct}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const $=this._handles.length>0||!this.isDragging();$!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=$,T(this._rootElement,$))}_removeRootElementListeners($){$.removeEventListener("mousedown",this._pointerDown,Ce),$.removeEventListener("touchstart",this._pointerDown,de),$.removeEventListener("dragstart",this._nativeDragStart,Ce)}_applyRootElementTransform($,oe){const nt=Ze($,oe),ct=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ct.transform&&"none"!=ct.transform?ct.transform:""),ct.transform=L(nt,this._initialTransform)}_applyPreviewTransform($,oe){var nt;const ct=(null===(nt=this._previewTemplate)||void 0===nt?void 0:nt.template)?void 0:this._initialTransform,Rt=Ze($,oe);this._preview.style.transform=L(Rt,ct)}_getDragDistance($){const oe=this._pickupPositionOnPage;return oe?{x:$.x-oe.x,y:$.y-oe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:$,y:oe}=this._passiveTransform;if(0===$&&0===oe||this.isDragging()||!this._boundaryElement)return;const nt=this._boundaryElement.getBoundingClientRect(),ct=this._rootElement.getBoundingClientRect();if(0===nt.width&&0===nt.height||0===ct.width&&0===ct.height)return;const Rt=nt.left-ct.left,mt=ct.right-nt.right,Tt=nt.top-ct.top,ot=ct.bottom-nt.bottom;nt.width>ct.width?(Rt>0&&($+=Rt),mt>0&&($-=mt)):$=0,nt.height>ct.height?(Tt>0&&(oe+=Tt),ot>0&&(oe-=ot)):oe=0,($!==this._passiveTransform.x||oe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:oe,x:$})}_getDragStartDelay($){const oe=this.dragStartDelay;return"number"==typeof oe?oe:it($)?oe.touch:oe?oe.mouse:0}_updateOnScroll($){const oe=this._parentPositions.handleScroll($);if(oe){const nt=(0,g.sA)($);this._boundaryRect&&nt!==this._boundaryElement&&nt.contains(this._boundaryElement)&&Se(this._boundaryRect,oe.top,oe.left),this._pickupPositionOnPage.x+=oe.left,this._pickupPositionOnPage.y+=oe.top,this._dropContainer||(this._activeTransform.x-=oe.left,this._activeTransform.y-=oe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var $;return(null===($=this._parentPositions.positions.get(this._document))||void 0===$?void 0:$.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,g.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint($,oe){const nt=this._previewContainer||"global";if("parent"===nt)return $;if("global"===nt){const ct=this._document;return oe||ct.fullscreenElement||ct.webkitFullscreenElement||ct.mozFullScreenElement||ct.msFullscreenElement||ct.body}return(0,w.fI)(nt)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle($){return this._handles.find(oe=>$.target&&($.target===oe||oe.contains($.target)))}}function Ze(Z,$){return`translate3d(${Math.round(Z)}px, ${Math.round($)}px, 0)`}function ne(Z,$,oe){return Math.max($,Math.min(oe,Z))}function it(Z){return"t"===Z.type[0]}function Be(Z,$){const oe=Z.rootNodes;if(1===oe.length&&oe[0].nodeType===$.ELEMENT_NODE)return oe[0];const nt=$.createElement("div");return oe.forEach(ct=>nt.appendChild(ct)),nt}function ze(Z,$){Z.style.width=`${$.width}px`,Z.style.height=`${$.height}px`,Z.style.transform=Ze($.left,$.top)}function Ue(Z,$,oe){const nt=Ae($,Z.length-1),ct=Ae(oe,Z.length-1);if(nt===ct)return;const Rt=Z[nt],mt=ct!0,this.sortPredicate=()=>!0,this.beforeStarted=new b.x,this.entered=new b.x,this.exited=new b.x,this.dropped=new b.x,this.sorted=new b.x,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=E.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new b.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,v.F)(0,I.Z).pipe((0,q.R)(this._stopScrollTimers)).subscribe(()=>{const mt=this._scrollNode,Tt=this.autoScrollStep;1===this._verticalScrollDirection?mt.scrollBy(0,-Tt):2===this._verticalScrollDirection&&mt.scrollBy(0,Tt),1===this._horizontalScrollDirection?mt.scrollBy(-Tt,0):2===this._horizontalScrollDirection&&mt.scrollBy(Tt,0)})},this.element=(0,w.fI)($),this._document=nt,this.withScrollableParents([this.element]),oe.registerDropContainer(this),this._parentPositions=new ge(nt)}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($,oe,nt,ct){let Rt;this._draggingStarted(),null==ct?(Rt=this.sortingDisabled?this._draggables.indexOf($):-1,-1===Rt&&(Rt=this._getItemIndexFromPointerPosition($,oe,nt))):Rt=ct;const mt=this._activeDraggables,Tt=mt.indexOf($),ot=$.getPlaceholderElement();let rt=mt[Rt];if(rt===$&&(rt=mt[Rt+1]),!rt&&(null==Rt||-1===Rt||Rt-1&&mt.splice(Tt,1),rt&&!this._dragDropRegistry.isDragging(rt)){const lt=rt.getRootElement();lt.parentElement.insertBefore(ot,lt),mt.splice(Rt,0,$)}else(0,w.fI)(this.element).appendChild(ot),mt.push($);ot.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:$,container:this,currentIndex:this.getItemIndex($)})}exit($){this._reset(),this.exited.next({item:$,container:this})}drop($,oe,nt,ct,Rt,mt,Tt){this._reset(),this.dropped.next({item:$,currentIndex:oe,previousIndex:nt,container:this,previousContainer:ct,isPointerOverContainer:Rt,distance:mt,dropPoint:Tt})}withItems($){const oe=this._draggables;return this._draggables=$,$.forEach(nt=>nt._withDropContainer(this)),this.isDragging()&&(oe.filter(ct=>ct.isDragging()).every(ct=>-1===$.indexOf(ct))?this._reset():this._cacheItems()),this}withDirection($){return this._direction=$,this}connectedTo($){return this._siblings=$.slice(),this}withOrientation($){return this._orientation=$,this}withScrollableParents($){const oe=(0,w.fI)(this.element);return this._scrollableElements=-1===$.indexOf(oe)?[oe,...$]:$.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex($){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(nt=>nt.drag===$):this._draggables.indexOf($)}isReceiving(){return this._activeSiblings.size>0}_sortItem($,oe,nt,ct){if(this.sortingDisabled||!this._clientRect||!We(this._clientRect,.05,oe,nt))return;const Rt=this._itemPositions,mt=this._getItemIndexFromPointerPosition($,oe,nt,ct);if(-1===mt&&Rt.length>0)return;const Tt="horizontal"===this._orientation,ot=Rt.findIndex(gi=>gi.drag===$),rt=Rt[mt],ut=rt.clientRect,Ht=ot>mt?1:-1,Qt=this._getItemOffsetPx(Rt[ot].clientRect,ut,Ht),ni=this._getSiblingOffsetPx(ot,Rt,Ht),hi=Rt.slice();Ue(Rt,ot,mt),this.sorted.next({previousIndex:ot,currentIndex:mt,container:this,item:$}),Rt.forEach((gi,xi)=>{if(hi[xi]===gi)return;const ji=gi.drag===$,tn=ji?Qt:ni,qi=ji?$.getPlaceholderElement():gi.drag.getRootElement();gi.offset+=tn,Tt?(qi.style.transform=L(`translate3d(${Math.round(gi.offset)}px, 0, 0)`,gi.initialTransform),Se(gi.clientRect,0,tn)):(qi.style.transform=L(`translate3d(0, ${Math.round(gi.offset)}px, 0)`,gi.initialTransform),Se(gi.clientRect,tn,0))}),this._previousSwap.overlaps=Oe(ut,oe,nt),this._previousSwap.drag=rt.drag,this._previousSwap.delta=Tt?ct.x:ct.y}_startScrollingIfNecessary($,oe){if(this.autoScrollDisabled)return;let nt,ct=0,Rt=0;if(this._parentPositions.positions.forEach((mt,Tt)=>{Tt===this._document||!mt.clientRect||nt||We(mt.clientRect,.05,$,oe)&&([ct,Rt]=function O(Z,$,oe,nt){const ct=H($,nt),Rt=D($,oe);let mt=0,Tt=0;if(ct){const ot=Z.scrollTop;1===ct?ot>0&&(mt=1):Z.scrollHeight-ot>Z.clientHeight&&(mt=2)}if(Rt){const ot=Z.scrollLeft;1===Rt?ot>0&&(Tt=1):Z.scrollWidth-ot>Z.clientWidth&&(Tt=2)}return[mt,Tt]}(Tt,mt.clientRect,$,oe),(ct||Rt)&&(nt=Tt))}),!ct&&!Rt){const{width:mt,height:Tt}=this._viewportRuler.getViewportSize(),ot={width:mt,height:Tt,top:0,right:mt,bottom:Tt,left:0};ct=H(ot,oe),Rt=D(ot,$),nt=window}nt&&(ct!==this._verticalScrollDirection||Rt!==this._horizontalScrollDirection||nt!==this._scrollNode)&&(this._verticalScrollDirection=ct,this._horizontalScrollDirection=Rt,this._scrollNode=nt,(ct||Rt)&&nt?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const $=(0,w.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=$.msScrollSnapType||$.scrollSnapType||"",$.scrollSnapType=$.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const $=(0,w.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get($).clientRect}_cacheItemPositions(){const $="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(oe=>{const nt=oe.getVisibleElement();return{drag:oe,offset:0,initialTransform:nt.style.transform||"",clientRect:Te(nt)}}).sort((oe,nt)=>$?oe.clientRect.left-nt.clientRect.left:oe.clientRect.top-nt.clientRect.top)}_reset(){this._isDragging=!1;const $=(0,w.fI)(this.element).style;$.scrollSnapType=$.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(oe=>{var nt;const ct=oe.getRootElement();if(ct){const Rt=null===(nt=this._itemPositions.find(mt=>mt.drag===oe))||void 0===nt?void 0:nt.initialTransform;ct.style.transform=Rt||""}}),this._siblings.forEach(oe=>oe._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($,oe,nt){const ct="horizontal"===this._orientation,Rt=oe[$].clientRect,mt=oe[$+-1*nt];let Tt=Rt[ct?"width":"height"]*nt;if(mt){const ot=ct?"left":"top",rt=ct?"right":"bottom";-1===nt?Tt-=mt.clientRect[ot]-Rt[rt]:Tt+=Rt[ot]-mt.clientRect[rt]}return Tt}_getItemOffsetPx($,oe,nt){const ct="horizontal"===this._orientation;let Rt=ct?oe.left-$.left:oe.top-$.top;return-1===nt&&(Rt+=ct?oe.width-$.width:oe.height-$.height),Rt}_shouldEnterAsFirstChild($,oe){if(!this._activeDraggables.length)return!1;const nt=this._itemPositions,ct="horizontal"===this._orientation;if(nt[0].drag!==this._activeDraggables[0]){const mt=nt[nt.length-1].clientRect;return ct?$>=mt.right:oe>=mt.bottom}{const mt=nt[0].clientRect;return ct?$<=mt.left:oe<=mt.top}}_getItemIndexFromPointerPosition($,oe,nt,ct){const Rt="horizontal"===this._orientation,mt=this._itemPositions.findIndex(({drag:Tt,clientRect:ot})=>{if(Tt===$)return!1;if(ct){const rt=Rt?ct.x:ct.y;if(Tt===this._previousSwap.drag&&this._previousSwap.overlaps&&rt===this._previousSwap.delta)return!1}return Rt?oe>=Math.floor(ot.left)&&oe=Math.floor(ot.top)&&ntct._canReceive($,oe,nt))}_canReceive($,oe,nt){if(!this._clientRect||!Oe(this._clientRect,oe,nt)||!this.enterPredicate($,this))return!1;const ct=this._getShadowRoot().elementFromPoint(oe,nt);if(!ct)return!1;const Rt=(0,w.fI)(this.element);return ct===Rt||Rt.contains(ct)}_startReceiving($,oe){const nt=this._activeSiblings;!nt.has($)&&oe.every(ct=>this.enterPredicate(ct,this)||this._draggables.indexOf(ct)>-1)&&(nt.add($),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving($){this._activeSiblings.delete($),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe($=>{if(this.isDragging()){const oe=this._parentPositions.handleScroll($);oe&&(this._itemPositions.forEach(({clientRect:nt})=>{Se(nt,oe.top,oe.left)}),this._itemPositions.forEach(({drag:nt})=>{this._dragDropRegistry.isDragging(nt)&&nt._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const $=(0,g.kV)((0,w.fI)(this.element));this._cachedShadowRoot=$||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const $=this._activeDraggables.filter(oe=>oe.isDragging());this._siblings.forEach(oe=>oe._startReceiving(this,$))}}function H(Z,$){const{top:oe,bottom:nt,height:ct}=Z,Rt=.05*ct;return $>=oe-Rt&&$<=oe+Rt?1:$>=nt-Rt&&$<=nt+Rt?2:0}function D(Z,$){const{left:oe,right:nt,width:ct}=Z,Rt=.05*ct;return $>=oe-Rt&&$<=oe+Rt?1:$>=nt-Rt&&$<=nt+Rt?2:0}const i=(0,g.i$)({passive:!1,capture:!0});let o=(()=>{class Z{constructor(oe,nt){this._ngZone=oe,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ct=>ct.isDragging(),this.pointerMove=new b.x,this.pointerUp=new b.x,this.scroll=new b.x,this._preventDefaultWhileDragging=ct=>{this._activeDragInstances.length>0&&ct.preventDefault()},this._persistentTouchmoveListener=ct=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ct.preventDefault(),this.pointerMove.next(ct))},this._document=nt}registerDropContainer(oe){this._dropInstances.has(oe)||this._dropInstances.add(oe)}registerDragItem(oe){this._dragInstances.add(oe),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,i)})}removeDropContainer(oe){this._dropInstances.delete(oe)}removeDragItem(oe){this._dragInstances.delete(oe),this.stopDragging(oe),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,i)}startDragging(oe,nt){if(!(this._activeDragInstances.indexOf(oe)>-1)&&(this._activeDragInstances.push(oe),1===this._activeDragInstances.length)){const ct=nt.type.startsWith("touch");this._globalListeners.set(ct?"touchend":"mouseup",{handler:Rt=>this.pointerUp.next(Rt),options:!0}).set("scroll",{handler:Rt=>this.scroll.next(Rt),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:i}),ct||this._globalListeners.set("mousemove",{handler:Rt=>this.pointerMove.next(Rt),options:i}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Rt,mt)=>{this._document.addEventListener(mt,Rt.handler,Rt.options)})})}}stopDragging(oe){const nt=this._activeDragInstances.indexOf(oe);nt>-1&&(this._activeDragInstances.splice(nt,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(oe){return this._activeDragInstances.indexOf(oe)>-1}scrolled(oe){const nt=[this.scroll];return oe&&oe!==this._document&&nt.push(new N.y(ct=>this._ngZone.runOutsideAngular(()=>{const mt=Tt=>{this._activeDragInstances.length&&ct.next(Tt)};return oe.addEventListener("scroll",mt,!0),()=>{oe.removeEventListener("scroll",mt,!0)}}))),(0,A.T)(...nt)}ngOnDestroy(){this._dragInstances.forEach(oe=>this.removeDragItem(oe)),this._dropInstances.forEach(oe=>this.removeDropContainer(oe)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((oe,nt)=>{this._document.removeEventListener(nt,oe.handler,oe.options)}),this._globalListeners.clear()}}return Z.\u0275fac=function(oe){return new(oe||Z)(e.LFG(e.R0b),e.LFG(c.K0))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const u={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let l=(()=>{class Z{constructor(oe,nt,ct,Rt){this._document=oe,this._ngZone=nt,this._viewportRuler=ct,this._dragDropRegistry=Rt}createDrag(oe,nt=u){return new fe(oe,nt,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(oe){return new V(oe,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return Z.\u0275fac=function(oe){return new(oe||Z)(e.LFG(c.K0),e.LFG(e.R0b),e.LFG(be.rL),e.LFG(o))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const s=new e.OlP("CDK_DRAG_PARENT"),n=new e.OlP("CdkDropListGroup"),r=new e.OlP("CDK_DRAG_CONFIG");let d=0;const f=new e.OlP("CdkDropList");let x=(()=>{class Z{constructor(oe,nt,ct,Rt,mt,Tt,ot){this.element=oe,this._changeDetectorRef=ct,this._scrollDispatcher=Rt,this._dir=mt,this._group=Tt,this._destroyed=new b.x,this.connectedTo=[],this.id="cdk-drop-list-"+d++,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=nt.createDropList(oe),this._dropListRef.data=this,ot&&this._assignDefaults(ot),this._dropListRef.enterPredicate=(rt,lt)=>this.enterPredicate(rt.data,lt.data),this._dropListRef.sortPredicate=(rt,lt,ut)=>this.sortPredicate(rt,lt.data,ut.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Z._dropLists.push(this),Tt&&Tt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(oe){this._dropListRef.disabled=this._disabled=(0,w.Ig)(oe)}addItem(oe){this._unsortedItems.add(oe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(oe){this._unsortedItems.delete(oe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((oe,nt)=>oe._dragRef.getVisibleElement().compareDocumentPosition(nt._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const oe=Z._dropLists.indexOf(this);oe>-1&&Z._dropLists.splice(oe,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(oe){this._dir&&this._dir.change.pipe((0,j.O)(this._dir.value),(0,q.R)(this._destroyed)).subscribe(nt=>oe.withDirection(nt)),oe.beforeStarted.subscribe(()=>{const nt=(0,w.Eq)(this.connectedTo).map(ct=>"string"==typeof ct?Z._dropLists.find(mt=>mt.id===ct):ct);if(this._group&&this._group._items.forEach(ct=>{-1===nt.indexOf(ct)&&nt.push(ct)}),!this._scrollableParentsResolved){const ct=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Rt=>Rt.getElementRef().nativeElement);this._dropListRef.withScrollableParents(ct),this._scrollableParentsResolved=!0}oe.disabled=this.disabled,oe.lockAxis=this.lockAxis,oe.sortingDisabled=(0,w.Ig)(this.sortingDisabled),oe.autoScrollDisabled=(0,w.Ig)(this.autoScrollDisabled),oe.autoScrollStep=(0,w.su)(this.autoScrollStep,2),oe.connectedTo(nt.filter(ct=>ct&&ct!==this).map(ct=>ct._dropListRef)).withOrientation(this.orientation)})}_handleEvents(oe){oe.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),oe.entered.subscribe(nt=>{this.entered.emit({container:this,item:nt.item.data,currentIndex:nt.currentIndex})}),oe.exited.subscribe(nt=>{this.exited.emit({container:this,item:nt.item.data}),this._changeDetectorRef.markForCheck()}),oe.sorted.subscribe(nt=>{this.sorted.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,container:this,item:nt.item.data})}),oe.dropped.subscribe(nt=>{this.dropped.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,previousContainer:nt.previousContainer.data,container:nt.container.data,item:nt.item.data,isPointerOverContainer:nt.isPointerOverContainer,distance:nt.distance,dropPoint:nt.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(oe){const{lockAxis:nt,draggingDisabled:ct,sortingDisabled:Rt,listAutoScrollDisabled:mt,listOrientation:Tt}=oe;this.disabled=null!=ct&&ct,this.sortingDisabled=null!=Rt&&Rt,this.autoScrollDisabled=null!=mt&&mt,this.orientation=Tt||"vertical",nt&&(this.lockAxis=nt)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(oe=>oe._dragRef))}}return Z._dropLists=[],Z.\u0275fac=function(oe){return new(oe||Z)(e.Y36(e.SBq),e.Y36(l),e.Y36(e.sBO),e.Y36(be.mF),e.Y36(pe.Is,8),e.Y36(n,12),e.Y36(r,8))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(oe,nt){2&oe&&(e.uIk("id",nt.id),e.ekj("cdk-drop-list-disabled",nt.disabled)("cdk-drop-list-dragging",nt._dropListRef.isDragging())("cdk-drop-list-receiving",nt._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:n,useValue:void 0},{provide:f,useExisting:Z}])]}),Z})();const Ye=new e.OlP("CdkDragHandle"),jt=new e.OlP("CdkDragPlaceholder"),Yt=new e.OlP("CdkDragPreview");let He=(()=>{class Z{constructor(oe,nt,ct,Rt,mt,Tt,ot,rt,lt,ut,Ht){this.element=oe,this.dropContainer=nt,this._ngZone=Rt,this._viewContainerRef=mt,this._dir=ot,this._changeDetectorRef=lt,this._selfHandle=ut,this._parentDrag=Ht,this._destroyed=new b.x,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 N.y(Qt=>{const ni=this._dragRef.moved.pipe((0,G.U)(hi=>({source:this,pointerPosition:hi.pointerPosition,event:hi.event,delta:hi.delta,distance:hi.distance}))).subscribe(Qt);return()=>{ni.unsubscribe()}}),this._dragRef=rt.createDrag(oe,{dragStartThreshold:Tt&&null!=Tt.dragStartThreshold?Tt.dragStartThreshold:5,pointerDirectionChangeThreshold:Tt&&null!=Tt.pointerDirectionChangeThreshold?Tt.pointerDirectionChangeThreshold:5,zIndex:null==Tt?void 0:Tt.zIndex}),this._dragRef.data=this,Z._dragInstances.push(this),Tt&&this._assignDefaults(Tt),nt&&(this._dragRef._withDropContainer(nt._dropListRef),nt.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(oe){this._disabled=(0,w.Ig)(oe),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.q)(1),(0,q.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(oe){const nt=oe.rootElementSelector,ct=oe.freeDragPosition;nt&&!nt.firstChange&&this._updateRootElement(),ct&&!ct.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const oe=Z._dragInstances.indexOf(this);oe>-1&&Z._dragInstances.splice(oe,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var oe;const nt=this.element.nativeElement;let ct=nt;this.rootElementSelector&&(ct=void 0!==nt.closest?nt.closest(this.rootElementSelector):null===(oe=nt.parentElement)||void 0===oe?void 0:oe.closest(this.rootElementSelector)),this._dragRef.withRootElement(ct||nt)}_getBoundaryElement(){const oe=this.boundaryElement;return oe?"string"==typeof oe?this.element.nativeElement.closest(oe):(0,w.fI)(oe):null}_syncInputs(oe){oe.beforeStarted.subscribe(()=>{if(!oe.isDragging()){const nt=this._dir,ct=this.dragStartDelay,Rt=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,mt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;oe.disabled=this.disabled,oe.lockAxis=this.lockAxis,oe.dragStartDelay="object"==typeof ct&&ct?ct:(0,w.su)(ct),oe.constrainPosition=this.constrainPosition,oe.previewClass=this.previewClass,oe.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Rt).withPreviewTemplate(mt).withPreviewContainer(this.previewContainer||"global"),nt&&oe.withDirection(nt.value)}}),oe.beforeStarted.pipe((0,Q.q)(1)).subscribe(()=>{var nt;if(this._parentDrag)return void oe.withParent(this._parentDrag._dragRef);let ct=this.element.nativeElement.parentElement;for(;ct;){if(ct.classList.contains("cdk-drag")){oe.withParent((null===(nt=Z._dragInstances.find(Rt=>Rt.element.nativeElement===ct))||void 0===nt?void 0:nt._dragRef)||null);break}ct=ct.parentElement}})}_handleEvents(oe){oe.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),oe.released.subscribe(()=>{this.released.emit({source:this})}),oe.ended.subscribe(nt=>{this.ended.emit({source:this,distance:nt.distance,dropPoint:nt.dropPoint}),this._changeDetectorRef.markForCheck()}),oe.entered.subscribe(nt=>{this.entered.emit({container:nt.container.data,item:this,currentIndex:nt.currentIndex})}),oe.exited.subscribe(nt=>{this.exited.emit({container:nt.container.data,item:this})}),oe.dropped.subscribe(nt=>{this.dropped.emit({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,previousContainer:nt.previousContainer.data,container:nt.container.data,isPointerOverContainer:nt.isPointerOverContainer,item:this,distance:nt.distance,dropPoint:nt.dropPoint})})}_assignDefaults(oe){const{lockAxis:nt,dragStartDelay:ct,constrainPosition:Rt,previewClass:mt,boundaryElement:Tt,draggingDisabled:ot,rootElementSelector:rt,previewContainer:lt}=oe;this.disabled=null!=ot&&ot,this.dragStartDelay=ct||0,nt&&(this.lockAxis=nt),Rt&&(this.constrainPosition=Rt),mt&&(this.previewClass=mt),Tt&&(this.boundaryElement=Tt),rt&&(this.rootElementSelector=rt),lt&&(this.previewContainer=lt)}_setupHandlesListener(){this._handles.changes.pipe((0,j.O)(this._handles),(0,he.b)(oe=>{const nt=oe.filter(ct=>ct._parentDrag===this).map(ct=>ct.element);this._selfHandle&&this.rootElementSelector&&nt.push(this.element),this._dragRef.withHandles(nt)}),(0,F.w)(oe=>(0,A.T)(...oe.map(nt=>nt._stateChanges.pipe((0,j.O)(nt))))),(0,q.R)(this._destroyed)).subscribe(oe=>{const nt=this._dragRef,ct=oe.element.nativeElement;oe.disabled?nt.disableHandle(ct):nt.enableHandle(ct)})}}return Z._dragInstances=[],Z.\u0275fac=function(oe){return new(oe||Z)(e.Y36(e.SBq),e.Y36(f,12),e.Y36(c.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(r,8),e.Y36(pe.Is,8),e.Y36(l),e.Y36(e.sBO),e.Y36(Ye,10),e.Y36(s,12))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkDrag",""]],contentQueries:function(oe,nt,ct){if(1&oe&&(e.Suo(ct,Yt,5),e.Suo(ct,jt,5),e.Suo(ct,Ye,5)),2&oe){let Rt;e.iGM(Rt=e.CRH())&&(nt._previewTemplate=Rt.first),e.iGM(Rt=e.CRH())&&(nt._placeholderTemplate=Rt.first),e.iGM(Rt=e.CRH())&&(nt._handles=Rt)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(oe,nt){2&oe&&e.ekj("cdk-drag-disabled",nt.disabled)("cdk-drag-dragging",nt._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:s,useExisting:Z}]),e.TTD]}),Z})(),je=(()=>{class Z{}return Z.\u0275fac=function(oe){return new(oe||Z)},Z.\u0275mod=e.oAB({type:Z}),Z.\u0275inj=e.cJS({providers:[l],imports:[be.ZD]}),Z})()},91159:(qe,me,h)=>{"use strict";h.d(me,{A:()=>Pe,zL:()=>v,ZH:()=>c,OC:()=>_t,jx:()=>E,yY:()=>X,JH:()=>ye,uR:()=>Q,K5:()=>_,hY:()=>A,Sd:()=>he,oh:()=>F,b2:()=>Ki,MW:()=>a,aO:()=>Me,VM:()=>G,Ku:()=>j,SV:()=>pe,JU:()=>b,L_:()=>q,Mf:()=>g,LH:()=>be,Z:()=>r,xE:()=>Y,Vb:()=>Li});const c=8,g=9,_=13,b=16,E=17,v=18,A=27,q=32,j=33,G=34,Q=35,he=36,F=37,be=38,pe=39,ye=40,X=46,Y=48,Me=57,Pe=65,r=90,a=91,_t=188,Ki=224;function Li(yi,...nn){return nn.length?nn.some(fn=>yi[fn]):yi.altKey||yi.shiftKey||yi.ctrlKey||yi.metaKey}},17144:(qe,me,h)=>{"use strict";h.d(me,{wD:()=>v,Q8:()=>I});var e=h(63191),c=h(5e3),g=h(68306),w=h(77579),_=h(78372);let b=(()=>{class N{create(q){return"undefined"==typeof MutationObserver?null:new MutationObserver(q)}}return N.\u0275fac=function(q){return new(q||N)},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),E=(()=>{class N{constructor(q){this._mutationObserverFactory=q,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((q,j)=>this._cleanupObserver(j))}observe(q){const j=(0,e.fI)(q);return new g.y(G=>{const he=this._observeElement(j).subscribe(G);return()=>{he.unsubscribe(),this._unobserveElement(j)}})}_observeElement(q){if(this._observedElements.has(q))this._observedElements.get(q).count++;else{const j=new w.x,G=this._mutationObserverFactory.create(Q=>j.next(Q));G&&G.observe(q,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(q,{observer:G,stream:j,count:1})}return this._observedElements.get(q).stream}_unobserveElement(q){this._observedElements.has(q)&&(this._observedElements.get(q).count--,this._observedElements.get(q).count||this._cleanupObserver(q))}_cleanupObserver(q){if(this._observedElements.has(q)){const{observer:j,stream:G}=this._observedElements.get(q);j&&j.disconnect(),G.complete(),this._observedElements.delete(q)}}}return N.\u0275fac=function(q){return new(q||N)(c.LFG(b))},N.\u0275prov=c.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),v=(()=>{class N{constructor(q,j,G){this._contentObserver=q,this._elementRef=j,this._ngZone=G,this.event=new c.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(q){this._disabled=(0,e.Ig)(q),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(q){this._debounce=(0,e.su)(q),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const q=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?q.pipe((0,_.b)(this.debounce)):q).subscribe(this.event)})}_unsubscribe(){var q;null===(q=this._currentSubscription)||void 0===q||q.unsubscribe()}}return N.\u0275fac=function(q){return new(q||N)(c.Y36(E),c.Y36(c.SBq),c.Y36(c.R0b))},N.\u0275dir=c.lG2({type:N,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),N})(),I=(()=>{class N{}return N.\u0275fac=function(q){return new(q||N)},N.\u0275mod=c.oAB({type:N}),N.\u0275inj=c.cJS({providers:[b]}),N})()},91314:(qe,me,h)=>{"use strict";h.d(me,{pI:()=>ae,xu:()=>_e,_G:()=>Me,aV:()=>Be,X_:()=>X,Xj:()=>ge,U8:()=>Ne});var e=h(29071),c=h(69808),g=h(5e3),w=h(63191),_=h(70925),b=h(50226),E=h(47429),v=h(77579),I=h(50727),N=h(56451),A=h(95698),q=h(82722),j=h(22529),G=h(91159);const Q=(0,_.Mq)();class he{constructor(D,O){this._viewportRuler=D,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=O}attach(){}enable(){if(this._canBeEnabled()){const D=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=D.style.left||"",this._previousHTMLStyles.top=D.style.top||"",D.style.left=(0,w.HM)(-this._previousScrollPosition.left),D.style.top=(0,w.HM)(-this._previousScrollPosition.top),D.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const D=this._document.documentElement,i=D.style,o=this._document.body.style,u=i.scrollBehavior||"",l=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,D.classList.remove("cdk-global-scrollblock"),Q&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q&&(i.scrollBehavior=u,o.scrollBehavior=l)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const O=this._document.body,i=this._viewportRuler.getViewportSize();return O.scrollHeight>i.height||O.scrollWidth>i.width}}class be{constructor(D,O,i,o){this._scrollDispatcher=D,this._ngZone=O,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(D){this._overlayRef=D}enable(){if(this._scrollSubscription)return;const D=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=D.subscribe(()=>{const O=this._viewportRuler.getViewportScrollPosition().top;Math.abs(O-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=D.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class pe{enable(){}disable(){}attach(){}}function ye(H,D){return D.some(O=>H.bottomO.bottom||H.rightO.right)}function T(H,D){return D.some(O=>H.topO.bottom||H.leftO.right)}class R{constructor(D,O,i,o){this._scrollDispatcher=D,this._viewportRuler=O,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(D){this._overlayRef=D}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 O=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();ye(O,[{width:i,height:o,bottom:o,right:i,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 L=(()=>{class H{constructor(O,i,o,u){this._scrollDispatcher=O,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new pe,this.close=l=>new be(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new he(this._viewportRuler,this._document),this.reposition=l=>new R(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=u}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(e.mF),g.LFG(e.rL),g.LFG(g.R0b),g.LFG(c.K0))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();class X{constructor(D){if(this.scrollStrategy=new pe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,D){const O=Object.keys(D);for(const i of O)void 0!==D[i]&&(this[i]=D[i])}}}class Te{constructor(D,O){this.connectionPair=D,this.scrollableViewProperties=O}}class We{constructor(D,O,i,o,u,l,s,n,t){this._portalOutlet=D,this._host=O,this._pane=i,this._config=o,this._ngZone=u,this._keyboardDispatcher=l,this._document=s,this._location=n,this._outsideClickDispatcher=t,this._backdropElement=null,this._backdropClick=new v.x,this._attachments=new v.x,this._detachments=new v.x,this._locationChanges=I.w0.EMPTY,this._backdropClickHandler=r=>this._backdropClick.next(r),this._backdropTransitionendHandler=r=>{this._disposeBackdrop(r.target)},this._keydownEvents=new v.x,this._outsidePointerEvents=new v.x,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(D){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const O=this._portalOutlet.attach(D);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,A.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),O}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const D=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),D}dispose(){var D;const O=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===(D=this._host)||void 0===D||D.remove(),this._previousHostParent=this._pane=this._host=null,O&&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(D){D!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=D,this.hasAttached()&&(D.attach(this),this.updatePosition()))}updateSize(D){this._config=Object.assign(Object.assign({},this._config),D),this._updateElementSize()}setDirection(D){this._config=Object.assign(Object.assign({},this._config),{direction:D}),this._updateElementDirection()}addPanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!0)}removePanelClass(D){this._pane&&this._toggleClasses(this._pane,D,!1)}getDirection(){const D=this._config.direction;return D?"string"==typeof D?D:D.value:"ltr"}updateScrollStrategy(D){D!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=D,this.hasAttached()&&(D.attach(this),D.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const D=this._pane.style;D.width=(0,w.HM)(this._config.width),D.height=(0,w.HM)(this._config.height),D.minWidth=(0,w.HM)(this._config.minWidth),D.minHeight=(0,w.HM)(this._config.minHeight),D.maxWidth=(0,w.HM)(this._config.maxWidth),D.maxHeight=(0,w.HM)(this._config.maxHeight)}_togglePointerEvents(D){this._pane.style.pointerEvents=D?"":"none"}_attachBackdrop(){const D="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(D)})}):this._backdropElement.classList.add(D)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const D=this._backdropElement;!D||(D.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{D.addEventListener("transitionend",this._backdropTransitionendHandler)}),D.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(D)},500)))}_toggleClasses(D,O,i){const o=(0,w.Eq)(O||[]).filter(u=>!!u);o.length&&(i?D.classList.add(...o):D.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const D=this._ngZone.onStable.pipe((0,q.R)((0,N.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()),D.unsubscribe())})})}_disposeScrollStrategy(){const D=this._scrollStrategy;D&&(D.disable(),D.detach&&D.detach())}_disposeBackdrop(D){D&&(D.removeEventListener("click",this._backdropClickHandler),D.removeEventListener("transitionend",this._backdropTransitionendHandler),D.remove(),this._backdropElement===D&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let ge=(()=>{class H{constructor(O,i){this._platform=i,this._document=O}ngOnDestroy(){var O;null===(O=this._containerElement)||void 0===O||O.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const O="cdk-overlay-container";if(this._platform.isBrowser||(0,_.Oy)()){const o=this._document.querySelectorAll(`.${O}[platform="server"], .${O}[platform="test"]`);for(let u=0;u{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 D=this._originRect,O=this._overlayRect,i=this._viewportRect,o=this._containerRect,u=[];let l;for(let s of this._preferredPositions){let n=this._getOriginPoint(D,o,s),t=this._getOverlayPoint(n,O,s),r=this._getOverlayFit(t,O,i,s);if(r.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,n);this._canFitWithFlexibleDimensions(r,t,i)?u.push({position:s,origin:n,overlayRect:O,boundingBoxRect:this._calculateBoundingBoxRect(n,s)}):(!l||l.overlayFit.visibleArean&&(n=r,s=t)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Le),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const D=this._lastPosition;if(D){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const O=this._getOriginPoint(this._originRect,this._containerRect,D);this._applyPosition(D,O)}else this.apply()}withScrollableContainers(D){return this._scrollables=D,this}withPositions(D){return this._preferredPositions=D,-1===D.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(D){return this._viewportMargin=D,this}withFlexibleDimensions(D=!0){return this._hasFlexibleDimensions=D,this}withGrowAfterOpen(D=!0){return this._growAfterOpen=D,this}withPush(D=!0){return this._canPush=D,this}withLockedPosition(D=!0){return this._positionLocked=D,this}setOrigin(D){return this._origin=D,this}withDefaultOffsetX(D){return this._offsetX=D,this}withDefaultOffsetY(D){return this._offsetY=D,this}withTransformOriginOn(D){return this._transformOriginSelector=D,this}_getOriginPoint(D,O,i){let o,u;if("center"==i.originX)o=D.left+D.width/2;else{const l=this._isRtl()?D.right:D.left,s=this._isRtl()?D.left:D.right;o="start"==i.originX?l:s}return O.left<0&&(o-=O.left),u="center"==i.originY?D.top+D.height/2:"top"==i.originY?D.top:D.bottom,O.top<0&&(u-=O.top),{x:o,y:u}}_getOverlayPoint(D,O,i){let o,u;return o="center"==i.overlayX?-O.width/2:"start"===i.overlayX?this._isRtl()?-O.width:0:this._isRtl()?0:-O.width,u="center"==i.overlayY?-O.height/2:"top"==i.overlayY?0:-O.height,{x:D.x+o,y:D.y+u}}_getOverlayFit(D,O,i,o){const u=de(O);let{x:l,y:s}=D,n=this._getOffset(o,"x"),t=this._getOffset(o,"y");n&&(l+=n),t&&(s+=t);let d=0-s,f=s+u.height-i.height,x=this._subtractOverflows(u.width,0-l,l+u.width-i.width),Ye=this._subtractOverflows(u.height,d,f),It=x*Ye;return{visibleArea:It,isCompletelyWithinViewport:u.width*u.height===It,fitsInViewportVertically:Ye===u.height,fitsInViewportHorizontally:x==u.width}}_canFitWithFlexibleDimensions(D,O,i){if(this._hasFlexibleDimensions){const o=i.bottom-O.y,u=i.right-O.x,l=P(this._overlayRef.getConfig().minHeight),s=P(this._overlayRef.getConfig().minWidth),t=D.fitsInViewportHorizontally||null!=s&&s<=u;return(D.fitsInViewportVertically||null!=l&&l<=o)&&t}return!1}_pushOverlayOnScreen(D,O,i){if(this._previousPushAmount&&this._positionLocked)return{x:D.x+this._previousPushAmount.x,y:D.y+this._previousPushAmount.y};const o=de(O),u=this._viewportRect,l=Math.max(D.x+o.width-u.width,0),s=Math.max(D.y+o.height-u.height,0),n=Math.max(u.top-i.top-D.y,0),t=Math.max(u.left-i.left-D.x,0);let r=0,a=0;return r=o.width<=u.width?t||-l:D.xx&&!this._isInitialRender&&!this._growAfterOpen&&(l=D.y-x/2)}if("end"===O.overlayX&&!o||"start"===O.overlayX&&o)d=i.width-D.x+this._viewportMargin,r=D.x-this._viewportMargin;else if("start"===O.overlayX&&!o||"end"===O.overlayX&&o)a=D.x,r=i.right-D.x;else{const f=Math.min(i.right-D.x+i.left,D.x),x=this._lastBoundingBoxSize.width;r=2*f,a=D.x-f,r>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=D.x-x/2)}return{top:l,left:a,bottom:s,right:d,width:r,height:u}}_setBoundingBoxStyles(D,O){const i=this._calculateBoundingBoxRect(D,O);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.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 u=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=(0,w.HM)(i.height),o.top=(0,w.HM)(i.top),o.bottom=(0,w.HM)(i.bottom),o.width=(0,w.HM)(i.width),o.left=(0,w.HM)(i.left),o.right=(0,w.HM)(i.right),o.alignItems="center"===O.overlayX?"center":"end"===O.overlayX?"flex-end":"flex-start",o.justifyContent="center"===O.overlayY?"center":"bottom"===O.overlayY?"flex-end":"flex-start",u&&(o.maxHeight=(0,w.HM)(u)),l&&(o.maxWidth=(0,w.HM)(l))}this._lastBoundingBoxSize=i,z(this._boundingBox.style,o)}_resetBoundingBoxStyles(){z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(D,O){const i={},o=this._hasExactPosition(),u=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){const r=this._viewportRuler.getViewportScrollPosition();z(i,this._getExactOverlayY(O,D,r)),z(i,this._getExactOverlayX(O,D,r))}else i.position="static";let s="",n=this._getOffset(O,"x"),t=this._getOffset(O,"y");n&&(s+=`translateX(${n}px) `),t&&(s+=`translateY(${t}px)`),i.transform=s.trim(),l.maxHeight&&(o?i.maxHeight=(0,w.HM)(l.maxHeight):u&&(i.maxHeight="")),l.maxWidth&&(o?i.maxWidth=(0,w.HM)(l.maxWidth):u&&(i.maxWidth="")),z(this._pane.style,i)}_getExactOverlayY(D,O,i){let o={top:"",bottom:""},u=this._getOverlayPoint(O,this._overlayRect,D);return this._isPushed&&(u=this._pushOverlayOnScreen(u,this._overlayRect,i)),"bottom"===D.overlayY?o.bottom=this._document.documentElement.clientHeight-(u.y+this._overlayRect.height)+"px":o.top=(0,w.HM)(u.y),o}_getExactOverlayX(D,O,i){let l,o={left:"",right:""},u=this._getOverlayPoint(O,this._overlayRect,D);return this._isPushed&&(u=this._pushOverlayOnScreen(u,this._overlayRect,i)),l=this._isRtl()?"end"===D.overlayX?"left":"right":"end"===D.overlayX?"right":"left","right"===l?o.right=this._document.documentElement.clientWidth-(u.x+this._overlayRect.width)+"px":o.left=(0,w.HM)(u.x),o}_getScrollVisibility(){const D=this._getOriginRect(),O=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:T(D,i),isOriginOutsideView:ye(D,i),isOverlayClipped:T(O,i),isOverlayOutsideView:ye(O,i)}}_subtractOverflows(D,...O){return O.reduce((i,o)=>i-Math.max(o,0),D)}_getNarrowedViewportRect(){const D=this._document.documentElement.clientWidth,O=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+D-this._viewportMargin,bottom:i.top+O-this._viewportMargin,width:D-2*this._viewportMargin,height:O-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(D,O){return"x"===O?null==D.offsetX?this._offsetX:D.offsetX:null==D.offsetY?this._offsetY:D.offsetY}_validatePositions(){}_addPanelClasses(D){this._pane&&(0,w.Eq)(D).forEach(O=>{""!==O&&-1===this._appliedPanelClasses.indexOf(O)&&(this._appliedPanelClasses.push(O),this._pane.classList.add(O))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(D=>{this._pane.classList.remove(D)}),this._appliedPanelClasses=[])}_getOriginRect(){const D=this._origin;if(D instanceof g.SBq)return D.nativeElement.getBoundingClientRect();if(D instanceof Element)return D.getBoundingClientRect();const O=D.width||0,i=D.height||0;return{top:D.y,bottom:D.y+i,left:D.x,right:D.x+O,height:i,width:O}}}function z(H,D){for(let O in D)D.hasOwnProperty(O)&&(H[O]=D[O]);return H}function P(H){if("number"!=typeof H&&null!=H){const[D,O]=H.split(ue);return O&&"px"!==O?null:parseFloat(D)}return H||null}function de(H){return{top:Math.floor(H.top),right:Math.floor(H.right),bottom:Math.floor(H.bottom),left:Math.floor(H.left),width:Math.floor(H.width),height:Math.floor(H.height)}}const Ce="cdk-global-overlay-wrapper";class Pe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(D){const O=D.getConfig();this._overlayRef=D,this._width&&!O.width&&D.updateSize({width:this._width}),this._height&&!O.height&&D.updateSize({height:this._height}),D.hostElement.classList.add(Ce),this._isDisposed=!1}top(D=""){return this._bottomOffset="",this._topOffset=D,this._alignItems="flex-start",this}left(D=""){return this._rightOffset="",this._leftOffset=D,this._justifyContent="flex-start",this}bottom(D=""){return this._topOffset="",this._bottomOffset=D,this._alignItems="flex-end",this}right(D=""){return this._leftOffset="",this._rightOffset=D,this._justifyContent="flex-end",this}width(D=""){return this._overlayRef?this._overlayRef.updateSize({width:D}):this._width=D,this}height(D=""){return this._overlayRef?this._overlayRef.updateSize({height:D}):this._height=D,this}centerHorizontally(D=""){return this.left(D),this._justifyContent="center",this}centerVertically(D=""){return this.top(D),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const D=this._overlayRef.overlayElement.style,O=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:u,maxWidth:l,maxHeight:s}=i,n=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),t=!("100%"!==u&&"100vh"!==u||s&&"100%"!==s&&"100vh"!==s);D.position=this._cssPosition,D.marginLeft=n?"0":this._leftOffset,D.marginTop=t?"0":this._topOffset,D.marginBottom=this._bottomOffset,D.marginRight=this._rightOffset,n?O.justifyContent="flex-start":"center"===this._justifyContent?O.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?O.justifyContent="flex-end":"flex-end"===this._justifyContent&&(O.justifyContent="flex-start"):O.justifyContent=this._justifyContent,O.alignItems=t?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const D=this._overlayRef.overlayElement.style,O=this._overlayRef.hostElement,i=O.style;O.classList.remove(Ce),i.justifyContent=i.alignItems=D.marginTop=D.marginBottom=D.marginLeft=D.marginRight=D.position="",this._overlayRef=null,this._isDisposed=!0}}let ce=(()=>{class H{constructor(O,i,o,u){this._viewportRuler=O,this._document=i,this._platform=o,this._overlayContainer=u}global(){return new Pe}flexibleConnectedTo(O){return new Me(O,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(e.rL),g.LFG(c.K0),g.LFG(_.t4),g.LFG(ge))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),fe=(()=>{class H{constructor(O){this._attachedOverlays=[],this._document=O}ngOnDestroy(){this.detach()}add(O){this.remove(O),this._attachedOverlays.push(O)}remove(O){const i=this._attachedOverlays.indexOf(O);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),Ze=(()=>{class H extends fe{constructor(O,i){super(O),this._ngZone=i,this._keydownListener=o=>{const u=this._attachedOverlays;for(let l=u.length-1;l>-1;l--)if(u[l]._keydownEvents.observers.length>0){const s=u[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(o)):s.next(o);break}}}add(O){super.add(O),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0),g.LFG(g.R0b,8))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),ne=(()=>{class H extends fe{constructor(O,i,o){super(O),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=u=>{this._pointerDownEventTarget=(0,_.sA)(u)},this._clickListener=u=>{const l=(0,_.sA)(u),s="click"===u.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const n=this._attachedOverlays.slice();for(let t=n.length-1;t>-1;t--){const r=n[t];if(r._outsidePointerEvents.observers.length<1||!r.hasAttached())continue;if(r.overlayElement.contains(l)||r.overlayElement.contains(s))break;const a=r._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>a.next(u)):a.next(u)}}}add(O){if(super.add(O),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const O=this._document.body;O.removeEventListener("pointerdown",this._pointerDownListener,!0),O.removeEventListener("click",this._clickListener,!0),O.removeEventListener("auxclick",this._clickListener,!0),O.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(O.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(O){O.addEventListener("pointerdown",this._pointerDownListener,!0),O.addEventListener("click",this._clickListener,!0),O.addEventListener("auxclick",this._clickListener,!0),O.addEventListener("contextmenu",this._clickListener,!0)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(c.K0),g.LFG(_.t4),g.LFG(g.R0b,8))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),it=0,Be=(()=>{class H{constructor(O,i,o,u,l,s,n,t,r,a,d){this.scrollStrategies=O,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=u,this._keyboardDispatcher=l,this._injector=s,this._ngZone=n,this._document=t,this._directionality=r,this._location=a,this._outsideClickDispatcher=d}create(O){const i=this._createHostElement(),o=this._createPaneElement(i),u=this._createPortalOutlet(o),l=new X(O);return l.direction=l.direction||this._directionality.value,new We(u,i,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(O){const i=this._document.createElement("div");return i.id="cdk-overlay-"+it++,i.classList.add("cdk-overlay-pane"),O.appendChild(i),i}_createHostElement(){const O=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(O),O}_createPortalOutlet(O){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new E.u0(O,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return H.\u0275fac=function(O){return new(O||H)(g.LFG(L),g.LFG(ge),g.LFG(g._Vd),g.LFG(ce),g.LFG(Ze),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(c.K0),g.LFG(b.Is),g.LFG(c.Ye),g.LFG(ne))},H.\u0275prov=g.Yz7({token:H,factory:H.\u0275fac}),H})();const ze=[{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"}],Ue=new g.OlP("cdk-connected-overlay-scroll-strategy");let _e=(()=>{class H{constructor(O){this.elementRef=O}}return H.\u0275fac=function(O){return new(O||H)(g.Y36(g.SBq))},H.\u0275dir=g.lG2({type:H,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),H})(),ae=(()=>{class H{constructor(O,i,o,u,l){this._overlay=O,this._dir=l,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=I.w0.EMPTY,this._attachSubscription=I.w0.EMPTY,this._detachSubscription=I.w0.EMPTY,this._positionSubscription=I.w0.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 E.UE(i,o),this._scrollStrategyFactory=u,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(O){this._offsetX=O,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(O){this._offsetY=O,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(O){this._hasBackdrop=(0,w.Ig)(O)}get lockPosition(){return this._lockPosition}set lockPosition(O){this._lockPosition=(0,w.Ig)(O)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(O){this._flexibleDimensions=(0,w.Ig)(O)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(O){this._growAfterOpen=(0,w.Ig)(O)}get push(){return this._push}set push(O){this._push=(0,w.Ig)(O)}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(O){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),O.origin&&this.open&&this._position.apply()),O.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ze);const O=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=O.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=O.detachments().subscribe(()=>this.detach.emit()),O.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===G.hY&&!this.disableClose&&!(0,G.Vb)(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const O=this._position=this.positionStrategy||this._createPositionStrategy(),i=new X({direction:this._dir,positionStrategy:O,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(O){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return O.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const O=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(O),O}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof _e?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(O=>{this.backdropClick.emit(O)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,j.o)(()=>this.positionChange.observers.length>0)).subscribe(O=>{this.positionChange.emit(O),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return H.\u0275fac=function(O){return new(O||H)(g.Y36(Be),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(Ue),g.Y36(b.Is,8))},H.\u0275dir=g.lG2({type:H,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]}),H})();const ee={provide:Ue,deps:[Be],useFactory:function Ae(H){return()=>H.scrollStrategies.reposition()}};let Ne=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=g.oAB({type:H}),H.\u0275inj=g.cJS({providers:[Be,ee],imports:[[b.vT,E.eL,e.Cl],e.Cl]}),H})()},70925:(qe,me,h)=>{"use strict";h.d(me,{t4:()=>w,ud:()=>_,sA:()=>ye,ht:()=>pe,kV:()=>be,Oy:()=>T,_i:()=>Q,qK:()=>v,i$:()=>A,Mq:()=>G});var e=h(5e3),c=h(69808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(R){g=!1}let b,w=(()=>{class R{constructor(X){this._platformId=X,this.isBrowser=this._platformId?(0,c.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 R.\u0275fac=function(X){return new(X||R)(e.LFG(e.Lbi))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),_=(()=>{class R{}return R.\u0275fac=function(X){return new(X||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({}),R})();const E=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function v(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(E),b;let R=document.createElement("input");return b=new Set(E.filter(L=>(R.setAttribute("type",L),R.type===L))),b}let I,q,j,he;function A(R){return function N(){if(null==I&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>I=!0}))}finally{I=I||!1}return I}()?R:!!R.capture}function G(){if(null==j){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return j=!1,j;if("scrollBehavior"in document.documentElement.style)j=!0;else{const R=Element.prototype.scrollTo;j=!!R&&!/\{\s*\[native code\]\s*\}/.test(R.toString())}}return j}function Q(){if("object"!=typeof document||!document)return 0;if(null==q){const R=document.createElement("div"),L=R.style;R.dir="rtl",L.width="1px",L.overflow="auto",L.visibility="hidden",L.pointerEvents="none",L.position="absolute";const X=document.createElement("div"),Y=X.style;Y.width="2px",Y.height="1px",R.appendChild(X),document.body.appendChild(R),q=0,0===R.scrollLeft&&(R.scrollLeft=1,q=0===R.scrollLeft?1:2),R.remove()}return q}function be(R){if(function F(){if(null==he){const R="undefined"!=typeof document?document.head:null;he=!(!R||!R.createShadowRoot&&!R.attachShadow)}return he}()){const L=R.getRootNode?R.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&L instanceof ShadowRoot)return L}return null}function pe(){let R="undefined"!=typeof document&&document?document.activeElement:null;for(;R&&R.shadowRoot;){const L=R.shadowRoot.activeElement;if(L===R)break;R=L}return R}function ye(R){return R.composedPath?R.composedPath()[0]:R.target}function T(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},47429:(qe,me,h)=>{"use strict";h.d(me,{en:()=>j,ig:()=>F,Pl:()=>pe,C5:()=>N,u0:()=>Q,eL:()=>T,UE:()=>A});var e=h(5e3),c=h(69808);class I{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 N extends I{constructor(X,Y,se,Te){super(),this.component=X,this.viewContainerRef=Y,this.injector=se,this.componentFactoryResolver=Te}}class A extends I{constructor(X,Y,se){super(),this.templateRef=X,this.viewContainerRef=Y,this.context=se}get origin(){return this.templateRef.elementRef}attach(X,Y=this.context){return this.context=Y,super.attach(X)}detach(){return this.context=void 0,super.detach()}}class q extends I{constructor(X){super(),this.element=X instanceof e.SBq?X.nativeElement:X}}class j{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(X){return X instanceof N?(this._attachedPortal=X,this.attachComponentPortal(X)):X instanceof A?(this._attachedPortal=X,this.attachTemplatePortal(X)):this.attachDomPortal&&X instanceof q?(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 Q extends j{constructor(X,Y,se,Te,Oe){super(),this.outletElement=X,this._componentFactoryResolver=Y,this._appRef=se,this._defaultInjector=Te,this.attachDomPortal=Se=>{const We=Se.element,ge=this._document.createComment("dom-portal");We.parentNode.insertBefore(ge,We),this.outletElement.appendChild(We),this._attachedPortal=Se,super.setDisposeFn(()=>{ge.parentNode&&ge.parentNode.replaceChild(We,ge)})},this._document=Oe}attachComponentPortal(X){const se=(X.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(X.component);let Te;return X.viewContainerRef?(Te=X.viewContainerRef.createComponent(se,X.viewContainerRef.length,X.injector||X.viewContainerRef.injector),this.setDisposeFn(()=>Te.destroy())):(Te=se.create(X.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(Te.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Te.hostView),Te.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Te)),this._attachedPortal=X,Te}attachTemplatePortal(X){let Y=X.viewContainerRef,se=Y.createEmbeddedView(X.templateRef,X.context);return se.rootNodes.forEach(Te=>this.outletElement.appendChild(Te)),se.detectChanges(),this.setDisposeFn(()=>{let Te=Y.indexOf(se);-1!==Te&&Y.remove(Te)}),this._attachedPortal=X,se}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(X){return X.hostView.rootNodes[0]}}let F=(()=>{class L extends A{constructor(Y,se){super(Y,se)}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(e.Rgc),e.Y36(e.s_b))},L.\u0275dir=e.lG2({type:L,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),L})(),pe=(()=>{class L extends j{constructor(Y,se,Te){super(),this._componentFactoryResolver=Y,this._viewContainerRef=se,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Oe=>{const Se=Oe.element,We=this._document.createComment("dom-portal");Oe.setAttachedHost(this),Se.parentNode.insertBefore(We,Se),this._getRootNode().appendChild(Se),this._attachedPortal=Oe,super.setDisposeFn(()=>{We.parentNode&&We.parentNode.replaceChild(Se,We)})},this._document=Te}get portal(){return this._attachedPortal}set portal(Y){this.hasAttached()&&!Y&&!this._isInitialized||(this.hasAttached()&&super.detach(),Y&&super.attach(Y),this._attachedPortal=Y||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Y){Y.setAttachedHost(this);const se=null!=Y.viewContainerRef?Y.viewContainerRef:this._viewContainerRef,Oe=(Y.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Y.component),Se=se.createComponent(Oe,se.length,Y.injector||se.injector);return se!==this._viewContainerRef&&this._getRootNode().appendChild(Se.hostView.rootNodes[0]),super.setDisposeFn(()=>Se.destroy()),this._attachedPortal=Y,this._attachedRef=Se,this.attached.emit(Se),Se}attachTemplatePortal(Y){Y.setAttachedHost(this);const se=this._viewContainerRef.createEmbeddedView(Y.templateRef,Y.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Y,this._attachedRef=se,this.attached.emit(se),se}_getRootNode(){const Y=this._viewContainerRef.element.nativeElement;return Y.nodeType===Y.ELEMENT_NODE?Y:Y.parentNode}}return L.\u0275fac=function(Y){return new(Y||L)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(c.K0))},L.\u0275dir=e.lG2({type:L,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=e.oAB({type:L}),L.\u0275inj=e.cJS({}),L})()},29071:(qe,me,h)=>{"use strict";h.d(me,{xd:()=>Oe,PQ:()=>ge,ZD:()=>Pe,x0:()=>Ce,N7:()=>P,mF:()=>We,Cl:()=>ce,rL:()=>ue});var e=h(63191),c=h(5e3),g=h(77579),w=h(39646),_=h(68306),b=h(54968),E=h(66406),v=h(53101),I=h(50727),N=h(45191),A=h(71884),q=h(23601),j=h(39300),G=h(82722),Q=h(68675),he=h(11520),F=h(63900),be=h(34782),pe=h(69808),ye=h(70925),T=h(50226),R=h(20449);const L=["contentWrapper"],X=["*"],Y=new c.OlP("VIRTUAL_SCROLL_STRATEGY");class se{constructor(Ze,ne,it){this._scrolledIndexChange=new g.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,A.x)()),this._viewport=null,this._itemSize=Ze,this._minBufferPx=ne,this._maxBufferPx=it}attach(Ze){this._viewport=Ze,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Ze,ne,it){this._itemSize=Ze,this._minBufferPx=ne,this._maxBufferPx=it,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Ze,ne){this._viewport&&this._viewport.scrollToOffset(Ze*this._itemSize,ne)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Ze=this._viewport.getRenderedRange(),ne={start:Ze.start,end:Ze.end},it=this._viewport.getViewportSize(),Be=this._viewport.getDataLength();let ze=this._viewport.measureScrollOffset(),Ue=this._itemSize>0?ze/this._itemSize:0;if(ne.end>Be){const ae=Math.ceil(it/this._itemSize),Ae=Math.max(0,Math.min(Ue,Be-ae));Ue!=Ae&&(Ue=Ae,ze=Ae*this._itemSize,ne.start=Math.floor(Ue)),ne.end=Math.max(0,Math.min(Be,ne.start+ae))}const _e=ze-ne.start*this._itemSize;if(_e0&&(ne.end=Math.min(Be,ne.end+Ae),ne.start=Math.max(0,Math.floor(Ue-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(ne),this._viewport.setRenderedContentOffset(this._itemSize*ne.start),this._scrolledIndexChange.next(Math.floor(Ue))}}function Te(fe){return fe._scrollStrategy}let Oe=(()=>{class fe{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new se(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(ne){this._itemSize=(0,e.su)(ne)}get minBufferPx(){return this._minBufferPx}set minBufferPx(ne){this._minBufferPx=(0,e.su)(ne)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(ne){this._maxBufferPx=(0,e.su)(ne)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275dir=c.lG2({type:fe,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[c._Bn([{provide:Y,useFactory:Te,deps:[(0,c.Gpc)(()=>fe)]}]),c.TTD]}),fe})(),We=(()=>{class fe{constructor(ne,it,Be){this._ngZone=ne,this._platform=it,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Be}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const it=this.scrollContainers.get(ne);it&&(it.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new _.y(it=>{this._globalSubscription||this._addGlobalListener();const Be=ne>0?this._scrolled.pipe((0,q.e)(ne)).subscribe(it):this._scrolled.subscribe(it);return this._scrolledCount++,()=>{Be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,w.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,it)=>this.deregister(it)),this._scrolled.complete()}ancestorScrolled(ne,it){const Be=this.getAncestorScrollContainers(ne);return this.scrolled(it).pipe((0,j.h)(ze=>!ze||Be.indexOf(ze)>-1))}getAncestorScrollContainers(ne){const it=[];return this.scrollContainers.forEach((Be,ze)=>{this._scrollableContainsElement(ze,ne)&&it.push(ze)}),it}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,it){let Be=(0,e.fI)(it),ze=ne.getElementRef().nativeElement;do{if(Be==ze)return!0}while(Be=Be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,b.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.LFG(c.R0b),c.LFG(ye.t4),c.LFG(pe.K0,8))},fe.\u0275prov=c.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ge=(()=>{class fe{constructor(ne,it,Be,ze){this.elementRef=ne,this.scrollDispatcher=it,this.ngZone=Be,this.dir=ze,this._destroyed=new g.x,this._elementScrolled=new _.y(Ue=>this.ngZone.runOutsideAngular(()=>(0,b.R)(this.elementRef.nativeElement,"scroll").pipe((0,G.R)(this._destroyed)).subscribe(Ue)))}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(ne){const it=this.elementRef.nativeElement,Be=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=Be?ne.end:ne.start),null==ne.right&&(ne.right=Be?ne.start:ne.end),null!=ne.bottom&&(ne.top=it.scrollHeight-it.clientHeight-ne.bottom),Be&&0!=(0,ye._i)()?(null!=ne.left&&(ne.right=it.scrollWidth-it.clientWidth-ne.left),2==(0,ye._i)()?ne.left=ne.right:1==(0,ye._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=it.scrollWidth-it.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const it=this.elementRef.nativeElement;(0,ye.Mq)()?it.scrollTo(ne):(null!=ne.top&&(it.scrollTop=ne.top),null!=ne.left&&(it.scrollLeft=ne.left))}measureScrollOffset(ne){const it="left",ze=this.elementRef.nativeElement;if("top"==ne)return ze.scrollTop;if("bottom"==ne)return ze.scrollHeight-ze.clientHeight-ze.scrollTop;const Ue=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=Ue?"right":it:"end"==ne&&(ne=Ue?it:"right"),Ue&&2==(0,ye._i)()?ne==it?ze.scrollWidth-ze.clientWidth-ze.scrollLeft:ze.scrollLeft:Ue&&1==(0,ye._i)()?ne==it?ze.scrollLeft+ze.scrollWidth-ze.clientWidth:-ze.scrollLeft:ne==it?ze.scrollLeft:ze.scrollWidth-ze.clientWidth-ze.scrollLeft}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.SBq),c.Y36(We),c.Y36(c.R0b),c.Y36(T.Is,8))},fe.\u0275dir=c.lG2({type:fe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),fe})(),ue=(()=>{class fe{constructor(ne,it,Be){this._platform=ne,this._change=new g.x,this._changeListener=ze=>{this._change.next(ze)},this._document=Be,it.runOutsideAngular(()=>{if(ne.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:it,height:Be}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+Be,right:ne.left+it,height:Be,width:it}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,it=this._getWindow(),Be=ne.documentElement,ze=Be.getBoundingClientRect();return{top:-ze.top||ne.body.scrollTop||it.scrollY||Be.scrollTop||0,left:-ze.left||ne.body.scrollLeft||it.scrollX||Be.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe((0,q.e)(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.LFG(ye.t4),c.LFG(c.R0b),c.LFG(pe.K0,8))},fe.\u0275prov=c.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const z="undefined"!=typeof requestAnimationFrame?E.Z:v.E;let P=(()=>{class fe extends ge{constructor(ne,it,Be,ze,Ue,_e,ae){super(ne,_e,Be,Ue),this.elementRef=ne,this._changeDetectorRef=it,this._scrollStrategy=ze,this._detachedSubject=new g.x,this._renderedRangeSubject=new g.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new _.y(Ae=>this._scrollStrategy.scrolledIndexChange.subscribe(ee=>Promise.resolve().then(()=>this.ngZone.run(()=>Ae.next(ee))))),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=I.w0.EMPTY,this._viewportChanges=ae.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(ne){this._orientation!==ne&&(this._orientation=ne,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ne){this._appendOnly=(0,e.Ig)(ne)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,Q.O)(null),(0,q.e)(0,z)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ne){this.ngZone.runOutsideAngular(()=>{this._forOf=ne,this._forOf.dataStream.pipe((0,G.R)(this._detachedSubject)).subscribe(it=>{const Be=it.length;Be!==this._dataLength&&(this._dataLength=Be,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(ne){this._totalContentSize!==ne&&(this._totalContentSize=ne,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ne){(function Me(fe,Ze){return fe.start==Ze.start&&fe.end==Ze.end})(this._renderedRange,ne)||(this.appendOnly&&(ne={start:0,end:Math.max(this._renderedRange.end,ne.end)}),this._renderedRangeSubject.next(this._renderedRange=ne),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ne,it="to-start"){const ze="horizontal"==this.orientation,Ue=ze?"X":"Y";let ae=`translate${Ue}(${Number((ze&&this.dir&&"rtl"==this.dir.value?-1:1)*ne)}px)`;this._renderedContentOffset=ne=this.appendOnly&&"to-start"===it?0:ne,"to-end"===it&&(ae+=` translate${Ue}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ae&&(this._renderedContentTransform=ae,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ne,it="auto"){const Be={behavior:it};"horizontal"===this.orientation?Be.start=ne:Be.top=ne,this.scrollTo(Be)}scrollToIndex(ne,it="auto"){this._scrollStrategy.scrollToIndex(ne,it)}measureScrollOffset(ne){return super.measureScrollOffset(ne||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const ne=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ne.offsetWidth:ne.offsetHeight}measureRangeSize(ne){return this._forOf?this._forOf.measureRangeSize(ne,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const ne=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?ne.clientWidth:ne.clientHeight}_markChangeDetectionNeeded(ne){ne&&this._runAfterChangeDetection.push(ne),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 ne=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const it of ne)it()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(Y,8),c.Y36(T.Is,8),c.Y36(We),c.Y36(ue))},fe.\u0275cmp=c.Xpm({type:fe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ne,it){if(1&ne&&c.Gf(L,7),2&ne){let Be;c.iGM(Be=c.CRH())&&(it._contentWrapper=Be.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ne,it){2&ne&&c.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===it.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==it.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[c._Bn([{provide:ge,useExisting:fe}]),c.qOj],ngContentSelectors:X,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ne,it){1&ne&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA(),c._UZ(3,"div",2)),2&ne&&(c.xp6(3),c.Udp("width",it._totalContentWidth)("height",it._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}),fe})();function de(fe,Ze,ne){if(!ne.getBoundingClientRect)return 0;const Be=ne.getBoundingClientRect();return"horizontal"===fe?"start"===Ze?Be.left:Be.right:"start"===Ze?Be.top:Be.bottom}let Ce=(()=>{class fe{constructor(ne,it,Be,ze,Ue,_e){this._viewContainerRef=ne,this._template=it,this._differs=Be,this._viewRepeater=ze,this._viewport=Ue,this.viewChange=new g.x,this._dataSourceChanges=new g.x,this.dataStream=this._dataSourceChanges.pipe((0,Q.O)(null),(0,he.G)(),(0,F.w)(([ae,Ae])=>this._changeDataSource(ae,Ae)),(0,be.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.x,this.dataStream.subscribe(ae=>{this._data=ae,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,G.R)(this._destroyed)).subscribe(ae=>{this._renderedRange=ae,this.viewChange.observers.length&&_e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(ne){this._cdkVirtualForOf=ne,(0,R.Z9)(ne)?this._dataSourceChanges.next(ne):this._dataSourceChanges.next(new R.P3((0,N.b)(ne)?ne:Array.from(ne||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(ne){this._needsUpdate=!0,this._cdkVirtualForTrackBy=ne?(it,Be)=>ne(it+(this._renderedRange?this._renderedRange.start:0),Be):void 0}set cdkVirtualForTemplate(ne){ne&&(this._needsUpdate=!0,this._template=ne)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(ne){this._viewRepeater.viewCacheSize=(0,e.su)(ne)}measureRangeSize(ne,it){if(ne.start>=ne.end)return 0;const Be=ne.start-this._renderedRange.start,ze=ne.end-ne.start;let Ue,_e;for(let ae=0;ae-1;ae--){const Ae=this._viewContainerRef.get(ae+Be);if(Ae&&Ae.rootNodes.length){_e=Ae.rootNodes[Ae.rootNodes.length-1];break}}return Ue&&_e?de(it,"end",_e)-de(it,"start",Ue):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const ne=this._differ.diff(this._renderedItems);ne?this._applyChanges(ne):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((ne,it)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(ne,it):it)),this._needsUpdate=!0)}_changeDataSource(ne,it){return ne&&ne.disconnect(this),this._needsUpdate=!0,it?it.connect(this):(0,w.of)()}_updateContext(){const ne=this._data.length;let it=this._viewContainerRef.length;for(;it--;){const Be=this._viewContainerRef.get(it);Be.context.index=this._renderedRange.start+it,Be.context.count=ne,this._updateComputedContextProperties(Be.context),Be.detectChanges()}}_applyChanges(ne){this._viewRepeater.applyChanges(ne,this._viewContainerRef,(ze,Ue,_e)=>this._getEmbeddedViewArgs(ze,_e),ze=>ze.item),ne.forEachIdentityChange(ze=>{this._viewContainerRef.get(ze.currentIndex).context.$implicit=ze.item});const it=this._data.length;let Be=this._viewContainerRef.length;for(;Be--;){const ze=this._viewContainerRef.get(Be);ze.context.index=this._renderedRange.start+Be,ze.context.count=it,this._updateComputedContextProperties(ze.context)}}_updateComputedContextProperties(ne){ne.first=0===ne.index,ne.last=ne.index===ne.count-1,ne.even=ne.index%2==0,ne.odd=!ne.even}_getEmbeddedViewArgs(ne,it){return{templateRef:this._template,context:{$implicit:ne.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:it}}}return fe.\u0275fac=function(ne){return new(ne||fe)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4),c.Y36(R.k),c.Y36(P,4),c.Y36(c.R0b))},fe.\u0275dir=c.lG2({type:fe,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[c._Bn([{provide:R.k,useClass:R.eX}])]}),fe})(),Pe=(()=>{class fe{}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275mod=c.oAB({type:fe}),fe.\u0275inj=c.cJS({}),fe})(),ce=(()=>{class fe{}return fe.\u0275fac=function(ne){return new(ne||fe)},fe.\u0275mod=c.oAB({type:fe}),fe.\u0275inj=c.cJS({imports:[[T.vT,Pe],T.vT,Pe]}),fe})()},74533:(qe,me,h)=>{"use strict";h.d(me,{Lq:()=>A,IC:()=>j,Ky:()=>G});var e=h(70925),c=h(5e3),g=h(63191),w=h(60515),_=h(77579),b=h(54968),E=h(23601),v=h(82722),I=h(69808);const N=(0,e.i$)({passive:!0});let A=(()=>{class Q{constructor(F,be){this._platform=F,this._ngZone=be,this._monitoredElements=new Map}monitor(F){if(!this._platform.isBrowser)return w.E;const be=(0,g.fI)(F),pe=this._monitoredElements.get(be);if(pe)return pe.subject;const ye=new _.x,T="cdk-text-field-autofilled",R=L=>{"cdk-text-field-autofill-start"!==L.animationName||be.classList.contains(T)?"cdk-text-field-autofill-end"===L.animationName&&be.classList.contains(T)&&(be.classList.remove(T),this._ngZone.run(()=>ye.next({target:L.target,isAutofilled:!1}))):(be.classList.add(T),this._ngZone.run(()=>ye.next({target:L.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{be.addEventListener("animationstart",R,N),be.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(be,{subject:ye,unlisten:()=>{be.removeEventListener("animationstart",R,N)}}),ye}stopMonitoring(F){const be=(0,g.fI)(F),pe=this._monitoredElements.get(be);pe&&(pe.unlisten(),pe.subject.complete(),be.classList.remove("cdk-text-field-autofill-monitored"),be.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(be))}ngOnDestroy(){this._monitoredElements.forEach((F,be)=>this.stopMonitoring(be))}}return Q.\u0275fac=function(F){return new(F||Q)(c.LFG(e.t4),c.LFG(c.R0b))},Q.\u0275prov=c.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),j=(()=>{class Q{constructor(F,be,pe,ye){this._elementRef=F,this._platform=be,this._ngZone=pe,this._destroyed=new _.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=T=>{this._hasFocus="focus"===T.type},this._document=ye,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(F){this._minRows=(0,g.su)(F),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(F){this._maxRows=(0,g.su)(F),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(F){F=(0,g.Ig)(F),this._enabled!==F&&((this._enabled=F)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(F){this._cachedPlaceholderHeight=void 0,F?this._textareaElement.setAttribute("placeholder",F):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const F=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;F&&(this._textareaElement.style.minHeight=F)}_setMaxHeight(){const F=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;F&&(this._textareaElement.style.maxHeight=F)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const F=this._getWindow();(0,b.R)(F,"resize").pipe((0,E.e)(16),(0,v.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 F=this._textareaElement.cloneNode(!1);F.rows=1,F.style.position="absolute",F.style.visibility="hidden",F.style.border="none",F.style.padding="0",F.style.height="",F.style.minHeight="",F.style.maxHeight="",F.style.overflow="hidden",this._textareaElement.parentNode.appendChild(F),this._cachedLineHeight=F.clientHeight,F.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const F=this._textareaElement,be=F.style.marginBottom||"",pe=this._platform.FIREFOX,ye=pe&&this._hasFocus,T=pe?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";ye&&(F.style.marginBottom=`${F.clientHeight}px`),F.classList.add(T);const R=F.scrollHeight-4;return F.classList.remove(T),ye&&(F.style.marginBottom=be),R}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const F=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=F}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(F=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const be=this._elementRef.nativeElement,pe=be.value;if(!F&&this._minRows===this._previousMinRows&&pe===this._previousValue)return;const ye=this._measureScrollHeight(),T=Math.max(ye,this._cachedPlaceholderHeight||0);be.style.height=`${T}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(be)):setTimeout(()=>this._scrollToCaretPosition(be))}),this._previousValue=pe,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(F){const{selectionStart:be,selectionEnd:pe}=F;!this._destroyed.isStopped&&this._hasFocus&&F.setSelectionRange(be,pe)}}return Q.\u0275fac=function(F){return new(F||Q)(c.Y36(c.SBq),c.Y36(e.t4),c.Y36(c.R0b),c.Y36(I.K0,8))},Q.\u0275dir=c.lG2({type:Q,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(F,be){1&F&&c.NdJ("input",function(){return be._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),Q})(),G=(()=>{class Q{}return Q.\u0275fac=function(F){return new(F||Q)},Q.\u0275mod=c.oAB({type:Q}),Q.\u0275inj=c.cJS({}),Q})()},28258:(qe,me,h)=>{"use strict";h.d(me,{HI:()=>Q,Xx:()=>Oe,_0:()=>X,nZ:()=>ue,Hs:()=>Y,rO:()=>be,cu:()=>he,XJ:()=>We,Ud:()=>ge,C2:()=>j,VY:()=>G});var e=h(20449),c=h(45191),g=h(77579),w=h(61135),_=h(39646),b=h(95698),E=h(39300),v=h(82722),I=h(5e3),N=h(63191),A=h(50226);class q{constructor(){this.expansionModel=new e.Ov(!0)}toggle(z){this.expansionModel.toggle(this._trackByValue(z))}expand(z){this.expansionModel.select(this._trackByValue(z))}collapse(z){this.expansionModel.deselect(this._trackByValue(z))}isExpanded(z){return this.expansionModel.isSelected(this._trackByValue(z))}toggleDescendants(z){this.expansionModel.isSelected(this._trackByValue(z))?this.collapseDescendants(z):this.expandDescendants(z)}collapseAll(){this.expansionModel.clear()}expandDescendants(z){let P=[z];P.push(...this.getDescendants(z)),this.expansionModel.select(...P.map(de=>this._trackByValue(de)))}collapseDescendants(z){let P=[z];P.push(...this.getDescendants(z)),this.expansionModel.deselect(...P.map(de=>this._trackByValue(de)))}_trackByValue(z){return this.trackBy?this.trackBy(z):z}}class j extends q{constructor(z,P,de){super(),this.getLevel=z,this.isExpandable=P,this.options=de,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(z){const de=[];for(let Ce=this.dataNodes.indexOf(z)+1;Cethis._trackByValue(z)))}}class G extends q{constructor(z,P){super(),this.getChildren=z,this.options=P,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const z=this.dataNodes.reduce((P,de)=>[...P,...this.getDescendants(de),de],[]);this.expansionModel.select(...z.map(P=>this._trackByValue(P)))}getDescendants(z){const P=[];return this._getDescendants(P,z),P.splice(1)}_getDescendants(z,P){z.push(P);const de=this.getChildren(P);Array.isArray(de)?de.forEach(Ce=>this._getDescendants(z,Ce)):(0,c.b)(de)&&de.pipe((0,b.q)(1),(0,E.h)(Boolean)).subscribe(Ce=>{for(const Pe of Ce)this._getDescendants(z,Pe)})}}const Q=new I.OlP("CDK_TREE_NODE_OUTLET_NODE");let he=(()=>{class Me{constructor(P,de){this.viewContainer=P,this._node=de}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.s_b),I.Y36(Q,8))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeOutlet",""]]}),Me})();class F{constructor(z){this.$implicit=z}}let be=(()=>{class Me{constructor(P){this.template=P}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.Rgc))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),Me})(),X=(()=>{class Me{constructor(P,de){this._differs=P,this._changeDetectorRef=de,this._onDestroy=new g.x,this._levels=new Map,this.viewChange=new w.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(P){this._dataSource!==P&&this._switchDataSource(P)}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 P=this._nodeDefs.filter(de=>!de.when);this._defaultNodeDef=P[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(P){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),P||this._nodeOutlet.viewContainer.clear(),this._dataSource=P,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let P;(0,e.Z9)(this._dataSource)?P=this._dataSource.connect(this):(0,c.b)(this._dataSource)?P=this._dataSource:Array.isArray(this._dataSource)&&(P=(0,_.of)(this._dataSource)),P&&(this._dataSubscription=P.pipe((0,v.R)(this._onDestroy)).subscribe(de=>this.renderNodeChanges(de)))}renderNodeChanges(P,de=this._dataDiffer,Ce=this._nodeOutlet.viewContainer,Pe){const ce=de.diff(P);!ce||(ce.forEachOperation((fe,Ze,ne)=>{if(null==fe.previousIndex)this.insertNode(P[ne],ne,Ce,Pe);else if(null==ne)Ce.remove(Ze),this._levels.delete(fe.item);else{const it=Ce.get(Ze);Ce.move(it,ne)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(P,de){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Pe=>Pe.when&&Pe.when(de,P))||this._defaultNodeDef}insertNode(P,de,Ce,Pe){const ce=this._getNodeDef(P,de),fe=new F(P);fe.level=this.treeControl.getLevel?this.treeControl.getLevel(P):void 0!==Pe&&this._levels.has(Pe)?this._levels.get(Pe)+1:0,this._levels.set(P,fe.level),(Ce||this._nodeOutlet.viewContainer).createEmbeddedView(ce.template,fe,de),Y.mostRecentTreeNode&&(Y.mostRecentTreeNode.data=P)}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.ZZ4),I.Y36(I.sBO))},Me.\u0275cmp=I.Xpm({type:Me,selectors:[["cdk-tree"]],contentQueries:function(P,de,Ce){if(1&P&&I.Suo(Ce,be,5),2&P){let Pe;I.iGM(Pe=I.CRH())&&(de._nodeDefs=Pe)}},viewQuery:function(P,de){if(1&P&&I.Gf(he,7),2&P){let Ce;I.iGM(Ce=I.CRH())&&(de._nodeOutlet=Ce.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(P,de){1&P&&I.GkF(0,0)},directives:[he],encapsulation:2}),Me})(),Y=(()=>{class Me{constructor(P,de){this._elementRef=P,this._tree=de,this._destroyed=new g.x,this._dataChanges=new g.x,Me.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(P){this._elementRef.nativeElement.setAttribute("role",P)}get data(){return this._data}set data(P){P!==this._data&&(this._data=P,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(Me){let z=Me.parentElement;for(;z&&!Te(z);)z=z.parentElement;return z?z.classList.contains("cdk-nested-tree-node")?(0,N.su)(z.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Me.mostRecentTreeNode===this&&(Me.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return Me.mostRecentTreeNode=null,Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.SBq),I.Y36(X))},Me.\u0275dir=I.lG2({type:Me,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(P,de){2&P&&I.uIk("aria-expanded",de.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),Me})();function Te(Me){const z=Me.classList;return!(!(null==z?void 0:z.contains("cdk-nested-tree-node"))&&!(null==z?void 0:z.contains("cdk-tree")))}let Oe=(()=>{class Me extends Y{constructor(P,de,Ce){super(P,de),this._differs=Ce}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const P=this._tree.treeControl.getChildren(this.data);Array.isArray(P)?this.updateChildrenNodes(P):(0,c.b)(P)&&P.pipe((0,v.R)(this._destroyed)).subscribe(de=>this.updateChildrenNodes(de)),this.nodeOutlet.changes.pipe((0,v.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(P){const de=this._getNodeOutlet();P&&(this._children=P),de&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,de.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const P=this._getNodeOutlet();P&&(P.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const P=this.nodeOutlet;return P&&P.find(de=>!de._node||de._node===this)}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(I.SBq),I.Y36(X),I.Y36(I.ZZ4))},Me.\u0275dir=I.lG2({type:Me,selectors:[["cdk-nested-tree-node"]],contentQueries:function(P,de,Ce){if(1&P&&I.Suo(Ce,he,5),2&P){let Pe;I.iGM(Pe=I.CRH())&&(de.nodeOutlet=Pe)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[I._Bn([{provide:Y,useExisting:Me},{provide:Q,useExisting:Me}]),I.qOj]}),Me})();const Se=/([A-Za-z%]+)$/;let We=(()=>{class Me{constructor(P,de,Ce,Pe){this._treeNode=P,this._tree=de,this._element=Ce,this._dir=Pe,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),Pe&&Pe.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),P._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(P){this._setLevelInput(P)}get indent(){return this._indent}set indent(P){this._setIndentInput(P)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const P=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,de=null==this._level?P:this._level;return"number"==typeof de?`${de*this._indent}${this.indentUnits}`:null}_setPadding(P=!1){const de=this._paddingIndent();if(de!==this._currentPadding||P){const Ce=this._element.nativeElement,Pe=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",ce="paddingLeft"===Pe?"paddingRight":"paddingLeft";Ce.style[Pe]=de||"",Ce.style[ce]="",this._currentPadding=de}}_setLevelInput(P){this._level=(0,N.su)(P,null),this._setPadding()}_setIndentInput(P){let de=P,Ce="px";if("string"==typeof P){const Pe=P.split(Se);de=Pe[0],Ce=Pe[1]||Ce}this.indentUnits=Ce,this._indent=(0,N.su)(de),this._setPadding()}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(Y),I.Y36(X),I.Y36(I.SBq),I.Y36(A.Is,8))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),Me})(),ge=(()=>{class Me{constructor(P,de){this._tree=P,this._treeNode=de,this._recursive=!1}get recursive(){return this._recursive}set recursive(P){this._recursive=(0,N.Ig)(P)}_toggle(P){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),P.stopPropagation()}}return Me.\u0275fac=function(P){return new(P||Me)(I.Y36(X),I.Y36(Y))},Me.\u0275dir=I.lG2({type:Me,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(P,de){1&P&&I.NdJ("click",function(Pe){return de._toggle(Pe)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),Me})(),ue=(()=>{class Me{}return Me.\u0275fac=function(P){return new(P||Me)},Me.\u0275mod=I.oAB({type:Me}),Me.\u0275inj=I.cJS({}),Me})()},69808:(qe,me,h)=>{"use strict";h.d(me,{mr:()=>pe,Ov:()=>Je,ez:()=>xn,K0:()=>E,uU:()=>Ui,Do:()=>T,V_:()=>N,Ye:()=>R,S$:()=>F,i8:()=>wt,mk:()=>wi,sg:()=>Oi,O5:()=>Li,PC:()=>ln,RF:()=>Wi,n9:()=>sn,ED:()=>An,tP:()=>Dn,b0:()=>ye,lw:()=>v,rS:()=>li,gd:()=>vi,EM:()=>gt,JF:()=>Et,p6:()=>d,NF:()=>cn,PM:()=>Bn,w_:()=>b,bD:()=>Hn,q:()=>g,Mx:()=>Ii,HT:()=>_});var e=h(5e3);let c=null;function g(){return c}function _(te){c||(c=te)}class b{}const E=new e.OlP("DocumentToken");let v=(()=>{class te{historyGo(le){throw new Error("Not implemented")}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275prov=e.Yz7({token:te,factory:function(){return function I(){return(0,e.LFG)(A)}()},providedIn:"platform"}),te})();const N=new e.OlP("Location Initialized");let A=(()=>{class te extends v{constructor(le){super(),this._doc=le,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(le){const et=g().getGlobalEventTarget(this._doc,"window");return et.addEventListener("popstate",le,!1),()=>et.removeEventListener("popstate",le)}onHashChange(le){const et=g().getGlobalEventTarget(this._doc,"window");return et.addEventListener("hashchange",le,!1),()=>et.removeEventListener("hashchange",le)}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(le){this.location.pathname=le}pushState(le,et,xt){q()?this._history.pushState(le,et,xt):this.location.hash=xt}replaceState(le,et,xt){q()?this._history.replaceState(le,et,xt):this.location.hash=xt}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(E))},te.\u0275prov=e.Yz7({token:te,factory:function(){return function j(){return new A((0,e.LFG)(E))}()},providedIn:"platform"}),te})();function q(){return!!window.history.pushState}function G(te,Ie){if(0==te.length)return Ie;if(0==Ie.length)return te;let le=0;return te.endsWith("/")&&le++,Ie.startsWith("/")&&le++,2==le?te+Ie.substring(1):1==le?te+Ie:te+"/"+Ie}function Q(te){const Ie=te.match(/#|\?|$/),le=Ie&&Ie.index||te.length;return te.slice(0,le-("/"===te[le-1]?1:0))+te.slice(le)}function he(te){return te&&"?"!==te[0]?"?"+te:te}let F=(()=>{class te{historyGo(le){throw new Error("Not implemented")}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275prov=e.Yz7({token:te,factory:function(){return function be(te){const Ie=(0,e.LFG)(E).location;return new ye((0,e.LFG)(v),Ie&&Ie.origin||"")}()},providedIn:"root"}),te})();const pe=new e.OlP("appBaseHref");let ye=(()=>{class te extends F{constructor(le,et){if(super(),this._platformLocation=le,this._removeListenerFns=[],null==et&&(et=this._platformLocation.getBaseHrefFromDOM()),null==et)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=et}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return G(this._baseHref,le)}path(le=!1){const et=this._platformLocation.pathname+he(this._platformLocation.search),xt=this._platformLocation.hash;return xt&&le?`${et}${xt}`:et}pushState(le,et,xt,zt){const Jt=this.prepareExternalUrl(xt+he(zt));this._platformLocation.pushState(le,et,Jt)}replaceState(le,et,xt,zt){const Jt=this.prepareExternalUrl(xt+he(zt));this._platformLocation.replaceState(le,et,Jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformLocation).historyGo)||void 0===xt||xt.call(et,le)}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(v),e.LFG(pe,8))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})(),T=(()=>{class te extends F{constructor(le,et){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=et&&(this._baseHref=et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let et=this._platformLocation.hash;return null==et&&(et="#"),et.length>0?et.substring(1):et}prepareExternalUrl(le){const et=G(this._baseHref,le);return et.length>0?"#"+et:et}pushState(le,et,xt,zt){let Jt=this.prepareExternalUrl(xt+he(zt));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.pushState(le,et,Jt)}replaceState(le,et,xt,zt){let Jt=this.prepareExternalUrl(xt+he(zt));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.replaceState(le,et,Jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformLocation).historyGo)||void 0===xt||xt.call(et,le)}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(v),e.LFG(pe,8))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})(),R=(()=>{class te{constructor(le,et){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=le;const xt=this._platformStrategy.getBaseHref();this._platformLocation=et,this._baseHref=Q(Y(xt)),this._platformStrategy.onPopState(zt=>{this._subject.emit({url:this.path(!0),pop:!0,state:zt.state,type:zt.type})})}path(le=!1){return this.normalize(this._platformStrategy.path(le))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(le,et=""){return this.path()==this.normalize(le+he(et))}normalize(le){return te.stripTrailingSlash(function X(te,Ie){return te&&Ie.startsWith(te)?Ie.substring(te.length):Ie}(this._baseHref,Y(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._platformStrategy.prepareExternalUrl(le)}go(le,et="",xt=null){this._platformStrategy.pushState(xt,"",le,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+he(et)),xt)}replaceState(le,et="",xt=null){this._platformStrategy.replaceState(xt,"",le,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+he(et)),xt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(le=0){var et,xt;null===(xt=(et=this._platformStrategy).historyGo)||void 0===xt||xt.call(et,le)}onUrlChange(le){this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(et=>{this._notifyUrlChangeListeners(et.url,et.state)}))}_notifyUrlChangeListeners(le="",et){this._urlChangeListeners.forEach(xt=>xt(le,et))}subscribe(le,et,xt){return this._subject.subscribe({next:le,error:et,complete:xt})}}return te.normalizeQueryParams=he,te.joinWithSlash=G,te.stripTrailingSlash=Q,te.\u0275fac=function(le){return new(le||te)(e.LFG(F),e.LFG(v))},te.\u0275prov=e.Yz7({token:te,factory:function(){return function L(){return new R((0,e.LFG)(F),(0,e.LFG)(v))}()},providedIn:"root"}),te})();function Y(te){return te.replace(/\/index.html$/,"")}var Oe=(()=>((Oe=Oe||{})[Oe.Zero=0]="Zero",Oe[Oe.One=1]="One",Oe[Oe.Two=2]="Two",Oe[Oe.Few=3]="Few",Oe[Oe.Many=4]="Many",Oe[Oe.Other=5]="Other",Oe))(),Se=(()=>((Se=Se||{})[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se))(),We=(()=>((We=We||{})[We.Narrow=0]="Narrow",We[We.Abbreviated=1]="Abbreviated",We[We.Wide=2]="Wide",We[We.Short=3]="Short",We))(),ge=(()=>((ge=ge||{})[ge.Short=0]="Short",ge[ge.Medium=1]="Medium",ge[ge.Long=2]="Long",ge[ge.Full=3]="Full",ge))(),Le=(()=>((Le=Le||{})[Le.Decimal=0]="Decimal",Le[Le.Group=1]="Group",Le[Le.List=2]="List",Le[Le.PercentSign=3]="PercentSign",Le[Le.PlusSign=4]="PlusSign",Le[Le.MinusSign=5]="MinusSign",Le[Le.Exponential=6]="Exponential",Le[Le.SuperscriptingExponent=7]="SuperscriptingExponent",Le[Le.PerMille=8]="PerMille",Le[Le.Infinity=9]="Infinity",Le[Le.NaN=10]="NaN",Le[Le.TimeSeparator=11]="TimeSeparator",Le[Le.CurrencyDecimal=12]="CurrencyDecimal",Le[Le.CurrencyGroup=13]="CurrencyGroup",Le))();function fe(te,Ie){return D((0,e.cg1)(te)[e.wAp.DateFormat],Ie)}function Ze(te,Ie){return D((0,e.cg1)(te)[e.wAp.TimeFormat],Ie)}function ne(te,Ie){return D((0,e.cg1)(te)[e.wAp.DateTimeFormat],Ie)}function it(te,Ie){const le=(0,e.cg1)(te),et=le[e.wAp.NumberSymbols][Ie];if(void 0===et){if(Ie===Le.CurrencyDecimal)return le[e.wAp.NumberSymbols][Le.Decimal];if(Ie===Le.CurrencyGroup)return le[e.wAp.NumberSymbols][Le.Group]}return et}const Ae=e.kL8;function ee(te){if(!te[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${te[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function D(te,Ie){for(let le=Ie;le>-1;le--)if(void 0!==te[le])return te[le];throw new Error("Locale data API: locale data undefined")}function O(te){const[Ie,le]=te.split(":");return{hours:+Ie,minutes:+le}}const l=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,s={},n=/((?:[^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 t=(()=>((t=t||{})[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t))(),r=(()=>((r=r||{})[r.FullYear=0]="FullYear",r[r.Month=1]="Month",r[r.Date=2]="Date",r[r.Hours=3]="Hours",r[r.Minutes=4]="Minutes",r[r.Seconds=5]="Seconds",r[r.FractionalSeconds=6]="FractionalSeconds",r[r.Day=7]="Day",r))(),a=(()=>((a=a||{})[a.DayPeriods=0]="DayPeriods",a[a.Days=1]="Days",a[a.Months=2]="Months",a[a.Eras=3]="Eras",a))();function d(te,Ie,le,et){let xt=function lt(te){if(Ht(te))return te;if("number"==typeof te&&!isNaN(te))return new Date(te);if("string"==typeof te){if(te=te.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(te)){const[xt,zt=1,Jt=1]=te.split("-").map(ai=>+ai);return f(xt,zt-1,Jt)}const le=parseFloat(te);if(!isNaN(te-le))return new Date(le);let et;if(et=te.match(l))return function ut(te){const Ie=new Date(0);let le=0,et=0;const xt=te[8]?Ie.setUTCFullYear:Ie.setFullYear,zt=te[8]?Ie.setUTCHours:Ie.setHours;te[9]&&(le=Number(te[9]+te[10]),et=Number(te[9]+te[11])),xt.call(Ie,Number(te[1]),Number(te[2])-1,Number(te[3]));const Jt=Number(te[4]||0)-le,ai=Number(te[5]||0)-et,ui=Number(te[6]||0),fi=Math.floor(1e3*parseFloat("0."+(te[7]||0)));return zt.call(Ie,Jt,ai,ui,fi),Ie}(et)}const Ie=new Date(te);if(!Ht(Ie))throw new Error(`Unable to convert "${te}" into a date`);return Ie}(te);Ie=x(le,Ie)||Ie;let ai,Jt=[];for(;Ie;){if(ai=n.exec(Ie),!ai){Jt.push(Ie);break}{Jt=Jt.concat(ai.slice(1));const Ai=Jt.pop();if(!Ai)break;Ie=Ai}}let ui=xt.getTimezoneOffset();et&&(ui=Tt(et,ui),xt=function rt(te,Ie,le){const et=le?-1:1,xt=te.getTimezoneOffset();return function ot(te,Ie){return(te=new Date(te.getTime())).setMinutes(te.getMinutes()+Ie),te}(te,et*(Tt(Ie,xt)-xt))}(xt,et,!0));let fi="";return Jt.forEach(Ai=>{const Mi=function mt(te){if(Rt[te])return Rt[te];let Ie;switch(te){case"G":case"GG":case"GGG":Ie=Ct(a.Eras,We.Abbreviated);break;case"GGGG":Ie=Ct(a.Eras,We.Wide);break;case"GGGGG":Ie=Ct(a.Eras,We.Narrow);break;case"y":Ie=bt(r.FullYear,1,0,!1,!0);break;case"yy":Ie=bt(r.FullYear,2,0,!0,!0);break;case"yyy":Ie=bt(r.FullYear,3,0,!1,!0);break;case"yyyy":Ie=bt(r.FullYear,4,0,!1,!0);break;case"Y":Ie=ct(1);break;case"YY":Ie=ct(2,!0);break;case"YYY":Ie=ct(3);break;case"YYYY":Ie=ct(4);break;case"M":case"L":Ie=bt(r.Month,1,1);break;case"MM":case"LL":Ie=bt(r.Month,2,1);break;case"MMM":Ie=Ct(a.Months,We.Abbreviated);break;case"MMMM":Ie=Ct(a.Months,We.Wide);break;case"MMMMM":Ie=Ct(a.Months,We.Narrow);break;case"LLL":Ie=Ct(a.Months,We.Abbreviated,Se.Standalone);break;case"LLLL":Ie=Ct(a.Months,We.Wide,Se.Standalone);break;case"LLLLL":Ie=Ct(a.Months,We.Narrow,Se.Standalone);break;case"w":Ie=nt(1);break;case"ww":Ie=nt(2);break;case"W":Ie=nt(1,!0);break;case"d":Ie=bt(r.Date,1);break;case"dd":Ie=bt(r.Date,2);break;case"c":case"cc":Ie=bt(r.Day,1);break;case"ccc":Ie=Ct(a.Days,We.Abbreviated,Se.Standalone);break;case"cccc":Ie=Ct(a.Days,We.Wide,Se.Standalone);break;case"ccccc":Ie=Ct(a.Days,We.Narrow,Se.Standalone);break;case"cccccc":Ie=Ct(a.Days,We.Short,Se.Standalone);break;case"E":case"EE":case"EEE":Ie=Ct(a.Days,We.Abbreviated);break;case"EEEE":Ie=Ct(a.Days,We.Wide);break;case"EEEEE":Ie=Ct(a.Days,We.Narrow);break;case"EEEEEE":Ie=Ct(a.Days,We.Short);break;case"a":case"aa":case"aaa":Ie=Ct(a.DayPeriods,We.Abbreviated);break;case"aaaa":Ie=Ct(a.DayPeriods,We.Wide);break;case"aaaaa":Ie=Ct(a.DayPeriods,We.Narrow);break;case"b":case"bb":case"bbb":Ie=Ct(a.DayPeriods,We.Abbreviated,Se.Standalone,!0);break;case"bbbb":Ie=Ct(a.DayPeriods,We.Wide,Se.Standalone,!0);break;case"bbbbb":Ie=Ct(a.DayPeriods,We.Narrow,Se.Standalone,!0);break;case"B":case"BB":case"BBB":Ie=Ct(a.DayPeriods,We.Abbreviated,Se.Format,!0);break;case"BBBB":Ie=Ct(a.DayPeriods,We.Wide,Se.Format,!0);break;case"BBBBB":Ie=Ct(a.DayPeriods,We.Narrow,Se.Format,!0);break;case"h":Ie=bt(r.Hours,1,-12);break;case"hh":Ie=bt(r.Hours,2,-12);break;case"H":Ie=bt(r.Hours,1);break;case"HH":Ie=bt(r.Hours,2);break;case"m":Ie=bt(r.Minutes,1);break;case"mm":Ie=bt(r.Minutes,2);break;case"s":Ie=bt(r.Seconds,1);break;case"ss":Ie=bt(r.Seconds,2);break;case"S":Ie=bt(r.FractionalSeconds,1);break;case"SS":Ie=bt(r.FractionalSeconds,2);break;case"SSS":Ie=bt(r.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ie=He(t.Short);break;case"ZZZZZ":Ie=He(t.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ie=He(t.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ie=He(t.Long);break;default:return null}return Rt[te]=Ie,Ie}(Ai);fi+=Mi?Mi(xt,le,ui):"''"===Ai?"'":Ai.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),fi}function f(te,Ie,le){const et=new Date(0);return et.setFullYear(te,Ie,le),et.setHours(0,0,0),et}function x(te,Ie){const le=function Me(te){return(0,e.cg1)(te)[e.wAp.LocaleId]}(te);if(s[le]=s[le]||{},s[le][Ie])return s[le][Ie];let et="";switch(Ie){case"shortDate":et=fe(te,ge.Short);break;case"mediumDate":et=fe(te,ge.Medium);break;case"longDate":et=fe(te,ge.Long);break;case"fullDate":et=fe(te,ge.Full);break;case"shortTime":et=Ze(te,ge.Short);break;case"mediumTime":et=Ze(te,ge.Medium);break;case"longTime":et=Ze(te,ge.Long);break;case"fullTime":et=Ze(te,ge.Full);break;case"short":const xt=x(te,"shortTime"),zt=x(te,"shortDate");et=Ye(ne(te,ge.Short),[xt,zt]);break;case"medium":const Jt=x(te,"mediumTime"),ai=x(te,"mediumDate");et=Ye(ne(te,ge.Medium),[Jt,ai]);break;case"long":const ui=x(te,"longTime"),fi=x(te,"longDate");et=Ye(ne(te,ge.Long),[ui,fi]);break;case"full":const Ai=x(te,"fullTime"),Mi=x(te,"fullDate");et=Ye(ne(te,ge.Full),[Ai,Mi])}return et&&(s[le][Ie]=et),et}function Ye(te,Ie){return Ie&&(te=te.replace(/\{([^}]+)}/g,function(le,et){return null!=Ie&&et in Ie?Ie[et]:le})),te}function It(te,Ie,le="-",et,xt){let zt="";(te<0||xt&&te<=0)&&(xt?te=1-te:(te=-te,zt=le));let Jt=String(te);for(;Jt.length0||ai>-le)&&(ai+=le),te===r.Hours)0===ai&&-12===le&&(ai=12);else if(te===r.FractionalSeconds)return function jt(te,Ie){return It(te,3).substr(0,Ie)}(ai,Ie);const ui=it(Jt,Le.MinusSign);return It(ai,Ie,ui,et,xt)}}function Ct(te,Ie,le=Se.Format,et=!1){return function(xt,zt){return function Nt(te,Ie,le,et,xt,zt){switch(le){case a.Months:return function de(te,Ie,le){const et=(0,e.cg1)(te),zt=D([et[e.wAp.MonthsFormat],et[e.wAp.MonthsStandalone]],Ie);return D(zt,le)}(Ie,xt,et)[te.getMonth()];case a.Days:return function P(te,Ie,le){const et=(0,e.cg1)(te),zt=D([et[e.wAp.DaysFormat],et[e.wAp.DaysStandalone]],Ie);return D(zt,le)}(Ie,xt,et)[te.getDay()];case a.DayPeriods:const Jt=te.getHours(),ai=te.getMinutes();if(zt){const fi=function Ne(te){const Ie=(0,e.cg1)(te);return ee(Ie),(Ie[e.wAp.ExtraData][2]||[]).map(et=>"string"==typeof et?O(et):[O(et[0]),O(et[1])])}(Ie),Ai=function V(te,Ie,le){const et=(0,e.cg1)(te);ee(et);const zt=D([et[e.wAp.ExtraData][0],et[e.wAp.ExtraData][1]],Ie)||[];return D(zt,le)||[]}(Ie,xt,et),Mi=fi.findIndex(Bi=>{if(Array.isArray(Bi)){const[ke,De]=Bi,we=Jt>=ke.hours&&ai>=ke.minutes,ht=Jt0?Math.floor(xt/60):Math.ceil(xt/60);switch(te){case t.Short:return(xt>=0?"+":"")+It(Jt,2,zt)+It(Math.abs(xt%60),2,zt);case t.ShortGMT:return"GMT"+(xt>=0?"+":"")+It(Jt,1,zt);case t.Long:return"GMT"+(xt>=0?"+":"")+It(Jt,2,zt)+":"+It(Math.abs(xt%60),2,zt);case t.Extended:return 0===et?"Z":(xt>=0?"+":"")+It(Jt,2,zt)+":"+It(Math.abs(xt%60),2,zt);default:throw new Error(`Unknown zone width "${te}"`)}}}function oe(te){return f(te.getFullYear(),te.getMonth(),te.getDate()+(4-te.getDay()))}function nt(te,Ie=!1){return function(le,et){let xt;if(Ie){const zt=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,Jt=le.getDate();xt=1+Math.floor((Jt+zt)/7)}else{const zt=oe(le),Jt=function $(te){const Ie=f(te,0,1).getDay();return f(te,0,1+(Ie<=4?4:11)-Ie)}(zt.getFullYear()),ai=zt.getTime()-Jt.getTime();xt=1+Math.round(ai/6048e5)}return It(xt,te,it(et,Le.MinusSign))}}function ct(te,Ie=!1){return function(le,et){return It(oe(le).getFullYear(),te,it(et,Le.MinusSign),Ie)}}const Rt={};function Tt(te,Ie){te=te.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+te)/6e4;return isNaN(le)?Ie:le}function Ht(te){return te instanceof Date&&!isNaN(te.valueOf())}class _t{}let ti=(()=>{class te extends _t{constructor(le){super(),this.locale=le}getPluralCategory(le,et){switch(Ae(et||this.locale)(le)){case Oe.Zero:return"zero";case Oe.One:return"one";case Oe.Two:return"two";case Oe.Few:return"few";case Oe.Many:return"many";default:return"other"}}}return te.\u0275fac=function(le){return new(le||te)(e.LFG(e.soG))},te.\u0275prov=e.Yz7({token:te,factory:te.\u0275fac}),te})();function Ii(te,Ie){Ie=encodeURIComponent(Ie);for(const le of te.split(";")){const et=le.indexOf("="),[xt,zt]=-1==et?[le,""]:[le.slice(0,et),le.slice(et+1)];if(xt.trim()===Ie)return decodeURIComponent(zt)}return null}let wi=(()=>{class te{constructor(le,et,xt,zt){this._iterableDiffers=le,this._keyValueDiffers=et,this._ngEl=xt,this._renderer=zt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(le){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof le?le.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(le){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof le?le.split(/\s+/):le,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 le=this._iterableDiffer.diff(this._rawClass);le&&this._applyIterableChanges(le)}else if(this._keyValueDiffer){const le=this._keyValueDiffer.diff(this._rawClass);le&&this._applyKeyValueChanges(le)}}_applyKeyValueChanges(le){le.forEachAddedItem(et=>this._toggleClass(et.key,et.currentValue)),le.forEachChangedItem(et=>this._toggleClass(et.key,et.currentValue)),le.forEachRemovedItem(et=>{et.previousValue&&this._toggleClass(et.key,!1)})}_applyIterableChanges(le){le.forEachAddedItem(et=>{if("string"!=typeof et.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(et.item)}`);this._toggleClass(et.item,!0)}),le.forEachRemovedItem(et=>this._toggleClass(et.item,!1))}_applyClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(et=>this._toggleClass(et,!0)):Object.keys(le).forEach(et=>this._toggleClass(et,!!le[et])))}_removeClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(et=>this._toggleClass(et,!1)):Object.keys(le).forEach(et=>this._toggleClass(et,!1)))}_toggleClass(le,et){(le=le.trim())&&le.split(/\s+/g).forEach(xt=>{et?this._renderer.addClass(this._ngEl.nativeElement,xt):this._renderer.removeClass(this._ngEl.nativeElement,xt)})}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),te})();class rn{constructor(Ie,le,et,xt){this.$implicit=Ie,this.ngForOf=le,this.index=et,this.count=xt}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 Oi=(()=>{class te{constructor(le,et,xt){this._viewContainer=le,this._template=et,this._differs=xt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const et=this._viewContainer;le.forEachOperation((xt,zt,Jt)=>{if(null==xt.previousIndex)et.createEmbeddedView(this._template,new rn(xt.item,this._ngForOf,-1,-1),null===Jt?void 0:Jt);else if(null==Jt)et.remove(null===zt?void 0:zt);else if(null!==zt){const ai=et.get(zt);et.move(ai,Jt),Hi(ai,xt)}});for(let xt=0,zt=et.length;xt{Hi(et.get(xt.currentIndex),xt)})}static ngTemplateContextGuard(le,et){return!0}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),te})();function Hi(te,Ie){te.context.$implicit=Ie.item}let Li=(()=>{class te{constructor(le,et){this._viewContainer=le,this._context=new yi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=et}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){nn("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){nn("ngIfElse",le),this._elseTemplateRef=le,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(le,et){return!0}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),te})();class yi{constructor(){this.$implicit=null,this.ngIf=null}}function nn(te,Ie){if(Ie&&!Ie.createEmbeddedView)throw new Error(`${te} must be a TemplateRef, but received '${(0,e.AaK)(Ie)}'.`)}class fn{constructor(Ie,le){this._viewContainerRef=Ie,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ie){Ie&&!this._created?this.create():!Ie&&this._created&&this.destroy()}}let Wi=(()=>{class te{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(le)}_matchCase(le){const et=le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),et}_updateDefaultCases(le){if(this._defaultViews&&le!==this._defaultUsed){this._defaultUsed=le;for(let et=0;et{class te{constructor(le,et,xt){this.ngSwitch=xt,xt._addCase(),this._view=new fn(le,et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Wi,9))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),te})(),An=(()=>{class te{constructor(le,et,xt){xt._addDefault(new fn(le,et))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Wi,9))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngSwitchDefault",""]]}),te})(),ln=(()=>{class te{constructor(le,et,xt){this._ngEl=le,this._differs=et,this._renderer=xt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,et){const[xt,zt]=le.split(".");null!=(et=null!=et&&zt?`${et}${zt}`:et)?this._renderer.setStyle(this._ngEl.nativeElement,xt,et):this._renderer.removeStyle(this._ngEl.nativeElement,xt)}_applyChanges(le){le.forEachRemovedItem(et=>this._setStyle(et.key,null)),le.forEachAddedItem(et=>this._setStyle(et.key,et.currentValue)),le.forEachChangedItem(et=>this._setStyle(et.key,et.currentValue))}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),te})(),Dn=(()=>{class te{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(le){if(le.ngTemplateOutlet){const et=this._viewContainerRef;this._viewRef&&et.remove(et.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?et.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.s_b))},te.\u0275dir=e.lG2({type:te,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),te})();function Kt(te,Ie){return new e.vHH(2100,"")}class st{createSubscription(Ie,le){return Ie.subscribe({next:le,error:et=>{throw et}})}dispose(Ie){Ie.unsubscribe()}onDestroy(Ie){Ie.unsubscribe()}}class kt{createSubscription(Ie,le){return Ie.then(le,et=>{throw et})}dispose(Ie){}onDestroy(Ie){}}const Fe=new kt,Bt=new st;let Je=(()=>{class te{constructor(le){this._ref=le,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,et=>this._updateLatestValue(le,et))}_selectStrategy(le){if((0,e.QGY)(le))return Fe;if((0,e.F4k)(le))return Bt;throw Kt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,et){le===this._obj&&(this._latestValue=et,this._ref.markForCheck())}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.sBO,16))},te.\u0275pipe=e.Yjl({name:"async",type:te,pure:!1}),te})(),wt=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.toLowerCase()}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"lowercase",type:te,pure:!0}),te})();const Gt=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let li=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.replace(Gt,et=>et[0].toUpperCase()+et.substr(1).toLowerCase())}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"titlecase",type:te,pure:!0}),te})(),vi=(()=>{class te{transform(le){if(null==le)return null;if("string"!=typeof le)throw Kt();return le.toUpperCase()}}return te.\u0275fac=function(le){return new(le||te)},te.\u0275pipe=e.Yjl({name:"uppercase",type:te,pure:!0}),te})();const Vi=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ui=(()=>{class te{constructor(le,et){this.locale=le,this.defaultTimezone=et}transform(le,et="mediumDate",xt,zt){var Jt;if(null==le||""===le||le!=le)return null;try{return d(le,et,zt||this.locale,null!==(Jt=null!=xt?xt:this.defaultTimezone)&&void 0!==Jt?Jt:void 0)}catch(ai){throw Kt()}}}return te.\u0275fac=function(le){return new(le||te)(e.Y36(e.soG,16),e.Y36(Vi,24))},te.\u0275pipe=e.Yjl({name:"date",type:te,pure:!0}),te})(),xn=(()=>{class te{}return te.\u0275fac=function(le){return new(le||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({providers:[{provide:_t,useClass:ti}]}),te})();const Hn="browser";function cn(te){return te===Hn}function Bn(te){return"server"===te}let gt=(()=>{class te{}return te.\u0275prov=(0,e.Yz7)({token:te,providedIn:"root",factory:()=>new k((0,e.LFG)(E),window)}),te})();class k{constructor(Ie,le){this.document=Ie,this.window=le,this.offset=()=>[0,0]}setOffset(Ie){this.offset=Array.isArray(Ie)?()=>Ie:Ie}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ie){this.supportsScrolling()&&this.window.scrollTo(Ie[0],Ie[1])}scrollToAnchor(Ie){if(!this.supportsScrolling())return;const le=function Re(te,Ie){const le=te.getElementById(Ie)||te.getElementsByName(Ie)[0];if(le)return le;if("function"==typeof te.createTreeWalker&&te.body&&(te.body.createShadowRoot||te.body.attachShadow)){const et=te.createTreeWalker(te.body,NodeFilter.SHOW_ELEMENT);let xt=et.currentNode;for(;xt;){const zt=xt.shadowRoot;if(zt){const Jt=zt.getElementById(Ie)||zt.querySelector(`[name="${Ie}"]`);if(Jt)return Jt}xt=et.nextNode()}}return null}(this.document,Ie);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Ie){if(this.supportScrollRestoration()){const le=this.window.history;le&&le.scrollRestoration&&(le.scrollRestoration=Ie)}}scrollToElement(Ie){const le=Ie.getBoundingClientRect(),et=le.left+this.window.pageXOffset,xt=le.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(et-zt[0],xt-zt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Ie=W(this.window.history)||W(Object.getPrototypeOf(this.window.history));return!(!Ie||!Ie.writable&&!Ie.set)}catch(Ie){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Ie){return!1}}}function W(te){return Object.getOwnPropertyDescriptor(te,"scrollRestoration")}class Et{}},40520:(qe,me,h)=>{"use strict";h.d(me,{TP:()=>Me,eN:()=>Le,JF:()=>D,qT:()=>pe,WM:()=>N,LE:()=>F,Zn:()=>Se});var e=h(69808),c=h(5e3),g=h(39646),w=h(68306),_=h(24351),b=h(39300),E=h(54004);class v{}class I{}class N{constructor(u){this.normalizedNames=new Map,this.lazyUpdate=null,u?this.lazyInit="string"==typeof u?()=>{this.headers=new Map,u.split("\n").forEach(l=>{const s=l.indexOf(":");if(s>0){const n=l.slice(0,s),t=n.toLowerCase(),r=l.slice(s+1).trim();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(r):this.headers.set(t,[r])}})}:()=>{this.headers=new Map,Object.keys(u).forEach(l=>{let s=u[l];const n=l.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(n,s),this.maybeSetNormalizedName(l,n))})}:this.headers=new Map}has(u){return this.init(),this.headers.has(u.toLowerCase())}get(u){this.init();const l=this.headers.get(u.toLowerCase());return l&&l.length>0?l[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(u){return this.init(),this.headers.get(u.toLowerCase())||null}append(u,l){return this.clone({name:u,value:l,op:"a"})}set(u,l){return this.clone({name:u,value:l,op:"s"})}delete(u,l){return this.clone({name:u,value:l,op:"d"})}maybeSetNormalizedName(u,l){this.normalizedNames.has(l)||this.normalizedNames.set(l,u)}init(){this.lazyInit&&(this.lazyInit instanceof N?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(l=>{this.headers.set(l,u.headers.get(l)),this.normalizedNames.set(l,u.normalizedNames.get(l))})}clone(u){const l=new N;return l.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,l.lazyUpdate=(this.lazyUpdate||[]).concat([u]),l}applyUpdate(u){const l=u.name.toLowerCase();switch(u.op){case"a":case"s":let s=u.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(u.name,l);const n=("a"===u.op?this.headers.get(l):void 0)||[];n.push(...s),this.headers.set(l,n);break;case"d":const t=u.value;if(t){let r=this.headers.get(l);if(!r)return;r=r.filter(a=>-1===t.indexOf(a)),0===r.length?(this.headers.delete(l),this.normalizedNames.delete(l)):this.headers.set(l,r)}else this.headers.delete(l),this.normalizedNames.delete(l)}}forEach(u){this.init(),Array.from(this.normalizedNames.keys()).forEach(l=>u(this.normalizedNames.get(l),this.headers.get(l)))}}class A{encodeKey(u){return Q(u)}encodeValue(u){return Q(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}}const j=/%(\d[a-f0-9])/gi,G={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Q(o){return encodeURIComponent(o).replace(j,(u,l)=>{var s;return null!==(s=G[l])&&void 0!==s?s:u})}function he(o){return`${o}`}class F{constructor(u={}){if(this.updates=null,this.cloneFrom=null,this.encoder=u.encoder||new A,u.fromString){if(u.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(o,u){const l=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(n=>{const t=n.indexOf("="),[r,a]=-1==t?[u.decodeKey(n),""]:[u.decodeKey(n.slice(0,t)),u.decodeValue(n.slice(t+1))],d=l.get(r)||[];d.push(a),l.set(r,d)}),l}(u.fromString,this.encoder)}else u.fromObject?(this.map=new Map,Object.keys(u.fromObject).forEach(l=>{const s=u.fromObject[l];this.map.set(l,Array.isArray(s)?s:[s])})):this.map=null}has(u){return this.init(),this.map.has(u)}get(u){this.init();const l=this.map.get(u);return l?l[0]:null}getAll(u){return this.init(),this.map.get(u)||null}keys(){return this.init(),Array.from(this.map.keys())}append(u,l){return this.clone({param:u,value:l,op:"a"})}appendAll(u){const l=[];return Object.keys(u).forEach(s=>{const n=u[s];Array.isArray(n)?n.forEach(t=>{l.push({param:s,value:t,op:"a"})}):l.push({param:s,value:n,op:"a"})}),this.clone(l)}set(u,l){return this.clone({param:u,value:l,op:"s"})}delete(u,l){return this.clone({param:u,value:l,op:"d"})}toString(){return this.init(),this.keys().map(u=>{const l=this.encoder.encodeKey(u);return this.map.get(u).map(s=>l+"="+this.encoder.encodeValue(s)).join("&")}).filter(u=>""!==u).join("&")}clone(u){const l=new F({encoder:this.encoder});return l.cloneFrom=this.cloneFrom||this,l.updates=(this.updates||[]).concat(u),l}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 l=("a"===u.op?this.map.get(u.param):void 0)||[];l.push(he(u.value)),this.map.set(u.param,l);break;case"d":if(void 0===u.value){this.map.delete(u.param);break}{let s=this.map.get(u.param)||[];const n=s.indexOf(he(u.value));-1!==n&&s.splice(n,1),s.length>0?this.map.set(u.param,s):this.map.delete(u.param)}}}),this.cloneFrom=this.updates=null)}}class pe{constructor(){this.map=new Map}set(u,l){return this.map.set(u,l),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 T(o){return"undefined"!=typeof ArrayBuffer&&o instanceof ArrayBuffer}function R(o){return"undefined"!=typeof Blob&&o instanceof Blob}function L(o){return"undefined"!=typeof FormData&&o instanceof FormData}class Y{constructor(u,l,s,n){let t;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=u.toUpperCase(),function ye(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==s?s:null,t=n):t=s,t&&(this.reportProgress=!!t.reportProgress,this.withCredentials=!!t.withCredentials,t.responseType&&(this.responseType=t.responseType),t.headers&&(this.headers=t.headers),t.context&&(this.context=t.context),t.params&&(this.params=t.params)),this.headers||(this.headers=new N),this.context||(this.context=new pe),this.params){const r=this.params.toString();if(0===r.length)this.urlWithParams=l;else{const a=l.indexOf("?");this.urlWithParams=l+(-1===a?"?":aIt.set(jt,u.setHeaders[jt]),f)),u.setParams&&(x=Object.keys(u.setParams).reduce((It,jt)=>It.set(jt,u.setParams[jt]),x)),new Y(s,n,r,{params:x,headers:f,context:Ye,reportProgress:d,responseType:t,withCredentials:a})}}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 Te{constructor(u,l=200,s="OK"){this.headers=u.headers||new N,this.status=void 0!==u.status?u.status:l,this.statusText=u.statusText||s,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}}class Oe extends Te{constructor(u={}){super(u),this.type=se.ResponseHeader}clone(u={}){return new Oe({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 Te{constructor(u={}){super(u),this.type=se.Response,this.body=void 0!==u.body?u.body:null}clone(u={}){return new Se({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 We extends Te{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 ge(o,u){return{body:u,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials}}let Le=(()=>{class o{constructor(l){this.handler=l}request(l,s,n={}){let t;if(l instanceof Y)t=l;else{let d,f;d=n.headers instanceof N?n.headers:new N(n.headers),n.params&&(f=n.params instanceof F?n.params:new F({fromObject:n.params})),t=new Y(l,s,void 0!==n.body?n.body:null,{headers:d,context:n.context,params:f,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,g.of)(t).pipe((0,_.b)(d=>this.handler.handle(d)));if(l instanceof Y||"events"===n.observe)return r;const a=r.pipe((0,b.h)(d=>d instanceof Se));switch(n.observe||"body"){case"body":switch(t.responseType){case"arraybuffer":return a.pipe((0,E.U)(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return a.pipe((0,E.U)(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return a.pipe((0,E.U)(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return a.pipe((0,E.U)(d=>d.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(l,s={}){return this.request("DELETE",l,s)}get(l,s={}){return this.request("GET",l,s)}head(l,s={}){return this.request("HEAD",l,s)}jsonp(l,s){return this.request("JSONP",l,{params:(new F).append(s,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(l,s={}){return this.request("OPTIONS",l,s)}patch(l,s,n={}){return this.request("PATCH",l,ge(n,s))}post(l,s,n={}){return this.request("POST",l,ge(n,s))}put(l,s,n={}){return this.request("PUT",l,ge(n,s))}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(v))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();class ue{constructor(u,l){this.next=u,this.interceptor=l}handle(u){return this.interceptor.intercept(u,this.next)}}const Me=new c.OlP("HTTP_INTERCEPTORS");let z=(()=>{class o{intercept(l,s){return s.handle(l)}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();const ne=/^\)\]\}',?\n/;let Be=(()=>{class o{constructor(l){this.xhrFactory=l}handle(l){if("JSONP"===l.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new w.y(s=>{const n=this.xhrFactory.build();if(n.open(l.method,l.urlWithParams),l.withCredentials&&(n.withCredentials=!0),l.headers.forEach((jt,bt)=>n.setRequestHeader(jt,bt.join(","))),l.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!l.headers.has("Content-Type")){const jt=l.detectContentTypeHeader();null!==jt&&n.setRequestHeader("Content-Type",jt)}if(l.responseType){const jt=l.responseType.toLowerCase();n.responseType="json"!==jt?jt:"text"}const t=l.serializeBody();let r=null;const a=()=>{if(null!==r)return r;const jt=n.statusText||"OK",bt=new N(n.getAllResponseHeaders()),Yt=function it(o){return"responseURL"in o&&o.responseURL?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null}(n)||l.url;return r=new Oe({headers:bt,status:n.status,statusText:jt,url:Yt}),r},d=()=>{let{headers:jt,status:bt,statusText:Yt,url:Ct}=a(),Nt=null;204!==bt&&(Nt=void 0===n.response?n.responseText:n.response),0===bt&&(bt=Nt?200:0);let He=bt>=200&&bt<300;if("json"===l.responseType&&"string"==typeof Nt){const je=Nt;Nt=Nt.replace(ne,"");try{Nt=""!==Nt?JSON.parse(Nt):null}catch(Z){Nt=je,He&&(He=!1,Nt={error:Z,text:Nt})}}He?(s.next(new Se({body:Nt,headers:jt,status:bt,statusText:Yt,url:Ct||void 0})),s.complete()):s.error(new We({error:Nt,headers:jt,status:bt,statusText:Yt,url:Ct||void 0}))},f=jt=>{const{url:bt}=a(),Yt=new We({error:jt,status:n.status||0,statusText:n.statusText||"Unknown Error",url:bt||void 0});s.error(Yt)};let x=!1;const Ye=jt=>{x||(s.next(a()),x=!0);let bt={type:se.DownloadProgress,loaded:jt.loaded};jt.lengthComputable&&(bt.total=jt.total),"text"===l.responseType&&!!n.responseText&&(bt.partialText=n.responseText),s.next(bt)},It=jt=>{let bt={type:se.UploadProgress,loaded:jt.loaded};jt.lengthComputable&&(bt.total=jt.total),s.next(bt)};return n.addEventListener("load",d),n.addEventListener("error",f),n.addEventListener("timeout",f),n.addEventListener("abort",f),l.reportProgress&&(n.addEventListener("progress",Ye),null!==t&&n.upload&&n.upload.addEventListener("progress",It)),n.send(t),s.next({type:se.Sent}),()=>{n.removeEventListener("error",f),n.removeEventListener("abort",f),n.removeEventListener("load",d),n.removeEventListener("timeout",f),l.reportProgress&&(n.removeEventListener("progress",Ye),null!==t&&n.upload&&n.upload.removeEventListener("progress",It)),n.readyState!==n.DONE&&n.abort()}})}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(e.JF))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})();const ze=new c.OlP("XSRF_COOKIE_NAME"),Ue=new c.OlP("XSRF_HEADER_NAME");class _e{}let ae=(()=>{class o{constructor(l,s,n){this.doc=l,this.platform=s,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const l=this.doc.cookie||"";return l!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(l,this.cookieName),this.lastCookieString=l),this.lastToken}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(e.K0),c.LFG(c.Lbi),c.LFG(ze))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),Ae=(()=>{class o{constructor(l,s){this.tokenService=l,this.headerName=s}intercept(l,s){const n=l.url.toLowerCase();if("GET"===l.method||"HEAD"===l.method||n.startsWith("http://")||n.startsWith("https://"))return s.handle(l);const t=this.tokenService.getToken();return null!==t&&!l.headers.has(this.headerName)&&(l=l.clone({headers:l.headers.set(this.headerName,t)})),s.handle(l)}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(_e),c.LFG(Ue))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),ee=(()=>{class o{constructor(l,s){this.backend=l,this.injector=s,this.chain=null}handle(l){if(null===this.chain){const s=this.injector.get(Me,[]);this.chain=s.reduceRight((n,t)=>new ue(n,t),this.backend)}return this.chain.handle(l)}}return o.\u0275fac=function(l){return new(l||o)(c.LFG(I),c.LFG(c.zs3))},o.\u0275prov=c.Yz7({token:o,factory:o.\u0275fac}),o})(),H=(()=>{class o{static disable(){return{ngModule:o,providers:[{provide:Ae,useClass:z}]}}static withOptions(l={}){return{ngModule:o,providers:[l.cookieName?{provide:ze,useValue:l.cookieName}:[],l.headerName?{provide:Ue,useValue:l.headerName}:[]]}}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275mod=c.oAB({type:o}),o.\u0275inj=c.cJS({providers:[Ae,{provide:Me,useExisting:Ae,multi:!0},{provide:_e,useClass:ae},{provide:ze,useValue:"XSRF-TOKEN"},{provide:Ue,useValue:"X-XSRF-TOKEN"}]}),o})(),D=(()=>{class o{}return o.\u0275fac=function(l){return new(l||o)},o.\u0275mod=c.oAB({type:o}),o.\u0275inj=c.cJS({providers:[Le,{provide:v,useClass:ee},Be,{provide:I,useExisting:Be}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),o})()},5e3:(qe,me,h)=>{"use strict";h.d(me,{deG:()=>Hm,tb:()=>cm,AFp:()=>am,ip1:()=>zc,CZH:()=>qs,hGG:()=>jT,z2F:()=>ka,sBO:()=>AT,Sil:()=>Yc,_Vd:()=>Ra,EJc:()=>um,SBq:()=>Ia,qLn:()=>_a,vpe:()=>Ir,tBr:()=>ua,XFs:()=>V,OlP:()=>gn,zs3:()=>or,ZZ4:()=>Io,aQg:()=>Oo,soG:()=>Do,YKP:()=>ff,h0i:()=>zs,PXZ:()=>uT,R0b:()=>tr,FiY:()=>Wr,Lbi:()=>lm,g9A:()=>om,n_E:()=>Eo,Qsj:()=>KC,FYo:()=>df,JOm:()=>Mr,q3G:()=>Tn,tp0:()=>bs,Rgc:()=>Ba,dDg:()=>fm,GfV:()=>uf,s_b:()=>wo,ifc:()=>t,eFA:()=>_m,G48:()=>_T,Gpc:()=>A,f3M:()=>qm,_c5:()=>LT,VLi:()=>lT,c2e:()=>dm,zSh:()=>Ul,wAp:()=>Ri,vHH:()=>Q,EiD:()=>Fd,mCW:()=>pa,qzn:()=>Ts,JVY:()=>pg,pB0:()=>_g,eBb:()=>mg,L6k:()=>fg,LAX:()=>gg,cg1:()=>Ec,kL8:()=>Op,yhl:()=>Id,dqk:()=>x,sIi:()=>Ea,CqO:()=>zh,QGY:()=>oc,F4k:()=>Gh,RDi:()=>W,AaK:()=>v,z3N:()=>Nr,qOj:()=>Wl,TTD:()=>Zn,_Bn:()=>of,xp6:()=>Eu,uIk:()=>Jl,Q2q:()=>Ql,Tol:()=>up,Gre:()=>Ep,ekj:()=>fc,Suo:()=>kf,Xpm:()=>oe,lG2:()=>lt,Yz7:()=>fe,cJS:()=>ne,oAB:()=>Tt,Yjl:()=>ut,Y36:()=>wa,_UZ:()=>Uh,GkF:()=>jh,BQk:()=>ac,ynx:()=>sc,qZA:()=>rc,TgZ:()=>nc,EpF:()=>Zh,n5z:()=>md,Ikx:()=>vc,LFG:()=>In,$8M:()=>jo,$Z:()=>Fh,NdJ:()=>lc,CRH:()=>Vf,kcU:()=>Ga,O4$:()=>Za,oxw:()=>qh,ALo:()=>Mf,lcZ:()=>Sf,xi3:()=>Df,Dn7:()=>Pf,Hsn:()=>Qh,F$t:()=>Jh,Q6J:()=>tc,s9C:()=>uc,MGl:()=>fo,hYB:()=>hc,DdM:()=>Af,VKq:()=>bf,WLB:()=>Cf,kEZ:()=>vf,iGM:()=>Bf,MAs:()=>Dh,evT:()=>$d,Jf7:()=>Qd,CHM:()=>Si,oJD:()=>Ud,LSH:()=>il,B6R:()=>nt,Udp:()=>pc,WFA:()=>cc,d8E:()=>Tc,YNc:()=>Sh,W1O:()=>Zf,_uU:()=>Ap,Oqu:()=>gc,hij:()=>go,AsE:()=>_c,lnq:()=>Ac,HOy:()=>bc,xDo:()=>Cc,Gf:()=>Nf});var e=h(77579),c=h(50727),g=h(68306),w=h(56451),_=h(13099);function b(p){for(let m in p)if(p[m]===b)return m;throw Error("Could not find renamed property on target object.")}function E(p,m){for(const C in m)m.hasOwnProperty(C)&&!p.hasOwnProperty(C)&&(p[C]=m[C])}function v(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(v).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const C=m.indexOf("\n");return-1===C?m:m.substring(0,C)}function I(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const N=b({__forward_ref__:b});function A(p){return p.__forward_ref__=A,p.toString=function(){return v(this())},p}function q(p){return j(p)?p():p}function j(p){return"function"==typeof p&&p.hasOwnProperty(N)&&p.__forward_ref__===A}class Q extends Error{constructor(m,C){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,C)),this.code=m}}function F(p){return"string"==typeof p?p:null==p?"":String(p)}function be(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():F(p)}function R(p,m){const C=m?` in ${m}`:"";throw new Q(-201,`No provider for ${be(p)} found${C}`)}function P(p,m){null==p&&function de(p,m,C,y){throw new Error(`ASSERTION ERROR: ${p}`+(null==y?"":` [Expected=> ${C} ${y} ${m} <=Actual]`))}(m,p,null,"!=")}function fe(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function ne(p){return{providers:p.providers||[],imports:p.imports||[]}}function it(p){return Be(p,ae)||Be(p,ee)}function Be(p,m){return p.hasOwnProperty(m)?p[m]:null}function _e(p){return p&&(p.hasOwnProperty(Ae)||p.hasOwnProperty(Ne))?p[Ae]:null}const ae=b({\u0275prov:b}),Ae=b({\u0275inj:b}),ee=b({ngInjectableDef:b}),Ne=b({ngInjectorDef:b});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let H;function O(p){const m=H;return H=p,m}function i(p,m,C){const y=it(p);return y&&"root"==y.providedIn?void 0===y.value?y.value=y.factory():y.value:C&V.Optional?null:void 0!==m?m:void R(v(p),"Injector")}function u(p){return{toString:p}.toString()}var l=(()=>((l=l||{})[l.OnPush=0]="OnPush",l[l.Default=1]="Default",l))(),t=(()=>{return(p=t||(t={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",t;var p})();const r="undefined"!=typeof globalThis&&globalThis,a="undefined"!=typeof window&&window,d="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,x=r||"undefined"!=typeof global&&global||a||d,jt={},bt=[],Yt=b({\u0275cmp:b}),Ct=b({\u0275dir:b}),Nt=b({\u0275pipe:b}),He=b({\u0275mod:b}),je=b({\u0275fac:b}),Z=b({__NG_ELEMENT_ID__:b});let $=0;function oe(p){return u(()=>{const C={},y={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:C,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===l.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||bt,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||t.Emulated,id:"c",styles:p.styles||bt,_:null,setInput:null,schemas:p.schemas||null,tView:null},M=p.directives,S=p.features,B=p.pipes;return y.id+=$++,y.inputs=rt(p.inputs,C),y.outputs=rt(p.outputs),S&&S.forEach(re=>re(y)),y.directiveDefs=M?()=>("function"==typeof M?M():M).map(ct):null,y.pipeDefs=B?()=>("function"==typeof B?B():B).map(Rt):null,y})}function nt(p,m,C){const y=p.\u0275cmp;y.directiveDefs=()=>m.map(ct),y.pipeDefs=()=>C.map(Rt)}function ct(p){return Ht(p)||function Qt(p){return p[Ct]||null}(p)}function Rt(p){return function ni(p){return p[Nt]||null}(p)}const mt={};function Tt(p){return u(()=>{const m={type:p.type,bootstrap:p.bootstrap||bt,declarations:p.declarations||bt,imports:p.imports||bt,exports:p.exports||bt,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(mt[p.id]=p.type),m})}function rt(p,m){if(null==p)return jt;const C={};for(const y in p)if(p.hasOwnProperty(y)){let M=p[y],S=M;Array.isArray(M)&&(S=M[1],M=M[0]),C[M]=y,m&&(m[M]=S)}return C}const lt=oe;function ut(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function Ht(p){return p[Yt]||null}function hi(p,m){const C=p[He]||null;if(!C&&!0===m)throw new Error(`Type ${v(p)} does not have '\u0275mod' property.`);return C}function Wi(p){return Array.isArray(p)&&"object"==typeof p[1]}function sn(p){return Array.isArray(p)&&!0===p[1]}function An(p){return 0!=(8&p.flags)}function On(p){return 2==(2&p.flags)}function un(p){return 1==(1&p.flags)}function Ji(p){return null!==p.template}function ln(p){return 0!=(512&p[2])}function yn(p,m){return p.hasOwnProperty(je)?p[je]:null}class Qn{constructor(m,C,y){this.previousValue=m,this.currentValue=C,this.firstChange=y}isFirstChange(){return this.firstChange}}function Zn(){return wn}function wn(p){return p.type.prototype.ngOnChanges&&(p.setInput=Rn),Pn}function Pn(){const p=Hn(this),m=null==p?void 0:p.current;if(m){const C=p.previous;if(C===jt)p.previous=m;else for(let y in m)C[y]=m[y];p.current=null,this.ngOnChanges(m)}}function Rn(p,m,C,y){const M=Hn(p)||function mn(p,m){return p[xn]=m}(p,{previous:jt,current:null}),S=M.current||(M.current={}),B=M.previous,re=this.declaredInputs[C],Ee=B[re];S[re]=new Qn(Ee&&Ee.currentValue,m,B===jt),p[y]=m}Zn.ngInherit=!0;const xn="__ngSimpleChanges__";function Hn(p){return p[xn]||null}let k;function W(p){k=p}function Re(){return void 0!==k?k:"undefined"!=typeof document?document:void 0}function Et(p){return!!p.listen}const te={createRenderer:(p,m)=>Re()};function le(p){for(;Array.isArray(p);)p=p[0];return p}function zt(p,m){return le(m[p])}function Jt(p,m){return le(m[p.index])}function ui(p,m){return p.data[m]}function fi(p,m){return p[m]}function Ai(p,m){const C=m[p];return Wi(C)?C:C[0]}function Mi(p){return 4==(4&p[2])}function Bi(p){return 128==(128&p[2])}function De(p,m){return null==m?null:p[m]}function we(p){p[18]=0}function ht(p,m){p[5]+=m;let C=p,y=p[3];for(;null!==y&&(1===m&&1===C[5]||-1===m&&0===C[5]);)y[5]+=m,C=y,y=y[3]}const Zt={lFrame:ja(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Nn(){return Zt.bindingsEnabled}function ri(){return Zt.lFrame.lView}function ci(){return Zt.lFrame.tView}function Si(p){return Zt.lFrame.contextLView=p,p[8]}function _i(){let p=Fi();for(;null!==p&&64===p.type;)p=p.parent;return p}function Fi(){return Zt.lFrame.currentTNode}function tt(p,m){const C=Zt.lFrame;C.currentTNode=p,C.isParent=m}function Wt(){return Zt.lFrame.isParent}function xe(){Zt.lFrame.isParent=!1}function $t(){return Zt.isInCheckNoChangesMode}function bi(p){Zt.isInCheckNoChangesMode=p}function Ei(){const p=Zt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function Yi(){return Zt.lFrame.bindingIndex}function Wn(){return Zt.lFrame.bindingIndex++}function kn(p){const m=Zt.lFrame,C=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,C}function Va(p,m){const C=Zt.lFrame;C.bindingIndex=C.bindingRootIndex=p,Qs(m)}function Qs(p){Zt.lFrame.currentDirectiveIndex=p}function $s(p){const m=Zt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Fa(){return Zt.lFrame.currentQueryIndex}function es(p){Zt.lFrame.currentQueryIndex=p}function Lo(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function ts(p,m,C){if(C&V.SkipSelf){let M=m,S=p;for(;!(M=M.parent,null!==M||C&V.Host||(M=Lo(S),null===M||(S=S[15],10&M.type))););if(null===M)return!1;m=M,p=S}const y=Zt.lFrame=Ua();return y.currentTNode=m,y.lView=p,!0}function zr(p){const m=Ua(),C=p[1];Zt.lFrame=m,m.currentTNode=C.firstChild,m.lView=p,m.tView=C,m.contextLView=p,m.bindingIndex=C.bindingStartIndex,m.inI18n=!1}function Ua(){const p=Zt.lFrame,m=null===p?null:p.child;return null===m?ja(p):m}function ja(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function is(){const p=Zt.lFrame;return Zt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const Ks=is;function ns(){const p=is();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function Ln(){return Zt.lFrame.selectedIndex}function dr(p){Zt.lFrame.selectedIndex=p}function hn(){const p=Zt.lFrame;return ui(p.tView,p.selectedIndex)}function Za(){Zt.lFrame.currentNamespace="svg"}function Ga(){!function rs(){Zt.lFrame.currentNamespace=null}()}function ur(p,m){for(let C=m.directiveStart,y=m.directiveEnd;C=y)break}else m[Ee]<0&&(p[18]+=65536),(re>11>16&&(3&p[2])===m){p[2]+=2048;try{S.call(re)}finally{}}}else try{S.call(re)}finally{}}class Or{constructor(m,C,y){this.factory=m,this.resolving=!1,this.canSeeViewProviders=C,this.injectImpl=y}}function ds(p,m,C){const y=Et(p);let M=0;for(;Mm){B=S-1;break}}}for(;S>16}(p),y=m;for(;C>0;)y=y[15],C--;return y}let na=!0;function ra(p){const m=na;return na=p,m}let Ve=0;function At(p,m){const C=Ft(p,m);if(-1!==C)return C;const y=m[1];y.firstCreatePass&&(p.injectorIndex=m.length,Ot(y.data,p),Ot(m,null),Ot(y.blueprint,null));const M=Xt(p,m),S=p.injectorIndex;if(hs(M)){const B=Ur(M),re=Lr(M,m),Ee=re[1].data;for(let Xe=0;Xe<8;Xe++)m[S+Xe]=re[B+Xe]|Ee[B+Xe]}return m[S+8]=M,S}function Ot(p,m){p.push(0,0,0,0,0,0,0,0,m)}function Ft(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function Xt(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let C=0,y=null,M=m;for(;null!==M;){const S=M[1],B=S.type;if(y=2===B?S.declTNode:1===B?M[6]:null,null===y)return-1;if(C++,M=M[15],-1!==y.injectorIndex)return y.injectorIndex|C<<16}return-1}function Ci(p,m,C){!function Ke(p,m,C){let y;"string"==typeof C?y=C.charCodeAt(0)||0:C.hasOwnProperty(Z)&&(y=C[Z]),null==y&&(y=C[Z]=Ve++);const M=255&y;m.data[p+(M>>5)]|=1<=0?255&m:pr:m}(C);if("function"==typeof S){if(!ts(m,p,y))return y&V.Host?Di(M,C,y):Qi(m,C,y,M);try{const B=S(y);if(null!=B||y&V.Optional)return B;R(C)}finally{Ks()}}else if("number"==typeof S){let B=null,re=Ft(p,m),Ee=-1,Xe=y&V.Host?m[16][6]:null;for((-1===re||y&V.SkipSelf)&&(Ee=-1===re?Xt(p,m):m[re+8],-1!==Ee&&Ya(y,!1)?(B=m[1],re=Ur(Ee),m=Lr(Ee,m)):re=-1);-1!==re;){const dt=m[1];if(Br(S,re,dt.data)){const Mt=fr(re,m,C,B,y,Xe);if(Mt!==jr)return Mt}Ee=m[re+8],-1!==Ee&&Ya(y,m[1].data[re+8]===Xe)&&Br(S,re,m)?(B=dt,re=Ur(Ee),m=Lr(Ee,m)):re=-1}}}return Qi(m,C,y,M)}const jr={};function pr(){return new ps(_i(),ri())}function fr(p,m,C,y,M,S){const B=m[1],re=B.data[p+8],dt=Kn(re,B,C,null==y?On(re)&&na:y!=B&&0!=(3&re.type),M&V.Host&&S===re);return null!==dt?Er(m,B,dt,re):jr}function Kn(p,m,C,y,M){const S=p.providerIndexes,B=m.data,re=1048575&S,Ee=p.directiveStart,dt=S>>20,Vt=M?re+dt:p.directiveEnd;for(let qt=y?re:re+dt;qt=Ee&&ei.type===C)return qt}if(M){const qt=B[Ee];if(qt&&Ji(qt)&&qt.type===C)return Ee}return null}function Er(p,m,C,y){let M=p[C];const S=m.data;if(function hd(p){return p instanceof Or}(M)){const B=M;B.resolving&&function pe(p,m){const C=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new Q(-200,`Circular dependency in DI detected for ${p}${C}`)}(be(S[C]));const re=ra(B.canSeeViewProviders);B.resolving=!0;const Ee=B.injectImpl?O(B.injectImpl):null;ts(p,y,V.Default);try{M=p[C]=B.factory(void 0,S,p,y),m.firstCreatePass&&C>=y.directiveStart&&function as(p,m,C){const{ngOnChanges:y,ngOnInit:M,ngDoCheck:S}=m.type.prototype;if(y){const B=wn(m);(C.preOrderHooks||(C.preOrderHooks=[])).push(p,B),(C.preOrderCheckHooks||(C.preOrderCheckHooks=[])).push(p,B)}M&&(C.preOrderHooks||(C.preOrderHooks=[])).push(0-p,M),S&&((C.preOrderHooks||(C.preOrderHooks=[])).push(p,S),(C.preOrderCheckHooks||(C.preOrderCheckHooks=[])).push(p,S))}(C,S[C],m)}finally{null!==Ee&&O(Ee),ra(re),B.resolving=!1,Ks()}}return M}function Br(p,m,C){return!!(C[m+(p>>5)]&1<{const m=p.prototype.constructor,C=m[je]||Uo(m),y=Object.prototype;let M=Object.getPrototypeOf(p.prototype).constructor;for(;M&&M!==y;){const S=M[je]||Uo(M);if(S&&S!==C)return S;M=Object.getPrototypeOf(M)}return S=>new S})}function Uo(p){return j(p)?()=>{const m=Uo(q(p));return m&&m()}:yn(p)}function jo(p){return function Gi(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const C=p.attrs;if(C){const y=C.length;let M=0;for(;M{const y=function Zo(p){return function(...C){if(p){const y=p(...C);for(const M in y)this[M]=y[M]}}}(m);function M(...S){if(this instanceof M)return y.apply(this,S),this;const B=new M(...S);return re.annotation=B,re;function re(Ee,Xe,dt){const Mt=Ee.hasOwnProperty(ms)?Ee[ms]:Object.defineProperty(Ee,ms,{value:[]})[ms];for(;Mt.length<=dt;)Mt.push(null);return(Mt[dt]=Mt[dt]||[]).push(B),Ee}}return C&&(M.prototype=Object.create(C.prototype)),M.prototype.ngMetadataName=p,M.annotationCls=M,M})}class gn{constructor(m,C){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof C?this.__NG_ELEMENT_ID__=C:void 0!==C&&(this.\u0275prov=fe({token:this,providedIn:C.providedIn||"root",factory:C.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Hm=new gn("AnalyzeForEntryComponents");function ar(p,m){void 0===m&&(m=p);for(let C=0;CArray.isArray(C)?yr(C,m):m(C))}function _d(p,m,C){m>=p.length?p.push(C):p.splice(m,0,C)}function qa(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function oa(p,m){const C=[];for(let y=0;y=0?p[1|y]=C:(y=~y,function Nm(p,m,C,y){let M=p.length;if(M==m)p.push(C,y);else if(1===M)p.push(y,p[0]),p[0]=C;else{for(M--,p.push(p[M-1],p[M]);M>m;)p[M]=p[M-2],M--;p[m]=C,p[m+1]=y}}(p,y,m,C)),y}function zo(p,m){const C=As(p,m);if(C>=0)return p[1|C]}function As(p,m){return function Cd(p,m,C){let y=0,M=p.length>>C;for(;M!==y;){const S=y+(M-y>>1),B=p[S<m?M=S:y=S+1}return~(M<({token:p})),-1),Wr=da(_s("Optional"),8),bs=da(_s("SkipSelf"),4);let Ka,Xa;function vs(p){var m;return(null===(m=function Qo(){if(void 0===Ka&&(Ka=null,x.trustedTypes))try{Ka=x.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return Ka}())||void 0===m?void 0:m.createHTML(p))||p}function Dd(p){var m;return(null===(m=function $o(){if(void 0===Xa&&(Xa=null,x.trustedTypes))try{Xa=x.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return Xa}())||void 0===m?void 0:m.createHTML(p))||p}class Yr{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class lg extends Yr{getTypeName(){return"HTML"}}class cg extends Yr{getTypeName(){return"Style"}}class dg extends Yr{getTypeName(){return"Script"}}class ug extends Yr{getTypeName(){return"URL"}}class hg extends Yr{getTypeName(){return"ResourceURL"}}function Nr(p){return p instanceof Yr?p.changingThisBreaksApplicationSecurity:p}function Ts(p,m){const C=Id(p);if(null!=C&&C!==m){if("ResourceURL"===C&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${C} (see https://g.co/ng/security#xss)`)}return C===m}function Id(p){return p instanceof Yr&&p.getTypeName()||null}function pg(p){return new lg(p)}function fg(p){return new cg(p)}function mg(p){return new dg(p)}function gg(p){return new ug(p)}function _g(p){return new hg(p)}class Ag{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const C=(new window.DOMParser).parseFromString(vs(m),"text/html").body;return null===C?this.inertDocumentHelper.getInertBodyElement(m):(C.removeChild(C.firstChild),C)}catch(C){return null}}}class bg{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const C=this.inertDocument.createElement("html");this.inertDocument.appendChild(C);const y=this.inertDocument.createElement("body");C.appendChild(y)}}getInertBodyElement(m){const C=this.inertDocument.createElement("template");if("content"in C)return C.innerHTML=vs(m),C;const y=this.inertDocument.createElement("body");return y.innerHTML=vs(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(y),y}stripCustomNsAttrs(m){const C=m.attributes;for(let M=C.length-1;0pa(m.trim())).join(", ")),this.buf.push(" ",B,'="',Vd(Ee),'"')}var p;return this.buf.push(">"),!0}endElement(m){const C=m.nodeName.toLowerCase();Ko.hasOwnProperty(C)&&!Ld.hasOwnProperty(C)&&(this.buf.push(""))}chars(m){this.buf.push(Vd(m))}checkClobberedElement(m,C){if(C&&(m.compareDocumentPosition(C)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return C}}const wg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xg=/([^\#-~ |!])/g;function Vd(p){return p.replace(/&/g,"&").replace(wg,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(xg,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let eo;function Fd(p,m){let C=null;try{eo=eo||function Od(p){const m=new bg(p);return function Cg(){try{return!!(new window.DOMParser).parseFromString(vs(""),"text/html")}catch(p){return!1}}()?new Ag(m):m}(p);let y=m?String(m):"";C=eo.getInertBodyElement(y);let M=5,S=y;do{if(0===M)throw new Error("Failed to sanitize html because the input is unstable");M--,y=S,S=C.innerHTML,C=eo.getInertBodyElement(y)}while(y!==S);return vs((new yg).sanitizeChildren(tl(C)||C))}finally{if(C){const y=tl(C)||C;for(;y.firstChild;)y.removeChild(y.firstChild)}}}function tl(p){return"content"in p&&function Mg(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var Tn=(()=>((Tn=Tn||{})[Tn.NONE=0]="NONE",Tn[Tn.HTML=1]="HTML",Tn[Tn.STYLE=2]="STYLE",Tn[Tn.SCRIPT=3]="SCRIPT",Tn[Tn.URL=4]="URL",Tn[Tn.RESOURCE_URL=5]="RESOURCE_URL",Tn))();function Ud(p){const m=ma();return m?Dd(m.sanitize(Tn.HTML,p)||""):Ts(p,"HTML")?Dd(Nr(p)):Fd(Re(),F(p))}function il(p){const m=ma();return m?m.sanitize(Tn.URL,p)||"":Ts(p,"URL")?Nr(p):pa(F(p))}function ma(){const p=ri();return p&&p[12]}const Gd="__ngContext__";function Fn(p,m){p[Gd]=m}function rl(p){const m=function ga(p){return p[Gd]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function al(p){return p.ngOriginalError}function Zg(p,...m){p.error(...m)}class _a{constructor(){this._console=console}handleError(m){const C=this._findOriginalError(m),y=function jg(p){return p&&p.ngErrorLogger||Zg}(m);y(this._console,"ERROR",m),C&&y(this._console,"ORIGINAL ERROR",C)}_findOriginalError(m){let C=m&&al(m);for(;C&&al(C);)C=al(C);return C||null}}const Jd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(x))();function Qd(p){return p.ownerDocument.defaultView}function $d(p){return p.ownerDocument}function xr(p){return p instanceof Function?p():p}var Mr=(()=>((Mr=Mr||{})[Mr.Important=1]="Important",Mr[Mr.DashCase=2]="DashCase",Mr))();function ll(p,m){return undefined(p,m)}function Aa(p){const m=p[3];return sn(m)?m[3]:m}function cl(p){return iu(p[13])}function dl(p){return iu(p[4])}function iu(p){for(;null!==p&&!sn(p);)p=p[4];return p}function ys(p,m,C,y,M){if(null!=y){let S,B=!1;sn(y)?S=y:Wi(y)&&(B=!0,y=y[0]);const re=le(y);0===p&&null!==C?null==M?lu(m,C,re):qr(m,C,re,M||null,!0):1===p&&null!==C?qr(m,C,re,M||null,!0):2===p?function mu(p,m,C){const y=to(p,m);y&&function d_(p,m,C,y){Et(p)?p.removeChild(m,C,y):m.removeChild(C)}(p,y,m,C)}(m,re,B):3===p&&m.destroyNode(re),null!=S&&function p_(p,m,C,y,M){const S=C[7];S!==le(C)&&ys(m,p,y,S,M);for(let re=10;re0&&(p[C-1][4]=y[4]);const S=qa(p,10+m);!function i_(p,m){ba(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(y[1],y);const B=S[19];null!==B&&B.detachView(S[1]),y[3]=null,y[4]=null,y[2]&=-129}return y}function su(p,m){if(!(256&m[2])){const C=m[11];Et(C)&&C.destroyNode&&ba(p,m,C,3,null,null),function s_(p){let m=p[13];if(!m)return fl(p[1],p);for(;m;){let C=null;if(Wi(m))C=m[13];else{const y=m[10];y&&(C=y)}if(!C){for(;m&&!m[4]&&m!==p;)Wi(m)&&fl(m[1],m),m=m[3];null===m&&(m=p),Wi(m)&&fl(m[1],m),C=m&&m[4]}m=C}}(m)}}function fl(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function c_(p,m){let C;if(null!=p&&null!=(C=p.destroyHooks))for(let y=0;y=0?y[M=Xe]():y[M=-Xe].unsubscribe(),S+=2}else{const B=y[M=C[S+1]];C[S].call(B)}if(null!==y){for(let S=M+1;SS?"":M[Mt+1].toLowerCase();const qt=8&y?Vt:null;if(qt&&-1!==Au(qt,Xe,0)||2&y&&Xe!==Vt){if(gr(y))return!1;B=!0}}}}else{if(!B&&!gr(y)&&!gr(Ee))return!1;if(B&&gr(Ee))continue;B=!1,y=Ee|1&y}}return gr(y)||B}function gr(p){return 0==(1&p)}function A_(p,m,C,y){if(null===m)return-1;let M=0;if(y||!C){let S=!1;for(;M-1)for(C++;C0?'="'+re+'"':"")+"]"}else 8&y?M+="."+B:4&y&&(M+=" "+B);else""!==M&&!gr(B)&&(m+=Tu(S,M),M=""),y=B,S=S||!gr(y);C++}return""!==M&&(m+=Tu(S,M)),m}const Ni={};function Eu(p){yu(ci(),ri(),Ln()+p,$t())}function yu(p,m,C,y){if(!y)if(3==(3&m[2])){const S=p.preOrderCheckHooks;null!==S&&os(m,S,C)}else{const S=p.preOrderHooks;null!==S&&ls(m,S,0,C)}dr(C)}function ro(p,m){return p<<17|m<<2}function _r(p){return p>>17&32767}function bl(p){return 2|p}function kr(p){return(131068&p)>>2}function Cl(p,m){return-131069&p|m<<2}function vl(p){return 1|p}function Lu(p,m){const C=p.contentQueries;if(null!==C)for(let y=0;y20&&yu(p,m,20,$t()),C(y,M)}finally{dr(S)}}function Nu(p,m,C){if(An(m)){const M=m.directiveEnd;for(let S=m.directiveStart;S0;){const C=p[--m];if("number"==typeof C&&C<0)return C}return 0})(re)!=Ee&&re.push(Ee),re.push(y,M,B)}}function zu(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function Wu(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function K_(p,m,C){if(C){if(m.exportAs)for(let y=0;y0&&Ll(C)}}function Ll(p){for(let y=cl(p);null!==y;y=dl(y))for(let M=10;M0&&Ll(S)}const C=p[1].components;if(null!==C)for(let y=0;y0&&Ll(M)}}function sA(p,m){const C=Ai(m,p),y=C[1];(function aA(p,m){for(let C=m.length;CPromise.resolve(null))();function $u(p){return p[7]||(p[7]=[])}function Ku(p){return p.cleanup||(p.cleanup=[])}function Xu(p,m,C){return(null===p||Ji(p))&&(C=function et(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(C[m.index])),C[11]}function eh(p,m){const C=p[9],y=C?C.get(_a,null):null;y&&y.handleError(m)}function th(p,m,C,y,M){for(let S=0;Sthis.processProvider(re,m,C)),yr([m],re=>this.processInjectorType(re,[],S)),this.records.set(Fl,Ss(void 0,this));const B=this.records.get(Ul);this.scope=null!=B?B.value:null,this.source=M||("object"==typeof m?null:v(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,C=la,y=V.Default){this.assertNotDestroyed();const M=Ed(this),S=O(void 0);try{if(!(y&V.SkipSelf)){let re=this.records.get(m);if(void 0===re){const Ee=function TA(p){return"function"==typeof p||"object"==typeof p&&p instanceof gn}(m)&&it(m);re=Ee&&this.injectableDefInScope(Ee)?Ss(Zl(m),Ta):null,this.records.set(m,re)}if(null!=re)return this.hydrate(m,re)}return(y&V.Self?nh():this.parent).get(m,C=y&V.Optional&&C===la?null:C)}catch(B){if("NullInjectorError"===B.name){if((B[Qa]=B[Qa]||[]).unshift(v(m)),M)throw B;return function Qm(p,m,C,y){const M=p[Qa];throw m[Td]&&M.unshift(m[Td]),p.message=function $m(p,m,C,y=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let M=v(m);if(Array.isArray(m))M=m.map(v).join(" -> ");else if("object"==typeof m){let S=[];for(let B in m)if(m.hasOwnProperty(B)){let re=m[B];S.push(B+":"+("string"==typeof re?JSON.stringify(re):v(re)))}M=`{${S.join(", ")}}`}return`${C}${y?"("+y+")":""}[${M}]: ${p.replace(Gm,"\n ")}`}("\n"+p.message,M,C,y),p.ngTokenPath=M,p[Qa]=null,p}(B,m,"R3InjectorError",this.source)}throw B}finally{O(S),Ed(M)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((y,M)=>m.push(v(M))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Q(205,!1)}processInjectorType(m,C,y){if(!(m=q(m)))return!1;let M=_e(m);const S=null==M&&m.ngModule||void 0,B=void 0===S?m:S,re=-1!==y.indexOf(B);if(void 0!==S&&(M=_e(S)),null==M)return!1;if(null!=M.imports&&!re){let dt;y.push(B);try{yr(M.imports,Mt=>{this.processInjectorType(Mt,C,y)&&(void 0===dt&&(dt=[]),dt.push(Mt))})}finally{}if(void 0!==dt)for(let Mt=0;Mtthis.processProvider(ei,Vt,qt||bt))}}this.injectorDefTypes.add(B);const Ee=yn(B)||(()=>new B);this.records.set(B,Ss(Ee,Ta));const Xe=M.providers;if(null!=Xe&&!re){const dt=m;yr(Xe,Mt=>this.processProvider(Mt,dt,Xe))}return void 0!==S&&void 0!==m.providers}processProvider(m,C,y){let M=Ds(m=q(m))?m:q(m&&m.provide);const S=function gA(p,m,C){return oh(p)?Ss(void 0,p.useValue):Ss(ah(p),Ta)}(m);if(Ds(m)||!0!==m.multi)this.records.get(M);else{let B=this.records.get(M);B||(B=Ss(void 0,Ta,!0),B.factory=()=>qo(B.multi),this.records.set(M,B)),M=m,B.multi.push(m)}this.records.set(M,S)}hydrate(m,C){return C.value===Ta&&(C.value=pA,C.value=C.factory()),"object"==typeof C.value&&C.value&&function vA(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(C.value)&&this.onDestroy.add(C.value),C.value}injectableDefInScope(m){if(!m.providedIn)return!1;const C=q(m.providedIn);return"string"==typeof C?"any"===C||C===this.scope:this.injectorDefTypes.has(C)}}function Zl(p){const m=it(p),C=null!==m?m.factory:yn(p);if(null!==C)return C;if(p instanceof gn)throw new Q(204,!1);if(p instanceof Function)return function mA(p){const m=p.length;if(m>0)throw oa(m,"?"),new Q(204,!1);const C=function ze(p){const m=p&&(p[ae]||p[ee]);if(m){const C=function Ue(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${C}" 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 "${C}" class.`),m}return null}(p);return null!==C?()=>C.factory(p):()=>new p}(p);throw new Q(204,!1)}function ah(p,m,C){let y;if(Ds(p)){const M=q(p);return yn(M)||Zl(M)}if(oh(p))y=()=>q(p.useValue);else if(function AA(p){return!(!p||!p.useFactory)}(p))y=()=>p.useFactory(...qo(p.deps||[]));else if(function _A(p){return!(!p||!p.useExisting)}(p))y=()=>In(q(p.useExisting));else{const M=q(p&&(p.useClass||p.provide));if(!function CA(p){return!!p.deps}(p))return yn(M)||Zl(M);y=()=>new M(...qo(p.deps))}return y}function Ss(p,m,C=!1){return{factory:p,value:m,multi:C?[]:void 0}}function oh(p){return null!==p&&"object"==typeof p&&Wm in p}function Ds(p){return"function"==typeof p}let or=(()=>{class p{static create(C,y){var M;if(Array.isArray(C))return rh({name:""},y,C,"");{const S=null!==(M=C.name)&&void 0!==M?M:"";return rh({name:S},C.parent,C.providers,S)}}}return p.THROW_IF_NOT_FOUND=la,p.NULL=new ih,p.\u0275prov=fe({token:p,providedIn:"any",factory:()=>In(Fl)}),p.__NG_ELEMENT_ID__=-1,p})();function PA(p,m){ur(rl(p)[1],_i())}function Wl(p){let m=function bh(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),C=!0;const y=[p];for(;m;){let M;if(Ji(p))M=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new Q(903,"");M=m.\u0275dir}if(M){if(C){y.push(M);const B=p;B.inputs=Yl(p.inputs),B.declaredInputs=Yl(p.declaredInputs),B.outputs=Yl(p.outputs);const re=M.hostBindings;re&&HA(p,re);const Ee=M.viewQuery,Xe=M.contentQueries;if(Ee&&IA(p,Ee),Xe&&OA(p,Xe),E(p.inputs,M.inputs),E(p.declaredInputs,M.declaredInputs),E(p.outputs,M.outputs),Ji(M)&&M.data.animation){const dt=p.data;dt.animation=(dt.animation||[]).concat(M.data.animation)}}const S=M.features;if(S)for(let B=0;B=0;y--){const M=p[y];M.hostVars=m+=M.hostVars,M.hostAttrs=us(M.hostAttrs,C=us(C,M.hostAttrs))}}(y)}function Yl(p){return p===jt?{}:p===bt?[]:p}function IA(p,m){const C=p.viewQuery;p.viewQuery=C?(y,M)=>{m(y,M),C(y,M)}:m}function OA(p,m){const C=p.contentQueries;p.contentQueries=C?(y,M,S)=>{m(y,M,S),C(y,M,S)}:m}function HA(p,m){const C=p.hostBindings;p.hostBindings=C?(y,M)=>{m(y,M),C(y,M)}:m}let uo=null;function Ps(){if(!uo){const p=x.Symbol;if(p&&p.iterator)uo=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let C=0;Cre(le(Zi[y.index])):y.index;if(Et(C)){let Zi=null;if(!re&&Ee&&(Zi=function db(p,m,C,y){const M=p.cleanup;if(null!=M)for(let S=0;SEe?re[Ee]:null}"string"==typeof B&&(S+=2)}return null}(p,m,M,y.index)),null!==Zi)(Zi.__ngLastListenerFn__||Zi).__ngNextListenerFn__=S,Zi.__ngLastListenerFn__=S,qt=!1;else{S=dc(y,m,Mt,S,!1);const en=C.listen(Ti,M,S);Vt.push(S,en),dt&&dt.push(M,Pi,ii,ii+1)}}else S=dc(y,m,Mt,S,!0),Ti.addEventListener(M,S,B),Vt.push(S),dt&&dt.push(M,Pi,ii,B)}else S=dc(y,m,Mt,S,!1);const ei=y.outputs;let di;if(qt&&null!==ei&&(di=ei[M])){const mi=di.length;if(mi)for(let Ti=0;Ti0;)m=m[15],p--;return m}(p,Zt.lFrame.contextLView))[8]}(p)}function ub(p,m){let C=null;const y=function b_(p){const m=p.attrs;if(null!=m){const C=m.indexOf(5);if(0==(1&C))return m[C+1]}return null}(p);for(let M=0;M=0}const Sn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sp(p){return p.substring(Sn.key,Sn.keyEnd)}function ap(p,m){const C=Sn.textEnd;return C===m?-1:(m=Sn.keyEnd=function Ab(p,m,C){for(;m32;)m++;return m}(p,Sn.key=m,C),Us(p,m,C))}function Us(p,m,C){for(;m=0;C=ap(m,C))Xn(p,sp(m),!0)}function br(p,m,C,y){const M=ri(),S=ci(),B=kn(2);S.firstUpdatePass&&pp(S,p,B,y),m!==Ni&&Un(M,B,m)&&mp(S,S.data[Ln()],M,M[11],p,M[B+1]=function Sb(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=v(Nr(p)))),p}(m,C),y,B)}function Cr(p,m,C,y){const M=ci(),S=kn(2);M.firstUpdatePass&&pp(M,null,S,y);const B=ri();if(C!==Ni&&Un(B,S,C)){const re=M.data[Ln()];if(_p(re,y)&&!hp(M,S)){let Ee=y?re.classesWithoutHost:re.stylesWithoutHost;null!==Ee&&(C=I(Ee,C||"")),ic(M,re,B,C,y)}else!function Mb(p,m,C,y,M,S,B,re){M===Ni&&(M=bt);let Ee=0,Xe=0,dt=0=p.expandoStartIndex}function pp(p,m,C,y){const M=p.data;if(null===M[C+1]){const S=M[Ln()],B=hp(p,C);_p(S,y)&&null===m&&!B&&(m=!1),m=function Tb(p,m,C,y){const M=$s(p);let S=y?m.residualClasses:m.residualStyles;if(null===M)0===(y?m.classBindings:m.styleBindings)&&(C=xa(C=mc(null,p,m,C,y),m.attrs,y),S=null);else{const B=m.directiveStylingLast;if(-1===B||p[B]!==M)if(C=mc(M,p,m,C,y),null===S){let Ee=function Eb(p,m,C){const y=C?m.classBindings:m.styleBindings;if(0!==kr(y))return p[_r(y)]}(p,m,y);void 0!==Ee&&Array.isArray(Ee)&&(Ee=mc(null,p,m,Ee[1],y),Ee=xa(Ee,m.attrs,y),function yb(p,m,C,y){p[_r(C?m.classBindings:m.styleBindings)]=y}(p,m,y,Ee))}else S=function wb(p,m,C){let y;const M=m.directiveEnd;for(let S=1+m.directiveStylingLast;S0)&&(Xe=!0)}else dt=C;if(M)if(0!==Ee){const Vt=_r(p[re+1]);p[y+1]=ro(Vt,re),0!==Vt&&(p[Vt+1]=Cl(p[Vt+1],y)),p[re+1]=function x_(p,m){return 131071&p|m<<17}(p[re+1],y)}else p[y+1]=ro(re,0),0!==re&&(p[re+1]=Cl(p[re+1],y)),re=y;else p[y+1]=ro(Ee,0),0===re?re=y:p[Ee+1]=Cl(p[Ee+1],y),Ee=y;Xe&&(p[y+1]=bl(p[y+1])),rp(p,dt,y,!0),rp(p,dt,y,!1),function pb(p,m,C,y,M){const S=M?p.residualClasses:p.residualStyles;null!=S&&"string"==typeof m&&As(S,m)>=0&&(C[y+1]=vl(C[y+1]))}(m,dt,p,y,S),B=ro(re,Ee),S?m.classBindings=B:m.styleBindings=B}(M,S,m,C,B,y)}}function mc(p,m,C,y,M){let S=null;const B=C.directiveEnd;let re=C.directiveStylingLast;for(-1===re?re=C.directiveStart:re++;re0;){const Ee=p[M],Xe=Array.isArray(Ee),dt=Xe?Ee[1]:Ee,Mt=null===dt;let Vt=C[M+1];Vt===Ni&&(Vt=Mt?bt:void 0);let qt=Mt?zo(Vt,y):dt===y?Vt:void 0;if(Xe&&!mo(qt)&&(qt=zo(Ee,y)),mo(qt)&&(re=qt,B))return re;const ei=p[M+1];M=B?_r(ei):kr(ei)}if(null!==m){let Ee=S?m.residualClasses:m.residualStyles;null!=Ee&&(re=zo(Ee,y))}return re}function mo(p){return void 0!==p}function _p(p,m){return 0!=(p.flags&(m?16:32))}function Ap(p,m=""){const C=ri(),y=ci(),M=p+20,S=y.firstCreatePass?ws(y,M,1,m,null):y.data[M],B=C[M]=function ul(p,m){return Et(p)?p.createText(m):p.createTextNode(m)}(C[11],m);io(y,C,B,S),tt(S,!1)}function gc(p){return go("",p,""),gc}function go(p,m,C){const y=ri(),M=Is(y,p,m,C);return M!==Ni&&Vr(y,Ln(),M),go}function _c(p,m,C,y,M){const S=ri(),B=Os(S,p,m,C,y,M);return B!==Ni&&Vr(S,Ln(),B),_c}function Ac(p,m,C,y,M,S,B){const re=ri(),Ee=function Hs(p,m,C,y,M,S,B,re){const Xe=ho(p,Yi(),C,M,B);return kn(3),Xe?m+F(C)+y+F(M)+S+F(B)+re:Ni}(re,p,m,C,y,M,S,B);return Ee!==Ni&&Vr(re,Ln(),Ee),Ac}function bc(p,m,C,y,M,S,B,re,Ee){const Xe=ri(),dt=function Ls(p,m,C,y,M,S,B,re,Ee,Xe){const Mt=lr(p,Yi(),C,M,B,Ee);return kn(4),Mt?m+F(C)+y+F(M)+S+F(B)+re+F(Ee)+Xe:Ni}(Xe,p,m,C,y,M,S,B,re,Ee);return dt!==Ni&&Vr(Xe,Ln(),dt),bc}function Cc(p,m,C,y,M,S,B,re,Ee,Xe,dt){const Mt=ri(),Vt=function Bs(p,m,C,y,M,S,B,re,Ee,Xe,dt,Mt){const Vt=Yi();let qt=lr(p,Vt,C,M,B,Ee);return qt=Un(p,Vt+4,dt)||qt,kn(5),qt?m+F(C)+y+F(M)+S+F(B)+re+F(Ee)+Xe+F(dt)+Mt:Ni}(Mt,p,m,C,y,M,S,B,re,Ee,Xe,dt);return Vt!==Ni&&Vr(Mt,Ln(),Vt),Cc}function Ep(p,m,C){Cr(Xn,Rr,Is(ri(),p,m,C),!0)}function vc(p,m,C){const y=ri();return Un(y,Wn(),m)&&er(ci(),hn(),y,p,m,y[11],C,!0),vc}function Tc(p,m,C){const y=ri();if(Un(y,Wn(),m)){const S=ci(),B=hn();er(S,B,y,p,m,Xu($s(S.data),B,y),C,!0)}return Tc}const Qr=void 0;var Yb=["en",[["a","p"],["AM","PM"],Qr],[["AM","PM"],Qr,Qr],[["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"]],Qr,[["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"]],Qr,[["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}",Qr,"{1} 'at' {0}",Qr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Wb(p){const C=Math.floor(Math.abs(p)),y=p.toString().replace(/^[^.]*\.?/,"").length;return 1===C&&0===y?1:5}];let js={};function Ec(p){const m=function qb(p){return p.toLowerCase().replace(/_/g,"-")}(p);let C=Hp(m);if(C)return C;const y=m.split("-")[0];if(C=Hp(y),C)return C;if("en"===y)return Yb;throw new Error(`Missing locale data for the locale "${p}".`)}function Op(p){return Ec(p)[Ri.PluralCase]}function Hp(p){return p in js||(js[p]=x.ng&&x.ng.common&&x.ng.common.locales&&x.ng.common.locales[p]),js[p]}var Ri=(()=>((Ri=Ri||{})[Ri.LocaleId=0]="LocaleId",Ri[Ri.DayPeriodsFormat=1]="DayPeriodsFormat",Ri[Ri.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ri[Ri.DaysFormat=3]="DaysFormat",Ri[Ri.DaysStandalone=4]="DaysStandalone",Ri[Ri.MonthsFormat=5]="MonthsFormat",Ri[Ri.MonthsStandalone=6]="MonthsStandalone",Ri[Ri.Eras=7]="Eras",Ri[Ri.FirstDayOfWeek=8]="FirstDayOfWeek",Ri[Ri.WeekendRange=9]="WeekendRange",Ri[Ri.DateFormat=10]="DateFormat",Ri[Ri.TimeFormat=11]="TimeFormat",Ri[Ri.DateTimeFormat=12]="DateTimeFormat",Ri[Ri.NumberSymbols=13]="NumberSymbols",Ri[Ri.NumberFormats=14]="NumberFormats",Ri[Ri.CurrencyCode=15]="CurrencyCode",Ri[Ri.CurrencySymbol=16]="CurrencySymbol",Ri[Ri.CurrencyName=17]="CurrencyName",Ri[Ri.Currencies=18]="Currencies",Ri[Ri.Directionality=19]="Directionality",Ri[Ri.PluralCase=20]="PluralCase",Ri[Ri.ExtraData=21]="ExtraData",Ri))();const _o="en-US";let Lp=_o;function xc(p,m,C,y,M){if(p=q(p),Array.isArray(p))for(let S=0;S>20;if(Ds(p)||!p.multi){const qt=new Or(Ee,M,wa),ei=Sc(re,m,M?dt:dt+Vt,Mt);-1===ei?(Ci(At(Xe,B),S,re),Mc(S,p,m.length),m.push(re),Xe.directiveStart++,Xe.directiveEnd++,M&&(Xe.providerIndexes+=1048576),C.push(qt),B.push(qt)):(C[ei]=qt,B[ei]=qt)}else{const qt=Sc(re,m,dt+Vt,Mt),ei=Sc(re,m,dt,dt+Vt),di=qt>=0&&C[qt],mi=ei>=0&&C[ei];if(M&&!mi||!M&&!di){Ci(At(Xe,B),S,re);const Ti=function WC(p,m,C,y,M){const S=new Or(p,C,wa);return S.multi=[],S.index=m,S.componentProviders=0,af(S,M,y&&!C),S}(M?zC:GC,C.length,M,y,Ee);!M&&mi&&(C[ei].providerFactory=Ti),Mc(S,p,m.length,0),m.push(re),Xe.directiveStart++,Xe.directiveEnd++,M&&(Xe.providerIndexes+=1048576),C.push(Ti),B.push(Ti)}else Mc(S,p,qt>-1?qt:ei,af(C[M?ei:qt],Ee,!M&&y));!M&&y&&mi&&C[ei].componentProviders++}}}function Mc(p,m,C,y){const M=Ds(m),S=function bA(p){return!!p.useClass}(m);if(M||S){const Ee=(S?q(m.useClass):m).prototype.ngOnDestroy;if(Ee){const Xe=p.destroyHooks||(p.destroyHooks=[]);if(!M&&m.multi){const dt=Xe.indexOf(C);-1===dt?Xe.push(C,[y,Ee]):Xe[dt+1].push(y,Ee)}else Xe.push(C,Ee)}}}function af(p,m,C){return C&&p.componentProviders++,p.multi.push(m)-1}function Sc(p,m,C,y){for(let M=C;M{C.providersResolver=(y,M)=>function ZC(p,m,C){const y=ci();if(y.firstCreatePass){const M=Ji(p);xc(C,y.data,y.blueprint,M,!0),xc(m,y.data,y.blueprint,M,!1)}}(y,M?M(p):p,m)}}class lf{}class JC{resolveComponentFactory(m){throw function qC(p){const m=Error(`No component factory found for ${v(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let Ra=(()=>{class p{}return p.NULL=new JC,p})();function QC(){return Gs(_i(),ri())}function Gs(p,m){return new Ia(Jt(p,m))}let Ia=(()=>{class p{constructor(C){this.nativeElement=C}}return p.__NG_ELEMENT_ID__=QC,p})();function $C(p){return p instanceof Ia?p.nativeElement:p}class df{}let KC=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function ev(){const p=ri(),C=Ai(_i().index,p);return function XC(p){return p[11]}(Wi(C)?C:p)}(),p})(),tv=(()=>{class p{}return p.\u0275prov=fe({token:p,providedIn:"root",factory:()=>null}),p})();class uf{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const iv=new uf("13.2.2"),Pc={};function To(p,m,C,y,M=!1){for(;null!==C;){const S=m[C.index];if(null!==S&&y.push(le(S)),sn(S))for(let re=10;re-1&&(pl(m,y),qa(C,y))}this._attachedToViewContainer=!1}su(this._lView[1],this._lView)}onDestroy(m){Uu(this._lView[1],this._lView,null,m)}markForCheck(){Bl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){kl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function lA(p,m,C){bi(!0);try{kl(p,m,C)}finally{bi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Q(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function r_(p,m){ba(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new Q(902,"");this._appRef=m}}class nv extends Oa{constructor(m){super(m),this._view=m}detectChanges(){Qu(this._view)}checkNoChanges(){!function cA(p){bi(!0);try{Qu(p)}finally{bi(!1)}}(this._view)}get context(){return null}}class hf extends Ra{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const C=Ht(m);return new Rc(C,this.ngModule)}}function pf(p){const m=[];for(let C in p)p.hasOwnProperty(C)&&m.push({propName:p[C],templateName:C});return m}const sv=new gn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Jd});class Rc extends lf{constructor(m,C){super(),this.componentDef=m,this.ngModule=C,this.componentType=m.type,this.selector=function y_(p){return p.map(E_).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!C}get inputs(){return pf(this.componentDef.inputs)}get outputs(){return pf(this.componentDef.outputs)}create(m,C,y,M){const S=(M=M||this.ngModule)?function av(p,m){return{get:(C,y,M)=>{const S=p.get(C,Pc,M);return S!==Pc||y===Pc?S:m.get(C,y,M)}}}(m,M.injector):m,B=S.get(df,te),re=S.get(tv,null),Ee=B.createRenderer(null,this.componentDef),Xe=this.componentDef.selectors[0][0]||"div",dt=y?function Fu(p,m,C){if(Et(p))return p.selectRootElement(m,C===t.ShadowDom);let y="string"==typeof m?p.querySelector(m):m;return y.textContent="",y}(Ee,y,this.componentDef.encapsulation):hl(B.createRenderer(null,this.componentDef),Xe,function rv(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(Xe)),Mt=this.componentDef.onPush?576:528,Vt=function Ah(p,m){return{components:[],scheduler:p||Jd,clean:dA,playerHandler:m||null,flags:0}}(),qt=oo(0,null,null,1,0,null,null,null,null,null),ei=Ca(null,qt,Vt,Mt,null,null,B,Ee,re,S);let di,mi;zr(ei);try{const Ti=function gh(p,m,C,y,M,S){const B=C[1];C[20]=p;const Ee=ws(B,20,2,"#host",null),Xe=Ee.mergedAttrs=m.hostAttrs;null!==Xe&&(co(Ee,Xe,!0),null!==p&&(ds(M,p,Xe),null!==Ee.classes&&Al(M,p,Ee.classes),null!==Ee.styles&&_u(M,p,Ee.styles)));const dt=y.createRenderer(p,m),Mt=Ca(C,ku(m),null,m.onPush?64:16,C[20],Ee,y,dt,S||null,null);return B.firstCreatePass&&(Ci(At(Ee,C),B,m.type),Wu(B,Ee),Yu(Ee,C.length,1)),lo(C,Mt),C[20]=Mt}(dt,this.componentDef,ei,B,Ee);if(dt)if(y)ds(Ee,dt,["ng-version",iv.full]);else{const{attrs:ii,classes:Pi}=function w_(p){const m=[],C=[];let y=1,M=2;for(;y0&&Al(Ee,dt,Pi.join(" "))}if(mi=ui(qt,20),void 0!==C){const ii=mi.projection=[];for(let Pi=0;PiEe(B,m)),m.contentQueries){const Ee=_i();m.contentQueries(1,B,Ee.directiveStart)}const re=_i();return!S.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(dr(re.index),Gu(C[1],re,0,re.directiveStart,re.directiveEnd,m),zu(m,B)),B}(Ti,this.componentDef,ei,Vt,[PA]),va(qt,ei,null)}finally{ns()}return new lv(this.componentType,di,Gs(mi,ei),ei,mi)}}class lv extends class YC{}{constructor(m,C,y,M,S){super(),this.location=y,this._rootLView=M,this._tNode=S,this.instance=C,this.hostView=this.changeDetectorRef=new nv(M),this.componentType=m}get injector(){return new ps(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class zs{}class ff{}const Ws=new Map;class _f extends zs{constructor(m,C){super(),this._parent=C,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hf(this);const y=hi(m);this._bootstrapComponents=xr(y.bootstrap),this._r3Injector=sh(m,C,[{provide:zs,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver}],v(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,C=or.THROW_IF_NOT_FOUND,y=V.Default){return m===or||m===zs||m===Fl?this:this._r3Injector.get(m,C,y)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(C=>C()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class Ic extends ff{constructor(m){super(),this.moduleType=m,null!==hi(m)&&function dv(p){const m=new Set;!function C(y){const M=hi(y,!0),S=M.id;null!==S&&(function mf(p,m,C){if(m&&m!==C)throw new Error(`Duplicate module registered for ${p} - ${v(m)} vs ${v(m.name)}`)}(S,Ws.get(S),y),Ws.set(S,y));const B=xr(M.imports);for(const re of B)m.has(re)||(m.add(re),C(re))}(p)}(m)}create(m){return new _f(this.moduleType,m)}}function Af(p,m,C){const y=Ei()+p,M=ri();return M[y]===Ni?Dr(M,y,C?m.call(C):m()):function ya(p,m){return p[m]}(M,y)}function bf(p,m,C,y){return Tf(ri(),Ei(),p,m,C,y)}function Cf(p,m,C,y,M){return Ef(ri(),Ei(),p,m,C,y,M)}function vf(p,m,C,y,M,S){return yf(ri(),Ei(),p,m,C,y,M,S)}function Ha(p,m){const C=p[m];return C===Ni?void 0:C}function Tf(p,m,C,y,M,S){const B=m+C;return Un(p,B,M)?Dr(p,B+1,S?y.call(S,M):y(M)):Ha(p,B+1)}function Ef(p,m,C,y,M,S,B){const re=m+C;return Jr(p,re,M,S)?Dr(p,re+2,B?y.call(B,M,S):y(M,S)):Ha(p,re+2)}function yf(p,m,C,y,M,S,B,re){const Ee=m+C;return ho(p,Ee,M,S,B)?Dr(p,Ee+3,re?y.call(re,M,S,B):y(M,S,B)):Ha(p,Ee+3)}function Mf(p,m){const C=ci();let y;const M=p+20;C.firstCreatePass?(y=function _v(p,m){if(m)for(let C=m.length-1;C>=0;C--){const y=m[C];if(p===y.name)return y}}(m,C.pipeRegistry),C.data[M]=y,y.onDestroy&&(C.destroyHooks||(C.destroyHooks=[])).push(M,y.onDestroy)):y=C.data[M];const S=y.factory||(y.factory=yn(y.type)),B=O(wa);try{const re=ra(!1),Ee=S();return ra(re),function jA(p,m,C,y){C>=p.data.length&&(p.data[C]=null,p.blueprint[C]=null),m[C]=y}(C,ri(),M,Ee),Ee}finally{O(B)}}function Sf(p,m,C){const y=p+20,M=ri(),S=fi(M,y);return La(M,y)?Tf(M,Ei(),m,S.transform,C,S):S.transform(C)}function Df(p,m,C,y){const M=p+20,S=ri(),B=fi(S,M);return La(S,M)?Ef(S,Ei(),m,B.transform,C,y,B):B.transform(C,y)}function Pf(p,m,C,y,M){const S=p+20,B=ri(),re=fi(B,S);return La(B,S)?yf(B,Ei(),m,re.transform,C,y,M,re):re.transform(C,y,M)}function La(p,m){return p[1].data[m].pure}function Oc(p){return m=>{setTimeout(p,void 0,m)}}const Ir=class Cv extends e.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,C,y){var M,S,B;let re=m,Ee=C||(()=>null),Xe=y;if(m&&"object"==typeof m){const Mt=m;re=null===(M=Mt.next)||void 0===M?void 0:M.bind(Mt),Ee=null===(S=Mt.error)||void 0===S?void 0:S.bind(Mt),Xe=null===(B=Mt.complete)||void 0===B?void 0:B.bind(Mt)}this.__isAsync&&(Ee=Oc(Ee),re&&(re=Oc(re)),Xe&&(Xe=Oc(Xe)));const dt=super.subscribe({next:re,error:Ee,complete:Xe});return m instanceof c.w0&&m.add(dt),dt}};function vv(){return this._results[Ps()]()}class Eo{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const C=Ps(),y=Eo.prototype;y[C]||(y[C]=vv)}get changes(){return this._changes||(this._changes=new Ir)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,C){return this._results.reduce(m,C)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,C){const y=this;y.dirty=!1;const M=ar(m);(this._changesDetected=!function Lm(p,m,C){if(p.length!==m.length)return!1;for(let y=0;y{class p{}return p.__NG_ELEMENT_ID__=yv,p})();const Tv=Ba,Ev=class extends Tv{constructor(m,C,y){super(),this._declarationLView=m,this._declarationTContainer=C,this.elementRef=y}createEmbeddedView(m){const C=this._declarationTContainer.tViews,y=Ca(this._declarationLView,C,m,16,null,C.declTNode,null,null,null,null);y[17]=this._declarationLView[this._declarationTContainer.index];const S=this._declarationLView[19];return null!==S&&(y[19]=S.createEmbeddedView(C)),va(C,y,m),new Oa(y)}};function yv(){return yo(_i(),ri())}function yo(p,m){return 4&p.type?new Ev(m,p,Gs(p,m)):null}let wo=(()=>{class p{}return p.__NG_ELEMENT_ID__=wv,p})();function wv(){return Of(_i(),ri())}const xv=wo,Rf=class extends xv{constructor(m,C,y){super(),this._lContainer=m,this._hostTNode=C,this._hostLView=y}get element(){return Gs(this._hostTNode,this._hostLView)}get injector(){return new ps(this._hostTNode,this._hostLView)}get parentInjector(){const m=Xt(this._hostTNode,this._hostLView);if(hs(m)){const C=Lr(m,this._hostLView),y=Ur(m);return new ps(C[1].data[y+8],C)}return new ps(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const C=If(this._lContainer);return null!==C&&C[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,C,y){const M=m.createEmbeddedView(C||{});return this.insert(M,y),M}createComponent(m,C,y,M,S){const B=m&&!function aa(p){return"function"==typeof p}(m);let re;if(B)re=C;else{const Mt=C||{};re=Mt.index,y=Mt.injector,M=Mt.projectableNodes,S=Mt.ngModuleRef}const Ee=B?m:new Rc(Ht(m)),Xe=y||this.parentInjector;if(!S&&null==Ee.ngModule&&Xe){const Mt=Xe.get(zs,null);Mt&&(S=Mt)}const dt=Ee.create(Xe,M,void 0,S);return this.insert(dt.hostView,re),dt}insert(m,C){const y=m._lView,M=y[1];if(function ke(p){return sn(p[3])}(y)){const dt=this.indexOf(m);if(-1!==dt)this.detach(dt);else{const Mt=y[3],Vt=new Rf(Mt,Mt[6],Mt[3]);Vt.detach(Vt.indexOf(m))}}const S=this._adjustIndex(C),B=this._lContainer;!function a_(p,m,C,y){const M=10+y,S=C.length;y>0&&(C[M-1][4]=m),y0)y.push(B[re/2]);else{const Xe=S[re+1],dt=m[-Ee];for(let Mt=10;Mt{class p{constructor(C){this.appInits=C,this.resolve=So,this.reject=So,this.initialized=!1,this.done=!1,this.donePromise=new Promise((y,M)=>{this.resolve=y,this.reject=M})}runInitializers(){if(this.initialized)return;const C=[],y=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let M=0;M{S.subscribe({complete:re,error:Ee})});C.push(B)}}Promise.all(C).then(()=>{y()}).catch(M=>{this.reject(M)}),0===C.length&&y(),this.initialized=!0}}return p.\u0275fac=function(C){return new(C||p)(In(zc,8))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const am=new gn("AppId"),Kv={provide:am,useFactory:function $v(){return`${Wc()}${Wc()}${Wc()}`},deps:[]};function Wc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const om=new gn("Platform Initializer"),lm=new gn("Platform ID"),cm=new gn("appBootstrapListener");let dm=(()=>{class p{log(C){console.log(C)}warn(C){console.warn(C)}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const Do=new gn("LocaleId"),um=new gn("DefaultCurrencyCode");class Xv{constructor(m,C){this.ngModuleFactory=m,this.componentFactories=C}}let Yc=(()=>{class p{compileModuleSync(C){return new Ic(C)}compileModuleAsync(C){return Promise.resolve(this.compileModuleSync(C))}compileModuleAndAllComponentsSync(C){const y=this.compileModuleSync(C),S=xr(hi(C).declarations).reduce((B,re)=>{const Ee=Ht(re);return Ee&&B.push(new Rc(Ee)),B},[]);return new Xv(y,S)}compileModuleAndAllComponentsAsync(C){return Promise.resolve(this.compileModuleAndAllComponentsSync(C))}clearCache(){}clearCacheFor(C){}getModuleId(C){}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();const tT=(()=>Promise.resolve(0))();function qc(p){"undefined"==typeof Zone?tT.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class tr{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:C=!1,shouldCoalesceRunChangeDetection:y=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ir(!1),this.onMicrotaskEmpty=new Ir(!1),this.onStable=new Ir(!1),this.onError=new Ir(!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)),m&&Zone.longStackTraceZoneSpec&&(M._inner=M._inner.fork(Zone.longStackTraceZoneSpec)),M.shouldCoalesceEventChangeDetection=!y&&C,M.shouldCoalesceRunChangeDetection=y,M.lastRequestAnimationFrameId=-1,M.nativeRequestAnimationFrame=function iT(){let p=x.requestAnimationFrame,m=x.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const C=p[Zone.__symbol__("OriginalDelegate")];C&&(p=C);const y=m[Zone.__symbol__("OriginalDelegate")];y&&(m=y)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function sT(p){const m=()=>{!function rT(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(x,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Qc(p),p.isCheckStableRunning=!0,Jc(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Qc(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(C,y,M,S,B,re)=>{try{return hm(p),C.invokeTask(M,S,B,re)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||p.shouldCoalesceRunChangeDetection)&&m(),pm(p)}},onInvoke:(C,y,M,S,B,re,Ee)=>{try{return hm(p),C.invoke(M,S,B,re,Ee)}finally{p.shouldCoalesceRunChangeDetection&&m(),pm(p)}},onHasTask:(C,y,M,S)=>{C.hasTask(M,S),y===M&&("microTask"==S.change?(p._hasPendingMicrotasks=S.microTask,Qc(p),Jc(p)):"macroTask"==S.change&&(p.hasPendingMacrotasks=S.macroTask))},onHandleError:(C,y,M,S)=>(C.handleError(M,S),p.runOutsideAngular(()=>p.onError.emit(S)),!1)})}(M)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!tr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(tr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,C,y){return this._inner.run(m,C,y)}runTask(m,C,y,M){const S=this._inner,B=S.scheduleEventTask("NgZoneEvent: "+M,m,nT,So,So);try{return S.runTask(B,C,y)}finally{S.cancelTask(B)}}runGuarded(m,C,y){return this._inner.runGuarded(m,C,y)}runOutsideAngular(m){return this._outer.run(m)}}const nT={};function Jc(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Qc(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function hm(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function pm(p){p._nesting--,Jc(p)}class aT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ir,this.onMicrotaskEmpty=new Ir,this.onStable=new Ir,this.onError=new Ir}run(m,C,y){return m.apply(C,y)}runGuarded(m,C,y){return m.apply(C,y)}runOutsideAngular(m){return m()}runTask(m,C,y,M){return m.apply(C,y)}}let fm=(()=>{class p{constructor(C){this._ngZone=C,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),C.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:()=>{tr.assertNotInAngularZone(),qc(()=>{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())qc(()=>{for(;0!==this._callbacks.length;){let C=this._callbacks.pop();clearTimeout(C.timeoutId),C.doneCb(this._didWork)}this._didWork=!1});else{let C=this.getPendingTasks();this._callbacks=this._callbacks.filter(y=>!y.updateCb||!y.updateCb(C)||(clearTimeout(y.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(C=>({source:C.source,creationLocation:C.creationLocation,data:C.data})):[]}addCallback(C,y,M){let S=-1;y&&y>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(B=>B.timeoutId!==S),C(this._didWork,this.getPendingTasks())},y)),this._callbacks.push({doneCb:C,timeoutId:S,updateCb:M})}whenStable(C,y,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(C,y,M),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(C,y,M){return[]}}return p.\u0275fac=function(C){return new(C||p)(In(tr))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})(),mm=(()=>{class p{constructor(){this._applications=new Map,$c.addToWindow(this)}registerApplication(C,y){this._applications.set(C,y)}unregisterApplication(C){this._applications.delete(C)}unregisterAllApplications(){this._applications.clear()}getTestability(C){return this._applications.get(C)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(C,y=!0){return $c.findTestabilityInTree(this,C,y)}}return p.\u0275fac=function(C){return new(C||p)},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();class oT{addToWindow(m){}findTestabilityInTree(m,C,y){return null}}function lT(p){$c=p}let vr,$c=new oT;const gm=new gn("AllowMultipleToken");class uT{constructor(m,C){this.name=m,this.token=C}}function _m(p,m,C=[]){const y=`Platform: ${m}`,M=new gn(y);return(S=[])=>{let B=Am();if(!B||B.injector.get(gm,!1))if(p)p(C.concat(S).concat({provide:M,useValue:!0}));else{const re=C.concat(S).concat({provide:M,useValue:!0},{provide:Ul,useValue:"platform"});!function hT(p){if(vr&&!vr.destroyed&&!vr.injector.get(gm,!1))throw new Q(400,"");vr=p.get(bm);const m=p.get(om,null);m&&m.forEach(C=>C())}(or.create({providers:re,name:y}))}return function pT(p){const m=Am();if(!m)throw new Q(401,"");return m}()}}function Am(){return vr&&!vr.destroyed?vr:null}let bm=(()=>{class p{constructor(C){this._injector=C,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(C,y){const re=function fT(p,m){let C;return C="noop"===p?new aT:("zone.js"===p?void 0:p)||new tr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),C}(y?y.ngZone:void 0,{ngZoneEventCoalescing:y&&y.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:y&&y.ngZoneRunCoalescing||!1}),Ee=[{provide:tr,useValue:re}];return re.run(()=>{const Xe=or.create({providers:Ee,parent:this.injector,name:C.moduleType.name}),dt=C.create(Xe),Mt=dt.injector.get(_a,null);if(!Mt)throw new Q(402,"");return re.runOutsideAngular(()=>{const Vt=re.onError.subscribe({next:qt=>{Mt.handleError(qt)}});dt.onDestroy(()=>{Kc(this._modules,dt),Vt.unsubscribe()})}),function mT(p,m,C){try{const y=C();return oc(y)?y.catch(M=>{throw m.runOutsideAngular(()=>p.handleError(M)),M}):y}catch(y){throw m.runOutsideAngular(()=>p.handleError(y)),y}}(Mt,re,()=>{const Vt=dt.injector.get(qs);return Vt.runInitializers(),Vt.donePromise.then(()=>(function Kb(p){P(p,"Expected localeId to be defined"),"string"==typeof p&&(Lp=p.toLowerCase().replace(/_/g,"-"))}(dt.injector.get(Do,_o)||_o),this._moduleDoBootstrap(dt),dt))})})}bootstrapModule(C,y=[]){const M=Cm({},y);return function cT(p,m,C){const y=new Ic(C);return Promise.resolve(y)}(0,0,C).then(S=>this.bootstrapModuleFactory(S,M))}_moduleDoBootstrap(C){const y=C.injector.get(ka);if(C._bootstrapComponents.length>0)C._bootstrapComponents.forEach(M=>y.bootstrap(M));else{if(!C.instance.ngDoBootstrap)throw new Q(403,"");C.instance.ngDoBootstrap(y)}this._modules.push(C)}onDestroy(C){this._destroyListeners.push(C)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Q(404,"");this._modules.slice().forEach(C=>C.destroy()),this._destroyListeners.forEach(C=>C()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(C){return new(C||p)(In(or))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();function Cm(p,m){return Array.isArray(m)?m.reduce(Cm,p):Object.assign(Object.assign({},p),m)}let ka=(()=>{class p{constructor(C,y,M,S,B){this._zone=C,this._injector=y,this._exceptionHandler=M,this._componentFactoryResolver=S,this._initStatus=B,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 re=new g.y(Xe=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Xe.next(this._stable),Xe.complete()})}),Ee=new g.y(Xe=>{let dt;this._zone.runOutsideAngular(()=>{dt=this._zone.onStable.subscribe(()=>{tr.assertNotInAngularZone(),qc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Xe.next(!0))})})});const Mt=this._zone.onUnstable.subscribe(()=>{tr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Xe.next(!1)}))});return()=>{dt.unsubscribe(),Mt.unsubscribe()}});this.isStable=(0,w.T)(re,Ee.pipe((0,_.B)()))}bootstrap(C,y){if(!this._initStatus.done)throw new Q(405,"");let M;M=C instanceof lf?C:this._componentFactoryResolver.resolveComponentFactory(C),this.componentTypes.push(M.componentType);const S=function dT(p){return p.isBoundToModule}(M)?void 0:this._injector.get(zs),re=M.create(or.NULL,[],y||M.selector,S),Ee=re.location.nativeElement,Xe=re.injector.get(fm,null),dt=Xe&&re.injector.get(mm);return Xe&&dt&&dt.registerApplication(Ee,Xe),re.onDestroy(()=>{this.detachView(re.hostView),Kc(this.components,re),dt&&dt.unregisterApplication(Ee)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new Q(101,"");try{this._runningTick=!0;for(let C of this._views)C.detectChanges()}catch(C){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(C))}finally{this._runningTick=!1}}attachView(C){const y=C;this._views.push(y),y.attachToAppRef(this)}detachView(C){const y=C;Kc(this._views,y),y.detachFromAppRef()}_loadComponent(C){this.attachView(C.hostView),this.tick(),this.components.push(C),this._injector.get(cm,[]).concat(this._bootstrapListeners).forEach(M=>M(C))}ngOnDestroy(){this._views.slice().forEach(C=>C.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(C){return new(C||p)(In(tr),In(or),In(_a),In(Ra),In(qs))},p.\u0275prov=fe({token:p,factory:p.\u0275fac}),p})();function Kc(p,m){const C=p.indexOf(m);C>-1&&p.splice(C,1)}let Tm=!0;function _T(){Tm=!1}let AT=(()=>{class p{}return p.__NG_ELEMENT_ID__=bT,p})();function bT(p){return function CT(p,m,C){if(On(p)&&!C){const y=Ai(p.index,m);return new Oa(y,y)}return 47&p.type?new Oa(m[16],m):null}(_i(),ri(),16==(16&p))}class Mm{constructor(){}supports(m){return Ea(m)}create(m){return new xT(m)}}const wT=(p,m)=>m;class xT{constructor(m){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=m||wT}forEachItem(m){let C;for(C=this._itHead;null!==C;C=C._next)m(C)}forEachOperation(m){let C=this._itHead,y=this._removalsHead,M=0,S=null;for(;C||y;){const B=!y||C&&C.currentIndex{B=this._trackByFn(M,re),null!==C&&Object.is(C.trackById,B)?(y&&(C=this._verifyReinsertion(C,re,B,M)),Object.is(C.item,re)||this._addIdentityChange(C,re)):(C=this._mismatch(C,re,B,M),y=!0),C=C._next,M++}),this.length=M;return this._truncate(C),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,C,y,M){let S;return null===m?S=this._itTail:(S=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null))?(Object.is(m.item,C)||this._addIdentityChange(m,C),this._reinsertAfter(m,S,M)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(y,M))?(Object.is(m.item,C)||this._addIdentityChange(m,C),this._moveAfter(m,S,M)):m=this._addAfter(new MT(C,y),S,M),m}_verifyReinsertion(m,C,y,M){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(y,null);return null!==S?m=this._reinsertAfter(S,m._prev,M):m.currentIndex!=M&&(m.currentIndex=M,this._addToMoves(m,M)),m}_truncate(m){for(;null!==m;){const C=m._next;this._addToRemovals(this._unlink(m)),m=C}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(m,C,y){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const M=m._prevRemoved,S=m._nextRemoved;return null===M?this._removalsHead=S:M._nextRemoved=S,null===S?this._removalsTail=M:S._prevRemoved=M,this._insertAfter(m,C,y),this._addToMoves(m,y),m}_moveAfter(m,C,y){return this._unlink(m),this._insertAfter(m,C,y),this._addToMoves(m,y),m}_addAfter(m,C,y){return this._insertAfter(m,C,y),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,C,y){const M=null===C?this._itHead:C._next;return m._next=M,m._prev=C,null===M?this._itTail=m:M._prev=m,null===C?this._itHead=m:C._next=m,null===this._linkedRecords&&(this._linkedRecords=new Sm),this._linkedRecords.put(m),m.currentIndex=y,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const C=m._prev,y=m._next;return null===C?this._itHead=y:C._next=y,null===y?this._itTail=C:y._prev=C,m}_addToMoves(m,C){return m.previousIndex===C||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sm),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,C){return m.item=C,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class MT{constructor(m,C){this.item=m,this.trackById=C,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 ST{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,C){let y;for(y=this._head;null!==y;y=y._nextDup)if((null===C||C<=y.currentIndex)&&Object.is(y.trackById,m))return y;return null}remove(m){const C=m._prevDup,y=m._nextDup;return null===C?this._head=y:C._nextDup=y,null===y?this._tail=C:y._prevDup=C,null===this._head}}class Sm{constructor(){this.map=new Map}put(m){const C=m.trackById;let y=this.map.get(C);y||(y=new ST,this.map.set(C,y)),y.add(m)}get(m,C){const M=this.map.get(m);return M?M.get(m,C):null}remove(m){const C=m.trackById;return this.map.get(C).remove(m)&&this.map.delete(C),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Dm(p,m,C){const y=p.previousIndex;if(null===y)return y;let M=0;return C&&y{if(C&&C.key===M)this._maybeAddToChanges(C,y),this._appendAfter=C,C=C._next;else{const S=this._getOrCreateRecordForKey(M,y);C=this._insertBeforeOrAppend(C,S)}}),C){C._prev&&(C._prev._next=null),this._removalsHead=C;for(let y=C;null!==y;y=y._nextRemoved)y===this._mapHead&&(this._mapHead=null),this._records.delete(y.key),y._nextRemoved=y._next,y.previousValue=y.currentValue,y.currentValue=null,y._prev=null,y._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,C){if(m){const y=m._prev;return C._next=m,C._prev=y,m._prev=C,y&&(y._next=C),m===this._mapHead&&(this._mapHead=C),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=C,C._prev=this._appendAfter):this._mapHead=C,this._appendAfter=C,null}_getOrCreateRecordForKey(m,C){if(this._records.has(m)){const M=this._records.get(m);this._maybeAddToChanges(M,C);const S=M._prev,B=M._next;return S&&(S._next=B),B&&(B._prev=S),M._next=null,M._prev=null,M}const y=new PT(m);return this._records.set(m,y),y.currentValue=C,this._addToAdditions(y),y}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,C){Object.is(C,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=C,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,C){m instanceof Map?m.forEach(C):Object.keys(m).forEach(y=>C(m[y],y))}}class PT{constructor(m){this.key=m,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 Rm(){return new Io([new Mm])}let Io=(()=>{class p{constructor(C){this.factories=C}static create(C,y){if(null!=y){const M=y.factories.slice();C=C.concat(M)}return new p(C)}static extend(C){return{provide:p,useFactory:y=>p.create(C,y||Rm()),deps:[[p,new bs,new Wr]]}}find(C){const y=this.factories.find(M=>M.supports(C));if(null!=y)return y;throw new Q(901,"")}}return p.\u0275prov=fe({token:p,providedIn:"root",factory:Rm}),p})();function Im(){return new Oo([new Pm])}let Oo=(()=>{class p{constructor(C){this.factories=C}static create(C,y){if(y){const M=y.factories.slice();C=C.concat(M)}return new p(C)}static extend(C){return{provide:p,useFactory:y=>p.create(C,y||Im()),deps:[[p,new bs,new Wr]]}}find(C){const y=this.factories.find(S=>S.supports(C));if(y)return y;throw new Q(901,"")}}return p.\u0275prov=fe({token:p,providedIn:"root",factory:Im}),p})();const RT=[new Pm],OT=new Io([new Mm]),HT=new Oo(RT),LT=_m(null,"core",[{provide:lm,useValue:"unknown"},{provide:bm,deps:[or]},{provide:mm,deps:[]},{provide:dm,deps:[]}]),FT=[{provide:ka,useClass:ka,deps:[tr,or,_a,Ra,qs]},{provide:sv,deps:[tr],useFactory:function UT(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(C){m.push(C)}}},{provide:qs,useClass:qs,deps:[[new Wr,zc]]},{provide:Yc,useClass:Yc,deps:[]},Kv,{provide:Io,useFactory:function BT(){return OT},deps:[]},{provide:Oo,useFactory:function NT(){return HT},deps:[]},{provide:Do,useFactory:function kT(p){return p||function VT(){return"undefined"!=typeof $localize&&$localize.locale||_o}()},deps:[[new ua(Do),new Wr,new bs]]},{provide:um,useValue:"USD"}];let jT=(()=>{class p{constructor(C){}}return p.\u0275fac=function(C){return new(C||p)(In(ka))},p.\u0275mod=Tt({type:p}),p.\u0275inj=ne({providers:FT}),p})()},93075:(qe,me,h)=>{"use strict";h.d(me,{Zs:()=>k,Fj:()=>G,qu:()=>Mi,NI:()=>Dt,oH:()=>Je,u:()=>nr,sg:()=>Gt,u5:()=>ui,Cf:()=>F,JU:()=>v,a5:()=>_e,JJ:()=>V,JL:()=>H,F:()=>zi,On:()=>sn,YN:()=>rr,wV:()=>un,c5:()=>et,UX:()=>fi,Q7:()=>gt,EJ:()=>En,kI:()=>ye,_Y:()=>An,Kr:()=>Rn});var e=h(5e3),c=h(69808),g=h(32076),w=h(4128),_=h(54004);let b=(()=>{class ke{constructor(we,ht){this._renderer=we,this._elementRef=ht,this.onChange=Zt=>{},this.onTouched=()=>{}}setProperty(we,ht){this._renderer.setProperty(this._elementRef.nativeElement,we,ht)}registerOnTouched(we){this.onTouched=we}registerOnChange(we){this.onChange=we}setDisabledState(we){this.setProperty("disabled",we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.Qsj),e.Y36(e.SBq))},ke.\u0275dir=e.lG2({type:ke}),ke})(),E=(()=>{class ke extends b{}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,features:[e.qOj]}),ke})();const v=new e.OlP("NgValueAccessor"),A={provide:v,useExisting:(0,e.Gpc)(()=>G),multi:!0},j=new e.OlP("CompositionEventMode");let G=(()=>{class ke extends b{constructor(we,ht,Zt){super(we,ht),this._compositionMode=Zt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function q(){const ke=(0,c.q)()?(0,c.q)().getUserAgent():"";return/android (\d+)/.test(ke.toLowerCase())}())}writeValue(we){this.setProperty("value",null==we?"":we)}_handleInput(we){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(we)}_compositionStart(){this._composing=!0}_compositionEnd(we){this._composing=!1,this._compositionMode&&this.onChange(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(j,8))},ke.\u0275dir=e.lG2({type:ke,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(we,ht){1&we&&e.NdJ("input",function(pi){return ht._handleInput(pi.target.value)})("blur",function(){return ht.onTouched()})("compositionstart",function(){return ht._compositionStart()})("compositionend",function(pi){return ht._compositionEnd(pi.target.value)})},features:[e._Bn([A]),e.qOj]}),ke})();function Q(ke){return null==ke||0===ke.length}function he(ke){return null!=ke&&"number"==typeof ke.length}const F=new e.OlP("NgValidators"),be=new e.OlP("NgAsyncValidators"),pe=/^(?=.{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 ye{static min(De){return function T(ke){return De=>{if(Q(De.value)||Q(ke))return null;const we=parseFloat(De.value);return!isNaN(we)&&we{if(Q(De.value)||Q(ke))return null;const we=parseFloat(De.value);return!isNaN(we)&&we>ke?{max:{max:ke,actual:De.value}}:null}}(De)}static required(De){return L(De)}static requiredTrue(De){return X(De)}static email(De){return function Y(ke){return Q(ke.value)||pe.test(ke.value)?null:{email:!0}}(De)}static minLength(De){return function se(ke){return De=>Q(De.value)||!he(De.value)?null:De.value.lengthhe(De.value)&&De.value.length>ke?{maxlength:{requiredLength:ke,actualLength:De.value.length}}:null}(De)}static pattern(De){return Oe(De)}static nullValidator(De){return null}static compose(De){return P(De)}static composeAsync(De){return Ce(De)}}function L(ke){return Q(ke.value)?{required:!0}:null}function X(ke){return!0===ke.value?null:{required:!0}}function Oe(ke){if(!ke)return Se;let De,we;return"string"==typeof ke?(we="","^"!==ke.charAt(0)&&(we+="^"),we+=ke,"$"!==ke.charAt(ke.length-1)&&(we+="$"),De=new RegExp(we)):(we=ke.toString(),De=ke),ht=>{if(Q(ht.value))return null;const Zt=ht.value;return De.test(Zt)?null:{pattern:{requiredPattern:we,actualValue:Zt}}}}function Se(ke){return null}function We(ke){return null!=ke}function ge(ke){const De=(0,e.QGY)(ke)?(0,g.D)(ke):ke;return(0,e.CqO)(De),De}function Le(ke){let De={};return ke.forEach(we=>{De=null!=we?Object.assign(Object.assign({},De),we):De}),0===Object.keys(De).length?null:De}function ue(ke,De){return De.map(we=>we(ke))}function z(ke){return ke.map(De=>function Me(ke){return!ke.validate}(De)?De:we=>De.validate(we))}function P(ke){if(!ke)return null;const De=ke.filter(We);return 0==De.length?null:function(we){return Le(ue(we,De))}}function de(ke){return null!=ke?P(z(ke)):null}function Ce(ke){if(!ke)return null;const De=ke.filter(We);return 0==De.length?null:function(we){const ht=ue(we,De).map(ge);return(0,w.D)(ht).pipe((0,_.U)(Le))}}function Pe(ke){return null!=ke?Ce(z(ke)):null}function ce(ke,De){return null===ke?[De]:Array.isArray(ke)?[...ke,De]:[ke,De]}function fe(ke){return ke._rawValidators}function Ze(ke){return ke._rawAsyncValidators}function ne(ke){return ke?Array.isArray(ke)?ke:[ke]:[]}function it(ke,De){return Array.isArray(ke)?ke.includes(De):ke===De}function Be(ke,De){const we=ne(De);return ne(ke).forEach(Zt=>{it(we,Zt)||we.push(Zt)}),we}function ze(ke,De){return ne(De).filter(we=>!it(ke,we))}class Ue{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(De){this._rawValidators=De||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(De){this._rawAsyncValidators=De||[],this._composedAsyncValidatorFn=Pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(De){this._onDestroyCallbacks.push(De)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(De=>De()),this._onDestroyCallbacks=[]}reset(De){this.control&&this.control.reset(De)}hasError(De,we){return!!this.control&&this.control.hasError(De,we)}getError(De,we){return this.control?this.control.getError(De,we):null}}class _e extends Ue{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ae extends Ue{get formDirective(){return null}get path(){return null}}class Ae{constructor(De){this._cd=De}is(De){var we,ht,Zt;return"submitted"===De?!!(null===(we=this._cd)||void 0===we?void 0:we.submitted):!!(null===(Zt=null===(ht=this._cd)||void 0===ht?void 0:ht.control)||void 0===Zt?void 0:Zt[De])}}let V=(()=>{class ke extends Ae{constructor(we){super(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(_e,2))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(we,ht){2&we&&e.ekj("ng-untouched",ht.is("untouched"))("ng-touched",ht.is("touched"))("ng-pristine",ht.is("pristine"))("ng-dirty",ht.is("dirty"))("ng-valid",ht.is("valid"))("ng-invalid",ht.is("invalid"))("ng-pending",ht.is("pending"))},features:[e.qOj]}),ke})(),H=(()=>{class ke extends Ae{constructor(we){super(we)}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(we,ht){2&we&&e.ekj("ng-untouched",ht.is("untouched"))("ng-touched",ht.is("touched"))("ng-pristine",ht.is("pristine"))("ng-dirty",ht.is("dirty"))("ng-valid",ht.is("valid"))("ng-invalid",ht.is("invalid"))("ng-pending",ht.is("pending"))("ng-submitted",ht.is("submitted"))},features:[e.qOj]}),ke})();function jt(ke,De){return[...De.path,ke]}function bt(ke,De){He(ke,De),De.valueAccessor.writeValue(ke.value),function Z(ke,De){De.valueAccessor.registerOnChange(we=>{ke._pendingValue=we,ke._pendingChange=!0,ke._pendingDirty=!0,"change"===ke.updateOn&&oe(ke,De)})}(ke,De),function nt(ke,De){const we=(ht,Zt)=>{De.valueAccessor.writeValue(ht),Zt&&De.viewToModelUpdate(ht)};ke.registerOnChange(we),De._registerOnDestroy(()=>{ke._unregisterOnChange(we)})}(ke,De),function $(ke,De){De.valueAccessor.registerOnTouched(()=>{ke._pendingTouched=!0,"blur"===ke.updateOn&&ke._pendingChange&&oe(ke,De),"submit"!==ke.updateOn&&ke.markAsTouched()})}(ke,De),function Nt(ke,De){if(De.valueAccessor.setDisabledState){const we=ht=>{De.valueAccessor.setDisabledState(ht)};ke.registerOnDisabledChange(we),De._registerOnDestroy(()=>{ke._unregisterOnDisabledChange(we)})}}(ke,De)}function Yt(ke,De,we=!0){const ht=()=>{};De.valueAccessor&&(De.valueAccessor.registerOnChange(ht),De.valueAccessor.registerOnTouched(ht)),je(ke,De),ke&&(De._invokeOnDestroyCallbacks(),ke._registerOnCollectionChange(()=>{}))}function Ct(ke,De){ke.forEach(we=>{we.registerOnValidatorChange&&we.registerOnValidatorChange(De)})}function He(ke,De){const we=fe(ke);null!==De.validator?ke.setValidators(ce(we,De.validator)):"function"==typeof we&&ke.setValidators([we]);const ht=Ze(ke);null!==De.asyncValidator?ke.setAsyncValidators(ce(ht,De.asyncValidator)):"function"==typeof ht&&ke.setAsyncValidators([ht]);const Zt=()=>ke.updateValueAndValidity();Ct(De._rawValidators,Zt),Ct(De._rawAsyncValidators,Zt)}function je(ke,De){let we=!1;if(null!==ke){if(null!==De.validator){const Zt=fe(ke);if(Array.isArray(Zt)&&Zt.length>0){const pi=Zt.filter(ki=>ki!==De.validator);pi.length!==Zt.length&&(we=!0,ke.setValidators(pi))}}if(null!==De.asyncValidator){const Zt=Ze(ke);if(Array.isArray(Zt)&&Zt.length>0){const pi=Zt.filter(ki=>ki!==De.asyncValidator);pi.length!==Zt.length&&(we=!0,ke.setAsyncValidators(pi))}}}const ht=()=>{};return Ct(De._rawValidators,ht),Ct(De._rawAsyncValidators,ht),we}function oe(ke,De){ke._pendingDirty&&ke.markAsDirty(),ke.setValue(ke._pendingValue,{emitModelToViewChange:!1}),De.viewToModelUpdate(ke._pendingValue),ke._pendingChange=!1}function ct(ke,De){He(ke,De)}function ot(ke,De){if(!ke.hasOwnProperty("model"))return!1;const we=ke.model;return!!we.isFirstChange()||!Object.is(De,we.currentValue)}function lt(ke,De){ke._syncPendingControls(),De.forEach(we=>{const ht=we.control;"submit"===ht.updateOn&&ht._pendingChange&&(we.viewToModelUpdate(ht._pendingValue),ht._pendingChange=!1)})}function ut(ke,De){if(!De)return null;let we,ht,Zt;return Array.isArray(De),De.forEach(pi=>{pi.constructor===G?we=pi:function rt(ke){return Object.getPrototypeOf(ke.constructor)===E}(pi)?ht=pi:Zt=pi}),Zt||ht||we||null}function Ht(ke,De){const we=ke.indexOf(De);we>-1&&ke.splice(we,1)}const hi="VALID",gi="INVALID",xi="PENDING",ji="DISABLED";function qi(ke){return($e(ke)?ke.validators:ke)||null}function Lt(ke){return Array.isArray(ke)?de(ke):ke||null}function oi(ke,De){return($e(De)?De.asyncValidators:ke)||null}function Pt(ke){return Array.isArray(ke)?Pe(ke):ke||null}function $e(ke){return null!=ke&&!Array.isArray(ke)&&"object"==typeof ke}const vt=ke=>ke instanceof Dt,at=ke=>ke instanceof ti,Qe=ke=>ke instanceof si;function yt(ke){return vt(ke)?ke.value:ke.getRawValue()}function U(ke,De){const we=at(ke),ht=ke.controls;if(!(we?Object.keys(ht):ht).length)throw new e.vHH(1e3,"");if(!ht[De])throw new e.vHH(1001,"")}function Ge(ke,De){at(ke),ke._forEachChild((ht,Zt)=>{if(void 0===De[Zt])throw new e.vHH(1002,"")})}class _t{constructor(De,we){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=De,this._rawAsyncValidators=we,this._composedValidatorFn=Lt(this._rawValidators),this._composedAsyncValidatorFn=Pt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(De){this._rawValidators=this._composedValidatorFn=De}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(De){this._rawAsyncValidators=this._composedAsyncValidatorFn=De}get parent(){return this._parent}get valid(){return this.status===hi}get invalid(){return this.status===gi}get pending(){return this.status==xi}get disabled(){return this.status===ji}get enabled(){return this.status!==ji}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(De){this._rawValidators=De,this._composedValidatorFn=Lt(De)}setAsyncValidators(De){this._rawAsyncValidators=De,this._composedAsyncValidatorFn=Pt(De)}addValidators(De){this.setValidators(Be(De,this._rawValidators))}addAsyncValidators(De){this.setAsyncValidators(Be(De,this._rawAsyncValidators))}removeValidators(De){this.setValidators(ze(De,this._rawValidators))}removeAsyncValidators(De){this.setAsyncValidators(ze(De,this._rawAsyncValidators))}hasValidator(De){return it(this._rawValidators,De)}hasAsyncValidator(De){return it(this._rawAsyncValidators,De)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(De={}){this.touched=!0,this._parent&&!De.onlySelf&&this._parent.markAsTouched(De)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(De=>De.markAllAsTouched())}markAsUntouched(De={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(we=>{we.markAsUntouched({onlySelf:!0})}),this._parent&&!De.onlySelf&&this._parent._updateTouched(De)}markAsDirty(De={}){this.pristine=!1,this._parent&&!De.onlySelf&&this._parent.markAsDirty(De)}markAsPristine(De={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(we=>{we.markAsPristine({onlySelf:!0})}),this._parent&&!De.onlySelf&&this._parent._updatePristine(De)}markAsPending(De={}){this.status=xi,!1!==De.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!De.onlySelf&&this._parent.markAsPending(De)}disable(De={}){const we=this._parentMarkedDirty(De.onlySelf);this.status=ji,this.errors=null,this._forEachChild(ht=>{ht.disable(Object.assign(Object.assign({},De),{onlySelf:!0}))}),this._updateValue(),!1!==De.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},De),{skipPristineCheck:we})),this._onDisabledChange.forEach(ht=>ht(!0))}enable(De={}){const we=this._parentMarkedDirty(De.onlySelf);this.status=hi,this._forEachChild(ht=>{ht.enable(Object.assign(Object.assign({},De),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:De.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},De),{skipPristineCheck:we})),this._onDisabledChange.forEach(ht=>ht(!1))}_updateAncestors(De){this._parent&&!De.onlySelf&&(this._parent.updateValueAndValidity(De),De.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(De){this._parent=De}updateValueAndValidity(De={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hi||this.status===xi)&&this._runAsyncValidator(De.emitEvent)),!1!==De.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!De.onlySelf&&this._parent.updateValueAndValidity(De)}_updateTreeValidity(De={emitEvent:!0}){this._forEachChild(we=>we._updateTreeValidity(De)),this.updateValueAndValidity({onlySelf:!0,emitEvent:De.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ji:hi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(De){if(this.asyncValidator){this.status=xi,this._hasOwnPendingAsyncValidator=!0;const we=ge(this.asyncValidator(this));this._asyncValidationSubscription=we.subscribe(ht=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ht,{emitEvent:De})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(De,we={}){this.errors=De,this._updateControlsErrors(!1!==we.emitEvent)}get(De){return function tn(ke,De,we){if(null==De||(Array.isArray(De)||(De=De.split(we)),Array.isArray(De)&&0===De.length))return null;let ht=ke;return De.forEach(Zt=>{ht=at(ht)?ht.controls.hasOwnProperty(Zt)?ht.controls[Zt]:null:Qe(ht)&&ht.at(Zt)||null}),ht}(this,De,".")}getError(De,we){const ht=we?this.get(we):this;return ht&&ht.errors?ht.errors[De]:null}hasError(De,we){return!!this.getError(De,we)}get root(){let De=this;for(;De._parent;)De=De._parent;return De}_updateControlsErrors(De){this.status=this._calculateStatus(),De&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(De)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?ji:this.errors?gi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(xi)?xi:this._anyControlsHaveStatus(gi)?gi:hi}_anyControlsHaveStatus(De){return this._anyControls(we=>we.status===De)}_anyControlsDirty(){return this._anyControls(De=>De.dirty)}_anyControlsTouched(){return this._anyControls(De=>De.touched)}_updatePristine(De={}){this.pristine=!this._anyControlsDirty(),this._parent&&!De.onlySelf&&this._parent._updatePristine(De)}_updateTouched(De={}){this.touched=this._anyControlsTouched(),this._parent&&!De.onlySelf&&this._parent._updateTouched(De)}_isBoxedValue(De){return"object"==typeof De&&null!==De&&2===Object.keys(De).length&&"value"in De&&"disabled"in De}_registerOnCollectionChange(De){this._onCollectionChange=De}_setUpdateStrategy(De){$e(De)&&null!=De.updateOn&&(this._updateOn=De.updateOn)}_parentMarkedDirty(De){return!De&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Dt extends _t{constructor(De=null,we,ht){super(qi(we),oi(ht,we)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(De),this._setUpdateStrategy(we),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$e(we)&&we.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(De)?De.value:De)}setValue(De,we={}){this.value=this._pendingValue=De,this._onChange.length&&!1!==we.emitModelToViewChange&&this._onChange.forEach(ht=>ht(this.value,!1!==we.emitViewToModelChange)),this.updateValueAndValidity(we)}patchValue(De,we={}){this.setValue(De,we)}reset(De=this.defaultValue,we={}){this._applyFormState(De),this.markAsPristine(we),this.markAsUntouched(we),this.setValue(this.value,we),this._pendingChange=!1}_updateValue(){}_anyControls(De){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(De){this._onChange.push(De)}_unregisterOnChange(De){Ht(this._onChange,De)}registerOnDisabledChange(De){this._onDisabledChange.push(De)}_unregisterOnDisabledChange(De){Ht(this._onDisabledChange,De)}_forEachChild(De){}_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(De){this._isBoxedValue(De)?(this.value=this._pendingValue=De.value,De.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=De}}class ti extends _t{constructor(De,we,ht){super(qi(we),oi(ht,we)),this.controls=De,this._initObservables(),this._setUpdateStrategy(we),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(De,we){return this.controls[De]?this.controls[De]:(this.controls[De]=we,we.setParent(this),we._registerOnCollectionChange(this._onCollectionChange),we)}addControl(De,we,ht={}){this.registerControl(De,we),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}removeControl(De,we={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),delete this.controls[De],this.updateValueAndValidity({emitEvent:we.emitEvent}),this._onCollectionChange()}setControl(De,we,ht={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),delete this.controls[De],we&&this.registerControl(De,we),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}contains(De){return this.controls.hasOwnProperty(De)&&this.controls[De].enabled}setValue(De,we={}){Ge(this,De),Object.keys(De).forEach(ht=>{U(this,ht),this.controls[ht].setValue(De[ht],{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we)}patchValue(De,we={}){null!=De&&(Object.keys(De).forEach(ht=>{this.controls[ht]&&this.controls[ht].patchValue(De[ht],{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we))}reset(De={},we={}){this._forEachChild((ht,Zt)=>{ht.reset(De[Zt],{onlySelf:!0,emitEvent:we.emitEvent})}),this._updatePristine(we),this._updateTouched(we),this.updateValueAndValidity(we)}getRawValue(){return this._reduceChildren({},(De,we,ht)=>(De[ht]=yt(we),De))}_syncPendingControls(){let De=this._reduceChildren(!1,(we,ht)=>!!ht._syncPendingControls()||we);return De&&this.updateValueAndValidity({onlySelf:!0}),De}_forEachChild(De){Object.keys(this.controls).forEach(we=>{const ht=this.controls[we];ht&&De(ht,we)})}_setUpControls(){this._forEachChild(De=>{De.setParent(this),De._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(De){for(const we of Object.keys(this.controls)){const ht=this.controls[we];if(this.contains(we)&&De(ht))return!0}return!1}_reduceValue(){return this._reduceChildren({},(De,we,ht)=>((we.enabled||this.disabled)&&(De[ht]=we.value),De))}_reduceChildren(De,we){let ht=De;return this._forEachChild((Zt,pi)=>{ht=we(ht,Zt,pi)}),ht}_allControlsDisabled(){for(const De of Object.keys(this.controls))if(this.controls[De].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class si extends _t{constructor(De,we,ht){super(qi(we),oi(ht,we)),this.controls=De,this._initObservables(),this._setUpdateStrategy(we),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(De){return this.controls[De]}push(De,we={}){this.controls.push(De),this._registerControl(De),this.updateValueAndValidity({emitEvent:we.emitEvent}),this._onCollectionChange()}insert(De,we,ht={}){this.controls.splice(De,0,we),this._registerControl(we),this.updateValueAndValidity({emitEvent:ht.emitEvent})}removeAt(De,we={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),this.controls.splice(De,1),this.updateValueAndValidity({emitEvent:we.emitEvent})}setControl(De,we,ht={}){this.controls[De]&&this.controls[De]._registerOnCollectionChange(()=>{}),this.controls.splice(De,1),we&&(this.controls.splice(De,0,we),this._registerControl(we)),this.updateValueAndValidity({emitEvent:ht.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(De,we={}){Ge(this,De),De.forEach((ht,Zt)=>{U(this,Zt),this.at(Zt).setValue(ht,{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we)}patchValue(De,we={}){null!=De&&(De.forEach((ht,Zt)=>{this.at(Zt)&&this.at(Zt).patchValue(ht,{onlySelf:!0,emitEvent:we.emitEvent})}),this.updateValueAndValidity(we))}reset(De=[],we={}){this._forEachChild((ht,Zt)=>{ht.reset(De[Zt],{onlySelf:!0,emitEvent:we.emitEvent})}),this._updatePristine(we),this._updateTouched(we),this.updateValueAndValidity(we)}getRawValue(){return this.controls.map(De=>yt(De))}clear(De={}){this.controls.length<1||(this._forEachChild(we=>we._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:De.emitEvent}))}_syncPendingControls(){let De=this.controls.reduce((we,ht)=>!!ht._syncPendingControls()||we,!1);return De&&this.updateValueAndValidity({onlySelf:!0}),De}_forEachChild(De){this.controls.forEach((we,ht)=>{De(we,ht)})}_updateValue(){this.value=this.controls.filter(De=>De.enabled||this.disabled).map(De=>De.value)}_anyControls(De){return this.controls.some(we=>we.enabled&&De(we))}_setUpControls(){this._forEachChild(De=>this._registerControl(De))}_allControlsDisabled(){for(const De of this.controls)if(De.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(De){De.setParent(this),De._registerOnCollectionChange(this._onCollectionChange)}}const Ii={provide:ae,useExisting:(0,e.Gpc)(()=>zi)},wi=(()=>Promise.resolve(null))();let zi=(()=>{class ke extends ae{constructor(we,ht){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ti({},de(we),Pe(ht))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(we){wi.then(()=>{const ht=this._findContainer(we.path);we.control=ht.registerControl(we.name,we.control),bt(we.control,we),we.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(we)})}getControl(we){return this.form.get(we.path)}removeControl(we){wi.then(()=>{const ht=this._findContainer(we.path);ht&&ht.removeControl(we.name),this._directives.delete(we)})}addFormGroup(we){wi.then(()=>{const ht=this._findContainer(we.path),Zt=new ti({});ct(Zt,we),ht.registerControl(we.name,Zt),Zt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(we){wi.then(()=>{const ht=this._findContainer(we.path);ht&&ht.removeControl(we.name)})}getFormGroup(we){return this.form.get(we.path)}updateModel(we,ht){wi.then(()=>{this.form.get(we.path).setValue(ht)})}setValue(we){this.control.setValue(we)}onSubmit(we){return this.submitted=!0,lt(this.form,this._directives),this.ngSubmit.emit(we),!1}onReset(){this.resetForm()}resetForm(we){this.form.reset(we),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(we){return we.pop(),we.length?this.form.get(we):this.form}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(we,ht){1&we&&e.NdJ("submit",function(pi){return ht.onSubmit(pi)})("reset",function(){return ht.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ii]),e.qOj]}),ke})();const fn={provide:_e,useExisting:(0,e.Gpc)(()=>sn)},Wi=(()=>Promise.resolve(null))();let sn=(()=>{class ke extends _e{constructor(we,ht,Zt,pi,ki){super(),this._changeDetectorRef=ki,this.control=new Dt,this._registered=!1,this.update=new e.vpe,this._parent=we,this._setValidators(ht),this._setAsyncValidators(Zt),this.valueAccessor=ut(0,pi)}ngOnChanges(we){if(this._checkForErrors(),!this._registered||"name"in we){if(this._registered&&(this._checkName(),this.formDirective)){const ht=we.name.previousValue;this.formDirective.removeControl({name:ht,path:this._getPath(ht)})}this._setUpControl()}"isDisabled"in we&&this._updateDisabled(we),ot(we,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(we){this.viewModel=we,this.update.emit(we)}_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(){bt(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(we){Wi.then(()=>{var ht;this.control.setValue(we,{emitViewToModelChange:!1}),null===(ht=this._changeDetectorRef)||void 0===ht||ht.markForCheck()})}_updateDisabled(we){const ht=we.isDisabled.currentValue,Zt=""===ht||ht&&"false"!==ht;Wi.then(()=>{var pi;Zt&&!this.control.disabled?this.control.disable():!Zt&&this.control.disabled&&this.control.enable(),null===(pi=this._changeDetectorRef)||void 0===pi||pi.markForCheck()})}_getPath(we){return this._parent?jt(we,this._parent):[we]}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,9),e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(e.sBO,8))},ke.\u0275dir=e.lG2({type:ke,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]}),ke})(),An=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ke})();const On={provide:v,useExisting:(0,e.Gpc)(()=>un),multi:!0};let un=(()=>{class ke extends E{writeValue(we){this.setProperty("value",null==we?"":we)}registerOnChange(we){this.onChange=ht=>{we(""==ht?null:parseFloat(ht))}}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(we,ht){1&we&&e.NdJ("input",function(pi){return ht.onChange(pi.target.value)})("blur",function(){return ht.onTouched()})},features:[e._Bn([On]),e.qOj]}),ke})(),Dn=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({}),ke})();const Fe=new e.OlP("NgModelWithFormControlWarning"),Bt={provide:_e,useExisting:(0,e.Gpc)(()=>Je)};let Je=(()=>{class ke extends _e{constructor(we,ht,Zt,pi){super(),this._ngModelWarningConfig=pi,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(we),this._setAsyncValidators(ht),this.valueAccessor=ut(0,Zt)}set isDisabled(we){}ngOnChanges(we){if(this._isControlChanged(we)){const ht=we.form.previousValue;ht&&Yt(ht,this,!1),bt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}ot(we,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Yt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(we){this.viewModel=we,this.update.emit(we)}_isControlChanged(we){return we.hasOwnProperty("form")}}return ke._ngModelWarningSentOnce=!1,ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(Fe,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Bt]),e.qOj,e.TTD]}),ke})();const wt={provide:ae,useExisting:(0,e.Gpc)(()=>Gt)};let Gt=(()=>{class ke extends ae{constructor(we,ht){super(),this.validators=we,this.asyncValidators=ht,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(we),this._setAsyncValidators(ht)}ngOnChanges(we){this._checkFormPresent(),we.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(je(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(we){const ht=this.form.get(we.path);return bt(ht,we),ht.updateValueAndValidity({emitEvent:!1}),this.directives.push(we),ht}getControl(we){return this.form.get(we.path)}removeControl(we){Yt(we.control||null,we,!1),Ht(this.directives,we)}addFormGroup(we){this._setUpFormContainer(we)}removeFormGroup(we){this._cleanUpFormContainer(we)}getFormGroup(we){return this.form.get(we.path)}addFormArray(we){this._setUpFormContainer(we)}removeFormArray(we){this._cleanUpFormContainer(we)}getFormArray(we){return this.form.get(we.path)}updateModel(we,ht){this.form.get(we.path).setValue(ht)}onSubmit(we){return this.submitted=!0,lt(this.form,this.directives),this.ngSubmit.emit(we),!1}onReset(){this.resetForm()}resetForm(we){this.form.reset(we),this.submitted=!1}_updateDomValue(){this.directives.forEach(we=>{const ht=we.control,Zt=this.form.get(we.path);ht!==Zt&&(Yt(ht||null,we),vt(Zt)&&(bt(Zt,we),we.control=Zt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(we){const ht=this.form.get(we.path);ct(ht,we),ht.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(we){if(this.form){const ht=this.form.get(we.path);ht&&function Rt(ke,De){return je(ke,De)}(ht,we)&&ht.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){He(this.form,this),this._oldForm&&je(this._oldForm,this)}_checkFormPresent(){}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(F,10),e.Y36(be,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroup",""]],hostBindings:function(we,ht){1&we&&e.NdJ("submit",function(pi){return ht.onSubmit(pi)})("reset",function(){return ht.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([wt]),e.qOj,e.TTD]}),ke})();const Jn={provide:_e,useExisting:(0,e.Gpc)(()=>nr)};let nr=(()=>{class ke extends _e{constructor(we,ht,Zt,pi,ki){super(),this._ngModelWarningConfig=ki,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=we,this._setValidators(ht),this._setAsyncValidators(Zt),this.valueAccessor=ut(0,pi)}set isDisabled(we){}ngOnChanges(we){this._added||this._setUpControl(),ot(we,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(we){this.viewModel=we,this.update.emit(we)}get path(){return jt(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 ke._ngModelWarningSentOnce=!1,ke.\u0275fac=function(we){return new(we||ke)(e.Y36(ae,13),e.Y36(F,10),e.Y36(be,10),e.Y36(v,10),e.Y36(Fe,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([Jn]),e.qOj,e.TTD]}),ke})();const jn={provide:v,useExisting:(0,e.Gpc)(()=>En),multi:!0};function Cn(ke,De){return null==ke?`${De}`:(De&&"object"==typeof De&&(De="Object"),`${ke}: ${De}`.slice(0,50))}let En=(()=>{class ke extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(we){this._compareWith=we}writeValue(we){this.value=we;const Zt=Cn(this._getOptionId(we),we);this.setProperty("value",Zt)}registerOnChange(we){this.onChange=ht=>{this.value=this._getOptionValue(ht),we(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(we){for(const ht of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ht),we))return ht;return null}_getOptionValue(we){const ht=function Tr(ke){return ke.split(":")[0]}(we);return this._optionMap.has(ht)?this._optionMap.get(ht):we}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(we,ht){1&we&&e.NdJ("change",function(pi){return ht.onChange(pi.target.value)})("blur",function(){return ht.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([jn]),e.qOj]}),ke})(),rr=(()=>{class ke{constructor(we,ht,Zt){this._element=we,this._renderer=ht,this._select=Zt,this._select&&(this.id=this._select._registerOption())}set ngValue(we){null!=this._select&&(this._select._optionMap.set(this.id,we),this._setElementValue(Cn(this.id,we)),this._select.writeValue(this._select.value))}set value(we){this._setElementValue(we),this._select&&this._select.writeValue(this._select.value)}_setElementValue(we){this._renderer.setProperty(this._element.nativeElement,"value",we)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(En,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})();const yn={provide:v,useExisting:(0,e.Gpc)(()=>Pn),multi:!0};function Qn(ke,De){return null==ke?`${De}`:("string"==typeof De&&(De=`'${De}'`),De&&"object"==typeof De&&(De="Object"),`${ke}: ${De}`.slice(0,50))}let Pn=(()=>{class ke extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(we){this._compareWith=we}writeValue(we){let ht;if(this.value=we,Array.isArray(we)){const Zt=we.map(pi=>this._getOptionId(pi));ht=(pi,ki)=>{pi._setSelected(Zt.indexOf(ki.toString())>-1)}}else ht=(Zt,pi)=>{Zt._setSelected(!1)};this._optionMap.forEach(ht)}registerOnChange(we){this.onChange=ht=>{const Zt=[],pi=ht.selectedOptions;if(void 0!==pi){const ki=pi;for(let Xi=0;Xi{class ke{constructor(we,ht,Zt){this._element=we,this._renderer=ht,this._select=Zt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(we){null!=this._select&&(this._value=we,this._setElementValue(Qn(this.id,we)),this._select.writeValue(this._select.value))}set value(we){this._select?(this._value=we,this._setElementValue(Qn(this.id,we)),this._select.writeValue(this._select.value)):this._setElementValue(we)}_setElementValue(we){this._renderer.setProperty(this._element.nativeElement,"value",we)}_setSelected(we){this._renderer.setProperty(this._element.nativeElement,"selected",we)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(we){return new(we||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Pn,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})(),vn=(()=>{class ke{constructor(){this._validator=Se}ngOnChanges(we){if(this.inputName in we){const ht=this.normalizeInput(we[this.inputName].currentValue);this._enabled=this.enabled(ht),this._validator=this._enabled?this.createValidator(ht):Se,this._onChange&&this._onChange()}}validate(we){return this._validator(we)}registerOnValidatorChange(we){this._onChange=we}enabled(we){return null!=we}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275dir=e.lG2({type:ke,features:[e.TTD]}),ke})();const dn={provide:F,useExisting:(0,e.Gpc)(()=>gt),multi:!0},cr={provide:F,useExisting:(0,e.Gpc)(()=>k),multi:!0};let gt=(()=>{class ke extends vn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=we=>function Hn(ke){return null!=ke&&!1!==ke&&"false"!=`${ke}`}(we),this.createValidator=we=>L}enabled(we){return we}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("required",ht._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([dn]),e.qOj]}),ke})(),k=(()=>{class ke extends gt{constructor(){super(...arguments),this.createValidator=we=>X}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("required",ht._enabled?"":null)},features:[e._Bn([cr]),e.qOj]}),ke})();const le={provide:F,useExisting:(0,e.Gpc)(()=>et),multi:!0};let et=(()=>{class ke extends vn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=we=>we,this.createValidator=we=>Oe(we)}}return ke.\u0275fac=function(){let De;return function(ht){return(De||(De=e.n5z(ke)))(ht||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(we,ht){2&we&&e.uIk("pattern",ht._enabled?ht.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([le]),e.qOj]}),ke})(),ai=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[[Dn]]}),ke})(),ui=(()=>{class ke{}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[ai]}),ke})(),fi=(()=>{class ke{static withConfig(we){return{ngModule:ke,providers:[{provide:Fe,useValue:we.warnOnNgModelWithFormControl}]}}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[ai]}),ke})(),Mi=(()=>{class ke{group(we,ht=null){const Zt=this._reduceControls(we);let Xi,pi=null,ki=null;return null!=ht&&(function Ai(ke){return void 0!==ke.asyncValidators||void 0!==ke.validators||void 0!==ke.updateOn}(ht)?(pi=null!=ht.validators?ht.validators:null,ki=null!=ht.asyncValidators?ht.asyncValidators:null,Xi=null!=ht.updateOn?ht.updateOn:void 0):(pi=null!=ht.validator?ht.validator:null,ki=null!=ht.asyncValidator?ht.asyncValidator:null)),new ti(Zt,{asyncValidators:ki,updateOn:Xi,validators:pi})}control(we,ht,Zt){return new Dt(we,ht,Zt)}array(we,ht,Zt){const pi=we.map(ki=>this._createControl(ki));return new si(pi,ht,Zt)}_reduceControls(we){const ht={};return Object.keys(we).forEach(Zt=>{ht[Zt]=this._createControl(we[Zt])}),ht}_createControl(we){return vt(we)||at(we)||Qe(we)?we:Array.isArray(we)?this.control(we[0],we.length>1?we[1]:null,we.length>2?we[2]:null):this.control(we)}}return ke.\u0275fac=function(we){return new(we||ke)},ke.\u0275prov=e.Yz7({token:ke,factory:ke.\u0275fac,providedIn:fi}),ke})()},91079:(qe,me,h)=>{"use strict";h.d(me,{XC:()=>P,Bb:()=>ze,ZL:()=>ne});var e=h(15664),c=h(63191),g=h(5e3),w=h(90508),_=h(50727),b=h(77579),E=h(49770),v=h(56451),I=h(39646),N=h(54968),A=h(70925),q=h(69808),j=h(91314),G=h(29071),Q=h(91159),he=h(47429),F=h(93075),be=h(67322),pe=h(68675),ye=h(63900),T=h(95698),R=h(39300),L=h(54004),X=h(18505),Y=h(91005),se=h(50226);const Te=["panel"];function Oe(Ue,_e){if(1&Ue&&(g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA()),2&Ue){const ae=_e.id,Ae=g.oxw();g.Q6J("id",Ae.id)("ngClass",Ae._classList),g.uIk("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby(ae))}}const Se=["*"];let We=0;class ge{constructor(_e,ae){this.source=_e,this.option=ae}}const Le=(0,w.Kr)(class{}),ue=new g.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Me(){return{autoActiveFirstOption:!1}}});let z=(()=>{class Ue extends Le{constructor(ae,Ae,ee,Ne){super(),this._changeDetectorRef=ae,this._elementRef=Ae,this._activeOptionChanges=_.w0.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-"+We++,this.inertGroups=(null==Ne?void 0:Ne.SAFARI)||!1,this._autoActiveFirstOption=!!ee.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(ae){this._autoActiveFirstOption=(0,c.Ig)(ae)}set classList(ae){this._classList=ae&&ae.length?(0,c.du)(ae).reduce((Ae,ee)=>(Ae[ee]=!0,Ae),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new e.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(ae=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[ae]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(ae){this.panel&&(this.panel.nativeElement.scrollTop=ae)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(ae){const Ae=new ge(this,ae);this.optionSelected.emit(Ae)}_getPanelAriaLabelledby(ae){return this.ariaLabel?null:this.ariaLabelledby?(ae?ae+" ":"")+this.ariaLabelledby:ae}_setVisibilityClasses(ae){ae[this._visibleClass]=this.showPanel,ae[this._hiddenClass]=!this.showPanel}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(g.Y36(g.sBO),g.Y36(g.SBq),g.Y36(ue),g.Y36(A.t4))},Ue.\u0275dir=g.lG2({type:Ue,viewQuery:function(ae,Ae){if(1&ae&&(g.Gf(g.Rgc,7),g.Gf(Te,5)),2&ae){let ee;g.iGM(ee=g.CRH())&&(Ae.template=ee.first),g.iGM(ee=g.CRH())&&(Ae.panel=ee.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]}),Ue})(),P=(()=>{class Ue extends z{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=g.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275cmp=g.Xpm({type:Ue,selectors:[["mat-autocomplete"]],contentQueries:function(ae,Ae,ee){if(1&ae&&(g.Suo(ee,w.K7,5),g.Suo(ee,w.ey,5)),2&ae){let Ne;g.iGM(Ne=g.CRH())&&(Ae.optionGroups=Ne),g.iGM(Ne=g.CRH())&&(Ae.options=Ne)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[g._Bn([{provide:w.HF,useExisting:Ue}]),g.qOj],ngContentSelectors:Se,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(ae,Ae){1&ae&&(g.F$t(),g.YNc(0,Oe,3,4,"ng-template"))},directives:[q.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}),Ue})();const de=new g.OlP("mat-autocomplete-scroll-strategy"),Pe={provide:de,deps:[j.aV],useFactory:function Ce(Ue){return()=>Ue.scrollStrategies.reposition()}},ce={provide:F.JU,useExisting:(0,g.Gpc)(()=>ne),multi:!0};let Ze=(()=>{class Ue{constructor(ae,Ae,ee,Ne,V,H,D,O,i,o,u){this._element=ae,this._overlay=Ae,this._viewContainerRef=ee,this._zone=Ne,this._changeDetectorRef=V,this._dir=D,this._formField=O,this._document=i,this._viewportRuler=o,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=_.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new b.x,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,E.P)(()=>{const l=this.autocomplete?this.autocomplete.options:null;return l?l.changes.pipe((0,pe.O)(l),(0,ye.w)(()=>(0,v.T)(...l.map(s=>s.onSelectionChange)))):this._zone.onStable.pipe((0,T.q)(1),(0,ye.w)(()=>this.optionSelections))}),this._scrollStrategy=H}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(ae){this._autocompleteDisabled=(0,c.Ig)(ae)}ngAfterViewInit(){const ae=this._getWindow();void 0!==ae&&this._zone.runOutsideAngular(()=>ae.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(ae){ae.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const ae=this._getWindow();void 0!==ae&&ae.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._zone.run(()=>{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,v.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,R.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,R.h)(()=>this._overlayAttached)):(0,I.of)()).pipe((0,L.U)(ae=>ae instanceof w.rN?ae:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,v.T)((0,N.R)(this._document,"click"),(0,N.R)(this._document,"auxclick"),(0,N.R)(this._document,"touchend")).pipe((0,R.h)(ae=>{const Ae=(0,A.sA)(ae),ee=this._formField?this._formField._elementRef.nativeElement:null,Ne=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ae!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ee||!ee.contains(Ae))&&(!Ne||!Ne.contains(Ae))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ae)}))}writeValue(ae){Promise.resolve().then(()=>this._setTriggerValue(ae))}registerOnChange(ae){this._onChange=ae}registerOnTouched(ae){this._onTouched=ae}setDisabledState(ae){this._element.nativeElement.disabled=ae}_handleKeydown(ae){const Ae=ae.keyCode,ee=(0,Q.Vb)(ae);if(Ae===Q.hY&&!ee&&ae.preventDefault(),this.activeOption&&Ae===Q.K5&&this.panelOpen&&!ee)this.activeOption._selectViaInteraction(),this._resetActiveItem(),ae.preventDefault();else if(this.autocomplete){const Ne=this.autocomplete._keyManager.activeItem,V=Ae===Q.LH||Ae===Q.JH;Ae===Q.Mf||V&&!ee&&this.panelOpen?this.autocomplete._keyManager.onKeydown(ae):V&&this._canOpen()&&this.openPanel(),(V||this.autocomplete._keyManager.activeItem!==Ne)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(ae){let Ae=ae.target,ee=Ae.value;"number"===Ae.type&&(ee=""==ee?null:parseFloat(ee)),this._previousValue!==ee&&(this._previousValue=ee,this._onChange(ee),this._canOpen()&&this._document.activeElement===ae.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(ae=!1){this._formField&&"auto"===this._formField.floatLabel&&(ae?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const ae=this._zone.onStable.pipe((0,T.q)(1)),Ae=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Y.g)(0));return(0,v.T)(ae,Ae).pipe((0,ye.w)(()=>(this._zone.run(()=>{const ee=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),ee!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,T.q)(1)).subscribe(ee=>this._setValueAndClose(ee))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(ae){const Ae=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(ae):ae,ee=null!=Ae?Ae:"";this._formField?this._formField._control.value=ee:this._element.nativeElement.value=ee,this._previousValue=ee}_setValueAndClose(ae){const Ae=ae&&ae.source;Ae&&(this._clearPreviousSelectedOption(Ae),this._setTriggerValue(Ae.value),this._onChange(Ae.value),this.autocomplete._emitSelectEvent(Ae),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(ae){this.autocomplete.options.forEach(Ae=>{Ae!==ae&&Ae.selected&&Ae.deselect()})}_attachOverlay(){var ae;let Ae=this._overlayRef;Ae?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ae.updateSize({width:this._getPanelWidth()})):(this._portal=new he.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(ae=this._formField)||void 0===ae?void 0:ae.getLabelId()}),Ae=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ae,Ae.keydownEvents().subscribe(Ne=>{(Ne.keyCode===Q.hY&&!(0,Q.Vb)(Ne)||Ne.keyCode===Q.LH&&(0,Q.Vb)(Ne,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),Ne.stopPropagation(),Ne.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ae&&Ae.updateSize({width:this._getPanelWidth()})})),Ae&&!Ae.hasAttached()&&(Ae.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ee=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&ee!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var ae;return new j.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(ae=this._defaults)||void 0===ae?void 0:ae.overlayPanelClass})}_getOverlayPosition(){const ae=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(ae),this._positionStrategy=ae,ae}_setStrategyPositions(ae){const Ae=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ee=this._aboveClass,Ne=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ee},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ee}];let V;V="above"===this.position?Ne:"below"===this.position?Ae:[...Ae,...Ne],ae.withPositions(V)}_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 ae=this.autocomplete;ae.autoActiveFirstOption?ae._keyManager.setFirstItemActive():ae._keyManager.setActiveItem(-1)}_canOpen(){const ae=this._element.nativeElement;return!ae.readOnly&&!ae.disabled&&!this._autocompleteDisabled}_getWindow(){var ae;return(null===(ae=this._document)||void 0===ae?void 0:ae.defaultView)||window}_scrollToOption(ae){const Ae=this.autocomplete,ee=(0,w.CB)(ae,Ae.options,Ae.optionGroups);if(0===ae&&1===ee)Ae._setScrollTop(0);else if(Ae.panel){const Ne=Ae.options.toArray()[ae];if(Ne){const V=Ne._getHostElement(),H=(0,w.jH)(V.offsetTop,V.offsetHeight,Ae._getScrollTop(),Ae.panel.nativeElement.offsetHeight);Ae._setScrollTop(H)}}}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(g.Y36(g.SBq),g.Y36(j.aV),g.Y36(g.s_b),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(de),g.Y36(se.Is,8),g.Y36(be.G_,9),g.Y36(q.K0,8),g.Y36(G.rL),g.Y36(ue,8))},Ue.\u0275dir=g.lG2({type:Ue,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[g.TTD]}),Ue})(),ne=(()=>{class Ue extends Ze{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=g.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275dir=g.lG2({type:Ue,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(ae,Ae){1&ae&&g.NdJ("focusin",function(){return Ae._handleFocus()})("blur",function(){return Ae._onTouched()})("input",function(Ne){return Ae._handleInput(Ne)})("keydown",function(Ne){return Ae._handleKeydown(Ne)})("click",function(){return Ae._handleClick()}),2&ae&&g.uIk("autocomplete",Ae.autocompleteAttribute)("role",Ae.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ae.autocompleteDisabled?null:"list")("aria-activedescendant",Ae.panelOpen&&Ae.activeOption?Ae.activeOption.id:null)("aria-expanded",Ae.autocompleteDisabled?null:Ae.panelOpen.toString())("aria-owns",Ae.autocompleteDisabled||!Ae.panelOpen||null==Ae.autocomplete?null:Ae.autocomplete.id)("aria-haspopup",Ae.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[g._Bn([ce]),g.qOj]}),Ue})(),ze=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=g.oAB({type:Ue}),Ue.\u0275inj=g.cJS({providers:[Pe],imports:[[j.U8,w.Ng,w.BQ,q.ez],G.ZD,w.Ng,w.BQ]}),Ue})()},27544:(qe,me,h)=>{"use strict";h.d(me,{k:()=>I,g:()=>N});var e=h(5e3),c=h(90508),g=h(15664),w=h(63191),_=h(76360);let b=0;const E=(0,c.Id)(class{}),v="mat-badge-content";let I=(()=>{class A extends E{constructor(j,G,Q,he,F){super(),this._ngZone=j,this._elementRef=G,this._ariaDescriber=Q,this._renderer=he,this._animationMode=F,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=b++,this._isInitialized=!1}get color(){return this._color}set color(j){this._setColor(j),this._color=j}get overlap(){return this._overlap}set overlap(j){this._overlap=(0,w.Ig)(j)}get content(){return this._content}set content(j){this._updateRenderedContent(j)}get description(){return this._description}set description(j){this._updateHostAriaDescription(j)}get hidden(){return this._hidden}set hidden(j){this._hidden=(0,w.Ig)(j)}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 j=this._renderer.createElement("span"),G="mat-badge-active";return j.setAttribute("id",`mat-badge-content-${this._id}`),j.setAttribute("aria-hidden","true"),j.classList.add(v),"NoopAnimations"===this._animationMode&&j.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(j),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{j.classList.add(G)})}):j.classList.add(G),j}_updateRenderedContent(j){const G=`${null!=j?j:""}`.trim();this._isInitialized&&G&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=G),this._content=G}_updateHostAriaDescription(j){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),j&&this._ariaDescriber.describe(this._elementRef.nativeElement,j),this._description=j}_setColor(j){const G=this._elementRef.nativeElement.classList;G.remove(`mat-badge-${this._color}`),j&&G.add(`mat-badge-${j}`)}_clearExistingBadges(){const j=this._elementRef.nativeElement.querySelectorAll(`:scope > .${v}`);for(const G of Array.from(j))G!==this._badgeElement&&G.remove()}}return A.\u0275fac=function(j){return new(j||A)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(g.$s),e.Y36(e.Qsj),e.Y36(_.Qb,8))},A.\u0275dir=e.lG2({type:A,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(j,G){2&j&&e.ekj("mat-badge-overlap",G.overlap)("mat-badge-above",G.isAbove())("mat-badge-below",!G.isAbove())("mat-badge-before",!G.isAfter())("mat-badge-after",G.isAfter())("mat-badge-small","small"===G.size)("mat-badge-medium","medium"===G.size)("mat-badge-large","large"===G.size)("mat-badge-hidden",G.hidden||!G.content)("mat-badge-disabled",G.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]}),A})(),N=(()=>{class A{}return A.\u0275fac=function(j){return new(j||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[g.rt,c.BQ],c.BQ]}),A})()},47423:(qe,me,h)=>{"use strict";h.d(me,{lW:()=>A,ot:()=>j});var e=h(5e3),c=h(90508),g=h(76360),w=h(15664);const _=["mat-button",""],b=["*"],I=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],N=(0,c.pj)((0,c.Id)((0,c.Kr)(class{constructor(G){this._elementRef=G}})));let A=(()=>{class G extends N{constructor(he,F,be){super(he),this._focusMonitor=F,this._animationMode=be,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const pe of I)this._hasHostAttributes(pe)&&this._getHostElement().classList.add(pe);he.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(he,F){he?this._focusMonitor.focusVia(this._getHostElement(),he,F):this._getHostElement().focus(F)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...he){return he.some(F=>this._getHostElement().hasAttribute(F))}}return G.\u0275fac=function(he){return new(he||G)(e.Y36(e.SBq),e.Y36(w.tE),e.Y36(g.Qb,8))},G.\u0275cmp=e.Xpm({type:G,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(he,F){if(1&he&&e.Gf(c.wG,5),2&he){let be;e.iGM(be=e.CRH())&&(F.ripple=be.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(he,F){2&he&&(e.uIk("disabled",F.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===F._animationMode)("mat-button-disabled",F.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:_,ngContentSelectors:b,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(he,F){1&he&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1),e._UZ(3,"span",2)),2&he&&(e.xp6(2),e.ekj("mat-button-ripple-round",F.isRoundButton||F.isIconButton),e.Q6J("matRippleDisabled",F._isRippleDisabled())("matRippleCentered",F.isIconButton)("matRippleTrigger",F._getHostElement()))},directives:[c.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;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;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;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;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}),G})(),j=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=e.oAB({type:G}),G.\u0275inj=e.cJS({imports:[[c.si,c.BQ],c.BQ]}),G})()},9224:(qe,me,h)=>{"use strict";h.d(me,{a8:()=>T,kc:()=>ye,dn:()=>N,dk:()=>R,QW:()=>X,$j:()=>q,n5:()=>A});var e=h(5e3),c=h(76360),g=h(90508);const w=["*",[["mat-card-footer"]]],_=["*","mat-card-footer"],b=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],E=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let N=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),Y})(),A=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),Y})(),q=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),Y})(),ye=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275dir=e.lG2({type:Y,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),Y})(),T=(()=>{class Y{constructor(Te){this._animationMode=Te}}return Y.\u0275fac=function(Te){return new(Te||Y)(e.Y36(c.Qb,8))},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Te,Oe){2&Te&&e.ekj("_mat-animation-noopable","NoopAnimations"===Oe._animationMode)},exportAs:["matCard"],ngContentSelectors:_,decls:2,vars:0,template:function(Te,Oe){1&Te&&(e.F$t(w),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}),Y})(),R=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:E,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Te,Oe){1&Te&&(e.F$t(b),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),Y})(),X=(()=>{class Y{}return Y.\u0275fac=function(Te){return new(Te||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),Y})()},77446:(qe,me,h)=>{"use strict";h.d(me,{oG:()=>be,p9:()=>R});var e=h(63191),c=h(5e3),g=h(93075),w=h(90508),_=h(76360),b=h(15664),E=h(17144);const v=["input"],I=function(L){return{enterDuration:L}},N=["*"],A=new c.OlP("mat-checkbox-default-options",{providedIn:"root",factory:q});function q(){return{color:"accent",clickAction:"check-indeterminate"}}let j=0;const G=q(),Q={provide:g.JU,useExisting:(0,c.Gpc)(()=>be),multi:!0};class he{}const F=(0,w.sb)((0,w.pj)((0,w.Kr)((0,w.Id)(class{constructor(L){this._elementRef=L}}))));let be=(()=>{class L extends F{constructor(Y,se,Te,Oe,Se,We,ge){super(Y),this._changeDetectorRef=se,this._focusMonitor=Te,this._ngZone=Oe,this._animationMode=We,this._options=ge,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++j,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new c.vpe,this.indeterminateChange=new c.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||G,this.color=this.defaultColor=this._options.color||G.color,this.tabIndex=parseInt(Se)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(Y){this._required=(0,e.Ig)(Y)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Y=>{Y||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(Y){const se=(0,e.Ig)(Y);se!=this.checked&&(this._checked=se,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Y){const se=(0,e.Ig)(Y);se!==this.disabled&&(this._disabled=se,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(Y){const se=Y!=this._indeterminate;this._indeterminate=(0,e.Ig)(Y),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(Y){this.checked=!!Y}registerOnChange(Y){this._controlValueAccessorChangeFn=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(Y){let se=this._currentCheckState,Te=this._elementRef.nativeElement;if(se!==Y&&(this._currentAnimationClass.length>0&&Te.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(se,Y),this._currentCheckState=Y,this._currentAnimationClass.length>0)){Te.classList.add(this._currentAnimationClass);const Oe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Te.classList.remove(Oe)},1e3)})}}_emitChangeEvent(){const Y=new he;Y.source=this,Y.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(Y),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(Y){var se;const Te=null===(se=this._options)||void 0===se?void 0:se.clickAction;Y.stopPropagation(),this.disabled||"noop"===Te?!this.disabled&&"noop"===Te&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Te&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(Y,se){Y?this._focusMonitor.focusVia(this._inputElement,Y,se):this._inputElement.nativeElement.focus(se)}_onInteractionEvent(Y){Y.stopPropagation()}_getAnimationClassForCheckStateTransition(Y,se){if("NoopAnimations"===this._animationMode)return"";let Te="";switch(Y){case 0:if(1===se)Te="unchecked-checked";else{if(3!=se)return"";Te="unchecked-indeterminate"}break;case 2:Te=1===se?"unchecked-checked":"unchecked-indeterminate";break;case 1:Te=2===se?"checked-unchecked":"checked-indeterminate";break;case 3:Te=1===se?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${Te}`}_syncIndeterminate(Y){const se=this._inputElement;se&&(se.nativeElement.indeterminate=Y)}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(b.tE),c.Y36(c.R0b),c.$8M("tabindex"),c.Y36(_.Qb,8),c.Y36(A,8))},L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-checkbox"]],viewQuery:function(Y,se){if(1&Y&&(c.Gf(v,5),c.Gf(w.wG,5)),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._inputElement=Te.first),c.iGM(Te=c.CRH())&&(se.ripple=Te.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(Y,se){2&Y&&(c.Ikx("id",se.id),c.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),c.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:[c._Bn([Q]),c.qOj],ngContentSelectors:N,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","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(Y,se){if(1&Y&&(c.F$t(),c.TgZ(0,"label",0,1),c.TgZ(2,"span",2),c.TgZ(3,"input",3,4),c.NdJ("change",function(Oe){return se._onInteractionEvent(Oe)})("click",function(Oe){return se._onInputClick(Oe)}),c.qZA(),c.TgZ(5,"span",5),c._UZ(6,"span",6),c.qZA(),c._UZ(7,"span",7),c.TgZ(8,"span",8),c.O4$(),c.TgZ(9,"svg",9),c._UZ(10,"path",10),c.qZA(),c.kcU(),c._UZ(11,"span",11),c.qZA(),c.qZA(),c.TgZ(12,"span",12,13),c.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),c.TgZ(14,"span",14),c._uU(15,"\xa0"),c.qZA(),c.Hsn(16),c.qZA(),c.qZA()),2&Y){const Te=c.MAs(1),Oe=c.MAs(13);c.uIk("for",se.inputId),c.xp6(2),c.ekj("mat-checkbox-inner-container-no-side-margin",!Oe.textContent||!Oe.textContent.trim()),c.xp6(1),c.Q6J("id",se.inputId)("required",se.required)("checked",se.checked)("disabled",se.disabled)("tabIndex",se.tabIndex),c.uIk("value",se.value)("name",se.name)("aria-label",se.ariaLabel||null)("aria-labelledby",se.ariaLabelledby)("aria-checked",se._getAriaChecked())("aria-describedby",se.ariaDescribedby),c.xp6(2),c.Q6J("matRippleTrigger",Te)("matRippleDisabled",se._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",c.VKq(19,I,"NoopAnimations"===se._animationMode?0:150))}},directives:[w.wG,E.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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({}),L})(),R=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[w.si,w.BQ,E.Q8,T],w.BQ,T]}),L})()},26688:(qe,me,h)=>{"use strict";h.d(me,{HS:()=>Te,oH:()=>ge,qn:()=>z,Hi:()=>de});var e=h(91159),c=h(5e3),g=h(90508),w=h(63191),_=h(69808),b=h(76360),E=h(77579),v=h(56451),I=h(95698),N=h(82722),A=h(68675),q=h(70925),j=h(15664),G=h(20449),Q=h(93075),he=h(67322),F=h(50226);const be=["*"],ye=new c.OlP("MatChipRemove"),T=new c.OlP("MatChipAvatar"),R=new c.OlP("MatChipTrailingIcon");class L{constructor(Pe){this._elementRef=Pe}}const X=(0,g.sb)((0,g.pj)((0,g.Kr)(L),"primary"),-1);let Te=(()=>{class Ce extends X{constructor(ce,fe,Ze,ne,it,Be,ze,Ue){super(ce),this._ngZone=fe,this._changeDetectorRef=it,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 E.x,this._onBlur=new E.x,this.selectionChange=new c.vpe,this.destroyed=new c.vpe,this.removed=new c.vpe,this._addHostClassName(),this._chipRippleTarget=Be.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new g.IR(this,fe,this._chipRippleTarget,Ze),this._chipRipple.setupTriggerEvents(ce),this.rippleConfig=ne||{},this._animationsDisabled="NoopAnimations"===ze,this.tabIndex=null!=Ue&&parseInt(Ue)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(ce){const fe=(0,w.Ig)(ce);fe!==this._selected&&(this._selected=fe,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(ce){this._value=ce}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(ce){this._selectable=(0,w.Ig)(ce)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(ce){this._disabled=(0,w.Ig)(ce)}get removable(){return this._removable}set removable(ce){this._removable=(0,w.Ig)(ce)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const ce="mat-basic-chip",fe=this._elementRef.nativeElement;fe.hasAttribute(ce)||fe.tagName.toLowerCase()===ce?fe.classList.add(ce):fe.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(ce=!1){return this._selected=!this.selected,this._dispatchSelectionChange(ce),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(ce){this.disabled&&ce.preventDefault()}_handleKeydown(ce){if(!this.disabled)switch(ce.keyCode){case e.yY:case e.ZH:this.remove(),ce.preventDefault();break;case e.L_:this.selectable&&this.toggleSelected(!0),ce.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(ce=!1){this.selectionChange.emit({source:this,isUserInput:ce,selected:this._selected})}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(q.t4),c.Y36(g.Y2,8),c.Y36(c.sBO),c.Y36(_.K0),c.Y36(b.Qb,8),c.$8M("tabindex"))},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(ce,fe,Ze){if(1&ce&&(c.Suo(Ze,T,5),c.Suo(Ze,R,5),c.Suo(Ze,ye,5)),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe.avatar=ne.first),c.iGM(ne=c.CRH())&&(fe.trailingIcon=ne.first),c.iGM(ne=c.CRH())&&(fe.removeIcon=ne.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(ce,fe){1&ce&&c.NdJ("click",function(ne){return fe._handleClick(ne)})("keydown",function(ne){return fe._handleKeydown(ne)})("focus",function(){return fe.focus()})("blur",function(){return fe._blur()}),2&ce&&(c.uIk("tabindex",fe.disabled?null:fe.tabIndex)("disabled",fe.disabled||null)("aria-disabled",fe.disabled.toString())("aria-selected",fe.ariaSelected),c.ekj("mat-chip-selected",fe.selected)("mat-chip-with-avatar",fe.avatar)("mat-chip-with-trailing-icon",fe.trailingIcon||fe.removeIcon)("mat-chip-disabled",fe.disabled)("_mat-animation-noopable",fe._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:[c.qOj]}),Ce})();const Se=new c.OlP("mat-chips-default-options");let We=0,ge=(()=>{class Ce{constructor(ce,fe){this._elementRef=ce,this._defaultOptions=fe,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new c.vpe,this.placeholder="",this.id="mat-chip-list-input-"+We++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(ce){ce&&(this._chipList=ce,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(ce){this._addOnBlur=(0,w.Ig)(ce)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(ce){this._disabled=(0,w.Ig)(ce)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(ce){if(ce){if(ce.keyCode===e.Mf&&!(0,e.Vb)(ce,"shiftKey")&&this._chipList._allowFocusEscape(),ce.keyCode===e.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void ce.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(ce)}_keyup(ce){!this._focusLastChipOnBackspace&&ce.keyCode===e.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,ce.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(ce){!this.inputElement.value&&!!ce&&this._chipList._keydown(ce),(!ce||this._isSeparatorKey(ce))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==ce||ce.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(ce){this.inputElement.focus(ce)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(ce){return!(0,e.Vb)(ce)&&new Set(this.separatorKeyCodes).has(ce.keyCode)}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(Se))},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(ce,fe){1&ce&&c.NdJ("keydown",function(ne){return fe._keydown(ne)})("keyup",function(ne){return fe._keyup(ne)})("blur",function(){return fe._blur()})("focus",function(){return fe._focus()})("input",function(){return fe._onInput()}),2&ce&&(c.Ikx("id",fe.id),c.uIk("disabled",fe.disabled||null)("placeholder",fe.placeholder||null)("aria-invalid",fe._chipList&&fe._chipList.ngControl?fe._chipList.ngControl.invalid:null)("aria-required",fe._chipList&&fe._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:[c.TTD]}),Ce})();const Le=(0,g.FD)(class{constructor(Ce,Pe,ce,fe){this._defaultErrorStateMatcher=Ce,this._parentForm=Pe,this._parentFormGroup=ce,this.ngControl=fe}});let ue=0;class Me{constructor(Pe,ce){this.source=Pe,this.value=ce}}let z=(()=>{class Ce extends Le{constructor(ce,fe,Ze,ne,it,Be,ze){super(Be,ne,it,ze),this._elementRef=ce,this._changeDetectorRef=fe,this._dir=Ze,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new E.x,this._uid="mat-chip-list-"+ue++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(Ue,_e)=>Ue===_e,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new c.vpe,this.valueChange=new c.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var ce,fe;return this.multiple?(null===(ce=this._selectionModel)||void 0===ce?void 0:ce.selected)||[]:null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(ce){this._multiple=(0,w.Ig)(ce),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(ce){this._compareWith=ce,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ce){this.writeValue(ce),this._value=ce}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var ce,fe,Ze,ne;return null!==(ne=null!==(ce=this._required)&&void 0!==ce?ce:null===(Ze=null===(fe=this.ngControl)||void 0===fe?void 0:fe.control)||void 0===Ze?void 0:Ze.hasValidator(Q.kI.required))&&void 0!==ne&&ne}set required(ce){this._required=(0,w.Ig)(ce),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(ce){this._placeholder=ce,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(ce){this._disabled=(0,w.Ig)(ce),this._syncChipsState()}get selectable(){return this._selectable}set selectable(ce){this._selectable=(0,w.Ig)(ce),this.chips&&this.chips.forEach(fe=>fe.chipListSelectable=this._selectable)}set tabIndex(ce){this._userTabIndex=ce,this._tabIndex=ce}get chipSelectionChanges(){return(0,v.T)(...this.chips.map(ce=>ce.selectionChange))}get chipFocusChanges(){return(0,v.T)(...this.chips.map(ce=>ce._onFocus))}get chipBlurChanges(){return(0,v.T)(...this.chips.map(ce=>ce._onBlur))}get chipRemoveChanges(){return(0,v.T)(...this.chips.map(ce=>ce.destroyed))}ngAfterContentInit(){this._keyManager=new j.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,N.R)(this._destroyed)).subscribe(ce=>this._keyManager.withHorizontalOrientation(ce)),this._keyManager.tabOut.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,A.O)(null),(0,N.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 G.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(ce){this._chipInput=ce,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",ce.id)}setDescribedByIds(ce){this._ariaDescribedby=ce.join(" ")}writeValue(ce){this.chips&&this._setSelectionByValue(ce,!1)}registerOnChange(ce){this._onChange=ce}registerOnTouched(ce){this._onTouched=ce}setDisabledState(ce){this.disabled=ce,this.stateChanges.next()}onContainerClick(ce){this._originatesFromChip(ce)||this.focus()}focus(ce){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(ce),this.stateChanges.next()))}_focusInput(ce){this._chipInput&&this._chipInput.focus(ce)}_keydown(ce){const fe=ce.target;fe&&fe.classList.contains("mat-chip")&&(this._keyManager.onKeydown(ce),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const ce=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(ce)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(ce){return ce>=0&&ceZe.deselect()),Array.isArray(ce))ce.forEach(Ze=>this._selectValue(Ze,fe)),this._sortValues();else{const Ze=this._selectValue(ce,fe);Ze&&fe&&this._keyManager.setActiveItem(Ze)}}_selectValue(ce,fe=!0){const Ze=this.chips.find(ne=>null!=ne.value&&this._compareWith(ne.value,ce));return Ze&&(fe?Ze.selectViaInteraction():Ze.select(),this._selectionModel.select(Ze)),Ze}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(ce){this._selectionModel.clear(),this.chips.forEach(fe=>{fe!==ce&&fe.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(ce=>{ce.selected&&this._selectionModel.select(ce)}),this.stateChanges.next())}_propagateChanges(ce){let fe=null;fe=Array.isArray(this.selected)?this.selected.map(Ze=>Ze.value):this.selected?this.selected.value:ce,this._value=fe,this.change.emit(new Me(this,fe)),this.valueChange.emit(fe),this._onChange(fe),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(ce=>{ce.source.selected?this._selectionModel.select(ce.source):this._selectionModel.deselect(ce.source),this.multiple||this.chips.forEach(fe=>{!this._selectionModel.isSelected(fe)&&fe.selected&&fe.deselect()}),ce.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(ce=>{let fe=this.chips.toArray().indexOf(ce.chip);this._isValidIndex(fe)&&this._keyManager.updateActiveItem(fe),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(ce=>{const fe=ce.chip,Ze=this.chips.toArray().indexOf(ce.chip);this._isValidIndex(Ze)&&fe._hasFocus&&(this._lastDestroyedChipIndex=Ze)})}_originatesFromChip(ce){let fe=ce.target;for(;fe&&fe!==this._elementRef.nativeElement;){if(fe.classList.contains("mat-chip"))return!0;fe=fe.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(ce=>ce._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(ce=>{ce._chipListDisabled=this._disabled,ce._chipListMultiple=this.multiple})}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(F.Is,8),c.Y36(Q.F,8),c.Y36(Q.sg,8),c.Y36(g.rD),c.Y36(Q.a5,10))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-chip-list"]],contentQueries:function(ce,fe,Ze){if(1&ce&&c.Suo(Ze,Te,5),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe.chips=ne)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(ce,fe){1&ce&&c.NdJ("focus",function(){return fe.focus()})("blur",function(){return fe._blur()})("keydown",function(ne){return fe._keydown(ne)}),2&ce&&(c.Ikx("id",fe._uid),c.uIk("tabindex",fe.disabled?null:fe._tabIndex)("aria-describedby",fe._ariaDescribedby||null)("aria-required",fe.role?fe.required:null)("aria-disabled",fe.disabled.toString())("aria-invalid",fe.errorState)("aria-multiselectable",fe.multiple)("role",fe.role)("aria-orientation",fe.ariaOrientation),c.ekj("mat-chip-list-disabled",fe.disabled)("mat-chip-list-invalid",fe.errorState)("mat-chip-list-required",fe.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:[c._Bn([{provide:he.Eo,useExisting:Ce}]),c.qOj],ngContentSelectors:be,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(ce,fe){1&ce&&(c.F$t(),c.TgZ(0,"div",0),c.Hsn(1),c.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;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;transform:translateZ(0)}.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}),Ce})(),de=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275mod=c.oAB({type:Ce}),Ce.\u0275inj=c.cJS({providers:[g.rD,{provide:Se,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[g.BQ]]}),Ce})()},90508:(qe,me,h)=>{"use strict";h.d(me,{yN:()=>pe,mZ:()=>ye,_A:()=>z,rD:()=>it,sG:()=>P,K7:()=>f,HF:()=>t,Y2:()=>o,BQ:()=>L,X2:()=>Be,uc:()=>_e,XK:()=>Ze,ey:()=>bt,Ng:()=>Nt,rN:()=>It,nP:()=>s,us:()=>n,wG:()=>u,si:()=>l,LF:()=>Pe,IR:()=>D,CB:()=>Yt,jH:()=>Ct,pj:()=>Oe,Kr:()=>Se,Id:()=>Te,FD:()=>ge,dB:()=>Le,sb:()=>We,E0:()=>ze});var e=h(5e3),c=h(50226),w=h(69808),_=h(70925),b=h(15664),E=h(63191),v=h(77579),I=h(68306),N=h(68675),A=h(76360),q=h(91159);function Q(He,je){if(1&He&&e._UZ(0,"mat-pseudo-checkbox",4),2&He){const Z=e.oxw();e.Q6J("state",Z.selected?"checked":"unchecked")("disabled",Z.disabled)}}function he(He,je){if(1&He&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&He){const Z=e.oxw();e.xp6(1),e.hij("(",Z.group.label,")")}}const F=["*"];let pe=(()=>{class He{}return He.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",He.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",He.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",He.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",He})(),ye=(()=>{class He{}return He.COMPLEX="375ms",He.ENTERING="225ms",He.EXITING="195ms",He})();const R=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function T(){return!0}});let L=(()=>{class He{constructor(Z,$,oe){this._sanityChecks=$,this._document=oe,this._hasDoneGlobalChecks=!1,Z._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Z){return!(0,_.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Z])}}return He.\u0275fac=function(Z){return new(Z||He)(e.LFG(b.qm),e.LFG(R,8),e.LFG(w.K0))},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[c.vT],c.vT]}),He})();function Te(He){return class extends He{constructor(...je){super(...je),this._disabled=!1}get disabled(){return this._disabled}set disabled(je){this._disabled=(0,E.Ig)(je)}}}function Oe(He,je){return class extends He{constructor(...Z){super(...Z),this.defaultColor=je,this.color=je}get color(){return this._color}set color(Z){const $=Z||this.defaultColor;$!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),$&&this._elementRef.nativeElement.classList.add(`mat-${$}`),this._color=$)}}}function Se(He){return class extends He{constructor(...je){super(...je),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(je){this._disableRipple=(0,E.Ig)(je)}}}function We(He,je=0){return class extends He{constructor(...Z){super(...Z),this._tabIndex=je,this.defaultTabIndex=je}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Z){this._tabIndex=null!=Z?(0,E.su)(Z):this.defaultTabIndex}}}function ge(He){return class extends He{constructor(...je){super(...je),this.stateChanges=new v.x,this.errorState=!1}updateErrorState(){const je=this.errorState,nt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);nt!==je&&(this.errorState=nt,this.stateChanges.next())}}}function Le(He){return class extends He{constructor(...je){super(...je),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new I.y(Z=>{this._isInitialized?this._notifySubscriber(Z):this._pendingSubscribers.push(Z)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(je){je.next(),je.complete()}}}const ue=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Me(){return(0,e.f3M)(e.soG)}});class z{constructor(){this._localeChanges=new v.x,this.localeChanges=this._localeChanges}getValidDateOrNull(je){return this.isDateInstance(je)&&this.isValid(je)?je:null}deserialize(je){return null==je||this.isDateInstance(je)&&this.isValid(je)?je:this.invalid()}setLocale(je){this.locale=je,this._localeChanges.next()}compareDate(je,Z){return this.getYear(je)-this.getYear(Z)||this.getMonth(je)-this.getMonth(Z)||this.getDate(je)-this.getDate(Z)}sameDate(je,Z){if(je&&Z){let $=this.isValid(je),oe=this.isValid(Z);return $&&oe?!this.compareDate(je,Z):$==oe}return je==Z}clampDate(je,Z,$){return Z&&this.compareDate(je,Z)<0?Z:$&&this.compareDate(je,$)>0?$:je}}const P=new e.OlP("mat-date-formats"),de=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ce(He,je){const Z=Array(He);for(let $=0;${class He extends z{constructor(Z,$){super(),this.useUtcForDisplay=!1,super.setLocale(Z)}getYear(Z){return Z.getFullYear()}getMonth(Z){return Z.getMonth()}getDate(Z){return Z.getDate()}getDayOfWeek(Z){return Z.getDay()}getMonthNames(Z){const $=new Intl.DateTimeFormat(this.locale,{month:Z,timeZone:"utc"});return Ce(12,oe=>this._format($,new Date(2017,oe,1)))}getDateNames(){const Z=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ce(31,$=>this._format(Z,new Date(2017,0,$+1)))}getDayOfWeekNames(Z){const $=new Intl.DateTimeFormat(this.locale,{weekday:Z,timeZone:"utc"});return Ce(7,oe=>this._format($,new Date(2017,0,oe+1)))}getYearName(Z){const $=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format($,Z)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Z){return this.getDate(this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z)+1,0))}clone(Z){return new Date(Z.getTime())}createDate(Z,$,oe){let nt=this._createDateWithOverflow(Z,$,oe);return nt.getMonth(),nt}today(){return new Date}parse(Z){return"number"==typeof Z?new Date(Z):Z?new Date(Date.parse(Z)):null}format(Z,$){if(!this.isValid(Z))throw Error("NativeDateAdapter: Cannot format invalid date.");const oe=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},$),{timeZone:"utc"}));return this._format(oe,Z)}addCalendarYears(Z,$){return this.addCalendarMonths(Z,12*$)}addCalendarMonths(Z,$){let oe=this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z)+$,this.getDate(Z));return this.getMonth(oe)!=((this.getMonth(Z)+$)%12+12)%12&&(oe=this._createDateWithOverflow(this.getYear(oe),this.getMonth(oe),0)),oe}addCalendarDays(Z,$){return this._createDateWithOverflow(this.getYear(Z),this.getMonth(Z),this.getDate(Z)+$)}toIso8601(Z){return[Z.getUTCFullYear(),this._2digit(Z.getUTCMonth()+1),this._2digit(Z.getUTCDate())].join("-")}deserialize(Z){if("string"==typeof Z){if(!Z)return null;if(de.test(Z)){let $=new Date(Z);if(this.isValid($))return $}}return super.deserialize(Z)}isDateInstance(Z){return Z instanceof Date}isValid(Z){return!isNaN(Z.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Z,$,oe){const nt=new Date;return nt.setFullYear(Z,$,oe),nt.setHours(0,0,0,0),nt}_2digit(Z){return("00"+Z).slice(-2)}_format(Z,$){const oe=new Date;return oe.setUTCFullYear($.getFullYear(),$.getMonth(),$.getDate()),oe.setUTCHours($.getHours(),$.getMinutes(),$.getSeconds(),$.getMilliseconds()),Z.format(oe)}}return He.\u0275fac=function(Z){return new(Z||He)(e.LFG(ue,8),e.LFG(_.t4))},He.\u0275prov=e.Yz7({token:He,factory:He.\u0275fac}),He})();const ce={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 fe=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({providers:[{provide:z,useClass:Pe}]}),He})(),Ze=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({providers:[{provide:P,useValue:ce}],imports:[[fe]]}),He})(),it=(()=>{class He{isErrorState(Z,$){return!!(Z&&Z.invalid&&(Z.touched||$&&$.submitted))}}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275prov=e.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),Be=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275dir=e.lG2({type:He,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),He})();function ze(He,je,Z="mat"){He.changes.pipe((0,N.O)(He)).subscribe(({length:$})=>{Ue(je,`${Z}-2-line`,!1),Ue(je,`${Z}-3-line`,!1),Ue(je,`${Z}-multi-line`,!1),2===$||3===$?Ue(je,`${Z}-${$}-line`,!0):$>3&&Ue(je,`${Z}-multi-line`,!0)})}function Ue(He,je,Z){He.nativeElement.classList.toggle(je,Z)}let _e=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L],L]}),He})();class ae{constructor(je,Z,$){this._renderer=je,this.element=Z,this.config=$,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ae={enterDuration:225,exitDuration:150},Ne=(0,_.i$)({passive:!0}),V=["mousedown","touchstart"],H=["mouseup","mouseleave","touchend","touchcancel"];class D{constructor(je,Z,$,oe){this._target=je,this._ngZone=Z,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,oe.isBrowser&&(this._containerElement=(0,E.fI)($))}fadeInRipple(je,Z,$={}){const oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),nt=Object.assign(Object.assign({},Ae),$.animation);$.centered&&(je=oe.left+oe.width/2,Z=oe.top+oe.height/2);const ct=$.radius||function i(He,je,Z){const $=Math.max(Math.abs(He-Z.left),Math.abs(He-Z.right)),oe=Math.max(Math.abs(je-Z.top),Math.abs(je-Z.bottom));return Math.sqrt($*$+oe*oe)}(je,Z,oe),Rt=je-oe.left,mt=Z-oe.top,Tt=nt.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=Rt-ct+"px",ot.style.top=mt-ct+"px",ot.style.height=2*ct+"px",ot.style.width=2*ct+"px",null!=$.color&&(ot.style.backgroundColor=$.color),ot.style.transitionDuration=`${Tt}ms`,this._containerElement.appendChild(ot),function O(He){window.getComputedStyle(He).getPropertyValue("opacity")}(ot),ot.style.transform="scale(1)";const rt=new ae(this,ot,$);return rt.state=0,this._activeRipples.add(rt),$.persistent||(this._mostRecentTransientRipple=rt),this._runTimeoutOutsideZone(()=>{const lt=rt===this._mostRecentTransientRipple;rt.state=1,!$.persistent&&(!lt||!this._isPointerDown)&&rt.fadeOut()},Tt),rt}fadeOutRipple(je){const Z=this._activeRipples.delete(je);if(je===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!Z)return;const $=je.element,oe=Object.assign(Object.assign({},Ae),je.config.animation);$.style.transitionDuration=`${oe.exitDuration}ms`,$.style.opacity="0",je.state=2,this._runTimeoutOutsideZone(()=>{je.state=3,$.remove()},oe.exitDuration)}fadeOutAll(){this._activeRipples.forEach(je=>je.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(je=>{je.config.persistent||je.fadeOut()})}setupTriggerEvents(je){const Z=(0,E.fI)(je);!Z||Z===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Z,this._registerEvents(V))}handleEvent(je){"mousedown"===je.type?this._onMousedown(je):"touchstart"===je.type?this._onTouchStart(je):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(H),this._pointerUpEventsRegistered=!0)}_onMousedown(je){const Z=(0,b.X6)(je),$=this._lastTouchStartEvent&&Date.now(){!je.config.persistent&&(1===je.state||je.config.terminateOnPointerUp&&0===je.state)&&je.fadeOut()}))}_runTimeoutOutsideZone(je,Z=0){this._ngZone.runOutsideAngular(()=>setTimeout(je,Z))}_registerEvents(je){this._ngZone.runOutsideAngular(()=>{je.forEach(Z=>{this._triggerElement.addEventListener(Z,this,Ne)})})}_removeTriggerEvents(){this._triggerElement&&(V.forEach(je=>{this._triggerElement.removeEventListener(je,this,Ne)}),this._pointerUpEventsRegistered&&H.forEach(je=>{this._triggerElement.removeEventListener(je,this,Ne)}))}}const o=new e.OlP("mat-ripple-global-options");let u=(()=>{class He{constructor(Z,$,oe,nt,ct){this._elementRef=Z,this._animationMode=ct,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=nt||{},this._rippleRenderer=new D(this,$,Z,oe)}get disabled(){return this._disabled}set disabled(Z){Z&&this.fadeOutAllNonPersistent(),this._disabled=Z,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Z){this._trigger=Z,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(Z,$=0,oe){return"number"==typeof Z?this._rippleRenderer.fadeInRipple(Z,$,Object.assign(Object.assign({},this.rippleConfig),oe)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Z))}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(_.t4),e.Y36(o,8),e.Y36(A.Qb,8))},He.\u0275dir=e.lG2({type:He,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Z,$){2&Z&&e.ekj("mat-ripple-unbounded",$.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"]}),He})(),l=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L],L]}),He})(),s=(()=>{class He{constructor(Z){this._animationMode=Z,this.state="unchecked",this.disabled=!1}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(A.Qb,8))},He.\u0275cmp=e.Xpm({type:He,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Z,$){2&Z&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===$.state)("mat-pseudo-checkbox-checked","checked"===$.state)("mat-pseudo-checkbox-disabled",$.disabled)("_mat-animation-noopable","NoopAnimations"===$._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(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}),He})(),n=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[L]]}),He})();const t=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),f=new e.OlP("MatOptgroup");let Ye=0;class It{constructor(je,Z=!1){this.source=je,this.isUserInput=Z}}let jt=(()=>{class He{constructor(Z,$,oe,nt){this._element=Z,this._changeDetectorRef=$,this._parent=oe,this.group=nt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ye++,this.onSelectionChange=new e.vpe,this._stateChanges=new v.x}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(Z){this._disabled=(0,E.Ig)(Z)}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(Z,$){const oe=this._getHostElement();"function"==typeof oe.focus&&oe.focus($)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Z){(Z.keyCode===q.K5||Z.keyCode===q.L_)&&!(0,q.Vb)(Z)&&(this._selectViaInteraction(),Z.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 Z=this.viewValue;Z!==this._mostRecentViewValue&&(this._mostRecentViewValue=Z,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Z=!1){this.onSelectionChange.emit(new It(this,Z))}}return He.\u0275fac=function(Z){e.$Z()},He.\u0275dir=e.lG2({type:He,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),He})(),bt=(()=>{class He extends jt{constructor(Z,$,oe,nt){super(Z,$,oe,nt)}}return He.\u0275fac=function(Z){return new(Z||He)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(t,8),e.Y36(f,8))},He.\u0275cmp=e.Xpm({type:He,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Z,$){1&Z&&e.NdJ("click",function(){return $._selectViaInteraction()})("keydown",function(nt){return $._handleKeydown(nt)}),2&Z&&(e.Ikx("id",$.id),e.uIk("tabindex",$._getTabIndex())("aria-selected",$._getAriaSelected())("aria-disabled",$.disabled.toString()),e.ekj("mat-selected",$.selected)("mat-option-multiple",$.multiple)("mat-active",$.active)("mat-option-disabled",$.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:F,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(Z,$){1&Z&&(e.F$t(),e.YNc(0,Q,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,he,2,1,"span",2),e._UZ(4,"div",3)),2&Z&&(e.Q6J("ngIf",$.multiple),e.xp6(3),e.Q6J("ngIf",$.group&&$.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",$._getHostElement())("matRippleDisabled",$.disabled||$.disableRipple))},directives:[s,w.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;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}),He})();function Yt(He,je,Z){if(Z.length){let $=je.toArray(),oe=Z.toArray(),nt=0;for(let ct=0;ctZ+$?Math.max(0,He-$+je):Z}let Nt=(()=>{class He{}return He.\u0275fac=function(Z){return new(Z||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({imports:[[l,w.ez,L,n]]}),He})()},86856:(qe,me,h)=>{"use strict";h.d(me,{Mq:()=>mt,hl:()=>Ht,FA:()=>at,nW:()=>ni});var e=h(15664),c=h(91314),g=h(47429),w=h(69808),_=h(5e3),b=h(47423),E=h(29071),v=h(90508),I=h(77579),N=h(50727),A=h(56451),q=h(39646),j=h(91159),G=h(95698),Q=h(68675),he=h(39300),F=h(50226),be=h(63191),pe=h(70925),ye=h(41777),T=h(93075),R=h(67322),L=h(98833);const X=["mat-calendar-body",""];function Y(Qe,yt){if(1&Qe&&(_.TgZ(0,"tr",2),_.TgZ(1,"td",3),_._uU(2),_.qZA(),_.qZA()),2&Qe){const U=_.oxw();_.xp6(1),_.Udp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),_.uIk("colspan",U.numCols),_.xp6(1),_.hij(" ",U.label," ")}}function se(Qe,yt){if(1&Qe&&(_.TgZ(0,"td",3),_._uU(1),_.qZA()),2&Qe){const U=_.oxw(2);_.Udp("padding-top",U._cellPadding)("padding-bottom",U._cellPadding),_.uIk("colspan",U._firstRowOffset),_.xp6(1),_.hij(" ",U._firstRowOffset>=U.labelMinRequiredCells?U.label:""," ")}}function Te(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"td",7),_.TgZ(1,"button",8),_.NdJ("click",function(_t){const ti=_.CHM(U).$implicit;return _.oxw(2)._cellClicked(ti,_t)}),_.TgZ(2,"div",9),_._uU(3),_.qZA(),_._UZ(4,"div",10),_.qZA(),_.qZA()}if(2&Qe){const U=yt.$implicit,Ge=yt.index,_t=_.oxw().index,Dt=_.oxw();_.Udp("width",Dt._cellWidth)("padding-top",Dt._cellPadding)("padding-bottom",Dt._cellPadding),_.uIk("data-mat-row",_t)("data-mat-col",Ge),_.xp6(1),_.ekj("mat-calendar-body-disabled",!U.enabled)("mat-calendar-body-active",Dt._isActiveCell(_t,Ge))("mat-calendar-body-range-start",Dt._isRangeStart(U.compareValue))("mat-calendar-body-range-end",Dt._isRangeEnd(U.compareValue))("mat-calendar-body-in-range",Dt._isInRange(U.compareValue))("mat-calendar-body-comparison-bridge-start",Dt._isComparisonBridgeStart(U.compareValue,_t,Ge))("mat-calendar-body-comparison-bridge-end",Dt._isComparisonBridgeEnd(U.compareValue,_t,Ge))("mat-calendar-body-comparison-start",Dt._isComparisonStart(U.compareValue))("mat-calendar-body-comparison-end",Dt._isComparisonEnd(U.compareValue))("mat-calendar-body-in-comparison-range",Dt._isInComparisonRange(U.compareValue))("mat-calendar-body-preview-start",Dt._isPreviewStart(U.compareValue))("mat-calendar-body-preview-end",Dt._isPreviewEnd(U.compareValue))("mat-calendar-body-in-preview",Dt._isInPreview(U.compareValue)),_.Q6J("ngClass",U.cssClasses)("tabindex",Dt._isActiveCell(_t,Ge)?0:-1),_.uIk("aria-label",U.ariaLabel)("aria-disabled",!U.enabled||null)("aria-pressed",Dt._isSelected(U.compareValue))("aria-current",Dt.todayValue===U.compareValue?"date":null),_.xp6(1),_.ekj("mat-calendar-body-selected",Dt._isSelected(U.compareValue))("mat-calendar-body-comparison-identical",Dt._isComparisonIdentical(U.compareValue))("mat-calendar-body-today",Dt.todayValue===U.compareValue),_.xp6(1),_.hij(" ",U.displayValue," ")}}function Oe(Qe,yt){if(1&Qe&&(_.TgZ(0,"tr",4),_.YNc(1,se,2,6,"td",5),_.YNc(2,Te,5,47,"td",6),_.qZA()),2&Qe){const U=yt.$implicit,Ge=yt.index,_t=_.oxw();_.xp6(1),_.Q6J("ngIf",0===Ge&&_t._firstRowOffset),_.xp6(1),_.Q6J("ngForOf",U)}}function Se(Qe,yt){if(1&Qe&&(_.TgZ(0,"th",5),_.TgZ(1,"span",6),_._uU(2),_.qZA(),_.TgZ(3,"span",7),_._uU(4),_.qZA(),_.qZA()),2&Qe){const U=yt.$implicit;_.xp6(2),_.Oqu(U.long),_.xp6(2),_.Oqu(U.narrow)}}const We=["*"];function ge(Qe,yt){}function Le(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-month-view",5),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("_userSelection",function(_t){return _.CHM(U),_.oxw()._dateSelected(_t)}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)("comparisonStart",U.comparisonStart)("comparisonEnd",U.comparisonEnd)}}function ue(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-year-view",6),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("monthSelected",function(_t){return _.CHM(U),_.oxw()._monthSelectedInYearView(_t)})("selectedChange",function(_t){return _.CHM(U),_.oxw()._goToDateInView(_t,"month")}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function Me(Qe,yt){if(1&Qe){const U=_.EpF();_.TgZ(0,"mat-multi-year-view",7),_.NdJ("activeDateChange",function(_t){return _.CHM(U),_.oxw().activeDate=_t})("yearSelected",function(_t){return _.CHM(U),_.oxw()._yearSelectedInMultiYearView(_t)})("selectedChange",function(_t){return _.CHM(U),_.oxw()._goToDateInView(_t,"year")}),_.qZA()}if(2&Qe){const U=_.oxw();_.Q6J("activeDate",U.activeDate)("selected",U.selected)("dateFilter",U.dateFilter)("maxDate",U.maxDate)("minDate",U.minDate)("dateClass",U.dateClass)}}function z(Qe,yt){}const P=["button"];function de(Qe,yt){1&Qe&&(_.O4$(),_.TgZ(0,"svg",3),_._UZ(1,"path",4),_.qZA())}const Ce=[[["","matDatepickerToggleIcon",""]]],Pe=["[matDatepickerToggleIcon]"];class it{constructor(yt,U,Ge,_t,Dt={},ti=yt,si){this.value=yt,this.displayValue=U,this.ariaLabel=Ge,this.enabled=_t,this.cssClasses=Dt,this.compareValue=ti,this.rawValue=si}}let Be=(()=>{class Qe{constructor(U,Ge){this._elementRef=U,this._ngZone=Ge,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new _.vpe,this.previewChange=new _.vpe,this._enterHandler=_t=>{if(this._skipNextFocus&&"focus"===_t.type)this._skipNextFocus=!1;else if(_t.target&&this.isRange){const Dt=this._getCellFromElement(_t.target);Dt&&this._ngZone.run(()=>this.previewChange.emit({value:Dt.enabled?Dt:null,event:_t}))}},this._leaveHandler=_t=>{null!==this.previewEnd&&this.isRange&&_t.target&&this._getCellFromElement(_t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:_t}))},Ge.runOutsideAngular(()=>{const _t=U.nativeElement;_t.addEventListener("mouseenter",this._enterHandler,!0),_t.addEventListener("focus",this._enterHandler,!0),_t.addEventListener("mouseleave",this._leaveHandler,!0),_t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(U,Ge){U.enabled&&this.selectedValueChange.emit({value:U.value,event:Ge})}_isSelected(U){return this.startValue===U||this.endValue===U}ngOnChanges(U){const Ge=U.numCols,{rows:_t,numCols:Dt}=this;(U.rows||Ge)&&(this._firstRowOffset=_t&&_t.length&&_t[0].length?Dt-_t[0].length:0),(U.cellAspectRatio||Ge||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Dt+"%"),(Ge||!this._cellWidth)&&(this._cellWidth=100/Dt+"%")}ngOnDestroy(){const U=this._elementRef.nativeElement;U.removeEventListener("mouseenter",this._enterHandler,!0),U.removeEventListener("focus",this._enterHandler,!0),U.removeEventListener("mouseleave",this._leaveHandler,!0),U.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(U,Ge){let _t=U*this.numCols+Ge;return U&&(_t-=this._firstRowOffset),_t==this.activeCell}_focusActiveCell(U=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>{setTimeout(()=>{const Ge=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Ge&&(U||(this._skipNextFocus=!0),Ge.focus())})})})}_isRangeStart(U){return Ue(U,this.startValue,this.endValue)}_isRangeEnd(U){return _e(U,this.startValue,this.endValue)}_isInRange(U){return ae(U,this.startValue,this.endValue,this.isRange)}_isComparisonStart(U){return Ue(U,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(U,Ge,_t){if(!this._isComparisonStart(U)||this._isRangeStart(U)||!this._isInRange(U))return!1;let Dt=this.rows[Ge][_t-1];if(!Dt){const ti=this.rows[Ge-1];Dt=ti&&ti[ti.length-1]}return Dt&&!this._isRangeEnd(Dt.compareValue)}_isComparisonBridgeEnd(U,Ge,_t){if(!this._isComparisonEnd(U)||this._isRangeEnd(U)||!this._isInRange(U))return!1;let Dt=this.rows[Ge][_t+1];if(!Dt){const ti=this.rows[Ge+1];Dt=ti&&ti[0]}return Dt&&!this._isRangeStart(Dt.compareValue)}_isComparisonEnd(U){return _e(U,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(U){return ae(U,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(U){return this.comparisonStart===this.comparisonEnd&&U===this.comparisonStart}_isPreviewStart(U){return Ue(U,this.previewStart,this.previewEnd)}_isPreviewEnd(U){return _e(U,this.previewStart,this.previewEnd)}_isInPreview(U){return ae(U,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(U){let Ge;if(ze(U)?Ge=U:ze(U.parentNode)&&(Ge=U.parentNode),Ge){const _t=Ge.getAttribute("data-mat-row"),Dt=Ge.getAttribute("data-mat-col");if(_t&&Dt)return this.rows[parseInt(_t)][parseInt(Dt)]}return null}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(_.R0b))},Qe.\u0275cmp=_.Xpm({type:Qe,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:[_.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(U,Ge){1&U&&(_.YNc(0,Y,3,6,"tr",0),_.YNc(1,Oe,3,2,"tr",1)),2&U&&(_.Q6J("ngIf",Ge._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}),Qe})();function ze(Qe){return"TD"===Qe.nodeName}function Ue(Qe,yt,U){return null!==U&&yt!==U&&Qe=yt&&Qe===U}function ae(Qe,yt,U,Ge){return Ge&&null!==yt&&null!==U&&yt!==U&&Qe>=yt&&Qe<=U}class Ae{constructor(yt,U){this.start=yt,this.end=U}}let ee=(()=>{class Qe{constructor(U,Ge){this.selection=U,this._adapter=Ge,this._selectionChanged=new I.x,this.selectionChanged=this._selectionChanged,this.selection=U}updateSelection(U,Ge){const _t=this.selection;this.selection=U,this._selectionChanged.next({selection:U,source:Ge,oldValue:_t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(U){return this._adapter.isDateInstance(U)&&this._adapter.isValid(U)}}return Qe.\u0275fac=function(U){_.$Z()},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})(),Ne=(()=>{class Qe extends ee{constructor(U){super(null,U)}add(U){super.updateSelection(U,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const U=new Qe(this._adapter);return U.updateSelection(this.selection,this),U}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.LFG(v._A))},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac}),Qe})();const D={provide:ee,deps:[[new _.FiY,new _.tp0,ee],v._A],useFactory:function H(Qe,yt){return Qe||new Ne(yt)}},o=new _.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let t=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti){this._changeDetectorRef=U,this._dateFormats=Ge,this._dateAdapter=_t,this._dir=Dt,this._rangeStrategy=ti,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this._userSelection=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){const Ge=this._activeDate,_t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),this._hasSameMonthAndYear(Ge,this._activeDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnChanges(U){const Ge=U.comparisonStart||U.comparisonEnd;Ge&&!Ge.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(U){const Ge=U.value,_t=this._dateAdapter.getYear(this.activeDate),Dt=this._dateAdapter.getMonth(this.activeDate),ti=this._dateAdapter.createDate(_t,Dt,Ge);let si,Ii;this._selected instanceof Ae?(si=this._getDateInCurrentMonth(this._selected.start),Ii=this._getDateInCurrentMonth(this._selected.end)):si=Ii=this._getDateInCurrentMonth(this._selected),(si!==Ge||Ii!==Ge)&&this.selectedChange.emit(ti),this._userSelection.emit({value:ti,event:U.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case j.Ku:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case j.VM:this.activeDate=U.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case j.K5:case j.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&U.preventDefault());case j.hY:return void(null!=this._previewEnd&&!(0,j.Vb)(U)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:U}),U.preventDefault(),U.stopPropagation()));default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:U}),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 U=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(U)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(U){this._matCalendarBody._focusActiveCell(U)}_previewChanged({event:U,value:Ge}){if(this._rangeStrategy){const Dt=this._rangeStrategy.createPreview(Ge?Ge.rawValue:null,this.selected,U);this._previewStart=this._getCellCompareValue(Dt.start),this._previewEnd=this._getCellCompareValue(Dt.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const U=this._dateAdapter.getFirstDayOfWeek(),Ge=this._dateAdapter.getDayOfWeekNames("narrow");let Dt=this._dateAdapter.getDayOfWeekNames("long").map((ti,si)=>({long:ti,narrow:Ge[si]}));this._weekdays=Dt.slice(U).concat(Dt.slice(0,U))}_createWeekCells(){const U=this._dateAdapter.getNumDaysInMonth(this.activeDate),Ge=this._dateAdapter.getDateNames();this._weeks=[[]];for(let _t=0,Dt=this._firstWeekOffset;_t=0)&&(!this.maxDate||this._dateAdapter.compareDate(U,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(U))}_getDateInCurrentMonth(U){return U&&this._hasSameMonthAndYear(U,this.activeDate)?this._dateAdapter.getDate(U):null}_hasSameMonthAndYear(U,Ge){return!(!U||!Ge||this._dateAdapter.getMonth(U)!=this._dateAdapter.getMonth(Ge)||this._dateAdapter.getYear(U)!=this._dateAdapter.getYear(Ge))}_getCellCompareValue(U){if(U){const Ge=this._dateAdapter.getYear(U),_t=this._dateAdapter.getMonth(U),Dt=this._dateAdapter.getDate(U);return new Date(Ge,_t,Dt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(U){U instanceof Ae?(this._rangeStart=this._getCellCompareValue(U.start),this._rangeEnd=this._getCellCompareValue(U.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(U),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(U){return!this.dateFilter||this.dateFilter(U)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.sBO),_.Y36(v.sG,8),_.Y36(v._A,8),_.Y36(F.Is,8),_.Y36(o,8))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-month-view"]],viewQuery:function(U,Ge){if(1&U&&_.Gf(Be,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._matCalendarBody=_t.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:[_.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"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(U,Ge){1&U&&(_.TgZ(0,"table",0),_.TgZ(1,"thead",1),_.TgZ(2,"tr"),_.YNc(3,Se,5,2,"th",2),_.qZA(),_.TgZ(4,"tr"),_._UZ(5,"th",3),_.qZA(),_.qZA(),_.TgZ(6,"tbody",4),_.NdJ("selectedValueChange",function(Dt){return Ge._dateSelected(Dt)})("previewChange",function(Dt){return Ge._previewChanged(Dt)})("keyup",function(Dt){return Ge._handleCalendarBodyKeyup(Dt)})("keydown",function(Dt){return Ge._handleCalendarBodyKeydown(Dt)}),_.qZA(),_.qZA()),2&U&&(_.xp6(3),_.Q6J("ngForOf",Ge._weekdays),_.xp6(3),_.Q6J("label",Ge._monthLabel)("rows",Ge._weeks)("todayValue",Ge._todayDate)("startValue",Ge._rangeStart)("endValue",Ge._rangeEnd)("comparisonStart",Ge._comparisonRangeStart)("comparisonEnd",Ge._comparisonRangeEnd)("previewStart",Ge._previewStart)("previewEnd",Ge._previewEnd)("isRange",Ge._isRange)("labelMinRequiredCells",3)("activeCell",Ge._dateAdapter.getDate(Ge.activeDate)-1))},directives:[Be,w.sg],encapsulation:2,changeDetection:0}),Qe})();const r=24;let d=(()=>{class Qe{constructor(U,Ge,_t){this._changeDetectorRef=U,this._dateAdapter=Ge,this._dir=_t,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this.yearSelected=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){let Ge=this._activeDate;const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),f(this._dateAdapter,Ge,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedYear(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Ge=this._dateAdapter.getYear(this._activeDate)-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let _t=0,Dt=[];_tthis._createCellForYear(ti))),Dt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(U){const Ge=U.value;this.yearSelected.emit(this._dateAdapter.createDate(Ge,0,1));let _t=this._dateAdapter.getMonth(this.activeDate),Dt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Ge,_t,1));this.selectedChange.emit(this._dateAdapter.createDate(Ge,_t,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r-x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case j.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-240:-r);break;case j.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?240:r);break;case j.K5:case j.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_getActiveCell(){return x(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(U){const Ge=this._dateAdapter.createDate(U,0,1),_t=this._dateAdapter.getYearName(Ge),Dt=this.dateClass?this.dateClass(Ge,"multi-year"):void 0;return new it(U,_t,_t,this._shouldEnableYear(U),Dt)}_shouldEnableYear(U){if(null==U||this.maxDate&&U>this._dateAdapter.getYear(this.maxDate)||this.minDate&&U{class Qe{constructor(U,Ge,_t,Dt){this._changeDetectorRef=U,this._dateFormats=Ge,this._dateAdapter=_t,this._dir=Dt,this._rerenderSubscription=N.w0.EMPTY,this.selectedChange=new _.vpe,this.monthSelected=new _.vpe,this.activeDateChange=new _.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(U){let Ge=this._activeDate;const _t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(_t,this.minDate,this.maxDate),this._dateAdapter.getYear(Ge)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U)),this._setSelectedMonth(U)}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(U){const Ge=U.value,_t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ge,1);this.monthSelected.emit(_t);const Dt=this._dateAdapter.getNumDaysInMonth(_t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ge,Math.min(this._dateAdapter.getDate(this.activeDate),Dt)))}_handleCalendarBodyKeydown(U){const Ge=this._activeDate,_t=this._isRtl();switch(U.keyCode){case j.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,_t?1:-1);break;case j.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,_t?-1:1);break;case j.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case j.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case j.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case j.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case j.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?-10:-1);break;case j.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,U.altKey?10:1);break;case j.K5:case j.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ge,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),U.preventDefault()}_handleCalendarBodyKeyup(U){(U.keyCode===j.L_||U.keyCode===j.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:U}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let U=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Ge=>Ge.map(_t=>this._createCellForMonth(_t,U[_t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(U){return U&&this._dateAdapter.getYear(U)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(U):null}_createCellForMonth(U,Ge){const _t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),U,1),Dt=this._dateAdapter.format(_t,this._dateFormats.display.monthYearA11yLabel),ti=this.dateClass?this.dateClass(_t,"year"):void 0;return new it(U,Ge.toLocaleUpperCase(),Dt,this._shouldEnableMonth(U),ti)}_shouldEnableMonth(U){const Ge=this._dateAdapter.getYear(this.activeDate);if(null==U||this._isYearAndMonthAfterMaxDate(Ge,U)||this._isYearAndMonthBeforeMinDate(Ge,U))return!1;if(!this.dateFilter)return!0;for(let Dt=this._dateAdapter.createDate(Ge,U,1);this._dateAdapter.getMonth(Dt)==U;Dt=this._dateAdapter.addCalendarDays(Dt,1))if(this.dateFilter(Dt))return!0;return!1}_isYearAndMonthAfterMaxDate(U,Ge){if(this.maxDate){const _t=this._dateAdapter.getYear(this.maxDate),Dt=this._dateAdapter.getMonth(this.maxDate);return U>_t||U===_t&&Ge>Dt}return!1}_isYearAndMonthBeforeMinDate(U,Ge){if(this.minDate){const _t=this._dateAdapter.getYear(this.minDate),Dt=this._dateAdapter.getMonth(this.minDate);return U<_t||U===_t&&Ge{class Qe{constructor(){this.changes=new I.x,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(U,Ge){return`${U} \u2013 ${Ge}`}}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275prov=_.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),Yt=0,Ct=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti){this._intl=U,this.calendar=Ge,this._dateAdapter=_t,this._dateFormats=Dt,this._buttonDescriptionId="mat-calendar-button-"+Yt++,this.calendar.stateChanges.subscribe(()=>ti.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 Ge=this._dateAdapter.getYear(this.calendar.activeDate)-x(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),_t=Ge+r-1,Dt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Ge,0,1)),ti=this._dateAdapter.getYearName(this._dateAdapter.createDate(_t,0,1));return this._intl.formatYearRange(Dt,ti)}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:-r)}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:r)}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(U,Ge){return"month"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(Ge)&&this._dateAdapter.getMonth(U)==this._dateAdapter.getMonth(Ge):"year"==this.calendar.currentView?this._dateAdapter.getYear(U)==this._dateAdapter.getYear(Ge):f(this._dateAdapter,U,Ge,this.calendar.minDate,this.calendar.maxDate)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36((0,_.Gpc)(()=>Nt)),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(_.sBO))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:We,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","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(U,Ge){1&U&&(_.F$t(),_.TgZ(0,"div",0),_.TgZ(1,"div",1),_.TgZ(2,"button",2),_.NdJ("click",function(){return Ge.currentPeriodClicked()}),_.TgZ(3,"span"),_._uU(4),_.qZA(),_.O4$(),_.TgZ(5,"svg",3),_._UZ(6,"polygon",4),_.qZA(),_.qZA(),_.kcU(),_._UZ(7,"div",5),_.Hsn(8),_.TgZ(9,"button",6),_.NdJ("click",function(){return Ge.previousClicked()}),_.qZA(),_.TgZ(10,"button",7),_.NdJ("click",function(){return Ge.nextClicked()}),_.qZA(),_.qZA(),_.qZA()),2&U&&(_.xp6(2),_.uIk("aria-label",Ge.periodButtonLabel)("aria-describedby",Ge._buttonDescriptionId),_.xp6(1),_.uIk("id",Ge._buttonDescriptionId),_.xp6(1),_.Oqu(Ge.periodButtonText),_.xp6(1),_.ekj("mat-calendar-invert","month"!==Ge.calendar.currentView),_.xp6(4),_.Q6J("disabled",!Ge.previousEnabled()),_.uIk("aria-label",Ge.prevButtonLabel),_.xp6(1),_.Q6J("disabled",!Ge.nextEnabled()),_.uIk("aria-label",Ge.nextButtonLabel))},directives:[b.lW],encapsulation:2,changeDetection:0}),Qe})(),Nt=(()=>{class Qe{constructor(U,Ge,_t,Dt){this._dateAdapter=Ge,this._dateFormats=_t,this._changeDetectorRef=Dt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new _.vpe,this.yearSelected=new _.vpe,this.monthSelected=new _.vpe,this.viewChanged=new _.vpe(!0),this._userSelection=new _.vpe,this.stateChanges=new I.x,this._intlChanges=U.changes.subscribe(()=>{Dt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get selected(){return this._selected}set selected(U){this._selected=U instanceof Ae?U:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get minDate(){return this._minDate}set minDate(U){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get maxDate(){return this._maxDate}set maxDate(U){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get activeDate(){return this._clampedActiveDate}set activeDate(U){this._clampedActiveDate=this._dateAdapter.clampDate(U,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(U){const Ge=this._currentView!==U?U:null;this._currentView=U,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Ge&&this.viewChanged.emit(Ge)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||Ct),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(U){const Ge=U.minDate&&!this._dateAdapter.sameDate(U.minDate.previousValue,U.minDate.currentValue)?U.minDate:void 0,_t=U.maxDate&&!this._dateAdapter.sameDate(U.maxDate.previousValue,U.maxDate.currentValue)?U.maxDate:void 0,Dt=Ge||_t||U.dateFilter;if(Dt&&!Dt.firstChange){const ti=this._getCurrentViewComponent();ti&&(this._changeDetectorRef.detectChanges(),ti._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(U){const Ge=U.value;(this.selected instanceof Ae||Ge&&!this._dateAdapter.sameDate(Ge,this.selected))&&this.selectedChange.emit(Ge),this._userSelection.emit(U)}_yearSelectedInMultiYearView(U){this.yearSelected.emit(U)}_monthSelectedInYearView(U){this.monthSelected.emit(U)}_goToDateInView(U,Ge){this.activeDate=U,this.currentView=Ge}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(_.sBO))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-calendar"]],viewQuery:function(U,Ge){if(1&U&&(_.Gf(t,5),_.Gf(jt,5),_.Gf(d,5)),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge.monthView=_t.first),_.iGM(_t=_.CRH())&&(Ge.yearView=_t.first),_.iGM(_t=_.CRH())&&(Ge.multiYearView=_t.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:[_._Bn([D]),_.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(U,Ge){1&U&&(_.YNc(0,ge,0,0,"ng-template",0),_.TgZ(1,"div",1),_.YNc(2,Le,1,8,"mat-month-view",2),_.YNc(3,ue,1,6,"mat-year-view",3),_.YNc(4,Me,1,6,"mat-multi-year-view",4),_.qZA()),2&U&&(_.Q6J("cdkPortalOutlet",Ge._calendarHeaderPortal),_.xp6(1),_.Q6J("ngSwitch",Ge.currentView),_.xp6(1),_.Q6J("ngSwitchCase","month"),_.xp6(1),_.Q6J("ngSwitchCase","year"),_.xp6(1),_.Q6J("ngSwitchCase","multi-year"))},directives:[t,jt,d,g.Pl,e.kH,w.RF,w.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}),Qe})();const He={transformPanel:(0,ye.X$)("transformPanel",[(0,ye.eR)("void => enter-dropdown",(0,ye.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ye.F4)([(0,ye.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ye.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ye.eR)("void => enter-dialog",(0,ye.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ye.F4)([(0,ye.oB)({opacity:0,transform:"scale(0.7)"}),(0,ye.oB)({transform:"none",opacity:1})]))),(0,ye.eR)("* => void",(0,ye.jt)("100ms linear",(0,ye.oB)({opacity:0})))]),fadeInCalendar:(0,ye.X$)("fadeInCalendar",[(0,ye.SB)("void",(0,ye.oB)({opacity:0})),(0,ye.SB)("enter",(0,ye.oB)({opacity:1})),(0,ye.eR)("void => *",(0,ye.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let je=0;const Z=new _.OlP("mat-datepicker-scroll-strategy"),oe={provide:Z,deps:[c.aV],useFactory:function $(Qe){return()=>Qe.scrollStrategies.reposition()}},nt=(0,v.pj)(class{constructor(Qe){this._elementRef=Qe}});let ct=(()=>{class Qe extends nt{constructor(U,Ge,_t,Dt,ti,si){super(U),this._changeDetectorRef=Ge,this._globalModel=_t,this._dateAdapter=Dt,this._rangeSelectionStrategy=ti,this._subscriptions=new N.w0,this._animationDone=new I.x,this._actionsPortal=null,this._closeButtonText=si.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(U){const Ge=this._model.selection,_t=U.value,Dt=Ge instanceof Ae;if(Dt&&this._rangeSelectionStrategy){const ti=this._rangeSelectionStrategy.selectionFinished(_t,Ge,U.event);this._model.updateSelection(ti,this)}else _t&&(Dt||!this._dateAdapter.sameDate(_t,Ge))&&this._model.add(_t);(!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 Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(ee),_.Y36(v._A),_.Y36(o,8),_.Y36(bt))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker-content"]],viewQuery:function(U,Ge){if(1&U&&_.Gf(Nt,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._calendar=_t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(U,Ge){1&U&&_.WFA("@transformPanel.done",function(){return Ge._animationDone.next()}),2&U&&(_.d8E("@transformPanel",Ge._animationState),_.ekj("mat-datepicker-content-touch",Ge.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[_.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(U,Ge){if(1&U&&(_.TgZ(0,"div",0),_.TgZ(1,"mat-calendar",1),_.NdJ("yearSelected",function(Dt){return Ge.datepicker._selectYear(Dt)})("monthSelected",function(Dt){return Ge.datepicker._selectMonth(Dt)})("viewChanged",function(Dt){return Ge.datepicker._viewChanged(Dt)})("_userSelection",function(Dt){return Ge._handleUserSelection(Dt)}),_.qZA(),_.YNc(2,z,0,0,"ng-template",2),_.TgZ(3,"button",3),_.NdJ("focus",function(){return Ge._closeButtonFocused=!0})("blur",function(){return Ge._closeButtonFocused=!1})("click",function(){return Ge.datepicker.close()}),_._uU(4),_.qZA(),_.qZA()),2&U){let _t;_.ekj("mat-datepicker-content-container-with-custom-header",Ge.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Ge._actionsPortal),_.uIk("aria-modal",!0)("aria-labelledby",null!==(_t=Ge._dialogLabelId)&&void 0!==_t?_t:void 0),_.xp6(1),_.Q6J("id",Ge.datepicker.id)("ngClass",Ge.datepicker.panelClass)("startAt",Ge.datepicker.startAt)("startView",Ge.datepicker.startView)("minDate",Ge.datepicker._getMinDate())("maxDate",Ge.datepicker._getMaxDate())("dateFilter",Ge.datepicker._getDateFilter())("headerComponent",Ge.datepicker.calendarHeaderComponent)("selected",Ge._getSelected())("dateClass",Ge.datepicker.dateClass)("comparisonStart",Ge.comparisonStart)("comparisonEnd",Ge.comparisonEnd)("@fadeInCalendar","enter"),_.xp6(1),_.Q6J("cdkPortalOutlet",Ge._actionsPortal),_.xp6(1),_.ekj("cdk-visually-hidden",!Ge._closeButtonFocused),_.Q6J("color",Ge.color||"primary"),_.xp6(1),_.Oqu(Ge._closeButtonText)}},directives:[Nt,b.lW,e.mK,w.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:[He.transformPanel,He.fadeInCalendar]},changeDetection:0}),Qe})(),Rt=(()=>{class Qe{constructor(U,Ge,_t,Dt,ti,si,Ii){this._overlay=U,this._ngZone=Ge,this._viewContainerRef=_t,this._dateAdapter=ti,this._dir=si,this._model=Ii,this._inputStateChanges=N.w0.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new _.vpe,this.monthSelected=new _.vpe,this.viewChanged=new _.vpe(!0),this.openedStream=new _.vpe,this.closedStream=new _.vpe,this._opened=!1,this.id="mat-datepicker-"+je++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new I.x,this._scrollStrategy=Dt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(U){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(U){this._color=U}get touchUi(){return this._touchUi}set touchUi(U){this._touchUi=(0,be.Ig)(U)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(U){const Ge=(0,be.Ig)(U);Ge!==this._disabled&&(this._disabled=Ge,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(U){this._restoreFocus=(0,be.Ig)(U)}get panelClass(){return this._panelClass}set panelClass(U){this._panelClass=(0,be.du)(U)}get opened(){return this._opened}set opened(U){(0,be.Ig)(U)?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(U){const Ge=U.xPosition||U.yPosition;if(Ge&&!Ge.firstChange&&this._overlayRef){const _t=this._overlayRef.getConfig().positionStrategy;_t instanceof c._G&&(this._setConnectedPositions(_t),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(U){this._model.add(U)}_selectYear(U){this.yearSelected.emit(U)}_selectMonth(U){this.monthSelected.emit(U)}_viewChanged(U){this.viewChanged.emit(U)}registerInput(U){return this._inputStateChanges.unsubscribe(),this.datepickerInput=U,this._inputStateChanges=U.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(U){this._actionsPortal=U}removeActions(U){U===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,pe.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const Ge=this._componentRef.instance;Ge._startExitAnimation(),Ge._animationDone.pipe((0,G.q)(1)).subscribe(()=>this._destroyOverlay())}const U=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(U)):U()}_applyPendingSelection(){var U,Ge;null===(Ge=null===(U=this._componentRef)||void 0===U?void 0:U.instance)||void 0===Ge||Ge._applyPendingSelection()}_forwardContentValues(U){U.datepicker=this,U.color=this.color,U._actionsPortal=this._actionsPortal,U._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const U=this.touchUi,Ge=new g.C5(ct,this._viewContainerRef),_t=this._overlayRef=this._overlay.create(new c.X_({positionStrategy:U?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[U?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:U?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(U?"dialog":"popup")}));this._getCloseStream(_t).subscribe(Dt=>{Dt&&Dt.preventDefault(),this.close()}),_t.keydownEvents().subscribe(Dt=>{const ti=Dt.keyCode;(ti===j.LH||ti===j.JH||ti===j.oh||ti===j.SV||ti===j.Ku||ti===j.VM)&&Dt.preventDefault()}),this._componentRef=_t.attach(Ge),this._forwardContentValues(this._componentRef.instance),U||this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>_t.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const U=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(U)}_setConnectedPositions(U){const Ge="end"===this.xPosition?"end":"start",_t="start"===Ge?"end":"start",Dt="above"===this.yPosition?"bottom":"top",ti="top"===Dt?"bottom":"top";return U.withPositions([{originX:Ge,originY:ti,overlayX:Ge,overlayY:Dt},{originX:Ge,originY:Dt,overlayX:Ge,overlayY:ti},{originX:_t,originY:ti,overlayX:_t,overlayY:Dt},{originX:_t,originY:Dt,overlayX:_t,overlayY:ti}])}_getCloseStream(U){return(0,A.T)(U.backdropClick(),U.detachments(),U.keydownEvents().pipe((0,he.h)(Ge=>Ge.keyCode===j.hY&&!(0,j.Vb)(Ge)||this.datepickerInput&&(0,j.Vb)(Ge,"altKey")&&Ge.keyCode===j.LH)))}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(c.aV),_.Y36(_.R0b),_.Y36(_.s_b),_.Y36(Z),_.Y36(v._A,8),_.Y36(F.Is,8),_.Y36(ee))},Qe.\u0275dir=_.lG2({type:Qe,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:[_.TTD]}),Qe})(),mt=(()=>{class Qe extends Rt{}return Qe.\u0275fac=function(){let yt;return function(Ge){return(yt||(yt=_.n5z(Qe)))(Ge||Qe)}}(),Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[_._Bn([D,{provide:Rt,useExisting:Qe}]),_.qOj],decls:0,vars:0,template:function(U,Ge){},encapsulation:2,changeDetection:0}),Qe})();class Tt{constructor(yt,U){this.target=yt,this.targetElement=U,this.value=this.target.value}}let ot=(()=>{class Qe{constructor(U,Ge,_t){this._elementRef=U,this._dateAdapter=Ge,this._dateFormats=_t,this.dateChange=new _.vpe,this.dateInput=new _.vpe,this.stateChanges=new I.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=N.w0.EMPTY,this._localeSubscription=N.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value));return!ti||this._matchesFilter(ti)?null:{matDatepickerFilter:!0}},this._minValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),si=this._getMinDate();return!si||!ti||this._dateAdapter.compareDate(si,ti)<=0?null:{matDatepickerMin:{min:si,actual:ti}}},this._maxValidator=Dt=>{const ti=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Dt.value)),si=this._getMaxDate();return!si||!ti||this._dateAdapter.compareDate(si,ti)>=0?null:{matDatepickerMax:{max:si,actual:ti}}},this._lastValueValid=!1,this._localeSubscription=Ge.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(U){this._assignValueProgrammatically(U)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(U){const Ge=(0,be.Ig)(U),_t=this._elementRef.nativeElement;this._disabled!==Ge&&(this._disabled=Ge,this.stateChanges.next(void 0)),Ge&&this._isInitialized&&_t.blur&&_t.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(U){this._model=U,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Ge=>{if(this._shouldHandleChangeEvent(Ge)){const _t=this._getValueFromModel(Ge.selection);this._lastValueValid=this._isValidValue(_t),this._cvaOnChange(_t),this._onTouched(),this._formatValue(_t),this.dateInput.emit(new Tt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Tt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(U){(function rt(Qe,yt){const U=Object.keys(Qe);for(let Ge of U){const{previousValue:_t,currentValue:Dt}=Qe[Ge];if(!yt.isDateInstance(_t)||!yt.isDateInstance(Dt))return!0;if(!yt.sameDate(_t,Dt))return!0}return!1})(U,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(U){this._validatorOnChange=U}validate(U){return this._validator?this._validator(U):null}writeValue(U){this._assignValueProgrammatically(U)}registerOnChange(U){this._cvaOnChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U}_onKeydown(U){U.altKey&&U.keyCode===j.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),U.preventDefault())}_onInput(U){const Ge=this._lastValueValid;let _t=this._dateAdapter.parse(U,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(_t),_t=this._dateAdapter.getValidDateOrNull(_t);const Dt=!this._dateAdapter.sameDate(_t,this.value);!_t||Dt?this._cvaOnChange(_t):(U&&!this.value&&this._cvaOnChange(_t),Ge!==this._lastValueValid&&this._validatorOnChange()),Dt&&(this._assignValue(_t),this.dateInput.emit(new Tt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Tt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(U){this._elementRef.nativeElement.value=null!=U?this._dateAdapter.format(U,this._dateFormats.display.dateInput):""}_assignValue(U){this._model?(this._assignValueToModel(U),this._pendingValue=null):this._pendingValue=U}_isValidValue(U){return!U||this._dateAdapter.isValid(U)}_parentDisabled(){return!1}_assignValueProgrammatically(U){U=this._dateAdapter.deserialize(U),this._lastValueValid=this._isValidValue(U),U=this._dateAdapter.getValidDateOrNull(U),this._assignValue(U),this._formatValue(U)}_matchesFilter(U){const Ge=this._getDateFilter();return!Ge||Ge(U)}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(v._A,8),_.Y36(v.sG,8))},Qe.\u0275dir=_.lG2({type:Qe,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[_.TTD]}),Qe})();const lt={provide:T.JU,useExisting:(0,_.Gpc)(()=>Ht),multi:!0},ut={provide:T.Cf,useExisting:(0,_.Gpc)(()=>Ht),multi:!0};let Ht=(()=>{class Qe extends ot{constructor(U,Ge,_t,Dt){super(U,Ge,_t),this._formField=Dt,this._closedSubscription=N.w0.EMPTY,this._validator=T.kI.compose(super._getValidators())}set matDatepicker(U){U&&(this._datepicker=U,this._closedSubscription=U.closedStream.subscribe(()=>this._onTouched()),this._registerModel(U.registerInput(this)))}get min(){return this._min}set min(U){const Ge=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(Ge,this._min)||(this._min=Ge,this._validatorOnChange())}get max(){return this._max}set max(U){const Ge=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(U));this._dateAdapter.sameDate(Ge,this._max)||(this._max=Ge,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(U){const Ge=this._matchesFilter(this.value);this._dateFilter=U,this._matchesFilter(this.value)!==Ge&&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(U){return U}_assignValueToModel(U){this._model&&this._model.updateSelection(U,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(U){return U.source!==this}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(_.SBq),_.Y36(v._A,8),_.Y36(v.sG,8),_.Y36(R.G_,8))},Qe.\u0275dir=_.lG2({type:Qe,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(U,Ge){1&U&&_.NdJ("input",function(Dt){return Ge._onInput(Dt.target.value)})("change",function(){return Ge._onChange()})("blur",function(){return Ge._onBlur()})("keydown",function(Dt){return Ge._onKeydown(Dt)}),2&U&&(_.Ikx("disabled",Ge.disabled),_.uIk("aria-haspopup",Ge._datepicker?"dialog":null)("aria-owns",(null==Ge._datepicker?null:Ge._datepicker.opened)&&Ge._datepicker.id||null)("min",Ge.min?Ge._dateAdapter.toIso8601(Ge.min):null)("max",Ge.max?Ge._dateAdapter.toIso8601(Ge.max):null)("data-mat-calendar",Ge._datepicker?Ge._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[_._Bn([lt,ut,{provide:L.Jk,useExisting:Qe}]),_.qOj]}),Qe})(),Qt=(()=>{class Qe{}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275dir=_.lG2({type:Qe,selectors:[["","matDatepickerToggleIcon",""]]}),Qe})(),ni=(()=>{class Qe{constructor(U,Ge,_t){this._intl=U,this._changeDetectorRef=Ge,this._stateChanges=N.w0.EMPTY;const Dt=Number(_t);this.tabIndex=Dt||0===Dt?Dt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(U){this._disabled=(0,be.Ig)(U)}ngOnChanges(U){U.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(U){this.datepicker&&!this.disabled&&(this.datepicker.open(),U.stopPropagation())}_watchStateChanges(){const U=this.datepicker?this.datepicker.stateChanges:(0,q.of)(),Ge=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,q.of)(),_t=this.datepicker?(0,A.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,q.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,A.T)(this._intl.changes,U,Ge,_t).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Qe.\u0275fac=function(U){return new(U||Qe)(_.Y36(bt),_.Y36(_.sBO),_.$8M("tabindex"))},Qe.\u0275cmp=_.Xpm({type:Qe,selectors:[["mat-datepicker-toggle"]],contentQueries:function(U,Ge,_t){if(1&U&&_.Suo(_t,Qt,5),2&U){let Dt;_.iGM(Dt=_.CRH())&&(Ge._customIcon=Dt.first)}},viewQuery:function(U,Ge){if(1&U&&_.Gf(P,5),2&U){let _t;_.iGM(_t=_.CRH())&&(Ge._button=_t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(U,Ge){1&U&&_.NdJ("click",function(Dt){return Ge._open(Dt)}),2&U&&(_.uIk("tabindex",null)("data-mat-calendar",Ge.datepicker?Ge.datepicker.id:null),_.ekj("mat-datepicker-toggle-active",Ge.datepicker&&Ge.datepicker.opened)("mat-accent",Ge.datepicker&&"accent"===Ge.datepicker.color)("mat-warn",Ge.datepicker&&"warn"===Ge.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[_.TTD],ngContentSelectors:Pe,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(U,Ge){1&U&&(_.F$t(Ce),_.TgZ(0,"button",0,1),_.YNc(2,de,2,0,"svg",2),_.Hsn(3),_.qZA()),2&U&&(_.Q6J("disabled",Ge.disabled)("disableRipple",Ge.disableRipple),_.uIk("aria-haspopup",Ge.datepicker?"dialog":null)("aria-label",Ge.ariaLabel||Ge._intl.openCalendarLabel)("tabindex",Ge.disabled?-1:Ge.tabIndex),_.xp6(2),_.Q6J("ngIf",!Ge._customIcon))},directives:[b.lW,w.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}),Qe})(),at=(()=>{class Qe{}return Qe.\u0275fac=function(U){return new(U||Qe)},Qe.\u0275mod=_.oAB({type:Qe}),Qe.\u0275inj=_.cJS({providers:[bt,oe],imports:[[w.ez,b.ot,c.U8,e.rt,g.eL,v.BQ],E.ZD]}),Qe})()},48966:(qe,me,h)=>{"use strict";h.d(me,{WI:()=>Te,uw:()=>Me,H8:()=>ce,vA:()=>pe,xY:()=>Pe,Is:()=>Ze,so:()=>Y,uh:()=>Ce});var e=h(91314),c=h(47429),g=h(5e3),w=h(90508),_=h(50226),b=h(77579),E=h(49770),v=h(39646),I=h(39300),N=h(95698),A=h(68675),q=h(70925),j=h(69808),G=h(41777),Q=h(15664),he=h(91159),F=h(76360);function be(ne,it){}class pe{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ye={dialogContainer:(0,G.X$)("dialogContainer",[(0,G.SB)("void, exit",(0,G.oB)({opacity:0,transform:"scale(0.7)"})),(0,G.SB)("enter",(0,G.oB)({transform:"none"})),(0,G.eR)("* => enter",(0,G.ru)([(0,G.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,G.oB)({transform:"none",opacity:1})),(0,G.IO)("@*",(0,G.pV)(),{optional:!0})])),(0,G.eR)("* => void, * => exit",(0,G.ru)([(0,G.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,G.oB)({opacity:0})),(0,G.IO)("@*",(0,G.pV)(),{optional:!0})]))])};let R=(()=>{class ne extends c.en{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne){super(),this._elementRef=Be,this._focusTrapFactory=ze,this._changeDetectorRef=Ue,this._config=ae,this._interactivityChecker=Ae,this._ngZone=ee,this._focusMonitor=Ne,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=V=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(V)),this._ariaLabelledBy=ae.ariaLabelledBy||null,this._document=_e}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,q.ht)())}attachComponentPortal(Be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(Be)}attachTemplatePortal(Be){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(Be)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Be,ze){this._interactivityChecker.isFocusable(Be)||(Be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ue=()=>{Be.removeEventListener("blur",Ue),Be.removeEventListener("mousedown",Ue),Be.removeAttribute("tabindex")};Be.addEventListener("blur",Ue),Be.addEventListener("mousedown",Ue)})),Be.focus(ze)}_focusByCssSelector(Be,ze){let Ue=this._elementRef.nativeElement.querySelector(Be);Ue&&this._forceFocus(Ue,ze)}_trapFocus(){const Be=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Be.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ze=>{ze||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 Be=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&Be&&"function"==typeof Be.focus){const ze=(0,q.ht)(),Ue=this._elementRef.nativeElement;(!ze||ze===this._document.body||ze===Ue||Ue.contains(ze))&&(this._focusMonitor?(this._focusMonitor.focusVia(Be,this._closeInteractionType),this._closeInteractionType=null):Be.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Be=this._elementRef.nativeElement,ze=(0,q.ht)();return Be===ze||Be.contains(ze)}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.Y36(g.SBq),g.Y36(Q.qV),g.Y36(g.sBO),g.Y36(j.K0,8),g.Y36(pe),g.Y36(Q.ic),g.Y36(g.R0b),g.Y36(Q.tE))},ne.\u0275dir=g.lG2({type:ne,viewQuery:function(Be,ze){if(1&Be&&g.Gf(c.Pl,7),2&Be){let Ue;g.iGM(Ue=g.CRH())&&(ze._portalOutlet=Ue.first)}},features:[g.qOj]}),ne})(),L=(()=>{class ne extends R{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:Be,totalTime:ze}){"enter"===Be?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ze})):"exit"===Be&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:ze}))}_onAnimationStart({toState:Be,totalTime:ze}){"enter"===Be?this._animationStateChanged.next({state:"opening",totalTime:ze}):("exit"===Be||"void"===Be)&&this._animationStateChanged.next({state:"closing",totalTime:ze})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return ne.\u0275fac=function(){let it;return function(ze){return(it||(it=g.n5z(ne)))(ze||ne)}}(),ne.\u0275cmp=g.Xpm({type:ne,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(Be,ze){1&Be&&g.WFA("@dialogContainer.start",function(_e){return ze._onAnimationStart(_e)})("@dialogContainer.done",function(_e){return ze._onAnimationDone(_e)}),2&Be&&(g.Ikx("id",ze._id),g.uIk("role",ze._config.role)("aria-labelledby",ze._config.ariaLabel?null:ze._ariaLabelledBy)("aria-label",ze._config.ariaLabel)("aria-describedby",ze._config.ariaDescribedBy||null),g.d8E("@dialogContainer",ze._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Be,ze){1&Be&&g.YNc(0,be,0,0,"ng-template",0)},directives:[c.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:[ye.dialogContainer]}}),ne})(),X=0;class Y{constructor(it,Be,ze="mat-dialog-"+X++){this._overlayRef=it,this._containerInstance=Be,this.id=ze,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new b.x,this._afterClosed=new b.x,this._beforeClosed=new b.x,this._state=0,Be._id=ze,Be._animationStateChanged.pipe((0,I.h)(Ue=>"opened"===Ue.state),(0,N.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Be._animationStateChanged.pipe((0,I.h)(Ue=>"closed"===Ue.state),(0,N.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),it.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),it.keydownEvents().pipe((0,I.h)(Ue=>Ue.keyCode===he.hY&&!this.disableClose&&!(0,he.Vb)(Ue))).subscribe(Ue=>{Ue.preventDefault(),se(this,"keyboard")}),it.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():se(this,"mouse")})}close(it){this._result=it,this._containerInstance._animationStateChanged.pipe((0,I.h)(Be=>"closing"===Be.state),(0,N.q)(1)).subscribe(Be=>{this._beforeClosed.next(it),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Be.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(it){let Be=this._getPositionStrategy();return it&&(it.left||it.right)?it.left?Be.left(it.left):Be.right(it.right):Be.centerHorizontally(),it&&(it.top||it.bottom)?it.top?Be.top(it.top):Be.bottom(it.bottom):Be.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(it="",Be=""){return this._overlayRef.updateSize({width:it,height:Be}),this._overlayRef.updatePosition(),this}addPanelClass(it){return this._overlayRef.addPanelClass(it),this}removePanelClass(it){return this._overlayRef.removePanelClass(it),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function se(ne,it,Be){return void 0!==ne._containerInstance&&(ne._containerInstance._closeInteractionType=it),ne.close(Be)}const Te=new g.OlP("MatDialogData"),Oe=new g.OlP("mat-dialog-default-options"),Se=new g.OlP("mat-dialog-scroll-strategy"),Le={provide:Se,deps:[e.aV],useFactory:function ge(ne){return()=>ne.scrollStrategies.block()}};let ue=(()=>{class ne{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne,V,H){this._overlay=Be,this._injector=ze,this._defaultOptions=Ue,this._parentDialog=_e,this._overlayContainer=ae,this._dialogRefConstructor=ee,this._dialogContainerType=Ne,this._dialogDataToken=V,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new b.x,this._afterOpenedAtThisLevel=new b.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,E.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.O)(void 0))),this._scrollStrategy=Ae}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Be=this._parentDialog;return Be?Be._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(Be,ze){ze=function z(ne,it){return Object.assign(Object.assign({},it),ne)}(ze,this._defaultOptions||new pe),ze.id&&this.getDialogById(ze.id);const Ue=this._createOverlay(ze),_e=this._attachDialogContainer(Ue,ze),ae=this._attachDialogContent(Be,_e,Ue,ze);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ae),ae.afterClosed().subscribe(()=>this._removeOpenDialog(ae)),this.afterOpened.next(ae),_e._initializeWithAttachedContent(),ae}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Be){return this.openDialogs.find(ze=>ze.id===Be)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(Be){const ze=this._getOverlayConfig(Be);return this._overlay.create(ze)}_getOverlayConfig(Be){const ze=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:Be.scrollStrategy||this._scrollStrategy(),panelClass:Be.panelClass,hasBackdrop:Be.hasBackdrop,direction:Be.direction,minWidth:Be.minWidth,minHeight:Be.minHeight,maxWidth:Be.maxWidth,maxHeight:Be.maxHeight,disposeOnNavigation:Be.closeOnNavigation});return Be.backdropClass&&(ze.backdropClass=Be.backdropClass),ze}_attachDialogContainer(Be,ze){const _e=g.zs3.create({parent:ze&&ze.viewContainerRef&&ze.viewContainerRef.injector||this._injector,providers:[{provide:pe,useValue:ze}]}),ae=new c.C5(this._dialogContainerType,ze.viewContainerRef,_e,ze.componentFactoryResolver);return Be.attach(ae).instance}_attachDialogContent(Be,ze,Ue,_e){const ae=new this._dialogRefConstructor(Ue,ze,_e.id);if(Be instanceof g.Rgc)ze.attachTemplatePortal(new c.UE(Be,null,{$implicit:_e.data,dialogRef:ae}));else{const Ae=this._createInjector(_e,ae,ze),ee=ze.attachComponentPortal(new c.C5(Be,_e.viewContainerRef,Ae,_e.componentFactoryResolver));ae.componentInstance=ee.instance}return ae.updateSize(_e.width,_e.height).updatePosition(_e.position),ae}_createInjector(Be,ze,Ue){const _e=Be&&Be.viewContainerRef&&Be.viewContainerRef.injector,ae=[{provide:this._dialogContainerType,useValue:Ue},{provide:this._dialogDataToken,useValue:Be.data},{provide:this._dialogRefConstructor,useValue:ze}];return Be.direction&&(!_e||!_e.get(_.Is,null,g.XFs.Optional))&&ae.push({provide:_.Is,useValue:{value:Be.direction,change:(0,v.of)()}}),g.zs3.create({parent:_e||this._injector,providers:ae})}_removeOpenDialog(Be){const ze=this.openDialogs.indexOf(Be);ze>-1&&(this.openDialogs.splice(ze,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ue,_e)=>{Ue?_e.setAttribute("aria-hidden",Ue):_e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Be=this._overlayContainer.getContainerElement();if(Be.parentElement){const ze=Be.parentElement.children;for(let Ue=ze.length-1;Ue>-1;Ue--){let _e=ze[Ue];_e!==Be&&"SCRIPT"!==_e.nodeName&&"STYLE"!==_e.nodeName&&!_e.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(_e,_e.getAttribute("aria-hidden")),_e.setAttribute("aria-hidden","true"))}}}_closeDialogs(Be){let ze=Be.length;for(;ze--;)Be[ze].close()}}return ne.\u0275fac=function(Be){g.$Z()},ne.\u0275dir=g.lG2({type:ne}),ne})(),Me=(()=>{class ne extends ue{constructor(Be,ze,Ue,_e,ae,Ae,ee,Ne){super(Be,ze,_e,Ae,ee,ae,Y,L,Te,Ne)}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.LFG(e.aV),g.LFG(g.zs3),g.LFG(j.Ye,8),g.LFG(Oe,8),g.LFG(Se),g.LFG(ne,12),g.LFG(e.Xj),g.LFG(F.Qb,8))},ne.\u0275prov=g.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),P=0,Ce=(()=>{class ne{constructor(Be,ze,Ue){this._dialogRef=Be,this._elementRef=ze,this._dialog=Ue,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=function fe(ne,it){let Be=ne.nativeElement.parentElement;for(;Be&&!Be.classList.contains("mat-dialog-container");)Be=Be.parentElement;return Be?it.find(ze=>ze.id===Be.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const Be=this._dialogRef._containerInstance;Be&&!Be._ariaLabelledBy&&(Be._ariaLabelledBy=this.id)})}}return ne.\u0275fac=function(Be){return new(Be||ne)(g.Y36(Y,8),g.Y36(g.SBq),g.Y36(Me))},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(Be,ze){2&Be&&g.Ikx("id",ze.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ne})(),Pe=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ne})(),ce=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275dir=g.lG2({type:ne,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ne})(),Ze=(()=>{class ne{}return ne.\u0275fac=function(Be){return new(Be||ne)},ne.\u0275mod=g.oAB({type:ne}),ne.\u0275inj=g.cJS({providers:[Me,Le],imports:[[e.U8,c.eL,w.BQ],w.BQ]}),ne})()},4834:(qe,me,h)=>{"use strict";h.d(me,{d:()=>w,t:()=>_});var e=h(5e3),c=h(63191),g=h(90508);let w=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(v){this._vertical=(0,c.Ig)(v)}get inset(){return this._inset}set inset(v){this._inset=(0,c.Ig)(v)}}return b.\u0275fac=function(v){return new(v||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(v,I){2&v&&(e.uIk("aria-orientation",I.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",I.vertical)("mat-divider-horizontal",!I.vertical)("mat-divider-inset",I.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(v,I){},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}),b})(),_=(()=>{class b{}return b.\u0275fac=function(v){return new(v||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[[g.BQ],g.BQ]}),b})()},81125:(qe,me,h)=>{"use strict";h.d(me,{pp:()=>Be,To:()=>ze,ib:()=>Ce,HS:()=>z,u4:()=>ne,yz:()=>Ze,yK:()=>it});var e=h(5e3),c=h(63191),g=h(77579),w=h(50727),_=h(20449);let b=0;const E=new e.OlP("CdkAccordion");let v=(()=>{class Ue{constructor(){this._stateChanges=new g.x,this._openCloseAllActions=new g.x,this.id="cdk-accordion-"+b++,this._multi=!1}get multi(){return this._multi}set multi(ae){this._multi=(0,c.Ig)(ae)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ae){this._stateChanges.next(ae)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:E,useExisting:Ue}]),e.TTD]}),Ue})(),I=0,N=(()=>{class Ue{constructor(ae,Ae,ee){this.accordion=ae,this._changeDetectorRef=Ae,this._expansionDispatcher=ee,this._openCloseAllSubscription=w.w0.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-"+I++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ee.listen((Ne,V)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===V&&this.id!==Ne&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(ae){ae=(0,c.Ig)(ae),this._expanded!==ae&&(this._expanded=ae,this.expandedChange.emit(ae),ae?(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(ae){this._disabled=(0,c.Ig)(ae)}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(ae=>{this.disabled||(this.expanded=ae)})}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(E,12),e.Y36(e.sBO),e.Y36(_.A8))},Ue.\u0275dir=e.lG2({type:Ue,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:E,useValue:void 0}])]}),Ue})(),A=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({}),Ue})();var q=h(47429),j=h(69808),G=h(90508),Q=h(15664),he=h(71884),F=h(68675),be=h(39300),pe=h(95698),ye=h(91159),T=h(76360),R=h(60515),L=h(56451),X=h(41777);const Y=["body"];function se(Ue,_e){}const Te=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Oe=["mat-expansion-panel-header","*","mat-action-row"];function Se(Ue,_e){if(1&Ue&&e._UZ(0,"span",2),2&Ue){const ae=e.oxw();e.Q6J("@indicatorRotate",ae._getExpandedState())}}const We=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ge=["mat-panel-title","mat-panel-description","*"],Le=new e.OlP("MAT_ACCORDION"),ue="225ms cubic-bezier(0.4,0.0,0.2,1)",Me={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)(ue))]),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)(ue))])};let z=(()=>{class Ue{constructor(ae){this._template=ae}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(e.Rgc))},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["ng-template","matExpansionPanelContent",""]]}),Ue})(),P=0;const de=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Ce=(()=>{class Ue extends N{constructor(ae,Ae,ee,Ne,V,H,D){super(ae,Ae,ee),this._viewContainerRef=Ne,this._animationMode=H,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new g.x,this._headerId="mat-expansion-panel-header-"+P++,this._bodyAnimationDone=new g.x,this.accordion=ae,this._document=V,this._bodyAnimationDone.pipe((0,he.x)((O,i)=>O.fromState===i.fromState&&O.toState===i.toState)).subscribe(O=>{"void"!==O.fromState&&("expanded"===O.toState?this.afterExpand.emit():"collapsed"===O.toState&&this.afterCollapse.emit())}),D&&(this.hideToggle=D.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ae){this._hideToggle=(0,c.Ig)(ae)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ae){this._togglePosition=ae}_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,F.O)(null),(0,be.h)(()=>this.expanded&&!this._portal),(0,pe.q)(1)).subscribe(()=>{this._portal=new q.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(ae){this._inputChanges.next(ae)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ae=this._document.activeElement,Ae=this._body.nativeElement;return ae===Ae||Ae.contains(ae)}return!1}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(Le,12),e.Y36(e.sBO),e.Y36(_.A8),e.Y36(e.s_b),e.Y36(j.K0),e.Y36(T.Qb,8),e.Y36(de,8))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-expansion-panel"]],contentQueries:function(ae,Ae,ee){if(1&ae&&e.Suo(ee,z,5),2&ae){let Ne;e.iGM(Ne=e.CRH())&&(Ae._lazyContent=Ne.first)}},viewQuery:function(ae,Ae){if(1&ae&&e.Gf(Y,5),2&ae){let ee;e.iGM(ee=e.CRH())&&(Ae._body=ee.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ae,Ae){2&ae&&e.ekj("mat-expanded",Ae.expanded)("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-expansion-panel-spacing",Ae._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:Le,useValue:void 0}]),e.qOj,e.TTD],ngContentSelectors:Oe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ae,Ae){1&ae&&(e.F$t(Te),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(Ne){return Ae._bodyAnimationDone.next(Ne)}),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&ae&&(e.xp6(1),e.Q6J("@bodyExpansion",Ae._getExpandedState())("id",Ae.id),e.uIk("aria-labelledby",Ae._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",Ae._portal))},directives:[q.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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[Me.bodyExpansion]},changeDetection:0}),Ue})();class ce{}const fe=(0,G.sb)(ce);let Ze=(()=>{class Ue extends fe{constructor(ae,Ae,ee,Ne,V,H,D){super(),this.panel=ae,this._element=Ae,this._focusMonitor=ee,this._changeDetectorRef=Ne,this._animationMode=H,this._parentChangeSubscription=w.w0.EMPTY;const O=ae.accordion?ae.accordion._stateChanges.pipe((0,be.h)(i=>!(!i.hideToggle&&!i.togglePosition))):R.E;this.tabIndex=parseInt(D||"")||0,this._parentChangeSubscription=(0,L.T)(ae.opened,ae.closed,O,ae._inputChanges.pipe((0,be.h)(i=>!!(i.hideToggle||i.disabled||i.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ae.closed.pipe((0,be.h)(()=>ae._containsFocus())).subscribe(()=>ee.focusVia(Ae,"program")),V&&(this.expandedHeight=V.expandedHeight,this.collapsedHeight=V.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 ae=this._isExpanded();return ae&&this.expandedHeight?this.expandedHeight:!ae&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ae){switch(ae.keyCode){case ye.L_:case ye.K5:(0,ye.Vb)(ae)||(ae.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ae))}}focus(ae,Ae){ae?this._focusMonitor.focusVia(this._element,ae,Ae):this._element.nativeElement.focus(Ae)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ae=>{ae&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return Ue.\u0275fac=function(ae){return new(ae||Ue)(e.Y36(Ce,1),e.Y36(e.SBq),e.Y36(Q.tE),e.Y36(e.sBO),e.Y36(de,8),e.Y36(T.Qb,8),e.$8M("tabindex"))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ae,Ae){1&ae&&e.NdJ("click",function(){return Ae._toggle()})("keydown",function(Ne){return Ae._keydown(Ne)}),2&ae&&(e.uIk("id",Ae.panel._headerId)("tabindex",Ae.tabIndex)("aria-controls",Ae._getPanelId())("aria-expanded",Ae._isExpanded())("aria-disabled",Ae.panel.disabled),e.Udp("height",Ae._getHeaderHeight()),e.ekj("mat-expanded",Ae._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ae._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ae._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ae._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:ge,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ae,Ae){1&ae&&(e.F$t(We),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,Se,1,1,"span",1)),2&ae&&(e.xp6(4),e.Q6J("ngIf",Ae._showToggle()))},directives:[j.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:[Me.indicatorRotate]},changeDetection:0}),Ue})(),ne=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),Ue})(),it=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),Ue})(),Be=(()=>{class Ue extends v{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(ae){this._hideToggle=(0,c.Ig)(ae)}ngAfterContentInit(){this._headers.changes.pipe((0,F.O)(this._headers)).subscribe(ae=>{this._ownHeaders.reset(ae.filter(Ae=>Ae.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Q.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ae){this._keyManager.onKeydown(ae)}_handleHeaderFocus(ae){this._keyManager.updateActiveItem(ae)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return Ue.\u0275fac=function(){let _e;return function(Ae){return(_e||(_e=e.n5z(Ue)))(Ae||Ue)}}(),Ue.\u0275dir=e.lG2({type:Ue,selectors:[["mat-accordion"]],contentQueries:function(ae,Ae,ee){if(1&ae&&e.Suo(ee,Ze,5),2&ae){let Ne;e.iGM(Ne=e.CRH())&&(Ae._headers=Ne)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ae,Ae){2&ae&&e.ekj("mat-accordion-multi",Ae.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:Le,useExisting:Ue}]),e.qOj]}),Ue})(),ze=(()=>{class Ue{}return Ue.\u0275fac=function(ae){return new(ae||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({imports:[[j.ez,G.BQ,A,q.eL]]}),Ue})()},67322:(qe,me,h)=>{"use strict";h.d(me,{G_:()=>H,TO:()=>Me,KE:()=>D,Eo:()=>P,lN:()=>O,bx:()=>Ze,hX:()=>ne,UY:()=>it,R9:()=>_e});var e=h(17144),c=h(69808),g=h(5e3),w=h(90508),_=h(63191),b=h(77579),E=h(56451),v=h(54968),I=h(68675),N=h(82722),A=h(95698),q=h(41777),j=h(76360),G=h(50226),Q=h(70925);const he=["connectionContainer"],F=["inputContainer"],be=["label"];function pe(i,o){1&i&&(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 ye(i,o){if(1&i){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&i){const u=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=u.appearance)}}function T(i,o){if(1&i&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&i){const u=g.oxw(2);g.xp6(3),g.Oqu(u._control.placeholder)}}function R(i,o){1&i&&g.Hsn(0,3,["*ngSwitchCase","true"])}function L(i,o){1&i&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function X(i,o){if(1&i){const u=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(u),g.oxw().updateOutlineGap()}),g.YNc(2,T,4,1,"ng-container",12),g.YNc(3,R,1,0,"ng-content",12),g.YNc(4,L,2,0,"span",22),g.qZA()}if(2&i){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 Y(i,o){1&i&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function se(i,o){if(1&i&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&i){const u=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==u.color)("mat-warn","warn"==u.color)}}function Te(i,o){if(1&i&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&i){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState)}}function Oe(i,o){if(1&i&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&i){const u=g.oxw(2);g.Q6J("id",u._hintLabelId),g.xp6(1),g.Oqu(u.hintLabel)}}function Se(i,o){if(1&i&&(g.TgZ(0,"div",27),g.YNc(1,Oe,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&i){const u=g.oxw();g.Q6J("@transitionMessages",u._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",u.hintLabel)}}const We=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ge=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Le=0;const ue=new g.OlP("MatError");let Me=(()=>{class i{constructor(u,l){this.id="mat-error-"+Le++,u||l.nativeElement.setAttribute("aria-live","polite")}}return i.\u0275fac=function(u){return new(u||i)(g.$8M("aria-live"),g.Y36(g.SBq))},i.\u0275dir=g.lG2({type:i,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(u,l){2&u&&g.uIk("id",l.id)},inputs:{id:"id"},features:[g._Bn([{provide:ue,useExisting:i}])]}),i})();const z={transitionMessages:(0,q.X$)("transitionMessages",[(0,q.SB)("enter",(0,q.oB)({opacity:1,transform:"translateY(0%)"})),(0,q.eR)("void => enter",[(0,q.oB)({opacity:0,transform:"translateY(-5px)"}),(0,q.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let P=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i}),i})(),ce=0;const fe=new g.OlP("MatHint");let Ze=(()=>{class i{constructor(){this.align="start",this.id="mat-hint-"+ce++}}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(u,l){2&u&&(g.uIk("id",l.id)("align",null),g.ekj("mat-form-field-hint-end","end"===l.align))},inputs:{align:"align",id:"id"},features:[g._Bn([{provide:fe,useExisting:i}])]}),i})(),ne=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-label"]]}),i})(),it=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["mat-placeholder"]]}),i})();const Be=new g.OlP("MatPrefix"),Ue=new g.OlP("MatSuffix");let _e=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275dir=g.lG2({type:i,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:Ue,useExisting:i}])]}),i})(),ae=0;const Ne=(0,w.pj)(class{constructor(i){this._elementRef=i}},"primary"),V=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),H=new g.OlP("MatFormField");let D=(()=>{class i extends Ne{constructor(u,l,s,n,t,r,a){super(u),this._changeDetectorRef=l,this._dir=s,this._defaults=n,this._platform=t,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new b.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=n&&n.appearance?n.appearance:"legacy",this._hideRequiredMarker=!(!n||null==n.hideRequiredMarker)&&n.hideRequiredMarker}get appearance(){return this._appearance}set appearance(u){const l=this._appearance;this._appearance=u||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&l!==u&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(u){this._hideRequiredMarker=(0,_.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,I.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),u.ngControl&&u.ngControl.valueChanges&&u.ngControl.valueChanges.pipe((0,N.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,E.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,I.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,I.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,N.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 l=this._control?this._control.ngControl:null;return l&&l[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,v.R)(this._label.nativeElement,"transitionend").pipe((0,A.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 l=this._hintChildren?this._hintChildren.find(n=>"start"===n.align):null,s=this._hintChildren?this._hintChildren.find(n=>"end"===n.align):null;l?u.push(l.id):this._hintLabel&&u.push(this._hintLabelId),s&&u.push(s.id)}else this._errorChildren&&u.push(...this._errorChildren.map(l=>l.id));this._control.setDescribedByIds(u)}}_validateControlChild(){}updateOutlineGap(){const u=this._label?this._label.nativeElement:null,l=this._connectionContainerRef.nativeElement,s=".mat-form-field-outline-start",n=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!u||!u.children.length||!u.textContent.trim()){const f=l.querySelectorAll(`${s}, ${n}`);for(let x=0;x0?.75*jt+10:0}for(let f=0;f{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({imports:[[c.ez,w.BQ,e.Q8],w.BQ]}),i})()},25245:(qe,me,h)=>{"use strict";h.d(me,{Hw:()=>Ce,Ps:()=>Pe,jv:()=>se});var e=h(5e3),c=h(90508),g=h(63191),w=h(69808),_=h(39646),b=h(62843),E=h(4128),v=h(50727),I=h(18505),N=h(54004),A=h(70262),q=h(28746),j=h(13099),G=h(95698),Q=h(40520),he=h(22313);const F=["*"];let be;function ye(ce){var fe;return(null===(fe=function pe(){if(void 0===be&&(be=null,"undefined"!=typeof window)){const ce=window;void 0!==ce.trustedTypes&&(be=ce.trustedTypes.createPolicy("angular#components",{createHTML:fe=>fe}))}return be}())||void 0===fe?void 0:fe.createHTML(ce))||ce}function T(ce){return Error(`Unable to find icon with the name "${ce}"`)}function L(ce){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ce}".`)}function X(ce){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ce}".`)}class Y{constructor(fe,Ze,ne){this.url=fe,this.svgText=Ze,this.options=ne}}let se=(()=>{class ce{constructor(Ze,ne,it,Be){this._httpClient=Ze,this._sanitizer=ne,this._errorHandler=Be,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=it}addSvgIcon(Ze,ne,it){return this.addSvgIconInNamespace("",Ze,ne,it)}addSvgIconLiteral(Ze,ne,it){return this.addSvgIconLiteralInNamespace("",Ze,ne,it)}addSvgIconInNamespace(Ze,ne,it,Be){return this._addSvgIconConfig(Ze,ne,new Y(it,null,Be))}addSvgIconResolver(Ze){return this._resolvers.push(Ze),this}addSvgIconLiteralInNamespace(Ze,ne,it,Be){const ze=this._sanitizer.sanitize(e.q3G.HTML,it);if(!ze)throw X(it);const Ue=ye(ze);return this._addSvgIconConfig(Ze,ne,new Y("",Ue,Be))}addSvgIconSet(Ze,ne){return this.addSvgIconSetInNamespace("",Ze,ne)}addSvgIconSetLiteral(Ze,ne){return this.addSvgIconSetLiteralInNamespace("",Ze,ne)}addSvgIconSetInNamespace(Ze,ne,it){return this._addSvgIconSetConfig(Ze,new Y(ne,null,it))}addSvgIconSetLiteralInNamespace(Ze,ne,it){const Be=this._sanitizer.sanitize(e.q3G.HTML,ne);if(!Be)throw X(ne);const ze=ye(Be);return this._addSvgIconSetConfig(Ze,new Y("",ze,it))}registerFontClassAlias(Ze,ne=Ze){return this._fontCssClassesByAlias.set(Ze,ne),this}classNameForFontAlias(Ze){return this._fontCssClassesByAlias.get(Ze)||Ze}setDefaultFontSetClass(Ze){return this._defaultFontSetClass=Ze,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ze){const ne=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ze);if(!ne)throw L(Ze);const it=this._cachedIconsByUrl.get(ne);return it?(0,_.of)(Se(it)):this._loadSvgIconFromConfig(new Y(Ze,null)).pipe((0,I.b)(Be=>this._cachedIconsByUrl.set(ne,Be)),(0,N.U)(Be=>Se(Be)))}getNamedSvgIcon(Ze,ne=""){const it=We(ne,Ze);let Be=this._svgIconConfigs.get(it);if(Be)return this._getSvgFromConfig(Be);if(Be=this._getIconConfigFromResolvers(ne,Ze),Be)return this._svgIconConfigs.set(it,Be),this._getSvgFromConfig(Be);const ze=this._iconSetConfigs.get(ne);return ze?this._getSvgFromIconSetConfigs(Ze,ze):(0,b._)(T(it))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ze){return Ze.svgText?(0,_.of)(Se(this._svgElementFromConfig(Ze))):this._loadSvgIconFromConfig(Ze).pipe((0,N.U)(ne=>Se(ne)))}_getSvgFromIconSetConfigs(Ze,ne){const it=this._extractIconWithNameFromAnySet(Ze,ne);if(it)return(0,_.of)(it);const Be=ne.filter(ze=>!ze.svgText).map(ze=>this._loadSvgIconSetFromConfig(ze).pipe((0,A.K)(Ue=>{const ae=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,ze.url)} failed: ${Ue.message}`;return this._errorHandler.handleError(new Error(ae)),(0,_.of)(null)})));return(0,E.D)(Be).pipe((0,N.U)(()=>{const ze=this._extractIconWithNameFromAnySet(Ze,ne);if(!ze)throw T(Ze);return ze}))}_extractIconWithNameFromAnySet(Ze,ne){for(let it=ne.length-1;it>=0;it--){const Be=ne[it];if(Be.svgText&&Be.svgText.toString().indexOf(Ze)>-1){const ze=this._svgElementFromConfig(Be),Ue=this._extractSvgIconFromSet(ze,Ze,Be.options);if(Ue)return Ue}}return null}_loadSvgIconFromConfig(Ze){return this._fetchIcon(Ze).pipe((0,I.b)(ne=>Ze.svgText=ne),(0,N.U)(()=>this._svgElementFromConfig(Ze)))}_loadSvgIconSetFromConfig(Ze){return Ze.svgText?(0,_.of)(null):this._fetchIcon(Ze).pipe((0,I.b)(ne=>Ze.svgText=ne))}_extractSvgIconFromSet(Ze,ne,it){const Be=Ze.querySelector(`[id="${ne}"]`);if(!Be)return null;const ze=Be.cloneNode(!0);if(ze.removeAttribute("id"),"svg"===ze.nodeName.toLowerCase())return this._setSvgAttributes(ze,it);if("symbol"===ze.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ze),it);const Ue=this._svgElementFromString(ye(""));return Ue.appendChild(ze),this._setSvgAttributes(Ue,it)}_svgElementFromString(Ze){const ne=this._document.createElement("DIV");ne.innerHTML=Ze;const it=ne.querySelector("svg");if(!it)throw Error(" tag not found");return it}_toSvgElement(Ze){const ne=this._svgElementFromString(ye("")),it=Ze.attributes;for(let Be=0;Beye(Ae)),(0,q.x)(()=>this._inProgressUrlFetches.delete(Ue)),(0,j.B)());return this._inProgressUrlFetches.set(Ue,ae),ae}_addSvgIconConfig(Ze,ne,it){return this._svgIconConfigs.set(We(Ze,ne),it),this}_addSvgIconSetConfig(Ze,ne){const it=this._iconSetConfigs.get(Ze);return it?it.push(ne):this._iconSetConfigs.set(Ze,[ne]),this}_svgElementFromConfig(Ze){if(!Ze.svgElement){const ne=this._svgElementFromString(Ze.svgText);this._setSvgAttributes(ne,Ze.options),Ze.svgElement=ne}return Ze.svgElement}_getIconConfigFromResolvers(Ze,ne){for(let it=0;itfe?fe.pathname+fe.search:""}}}),z=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P=z.map(ce=>`[${ce}]`).join(", "),de=/^url\(['"]?#(.*?)['"]?\)$/;let Ce=(()=>{class ce extends Le{constructor(Ze,ne,it,Be,ze){super(Ze),this._iconRegistry=ne,this._location=Be,this._errorHandler=ze,this._inline=!1,this._currentIconFetch=v.w0.EMPTY,it||Ze.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ze){this._inline=(0,g.Ig)(Ze)}get svgIcon(){return this._svgIcon}set svgIcon(Ze){Ze!==this._svgIcon&&(Ze?this._updateSvgIcon(Ze):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ze)}get fontSet(){return this._fontSet}set fontSet(Ze){const ne=this._cleanupFontValue(Ze);ne!==this._fontSet&&(this._fontSet=ne,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ze){const ne=this._cleanupFontValue(Ze);ne!==this._fontIcon&&(this._fontIcon=ne,this._updateFontIconClasses())}_splitIconName(Ze){if(!Ze)return["",""];const ne=Ze.split(":");switch(ne.length){case 1:return["",ne[0]];case 2:return ne;default:throw Error(`Invalid icon name: "${Ze}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ze=this._elementsWithExternalReferences;if(Ze&&Ze.size){const ne=this._location.getPathname();ne!==this._previousPath&&(this._previousPath=ne,this._prependPathToReferences(ne))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ze){this._clearSvgElement();const ne=this._location.getPathname();this._previousPath=ne,this._cacheChildrenWithExternalReferences(Ze),this._prependPathToReferences(ne),this._elementRef.nativeElement.appendChild(Ze)}_clearSvgElement(){const Ze=this._elementRef.nativeElement;let ne=Ze.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ne--;){const it=Ze.childNodes[ne];(1!==it.nodeType||"svg"===it.nodeName.toLowerCase())&&it.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ze=this._elementRef.nativeElement,ne=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();ne!=this._previousFontSetClass&&(this._previousFontSetClass&&Ze.classList.remove(this._previousFontSetClass),ne&&Ze.classList.add(ne),this._previousFontSetClass=ne),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&Ze.classList.remove(this._previousFontIconClass),this.fontIcon&&Ze.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ze){return"string"==typeof Ze?Ze.trim().split(" ")[0]:Ze}_prependPathToReferences(Ze){const ne=this._elementsWithExternalReferences;ne&&ne.forEach((it,Be)=>{it.forEach(ze=>{Be.setAttribute(ze.name,`url('${Ze}#${ze.value}')`)})})}_cacheChildrenWithExternalReferences(Ze){const ne=Ze.querySelectorAll(P),it=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Be=0;Be{const Ue=ne[Be],_e=Ue.getAttribute(ze),ae=_e?_e.match(de):null;if(ae){let Ae=it.get(Ue);Ae||(Ae=[],it.set(Ue,Ae)),Ae.push({name:ze,value:ae[1]})}})}_updateSvgIcon(Ze){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ze){const[ne,it]=this._splitIconName(Ze);ne&&(this._svgNamespace=ne),it&&(this._svgName=it),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(it,ne).pipe((0,G.q)(1)).subscribe(Be=>this._setSvgElement(Be),Be=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ne}:${it}! ${Be.message}`))})}}}return ce.\u0275fac=function(Ze){return new(Ze||ce)(e.Y36(e.SBq),e.Y36(se),e.$8M("aria-hidden"),e.Y36(ue),e.Y36(e.qLn))},ce.\u0275cmp=e.Xpm({type:ce,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ze,ne){2&Ze&&(e.uIk("data-mat-icon-type",ne._usingFontIcon()?"font":"svg")("data-mat-icon-name",ne._svgName||ne.fontIcon)("data-mat-icon-namespace",ne._svgNamespace||ne.fontSet),e.ekj("mat-icon-inline",ne.inline)("mat-icon-no-color","primary"!==ne.color&&"accent"!==ne.color&&"warn"!==ne.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:F,decls:1,vars:0,template:function(Ze,ne){1&Ze&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-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}),ce})(),Pe=(()=>{class ce{}return ce.\u0275fac=function(Ze){return new(Ze||ce)},ce.\u0275mod=e.oAB({type:ce}),ce.\u0275inj=e.cJS({imports:[[c.BQ],c.BQ]}),ce})()},98833:(qe,me,h)=>{"use strict";h.d(me,{Jk:()=>N,Nt:()=>G,c:()=>Q});var e=h(63191),c=h(70925),g=h(5e3),w=h(93075),_=h(90508),b=h(67322),E=h(77579),v=h(74533);const N=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),A=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let q=0;const j=(0,_.FD)(class{constructor(he,F,be,pe){this._defaultErrorStateMatcher=he,this._parentForm=F,this._parentFormGroup=be,this.ngControl=pe}});let G=(()=>{class he extends j{constructor(be,pe,ye,T,R,L,X,Y,se,Te){super(L,T,R,ye),this._elementRef=be,this._platform=pe,this._autofillMonitor=Y,this._formField=Te,this._uid="mat-input-"+q++,this.focused=!1,this.stateChanges=new E.x,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=>(0,c.qK)().has(We)),this._iOSKeyupListener=We=>{const ge=We.target;!ge.value&&0===ge.selectionStart&&0===ge.selectionEnd&&(ge.setSelectionRange(1,1),ge.setSelectionRange(0,0))};const Oe=this._elementRef.nativeElement,Se=Oe.nodeName.toLowerCase();this._inputValueAccessor=X||Oe,this._previousNativeValue=this.value,this.id=this.id,pe.IOS&&se.runOutsideAngular(()=>{be.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Se,this._isTextarea="textarea"===Se,this._isInFormField=!!Te,this._isNativeSelect&&(this.controlType=Oe.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(be){this._disabled=(0,e.Ig)(be),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(be){this._id=be||this._uid}get required(){var be,pe,ye,T;return null!==(T=null!==(be=this._required)&&void 0!==be?be:null===(ye=null===(pe=this.ngControl)||void 0===pe?void 0:pe.control)||void 0===ye?void 0:ye.hasValidator(w.kI.required))&&void 0!==T&&T}set required(be){this._required=(0,e.Ig)(be)}get type(){return this._type}set type(be){this._type=be||"text",this._validateType(),!this._isTextarea&&(0,c.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(be){be!==this.value&&(this._inputValueAccessor.value=be,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(be){this._readonly=(0,e.Ig)(be)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(be=>{this.autofilled=be.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(be){this._elementRef.nativeElement.focus(be)}_focusChanged(be){be!==this.focused&&(this.focused=be,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var be,pe;const ye=(null===(pe=null===(be=this._formField)||void 0===be?void 0:be._hideControlPlaceholder)||void 0===pe?void 0:pe.call(be))?null:this.placeholder;if(ye!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=ye,ye?T.setAttribute("placeholder",ye):T.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const be=this._elementRef.nativeElement.value;this._previousNativeValue!==be&&(this._previousNativeValue=be,this.stateChanges.next())}_validateType(){A.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let be=this._elementRef.nativeElement.validity;return be&&be.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const be=this._elementRef.nativeElement,pe=be.options[0];return this.focused||be.multiple||!this.empty||!!(be.selectedIndex>-1&&pe&&pe.label)}return this.focused||!this.empty}setDescribedByIds(be){be.length?this._elementRef.nativeElement.setAttribute("aria-describedby",be.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const be=this._elementRef.nativeElement;return this._isNativeSelect&&(be.multiple||be.size>1)}}return he.\u0275fac=function(be){return new(be||he)(g.Y36(g.SBq),g.Y36(c.t4),g.Y36(w.a5,10),g.Y36(w.F,8),g.Y36(w.sg,8),g.Y36(_.rD),g.Y36(N,10),g.Y36(v.Lq),g.Y36(g.R0b),g.Y36(b.G_,8))},he.\u0275dir=g.lG2({type:he,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(be,pe){1&be&&g.NdJ("focus",function(){return pe._focusChanged(!0)})("blur",function(){return pe._focusChanged(!1)})("input",function(){return pe._onInput()}),2&be&&(g.Ikx("disabled",pe.disabled)("required",pe.required),g.uIk("id",pe.id)("data-placeholder",pe.placeholder)("name",pe.name||null)("readonly",pe.readonly&&!pe._isNativeSelect||null)("aria-invalid",pe.empty&&pe.required?null:pe.errorState)("aria-required",pe.required),g.ekj("mat-input-server",pe._isServer)("mat-native-select-inline",pe._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:b.Eo,useExisting:he}]),g.qOj,g.TTD]}),he})(),Q=(()=>{class he{}return he.\u0275fac=function(be){return new(be||he)},he.\u0275mod=g.oAB({type:he}),he.\u0275inj=g.cJS({providers:[_.rD],imports:[[v.Ky,b.lN,_.BQ],v.Ky,b.lN]}),he})()},14623:(qe,me,h)=>{"use strict";h.d(me,{i$:()=>se,Tg:()=>We,ie:()=>de});var e=h(69808),c=h(5e3),g=h(90508),w=h(63191),_=h(77579),b=h(82722),q=(h(68675),h(15664),h(20449),h(91159),h(93075),h(4834));const j=["*"],Q=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],he=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],T=(0,g.Id)((0,g.Kr)(class{})),R=(0,g.Kr)(class{}),L=new c.OlP("MatList"),X=new c.OlP("MatNavList");let se=(()=>{class Ce extends T{constructor(ce){super(),this._elementRef=ce,this._stateChanges=new _.x,"action-list"===this._getListType()&&ce.nativeElement.classList.add("mat-action-list")}_getListType(){const ce=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===ce?"list":"mat-action-list"===ce?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[c._Bn([{provide:L,useExisting:Ce}]),c.qOj,c.TTD],ngContentSelectors:j,decls:1,vars:0,template:function(ce,fe){1&ce&&(c.F$t(),c.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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}),Ce})(),Te=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Ce})(),Oe=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275dir=c.lG2({type:Ce,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Ce})(),We=(()=>{class Ce extends R{constructor(ce,fe,Ze,ne){super(),this._element=ce,this._isInteractiveList=!1,this._destroyed=new _.x,this._disabled=!1,this._isInteractiveList=!!(Ze||ne&&"action-list"===ne._getListType()),this._list=Ze||ne;const it=this._getHostElement();"button"===it.nodeName.toLowerCase()&&!it.hasAttribute("type")&&it.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,b.R)(this._destroyed)).subscribe(()=>{fe.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(ce){this._disabled=(0,w.Ig)(ce)}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 Ce.\u0275fac=function(ce){return new(ce||Ce)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(X,8),c.Y36(L,8))},Ce.\u0275cmp=c.Xpm({type:Ce,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ce,fe,Ze){if(1&ce&&(c.Suo(Ze,Te,5),c.Suo(Ze,Oe,5),c.Suo(Ze,g.X2,5)),2&ce){let ne;c.iGM(ne=c.CRH())&&(fe._avatar=ne.first),c.iGM(ne=c.CRH())&&(fe._icon=ne.first),c.iGM(ne=c.CRH())&&(fe._lines=ne)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(ce,fe){2&ce&&c.ekj("mat-list-item-disabled",fe.disabled)("mat-list-item-avatar",fe._avatar||fe._icon)("mat-list-item-with-avatar",fe._avatar||fe._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[c.qOj],ngContentSelectors:he,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(ce,fe){1&ce&&(c.F$t(Q),c.TgZ(0,"span",0),c._UZ(1,"span",1),c.Hsn(2),c.TgZ(3,"span",2),c.Hsn(4,1),c.qZA(),c.Hsn(5,2),c.qZA()),2&ce&&(c.xp6(1),c.Q6J("matRippleTrigger",fe._getHostElement())("matRippleDisabled",fe._isRippleDisabled()))},directives:[g.wG],encapsulation:2,changeDetection:0}),Ce})(),de=(()=>{class Ce{}return Ce.\u0275fac=function(ce){return new(ce||Ce)},Ce.\u0275mod=c.oAB({type:Ce}),Ce.\u0275inj=c.cJS({imports:[[g.uc,g.si,g.BQ,g.us,e.ez],g.uc,g.BQ,g.us,q.t]}),Ce})()},92181:(qe,me,h)=>{"use strict";h.d(me,{VK:()=>Be,OP:()=>ce,Tx:()=>V,p6:()=>Ne});var e=h(15664),c=h(63191),g=h(91159),w=h(5e3),_=h(77579),b=h(50727),E=h(56451),v=h(39646),I=h(53101),N=h(68675),A=h(63900),q=h(95698),j=h(82722),G=h(39300),Q=h(91005),he=h(41777),F=h(47429),be=h(69808),pe=h(90508),ye=h(91314),T=h(70925),R=h(50226),L=h(29071);const X=["mat-menu-item",""];function Y(H,D){1&H&&(w.O4$(),w.TgZ(0,"svg",2),w._UZ(1,"polygon",3),w.qZA())}const se=["*"];function Te(H,D){if(1&H){const O=w.EpF();w.TgZ(0,"div",0),w.NdJ("keydown",function(o){return w.CHM(O),w.oxw()._handleKeydown(o)})("click",function(){return w.CHM(O),w.oxw().closed.emit("click")})("@transformMenu.start",function(o){return w.CHM(O),w.oxw()._onAnimationStart(o)})("@transformMenu.done",function(o){return w.CHM(O),w.oxw()._onAnimationDone(o)}),w.TgZ(1,"div",1),w.Hsn(2),w.qZA(),w.qZA()}if(2&H){const O=w.oxw();w.Q6J("id",O.panelId)("ngClass",O._classList)("@transformMenu",O._panelAnimationState),w.uIk("aria-label",O.ariaLabel||null)("aria-labelledby",O.ariaLabelledby||null)("aria-describedby",O.ariaDescribedby||null)}}const Oe={transformMenu:(0,he.X$)("transformMenu",[(0,he.SB)("void",(0,he.oB)({opacity:0,transform:"scale(0.8)"})),(0,he.eR)("void => enter",(0,he.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,he.oB)({opacity:1,transform:"scale(1)"}))),(0,he.eR)("* => void",(0,he.jt)("100ms 25ms linear",(0,he.oB)({opacity:0})))]),fadeInItems:(0,he.X$)("fadeInItems",[(0,he.SB)("showing",(0,he.oB)({opacity:1})),(0,he.eR)("void => *",[(0,he.oB)({opacity:0}),(0,he.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ge=new w.OlP("MatMenuContent"),Ce=new w.OlP("MAT_MENU_PANEL"),Pe=(0,pe.Kr)((0,pe.Id)(class{}));let ce=(()=>{class H extends Pe{constructor(O,i,o,u,l){var s;super(),this._elementRef=O,this._document=i,this._focusMonitor=o,this._parentMenu=u,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new _.x,this._focused=new _.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==u?void 0:u.addItem)||void 0===s||s.call(u,this)}focus(O,i){this._focusMonitor&&O?this._focusMonitor.focusVia(this._getHostElement(),O,i):this._getHostElement().focus(i),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(O){this.disabled&&(O.preventDefault(),O.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var O;const i=this._elementRef.nativeElement.cloneNode(!0),o=i.querySelectorAll("mat-icon, .material-icons");for(let u=0;u{class H{constructor(O,i,o,u){this._elementRef=O,this._ngZone=i,this._defaultOptions=o,this._changeDetectorRef=u,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new w.n_E,this._tabSubscription=b.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new _.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new w.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+ne++}get xPosition(){return this._xPosition}set xPosition(O){this._xPosition=O,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(O){this._yPosition=O,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(O){this._overlapTrigger=(0,c.Ig)(O)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(O){this._hasBackdrop=(0,c.Ig)(O)}set panelClass(O){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=O,O&&O.length&&(O.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(O){this.panelClass=O}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,N.O)(this._directDescendantItems),(0,A.w)(O=>(0,E.T)(...O.map(i=>i._focused)))).subscribe(O=>this._keyManager.updateActiveItem(O)),this._directDescendantItems.changes.subscribe(O=>{var i;const o=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=o.activeItem)||void 0===i?void 0:i._hasFocus())){const u=O.toArray(),l=Math.max(0,Math.min(u.length-1,o.activeItemIndex||0));u[l]&&!u[l].disabled?o.setActiveItem(l):o.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,N.O)(this._directDescendantItems),(0,A.w)(i=>(0,E.T)(...i.map(o=>o._hovered))))}addItem(O){}removeItem(O){}_handleKeydown(O){const i=O.keyCode,o=this._keyManager;switch(i){case g.hY:(0,g.Vb)(O)||(O.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(i===g.LH||i===g.JH)&&o.setFocusOrigin("keyboard"),void o.onKeydown(O)}O.stopPropagation()}focusFirstItem(O="program"){this._ngZone.onStable.pipe((0,q.q)(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(O).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(O){const i=Math.min(this._baseElevation+O,24),o=`${this._elevationPrefix}${i}`,u=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!u||u===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(O=this.xPosition,i=this.yPosition){var o;const u=this._classList;u["mat-menu-before"]="before"===O,u["mat-menu-after"]="after"===O,u["mat-menu-above"]="above"===i,u["mat-menu-below"]="below"===i,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(O){this._animationDone.next(O),this._isAnimating=!1}_onAnimationStart(O){this._isAnimating=!0,"enter"===O.toState&&0===this._keyManager.activeItemIndex&&(O.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,N.O)(this._allItems)).subscribe(O=>{this._directDescendantItems.reset(O.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(fe),w.Y36(w.sBO))},H.\u0275dir=w.lG2({type:H,contentQueries:function(O,i,o){if(1&O&&(w.Suo(o,ge,5),w.Suo(o,ce,5),w.Suo(o,ce,4)),2&O){let u;w.iGM(u=w.CRH())&&(i.lazyContent=u.first),w.iGM(u=w.CRH())&&(i._allItems=u),w.iGM(u=w.CRH())&&(i.items=u)}},viewQuery:function(O,i){if(1&O&&w.Gf(w.Rgc,5),2&O){let o;w.iGM(o=w.CRH())&&(i.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"}}),H})(),Be=(()=>{class H extends it{constructor(O,i,o,u){super(O,i,o,u),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(fe),w.Y36(w.sBO))},H.\u0275cmp=w.Xpm({type:H,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(O,i){2&O&&w.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[w._Bn([{provide:Ce,useExisting:H}]),w.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(O,i){1&O&&(w.F$t(),w.YNc(0,Te,3,6,"ng-template"))},directives:[be.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[Oe.transformMenu,Oe.fadeInItems]},changeDetection:0}),H})();const ze=new w.OlP("mat-menu-scroll-strategy"),_e={provide:ze,deps:[ye.aV],useFactory:function Ue(H){return()=>H.scrollStrategies.reposition()}},Ae=(0,T.i$)({passive:!0});let ee=(()=>{class H{constructor(O,i,o,u,l,s,n,t,r){this._overlay=O,this._element=i,this._viewContainerRef=o,this._menuItemInstance=s,this._dir=n,this._focusMonitor=t,this._ngZone=r,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=b.w0.EMPTY,this._hoverSubscription=b.w0.EMPTY,this._menuCloseSubscription=b.w0.EMPTY,this._handleTouchStart=a=>{(0,e.yG)(a)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new w.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new w.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=u,this._parentMaterialMenu=l instanceof it?l:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ae),s&&(s._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(O){this.menu=O}get menu(){return this._menu}set menu(O){O!==this._menu&&(this._menu=O,this._menuCloseSubscription.unsubscribe(),O&&(this._menuCloseSubscription=O.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ae),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 O=this._createOverlay(),i=O.getConfig(),o=i.positionStrategy;this._setPosition(o),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,O.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof it&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,j.R)(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(O,i){this._focusMonitor&&O?this._focusMonitor.focusVia(this._element,O,i):this._element.nativeElement.focus(i)}updatePosition(){var O;null===(O=this._overlayRef)||void 0===O||O.updatePosition()}_destroyMenu(O){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===O||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof it?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe((0,G.h)(o=>"void"===o.toState),(0,q.q)(1),(0,j.R)(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.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 O=0,i=this.menu.parentMenu;for(;i;)O++,i=i.parentMenu;this.menu.setElevation(O)}}_setIsMenuOpen(O){this._menuOpen=O,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(O)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const O=this._getOverlayConfig();this._subscribeToPositions(O.positionStrategy),this._overlayRef=this._overlay.create(O),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ye.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(O){this.menu.setPositionClasses&&O.positionChanges.subscribe(i=>{const o="start"===i.connectionPair.overlayX?"after":"before",u="top"===i.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(o,u)):this.menu.setPositionClasses(o,u)})}_setPosition(O){let[i,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[u,l]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,n]=[u,l],[t,r]=[i,o],a=0;this.triggersSubmenu()?(r=i="before"===this.menu.xPosition?"start":"end",o=t="end"===i?"start":"end",a="bottom"===u?8:-8):this.menu.overlapTrigger||(s="top"===u?"bottom":"top",n="top"===l?"bottom":"top"),O.withPositions([{originX:i,originY:s,overlayX:t,overlayY:u,offsetY:a},{originX:o,originY:s,overlayX:r,overlayY:u,offsetY:a},{originX:i,originY:n,overlayX:t,overlayY:l,offsetY:-a},{originX:o,originY:n,overlayX:r,overlayY:l,offsetY:-a}])}_menuClosingActions(){const O=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,v.of)(),u=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,G.h)(l=>l!==this._menuItemInstance),(0,G.h)(()=>this._menuOpen)):(0,v.of)();return(0,E.T)(O,o,u,i)}_handleMousedown(O){(0,e.X6)(O)||(this._openedBy=0===O.button?"mouse":void 0,this.triggersSubmenu()&&O.preventDefault())}_handleKeydown(O){const i=O.keyCode;(i===g.K5||i===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===g.SV&&"ltr"===this.dir||i===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(O){this.triggersSubmenu()?(O.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,G.h)(O=>O===this._menuItemInstance&&!O.disabled),(0,Q.g)(0,I.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof it&&this.menu._isAnimating?this.menu._animationDone.pipe((0,q.q)(1),(0,Q.g)(0,I.E),(0,j.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new F.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return H.\u0275fac=function(O){return new(O||H)(w.Y36(ye.aV),w.Y36(w.SBq),w.Y36(w.s_b),w.Y36(ze),w.Y36(Ce,8),w.Y36(ce,10),w.Y36(R.Is,8),w.Y36(e.tE),w.Y36(w.R0b))},H.\u0275dir=w.lG2({type:H,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(O,i){1&O&&w.NdJ("click",function(u){return i._handleClick(u)})("mousedown",function(u){return i._handleMousedown(u)})("keydown",function(u){return i._handleKeydown(u)}),2&O&&w.uIk("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.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"}}),H})(),Ne=(()=>{class H extends ee{}return H.\u0275fac=function(){let D;return function(i){return(D||(D=w.n5z(H)))(i||H)}}(),H.\u0275dir=w.lG2({type:H,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[w.qOj]}),H})(),V=(()=>{class H{}return H.\u0275fac=function(O){return new(O||H)},H.\u0275mod=w.oAB({type:H}),H.\u0275inj=w.cJS({providers:[_e],imports:[[be.ez,pe.BQ,pe.si,ye.U8],L.ZD,pe.BQ]}),H})()},86087:(qe,me,h)=>{"use strict";h.d(me,{NW:()=>X,ye:()=>he,TU:()=>Y});var e=h(69808),c=h(5e3),g=h(90508),w=h(47423),_=h(74107),b=h(29772),E=h(63191),v=h(77579),I=h(67322);function N(se,Te){if(1&se&&(c.TgZ(0,"mat-option",19),c._uU(1),c.qZA()),2&se){const Oe=Te.$implicit;c.Q6J("value",Oe),c.xp6(1),c.hij(" ",Oe," ")}}function A(se,Te){if(1&se){const Oe=c.EpF();c.TgZ(0,"mat-form-field",16),c.TgZ(1,"mat-select",17),c.NdJ("selectionChange",function(We){return c.CHM(Oe),c.oxw(2)._changePageSize(We.value)}),c.YNc(2,N,2,2,"mat-option",18),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw(2);c.Q6J("appearance",Oe._formFieldAppearance)("color",Oe.color),c.xp6(1),c.Q6J("value",Oe.pageSize)("disabled",Oe.disabled)("aria-label",Oe._intl.itemsPerPageLabel),c.xp6(1),c.Q6J("ngForOf",Oe._displayedPageSizeOptions)}}function q(se,Te){if(1&se&&(c.TgZ(0,"div",20),c._uU(1),c.qZA()),2&se){const Oe=c.oxw(2);c.xp6(1),c.Oqu(Oe.pageSize)}}function j(se,Te){if(1&se&&(c.TgZ(0,"div",12),c.TgZ(1,"div",13),c._uU(2),c.qZA(),c.YNc(3,A,3,6,"mat-form-field",14),c.YNc(4,q,2,1,"div",15),c.qZA()),2&se){const Oe=c.oxw();c.xp6(2),c.hij(" ",Oe._intl.itemsPerPageLabel," "),c.xp6(1),c.Q6J("ngIf",Oe._displayedPageSizeOptions.length>1),c.xp6(1),c.Q6J("ngIf",Oe._displayedPageSizeOptions.length<=1)}}function G(se,Te){if(1&se){const Oe=c.EpF();c.TgZ(0,"button",21),c.NdJ("click",function(){return c.CHM(Oe),c.oxw().firstPage()}),c.O4$(),c.TgZ(1,"svg",7),c._UZ(2,"path",22),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw();c.Q6J("matTooltip",Oe._intl.firstPageLabel)("matTooltipDisabled",Oe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Oe._previousButtonsDisabled()),c.uIk("aria-label",Oe._intl.firstPageLabel)}}function Q(se,Te){if(1&se){const Oe=c.EpF();c.O4$(),c.kcU(),c.TgZ(0,"button",23),c.NdJ("click",function(){return c.CHM(Oe),c.oxw().lastPage()}),c.O4$(),c.TgZ(1,"svg",7),c._UZ(2,"path",24),c.qZA(),c.qZA()}if(2&se){const Oe=c.oxw();c.Q6J("matTooltip",Oe._intl.lastPageLabel)("matTooltipDisabled",Oe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Oe._nextButtonsDisabled()),c.uIk("aria-label",Oe._intl.lastPageLabel)}}let he=(()=>{class se{constructor(){this.changes=new v.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Oe,Se,We)=>{if(0==We||0==Se)return`0 of ${We}`;const ge=Oe*Se;return`${ge+1} \u2013 ${ge<(We=Math.max(We,0))?Math.min(ge+Se,We):ge+Se} of ${We}`}}}return se.\u0275fac=function(Oe){return new(Oe||se)},se.\u0275prov=c.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const be={provide:he,deps:[[new c.FiY,new c.tp0,he]],useFactory:function F(se){return se||new he}},T=new c.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),R=(0,g.Id)((0,g.dB)(class{}));let L=(()=>{class se extends R{constructor(Oe,Se,We){if(super(),this._intl=Oe,this._changeDetectorRef=Se,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new c.vpe,this._intlChanges=Oe.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),We){const{pageSize:ge,pageSizeOptions:Le,hidePageSize:ue,showFirstLastButtons:Me}=We;null!=ge&&(this._pageSize=ge),null!=Le&&(this._pageSizeOptions=Le),null!=ue&&(this._hidePageSize=ue),null!=Me&&(this._showFirstLastButtons=Me)}}get pageIndex(){return this._pageIndex}set pageIndex(Oe){this._pageIndex=Math.max((0,E.su)(Oe),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Oe){this._length=(0,E.su)(Oe),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Oe){this._pageSize=Math.max((0,E.su)(Oe),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Oe){this._pageSizeOptions=(Oe||[]).map(Se=>(0,E.su)(Se)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Oe){this._hidePageSize=(0,E.Ig)(Oe)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Oe){this._showFirstLastButtons=(0,E.Ig)(Oe)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Oe=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Oe)}previousPage(){if(!this.hasPreviousPage())return;const Oe=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Oe)}firstPage(){if(!this.hasPreviousPage())return;const Oe=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Oe)}lastPage(){if(!this.hasNextPage())return;const Oe=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Oe)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Oe=this.getNumberOfPages()-1;return this.pageIndexOe-Se),this._changeDetectorRef.markForCheck())}_emitPageEvent(Oe){this.page.emit({previousPageIndex:Oe,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return se.\u0275fac=function(Oe){c.$Z()},se.\u0275dir=c.lG2({type:se,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[c.qOj]}),se})(),X=(()=>{class se extends L{constructor(Oe,Se,We){super(Oe,Se,We),We&&null!=We.formFieldAppearance&&(this._formFieldAppearance=We.formFieldAppearance)}}return se.\u0275fac=function(Oe){return new(Oe||se)(c.Y36(he),c.Y36(c.sBO),c.Y36(T,8))},se.\u0275cmp=c.Xpm({type:se,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[c.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(Oe,Se){1&Oe&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.YNc(2,j,5,3,"div",2),c.TgZ(3,"div",3),c.TgZ(4,"div",4),c._uU(5),c.qZA(),c.YNc(6,G,3,5,"button",5),c.TgZ(7,"button",6),c.NdJ("click",function(){return Se.previousPage()}),c.O4$(),c.TgZ(8,"svg",7),c._UZ(9,"path",8),c.qZA(),c.qZA(),c.kcU(),c.TgZ(10,"button",9),c.NdJ("click",function(){return Se.nextPage()}),c.O4$(),c.TgZ(11,"svg",7),c._UZ(12,"path",10),c.qZA(),c.qZA(),c.YNc(13,Q,3,5,"button",11),c.qZA(),c.qZA(),c.qZA()),2&Oe&&(c.xp6(2),c.Q6J("ngIf",!Se.hidePageSize),c.xp6(3),c.hij(" ",Se._intl.getRangeLabel(Se.pageIndex,Se.pageSize,Se.length)," "),c.xp6(1),c.Q6J("ngIf",Se.showFirstLastButtons),c.xp6(1),c.Q6J("matTooltip",Se._intl.previousPageLabel)("matTooltipDisabled",Se._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Se._previousButtonsDisabled()),c.uIk("aria-label",Se._intl.previousPageLabel),c.xp6(3),c.Q6J("matTooltip",Se._intl.nextPageLabel)("matTooltipDisabled",Se._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Se._nextButtonsDisabled()),c.uIk("aria-label",Se._intl.nextPageLabel),c.xp6(3),c.Q6J("ngIf",Se.showFirstLastButtons))},directives:[I.KE,_.gD,g.ey,w.lW,e.O5,e.sg,b.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})(),Y=(()=>{class se{}return se.\u0275fac=function(Oe){return new(Oe||se)},se.\u0275mod=c.oAB({type:se}),se.\u0275inj=c.cJS({providers:[be],imports:[[e.ez,w.ot,_.LD,b.AV,g.BQ]]}),se})()},85899:(qe,me,h)=>{"use strict";h.d(me,{Cv:()=>q});var e=h(5e3),c=h(69808),g=h(90508);let q=(()=>{class j{}return j.\u0275fac=function(Q){return new(Q||j)},j.\u0275mod=e.oAB({type:j}),j.\u0275inj=e.cJS({imports:[[c.ez,g.BQ],g.BQ]}),j})()},20773:(qe,me,h)=>{"use strict";h.d(me,{Ou:()=>F,Cq:()=>be});var e=h(63191),c=h(70925),g=h(69808),w=h(5e3),_=h(90508),b=h(76360),E=h(50727),v=h(29071);function I(ye,T){if(1&ye&&(w.O4$(),w._UZ(0,"circle",4)),2&ye){const R=w.oxw(),L=w.MAs(1);w.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+R._spinnerAnimationLabel)("stroke-dashoffset",R._getStrokeDashOffset(),"px")("stroke-dasharray",R._getStrokeCircumference(),"px")("stroke-width",R._getCircleStrokeWidth(),"%")("transform-origin",R._getCircleTransformOrigin(L)),w.uIk("r",R._getCircleRadius())}}function N(ye,T){if(1&ye&&(w.O4$(),w._UZ(0,"circle",4)),2&ye){const R=w.oxw(),L=w.MAs(1);w.Udp("stroke-dashoffset",R._getStrokeDashOffset(),"px")("stroke-dasharray",R._getStrokeCircumference(),"px")("stroke-width",R._getCircleStrokeWidth(),"%")("transform-origin",R._getCircleTransformOrigin(L)),w.uIk("r",R._getCircleRadius())}}const j=(0,_.pj)(class{constructor(ye){this._elementRef=ye}},"primary"),G=new w.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Q(){return{diameter:100}}});class F extends j{constructor(T,R,L,X,Y,se,Te,Oe){super(T),this._document=L,this._diameter=100,this._value=0,this._resizeSubscription=E.w0.EMPTY,this.mode="determinate";const Se=F._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Se.has(L.head)||Se.set(L.head,new Set([100])),this._noopAnimations="NoopAnimations"===X&&!!Y&&!Y._forceAnimations,"mat-spinner"===T.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Y&&(Y.diameter&&(this.diameter=Y.diameter),Y.strokeWidth&&(this.strokeWidth=Y.strokeWidth)),R.isBrowser&&R.SAFARI&&Te&&se&&Oe&&(this._resizeSubscription=Te.change(150).subscribe(()=>{"indeterminate"===this.mode&&Oe.run(()=>se.markForCheck())}))}get diameter(){return this._diameter}set diameter(T){this._diameter=(0,e.su)(T),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(T){this._strokeWidth=(0,e.su)(T)}get value(){return"determinate"===this.mode?this._value:0}set value(T){this._value=Math.max(0,Math.min(100,(0,e.su)(T)))}ngOnInit(){const T=this._elementRef.nativeElement;this._styleRoot=(0,c.kV)(T)||this._document.head,this._attachStyleNode(),T.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const T=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${T} ${T}`}_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(T){var R;const L=50*(null!==(R=T.currentScale)&&void 0!==R?R:1);return`${L}% ${L}%`}_attachStyleNode(){const T=this._styleRoot,R=this._diameter,L=F._diameters;let X=L.get(T);if(!X||!X.has(R)){const Y=this._document.createElement("style");Y.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Y.textContent=this._getAnimationText(),T.appendChild(Y),X||(X=new Set,L.set(T,X)),X.add(R)}}_getAnimationText(){const T=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*T).replace(/END_VALUE/g,""+.2*T).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}F._diameters=new WeakMap,F.\u0275fac=function(T){return new(T||F)(w.Y36(w.SBq),w.Y36(c.t4),w.Y36(g.K0,8),w.Y36(b.Qb,8),w.Y36(G),w.Y36(w.sBO),w.Y36(v.rL),w.Y36(w.R0b))},F.\u0275cmp=w.Xpm({type:F,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(T,R){2&T&&(w.uIk("aria-valuemin","determinate"===R.mode?0:null)("aria-valuemax","determinate"===R.mode?100:null)("aria-valuenow","determinate"===R.mode?R.value:null)("mode",R.mode),w.Udp("width",R.diameter,"px")("height",R.diameter,"px"),w.ekj("_mat-animation-noopable",R._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[w.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(T,R){1&T&&(w.O4$(),w.TgZ(0,"svg",0,1),w.YNc(2,I,1,11,"circle",2),w.YNc(3,N,1,9,"circle",3),w.qZA()),2&T&&(w.Udp("width",R.diameter,"px")("height",R.diameter,"px"),w.Q6J("ngSwitch","indeterminate"===R.mode),w.uIk("viewBox",R._getViewBox()),w.xp6(2),w.Q6J("ngSwitchCase",!0),w.xp6(1),w.Q6J("ngSwitchCase",!1))},directives:[g.RF,g.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 be=(()=>{class ye{}return ye.\u0275fac=function(R){return new(R||ye)},ye.\u0275mod=w.oAB({type:ye}),ye.\u0275inj=w.cJS({imports:[[_.BQ,g.ez],_.BQ]}),ye})()},79814:(qe,me,h)=>{"use strict";h.d(me,{U0:()=>R,VQ:()=>be,Fk:()=>L});var e=h(5e3),c=h(90508),g=h(63191),w=h(93075),_=h(76360),b=h(15664),E=h(20449);const v=["input"],I=function(X){return{enterDuration:X}},N=["*"],A=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function q(){return{color:"accent"}}});let j=0;const G={provide:w.JU,useExisting:(0,e.Gpc)(()=>be),multi:!0};class Q{constructor(Y,se){this.source=Y,this.value=se}}const he=new e.OlP("MatRadioGroup");let F=(()=>{class X{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+j++,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(Te=>{Te.checked=this.value===Te.value,Te.checked&&(this._selected=Te)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Q(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 X.\u0275fac=function(se){return new(se||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})(),be=(()=>{class X extends F{}return X.\u0275fac=function(){let Y;return function(Te){return(Y||(Y=e.n5z(X)))(Te||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["mat-radio-group"]],contentQueries:function(se,Te,Oe){if(1&se&&e.Suo(Oe,R,5),2&se){let Se;e.iGM(Se=e.CRH())&&(Te._radios=Se)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([G,{provide:he,useExisting:X}]),e.qOj]}),X})();class pe{constructor(Y){this._elementRef=Y}}const ye=(0,c.Kr)((0,c.sb)(pe));let T=(()=>{class X extends ye{constructor(se,Te,Oe,Se,We,ge,Le,ue){super(Te),this._changeDetector=Oe,this._focusMonitor=Se,this._radioDispatcher=We,this._providerOverride=Le,this._uniqueId="mat-radio-"+ ++j,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===ge,ue&&(this.tabIndex=(0,g.su)(ue,0)),this._removeUniqueSelectionListener=We.listen((Me,z)=>{Me!==this.id&&z===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(se){const Te=(0,g.Ig)(se);this._checked!==Te&&(this._checked=Te,Te&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Te&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Te&&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,Te){Te?this._focusMonitor.focusVia(this._inputElement,Te,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)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),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 Q(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const Te=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Te&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}_updateTabIndex(){var se;const Te=this.radioGroup;let Oe;if(Oe=Te&&Te.selected&&!this.disabled?Te.selected===this?this.tabIndex:-1:this.tabIndex,Oe!==this._previousTabIndex){const Se=null===(se=this._inputElement)||void 0===se?void 0:se.nativeElement;Se&&(Se.setAttribute("tabindex",Oe+""),this._previousTabIndex=Oe)}}}return X.\u0275fac=function(se){e.$Z()},X.\u0275dir=e.lG2({type:X,viewQuery:function(se,Te){if(1&se&&e.Gf(v,5),2&se){let Oe;e.iGM(Oe=e.CRH())&&(Te._inputElement=Oe.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})(),R=(()=>{class X extends T{constructor(se,Te,Oe,Se,We,ge,Le,ue){super(se,Te,Oe,Se,We,ge,Le,ue)}}return X.\u0275fac=function(se){return new(se||X)(e.Y36(he,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(b.tE),e.Y36(E.A8),e.Y36(_.Qb,8),e.Y36(A,8),e.$8M("tabindex"))},X.\u0275cmp=e.Xpm({type:X,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(se,Te){1&se&&e.NdJ("focus",function(){return Te._inputElement.nativeElement.focus()}),2&se&&(e.uIk("tabindex",null)("id",Te.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",Te.checked)("mat-radio-disabled",Te.disabled)("_mat-animation-noopable",Te._noopAnimations)("mat-primary","primary"===Te.color)("mat-accent","accent"===Te.color)("mat-warn","warn"===Te.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:N,decls:13,vars:19,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",3,"id","checked","disabled","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,Te){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(Se){return Te._onInputInteraction(Se)})("click",function(Se){return Te._onInputClick(Se)}),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 Oe=e.MAs(1);e.uIk("for",Te.inputId),e.xp6(5),e.Q6J("id",Te.inputId)("checked",Te.checked)("disabled",Te.disabled)("required",Te.required),e.uIk("name",Te.name)("value",Te.value)("aria-label",Te.ariaLabel)("aria-labelledby",Te.ariaLabelledby)("aria-describedby",Te.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Oe)("matRippleDisabled",Te._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(17,I,Te._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==Te.labelPosition)}},directives:[c.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-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;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{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.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})(),L=(()=>{class X{}return X.\u0275fac=function(se){return new(se||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({imports:[[c.si,c.BQ],c.BQ]}),X})()},74107:(qe,me,h)=>{"use strict";h.d(me,{gD:()=>V,LD:()=>H,$L:()=>ee});var e=h(91314),c=h(69808),g=h(5e3),w=h(90508),_=h(67322),b=h(29071),E=h(15664),v=h(63191),I=h(20449),N=h(91159),A=h(93075),q=h(77579),j=h(49770),G=h(56451),Q=h(68675),he=h(63900),F=h(95698),be=h(39300),pe=h(54004),ye=h(71884),T=h(82722),R=h(41777),L=h(50226);const X=["trigger"],Y=["panel"];function se(D,O){if(1&D&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&D){const i=g.oxw();g.xp6(1),g.Oqu(i.placeholder)}}function Te(D,O){if(1&D&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&D){const i=g.oxw(2);g.xp6(1),g.Oqu(i.triggerValue)}}function Oe(D,O){1&D&&g.Hsn(0,0,["*ngSwitchCase","true"])}function Se(D,O){if(1&D&&(g.TgZ(0,"span",9),g.YNc(1,Te,2,1,"span",10),g.YNc(2,Oe,1,0,"ng-content",11),g.qZA()),2&D){const i=g.oxw();g.Q6J("ngSwitch",!!i.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function We(D,O){if(1&D){const i=g.EpF();g.TgZ(0,"div",13),g.TgZ(1,"div",14,15),g.NdJ("@transformPanel.done",function(u){return g.CHM(i),g.oxw()._panelDoneAnimatingStream.next(u.toState)})("keydown",function(u){return g.CHM(i),g.oxw()._handleKeydown(u)}),g.Hsn(3,1),g.qZA(),g.qZA()}if(2&D){const i=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",i._getPanelTheme(),""),g.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),g.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),g.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}const ge=[[["mat-select-trigger"]],"*"],Le=["mat-select-trigger","*"],ue={transformPanelWrap:(0,R.X$)("transformPanelWrap",[(0,R.eR)("* => void",(0,R.IO)("@transformPanel",[(0,R.pV)()],{optional:!0}))]),transformPanel:(0,R.X$)("transformPanel",[(0,R.SB)("void",(0,R.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,R.SB)("showing",(0,R.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,R.SB)("showing-multiple",(0,R.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,R.eR)("void => *",(0,R.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,R.eR)("* => void",(0,R.jt)("100ms 25ms linear",(0,R.oB)({opacity:0})))])};let de=0;const it=new g.OlP("mat-select-scroll-strategy"),ze=new g.OlP("MAT_SELECT_CONFIG"),Ue={provide:it,deps:[e.aV],useFactory:function Be(D){return()=>D.scrollStrategies.reposition()}};class _e{constructor(O,i){this.source=O,this.value=i}}const ae=(0,w.Kr)((0,w.sb)((0,w.Id)((0,w.FD)(class{constructor(D,O,i,o,u){this._elementRef=D,this._defaultErrorStateMatcher=O,this._parentForm=i,this._parentFormGroup=o,this.ngControl=u}})))),Ae=new g.OlP("MatSelectTrigger");let ee=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=g.lG2({type:D,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:Ae,useExisting:D}])]}),D})(),Ne=(()=>{class D extends ae{constructor(i,o,u,l,s,n,t,r,a,d,f,x,Ye,It){var jt,bt,Yt;super(s,l,t,r,d),this._viewportRuler=i,this._changeDetectorRef=o,this._ngZone=u,this._dir=n,this._parentFormField=a,this._liveAnnouncer=Ye,this._defaultOptions=It,this._panelOpen=!1,this._compareWith=(Ct,Nt)=>Ct===Nt,this._uid="mat-select-"+de++,this._triggerAriaLabelledBy=null,this._destroy=new q.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+de++,this._panelDoneAnimatingStream=new q.x,this._overlayPanelClass=(null===(jt=this._defaultOptions)||void 0===jt?void 0:jt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Yt=null===(bt=this._defaultOptions)||void 0===bt?void 0:bt.disableOptionCentering)&&void 0!==Yt&&Yt,this.ariaLabel="",this.optionSelectionChanges=(0,j.P)(()=>{const Ct=this.options;return Ct?Ct.changes.pipe((0,Q.O)(Ct),(0,he.w)(()=>(0,G.T)(...Ct.map(Nt=>Nt.onSelectionChange)))):this._ngZone.onStable.pipe((0,F.q)(1),(0,he.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,be.h)(Ct=>Ct),(0,pe.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,be.h)(Ct=>!Ct),(0,pe.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==It?void 0:It.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=It.typeaheadDebounceInterval),this._scrollStrategyFactory=x,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){var i,o,u,l;return null!==(l=null!==(i=this._required)&&void 0!==i?i:null===(u=null===(o=this.ngControl)||void 0===o?void 0:o.control)||void 0===u?void 0:u.hasValidator(A.kI.required))&&void 0!==l&&l}set required(i){this._required=(0,v.Ig)(i),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._multiple=(0,v.Ig)(i)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(i){this._disableOptionCentering=(0,v.Ig)(i)}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(i){this._typeaheadDebounceInterval=(0,v.su)(i)}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new I.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ye.x)(),(0,T.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,T.R)(this._destroy)).subscribe(i=>{i.added.forEach(o=>o.select()),i.removed.forEach(o=>o.deselect())}),this.options.changes.pipe((0,Q.O)(null),(0,T.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const i=this._getTriggerAriaLabelledby(),o=this.ngControl;if(i!==this._triggerAriaLabelledBy){const u=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?u.setAttribute("aria-labelledby",i):u.removeAttribute("aria-labelledby")}o&&(this._previousControl!==o.control&&(void 0!==this._previousControl&&null!==o.disabled&&o.disabled!==this.disabled&&(this.disabled=o.disabled),this._previousControl=o.control),this.updateErrorState())}ngOnChanges(i){i.disabled&&this.stateChanges.next(),i.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(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var i,o;return this.multiple?(null===(i=this._selectionModel)||void 0===i?void 0:i.selected)||[]:null===(o=this._selectionModel)||void 0===o?void 0:o.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const i=this._selectionModel.selected.map(o=>o.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){const o=i.keyCode,u=o===N.JH||o===N.LH||o===N.oh||o===N.SV,l=o===N.K5||o===N.L_,s=this._keyManager;if(!s.isTyping()&&l&&!(0,N.Vb)(i)||(this.multiple||i.altKey)&&u)i.preventDefault(),this.open();else if(!this.multiple){const n=this.selected;s.onKeydown(i);const t=this.selected;t&&n!==t&&this._liveAnnouncer.announce(t.viewValue,1e4)}}_handleOpenKeydown(i){const o=this._keyManager,u=i.keyCode,l=u===N.JH||u===N.LH,s=o.isTyping();if(l&&i.altKey)i.preventDefault(),this.close();else if(s||u!==N.K5&&u!==N.L_||!o.activeItem||(0,N.Vb)(i))if(!s&&this._multiple&&u===N.A&&i.ctrlKey){i.preventDefault();const n=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(n?t.select():t.deselect())})}else{const n=o.activeItemIndex;o.onKeydown(i),this._multiple&&l&&i.shiftKey&&o.activeItem&&o.activeItemIndex!==n&&o.activeItem._selectViaInteraction()}else i.preventDefault(),o.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,F.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(i){if(this._selectionModel.selected.forEach(o=>o.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(o=>this._selectOptionByValue(o)),this._sortValues();else{const o=this._selectOptionByValue(i);o?this._keyManager.updateActiveItem(o):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){const o=this.options.find(u=>{if(this._selectionModel.isSelected(u))return!1;try{return null!=u.value&&this._compareWith(u.value,i)}catch(l){return!1}});return o&&this._selectionModel.select(o),o}_assignValue(i){return!!(i!==this._value||this._multiple&&Array.isArray(i))&&(this.options&&this._setSelectionByValue(i),this._value=i,!0)}_initKeyManager(){this._keyManager=new E.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,T.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,T.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 i=(0,G.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,T.R)(i)).subscribe(o=>{this._onSelect(o.source,o.isUserInput),o.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,G.T)(...this.options.map(o=>o._stateChanges)).pipe((0,T.R)(i)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(i,o){const u=this._selectionModel.isSelected(i);null!=i.value||this._multiple?(u!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),o&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),o&&this.focus())):(i.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(i.value)),u!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const i=this.options.toArray();this._selectionModel.sort((o,u)=>this.sortComparator?this.sortComparator(o,u,i):i.indexOf(o)-i.indexOf(u)),this.stateChanges.next()}}_propagateChanges(i){let o=null;o=this.multiple?this.selected.map(u=>u.value):this.selected?this.selected.value:i,this._value=o,this.valueChange.emit(o),this._onChange(o),this.selectionChange.emit(this._getChangeEvent(o)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var i;return!this._panelOpen&&!this.disabled&&(null===(i=this.options)||void 0===i?void 0:i.length)>0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){var i;if(this.ariaLabel)return null;const o=null===(i=this._parentFormField)||void 0===i?void 0:i.getLabelId();return this.ariaLabelledby?(o?o+" ":"")+this.ariaLabelledby:o}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var i;if(this.ariaLabel)return null;const o=null===(i=this._parentFormField)||void 0===i?void 0:i.getLabelId();let u=(o?o+" ":"")+this._valueId;return this.ariaLabelledby&&(u+=" "+this.ariaLabelledby),u}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){this._ariaDescribedby=i.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return D.\u0275fac=function(i){return new(i||D)(g.Y36(b.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(w.rD),g.Y36(g.SBq),g.Y36(L.Is,8),g.Y36(A.F,8),g.Y36(A.sg,8),g.Y36(_.G_,8),g.Y36(A.a5,10),g.$8M("tabindex"),g.Y36(it),g.Y36(E.Kd),g.Y36(ze,8))},D.\u0275dir=g.lG2({type:D,viewQuery:function(i,o){if(1&i&&(g.Gf(X,5),g.Gf(Y,5),g.Gf(e.pI,5)),2&i){let u;g.iGM(u=g.CRH())&&(o.trigger=u.first),g.iGM(u=g.CRH())&&(o.panel=u.first),g.iGM(u=g.CRH())&&(o._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]}),D})(),V=(()=>{class D extends Ne{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(i,o,u){const l=this._getItemHeight();return Math.min(Math.max(0,l*i-o+l/2),u)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,T.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,F.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(i){const o=(0,w.CB)(i,this.options,this.optionGroups),u=this._getItemHeight();this.panel.nativeElement.scrollTop=0===i&&1===o?0:(0,w.jH)((i+o)*u,u,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(i){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(i)}_getChangeEvent(i){return new _e(this,i)}_calculateOverlayOffsetX(){const i=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),u=this._isRtl(),l=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let r=this._selectionModel.selected[0]||this.options.first;s=r&&r.group?32:16}u||(s*=-1);const n=0-(i.left+s-(u?l:0)),t=i.right+s-o.width+(u?0:l);n>0?s+=n+8:t>0&&(s-=t+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(i,o,u){const l=this._getItemHeight(),s=(l-this._triggerRect.height)/2,n=Math.floor(256/l);let t;return this.disableOptionCentering?0:(t=0===this._scrollTop?i*l:this._scrollTop===u?(i-(this._getItemCount()-n))*l+(l-(this._getItemCount()*l-256)%l):o-l/2,Math.round(-1*t-s))}_checkOverlayWithinViewport(i){const o=this._getItemHeight(),u=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,s=u.height-this._triggerRect.bottom-8,n=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*o,256)-n-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):n>l?this._adjustPanelDown(n,l,i):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(i,o){const u=Math.round(i-o);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(i,o,u){const l=Math.round(i-o);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=u)return this._scrollTop=u,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const i=this._getItemHeight(),o=this._getItemCount(),u=Math.min(o*i,256),s=o*i-u;let n;n=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),n+=(0,w.CB)(n,this.options,this.optionGroups);const t=u/2;this._scrollTop=this._calculateOverlayScroll(n,t,s),this._offsetY=this._calculateOverlayOffsetY(n,t,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const i=this._getItemHeight(),o=(i-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-o+i/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return D.\u0275fac=function(){let O;return function(o){return(O||(O=g.n5z(D)))(o||D)}}(),D.\u0275cmp=g.Xpm({type:D,selectors:[["mat-select"]],contentQueries:function(i,o,u){if(1&i&&(g.Suo(u,Ae,5),g.Suo(u,w.ey,5),g.Suo(u,w.K7,5)),2&i){let l;g.iGM(l=g.CRH())&&(o.customTrigger=l.first),g.iGM(l=g.CRH())&&(o.options=l),g.iGM(l=g.CRH())&&(o.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(i,o){1&i&&g.NdJ("keydown",function(l){return o._handleKeydown(l)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),2&i&&(g.uIk("id",o.id)("tabindex",o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-describedby",o._ariaDescribedby||null)("aria-activedescendant",o._getAriaActiveDescendant()),g.ekj("mat-select-disabled",o.disabled)("mat-select-invalid",o.errorState)("mat-select-required",o.required)("mat-select-empty",o.empty)("mat-select-multiple",o.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:_.Eo,useExisting:D},{provide:w.HF,useExisting:D}]),g.qOj],ngContentSelectors:Le,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(i,o){if(1&i&&(g.F$t(ge),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return o.toggle()}),g.TgZ(3,"div",2),g.YNc(4,se,2,1,"span",3),g.YNc(5,Se,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA(),g.qZA(),g.YNc(8,We,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),2&i){const u=g.MAs(1);g.uIk("aria-owns",o.panelOpen?o.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",o.empty),g.uIk("id",o._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",u)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayMinWidth",null==o._triggerRect?null:o._triggerRect.width)("cdkConnectedOverlayOffsetY",o._offsetY)}},directives:[e.xu,c.RF,c.n9,c.ED,e.pI,c.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[ue.transformPanelWrap,ue.transformPanel]},changeDetection:0}),D})(),H=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=g.oAB({type:D}),D.\u0275inj=g.cJS({providers:[Ue],imports:[[c.ez,e.U8,w.Ng,w.BQ],b.ZD,_.lN,w.Ng,w.BQ]}),D})()},2638:(qe,me,h)=>{"use strict";h.d(me,{JX:()=>ne,TM:()=>it,Rh:()=>Ze,SJ:()=>Be});var e=h(29071),c=h(69808),g=h(5e3),w=h(90508),_=h(63191),b=h(91159),E=h(77579),v=h(54968),I=h(56451),N=h(39300),A=h(54004),q=h(69718),j=h(82722),G=h(71884),Q=h(95698),he=h(68675),F=h(78372),be=h(41777),pe=h(76360),ye=h(15664),T=h(70925),R=h(50226);const L=["*"],X=["content"];function Y(ze,Ue){if(1&ze){const _e=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){return g.CHM(_e),g.oxw()._onBackdropClicked()}),g.qZA()}if(2&ze){const _e=g.oxw();g.ekj("mat-drawer-shown",_e._isShowingBackdrop())}}function se(ze,Ue){1&ze&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const Te=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Oe=["mat-drawer","mat-drawer-content","*"];function Se(ze,Ue){if(1&ze){const _e=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){return g.CHM(_e),g.oxw()._onBackdropClicked()}),g.qZA()}if(2&ze){const _e=g.oxw();g.ekj("mat-drawer-shown",_e._isShowingBackdrop())}}function We(ze,Ue){1&ze&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const ge=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Le=["mat-sidenav","mat-sidenav-content","*"],Me={transformDrawer:(0,be.X$)("transform",[(0,be.SB)("open, open-instant",(0,be.oB)({transform:"none",visibility:"visible"})),(0,be.SB)("void",(0,be.oB)({"box-shadow":"none",visibility:"hidden"})),(0,be.eR)("void => open-instant",(0,be.jt)("0ms")),(0,be.eR)("void <=> open, open-instant => void",(0,be.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},P=new g.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ce(){return!1}}),de=new g.OlP("MAT_DRAWER_CONTAINER");let Pe=(()=>{class ze extends e.PQ{constructor(_e,ae,Ae,ee,Ne){super(Ae,ee,Ne),this._changeDetectorRef=_e,this._container=ae}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>fe)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(_e,ae){2&_e&&g.Udp("margin-left",ae._container._contentMargins.left,"px")("margin-right",ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:ze}]),g.qOj],ngContentSelectors:L,decls:1,vars:0,template:function(_e,ae){1&_e&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),ze})(),ce=(()=>{class ze{constructor(_e,ae,Ae,ee,Ne,V,H,D){this._elementRef=_e,this._focusTrapFactory=ae,this._focusMonitor=Ae,this._platform=ee,this._ngZone=Ne,this._interactivityChecker=V,this._doc=H,this._container=D,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E.x,this._animationEnd=new E.x,this._animationState="void",this.openedChange=new g.vpe(!0),this._openedStream=this.openedChange.pipe((0,N.h)(O=>O),(0,A.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,N.h)(O=>O.fromState!==O.toState&&0===O.toState.indexOf("open")),(0,q.h)(void 0)),this._closedStream=this.openedChange.pipe((0,N.h)(O=>!O),(0,A.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,N.h)(O=>O.fromState!==O.toState&&"void"===O.toState),(0,q.h)(void 0)),this._destroyed=new E.x,this.onPositionChanged=new g.vpe,this._modeChanged=new E.x,this.openedChange.subscribe(O=>{O?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,v.R)(this._elementRef.nativeElement,"keydown").pipe((0,N.h)(O=>O.keyCode===b.hY&&!this.disableClose&&!(0,b.Vb)(O)),(0,j.R)(this._destroyed)).subscribe(O=>this._ngZone.run(()=>{this.close(),O.stopPropagation(),O.preventDefault()}))}),this._animationEnd.pipe((0,G.x)((O,i)=>O.fromState===i.fromState&&O.toState===i.toState)).subscribe(O=>{const{fromState:i,toState:o}=O;(0===o.indexOf("open")&&"void"===i||"void"===o&&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=(0,_.Ig)(_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=(0,_.Ig)(_e)),this._autoFocus=_e}get opened(){return this._opened}set opened(_e){this.toggle((0,_.Ig)(_e))}_forceFocus(_e,ae){this._interactivityChecker.isFocusable(_e)||(_e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ae=()=>{_e.removeEventListener("blur",Ae),_e.removeEventListener("mousedown",Ae),_e.removeAttribute("tabindex")};_e.addEventListener("blur",Ae),_e.addEventListener("mousedown",Ae)})),_e.focus(ae)}_focusByCssSelector(_e,ae){let Ae=this._elementRef.nativeElement.querySelector(_e);Ae&&this._forceFocus(Ae,ae)}_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(ae=>{!ae&&"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,ae){_e&&ae&&(this._openedVia=ae);const Ae=this._setOpen(_e,!_e&&this._isFocusWithinDrawer(),this._openedVia||"program");return _e||(this._openedVia=null),Ae}_setOpen(_e,ae,Ae){return this._opened=_e,_e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ae&&this._restoreFocus(Ae)),this._updateFocusTrapState(),new Promise(ee=>{this.openedChange.pipe((0,Q.q)(1)).subscribe(Ne=>ee(Ne?"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 ae=this._elementRef.nativeElement,Ae=ae.parentNode;"end"===_e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ae.insertBefore(this._anchor,ae)),Ae.appendChild(ae)):this._anchor&&this._anchor.parentNode.insertBefore(ae,this._anchor)}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.SBq),g.Y36(ye.qV),g.Y36(ye.tE),g.Y36(T.t4),g.Y36(g.R0b),g.Y36(ye.ic),g.Y36(c.K0,8),g.Y36(de,8))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer"]],viewQuery:function(_e,ae){if(1&_e&&g.Gf(X,5),2&_e){let Ae;g.iGM(Ae=g.CRH())&&(ae._content=Ae.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(_e,ae){1&_e&&g.WFA("@transform.start",function(ee){return ae._animationStarted.next(ee)})("@transform.done",function(ee){return ae._animationEnd.next(ee)}),2&_e&&(g.uIk("align",null),g.d8E("@transform",ae._animationState),g.ekj("mat-drawer-end","end"===ae.position)("mat-drawer-over","over"===ae.mode)("mat-drawer-push","push"===ae.mode)("mat-drawer-side","side"===ae.mode)("mat-drawer-opened",ae.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:L,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(_e,ae){1&_e&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},directives:[e.PQ],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0}),ze})(),fe=(()=>{class ze{constructor(_e,ae,Ae,ee,Ne,V=!1,H){this._dir=_e,this._element=ae,this._ngZone=Ae,this._changeDetectorRef=ee,this._animationMode=H,this._drawers=new g.n_E,this.backdropClick=new g.vpe,this._destroyed=new E.x,this._doCheckSubject=new E.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E.x,_e&&_e.change.pipe((0,j.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ne.change().pipe((0,j.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=V}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(_e){this._autosize=(0,_.Ig)(_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:(0,_.Ig)(_e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,he.O)(this._allDrawers),(0,j.R)(this._destroyed)).subscribe(_e=>{this._drawers.reset(_e.filter(ae=>!ae._container||ae._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,he.O)(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,F.b)(10),(0,j.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(_e=>_e.open())}close(){this._drawers.forEach(_e=>_e.close())}updateContentMargins(){let _e=0,ae=0;if(this._left&&this._left.opened)if("side"==this._left.mode)_e+=this._left._getWidth();else if("push"==this._left.mode){const Ae=this._left._getWidth();_e+=Ae,ae-=Ae}if(this._right&&this._right.opened)if("side"==this._right.mode)ae+=this._right._getWidth();else if("push"==this._right.mode){const Ae=this._right._getWidth();ae+=Ae,_e-=Ae}_e=_e||null,ae=ae||null,(_e!==this._contentMargins.left||ae!==this._contentMargins.right)&&(this._contentMargins={left:_e,right:ae},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,N.h)(ae=>ae.fromState!==ae.toState),(0,j.R)(this._drawers.changes)).subscribe(ae=>{"open-instant"!==ae.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==_e.mode&&_e.openedChange.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(_e.opened))}_watchDrawerPosition(_e){!_e||_e.onPositionChanged.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Q.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(_e){_e&&_e._modeChanged.pipe((0,j.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(_e){const ae=this._element.nativeElement.classList,Ae="mat-drawer-container-has-open";_e?ae.add(Ae):ae.remove(Ae)}_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 ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(R.Is,8),g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(e.rL),g.Y36(P),g.Y36(pe.Qb,8))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-drawer-container"]],contentQueries:function(_e,ae,Ae){if(1&_e&&(g.Suo(Ae,Pe,5),g.Suo(Ae,ce,5)),2&_e){let ee;g.iGM(ee=g.CRH())&&(ae._content=ee.first),g.iGM(ee=g.CRH())&&(ae._allDrawers=ee)}},viewQuery:function(_e,ae){if(1&_e&&g.Gf(Pe,5),2&_e){let Ae;g.iGM(Ae=g.CRH())&&(ae._userContent=Ae.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(_e,ae){2&_e&&g.ekj("mat-drawer-container-explicit-backdrop",ae._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:de,useExisting:ze}])],ngContentSelectors:Oe,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,ae){1&_e&&(g.F$t(Te),g.YNc(0,Y,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,se,2,0,"mat-drawer-content",1)),2&_e&&(g.Q6J("ngIf",ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!ae._content))},directives:[Pe,c.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),ze})(),Ze=(()=>{class ze extends Pe{constructor(_e,ae,Ae,ee,Ne){super(_e,ae,Ae,ee,Ne)}}return ze.\u0275fac=function(_e){return new(_e||ze)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>it)),g.Y36(g.SBq),g.Y36(e.mF),g.Y36(g.R0b))},ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(_e,ae){2&_e&&g.Udp("margin-left",ae._container._contentMargins.left,"px")("margin-right",ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:e.PQ,useExisting:ze}]),g.qOj],ngContentSelectors:L,decls:1,vars:0,template:function(_e,ae){1&_e&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),ze})(),ne=(()=>{class ze extends ce{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(_e){this._fixedInViewport=(0,_.Ig)(_e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(_e){this._fixedTopGap=(0,_.su)(_e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(_e){this._fixedBottomGap=(0,_.su)(_e)}}return ze.\u0275fac=function(){let Ue;return function(ae){return(Ue||(Ue=g.n5z(ze)))(ae||ze)}}(),ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(_e,ae){2&_e&&(g.uIk("align",null),g.Udp("top",ae.fixedInViewport?ae.fixedTopGap:null,"px")("bottom",ae.fixedInViewport?ae.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===ae.position)("mat-drawer-over","over"===ae.mode)("mat-drawer-push","push"===ae.mode)("mat-drawer-side","side"===ae.mode)("mat-drawer-opened",ae.opened)("mat-sidenav-fixed",ae.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:L,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(_e,ae){1&_e&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},directives:[e.PQ],encapsulation:2,data:{animation:[Me.transformDrawer]},changeDetection:0}),ze})(),it=(()=>{class ze extends fe{}return ze.\u0275fac=function(){let Ue;return function(ae){return(Ue||(Ue=g.n5z(ze)))(ae||ze)}}(),ze.\u0275cmp=g.Xpm({type:ze,selectors:[["mat-sidenav-container"]],contentQueries:function(_e,ae,Ae){if(1&_e&&(g.Suo(Ae,Ze,5),g.Suo(Ae,ne,5)),2&_e){let ee;g.iGM(ee=g.CRH())&&(ae._content=ee.first),g.iGM(ee=g.CRH())&&(ae._allDrawers=ee)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(_e,ae){2&_e&&g.ekj("mat-drawer-container-explicit-backdrop",ae._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:de,useExisting:ze}]),g.qOj],ngContentSelectors:Le,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,ae){1&_e&&(g.F$t(ge),g.YNc(0,Se,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,We,2,0,"mat-sidenav-content",1)),2&_e&&(g.Q6J("ngIf",ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!ae._content))},directives:[Ze,c.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[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),ze})(),Be=(()=>{class ze{}return ze.\u0275fac=function(_e){return new(_e||ze)},ze.\u0275mod=g.oAB({type:ze}),ze.\u0275inj=g.cJS({imports:[[c.ez,w.BQ,e.ZD],e.ZD,w.BQ]}),ze})()},32368:(qe,me,h)=>{"use strict";h.d(me,{Rr:()=>be,rP:()=>R});var e=h(17144),c=h(5e3),g=h(90508),w=h(63191),_=h(93075),b=h(76360),E=h(15664);const v=["thumbContainer"],I=["toggleBar"],N=["input"],A=function(L){return{enterDuration:L}},q=["*"],j=new c.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let G=0;const Q={provide:_.JU,useExisting:(0,c.Gpc)(()=>be),multi:!0};class he{constructor(X,Y){this.source=X,this.checked=Y}}const F=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(L){this._elementRef=L}}))));let be=(()=>{class L extends F{constructor(Y,se,Te,Oe,Se,We){super(Y),this._focusMonitor=se,this._changeDetectorRef=Te,this.defaults=Se,this._onChange=ge=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++G,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 c.vpe,this.toggleChange=new c.vpe,this.tabIndex=parseInt(Oe)||0,this.color=this.defaultColor=Se.color||"accent",this._noopAnimations="NoopAnimations"===We}get required(){return this._required}set required(Y){this._required=(0,w.Ig)(Y)}get checked(){return this._checked}set checked(Y){this._checked=(0,w.Ig)(Y),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Y=>{Y||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(Y){Y.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Y){Y.stopPropagation()}writeValue(Y){this.checked=!!Y}registerOnChange(Y){this._onChange=Y}registerOnTouched(Y){this._onTouched=Y}setDisabledState(Y){this.disabled=Y,this._changeDetectorRef.markForCheck()}focus(Y,se){se?this._focusMonitor.focusVia(this._inputElement,se,Y):this._inputElement.nativeElement.focus(Y)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new he(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(E.tE),c.Y36(c.sBO),c.$8M("tabindex"),c.Y36(j),c.Y36(b.Qb,8))},L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-slide-toggle"]],viewQuery:function(Y,se){if(1&Y&&(c.Gf(v,5),c.Gf(I,5),c.Gf(N,5)),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._thumbEl=Te.first),c.iGM(Te=c.CRH())&&(se._thumbBarEl=Te.first),c.iGM(Te=c.CRH())&&(se._inputElement=Te.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(Y,se){2&Y&&(c.Ikx("id",se.id),c.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),c.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:[c._Bn([Q]),c.qOj],ngContentSelectors:q,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(Y,se){if(1&Y&&(c.F$t(),c.TgZ(0,"label",0,1),c.TgZ(2,"span",2,3),c.TgZ(4,"input",4,5),c.NdJ("change",function(Oe){return se._onChangeEvent(Oe)})("click",function(Oe){return se._onInputClick(Oe)}),c.qZA(),c.TgZ(6,"span",6,7),c._UZ(8,"span",8),c.TgZ(9,"span",9),c._UZ(10,"span",10),c.qZA(),c.qZA(),c.qZA(),c.TgZ(11,"span",11,12),c.NdJ("cdkObserveContent",function(){return se._onLabelTextChange()}),c.TgZ(13,"span",13),c._uU(14,"\xa0"),c.qZA(),c.Hsn(15),c.qZA(),c.qZA()),2&Y){const Te=c.MAs(1),Oe=c.MAs(12);c.uIk("for",se.inputId),c.xp6(2),c.ekj("mat-slide-toggle-bar-no-side-margin",!Oe.textContent||!Oe.textContent.trim()),c.xp6(2),c.Q6J("id",se.inputId)("required",se.required)("tabIndex",se.tabIndex)("checked",se.checked)("disabled",se.disabled),c.uIk("name",se.name)("aria-checked",se.checked)("aria-label",se.ariaLabel)("aria-labelledby",se.ariaLabelledby)("aria-describedby",se.ariaDescribedby),c.xp6(5),c.Q6J("matRippleTrigger",Te)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",c.VKq(18,A,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;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}),L})(),T=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({}),L})(),R=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[T,g.si,g.BQ,e.Q8],T,g.BQ]}),L})()},57261:(qe,me,h)=>{"use strict";h.d(me,{ZX:()=>F});var e=h(91314),c=h(47429),g=h(69808),w=h(5e3),_=h(90508),b=h(47423);h(41777);let F=(()=>{class R{}return R.\u0275fac=function(X){return new(X||R)},R.\u0275mod=w.oAB({type:R}),R.\u0275inj=w.cJS({imports:[[e.U8,c.eL,g.ez,b.ot,_.BQ],_.BQ]}),R})()},84847:(qe,me,h)=>{"use strict";h.d(me,{YE:()=>X,nU:()=>Te,JX:()=>Oe});var e=h(5e3),c=h(63191),g=h(91159),w=h(90508),_=h(77579),b=h(56451),E=h(41777),v=h(15664),I=h(69808);const N=["mat-sort-header",""];function A(Se,We){if(1&Se){const ge=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){return e.CHM(ge),e.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return e.CHM(ge),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&Se){const ge=e.oxw();e.Q6J("@arrowOpacity",ge._getArrowViewState())("@arrowPosition",ge._getArrowViewState())("@allowChildren",ge._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",ge._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",ge._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",ge._getArrowDirectionState())}}const q=["*"],j=w.mZ.ENTERING+" "+w.yN.STANDARD_CURVE,G={indicator:(0,E.X$)("indicator",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"translateY(0px)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"translateY(10px)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),leftPointer:(0,E.X$)("leftPointer",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"rotate(-45deg)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"rotate(45deg)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),rightPointer:(0,E.X$)("rightPointer",[(0,E.SB)("active-asc, asc",(0,E.oB)({transform:"rotate(45deg)"})),(0,E.SB)("active-desc, desc",(0,E.oB)({transform:"rotate(-45deg)"})),(0,E.eR)("active-asc <=> active-desc",(0,E.jt)(j))]),arrowOpacity:(0,E.X$)("arrowOpacity",[(0,E.SB)("desc-to-active, asc-to-active, active",(0,E.oB)({opacity:1})),(0,E.SB)("desc-to-hint, asc-to-hint, hint",(0,E.oB)({opacity:.54})),(0,E.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,E.oB)({opacity:0})),(0,E.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,E.jt)("0ms")),(0,E.eR)("* <=> *",(0,E.jt)(j))]),arrowPosition:(0,E.X$)("arrowPosition",[(0,E.eR)("* => desc-to-hint, * => desc-to-active",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(-25%)"}),(0,E.oB)({transform:"translateY(0)"})]))),(0,E.eR)("* => hint-to-desc, * => active-to-desc",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(0)"}),(0,E.oB)({transform:"translateY(25%)"})]))),(0,E.eR)("* => asc-to-hint, * => asc-to-active",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(25%)"}),(0,E.oB)({transform:"translateY(0)"})]))),(0,E.eR)("* => hint-to-asc, * => active-to-asc",(0,E.jt)(j,(0,E.F4)([(0,E.oB)({transform:"translateY(0)"}),(0,E.oB)({transform:"translateY(-25%)"})]))),(0,E.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,E.oB)({transform:"translateY(0)"})),(0,E.SB)("hint-to-desc, active-to-desc, desc",(0,E.oB)({transform:"translateY(-25%)"})),(0,E.SB)("hint-to-asc, active-to-asc, asc",(0,E.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,E.X$)("allowChildren",[(0,E.eR)("* <=> *",[(0,E.IO)("@*",(0,E.pV)(),{optional:!0})])])};let pe=(()=>{class Se{constructor(){this.changes=new _.x}}return Se.\u0275fac=function(ge){return new(ge||Se)},Se.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();const T={provide:pe,deps:[[new e.FiY,new e.tp0,pe]],useFactory:function ye(Se){return Se||new pe}},R=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),L=(0,w.dB)((0,w.Id)(class{}));let X=(()=>{class Se extends L{constructor(ge){super(),this._defaultOptions=ge,this.sortables=new Map,this._stateChanges=new _.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(ge){this._direction=ge}get disableClear(){return this._disableClear}set disableClear(ge){this._disableClear=(0,c.Ig)(ge)}register(ge){this.sortables.set(ge.id,ge)}deregister(ge){this.sortables.delete(ge.id)}sort(ge){this.active!=ge.id?(this.active=ge.id,this.direction=ge.start?ge.start:this.start):this.direction=this.getNextSortDirection(ge),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(ge){var Le,ue,Me;if(!ge)return"";const z=null!==(ue=null!==(Le=null==ge?void 0:ge.disableClear)&&void 0!==Le?Le:this.disableClear)&&void 0!==ue?ue:!!(null===(Me=this._defaultOptions)||void 0===Me?void 0:Me.disableClear);let P=function Y(Se,We){let ge=["asc","desc"];return"desc"==Se&&ge.reverse(),We||ge.push(""),ge}(ge.start||this.start,z),de=P.indexOf(this.direction)+1;return de>=P.length&&(de=0),P[de]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Se.\u0275fac=function(ge){return new(ge||Se)(e.Y36(R,8))},Se.\u0275dir=e.lG2({type:Se,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]}),Se})();const se=(0,w.Id)(class{});let Te=(()=>{class Se extends se{constructor(ge,Le,ue,Me,z,P,de){super(),this._intl=ge,this._changeDetectorRef=Le,this._sort=ue,this._columnDef=Me,this._focusMonitor=z,this._elementRef=P,this._ariaDescriber=de,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(ge){this._updateSortActionDescription(ge)}get disableClear(){return this._disableClear}set disableClear(ge){this._disableClear=(0,c.Ig)(ge)}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(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ge=>{const Le=!!ge;Le!==this._showIndicatorHint&&(this._setIndicatorHintVisible(Le),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(ge){this._isDisabled()&&ge||(this._showIndicatorHint=ge,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(ge){this._viewState=ge||{},this._disableViewStateAnimation&&(this._viewState={toState:ge.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(ge){!this._isDisabled()&&(ge.keyCode===g.L_||ge.keyCode===g.K5)&&(ge.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 ge=this._viewState.fromState;return(ge?`${ge}-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(ge){var Le,ue;this._sortButton&&(null===(Le=this._ariaDescriber)||void 0===Le||Le.removeDescription(this._sortButton,this._sortActionDescription),null===(ue=this._ariaDescriber)||void 0===ue||ue.describe(this._sortButton,ge)),this._sortActionDescription=ge}_handleStateChanges(){this._rerenderSubscription=(0,b.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 Se.\u0275fac=function(ge){return new(ge||Se)(e.Y36(pe),e.Y36(e.sBO),e.Y36(X,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(v.tE),e.Y36(e.SBq),e.Y36(v.$s,8))},Se.\u0275cmp=e.Xpm({type:Se,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(ge,Le){1&ge&&e.NdJ("click",function(){return Le._handleClick()})("keydown",function(Me){return Le._handleKeydown(Me)})("mouseenter",function(){return Le._setIndicatorHintVisible(!0)})("mouseleave",function(){return Le._setIndicatorHintVisible(!1)}),2&ge&&(e.uIk("aria-sort",Le._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",Le._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:N,ngContentSelectors:q,decls:4,vars:7,consts:[[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(ge,Le){1&ge&&(e.F$t(),e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,A,6,6,"div",2),e.qZA()),2&ge&&(e.ekj("mat-sort-header-sorted",Le._isSorted())("mat-sort-header-position-before","before"==Le.arrowPosition),e.uIk("tabindex",Le._isDisabled()?null:0)("role",Le._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",Le._renderArrow()))},directives:[I.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:[G.indicator,G.leftPointer,G.rightPointer,G.arrowOpacity,G.arrowPosition,G.allowChildren]},changeDetection:0}),Se})(),Oe=(()=>{class Se{}return Se.\u0275fac=function(ge){return new(ge||Se)},Se.\u0275mod=e.oAB({type:Se}),Se.\u0275inj=e.cJS({providers:[T],imports:[[I.ez,w.BQ]]}),Se})()},92081:(qe,me,h)=>{"use strict";h.d(me,{C0:()=>r,BY:()=>t,VY:()=>D,Vq:()=>x,T5:()=>jt,fd:()=>It});var e=h(47429),c=h(15664),g=h(63191),w=h(91159),_=h(69808),b=h(5e3),E=h(70925),v=h(77579),I=h(39646),N=h(68675),A=h(82722),q=h(50226);function j(bt,Yt){1&bt&&b.Hsn(0)}const G=["*"];let Q=(()=>{class bt{constructor(Ct){this._elementRef=Ct}focus(){this._elementRef.nativeElement.focus()}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.SBq))},bt.\u0275dir=b.lG2({type:bt,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),bt})(),he=(()=>{class bt{constructor(Ct){this.template=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["","cdkStepLabel",""]]}),bt})(),F=0;const ye=new b.OlP("STEPPER_GLOBAL_OPTIONS");let T=(()=>{class bt{constructor(Ct,Nt){this._stepper=Ct,this.interacted=!1,this.interactedStream=new b.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=Nt||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(Ct){this._editable=(0,g.Ig)(Ct)}get optional(){return this._optional}set optional(Ct){this._optional=(0,g.Ig)(Ct)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Ct){this._completedOverride=(0,g.Ig)(Ct)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Ct){this._customError=(0,g.Ig)(Ct)}_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 Ct;return null!==(Ct=this._stepperOptions.showError)&&void 0!==Ct?Ct:null!=this._customError}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36((0,b.Gpc)(()=>R)),b.Y36(ye,8))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["cdk-step"]],contentQueries:function(Ct,Nt,He){if(1&Ct&&b.Suo(He,he,5),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt.stepLabel=je.first)}},viewQuery:function(Ct,Nt){if(1&Ct&&b.Gf(b.Rgc,7),2&Ct){let He;b.iGM(He=b.CRH())&&(Nt.content=He.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:[b.TTD],ngContentSelectors:G,decls:1,vars:0,template:function(Ct,Nt){1&Ct&&(b.F$t(),b.YNc(0,j,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),bt})(),R=(()=>{class bt{constructor(Ct,Nt,He,je){this._dir=Ct,this._changeDetectorRef=Nt,this._elementRef=He,this._destroyed=new v.x,this.steps=new b.n_E,this._sortedHeaders=new b.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new b.vpe,this._orientation="horizontal",this._groupId=F++}get linear(){return this._linear}set linear(Ct){this._linear=(0,g.Ig)(Ct)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Ct){var Nt;const He=(0,g.su)(Ct);this.steps&&this._steps?(this._isValidIndex(He),null===(Nt=this.selected)||void 0===Nt||Nt._markAsInteracted(),this._selectedIndex!==He&&!this._anyControlsInvalidOrPending(He)&&(He>=this._selectedIndex||this.steps.toArray()[He].editable)&&this._updateSelectedItemIndex(He)):this._selectedIndex=He}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Ct){this.selectedIndex=Ct&&this.steps?this.steps.toArray().indexOf(Ct):-1}get orientation(){return this._orientation}set orientation(Ct){this._orientation=Ct,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Ct)}ngAfterContentInit(){this._steps.changes.pipe((0,N.O)(this._steps),(0,A.R)(this._destroyed)).subscribe(Ct=>{this.steps.reset(Ct.filter(Nt=>Nt._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,N.O)(this._stepHeader),(0,A.R)(this._destroyed)).subscribe(Ct=>{this._sortedHeaders.reset(Ct.toArray().sort((Nt,He)=>Nt._elementRef.nativeElement.compareDocumentPosition(He._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new c.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,I.of)()).pipe((0,N.O)(this._layoutDirection()),(0,A.R)(this._destroyed)).subscribe(Ct=>this._keyManager.withHorizontalOrientation(Ct)),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(Ct=>Ct.reset()),this._stateChanged()}_getStepLabelId(Ct){return`cdk-step-label-${this._groupId}-${Ct}`}_getStepContentId(Ct){return`cdk-step-content-${this._groupId}-${Ct}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Ct){const Nt=Ct-this._selectedIndex;return Nt<0?"rtl"===this._layoutDirection()?"next":"previous":Nt>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Ct,Nt="number"){const He=this.steps.toArray()[Ct],je=this._isCurrentStep(Ct);return He._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(He,je):this._getGuidelineLogic(He,je,Nt)}_getDefaultIndicatorLogic(Ct,Nt){return Ct._showError()&&Ct.hasError&&!Nt?"error":!Ct.completed||Nt?"number":Ct.editable?"edit":"done"}_getGuidelineLogic(Ct,Nt,He="number"){return Ct._showError()&&Ct.hasError&&!Nt?"error":Ct.completed&&!Nt?"done":Ct.completed&&Nt?He:Ct.editable&&Nt?"edit":He}_isCurrentStep(Ct){return this._selectedIndex===Ct}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Ct){const Nt=this.steps.toArray();this.selectionChange.emit({selectedIndex:Ct,previouslySelectedIndex:this._selectedIndex,selectedStep:Nt[Ct],previouslySelectedStep:Nt[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Ct):this._keyManager.updateActiveItem(Ct),this._selectedIndex=Ct,this._stateChanged()}_onKeydown(Ct){const Nt=(0,w.Vb)(Ct),He=Ct.keyCode,je=this._keyManager;null==je.activeItemIndex||Nt||He!==w.L_&&He!==w.K5?je.onKeydown(Ct):(this.selectedIndex=je.activeItemIndex,Ct.preventDefault())}_anyControlsInvalidOrPending(Ct){return!!(this._linear&&Ct>=0)&&this.steps.toArray().slice(0,Ct).some(Nt=>{const He=Nt.stepControl;return(He?He.invalid||He.pending||!Nt.interacted:!Nt.completed)&&!Nt.optional&&!Nt._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Ct=this._elementRef.nativeElement,Nt=(0,E.ht)();return Ct===Nt||Ct.contains(Nt)}_isValidIndex(Ct){return Ct>-1&&(!this.steps||Ct{class bt{constructor(Ct){this._stepper=Ct,this.type="button"}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(R))},bt.\u0275dir=b.lG2({type:bt,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(Ct,Nt){1&Ct&&b.NdJ("click",function(){return Nt._stepper.previous()}),2&Ct&&b.Ikx("type",Nt.type)},inputs:{type:"type"}}),bt})(),Y=(()=>{class bt{}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275mod=b.oAB({type:bt}),bt.\u0275inj=b.cJS({imports:[[q.vT]]}),bt})();var se=h(47423),Te=h(90508),Oe=h(25245),Se=h(50727),We=h(63900),ge=h(54004),Le=h(71884),ue=h(41777);function Me(bt,Yt){if(1&bt&&b.GkF(0,8),2&bt){const Ct=b.oxw();b.Q6J("ngTemplateOutlet",Ct.iconOverrides[Ct.state])("ngTemplateOutletContext",Ct._getIconContext())}}function z(bt,Yt){if(1&bt&&(b.TgZ(0,"span",13),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._getDefaultTextForState(Ct.state))}}function P(bt,Yt){if(1&bt&&(b.TgZ(0,"span",14),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._intl.completedLabel)}}function de(bt,Yt){if(1&bt&&(b.TgZ(0,"span",14),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._intl.editableLabel)}}function Ce(bt,Yt){if(1&bt&&(b.TgZ(0,"mat-icon",13),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw(2);b.xp6(1),b.Oqu(Ct._getDefaultTextForState(Ct.state))}}function Pe(bt,Yt){if(1&bt&&(b.ynx(0,9),b.YNc(1,z,2,1,"span",10),b.YNc(2,P,2,1,"span",11),b.YNc(3,de,2,1,"span",11),b.YNc(4,Ce,2,1,"mat-icon",12),b.BQk()),2&bt){const Ct=b.oxw();b.Q6J("ngSwitch",Ct.state),b.xp6(1),b.Q6J("ngSwitchCase","number"),b.xp6(1),b.Q6J("ngIf","done"===Ct.state),b.xp6(1),b.Q6J("ngIf","edit"===Ct.state)}}function ce(bt,Yt){if(1&bt&&(b.TgZ(0,"div",15),b.GkF(1,16),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("ngTemplateOutlet",Ct._templateLabel().template)}}function fe(bt,Yt){if(1&bt&&(b.TgZ(0,"div",15),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct.label)}}function Ze(bt,Yt){if(1&bt&&(b.TgZ(0,"div",17),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct._intl.optionalLabel)}}function ne(bt,Yt){if(1&bt&&(b.TgZ(0,"div",18),b._uU(1),b.qZA()),2&bt){const Ct=b.oxw();b.xp6(1),b.Oqu(Ct.errorMessage)}}function it(bt,Yt){}function Be(bt,Yt){if(1&bt&&(b.Hsn(0),b.YNc(1,it,0,0,"ng-template",0)),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("cdkPortalOutlet",Ct._portal)}}const ze=["*"];function Ue(bt,Yt){1&bt&&b._UZ(0,"div",9)}const _e=function(bt,Yt){return{step:bt,i:Yt}};function ae(bt,Yt){if(1&bt&&(b.ynx(0),b.GkF(1,7),b.YNc(2,Ue,1,0,"div",8),b.BQk()),2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=Yt.last;b.oxw(2);const je=b.MAs(4);b.xp6(1),b.Q6J("ngTemplateOutlet",je)("ngTemplateOutletContext",b.WLB(3,_e,Ct,Nt)),b.xp6(1),b.Q6J("ngIf",!He)}}function Ae(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"div",10),b.NdJ("@horizontalStepTransition.done",function(He){return b.CHM(Ct),b.oxw(2)._animationDone.next(He)}),b.GkF(1,11),b.qZA()}if(2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=b.oxw(2);b.Q6J("@horizontalStepTransition",He._getAnimationDirection(Nt))("id",He._getStepContentId(Nt)),b.uIk("aria-labelledby",He._getStepLabelId(Nt))("aria-expanded",He.selectedIndex===Nt),b.xp6(1),b.Q6J("ngTemplateOutlet",Ct.content)}}function ee(bt,Yt){if(1&bt&&(b.ynx(0),b.TgZ(1,"div",3),b.YNc(2,ae,3,6,"ng-container",4),b.qZA(),b.TgZ(3,"div",5),b.YNc(4,Ae,2,5,"div",6),b.qZA(),b.BQk()),2&bt){const Ct=b.oxw();b.xp6(2),b.Q6J("ngForOf",Ct.steps),b.xp6(2),b.Q6J("ngForOf",Ct.steps)}}function Ne(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"div",13),b.GkF(1,7),b.TgZ(2,"div",14),b.TgZ(3,"div",15),b.NdJ("@verticalStepTransition.done",function(He){return b.CHM(Ct),b.oxw(2)._animationDone.next(He)}),b.TgZ(4,"div",16),b.GkF(5,11),b.qZA(),b.qZA(),b.qZA(),b.qZA()}if(2&bt){const Ct=Yt.$implicit,Nt=Yt.index,He=Yt.last,je=b.oxw(2),Z=b.MAs(4);b.xp6(1),b.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",b.WLB(9,_e,Ct,Nt)),b.xp6(1),b.ekj("mat-stepper-vertical-line",!He),b.xp6(1),b.Q6J("@verticalStepTransition",je._getAnimationDirection(Nt))("id",je._getStepContentId(Nt)),b.uIk("aria-labelledby",je._getStepLabelId(Nt))("aria-expanded",je.selectedIndex===Nt),b.xp6(2),b.Q6J("ngTemplateOutlet",Ct.content)}}function V(bt,Yt){if(1&bt&&(b.ynx(0),b.YNc(1,Ne,6,12,"div",12),b.BQk()),2&bt){const Ct=b.oxw();b.xp6(1),b.Q6J("ngForOf",Ct.steps)}}function H(bt,Yt){if(1&bt){const Ct=b.EpF();b.TgZ(0,"mat-step-header",17),b.NdJ("click",function(){return b.CHM(Ct).step.select()})("keydown",function(He){return b.CHM(Ct),b.oxw()._onKeydown(He)}),b.qZA()}if(2&bt){const Ct=Yt.step,Nt=Yt.i,He=b.oxw();b.ekj("mat-horizontal-stepper-header","horizontal"===He.orientation)("mat-vertical-stepper-header","vertical"===He.orientation),b.Q6J("tabIndex",He._getFocusIndex()===Nt?0:-1)("id",He._getStepLabelId(Nt))("index",Nt)("state",He._getIndicatorType(Nt,Ct.state))("label",Ct.stepLabel||Ct.label)("selected",He.selectedIndex===Nt)("active",He._stepIsNavigable(Nt,Ct))("optional",Ct.optional)("errorMessage",Ct.errorMessage)("iconOverrides",He._iconOverrides)("disableRipple",He.disableRipple||!He._stepIsNavigable(Nt,Ct))("color",Ct.color||He.color),b.uIk("aria-posinset",Nt+1)("aria-setsize",He.steps.length)("aria-controls",He._getStepContentId(Nt))("aria-selected",He.selectedIndex==Nt)("aria-label",Ct.ariaLabel||null)("aria-labelledby",!Ct.ariaLabel&&Ct.ariaLabelledby?Ct.ariaLabelledby:null)("aria-disabled",!He._stepIsNavigable(Nt,Ct)||null)}}let D=(()=>{class bt extends he{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["","matStepLabel",""]],features:[b.qOj]}),bt})(),O=(()=>{class bt{constructor(){this.changes=new v.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275prov=b.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const o={provide:O,deps:[[new b.FiY,new b.tp0,O]],useFactory:function i(bt){return bt||new O}},u=(0,Te.pj)(class extends Q{constructor(Yt){super(Yt)}},"primary");let l=(()=>{class bt extends u{constructor(Ct,Nt,He,je){super(He),this._intl=Ct,this._focusMonitor=Nt,this._intlSubscription=Ct.changes.subscribe(()=>je.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ct,Nt){Ct?this._focusMonitor.focusVia(this._elementRef,Ct,Nt):this._elementRef.nativeElement.focus(Nt)}_stringLabel(){return this.label instanceof D?null:this.label}_templateLabel(){return this.label instanceof D?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Ct){return"number"==Ct?`${this.index+1}`:"edit"==Ct?"create":"error"==Ct?"warning":Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(O),b.Y36(c.tE),b.Y36(b.SBq),b.Y36(b.sBO))},bt.\u0275cmp=b.Xpm({type:bt,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:[b.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(Ct,Nt){1&Ct&&(b._UZ(0,"div",0),b.TgZ(1,"div"),b.TgZ(2,"div",1),b.YNc(3,Me,1,2,"ng-container",2),b.YNc(4,Pe,5,4,"ng-container",3),b.qZA(),b.qZA(),b.TgZ(5,"div",4),b.YNc(6,ce,2,1,"div",5),b.YNc(7,fe,2,1,"div",5),b.YNc(8,Ze,2,1,"div",6),b.YNc(9,ne,2,1,"div",7),b.qZA()),2&Ct&&(b.Q6J("matRippleTrigger",Nt._getHostElement())("matRippleDisabled",Nt.disableRipple),b.xp6(1),b.Gre("mat-step-icon-state-",Nt.state," mat-step-icon"),b.ekj("mat-step-icon-selected",Nt.selected),b.xp6(1),b.Q6J("ngSwitch",!(!Nt.iconOverrides||!Nt.iconOverrides[Nt.state])),b.xp6(1),b.Q6J("ngSwitchCase",!0),b.xp6(2),b.ekj("mat-step-label-active",Nt.active)("mat-step-label-selected",Nt.selected)("mat-step-label-error","error"==Nt.state),b.xp6(1),b.Q6J("ngIf",Nt._templateLabel()),b.xp6(1),b.Q6J("ngIf",Nt._stringLabel()),b.xp6(1),b.Q6J("ngIf",Nt.optional&&"error"!=Nt.state),b.xp6(1),b.Q6J("ngIf","error"==Nt.state))},directives:[Oe.Hw,Te.wG,_.RF,_.n9,_.tP,_.ED,_.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}),bt})();const s={horizontalStepTransition:(0,ue.X$)("horizontalStepTransition",[(0,ue.SB)("previous",(0,ue.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,ue.SB)("current",(0,ue.oB)({transform:"none",visibility:"inherit"})),(0,ue.SB)("next",(0,ue.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,ue.eR)("* => *",(0,ue.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,ue.X$)("verticalStepTransition",[(0,ue.SB)("previous",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("next",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("current",(0,ue.oB)({height:"*",visibility:"inherit"})),(0,ue.eR)("* <=> current",(0,ue.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let n=(()=>{class bt{constructor(Ct){this.templateRef=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),bt})(),t=(()=>{class bt{constructor(Ct){this._template=Ct}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(b.Rgc))},bt.\u0275dir=b.lG2({type:bt,selectors:[["ng-template","matStepContent",""]]}),bt})(),r=(()=>{class bt extends T{constructor(Ct,Nt,He,je){super(Ct,je),this._errorStateMatcher=Nt,this._viewContainerRef=He,this._isSelected=Se.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,We.w)(()=>this._stepper.selectionChange.pipe((0,ge.U)(Ct=>Ct.selectedStep===this),(0,N.O)(this._stepper.selected===this)))).subscribe(Ct=>{Ct&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Ct,Nt){return this._errorStateMatcher.isErrorState(Ct,Nt)||!!(Ct&&Ct.invalid&&this.interacted)}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36((0,b.Gpc)(()=>x)),b.Y36(Te.rD,4),b.Y36(b.s_b),b.Y36(ye,8))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["mat-step"]],contentQueries:function(Ct,Nt,He){if(1&Ct&&(b.Suo(He,D,5),b.Suo(He,t,5)),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt.stepLabel=je.first),b.iGM(je=b.CRH())&&(Nt._lazyContent=je.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[b._Bn([{provide:Te.rD,useExisting:bt},{provide:T,useExisting:bt}]),b.qOj],ngContentSelectors:ze,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(Ct,Nt){1&Ct&&(b.F$t(),b.YNc(0,Be,2,1,"ng-template"))},directives:[e.Pl],encapsulation:2,changeDetection:0}),bt})(),a=(()=>{class bt extends R{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,features:[b.qOj]}),bt})(),d=(()=>{class bt extends a{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["mat-horizontal-stepper"]],features:[b.qOj]}),bt})(),f=(()=>{class bt extends a{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["mat-vertical-stepper"]],features:[b.qOj]}),bt})(),x=(()=>{class bt extends R{constructor(Ct,Nt,He,je){super(Ct,Nt,He,je),this.steps=new b.n_E,this.animationDone=new b.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new v.x;const Z=He.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Z?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Ct,templateRef:Nt})=>this._iconOverrides[Ct]=Nt),this.steps.changes.pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,Le.x)((Ct,Nt)=>Ct.fromState===Nt.fromState&&Ct.toState===Nt.toState),(0,A.R)(this._destroyed)).subscribe(Ct=>{"current"===Ct.toState&&this.animationDone.emit()})}_stepIsNavigable(Ct,Nt){return Nt.completed||this.selectedIndex===Ct||!this.linear}}return bt.\u0275fac=function(Ct){return new(Ct||bt)(b.Y36(q.Is,8),b.Y36(b.sBO),b.Y36(b.SBq),b.Y36(_.K0))},bt.\u0275cmp=b.Xpm({type:bt,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(Ct,Nt,He){if(1&Ct&&(b.Suo(He,r,5),b.Suo(He,n,5)),2&Ct){let je;b.iGM(je=b.CRH())&&(Nt._steps=je),b.iGM(je=b.CRH())&&(Nt._icons=je)}},viewQuery:function(Ct,Nt){if(1&Ct&&b.Gf(l,5),2&Ct){let He;b.iGM(He=b.CRH())&&(Nt._stepHeader=He)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(Ct,Nt){2&Ct&&(b.uIk("aria-orientation",Nt.orientation),b.ekj("mat-stepper-horizontal","horizontal"===Nt.orientation)("mat-stepper-vertical","vertical"===Nt.orientation)("mat-stepper-label-position-end","horizontal"===Nt.orientation&&"end"==Nt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Nt.orientation&&"bottom"==Nt.labelPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[b._Bn([{provide:R,useExisting:bt},{provide:d,useExisting:bt},{provide:f,useExisting:bt}]),b.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(Ct,Nt){1&Ct&&(b.ynx(0,0),b.YNc(1,ee,5,2,"ng-container",1),b.YNc(2,V,2,1,"ng-container",1),b.BQk(),b.YNc(3,H,1,23,"ng-template",null,2,b.W1O)),2&Ct&&(b.Q6J("ngSwitch",Nt.orientation),b.xp6(1),b.Q6J("ngSwitchCase","horizontal"),b.xp6(1),b.Q6J("ngSwitchCase","vertical"))},directives:[l,_.RF,_.n9,_.sg,_.tP,_.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:[s.horizontalStepTransition,s.verticalStepTransition]},changeDetection:0}),bt})(),It=(()=>{class bt extends X{}return bt.\u0275fac=function(){let Yt;return function(Nt){return(Yt||(Yt=b.n5z(bt)))(Nt||bt)}}(),bt.\u0275dir=b.lG2({type:bt,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(Ct,Nt){2&Ct&&b.Ikx("type",Nt.type)},inputs:{type:"type"},features:[b.qOj]}),bt})(),jt=(()=>{class bt{}return bt.\u0275fac=function(Ct){return new(Ct||bt)},bt.\u0275mod=b.oAB({type:bt}),bt.\u0275inj=b.cJS({providers:[o,Te.rD],imports:[[Te.BQ,_.ez,e.eL,se.ot,Y,Oe.Ps,Te.si],Te.BQ]}),bt})()},32075:(qe,me,h)=>{"use strict";h.d(me,{ev:()=>lt,Dz:()=>ct,w1:()=>Tt,ge:()=>ot,fO:()=>Rt,XQ:()=>ni,as:()=>ut,Gk:()=>gi,nj:()=>Qt,BZ:()=>nt,by:()=>Pt,p0:()=>qi});var e=h(5e3),c=h(63191),g=h(20449),w=h(69808),_=h(77579),b=h(32076),E=h(61135),v=h(45191),I=h(39646),N=h(82722),A=h(95698),q=h(50226),j=h(70925),G=h(29071);const Q=[[["caption"]],[["colgroup"],["col"]]],he=["caption","colgroup, col"];function pe($e){return class extends $e{constructor(...vt){super(...vt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(vt){const at=this._sticky;this._sticky=(0,c.Ig)(vt),this._hasStickyChanged=at!==this._sticky}hasStickyChanged(){const vt=this._hasStickyChanged;return this._hasStickyChanged=!1,vt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ye=new e.OlP("CDK_TABLE");let R=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellDef",""]]}),$e})(),L=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderCellDef",""]]}),$e})(),X=(()=>{class $e{constructor(at){this.template=at}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterCellDef",""]]}),$e})();class Y{}const se=pe(Y);let Te=(()=>{class $e extends se{constructor(at){super(),this._table=at,this._stickyEnd=!1}get name(){return this._name}set name(at){this._setNameInput(at)}get stickyEnd(){return this._stickyEnd}set stickyEnd(at){const Qe=this._stickyEnd;this._stickyEnd=(0,c.Ig)(at),this._hasStickyChanged=Qe!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(at){at&&(this._name=at,this.cssClassFriendlyName=at.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkColumnDef",""]],contentQueries:function(at,Qe,yt){if(1&at&&(e.Suo(yt,R,5),e.Suo(yt,L,5),e.Suo(yt,X,5)),2&at){let U;e.iGM(U=e.CRH())&&(Qe.cell=U.first),e.iGM(U=e.CRH())&&(Qe.headerCell=U.first),e.iGM(U=e.CRH())&&(Qe.footerCell=U.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})();class Oe{constructor(vt,at){at.nativeElement.classList.add(...vt._columnCssClassName)}}let Se=(()=>{class $e extends Oe{constructor(at,Qe){super(at,Qe)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(Te),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})(),ge=(()=>{class $e extends Oe{constructor(at,Qe){var yt;if(super(at,Qe),1===(null===(yt=at._table)||void 0===yt?void 0:yt._elementRef.nativeElement.nodeType)){const U=at._table._elementRef.nativeElement.getAttribute("role");Qe.nativeElement.setAttribute("role","grid"===U||"treegrid"===U?"gridcell":"cell")}}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(Te),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 Le{constructor(){this.tasks=[],this.endTasks=[]}}const ue=new e.OlP("_COALESCED_STYLE_SCHEDULER");let Me=(()=>{class $e{constructor(at){this._ngZone=at,this._currentSchedule=null,this._destroyed=new _.x}schedule(at){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(at)}scheduleEnd(at){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(at)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Le,this._getScheduleObservable().pipe((0,N.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const at=this._currentSchedule;this._currentSchedule=new Le;for(const Qe of at.tasks)Qe();for(const Qe of at.endTasks)Qe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,b.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,A.q)(1))}}return $e.\u0275fac=function(at){return new(at||$e)(e.LFG(e.R0b))},$e.\u0275prov=e.Yz7({token:$e,factory:$e.\u0275fac}),$e})(),P=(()=>{class $e{constructor(at,Qe){this.template=at,this._differs=Qe}ngOnChanges(at){if(!this._columnsDiffer){const Qe=at.columns&&at.columns.currentValue||[];this._columnsDiffer=this._differs.find(Qe).create(),this._columnsDiffer.diff(Qe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(at){return this instanceof Pe?at.headerCell.template:this instanceof Ze?at.footerCell.template:at.cell.template}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},$e.\u0275dir=e.lG2({type:$e,features:[e.TTD]}),$e})();class de extends P{}const Ce=pe(de);let Pe=(()=>{class $e extends Ce{constructor(at,Qe,yt){super(at,Qe),this._table=yt}ngOnChanges(at){super.ngOnChanges(at)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})();class ce extends P{}const fe=pe(ce);let Ze=(()=>{class $e extends fe{constructor(at,Qe,yt){super(at,Qe),this._table=yt}ngOnChanges(at){super.ngOnChanges(at)}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]}),$e})(),ne=(()=>{class $e extends P{constructor(at,Qe,yt){super(at,Qe),this._table=yt}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ye,8))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]}),$e})(),it=(()=>{class $e{constructor(at){this._viewContainer=at,$e.mostRecentCellOutlet=this}ngOnDestroy(){$e.mostRecentCellOutlet===this&&($e.mostRecentCellOutlet=null)}}return $e.mostRecentCellOutlet=null,$e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","cdkCellOutlet",""]]}),$e})(),Be=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$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(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),Ue=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$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(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),_e=(()=>{class $e{constructor(at){this.templateRef=at,this._contentClassName="cdk-no-data-row"}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.Rgc))},$e.\u0275dir=e.lG2({type:$e,selectors:[["ng-template","cdkNoDataRow",""]]}),$e})();const ae=["top","bottom","left","right"];class Ae{constructor(vt,at,Qe,yt,U=!0,Ge=!0,_t){this._isNativeHtmlTable=vt,this._stickCellCss=at,this.direction=Qe,this._coalescedStyleScheduler=yt,this._isBrowser=U,this._needsPositionStickyOnElement=Ge,this._positionListener=_t,this._cachedCellWidths=[],this._borderCellCss={top:`${at}-border-elem-top`,bottom:`${at}-border-elem-bottom`,left:`${at}-border-elem-left`,right:`${at}-border-elem-right`}}clearStickyPositioning(vt,at){const Qe=[];for(const yt of vt)if(yt.nodeType===yt.ELEMENT_NODE){Qe.push(yt);for(let U=0;U{for(const yt of Qe)this._removeStickyStyle(yt,at)})}updateStickyColumns(vt,at,Qe,yt=!0){if(!vt.length||!this._isBrowser||!at.some(wi=>wi)&&!Qe.some(wi=>wi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const U=vt[0],Ge=U.children.length,_t=this._getCellWidths(U,yt),Dt=this._getStickyStartColumnPositions(_t,at),ti=this._getStickyEndColumnPositions(_t,Qe),si=at.lastIndexOf(!0),Ii=Qe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const wi="rtl"===this.direction,zi=wi?"right":"left",rn=wi?"left":"right";for(const Oi of vt)for(let Hi=0;Hiat[Hi]?Oi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ii?[]:_t.slice(Ii).map((Oi,Hi)=>Qe[Hi+Ii]?Oi:null).reverse()}))})}stickRows(vt,at,Qe){if(!this._isBrowser)return;const yt="bottom"===Qe?vt.slice().reverse():vt,U="bottom"===Qe?at.slice().reverse():at,Ge=[],_t=[],Dt=[];for(let si=0,Ii=0;si{var si,Ii;for(let wi=0;wi{at.some(yt=>!yt)?this._removeStickyStyle(Qe,["bottom"]):this._addStickyStyle(Qe,"bottom",0,!1)})}_removeStickyStyle(vt,at){for(const yt of at)vt.style[yt]="",vt.classList.remove(this._borderCellCss[yt]);ae.some(yt=>-1===at.indexOf(yt)&&vt.style[yt])?vt.style.zIndex=this._getCalculatedZIndex(vt):(vt.style.zIndex="",this._needsPositionStickyOnElement&&(vt.style.position=""),vt.classList.remove(this._stickCellCss))}_addStickyStyle(vt,at,Qe,yt){vt.classList.add(this._stickCellCss),yt&&vt.classList.add(this._borderCellCss[at]),vt.style[at]=`${Qe}px`,vt.style.zIndex=this._getCalculatedZIndex(vt),this._needsPositionStickyOnElement&&(vt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(vt){const at={top:100,bottom:10,left:1,right:1};let Qe=0;for(const yt of ae)vt.style[yt]&&(Qe+=at[yt]);return Qe?`${Qe}`:""}_getCellWidths(vt,at=!0){if(!at&&this._cachedCellWidths.length)return this._cachedCellWidths;const Qe=[],yt=vt.children;for(let U=0;U0;U--)at[U]&&(Qe[U]=yt,yt+=vt[U]);return Qe}}const u=new e.OlP("CDK_SPL");let s=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","rowOutlet",""]]}),$e})(),n=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","headerRowOutlet",""]]}),$e})(),t=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","footerRowOutlet",""]]}),$e})(),r=(()=>{class $e{constructor(at,Qe){this.viewContainer=at,this.elementRef=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.s_b),e.Y36(e.SBq))},$e.\u0275dir=e.lG2({type:$e,selectors:[["","noDataRowOutlet",""]]}),$e})(),f=(()=>{class $e{constructor(at,Qe,yt,U,Ge,_t,Dt,ti,si,Ii,wi,zi){this._differs=at,this._changeDetectorRef=Qe,this._elementRef=yt,this._dir=Ge,this._platform=Dt,this._viewRepeater=ti,this._coalescedStyleScheduler=si,this._viewportRuler=Ii,this._stickyPositioningListener=wi,this._ngZone=zi,this._onDestroy=new _.x,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 E.X({start:0,end:Number.MAX_VALUE}),U||this._elementRef.nativeElement.setAttribute("role","table"),this._document=_t,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(at){this._trackByFn=at}get dataSource(){return this._dataSource}set dataSource(at){this._dataSource!==at&&this._switchDataSource(at)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(at){this._multiTemplateDataRows=(0,c.Ig)(at),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(at){this._fixedLayout=(0,c.Ig)(at),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((at,Qe)=>this.trackBy?this.trackBy(Qe.dataIndex,Qe.data):Qe),this._viewportRuler.change().pipe((0,N.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Qe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Qe,this._forceRecalculateCellWidths=Qe,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(at=>{at.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 at=this._dataDiffer.diff(this._renderRows);if(!at)return this._updateNoDataRow(),void this.contentChanged.next();const Qe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(at,Qe,(yt,U,Ge)=>this._getEmbeddedViewArgs(yt.item,Ge),yt=>yt.item.data,yt=>{1===yt.operation&&yt.context&&this._renderCellTemplateForItem(yt.record.item.rowDef,yt.context)}),this._updateRowIndexContext(),at.forEachIdentityChange(yt=>{Qe.get(yt.currentIndex).context.$implicit=yt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,A.q)(1),(0,N.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(at){this._customColumnDefs.add(at)}removeColumnDef(at){this._customColumnDefs.delete(at)}addRowDef(at){this._customRowDefs.add(at)}removeRowDef(at){this._customRowDefs.delete(at)}addHeaderRowDef(at){this._customHeaderRowDefs.add(at),this._headerRowDefChanged=!0}removeHeaderRowDef(at){this._customHeaderRowDefs.delete(at),this._headerRowDefChanged=!0}addFooterRowDef(at){this._customFooterRowDefs.add(at),this._footerRowDefChanged=!0}removeFooterRowDef(at){this._customFooterRowDefs.delete(at),this._footerRowDefChanged=!0}setNoDataRow(at){this._customNoDataRow=at}updateStickyHeaderRowStyles(){const at=this._getRenderedRows(this._headerRowOutlet),yt=this._elementRef.nativeElement.querySelector("thead");yt&&(yt.style.display=at.length?"":"none");const U=this._headerRowDefs.map(Ge=>Ge.sticky);this._stickyStyler.clearStickyPositioning(at,["top"]),this._stickyStyler.stickRows(at,U,"top"),this._headerRowDefs.forEach(Ge=>Ge.resetStickyChanged())}updateStickyFooterRowStyles(){const at=this._getRenderedRows(this._footerRowOutlet),yt=this._elementRef.nativeElement.querySelector("tfoot");yt&&(yt.style.display=at.length?"":"none");const U=this._footerRowDefs.map(Ge=>Ge.sticky);this._stickyStyler.clearStickyPositioning(at,["bottom"]),this._stickyStyler.stickRows(at,U,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,U),this._footerRowDefs.forEach(Ge=>Ge.resetStickyChanged())}updateStickyColumnStyles(){const at=this._getRenderedRows(this._headerRowOutlet),Qe=this._getRenderedRows(this._rowOutlet),yt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...at,...Qe,...yt],["left","right"]),this._stickyColumnStylesNeedReset=!1),at.forEach((U,Ge)=>{this._addStickyColumnStyles([U],this._headerRowDefs[Ge])}),this._rowDefs.forEach(U=>{const Ge=[];for(let _t=0;_t{this._addStickyColumnStyles([U],this._footerRowDefs[Ge])}),Array.from(this._columnDefsByName.values()).forEach(U=>U.resetStickyChanged())}_getAllRenderRows(){const at=[],Qe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let yt=0;yt{const _t=yt&&yt.has(Ge)?yt.get(Ge):[];if(_t.length){const Dt=_t.shift();return Dt.dataIndex=Qe,Dt}return{data:at,rowDef:Ge,dataIndex:Qe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),x(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Qe=>{this._columnDefsByName.has(Qe.name),this._columnDefsByName.set(Qe.name,Qe)})}_cacheRowDefs(){this._headerRowDefs=x(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=x(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=x(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const at=this._rowDefs.filter(Qe=>!Qe.when);this._defaultRowDef=at[0]}_renderUpdatedColumns(){const at=(Ge,_t)=>Ge||!!_t.getColumnsDiff(),Qe=this._rowDefs.reduce(at,!1);Qe&&this._forceRenderDataRows();const yt=this._headerRowDefs.reduce(at,!1);yt&&this._forceRenderHeaderRows();const U=this._footerRowDefs.reduce(at,!1);return U&&this._forceRenderFooterRows(),Qe||yt||U}_switchDataSource(at){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),at||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=at}_observeRenderChanges(){if(!this.dataSource)return;let at;(0,g.Z9)(this.dataSource)?at=this.dataSource.connect(this):(0,v.b)(this.dataSource)?at=this.dataSource:Array.isArray(this.dataSource)&&(at=(0,I.of)(this.dataSource)),this._renderChangeSubscription=at.pipe((0,N.R)(this._onDestroy)).subscribe(Qe=>{this._data=Qe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((at,Qe)=>this._renderRow(this._headerRowOutlet,at,Qe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((at,Qe)=>this._renderRow(this._footerRowOutlet,at,Qe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(at,Qe){const yt=Array.from(Qe.columns||[]).map(_t=>this._columnDefsByName.get(_t)),U=yt.map(_t=>_t.sticky),Ge=yt.map(_t=>_t.stickyEnd);this._stickyStyler.updateStickyColumns(at,U,Ge,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(at){const Qe=[];for(let yt=0;yt!U.when||U.when(Qe,at));else{let U=this._rowDefs.find(Ge=>Ge.when&&Ge.when(Qe,at))||this._defaultRowDef;U&&yt.push(U)}return yt}_getEmbeddedViewArgs(at,Qe){return{templateRef:at.rowDef.template,context:{$implicit:at.data},index:Qe}}_renderRow(at,Qe,yt,U={}){const Ge=at.viewContainer.createEmbeddedView(Qe.template,U,yt);return this._renderCellTemplateForItem(Qe,U),Ge}_renderCellTemplateForItem(at,Qe){for(let yt of this._getCellTemplates(at))it.mostRecentCellOutlet&&it.mostRecentCellOutlet._viewContainer.createEmbeddedView(yt,Qe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const at=this._rowOutlet.viewContainer;for(let Qe=0,yt=at.length;Qe{const yt=this._columnDefsByName.get(Qe);return at.extractCellTemplate(yt)}):[]}_applyNativeTableSections(){const at=this._document.createDocumentFragment(),Qe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const yt of Qe){const U=this._document.createElement(yt.tag);U.setAttribute("role","rowgroup");for(const Ge of yt.outlets)U.appendChild(Ge.elementRef.nativeElement);at.appendChild(U)}this._elementRef.nativeElement.appendChild(at)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const at=(Qe,yt)=>Qe||yt.hasStickyChanged();this._headerRowDefs.reduce(at,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(at,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(at,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ae(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,I.of)()).pipe((0,N.R)(this._onDestroy)).subscribe(Qe=>{this._stickyStyler.direction=Qe,this.updateStickyColumnStyles()})}_getOwnDefs(at){return at.filter(Qe=>!Qe._table||Qe._table===this)}_updateNoDataRow(){const at=this._customNoDataRow||this._noDataRow;if(!at)return;const Qe=0===this._rowOutlet.viewContainer.length;if(Qe===this._isShowingNoDataRow)return;const yt=this._noDataRowOutlet.viewContainer;if(Qe){const U=yt.createEmbeddedView(at.templateRef),Ge=U.rootNodes[0];1===U.rootNodes.length&&(null==Ge?void 0:Ge.nodeType)===this._document.ELEMENT_NODE&&(Ge.setAttribute("role","row"),Ge.classList.add(at._contentClassName))}else yt.clear();this._isShowingNoDataRow=Qe}}return $e.\u0275fac=function(at){return new(at||$e)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(q.Is,8),e.Y36(w.K0),e.Y36(j.t4),e.Y36(g.k),e.Y36(ue),e.Y36(G.rL),e.Y36(u,12),e.Y36(e.R0b,8))},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(at,Qe,yt){if(1&at&&(e.Suo(yt,_e,5),e.Suo(yt,Te,5),e.Suo(yt,ne,5),e.Suo(yt,Pe,5),e.Suo(yt,Ze,5)),2&at){let U;e.iGM(U=e.CRH())&&(Qe._noDataRow=U.first),e.iGM(U=e.CRH())&&(Qe._contentColumnDefs=U),e.iGM(U=e.CRH())&&(Qe._contentRowDefs=U),e.iGM(U=e.CRH())&&(Qe._contentHeaderRowDefs=U),e.iGM(U=e.CRH())&&(Qe._contentFooterRowDefs=U)}},viewQuery:function(at,Qe){if(1&at&&(e.Gf(s,7),e.Gf(n,7),e.Gf(t,7),e.Gf(r,7)),2&at){let yt;e.iGM(yt=e.CRH())&&(Qe._rowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._headerRowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._footerRowOutlet=yt.first),e.iGM(yt=e.CRH())&&(Qe._noDataRowOutlet=yt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(at,Qe){2&at&&e.ekj("cdk-table-fixed-layout",Qe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ye,useExisting:$e},{provide:g.k,useClass:g.yy},{provide:ue,useClass:Me},{provide:u,useValue:null}])],ngContentSelectors:he,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Qe){1&at&&(e.F$t(Q),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[n,s,r,t],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})();function x($e,vt){return $e.concat(Array.from(vt))}let jt=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[G.Cl]]}),$e})();var bt=h(90508),Yt=h(56451),Ct=h(39841),Nt=h(54004);const He=[[["caption"]],[["colgroup"],["col"]]],je=["caption","colgroup, col"];let nt=(()=>{class $e extends f{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(at,Qe){2&at&&e.ekj("mat-table-fixed-layout",Qe.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:g.k,useClass:g.yy},{provide:f,useExisting:$e},{provide:ye,useExisting:$e},{provide:ue,useClass:Me},{provide:u,useValue:null}]),e.qOj],ngContentSelectors:je,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Qe){1&at&&(e.F$t(He),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0),e.GkF(3,1),e.GkF(4,2),e.GkF(5,3))},directives:[n,s,r,t],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),$e})(),ct=(()=>{class $e extends R{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:R,useExisting:$e}]),e.qOj]}),$e})(),Rt=(()=>{class $e extends L{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:L,useExisting:$e}]),e.qOj]}),$e})(),Tt=(()=>{class $e extends Te{get name(){return this._name}set name(at){this._setNameInput(at)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:Te,useExisting:$e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:$e}]),e.qOj]}),$e})(),ot=(()=>{class $e extends Se{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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})(),lt=(()=>{class $e extends ge{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[e.qOj]}),$e})(),ut=(()=>{class $e extends Pe{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:Pe,useExisting:$e}]),e.qOj]}),$e})(),Qt=(()=>{class $e extends ne{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:ne,useExisting:$e}]),e.qOj]}),$e})(),ni=(()=>{class $e extends Be{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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:Be,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),gi=(()=>{class $e extends Ue{}return $e.\u0275fac=function(){let vt;return function(Qe){return(vt||(vt=e.n5z($e)))(Qe||$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:Ue,useExisting:$e}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Qe){1&at&&e.GkF(0,0)},directives:[it],encapsulation:2}),$e})(),qi=(()=>{class $e{}return $e.\u0275fac=function(at){return new(at||$e)},$e.\u0275mod=e.oAB({type:$e}),$e.\u0275inj=e.cJS({imports:[[jt,bt.BQ],bt.BQ]}),$e})();class oi extends g.o2{constructor(vt=[]){super(),this._renderData=new E.X([]),this._filter=new E.X(""),this._internalPageChanges=new _.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(at,Qe)=>{const yt=at[Qe];if((0,c.t6)(yt)){const U=Number(yt);return U<9007199254740991?U:yt}return yt},this.sortData=(at,Qe)=>{const yt=Qe.active,U=Qe.direction;return yt&&""!=U?at.sort((Ge,_t)=>{let Dt=this.sortingDataAccessor(Ge,yt),ti=this.sortingDataAccessor(_t,yt);const si=typeof Dt,Ii=typeof ti;si!==Ii&&("number"===si&&(Dt+=""),"number"===Ii&&(ti+=""));let wi=0;return null!=Dt&&null!=ti?Dt>ti?wi=1:Dt{const yt=Object.keys(at).reduce((Ge,_t)=>Ge+at[_t]+"\u25ec","").toLowerCase(),U=Qe.trim().toLowerCase();return-1!=yt.indexOf(U)},this._data=new E.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 at=this._sort?(0,Yt.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),Qe=this._paginator?(0,Yt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),U=(0,Ct.a)([this._data,this._filter]).pipe((0,Nt.U)(([Dt])=>this._filterData(Dt))),Ge=(0,Ct.a)([U,at]).pipe((0,Nt.U)(([Dt])=>this._orderData(Dt))),_t=(0,Ct.a)([Ge,Qe]).pipe((0,Nt.U)(([Dt])=>this._pageData(Dt)));null===(vt=this._renderChangesSubscription)||void 0===vt||vt.unsubscribe(),this._renderChangesSubscription=_t.subscribe(Dt=>this._renderData.next(Dt))}_filterData(vt){return this.filteredData=null==this.filter||""===this.filter?vt:vt.filter(at=>this.filterPredicate(at,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 at=this.paginator.pageIndex*this.paginator.pageSize;return vt.slice(at,at+this.paginator.pageSize)}_updatePaginator(vt){Promise.resolve().then(()=>{const at=this.paginator;if(at&&(at.length=vt,at.pageIndex>0)){const Qe=Math.ceil(at.length/at.pageSize)-1||0,yt=Math.min(at.pageIndex,Qe);yt!==at.pageIndex&&(at.pageIndex=yt,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 Pt extends oi{}},53251:(qe,me,h)=>{"use strict";h.d(me,{uX:()=>O,Vc:()=>Ae,SP:()=>Nt,uD:()=>V,Nh:()=>Rt});var e=h(15664),c=h(17144),g=h(47429),w=h(69808),_=h(5e3),b=h(90508),E=h(76360),v=h(95698),I=h(68675),N=h(71884),A=h(82722),q=h(63900),j=h(35684),G=h(77579),Q=h(50727),he=h(54968),F=h(39646),be=h(56451),pe=h(60515),ye=h(68306),T=h(82805),R=h(41777),L=h(50226),X=h(63191),Y=h(91159),se=h(70925),Te=h(29071);function Oe(mt,Tt){1&mt&&_.Hsn(0)}const Se=["*"];function We(mt,Tt){}const ge=function(mt){return{animationDuration:mt}},Le=function(mt,Tt){return{value:mt,params:Tt}},ue=["tabListContainer"],Me=["tabList"],z=["tabListInner"],P=["nextPaginator"],de=["previousPaginator"],Ce=["tabBodyWrapper"],Pe=["tabHeader"];function ce(mt,Tt){}function fe(mt,Tt){if(1&mt&&_.YNc(0,ce,0,0,"ng-template",10),2&mt){const ot=_.oxw().$implicit;_.Q6J("cdkPortalOutlet",ot.templateLabel)}}function Ze(mt,Tt){if(1&mt&&_._uU(0),2&mt){const ot=_.oxw().$implicit;_.Oqu(ot.textLabel)}}function ne(mt,Tt){if(1&mt){const ot=_.EpF();_.TgZ(0,"div",6),_.NdJ("click",function(){const lt=_.CHM(ot),ut=lt.$implicit,Ht=lt.index,Qt=_.oxw(),ni=_.MAs(1);return Qt._handleClick(ut,ni,Ht)})("cdkFocusChange",function(lt){const Ht=_.CHM(ot).index;return _.oxw()._tabFocusChanged(lt,Ht)}),_.TgZ(1,"div",7),_.YNc(2,fe,1,1,"ng-template",8),_.YNc(3,Ze,1,1,"ng-template",null,9,_.W1O),_.qZA(),_.qZA()}if(2&mt){const ot=Tt.$implicit,rt=Tt.index,lt=_.MAs(4),ut=_.oxw();_.ekj("mat-tab-label-active",ut.selectedIndex===rt),_.Q6J("id",ut._getTabLabelId(rt))("ngClass",ot.labelClass)("disabled",ot.disabled)("matRippleDisabled",ot.disabled||ut.disableRipple),_.uIk("tabIndex",ut._getTabIndex(ot,rt))("aria-posinset",rt+1)("aria-setsize",ut._tabs.length)("aria-controls",ut._getTabContentId(rt))("aria-selected",ut.selectedIndex===rt)("aria-label",ot.ariaLabel||null)("aria-labelledby",!ot.ariaLabel&&ot.ariaLabelledby?ot.ariaLabelledby:null),_.xp6(2),_.Q6J("ngIf",ot.templateLabel)("ngIfElse",lt)}}function it(mt,Tt){if(1&mt){const ot=_.EpF();_.TgZ(0,"mat-tab-body",11),_.NdJ("_onCentered",function(){return _.CHM(ot),_.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(lt){return _.CHM(ot),_.oxw()._setTabBodyWrapperHeight(lt)}),_.qZA()}if(2&mt){const ot=Tt.$implicit,rt=Tt.index,lt=_.oxw();_.ekj("mat-tab-body-active",lt.selectedIndex===rt),_.Q6J("id",lt._getTabContentId(rt))("ngClass",ot.bodyClass)("content",ot.content)("position",ot.position)("origin",ot.origin)("animationDuration",lt.animationDuration),_.uIk("tabindex",null!=lt.contentTabIndex&<.selectedIndex===rt?lt.contentTabIndex:null)("aria-labelledby",lt._getTabLabelId(rt))}}const ze=new _.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ue(){return Tt=>({left:Tt?(Tt.offsetLeft||0)+"px":"0",width:Tt?(Tt.offsetWidth||0)+"px":"0"})}});let _e=(()=>{class mt{constructor(ot,rt,lt,ut){this._elementRef=ot,this._ngZone=rt,this._inkBarPositioner=lt,this._animationMode=ut}alignToElement(ot){this.show(),this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{const rt=this._inkBarPositioner(ot),lt=this._elementRef.nativeElement;lt.style.left=rt.left,lt.style.width=rt.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.R0b),_.Y36(ze),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ot,rt){2&ot&&_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode)}}),mt})();const ae=new _.OlP("MatTabContent");let Ae=(()=>{class mt{constructor(ot){this.template=ot}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.Rgc))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabContent",""]],features:[_._Bn([{provide:ae,useExisting:mt}])]}),mt})();const ee=new _.OlP("MatTabLabel"),Ne=new _.OlP("MAT_TAB");let V=(()=>{class mt extends g.ig{constructor(ot,rt,lt){super(ot,rt),this._closestTab=lt}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.Rgc),_.Y36(_.s_b),_.Y36(Ne,8))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_._Bn([{provide:ee,useExisting:mt}]),_.qOj]}),mt})();const H=(0,b.Id)(class{}),D=new _.OlP("MAT_TAB_GROUP");let O=(()=>{class mt extends H{constructor(ot,rt){super(),this._viewContainerRef=ot,this._closestTabGroup=rt,this.textLabel="",this._contentPortal=null,this._stateChanges=new G.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(ot){this._setTemplateLabelInput(ot)}get content(){return this._contentPortal}ngOnChanges(ot){(ot.hasOwnProperty("textLabel")||ot.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ot){ot&&ot._closestTab===this&&(this._templateLabel=ot)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.s_b),_.Y36(D,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab"]],contentQueries:function(ot,rt,lt){if(1&ot&&(_.Suo(lt,ee,5),_.Suo(lt,ae,7,_.Rgc)),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt.templateLabel=ut.first),_.iGM(ut=_.CRH())&&(rt._explicitContent=ut.first)}},viewQuery:function(ot,rt){if(1&ot&&_.Gf(_.Rgc,7),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._implicitContent=lt.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[_._Bn([{provide:Ne,useExisting:mt}]),_.qOj,_.TTD],ngContentSelectors:Se,decls:1,vars:0,template:function(ot,rt){1&ot&&(_.F$t(),_.YNc(0,Oe,1,0,"ng-template"))},encapsulation:2}),mt})();const i={translateTab:(0,R.X$)("translateTab",[(0,R.SB)("center, void, left-origin-center, right-origin-center",(0,R.oB)({transform:"none"})),(0,R.SB)("left",(0,R.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,R.SB)("right",(0,R.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,R.eR)("* => left, * => right, left => center, right => center",(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,R.eR)("void => left-origin-center",[(0,R.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,R.eR)("void => right-origin-center",[(0,R.oB)({transform:"translate3d(100%, 0, 0)"}),(0,R.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let o=(()=>{class mt extends g.Pl{constructor(ot,rt,lt,ut){super(ot,rt,ut),this._host=lt,this._centeringSub=Q.w0.EMPTY,this._leavingSub=Q.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,I.O)(this._host._isCenterPosition(this._host._position))).subscribe(ot=>{ot&&!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 mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_._Vd),_.Y36(_.s_b),_.Y36((0,_.Gpc)(()=>l)),_.Y36(w.K0))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabBodyHost",""]],features:[_.qOj]}),mt})(),u=(()=>{class mt{constructor(ot,rt,lt){this._elementRef=ot,this._dir=rt,this._dirChangeSubscription=Q.w0.EMPTY,this._translateTabComplete=new G.x,this._onCentering=new _.vpe,this._beforeCentering=new _.vpe,this._afterLeavingCenter=new _.vpe,this._onCentered=new _.vpe(!0),this.animationDuration="500ms",rt&&(this._dirChangeSubscription=rt.change.subscribe(ut=>{this._computePositionAnimationState(ut),lt.markForCheck()})),this._translateTabComplete.pipe((0,N.x)((ut,Ht)=>ut.fromState===Ht.fromState&&ut.toState===Ht.toState)).subscribe(ut=>{this._isCenterPosition(ut.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ut.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(ot){this._positionIndex=ot,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ot){const rt=this._isCenterPosition(ot.toState);this._beforeCentering.emit(rt),rt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ot){return"center"==ot||"left-origin-center"==ot||"right-origin-center"==ot}_computePositionAnimationState(ot=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ot?"left":"right":this._positionIndex>0?"ltr"==ot?"right":"left":"center"}_computePositionFromOrigin(ot){const rt=this._getLayoutDirection();return"ltr"==rt&&ot<=0||"rtl"==rt&&ot>0?"left-origin-center":"right-origin-center"}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(L.Is,8),_.Y36(_.sBO))},mt.\u0275dir=_.lG2({type:mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),mt})(),l=(()=>{class mt extends u{constructor(ot,rt,lt){super(ot,rt,lt)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(L.Is,8),_.Y36(_.sBO))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-body"]],viewQuery:function(ot,rt){if(1&ot&&_.Gf(g.Pl,5),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._portalHost=lt.first)}},hostAttrs:[1,"mat-tab-body"],features:[_.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ot,rt){1&ot&&(_.TgZ(0,"div",0,1),_.NdJ("@translateTab.start",function(ut){return rt._onTranslateTabStarted(ut)})("@translateTab.done",function(ut){return rt._translateTabComplete.next(ut)}),_.YNc(2,We,0,0,"ng-template",2),_.qZA()),2&ot&&_.Q6J("@translateTab",_.WLB(3,Le,rt._position,_.VKq(1,ge,rt.animationDuration)))},directives:[o],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[i.translateTab]}}),mt})();const s=new _.OlP("MAT_TABS_CONFIG"),n=(0,b.Id)(class{});let t=(()=>{class mt extends n{constructor(ot){super(),this.elementRef=ot}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq))},mt.\u0275dir=_.lG2({type:mt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ot,rt){2&ot&&(_.uIk("aria-disabled",!!rt.disabled),_.ekj("mat-tab-disabled",rt.disabled))},inputs:{disabled:"disabled"},features:[_.qOj]}),mt})();const r=(0,se.i$)({passive:!0});let x=(()=>{class mt{constructor(ot,rt,lt,ut,Ht,Qt,ni){this._elementRef=ot,this._changeDetectorRef=rt,this._viewportRuler=lt,this._dir=ut,this._ngZone=Ht,this._platform=Qt,this._animationMode=ni,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new G.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new G.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new _.vpe,this.indexFocused=new _.vpe,Ht.runOutsideAngular(()=>{(0,he.R)(ot.nativeElement,"mouseleave").pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(ot){ot=(0,X.su)(ot),this._selectedIndex!=ot&&(this._selectedIndexChanged=!0,this._selectedIndex=ot,this._keyManager&&this._keyManager.updateActiveItem(ot))}ngAfterViewInit(){(0,he.R)(this._previousPaginator.nativeElement,"touchstart",r).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,he.R)(this._nextPaginator.nativeElement,"touchstart",r).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ot=this._dir?this._dir.change:(0,F.of)("ltr"),rt=this._viewportRuler.change(150),lt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(lt),(0,be.T)(ot,rt,this._items.changes,this._itemsResized()).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),lt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,A.R)(this._destroyed)).subscribe(ut=>{this.indexFocused.emit(ut),this._setTabFocus(ut)})}_itemsResized(){return"function"!=typeof ResizeObserver?pe.E:this._items.changes.pipe((0,I.O)(this._items),(0,q.w)(ot=>new ye.y(rt=>this._ngZone.runOutsideAngular(()=>{const lt=new ResizeObserver(()=>{rt.next()});return ot.forEach(ut=>{lt.observe(ut.elementRef.nativeElement)}),()=>{lt.disconnect()}}))),(0,j.T)(1))}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(ot){if(!(0,Y.Vb)(ot))switch(ot.keyCode){case Y.K5:case Y.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ot));break;default:this._keyManager.onKeydown(ot)}}_onContentChanges(){const ot=this._elementRef.nativeElement.textContent;ot!==this._currentTextContent&&(this._currentTextContent=ot||"",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(ot){!this._isValidIndex(ot)||this.focusIndex===ot||!this._keyManager||this._keyManager.setActiveItem(ot)}_isValidIndex(ot){if(!this._items)return!0;const rt=this._items?this._items.toArray()[ot]:null;return!!rt&&!rt.disabled}_setTabFocus(ot){if(this._showPaginationControls&&this._scrollToLabel(ot),this._items&&this._items.length){this._items.toArray()[ot].focus();const rt=this._tabListContainer.nativeElement;rt.scrollLeft="ltr"==this._getLayoutDirection()?0:rt.scrollWidth-rt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ot=this.scrollDistance,rt="ltr"===this._getLayoutDirection()?-ot:ot;this._tabList.nativeElement.style.transform=`translateX(${Math.round(rt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ot){this._scrollTo(ot)}_scrollHeader(ot){return this._scrollTo(this._scrollDistance+("before"==ot?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ot){this._stopInterval(),this._scrollHeader(ot)}_scrollToLabel(ot){if(this.disablePagination)return;const rt=this._items?this._items.toArray()[ot]:null;if(!rt)return;const lt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ut,offsetWidth:Ht}=rt.elementRef.nativeElement;let Qt,ni;"ltr"==this._getLayoutDirection()?(Qt=ut,ni=Qt+Ht):(ni=this._tabListInner.nativeElement.offsetWidth-ut,Qt=ni-Ht);const hi=this.scrollDistance,gi=this.scrollDistance+lt;Qtgi&&(this.scrollDistance+=ni-gi+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ot=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ot||(this.scrollDistance=0),ot!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ot}}_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 ot=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,rt=ot?ot.elementRef.nativeElement:null;rt?this._inkBar.alignToElement(rt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ot,rt){rt&&null!=rt.button&&0!==rt.button||(this._stopInterval(),(0,T.H)(650,100).pipe((0,A.R)((0,be.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:lt,distance:ut}=this._scrollHeader(ot);(0===ut||ut>=lt)&&this._stopInterval()}))}_scrollTo(ot){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const rt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(rt,ot)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:rt,distance:this._scrollDistance}}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,inputs:{disablePagination:"disablePagination"}}),mt})(),Ye=(()=>{class mt extends x{constructor(ot,rt,lt,ut,Ht,Qt,ni){super(ot,rt,lt,ut,Ht,Qt,ni),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ot){this._disableRipple=(0,X.Ig)(ot)}_itemSelected(ot){ot.preventDefault()}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,inputs:{disableRipple:"disableRipple"},features:[_.qOj]}),mt})(),It=(()=>{class mt extends Ye{constructor(ot,rt,lt,ut,Ht,Qt,ni){super(ot,rt,lt,ut,Ht,Qt,ni)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(Te.rL),_.Y36(L.Is,8),_.Y36(_.R0b),_.Y36(se.t4),_.Y36(E.Qb,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-header"]],contentQueries:function(ot,rt,lt){if(1&ot&&_.Suo(lt,t,4),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt._items=ut)}},viewQuery:function(ot,rt){if(1&ot&&(_.Gf(_e,7),_.Gf(ue,7),_.Gf(Me,7),_.Gf(z,7),_.Gf(P,5),_.Gf(de,5)),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._inkBar=lt.first),_.iGM(lt=_.CRH())&&(rt._tabListContainer=lt.first),_.iGM(lt=_.CRH())&&(rt._tabList=lt.first),_.iGM(lt=_.CRH())&&(rt._tabListInner=lt.first),_.iGM(lt=_.CRH())&&(rt._nextPaginator=lt.first),_.iGM(lt=_.CRH())&&(rt._previousPaginator=lt.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ot,rt){2&ot&&_.ekj("mat-tab-header-pagination-controls-enabled",rt._showPaginationControls)("mat-tab-header-rtl","rtl"==rt._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[_.qOj],ngContentSelectors:Se,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ot,rt){1&ot&&(_.F$t(),_.TgZ(0,"button",0,1),_.NdJ("click",function(){return rt._handlePaginatorClick("before")})("mousedown",function(ut){return rt._handlePaginatorPress("before",ut)})("touchend",function(){return rt._stopInterval()}),_._UZ(2,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.NdJ("keydown",function(ut){return rt._handleKeydown(ut)}),_.TgZ(5,"div",5,6),_.NdJ("cdkObserveContent",function(){return rt._onContentChanges()}),_.TgZ(7,"div",7,8),_.Hsn(9),_.qZA(),_._UZ(10,"mat-ink-bar"),_.qZA(),_.qZA(),_.TgZ(11,"button",9,10),_.NdJ("mousedown",function(ut){return rt._handlePaginatorPress("after",ut)})("click",function(){return rt._handlePaginatorClick("after")})("touchend",function(){return rt._stopInterval()}),_._UZ(13,"div",2),_.qZA()),2&ot&&(_.ekj("mat-tab-header-pagination-disabled",rt._disableScrollBefore),_.Q6J("matRippleDisabled",rt._disableScrollBefore||rt.disableRipple)("disabled",rt._disableScrollBefore||null),_.xp6(5),_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode),_.xp6(6),_.ekj("mat-tab-header-pagination-disabled",rt._disableScrollAfter),_.Q6J("matRippleDisabled",rt._disableScrollAfter||rt.disableRipple)("disabled",rt._disableScrollAfter||null))},directives:[b.wG,c.wD,_e],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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}),mt})(),jt=0;class bt{}const Yt=(0,b.pj)((0,b.Kr)(class{constructor(mt){this._elementRef=mt}}),"primary");let Ct=(()=>{class mt extends Yt{constructor(ot,rt,lt,ut){var Ht;super(ot),this._changeDetectorRef=rt,this._animationMode=ut,this._tabs=new _.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Q.w0.EMPTY,this._tabLabelSubscription=Q.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new _.vpe,this.focusChange=new _.vpe,this.animationDone=new _.vpe,this.selectedTabChange=new _.vpe(!0),this._groupId=jt++,this.animationDuration=lt&<.animationDuration?lt.animationDuration:"500ms",this.disablePagination=!(!lt||null==lt.disablePagination)&<.disablePagination,this.dynamicHeight=!(!lt||null==lt.dynamicHeight)&<.dynamicHeight,this.contentTabIndex=null!==(Ht=null==lt?void 0:lt.contentTabIndex)&&void 0!==Ht?Ht:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ot){this._dynamicHeight=(0,X.Ig)(ot)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ot){this._indexToSelect=(0,X.su)(ot,null)}get animationDuration(){return this._animationDuration}set animationDuration(ot){this._animationDuration=/^\d+$/.test(ot+"")?ot+"ms":ot}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ot){this._contentTabIndex=(0,X.su)(ot,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ot){const rt=this._elementRef.nativeElement;rt.classList.remove(`mat-background-${this.backgroundColor}`),ot&&rt.classList.add(`mat-background-${ot}`),this._backgroundColor=ot}ngAfterContentChecked(){const ot=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ot){const rt=null==this._selectedIndex;if(!rt){this.selectedTabChange.emit(this._createChangeEvent(ot));const lt=this._tabBodyWrapper.nativeElement;lt.style.minHeight=lt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((lt,ut)=>lt.isActive=ut===ot),rt||(this.selectedIndexChange.emit(ot),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((rt,lt)=>{rt.position=lt-ot,null!=this._selectedIndex&&0==rt.position&&!rt.origin&&(rt.origin=ot-this._selectedIndex)}),this._selectedIndex!==ot&&(this._selectedIndex=ot,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ot=this._clampTabIndex(this._indexToSelect);if(ot===this._selectedIndex){const rt=this._tabs.toArray();let lt;for(let ut=0;ut{rt[ot].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ot))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,I.O)(this._allTabs)).subscribe(ot=>{this._tabs.reset(ot.filter(rt=>rt._closestTabGroup===this||!rt._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(ot){const rt=this._tabHeader;rt&&(rt.focusIndex=ot)}_focusChanged(ot){this._lastFocusedTabIndex=ot,this.focusChange.emit(this._createChangeEvent(ot))}_createChangeEvent(ot){const rt=new bt;return rt.index=ot,this._tabs&&this._tabs.length&&(rt.tab=this._tabs.toArray()[ot]),rt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,be.T)(...this._tabs.map(ot=>ot._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ot){return Math.min(this._tabs.length-1,Math.max(ot||0,0))}_getTabLabelId(ot){return`mat-tab-label-${this._groupId}-${ot}`}_getTabContentId(ot){return`mat-tab-content-${this._groupId}-${ot}`}_setTabBodyWrapperHeight(ot){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const rt=this._tabBodyWrapper.nativeElement;rt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(rt.style.height=ot+"px")}_removeTabBodyWrapperHeight(){const ot=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ot.clientHeight,ot.style.height="",this.animationDone.emit()}_handleClick(ot,rt,lt){ot.disabled||(this.selectedIndex=rt.focusIndex=lt)}_getTabIndex(ot,rt){var lt;return ot.disabled?null:rt===(null!==(lt=this._lastFocusedTabIndex)&&void 0!==lt?lt:this.selectedIndex)?0:-1}_tabFocusChanged(ot,rt){ot&&"mouse"!==ot&&"touch"!==ot&&(this._tabHeader.focusIndex=rt)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(s,8),_.Y36(E.Qb,8))},mt.\u0275dir=_.lG2({type:mt,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:[_.qOj]}),mt})(),Nt=(()=>{class mt extends Ct{constructor(ot,rt,lt,ut){super(ot,rt,lt,ut)}}return mt.\u0275fac=function(ot){return new(ot||mt)(_.Y36(_.SBq),_.Y36(_.sBO),_.Y36(s,8),_.Y36(E.Qb,8))},mt.\u0275cmp=_.Xpm({type:mt,selectors:[["mat-tab-group"]],contentQueries:function(ot,rt,lt){if(1&ot&&_.Suo(lt,O,5),2&ot){let ut;_.iGM(ut=_.CRH())&&(rt._allTabs=ut)}},viewQuery:function(ot,rt){if(1&ot&&(_.Gf(Ce,5),_.Gf(Pe,5)),2&ot){let lt;_.iGM(lt=_.CRH())&&(rt._tabBodyWrapper=lt.first),_.iGM(lt=_.CRH())&&(rt._tabHeader=lt.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(ot,rt){2&ot&&_.ekj("mat-tab-group-dynamic-height",rt.dynamicHeight)("mat-tab-group-inverted-header","below"===rt.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[_._Bn([{provide:D,useExisting:mt}]),_.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(ot,rt){1&ot&&(_.TgZ(0,"mat-tab-header",0,1),_.NdJ("indexFocused",function(ut){return rt._focusChanged(ut)})("selectFocusedIndex",function(ut){return rt.selectedIndex=ut}),_.YNc(2,ne,5,15,"div",2),_.qZA(),_.TgZ(3,"div",3,4),_.YNc(5,it,1,10,"mat-tab-body",5),_.qZA()),2&ot&&(_.Q6J("selectedIndex",rt.selectedIndex||0)("disableRipple",rt.disableRipple)("disablePagination",rt.disablePagination),_.xp6(2),_.Q6J("ngForOf",rt._tabs),_.xp6(1),_.ekj("_mat-animation-noopable","NoopAnimations"===rt._animationMode),_.xp6(2),_.Q6J("ngForOf",rt._tabs))},directives:[It,l,w.sg,t,b.wG,e.kH,w.mk,w.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}),mt})(),Rt=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=_.oAB({type:mt}),mt.\u0275inj=_.cJS({imports:[[w.ez,b.BQ,g.eL,b.si,c.Q8,e.rt],b.BQ]}),mt})()},29772:(qe,me,h)=>{"use strict";h.d(me,{gM:()=>ze,AV:()=>ae});var e=h(91314),c=h(15664),g=h(69808),w=h(5e3),_=h(90508),b=h(29071),E=h(63191),v=h(91159),I=h(77579),N=h(39841),A=h(97272),q=h(68306),j=h(95698),G=h(35684),Q=h(78372),he=h(54004),F=h(68675),be=h(82722),pe=h(70925);const T=new Set;let R,L=(()=>{class ee{constructor(V){this._platform=V,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Y}matchMedia(V){return(this._platform.WEBKIT||this._platform.BLINK)&&function X(ee){if(!T.has(ee))try{R||(R=document.createElement("style"),R.setAttribute("type","text/css"),document.head.appendChild(R)),R.sheet&&(R.sheet.insertRule(`@media ${ee} {body{ }}`,0),T.add(ee))}catch(Ne){console.error(Ne)}}(V),this._matchMedia(V)}}return ee.\u0275fac=function(V){return new(V||ee)(w.LFG(pe.t4))},ee.\u0275prov=w.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function Y(ee){return{matches:"all"===ee||""===ee,media:ee,addListener:()=>{},removeListener:()=>{}}}let se=(()=>{class ee{constructor(V,H){this._mediaMatcher=V,this._zone=H,this._queries=new Map,this._destroySubject=new I.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(V){return Te((0,E.Eq)(V)).some(D=>this._registerQuery(D).mql.matches)}observe(V){const D=Te((0,E.Eq)(V)).map(i=>this._registerQuery(i).observable);let O=(0,N.a)(D);return O=(0,A.z)(O.pipe((0,j.q)(1)),O.pipe((0,G.T)(1),(0,Q.b)(0))),O.pipe((0,he.U)(i=>{const o={matches:!1,breakpoints:{}};return i.forEach(({matches:u,query:l})=>{o.matches=o.matches||u,o.breakpoints[l]=u}),o}))}_registerQuery(V){if(this._queries.has(V))return this._queries.get(V);const H=this._mediaMatcher.matchMedia(V),O={observable:new q.y(i=>{const o=u=>this._zone.run(()=>i.next(u));return H.addListener(o),()=>{H.removeListener(o)}}).pipe((0,F.O)(H),(0,he.U)(({matches:i})=>({query:V,matches:i})),(0,be.R)(this._destroySubject)),mql:H};return this._queries.set(V,O),O}}return ee.\u0275fac=function(V){return new(V||ee)(w.LFG(L),w.LFG(w.R0b))},ee.\u0275prov=w.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();function Te(ee){return ee.map(Ne=>Ne.split(",")).reduce((Ne,V)=>Ne.concat(V)).map(Ne=>Ne.trim())}var Se=h(47429),We=h(76360),ge=h(50226);h(41777);const ue=["tooltip"],P="tooltip-panel",de=(0,pe.i$)({passive:!0}),ce=new w.OlP("mat-tooltip-scroll-strategy"),Ze={provide:ce,deps:[e.aV],useFactory:function fe(ee){return()=>ee.scrollStrategies.reposition({scrollThrottle:20})}},ne=new w.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function it(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Be=(()=>{class ee{constructor(V,H,D,O,i,o,u,l,s,n,t,r){this._overlay=V,this._elementRef=H,this._scrollDispatcher=D,this._viewContainerRef=O,this._ngZone=i,this._platform=o,this._ariaDescriber=u,this._focusMonitor=l,this._dir=n,this._defaultOptions=t,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 I.x,this._scrollStrategy=s,this._document=r,t&&(t.position&&(this.position=t.position),t.touchGestures&&(this.touchGestures=t.touchGestures)),n.change.pipe((0,be.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(V){var H;V!==this._position&&(this._position=V,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(H=this._tooltipInstance)||void 0===H||H.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(V){this._disabled=(0,E.Ig)(V),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(V){this._showDelay=(0,E.su)(V)}get hideDelay(){return this._hideDelay}set hideDelay(V){this._hideDelay=(0,E.su)(V),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(V){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=V?String(V).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(V){this._tooltipClass=V,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,be.R)(this._destroyed)).subscribe(V=>{V?"keyboard"===V&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const V=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([H,D])=>{V.removeEventListener(H,D,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(V,this.message,"tooltip"),this._focusMonitor.stopMonitoring(V)}show(V=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const H=this._createOverlay();this._detach(),this._portal=this._portal||new Se.C5(this._tooltipComponent,this._viewContainerRef);const D=this._tooltipInstance=H.attach(this._portal).instance;D._triggerElement=this._elementRef.nativeElement,D._mouseLeaveHideDelay=this._hideDelay,D.afterHidden().pipe((0,be.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),D.show(V)}hide(V=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(V)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var V;if(this._overlayRef)return this._overlayRef;const H=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),D=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(H);return D.positionChanges.pipe((0,be.R)(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:D,panelClass:`${this._cssClassPrefix}-${P}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,be.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,be.R)(this._destroyed)).subscribe(()=>{var O;return null===(O=this._tooltipInstance)||void 0===O?void 0:O._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,be.R)(this._destroyed)).subscribe(O=>{this._isTooltipVisible()&&O.keyCode===v.hY&&!(0,v.Vb)(O)&&(O.preventDefault(),O.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(V=this._defaultOptions)||void 0===V?void 0:V.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(V){const H=V.getConfig().positionStrategy,D=this._getOrigin(),O=this._getOverlayPosition();H.withPositions([this._addOffset(Object.assign(Object.assign({},D.main),O.main)),this._addOffset(Object.assign(Object.assign({},D.fallback),O.fallback))])}_addOffset(V){return V}_getOrigin(){const V=!this._dir||"ltr"==this._dir.value,H=this.position;let D;"above"==H||"below"==H?D={originX:"center",originY:"above"==H?"top":"bottom"}:"before"==H||"left"==H&&V||"right"==H&&!V?D={originX:"start",originY:"center"}:("after"==H||"right"==H&&V||"left"==H&&!V)&&(D={originX:"end",originY:"center"});const{x:O,y:i}=this._invertPosition(D.originX,D.originY);return{main:D,fallback:{originX:O,originY:i}}}_getOverlayPosition(){const V=!this._dir||"ltr"==this._dir.value,H=this.position;let D;"above"==H?D={overlayX:"center",overlayY:"bottom"}:"below"==H?D={overlayX:"center",overlayY:"top"}:"before"==H||"left"==H&&V||"right"==H&&!V?D={overlayX:"end",overlayY:"center"}:("after"==H||"right"==H&&V||"left"==H&&!V)&&(D={overlayX:"start",overlayY:"center"});const{x:O,y:i}=this._invertPosition(D.overlayX,D.overlayY);return{main:D,fallback:{overlayX:O,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,j.q)(1),(0,be.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(V){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=V,this._tooltipInstance._markForCheck())}_invertPosition(V,H){return"above"===this.position||"below"===this.position?"top"===H?H="bottom":"bottom"===H&&(H="top"):"end"===V?V="start":"start"===V&&(V="end"),{x:V,y:H}}_updateCurrentPositionClass(V){const{overlayY:H,originX:D,originY:O}=V;let i;if(i="center"===H?this._dir&&"rtl"===this._dir.value?"end"===D?"left":"right":"start"===D?"left":"right":"bottom"===H&&"top"===O?"above":"below",i!==this._currentPosition){const o=this._overlayRef;if(o){const u=`${this._cssClassPrefix}-${P}-`;o.removePanelClass(u+this._currentPosition),o.addPanelClass(u+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 V=[];if(this._platformSupportsMouseEvents())V.push(["mouseleave",H=>{var D;const O=H.relatedTarget;(!O||!(null===(D=this._overlayRef)||void 0===D?void 0:D.overlayElement.contains(O)))&&this.hide()}],["wheel",H=>this._wheelListener(H)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const H=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};V.push(["touchend",H],["touchcancel",H])}this._addListeners(V),this._passiveListeners.push(...V)}_addListeners(V){V.forEach(([H,D])=>{this._elementRef.nativeElement.addEventListener(H,D,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(V){if(this._isTooltipVisible()){const H=this._document.elementFromPoint(V.clientX,V.clientY),D=this._elementRef.nativeElement;H!==D&&!D.contains(H)&&this.hide()}}_disableNativeGesturesIfNecessary(){const V=this.touchGestures;if("off"!==V){const H=this._elementRef.nativeElement,D=H.style;("on"===V||"INPUT"!==H.nodeName&&"TEXTAREA"!==H.nodeName)&&(D.userSelect=D.msUserSelect=D.webkitUserSelect=D.MozUserSelect="none"),("on"===V||!H.draggable)&&(D.webkitUserDrag="none"),D.touchAction="none",D.webkitTapHighlightColor="transparent"}}}return ee.\u0275fac=function(V){w.$Z()},ee.\u0275dir=w.lG2({type:ee,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ee})(),ze=(()=>{class ee extends Be{constructor(V,H,D,O,i,o,u,l,s,n,t,r){super(V,H,D,O,i,o,u,l,s,n,t,r),this._tooltipComponent=_e}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(e.aV),w.Y36(w.SBq),w.Y36(b.mF),w.Y36(w.s_b),w.Y36(w.R0b),w.Y36(pe.t4),w.Y36(c.$s),w.Y36(c.tE),w.Y36(ce),w.Y36(ge.Is,8),w.Y36(ne,8),w.Y36(g.K0))},ee.\u0275dir=w.lG2({type:ee,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[w.qOj]}),ee})(),Ue=(()=>{class ee{constructor(V,H){this._changeDetectorRef=V,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new I.x,this._animationsDisabled="NoopAnimations"===H}show(V){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},V)}hide(V){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},V)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:V}){(!V||!this._triggerElement.contains(V))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:V}){(V===this._showAnimation||V===this._hideAnimation)&&this._finalizeAnimation(V===this._showAnimation)}_finalizeAnimation(V){V?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(V){const H=this._tooltip.nativeElement,D=this._showAnimation,O=this._hideAnimation;if(H.classList.remove(V?O:D),H.classList.add(V?D:O),this._isVisible=V,V&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const i=getComputedStyle(H);("0s"===i.getPropertyValue("animation-duration")||"none"===i.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}V&&this._onShow(),this._animationsDisabled&&(H.classList.add("_mat-animation-noopable"),this._finalizeAnimation(V))}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(w.sBO),w.Y36(We.Qb,8))},ee.\u0275dir=w.lG2({type:ee}),ee})(),_e=(()=>{class ee extends Ue{constructor(V,H,D){super(V,D),this._breakpointObserver=H,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return ee.\u0275fac=function(V){return new(V||ee)(w.Y36(w.sBO),w.Y36(se),w.Y36(We.Qb,8))},ee.\u0275cmp=w.Xpm({type:ee,selectors:[["mat-tooltip-component"]],viewQuery:function(V,H){if(1&V&&w.Gf(ue,7),2&V){let D;w.iGM(D=w.CRH())&&(H._tooltip=D.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(V,H){1&V&&w.NdJ("mouseleave",function(O){return H._handleMouseLeave(O)}),2&V&&w.Udp("zoom",H.isVisible()?1:null)},features:[w.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(V,H){if(1&V&&(w.TgZ(0,"div",0,1),w.NdJ("animationend",function(O){return H._handleAnimationEnd(O)}),w.ALo(2,"async"),w._uU(3),w.qZA()),2&V){let D;w.ekj("mat-tooltip-handset",null==(D=w.lcZ(2,4,H._isHandset))?null:D.matches),w.Q6J("ngClass",H.tooltipClass),w.xp6(3),w.Oqu(H.message)}},directives:[g.mk],pipes:[g.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),ee})(),ae=(()=>{class ee{}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=w.oAB({type:ee}),ee.\u0275inj=w.cJS({providers:[Ze],imports:[[c.rt,g.ez,e.U8,_.BQ],_.BQ,b.ZD]}),ee})()},90149:(qe,me,h)=>{"use strict";h.d(me,{GZ:()=>j,gi:()=>he,kc:()=>T,JZ:()=>ye,dp:()=>pe,WX:()=>R,uo:()=>A,fQ:()=>q,Ar:()=>Q,eu:()=>F});var e=h(28258),c=h(5e3),g=h(90508),w=h(63191),_=h(20449),b=h(61135),E=h(56451),v=h(95698),I=h(54004);const N=(0,g.sb)((0,g.Id)(e.Hs));let A=(()=>{class L extends N{constructor(Y,se,Te){super(Y,se),this.tabIndex=Number(Te)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(e._0),c.$8M("tabindex"))},L.\u0275dir=c.lG2({type:L,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[c._Bn([{provide:e.Hs,useExisting:L}]),c.qOj]}),L})(),q=(()=>{class L extends e.rO{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[c._Bn([{provide:e.rO,useExisting:L}]),c.qOj]}),L})(),j=(()=>{class L extends e.Xx{constructor(Y,se,Te,Oe){super(Y,se,Te),this._disabled=!1,this.tabIndex=Number(Oe)||0}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,w.Ig)(Y)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Y){this._tabIndex=null!=Y?Y:0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.SBq),c.Y36(e._0),c.Y36(c.ZZ4),c.$8M("tabindex"))},L.\u0275dir=c.lG2({type:L,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[c._Bn([{provide:e.Xx,useExisting:L},{provide:e.Hs,useExisting:L},{provide:e.HI,useExisting:L}]),c.qOj]}),L})(),Q=(()=>{class L{constructor(Y,se){this.viewContainer=Y,this._node=se}}return L.\u0275fac=function(Y){return new(Y||L)(c.Y36(c.s_b),c.Y36(e.HI,8))},L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeOutlet",""]],features:[c._Bn([{provide:e.cu,useExisting:L}])]}),L})(),he=(()=>{class L extends e._0{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275cmp=c.Xpm({type:L,selectors:[["mat-tree"]],viewQuery:function(Y,se){if(1&Y&&c.Gf(Q,7),2&Y){let Te;c.iGM(Te=c.CRH())&&(se._nodeOutlet=Te.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[c._Bn([{provide:e._0,useExisting:L}]),c.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(Y,se){1&Y&&c.GkF(0,0)},directives:[Q],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}),L})(),F=(()=>{class L extends e.Ud{}return L.\u0275fac=function(){let X;return function(se){return(X||(X=c.n5z(L)))(se||L)}}(),L.\u0275dir=c.lG2({type:L,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[c._Bn([{provide:e.Ud,useExisting:L}]),c.qOj]}),L})(),pe=(()=>{class L{}return L.\u0275fac=function(Y){return new(Y||L)},L.\u0275mod=c.oAB({type:L}),L.\u0275inj=c.cJS({imports:[[e.nZ,g.BQ],g.BQ]}),L})();class ye{constructor(X,Y,se,Te){this.transformFunction=X,this.getLevel=Y,this.isExpandable=se,this.getChildren=Te}_flattenNode(X,Y,se,Te){const Oe=this.transformFunction(X,Y);if(se.push(Oe),this.isExpandable(Oe)){const Se=this.getChildren(X);Se&&(Array.isArray(Se)?this._flattenChildren(Se,Y,se,Te):Se.pipe((0,v.q)(1)).subscribe(We=>{this._flattenChildren(We,Y,se,Te)}))}return se}_flattenChildren(X,Y,se,Te){X.forEach((Oe,Se)=>{let We=Te.slice();We.push(Se!=X.length-1),this._flattenNode(Oe,Y+1,se,We)})}flattenNodes(X){let Y=[];return X.forEach(se=>this._flattenNode(se,0,Y,[])),Y}expandFlattenedNodes(X,Y){let se=[],Te=[];return Te[0]=!0,X.forEach(Oe=>{let Se=!0;for(let We=0;We<=this.getLevel(Oe);We++)Se=Se&&Te[We];Se&&se.push(Oe),this.isExpandable(Oe)&&(Te[this.getLevel(Oe)+1]=Y.isExpanded(Oe))}),se}}class T extends _.o2{constructor(X,Y,se){super(),this._treeControl=X,this._treeFlattener=Y,this._flattenedData=new b.X([]),this._expandedData=new b.X([]),this._data=new b.X([]),se&&(this.data=se)}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,E.T)(X.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe((0,I.U)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}class R extends _.o2{constructor(){super(...arguments),this._data=new b.X([])}get data(){return this._data.value}set data(X){this._data.next(X)}connect(X){return(0,E.T)(X.viewChange,this._data).pipe((0,I.U)(()=>this.data))}disconnect(){}}},76360:(qe,me,h)=>{"use strict";h.d(me,{Qb:()=>Gn,PW:()=>dn});var e=h(5e3),c=h(22313),g=h(41777);function w(){return"undefined"!=typeof window&&void 0!==window.document}function _(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function b(gt){switch(gt.length){case 0:return new g.ZN;case 1:return gt[0];default:return new g.ZE(gt)}}function E(gt,k,W,Re,pt={},Et={}){const te=[],Ie=[];let le=-1,et=null;if(Re.forEach(xt=>{const zt=xt.offset,Jt=zt==le,ai=Jt&&et||{};Object.keys(xt).forEach(ui=>{let fi=ui,Ai=xt[ui];if("offset"!==ui)switch(fi=k.normalizePropertyName(fi,te),Ai){case g.k1:Ai=pt[ui];break;case g.l3:Ai=Et[ui];break;default:Ai=k.normalizeStyleValue(ui,fi,Ai,te)}ai[fi]=Ai}),Jt||Ie.push(ai),et=ai,le=zt}),te.length){const xt="\n - ";throw new Error(`Unable to animate due to the following errors:${xt}${te.join(xt)}`)}return Ie}function v(gt,k,W,Re){switch(k){case"start":gt.onStart(()=>Re(W&&I(W,"start",gt)));break;case"done":gt.onDone(()=>Re(W&&I(W,"done",gt)));break;case"destroy":gt.onDestroy(()=>Re(W&&I(W,"destroy",gt)))}}function I(gt,k,W){const Re=W.totalTime,Et=N(gt.element,gt.triggerName,gt.fromState,gt.toState,k||gt.phaseName,null==Re?gt.totalTime:Re,!!W.disabled),te=gt._data;return null!=te&&(Et._data=te),Et}function N(gt,k,W,Re,pt="",Et=0,te){return{element:gt,triggerName:k,fromState:W,toState:Re,phaseName:pt,totalTime:Et,disabled:!!te}}function A(gt,k,W){let Re;return gt instanceof Map?(Re=gt.get(k),Re||gt.set(k,Re=W)):(Re=gt[k],Re||(Re=gt[k]=W)),Re}function q(gt){const k=gt.indexOf(":");return[gt.substring(1,k),gt.substr(k+1)]}let j=(gt,k)=>!1,G=(gt,k,W)=>[];(_()||"undefined"!=typeof Element)&&(j=w()?(gt,k)=>{for(;k&&k!==document.documentElement;){if(k===gt)return!0;k=k.parentNode||k.host}return!1}:(gt,k)=>gt.contains(k),G=(gt,k,W)=>{if(W)return Array.from(gt.querySelectorAll(k));const Re=gt.querySelector(k);return Re?[Re]:[]});let F=null,be=!1;function pe(gt){F||(F=function ye(){return"undefined"!=typeof document?document.body:null}()||{},be=!!F.style&&"WebkitAppearance"in F.style);let k=!0;return F.style&&!function he(gt){return"ebkit"==gt.substring(1,6)}(gt)&&(k=gt in F.style,!k&&be&&(k="Webkit"+gt.charAt(0).toUpperCase()+gt.substr(1)in F.style)),k}const T=j,R=G;let X=(()=>{class gt{validateStyleProperty(W){return pe(W)}matchesElement(W,Re){return!1}containsElement(W,Re){return T(W,Re)}query(W,Re,pt){return R(W,Re,pt)}computeStyle(W,Re,pt){return pt||""}animate(W,Re,pt,Et,te,Ie=[],le){return new g.ZN(pt,Et)}}return gt.\u0275fac=function(W){return new(W||gt)},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})(),Y=(()=>{class gt{}return gt.NOOP=new X,gt})();const Se="ng-enter",We="ng-leave",ge="ng-trigger",Le=".ng-trigger",ue="ng-animating",Me=".ng-animating";function z(gt){if("number"==typeof gt)return gt;const k=gt.match(/^(-?[\.\d]+)(m?s)/);return!k||k.length<2?0:P(parseFloat(k[1]),k[2])}function P(gt,k){return"s"===k?1e3*gt:gt}function de(gt,k,W){return gt.hasOwnProperty("duration")?gt:function Ce(gt,k,W){let pt,Et=0,te="";if("string"==typeof gt){const Ie=gt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ie)return k.push(`The provided timing value "${gt}" is invalid.`),{duration:0,delay:0,easing:""};pt=P(parseFloat(Ie[1]),Ie[2]);const le=Ie[3];null!=le&&(Et=P(parseFloat(le),Ie[4]));const et=Ie[5];et&&(te=et)}else pt=gt;if(!W){let Ie=!1,le=k.length;pt<0&&(k.push("Duration values below 0 are not allowed for this animation step."),Ie=!0),Et<0&&(k.push("Delay values below 0 are not allowed for this animation step."),Ie=!0),Ie&&k.splice(le,0,`The provided timing value "${gt}" is invalid.`)}return{duration:pt,delay:Et,easing:te}}(gt,k,W)}function Pe(gt,k={}){return Object.keys(gt).forEach(W=>{k[W]=gt[W]}),k}function fe(gt,k,W={}){if(k)for(let Re in gt)W[Re]=gt[Re];else Pe(gt,W);return W}function Ze(gt,k,W){return W?k+":"+W+";":""}function ne(gt){let k="";for(let W=0;W{const pt=V(Re);W&&!W.hasOwnProperty(Re)&&(W[Re]=gt.style[pt]),gt.style[pt]=k[Re]}),_()&&ne(gt))}function Be(gt,k){gt.style&&(Object.keys(k).forEach(W=>{const Re=V(W);gt.style[Re]=""}),_()&&ne(gt))}function ze(gt){return Array.isArray(gt)?1==gt.length?gt[0]:(0,g.vP)(gt):gt}const _e=new RegExp("{{\\s*(.+?)\\s*}}","g");function ae(gt){let k=[];if("string"==typeof gt){let W;for(;W=_e.exec(gt);)k.push(W[1]);_e.lastIndex=0}return k}function Ae(gt,k,W){const Re=gt.toString(),pt=Re.replace(_e,(Et,te)=>{let Ie=k[te];return k.hasOwnProperty(te)||(W.push(`Please provide a value for the animation param ${te}`),Ie=""),Ie.toString()});return pt==Re?gt:pt}function ee(gt){const k=[];let W=gt.next();for(;!W.done;)k.push(W.value),W=gt.next();return k}const Ne=/-+([a-z0-9])/g;function V(gt){return gt.replace(Ne,(...k)=>k[1].toUpperCase())}function H(gt){return gt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i(gt,k,W){switch(k.type){case 7:return gt.visitTrigger(k,W);case 0:return gt.visitState(k,W);case 1:return gt.visitTransition(k,W);case 2:return gt.visitSequence(k,W);case 3:return gt.visitGroup(k,W);case 4:return gt.visitAnimate(k,W);case 5:return gt.visitKeyframes(k,W);case 6:return gt.visitStyle(k,W);case 8:return gt.visitReference(k,W);case 9:return gt.visitAnimateChild(k,W);case 10:return gt.visitAnimateRef(k,W);case 11:return gt.visitQuery(k,W);case 12:return gt.visitStagger(k,W);default:throw new Error(`Unable to resolve animation metadata node #${k.type}`)}}function o(gt,k){return window.getComputedStyle(gt)[k]}const u="*";function l(gt,k){const W=[];return"string"==typeof gt?gt.split(/\s*,\s*/).forEach(Re=>function s(gt,k,W){if(":"==gt[0]){const le=function n(gt,k){switch(gt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(W,Re)=>parseFloat(Re)>parseFloat(W);case":decrement":return(W,Re)=>parseFloat(Re) *"}}(gt,W);if("function"==typeof le)return void k.push(le);gt=le}const Re=gt.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Re||Re.length<4)return W.push(`The provided transition expression "${gt}" is not supported`),k;const pt=Re[1],Et=Re[2],te=Re[3];k.push(a(pt,te));"<"==Et[0]&&!(pt==u&&te==u)&&k.push(a(te,pt))}(Re,W,k)):W.push(gt),W}const t=new Set(["true","1"]),r=new Set(["false","0"]);function a(gt,k){const W=t.has(gt)||r.has(gt),Re=t.has(k)||r.has(k);return(pt,Et)=>{let te=gt==u||gt==pt,Ie=k==u||k==Et;return!te&&W&&"boolean"==typeof pt&&(te=pt?t.has(gt):r.has(gt)),!Ie&&Re&&"boolean"==typeof Et&&(Ie=Et?t.has(k):r.has(k)),te&&Ie}}const d=":self",f=new RegExp(`s*${d}s*,?`,"g");function x(gt,k,W){return new It(gt).build(k,W)}class It{constructor(k){this._driver=k}build(k,W){const Re=new Yt(W);return this._resetContextStyleTimingState(Re),i(this,ze(k),Re)}_resetContextStyleTimingState(k){k.currentQuerySelector="",k.collectedStyles={},k.collectedStyles[""]={},k.currentTime=0}visitTrigger(k,W){let Re=W.queryCount=0,pt=W.depCount=0;const Et=[],te=[];return"@"==k.name.charAt(0)&&W.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),k.definitions.forEach(Ie=>{if(this._resetContextStyleTimingState(W),0==Ie.type){const le=Ie,et=le.name;et.toString().split(/\s*,\s*/).forEach(xt=>{le.name=xt,Et.push(this.visitState(le,W))}),le.name=et}else if(1==Ie.type){const le=this.visitTransition(Ie,W);Re+=le.queryCount,pt+=le.depCount,te.push(le)}else W.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:k.name,states:Et,transitions:te,queryCount:Re,depCount:pt,options:null}}visitState(k,W){const Re=this.visitStyle(k.styles,W),pt=k.options&&k.options.params||null;if(Re.containsDynamicStyles){const Et=new Set,te=pt||{};if(Re.styles.forEach(Ie=>{if(Nt(Ie)){const le=Ie;Object.keys(le).forEach(et=>{ae(le[et]).forEach(xt=>{te.hasOwnProperty(xt)||Et.add(xt)})})}}),Et.size){const Ie=ee(Et.values());W.errors.push(`state("${k.name}", ...) must define default values for all the following style substitutions: ${Ie.join(", ")}`)}}return{type:0,name:k.name,style:Re,options:pt?{params:pt}:null}}visitTransition(k,W){W.queryCount=0,W.depCount=0;const Re=i(this,ze(k.animation),W);return{type:1,matchers:l(k.expr,W.errors),animation:Re,queryCount:W.queryCount,depCount:W.depCount,options:je(k.options)}}visitSequence(k,W){return{type:2,steps:k.steps.map(Re=>i(this,Re,W)),options:je(k.options)}}visitGroup(k,W){const Re=W.currentTime;let pt=0;const Et=k.steps.map(te=>{W.currentTime=Re;const Ie=i(this,te,W);return pt=Math.max(pt,W.currentTime),Ie});return W.currentTime=pt,{type:3,steps:Et,options:je(k.options)}}visitAnimate(k,W){const Re=function He(gt,k){let W=null;if(gt.hasOwnProperty("duration"))W=gt;else if("number"==typeof gt)return Z(de(gt,k).duration,0,"");const Re=gt;if(Re.split(/\s+/).some(Et=>"{"==Et.charAt(0)&&"{"==Et.charAt(1))){const Et=Z(0,0,"");return Et.dynamic=!0,Et.strValue=Re,Et}return W=W||de(Re,k),Z(W.duration,W.delay,W.easing)}(k.timings,W.errors);W.currentAnimateTimings=Re;let pt,Et=k.styles?k.styles:(0,g.oB)({});if(5==Et.type)pt=this.visitKeyframes(Et,W);else{let te=k.styles,Ie=!1;if(!te){Ie=!0;const et={};Re.easing&&(et.easing=Re.easing),te=(0,g.oB)(et)}W.currentTime+=Re.duration+Re.delay;const le=this.visitStyle(te,W);le.isEmptyStep=Ie,pt=le}return W.currentAnimateTimings=null,{type:4,timings:Re,style:pt,options:null}}visitStyle(k,W){const Re=this._makeStyleAst(k,W);return this._validateStyleAst(Re,W),Re}_makeStyleAst(k,W){const Re=[];Array.isArray(k.styles)?k.styles.forEach(te=>{"string"==typeof te?te==g.l3?Re.push(te):W.errors.push(`The provided style string value ${te} is not allowed.`):Re.push(te)}):Re.push(k.styles);let pt=!1,Et=null;return Re.forEach(te=>{if(Nt(te)){const Ie=te,le=Ie.easing;if(le&&(Et=le,delete Ie.easing),!pt)for(let et in Ie)if(Ie[et].toString().indexOf("{{")>=0){pt=!0;break}}}),{type:6,styles:Re,easing:Et,offset:k.offset,containsDynamicStyles:pt,options:null}}_validateStyleAst(k,W){const Re=W.currentAnimateTimings;let pt=W.currentTime,Et=W.currentTime;Re&&Et>0&&(Et-=Re.duration+Re.delay),k.styles.forEach(te=>{"string"!=typeof te&&Object.keys(te).forEach(Ie=>{if(!this._driver.validateStyleProperty(Ie))return void W.errors.push(`The provided animation property "${Ie}" is not a supported CSS property for animations`);const le=W.collectedStyles[W.currentQuerySelector],et=le[Ie];let xt=!0;et&&(Et!=pt&&Et>=et.startTime&&pt<=et.endTime&&(W.errors.push(`The CSS property "${Ie}" that exists between the times of "${et.startTime}ms" and "${et.endTime}ms" is also being animated in a parallel animation between the times of "${Et}ms" and "${pt}ms"`),xt=!1),Et=et.startTime),xt&&(le[Ie]={startTime:Et,endTime:pt}),W.options&&function Ue(gt,k,W){const Re=k.params||{},pt=ae(gt);pt.length&&pt.forEach(Et=>{Re.hasOwnProperty(Et)||W.push(`Unable to resolve the local animation param ${Et} in the given list of values`)})}(te[Ie],W.options,W.errors)})})}visitKeyframes(k,W){const Re={type:5,styles:[],options:null};if(!W.currentAnimateTimings)return W.errors.push("keyframes() must be placed inside of a call to animate()"),Re;let Et=0;const te=[];let Ie=!1,le=!1,et=0;const xt=k.steps.map(Mi=>{const Bi=this._makeStyleAst(Mi,W);let ke=null!=Bi.offset?Bi.offset:function Ct(gt){if("string"==typeof gt)return null;let k=null;if(Array.isArray(gt))gt.forEach(W=>{if(Nt(W)&&W.hasOwnProperty("offset")){const Re=W;k=parseFloat(Re.offset),delete Re.offset}});else if(Nt(gt)&>.hasOwnProperty("offset")){const W=gt;k=parseFloat(W.offset),delete W.offset}return k}(Bi.styles),De=0;return null!=ke&&(Et++,De=Bi.offset=ke),le=le||De<0||De>1,Ie=Ie||De0&&Et{const ke=Jt>0?Bi==ai?1:Jt*Bi:te[Bi],De=ke*Ai;W.currentTime=ui+fi.delay+De,fi.duration=De,this._validateStyleAst(Mi,W),Mi.offset=ke,Re.styles.push(Mi)}),Re}visitReference(k,W){return{type:8,animation:i(this,ze(k.animation),W),options:je(k.options)}}visitAnimateChild(k,W){return W.depCount++,{type:9,options:je(k.options)}}visitAnimateRef(k,W){return{type:10,animation:this.visitReference(k.animation,W),options:je(k.options)}}visitQuery(k,W){const Re=W.currentQuerySelector,pt=k.options||{};W.queryCount++,W.currentQuery=k;const[Et,te]=function jt(gt){const k=!!gt.split(/\s*,\s*/).find(W=>W==d);return k&&(gt=gt.replace(f,"")),gt=gt.replace(/@\*/g,Le).replace(/@\w+/g,W=>Le+"-"+W.substr(1)).replace(/:animating/g,Me),[gt,k]}(k.selector);W.currentQuerySelector=Re.length?Re+" "+Et:Et,A(W.collectedStyles,W.currentQuerySelector,{});const Ie=i(this,ze(k.animation),W);return W.currentQuery=null,W.currentQuerySelector=Re,{type:11,selector:Et,limit:pt.limit||0,optional:!!pt.optional,includeSelf:te,animation:Ie,originalSelector:k.selector,options:je(k.options)}}visitStagger(k,W){W.currentQuery||W.errors.push("stagger() can only be used inside of query()");const Re="full"===k.timings?{duration:0,delay:0,easing:"full"}:de(k.timings,W.errors,!0);return{type:12,animation:i(this,ze(k.animation),W),timings:Re,options:null}}}class Yt{constructor(k){this.errors=k,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 Nt(gt){return!Array.isArray(gt)&&"object"==typeof gt}function je(gt){return gt?(gt=Pe(gt)).params&&(gt.params=function bt(gt){return gt?Pe(gt):null}(gt.params)):gt={},gt}function Z(gt,k,W){return{duration:gt,delay:k,easing:W}}function $(gt,k,W,Re,pt,Et,te=null,Ie=!1){return{type:1,element:gt,keyframes:k,preStyleProps:W,postStyleProps:Re,duration:pt,delay:Et,totalTime:pt+Et,easing:te,subTimeline:Ie}}class oe{constructor(){this._map=new Map}get(k){return this._map.get(k)||[]}append(k,W){let Re=this._map.get(k);Re||this._map.set(k,Re=[]),Re.push(...W)}has(k){return this._map.has(k)}clear(){this._map.clear()}}const Rt=new RegExp(":enter","g"),Tt=new RegExp(":leave","g");function ot(gt,k,W,Re,pt,Et={},te={},Ie,le,et=[]){return(new rt).buildKeyframes(gt,k,W,Re,pt,Et,te,Ie,le,et)}class rt{buildKeyframes(k,W,Re,pt,Et,te,Ie,le,et,xt=[]){et=et||new oe;const zt=new ut(k,W,et,pt,Et,xt,[]);zt.options=le,zt.currentTimeline.setStyles([te],null,zt.errors,le),i(this,Re,zt);const Jt=zt.timelines.filter(ai=>ai.containsAnimation());if(Object.keys(Ie).length){let ai;for(let ui=Jt.length-1;ui>=0;ui--){const fi=Jt[ui];if(fi.element===W){ai=fi;break}}ai&&!ai.allowOnlyTimelineStyles()&&ai.setStyles([Ie],null,zt.errors,le)}return Jt.length?Jt.map(ai=>ai.buildKeyframes()):[$(W,[],[],[],0,0,"",!1)]}visitTrigger(k,W){}visitState(k,W){}visitTransition(k,W){}visitAnimateChild(k,W){const Re=W.subInstructions.get(W.element);if(Re){const pt=W.createSubContext(k.options),Et=W.currentTimeline.currentTime,te=this._visitSubInstructions(Re,pt,pt.options);Et!=te&&W.transformIntoNewTimeline(te)}W.previousNode=k}visitAnimateRef(k,W){const Re=W.createSubContext(k.options);Re.transformIntoNewTimeline(),this.visitReference(k.animation,Re),W.transformIntoNewTimeline(Re.currentTimeline.currentTime),W.previousNode=k}_visitSubInstructions(k,W,Re){let Et=W.currentTimeline.currentTime;const te=null!=Re.duration?z(Re.duration):null,Ie=null!=Re.delay?z(Re.delay):null;return 0!==te&&k.forEach(le=>{const et=W.appendInstructionToTimeline(le,te,Ie);Et=Math.max(Et,et.duration+et.delay)}),Et}visitReference(k,W){W.updateOptions(k.options,!0),i(this,k.animation,W),W.previousNode=k}visitSequence(k,W){const Re=W.subContextCount;let pt=W;const Et=k.options;if(Et&&(Et.params||Et.delay)&&(pt=W.createSubContext(Et),pt.transformIntoNewTimeline(),null!=Et.delay)){6==pt.previousNode.type&&(pt.currentTimeline.snapshotCurrentStyles(),pt.previousNode=lt);const te=z(Et.delay);pt.delayNextStep(te)}k.steps.length&&(k.steps.forEach(te=>i(this,te,pt)),pt.currentTimeline.applyStylesToKeyframe(),pt.subContextCount>Re&&pt.transformIntoNewTimeline()),W.previousNode=k}visitGroup(k,W){const Re=[];let pt=W.currentTimeline.currentTime;const Et=k.options&&k.options.delay?z(k.options.delay):0;k.steps.forEach(te=>{const Ie=W.createSubContext(k.options);Et&&Ie.delayNextStep(Et),i(this,te,Ie),pt=Math.max(pt,Ie.currentTimeline.currentTime),Re.push(Ie.currentTimeline)}),Re.forEach(te=>W.currentTimeline.mergeTimelineCollectedStyles(te)),W.transformIntoNewTimeline(pt),W.previousNode=k}_visitTiming(k,W){if(k.dynamic){const Re=k.strValue;return de(W.params?Ae(Re,W.params,W.errors):Re,W.errors)}return{duration:k.duration,delay:k.delay,easing:k.easing}}visitAnimate(k,W){const Re=W.currentAnimateTimings=this._visitTiming(k.timings,W),pt=W.currentTimeline;Re.delay&&(W.incrementTime(Re.delay),pt.snapshotCurrentStyles());const Et=k.style;5==Et.type?this.visitKeyframes(Et,W):(W.incrementTime(Re.duration),this.visitStyle(Et,W),pt.applyStylesToKeyframe()),W.currentAnimateTimings=null,W.previousNode=k}visitStyle(k,W){const Re=W.currentTimeline,pt=W.currentAnimateTimings;!pt&&Re.getCurrentStyleProperties().length&&Re.forwardFrame();const Et=pt&&pt.easing||k.easing;k.isEmptyStep?Re.applyEmptyStep(Et):Re.setStyles(k.styles,Et,W.errors,W.options),W.previousNode=k}visitKeyframes(k,W){const Re=W.currentAnimateTimings,pt=W.currentTimeline.duration,Et=Re.duration,Ie=W.createSubContext().currentTimeline;Ie.easing=Re.easing,k.styles.forEach(le=>{Ie.forwardTime((le.offset||0)*Et),Ie.setStyles(le.styles,le.easing,W.errors,W.options),Ie.applyStylesToKeyframe()}),W.currentTimeline.mergeTimelineCollectedStyles(Ie),W.transformIntoNewTimeline(pt+Et),W.previousNode=k}visitQuery(k,W){const Re=W.currentTimeline.currentTime,pt=k.options||{},Et=pt.delay?z(pt.delay):0;Et&&(6===W.previousNode.type||0==Re&&W.currentTimeline.getCurrentStyleProperties().length)&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=lt);let te=Re;const Ie=W.invokeQuery(k.selector,k.originalSelector,k.limit,k.includeSelf,!!pt.optional,W.errors);W.currentQueryTotal=Ie.length;let le=null;Ie.forEach((et,xt)=>{W.currentQueryIndex=xt;const zt=W.createSubContext(k.options,et);Et&&zt.delayNextStep(Et),et===W.element&&(le=zt.currentTimeline),i(this,k.animation,zt),zt.currentTimeline.applyStylesToKeyframe(),te=Math.max(te,zt.currentTimeline.currentTime)}),W.currentQueryIndex=0,W.currentQueryTotal=0,W.transformIntoNewTimeline(te),le&&(W.currentTimeline.mergeTimelineCollectedStyles(le),W.currentTimeline.snapshotCurrentStyles()),W.previousNode=k}visitStagger(k,W){const Re=W.parentContext,pt=W.currentTimeline,Et=k.timings,te=Math.abs(Et.duration),Ie=te*(W.currentQueryTotal-1);let le=te*W.currentQueryIndex;switch(Et.duration<0?"reverse":Et.easing){case"reverse":le=Ie-le;break;case"full":le=Re.currentStaggerTime}const xt=W.currentTimeline;le&&xt.delayNextStep(le);const zt=xt.currentTime;i(this,k.animation,W),W.previousNode=k,Re.currentStaggerTime=pt.currentTime-zt+(pt.startTime-Re.currentTimeline.startTime)}}const lt={};class ut{constructor(k,W,Re,pt,Et,te,Ie,le){this._driver=k,this.element=W,this.subInstructions=Re,this._enterClassName=pt,this._leaveClassName=Et,this.errors=te,this.timelines=Ie,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=le||new Ht(this._driver,W,0),Ie.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(k,W){if(!k)return;const Re=k;let pt=this.options;null!=Re.duration&&(pt.duration=z(Re.duration)),null!=Re.delay&&(pt.delay=z(Re.delay));const Et=Re.params;if(Et){let te=pt.params;te||(te=this.options.params={}),Object.keys(Et).forEach(Ie=>{(!W||!te.hasOwnProperty(Ie))&&(te[Ie]=Ae(Et[Ie],te,this.errors))})}}_copyOptions(){const k={};if(this.options){const W=this.options.params;if(W){const Re=k.params={};Object.keys(W).forEach(pt=>{Re[pt]=W[pt]})}}return k}createSubContext(k=null,W,Re){const pt=W||this.element,Et=new ut(this._driver,pt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(pt,Re||0));return Et.previousNode=this.previousNode,Et.currentAnimateTimings=this.currentAnimateTimings,Et.options=this._copyOptions(),Et.updateOptions(k),Et.currentQueryIndex=this.currentQueryIndex,Et.currentQueryTotal=this.currentQueryTotal,Et.parentContext=this,this.subContextCount++,Et}transformIntoNewTimeline(k){return this.previousNode=lt,this.currentTimeline=this.currentTimeline.fork(this.element,k),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(k,W,Re){const pt={duration:null!=W?W:k.duration,delay:this.currentTimeline.currentTime+(null!=Re?Re:0)+k.delay,easing:""},Et=new Qt(this._driver,k.element,k.keyframes,k.preStyleProps,k.postStyleProps,pt,k.stretchStartingKeyframe);return this.timelines.push(Et),pt}incrementTime(k){this.currentTimeline.forwardTime(this.currentTimeline.duration+k)}delayNextStep(k){k>0&&this.currentTimeline.delayNextStep(k)}invokeQuery(k,W,Re,pt,Et,te){let Ie=[];if(pt&&Ie.push(this.element),k.length>0){k=(k=k.replace(Rt,"."+this._enterClassName)).replace(Tt,"."+this._leaveClassName);let et=this._driver.query(this.element,k,1!=Re);0!==Re&&(et=Re<0?et.slice(et.length+Re,et.length):et.slice(0,Re)),Ie.push(...et)}return!Et&&0==Ie.length&&te.push(`\`query("${W}")\` returned zero elements. (Use \`query("${W}", { optional: true })\` if you wish to allow this.)`),Ie}}class Ht{constructor(k,W,Re,pt){this._driver=k,this.element=W,this.startTime=Re,this._elementTimelineStylesLookup=pt,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(W),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(W,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(k){const W=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||W?(this.forwardTime(this.currentTime+k),W&&this.snapshotCurrentStyles()):this.startTime+=k}fork(k,W){return this.applyStylesToKeyframe(),new Ht(this._driver,k,W||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(k){this.applyStylesToKeyframe(),this.duration=k,this._loadKeyframe()}_updateStyle(k,W){this._localTimelineStyles[k]=W,this._globalTimelineStyles[k]=W,this._styleSummary[k]={time:this.currentTime,value:W}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(k){k&&(this._previousKeyframe.easing=k),Object.keys(this._globalTimelineStyles).forEach(W=>{this._backFill[W]=this._globalTimelineStyles[W]||g.l3,this._currentKeyframe[W]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(k,W,Re,pt){W&&(this._previousKeyframe.easing=W);const Et=pt&&pt.params||{},te=function hi(gt,k){const W={};let Re;return gt.forEach(pt=>{"*"===pt?(Re=Re||Object.keys(k),Re.forEach(Et=>{W[Et]=g.l3})):fe(pt,!1,W)}),W}(k,this._globalTimelineStyles);Object.keys(te).forEach(Ie=>{const le=Ae(te[Ie],Et,Re);this._pendingStyles[Ie]=le,this._localTimelineStyles.hasOwnProperty(Ie)||(this._backFill[Ie]=this._globalTimelineStyles.hasOwnProperty(Ie)?this._globalTimelineStyles[Ie]:g.l3),this._updateStyle(Ie,le)})}applyStylesToKeyframe(){const k=this._pendingStyles,W=Object.keys(k);0!=W.length&&(this._pendingStyles={},W.forEach(Re=>{this._currentKeyframe[Re]=k[Re]}),Object.keys(this._localTimelineStyles).forEach(Re=>{this._currentKeyframe.hasOwnProperty(Re)||(this._currentKeyframe[Re]=this._localTimelineStyles[Re])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(k=>{const W=this._localTimelineStyles[k];this._pendingStyles[k]=W,this._updateStyle(k,W)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const k=[];for(let W in this._currentKeyframe)k.push(W);return k}mergeTimelineCollectedStyles(k){Object.keys(k._styleSummary).forEach(W=>{const Re=this._styleSummary[W],pt=k._styleSummary[W];(!Re||pt.time>Re.time)&&this._updateStyle(W,pt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const k=new Set,W=new Set,Re=1===this._keyframes.size&&0===this.duration;let pt=[];this._keyframes.forEach((Ie,le)=>{const et=fe(Ie,!0);Object.keys(et).forEach(xt=>{const zt=et[xt];zt==g.k1?k.add(xt):zt==g.l3&&W.add(xt)}),Re||(et.offset=le/this.duration),pt.push(et)});const Et=k.size?ee(k.values()):[],te=W.size?ee(W.values()):[];if(Re){const Ie=pt[0],le=Pe(Ie);Ie.offset=0,le.offset=1,pt=[Ie,le]}return $(this.element,pt,Et,te,this.duration,this.startTime,this.easing,!1)}}class Qt extends Ht{constructor(k,W,Re,pt,Et,te,Ie=!1){super(k,W,te.delay),this.keyframes=Re,this.preStyleProps=pt,this.postStyleProps=Et,this._stretchStartingKeyframe=Ie,this.timings={duration:te.duration,delay:te.delay,easing:te.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let k=this.keyframes,{delay:W,duration:Re,easing:pt}=this.timings;if(this._stretchStartingKeyframe&&W){const Et=[],te=Re+W,Ie=W/te,le=fe(k[0],!1);le.offset=0,Et.push(le);const et=fe(k[0],!1);et.offset=ni(Ie),Et.push(et);const xt=k.length-1;for(let zt=1;zt<=xt;zt++){let Jt=fe(k[zt],!1);Jt.offset=ni((W+Jt.offset*Re)/te),Et.push(Jt)}Re=te,W=0,pt="",k=Et}return $(this.element,k,this.preStyleProps,this.postStyleProps,Re,W,pt,!0)}}function ni(gt,k=3){const W=Math.pow(10,k-1);return Math.round(gt*W)/W}class xi{}class tn extends xi{normalizePropertyName(k,W){return V(k)}normalizeStyleValue(k,W,Re,pt){let Et="";const te=Re.toString().trim();if(qi[W]&&0!==Re&&"0"!==Re)if("number"==typeof Re)Et="px";else{const Ie=Re.match(/^[+-]?[\d\.]+([a-z]*)$/);Ie&&0==Ie[1].length&&pt.push(`Please provide a CSS unit value for ${k}:${Re}`)}return te+Et}}const qi=(()=>function Lt(gt){const k={};return gt.forEach(W=>k[W]=!0),k}("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 oi(gt,k,W,Re,pt,Et,te,Ie,le,et,xt,zt,Jt){return{type:0,element:gt,triggerName:k,isRemovalTransition:pt,fromState:W,fromStyles:Et,toState:Re,toStyles:te,timelines:Ie,queriedElements:le,preStyleProps:et,postStyleProps:xt,totalTime:zt,errors:Jt}}const Pt={};class $e{constructor(k,W,Re){this._triggerName=k,this.ast=W,this._stateStyles=Re}match(k,W,Re,pt){return function vt(gt,k,W,Re,pt){return gt.some(Et=>Et(k,W,Re,pt))}(this.ast.matchers,k,W,Re,pt)}buildStyles(k,W,Re){const pt=this._stateStyles["*"],Et=this._stateStyles[k],te=pt?pt.buildStyles(W,Re):{};return Et?Et.buildStyles(W,Re):te}build(k,W,Re,pt,Et,te,Ie,le,et,xt){const zt=[],Jt=this.ast.options&&this.ast.options.params||Pt,ui=this.buildStyles(Re,Ie&&Ie.params||Pt,zt),fi=le&&le.params||Pt,Ai=this.buildStyles(pt,fi,zt),Mi=new Set,Bi=new Map,ke=new Map,De="void"===pt,we={params:Object.assign(Object.assign({},Jt),fi)},ht=xt?[]:ot(k,W,this.ast.animation,Et,te,ui,Ai,we,et,zt);let Zt=0;if(ht.forEach(ki=>{Zt=Math.max(ki.duration+ki.delay,Zt)}),zt.length)return oi(W,this._triggerName,Re,pt,De,ui,Ai,[],[],Bi,ke,Zt,zt);ht.forEach(ki=>{const Xi=ki.element,pn=A(Bi,Xi,{});ki.preStyleProps.forEach($n=>pn[$n]=!0);const Nn=A(ke,Xi,{});ki.postStyleProps.forEach($n=>Nn[$n]=!0),Xi!==W&&Mi.add(Xi)});const pi=ee(Mi.values());return oi(W,this._triggerName,Re,pt,De,ui,Ai,ht,pi,Bi,ke,Zt)}}class at{constructor(k,W,Re){this.styles=k,this.defaultParams=W,this.normalizer=Re}buildStyles(k,W){const Re={},pt=Pe(this.defaultParams);return Object.keys(k).forEach(Et=>{const te=k[Et];null!=te&&(pt[Et]=te)}),this.styles.styles.forEach(Et=>{if("string"!=typeof Et){const te=Et;Object.keys(te).forEach(Ie=>{let le=te[Ie];le.length>1&&(le=Ae(le,pt,W));const et=this.normalizer.normalizePropertyName(Ie,W);le=this.normalizer.normalizeStyleValue(Ie,et,le,W),Re[et]=le})}}),Re}}class yt{constructor(k,W,Re){this.name=k,this.ast=W,this._normalizer=Re,this.transitionFactories=[],this.states={},W.states.forEach(pt=>{this.states[pt.name]=new at(pt.style,pt.options&&pt.options.params||{},Re)}),Ge(this.states,"true","1"),Ge(this.states,"false","0"),W.transitions.forEach(pt=>{this.transitionFactories.push(new $e(k,pt,this.states))}),this.fallbackTransition=function U(gt,k,W){return new $e(gt,{type:1,animation:{type:2,steps:[],options:null},matchers:[(te,Ie)=>!0],options:null,queryCount:0,depCount:0},k)}(k,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(k,W,Re,pt){return this.transitionFactories.find(te=>te.match(k,W,Re,pt))||null}matchStyles(k,W,Re){return this.fallbackTransition.buildStyles(k,W,Re)}}function Ge(gt,k,W){gt.hasOwnProperty(k)?gt.hasOwnProperty(W)||(gt[W]=gt[k]):gt.hasOwnProperty(W)&&(gt[k]=gt[W])}const _t=new oe;class Dt{constructor(k,W,Re){this.bodyNode=k,this._driver=W,this._normalizer=Re,this._animations={},this._playersById={},this.players=[]}register(k,W){const Re=[],pt=x(this._driver,W,Re);if(Re.length)throw new Error(`Unable to build the animation due to the following errors: ${Re.join("\n")}`);this._animations[k]=pt}_buildPlayer(k,W,Re){const pt=k.element,Et=E(0,this._normalizer,0,k.keyframes,W,Re);return this._driver.animate(pt,Et,k.duration,k.delay,k.easing,[],!0)}create(k,W,Re={}){const pt=[],Et=this._animations[k];let te;const Ie=new Map;if(Et?(te=ot(this._driver,W,Et,Se,We,{},{},Re,_t,pt),te.forEach(xt=>{const zt=A(Ie,xt.element,{});xt.postStyleProps.forEach(Jt=>zt[Jt]=null)})):(pt.push("The requested animation doesn't exist or has already been destroyed"),te=[]),pt.length)throw new Error(`Unable to create the animation due to the following errors: ${pt.join("\n")}`);Ie.forEach((xt,zt)=>{Object.keys(xt).forEach(Jt=>{xt[Jt]=this._driver.computeStyle(zt,Jt,g.l3)})});const et=b(te.map(xt=>{const zt=Ie.get(xt.element);return this._buildPlayer(xt,{},zt)}));return this._playersById[k]=et,et.onDestroy(()=>this.destroy(k)),this.players.push(et),et}destroy(k){const W=this._getPlayer(k);W.destroy(),delete this._playersById[k];const Re=this.players.indexOf(W);Re>=0&&this.players.splice(Re,1)}_getPlayer(k){const W=this._playersById[k];if(!W)throw new Error(`Unable to find the timeline player referenced by ${k}`);return W}listen(k,W,Re,pt){const Et=N(W,"","","");return v(this._getPlayer(k),Re,Et,pt),()=>{}}command(k,W,Re,pt){if("register"==Re)return void this.register(k,pt[0]);if("create"==Re)return void this.create(k,W,pt[0]||{});const Et=this._getPlayer(k);switch(Re){case"play":Et.play();break;case"pause":Et.pause();break;case"reset":Et.reset();break;case"restart":Et.restart();break;case"finish":Et.finish();break;case"init":Et.init();break;case"setPosition":Et.setPosition(parseFloat(pt[0]));break;case"destroy":this.destroy(k)}}}const ti="ng-animate-queued",Ii="ng-animate-disabled",Oi=[],Hi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ki={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Li="__ng_removed";class yi{constructor(k,W=""){this.namespaceId=W;const Re=k&&k.hasOwnProperty("value");if(this.value=function un(gt){return null!=gt?gt:null}(Re?k.value:k),Re){const Et=Pe(k);delete Et.value,this.options=Et}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(k){const W=k.params;if(W){const Re=this.options.params;Object.keys(W).forEach(pt=>{null==Re[pt]&&(Re[pt]=W[pt])})}}}const nn="void",fn=new yi(nn);class Wi{constructor(k,W,Re){this.id=k,this.hostElement=W,this._engine=Re,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+k,st(W,this._hostClassName)}listen(k,W,Re,pt){if(!this._triggers.hasOwnProperty(W))throw new Error(`Unable to listen on the animation trigger event "${Re}" because the animation trigger "${W}" doesn't exist!`);if(null==Re||0==Re.length)throw new Error(`Unable to listen on the animation trigger "${W}" because the provided event is undefined!`);if(!function ln(gt){return"start"==gt||"done"==gt}(Re))throw new Error(`The provided animation trigger event "${Re}" for the animation trigger "${W}" is not supported!`);const Et=A(this._elementListeners,k,[]),te={name:W,phase:Re,callback:pt};Et.push(te);const Ie=A(this._engine.statesByElement,k,{});return Ie.hasOwnProperty(W)||(st(k,ge),st(k,ge+"-"+W),Ie[W]=fn),()=>{this._engine.afterFlush(()=>{const le=Et.indexOf(te);le>=0&&Et.splice(le,1),this._triggers[W]||delete Ie[W]})}}register(k,W){return!this._triggers[k]&&(this._triggers[k]=W,!0)}_getTrigger(k){const W=this._triggers[k];if(!W)throw new Error(`The provided animation trigger "${k}" has not been registered!`);return W}trigger(k,W,Re,pt=!0){const Et=this._getTrigger(W),te=new An(this.id,W,k);let Ie=this._engine.statesByElement.get(k);Ie||(st(k,ge),st(k,ge+"-"+W),this._engine.statesByElement.set(k,Ie={}));let le=Ie[W];const et=new yi(Re,this.id);if(!(Re&&Re.hasOwnProperty("value"))&&le&&et.absorbOptions(le.options),Ie[W]=et,le||(le=fn),et.value!==nn&&le.value===et.value){if(!function wt(gt,k){const W=Object.keys(gt),Re=Object.keys(k);if(W.length!=Re.length)return!1;for(let pt=0;pt{Be(k,Ai),it(k,Mi)})}return}const Jt=A(this._engine.playersByElement,k,[]);Jt.forEach(fi=>{fi.namespaceId==this.id&&fi.triggerName==W&&fi.queued&&fi.destroy()});let ai=Et.matchTransition(le.value,et.value,k,et.params),ui=!1;if(!ai){if(!pt)return;ai=Et.fallbackTransition,ui=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:k,triggerName:W,transition:ai,fromState:le,toState:et,player:te,isFallbackTransition:ui}),ui||(st(k,ti),te.onStart(()=>{kt(k,ti)})),te.onDone(()=>{let fi=this.players.indexOf(te);fi>=0&&this.players.splice(fi,1);const Ai=this._engine.playersByElement.get(k);if(Ai){let Mi=Ai.indexOf(te);Mi>=0&&Ai.splice(Mi,1)}}),this.players.push(te),Jt.push(te),te}deregister(k){delete this._triggers[k],this._engine.statesByElement.forEach((W,Re)=>{delete W[k]}),this._elementListeners.forEach((W,Re)=>{this._elementListeners.set(Re,W.filter(pt=>pt.name!=k))})}clearElementCache(k){this._engine.statesByElement.delete(k),this._elementListeners.delete(k);const W=this._engine.playersByElement.get(k);W&&(W.forEach(Re=>Re.destroy()),this._engine.playersByElement.delete(k))}_signalRemovalForInnerTriggers(k,W){const Re=this._engine.driver.query(k,Le,!0);Re.forEach(pt=>{if(pt[Li])return;const Et=this._engine.fetchNamespacesByElement(pt);Et.size?Et.forEach(te=>te.triggerLeaveAnimation(pt,W,!1,!0)):this.clearElementCache(pt)}),this._engine.afterFlushAnimationsDone(()=>Re.forEach(pt=>this.clearElementCache(pt)))}triggerLeaveAnimation(k,W,Re,pt){const Et=this._engine.statesByElement.get(k),te=new Map;if(Et){const Ie=[];if(Object.keys(Et).forEach(le=>{if(te.set(le,Et[le].value),this._triggers[le]){const et=this.trigger(k,le,nn,pt);et&&Ie.push(et)}}),Ie.length)return this._engine.markElementAsRemoved(this.id,k,!0,W,te),Re&&b(Ie).onDone(()=>this._engine.processLeaveNode(k)),!0}return!1}prepareLeaveAnimationListeners(k){const W=this._elementListeners.get(k),Re=this._engine.statesByElement.get(k);if(W&&Re){const pt=new Set;W.forEach(Et=>{const te=Et.name;if(pt.has(te))return;pt.add(te);const le=this._triggers[te].fallbackTransition,et=Re[te]||fn,xt=new yi(nn),zt=new An(this.id,te,k);this._engine.totalQueuedPlayers++,this._queue.push({element:k,triggerName:te,transition:le,fromState:et,toState:xt,player:zt,isFallbackTransition:!0})})}}removeNode(k,W){const Re=this._engine;if(k.childElementCount&&this._signalRemovalForInnerTriggers(k,W),this.triggerLeaveAnimation(k,W,!0))return;let pt=!1;if(Re.totalAnimations){const Et=Re.players.length?Re.playersByQueriedElement.get(k):[];if(Et&&Et.length)pt=!0;else{let te=k;for(;te=te.parentNode;)if(Re.statesByElement.get(te)){pt=!0;break}}}if(this.prepareLeaveAnimationListeners(k),pt)Re.markElementAsRemoved(this.id,k,!1,W);else{const Et=k[Li];(!Et||Et===Hi)&&(Re.afterFlush(()=>this.clearElementCache(k)),Re.destroyInnerAnimations(k),Re._onRemovalComplete(k,W))}}insertNode(k,W){st(k,this._hostClassName)}drainQueuedTransitions(k){const W=[];return this._queue.forEach(Re=>{const pt=Re.player;if(pt.destroyed)return;const Et=Re.element,te=this._elementListeners.get(Et);te&&te.forEach(Ie=>{if(Ie.name==Re.triggerName){const le=N(Et,Re.triggerName,Re.fromState.value,Re.toState.value);le._data=k,v(Re.player,Ie.phase,le,Ie.callback)}}),pt.markedForDestroy?this._engine.afterFlush(()=>{pt.destroy()}):W.push(Re)}),this._queue=[],W.sort((Re,pt)=>{const Et=Re.transition.ast.depCount,te=pt.transition.ast.depCount;return 0==Et||0==te?Et-te:this._engine.driver.containsElement(Re.element,pt.element)?1:-1})}destroy(k){this.players.forEach(W=>W.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,k)}elementContainsData(k){let W=!1;return this._elementListeners.has(k)&&(W=!0),W=!!this._queue.find(Re=>Re.element===k)||W,W}}class sn{constructor(k,W,Re){this.bodyNode=k,this.driver=W,this._normalizer=Re,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=(pt,Et)=>{}}_onRemovalComplete(k,W){this.onRemovalComplete(k,W)}get queuedPlayers(){const k=[];return this._namespaceList.forEach(W=>{W.players.forEach(Re=>{Re.queued&&k.push(Re)})}),k}createNamespace(k,W){const Re=new Wi(k,W,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,W)?this._balanceNamespaceList(Re,W):(this.newHostElements.set(W,Re),this.collectEnterElement(W)),this._namespaceLookup[k]=Re}_balanceNamespaceList(k,W){const Re=this._namespaceList.length-1;if(Re>=0){let pt=!1;for(let Et=Re;Et>=0;Et--)if(this.driver.containsElement(this._namespaceList[Et].hostElement,W)){this._namespaceList.splice(Et+1,0,k),pt=!0;break}pt||this._namespaceList.splice(0,0,k)}else this._namespaceList.push(k);return this.namespacesByHostElement.set(W,k),k}register(k,W){let Re=this._namespaceLookup[k];return Re||(Re=this.createNamespace(k,W)),Re}registerTrigger(k,W,Re){let pt=this._namespaceLookup[k];pt&&pt.register(W,Re)&&this.totalAnimations++}destroy(k,W){if(!k)return;const Re=this._fetchNamespace(k);this.afterFlush(()=>{this.namespacesByHostElement.delete(Re.hostElement),delete this._namespaceLookup[k];const pt=this._namespaceList.indexOf(Re);pt>=0&&this._namespaceList.splice(pt,1)}),this.afterFlushAnimationsDone(()=>Re.destroy(W))}_fetchNamespace(k){return this._namespaceLookup[k]}fetchNamespacesByElement(k){const W=new Set,Re=this.statesByElement.get(k);if(Re){const pt=Object.keys(Re);for(let Et=0;Et=0&&this.collectedLeaveElements.splice(te,1)}if(k){const te=this._fetchNamespace(k);te&&te.insertNode(W,Re)}pt&&this.collectEnterElement(W)}collectEnterElement(k){this.collectedEnterElements.push(k)}markElementAsDisabled(k,W){W?this.disabledNodes.has(k)||(this.disabledNodes.add(k),st(k,Ii)):this.disabledNodes.has(k)&&(this.disabledNodes.delete(k),kt(k,Ii))}removeNode(k,W,Re,pt){if(Ji(W)){const Et=k?this._fetchNamespace(k):null;if(Et?Et.removeNode(W,pt):this.markElementAsRemoved(k,W,!1,pt),Re){const te=this.namespacesByHostElement.get(W);te&&te.id!==k&&te.removeNode(W,pt)}}else this._onRemovalComplete(W,pt)}markElementAsRemoved(k,W,Re,pt,Et){this.collectedLeaveElements.push(W),W[Li]={namespaceId:k,setForRemoval:pt,hasAnimation:Re,removedBeforeQueried:!1,previousTriggersValues:Et}}listen(k,W,Re,pt,Et){return Ji(W)?this._fetchNamespace(k).listen(W,Re,pt,Et):()=>{}}_buildInstruction(k,W,Re,pt,Et){return k.transition.build(this.driver,k.element,k.fromState.value,k.toState.value,Re,pt,k.fromState.options,k.toState.options,W,Et)}destroyInnerAnimations(k){let W=this.driver.query(k,Le,!0);W.forEach(Re=>this.destroyActiveAnimationsForElement(Re)),0!=this.playersByQueriedElement.size&&(W=this.driver.query(k,Me,!0),W.forEach(Re=>this.finishActiveQueriedAnimationOnElement(Re)))}destroyActiveAnimationsForElement(k){const W=this.playersByElement.get(k);W&&W.forEach(Re=>{Re.queued?Re.markedForDestroy=!0:Re.destroy()})}finishActiveQueriedAnimationOnElement(k){const W=this.playersByQueriedElement.get(k);W&&W.forEach(Re=>Re.finish())}whenRenderingDone(){return new Promise(k=>{if(this.players.length)return b(this.players).onDone(()=>k());k()})}processLeaveNode(k){var W;const Re=k[Li];if(Re&&Re.setForRemoval){if(k[Li]=Hi,Re.namespaceId){this.destroyInnerAnimations(k);const pt=this._fetchNamespace(Re.namespaceId);pt&&pt.clearElementCache(k)}this._onRemovalComplete(k,Re.setForRemoval)}(null===(W=k.classList)||void 0===W?void 0:W.contains(Ii))&&this.markElementAsDisabled(k,!1),this.driver.query(k,".ng-animate-disabled",!0).forEach(pt=>{this.markElementAsDisabled(pt,!1)})}flush(k=-1){let W=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Re,pt)=>this._balanceNamespaceList(Re,pt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Re=0;ReRe()),this._flushFns=[],this._whenQuietFns.length){const Re=this._whenQuietFns;this._whenQuietFns=[],W.length?b(W).onDone(()=>{Re.forEach(pt=>pt())}):Re.forEach(pt=>pt())}}reportError(k){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${k.join("\n")}`)}_flushAnimations(k,W){const Re=new oe,pt=[],Et=new Map,te=[],Ie=new Map,le=new Map,et=new Map,xt=new Set;this.disabledNodes.forEach(ci=>{xt.add(ci);const Si=this.driver.query(ci,".ng-animate-queued",!0);for(let _i=0;_i{const _i=Se+fi++;ui.set(Si,_i),ci.forEach(Fi=>st(Fi,_i))});const Ai=[],Mi=new Set,Bi=new Set;for(let ci=0;ciMi.add(Fi)):Bi.add(Si))}const ke=new Map,De=Kt(Jt,Array.from(Mi));De.forEach((ci,Si)=>{const _i=We+fi++;ke.set(Si,_i),ci.forEach(Fi=>st(Fi,_i))}),k.push(()=>{ai.forEach((ci,Si)=>{const _i=ui.get(Si);ci.forEach(Fi=>kt(Fi,_i))}),De.forEach((ci,Si)=>{const _i=ke.get(Si);ci.forEach(Fi=>kt(Fi,_i))}),Ai.forEach(ci=>{this.processLeaveNode(ci)})});const we=[],ht=[];for(let ci=this._namespaceList.length-1;ci>=0;ci--)this._namespaceList[ci].drainQueuedTransitions(W).forEach(_i=>{const Fi=_i.player,an=_i.element;if(we.push(Fi),this.collectedEnterElements.length){const bi=an[Li];if(bi&&bi.setForMove){if(bi.previousTriggersValues&&bi.previousTriggersValues.has(_i.triggerName)){const Ei=bi.previousTriggersValues.get(_i.triggerName),Yi=this.statesByElement.get(_i.element);Yi&&Yi[_i.triggerName]&&(Yi[_i.triggerName].value=Ei)}return void Fi.destroy()}}const tt=!zt||!this.driver.containsElement(zt,an),Wt=ke.get(an),xe=ui.get(an),ft=this._buildInstruction(_i,Re,xe,Wt,tt);if(ft.errors&&ft.errors.length)return void ht.push(ft);if(tt)return Fi.onStart(()=>Be(an,ft.fromStyles)),Fi.onDestroy(()=>it(an,ft.toStyles)),void pt.push(Fi);if(_i.isFallbackTransition)return Fi.onStart(()=>Be(an,ft.fromStyles)),Fi.onDestroy(()=>it(an,ft.toStyles)),void pt.push(Fi);const Ut=[];ft.timelines.forEach(bi=>{bi.stretchStartingKeyframe=!0,this.disabledNodes.has(bi.element)||Ut.push(bi)}),ft.timelines=Ut,Re.append(an,ft.timelines),te.push({instruction:ft,player:Fi,element:an}),ft.queriedElements.forEach(bi=>A(Ie,bi,[]).push(Fi)),ft.preStyleProps.forEach((bi,Ei)=>{const Yi=Object.keys(bi);if(Yi.length){let on=le.get(Ei);on||le.set(Ei,on=new Set),Yi.forEach(Wn=>on.add(Wn))}}),ft.postStyleProps.forEach((bi,Ei)=>{const Yi=Object.keys(bi);let on=et.get(Ei);on||et.set(Ei,on=new Set),Yi.forEach(Wn=>on.add(Wn))})});if(ht.length){const ci=[];ht.forEach(Si=>{ci.push(`@${Si.triggerName} has failed due to:\n`),Si.errors.forEach(_i=>ci.push(`- ${_i}\n`))}),we.forEach(Si=>Si.destroy()),this.reportError(ci)}const Zt=new Map,pi=new Map;te.forEach(ci=>{const Si=ci.element;Re.has(Si)&&(pi.set(Si,Si),this._beforeAnimationBuild(ci.player.namespaceId,ci.instruction,Zt))}),pt.forEach(ci=>{const Si=ci.element;this._getPreviousPlayers(Si,!1,ci.namespaceId,ci.triggerName,null).forEach(Fi=>{A(Zt,Si,[]).push(Fi),Fi.destroy()})});const ki=Ai.filter(ci=>Gt(ci,le,et)),Xi=new Map;St(Xi,this.driver,Bi,et,g.l3).forEach(ci=>{Gt(ci,le,et)&&ki.push(ci)});const Nn=new Map;ai.forEach((ci,Si)=>{St(Nn,this.driver,new Set(ci),le,g.k1)}),ki.forEach(ci=>{const Si=Xi.get(ci),_i=Nn.get(ci);Xi.set(ci,Object.assign(Object.assign({},Si),_i))});const $n=[],sr=[],ri={};te.forEach(ci=>{const{element:Si,player:_i,instruction:Fi}=ci;if(Re.has(Si)){if(xt.has(Si))return _i.onDestroy(()=>it(Si,Fi.toStyles)),_i.disabled=!0,_i.overrideTotalTime(Fi.totalTime),void pt.push(_i);let an=ri;if(pi.size>1){let Wt=Si;const xe=[];for(;Wt=Wt.parentNode;){const ft=pi.get(Wt);if(ft){an=ft;break}xe.push(Wt)}xe.forEach(ft=>pi.set(ft,an))}const tt=this._buildAnimation(_i.namespaceId,Fi,Zt,Et,Nn,Xi);if(_i.setRealPlayer(tt),an===ri)$n.push(_i);else{const Wt=this.playersByElement.get(an);Wt&&Wt.length&&(_i.parentPlayer=b(Wt)),pt.push(_i)}}else Be(Si,Fi.fromStyles),_i.onDestroy(()=>it(Si,Fi.toStyles)),sr.push(_i),xt.has(Si)&&pt.push(_i)}),sr.forEach(ci=>{const Si=Et.get(ci.element);if(Si&&Si.length){const _i=b(Si);ci.setRealPlayer(_i)}}),pt.forEach(ci=>{ci.parentPlayer?ci.syncPlayerEvents(ci.parentPlayer):ci.destroy()});for(let ci=0;ci!tt.destroyed);an.length?Fe(this,Si,an):this.processLeaveNode(Si)}return Ai.length=0,$n.forEach(ci=>{this.players.push(ci),ci.onDone(()=>{ci.destroy();const Si=this.players.indexOf(ci);this.players.splice(Si,1)}),ci.play()}),$n}elementContainsData(k,W){let Re=!1;const pt=W[Li];return pt&&pt.setForRemoval&&(Re=!0),this.playersByElement.has(W)&&(Re=!0),this.playersByQueriedElement.has(W)&&(Re=!0),this.statesByElement.has(W)&&(Re=!0),this._fetchNamespace(k).elementContainsData(W)||Re}afterFlush(k){this._flushFns.push(k)}afterFlushAnimationsDone(k){this._whenQuietFns.push(k)}_getPreviousPlayers(k,W,Re,pt,Et){let te=[];if(W){const Ie=this.playersByQueriedElement.get(k);Ie&&(te=Ie)}else{const Ie=this.playersByElement.get(k);if(Ie){const le=!Et||Et==nn;Ie.forEach(et=>{et.queued||!le&&et.triggerName!=pt||te.push(et)})}}return(Re||pt)&&(te=te.filter(Ie=>!(Re&&Re!=Ie.namespaceId||pt&&pt!=Ie.triggerName))),te}_beforeAnimationBuild(k,W,Re){const Et=W.element,te=W.isRemovalTransition?void 0:k,Ie=W.isRemovalTransition?void 0:W.triggerName;for(const le of W.timelines){const et=le.element,xt=et!==Et,zt=A(Re,et,[]);this._getPreviousPlayers(et,xt,te,Ie,W.toState).forEach(ai=>{const ui=ai.getRealPlayer();ui.beforeDestroy&&ui.beforeDestroy(),ai.destroy(),zt.push(ai)})}Be(Et,W.fromStyles)}_buildAnimation(k,W,Re,pt,Et,te){const Ie=W.triggerName,le=W.element,et=[],xt=new Set,zt=new Set,Jt=W.timelines.map(ui=>{const fi=ui.element;xt.add(fi);const Ai=fi[Li];if(Ai&&Ai.removedBeforeQueried)return new g.ZN(ui.duration,ui.delay);const Mi=fi!==le,Bi=function Bt(gt){const k=[];return Je(gt,k),k}((Re.get(fi)||Oi).map(Zt=>Zt.getRealPlayer())).filter(Zt=>!!Zt.element&&Zt.element===fi),ke=Et.get(fi),De=te.get(fi),we=E(0,this._normalizer,0,ui.keyframes,ke,De),ht=this._buildPlayer(ui,we,Bi);if(ui.subTimeline&&pt&&zt.add(fi),Mi){const Zt=new An(k,Ie,fi);Zt.setRealPlayer(ht),et.push(Zt)}return ht});et.forEach(ui=>{A(this.playersByQueriedElement,ui.element,[]).push(ui),ui.onDone(()=>function On(gt,k,W){let Re;if(gt instanceof Map){if(Re=gt.get(k),Re){if(Re.length){const pt=Re.indexOf(W);Re.splice(pt,1)}0==Re.length&>.delete(k)}}else if(Re=gt[k],Re){if(Re.length){const pt=Re.indexOf(W);Re.splice(pt,1)}0==Re.length&&delete gt[k]}return Re}(this.playersByQueriedElement,ui.element,ui))}),xt.forEach(ui=>st(ui,ue));const ai=b(Jt);return ai.onDestroy(()=>{xt.forEach(ui=>kt(ui,ue)),it(le,W.toStyles)}),zt.forEach(ui=>{A(pt,ui,[]).push(ai)}),ai}_buildPlayer(k,W,Re){return W.length>0?this.driver.animate(k.element,W,k.duration,k.delay,k.easing,Re):new g.ZN(k.duration,k.delay)}}class An{constructor(k,W,Re){this.namespaceId=k,this.triggerName=W,this.element=Re,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(k){this._containsRealPlayer||(this._player=k,Object.keys(this._queuedCallbacks).forEach(W=>{this._queuedCallbacks[W].forEach(Re=>v(k,W,void 0,Re))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(k.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(k){this.totalTime=k}syncPlayerEvents(k){const W=this._player;W.triggerCallback&&k.onStart(()=>W.triggerCallback("start")),k.onDone(()=>this.finish()),k.onDestroy(()=>this.destroy())}_queueEvent(k,W){A(this._queuedCallbacks,k,[]).push(W)}onDone(k){this.queued&&this._queueEvent("done",k),this._player.onDone(k)}onStart(k){this.queued&&this._queueEvent("start",k),this._player.onStart(k)}onDestroy(k){this.queued&&this._queueEvent("destroy",k),this._player.onDestroy(k)}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(k){this.queued||this._player.setPosition(k)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(k){const W=this._player;W.triggerCallback&&W.triggerCallback(k)}}function Ji(gt){return gt&&1===gt.nodeType}function Dn(gt,k){const W=gt.style.display;return gt.style.display=null!=k?k:"none",W}function St(gt,k,W,Re,pt){const Et=[];W.forEach(le=>Et.push(Dn(le)));const te=[];Re.forEach((le,et)=>{const xt={};le.forEach(zt=>{const Jt=xt[zt]=k.computeStyle(et,zt,pt);(!Jt||0==Jt.length)&&(et[Li]=Ki,te.push(et))}),gt.set(et,xt)});let Ie=0;return W.forEach(le=>Dn(le,Et[Ie++])),te}function Kt(gt,k){const W=new Map;if(gt.forEach(Ie=>W.set(Ie,[])),0==k.length)return W;const pt=new Set(k),Et=new Map;function te(Ie){if(!Ie)return 1;let le=Et.get(Ie);if(le)return le;const et=Ie.parentNode;return le=W.has(et)?et:pt.has(et)?1:te(et),Et.set(Ie,le),le}return k.forEach(Ie=>{const le=te(Ie);1!==le&&W.get(le).push(Ie)}),W}function st(gt,k){var W;null===(W=gt.classList)||void 0===W||W.add(k)}function kt(gt,k){var W;null===(W=gt.classList)||void 0===W||W.remove(k)}function Fe(gt,k,W){b(W).onDone(()=>gt.processLeaveNode(k))}function Je(gt,k){for(let W=0;Wpt.add(Et)):k.set(gt,Re),W.delete(gt),!0}class li{constructor(k,W,Re){this.bodyNode=k,this._driver=W,this._normalizer=Re,this._triggerCache={},this.onRemovalComplete=(pt,Et)=>{},this._transitionEngine=new sn(k,W,Re),this._timelineEngine=new Dt(k,W,Re),this._transitionEngine.onRemovalComplete=(pt,Et)=>this.onRemovalComplete(pt,Et)}registerTrigger(k,W,Re,pt,Et){const te=k+"-"+pt;let Ie=this._triggerCache[te];if(!Ie){const le=[],et=x(this._driver,Et,le);if(le.length)throw new Error(`The animation trigger "${pt}" has failed to build due to the following errors:\n - ${le.join("\n - ")}`);Ie=function Qe(gt,k,W){return new yt(gt,k,W)}(pt,et,this._normalizer),this._triggerCache[te]=Ie}this._transitionEngine.registerTrigger(W,pt,Ie)}register(k,W){this._transitionEngine.register(k,W)}destroy(k,W){this._transitionEngine.destroy(k,W)}onInsert(k,W,Re,pt){this._transitionEngine.insertNode(k,W,Re,pt)}onRemove(k,W,Re,pt){this._transitionEngine.removeNode(k,W,pt||!1,Re)}disableAnimations(k,W){this._transitionEngine.markElementAsDisabled(k,W)}process(k,W,Re,pt){if("@"==Re.charAt(0)){const[Et,te]=q(Re);this._timelineEngine.command(Et,W,te,pt)}else this._transitionEngine.trigger(k,W,Re,pt)}listen(k,W,Re,pt,Et){if("@"==Re.charAt(0)){const[te,Ie]=q(Re);return this._timelineEngine.listen(te,W,Ie,Et)}return this._transitionEngine.listen(k,W,Re,pt,Et)}flush(k=-1){this._transitionEngine.flush(k)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Vi=(()=>{class gt{constructor(W,Re,pt){this._element=W,this._startStyles=Re,this._endStyles=pt,this._state=0;let Et=gt.initialStylesByElement.get(W);Et||gt.initialStylesByElement.set(W,Et={}),this._initialStyles=Et}start(){this._state<1&&(this._startStyles&&it(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(it(this._element,this._initialStyles),this._endStyles&&(it(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gt.initialStylesByElement.delete(this._element),this._startStyles&&(Be(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Be(this._element,this._endStyles),this._endStyles=null),it(this._element,this._initialStyles),this._state=3)}}return gt.initialStylesByElement=new WeakMap,gt})();function Ui(gt){let k=null;const W=Object.keys(gt);for(let Re=0;Rek()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const k=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,k,this.options),this._finalKeyframe=k.length?k[k.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(k,W,Re){return k.animate(W,Re)}onStart(k){this._onStartFns.push(k)}onDone(k){this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(k=>k()),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(k=>k()),this._onDestroyFns=[])}setPosition(k){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=k*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const k={};if(this.hasStarted()){const W=this._finalKeyframe;Object.keys(W).forEach(Re=>{"offset"!=Re&&(k[Re]=this._finished?W[Re]:o(this.element,Re))})}this.currentSnapshot=k}triggerCallback(k){const W="start"==k?this._onStartFns:this._onDoneFns;W.forEach(Re=>Re()),W.length=0}}class nr{validateStyleProperty(k){return pe(k)}matchesElement(k,W){return!1}containsElement(k,W){return T(k,W)}query(k,W,Re){return R(k,W,Re)}computeStyle(k,W,Re){return window.getComputedStyle(k)[W]}animate(k,W,Re,pt,Et,te=[]){const le={duration:Re,delay:pt,fill:0==pt?"both":"forwards"};Et&&(le.easing=Et);const et={},xt=te.filter(Jt=>Jt instanceof Jn);(function D(gt,k){return 0===gt||0===k})(Re,pt)&&xt.forEach(Jt=>{let ai=Jt.currentSnapshot;Object.keys(ai).forEach(ui=>et[ui]=ai[ui])}),W=function O(gt,k,W){const Re=Object.keys(W);if(Re.length&&k.length){let Et=k[0],te=[];if(Re.forEach(Ie=>{Et.hasOwnProperty(Ie)||te.push(Ie),Et[Ie]=W[Ie]}),te.length)for(var pt=1;ptfe(Jt,!1)),et);const zt=function vi(gt,k){let W=null,Re=null;return Array.isArray(k)&&k.length?(W=Ui(k[0]),k.length>1&&(Re=Ui(k[k.length-1]))):k&&(W=Ui(k)),W||Re?new Vi(gt,W,Re):null}(k,W);return new Jn(k,W,le,zt)}}var jn=h(69808);let Cn=(()=>{class gt extends g._j{constructor(W,Re){super(),this._nextAnimationId=0,this._renderer=W.createRenderer(Re.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(W){const Re=this._nextAnimationId.toString();this._nextAnimationId++;const pt=Array.isArray(W)?(0,g.vP)(W):W;return rr(this._renderer,null,Re,"register",[pt]),new Tr(Re,this._renderer)}}return gt.\u0275fac=function(W){return new(W||gt)(e.LFG(e.FYo),e.LFG(jn.K0))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();class Tr extends g.LC{constructor(k,W){super(),this._id=k,this._renderer=W}create(k,W){return new En(this._id,k,W||{},this._renderer)}}class En{constructor(k,W,Re,pt){this.id=k,this.element=W,this._renderer=pt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Re)}_listen(k,W){return this._renderer.listen(this.element,`@@${this.id}:${k}`,W)}_command(k,...W){return rr(this._renderer,this.element,this.id,k,W)}onDone(k){this._listen("done",k)}onStart(k){this._listen("start",k)}onDestroy(k){this._listen("destroy",k)}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(k){this._command("setPosition",k)}getPosition(){var k,W;return null!==(W=null===(k=this._renderer.engine.players[+this.id])||void 0===k?void 0:k.getPosition())&&void 0!==W?W:0}}function rr(gt,k,W,Re,pt){return gt.setProperty(k,`@@${W}:${Re}`,pt)}const Qn="@.disabled";let Zn=(()=>{class gt{constructor(W,Re,pt){this.delegate=W,this.engine=Re,this._zone=pt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Re.onRemovalComplete=(Et,te)=>{const Ie=null==te?void 0:te.parentNode(Et);Ie&&te.removeChild(Ie,Et)}}createRenderer(W,Re){const Et=this.delegate.createRenderer(W,Re);if(!(W&&Re&&Re.data&&Re.data.animation)){let xt=this._rendererCache.get(Et);return xt||(xt=new wn("",Et,this.engine),this._rendererCache.set(Et,xt)),xt}const te=Re.id,Ie=Re.id+"-"+this._currentId;this._currentId++,this.engine.register(Ie,W);const le=xt=>{Array.isArray(xt)?xt.forEach(le):this.engine.registerTrigger(te,Ie,W,xt.name,xt)};return Re.data.animation.forEach(le),new Pn(this,Ie,Et,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(W,Re,pt){W>=0&&WRe(pt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Et=>{const[te,Ie]=Et;te(Ie)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Re,pt]))}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 gt.\u0275fac=function(W){return new(W||gt)(e.LFG(e.FYo),e.LFG(li),e.LFG(e.R0b))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();class wn{constructor(k,W,Re){this.namespaceId=k,this.delegate=W,this.engine=Re,this.destroyNode=this.delegate.destroyNode?pt=>W.destroyNode(pt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(k,W){return this.delegate.createElement(k,W)}createComment(k){return this.delegate.createComment(k)}createText(k){return this.delegate.createText(k)}appendChild(k,W){this.delegate.appendChild(k,W),this.engine.onInsert(this.namespaceId,W,k,!1)}insertBefore(k,W,Re,pt=!0){this.delegate.insertBefore(k,W,Re),this.engine.onInsert(this.namespaceId,W,k,pt)}removeChild(k,W,Re){this.engine.onRemove(this.namespaceId,W,this.delegate,Re)}selectRootElement(k,W){return this.delegate.selectRootElement(k,W)}parentNode(k){return this.delegate.parentNode(k)}nextSibling(k){return this.delegate.nextSibling(k)}setAttribute(k,W,Re,pt){this.delegate.setAttribute(k,W,Re,pt)}removeAttribute(k,W,Re){this.delegate.removeAttribute(k,W,Re)}addClass(k,W){this.delegate.addClass(k,W)}removeClass(k,W){this.delegate.removeClass(k,W)}setStyle(k,W,Re,pt){this.delegate.setStyle(k,W,Re,pt)}removeStyle(k,W,Re){this.delegate.removeStyle(k,W,Re)}setProperty(k,W,Re){"@"==W.charAt(0)&&W==Qn?this.disableAnimations(k,!!Re):this.delegate.setProperty(k,W,Re)}setValue(k,W){this.delegate.setValue(k,W)}listen(k,W,Re){return this.delegate.listen(k,W,Re)}disableAnimations(k,W){this.engine.disableAnimations(k,W)}}class Pn extends wn{constructor(k,W,Re,pt){super(W,Re,pt),this.factory=k,this.namespaceId=W}setProperty(k,W,Re){"@"==W.charAt(0)?"."==W.charAt(1)&&W==Qn?this.disableAnimations(k,Re=void 0===Re||!!Re):this.engine.process(this.namespaceId,k,W.substr(1),Re):this.delegate.setProperty(k,W,Re)}listen(k,W,Re){if("@"==W.charAt(0)){const pt=function Rn(gt){switch(gt){case"body":return document.body;case"document":return document;case"window":return window;default:return gt}}(k);let Et=W.substr(1),te="";return"@"!=Et.charAt(0)&&([Et,te]=function xn(gt){const k=gt.indexOf(".");return[gt.substring(0,k),gt.substr(k+1)]}(Et)),this.engine.listen(this.namespaceId,pt,Et,te,Ie=>{this.factory.scheduleListenerCallback(Ie._data||-1,Re,Ie)})}return this.delegate.listen(k,W,Re)}}let Hn=(()=>{class gt extends li{constructor(W,Re,pt){super(W.body,Re,pt)}ngOnDestroy(){this.flush()}}return gt.\u0275fac=function(W){return new(W||gt)(e.LFG(jn.K0),e.LFG(Y),e.LFG(xi))},gt.\u0275prov=e.Yz7({token:gt,factory:gt.\u0275fac}),gt})();const Gn=new e.OlP("AnimationModuleType"),cn=[{provide:g._j,useClass:Cn},{provide:xi,useFactory:function mn(){return new tn}},{provide:li,useClass:Hn},{provide:e.FYo,useFactory:function vn(gt,k,W){return new Zn(gt,k,W)},deps:[c.se,li,e.R0b]}],Bn=[{provide:Y,useFactory:()=>new nr},{provide:Gn,useValue:"BrowserAnimations"},...cn],zn=[{provide:Y,useClass:X},{provide:Gn,useValue:"NoopAnimations"},...cn];let dn=(()=>{class gt{static withConfig(W){return{ngModule:gt,providers:W.disableAnimations?zn:Bn}}}return gt.\u0275fac=function(W){return new(W||gt)},gt.\u0275mod=e.oAB({type:gt}),gt.\u0275inj=e.cJS({providers:Bn,imports:[c.b2]}),gt})()},22313:(qe,me,h)=>{"use strict";h.d(me,{b2:()=>ee,H7:()=>Rt,Dx:()=>O,q6:()=>ae,se:()=>ge});var e=h(69808),c=h(5e3);class g extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class w extends g{static makeCurrent(){(0,e.HT)(new w)}onAndCancel(lt,ut,Ht){return lt.addEventListener(ut,Ht,!1),()=>{lt.removeEventListener(ut,Ht,!1)}}dispatchEvent(lt,ut){lt.dispatchEvent(ut)}remove(lt){lt.parentNode&<.parentNode.removeChild(lt)}createElement(lt,ut){return(ut=ut||this.getDefaultDocument()).createElement(lt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(lt){return lt.nodeType===Node.ELEMENT_NODE}isShadowRoot(lt){return lt instanceof DocumentFragment}getGlobalEventTarget(lt,ut){return"window"===ut?window:"document"===ut?lt:"body"===ut?lt.body:null}getBaseHref(lt){const ut=function b(){return _=_||document.querySelector("base"),_?_.getAttribute("href"):null}();return null==ut?null:function v(rt){E=E||document.createElement("a"),E.setAttribute("href",rt);const lt=E.pathname;return"/"===lt.charAt(0)?lt:`/${lt}`}(ut)}resetBaseElement(){_=null}getUserAgent(){return window.navigator.userAgent}getCookie(lt){return(0,e.Mx)(document.cookie,lt)}}let E,_=null;const I=new c.OlP("TRANSITION_ID"),A=[{provide:c.ip1,useFactory:function N(rt,lt,ut){return()=>{ut.get(c.CZH).donePromise.then(()=>{const Ht=(0,e.q)(),Qt=lt.querySelectorAll(`style[ng-transition="${rt}"]`);for(let ni=0;ni{const ni=lt.findTestabilityInTree(Ht,Qt);if(null==ni)throw new Error("Could not find testability for element.");return ni},c.dqk.getAllAngularTestabilities=()=>lt.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>lt.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(Ht=>{const Qt=c.dqk.getAllAngularTestabilities();let ni=Qt.length,hi=!1;const gi=function(xi){hi=hi||xi,ni--,0==ni&&Ht(hi)};Qt.forEach(function(xi){xi.whenStable(gi)})})}findTestabilityInTree(lt,ut,Ht){if(null==ut)return null;const Qt=lt.getTestability(ut);return null!=Qt?Qt:Ht?(0,e.q)().isShadowRoot(ut)?this.findTestabilityInTree(lt,ut.host,!0):this.findTestabilityInTree(lt,ut.parentElement,!0):null}}let j=(()=>{class rt{build(){return new XMLHttpRequest}}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const G=new c.OlP("EventManagerPlugins");let Q=(()=>{class rt{constructor(ut,Ht){this._zone=Ht,this._eventNameToPlugin=new Map,ut.forEach(Qt=>Qt.manager=this),this._plugins=ut.slice().reverse()}addEventListener(ut,Ht,Qt){return this._findPluginFor(Ht).addEventListener(ut,Ht,Qt)}addGlobalEventListener(ut,Ht,Qt){return this._findPluginFor(Ht).addGlobalEventListener(ut,Ht,Qt)}getZone(){return this._zone}_findPluginFor(ut){const Ht=this._eventNameToPlugin.get(ut);if(Ht)return Ht;const Qt=this._plugins;for(let ni=0;ni{class rt{constructor(){this._stylesSet=new Set}addStyles(ut){const Ht=new Set;ut.forEach(Qt=>{this._stylesSet.has(Qt)||(this._stylesSet.add(Qt),Ht.add(Qt))}),this.onStylesAdded(Ht)}onStylesAdded(ut){}getAllStyles(){return Array.from(this._stylesSet)}}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),be=(()=>{class rt extends F{constructor(ut){super(),this._doc=ut,this._hostNodes=new Map,this._hostNodes.set(ut.head,[])}_addStylesToHost(ut,Ht,Qt){ut.forEach(ni=>{const hi=this._doc.createElement("style");hi.textContent=ni,Qt.push(Ht.appendChild(hi))})}addHost(ut){const Ht=[];this._addStylesToHost(this._stylesSet,ut,Ht),this._hostNodes.set(ut,Ht)}removeHost(ut){const Ht=this._hostNodes.get(ut);Ht&&Ht.forEach(pe),this._hostNodes.delete(ut)}onStylesAdded(ut){this._hostNodes.forEach((Ht,Qt)=>{this._addStylesToHost(ut,Qt,Ht)})}ngOnDestroy(){this._hostNodes.forEach(ut=>ut.forEach(pe))}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();function pe(rt){(0,e.q)().remove(rt)}const ye={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/"},T=/%COMP%/g,L="%COMP%",X=`_nghost-${L}`,Y=`_ngcontent-${L}`;function Oe(rt,lt,ut){for(let Ht=0;Ht{if("__ngUnwrap__"===lt)return rt;!1===rt(lt)&&(lt.preventDefault(),lt.returnValue=!1)}}let ge=(()=>{class rt{constructor(ut,Ht,Qt){this.eventManager=ut,this.sharedStylesHost=Ht,this.appId=Qt,this.rendererByCompId=new Map,this.defaultRenderer=new Le(ut)}createRenderer(ut,Ht){if(!ut||!Ht)return this.defaultRenderer;switch(Ht.encapsulation){case c.ifc.Emulated:{let Qt=this.rendererByCompId.get(Ht.id);return Qt||(Qt=new z(this.eventManager,this.sharedStylesHost,Ht,this.appId),this.rendererByCompId.set(Ht.id,Qt)),Qt.applyToHost(ut),Qt}case 1:case c.ifc.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,ut,Ht);default:if(!this.rendererByCompId.has(Ht.id)){const Qt=Oe(Ht.id,Ht.styles,[]);this.sharedStylesHost.addStyles(Qt),this.rendererByCompId.set(Ht.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(Q),c.LFG(be),c.LFG(c.AFp))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();class Le{constructor(lt){this.eventManager=lt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(lt,ut){return ut?document.createElementNS(ye[ut]||ut,lt):document.createElement(lt)}createComment(lt){return document.createComment(lt)}createText(lt){return document.createTextNode(lt)}appendChild(lt,ut){lt.appendChild(ut)}insertBefore(lt,ut,Ht){lt&<.insertBefore(ut,Ht)}removeChild(lt,ut){lt&<.removeChild(ut)}selectRootElement(lt,ut){let Ht="string"==typeof lt?document.querySelector(lt):lt;if(!Ht)throw new Error(`The selector "${lt}" did not match any elements`);return ut||(Ht.textContent=""),Ht}parentNode(lt){return lt.parentNode}nextSibling(lt){return lt.nextSibling}setAttribute(lt,ut,Ht,Qt){if(Qt){ut=Qt+":"+ut;const ni=ye[Qt];ni?lt.setAttributeNS(ni,ut,Ht):lt.setAttribute(ut,Ht)}else lt.setAttribute(ut,Ht)}removeAttribute(lt,ut,Ht){if(Ht){const Qt=ye[Ht];Qt?lt.removeAttributeNS(Qt,ut):lt.removeAttribute(`${Ht}:${ut}`)}else lt.removeAttribute(ut)}addClass(lt,ut){lt.classList.add(ut)}removeClass(lt,ut){lt.classList.remove(ut)}setStyle(lt,ut,Ht,Qt){Qt&(c.JOm.DashCase|c.JOm.Important)?lt.style.setProperty(ut,Ht,Qt&c.JOm.Important?"important":""):lt.style[ut]=Ht}removeStyle(lt,ut,Ht){Ht&c.JOm.DashCase?lt.style.removeProperty(ut):lt.style[ut]=""}setProperty(lt,ut,Ht){lt[ut]=Ht}setValue(lt,ut){lt.nodeValue=ut}listen(lt,ut,Ht){return"string"==typeof lt?this.eventManager.addGlobalEventListener(lt,ut,Se(Ht)):this.eventManager.addEventListener(lt,ut,Se(Ht))}}class z extends Le{constructor(lt,ut,Ht,Qt){super(lt),this.component=Ht;const ni=Oe(Qt+"-"+Ht.id,Ht.styles,[]);ut.addStyles(ni),this.contentAttr=function se(rt){return Y.replace(T,rt)}(Qt+"-"+Ht.id),this.hostAttr=function Te(rt){return X.replace(T,rt)}(Qt+"-"+Ht.id)}applyToHost(lt){super.setAttribute(lt,this.hostAttr,"")}createElement(lt,ut){const Ht=super.createElement(lt,ut);return super.setAttribute(Ht,this.contentAttr,""),Ht}}class P extends Le{constructor(lt,ut,Ht,Qt){super(lt),this.sharedStylesHost=ut,this.hostEl=Ht,this.shadowRoot=Ht.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ni=Oe(Qt.id,Qt.styles,[]);for(let hi=0;hi{class rt extends he{constructor(ut){super(ut)}supports(ut){return!0}addEventListener(ut,Ht,Qt){return ut.addEventListener(Ht,Qt,!1),()=>this.removeEventListener(ut,Ht,Qt)}removeEventListener(ut,Ht,Qt){return ut.removeEventListener(Ht,Qt)}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const Ce=["alt","control","meta","shift"],ce={"\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"},fe={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"},Ze={alt:rt=>rt.altKey,control:rt=>rt.ctrlKey,meta:rt=>rt.metaKey,shift:rt=>rt.shiftKey};let ne=(()=>{class rt extends he{constructor(ut){super(ut)}supports(ut){return null!=rt.parseEventName(ut)}addEventListener(ut,Ht,Qt){const ni=rt.parseEventName(Ht),hi=rt.eventCallback(ni.fullKey,Qt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(ut,ni.domEventName,hi))}static parseEventName(ut){const Ht=ut.toLowerCase().split("."),Qt=Ht.shift();if(0===Ht.length||"keydown"!==Qt&&"keyup"!==Qt)return null;const ni=rt._normalizeKey(Ht.pop());let hi="";if(Ce.forEach(xi=>{const ji=Ht.indexOf(xi);ji>-1&&(Ht.splice(ji,1),hi+=xi+".")}),hi+=ni,0!=Ht.length||0===ni.length)return null;const gi={};return gi.domEventName=Qt,gi.fullKey=hi,gi}static getEventFullKey(ut){let Ht="",Qt=function it(rt){let lt=rt.key;if(null==lt){if(lt=rt.keyIdentifier,null==lt)return"Unidentified";lt.startsWith("U+")&&(lt=String.fromCharCode(parseInt(lt.substring(2),16)),3===rt.location&&fe.hasOwnProperty(lt)&&(lt=fe[lt]))}return ce[lt]||lt}(ut);return Qt=Qt.toLowerCase()," "===Qt?Qt="space":"."===Qt&&(Qt="dot"),Ce.forEach(ni=>{ni!=Qt&&Ze[ni](ut)&&(Ht+=ni+".")}),Ht+=Qt,Ht}static eventCallback(ut,Ht,Qt){return ni=>{rt.getEventFullKey(ni)===ut&&Qt.runGuarded(()=>Ht(ni))}}static _normalizeKey(ut){return"esc"===ut?"escape":ut}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const ae=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:e.bD},{provide:c.g9A,useValue:function Be(){w.makeCurrent(),q.init()},multi:!0},{provide:e.K0,useFactory:function Ue(){return(0,c.RDi)(document),document},deps:[]}]),Ae=[{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function ze(){return new c.qLn},deps:[]},{provide:G,useClass:de,multi:!0,deps:[e.K0,c.R0b,c.Lbi]},{provide:G,useClass:ne,multi:!0,deps:[e.K0]},{provide:ge,useClass:ge,deps:[Q,be,c.AFp]},{provide:c.FYo,useExisting:ge},{provide:F,useExisting:be},{provide:be,useClass:be,deps:[e.K0]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b]},{provide:Q,useClass:Q,deps:[G,c.R0b]},{provide:e.JF,useClass:j,deps:[]}];let ee=(()=>{class rt{constructor(ut){if(ut)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(ut){return{ngModule:rt,providers:[{provide:c.AFp,useValue:ut.appId},{provide:I,useExisting:c.AFp},A]}}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(rt,12))},rt.\u0275mod=c.oAB({type:rt}),rt.\u0275inj=c.cJS({providers:Ae,imports:[e.ez,c.hGG]}),rt})(),O=(()=>{class rt{constructor(ut){this._doc=ut}getTitle(){return this._doc.title}setTitle(ut){this._doc.title=ut||""}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new ut:function D(){return new O((0,c.LFG)(e.K0))}(),Ht},providedIn:"root"}),rt})();"undefined"!=typeof window&&window;let Rt=(()=>{class rt{}return rt.\u0275fac=function(ut){return new(ut||rt)},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new(ut||rt):c.LFG(Tt),Ht},providedIn:"root"}),rt})(),Tt=(()=>{class rt extends Rt{constructor(ut){super(),this._doc=ut}sanitize(ut,Ht){if(null==Ht)return null;switch(ut){case c.q3G.NONE:return Ht;case c.q3G.HTML:return(0,c.qzn)(Ht,"HTML")?(0,c.z3N)(Ht):(0,c.EiD)(this._doc,String(Ht)).toString();case c.q3G.STYLE:return(0,c.qzn)(Ht,"Style")?(0,c.z3N)(Ht):Ht;case c.q3G.SCRIPT:if((0,c.qzn)(Ht,"Script"))return(0,c.z3N)(Ht);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.yhl)(Ht),(0,c.qzn)(Ht,"URL")?(0,c.z3N)(Ht):(0,c.mCW)(String(Ht));case c.q3G.RESOURCE_URL:if((0,c.qzn)(Ht,"ResourceURL"))return(0,c.z3N)(Ht);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ut} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ut){return(0,c.JVY)(ut)}bypassSecurityTrustStyle(ut){return(0,c.L6k)(ut)}bypassSecurityTrustScript(ut){return(0,c.eBb)(ut)}bypassSecurityTrustUrl(ut){return(0,c.LAX)(ut)}bypassSecurityTrustResourceUrl(ut){return(0,c.pB0)(ut)}}return rt.\u0275fac=function(ut){return new(ut||rt)(c.LFG(e.K0))},rt.\u0275prov=c.Yz7({token:rt,factory:function(ut){let Ht=null;return Ht=ut?new ut:function mt(rt){return new Tt(rt.get(e.K0))}(c.LFG(c.zs3)),Ht},providedIn:"root"}),rt})()},36157:(qe,me,h)=>{"use strict";h.d(me,{gz:()=>wi,m2:()=>Pe,OD:()=>Ce,GZ:()=>Xs,wN:()=>zr,F0:()=>Vn,rH:()=>ss,yS:()=>as,Bz:()=>Vo,lC:()=>Hn});var e=h(5e3),c=h(68306),g=h(50727),w=h(54482),_=h(25403);function b(){return(0,w.e)((ve,ie)=>{let J=null;ve._refCount++;const Ve=(0,_.x)(ie,void 0,void 0,void 0,()=>{if(!ve||ve._refCount<=0||0<--ve._refCount)return void(J=null);const Ke=ve._connection,At=J;J=null,Ke&&(!At||Ke===At)&&Ke.unsubscribe(),ie.unsubscribe()});ve.subscribe(Ve),Ve.closed||(J=ve.connect())})}class E extends c.y{constructor(ie,J){super(),this.source=ie,this.subjectFactory=J,this._subject=null,this._refCount=0,this._connection=null,(0,w.A)(ie)&&(this.lift=ie.lift)}_subscribe(ie){return this.getSubject().subscribe(ie)}getSubject(){const ie=this._subject;return(!ie||ie.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ie}=this;this._subject=this._connection=null,null==ie||ie.unsubscribe()}connect(){let ie=this._connection;if(!ie){ie=this._connection=new g.w0;const J=this.getSubject();ie.add(this.source.subscribe((0,_.x)(J,void 0,()=>{this._teardown(),J.complete()},Ve=>{this._teardown(),J.error(Ve)},()=>this._teardown()))),ie.closed&&(this._connection=null,ie=g.w0.EMPTY)}return ie}refCount(){return b()(this)}}var v=h(32076),I=h(39646),N=h(61135),A=h(39841),q=h(86805),j=h(97272),G=h(49770),Q=h(60515),he=h(77579),F=h(57359);function be(ve,ie){return(0,w.e)((0,F.U)(ve,ie,arguments.length>=2,!0))}var pe=h(39300);function ye(ve){return ve<=0?()=>Q.E:(0,w.e)((ie,J)=>{let Ve=[];ie.subscribe((0,_.x)(J,Ke=>{Ve.push(Ke),ve{for(const Ke of Ve)J.next(Ke);J.complete()},void 0,()=>{Ve=null}))})}var T=h(18068),R=h(46590),L=h(44671),Y=h(54004),se=h(63900),Te=h(95698),Oe=h(68675),Se=h(70262),We=h(24351),ge=h(50590),Le=h(86099),ue=h(18505),Me=h(28746),z=h(8189),P=h(69808);class de{constructor(ie,J){this.id=ie,this.url=J}}class Ce extends de{constructor(ie,J,Ve="imperative",Ke=null){super(ie,J),this.navigationTrigger=Ve,this.restoredState=Ke}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pe extends de{constructor(ie,J,Ve){super(ie,J),this.urlAfterRedirects=Ve}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ce extends de{constructor(ie,J,Ve){super(ie,J),this.reason=Ve}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fe extends de{constructor(ie,J,Ve){super(ie,J),this.error=Ve}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ze extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ne extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends de{constructor(ie,J,Ve,Ke,At){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke,this.shouldActivate=At}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Be extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends de{constructor(ie,J,Ve,Ke){super(ie,J),this.urlAfterRedirects=Ve,this.state=Ke}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ue{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _e{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ae{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(ie){this.snapshot=ie}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ne{constructor(ie){this.snapshot=ie}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class V{constructor(ie,J,Ve){this.routerEvent=ie,this.position=J,this.anchor=Ve}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const H="primary";class D{constructor(ie){this.params=ie||{}}has(ie){return Object.prototype.hasOwnProperty.call(this.params,ie)}get(ie){if(this.has(ie)){const J=this.params[ie];return Array.isArray(J)?J[0]:J}return null}getAll(ie){if(this.has(ie)){const J=this.params[ie];return Array.isArray(J)?J:[J]}return[]}get keys(){return Object.keys(this.params)}}function O(ve){return new D(ve)}const i="ngNavigationCancelingError";function o(ve){const ie=Error("NavigationCancelingError: "+ve);return ie[i]=!0,ie}function l(ve,ie,J){const Ve=J.path.split("/");if(Ve.length>ve.length||"full"===J.pathMatch&&(ie.hasChildren()||Ve.lengthVe[At]===Ke)}return ve===ie}function r(ve){return Array.prototype.concat.apply([],ve)}function a(ve){return ve.length>0?ve[ve.length-1]:null}function f(ve,ie){for(const J in ve)ve.hasOwnProperty(J)&&ie(ve[J],J)}function x(ve){return(0,e.CqO)(ve)?ve:(0,e.QGY)(ve)?(0,v.D)(Promise.resolve(ve)):(0,I.of)(ve)}const It={exact:function Ct(ve,ie,J){if(!Rt(ve.segments,ie.segments)||!Z(ve.segments,ie.segments,J)||ve.numberOfChildren!==ie.numberOfChildren)return!1;for(const Ve in ie.children)if(!ve.children[Ve]||!Ct(ve.children[Ve],ie.children[Ve],J))return!1;return!0},subset:He},jt={exact:function Yt(ve,ie){return n(ve,ie)},subset:function Nt(ve,ie){return Object.keys(ie).length<=Object.keys(ve).length&&Object.keys(ie).every(J=>t(ve[J],ie[J]))},ignored:()=>!0};function bt(ve,ie,J){return It[J.paths](ve.root,ie.root,J.matrixParams)&&jt[J.queryParams](ve.queryParams,ie.queryParams)&&!("exact"===J.fragment&&ve.fragment!==ie.fragment)}function He(ve,ie,J){return je(ve,ie,ie.segments,J)}function je(ve,ie,J,Ve){if(ve.segments.length>J.length){const Ke=ve.segments.slice(0,J.length);return!(!Rt(Ke,J)||ie.hasChildren()||!Z(Ke,J,Ve))}if(ve.segments.length===J.length){if(!Rt(ve.segments,J)||!Z(ve.segments,J,Ve))return!1;for(const Ke in ie.children)if(!ve.children[Ke]||!He(ve.children[Ke],ie.children[Ke],Ve))return!1;return!0}{const Ke=J.slice(0,ve.segments.length),At=J.slice(ve.segments.length);return!!(Rt(ve.segments,Ke)&&Z(ve.segments,Ke,Ve)&&ve.children[H])&&je(ve.children[H],ie,At,Ve)}}function Z(ve,ie,J){return ie.every((Ve,Ke)=>jt[J](ve[Ke].parameters,Ve.parameters))}class ${constructor(ie,J,Ve){this.root=ie,this.queryParams=J,this.fragment=Ve}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=O(this.queryParams)),this._queryParamMap}toString(){return rt.serialize(this)}}class oe{constructor(ie,J){this.segments=ie,this.children=J,this.parent=null,f(J,(Ve,Ke)=>Ve.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lt(this)}}class nt{constructor(ie,J){this.path=ie,this.parameters=J}get parameterMap(){return this._parameterMap||(this._parameterMap=O(this.parameters)),this._parameterMap}toString(){return ji(this)}}function Rt(ve,ie){return ve.length===ie.length&&ve.every((J,Ve)=>J.path===ie[Ve].path)}class Tt{}class ot{parse(ie){const J=new Qe(ie);return new $(J.parseRootSegment(),J.parseQueryParams(),J.parseFragment())}serialize(ie){const J=`/${ut(ie.root,!0)}`,Ve=function qi(ve){const ie=Object.keys(ve).map(J=>{const Ve=ve[J];return Array.isArray(Ve)?Ve.map(Ke=>`${Qt(J)}=${Qt(Ke)}`).join("&"):`${Qt(J)}=${Qt(Ve)}`}).filter(J=>!!J);return ie.length?`?${ie.join("&")}`:""}(ie.queryParams);return`${J}${Ve}${"string"==typeof ie.fragment?`#${function ni(ve){return encodeURI(ve)}(ie.fragment)}`:""}`}}const rt=new ot;function lt(ve){return ve.segments.map(ie=>ji(ie)).join("/")}function ut(ve,ie){if(!ve.hasChildren())return lt(ve);if(ie){const J=ve.children[H]?ut(ve.children[H],!1):"",Ve=[];return f(ve.children,(Ke,At)=>{At!==H&&Ve.push(`${At}:${ut(Ke,!1)}`)}),Ve.length>0?`${J}(${Ve.join("//")})`:J}{const J=function mt(ve,ie){let J=[];return f(ve.children,(Ve,Ke)=>{Ke===H&&(J=J.concat(ie(Ve,Ke)))}),f(ve.children,(Ve,Ke)=>{Ke!==H&&(J=J.concat(ie(Ve,Ke)))}),J}(ve,(Ve,Ke)=>Ke===H?[ut(ve.children[H],!1)]:[`${Ke}:${ut(Ve,!1)}`]);return 1===Object.keys(ve.children).length&&null!=ve.children[H]?`${lt(ve)}/${J[0]}`:`${lt(ve)}/(${J.join("//")})`}}function Ht(ve){return encodeURIComponent(ve).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qt(ve){return Ht(ve).replace(/%3B/gi,";")}function hi(ve){return Ht(ve).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gi(ve){return decodeURIComponent(ve)}function xi(ve){return gi(ve.replace(/\+/g,"%20"))}function ji(ve){return`${hi(ve.path)}${function tn(ve){return Object.keys(ve).map(ie=>`;${hi(ie)}=${hi(ve[ie])}`).join("")}(ve.parameters)}`}const Lt=/^[^\/()?;=#]+/;function oi(ve){const ie=ve.match(Lt);return ie?ie[0]:""}const Pt=/^[^=?&#]+/,vt=/^[^&#]+/;class Qe{constructor(ie){this.url=ie,this.remaining=ie}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new oe([],{}):new oe([],this.parseChildren())}parseQueryParams(){const ie={};if(this.consumeOptional("?"))do{this.parseQueryParam(ie)}while(this.consumeOptional("&"));return ie}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ie=[];for(this.peekStartsWith("(")||ie.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ie.push(this.parseSegment());let J={};this.peekStartsWith("/(")&&(this.capture("/"),J=this.parseParens(!0));let Ve={};return this.peekStartsWith("(")&&(Ve=this.parseParens(!1)),(ie.length>0||Object.keys(J).length>0)&&(Ve[H]=new oe(ie,J)),Ve}parseSegment(){const ie=oi(this.remaining);if(""===ie&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(ie),new nt(gi(ie),this.parseMatrixParams())}parseMatrixParams(){const ie={};for(;this.consumeOptional(";");)this.parseParam(ie);return ie}parseParam(ie){const J=oi(this.remaining);if(!J)return;this.capture(J);let Ve="";if(this.consumeOptional("=")){const Ke=oi(this.remaining);Ke&&(Ve=Ke,this.capture(Ve))}ie[gi(J)]=gi(Ve)}parseQueryParam(ie){const J=function $e(ve){const ie=ve.match(Pt);return ie?ie[0]:""}(this.remaining);if(!J)return;this.capture(J);let Ve="";if(this.consumeOptional("=")){const Ot=function at(ve){const ie=ve.match(vt);return ie?ie[0]:""}(this.remaining);Ot&&(Ve=Ot,this.capture(Ve))}const Ke=xi(J),At=xi(Ve);if(ie.hasOwnProperty(Ke)){let Ot=ie[Ke];Array.isArray(Ot)||(Ot=[Ot],ie[Ke]=Ot),Ot.push(At)}else ie[Ke]=At}parseParens(ie){const J={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ve=oi(this.remaining),Ke=this.remaining[Ve.length];if("/"!==Ke&&")"!==Ke&&";"!==Ke)throw new Error(`Cannot parse url '${this.url}'`);let At;Ve.indexOf(":")>-1?(At=Ve.substr(0,Ve.indexOf(":")),this.capture(At),this.capture(":")):ie&&(At=H);const Ot=this.parseChildren();J[At]=1===Object.keys(Ot).length?Ot[H]:new oe([],Ot),this.consumeOptional("//")}return J}peekStartsWith(ie){return this.remaining.startsWith(ie)}consumeOptional(ie){return!!this.peekStartsWith(ie)&&(this.remaining=this.remaining.substring(ie.length),!0)}capture(ie){if(!this.consumeOptional(ie))throw new Error(`Expected "${ie}".`)}}class yt{constructor(ie){this._root=ie}get root(){return this._root.value}parent(ie){const J=this.pathFromRoot(ie);return J.length>1?J[J.length-2]:null}children(ie){const J=U(ie,this._root);return J?J.children.map(Ve=>Ve.value):[]}firstChild(ie){const J=U(ie,this._root);return J&&J.children.length>0?J.children[0].value:null}siblings(ie){const J=Ge(ie,this._root);return J.length<2?[]:J[J.length-2].children.map(Ke=>Ke.value).filter(Ke=>Ke!==ie)}pathFromRoot(ie){return Ge(ie,this._root).map(J=>J.value)}}function U(ve,ie){if(ve===ie.value)return ie;for(const J of ie.children){const Ve=U(ve,J);if(Ve)return Ve}return null}function Ge(ve,ie){if(ve===ie.value)return[ie];for(const J of ie.children){const Ve=Ge(ve,J);if(Ve.length)return Ve.unshift(ie),Ve}return[]}class _t{constructor(ie,J){this.value=ie,this.children=J}toString(){return`TreeNode(${this.value})`}}function Dt(ve){const ie={};return ve&&ve.children.forEach(J=>ie[J.value.outlet]=J),ie}class ti extends yt{constructor(ie,J){super(ie),this.snapshot=J,Ki(this,ie)}toString(){return this.snapshot.toString()}}function si(ve,ie){const J=function Ii(ve,ie){const Ot=new Oi([],{},{},"",{},H,ie,null,ve.root,-1,{});return new Hi("",new _t(Ot,[]))}(ve,ie),Ve=new N.X([new nt("",{})]),Ke=new N.X({}),At=new N.X({}),Ot=new N.X({}),Ft=new N.X(""),Xt=new wi(Ve,Ke,Ot,Ft,At,H,ie,J.root);return Xt.snapshot=J.root,new ti(new _t(Xt,[]),J)}class wi{constructor(ie,J,Ve,Ke,At,Ot,Ft,Xt){this.url=ie,this.params=J,this.queryParams=Ve,this.fragment=Ke,this.data=At,this.outlet=Ot,this.component=Ft,this._futureSnapshot=Xt}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,Y.U)(ie=>O(ie)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Y.U)(ie=>O(ie)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zi(ve,ie="emptyOnly"){const J=ve.pathFromRoot;let Ve=0;if("always"!==ie)for(Ve=J.length-1;Ve>=1;){const Ke=J[Ve],At=J[Ve-1];if(Ke.routeConfig&&""===Ke.routeConfig.path)Ve--;else{if(At.component)break;Ve--}}return function rn(ve){return ve.reduce((ie,J)=>({params:Object.assign(Object.assign({},ie.params),J.params),data:Object.assign(Object.assign({},ie.data),J.data),resolve:Object.assign(Object.assign({},ie.resolve),J._resolvedData)}),{params:{},data:{},resolve:{}})}(J.slice(Ve))}class Oi{constructor(ie,J,Ve,Ke,At,Ot,Ft,Xt,Ci,Gi,Di){this.url=ie,this.params=J,this.queryParams=Ve,this.fragment=Ke,this.data=At,this.outlet=Ot,this.component=Ft,this.routeConfig=Xt,this._urlSegment=Ci,this._lastPathIndex=Gi,this._resolve=Di}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=O(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=O(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ve=>Ve.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Hi extends yt{constructor(ie,J){super(J),this.url=ie,Ki(this,J)}toString(){return Li(this._root)}}function Ki(ve,ie){ie.value._routerState=ve,ie.children.forEach(J=>Ki(ve,J))}function Li(ve){const ie=ve.children.length>0?` { ${ve.children.map(Li).join(", ")} } `:"";return`${ve.value}${ie}`}function yi(ve){if(ve.snapshot){const ie=ve.snapshot,J=ve._futureSnapshot;ve.snapshot=J,n(ie.queryParams,J.queryParams)||ve.queryParams.next(J.queryParams),ie.fragment!==J.fragment&&ve.fragment.next(J.fragment),n(ie.params,J.params)||ve.params.next(J.params),function s(ve,ie){if(ve.length!==ie.length)return!1;for(let J=0;Jn(J.parameters,ie[Ve].parameters))}(ve.url,ie.url);return J&&!(!ve.parent!=!ie.parent)&&(!ve.parent||nn(ve.parent,ie.parent))}function Wi(ve,ie,J){if(J&&ve.shouldReuseRoute(ie.value,J.value.snapshot)){const Ve=J.value;Ve._futureSnapshot=ie.value;const Ke=function sn(ve,ie,J){return ie.children.map(Ve=>{for(const Ke of J.children)if(ve.shouldReuseRoute(Ve.value,Ke.value.snapshot))return Wi(ve,Ve,Ke);return Wi(ve,Ve)})}(ve,ie,J);return new _t(Ve,Ke)}{if(ve.shouldAttach(ie.value)){const At=ve.retrieve(ie.value);if(null!==At){const Ot=At.route;return Ot.value._futureSnapshot=ie.value,Ot.children=ie.children.map(Ft=>Wi(ve,Ft)),Ot}}const Ve=function An(ve){return new wi(new N.X(ve.url),new N.X(ve.params),new N.X(ve.queryParams),new N.X(ve.fragment),new N.X(ve.data),ve.outlet,ve.component,ve)}(ie.value),Ke=ie.children.map(At=>Wi(ve,At));return new _t(Ve,Ke)}}function un(ve){return"object"==typeof ve&&null!=ve&&!ve.outlets&&!ve.segmentPath}function Ji(ve){return"object"==typeof ve&&null!=ve&&ve.outlets}function ln(ve,ie,J,Ve,Ke){let At={};return Ve&&f(Ve,(Ot,Ft)=>{At[Ft]=Array.isArray(Ot)?Ot.map(Xt=>`${Xt}`):`${Ot}`}),new $(J.root===ve?ie:Dn(J.root,ve,ie),At,Ke)}function Dn(ve,ie,J){const Ve={};return f(ve.children,(Ke,At)=>{Ve[At]=Ke===ie?J:Dn(Ke,ie,J)}),new oe(ve.segments,Ve)}class St{constructor(ie,J,Ve){if(this.isAbsolute=ie,this.numberOfDoubleDots=J,this.commands=Ve,ie&&Ve.length>0&&un(Ve[0]))throw new Error("Root segment cannot have matrix parameters");const Ke=Ve.find(Ji);if(Ke&&Ke!==a(Ve))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class st{constructor(ie,J,Ve){this.segmentGroup=ie,this.processChildren=J,this.index=Ve}}function Je(ve,ie,J){if(ve||(ve=new oe([],{})),0===ve.segments.length&&ve.hasChildren())return wt(ve,ie,J);const Ve=function Gt(ve,ie,J){let Ve=0,Ke=ie;const At={match:!1,pathIndex:0,commandIndex:0};for(;Ke=J.length)return At;const Ot=ve.segments[Ke],Ft=J[Ve];if(Ji(Ft))break;const Xt=`${Ft}`,Ci=Ve0&&void 0===Xt)break;if(Xt&&Ci&&"object"==typeof Ci&&void 0===Ci.outlets){if(!Ui(Xt,Ci,Ot))return At;Ve+=2}else{if(!Ui(Xt,{},Ot))return At;Ve++}Ke++}return{match:!0,pathIndex:Ke,commandIndex:Ve}}(ve,ie,J),Ke=J.slice(Ve.commandIndex);if(Ve.match&&Ve.pathIndex{"string"==typeof At&&(At=[At]),null!==At&&(Ke[Ot]=Je(ve.children[Ot],ie,At))}),f(ve.children,(At,Ot)=>{void 0===Ve[Ot]&&(Ke[Ot]=At)}),new oe(ve.segments,Ke)}}function li(ve,ie,J){const Ve=ve.segments.slice(0,ie);let Ke=0;for(;Ke{"string"==typeof J&&(J=[J]),null!==J&&(ie[Ve]=li(new oe([],{}),0,J))}),ie}function Vi(ve){const ie={};return f(ve,(J,Ve)=>ie[Ve]=`${J}`),ie}function Ui(ve,ie,J){return ve==J.path&&n(ie,J.parameters)}class Jn{constructor(ie,J,Ve,Ke){this.routeReuseStrategy=ie,this.futureState=J,this.currState=Ve,this.forwardEvent=Ke}activate(ie){const J=this.futureState._root,Ve=this.currState?this.currState._root:null;this.deactivateChildRoutes(J,Ve,ie),yi(this.futureState.root),this.activateChildRoutes(J,Ve,ie)}deactivateChildRoutes(ie,J,Ve){const Ke=Dt(J);ie.children.forEach(At=>{const Ot=At.value.outlet;this.deactivateRoutes(At,Ke[Ot],Ve),delete Ke[Ot]}),f(Ke,(At,Ot)=>{this.deactivateRouteAndItsChildren(At,Ve)})}deactivateRoutes(ie,J,Ve){const Ke=ie.value,At=J?J.value:null;if(Ke===At)if(Ke.component){const Ot=Ve.getContext(Ke.outlet);Ot&&this.deactivateChildRoutes(ie,J,Ot.children)}else this.deactivateChildRoutes(ie,J,Ve);else At&&this.deactivateRouteAndItsChildren(J,Ve)}deactivateRouteAndItsChildren(ie,J){ie.value.component&&this.routeReuseStrategy.shouldDetach(ie.value.snapshot)?this.detachAndStoreRouteSubtree(ie,J):this.deactivateRouteAndOutlet(ie,J)}detachAndStoreRouteSubtree(ie,J){const Ve=J.getContext(ie.value.outlet),Ke=Ve&&ie.value.component?Ve.children:J,At=Dt(ie);for(const Ot of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ot],Ke);if(Ve&&Ve.outlet){const Ot=Ve.outlet.detach(),Ft=Ve.children.onOutletDeactivated();this.routeReuseStrategy.store(ie.value.snapshot,{componentRef:Ot,route:ie,contexts:Ft})}}deactivateRouteAndOutlet(ie,J){const Ve=J.getContext(ie.value.outlet),Ke=Ve&&ie.value.component?Ve.children:J,At=Dt(ie);for(const Ot of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ot],Ke);Ve&&Ve.outlet&&(Ve.outlet.deactivate(),Ve.children.onOutletDeactivated(),Ve.attachRef=null,Ve.resolver=null,Ve.route=null)}activateChildRoutes(ie,J,Ve){const Ke=Dt(J);ie.children.forEach(At=>{this.activateRoutes(At,Ke[At.value.outlet],Ve),this.forwardEvent(new Ne(At.value.snapshot))}),ie.children.length&&this.forwardEvent(new Ae(ie.value.snapshot))}activateRoutes(ie,J,Ve){const Ke=ie.value,At=J?J.value:null;if(yi(Ke),Ke===At)if(Ke.component){const Ot=Ve.getOrCreateContext(Ke.outlet);this.activateChildRoutes(ie,J,Ot.children)}else this.activateChildRoutes(ie,J,Ve);else if(Ke.component){const Ot=Ve.getOrCreateContext(Ke.outlet);if(this.routeReuseStrategy.shouldAttach(Ke.snapshot)){const Ft=this.routeReuseStrategy.retrieve(Ke.snapshot);this.routeReuseStrategy.store(Ke.snapshot,null),Ot.children.onOutletReAttached(Ft.contexts),Ot.attachRef=Ft.componentRef,Ot.route=Ft.route.value,Ot.outlet&&Ot.outlet.attach(Ft.componentRef,Ft.route.value),yi(Ft.route.value),this.activateChildRoutes(ie,null,Ot.children)}else{const Ft=function nr(ve){for(let ie=ve.parent;ie;ie=ie.parent){const J=ie.routeConfig;if(J&&J._loadedConfig)return J._loadedConfig;if(J&&J.component)return null}return null}(Ke.snapshot),Xt=Ft?Ft.module.componentFactoryResolver:null;Ot.attachRef=null,Ot.route=Ke,Ot.resolver=Xt,Ot.outlet&&Ot.outlet.activateWith(Ke,Xt),this.activateChildRoutes(ie,null,Ot.children)}}else this.activateChildRoutes(ie,null,Ve)}}class jn{constructor(ie,J){this.routes=ie,this.module=J}}function Cn(ve){return"function"==typeof ve}function En(ve){return ve instanceof $}const wn=Symbol("INITIAL_VALUE");function Pn(){return(0,se.w)(ve=>(0,A.a)(ve.map(ie=>ie.pipe((0,Te.q)(1),(0,Oe.O)(wn)))).pipe(be((ie,J)=>{let Ve=!1;return J.reduce((Ke,At,Ot)=>Ke!==wn?Ke:(At===wn&&(Ve=!0),Ve||!1!==At&&Ot!==J.length-1&&!En(At)?Ke:At),ie)},wn),(0,pe.h)(ie=>ie!==wn),(0,Y.U)(ie=>En(ie)?ie:!0===ie),(0,Te.q)(1)))}class Rn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new xn,this.attachRef=null}}class xn{constructor(){this.contexts=new Map}onChildOutletCreated(ie,J){const Ve=this.getOrCreateContext(ie);Ve.outlet=J,this.contexts.set(ie,Ve)}onChildOutletDestroyed(ie){const J=this.getContext(ie);J&&(J.outlet=null,J.attachRef=null)}onOutletDeactivated(){const ie=this.contexts;return this.contexts=new Map,ie}onOutletReAttached(ie){this.contexts=ie}getOrCreateContext(ie){let J=this.getContext(ie);return J||(J=new Rn,this.contexts.set(ie,J)),J}getContext(ie){return this.contexts.get(ie)||null}}let Hn=(()=>{class ve{constructor(J,Ve,Ke,At,Ot){this.parentContexts=J,this.location=Ve,this.resolver=Ke,this.changeDetector=Ot,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=At||H,J.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const J=this.parentContexts.getContext(this.name);J&&J.route&&(J.attachRef?this.attach(J.attachRef,J.route):this.activateWith(J.route,J.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 J=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(J.instance),J}attach(J,Ve){this.activated=J,this._activatedRoute=Ve,this.location.insert(J.hostView),this.attachEvents.emit(J.instance)}deactivate(){if(this.activated){const J=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(J)}}activateWith(J,Ve){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=J;const Ot=(Ve=Ve||this.resolver).resolveComponentFactory(J._futureSnapshot.routeConfig.component),Ft=this.parentContexts.getOrCreateContext(this.name).children,Xt=new mn(J,Ft,this.location.injector);this.activated=this.location.createComponent(Ot,this.location.length,Xt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(xn),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},ve.\u0275dir=e.lG2({type:ve,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),ve})();class mn{constructor(ie,J,Ve){this.route=ie,this.childContexts=J,this.parent=Ve}get(ie,J){return ie===wi?this.route:ie===xn?this.childContexts:this.parent.get(ie,J)}}let vn=(()=>{class ve{}return ve.\u0275fac=function(J){return new(J||ve)},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["ng-component"]],decls:1,vars:0,template:function(J,Ve){1&J&&e._UZ(0,"router-outlet")},directives:[Hn],encapsulation:2}),ve})();function Gn(ve,ie=""){for(let J=0;Jdn(Ve)===ie);return J.push(...ve.filter(Ve=>dn(Ve)!==ie)),J}const gt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function k(ve,ie,J){var Ve;if(""===ie.path)return"full"===ie.pathMatch&&(ve.hasChildren()||J.length>0)?Object.assign({},gt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const At=(ie.matcher||l)(J,ve,ie);if(!At)return Object.assign({},gt);const Ot={};f(At.posParams,(Xt,Ci)=>{Ot[Ci]=Xt.path});const Ft=At.consumed.length>0?Object.assign(Object.assign({},Ot),At.consumed[At.consumed.length-1].parameters):Ot;return{matched:!0,consumedSegments:At.consumed,lastChild:At.consumed.length,parameters:Ft,positionalParamSegments:null!==(Ve=At.posParams)&&void 0!==Ve?Ve:{}}}function W(ve,ie,J,Ve,Ke="corrected"){if(J.length>0&&function Et(ve,ie,J){return J.some(Ve=>Ie(ve,ie,Ve)&&dn(Ve)!==H)}(ve,J,Ve)){const Ot=new oe(ie,function pt(ve,ie,J,Ve){const Ke={};Ke[H]=Ve,Ve._sourceSegment=ve,Ve._segmentIndexShift=ie.length;for(const At of J)if(""===At.path&&dn(At)!==H){const Ot=new oe([],{});Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,Ke[dn(At)]=Ot}return Ke}(ve,ie,Ve,new oe(J,ve.children)));return Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,{segmentGroup:Ot,slicedSegments:[]}}if(0===J.length&&function te(ve,ie,J){return J.some(Ve=>Ie(ve,ie,Ve))}(ve,J,Ve)){const Ot=new oe(ve.segments,function Re(ve,ie,J,Ve,Ke,At){const Ot={};for(const Ft of Ve)if(Ie(ve,J,Ft)&&!Ke[dn(Ft)]){const Xt=new oe([],{});Xt._sourceSegment=ve,Xt._segmentIndexShift="legacy"===At?ve.segments.length:ie.length,Ot[dn(Ft)]=Xt}return Object.assign(Object.assign({},Ke),Ot)}(ve,ie,J,Ve,ve.children,Ke));return Ot._sourceSegment=ve,Ot._segmentIndexShift=ie.length,{segmentGroup:Ot,slicedSegments:J}}const At=new oe(ve.segments,ve.children);return At._sourceSegment=ve,At._segmentIndexShift=ie.length,{segmentGroup:At,slicedSegments:J}}function Ie(ve,ie,J){return(!(ve.hasChildren()||ie.length>0)||"full"!==J.pathMatch)&&""===J.path}function le(ve,ie,J,Ve){return!!(dn(ve)===Ve||Ve!==H&&Ie(ie,J,ve))&&("**"===ve.path||k(ie,ve,J).matched)}function et(ve,ie,J){return 0===ie.length&&!ve.children[J]}class xt{constructor(ie){this.segmentGroup=ie||null}}class zt{constructor(ie){this.urlTree=ie}}function Jt(ve){return new c.y(ie=>ie.error(new xt(ve)))}function ai(ve){return new c.y(ie=>ie.error(new zt(ve)))}function ui(ve){return new c.y(ie=>ie.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${ve}'`)))}class Mi{constructor(ie,J,Ve,Ke,At){this.configLoader=J,this.urlSerializer=Ve,this.urlTree=Ke,this.config=At,this.allowRedirects=!0,this.ngModule=ie.get(e.h0i)}apply(){const ie=W(this.urlTree.root,[],[],this.config).segmentGroup,J=new oe(ie.segments,ie.children);return this.expandSegmentGroup(this.ngModule,this.config,J,H).pipe((0,Y.U)(At=>this.createUrlTree(ke(At),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Se.K)(At=>{if(At instanceof zt)return this.allowRedirects=!1,this.match(At.urlTree);throw At instanceof xt?this.noMatchError(At):At}))}match(ie){return this.expandSegmentGroup(this.ngModule,this.config,ie.root,H).pipe((0,Y.U)(Ke=>this.createUrlTree(ke(Ke),ie.queryParams,ie.fragment))).pipe((0,Se.K)(Ke=>{throw Ke instanceof xt?this.noMatchError(Ke):Ke}))}noMatchError(ie){return new Error(`Cannot match any routes. URL Segment: '${ie.segmentGroup}'`)}createUrlTree(ie,J,Ve){const Ke=ie.segments.length>0?new oe([],{[H]:ie}):ie;return new $(Ke,J,Ve)}expandSegmentGroup(ie,J,Ve,Ke){return 0===Ve.segments.length&&Ve.hasChildren()?this.expandChildren(ie,J,Ve).pipe((0,Y.U)(At=>new oe([],At))):this.expandSegment(ie,Ve,J,Ve.segments,Ke,!0)}expandChildren(ie,J,Ve){const Ke=[];for(const At of Object.keys(Ve.children))"primary"===At?Ke.unshift(At):Ke.push(At);return(0,v.D)(Ke).pipe((0,We.b)(At=>{const Ot=Ve.children[At],Ft=cr(J,At);return this.expandSegmentGroup(ie,Ft,Ot,At).pipe((0,Y.U)(Xt=>({segment:Xt,outlet:At})))}),be((At,Ot)=>(At[Ot.outlet]=Ot.segment,At),{}),function X(ve,ie){const J=arguments.length>=2;return Ve=>Ve.pipe(ve?(0,pe.h)((Ke,At)=>ve(Ke,At,Ve)):L.y,ye(1),J?(0,R.d)(ie):(0,T.T)(()=>new q.K))}())}expandSegment(ie,J,Ve,Ke,At,Ot){return(0,v.D)(Ve).pipe((0,We.b)(Ft=>this.expandSegmentAgainstRoute(ie,J,Ve,Ft,Ke,At,Ot).pipe((0,Se.K)(Ci=>{if(Ci instanceof xt)return(0,I.of)(null);throw Ci}))),(0,ge.P)(Ft=>!!Ft),(0,Se.K)((Ft,Xt)=>{if(Ft instanceof q.K||"EmptyError"===Ft.name){if(et(J,Ke,At))return(0,I.of)(new oe([],{}));throw new xt(J)}throw Ft}))}expandSegmentAgainstRoute(ie,J,Ve,Ke,At,Ot,Ft){return le(Ke,J,At,Ot)?void 0===Ke.redirectTo?this.matchSegmentAgainstRoute(ie,J,Ke,At,Ot):Ft&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot):Jt(J):Jt(J)}expandSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot){return"**"===Ke.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ie,Ve,Ke,Ot):this.expandRegularSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot)}expandWildCardWithParamsAgainstRouteUsingRedirect(ie,J,Ve,Ke){const At=this.applyRedirectCommands([],Ve.redirectTo,{});return Ve.redirectTo.startsWith("/")?ai(At):this.lineralizeSegments(Ve,At).pipe((0,Le.z)(Ot=>{const Ft=new oe(Ot,{});return this.expandSegment(ie,Ft,J,Ot,Ke,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ie,J,Ve,Ke,At,Ot){const{matched:Ft,consumedSegments:Xt,lastChild:Ci,positionalParamSegments:Gi}=k(J,Ke,At);if(!Ft)return Jt(J);const Di=this.applyRedirectCommands(Xt,Ke.redirectTo,Gi);return Ke.redirectTo.startsWith("/")?ai(Di):this.lineralizeSegments(Ke,Di).pipe((0,Le.z)(Qi=>this.expandSegment(ie,J,Ve,Qi.concat(At.slice(Ci)),Ot,!1)))}matchSegmentAgainstRoute(ie,J,Ve,Ke,At){if("**"===Ve.path)return Ve.loadChildren?(Ve._loadedConfig?(0,I.of)(Ve._loadedConfig):this.configLoader.load(ie.injector,Ve)).pipe((0,Y.U)(Qi=>(Ve._loadedConfig=Qi,new oe(Ke,{})))):(0,I.of)(new oe(Ke,{}));const{matched:Ot,consumedSegments:Ft,lastChild:Xt}=k(J,Ve,Ke);if(!Ot)return Jt(J);const Ci=Ke.slice(Xt);return this.getChildConfig(ie,Ve,Ke).pipe((0,Le.z)(Di=>{const Qi=Di.module,$i=Di.routes,{segmentGroup:jr,slicedSegments:pr}=W(J,Ft,Ci,$i),fr=new oe(jr.segments,jr.children);if(0===pr.length&&fr.hasChildren())return this.expandChildren(Qi,$i,fr).pipe((0,Y.U)(Br=>new oe(Ft,Br)));if(0===$i.length&&0===pr.length)return(0,I.of)(new oe(Ft,{}));const Kn=dn(Ve)===At;return this.expandSegment(Qi,fr,$i,pr,Kn?H:At,!0).pipe((0,Y.U)(mr=>new oe(Ft.concat(mr.segments),mr.children)))}))}getChildConfig(ie,J,Ve){return J.children?(0,I.of)(new jn(J.children,ie)):J.loadChildren?void 0!==J._loadedConfig?(0,I.of)(J._loadedConfig):this.runCanLoadGuards(ie.injector,J,Ve).pipe((0,Le.z)(Ke=>Ke?this.configLoader.load(ie.injector,J).pipe((0,Y.U)(At=>(J._loadedConfig=At,At))):function fi(ve){return new c.y(ie=>ie.error(o(`Cannot load children because the guard of the route "path: '${ve.path}'" returned false`)))}(J))):(0,I.of)(new jn([],ie))}runCanLoadGuards(ie,J,Ve){const Ke=J.canLoad;if(!Ke||0===Ke.length)return(0,I.of)(!0);const At=Ke.map(Ot=>{const Ft=ie.get(Ot);let Xt;if(function rr(ve){return ve&&Cn(ve.canLoad)}(Ft))Xt=Ft.canLoad(J,Ve);else{if(!Cn(Ft))throw new Error("Invalid CanLoad guard");Xt=Ft(J,Ve)}return x(Xt)});return(0,I.of)(At).pipe(Pn(),(0,ue.b)(Ot=>{if(!En(Ot))return;const Ft=o(`Redirecting to "${this.urlSerializer.serialize(Ot)}"`);throw Ft.url=Ot,Ft}),(0,Y.U)(Ot=>!0===Ot))}lineralizeSegments(ie,J){let Ve=[],Ke=J.root;for(;;){if(Ve=Ve.concat(Ke.segments),0===Ke.numberOfChildren)return(0,I.of)(Ve);if(Ke.numberOfChildren>1||!Ke.children[H])return ui(ie.redirectTo);Ke=Ke.children[H]}}applyRedirectCommands(ie,J,Ve){return this.applyRedirectCreatreUrlTree(J,this.urlSerializer.parse(J),ie,Ve)}applyRedirectCreatreUrlTree(ie,J,Ve,Ke){const At=this.createSegmentGroup(ie,J.root,Ve,Ke);return new $(At,this.createQueryParams(J.queryParams,this.urlTree.queryParams),J.fragment)}createQueryParams(ie,J){const Ve={};return f(ie,(Ke,At)=>{if("string"==typeof Ke&&Ke.startsWith(":")){const Ft=Ke.substring(1);Ve[At]=J[Ft]}else Ve[At]=Ke}),Ve}createSegmentGroup(ie,J,Ve,Ke){const At=this.createSegments(ie,J.segments,Ve,Ke);let Ot={};return f(J.children,(Ft,Xt)=>{Ot[Xt]=this.createSegmentGroup(ie,Ft,Ve,Ke)}),new oe(At,Ot)}createSegments(ie,J,Ve,Ke){return J.map(At=>At.path.startsWith(":")?this.findPosParam(ie,At,Ke):this.findOrReturn(At,Ve))}findPosParam(ie,J,Ve){const Ke=Ve[J.path.substring(1)];if(!Ke)throw new Error(`Cannot redirect to '${ie}'. Cannot find '${J.path}'.`);return Ke}findOrReturn(ie,J){let Ve=0;for(const Ke of J){if(Ke.path===ie.path)return J.splice(Ve),Ke;Ve++}return ie}}function ke(ve){const ie={};for(const Ve of Object.keys(ve.children)){const At=ke(ve.children[Ve]);(At.segments.length>0||At.hasChildren())&&(ie[Ve]=At)}return function Bi(ve){if(1===ve.numberOfChildren&&ve.children[H]){const ie=ve.children[H];return new oe(ve.segments.concat(ie.segments),ie.children)}return ve}(new oe(ve.segments,ie))}class we{constructor(ie){this.path=ie,this.route=this.path[this.path.length-1]}}class ht{constructor(ie,J){this.component=ie,this.route=J}}function Zt(ve,ie,J){const Ve=ve._root;return pn(Ve,ie?ie._root:null,J,[Ve.value])}function ki(ve,ie,J){const Ve=function Xi(ve){if(!ve)return null;for(let ie=ve.parent;ie;ie=ie.parent){const J=ie.routeConfig;if(J&&J._loadedConfig)return J._loadedConfig}return null}(ie);return(Ve?Ve.module.injector:J).get(ve)}function pn(ve,ie,J,Ve,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const At=Dt(ie);return ve.children.forEach(Ot=>{(function Nn(ve,ie,J,Ve,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const At=ve.value,Ot=ie?ie.value:null,Ft=J?J.getContext(ve.value.outlet):null;if(Ot&&At.routeConfig===Ot.routeConfig){const Xt=function $n(ve,ie,J){if("function"==typeof J)return J(ve,ie);switch(J){case"pathParamsChange":return!Rt(ve.url,ie.url);case"pathParamsOrQueryParamsChange":return!Rt(ve.url,ie.url)||!n(ve.queryParams,ie.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(ve,ie)||!n(ve.queryParams,ie.queryParams);default:return!nn(ve,ie)}}(Ot,At,At.routeConfig.runGuardsAndResolvers);Xt?Ke.canActivateChecks.push(new we(Ve)):(At.data=Ot.data,At._resolvedData=Ot._resolvedData),pn(ve,ie,At.component?Ft?Ft.children:null:J,Ve,Ke),Xt&&Ft&&Ft.outlet&&Ft.outlet.isActivated&&Ke.canDeactivateChecks.push(new ht(Ft.outlet.component,Ot))}else Ot&&sr(ie,Ft,Ke),Ke.canActivateChecks.push(new we(Ve)),pn(ve,null,At.component?Ft?Ft.children:null:J,Ve,Ke)})(Ot,At[Ot.value.outlet],J,Ve.concat([Ot.value]),Ke),delete At[Ot.value.outlet]}),f(At,(Ot,Ft)=>sr(Ot,J.getContext(Ft),Ke)),Ke}function sr(ve,ie,J){const Ve=Dt(ve),Ke=ve.value;f(Ve,(At,Ot)=>{sr(At,Ke.component?ie?ie.children.getContext(Ot):null:ie,J)}),J.canDeactivateChecks.push(new ht(Ke.component&&ie&&ie.outlet&&ie.outlet.isActivated?ie.outlet.component:null,Ke))}class xe{}function ft(ve){return new c.y(ie=>ie.error(ve))}class $t{constructor(ie,J,Ve,Ke,At,Ot){this.rootComponentType=ie,this.config=J,this.urlTree=Ve,this.url=Ke,this.paramsInheritanceStrategy=At,this.relativeLinkResolution=Ot}recognize(){const ie=W(this.urlTree.root,[],[],this.config.filter(Ot=>void 0===Ot.redirectTo),this.relativeLinkResolution).segmentGroup,J=this.processSegmentGroup(this.config,ie,H);if(null===J)return null;const Ve=new Oi([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},H,this.rootComponentType,null,this.urlTree.root,-1,{}),Ke=new _t(Ve,J),At=new Hi(this.url,Ke);return this.inheritParamsAndData(At._root),At}inheritParamsAndData(ie){const J=ie.value,Ve=zi(J,this.paramsInheritanceStrategy);J.params=Object.freeze(Ve.params),J.data=Object.freeze(Ve.data),ie.children.forEach(Ke=>this.inheritParamsAndData(Ke))}processSegmentGroup(ie,J,Ve){return 0===J.segments.length&&J.hasChildren()?this.processChildren(ie,J):this.processSegment(ie,J,J.segments,Ve)}processChildren(ie,J){const Ve=[];for(const At of Object.keys(J.children)){const Ot=J.children[At],Ft=cr(ie,At),Xt=this.processSegmentGroup(Ft,Ot,At);if(null===Xt)return null;Ve.push(...Xt)}const Ke=on(Ve);return function bi(ve){ve.sort((ie,J)=>ie.value.outlet===H?-1:J.value.outlet===H?1:ie.value.outlet.localeCompare(J.value.outlet))}(Ke),Ke}processSegment(ie,J,Ve,Ke){for(const At of ie){const Ot=this.processSegmentAgainstRoute(At,J,Ve,Ke);if(null!==Ot)return Ot}return et(J,Ve,Ke)?[]:null}processSegmentAgainstRoute(ie,J,Ve,Ke){if(ie.redirectTo||!le(ie,J,Ve,Ke))return null;let At,Ot=[],Ft=[];if("**"===ie.path){const $i=Ve.length>0?a(Ve).parameters:{};At=new Oi(Ve,$i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Js(ie),dn(ie),ie.component,ie,kn(J),Xr(J)+Ve.length,Va(ie))}else{const $i=k(J,ie,Ve);if(!$i.matched)return null;Ot=$i.consumedSegments,Ft=Ve.slice($i.lastChild),At=new Oi(Ot,$i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Js(ie),dn(ie),ie.component,ie,kn(J),Xr(J)+Ot.length,Va(ie))}const Xt=function Ei(ve){return ve.children?ve.children:ve.loadChildren?ve._loadedConfig.routes:[]}(ie),{segmentGroup:Ci,slicedSegments:Gi}=W(J,Ot,Ft,Xt.filter($i=>void 0===$i.redirectTo),this.relativeLinkResolution);if(0===Gi.length&&Ci.hasChildren()){const $i=this.processChildren(Xt,Ci);return null===$i?null:[new _t(At,$i)]}if(0===Xt.length&&0===Gi.length)return[new _t(At,[])];const Di=dn(ie)===Ke,Qi=this.processSegment(Xt,Ci,Gi,Di?H:Ke);return null===Qi?null:[new _t(At,Qi)]}}function Yi(ve){const ie=ve.value.routeConfig;return ie&&""===ie.path&&void 0===ie.redirectTo}function on(ve){const ie=[],J=new Set;for(const Ve of ve){if(!Yi(Ve)){ie.push(Ve);continue}const Ke=ie.find(At=>Ve.value.routeConfig===At.value.routeConfig);void 0!==Ke?(Ke.children.push(...Ve.children),J.add(Ke)):ie.push(Ve)}for(const Ve of J){const Ke=on(Ve.children);ie.push(new _t(Ve.value,Ke))}return ie.filter(Ve=>!J.has(Ve))}function kn(ve){let ie=ve;for(;ie._sourceSegment;)ie=ie._sourceSegment;return ie}function Xr(ve){let ie=ve,J=ie._segmentIndexShift?ie._segmentIndexShift:0;for(;ie._sourceSegment;)ie=ie._sourceSegment,J+=ie._segmentIndexShift?ie._segmentIndexShift:0;return J-1}function Js(ve){return ve.data||{}}function Va(ve){return ve.resolve||{}}function es(ve){return[...Object.keys(ve),...Object.getOwnPropertySymbols(ve)]}function ts(ve){return(0,se.w)(ie=>{const J=ve(ie);return J?(0,v.D)(J).pipe((0,Y.U)(()=>ie)):(0,I.of)(ie)})}class zr{}class ja extends class Ua{shouldDetach(ie){return!1}store(ie,J){}shouldAttach(ie){return!1}retrieve(ie){return null}shouldReuseRoute(ie,J){return ie.routeConfig===J.routeConfig}}{}const is=new e.OlP("ROUTES");class Ks{constructor(ie,J,Ve,Ke){this.injector=ie,this.compiler=J,this.onLoadStartListener=Ve,this.onLoadEndListener=Ke}load(ie,J){if(J._loader$)return J._loader$;this.onLoadStartListener&&this.onLoadStartListener(J);const Ke=this.loadModuleFactory(J.loadChildren).pipe((0,Y.U)(At=>{this.onLoadEndListener&&this.onLoadEndListener(J);const Ot=At.create(ie);return new jn(r(Ot.injector.get(is,void 0,e.XFs.Self|e.XFs.Optional)).map(zn),Ot)}),(0,Se.K)(At=>{throw J._loader$=void 0,At}));return J._loader$=new E(Ke,()=>new he.x).pipe(b()),J._loader$}loadModuleFactory(ie){return x(ie()).pipe((0,Le.z)(J=>J instanceof e.YKP?(0,I.of)(J):(0,v.D)(this.compiler.compileModuleAsync(J))))}}class Bo{shouldProcessUrl(ie){return!0}extract(ie){return ie}merge(ie,J){return ie}}function No(ve){throw ve}function Ln(ve,ie,J){return ie.parse("/")}function dr(ve,ie){return(0,I.of)(null)}const hn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Za={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Vn=(()=>{class ve{constructor(J,Ve,Ke,At,Ot,Ft,Xt){this.rootComponentType=J,this.urlSerializer=Ve,this.rootContexts=Ke,this.location=At,this.config=Xt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new he.x,this.errorHandler=No,this.malformedUriErrorHandler=Ln,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dr,afterPreactivation:dr},this.urlHandlingStrategy=new Bo,this.routeReuseStrategy=new ja,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Ot.get(e.h0i),this.console=Ot.get(e.c2e);const Di=Ot.get(e.R0b);this.isNgZoneEnabled=Di instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(Xt),this.currentUrlTree=function Ye(){return new $(new oe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ks(Ot,Ft,Qi=>this.triggerEvent(new Ue(Qi)),Qi=>this.triggerEvent(new _e(Qi))),this.routerState=si(this.currentUrlTree,this.rootComponentType),this.transitions=new N.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 J;return null===(J=this.location.getState())||void 0===J?void 0:J.\u0275routerPageId}setupNavigations(J){const Ve=this.events;return J.pipe((0,pe.h)(Ke=>0!==Ke.id),(0,Y.U)(Ke=>Object.assign(Object.assign({},Ke),{extractedUrl:this.urlHandlingStrategy.extract(Ke.rawUrl)})),(0,se.w)(Ke=>{let At=!1,Ot=!1;return(0,I.of)(Ke).pipe((0,ue.b)(Ft=>{this.currentNavigation={id:Ft.id,initialUrl:Ft.currentRawUrl,extractedUrl:Ft.extractedUrl,trigger:Ft.source,extras:Ft.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,se.w)(Ft=>{const Xt=this.browserUrlTree.toString(),Ci=!this.navigated||Ft.extractedUrl.toString()!==Xt||Xt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ci)&&this.urlHandlingStrategy.shouldProcessUrl(Ft.rawUrl))return rs(Ft.source)&&(this.browserUrlTree=Ft.extractedUrl),(0,I.of)(Ft).pipe((0,se.w)(Di=>{const Qi=this.transitions.getValue();return Ve.next(new Ce(Di.id,this.serializeUrl(Di.extractedUrl),Di.source,Di.restoredState)),Qi!==this.transitions.getValue()?Q.E:Promise.resolve(Di)}),function De(ve,ie,J,Ve){return(0,se.w)(Ke=>function Ai(ve,ie,J,Ve,Ke){return new Mi(ve,ie,J,Ve,Ke).apply()}(ve,ie,J,Ke.extractedUrl,Ve).pipe((0,Y.U)(At=>Object.assign(Object.assign({},Ke),{urlAfterRedirects:At}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ue.b)(Di=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Di.urlAfterRedirects})}),function Ho(ve,ie,J,Ve,Ke){return(0,Le.z)(At=>function Ut(ve,ie,J,Ve,Ke="emptyOnly",At="legacy"){try{const Ot=new $t(ve,ie,J,Ve,Ke,At).recognize();return null===Ot?ft(new xe):(0,I.of)(Ot)}catch(Ot){return ft(Ot)}}(ve,ie,At.urlAfterRedirects,J(At.urlAfterRedirects),Ve,Ke).pipe((0,Y.U)(Ot=>Object.assign(Object.assign({},At),{targetSnapshot:Ot}))))}(this.rootComponentType,this.config,Di=>this.serializeUrl(Di),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ue.b)(Di=>{if("eager"===this.urlUpdateStrategy){if(!Di.extras.skipLocationChange){const $i=this.urlHandlingStrategy.merge(Di.urlAfterRedirects,Di.rawUrl);this.setBrowserUrl($i,Di)}this.browserUrlTree=Di.urlAfterRedirects}const Qi=new Ze(Di.id,this.serializeUrl(Di.extractedUrl),this.serializeUrl(Di.urlAfterRedirects),Di.targetSnapshot);Ve.next(Qi)}));if(Ci&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Qi,extractedUrl:$i,source:jr,restoredState:pr,extras:fr}=Ft,Kn=new Ce(Qi,this.serializeUrl($i),jr,pr);Ve.next(Kn);const Er=si($i,this.rootComponentType).snapshot;return(0,I.of)(Object.assign(Object.assign({},Ft),{targetSnapshot:Er,urlAfterRedirects:$i,extras:Object.assign(Object.assign({},fr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Ft.rawUrl,Ft.resolve(null),Q.E}),ts(Ft=>{const{targetSnapshot:Xt,id:Ci,extractedUrl:Gi,rawUrl:Di,extras:{skipLocationChange:Qi,replaceUrl:$i}}=Ft;return this.hooks.beforePreactivation(Xt,{navigationId:Ci,appliedUrlTree:Gi,rawUrlTree:Di,skipLocationChange:!!Qi,replaceUrl:!!$i})}),(0,ue.b)(Ft=>{const Xt=new ne(Ft.id,this.serializeUrl(Ft.extractedUrl),this.serializeUrl(Ft.urlAfterRedirects),Ft.targetSnapshot);this.triggerEvent(Xt)}),(0,Y.U)(Ft=>Object.assign(Object.assign({},Ft),{guards:Zt(Ft.targetSnapshot,Ft.currentSnapshot,this.rootContexts)})),function ri(ve,ie){return(0,Le.z)(J=>{const{targetSnapshot:Ve,currentSnapshot:Ke,guards:{canActivateChecks:At,canDeactivateChecks:Ot}}=J;return 0===Ot.length&&0===At.length?(0,I.of)(Object.assign(Object.assign({},J),{guardsResult:!0})):function ci(ve,ie,J,Ve){return(0,v.D)(ve).pipe((0,Le.z)(Ke=>function Wt(ve,ie,J,Ve,Ke){const At=ie&&ie.routeConfig?ie.routeConfig.canDeactivate:null;if(!At||0===At.length)return(0,I.of)(!0);const Ot=At.map(Ft=>{const Xt=ki(Ft,ie,Ke);let Ci;if(function Zn(ve){return ve&&Cn(ve.canDeactivate)}(Xt))Ci=x(Xt.canDeactivate(ve,ie,J,Ve));else{if(!Cn(Xt))throw new Error("Invalid CanDeactivate guard");Ci=x(Xt(ve,ie,J,Ve))}return Ci.pipe((0,ge.P)())});return(0,I.of)(Ot).pipe(Pn())}(Ke.component,Ke.route,J,ie,Ve)),(0,ge.P)(Ke=>!0!==Ke,!0))}(Ot,Ve,Ke,ve).pipe((0,Le.z)(Ft=>Ft&&function Tr(ve){return"boolean"==typeof ve}(Ft)?function Si(ve,ie,J,Ve){return(0,v.D)(ie).pipe((0,We.b)(Ke=>(0,j.z)(function Fi(ve,ie){return null!==ve&&ie&&ie(new ae(ve)),(0,I.of)(!0)}(Ke.route.parent,Ve),function _i(ve,ie){return null!==ve&&ie&&ie(new ee(ve)),(0,I.of)(!0)}(Ke.route,Ve),function tt(ve,ie,J){const Ve=ie[ie.length-1],At=ie.slice(0,ie.length-1).reverse().map(Ot=>function pi(ve){const ie=ve.routeConfig?ve.routeConfig.canActivateChild:null;return ie&&0!==ie.length?{node:ve,guards:ie}:null}(Ot)).filter(Ot=>null!==Ot).map(Ot=>(0,G.P)(()=>{const Ft=Ot.guards.map(Xt=>{const Ci=ki(Xt,Ot.node,J);let Gi;if(function Qn(ve){return ve&&Cn(ve.canActivateChild)}(Ci))Gi=x(Ci.canActivateChild(Ve,ve));else{if(!Cn(Ci))throw new Error("Invalid CanActivateChild guard");Gi=x(Ci(Ve,ve))}return Gi.pipe((0,ge.P)())});return(0,I.of)(Ft).pipe(Pn())}));return(0,I.of)(At).pipe(Pn())}(ve,Ke.path,J),function an(ve,ie,J){const Ve=ie.routeConfig?ie.routeConfig.canActivate:null;if(!Ve||0===Ve.length)return(0,I.of)(!0);const Ke=Ve.map(At=>(0,G.P)(()=>{const Ot=ki(At,ie,J);let Ft;if(function yn(ve){return ve&&Cn(ve.canActivate)}(Ot))Ft=x(Ot.canActivate(ie,ve));else{if(!Cn(Ot))throw new Error("Invalid CanActivate guard");Ft=x(Ot(ie,ve))}return Ft.pipe((0,ge.P)())}));return(0,I.of)(Ke).pipe(Pn())}(ve,Ke.route,J))),(0,ge.P)(Ke=>!0!==Ke,!0))}(Ve,At,ve,ie):(0,I.of)(Ft)),(0,Y.U)(Ft=>Object.assign(Object.assign({},J),{guardsResult:Ft})))})}(this.ngModule.injector,Ft=>this.triggerEvent(Ft)),(0,ue.b)(Ft=>{if(En(Ft.guardsResult)){const Ci=o(`Redirecting to "${this.serializeUrl(Ft.guardsResult)}"`);throw Ci.url=Ft.guardsResult,Ci}const Xt=new it(Ft.id,this.serializeUrl(Ft.extractedUrl),this.serializeUrl(Ft.urlAfterRedirects),Ft.targetSnapshot,!!Ft.guardsResult);this.triggerEvent(Xt)}),(0,pe.h)(Ft=>!!Ft.guardsResult||(this.restoreHistory(Ft),this.cancelNavigationTransition(Ft,""),!1)),ts(Ft=>{if(Ft.guards.canActivateChecks.length)return(0,I.of)(Ft).pipe((0,ue.b)(Xt=>{const Ci=new Be(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ci)}),(0,se.w)(Xt=>{let Ci=!1;return(0,I.of)(Xt).pipe(function Qs(ve,ie){return(0,Le.z)(J=>{const{targetSnapshot:Ve,guards:{canActivateChecks:Ke}}=J;if(!Ke.length)return(0,I.of)(J);let At=0;return(0,v.D)(Ke).pipe((0,We.b)(Ot=>function $s(ve,ie,J,Ve){return function Fa(ve,ie,J,Ve){const Ke=es(ve);if(0===Ke.length)return(0,I.of)({});const At={};return(0,v.D)(Ke).pipe((0,Le.z)(Ot=>function Lo(ve,ie,J,Ve){const Ke=ki(ve,ie,Ve);return x(Ke.resolve?Ke.resolve(ie,J):Ke(ie,J))}(ve[Ot],ie,J,Ve).pipe((0,ue.b)(Ft=>{At[Ot]=Ft}))),ye(1),(0,Le.z)(()=>es(At).length===Ke.length?(0,I.of)(At):Q.E))}(ve._resolve,ve,ie,Ve).pipe((0,Y.U)(At=>(ve._resolvedData=At,ve.data=Object.assign(Object.assign({},ve.data),zi(ve,J).resolve),null)))}(Ot.route,Ve,ve,ie)),(0,ue.b)(()=>At++),ye(1),(0,Le.z)(Ot=>At===Ke.length?(0,I.of)(J):Q.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ue.b)({next:()=>Ci=!0,complete:()=>{Ci||(this.restoreHistory(Xt),this.cancelNavigationTransition(Xt,"At least one route resolver didn't emit any value."))}}))}),(0,ue.b)(Xt=>{const Ci=new ze(Xt.id,this.serializeUrl(Xt.extractedUrl),this.serializeUrl(Xt.urlAfterRedirects),Xt.targetSnapshot);this.triggerEvent(Ci)}))}),ts(Ft=>{const{targetSnapshot:Xt,id:Ci,extractedUrl:Gi,rawUrl:Di,extras:{skipLocationChange:Qi,replaceUrl:$i}}=Ft;return this.hooks.afterPreactivation(Xt,{navigationId:Ci,appliedUrlTree:Gi,rawUrlTree:Di,skipLocationChange:!!Qi,replaceUrl:!!$i})}),(0,Y.U)(Ft=>{const Xt=function fn(ve,ie,J){const Ve=Wi(ve,ie._root,J?J._root:void 0);return new ti(Ve,ie)}(this.routeReuseStrategy,Ft.targetSnapshot,Ft.currentRouterState);return Object.assign(Object.assign({},Ft),{targetRouterState:Xt})}),(0,ue.b)(Ft=>{this.currentUrlTree=Ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Ft.urlAfterRedirects,Ft.rawUrl),this.routerState=Ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ft),this.browserUrlTree=Ft.urlAfterRedirects)}),((ve,ie,J)=>(0,Y.U)(Ve=>(new Jn(ie,Ve.targetRouterState,Ve.currentRouterState,J).activate(ve),Ve)))(this.rootContexts,this.routeReuseStrategy,Ft=>this.triggerEvent(Ft)),(0,ue.b)({next(){At=!0},complete(){At=!0}}),(0,Me.x)(()=>{var Ft;At||Ot||this.cancelNavigationTransition(Ke,`Navigation ID ${Ke.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Ft=this.currentNavigation)||void 0===Ft?void 0:Ft.id)===Ke.id&&(this.currentNavigation=null)}),(0,Se.K)(Ft=>{if(Ot=!0,function u(ve){return ve&&ve[i]}(Ft)){const Xt=En(Ft.url);Xt||(this.navigated=!0,this.restoreHistory(Ke,!0));const Ci=new ce(Ke.id,this.serializeUrl(Ke.extractedUrl),Ft.message);Ve.next(Ci),Xt?setTimeout(()=>{const Gi=this.urlHandlingStrategy.merge(Ft.url,this.rawUrlTree),Di={skipLocationChange:Ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||rs(Ke.source)};this.scheduleNavigation(Gi,"imperative",null,Di,{resolve:Ke.resolve,reject:Ke.reject,promise:Ke.promise})},0):Ke.resolve(!1)}else{this.restoreHistory(Ke,!0);const Xt=new fe(Ke.id,this.serializeUrl(Ke.extractedUrl),Ft);Ve.next(Xt);try{Ke.resolve(this.errorHandler(Ft))}catch(Ci){Ke.reject(Ci)}}return Q.E}))}))}resetRootComponentType(J){this.rootComponentType=J,this.routerState.root.component=this.rootComponentType}setTransition(J){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),J))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(J=>{const Ve="popstate"===J.type?"popstate":"hashchange";"popstate"===Ve&&setTimeout(()=>{var Ke;const At={replaceUrl:!0},Ot=(null===(Ke=J.state)||void 0===Ke?void 0:Ke.navigationId)?J.state:null;if(Ot){const Xt=Object.assign({},Ot);delete Xt.navigationId,delete Xt.\u0275routerPageId,0!==Object.keys(Xt).length&&(At.state=Xt)}const Ft=this.parseUrl(J.url);this.scheduleNavigation(Ft,Ve,Ot,At)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(J){this.events.next(J)}resetConfig(J){Gn(J),this.config=J.map(zn),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(J,Ve={}){const{relativeTo:Ke,queryParams:At,fragment:Ot,queryParamsHandling:Ft,preserveFragment:Xt}=Ve,Ci=Ke||this.routerState.root,Gi=Xt?this.currentUrlTree.fragment:Ot;let Di=null;switch(Ft){case"merge":Di=Object.assign(Object.assign({},this.currentUrlTree.queryParams),At);break;case"preserve":Di=this.currentUrlTree.queryParams;break;default:Di=At||null}return null!==Di&&(Di=this.removeEmptyProps(Di)),function On(ve,ie,J,Ve,Ke){if(0===J.length)return ln(ie.root,ie.root,ie,Ve,Ke);const At=function Kt(ve){if("string"==typeof ve[0]&&1===ve.length&&"/"===ve[0])return new St(!0,0,ve);let ie=0,J=!1;const Ve=ve.reduce((Ke,At,Ot)=>{if("object"==typeof At&&null!=At){if(At.outlets){const Ft={};return f(At.outlets,(Xt,Ci)=>{Ft[Ci]="string"==typeof Xt?Xt.split("/"):Xt}),[...Ke,{outlets:Ft}]}if(At.segmentPath)return[...Ke,At.segmentPath]}return"string"!=typeof At?[...Ke,At]:0===Ot?(At.split("/").forEach((Ft,Xt)=>{0==Xt&&"."===Ft||(0==Xt&&""===Ft?J=!0:".."===Ft?ie++:""!=Ft&&Ke.push(Ft))}),Ke):[...Ke,At]},[]);return new St(J,ie,Ve)}(J);if(At.toRoot())return ln(ie.root,new oe([],{}),ie,Ve,Ke);const Ot=function kt(ve,ie,J){if(ve.isAbsolute)return new st(ie.root,!0,0);if(-1===J.snapshot._lastPathIndex){const At=J.snapshot._urlSegment;return new st(At,At===ie.root,0)}const Ve=un(ve.commands[0])?0:1;return function Fe(ve,ie,J){let Ve=ve,Ke=ie,At=J;for(;At>Ke;){if(At-=Ke,Ve=Ve.parent,!Ve)throw new Error("Invalid number of '../'");Ke=Ve.segments.length}return new st(Ve,!1,Ke-At)}(J.snapshot._urlSegment,J.snapshot._lastPathIndex+Ve,ve.numberOfDoubleDots)}(At,ie,ve),Ft=Ot.processChildren?wt(Ot.segmentGroup,Ot.index,At.commands):Je(Ot.segmentGroup,Ot.index,At.commands);return ln(Ot.segmentGroup,Ft,ie,Ve,Ke)}(Ci,this.currentUrlTree,J,Di,null!=Gi?Gi:null)}navigateByUrl(J,Ve={skipLocationChange:!1}){const Ke=En(J)?J:this.parseUrl(J),At=this.urlHandlingStrategy.merge(Ke,this.rawUrlTree);return this.scheduleNavigation(At,"imperative",null,Ve)}navigate(J,Ve={skipLocationChange:!1}){return function Ga(ve){for(let ie=0;ie{const At=J[Ke];return null!=At&&(Ve[Ke]=At),Ve},{})}processNavigations(){this.navigations.subscribe(J=>{this.navigated=!0,this.lastSuccessfulId=J.id,this.currentPageId=J.targetPageId,this.events.next(new Pe(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,J.resolve(!0)},J=>{this.console.warn(`Unhandled Navigation Error: ${J}`)})}scheduleNavigation(J,Ve,Ke,At,Ot){var Ft,Xt,Ci;if(this.disposed)return Promise.resolve(!1);const Gi=this.transitions.value,Di=rs(Ve)&&Gi&&!rs(Gi.source),Qi=Gi.rawUrl.toString()===J.toString(),$i=Gi.id===(null===(Ft=this.currentNavigation)||void 0===Ft?void 0:Ft.id);if(Di&&Qi&&$i)return Promise.resolve(!0);let pr,fr,Kn;Ot?(pr=Ot.resolve,fr=Ot.reject,Kn=Ot.promise):Kn=new Promise((Br,Ya)=>{pr=Br,fr=Ya});const Er=++this.navigationId;let mr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Ke=this.location.getState()),mr=Ke&&Ke.\u0275routerPageId?Ke.\u0275routerPageId:At.replaceUrl||At.skipLocationChange?null!==(Xt=this.browserPageId)&&void 0!==Xt?Xt:0:(null!==(Ci=this.browserPageId)&&void 0!==Ci?Ci:0)+1):mr=0,this.setTransition({id:Er,targetPageId:mr,source:Ve,restoredState:Ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:J,extras:At,resolve:pr,reject:fr,promise:Kn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kn.catch(Br=>Promise.reject(Br))}setBrowserUrl(J,Ve){const Ke=this.urlSerializer.serialize(J),At=Object.assign(Object.assign({},Ve.extras.state),this.generateNgRouterState(Ve.id,Ve.targetPageId));this.location.isCurrentPathEqualTo(Ke)||Ve.extras.replaceUrl?this.location.replaceState(Ke,"",At):this.location.go(Ke,"",At)}restoreHistory(J,Ve=!1){var Ke,At;if("computed"===this.canceledNavigationResolution){const Ot=this.currentPageId-J.targetPageId;"popstate"!==J.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Ke=this.currentNavigation)||void 0===Ke?void 0:Ke.finalUrl)||0===Ot?this.currentUrlTree===(null===(At=this.currentNavigation)||void 0===At?void 0:At.finalUrl)&&0===Ot&&(this.resetState(J),this.browserUrlTree=J.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(Ot)}else"replace"===this.canceledNavigationResolution&&(Ve&&this.resetState(J),this.resetUrlToCurrentUrlTree())}resetState(J){this.routerState=J.currentRouterState,this.currentUrlTree=J.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,J.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(J,Ve){const Ke=new ce(J.id,this.serializeUrl(J.extractedUrl),Ve);this.triggerEvent(Ke),J.resolve(!1)}generateNgRouterState(J,Ve){return"computed"===this.canceledNavigationResolution?{navigationId:J,\u0275routerPageId:Ve}:{navigationId:J}}}return ve.\u0275fac=function(J){e.$Z()},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function rs(ve){return"imperative"!==ve}let ss=(()=>{class ve{constructor(J,Ve,Ke,At,Ot){this.router=J,this.route=Ve,this.tabIndexAttribute=Ke,this.renderer=At,this.el=Ot,this.commands=null,this.onChanges=new he.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(J){if(null!=this.tabIndexAttribute)return;const Ve=this.renderer,Ke=this.el.nativeElement;null!==J?Ve.setAttribute(Ke,"tabindex",J):Ve.removeAttribute(Ke,"tabindex")}ngOnChanges(J){this.onChanges.next(this)}set routerLink(J){null!=J?(this.commands=Array.isArray(J)?J:[J],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const J={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,J),!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:ur(this.preserveFragment)})}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(Vn),e.Y36(wi),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},ve.\u0275dir=e.lG2({type:ve,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(J,Ve){1&J&&e.NdJ("click",function(){return Ve.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),ve})(),as=(()=>{class ve{constructor(J,Ve,Ke){this.router=J,this.route=Ve,this.locationStrategy=Ke,this.commands=null,this.href=null,this.onChanges=new he.x,this.subscription=J.events.subscribe(At=>{At instanceof Pe&&this.updateTargetUrlAndHref()})}set routerLink(J){this.commands=null!=J?Array.isArray(J)?J:[J]:null}ngOnChanges(J){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(J,Ve,Ke,At,Ot){if(0!==J||Ve||Ke||At||Ot||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Ft={skipLocationChange:ur(this.skipLocationChange),replaceUrl:ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Ft),!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:ur(this.preserveFragment)})}}return ve.\u0275fac=function(J){return new(J||ve)(e.Y36(Vn),e.Y36(wi),e.Y36(P.S$))},ve.\u0275dir=e.lG2({type:ve,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(J,Ve){1&J&&e.NdJ("click",function(At){return Ve.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&J&&e.uIk("target",Ve.target)("href",Ve.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]}),ve})();function ur(ve){return""===ve||!!ve}class cs{}class Xs{preload(ie,J){return(0,I.of)(null)}}let hr=(()=>{class ve{constructor(J,Ve,Ke,At){this.router=J,this.injector=Ke,this.preloadingStrategy=At,this.loader=new Ks(Ke,Ve,Xt=>J.triggerEvent(new Ue(Xt)),Xt=>J.triggerEvent(new _e(Xt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,pe.h)(J=>J instanceof Pe),(0,We.b)(()=>this.preload())).subscribe(()=>{})}preload(){const J=this.injector.get(e.h0i);return this.processRoutes(J,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(J,Ve){const Ke=[];for(const At of Ve)if(At.loadChildren&&!At.canLoad&&At._loadedConfig){const Ot=At._loadedConfig;Ke.push(this.processRoutes(Ot.module,Ot.routes))}else At.loadChildren&&!At.canLoad?Ke.push(this.preloadConfig(J,At)):At.children&&Ke.push(this.processRoutes(J,At.children));return(0,v.D)(Ke).pipe((0,z.J)(),(0,Y.U)(At=>{}))}preloadConfig(J,Ve){return this.preloadingStrategy.preload(Ve,()=>(Ve._loadedConfig?(0,I.of)(Ve._loadedConfig):this.loader.load(J.injector,Ve)).pipe((0,Le.z)(At=>(Ve._loadedConfig=At,this.processRoutes(At.module,At.routes)))))}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(Vn),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(cs))},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Or=(()=>{class ve{constructor(J,Ve,Ke={}){this.router=J,this.viewportScroller=Ve,this.options=Ke,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ke.scrollPositionRestoration=Ke.scrollPositionRestoration||"disabled",Ke.anchorScrolling=Ke.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(J=>{J instanceof Ce?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=J.navigationTrigger,this.restoredId=J.restoredState?J.restoredState.navigationId:0):J instanceof Pe&&(this.lastId=J.id,this.scheduleScrollEvent(J,this.router.parseUrl(J.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(J=>{J instanceof V&&(J.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(J.position):J.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(J.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(J,Ve){this.router.triggerEvent(new V(J,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ve))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return ve.\u0275fac=function(J){e.$Z()},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Hr=new e.OlP("ROUTER_CONFIGURATION"),Fr=new e.OlP("ROUTER_FORROOT_GUARD"),ea=[P.Ye,{provide:Tt,useClass:ot},{provide:Vn,useFactory:function ia(ve,ie,J,Ve,Ke,At,Ot={},Ft,Xt){const Ci=new Vn(null,ve,ie,J,Ve,Ke,r(At));return Ft&&(Ci.urlHandlingStrategy=Ft),Xt&&(Ci.routeReuseStrategy=Xt),function us(ve,ie){ve.errorHandler&&(ie.errorHandler=ve.errorHandler),ve.malformedUriErrorHandler&&(ie.malformedUriErrorHandler=ve.malformedUriErrorHandler),ve.onSameUrlNavigation&&(ie.onSameUrlNavigation=ve.onSameUrlNavigation),ve.paramsInheritanceStrategy&&(ie.paramsInheritanceStrategy=ve.paramsInheritanceStrategy),ve.relativeLinkResolution&&(ie.relativeLinkResolution=ve.relativeLinkResolution),ve.urlUpdateStrategy&&(ie.urlUpdateStrategy=ve.urlUpdateStrategy),ve.canceledNavigationResolution&&(ie.canceledNavigationResolution=ve.canceledNavigationResolution)}(Ot,Ci),Ot.enableTracing&&Ci.events.subscribe(Gi=>{var Di,Qi;null===(Di=console.group)||void 0===Di||Di.call(console,`Router Event: ${Gi.constructor.name}`),console.log(Gi.toString()),console.log(Gi),null===(Qi=console.groupEnd)||void 0===Qi||Qi.call(console)}),Ci},deps:[Tt,xn,P.Ye,e.zs3,e.Sil,is,Hr,[class ns{},new e.FiY],[zr,new e.FiY]]},xn,{provide:wi,useFactory:function Wa(ve){return ve.routerState.root},deps:[Vn]},hr,Xs,class za{preload(ie,J){return J().pipe((0,Se.K)(()=>(0,I.of)(null)))}},{provide:Hr,useValue:{enableTracing:!1}}];function ko(){return new e.PXZ("Router",Vn)}let Vo=(()=>{class ve{constructor(J,Ve){}static forRoot(J,Ve){return{ngModule:ve,providers:[ea,ta(J),{provide:Fr,useFactory:ds,deps:[[Vn,new e.FiY,new e.tp0]]},{provide:Hr,useValue:Ve||{}},{provide:P.S$,useFactory:fd,deps:[P.lw,[new e.tBr(P.mr),new e.FiY],Hr]},{provide:Or,useFactory:pd,deps:[Vn,P.EM,Hr]},{provide:cs,useExisting:Ve&&Ve.preloadingStrategy?Ve.preloadingStrategy:Xs},{provide:e.PXZ,multi:!0,useFactory:ko},[hs,{provide:e.ip1,multi:!0,useFactory:Ur,deps:[hs]},{provide:Lr,useFactory:Fo,deps:[hs]},{provide:e.tb,multi:!0,useExisting:Lr}]]}}static forChild(J){return{ngModule:ve,providers:[ta(J)]}}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(Fr,8),e.LFG(Vn,8))},ve.\u0275mod=e.oAB({type:ve}),ve.\u0275inj=e.cJS({}),ve})();function pd(ve,ie,J){return J.scrollOffset&&ie.setOffset(J.scrollOffset),new Or(ve,ie,J)}function fd(ve,ie,J={}){return J.useHash?new P.Do(ve,ie):new P.b0(ve,ie)}function ds(ve){return"guarded"}function ta(ve){return[{provide:e.deG,multi:!0,useValue:ve},{provide:is,multi:!0,useValue:ve}]}let hs=(()=>{class ve{constructor(J){this.injector=J,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new he.x}appInitializer(){return this.injector.get(P.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Ve=null;const Ke=new Promise(Ft=>Ve=Ft),At=this.injector.get(Vn),Ot=this.injector.get(Hr);return"disabled"===Ot.initialNavigation?(At.setUpLocationChangeListener(),Ve(!0)):"enabled"===Ot.initialNavigation||"enabledBlocking"===Ot.initialNavigation?(At.hooks.afterPreactivation=()=>this.initNavigation?(0,I.of)(null):(this.initNavigation=!0,Ve(!0),this.resultOfPreactivationDone),At.initialNavigation()):Ve(!0),Ke})}bootstrapListener(J){const Ve=this.injector.get(Hr),Ke=this.injector.get(hr),At=this.injector.get(Or),Ot=this.injector.get(Vn),Ft=this.injector.get(e.z2F);J===Ft.components[0]&&(("enabledNonBlocking"===Ve.initialNavigation||void 0===Ve.initialNavigation)&&Ot.initialNavigation(),Ke.setUpPreloading(),At.init(),Ot.resetRootComponentType(Ft.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return ve.\u0275fac=function(J){return new(J||ve)(e.LFG(e.zs3))},ve.\u0275prov=e.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function Ur(ve){return ve.appInitializer.bind(ve)}function Fo(ve){return ve.bootstrapListener.bind(ve)}const Lr=new e.OlP("Router Initializer")},51062:(qe,me,h)=>{"use strict";h.d(me,{Zw:()=>q,aw:()=>Le,X$:()=>ge,sK:()=>Se});var e=h(5e3),c=h(39646),g=h(45191),w=h(4128),_=h(97272),b=h(49770),E=h(95698),v=h(34782),I=h(54004),N=h(24351),A=h(63900);class q{}let j=(()=>{class ue extends q{getTranslation(z){return(0,c.of)({})}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class G{}let Q=(()=>{class ue{handle(z){return z.key}}return ue.\u0275fac=function(z){return new(z||ue)},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();function he(ue,Me){if(ue===Me)return!0;if(null===ue||null===Me)return!1;if(ue!=ue&&Me!=Me)return!0;let de,Ce,Pe,z=typeof ue;if(z==typeof Me&&"object"==z){if(!Array.isArray(ue)){if(Array.isArray(Me))return!1;for(Ce in Pe=Object.create(null),ue){if(!he(ue[Ce],Me[Ce]))return!1;Pe[Ce]=!0}for(Ce in Me)if(!(Ce in Pe)&&void 0!==Me[Ce])return!1;return!0}if(!Array.isArray(Me))return!1;if((de=ue.length)==Me.length){for(Ce=0;Ce{be(Me[P])?P in ue?z[P]=pe(ue[P],Me[P]):Object.assign(z,{[P]:Me[P]}):Object.assign(z,{[P]:Me[P]})}),z}class ye{}let T=(()=>{class ue extends ye{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(z,P){let de;return de="string"==typeof z?this.interpolateString(z,P):"function"==typeof z?this.interpolateFunction(z,P):z,de}getValue(z,P){let de="string"==typeof P?P.split("."):[P];P="";do{P+=de.shift(),!F(z)||!F(z[P])||"object"!=typeof z[P]&&de.length?de.length?P+=".":z=void 0:(z=z[P],P="")}while(de.length);return z}interpolateFunction(z,P){return z(P)}interpolateString(z,P){return P?z.replace(this.templateMatcher,(de,Ce)=>{let Pe=this.getValue(P,Ce);return F(Pe)?Pe:de}):z}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class R{}let L=(()=>{class ue extends R{compile(z,P){return z}compileTranslations(z,P){return z}}return ue.\u0275fac=function(){let Me;return function(P){return(Me||(Me=e.n5z(ue)))(P||ue)}}(),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})();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 Y=new e.OlP("USE_STORE"),se=new e.OlP("USE_DEFAULT_LANG"),Te=new e.OlP("DEFAULT_LANGUAGE"),Oe=new e.OlP("USE_EXTEND");let Se=(()=>{class ue{constructor(z,P,de,Ce,Pe,ce=!0,fe=!1,Ze=!1,ne){this.store=z,this.currentLoader=P,this.compiler=de,this.parser=Ce,this.missingTranslationHandler=Pe,this.useDefaultLang=ce,this.isolate=fe,this.extend=Ze,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},ne&&this.setDefaultLang(ne)}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(z){this.isolate?this._defaultLang=z:this.store.defaultLang=z}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(z){this.isolate?this._currentLang=z:this.store.currentLang=z}get langs(){return this.isolate?this._langs:this.store.langs}set langs(z){this.isolate?this._langs=z:this.store.langs=z}get translations(){return this.isolate?this._translations:this.store.translations}set translations(z){this.isolate?this._translations=z:this.store.translations=z}setDefaultLang(z){if(z===this.defaultLang)return;let P=this.retrieveTranslations(z);void 0!==P?(null==this.defaultLang&&(this.defaultLang=z),P.pipe((0,E.q)(1)).subscribe(de=>{this.changeDefaultLang(z)})):this.changeDefaultLang(z)}getDefaultLang(){return this.defaultLang}use(z){if(z===this.currentLang)return(0,c.of)(this.translations[z]);let P=this.retrieveTranslations(z);return void 0!==P?(this.currentLang||(this.currentLang=z),P.pipe((0,E.q)(1)).subscribe(de=>{this.changeLang(z)}),P):(this.changeLang(z),(0,c.of)(this.translations[z]))}retrieveTranslations(z){let P;return(void 0===this.translations[z]||this.extend)&&(this._translationRequests[z]=this._translationRequests[z]||this.getTranslation(z),P=this._translationRequests[z]),P}getTranslation(z){this.pending=!0;const P=this.currentLoader.getTranslation(z).pipe((0,v.d)(1),(0,E.q)(1));return this.loadingTranslations=P.pipe((0,I.U)(de=>this.compiler.compileTranslations(de,z)),(0,v.d)(1),(0,E.q)(1)),this.loadingTranslations.subscribe({next:de=>{this.translations[z]=this.extend&&this.translations[z]?Object.assign(Object.assign({},de),this.translations[z]):de,this.updateLangs(),this.pending=!1},error:de=>{this.pending=!1}}),P}setTranslation(z,P,de=!1){P=this.compiler.compileTranslations(P,z),this.translations[z]=(de||this.extend)&&this.translations[z]?pe(this.translations[z],P):P,this.updateLangs(),this.onTranslationChange.emit({lang:z,translations:this.translations[z]})}getLangs(){return this.langs}addLangs(z){z.forEach(P=>{-1===this.langs.indexOf(P)&&this.langs.push(P)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(z,P,de){let Ce;if(P instanceof Array){let Pe={},ce=!1;for(let fe of P)Pe[fe]=this.getParsedResult(z,fe,de),(0,g.b)(Pe[fe])&&(ce=!0);if(ce){const fe=P.map(Ze=>(0,g.b)(Pe[Ze])?Pe[Ze]:(0,c.of)(Pe[Ze]));return(0,w.D)(fe).pipe((0,I.U)(Ze=>{let ne={};return Ze.forEach((it,Be)=>{ne[P[Be]]=it}),ne}))}return Pe}if(z&&(Ce=this.parser.interpolate(this.parser.getValue(z,P),de)),void 0===Ce&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ce=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],P),de)),void 0===Ce){let Pe={key:P,translateService:this};void 0!==de&&(Pe.interpolateParams=de),Ce=this.missingTranslationHandler.handle(Pe)}return void 0!==Ce?Ce:P}get(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,N.b)(de=>(de=this.getParsedResult(de,z,P),(0,g.b)(de)?de:(0,c.of)(de))));{let de=this.getParsedResult(this.translations[this.currentLang],z,P);return(0,g.b)(de)?de:(0,c.of)(de)}}getStreamOnTranslationChange(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');return(0,_.z)((0,b.P)(()=>this.get(z,P)),this.onTranslationChange.pipe((0,A.w)(de=>{const Ce=this.getParsedResult(de.translations,z,P);return"function"==typeof Ce.subscribe?Ce:(0,c.of)(Ce)})))}stream(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');return(0,_.z)((0,b.P)(()=>this.get(z,P)),this.onLangChange.pipe((0,A.w)(de=>{const Ce=this.getParsedResult(de.translations,z,P);return(0,g.b)(Ce)?Ce:(0,c.of)(Ce)})))}instant(z,P){if(!F(z)||!z.length)throw new Error('Parameter "key" required');let de=this.getParsedResult(this.translations[this.currentLang],z,P);if((0,g.b)(de)){if(z instanceof Array){let Ce={};return z.forEach((Pe,ce)=>{Ce[z[ce]]=z[ce]}),Ce}return z}return de}set(z,P,de=this.currentLang){this.translations[de][z]=this.compiler.compile(P,de),this.updateLangs(),this.onTranslationChange.emit({lang:de,translations:this.translations[de]})}changeLang(z){this.currentLang=z,this.onLangChange.emit({lang:z,translations:this.translations[z]}),null==this.defaultLang&&this.changeDefaultLang(z)}changeDefaultLang(z){this.defaultLang=z,this.onDefaultLangChange.emit({lang:z,translations:this.translations[z]})}reloadLang(z){return this.resetLang(z),this.getTranslation(z)}resetLang(z){this._translationRequests[z]=void 0,this.translations[z]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==z?(-1!==z.indexOf("-")&&(z=z.split("-")[0]),-1!==z.indexOf("_")&&(z=z.split("_")[0]),z):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,z}}return ue.\u0275fac=function(z){return new(z||ue)(e.LFG(X),e.LFG(q),e.LFG(R),e.LFG(ye),e.LFG(G),e.LFG(se),e.LFG(Y),e.LFG(Oe),e.LFG(Te))},ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),ge=(()=>{class ue{constructor(z,P){this.translate=z,this._ref=P,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(z,P,de){let Ce=Pe=>{this.value=void 0!==Pe?Pe:z,this.lastKey=z,this._ref.markForCheck()};if(de){let Pe=this.translate.getParsedResult(de,z,P);(0,g.b)(Pe.subscribe)?Pe.subscribe(Ce):Ce(Pe)}this.translate.get(z,P).subscribe(Ce)}transform(z,...P){if(!z||!z.length)return z;if(he(z,this.lastKey)&&he(P,this.lastParams))return this.value;let de;if(F(P[0])&&P.length)if("string"==typeof P[0]&&P[0].length){let Ce=P[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{de=JSON.parse(Ce)}catch(Pe){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${P[0]}`)}}else"object"==typeof P[0]&&!Array.isArray(P[0])&&(de=P[0]);return this.lastKey=z,this.lastParams=P,this.updateValue(z,de),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ce=>{this.lastKey&&Ce.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(z,de,Ce.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ce=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,de,Ce.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,de))})),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 ue.\u0275fac=function(z){return new(z||ue)(e.Y36(Se,16),e.Y36(e.sBO,16))},ue.\u0275pipe=e.Yjl({name:"translate",type:ue,pure:!1}),ue.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),Le=(()=>{class ue{static forRoot(z={}){return{ngModule:ue,providers:[z.loader||{provide:q,useClass:j},z.compiler||{provide:R,useClass:L},z.parser||{provide:ye,useClass:T},z.missingTranslationHandler||{provide:G,useClass:Q},X,{provide:Y,useValue:z.isolate},{provide:se,useValue:z.useDefaultLang},{provide:Oe,useValue:z.extend},{provide:Te,useValue:z.defaultLanguage},Se]}}static forChild(z={}){return{ngModule:ue,providers:[z.loader||{provide:q,useClass:j},z.compiler||{provide:R,useClass:L},z.parser||{provide:ye,useClass:T},z.missingTranslationHandler||{provide:G,useClass:Q},{provide:Y,useValue:z.isolate},{provide:se,useValue:z.useDefaultLang},{provide:Oe,useValue:z.extend},{provide:Te,useValue:z.defaultLanguage},Se]}}}return ue.\u0275fac=function(z){return new(z||ue)},ue.\u0275mod=e.oAB({type:ue}),ue.\u0275inj=e.cJS({}),ue})()},86114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(77579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(39646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(32076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(54355),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(62843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(39841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(56451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(39300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(18505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(78372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(91005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(63900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(54004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(50590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(70262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(17414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(95698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(86099),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class qe extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return qe.\u0275fac=function(){let me;return function(e){return(me||(me=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(qe)))(e||qe)}}(),qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class qe{constructor(){this.data=new Map}getItem(h){return this.data.get(h)}removeItem(h){this.data.delete(h)}setItem(h,e){this.data.set(h,e)}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class ReceivedTokens{}class OAuthEvent{constructor(me){this.type=me}}class OAuthSuccessEvent extends OAuthEvent{constructor(me,h=null){super(me),this.info=h}}class OAuthInfoEvent extends OAuthEvent{constructor(me,h=null){super(me),this.info=h}}class OAuthErrorEvent extends OAuthEvent{constructor(me,h,e=null){super(me),this.reason=h,this.params=e}}function b64DecodeUnicode(qe){const me=qe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(me).split("").map(function(h){return"%"+("00"+h.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(qe){return btoa(qe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(me){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=h=>{location.href=h},me&&Object.assign(this,me)}}class WebHttpUrlEncodingCodec{encodeKey(me){return encodeURIComponent(me)}encodeValue(me){return encodeURIComponent(me)}decodeKey(me){return decodeURIComponent(me)}decodeValue(me){return decodeURIComponent(me)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(me){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let h=this.inferHashAlgorithm(me.idTokenHeader),e=yield this.calcHash(me.accessToken,h),g=base64UrlEncode(e.substr(0,e.length/2)),w=me.idTokenClaims.at_hash.replace(/=/g,"");return g!==w&&(console.error("exptected at_hash: "+g),console.error("actual at_hash: "+w)),g===w})}inferHashAlgorithm(me){let h=me.alg;if(!h.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+h);return"sha-"+h.substr(2)}}let UrlHelperService=(()=>{class qe{getHashFragmentParams(h){let e=h||window.location.hash;if(e=decodeURIComponent(e),0!==e.indexOf("#"))return{};const c=e.indexOf("?");return e=e.substr(c>-1?c+1:1),this.parseQueryString(e)}parseQueryString(h){const e={};let c,g,w,_,b,E,v;if(null===h)return e;c=h.split("&");for(let I=0;I>6,g[_++]=128|63&b):b<55296||b>=57344?(g[_++]=224|b>>12,g[_++]=128|b>>6&63,g[_++]=128|63&b):(b=65536+((1023&b)<<10|1023&qe.charCodeAt(++e)),g[_++]=240|b>>18,g[_++]=128|b>>12&63,g[_++]=128|b>>6&63,g[_++]=128|63&b);qe=g}else{if("object"!==c)throw new Error(ERROR);if(null===qe)throw new Error(ERROR);if(ARRAY_BUFFER&&qe.constructor===ArrayBuffer)qe=new Uint8Array(qe);else if(!(Array.isArray(qe)||ARRAY_BUFFER&&ArrayBuffer.isView(qe)))throw new Error(ERROR)}qe.length>64&&(qe=new Sha256(me,!0).update(qe).array());var E=[],v=[];for(e=0;e<64;++e){var I=qe[e]||0;E[e]=92^I,v[e]=54^I}Sha256.call(this,me,h),this.update(v),this.oKeyPad=E,this.inner=!0,this.sharedMemory=h}Sha256.prototype.update=function(qe){if(!this.finalized){var me,h=typeof qe;if("string"!==h){if("object"!==h)throw new Error(ERROR);if(null===qe)throw new Error(ERROR);if(ARRAY_BUFFER&&qe.constructor===ArrayBuffer)qe=new Uint8Array(qe);else if(!(Array.isArray(qe)||ARRAY_BUFFER&&ArrayBuffer.isView(qe)))throw new Error(ERROR);me=!0}for(var e,g,c=0,w=qe.length,_=this.blocks;c>2]|=qe[c]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(_[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=_[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 qe=this.blocks,me=this.lastByteIndex;qe[16]=this.block,qe[me>>2]|=EXTRA[3&me],this.block=qe[16],me>=56&&(this.hashed||this.hash(),qe[0]=this.block,qe[16]=qe[1]=qe[2]=qe[3]=qe[4]=qe[5]=qe[6]=qe[7]=qe[8]=qe[9]=qe[10]=qe[11]=qe[12]=qe[13]=qe[14]=qe[15]=0),qe[14]=this.hBytes<<3|this.bytes>>>29,qe[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var E,A,G,Q,he,F,qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=this.blocks;for(E=16;E<64;++E)b[E]=b[E-16]+(((A=b[E-15])>>>7|A<<25)^(A>>>18|A<<14)^A>>>3)+b[E-7]+(((A=b[E-2])>>>17|A<<15)^(A>>>19|A<<13)^A>>>10)<<0;for(F=me&h,E=0;E<64;E+=4)this.first?(this.is224?(G=300032,_=(A=b[0]-1413257819)-150054599<<0,e=A+24177077<<0):(G=704751109,_=(A=b[0]-210244248)-1521486534<<0,e=A+143694565<<0),this.first=!1):(_=e+(A=_+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&g^~c&w)+K[E]+b[E])<<0,e=A+(((qe>>>2|qe<<30)^(qe>>>13|qe<<19)^(qe>>>22|qe<<10))+((G=qe&me)^qe&h^F))<<0),w=h+(A=w+((_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7))+(_&c^~_&g)+K[E+1]+b[E+1])<<0,h=A+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+((Q=e&qe)^e&me^G))<<0,g=me+(A=g+((w>>>6|w<<26)^(w>>>11|w<<21)^(w>>>25|w<<7))+(w&_^~w&c)+K[E+2]+b[E+2])<<0,me=A+(((h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10))+((he=h&e)^h&qe^Q))<<0,c=qe+(A=c+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&w^~g&_)+K[E+3]+b[E+3])<<0,qe=A+(((me>>>2|me<<30)^(me>>>13|me<<19)^(me>>>22|me<<10))+((F=me&h)^me&e^he))<<0;this.h0=this.h0+qe<<0,this.h1=this.h1+me<<0,this.h2=this.h2+h<<0,this.h3=this.h3+e<<0,this.h4=this.h4+c<<0,this.h5=this.h5+g<<0,this.h6=this.h6+w<<0,this.h7=this.h7+_<<0},Sha256.prototype.hex=function(){this.finalize();var qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=HEX_CHARS[qe>>28&15]+HEX_CHARS[qe>>24&15]+HEX_CHARS[qe>>20&15]+HEX_CHARS[qe>>16&15]+HEX_CHARS[qe>>12&15]+HEX_CHARS[qe>>8&15]+HEX_CHARS[qe>>4&15]+HEX_CHARS[15&qe]+HEX_CHARS[me>>28&15]+HEX_CHARS[me>>24&15]+HEX_CHARS[me>>20&15]+HEX_CHARS[me>>16&15]+HEX_CHARS[me>>12&15]+HEX_CHARS[me>>8&15]+HEX_CHARS[me>>4&15]+HEX_CHARS[15&me]+HEX_CHARS[h>>28&15]+HEX_CHARS[h>>24&15]+HEX_CHARS[h>>20&15]+HEX_CHARS[h>>16&15]+HEX_CHARS[h>>12&15]+HEX_CHARS[h>>8&15]+HEX_CHARS[h>>4&15]+HEX_CHARS[15&h]+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[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]+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[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];return this.is224||(b+=HEX_CHARS[_>>28&15]+HEX_CHARS[_>>24&15]+HEX_CHARS[_>>20&15]+HEX_CHARS[_>>16&15]+HEX_CHARS[_>>12&15]+HEX_CHARS[_>>8&15]+HEX_CHARS[_>>4&15]+HEX_CHARS[15&_]),b},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var qe=this.h0,me=this.h1,h=this.h2,e=this.h3,c=this.h4,g=this.h5,w=this.h6,_=this.h7,b=[qe>>24&255,qe>>16&255,qe>>8&255,255&qe,me>>24&255,me>>16&255,me>>8&255,255&me,h>>24&255,h>>16&255,h>>8&255,255&h,e>>24&255,e>>16&255,e>>8&255,255&e,c>>24&255,c>>16&255,c>>8&255,255&c,g>>24&255,g>>16&255,g>>8&255,255&g,w>>24&255,w>>16&255,w>>8&255,255&w];return this.is224||b.push(_>>24&255,_>>16&255,_>>8&255,255&_),b},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var qe=new ArrayBuffer(this.is224?28:32),me=new DataView(qe);return me.setUint32(0,this.h0),me.setUint32(4,this.h1),me.setUint32(8,this.h2),me.setUint32(12,this.h3),me.setUint32(16,this.h4),me.setUint32(20,this.h5),me.setUint32(24,this.h6),this.is224||me.setUint32(28,this.h7),qe},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var qe=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(qe),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(qe){if("string"!=typeof qe)throw new TypeError("expected string");var me,h=qe,e=new Uint8Array(h.length);for(me=0;me{class qe{calcHash(h,e){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(h)))})}toHashString2(h){let e="";for(let c of h)e+=String.fromCharCode(c);return e}toHashString(h){const e=new Uint8Array(h);let c="";for(let g of e)c+=String.fromCharCode(g);return c}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),OAuthService=(()=>{class qe extends AuthConfig{constructor(h,e,c,g,w,_,b,E,v,I){var N;super(),this.ngZone=h,this.http=e,this.config=w,this.urlHelper=_,this.logger=b,this.crypto=E,this.dateTimeService=I,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=v,w||(w={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),g&&(this.tokenValidationHandler=g),w&&this.configure(w);try{c?this.setStorage(c):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(A){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",A)}if(this.checkLocalStorageAccessable()){const A=null===(N=null==window?void 0:window.navigator)||void 0===N?void 0:N.userAgent;((null==A?void 0:A.includes("MSIE "))||(null==A?void 0:A.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const h="test";try{return void 0!==window.localStorage&&(localStorage.setItem(h,h),localStorage.removeItem(h),!0)}catch(e){return!1}}configure(h){Object.assign(this,new AuthConfig,h),this.config=Object.assign({},new AuthConfig,h),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)(h=>"token_received"===h.type)).subscribe(h=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(h={},e,c=!0){let g=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(w=>{"token_received"===w.type?g=!0:"logout"===w.type&&(g=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_expires"===w.type&&(null==e||"any"===e||w.info===e)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(w=>{g&&this.refreshInternal(h,c).catch(_=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(h,e){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(h,e):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(h=null){return this.loadDiscoveryDocument().then(e=>this.tryLogin(h))}loadDiscoveryDocumentAndLogin(h=null){return this.loadDiscoveryDocumentAndTryLogin(h=h||{}).then(e=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof h.state?h.state:""),!1))}debug(...h){this.showDebugInformation&&this.logger.debug.apply(this.logger,h)}validateUrlFromDiscoveryDocument(h){const e=[],c=this.validateUrlForHttps(h),g=this.validateUrlAgainstIssuer(h);return c||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(h){if(!h)return!0;const e=h.toLowerCase();return!(!1!==this.requireHttps&&(!e.match(/^http:\/\/localhost($|[:\/])/)&&!e.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||e.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(h,e){if(!h)throw new Error(`'${e}' should not be null`);if(!this.validateUrlForHttps(h))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(h){return!this.strictDiscoveryDocumentValidation||!h||h.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)(h=>"token_received"===h.type)).subscribe(h=>{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 h=this.getAccessTokenExpiration(),e=this.getAccessTokenStoredAt(),c=this.calcTimeout(e,h);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)(c)).subscribe(g=>{this.ngZone.run(()=>{this.eventsSubject.next(g)})})})}setupIdTokenTimer(){const h=this.getIdTokenExpiration(),e=this.getIdTokenStoredAt(),c=this.calcTimeout(e,h);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)(c)).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(h,e){const c=this.dateTimeService.now();return Math.max(0,(e-h)*this.timeoutFactor-(c-h))}setStorage(h){this._storage=h,this.configChanged()}loadDiscoveryDocument(h=null){return new Promise((e,c)=>{h||((h=this.issuer||"").endsWith("/")||(h+="/"),h+=".well-known/openid-configuration"),this.validateUrlForHttps(h)?this.http.get(h).subscribe(g=>{if(!this.validateDiscoveryDocument(g))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void c("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(w=>{const b=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:g,jwks:w});this.eventsSubject.next(b),e(b)}).catch(w=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",w)),c(w)})},g=>{this.logger.error("error loading discovery document",g),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",g)),c(g)}):c("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((h,e)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(c=>{this.jwks=c,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),h(c)},c=>{this.logger.error("error loading jwks",c),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",c)),e(c)}):h(null)})}validateDiscoveryDocument(h){let e;return this.skipIssuerCheck||h.issuer===this.issuer?(e=this.validateUrlFromDiscoveryDocument(h.authorization_endpoint),e.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.end_session_endpoint),e.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.token_endpoint),e.length>0&&this.logger.error("error validating token_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(h.revocation_endpoint),e.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",e),e=this.validateUrlFromDiscoveryDocument(h.userinfo_endpoint),e.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",e),!1):(e=this.validateUrlFromDiscoveryDocument(h.jwks_uri),e.length>0?(this.logger.error("error validating jwks_uri in discovery document",e),!1):(this.sessionChecksEnabled&&!h.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: "+h.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(h,e,c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(h,e,c).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((h,e)=>{const c=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:c,observe:"response",responseType:"text"}).subscribe(g=>{if(this.debug("userinfo received",JSON.stringify(g)),g.headers.get("content-type").startsWith("application/json")){let w=JSON.parse(g.body);const _=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!_.sub||w.sub!==_.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");w=Object.assign({},_,w),this._storage.setItem("id_token_claims_obj",JSON.stringify(w)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),h({info:w})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),h(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(h,e,c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:h,password:e},c)}fetchTokenUsingGrant(h,e,c=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",h).set("scope",this.scope);if(this.useHttpBasicAuth){const w=btoa(`${this.clientId}:${this.dummyClientSecret}`);c=c.set("Authorization","Basic "+w)}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 w of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(w,this.customQueryParams[w]);for(const w of Object.keys(e))g=g.set(w,e[w]);return c=c.set("Content-Type","application/x-www-form-urlencoded"),new Promise((w,_)=>{this.http.post(this.tokenEndpoint,g,{headers:c}).subscribe(b=>{this.debug("tokenResponse",b),this.storeAccessTokenResponse(b.access_token,b.refresh_token,b.expires_in||this.fallbackAccessTokenExpirationTimeInSec,b.scope,this.extractRecognizedCustomParameters(b)),this.oidc&&b.id_token&&this.processIdToken(b.id_token,b.access_token).then(E=>{this.storeIdToken(E),w(b)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),w(b)},b=>{this.logger.error("Error performing ${grantType} flow",b),this.eventsSubject.next(new OAuthErrorEvent("token_error",b)),_(b)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((h,e)=>{let c=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 w=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+w)}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 w of Object.getOwnPropertyNames(this.customQueryParams))c=c.set(w,this.customQueryParams[w]);this.http.post(this.tokenEndpoint,c,{headers:g}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(w=>w.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(w.id_token,w.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(_=>this.storeIdToken(_)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(_=>w)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(w))).subscribe(w=>{this.debug("refresh tokenResponse",w),this.storeAccessTokenResponse(w.access_token,w.refresh_token,w.expires_in||this.fallbackAccessTokenExpirationTimeInSec,w.scope,this.extractRecognizedCustomParameters(w)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),h(w)},w=>{this.logger.error("Error refreshing token",w),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",w)),e(w)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=h=>{const e=this.processMessageEventMessage(h);this.tryLogin({customHashFragment:e,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(c=>this.debug("tryLogin during silent refresh failed",c))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(h={},e=!0){const c=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(h.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=c.sub;const w=this.document.createElement("iframe");w.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,e,h).then(I=>{w.setAttribute("src",I),this.silentRefreshShowIFrame||(w.style.display="none"),this.document.body.appendChild(w)});const b=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(I=>I instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),E=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(I=>"token_received"===I.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),v=(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__.S)([b,E,v]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(I=>{if(I instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===I.type||(I=new OAuthErrorEvent("silent_refresh_error",I)),this.eventsSubject.next(I),I;return"token_received"===I.type&&(I=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(I)),I})).toPromise()}initImplicitFlowInPopup(h){return this.initLoginFlowInPopup(h)}initLoginFlowInPopup(h){return h=h||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(e=>new Promise((c,g)=>{let b,_=null;h.windowRef?h.windowRef&&!h.windowRef.closed&&(_=h.windowRef,_.location.href=e):_=window.open(e,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(h));const E=q=>{this.tryLogin({customHashFragment:q,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{I(),c(!0)},j=>{I(),g(j)})};_?b=window.setInterval(()=>{(!_||_.closed)&&(I(),g(new OAuthErrorEvent("popup_closed",{})))},500):g(new OAuthErrorEvent("popup_blocked",{}));const I=()=>{window.clearInterval(b),window.removeEventListener("storage",A),window.removeEventListener("message",N),null!==_&&_.close(),_=null},N=q=>{const j=this.processMessageEventMessage(q);j&&null!==j?(window.removeEventListener("storage",A),E(j)):console.log("false event firing")},A=q=>{"auth_hash"===q.key&&(window.removeEventListener("message",N),E(q.newValue))};window.addEventListener("message",N),window.addEventListener("storage",A)}))}calculatePopupFeatures(h){const e=h.height||470,c=h.width||500,g=window.screenLeft+(window.outerWidth-c)/2;return`location=no,toolbar=no,width=${c},height=${e},top=${window.screenTop+(window.outerHeight-e)/2},left=${g}`}processMessageEventMessage(h){let e="#";if(this.silentRefreshMessagePrefix&&(e+=this.silentRefreshMessagePrefix),!h||!h.data||"string"!=typeof h.data)return;const c=h.data;return c.startsWith(e)?"#"+c.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=h=>{const e=h.origin.toLowerCase(),c=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),c.startsWith(e)){switch(h.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",h)}else this.debug("sessionCheckEventListener","wrong origin",e,"expected",c,"event",h)},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(h=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(h=>{this.debug("token refresh after session change worked")}).catch(h=>{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)(h=>"silently_refreshed"===h.type||"silent_refresh_timeout"===h.type||"silent_refresh_error"===h.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(h=>{"silently_refreshed"!==h.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 h=this.document.getElementById(this.sessionCheckIFrameName);h&&this.document.body.removeChild(h);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 h=this.document.getElementById(this.sessionCheckIFrameName);h||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const e=this.getSessionState();e||this.stopSessionCheckTimer(),h.contentWindow.postMessage(this.clientId+" "+e,this.issuer)}createLoginUrl(h="",e="",c="",g=!1,w={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const _=this;let b;b=c||this.redirectUri;const E=yield this.createAndSaveNonce();if(h=h?E+this.config.nonceStateSeparator+encodeURIComponent(h):E,!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 v=_.loginUrl.indexOf("?")>-1?"&":"?";let I=_.scope;this.oidc&&!I.match(/(^|\s)openid($|\s)/)&&(I="openid "+I);let N=_.loginUrl+v+"response_type="+encodeURIComponent(_.responseType)+"&client_id="+encodeURIComponent(_.clientId)+"&state="+encodeURIComponent(h)+"&redirect_uri="+encodeURIComponent(b)+"&scope="+encodeURIComponent(I);if(this.responseType.includes("code")&&!this.disablePKCE){const[A,q]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",q):this._storage.setItem("PKCE_verifier",q),N+="&code_challenge="+A,N+="&code_challenge_method=S256"}e&&(N+="&login_hint="+encodeURIComponent(e)),_.resource&&(N+="&resource="+encodeURIComponent(_.resource)),_.oidc&&(N+="&nonce="+encodeURIComponent(E)),g&&(N+="&prompt=none");for(const A of Object.keys(w))N+="&"+encodeURIComponent(A)+"="+encodeURIComponent(w[A]);if(this.customQueryParams)for(const A of Object.getOwnPropertyNames(this.customQueryParams))N+="&"+A+"="+encodeURIComponent(this.customQueryParams[A]);return N})}initImplicitFlowInternal(h="",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 c={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(c=e),this.createLoginUrl(h,g,null,!1,c).then(this.config.openUri).catch(w=>{console.error("Error in initImplicitFlow",w),this.inImplicitFlow=!1})}initImplicitFlow(h="",e=""){""!==this.loginUrl?this.initImplicitFlowInternal(h,e):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"discovery_document_loaded"===c.type)).subscribe(c=>this.initImplicitFlowInternal(h,e))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(h){const e=this;if(h.onTokenReceived){const c={idClaims:e.getIdentityClaims(),idToken:e.getIdToken(),accessToken:e.getAccessToken(),state:e.state};h.onTokenReceived(c)}}storeAccessTokenResponse(h,e,c,g,w){if(this._storage.setItem("access_token",h),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()),c){const _=1e3*c,E=this.dateTimeService.new().getTime()+_;this._storage.setItem("expires_at",""+E)}e&&this._storage.setItem("refresh_token",e),w&&w.forEach((_,b)=>{this._storage.setItem(b,_)})}tryLogin(h=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(h).then(e=>!0):this.tryLoginImplicitFlow(h)}parseQueryString(h){return h&&0!==h.length?("?"===h.charAt(0)&&(h=h.substr(1)),this.urlHelper.parseQueryString(h)):{}}tryLoginCodeFlow(h=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const e=(h=h||{}).customHashFragment?h.customHashFragment.substring(1):window.location.search,c=this.getCodePartsFromUrl(e),g=c.code,w=c.state,_=c.session_state;if(!h.preventClearHashAfterLogin){const v=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,v)}let[b,E]=this.parseState(w);if(this.state=E,c.error){this.debug("error trying to login"),this.handleLoginError(h,c);const v=new OAuthErrorEvent("code_error",{},c);return this.eventsSubject.next(v),Promise.reject(v)}if(!h.disableNonceCheck){if(!b)return this.saveRequestedRoute(),Promise.resolve();if(!h.disableOAuth2StateCheck&&!this.validateNonce(b)){const I=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(I),Promise.reject(I)}return this.storeSessionState(_),g&&(yield this.getTokenFromCode(g,h),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const h=this._storage.getItem("requested_route");h&&history.replaceState(null,"",window.location.origin+h)}getCodePartsFromUrl(h){return h&&0!==h.length?("?"===h.charAt(0)&&(h=h.substr(1)),this.urlHelper.parseQueryString(h)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(h,e){let c=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",h).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?c=c.set("code_verifier",g):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(c,e)}fetchAndProcessToken(h,e){e=e||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let c=(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}`);c=c.set("Authorization","Basic "+g)}return this.useHttpBasicAuth||(h=h.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(h=h.set("client_secret",this.dummyClientSecret)),new Promise((g,w)=>{if(this.customQueryParams)for(let _ of Object.getOwnPropertyNames(this.customQueryParams))h=h.set(_,this.customQueryParams[_]);this.http.post(this.tokenEndpoint,h,{headers:c}).subscribe(_=>{this.debug("refresh tokenResponse",_),this.storeAccessTokenResponse(_.access_token,_.refresh_token,_.expires_in||this.fallbackAccessTokenExpirationTimeInSec,_.scope,this.extractRecognizedCustomParameters(_)),this.oidc&&_.id_token?this.processIdToken(_.id_token,_.access_token,e.disableNonceCheck).then(b=>{this.storeIdToken(b),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(_)}).catch(b=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",b)),console.error("Error validating tokens"),console.error(b),w(b)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),g(_))},_=>{console.error("Error getting token",_),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",_)),w(_)})})}tryLoginImplicitFlow(h=null){let e;e=(h=h||{}).customHashFragment?this.urlHelper.getHashFragmentParams(h.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",e);const c=e.state;let[g,w]=this.parseState(c);if(this.state=w,e.error){this.debug("error trying to login"),this.handleLoginError(h,e);const I=new OAuthErrorEvent("token_error",{},e);return this.eventsSubject.next(I),Promise.reject(I)}const _=e.access_token,b=e.id_token,E=e.session_state,v=e.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!_||this.requestAccessToken&&!h.disableOAuth2StateCheck&&!c||this.oidc&&!b)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!E&&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&&!h.disableNonceCheck&&!this.validateNonce(g)){const N=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(N),Promise.reject(N)}return this.requestAccessToken&&this.storeAccessTokenResponse(_,null,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,v),this.oidc?this.processIdToken(b,_,h.disableNonceCheck).then(I=>h.validationHandler?h.validationHandler({accessToken:_,idClaims:I.idTokenClaims,idToken:I.idToken,state:c}).then(N=>I):I).then(I=>(this.storeIdToken(I),this.storeSessionState(E),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(h),this.inImplicitFlow=!1,!0)).catch(I=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",I)),this.logger.error("Error validating tokens"),this.logger.error(I),Promise.reject(I))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(h),Promise.resolve(!0))}parseState(h){let e=h,c="";if(h){const g=h.indexOf(this.config.nonceStateSeparator);g>-1&&(e=h.substr(0,g),c=h.substr(g+this.config.nonceStateSeparator.length))}return[e,c]}validateNonce(h){let e;return e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),e===h||(console.error("Validating access_token failed, wrong state/nonce.",e,h),!1)}storeIdToken(h){this._storage.setItem("id_token",h.idToken),this._storage.setItem("id_token_claims_obj",h.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+h.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(h){this._storage.setItem("session_state",h)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(h,e){h.onLoginError&&h.onLoginError(e),this.clearHashAfterLogin&&!h.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(h=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:h}processIdToken(h,e,c=!1){const g=h.split("."),_=b64DecodeUnicode(this.padBase64(g[0])),b=JSON.parse(_),v=b64DecodeUnicode(this.padBase64(g[1])),I=JSON.parse(v);let N;if(N=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(I.aud)){if(I.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+I.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(I.aud!==this.clientId){const he="Wrong audience: "+I.aud;return this.logger.warn(he),Promise.reject(he)}if(!I.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==I.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${I.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!I.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&I.iss!==this.issuer){const he="Wrong issuer: "+I.iss;return this.logger.warn(he),Promise.reject(he)}if(!c&&I.nonce!==N){const he="Wrong nonce: "+I.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!I.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const A=this.dateTimeService.now(),q=1e3*I.iat,j=1e3*I.exp,G=this.getClockSkewInMsec();if(q-G>=A||j+G<=A){const he="Token has expired";return console.error(he),console.error({now:A,issuedAtMSec:q,expiresAtMSec:j}),Promise.reject(he)}const Q={accessToken:e,idToken:h,jwks:this.jwks,idTokenClaims:I,idTokenHeader:b,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(Q).then(he=>({idToken:h,idTokenClaims:I,idTokenClaimsJson:v,idTokenHeader:b,idTokenHeaderJson:_,idTokenExpiresAt:j})):this.checkAtHash(Q).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const F="Wrong at_hash";return this.logger.warn(F),Promise.reject(F)}return this.checkSignature(Q).then(F=>{const pe={idToken:h,idTokenClaims:I,idTokenClaimsJson:v,idTokenHeader:b,idTokenHeaderJson:_,idTokenExpiresAt:j};return this.disableAtHashCheck?pe:this.checkAtHash(Q).then(ye=>{if(this.requestAccessToken&&!ye){const T="Wrong at_hash";return this.logger.warn(T),Promise.reject(T)}return pe})})})}getIdentityClaims(){const h=this._storage.getItem("id_token_claims_obj");return h?JSON.parse(h):null}getGrantedScopes(){const h=this._storage.getItem("granted_scopes");return h?JSON.parse(h):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(h){for(;h.length%4!=0;)h+="=";return h}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 h=this._storage.getItem("expires_at"),e=this.dateTimeService.new();return!(h&&parseInt(h,10)=0&&null!==this._storage.getItem(h)?JSON.parse(this._storage.getItem(h)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(h={},e=""){let c=!1;"boolean"==typeof h&&(c=h,h={});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(_=>this._storage.removeItem(_)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||c||!g&&!this.postLogoutRedirectUri)return;let w;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)w=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(g)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let _=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});g&&(_=_.set("id_token_hint",g));const b=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";b&&(_=_.set("post_logout_redirect_uri",b),e&&(_=_.set("state",e)));for(let E in h)_=_.set(E,h[E]);w=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+_.toString()}this.config.openUri(w)}createAndSaveNonce(){const h=this;return this.createNonce().then(function(e){return h.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",e):h._storage.setItem("nonce",e),e})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const h=this.document.getElementById(this.silentRefreshIFrameName);h&&h.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const e=this.document.getElementById(this.sessionCheckIFrameName);e&&e.remove()}createNonce(){return new Promise(h=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let c=45,g="";const w="undefined"==typeof self?null:self.crypto||self.msCrypto;if(w){let _=new Uint8Array(c);w.getRandomValues(_),_.map||(_.map=Array.prototype.map),_=_.map(b=>e.charCodeAt(b%e.length)),g=String.fromCharCode.apply(null,_)}else for(;0"discovery_document_loaded"===c.type)).subscribe(c=>this.initCodeFlowInternal(h,e))}initCodeFlowInternal(h="",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 c={},g=null;"string"==typeof e?g=e:"object"==typeof e&&(c=e),this.createLoginUrl(h,g,null,!1,c).then(this.config.openUri).catch(w=>{console.error("Error in initAuthorizationCodeFlow"),console.error(w)})}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 h=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(h,"sha-256")),h]})}extractRecognizedCustomParameters(h){let e=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(c=>{h[c]&&e.set(c,JSON.stringify(h[c]))}),e}revokeTokenAndLogout(h={},e=!1){let c=this.revocationEndpoint,g=this.getAccessToken(),w=this.getRefreshToken();if(!g)return;let _=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),b=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const E=btoa(`${this.clientId}:${this.dummyClientSecret}`);b=b.set("Authorization","Basic "+E)}if(this.useHttpBasicAuth||(_=_.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(_=_.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const E of Object.getOwnPropertyNames(this.customQueryParams))_=_.set(E,this.customQueryParams[E]);return new Promise((E,v)=>{let I,N;if(g){let A=_.set("token",g).set("token_type_hint","access_token");I=this.http.post(c,A,{headers:b})}else I=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(w){let A=_.set("token",w).set("token_type_hint","refresh_token");N=this.http.post(c,A,{headers:b})}else N=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);e&&(I=I.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(A=>0===A.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A))),N=N.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(A=>0===A.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([I,N]).subscribe(A=>{this.logOut(h),E(A),this.logger.info("Token successfully revoked")},A=>{this.logger.error("Error revoking token",A),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",A)),v(A)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return qe.\u0275fac=function(h){return new(h||qe)(_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))},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(me){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(me)}}let DefaultOAuthInterceptor=(()=>{class qe{constructor(h,e,c){this.oAuthService=h,this.errorHandler=e,this.moduleConfig=c}checkUrl(h){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(h):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(e=>h.toLowerCase().startsWith(e.toLowerCase()))}intercept(h,e){const c=h.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(c)?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)(w=>!!w)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(w=>"token_received"===w.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(w=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(w=>{if(w){const b=h.headers.set("Authorization","Bearer "+w);h=h.clone({headers:b})}return e.handle(h).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(_=>this.errorHandler.handleError(_)))})):e.handle(h).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(w=>this.errorHandler.handleError(w))):e.handle(h)}}return qe.\u0275fac=function(h){return new(h||qe)(_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))},qe.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:qe,factory:qe.\u0275fac}),qe})();class NullValidationHandler{validateSignature(me){return Promise.resolve(null)}validateAtHash(me){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class qe{static forRoot(h=null,e=NullValidationHandler){return{ngModule:qe,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:h},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return qe.\u0275fac=function(h){return new(h||qe)},qe.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:qe}),qe.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),qe})();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:(qe,me,h)=>{"use strict";h.d(me,{nu:()=>Ue,Co:()=>ae});var e=h(91159),c=h(5e3),g=h(93075),w=h(90508),_=h(67322),b=h(74107),E=h(61135),v=h(39646),I=h(39841),N=h(77579),A=h(63900),q=h(54004),j=h(68675),G=h(91005),Q=h(82722),he=h(95698),F=h(39300),be=h(18505),pe=h(29071),ye=h(15664),T=h(77446),R=h(20773),L=h(47423),X=h(25245),Y=h(69808),se=h(29772);const Te=["searchSelectInput"],Oe=["innerSelectSearch"];function Se(Ae,ee){if(1&Ae){const Ne=c.EpF();c.TgZ(0,"mat-checkbox",9),c.NdJ("change",function(H){return c.CHM(Ne),c.oxw()._emitSelectAllBooleanToParent(H.checked)}),c.qZA()}if(2&Ae){const Ne=c.oxw();c.Q6J("color",null==Ne.matFormField?null:Ne.matFormField.color)("checked",Ne.toggleAllCheckboxChecked)("indeterminate",Ne.toggleAllCheckboxIndeterminate)("matTooltip",Ne.toggleAllCheckboxTooltipMessage)("matTooltipPosition",Ne.toogleAllCheckboxTooltipPosition)}}function We(Ae,ee){1&Ae&&c._UZ(0,"mat-spinner",10)}function ge(Ae,ee){1&Ae&&c.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function Le(Ae,ee){if(1&Ae&&(c.TgZ(0,"mat-icon",14),c._uU(1),c.qZA()),2&Ae){const Ne=c.oxw(2);c.Q6J("svgIcon",Ne.closeSvgIcon),c.xp6(1),c.hij(" ",Ne.closeSvgIcon?null:Ne.closeIcon," ")}}function ue(Ae,ee){if(1&Ae){const Ne=c.EpF();c.TgZ(0,"button",11),c.NdJ("click",function(){return c.CHM(Ne),c.oxw()._reset(!0)}),c.YNc(1,ge,1,0,"ng-content",12),c.YNc(2,Le,2,2,"ng-template",null,13,c.W1O),c.qZA()}if(2&Ae){const Ne=c.MAs(3),V=c.oxw();c.xp6(1),c.Q6J("ngIf",V.clearIcon)("ngIfElse",Ne)}}function Me(Ae,ee){1&Ae&&c.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function z(Ae,ee){if(1&Ae&&c._uU(0),2&Ae){const Ne=c.oxw(2);c.Oqu(Ne.noEntriesFoundLabel)}}function P(Ae,ee){if(1&Ae&&(c.TgZ(0,"div",15),c.YNc(1,Me,1,0,"ng-content",12),c.YNc(2,z,1,1,"ng-template",null,16,c.W1O),c.qZA()),2&Ae){const Ne=c.MAs(3),V=c.oxw();c.xp6(1),c.Q6J("ngIf",V.noEntriesFound)("ngIfElse",Ne)}}const de=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Ce=function(Ae,ee){return{"mat-select-search-inner-multiple":Ae,"mat-select-search-inner-toggle-all":ee}},Pe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let ce=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275dir=c.lG2({type:Ae,selectors:[["","ngxMatSelectSearchClear",""]]}),Ae})();const fe=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","indexAndLengthScreenReaderText","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Ze=new c.OlP("mat-selectsearch-default-options");let Be=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275dir=c.lG2({type:Ae,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Ae})(),Ue=(()=>{class Ae{constructor(Ne,V,H,D=null,O,i=null,o){this.matSelect=Ne,this.changeDetectorRef=V,this._viewportRuler=H,this.matOption=D,this.liveAnnouncer=O,this.matFormField=i,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",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 c.vpe,this.onTouched=u=>{},this._options$=new E.X(null),this.optionsList$=this._options$.pipe((0,A.w)(u=>u?u.changes.pipe((0,q.U)(l=>l.toArray()),(0,j.O)(u.toArray())):(0,v.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,q.U)(u=>u?u.length:0)),this._formControl=new g.NI(""),this._showNoEntriesFound$=(0,I.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,q.U)(([u,l])=>this.noEntriesFoundLabel&&u&&l===this.getOptionsLengthOffset())),this._onDestroy=new N.x,this.applyDefaultOptions(o)}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(Ne){this._options$.next(Ne)}get _options(){return this._options$.getValue()}applyDefaultOptions(Ne){if(Ne)for(const V of fe)Ne.hasOwnProperty(V)&&(this[V]=Ne[V])}ngOnInit(){const Ne="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(Ne):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,Ne]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[Ne]=!0):this.matSelect.panelClass=Ne,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,G.g)(1),(0,Q.R)(this._onDestroy)).subscribe(V=>{V?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,he.q)(1)).pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let V=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const H=this._options.toArray(),D=H[this.getOptionsLengthOffset()],O=this.matSelect._keyManager;O&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(V,D)||!O.activeItem||!H.find(o=>this.matSelect.compareWith(o,O.activeItem)))&&O.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),V=D})})}),this._showNoEntriesFound$.pipe((0,Q.R)(this._onDestroy)).subscribe(V=>{this.matOption&&(V?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,Q.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,Q.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(Ne){this.toggleAll.emit(Ne)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(Ne){(Ne.key&&1===Ne.key.length||Ne.keyCode>=e.A&&Ne.keyCode<=e.Z||Ne.keyCode>=e.xE&&Ne.keyCode<=e.aO||Ne.keyCode===e.L_||this.preventHomeEndKeyPropagation&&(Ne.keyCode===e.Sd||Ne.keyCode===e.uR))&&Ne.stopPropagation(),this.matSelect.multiple&&Ne.key&&Ne.keyCode===e.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&Ne.keyCode===e.hY&&this.value&&(this._reset(!0),Ne.stopPropagation())}_handleKeyup(Ne){if(Ne.keyCode===e.LH||Ne.keyCode===e.JH){const V=this.matSelect._getAriaActiveDescendant(),H=this._options.toArray().findIndex(D=>D.id===V);if(-1!==H){const D=this._options.toArray()[H];this.liveAnnouncer.announce(D.viewValue+" "+this.getAriaIndex(H)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(Ne){return 0===this.getOptionsLengthOffset()?Ne+1:Ne}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(Ne){this._lastExternalInputValue=Ne,this._formControl.setValue(Ne),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(Ne){this._formControl.valueChanges.pipe((0,F.h)(V=>V!==this._lastExternalInputValue),(0,be.b)(()=>this._lastExternalInputValue=void 0),(0,Q.R)(this._onDestroy)).subscribe(Ne)}registerOnTouched(Ne){this.onTouched=Ne}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const Ne=this.matSelect.panel.nativeElement,V=Ne.scrollTop;this.searchSelectInput.nativeElement.focus(),Ne.scrollTop=V}_reset(Ne){this._formControl.setValue(""),Ne&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,Q.R)(this._onDestroy)).subscribe(Ne=>{let V=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!Ne||!Array.isArray(Ne))&&(Ne=[]);const H=this.matSelect.options.map(D=>D.value);this.previousSelectedValues.forEach(D=>{!Ne.some(O=>this.matSelect.compareWith(O,D))&&!H.some(O=>this.matSelect.compareWith(O,D))&&(Ne.push(D),V=!0)})}this.previousSelectedValues=Ne,V&&this.matSelect._onChange(Ne)})):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 Ne=this.getMatOptionHeight(),V=this.matSelect._keyManager.activeItemIndex||0,H=(0,w.CB)(V,this.matSelect.options,this.matSelect.optionGroups),D=(this.matOption?-1:0)+H+V,O=this.matSelect.panel.nativeElement.scrollTop,i=this.innerSelectSearch.nativeElement.offsetHeight,o=Math.floor((256-i)/Ne),u=Math.round((O+i)/Ne)-1;u>=D?this.matSelect.panel.nativeElement.scrollTop=D*Ne:u+o<=D&&(this.matSelect.panel.nativeElement.scrollTop=(D+1)*Ne-(256-i))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let V,Ne=this.innerSelectSearch.nativeElement;for(;Ne=Ne.parentElement;)if(Ne.classList.contains("mat-select-panel")){V=Ne;break}V&&(this.innerSelectSearch.nativeElement.style.width=V.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)(c.Y36(b.gD),c.Y36(c.sBO),c.Y36(pe.rL),c.Y36(w.ey,8),c.Y36(ye.Kd),c.Y36(_.KE,8),c.Y36(Ze,8))},Ae.\u0275cmp=c.Xpm({type:Ae,selectors:[["ngx-mat-select-search"]],contentQueries:function(Ne,V,H){if(1&Ne&&(c.Suo(H,ce,5),c.Suo(H,Be,5)),2&Ne){let D;c.iGM(D=c.CRH())&&(V.clearIcon=D.first),c.iGM(D=c.CRH())&&(V.noEntriesFound=D.first)}},viewQuery:function(Ne,V){if(1&Ne&&(c.Gf(Te,7,c.SBq),c.Gf(Oe,7,c.SBq)),2&Ne){let H;c.iGM(H=c.CRH())&&(V.searchSelectInput=H.first),c.iGM(H=c.CRH())&&(V.innerSelectSearch=H.first)}},hostVars:2,hostBindings:function(Ne,V){2&Ne&&c.ekj("mat-select-search-inside-mat-option",V.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",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:[c._Bn([{provide:g.JU,useExisting:(0,c.Gpc)(()=>Ae),multi:!0}])],ngContentSelectors:Pe,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",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(Ne,V){1&Ne&&(c.F$t(de),c._UZ(0,"input",0),c.TgZ(1,"div",1,2),c.YNc(3,Se,1,5,"mat-checkbox",3),c.TgZ(4,"input",4,5),c.NdJ("keydown",function(D){return V._handleKeydown(D)})("keyup",function(D){return V._handleKeyup(D)})("blur",function(){return V.onBlur()}),c.qZA(),c.YNc(6,We,1,0,"mat-spinner",6),c.YNc(7,ue,4,2,"button",7),c.Hsn(8),c.qZA(),c.YNc(9,P,4,2,"div",8),c.ALo(10,"async")),2&Ne&&(c.xp6(1),c.Q6J("ngClass",c.WLB(11,Ce,V.matSelect.multiple,V._isToggleAllCheckboxVisible())),c.xp6(2),c.Q6J("ngIf",V._isToggleAllCheckboxVisible()),c.xp6(1),c.Q6J("type",V.type)("formControl",V._formControl)("placeholder",V.placeholderLabel),c.uIk("aria-label",V.ariaLabel),c.xp6(2),c.Q6J("ngIf",V.searching),c.xp6(1),c.Q6J("ngIf",!V.hideClearSearchButton&&V.value&&!V.searching),c.xp6(2),c.Q6J("ngIf",c.lcZ(10,9,V._showNoEntriesFound$)))},directives:[T.oG,R.Ou,L.lW,X.Hw,Y.mk,Y.O5,se.gM,g.Fj,g.JJ,g.oH],pipes:[Y.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}),Ae})(),ae=(()=>{class Ae{}return Ae.\u0275fac=function(Ne){return new(Ne||Ae)},Ae.\u0275mod=c.oAB({type:Ae}),Ae.\u0275inj=c.cJS({imports:[[Y.ez,g.UX,L.ot,T.p9,X.Ps,R.Cq,se.AV]]}),Ae})()},4147:qe=>{"use strict";qe.exports={i8:"9.1.0"}}},qe=>{qe(qe.s=48032)}]); \ No newline at end of file diff --git a/dist/apps/consolidator/index.html b/dist/apps/consolidator/index.html index 71c68ef76..0cd08413f 100644 --- a/dist/apps/consolidator/index.html +++ b/dist/apps/consolidator/index.html @@ -6,7 +6,7 @@ - + @@ -14,5 +14,5 @@
- + diff --git a/dist/apps/consolidator/main.049285301dca3205.js b/dist/apps/consolidator/main.4724942857505e47.js similarity index 99% rename from dist/apps/consolidator/main.049285301dca3205.js rename to dist/apps/consolidator/main.4724942857505e47.js index 09939d286..5d1a37a04 100644 --- a/dist/apps/consolidator/main.049285301dca3205.js +++ b/dist/apps/consolidator/main.4724942857505e47.js @@ -1 +1 @@ -(self.webpackChunkconsolidator=self.webpackChunkconsolidator||[]).push([[179],{4096:(F,N,x)=>{"use strict";var E=x(9808),f=x(5e3);class k extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends k{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(r,e,t){return r.addEventListener(e,t,!1),()=>{r.removeEventListener(e,t,!1)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}createElement(r,e){return(e=e||this.getDefaultDocument()).createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return"window"===e?window:"document"===e?r:"body"===e?r.body:null}getBaseHref(r){const e=function j(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==e?null:function Q(s){q=q||document.createElement("a"),q.setAttribute("href",s);const r=q.pathname;return"/"===r.charAt(0)?r:`/${r}`}(e)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return(0,E.Mx)(document.cookie,r)}}let q,B=null;const G=new f.OlP("TRANSITION_ID"),z=[{provide:f.ip1,useFactory:function Y(s,r,e){return()=>{e.get(f.CZH).donePromise.then(()=>{const t=(0,E.q)(),o=r.querySelectorAll(`style[ng-transition="${s}"]`);for(let c=0;c{const c=r.findTestabilityInTree(t,o);if(null==c)throw new Error("Could not find testability for element.");return c},f.dqk.getAllAngularTestabilities=()=>r.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>r.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(t=>{const o=f.dqk.getAllAngularTestabilities();let c=o.length,l=!1;const n=function(i){l=l||i,c--,0==c&&t(l)};o.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(r,e,t){if(null==e)return null;const o=r.getTestability(e);return null!=o?o:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null}}let se=(()=>{class s{build(){return new XMLHttpRequest}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const $=new f.OlP("EventManagerPlugins");let ae=(()=>{class s{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 c=0;c{class s{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 s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Te=(()=>{class s extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(c=>{const l=this._doc.createElement("style");l.textContent=c,o.push(t.appendChild(l))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function Me(s){(0,E.q)().remove(s)}const Pe={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/"},Ce=/%COMP%/g;function ne(s,r,e){for(let t=0;t{if("__ngUnwrap__"===r)return s;!1===s(r)&&(r.preventDefault(),r.returnValue=!1)}}let ge=(()=>{class s{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case f.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new Rt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case f.ifc.ShadowDom:return new Vt(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(ae),f.LFG(Te),f.LFG(f.AFp))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class pe{constructor(r){this.eventManager=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(r,e){return e?document.createElementNS(Pe[e]||e,r):document.createElement(r)}createComment(r){return document.createComment(r)}createText(r){return document.createTextNode(r)}appendChild(r,e){r.appendChild(e)}insertBefore(r,e,t){r&&r.insertBefore(e,t)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let t="string"==typeof r?document.querySelector(r):r;if(!t)throw new Error(`The selector "${r}" did not match any elements`);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,o){if(o){e=o+":"+e;const c=Pe[o];c?r.setAttributeNS(c,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){const o=Pe[t];o?r.removeAttributeNS(o,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,o){o&(f.JOm.DashCase|f.JOm.Important)?r.style.setProperty(e,t,o&f.JOm.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&f.JOm.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r[e]=t}setValue(r,e){r.nodeValue=e}listen(r,e,t){return"string"==typeof r?this.eventManager.addGlobalEventListener(r,e,ce(t)):this.eventManager.addEventListener(r,e,ce(t))}}class Rt extends pe{constructor(r,e,t,o){super(r),this.component=t;const c=ne(o+"-"+t.id,t.styles,[]);e.addStyles(c),this.contentAttr=function xe(s){return"_ngcontent-%COMP%".replace(Ce,s)}(o+"-"+t.id),this.hostAttr=function Ve(s){return"_nghost-%COMP%".replace(Ce,s)}(o+"-"+t.id)}applyToHost(r){super.setAttribute(r,this.hostAttr,"")}createElement(r,e){const t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}}class Vt extends pe{constructor(r,e,t,o){super(r),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ne(o.id,o.styles,[]);for(let l=0;l{class s extends ie{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 s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const oi=["alt","control","meta","shift"],ti={"\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"},Mt={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"},zn={alt:s=>s.altKey,control:s=>s.ctrlKey,meta:s=>s.metaKey,shift:s=>s.shiftKey};let Ui=(()=>{class s extends ie{constructor(e){super(e)}supports(e){return null!=s.parseEventName(e)}addEventListener(e,t,o){const c=s.parseEventName(t),l=s.eventCallback(c.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,c.domEventName,l))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const c=s._normalizeKey(t.pop());let l="";if(oi.forEach(i=>{const a=t.indexOf(i);a>-1&&(t.splice(a,1),l+=i+".")}),l+=c,0!=t.length||0===c.length)return null;const n={};return n.domEventName=o,n.fullKey=l,n}static getEventFullKey(e){let t="",o=function si(s){let r=s.key;if(null==r){if(r=s.keyIdentifier,null==r)return"Unidentified";r.startsWith("U+")&&(r=String.fromCharCode(parseInt(r.substring(2),16)),3===s.location&&Mt.hasOwnProperty(r)&&(r=Mt[r]))}return ti[r]||r}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),oi.forEach(c=>{c!=o&&zn[c](e)&&(t+=c+".")}),t+=o,t}static eventCallback(e,t,o){return c=>{s.getEventFullKey(c)===e&&o.runGuarded(()=>t(c))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const Rr=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:E.bD},{provide:f.g9A,useValue:function ur(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function to(){return(0,f.RDi)(document),document},deps:[]}]),hr=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function eo(){return new f.qLn},deps:[]},{provide:$,useClass:Ne,multi:!0,deps:[E.K0,f.R0b,f.Lbi]},{provide:$,useClass:Ui,multi:!0,deps:[E.K0]},{provide:ge,useClass:ge,deps:[ae,Te,f.AFp]},{provide:f.FYo,useExisting:ge},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:ae,useClass:ae,deps:[$,f.R0b]},{provide:E.JF,useClass:se,deps:[]}];let Ir=(()=>{class s{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:s,providers:[{provide:f.AFp,useValue:e.appId},{provide:G,useExisting:f.AFp},z]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(s,12))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:hr,imports:[E.ez,f.hGG]}),s})(),Vi=(()=>{class s{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function bi(){return new Vi((0,f.LFG)(E.K0))}(),t},providedIn:"root"}),s})();"undefined"!=typeof window&&window;let Sn=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new(e||s):f.LFG(ca),t},providedIn:"root"}),s})(),ca=(()=>{class s extends Sn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case f.q3G.NONE:return t;case f.q3G.HTML:return(0,f.qzn)(t,"HTML")?(0,f.z3N)(t):(0,f.EiD)(this._doc,String(t)).toString();case f.q3G.STYLE:return(0,f.qzn)(t,"Style")?(0,f.z3N)(t):t;case f.q3G.SCRIPT:if((0,f.qzn)(t,"Script"))return(0,f.z3N)(t);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(t),(0,f.qzn)(t,"URL")?(0,f.z3N)(t):(0,f.mCW)(String(t));case f.q3G.RESOURCE_URL:if((0,f.qzn)(t,"ResourceURL"))return(0,f.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,f.JVY)(e)}bypassSecurityTrustStyle(e){return(0,f.L6k)(e)}bypassSecurityTrustScript(e){return(0,f.eBb)(e)}bypassSecurityTrustUrl(e){return(0,f.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,f.pB0)(e)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function Ql(s){return new ca(s.get(E.K0))}(f.LFG(f.zs3)),t},providedIn:"root"}),s})();var y=x(520);class Ft{encodeKey(r){return encodeURIComponent(r)}encodeValue(r){return encodeURIComponent(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}}const jt=new f.OlP("basePath");class We{constructor(r={}){this.apiKeys=r.apiKeys,this.username=r.username,this.password=r.password,this.accessToken=r.accessToken,this.basePath=r.basePath,this.withCredentials=r.withCredentials,this.encoder=r.encoder,this.credentials=r.credentials?r.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(r){if(0===r.length)return;const e=r.find(t=>this.isJsonMime(t));return void 0===e?r[0]:e}selectHeaderAccept(r){if(0===r.length)return;const e=r.find(t=>this.isJsonMime(t));return void 0===e?r[0]:e}isJsonMime(r){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==r&&(e.test(r)||"application/json-patch+json"===r.toLowerCase())}lookupCredential(r){const e=this.credentials[r];return"function"==typeof e?e():e}}let Gi=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAllPolicies(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=o&&(i=this.addToHttpParams(i,o,"complementaryObjectName"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}getAuthzRichAdmins(e,t,o,c,l,n,i="body",a=!1,d){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==c)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=o&&(u=this.addToHttpParams(u,o,"complementaryObjectName")),c&&c.forEach(Be=>{u=this.addToHttpParams(u,Be,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,g=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(g=g.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(g=g.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(g=g.set("Accept",H));let U=d&&d.context;void 0===U&&(U=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:U,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:g,observe:i,reportProgress:a})}getFacilitiesWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupRoleNames(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getLoggedUser(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getPerunPrincipal(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserRoleNames(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}isFacilityAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}keepAlive(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ci=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}sentMessageToRTWithMemberQueue(e,t,o,c,l="body",n=!1,i){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==c)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"memberId")),null!=t&&(a=this.addToHttpParams(a,t,"queue")),null!=o&&(a=this.addToHttpParams(a,o,"subject")),null!=c&&(a=this.addToHttpParams(a,c,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sentMessageToRTWithQueue(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sentMessageToRTWithVo(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sentMessageToRTWithVoQueue(e,t,o,c,l="body",n=!1,i){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==c)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"voId")),null!=t&&(a=this.addToHttpParams(a,t,"queue")),null!=o&&(a=this.addToHttpParams(a,o,"subject")),null!=c&&(a=this.addToHttpParams(a,c,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addApplicationMailForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkForSimilarRichIdentities(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}consolidate(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}consolidateIdentityUsingToken(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromGroupToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromVoToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromVoToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromGroupToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromGroupToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromVoToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromVoToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}createApplicationFormInGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteApplicationMailForVo(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteGroupsFromAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,c,l="body",n=!1,i){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"group")),t&&t.forEach(U=>{a=this.addToHttpParams(a,U,"state[]")}),null!=o&&(a=this.addToHttpParams(a,o,"dateFrom")),null!=c&&(a=this.addToHttpParams(a,c,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getApplicationsForMember(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getApplicationsForVo(e,t,o,c,l="body",n=!1,i){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"vo")),t&&t.forEach(U=>{a=this.addToHttpParams(a,U,"state[]")}),null!=o&&(a=this.addToHttpParams(a,o,"dateFrom")),null!=c&&(a=this.addToHttpParams(a,c,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getApplicationsPage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getFormItemsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupApplicationForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"id")),null!=t&&(n=this.addToHttpParams(n,t,"reason"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}sendInvitation(e,t,o,c,l="body",n=!1,i){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 a=new y.LE({encoder:this.encoder});null!=o&&(a=this.addToHttpParams(a,o,"voId")),null!=c&&(a=this.addToHttpParams(a,c,"name")),null!=e&&(a=this.addToHttpParams(a,e,"email")),null!=t&&(a=this.addToHttpParams(a,t,"language"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sendInvitationForGroup(e,t,o,c,l,n="body",i=!1,a){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 d=new y.LE({encoder:this.encoder});null!=o&&(d=this.addToHttpParams(d,o,"voId")),null!=c&&(d=this.addToHttpParams(d,c,"groupId")),null!=l&&(d=this.addToHttpParams(d,l,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let g,u=this.defaultHeaders;g=this.configuration.lookupCredential("BasicAuth"),g&&(u=u.set("Authorization","Basic "+g)),g=this.configuration.lookupCredential("BearerAuth"),g&&(u=u.set("Authorization","Bearer "+g));let b=a&&a.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=a&&a.context;void 0===H&&(H=new y.qT);let U="json";return b&&(U=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:H,params:d,responseType:U,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}sendInvitationGroupToExistingUser(e,t,o,c="body",l=!1,n){let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"userId")),null!=t&&(i=this.addToHttpParams(i,t,"voId")),null!=o&&(i=this.addToHttpParams(i,o,"groupId"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sendInvitationToExistingUser(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userId")),null!=t&&(n=this.addToHttpParams(n,t,"voId"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}sendMessage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),pr=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addSpecificUserOwner(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}addUserExtSource(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}anonymizeUser(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}changeNonAuthzPasswordByToken(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}changePasswordForLogin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}changePasswordForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}checkPasswordResetRequestByTokenIsValid(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkPasswordStrength(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}createAlternativePassword(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}createServiceUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}deleteAlternativePassword(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"loginNamespace")),null!=o&&(i=this.addToHttpParams(i,o,"passwordId"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}deletePasswordForLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deletePasswordForUser(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteUser(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}findRichUsers(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}findRichUsersWithAttributes(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"searchString")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrsNames[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}findUsers(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}generateAccountForName(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"namespace")),null!=t&&(n=this.addToHttpParams(n,t,"name"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getAllRichUsersWithAttributes(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"includedSpecificUsers"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAssignedRichResourcesForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsForFacilityWhereUserIsActive(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsForResourceWhereUserIsActive(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsInVoWhereUserIsAdmin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsWhereUserIsAdmin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getPendingPreferredEmailChanges(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUserExtSources(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUserWithAttributes(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersWithAttributesByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersWithoutVoWithAttributes(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"attrsNames[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getSpecificUsersByUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getSponsorsForMember(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getSponsorsForMemberByVoAndLogin(e,t,o,c,l="body",n=!1,i){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 a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"vo")),null!=t&&(a=this.addToHttpParams(a,t,"extSourceName")),null!=o&&(a=this.addToHttpParams(a,o,"extLogin")),c&&c.forEach(U=>{a=this.addToHttpParams(a,U,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserByExtSourceNameAndExtLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extLogin")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceName"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceByExtLoginAndExtSourceName(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extSourceName")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceLogin"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSourceById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeId")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeName")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSources(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourcesByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsers(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getUsersByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsersBySpecificUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"specificUser"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsersPage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}getVosWhereUserIsAdmin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsMember(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isLoginAvailable(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"loginNamespace")),null!=t&&(n=this.addToHttpParams(n,t,"login"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}loginExist(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}removeSpecificUserOwner(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}removeUserExtSource(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"userExtSource")),null!=o&&(i=this.addToHttpParams(i,o,"force"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}requestPreferredEmailChange(e,t,o,c,l,n,i="body",a=!1,d){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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"user")),null!=t&&(u=this.addToHttpParams(u,t,"email")),null!=o&&(u=this.addToHttpParams(u,o,"lang")),null!=c&&(u=this.addToHttpParams(u,c,"linkPath")),null!=l&&(u=this.addToHttpParams(u,l,"customUrl")),null!=n&&(u=this.addToHttpParams(u,n,"idpFilter"));let b,g=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(g=g.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(g=g.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(g=g.set("Accept",H));let U=d&&d.context;void 0===U&&(U=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:U,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:g,observe:i,reportProgress:a})}reservePasswordForLogin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}reservePasswordForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}reserveRandomPassword(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}setLogin(e,t,o,c="body",l=!1,n){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"login")),null!=o&&(i=this.addToHttpParams(i,o,"namespace"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}updateUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateUserExtSourceLastAccess(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}validatePasswordForLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}validatePasswordForUser(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}validatePreferredEmailChangeWithToken(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"token")),null!=t&&(n=this.addToHttpParams(n,t,"u"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),nt=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAppsConfig(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wp=(()=>{class s{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:s,providers:[{provide:We,useFactory:e}]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(s,12),f.LFG(y.eN,8))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[],imports:[[]]}),s})();var dt=(()=>{return(s=dt||(dt={})).PERUNADMIN="PERUNADMIN",s.PERUNOBSERVER="PERUNOBSERVER",s.VOADMIN="VOADMIN",s.GROUPADMIN="GROUPADMIN",s.GROUPOBSERVER="GROUPOBSERVER",s.SELF="SELF",s.FACILITYADMIN="FACILITYADMIN",s.FACILITIYOBSERVER="FACILITYOBSERVER",s.RESOURCEADMIN="RESOURCEADMIN",s.RESOURCESELFSERVICE="RESOURCESELFSERVICE",s.REGISTRAR="REGISTRAR",s.ENGINE="ENGINE",s.RPC="RPC",s.NOTIFICATIONS="NOTIFICATIONS",s.SERVICEUSER="SERVICEUSER",s.SPONSOR="SPONSOR",s.VOOBSERVER="VOOBSERVER",s.TOPGROUPCREATOR="TOPGROUPCREATOR",s.SECURITYADMIN="SECURITYADMIN",s.CABINETADMIN="CABINETADMIN",s.UNKNOWNROLENAME="UNKNOWNROLENAME",s.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",s.UNKNOWN="UNKNOWN",s.MEMBERSHIP="MEMBERSHIP",dt;var s})();let $p=(()=>{class s{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 c=[];for(const n of o)c=c.concat(n.perunRoles);const l=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(c,l)}principalHasRole(e,t,o){let c=t;return t.startsWith("Rich")&&(c=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][c])&&this.principal.roles[e][c].includes(Number(o.toString()))}canManageFacilities(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER,dt.FACILITYADMIN,dt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(dt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(dt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(dt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOOBSERVER,dt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(dt.PERUNADMIN,dt.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.substring(4)),this.assignAvailableRoles(t,o);const c=new Map;this.setRolesAuthorization(t,e,c);for(const l of c.values())if(l.readAuth||l.manageAuth)return!0;return!1}setRolesAuthorization(e,t,o){for(const c of e){let l=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===c){l=l.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const H of Object.keys(b.entitiesToManage))i="User"===H?[H].concat(i):i.concat(H);break}const a=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(l,a),u=this.resolveAuthorization(n,a);o.set(c,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const o of e){let c=!0;for(const l of Object.keys(o)){const n=o[l];if(null===n)this.principalRoles.has(l)||(c=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(l,n,i)){c=!1;break}}else c=!1;if(!c)break}if(c)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const o of e){let c=o.beanName;switch(o.beanName.startsWith("Rich")&&(c=o.beanName.substring(4)),t[c]?t[c].push(o.id):t[c]=[o.id],c){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const l=o.shift();if(t.has(l))continue;const n=this.getPerunPolicy(l);if(!n)return[];t.set(l,n),o=o.concat(n.includePolicies)}const c=[];for(const l of t.values())c.push(l);return c}voCustomSort(e){for(let t=0;t{(0,fa.Xf)(s()).subscribe(r)})}var Di=x(515),ui=x(727),Hi=x(4482),Fi=x(5403);function ec(){return(0,Hi.e)((s,r)=>{let e=null;s._refCount++;const t=(0,Fi.x)(r,void 0,void 0,void 0,()=>{if(!s||s._refCount<=0||0<--s._refCount)return void(e=null);const o=s._connection,c=e;e=null,o&&(!c||o===c)&&o.unsubscribe(),r.unsubscribe()});s.subscribe(t),t.closed||(e=s.connect())})}class Yp extends vi.y{constructor(r,e){super(),this.source=r,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Hi.A)(r)&&(this.lift=r.lift)}_subscribe(r){return this.getSubject().subscribe(r)}getSubject(){const r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:r}=this;this._subject=this._connection=null,null==r||r.unsubscribe()}connect(){let r=this._connection;if(!r){r=this._connection=new ui.w0;const e=this.getSubject();r.add(this.source.subscribe((0,Fi.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),r.closed&&(this._connection=null,r=ui.w0.EMPTY)}return r}refCount(){return ec()(this)}}var ft=x(4004),$i=x(3900),hi=x(5698),co=x(3269);function $n(...s){const r=(0,co.yG)(s);return(0,Hi.e)((e,t)=>{(r?(0,so.z)(s,e,r):(0,so.z)(s,e)).subscribe(t)})}function ji(s,r,e,t,o){return(c,l)=>{let n=e,i=r,a=0;c.subscribe((0,Fi.x)(l,d=>{const u=a++;i=n?s(i,d,u):(n=!0,d),t&&l.next(i)},o&&(()=>{n&&l.next(i),l.complete()})))}}function bs(s,r){return(0,Hi.e)(ji(s,r,arguments.length>=2,!0))}var Yi=x(262),fr=x(4351);function tc(s){return s<=0?()=>Di.E:(0,Hi.e)((r,e)=>{let t=[];r.subscribe((0,Fi.x)(e,o=>{t.push(o),s{for(const o of t)e.next(o);e.complete()},void 0,()=>{t=null}))})}var ou=x(8068),Cs=x(6590),ys=x(4671),uo=x(590),gt=x(5577),M=x(8505);function I(s){return(0,Hi.e)((r,e)=>{try{r.subscribe(e)}finally{e.add(s)}})}var D=x(8189);class V{constructor(r,e){this.id=r,this.url=e}}class J extends V{constructor(r,e,t="imperative",o=null){super(r,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends V{constructor(r,e,t){super(r,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _e extends V{constructor(r,e,t){super(r,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ge extends V{constructor(r,e,t){super(r,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ht extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt extends V{constructor(r,e,t,o,c){super(r,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=c}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot{constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nt{constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Br{constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Je{constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ga{constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ws{constructor(r,e,t){this.routerEvent=r,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ot="primary";class ic{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ma(s){return new ic(s)}const Qp="ngNavigationCancelingError";function su(s){const r=Error("NavigationCancelingError: "+s);return r[Qp]=!0,r}function vt(s,r,e){const t=e.path.split("/");if(t.length>s.length||"full"===e.pathMatch&&(r.hasChildren()||t.lengtht[c]===o)}return s===r}function ho(s){return Array.prototype.concat.apply([],s)}function Hn(s){return s.length>0?s[s.length-1]:null}function ni(s,r){for(const e in s)s.hasOwnProperty(e)&&r(s[e],e)}function gr(s){return(0,f.CqO)(s)?s:(0,f.QGY)(s)?(0,Li.D)(Promise.resolve(s)):(0,Ue.of)(s)}const nc={exact:function cu(s,r,e){if(!Or(s.segments,r.segments)||!xs(s.segments,r.segments,e)||s.numberOfChildren!==r.numberOfChildren)return!1;for(const t in r.children)if(!s.children[t]||!cu(s.children[t],r.children[t],e))return!1;return!0},subset:Yn},As={exact:function mr(s,r){return Pt(s,r)},subset:function po(s,r){return Object.keys(r).length<=Object.keys(s).length&&Object.keys(r).every(e=>lu(s[e],r[e]))},ignored:()=>!0};function wi(s,r,e){return nc[e.paths](s.root,r.root,e.matrixParams)&&As[e.queryParams](s.queryParams,r.queryParams)&&!("exact"===e.fragment&&s.fragment!==r.fragment)}function Yn(s,r,e){return Zp(s,r,r.segments,e)}function Zp(s,r,e,t){if(s.segments.length>e.length){const o=s.segments.slice(0,e.length);return!(!Or(o,e)||r.hasChildren()||!xs(o,e,t))}if(s.segments.length===e.length){if(!Or(s.segments,e)||!xs(s.segments,e,t))return!1;for(const o in r.children)if(!s.children[o]||!Yn(s.children[o],r.children[o],t))return!1;return!0}{const o=e.slice(0,s.segments.length),c=e.slice(s.segments.length);return!!(Or(s.segments,o)&&xs(s.segments,o,t)&&s.children[ot])&&Zp(s.children[ot],r,c,t)}}function xs(s,r,e){return r.every((t,o)=>As[e](s[o].parameters,t.parameters))}class _a{constructor(r,e,t){this.root=r,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ma(this.queryParams)),this._queryParamMap}toString(){return rc.serialize(this)}}class Ct{constructor(r,e){this.segments=r,this.children=e,this.parent=null,ni(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ts(this)}}class ba{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ma(this.parameters)),this._parameterMap}toString(){return _r(this)}}function Or(s,r){return s.length===r.length&&s.every((e,t)=>e.path===r[t].path)}class Xp{}class hu{parse(r){const e=new lc(r);return new _a(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){const e=`/${fo(r.root,!0)}`,t=function ef(s){const r=Object.keys(s).map(e=>{const t=s[e];return Array.isArray(t)?t.map(o=>`${Es(e)}=${Es(o)}`).join("&"):`${Es(e)}=${Es(t)}`}).filter(e=>!!e);return r.length?`?${r.join("&")}`:""}(r.queryParams);return`${e}${t}${"string"==typeof r.fragment?`#${function ac(s){return encodeURI(s)}(r.fragment)}`:""}`}}const rc=new hu;function Ts(s){return s.segments.map(r=>_r(r)).join("/")}function fo(s,r){if(!s.hasChildren())return Ts(s);if(r){const e=s.children[ot]?fo(s.children[ot],!1):"",t=[];return ni(s.children,(o,c)=>{c!==ot&&t.push(`${c}:${fo(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function uu(s,r){let e=[];return ni(s.children,(t,o)=>{o===ot&&(e=e.concat(r(t,o)))}),ni(s.children,(t,o)=>{o!==ot&&(e=e.concat(r(t,o)))}),e}(s,(t,o)=>o===ot?[fo(s.children[ot],!1)]:[`${o}:${fo(t,!1)}`]);return 1===Object.keys(s.children).length&&null!=s.children[ot]?`${Ts(s)}/${e[0]}`:`${Ts(s)}/(${e.join("//")})`}}function pu(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Es(s){return pu(s).replace(/%3B/gi,";")}function fu(s){return pu(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oc(s){return decodeURIComponent(s)}function Ai(s){return oc(s.replace(/\+/g,"%20"))}function _r(s){return`${fu(s.path)}${function zt(s){return Object.keys(s).map(r=>`;${fu(r)}=${fu(s[r])}`).join("")}(s.parameters)}`}const yb=/^[^\/()?;=#]+/;function Ss(s){const r=s.match(yb);return r?r[0]:""}const vb=/^[^=?&#]+/,Ab=/^[^&#]+/;class lc{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const r={};if(this.consumeOptional("?"))do{this.parseQueryParam(r)}while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(t[ot]=new Ct(r,e)),t}parseSegment(){const r=Ss(this.remaining);if(""===r&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(r),new ba(oc(r),this.parseMatrixParams())}parseMatrixParams(){const r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){const e=Ss(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=Ss(this.remaining);o&&(t=o,this.capture(t))}r[oc(e)]=oc(t)}parseQueryParam(r){const e=function wb(s){const r=s.match(vb);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const l=function sc(s){const r=s.match(Ab);return r?r[0]:""}(this.remaining);l&&(t=l,this.capture(t))}const o=Ai(e),c=Ai(t);if(r.hasOwnProperty(o)){let l=r[o];Array.isArray(l)||(l=[l],r[o]=l),l.push(c)}else r[o]=c}parseParens(r){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Ss(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let c;t.indexOf(":")>-1?(c=t.substr(0,t.indexOf(":")),this.capture(c),this.capture(":")):r&&(c=ot);const l=this.parseChildren();e[c]=1===Object.keys(l).length?l[ot]:new Ct([],l),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return!!this.peekStartsWith(r)&&(this.remaining=this.remaining.substring(r.length),!0)}capture(r){if(!this.consumeOptional(r))throw new Error(`Expected "${r}".`)}}class Ms{constructor(r){this._root=r}get root(){return this._root.value}parent(r){const e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){const e=Ds(r,this._root);return e?e.children.map(t=>t.value):[]}firstChild(r){const e=Ds(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){const e=cc(r,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==r)}pathFromRoot(r){return cc(r,this._root).map(e=>e.value)}}function Ds(s,r){if(s===r.value)return r;for(const e of r.children){const t=Ds(s,e);if(t)return t}return null}function cc(s,r){if(s===r.value)return[r];for(const e of r.children){const t=cc(s,e);if(t.length)return t.unshift(r),t}return[]}class br{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}}function Qi(s){const r={};return s&&s.children.forEach(e=>r[e.value.outlet]=e),r}class go extends Ms{constructor(r,e){super(r),this.snapshot=e,nf(this,r)}toString(){return this.snapshot.toString()}}function tf(s,r){const e=function xb(s,r){const l=new uc([],{},{},"",{},ot,r,null,s.root,-1,{});return new Eb("",new br(l,[]))}(s,r),t=new di([new ba("",{})]),o=new di({}),c=new di({}),l=new di({}),n=new di(""),i=new Ji(t,o,l,n,c,ot,r,e.root);return i.snapshot=e.root,new go(new br(i,[]),e)}class Ji{constructor(r,e,t,o,c,l,n,i){this.url=r,this.params=e,this.queryParams=t,this.fragment=o,this.data=c,this.outlet=l,this.component=n,this._futureSnapshot=i}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,ft.U)(r=>ma(r)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ft.U)(r=>ma(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dc(s,r="emptyOnly"){const e=s.pathFromRoot;let t=0;if("always"!==r)for(t=e.length-1;t>=1;){const o=e[t],c=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(c.component)break;t--}}return function Tb(s){return s.reduce((r,e)=>({params:Object.assign(Object.assign({},r.params),e.params),data:Object.assign(Object.assign({},r.data),e.data),resolve:Object.assign(Object.assign({},r.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class uc{constructor(r,e,t,o,c,l,n,i,a,d,u){this.url=r,this.params=e,this.queryParams=t,this.fragment=o,this.data=c,this.outlet=l,this.component=n,this.routeConfig=i,this._urlSegment=a,this._lastPathIndex=d,this._resolve=u}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=ma(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ma(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Eb extends Ms{constructor(r,e){super(e),this.url=r,nf(this,e)}toString(){return Hs(this._root)}}function nf(s,r){r.value._routerState=s,r.children.forEach(e=>nf(s,e))}function Hs(s){const r=s.children.length>0?` { ${s.children.map(Hs).join(", ")} } `:"";return`${s.value}${r}`}function hc(s){if(s.snapshot){const r=s.snapshot,e=s._futureSnapshot;s.snapshot=e,Pt(r.queryParams,e.queryParams)||s.queryParams.next(e.queryParams),r.fragment!==e.fragment&&s.fragment.next(e.fragment),Pt(r.params,e.params)||s.params.next(e.params),function Jp(s,r){if(s.length!==r.length)return!1;for(let e=0;ePt(e.parameters,r[t].parameters))}(s.url,r.url);return e&&!(!s.parent!=!r.parent)&&(!s.parent||Ps(s.parent,r.parent))}function mo(s,r,e){if(e&&s.shouldReuseRoute(r.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=r.value;const o=function rf(s,r,e){return r.children.map(t=>{for(const o of e.children)if(s.shouldReuseRoute(t.value,o.value.snapshot))return mo(s,t,o);return mo(s,t)})}(s,r,e);return new br(t,o)}{if(s.shouldAttach(r.value)){const c=s.retrieve(r.value);if(null!==c){const l=c.route;return l.value._futureSnapshot=r.value,l.children=r.children.map(n=>mo(s,n)),l}}const t=function _o(s){return new Ji(new di(s.url),new di(s.params),new di(s.queryParams),new di(s.fragment),new di(s.data),s.outlet,s.component,s)}(r.value),o=r.children.map(c=>mo(s,c));return new br(t,o)}}function Cr(s){return"object"==typeof s&&null!=s&&!s.outlets&&!s.segmentPath}function Ca(s){return"object"==typeof s&&null!=s&&s.outlets}function bo(s,r,e,t,o){let c={};return t&&ni(t,(l,n)=>{c[n]=Array.isArray(l)?l.map(i=>`${i}`):`${l}`}),new _a(e.root===s?r:Mb(e.root,s,r),c,o)}function Mb(s,r,e){const t={};return ni(s.children,(o,c)=>{t[c]=o===r?e:Mb(o,r,e)}),new Ct(s.segments,t)}class gu{constructor(r,e,t){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=t,r&&t.length>0&&Cr(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(Ca);if(o&&o!==Hn(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mu{constructor(r,e,t){this.segmentGroup=r,this.processChildren=e,this.index=t}}function fc(s,r,e){if(s||(s=new Ct([],{})),0===s.segments.length&&s.hasChildren())return ya(s,r,e);const t=function gc(s,r,e){let t=0,o=r;const c={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return c;const l=s.segments[o],n=e[t];if(Ca(n))break;const i=`${n}`,a=t0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!yu(i,a,l))return c;t+=2}else{if(!yu(i,{},l))return c;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(s,r,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof c&&(c=[c]),null!==c&&(o[l]=fc(s.children[l],r,c))}),ni(s.children,(c,l)=>{void 0===t[l]&&(o[l]=c)}),new Ct(s.segments,o)}}function bu(s,r,e){const t=s.segments.slice(0,r);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(r[t]=bu(new Ct([],{}),0,e))}),r}function Cu(s){const r={};return ni(s,(e,t)=>r[t]=`${e}`),r}function yu(s,r,e){return s==e.path&&Pt(r,e.parameters)}class Hb{constructor(r,e,t,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(r){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,r),hc(this.futureState.root),this.activateChildRoutes(e,t,r)}deactivateChildRoutes(r,e,t){const o=Qi(e);r.children.forEach(c=>{const l=c.value.outlet;this.deactivateRoutes(c,o[l],t),delete o[l]}),ni(o,(c,l)=>{this.deactivateRouteAndItsChildren(c,t)})}deactivateRoutes(r,e,t){const o=r.value,c=e?e.value:null;if(o===c)if(o.component){const l=t.getContext(o.outlet);l&&this.deactivateChildRoutes(r,e,l.children)}else this.deactivateChildRoutes(r,e,t);else c&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){const t=e.getContext(r.value.outlet),o=t&&r.value.component?t.children:e,c=Qi(r);for(const l of Object.keys(c))this.deactivateRouteAndItsChildren(c[l],o);if(t&&t.outlet){const l=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:l,route:r,contexts:n})}}deactivateRouteAndOutlet(r,e){const t=e.getContext(r.value.outlet),o=t&&r.value.component?t.children:e,c=Qi(r);for(const l of Object.keys(c))this.deactivateRouteAndItsChildren(c[l],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(r,e,t){const o=Qi(e);r.children.forEach(c=>{this.activateRoutes(c,o[c.value.outlet],t),this.forwardEvent(new ga(c.value.snapshot))}),r.children.length&&this.forwardEvent(new Dn(r.value.snapshot))}activateRoutes(r,e,t){const o=r.value,c=e?e.value:null;if(hc(o),o===c)if(o.component){const l=t.getOrCreateContext(o.outlet);this.activateChildRoutes(r,e,l.children)}else this.activateChildRoutes(r,e,t);else if(o.component){const l=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const n=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),l.children.onOutletReAttached(n.contexts),l.attachRef=n.componentRef,l.route=n.route.value,l.outlet&&l.outlet.attach(n.componentRef,n.route.value),hc(n.route.value),this.activateChildRoutes(r,null,l.children)}else{const n=function Pb(s){for(let r=s.parent;r;r=r.parent){const e=r.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),i=n?n.module.componentFactoryResolver:null;l.attachRef=null,l.route=o,l.resolver=i,l.outlet&&l.outlet.activateWith(o,i),this.activateChildRoutes(r,null,l.children)}}else this.activateChildRoutes(r,null,t)}}class Co{constructor(r,e){this.routes=r,this.module=e}}function hn(s){return"function"==typeof s}function Lr(s){return s instanceof _a}const va=Symbol("INITIAL_VALUE");function Qn(){return(0,$i.w)(s=>(0,_s.a)(s.map(r=>r.pipe((0,hi.q)(1),$n(va)))).pipe(bs((r,e)=>{let t=!1;return e.reduce((o,c,l)=>o!==va?o:(c===va&&(t=!0),t||!1!==c&&l!==e.length-1&&!Lr(c)?o:c),r)},va),(0,Mi.h)(r=>r!==va),(0,ft.U)(r=>Lr(r)?r:!0===r),(0,hi.q)(1)))}class vo{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(r,e){const t=this.getOrCreateContext(r);t.outlet=e,this.contexts.set(r,t)}onChildOutletDestroyed(r){const e=this.getContext(r);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let e=this.getContext(r);return e||(e=new vo,this.contexts.set(r,e)),e}getContext(r){return this.contexts.get(r)||null}}let Is=(()=>{class s{constructor(e,t,o,c,l){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=l,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=c||ot,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 l=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new wu(e,n,this.location.injector);this.activated=this.location.createComponent(l,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Jn),f.Y36(f.s_b),f.Y36(f._Vd),f.$8M("name"),f.Y36(f.sBO))},s.\u0275dir=f.lG2({type:s,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),s})();class wu{constructor(r,e,t){this.route=r,this.childContexts=e,this.parent=t}get(r,e){return r===Ji?this.route:r===Jn?this.childContexts:this.parent.get(r,e)}}let wa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&f._UZ(0,"router-outlet")},directives:[Is],encapsulation:2}),s})();function Ib(s,r=""){for(let e=0;ePn(t)===r);return e.push(...s.filter(t=>Pn(t)!==r)),e}const Bb={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xu(s,r,e){var t;if(""===r.path)return"full"===r.pathMatch&&(s.hasChildren()||e.length>0)?Object.assign({},Bb):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const c=(r.matcher||vt)(e,s,r);if(!c)return Object.assign({},Bb);const l={};ni(c.posParams,(i,a)=>{l[a]=i.path});const n=c.consumed.length>0?Object.assign(Object.assign({},l),c.consumed[c.consumed.length-1].parameters):l;return{matched:!0,consumedSegments:c.consumed,lastChild:c.consumed.length,parameters:n,positionalParamSegments:null!==(t=c.posParams)&&void 0!==t?t:{}}}function Tu(s,r,e,t,o="corrected"){if(e.length>0&&function e0(s,r,e){return e.some(t=>wo(s,r,t)&&Pn(t)!==ot)}(s,e,t)){const l=new Ct(r,function ks(s,r,e,t){const o={};o[ot]=t,t._sourceSegment=s,t._segmentIndexShift=r.length;for(const c of e)if(""===c.path&&Pn(c)!==ot){const l=new Ct([],{});l._sourceSegment=s,l._segmentIndexShift=r.length,o[Pn(c)]=l}return o}(s,r,t,new Ct(e,s.children)));return l._sourceSegment=s,l._segmentIndexShift=r.length,{segmentGroup:l,slicedSegments:[]}}if(0===e.length&&function ri(s,r,e){return e.some(t=>wo(s,r,t))}(s,e,t)){const l=new Ct(s.segments,function XA(s,r,e,t,o,c){const l={};for(const n of t)if(wo(s,e,n)&&!o[Pn(n)]){const i=new Ct([],{});i._sourceSegment=s,i._segmentIndexShift="legacy"===c?s.segments.length:r.length,l[Pn(n)]=i}return Object.assign(Object.assign({},o),l)}(s,r,e,t,s.children,o));return l._sourceSegment=s,l._segmentIndexShift=r.length,{segmentGroup:l,slicedSegments:e}}const c=new Ct(s.segments,s.children);return c._sourceSegment=s,c._segmentIndexShift=r.length,{segmentGroup:c,slicedSegments:e}}function wo(s,r,e){return(!(s.hasChildren()||r.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ao(s,r,e,t){return!!(Pn(s)===t||t!==ot&&wo(r,e,s))&&("**"===s.path||xu(r,s,e).matched)}function Ob(s,r,e){return 0===r.length&&!s.children[e]}class Vs{constructor(r){this.segmentGroup=r||null}}class Ki{constructor(r){this.urlTree=r}}function Zi(s){return new vi.y(r=>r.error(new Vs(s)))}function Eu(s){return new vi.y(r=>r.error(new Ki(s)))}function mc(s){return new vi.y(r=>r.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${s}'`)))}class Lb{constructor(r,e,t,o,c){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=c,this.allowRedirects=!0,this.ngModule=r.get(f.h0i)}apply(){const r=Tu(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(r.segments,r.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ot).pipe((0,ft.U)(c=>this.createUrlTree(hf(c),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yi.K)(c=>{if(c instanceof Ki)return this.allowRedirects=!1,this.match(c.urlTree);throw c instanceof Vs?this.noMatchError(c):c}))}match(r){return this.expandSegmentGroup(this.ngModule,this.config,r.root,ot).pipe((0,ft.U)(o=>this.createUrlTree(hf(o),r.queryParams,r.fragment))).pipe((0,Yi.K)(o=>{throw o instanceof Vs?this.noMatchError(o):o}))}noMatchError(r){return new Error(`Cannot match any routes. URL Segment: '${r.segmentGroup}'`)}createUrlTree(r,e,t){const o=r.segments.length>0?new Ct([],{[ot]:r}):r;return new _a(o,e,t)}expandSegmentGroup(r,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(r,e,t).pipe((0,ft.U)(c=>new Ct([],c))):this.expandSegment(r,t,e,t.segments,o,!0)}expandChildren(r,e,t){const o=[];for(const c of Object.keys(t.children))"primary"===c?o.unshift(c):o.push(c);return(0,Li.D)(o).pipe((0,fr.b)(c=>{const l=t.children[c],n=Vb(e,c);return this.expandSegmentGroup(r,n,l,c).pipe((0,ft.U)(i=>({segment:i,outlet:c})))}),bs((c,l)=>(c[l.outlet]=l.segment,c),{}),function vs(s,r){const e=arguments.length>=2;return t=>t.pipe(s?(0,Mi.h)((o,c)=>s(o,c,t)):ys.y,tc(1),e?(0,Cs.d)(r):(0,ou.T)(()=>new oo.K))}())}expandSegment(r,e,t,o,c,l){return(0,Li.D)(t).pipe((0,fr.b)(n=>this.expandSegmentAgainstRoute(r,e,t,n,o,c,l).pipe((0,Yi.K)(a=>{if(a instanceof Vs)return(0,Ue.of)(null);throw a}))),(0,uo.P)(n=>!!n),(0,Yi.K)((n,i)=>{if(n instanceof oo.K||"EmptyError"===n.name){if(Ob(e,o,c))return(0,Ue.of)(new Ct([],{}));throw new Vs(e)}throw n}))}expandSegmentAgainstRoute(r,e,t,o,c,l,n){return Ao(o,e,c,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(r,e,o,c,l):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l):Zi(e):Zi(e)}expandSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(r,t,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l)}expandWildCardWithParamsAgainstRouteUsingRedirect(r,e,t,o){const c=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Eu(c):this.lineralizeSegments(t,c).pipe((0,gt.z)(l=>{const n=new Ct(l,{});return this.expandSegment(r,n,e,l,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l){const{matched:n,consumedSegments:i,lastChild:a,positionalParamSegments:d}=xu(e,o,c);if(!n)return Zi(e);const u=this.applyRedirectCommands(i,o.redirectTo,d);return o.redirectTo.startsWith("/")?Eu(u):this.lineralizeSegments(o,u).pipe((0,gt.z)(g=>this.expandSegment(r,e,t,g.concat(c.slice(a)),l,!1)))}matchSegmentAgainstRoute(r,e,t,o,c){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.configLoader.load(r.injector,t)).pipe((0,ft.U)(g=>(t._loadedConfig=g,new Ct(o,{})))):(0,Ue.of)(new Ct(o,{}));const{matched:l,consumedSegments:n,lastChild:i}=xu(e,t,o);if(!l)return Zi(e);const a=o.slice(i);return this.getChildConfig(r,t,o).pipe((0,gt.z)(u=>{const g=u.module,b=u.routes,{segmentGroup:H,slicedSegments:U}=Tu(e,n,a,b),oe=new Ct(H.segments,H.children);if(0===U.length&&oe.hasChildren())return this.expandChildren(g,b,oe).pipe((0,ft.U)(wt=>new Ct(n,wt)));if(0===b.length&&0===U.length)return(0,Ue.of)(new Ct(n,{}));const Be=Pn(t)===c;return this.expandSegment(g,oe,b,U,Be?ot:c,!0).pipe((0,ft.U)(et=>new Ct(n.concat(et.segments),et.children)))}))}getChildConfig(r,e,t){return e.children?(0,Ue.of)(new Co(e.children,r)):e.loadChildren?void 0!==e._loadedConfig?(0,Ue.of)(e._loadedConfig):this.runCanLoadGuards(r.injector,e,t).pipe((0,gt.z)(o=>o?this.configLoader.load(r.injector,e).pipe((0,ft.U)(c=>(e._loadedConfig=c,c))):function Bs(s){return new vi.y(r=>r.error(su(`Cannot load children because the guard of the route "path: '${s.path}'" returned false`)))}(e))):(0,Ue.of)(new Co([],r))}runCanLoadGuards(r,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ue.of)(!0);const c=o.map(l=>{const n=r.get(l);let i;if(function cf(s){return s&&hn(s.canLoad)}(n))i=n.canLoad(e,t);else{if(!hn(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return gr(i)});return(0,Ue.of)(c).pipe(Qn(),(0,M.b)(l=>{if(!Lr(l))return;const n=su(`Redirecting to "${this.urlSerializer.serialize(l)}"`);throw n.url=l,n}),(0,ft.U)(l=>!0===l))}lineralizeSegments(r,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ue.of)(t);if(o.numberOfChildren>1||!o.children[ot])return mc(r.redirectTo);o=o.children[ot]}}applyRedirectCommands(r,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),r,t)}applyRedirectCreatreUrlTree(r,e,t,o){const c=this.createSegmentGroup(r,e.root,t,o);return new _a(c,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){const t={};return ni(r,(o,c)=>{if("string"==typeof o&&o.startsWith(":")){const n=o.substring(1);t[c]=e[n]}else t[c]=o}),t}createSegmentGroup(r,e,t,o){const c=this.createSegments(r,e.segments,t,o);let l={};return ni(e.children,(n,i)=>{l[i]=this.createSegmentGroup(r,n,t,o)}),new Ct(c,l)}createSegments(r,e,t,o){return e.map(c=>c.path.startsWith(":")?this.findPosParam(r,c,o):this.findOrReturn(c,t))}findPosParam(r,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${r}'. Cannot find '${e.path}'.`);return o}findOrReturn(r,e){let t=0;for(const o of e){if(o.path===r.path)return e.splice(t),o;t++}return r}}function hf(s){const r={};for(const t of Object.keys(s.children)){const c=hf(s.children[t]);(c.segments.length>0||c.hasChildren())&&(r[t]=c)}return function Fb(s){if(1===s.numberOfChildren&&s.children[ot]){const r=s.children[ot];return new Ct(s.segments.concat(r.segments),r.children)}return s}(new Ct(s.segments,r))}class Su{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}}class xi{constructor(r,e){this.component=r,this.route=e}}function Mu(s,r,e){const t=s._root;return Os(t,r?r._root:null,e,[t.value])}function Du(s,r,e){const t=function pf(s){if(!s)return null;for(let r=s.parent;r;r=r.parent){const e=r.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(r);return(t?t.module.injector:e).get(s)}function Os(s,r,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const c=Qi(r);return s.children.forEach(l=>{(function jb(s,r,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const c=s.value,l=r?r.value:null,n=e?e.getContext(s.value.outlet):null;if(l&&c.routeConfig===l.routeConfig){const i=function Nb(s,r,e){if("function"==typeof e)return e(s,r);switch(e){case"pathParamsChange":return!Or(s.url,r.url);case"pathParamsOrQueryParamsChange":return!Or(s.url,r.url)||!Pt(s.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ps(s,r)||!Pt(s.queryParams,r.queryParams);default:return!Ps(s,r)}}(l,c,c.routeConfig.runGuardsAndResolvers);i?o.canActivateChecks.push(new Su(t)):(c.data=l.data,c._resolvedData=l._resolvedData),Os(s,r,c.component?n?n.children:null:e,t,o),i&&n&&n.outlet&&n.outlet.isActivated&&o.canDeactivateChecks.push(new xi(n.outlet.component,l))}else l&&Ls(r,n,o),o.canActivateChecks.push(new Su(t)),Os(s,null,c.component?n?n.children:null:e,t,o)})(l,c[l.value.outlet],e,t.concat([l.value]),o),delete c[l.value.outlet]}),ni(c,(l,n)=>Ls(l,e.getContext(n),o)),o}function Ls(s,r,e){const t=Qi(s),o=s.value;ni(t,(c,l)=>{Ls(c,o.component?r?r.children.getContext(l):null:r,e)}),e.canDeactivateChecks.push(new xi(o.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,o))}class Ub{}function gf(s){return new vi.y(r=>r.error(s))}class mf{constructor(r,e,t,o,c,l){this.rootComponentType=r,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=c,this.relativeLinkResolution=l}recognize(){const r=Tu(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,r,ot);if(null===e)return null;const t=new uc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ot,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new br(t,e),c=new Eb(this.url,o);return this.inheritParamsAndData(c._root),c}inheritParamsAndData(r){const e=r.value,t=dc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),r.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(r,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(r,e):this.processSegment(r,e,e.segments,t)}processChildren(r,e){const t=[];for(const c of Object.keys(e.children)){const l=e.children[c],n=Vb(r,c),i=this.processSegmentGroup(n,l,c);if(null===i)return null;t.push(...i)}const o=bf(t);return function qb(s){s.sort((r,e)=>r.value.outlet===ot?-1:e.value.outlet===ot?1:r.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(r,e,t,o){for(const c of r){const l=this.processSegmentAgainstRoute(c,e,t,o);if(null!==l)return l}return Ob(e,t,o)?[]:null}processSegmentAgainstRoute(r,e,t,o){if(r.redirectTo||!Ao(r,e,t,o))return null;let c,l=[],n=[];if("**"===r.path){const b=t.length>0?Hn(t).parameters:{};c=new uc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cc(r),Pn(r),r.component,r,Ru(e),Cf(e)+t.length,To(r))}else{const b=xu(e,r,t);if(!b.matched)return null;l=b.consumedSegments,n=t.slice(b.lastChild),c=new uc(l,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cc(r),Pn(r),r.component,r,Ru(e),Cf(e)+l.length,To(r))}const i=function js(s){return s.children?s.children:s.loadChildren?s._loadedConfig.routes:[]}(r),{segmentGroup:a,slicedSegments:d}=Tu(e,l,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&a.hasChildren()){const b=this.processChildren(i,a);return null===b?null:[new br(c,b)]}if(0===i.length&&0===d.length)return[new br(c,[])];const u=Pn(r)===o,g=this.processSegment(i,a,d,u?ot:o);return null===g?null:[new br(c,g)]}}function _f(s){const r=s.value.routeConfig;return r&&""===r.path&&void 0===r.redirectTo}function bf(s){const r=[],e=new Set;for(const t of s){if(!_f(t)){r.push(t);continue}const o=r.find(c=>t.value.routeConfig===c.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):r.push(t)}for(const t of e){const o=bf(t.children);r.push(new br(t.value,o))}return r.filter(t=>!e.has(t))}function Ru(s){let r=s;for(;r._sourceSegment;)r=r._sourceSegment;return r}function Cf(s){let r=s,e=r._segmentIndexShift?r._segmentIndexShift:0;for(;r._sourceSegment;)r=r._sourceSegment,e+=r._segmentIndexShift?r._segmentIndexShift:0;return e-1}function Cc(s){return s.data||{}}function To(s){return s.resolve||{}}function Fr(s){return[...Object.keys(s),...Object.getOwnPropertySymbols(s)]}function jr(s){return(0,$i.w)(r=>{const e=s(r);return e?(0,Li.D)(e).pipe((0,ft.U)(()=>r)):(0,Ue.of)(r)})}class Iu extends class vf{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}}{}const Eo=new f.OlP("ROUTES");class ku{constructor(r,e,t,o){this.injector=r,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(r,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,ft.U)(c=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=c.create(r);return new Co(ho(l.injector.get(Eo,void 0,f.XFs.Self|f.XFs.Optional)).map(Au),l)}),(0,Yi.K)(c=>{throw e._loader$=void 0,c}));return e._loader$=new Yp(o,()=>new Fe.x).pipe(ec()),e._loader$}loadModuleFactory(r){return gr(r()).pipe((0,gt.z)(e=>e instanceof f.YKP?(0,Ue.of)(e):(0,Li.D)(this.compiler.compileModuleAsync(e))))}}class Kb{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,e){return r}}function So(s){throw s}function zs(s,r,e){return r.parse("/")}function wf(s,r){return(0,Ue.of)(null)}const r0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Af={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pi=(()=>{class s{constructor(e,t,o,c,l,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=c,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Fe.x,this.errorHandler=So,this.malformedUriErrorHandler=zs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wf,afterPreactivation:wf},this.urlHandlingStrategy=new Kb,this.routeReuseStrategy=new Iu,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=l.get(f.h0i),this.console=l.get(f.c2e);const u=l.get(f.R0b);this.isNgZoneEnabled=u instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function Cb(){return new _a(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ku(l,n,g=>this.triggerEvent(new Ot(g)),g=>this.triggerEvent(new Nt(g))),this.routerState=tf(this.currentUrlTree,this.rootComponentType),this.transitions=new di({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,Mi.h)(o=>0!==o.id),(0,ft.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,$i.w)(o=>{let c=!1,l=!1;return(0,Ue.of)(o).pipe((0,M.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,$i.w)(n=>{const i=this.browserUrlTree.toString(),a=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||a)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return yc(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ue.of)(n).pipe((0,$i.w)(u=>{const g=this.transitions.getValue();return t.next(new J(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),g!==this.transitions.getValue()?Di.E:Promise.resolve(u)}),function t0(s,r,e,t){return(0,$i.w)(o=>function uf(s,r,e,t,o){return new Lb(s,r,e,t,o).apply()}(s,r,e,o.extractedUrl,t).pipe((0,ft.U)(c=>Object.assign(Object.assign({},o),{urlAfterRedirects:c}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,M.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function Wb(s,r,e,t,o){return(0,gt.z)(c=>function Gb(s,r,e,t,o="emptyOnly",c="legacy"){try{const l=new mf(s,r,e,t,o,c).recognize();return null===l?gf(new Ub):(0,Ue.of)(l)}catch(l){return gf(l)}}(s,r,c.urlAfterRedirects,e(c.urlAfterRedirects),t,o).pipe((0,ft.U)(l=>Object.assign(Object.assign({},c),{targetSnapshot:l}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,M.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const g=new Ht(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(g)}));if(a&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:b,source:H,restoredState:U,extras:oe}=n,Be=new J(g,this.serializeUrl(b),H,U);t.next(Be);const lt=tf(b,this.rootComponentType).snapshot;return(0,Ue.of)(Object.assign(Object.assign({},n),{targetSnapshot:lt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},oe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Di.E}),jr(n=>{const{targetSnapshot:i,id:a,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:g,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:a,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!g,replaceUrl:!!b})}),(0,M.b)(n=>{const i=new Tt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,ft.U)(n=>Object.assign(Object.assign({},n),{guards:Mu(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function zb(s,r){return(0,gt.z)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:c,canDeactivateChecks:l}}=e;return 0===l.length&&0===c.length?(0,Ue.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function ff(s,r,e,t){return(0,Li.D)(s).pipe((0,gt.z)(o=>function bc(s,r,e,t,o){const c=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!c||0===c.length)return(0,Ue.of)(!0);const l=c.map(n=>{const i=Du(n,r,o);let a;if(function vu(s){return s&&hn(s.canDeactivate)}(i))a=gr(i.canDeactivate(s,r,e,t));else{if(!hn(i))throw new Error("Invalid CanDeactivate guard");a=gr(i(s,r,e,t))}return a.pipe((0,uo.P)())});return(0,Ue.of)(l).pipe(Qn())}(o.component,o.route,e,r,t)),(0,uo.P)(o=>!0!==o,!0))}(l,t,o,s).pipe((0,gt.z)(n=>n&&function Rb(s){return"boolean"==typeof s}(n)?function Hu(s,r,e,t){return(0,Li.D)(r).pipe((0,fr.b)(o=>(0,so.z)(function n0(s,r){return null!==s&&r&&r(new Br(s)),(0,Ue.of)(!0)}(o.route.parent,t),function _c(s,r){return null!==s&&r&&r(new Je(s)),(0,Ue.of)(!0)}(o.route,t),function Pu(s,r,e){const t=r[r.length-1],c=r.slice(0,r.length-1).reverse().map(l=>function xo(s){const r=s.routeConfig?s.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:s,guards:r}:null}(l)).filter(l=>null!==l).map(l=>lo(()=>{const n=l.guards.map(i=>{const a=Du(i,l.node,e);let d;if(function df(s){return s&&hn(s.canActivateChild)}(a))d=gr(a.canActivateChild(t,s));else{if(!hn(a))throw new Error("Invalid CanActivateChild guard");d=gr(a(t,s))}return d.pipe((0,uo.P)())});return(0,Ue.of)(n).pipe(Qn())}));return(0,Ue.of)(c).pipe(Qn())}(s,o.path,e),function Fs(s,r,e){const t=r.routeConfig?r.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ue.of)(!0);const o=t.map(c=>lo(()=>{const l=Du(c,r,e);let n;if(function yo(s){return s&&hn(s.canActivate)}(l))n=gr(l.canActivate(r,s));else{if(!hn(l))throw new Error("Invalid CanActivate guard");n=gr(l(r,s))}return n.pipe((0,uo.P)())}));return(0,Ue.of)(o).pipe(Qn())}(s,o.route,e))),(0,uo.P)(o=>!0!==o,!0))}(t,c,s,r):(0,Ue.of)(n)),(0,ft.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,M.b)(n=>{if(Lr(n.guardsResult)){const a=su(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw a.url=n.guardsResult,a}const i=new mt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,Mi.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),jr(n=>{if(n.guards.canActivateChecks.length)return(0,Ue.of)(n).pipe((0,M.b)(i=>{const a=new yt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(a)}),(0,$i.w)(i=>{let a=!1;return(0,Ue.of)(i).pipe(function $b(s,r){return(0,gt.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ue.of)(e);let c=0;return(0,Li.D)(o).pipe((0,fr.b)(l=>function Yb(s,r,e,t){return function Ns(s,r,e,t){const o=Fr(s);if(0===o.length)return(0,Ue.of)({});const c={};return(0,Li.D)(o).pipe((0,gt.z)(l=>function yf(s,r,e,t){const o=Du(s,r,t);return gr(o.resolve?o.resolve(r,e):o(r,e))}(s[l],r,e,t).pipe((0,M.b)(n=>{c[l]=n}))),tc(1),(0,gt.z)(()=>Fr(c).length===o.length?(0,Ue.of)(c):Di.E))}(s._resolve,s,r,t).pipe((0,ft.U)(c=>(s._resolvedData=c,s.data=Object.assign(Object.assign({},s.data),dc(s,e).resolve),null)))}(l.route,t,s,r)),(0,M.b)(()=>c++),tc(1),(0,gt.z)(l=>c===o.length?(0,Ue.of)(e):Di.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,M.b)({next:()=>a=!0,complete:()=>{a||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,M.b)(i=>{const a=new Kt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(a)}))}),jr(n=>{const{targetSnapshot:i,id:a,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:g,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:a,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!g,replaceUrl:!!b})}),(0,ft.U)(n=>{const i=function pc(s,r,e){const t=mo(s,r._root,e?e._root:void 0);return new go(t,r)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,M.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((s,r,e)=>(0,ft.U)(t=>(new Hb(r,t.targetRouterState,t.currentRouterState,e).activate(s),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,M.b)({next(){c=!0},complete(){c=!0}}),I(()=>{var n;c||l||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===o.id&&(this.currentNavigation=null)}),(0,Yi.K)(n=>{if(l=!0,function ye(s){return s&&s[Qp]}(n)){const i=Lr(n.url);i||(this.navigated=!0,this.restoreHistory(o,!0));const a=new _e(o.id,this.serializeUrl(o.extractedUrl),n.message);t.next(a),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yc(o.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const i=new Ge(o.id,this.serializeUrl(o.extractedUrl),n);t.next(i);try{o.resolve(this.errorHandler(n))}catch(a){o.reject(a)}}return Di.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 c={replaceUrl:!0},l=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(l){const i=Object.assign({},l);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(c.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,l,c)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Ib(e),this.config=e.map(Au),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:c,fragment:l,queryParamsHandling:n,preserveFragment:i}=t,a=o||this.routerState.root,d=i?this.currentUrlTree.fragment:l;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),c);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=c||null}return null!==u&&(u=this.removeEmptyProps(u)),function Sb(s,r,e,t,o){if(0===e.length)return bo(r.root,r.root,r,t,o);const c=function af(s){if("string"==typeof s[0]&&1===s.length&&"/"===s[0])return new gu(!0,0,s);let r=0,e=!1;const t=s.reduce((o,c,l)=>{if("object"==typeof c&&null!=c){if(c.outlets){const n={};return ni(c.outlets,(i,a)=>{n[a]="string"==typeof i?i.split("/"):i}),[...o,{outlets:n}]}if(c.segmentPath)return[...o,c.segmentPath]}return"string"!=typeof c?[...o,c]:0===l?(c.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?r++:""!=n&&o.push(n))}),o):[...o,c]},[]);return new gu(e,r,t)}(e);if(c.toRoot())return bo(r.root,new Ct([],{}),r,t,o);const l=function Db(s,r,e){if(s.isAbsolute)return new mu(r.root,!0,0);if(-1===e.snapshot._lastPathIndex){const c=e.snapshot._urlSegment;return new mu(c,c===r.root,0)}const t=Cr(s.commands[0])?0:1;return function Rs(s,r,e){let t=s,o=r,c=e;for(;c>o;){if(c-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new mu(t,!1,o-c)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,s.numberOfDoubleDots)}(c,r,s),n=l.processChildren?ya(l.segmentGroup,l.index,c.commands):fc(l.segmentGroup,l.index,c.commands);return bo(l.segmentGroup,n,r,t,o)}(a,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=Lr(e)?e:this.parseUrl(e),c=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(c,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function a0(s){for(let r=0;r{const c=e[o];return null!=c&&(t[o]=c),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ue(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,c,l){var n,i,a;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=yc(t)&&d&&!yc(d.source),g=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&g&&b)return Promise.resolve(!0);let U,oe,Be;l?(U=l.resolve,oe=l.reject,Be=l.promise):Be=new Promise((wt,jn)=>{U=wt,oe=jn});const lt=++this.navigationId;let et;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),et=o&&o.\u0275routerPageId?o.\u0275routerPageId:c.replaceUrl||c.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(a=this.browserPageId)&&void 0!==a?a:0)+1):et=0,this.setTransition({id:lt,targetPageId:et,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:c,resolve:U,reject:oe,promise:Be,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Be.catch(wt=>Promise.reject(wt))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),c=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",c):this.location.go(o,"",c)}restoreHistory(e,t=!1){var o,c;if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===l?this.currentUrlTree===(null===(c=this.currentNavigation)||void 0===c?void 0:c.finalUrl)&&0===l&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(l)}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 _e(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 s.\u0275fac=function(e){f.$Z()},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function yc(s){return"imperative"!==s}class xf{}class Tf{preload(r,e){return(0,Ue.of)(null)}}let Us=(()=>{class s{constructor(e,t,o,c){this.router=e,this.injector=o,this.preloadingStrategy=c,this.loader=new ku(o,t,i=>e.triggerEvent(new Ot(i)),i=>e.triggerEvent(new Nt(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Mi.h)(e=>e instanceof ue),(0,fr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(f.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const c of t)if(c.loadChildren&&!c.canLoad&&c._loadedConfig){const l=c._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else c.loadChildren&&!c.canLoad?o.push(this.preloadConfig(e,c)):c.children&&o.push(this.processRoutes(e,c.children));return(0,Li.D)(o).pipe((0,D.J)(),(0,ft.U)(c=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,gt.z)(c=>(t._loadedConfig=c,this.processRoutes(c.module,c.routes)))))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(pi),f.LFG(f.Sil),f.LFG(f.zs3),f.LFG(xf))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Gs=(()=>{class s{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ue&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ws&&(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 ws(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return s.\u0275fac=function(e){f.$Z()},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const Nr=new f.OlP("ROUTER_CONFIGURATION"),Lu=new f.OlP("ROUTER_FORROOT_GUARD"),Aa=[E.Ye,{provide:Xp,useClass:hu},{provide:pi,useFactory:function Do(s,r,e,t,o,c,l={},n,i){const a=new pi(null,s,r,e,t,o,ho(c));return n&&(a.urlHandlingStrategy=n),i&&(a.routeReuseStrategy=i),function Ef(s,r){s.errorHandler&&(r.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(r.malformedUriErrorHandler=s.malformedUriErrorHandler),s.onSameUrlNavigation&&(r.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(r.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.relativeLinkResolution&&(r.relativeLinkResolution=s.relativeLinkResolution),s.urlUpdateStrategy&&(r.urlUpdateStrategy=s.urlUpdateStrategy),s.canceledNavigationResolution&&(r.canceledNavigationResolution=s.canceledNavigationResolution)}(l,a),l.enableTracing&&a.events.subscribe(d=>{var u,g;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(g=console.groupEnd)||void 0===g||g.call(console)}),a},deps:[Xp,Jn,E.Ye,f.zs3,f.Sil,Eo,Nr,[class Jb{},new f.FiY],[class Qb{},new f.FiY]]},Jn,{provide:Ji,useFactory:function rC(s){return s.routerState.root},deps:[pi]},Us,Tf,class Zb{preload(r,e){return e().pipe((0,Yi.K)(()=>(0,Ue.of)(null)))}},{provide:Nr,useValue:{enableTracing:!1}}];function eC(){return new f.PXZ("Router",pi)}let vc=(()=>{class s{constructor(e,t){}static forRoot(e,t){return{ngModule:s,providers:[Aa,Kn(e),{provide:Lu,useFactory:nC,deps:[[pi,new f.FiY,new f.tp0]]},{provide:Nr,useValue:t||{}},{provide:E.S$,useFactory:iC,deps:[E.lw,[new f.tBr(E.mr),new f.FiY],Nr]},{provide:Gs,useFactory:tC,deps:[pi,E.EM,Nr]},{provide:xf,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Tf},{provide:f.PXZ,multi:!0,useFactory:eC},[Fu,{provide:f.ip1,multi:!0,useFactory:aC,deps:[Fu]},{provide:Sf,useFactory:oC,deps:[Fu]},{provide:f.tb,multi:!0,useExisting:Sf}]]}}static forChild(e){return{ngModule:s,providers:[Kn(e)]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Lu,8),f.LFG(pi,8))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();function tC(s,r,e){return e.scrollOffset&&r.setOffset(e.scrollOffset),new Gs(s,r,e)}function iC(s,r,e={}){return e.useHash?new E.Do(s,r):new E.b0(s,r)}function nC(s){return"guarded"}function Kn(s){return[{provide:f.deG,multi:!0,useValue:s},{provide:Eo,multi:!0,useValue:s}]}let Fu=(()=>{class s{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Fe.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(n=>t=n),c=this.injector.get(pi),l=this.injector.get(Nr);return"disabled"===l.initialNavigation?(c.setUpLocationChangeListener(),t(!0)):"enabled"===l.initialNavigation||"enabledBlocking"===l.initialNavigation?(c.hooks.afterPreactivation=()=>this.initNavigation?(0,Ue.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),c.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(Nr),o=this.injector.get(Us),c=this.injector.get(Gs),l=this.injector.get(pi),n=this.injector.get(f.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),c.init(),l.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.zs3))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function aC(s){return s.appInitializer.bind(s)}function oC(s){return s.bootstrapListener.bind(s)}const Sf=new f.OlP("Router Initializer"),sC=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function lC(){return(0,f.f3M)(E.K0)}}),cC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ea,xa=(()=>{class s{constructor(e){if(this.value="ltr",this.change=new f.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function s0(s){const r=(null==s?void 0:s.toLowerCase())||"";return"auto"===r&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?cC.test(navigator.language)?"rtl":"ltr":"rtl"===r?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(sC,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ta=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();try{Ea="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(s){Ea=!1}let Sa,fi=(()=>{class s{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!Ea)&&"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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.Lbi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const uC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function hC(){if(Sa)return Sa;if("object"!=typeof document||!document)return Sa=new Set(uC),Sa;let s=document.createElement("input");return Sa=new Set(uC.filter(r=>(s.setAttribute("type",r),s.type===r))),Sa}let Ac,Po,Nu;function pn(s){return function ju(){if(null==Ac&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ac=!0}))}finally{Ac=Ac||!1}return Ac}()?s:!!s.capture}function l0(){if(null==Po){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Po=!1,Po;if("scrollBehavior"in document.documentElement.style)Po=!0;else{const s=Element.prototype.scrollTo;Po=!!s&&!/\{\s*\[native code\]\s*\}/.test(s.toString())}}return Po}function xc(s){if(function fC(){if(null==Nu){const s="undefined"!=typeof document?document.head:null;Nu=!(!s||!s.createShadowRoot&&!s.attachShadow)}return Nu}()){const r=s.getRootNode?s.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&r instanceof ShadowRoot)return r}return null}function zu(){let s="undefined"!=typeof document&&document?document.activeElement:null;for(;s&&s.shadowRoot;){const r=s.shadowRoot.activeElement;if(r===s)break;s=r}return s}function fn(s){return s.composedPath?s.composedPath()[0]:s.target}function Ro(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var Jf=x(8372);function Kf(s,r){return s===r}var YC=x(5032);function Gt(s){return(0,Hi.e)((r,e)=>{(0,fa.Xf)(s).subscribe((0,Fi.x)(e,()=>e.complete(),YC.Z)),!e.closed&&r.subscribe(e)})}function rt(s){return null!=s&&"false"!=`${s}`}function Ar(s,r=0){return Yu(s)?Number(s):r}function Yu(s){return!isNaN(parseFloat(s))&&!isNaN(Number(s))}function Zf(s){return Array.isArray(s)?s:[s]}function Xt(s){return null==s?"":"string"==typeof s?s:`${s}px`}function Wt(s){return s instanceof f.SBq?s.nativeElement:s}let Qu=(()=>{class s{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Xf=(()=>{class s{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Wt(e);return new vi.y(o=>{const l=this._observeElement(t).subscribe(o);return()=>{l.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Fe.x,o=this._mutationObserverFactory.create(c=>t.next(c));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 s.\u0275fac=function(e){return new(e||s)(f.LFG(Qu))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Dc=(()=>{class s{constructor(e,t,o){this._contentObserver=e,this._elementRef=t,this._ngZone=o,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=rt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ar(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,Jf.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Xf),f.Y36(f.SBq),f.Y36(f.R0b))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),s})(),zr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Qu]}),s})(),Ic=(()=>{class s{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function ZC(s){return!!(s.offsetWidth||s.offsetHeight||"function"==typeof s.getClientRects&&s.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Q0(s){try{return s.frameElement}catch(r){return null}}(function ny(s){return s.ownerDocument&&s.ownerDocument.defaultView||window}(e));if(t&&(-1===iy(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),c=iy(e);return e.hasAttribute("contenteditable")?-1!==c:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function ng(s){let r=s.nodeName.toLowerCase(),e="input"===r&&s.type;return"text"===e||"password"===e||"select"===r||"textarea"===r}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==c:"video"===o?-1!==c&&(null!==c||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function rg(s){return!function ey(s){return function tg(s){return"input"==s.nodeName.toLowerCase()}(s)&&"hidden"==s.type}(s)&&(function XC(s){let r=s.nodeName.toLowerCase();return"input"===r||"select"===r||"button"===r||"textarea"===r}(s)||function ty(s){return function J0(s){return"a"==s.nodeName.toLowerCase()}(s)&&s.hasAttribute("href")}(s)||s.hasAttribute("contenteditable")||ig(s))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function ig(s){if(!s.hasAttribute("tabindex")||void 0===s.tabIndex)return!1;let r=s.getAttribute("tabindex");return!(!r||isNaN(parseInt(r,10)))}function iy(s){if(!ig(s))return null;const r=parseInt(s.getAttribute("tabindex")||"",10);return isNaN(r)?-1:r}class Xu{constructor(r,e,t,o,c=!1){this._element=r,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,c||this.attachAnchors()}get enabled(){return this._enabled}set enabled(r){this._enabled=r,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}destroy(){const r=this._startAnchor,e=this._endAnchor;r&&(r.removeEventListener("focus",this.startAnchorListener),r.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(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(r)))})}focusFirstTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(r)))})}focusLastTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(r)))})}_getRegionBoundary(r){const e=this._element.querySelectorAll(`[cdk-focus-region-${r}], [cdkFocusRegion${r}], [cdk-focus-${r}]`);return"start"==r?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(r){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(r),!!t}return e.focus(r),!0}return this.focusFirstTabbableElement(r)}focusFirstTabbableElement(r){const e=this._getRegionBoundary("start");return e&&e.focus(r),!!e}focusLastTabbableElement(r){const e=this._getRegionBoundary("end");return e&&e.focus(r),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;const e=r.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 r=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,r),r.classList.add("cdk-visually-hidden"),r.classList.add("cdk-focus-trap-anchor"),r.setAttribute("aria-hidden","true"),r}_toggleAnchorTabIndex(r,e){r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(r){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}_executeOnStable(r){this._ngZone.isStable?r():this._ngZone.onStable.pipe((0,hi.q)(1)).subscribe(r)}}let K0=(()=>{class s{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new Xu(e,this._checker,this._ngZone,this._document,t)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Ic),f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function ag(s){return 0===s.buttons||0===s.offsetX&&0===s.offsetY}function og(s){const r=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!(!r||-1!==r.identifier||null!=r.radiusX&&1!==r.radiusX||null!=r.radiusY&&1!==r.radiusY)}const Z0=new f.OlP("cdk-input-modality-detector-options"),Gr={ignoreKeys:[18,17,224,91,16]},Bo=pn({passive:!0,capture:!0});let sg=(()=>{class s{constructor(e,t,o,c){this._platform=e,this._mostRecentTarget=null,this._modality=new di(null),this._lastTouchMs=0,this._onKeydown=l=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(a=>a===l.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fn(l))},this._onMousedown=l=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ag(l)?"keyboard":"mouse"),this._mostRecentTarget=fn(l))},this._onTouchstart=l=>{og(l)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fn(l))},this._options=Object.assign(Object.assign({},Gr),c),this.modalityDetected=this._modality.pipe(function In(s){return(0,Mi.h)((r,e)=>s<=e)}(1)),this.modalityChanged=this.modalityDetected.pipe(function $C(s,r=ys.y){return s=null!=s?s:Kf,(0,Hi.e)((e,t)=>{let o,c=!0;e.subscribe((0,Fi.x)(t,l=>{const n=r(l);(c||!s(o,n))&&(c=!1,o=n,t.next(l))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Bo),o.addEventListener("mousedown",this._onMousedown,Bo),o.addEventListener("touchstart",this._onTouchstart,Bo)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Bo),document.removeEventListener("mousedown",this._onMousedown,Bo),document.removeEventListener("touchstart",this._onTouchstart,Bo))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b),f.LFG(E.K0),f.LFG(Z0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const ug=new f.OlP("cdk-focus-monitor-default-options"),Vc=pn({passive:!0,capture:!0});let qr=(()=>{class s{constructor(e,t,o,c,l){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 Fe.x,this._rootNodeFocusAndBlurListener=n=>{const i=fn(n),a="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)a.call(this,n,d)},this._document=c,this._detectionMode=(null==l?void 0:l.detectionMode)||0}monitor(e,t=!1){const o=Wt(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ue.of)(null);const c=xc(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return t&&(l.checkChildren=!0),l.subject;const n={checkChildren:t,subject:new Fe.x,rootNode:c};return this._elementInfo.set(o,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=Wt(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 c=Wt(e);c===this._getDocument().activeElement?this._getClosestElementsInfo(c).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof c.focus&&c.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),c=fn(e);!o||!o.checkChildren&&t!==c||this._originChanged(t,this._getFocusOrigin(c),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,Vc),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vc)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Gt(this._stopInputModalityDetector)).subscribe(c=>{this._setOrigin(c,!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,Vc),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vc),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,c)=>{(c===e||o.checkChildren&&c.contains(e))&&t.push([c,o])}),t}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(fi),f.LFG(sg),f.LFG(E.K0,8),f.LFG(ug,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const eh="cdk-high-contrast-black-on-white",hg="cdk-high-contrast-white-on-black",th="cdk-high-contrast-active";let Oo=(()=>{class s{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,c=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),c){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(th),e.remove(eh),e.remove(hg),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(th),e.add(eh)):2===t&&(e.add(th),e.add(hg))}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wr=(()=>{class s{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Oo))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[zr]]}),s})();class Bc{}const Xi="*";function Lt(s,r){return{type:7,name:s,definitions:r,options:{}}}function xt(s,r=null){return{type:4,styles:r,timings:s}}function ih(s,r=null){return{type:3,steps:s,options:r}}function nh(s,r=null){return{type:2,steps:s,options:r}}function Le(s){return{type:6,styles:s,offset:null}}function st(s,r,e){return{type:0,name:s,styles:r,options:e}}function bt(s,r,e=null){return{type:1,expr:s,animation:r,options:e}}function Js(s=null){return{type:9,options:s}}function Ks(s,r,e=null){return{type:11,selector:s,animation:r,options:e}}function pg(s){Promise.resolve(null).then(s)}class Fo{constructor(r=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=r+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(r=>r()),this._onDoneFns=[])}onStart(r){this._onStartFns.push(r)}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pg(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(r=>r()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(r=>r()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(r){this._position=this.totalTime?r*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class fg{constructor(r){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=r;let e=0,t=0,o=0;const c=this.players.length;0==c?pg(()=>this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++e==c&&this._onFinish()}),l.onDestroy(()=>{++t==c&&this._onDestroy()}),l.onStart(()=>{++o==c&&this._onStart()})}),this.totalTime=this.players.reduce((l,n)=>Math.max(l,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(r=>r()),this._onDoneFns=[])}init(){this.players.forEach(r=>r.init())}onStart(r){this._onStartFns.push(r)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(r=>r()),this._onStartFns=[])}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(r=>r.play())}pause(){this.players.forEach(r=>r.pause())}restart(){this.players.forEach(r=>r.restart())}finish(){this._onFinish(),this.players.forEach(r=>r.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(r=>r.destroy()),this._onDestroyFns.forEach(r=>r()),this._onDestroyFns=[])}reset(){this.players.forEach(r=>r.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(r){const e=r*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const r=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=r?r.getPosition():0}beforeDestroy(){this.players.forEach(r=>{r.beforeDestroy&&r.beforeDestroy()})}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function en(){return"undefined"!=typeof window&&void 0!==window.document}function ah(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Yr(s){switch(s.length){case 0:return new Fo;case 1:return s[0];default:return new fg(s)}}function ay(s,r,e,t,o={},c={}){const l=[],n=[];let i=-1,a=null;if(t.forEach(d=>{const u=d.offset,g=u==i,b=g&&a||{};Object.keys(d).forEach(H=>{let U=H,oe=d[H];if("offset"!==H)switch(U=r.normalizePropertyName(U,l),oe){case"!":oe=o[H];break;case Xi:oe=c[H];break;default:oe=r.normalizeStyleValue(H,U,oe,l)}b[U]=oe}),g||n.push(b),a=b,i=u}),l.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${l.join(d)}`)}return n}function gg(s,r,e,t){switch(r){case"start":s.onStart(()=>t(e&&Oc(e,"start",s)));break;case"done":s.onDone(()=>t(e&&Oc(e,"done",s)));break;case"destroy":s.onDestroy(()=>t(e&&Oc(e,"destroy",s)))}}function Oc(s,r,e){const t=e.totalTime,c=mg(s.element,s.triggerName,s.fromState,s.toState,r||s.phaseName,null==t?s.totalTime:t,!!e.disabled),l=s._data;return null!=l&&(c._data=l),c}function mg(s,r,e,t,o="",c=0,l){return{element:s,triggerName:r,fromState:e,toState:t,phaseName:o,totalTime:c,disabled:!!l}}function tn(s,r,e){let t;return s instanceof Map?(t=s.get(r),t||s.set(r,t=e)):(t=s[r],t||(t=s[r]=e)),t}function Lc(s){const r=s.indexOf(":");return[s.substring(1,r),s.substr(r+1)]}let Fc=(s,r)=>!1,_g=(s,r,e)=>[];(ah()||"undefined"!=typeof Element)&&(Fc=en()?(s,r)=>{for(;r&&r!==document.documentElement;){if(r===s)return!0;r=r.parentNode||r.host}return!1}:(s,r)=>s.contains(r),_g=(s,r,e)=>{if(e)return Array.from(s.querySelectorAll(r));const t=s.querySelector(r);return t?[t]:[]});let Qr=null,bg=!1;function oh(s){Qr||(Qr=function sy(){return"undefined"!=typeof document?document.body:null}()||{},bg=!!Qr.style&&"WebkitAppearance"in Qr.style);let r=!0;return Qr.style&&!function oy(s){return"ebkit"==s.substring(1,6)}(s)&&(r=s in Qr.style,!r&&bg&&(r="Webkit"+s.charAt(0).toUpperCase()+s.substr(1)in Qr.style)),r}const Cg=Fc,sh=_g;let yg=(()=>{class s{validateStyleProperty(e){return oh(e)}matchesElement(e,t){return!1}containsElement(e,t){return Cg(e,t)}query(e,t,o){return sh(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,c,l,n=[],i){return new Fo(o,c)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),mn=(()=>{class s{}return s.NOOP=new yg,s})();const wg="ng-enter",Zs="ng-leave",jc="ng-trigger",Nc=".ng-trigger",Ag="ng-animating",Xs=".ng-animating";function Da(s){if("number"==typeof s)return s;const r=s.match(/^(-?[\.\d]+)(m?s)/);return!r||r.length<2?0:ch(parseFloat(r[1]),r[2])}function ch(s,r){return"s"===r?1e3*s:s}function Ha(s,r,e){return s.hasOwnProperty("duration")?s:function dh(s,r,e){let o,c=0,l="";if("string"==typeof s){const n=s.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return r.push(`The provided timing value "${s}" is invalid.`),{duration:0,delay:0,easing:""};o=ch(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(c=ch(parseFloat(i),n[4]));const a=n[5];a&&(l=a)}else o=s;if(!e){let n=!1,i=r.length;o<0&&(r.push("Duration values below 0 are not allowed for this animation step."),n=!0),c<0&&(r.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&r.splice(i,0,`The provided timing value "${s}" is invalid.`)}return{duration:o,delay:c,easing:l}}(s,r,e)}function jo(s,r={}){return Object.keys(s).forEach(e=>{r[e]=s[e]}),r}function Zn(s,r,e={}){if(r)for(let t in s)e[t]=s[t];else jo(s,e);return e}function uh(s,r,e){return e?r+":"+e+";":""}function xg(s){let r="";for(let e=0;e{const o=kn(t);e&&!e.hasOwnProperty(t)&&(e[t]=s.style[o]),s.style[o]=r[t]}),ah()&&xg(s))}function xr(s,r){s.style&&(Object.keys(r).forEach(e=>{const t=kn(e);s.style[t]=""}),ah()&&xg(s))}function Uc(s){return Array.isArray(s)?1==s.length?s[0]:nh(s):s}const Gc=new RegExp("{{\\s*(.+?)\\s*}}","g");function hh(s){let r=[];if("string"==typeof s){let e;for(;e=Gc.exec(s);)r.push(e[1]);Gc.lastIndex=0}return r}function el(s,r,e){const t=s.toString(),o=t.replace(Gc,(c,l)=>{let n=r[l];return r.hasOwnProperty(l)||(e.push(`Please provide a value for the animation param ${l}`),n=""),n.toString()});return o==t?s:o}function tl(s){const r=[];let e=s.next();for(;!e.done;)r.push(e.value),e=s.next();return r}const Tg=/-+([a-z0-9])/g;function kn(s){return s.replace(Tg,(...r)=>r[1].toUpperCase())}function qc(s){return s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _n(s,r,e){switch(r.type){case 7:return s.visitTrigger(r,e);case 0:return s.visitState(r,e);case 1:return s.visitTransition(r,e);case 2:return s.visitSequence(r,e);case 3:return s.visitGroup(r,e);case 4:return s.visitAnimate(r,e);case 5:return s.visitKeyframes(r,e);case 6:return s.visitStyle(r,e);case 8:return s.visitReference(r,e);case 9:return s.visitAnimateChild(r,e);case 10:return s.visitAnimateRef(r,e);case 11:return s.visitQuery(r,e);case 12:return s.visitStagger(r,e);default:throw new Error(`Unable to resolve animation metadata node #${r.type}`)}}function Wc(s,r){return window.getComputedStyle(s)[r]}function ph(s,r){const e=[];return"string"==typeof s?s.split(/\s*,\s*/).forEach(t=>function nl(s,r,e){if(":"==s[0]){const i=function py(s,r){switch(s){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(s,e);if("function"==typeof i)return void r.push(i);s=i}const t=s.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${s}" is not supported`),r;const o=t[1],c=t[2],l=t[3];r.push(fh(o,l));"<"==c[0]&&!("*"==o&&"*"==l)&&r.push(fh(l,o))}(t,e,r)):e.push(s),e}const No=new Set(["true","1"]),rl=new Set(["false","0"]);function fh(s,r){const e=No.has(s)||rl.has(s),t=No.has(r)||rl.has(r);return(o,c)=>{let l="*"==s||s==o,n="*"==r||r==c;return!l&&e&&"boolean"==typeof o&&(l=o?No.has(s):rl.has(s)),!n&&t&&"boolean"==typeof c&&(n=c?No.has(r):rl.has(r)),l&&n}}const fy=new RegExp("s*:selfs*,?","g");function al(s,r,e){return new gy(s).build(r,e)}class gy{constructor(r){this._driver=r}build(r,e){const t=new Mg(e);return this._resetContextStyleTimingState(t),_n(this,Uc(r),t)}_resetContextStyleTimingState(r){r.currentQuerySelector="",r.collectedStyles={},r.collectedStyles[""]={},r.currentTime=0}visitTrigger(r,e){let t=e.queryCount=0,o=e.depCount=0;const c=[],l=[];return"@"==r.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),r.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,a=i.name;a.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,c.push(this.visitState(i,e))}),i.name=a}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,o+=i.depCount,l.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:r.name,states:c,transitions:l,queryCount:t,depCount:o,options:null}}visitState(r,e){const t=this.visitStyle(r.styles,e),o=r.options&&r.options.params||null;if(t.containsDynamicStyles){const c=new Set,l=o||{};if(t.styles.forEach(n=>{if($c(n)){const i=n;Object.keys(i).forEach(a=>{hh(i[a]).forEach(d=>{l.hasOwnProperty(d)||c.add(d)})})}}),c.size){const n=tl(c.values());e.errors.push(`state("${r.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:r.name,style:t,options:o?{params:o}:null}}visitTransition(r,e){e.queryCount=0,e.depCount=0;const t=_n(this,Uc(r.animation),e);return{type:1,matchers:ph(r.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Pa(r.options)}}visitSequence(r,e){return{type:2,steps:r.steps.map(t=>_n(this,t,e)),options:Pa(r.options)}}visitGroup(r,e){const t=e.currentTime;let o=0;const c=r.steps.map(l=>{e.currentTime=t;const n=_n(this,l,e);return o=Math.max(o,e.currentTime),n});return e.currentTime=o,{type:3,steps:c,options:Pa(r.options)}}visitAnimate(r,e){const t=function Uo(s,r){let e=null;if(s.hasOwnProperty("duration"))e=s;else if("number"==typeof s)return mh(Ha(s,r).duration,0,"");const t=s;if(t.split(/\s+/).some(c=>"{"==c.charAt(0)&&"{"==c.charAt(1))){const c=mh(0,0,"");return c.dynamic=!0,c.strValue=t,c}return e=e||Ha(t,r),mh(e.duration,e.delay,e.easing)}(r.timings,e.errors);e.currentAnimateTimings=t;let o,c=r.styles?r.styles:Le({});if(5==c.type)o=this.visitKeyframes(c,e);else{let l=r.styles,n=!1;if(!l){n=!0;const a={};t.easing&&(a.easing=t.easing),l=Le(a)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(l,e);i.isEmptyStep=n,o=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(r,e){const t=this._makeStyleAst(r,e);return this._validateStyleAst(t,e),t}_makeStyleAst(r,e){const t=[];Array.isArray(r.styles)?r.styles.forEach(l=>{"string"==typeof l?l==Xi?t.push(l):e.errors.push(`The provided style string value ${l} is not allowed.`):t.push(l)}):t.push(r.styles);let o=!1,c=null;return t.forEach(l=>{if($c(l)){const n=l,i=n.easing;if(i&&(c=i,delete n.easing),!o)for(let a in n)if(n[a].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:c,offset:r.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(r,e){const t=e.currentAnimateTimings;let o=e.currentTime,c=e.currentTime;t&&c>0&&(c-=t.duration+t.delay),r.styles.forEach(l=>{"string"!=typeof l&&Object.keys(l).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],a=i[n];let d=!0;a&&(c!=o&&c>=a.startTime&&o<=a.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${c}ms" and "${o}ms"`),d=!1),c=a.startTime),d&&(i[n]={startTime:c,endTime:o}),e.options&&function dy(s,r,e){const t=r.params||{},o=hh(s);o.length&&o.forEach(c=>{t.hasOwnProperty(c)||e.push(`Unable to resolve the local animation param ${c} in the given list of values`)})}(l[n],e.options,e.errors)})})}visitKeyframes(r,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 c=0;const l=[];let n=!1,i=!1,a=0;const d=r.steps.map(Be=>{const lt=this._makeStyleAst(Be,e);let et=null!=lt.offset?lt.offset:function my(s){if("string"==typeof s)return null;let r=null;if(Array.isArray(s))s.forEach(e=>{if($c(e)&&e.hasOwnProperty("offset")){const t=e;r=parseFloat(t.offset),delete t.offset}});else if($c(s)&&s.hasOwnProperty("offset")){const e=s;r=parseFloat(e.offset),delete e.offset}return r}(lt.styles),wt=0;return null!=et&&(c++,wt=lt.offset=et),i=i||wt<0||wt>1,n=n||wt0&&c{const et=g>0?lt==b?1:g*lt:l[lt],wt=et*oe;e.currentTime=H+U.delay+wt,U.duration=wt,this._validateStyleAst(Be,e),Be.offset=et,t.styles.push(Be)}),t}visitReference(r,e){return{type:8,animation:_n(this,Uc(r.animation),e),options:Pa(r.options)}}visitAnimateChild(r,e){return e.depCount++,{type:9,options:Pa(r.options)}}visitAnimateRef(r,e){return{type:10,animation:this.visitReference(r.animation,e),options:Pa(r.options)}}visitQuery(r,e){const t=e.currentQuerySelector,o=r.options||{};e.queryCount++,e.currentQuery=r;const[c,l]=function Sg(s){const r=!!s.split(/\s*,\s*/).find(e=>":self"==e);return r&&(s=s.replace(fy,"")),s=s.replace(/@\*/g,Nc).replace(/@\w+/g,e=>Nc+"-"+e.substr(1)).replace(/:animating/g,Xs),[s,r]}(r.selector);e.currentQuerySelector=t.length?t+" "+c:c,tn(e.collectedStyles,e.currentQuerySelector,{});const n=_n(this,Uc(r.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:c,limit:o.limit||0,optional:!!o.optional,includeSelf:l,animation:n,originalSelector:r.selector,options:Pa(r.options)}}visitStagger(r,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===r.timings?{duration:0,delay:0,easing:"full"}:Ha(r.timings,e.errors,!0);return{type:12,animation:_n(this,Uc(r.animation),e),timings:t,options:null}}}class Mg{constructor(r){this.errors=r,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 $c(s){return!Array.isArray(s)&&"object"==typeof s}function Pa(s){return s?(s=jo(s)).params&&(s.params=function zo(s){return s?jo(s):null}(s.params)):s={},s}function mh(s,r,e){return{duration:s,delay:r,easing:e}}function _h(s,r,e,t,o,c,l=null,n=!1){return{type:1,element:s,keyframes:r,preStyleProps:e,postStyleProps:t,duration:o,delay:c,totalTime:o+c,easing:l,subTimeline:n}}class Yc{constructor(){this._map=new Map}get(r){return this._map.get(r)||[]}append(r,e){let t=this._map.get(r);t||this._map.set(r,t=[]),t.push(...e)}has(r){return this._map.has(r)}clear(){this._map.clear()}}const Dg=new RegExp(":enter","g"),Pg=new RegExp(":leave","g");function Qc(s,r,e,t,o,c={},l={},n,i,a=[]){return(new _y).buildKeyframes(s,r,e,t,o,c,l,n,i,a)}class _y{buildKeyframes(r,e,t,o,c,l,n,i,a,d=[]){a=a||new Yc;const u=new Ch(r,e,a,o,c,d,[]);u.options=i,u.currentTimeline.setStyles([l],null,u.errors,i),_n(this,t,u);const g=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let H=g.length-1;H>=0;H--){const U=g[H];if(U.element===e){b=U;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return g.length?g.map(b=>b.buildKeyframes()):[_h(e,[],[],[],0,0,"",!1)]}visitTrigger(r,e){}visitState(r,e){}visitTransition(r,e){}visitAnimateChild(r,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(r.options),c=e.currentTimeline.currentTime,l=this._visitSubInstructions(t,o,o.options);c!=l&&e.transformIntoNewTimeline(l)}e.previousNode=r}visitAnimateRef(r,e){const t=e.createSubContext(r.options);t.transformIntoNewTimeline(),this.visitReference(r.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=r}_visitSubInstructions(r,e,t){let c=e.currentTimeline.currentTime;const l=null!=t.duration?Da(t.duration):null,n=null!=t.delay?Da(t.delay):null;return 0!==l&&r.forEach(i=>{const a=e.appendInstructionToTimeline(i,l,n);c=Math.max(c,a.duration+a.delay)}),c}visitReference(r,e){e.updateOptions(r.options,!0),_n(this,r.animation,e),e.previousNode=r}visitSequence(r,e){const t=e.subContextCount;let o=e;const c=r.options;if(c&&(c.params||c.delay)&&(o=e.createSubContext(c),o.transformIntoNewTimeline(),null!=c.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Jc);const l=Da(c.delay);o.delayNextStep(l)}r.steps.length&&(r.steps.forEach(l=>_n(this,l,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=r}visitGroup(r,e){const t=[];let o=e.currentTimeline.currentTime;const c=r.options&&r.options.delay?Da(r.options.delay):0;r.steps.forEach(l=>{const n=e.createSubContext(r.options);c&&n.delayNextStep(c),_n(this,l,n),o=Math.max(o,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(o),e.previousNode=r}_visitTiming(r,e){if(r.dynamic){const t=r.strValue;return Ha(e.params?el(t,e.params,e.errors):t,e.errors)}return{duration:r.duration,delay:r.delay,easing:r.easing}}visitAnimate(r,e){const t=e.currentAnimateTimings=this._visitTiming(r.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const c=r.style;5==c.type?this.visitKeyframes(c,e):(e.incrementTime(t.duration),this.visitStyle(c,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=r}visitStyle(r,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const c=o&&o.easing||r.easing;r.isEmptyStep?t.applyEmptyStep(c):t.setStyles(r.styles,c,e.errors,e.options),e.previousNode=r}visitKeyframes(r,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,c=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,r.styles.forEach(i=>{n.forwardTime((i.offset||0)*c),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(o+c),e.previousNode=r}visitQuery(r,e){const t=e.currentTimeline.currentTime,o=r.options||{},c=o.delay?Da(o.delay):0;c&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Jc);let l=t;const n=e.invokeQuery(r.selector,r.originalSelector,r.limit,r.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((a,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(r.options,a);c&&u.delayNextStep(c),a===e.element&&(i=u.currentTimeline),_n(this,r.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=r}visitStagger(r,e){const t=e.parentContext,o=e.currentTimeline,c=r.timings,l=Math.abs(c.duration),n=l*(e.currentQueryTotal-1);let i=l*e.currentQueryIndex;switch(c.duration<0?"reverse":c.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;_n(this,r.animation,e),e.previousNode=r,t.currentStaggerTime=o.currentTime-u+(o.startTime-t.currentTimeline.startTime)}}const Jc={};class Ch{constructor(r,e,t,o,c,l,n,i){this._driver=r,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=c,this.errors=l,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Jc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new Kc(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(r,e){if(!r)return;const t=r;let o=this.options;null!=t.duration&&(o.duration=Da(t.duration)),null!=t.delay&&(o.delay=Da(t.delay));const c=t.params;if(c){let l=o.params;l||(l=this.options.params={}),Object.keys(c).forEach(n=>{(!e||!l.hasOwnProperty(n))&&(l[n]=el(c[n],l,this.errors))})}}_copyOptions(){const r={};if(this.options){const e=this.options.params;if(e){const t=r.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return r}createSubContext(r=null,e,t){const o=e||this.element,c=new Ch(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return c.previousNode=this.previousNode,c.currentAnimateTimings=this.currentAnimateTimings,c.options=this._copyOptions(),c.updateOptions(r),c.currentQueryIndex=this.currentQueryIndex,c.currentQueryTotal=this.currentQueryTotal,c.parentContext=this,this.subContextCount++,c}transformIntoNewTimeline(r){return this.previousNode=Jc,this.currentTimeline=this.currentTimeline.fork(this.element,r),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(r,e,t){const o={duration:null!=e?e:r.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+r.delay,easing:""},c=new Rg(this._driver,r.element,r.keyframes,r.preStyleProps,r.postStyleProps,o,r.stretchStartingKeyframe);return this.timelines.push(c),o}incrementTime(r){this.currentTimeline.forwardTime(this.currentTimeline.duration+r)}delayNextStep(r){r>0&&this.currentTimeline.delayNextStep(r)}invokeQuery(r,e,t,o,c,l){let n=[];if(o&&n.push(this.element),r.length>0){r=(r=r.replace(Dg,"."+this._enterClassName)).replace(Pg,"."+this._leaveClassName);let a=this._driver.query(this.element,r,1!=t);0!==t&&(a=t<0?a.slice(a.length+t,a.length):a.slice(0,t)),n.push(...a)}return!c&&0==n.length&&l.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class Kc{constructor(r,e,t,o){this._driver=r,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(r){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+r),e&&this.snapshotCurrentStyles()):this.startTime+=r}fork(r,e){return this.applyStylesToKeyframe(),new Kc(this._driver,r,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(r){this.applyStylesToKeyframe(),this.duration=r,this._loadKeyframe()}_updateStyle(r,e){this._localTimelineStyles[r]=e,this._globalTimelineStyles[r]=e,this._styleSummary[r]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(r){r&&(this._previousKeyframe.easing=r),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||Xi,this._currentKeyframe[e]=Xi}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(r,e,t,o){e&&(this._previousKeyframe.easing=e);const c=o&&o.params||{},l=function Ig(s,r){const e={};let t;return s.forEach(o=>{"*"===o?(t=t||Object.keys(r),t.forEach(c=>{e[c]=Xi})):Zn(o,!1,e)}),e}(r,this._globalTimelineStyles);Object.keys(l).forEach(n=>{const i=el(l[n],c,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:Xi),this._updateStyle(n,i)})}applyStylesToKeyframe(){const r=this._pendingStyles,e=Object.keys(r);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=r[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(r=>{const e=this._localTimelineStyles[r];this._pendingStyles[r]=e,this._updateStyle(r,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const r=[];for(let e in this._currentKeyframe)r.push(e);return r}mergeTimelineCollectedStyles(r){Object.keys(r._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=r._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const r=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((n,i)=>{const a=Zn(n,!0);Object.keys(a).forEach(d=>{const u=a[d];"!"==u?r.add(d):u==Xi&&e.add(d)}),t||(a.offset=i/this.duration),o.push(a)});const c=r.size?tl(r.values()):[],l=e.size?tl(e.values()):[];if(t){const n=o[0],i=jo(n);n.offset=0,i.offset=1,o=[n,i]}return _h(this.element,o,c,l,this.duration,this.startTime,this.easing,!1)}}class Rg extends Kc{constructor(r,e,t,o,c,l,n=!1){super(r,e,l.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=c,this._stretchStartingKeyframe=n,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let r=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const c=[],l=t+e,n=e/l,i=Zn(r[0],!1);i.offset=0,c.push(i);const a=Zn(r[0],!1);a.offset=by(n),c.push(a);const d=r.length-1;for(let u=1;u<=d;u++){let g=Zn(r[u],!1);g.offset=by((e+g.offset*t)/l),c.push(g)}t=l,e=0,o="",r=c}return _h(this.element,r,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function by(s,r=3){const e=Math.pow(10,r-1);return Math.round(s*e)/e}class yh{}class rx extends yh{normalizePropertyName(r,e){return kn(r)}normalizeStyleValue(r,e,t,o){let c="";const l=t.toString().trim();if(vh[e]&&0!==t&&"0"!==t)if("number"==typeof t)c="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&o.push(`Please provide a CSS unit value for ${r}:${t}`)}return l+c}}const vh=(()=>function Cy(s){const r={};return s.forEach(e=>r[e]=!0),r}("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 wh(s,r,e,t,o,c,l,n,i,a,d,u,g){return{type:0,element:s,triggerName:r,isRemovalTransition:o,fromState:e,fromStyles:c,toState:t,toStyles:l,timelines:n,queriedElements:i,preStyleProps:a,postStyleProps:d,totalTime:u,errors:g}}const Zc={};class yy{constructor(r,e,t){this._triggerName=r,this.ast=e,this._stateStyles=t}match(r,e,t,o){return function Vn(s,r,e,t,o){return s.some(c=>c(r,e,t,o))}(this.ast.matchers,r,e,t,o)}buildStyles(r,e,t){const o=this._stateStyles["*"],c=this._stateStyles[r],l=o?o.buildStyles(e,t):{};return c?c.buildStyles(e,t):l}build(r,e,t,o,c,l,n,i,a,d){const u=[],g=this.ast.options&&this.ast.options.params||Zc,H=this.buildStyles(t,n&&n.params||Zc,u),U=i&&i.params||Zc,oe=this.buildStyles(o,U,u),Be=new Set,lt=new Map,et=new Map,wt="void"===o,jn={params:Object.assign(Object.assign({},g),U)},cr=d?[]:Qc(r,e,this.ast.animation,c,l,H,oe,jn,a,u);let on=0;if(cr.forEach(Za=>{on=Math.max(Za.duration+Za.delay,on)}),u.length)return wh(e,this._triggerName,t,o,wt,H,oe,[],[],lt,et,on,u);cr.forEach(Za=>{const Xa=Za.element,MS=tn(lt,Xa,{});Za.preStyleProps.forEach(ql=>MS[ql]=!0);const Up=tn(et,Xa,{});Za.postStyleProps.forEach(ql=>Up[ql]=!0),Xa!==e&&Be.add(Xa)});const Ka=tl(Be.values());return wh(e,this._triggerName,t,o,wt,H,oe,cr,Ka,lt,et,on)}}class ax{constructor(r,e,t){this.styles=r,this.defaultParams=e,this.normalizer=t}buildStyles(r,e){const t={},o=jo(this.defaultParams);return Object.keys(r).forEach(c=>{const l=r[c];null!=l&&(o[c]=l)}),this.styles.styles.forEach(c=>{if("string"!=typeof c){const l=c;Object.keys(l).forEach(n=>{let i=l[n];i.length>1&&(i=el(i,o,e));const a=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,a,i,e),t[a]=i})}}),t}}class kg{constructor(r,e,t){this.name=r,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new ax(o.style,o.options&&o.options.params||{},t)}),Ah(this.states,"true","1"),Ah(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new yy(r,o,this.states))}),this.fallbackTransition=function Vg(s,r,e){return new yy(s,{type:1,animation:{type:2,steps:[],options:null},matchers:[(l,n)=>!0],options:null,queryCount:0,depCount:0},r)}(r,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(r,e,t,o){return this.transitionFactories.find(l=>l.match(r,e,t,o))||null}matchStyles(r,e,t){return this.fallbackTransition.buildStyles(r,e,t)}}function Ah(s,r,e){s.hasOwnProperty(r)?s.hasOwnProperty(e)||(s[e]=s[r]):s.hasOwnProperty(e)&&(s[r]=s[e])}const vy=new Yc;class sx{constructor(r,e,t){this.bodyNode=r,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(r,e){const t=[],o=al(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[r]=o}_buildPlayer(r,e,t){const o=r.element,c=ay(0,this._normalizer,0,r.keyframes,e,t);return this._driver.animate(o,c,r.duration,r.delay,r.easing,[],!0)}create(r,e,t={}){const o=[],c=this._animations[r];let l;const n=new Map;if(c?(l=Qc(this._driver,e,c,wg,Zs,{},{},t,vy,o),l.forEach(d=>{const u=tn(n,d.element,{});d.postStyleProps.forEach(g=>u[g]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),l=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(g=>{d[g]=this._driver.computeStyle(u,g,Xi)})});const a=Yr(l.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[r]=a,a.onDestroy(()=>this.destroy(r)),this.players.push(a),a}destroy(r){const e=this._getPlayer(r);e.destroy(),delete this._playersById[r];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(r){const e=this._playersById[r];if(!e)throw new Error(`Unable to find the timeline player referenced by ${r}`);return e}listen(r,e,t,o){const c=mg(e,"","","");return gg(this._getPlayer(r),t,c,o),()=>{}}command(r,e,t,o){if("register"==t)return void this.register(r,o[0]);if("create"==t)return void this.create(r,e,o[0]||{});const c=this._getPlayer(r);switch(t){case"play":c.play();break;case"pause":c.pause();break;case"reset":c.reset();break;case"restart":c.restart();break;case"finish":c.finish();break;case"init":c.init();break;case"setPosition":c.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(r)}}}const xh="ng-animate-queued",Eh="ng-animate-disabled",xy=[],Bg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ty={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class Go{constructor(r,e=""){this.namespaceId=e;const t=r&&r.hasOwnProperty("value");if(this.value=function tr(s){return null!=s?s:null}(t?r.value:r),t){const c=jo(r);delete c.value,this.options=c}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(r){const e=r.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const er="void",Mh=new Go(er);class ol{constructor(r,e,t){this.id=r,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+r,Ni(e,this._hostClassName)}listen(r,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 Ti(s){return"start"==s||"done"==s}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const c=tn(this._elementListeners,r,[]),l={name:e,phase:t,callback:o};c.push(l);const n=tn(this._engine.statesByElement,r,{});return n.hasOwnProperty(e)||(Ni(r,jc),Ni(r,jc+"-"+e),n[e]=Mh),()=>{this._engine.afterFlush(()=>{const i=c.indexOf(l);i>=0&&c.splice(i,1),this._triggers[e]||delete n[e]})}}register(r,e){return!this._triggers[r]&&(this._triggers[r]=e,!0)}_getTrigger(r){const e=this._triggers[r];if(!e)throw new Error(`The provided animation trigger "${r}" has not been registered!`);return e}trigger(r,e,t,o=!0){const c=this._getTrigger(e),l=new Dh(this.id,e,r);let n=this._engine.statesByElement.get(r);n||(Ni(r,jc),Ni(r,jc+"-"+e),this._engine.statesByElement.set(r,n={}));let i=n[e];const a=new Go(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&a.absorbOptions(i.options),n[e]=a,i||(i=Mh),a.value!==er&&i.value===a.value){if(!function $o(s,r){const e=Object.keys(s),t=Object.keys(r);if(e.length!=t.length)return!1;for(let o=0;o{xr(r,oe),Xn(r,Be)})}return}const g=tn(this._engine.playersByElement,r,[]);g.forEach(U=>{U.namespaceId==this.id&&U.triggerName==e&&U.queued&&U.destroy()});let b=c.matchTransition(i.value,a.value,r,a.params),H=!1;if(!b){if(!o)return;b=c.fallbackTransition,H=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:e,transition:b,fromState:i,toState:a,player:l,isFallbackTransition:H}),H||(Ni(r,xh),l.onStart(()=>{Bn(r,xh)})),l.onDone(()=>{let U=this.players.indexOf(l);U>=0&&this.players.splice(U,1);const oe=this._engine.playersByElement.get(r);if(oe){let Be=oe.indexOf(l);Be>=0&&oe.splice(Be,1)}}),this.players.push(l),g.push(l),l}deregister(r){delete this._triggers[r],this._engine.statesByElement.forEach((e,t)=>{delete e[r]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=r))})}clearElementCache(r){this._engine.statesByElement.delete(r),this._elementListeners.delete(r);const e=this._engine.playersByElement.get(r);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(r))}_signalRemovalForInnerTriggers(r,e){const t=this._engine.driver.query(r,Nc,!0);t.forEach(o=>{if(o[Cn])return;const c=this._engine.fetchNamespacesByElement(o);c.size?c.forEach(l=>l.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(r,e,t,o){const c=this._engine.statesByElement.get(r),l=new Map;if(c){const n=[];if(Object.keys(c).forEach(i=>{if(l.set(i,c[i].value),this._triggers[i]){const a=this.trigger(r,i,er,o);a&&n.push(a)}}),n.length)return this._engine.markElementAsRemoved(this.id,r,!0,e,l),t&&Yr(n).onDone(()=>this._engine.processLeaveNode(r)),!0}return!1}prepareLeaveAnimationListeners(r){const e=this._elementListeners.get(r),t=this._engine.statesByElement.get(r);if(e&&t){const o=new Set;e.forEach(c=>{const l=c.name;if(o.has(l))return;o.add(l);const i=this._triggers[l].fallbackTransition,a=t[l]||Mh,d=new Go(er),u=new Dh(this.id,l,r);this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:l,transition:i,fromState:a,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(r,e){const t=this._engine;if(r.childElementCount&&this._signalRemovalForInnerTriggers(r,e),this.triggerLeaveAnimation(r,e,!0))return;let o=!1;if(t.totalAnimations){const c=t.players.length?t.playersByQueriedElement.get(r):[];if(c&&c.length)o=!0;else{let l=r;for(;l=l.parentNode;)if(t.statesByElement.get(l)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(r),o)t.markElementAsRemoved(this.id,r,!1,e);else{const c=r[Cn];(!c||c===Bg)&&(t.afterFlush(()=>this.clearElementCache(r)),t.destroyInnerAnimations(r),t._onRemovalComplete(r,e))}}insertNode(r,e){Ni(r,this._hostClassName)}drainQueuedTransitions(r){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const c=t.element,l=this._elementListeners.get(c);l&&l.forEach(n=>{if(n.name==t.triggerName){const i=mg(c,t.triggerName,t.fromState.value,t.toState.value);i._data=r,gg(t.player,n.phase,i,n.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const c=t.transition.ast.depCount,l=o.transition.ast.depCount;return 0==c||0==l?c-l:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(r){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,r)}elementContainsData(r){let e=!1;return this._elementListeners.has(r)&&(e=!0),e=!!this._queue.find(t=>t.element===r)||e,e}}class Ey{constructor(r,e,t){this.bodyNode=r,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,c)=>{}}_onRemovalComplete(r,e){this.onRemovalComplete(r,e)}get queuedPlayers(){const r=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&r.push(t)})}),r}createNamespace(r,e){const t=new ol(r,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[r]=t}_balanceNamespaceList(r,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let c=t;c>=0;c--)if(this.driver.containsElement(this._namespaceList[c].hostElement,e)){this._namespaceList.splice(c+1,0,r),o=!0;break}o||this._namespaceList.splice(0,0,r)}else this._namespaceList.push(r);return this.namespacesByHostElement.set(e,r),r}register(r,e){let t=this._namespaceLookup[r];return t||(t=this.createNamespace(r,e)),t}registerTrigger(r,e,t){let o=this._namespaceLookup[r];o&&o.register(e,t)&&this.totalAnimations++}destroy(r,e){if(!r)return;const t=this._fetchNamespace(r);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[r];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(r){return this._namespaceLookup[r]}fetchNamespacesByElement(r){const e=new Set,t=this.statesByElement.get(r);if(t){const o=Object.keys(t);for(let c=0;c=0&&this.collectedLeaveElements.splice(l,1)}if(r){const l=this._fetchNamespace(r);l&&l.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(r){this.collectedEnterElements.push(r)}markElementAsDisabled(r,e){e?this.disabledNodes.has(r)||(this.disabledNodes.add(r),Ni(r,Eh)):this.disabledNodes.has(r)&&(this.disabledNodes.delete(r),Bn(r,Eh))}removeNode(r,e,t,o){if(Jr(e)){const c=r?this._fetchNamespace(r):null;if(c?c.removeNode(e,o):this.markElementAsRemoved(r,e,!1,o),t){const l=this.namespacesByHostElement.get(e);l&&l.id!==r&&l.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(r,e,t,o,c){this.collectedLeaveElements.push(e),e[Cn]={namespaceId:r,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:c}}listen(r,e,t,o,c){return Jr(e)?this._fetchNamespace(r).listen(e,t,o,c):()=>{}}_buildInstruction(r,e,t,o,c){return r.transition.build(this.driver,r.element,r.fromState.value,r.toState.value,t,o,r.fromState.options,r.toState.options,e,c)}destroyInnerAnimations(r){let e=this.driver.query(r,Nc,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(r,Xs,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(r){const e=this.playersByElement.get(r);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(r){const e=this.playersByQueriedElement.get(r);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(r=>{if(this.players.length)return Yr(this.players).onDone(()=>r());r()})}processLeaveNode(r){var e;const t=r[Cn];if(t&&t.setForRemoval){if(r[Cn]=Bg,t.namespaceId){this.destroyInnerAnimations(r);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(r)}this._onRemovalComplete(r,t.setForRemoval)}(null===(e=r.classList)||void 0===e?void 0:e.contains(Eh))&&this.markElementAsDisabled(r,!1),this.driver.query(r,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(r=-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?Yr(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(r){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${r.join("\n")}`)}_flushAnimations(r,e){const t=new Yc,o=[],c=new Map,l=[],n=new Map,i=new Map,a=new Map,d=new Set;this.disabledNodes.forEach(qe=>{d.add(qe);const Ke=this.driver.query(qe,".ng-animate-queued",!0);for(let Xe=0;Xe{const Xe=wg+U++;H.set(Ke,Xe),qe.forEach(Et=>Ni(Et,Xe))});const oe=[],Be=new Set,lt=new Set;for(let qe=0;qeBe.add(Et)):lt.add(Ke))}const et=new Map,wt=nn(g,Array.from(Be));wt.forEach((qe,Ke)=>{const Xe=Zs+U++;et.set(Ke,Xe),qe.forEach(Et=>Ni(Et,Xe))}),r.push(()=>{b.forEach((qe,Ke)=>{const Xe=H.get(Ke);qe.forEach(Et=>Bn(Et,Xe))}),wt.forEach((qe,Ke)=>{const Xe=et.get(Ke);qe.forEach(Et=>Bn(Et,Xe))}),oe.forEach(qe=>{this.processLeaveNode(qe)})});const jn=[],cr=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(e).forEach(Xe=>{const Et=Xe.player,Si=Xe.element;if(jn.push(Et),this.collectedEnterElements.length){const sn=Si[Cn];if(sn&&sn.setForMove){if(sn.previousTriggersValues&&sn.previousTriggersValues.has(Xe.triggerName)){const Wl=sn.previousTriggersValues.get(Xe.triggerName),ds=this.statesByElement.get(Xe.element);ds&&ds[Xe.triggerName]&&(ds[Xe.triggerName].value=Wl)}return void Et.destroy()}}const la=!u||!this.driver.containsElement(u,Si),Nn=et.get(Si),cs=H.get(Si),$t=this._buildInstruction(Xe,t,cs,Nn,la);if($t.errors&&$t.errors.length)return void cr.push($t);if(la)return Et.onStart(()=>xr(Si,$t.fromStyles)),Et.onDestroy(()=>Xn(Si,$t.toStyles)),void o.push(Et);if(Xe.isFallbackTransition)return Et.onStart(()=>xr(Si,$t.fromStyles)),Et.onDestroy(()=>Xn(Si,$t.toStyles)),void o.push(Et);const PS=[];$t.timelines.forEach(sn=>{sn.stretchStartingKeyframe=!0,this.disabledNodes.has(sn.element)||PS.push(sn)}),$t.timelines=PS,t.append(Si,$t.timelines),l.push({instruction:$t,player:Et,element:Si}),$t.queriedElements.forEach(sn=>tn(n,sn,[]).push(Et)),$t.preStyleProps.forEach((sn,Wl)=>{const ds=Object.keys(sn);if(ds.length){let $l=i.get(Wl);$l||i.set(Wl,$l=new Set),ds.forEach(ZA=>$l.add(ZA))}}),$t.postStyleProps.forEach((sn,Wl)=>{const ds=Object.keys(sn);let $l=a.get(Wl);$l||a.set(Wl,$l=new Set),ds.forEach(ZA=>$l.add(ZA))})});if(cr.length){const qe=[];cr.forEach(Ke=>{qe.push(`@${Ke.triggerName} has failed due to:\n`),Ke.errors.forEach(Xe=>qe.push(`- ${Xe}\n`))}),jn.forEach(Ke=>Ke.destroy()),this.reportError(qe)}const on=new Map,Ka=new Map;l.forEach(qe=>{const Ke=qe.element;t.has(Ke)&&(Ka.set(Ke,Ke),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,on))}),o.forEach(qe=>{const Ke=qe.element;this._getPreviousPlayers(Ke,!1,qe.namespaceId,qe.triggerName,null).forEach(Et=>{tn(on,Ke,[]).push(Et),Et.destroy()})});const Za=oe.filter(qe=>Ia(qe,i,a)),Xa=new Map;sl(Xa,this.driver,lt,a,Xi).forEach(qe=>{Ia(qe,i,a)&&Za.push(qe)});const Up=new Map;b.forEach((qe,Ke)=>{sl(Up,this.driver,new Set(qe),i,"!")}),Za.forEach(qe=>{const Ke=Xa.get(qe),Xe=Up.get(qe);Xa.set(qe,Object.assign(Object.assign({},Ke),Xe))});const ql=[],DS=[],HS={};l.forEach(qe=>{const{element:Ke,player:Xe,instruction:Et}=qe;if(t.has(Ke)){if(d.has(Ke))return Xe.onDestroy(()=>Xn(Ke,Et.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Et.totalTime),void o.push(Xe);let Si=HS;if(Ka.size>1){let Nn=Ke;const cs=[];for(;Nn=Nn.parentNode;){const $t=Ka.get(Nn);if($t){Si=$t;break}cs.push(Nn)}cs.forEach($t=>Ka.set($t,Si))}const la=this._buildAnimation(Xe.namespaceId,Et,on,c,Up,Xa);if(Xe.setRealPlayer(la),Si===HS)ql.push(Xe);else{const Nn=this.playersByElement.get(Si);Nn&&Nn.length&&(Xe.parentPlayer=Yr(Nn)),o.push(Xe)}}else xr(Ke,Et.fromStyles),Xe.onDestroy(()=>Xn(Ke,Et.toStyles)),DS.push(Xe),d.has(Ke)&&o.push(Xe)}),DS.forEach(qe=>{const Ke=c.get(qe.element);if(Ke&&Ke.length){const Xe=Yr(Ke);qe.setRealPlayer(Xe)}}),o.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe!la.destroyed);Si.length?qo(this,Ke,Si):this.processLeaveNode(Ke)}return oe.length=0,ql.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const Ke=this.players.indexOf(qe);this.players.splice(Ke,1)}),qe.play()}),ql}elementContainsData(r,e){let t=!1;const o=e[Cn];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(r).elementContainsData(e)||t}afterFlush(r){this._flushFns.push(r)}afterFlushAnimationsDone(r){this._whenQuietFns.push(r)}_getPreviousPlayers(r,e,t,o,c){let l=[];if(e){const n=this.playersByQueriedElement.get(r);n&&(l=n)}else{const n=this.playersByElement.get(r);if(n){const i=!c||c==er;n.forEach(a=>{a.queued||!i&&a.triggerName!=o||l.push(a)})}}return(t||o)&&(l=l.filter(n=>!(t&&t!=n.namespaceId||o&&o!=n.triggerName))),l}_beforeAnimationBuild(r,e,t){const c=e.element,l=e.isRemovalTransition?void 0:r,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const a=i.element,d=a!==c,u=tn(t,a,[]);this._getPreviousPlayers(a,d,l,n,e.toState).forEach(b=>{const H=b.getRealPlayer();H.beforeDestroy&&H.beforeDestroy(),b.destroy(),u.push(b)})}xr(c,e.fromStyles)}_buildAnimation(r,e,t,o,c,l){const n=e.triggerName,i=e.element,a=[],d=new Set,u=new Set,g=e.timelines.map(H=>{const U=H.element;d.add(U);const oe=U[Cn];if(oe&&oe.removedBeforeQueried)return new Fo(H.duration,H.delay);const Be=U!==i,lt=function Wo(s){const r=[];return Ra(s,r),r}((t.get(U)||xy).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===U),et=c.get(U),wt=l.get(U),jn=ay(0,this._normalizer,0,H.keyframes,et,wt),cr=this._buildPlayer(H,jn,lt);if(H.subTimeline&&o&&u.add(U),Be){const on=new Dh(r,n,U);on.setRealPlayer(cr),a.push(on)}return cr});a.forEach(H=>{tn(this.playersByQueriedElement,H.element,[]).push(H),H.onDone(()=>function Hh(s,r,e){let t;if(s instanceof Map){if(t=s.get(r),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&s.delete(r)}}else if(t=s[r],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete s[r]}return t}(this.playersByQueriedElement,H.element,H))}),d.forEach(H=>Ni(H,Ag));const b=Yr(g);return b.onDestroy(()=>{d.forEach(H=>Bn(H,Ag)),Xn(i,e.toStyles)}),u.forEach(H=>{tn(o,H,[]).push(b)}),b}_buildPlayer(r,e,t){return e.length>0?this.driver.animate(r.element,e,r.duration,r.delay,r.easing,t):new Fo(r.duration,r.delay)}}class Dh{constructor(r,e,t){this.namespaceId=r,this.triggerName=e,this.element=t,this._player=new Fo,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(r){this._containsRealPlayer||(this._player=r,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>gg(r,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(r.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(r){this.totalTime=r}syncPlayerEvents(r){const e=this._player;e.triggerCallback&&r.onStart(()=>e.triggerCallback("start")),r.onDone(()=>this.finish()),r.onDestroy(()=>this.destroy())}_queueEvent(r,e){tn(this._queuedCallbacks,r,[]).push(e)}onDone(r){this.queued&&this._queueEvent("done",r),this._player.onDone(r)}onStart(r){this.queued&&this._queueEvent("start",r),this._player.onStart(r)}onDestroy(r){this.queued&&this._queueEvent("destroy",r),this._player.onDestroy(r)}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(r){this.queued||this._player.setPosition(r)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(r){const e=this._player;e.triggerCallback&&e.triggerCallback(r)}}function Jr(s){return s&&1===s.nodeType}function Kr(s,r){const e=s.style.display;return s.style.display=null!=r?r:"none",e}function sl(s,r,e,t,o){const c=[];e.forEach(i=>c.push(Kr(i)));const l=[];t.forEach((i,a)=>{const d={};i.forEach(u=>{const g=d[u]=r.computeStyle(a,u,o);(!g||0==g.length)&&(a[Cn]=Ty,l.push(a))}),s.set(a,d)});let n=0;return e.forEach(i=>Kr(i,c[n++])),l}function nn(s,r){const e=new Map;if(s.forEach(n=>e.set(n,[])),0==r.length)return e;const o=new Set(r),c=new Map;function l(n){if(!n)return 1;let i=c.get(n);if(i)return i;const a=n.parentNode;return i=e.has(a)?a:o.has(a)?1:l(a),c.set(n,i),i}return r.forEach(n=>{const i=l(n);1!==i&&e.get(i).push(n)}),e}function Ni(s,r){var e;null===(e=s.classList)||void 0===e||e.add(r)}function Bn(s,r){var e;null===(e=s.classList)||void 0===e||e.remove(r)}function qo(s,r,e){Yr(e).onDone(()=>s.processLeaveNode(r))}function Ra(s,r){for(let e=0;eo.add(c)):r.set(s,t),e.delete(s),!0}class Tr{constructor(r,e,t){this.bodyNode=r,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,c)=>{},this._transitionEngine=new Ey(r,e,t),this._timelineEngine=new sx(r,e,t),this._transitionEngine.onRemovalComplete=(o,c)=>this.onRemovalComplete(o,c)}registerTrigger(r,e,t,o,c){const l=r+"-"+o;let n=this._triggerCache[l];if(!n){const i=[],a=al(this._driver,c,i);if(i.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function ox(s,r,e){return new kg(s,r,e)}(o,a,this._normalizer),this._triggerCache[l]=n}this._transitionEngine.registerTrigger(e,o,n)}register(r,e){this._transitionEngine.register(r,e)}destroy(r,e){this._transitionEngine.destroy(r,e)}onInsert(r,e,t,o){this._transitionEngine.insertNode(r,e,t,o)}onRemove(r,e,t,o){this._transitionEngine.removeNode(r,e,o||!1,t)}disableAnimations(r,e){this._transitionEngine.markElementAsDisabled(r,e)}process(r,e,t,o){if("@"==t.charAt(0)){const[c,l]=Lc(t);this._timelineEngine.command(c,e,l,o)}else this._transitionEngine.trigger(r,e,t,o)}listen(r,e,t,o,c){if("@"==t.charAt(0)){const[l,n]=Lc(t);return this._timelineEngine.listen(l,e,n,c)}return this._transitionEngine.listen(r,e,t,o,c)}flush(r=-1){this._transitionEngine.flush(r)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Qo=(()=>{class s{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let c=s.initialStylesByElement.get(e);c||s.initialStylesByElement.set(e,c={}),this._initialStyles=c}start(){this._state<1&&(this._startStyles&&Xn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xn(this._element,this._initialStyles),this._endStyles&&(Xn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s.initialStylesByElement.delete(this._element),this._startStyles&&(xr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xr(this._element,this._endStyles),this._endStyles=null),Xn(this._element,this._initialStyles),this._state=3)}}return s.initialStylesByElement=new WeakMap,s})();function Xc(s){let r=null;const e=Object.keys(s);for(let t=0;tr()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const r=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,r,this.options),this._finalKeyframe=r.length?r[r.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(r,e,t){return r.animate(e,t)}onStart(r){this._onStartFns.push(r)}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(r=>r()),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(r=>r()),this._onDestroyFns=[])}setPosition(r){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=r*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const r={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(r[t]=this._finished?e[t]:Wc(this.element,t))})}this.currentSnapshot=r}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Lg{validateStyleProperty(r){return oh(r)}matchesElement(r,e){return!1}containsElement(r,e){return Cg(r,e)}query(r,e,t){return sh(r,e,t)}computeStyle(r,e,t){return window.getComputedStyle(r)[e]}animate(r,e,t,o,c,l=[]){const i={duration:t,delay:o,fill:0==o?"both":"forwards"};c&&(i.easing=c);const a={},d=l.filter(g=>g instanceof Ph);(function uy(s,r){return 0===s||0===r})(t,o)&&d.forEach(g=>{let b=g.currentSnapshot;Object.keys(b).forEach(H=>a[H]=b[H])}),e=function hy(s,r,e){const t=Object.keys(e);if(t.length&&r.length){let c=r[0],l=[];if(t.forEach(n=>{c.hasOwnProperty(n)||l.push(n),c[n]=e[n]}),l.length)for(var o=1;oZn(g,!1)),a);const u=function Yo(s,r){let e=null,t=null;return Array.isArray(r)&&r.length?(e=Xc(r[0]),r.length>1&&(t=Xc(r[r.length-1]))):r&&(e=Xc(r)),e||t?new Qo(s,e,t):null}(r,e);return new Ph(r,e,i,u)}}let Fg=(()=>{class s extends Bc{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?nh(e):e;return Rh(this._renderer,null,t,"register",[o]),new jg(t,this._renderer)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.FYo),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class jg extends class Lo{}{constructor(r,e){super(),this._id=r,this._renderer=e}create(r,e){return new Ng(this._id,r,e||{},this._renderer)}}class Ng{constructor(r,e,t,o){this.id=r,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(r,e){return this._renderer.listen(this.element,`@@${this.id}:${r}`,e)}_command(r,...e){return Rh(this._renderer,this.element,this.id,r,e)}onDone(r){this._listen("done",r)}onStart(r){this._listen("start",r)}onDestroy(r){this._listen("destroy",r)}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(r){this._command("setPosition",r)}getPosition(){var r,e;return null!==(e=null===(r=this._renderer.engine.players[+this.id])||void 0===r?void 0:r.getPosition())&&void 0!==e?e:0}}function Rh(s,r,e,t,o){return s.setProperty(r,`@@${e}:${t}`,o)}const zg="@.disabled";let Ug=(()=>{class s{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=(c,l)=>{const n=null==l?void 0:l.parentNode(c);n&&l.removeChild(n,c)}}createRenderer(e,t){const c=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(c);return d||(d=new Gg("",c,this.engine),this._rendererCache.set(c,d)),d}const l=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(l,n,e,d.name,d)};return t.data.animation.forEach(i),new qg(this,n,c,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(c=>{const[l,n]=c;l(n)}),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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.FYo),f.LFG(Tr),f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Gg{constructor(r,e,t){this.namespaceId=r,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(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}appendChild(r,e){this.delegate.appendChild(r,e),this.engine.onInsert(this.namespaceId,e,r,!1)}insertBefore(r,e,t,o=!0){this.delegate.insertBefore(r,e,t),this.engine.onInsert(this.namespaceId,e,r,o)}removeChild(r,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,t,o){this.delegate.setAttribute(r,e,t,o)}removeAttribute(r,e,t){this.delegate.removeAttribute(r,e,t)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,t,o){this.delegate.setStyle(r,e,t,o)}removeStyle(r,e,t){this.delegate.removeStyle(r,e,t)}setProperty(r,e,t){"@"==e.charAt(0)&&e==zg?this.disableAnimations(r,!!t):this.delegate.setProperty(r,e,t)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,t){return this.delegate.listen(r,e,t)}disableAnimations(r,e){this.engine.disableAnimations(r,e)}}class qg extends Gg{constructor(r,e,t,o){super(e,t,o),this.factory=r,this.namespaceId=e}setProperty(r,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==zg?this.disableAnimations(r,t=void 0===t||!!t):this.engine.process(this.namespaceId,r,e.substr(1),t):this.delegate.setProperty(r,e,t)}listen(r,e,t){if("@"==e.charAt(0)){const o=function Wg(s){switch(s){case"body":return document.body;case"document":return document;case"window":return window;default:return s}}(r);let c=e.substr(1),l="";return"@"!=c.charAt(0)&&([c,l]=function Sy(s){const r=s.indexOf(".");return[s.substring(0,r),s.substr(r+1)]}(c)),this.engine.listen(this.namespaceId,o,c,l,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(r,e,t)}}let My=(()=>{class s extends Tr{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(mn),f.LFG(yh))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const rn=new f.OlP("AnimationModuleType"),Yg=[{provide:Bc,useClass:Fg},{provide:yh,useFactory:function $g(){return new rx}},{provide:Tr,useClass:My},{provide:f.FYo,useFactory:function Dy(s,r,e){return new Ug(s,r,e)},deps:[ge,Tr,f.R0b]}],Qg=[{provide:mn,useFactory:()=>new Lg},{provide:rn,useValue:"BrowserAnimations"},...Yg],lx=[{provide:mn,useClass:yg},{provide:rn,useValue:"NoopAnimations"},...Yg];let Hy=(()=>{class s{static withConfig(e){return{ngModule:s,providers:e.disableAnimations?lx:Qg}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:Qg,imports:[Ir]}),s})();const Jo=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function Py(){return!0}});let Ye=(()=>{class s{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Ro()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Oo),f.LFG(Jo,8),f.LFG(E.K0))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta],Ta]}),s})();function ka(s){return class extends s{constructor(...r){super(...r),this._disabled=!1}get disabled(){return this._disabled}set disabled(r){this._disabled=rt(r)}}}function Va(s,r){return class extends s{constructor(...e){super(...e),this.defaultColor=r,this.color=r}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 Zr(s){return class extends s{constructor(...r){super(...r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=rt(r)}}}function em(s){return class extends s{constructor(...r){super(...r),this.stateChanges=new Fe.x,this.errorState=!1}updateErrorState(){const r=this.errorState,c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==r&&(this.errorState=c,this.stateChanges.next())}}}const ky=new f.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Vy(){return(0,f.f3M)(f.soG)}});class yn{constructor(){this._localeChanges=new Fe.x,this.localeChanges=this._localeChanges}getValidDateOrNull(r){return this.isDateInstance(r)&&this.isValid(r)?r:null}deserialize(r){return null==r||this.isDateInstance(r)&&this.isValid(r)?r:this.invalid()}setLocale(r){this.locale=r,this._localeChanges.next()}compareDate(r,e){return this.getYear(r)-this.getYear(e)||this.getMonth(r)-this.getMonth(e)||this.getDate(r)-this.getDate(e)}sameDate(r,e){if(r&&e){let t=this.isValid(r),o=this.isValid(e);return t&&o?!this.compareDate(r,e):t==o}return r==e}clampDate(r,e,t){return e&&this.compareDate(r,e)<0?e:t&&this.compareDate(r,t)>0?t:r}}const ed=new f.OlP("mat-date-formats"),tm=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function td(s,r){const e=Array(s);for(let t=0;t{class s extends yn{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 td(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return td(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 td(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 c=this._createDateWithOverflow(e,t,o);return c.getMonth(),c}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(tm.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 c=new Date;return c.setFullYear(e,t,o),c.setHours(0,0,0,0),c}_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 s.\u0275fac=function(e){return new(e||s)(f.LFG(ky,8),f.LFG(fi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const px={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 Ih=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:yn,useClass:id}]}),s})(),im=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:ed,useValue:px}],imports:[[Ih]]}),s})(),Er=(()=>{class s{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),nd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})();class Vh{constructor(r,e,t){this._renderer=r,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const rd={enterDuration:225,exitDuration:150},am=pn({passive:!0}),om=["mousedown","touchstart"],ad=["mouseup","mouseleave","touchend","touchcancel"];class od{constructor(r,e,t,o){this._target=r,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Wt(t))}fadeInRipple(r,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),c=Object.assign(Object.assign({},rd),t.animation);t.centered&&(r=o.left+o.width/2,e=o.top+o.height/2);const l=t.radius||function lm(s,r,e){const t=Math.max(Math.abs(s-e.left),Math.abs(s-e.right)),o=Math.max(Math.abs(r-e.top),Math.abs(r-e.bottom));return Math.sqrt(t*t+o*o)}(r,e,o),n=r-o.left,i=e-o.top,a=c.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-l+"px",d.style.top=i-l+"px",d.style.height=2*l+"px",d.style.width=2*l+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${a}ms`,this._containerElement.appendChild(d),function sm(s){window.getComputedStyle(s).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new Vh(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const g=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!g||!this._isPointerDown)&&u.fadeOut()},a),u}fadeOutRipple(r){const e=this._activeRipples.delete(r);if(r===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=r.element,o=Object.assign(Object.assign({},rd),r.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",r.state=2,this._runTimeoutOutsideZone(()=>{r.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(r=>r.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(r=>{r.config.persistent||r.fadeOut()})}setupTriggerEvents(r){const e=Wt(r);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(om))}handleEvent(r){"mousedown"===r.type?this._onMousedown(r):"touchstart"===r.type?this._onTouchStart(r):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ad),this._pointerUpEventsRegistered=!0)}_onMousedown(r){const e=ag(r),t=this._lastTouchStartEvent&&Date.now(){!r.config.persistent&&(1===r.state||r.config.terminateOnPointerUp&&0===r.state)&&r.fadeOut()}))}_runTimeoutOutsideZone(r,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(r,e))}_registerEvents(r){this._ngZone.runOutsideAngular(()=>{r.forEach(e=>{this._triggerElement.addEventListener(e,this,am)})})}_removeTriggerEvents(){this._triggerElement&&(om.forEach(r=>{this._triggerElement.removeEventListener(r,this,am)}),this._pointerUpEventsRegistered&&ad.forEach(r=>{this._triggerElement.removeEventListener(r,this,am)}))}}const sd=new f.OlP("mat-ripple-global-options");let Xr=(()=>{class s{constructor(e,t,o,c,l){this._elementRef=e,this._animationMode=l,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=c||{},this._rippleRenderer=new od(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(fi),f.Y36(sd,8),f.Y36(rn,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&f.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"]}),s})(),an=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),dl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye]]}),s})(),ld=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,E.ez,Ye,dl]]}),s})();const hm=["mat-button",""],pm=["*"],gm=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mx=Va(ka(Zr(class{constructor(s){this._elementRef=s}})));let ul=(()=>{class s extends mx{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 c of gm)this._hasHostAttributes(c)&&this._getHostElement().classList.add(c);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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(qr),f.Y36(rn,8))},s.\u0275cmp=f.Xpm({type:s,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&&f.Gf(Xr,5),2&e){let o;f.iGM(o=f.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(f.uIk("disabled",t.disabled||null),f.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[f.qOj],attrs:hm,ngContentSelectors:pm,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&&(f.F$t(),f.TgZ(0,"span",0),f.Hsn(1),f.qZA(),f._UZ(2,"span",1),f._UZ(3,"span",2)),2&e&&(f.xp6(2),f.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),f.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Xr],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;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;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;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;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}),s})(),On=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye],Ye]}),s})();var Gy=x(1144),kt=x(576),Oh=x(3268);const qy=["addListener","removeListener"],Wy=["addEventListener","removeEventListener"],mm=["on","off"];function cd(s,r,e,t){if((0,kt.m)(e)&&(t=e,e=void 0),t)return cd(s,r,e).pipe((0,Oh.Z)(t));const[o,c]=function $y(s){return(0,kt.m)(s.addEventListener)&&(0,kt.m)(s.removeEventListener)}(s)?Wy.map(l=>n=>s[l](r,n,e)):function _m(s){return(0,kt.m)(s.addListener)&&(0,kt.m)(s.removeListener)}(s)?qy.map(Lh(s,r)):function Ko(s){return(0,kt.m)(s.on)&&(0,kt.m)(s.off)}(s)?mm.map(Lh(s,r)):[];if(!o&&(0,Gy.z)(s))return(0,gt.z)(l=>cd(l,r,e))((0,fa.Xf)(s));if(!o)throw new TypeError("Invalid event target");return new vi.y(l=>{const n=(...i)=>l.next(1c(n)})}function Lh(s,r){return e=>t=>s[e](r,t)}var bm=x(4408);const Zo={schedule(s){let r=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=Zo;t&&(r=t.requestAnimationFrame,e=t.cancelAnimationFrame);const o=r(c=>{e=void 0,s(c)});return new ui.w0(()=>null==e?void 0:e(o))},requestAnimationFrame(...s){const{delegate:r}=Zo;return((null==r?void 0:r.requestAnimationFrame)||requestAnimationFrame)(...s)},cancelAnimationFrame(...s){const{delegate:r}=Zo;return((null==r?void 0:r.cancelAnimationFrame)||cancelAnimationFrame)(...s)},delegate:void 0};var Fh=x(7565);const dd=new class bx extends Fh.v{flush(r){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;r=r||t.shift();do{if(o=r.execute(r.state,r.delay))break}while((r=t[0])&&r.id===e&&t.shift());if(this._active=!1,o){for(;(r=t[0])&&r.id===e&&t.shift();)r.unsubscribe();throw o}}}(class Yy extends bm.o{constructor(r,e){super(r,e),this.scheduler=r,this.work=e}requestAsyncId(r,e,t=0){return null!==t&&t>0?super.requestAsyncId(r,e,t):(r.actions.push(this),r._scheduled||(r._scheduled=Zo.requestAnimationFrame(()=>r.flush(void 0))))}recycleAsyncId(r,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(r,e,t);r.actions.some(o=>o.id===e)||(Zo.cancelAnimationFrame(e),r._scheduled=void 0)}});let jh,ir=1;const ud={};function Ln(s){return s in ud&&(delete ud[s],!0)}const Fn={setImmediate(s){const r=ir++;return ud[r]=!0,jh||(jh=Promise.resolve()),jh.then(()=>Ln(r)&&s()),r},clearImmediate(s){Ln(s)}},{setImmediate:ym,clearImmediate:vm}=Fn,hd={setImmediate(...s){const{delegate:r}=hd;return((null==r?void 0:r.setImmediate)||ym)(...s)},clearImmediate(s){const{delegate:r}=hd;return((null==r?void 0:r.clearImmediate)||vm)(s)},delegate:void 0};new class Jy extends Fh.v{flush(r){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;r=r||t.shift();do{if(o=r.execute(r.state,r.delay))break}while((r=t[0])&&r.id===e&&t.shift());if(this._active=!1,o){for(;(r=t[0])&&r.id===e&&t.shift();)r.unsubscribe();throw o}}}(class Qy extends bm.o{constructor(r,e){super(r,e),this.scheduler=r,this.work=e}requestAsyncId(r,e,t=0){return null!==t&&t>0?super.requestAsyncId(r,e,t):(r.actions.push(this),r._scheduled||(r._scheduled=hd.setImmediate(r.flush.bind(r,void 0))))}recycleAsyncId(r,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(r,e,t);r.actions.some(o=>o.id===e)||(hd.clearImmediate(e),r._scheduled=void 0)}});var Xo=x(4986),Nh=x(2805);function Am(s,r=Xo.z){return function Zy(s){return(0,Hi.e)((r,e)=>{let t=!1,o=null,c=null,l=!1;const n=()=>{if(null==c||c.unsubscribe(),c=null,t){t=!1;const a=o;o=null,e.next(a)}l&&e.complete()},i=()=>{c=null,l&&e.complete()};r.subscribe((0,Fi.x)(e,a=>{t=!0,o=a,c||(0,fa.Xf)(s(a)).subscribe(c=(0,Fi.x)(e,n,i))},()=>{l=!0,(!t||!c||c.closed)&&e.complete()}))})}(()=>(0,Nh.H)(s,r))}let pd=(()=>{class s{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new Fe.x,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 vi.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(Am(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ue.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,Mi.h)(c=>!c||o.indexOf(c)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,c)=>{this._scrollableContainsElement(c,e)&&t.push(c)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=Wt(t),c=e.getElementRef().nativeElement;do{if(o==c)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>cd(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(fi),f.LFG(E.K0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),es=(()=>{class s{constructor(e,t,o){this._platform=e,this._change=new Fe.x,this._changeListener=c=>{this._change.next(c)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const c=this._getWindow();c.addEventListener("resize",this._changeListener),c.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,c=o.getBoundingClientRect();return{top:-c.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-c.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Am(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 s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b),f.LFG(E.K0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Sr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),ts=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta,Sr],Ta,Sr]}),s})();class Gh{attach(r){return this._attachedHost=r,r.attach(this)}detach(){let r=this._attachedHost;null!=r&&(this._attachedHost=null,r.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(r){this._attachedHost=r}}class qh extends Gh{constructor(r,e,t,o){super(),this.component=r,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class Em extends Gh{constructor(r,e,t){super(),this.templateRef=r,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(r,e=this.context){return this.context=e,super.attach(r)}detach(){return this.context=void 0,super.detach()}}class lv extends Gh{constructor(r){super(),this.element=r instanceof f.SBq?r.nativeElement:r}}class Wh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(r){return r instanceof qh?(this._attachedPortal=r,this.attachComponentPortal(r)):r instanceof Em?(this._attachedPortal=r,this.attachTemplatePortal(r)):this.attachDomPortal&&r instanceof lv?(this._attachedPortal=r,this.attachDomPortal(r)):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(r){this._disposeFn=r}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class cv extends Wh{constructor(r,e,t,o,c){super(),this.outletElement=r,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=l=>{const n=l.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=l,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=c}attachComponentPortal(r){const t=(r.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(r.component);let o;return r.viewContainerRef?(o=r.viewContainerRef.createComponent(t,r.viewContainerRef.length,r.injector||r.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(r.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=r,o}attachTemplatePortal(r){let e=r.viewContainerRef,t=e.createEmbeddedView(r.templateRef,r.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=r,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(r){return r.hostView.rootNodes[0]}}let $h=(()=>{class s extends Wh{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=c=>{const l=c.element,n=this._document.createComment("dom-portal");c.setAttachedHost(this),l.parentNode.insertBefore(n,l),this._getRootNode().appendChild(l),this._attachedPortal=c,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(l,n)})},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,c=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),l=t.createComponent(c,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(l.hostView.rootNodes[0]),super.setDisposeFn(()=>l.destroy()),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l}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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(E.K0))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]}),s})(),Oa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();var rr=x(6451);const Yh=l0();class Sm{constructor(r,e){this._viewportRuler=r,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const r=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=r.style.left||"",this._previousHTMLStyles.top=r.style.top||"",r.style.left=Xt(-this._previousScrollPosition.left),r.style.top=Xt(-this._previousScrollPosition.top),r.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const r=this._document.documentElement,t=r.style,o=this._document.body.style,c=t.scrollBehavior||"",l=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,r.classList.remove("cdk-global-scrollblock"),Yh&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Yh&&(t.scrollBehavior=c,o.scrollBehavior=l)}}_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 Mm{constructor(r,e,t,o){this._scrollDispatcher=r,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(r){this._overlayRef=r}enable(){if(this._scrollSubscription)return;const r=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=r.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=r.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fd{enable(){}disable(){}attach(){}}function hl(s,r){return r.some(e=>s.bottome.bottom||s.righte.right)}function ea(s,r){return r.some(e=>s.tope.bottom||s.lefte.right)}class pv{constructor(r,e,t,o){this._scrollDispatcher=r,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(r){this._overlayRef=r}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();hl(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 fv=(()=>{class s{constructor(e,t,o,c){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new fd,this.close=l=>new Mm(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new Sm(this._viewportRuler,this._document),this.reposition=l=>new pv(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=c}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(pd),f.LFG(es),f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();class La{constructor(r){if(this.scrollStrategy=new fd,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,r){const e=Object.keys(r);for(const t of e)void 0!==r[t]&&(this[t]=r[t])}}}class Hx{constructor(r,e){this.connectionPair=r,this.scrollableViewProperties=e}}class Px{constructor(r,e,t,o,c,l,n,i,a){this._portalOutlet=r,this._host=e,this._pane=t,this._config=o,this._ngZone=c,this._keyboardDispatcher=l,this._document=n,this._location=i,this._outsideClickDispatcher=a,this._backdropElement=null,this._backdropClick=new Fe.x,this._attachments=new Fe.x,this._detachments=new Fe.x,this._locationChanges=ui.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Fe.x,this._outsidePointerEvents=new Fe.x,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(r){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(r);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,hi.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 r=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),r}dispose(){var r;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===(r=this._host)||void 0===r||r.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(r){r!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=r,this.hasAttached()&&(r.attach(this),this.updatePosition()))}updateSize(r){this._config=Object.assign(Object.assign({},this._config),r),this._updateElementSize()}setDirection(r){this._config=Object.assign(Object.assign({},this._config),{direction:r}),this._updateElementDirection()}addPanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!0)}removePanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!1)}getDirection(){const r=this._config.direction;return r?"string"==typeof r?r:r.value:"ltr"}updateScrollStrategy(r){r!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=r,this.hasAttached()&&(r.attach(this),r.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const r=this._pane.style;r.width=Xt(this._config.width),r.height=Xt(this._config.height),r.minWidth=Xt(this._config.minWidth),r.minHeight=Xt(this._config.minHeight),r.maxWidth=Xt(this._config.maxWidth),r.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(r){this._pane.style.pointerEvents=r?"":"none"}_attachBackdrop(){const r="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(r)})}):this._backdropElement.classList.add(r)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const r=this._backdropElement;!r||(r.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{r.addEventListener("transitionend",this._backdropTransitionendHandler)}),r.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(r)},500)))}_toggleClasses(r,e,t){const o=Zf(e||[]).filter(c=>!!c);o.length&&(t?r.classList.add(...o):r.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const r=this._ngZone.onStable.pipe(Gt((0,rr.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()),r.unsubscribe())})})}_disposeScrollStrategy(){const r=this._scrollStrategy;r&&(r.disable(),r.detach&&r.detach())}_disposeBackdrop(r){r&&(r.removeEventListener("click",this._backdropClickHandler),r.removeEventListener("transitionend",this._backdropTransitionendHandler),r.remove(),this._backdropElement===r&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Qe=(()=>{class s{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||Ro()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let c=0;c{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 r=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,c=[];let l;for(let n of this._preferredPositions){let i=this._getOriginPoint(r,o,n),a=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(a,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,a,t)?c.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!l||l.overlayFit.visibleAreai&&(i=d,n=a)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ar(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Hm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const r=this._lastPosition;if(r){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,r);this._applyPosition(r,e)}else this.apply()}withScrollableContainers(r){return this._scrollables=r,this}withPositions(r){return this._preferredPositions=r,-1===r.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(r){return this._viewportMargin=r,this}withFlexibleDimensions(r=!0){return this._hasFlexibleDimensions=r,this}withGrowAfterOpen(r=!0){return this._growAfterOpen=r,this}withPush(r=!0){return this._canPush=r,this}withLockedPosition(r=!0){return this._positionLocked=r,this}setOrigin(r){return this._origin=r,this}withDefaultOffsetX(r){return this._offsetX=r,this}withDefaultOffsetY(r){return this._offsetY=r,this}withTransformOriginOn(r){return this._transformOriginSelector=r,this}_getOriginPoint(r,e,t){let o,c;if("center"==t.originX)o=r.left+r.width/2;else{const l=this._isRtl()?r.right:r.left,n=this._isRtl()?r.left:r.right;o="start"==t.originX?l:n}return e.left<0&&(o-=e.left),c="center"==t.originY?r.top+r.height/2:"top"==t.originY?r.top:r.bottom,e.top<0&&(c-=e.top),{x:o,y:c}}_getOverlayPoint(r,e,t){let o,c;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,c="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:r.x+o,y:r.y+c}}_getOverlayFit(r,e,t,o){const c=pl(e);let{x:l,y:n}=r,i=this._getOffset(o,"x"),a=this._getOffset(o,"y");i&&(l+=i),a&&(n+=a);let g=0-n,b=n+c.height-t.height,H=this._subtractOverflows(c.width,0-l,l+c.width-t.width),U=this._subtractOverflows(c.height,g,b),oe=H*U;return{visibleArea:oe,isCompletelyWithinViewport:c.width*c.height===oe,fitsInViewportVertically:U===c.height,fitsInViewportHorizontally:H==c.width}}_canFitWithFlexibleDimensions(r,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,c=t.right-e.x,l=Pm(this._overlayRef.getConfig().minHeight),n=Pm(this._overlayRef.getConfig().minWidth),a=r.fitsInViewportHorizontally||null!=n&&n<=c;return(r.fitsInViewportVertically||null!=l&&l<=o)&&a}return!1}_pushOverlayOnScreen(r,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:r.x+this._previousPushAmount.x,y:r.y+this._previousPushAmount.y};const o=pl(e),c=this._viewportRect,l=Math.max(r.x+o.width-c.width,0),n=Math.max(r.y+o.height-c.height,0),i=Math.max(c.top-t.top-r.y,0),a=Math.max(c.left-t.left-r.x,0);let d=0,u=0;return d=o.width<=c.width?a||-l:r.xH&&!this._isInitialRender&&!this._growAfterOpen&&(l=r.y-H/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)g=t.width-r.x+this._viewportMargin,d=r.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=r.x,d=t.right-r.x;else{const b=Math.min(t.right-r.x+t.left,r.x),H=this._lastBoundingBoxSize.width;d=2*b,u=r.x-b,d>H&&!this._isInitialRender&&!this._growAfterOpen&&(u=r.x-H/2)}return{top:l,left:u,bottom:n,right:g,width:d,height:c}}_setBoundingBoxStyles(r,e){const t=this._calculateBoundingBoxRect(r,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 c=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Xt(t.height),o.top=Xt(t.top),o.bottom=Xt(t.bottom),o.width=Xt(t.width),o.left=Xt(t.left),o.right=Xt(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",c&&(o.maxHeight=Xt(c)),l&&(o.maxWidth=Xt(l))}this._lastBoundingBoxSize=t,ar(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ar(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ar(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(r,e){const t={},o=this._hasExactPosition(),c=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();ar(t,this._getExactOverlayY(e,r,d)),ar(t,this._getExactOverlayX(e,r,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),a=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),a&&(n+=`translateY(${a}px)`),t.transform=n.trim(),l.maxHeight&&(o?t.maxHeight=Xt(l.maxHeight):c&&(t.maxHeight="")),l.maxWidth&&(o?t.maxWidth=Xt(l.maxWidth):c&&(t.maxWidth="")),ar(this._pane.style,t)}_getExactOverlayY(r,e,t){let o={top:"",bottom:""},c=this._getOverlayPoint(e,this._overlayRect,r);return this._isPushed&&(c=this._pushOverlayOnScreen(c,this._overlayRect,t)),"bottom"===r.overlayY?o.bottom=this._document.documentElement.clientHeight-(c.y+this._overlayRect.height)+"px":o.top=Xt(c.y),o}_getExactOverlayX(r,e,t){let l,o={left:"",right:""},c=this._getOverlayPoint(e,this._overlayRect,r);return this._isPushed&&(c=this._pushOverlayOnScreen(c,this._overlayRect,t)),l=this._isRtl()?"end"===r.overlayX?"left":"right":"end"===r.overlayX?"right":"left","right"===l?o.right=this._document.documentElement.clientWidth-(c.x+this._overlayRect.width)+"px":o.left=Xt(c.x),o}_getScrollVisibility(){const r=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ea(r,t),isOriginOutsideView:hl(r,t),isOverlayClipped:ea(e,t),isOverlayOutsideView:hl(e,t)}}_subtractOverflows(r,...e){return e.reduce((t,o)=>t-Math.max(o,0),r)}_getNarrowedViewportRect(){const r=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+r-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:r-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(r,e){return"x"===e?null==r.offsetX?this._offsetX:r.offsetX:null==r.offsetY?this._offsetY:r.offsetY}_validatePositions(){}_addPanelClasses(r){this._pane&&Zf(r).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(r=>{this._pane.classList.remove(r)}),this._appliedPanelClasses=[])}_getOriginRect(){const r=this._origin;if(r instanceof f.SBq)return r.nativeElement.getBoundingClientRect();if(r instanceof Element)return r.getBoundingClientRect();const e=r.width||0,t=r.height||0;return{top:r.y,bottom:r.y+t,left:r.x,right:r.x+e,height:t,width:e}}}function ar(s,r){for(let e in r)r.hasOwnProperty(e)&&(s[e]=r[e]);return s}function Pm(s){if("number"!=typeof s&&null!=s){const[r,e]=s.split(_v);return e&&"px"!==e?null:parseFloat(r)}return s||null}function pl(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}const fl="cdk-global-overlay-wrapper";class qt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(r){const e=r.getConfig();this._overlayRef=r,this._width&&!e.width&&r.updateSize({width:this._width}),this._height&&!e.height&&r.updateSize({height:this._height}),r.hostElement.classList.add(fl),this._isDisposed=!1}top(r=""){return this._bottomOffset="",this._topOffset=r,this._alignItems="flex-start",this}left(r=""){return this._rightOffset="",this._leftOffset=r,this._justifyContent="flex-start",this}bottom(r=""){return this._topOffset="",this._bottomOffset=r,this._alignItems="flex-end",this}right(r=""){return this._leftOffset="",this._rightOffset=r,this._justifyContent="flex-end",this}width(r=""){return this._overlayRef?this._overlayRef.updateSize({width:r}):this._width=r,this}height(r=""){return this._overlayRef?this._overlayRef.updateSize({height:r}):this._height=r,this}centerHorizontally(r=""){return this.left(r),this._justifyContent="center",this}centerVertically(r=""){return this.top(r),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:c,maxWidth:l,maxHeight:n}=t,i=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),a=!("100%"!==c&&"100vh"!==c||n&&"100%"!==n&&"100vh"!==n);r.position=this._cssPosition,r.marginLeft=i?"0":this._leftOffset,r.marginTop=a?"0":this._topOffset,r.marginBottom=this._bottomOffset,r.marginRight=this._rightOffset,i?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=a?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fl),t.justifyContent=t.alignItems=r.marginTop=r.marginBottom=r.marginLeft=r.marginRight=r.position="",this._overlayRef=null,this._isDisposed=!0}}let Rx=(()=>{class s{constructor(e,t,o,c){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=c}global(){return new qt}flexibleConnectedTo(e){return new bv(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(es),f.LFG(E.K0),f.LFG(fi),f.LFG(Qe))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Qh=(()=>{class s{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 s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Cv=(()=>{class s extends Qh{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=o=>{const c=this._attachedOverlays;for(let l=c.length-1;l>-1;l--)if(c[l]._keydownEvents.observers.length>0){const n=c[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(o)):n.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(f.R0b,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),yv=(()=>{class s extends Qh{constructor(e,t,o){super(e),this._platform=t,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=c=>{this._pointerDownEventTarget=fn(c)},this._clickListener=c=>{const l=fn(c),n="click"===c.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let a=i.length-1;a>-1;a--){const d=i[a];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(l)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(c)):u.next(c)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(fi),f.LFG(f.R0b,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Rm=0,Mr=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u,g){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=c,this._keyboardDispatcher=l,this._injector=n,this._ngZone=i,this._document=a,this._directionality=d,this._location=u,this._outsideClickDispatcher=g}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),c=this._createPortalOutlet(o),l=new La(e);return l.direction=l.direction||this._directionality.value,new Px(c,t,o,l,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-"+Rm++,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(f.z2F)),new cv(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fv),f.LFG(Qe),f.LFG(f._Vd),f.LFG(Rx),f.LFG(Cv),f.LFG(f.zs3),f.LFG(f.R0b),f.LFG(E.K0),f.LFG(xa),f.LFG(E.Ye),f.LFG(yv))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const gl={provide:new f.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Mr],useFactory:function wv(s){return()=>s.scrollStrategies.reposition()}};let ml=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Mr,gl],imports:[[Ta,Oa,ts],ts]}),s})();const Av=["connectionContainer"],gd=["inputContainer"],km=["label"];function Vm(s,r){1&s&&(f.ynx(0),f.TgZ(1,"div",14),f._UZ(2,"div",15),f._UZ(3,"div",16),f._UZ(4,"div",17),f.qZA(),f.TgZ(5,"div",18),f._UZ(6,"div",15),f._UZ(7,"div",16),f._UZ(8,"div",17),f.qZA(),f.BQk())}function Bm(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div",19),f.NdJ("cdkObserveContent",function(){return f.CHM(e),f.oxw().updateOutlineGap()}),f.Hsn(1,1),f.qZA()}if(2&s){const e=f.oxw();f.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function xv(s,r){if(1&s&&(f.ynx(0),f.Hsn(1,2),f.TgZ(2,"span"),f._uU(3),f.qZA(),f.BQk()),2&s){const e=f.oxw(2);f.xp6(3),f.Oqu(e._control.placeholder)}}function _l(s,r){1&s&&f.Hsn(0,3,["*ngSwitchCase","true"])}function bl(s,r){1&s&&(f.TgZ(0,"span",23),f._uU(1," *"),f.qZA())}function Tv(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"label",20,21),f.NdJ("cdkObserveContent",function(){return f.CHM(e),f.oxw().updateOutlineGap()}),f.YNc(2,xv,4,1,"ng-container",12),f.YNc(3,_l,1,0,"ng-content",12),f.YNc(4,bl,2,0,"span",22),f.qZA()}if(2&s){const e=f.oxw();f.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),f.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),f.uIk("for",e._control.id)("aria-owns",e._control.id),f.xp6(2),f.Q6J("ngSwitchCase",!1),f.xp6(1),f.Q6J("ngSwitchCase",!0),f.xp6(1),f.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function Ev(s,r){1&s&&(f.TgZ(0,"div",24),f.Hsn(1,4),f.qZA())}function Sv(s,r){if(1&s&&(f.TgZ(0,"div",25),f._UZ(1,"span",26),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function Om(s,r){if(1&s&&(f.TgZ(0,"div"),f.Hsn(1,5),f.qZA()),2&s){const e=f.oxw();f.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Lm(s,r){if(1&s&&(f.TgZ(0,"div",30),f._uU(1),f.qZA()),2&s){const e=f.oxw(2);f.Q6J("id",e._hintLabelId),f.xp6(1),f.Oqu(e.hintLabel)}}function Fm(s,r){if(1&s&&(f.TgZ(0,"div",27),f.YNc(1,Lm,2,2,"div",28),f.Hsn(2,6),f._UZ(3,"div",29),f.Hsn(4,7),f.qZA()),2&s){const e=f.oxw();f.Q6J("@transitionMessages",e._subscriptAnimationState),f.xp6(1),f.Q6J("ngIf",e.hintLabel)}}const Mv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jm=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Dv=0;const Nm=new f.OlP("MatError");let Bx=(()=>{class s{constructor(e,t){this.id="mat-error-"+Dv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return s.\u0275fac=function(e){return new(e||s)(f.$8M("aria-live"),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&f.uIk("id",t.id)},inputs:{id:"id"},features:[f._Bn([{provide:Nm,useExisting:s}])]}),s})();const Ox={transitionMessages:Lt("transitionMessages",[st("enter",Le({opacity:1,transform:"translateY(0%)"})),bt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),xt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Jh=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s}),s})(),Pv=0;const zm=new f.OlP("MatHint");let Um=(()=>{class s{constructor(){this.align="start",this.id="mat-hint-"+Pv++}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(f.uIk("id",t.id)("align",null),f.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[f._Bn([{provide:zm,useExisting:s}])]}),s})(),Fa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-label"]]}),s})(),Rv=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-placeholder"]]}),s})();const Iv=new f.OlP("MatPrefix"),kv=new f.OlP("MatSuffix");let Zh=0;const is=Va(class{constructor(s){this._elementRef=s}},"primary"),Bv=new f.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),md=new f.OlP("MatFormField");let Ov=(()=>{class s extends is{constructor(e,t,o,c,l,n,i){super(e),this._changeDetectorRef=t,this._dir=o,this._defaults=c,this._platform=l,this._ngZone=n,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Fe.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Zh++,this._labelId="mat-form-field-label-"+Zh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==i,this.appearance=c&&c.appearance?c.appearance:"legacy",this._hideRequiredMarker=!(!c||null==c.hideRequiredMarker)&&c.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=rt(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($n(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Gt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Gt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,rr.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe($n(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe($n(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Gt(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,cd(this._label.nativeElement,"transitionend").pipe((0,hi.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(c=>"start"===c.align):null,o=this._hintChildren?this._hintChildren.find(c=>"end"===c.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",c=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const d=t.querySelectorAll(`${o}, ${c}`);for(let u=0;u0?.75*H+10:0}for(let d=0;d{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,zr],Ye]}),s})();const qv={provide:new f.OlP("mat-select-scroll-strategy"),deps:[Mr],useFactory:function $m(s){return()=>s.scrollStrategies.reposition()}};let ns=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[qv],imports:[[E.ez,ml,ld,Ye],Sr,ta,ld,Ye]}),s})();const Jv={provide:new f.OlP("mat-tooltip-scroll-strategy"),deps:[Mr],useFactory:function Jm(s){return()=>s.scrollStrategies.reposition({scrollThrottle:20})}};let Dr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Jv],imports:[[Wr,E.ez,ml,Ye],Ye,Sr]}),s})(),bd=(()=>{class s{constructor(){this.changes=new Fe.x,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 c=e*t;return`${c+1} \u2013 ${c<(o=Math.max(o,0))?Math.min(c+t,o):c+t} of ${o}`}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const tp={provide:bd,deps:[[new f.FiY,new f.tp0,bd]],useFactory:function Xv(s){return s||new bd}};let yd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[tp],imports:[[E.ez,On,ns,Dr,Ye]]}),s})();const dw={provide:new f.OlP("mat-menu-scroll-strategy"),deps:[Mr],useFactory:function cw(s){return()=>s.scrollStrategies.reposition()}};let wl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[dw],imports:[[E.ez,Ye,an,ml],Sr,Ye]}),s})();var Al=x(2843),i_=x(4742),n_=x(1810);function wd(...s){const r=(0,co.jO)(s),{args:e,keys:t}=(0,i_.D)(s),o=new vi.y(c=>{const{length:l}=e;if(!l)return void c.complete();const n=new Array(l);let i=l,a=l;for(let d=0;d{u||(u=!0,a--),n[d]=g},()=>i--,void 0,()=>{(!i||!u)&&(a||c.next(t?(0,n_.n)(t,n):n),c.complete())}))}});return r?o.pipe((0,Oh.Z)(r)):o}var r_=x(3099);const a_=["*"];let xl;function Tl(s){var r;return(null===(r=function o_(){if(void 0===xl&&(xl=null,"undefined"!=typeof window)){const s=window;void 0!==s.trustedTypes&&(xl=s.trustedTypes.createPolicy("angular#components",{createHTML:r=>r}))}return xl}())||void 0===r?void 0:r.createHTML(s))||s}function s_(s){return Error(`Unable to find icon with the name "${s}"`)}function l_(s){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${s}".`)}function Ad(s){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${s}".`)}class Ei{constructor(r,e,t){this.url=r,this.svgText=e,this.options=t}}let Sl=(()=>{class s{constructor(e,t,o,c){this._httpClient=e,this._sanitizer=t,this._errorHandler=c,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,c){return this._addSvgIconConfig(e,t,new Ei(o,null,c))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,c){const l=this._sanitizer.sanitize(f.q3G.HTML,o);if(!l)throw Ad(o);const n=Tl(l);return this._addSvgIconConfig(e,t,new Ei("",n,c))}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 Ei(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const c=this._sanitizer.sanitize(f.q3G.HTML,t);if(!c)throw Ad(t);const l=Tl(c);return this._addSvgIconSetConfig(e,new Ei("",l,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(f.q3G.RESOURCE_URL,e);if(!t)throw l_(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ue.of)(Ed(o)):this._loadSvgIconFromConfig(new Ei(e,null)).pipe((0,M.b)(c=>this._cachedIconsByUrl.set(t,c)),(0,ft.U)(c=>Ed(c)))}getNamedSvgIcon(e,t=""){const o=c_(t,e);let c=this._svgIconConfigs.get(o);if(c)return this._getSvgFromConfig(c);if(c=this._getIconConfigFromResolvers(t,e),c)return this._svgIconConfigs.set(o,c),this._getSvgFromConfig(c);const l=this._iconSetConfigs.get(t);return l?this._getSvgFromIconSetConfigs(e,l):(0,Al._)(s_(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ue.of)(Ed(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ft.U)(t=>Ed(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ue.of)(o):wd(t.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe((0,Yi.K)(n=>{const a=`Loading icon set URL: ${this._sanitizer.sanitize(f.q3G.RESOURCE_URL,l.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(a)),(0,Ue.of)(null)})))).pipe((0,ft.U)(()=>{const l=this._extractIconWithNameFromAnySet(e,t);if(!l)throw s_(e);return l}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const c=t[o];if(c.svgText&&c.svgText.toString().indexOf(e)>-1){const l=this._svgElementFromConfig(c),n=this._extractSvgIconFromSet(l,e,c.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t),(0,ft.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ue.of)(null):this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const c=e.querySelector(`[id="${t}"]`);if(!c)return null;const l=c.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);const n=this._svgElementFromString(Tl(""));return n.appendChild(l),this._setSvgAttributes(n,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(Tl("")),o=e.attributes;for(let c=0;cTl(d)),I(()=>this._inProgressUrlFetches.delete(n)),(0,r_.B)());return this._inProgressUrlFetches.set(n,a),a}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(c_(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;or?r.pathname+r.search:""}}}),d_=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],u_=d_.map(s=>`[${s}]`).join(", "),h_=/^url\(['"]?#(.*?)['"]?\)$/;let Hr=(()=>{class s extends Sd{constructor(e,t,o,c,l){super(e),this._iconRegistry=t,this._location=c,this._errorHandler=l,this._inline=!1,this._currentIconFetch=ui.w0.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=rt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const o=e.childNodes[t];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((o,c)=>{o.forEach(l=>{c.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(u_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let c=0;c{const n=t[c],i=n.getAttribute(l),a=i?i.match(h_):null;if(a){let d=o.get(n);d||(d=[],o.set(n,d)),d.push({name:l,value:a[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,hi.q)(1)).subscribe(c=>this._setSvgElement(c),c=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${c.message}`))})}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(Sl),f.$8M("aria-hidden"),f.Y36(Md),f.Y36(f.qLn))},s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(f.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),f.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:[f.qOj],ngContentSelectors:a_,decls:1,vars:0,template:function(e,t){1&e&&(f.F$t(),f.Hsn(0))},styles:[".mat-icon{-webkit-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}),s})(),or=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})();function sr(s){return!!s&&(s instanceof vi.y||(0,kt.m)(s.lift)&&(0,kt.m)(s.subscribe))}var fw=x(6063);class AT extends Fe.x{constructor(r=1/0,e=1/0,t=fw.l){super(),this._bufferSize=r,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,e)}next(r){const{isStopped:e,_buffer:t,_infiniteTimeWindow:o,_timestampProvider:c,_windowTime:l}=this;e||(t.push(r),!o&&t.push(c.now()+l)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(r),{_infiniteTimeWindow:t,_buffer:o}=this,c=o.slice();for(let l=0;lnew AT(t,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class ja{}let np=(()=>{class s extends ja{getTranslation(e){return(0,Ue.of)({})}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Ml{}let Hd=(()=>{class s{handle(e){return e.key}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function Pd(s,r){if(s===r)return!0;if(null===s||null===r)return!1;if(s!=s&&r!=r)return!0;let o,c,l,e=typeof s;if(e==typeof r&&"object"==e){if(!Array.isArray(s)){if(Array.isArray(r))return!1;for(c in l=Object.create(null),s){if(!Pd(s[c],r[c]))return!1;l[c]=!0}for(c in r)if(!(c in l)&&void 0!==r[c])return!1;return!0}if(!Array.isArray(r))return!1;if((o=s.length)==r.length){for(c=0;c{rp(r[t])?t in s?e[t]=p_(s[t],r[t]):Object.assign(e,{[t]:r[t]}):Object.assign(e,{[t]:r[t]})}),e}class Dl{}let Rd=(()=>{class s extends Dl{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(),!ia(e)||!ia(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,c)=>{let l=this.getValue(t,c);return ia(l)?l:o}):e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Hl{}let ap=(()=>{class s extends Hl{compile(e,t){return e}compileTranslations(e,t){return e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class op{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new f.vpe,this.onLangChange=new f.vpe,this.onDefaultLangChange=new f.vpe}}const Id=new f.OlP("USE_STORE"),sp=new f.OlP("USE_DEFAULT_LANG"),kd=new f.OlP("DEFAULT_LANGUAGE"),Vd=new f.OlP("USE_EXTEND");let na=(()=>{class s{constructor(e,t,o,c,l,n=!0,i=!1,a=!1,d){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=c,this.missingTranslationHandler=l,this.useDefaultLang=n,this.isolate=i,this.extend=a,this.pending=!1,this._onTranslationChange=new f.vpe,this._onLangChange=new f.vpe,this._onDefaultLangChange=new f.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,hi.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ue.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,hi.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ue.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(Dd(1),(0,hi.q)(1));return this.loadingTranslations=t.pipe((0,ft.U)(o=>this.compiler.compileTranslations(o,e)),Dd(1),(0,hi.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]?p_(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 c;if(t instanceof Array){let l={},n=!1;for(let i of t)l[i]=this.getParsedResult(e,i,o),sr(l[i])&&(n=!0);return n?wd(t.map(a=>sr(l[a])?l[a]:(0,Ue.of)(l[a]))).pipe((0,ft.U)(a=>{let d={};return a.forEach((u,g)=>{d[t[g]]=u}),d})):l}if(e&&(c=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===c&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(c=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===c){let l={key:t,translateService:this};void 0!==o&&(l.interpolateParams=o),c=this.missingTranslationHandler.handle(l)}return void 0!==c?c:t}get(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,fr.b)(o=>sr(o=this.getParsedResult(o,e,t))?o:(0,Ue.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return sr(o)?o:(0,Ue.of)(o)}}getStreamOnTranslationChange(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');return(0,so.z)(lo(()=>this.get(e,t)),this.onTranslationChange.pipe((0,$i.w)(o=>{const c=this.getParsedResult(o.translations,e,t);return"function"==typeof c.subscribe?c:(0,Ue.of)(c)})))}stream(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');return(0,so.z)(lo(()=>this.get(e,t)),this.onLangChange.pipe((0,$i.w)(o=>{const c=this.getParsedResult(o.translations,e,t);return sr(c)?c:(0,Ue.of)(c)})))}instant(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(sr(o)){if(e instanceof Array){let c={};return e.forEach((l,n)=>{c[e[n]]=e[n]}),c}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 s.\u0275fac=function(e){return new(e||s)(f.LFG(op),f.LFG(ja),f.LFG(Hl),f.LFG(Dl),f.LFG(Ml),f.LFG(sp),f.LFG(Id),f.LFG(Vd),f.LFG(kd))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),vn=(()=>{class s{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let c=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(o){let l=this.translate.getParsedResult(o,e,t);sr(l.subscribe)?l.subscribe(c):c(l)}this.translate.get(e,t).subscribe(c)}transform(e,...t){if(!e||!e.length)return e;if(Pd(e,this.lastKey)&&Pd(t,this.lastParams))return this.value;let o;if(ia(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let c=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(c)}catch(l){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(c=>{this.lastKey&&c.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,c.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(c=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,c.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(na,16),f.Y36(f.sBO,16))},s.\u0275pipe=f.Yjl({name:"translate",type:s,pure:!1}),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),ei=(()=>{class s{static forRoot(e={}){return{ngModule:s,providers:[e.loader||{provide:ja,useClass:np},e.compiler||{provide:Hl,useClass:ap},e.parser||{provide:Dl,useClass:Rd},e.missingTranslationHandler||{provide:Ml,useClass:Hd},op,{provide:Id,useValue:e.isolate},{provide:sp,useValue:e.useDefaultLang},{provide:Vd,useValue:e.extend},{provide:kd,useValue:e.defaultLanguage},na]}}static forChild(e={}){return{ngModule:s,providers:[e.loader||{provide:ja,useClass:np},e.compiler||{provide:Hl,useClass:ap},e.parser||{provide:Dl,useClass:Rd},e.missingTranslationHandler||{provide:Ml,useClass:Hd},{provide:Id,useValue:e.isolate},{provide:sp,useValue:e.useDefaultLang},{provide:Vd,useValue:e.extend},{provide:kd,useValue:e.defaultLanguage},na]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),Na=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[],imports:[[yd,wl,or,On,ei,E.ez]]}),s})();function mw(s,r){}class Bd{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const xT={dialogContainer:Lt("dialogContainer",[st("void, exit",Le({opacity:0,transform:"scale(0.7)"})),st("enter",Le({transform:"none"})),bt("* => enter",ih([xt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),Ks("@*",Js(),{optional:!0})])),bt("* => void, * => exit",ih([xt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),Ks("@*",Js(),{optional:!0})]))])};let _w=(()=>{class s extends Wh{constructor(e,t,o,c,l,n,i,a){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=l,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=a,this._animationStateChanged=new f.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=l.ariaLabelledBy||null,this._document=c}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zu())}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(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),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=zu(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=zu();return e===t||e.contains(t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(K0),f.Y36(f.sBO),f.Y36(E.K0,8),f.Y36(Bd),f.Y36(Ic),f.Y36(f.R0b),f.Y36(qr))},s.\u0275dir=f.lG2({type:s,viewQuery:function(e,t){if(1&e&&f.Gf($h,7),2&e){let o;f.iGM(o=f.CRH())&&(t._portalOutlet=o.first)}},features:[f.qOj]}),s})(),lp=(()=>{class s extends _w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&f.WFA("@dialogContainer.start",function(c){return t._onAnimationStart(c)})("@dialogContainer.done",function(c){return t._onAnimationDone(c)}),2&e&&(f.Ikx("id",t._id),f.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),f.d8E("@dialogContainer",t._state))},features:[f.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&f.YNc(0,mw,0,0,"ng-template",0)},directives:[$h],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:[xT.dialogContainer]}}),s})(),bw=0;class rs{constructor(r,e,t="mat-dialog-"+bw++){this._overlayRef=r,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Fe.x,this._afterClosed=new Fe.x,this._beforeClosed=new Fe.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Mi.h)(o=>"opened"===o.state),(0,hi.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Mi.h)(o=>"closed"===o.state),(0,hi.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),r.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),r.keydownEvents().pipe((0,Mi.h)(o=>27===o.keyCode&&!this.disableClose&&!function Vo(s,...r){return r.length?r.some(e=>s[e]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}(o))).subscribe(o=>{o.preventDefault(),f_(this,"keyboard")}),r.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():f_(this,"mouse")})}close(r){this._result=r,this._containerInstance._animationStateChanged.pipe((0,Mi.h)(e=>"closing"===e.state),(0,hi.q)(1)).subscribe(e=>{this._beforeClosed.next(r),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(r){let e=this._getPositionStrategy();return r&&(r.left||r.right)?r.left?e.left(r.left):e.right(r.right):e.centerHorizontally(),r&&(r.top||r.bottom)?r.top?e.top(r.top):e.bottom(r.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(r="",e=""){return this._overlayRef.updateSize({width:r,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(r){return this._overlayRef.addPanelClass(r),this}removePanelClass(r){return this._overlayRef.removePanelClass(r),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function f_(s,r,e){return void 0!==s._containerInstance&&(s._containerInstance._closeInteractionType=r),s.close(e)}const Cw=new f.OlP("MatDialogData"),cp=new f.OlP("mat-dialog-default-options"),dp=new f.OlP("mat-dialog-scroll-strategy"),up={provide:dp,deps:[Mr],useFactory:function Ld(s){return()=>s.scrollStrategies.block()}};let TT=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=c,this._overlayContainer=l,this._dialogRefConstructor=i,this._dialogContainerType=a,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Fe.x,this._afterOpenedAtThisLevel=new Fe.x,this._ariaHiddenElements=new Map,this.afterAllClosed=lo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe($n(void 0))),this._scrollStrategy=n}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){t=function vw(s,r){return Object.assign(Object.assign({},r),s)}(t,this._defaultOptions||new Bd),t.id&&this.getDialogById(t.id);const o=this._createOverlay(t),c=this._attachDialogContainer(o,t),l=this._attachDialogContent(e,c,o,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe(()=>this._removeOpenDialog(l)),this.afterOpened.next(l),c._initializeWithAttachedContent(),l}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new La({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 c=f.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Bd,useValue:t}]}),l=new qh(this._dialogContainerType,t.viewContainerRef,c,t.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,t,o,c){const l=new this._dialogRefConstructor(o,t,c.id);if(e instanceof f.Rgc)t.attachTemplatePortal(new Em(e,null,{$implicit:c.data,dialogRef:l}));else{const n=this._createInjector(c,l,t),i=t.attachComponentPortal(new qh(e,c.viewContainerRef,n,c.componentFactoryResolver));l.componentInstance=i.instance}return l.updateSize(c.width,c.height).updatePosition(c.position),l}_createInjector(e,t,o){const c=e&&e.viewContainerRef&&e.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!c||!c.get(xa,null,f.XFs.Optional))&&l.push({provide:xa,useValue:{value:e.direction,change:(0,Ue.of)()}}),f.zs3.create({parent:c||this._injector,providers:l})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,c)=>{o?c.setAttribute("aria-hidden",o):c.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 c=t[o];c!==e&&"SCRIPT"!==c.nodeName&&"STYLE"!==c.nodeName&&!c.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(c,c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return s.\u0275fac=function(e){f.$Z()},s.\u0275dir=f.lG2({type:s}),s})(),ra=(()=>{class s extends TT{constructor(e,t,o,c,l,n,i,a){super(e,t,c,n,i,l,rs,lp,Cw,a)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Mr),f.LFG(f.zs3),f.LFG(E.Ye,8),f.LFG(cp,8),f.LFG(dp),f.LFG(s,12),f.LFG(Qe),f.LFG(rn,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),g_=0,pp=(()=>{class s{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+g_++}ngOnInit(){this._dialogRef||(this._dialogRef=function gp(s,r){let e=s.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?r.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(rs,8),f.Y36(f.SBq),f.Y36(ra))},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&f.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),s})(),fp=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),s})(),Fd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),s})(),mp=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[ra,up],imports:[[ml,Oa,Ye],Ye]}),s})();function Nd(){const s=new Bd;return s.disableClose=!0,s.autoFocus=!1,s}x(4327),new Intl.Collator("cs",{numeric:!0});let _i=(()=>{class s{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,o;const c=[null===(o=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===o?void 0:o[this.branding],this.instanceConfig,this.defaultConfig];let l=null;for(const n of c)n&&!l&&(l=n[e]);return l}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let c=0;c{class s{constructor(e,t,o,c,l){this.injector=e,this.store=t,this.dialog=o,this.route=c,this.oauthService=l,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(pi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),c=.5+.25*Math.random(),l=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(l.prompt="consent"),sessionStorage.getItem("mfa_route")&&(l.acr_values="https://refeds.org/profile/mfa",l.prompt="login",l.max_age="0"),"Linker"===this.store.getProperty("application")){l.prompt="login";const n=function Ow(s,r){const e=r.split("&");for(const t of e){const[o,c]=t.split("=");if(o.includes(s))return c}return""}("idphint",location.search.substring(1));n&&(l.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:c,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:l}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(c=>{const l=c.split("=");"idpFilter"===l[0]&&t[l[1]]&&(this.filterShortname=l[1],o=t[l[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(o=>o?this.startRefreshToken():new Promise(c=>c(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Mi.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 c=[];o&&(c=o.split("&"));const l={};return c.forEach(n=>{const i=n.split("=");l[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),l.idpFilter&&(this.filterShortname=String(l.idpFilter)),this.router.navigate([t],{queryParams:l,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Mi.h)(e=>e instanceof ue)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(o=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!o||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((c,l)=>l("Invalid path"))))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.zs3),f.LFG(_i),f.LFG(ra),f.LFG(Ji),f.LFG(za.Ct))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),w_=(()=>{class s{constructor(e){this.dialogRef=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h2",0),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&e&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[fp],pipes:[vn],styles:[""]}),s})(),Rl=(()=>{class s{constructor(e,t,o,c,l,n){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=c,this.dialog=l,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Nd();this.dialog.open(w_,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const o of e){const c=o.split("=");t[c[0]]=c[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Pl),f.LFG(_i),f.LFG($p),f.LFG(Gi),f.LFG(ra),f.LFG(pi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),yp=(()=>{class s{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Sl),f.LFG(Sn))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Fw=(()=>{class s{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"div",1),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div",2),f.TgZ(7,"div",3),f.TgZ(8,"button",4),f.NdJ("click",function(){return t.close()}),f._uU(9),f.ALo(10,"translate"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(1),f.Oqu(f.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),f.xp6(3),f.hij(" ",f.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),f.xp6(5),f.hij(" ",f.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[pp,fp,Fd,ul],pipes:[vn],styles:[""]}),s})(),jw=(()=>{class s{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Il=(()=>{class s{constructor(e){this.translate=e,this.addNotification=new f.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,c,l){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===c&&void 0!==o?this.getDefaultActionMessage():c,delay:this.defaultErrorDelayMs,icon:"error_outline",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,c){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:c,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(na))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),An=(()=>{class s{constructor(e,t,o,c,l,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=c,this.dialog=l,this.initAuthService=n}intercept(e,t){const o=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=Nd();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(Fw,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{I(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const c=this.apiRequestConfiguration.shouldHandleError(),l="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,M.b)(n=>{n instanceof y.Zn&&l&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,Al._)(n):c?void this.notificator.showRPCError(i):(0,Al._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;console.error(e);const c=e.error;if(c.errorId&&(o=c),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Pl),f.LFG(jw),f.LFG(Il),f.LFG(_i),f.LFG(ra),f.LFG(Rl))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Nw=(()=>{class s{constructor(e,t,o,c){this.http=e,this.notificator=t,this.authService=o,this.storeService=c}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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,Yi.K)(c=>this.formatErrors(c,o,null,t)))}put(e,t={},o=!0){const c=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);return this.http.put(c,l,{headers:this.getHeaders()}).pipe((0,Yi.K)(n=>this.formatErrors(n,c,l,o)))}post(e,t={},o=!0){const c=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(c,l,{headers:n}).pipe((0,Yi.K)(i=>this.formatErrors(i,c,l,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,Yi.K)(c=>this.formatErrors(c,o,null,t)))}formatErrors(e,t,o,c){const l=e.error;return l.call=t,l.payload=o,c&&this.notificator.showRPCError(e.error),(0,Al._)(l)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(Il),f.LFG(Pl),f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),zw=(()=>{class s{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),o=navigator.languages.map(n=>n.split("-")[0]),c=location.search.substring(1).split("&");let l=null;for(const n of c){const i=n.split("=");"lang"===i[0]&&(l=i[1])}return l&&t.includes(l)?l:e&&t.includes(e)?e:o&&t.includes(o[0])?o[0]:"en"}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Ji),f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),A_=(()=>{class s{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const o of e)if(o.newApps.admin===t||o.newApps.profile===t||o.newApps.pwdReset===t||o.newApps.consolidator===t||o.newApps.linker===t)return o;return e[0]}getUrlForOtherApplication(e,t){const c=window.location.href.split("/"),l=c[0]+"//"+c[2],n=s.getBrandContainingDomain(this.storeService.getAppsConfig().brands,l);let i;if(n.newApps[e])i=n.newApps[e],"pwdReset"===e&&(i+=`?login-namespace=${t}`);else switch(i=n.oldGuiDomain+"/fed",e){case"admin":i+="/gui/";break;case"profile":i+="/profile/";break;case"pwdReset":i+=`/pwd-reset/?login-namespace=${t}`}return i}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function x_(s,r){1&s&&(f.TgZ(0,"div",5),f.TgZ(1,"span",6),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",7),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",6),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const Uw=function(s,r){return{background:s,color:r}},qT=function(s){return{color:s}};let T_=(()=>{class s{constructor(e,t){this.storeService=e,this.sanitizer=t,this.bgColor=this.storeService.getProperty("theme").nav_bg_color,this.textColor=this.storeService.getProperty("theme").nav_text_color,this.iconColor=this.storeService.getProperty("theme").nav_icon_color,this.isDevel=this.storeService.getProperty("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.getProperty("logo"))}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Sn))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-header"]],decls:7,vars:12,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"div",2),f.qZA(),f.TgZ(3,"p",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,x_,7,0,"div",4),f.qZA()),2&e&&(f.Q6J("ngStyle",f.WLB(7,Uw,t.bgColor,t.textColor)),f.xp6(2),f.Q6J("innerHTML",t.logo,f.oJD),f.xp6(1),f.Q6J("ngStyle",f.VKq(10,qT,t.textColor)),f.xp6(1),f.hij(" ",f.lcZ(5,5,"HEADER.TITLE")," "),f.xp6(2),f.Q6J("ngIf",t.isDevel))},directives:[E.PC,E.O5],pipes:[vn],styles:["#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),s})(),vp=(()=>{class s{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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Qsj),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s}),s})(),Ua=(()=>{class s extends vp{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,features:[f.qOj]}),s})();const Ii=new f.OlP("NgValueAccessor"),wp={provide:Ii,useExisting:(0,f.Gpc)(()=>kl),multi:!0},Gw=new f.OlP("CompositionEventMode");let kl=(()=>{class s extends vp{constructor(e,t,o){super(e,t),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function S_(){const s=(0,E.q)()?(0,E.q)().getUserAgent():"";return/android (\d+)/.test(s.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Qsj),f.Y36(f.SBq),f.Y36(Gw,8))},s.\u0275dir=f.lG2({type:s,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&&f.NdJ("input",function(c){return t._handleInput(c.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(c){return t._compositionEnd(c.target.value)})},features:[f._Bn([wp]),f.qOj]}),s})();function Pr(s){return null==s||0===s.length}function qw(s){return null!=s&&"number"==typeof s.length}const ai=new f.OlP("NgValidators"),Ga=new f.OlP("NgAsyncValidators"),WT=/^(?=.{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 zd{static min(r){return function M_(s){return r=>{if(Pr(r.value)||Pr(s))return null;const e=parseFloat(r.value);return!isNaN(e)&&e{if(Pr(r.value)||Pr(s))return null;const e=parseFloat(r.value);return!isNaN(e)&&e>s?{max:{max:s,actual:r.value}}:null}}(r)}static required(r){return H_(r)}static requiredTrue(r){return function Ww(s){return!0===s.value?null:{required:!0}}(r)}static email(r){return function $w(s){return Pr(s.value)||WT.test(s.value)?null:{email:!0}}(r)}static minLength(r){return function Yw(s){return r=>Pr(r.value)||!qw(r.value)?null:r.value.lengthqw(r.value)&&r.value.length>s?{maxlength:{requiredLength:s,actualLength:r.value.length}}:null}(r)}static pattern(r){return function Jw(s){if(!s)return Ud;let r,e;return"string"==typeof s?(e="","^"!==s.charAt(0)&&(e+="^"),e+=s,"$"!==s.charAt(s.length-1)&&(e+="$"),r=new RegExp(e)):(e=s.toString(),r=s),t=>{if(Pr(t.value))return null;const o=t.value;return r.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(r)}static nullValidator(r){return null}static compose(r){return Gd(r)}static composeAsync(r){return I_(r)}}function H_(s){return Pr(s.value)?{required:!0}:null}function Ud(s){return null}function Vl(s){return null!=s}function P_(s){const r=(0,f.QGY)(s)?(0,Li.D)(s):s;return(0,f.CqO)(r),r}function R_(s){let r={};return s.forEach(e=>{r=null!=e?Object.assign(Object.assign({},r),e):r}),0===Object.keys(r).length?null:r}function Ap(s,r){return r.map(e=>e(s))}function xp(s){return s.map(r=>function qa(s){return!s.validate}(r)?r:e=>r.validate(e))}function Gd(s){if(!s)return null;const r=s.filter(Vl);return 0==r.length?null:function(e){return R_(Ap(e,r))}}function Bl(s){return null!=s?Gd(xp(s)):null}function I_(s){if(!s)return null;const r=s.filter(Vl);return 0==r.length?null:function(e){return wd(Ap(e,r).map(P_)).pipe((0,ft.U)(R_))}}function Ol(s){return null!=s?I_(xp(s)):null}function qd(s,r){return null===s?[r]:Array.isArray(s)?[...s,r]:[s,r]}function Ll(s){return s._rawValidators}function Kw(s){return s._rawAsyncValidators}function k_(s){return s?Array.isArray(s)?s:[s]:[]}function Tp(s,r){return Array.isArray(s)?s.includes(r):s===r}function Zw(s,r){const e=k_(r);return k_(s).forEach(o=>{Tp(e,o)||e.push(o)}),e}function Ep(s,r){return k_(r).filter(e=>!Tp(s,e))}class V_{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(r){this._rawValidators=r||[],this._composedValidatorFn=Bl(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=Ol(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r){this.control&&this.control.reset(r)}hasError(r,e){return!!this.control&&this.control.hasError(r,e)}getError(r,e){return this.control?this.control.getError(r,e):null}}class lr extends V_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ki extends V_{get formDirective(){return null}get path(){return null}}let Sp=(()=>{class s extends class B_{constructor(r){this._cd=r}is(r){var e,t,o;return"submitted"===r?!!(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[r])}}{constructor(e){super(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(lr,2))},s.\u0275dir=f.lG2({type:s,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&f.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:[f.qOj]}),s})();function jl(s,r){j_(s,r),r.valueAccessor.writeValue(s.value),function ZT(s,r){r.valueAccessor.registerOnChange(e=>{s._pendingValue=e,s._pendingChange=!0,s._pendingDirty=!0,"change"===s.updateOn&&sA(s,r)})}(s,r),function XT(s,r){const e=(t,o)=>{r.valueAccessor.writeValue(t),o&&r.viewToModelUpdate(t)};s.registerOnChange(e),r._registerOnDestroy(()=>{s._unregisterOnChange(e)})}(s,r),function oA(s,r){r.valueAccessor.registerOnTouched(()=>{s._pendingTouched=!0,"blur"===s.updateOn&&s._pendingChange&&sA(s,r),"submit"!==s.updateOn&&s.markAsTouched()})}(s,r),function KT(s,r){if(r.valueAccessor.setDisabledState){const e=t=>{r.valueAccessor.setDisabledState(t)};s.registerOnDisabledChange(e),r._registerOnDestroy(()=>{s._unregisterOnDisabledChange(e)})}}(s,r)}function Yd(s,r,e=!0){const t=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(t),r.valueAccessor.registerOnTouched(t)),Pp(s,r),s&&(r._invokeOnDestroyCallbacks(),s._registerOnCollectionChange(()=>{}))}function Hp(s,r){s.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r)})}function j_(s,r){const e=Ll(s);null!==r.validator?s.setValidators(qd(e,r.validator)):"function"==typeof e&&s.setValidators([e]);const t=Kw(s);null!==r.asyncValidator?s.setAsyncValidators(qd(t,r.asyncValidator)):"function"==typeof t&&s.setAsyncValidators([t]);const o=()=>s.updateValueAndValidity();Hp(r._rawValidators,o),Hp(r._rawAsyncValidators,o)}function Pp(s,r){let e=!1;if(null!==s){if(null!==r.validator){const o=Ll(s);if(Array.isArray(o)&&o.length>0){const c=o.filter(l=>l!==r.validator);c.length!==o.length&&(e=!0,s.setValidators(c))}}if(null!==r.asyncValidator){const o=Kw(s);if(Array.isArray(o)&&o.length>0){const c=o.filter(l=>l!==r.asyncValidator);c.length!==o.length&&(e=!0,s.setAsyncValidators(c))}}}const t=()=>{};return Hp(r._rawValidators,t),Hp(r._rawAsyncValidators,t),e}function sA(s,r){s._pendingDirty&&s.markAsDirty(),s.setValue(s._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(s._pendingValue),s._pendingChange=!1}function lA(s,r){j_(s,r)}function C(s,r){s._syncPendingControls(),r.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function w(s,r){const e=s.indexOf(r);e>-1&&s.splice(e,1)}const P="VALID",R="INVALID",L="PENDING",W="DISABLED";function he(s){return(me(s)?s.validators:s)||null}function Ee(s){return Array.isArray(s)?Bl(s):s||null}function He(s,r){return(me(r)?r.asyncValidators:s)||null}function je(s){return Array.isArray(s)?Ol(s):s||null}function me(s){return null!=s&&!Array.isArray(s)&&"object"==typeof s}const $e=s=>s instanceof Jd,pt=s=>s instanceof zl;function zi(s){return $e(s)?s.value:s.getRawValue()}function aa(s,r){const e=pt(s),t=s.controls;if(!(e?Object.keys(t):t).length)throw new f.vHH(1e3,"");if(!t[r])throw new f.vHH(1001,"")}function Qd(s,r){pt(s),s._forEachChild((t,o)=>{if(void 0===r[o])throw new f.vHH(1002,"")})}class Nl{constructor(r,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=r,this._rawAsyncValidators=e,this._composedValidatorFn=Ee(this._rawValidators),this._composedAsyncValidatorFn=je(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get valid(){return this.status===P}get invalid(){return this.status===R}get pending(){return this.status==L}get disabled(){return this.status===W}get enabled(){return this.status!==W}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._rawValidators=r,this._composedValidatorFn=Ee(r)}setAsyncValidators(r){this._rawAsyncValidators=r,this._composedAsyncValidatorFn=je(r)}addValidators(r){this.setValidators(Zw(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(Zw(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(Ep(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(Ep(r,this._rawAsyncValidators))}hasValidator(r){return Tp(this._rawValidators,r)}hasAsyncValidator(r){return Tp(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){this.touched=!0,this._parent&&!r.onlySelf&&this._parent.markAsTouched(r)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(r=>r.markAllAsTouched())}markAsUntouched(r={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}markAsDirty(r={}){this.pristine=!1,this._parent&&!r.onlySelf&&this._parent.markAsDirty(r)}markAsPristine(r={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}markAsPending(r={}){this.status=L,!1!==r.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!r.onlySelf&&this._parent.markAsPending(r)}disable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=W,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},r),{onlySelf:!0}))}),this._updateValue(),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},r),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=P,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},r),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},r),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(r){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(r){this._parent=r}updateValueAndValidity(r={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P||this.status===L)&&this._runAsyncValidator(r.emitEvent)),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(r)}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?W:P}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r){if(this.asyncValidator){this.status=L,this._hasOwnPendingAsyncValidator=!0;const e=P_(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:r})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(!1!==e.emitEvent)}get(r){return function te(s,r,e){if(null==r||(Array.isArray(r)||(r=r.split(e)),Array.isArray(r)&&0===r.length))return null;let t=s;return r.forEach(o=>{t=pt(t)?t.controls.hasOwnProperty(o)?t.controls[o]:null:(s=>s instanceof Rp)(t)&&t.at(o)||null}),t}(this,r,".")}getError(r,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[r]:null}hasError(r,e){return!!this.getError(r,e)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(r)}_initObservables(){this.valueChanges=new f.vpe,this.statusChanges=new f.vpe}_calculateStatus(){return this._allControlsDisabled()?W:this.errors?R:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(L)?L:this._anyControlsHaveStatus(R)?R:P}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r={}){this.pristine=!this._anyControlsDirty(),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}_updateTouched(r={}){this.touched=this._anyControlsTouched(),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}_isBoxedValue(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){me(r)&&null!=r.updateOn&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){return!r&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jd extends Nl{constructor(r=null,e,t){super(he(e),He(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),me(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(r)?r.value:r)}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(r,e={}){this.setValue(r,e)}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){w(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){w(this._onDisabledChange,r)}_forEachChild(r){}_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(r){this._isBoxedValue(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}}class zl extends Nl{constructor(r,e,t){super(he(e),He(t,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(r,e){return this.controls[r]?this.controls[r]:(this.controls[r]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(r,e,t={}){this.registerControl(r,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(r,e,t={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],e&&this.registerControl(r,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,e={}){Qd(this,r),Object.keys(r).forEach(t=>{aa(this,t),this.controls[t].setValue(r[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(Object.keys(r).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(r[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r={},e={}){this._forEachChild((t,o)=>{t.reset(r[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(r,e,t)=>(r[t]=zi(e),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&r(t,e)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&r(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(r,e,t)=>((e.enabled||this.disabled)&&(r[t]=e.value),r))}_reduceChildren(r,e){let t=r;return this._forEachChild((o,c)=>{t=e(t,o,c)}),t}_allControlsDisabled(){for(const r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Rp extends Nl{constructor(r,e,t){super(he(e),He(t,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(r){return this.controls[r]}push(r,e={}){this.controls.push(r),this._registerControl(r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(r,e,t={}){this.controls.splice(r,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(r,e,t={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(r,e={}){Qd(this,r),r.forEach((t,o)=>{aa(this,o),this.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(r.forEach((t,o)=>{this.at(o)&&this.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r=[],e={}){this._forEachChild((t,o)=>{t.reset(r[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(r=>zi(r))}clear(r={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:r.emitEvent}))}_syncPendingControls(){let r=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){this.controls.forEach((e,t)=>{r(e,t)})}_updateValue(){this.value=this.controls.filter(r=>r.enabled||this.disabled).map(r=>r.value)}_anyControls(r){return this.controls.some(e=>e.enabled&&r(e))}_setUpControls(){this._forEachChild(r=>this._registerControl(r))}_allControlsDisabled(){for(const r of this.controls)if(r.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(r){r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)}}const Ip={provide:ki,useExisting:(0,f.Gpc)(()=>$a)},Wa=(()=>Promise.resolve(null))();let $a=(()=>{class s extends ki{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new f.vpe,this.form=new zl({},Bl(e),Ol(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Wa.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),jl(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Wa.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Wa.then(()=>{const t=this._findContainer(e.path),o=new zl({});lA(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Wa.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Wa.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,C(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(ai,10),f.Y36(Ga,10))},s.\u0275dir=f.lG2({type:s,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&f.NdJ("submit",function(c){return t.onSubmit(c)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([Ip]),f.qOj]}),s})();const _M={provide:lr,useExisting:(0,f.Gpc)(()=>cA)},iE=(()=>Promise.resolve(null))();let cA=(()=>{class s extends lr{constructor(e,t,o,c,l){super(),this._changeDetectorRef=l,this.control=new Jd,this._registered=!1,this.update=new f.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=function v(s,r){if(!r)return null;let e,t,o;return Array.isArray(r),r.forEach(c=>{c.constructor===kl?e=c:function _(s){return Object.getPrototypeOf(s.constructor)===Ua}(c)?t=c:o=c}),o||t||e||null}(0,c)}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),function m(s,r){if(!s.hasOwnProperty("model"))return!1;const e=s.model;return!!e.isFirstChange()||!Object.is(r,e.currentValue)}(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(){jl(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){iE.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;iE.then(()=>{var c;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(c=this._changeDetectorRef)||void 0===c||c.markForCheck()})}_getPath(e){return this._parent?function $d(s,r){return[...r.path,s]}(e,this._parent):[e]}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(ki,9),f.Y36(ai,10),f.Y36(Ga,10),f.Y36(Ii,10),f.Y36(f.sBO,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[f._Bn([_M]),f.qOj,f.TTD]}),s})(),rE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();const dA=new f.OlP("NgModelWithFormControlWarning"),xM={provide:ki,useExisting:(0,f.Gpc)(()=>kp)};let kp=(()=>{class s extends ki{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 f.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&&(Pp(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 jl(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Yd(e.control||null,e,!1),w(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,C(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&&(Yd(t||null,e),$e(o)&&(jl(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);lA(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function eE(s,r){return Pp(s,r)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){j_(this.form,this),this._oldForm&&Pp(this._oldForm,this)}_checkFormPresent(){}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(ai,10),f.Y36(Ga,10))},s.\u0275dir=f.lG2({type:s,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&f.NdJ("submit",function(c){return t.onSubmit(c)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([xM]),f.qOj,f.TTD]}),s})(),Ul=(()=>{class s{constructor(){this._validator=Ud}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):Ud,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,features:[f.TTD]}),s})();const OM={provide:ai,useExisting:(0,f.Gpc)(()=>N_),multi:!0};let N_=(()=>{class s extends Ul{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function kM(s){return null!=s&&!1!==s&&"false"!=`${s}`}(e),this.createValidator=e=>H_}enabled(e){return e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&f.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[f._Bn([OM]),f.qOj]}),s})(),yE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[rE]]}),s})(),gA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[yE]}),s})(),Vp=(()=>{class s{static withConfig(e){return{ngModule:s,providers:[{provide:dA,useValue:e.warnOnNgModelWithFormControl}]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[yE]}),s})();const vE=pn({passive:!0});let UM=(()=>{class s{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Di.E;const t=Wt(e),o=this._monitoredElements.get(t);if(o)return o.subject;const c=new Fe.x,l="cdk-text-field-autofilled",n=i=>{"cdk-text-field-autofill-start"!==i.animationName||t.classList.contains(l)?"cdk-text-field-autofill-end"===i.animationName&&t.classList.contains(l)&&(t.classList.remove(l),this._ngZone.run(()=>c.next({target:i.target,isAutofilled:!1}))):(t.classList.add(l),this._ngZone.run(()=>c.next({target:i.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",n,vE),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:c,unlisten:()=>{t.removeEventListener("animationstart",n,vE)}}),c}stopMonitoring(e){const t=Wt(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 s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),wE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();const AE=new f.OlP("MAT_INPUT_VALUE_ACCESSOR"),GM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let qM=0;const WM=em(class{constructor(s,r,e,t){this._defaultErrorStateMatcher=s,this._parentForm=r,this._parentFormGroup=e,this.ngControl=t}});let $M=(()=>{class s extends WM{constructor(e,t,o,c,l,n,i,a,d,u){super(n,c,l,o),this._elementRef=e,this._platform=t,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+qM++,this.focused=!1,this.stateChanges=new Fe.x,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(H=>hC().has(H)),this._iOSKeyupListener=H=>{const U=H.target;!U.value&&0===U.selectionStart&&0===U.selectionEnd&&(U.setSelectionRange(1,1),U.setSelectionRange(0,0))};const g=this._elementRef.nativeElement,b=g.nodeName.toLowerCase();this._inputValueAccessor=i||g,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=g.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=rt(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,c;return null!==(c=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(zd.required))&&void 0!==c&&c}set required(e){this._required=rt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&hC().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=rt(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 c=this._elementRef.nativeElement;this._previousPlaceholder=o,o?c.setAttribute("placeholder",o):c.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){GM.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(fi),f.Y36(lr,10),f.Y36($a,8),f.Y36(kp,8),f.Y36(Er),f.Y36(AE,10),f.Y36(UM),f.Y36(f.R0b),f.Y36(md,8))},s.\u0275dir=f.lG2({type:s,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&&f.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(f.Ikx("disabled",t.disabled)("required",t.required),f.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),f.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:[f._Bn([{provide:Jh,useExisting:s}]),f.qOj,f.TTD]}),s})(),U_=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Er],imports:[[wE,ta,Ye],wE,ta]}),s})();function YM(s,r){1&s&&(f.TgZ(0,"mat-error"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let QM=(()=>{class s{constructor(e,t,o,c,l){this.dialogRef=e,this.translate=t,this.notificator=o,this.rtMessages=c,this.storeService=l,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs),f.Y36(na),f.Y36(Il),f.Y36(Ci),f.Y36(_i))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"div",1),f.TgZ(4,"mat-form-field"),f.TgZ(5,"mat-label"),f._uU(6),f.ALo(7,"translate"),f.qZA(),f.TgZ(8,"input",2,3),f.NdJ("ngModelChange",function(c){return t.subject=c}),f.qZA(),f.YNc(10,YM,3,3,"mat-error",4),f.qZA(),f.TgZ(11,"mat-form-field"),f.TgZ(12,"mat-label"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.TgZ(15,"textarea",5),f.NdJ("ngModelChange",function(c){return t.message=c}),f.ALo(16,"translate"),f._uU(17," "),f.qZA(),f.TgZ(18,"mat-hint"),f._uU(19),f.ALo(20,"translate"),f.qZA(),f.qZA(),f.qZA(),f.TgZ(21,"div",6),f.TgZ(22,"div",7),f.TgZ(23,"button",8),f.NdJ("click",function(){return t.close()}),f._uU(24),f.ALo(25,"translate"),f.qZA(),f.TgZ(26,"button",9),f.NdJ("click",function(){return t.sendBugReport()}),f._uU(27),f.ALo(28,"translate"),f.qZA(),f.qZA(),f.qZA()),2&e){const o=f.MAs(9);f.xp6(1),f.Oqu(f.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),f.xp6(5),f.Oqu(f.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),f.xp6(2),f.Q6J("ngModel",t.subject),f.xp6(2),f.Q6J("ngIf",o.invalid),f.xp6(3),f.Oqu(f.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),f.xp6(2),f.s9C("placeholder",f.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),f.Q6J("ngModel",t.message),f.xp6(4),f.Oqu(f.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),f.xp6(5),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),f.xp6(2),f.Q6J("disabled",o.invalid),f.xp6(1),f.hij(" ",f.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[pp,fp,Ov,Fa,$M,kl,N_,Sp,cA,E.O5,Bx,Um,Fd,ul],pipes:[vn],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),s})(),JM=(()=>{class s{transform(e,t,o){return e[`${o}_${t}`]}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"localisedText",type:s,pure:!0}),s})(),KM=(()=>{class s{transform(e,t){return e["link_"+t]||e.link_en}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"localisedLink",type:s,pure:!0}),s})(),ZM=(()=>{class s{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"footerLogoPath",type:s,pure:!0}),s})();function XM(s,r){if(1&s&&(f.TgZ(0,"a",13),f.ALo(1,"localisedLink"),f._UZ(2,"img",14),f.ALo(3,"footerLogoPath"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("href",f.xi3(1,2,e,t.language),f.LSH),f.xp6(2),f.s9C("src",f.lcZ(3,5,e.logo),f.LSH)}}function eD(s,r){if(1&s&&(f.TgZ(0,"span"),f._UZ(1,"img",14),f.ALo(2,"footerLogoPath"),f.qZA()),2&s){const e=f.oxw().$implicit;f.xp6(1),f.s9C("src",f.lcZ(2,1,e.logo),f.LSH)}}function tD(s,r){if(1&s&&(f.TgZ(0,"div"),f.YNc(1,XM,4,7,"a",11),f.ALo(2,"localisedLink"),f.YNc(3,eD,3,3,"span",12),f.ALo(4,"localisedLink"),f.qZA()),2&s){const e=r.$implicit,t=f.oxw(3);f.xp6(1),f.Q6J("ngIf",f.xi3(2,2,e,t.language)),f.xp6(2),f.Q6J("ngIf",!f.xi3(4,5,e,t.language))}}const iD=function(s){return{"min-height":s}};function nD(s,r){if(1&s&&(f.TgZ(0,"div",10),f.YNc(1,tD,5,8,"div",5),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw();f.Q6J("ngStyle",f.VKq(2,iD,t.columnContentHeight+"px")),f.xp6(1),f.Q6J("ngForOf",e.elements)}}const ss=function(s){return{color:s}};function rD(s,r){if(1&s&&(f.TgZ(0,"i",20),f._uU(1),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(2,ss,t.linksTextColor)),f.xp6(1),f.hij(" ",e.icon," ")}}function aD(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"span",21),f.NdJ("click",function(){f.CHM(e);const o=f.oxw().$implicit;return f.oxw(3).openDialog(o.dialog)}),f._uU(1),f.ALo(2,"localisedText"),f.qZA()}if(2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(6,ss,t.linksTextColor)),f.xp6(1),f.hij("",f.Dn7(2,2,e,t.language,"label")," ")}}function oD(s,r){if(1&s&&(f.TgZ(0,"a",22),f.ALo(1,"localisedLink"),f._uU(2),f.ALo(3,"localisedText"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("href",f.xi3(1,3,e,t.language),f.LSH)("ngStyle",f.VKq(10,ss,t.linksTextColor)),f.xp6(2),f.Oqu(f.Dn7(3,6,e,t.language,"label"))}}function sD(s,r){if(1&s&&(f.TgZ(0,"span",10),f._uU(1),f.ALo(2,"localisedText"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(6,ss,t.linksTextColor)),f.xp6(1),f.Oqu(f.Dn7(2,2,e,t.language,"label"))}}function lD(s,r){if(1&s&&(f.TgZ(0,"div",16),f.YNc(1,rD,2,4,"i",17),f.YNc(2,aD,3,8,"span",18),f.YNc(3,oD,4,12,"a",19),f.ALo(4,"localisedLink"),f.YNc(5,sD,3,8,"span",9),f.ALo(6,"localisedLink"),f.qZA()),2&s){const e=r.$implicit,t=f.oxw(3);f.xp6(1),f.Q6J("ngIf",e.icon),f.xp6(1),f.Q6J("ngIf",e.dialog),f.xp6(1),f.Q6J("ngIf",f.xi3(4,4,e,t.language)&&!e.dialog),f.xp6(2),f.Q6J("ngIf",!f.xi3(6,7,e,t.language)&&!e.dialog)}}const cD=function(s){return{height:s}};function dD(s,r){if(1&s&&(f.TgZ(0,"div",10),f.YNc(1,lD,7,10,"div",15),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw();f.Q6J("ngStyle",f.VKq(2,cD,t.columnContentHeight+"px")),f.xp6(1),f.Q6J("ngForOf",e.elements)}}function uD(s,r){if(1&s&&(f.TgZ(0,"div",7),f.TgZ(1,"h6",8),f._uU(2),f.ALo(3,"localisedText"),f.qZA(),f.YNc(4,nD,2,4,"div",9),f.YNc(5,dD,2,4,"div",9),f.qZA()),2&s){const e=r.$implicit,t=f.oxw();f.ekj("my-auto",t.containsLogos),f.xp6(1),f.Q6J("ngStyle",f.VKq(10,ss,t.headersTextColor)),f.xp6(1),f.hij(" ",f.Dn7(3,6,e,t.language,"title")," "),f.xp6(2),f.Q6J("ngIf",e.logos),f.xp6(1),f.Q6J("ngIf",e.elements&&!e.logos)}}function hD(s,r){if(1&s&&(f.TgZ(0,"span"),f.TgZ(1,"a",6),f._uU(2),f.qZA(),f.qZA()),2&s){const e=r.$implicit,t=r.index,o=f.oxw();f.xp6(1),f.Q6J("href",e.url,f.LSH)("ngStyle",f.VKq(3,ss,o.copyrightTextColor)),f.xp6(1),f.Oqu(t?", "+e.name:e.name)}}const pD=function(s){return{background:s}};let xE=(()=>{class s{constructor(e,t,o){this.storeService=e,this.translateService=t,this.dialog=o,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Nd();"reportIssue"===e&&(t.width="550px",this.dialog.open(QM,t))}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(na),f.Y36(ra))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"footer",0),f.TgZ(1,"div",1),f.YNc(2,uD,6,12,"div",2),f.qZA(),f._UZ(3,"hr",3),f.TgZ(4,"div",4),f._uU(5),f.YNc(6,hD,3,5,"span",5),f._uU(7," Version "),f.TgZ(8,"a",6),f._uU(9),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.Q6J("ngStyle",f.VKq(8,pD,t.bgColor)),f.xp6(2),f.Q6J("ngForOf",t.footerColumns),f.xp6(2),f.Q6J("ngStyle",f.VKq(10,ss,t.copyrightTextColor)),f.xp6(1),f.hij(" \xa9 ",t.currentYear," Copyright: "),f.xp6(1),f.Q6J("ngForOf",t.copyrightItems),f.xp6(2),f.Q6J("href",t.githubRepository,f.LSH)("ngStyle",f.VKq(12,ss,t.copyrightTextColor)),f.xp6(1),f.Oqu(t.version))},directives:[E.PC,E.sg,E.O5],pipes:[JM,KM,ZM],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}"]}),s})();function fD(s,r){if(1&s&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("innerHTML",e.logo,f.oJD)}}function gD(s,r){if(1&s&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("innerHTML",e.logo,f.oJD)}}const mD=function(s){return{color:s}};function _D(s,r){if(1&s&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.Q6J("ngStyle",f.VKq(2,mD,e.textColor)),f.xp6(1),f.hij(" ",e.headerTitle," ")}}const bD=function(s,r){return{background:s,color:r}},CD=function(s,r){return{"min-height":s,"background-color":r}};let yD=(()=>{class s{constructor(e,t,o,c){this.storeService=e,this.sanitizer=t,this.preferredLangService=o,this.translateService=c,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 s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Sn),f.Y36(zw),f.Y36(na))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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&&(f.TgZ(0,"div",0),f.YNc(1,fD,2,1,"div",1),f.YNc(2,gD,3,1,"div",2),f.YNc(3,_D,2,4,"p",3),f.qZA(),f.TgZ(4,"div",4),f.TgZ(5,"div",5),f.TgZ(6,"div",6),f._UZ(7,"router-outlet"),f.qZA(),f.TgZ(8,"div",7),f._UZ(9,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.Q6J("ngStyle",f.WLB(5,bD,t.headerBackgroundColor,t.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),f.xp6(1),f.Q6J("ngIf","publications"===t.application),f.xp6(1),f.Q6J("ngIf",!!t.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(8,CD,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[E.PC,E.O5,Hr,Is,xE],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),s})();const vD=function(s){return{"background-color":s}};function wD(s,r){if(1&s&&(f.TgZ(0,"div"),f._UZ(1,"perun-web-apps-header",1),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._UZ(4,"router-outlet"),f.qZA(),f.TgZ(5,"div",4),f._UZ(6,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&s){const e=f.oxw();f.xp6(2),f.Q6J("ngStyle",f.VKq(1,vD,e.contentBackgroundColor))}}function AD(s,r){1&s&&(f.TgZ(0,"div"),f._UZ(1,"perun-web-apps-login-screen-base",5),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Q6J("application","consolidator")("headerTitle",f.lcZ(2,2,"HEADER.TITLE")))}let xD=(()=>{class s{constructor(e,t){this.store=e,this.initAuth=t,this.contentBackgroundColor=this.store.getProperty("theme").content_bg_color,this.isLoginScreenShow=this.initAuth.isLoginScreenShown()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-root"]],decls:2,vars:2,consts:[[4,"ngIf"],["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application","headerTitle"]],template:function(e,t){1&e&&(f.YNc(0,wD,7,3,"div",0),f.YNc(1,AD,3,4,"div",0)),2&e&&(f.Q6J("ngIf",!t.isLoginScreenShow),f.xp6(1),f.Q6J("ngIf",t.isLoginScreenShow))},directives:[E.O5,T_,E.PC,Is,xE,yD],pipes:[vn],styles:["#content-inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;padding-top:64px;justify-content:space-between}#content-wrap[_ngcontent-%COMP%]{padding:25px}#footer[_ngcontent-%COMP%]{bottom:0;width:100%}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}"]}),s})(),SE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),G_=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye,zr,SE],Ye,SE]}),s})();function q_(s){return s&&"function"==typeof s.connect}class ME{applyChanges(r,e,t,o,c){r.forEachOperation((l,n,i)=>{let a,d;if(null==l.previousIndex){const u=t(l,n,i);a=e.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else null==i?(e.remove(n),d=3):(a=e.get(n),e.move(a,i),d=2);c&&c({context:null==a?void 0:a.context,operation:d,record:l})})}detach(){}}const Bp=new f.OlP("_ViewRepeater"),LD=[[["caption"]],[["colgroup"],["col"]]],FD=["caption","colgroup, col"];function _A(s){return class extends s{constructor(...r){super(...r),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(r){const e=this._sticky;this._sticky=rt(r),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const r=this._hasStickyChanged;return this._hasStickyChanged=!1,r}resetStickyChanged(){this._hasStickyChanged=!1}}}const Zd=new f.OlP("CDK_TABLE");let Xd=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkCellDef",""]]}),s})(),eu=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkHeaderCellDef",""]]}),s})(),W_=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkFooterCellDef",""]]}),s})();class UD{}const GD=_A(UD);let Ya=(()=>{class s extends GD{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=rt(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,o){if(1&e&&(f.Suo(o,Xd,5),f.Suo(o,eu,5),f.Suo(o,W_,5)),2&e){let c;f.iGM(c=f.CRH())&&(t.cell=c.first),f.iGM(c=f.CRH())&&(t.headerCell=c.first),f.iGM(c=f.CRH())&&(t.footerCell=c.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[f._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:s}]),f.qOj]}),s})();class bA{constructor(r,e){e.nativeElement.classList.add(...r._columnCssClassName)}}let CA=(()=>{class s extends bA{constructor(e,t){super(e,t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ya),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[f.qOj]}),s})(),yA=(()=>{class s extends bA{constructor(e,t){var o;if(super(e,t),1===(null===(o=e._table)||void 0===o?void 0:o._elementRef.nativeElement.nodeType)){const c=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===c||"treegrid"===c?"gridcell":"cell")}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ya),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[f.qOj]}),s})();class PE{constructor(){this.tasks=[],this.endTasks=[]}}const vA=new f.OlP("_COALESCED_STYLE_SCHEDULER");let RE=(()=>{class s{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Fe.x}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 PE,this._getScheduleObservable().pipe(Gt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new PE;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Li.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,hi.q)(1))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),wA=(()=>{class s{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 Op?e.headerCell.template:this instanceof Lp?e.footerCell.template:e.cell.template}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4))},s.\u0275dir=f.lG2({type:s,features:[f.TTD]}),s})();class qD extends wA{}const WD=_A(qD);let Op=(()=>{class s extends WD{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[f.qOj,f.TTD]}),s})();class $D extends wA{}const YD=_A($D);let Lp=(()=>{class s extends YD{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[f.qOj,f.TTD]}),s})(),$_=(()=>{class s extends wA{constructor(e,t,o){super(e,t),this._table=o}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[f.qOj]}),s})(),Qa=(()=>{class s{constructor(e){this._viewContainer=e,s.mostRecentCellOutlet=this}ngOnDestroy(){s.mostRecentCellOutlet===this&&(s.mostRecentCellOutlet=null)}}return s.mostRecentCellOutlet=null,s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkCellOutlet",""]]}),s})(),TA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&f.GkF(0,0)},directives:[Qa],encapsulation:2}),s})(),Y_=(()=>{class s{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["ng-template","cdkNoDataRow",""]]}),s})();const IE=["top","bottom","left","right"];class QD{constructor(r,e,t,o,c=!0,l=!0,n){this._isNativeHtmlTable=r,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=c,this._needsPositionStickyOnElement=l,this._positionListener=n,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(r,e){const t=[];for(const o of r)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let c=0;c{for(const o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(r,e,t,o=!0){if(!r.length||!this._isBrowser||!e.some(g=>g)&&!t.some(g=>g))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const c=r[0],l=c.children.length,n=this._getCellWidths(c,o),i=this._getStickyStartColumnPositions(n,e),a=this._getStickyEndColumnPositions(n,t),d=e.lastIndexOf(!0),u=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const g="rtl"===this.direction,b=g?"right":"left",H=g?"left":"right";for(const U of r)for(let oe=0;oee[oe]?U:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:n.slice(u).map((U,oe)=>t[oe+u]?U:null).reverse()}))})}stickRows(r,e,t){if(!this._isBrowser)return;const o="bottom"===t?r.slice().reverse():r,c="bottom"===t?e.slice().reverse():e,l=[],n=[],i=[];for(let d=0,u=0;d{var d,u;for(let g=0;g{e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(r,e){for(const o of e)r.style[o]="",r.classList.remove(this._borderCellCss[o]);IE.some(o=>-1===e.indexOf(o)&&r.style[o])?r.style.zIndex=this._getCalculatedZIndex(r):(r.style.zIndex="",this._needsPositionStickyOnElement&&(r.style.position=""),r.classList.remove(this._stickCellCss))}_addStickyStyle(r,e,t,o){r.classList.add(this._stickCellCss),o&&r.classList.add(this._borderCellCss[e]),r.style[e]=`${t}px`,r.style.zIndex=this._getCalculatedZIndex(r),this._needsPositionStickyOnElement&&(r.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(r){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const o of IE)r.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(r,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],o=r.children;for(let c=0;c0;c--)e[c]&&(t[c]=o,o+=r[c]);return t}}const EA=new f.OlP("CDK_SPL");let Q_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","rowOutlet",""]]}),s})(),J_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","headerRowOutlet",""]]}),s})(),K_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","footerRowOutlet",""]]}),s})(),Z_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","noDataRowOutlet",""]]}),s})(),X_=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u,g,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=o,this._dir=l,this._platform=i,this._viewRepeater=a,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=g,this._ngZone=b,this._onDestroy=new Fe.x,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 f.vpe,this.viewChange=new di({start:0,end:Number.MAX_VALUE}),c||this._elementRef.nativeElement.setAttribute("role","table"),this._document=n,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=rt(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=rt(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(Gt(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(),q_(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,(o,c,l)=>this._getEmbeddedViewArgs(o.item,l),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{t.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&f.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,hi.q)(1),Gt(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),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const c=this._headerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,c,"top"),this._headerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const c=this._footerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,c,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,c),this._footerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((c,l)=>{this._addStickyColumnStyles([c],this._headerRowDefs[l])}),this._rowDefs.forEach(c=>{const l=[];for(let n=0;n{this._addStickyColumnStyles([c],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(c=>c.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const n=o&&o.has(l)?o.get(l):[];if(n.length){const i=n.shift();return i.dataIndex=t,i}return{data:e,rowDef:l,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),eb(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=eb(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=eb(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=eb(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(l,n)=>l||!!n.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const c=this._footerRowDefs.reduce(e,!1);return c&&this._forceRenderFooterRows(),t||o||c}_switchDataSource(e){this._data=[],q_(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;q_(this.dataSource)?e=this.dataSource.connect(this):sr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ue.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(Gt(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 o=Array.from(t.columns||[]).map(n=>this._columnDefsByName.get(n)),c=o.map(n=>n.sticky),l=o.map(n=>n.stickyEnd);this._stickyStyler.updateStickyColumns(e,c,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let o=0;o!c.when||c.when(t,e));else{let c=this._rowDefs.find(l=>l.when&&l.when(t,e))||this._defaultRowDef;c&&o.push(c)}return o}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,o,c={}){const l=e.viewContainer.createEmbeddedView(t.template,c,o);return this._renderCellTemplateForItem(t,c),l}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))Qa.mostRecentCellOutlet&&Qa.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{const o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)}):[]}_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 o of t){const c=this._document.createElement(o.tag);c.setAttribute("role","rowgroup");for(const l of o.outlets)c.appendChild(l.elementRef.nativeElement);e.appendChild(c)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,o)=>t||o.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 QD(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,Ue.of)()).pipe(Gt(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 o=this._noDataRowOutlet.viewContainer;if(t){const c=o.createEmbeddedView(e.templateRef),l=c.rootNodes[0];1===c.rootNodes.length&&(null==l?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.ZZ4),f.Y36(f.sBO),f.Y36(f.SBq),f.$8M("role"),f.Y36(xa,8),f.Y36(E.K0),f.Y36(fi),f.Y36(Bp),f.Y36(vA),f.Y36(es),f.Y36(EA,12),f.Y36(f.R0b,8))},s.\u0275cmp=f.Xpm({type:s,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,o){if(1&e&&(f.Suo(o,Y_,5),f.Suo(o,Ya,5),f.Suo(o,$_,5),f.Suo(o,Op,5),f.Suo(o,Lp,5)),2&e){let c;f.iGM(c=f.CRH())&&(t._noDataRow=c.first),f.iGM(c=f.CRH())&&(t._contentColumnDefs=c),f.iGM(c=f.CRH())&&(t._contentRowDefs=c),f.iGM(c=f.CRH())&&(t._contentHeaderRowDefs=c),f.iGM(c=f.CRH())&&(t._contentFooterRowDefs=c)}},viewQuery:function(e,t){if(1&e&&(f.Gf(Q_,7),f.Gf(J_,7),f.Gf(K_,7),f.Gf(Z_,7)),2&e){let o;f.iGM(o=f.CRH())&&(t._rowOutlet=o.first),f.iGM(o=f.CRH())&&(t._headerRowOutlet=o.first),f.iGM(o=f.CRH())&&(t._footerRowOutlet=o.first),f.iGM(o=f.CRH())&&(t._noDataRowOutlet=o.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[f._Bn([{provide:Zd,useExisting:s},{provide:Bp,useClass:ME},{provide:vA,useClass:RE},{provide:EA,useValue:null}])],ngContentSelectors:FD,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(f.F$t(LD),f.Hsn(0),f.Hsn(1,1),f.GkF(2,0),f.GkF(3,1),f.GkF(4,2),f.GkF(5,3))},directives:[J_,Q_,Z_,K_],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),s})();function eb(s,r){return s.concat(Array.from(r))}let KD=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[ts]]}),s})();const ZD=[[["caption"]],[["colgroup"],["col"]]],XD=["caption","colgroup, col"];let VE=(()=>{class s extends X_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[f._Bn([{provide:Bp,useClass:ME},{provide:X_,useExisting:s},{provide:Zd,useExisting:s},{provide:vA,useClass:RE},{provide:EA,useValue:null}]),f.qOj],ngContentSelectors:XD,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(f.F$t(ZD),f.Hsn(0),f.Hsn(1,1),f.GkF(2,0),f.GkF(3,1),f.GkF(4,2),f.GkF(5,3))},directives:[J_,Q_,Z_,K_],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),s})(),SA=(()=>{class s extends Xd{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matCellDef",""]],features:[f._Bn([{provide:Xd,useExisting:s}]),f.qOj]}),s})(),MA=(()=>{class s extends eu{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matHeaderCellDef",""]],features:[f._Bn([{provide:eu,useExisting:s}]),f.qOj]}),s})(),DA=(()=>{class s extends Ya{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[f._Bn([{provide:Ya,useExisting:s},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:s}]),f.qOj]}),s})(),HA=(()=>{class s extends CA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[f.qOj]}),s})(),PA=(()=>{class s extends yA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[f.qOj]}),s})(),BE=(()=>{class s extends $_{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[f._Bn([{provide:$_,useExisting:s}]),f.qOj]}),s})(),OE=(()=>{class s extends TA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[f._Bn([{provide:TA,useExisting:s}]),f.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&f.GkF(0,0)},directives:[Qa],encapsulation:2}),s})(),tb=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[KD,Ye],Ye]}),s})();class RA extends class hH extends class BD{}{constructor(r=[]){super(),this._renderData=new di([]),this._filter=new di(""),this._internalPageChanges=new Fe.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const o=e[t];if(Yu(o)){const c=Number(o);return c<9007199254740991?c:o}return o},this.sortData=(e,t)=>{const o=t.active,c=t.direction;return o&&""!=c?e.sort((l,n)=>{let i=this.sortingDataAccessor(l,o),a=this.sortingDataAccessor(n,o);const d=typeof i,u=typeof a;d!==u&&("number"===d&&(i+=""),"number"===u&&(a+=""));let g=0;return null!=i&&null!=a?i>a?g=1:i{const o=Object.keys(e).reduce((l,n)=>l+e[n]+"\u25ec","").toLowerCase(),c=t.trim().toLowerCase();return-1!=o.indexOf(c)},this._data=new di(r),this._updateChangeSubscription()}get data(){return this._data.value}set data(r){r=Array.isArray(r)?r:[],this._data.next(r),this._renderChangesSubscription||this._filterData(r)}get filter(){return this._filter.value}set filter(r){this._filter.next(r),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(r){this._sort=r,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(r){this._paginator=r,this._updateChangeSubscription()}_updateChangeSubscription(){var r;const e=this._sort?(0,rr.T)(this._sort.sortChange,this._sort.initialized):(0,Ue.of)(null),t=this._paginator?(0,rr.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ue.of)(null),c=(0,_s.a)([this._data,this._filter]).pipe((0,ft.U)(([i])=>this._filterData(i))),l=(0,_s.a)([c,e]).pipe((0,ft.U)(([i])=>this._orderData(i))),n=(0,_s.a)([l,t]).pipe((0,ft.U)(([i])=>this._pageData(i)));null===(r=this._renderChangesSubscription)||void 0===r||r.unsubscribe(),this._renderChangesSubscription=n.subscribe(i=>this._renderData.next(i))}_filterData(r){return this.filteredData=null==this.filter||""===this.filter?r:r.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(r){return this.sort?this.sortData(r.slice(),this.sort):r}_pageData(r){if(!this.paginator)return r;const e=this.paginator.pageIndex*this.paginator.pageSize;return r.slice(e,e+this.paginator.pageSize)}_updatePaginator(r){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=r,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,t);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var r;null===(r=this._renderChangesSubscription)||void 0===r||r.unsubscribe(),this._renderChangesSubscription=null}}{}let IA=(()=>{class s{constructor(){this.changes=new Fe.x}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const fH={provide:IA,deps:[[new f.FiY,new f.tp0,IA]],useFactory:function pH(s){return s||new IA}};let kA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[fH],imports:[[E.ez,Ye]]}),s})();function gH(s,r){if(1&s&&(f.O4$(),f._UZ(0,"circle",4)),2&s){const e=f.oxw(),t=f.MAs(1);f.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)),f.uIk("r",e._getCircleRadius())}}function mH(s,r){if(1&s&&(f.O4$(),f._UZ(0,"circle",4)),2&s){const e=f.oxw(),t=f.MAs(1);f.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),f.uIk("r",e._getCircleRadius())}}const bH=Va(class{constructor(s){this._elementRef=s}},"primary"),CH=new f.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function yH(){return{diameter:100}}});class oa extends bH{constructor(r,e,t,o,c,l,n,i){super(r),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=ui.w0.EMPTY,this.mode="determinate";const a=oa._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),a.has(t.head)||a.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!c&&!c._forceAnimations,"mat-spinner"===r.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),c&&(c.diameter&&(this.diameter=c.diameter),c.strokeWidth&&(this.strokeWidth=c.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&l&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>l.markForCheck())}))}get diameter(){return this._diameter}set diameter(r){this._diameter=Ar(r),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(r){this._strokeWidth=Ar(r)}get value(){return"determinate"===this.mode?this._value:0}set value(r){this._value=Math.max(0,Math.min(100,Ar(r)))}ngOnInit(){const r=this._elementRef.nativeElement;this._styleRoot=xc(r)||this._document.head,this._attachStyleNode(),r.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const r=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${r} ${r}`}_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(r){var e;const t=50*(null!==(e=r.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const r=this._styleRoot,e=this._diameter,t=oa._diameters;let o=t.get(r);if(!o||!o.has(e)){const c=this._document.createElement("style");c.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),c.textContent=this._getAnimationText(),r.appendChild(c),o||(o=new Set,t.set(r,o)),o.add(e)}}_getAnimationText(){const r=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*r).replace(/END_VALUE/g,""+.2*r).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}oa._diameters=new WeakMap,oa.\u0275fac=function(r){return new(r||oa)(f.Y36(f.SBq),f.Y36(fi),f.Y36(E.K0,8),f.Y36(rn,8),f.Y36(CH),f.Y36(f.sBO),f.Y36(es),f.Y36(f.R0b))},oa.\u0275cmp=f.Xpm({type:oa,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(r,e){2&r&&(f.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),f.Udp("width",e.diameter,"px")("height",e.diameter,"px"),f.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[f.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(r,e){1&r&&(f.O4$(),f.TgZ(0,"svg",0,1),f.YNc(2,gH,1,11,"circle",2),f.YNc(3,mH,1,9,"circle",3),f.qZA()),2&r&&(f.Udp("width",e.diameter,"px")("height",e.diameter,"px"),f.Q6J("ngSwitch","indeterminate"===e.mode),f.uIk("viewBox",e._getViewBox()),f.xp6(2),f.Q6J("ngSwitchCase",!0),f.xp6(1),f.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 ib=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye,E.ez],Ye]}),s})(),BA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[or,E.ez]]}),s})();const NE=new f.OlP("mat-chips-default-options");let LA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Er,{provide:NE,useValue:{separatorKeyCodes:[13]}}],imports:[[Ye]]}),s})();function FA(s,r,e){for(let t in r)if(r.hasOwnProperty(t)){const o=r[t];o?s.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):s.removeProperty(t)}return s}function tu(s,r){const e=r?"":"none";FA(s.style,{"touch-action":r?"":"none","-webkit-user-drag":r?"":"none","-webkit-tap-highlight-color":r?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function zE(s,r,e){FA(s.style,{position:r?"":"fixed",top:r?"":"0",opacity:r?"":"0",left:r?"":"-999em"},e)}function nb(s,r){return r&&"none"!=r?s+" "+r:s}function UE(s){const r=s.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(s)*r}function jA(s,r){return s.getPropertyValue(r).split(",").map(t=>t.trim())}function NA(s){const r=s.getBoundingClientRect();return{top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height,x:r.x,y:r.y}}function zA(s,r,e){const{top:t,bottom:o,left:c,right:l}=s;return e>=t&&e<=o&&r>=c&&r<=l}function Fp(s,r,e){s.top+=r,s.bottom=s.top+s.height,s.left+=e,s.right=s.left+s.width}function GE(s,r,e,t){const{top:o,right:c,bottom:l,left:n,width:i,height:a}=s,d=i*r,u=a*r;return t>o-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:NA(e)})})}handleScroll(r){const e=fn(r),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let c,l;if(e===this._document){const a=this.getViewportScrollPosition();c=a.top,l=a.left}else c=e.scrollTop,l=e.scrollLeft;const n=o.top-c,i=o.left-l;return this.positions.forEach((a,d)=>{a.clientRect&&e!==d&&e.contains(d)&&Fp(a.clientRect,n,i)}),o.top=c,o.left=l,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function WE(s){const r=s.cloneNode(!0),e=r.querySelectorAll("[id]"),t=s.nodeName.toLowerCase();r.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),H=this._dropContainer;if(!b)return void this._endDragSequence(n);(!H||!H.isDragging()&&!H.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const a=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(a),this._dropContainer)this._updateActiveDropContainer(a,i);else{const d=this._activeTransform;d.x=a.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=a.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:a,event:n,distance:this._getDragDistance(a),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(r).withParent(e.parentDragRef||null),this._parentPositions=new qE(t),l.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(r){const e=rt(r);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>tu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(r){this._handles=r.map(t=>Wt(t)),this._handles.forEach(t=>tu(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(r){return this._previewTemplate=r,this}withPlaceholderTemplate(r){return this._placeholderTemplate=r,this}withRootElement(r){const e=Wt(r);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,rb),e.addEventListener("touchstart",this._pointerDown,JE),e.addEventListener("dragstart",this._nativeDragStart,rb)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(r){return this._boundaryElement=r?Wt(r):null,this._resizeSubscription.unsubscribe(),r&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(r){return this._parentDragRef=r,this}dispose(){var r,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(r=this._rootElement)||void 0===r||r.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(r){!this._disabledHandles.has(r)&&this._handles.indexOf(r)>-1&&(this._disabledHandles.add(r),tu(r,!0))}enableHandle(r){this._disabledHandles.has(r)&&(this._disabledHandles.delete(r),tu(r,this.disabled))}withDirection(r){return this._direction=r,this}_withDropContainer(r){this._dropContainer=r}getFreeDragPosition(){const r=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:r.x,y:r.y}}setFreeDragPosition(r){return this._activeTransform={x:0,y:0},this._passiveTransform.x=r.x,this._passiveTransform.y=r.y,this._dropContainer||this._applyRootElementTransform(r.x,r.y),this}withPreviewContainer(r){return this._previewContainer=r,this}_sortFromLastPointerPosition(){const r=this._lastKnownPointerPosition;r&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(r),r)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var r,e;null===(r=this._preview)||void 0===r||r.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var r,e;null===(r=this._placeholder)||void 0===r||r.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(r){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(r),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(r);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(r){jp(r)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,c=this._placeholder=this._createPlaceholderElement(),l=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();o.insertBefore(l,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),zE(t,!1,UA),this._document.body.appendChild(o.replaceChild(c,t)),this._getPreviewInsertionPoint(o,n).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(r,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=jp(e),c=!o&&0!==e.button,l=this._rootElement,n=fn(e),i=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),a=o?og(e):ag(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||c||i||a)return;if(this._handles.length){const g=l.style;this._rootElementTapHighlight=g.webkitTapHighlightColor||"",g.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(g=>this._updateOnScroll(g)),this._boundaryElement&&(this._boundaryRect=NA(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(r,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(r){zE(this._rootElement,!0,UA),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(r),c=this._getDragDistance(o),l=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:c,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:l,distance:c,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,l,c,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:r,y:e},{x:t,y:o}){let c=this._initialContainer._getSiblingContainerFromPosition(this,r,e);!c&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(r,e)&&(c=this._initialContainer),c&&c!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=c,this._dropContainer.enter(this,r,e,c===this._initialContainer&&c.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:c,currentIndex:c.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,r,e,this._pointerDirectionDelta),this._applyPreviewTransform(r-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const r=this._previewTemplate,e=this.previewClass,t=r?r.template:null;let o;if(t&&r){const c=r.matchSize?this._rootElement.getBoundingClientRect():null,l=r.viewContainer.createEmbeddedView(t,r.context);l.detectChanges(),o=ZE(l,this._document),this._previewRef=l,r.matchSize?XE(o,c):o.style.transform=ab(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const c=this._rootElement;o=WE(c),XE(o,c.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return FA(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},UA),tu(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(c=>o.classList.add(c)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const r=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(r.left,r.top);const e=function VH(s){const r=getComputedStyle(s),e=jA(r,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const o=e.indexOf(t),c=jA(r,"transition-duration"),l=jA(r,"transition-delay");return UE(c[o])+UE(l[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=l=>{var n;(!l||fn(l)===this._preview&&"transform"===l.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",o),t(),clearTimeout(c))},c=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const r=this._placeholderTemplate,e=r?r.template:null;let t;return e?(this._placeholderRef=r.viewContainer.createEmbeddedView(e,r.context),this._placeholderRef.detectChanges(),t=ZE(this._placeholderRef,this._document)):t=WE(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(r,e){const t=this._rootElement.getBoundingClientRect(),o=r===this._rootElement?null:r,c=o?o.getBoundingClientRect():t,l=jp(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:c.left-t.left+(l.pageX-c.left-n.left),y:c.top-t.top+(l.pageY-c.top-n.top)}}_getPointerPositionOnPage(r){const e=this._getViewportScrollPosition(),t=jp(r)?r.touches[0]||r.changedTouches[0]||{pageX:0,pageY:0}:r,o=t.pageX-e.left,c=t.pageY-e.top;if(this._ownerSVGElement){const l=this._ownerSVGElement.getScreenCTM();if(l){const n=this._ownerSVGElement.createSVGPoint();return n.x=o,n.y=c,n.matrixTransform(l.inverse())}}return{x:o,y:c}}_getConstrainedPointerPosition(r){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(r,this):r;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:c,y:l}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:a}=this._getPreviewRect(),d=n.top+l,u=n.bottom-(a-l);t=KE(t,n.left+c,n.right-(i-c)),o=KE(o,d,u)}return{x:t,y:o}}_updatePointerDirectionDelta(r){const{x:e,y:t}=r,o=this._pointerDirectionDelta,c=this._pointerPositionAtLastDirectionChange,l=Math.abs(e-c.x),n=Math.abs(t-c.y);return l>this._config.pointerDirectionChangeThreshold&&(o.x=e>c.x?1:-1,c.x=e),n>this._config.pointerDirectionChangeThreshold&&(o.y=t>c.y?1:-1,c.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const r=this._handles.length>0||!this.isDragging();r!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=r,tu(this._rootElement,r))}_removeRootElementListeners(r){r.removeEventListener("mousedown",this._pointerDown,rb),r.removeEventListener("touchstart",this._pointerDown,JE),r.removeEventListener("dragstart",this._nativeDragStart,rb)}_applyRootElementTransform(r,e){const t=ab(r,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=nb(t,this._initialTransform)}_applyPreviewTransform(r,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,c=ab(r,e);this._preview.style.transform=nb(c,o)}_getDragDistance(r){const e=this._pickupPositionOnPage;return e?{x:r.x-e.x,y:r.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:r,y:e}=this._passiveTransform;if(0===r&&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 c=t.left-o.left,l=o.right-t.right,n=t.top-o.top,i=o.bottom-t.bottom;t.width>o.width?(c>0&&(r+=c),l>0&&(r-=l)):r=0,t.height>o.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(r!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:r})}_getDragStartDelay(r){const e=this.dragStartDelay;return"number"==typeof e?e:jp(r)?e.touch:e?e.mouse:0}_updateOnScroll(r){const e=this._parentPositions.handleScroll(r);if(e){const t=fn(r);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&Fp(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(){var r;return(null===(r=this._parentPositions.positions.get(this._document))||void 0===r?void 0:r.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=xc(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(r,e){const t=this._previewContainer||"global";if("parent"===t)return r;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return Wt(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(r){return this._handles.find(e=>r.target&&(r.target===e||e.contains(r.target)))}}function ab(s,r){return`translate3d(${Math.round(s)}px, ${Math.round(r)}px, 0)`}function KE(s,r,e){return Math.max(r,Math.min(e,s))}function jp(s){return"t"===s.type[0]}function ZE(s,r){const e=s.rootNodes;if(1===e.length&&e[0].nodeType===r.ELEMENT_NODE)return e[0];const t=r.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function XE(s,r){s.style.width=`${r.width}px`,s.style.height=`${r.height}px`,s.style.transform=ab(r.left,r.top)}function Np(s,r){return Math.max(0,Math.min(r,s))}class jH{constructor(r,e,t,o,c){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=c,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Fe.x,this.entered=new Fe.x,this.exited=new Fe.x,this.dropped=new Fe.x,this.sorted=new Fe.x,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=ui.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Fe.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function kH(s=0,r=Xo.z){return s<0&&(s=0),(0,Nh.H)(s,s,r)}(0,dd).pipe(Gt(this._stopScrollTimers)).subscribe(()=>{const l=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?l.scrollBy(0,-n):2===this._verticalScrollDirection&&l.scrollBy(0,n),1===this._horizontalScrollDirection?l.scrollBy(-n,0):2===this._horizontalScrollDirection&&l.scrollBy(n,0)})},this.element=Wt(r),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new qE(t)}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(r,e,t,o){let c;this._draggingStarted(),null==o?(c=this.sortingDisabled?this._draggables.indexOf(r):-1,-1===c&&(c=this._getItemIndexFromPointerPosition(r,e,t))):c=o;const l=this._activeDraggables,n=l.indexOf(r),i=r.getPlaceholderElement();let a=l[c];if(a===r&&(a=l[c+1]),!a&&(null==c||-1===c||c-1&&l.splice(n,1),a&&!this._dragDropRegistry.isDragging(a)){const d=a.getRootElement();d.parentElement.insertBefore(i,d),l.splice(c,0,r)}else Wt(this.element).appendChild(i),l.push(r);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:r,container:this,currentIndex:this.getItemIndex(r)})}exit(r){this._reset(),this.exited.next({item:r,container:this})}drop(r,e,t,o,c,l,n){this._reset(),this.dropped.next({item:r,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:c,distance:l,dropPoint:n})}withItems(r){const e=this._draggables;return this._draggables=r,r.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===r.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(r){return this._direction=r,this}connectedTo(r){return this._siblings=r.slice(),this}withOrientation(r){return this._orientation=r,this}withScrollableParents(r){const e=Wt(this.element);return this._scrollableElements=-1===r.indexOf(e)?[e,...r]:r.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(r){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===r):this._draggables.indexOf(r)}isReceiving(){return this._activeSiblings.size>0}_sortItem(r,e,t,o){if(this.sortingDisabled||!this._clientRect||!GE(this._clientRect,.05,e,t))return;const c=this._itemPositions,l=this._getItemIndexFromPointerPosition(r,e,t,o);if(-1===l&&c.length>0)return;const n="horizontal"===this._orientation,i=c.findIndex(oe=>oe.drag===r),a=c[l],u=a.clientRect,g=i>l?1:-1,b=this._getItemOffsetPx(c[i].clientRect,u,g),H=this._getSiblingOffsetPx(i,c,g),U=c.slice();(function FH(s,r,e){const t=Np(r,s.length-1),o=Np(e,s.length-1);if(t===o)return;const c=s[t],l=o{if(U[Be]===oe)return;const lt=oe.drag===r,et=lt?b:H,wt=lt?r.getPlaceholderElement():oe.drag.getRootElement();oe.offset+=et,n?(wt.style.transform=nb(`translate3d(${Math.round(oe.offset)}px, 0, 0)`,oe.initialTransform),Fp(oe.clientRect,0,et)):(wt.style.transform=nb(`translate3d(0, ${Math.round(oe.offset)}px, 0)`,oe.initialTransform),Fp(oe.clientRect,et,0))}),this._previousSwap.overlaps=zA(u,e,t),this._previousSwap.drag=a.drag,this._previousSwap.delta=n?o.x:o.y}_startScrollingIfNecessary(r,e){if(this.autoScrollDisabled)return;let t,o=0,c=0;if(this._parentPositions.positions.forEach((l,n)=>{n===this._document||!l.clientRect||t||GE(l.clientRect,.05,r,e)&&([o,c]=function NH(s,r,e,t){const o=iS(r,t),c=nS(r,e);let l=0,n=0;if(o){const i=s.scrollTop;1===o?i>0&&(l=1):s.scrollHeight-i>s.clientHeight&&(l=2)}if(c){const i=s.scrollLeft;1===c?i>0&&(n=1):s.scrollWidth-i>s.clientWidth&&(n=2)}return[l,n]}(n,l.clientRect,r,e),(o||c)&&(t=n))}),!o&&!c){const{width:l,height:n}=this._viewportRuler.getViewportSize(),i={width:l,height:n,top:0,right:l,bottom:n,left:0};o=iS(i,e),c=nS(i,r),t=window}t&&(o!==this._verticalScrollDirection||c!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=c,this._scrollNode=t,(o||c)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const r=Wt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=r.msScrollSnapType||r.scrollSnapType||"",r.scrollSnapType=r.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const r=Wt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(r).clientRect}_cacheItemPositions(){const r="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:NA(t)}}).sort((e,t)=>r?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const r=Wt(this.element).style;r.scrollSnapType=r.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const c=null===(t=this._itemPositions.find(l=>l.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=c||""}}),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(r,e,t){const o="horizontal"===this._orientation,c=e[r].clientRect,l=e[r+-1*t];let n=c[o?"width":"height"]*t;if(l){const i=o?"left":"top",a=o?"right":"bottom";-1===t?n-=l.clientRect[i]-c[a]:n+=c[i]-l.clientRect[a]}return n}_getItemOffsetPx(r,e,t){const o="horizontal"===this._orientation;let c=o?e.left-r.left:e.top-r.top;return-1===t&&(c+=o?e.width-r.width:e.height-r.height),c}_shouldEnterAsFirstChild(r,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const l=t[t.length-1].clientRect;return o?r>=l.right:e>=l.bottom}{const l=t[0].clientRect;return o?r<=l.left:e<=l.top}}_getItemIndexFromPointerPosition(r,e,t,o){const c="horizontal"===this._orientation,l=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===r)return!1;if(o){const a=c?o.x:o.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&a===this._previousSwap.delta)return!1}return c?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&to._canReceive(r,e,t))}_canReceive(r,e,t){if(!this._clientRect||!zA(this._clientRect,e,t)||!this.enterPredicate(r,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const c=Wt(this.element);return o===c||c.contains(o)}_startReceiving(r,e){const t=this._activeSiblings;!t.has(r)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(r),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(r){this._activeSiblings.delete(r),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(r=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(r);e&&(this._itemPositions.forEach(({clientRect:t})=>{Fp(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 r=xc(Wt(this.element));this._cachedShadowRoot=r||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const r=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,r))}}function iS(s,r){const{top:e,bottom:t,height:o}=s,c=.05*o;return r>=e-c&&r<=e+c?1:r>=t-c&&r<=t+c?2:0}function nS(s,r){const{left:e,right:t,width:o}=s,c=.05*o;return r>=e-c&&r<=e+c?1:r>=t-c&&r<=t+c?2:0}const ob=pn({passive:!1,capture:!0});let zH=(()=>{class s{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 Fe.x,this.pointerUp=new Fe.x,this.scroll=new Fe.x,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,ob)})}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,ob)}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:c=>this.pointerUp.next(c),options:!0}).set("scroll",{handler:c=>this.scroll.next(c),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ob}),o||this._globalListeners.set("mousemove",{handler:c=>this.pointerMove.next(c),options:ob}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((c,l)=>{this._document.addEventListener(l,c.handler,c.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 vi.y(o=>this._ngZone.runOutsideAngular(()=>{const l=n=>{this._activeDragInstances.length&&o.next(n)};return e.addEventListener("scroll",l,!0),()=>{e.removeEventListener("scroll",l,!0)}}))),(0,rr.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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const UH={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let GH=(()=>{class s{constructor(e,t,o,c){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=c}createDrag(e,t=UH){return new LH(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new jH(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(f.R0b),f.LFG(es),f.LFG(zH))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),qH=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[GH],imports:[Sr]}),s})(),rS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez]]}),s})(),WH=(()=>{class s{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"userFullName",type:s,pure:!0}),s})(),$H=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),ZH=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),oP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[ZH,Ye],Ye]}),s})(),mP=(()=>{class s{constructor(){this.changes=new Fe.x,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 s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const CP={provide:new f.OlP("mat-datepicker-scroll-strategy"),deps:[Mr],useFactory:function bP(s){return()=>s.scrollStrategies.reposition()}};let YA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[mP,CP],imports:[[E.ez,On,ml,Wr,Oa,Ye],Sr]}),s})(),BP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye],Ye]}),s})();new f.OlP("mat-selectsearch-default-options");let NP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Vp,On,G_,or,ib,Dr]]}),s})(),uS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),zP=(()=>{class s{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=rt(e)}get inset(){return this._inset}set inset(e){this._inset=rt(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(f.uIk("aria-orientation",t.vertical?"vertical":"horizontal"),f.ekj("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},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}),s})(),QA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),UP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),pS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,UP,Oa]]}),s})(),gS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[nd,Ye],nd,Ye]}),s})(),WP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta]]}),s})(),JA=(()=>{class s{constructor(){this.changes=new Fe.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const nR={provide:JA,deps:[[new f.FiY,new f.tp0,JA]],useFactory:function iR(s){return s||new JA}};let _S=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[nR,Er],imports:[[Ye,E.ez,Oa,On,WP,or,an],Ye]}),s})(),bS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,Sr],Sr,Ye]}),s})(),yS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[nd,an,Ye,dl,E.ez],nd,Ye,dl,QA]}),s})(),vS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),wR=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,Oa,an,zr,Wr],Ye]}),s})(),wS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),AS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[wS,an,Ye,zr],wS,Ye]}),s})(),KA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,uS,QA,pS,On,gS,G_,or,tb,mp,ib,ta,U_,ts,gA,Vp,_S,YA,im,bS,yS,wl,vS,kA,yd,Dr,ns,an,tb,AS,LA],uS,QA,pS,On,gS,G_,or,tb,mp,ib,ta,U_,ts,gA,Vp,_S,YA,im,bS,yS,wl,vS,kA,yd,Dr,ns,an,wR,AS,LA]}),s})(),BR=(()=>{class s extends id{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const OR={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 xS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:yn,useClass:BR},{provide:ed,useValue:OR}],imports:[[E.ez,G_,tb,gA,LA,qH,ei,vc,kA,yd,ib,BA,or,wl,On,Dr,ta,Vp,U_,an,rS,$H,oP,YA,BP,ld,ns,NP,ts,mp,Na,KA]]}),s})(),OI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,On,or,vc,xS,ei,ta,Vp,U_,BA]]}),s})(),LI=(()=>{class s{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Pl),f.Y36(pi))},s.\u0275cmp=f.Xpm({type:s,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&&(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 t.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&e&&(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:[ul,Hr],pipes:[vn],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),s})();const FI=new f.OlP("perun-api-service");class jI{constructor(r,e="/assets/i18n/",t=".json"){this.http=r,this.prefix=e,this.suffix=t}getTranslation(r){return this.http.get(`${this.prefix}${r}${this.suffix}`)}}let NI=(()=>{class s{constructor(e,t,o,c,l){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=c,this.utilsService=l}initializeColors(e,t){return new Promise(o=>{t.forEach(c=>{const l=this.storeService.get("theme",c.configValue);document.documentElement.style.setProperty(c.cssVariable,l)}),e.forEach(c=>{const l=this.storeService.get("theme",c.configValue);document.documentElement.style.setProperty(c.cssVariable,l),this.setEntityTheme(c.entity,l)}),o()})}setEntityTheme(e,t){const o=function zI(s){return[xn(tinycolor(s).lighten(52),"50"),xn(tinycolor(s).lighten(37),"100"),xn(tinycolor(s).lighten(26),"200"),xn(tinycolor(s).lighten(12),"300"),xn(tinycolor(s).lighten(6),"400"),xn(tinycolor(s),"500"),xn(tinycolor(s).darken(6),"600"),xn(tinycolor(s).darken(12),"700"),xn(tinycolor(s).darken(18),"800"),xn(tinycolor(s).darken(24),"900"),xn(tinycolor(s).lighten(50).saturate(30),"A100"),xn(tinycolor(s).lighten(30).saturate(30),"A200"),xn(tinycolor(s).lighten(10).saturate(15),"A400"),xn(tinycolor(s).lighten(5).saturate(5),"A700")]}(t);for(const c of o){const i=`--${e}-theme-primary-contrast-${c.name}`,a=c.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${c.name}`,`${c.red},${c.green},${c.blue}`),document.documentElement.style.setProperty(i,a)}}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=>{var o;this.storeService.setInstanceConfig(t);const c=document.location.hostname;(null===(o=null==t?void 0:t.brandings)||void 0===o?void 0:o[c])&&this.storeService.setBanding(c),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(_i),f.LFG(Gi),f.LFG(Vi),f.LFG(nt))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function xn(s,r){const e=tinycolor(s),t=e.toRgb();return{name:r,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let UI=(()=>{class s{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.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.simpleLoadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Rl),f.LFG(NI),f.LFG(E.Ye))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function GI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," info "),f.qZA())}function qI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," warning "),f.qZA())}function WI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," dangerous "),f.qZA())}function $I(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," check_circle "),f.qZA())}const YI=["*"];let QI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:YI,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&&(f.F$t(),f.TgZ(0,"div",0),f.YNc(1,GI,2,0,"mat-icon",1),f.YNc(2,qI,2,0,"mat-icon",1),f.YNc(3,WI,2,0,"mat-icon",1),f.YNc(4,$I,2,0,"mat-icon",1),f.Hsn(5),f.qZA()),2&e&&(f.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),f.xp6(1),f.Q6J("ngIf","info"===t.alert_type),f.xp6(1),f.Q6J("ngIf","warn"===t.alert_type),f.xp6(1),f.Q6J("ngIf","error"===t.alert_type),f.xp6(1),f.Q6J("ngIf","success"===t.alert_type))},directives:[E.O5,Hr],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}"]}),s})(),JI=(()=>{class s{}return s.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",s.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",s.MEMBER_GROUP_STATUS="urn:perun:member_group:attribute-def:virt:groupStatus",s.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",s.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",s.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",s.MEMBER_LIFECYCLE_ALTERABLE="urn:perun:member:attribute-def:virt:isLifecycleAlterable",s.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",s.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",s.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",s.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",s.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",s.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",s.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",s.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",s.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",s.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",s.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",s.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",s.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",s.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",s.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",s.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",s.UES_SOURCE_IDP_NAME="urn:perun:ues:attribute-def:def:sourceIdPName",s})();function KI(s,r){1&s&&f._UZ(0,"mat-spinner",3)}function ZI(s,r){1&s&&(f.TgZ(0,"span",18),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.SIGN_NOT_KNOW")))}function XI(s,r){1&s&&(f.TgZ(0,"span",18),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.SIGN_KNOW")))}function ek(s,r){if(1&s&&f._UZ(0,"img",19),2&s){const e=f.oxw(2);f.s9C("src",e.logo,f.LSH),f.Q6J("height",e.height)("width",e.width)}}function tk(s,r){1&s&&f._UZ(0,"mat-icon",20)}function ik(s,r){1&s&&f._UZ(0,"mat-icon",21)}function nk(s,r){1&s&&f._UZ(0,"th",22)}function rk(s,r){if(1&s&&(f.TgZ(0,"td",23),f._uU(1),f.qZA()),2&s){const e=r.$implicit;f.xp6(1),f.hij(" ",e.name,": ")}}function ak(s,r){1&s&&f._UZ(0,"th",22)}function ok(s,r){if(1&s&&(f.TgZ(0,"td",24),f._uU(1),f.qZA()),2&s){const e=r.$implicit;f.xp6(1),f.hij(" ",e.value," ")}}function sk(s,r){1&s&&f._UZ(0,"tr",25)}const lk=function(){return["name","value"]};function ck(s,r){if(1&s&&(f.TgZ(0,"div"),f.YNc(1,ZI,3,3,"span",4),f.YNc(2,XI,3,3,"span",4),f.TgZ(3,"div",5),f.TgZ(4,"div",6),f.YNc(5,ek,1,3,"img",7),f.YNc(6,tk,1,0,"mat-icon",8),f.YNc(7,ik,1,0,"mat-icon",9),f.qZA(),f.TgZ(8,"div"),f.TgZ(9,"h2",10),f._uU(10),f.qZA(),f._UZ(11,"mat-divider"),f.TgZ(12,"table",11),f.ynx(13,12),f.YNc(14,nk,1,0,"th",13),f.YNc(15,rk,2,1,"td",14),f.BQk(),f.ynx(16,15),f.YNc(17,ak,1,0,"th",13),f.YNc(18,ok,2,1,"td",16),f.BQk(),f.YNc(19,sk,1,0,"tr",17),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("ngIf",e.unknownIdentity),f.xp6(1),f.Q6J("ngIf",!e.unknownIdentity),f.xp6(3),f.Q6J("ngIf",e.logo),f.xp6(1),f.Q6J("ngIf",!e.logo&&!e.unknownIdentity),f.xp6(1),f.Q6J("ngIf",!e.logo&&e.unknownIdentity),f.xp6(3),f.Oqu(e.idpProvider),f.xp6(2),f.Q6J("dataSource",e.dataSource),f.xp6(7),f.Q6J("matRowDefColumns",f.DdM(8,lk))}}let dk=(()=>{class s{constructor(e,t,o,c){this.oauthService=e,this.userService=t,this.storeService=o,this.initService=c,this.idpProvider="",this.dataSource=new RA,this.info=[],this.loading=!1}ngOnInit(){this.loading=!0,this.oauthService.loadUserProfile().then(e=>{this.setIdpInfo(e),this.initService.simpleLoadPrincipal().then(()=>{if(this.unknownIdentity=-1===this.storeService.getPerunPrincipal().userId,this.unknownIdentity)this.dataSource=new RA(this.info),this.loading=!1;else{let t="";this.userService.getRichUserExtSources(this.storeService.getPerunPrincipal().userId).subscribe(o=>{o.forEach(c=>{if(0!==c.attributes.length){const l=function BT(s,r){for(const e of s)if(e.namespace+":"+e.friendlyName===r)return e;return null}(c.attributes,JI.UES_SOURCE_IDP_NAME);(null==l?void 0:l.value)&&(t+=l.value+", ")}}),t=t.slice(0,-2),this.info.push({name:"Linked accounts",value:t}),this.dataSource=new RA(this.info),this.loading=!1})}})})}setIdpInfo(e){const t=this.getUserName(e);null!=t&&""!==t&&this.info.push({name:"Name",value:t});const o=this.getUserLogin(e);null!=o&&""!==o&&this.info.push({name:"Login",value:o}),e.info.email&&this.info.push({name:"Email",value:e.info.email}),this.idpProvider=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_provider_userinfo")),this.logo=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_userinfo")),this.width=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_width_userinfo")),this.height=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_height_userinfo"))}getNestedItem(e,t){let o=e.info;for(const c of t)o=o[c],Array.isArray(o)&&(o=o[0]);return String(o)}getUserName(e){const t=e.info.name;if(t&&""!==t)return t;const o=e.info.given_name,c=e.info.family_name;return o&&c?o+" "+c:""}getUserLogin(e){const t=e.info.preferred_username;if(t&&""!==t)return t;const o=e.info.nickname;return o&&""!==o?o:""}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(za.Ct),f.Y36(pr),f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-list-of-identities"]],decls:3,vars:2,consts:[[1,"card","p-4","mat-elevation-z3"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],["class","mt-n3",4,"ngIf"],[1,"identity-flexbox"],[1,"d-flex","align-items-center","justify-content-center"],["class","logo text-center",3,"height","width","src",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-identity",4,"ngIf"],["svgIcon","perun-info-grey","class","perun-icon perun-icon-identity",4,"ngIf"],[1,"px-3"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold px-3","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pr-3","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mt-n3"],[1,"logo","text-center",3,"height","width","src"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-identity"],["svgIcon","perun-info-grey",1,"perun-icon","perun-icon-identity"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold","px-3"],["mat-cell","",1,"pr-3"],["mat-row",""]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.YNc(1,KI,1,0,"mat-spinner",1),f.YNc(2,ck,20,9,"div",2),f.qZA()),2&e&&(f.xp6(1),f.Q6J("ngIf",t.loading),f.xp6(1),f.Q6J("ngIf",!t.loading))},directives:[E.O5,oa,Hr,zP,VE,DA,MA,HA,SA,PA,BE,OE],pipes:[vn],styles:[".logo[_ngcontent-%COMP%]{display:block;margin-top:auto;margin-bottom:auto}.perun-icon-identity[_ngcontent-%COMP%]{transform:scale(3.5);margin-left:.9rem;margin-top:1rem;color:#000}.identity-flexbox[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;width:100%;gap:.5rem 1rem;margin-top:.5rem}"]}),s})(),uk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[WH],imports:[[E.ez,KA,ei,rS]]}),s})(),hk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-focus-on-linker-dialog"]],decls:9,vars:6,consts:[[1,"text-center","custom-dialog"],[1,"align-text-bottom"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div"),f.TgZ(2,"mat-icon",1),f._uU(3," info "),f.qZA(),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.qZA()),2&e&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL_WARNING")," "))},directives:[Hr],pipes:[vn],styles:[".custom-dialog[_ngcontent-%COMP%]{background-color:#000;color:#fffffff2;font-size:1.2rem}"]}),s})(),pk=(()=>{class s{constructor(e,t,o,c){this.otherApplicationsService=e,this.storeService=t,this.oauthService=o,this.dialog=c}openLinkerWindow(e,t){let o=this.otherApplicationsService.getUrlForOtherApplication("linker");this.storeService.getProperty("use_localhost_linker_url")&&(o="http://localhost:4201/");let c=o+"?formerToken="+this.oauthService.getAccessToken();t&&0!==t.length&&(c+="&idphint="+t.toString());const i=window.top,u=window.open(c,"_blank",`width=600,height=600,top=${i.outerHeight/2+i.screenY-300}, left=${i.outerWidth/2+i.screenX-300}`);let g;if(u){const H=Nd();H.width="450px",H.panelClass="noBorderDialog",g=this.dialog.open(hk,H)}window.addEventListener("message",H=>{sessionStorage.setItem("linkedResult",H.data)});const b=setInterval(()=>{if(u.closed){clearInterval(b),g.close();const H=sessionStorage.getItem("linkedResult");sessionStorage.removeItem("linkedResult"),e(H)}},1e3)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(A_),f.LFG(_i),f.LFG(za.Ct),f.LFG(ra))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),fk=(()=>{class s{transform(e){let t="";return e.forEach(o=>{const c=o.attributes;if(c){const l=c.sourceIdPName;l&&""!==l&&(t=t+l+", ")}}),t.slice(0,-2)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"similarIdentityFriendlyNamesString",type:s,pure:!0}),s})();function gk(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div",5),f.TgZ(1,"div",6),f._UZ(2,"mat-icon",7),f.TgZ(3,"div",8),f.TgZ(4,"div"),f._uU(5),f.qZA(),f.TgZ(6,"div",9),f._uU(7),f.ALo(8,"translate"),f.ALo(9,"similarIdentityFriendlyNamesString"),f.qZA(),f.qZA(),f.qZA(),f.TgZ(10,"button",10),f.NdJ("click",function(){const c=f.CHM(e).$implicit;return f.oxw(2).openPopUp(c.identities)}),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.qZA()}if(2&s){const e=r.$implicit;f.xp6(5),f.Oqu(e.email),f.xp6(2),f.AsE(" ",f.lcZ(8,4,"CONNECT_IDENTITY_SECTION.LINKED_ACCOUNTS"),": ",f.lcZ(9,6,e.identities)," "),f.xp6(4),f.hij(" ",f.lcZ(12,8,"CONNECT_IDENTITY_SECTION.CONNECT_THIS_ACCOUNT")," ")}}function mk(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"h2"),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.TgZ(4,"p"),f._uU(5),f.ALo(6,"translate"),f.qZA(),f.YNc(7,gk,13,10,"div",3),f.TgZ(8,"button",4),f.NdJ("click",function(){return f.CHM(e),f.oxw().openPopUp([])}),f._uU(9),f.ALo(10,"translate"),f.qZA(),f.qZA()}if(2&s){const e=f.oxw();f.xp6(2),f.hij(" ",f.lcZ(3,4,"CONNECT_IDENTITY_SECTION.TITLE_"+e.titleHelpTranslatePath)," "),f.xp6(3),f.hij(" ",f.lcZ(6,6,"CONNECT_IDENTITY_SECTION."+e.titleHelpTranslatePath+"_HELP")," "),f.xp6(2),f.Q6J("ngForOf",e.similarIdentities),f.xp6(2),f.hij(" ",f.lcZ(10,8,"CONNECT_IDENTITY_SECTION.CONNECT_OTHER_ACCOUNT")," ")}}function _k(s,r){1&s&&f._UZ(0,"mat-spinner",11)}let bk=(()=>{class s{constructor(e,t,o){this.registrarService=e,this.router=t,this.openLinkerService=o,this.similarIdentities=[],this.loading=!1,this.titleHelpTranslatePath="SIMILAR_FOUND"}ngOnInit(){this.loading=!0,this.registrarService.checkForSimilarRichIdentities().subscribe(e=>{this.similarIdentities=e.slice(0,2),0===this.similarIdentities.length&&(this.titleHelpTranslatePath="NO_SIMILAR_FOUND"),this.loading=!1})}openPopUp(e){const t=[];e.forEach(o=>{o.attributes.sourceIdPName&&t.push(o.extSource.name)}),this.openLinkerService.openLinkerWindow(o=>{"TOKEN_EXPIRED"===o?location.reload():("OK"===o||"MESSAGE_SENT_TO_SUPPORT"===o)&&this.router.navigate(["/result",o])},t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Wn),f.Y36(pi),f.Y36(pk))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-connect-identity-section"]],decls:3,vars:2,consts:[[1,"color","card","p-3","mat-elevation-z3"],[4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","card d-flex mt-3 p-2 identity-card mat-elevation-z3",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mt-3",3,"click"],[1,"card","d-flex","mt-3","p-2","identity-card","mat-elevation-z3"],[1,"d-flex","flex-row"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-similar"],[1,"ml-3","mt-1"],[1,"pl-1"],["mat-flat-button","","color","accent",1,"ml-auto","mr-2","mb-2","mt-3",3,"click"],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.YNc(1,mk,11,10,"div",1),f.YNc(2,_k,1,0,"mat-spinner",2),f.qZA()),2&e&&(f.xp6(1),f.Q6J("ngIf",!t.loading),f.xp6(1),f.Q6J("ngIf",t.loading))},directives:[E.O5,E.sg,Hr,ul,oa],pipes:[vn,fk],styles:[".color[_ngcontent-%COMP%]{background-color:#f1f1f1}.perun-icon-similar[_ngcontent-%COMP%]{transform:scale(2);margin-left:1rem;margin-top:1rem;color:#000}.identity-card[_ngcontent-%COMP%]{background-color:#f5f5f5;max-width:450px}"]}),s})();function Ck(s,r){1&s&&(f.TgZ(0,"perun-web-apps-alert",5),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.IS_NOT_KNOWN_IDENTITY")))}let yk=(()=>{class s{constructor(e,t){this.storeService=e,this.initService=t}ngOnInit(){this.initService.simpleLoadPrincipal().then(()=>{this.unknownIdentity=-1===this.storeService.getPerunPrincipal().userId})}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-main-window"]],decls:6,vars:1,consts:[[1,"d-flex"],[1,"d-inline-block","ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],[1,"main-flexbox"],[1,"identities-list"],["alert_type","warn"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,Ck,3,3,"perun-web-apps-alert",2),f.TgZ(3,"div",3),f._UZ(4,"perun-web-apps-list-of-identities",4),f._UZ(5,"perun-web-apps-connect-identity-section"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(2),f.Q6J("ngIf",t.unknownIdentity))},directives:[E.O5,QI,dk,bk],pipes:[vn],styles:[".identities-list[_ngcontent-%COMP%]{max-width:650px}.main-flexbox[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:1.5rem}"]}),s})();function vk(s,r){if(1&s&&(f.TgZ(0,"mat-icon",6),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.hij(" ",e.icon," ")}}function wk(s,r){1&s&&f._UZ(0,"mat-icon",7)}function Ak(s,r){if(1&s&&(f.TgZ(0,"span"),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.hij(" ",e.supportMail," ")}}const xk=function(s){return{"background-color":s}},Tk=["*"];let Ek=(()=>{class s{constructor(e){this.store=e,this.supportMail=this.store.getProperty("support_mail"),this.color="",this.icon="",this.greenColor="#e0ffd4",this.blueColor="#d4f2ff",this.redColor="#ffd4d4",this.warningIcon="warning",this.infoIcon="info",this.messageSent="mark_email_read"}ngOnChanges(){switch(this.result){case"OK":this.color=this.greenColor;break;case"IDENTITY_REGISTERED_ALREADY":case"UNKNOWN_ERROR":this.color=this.redColor,this.icon=this.warningIcon;break;case"IDENTITY_IDENTICAL":case"IDENTITY_LINKED":case"IDENTITY_UNKNOWN":this.color=this.blueColor,this.icon=this.infoIcon;break;case"MESSAGE_SENT_TO_SUPPORT":this.color=this.blueColor,this.icon=this.messageSent;break;case"TOKEN_EXPIRED":this.color=this.blueColor,this.icon=this.warningIcon}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-consolidation-result"]],inputs:{result:"result"},features:[f.TTD],ngContentSelectors:Tk,decls:14,vars:12,consts:[[1,"p-4","m-3",3,"ngStyle"],[1,"d-flex","pb-5","flex-row"],["class","mat-icon-war mr-4",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-detail",4,"ngIf"],[1,"ml-5"],[4,"ngIf"],[1,"mat-icon-war","mr-4"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-detail"]],template:function(e,t){1&e&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div"),f.YNc(3,vk,2,1,"mat-icon",2),f.YNc(4,wk,1,0,"mat-icon",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"h1"),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"h5"),f._uU(10),f.ALo(11,"translate"),f.YNc(12,Ak,2,1,"span",5),f.qZA(),f.qZA(),f.qZA(),f.Hsn(13),f.qZA()),2&e&&(f.Q6J("ngStyle",f.VKq(10,xk,t.color)),f.xp6(3),f.Q6J("ngIf","OK"!==t.result),f.xp6(1),f.Q6J("ngIf","OK"===t.result),f.xp6(3),f.hij(" ",f.lcZ(8,6,"SHARED_LIB.CONSOLIDATOR."+t.result+"_TITLE")," "),f.xp6(3),f.hij(" ",f.lcZ(11,8,"SHARED_LIB.CONSOLIDATOR."+t.result+"_SUBTITLE")," "),f.xp6(2),f.Q6J("ngIf","UNKNOWN_ERROR"===t.result))},directives:[E.PC,E.O5,Hr],pipes:[vn],styles:[".mat-icon-war[_ngcontent-%COMP%]{font-size:82px}.perun-icon-detail[_ngcontent-%COMP%]{transform:scale(4.5);margin-left:3rem;margin-top:1.5rem;color:#000}"]}),s})();const Sk=[{path:"",redirectTo:"consolidate",pathMatch:"full"},{path:"login",component:LI},{path:"consolidate",component:yk},{path:"result/:result",component:(()=>{class s{constructor(e,t){this.route=e,this.router=t}ngOnInit(){this.route.params.subscribe(e=>{this.linkerResult=e.result})}onClick(){this.router.navigate(["/consolidate"],{queryParamsHandling:"merge"})}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ji),f.Y36(pi))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-show-result-page"]],decls:6,vars:4,consts:[[1,"show-result","ml-auto","mr-auto"],[3,"result"],[1,"d-flex","flex-column","mt-5"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"perun-web-apps-consolidation-result",1),f.TgZ(2,"div",2),f.TgZ(3,"button",3),f.NdJ("click",function(){return t.onClick()}),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(1),f.Q6J("result",t.linkerResult),f.xp6(3),f.hij(" ",f.lcZ(5,2,"SHOW_RESULT.ADD_ANOTHER")," "))},directives:[Ek,ul],pipes:[vn],styles:[".show-result[_ngcontent-%COMP%]{max-width:55vw!important}"]}),s})()}];let Mk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[vc.forRoot(Sk,{preloadingStrategy:Tf,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],vc]}),s})(),Dk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,mp,On,ei]]}),s})();const Hk={provide:y.TP,useExisting:(0,f.Gpc)(()=>An),multi:!0};function Pk(s){return new jI(s,"./assets/i18n/",".json")}function Rk(s){const r={basePath:s.getProperty("api_url")};return new We(r)}const Ik=s=>()=>s.loadConfigs();let kk=(()=>{class s{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(yp),f.LFG(na))},s.\u0275mod=f.oAB({type:s,bootstrap:[xD]}),s.\u0275inj=f.cJS({providers:[yp,{provide:f.ip1,useFactory:Ik,multi:!0,deps:[UI]},{provide:We,useFactory:Rk,deps:[_i]},An,Hk,{provide:FI,useClass:Nw},{provide:za.Hy,useFactory:()=>localStorage}],imports:[[Ir,Hy,y.JF,Wp,Mk,KA,OI,or,xS,BA,Na,Dk,za.zr.forRoot(),uk,ei.forRoot({loader:{provide:ja,useFactory:Pk,deps:[y.eN]}})]]}),s})();(0,f.G48)(),Rr().bootstrapModule(kk).catch(s=>console.error(s))},1302:function(F,N,x){var E;!function(f,k){var O={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var k=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 O(se,$,ae,ie,le){for(var Te,Me,Pe,Ce,fe,we,Ze,Se,xe,Ve,ne,ce,de;le>=64;){for(Te=$[0],Me=$[1],Pe=$[2],Ce=$[3],fe=$[4],we=$[5],Ze=$[6],Se=$[7],Ve=0;Ve<16;Ve++)se[Ve]=(255&ae[ne=ie+4*Ve])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Ve=16;Ve<64;Ve++)se[Ve]=((ce=((xe=se[Ve-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+se[Ve-7]|0)+((de=((xe=se[Ve-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+se[Ve-16]|0);for(Ve=0;Ve<64;Ve++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&we^~fe&Ze)|0)+(Se+(k[Ve]+se[Ve]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&Pe^Me&Pe)|0,Se=Ze,Ze=we,we=fe,fe=Ce+ce|0,Ce=Pe,Pe=Me,Me=Te,Te=ce+de|0;$[0]+=Te,$[1]+=Me,$[2]+=Pe,$[3]+=Ce,$[4]+=fe,$[5]+=we,$[6]+=Ze,$[7]+=Se,ie+=64,le-=64}return ie}var B=function(){function se(){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 se.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},se.prototype.clean=function(){for(var $=0;$0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=$[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,$,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=$[ie++],ae--;return this},se.prototype.finish=function($){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var Pe=ie+1;Pe>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(Pe=0;Pe<8;Pe++)$[4*Pe+0]=this.state[Pe]>>>24&255,$[4*Pe+1]=this.state[Pe]>>>16&255,$[4*Pe+2]=this.state[Pe]>>>8&255,$[4*Pe+3]=this.state[Pe]>>>0&255;return this},se.prototype.digest=function(){var $=new Uint8Array(this.digestLength);return this.finish($),$},se.prototype._saveState=function($){for(var ae=0;aethis.blockSize)(new B).update($).finish(ae).clean();else for(var ie=0;ie<$.length;ie++)ae[ie]=$[ie];for(ie=0;ie1&&$.update(se),ae&&$.update(ae),$.update(ie),$.finish(se),ie[0]++}f.HMAC=j,f.hash=q,f.default=q,f.hmac=Q;var Y=new Uint8Array(f.digestLength);f.hkdf=function z(se,$,ae,ie){void 0===$&&($=Y),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Q($,se),Me=new j(Te),Pe=new Uint8Array(Me.digestLength),Ce=Pe.length,fe=new Uint8Array(ie),we=0;we>>24&255,Me[1]=Ze>>>16&255,Me[2]=Ze>>>8&255,Me[3]=Ze>>>0&255,le.reset(),le.update($),le.update(Me),le.finish(Ce);for(var Se=0;Se=z.status}function j(Y){try{Y.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Y.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Q=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),G=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Q?function(Y,z,re){var se=q.URL||q.webkitURL,$=document.createElement("a");$.download=z=z||Y.name||"download",$.rel="noopener","string"==typeof Y?($.href=Y,$.origin===location.origin?j($):B($.href)?O(Y,z,re):j($,$.target="_blank")):($.href=se.createObjectURL(Y),setTimeout(function(){se.revokeObjectURL($.href)},4e4),setTimeout(function(){j($)},0))}:"msSaveOrOpenBlob"in navigator?function(Y,z,re){if(z=z||Y.name||"download","string"!=typeof Y)navigator.msSaveOrOpenBlob(function k(Y,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(Y.type)?new Blob(["\ufeff",Y],{type:Y.type}):Y}(Y,re),z);else if(B(Y))O(Y,z,re);else{var se=document.createElement("a");se.href=Y,se.target="_blank",setTimeout(function(){j(se)})}}:function(Y,z,re,se){if((se=se||open("","_blank"))&&(se.document.title=se.document.body.innerText="downloading..."),"string"==typeof Y)return O(Y,z,re);var $="application/octet-stream"===Y.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||$&&ae||Q)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var Pe=le.result;Pe=ie?Pe:Pe.replace(/^data:[^;]*;/,"data:attachment/file;"),se?se.location.href=Pe:location=Pe,se=null},le.readAsDataURL(Y)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL(Y);se?se.location=Me:location.href=Me,se=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=G.saveAs=G,F.exports=G}.apply(N,[]))&&(F.exports=f)},8306:(F,N,x)=>{"use strict";x.d(N,{y:()=>Y});var E=x(930),f=x(727),k=x(8822),O=x(4671);var q=x(2416),Q=x(576),G=x(2806);let Y=(()=>{class ${constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new $;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function se($){return $&&$ instanceof E.Lv||function re($){return $&&(0,Q.m)($.next)&&(0,Q.m)($.error)&&(0,Q.m)($.complete)}($)&&(0,f.Nn)($)}(ie)?ie:new E.Hp(ie,le,Te);return(0,G.x)(()=>{const{operator:Pe,source:Ce}=this;Me.add(Pe?Pe.call(Me,Ce):Ce?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const Pe=new E.Hp({next:Ce=>{try{ie(Ce)}catch(fe){Me(fe),Pe.unsubscribe()}},error:Me,complete:Te});this.subscribe(Pe)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[k.L](){return this}pipe(...ie){return function j($){return 0===$.length?O.y:1===$.length?$[0]:function(ie){return $.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(Pe=>Me=Pe,Pe=>Te(Pe),()=>le(Me))})}}return $.create=ae=>new $(ae),$})();function z($){var ae;return null!==(ae=null!=$?$:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(F,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),f=x(727);const O=(0,x(3888).d)(G=>function(){G(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=x(8737),j=x(2806);let q=(()=>{class G extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Q(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:se,observers:$}=this;return re||se?f.Lc:(this.currentObservers=null,$.push(z),new f.w0(()=>{this.currentObservers=null,(0,B.P)($,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:se,isStopped:$}=this;re?z.error(se):$&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return G.create=(Y,z)=>new Q(Y,z),G})();class Q extends q{constructor(Y,z){super(),this.destination=Y,this.source=z}next(Y){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,Y)}error(Y){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,Y)}complete(){var Y,z;null===(z=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===z||z.call(Y)}_subscribe(Y){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe(Y))&&void 0!==re?re:f.Lc}}},930:(F,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),f=x(727),k=x(2416),O=x(7849),B=x(5032);const j=G("C",void 0,void 0);function G(Ce,fe,we){return{kind:Ce,value:fe,error:we}}var Y=x(3410),z=x(2806);class re extends f.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,f.Nn)(fe)&&fe.add(this)):this.destination=Pe}static create(fe,we,Ze){return new ie(fe,we,Ze)}next(fe){this.isStopped?Me(function Q(Ce){return G("N",Ce,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(Ce){return G("E",void 0,Ce)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const se=Function.prototype.bind;function $(Ce,fe){return se.call(Ce,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:we}=this;if(we.next)try{we.next(fe)}catch(Ze){le(Ze)}}error(fe){const{partialObserver:we}=this;if(we.error)try{we.error(fe)}catch(Ze){le(Ze)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(we){le(we)}}}class ie extends re{constructor(fe,we,Ze){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=we?we:void 0,complete:null!=Ze?Ze:void 0};else{let xe;this&&k.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&$(fe.next,xe),error:fe.error&&$(fe.error,xe),complete:fe.complete&&$(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(Ce){k.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Ce):(0,O.h)(Ce)}function Me(Ce,fe){const{onStoppedNotification:we}=k.v;we&&Y.z.setTimeout(()=>we(Ce,fe))}const Pe={closed:!0,next:B.Z,error:function Te(Ce){throw Ce},complete:B.Z}},727:(F,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>B,Nn:()=>q});var E=x(576);const k=(0,x(3888).d)(G=>function(z){G(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,se)=>`${se+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class B{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const $ of z)$.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch($){Y=$ instanceof k?$.errors:[$]}const{_finalizers:se}=this;if(se){this._finalizers=null;for(const $ of se)try{Q($)}catch(ae){Y=null!=Y?Y:[],ae instanceof k?Y=[...Y,...ae.errors]:Y.push(ae)}}if(Y)throw new k(Y)}}add(Y){var z;if(Y&&Y!==this)if(this.closed)Q(Y);else{if(Y instanceof B){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(Y)}}_hasParent(Y){const{_parentage:z}=this;return z===Y||Array.isArray(z)&&z.includes(Y)}_addParent(Y){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(Y),z):z?[z,Y]:Y}_removeParent(Y){const{_parentage:z}=this;z===Y?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,Y)}remove(Y){const{_finalizers:z}=this;z&&(0,O.P)(z,Y),Y instanceof B&&Y._removeParent(this)}}B.EMPTY=(()=>{const G=new B;return G.closed=!0,G})();const j=B.EMPTY;function q(G){return G instanceof B||G&&"closed"in G&&(0,E.m)(G.remove)&&(0,E.m)(G.add)&&(0,E.m)(G.unsubscribe)}function Q(G){(0,E.m)(G)?G():G.unsubscribe()}},2416:(F,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(F,N,x)=>{"use strict";x.d(N,{a:()=>Y});var E=x(8306),f=x(4742),k=x(2076),O=x(4671),B=x(3268),j=x(3269),q=x(1810),Q=x(5403),G=x(9672);function Y(...se){const $=(0,j.yG)(se),ae=(0,j.jO)(se),{args:ie,keys:le}=(0,f.D)(se);if(0===ie.length)return(0,k.D)([],$);const Te=new E.y(function z(se,$,ae=O.y){return ie=>{re($,()=>{const{length:le}=se,Te=new Array(le);let Me=le,Pe=le;for(let Ce=0;Ce{const fe=(0,k.D)(se[Ce],$);let we=!1;fe.subscribe((0,Q.x)(ie,Ze=>{Te[Ce]=Ze,we||(we=!0,Pe--),Pe||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,$,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,B.Z)(ae)):Te}function re(se,$,ae){se?(0,G.f)(ae,se,$):$()}},7272:(F,N,x)=>{"use strict";x.d(N,{z:()=>B});var E=x(8189),k=x(3269),O=x(2076);function B(...j){return function f(){return(0,E.J)(1)}()((0,O.D)(j,(0,k.yG)(j)))}},515:(F,N,x)=>{"use strict";x.d(N,{E:()=>f});const f=new(x(8306).y)(B=>B.complete())},2076:(F,N,x)=>{"use strict";x.d(N,{D:()=>Ze});var E=x(8421),f=x(9672),k=x(4482),O=x(5403);function B(Se,xe=0){return(0,k.e)((Ve,ne)=>{Ve.subscribe((0,O.x)(ne,ce=>(0,f.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,f.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,f.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,k.e)((Ve,ne)=>{ne.add(Se.schedule(()=>Ve.subscribe(ne),xe))})}var G=x(8306),z=x(2202),re=x(576);function $(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new G.y(Ve=>{(0,f.f)(Ve,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,f.f)(Ve,xe,()=>{ne.next().then(ce=>{ce.done?Ve.complete():Ve.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),Pe=x(4532),Ce=x(3260);function Ze(Se,xe){return xe?function we(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,le.z)(Se))return function Y(Se,xe){return new G.y(Ve=>{let ne=0;return xe.schedule(function(){ne===Se.length?Ve.complete():(Ve.next(Se[ne++]),Ve.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,Me.D)(Se))return $(Se,xe);if((0,Te.T)(Se))return function se(Se,xe){return new G.y(Ve=>{let ne;return(0,f.f)(Ve,xe,()=>{ne=Se[z.h](),(0,f.f)(Ve,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(ge){return void Ve.error(ge)}de?Ve.complete():Ve.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,Ce.L)(Se))return function fe(Se,xe){return $((0,Ce.Q)(Se),xe)}(Se,xe)}throw(0,Pe.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(F,N,x)=>{"use strict";x.d(N,{Xf:()=>se});var E=x(655),f=x(1144),k=x(8239),O=x(8306),B=x(3670),j=x(2206),q=x(4532),Q=x(6495),G=x(3260),Y=x(576),z=x(7849),re=x(8822);function se(Ce){if(Ce instanceof O.y)return Ce;if(null!=Ce){if((0,B.c)(Ce))return function $(Ce){return new O.y(fe=>{const we=Ce[re.L]();if((0,Y.m)(we.subscribe))return we.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,f.z)(Ce))return function ae(Ce){return new O.y(fe=>{for(let we=0;we{Ce.then(we=>{fe.closed||(fe.next(we),fe.complete())},we=>fe.error(we)).then(null,z.h)})}(Ce);if((0,j.D)(Ce))return Te(Ce);if((0,Q.T)(Ce))return function le(Ce){return new O.y(fe=>{for(const we of Ce)if(fe.next(we),fe.closed)return;fe.complete()})}(Ce);if((0,G.L)(Ce))return function Me(Ce){return Te((0,G.Q)(Ce))}(Ce)}throw(0,q.z)(Ce)}function Te(Ce){return new O.y(fe=>{(function Pe(Ce,fe){var we,Ze,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(we=(0,E.KL)(Ce);!(Ze=yield we.next()).done;)if(fe.next(Ze.value),fe.closed)return}catch(Ve){Se={error:Ve}}finally{try{Ze&&!Ze.done&&(xe=we.return)&&(yield xe.call(we))}finally{if(Se)throw Se.error}}fe.complete()})})(Ce,fe).catch(we=>fe.error(we))})}},6451:(F,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),f=x(8421),k=x(515),O=x(3269),B=x(2076);function j(...q){const Q=(0,O.yG)(q),G=(0,O._6)(q,1/0),Y=q;return Y.length?1===Y.length?(0,f.Xf)(Y[0]):(0,E.J)(G)((0,B.D)(Y,Q)):k.E}},9646:(F,N,x)=>{"use strict";x.d(N,{of:()=>k});var E=x(3269),f=x(2076);function k(...O){const B=(0,E.yG)(O);return(0,f.D)(O,B)}},102:(F,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),f=x(8421);const{isArray:k}=Array;var B=x(5403);function j(...Q){return 1===(Q=function O(Q){return 1===Q.length&&k(Q[0])?Q[0]:Q}(Q)).length?(0,f.Xf)(Q[0]):new E.y(function q(Q){return G=>{let Y=[];for(let z=0;Y&&!G.closed&&z{if(Y){for(let se=0;se{"use strict";x.d(N,{_:()=>k});var E=x(8306),f=x(576);function k(O,B){const j=(0,f.m)(O)?O:()=>O,q=Q=>Q.error(j());return new E.y(B?Q=>B.schedule(q,0,Q):q)}},2805:(F,N,x)=>{"use strict";x.d(N,{H:()=>B});var E=x(8306),f=x(4986),k=x(3532),O=x(1165);function B(j=0,q,Q=f.P){let G=-1;return null!=q&&((0,k.K)(q)?Q=q:G=q),new E.y(Y=>{let z=(0,O.q)(j)?+j-Q.now():j;z<0&&(z=0);let re=0;return Q.schedule(function(){Y.closed||(Y.next(re++),0<=G?this.schedule(void 0,G):Y.complete())},z)})}},5403:(F,N,x)=>{"use strict";x.d(N,{x:()=>f});var E=x(930);function f(O,B,j,q,Q){return new k(O,B,j,q,Q)}class k extends E.Lv{constructor(B,j,q,Q,G,Y){super(B),this.onFinalize=G,this.shouldUnsubscribe=Y,this._next=j?function(z){try{j(z)}catch(re){B.error(re)}}:super._next,this._error=Q?function(z){try{Q(z)}catch(re){B.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){B.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},262:(F,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),f=x(5403),k=x(4482);function O(B){return(0,k.e)((j,q)=>{let Y,Q=null,G=!1;Q=j.subscribe((0,f.x)(q,void 0,void 0,z=>{Y=(0,E.Xf)(B(z,O(B)(j))),Q?(Q.unsubscribe(),Q=null,Y.subscribe(q)):G=!0})),G&&(Q.unsubscribe(),Q=null,Y.subscribe(q))})}},4351:(F,N,x)=>{"use strict";x.d(N,{b:()=>k});var E=x(5577),f=x(576);function k(O,B){return(0,f.m)(B)?(0,E.z)(O,B,1):(0,E.z)(O,1)}},8372:(F,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),f=x(4482),k=x(5403);function O(B,j=E.z){return(0,f.e)((q,Q)=>{let G=null,Y=null,z=null;const re=()=>{if(G){G.unsubscribe(),G=null;const $=Y;Y=null,Q.next($)}};function se(){const $=z+B,ae=j.now();if(ae<$)return G=this.schedule(void 0,$-ae),void Q.add(G);re()}q.subscribe((0,k.x)(Q,$=>{Y=$,z=j.now(),G||(G=j.schedule(se,B),Q.add(G))},()=>{re(),Q.complete()},void 0,()=>{Y=G=null}))})}},6590:(F,N,x)=>{"use strict";x.d(N,{d:()=>k});var E=x(4482),f=x(5403);function k(O){return(0,E.e)((B,j)=>{let q=!1;B.subscribe((0,f.x)(j,Q=>{q=!0,j.next(Q)},()=>{q||j.next(O),j.complete()}))})}},4825:(F,N,x)=>{"use strict";x.d(N,{g:()=>se});var E=x(4986),f=x(7272),k=x(5698),O=x(4482),B=x(5403),j=x(5032),Q=x(4004),Y=x(5577);function z($,ae){return ae?ie=>(0,f.z)(ae.pipe((0,k.q)(1),function q(){return(0,O.e)(($,ae)=>{$.subscribe((0,B.x)(ae,j.Z))})}()),ie.pipe(z($))):(0,Y.z)((ie,le)=>$(ie,le).pipe((0,k.q)(1),function G($){return(0,Q.U)(()=>$)}(ie)))}var re=x(2805);function se($,ae=E.z){const ie=(0,re.H)($,ae);return z(()=>ie)}},9300:(F,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(4482),f=x(5403);function k(O,B){return(0,E.e)((j,q)=>{let Q=0;j.subscribe((0,f.x)(q,G=>O.call(B,G,Q++)&&q.next(G)))})}},590:(F,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),f=x(9300),k=x(5698),O=x(6590),B=x(8068),j=x(4671);function q(Q,G){const Y=arguments.length>=2;return z=>z.pipe(Q?(0,f.h)((re,se)=>Q(re,se,z)):j.y,(0,k.q)(1),Y?(0,O.d)(G):(0,B.T)(()=>new E.K))}},4004:(F,N,x)=>{"use strict";x.d(N,{U:()=>k});var E=x(4482),f=x(5403);function k(O,B){return(0,E.e)((j,q)=>{let Q=0;j.subscribe((0,f.x)(q,G=>{q.next(O.call(B,G,Q++))}))})}},8189:(F,N,x)=>{"use strict";x.d(N,{J:()=>k});var E=x(5577),f=x(4671);function k(O=1/0){return(0,E.z)(f.y,O)}},5577:(F,N,x)=>{"use strict";x.d(N,{z:()=>Q});var E=x(4004),f=x(8421),k=x(4482),O=x(9672),B=x(5403),q=x(576);function Q(G,Y,z=1/0){return(0,q.m)(Y)?Q((re,se)=>(0,E.U)(($,ae)=>Y(re,$,se,ae))((0,f.Xf)(G(re,se))),z):("number"==typeof Y&&(z=Y),(0,k.e)((re,se)=>function j(G,Y,z,re,se,$,ae,ie){const le=[];let Te=0,Me=0,Pe=!1;const Ce=()=>{Pe&&!le.length&&!Te&&Y.complete()},fe=Ze=>Te{$&&Y.next(Ze),Te++;let Se=!1;(0,f.Xf)(z(Ze,Me++)).subscribe((0,B.x)(Y,xe=>{null==se||se(xe),$?fe(xe):Y.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Tewe(xe)):we(xe)}Ce()}catch(xe){Y.error(xe)}}))};return G.subscribe((0,B.x)(Y,fe,()=>{Pe=!0,Ce()})),()=>{null==ie||ie()}}(re,se,G,z)))}},3099:(F,N,x)=>{"use strict";x.d(N,{B:()=>B});var E=x(8421),f=x(7579),k=x(930),O=x(4482);function B(q={}){const{connector:Q=(()=>new f.x),resetOnError:G=!0,resetOnComplete:Y=!0,resetOnRefCountZero:z=!0}=q;return re=>{let se,$,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==$||$.unsubscribe(),$=void 0},Pe=()=>{Me(),se=ae=void 0,le=Te=!1},Ce=()=>{const fe=se;Pe(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,we)=>{ie++,!Te&&!le&&Me();const Ze=ae=null!=ae?ae:Q();we.add(()=>{ie--,0===ie&&!Te&&!le&&($=j(Ce,z))}),Ze.subscribe(we),!se&&ie>0&&(se=new k.Hp({next:Se=>Ze.next(Se),error:Se=>{Te=!0,Me(),$=j(Pe,G,Se),Ze.error(Se)},complete:()=>{le=!0,Me(),$=j(Pe,Y),Ze.complete()}}),(0,E.Xf)(fe).subscribe(se))})(re)}}function j(q,Q,...G){if(!0===Q)return void q();if(!1===Q)return;const Y=new k.Hp({next:()=>{Y.unsubscribe(),q()}});return Q(...G).subscribe(Y)}},3900:(F,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),f=x(4482),k=x(5403);function O(B,j){return(0,f.e)((q,Q)=>{let G=null,Y=0,z=!1;const re=()=>z&&!G&&Q.complete();q.subscribe((0,k.x)(Q,se=>{null==G||G.unsubscribe();let $=0;const ae=Y++;(0,E.Xf)(B(se,ae)).subscribe(G=(0,k.x)(Q,ie=>Q.next(j?j(se,ie,ae,$++):ie),()=>{G=null,re()}))},()=>{z=!0,re()}))})}},5698:(F,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),f=x(4482),k=x(5403);function O(B){return B<=0?()=>E.E:(0,f.e)((j,q)=>{let Q=0;j.subscribe((0,k.x)(q,G=>{++Q<=B&&(q.next(G),B<=Q&&q.complete())}))})}},8505:(F,N,x)=>{"use strict";x.d(N,{b:()=>B});var E=x(576),f=x(4482),k=x(5403),O=x(4671);function B(j,q,Q){const G=(0,E.m)(j)||q||Q?{next:j,error:q,complete:Q}:j;return G?(0,f.e)((Y,z)=>{var re;null===(re=G.subscribe)||void 0===re||re.call(G);let se=!0;Y.subscribe((0,k.x)(z,$=>{var ae;null===(ae=G.next)||void 0===ae||ae.call(G,$),z.next($)},()=>{var $;se=!1,null===($=G.complete)||void 0===$||$.call(G),z.complete()},$=>{var ae;se=!1,null===(ae=G.error)||void 0===ae||ae.call(G,$),z.error($)},()=>{var $,ae;se&&(null===($=G.unsubscribe)||void 0===$||$.call(G)),null===(ae=G.finalize)||void 0===ae||ae.call(G)}))}):O.y}},8068:(F,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),f=x(4482),k=x(5403);function O(j=B){return(0,f.e)((q,Q)=>{let G=!1;q.subscribe((0,k.x)(Q,Y=>{G=!0,Q.next(Y)},()=>G?Q.complete():Q.error(j())))})}function B(){return new E.K}},7414:(F,N,x)=>{"use strict";x.d(N,{V:()=>G});var E=x(4986),f=x(1165),k=x(4482),O=x(8421),B=x(3888),j=x(5403),q=x(9672);const Q=(0,B.d)(z=>function(se=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=se});function G(z,re){const{first:se,each:$,with:ae=Y,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,f.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==se&&null==$)throw new TypeError("No timeout provided.");return(0,k.e)((Te,Me)=>{let Pe,Ce,fe=null,we=0;const Ze=Se=>{Ce=(0,q.f)(Me,ie,()=>{try{Pe.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:we})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};Pe=Te.subscribe((0,j.x)(Me,Se=>{null==Ce||Ce.unsubscribe(),we++,Me.next(fe=Se),$>0&&Ze($)},void 0,void 0,()=>{(null==Ce?void 0:Ce.closed)||null==Ce||Ce.unsubscribe(),fe=null})),!we&&Ze(null!=se?"number"==typeof se?se:+se-ie.now():$)})}function Y(z){throw new Q(z)}},4408:(F,N,x)=>{"use strict";x.d(N,{o:()=>B});var E=x(727);class f extends E.w0{constructor(q,Q){super()}schedule(q,Q=0){return this}}const k={setInterval(j,q,...Q){const{delegate:G}=k;return(null==G?void 0:G.setInterval)?G.setInterval(j,q,...Q):setInterval(j,q,...Q)},clearInterval(j){const{delegate:q}=k;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class B extends f{constructor(q,Q){super(q,Q),this.scheduler=q,this.work=Q,this.pending=!1}schedule(q,Q=0){if(this.closed)return this;this.state=q;const G=this.id,Y=this.scheduler;return null!=G&&(this.id=this.recycleAsyncId(Y,G,Q)),this.pending=!0,this.delay=Q,this.id=this.id||this.requestAsyncId(Y,this.id,Q),this}requestAsyncId(q,Q,G=0){return k.setInterval(q.flush.bind(q,this),G)}recycleAsyncId(q,Q,G=0){if(null!=G&&this.delay===G&&!1===this.pending)return Q;k.clearInterval(Q)}execute(q,Q){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const G=this._execute(q,Q);if(G)return G;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Q){let Y,G=!1;try{this.work(q)}catch(z){G=!0,Y=z||new Error("Scheduled action threw falsy error")}if(G)return this.unsubscribe(),Y}unsubscribe(){if(!this.closed){const{id:q,scheduler:Q}=this,{actions:G}=Q;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(G,this),null!=q&&(this.id=this.recycleAsyncId(Q,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(F,N,x)=>{"use strict";x.d(N,{v:()=>k});var E=x(6063);class f{constructor(B,j=f.now){this.schedulerActionCtor=B,this.now=j}schedule(B,j=0,q){return new this.schedulerActionCtor(this,B).schedule(q,j)}}f.now=E.l.now;class k extends f{constructor(B,j=f.now){super(B,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(B){const{actions:j}=this;if(this._active)return void j.push(B);let q;this._active=!0;do{if(q=B.execute(B.state,B.delay))break}while(B=j.shift());if(this._active=!1,q){for(;B=j.shift();)B.unsubscribe();throw q}}}},4986:(F,N,x)=>{"use strict";x.d(N,{z:()=>k,P:()=>O});var E=x(4408);const k=new(x(7565).v)(E.o),O=k},6063:(F,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(F,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(f,k,...O){const{delegate:B}=E;return(null==B?void 0:B.setTimeout)?B.setTimeout(f,k,...O):setTimeout(f,k,...O)},clearTimeout(f){const{delegate:k}=E;return((null==k?void 0:k.clearTimeout)||clearTimeout)(f)},delegate:void 0}},2202:(F,N,x)=>{"use strict";x.d(N,{h:()=>f});const f=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(F,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(F,N,x)=>{"use strict";x.d(N,{K:()=>f});const f=(0,x(3888).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(F,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>B,_6:()=>j});var E=x(576),f=x(3532);function k(q){return q[q.length-1]}function O(q){return(0,E.m)(k(q))?q.pop():void 0}function B(q){return(0,f.K)(k(q))?q.pop():void 0}function j(q,Q){return"number"==typeof k(q)?q.pop():Q}},4742:(F,N,x)=>{"use strict";x.d(N,{D:()=>B});const{isArray:E}=Array,{getPrototypeOf:f,prototype:k,keys:O}=Object;function B(q){if(1===q.length){const Q=q[0];if(E(Q))return{args:Q,keys:null};if(function j(q){return q&&"object"==typeof q&&f(q)===k}(Q)){const G=O(Q);return{args:G.map(Y=>Q[Y]),keys:G}}}return{args:q,keys:null}}},8737:(F,N,x)=>{"use strict";function E(f,k){if(f){const O=f.indexOf(k);0<=O&&f.splice(O,1)}}x.d(N,{P:()=>E})},3888:(F,N,x)=>{"use strict";function E(f){const O=f(B=>{Error.call(B),B.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(F,N,x)=>{"use strict";function E(f,k){return f.reduce((O,B,j)=>(O[B]=k[j],O),{})}x.d(N,{n:()=>E})},2806:(F,N,x)=>{"use strict";x.d(N,{x:()=>k,O:()=>O});var E=x(2416);let f=null;function k(B){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!f;if(j&&(f={errorThrown:!1,error:null}),B(),j){const{errorThrown:q,error:Q}=f;if(f=null,q)throw Q}}else B()}function O(B){E.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=B)}},9672:(F,N,x)=>{"use strict";function E(f,k,O,B=0,j=!1){const q=k.schedule(function(){O(),j?f.add(this.schedule(null,B)):this.unsubscribe()},B);if(f.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(F,N,x)=>{"use strict";function E(f){return f}x.d(N,{y:()=>E})},1144:(F,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(F,N,x)=>{"use strict";x.d(N,{D:()=>f});var E=x(576);function f(k){return Symbol.asyncIterator&&(0,E.m)(null==k?void 0:k[Symbol.asyncIterator])}},1165:(F,N,x)=>{"use strict";function E(f){return f instanceof Date&&!isNaN(f)}x.d(N,{q:()=>E})},576:(F,N,x)=>{"use strict";function E(f){return"function"==typeof f}x.d(N,{m:()=>E})},3670:(F,N,x)=>{"use strict";x.d(N,{c:()=>k});var E=x(8822),f=x(576);function k(O){return(0,f.m)(O[E.L])}},6495:(F,N,x)=>{"use strict";x.d(N,{T:()=>k});var E=x(2202),f=x(576);function k(O){return(0,f.m)(null==O?void 0:O[E.h])}},8239:(F,N,x)=>{"use strict";x.d(N,{t:()=>f});var E=x(576);function f(k){return(0,E.m)(null==k?void 0:k.then)}},3260:(F,N,x)=>{"use strict";x.d(N,{Q:()=>k,L:()=>O});var E=x(655),f=x(576);function k(B){return(0,E.FC)(this,arguments,function*(){const q=B.getReader();try{for(;;){const{value:Q,done:G}=yield(0,E.qq)(q.read());if(G)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Q)}}finally{q.releaseLock()}})}function O(B){return(0,f.m)(null==B?void 0:B.getReader)}},3532:(F,N,x)=>{"use strict";x.d(N,{K:()=>f});var E=x(576);function f(k){return k&&(0,E.m)(k.schedule)}},4482:(F,N,x)=>{"use strict";x.d(N,{A:()=>f,e:()=>k});var E=x(576);function f(O){return(0,E.m)(null==O?void 0:O.lift)}function k(O){return B=>{if(f(B))return B.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(F,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:f}=Array;function O(B){return(0,E.U)(j=>function k(B,j){return f(j)?B(...j):B(j)}(B,j))}},5032:(F,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(F,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(2416),f=x(3410);function k(O){f.z.setTimeout(()=>{const{onUnhandledError:B}=E.v;if(!B)throw O;B(O)})}},4532:(F,N,x)=>{"use strict";function E(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(F,N,x)=>{"use strict";function Q(ne,ce,de,ge){return new(de||(de=Promise))(function(De,tt){function Rt(oi){try{Ne(ge.next(oi))}catch(dr){tt(dr)}}function Vt(oi){try{Ne(ge.throw(oi))}catch(dr){tt(dr)}}function Ne(oi){oi.done?De(oi.value):function pe(De){return De instanceof de?De:new de(function(tt){tt(De)})}(oi.value).then(Rt,Vt)}Ne((ge=ge.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ge=de.apply(ne,ce||[]),De=[];return pe={},tt("next"),tt("throw"),tt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function tt(ti){ge[ti]&&(pe[ti]=function(Mt){return new Promise(function(zn,Ui){De.push([ti,Mt,zn,Ui])>1||Rt(ti,Mt)})})}function Rt(ti,Mt){try{!function Vt(ti){ti.value instanceof le?Promise.resolve(ti.value.v).then(Ne,oi):dr(De[0][2],ti)}(ge[ti](Mt))}catch(zn){dr(De[0][3],zn)}}function Ne(ti){Rt("next",ti)}function oi(ti){Rt("throw",ti)}function dr(ti,Mt){ti(Mt),De.shift(),De.length&&Rt(De[0][0],De[0][1])}}function Pe(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],ge=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&ge>=ne.length&&(ne=void 0),{value:ne&&ne[ge++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},ge("next"),ge("throw"),ge("return"),de[Symbol.asyncIterator]=function(){return this},de);function ge(De){de[De]=ne[De]&&function(tt){return new Promise(function(Rt,Vt){!function pe(De,tt,Rt,Vt){Promise.resolve(Vt).then(function(Ne){De({value:Ne,done:Rt})},tt)}(Rt,Vt,(tt=ne[De](tt)).done,tt.value)})}}}x.d(N,{mG:()=>Q,qq:()=>le,FC:()=>Te,KL:()=>Pe})},9808:(F,N,x)=>{"use strict";x.d(N,{mr:()=>Me,ez:()=>ft,K0:()=>q,Do:()=>Ce,V_:()=>Y,Ye:()=>fe,S$:()=>le,sg:()=>yi,O5:()=>qi,PC:()=>au,RF:()=>Oi,n9:()=>Wi,b0:()=>Pe,lw:()=>Q,EM:()=>ou,JF:()=>gt,NF:()=>ji,w_:()=>j,bD:()=>$i,q:()=>k,Mx:()=>ms,HT:()=>B});var E=x(5e3);let f=null;function k(){return f}function B(M){f||(f=M)}class j{}const q=new E.OlP("DocumentToken");let Q=(()=>{class M{historyGo(D){throw new Error("Not implemented")}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function G(){return(0,E.LFG)(z)}()},providedIn:"platform"}),M})();const Y=new E.OlP("Location Initialized");let z=(()=>{class M extends Q{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(D){const V=k().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",D,!1),()=>V.removeEventListener("popstate",D)}onHashChange(D){const V=k().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",D,!1),()=>V.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,V,J){re()?this._history.pushState(D,V,J):this.location.hash=J}replaceState(D,V,J){re()?this._history.replaceState(D,V,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function se(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),M})();function re(){return!!window.history.pushState}function $(M,I){if(0==M.length)return I;if(0==I.length)return M;let D=0;return M.endsWith("/")&&D++,I.startsWith("/")&&D++,2==D?M+I.substring(1):1==D?M+I:M+"/"+I}function ae(M){const I=M.match(/#|\?|$/),D=I&&I.index||M.length;return M.slice(0,D-("/"===M[D-1]?1:0))+M.slice(D)}function ie(M){return M&&"?"!==M[0]?"?"+M:M}let le=(()=>{class M{historyGo(D){throw new Error("Not implemented")}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function Te(M){const I=(0,E.LFG)(q).location;return new Pe((0,E.LFG)(Q),I&&I.origin||"")}()},providedIn:"root"}),M})();const Me=new E.OlP("appBaseHref");let Pe=(()=>{class M extends le{constructor(D,V){if(super(),this._platformLocation=D,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return $(this._baseHref,D)}path(D=!1){const V=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&D?`${V}${J}`:V}pushState(D,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(D,V,_e)}replaceState(D,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(D,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,D)}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(Q),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),Ce=(()=>{class M extends le{constructor(D,V){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(D){const V=$(this._baseHref,D);return V.length>0?"#"+V:V}pushState(D,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(D,V,_e)}replaceState(D,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(D,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,D)}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(Q),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),fe=(()=>{class M{constructor(D,V){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=D;const J=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(D=!1){return this.normalize(this._platformStrategy.path(D))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(D,V=""){return this.path()==this.normalize(D+ie(V))}normalize(D){return M.stripTrailingSlash(function Ze(M,I){return M&&I.startsWith(M)?I.substring(M.length):I}(this._baseHref,Se(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._platformStrategy.prepareExternalUrl(D)}go(D,V="",J=null){this._platformStrategy.pushState(J,"",D,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ie(V)),J)}replaceState(D,V="",J=null){this._platformStrategy.replaceState(J,"",D,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ie(V)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformStrategy).historyGo)||void 0===J||J.call(V,D)}onUrlChange(D){this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(D="",V){this._urlChangeListeners.forEach(J=>J(D,V))}subscribe(D,V,J){return this._subject.subscribe({next:D,error:V,complete:J})}}return M.normalizeQueryParams=ie,M.joinWithSlash=$,M.stripTrailingSlash=ae,M.\u0275fac=function(D){return new(D||M)(E.LFG(le),E.LFG(Q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function we(){return new fe((0,E.LFG)(le),(0,E.LFG)(Q))}()},providedIn:"root"}),M})();function Se(M){return M.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))();const hr=E.kL8;class Bt{}let pr=(()=>{class M extends Bt{constructor(D){super(),this.locale=D}getPluralCategory(D,V){switch(hr(V||this.locale)(D)){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 M.\u0275fac=function(D){return new(D||M)(E.LFG(E.soG))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})();function ms(M,I){I=encodeURIComponent(I);for(const D of M.split(";")){const V=D.indexOf("="),[J,ue]=-1==V?[D,""]:[D.slice(0,V),D.slice(V+1)];if(J.trim()===I)return decodeURIComponent(ue)}return null}class ha{constructor(I,D,V,J){this.$implicit=I,this.ngForOf=D,this.index=V,this.count=J}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 yi=(()=>{class M{constructor(D,V,J){this._viewContainer=D,this._template=V,this._differs=J,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const V=this._viewContainer;D.forEachOperation((J,ue,_e)=>{if(null==J.previousIndex)V.createEmbeddedView(this._template,new ha(J.item,this._ngForOf,-1,-1),null===_e?void 0:_e);else if(null==_e)V.remove(null===ue?void 0:ue);else if(null!==ue){const Ge=V.get(ue);V.move(Ge,_e),pa(Ge,J)}});for(let J=0,ue=V.length;J{pa(V.get(J.currentIndex),J)})}static ngTemplateContextGuard(D,V){return!0}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function pa(M,I){M.context.$implicit=I.item}let qi=(()=>{class M{constructor(D,V){this._viewContainer=D,this._context=new It,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){ru("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){ru("ngIfElse",D),this._elseTemplateRef=D,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(D,V){return!0}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class It{constructor(){this.$implicit=null,this.ngIf=null}}function ru(M,I){if(I&&!I.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,E.AaK)(I)}'.`)}class Kl{constructor(I,D){this._viewContainerRef=I,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let Oi=(()=>{class M{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const V=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let V=0;V{class M{constructor(D,V,J){this.ngSwitch=J,J._addCase(),this._view=new Kl(D,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(Oi,9))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),M})(),au=(()=>{class M{constructor(D,V,J){this._ngEl=D,this._differs=V,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,V){const[J,ue]=D.split(".");null!=(V=null!=V&&ue?`${V}${ue}`:V)?this._renderer.setStyle(this._ngEl.nativeElement,J,V):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(D){D.forEachRemovedItem(V=>this._setStyle(V.key,null)),D.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),D.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})(),ft=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=E.oAB({type:M}),M.\u0275inj=E.cJS({providers:[{provide:Bt,useClass:pr}]}),M})();const $i="browser";function ji(M){return M===$i}let ou=(()=>{class M{}return M.\u0275prov=(0,E.Yz7)({token:M,providedIn:"root",factory:()=>new Cs((0,E.LFG)(q),window)}),M})();class Cs{constructor(I,D){this.document=I,this.window=D,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const D=function vs(M,I){const D=M.getElementById(I)||M.getElementsByName(I)[0];if(D)return D;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const V=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let J=V.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(I)||ue.querySelector(`[name="${I}"]`);if(_e)return _e}J=V.nextNode()}}return null}(this.document,I);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=I)}}scrollToElement(I){const D=I.getBoundingClientRect(),V=D.left+this.window.pageXOffset,J=D.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(V-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=ys(this.window.history)||ys(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch(I){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(I){return!1}}}function ys(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class gt{}},520:(F,N,x)=>{"use strict";x.d(N,{TP:()=>tt,eN:()=>pe,JF:()=>bi,qT:()=>Me,WM:()=>Y,LE:()=>le,Zn:()=>ce});var E=x(9808),f=x(5e3),k=x(9646),O=x(8306),B=x(4351),j=x(9300),q=x(4004);class Q{}class G{}class Y{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const ve=ee.slice(0,Ae),ke=ve.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(ve,ke),this.headers.has(ke)?this.headers.get(ke).push(Re):this.headers.set(ke,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const ve=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(ve,Ae),this.maybeSetNormalizedName(ee,ve))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new Y;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const ve=("a"===X.op?this.headers.get(ee):void 0)||[];ve.push(...Ae),this.headers.set(ee,ve);break;case"d":const ke=X.value;if(ke){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===ke.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const se=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(be){return encodeURIComponent(be).replace(se,(X,ee)=>{var Ae;return null!==(Ae=$[ee])&&void 0!==Ae?Ae:X})}function ie(be){return`${be}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(be,X){const ee=new Map;return be.length>0&&be.replace(/^\?/,"").split("&").forEach(ve=>{const ke=ve.indexOf("="),[Re,ze]=-1==ke?[X.decodeKey(ve),""]:[X.decodeKey(ve.slice(0,ke)),X.decodeValue(ve.slice(ke+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const ve=X[Ae];Array.isArray(ve)?ve.forEach(ke=>{ee.push({param:Ae,value:ke,op:"a"})}):ee.push({param:Ae,value:ve,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const ve=Ae.indexOf(ie(X.value));-1!==ve&&Ae.splice(ve,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ce(be){return"undefined"!=typeof ArrayBuffer&&be instanceof ArrayBuffer}function fe(be){return"undefined"!=typeof Blob&&be instanceof Blob}function we(be){return"undefined"!=typeof FormData&&be instanceof FormData}class Se{constructor(X,ee,Ae,ve){let ke;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function Pe(be){switch(be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==Ae?Ae:null,ke=ve):ke=Ae,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new Y),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeQt.set(ht,X.setHeaders[ht]),Yt)),X.setParams&&(ut=Object.keys(X.setParams).reduce((Qt,ht)=>Qt.set(ht,X.setParams[ht]),ut)),new Se(Ae,ve,Re,{params:ut,headers:Yt,context:Un,reportProgress:_t,responseType:ke,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Ve{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new Y,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Ve{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Ve{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Ve{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function ge(be,X){return{body:X,headers:be.headers,context:be.context,observe:be.observe,params:be.params,reportProgress:be.reportProgress,responseType:be.responseType,withCredentials:be.withCredentials}}let pe=(()=>{class be{constructor(ee){this.handler=ee}request(ee,Ae,ve={}){let ke;if(ee instanceof Se)ke=ee;else{let _t,Yt;_t=ve.headers instanceof Y?ve.headers:new Y(ve.headers),ve.params&&(Yt=ve.params instanceof le?ve.params:new le({fromObject:ve.params})),ke=new Se(ee,Ae,void 0!==ve.body?ve.body:null,{headers:_t,context:ve.context,params:Yt,reportProgress:ve.reportProgress,responseType:ve.responseType||"json",withCredentials:ve.withCredentials})}const Re=(0,k.of)(ke).pipe((0,B.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===ve.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(ve.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${ve.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,ve={}){return this.request("PATCH",ee,ge(ve,Ae))}post(ee,Ae,ve={}){return this.request("POST",ee,ge(ve,Ae))}put(ee,Ae,ve={}){return this.request("PUT",ee,ge(ve,Ae))}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(Q))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();class De{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const tt=new f.OlP("HTTP_INTERCEPTORS");let Rt=(()=>{class be{intercept(ee,Ae){return Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();const Ui=/^\)\]\}',?\n/;let ur=(()=>{class be{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const ve=this.xhrFactory.build();if(ve.open(ee.method,ee.urlWithParams),ee.withCredentials&&(ve.withCredentials=!0),ee.headers.forEach((ht,Oe)=>ve.setRequestHeader(ht,Oe.join(","))),ee.headers.has("Accept")||ve.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ht=ee.detectContentTypeHeader();null!==ht&&ve.setRequestHeader("Content-Type",ht)}if(ee.responseType){const ht=ee.responseType.toLowerCase();ve.responseType="json"!==ht?ht:"text"}const ke=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ht=ve.statusText||"OK",Oe=new Y(ve.getAllResponseHeaders()),ln=function si(be){return"responseURL"in be&&be.responseURL?be.responseURL:/^X-Request-URL:/m.test(be.getAllResponseHeaders())?be.getResponseHeader("X-Request-URL"):null}(ve)||ee.url;return Re=new ne({headers:Oe,status:ve.status,statusText:ht,url:ln}),Re},_t=()=>{let{headers:ht,status:Oe,statusText:ln,url:At}=ze(),ii=null;204!==Oe&&(ii=void 0===ve.response?ve.responseText:ve.response),0===Oe&&(Oe=ii?200:0);let Tn=Oe>=200&&Oe<300;if("json"===ee.responseType&&"string"==typeof ii){const cn=ii;ii=ii.replace(Ui,"");try{ii=""!==ii?JSON.parse(ii):null}catch(En){ii=cn,Tn&&(Tn=!1,ii={error:En,text:ii})}}Tn?(Ae.next(new ce({body:ii,headers:ht,status:Oe,statusText:ln,url:At||void 0})),Ae.complete()):Ae.error(new de({error:ii,headers:ht,status:Oe,statusText:ln,url:At||void 0}))},Yt=ht=>{const{url:Oe}=ze(),ln=new de({error:ht,status:ve.status||0,statusText:ve.statusText||"Unknown Error",url:Oe||void 0});Ae.error(ln)};let ut=!1;const Un=ht=>{ut||(Ae.next(ze()),ut=!0);let Oe={type:xe.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(Oe.total=ht.total),"text"===ee.responseType&&!!ve.responseText&&(Oe.partialText=ve.responseText),Ae.next(Oe)},Qt=ht=>{let Oe={type:xe.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(Oe.total=ht.total),Ae.next(Oe)};return ve.addEventListener("load",_t),ve.addEventListener("error",Yt),ve.addEventListener("timeout",Yt),ve.addEventListener("abort",Yt),ee.reportProgress&&(ve.addEventListener("progress",Un),null!==ke&&ve.upload&&ve.upload.addEventListener("progress",Qt)),ve.send(ke),Ae.next({type:xe.Sent}),()=>{ve.removeEventListener("error",Yt),ve.removeEventListener("abort",Yt),ve.removeEventListener("load",_t),ve.removeEventListener("timeout",Yt),ee.reportProgress&&(ve.removeEventListener("progress",Un),null!==ke&&ve.upload&&ve.upload.removeEventListener("progress",Qt)),ve.readyState!==ve.DONE&&ve.abort()}})}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(E.JF))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();const eo=new f.OlP("XSRF_COOKIE_NAME"),to=new f.OlP("XSRF_HEADER_NAME");class io{}let Rr=(()=>{class be{constructor(ee,Ae,ve){this.doc=ee,this.platform=Ae,this.cookieName=ve,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(E.K0),f.LFG(f.Lbi),f.LFG(eo))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),hr=(()=>{class be{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const ve=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||ve.startsWith("http://")||ve.startsWith("https://"))return Ae.handle(ee);const ke=this.tokenService.getToken();return null!==ke&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,ke)})),Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(io),f.LFG(to))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),Ir=(()=>{class be{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(tt,[]);this.chain=Ae.reduceRight((ve,ke)=>new De(ve,ke),this.backend)}return this.chain.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(G),f.LFG(f.zs3))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),us=(()=>{class be{static disable(){return{ngModule:be,providers:[{provide:hr,useClass:Rt}]}}static withOptions(ee={}){return{ngModule:be,providers:[ee.cookieName?{provide:eo,useValue:ee.cookieName}:[],ee.headerName?{provide:to,useValue:ee.headerName}:[]]}}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=f.oAB({type:be}),be.\u0275inj=f.cJS({providers:[hr,{provide:tt,useExisting:hr,multi:!0},{provide:io,useClass:Rr},{provide:eo,useValue:"XSRF-TOKEN"},{provide:to,useValue:"X-XSRF-TOKEN"}]}),be})(),bi=(()=>{class be{}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=f.oAB({type:be}),be.\u0275inj=f.cJS({providers:[pe,{provide:Q,useClass:Ir},ur,{provide:G,useExisting:ur}],imports:[[us.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),be})()},5e3:(F,N,x)=>{"use strict";x.d(N,{deG:()=>Au,tb:()=>Vw,AFp:()=>Rw,ip1:()=>bp,CZH:()=>as,hGG:()=>Yd,z2F:()=>os,sBO:()=>M_,Sil:()=>b_,_Vd:()=>_d,EJc:()=>Bw,SBq:()=>Dr,qLn:()=>Io,vpe:()=>Ei,tBr:()=>Ns,XFs:()=>it,OlP:()=>Ut,zs3:()=>bn,ZZ4:()=>Wd,aQg:()=>Dp,soG:()=>Cp,YKP:()=>iw,h0i:()=>yl,PXZ:()=>UT,R0b:()=>wn,FiY:()=>Fr,Lbi:()=>kw,g9A:()=>Iw,n_E:()=>xd,Qsj:()=>Zv,FYo:()=>Km,JOm:()=>wr,q3G:()=>Zt,tp0:()=>jr,Rgc:()=>Td,dDg:()=>Lw,GfV:()=>bd,s_b:()=>Md,ifc:()=>ke,eFA:()=>x_,G48:()=>ai,Gpc:()=>z,f3M:()=>Cf,_c5:()=>iA,VLi:()=>jw,c2e:()=>__,zSh:()=>ph,wAp:()=>Qe,vHH:()=>ae,EiD:()=>gC,mCW:()=>wc,qzn:()=>Do,JVY:()=>rC,pB0:()=>Sf,eBb:()=>aC,L6k:()=>Fu,LAX:()=>oC,cg1:()=>Dm,kL8:()=>gv,yhl:()=>Ef,dqk:()=>ut,sIi:()=>ol,CqO:()=>an,QGY:()=>sd,F4k:()=>Xr,RDi:()=>ys,AaK:()=>Q,z3N:()=>Kn,qOj:()=>Th,TTD:()=>Hi,_Bn:()=>Yv,xp6:()=>Qu,uIk:()=>Ni,ekj:()=>Cm,Suo:()=>op,Xpm:()=>ps,lG2:()=>Ft,Yz7:()=>Mt,cJS:()=>Ui,oAB:()=>ca,Yjl:()=>jt,Y36:()=>Er,_UZ:()=>rm,GkF:()=>sm,BQk:()=>od,ynx:()=>ad,qZA:()=>rd,TgZ:()=>Vh,EpF:()=>lm,n5z:()=>df,Ikx:()=>fd,LFG:()=>mi,$8M:()=>va,$Z:()=>nm,NdJ:()=>Bh,CRH:()=>Id,kcU:()=>Ss,O4$:()=>ef,oxw:()=>Ly,ALo:()=>wd,lcZ:()=>a_,xi3:()=>xl,Dn7:()=>o_,Hsn:()=>jy,F$t:()=>Fy,Q6J:()=>kh,s9C:()=>dm,DdM:()=>ow,VKq:()=>t_,WLB:()=>sw,iGM:()=>Hl,MAs:()=>qg,CHM:()=>Jp,oJD:()=>Uu,LSH:()=>Gu,Udp:()=>dd,WFA:()=>dl,d8E:()=>hl,YNc:()=>Ug,_uU:()=>iv,Oqu:()=>Uh,hij:()=>pd,AsE:()=>xm,Gf:()=>ap});var E=x(7579),f=x(727),k=x(8306),O=x(6451),B=x(3099);function j(h){for(let p in h)if(h[p]===j)return p;throw Error("Could not find renamed property on target object.")}function q(h,p){for(const m in p)p.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=p[m])}function Q(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Q).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const p=h.toString();if(null==p)return""+p;const m=p.indexOf("\n");return-1===m?p:p.substring(0,m)}function G(h,p){return null==h||""===h?null===p?"":p:null==p||""===p?h:h+" "+p}const Y=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Q(this())},h}function re(h){return se(h)?h():h}function se(h){return"function"==typeof h&&h.hasOwnProperty(Y)&&h.__forward_ref__===z}class ae extends Error{constructor(p,m){super(function ie(h,p){return`NG0${Math.abs(h)}${p?": "+p:""}`}(p,m)),this.code=p}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,p){const m=p?` in ${p}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Vt(h,p){null==h&&function Ne(h,p,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${p} <=Actual]`))}(p,h,null,"!=")}function Mt(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Ui(h){return{providers:h.providers||[],imports:h.imports||[]}}function si(h){return ur(h,Rr)||ur(h,Ir)}function ur(h,p){return h.hasOwnProperty(p)?h[p]:null}function io(h){return h&&(h.hasOwnProperty(hr)||h.hasOwnProperty(nu))?h[hr]:null}const Rr=j({\u0275prov:j}),hr=j({\u0275inj:j}),Ir=j({ngInjectableDef:j}),nu=j({ngInjectorDef:j});var it=(()=>((it=it||{})[it.Default=0]="Default",it[it.Host=1]="Host",it[it.Self=2]="Self",it[it.SkipSelf=4]="SkipSelf",it[it.Optional=8]="Optional",it))();let us;function Vi(h){const p=us;return us=h,p}function hs(h,p,m){const _=si(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&it.Optional?null:void 0!==p?p:void fe(Q(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),ke=(()=>{return(h=ke||(ke={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",ke;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ut=Re||"undefined"!=typeof global&&global||ze||_t,ht={},Oe=[],ln=j({\u0275cmp:j}),At=j({\u0275dir:j}),ii=j({\u0275pipe:j}),Tn=j({\u0275mod:j}),cn=j({\u0275fac:j}),En=j({__NG_ELEMENT_ID__:j});let Gp=0;function ps(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Oe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||ke.Emulated,id:"c",styles:h.styles||Oe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,v=h.features,w=h.pipes;return _.id+=Gp++,_.inputs=y(h.inputs,m),_.outputs=y(h.outputs),v&&v.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(no):null,_.pipeDefs=w?()=>("function"==typeof w?w():w).map(Sn):null,_})}function no(h){return li(h)||function We(h){return h[At]||null}(h)}function Sn(h){return function Gn(h){return h[ii]||null}(h)}const Ql={};function ca(h){return X(()=>{const p={type:h.type,bootstrap:h.bootstrap||Oe,declarations:h.declarations||Oe,imports:h.imports||Oe,exports:h.exports||Oe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(Ql[h.id]=h.type),p})}function y(h,p){if(null==h)return ht;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],v=C;Array.isArray(C)&&(v=C[1],C=C[0]),m[C]=_,p&&(p[C]=v)}return m}const Ft=ps;function jt(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function li(h){return h[ln]||null}function gi(h,p){const m=h[Tn]||null;if(!m&&!0===p)throw new Error(`Type ${Q(h)} does not have '\u0275mod' property.`);return m}function Oi(h){return Array.isArray(h)&&"object"==typeof h[1]}function Wi(h){return Array.isArray(h)&&!0===h[1]}function Zl(h){return 0!=(8&h.flags)}function Xl(h){return 2==(2&h.flags)}function ao(h){return 1==(1&h.flags)}function dn(h){return null!==h.template}function au(h){return 0!=(512&h[2])}function Di(h,p){return h.hasOwnProperty(cn)?h[cn]:null}class ui{constructor(p,m,_){this.previousValue=p,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function Hi(){return Fi}function Fi(h){return h.type.prototype.ngOnChanges&&(h.setInput=Yp),ec}function ec(){const h=$i(this),p=null==h?void 0:h.current;if(p){const m=h.previous;if(m===ht)h.previous=p;else for(let _ in p)m[_]=p[_];h.current=null,this.ngOnChanges(p)}}function Yp(h,p,m,_){const C=$i(h)||function hi(h,p){return h[ft]=p}(h,{previous:ht,current:null}),v=C.current||(C.current={}),w=C.previous,T=this.declaredInputs[m],S=w[T];v[T]=new ui(S&&S.currentValue,p,w===ht),h[_]=p}Hi.ngInherit=!0;const ft="__ngSimpleChanges__";function $i(h){return h[ft]||null}let Cs;function ys(h){Cs=h}function vs(){return void 0!==Cs?Cs:"undefined"!=typeof document?document:void 0}function gt(h){return!!h.listen}const M={createRenderer:(h,p)=>vs()};function D(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,p){return D(p[h])}function _e(h,p){return D(p[h.index])}function Ht(h,p){return h.data[p]}function Tt(h,p){return h[p]}function mt(h,p){const m=p[h];return Oi(m)?m:m[0]}function yt(h){return 4==(4&h[2])}function Kt(h){return 128==(128&h[2])}function Nt(h,p){return null==p?null:h[p]}function Br(h){h[18]=0}function Dn(h,p){h[5]+=p;let m=h,_=h[3];for(;null!==_&&(1===p&&1===m[5]||-1===p&&0===m[5]);)_[5]+=p,m=_,_=_[3]}const Je={lFrame:fo(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ma(){return Je.bindingsEnabled}function ye(){return Je.lFrame.lView}function vt(){return Je.lFrame.tView}function Jp(h){return Je.lFrame.contextLView=h,h[8]}function Pt(){let h=lu();for(;null!==h&&64===h.type;)h=h.parent;return h}function lu(){return Je.lFrame.currentTNode}function Hn(h,p){const m=Je.lFrame;m.currentTNode=h,m.isParent=p}function Kp(){return Je.lFrame.isParent}function ni(){Je.lFrame.isParent=!1}function nc(){return Je.isInCheckNoChangesMode}function As(h){Je.isInCheckNoChangesMode=h}function wi(){const h=Je.lFrame;let p=h.bindingRootIndex;return-1===p&&(p=h.bindingRootIndex=h.tView.bindingStartIndex),p}function po(){return Je.lFrame.bindingIndex++}function Yn(h){const p=Je.lFrame,m=p.bindingIndex;return p.bindingIndex=p.bindingIndex+h,m}function _a(h,p){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,ba(p)}function ba(h){Je.lFrame.currentDirectiveIndex=h}function du(h){const p=Je.lFrame.currentDirectiveIndex;return-1===p?null:h[p]}function Or(){return Je.lFrame.currentQueryIndex}function uu(h){Je.lFrame.currentQueryIndex=h}function Xp(h){const p=h[1];return 2===p.type?p.declTNode:1===p.type?h[6]:null}function hu(h,p,m){if(m&it.SkipSelf){let C=p,v=h;for(;!(C=C.parent,null!==C||m&it.Host||(C=Xp(v),null===C||(v=v[15],10&C.type))););if(null===C)return!1;p=C,h=v}const _=Je.lFrame=Ts();return _.currentTNode=p,_.lView=h,!0}function rc(h){const p=Ts(),m=h[1];Je.lFrame=p,p.currentTNode=m.firstChild,p.lView=h,p.tView=m,p.contextLView=h,p.bindingIndex=m.bindingStartIndex,p.inI18n=!1}function Ts(){const h=Je.lFrame,p=null===h?null:h.child;return null===p?fo(h):p}function fo(h){const p={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:h,child:null,inI18n:!1};return null!==h&&(h.child=p),p}function pu(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const Es=pu;function ac(){const h=pu();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function Ai(){return Je.lFrame.selectedIndex}function _r(h){Je.lFrame.selectedIndex=h}function zt(){const h=Je.lFrame;return Ht(h.tView,h.selectedIndex)}function ef(){Je.lFrame.currentNamespace="svg"}function Ss(){!function vb(){Je.lFrame.currentNamespace=null}()}function sc(h,p){for(let m=p.directiveStart,_=p.directiveEnd;m<_;m++){const v=h.data[m].type.prototype,{ngAfterContentInit:w,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=v;w&&(h.contentHooks||(h.contentHooks=[])).push(-m,w),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function lc(h,p,m){cc(h,p,3,m)}function Ms(h,p,m,_){(3&h[2])===m&&cc(h,p,m,_)}function Ds(h,p){let m=h[2];(3&m)===p&&(m&=2047,m+=1,h[2]=m)}function cc(h,p,m,_){const v=null!=_?_:-1,w=p.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else p[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===p){h[2]+=2048;try{v.call(T)}finally{}}}else try{v.call(T)}finally{}}class go{constructor(p,m,_){this.factory=p,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function Hs(h,p,m){const _=gt(h);let C=0;for(;Cp){w=v-1;break}}}for(;v>16}(h),_=p;for(;m>0;)_=_[15],m--;return _}let Ca=!0;function bo(h){const p=Ca;return Ca=h,p}let mu=0;function Rs(h,p){const m=fc(h,p);if(-1!==m)return m;const _=p[1];_.firstCreatePass&&(h.injectorIndex=p.length,_u(_.data,h),_u(p,null),_u(_.blueprint,null));const C=ya(h,p),v=h.injectorIndex;if(rf(C)){const w=_o(C),T=Cr(C,p),S=T[1].data;for(let P=0;P<8;P++)p[v+P]=T[w+P]|S[w+P]}return p[v+8]=C,v}function _u(h,p){h.push(0,0,0,0,0,0,0,0,p)}function fc(h,p){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===p[h.injectorIndex+8]?-1:h.injectorIndex}function ya(h,p){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=p;for(;null!==C;){const v=C[1],w=v.type;if(_=2===w?v.declTNode:1===w?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function gc(h,p,m){!function Db(h,p,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(En)&&(_=m[En]),null==_&&(_=m[En]=mu++);const C=255&_;p.data[h+(C>>5)]|=1<=0?255&p:Hb:p}(m);if("function"==typeof v){if(!hu(p,h,_))return _&it.Host?sf(C,m,_):Cu(p,m,_,C);try{const w=v(_);if(null!=w||_&it.Optional)return w;fe(m)}finally{Es()}}else if("number"==typeof v){let w=null,T=fc(h,p),S=-1,P=_&it.Host?p[16][6]:null;for((-1===T||_&it.SkipSelf)&&(S=-1===T?ya(h,p):p[T+8],-1!==S&&cf(_,!1)?(w=p[1],T=_o(S),p=Cr(S,p)):T=-1);-1!==T;){const R=p[1];if(Lr(v,T,R.data)){const L=Pb(T,p,m,w,_,P);if(L!==lf)return L}S=p[T+8],-1!==S&&cf(_,p[1].data[T+8]===P)&&Lr(v,T,p)?(w=R,T=_o(S),p=Cr(S,p)):T=-1}}}return Cu(p,m,_,C)}const lf={};function Hb(){return new yo(Pt(),ye())}function Pb(h,p,m,_,C,v){const w=p[1],T=w.data[h+8],R=Co(T,w,m,null==_?Xl(T)&&Ca:_!=w&&0!=(3&T.type),C&it.Host&&v===T);return null!==R?hn(p,w,R,T):lf}function Co(h,p,m,_,C){const v=h.providerIndexes,w=p.data,T=1048575&v,S=h.directiveStart,R=v>>20,W=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=w[S];if(te&&dn(te)&&te.type===m)return S}return null}function hn(h,p,m,_){let C=h[m];const v=p.data;if(function tf(h){return h instanceof go}(C)){const w=C;w.resolving&&function Me(h,p){const m=p?`. Dependency path: ${p.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(v[m]));const T=bo(w.canSeeViewProviders);w.resolving=!0;const S=w.injectImpl?Vi(w.injectImpl):null;hu(h,_,it.Default);try{C=h[m]=w.factory(void 0,v,h,_),p.firstCreatePass&&m>=_.directiveStart&&function Ab(h,p,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:v}=p.type.prototype;if(_){const w=Fi(p);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),v&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v))}(m,v[m],p)}finally{null!==S&&Vi(S),bo(T),w.resolving=!1,Es()}}return C}function Lr(h,p,m){return!!(m[p+(h>>5)]&1<{const p=h.prototype.constructor,m=p[cn]||vu(p),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const v=C[cn]||vu(C);if(v&&v!==m)return v;C=Object.getPrototypeOf(C)}return v=>new v})}function vu(h){return se(h)?()=>{const p=vu(re(h));return p&&p()}:Di(h)}function va(h){return function bu(h,p){if("class"===p)return h.classes;if("style"===p)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const v=m[C];if(hc(v))break;if(0===v)C+=2;else if("number"==typeof v)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(v===p)return m[C+1];C+=2}}}return null}(Pt(),h)}const vo="__parameters__";function wa(h,p,m){return X(()=>{const _=function wu(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(p);function C(...v){if(this instanceof C)return _.apply(this,v),this;const w=new C(...v);return T.annotation=w,T;function T(S,P,R){const L=S.hasOwnProperty(vo)?S[vo]:Object.defineProperty(S,vo,{value:[]})[vo];for(;L.length<=R;)L.push(null);return(L[R]=L[R]||[]).push(w),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class Ut{constructor(p,m){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Mt({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Au=new Ut("AnalyzeForEntryComponents");function Ki(h,p){void 0===p&&(p=h);for(let m=0;mArray.isArray(m)?Zi(m,p):p(m))}function Eu(h,p,m){p>=h.length?h.push(m):h.splice(p,0,m)}function mc(h,p){return p>=h.length-1?h.pop():h.splice(p,1)[0]}function Bs(h,p){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function Fb(h,p,m,_){let C=h.length;if(C==p)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>p;)h[C]=h[C-2],C--;h[p]=m,h[p+1]=_}}(h,_,p,m)),_}function Mu(h,p){const m=xo(h,p);if(m>=0)return h[1|m]}function xo(h,p){return function pf(h,p,m){let _=0,C=h.length>>m;for(;C!==_;){const v=_+(C-_>>1),w=h[v<p?C=v:_=v+1}return~(C<({token:h})),-1),Fr=To(wa("Optional"),8),jr=To(wa("SkipSelf"),4);let yr,Us;function Mo(h){var p;return(null===(p=function Ou(){if(void 0===yr&&(yr=null,ut.trustedTypes))try{yr=ut.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return yr}())||void 0===p?void 0:p.createHTML(h))||h}function Xb(h){var p;return(null===(p=function Gs(){if(void 0===Us&&(Us=null,ut.trustedTypes))try{Us=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Us}())||void 0===p?void 0:p.createHTML(h))||h}class Aa{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class eC extends Aa{getTypeName(){return"HTML"}}class vc extends Aa{getTypeName(){return"Style"}}class tC extends Aa{getTypeName(){return"Script"}}class iC extends Aa{getTypeName(){return"URL"}}class nC extends Aa{getTypeName(){return"ResourceURL"}}function Kn(h){return h instanceof Aa?h.changingThisBreaksApplicationSecurity:h}function Do(h,p){const m=Ef(h);if(null!=m&&m!==p){if("ResourceURL"===m&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===p}function Ef(h){return h instanceof Aa&&h.getTypeName()||null}function rC(h){return new eC(h)}function Fu(h){return new vc(h)}function aC(h){return new tC(h)}function oC(h){return new iC(h)}function Sf(h){return new nC(h)}class o0{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p=""+p;try{const m=(new window.DOMParser).parseFromString(Mo(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class sC{constructor(p){if(this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(p){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=Mo(p),m;const _=this.inertDocument.createElement("body");return _.innerHTML=Mo(p),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(p){const m=p.attributes;for(let C=m.length-1;0wc(p.trim())).join(", ")),this.buf.push(" ",w,'="',fn(S),'"')}var h;return this.buf.push(">"),!0}endElement(p){const m=p.nodeName.toLowerCase();ju.hasOwnProperty(m)&&!fi.hasOwnProperty(m)&&(this.buf.push(""))}chars(p){this.buf.push(fn(p))}checkClobberedElement(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return m}}const xc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zu=/([^\#-~ |!])/g;function fn(h){return h.replace(/&/g,"&").replace(xc,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(zu,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(//g,">")}let Ro;function gC(h,p){let m=null;try{Ro=Ro||function Mf(h){const p=new sC(h);return function lC(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch(h){return!1}}()?new o0(p):p}(h);let _=p?String(p):"";m=Ro.getInertBodyElement(_);let C=5,v=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=v,v=m.innerHTML,m=Ro.getInertBodyElement(_)}while(_!==v);return Mo((new fC).sanitizeChildren(qs(m)||m))}finally{if(m){const _=qs(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function qs(h){return"content"in h&&function Df(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var Zt=(()=>((Zt=Zt||{})[Zt.NONE=0]="NONE",Zt[Zt.HTML=1]="HTML",Zt[Zt.STYLE=2]="STYLE",Zt[Zt.SCRIPT=3]="SCRIPT",Zt[Zt.URL=4]="URL",Zt[Zt.RESOURCE_URL=5]="RESOURCE_URL",Zt))();function Uu(h){const p=Ws();return p?Xb(p.sanitize(Zt.HTML,h)||""):Do(h,"HTML")?Xb(Kn(h)):gC(vs(),le(h))}function Gu(h){const p=Ws();return p?p.sanitize(Zt.URL,h)||"":Do(h,"URL")?Kn(h):wc(le(h))}function Ws(){const h=ye();return h&&h[12]}const Ec="__ngContext__";function Ri(h,p){h[Ec]=p}function If(h){const p=function Sc(h){return h[Ec]||null}(h);return p?Array.isArray(p)?p:p.lView:null}function Vf(h){return h.ngOriginalError}function C0(h,...p){h.error(...p)}class Io{constructor(){this._console=console}handleError(p){const m=this._findOriginalError(p),_=function b0(h){return h&&h.ngErrorLogger||C0}(p);_(this._console,"ERROR",p),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(p){let m=p&&Vf(p);for(;m&&Vf(m);)m=Vf(m);return m||null}}const TC=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ut))();function vr(h){return h instanceof Function?h():h}var wr=(()=>((wr=wr||{})[wr.Important=1]="Important",wr[wr.DashCase=2]="DashCase",wr))();function Of(h,p){return undefined(h,p)}function Ys(h){const p=h[3];return Wi(p)?p[3]:p}function Ff(h){return DC(h[13])}function jf(h){return DC(h[4])}function DC(h){for(;null!==h&&!Wi(h);)h=h[4];return h}function Qs(h,p,m,_,C){if(null!=_){let v,w=!1;Wi(_)?v=_:Oi(_)&&(w=!0,_=_[0]);const T=D(_);0===h&&null!==m?null==C?VC(p,m,T):ko(p,m,T,C||null,!0):1===h&&null!==m?ko(p,m,T,C||null,!0):2===h?function zC(h,p,m){const _=qu(h,p);_&&function z0(h,p,m,_){gt(h)?h.removeChild(p,m,_):p.removeChild(m)}(h,_,p,m)}(p,T,w):3===h&&p.destroyNode(T),null!=v&&function q0(h,p,m,_,C){const v=m[7];v!==D(m)&&Qs(p,h,_,v,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const v=mc(h,10+p);!function k0(h,p){Mc(h,p,p[11],2,null,null),p[0]=null,p[6]=null}(_[1],_);const w=v[19];null!==w&&w.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function RC(h,p){if(!(256&p[2])){const m=p[11];gt(m)&&m.destroyNode&&Mc(h,p,m,3,null,null),function O0(h){let p=h[13];if(!p)return Gf(h[1],h);for(;p;){let m=null;if(Oi(p))m=p[13];else{const _=p[10];_&&(m=_)}if(!m){for(;p&&!p[4]&&p!==h;)Oi(p)&&Gf(p[1],p),p=p[3];null===p&&(p=h),Oi(p)&&Gf(p[1],p),m=p&&p[4]}p=m}}(p)}}function Gf(h,p){if(!(256&p[2])){p[2]&=-129,p[2]|=256,function N0(h,p){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),v+=2}else{const w=_[C=m[v+1]];m[v].call(w)}if(null!==_){for(let v=C+1;v<_.length;v++)_[v]();p[7]=null}}(h,p),1===p[1].type&>(p[11])&&p[11].destroy();const m=p[17];if(null!==m&&Wi(p[3])){m!==p[3]&&PC(m,p);const _=p[19];null!==_&&_.detachView(h)}}}function IC(h,p,m){return function kC(h,p,m){let _=p;for(;null!==_&&40&_.type;)_=(p=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===ke.None||C===ke.Emulated)return null}return _e(_,m)}(h,p.parent,m)}function ko(h,p,m,_,C){gt(h)?h.insertBefore(p,m,_,C):p.insertBefore(m,_,C)}function VC(h,p,m){gt(h)?h.appendChild(p,m):p.appendChild(m)}function BC(h,p,m,_,C){null!==_?ko(h,p,m,_,C):VC(h,p,m)}function qu(h,p){return gt(h)?h.parentNode(p):p.parentNode}function OC(h,p,m){return FC(h,p,m)}let FC=function LC(h,p,m){return 40&h.type?_e(h,m):null};function Wu(h,p,m,_){const C=IC(h,_,p),v=p[11],T=OC(_.parent||p[6],_,p);if(null!=C)if(Array.isArray(m))for(let S=0;Sv?"":C[L+1].toLowerCase();const te=8&_?W:null;if(te&&-1!==qC(te,P,0)||2&_&&P!==W){if(In(_))return!1;w=!0}}}}else{if(!w&&!In(_)&&!In(S))return!1;if(w&&In(S))continue;w=!1,_=S|1&_}}return In(_)||w}function In(h){return 0==(1&h)}function $C(h,p,m,_){if(null===p)return-1;let C=0;if(_||!m){let v=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+w:4&_&&(C+=" "+w);else""!==C&&!In(w)&&(p+=Yu(v,C),C=""),_=w,v=v||!In(_);m++}return""!==C&&(p+=Yu(v,C)),p}const at={};function Qu(h){Xf(vt(),ye(),Ai()+h,nc())}function Xf(h,p,m,_){if(!_)if(3==(3&p[2])){const v=h.preOrderCheckHooks;null!==v&&lc(p,v,m)}else{const v=h.preOrderHooks;null!==v&&Ms(p,v,0,m)}_r(m)}function zr(h,p){return h<<17|p<<2}function gn(h){return h>>17&32767}function Hc(h){return 2|h}function Ur(h){return(131068&h)>>2}function Ju(h,p){return-131069&h|p<<2}function Ku(h){return 1|h}function eh(h,p){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&Xf(h,p,20,nc()),m(_,C)}finally{_r(v)}}function nh(h,p,m){if(Zl(p)){const C=p.directiveEnd;for(let v=p.directiveStart;v0;){const m=h[--p];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,w)}}function Qr(h,p){null!==h.hostBindings&&h.hostBindings(1,p)}function oh(h,p){p.flags|=2,(h.components||(h.components=[])).push(p.index)}function Cg(h,p,m){if(m){if(p.exportAs)for(let _=0;_0&&Xs(m)}}function Xs(h){for(let _=Ff(h);null!==_;_=jf(_))for(let C=10;C<_.length;C++){const v=_[C];if(1024&v[2]){const w=v[1];Lt(w,v,w.template,v[8])}else v[5]>0&&Xs(v)}const m=h[1].components;if(null!==m)for(let _=0;_0&&Xs(C)}}function Da(h,p){const m=mt(p,h),_=m[1];(function ch(h,p){for(let m=p.length;mPromise.resolve(null))();function Gc(h){return h[7]||(h[7]=[])}function hh(h){return h.cleanup||(h.cleanup=[])}function el(h,p,m){return(null===h||dn(h))&&(m=function V(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[p.index])),m[11]}function tl(h,p){const m=h[9],_=m?m.get(Io,null):null;_&&_.handleError(p)}function Tg(h,p,m,_,C){for(let v=0;vthis.processProvider(T,p,m)),Zi([p],T=>this.processInjectorType(T,[],v)),this.records.set(Wc,zo(void 0,this));const w=this.records.get(ph);this.scope=null!=w?w.value:null,this.source=C||("object"==typeof p?null:Q(p))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(p=>p.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(p,m=Fs,_=it.Default){this.assertNotDestroyed();const C=_f(this),v=Vi(void 0);try{if(!(_&it.SkipSelf)){let T=this.records.get(p);if(void 0===T){const S=function Yc(h){return"function"==typeof h||"object"==typeof h&&h instanceof Ut}(p)&&si(p);T=S&&this.injectableDefInScope(S)?zo(al(p),nl):null,this.records.set(p,T)}if(null!=T)return this.hydrate(p,T)}return(_&it.Self?rl():this.parent).get(p,m=_&it.Optional&&m===Fs?null:m)}catch(w){if("NullInjectorError"===w.name){if((w[bc]=w[bc]||[]).unshift(Q(p)),C)throw w;return function $b(h,p,m,_){const C=h[bc];throw p[mf]&&C.unshift(p[mf]),h.message=function Yb(h,p,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Q(p);if(Array.isArray(p))C=p.map(Q).join(" -> ");else if("object"==typeof p){let v=[];for(let w in p)if(p.hasOwnProperty(w)){let T=p[w];v.push(w+":"+("string"==typeof T?JSON.stringify(T):Q(T)))}C=`{${v.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(gf,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[bc]=null,h}(w,p,"R3InjectorError",this.source)}throw w}finally{Vi(v),_f(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(p=>this.get(p))}toString(){const p=[];return this.records.forEach((_,C)=>p.push(Q(C))),`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(p,m,_){if(!(p=re(p)))return!1;let C=io(p);const v=null==C&&p.ngModule||void 0,w=void 0===v?p:v,T=-1!==_.indexOf(w);if(void 0!==v&&(C=io(v)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(w);try{Zi(C.imports,L=>{this.processInjectorType(L,m,_)&&(void 0===R&&(R=[]),R.push(L))})}finally{}if(void 0!==R)for(let L=0;Lthis.processProvider(he,W,te||Oe))}}this.injectorDefTypes.add(w);const S=Di(w)||(()=>new w);this.records.set(w,zo(S,nl));const P=C.providers;if(null!=P&&!T){const R=p;Zi(P,L=>this.processProvider(L,R,P))}return void 0!==v&&void 0!==p.providers}processProvider(p,m,_){let C=Uo(p=re(p))?p:re(p&&p.provide);const v=function gy(h,p,m){return Mg(h)?zo(void 0,h.useValue):zo(Sg(h),nl)}(p);if(Uo(p)||!0!==p.multi)this.records.get(C);else{let w=this.records.get(C);w||(w=zo(void 0,nl,!0),w.factory=()=>Cc(w.multi),this.records.set(C,w)),C=p,w.multi.push(p)}this.records.set(C,v)}hydrate(p,m){return m.value===nl&&(m.value=py,m.value=m.factory()),"object"==typeof m.value&&m.value&&function _h(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(p){if(!p.providedIn)return!1;const m=re(p.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function al(h){const p=si(h),m=null!==p?p.factory:Di(h);if(null!==m)return m;if(h instanceof Ut)throw new ae(204,!1);if(h instanceof Function)return function Eg(h){const p=h.length;if(p>0)throw Bs(p,"?"),new ae(204,!1);const m=function eo(h){const p=h&&(h[Rr]||h[Ir]);if(p){const m=function to(h){if(h.hasOwnProperty("name"))return h.name;const p=(""+h).match(/^function\s*([^\s(]+)/);return null===p?"":p[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),p}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function Sg(h,p,m){let _;if(Uo(h)){const C=re(h);return Di(C)||al(C)}if(Mg(h))_=()=>re(h.useValue);else if(function $c(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...Cc(h.deps||[]));else if(function my(h){return!(!h||!h.useExisting)}(h))_=()=>mi(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function mh(h){return!!h.deps}(h))return Di(C)||al(C);_=()=>new C(...Cc(h.deps))}return _}function zo(h,p,m=!1){return{factory:h,value:p,multi:m?[]:void 0}}function Mg(h){return null!==h&&"object"==typeof h&&qb in h}function Uo(h){return"function"==typeof h}let bn=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return fh({name:""},_,m,"");{const v=null!==(C=m.name)&&void 0!==C?C:"";return fh({name:v},m.parent,m.providers,v)}}}return h.THROW_IF_NOT_FOUND=Fs,h.NULL=new il,h.\u0275prov=Mt({token:h,providedIn:"any",factory:()=>mi(Wc)}),h.__NG_ELEMENT_ID__=-1,h})();function vy(h,p){sc(If(h)[1],Pt())}function Th(h){let p=function xh(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;p;){let C;if(dn(h))C=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new ae(903,"");C=p.\u0275dir}if(C){if(m){_.push(C);const w=h;w.inputs=Sh(h.inputs),w.declaredInputs=Sh(h.declaredInputs),w.outputs=Sh(h.outputs);const T=C.hostBindings;T&&xy(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&wy(h,S),P&&Ay(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),dn(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const v=C.features;if(v)for(let w=0;w=0;_--){const C=h[_];C.hostVars=p+=C.hostVars,C.hostAttrs=pc(C.hostAttrs,m=pc(m,C.hostAttrs))}}(_)}function Sh(h){return h===ht?{}:h===Oe?[]:h}function wy(h,p){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{p(_,C),m(_,C)}:p}function Ay(h,p){const m=h.contentQueries;h.contentQueries=m?(_,C,v)=>{p(_,C,v),m(_,C,v)}:p}function xy(h,p){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{p(_,C),m(_,C)}:p}let Go=null;function er(){if(!Go){const h=ut.Symbol;if(h&&h.iterator)Go=h.iterator;else{const p=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(D(pt[_.index])):_.index;if(gt(m)){let pt=null;if(!T&&S&&(pt=function fx(h,p,m,_){const C=h.cleanup;if(null!=C)for(let v=0;vS?T[S]:null}"string"==typeof w&&(v+=2)}return null}(h,p,C,_.index)),null!==pt)(pt.__ngLastListenerFn__||pt).__ngNextListenerFn__=v,pt.__ngLastListenerFn__=v,te=!1;else{v=cm(_,p,L,v,!1);const St=m.listen(je,C,v);W.push(v,St),R&&R.push(C,$e,me,me+1)}}else v=cm(_,p,L,v,!0),je.addEventListener(C,v,w),W.push(v),R&&R.push(C,$e,me,w)}else v=cm(_,p,L,v,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const He=Ee.length;if(He)for(let je=0;je0;)p=p[15],h--;return p}(h,Je.lFrame.contextLView))[8]}(h)}function gx(h,p){let m=null;const _=function YC(h){const p=h.attrs;if(null!=p){const m=p.indexOf(5);if(0==(1&m))return p[m+1]}return null}(h);for(let C=0;C=0}function dd(h,p,m){return Fn(h,p,m,!1),dd}function Cm(h,p){return Fn(h,p,null,!0),Cm}function Fn(h,p,m,_){const C=ye(),v=vt(),w=Yn(2);v.firstUpdatePass&&function vm(h,p,m,_){const C=h.data;if(null===C[m+1]){const v=C[Ai()],w=function ym(h,p){return p>=h.expandoStartIndex}(h,m);(function tv(h,p){return 0!=(h.flags&(p?16:32))})(v,_)&&null===p&&!w&&(p=!1),p=function hd(h,p,m,_){const C=du(h);let v=_?p.residualClasses:p.residualStyles;if(null===C)0===(_?p.classBindings:p.styleBindings)&&(m=Xo(m=wm(null,h,p,m,_),p.attrs,_),v=null);else{const w=p.directiveStylingLast;if(-1===w||h[w]!==C)if(m=wm(C,h,p,m,_),null===v){let S=function Qy(h,p,m){const _=m?p.classBindings:p.styleBindings;if(0!==Ur(_))return h[gn(_)]}(h,p,_);void 0!==S&&Array.isArray(S)&&(S=wm(null,h,p,S[1],_),S=Xo(S,p.attrs,_),function Jy(h,p,m,_){h[gn(m?p.classBindings:p.styleBindings)]=_}(h,p,_,S))}else v=function Ky(h,p,m){let _;const C=p.directiveEnd;for(let v=1+p.directiveStylingLast;v0)&&(P=!0)}else R=m;if(C)if(0!==S){const W=gn(h[T+1]);h[_+1]=zr(W,T),0!==W&&(h[W+1]=Ju(h[W+1],_)),h[T+1]=function Y0(h,p){return 131071&h|p<<17}(h[T+1],_)}else h[_+1]=zr(T,0),0!==T&&(h[T+1]=Ju(h[T+1],_)),T=_;else h[_+1]=zr(S,0),0===T?T=_:h[S+1]=Ju(h[S+1],_),S=_;P&&(h[_+1]=Hc(h[_+1])),On(h,R,_,!0),On(h,R,_,!1),function _x(h,p,m,_,C){const v=C?h.residualClasses:h.residualStyles;null!=v&&"string"==typeof p&&xo(v,p)>=0&&(m[_+1]=Ku(m[_+1]))}(p,R,h,_,v),w=zr(T,S),v?p.classBindings=w:p.styleBindings=w}(C,v,p,m,w,_)}}(v,h,w,_),p!==at&&Ti(C,w,p)&&function Xy(h,p,m,_,C,v,w,T){if(!(3&p.type))return;const S=h.data,P=S[T+1];zh(function JC(h){return 1==(1&h)}(P)?ev(S,p,m,C,Ur(P),w):void 0)||(zh(v)||function QC(h){return 2==(2&h)}(P)&&(v=ev(S,null,m,C,T,w)),function W0(h,p,m,_,C){const v=gt(h);if(p)C?v?h.addClass(m,_):m.classList.add(_):v?h.removeClass(m,_):m.classList.remove(_);else{let w=-1===_.indexOf("-")?void 0:wr.DashCase;if(null==C)v?h.removeStyle(m,_,w):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),w|=wr.Important),v?h.setStyle(m,_,C,w):m.style.setProperty(_,C,T?"important":"")}}}(_,w,ue(Ai(),m),C,v))}(v,v.data[Ai()],C,C[11],h,C[w+1]=function Cx(h,p){return null==h||("string"==typeof p?h+=p:"object"==typeof h&&(h=Q(Kn(h)))),h}(p,m),_,w)}function wm(h,p,m,_,C){let v=null;const w=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,L=null===R;let W=m[C+1];W===at&&(W=L?Oe:void 0);let te=L?Mu(W,_):R===_?W:void 0;if(P&&!zh(te)&&(te=Mu(S,_)),zh(te)&&(T=te,w))return T;const he=h[C+1];C=w?gn(he):Ur(he)}if(null!==p){let S=v?p.residualClasses:p.residualStyles;null!=S&&(T=Mu(S,_))}return T}function zh(h){return void 0!==h}function iv(h,p=""){const m=ye(),_=vt(),C=h+20,v=_.firstCreatePass?Wr(_,C,1,p,null):_.data[C],w=m[C]=function Nf(h,p){return gt(h)?h.createText(p):h.createTextNode(p)}(m[11],p);Wu(_,m,w,v),Hn(v,!1)}function Uh(h){return pd("",h,""),Uh}function pd(h,p,m){const _=ye(),C=qo(_,h,p,m);return C!==at&&kn(_,Ai(),C),pd}function xm(h,p,m,_,C){const v=ye(),w=Wo(v,h,p,m,_,C);return w!==at&&kn(v,Ai(),w),xm}function fd(h,p,m){const _=ye();return Ti(_,po(),p)&&en(vt(),zt(),_,h,p,_[11],m,!0),fd}function hl(h,p,m){const _=ye();if(Ti(_,po(),p)){const v=vt(),w=zt();en(v,w,_,h,p,el(du(v.data),w,_),m,!0)}return hl}const ea=void 0;var fv=["en",[["a","p"],["AM","PM"],ea],[["AM","PM"],ea,ea],[["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"]],ea,[["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"]],ea,[["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}",ea,"{1} 'at' {0}",ea],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pv(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let La={};function Dm(h){const p=function Hm(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=mv(p);if(m)return m;const _=p.split("-")[0];if(m=mv(_),m)return m;if("en"===_)return fv;throw new Error(`Missing locale data for the locale "${h}".`)}function gv(h){return Dm(h)[Qe.PluralCase]}function mv(h){return h in La||(La[h]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[h]),La[h]}var Qe=(()=>((Qe=Qe||{})[Qe.LocaleId=0]="LocaleId",Qe[Qe.DayPeriodsFormat=1]="DayPeriodsFormat",Qe[Qe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qe[Qe.DaysFormat=3]="DaysFormat",Qe[Qe.DaysStandalone=4]="DaysStandalone",Qe[Qe.MonthsFormat=5]="MonthsFormat",Qe[Qe.MonthsStandalone=6]="MonthsStandalone",Qe[Qe.Eras=7]="Eras",Qe[Qe.FirstDayOfWeek=8]="FirstDayOfWeek",Qe[Qe.WeekendRange=9]="WeekendRange",Qe[Qe.DateFormat=10]="DateFormat",Qe[Qe.TimeFormat=11]="TimeFormat",Qe[Qe.DateTimeFormat=12]="DateTimeFormat",Qe[Qe.NumberSymbols=13]="NumberSymbols",Qe[Qe.NumberFormats=14]="NumberFormats",Qe[Qe.CurrencyCode=15]="CurrencyCode",Qe[Qe.CurrencySymbol=16]="CurrencySymbol",Qe[Qe.CurrencyName=17]="CurrencyName",Qe[Qe.Currencies=18]="Currencies",Qe[Qe.Directionality=19]="Directionality",Qe[Qe.PluralCase=20]="PluralCase",Qe[Qe.ExtraData=21]="ExtraData",Qe))();const ar="en-US";let Qh=ar;function Ym(h,p,m,_,C){if(h=re(h),Array.isArray(h))for(let v=0;v>20;if(Uo(h)||!h.multi){const te=new go(S,C,Er),he=ep(T,p,C?R:R+W,L);-1===he?(gc(Rs(P,w),v,T),ns(v,h,p.length),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),w.push(te)):(m[he]=te,w[he]=te)}else{const te=ep(T,p,R+W,L),he=ep(T,p,R,R+W),Ee=te>=0&&m[te],He=he>=0&&m[he];if(C&&!He||!C&&!Ee){gc(Rs(P,w),v,T);const je=function rT(h,p,m,_,C){const v=new go(h,m,Er);return v.multi=[],v.index=p,v.componentProviders=0,$v(v,C,_&&!m),v}(C?nT:iT,m.length,C,_,S);!C&&He&&(m[he].providerFactory=je),ns(v,h,p.length,0),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),w.push(je)}else ns(v,h,te>-1?te:he,$v(m[C?he:te],S,!C&&_));!C&&_&&He&&m[he].componentProviders++}}}function ns(h,p,m,_){const C=Uo(p),v=function Pa(h){return!!h.useClass}(p);if(C||v){const S=(v?re(p.useClass):p).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&p.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function $v(h,p,m){return m&&h.componentProviders++,h.multi.push(p)-1}function ep(h,p,m,_){for(let C=m;C<_;C++)if(p[C]===h)return C;return-1}function iT(h,p,m,_){return Qm(this.multi,[])}function nT(h,p,m,_){const C=this.multi;let v;if(this.providerFactory){const w=this.providerFactory.componentProviders,T=hn(m,m[1],this.providerFactory.index,_);v=T.slice(0,w),Qm(C,v);for(let S=w;S{m.providersResolver=(_,C)=>function tT(h,p,m){const _=vt();if(_.firstCreatePass){const C=dn(h);Ym(m,_.data,_.blueprint,C,!0),Ym(p,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,p)}}class Jm{}class oT{resolveComponentFactory(p){throw function Jv(h){const p=Error(`No component factory found for ${Q(h)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=h,p}(p)}}let _d=(()=>{class h{}return h.NULL=new oT,h})();function sT(){return Cl(Pt(),ye())}function Cl(h,p){return new Dr(_e(h,p))}let Dr=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=sT,h})();function lT(h){return h instanceof Dr?h.nativeElement:h}class Km{}let Zv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function uT(){const h=ye(),m=mt(Pt().index,h);return function dT(h){return h[11]}(Oi(m)?m:h)}(),h})(),hT=(()=>{class h{}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:()=>null}),h})();class bd{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const Xv=new bd("13.2.2"),tp={};function ip(h,p,m,_,C=!1){for(;null!==m;){const v=p[m.index];if(null!==v&&_.push(D(v)),Wi(v))for(let T=10;T-1&&(Uf(p,_),mc(m,_))}this._attachedToViewContainer=!1}RC(this._lView[1],this._lView)}onDestroy(p){ry(this._lView[1],this._lView,null,p)}markForCheck(){dh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zn(this._lView[1],this._lView,this.context)}checkNoChanges(){!function xg(h,p,m){As(!0);try{Zn(h,p,m)}finally{As(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function B0(h,p){Mc(h,p,p[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=p}}class pT extends Cd{constructor(p){super(p),this._view=p}detectChanges(){uh(this._view)}checkNoChanges(){!function Xn(h){As(!0);try{uh(h)}finally{As(!1)}}(this._view)}get context(){return null}}class ew extends _d{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const m=li(p);return new Zm(m,this.ngModule)}}function tw(h){const p=[];for(let m in h)h.hasOwnProperty(m)&&p.push({propName:h[m],templateName:m});return p}const yd=new Ut("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>TC});class Zm extends Jm{constructor(p,m){super(),this.componentDef=p,this.ngModule=m,this.componentType=p.type,this.selector=function Xt(h){return h.map(Zf).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return tw(this.componentDef.inputs)}get outputs(){return tw(this.componentDef.outputs)}create(p,m,_,C){const v=(C=C||this.ngModule)?function gT(h,p){return{get:(m,_,C)=>{const v=h.get(m,tp,C);return v!==tp||_===tp?v:p.get(m,_,C)}}}(p,C.injector):p,w=v.get(Km,M),T=v.get(hT,null),S=w.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function Ks(h,p,m){if(gt(h))return h.selectRootElement(p,m===ke.ShadowDom);let _="string"==typeof p?h.querySelector(p):p;return _.textContent="",_}(S,_,this.componentDef.encapsulation):zf(w.createRenderer(null,this.componentDef),P,function fT(h){const p=h.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(P)),L=this.componentDef.onPush?576:528,W=function Ah(h,p){return{components:[],scheduler:h||TC,clean:dy,playerHandler:p||null,flags:0}}(),te=bt(0,null,null,1,0,null,null,null,null,null),he=Oo(null,te,W,L,null,null,w,S,T,v);let Ee,He;rc(he);try{const je=function kg(h,p,m,_,C,v){const w=m[1];m[20]=h;const S=Wr(w,20,2,"#host",null),P=S.mergedAttrs=p.hostAttrs;null!==P&&(qc(S,P,!0),null!==h&&(Hs(C,h,P),null!==S.classes&&Yf(C,h,S.classes),null!==S.styles&&GC(C,h,S.styles)));const R=_.createRenderer(h,p),L=Oo(m,$r(p),null,p.onPush?64:16,m[20],S,_,R,v||null,null);return w.firstCreatePass&&(gc(Rs(S,m),w,p.type),oh(w,S),sh(S,m.length,1)),Ha(m,L),m[20]=L}(R,this.componentDef,he,w,S);if(R)if(_)Hs(S,R,["ng-version",Xv.full]);else{const{attrs:me,classes:$e}=function Wt(h){const p=[],m=[];let _=1,C=2;for(;_0&&Yf(S,R,$e.join(" "))}if(He=Ht(te,20),void 0!==m){const me=He.projection=[];for(let $e=0;$eS(w,p)),p.contentQueries){const S=Pt();p.contentQueries(1,w,S.directiveStart)}const T=Pt();return!v.firstCreatePass||null===p.hostBindings&&null===p.hostAttrs||(_r(T.index),Fc(m[1],T,0,T.directiveStart,T.directiveEnd,p),Qr(p,w)),w}(je,this.componentDef,he,W,[vy]),Xi(te,he,null)}finally{ac()}return new Xm(this.componentType,Ee,Cl(He,he),he,He)}}class Xm extends class Qv{}{constructor(p,m,_,C,v){super(),this.location=_,this._rootLView=C,this._tNode=v,this.instance=m,this.hostView=this.changeDetectorRef=new pT(C),this.componentType=p}get injector(){return new yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}class yl{}class iw{}const vl=new Map;class aw extends yl{constructor(p,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ew(this);const _=gi(p);this._bootstrapComponents=vr(_.bootstrap),this._r3Injector=gh(p,m,[{provide:yl,useValue:this},{provide:_d,useValue:this.componentFactoryResolver}],Q(p)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(p)}get(p,m=bn.THROW_IF_NOT_FOUND,_=it.Default){return p===bn||p===yl||p===Wc?this:this._r3Injector.get(p,m,_)}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class e_ extends iw{constructor(p){super(),this.moduleType=p,null!==gi(p)&&function bT(h){const p=new Set;!function m(_){const C=gi(_,!0),v=C.id;null!==v&&(function nw(h,p,m){if(p&&p!==m)throw new Error(`Duplicate module registered for ${h} - ${Q(p)} vs ${Q(p.name)}`)}(v,vl.get(v),_),vl.set(v,_));const w=vr(C.imports);for(const T of w)p.has(T)||(p.add(T),m(T))}(h)}(p)}create(p){return new aw(this.moduleType,p)}}function ow(h,p,m){const _=wi()+h,C=ye();return C[_]===at?tr(C,_,m?p.call(m):p()):function Jr(h,p){return h[p]}(C,_)}function t_(h,p,m,_){return uw(ye(),wi(),h,p,m,_)}function sw(h,p,m,_,C){return wl(ye(),wi(),h,p,m,_,C)}function vd(h,p){const m=h[p];return m===at?void 0:m}function uw(h,p,m,_,C,v){const w=p+m;return Ti(h,w,C)?tr(h,w+1,v?_.call(v,C):_(C)):vd(h,w+1)}function wl(h,p,m,_,C,v,w){const T=p+m;return Kr(h,T,C,v)?tr(h,T+2,w?_.call(w,C,v):_(C,v)):vd(h,T+2)}function Al(h,p,m,_,C,v,w,T){const S=p+m;return function sl(h,p,m,_,C){const v=Kr(h,p,m,_);return Ti(h,p+2,C)||v}(h,S,C,v,w)?tr(h,S+3,T?_.call(T,C,v,w):_(C,v,w)):vd(h,S+3)}function wd(h,p){const m=vt();let _;const C=h+20;m.firstCreatePass?(_=function r_(h,p){if(p)for(let m=p.length-1;m>=0;m--){const _=p[m];if(h===_.name)return _}}(p,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const v=_.factory||(_.factory=Di(_.type)),w=Vi(Er);try{const T=bo(!1),S=v();return bo(T),function Gg(h,p,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),p[m]=_}(m,ye(),C,S),S}finally{Vi(w)}}function a_(h,p,m){const _=h+20,C=ye(),v=Tt(C,_);return El(C,_)?uw(C,wi(),p,v.transform,m,v):v.transform(m)}function xl(h,p,m,_){const C=h+20,v=ye(),w=Tt(v,C);return El(v,C)?wl(v,wi(),p,w.transform,m,_,w):w.transform(m,_)}function o_(h,p,m,_,C){const v=h+20,w=ye(),T=Tt(w,v);return El(w,v)?Al(w,wi(),p,T.transform,m,_,C,T):T.transform(m,_,C)}function El(h,p){return h[1].data[p].pure}function Ad(h){return p=>{setTimeout(h,void 0,p)}}const Ei=class l_ extends E.x{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,m,_){var C,v,w;let T=p,S=m||(()=>null),P=_;if(p&&"object"==typeof p){const L=p;T=null===(C=L.next)||void 0===C?void 0:C.bind(L),S=null===(v=L.error)||void 0===v?void 0:v.bind(L),P=null===(w=L.complete)||void 0===w?void 0:w.bind(L)}this.__isAsync&&(S=Ad(S),T&&(T=Ad(T)),P&&(P=Ad(P)));const R=super.subscribe({next:T,error:S,complete:P});return p instanceof f.w0&&p.add(R),R}};function Sl(){return this._results[er()]()}class xd{constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=er(),_=xd.prototype;_[m]||(_[m]=Sl)}get changes(){return this._changes||(this._changes=new Ei)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,m){return this._results.reduce(p,m)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,m){const _=this;_.dirty=!1;const C=Ki(p);(this._changesDetected=!function Vs(h,p,m){if(h.length!==p.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=hw,h})();const Ed=Td,c_=class extends Ed{constructor(p,m,_){super(),this._declarationLView=p,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(p){const m=this._declarationTContainer.tViews,_=Oo(this._declarationLView,m,p,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(m)),Xi(m,_,p),new Cd(_)}};function hw(){return Sd(Pt(),ye())}function Sd(h,p){return 4&h.type?new c_(p,h,Cl(h,p)):null}let Md=(()=>{class h{}return h.__NG_ELEMENT_ID__=pw,h})();function pw(){return or(Pt(),ye())}const d_=Md,u_=class extends d_{constructor(p,m,_){super(),this._lContainer=p,this._hostTNode=m,this._hostLView=_}get element(){return Cl(this._hostTNode,this._hostLView)}get injector(){return new yo(this._hostTNode,this._hostLView)}get parentInjector(){const p=ya(this._hostTNode,this._hostLView);if(rf(p)){const m=Cr(p,this._hostLView),_=_o(p);return new yo(m[1].data[_+8],m)}return new yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const m=h_(this._lContainer);return null!==m&&m[p]||null}get length(){return this._lContainer.length-10}createEmbeddedView(p,m,_){const C=p.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(p,m,_,C,v){const w=p&&!function Ao(h){return"function"==typeof h}(p);let T;if(w)T=m;else{const L=m||{};T=L.index,_=L.injector,C=L.projectableNodes,v=L.ngModuleRef}const S=w?p:new Zm(li(p)),P=_||this.parentInjector;if(!v&&null==S.ngModule&&P){const L=P.get(yl,null);L&&(v=L)}const R=S.create(P,C,void 0,v);return this.insert(R.hostView,T),R}insert(p,m){const _=p._lView,C=_[1];if(function Ot(h){return Wi(h[3])}(_)){const R=this.indexOf(p);if(-1!==R)this.detach(R);else{const L=_[3],W=new u_(L,L[6],L[3]);W.detach(W.indexOf(p))}}const v=this._adjustIndex(m),w=this._lContainer;!function L0(h,p,m,_){const C=10+_,v=m.length;_>0&&(m[C-1][4]=p),_0)_.push(w[T/2]);else{const P=v[T+1],R=p[-S];for(let L=10;L{class h{constructor(m){this.appInits=m,this.resolve=_p,this.reject=_p,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{v.subscribe({complete:T,error:S})});m.push(w)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(mi(bp,8))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const Rw=new Ut("AppId"),LT={provide:Rw,useFactory:function Nd(){return`${m_()}${m_()}${m_()}`},deps:[]};function m_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Iw=new Ut("Platform Initializer"),kw=new Ut("Platform ID"),Vw=new Ut("appBootstrapListener");let __=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const Cp=new Ut("LocaleId"),Bw=new Ut("DefaultCurrencyCode");class FT{constructor(p,m){this.ngModuleFactory=p,this.componentFactories=m}}let b_=(()=>{class h{compileModuleSync(m){return new e_(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),v=vr(gi(m).declarations).reduce((w,T)=>{const S=li(T);return S&&w.push(new Zm(S)),w},[]);return new FT(_,v)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const C_=(()=>Promise.resolve(0))();function y_(h){"undefined"==typeof Zone?C_.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class wn{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ei(!1),this.onMicrotaskEmpty=new Ei(!1),this.onStable=new Ei(!1),this.onError=new Ei(!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)),p&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function Ow(){let h=ut.requestAnimationFrame,p=ut.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&p){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=p[Zone.__symbol__("OriginalDelegate")];_&&(p=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function _i(h){const p=()=>{!function zT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(ut,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,za(h),h.isCheckStableRunning=!0,v_(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),za(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,v,w,T)=>{try{return Pl(h),m.invokeTask(C,v,w,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||h.shouldCoalesceRunChangeDetection)&&p(),w_(h)}},onInvoke:(m,_,C,v,w,T,S)=>{try{return Pl(h),m.invoke(C,v,w,T,S)}finally{h.shouldCoalesceRunChangeDetection&&p(),w_(h)}},onHasTask:(m,_,C,v)=>{m.hasTask(C,v),_===C&&("microTask"==v.change?(h._hasPendingMicrotasks=v.microTask,za(h),v_(h)):"macroTask"==v.change&&(h.hasPendingMacrotasks=v.macroTask))},onHandleError:(m,_,C,v)=>(m.handleError(C,v),h.runOutsideAngular(()=>h.onError.emit(v)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!wn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(wn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(p,m,_){return this._inner.run(p,m,_)}runTask(p,m,_,C){const v=this._inner,w=v.scheduleEventTask("NgZoneEvent: "+C,p,NT,_p,_p);try{return v.runTask(w,m,_)}finally{v.cancelTask(w)}}runGuarded(p,m,_){return this._inner.runGuarded(p,m,_)}runOutsideAngular(p){return this._outer.run(p)}}const NT={};function v_(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function za(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function Pl(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function w_(h){h._nesting--,v_(h)}class Rl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ei,this.onMicrotaskEmpty=new Ei,this.onStable=new Ei,this.onError=new Ei}run(p,m,_){return p.apply(m,_)}runGuarded(p,m,_){return p.apply(m,_)}runOutsideAngular(p){return p()}runTask(p,m,_,C){return p.apply(m,_)}}let Lw=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{wn.assertNotInAngularZone(),y_(()=>{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())y_(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==v),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:v,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(mi(wn))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})(),yp=(()=>{class h{constructor(){this._applications=new Map,Il.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return Il.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();class Fw{addToWindow(p){}findTestabilityInTree(p,m,_){return null}}function jw(h){Il=h}let An,Il=new Fw;const A_=new Ut("AllowMultipleToken");class UT{constructor(p,m){this.name=p,this.token=m}}function x_(h,p,m=[]){const _=`Platform: ${p}`,C=new Ut(_);return(v=[])=>{let w=T_();if(!w||w.injector.get(A_,!1))if(h)h(m.concat(v).concat({provide:C,useValue:!0}));else{const T=m.concat(v).concat({provide:C,useValue:!0},{provide:ph,useValue:"platform"});!function GT(h){if(An&&!An.destroyed&&!An.injector.get(A_,!1))throw new ae(400,"");An=h.get(vp);const p=h.get(Iw,null);p&&p.forEach(m=>m())}(bn.create({providers:T,name:_}))}return function Uw(h){const p=T_();if(!p)throw new ae(401,"");return p}()}}function T_(){return An&&!An.destroyed?An:null}let vp=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function Ua(h,p){let m;return m="noop"===h?new Rl:("zone.js"===h?void 0:h)||new wn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==p?void 0:p.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==p?void 0:p.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:wn,useValue:T}];return T.run(()=>{const P=bn.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),L=R.injector.get(Io,null);if(!L)throw new ae(402,"");return T.runOutsideAngular(()=>{const W=T.onError.subscribe({next:te=>{L.handleError(te)}});R.onDestroy(()=>{wp(this._modules,R),W.unsubscribe()})}),function Ii(h,p,m){try{const _=m();return sd(_)?_.catch(C=>{throw p.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw p.runOutsideAngular(()=>h.handleError(_)),_}}(L,T,()=>{const W=R.injector.get(as);return W.runInitializers(),W.donePromise.then(()=>(function Cv(h){Vt(h,"Expected localeId to be defined"),"string"==typeof h&&(Qh=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Cp,ar)||ar),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=E_({},_);return function Nw(h,p,m){const _=new e_(m);return Promise.resolve(_)}(0,0,m).then(v=>this.bootstrapModuleFactory(v,C))}_moduleDoBootstrap(m){const _=m.injector.get(os);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(mi(bn))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();function E_(h,p){return Array.isArray(p)?p.reduce(E_,h):Object.assign(Object.assign({},h),p)}let os=(()=>{class h{constructor(m,_,C,v,w){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=v,this._initStatus=w,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 T=new k.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new k.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{wn.assertNotInAngularZone(),y_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const L=this._zone.onUnstable.subscribe(()=>{wn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),L.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,B.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof Jm?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const v=function zw(h){return h.isBoundToModule}(C)?void 0:this._injector.get(yl),T=C.create(bn.NULL,[],_||C.selector,v),S=T.location.nativeElement,P=T.injector.get(Lw,null),R=P&&T.injector.get(yp);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),wp(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;wp(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(Vw,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(mi(wn),mi(bn),mi(Io),mi(_d),mi(as))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();function wp(h,p){const m=h.indexOf(p);m>-1&&h.splice(m,1)}let kl=!0;function ai(){kl=!1}let M_=(()=>{class h{}return h.__NG_ELEMENT_ID__=D_,h})();function D_(h){return function H_(h,p,m){if(Xl(h)&&!m){const _=mt(h.index,p);return new Cd(_,_)}return 47&h.type?new Cd(p[16],p):null}(Pt(),ye(),16==(16&h))}class Ep{constructor(){}supports(p){return ol(p)}create(p){return new lr(p)}}const V_=(h,p)=>p;class lr{constructor(p){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=p||V_}forEachItem(p){let m;for(m=this._itHead;null!==m;m=m._next)p(m)}forEachOperation(p){let m=this._itHead,_=this._removalsHead,C=0,v=null;for(;m||_;){const w=!_||m&&m.currentIndex{w=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,w)?(_&&(m=this._verifyReinsertion(m,T,w,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,w,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,m,_,C){let v;return null===p?v=this._itTail:(v=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,v,C)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,v,C)):p=this._addAfter(new ki(m,_),v,C),p}_verifyReinsertion(p,m,_,C){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?p=this._reinsertAfter(v,p._prev,C):p.currentIndex!=C&&(p.currentIndex=C,this._addToMoves(p,C)),p}_truncate(p){for(;null!==p;){const m=p._next;this._addToRemovals(this._unlink(p)),p=m}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(p,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const C=p._prevRemoved,v=p._nextRemoved;return null===C?this._removalsHead=v:C._nextRemoved=v,null===v?this._removalsTail=C:v._prevRemoved=C,this._insertAfter(p,m,_),this._addToMoves(p,_),p}_moveAfter(p,m,_){return this._unlink(p),this._insertAfter(p,m,_),this._addToMoves(p,_),p}_addAfter(p,m,_){return this._insertAfter(p,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,m,_){const C=null===m?this._itHead:m._next;return p._next=C,p._prev=m,null===C?this._itTail=p:C._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new Xw),this._linkedRecords.put(p),p.currentIndex=_,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const m=p._prev,_=p._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,p}_addToMoves(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xw),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class ki{constructor(p,m){this.item=p,this.trackById=m,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 B_{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,p))return _;return null}remove(p){const m=p._prevDup,_=p._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class Xw{constructor(){this.map=new Map}put(p){const m=p.trackById;let _=this.map.get(m);_||(_=new B_,this.map.set(m,_)),_.add(p)}get(p,m){const C=this.map.get(p);return C?C.get(p,m):null}remove(p){const m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function eA(h,p,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const v=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,v)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,m){if(p){const _=p._prev;return m._next=p,m._prev=_,p._prev=m,_&&(_._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(p,m){if(this._records.has(p)){const C=this._records.get(p);this._maybeAddToChanges(C,m);const v=C._prev,w=C._next;return v&&(v._next=w),w&&(w._prev=v),C._next=null,C._prev=null,C}const _=new Mp(p);return this._records.set(p,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(_=>m(p[_],_))}}class Mp{constructor(p){this.key=p,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 Fl(){return new Wd([new Ep])}let Wd=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||Fl()),deps:[[h,new jr,new Fr]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:Fl}),h})();function L_(){return new Dp([new Sp])}let Dp=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||L_()),deps:[[h,new jr,new Fr]]}}find(m){const _=this.factories.find(v=>v.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:L_}),h})();const $T=[new Sp],QT=new Wd([new Ep]),JT=new Dp($T),iA=x_(null,"core",[{provide:kw,useValue:"unknown"},{provide:vp,deps:[bn]},{provide:yp,deps:[]},{provide:__,deps:[]}]),$d=[{provide:os,useClass:os,deps:[wn,bn,Io,_d,as]},{provide:yd,deps:[wn],useFactory:function jl(h){let p=[];return h.onStable.subscribe(()=>{for(;p.length;)p.pop()()}),function(m){p.push(m)}}},{provide:as,useClass:as,deps:[[new Fr,bp]]},{provide:b_,useClass:b_,deps:[]},LT,{provide:Wd,useFactory:function F_(){return QT},deps:[]},{provide:Dp,useFactory:function nA(){return JT},deps:[]},{provide:Cp,useFactory:function rA(h){return h||function aA(){return"undefined"!=typeof $localize&&$localize.locale||ar}()},deps:[[new Ns(Cp),new Fr,new jr]]},{provide:Bw,useValue:"USD"}];let Yd=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(mi(os))},h.\u0275mod=ca({type:h}),h.\u0275inj=Ui({providers:$d}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class F extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return F.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(F)))(E||F)}}(),F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class F{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(F){const N=F.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(F){return btoa(F).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),k=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return k!==O&&(console.error("exptected at_hash: "+k),console.error("actual at_hash: "+O)),k===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class F{getHashFragmentParams(x){let E=x||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(x){const E={};let f,k,O,B,j,q,Q;if(null===x)return E;f=x.split("&");for(let G=0;G>6,k[B++]=128|63&j):j<55296||j>=57344?(k[B++]=224|j>>12,k[B++]=128|j>>6&63,k[B++]=128|63&j):(j=65536+((1023&j)<<10|1023&F.charCodeAt(++E)),k[B++]=240|j>>18,k[B++]=128|j>>12&63,k[B++]=128|j>>6&63,k[B++]=128|63&j);F=k}else{if("object"!==f)throw new Error(ERROR);if(null===F)throw new Error(ERROR);if(ARRAY_BUFFER&&F.constructor===ArrayBuffer)F=new Uint8Array(F);else if(!(Array.isArray(F)||ARRAY_BUFFER&&ArrayBuffer.isView(F)))throw new Error(ERROR)}F.length>64&&(F=new Sha256(N,!0).update(F).array());var q=[],Q=[];for(E=0;E<64;++E){var G=F[E]||0;q[E]=92^G,Q[E]=54^G}Sha256.call(this,N,x),this.update(Q),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(F){if(!this.finalized){var N,x=typeof F;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===F)throw new Error(ERROR);if(ARRAY_BUFFER&&F.constructor===ArrayBuffer)F=new Uint8Array(F);else if(!(Array.isArray(F)||ARRAY_BUFFER&&ArrayBuffer.isView(F)))throw new Error(ERROR);N=!0}for(var E,k,f=0,O=F.length,B=this.blocks;f>2]|=F[f]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(B[k>>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=B[16],this.start=k-64,this.hash(),this.hashed=!0):this.start=k}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 F=this.blocks,N=this.lastByteIndex;F[16]=this.block,F[N>>2]|=EXTRA[3&N],this.block=F[16],N>=56&&(this.hashed||this.hash(),F[0]=this.block,F[16]=F[1]=F[2]=F[3]=F[4]=F[5]=F[6]=F[7]=F[8]=F[9]=F[10]=F[11]=F[12]=F[13]=F[14]=F[15]=0),F[14]=this.hBytes<<3|this.bytes>>>29,F[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,$,ae,ie,le,F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?($=300032,B=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):($=704751109,B=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(B=E+(z=B+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&k^~f&O)+K[q]+j[q])<<0,E=z+(((F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10))+(($=F&N)^F&x^le))<<0),O=x+(z=O+((B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7))+(B&f^~B&k)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&F)^E&N^$))<<0,k=N+(z=k+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&B^~O&f)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&F^ae))<<0,f=F+(z=f+((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&B)+K[q+3]+j[q+3])<<0,F=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+F<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+f<<0,this.h5=this.h5+k<<0,this.h6=this.h6+O<<0,this.h7=this.h7+B<<0},Sha256.prototype.hex=function(){this.finalize();var F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=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[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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[k>>28&15]+HEX_CHARS[k>>24&15]+HEX_CHARS[k>>20&15]+HEX_CHARS[k>>16&15]+HEX_CHARS[k>>12&15]+HEX_CHARS[k>>8&15]+HEX_CHARS[k>>4&15]+HEX_CHARS[15&k]+HEX_CHARS[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=[F>>24&255,F>>16&255,F>>8&255,255&F,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,f>>24&255,f>>16&255,f>>8&255,255&f,k>>24&255,k>>16&255,k>>8&255,255&k,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(B>>24&255,B>>16&255,B>>8&255,255&B),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var F=new ArrayBuffer(this.is224?28:32),N=new DataView(F);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),F},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var F=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(F),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(F){if("string"!=typeof F)throw new TypeError("expected string");var N,x=F,E=new Uint8Array(x.length);for(N=0;N{class F{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let f of x)E+=String.fromCharCode(f);return E}toHashString(x){const E=new Uint8Array(x);let f="";for(let k of E)f+=String.fromCharCode(k);return f}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})(),OAuthService=(()=>{class F extends AuthConfig{constructor(x,E,f,k,O,B,j,q,Q,G){var Y;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=B,this.logger=j,this.crypto=q,this.dateTimeService=G,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Q,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),k&&(this.tokenValidationHandler=k),O&&this.configure(O);try{f?this.setStorage(f):"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===(Y=null==window?void 0:window.navigator)||void 0===Y?void 0:Y.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,f=!0){let k=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?k=!0:"logout"===O.type&&(k=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{k&&this.refreshInternal(x,f).catch(B=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],f=this.validateUrlForHttps(x),k=this.validateUrlAgainstIssuer(x);return f||E.push("https for all urls required. Also for urls received by discovery."),k||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),f=this.calcTimeout(E,x);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(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),f=this.calcTimeout(E,x);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(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}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(x,E){const f=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(f-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,f)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(k=>{if(!this.validateDiscoveryDocument(k))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=k.authorization_endpoint,this.logoutUrl=k.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=k.grant_types_supported,this.issuer=k.issuer,this.tokenEndpoint=k.token_endpoint,this.userinfoEndpoint=k.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=k.jwks_uri,this.sessionCheckIFrameUrl=k.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(k),this.revocationEndpoint=k.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:k,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),f(O)})},k=>{this.logger.error("error loading discovery document",k),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",k)),f(k)}):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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),E(f)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,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((x,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(k=>{if(this.debug("userinfo received",JSON.stringify(k)),k.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(k.body);const B=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!B.sub||O.sub!==B.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");O=Object.assign({},B,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(k.body))},k=>{this.logger.error("error loading user info",k),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",k)),E(k)})})}fetchTokenUsingPasswordFlow(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},f)}fetchTokenUsingGrant(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let k=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(k=k.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(k=k.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))k=k.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))k=k.set(O,E[O]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,B)=>{this.http.post(this.tokenEndpoint,k,{headers:f}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),B(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,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")),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,f,{headers:k}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(B=>this.storeIdToken(B)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);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(x={},E=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 k=this.document.getElementById(this.silentRefreshIFrameName);k&&this.document.body.removeChild(k),this.silentRefreshSubject=f.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(G=>{O.setAttribute("src",G),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(G=>G instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(G=>"token_received"===G.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Q=(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__.S)([j,q,Q]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(G=>{if(G instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===G.type||(G=new OAuthErrorEvent("silent_refresh_error",G)),this.eventsSubject.next(G),G;return"token_received"===G.type&&(G=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(G)),G})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((f,k)=>{let j,B=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(B=x.windowRef,B.location.href=E):B=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{G(),f(!0)},se=>{G(),k(se)})};B?j=window.setInterval(()=>{(!B||B.closed)&&(G(),k(new OAuthErrorEvent("popup_closed",{})))},500):k(new OAuthErrorEvent("popup_blocked",{}));const G=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",Y),null!==B&&B.close(),B=null},Y=re=>{const se=this.processMessageEventMessage(re);se&&null!==se?(window.removeEventListener("storage",z),q(se)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",Y),q(re.newValue))};window.addEventListener("message",Y),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,f=x.width||500,k=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${k}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const f=x.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=x=>{const E=x.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",f,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",f="",k=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const B=this;let j;j=f||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Q=B.loginUrl.indexOf("?")>-1?"&":"?";let G=B.scope;this.oidc&&!G.match(/(^|\s)openid($|\s)/)&&(G="openid "+G);let Y=B.loginUrl+Q+"response_type="+encodeURIComponent(B.responseType)+"&client_id="+encodeURIComponent(B.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(G);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),Y+="&code_challenge="+z,Y+="&code_challenge_method=S256"}E&&(Y+="&login_hint="+encodeURIComponent(E)),B.resource&&(Y+="&resource="+encodeURIComponent(B.resource)),B.oidc&&(Y+="&nonce="+encodeURIComponent(q)),k&&(Y+="&prompt=none");for(const z of Object.keys(O))Y+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))Y+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return Y})}initImplicitFlowInternal(x="",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={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(f=E),this.createLoginUrl(x,k,null,!1,f).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const f={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(f)}}storeAccessTokenResponse(x,E,f,k,O){if(this._storage.setItem("access_token",x),k&&!Array.isArray(k)?this._storage.setItem("granted_scopes",JSON.stringify(k.split(" "))):k&&Array.isArray(k)&&this._storage.setItem("granted_scopes",JSON.stringify(k)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const B=1e3*f,q=this.dateTimeService.new().getTime()+B;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((B,j)=>{this._storage.setItem(j,B)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(E),k=f.code,O=f.state,B=f.session_state;if(!x.preventClearHashAfterLogin){const Q=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,Q)}let[j,q]=this.parseState(O);if(this.state=q,f.error){this.debug("error trying to login"),this.handleLoginError(x,f);const Q=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(Q),Promise.reject(Q)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const G=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(G),Promise.reject(G)}return this.storeSessionState(B),k&&(yield this.getTokenFromCode(k,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let k;k=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),k?f=f.set("code_verifier",k):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,E)}fetchAndProcessToken(x,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 k=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+k)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((k,O)=>{if(this.customQueryParams)for(let B of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(B,this.customQueryParams[B]);this.http.post(this.tokenEndpoint,x,{headers:f}).subscribe(B=>{this.debug("refresh tokenResponse",B),this.storeAccessTokenResponse(B.access_token,B.refresh_token,B.expires_in||this.fallbackAccessTokenExpirationTimeInSec,B.scope,this.extractRecognizedCustomParameters(B)),this.oidc&&B.id_token?this.processIdToken(B.id_token,B.access_token,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(B)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(B))},B=>{console.error("Error getting token",B),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",B)),O(B)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const f=E.state;let[k,O]=this.parseState(f);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const G=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(G),Promise.reject(G)}const B=E.access_token,j=E.id_token,q=E.session_state,Q=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!B||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!f||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(k)){const Y=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(Y),Promise.reject(Y)}return this.requestAccessToken&&this.storeAccessTokenResponse(B,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(j,B,x.disableNonceCheck).then(G=>x.validationHandler?x.validationHandler({accessToken:B,idClaims:G.idTokenClaims,idToken:G.idToken,state:f}).then(Y=>G):G).then(G=>(this.storeIdToken(G),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(G=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",G)),this.logger.error("Error validating tokens"),this.logger.error(G),Promise.reject(G))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,f="";if(x){const k=x.indexOf(this.config.nonceStateSeparator);k>-1&&(E=x.substr(0,k),f=x.substr(k+this.config.nonceStateSeparator.length))}return[E,f]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,f=!1){const k=x.split("."),B=b64DecodeUnicode(this.padBase64(k[0])),j=JSON.parse(B),Q=b64DecodeUnicode(this.padBase64(k[1])),G=JSON.parse(Q);let Y;if(Y=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(G.aud)){if(G.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+G.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(G.aud!==this.clientId){const ie="Wrong audience: "+G.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!G.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==G.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${G.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!G.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&G.iss!==this.issuer){const ie="Wrong issuer: "+G.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!f&&G.nonce!==Y){const ie="Wrong nonce: "+G.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!G.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*G.iat,se=1e3*G.exp,$=this.getClockSkewInMsec();if(re-$>=z||se+$<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:se}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:G,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:G,idTokenClaimsJson:Q,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:se})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:G,idTokenClaimsJson:Q,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:se};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(Pe=>{if(this.requestAccessToken&&!Pe){const Ce="Wrong at_hash";return this.logger.warn(Ce),Promise.reject(Ce)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let f=!1;"boolean"==typeof x&&(f=x,x={});const k=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(B=>this._storage.removeItem(B)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!k&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(k)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});k&&(B=B.set("id_token_hint",k));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(B=B.set("post_logout_redirect_uri",j),E&&(B=B.set("state",E)));for(let q in x)B=B.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+B.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,k="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let B=new Uint8Array(f);O.getRandomValues(B),B.map||(B.map=Array.prototype.map),B=B.map(j=>E.charCodeAt(j%E.length)),k=String.fromCharCode.apply(null,B)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(f=E),this.createLoginUrl(x,k,null,!1,f).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{x[f]&&E.set(f,JSON.stringify(x[f]))}),E}revokeTokenAndLogout(x={},E=!1){let f=this.revocationEndpoint,k=this.getAccessToken(),O=this.getRefreshToken();if(!k)return;let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}if(this.useHttpBasicAuth||(B=B.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(B=B.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const q of Object.getOwnPropertyNames(this.customQueryParams))B=B.set(q,this.customQueryParams[q]);return new Promise((q,Q)=>{let G,Y;if(k){let z=B.set("token",k).set("token_type_hint","access_token");G=this.http.post(f,z,{headers:j})}else G=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=B.set("token",O).set("token_type_hint","refresh_token");Y=this.http.post(f,z,{headers:j})}else Y=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(G=G.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))),Y=Y.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__.a)([G,Y]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Q(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return F.\u0275fac=function(x){return new(x||F)(_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))},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class F{constructor(x,E,f){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=f}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const f=x.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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(B=>this.errorHandler.handleError(B)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return F.\u0275fac=function(x){return new(x||F)(_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))},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class F{static forRoot(x=null,E=NullValidationHandler){return{ngModule:F,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:F}),F.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),F})();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:F=>{"use strict";F.exports={i8:"9.0.0"}}},F=>{F(F.s=4096)}]); \ No newline at end of file +(self.webpackChunkconsolidator=self.webpackChunkconsolidator||[]).push([[179],{4096:(F,N,x)=>{"use strict";var E=x(9808),f=x(5e3);class k extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends k{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(r,e,t){return r.addEventListener(e,t,!1),()=>{r.removeEventListener(e,t,!1)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}createElement(r,e){return(e=e||this.getDefaultDocument()).createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return"window"===e?window:"document"===e?r:"body"===e?r.body:null}getBaseHref(r){const e=function j(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==e?null:function Q(s){q=q||document.createElement("a"),q.setAttribute("href",s);const r=q.pathname;return"/"===r.charAt(0)?r:`/${r}`}(e)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return(0,E.Mx)(document.cookie,r)}}let q,B=null;const G=new f.OlP("TRANSITION_ID"),z=[{provide:f.ip1,useFactory:function Y(s,r,e){return()=>{e.get(f.CZH).donePromise.then(()=>{const t=(0,E.q)(),o=r.querySelectorAll(`style[ng-transition="${s}"]`);for(let c=0;c{const c=r.findTestabilityInTree(t,o);if(null==c)throw new Error("Could not find testability for element.");return c},f.dqk.getAllAngularTestabilities=()=>r.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>r.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(t=>{const o=f.dqk.getAllAngularTestabilities();let c=o.length,l=!1;const n=function(i){l=l||i,c--,0==c&&t(l)};o.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(r,e,t){if(null==e)return null;const o=r.getTestability(e);return null!=o?o:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null}}let se=(()=>{class s{build(){return new XMLHttpRequest}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const $=new f.OlP("EventManagerPlugins");let ae=(()=>{class s{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 c=0;c{class s{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 s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Te=(()=>{class s extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(c=>{const l=this._doc.createElement("style");l.textContent=c,o.push(t.appendChild(l))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function Me(s){(0,E.q)().remove(s)}const Pe={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/"},Ce=/%COMP%/g;function ne(s,r,e){for(let t=0;t{if("__ngUnwrap__"===r)return s;!1===s(r)&&(r.preventDefault(),r.returnValue=!1)}}let ge=(()=>{class s{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case f.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new Rt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case f.ifc.ShadowDom:return new Vt(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(ae),f.LFG(Te),f.LFG(f.AFp))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class pe{constructor(r){this.eventManager=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(r,e){return e?document.createElementNS(Pe[e]||e,r):document.createElement(r)}createComment(r){return document.createComment(r)}createText(r){return document.createTextNode(r)}appendChild(r,e){r.appendChild(e)}insertBefore(r,e,t){r&&r.insertBefore(e,t)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let t="string"==typeof r?document.querySelector(r):r;if(!t)throw new Error(`The selector "${r}" did not match any elements`);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,o){if(o){e=o+":"+e;const c=Pe[o];c?r.setAttributeNS(c,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){const o=Pe[t];o?r.removeAttributeNS(o,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,o){o&(f.JOm.DashCase|f.JOm.Important)?r.style.setProperty(e,t,o&f.JOm.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&f.JOm.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r[e]=t}setValue(r,e){r.nodeValue=e}listen(r,e,t){return"string"==typeof r?this.eventManager.addGlobalEventListener(r,e,ce(t)):this.eventManager.addEventListener(r,e,ce(t))}}class Rt extends pe{constructor(r,e,t,o){super(r),this.component=t;const c=ne(o+"-"+t.id,t.styles,[]);e.addStyles(c),this.contentAttr=function xe(s){return"_ngcontent-%COMP%".replace(Ce,s)}(o+"-"+t.id),this.hostAttr=function Ve(s){return"_nghost-%COMP%".replace(Ce,s)}(o+"-"+t.id)}applyToHost(r){super.setAttribute(r,this.hostAttr,"")}createElement(r,e){const t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}}class Vt extends pe{constructor(r,e,t,o){super(r),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ne(o.id,o.styles,[]);for(let l=0;l{class s extends ie{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 s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const oi=["alt","control","meta","shift"],ti={"\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"},Mt={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"},zn={alt:s=>s.altKey,control:s=>s.ctrlKey,meta:s=>s.metaKey,shift:s=>s.shiftKey};let Ui=(()=>{class s extends ie{constructor(e){super(e)}supports(e){return null!=s.parseEventName(e)}addEventListener(e,t,o){const c=s.parseEventName(t),l=s.eventCallback(c.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,c.domEventName,l))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const c=s._normalizeKey(t.pop());let l="";if(oi.forEach(i=>{const a=t.indexOf(i);a>-1&&(t.splice(a,1),l+=i+".")}),l+=c,0!=t.length||0===c.length)return null;const n={};return n.domEventName=o,n.fullKey=l,n}static getEventFullKey(e){let t="",o=function si(s){let r=s.key;if(null==r){if(r=s.keyIdentifier,null==r)return"Unidentified";r.startsWith("U+")&&(r=String.fromCharCode(parseInt(r.substring(2),16)),3===s.location&&Mt.hasOwnProperty(r)&&(r=Mt[r]))}return ti[r]||r}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),oi.forEach(c=>{c!=o&&zn[c](e)&&(t+=c+".")}),t+=o,t}static eventCallback(e,t,o){return c=>{s.getEventFullKey(c)===e&&o.runGuarded(()=>t(c))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const Rr=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:E.bD},{provide:f.g9A,useValue:function ur(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function to(){return(0,f.RDi)(document),document},deps:[]}]),hr=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function eo(){return new f.qLn},deps:[]},{provide:$,useClass:Ne,multi:!0,deps:[E.K0,f.R0b,f.Lbi]},{provide:$,useClass:Ui,multi:!0,deps:[E.K0]},{provide:ge,useClass:ge,deps:[ae,Te,f.AFp]},{provide:f.FYo,useExisting:ge},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b]},{provide:ae,useClass:ae,deps:[$,f.R0b]},{provide:E.JF,useClass:se,deps:[]}];let Ir=(()=>{class s{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:s,providers:[{provide:f.AFp,useValue:e.appId},{provide:G,useExisting:f.AFp},z]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(s,12))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:hr,imports:[E.ez,f.hGG]}),s})(),Vi=(()=>{class s{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function bi(){return new Vi((0,f.LFG)(E.K0))}(),t},providedIn:"root"}),s})();"undefined"!=typeof window&&window;let Sn=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new(e||s):f.LFG(ca),t},providedIn:"root"}),s})(),ca=(()=>{class s extends Sn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case f.q3G.NONE:return t;case f.q3G.HTML:return(0,f.qzn)(t,"HTML")?(0,f.z3N)(t):(0,f.EiD)(this._doc,String(t)).toString();case f.q3G.STYLE:return(0,f.qzn)(t,"Style")?(0,f.z3N)(t):t;case f.q3G.SCRIPT:if((0,f.qzn)(t,"Script"))return(0,f.z3N)(t);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.yhl)(t),(0,f.qzn)(t,"URL")?(0,f.z3N)(t):(0,f.mCW)(String(t));case f.q3G.RESOURCE_URL:if((0,f.qzn)(t,"ResourceURL"))return(0,f.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,f.JVY)(e)}bypassSecurityTrustStyle(e){return(0,f.L6k)(e)}bypassSecurityTrustScript(e){return(0,f.eBb)(e)}bypassSecurityTrustUrl(e){return(0,f.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,f.pB0)(e)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:function(e){let t=null;return t=e?new e:function Ql(s){return new ca(s.get(E.K0))}(f.LFG(f.zs3)),t},providedIn:"root"}),s})();var y=x(520);class Ft{encodeKey(r){return encodeURIComponent(r)}encodeValue(r){return encodeURIComponent(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}}const jt=new f.OlP("basePath");class We{constructor(r={}){this.apiKeys=r.apiKeys,this.username=r.username,this.password=r.password,this.accessToken=r.accessToken,this.basePath=r.basePath,this.withCredentials=r.withCredentials,this.encoder=r.encoder,this.credentials=r.credentials?r.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(r){if(0===r.length)return;const e=r.find(t=>this.isJsonMime(t));return void 0===e?r[0]:e}selectHeaderAccept(r){if(0===r.length)return;const e=r.find(t=>this.isJsonMime(t));return void 0===e?r[0]:e}isJsonMime(r){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==r&&(e.test(r)||"application/json-patch+json"===r.toLowerCase())}lookupCredential(r){const e=this.credentials[r];return"function"==typeof e?e():e}}let Gi=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAllPolicies(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=o&&(i=this.addToHttpParams(i,o,"complementaryObjectName"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}getAuthzRichAdmins(e,t,o,c,l,n,i="body",a=!1,d){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==c)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=o&&(u=this.addToHttpParams(u,o,"complementaryObjectName")),c&&c.forEach(Be=>{u=this.addToHttpParams(u,Be,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,g=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(g=g.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(g=g.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(g=g.set("Accept",H));let U=d&&d.context;void 0===U&&(U=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:U,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:g,observe:i,reportProgress:a})}getFacilitiesWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupRoleNames(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getLoggedUser(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getPerunPrincipal(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserRoleNames(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}isFacilityAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}keepAlive(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ci=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}sentMessageToRTWithMemberQueue(e,t,o,c,l="body",n=!1,i){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==c)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"memberId")),null!=t&&(a=this.addToHttpParams(a,t,"queue")),null!=o&&(a=this.addToHttpParams(a,o,"subject")),null!=c&&(a=this.addToHttpParams(a,c,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sentMessageToRTWithQueue(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sentMessageToRTWithVo(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sentMessageToRTWithVoQueue(e,t,o,c,l="body",n=!1,i){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==c)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"voId")),null!=t&&(a=this.addToHttpParams(a,t,"queue")),null!=o&&(a=this.addToHttpParams(a,o,"subject")),null!=c&&(a=this.addToHttpParams(a,c,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wn=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addApplicationMailForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkForSimilarRichIdentities(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}consolidate(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}consolidateIdentityUsingToken(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromGroupToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromVoToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyFormFromVoToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromGroupToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromGroupToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromVoToGroup(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}copyMailsFromVoToVo(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}createApplicationFormInGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteApplicationMailForVo(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteGroupsFromAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,c,l="body",n=!1,i){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"group")),t&&t.forEach(U=>{a=this.addToHttpParams(a,U,"state[]")}),null!=o&&(a=this.addToHttpParams(a,o,"dateFrom")),null!=c&&(a=this.addToHttpParams(a,c,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getApplicationsForMember(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getApplicationsForVo(e,t,o,c,l="body",n=!1,i){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"vo")),t&&t.forEach(U=>{a=this.addToHttpParams(a,U,"state[]")}),null!=o&&(a=this.addToHttpParams(a,o,"dateFrom")),null!=c&&(a=this.addToHttpParams(a,c,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getApplicationsPage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getFormItemsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupApplicationForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"id")),null!=t&&(n=this.addToHttpParams(n,t,"reason"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}sendInvitation(e,t,o,c,l="body",n=!1,i){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 a=new y.LE({encoder:this.encoder});null!=o&&(a=this.addToHttpParams(a,o,"voId")),null!=c&&(a=this.addToHttpParams(a,c,"name")),null!=e&&(a=this.addToHttpParams(a,e,"email")),null!=t&&(a=this.addToHttpParams(a,t,"language"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sendInvitationForGroup(e,t,o,c,l,n="body",i=!1,a){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 d=new y.LE({encoder:this.encoder});null!=o&&(d=this.addToHttpParams(d,o,"voId")),null!=c&&(d=this.addToHttpParams(d,c,"groupId")),null!=l&&(d=this.addToHttpParams(d,l,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let g,u=this.defaultHeaders;g=this.configuration.lookupCredential("BasicAuth"),g&&(u=u.set("Authorization","Basic "+g)),g=this.configuration.lookupCredential("BearerAuth"),g&&(u=u.set("Authorization","Bearer "+g));let b=a&&a.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=a&&a.context;void 0===H&&(H=new y.qT);let U="json";return b&&(U=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:H,params:d,responseType:U,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}sendInvitationGroupToExistingUser(e,t,o,c="body",l=!1,n){let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"userId")),null!=t&&(i=this.addToHttpParams(i,t,"voId")),null!=o&&(i=this.addToHttpParams(i,o,"groupId"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}sendInvitationToExistingUser(e,t,o="body",c=!1,l){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userId")),null!=t&&(n=this.addToHttpParams(n,t,"voId"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}sendMessage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),pr=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addSpecificUserOwner(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}addUserExtSource(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}anonymizeUser(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}changeNonAuthzPasswordByToken(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}changePasswordForLogin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}changePasswordForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}checkPasswordResetRequestByTokenIsValid(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkPasswordStrength(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}createAlternativePassword(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}createServiceUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}deleteAlternativePassword(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"loginNamespace")),null!=o&&(i=this.addToHttpParams(i,o,"passwordId"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}deletePasswordForLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deletePasswordForUser(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}deleteUser(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}findRichUsers(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}findRichUsersWithAttributes(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"searchString")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrsNames[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}findUsers(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}generateAccountForName(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"namespace")),null!=t&&(n=this.addToHttpParams(n,t,"name"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getAllRichUsersWithAttributes(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"includedSpecificUsers"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAssignedRichResourcesForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsForFacilityWhereUserIsActive(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsForResourceWhereUserIsActive(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsInVoWhereUserIsAdmin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getGroupsWhereUserIsAdmin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getPendingPreferredEmailChanges(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUserExtSources(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUserWithAttributes(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersWithAttributesByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRichUsersWithoutVoWithAttributes(e,t="body",o=!1,c){let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"attrsNames[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getSpecificUsersByUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getSponsorsForMember(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getSponsorsForMemberByVoAndLogin(e,t,o,c,l="body",n=!1,i){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 a=new y.LE({encoder:this.encoder});null!=e&&(a=this.addToHttpParams(a,e,"vo")),null!=t&&(a=this.addToHttpParams(a,t,"extSourceName")),null!=o&&(a=this.addToHttpParams(a,o,"extLogin")),c&&c.forEach(U=>{a=this.addToHttpParams(a,U,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let g=i&&i.httpHeaderAccept;void 0===g&&(g=this.configuration.selectHeaderAccept(["application/json"])),void 0!==g&&(d=d.set("Accept",g));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return g&&(H=g.startsWith("text")?"text":this.configuration.isJsonMime(g)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:a,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserByExtSourceNameAndExtLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extLogin")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceName"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceByExtLoginAndExtSourceName(e,t,o="body",c=!1,l){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extSourceName")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceLogin"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSourceById(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeId")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeName")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}getUserExtSources(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourcesByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsers(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getUsersByIds(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(g=>{l=this.addToHttpParams(l,g,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsersBySpecificUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"specificUser"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUsersPage(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}getVosWhereUserIsAdmin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsMember(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isLoginAvailable(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"loginNamespace")),null!=t&&(n=this.addToHttpParams(n,t,"login"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}loginExist(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}removeSpecificUserOwner(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}removeUserExtSource(e,t,o,c="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"userExtSource")),null!=o&&(i=this.addToHttpParams(i,o,"force"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}requestPreferredEmailChange(e,t,o,c,l,n,i="body",a=!1,d){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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"user")),null!=t&&(u=this.addToHttpParams(u,t,"email")),null!=o&&(u=this.addToHttpParams(u,o,"lang")),null!=c&&(u=this.addToHttpParams(u,c,"linkPath")),null!=l&&(u=this.addToHttpParams(u,l,"customUrl")),null!=n&&(u=this.addToHttpParams(u,n,"idpFilter"));let b,g=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(g=g.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(g=g.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(g=g.set("Accept",H));let U=d&&d.context;void 0===U&&(U=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:U,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:g,observe:i,reportProgress:a})}reservePasswordForLogin(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}reservePasswordForUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}reserveRandomPassword(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}setLogin(e,t,o,c="body",l=!1,n){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==o)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"login")),null!=o&&(i=this.addToHttpParams(i,o,"namespace"));let d,a=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(a=a.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(a=a.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(a=a.set("Accept",u));let g=n&&n.context;void 0===g&&(g=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:g,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:a,observe:c,reportProgress:l})}updateUser(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=c&&c.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let a=c&&c.context;void 0===a&&(a=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let g="json";return i&&(g=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:a,responseType:g,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:o})}updateUserExtSourceLastAccess(e,t="body",o=!1,c){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let a=c&&c.httpHeaderAccept;void 0===a&&(a=this.configuration.selectHeaderAccept(["application/json"])),void 0!==a&&(n=n.set("Accept",a));let d=c&&c.context;void 0===d&&(d=new y.qT);let u="json";return a&&(u=a.startsWith("text")?"text":this.configuration.isJsonMime(a)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}validatePasswordForLogin(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}validatePasswordForUser(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}validatePreferredEmailChangeWithToken(e,t,o="body",c=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"token")),null!=t&&(n=this.addToHttpParams(n,t,"u"));let a,i=this.defaultHeaders;a=this.configuration.lookupCredential("BasicAuth"),a&&(i=i.set("Authorization","Basic "+a)),a=this.configuration.lookupCredential("BearerAuth"),a&&(i=i.set("Authorization","Bearer "+a));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let g="json";return d&&(g=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:u,params:n,responseType:g,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:c})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),nt=(()=>{class s{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 Ft}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(c=>e=this.addToHttpParamsRecursive(e,c,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(c=>e=this.addToHttpParamsRecursive(e,t[c],null!=o?`${o}.${c}`:c));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAppsConfig(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,o){let l,c=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(c=c.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(c=c.set("Authorization","Bearer "+l));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(c=c.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let a="json";return n&&(a=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:a,withCredentials:this.configuration.withCredentials,headers:c,observe:e,reportProgress:t})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(jt,8),f.LFG(We,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wp=(()=>{class s{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:s,providers:[{provide:We,useFactory:e}]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(s,12),f.LFG(y.eN,8))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[],imports:[[]]}),s})();var dt=(()=>{return(s=dt||(dt={})).PERUNADMIN="PERUNADMIN",s.PERUNOBSERVER="PERUNOBSERVER",s.VOADMIN="VOADMIN",s.GROUPADMIN="GROUPADMIN",s.GROUPOBSERVER="GROUPOBSERVER",s.SELF="SELF",s.FACILITYADMIN="FACILITYADMIN",s.FACILITIYOBSERVER="FACILITYOBSERVER",s.RESOURCEADMIN="RESOURCEADMIN",s.RESOURCESELFSERVICE="RESOURCESELFSERVICE",s.REGISTRAR="REGISTRAR",s.ENGINE="ENGINE",s.RPC="RPC",s.NOTIFICATIONS="NOTIFICATIONS",s.SERVICEUSER="SERVICEUSER",s.SPONSOR="SPONSOR",s.VOOBSERVER="VOOBSERVER",s.TOPGROUPCREATOR="TOPGROUPCREATOR",s.SECURITYADMIN="SECURITYADMIN",s.CABINETADMIN="CABINETADMIN",s.UNKNOWNROLENAME="UNKNOWNROLENAME",s.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",s.UNKNOWN="UNKNOWN",s.MEMBERSHIP="MEMBERSHIP",dt;var s})();let $p=(()=>{class s{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 c=[];for(const n of o)c=c.concat(n.perunRoles);const l=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(c,l)}principalHasRole(e,t,o){let c=t;return t.startsWith("Rich")&&(c=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][c])&&this.principal.roles[e][c].includes(Number(o.toString()))}canManageFacilities(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER,dt.FACILITYADMIN,dt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(dt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(dt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(dt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOOBSERVER,dt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(dt.PERUNADMIN,dt.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.substring(4)),this.assignAvailableRoles(t,o);const c=new Map;this.setRolesAuthorization(t,e,c);for(const l of c.values())if(l.readAuth||l.manageAuth)return!0;return!1}setRolesAuthorization(e,t,o){for(const c of e){let l=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===c){l=l.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const H of Object.keys(b.entitiesToManage))i="User"===H?[H].concat(i):i.concat(H);break}const a=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(l,a),u=this.resolveAuthorization(n,a);o.set(c,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const o of e){let c=!0;for(const l of Object.keys(o)){const n=o[l];if(null===n)this.principalRoles.has(l)||(c=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(l,n,i)){c=!1;break}}else c=!1;if(!c)break}if(c)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const o of e){let c=o.beanName;switch(o.beanName.startsWith("Rich")&&(c=o.beanName.substring(4)),t[c]?t[c].push(o.id):t[c]=[o.id],c){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const l=o.shift();if(t.has(l))continue;const n=this.getPerunPolicy(l);if(!n)return[];t.set(l,n),o=o.concat(n.includePolicies)}const c=[];for(const l of t.values())c.push(l);return c}voCustomSort(e){for(let t=0;t{(0,fa.Xf)(s()).subscribe(r)})}var Di=x(515),ui=x(727),Hi=x(4482),Fi=x(5403);function ec(){return(0,Hi.e)((s,r)=>{let e=null;s._refCount++;const t=(0,Fi.x)(r,void 0,void 0,void 0,()=>{if(!s||s._refCount<=0||0<--s._refCount)return void(e=null);const o=s._connection,c=e;e=null,o&&(!c||o===c)&&o.unsubscribe(),r.unsubscribe()});s.subscribe(t),t.closed||(e=s.connect())})}class Yp extends vi.y{constructor(r,e){super(),this.source=r,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Hi.A)(r)&&(this.lift=r.lift)}_subscribe(r){return this.getSubject().subscribe(r)}getSubject(){const r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:r}=this;this._subject=this._connection=null,null==r||r.unsubscribe()}connect(){let r=this._connection;if(!r){r=this._connection=new ui.w0;const e=this.getSubject();r.add(this.source.subscribe((0,Fi.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),r.closed&&(this._connection=null,r=ui.w0.EMPTY)}return r}refCount(){return ec()(this)}}var ft=x(4004),$i=x(3900),hi=x(5698),co=x(3269);function $n(...s){const r=(0,co.yG)(s);return(0,Hi.e)((e,t)=>{(r?(0,so.z)(s,e,r):(0,so.z)(s,e)).subscribe(t)})}function ji(s,r,e,t,o){return(c,l)=>{let n=e,i=r,a=0;c.subscribe((0,Fi.x)(l,d=>{const u=a++;i=n?s(i,d,u):(n=!0,d),t&&l.next(i)},o&&(()=>{n&&l.next(i),l.complete()})))}}function bs(s,r){return(0,Hi.e)(ji(s,r,arguments.length>=2,!0))}var Yi=x(262),fr=x(4351);function tc(s){return s<=0?()=>Di.E:(0,Hi.e)((r,e)=>{let t=[];r.subscribe((0,Fi.x)(e,o=>{t.push(o),s{for(const o of t)e.next(o);e.complete()},void 0,()=>{t=null}))})}var ou=x(8068),Cs=x(6590),ys=x(4671),uo=x(590),gt=x(5577),M=x(8505);function I(s){return(0,Hi.e)((r,e)=>{try{r.subscribe(e)}finally{e.add(s)}})}var D=x(8189);class V{constructor(r,e){this.id=r,this.url=e}}class J extends V{constructor(r,e,t="imperative",o=null){super(r,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends V{constructor(r,e,t){super(r,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _e extends V{constructor(r,e,t){super(r,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ge extends V{constructor(r,e,t){super(r,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ht extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt extends V{constructor(r,e,t,o,c){super(r,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=c}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends V{constructor(r,e,t,o){super(r,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot{constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nt{constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Br{constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dn{constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Je{constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ga{constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ws{constructor(r,e,t){this.routerEvent=r,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ot="primary";class ic{constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){const e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ma(s){return new ic(s)}const Qp="ngNavigationCancelingError";function su(s){const r=Error("NavigationCancelingError: "+s);return r[Qp]=!0,r}function vt(s,r,e){const t=e.path.split("/");if(t.length>s.length||"full"===e.pathMatch&&(r.hasChildren()||t.lengtht[c]===o)}return s===r}function ho(s){return Array.prototype.concat.apply([],s)}function Hn(s){return s.length>0?s[s.length-1]:null}function ni(s,r){for(const e in s)s.hasOwnProperty(e)&&r(s[e],e)}function gr(s){return(0,f.CqO)(s)?s:(0,f.QGY)(s)?(0,Li.D)(Promise.resolve(s)):(0,Ue.of)(s)}const nc={exact:function cu(s,r,e){if(!Or(s.segments,r.segments)||!xs(s.segments,r.segments,e)||s.numberOfChildren!==r.numberOfChildren)return!1;for(const t in r.children)if(!s.children[t]||!cu(s.children[t],r.children[t],e))return!1;return!0},subset:Yn},As={exact:function mr(s,r){return Pt(s,r)},subset:function po(s,r){return Object.keys(r).length<=Object.keys(s).length&&Object.keys(r).every(e=>lu(s[e],r[e]))},ignored:()=>!0};function wi(s,r,e){return nc[e.paths](s.root,r.root,e.matrixParams)&&As[e.queryParams](s.queryParams,r.queryParams)&&!("exact"===e.fragment&&s.fragment!==r.fragment)}function Yn(s,r,e){return Zp(s,r,r.segments,e)}function Zp(s,r,e,t){if(s.segments.length>e.length){const o=s.segments.slice(0,e.length);return!(!Or(o,e)||r.hasChildren()||!xs(o,e,t))}if(s.segments.length===e.length){if(!Or(s.segments,e)||!xs(s.segments,e,t))return!1;for(const o in r.children)if(!s.children[o]||!Yn(s.children[o],r.children[o],t))return!1;return!0}{const o=e.slice(0,s.segments.length),c=e.slice(s.segments.length);return!!(Or(s.segments,o)&&xs(s.segments,o,t)&&s.children[ot])&&Zp(s.children[ot],r,c,t)}}function xs(s,r,e){return r.every((t,o)=>As[e](s[o].parameters,t.parameters))}class _a{constructor(r,e,t){this.root=r,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ma(this.queryParams)),this._queryParamMap}toString(){return rc.serialize(this)}}class Ct{constructor(r,e){this.segments=r,this.children=e,this.parent=null,ni(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ts(this)}}class ba{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ma(this.parameters)),this._parameterMap}toString(){return _r(this)}}function Or(s,r){return s.length===r.length&&s.every((e,t)=>e.path===r[t].path)}class Xp{}class hu{parse(r){const e=new lc(r);return new _a(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){const e=`/${fo(r.root,!0)}`,t=function ef(s){const r=Object.keys(s).map(e=>{const t=s[e];return Array.isArray(t)?t.map(o=>`${Es(e)}=${Es(o)}`).join("&"):`${Es(e)}=${Es(t)}`}).filter(e=>!!e);return r.length?`?${r.join("&")}`:""}(r.queryParams);return`${e}${t}${"string"==typeof r.fragment?`#${function ac(s){return encodeURI(s)}(r.fragment)}`:""}`}}const rc=new hu;function Ts(s){return s.segments.map(r=>_r(r)).join("/")}function fo(s,r){if(!s.hasChildren())return Ts(s);if(r){const e=s.children[ot]?fo(s.children[ot],!1):"",t=[];return ni(s.children,(o,c)=>{c!==ot&&t.push(`${c}:${fo(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function uu(s,r){let e=[];return ni(s.children,(t,o)=>{o===ot&&(e=e.concat(r(t,o)))}),ni(s.children,(t,o)=>{o!==ot&&(e=e.concat(r(t,o)))}),e}(s,(t,o)=>o===ot?[fo(s.children[ot],!1)]:[`${o}:${fo(t,!1)}`]);return 1===Object.keys(s.children).length&&null!=s.children[ot]?`${Ts(s)}/${e[0]}`:`${Ts(s)}/(${e.join("//")})`}}function pu(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Es(s){return pu(s).replace(/%3B/gi,";")}function fu(s){return pu(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oc(s){return decodeURIComponent(s)}function Ai(s){return oc(s.replace(/\+/g,"%20"))}function _r(s){return`${fu(s.path)}${function zt(s){return Object.keys(s).map(r=>`;${fu(r)}=${fu(s[r])}`).join("")}(s.parameters)}`}const yb=/^[^\/()?;=#]+/;function Ss(s){const r=s.match(yb);return r?r[0]:""}const vb=/^[^=?&#]+/,Ab=/^[^&#]+/;class lc{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const r={};if(this.consumeOptional("?"))do{this.parseQueryParam(r)}while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(t[ot]=new Ct(r,e)),t}parseSegment(){const r=Ss(this.remaining);if(""===r&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(r),new ba(oc(r),this.parseMatrixParams())}parseMatrixParams(){const r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){const e=Ss(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=Ss(this.remaining);o&&(t=o,this.capture(t))}r[oc(e)]=oc(t)}parseQueryParam(r){const e=function wb(s){const r=s.match(vb);return r?r[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const l=function sc(s){const r=s.match(Ab);return r?r[0]:""}(this.remaining);l&&(t=l,this.capture(t))}const o=Ai(e),c=Ai(t);if(r.hasOwnProperty(o)){let l=r[o];Array.isArray(l)||(l=[l],r[o]=l),l.push(c)}else r[o]=c}parseParens(r){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Ss(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let c;t.indexOf(":")>-1?(c=t.substr(0,t.indexOf(":")),this.capture(c),this.capture(":")):r&&(c=ot);const l=this.parseChildren();e[c]=1===Object.keys(l).length?l[ot]:new Ct([],l),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return!!this.peekStartsWith(r)&&(this.remaining=this.remaining.substring(r.length),!0)}capture(r){if(!this.consumeOptional(r))throw new Error(`Expected "${r}".`)}}class Ms{constructor(r){this._root=r}get root(){return this._root.value}parent(r){const e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){const e=Ds(r,this._root);return e?e.children.map(t=>t.value):[]}firstChild(r){const e=Ds(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){const e=cc(r,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==r)}pathFromRoot(r){return cc(r,this._root).map(e=>e.value)}}function Ds(s,r){if(s===r.value)return r;for(const e of r.children){const t=Ds(s,e);if(t)return t}return null}function cc(s,r){if(s===r.value)return[r];for(const e of r.children){const t=cc(s,e);if(t.length)return t.unshift(r),t}return[]}class br{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}}function Qi(s){const r={};return s&&s.children.forEach(e=>r[e.value.outlet]=e),r}class go extends Ms{constructor(r,e){super(r),this.snapshot=e,nf(this,r)}toString(){return this.snapshot.toString()}}function tf(s,r){const e=function xb(s,r){const l=new uc([],{},{},"",{},ot,r,null,s.root,-1,{});return new Eb("",new br(l,[]))}(s,r),t=new di([new ba("",{})]),o=new di({}),c=new di({}),l=new di({}),n=new di(""),i=new Ji(t,o,l,n,c,ot,r,e.root);return i.snapshot=e.root,new go(new br(i,[]),e)}class Ji{constructor(r,e,t,o,c,l,n,i){this.url=r,this.params=e,this.queryParams=t,this.fragment=o,this.data=c,this.outlet=l,this.component=n,this._futureSnapshot=i}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,ft.U)(r=>ma(r)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ft.U)(r=>ma(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dc(s,r="emptyOnly"){const e=s.pathFromRoot;let t=0;if("always"!==r)for(t=e.length-1;t>=1;){const o=e[t],c=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(c.component)break;t--}}return function Tb(s){return s.reduce((r,e)=>({params:Object.assign(Object.assign({},r.params),e.params),data:Object.assign(Object.assign({},r.data),e.data),resolve:Object.assign(Object.assign({},r.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class uc{constructor(r,e,t,o,c,l,n,i,a,d,u){this.url=r,this.params=e,this.queryParams=t,this.fragment=o,this.data=c,this.outlet=l,this.component=n,this.routeConfig=i,this._urlSegment=a,this._lastPathIndex=d,this._resolve=u}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=ma(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ma(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Eb extends Ms{constructor(r,e){super(e),this.url=r,nf(this,e)}toString(){return Hs(this._root)}}function nf(s,r){r.value._routerState=s,r.children.forEach(e=>nf(s,e))}function Hs(s){const r=s.children.length>0?` { ${s.children.map(Hs).join(", ")} } `:"";return`${s.value}${r}`}function hc(s){if(s.snapshot){const r=s.snapshot,e=s._futureSnapshot;s.snapshot=e,Pt(r.queryParams,e.queryParams)||s.queryParams.next(e.queryParams),r.fragment!==e.fragment&&s.fragment.next(e.fragment),Pt(r.params,e.params)||s.params.next(e.params),function Jp(s,r){if(s.length!==r.length)return!1;for(let e=0;ePt(e.parameters,r[t].parameters))}(s.url,r.url);return e&&!(!s.parent!=!r.parent)&&(!s.parent||Ps(s.parent,r.parent))}function mo(s,r,e){if(e&&s.shouldReuseRoute(r.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=r.value;const o=function rf(s,r,e){return r.children.map(t=>{for(const o of e.children)if(s.shouldReuseRoute(t.value,o.value.snapshot))return mo(s,t,o);return mo(s,t)})}(s,r,e);return new br(t,o)}{if(s.shouldAttach(r.value)){const c=s.retrieve(r.value);if(null!==c){const l=c.route;return l.value._futureSnapshot=r.value,l.children=r.children.map(n=>mo(s,n)),l}}const t=function _o(s){return new Ji(new di(s.url),new di(s.params),new di(s.queryParams),new di(s.fragment),new di(s.data),s.outlet,s.component,s)}(r.value),o=r.children.map(c=>mo(s,c));return new br(t,o)}}function Cr(s){return"object"==typeof s&&null!=s&&!s.outlets&&!s.segmentPath}function Ca(s){return"object"==typeof s&&null!=s&&s.outlets}function bo(s,r,e,t,o){let c={};return t&&ni(t,(l,n)=>{c[n]=Array.isArray(l)?l.map(i=>`${i}`):`${l}`}),new _a(e.root===s?r:Mb(e.root,s,r),c,o)}function Mb(s,r,e){const t={};return ni(s.children,(o,c)=>{t[c]=o===r?e:Mb(o,r,e)}),new Ct(s.segments,t)}class gu{constructor(r,e,t){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=t,r&&t.length>0&&Cr(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(Ca);if(o&&o!==Hn(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mu{constructor(r,e,t){this.segmentGroup=r,this.processChildren=e,this.index=t}}function fc(s,r,e){if(s||(s=new Ct([],{})),0===s.segments.length&&s.hasChildren())return ya(s,r,e);const t=function gc(s,r,e){let t=0,o=r;const c={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return c;const l=s.segments[o],n=e[t];if(Ca(n))break;const i=`${n}`,a=t0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!yu(i,a,l))return c;t+=2}else{if(!yu(i,{},l))return c;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(s,r,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof c&&(c=[c]),null!==c&&(o[l]=fc(s.children[l],r,c))}),ni(s.children,(c,l)=>{void 0===t[l]&&(o[l]=c)}),new Ct(s.segments,o)}}function bu(s,r,e){const t=s.segments.slice(0,r);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(r[t]=bu(new Ct([],{}),0,e))}),r}function Cu(s){const r={};return ni(s,(e,t)=>r[t]=`${e}`),r}function yu(s,r,e){return s==e.path&&Pt(r,e.parameters)}class Hb{constructor(r,e,t,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(r){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,r),hc(this.futureState.root),this.activateChildRoutes(e,t,r)}deactivateChildRoutes(r,e,t){const o=Qi(e);r.children.forEach(c=>{const l=c.value.outlet;this.deactivateRoutes(c,o[l],t),delete o[l]}),ni(o,(c,l)=>{this.deactivateRouteAndItsChildren(c,t)})}deactivateRoutes(r,e,t){const o=r.value,c=e?e.value:null;if(o===c)if(o.component){const l=t.getContext(o.outlet);l&&this.deactivateChildRoutes(r,e,l.children)}else this.deactivateChildRoutes(r,e,t);else c&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){const t=e.getContext(r.value.outlet),o=t&&r.value.component?t.children:e,c=Qi(r);for(const l of Object.keys(c))this.deactivateRouteAndItsChildren(c[l],o);if(t&&t.outlet){const l=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:l,route:r,contexts:n})}}deactivateRouteAndOutlet(r,e){const t=e.getContext(r.value.outlet),o=t&&r.value.component?t.children:e,c=Qi(r);for(const l of Object.keys(c))this.deactivateRouteAndItsChildren(c[l],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(r,e,t){const o=Qi(e);r.children.forEach(c=>{this.activateRoutes(c,o[c.value.outlet],t),this.forwardEvent(new ga(c.value.snapshot))}),r.children.length&&this.forwardEvent(new Dn(r.value.snapshot))}activateRoutes(r,e,t){const o=r.value,c=e?e.value:null;if(hc(o),o===c)if(o.component){const l=t.getOrCreateContext(o.outlet);this.activateChildRoutes(r,e,l.children)}else this.activateChildRoutes(r,e,t);else if(o.component){const l=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const n=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),l.children.onOutletReAttached(n.contexts),l.attachRef=n.componentRef,l.route=n.route.value,l.outlet&&l.outlet.attach(n.componentRef,n.route.value),hc(n.route.value),this.activateChildRoutes(r,null,l.children)}else{const n=function Pb(s){for(let r=s.parent;r;r=r.parent){const e=r.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),i=n?n.module.componentFactoryResolver:null;l.attachRef=null,l.route=o,l.resolver=i,l.outlet&&l.outlet.activateWith(o,i),this.activateChildRoutes(r,null,l.children)}}else this.activateChildRoutes(r,null,t)}}class Co{constructor(r,e){this.routes=r,this.module=e}}function hn(s){return"function"==typeof s}function Lr(s){return s instanceof _a}const va=Symbol("INITIAL_VALUE");function Qn(){return(0,$i.w)(s=>(0,_s.a)(s.map(r=>r.pipe((0,hi.q)(1),$n(va)))).pipe(bs((r,e)=>{let t=!1;return e.reduce((o,c,l)=>o!==va?o:(c===va&&(t=!0),t||!1!==c&&l!==e.length-1&&!Lr(c)?o:c),r)},va),(0,Mi.h)(r=>r!==va),(0,ft.U)(r=>Lr(r)?r:!0===r),(0,hi.q)(1)))}class vo{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(r,e){const t=this.getOrCreateContext(r);t.outlet=e,this.contexts.set(r,t)}onChildOutletDestroyed(r){const e=this.getContext(r);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let e=this.getContext(r);return e||(e=new vo,this.contexts.set(r,e)),e}getContext(r){return this.contexts.get(r)||null}}let Is=(()=>{class s{constructor(e,t,o,c,l){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=l,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=c||ot,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 l=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new wu(e,n,this.location.injector);this.activated=this.location.createComponent(l,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Jn),f.Y36(f.s_b),f.Y36(f._Vd),f.$8M("name"),f.Y36(f.sBO))},s.\u0275dir=f.lG2({type:s,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),s})();class wu{constructor(r,e,t){this.route=r,this.childContexts=e,this.parent=t}get(r,e){return r===Ji?this.route:r===Jn?this.childContexts:this.parent.get(r,e)}}let wa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&f._UZ(0,"router-outlet")},directives:[Is],encapsulation:2}),s})();function Ib(s,r=""){for(let e=0;ePn(t)===r);return e.push(...s.filter(t=>Pn(t)!==r)),e}const Bb={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xu(s,r,e){var t;if(""===r.path)return"full"===r.pathMatch&&(s.hasChildren()||e.length>0)?Object.assign({},Bb):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const c=(r.matcher||vt)(e,s,r);if(!c)return Object.assign({},Bb);const l={};ni(c.posParams,(i,a)=>{l[a]=i.path});const n=c.consumed.length>0?Object.assign(Object.assign({},l),c.consumed[c.consumed.length-1].parameters):l;return{matched:!0,consumedSegments:c.consumed,lastChild:c.consumed.length,parameters:n,positionalParamSegments:null!==(t=c.posParams)&&void 0!==t?t:{}}}function Tu(s,r,e,t,o="corrected"){if(e.length>0&&function e0(s,r,e){return e.some(t=>wo(s,r,t)&&Pn(t)!==ot)}(s,e,t)){const l=new Ct(r,function ks(s,r,e,t){const o={};o[ot]=t,t._sourceSegment=s,t._segmentIndexShift=r.length;for(const c of e)if(""===c.path&&Pn(c)!==ot){const l=new Ct([],{});l._sourceSegment=s,l._segmentIndexShift=r.length,o[Pn(c)]=l}return o}(s,r,t,new Ct(e,s.children)));return l._sourceSegment=s,l._segmentIndexShift=r.length,{segmentGroup:l,slicedSegments:[]}}if(0===e.length&&function ri(s,r,e){return e.some(t=>wo(s,r,t))}(s,e,t)){const l=new Ct(s.segments,function XA(s,r,e,t,o,c){const l={};for(const n of t)if(wo(s,e,n)&&!o[Pn(n)]){const i=new Ct([],{});i._sourceSegment=s,i._segmentIndexShift="legacy"===c?s.segments.length:r.length,l[Pn(n)]=i}return Object.assign(Object.assign({},o),l)}(s,r,e,t,s.children,o));return l._sourceSegment=s,l._segmentIndexShift=r.length,{segmentGroup:l,slicedSegments:e}}const c=new Ct(s.segments,s.children);return c._sourceSegment=s,c._segmentIndexShift=r.length,{segmentGroup:c,slicedSegments:e}}function wo(s,r,e){return(!(s.hasChildren()||r.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ao(s,r,e,t){return!!(Pn(s)===t||t!==ot&&wo(r,e,s))&&("**"===s.path||xu(r,s,e).matched)}function Ob(s,r,e){return 0===r.length&&!s.children[e]}class Vs{constructor(r){this.segmentGroup=r||null}}class Ki{constructor(r){this.urlTree=r}}function Zi(s){return new vi.y(r=>r.error(new Vs(s)))}function Eu(s){return new vi.y(r=>r.error(new Ki(s)))}function mc(s){return new vi.y(r=>r.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${s}'`)))}class Lb{constructor(r,e,t,o,c){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=c,this.allowRedirects=!0,this.ngModule=r.get(f.h0i)}apply(){const r=Tu(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(r.segments,r.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ot).pipe((0,ft.U)(c=>this.createUrlTree(hf(c),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yi.K)(c=>{if(c instanceof Ki)return this.allowRedirects=!1,this.match(c.urlTree);throw c instanceof Vs?this.noMatchError(c):c}))}match(r){return this.expandSegmentGroup(this.ngModule,this.config,r.root,ot).pipe((0,ft.U)(o=>this.createUrlTree(hf(o),r.queryParams,r.fragment))).pipe((0,Yi.K)(o=>{throw o instanceof Vs?this.noMatchError(o):o}))}noMatchError(r){return new Error(`Cannot match any routes. URL Segment: '${r.segmentGroup}'`)}createUrlTree(r,e,t){const o=r.segments.length>0?new Ct([],{[ot]:r}):r;return new _a(o,e,t)}expandSegmentGroup(r,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(r,e,t).pipe((0,ft.U)(c=>new Ct([],c))):this.expandSegment(r,t,e,t.segments,o,!0)}expandChildren(r,e,t){const o=[];for(const c of Object.keys(t.children))"primary"===c?o.unshift(c):o.push(c);return(0,Li.D)(o).pipe((0,fr.b)(c=>{const l=t.children[c],n=Vb(e,c);return this.expandSegmentGroup(r,n,l,c).pipe((0,ft.U)(i=>({segment:i,outlet:c})))}),bs((c,l)=>(c[l.outlet]=l.segment,c),{}),function vs(s,r){const e=arguments.length>=2;return t=>t.pipe(s?(0,Mi.h)((o,c)=>s(o,c,t)):ys.y,tc(1),e?(0,Cs.d)(r):(0,ou.T)(()=>new oo.K))}())}expandSegment(r,e,t,o,c,l){return(0,Li.D)(t).pipe((0,fr.b)(n=>this.expandSegmentAgainstRoute(r,e,t,n,o,c,l).pipe((0,Yi.K)(a=>{if(a instanceof Vs)return(0,Ue.of)(null);throw a}))),(0,uo.P)(n=>!!n),(0,Yi.K)((n,i)=>{if(n instanceof oo.K||"EmptyError"===n.name){if(Ob(e,o,c))return(0,Ue.of)(new Ct([],{}));throw new Vs(e)}throw n}))}expandSegmentAgainstRoute(r,e,t,o,c,l,n){return Ao(o,e,c,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(r,e,o,c,l):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l):Zi(e):Zi(e)}expandSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(r,t,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l)}expandWildCardWithParamsAgainstRouteUsingRedirect(r,e,t,o){const c=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Eu(c):this.lineralizeSegments(t,c).pipe((0,gt.z)(l=>{const n=new Ct(l,{});return this.expandSegment(r,n,e,l,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(r,e,t,o,c,l){const{matched:n,consumedSegments:i,lastChild:a,positionalParamSegments:d}=xu(e,o,c);if(!n)return Zi(e);const u=this.applyRedirectCommands(i,o.redirectTo,d);return o.redirectTo.startsWith("/")?Eu(u):this.lineralizeSegments(o,u).pipe((0,gt.z)(g=>this.expandSegment(r,e,t,g.concat(c.slice(a)),l,!1)))}matchSegmentAgainstRoute(r,e,t,o,c){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.configLoader.load(r.injector,t)).pipe((0,ft.U)(g=>(t._loadedConfig=g,new Ct(o,{})))):(0,Ue.of)(new Ct(o,{}));const{matched:l,consumedSegments:n,lastChild:i}=xu(e,t,o);if(!l)return Zi(e);const a=o.slice(i);return this.getChildConfig(r,t,o).pipe((0,gt.z)(u=>{const g=u.module,b=u.routes,{segmentGroup:H,slicedSegments:U}=Tu(e,n,a,b),oe=new Ct(H.segments,H.children);if(0===U.length&&oe.hasChildren())return this.expandChildren(g,b,oe).pipe((0,ft.U)(wt=>new Ct(n,wt)));if(0===b.length&&0===U.length)return(0,Ue.of)(new Ct(n,{}));const Be=Pn(t)===c;return this.expandSegment(g,oe,b,U,Be?ot:c,!0).pipe((0,ft.U)(et=>new Ct(n.concat(et.segments),et.children)))}))}getChildConfig(r,e,t){return e.children?(0,Ue.of)(new Co(e.children,r)):e.loadChildren?void 0!==e._loadedConfig?(0,Ue.of)(e._loadedConfig):this.runCanLoadGuards(r.injector,e,t).pipe((0,gt.z)(o=>o?this.configLoader.load(r.injector,e).pipe((0,ft.U)(c=>(e._loadedConfig=c,c))):function Bs(s){return new vi.y(r=>r.error(su(`Cannot load children because the guard of the route "path: '${s.path}'" returned false`)))}(e))):(0,Ue.of)(new Co([],r))}runCanLoadGuards(r,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ue.of)(!0);const c=o.map(l=>{const n=r.get(l);let i;if(function cf(s){return s&&hn(s.canLoad)}(n))i=n.canLoad(e,t);else{if(!hn(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return gr(i)});return(0,Ue.of)(c).pipe(Qn(),(0,M.b)(l=>{if(!Lr(l))return;const n=su(`Redirecting to "${this.urlSerializer.serialize(l)}"`);throw n.url=l,n}),(0,ft.U)(l=>!0===l))}lineralizeSegments(r,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ue.of)(t);if(o.numberOfChildren>1||!o.children[ot])return mc(r.redirectTo);o=o.children[ot]}}applyRedirectCommands(r,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),r,t)}applyRedirectCreatreUrlTree(r,e,t,o){const c=this.createSegmentGroup(r,e.root,t,o);return new _a(c,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){const t={};return ni(r,(o,c)=>{if("string"==typeof o&&o.startsWith(":")){const n=o.substring(1);t[c]=e[n]}else t[c]=o}),t}createSegmentGroup(r,e,t,o){const c=this.createSegments(r,e.segments,t,o);let l={};return ni(e.children,(n,i)=>{l[i]=this.createSegmentGroup(r,n,t,o)}),new Ct(c,l)}createSegments(r,e,t,o){return e.map(c=>c.path.startsWith(":")?this.findPosParam(r,c,o):this.findOrReturn(c,t))}findPosParam(r,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${r}'. Cannot find '${e.path}'.`);return o}findOrReturn(r,e){let t=0;for(const o of e){if(o.path===r.path)return e.splice(t),o;t++}return r}}function hf(s){const r={};for(const t of Object.keys(s.children)){const c=hf(s.children[t]);(c.segments.length>0||c.hasChildren())&&(r[t]=c)}return function Fb(s){if(1===s.numberOfChildren&&s.children[ot]){const r=s.children[ot];return new Ct(s.segments.concat(r.segments),r.children)}return s}(new Ct(s.segments,r))}class Su{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}}class xi{constructor(r,e){this.component=r,this.route=e}}function Mu(s,r,e){const t=s._root;return Os(t,r?r._root:null,e,[t.value])}function Du(s,r,e){const t=function pf(s){if(!s)return null;for(let r=s.parent;r;r=r.parent){const e=r.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(r);return(t?t.module.injector:e).get(s)}function Os(s,r,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const c=Qi(r);return s.children.forEach(l=>{(function jb(s,r,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const c=s.value,l=r?r.value:null,n=e?e.getContext(s.value.outlet):null;if(l&&c.routeConfig===l.routeConfig){const i=function Nb(s,r,e){if("function"==typeof e)return e(s,r);switch(e){case"pathParamsChange":return!Or(s.url,r.url);case"pathParamsOrQueryParamsChange":return!Or(s.url,r.url)||!Pt(s.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ps(s,r)||!Pt(s.queryParams,r.queryParams);default:return!Ps(s,r)}}(l,c,c.routeConfig.runGuardsAndResolvers);i?o.canActivateChecks.push(new Su(t)):(c.data=l.data,c._resolvedData=l._resolvedData),Os(s,r,c.component?n?n.children:null:e,t,o),i&&n&&n.outlet&&n.outlet.isActivated&&o.canDeactivateChecks.push(new xi(n.outlet.component,l))}else l&&Ls(r,n,o),o.canActivateChecks.push(new Su(t)),Os(s,null,c.component?n?n.children:null:e,t,o)})(l,c[l.value.outlet],e,t.concat([l.value]),o),delete c[l.value.outlet]}),ni(c,(l,n)=>Ls(l,e.getContext(n),o)),o}function Ls(s,r,e){const t=Qi(s),o=s.value;ni(t,(c,l)=>{Ls(c,o.component?r?r.children.getContext(l):null:r,e)}),e.canDeactivateChecks.push(new xi(o.component&&r&&r.outlet&&r.outlet.isActivated?r.outlet.component:null,o))}class Ub{}function gf(s){return new vi.y(r=>r.error(s))}class mf{constructor(r,e,t,o,c,l){this.rootComponentType=r,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=c,this.relativeLinkResolution=l}recognize(){const r=Tu(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,r,ot);if(null===e)return null;const t=new uc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ot,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new br(t,e),c=new Eb(this.url,o);return this.inheritParamsAndData(c._root),c}inheritParamsAndData(r){const e=r.value,t=dc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),r.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(r,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(r,e):this.processSegment(r,e,e.segments,t)}processChildren(r,e){const t=[];for(const c of Object.keys(e.children)){const l=e.children[c],n=Vb(r,c),i=this.processSegmentGroup(n,l,c);if(null===i)return null;t.push(...i)}const o=bf(t);return function qb(s){s.sort((r,e)=>r.value.outlet===ot?-1:e.value.outlet===ot?1:r.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(r,e,t,o){for(const c of r){const l=this.processSegmentAgainstRoute(c,e,t,o);if(null!==l)return l}return Ob(e,t,o)?[]:null}processSegmentAgainstRoute(r,e,t,o){if(r.redirectTo||!Ao(r,e,t,o))return null;let c,l=[],n=[];if("**"===r.path){const b=t.length>0?Hn(t).parameters:{};c=new uc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cc(r),Pn(r),r.component,r,Ru(e),Cf(e)+t.length,To(r))}else{const b=xu(e,r,t);if(!b.matched)return null;l=b.consumedSegments,n=t.slice(b.lastChild),c=new uc(l,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Cc(r),Pn(r),r.component,r,Ru(e),Cf(e)+l.length,To(r))}const i=function js(s){return s.children?s.children:s.loadChildren?s._loadedConfig.routes:[]}(r),{segmentGroup:a,slicedSegments:d}=Tu(e,l,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&a.hasChildren()){const b=this.processChildren(i,a);return null===b?null:[new br(c,b)]}if(0===i.length&&0===d.length)return[new br(c,[])];const u=Pn(r)===o,g=this.processSegment(i,a,d,u?ot:o);return null===g?null:[new br(c,g)]}}function _f(s){const r=s.value.routeConfig;return r&&""===r.path&&void 0===r.redirectTo}function bf(s){const r=[],e=new Set;for(const t of s){if(!_f(t)){r.push(t);continue}const o=r.find(c=>t.value.routeConfig===c.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):r.push(t)}for(const t of e){const o=bf(t.children);r.push(new br(t.value,o))}return r.filter(t=>!e.has(t))}function Ru(s){let r=s;for(;r._sourceSegment;)r=r._sourceSegment;return r}function Cf(s){let r=s,e=r._segmentIndexShift?r._segmentIndexShift:0;for(;r._sourceSegment;)r=r._sourceSegment,e+=r._segmentIndexShift?r._segmentIndexShift:0;return e-1}function Cc(s){return s.data||{}}function To(s){return s.resolve||{}}function Fr(s){return[...Object.keys(s),...Object.getOwnPropertySymbols(s)]}function jr(s){return(0,$i.w)(r=>{const e=s(r);return e?(0,Li.D)(e).pipe((0,ft.U)(()=>r)):(0,Ue.of)(r)})}class Iu extends class vf{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}}{}const Eo=new f.OlP("ROUTES");class ku{constructor(r,e,t,o){this.injector=r,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(r,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,ft.U)(c=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=c.create(r);return new Co(ho(l.injector.get(Eo,void 0,f.XFs.Self|f.XFs.Optional)).map(Au),l)}),(0,Yi.K)(c=>{throw e._loader$=void 0,c}));return e._loader$=new Yp(o,()=>new Fe.x).pipe(ec()),e._loader$}loadModuleFactory(r){return gr(r()).pipe((0,gt.z)(e=>e instanceof f.YKP?(0,Ue.of)(e):(0,Li.D)(this.compiler.compileModuleAsync(e))))}}class Kb{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,e){return r}}function So(s){throw s}function zs(s,r,e){return r.parse("/")}function wf(s,r){return(0,Ue.of)(null)}const r0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Af={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pi=(()=>{class s{constructor(e,t,o,c,l,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=c,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Fe.x,this.errorHandler=So,this.malformedUriErrorHandler=zs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wf,afterPreactivation:wf},this.urlHandlingStrategy=new Kb,this.routeReuseStrategy=new Iu,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=l.get(f.h0i),this.console=l.get(f.c2e);const u=l.get(f.R0b);this.isNgZoneEnabled=u instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function Cb(){return new _a(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ku(l,n,g=>this.triggerEvent(new Ot(g)),g=>this.triggerEvent(new Nt(g))),this.routerState=tf(this.currentUrlTree,this.rootComponentType),this.transitions=new di({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,Mi.h)(o=>0!==o.id),(0,ft.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,$i.w)(o=>{let c=!1,l=!1;return(0,Ue.of)(o).pipe((0,M.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,$i.w)(n=>{const i=this.browserUrlTree.toString(),a=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||a)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return yc(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ue.of)(n).pipe((0,$i.w)(u=>{const g=this.transitions.getValue();return t.next(new J(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),g!==this.transitions.getValue()?Di.E:Promise.resolve(u)}),function t0(s,r,e,t){return(0,$i.w)(o=>function uf(s,r,e,t,o){return new Lb(s,r,e,t,o).apply()}(s,r,e,o.extractedUrl,t).pipe((0,ft.U)(c=>Object.assign(Object.assign({},o),{urlAfterRedirects:c}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,M.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function Wb(s,r,e,t,o){return(0,gt.z)(c=>function Gb(s,r,e,t,o="emptyOnly",c="legacy"){try{const l=new mf(s,r,e,t,o,c).recognize();return null===l?gf(new Ub):(0,Ue.of)(l)}catch(l){return gf(l)}}(s,r,c.urlAfterRedirects,e(c.urlAfterRedirects),t,o).pipe((0,ft.U)(l=>Object.assign(Object.assign({},c),{targetSnapshot:l}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,M.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const g=new Ht(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(g)}));if(a&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:g,extractedUrl:b,source:H,restoredState:U,extras:oe}=n,Be=new J(g,this.serializeUrl(b),H,U);t.next(Be);const lt=tf(b,this.rootComponentType).snapshot;return(0,Ue.of)(Object.assign(Object.assign({},n),{targetSnapshot:lt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},oe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Di.E}),jr(n=>{const{targetSnapshot:i,id:a,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:g,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:a,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!g,replaceUrl:!!b})}),(0,M.b)(n=>{const i=new Tt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,ft.U)(n=>Object.assign(Object.assign({},n),{guards:Mu(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function zb(s,r){return(0,gt.z)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:c,canDeactivateChecks:l}}=e;return 0===l.length&&0===c.length?(0,Ue.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function ff(s,r,e,t){return(0,Li.D)(s).pipe((0,gt.z)(o=>function bc(s,r,e,t,o){const c=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!c||0===c.length)return(0,Ue.of)(!0);const l=c.map(n=>{const i=Du(n,r,o);let a;if(function vu(s){return s&&hn(s.canDeactivate)}(i))a=gr(i.canDeactivate(s,r,e,t));else{if(!hn(i))throw new Error("Invalid CanDeactivate guard");a=gr(i(s,r,e,t))}return a.pipe((0,uo.P)())});return(0,Ue.of)(l).pipe(Qn())}(o.component,o.route,e,r,t)),(0,uo.P)(o=>!0!==o,!0))}(l,t,o,s).pipe((0,gt.z)(n=>n&&function Rb(s){return"boolean"==typeof s}(n)?function Hu(s,r,e,t){return(0,Li.D)(r).pipe((0,fr.b)(o=>(0,so.z)(function n0(s,r){return null!==s&&r&&r(new Br(s)),(0,Ue.of)(!0)}(o.route.parent,t),function _c(s,r){return null!==s&&r&&r(new Je(s)),(0,Ue.of)(!0)}(o.route,t),function Pu(s,r,e){const t=r[r.length-1],c=r.slice(0,r.length-1).reverse().map(l=>function xo(s){const r=s.routeConfig?s.routeConfig.canActivateChild:null;return r&&0!==r.length?{node:s,guards:r}:null}(l)).filter(l=>null!==l).map(l=>lo(()=>{const n=l.guards.map(i=>{const a=Du(i,l.node,e);let d;if(function df(s){return s&&hn(s.canActivateChild)}(a))d=gr(a.canActivateChild(t,s));else{if(!hn(a))throw new Error("Invalid CanActivateChild guard");d=gr(a(t,s))}return d.pipe((0,uo.P)())});return(0,Ue.of)(n).pipe(Qn())}));return(0,Ue.of)(c).pipe(Qn())}(s,o.path,e),function Fs(s,r,e){const t=r.routeConfig?r.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ue.of)(!0);const o=t.map(c=>lo(()=>{const l=Du(c,r,e);let n;if(function yo(s){return s&&hn(s.canActivate)}(l))n=gr(l.canActivate(r,s));else{if(!hn(l))throw new Error("Invalid CanActivate guard");n=gr(l(r,s))}return n.pipe((0,uo.P)())}));return(0,Ue.of)(o).pipe(Qn())}(s,o.route,e))),(0,uo.P)(o=>!0!==o,!0))}(t,c,s,r):(0,Ue.of)(n)),(0,ft.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,M.b)(n=>{if(Lr(n.guardsResult)){const a=su(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw a.url=n.guardsResult,a}const i=new mt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,Mi.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),jr(n=>{if(n.guards.canActivateChecks.length)return(0,Ue.of)(n).pipe((0,M.b)(i=>{const a=new yt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(a)}),(0,$i.w)(i=>{let a=!1;return(0,Ue.of)(i).pipe(function $b(s,r){return(0,gt.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ue.of)(e);let c=0;return(0,Li.D)(o).pipe((0,fr.b)(l=>function Yb(s,r,e,t){return function Ns(s,r,e,t){const o=Fr(s);if(0===o.length)return(0,Ue.of)({});const c={};return(0,Li.D)(o).pipe((0,gt.z)(l=>function yf(s,r,e,t){const o=Du(s,r,t);return gr(o.resolve?o.resolve(r,e):o(r,e))}(s[l],r,e,t).pipe((0,M.b)(n=>{c[l]=n}))),tc(1),(0,gt.z)(()=>Fr(c).length===o.length?(0,Ue.of)(c):Di.E))}(s._resolve,s,r,t).pipe((0,ft.U)(c=>(s._resolvedData=c,s.data=Object.assign(Object.assign({},s.data),dc(s,e).resolve),null)))}(l.route,t,s,r)),(0,M.b)(()=>c++),tc(1),(0,gt.z)(l=>c===o.length?(0,Ue.of)(e):Di.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,M.b)({next:()=>a=!0,complete:()=>{a||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,M.b)(i=>{const a=new Kt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(a)}))}),jr(n=>{const{targetSnapshot:i,id:a,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:g,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:a,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!g,replaceUrl:!!b})}),(0,ft.U)(n=>{const i=function pc(s,r,e){const t=mo(s,r._root,e?e._root:void 0);return new go(t,r)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,M.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((s,r,e)=>(0,ft.U)(t=>(new Hb(r,t.targetRouterState,t.currentRouterState,e).activate(s),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,M.b)({next(){c=!0},complete(){c=!0}}),I(()=>{var n;c||l||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===o.id&&(this.currentNavigation=null)}),(0,Yi.K)(n=>{if(l=!0,function ye(s){return s&&s[Qp]}(n)){const i=Lr(n.url);i||(this.navigated=!0,this.restoreHistory(o,!0));const a=new _e(o.id,this.serializeUrl(o.extractedUrl),n.message);t.next(a),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yc(o.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const i=new Ge(o.id,this.serializeUrl(o.extractedUrl),n);t.next(i);try{o.resolve(this.errorHandler(n))}catch(a){o.reject(a)}}return Di.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 c={replaceUrl:!0},l=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(l){const i=Object.assign({},l);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(c.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,l,c)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Ib(e),this.config=e.map(Au),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:c,fragment:l,queryParamsHandling:n,preserveFragment:i}=t,a=o||this.routerState.root,d=i?this.currentUrlTree.fragment:l;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),c);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=c||null}return null!==u&&(u=this.removeEmptyProps(u)),function Sb(s,r,e,t,o){if(0===e.length)return bo(r.root,r.root,r,t,o);const c=function af(s){if("string"==typeof s[0]&&1===s.length&&"/"===s[0])return new gu(!0,0,s);let r=0,e=!1;const t=s.reduce((o,c,l)=>{if("object"==typeof c&&null!=c){if(c.outlets){const n={};return ni(c.outlets,(i,a)=>{n[a]="string"==typeof i?i.split("/"):i}),[...o,{outlets:n}]}if(c.segmentPath)return[...o,c.segmentPath]}return"string"!=typeof c?[...o,c]:0===l?(c.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?r++:""!=n&&o.push(n))}),o):[...o,c]},[]);return new gu(e,r,t)}(e);if(c.toRoot())return bo(r.root,new Ct([],{}),r,t,o);const l=function Db(s,r,e){if(s.isAbsolute)return new mu(r.root,!0,0);if(-1===e.snapshot._lastPathIndex){const c=e.snapshot._urlSegment;return new mu(c,c===r.root,0)}const t=Cr(s.commands[0])?0:1;return function Rs(s,r,e){let t=s,o=r,c=e;for(;c>o;){if(c-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new mu(t,!1,o-c)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,s.numberOfDoubleDots)}(c,r,s),n=l.processChildren?ya(l.segmentGroup,l.index,c.commands):fc(l.segmentGroup,l.index,c.commands);return bo(l.segmentGroup,n,r,t,o)}(a,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=Lr(e)?e:this.parseUrl(e),c=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(c,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function a0(s){for(let r=0;r{const c=e[o];return null!=c&&(t[o]=c),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ue(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,c,l){var n,i,a;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=yc(t)&&d&&!yc(d.source),g=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&g&&b)return Promise.resolve(!0);let U,oe,Be;l?(U=l.resolve,oe=l.reject,Be=l.promise):Be=new Promise((wt,jn)=>{U=wt,oe=jn});const lt=++this.navigationId;let et;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),et=o&&o.\u0275routerPageId?o.\u0275routerPageId:c.replaceUrl||c.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(a=this.browserPageId)&&void 0!==a?a:0)+1):et=0,this.setTransition({id:lt,targetPageId:et,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:c,resolve:U,reject:oe,promise:Be,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Be.catch(wt=>Promise.reject(wt))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),c=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",c):this.location.go(o,"",c)}restoreHistory(e,t=!1){var o,c;if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===l?this.currentUrlTree===(null===(c=this.currentNavigation)||void 0===c?void 0:c.finalUrl)&&0===l&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(l)}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 _e(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 s.\u0275fac=function(e){f.$Z()},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function yc(s){return"imperative"!==s}class xf{}class Tf{preload(r,e){return(0,Ue.of)(null)}}let Us=(()=>{class s{constructor(e,t,o,c){this.router=e,this.injector=o,this.preloadingStrategy=c,this.loader=new ku(o,t,i=>e.triggerEvent(new Ot(i)),i=>e.triggerEvent(new Nt(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Mi.h)(e=>e instanceof ue),(0,fr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(f.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const c of t)if(c.loadChildren&&!c.canLoad&&c._loadedConfig){const l=c._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else c.loadChildren&&!c.canLoad?o.push(this.preloadConfig(e,c)):c.children&&o.push(this.processRoutes(e,c.children));return(0,Li.D)(o).pipe((0,D.J)(),(0,ft.U)(c=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,gt.z)(c=>(t._loadedConfig=c,this.processRoutes(c.module,c.routes)))))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(pi),f.LFG(f.Sil),f.LFG(f.zs3),f.LFG(xf))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Gs=(()=>{class s{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ue&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ws&&(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 ws(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return s.\u0275fac=function(e){f.$Z()},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const Nr=new f.OlP("ROUTER_CONFIGURATION"),Lu=new f.OlP("ROUTER_FORROOT_GUARD"),Aa=[E.Ye,{provide:Xp,useClass:hu},{provide:pi,useFactory:function Do(s,r,e,t,o,c,l={},n,i){const a=new pi(null,s,r,e,t,o,ho(c));return n&&(a.urlHandlingStrategy=n),i&&(a.routeReuseStrategy=i),function Ef(s,r){s.errorHandler&&(r.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(r.malformedUriErrorHandler=s.malformedUriErrorHandler),s.onSameUrlNavigation&&(r.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(r.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.relativeLinkResolution&&(r.relativeLinkResolution=s.relativeLinkResolution),s.urlUpdateStrategy&&(r.urlUpdateStrategy=s.urlUpdateStrategy),s.canceledNavigationResolution&&(r.canceledNavigationResolution=s.canceledNavigationResolution)}(l,a),l.enableTracing&&a.events.subscribe(d=>{var u,g;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(g=console.groupEnd)||void 0===g||g.call(console)}),a},deps:[Xp,Jn,E.Ye,f.zs3,f.Sil,Eo,Nr,[class Jb{},new f.FiY],[class Qb{},new f.FiY]]},Jn,{provide:Ji,useFactory:function rC(s){return s.routerState.root},deps:[pi]},Us,Tf,class Zb{preload(r,e){return e().pipe((0,Yi.K)(()=>(0,Ue.of)(null)))}},{provide:Nr,useValue:{enableTracing:!1}}];function eC(){return new f.PXZ("Router",pi)}let vc=(()=>{class s{constructor(e,t){}static forRoot(e,t){return{ngModule:s,providers:[Aa,Kn(e),{provide:Lu,useFactory:nC,deps:[[pi,new f.FiY,new f.tp0]]},{provide:Nr,useValue:t||{}},{provide:E.S$,useFactory:iC,deps:[E.lw,[new f.tBr(E.mr),new f.FiY],Nr]},{provide:Gs,useFactory:tC,deps:[pi,E.EM,Nr]},{provide:xf,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Tf},{provide:f.PXZ,multi:!0,useFactory:eC},[Fu,{provide:f.ip1,multi:!0,useFactory:aC,deps:[Fu]},{provide:Sf,useFactory:oC,deps:[Fu]},{provide:f.tb,multi:!0,useExisting:Sf}]]}}static forChild(e){return{ngModule:s,providers:[Kn(e)]}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Lu,8),f.LFG(pi,8))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();function tC(s,r,e){return e.scrollOffset&&r.setOffset(e.scrollOffset),new Gs(s,r,e)}function iC(s,r,e={}){return e.useHash?new E.Do(s,r):new E.b0(s,r)}function nC(s){return"guarded"}function Kn(s){return[{provide:f.deG,multi:!0,useValue:s},{provide:Eo,multi:!0,useValue:s}]}let Fu=(()=>{class s{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Fe.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(n=>t=n),c=this.injector.get(pi),l=this.injector.get(Nr);return"disabled"===l.initialNavigation?(c.setUpLocationChangeListener(),t(!0)):"enabled"===l.initialNavigation||"enabledBlocking"===l.initialNavigation?(c.hooks.afterPreactivation=()=>this.initNavigation?(0,Ue.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),c.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(Nr),o=this.injector.get(Us),c=this.injector.get(Gs),l=this.injector.get(pi),n=this.injector.get(f.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),c.init(),l.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.zs3))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function aC(s){return s.appInitializer.bind(s)}function oC(s){return s.bootstrapListener.bind(s)}const Sf=new f.OlP("Router Initializer"),sC=new f.OlP("cdk-dir-doc",{providedIn:"root",factory:function lC(){return(0,f.f3M)(E.K0)}}),cC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ea,xa=(()=>{class s{constructor(e){if(this.value="ltr",this.change=new f.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function s0(s){const r=(null==s?void 0:s.toLowerCase())||"";return"auto"===r&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?cC.test(navigator.language)?"rtl":"ltr":"rtl"===r?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(sC,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Ta=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();try{Ea="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(s){Ea=!1}let Sa,fi=(()=>{class s{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!Ea)&&"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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.Lbi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const uC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function hC(){if(Sa)return Sa;if("object"!=typeof document||!document)return Sa=new Set(uC),Sa;let s=document.createElement("input");return Sa=new Set(uC.filter(r=>(s.setAttribute("type",r),s.type===r))),Sa}let Ac,Po,Nu;function pn(s){return function ju(){if(null==Ac&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ac=!0}))}finally{Ac=Ac||!1}return Ac}()?s:!!s.capture}function l0(){if(null==Po){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Po=!1,Po;if("scrollBehavior"in document.documentElement.style)Po=!0;else{const s=Element.prototype.scrollTo;Po=!!s&&!/\{\s*\[native code\]\s*\}/.test(s.toString())}}return Po}function xc(s){if(function fC(){if(null==Nu){const s="undefined"!=typeof document?document.head:null;Nu=!(!s||!s.createShadowRoot&&!s.attachShadow)}return Nu}()){const r=s.getRootNode?s.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&r instanceof ShadowRoot)return r}return null}function zu(){let s="undefined"!=typeof document&&document?document.activeElement:null;for(;s&&s.shadowRoot;){const r=s.shadowRoot.activeElement;if(r===s)break;s=r}return s}function fn(s){return s.composedPath?s.composedPath()[0]:s.target}function Ro(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var Jf=x(8372);function Kf(s,r){return s===r}var YC=x(5032);function Gt(s){return(0,Hi.e)((r,e)=>{(0,fa.Xf)(s).subscribe((0,Fi.x)(e,()=>e.complete(),YC.Z)),!e.closed&&r.subscribe(e)})}function rt(s){return null!=s&&"false"!=`${s}`}function Ar(s,r=0){return Yu(s)?Number(s):r}function Yu(s){return!isNaN(parseFloat(s))&&!isNaN(Number(s))}function Zf(s){return Array.isArray(s)?s:[s]}function Xt(s){return null==s?"":"string"==typeof s?s:`${s}px`}function Wt(s){return s instanceof f.SBq?s.nativeElement:s}let Qu=(()=>{class s{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Xf=(()=>{class s{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Wt(e);return new vi.y(o=>{const l=this._observeElement(t).subscribe(o);return()=>{l.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Fe.x,o=this._mutationObserverFactory.create(c=>t.next(c));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 s.\u0275fac=function(e){return new(e||s)(f.LFG(Qu))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Dc=(()=>{class s{constructor(e,t,o){this._contentObserver=e,this._elementRef=t,this._ngZone=o,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=rt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ar(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,Jf.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Xf),f.Y36(f.SBq),f.Y36(f.R0b))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),s})(),zr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Qu]}),s})(),Ic=(()=>{class s{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function ZC(s){return!!(s.offsetWidth||s.offsetHeight||"function"==typeof s.getClientRects&&s.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Q0(s){try{return s.frameElement}catch(r){return null}}(function ny(s){return s.ownerDocument&&s.ownerDocument.defaultView||window}(e));if(t&&(-1===iy(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),c=iy(e);return e.hasAttribute("contenteditable")?-1!==c:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function ng(s){let r=s.nodeName.toLowerCase(),e="input"===r&&s.type;return"text"===e||"password"===e||"select"===r||"textarea"===r}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==c:"video"===o?-1!==c&&(null!==c||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function rg(s){return!function ey(s){return function tg(s){return"input"==s.nodeName.toLowerCase()}(s)&&"hidden"==s.type}(s)&&(function XC(s){let r=s.nodeName.toLowerCase();return"input"===r||"select"===r||"button"===r||"textarea"===r}(s)||function ty(s){return function J0(s){return"a"==s.nodeName.toLowerCase()}(s)&&s.hasAttribute("href")}(s)||s.hasAttribute("contenteditable")||ig(s))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function ig(s){if(!s.hasAttribute("tabindex")||void 0===s.tabIndex)return!1;let r=s.getAttribute("tabindex");return!(!r||isNaN(parseInt(r,10)))}function iy(s){if(!ig(s))return null;const r=parseInt(s.getAttribute("tabindex")||"",10);return isNaN(r)?-1:r}class Xu{constructor(r,e,t,o,c=!1){this._element=r,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,c||this.attachAnchors()}get enabled(){return this._enabled}set enabled(r){this._enabled=r,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}destroy(){const r=this._startAnchor,e=this._endAnchor;r&&(r.removeEventListener("focus",this.startAnchorListener),r.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(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(r)))})}focusFirstTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(r)))})}focusLastTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(r)))})}_getRegionBoundary(r){const e=this._element.querySelectorAll(`[cdk-focus-region-${r}], [cdkFocusRegion${r}], [cdk-focus-${r}]`);return"start"==r?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(r){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(r),!!t}return e.focus(r),!0}return this.focusFirstTabbableElement(r)}focusFirstTabbableElement(r){const e=this._getRegionBoundary("start");return e&&e.focus(r),!!e}focusLastTabbableElement(r){const e=this._getRegionBoundary("end");return e&&e.focus(r),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;const e=r.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 r=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,r),r.classList.add("cdk-visually-hidden"),r.classList.add("cdk-focus-trap-anchor"),r.setAttribute("aria-hidden","true"),r}_toggleAnchorTabIndex(r,e){r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(r){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}_executeOnStable(r){this._ngZone.isStable?r():this._ngZone.onStable.pipe((0,hi.q)(1)).subscribe(r)}}let K0=(()=>{class s{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new Xu(e,this._checker,this._ngZone,this._document,t)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Ic),f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function ag(s){return 0===s.buttons||0===s.offsetX&&0===s.offsetY}function og(s){const r=s.touches&&s.touches[0]||s.changedTouches&&s.changedTouches[0];return!(!r||-1!==r.identifier||null!=r.radiusX&&1!==r.radiusX||null!=r.radiusY&&1!==r.radiusY)}const Z0=new f.OlP("cdk-input-modality-detector-options"),Gr={ignoreKeys:[18,17,224,91,16]},Bo=pn({passive:!0,capture:!0});let sg=(()=>{class s{constructor(e,t,o,c){this._platform=e,this._mostRecentTarget=null,this._modality=new di(null),this._lastTouchMs=0,this._onKeydown=l=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(a=>a===l.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fn(l))},this._onMousedown=l=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ag(l)?"keyboard":"mouse"),this._mostRecentTarget=fn(l))},this._onTouchstart=l=>{og(l)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fn(l))},this._options=Object.assign(Object.assign({},Gr),c),this.modalityDetected=this._modality.pipe(function In(s){return(0,Mi.h)((r,e)=>s<=e)}(1)),this.modalityChanged=this.modalityDetected.pipe(function $C(s,r=ys.y){return s=null!=s?s:Kf,(0,Hi.e)((e,t)=>{let o,c=!0;e.subscribe((0,Fi.x)(t,l=>{const n=r(l);(c||!s(o,n))&&(c=!1,o=n,t.next(l))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Bo),o.addEventListener("mousedown",this._onMousedown,Bo),o.addEventListener("touchstart",this._onTouchstart,Bo)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Bo),document.removeEventListener("mousedown",this._onMousedown,Bo),document.removeEventListener("touchstart",this._onTouchstart,Bo))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b),f.LFG(E.K0),f.LFG(Z0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const ug=new f.OlP("cdk-focus-monitor-default-options"),Vc=pn({passive:!0,capture:!0});let qr=(()=>{class s{constructor(e,t,o,c,l){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 Fe.x,this._rootNodeFocusAndBlurListener=n=>{const i=fn(n),a="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)a.call(this,n,d)},this._document=c,this._detectionMode=(null==l?void 0:l.detectionMode)||0}monitor(e,t=!1){const o=Wt(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ue.of)(null);const c=xc(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return t&&(l.checkChildren=!0),l.subject;const n={checkChildren:t,subject:new Fe.x,rootNode:c};return this._elementInfo.set(o,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=Wt(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 c=Wt(e);c===this._getDocument().activeElement?this._getClosestElementsInfo(c).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof c.focus&&c.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),c=fn(e);!o||!o.checkChildren&&t!==c||this._originChanged(t,this._getFocusOrigin(c),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,Vc),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vc)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Gt(this._stopInputModalityDetector)).subscribe(c=>{this._setOrigin(c,!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,Vc),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vc),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,c)=>{(c===e||o.checkChildren&&c.contains(e))&&t.push([c,o])}),t}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(fi),f.LFG(sg),f.LFG(E.K0,8),f.LFG(ug,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const eh="cdk-high-contrast-black-on-white",hg="cdk-high-contrast-white-on-black",th="cdk-high-contrast-active";let Oo=(()=>{class s{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,c=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),c){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(th),e.remove(eh),e.remove(hg),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(th),e.add(eh)):2===t&&(e.add(th),e.add(hg))}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Wr=(()=>{class s{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Oo))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[zr]]}),s})();class Bc{}const Xi="*";function Lt(s,r){return{type:7,name:s,definitions:r,options:{}}}function xt(s,r=null){return{type:4,styles:r,timings:s}}function ih(s,r=null){return{type:3,steps:s,options:r}}function nh(s,r=null){return{type:2,steps:s,options:r}}function Le(s){return{type:6,styles:s,offset:null}}function st(s,r,e){return{type:0,name:s,styles:r,options:e}}function bt(s,r,e=null){return{type:1,expr:s,animation:r,options:e}}function Js(s=null){return{type:9,options:s}}function Ks(s,r,e=null){return{type:11,selector:s,animation:r,options:e}}function pg(s){Promise.resolve(null).then(s)}class Fo{constructor(r=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=r+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(r=>r()),this._onDoneFns=[])}onStart(r){this._onStartFns.push(r)}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pg(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(r=>r()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(r=>r()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(r){this._position=this.totalTime?r*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class fg{constructor(r){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=r;let e=0,t=0,o=0;const c=this.players.length;0==c?pg(()=>this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++e==c&&this._onFinish()}),l.onDestroy(()=>{++t==c&&this._onDestroy()}),l.onStart(()=>{++o==c&&this._onStart()})}),this.totalTime=this.players.reduce((l,n)=>Math.max(l,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(r=>r()),this._onDoneFns=[])}init(){this.players.forEach(r=>r.init())}onStart(r){this._onStartFns.push(r)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(r=>r()),this._onStartFns=[])}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(r=>r.play())}pause(){this.players.forEach(r=>r.pause())}restart(){this.players.forEach(r=>r.restart())}finish(){this._onFinish(),this.players.forEach(r=>r.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(r=>r.destroy()),this._onDestroyFns.forEach(r=>r()),this._onDestroyFns=[])}reset(){this.players.forEach(r=>r.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(r){const e=r*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const r=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=r?r.getPosition():0}beforeDestroy(){this.players.forEach(r=>{r.beforeDestroy&&r.beforeDestroy()})}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function en(){return"undefined"!=typeof window&&void 0!==window.document}function ah(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Yr(s){switch(s.length){case 0:return new Fo;case 1:return s[0];default:return new fg(s)}}function ay(s,r,e,t,o={},c={}){const l=[],n=[];let i=-1,a=null;if(t.forEach(d=>{const u=d.offset,g=u==i,b=g&&a||{};Object.keys(d).forEach(H=>{let U=H,oe=d[H];if("offset"!==H)switch(U=r.normalizePropertyName(U,l),oe){case"!":oe=o[H];break;case Xi:oe=c[H];break;default:oe=r.normalizeStyleValue(H,U,oe,l)}b[U]=oe}),g||n.push(b),a=b,i=u}),l.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${l.join(d)}`)}return n}function gg(s,r,e,t){switch(r){case"start":s.onStart(()=>t(e&&Oc(e,"start",s)));break;case"done":s.onDone(()=>t(e&&Oc(e,"done",s)));break;case"destroy":s.onDestroy(()=>t(e&&Oc(e,"destroy",s)))}}function Oc(s,r,e){const t=e.totalTime,c=mg(s.element,s.triggerName,s.fromState,s.toState,r||s.phaseName,null==t?s.totalTime:t,!!e.disabled),l=s._data;return null!=l&&(c._data=l),c}function mg(s,r,e,t,o="",c=0,l){return{element:s,triggerName:r,fromState:e,toState:t,phaseName:o,totalTime:c,disabled:!!l}}function tn(s,r,e){let t;return s instanceof Map?(t=s.get(r),t||s.set(r,t=e)):(t=s[r],t||(t=s[r]=e)),t}function Lc(s){const r=s.indexOf(":");return[s.substring(1,r),s.substr(r+1)]}let Fc=(s,r)=>!1,_g=(s,r,e)=>[];(ah()||"undefined"!=typeof Element)&&(Fc=en()?(s,r)=>{for(;r&&r!==document.documentElement;){if(r===s)return!0;r=r.parentNode||r.host}return!1}:(s,r)=>s.contains(r),_g=(s,r,e)=>{if(e)return Array.from(s.querySelectorAll(r));const t=s.querySelector(r);return t?[t]:[]});let Qr=null,bg=!1;function oh(s){Qr||(Qr=function sy(){return"undefined"!=typeof document?document.body:null}()||{},bg=!!Qr.style&&"WebkitAppearance"in Qr.style);let r=!0;return Qr.style&&!function oy(s){return"ebkit"==s.substring(1,6)}(s)&&(r=s in Qr.style,!r&&bg&&(r="Webkit"+s.charAt(0).toUpperCase()+s.substr(1)in Qr.style)),r}const Cg=Fc,sh=_g;let yg=(()=>{class s{validateStyleProperty(e){return oh(e)}matchesElement(e,t){return!1}containsElement(e,t){return Cg(e,t)}query(e,t,o){return sh(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,c,l,n=[],i){return new Fo(o,c)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),mn=(()=>{class s{}return s.NOOP=new yg,s})();const wg="ng-enter",Zs="ng-leave",jc="ng-trigger",Nc=".ng-trigger",Ag="ng-animating",Xs=".ng-animating";function Da(s){if("number"==typeof s)return s;const r=s.match(/^(-?[\.\d]+)(m?s)/);return!r||r.length<2?0:ch(parseFloat(r[1]),r[2])}function ch(s,r){return"s"===r?1e3*s:s}function Ha(s,r,e){return s.hasOwnProperty("duration")?s:function dh(s,r,e){let o,c=0,l="";if("string"==typeof s){const n=s.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return r.push(`The provided timing value "${s}" is invalid.`),{duration:0,delay:0,easing:""};o=ch(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(c=ch(parseFloat(i),n[4]));const a=n[5];a&&(l=a)}else o=s;if(!e){let n=!1,i=r.length;o<0&&(r.push("Duration values below 0 are not allowed for this animation step."),n=!0),c<0&&(r.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&r.splice(i,0,`The provided timing value "${s}" is invalid.`)}return{duration:o,delay:c,easing:l}}(s,r,e)}function jo(s,r={}){return Object.keys(s).forEach(e=>{r[e]=s[e]}),r}function Zn(s,r,e={}){if(r)for(let t in s)e[t]=s[t];else jo(s,e);return e}function uh(s,r,e){return e?r+":"+e+";":""}function xg(s){let r="";for(let e=0;e{const o=kn(t);e&&!e.hasOwnProperty(t)&&(e[t]=s.style[o]),s.style[o]=r[t]}),ah()&&xg(s))}function xr(s,r){s.style&&(Object.keys(r).forEach(e=>{const t=kn(e);s.style[t]=""}),ah()&&xg(s))}function Uc(s){return Array.isArray(s)?1==s.length?s[0]:nh(s):s}const Gc=new RegExp("{{\\s*(.+?)\\s*}}","g");function hh(s){let r=[];if("string"==typeof s){let e;for(;e=Gc.exec(s);)r.push(e[1]);Gc.lastIndex=0}return r}function el(s,r,e){const t=s.toString(),o=t.replace(Gc,(c,l)=>{let n=r[l];return r.hasOwnProperty(l)||(e.push(`Please provide a value for the animation param ${l}`),n=""),n.toString()});return o==t?s:o}function tl(s){const r=[];let e=s.next();for(;!e.done;)r.push(e.value),e=s.next();return r}const Tg=/-+([a-z0-9])/g;function kn(s){return s.replace(Tg,(...r)=>r[1].toUpperCase())}function qc(s){return s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _n(s,r,e){switch(r.type){case 7:return s.visitTrigger(r,e);case 0:return s.visitState(r,e);case 1:return s.visitTransition(r,e);case 2:return s.visitSequence(r,e);case 3:return s.visitGroup(r,e);case 4:return s.visitAnimate(r,e);case 5:return s.visitKeyframes(r,e);case 6:return s.visitStyle(r,e);case 8:return s.visitReference(r,e);case 9:return s.visitAnimateChild(r,e);case 10:return s.visitAnimateRef(r,e);case 11:return s.visitQuery(r,e);case 12:return s.visitStagger(r,e);default:throw new Error(`Unable to resolve animation metadata node #${r.type}`)}}function Wc(s,r){return window.getComputedStyle(s)[r]}function ph(s,r){const e=[];return"string"==typeof s?s.split(/\s*,\s*/).forEach(t=>function nl(s,r,e){if(":"==s[0]){const i=function py(s,r){switch(s){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(s,e);if("function"==typeof i)return void r.push(i);s=i}const t=s.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${s}" is not supported`),r;const o=t[1],c=t[2],l=t[3];r.push(fh(o,l));"<"==c[0]&&!("*"==o&&"*"==l)&&r.push(fh(l,o))}(t,e,r)):e.push(s),e}const No=new Set(["true","1"]),rl=new Set(["false","0"]);function fh(s,r){const e=No.has(s)||rl.has(s),t=No.has(r)||rl.has(r);return(o,c)=>{let l="*"==s||s==o,n="*"==r||r==c;return!l&&e&&"boolean"==typeof o&&(l=o?No.has(s):rl.has(s)),!n&&t&&"boolean"==typeof c&&(n=c?No.has(r):rl.has(r)),l&&n}}const fy=new RegExp("s*:selfs*,?","g");function al(s,r,e){return new gy(s).build(r,e)}class gy{constructor(r){this._driver=r}build(r,e){const t=new Mg(e);return this._resetContextStyleTimingState(t),_n(this,Uc(r),t)}_resetContextStyleTimingState(r){r.currentQuerySelector="",r.collectedStyles={},r.collectedStyles[""]={},r.currentTime=0}visitTrigger(r,e){let t=e.queryCount=0,o=e.depCount=0;const c=[],l=[];return"@"==r.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),r.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,a=i.name;a.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,c.push(this.visitState(i,e))}),i.name=a}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,o+=i.depCount,l.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:r.name,states:c,transitions:l,queryCount:t,depCount:o,options:null}}visitState(r,e){const t=this.visitStyle(r.styles,e),o=r.options&&r.options.params||null;if(t.containsDynamicStyles){const c=new Set,l=o||{};if(t.styles.forEach(n=>{if($c(n)){const i=n;Object.keys(i).forEach(a=>{hh(i[a]).forEach(d=>{l.hasOwnProperty(d)||c.add(d)})})}}),c.size){const n=tl(c.values());e.errors.push(`state("${r.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:r.name,style:t,options:o?{params:o}:null}}visitTransition(r,e){e.queryCount=0,e.depCount=0;const t=_n(this,Uc(r.animation),e);return{type:1,matchers:ph(r.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Pa(r.options)}}visitSequence(r,e){return{type:2,steps:r.steps.map(t=>_n(this,t,e)),options:Pa(r.options)}}visitGroup(r,e){const t=e.currentTime;let o=0;const c=r.steps.map(l=>{e.currentTime=t;const n=_n(this,l,e);return o=Math.max(o,e.currentTime),n});return e.currentTime=o,{type:3,steps:c,options:Pa(r.options)}}visitAnimate(r,e){const t=function Uo(s,r){let e=null;if(s.hasOwnProperty("duration"))e=s;else if("number"==typeof s)return mh(Ha(s,r).duration,0,"");const t=s;if(t.split(/\s+/).some(c=>"{"==c.charAt(0)&&"{"==c.charAt(1))){const c=mh(0,0,"");return c.dynamic=!0,c.strValue=t,c}return e=e||Ha(t,r),mh(e.duration,e.delay,e.easing)}(r.timings,e.errors);e.currentAnimateTimings=t;let o,c=r.styles?r.styles:Le({});if(5==c.type)o=this.visitKeyframes(c,e);else{let l=r.styles,n=!1;if(!l){n=!0;const a={};t.easing&&(a.easing=t.easing),l=Le(a)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(l,e);i.isEmptyStep=n,o=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(r,e){const t=this._makeStyleAst(r,e);return this._validateStyleAst(t,e),t}_makeStyleAst(r,e){const t=[];Array.isArray(r.styles)?r.styles.forEach(l=>{"string"==typeof l?l==Xi?t.push(l):e.errors.push(`The provided style string value ${l} is not allowed.`):t.push(l)}):t.push(r.styles);let o=!1,c=null;return t.forEach(l=>{if($c(l)){const n=l,i=n.easing;if(i&&(c=i,delete n.easing),!o)for(let a in n)if(n[a].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:c,offset:r.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(r,e){const t=e.currentAnimateTimings;let o=e.currentTime,c=e.currentTime;t&&c>0&&(c-=t.duration+t.delay),r.styles.forEach(l=>{"string"!=typeof l&&Object.keys(l).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],a=i[n];let d=!0;a&&(c!=o&&c>=a.startTime&&o<=a.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${c}ms" and "${o}ms"`),d=!1),c=a.startTime),d&&(i[n]={startTime:c,endTime:o}),e.options&&function dy(s,r,e){const t=r.params||{},o=hh(s);o.length&&o.forEach(c=>{t.hasOwnProperty(c)||e.push(`Unable to resolve the local animation param ${c} in the given list of values`)})}(l[n],e.options,e.errors)})})}visitKeyframes(r,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 c=0;const l=[];let n=!1,i=!1,a=0;const d=r.steps.map(Be=>{const lt=this._makeStyleAst(Be,e);let et=null!=lt.offset?lt.offset:function my(s){if("string"==typeof s)return null;let r=null;if(Array.isArray(s))s.forEach(e=>{if($c(e)&&e.hasOwnProperty("offset")){const t=e;r=parseFloat(t.offset),delete t.offset}});else if($c(s)&&s.hasOwnProperty("offset")){const e=s;r=parseFloat(e.offset),delete e.offset}return r}(lt.styles),wt=0;return null!=et&&(c++,wt=lt.offset=et),i=i||wt<0||wt>1,n=n||wt0&&c{const et=g>0?lt==b?1:g*lt:l[lt],wt=et*oe;e.currentTime=H+U.delay+wt,U.duration=wt,this._validateStyleAst(Be,e),Be.offset=et,t.styles.push(Be)}),t}visitReference(r,e){return{type:8,animation:_n(this,Uc(r.animation),e),options:Pa(r.options)}}visitAnimateChild(r,e){return e.depCount++,{type:9,options:Pa(r.options)}}visitAnimateRef(r,e){return{type:10,animation:this.visitReference(r.animation,e),options:Pa(r.options)}}visitQuery(r,e){const t=e.currentQuerySelector,o=r.options||{};e.queryCount++,e.currentQuery=r;const[c,l]=function Sg(s){const r=!!s.split(/\s*,\s*/).find(e=>":self"==e);return r&&(s=s.replace(fy,"")),s=s.replace(/@\*/g,Nc).replace(/@\w+/g,e=>Nc+"-"+e.substr(1)).replace(/:animating/g,Xs),[s,r]}(r.selector);e.currentQuerySelector=t.length?t+" "+c:c,tn(e.collectedStyles,e.currentQuerySelector,{});const n=_n(this,Uc(r.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:c,limit:o.limit||0,optional:!!o.optional,includeSelf:l,animation:n,originalSelector:r.selector,options:Pa(r.options)}}visitStagger(r,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===r.timings?{duration:0,delay:0,easing:"full"}:Ha(r.timings,e.errors,!0);return{type:12,animation:_n(this,Uc(r.animation),e),timings:t,options:null}}}class Mg{constructor(r){this.errors=r,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 $c(s){return!Array.isArray(s)&&"object"==typeof s}function Pa(s){return s?(s=jo(s)).params&&(s.params=function zo(s){return s?jo(s):null}(s.params)):s={},s}function mh(s,r,e){return{duration:s,delay:r,easing:e}}function _h(s,r,e,t,o,c,l=null,n=!1){return{type:1,element:s,keyframes:r,preStyleProps:e,postStyleProps:t,duration:o,delay:c,totalTime:o+c,easing:l,subTimeline:n}}class Yc{constructor(){this._map=new Map}get(r){return this._map.get(r)||[]}append(r,e){let t=this._map.get(r);t||this._map.set(r,t=[]),t.push(...e)}has(r){return this._map.has(r)}clear(){this._map.clear()}}const Dg=new RegExp(":enter","g"),Pg=new RegExp(":leave","g");function Qc(s,r,e,t,o,c={},l={},n,i,a=[]){return(new _y).buildKeyframes(s,r,e,t,o,c,l,n,i,a)}class _y{buildKeyframes(r,e,t,o,c,l,n,i,a,d=[]){a=a||new Yc;const u=new Ch(r,e,a,o,c,d,[]);u.options=i,u.currentTimeline.setStyles([l],null,u.errors,i),_n(this,t,u);const g=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let H=g.length-1;H>=0;H--){const U=g[H];if(U.element===e){b=U;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return g.length?g.map(b=>b.buildKeyframes()):[_h(e,[],[],[],0,0,"",!1)]}visitTrigger(r,e){}visitState(r,e){}visitTransition(r,e){}visitAnimateChild(r,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(r.options),c=e.currentTimeline.currentTime,l=this._visitSubInstructions(t,o,o.options);c!=l&&e.transformIntoNewTimeline(l)}e.previousNode=r}visitAnimateRef(r,e){const t=e.createSubContext(r.options);t.transformIntoNewTimeline(),this.visitReference(r.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=r}_visitSubInstructions(r,e,t){let c=e.currentTimeline.currentTime;const l=null!=t.duration?Da(t.duration):null,n=null!=t.delay?Da(t.delay):null;return 0!==l&&r.forEach(i=>{const a=e.appendInstructionToTimeline(i,l,n);c=Math.max(c,a.duration+a.delay)}),c}visitReference(r,e){e.updateOptions(r.options,!0),_n(this,r.animation,e),e.previousNode=r}visitSequence(r,e){const t=e.subContextCount;let o=e;const c=r.options;if(c&&(c.params||c.delay)&&(o=e.createSubContext(c),o.transformIntoNewTimeline(),null!=c.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Jc);const l=Da(c.delay);o.delayNextStep(l)}r.steps.length&&(r.steps.forEach(l=>_n(this,l,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=r}visitGroup(r,e){const t=[];let o=e.currentTimeline.currentTime;const c=r.options&&r.options.delay?Da(r.options.delay):0;r.steps.forEach(l=>{const n=e.createSubContext(r.options);c&&n.delayNextStep(c),_n(this,l,n),o=Math.max(o,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(o),e.previousNode=r}_visitTiming(r,e){if(r.dynamic){const t=r.strValue;return Ha(e.params?el(t,e.params,e.errors):t,e.errors)}return{duration:r.duration,delay:r.delay,easing:r.easing}}visitAnimate(r,e){const t=e.currentAnimateTimings=this._visitTiming(r.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const c=r.style;5==c.type?this.visitKeyframes(c,e):(e.incrementTime(t.duration),this.visitStyle(c,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=r}visitStyle(r,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const c=o&&o.easing||r.easing;r.isEmptyStep?t.applyEmptyStep(c):t.setStyles(r.styles,c,e.errors,e.options),e.previousNode=r}visitKeyframes(r,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,c=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,r.styles.forEach(i=>{n.forwardTime((i.offset||0)*c),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(o+c),e.previousNode=r}visitQuery(r,e){const t=e.currentTimeline.currentTime,o=r.options||{},c=o.delay?Da(o.delay):0;c&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Jc);let l=t;const n=e.invokeQuery(r.selector,r.originalSelector,r.limit,r.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((a,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(r.options,a);c&&u.delayNextStep(c),a===e.element&&(i=u.currentTimeline),_n(this,r.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=r}visitStagger(r,e){const t=e.parentContext,o=e.currentTimeline,c=r.timings,l=Math.abs(c.duration),n=l*(e.currentQueryTotal-1);let i=l*e.currentQueryIndex;switch(c.duration<0?"reverse":c.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;_n(this,r.animation,e),e.previousNode=r,t.currentStaggerTime=o.currentTime-u+(o.startTime-t.currentTimeline.startTime)}}const Jc={};class Ch{constructor(r,e,t,o,c,l,n,i){this._driver=r,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=c,this.errors=l,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Jc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new Kc(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(r,e){if(!r)return;const t=r;let o=this.options;null!=t.duration&&(o.duration=Da(t.duration)),null!=t.delay&&(o.delay=Da(t.delay));const c=t.params;if(c){let l=o.params;l||(l=this.options.params={}),Object.keys(c).forEach(n=>{(!e||!l.hasOwnProperty(n))&&(l[n]=el(c[n],l,this.errors))})}}_copyOptions(){const r={};if(this.options){const e=this.options.params;if(e){const t=r.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return r}createSubContext(r=null,e,t){const o=e||this.element,c=new Ch(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return c.previousNode=this.previousNode,c.currentAnimateTimings=this.currentAnimateTimings,c.options=this._copyOptions(),c.updateOptions(r),c.currentQueryIndex=this.currentQueryIndex,c.currentQueryTotal=this.currentQueryTotal,c.parentContext=this,this.subContextCount++,c}transformIntoNewTimeline(r){return this.previousNode=Jc,this.currentTimeline=this.currentTimeline.fork(this.element,r),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(r,e,t){const o={duration:null!=e?e:r.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+r.delay,easing:""},c=new Rg(this._driver,r.element,r.keyframes,r.preStyleProps,r.postStyleProps,o,r.stretchStartingKeyframe);return this.timelines.push(c),o}incrementTime(r){this.currentTimeline.forwardTime(this.currentTimeline.duration+r)}delayNextStep(r){r>0&&this.currentTimeline.delayNextStep(r)}invokeQuery(r,e,t,o,c,l){let n=[];if(o&&n.push(this.element),r.length>0){r=(r=r.replace(Dg,"."+this._enterClassName)).replace(Pg,"."+this._leaveClassName);let a=this._driver.query(this.element,r,1!=t);0!==t&&(a=t<0?a.slice(a.length+t,a.length):a.slice(0,t)),n.push(...a)}return!c&&0==n.length&&l.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class Kc{constructor(r,e,t,o){this._driver=r,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(r){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+r),e&&this.snapshotCurrentStyles()):this.startTime+=r}fork(r,e){return this.applyStylesToKeyframe(),new Kc(this._driver,r,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(r){this.applyStylesToKeyframe(),this.duration=r,this._loadKeyframe()}_updateStyle(r,e){this._localTimelineStyles[r]=e,this._globalTimelineStyles[r]=e,this._styleSummary[r]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(r){r&&(this._previousKeyframe.easing=r),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||Xi,this._currentKeyframe[e]=Xi}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(r,e,t,o){e&&(this._previousKeyframe.easing=e);const c=o&&o.params||{},l=function Ig(s,r){const e={};let t;return s.forEach(o=>{"*"===o?(t=t||Object.keys(r),t.forEach(c=>{e[c]=Xi})):Zn(o,!1,e)}),e}(r,this._globalTimelineStyles);Object.keys(l).forEach(n=>{const i=el(l[n],c,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:Xi),this._updateStyle(n,i)})}applyStylesToKeyframe(){const r=this._pendingStyles,e=Object.keys(r);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=r[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(r=>{const e=this._localTimelineStyles[r];this._pendingStyles[r]=e,this._updateStyle(r,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const r=[];for(let e in this._currentKeyframe)r.push(e);return r}mergeTimelineCollectedStyles(r){Object.keys(r._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=r._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const r=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((n,i)=>{const a=Zn(n,!0);Object.keys(a).forEach(d=>{const u=a[d];"!"==u?r.add(d):u==Xi&&e.add(d)}),t||(a.offset=i/this.duration),o.push(a)});const c=r.size?tl(r.values()):[],l=e.size?tl(e.values()):[];if(t){const n=o[0],i=jo(n);n.offset=0,i.offset=1,o=[n,i]}return _h(this.element,o,c,l,this.duration,this.startTime,this.easing,!1)}}class Rg extends Kc{constructor(r,e,t,o,c,l,n=!1){super(r,e,l.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=c,this._stretchStartingKeyframe=n,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let r=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const c=[],l=t+e,n=e/l,i=Zn(r[0],!1);i.offset=0,c.push(i);const a=Zn(r[0],!1);a.offset=by(n),c.push(a);const d=r.length-1;for(let u=1;u<=d;u++){let g=Zn(r[u],!1);g.offset=by((e+g.offset*t)/l),c.push(g)}t=l,e=0,o="",r=c}return _h(this.element,r,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function by(s,r=3){const e=Math.pow(10,r-1);return Math.round(s*e)/e}class yh{}class rx extends yh{normalizePropertyName(r,e){return kn(r)}normalizeStyleValue(r,e,t,o){let c="";const l=t.toString().trim();if(vh[e]&&0!==t&&"0"!==t)if("number"==typeof t)c="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&o.push(`Please provide a CSS unit value for ${r}:${t}`)}return l+c}}const vh=(()=>function Cy(s){const r={};return s.forEach(e=>r[e]=!0),r}("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 wh(s,r,e,t,o,c,l,n,i,a,d,u,g){return{type:0,element:s,triggerName:r,isRemovalTransition:o,fromState:e,fromStyles:c,toState:t,toStyles:l,timelines:n,queriedElements:i,preStyleProps:a,postStyleProps:d,totalTime:u,errors:g}}const Zc={};class yy{constructor(r,e,t){this._triggerName=r,this.ast=e,this._stateStyles=t}match(r,e,t,o){return function Vn(s,r,e,t,o){return s.some(c=>c(r,e,t,o))}(this.ast.matchers,r,e,t,o)}buildStyles(r,e,t){const o=this._stateStyles["*"],c=this._stateStyles[r],l=o?o.buildStyles(e,t):{};return c?c.buildStyles(e,t):l}build(r,e,t,o,c,l,n,i,a,d){const u=[],g=this.ast.options&&this.ast.options.params||Zc,H=this.buildStyles(t,n&&n.params||Zc,u),U=i&&i.params||Zc,oe=this.buildStyles(o,U,u),Be=new Set,lt=new Map,et=new Map,wt="void"===o,jn={params:Object.assign(Object.assign({},g),U)},cr=d?[]:Qc(r,e,this.ast.animation,c,l,H,oe,jn,a,u);let on=0;if(cr.forEach(Za=>{on=Math.max(Za.duration+Za.delay,on)}),u.length)return wh(e,this._triggerName,t,o,wt,H,oe,[],[],lt,et,on,u);cr.forEach(Za=>{const Xa=Za.element,MS=tn(lt,Xa,{});Za.preStyleProps.forEach(ql=>MS[ql]=!0);const Up=tn(et,Xa,{});Za.postStyleProps.forEach(ql=>Up[ql]=!0),Xa!==e&&Be.add(Xa)});const Ka=tl(Be.values());return wh(e,this._triggerName,t,o,wt,H,oe,cr,Ka,lt,et,on)}}class ax{constructor(r,e,t){this.styles=r,this.defaultParams=e,this.normalizer=t}buildStyles(r,e){const t={},o=jo(this.defaultParams);return Object.keys(r).forEach(c=>{const l=r[c];null!=l&&(o[c]=l)}),this.styles.styles.forEach(c=>{if("string"!=typeof c){const l=c;Object.keys(l).forEach(n=>{let i=l[n];i.length>1&&(i=el(i,o,e));const a=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,a,i,e),t[a]=i})}}),t}}class kg{constructor(r,e,t){this.name=r,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new ax(o.style,o.options&&o.options.params||{},t)}),Ah(this.states,"true","1"),Ah(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new yy(r,o,this.states))}),this.fallbackTransition=function Vg(s,r,e){return new yy(s,{type:1,animation:{type:2,steps:[],options:null},matchers:[(l,n)=>!0],options:null,queryCount:0,depCount:0},r)}(r,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(r,e,t,o){return this.transitionFactories.find(l=>l.match(r,e,t,o))||null}matchStyles(r,e,t){return this.fallbackTransition.buildStyles(r,e,t)}}function Ah(s,r,e){s.hasOwnProperty(r)?s.hasOwnProperty(e)||(s[e]=s[r]):s.hasOwnProperty(e)&&(s[r]=s[e])}const vy=new Yc;class sx{constructor(r,e,t){this.bodyNode=r,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(r,e){const t=[],o=al(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[r]=o}_buildPlayer(r,e,t){const o=r.element,c=ay(0,this._normalizer,0,r.keyframes,e,t);return this._driver.animate(o,c,r.duration,r.delay,r.easing,[],!0)}create(r,e,t={}){const o=[],c=this._animations[r];let l;const n=new Map;if(c?(l=Qc(this._driver,e,c,wg,Zs,{},{},t,vy,o),l.forEach(d=>{const u=tn(n,d.element,{});d.postStyleProps.forEach(g=>u[g]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),l=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(g=>{d[g]=this._driver.computeStyle(u,g,Xi)})});const a=Yr(l.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[r]=a,a.onDestroy(()=>this.destroy(r)),this.players.push(a),a}destroy(r){const e=this._getPlayer(r);e.destroy(),delete this._playersById[r];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(r){const e=this._playersById[r];if(!e)throw new Error(`Unable to find the timeline player referenced by ${r}`);return e}listen(r,e,t,o){const c=mg(e,"","","");return gg(this._getPlayer(r),t,c,o),()=>{}}command(r,e,t,o){if("register"==t)return void this.register(r,o[0]);if("create"==t)return void this.create(r,e,o[0]||{});const c=this._getPlayer(r);switch(t){case"play":c.play();break;case"pause":c.pause();break;case"reset":c.reset();break;case"restart":c.restart();break;case"finish":c.finish();break;case"init":c.init();break;case"setPosition":c.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(r)}}}const xh="ng-animate-queued",Eh="ng-animate-disabled",xy=[],Bg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ty={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class Go{constructor(r,e=""){this.namespaceId=e;const t=r&&r.hasOwnProperty("value");if(this.value=function tr(s){return null!=s?s:null}(t?r.value:r),t){const c=jo(r);delete c.value,this.options=c}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(r){const e=r.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const er="void",Mh=new Go(er);class ol{constructor(r,e,t){this.id=r,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+r,Ni(e,this._hostClassName)}listen(r,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 Ti(s){return"start"==s||"done"==s}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const c=tn(this._elementListeners,r,[]),l={name:e,phase:t,callback:o};c.push(l);const n=tn(this._engine.statesByElement,r,{});return n.hasOwnProperty(e)||(Ni(r,jc),Ni(r,jc+"-"+e),n[e]=Mh),()=>{this._engine.afterFlush(()=>{const i=c.indexOf(l);i>=0&&c.splice(i,1),this._triggers[e]||delete n[e]})}}register(r,e){return!this._triggers[r]&&(this._triggers[r]=e,!0)}_getTrigger(r){const e=this._triggers[r];if(!e)throw new Error(`The provided animation trigger "${r}" has not been registered!`);return e}trigger(r,e,t,o=!0){const c=this._getTrigger(e),l=new Dh(this.id,e,r);let n=this._engine.statesByElement.get(r);n||(Ni(r,jc),Ni(r,jc+"-"+e),this._engine.statesByElement.set(r,n={}));let i=n[e];const a=new Go(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&a.absorbOptions(i.options),n[e]=a,i||(i=Mh),a.value!==er&&i.value===a.value){if(!function $o(s,r){const e=Object.keys(s),t=Object.keys(r);if(e.length!=t.length)return!1;for(let o=0;o{xr(r,oe),Xn(r,Be)})}return}const g=tn(this._engine.playersByElement,r,[]);g.forEach(U=>{U.namespaceId==this.id&&U.triggerName==e&&U.queued&&U.destroy()});let b=c.matchTransition(i.value,a.value,r,a.params),H=!1;if(!b){if(!o)return;b=c.fallbackTransition,H=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:e,transition:b,fromState:i,toState:a,player:l,isFallbackTransition:H}),H||(Ni(r,xh),l.onStart(()=>{Bn(r,xh)})),l.onDone(()=>{let U=this.players.indexOf(l);U>=0&&this.players.splice(U,1);const oe=this._engine.playersByElement.get(r);if(oe){let Be=oe.indexOf(l);Be>=0&&oe.splice(Be,1)}}),this.players.push(l),g.push(l),l}deregister(r){delete this._triggers[r],this._engine.statesByElement.forEach((e,t)=>{delete e[r]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=r))})}clearElementCache(r){this._engine.statesByElement.delete(r),this._elementListeners.delete(r);const e=this._engine.playersByElement.get(r);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(r))}_signalRemovalForInnerTriggers(r,e){const t=this._engine.driver.query(r,Nc,!0);t.forEach(o=>{if(o[Cn])return;const c=this._engine.fetchNamespacesByElement(o);c.size?c.forEach(l=>l.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(r,e,t,o){const c=this._engine.statesByElement.get(r),l=new Map;if(c){const n=[];if(Object.keys(c).forEach(i=>{if(l.set(i,c[i].value),this._triggers[i]){const a=this.trigger(r,i,er,o);a&&n.push(a)}}),n.length)return this._engine.markElementAsRemoved(this.id,r,!0,e,l),t&&Yr(n).onDone(()=>this._engine.processLeaveNode(r)),!0}return!1}prepareLeaveAnimationListeners(r){const e=this._elementListeners.get(r),t=this._engine.statesByElement.get(r);if(e&&t){const o=new Set;e.forEach(c=>{const l=c.name;if(o.has(l))return;o.add(l);const i=this._triggers[l].fallbackTransition,a=t[l]||Mh,d=new Go(er),u=new Dh(this.id,l,r);this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:l,transition:i,fromState:a,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(r,e){const t=this._engine;if(r.childElementCount&&this._signalRemovalForInnerTriggers(r,e),this.triggerLeaveAnimation(r,e,!0))return;let o=!1;if(t.totalAnimations){const c=t.players.length?t.playersByQueriedElement.get(r):[];if(c&&c.length)o=!0;else{let l=r;for(;l=l.parentNode;)if(t.statesByElement.get(l)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(r),o)t.markElementAsRemoved(this.id,r,!1,e);else{const c=r[Cn];(!c||c===Bg)&&(t.afterFlush(()=>this.clearElementCache(r)),t.destroyInnerAnimations(r),t._onRemovalComplete(r,e))}}insertNode(r,e){Ni(r,this._hostClassName)}drainQueuedTransitions(r){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const c=t.element,l=this._elementListeners.get(c);l&&l.forEach(n=>{if(n.name==t.triggerName){const i=mg(c,t.triggerName,t.fromState.value,t.toState.value);i._data=r,gg(t.player,n.phase,i,n.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const c=t.transition.ast.depCount,l=o.transition.ast.depCount;return 0==c||0==l?c-l:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(r){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,r)}elementContainsData(r){let e=!1;return this._elementListeners.has(r)&&(e=!0),e=!!this._queue.find(t=>t.element===r)||e,e}}class Ey{constructor(r,e,t){this.bodyNode=r,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,c)=>{}}_onRemovalComplete(r,e){this.onRemovalComplete(r,e)}get queuedPlayers(){const r=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&r.push(t)})}),r}createNamespace(r,e){const t=new ol(r,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[r]=t}_balanceNamespaceList(r,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let c=t;c>=0;c--)if(this.driver.containsElement(this._namespaceList[c].hostElement,e)){this._namespaceList.splice(c+1,0,r),o=!0;break}o||this._namespaceList.splice(0,0,r)}else this._namespaceList.push(r);return this.namespacesByHostElement.set(e,r),r}register(r,e){let t=this._namespaceLookup[r];return t||(t=this.createNamespace(r,e)),t}registerTrigger(r,e,t){let o=this._namespaceLookup[r];o&&o.register(e,t)&&this.totalAnimations++}destroy(r,e){if(!r)return;const t=this._fetchNamespace(r);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[r];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(r){return this._namespaceLookup[r]}fetchNamespacesByElement(r){const e=new Set,t=this.statesByElement.get(r);if(t){const o=Object.keys(t);for(let c=0;c=0&&this.collectedLeaveElements.splice(l,1)}if(r){const l=this._fetchNamespace(r);l&&l.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(r){this.collectedEnterElements.push(r)}markElementAsDisabled(r,e){e?this.disabledNodes.has(r)||(this.disabledNodes.add(r),Ni(r,Eh)):this.disabledNodes.has(r)&&(this.disabledNodes.delete(r),Bn(r,Eh))}removeNode(r,e,t,o){if(Jr(e)){const c=r?this._fetchNamespace(r):null;if(c?c.removeNode(e,o):this.markElementAsRemoved(r,e,!1,o),t){const l=this.namespacesByHostElement.get(e);l&&l.id!==r&&l.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(r,e,t,o,c){this.collectedLeaveElements.push(e),e[Cn]={namespaceId:r,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:c}}listen(r,e,t,o,c){return Jr(e)?this._fetchNamespace(r).listen(e,t,o,c):()=>{}}_buildInstruction(r,e,t,o,c){return r.transition.build(this.driver,r.element,r.fromState.value,r.toState.value,t,o,r.fromState.options,r.toState.options,e,c)}destroyInnerAnimations(r){let e=this.driver.query(r,Nc,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(r,Xs,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(r){const e=this.playersByElement.get(r);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(r){const e=this.playersByQueriedElement.get(r);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(r=>{if(this.players.length)return Yr(this.players).onDone(()=>r());r()})}processLeaveNode(r){var e;const t=r[Cn];if(t&&t.setForRemoval){if(r[Cn]=Bg,t.namespaceId){this.destroyInnerAnimations(r);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(r)}this._onRemovalComplete(r,t.setForRemoval)}(null===(e=r.classList)||void 0===e?void 0:e.contains(Eh))&&this.markElementAsDisabled(r,!1),this.driver.query(r,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(r=-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?Yr(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(r){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${r.join("\n")}`)}_flushAnimations(r,e){const t=new Yc,o=[],c=new Map,l=[],n=new Map,i=new Map,a=new Map,d=new Set;this.disabledNodes.forEach(qe=>{d.add(qe);const Ke=this.driver.query(qe,".ng-animate-queued",!0);for(let Xe=0;Xe{const Xe=wg+U++;H.set(Ke,Xe),qe.forEach(Et=>Ni(Et,Xe))});const oe=[],Be=new Set,lt=new Set;for(let qe=0;qeBe.add(Et)):lt.add(Ke))}const et=new Map,wt=nn(g,Array.from(Be));wt.forEach((qe,Ke)=>{const Xe=Zs+U++;et.set(Ke,Xe),qe.forEach(Et=>Ni(Et,Xe))}),r.push(()=>{b.forEach((qe,Ke)=>{const Xe=H.get(Ke);qe.forEach(Et=>Bn(Et,Xe))}),wt.forEach((qe,Ke)=>{const Xe=et.get(Ke);qe.forEach(Et=>Bn(Et,Xe))}),oe.forEach(qe=>{this.processLeaveNode(qe)})});const jn=[],cr=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(e).forEach(Xe=>{const Et=Xe.player,Si=Xe.element;if(jn.push(Et),this.collectedEnterElements.length){const sn=Si[Cn];if(sn&&sn.setForMove){if(sn.previousTriggersValues&&sn.previousTriggersValues.has(Xe.triggerName)){const Wl=sn.previousTriggersValues.get(Xe.triggerName),ds=this.statesByElement.get(Xe.element);ds&&ds[Xe.triggerName]&&(ds[Xe.triggerName].value=Wl)}return void Et.destroy()}}const la=!u||!this.driver.containsElement(u,Si),Nn=et.get(Si),cs=H.get(Si),$t=this._buildInstruction(Xe,t,cs,Nn,la);if($t.errors&&$t.errors.length)return void cr.push($t);if(la)return Et.onStart(()=>xr(Si,$t.fromStyles)),Et.onDestroy(()=>Xn(Si,$t.toStyles)),void o.push(Et);if(Xe.isFallbackTransition)return Et.onStart(()=>xr(Si,$t.fromStyles)),Et.onDestroy(()=>Xn(Si,$t.toStyles)),void o.push(Et);const PS=[];$t.timelines.forEach(sn=>{sn.stretchStartingKeyframe=!0,this.disabledNodes.has(sn.element)||PS.push(sn)}),$t.timelines=PS,t.append(Si,$t.timelines),l.push({instruction:$t,player:Et,element:Si}),$t.queriedElements.forEach(sn=>tn(n,sn,[]).push(Et)),$t.preStyleProps.forEach((sn,Wl)=>{const ds=Object.keys(sn);if(ds.length){let $l=i.get(Wl);$l||i.set(Wl,$l=new Set),ds.forEach(ZA=>$l.add(ZA))}}),$t.postStyleProps.forEach((sn,Wl)=>{const ds=Object.keys(sn);let $l=a.get(Wl);$l||a.set(Wl,$l=new Set),ds.forEach(ZA=>$l.add(ZA))})});if(cr.length){const qe=[];cr.forEach(Ke=>{qe.push(`@${Ke.triggerName} has failed due to:\n`),Ke.errors.forEach(Xe=>qe.push(`- ${Xe}\n`))}),jn.forEach(Ke=>Ke.destroy()),this.reportError(qe)}const on=new Map,Ka=new Map;l.forEach(qe=>{const Ke=qe.element;t.has(Ke)&&(Ka.set(Ke,Ke),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,on))}),o.forEach(qe=>{const Ke=qe.element;this._getPreviousPlayers(Ke,!1,qe.namespaceId,qe.triggerName,null).forEach(Et=>{tn(on,Ke,[]).push(Et),Et.destroy()})});const Za=oe.filter(qe=>Ia(qe,i,a)),Xa=new Map;sl(Xa,this.driver,lt,a,Xi).forEach(qe=>{Ia(qe,i,a)&&Za.push(qe)});const Up=new Map;b.forEach((qe,Ke)=>{sl(Up,this.driver,new Set(qe),i,"!")}),Za.forEach(qe=>{const Ke=Xa.get(qe),Xe=Up.get(qe);Xa.set(qe,Object.assign(Object.assign({},Ke),Xe))});const ql=[],DS=[],HS={};l.forEach(qe=>{const{element:Ke,player:Xe,instruction:Et}=qe;if(t.has(Ke)){if(d.has(Ke))return Xe.onDestroy(()=>Xn(Ke,Et.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Et.totalTime),void o.push(Xe);let Si=HS;if(Ka.size>1){let Nn=Ke;const cs=[];for(;Nn=Nn.parentNode;){const $t=Ka.get(Nn);if($t){Si=$t;break}cs.push(Nn)}cs.forEach($t=>Ka.set($t,Si))}const la=this._buildAnimation(Xe.namespaceId,Et,on,c,Up,Xa);if(Xe.setRealPlayer(la),Si===HS)ql.push(Xe);else{const Nn=this.playersByElement.get(Si);Nn&&Nn.length&&(Xe.parentPlayer=Yr(Nn)),o.push(Xe)}}else xr(Ke,Et.fromStyles),Xe.onDestroy(()=>Xn(Ke,Et.toStyles)),DS.push(Xe),d.has(Ke)&&o.push(Xe)}),DS.forEach(qe=>{const Ke=c.get(qe.element);if(Ke&&Ke.length){const Xe=Yr(Ke);qe.setRealPlayer(Xe)}}),o.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe!la.destroyed);Si.length?qo(this,Ke,Si):this.processLeaveNode(Ke)}return oe.length=0,ql.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const Ke=this.players.indexOf(qe);this.players.splice(Ke,1)}),qe.play()}),ql}elementContainsData(r,e){let t=!1;const o=e[Cn];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(r).elementContainsData(e)||t}afterFlush(r){this._flushFns.push(r)}afterFlushAnimationsDone(r){this._whenQuietFns.push(r)}_getPreviousPlayers(r,e,t,o,c){let l=[];if(e){const n=this.playersByQueriedElement.get(r);n&&(l=n)}else{const n=this.playersByElement.get(r);if(n){const i=!c||c==er;n.forEach(a=>{a.queued||!i&&a.triggerName!=o||l.push(a)})}}return(t||o)&&(l=l.filter(n=>!(t&&t!=n.namespaceId||o&&o!=n.triggerName))),l}_beforeAnimationBuild(r,e,t){const c=e.element,l=e.isRemovalTransition?void 0:r,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const a=i.element,d=a!==c,u=tn(t,a,[]);this._getPreviousPlayers(a,d,l,n,e.toState).forEach(b=>{const H=b.getRealPlayer();H.beforeDestroy&&H.beforeDestroy(),b.destroy(),u.push(b)})}xr(c,e.fromStyles)}_buildAnimation(r,e,t,o,c,l){const n=e.triggerName,i=e.element,a=[],d=new Set,u=new Set,g=e.timelines.map(H=>{const U=H.element;d.add(U);const oe=U[Cn];if(oe&&oe.removedBeforeQueried)return new Fo(H.duration,H.delay);const Be=U!==i,lt=function Wo(s){const r=[];return Ra(s,r),r}((t.get(U)||xy).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===U),et=c.get(U),wt=l.get(U),jn=ay(0,this._normalizer,0,H.keyframes,et,wt),cr=this._buildPlayer(H,jn,lt);if(H.subTimeline&&o&&u.add(U),Be){const on=new Dh(r,n,U);on.setRealPlayer(cr),a.push(on)}return cr});a.forEach(H=>{tn(this.playersByQueriedElement,H.element,[]).push(H),H.onDone(()=>function Hh(s,r,e){let t;if(s instanceof Map){if(t=s.get(r),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&s.delete(r)}}else if(t=s[r],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete s[r]}return t}(this.playersByQueriedElement,H.element,H))}),d.forEach(H=>Ni(H,Ag));const b=Yr(g);return b.onDestroy(()=>{d.forEach(H=>Bn(H,Ag)),Xn(i,e.toStyles)}),u.forEach(H=>{tn(o,H,[]).push(b)}),b}_buildPlayer(r,e,t){return e.length>0?this.driver.animate(r.element,e,r.duration,r.delay,r.easing,t):new Fo(r.duration,r.delay)}}class Dh{constructor(r,e,t){this.namespaceId=r,this.triggerName=e,this.element=t,this._player=new Fo,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(r){this._containsRealPlayer||(this._player=r,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>gg(r,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(r.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(r){this.totalTime=r}syncPlayerEvents(r){const e=this._player;e.triggerCallback&&r.onStart(()=>e.triggerCallback("start")),r.onDone(()=>this.finish()),r.onDestroy(()=>this.destroy())}_queueEvent(r,e){tn(this._queuedCallbacks,r,[]).push(e)}onDone(r){this.queued&&this._queueEvent("done",r),this._player.onDone(r)}onStart(r){this.queued&&this._queueEvent("start",r),this._player.onStart(r)}onDestroy(r){this.queued&&this._queueEvent("destroy",r),this._player.onDestroy(r)}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(r){this.queued||this._player.setPosition(r)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(r){const e=this._player;e.triggerCallback&&e.triggerCallback(r)}}function Jr(s){return s&&1===s.nodeType}function Kr(s,r){const e=s.style.display;return s.style.display=null!=r?r:"none",e}function sl(s,r,e,t,o){const c=[];e.forEach(i=>c.push(Kr(i)));const l=[];t.forEach((i,a)=>{const d={};i.forEach(u=>{const g=d[u]=r.computeStyle(a,u,o);(!g||0==g.length)&&(a[Cn]=Ty,l.push(a))}),s.set(a,d)});let n=0;return e.forEach(i=>Kr(i,c[n++])),l}function nn(s,r){const e=new Map;if(s.forEach(n=>e.set(n,[])),0==r.length)return e;const o=new Set(r),c=new Map;function l(n){if(!n)return 1;let i=c.get(n);if(i)return i;const a=n.parentNode;return i=e.has(a)?a:o.has(a)?1:l(a),c.set(n,i),i}return r.forEach(n=>{const i=l(n);1!==i&&e.get(i).push(n)}),e}function Ni(s,r){var e;null===(e=s.classList)||void 0===e||e.add(r)}function Bn(s,r){var e;null===(e=s.classList)||void 0===e||e.remove(r)}function qo(s,r,e){Yr(e).onDone(()=>s.processLeaveNode(r))}function Ra(s,r){for(let e=0;eo.add(c)):r.set(s,t),e.delete(s),!0}class Tr{constructor(r,e,t){this.bodyNode=r,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,c)=>{},this._transitionEngine=new Ey(r,e,t),this._timelineEngine=new sx(r,e,t),this._transitionEngine.onRemovalComplete=(o,c)=>this.onRemovalComplete(o,c)}registerTrigger(r,e,t,o,c){const l=r+"-"+o;let n=this._triggerCache[l];if(!n){const i=[],a=al(this._driver,c,i);if(i.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function ox(s,r,e){return new kg(s,r,e)}(o,a,this._normalizer),this._triggerCache[l]=n}this._transitionEngine.registerTrigger(e,o,n)}register(r,e){this._transitionEngine.register(r,e)}destroy(r,e){this._transitionEngine.destroy(r,e)}onInsert(r,e,t,o){this._transitionEngine.insertNode(r,e,t,o)}onRemove(r,e,t,o){this._transitionEngine.removeNode(r,e,o||!1,t)}disableAnimations(r,e){this._transitionEngine.markElementAsDisabled(r,e)}process(r,e,t,o){if("@"==t.charAt(0)){const[c,l]=Lc(t);this._timelineEngine.command(c,e,l,o)}else this._transitionEngine.trigger(r,e,t,o)}listen(r,e,t,o,c){if("@"==t.charAt(0)){const[l,n]=Lc(t);return this._timelineEngine.listen(l,e,n,c)}return this._transitionEngine.listen(r,e,t,o,c)}flush(r=-1){this._transitionEngine.flush(r)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Qo=(()=>{class s{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let c=s.initialStylesByElement.get(e);c||s.initialStylesByElement.set(e,c={}),this._initialStyles=c}start(){this._state<1&&(this._startStyles&&Xn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xn(this._element,this._initialStyles),this._endStyles&&(Xn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s.initialStylesByElement.delete(this._element),this._startStyles&&(xr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xr(this._element,this._endStyles),this._endStyles=null),Xn(this._element,this._initialStyles),this._state=3)}}return s.initialStylesByElement=new WeakMap,s})();function Xc(s){let r=null;const e=Object.keys(s);for(let t=0;tr()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const r=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,r,this.options),this._finalKeyframe=r.length?r[r.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(r,e,t){return r.animate(e,t)}onStart(r){this._onStartFns.push(r)}onDone(r){this._onDoneFns.push(r)}onDestroy(r){this._onDestroyFns.push(r)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(r=>r()),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(r=>r()),this._onDestroyFns=[])}setPosition(r){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=r*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const r={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(r[t]=this._finished?e[t]:Wc(this.element,t))})}this.currentSnapshot=r}triggerCallback(r){const e="start"==r?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Lg{validateStyleProperty(r){return oh(r)}matchesElement(r,e){return!1}containsElement(r,e){return Cg(r,e)}query(r,e,t){return sh(r,e,t)}computeStyle(r,e,t){return window.getComputedStyle(r)[e]}animate(r,e,t,o,c,l=[]){const i={duration:t,delay:o,fill:0==o?"both":"forwards"};c&&(i.easing=c);const a={},d=l.filter(g=>g instanceof Ph);(function uy(s,r){return 0===s||0===r})(t,o)&&d.forEach(g=>{let b=g.currentSnapshot;Object.keys(b).forEach(H=>a[H]=b[H])}),e=function hy(s,r,e){const t=Object.keys(e);if(t.length&&r.length){let c=r[0],l=[];if(t.forEach(n=>{c.hasOwnProperty(n)||l.push(n),c[n]=e[n]}),l.length)for(var o=1;oZn(g,!1)),a);const u=function Yo(s,r){let e=null,t=null;return Array.isArray(r)&&r.length?(e=Xc(r[0]),r.length>1&&(t=Xc(r[r.length-1]))):r&&(e=Xc(r)),e||t?new Qo(s,e,t):null}(r,e);return new Ph(r,e,i,u)}}let Fg=(()=>{class s extends Bc{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?nh(e):e;return Rh(this._renderer,null,t,"register",[o]),new jg(t,this._renderer)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.FYo),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class jg extends class Lo{}{constructor(r,e){super(),this._id=r,this._renderer=e}create(r,e){return new Ng(this._id,r,e||{},this._renderer)}}class Ng{constructor(r,e,t,o){this.id=r,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(r,e){return this._renderer.listen(this.element,`@@${this.id}:${r}`,e)}_command(r,...e){return Rh(this._renderer,this.element,this.id,r,e)}onDone(r){this._listen("done",r)}onStart(r){this._listen("start",r)}onDestroy(r){this._listen("destroy",r)}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(r){this._command("setPosition",r)}getPosition(){var r,e;return null!==(e=null===(r=this._renderer.engine.players[+this.id])||void 0===r?void 0:r.getPosition())&&void 0!==e?e:0}}function Rh(s,r,e,t,o){return s.setProperty(r,`@@${e}:${t}`,o)}const zg="@.disabled";let Ug=(()=>{class s{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=(c,l)=>{const n=null==l?void 0:l.parentNode(c);n&&l.removeChild(n,c)}}createRenderer(e,t){const c=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(c);return d||(d=new Gg("",c,this.engine),this._rendererCache.set(c,d)),d}const l=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(l,n,e,d.name,d)};return t.data.animation.forEach(i),new qg(this,n,c,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(c=>{const[l,n]=c;l(n)}),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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.FYo),f.LFG(Tr),f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Gg{constructor(r,e,t){this.namespaceId=r,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(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}appendChild(r,e){this.delegate.appendChild(r,e),this.engine.onInsert(this.namespaceId,e,r,!1)}insertBefore(r,e,t,o=!0){this.delegate.insertBefore(r,e,t),this.engine.onInsert(this.namespaceId,e,r,o)}removeChild(r,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,t,o){this.delegate.setAttribute(r,e,t,o)}removeAttribute(r,e,t){this.delegate.removeAttribute(r,e,t)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,t,o){this.delegate.setStyle(r,e,t,o)}removeStyle(r,e,t){this.delegate.removeStyle(r,e,t)}setProperty(r,e,t){"@"==e.charAt(0)&&e==zg?this.disableAnimations(r,!!t):this.delegate.setProperty(r,e,t)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,t){return this.delegate.listen(r,e,t)}disableAnimations(r,e){this.engine.disableAnimations(r,e)}}class qg extends Gg{constructor(r,e,t,o){super(e,t,o),this.factory=r,this.namespaceId=e}setProperty(r,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==zg?this.disableAnimations(r,t=void 0===t||!!t):this.engine.process(this.namespaceId,r,e.substr(1),t):this.delegate.setProperty(r,e,t)}listen(r,e,t){if("@"==e.charAt(0)){const o=function Wg(s){switch(s){case"body":return document.body;case"document":return document;case"window":return window;default:return s}}(r);let c=e.substr(1),l="";return"@"!=c.charAt(0)&&([c,l]=function Sy(s){const r=s.indexOf(".");return[s.substring(0,r),s.substr(r+1)]}(c)),this.engine.listen(this.namespaceId,o,c,l,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(r,e,t)}}let My=(()=>{class s extends Tr{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(mn),f.LFG(yh))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const rn=new f.OlP("AnimationModuleType"),Yg=[{provide:Bc,useClass:Fg},{provide:yh,useFactory:function $g(){return new rx}},{provide:Tr,useClass:My},{provide:f.FYo,useFactory:function Dy(s,r,e){return new Ug(s,r,e)},deps:[ge,Tr,f.R0b]}],Qg=[{provide:mn,useFactory:()=>new Lg},{provide:rn,useValue:"BrowserAnimations"},...Yg],lx=[{provide:mn,useClass:yg},{provide:rn,useValue:"NoopAnimations"},...Yg];let Hy=(()=>{class s{static withConfig(e){return{ngModule:s,providers:e.disableAnimations?lx:Qg}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:Qg,imports:[Ir]}),s})();const Jo=new f.OlP("mat-sanity-checks",{providedIn:"root",factory:function Py(){return!0}});let Ye=(()=>{class s{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Ro()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Oo),f.LFG(Jo,8),f.LFG(E.K0))},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta],Ta]}),s})();function ka(s){return class extends s{constructor(...r){super(...r),this._disabled=!1}get disabled(){return this._disabled}set disabled(r){this._disabled=rt(r)}}}function Va(s,r){return class extends s{constructor(...e){super(...e),this.defaultColor=r,this.color=r}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 Zr(s){return class extends s{constructor(...r){super(...r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=rt(r)}}}function em(s){return class extends s{constructor(...r){super(...r),this.stateChanges=new Fe.x,this.errorState=!1}updateErrorState(){const r=this.errorState,c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==r&&(this.errorState=c,this.stateChanges.next())}}}const ky=new f.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Vy(){return(0,f.f3M)(f.soG)}});class yn{constructor(){this._localeChanges=new Fe.x,this.localeChanges=this._localeChanges}getValidDateOrNull(r){return this.isDateInstance(r)&&this.isValid(r)?r:null}deserialize(r){return null==r||this.isDateInstance(r)&&this.isValid(r)?r:this.invalid()}setLocale(r){this.locale=r,this._localeChanges.next()}compareDate(r,e){return this.getYear(r)-this.getYear(e)||this.getMonth(r)-this.getMonth(e)||this.getDate(r)-this.getDate(e)}sameDate(r,e){if(r&&e){let t=this.isValid(r),o=this.isValid(e);return t&&o?!this.compareDate(r,e):t==o}return r==e}clampDate(r,e,t){return e&&this.compareDate(r,e)<0?e:t&&this.compareDate(r,t)>0?t:r}}const ed=new f.OlP("mat-date-formats"),tm=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function td(s,r){const e=Array(s);for(let t=0;t{class s extends yn{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 td(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return td(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 td(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 c=this._createDateWithOverflow(e,t,o);return c.getMonth(),c}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(tm.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 c=new Date;return c.setFullYear(e,t,o),c.setHours(0,0,0,0),c}_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 s.\u0275fac=function(e){return new(e||s)(f.LFG(ky,8),f.LFG(fi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const px={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 Ih=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:yn,useClass:id}]}),s})(),im=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:ed,useValue:px}],imports:[[Ih]]}),s})(),Er=(()=>{class s{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),nd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})();class Vh{constructor(r,e,t){this._renderer=r,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const rd={enterDuration:225,exitDuration:150},am=pn({passive:!0}),om=["mousedown","touchstart"],ad=["mouseup","mouseleave","touchend","touchcancel"];class od{constructor(r,e,t,o){this._target=r,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Wt(t))}fadeInRipple(r,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),c=Object.assign(Object.assign({},rd),t.animation);t.centered&&(r=o.left+o.width/2,e=o.top+o.height/2);const l=t.radius||function lm(s,r,e){const t=Math.max(Math.abs(s-e.left),Math.abs(s-e.right)),o=Math.max(Math.abs(r-e.top),Math.abs(r-e.bottom));return Math.sqrt(t*t+o*o)}(r,e,o),n=r-o.left,i=e-o.top,a=c.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-l+"px",d.style.top=i-l+"px",d.style.height=2*l+"px",d.style.width=2*l+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${a}ms`,this._containerElement.appendChild(d),function sm(s){window.getComputedStyle(s).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new Vh(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const g=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!g||!this._isPointerDown)&&u.fadeOut()},a),u}fadeOutRipple(r){const e=this._activeRipples.delete(r);if(r===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=r.element,o=Object.assign(Object.assign({},rd),r.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",r.state=2,this._runTimeoutOutsideZone(()=>{r.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(r=>r.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(r=>{r.config.persistent||r.fadeOut()})}setupTriggerEvents(r){const e=Wt(r);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(om))}handleEvent(r){"mousedown"===r.type?this._onMousedown(r):"touchstart"===r.type?this._onTouchStart(r):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ad),this._pointerUpEventsRegistered=!0)}_onMousedown(r){const e=ag(r),t=this._lastTouchStartEvent&&Date.now(){!r.config.persistent&&(1===r.state||r.config.terminateOnPointerUp&&0===r.state)&&r.fadeOut()}))}_runTimeoutOutsideZone(r,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(r,e))}_registerEvents(r){this._ngZone.runOutsideAngular(()=>{r.forEach(e=>{this._triggerElement.addEventListener(e,this,am)})})}_removeTriggerEvents(){this._triggerElement&&(om.forEach(r=>{this._triggerElement.removeEventListener(r,this,am)}),this._pointerUpEventsRegistered&&ad.forEach(r=>{this._triggerElement.removeEventListener(r,this,am)}))}}const sd=new f.OlP("mat-ripple-global-options");let Xr=(()=>{class s{constructor(e,t,o,c,l){this._elementRef=e,this._animationMode=l,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=c||{},this._rippleRenderer=new od(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(f.R0b),f.Y36(fi),f.Y36(sd,8),f.Y36(rn,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&f.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"]}),s})(),an=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),dl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye]]}),s})(),ld=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,E.ez,Ye,dl]]}),s})();const hm=["mat-button",""],pm=["*"],gm=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mx=Va(ka(Zr(class{constructor(s){this._elementRef=s}})));let ul=(()=>{class s extends mx{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 c of gm)this._hasHostAttributes(c)&&this._getHostElement().classList.add(c);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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(qr),f.Y36(rn,8))},s.\u0275cmp=f.Xpm({type:s,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&&f.Gf(Xr,5),2&e){let o;f.iGM(o=f.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(f.uIk("disabled",t.disabled||null),f.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[f.qOj],attrs:hm,ngContentSelectors:pm,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&&(f.F$t(),f.TgZ(0,"span",0),f.Hsn(1),f.qZA(),f._UZ(2,"span",1),f._UZ(3,"span",2)),2&e&&(f.xp6(2),f.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),f.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Xr],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;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;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;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;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}),s})(),On=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye],Ye]}),s})();var Gy=x(1144),kt=x(576),Oh=x(3268);const qy=["addListener","removeListener"],Wy=["addEventListener","removeEventListener"],mm=["on","off"];function cd(s,r,e,t){if((0,kt.m)(e)&&(t=e,e=void 0),t)return cd(s,r,e).pipe((0,Oh.Z)(t));const[o,c]=function $y(s){return(0,kt.m)(s.addEventListener)&&(0,kt.m)(s.removeEventListener)}(s)?Wy.map(l=>n=>s[l](r,n,e)):function _m(s){return(0,kt.m)(s.addListener)&&(0,kt.m)(s.removeListener)}(s)?qy.map(Lh(s,r)):function Ko(s){return(0,kt.m)(s.on)&&(0,kt.m)(s.off)}(s)?mm.map(Lh(s,r)):[];if(!o&&(0,Gy.z)(s))return(0,gt.z)(l=>cd(l,r,e))((0,fa.Xf)(s));if(!o)throw new TypeError("Invalid event target");return new vi.y(l=>{const n=(...i)=>l.next(1c(n)})}function Lh(s,r){return e=>t=>s[e](r,t)}var bm=x(4408);const Zo={schedule(s){let r=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=Zo;t&&(r=t.requestAnimationFrame,e=t.cancelAnimationFrame);const o=r(c=>{e=void 0,s(c)});return new ui.w0(()=>null==e?void 0:e(o))},requestAnimationFrame(...s){const{delegate:r}=Zo;return((null==r?void 0:r.requestAnimationFrame)||requestAnimationFrame)(...s)},cancelAnimationFrame(...s){const{delegate:r}=Zo;return((null==r?void 0:r.cancelAnimationFrame)||cancelAnimationFrame)(...s)},delegate:void 0};var Fh=x(7565);const dd=new class bx extends Fh.v{flush(r){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;r=r||t.shift();do{if(o=r.execute(r.state,r.delay))break}while((r=t[0])&&r.id===e&&t.shift());if(this._active=!1,o){for(;(r=t[0])&&r.id===e&&t.shift();)r.unsubscribe();throw o}}}(class Yy extends bm.o{constructor(r,e){super(r,e),this.scheduler=r,this.work=e}requestAsyncId(r,e,t=0){return null!==t&&t>0?super.requestAsyncId(r,e,t):(r.actions.push(this),r._scheduled||(r._scheduled=Zo.requestAnimationFrame(()=>r.flush(void 0))))}recycleAsyncId(r,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(r,e,t);r.actions.some(o=>o.id===e)||(Zo.cancelAnimationFrame(e),r._scheduled=void 0)}});let jh,ir=1;const ud={};function Ln(s){return s in ud&&(delete ud[s],!0)}const Fn={setImmediate(s){const r=ir++;return ud[r]=!0,jh||(jh=Promise.resolve()),jh.then(()=>Ln(r)&&s()),r},clearImmediate(s){Ln(s)}},{setImmediate:ym,clearImmediate:vm}=Fn,hd={setImmediate(...s){const{delegate:r}=hd;return((null==r?void 0:r.setImmediate)||ym)(...s)},clearImmediate(s){const{delegate:r}=hd;return((null==r?void 0:r.clearImmediate)||vm)(s)},delegate:void 0};new class Jy extends Fh.v{flush(r){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;r=r||t.shift();do{if(o=r.execute(r.state,r.delay))break}while((r=t[0])&&r.id===e&&t.shift());if(this._active=!1,o){for(;(r=t[0])&&r.id===e&&t.shift();)r.unsubscribe();throw o}}}(class Qy extends bm.o{constructor(r,e){super(r,e),this.scheduler=r,this.work=e}requestAsyncId(r,e,t=0){return null!==t&&t>0?super.requestAsyncId(r,e,t):(r.actions.push(this),r._scheduled||(r._scheduled=hd.setImmediate(r.flush.bind(r,void 0))))}recycleAsyncId(r,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(r,e,t);r.actions.some(o=>o.id===e)||(hd.clearImmediate(e),r._scheduled=void 0)}});var Xo=x(4986),Nh=x(2805);function Am(s,r=Xo.z){return function Zy(s){return(0,Hi.e)((r,e)=>{let t=!1,o=null,c=null,l=!1;const n=()=>{if(null==c||c.unsubscribe(),c=null,t){t=!1;const a=o;o=null,e.next(a)}l&&e.complete()},i=()=>{c=null,l&&e.complete()};r.subscribe((0,Fi.x)(e,a=>{t=!0,o=a,c||(0,fa.Xf)(s(a)).subscribe(c=(0,Fi.x)(e,n,i))},()=>{l=!0,(!t||!c||c.closed)&&e.complete()}))})}(()=>(0,Nh.H)(s,r))}let pd=(()=>{class s{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new Fe.x,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 vi.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(Am(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ue.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,Mi.h)(c=>!c||o.indexOf(c)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,c)=>{this._scrollableContainsElement(c,e)&&t.push(c)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=Wt(t),c=e.getElementRef().nativeElement;do{if(o==c)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>cd(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(fi),f.LFG(E.K0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),es=(()=>{class s{constructor(e,t,o){this._platform=e,this._change=new Fe.x,this._changeListener=c=>{this._change.next(c)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const c=this._getWindow();c.addEventListener("resize",this._changeListener),c.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,c=o.getBoundingClientRect();return{top:-c.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-c.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Am(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 s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b),f.LFG(E.K0,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Sr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),ts=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta,Sr],Ta,Sr]}),s})();class Gh{attach(r){return this._attachedHost=r,r.attach(this)}detach(){let r=this._attachedHost;null!=r&&(this._attachedHost=null,r.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(r){this._attachedHost=r}}class qh extends Gh{constructor(r,e,t,o){super(),this.component=r,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class Em extends Gh{constructor(r,e,t){super(),this.templateRef=r,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(r,e=this.context){return this.context=e,super.attach(r)}detach(){return this.context=void 0,super.detach()}}class lv extends Gh{constructor(r){super(),this.element=r instanceof f.SBq?r.nativeElement:r}}class Wh{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(r){return r instanceof qh?(this._attachedPortal=r,this.attachComponentPortal(r)):r instanceof Em?(this._attachedPortal=r,this.attachTemplatePortal(r)):this.attachDomPortal&&r instanceof lv?(this._attachedPortal=r,this.attachDomPortal(r)):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(r){this._disposeFn=r}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class cv extends Wh{constructor(r,e,t,o,c){super(),this.outletElement=r,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=l=>{const n=l.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=l,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=c}attachComponentPortal(r){const t=(r.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(r.component);let o;return r.viewContainerRef?(o=r.viewContainerRef.createComponent(t,r.viewContainerRef.length,r.injector||r.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(r.injector||this._defaultInjector||f.zs3.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=r,o}attachTemplatePortal(r){let e=r.viewContainerRef,t=e.createEmbeddedView(r.templateRef,r.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=r,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(r){return r.hostView.rootNodes[0]}}let $h=(()=>{class s extends Wh{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new f.vpe,this.attachDomPortal=c=>{const l=c.element,n=this._document.createComment("dom-portal");c.setAttachedHost(this),l.parentNode.insertBefore(n,l),this._getRootNode().appendChild(l),this._attachedPortal=c,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(l,n)})},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,c=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),l=t.createComponent(c,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(l.hostView.rootNodes[0]),super.setDisposeFn(()=>l.destroy()),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l}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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f._Vd),f.Y36(f.s_b),f.Y36(E.K0))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[f.qOj]}),s})(),Oa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();var rr=x(6451);const Yh=l0();class Sm{constructor(r,e){this._viewportRuler=r,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const r=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=r.style.left||"",this._previousHTMLStyles.top=r.style.top||"",r.style.left=Xt(-this._previousScrollPosition.left),r.style.top=Xt(-this._previousScrollPosition.top),r.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const r=this._document.documentElement,t=r.style,o=this._document.body.style,c=t.scrollBehavior||"",l=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,r.classList.remove("cdk-global-scrollblock"),Yh&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Yh&&(t.scrollBehavior=c,o.scrollBehavior=l)}}_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 Mm{constructor(r,e,t,o){this._scrollDispatcher=r,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(r){this._overlayRef=r}enable(){if(this._scrollSubscription)return;const r=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=r.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=r.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fd{enable(){}disable(){}attach(){}}function hl(s,r){return r.some(e=>s.bottome.bottom||s.righte.right)}function ea(s,r){return r.some(e=>s.tope.bottom||s.lefte.right)}class pv{constructor(r,e,t,o){this._scrollDispatcher=r,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(r){this._overlayRef=r}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();hl(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 fv=(()=>{class s{constructor(e,t,o,c){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new fd,this.close=l=>new Mm(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new Sm(this._viewportRuler,this._document),this.reposition=l=>new pv(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=c}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(pd),f.LFG(es),f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();class La{constructor(r){if(this.scrollStrategy=new fd,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,r){const e=Object.keys(r);for(const t of e)void 0!==r[t]&&(this[t]=r[t])}}}class Hx{constructor(r,e){this.connectionPair=r,this.scrollableViewProperties=e}}class Px{constructor(r,e,t,o,c,l,n,i,a){this._portalOutlet=r,this._host=e,this._pane=t,this._config=o,this._ngZone=c,this._keyboardDispatcher=l,this._document=n,this._location=i,this._outsideClickDispatcher=a,this._backdropElement=null,this._backdropClick=new Fe.x,this._attachments=new Fe.x,this._detachments=new Fe.x,this._locationChanges=ui.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Fe.x,this._outsidePointerEvents=new Fe.x,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(r){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(r);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,hi.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 r=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),r}dispose(){var r;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===(r=this._host)||void 0===r||r.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(r){r!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=r,this.hasAttached()&&(r.attach(this),this.updatePosition()))}updateSize(r){this._config=Object.assign(Object.assign({},this._config),r),this._updateElementSize()}setDirection(r){this._config=Object.assign(Object.assign({},this._config),{direction:r}),this._updateElementDirection()}addPanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!0)}removePanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!1)}getDirection(){const r=this._config.direction;return r?"string"==typeof r?r:r.value:"ltr"}updateScrollStrategy(r){r!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=r,this.hasAttached()&&(r.attach(this),r.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const r=this._pane.style;r.width=Xt(this._config.width),r.height=Xt(this._config.height),r.minWidth=Xt(this._config.minWidth),r.minHeight=Xt(this._config.minHeight),r.maxWidth=Xt(this._config.maxWidth),r.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(r){this._pane.style.pointerEvents=r?"":"none"}_attachBackdrop(){const r="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(r)})}):this._backdropElement.classList.add(r)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const r=this._backdropElement;!r||(r.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{r.addEventListener("transitionend",this._backdropTransitionendHandler)}),r.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(r)},500)))}_toggleClasses(r,e,t){const o=Zf(e||[]).filter(c=>!!c);o.length&&(t?r.classList.add(...o):r.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const r=this._ngZone.onStable.pipe(Gt((0,rr.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()),r.unsubscribe())})})}_disposeScrollStrategy(){const r=this._scrollStrategy;r&&(r.disable(),r.detach&&r.detach())}_disposeBackdrop(r){r&&(r.removeEventListener("click",this._backdropClickHandler),r.removeEventListener("transitionend",this._backdropTransitionendHandler),r.remove(),this._backdropElement===r&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Qe=(()=>{class s{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||Ro()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let c=0;c{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 r=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,c=[];let l;for(let n of this._preferredPositions){let i=this._getOriginPoint(r,o,n),a=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(a,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,a,t)?c.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!l||l.overlayFit.visibleAreai&&(i=d,n=a)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ar(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Hm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const r=this._lastPosition;if(r){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,r);this._applyPosition(r,e)}else this.apply()}withScrollableContainers(r){return this._scrollables=r,this}withPositions(r){return this._preferredPositions=r,-1===r.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(r){return this._viewportMargin=r,this}withFlexibleDimensions(r=!0){return this._hasFlexibleDimensions=r,this}withGrowAfterOpen(r=!0){return this._growAfterOpen=r,this}withPush(r=!0){return this._canPush=r,this}withLockedPosition(r=!0){return this._positionLocked=r,this}setOrigin(r){return this._origin=r,this}withDefaultOffsetX(r){return this._offsetX=r,this}withDefaultOffsetY(r){return this._offsetY=r,this}withTransformOriginOn(r){return this._transformOriginSelector=r,this}_getOriginPoint(r,e,t){let o,c;if("center"==t.originX)o=r.left+r.width/2;else{const l=this._isRtl()?r.right:r.left,n=this._isRtl()?r.left:r.right;o="start"==t.originX?l:n}return e.left<0&&(o-=e.left),c="center"==t.originY?r.top+r.height/2:"top"==t.originY?r.top:r.bottom,e.top<0&&(c-=e.top),{x:o,y:c}}_getOverlayPoint(r,e,t){let o,c;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,c="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:r.x+o,y:r.y+c}}_getOverlayFit(r,e,t,o){const c=pl(e);let{x:l,y:n}=r,i=this._getOffset(o,"x"),a=this._getOffset(o,"y");i&&(l+=i),a&&(n+=a);let g=0-n,b=n+c.height-t.height,H=this._subtractOverflows(c.width,0-l,l+c.width-t.width),U=this._subtractOverflows(c.height,g,b),oe=H*U;return{visibleArea:oe,isCompletelyWithinViewport:c.width*c.height===oe,fitsInViewportVertically:U===c.height,fitsInViewportHorizontally:H==c.width}}_canFitWithFlexibleDimensions(r,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,c=t.right-e.x,l=Pm(this._overlayRef.getConfig().minHeight),n=Pm(this._overlayRef.getConfig().minWidth),a=r.fitsInViewportHorizontally||null!=n&&n<=c;return(r.fitsInViewportVertically||null!=l&&l<=o)&&a}return!1}_pushOverlayOnScreen(r,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:r.x+this._previousPushAmount.x,y:r.y+this._previousPushAmount.y};const o=pl(e),c=this._viewportRect,l=Math.max(r.x+o.width-c.width,0),n=Math.max(r.y+o.height-c.height,0),i=Math.max(c.top-t.top-r.y,0),a=Math.max(c.left-t.left-r.x,0);let d=0,u=0;return d=o.width<=c.width?a||-l:r.xH&&!this._isInitialRender&&!this._growAfterOpen&&(l=r.y-H/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)g=t.width-r.x+this._viewportMargin,d=r.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=r.x,d=t.right-r.x;else{const b=Math.min(t.right-r.x+t.left,r.x),H=this._lastBoundingBoxSize.width;d=2*b,u=r.x-b,d>H&&!this._isInitialRender&&!this._growAfterOpen&&(u=r.x-H/2)}return{top:l,left:u,bottom:n,right:g,width:d,height:c}}_setBoundingBoxStyles(r,e){const t=this._calculateBoundingBoxRect(r,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 c=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Xt(t.height),o.top=Xt(t.top),o.bottom=Xt(t.bottom),o.width=Xt(t.width),o.left=Xt(t.left),o.right=Xt(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",c&&(o.maxHeight=Xt(c)),l&&(o.maxWidth=Xt(l))}this._lastBoundingBoxSize=t,ar(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ar(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ar(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(r,e){const t={},o=this._hasExactPosition(),c=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();ar(t,this._getExactOverlayY(e,r,d)),ar(t,this._getExactOverlayX(e,r,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),a=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),a&&(n+=`translateY(${a}px)`),t.transform=n.trim(),l.maxHeight&&(o?t.maxHeight=Xt(l.maxHeight):c&&(t.maxHeight="")),l.maxWidth&&(o?t.maxWidth=Xt(l.maxWidth):c&&(t.maxWidth="")),ar(this._pane.style,t)}_getExactOverlayY(r,e,t){let o={top:"",bottom:""},c=this._getOverlayPoint(e,this._overlayRect,r);return this._isPushed&&(c=this._pushOverlayOnScreen(c,this._overlayRect,t)),"bottom"===r.overlayY?o.bottom=this._document.documentElement.clientHeight-(c.y+this._overlayRect.height)+"px":o.top=Xt(c.y),o}_getExactOverlayX(r,e,t){let l,o={left:"",right:""},c=this._getOverlayPoint(e,this._overlayRect,r);return this._isPushed&&(c=this._pushOverlayOnScreen(c,this._overlayRect,t)),l=this._isRtl()?"end"===r.overlayX?"left":"right":"end"===r.overlayX?"right":"left","right"===l?o.right=this._document.documentElement.clientWidth-(c.x+this._overlayRect.width)+"px":o.left=Xt(c.x),o}_getScrollVisibility(){const r=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ea(r,t),isOriginOutsideView:hl(r,t),isOverlayClipped:ea(e,t),isOverlayOutsideView:hl(e,t)}}_subtractOverflows(r,...e){return e.reduce((t,o)=>t-Math.max(o,0),r)}_getNarrowedViewportRect(){const r=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+r-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:r-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(r,e){return"x"===e?null==r.offsetX?this._offsetX:r.offsetX:null==r.offsetY?this._offsetY:r.offsetY}_validatePositions(){}_addPanelClasses(r){this._pane&&Zf(r).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(r=>{this._pane.classList.remove(r)}),this._appliedPanelClasses=[])}_getOriginRect(){const r=this._origin;if(r instanceof f.SBq)return r.nativeElement.getBoundingClientRect();if(r instanceof Element)return r.getBoundingClientRect();const e=r.width||0,t=r.height||0;return{top:r.y,bottom:r.y+t,left:r.x,right:r.x+e,height:t,width:e}}}function ar(s,r){for(let e in r)r.hasOwnProperty(e)&&(s[e]=r[e]);return s}function Pm(s){if("number"!=typeof s&&null!=s){const[r,e]=s.split(_v);return e&&"px"!==e?null:parseFloat(r)}return s||null}function pl(s){return{top:Math.floor(s.top),right:Math.floor(s.right),bottom:Math.floor(s.bottom),left:Math.floor(s.left),width:Math.floor(s.width),height:Math.floor(s.height)}}const fl="cdk-global-overlay-wrapper";class qt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(r){const e=r.getConfig();this._overlayRef=r,this._width&&!e.width&&r.updateSize({width:this._width}),this._height&&!e.height&&r.updateSize({height:this._height}),r.hostElement.classList.add(fl),this._isDisposed=!1}top(r=""){return this._bottomOffset="",this._topOffset=r,this._alignItems="flex-start",this}left(r=""){return this._rightOffset="",this._leftOffset=r,this._justifyContent="flex-start",this}bottom(r=""){return this._topOffset="",this._bottomOffset=r,this._alignItems="flex-end",this}right(r=""){return this._leftOffset="",this._rightOffset=r,this._justifyContent="flex-end",this}width(r=""){return this._overlayRef?this._overlayRef.updateSize({width:r}):this._width=r,this}height(r=""){return this._overlayRef?this._overlayRef.updateSize({height:r}):this._height=r,this}centerHorizontally(r=""){return this.left(r),this._justifyContent="center",this}centerVertically(r=""){return this.top(r),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:c,maxWidth:l,maxHeight:n}=t,i=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),a=!("100%"!==c&&"100vh"!==c||n&&"100%"!==n&&"100vh"!==n);r.position=this._cssPosition,r.marginLeft=i?"0":this._leftOffset,r.marginTop=a?"0":this._topOffset,r.marginBottom=this._bottomOffset,r.marginRight=this._rightOffset,i?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=a?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fl),t.justifyContent=t.alignItems=r.marginTop=r.marginBottom=r.marginLeft=r.marginRight=r.position="",this._overlayRef=null,this._isDisposed=!0}}let Rx=(()=>{class s{constructor(e,t,o,c){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=c}global(){return new qt}flexibleConnectedTo(e){return new bv(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(es),f.LFG(E.K0),f.LFG(fi),f.LFG(Qe))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Qh=(()=>{class s{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 s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Cv=(()=>{class s extends Qh{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=o=>{const c=this._attachedOverlays;for(let l=c.length-1;l>-1;l--)if(c[l]._keydownEvents.observers.length>0){const n=c[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(o)):n.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(f.R0b,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),yv=(()=>{class s extends Qh{constructor(e,t,o){super(e),this._platform=t,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=c=>{this._pointerDownEventTarget=fn(c)},this._clickListener=c=>{const l=fn(c),n="click"===c.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let a=i.length-1;a>-1;a--){const d=i[a];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(l)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(c)):u.next(c)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(fi),f.LFG(f.R0b,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Rm=0,Mr=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u,g){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=c,this._keyboardDispatcher=l,this._injector=n,this._ngZone=i,this._document=a,this._directionality=d,this._location=u,this._outsideClickDispatcher=g}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),c=this._createPortalOutlet(o),l=new La(e);return l.direction=l.direction||this._directionality.value,new Px(c,t,o,l,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-"+Rm++,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(f.z2F)),new cv(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(fv),f.LFG(Qe),f.LFG(f._Vd),f.LFG(Rx),f.LFG(Cv),f.LFG(f.zs3),f.LFG(f.R0b),f.LFG(E.K0),f.LFG(xa),f.LFG(E.Ye),f.LFG(yv))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const gl={provide:new f.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Mr],useFactory:function wv(s){return()=>s.scrollStrategies.reposition()}};let ml=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Mr,gl],imports:[[Ta,Oa,ts],ts]}),s})();const Av=["connectionContainer"],gd=["inputContainer"],km=["label"];function Vm(s,r){1&s&&(f.ynx(0),f.TgZ(1,"div",14),f._UZ(2,"div",15),f._UZ(3,"div",16),f._UZ(4,"div",17),f.qZA(),f.TgZ(5,"div",18),f._UZ(6,"div",15),f._UZ(7,"div",16),f._UZ(8,"div",17),f.qZA(),f.BQk())}function Bm(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div",19),f.NdJ("cdkObserveContent",function(){return f.CHM(e),f.oxw().updateOutlineGap()}),f.Hsn(1,1),f.qZA()}if(2&s){const e=f.oxw();f.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function xv(s,r){if(1&s&&(f.ynx(0),f.Hsn(1,2),f.TgZ(2,"span"),f._uU(3),f.qZA(),f.BQk()),2&s){const e=f.oxw(2);f.xp6(3),f.Oqu(e._control.placeholder)}}function _l(s,r){1&s&&f.Hsn(0,3,["*ngSwitchCase","true"])}function bl(s,r){1&s&&(f.TgZ(0,"span",23),f._uU(1," *"),f.qZA())}function Tv(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"label",20,21),f.NdJ("cdkObserveContent",function(){return f.CHM(e),f.oxw().updateOutlineGap()}),f.YNc(2,xv,4,1,"ng-container",12),f.YNc(3,_l,1,0,"ng-content",12),f.YNc(4,bl,2,0,"span",22),f.qZA()}if(2&s){const e=f.oxw();f.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),f.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),f.uIk("for",e._control.id)("aria-owns",e._control.id),f.xp6(2),f.Q6J("ngSwitchCase",!1),f.xp6(1),f.Q6J("ngSwitchCase",!0),f.xp6(1),f.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function Ev(s,r){1&s&&(f.TgZ(0,"div",24),f.Hsn(1,4),f.qZA())}function Sv(s,r){if(1&s&&(f.TgZ(0,"div",25),f._UZ(1,"span",26),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function Om(s,r){if(1&s&&(f.TgZ(0,"div"),f.Hsn(1,5),f.qZA()),2&s){const e=f.oxw();f.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Lm(s,r){if(1&s&&(f.TgZ(0,"div",30),f._uU(1),f.qZA()),2&s){const e=f.oxw(2);f.Q6J("id",e._hintLabelId),f.xp6(1),f.Oqu(e.hintLabel)}}function Fm(s,r){if(1&s&&(f.TgZ(0,"div",27),f.YNc(1,Lm,2,2,"div",28),f.Hsn(2,6),f._UZ(3,"div",29),f.Hsn(4,7),f.qZA()),2&s){const e=f.oxw();f.Q6J("@transitionMessages",e._subscriptAnimationState),f.xp6(1),f.Q6J("ngIf",e.hintLabel)}}const Mv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jm=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Dv=0;const Nm=new f.OlP("MatError");let Bx=(()=>{class s{constructor(e,t){this.id="mat-error-"+Dv++,e||t.nativeElement.setAttribute("aria-live","polite")}}return s.\u0275fac=function(e){return new(e||s)(f.$8M("aria-live"),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&f.uIk("id",t.id)},inputs:{id:"id"},features:[f._Bn([{provide:Nm,useExisting:s}])]}),s})();const Ox={transitionMessages:Lt("transitionMessages",[st("enter",Le({opacity:1,transform:"translateY(0%)"})),bt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),xt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Jh=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s}),s})(),Pv=0;const zm=new f.OlP("MatHint");let Um=(()=>{class s{constructor(){this.align="start",this.id="mat-hint-"+Pv++}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(f.uIk("id",t.id)("align",null),f.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[f._Bn([{provide:zm,useExisting:s}])]}),s})(),Fa=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-label"]]}),s})(),Rv=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["mat-placeholder"]]}),s})();const Iv=new f.OlP("MatPrefix"),kv=new f.OlP("MatSuffix");let Zh=0;const is=Va(class{constructor(s){this._elementRef=s}},"primary"),Bv=new f.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),md=new f.OlP("MatFormField");let Ov=(()=>{class s extends is{constructor(e,t,o,c,l,n,i){super(e),this._changeDetectorRef=t,this._dir=o,this._defaults=c,this._platform=l,this._ngZone=n,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Fe.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Zh++,this._labelId="mat-form-field-label-"+Zh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==i,this.appearance=c&&c.appearance?c.appearance:"legacy",this._hideRequiredMarker=!(!c||null==c.hideRequiredMarker)&&c.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=rt(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($n(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Gt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Gt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,rr.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe($n(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe($n(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Gt(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,cd(this._label.nativeElement,"transitionend").pipe((0,hi.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(c=>"start"===c.align):null,o=this._hintChildren?this._hintChildren.find(c=>"end"===c.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",c=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const d=t.querySelectorAll(`${o}, ${c}`);for(let u=0;u0?.75*H+10:0}for(let d=0;d{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,zr],Ye]}),s})();const qv={provide:new f.OlP("mat-select-scroll-strategy"),deps:[Mr],useFactory:function $m(s){return()=>s.scrollStrategies.reposition()}};let ns=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[qv],imports:[[E.ez,ml,ld,Ye],Sr,ta,ld,Ye]}),s})();const Jv={provide:new f.OlP("mat-tooltip-scroll-strategy"),deps:[Mr],useFactory:function Jm(s){return()=>s.scrollStrategies.reposition({scrollThrottle:20})}};let Dr=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Jv],imports:[[Wr,E.ez,ml,Ye],Ye,Sr]}),s})(),bd=(()=>{class s{constructor(){this.changes=new Fe.x,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 c=e*t;return`${c+1} \u2013 ${c<(o=Math.max(o,0))?Math.min(c+t,o):c+t} of ${o}`}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const tp={provide:bd,deps:[[new f.FiY,new f.tp0,bd]],useFactory:function Xv(s){return s||new bd}};let yd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[tp],imports:[[E.ez,On,ns,Dr,Ye]]}),s})();const dw={provide:new f.OlP("mat-menu-scroll-strategy"),deps:[Mr],useFactory:function cw(s){return()=>s.scrollStrategies.reposition()}};let wl=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[dw],imports:[[E.ez,Ye,an,ml],Sr,Ye]}),s})();var Al=x(2843),i_=x(4742),n_=x(1810);function wd(...s){const r=(0,co.jO)(s),{args:e,keys:t}=(0,i_.D)(s),o=new vi.y(c=>{const{length:l}=e;if(!l)return void c.complete();const n=new Array(l);let i=l,a=l;for(let d=0;d{u||(u=!0,a--),n[d]=g},()=>i--,void 0,()=>{(!i||!u)&&(a||c.next(t?(0,n_.n)(t,n):n),c.complete())}))}});return r?o.pipe((0,Oh.Z)(r)):o}var r_=x(3099);const a_=["*"];let xl;function Tl(s){var r;return(null===(r=function o_(){if(void 0===xl&&(xl=null,"undefined"!=typeof window)){const s=window;void 0!==s.trustedTypes&&(xl=s.trustedTypes.createPolicy("angular#components",{createHTML:r=>r}))}return xl}())||void 0===r?void 0:r.createHTML(s))||s}function s_(s){return Error(`Unable to find icon with the name "${s}"`)}function l_(s){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${s}".`)}function Ad(s){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${s}".`)}class Ei{constructor(r,e,t){this.url=r,this.svgText=e,this.options=t}}let Sl=(()=>{class s{constructor(e,t,o,c){this._httpClient=e,this._sanitizer=t,this._errorHandler=c,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,c){return this._addSvgIconConfig(e,t,new Ei(o,null,c))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,c){const l=this._sanitizer.sanitize(f.q3G.HTML,o);if(!l)throw Ad(o);const n=Tl(l);return this._addSvgIconConfig(e,t,new Ei("",n,c))}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 Ei(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const c=this._sanitizer.sanitize(f.q3G.HTML,t);if(!c)throw Ad(t);const l=Tl(c);return this._addSvgIconSetConfig(e,new Ei("",l,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(f.q3G.RESOURCE_URL,e);if(!t)throw l_(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ue.of)(Ed(o)):this._loadSvgIconFromConfig(new Ei(e,null)).pipe((0,M.b)(c=>this._cachedIconsByUrl.set(t,c)),(0,ft.U)(c=>Ed(c)))}getNamedSvgIcon(e,t=""){const o=c_(t,e);let c=this._svgIconConfigs.get(o);if(c)return this._getSvgFromConfig(c);if(c=this._getIconConfigFromResolvers(t,e),c)return this._svgIconConfigs.set(o,c),this._getSvgFromConfig(c);const l=this._iconSetConfigs.get(t);return l?this._getSvgFromIconSetConfigs(e,l):(0,Al._)(s_(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ue.of)(Ed(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ft.U)(t=>Ed(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ue.of)(o):wd(t.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe((0,Yi.K)(n=>{const a=`Loading icon set URL: ${this._sanitizer.sanitize(f.q3G.RESOURCE_URL,l.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(a)),(0,Ue.of)(null)})))).pipe((0,ft.U)(()=>{const l=this._extractIconWithNameFromAnySet(e,t);if(!l)throw s_(e);return l}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const c=t[o];if(c.svgText&&c.svgText.toString().indexOf(e)>-1){const l=this._svgElementFromConfig(c),n=this._extractSvgIconFromSet(l,e,c.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t),(0,ft.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ue.of)(null):this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const c=e.querySelector(`[id="${t}"]`);if(!c)return null;const l=c.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);const n=this._svgElementFromString(Tl(""));return n.appendChild(l),this._setSvgAttributes(n,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(Tl("")),o=e.attributes;for(let c=0;cTl(d)),I(()=>this._inProgressUrlFetches.delete(n)),(0,r_.B)());return this._inProgressUrlFetches.set(n,a),a}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(c_(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;or?r.pathname+r.search:""}}}),d_=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],u_=d_.map(s=>`[${s}]`).join(", "),h_=/^url\(['"]?#(.*?)['"]?\)$/;let Hr=(()=>{class s extends Sd{constructor(e,t,o,c,l){super(e),this._iconRegistry=t,this._location=c,this._errorHandler=l,this._inline=!1,this._currentIconFetch=ui.w0.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=rt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const o=e.childNodes[t];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((o,c)=>{o.forEach(l=>{c.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(u_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let c=0;c{const n=t[c],i=n.getAttribute(l),a=i?i.match(h_):null;if(a){let d=o.get(n);d||(d=[],o.set(n,d)),d.push({name:l,value:a[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,hi.q)(1)).subscribe(c=>this._setSvgElement(c),c=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${c.message}`))})}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(Sl),f.$8M("aria-hidden"),f.Y36(Md),f.Y36(f.qLn))},s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(f.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),f.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:[f.qOj],ngContentSelectors:a_,decls:1,vars:0,template:function(e,t){1&e&&(f.F$t(),f.Hsn(0))},styles:[".mat-icon{-webkit-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}),s})(),or=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})();function sr(s){return!!s&&(s instanceof vi.y||(0,kt.m)(s.lift)&&(0,kt.m)(s.subscribe))}var fw=x(6063);class AT extends Fe.x{constructor(r=1/0,e=1/0,t=fw.l){super(),this._bufferSize=r,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,e)}next(r){const{isStopped:e,_buffer:t,_infiniteTimeWindow:o,_timestampProvider:c,_windowTime:l}=this;e||(t.push(r),!o&&t.push(c.now()+l)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(r),{_infiniteTimeWindow:t,_buffer:o}=this,c=o.slice();for(let l=0;lnew AT(t,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class ja{}let np=(()=>{class s extends ja{getTranslation(e){return(0,Ue.of)({})}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Ml{}let Hd=(()=>{class s{handle(e){return e.key}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();function Pd(s,r){if(s===r)return!0;if(null===s||null===r)return!1;if(s!=s&&r!=r)return!0;let o,c,l,e=typeof s;if(e==typeof r&&"object"==e){if(!Array.isArray(s)){if(Array.isArray(r))return!1;for(c in l=Object.create(null),s){if(!Pd(s[c],r[c]))return!1;l[c]=!0}for(c in r)if(!(c in l)&&void 0!==r[c])return!1;return!0}if(!Array.isArray(r))return!1;if((o=s.length)==r.length){for(c=0;c{rp(r[t])?t in s?e[t]=p_(s[t],r[t]):Object.assign(e,{[t]:r[t]}):Object.assign(e,{[t]:r[t]})}),e}class Dl{}let Rd=(()=>{class s extends Dl{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(),!ia(e)||!ia(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,c)=>{let l=this.getValue(t,c);return ia(l)?l:o}):e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class Hl{}let ap=(()=>{class s extends Hl{compile(e,t){return e}compileTranslations(e,t){return e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();class op{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new f.vpe,this.onLangChange=new f.vpe,this.onDefaultLangChange=new f.vpe}}const Id=new f.OlP("USE_STORE"),sp=new f.OlP("USE_DEFAULT_LANG"),kd=new f.OlP("DEFAULT_LANGUAGE"),Vd=new f.OlP("USE_EXTEND");let na=(()=>{class s{constructor(e,t,o,c,l,n=!0,i=!1,a=!1,d){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=c,this.missingTranslationHandler=l,this.useDefaultLang=n,this.isolate=i,this.extend=a,this.pending=!1,this._onTranslationChange=new f.vpe,this._onLangChange=new f.vpe,this._onDefaultLangChange=new f.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,hi.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ue.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,hi.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ue.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(Dd(1),(0,hi.q)(1));return this.loadingTranslations=t.pipe((0,ft.U)(o=>this.compiler.compileTranslations(o,e)),Dd(1),(0,hi.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]?p_(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 c;if(t instanceof Array){let l={},n=!1;for(let i of t)l[i]=this.getParsedResult(e,i,o),sr(l[i])&&(n=!0);return n?wd(t.map(a=>sr(l[a])?l[a]:(0,Ue.of)(l[a]))).pipe((0,ft.U)(a=>{let d={};return a.forEach((u,g)=>{d[t[g]]=u}),d})):l}if(e&&(c=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===c&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(c=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===c){let l={key:t,translateService:this};void 0!==o&&(l.interpolateParams=o),c=this.missingTranslationHandler.handle(l)}return void 0!==c?c:t}get(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,fr.b)(o=>sr(o=this.getParsedResult(o,e,t))?o:(0,Ue.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return sr(o)?o:(0,Ue.of)(o)}}getStreamOnTranslationChange(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');return(0,so.z)(lo(()=>this.get(e,t)),this.onTranslationChange.pipe((0,$i.w)(o=>{const c=this.getParsedResult(o.translations,e,t);return"function"==typeof c.subscribe?c:(0,Ue.of)(c)})))}stream(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');return(0,so.z)(lo(()=>this.get(e,t)),this.onLangChange.pipe((0,$i.w)(o=>{const c=this.getParsedResult(o.translations,e,t);return sr(c)?c:(0,Ue.of)(c)})))}instant(e,t){if(!ia(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(sr(o)){if(e instanceof Array){let c={};return e.forEach((l,n)=>{c[e[n]]=e[n]}),c}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 s.\u0275fac=function(e){return new(e||s)(f.LFG(op),f.LFG(ja),f.LFG(Hl),f.LFG(Dl),f.LFG(Ml),f.LFG(sp),f.LFG(Id),f.LFG(Vd),f.LFG(kd))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),vn=(()=>{class s{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let c=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(o){let l=this.translate.getParsedResult(o,e,t);sr(l.subscribe)?l.subscribe(c):c(l)}this.translate.get(e,t).subscribe(c)}transform(e,...t){if(!e||!e.length)return e;if(Pd(e,this.lastKey)&&Pd(t,this.lastParams))return this.value;let o;if(ia(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let c=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(c)}catch(l){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(c=>{this.lastKey&&c.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,c.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(c=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,c.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(na,16),f.Y36(f.sBO,16))},s.\u0275pipe=f.Yjl({name:"translate",type:s,pure:!1}),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),ei=(()=>{class s{static forRoot(e={}){return{ngModule:s,providers:[e.loader||{provide:ja,useClass:np},e.compiler||{provide:Hl,useClass:ap},e.parser||{provide:Dl,useClass:Rd},e.missingTranslationHandler||{provide:Ml,useClass:Hd},op,{provide:Id,useValue:e.isolate},{provide:sp,useValue:e.useDefaultLang},{provide:Vd,useValue:e.extend},{provide:kd,useValue:e.defaultLanguage},na]}}static forChild(e={}){return{ngModule:s,providers:[e.loader||{provide:ja,useClass:np},e.compiler||{provide:Hl,useClass:ap},e.parser||{provide:Dl,useClass:Rd},e.missingTranslationHandler||{provide:Ml,useClass:Hd},{provide:Id,useValue:e.isolate},{provide:sp,useValue:e.useDefaultLang},{provide:Vd,useValue:e.extend},{provide:kd,useValue:e.defaultLanguage},na]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),Na=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[],imports:[[yd,wl,or,On,ei,E.ez]]}),s})();function mw(s,r){}class Bd{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const xT={dialogContainer:Lt("dialogContainer",[st("void, exit",Le({opacity:0,transform:"scale(0.7)"})),st("enter",Le({transform:"none"})),bt("* => enter",ih([xt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),Ks("@*",Js(),{optional:!0})])),bt("* => void, * => exit",ih([xt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),Ks("@*",Js(),{optional:!0})]))])};let _w=(()=>{class s extends Wh{constructor(e,t,o,c,l,n,i,a){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=l,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=a,this._animationStateChanged=new f.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=l.ariaLabelledBy||null,this._document=c}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zu())}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(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),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=zu(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=zu();return e===t||e.contains(t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(K0),f.Y36(f.sBO),f.Y36(E.K0,8),f.Y36(Bd),f.Y36(Ic),f.Y36(f.R0b),f.Y36(qr))},s.\u0275dir=f.lG2({type:s,viewQuery:function(e,t){if(1&e&&f.Gf($h,7),2&e){let o;f.iGM(o=f.CRH())&&(t._portalOutlet=o.first)}},features:[f.qOj]}),s})(),lp=(()=>{class s extends _w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&f.WFA("@dialogContainer.start",function(c){return t._onAnimationStart(c)})("@dialogContainer.done",function(c){return t._onAnimationDone(c)}),2&e&&(f.Ikx("id",t._id),f.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),f.d8E("@dialogContainer",t._state))},features:[f.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&f.YNc(0,mw,0,0,"ng-template",0)},directives:[$h],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:[xT.dialogContainer]}}),s})(),bw=0;class rs{constructor(r,e,t="mat-dialog-"+bw++){this._overlayRef=r,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Fe.x,this._afterClosed=new Fe.x,this._beforeClosed=new Fe.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Mi.h)(o=>"opened"===o.state),(0,hi.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Mi.h)(o=>"closed"===o.state),(0,hi.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),r.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),r.keydownEvents().pipe((0,Mi.h)(o=>27===o.keyCode&&!this.disableClose&&!function Vo(s,...r){return r.length?r.some(e=>s[e]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}(o))).subscribe(o=>{o.preventDefault(),f_(this,"keyboard")}),r.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():f_(this,"mouse")})}close(r){this._result=r,this._containerInstance._animationStateChanged.pipe((0,Mi.h)(e=>"closing"===e.state),(0,hi.q)(1)).subscribe(e=>{this._beforeClosed.next(r),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(r){let e=this._getPositionStrategy();return r&&(r.left||r.right)?r.left?e.left(r.left):e.right(r.right):e.centerHorizontally(),r&&(r.top||r.bottom)?r.top?e.top(r.top):e.bottom(r.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(r="",e=""){return this._overlayRef.updateSize({width:r,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(r){return this._overlayRef.addPanelClass(r),this}removePanelClass(r){return this._overlayRef.removePanelClass(r),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function f_(s,r,e){return void 0!==s._containerInstance&&(s._containerInstance._closeInteractionType=r),s.close(e)}const Cw=new f.OlP("MatDialogData"),cp=new f.OlP("mat-dialog-default-options"),dp=new f.OlP("mat-dialog-scroll-strategy"),up={provide:dp,deps:[Mr],useFactory:function Ld(s){return()=>s.scrollStrategies.block()}};let TT=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=c,this._overlayContainer=l,this._dialogRefConstructor=i,this._dialogContainerType=a,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Fe.x,this._afterOpenedAtThisLevel=new Fe.x,this._ariaHiddenElements=new Map,this.afterAllClosed=lo(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe($n(void 0))),this._scrollStrategy=n}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){t=function vw(s,r){return Object.assign(Object.assign({},r),s)}(t,this._defaultOptions||new Bd),t.id&&this.getDialogById(t.id);const o=this._createOverlay(t),c=this._attachDialogContainer(o,t),l=this._attachDialogContent(e,c,o,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe(()=>this._removeOpenDialog(l)),this.afterOpened.next(l),c._initializeWithAttachedContent(),l}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new La({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 c=f.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Bd,useValue:t}]}),l=new qh(this._dialogContainerType,t.viewContainerRef,c,t.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,t,o,c){const l=new this._dialogRefConstructor(o,t,c.id);if(e instanceof f.Rgc)t.attachTemplatePortal(new Em(e,null,{$implicit:c.data,dialogRef:l}));else{const n=this._createInjector(c,l,t),i=t.attachComponentPortal(new qh(e,c.viewContainerRef,n,c.componentFactoryResolver));l.componentInstance=i.instance}return l.updateSize(c.width,c.height).updatePosition(c.position),l}_createInjector(e,t,o){const c=e&&e.viewContainerRef&&e.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!c||!c.get(xa,null,f.XFs.Optional))&&l.push({provide:xa,useValue:{value:e.direction,change:(0,Ue.of)()}}),f.zs3.create({parent:c||this._injector,providers:l})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,c)=>{o?c.setAttribute("aria-hidden",o):c.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 c=t[o];c!==e&&"SCRIPT"!==c.nodeName&&"STYLE"!==c.nodeName&&!c.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(c,c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return s.\u0275fac=function(e){f.$Z()},s.\u0275dir=f.lG2({type:s}),s})(),ra=(()=>{class s extends TT{constructor(e,t,o,c,l,n,i,a){super(e,t,c,n,i,l,rs,lp,Cw,a)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Mr),f.LFG(f.zs3),f.LFG(E.Ye,8),f.LFG(cp,8),f.LFG(dp),f.LFG(s,12),f.LFG(Qe),f.LFG(rn,8))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),g_=0,pp=(()=>{class s{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+g_++}ngOnInit(){this._dialogRef||(this._dialogRef=function gp(s,r){let e=s.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?r.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(rs,8),f.Y36(f.SBq),f.Y36(ra))},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&f.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),s})(),fp=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),s})(),Fd=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),s})(),mp=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[ra,up],imports:[[ml,Oa,Ye],Ye]}),s})();function Nd(){const s=new Bd;return s.disableClose=!0,s.autoFocus=!1,s}x(4327),new Intl.Collator("cs",{numeric:!0});let _i=(()=>{class s{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,o;const c=[null===(o=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===o?void 0:o[this.branding],this.instanceConfig,this.defaultConfig];let l=null;for(const n of c)n&&!l&&(l=n[e]);return l}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let c=0;c{class s{constructor(e,t,o,c,l){this.injector=e,this.store=t,this.dialog=o,this.route=c,this.oauthService=l,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(pi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),c=.5+.25*Math.random(),l=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(l.prompt="consent"),sessionStorage.getItem("mfa_route")&&(l.acr_values="https://refeds.org/profile/mfa",l.prompt="login",l.max_age="0"),"Linker"===this.store.getProperty("application")){l.prompt="login";const n=function Ow(s,r){const e=r.split("&");for(const t of e){const[o,c]=t.split("=");if(o.includes(s))return c}return""}("idphint",location.search.substring(1));n&&(l.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:c,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:l}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(c=>{const l=c.split("=");"idpFilter"===l[0]&&t[l[1]]&&(this.filterShortname=l[1],o=t[l[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(o=>o?this.startRefreshToken():new Promise(c=>c(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Mi.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 c=[];o&&(c=o.split("&"));const l={};return c.forEach(n=>{const i=n.split("=");l[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),l.idpFilter&&(this.filterShortname=String(l.idpFilter)),this.router.navigate([t],{queryParams:l,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Mi.h)(e=>e instanceof ue)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(o=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!o||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((c,l)=>l("Invalid path"))))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.zs3),f.LFG(_i),f.LFG(ra),f.LFG(Ji),f.LFG(za.Ct))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),w_=(()=>{class s{constructor(e){this.dialogRef=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h2",0),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&e&&(f.xp6(1),f.hij(" ",f.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[fp],pipes:[vn],styles:[""]}),s})(),Rl=(()=>{class s{constructor(e,t,o,c,l,n){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=c,this.dialog=l,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Nd();this.dialog.open(w_,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const o of e){const c=o.split("=");t[c[0]]=c[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Pl),f.LFG(_i),f.LFG($p),f.LFG(Gi),f.LFG(ra),f.LFG(pi))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),yp=(()=>{class s{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Sl),f.LFG(Sn))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Fw=(()=>{class s{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"div",1),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div",2),f.TgZ(7,"div",3),f.TgZ(8,"button",4),f.NdJ("click",function(){return t.close()}),f._uU(9),f.ALo(10,"translate"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(1),f.Oqu(f.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),f.xp6(3),f.hij(" ",f.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),f.xp6(5),f.hij(" ",f.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[pp,fp,Fd,ul],pipes:[vn],styles:[""]}),s})(),jw=(()=>{class s{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Il=(()=>{class s{constructor(e){this.translate=e,this.addNotification=new f.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,c,l){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===c&&void 0!==o?this.getDefaultActionMessage():c,delay:this.defaultErrorDelayMs,icon:"error_outline",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,c){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:c,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(na))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),An=(()=>{class s{constructor(e,t,o,c,l,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=c,this.dialog=l,this.initAuthService=n}intercept(e,t){const o=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=Nd();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(Fw,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{I(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const c=this.apiRequestConfiguration.shouldHandleError(),l="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,M.b)(n=>{n instanceof y.Zn&&l&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,Al._)(n):c?void this.notificator.showRPCError(i):(0,Al._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;console.error(e);const c=e.error;if(c.errorId&&(o=c),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Pl),f.LFG(jw),f.LFG(Il),f.LFG(_i),f.LFG(ra),f.LFG(Rl))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),Nw=(()=>{class s{constructor(e,t,o,c){this.http=e,this.notificator=t,this.authService=o,this.storeService=c}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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,Yi.K)(c=>this.formatErrors(c,o,null,t)))}put(e,t={},o=!0){const c=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);return this.http.put(c,l,{headers:this.getHeaders()}).pipe((0,Yi.K)(n=>this.formatErrors(n,c,l,o)))}post(e,t={},o=!0){const c=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(c,l,{headers:n}).pipe((0,Yi.K)(i=>this.formatErrors(i,c,l,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,Yi.K)(c=>this.formatErrors(c,o,null,t)))}formatErrors(e,t,o,c){const l=e.error;return l.call=t,l.payload=o,c&&this.notificator.showRPCError(e.error),(0,Al._)(l)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(Il),f.LFG(Pl),f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),zw=(()=>{class s{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),o=navigator.languages.map(n=>n.split("-")[0]),c=location.search.substring(1).split("&");let l=null;for(const n of c){const i=n.split("=");"lang"===i[0]&&(l=i[1])}return l&&t.includes(l)?l:e&&t.includes(e)?e:o&&t.includes(o[0])?o[0]:"en"}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Ji),f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),A_=(()=>{class s{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const o of e)if(o.newApps.admin===t||o.newApps.profile===t||o.newApps.pwdReset===t||o.newApps.consolidator===t||o.newApps.linker===t)return o;return e[0]}getUrlForOtherApplication(e,t){const c=window.location.href.split("/"),l=c[0]+"//"+c[2],n=s.getBrandContainingDomain(this.storeService.getAppsConfig().brands,l);let i;if(n.newApps[e])i=n.newApps[e],"pwdReset"===e&&(i+=`?login-namespace=${t}`);else switch(i=n.oldGuiDomain+"/fed",e){case"admin":i+="/gui/";break;case"profile":i+="/profile/";break;case"pwdReset":i+=`/pwd-reset/?login-namespace=${t}`}return i}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(_i))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function x_(s,r){1&s&&(f.TgZ(0,"div",5),f.TgZ(1,"span",6),f._uU(2," ~ \u{1f5f2}\xa0 "),f.qZA(),f.TgZ(3,"span",7),f._uU(4," DEVEL "),f.qZA(),f.TgZ(5,"span",6),f._uU(6," \xa0\u{1f5f2} ~ "),f.qZA(),f.qZA())}const Uw=function(s,r){return{background:s,color:r}},qT=function(s){return{color:s}};let T_=(()=>{class s{constructor(e,t){this.storeService=e,this.sanitizer=t,this.bgColor=this.storeService.getProperty("theme").nav_bg_color,this.textColor=this.storeService.getProperty("theme").nav_text_color,this.iconColor=this.storeService.getProperty("theme").nav_icon_color,this.isDevel=this.storeService.getProperty("is_devel"),this.logo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.getProperty("logo"))}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Sn))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-header"]],decls:7,vars:12,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],[1,"mt-auto","mb-auto"],[1,"logo-container",3,"innerHTML"],[1,"ml-3","mt-auto","mb-auto","page-subtitle",3,"ngStyle"],["id","nav-devel-info",4,"ngIf"],["id","nav-devel-info"],[1,"text-warning"],[1,"text-danger"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f._UZ(2,"div",2),f.qZA(),f.TgZ(3,"p",3),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.YNc(6,x_,7,0,"div",4),f.qZA()),2&e&&(f.Q6J("ngStyle",f.WLB(7,Uw,t.bgColor,t.textColor)),f.xp6(2),f.Q6J("innerHTML",t.logo,f.oJD),f.xp6(1),f.Q6J("ngStyle",f.VKq(10,qT,t.textColor)),f.xp6(1),f.hij(" ",f.lcZ(5,5,"HEADER.TITLE")," "),f.xp6(2),f.Q6J("ngIf",t.isDevel))},directives:[E.PC,E.O5],pipes:[vn],styles:["#nav-devel-info[_ngcontent-%COMP%]{font-weight:500;font-size:1.4rem;display:flex;align-items:center;font-family:Roboto,Helvetica Neue,sans-serif}#login-nav[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:999;display:flex;height:64px;max-height:64px;top:0}.logo-container[_ngcontent-%COMP%]{padding:0 8px}.logo-container[_ngcontent-%COMP%] img, .logo-container[_ngcontent-%COMP%] svg{max-height:50px}.page-subtitle[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.5rem}"]}),s})(),vp=(()=>{class s{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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Qsj),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s}),s})(),Ua=(()=>{class s extends vp{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,features:[f.qOj]}),s})();const Ii=new f.OlP("NgValueAccessor"),wp={provide:Ii,useExisting:(0,f.Gpc)(()=>kl),multi:!0},Gw=new f.OlP("CompositionEventMode");let kl=(()=>{class s extends vp{constructor(e,t,o){super(e,t),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function S_(){const s=(0,E.q)()?(0,E.q)().getUserAgent():"";return/android (\d+)/.test(s.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Qsj),f.Y36(f.SBq),f.Y36(Gw,8))},s.\u0275dir=f.lG2({type:s,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&&f.NdJ("input",function(c){return t._handleInput(c.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(c){return t._compositionEnd(c.target.value)})},features:[f._Bn([wp]),f.qOj]}),s})();function Pr(s){return null==s||0===s.length}function qw(s){return null!=s&&"number"==typeof s.length}const ai=new f.OlP("NgValidators"),Ga=new f.OlP("NgAsyncValidators"),WT=/^(?=.{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 zd{static min(r){return function M_(s){return r=>{if(Pr(r.value)||Pr(s))return null;const e=parseFloat(r.value);return!isNaN(e)&&e{if(Pr(r.value)||Pr(s))return null;const e=parseFloat(r.value);return!isNaN(e)&&e>s?{max:{max:s,actual:r.value}}:null}}(r)}static required(r){return H_(r)}static requiredTrue(r){return function Ww(s){return!0===s.value?null:{required:!0}}(r)}static email(r){return function $w(s){return Pr(s.value)||WT.test(s.value)?null:{email:!0}}(r)}static minLength(r){return function Yw(s){return r=>Pr(r.value)||!qw(r.value)?null:r.value.lengthqw(r.value)&&r.value.length>s?{maxlength:{requiredLength:s,actualLength:r.value.length}}:null}(r)}static pattern(r){return function Jw(s){if(!s)return Ud;let r,e;return"string"==typeof s?(e="","^"!==s.charAt(0)&&(e+="^"),e+=s,"$"!==s.charAt(s.length-1)&&(e+="$"),r=new RegExp(e)):(e=s.toString(),r=s),t=>{if(Pr(t.value))return null;const o=t.value;return r.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(r)}static nullValidator(r){return null}static compose(r){return Gd(r)}static composeAsync(r){return I_(r)}}function H_(s){return Pr(s.value)?{required:!0}:null}function Ud(s){return null}function Vl(s){return null!=s}function P_(s){const r=(0,f.QGY)(s)?(0,Li.D)(s):s;return(0,f.CqO)(r),r}function R_(s){let r={};return s.forEach(e=>{r=null!=e?Object.assign(Object.assign({},r),e):r}),0===Object.keys(r).length?null:r}function Ap(s,r){return r.map(e=>e(s))}function xp(s){return s.map(r=>function qa(s){return!s.validate}(r)?r:e=>r.validate(e))}function Gd(s){if(!s)return null;const r=s.filter(Vl);return 0==r.length?null:function(e){return R_(Ap(e,r))}}function Bl(s){return null!=s?Gd(xp(s)):null}function I_(s){if(!s)return null;const r=s.filter(Vl);return 0==r.length?null:function(e){return wd(Ap(e,r).map(P_)).pipe((0,ft.U)(R_))}}function Ol(s){return null!=s?I_(xp(s)):null}function qd(s,r){return null===s?[r]:Array.isArray(s)?[...s,r]:[s,r]}function Ll(s){return s._rawValidators}function Kw(s){return s._rawAsyncValidators}function k_(s){return s?Array.isArray(s)?s:[s]:[]}function Tp(s,r){return Array.isArray(s)?s.includes(r):s===r}function Zw(s,r){const e=k_(r);return k_(s).forEach(o=>{Tp(e,o)||e.push(o)}),e}function Ep(s,r){return k_(r).filter(e=>!Tp(s,e))}class V_{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(r){this._rawValidators=r||[],this._composedValidatorFn=Bl(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=Ol(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r){this.control&&this.control.reset(r)}hasError(r,e){return!!this.control&&this.control.hasError(r,e)}getError(r,e){return this.control?this.control.getError(r,e):null}}class lr extends V_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ki extends V_{get formDirective(){return null}get path(){return null}}let Sp=(()=>{class s extends class B_{constructor(r){this._cd=r}is(r){var e,t,o;return"submitted"===r?!!(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[r])}}{constructor(e){super(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(lr,2))},s.\u0275dir=f.lG2({type:s,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&f.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:[f.qOj]}),s})();function jl(s,r){j_(s,r),r.valueAccessor.writeValue(s.value),function ZT(s,r){r.valueAccessor.registerOnChange(e=>{s._pendingValue=e,s._pendingChange=!0,s._pendingDirty=!0,"change"===s.updateOn&&sA(s,r)})}(s,r),function XT(s,r){const e=(t,o)=>{r.valueAccessor.writeValue(t),o&&r.viewToModelUpdate(t)};s.registerOnChange(e),r._registerOnDestroy(()=>{s._unregisterOnChange(e)})}(s,r),function oA(s,r){r.valueAccessor.registerOnTouched(()=>{s._pendingTouched=!0,"blur"===s.updateOn&&s._pendingChange&&sA(s,r),"submit"!==s.updateOn&&s.markAsTouched()})}(s,r),function KT(s,r){if(r.valueAccessor.setDisabledState){const e=t=>{r.valueAccessor.setDisabledState(t)};s.registerOnDisabledChange(e),r._registerOnDestroy(()=>{s._unregisterOnDisabledChange(e)})}}(s,r)}function Yd(s,r,e=!0){const t=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(t),r.valueAccessor.registerOnTouched(t)),Pp(s,r),s&&(r._invokeOnDestroyCallbacks(),s._registerOnCollectionChange(()=>{}))}function Hp(s,r){s.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r)})}function j_(s,r){const e=Ll(s);null!==r.validator?s.setValidators(qd(e,r.validator)):"function"==typeof e&&s.setValidators([e]);const t=Kw(s);null!==r.asyncValidator?s.setAsyncValidators(qd(t,r.asyncValidator)):"function"==typeof t&&s.setAsyncValidators([t]);const o=()=>s.updateValueAndValidity();Hp(r._rawValidators,o),Hp(r._rawAsyncValidators,o)}function Pp(s,r){let e=!1;if(null!==s){if(null!==r.validator){const o=Ll(s);if(Array.isArray(o)&&o.length>0){const c=o.filter(l=>l!==r.validator);c.length!==o.length&&(e=!0,s.setValidators(c))}}if(null!==r.asyncValidator){const o=Kw(s);if(Array.isArray(o)&&o.length>0){const c=o.filter(l=>l!==r.asyncValidator);c.length!==o.length&&(e=!0,s.setAsyncValidators(c))}}}const t=()=>{};return Hp(r._rawValidators,t),Hp(r._rawAsyncValidators,t),e}function sA(s,r){s._pendingDirty&&s.markAsDirty(),s.setValue(s._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(s._pendingValue),s._pendingChange=!1}function lA(s,r){j_(s,r)}function C(s,r){s._syncPendingControls(),r.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function w(s,r){const e=s.indexOf(r);e>-1&&s.splice(e,1)}const P="VALID",R="INVALID",L="PENDING",W="DISABLED";function he(s){return(me(s)?s.validators:s)||null}function Ee(s){return Array.isArray(s)?Bl(s):s||null}function He(s,r){return(me(r)?r.asyncValidators:s)||null}function je(s){return Array.isArray(s)?Ol(s):s||null}function me(s){return null!=s&&!Array.isArray(s)&&"object"==typeof s}const $e=s=>s instanceof Jd,pt=s=>s instanceof zl;function zi(s){return $e(s)?s.value:s.getRawValue()}function aa(s,r){const e=pt(s),t=s.controls;if(!(e?Object.keys(t):t).length)throw new f.vHH(1e3,"");if(!t[r])throw new f.vHH(1001,"")}function Qd(s,r){pt(s),s._forEachChild((t,o)=>{if(void 0===r[o])throw new f.vHH(1002,"")})}class Nl{constructor(r,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=r,this._rawAsyncValidators=e,this._composedValidatorFn=Ee(this._rawValidators),this._composedAsyncValidatorFn=je(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get valid(){return this.status===P}get invalid(){return this.status===R}get pending(){return this.status==L}get disabled(){return this.status===W}get enabled(){return this.status!==W}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._rawValidators=r,this._composedValidatorFn=Ee(r)}setAsyncValidators(r){this._rawAsyncValidators=r,this._composedAsyncValidatorFn=je(r)}addValidators(r){this.setValidators(Zw(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(Zw(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(Ep(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(Ep(r,this._rawAsyncValidators))}hasValidator(r){return Tp(this._rawValidators,r)}hasAsyncValidator(r){return Tp(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){this.touched=!0,this._parent&&!r.onlySelf&&this._parent.markAsTouched(r)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(r=>r.markAllAsTouched())}markAsUntouched(r={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}markAsDirty(r={}){this.pristine=!1,this._parent&&!r.onlySelf&&this._parent.markAsDirty(r)}markAsPristine(r={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}markAsPending(r={}){this.status=L,!1!==r.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!r.onlySelf&&this._parent.markAsPending(r)}disable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=W,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},r),{onlySelf:!0}))}),this._updateValue(),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},r),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(r={}){const e=this._parentMarkedDirty(r.onlySelf);this.status=P,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},r),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},r),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(r){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(r){this._parent=r}updateValueAndValidity(r={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P||this.status===L)&&this._runAsyncValidator(r.emitEvent)),!1!==r.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(r)}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?W:P}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r){if(this.asyncValidator){this.status=L,this._hasOwnPendingAsyncValidator=!0;const e=P_(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:r})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(!1!==e.emitEvent)}get(r){return function te(s,r,e){if(null==r||(Array.isArray(r)||(r=r.split(e)),Array.isArray(r)&&0===r.length))return null;let t=s;return r.forEach(o=>{t=pt(t)?t.controls.hasOwnProperty(o)?t.controls[o]:null:(s=>s instanceof Rp)(t)&&t.at(o)||null}),t}(this,r,".")}getError(r,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[r]:null}hasError(r,e){return!!this.getError(r,e)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(r)}_initObservables(){this.valueChanges=new f.vpe,this.statusChanges=new f.vpe}_calculateStatus(){return this._allControlsDisabled()?W:this.errors?R:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(L)?L:this._anyControlsHaveStatus(R)?R:P}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r={}){this.pristine=!this._anyControlsDirty(),this._parent&&!r.onlySelf&&this._parent._updatePristine(r)}_updateTouched(r={}){this.touched=this._anyControlsTouched(),this._parent&&!r.onlySelf&&this._parent._updateTouched(r)}_isBoxedValue(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){me(r)&&null!=r.updateOn&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){return!r&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jd extends Nl{constructor(r=null,e,t){super(he(e),He(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),me(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(r)?r.value:r)}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(r,e={}){this.setValue(r,e)}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){w(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){w(this._onDisabledChange,r)}_forEachChild(r){}_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(r){this._isBoxedValue(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}}class zl extends Nl{constructor(r,e,t){super(he(e),He(t,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(r,e){return this.controls[r]?this.controls[r]:(this.controls[r]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(r,e,t={}){this.registerControl(r,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(r,e,t={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],e&&this.registerControl(r,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,e={}){Qd(this,r),Object.keys(r).forEach(t=>{aa(this,t),this.controls[t].setValue(r[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(Object.keys(r).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(r[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r={},e={}){this._forEachChild((t,o)=>{t.reset(r[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(r,e,t)=>(r[t]=zi(e),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&r(t,e)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&r(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(r,e,t)=>((e.enabled||this.disabled)&&(r[t]=e.value),r))}_reduceChildren(r,e){let t=r;return this._forEachChild((o,c)=>{t=e(t,o,c)}),t}_allControlsDisabled(){for(const r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Rp extends Nl{constructor(r,e,t){super(he(e),He(t,e)),this.controls=r,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(r){return this.controls[r]}push(r,e={}){this.controls.push(r),this._registerControl(r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(r,e,t={}){this.controls.splice(r,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(r,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(r,e,t={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(r,e={}){Qd(this,r),r.forEach((t,o)=>{aa(this,o),this.at(o).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(r,e={}){null!=r&&(r.forEach((t,o)=>{this.at(o)&&this.at(o).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(r=[],e={}){this._forEachChild((t,o)=>{t.reset(r[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(r=>zi(r))}clear(r={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:r.emitEvent}))}_syncPendingControls(){let r=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){this.controls.forEach((e,t)=>{r(e,t)})}_updateValue(){this.value=this.controls.filter(r=>r.enabled||this.disabled).map(r=>r.value)}_anyControls(r){return this.controls.some(e=>e.enabled&&r(e))}_setUpControls(){this._forEachChild(r=>this._registerControl(r))}_allControlsDisabled(){for(const r of this.controls)if(r.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(r){r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)}}const Ip={provide:ki,useExisting:(0,f.Gpc)(()=>$a)},Wa=(()=>Promise.resolve(null))();let $a=(()=>{class s extends ki{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new f.vpe,this.form=new zl({},Bl(e),Ol(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Wa.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),jl(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Wa.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Wa.then(()=>{const t=this._findContainer(e.path),o=new zl({});lA(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Wa.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Wa.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,C(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(ai,10),f.Y36(Ga,10))},s.\u0275dir=f.lG2({type:s,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&f.NdJ("submit",function(c){return t.onSubmit(c)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([Ip]),f.qOj]}),s})();const _M={provide:lr,useExisting:(0,f.Gpc)(()=>cA)},iE=(()=>Promise.resolve(null))();let cA=(()=>{class s extends lr{constructor(e,t,o,c,l){super(),this._changeDetectorRef=l,this.control=new Jd,this._registered=!1,this.update=new f.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=function v(s,r){if(!r)return null;let e,t,o;return Array.isArray(r),r.forEach(c=>{c.constructor===kl?e=c:function _(s){return Object.getPrototypeOf(s.constructor)===Ua}(c)?t=c:o=c}),o||t||e||null}(0,c)}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),function m(s,r){if(!s.hasOwnProperty("model"))return!1;const e=s.model;return!!e.isFirstChange()||!Object.is(r,e.currentValue)}(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(){jl(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){iE.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;iE.then(()=>{var c;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(c=this._changeDetectorRef)||void 0===c||c.markForCheck()})}_getPath(e){return this._parent?function $d(s,r){return[...r.path,s]}(e,this._parent):[e]}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(ki,9),f.Y36(ai,10),f.Y36(Ga,10),f.Y36(Ii,10),f.Y36(f.sBO,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[f._Bn([_M]),f.qOj,f.TTD]}),s})(),rE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();const dA=new f.OlP("NgModelWithFormControlWarning"),xM={provide:ki,useExisting:(0,f.Gpc)(()=>kp)};let kp=(()=>{class s extends ki{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 f.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&&(Pp(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 jl(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Yd(e.control||null,e,!1),w(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,C(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&&(Yd(t||null,e),$e(o)&&(jl(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);lA(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function eE(s,r){return Pp(s,r)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){j_(this.form,this),this._oldForm&&Pp(this._oldForm,this)}_checkFormPresent(){}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(ai,10),f.Y36(Ga,10))},s.\u0275dir=f.lG2({type:s,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&f.NdJ("submit",function(c){return t.onSubmit(c)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[f._Bn([xM]),f.qOj,f.TTD]}),s})(),Ul=(()=>{class s{constructor(){this._validator=Ud}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):Ud,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=f.lG2({type:s,features:[f.TTD]}),s})();const OM={provide:ai,useExisting:(0,f.Gpc)(()=>N_),multi:!0};let N_=(()=>{class s extends Ul{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function kM(s){return null!=s&&!1!==s&&"false"!=`${s}`}(e),this.createValidator=e=>H_}enabled(e){return e}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&f.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[f._Bn([OM]),f.qOj]}),s})(),yE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[rE]]}),s})(),gA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[yE]}),s})(),Vp=(()=>{class s{static withConfig(e){return{ngModule:s,providers:[{provide:dA,useValue:e.warnOnNgModelWithFormControl}]}}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[yE]}),s})();const vE=pn({passive:!0});let UM=(()=>{class s{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Di.E;const t=Wt(e),o=this._monitoredElements.get(t);if(o)return o.subject;const c=new Fe.x,l="cdk-text-field-autofilled",n=i=>{"cdk-text-field-autofill-start"!==i.animationName||t.classList.contains(l)?"cdk-text-field-autofill-end"===i.animationName&&t.classList.contains(l)&&(t.classList.remove(l),this._ngZone.run(()=>c.next({target:i.target,isAutofilled:!1}))):(t.classList.add(l),this._ngZone.run(()=>c.next({target:i.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",n,vE),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:c,unlisten:()=>{t.removeEventListener("animationstart",n,vE)}}),c}stopMonitoring(e){const t=Wt(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 s.\u0275fac=function(e){return new(e||s)(f.LFG(fi),f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),wE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})();const AE=new f.OlP("MAT_INPUT_VALUE_ACCESSOR"),GM=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let qM=0;const WM=em(class{constructor(s,r,e,t){this._defaultErrorStateMatcher=s,this._parentForm=r,this._parentFormGroup=e,this.ngControl=t}});let $M=(()=>{class s extends WM{constructor(e,t,o,c,l,n,i,a,d,u){super(n,c,l,o),this._elementRef=e,this._platform=t,this._autofillMonitor=a,this._formField=u,this._uid="mat-input-"+qM++,this.focused=!1,this.stateChanges=new Fe.x,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(H=>hC().has(H)),this._iOSKeyupListener=H=>{const U=H.target;!U.value&&0===U.selectionStart&&0===U.selectionEnd&&(U.setSelectionRange(1,1),U.setSelectionRange(0,0))};const g=this._elementRef.nativeElement,b=g.nodeName.toLowerCase();this._inputValueAccessor=i||g,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=g.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=rt(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,c;return null!==(c=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(zd.required))&&void 0!==c&&c}set required(e){this._required=rt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&hC().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=rt(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 c=this._elementRef.nativeElement;this._previousPlaceholder=o,o?c.setAttribute("placeholder",o):c.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){GM.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 s.\u0275fac=function(e){return new(e||s)(f.Y36(f.SBq),f.Y36(fi),f.Y36(lr,10),f.Y36($a,8),f.Y36(kp,8),f.Y36(Er),f.Y36(AE,10),f.Y36(UM),f.Y36(f.R0b),f.Y36(md,8))},s.\u0275dir=f.lG2({type:s,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&&f.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(f.Ikx("disabled",t.disabled)("required",t.required),f.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),f.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:[f._Bn([{provide:Jh,useExisting:s}]),f.qOj,f.TTD]}),s})(),U_=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Er],imports:[[wE,ta,Ye],wE,ta]}),s})();function YM(s,r){1&s&&(f.TgZ(0,"mat-error"),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let QM=(()=>{class s{constructor(e,t,o,c,l){this.dialogRef=e,this.translate=t,this.notificator=o,this.rtMessages=c,this.storeService=l,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(rs),f.Y36(na),f.Y36(Il),f.Y36(Ci),f.Y36(_i))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"h1",0),f._uU(1),f.ALo(2,"translate"),f.qZA(),f.TgZ(3,"div",1),f.TgZ(4,"mat-form-field"),f.TgZ(5,"mat-label"),f._uU(6),f.ALo(7,"translate"),f.qZA(),f.TgZ(8,"input",2,3),f.NdJ("ngModelChange",function(c){return t.subject=c}),f.qZA(),f.YNc(10,YM,3,3,"mat-error",4),f.qZA(),f.TgZ(11,"mat-form-field"),f.TgZ(12,"mat-label"),f._uU(13),f.ALo(14,"translate"),f.qZA(),f.TgZ(15,"textarea",5),f.NdJ("ngModelChange",function(c){return t.message=c}),f.ALo(16,"translate"),f._uU(17," "),f.qZA(),f.TgZ(18,"mat-hint"),f._uU(19),f.ALo(20,"translate"),f.qZA(),f.qZA(),f.qZA(),f.TgZ(21,"div",6),f.TgZ(22,"div",7),f.TgZ(23,"button",8),f.NdJ("click",function(){return t.close()}),f._uU(24),f.ALo(25,"translate"),f.qZA(),f.TgZ(26,"button",9),f.NdJ("click",function(){return t.sendBugReport()}),f._uU(27),f.ALo(28,"translate"),f.qZA(),f.qZA(),f.qZA()),2&e){const o=f.MAs(9);f.xp6(1),f.Oqu(f.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),f.xp6(5),f.Oqu(f.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),f.xp6(2),f.Q6J("ngModel",t.subject),f.xp6(2),f.Q6J("ngIf",o.invalid),f.xp6(3),f.Oqu(f.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),f.xp6(2),f.s9C("placeholder",f.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),f.Q6J("ngModel",t.message),f.xp6(4),f.Oqu(f.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),f.xp6(5),f.hij(" ",f.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),f.xp6(2),f.Q6J("disabled",o.invalid),f.xp6(1),f.hij(" ",f.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[pp,fp,Ov,Fa,$M,kl,N_,Sp,cA,E.O5,Bx,Um,Fd,ul],pipes:[vn],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),s})(),JM=(()=>{class s{transform(e,t,o){return e[`${o}_${t}`]}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"localisedText",type:s,pure:!0}),s})(),KM=(()=>{class s{transform(e,t){return e["link_"+t]||e.link_en}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"localisedLink",type:s,pure:!0}),s})(),ZM=(()=>{class s{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"footerLogoPath",type:s,pure:!0}),s})();function XM(s,r){if(1&s&&(f.TgZ(0,"a",13),f.ALo(1,"localisedLink"),f._UZ(2,"img",14),f.ALo(3,"footerLogoPath"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("href",f.xi3(1,2,e,t.language),f.LSH),f.xp6(2),f.s9C("src",f.lcZ(3,5,e.logo),f.LSH)}}function eD(s,r){if(1&s&&(f.TgZ(0,"span"),f._UZ(1,"img",14),f.ALo(2,"footerLogoPath"),f.qZA()),2&s){const e=f.oxw().$implicit;f.xp6(1),f.s9C("src",f.lcZ(2,1,e.logo),f.LSH)}}function tD(s,r){if(1&s&&(f.TgZ(0,"div"),f.YNc(1,XM,4,7,"a",11),f.ALo(2,"localisedLink"),f.YNc(3,eD,3,3,"span",12),f.ALo(4,"localisedLink"),f.qZA()),2&s){const e=r.$implicit,t=f.oxw(3);f.xp6(1),f.Q6J("ngIf",f.xi3(2,2,e,t.language)),f.xp6(2),f.Q6J("ngIf",!f.xi3(4,5,e,t.language))}}const iD=function(s){return{"min-height":s}};function nD(s,r){if(1&s&&(f.TgZ(0,"div",10),f.YNc(1,tD,5,8,"div",5),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw();f.Q6J("ngStyle",f.VKq(2,iD,t.columnContentHeight+"px")),f.xp6(1),f.Q6J("ngForOf",e.elements)}}const ss=function(s){return{color:s}};function rD(s,r){if(1&s&&(f.TgZ(0,"i",20),f._uU(1),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(2,ss,t.linksTextColor)),f.xp6(1),f.hij(" ",e.icon," ")}}function aD(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"span",21),f.NdJ("click",function(){f.CHM(e);const o=f.oxw().$implicit;return f.oxw(3).openDialog(o.dialog)}),f._uU(1),f.ALo(2,"localisedText"),f.qZA()}if(2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(6,ss,t.linksTextColor)),f.xp6(1),f.hij("",f.Dn7(2,2,e,t.language,"label")," ")}}function oD(s,r){if(1&s&&(f.TgZ(0,"a",22),f.ALo(1,"localisedLink"),f._uU(2),f.ALo(3,"localisedText"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("href",f.xi3(1,3,e,t.language),f.LSH)("ngStyle",f.VKq(10,ss,t.linksTextColor)),f.xp6(2),f.Oqu(f.Dn7(3,6,e,t.language,"label"))}}function sD(s,r){if(1&s&&(f.TgZ(0,"span",10),f._uU(1),f.ALo(2,"localisedText"),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw(3);f.Q6J("ngStyle",f.VKq(6,ss,t.linksTextColor)),f.xp6(1),f.Oqu(f.Dn7(2,2,e,t.language,"label"))}}function lD(s,r){if(1&s&&(f.TgZ(0,"div",16),f.YNc(1,rD,2,4,"i",17),f.YNc(2,aD,3,8,"span",18),f.YNc(3,oD,4,12,"a",19),f.ALo(4,"localisedLink"),f.YNc(5,sD,3,8,"span",9),f.ALo(6,"localisedLink"),f.qZA()),2&s){const e=r.$implicit,t=f.oxw(3);f.xp6(1),f.Q6J("ngIf",e.icon),f.xp6(1),f.Q6J("ngIf",e.dialog),f.xp6(1),f.Q6J("ngIf",f.xi3(4,4,e,t.language)&&!e.dialog),f.xp6(2),f.Q6J("ngIf",!f.xi3(6,7,e,t.language)&&!e.dialog)}}const cD=function(s){return{height:s}};function dD(s,r){if(1&s&&(f.TgZ(0,"div",10),f.YNc(1,lD,7,10,"div",15),f.qZA()),2&s){const e=f.oxw().$implicit,t=f.oxw();f.Q6J("ngStyle",f.VKq(2,cD,t.columnContentHeight+"px")),f.xp6(1),f.Q6J("ngForOf",e.elements)}}function uD(s,r){if(1&s&&(f.TgZ(0,"div",7),f.TgZ(1,"h6",8),f._uU(2),f.ALo(3,"localisedText"),f.qZA(),f.YNc(4,nD,2,4,"div",9),f.YNc(5,dD,2,4,"div",9),f.qZA()),2&s){const e=r.$implicit,t=f.oxw();f.ekj("my-auto",t.containsLogos),f.xp6(1),f.Q6J("ngStyle",f.VKq(10,ss,t.headersTextColor)),f.xp6(1),f.hij(" ",f.Dn7(3,6,e,t.language,"title")," "),f.xp6(2),f.Q6J("ngIf",e.logos),f.xp6(1),f.Q6J("ngIf",e.elements&&!e.logos)}}function hD(s,r){if(1&s&&(f.TgZ(0,"span"),f.TgZ(1,"a",6),f._uU(2),f.qZA(),f.qZA()),2&s){const e=r.$implicit,t=r.index,o=f.oxw();f.xp6(1),f.Q6J("href",e.url,f.LSH)("ngStyle",f.VKq(3,ss,o.copyrightTextColor)),f.xp6(1),f.Oqu(t?", "+e.name:e.name)}}const pD=function(s){return{background:s}};let xE=(()=>{class s{constructor(e,t,o){this.storeService=e,this.translateService=t,this.dialog=o,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Nd();"reportIssue"===e&&(t.width="550px",this.dialog.open(QM,t))}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(na),f.Y36(ra))},s.\u0275cmp=f.Xpm({type:s,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&&(f.TgZ(0,"footer",0),f.TgZ(1,"div",1),f.YNc(2,uD,6,12,"div",2),f.qZA(),f._UZ(3,"hr",3),f.TgZ(4,"div",4),f._uU(5),f.YNc(6,hD,3,5,"span",5),f._uU(7," Version "),f.TgZ(8,"a",6),f._uU(9),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.Q6J("ngStyle",f.VKq(8,pD,t.bgColor)),f.xp6(2),f.Q6J("ngForOf",t.footerColumns),f.xp6(2),f.Q6J("ngStyle",f.VKq(10,ss,t.copyrightTextColor)),f.xp6(1),f.hij(" \xa9 ",t.currentYear," Copyright: "),f.xp6(1),f.Q6J("ngForOf",t.copyrightItems),f.xp6(2),f.Q6J("href",t.githubRepository,f.LSH)("ngStyle",f.VKq(12,ss,t.copyrightTextColor)),f.xp6(1),f.Oqu(t.version))},directives:[E.PC,E.sg,E.O5],pipes:[JM,KM,ZM],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}"]}),s})();function fD(s,r){if(1&s&&(f.TgZ(0,"div",8),f._UZ(1,"div",9),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("innerHTML",e.logo,f.oJD)}}function gD(s,r){if(1&s&&(f.TgZ(0,"div",10),f._UZ(1,"div",11),f._UZ(2,"mat-icon",12),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("innerHTML",e.logo,f.oJD)}}const mD=function(s){return{color:s}};function _D(s,r){if(1&s&&(f.TgZ(0,"p",13),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.Q6J("ngStyle",f.VKq(2,mD,e.textColor)),f.xp6(1),f.hij(" ",e.headerTitle," ")}}const bD=function(s,r){return{background:s,color:r}},CD=function(s,r){return{"min-height":s,"background-color":r}};let yD=(()=>{class s{constructor(e,t,o,c){this.storeService=e,this.sanitizer=t,this.preferredLangService=o,this.translateService=c,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 s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Sn),f.Y36(zw),f.Y36(na))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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&&(f.TgZ(0,"div",0),f.YNc(1,fD,2,1,"div",1),f.YNc(2,gD,3,1,"div",2),f.YNc(3,_D,2,4,"p",3),f.qZA(),f.TgZ(4,"div",4),f.TgZ(5,"div",5),f.TgZ(6,"div",6),f._UZ(7,"router-outlet"),f.qZA(),f.TgZ(8,"div",7),f._UZ(9,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.Q6J("ngStyle",f.WLB(5,bD,t.headerBackgroundColor,t.headerTextColor)),f.xp6(1),f.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),f.xp6(1),f.Q6J("ngIf","publications"===t.application),f.xp6(1),f.Q6J("ngIf",!!t.headerTitle),f.xp6(2),f.Q6J("ngStyle",f.WLB(8,CD,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[E.PC,E.O5,Hr,Is,xE],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),s})();const vD=function(s){return{"background-color":s}};function wD(s,r){if(1&s&&(f.TgZ(0,"div"),f._UZ(1,"perun-web-apps-header",1),f.TgZ(2,"div",2),f.TgZ(3,"div",3),f._UZ(4,"router-outlet"),f.qZA(),f.TgZ(5,"div",4),f._UZ(6,"perun-web-apps-footer"),f.qZA(),f.qZA(),f.qZA()),2&s){const e=f.oxw();f.xp6(2),f.Q6J("ngStyle",f.VKq(1,vD,e.contentBackgroundColor))}}function AD(s,r){1&s&&(f.TgZ(0,"div"),f._UZ(1,"perun-web-apps-login-screen-base",5),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Q6J("application","consolidator")("headerTitle",f.lcZ(2,2,"HEADER.TITLE")))}let xD=(()=>{class s{constructor(e,t){this.store=e,this.initAuth=t,this.contentBackgroundColor=this.store.getProperty("theme").content_bg_color,this.isLoginScreenShow=this.initAuth.isLoginScreenShown()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-root"]],decls:2,vars:2,consts:[[4,"ngIf"],["id","nav-menu"],["id","content-inner",3,"ngStyle"],["id","content-wrap"],["id","footer"],[3,"application","headerTitle"]],template:function(e,t){1&e&&(f.YNc(0,wD,7,3,"div",0),f.YNc(1,AD,3,4,"div",0)),2&e&&(f.Q6J("ngIf",!t.isLoginScreenShow),f.xp6(1),f.Q6J("ngIf",t.isLoginScreenShow))},directives:[E.O5,T_,E.PC,Is,xE,yD],pipes:[vn],styles:["#content-inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;padding-top:64px;justify-content:space-between}#content-wrap[_ngcontent-%COMP%]{padding:25px}#footer[_ngcontent-%COMP%]{bottom:0;width:100%}#nav-menu[_ngcontent-%COMP%]{top:0;background:#102027;position:fixed;width:100%;z-index:999;height:64px;max-height:64px}"]}),s})(),SE=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),G_=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye,zr,SE],Ye,SE]}),s})();function q_(s){return s&&"function"==typeof s.connect}class ME{applyChanges(r,e,t,o,c){r.forEachOperation((l,n,i)=>{let a,d;if(null==l.previousIndex){const u=t(l,n,i);a=e.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else null==i?(e.remove(n),d=3):(a=e.get(n),e.move(a,i),d=2);c&&c({context:null==a?void 0:a.context,operation:d,record:l})})}detach(){}}const Bp=new f.OlP("_ViewRepeater"),LD=[[["caption"]],[["colgroup"],["col"]]],FD=["caption","colgroup, col"];function _A(s){return class extends s{constructor(...r){super(...r),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(r){const e=this._sticky;this._sticky=rt(r),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const r=this._hasStickyChanged;return this._hasStickyChanged=!1,r}resetStickyChanged(){this._hasStickyChanged=!1}}}const Zd=new f.OlP("CDK_TABLE");let Xd=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkCellDef",""]]}),s})(),eu=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkHeaderCellDef",""]]}),s})(),W_=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkFooterCellDef",""]]}),s})();class UD{}const GD=_A(UD);let Ya=(()=>{class s extends GD{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=rt(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 s.\u0275fac=function(e){return new(e||s)(f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,o){if(1&e&&(f.Suo(o,Xd,5),f.Suo(o,eu,5),f.Suo(o,W_,5)),2&e){let c;f.iGM(c=f.CRH())&&(t.cell=c.first),f.iGM(c=f.CRH())&&(t.headerCell=c.first),f.iGM(c=f.CRH())&&(t.footerCell=c.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[f._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:s}]),f.qOj]}),s})();class bA{constructor(r,e){e.nativeElement.classList.add(...r._columnCssClassName)}}let CA=(()=>{class s extends bA{constructor(e,t){super(e,t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ya),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[f.qOj]}),s})(),yA=(()=>{class s extends bA{constructor(e,t){var o;if(super(e,t),1===(null===(o=e._table)||void 0===o?void 0:o._elementRef.nativeElement.nodeType)){const c=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===c||"treegrid"===c?"gridcell":"cell")}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ya),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[f.qOj]}),s})();class PE{constructor(){this.tasks=[],this.endTasks=[]}}const vA=new f.OlP("_COALESCED_STYLE_SCHEDULER");let RE=(()=>{class s{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Fe.x}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 PE,this._getScheduleObservable().pipe(Gt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new PE;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Li.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,hi.q)(1))}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})(),wA=(()=>{class s{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 Op?e.headerCell.template:this instanceof Lp?e.footerCell.template:e.cell.template}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4))},s.\u0275dir=f.lG2({type:s,features:[f.TTD]}),s})();class qD extends wA{}const WD=_A(qD);let Op=(()=>{class s extends WD{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[f.qOj,f.TTD]}),s})();class $D extends wA{}const YD=_A($D);let Lp=(()=>{class s extends YD{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[f.qOj,f.TTD]}),s})(),$_=(()=>{class s extends wA{constructor(e,t,o){super(e,t),this._table=o}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc),f.Y36(f.ZZ4),f.Y36(Zd,8))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[f.qOj]}),s})(),Qa=(()=>{class s{constructor(e){this._viewContainer=e,s.mostRecentCellOutlet=this}ngOnDestroy(){s.mostRecentCellOutlet===this&&(s.mostRecentCellOutlet=null)}}return s.mostRecentCellOutlet=null,s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b))},s.\u0275dir=f.lG2({type:s,selectors:[["","cdkCellOutlet",""]]}),s})(),TA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&f.GkF(0,0)},directives:[Qa],encapsulation:2}),s})(),Y_=(()=>{class s{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.Rgc))},s.\u0275dir=f.lG2({type:s,selectors:[["ng-template","cdkNoDataRow",""]]}),s})();const IE=["top","bottom","left","right"];class QD{constructor(r,e,t,o,c=!0,l=!0,n){this._isNativeHtmlTable=r,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=c,this._needsPositionStickyOnElement=l,this._positionListener=n,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(r,e){const t=[];for(const o of r)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let c=0;c{for(const o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(r,e,t,o=!0){if(!r.length||!this._isBrowser||!e.some(g=>g)&&!t.some(g=>g))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const c=r[0],l=c.children.length,n=this._getCellWidths(c,o),i=this._getStickyStartColumnPositions(n,e),a=this._getStickyEndColumnPositions(n,t),d=e.lastIndexOf(!0),u=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const g="rtl"===this.direction,b=g?"right":"left",H=g?"left":"right";for(const U of r)for(let oe=0;oee[oe]?U:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:n.slice(u).map((U,oe)=>t[oe+u]?U:null).reverse()}))})}stickRows(r,e,t){if(!this._isBrowser)return;const o="bottom"===t?r.slice().reverse():r,c="bottom"===t?e.slice().reverse():e,l=[],n=[],i=[];for(let d=0,u=0;d{var d,u;for(let g=0;g{e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(r,e){for(const o of e)r.style[o]="",r.classList.remove(this._borderCellCss[o]);IE.some(o=>-1===e.indexOf(o)&&r.style[o])?r.style.zIndex=this._getCalculatedZIndex(r):(r.style.zIndex="",this._needsPositionStickyOnElement&&(r.style.position=""),r.classList.remove(this._stickCellCss))}_addStickyStyle(r,e,t,o){r.classList.add(this._stickCellCss),o&&r.classList.add(this._borderCellCss[e]),r.style[e]=`${t}px`,r.style.zIndex=this._getCalculatedZIndex(r),this._needsPositionStickyOnElement&&(r.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(r){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const o of IE)r.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(r,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],o=r.children;for(let c=0;c0;c--)e[c]&&(t[c]=o,o+=r[c]);return t}}const EA=new f.OlP("CDK_SPL");let Q_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","rowOutlet",""]]}),s})(),J_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","headerRowOutlet",""]]}),s})(),K_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","footerRowOutlet",""]]}),s})(),Z_=(()=>{class s{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.s_b),f.Y36(f.SBq))},s.\u0275dir=f.lG2({type:s,selectors:[["","noDataRowOutlet",""]]}),s})(),X_=(()=>{class s{constructor(e,t,o,c,l,n,i,a,d,u,g,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=o,this._dir=l,this._platform=i,this._viewRepeater=a,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=g,this._ngZone=b,this._onDestroy=new Fe.x,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 f.vpe,this.viewChange=new di({start:0,end:Number.MAX_VALUE}),c||this._elementRef.nativeElement.setAttribute("role","table"),this._document=n,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=rt(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=rt(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(Gt(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(),q_(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,(o,c,l)=>this._getEmbeddedViewArgs(o.item,l),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{t.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&f.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,hi.q)(1),Gt(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),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const c=this._headerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,c,"top"),this._headerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const c=this._footerRowDefs.map(l=>l.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,c,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,c),this._footerRowDefs.forEach(l=>l.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((c,l)=>{this._addStickyColumnStyles([c],this._headerRowDefs[l])}),this._rowDefs.forEach(c=>{const l=[];for(let n=0;n{this._addStickyColumnStyles([c],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(c=>c.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const n=o&&o.has(l)?o.get(l):[];if(n.length){const i=n.shift();return i.dataIndex=t,i}return{data:e,rowDef:l,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),eb(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=eb(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=eb(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=eb(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(l,n)=>l||!!n.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const c=this._footerRowDefs.reduce(e,!1);return c&&this._forceRenderFooterRows(),t||o||c}_switchDataSource(e){this._data=[],q_(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;q_(this.dataSource)?e=this.dataSource.connect(this):sr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Ue.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(Gt(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 o=Array.from(t.columns||[]).map(n=>this._columnDefsByName.get(n)),c=o.map(n=>n.sticky),l=o.map(n=>n.stickyEnd);this._stickyStyler.updateStickyColumns(e,c,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let o=0;o!c.when||c.when(t,e));else{let c=this._rowDefs.find(l=>l.when&&l.when(t,e))||this._defaultRowDef;c&&o.push(c)}return o}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,o,c={}){const l=e.viewContainer.createEmbeddedView(t.template,c,o);return this._renderCellTemplateForItem(t,c),l}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))Qa.mostRecentCellOutlet&&Qa.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{const o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)}):[]}_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 o of t){const c=this._document.createElement(o.tag);c.setAttribute("role","rowgroup");for(const l of o.outlets)c.appendChild(l.elementRef.nativeElement);e.appendChild(c)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,o)=>t||o.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 QD(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,Ue.of)()).pipe(Gt(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 o=this._noDataRowOutlet.viewContainer;if(t){const c=o.createEmbeddedView(e.templateRef),l=c.rootNodes[0];1===c.rootNodes.length&&(null==l?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(f.ZZ4),f.Y36(f.sBO),f.Y36(f.SBq),f.$8M("role"),f.Y36(xa,8),f.Y36(E.K0),f.Y36(fi),f.Y36(Bp),f.Y36(vA),f.Y36(es),f.Y36(EA,12),f.Y36(f.R0b,8))},s.\u0275cmp=f.Xpm({type:s,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,o){if(1&e&&(f.Suo(o,Y_,5),f.Suo(o,Ya,5),f.Suo(o,$_,5),f.Suo(o,Op,5),f.Suo(o,Lp,5)),2&e){let c;f.iGM(c=f.CRH())&&(t._noDataRow=c.first),f.iGM(c=f.CRH())&&(t._contentColumnDefs=c),f.iGM(c=f.CRH())&&(t._contentRowDefs=c),f.iGM(c=f.CRH())&&(t._contentHeaderRowDefs=c),f.iGM(c=f.CRH())&&(t._contentFooterRowDefs=c)}},viewQuery:function(e,t){if(1&e&&(f.Gf(Q_,7),f.Gf(J_,7),f.Gf(K_,7),f.Gf(Z_,7)),2&e){let o;f.iGM(o=f.CRH())&&(t._rowOutlet=o.first),f.iGM(o=f.CRH())&&(t._headerRowOutlet=o.first),f.iGM(o=f.CRH())&&(t._footerRowOutlet=o.first),f.iGM(o=f.CRH())&&(t._noDataRowOutlet=o.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[f._Bn([{provide:Zd,useExisting:s},{provide:Bp,useClass:ME},{provide:vA,useClass:RE},{provide:EA,useValue:null}])],ngContentSelectors:FD,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(f.F$t(LD),f.Hsn(0),f.Hsn(1,1),f.GkF(2,0),f.GkF(3,1),f.GkF(4,2),f.GkF(5,3))},directives:[J_,Q_,Z_,K_],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),s})();function eb(s,r){return s.concat(Array.from(r))}let KD=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[ts]]}),s})();const ZD=[[["caption"]],[["colgroup"],["col"]]],XD=["caption","colgroup, col"];let VE=(()=>{class s extends X_{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&f.ekj("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[f._Bn([{provide:Bp,useClass:ME},{provide:X_,useExisting:s},{provide:Zd,useExisting:s},{provide:vA,useClass:RE},{provide:EA,useValue:null}]),f.qOj],ngContentSelectors:XD,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(f.F$t(ZD),f.Hsn(0),f.Hsn(1,1),f.GkF(2,0),f.GkF(3,1),f.GkF(4,2),f.GkF(5,3))},directives:[J_,Q_,Z_,K_],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),s})(),SA=(()=>{class s extends Xd{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matCellDef",""]],features:[f._Bn([{provide:Xd,useExisting:s}]),f.qOj]}),s})(),MA=(()=>{class s extends eu{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matHeaderCellDef",""]],features:[f._Bn([{provide:eu,useExisting:s}]),f.qOj]}),s})(),DA=(()=>{class s extends Ya{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[f._Bn([{provide:Ya,useExisting:s},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:s}]),f.qOj]}),s})(),HA=(()=>{class s extends CA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[f.qOj]}),s})(),PA=(()=>{class s extends yA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[f.qOj]}),s})(),BE=(()=>{class s extends $_{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275dir=f.lG2({type:s,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[f._Bn([{provide:$_,useExisting:s}]),f.qOj]}),s})(),OE=(()=>{class s extends TA{}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[f._Bn([{provide:TA,useExisting:s}]),f.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&f.GkF(0,0)},directives:[Qa],encapsulation:2}),s})(),tb=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[KD,Ye],Ye]}),s})();class RA extends class hH extends class BD{}{constructor(r=[]){super(),this._renderData=new di([]),this._filter=new di(""),this._internalPageChanges=new Fe.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const o=e[t];if(Yu(o)){const c=Number(o);return c<9007199254740991?c:o}return o},this.sortData=(e,t)=>{const o=t.active,c=t.direction;return o&&""!=c?e.sort((l,n)=>{let i=this.sortingDataAccessor(l,o),a=this.sortingDataAccessor(n,o);const d=typeof i,u=typeof a;d!==u&&("number"===d&&(i+=""),"number"===u&&(a+=""));let g=0;return null!=i&&null!=a?i>a?g=1:i{const o=Object.keys(e).reduce((l,n)=>l+e[n]+"\u25ec","").toLowerCase(),c=t.trim().toLowerCase();return-1!=o.indexOf(c)},this._data=new di(r),this._updateChangeSubscription()}get data(){return this._data.value}set data(r){r=Array.isArray(r)?r:[],this._data.next(r),this._renderChangesSubscription||this._filterData(r)}get filter(){return this._filter.value}set filter(r){this._filter.next(r),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(r){this._sort=r,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(r){this._paginator=r,this._updateChangeSubscription()}_updateChangeSubscription(){var r;const e=this._sort?(0,rr.T)(this._sort.sortChange,this._sort.initialized):(0,Ue.of)(null),t=this._paginator?(0,rr.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Ue.of)(null),c=(0,_s.a)([this._data,this._filter]).pipe((0,ft.U)(([i])=>this._filterData(i))),l=(0,_s.a)([c,e]).pipe((0,ft.U)(([i])=>this._orderData(i))),n=(0,_s.a)([l,t]).pipe((0,ft.U)(([i])=>this._pageData(i)));null===(r=this._renderChangesSubscription)||void 0===r||r.unsubscribe(),this._renderChangesSubscription=n.subscribe(i=>this._renderData.next(i))}_filterData(r){return this.filteredData=null==this.filter||""===this.filter?r:r.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(r){return this.sort?this.sortData(r.slice(),this.sort):r}_pageData(r){if(!this.paginator)return r;const e=this.paginator.pageIndex*this.paginator.pageSize;return r.slice(e,e+this.paginator.pageSize)}_updatePaginator(r){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=r,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,t);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var r;null===(r=this._renderChangesSubscription)||void 0===r||r.unsubscribe(),this._renderChangesSubscription=null}}{}let IA=(()=>{class s{constructor(){this.changes=new Fe.x}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const fH={provide:IA,deps:[[new f.FiY,new f.tp0,IA]],useFactory:function pH(s){return s||new IA}};let kA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[fH],imports:[[E.ez,Ye]]}),s})();function gH(s,r){if(1&s&&(f.O4$(),f._UZ(0,"circle",4)),2&s){const e=f.oxw(),t=f.MAs(1);f.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)),f.uIk("r",e._getCircleRadius())}}function mH(s,r){if(1&s&&(f.O4$(),f._UZ(0,"circle",4)),2&s){const e=f.oxw(),t=f.MAs(1);f.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),f.uIk("r",e._getCircleRadius())}}const bH=Va(class{constructor(s){this._elementRef=s}},"primary"),CH=new f.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function yH(){return{diameter:100}}});class oa extends bH{constructor(r,e,t,o,c,l,n,i){super(r),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=ui.w0.EMPTY,this.mode="determinate";const a=oa._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),a.has(t.head)||a.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!c&&!c._forceAnimations,"mat-spinner"===r.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),c&&(c.diameter&&(this.diameter=c.diameter),c.strokeWidth&&(this.strokeWidth=c.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&l&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>l.markForCheck())}))}get diameter(){return this._diameter}set diameter(r){this._diameter=Ar(r),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(r){this._strokeWidth=Ar(r)}get value(){return"determinate"===this.mode?this._value:0}set value(r){this._value=Math.max(0,Math.min(100,Ar(r)))}ngOnInit(){const r=this._elementRef.nativeElement;this._styleRoot=xc(r)||this._document.head,this._attachStyleNode(),r.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const r=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${r} ${r}`}_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(r){var e;const t=50*(null!==(e=r.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const r=this._styleRoot,e=this._diameter,t=oa._diameters;let o=t.get(r);if(!o||!o.has(e)){const c=this._document.createElement("style");c.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),c.textContent=this._getAnimationText(),r.appendChild(c),o||(o=new Set,t.set(r,o)),o.add(e)}}_getAnimationText(){const r=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*r).replace(/END_VALUE/g,""+.2*r).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}oa._diameters=new WeakMap,oa.\u0275fac=function(r){return new(r||oa)(f.Y36(f.SBq),f.Y36(fi),f.Y36(E.K0,8),f.Y36(rn,8),f.Y36(CH),f.Y36(f.sBO),f.Y36(es),f.Y36(f.R0b))},oa.\u0275cmp=f.Xpm({type:oa,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(r,e){2&r&&(f.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),f.Udp("width",e.diameter,"px")("height",e.diameter,"px"),f.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[f.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(r,e){1&r&&(f.O4$(),f.TgZ(0,"svg",0,1),f.YNc(2,gH,1,11,"circle",2),f.YNc(3,mH,1,9,"circle",3),f.qZA()),2&r&&(f.Udp("width",e.diameter,"px")("height",e.diameter,"px"),f.Q6J("ngSwitch","indeterminate"===e.mode),f.uIk("viewBox",e._getViewBox()),f.xp6(2),f.Q6J("ngSwitchCase",!0),f.xp6(1),f.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 ib=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye,E.ez],Ye]}),s})(),BA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[or,E.ez]]}),s})();const NE=new f.OlP("mat-chips-default-options");let LA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[Er,{provide:NE,useValue:{separatorKeyCodes:[13]}}],imports:[[Ye]]}),s})();function FA(s,r,e){for(let t in r)if(r.hasOwnProperty(t)){const o=r[t];o?s.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):s.removeProperty(t)}return s}function tu(s,r){const e=r?"":"none";FA(s.style,{"touch-action":r?"":"none","-webkit-user-drag":r?"":"none","-webkit-tap-highlight-color":r?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function zE(s,r,e){FA(s.style,{position:r?"":"fixed",top:r?"":"0",opacity:r?"":"0",left:r?"":"-999em"},e)}function nb(s,r){return r&&"none"!=r?s+" "+r:s}function UE(s){const r=s.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(s)*r}function jA(s,r){return s.getPropertyValue(r).split(",").map(t=>t.trim())}function NA(s){const r=s.getBoundingClientRect();return{top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height,x:r.x,y:r.y}}function zA(s,r,e){const{top:t,bottom:o,left:c,right:l}=s;return e>=t&&e<=o&&r>=c&&r<=l}function Fp(s,r,e){s.top+=r,s.bottom=s.top+s.height,s.left+=e,s.right=s.left+s.width}function GE(s,r,e,t){const{top:o,right:c,bottom:l,left:n,width:i,height:a}=s,d=i*r,u=a*r;return t>o-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:NA(e)})})}handleScroll(r){const e=fn(r),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let c,l;if(e===this._document){const a=this.getViewportScrollPosition();c=a.top,l=a.left}else c=e.scrollTop,l=e.scrollLeft;const n=o.top-c,i=o.left-l;return this.positions.forEach((a,d)=>{a.clientRect&&e!==d&&e.contains(d)&&Fp(a.clientRect,n,i)}),o.top=c,o.left=l,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function WE(s){const r=s.cloneNode(!0),e=r.querySelectorAll("[id]"),t=s.nodeName.toLowerCase();r.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),H=this._dropContainer;if(!b)return void this._endDragSequence(n);(!H||!H.isDragging()&&!H.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const a=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(a),this._dropContainer)this._updateActiveDropContainer(a,i);else{const d=this._activeTransform;d.x=a.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=a.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:a,event:n,distance:this._getDragDistance(a),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(r).withParent(e.parentDragRef||null),this._parentPositions=new qE(t),l.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(r){const e=rt(r);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>tu(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(r){this._handles=r.map(t=>Wt(t)),this._handles.forEach(t=>tu(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(r){return this._previewTemplate=r,this}withPlaceholderTemplate(r){return this._placeholderTemplate=r,this}withRootElement(r){const e=Wt(r);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,rb),e.addEventListener("touchstart",this._pointerDown,JE),e.addEventListener("dragstart",this._nativeDragStart,rb)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(r){return this._boundaryElement=r?Wt(r):null,this._resizeSubscription.unsubscribe(),r&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(r){return this._parentDragRef=r,this}dispose(){var r,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(r=this._rootElement)||void 0===r||r.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(r){!this._disabledHandles.has(r)&&this._handles.indexOf(r)>-1&&(this._disabledHandles.add(r),tu(r,!0))}enableHandle(r){this._disabledHandles.has(r)&&(this._disabledHandles.delete(r),tu(r,this.disabled))}withDirection(r){return this._direction=r,this}_withDropContainer(r){this._dropContainer=r}getFreeDragPosition(){const r=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:r.x,y:r.y}}setFreeDragPosition(r){return this._activeTransform={x:0,y:0},this._passiveTransform.x=r.x,this._passiveTransform.y=r.y,this._dropContainer||this._applyRootElementTransform(r.x,r.y),this}withPreviewContainer(r){return this._previewContainer=r,this}_sortFromLastPointerPosition(){const r=this._lastKnownPointerPosition;r&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(r),r)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var r,e;null===(r=this._preview)||void 0===r||r.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var r,e;null===(r=this._placeholder)||void 0===r||r.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(r){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(r),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(r);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(r){jp(r)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,c=this._placeholder=this._createPlaceholderElement(),l=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();o.insertBefore(l,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),zE(t,!1,UA),this._document.body.appendChild(o.replaceChild(c,t)),this._getPreviewInsertionPoint(o,n).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(r,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=jp(e),c=!o&&0!==e.button,l=this._rootElement,n=fn(e),i=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),a=o?og(e):ag(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||c||i||a)return;if(this._handles.length){const g=l.style;this._rootElementTapHighlight=g.webkitTapHighlightColor||"",g.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(g=>this._updateOnScroll(g)),this._boundaryElement&&(this._boundaryRect=NA(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(r,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(r){zE(this._rootElement,!0,UA),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(r),c=this._getDragDistance(o),l=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:c,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:l,distance:c,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,l,c,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:r,y:e},{x:t,y:o}){let c=this._initialContainer._getSiblingContainerFromPosition(this,r,e);!c&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(r,e)&&(c=this._initialContainer),c&&c!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=c,this._dropContainer.enter(this,r,e,c===this._initialContainer&&c.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:c,currentIndex:c.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,r,e,this._pointerDirectionDelta),this._applyPreviewTransform(r-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const r=this._previewTemplate,e=this.previewClass,t=r?r.template:null;let o;if(t&&r){const c=r.matchSize?this._rootElement.getBoundingClientRect():null,l=r.viewContainer.createEmbeddedView(t,r.context);l.detectChanges(),o=ZE(l,this._document),this._previewRef=l,r.matchSize?XE(o,c):o.style.transform=ab(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const c=this._rootElement;o=WE(c),XE(o,c.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return FA(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},UA),tu(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(c=>o.classList.add(c)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const r=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(r.left,r.top);const e=function VH(s){const r=getComputedStyle(s),e=jA(r,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const o=e.indexOf(t),c=jA(r,"transition-duration"),l=jA(r,"transition-delay");return UE(c[o])+UE(l[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=l=>{var n;(!l||fn(l)===this._preview&&"transform"===l.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",o),t(),clearTimeout(c))},c=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const r=this._placeholderTemplate,e=r?r.template:null;let t;return e?(this._placeholderRef=r.viewContainer.createEmbeddedView(e,r.context),this._placeholderRef.detectChanges(),t=ZE(this._placeholderRef,this._document)):t=WE(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(r,e){const t=this._rootElement.getBoundingClientRect(),o=r===this._rootElement?null:r,c=o?o.getBoundingClientRect():t,l=jp(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:c.left-t.left+(l.pageX-c.left-n.left),y:c.top-t.top+(l.pageY-c.top-n.top)}}_getPointerPositionOnPage(r){const e=this._getViewportScrollPosition(),t=jp(r)?r.touches[0]||r.changedTouches[0]||{pageX:0,pageY:0}:r,o=t.pageX-e.left,c=t.pageY-e.top;if(this._ownerSVGElement){const l=this._ownerSVGElement.getScreenCTM();if(l){const n=this._ownerSVGElement.createSVGPoint();return n.x=o,n.y=c,n.matrixTransform(l.inverse())}}return{x:o,y:c}}_getConstrainedPointerPosition(r){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(r,this):r;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:c,y:l}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:a}=this._getPreviewRect(),d=n.top+l,u=n.bottom-(a-l);t=KE(t,n.left+c,n.right-(i-c)),o=KE(o,d,u)}return{x:t,y:o}}_updatePointerDirectionDelta(r){const{x:e,y:t}=r,o=this._pointerDirectionDelta,c=this._pointerPositionAtLastDirectionChange,l=Math.abs(e-c.x),n=Math.abs(t-c.y);return l>this._config.pointerDirectionChangeThreshold&&(o.x=e>c.x?1:-1,c.x=e),n>this._config.pointerDirectionChangeThreshold&&(o.y=t>c.y?1:-1,c.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const r=this._handles.length>0||!this.isDragging();r!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=r,tu(this._rootElement,r))}_removeRootElementListeners(r){r.removeEventListener("mousedown",this._pointerDown,rb),r.removeEventListener("touchstart",this._pointerDown,JE),r.removeEventListener("dragstart",this._nativeDragStart,rb)}_applyRootElementTransform(r,e){const t=ab(r,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=nb(t,this._initialTransform)}_applyPreviewTransform(r,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,c=ab(r,e);this._preview.style.transform=nb(c,o)}_getDragDistance(r){const e=this._pickupPositionOnPage;return e?{x:r.x-e.x,y:r.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:r,y:e}=this._passiveTransform;if(0===r&&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 c=t.left-o.left,l=o.right-t.right,n=t.top-o.top,i=o.bottom-t.bottom;t.width>o.width?(c>0&&(r+=c),l>0&&(r-=l)):r=0,t.height>o.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(r!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:r})}_getDragStartDelay(r){const e=this.dragStartDelay;return"number"==typeof e?e:jp(r)?e.touch:e?e.mouse:0}_updateOnScroll(r){const e=this._parentPositions.handleScroll(r);if(e){const t=fn(r);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&Fp(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(){var r;return(null===(r=this._parentPositions.positions.get(this._document))||void 0===r?void 0:r.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=xc(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(r,e){const t=this._previewContainer||"global";if("parent"===t)return r;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return Wt(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(r){return this._handles.find(e=>r.target&&(r.target===e||e.contains(r.target)))}}function ab(s,r){return`translate3d(${Math.round(s)}px, ${Math.round(r)}px, 0)`}function KE(s,r,e){return Math.max(r,Math.min(e,s))}function jp(s){return"t"===s.type[0]}function ZE(s,r){const e=s.rootNodes;if(1===e.length&&e[0].nodeType===r.ELEMENT_NODE)return e[0];const t=r.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function XE(s,r){s.style.width=`${r.width}px`,s.style.height=`${r.height}px`,s.style.transform=ab(r.left,r.top)}function Np(s,r){return Math.max(0,Math.min(r,s))}class jH{constructor(r,e,t,o,c){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=c,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Fe.x,this.entered=new Fe.x,this.exited=new Fe.x,this.dropped=new Fe.x,this.sorted=new Fe.x,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=ui.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Fe.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function kH(s=0,r=Xo.z){return s<0&&(s=0),(0,Nh.H)(s,s,r)}(0,dd).pipe(Gt(this._stopScrollTimers)).subscribe(()=>{const l=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?l.scrollBy(0,-n):2===this._verticalScrollDirection&&l.scrollBy(0,n),1===this._horizontalScrollDirection?l.scrollBy(-n,0):2===this._horizontalScrollDirection&&l.scrollBy(n,0)})},this.element=Wt(r),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new qE(t)}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(r,e,t,o){let c;this._draggingStarted(),null==o?(c=this.sortingDisabled?this._draggables.indexOf(r):-1,-1===c&&(c=this._getItemIndexFromPointerPosition(r,e,t))):c=o;const l=this._activeDraggables,n=l.indexOf(r),i=r.getPlaceholderElement();let a=l[c];if(a===r&&(a=l[c+1]),!a&&(null==c||-1===c||c-1&&l.splice(n,1),a&&!this._dragDropRegistry.isDragging(a)){const d=a.getRootElement();d.parentElement.insertBefore(i,d),l.splice(c,0,r)}else Wt(this.element).appendChild(i),l.push(r);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:r,container:this,currentIndex:this.getItemIndex(r)})}exit(r){this._reset(),this.exited.next({item:r,container:this})}drop(r,e,t,o,c,l,n){this._reset(),this.dropped.next({item:r,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:c,distance:l,dropPoint:n})}withItems(r){const e=this._draggables;return this._draggables=r,r.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===r.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(r){return this._direction=r,this}connectedTo(r){return this._siblings=r.slice(),this}withOrientation(r){return this._orientation=r,this}withScrollableParents(r){const e=Wt(this.element);return this._scrollableElements=-1===r.indexOf(e)?[e,...r]:r.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(r){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===r):this._draggables.indexOf(r)}isReceiving(){return this._activeSiblings.size>0}_sortItem(r,e,t,o){if(this.sortingDisabled||!this._clientRect||!GE(this._clientRect,.05,e,t))return;const c=this._itemPositions,l=this._getItemIndexFromPointerPosition(r,e,t,o);if(-1===l&&c.length>0)return;const n="horizontal"===this._orientation,i=c.findIndex(oe=>oe.drag===r),a=c[l],u=a.clientRect,g=i>l?1:-1,b=this._getItemOffsetPx(c[i].clientRect,u,g),H=this._getSiblingOffsetPx(i,c,g),U=c.slice();(function FH(s,r,e){const t=Np(r,s.length-1),o=Np(e,s.length-1);if(t===o)return;const c=s[t],l=o{if(U[Be]===oe)return;const lt=oe.drag===r,et=lt?b:H,wt=lt?r.getPlaceholderElement():oe.drag.getRootElement();oe.offset+=et,n?(wt.style.transform=nb(`translate3d(${Math.round(oe.offset)}px, 0, 0)`,oe.initialTransform),Fp(oe.clientRect,0,et)):(wt.style.transform=nb(`translate3d(0, ${Math.round(oe.offset)}px, 0)`,oe.initialTransform),Fp(oe.clientRect,et,0))}),this._previousSwap.overlaps=zA(u,e,t),this._previousSwap.drag=a.drag,this._previousSwap.delta=n?o.x:o.y}_startScrollingIfNecessary(r,e){if(this.autoScrollDisabled)return;let t,o=0,c=0;if(this._parentPositions.positions.forEach((l,n)=>{n===this._document||!l.clientRect||t||GE(l.clientRect,.05,r,e)&&([o,c]=function NH(s,r,e,t){const o=iS(r,t),c=nS(r,e);let l=0,n=0;if(o){const i=s.scrollTop;1===o?i>0&&(l=1):s.scrollHeight-i>s.clientHeight&&(l=2)}if(c){const i=s.scrollLeft;1===c?i>0&&(n=1):s.scrollWidth-i>s.clientWidth&&(n=2)}return[l,n]}(n,l.clientRect,r,e),(o||c)&&(t=n))}),!o&&!c){const{width:l,height:n}=this._viewportRuler.getViewportSize(),i={width:l,height:n,top:0,right:l,bottom:n,left:0};o=iS(i,e),c=nS(i,r),t=window}t&&(o!==this._verticalScrollDirection||c!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=c,this._scrollNode=t,(o||c)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const r=Wt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=r.msScrollSnapType||r.scrollSnapType||"",r.scrollSnapType=r.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const r=Wt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(r).clientRect}_cacheItemPositions(){const r="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:NA(t)}}).sort((e,t)=>r?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const r=Wt(this.element).style;r.scrollSnapType=r.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const c=null===(t=this._itemPositions.find(l=>l.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=c||""}}),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(r,e,t){const o="horizontal"===this._orientation,c=e[r].clientRect,l=e[r+-1*t];let n=c[o?"width":"height"]*t;if(l){const i=o?"left":"top",a=o?"right":"bottom";-1===t?n-=l.clientRect[i]-c[a]:n+=c[i]-l.clientRect[a]}return n}_getItemOffsetPx(r,e,t){const o="horizontal"===this._orientation;let c=o?e.left-r.left:e.top-r.top;return-1===t&&(c+=o?e.width-r.width:e.height-r.height),c}_shouldEnterAsFirstChild(r,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const l=t[t.length-1].clientRect;return o?r>=l.right:e>=l.bottom}{const l=t[0].clientRect;return o?r<=l.left:e<=l.top}}_getItemIndexFromPointerPosition(r,e,t,o){const c="horizontal"===this._orientation,l=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===r)return!1;if(o){const a=c?o.x:o.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&a===this._previousSwap.delta)return!1}return c?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&to._canReceive(r,e,t))}_canReceive(r,e,t){if(!this._clientRect||!zA(this._clientRect,e,t)||!this.enterPredicate(r,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const c=Wt(this.element);return o===c||c.contains(o)}_startReceiving(r,e){const t=this._activeSiblings;!t.has(r)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(r),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(r){this._activeSiblings.delete(r),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(r=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(r);e&&(this._itemPositions.forEach(({clientRect:t})=>{Fp(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 r=xc(Wt(this.element));this._cachedShadowRoot=r||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const r=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,r))}}function iS(s,r){const{top:e,bottom:t,height:o}=s,c=.05*o;return r>=e-c&&r<=e+c?1:r>=t-c&&r<=t+c?2:0}function nS(s,r){const{left:e,right:t,width:o}=s,c=.05*o;return r>=e-c&&r<=e+c?1:r>=t-c&&r<=t+c?2:0}const ob=pn({passive:!1,capture:!0});let zH=(()=>{class s{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 Fe.x,this.pointerUp=new Fe.x,this.scroll=new Fe.x,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,ob)})}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,ob)}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:c=>this.pointerUp.next(c),options:!0}).set("scroll",{handler:c=>this.scroll.next(c),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ob}),o||this._globalListeners.set("mousemove",{handler:c=>this.pointerMove.next(c),options:ob}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((c,l)=>{this._document.addEventListener(l,c.handler,c.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 vi.y(o=>this._ngZone.runOutsideAngular(()=>{const l=n=>{this._activeDragInstances.length&&o.next(n)};return e.addEventListener("scroll",l,!0),()=>{e.removeEventListener("scroll",l,!0)}}))),(0,rr.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 s.\u0275fac=function(e){return new(e||s)(f.LFG(f.R0b),f.LFG(E.K0))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const UH={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let GH=(()=>{class s{constructor(e,t,o,c){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=c}createDrag(e,t=UH){return new LH(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new jH(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(E.K0),f.LFG(f.R0b),f.LFG(es),f.LFG(zH))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),qH=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[GH],imports:[Sr]}),s})(),rS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez]]}),s})(),WH=(()=>{class s{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"userFullName",type:s,pure:!0}),s})(),$H=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),ZH=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),oP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[ZH,Ye],Ye]}),s})(),mP=(()=>{class s{constructor(){this.changes=new Fe.x,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 s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const CP={provide:new f.OlP("mat-datepicker-scroll-strategy"),deps:[Mr],useFactory:function bP(s){return()=>s.scrollStrategies.reposition()}};let YA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[mP,CP],imports:[[E.ez,On,ml,Wr,Oa,Ye],Sr]}),s})(),BP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[an,Ye],Ye]}),s})();new f.OlP("mat-selectsearch-default-options");let NP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Vp,On,G_,or,ib,Dr]]}),s})(),uS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),zP=(()=>{class s{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=rt(e)}get inset(){return this._inset}set inset(e){this._inset=rt(e)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(f.uIk("aria-orientation",t.vertical?"vertical":"horizontal"),f.ekj("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},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}),s})(),QA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),UP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),pS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,UP,Oa]]}),s})(),gS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[nd,Ye],nd,Ye]}),s})(),WP=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ta]]}),s})(),JA=(()=>{class s{constructor(){this.changes=new Fe.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const nR={provide:JA,deps:[[new f.FiY,new f.tp0,JA]],useFactory:function iR(s){return s||new JA}};let _S=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[nR,Er],imports:[[Ye,E.ez,Oa,On,WP,or,an],Ye]}),s})(),bS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,Sr],Sr,Ye]}),s})(),yS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[nd,an,Ye,dl,E.ez],nd,Ye,dl,QA]}),s})(),vS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[Ye],Ye]}),s})(),wR=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,Ye,Oa,an,zr,Wr],Ye]}),s})(),wS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({}),s})(),AS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[wS,an,Ye,zr],wS,Ye]}),s})(),KA=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,uS,QA,pS,On,gS,G_,or,tb,mp,ib,ta,U_,ts,gA,Vp,_S,YA,im,bS,yS,wl,vS,kA,yd,Dr,ns,an,tb,AS,LA],uS,QA,pS,On,gS,G_,or,tb,mp,ib,ta,U_,ts,gA,Vp,_S,YA,im,bS,yS,wl,vS,kA,yd,Dr,ns,an,wR,AS,LA]}),s})(),BR=(()=>{class s extends id{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return s.\u0275fac=function(){let r;return function(t){return(r||(r=f.n5z(s)))(t||s)}}(),s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac}),s})();const OR={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 xS=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[{provide:yn,useClass:BR},{provide:ed,useValue:OR}],imports:[[E.ez,G_,tb,gA,LA,qH,ei,vc,kA,yd,ib,BA,or,wl,On,Dr,ta,Vp,U_,an,rS,$H,oP,YA,BP,ld,ns,NP,ts,mp,Na,KA]]}),s})(),OI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,On,or,vc,xS,ei,ta,Vp,U_,BA]]}),s})(),LI=(()=>{class s{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Pl),f.Y36(pi))},s.\u0275cmp=f.Xpm({type:s,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&&(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 t.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&e&&(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:[ul,Hr],pipes:[vn],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),s})();const FI=new f.OlP("perun-api-service");class jI{constructor(r,e="/assets/i18n/",t=".json"){this.http=r,this.prefix=e,this.suffix=t}getTranslation(r){return this.http.get(`${this.prefix}${r}${this.suffix}`)}}let NI=(()=>{class s{constructor(e,t,o,c,l){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=c,this.utilsService=l}initializeColors(e,t){return new Promise(o=>{t.forEach(c=>{const l=this.storeService.get("theme",c.configValue);document.documentElement.style.setProperty(c.cssVariable,l)}),e.forEach(c=>{const l=this.storeService.get("theme",c.configValue);document.documentElement.style.setProperty(c.cssVariable,l),this.setEntityTheme(c.entity,l)}),o()})}setEntityTheme(e,t){const o=function zI(s){return[xn(tinycolor(s).lighten(52),"50"),xn(tinycolor(s).lighten(37),"100"),xn(tinycolor(s).lighten(26),"200"),xn(tinycolor(s).lighten(12),"300"),xn(tinycolor(s).lighten(6),"400"),xn(tinycolor(s),"500"),xn(tinycolor(s).darken(6),"600"),xn(tinycolor(s).darken(12),"700"),xn(tinycolor(s).darken(18),"800"),xn(tinycolor(s).darken(24),"900"),xn(tinycolor(s).lighten(50).saturate(30),"A100"),xn(tinycolor(s).lighten(30).saturate(30),"A200"),xn(tinycolor(s).lighten(10).saturate(15),"A400"),xn(tinycolor(s).lighten(5).saturate(5),"A700")]}(t);for(const c of o){const i=`--${e}-theme-primary-contrast-${c.name}`,a=c.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${c.name}`,`${c.red},${c.green},${c.blue}`),document.documentElement.style.setProperty(i,a)}}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=>{var o;this.storeService.setInstanceConfig(t);const c=document.location.hostname;(null===(o=null==t?void 0:t.brandings)||void 0===o?void 0:o[c])&&this.storeService.setBanding(c),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(y.eN),f.LFG(_i),f.LFG(Gi),f.LFG(Vi),f.LFG(nt))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function xn(s,r){const e=tinycolor(s),t=e.toRgb();return{name:r,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let UI=(()=>{class s{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.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.simpleLoadPrincipal().then(()=>this.appConfigService.loadAppsConfig()):this.initAuthService.handleAuthStart())}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(Rl),f.LFG(NI),f.LFG(E.Ye))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function GI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," info "),f.qZA())}function qI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," warning "),f.qZA())}function WI(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," dangerous "),f.qZA())}function $I(s,r){1&s&&(f.TgZ(0,"mat-icon",2),f._uU(1," check_circle "),f.qZA())}const YI=["*"];let QI=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:YI,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&&(f.F$t(),f.TgZ(0,"div",0),f.YNc(1,GI,2,0,"mat-icon",1),f.YNc(2,qI,2,0,"mat-icon",1),f.YNc(3,WI,2,0,"mat-icon",1),f.YNc(4,$I,2,0,"mat-icon",1),f.Hsn(5),f.qZA()),2&e&&(f.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),f.xp6(1),f.Q6J("ngIf","info"===t.alert_type),f.xp6(1),f.Q6J("ngIf","warn"===t.alert_type),f.xp6(1),f.Q6J("ngIf","error"===t.alert_type),f.xp6(1),f.Q6J("ngIf","success"===t.alert_type))},directives:[E.O5,Hr],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}"]}),s})(),JI=(()=>{class s{}return s.MEMBER_DEF_EXPIRATION="urn:perun:member:attribute-def:def:membershipExpiration",s.MEMBER_DEF_GROUP_EXPIRATION="urn:perun:member_group:attribute-def:def:groupMembershipExpiration",s.MEMBER_GROUP_STATUS="urn:perun:member_group:attribute-def:virt:groupStatus",s.MEMBER_DEF_ORGANIZATION="urn:perun:member:attribute-def:def:organization",s.MEMBER_DEF_MAIL="urn:perun:member:attribute-def:def:mail",s.MEMBER_CORE_ID="urn:perun:member:attribute-def:core:id",s.MEMBER_LIFECYCLE_ALTERABLE="urn:perun:member:attribute-def:virt:isLifecycleAlterable",s.VO_DEF_EXPIRATION_RULES="urn:perun:vo:attribute-def:def:membershipExpirationRules",s.VO_DEF_MAIL_FOOTER="urn:perun:vo:attribute-def:def:mailFooter",s.VO_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:vo:attribute-def:def:blockManualMemberAdding",s.USER_DEF_ORGANIZATION="urn:perun:user:attribute-def:def:organization",s.USER_DEF_PREFERRED_MAIL="urn:perun:user:attribute-def:def:preferredMail",s.GROUP_DEF_EXPIRATION_RULES="urn:perun:group:attribute-def:def:groupMembershipExpirationRules",s.GROUP_DEF_MAIL_FOOTER="urn:perun:group:attribute-def:def:mailFooter",s.GROUP_SYNC_ENABLED="urn:perun:group:attribute-def:def:synchronizationEnabled",s.GROUP_LAST_SYNC_STATE="urn:perun:group:attribute-def:def:lastSynchronizationState",s.GROUP_LAST_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastSynchronizationTimestamp",s.GROUP_STRUCTURE_SYNC_ENABLED="urn:perun:group:attribute-def:def:groupStructureSynchronizationEnabled",s.GROUP_LAST_STRUCTURE_SYNC_STATE="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationState",s.GROUP_LAST_STRUCTURE_SYNC_TIMESTAMP="urn:perun:group:attribute-def:def:lastGroupStructureSynchronizationTimestamp",s.GROUP_BLOCK_MANUAL_MEMBER_ADDING="urn:perun:group:attribute-def:def:blockManualMemberAdding",s.UES_DEF_MAIL="urn:perun:ues:attribute-def:def:mail",s.UES_DEF_ORGANIZATION="urn:perun:ues:attribute-def:def:o",s.UES_SOURCE_IDP_NAME="urn:perun:ues:attribute-def:def:sourceIdPName",s})();function KI(s,r){1&s&&f._UZ(0,"mat-spinner",3)}function ZI(s,r){1&s&&(f.TgZ(0,"span",18),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.SIGN_NOT_KNOW")))}function XI(s,r){1&s&&(f.TgZ(0,"span",18),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.SIGN_KNOW")))}function ek(s,r){if(1&s&&f._UZ(0,"img",19),2&s){const e=f.oxw(2);f.s9C("src",e.logo,f.LSH),f.Q6J("height",e.height)("width",e.width)}}function tk(s,r){1&s&&f._UZ(0,"mat-icon",20)}function ik(s,r){1&s&&f._UZ(0,"mat-icon",21)}function nk(s,r){1&s&&f._UZ(0,"th",22)}function rk(s,r){if(1&s&&(f.TgZ(0,"td",23),f._uU(1),f.qZA()),2&s){const e=r.$implicit;f.xp6(1),f.hij(" ",e.name,": ")}}function ak(s,r){1&s&&f._UZ(0,"th",22)}function ok(s,r){if(1&s&&(f.TgZ(0,"td",24),f._uU(1),f.qZA()),2&s){const e=r.$implicit;f.xp6(1),f.hij(" ",e.value," ")}}function sk(s,r){1&s&&f._UZ(0,"tr",25)}const lk=function(){return["name","value"]};function ck(s,r){if(1&s&&(f.TgZ(0,"div"),f.YNc(1,ZI,3,3,"span",4),f.YNc(2,XI,3,3,"span",4),f.TgZ(3,"div",5),f.TgZ(4,"div",6),f.YNc(5,ek,1,3,"img",7),f.YNc(6,tk,1,0,"mat-icon",8),f.YNc(7,ik,1,0,"mat-icon",9),f.qZA(),f.TgZ(8,"div"),f.TgZ(9,"h2",10),f._uU(10),f.qZA(),f._UZ(11,"mat-divider"),f.TgZ(12,"table",11),f.ynx(13,12),f.YNc(14,nk,1,0,"th",13),f.YNc(15,rk,2,1,"td",14),f.BQk(),f.ynx(16,15),f.YNc(17,ak,1,0,"th",13),f.YNc(18,ok,2,1,"td",16),f.BQk(),f.YNc(19,sk,1,0,"tr",17),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.Q6J("ngIf",e.unknownIdentity),f.xp6(1),f.Q6J("ngIf",!e.unknownIdentity),f.xp6(3),f.Q6J("ngIf",e.logo),f.xp6(1),f.Q6J("ngIf",!e.logo&&!e.unknownIdentity),f.xp6(1),f.Q6J("ngIf",!e.logo&&e.unknownIdentity),f.xp6(3),f.Oqu(e.idpProvider),f.xp6(2),f.Q6J("dataSource",e.dataSource),f.xp6(7),f.Q6J("matRowDefColumns",f.DdM(8,lk))}}let dk=(()=>{class s{constructor(e,t,o,c){this.oauthService=e,this.userService=t,this.storeService=o,this.initService=c,this.idpProvider="",this.dataSource=new RA,this.info=[],this.loading=!1}ngOnInit(){this.loading=!0,this.oauthService.loadUserProfile().then(e=>{this.setIdpInfo(e),this.initService.simpleLoadPrincipal().then(()=>{if(this.unknownIdentity=-1===this.storeService.getPerunPrincipal().userId,this.unknownIdentity)this.dataSource=new RA(this.info),this.loading=!1;else{let t="";this.userService.getRichUserExtSources(this.storeService.getPerunPrincipal().userId).subscribe(o=>{o.forEach(c=>{if(0!==c.attributes.length){const l=function BT(s,r){for(const e of s)if(e.namespace+":"+e.friendlyName===r)return e;return null}(c.attributes,JI.UES_SOURCE_IDP_NAME);(null==l?void 0:l.value)&&(t+=l.value+", ")}}),t=t.slice(0,-2),this.info.push({name:"Linked accounts",value:t}),this.dataSource=new RA(this.info),this.loading=!1})}})})}setIdpInfo(e){const t=this.getUserName(e);null!=t&&""!==t&&this.info.push({name:"Name",value:t});const o=this.getUserLogin(e);null!=o&&""!==o&&this.info.push({name:"Login",value:o}),e.info.email&&this.info.push({name:"Email",value:e.info.email}),this.idpProvider=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_provider_userinfo")),this.logo=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_userinfo")),this.width=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_width_userinfo")),this.height=this.getNestedItem(e,this.storeService.getProperty("path_to_idp_logo_height_userinfo"))}getNestedItem(e,t){let o=e.info;for(const c of t)o=o[c],Array.isArray(o)&&(o=o[0]);return String(o)}getUserName(e){const t=e.info.name;if(t&&""!==t)return t;const o=e.info.given_name,c=e.info.family_name;return o&&c?o+" "+c:""}getUserLogin(e){const t=e.info.preferred_username;if(t&&""!==t)return t;const o=e.info.nickname;return o&&""!==o?o:""}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(za.Ct),f.Y36(pr),f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-list-of-identities"]],decls:3,vars:2,consts:[[1,"card","p-4","mat-elevation-z3"],["class","mr-auto ml-auto",4,"ngIf"],[4,"ngIf"],[1,"mr-auto","ml-auto"],["class","mt-n3",4,"ngIf"],[1,"identity-flexbox"],[1,"d-flex","align-items-center","justify-content-center"],["class","logo text-center",3,"height","width","src",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-identity",4,"ngIf"],["svgIcon","perun-info-grey","class","perun-icon perun-icon-identity",4,"ngIf"],[1,"px-3"],["mat-table","",1,"w-100",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","font-weight-bold px-3","mat-cell","",4,"matCellDef"],["matColumnDef","value"],["class","pr-3","mat-cell","",4,"matCellDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mt-n3"],[1,"logo","text-center",3,"height","width","src"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-identity"],["svgIcon","perun-info-grey",1,"perun-icon","perun-icon-identity"],["mat-header-cell",""],["mat-cell","",1,"font-weight-bold","px-3"],["mat-cell","",1,"pr-3"],["mat-row",""]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.YNc(1,KI,1,0,"mat-spinner",1),f.YNc(2,ck,20,9,"div",2),f.qZA()),2&e&&(f.xp6(1),f.Q6J("ngIf",t.loading),f.xp6(1),f.Q6J("ngIf",!t.loading))},directives:[E.O5,oa,Hr,zP,VE,DA,MA,HA,SA,PA,BE,OE],pipes:[vn],styles:[".logo[_ngcontent-%COMP%]{display:block;margin-top:auto;margin-bottom:auto}.perun-icon-identity[_ngcontent-%COMP%]{transform:scale(3.5);margin-left:.9rem;margin-top:1rem;color:#000}.identity-flexbox[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;width:100%;gap:.5rem 1rem;margin-top:.5rem}"]}),s})(),uk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({providers:[WH],imports:[[E.ez,KA,ei,rS]]}),s})(),hk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-focus-on-linker-dialog"]],decls:9,vars:6,consts:[[1,"text-center","custom-dialog"],[1,"align-text-bottom"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div"),f.TgZ(2,"mat-icon",1),f._uU(3," info "),f.qZA(),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.TgZ(6,"div"),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.qZA()),2&e&&(f.xp6(4),f.hij(" ",f.lcZ(5,2,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL")," "),f.xp6(3),f.hij(" ",f.lcZ(8,4,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL_WARNING")," "))},directives:[Hr],pipes:[vn],styles:[".custom-dialog[_ngcontent-%COMP%]{background-color:#000;color:#fffffff2;font-size:1.2rem}"]}),s})(),pk=(()=>{class s{constructor(e,t,o,c){this.otherApplicationsService=e,this.storeService=t,this.oauthService=o,this.dialog=c}openLinkerWindow(e,t){let o=this.otherApplicationsService.getUrlForOtherApplication("linker");this.storeService.getProperty("use_localhost_linker_url")&&(o="http://localhost:4201/");let c=o+"?formerToken="+this.oauthService.getAccessToken();t&&0!==t.length&&(c+="&idphint="+t.toString());const i=window.top,u=window.open(c,"_blank",`width=600,height=600,top=${i.outerHeight/2+i.screenY-300}, left=${i.outerWidth/2+i.screenX-300}`);let g;if(u){const H=Nd();H.width="450px",H.panelClass="noBorderDialog",g=this.dialog.open(hk,H)}window.addEventListener("message",H=>{sessionStorage.setItem("linkedResult",H.data)});const b=setInterval(()=>{if(u.closed){clearInterval(b),g.close();const H=sessionStorage.getItem("linkedResult");sessionStorage.removeItem("linkedResult"),e(H)}},1e3)}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(A_),f.LFG(_i),f.LFG(za.Ct),f.LFG(ra))},s.\u0275prov=f.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),fk=(()=>{class s{transform(e){let t="";return e.forEach(o=>{const c=o.attributes;if(c){const l=c.sourceIdPName;l&&""!==l&&(t=t+l+", ")}}),t.slice(0,-2)}}return s.\u0275fac=function(e){return new(e||s)},s.\u0275pipe=f.Yjl({name:"similarIdentityFriendlyNamesString",type:s,pure:!0}),s})();function gk(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div",5),f.TgZ(1,"div",6),f._UZ(2,"mat-icon",7),f.TgZ(3,"div",8),f.TgZ(4,"div"),f._uU(5),f.qZA(),f.TgZ(6,"div",9),f._uU(7),f.ALo(8,"translate"),f.ALo(9,"similarIdentityFriendlyNamesString"),f.qZA(),f.qZA(),f.qZA(),f.TgZ(10,"button",10),f.NdJ("click",function(){const c=f.CHM(e).$implicit;return f.oxw(2).openPopUp(c.identities)}),f._uU(11),f.ALo(12,"translate"),f.qZA(),f.qZA()}if(2&s){const e=r.$implicit;f.xp6(5),f.Oqu(e.email),f.xp6(2),f.AsE(" ",f.lcZ(8,4,"CONNECT_IDENTITY_SECTION.LINKED_ACCOUNTS"),": ",f.lcZ(9,6,e.identities)," "),f.xp6(4),f.hij(" ",f.lcZ(12,8,"CONNECT_IDENTITY_SECTION.CONNECT_THIS_ACCOUNT")," ")}}function mk(s,r){if(1&s){const e=f.EpF();f.TgZ(0,"div"),f.TgZ(1,"h2"),f._uU(2),f.ALo(3,"translate"),f.qZA(),f.TgZ(4,"p"),f._uU(5),f.ALo(6,"translate"),f.qZA(),f.YNc(7,gk,13,10,"div",3),f.TgZ(8,"button",4),f.NdJ("click",function(){return f.CHM(e),f.oxw().openPopUp([])}),f._uU(9),f.ALo(10,"translate"),f.qZA(),f.qZA()}if(2&s){const e=f.oxw();f.xp6(2),f.hij(" ",f.lcZ(3,4,"CONNECT_IDENTITY_SECTION.TITLE_"+e.titleHelpTranslatePath)," "),f.xp6(3),f.hij(" ",f.lcZ(6,6,"CONNECT_IDENTITY_SECTION."+e.titleHelpTranslatePath+"_HELP")," "),f.xp6(2),f.Q6J("ngForOf",e.similarIdentities),f.xp6(2),f.hij(" ",f.lcZ(10,8,"CONNECT_IDENTITY_SECTION.CONNECT_OTHER_ACCOUNT")," ")}}function _k(s,r){1&s&&f._UZ(0,"mat-spinner",11)}let bk=(()=>{class s{constructor(e,t,o){this.registrarService=e,this.router=t,this.openLinkerService=o,this.similarIdentities=[],this.loading=!1,this.titleHelpTranslatePath="SIMILAR_FOUND"}ngOnInit(){this.loading=!0,this.registrarService.checkForSimilarRichIdentities().subscribe(e=>{this.similarIdentities=e.slice(0,2),0===this.similarIdentities.length&&(this.titleHelpTranslatePath="NO_SIMILAR_FOUND"),this.loading=!1})}openPopUp(e){const t=[];e.forEach(o=>{o.attributes.sourceIdPName&&t.push(o.extSource.name)}),this.openLinkerService.openLinkerWindow(o=>{"TOKEN_EXPIRED"===o?location.reload():("OK"===o||"MESSAGE_SENT_TO_SUPPORT"===o)&&this.router.navigate(["/result",o])},t)}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Wn),f.Y36(pi),f.Y36(pk))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-connect-identity-section"]],decls:3,vars:2,consts:[[1,"color","card","p-3","mat-elevation-z3"],[4,"ngIf"],["class","mr-auto ml-auto",4,"ngIf"],["class","card d-flex mt-3 p-2 identity-card mat-elevation-z3",4,"ngFor","ngForOf"],["mat-flat-button","","color","accent",1,"mt-3",3,"click"],[1,"card","d-flex","mt-3","p-2","identity-card","mat-elevation-z3"],[1,"d-flex","flex-row"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-similar"],[1,"ml-3","mt-1"],[1,"pl-1"],["mat-flat-button","","color","accent",1,"ml-auto","mr-2","mb-2","mt-3",3,"click"],[1,"mr-auto","ml-auto"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.YNc(1,mk,11,10,"div",1),f.YNc(2,_k,1,0,"mat-spinner",2),f.qZA()),2&e&&(f.xp6(1),f.Q6J("ngIf",!t.loading),f.xp6(1),f.Q6J("ngIf",t.loading))},directives:[E.O5,E.sg,Hr,ul,oa],pipes:[vn,fk],styles:[".color[_ngcontent-%COMP%]{background-color:#f1f1f1}.perun-icon-similar[_ngcontent-%COMP%]{transform:scale(2);margin-left:1rem;margin-top:1rem;color:#000}.identity-card[_ngcontent-%COMP%]{background-color:#f5f5f5;max-width:450px}"]}),s})();function Ck(s,r){1&s&&(f.TgZ(0,"perun-web-apps-alert",5),f._uU(1),f.ALo(2,"translate"),f.qZA()),2&s&&(f.xp6(1),f.Oqu(f.lcZ(2,1,"LIST_OF_IDENTITIES.IS_NOT_KNOWN_IDENTITY")))}let yk=(()=>{class s{constructor(e,t){this.storeService=e,this.initService=t}ngOnInit(){this.initService.simpleLoadPrincipal().then(()=>{this.unknownIdentity=-1===this.storeService.getPerunPrincipal().userId})}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i),f.Y36(Rl))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-main-window"]],decls:6,vars:1,consts:[[1,"d-flex"],[1,"d-inline-block","ml-auto","mr-auto"],["alert_type","warn",4,"ngIf"],[1,"main-flexbox"],[1,"identities-list"],["alert_type","warn"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.YNc(2,Ck,3,3,"perun-web-apps-alert",2),f.TgZ(3,"div",3),f._UZ(4,"perun-web-apps-list-of-identities",4),f._UZ(5,"perun-web-apps-connect-identity-section"),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(2),f.Q6J("ngIf",t.unknownIdentity))},directives:[E.O5,QI,dk,bk],pipes:[vn],styles:[".identities-list[_ngcontent-%COMP%]{max-width:650px}.main-flexbox[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:1.5rem}"]}),s})();function vk(s,r){if(1&s&&(f.TgZ(0,"mat-icon",6),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.hij(" ",e.icon," ")}}function wk(s,r){1&s&&f._UZ(0,"mat-icon",7)}function Ak(s,r){if(1&s&&(f.TgZ(0,"span"),f._uU(1),f.qZA()),2&s){const e=f.oxw();f.xp6(1),f.hij(" ",e.supportMail," ")}}const xk=function(s){return{"background-color":s}},Tk=["*"];let Ek=(()=>{class s{constructor(e){this.store=e,this.supportMail=this.store.getProperty("support_mail"),this.color="",this.icon="",this.greenColor="#e0ffd4",this.blueColor="#d4f2ff",this.redColor="#ffd4d4",this.warningIcon="warning",this.infoIcon="info",this.messageSent="mark_email_read"}ngOnChanges(){switch(this.result){case"OK":this.color=this.greenColor;break;case"IDENTITY_REGISTERED_ALREADY":case"UNKNOWN_ERROR":this.color=this.redColor,this.icon=this.warningIcon;break;case"IDENTITY_IDENTICAL":case"IDENTITY_LINKED":case"IDENTITY_UNKNOWN":this.color=this.blueColor,this.icon=this.infoIcon;break;case"MESSAGE_SENT_TO_SUPPORT":this.color=this.blueColor,this.icon=this.messageSent;break;case"TOKEN_EXPIRED":this.color=this.blueColor,this.icon=this.warningIcon}}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(_i))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-consolidation-result"]],inputs:{result:"result"},features:[f.TTD],ngContentSelectors:Tk,decls:14,vars:12,consts:[[1,"p-4","m-3",3,"ngStyle"],[1,"d-flex","pb-5","flex-row"],["class","mat-icon-war mr-4",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-detail",4,"ngIf"],[1,"ml-5"],[4,"ngIf"],[1,"mat-icon-war","mr-4"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-detail"]],template:function(e,t){1&e&&(f.F$t(),f.TgZ(0,"div",0),f.TgZ(1,"div",1),f.TgZ(2,"div"),f.YNc(3,vk,2,1,"mat-icon",2),f.YNc(4,wk,1,0,"mat-icon",3),f.qZA(),f.TgZ(5,"div",4),f.TgZ(6,"h1"),f._uU(7),f.ALo(8,"translate"),f.qZA(),f.TgZ(9,"h5"),f._uU(10),f.ALo(11,"translate"),f.YNc(12,Ak,2,1,"span",5),f.qZA(),f.qZA(),f.qZA(),f.Hsn(13),f.qZA()),2&e&&(f.Q6J("ngStyle",f.VKq(10,xk,t.color)),f.xp6(3),f.Q6J("ngIf","OK"!==t.result),f.xp6(1),f.Q6J("ngIf","OK"===t.result),f.xp6(3),f.hij(" ",f.lcZ(8,6,"SHARED_LIB.CONSOLIDATOR."+t.result+"_TITLE")," "),f.xp6(3),f.hij(" ",f.lcZ(11,8,"SHARED_LIB.CONSOLIDATOR."+t.result+"_SUBTITLE")," "),f.xp6(2),f.Q6J("ngIf","UNKNOWN_ERROR"===t.result))},directives:[E.PC,E.O5,Hr],pipes:[vn],styles:[".mat-icon-war[_ngcontent-%COMP%]{font-size:82px}.perun-icon-detail[_ngcontent-%COMP%]{transform:scale(4.5);margin-left:3rem;margin-top:1.5rem;color:#000}"]}),s})();const Sk=[{path:"",redirectTo:"consolidate",pathMatch:"full"},{path:"login",component:LI},{path:"consolidate",component:yk},{path:"result/:result",component:(()=>{class s{constructor(e,t){this.route=e,this.router=t}ngOnInit(){this.route.params.subscribe(e=>{this.linkerResult=e.result})}onClick(){this.router.navigate(["/consolidate"],{queryParamsHandling:"merge"})}}return s.\u0275fac=function(e){return new(e||s)(f.Y36(Ji),f.Y36(pi))},s.\u0275cmp=f.Xpm({type:s,selectors:[["perun-web-apps-show-result-page"]],decls:6,vars:4,consts:[[1,"show-result","ml-auto","mr-auto"],[3,"result"],[1,"d-flex","flex-column","mt-5"],["mat-flat-button","",1,"ml-auto",3,"click"]],template:function(e,t){1&e&&(f.TgZ(0,"div",0),f.TgZ(1,"perun-web-apps-consolidation-result",1),f.TgZ(2,"div",2),f.TgZ(3,"button",3),f.NdJ("click",function(){return t.onClick()}),f._uU(4),f.ALo(5,"translate"),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&e&&(f.xp6(1),f.Q6J("result",t.linkerResult),f.xp6(3),f.hij(" ",f.lcZ(5,2,"SHOW_RESULT.ADD_ANOTHER")," "))},directives:[Ek,ul],pipes:[vn],styles:[".show-result[_ngcontent-%COMP%]{max-width:55vw!important}"]}),s})()}];let Mk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[vc.forRoot(Sk,{preloadingStrategy:Tf,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],vc]}),s})(),Dk=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=f.oAB({type:s}),s.\u0275inj=f.cJS({imports:[[E.ez,mp,On,ei]]}),s})();const Hk={provide:y.TP,useExisting:(0,f.Gpc)(()=>An),multi:!0};function Pk(s){return new jI(s,"./assets/i18n/",".json")}function Rk(s){const r={basePath:s.getProperty("api_url")};return new We(r)}const Ik=s=>()=>s.loadConfigs();let kk=(()=>{class s{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return s.\u0275fac=function(e){return new(e||s)(f.LFG(yp),f.LFG(na))},s.\u0275mod=f.oAB({type:s,bootstrap:[xD]}),s.\u0275inj=f.cJS({providers:[yp,{provide:f.ip1,useFactory:Ik,multi:!0,deps:[UI]},{provide:We,useFactory:Rk,deps:[_i]},An,Hk,{provide:FI,useClass:Nw},{provide:za.Hy,useFactory:()=>localStorage}],imports:[[Ir,Hy,y.JF,Wp,Mk,KA,OI,or,xS,BA,Na,Dk,za.zr.forRoot(),uk,ei.forRoot({loader:{provide:ja,useFactory:Pk,deps:[y.eN]}})]]}),s})();(0,f.G48)(),Rr().bootstrapModule(kk).catch(s=>console.error(s))},1302:function(F,N,x){var E;!function(f,k){var O={};!function(f){"use strict";f.__esModule=!0,f.digestLength=32,f.blockSize=64;var k=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 O(se,$,ae,ie,le){for(var Te,Me,Pe,Ce,fe,we,Ze,Se,xe,Ve,ne,ce,de;le>=64;){for(Te=$[0],Me=$[1],Pe=$[2],Ce=$[3],fe=$[4],we=$[5],Ze=$[6],Se=$[7],Ve=0;Ve<16;Ve++)se[Ve]=(255&ae[ne=ie+4*Ve])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Ve=16;Ve<64;Ve++)se[Ve]=((ce=((xe=se[Ve-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+se[Ve-7]|0)+((de=((xe=se[Ve-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+se[Ve-16]|0);for(Ve=0;Ve<64;Ve++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&we^~fe&Ze)|0)+(Se+(k[Ve]+se[Ve]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&Pe^Me&Pe)|0,Se=Ze,Ze=we,we=fe,fe=Ce+ce|0,Ce=Pe,Pe=Me,Me=Te,Te=ce+de|0;$[0]+=Te,$[1]+=Me,$[2]+=Pe,$[3]+=Ce,$[4]+=fe,$[5]+=we,$[6]+=Ze,$[7]+=Se,ie+=64,le-=64}return ie}var B=function(){function se(){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 se.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},se.prototype.clean=function(){for(var $=0;$0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=$[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,$,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=$[ie++],ae--;return this},se.prototype.finish=function($){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var Pe=ie+1;Pe>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(Pe=0;Pe<8;Pe++)$[4*Pe+0]=this.state[Pe]>>>24&255,$[4*Pe+1]=this.state[Pe]>>>16&255,$[4*Pe+2]=this.state[Pe]>>>8&255,$[4*Pe+3]=this.state[Pe]>>>0&255;return this},se.prototype.digest=function(){var $=new Uint8Array(this.digestLength);return this.finish($),$},se.prototype._saveState=function($){for(var ae=0;aethis.blockSize)(new B).update($).finish(ae).clean();else for(var ie=0;ie<$.length;ie++)ae[ie]=$[ie];for(ie=0;ie1&&$.update(se),ae&&$.update(ae),$.update(ie),$.finish(se),ie[0]++}f.HMAC=j,f.hash=q,f.default=q,f.hmac=Q;var Y=new Uint8Array(f.digestLength);f.hkdf=function z(se,$,ae,ie){void 0===$&&($=Y),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Q($,se),Me=new j(Te),Pe=new Uint8Array(Me.digestLength),Ce=Pe.length,fe=new Uint8Array(ie),we=0;we>>24&255,Me[1]=Ze>>>16&255,Me[2]=Ze>>>8&255,Me[3]=Ze>>>0&255,le.reset(),le.update($),le.update(Me),le.finish(Ce);for(var Se=0;Se=z.status}function j(Y){try{Y.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Y.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Q=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),G=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Q?function(Y,z,re){var se=q.URL||q.webkitURL,$=document.createElement("a");$.download=z=z||Y.name||"download",$.rel="noopener","string"==typeof Y?($.href=Y,$.origin===location.origin?j($):B($.href)?O(Y,z,re):j($,$.target="_blank")):($.href=se.createObjectURL(Y),setTimeout(function(){se.revokeObjectURL($.href)},4e4),setTimeout(function(){j($)},0))}:"msSaveOrOpenBlob"in navigator?function(Y,z,re){if(z=z||Y.name||"download","string"!=typeof Y)navigator.msSaveOrOpenBlob(function k(Y,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(Y.type)?new Blob(["\ufeff",Y],{type:Y.type}):Y}(Y,re),z);else if(B(Y))O(Y,z,re);else{var se=document.createElement("a");se.href=Y,se.target="_blank",setTimeout(function(){j(se)})}}:function(Y,z,re,se){if((se=se||open("","_blank"))&&(se.document.title=se.document.body.innerText="downloading..."),"string"==typeof Y)return O(Y,z,re);var $="application/octet-stream"===Y.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||$&&ae||Q)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var Pe=le.result;Pe=ie?Pe:Pe.replace(/^data:[^;]*;/,"data:attachment/file;"),se?se.location.href=Pe:location=Pe,se=null},le.readAsDataURL(Y)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL(Y);se?se.location=Me:location.href=Me,se=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=G.saveAs=G,F.exports=G}.apply(N,[]))&&(F.exports=f)},8306:(F,N,x)=>{"use strict";x.d(N,{y:()=>Y});var E=x(930),f=x(727),k=x(8822),O=x(4671);var q=x(2416),Q=x(576),G=x(2806);let Y=(()=>{class ${constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new $;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function se($){return $&&$ instanceof E.Lv||function re($){return $&&(0,Q.m)($.next)&&(0,Q.m)($.error)&&(0,Q.m)($.complete)}($)&&(0,f.Nn)($)}(ie)?ie:new E.Hp(ie,le,Te);return(0,G.x)(()=>{const{operator:Pe,source:Ce}=this;Me.add(Pe?Pe.call(Me,Ce):Ce?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const Pe=new E.Hp({next:Ce=>{try{ie(Ce)}catch(fe){Me(fe),Pe.unsubscribe()}},error:Me,complete:Te});this.subscribe(Pe)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[k.L](){return this}pipe(...ie){return function j($){return 0===$.length?O.y:1===$.length?$[0]:function(ie){return $.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(Pe=>Me=Pe,Pe=>Te(Pe),()=>le(Me))})}}return $.create=ae=>new $(ae),$})();function z($){var ae;return null!==(ae=null!=$?$:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(F,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),f=x(727);const O=(0,x(3888).d)(G=>function(){G(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=x(8737),j=x(2806);let q=(()=>{class G extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Q(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:se,observers:$}=this;return re||se?f.Lc:(this.currentObservers=null,$.push(z),new f.w0(()=>{this.currentObservers=null,(0,B.P)($,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:se,isStopped:$}=this;re?z.error(se):$&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return G.create=(Y,z)=>new Q(Y,z),G})();class Q extends q{constructor(Y,z){super(),this.destination=Y,this.source=z}next(Y){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,Y)}error(Y){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,Y)}complete(){var Y,z;null===(z=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===z||z.call(Y)}_subscribe(Y){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe(Y))&&void 0!==re?re:f.Lc}}},930:(F,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),f=x(727),k=x(2416),O=x(7849),B=x(5032);const j=G("C",void 0,void 0);function G(Ce,fe,we){return{kind:Ce,value:fe,error:we}}var Y=x(3410),z=x(2806);class re extends f.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,f.Nn)(fe)&&fe.add(this)):this.destination=Pe}static create(fe,we,Ze){return new ie(fe,we,Ze)}next(fe){this.isStopped?Me(function Q(Ce){return G("N",Ce,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(Ce){return G("E",void 0,Ce)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const se=Function.prototype.bind;function $(Ce,fe){return se.call(Ce,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:we}=this;if(we.next)try{we.next(fe)}catch(Ze){le(Ze)}}error(fe){const{partialObserver:we}=this;if(we.error)try{we.error(fe)}catch(Ze){le(Ze)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(we){le(we)}}}class ie extends re{constructor(fe,we,Ze){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=we?we:void 0,complete:null!=Ze?Ze:void 0};else{let xe;this&&k.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&$(fe.next,xe),error:fe.error&&$(fe.error,xe),complete:fe.complete&&$(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(Ce){k.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Ce):(0,O.h)(Ce)}function Me(Ce,fe){const{onStoppedNotification:we}=k.v;we&&Y.z.setTimeout(()=>we(Ce,fe))}const Pe={closed:!0,next:B.Z,error:function Te(Ce){throw Ce},complete:B.Z}},727:(F,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>B,Nn:()=>q});var E=x(576);const k=(0,x(3888).d)(G=>function(z){G(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,se)=>`${se+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class B{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const $ of z)$.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch($){Y=$ instanceof k?$.errors:[$]}const{_finalizers:se}=this;if(se){this._finalizers=null;for(const $ of se)try{Q($)}catch(ae){Y=null!=Y?Y:[],ae instanceof k?Y=[...Y,...ae.errors]:Y.push(ae)}}if(Y)throw new k(Y)}}add(Y){var z;if(Y&&Y!==this)if(this.closed)Q(Y);else{if(Y instanceof B){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push(Y)}}_hasParent(Y){const{_parentage:z}=this;return z===Y||Array.isArray(z)&&z.includes(Y)}_addParent(Y){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push(Y),z):z?[z,Y]:Y}_removeParent(Y){const{_parentage:z}=this;z===Y?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,Y)}remove(Y){const{_finalizers:z}=this;z&&(0,O.P)(z,Y),Y instanceof B&&Y._removeParent(this)}}B.EMPTY=(()=>{const G=new B;return G.closed=!0,G})();const j=B.EMPTY;function q(G){return G instanceof B||G&&"closed"in G&&(0,E.m)(G.remove)&&(0,E.m)(G.add)&&(0,E.m)(G.unsubscribe)}function Q(G){(0,E.m)(G)?G():G.unsubscribe()}},2416:(F,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(F,N,x)=>{"use strict";x.d(N,{a:()=>Y});var E=x(8306),f=x(4742),k=x(2076),O=x(4671),B=x(3268),j=x(3269),q=x(1810),Q=x(5403),G=x(9672);function Y(...se){const $=(0,j.yG)(se),ae=(0,j.jO)(se),{args:ie,keys:le}=(0,f.D)(se);if(0===ie.length)return(0,k.D)([],$);const Te=new E.y(function z(se,$,ae=O.y){return ie=>{re($,()=>{const{length:le}=se,Te=new Array(le);let Me=le,Pe=le;for(let Ce=0;Ce{const fe=(0,k.D)(se[Ce],$);let we=!1;fe.subscribe((0,Q.x)(ie,Ze=>{Te[Ce]=Ze,we||(we=!0,Pe--),Pe||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,$,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,B.Z)(ae)):Te}function re(se,$,ae){se?(0,G.f)(ae,se,$):$()}},7272:(F,N,x)=>{"use strict";x.d(N,{z:()=>B});var E=x(8189),k=x(3269),O=x(2076);function B(...j){return function f(){return(0,E.J)(1)}()((0,O.D)(j,(0,k.yG)(j)))}},515:(F,N,x)=>{"use strict";x.d(N,{E:()=>f});const f=new(x(8306).y)(B=>B.complete())},2076:(F,N,x)=>{"use strict";x.d(N,{D:()=>Ze});var E=x(8421),f=x(9672),k=x(4482),O=x(5403);function B(Se,xe=0){return(0,k.e)((Ve,ne)=>{Ve.subscribe((0,O.x)(ne,ce=>(0,f.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,f.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,f.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,k.e)((Ve,ne)=>{ne.add(Se.schedule(()=>Ve.subscribe(ne),xe))})}var G=x(8306),z=x(2202),re=x(576);function $(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new G.y(Ve=>{(0,f.f)(Ve,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,f.f)(Ve,xe,()=>{ne.next().then(ce=>{ce.done?Ve.complete():Ve.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),Pe=x(4532),Ce=x(3260);function Ze(Se,xe){return xe?function we(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,le.z)(Se))return function Y(Se,xe){return new G.y(Ve=>{let ne=0;return xe.schedule(function(){ne===Se.length?Ve.complete():(Ve.next(Se[ne++]),Ve.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,Me.D)(Se))return $(Se,xe);if((0,Te.T)(Se))return function se(Se,xe){return new G.y(Ve=>{let ne;return(0,f.f)(Ve,xe,()=>{ne=Se[z.h](),(0,f.f)(Ve,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(ge){return void Ve.error(ge)}de?Ve.complete():Ve.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,Ce.L)(Se))return function fe(Se,xe){return $((0,Ce.Q)(Se),xe)}(Se,xe)}throw(0,Pe.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(F,N,x)=>{"use strict";x.d(N,{Xf:()=>se});var E=x(655),f=x(1144),k=x(8239),O=x(8306),B=x(3670),j=x(2206),q=x(4532),Q=x(6495),G=x(3260),Y=x(576),z=x(7849),re=x(8822);function se(Ce){if(Ce instanceof O.y)return Ce;if(null!=Ce){if((0,B.c)(Ce))return function $(Ce){return new O.y(fe=>{const we=Ce[re.L]();if((0,Y.m)(we.subscribe))return we.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,f.z)(Ce))return function ae(Ce){return new O.y(fe=>{for(let we=0;we{Ce.then(we=>{fe.closed||(fe.next(we),fe.complete())},we=>fe.error(we)).then(null,z.h)})}(Ce);if((0,j.D)(Ce))return Te(Ce);if((0,Q.T)(Ce))return function le(Ce){return new O.y(fe=>{for(const we of Ce)if(fe.next(we),fe.closed)return;fe.complete()})}(Ce);if((0,G.L)(Ce))return function Me(Ce){return Te((0,G.Q)(Ce))}(Ce)}throw(0,q.z)(Ce)}function Te(Ce){return new O.y(fe=>{(function Pe(Ce,fe){var we,Ze,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(we=(0,E.KL)(Ce);!(Ze=yield we.next()).done;)if(fe.next(Ze.value),fe.closed)return}catch(Ve){Se={error:Ve}}finally{try{Ze&&!Ze.done&&(xe=we.return)&&(yield xe.call(we))}finally{if(Se)throw Se.error}}fe.complete()})})(Ce,fe).catch(we=>fe.error(we))})}},6451:(F,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),f=x(8421),k=x(515),O=x(3269),B=x(2076);function j(...q){const Q=(0,O.yG)(q),G=(0,O._6)(q,1/0),Y=q;return Y.length?1===Y.length?(0,f.Xf)(Y[0]):(0,E.J)(G)((0,B.D)(Y,Q)):k.E}},9646:(F,N,x)=>{"use strict";x.d(N,{of:()=>k});var E=x(3269),f=x(2076);function k(...O){const B=(0,E.yG)(O);return(0,f.D)(O,B)}},102:(F,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),f=x(8421);const{isArray:k}=Array;var B=x(5403);function j(...Q){return 1===(Q=function O(Q){return 1===Q.length&&k(Q[0])?Q[0]:Q}(Q)).length?(0,f.Xf)(Q[0]):new E.y(function q(Q){return G=>{let Y=[];for(let z=0;Y&&!G.closed&&z{if(Y){for(let se=0;se{"use strict";x.d(N,{_:()=>k});var E=x(8306),f=x(576);function k(O,B){const j=(0,f.m)(O)?O:()=>O,q=Q=>Q.error(j());return new E.y(B?Q=>B.schedule(q,0,Q):q)}},2805:(F,N,x)=>{"use strict";x.d(N,{H:()=>B});var E=x(8306),f=x(4986),k=x(3532),O=x(1165);function B(j=0,q,Q=f.P){let G=-1;return null!=q&&((0,k.K)(q)?Q=q:G=q),new E.y(Y=>{let z=(0,O.q)(j)?+j-Q.now():j;z<0&&(z=0);let re=0;return Q.schedule(function(){Y.closed||(Y.next(re++),0<=G?this.schedule(void 0,G):Y.complete())},z)})}},5403:(F,N,x)=>{"use strict";x.d(N,{x:()=>f});var E=x(930);function f(O,B,j,q,Q){return new k(O,B,j,q,Q)}class k extends E.Lv{constructor(B,j,q,Q,G,Y){super(B),this.onFinalize=G,this.shouldUnsubscribe=Y,this._next=j?function(z){try{j(z)}catch(re){B.error(re)}}:super._next,this._error=Q?function(z){try{Q(z)}catch(re){B.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){B.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},262:(F,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),f=x(5403),k=x(4482);function O(B){return(0,k.e)((j,q)=>{let Y,Q=null,G=!1;Q=j.subscribe((0,f.x)(q,void 0,void 0,z=>{Y=(0,E.Xf)(B(z,O(B)(j))),Q?(Q.unsubscribe(),Q=null,Y.subscribe(q)):G=!0})),G&&(Q.unsubscribe(),Q=null,Y.subscribe(q))})}},4351:(F,N,x)=>{"use strict";x.d(N,{b:()=>k});var E=x(5577),f=x(576);function k(O,B){return(0,f.m)(B)?(0,E.z)(O,B,1):(0,E.z)(O,1)}},8372:(F,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),f=x(4482),k=x(5403);function O(B,j=E.z){return(0,f.e)((q,Q)=>{let G=null,Y=null,z=null;const re=()=>{if(G){G.unsubscribe(),G=null;const $=Y;Y=null,Q.next($)}};function se(){const $=z+B,ae=j.now();if(ae<$)return G=this.schedule(void 0,$-ae),void Q.add(G);re()}q.subscribe((0,k.x)(Q,$=>{Y=$,z=j.now(),G||(G=j.schedule(se,B),Q.add(G))},()=>{re(),Q.complete()},void 0,()=>{Y=G=null}))})}},6590:(F,N,x)=>{"use strict";x.d(N,{d:()=>k});var E=x(4482),f=x(5403);function k(O){return(0,E.e)((B,j)=>{let q=!1;B.subscribe((0,f.x)(j,Q=>{q=!0,j.next(Q)},()=>{q||j.next(O),j.complete()}))})}},4825:(F,N,x)=>{"use strict";x.d(N,{g:()=>se});var E=x(4986),f=x(7272),k=x(5698),O=x(4482),B=x(5403),j=x(5032),Q=x(4004),Y=x(5577);function z($,ae){return ae?ie=>(0,f.z)(ae.pipe((0,k.q)(1),function q(){return(0,O.e)(($,ae)=>{$.subscribe((0,B.x)(ae,j.Z))})}()),ie.pipe(z($))):(0,Y.z)((ie,le)=>$(ie,le).pipe((0,k.q)(1),function G($){return(0,Q.U)(()=>$)}(ie)))}var re=x(2805);function se($,ae=E.z){const ie=(0,re.H)($,ae);return z(()=>ie)}},9300:(F,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(4482),f=x(5403);function k(O,B){return(0,E.e)((j,q)=>{let Q=0;j.subscribe((0,f.x)(q,G=>O.call(B,G,Q++)&&q.next(G)))})}},590:(F,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),f=x(9300),k=x(5698),O=x(6590),B=x(8068),j=x(4671);function q(Q,G){const Y=arguments.length>=2;return z=>z.pipe(Q?(0,f.h)((re,se)=>Q(re,se,z)):j.y,(0,k.q)(1),Y?(0,O.d)(G):(0,B.T)(()=>new E.K))}},4004:(F,N,x)=>{"use strict";x.d(N,{U:()=>k});var E=x(4482),f=x(5403);function k(O,B){return(0,E.e)((j,q)=>{let Q=0;j.subscribe((0,f.x)(q,G=>{q.next(O.call(B,G,Q++))}))})}},8189:(F,N,x)=>{"use strict";x.d(N,{J:()=>k});var E=x(5577),f=x(4671);function k(O=1/0){return(0,E.z)(f.y,O)}},5577:(F,N,x)=>{"use strict";x.d(N,{z:()=>Q});var E=x(4004),f=x(8421),k=x(4482),O=x(9672),B=x(5403),q=x(576);function Q(G,Y,z=1/0){return(0,q.m)(Y)?Q((re,se)=>(0,E.U)(($,ae)=>Y(re,$,se,ae))((0,f.Xf)(G(re,se))),z):("number"==typeof Y&&(z=Y),(0,k.e)((re,se)=>function j(G,Y,z,re,se,$,ae,ie){const le=[];let Te=0,Me=0,Pe=!1;const Ce=()=>{Pe&&!le.length&&!Te&&Y.complete()},fe=Ze=>Te{$&&Y.next(Ze),Te++;let Se=!1;(0,f.Xf)(z(Ze,Me++)).subscribe((0,B.x)(Y,xe=>{null==se||se(xe),$?fe(xe):Y.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Tewe(xe)):we(xe)}Ce()}catch(xe){Y.error(xe)}}))};return G.subscribe((0,B.x)(Y,fe,()=>{Pe=!0,Ce()})),()=>{null==ie||ie()}}(re,se,G,z)))}},3099:(F,N,x)=>{"use strict";x.d(N,{B:()=>B});var E=x(8421),f=x(7579),k=x(930),O=x(4482);function B(q={}){const{connector:Q=(()=>new f.x),resetOnError:G=!0,resetOnComplete:Y=!0,resetOnRefCountZero:z=!0}=q;return re=>{let se,$,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==$||$.unsubscribe(),$=void 0},Pe=()=>{Me(),se=ae=void 0,le=Te=!1},Ce=()=>{const fe=se;Pe(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,we)=>{ie++,!Te&&!le&&Me();const Ze=ae=null!=ae?ae:Q();we.add(()=>{ie--,0===ie&&!Te&&!le&&($=j(Ce,z))}),Ze.subscribe(we),!se&&ie>0&&(se=new k.Hp({next:Se=>Ze.next(Se),error:Se=>{Te=!0,Me(),$=j(Pe,G,Se),Ze.error(Se)},complete:()=>{le=!0,Me(),$=j(Pe,Y),Ze.complete()}}),(0,E.Xf)(fe).subscribe(se))})(re)}}function j(q,Q,...G){if(!0===Q)return void q();if(!1===Q)return;const Y=new k.Hp({next:()=>{Y.unsubscribe(),q()}});return Q(...G).subscribe(Y)}},3900:(F,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),f=x(4482),k=x(5403);function O(B,j){return(0,f.e)((q,Q)=>{let G=null,Y=0,z=!1;const re=()=>z&&!G&&Q.complete();q.subscribe((0,k.x)(Q,se=>{null==G||G.unsubscribe();let $=0;const ae=Y++;(0,E.Xf)(B(se,ae)).subscribe(G=(0,k.x)(Q,ie=>Q.next(j?j(se,ie,ae,$++):ie),()=>{G=null,re()}))},()=>{z=!0,re()}))})}},5698:(F,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),f=x(4482),k=x(5403);function O(B){return B<=0?()=>E.E:(0,f.e)((j,q)=>{let Q=0;j.subscribe((0,k.x)(q,G=>{++Q<=B&&(q.next(G),B<=Q&&q.complete())}))})}},8505:(F,N,x)=>{"use strict";x.d(N,{b:()=>B});var E=x(576),f=x(4482),k=x(5403),O=x(4671);function B(j,q,Q){const G=(0,E.m)(j)||q||Q?{next:j,error:q,complete:Q}:j;return G?(0,f.e)((Y,z)=>{var re;null===(re=G.subscribe)||void 0===re||re.call(G);let se=!0;Y.subscribe((0,k.x)(z,$=>{var ae;null===(ae=G.next)||void 0===ae||ae.call(G,$),z.next($)},()=>{var $;se=!1,null===($=G.complete)||void 0===$||$.call(G),z.complete()},$=>{var ae;se=!1,null===(ae=G.error)||void 0===ae||ae.call(G,$),z.error($)},()=>{var $,ae;se&&(null===($=G.unsubscribe)||void 0===$||$.call(G)),null===(ae=G.finalize)||void 0===ae||ae.call(G)}))}):O.y}},8068:(F,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),f=x(4482),k=x(5403);function O(j=B){return(0,f.e)((q,Q)=>{let G=!1;q.subscribe((0,k.x)(Q,Y=>{G=!0,Q.next(Y)},()=>G?Q.complete():Q.error(j())))})}function B(){return new E.K}},7414:(F,N,x)=>{"use strict";x.d(N,{V:()=>G});var E=x(4986),f=x(1165),k=x(4482),O=x(8421),B=x(3888),j=x(5403),q=x(9672);const Q=(0,B.d)(z=>function(se=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=se});function G(z,re){const{first:se,each:$,with:ae=Y,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,f.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==se&&null==$)throw new TypeError("No timeout provided.");return(0,k.e)((Te,Me)=>{let Pe,Ce,fe=null,we=0;const Ze=Se=>{Ce=(0,q.f)(Me,ie,()=>{try{Pe.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:we})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};Pe=Te.subscribe((0,j.x)(Me,Se=>{null==Ce||Ce.unsubscribe(),we++,Me.next(fe=Se),$>0&&Ze($)},void 0,void 0,()=>{(null==Ce?void 0:Ce.closed)||null==Ce||Ce.unsubscribe(),fe=null})),!we&&Ze(null!=se?"number"==typeof se?se:+se-ie.now():$)})}function Y(z){throw new Q(z)}},4408:(F,N,x)=>{"use strict";x.d(N,{o:()=>B});var E=x(727);class f extends E.w0{constructor(q,Q){super()}schedule(q,Q=0){return this}}const k={setInterval(j,q,...Q){const{delegate:G}=k;return(null==G?void 0:G.setInterval)?G.setInterval(j,q,...Q):setInterval(j,q,...Q)},clearInterval(j){const{delegate:q}=k;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class B extends f{constructor(q,Q){super(q,Q),this.scheduler=q,this.work=Q,this.pending=!1}schedule(q,Q=0){if(this.closed)return this;this.state=q;const G=this.id,Y=this.scheduler;return null!=G&&(this.id=this.recycleAsyncId(Y,G,Q)),this.pending=!0,this.delay=Q,this.id=this.id||this.requestAsyncId(Y,this.id,Q),this}requestAsyncId(q,Q,G=0){return k.setInterval(q.flush.bind(q,this),G)}recycleAsyncId(q,Q,G=0){if(null!=G&&this.delay===G&&!1===this.pending)return Q;k.clearInterval(Q)}execute(q,Q){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const G=this._execute(q,Q);if(G)return G;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Q){let Y,G=!1;try{this.work(q)}catch(z){G=!0,Y=z||new Error("Scheduled action threw falsy error")}if(G)return this.unsubscribe(),Y}unsubscribe(){if(!this.closed){const{id:q,scheduler:Q}=this,{actions:G}=Q;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(G,this),null!=q&&(this.id=this.recycleAsyncId(Q,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(F,N,x)=>{"use strict";x.d(N,{v:()=>k});var E=x(6063);class f{constructor(B,j=f.now){this.schedulerActionCtor=B,this.now=j}schedule(B,j=0,q){return new this.schedulerActionCtor(this,B).schedule(q,j)}}f.now=E.l.now;class k extends f{constructor(B,j=f.now){super(B,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(B){const{actions:j}=this;if(this._active)return void j.push(B);let q;this._active=!0;do{if(q=B.execute(B.state,B.delay))break}while(B=j.shift());if(this._active=!1,q){for(;B=j.shift();)B.unsubscribe();throw q}}}},4986:(F,N,x)=>{"use strict";x.d(N,{z:()=>k,P:()=>O});var E=x(4408);const k=new(x(7565).v)(E.o),O=k},6063:(F,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(F,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(f,k,...O){const{delegate:B}=E;return(null==B?void 0:B.setTimeout)?B.setTimeout(f,k,...O):setTimeout(f,k,...O)},clearTimeout(f){const{delegate:k}=E;return((null==k?void 0:k.clearTimeout)||clearTimeout)(f)},delegate:void 0}},2202:(F,N,x)=>{"use strict";x.d(N,{h:()=>f});const f=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(F,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(F,N,x)=>{"use strict";x.d(N,{K:()=>f});const f=(0,x(3888).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(F,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>B,_6:()=>j});var E=x(576),f=x(3532);function k(q){return q[q.length-1]}function O(q){return(0,E.m)(k(q))?q.pop():void 0}function B(q){return(0,f.K)(k(q))?q.pop():void 0}function j(q,Q){return"number"==typeof k(q)?q.pop():Q}},4742:(F,N,x)=>{"use strict";x.d(N,{D:()=>B});const{isArray:E}=Array,{getPrototypeOf:f,prototype:k,keys:O}=Object;function B(q){if(1===q.length){const Q=q[0];if(E(Q))return{args:Q,keys:null};if(function j(q){return q&&"object"==typeof q&&f(q)===k}(Q)){const G=O(Q);return{args:G.map(Y=>Q[Y]),keys:G}}}return{args:q,keys:null}}},8737:(F,N,x)=>{"use strict";function E(f,k){if(f){const O=f.indexOf(k);0<=O&&f.splice(O,1)}}x.d(N,{P:()=>E})},3888:(F,N,x)=>{"use strict";function E(f){const O=f(B=>{Error.call(B),B.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(F,N,x)=>{"use strict";function E(f,k){return f.reduce((O,B,j)=>(O[B]=k[j],O),{})}x.d(N,{n:()=>E})},2806:(F,N,x)=>{"use strict";x.d(N,{x:()=>k,O:()=>O});var E=x(2416);let f=null;function k(B){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!f;if(j&&(f={errorThrown:!1,error:null}),B(),j){const{errorThrown:q,error:Q}=f;if(f=null,q)throw Q}}else B()}function O(B){E.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=B)}},9672:(F,N,x)=>{"use strict";function E(f,k,O,B=0,j=!1){const q=k.schedule(function(){O(),j?f.add(this.schedule(null,B)):this.unsubscribe()},B);if(f.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(F,N,x)=>{"use strict";function E(f){return f}x.d(N,{y:()=>E})},1144:(F,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(F,N,x)=>{"use strict";x.d(N,{D:()=>f});var E=x(576);function f(k){return Symbol.asyncIterator&&(0,E.m)(null==k?void 0:k[Symbol.asyncIterator])}},1165:(F,N,x)=>{"use strict";function E(f){return f instanceof Date&&!isNaN(f)}x.d(N,{q:()=>E})},576:(F,N,x)=>{"use strict";function E(f){return"function"==typeof f}x.d(N,{m:()=>E})},3670:(F,N,x)=>{"use strict";x.d(N,{c:()=>k});var E=x(8822),f=x(576);function k(O){return(0,f.m)(O[E.L])}},6495:(F,N,x)=>{"use strict";x.d(N,{T:()=>k});var E=x(2202),f=x(576);function k(O){return(0,f.m)(null==O?void 0:O[E.h])}},8239:(F,N,x)=>{"use strict";x.d(N,{t:()=>f});var E=x(576);function f(k){return(0,E.m)(null==k?void 0:k.then)}},3260:(F,N,x)=>{"use strict";x.d(N,{Q:()=>k,L:()=>O});var E=x(655),f=x(576);function k(B){return(0,E.FC)(this,arguments,function*(){const q=B.getReader();try{for(;;){const{value:Q,done:G}=yield(0,E.qq)(q.read());if(G)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Q)}}finally{q.releaseLock()}})}function O(B){return(0,f.m)(null==B?void 0:B.getReader)}},3532:(F,N,x)=>{"use strict";x.d(N,{K:()=>f});var E=x(576);function f(k){return k&&(0,E.m)(k.schedule)}},4482:(F,N,x)=>{"use strict";x.d(N,{A:()=>f,e:()=>k});var E=x(576);function f(O){return(0,E.m)(null==O?void 0:O.lift)}function k(O){return B=>{if(f(B))return B.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(F,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:f}=Array;function O(B){return(0,E.U)(j=>function k(B,j){return f(j)?B(...j):B(j)}(B,j))}},5032:(F,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(F,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(2416),f=x(3410);function k(O){f.z.setTimeout(()=>{const{onUnhandledError:B}=E.v;if(!B)throw O;B(O)})}},4532:(F,N,x)=>{"use strict";function E(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(F,N,x)=>{"use strict";function Q(ne,ce,de,ge){return new(de||(de=Promise))(function(De,tt){function Rt(oi){try{Ne(ge.next(oi))}catch(dr){tt(dr)}}function Vt(oi){try{Ne(ge.throw(oi))}catch(dr){tt(dr)}}function Ne(oi){oi.done?De(oi.value):function pe(De){return De instanceof de?De:new de(function(tt){tt(De)})}(oi.value).then(Rt,Vt)}Ne((ge=ge.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ge=de.apply(ne,ce||[]),De=[];return pe={},tt("next"),tt("throw"),tt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function tt(ti){ge[ti]&&(pe[ti]=function(Mt){return new Promise(function(zn,Ui){De.push([ti,Mt,zn,Ui])>1||Rt(ti,Mt)})})}function Rt(ti,Mt){try{!function Vt(ti){ti.value instanceof le?Promise.resolve(ti.value.v).then(Ne,oi):dr(De[0][2],ti)}(ge[ti](Mt))}catch(zn){dr(De[0][3],zn)}}function Ne(ti){Rt("next",ti)}function oi(ti){Rt("throw",ti)}function dr(ti,Mt){ti(Mt),De.shift(),De.length&&Rt(De[0][0],De[0][1])}}function Pe(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],ge=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&ge>=ne.length&&(ne=void 0),{value:ne&&ne[ge++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},ge("next"),ge("throw"),ge("return"),de[Symbol.asyncIterator]=function(){return this},de);function ge(De){de[De]=ne[De]&&function(tt){return new Promise(function(Rt,Vt){!function pe(De,tt,Rt,Vt){Promise.resolve(Vt).then(function(Ne){De({value:Ne,done:Rt})},tt)}(Rt,Vt,(tt=ne[De](tt)).done,tt.value)})}}}x.d(N,{mG:()=>Q,qq:()=>le,FC:()=>Te,KL:()=>Pe})},9808:(F,N,x)=>{"use strict";x.d(N,{mr:()=>Me,ez:()=>ft,K0:()=>q,Do:()=>Ce,V_:()=>Y,Ye:()=>fe,S$:()=>le,sg:()=>yi,O5:()=>qi,PC:()=>au,RF:()=>Oi,n9:()=>Wi,b0:()=>Pe,lw:()=>Q,EM:()=>ou,JF:()=>gt,NF:()=>ji,w_:()=>j,bD:()=>$i,q:()=>k,Mx:()=>ms,HT:()=>B});var E=x(5e3);let f=null;function k(){return f}function B(M){f||(f=M)}class j{}const q=new E.OlP("DocumentToken");let Q=(()=>{class M{historyGo(D){throw new Error("Not implemented")}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function G(){return(0,E.LFG)(z)}()},providedIn:"platform"}),M})();const Y=new E.OlP("Location Initialized");let z=(()=>{class M extends Q{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(D){const V=k().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",D,!1),()=>V.removeEventListener("popstate",D)}onHashChange(D){const V=k().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",D,!1),()=>V.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,V,J){re()?this._history.pushState(D,V,J):this.location.hash=J}replaceState(D,V,J){re()?this._history.replaceState(D,V,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function se(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),M})();function re(){return!!window.history.pushState}function $(M,I){if(0==M.length)return I;if(0==I.length)return M;let D=0;return M.endsWith("/")&&D++,I.startsWith("/")&&D++,2==D?M+I.substring(1):1==D?M+I:M+"/"+I}function ae(M){const I=M.match(/#|\?|$/),D=I&&I.index||M.length;return M.slice(0,D-("/"===M[D-1]?1:0))+M.slice(D)}function ie(M){return M&&"?"!==M[0]?"?"+M:M}let le=(()=>{class M{historyGo(D){throw new Error("Not implemented")}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function Te(M){const I=(0,E.LFG)(q).location;return new Pe((0,E.LFG)(Q),I&&I.origin||"")}()},providedIn:"root"}),M})();const Me=new E.OlP("appBaseHref");let Pe=(()=>{class M extends le{constructor(D,V){if(super(),this._platformLocation=D,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return $(this._baseHref,D)}path(D=!1){const V=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&D?`${V}${J}`:V}pushState(D,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(D,V,_e)}replaceState(D,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(D,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,D)}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(Q),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),Ce=(()=>{class M extends le{constructor(D,V){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(D){const V=$(this._baseHref,D);return V.length>0?"#"+V:V}pushState(D,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(D,V,_e)}replaceState(D,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(D,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,D)}}return M.\u0275fac=function(D){return new(D||M)(E.LFG(Q),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),fe=(()=>{class M{constructor(D,V){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=D;const J=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(D=!1){return this.normalize(this._platformStrategy.path(D))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(D,V=""){return this.path()==this.normalize(D+ie(V))}normalize(D){return M.stripTrailingSlash(function Ze(M,I){return M&&I.startsWith(M)?I.substring(M.length):I}(this._baseHref,Se(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._platformStrategy.prepareExternalUrl(D)}go(D,V="",J=null){this._platformStrategy.pushState(J,"",D,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ie(V)),J)}replaceState(D,V="",J=null){this._platformStrategy.replaceState(J,"",D,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ie(V)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(D=0){var V,J;null===(J=(V=this._platformStrategy).historyGo)||void 0===J||J.call(V,D)}onUrlChange(D){this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(D="",V){this._urlChangeListeners.forEach(J=>J(D,V))}subscribe(D,V,J){return this._subject.subscribe({next:D,error:V,complete:J})}}return M.normalizeQueryParams=ie,M.joinWithSlash=$,M.stripTrailingSlash=ae,M.\u0275fac=function(D){return new(D||M)(E.LFG(le),E.LFG(Q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function we(){return new fe((0,E.LFG)(le),(0,E.LFG)(Q))}()},providedIn:"root"}),M})();function Se(M){return M.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))();const hr=E.kL8;class Bt{}let pr=(()=>{class M extends Bt{constructor(D){super(),this.locale=D}getPluralCategory(D,V){switch(hr(V||this.locale)(D)){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 M.\u0275fac=function(D){return new(D||M)(E.LFG(E.soG))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})();function ms(M,I){I=encodeURIComponent(I);for(const D of M.split(";")){const V=D.indexOf("="),[J,ue]=-1==V?[D,""]:[D.slice(0,V),D.slice(V+1)];if(J.trim()===I)return decodeURIComponent(ue)}return null}class ha{constructor(I,D,V,J){this.$implicit=I,this.ngForOf=D,this.index=V,this.count=J}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 yi=(()=>{class M{constructor(D,V,J){this._viewContainer=D,this._template=V,this._differs=J,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const V=this._viewContainer;D.forEachOperation((J,ue,_e)=>{if(null==J.previousIndex)V.createEmbeddedView(this._template,new ha(J.item,this._ngForOf,-1,-1),null===_e?void 0:_e);else if(null==_e)V.remove(null===ue?void 0:ue);else if(null!==ue){const Ge=V.get(ue);V.move(Ge,_e),pa(Ge,J)}});for(let J=0,ue=V.length;J{pa(V.get(J.currentIndex),J)})}static ngTemplateContextGuard(D,V){return!0}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function pa(M,I){M.context.$implicit=I.item}let qi=(()=>{class M{constructor(D,V){this._viewContainer=D,this._context=new It,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){ru("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){ru("ngIfElse",D),this._elseTemplateRef=D,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(D,V){return!0}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class It{constructor(){this.$implicit=null,this.ngIf=null}}function ru(M,I){if(I&&!I.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,E.AaK)(I)}'.`)}class Kl{constructor(I,D){this._viewContainerRef=I,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let Oi=(()=>{class M{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const V=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let V=0;V{class M{constructor(D,V,J){this.ngSwitch=J,J._addCase(),this._view=new Kl(D,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(Oi,9))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),M})(),au=(()=>{class M{constructor(D,V,J){this._ngEl=D,this._differs=V,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,V){const[J,ue]=D.split(".");null!=(V=null!=V&&ue?`${V}${ue}`:V)?this._renderer.setStyle(this._ngEl.nativeElement,J,V):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(D){D.forEachRemovedItem(V=>this._setStyle(V.key,null)),D.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),D.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return M.\u0275fac=function(D){return new(D||M)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})(),ft=(()=>{class M{}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=E.oAB({type:M}),M.\u0275inj=E.cJS({providers:[{provide:Bt,useClass:pr}]}),M})();const $i="browser";function ji(M){return M===$i}let ou=(()=>{class M{}return M.\u0275prov=(0,E.Yz7)({token:M,providedIn:"root",factory:()=>new Cs((0,E.LFG)(q),window)}),M})();class Cs{constructor(I,D){this.document=I,this.window=D,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const D=function vs(M,I){const D=M.getElementById(I)||M.getElementsByName(I)[0];if(D)return D;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const V=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let J=V.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(I)||ue.querySelector(`[name="${I}"]`);if(_e)return _e}J=V.nextNode()}}return null}(this.document,I);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=I)}}scrollToElement(I){const D=I.getBoundingClientRect(),V=D.left+this.window.pageXOffset,J=D.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(V-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=ys(this.window.history)||ys(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch(I){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(I){return!1}}}function ys(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class gt{}},520:(F,N,x)=>{"use strict";x.d(N,{TP:()=>tt,eN:()=>pe,JF:()=>bi,qT:()=>Me,WM:()=>Y,LE:()=>le,Zn:()=>ce});var E=x(9808),f=x(5e3),k=x(9646),O=x(8306),B=x(4351),j=x(9300),q=x(4004);class Q{}class G{}class Y{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const ve=ee.slice(0,Ae),ke=ve.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(ve,ke),this.headers.has(ke)?this.headers.get(ke).push(Re):this.headers.set(ke,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const ve=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(ve,Ae),this.maybeSetNormalizedName(ee,ve))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new Y;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const ve=("a"===X.op?this.headers.get(ee):void 0)||[];ve.push(...Ae),this.headers.set(ee,ve);break;case"d":const ke=X.value;if(ke){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===ke.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const se=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(be){return encodeURIComponent(be).replace(se,(X,ee)=>{var Ae;return null!==(Ae=$[ee])&&void 0!==Ae?Ae:X})}function ie(be){return`${be}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(be,X){const ee=new Map;return be.length>0&&be.replace(/^\?/,"").split("&").forEach(ve=>{const ke=ve.indexOf("="),[Re,ze]=-1==ke?[X.decodeKey(ve),""]:[X.decodeKey(ve.slice(0,ke)),X.decodeValue(ve.slice(ke+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const ve=X[Ae];Array.isArray(ve)?ve.forEach(ke=>{ee.push({param:Ae,value:ke,op:"a"})}):ee.push({param:Ae,value:ve,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const ve=Ae.indexOf(ie(X.value));-1!==ve&&Ae.splice(ve,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ce(be){return"undefined"!=typeof ArrayBuffer&&be instanceof ArrayBuffer}function fe(be){return"undefined"!=typeof Blob&&be instanceof Blob}function we(be){return"undefined"!=typeof FormData&&be instanceof FormData}class Se{constructor(X,ee,Ae,ve){let ke;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function Pe(be){switch(be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==Ae?Ae:null,ke=ve):ke=Ae,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new Y),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeQt.set(ht,X.setHeaders[ht]),Yt)),X.setParams&&(ut=Object.keys(X.setParams).reduce((Qt,ht)=>Qt.set(ht,X.setParams[ht]),ut)),new Se(Ae,ve,Re,{params:ut,headers:Yt,context:Un,reportProgress:_t,responseType:ke,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Ve{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new Y,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Ve{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Ve{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Ve{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function ge(be,X){return{body:X,headers:be.headers,context:be.context,observe:be.observe,params:be.params,reportProgress:be.reportProgress,responseType:be.responseType,withCredentials:be.withCredentials}}let pe=(()=>{class be{constructor(ee){this.handler=ee}request(ee,Ae,ve={}){let ke;if(ee instanceof Se)ke=ee;else{let _t,Yt;_t=ve.headers instanceof Y?ve.headers:new Y(ve.headers),ve.params&&(Yt=ve.params instanceof le?ve.params:new le({fromObject:ve.params})),ke=new Se(ee,Ae,void 0!==ve.body?ve.body:null,{headers:_t,context:ve.context,params:Yt,reportProgress:ve.reportProgress,responseType:ve.responseType||"json",withCredentials:ve.withCredentials})}const Re=(0,k.of)(ke).pipe((0,B.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===ve.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(ve.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${ve.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,ve={}){return this.request("PATCH",ee,ge(ve,Ae))}post(ee,Ae,ve={}){return this.request("POST",ee,ge(ve,Ae))}put(ee,Ae,ve={}){return this.request("PUT",ee,ge(ve,Ae))}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(Q))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();class De{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const tt=new f.OlP("HTTP_INTERCEPTORS");let Rt=(()=>{class be{intercept(ee,Ae){return Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();const Ui=/^\)\]\}',?\n/;let ur=(()=>{class be{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const ve=this.xhrFactory.build();if(ve.open(ee.method,ee.urlWithParams),ee.withCredentials&&(ve.withCredentials=!0),ee.headers.forEach((ht,Oe)=>ve.setRequestHeader(ht,Oe.join(","))),ee.headers.has("Accept")||ve.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ht=ee.detectContentTypeHeader();null!==ht&&ve.setRequestHeader("Content-Type",ht)}if(ee.responseType){const ht=ee.responseType.toLowerCase();ve.responseType="json"!==ht?ht:"text"}const ke=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ht=ve.statusText||"OK",Oe=new Y(ve.getAllResponseHeaders()),ln=function si(be){return"responseURL"in be&&be.responseURL?be.responseURL:/^X-Request-URL:/m.test(be.getAllResponseHeaders())?be.getResponseHeader("X-Request-URL"):null}(ve)||ee.url;return Re=new ne({headers:Oe,status:ve.status,statusText:ht,url:ln}),Re},_t=()=>{let{headers:ht,status:Oe,statusText:ln,url:At}=ze(),ii=null;204!==Oe&&(ii=void 0===ve.response?ve.responseText:ve.response),0===Oe&&(Oe=ii?200:0);let Tn=Oe>=200&&Oe<300;if("json"===ee.responseType&&"string"==typeof ii){const cn=ii;ii=ii.replace(Ui,"");try{ii=""!==ii?JSON.parse(ii):null}catch(En){ii=cn,Tn&&(Tn=!1,ii={error:En,text:ii})}}Tn?(Ae.next(new ce({body:ii,headers:ht,status:Oe,statusText:ln,url:At||void 0})),Ae.complete()):Ae.error(new de({error:ii,headers:ht,status:Oe,statusText:ln,url:At||void 0}))},Yt=ht=>{const{url:Oe}=ze(),ln=new de({error:ht,status:ve.status||0,statusText:ve.statusText||"Unknown Error",url:Oe||void 0});Ae.error(ln)};let ut=!1;const Un=ht=>{ut||(Ae.next(ze()),ut=!0);let Oe={type:xe.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(Oe.total=ht.total),"text"===ee.responseType&&!!ve.responseText&&(Oe.partialText=ve.responseText),Ae.next(Oe)},Qt=ht=>{let Oe={type:xe.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(Oe.total=ht.total),Ae.next(Oe)};return ve.addEventListener("load",_t),ve.addEventListener("error",Yt),ve.addEventListener("timeout",Yt),ve.addEventListener("abort",Yt),ee.reportProgress&&(ve.addEventListener("progress",Un),null!==ke&&ve.upload&&ve.upload.addEventListener("progress",Qt)),ve.send(ke),Ae.next({type:xe.Sent}),()=>{ve.removeEventListener("error",Yt),ve.removeEventListener("abort",Yt),ve.removeEventListener("load",_t),ve.removeEventListener("timeout",Yt),ee.reportProgress&&(ve.removeEventListener("progress",Un),null!==ke&&ve.upload&&ve.upload.removeEventListener("progress",Qt)),ve.readyState!==ve.DONE&&ve.abort()}})}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(E.JF))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})();const eo=new f.OlP("XSRF_COOKIE_NAME"),to=new f.OlP("XSRF_HEADER_NAME");class io{}let Rr=(()=>{class be{constructor(ee,Ae,ve){this.doc=ee,this.platform=Ae,this.cookieName=ve,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(E.K0),f.LFG(f.Lbi),f.LFG(eo))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),hr=(()=>{class be{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const ve=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||ve.startsWith("http://")||ve.startsWith("https://"))return Ae.handle(ee);const ke=this.tokenService.getToken();return null!==ke&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,ke)})),Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(io),f.LFG(to))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),Ir=(()=>{class be{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(tt,[]);this.chain=Ae.reduceRight((ve,ke)=>new De(ve,ke),this.backend)}return this.chain.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(f.LFG(G),f.LFG(f.zs3))},be.\u0275prov=f.Yz7({token:be,factory:be.\u0275fac}),be})(),us=(()=>{class be{static disable(){return{ngModule:be,providers:[{provide:hr,useClass:Rt}]}}static withOptions(ee={}){return{ngModule:be,providers:[ee.cookieName?{provide:eo,useValue:ee.cookieName}:[],ee.headerName?{provide:to,useValue:ee.headerName}:[]]}}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=f.oAB({type:be}),be.\u0275inj=f.cJS({providers:[hr,{provide:tt,useExisting:hr,multi:!0},{provide:io,useClass:Rr},{provide:eo,useValue:"XSRF-TOKEN"},{provide:to,useValue:"X-XSRF-TOKEN"}]}),be})(),bi=(()=>{class be{}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=f.oAB({type:be}),be.\u0275inj=f.cJS({providers:[pe,{provide:Q,useClass:Ir},ur,{provide:G,useExisting:ur}],imports:[[us.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),be})()},5e3:(F,N,x)=>{"use strict";x.d(N,{deG:()=>Au,tb:()=>Vw,AFp:()=>Rw,ip1:()=>bp,CZH:()=>as,hGG:()=>Yd,z2F:()=>os,sBO:()=>M_,Sil:()=>b_,_Vd:()=>_d,EJc:()=>Bw,SBq:()=>Dr,qLn:()=>Io,vpe:()=>Ei,tBr:()=>Ns,XFs:()=>it,OlP:()=>Ut,zs3:()=>bn,ZZ4:()=>Wd,aQg:()=>Dp,soG:()=>Cp,YKP:()=>iw,h0i:()=>yl,PXZ:()=>UT,R0b:()=>wn,FiY:()=>Fr,Lbi:()=>kw,g9A:()=>Iw,n_E:()=>xd,Qsj:()=>Zv,FYo:()=>Km,JOm:()=>wr,q3G:()=>Zt,tp0:()=>jr,Rgc:()=>Td,dDg:()=>Lw,GfV:()=>bd,s_b:()=>Md,ifc:()=>ke,eFA:()=>x_,G48:()=>ai,Gpc:()=>z,f3M:()=>Cf,_c5:()=>iA,VLi:()=>jw,c2e:()=>__,zSh:()=>ph,wAp:()=>Qe,vHH:()=>ae,EiD:()=>gC,mCW:()=>wc,qzn:()=>Do,JVY:()=>rC,pB0:()=>Sf,eBb:()=>aC,L6k:()=>Fu,LAX:()=>oC,cg1:()=>Dm,kL8:()=>gv,yhl:()=>Ef,dqk:()=>ut,sIi:()=>ol,CqO:()=>an,QGY:()=>sd,F4k:()=>Xr,RDi:()=>ys,AaK:()=>Q,z3N:()=>Kn,qOj:()=>Th,TTD:()=>Hi,_Bn:()=>Yv,xp6:()=>Qu,uIk:()=>Ni,ekj:()=>Cm,Suo:()=>op,Xpm:()=>ps,lG2:()=>Ft,Yz7:()=>Mt,cJS:()=>Ui,oAB:()=>ca,Yjl:()=>jt,Y36:()=>Er,_UZ:()=>rm,GkF:()=>sm,BQk:()=>od,ynx:()=>ad,qZA:()=>rd,TgZ:()=>Vh,EpF:()=>lm,n5z:()=>df,Ikx:()=>fd,LFG:()=>mi,$8M:()=>va,$Z:()=>nm,NdJ:()=>Bh,CRH:()=>Id,kcU:()=>Ss,O4$:()=>ef,oxw:()=>Ly,ALo:()=>wd,lcZ:()=>a_,xi3:()=>xl,Dn7:()=>o_,Hsn:()=>jy,F$t:()=>Fy,Q6J:()=>kh,s9C:()=>dm,DdM:()=>ow,VKq:()=>t_,WLB:()=>sw,iGM:()=>Hl,MAs:()=>qg,CHM:()=>Jp,oJD:()=>Uu,LSH:()=>Gu,Udp:()=>dd,WFA:()=>dl,d8E:()=>hl,YNc:()=>Ug,_uU:()=>iv,Oqu:()=>Uh,hij:()=>pd,AsE:()=>xm,Gf:()=>ap});var E=x(7579),f=x(727),k=x(8306),O=x(6451),B=x(3099);function j(h){for(let p in h)if(h[p]===j)return p;throw Error("Could not find renamed property on target object.")}function q(h,p){for(const m in p)p.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=p[m])}function Q(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Q).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const p=h.toString();if(null==p)return""+p;const m=p.indexOf("\n");return-1===m?p:p.substring(0,m)}function G(h,p){return null==h||""===h?null===p?"":p:null==p||""===p?h:h+" "+p}const Y=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Q(this())},h}function re(h){return se(h)?h():h}function se(h){return"function"==typeof h&&h.hasOwnProperty(Y)&&h.__forward_ref__===z}class ae extends Error{constructor(p,m){super(function ie(h,p){return`NG0${Math.abs(h)}${p?": "+p:""}`}(p,m)),this.code=p}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,p){const m=p?` in ${p}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Vt(h,p){null==h&&function Ne(h,p,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${p} <=Actual]`))}(p,h,null,"!=")}function Mt(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Ui(h){return{providers:h.providers||[],imports:h.imports||[]}}function si(h){return ur(h,Rr)||ur(h,Ir)}function ur(h,p){return h.hasOwnProperty(p)?h[p]:null}function io(h){return h&&(h.hasOwnProperty(hr)||h.hasOwnProperty(nu))?h[hr]:null}const Rr=j({\u0275prov:j}),hr=j({\u0275inj:j}),Ir=j({ngInjectableDef:j}),nu=j({ngInjectorDef:j});var it=(()=>((it=it||{})[it.Default=0]="Default",it[it.Host=1]="Host",it[it.Self=2]="Self",it[it.SkipSelf=4]="SkipSelf",it[it.Optional=8]="Optional",it))();let us;function Vi(h){const p=us;return us=h,p}function hs(h,p,m){const _=si(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&it.Optional?null:void 0!==p?p:void fe(Q(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),ke=(()=>{return(h=ke||(ke={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",ke;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ut=Re||"undefined"!=typeof global&&global||ze||_t,ht={},Oe=[],ln=j({\u0275cmp:j}),At=j({\u0275dir:j}),ii=j({\u0275pipe:j}),Tn=j({\u0275mod:j}),cn=j({\u0275fac:j}),En=j({__NG_ELEMENT_ID__:j});let Gp=0;function ps(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Oe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||ke.Emulated,id:"c",styles:h.styles||Oe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,v=h.features,w=h.pipes;return _.id+=Gp++,_.inputs=y(h.inputs,m),_.outputs=y(h.outputs),v&&v.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(no):null,_.pipeDefs=w?()=>("function"==typeof w?w():w).map(Sn):null,_})}function no(h){return li(h)||function We(h){return h[At]||null}(h)}function Sn(h){return function Gn(h){return h[ii]||null}(h)}const Ql={};function ca(h){return X(()=>{const p={type:h.type,bootstrap:h.bootstrap||Oe,declarations:h.declarations||Oe,imports:h.imports||Oe,exports:h.exports||Oe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(Ql[h.id]=h.type),p})}function y(h,p){if(null==h)return ht;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],v=C;Array.isArray(C)&&(v=C[1],C=C[0]),m[C]=_,p&&(p[C]=v)}return m}const Ft=ps;function jt(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function li(h){return h[ln]||null}function gi(h,p){const m=h[Tn]||null;if(!m&&!0===p)throw new Error(`Type ${Q(h)} does not have '\u0275mod' property.`);return m}function Oi(h){return Array.isArray(h)&&"object"==typeof h[1]}function Wi(h){return Array.isArray(h)&&!0===h[1]}function Zl(h){return 0!=(8&h.flags)}function Xl(h){return 2==(2&h.flags)}function ao(h){return 1==(1&h.flags)}function dn(h){return null!==h.template}function au(h){return 0!=(512&h[2])}function Di(h,p){return h.hasOwnProperty(cn)?h[cn]:null}class ui{constructor(p,m,_){this.previousValue=p,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function Hi(){return Fi}function Fi(h){return h.type.prototype.ngOnChanges&&(h.setInput=Yp),ec}function ec(){const h=$i(this),p=null==h?void 0:h.current;if(p){const m=h.previous;if(m===ht)h.previous=p;else for(let _ in p)m[_]=p[_];h.current=null,this.ngOnChanges(p)}}function Yp(h,p,m,_){const C=$i(h)||function hi(h,p){return h[ft]=p}(h,{previous:ht,current:null}),v=C.current||(C.current={}),w=C.previous,T=this.declaredInputs[m],S=w[T];v[T]=new ui(S&&S.currentValue,p,w===ht),h[_]=p}Hi.ngInherit=!0;const ft="__ngSimpleChanges__";function $i(h){return h[ft]||null}let Cs;function ys(h){Cs=h}function vs(){return void 0!==Cs?Cs:"undefined"!=typeof document?document:void 0}function gt(h){return!!h.listen}const M={createRenderer:(h,p)=>vs()};function D(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,p){return D(p[h])}function _e(h,p){return D(p[h.index])}function Ht(h,p){return h.data[p]}function Tt(h,p){return h[p]}function mt(h,p){const m=p[h];return Oi(m)?m:m[0]}function yt(h){return 4==(4&h[2])}function Kt(h){return 128==(128&h[2])}function Nt(h,p){return null==p?null:h[p]}function Br(h){h[18]=0}function Dn(h,p){h[5]+=p;let m=h,_=h[3];for(;null!==_&&(1===p&&1===m[5]||-1===p&&0===m[5]);)_[5]+=p,m=_,_=_[3]}const Je={lFrame:fo(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ma(){return Je.bindingsEnabled}function ye(){return Je.lFrame.lView}function vt(){return Je.lFrame.tView}function Jp(h){return Je.lFrame.contextLView=h,h[8]}function Pt(){let h=lu();for(;null!==h&&64===h.type;)h=h.parent;return h}function lu(){return Je.lFrame.currentTNode}function Hn(h,p){const m=Je.lFrame;m.currentTNode=h,m.isParent=p}function Kp(){return Je.lFrame.isParent}function ni(){Je.lFrame.isParent=!1}function nc(){return Je.isInCheckNoChangesMode}function As(h){Je.isInCheckNoChangesMode=h}function wi(){const h=Je.lFrame;let p=h.bindingRootIndex;return-1===p&&(p=h.bindingRootIndex=h.tView.bindingStartIndex),p}function po(){return Je.lFrame.bindingIndex++}function Yn(h){const p=Je.lFrame,m=p.bindingIndex;return p.bindingIndex=p.bindingIndex+h,m}function _a(h,p){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,ba(p)}function ba(h){Je.lFrame.currentDirectiveIndex=h}function du(h){const p=Je.lFrame.currentDirectiveIndex;return-1===p?null:h[p]}function Or(){return Je.lFrame.currentQueryIndex}function uu(h){Je.lFrame.currentQueryIndex=h}function Xp(h){const p=h[1];return 2===p.type?p.declTNode:1===p.type?h[6]:null}function hu(h,p,m){if(m&it.SkipSelf){let C=p,v=h;for(;!(C=C.parent,null!==C||m&it.Host||(C=Xp(v),null===C||(v=v[15],10&C.type))););if(null===C)return!1;p=C,h=v}const _=Je.lFrame=Ts();return _.currentTNode=p,_.lView=h,!0}function rc(h){const p=Ts(),m=h[1];Je.lFrame=p,p.currentTNode=m.firstChild,p.lView=h,p.tView=m,p.contextLView=h,p.bindingIndex=m.bindingStartIndex,p.inI18n=!1}function Ts(){const h=Je.lFrame,p=null===h?null:h.child;return null===p?fo(h):p}function fo(h){const p={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:h,child:null,inI18n:!1};return null!==h&&(h.child=p),p}function pu(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const Es=pu;function ac(){const h=pu();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function Ai(){return Je.lFrame.selectedIndex}function _r(h){Je.lFrame.selectedIndex=h}function zt(){const h=Je.lFrame;return Ht(h.tView,h.selectedIndex)}function ef(){Je.lFrame.currentNamespace="svg"}function Ss(){!function vb(){Je.lFrame.currentNamespace=null}()}function sc(h,p){for(let m=p.directiveStart,_=p.directiveEnd;m<_;m++){const v=h.data[m].type.prototype,{ngAfterContentInit:w,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=v;w&&(h.contentHooks||(h.contentHooks=[])).push(-m,w),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function lc(h,p,m){cc(h,p,3,m)}function Ms(h,p,m,_){(3&h[2])===m&&cc(h,p,m,_)}function Ds(h,p){let m=h[2];(3&m)===p&&(m&=2047,m+=1,h[2]=m)}function cc(h,p,m,_){const v=null!=_?_:-1,w=p.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else p[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===p){h[2]+=2048;try{v.call(T)}finally{}}}else try{v.call(T)}finally{}}class go{constructor(p,m,_){this.factory=p,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function Hs(h,p,m){const _=gt(h);let C=0;for(;Cp){w=v-1;break}}}for(;v>16}(h),_=p;for(;m>0;)_=_[15],m--;return _}let Ca=!0;function bo(h){const p=Ca;return Ca=h,p}let mu=0;function Rs(h,p){const m=fc(h,p);if(-1!==m)return m;const _=p[1];_.firstCreatePass&&(h.injectorIndex=p.length,_u(_.data,h),_u(p,null),_u(_.blueprint,null));const C=ya(h,p),v=h.injectorIndex;if(rf(C)){const w=_o(C),T=Cr(C,p),S=T[1].data;for(let P=0;P<8;P++)p[v+P]=T[w+P]|S[w+P]}return p[v+8]=C,v}function _u(h,p){h.push(0,0,0,0,0,0,0,0,p)}function fc(h,p){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===p[h.injectorIndex+8]?-1:h.injectorIndex}function ya(h,p){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=p;for(;null!==C;){const v=C[1],w=v.type;if(_=2===w?v.declTNode:1===w?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function gc(h,p,m){!function Db(h,p,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(En)&&(_=m[En]),null==_&&(_=m[En]=mu++);const C=255&_;p.data[h+(C>>5)]|=1<=0?255&p:Hb:p}(m);if("function"==typeof v){if(!hu(p,h,_))return _&it.Host?sf(C,m,_):Cu(p,m,_,C);try{const w=v(_);if(null!=w||_&it.Optional)return w;fe(m)}finally{Es()}}else if("number"==typeof v){let w=null,T=fc(h,p),S=-1,P=_&it.Host?p[16][6]:null;for((-1===T||_&it.SkipSelf)&&(S=-1===T?ya(h,p):p[T+8],-1!==S&&cf(_,!1)?(w=p[1],T=_o(S),p=Cr(S,p)):T=-1);-1!==T;){const R=p[1];if(Lr(v,T,R.data)){const L=Pb(T,p,m,w,_,P);if(L!==lf)return L}S=p[T+8],-1!==S&&cf(_,p[1].data[T+8]===P)&&Lr(v,T,p)?(w=R,T=_o(S),p=Cr(S,p)):T=-1}}}return Cu(p,m,_,C)}const lf={};function Hb(){return new yo(Pt(),ye())}function Pb(h,p,m,_,C,v){const w=p[1],T=w.data[h+8],R=Co(T,w,m,null==_?Xl(T)&&Ca:_!=w&&0!=(3&T.type),C&it.Host&&v===T);return null!==R?hn(p,w,R,T):lf}function Co(h,p,m,_,C){const v=h.providerIndexes,w=p.data,T=1048575&v,S=h.directiveStart,R=v>>20,W=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=w[S];if(te&&dn(te)&&te.type===m)return S}return null}function hn(h,p,m,_){let C=h[m];const v=p.data;if(function tf(h){return h instanceof go}(C)){const w=C;w.resolving&&function Me(h,p){const m=p?`. Dependency path: ${p.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(v[m]));const T=bo(w.canSeeViewProviders);w.resolving=!0;const S=w.injectImpl?Vi(w.injectImpl):null;hu(h,_,it.Default);try{C=h[m]=w.factory(void 0,v,h,_),p.firstCreatePass&&m>=_.directiveStart&&function Ab(h,p,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:v}=p.type.prototype;if(_){const w=Fi(p);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),v&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v))}(m,v[m],p)}finally{null!==S&&Vi(S),bo(T),w.resolving=!1,Es()}}return C}function Lr(h,p,m){return!!(m[p+(h>>5)]&1<{const p=h.prototype.constructor,m=p[cn]||vu(p),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const v=C[cn]||vu(C);if(v&&v!==m)return v;C=Object.getPrototypeOf(C)}return v=>new v})}function vu(h){return se(h)?()=>{const p=vu(re(h));return p&&p()}:Di(h)}function va(h){return function bu(h,p){if("class"===p)return h.classes;if("style"===p)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const v=m[C];if(hc(v))break;if(0===v)C+=2;else if("number"==typeof v)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(v===p)return m[C+1];C+=2}}}return null}(Pt(),h)}const vo="__parameters__";function wa(h,p,m){return X(()=>{const _=function wu(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(p);function C(...v){if(this instanceof C)return _.apply(this,v),this;const w=new C(...v);return T.annotation=w,T;function T(S,P,R){const L=S.hasOwnProperty(vo)?S[vo]:Object.defineProperty(S,vo,{value:[]})[vo];for(;L.length<=R;)L.push(null);return(L[R]=L[R]||[]).push(w),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class Ut{constructor(p,m){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Mt({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Au=new Ut("AnalyzeForEntryComponents");function Ki(h,p){void 0===p&&(p=h);for(let m=0;mArray.isArray(m)?Zi(m,p):p(m))}function Eu(h,p,m){p>=h.length?h.push(m):h.splice(p,0,m)}function mc(h,p){return p>=h.length-1?h.pop():h.splice(p,1)[0]}function Bs(h,p){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function Fb(h,p,m,_){let C=h.length;if(C==p)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>p;)h[C]=h[C-2],C--;h[p]=m,h[p+1]=_}}(h,_,p,m)),_}function Mu(h,p){const m=xo(h,p);if(m>=0)return h[1|m]}function xo(h,p){return function pf(h,p,m){let _=0,C=h.length>>m;for(;C!==_;){const v=_+(C-_>>1),w=h[v<p?C=v:_=v+1}return~(C<({token:h})),-1),Fr=To(wa("Optional"),8),jr=To(wa("SkipSelf"),4);let yr,Us;function Mo(h){var p;return(null===(p=function Ou(){if(void 0===yr&&(yr=null,ut.trustedTypes))try{yr=ut.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return yr}())||void 0===p?void 0:p.createHTML(h))||h}function Xb(h){var p;return(null===(p=function Gs(){if(void 0===Us&&(Us=null,ut.trustedTypes))try{Us=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Us}())||void 0===p?void 0:p.createHTML(h))||h}class Aa{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class eC extends Aa{getTypeName(){return"HTML"}}class vc extends Aa{getTypeName(){return"Style"}}class tC extends Aa{getTypeName(){return"Script"}}class iC extends Aa{getTypeName(){return"URL"}}class nC extends Aa{getTypeName(){return"ResourceURL"}}function Kn(h){return h instanceof Aa?h.changingThisBreaksApplicationSecurity:h}function Do(h,p){const m=Ef(h);if(null!=m&&m!==p){if("ResourceURL"===m&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===p}function Ef(h){return h instanceof Aa&&h.getTypeName()||null}function rC(h){return new eC(h)}function Fu(h){return new vc(h)}function aC(h){return new tC(h)}function oC(h){return new iC(h)}function Sf(h){return new nC(h)}class o0{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p=""+p;try{const m=(new window.DOMParser).parseFromString(Mo(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class sC{constructor(p){if(this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(p){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=Mo(p),m;const _=this.inertDocument.createElement("body");return _.innerHTML=Mo(p),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(p){const m=p.attributes;for(let C=m.length-1;0wc(p.trim())).join(", ")),this.buf.push(" ",w,'="',fn(S),'"')}var h;return this.buf.push(">"),!0}endElement(p){const m=p.nodeName.toLowerCase();ju.hasOwnProperty(m)&&!fi.hasOwnProperty(m)&&(this.buf.push(""))}chars(p){this.buf.push(fn(p))}checkClobberedElement(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return m}}const xc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zu=/([^\#-~ |!])/g;function fn(h){return h.replace(/&/g,"&").replace(xc,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(zu,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(//g,">")}let Ro;function gC(h,p){let m=null;try{Ro=Ro||function Mf(h){const p=new sC(h);return function lC(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch(h){return!1}}()?new o0(p):p}(h);let _=p?String(p):"";m=Ro.getInertBodyElement(_);let C=5,v=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=v,v=m.innerHTML,m=Ro.getInertBodyElement(_)}while(_!==v);return Mo((new fC).sanitizeChildren(qs(m)||m))}finally{if(m){const _=qs(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function qs(h){return"content"in h&&function Df(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var Zt=(()=>((Zt=Zt||{})[Zt.NONE=0]="NONE",Zt[Zt.HTML=1]="HTML",Zt[Zt.STYLE=2]="STYLE",Zt[Zt.SCRIPT=3]="SCRIPT",Zt[Zt.URL=4]="URL",Zt[Zt.RESOURCE_URL=5]="RESOURCE_URL",Zt))();function Uu(h){const p=Ws();return p?Xb(p.sanitize(Zt.HTML,h)||""):Do(h,"HTML")?Xb(Kn(h)):gC(vs(),le(h))}function Gu(h){const p=Ws();return p?p.sanitize(Zt.URL,h)||"":Do(h,"URL")?Kn(h):wc(le(h))}function Ws(){const h=ye();return h&&h[12]}const Ec="__ngContext__";function Ri(h,p){h[Ec]=p}function If(h){const p=function Sc(h){return h[Ec]||null}(h);return p?Array.isArray(p)?p:p.lView:null}function Vf(h){return h.ngOriginalError}function C0(h,...p){h.error(...p)}class Io{constructor(){this._console=console}handleError(p){const m=this._findOriginalError(p),_=function b0(h){return h&&h.ngErrorLogger||C0}(p);_(this._console,"ERROR",p),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(p){let m=p&&Vf(p);for(;m&&Vf(m);)m=Vf(m);return m||null}}const TC=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ut))();function vr(h){return h instanceof Function?h():h}var wr=(()=>((wr=wr||{})[wr.Important=1]="Important",wr[wr.DashCase=2]="DashCase",wr))();function Of(h,p){return undefined(h,p)}function Ys(h){const p=h[3];return Wi(p)?p[3]:p}function Ff(h){return DC(h[13])}function jf(h){return DC(h[4])}function DC(h){for(;null!==h&&!Wi(h);)h=h[4];return h}function Qs(h,p,m,_,C){if(null!=_){let v,w=!1;Wi(_)?v=_:Oi(_)&&(w=!0,_=_[0]);const T=D(_);0===h&&null!==m?null==C?VC(p,m,T):ko(p,m,T,C||null,!0):1===h&&null!==m?ko(p,m,T,C||null,!0):2===h?function zC(h,p,m){const _=qu(h,p);_&&function z0(h,p,m,_){gt(h)?h.removeChild(p,m,_):p.removeChild(m)}(h,_,p,m)}(p,T,w):3===h&&p.destroyNode(T),null!=v&&function q0(h,p,m,_,C){const v=m[7];v!==D(m)&&Qs(p,h,_,v,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const v=mc(h,10+p);!function k0(h,p){Mc(h,p,p[11],2,null,null),p[0]=null,p[6]=null}(_[1],_);const w=v[19];null!==w&&w.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function RC(h,p){if(!(256&p[2])){const m=p[11];gt(m)&&m.destroyNode&&Mc(h,p,m,3,null,null),function O0(h){let p=h[13];if(!p)return Gf(h[1],h);for(;p;){let m=null;if(Oi(p))m=p[13];else{const _=p[10];_&&(m=_)}if(!m){for(;p&&!p[4]&&p!==h;)Oi(p)&&Gf(p[1],p),p=p[3];null===p&&(p=h),Oi(p)&&Gf(p[1],p),m=p&&p[4]}p=m}}(p)}}function Gf(h,p){if(!(256&p[2])){p[2]&=-129,p[2]|=256,function N0(h,p){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),v+=2}else{const w=_[C=m[v+1]];m[v].call(w)}if(null!==_){for(let v=C+1;v<_.length;v++)_[v]();p[7]=null}}(h,p),1===p[1].type&>(p[11])&&p[11].destroy();const m=p[17];if(null!==m&&Wi(p[3])){m!==p[3]&&PC(m,p);const _=p[19];null!==_&&_.detachView(h)}}}function IC(h,p,m){return function kC(h,p,m){let _=p;for(;null!==_&&40&_.type;)_=(p=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===ke.None||C===ke.Emulated)return null}return _e(_,m)}(h,p.parent,m)}function ko(h,p,m,_,C){gt(h)?h.insertBefore(p,m,_,C):p.insertBefore(m,_,C)}function VC(h,p,m){gt(h)?h.appendChild(p,m):p.appendChild(m)}function BC(h,p,m,_,C){null!==_?ko(h,p,m,_,C):VC(h,p,m)}function qu(h,p){return gt(h)?h.parentNode(p):p.parentNode}function OC(h,p,m){return FC(h,p,m)}let FC=function LC(h,p,m){return 40&h.type?_e(h,m):null};function Wu(h,p,m,_){const C=IC(h,_,p),v=p[11],T=OC(_.parent||p[6],_,p);if(null!=C)if(Array.isArray(m))for(let S=0;Sv?"":C[L+1].toLowerCase();const te=8&_?W:null;if(te&&-1!==qC(te,P,0)||2&_&&P!==W){if(In(_))return!1;w=!0}}}}else{if(!w&&!In(_)&&!In(S))return!1;if(w&&In(S))continue;w=!1,_=S|1&_}}return In(_)||w}function In(h){return 0==(1&h)}function $C(h,p,m,_){if(null===p)return-1;let C=0;if(_||!m){let v=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+w:4&_&&(C+=" "+w);else""!==C&&!In(w)&&(p+=Yu(v,C),C=""),_=w,v=v||!In(_);m++}return""!==C&&(p+=Yu(v,C)),p}const at={};function Qu(h){Xf(vt(),ye(),Ai()+h,nc())}function Xf(h,p,m,_){if(!_)if(3==(3&p[2])){const v=h.preOrderCheckHooks;null!==v&&lc(p,v,m)}else{const v=h.preOrderHooks;null!==v&&Ms(p,v,0,m)}_r(m)}function zr(h,p){return h<<17|p<<2}function gn(h){return h>>17&32767}function Hc(h){return 2|h}function Ur(h){return(131068&h)>>2}function Ju(h,p){return-131069&h|p<<2}function Ku(h){return 1|h}function eh(h,p){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&Xf(h,p,20,nc()),m(_,C)}finally{_r(v)}}function nh(h,p,m){if(Zl(p)){const C=p.directiveEnd;for(let v=p.directiveStart;v0;){const m=h[--p];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,w)}}function Qr(h,p){null!==h.hostBindings&&h.hostBindings(1,p)}function oh(h,p){p.flags|=2,(h.components||(h.components=[])).push(p.index)}function Cg(h,p,m){if(m){if(p.exportAs)for(let _=0;_0&&Xs(m)}}function Xs(h){for(let _=Ff(h);null!==_;_=jf(_))for(let C=10;C<_.length;C++){const v=_[C];if(1024&v[2]){const w=v[1];Lt(w,v,w.template,v[8])}else v[5]>0&&Xs(v)}const m=h[1].components;if(null!==m)for(let _=0;_0&&Xs(C)}}function Da(h,p){const m=mt(p,h),_=m[1];(function ch(h,p){for(let m=p.length;mPromise.resolve(null))();function Gc(h){return h[7]||(h[7]=[])}function hh(h){return h.cleanup||(h.cleanup=[])}function el(h,p,m){return(null===h||dn(h))&&(m=function V(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[p.index])),m[11]}function tl(h,p){const m=h[9],_=m?m.get(Io,null):null;_&&_.handleError(p)}function Tg(h,p,m,_,C){for(let v=0;vthis.processProvider(T,p,m)),Zi([p],T=>this.processInjectorType(T,[],v)),this.records.set(Wc,zo(void 0,this));const w=this.records.get(ph);this.scope=null!=w?w.value:null,this.source=C||("object"==typeof p?null:Q(p))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(p=>p.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(p,m=Fs,_=it.Default){this.assertNotDestroyed();const C=_f(this),v=Vi(void 0);try{if(!(_&it.SkipSelf)){let T=this.records.get(p);if(void 0===T){const S=function Yc(h){return"function"==typeof h||"object"==typeof h&&h instanceof Ut}(p)&&si(p);T=S&&this.injectableDefInScope(S)?zo(al(p),nl):null,this.records.set(p,T)}if(null!=T)return this.hydrate(p,T)}return(_&it.Self?rl():this.parent).get(p,m=_&it.Optional&&m===Fs?null:m)}catch(w){if("NullInjectorError"===w.name){if((w[bc]=w[bc]||[]).unshift(Q(p)),C)throw w;return function $b(h,p,m,_){const C=h[bc];throw p[mf]&&C.unshift(p[mf]),h.message=function Yb(h,p,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Q(p);if(Array.isArray(p))C=p.map(Q).join(" -> ");else if("object"==typeof p){let v=[];for(let w in p)if(p.hasOwnProperty(w)){let T=p[w];v.push(w+":"+("string"==typeof T?JSON.stringify(T):Q(T)))}C=`{${v.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(gf,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[bc]=null,h}(w,p,"R3InjectorError",this.source)}throw w}finally{Vi(v),_f(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(p=>this.get(p))}toString(){const p=[];return this.records.forEach((_,C)=>p.push(Q(C))),`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(p,m,_){if(!(p=re(p)))return!1;let C=io(p);const v=null==C&&p.ngModule||void 0,w=void 0===v?p:v,T=-1!==_.indexOf(w);if(void 0!==v&&(C=io(v)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(w);try{Zi(C.imports,L=>{this.processInjectorType(L,m,_)&&(void 0===R&&(R=[]),R.push(L))})}finally{}if(void 0!==R)for(let L=0;Lthis.processProvider(he,W,te||Oe))}}this.injectorDefTypes.add(w);const S=Di(w)||(()=>new w);this.records.set(w,zo(S,nl));const P=C.providers;if(null!=P&&!T){const R=p;Zi(P,L=>this.processProvider(L,R,P))}return void 0!==v&&void 0!==p.providers}processProvider(p,m,_){let C=Uo(p=re(p))?p:re(p&&p.provide);const v=function gy(h,p,m){return Mg(h)?zo(void 0,h.useValue):zo(Sg(h),nl)}(p);if(Uo(p)||!0!==p.multi)this.records.get(C);else{let w=this.records.get(C);w||(w=zo(void 0,nl,!0),w.factory=()=>Cc(w.multi),this.records.set(C,w)),C=p,w.multi.push(p)}this.records.set(C,v)}hydrate(p,m){return m.value===nl&&(m.value=py,m.value=m.factory()),"object"==typeof m.value&&m.value&&function _h(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(p){if(!p.providedIn)return!1;const m=re(p.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function al(h){const p=si(h),m=null!==p?p.factory:Di(h);if(null!==m)return m;if(h instanceof Ut)throw new ae(204,!1);if(h instanceof Function)return function Eg(h){const p=h.length;if(p>0)throw Bs(p,"?"),new ae(204,!1);const m=function eo(h){const p=h&&(h[Rr]||h[Ir]);if(p){const m=function to(h){if(h.hasOwnProperty("name"))return h.name;const p=(""+h).match(/^function\s*([^\s(]+)/);return null===p?"":p[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),p}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function Sg(h,p,m){let _;if(Uo(h)){const C=re(h);return Di(C)||al(C)}if(Mg(h))_=()=>re(h.useValue);else if(function $c(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...Cc(h.deps||[]));else if(function my(h){return!(!h||!h.useExisting)}(h))_=()=>mi(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function mh(h){return!!h.deps}(h))return Di(C)||al(C);_=()=>new C(...Cc(h.deps))}return _}function zo(h,p,m=!1){return{factory:h,value:p,multi:m?[]:void 0}}function Mg(h){return null!==h&&"object"==typeof h&&qb in h}function Uo(h){return"function"==typeof h}let bn=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return fh({name:""},_,m,"");{const v=null!==(C=m.name)&&void 0!==C?C:"";return fh({name:v},m.parent,m.providers,v)}}}return h.THROW_IF_NOT_FOUND=Fs,h.NULL=new il,h.\u0275prov=Mt({token:h,providedIn:"any",factory:()=>mi(Wc)}),h.__NG_ELEMENT_ID__=-1,h})();function vy(h,p){sc(If(h)[1],Pt())}function Th(h){let p=function xh(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;p;){let C;if(dn(h))C=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new ae(903,"");C=p.\u0275dir}if(C){if(m){_.push(C);const w=h;w.inputs=Sh(h.inputs),w.declaredInputs=Sh(h.declaredInputs),w.outputs=Sh(h.outputs);const T=C.hostBindings;T&&xy(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&wy(h,S),P&&Ay(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),dn(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const v=C.features;if(v)for(let w=0;w=0;_--){const C=h[_];C.hostVars=p+=C.hostVars,C.hostAttrs=pc(C.hostAttrs,m=pc(m,C.hostAttrs))}}(_)}function Sh(h){return h===ht?{}:h===Oe?[]:h}function wy(h,p){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{p(_,C),m(_,C)}:p}function Ay(h,p){const m=h.contentQueries;h.contentQueries=m?(_,C,v)=>{p(_,C,v),m(_,C,v)}:p}function xy(h,p){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{p(_,C),m(_,C)}:p}let Go=null;function er(){if(!Go){const h=ut.Symbol;if(h&&h.iterator)Go=h.iterator;else{const p=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(D(pt[_.index])):_.index;if(gt(m)){let pt=null;if(!T&&S&&(pt=function fx(h,p,m,_){const C=h.cleanup;if(null!=C)for(let v=0;vS?T[S]:null}"string"==typeof w&&(v+=2)}return null}(h,p,C,_.index)),null!==pt)(pt.__ngLastListenerFn__||pt).__ngNextListenerFn__=v,pt.__ngLastListenerFn__=v,te=!1;else{v=cm(_,p,L,v,!1);const St=m.listen(je,C,v);W.push(v,St),R&&R.push(C,$e,me,me+1)}}else v=cm(_,p,L,v,!0),je.addEventListener(C,v,w),W.push(v),R&&R.push(C,$e,me,w)}else v=cm(_,p,L,v,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const He=Ee.length;if(He)for(let je=0;je0;)p=p[15],h--;return p}(h,Je.lFrame.contextLView))[8]}(h)}function gx(h,p){let m=null;const _=function YC(h){const p=h.attrs;if(null!=p){const m=p.indexOf(5);if(0==(1&m))return p[m+1]}return null}(h);for(let C=0;C=0}function dd(h,p,m){return Fn(h,p,m,!1),dd}function Cm(h,p){return Fn(h,p,null,!0),Cm}function Fn(h,p,m,_){const C=ye(),v=vt(),w=Yn(2);v.firstUpdatePass&&function vm(h,p,m,_){const C=h.data;if(null===C[m+1]){const v=C[Ai()],w=function ym(h,p){return p>=h.expandoStartIndex}(h,m);(function tv(h,p){return 0!=(h.flags&(p?16:32))})(v,_)&&null===p&&!w&&(p=!1),p=function hd(h,p,m,_){const C=du(h);let v=_?p.residualClasses:p.residualStyles;if(null===C)0===(_?p.classBindings:p.styleBindings)&&(m=Xo(m=wm(null,h,p,m,_),p.attrs,_),v=null);else{const w=p.directiveStylingLast;if(-1===w||h[w]!==C)if(m=wm(C,h,p,m,_),null===v){let S=function Qy(h,p,m){const _=m?p.classBindings:p.styleBindings;if(0!==Ur(_))return h[gn(_)]}(h,p,_);void 0!==S&&Array.isArray(S)&&(S=wm(null,h,p,S[1],_),S=Xo(S,p.attrs,_),function Jy(h,p,m,_){h[gn(m?p.classBindings:p.styleBindings)]=_}(h,p,_,S))}else v=function Ky(h,p,m){let _;const C=p.directiveEnd;for(let v=1+p.directiveStylingLast;v0)&&(P=!0)}else R=m;if(C)if(0!==S){const W=gn(h[T+1]);h[_+1]=zr(W,T),0!==W&&(h[W+1]=Ju(h[W+1],_)),h[T+1]=function Y0(h,p){return 131071&h|p<<17}(h[T+1],_)}else h[_+1]=zr(T,0),0!==T&&(h[T+1]=Ju(h[T+1],_)),T=_;else h[_+1]=zr(S,0),0===T?T=_:h[S+1]=Ju(h[S+1],_),S=_;P&&(h[_+1]=Hc(h[_+1])),On(h,R,_,!0),On(h,R,_,!1),function _x(h,p,m,_,C){const v=C?h.residualClasses:h.residualStyles;null!=v&&"string"==typeof p&&xo(v,p)>=0&&(m[_+1]=Ku(m[_+1]))}(p,R,h,_,v),w=zr(T,S),v?p.classBindings=w:p.styleBindings=w}(C,v,p,m,w,_)}}(v,h,w,_),p!==at&&Ti(C,w,p)&&function Xy(h,p,m,_,C,v,w,T){if(!(3&p.type))return;const S=h.data,P=S[T+1];zh(function JC(h){return 1==(1&h)}(P)?ev(S,p,m,C,Ur(P),w):void 0)||(zh(v)||function QC(h){return 2==(2&h)}(P)&&(v=ev(S,null,m,C,T,w)),function W0(h,p,m,_,C){const v=gt(h);if(p)C?v?h.addClass(m,_):m.classList.add(_):v?h.removeClass(m,_):m.classList.remove(_);else{let w=-1===_.indexOf("-")?void 0:wr.DashCase;if(null==C)v?h.removeStyle(m,_,w):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),w|=wr.Important),v?h.setStyle(m,_,C,w):m.style.setProperty(_,C,T?"important":"")}}}(_,w,ue(Ai(),m),C,v))}(v,v.data[Ai()],C,C[11],h,C[w+1]=function Cx(h,p){return null==h||("string"==typeof p?h+=p:"object"==typeof h&&(h=Q(Kn(h)))),h}(p,m),_,w)}function wm(h,p,m,_,C){let v=null;const w=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,L=null===R;let W=m[C+1];W===at&&(W=L?Oe:void 0);let te=L?Mu(W,_):R===_?W:void 0;if(P&&!zh(te)&&(te=Mu(S,_)),zh(te)&&(T=te,w))return T;const he=h[C+1];C=w?gn(he):Ur(he)}if(null!==p){let S=v?p.residualClasses:p.residualStyles;null!=S&&(T=Mu(S,_))}return T}function zh(h){return void 0!==h}function iv(h,p=""){const m=ye(),_=vt(),C=h+20,v=_.firstCreatePass?Wr(_,C,1,p,null):_.data[C],w=m[C]=function Nf(h,p){return gt(h)?h.createText(p):h.createTextNode(p)}(m[11],p);Wu(_,m,w,v),Hn(v,!1)}function Uh(h){return pd("",h,""),Uh}function pd(h,p,m){const _=ye(),C=qo(_,h,p,m);return C!==at&&kn(_,Ai(),C),pd}function xm(h,p,m,_,C){const v=ye(),w=Wo(v,h,p,m,_,C);return w!==at&&kn(v,Ai(),w),xm}function fd(h,p,m){const _=ye();return Ti(_,po(),p)&&en(vt(),zt(),_,h,p,_[11],m,!0),fd}function hl(h,p,m){const _=ye();if(Ti(_,po(),p)){const v=vt(),w=zt();en(v,w,_,h,p,el(du(v.data),w,_),m,!0)}return hl}const ea=void 0;var fv=["en",[["a","p"],["AM","PM"],ea],[["AM","PM"],ea,ea],[["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"]],ea,[["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"]],ea,[["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}",ea,"{1} 'at' {0}",ea],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pv(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let La={};function Dm(h){const p=function Hm(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=mv(p);if(m)return m;const _=p.split("-")[0];if(m=mv(_),m)return m;if("en"===_)return fv;throw new Error(`Missing locale data for the locale "${h}".`)}function gv(h){return Dm(h)[Qe.PluralCase]}function mv(h){return h in La||(La[h]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[h]),La[h]}var Qe=(()=>((Qe=Qe||{})[Qe.LocaleId=0]="LocaleId",Qe[Qe.DayPeriodsFormat=1]="DayPeriodsFormat",Qe[Qe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qe[Qe.DaysFormat=3]="DaysFormat",Qe[Qe.DaysStandalone=4]="DaysStandalone",Qe[Qe.MonthsFormat=5]="MonthsFormat",Qe[Qe.MonthsStandalone=6]="MonthsStandalone",Qe[Qe.Eras=7]="Eras",Qe[Qe.FirstDayOfWeek=8]="FirstDayOfWeek",Qe[Qe.WeekendRange=9]="WeekendRange",Qe[Qe.DateFormat=10]="DateFormat",Qe[Qe.TimeFormat=11]="TimeFormat",Qe[Qe.DateTimeFormat=12]="DateTimeFormat",Qe[Qe.NumberSymbols=13]="NumberSymbols",Qe[Qe.NumberFormats=14]="NumberFormats",Qe[Qe.CurrencyCode=15]="CurrencyCode",Qe[Qe.CurrencySymbol=16]="CurrencySymbol",Qe[Qe.CurrencyName=17]="CurrencyName",Qe[Qe.Currencies=18]="Currencies",Qe[Qe.Directionality=19]="Directionality",Qe[Qe.PluralCase=20]="PluralCase",Qe[Qe.ExtraData=21]="ExtraData",Qe))();const ar="en-US";let Qh=ar;function Ym(h,p,m,_,C){if(h=re(h),Array.isArray(h))for(let v=0;v>20;if(Uo(h)||!h.multi){const te=new go(S,C,Er),he=ep(T,p,C?R:R+W,L);-1===he?(gc(Rs(P,w),v,T),ns(v,h,p.length),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),w.push(te)):(m[he]=te,w[he]=te)}else{const te=ep(T,p,R+W,L),he=ep(T,p,R,R+W),Ee=te>=0&&m[te],He=he>=0&&m[he];if(C&&!He||!C&&!Ee){gc(Rs(P,w),v,T);const je=function rT(h,p,m,_,C){const v=new go(h,m,Er);return v.multi=[],v.index=p,v.componentProviders=0,$v(v,C,_&&!m),v}(C?nT:iT,m.length,C,_,S);!C&&He&&(m[he].providerFactory=je),ns(v,h,p.length,0),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),w.push(je)}else ns(v,h,te>-1?te:he,$v(m[C?he:te],S,!C&&_));!C&&_&&He&&m[he].componentProviders++}}}function ns(h,p,m,_){const C=Uo(p),v=function Pa(h){return!!h.useClass}(p);if(C||v){const S=(v?re(p.useClass):p).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&p.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function $v(h,p,m){return m&&h.componentProviders++,h.multi.push(p)-1}function ep(h,p,m,_){for(let C=m;C<_;C++)if(p[C]===h)return C;return-1}function iT(h,p,m,_){return Qm(this.multi,[])}function nT(h,p,m,_){const C=this.multi;let v;if(this.providerFactory){const w=this.providerFactory.componentProviders,T=hn(m,m[1],this.providerFactory.index,_);v=T.slice(0,w),Qm(C,v);for(let S=w;S{m.providersResolver=(_,C)=>function tT(h,p,m){const _=vt();if(_.firstCreatePass){const C=dn(h);Ym(m,_.data,_.blueprint,C,!0),Ym(p,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,p)}}class Jm{}class oT{resolveComponentFactory(p){throw function Jv(h){const p=Error(`No component factory found for ${Q(h)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=h,p}(p)}}let _d=(()=>{class h{}return h.NULL=new oT,h})();function sT(){return Cl(Pt(),ye())}function Cl(h,p){return new Dr(_e(h,p))}let Dr=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=sT,h})();function lT(h){return h instanceof Dr?h.nativeElement:h}class Km{}let Zv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function uT(){const h=ye(),m=mt(Pt().index,h);return function dT(h){return h[11]}(Oi(m)?m:h)}(),h})(),hT=(()=>{class h{}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:()=>null}),h})();class bd{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const Xv=new bd("13.2.2"),tp={};function ip(h,p,m,_,C=!1){for(;null!==m;){const v=p[m.index];if(null!==v&&_.push(D(v)),Wi(v))for(let T=10;T-1&&(Uf(p,_),mc(m,_))}this._attachedToViewContainer=!1}RC(this._lView[1],this._lView)}onDestroy(p){ry(this._lView[1],this._lView,null,p)}markForCheck(){dh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zn(this._lView[1],this._lView,this.context)}checkNoChanges(){!function xg(h,p,m){As(!0);try{Zn(h,p,m)}finally{As(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function B0(h,p){Mc(h,p,p[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=p}}class pT extends Cd{constructor(p){super(p),this._view=p}detectChanges(){uh(this._view)}checkNoChanges(){!function Xn(h){As(!0);try{uh(h)}finally{As(!1)}}(this._view)}get context(){return null}}class ew extends _d{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const m=li(p);return new Zm(m,this.ngModule)}}function tw(h){const p=[];for(let m in h)h.hasOwnProperty(m)&&p.push({propName:h[m],templateName:m});return p}const yd=new Ut("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>TC});class Zm extends Jm{constructor(p,m){super(),this.componentDef=p,this.ngModule=m,this.componentType=p.type,this.selector=function Xt(h){return h.map(Zf).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return tw(this.componentDef.inputs)}get outputs(){return tw(this.componentDef.outputs)}create(p,m,_,C){const v=(C=C||this.ngModule)?function gT(h,p){return{get:(m,_,C)=>{const v=h.get(m,tp,C);return v!==tp||_===tp?v:p.get(m,_,C)}}}(p,C.injector):p,w=v.get(Km,M),T=v.get(hT,null),S=w.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function Ks(h,p,m){if(gt(h))return h.selectRootElement(p,m===ke.ShadowDom);let _="string"==typeof p?h.querySelector(p):p;return _.textContent="",_}(S,_,this.componentDef.encapsulation):zf(w.createRenderer(null,this.componentDef),P,function fT(h){const p=h.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(P)),L=this.componentDef.onPush?576:528,W=function Ah(h,p){return{components:[],scheduler:h||TC,clean:dy,playerHandler:p||null,flags:0}}(),te=bt(0,null,null,1,0,null,null,null,null,null),he=Oo(null,te,W,L,null,null,w,S,T,v);let Ee,He;rc(he);try{const je=function kg(h,p,m,_,C,v){const w=m[1];m[20]=h;const S=Wr(w,20,2,"#host",null),P=S.mergedAttrs=p.hostAttrs;null!==P&&(qc(S,P,!0),null!==h&&(Hs(C,h,P),null!==S.classes&&Yf(C,h,S.classes),null!==S.styles&&GC(C,h,S.styles)));const R=_.createRenderer(h,p),L=Oo(m,$r(p),null,p.onPush?64:16,m[20],S,_,R,v||null,null);return w.firstCreatePass&&(gc(Rs(S,m),w,p.type),oh(w,S),sh(S,m.length,1)),Ha(m,L),m[20]=L}(R,this.componentDef,he,w,S);if(R)if(_)Hs(S,R,["ng-version",Xv.full]);else{const{attrs:me,classes:$e}=function Wt(h){const p=[],m=[];let _=1,C=2;for(;_0&&Yf(S,R,$e.join(" "))}if(He=Ht(te,20),void 0!==m){const me=He.projection=[];for(let $e=0;$eS(w,p)),p.contentQueries){const S=Pt();p.contentQueries(1,w,S.directiveStart)}const T=Pt();return!v.firstCreatePass||null===p.hostBindings&&null===p.hostAttrs||(_r(T.index),Fc(m[1],T,0,T.directiveStart,T.directiveEnd,p),Qr(p,w)),w}(je,this.componentDef,he,W,[vy]),Xi(te,he,null)}finally{ac()}return new Xm(this.componentType,Ee,Cl(He,he),he,He)}}class Xm extends class Qv{}{constructor(p,m,_,C,v){super(),this.location=_,this._rootLView=C,this._tNode=v,this.instance=m,this.hostView=this.changeDetectorRef=new pT(C),this.componentType=p}get injector(){return new yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}class yl{}class iw{}const vl=new Map;class aw extends yl{constructor(p,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ew(this);const _=gi(p);this._bootstrapComponents=vr(_.bootstrap),this._r3Injector=gh(p,m,[{provide:yl,useValue:this},{provide:_d,useValue:this.componentFactoryResolver}],Q(p)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(p)}get(p,m=bn.THROW_IF_NOT_FOUND,_=it.Default){return p===bn||p===yl||p===Wc?this:this._r3Injector.get(p,m,_)}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class e_ extends iw{constructor(p){super(),this.moduleType=p,null!==gi(p)&&function bT(h){const p=new Set;!function m(_){const C=gi(_,!0),v=C.id;null!==v&&(function nw(h,p,m){if(p&&p!==m)throw new Error(`Duplicate module registered for ${h} - ${Q(p)} vs ${Q(p.name)}`)}(v,vl.get(v),_),vl.set(v,_));const w=vr(C.imports);for(const T of w)p.has(T)||(p.add(T),m(T))}(h)}(p)}create(p){return new aw(this.moduleType,p)}}function ow(h,p,m){const _=wi()+h,C=ye();return C[_]===at?tr(C,_,m?p.call(m):p()):function Jr(h,p){return h[p]}(C,_)}function t_(h,p,m,_){return uw(ye(),wi(),h,p,m,_)}function sw(h,p,m,_,C){return wl(ye(),wi(),h,p,m,_,C)}function vd(h,p){const m=h[p];return m===at?void 0:m}function uw(h,p,m,_,C,v){const w=p+m;return Ti(h,w,C)?tr(h,w+1,v?_.call(v,C):_(C)):vd(h,w+1)}function wl(h,p,m,_,C,v,w){const T=p+m;return Kr(h,T,C,v)?tr(h,T+2,w?_.call(w,C,v):_(C,v)):vd(h,T+2)}function Al(h,p,m,_,C,v,w,T){const S=p+m;return function sl(h,p,m,_,C){const v=Kr(h,p,m,_);return Ti(h,p+2,C)||v}(h,S,C,v,w)?tr(h,S+3,T?_.call(T,C,v,w):_(C,v,w)):vd(h,S+3)}function wd(h,p){const m=vt();let _;const C=h+20;m.firstCreatePass?(_=function r_(h,p){if(p)for(let m=p.length-1;m>=0;m--){const _=p[m];if(h===_.name)return _}}(p,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const v=_.factory||(_.factory=Di(_.type)),w=Vi(Er);try{const T=bo(!1),S=v();return bo(T),function Gg(h,p,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),p[m]=_}(m,ye(),C,S),S}finally{Vi(w)}}function a_(h,p,m){const _=h+20,C=ye(),v=Tt(C,_);return El(C,_)?uw(C,wi(),p,v.transform,m,v):v.transform(m)}function xl(h,p,m,_){const C=h+20,v=ye(),w=Tt(v,C);return El(v,C)?wl(v,wi(),p,w.transform,m,_,w):w.transform(m,_)}function o_(h,p,m,_,C){const v=h+20,w=ye(),T=Tt(w,v);return El(w,v)?Al(w,wi(),p,T.transform,m,_,C,T):T.transform(m,_,C)}function El(h,p){return h[1].data[p].pure}function Ad(h){return p=>{setTimeout(h,void 0,p)}}const Ei=class l_ extends E.x{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,m,_){var C,v,w;let T=p,S=m||(()=>null),P=_;if(p&&"object"==typeof p){const L=p;T=null===(C=L.next)||void 0===C?void 0:C.bind(L),S=null===(v=L.error)||void 0===v?void 0:v.bind(L),P=null===(w=L.complete)||void 0===w?void 0:w.bind(L)}this.__isAsync&&(S=Ad(S),T&&(T=Ad(T)),P&&(P=Ad(P)));const R=super.subscribe({next:T,error:S,complete:P});return p instanceof f.w0&&p.add(R),R}};function Sl(){return this._results[er()]()}class xd{constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=er(),_=xd.prototype;_[m]||(_[m]=Sl)}get changes(){return this._changes||(this._changes=new Ei)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,m){return this._results.reduce(p,m)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,m){const _=this;_.dirty=!1;const C=Ki(p);(this._changesDetected=!function Vs(h,p,m){if(h.length!==p.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=hw,h})();const Ed=Td,c_=class extends Ed{constructor(p,m,_){super(),this._declarationLView=p,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(p){const m=this._declarationTContainer.tViews,_=Oo(this._declarationLView,m,p,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(m)),Xi(m,_,p),new Cd(_)}};function hw(){return Sd(Pt(),ye())}function Sd(h,p){return 4&h.type?new c_(p,h,Cl(h,p)):null}let Md=(()=>{class h{}return h.__NG_ELEMENT_ID__=pw,h})();function pw(){return or(Pt(),ye())}const d_=Md,u_=class extends d_{constructor(p,m,_){super(),this._lContainer=p,this._hostTNode=m,this._hostLView=_}get element(){return Cl(this._hostTNode,this._hostLView)}get injector(){return new yo(this._hostTNode,this._hostLView)}get parentInjector(){const p=ya(this._hostTNode,this._hostLView);if(rf(p)){const m=Cr(p,this._hostLView),_=_o(p);return new yo(m[1].data[_+8],m)}return new yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const m=h_(this._lContainer);return null!==m&&m[p]||null}get length(){return this._lContainer.length-10}createEmbeddedView(p,m,_){const C=p.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(p,m,_,C,v){const w=p&&!function Ao(h){return"function"==typeof h}(p);let T;if(w)T=m;else{const L=m||{};T=L.index,_=L.injector,C=L.projectableNodes,v=L.ngModuleRef}const S=w?p:new Zm(li(p)),P=_||this.parentInjector;if(!v&&null==S.ngModule&&P){const L=P.get(yl,null);L&&(v=L)}const R=S.create(P,C,void 0,v);return this.insert(R.hostView,T),R}insert(p,m){const _=p._lView,C=_[1];if(function Ot(h){return Wi(h[3])}(_)){const R=this.indexOf(p);if(-1!==R)this.detach(R);else{const L=_[3],W=new u_(L,L[6],L[3]);W.detach(W.indexOf(p))}}const v=this._adjustIndex(m),w=this._lContainer;!function L0(h,p,m,_){const C=10+_,v=m.length;_>0&&(m[C-1][4]=p),_0)_.push(w[T/2]);else{const P=v[T+1],R=p[-S];for(let L=10;L{class h{constructor(m){this.appInits=m,this.resolve=_p,this.reject=_p,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{v.subscribe({complete:T,error:S})});m.push(w)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(mi(bp,8))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const Rw=new Ut("AppId"),LT={provide:Rw,useFactory:function Nd(){return`${m_()}${m_()}${m_()}`},deps:[]};function m_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Iw=new Ut("Platform Initializer"),kw=new Ut("Platform ID"),Vw=new Ut("appBootstrapListener");let __=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const Cp=new Ut("LocaleId"),Bw=new Ut("DefaultCurrencyCode");class FT{constructor(p,m){this.ngModuleFactory=p,this.componentFactories=m}}let b_=(()=>{class h{compileModuleSync(m){return new e_(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),v=vr(gi(m).declarations).reduce((w,T)=>{const S=li(T);return S&&w.push(new Zm(S)),w},[]);return new FT(_,v)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();const C_=(()=>Promise.resolve(0))();function y_(h){"undefined"==typeof Zone?C_.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class wn{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ei(!1),this.onMicrotaskEmpty=new Ei(!1),this.onStable=new Ei(!1),this.onError=new Ei(!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)),p&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function Ow(){let h=ut.requestAnimationFrame,p=ut.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&p){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=p[Zone.__symbol__("OriginalDelegate")];_&&(p=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function _i(h){const p=()=>{!function zT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(ut,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,za(h),h.isCheckStableRunning=!0,v_(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),za(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,v,w,T)=>{try{return Pl(h),m.invokeTask(C,v,w,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||h.shouldCoalesceRunChangeDetection)&&p(),w_(h)}},onInvoke:(m,_,C,v,w,T,S)=>{try{return Pl(h),m.invoke(C,v,w,T,S)}finally{h.shouldCoalesceRunChangeDetection&&p(),w_(h)}},onHasTask:(m,_,C,v)=>{m.hasTask(C,v),_===C&&("microTask"==v.change?(h._hasPendingMicrotasks=v.microTask,za(h),v_(h)):"macroTask"==v.change&&(h.hasPendingMacrotasks=v.macroTask))},onHandleError:(m,_,C,v)=>(m.handleError(C,v),h.runOutsideAngular(()=>h.onError.emit(v)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!wn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(wn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(p,m,_){return this._inner.run(p,m,_)}runTask(p,m,_,C){const v=this._inner,w=v.scheduleEventTask("NgZoneEvent: "+C,p,NT,_p,_p);try{return v.runTask(w,m,_)}finally{v.cancelTask(w)}}runGuarded(p,m,_){return this._inner.runGuarded(p,m,_)}runOutsideAngular(p){return this._outer.run(p)}}const NT={};function v_(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function za(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function Pl(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function w_(h){h._nesting--,v_(h)}class Rl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ei,this.onMicrotaskEmpty=new Ei,this.onStable=new Ei,this.onError=new Ei}run(p,m,_){return p.apply(m,_)}runGuarded(p,m,_){return p.apply(m,_)}runOutsideAngular(p){return p()}runTask(p,m,_,C){return p.apply(m,_)}}let Lw=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{wn.assertNotInAngularZone(),y_(()=>{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())y_(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==v),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:v,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(mi(wn))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})(),yp=(()=>{class h{constructor(){this._applications=new Map,Il.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return Il.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();class Fw{addToWindow(p){}findTestabilityInTree(p,m,_){return null}}function jw(h){Il=h}let An,Il=new Fw;const A_=new Ut("AllowMultipleToken");class UT{constructor(p,m){this.name=p,this.token=m}}function x_(h,p,m=[]){const _=`Platform: ${p}`,C=new Ut(_);return(v=[])=>{let w=T_();if(!w||w.injector.get(A_,!1))if(h)h(m.concat(v).concat({provide:C,useValue:!0}));else{const T=m.concat(v).concat({provide:C,useValue:!0},{provide:ph,useValue:"platform"});!function GT(h){if(An&&!An.destroyed&&!An.injector.get(A_,!1))throw new ae(400,"");An=h.get(vp);const p=h.get(Iw,null);p&&p.forEach(m=>m())}(bn.create({providers:T,name:_}))}return function Uw(h){const p=T_();if(!p)throw new ae(401,"");return p}()}}function T_(){return An&&!An.destroyed?An:null}let vp=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function Ua(h,p){let m;return m="noop"===h?new Rl:("zone.js"===h?void 0:h)||new wn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==p?void 0:p.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==p?void 0:p.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:wn,useValue:T}];return T.run(()=>{const P=bn.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),L=R.injector.get(Io,null);if(!L)throw new ae(402,"");return T.runOutsideAngular(()=>{const W=T.onError.subscribe({next:te=>{L.handleError(te)}});R.onDestroy(()=>{wp(this._modules,R),W.unsubscribe()})}),function Ii(h,p,m){try{const _=m();return sd(_)?_.catch(C=>{throw p.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw p.runOutsideAngular(()=>h.handleError(_)),_}}(L,T,()=>{const W=R.injector.get(as);return W.runInitializers(),W.donePromise.then(()=>(function Cv(h){Vt(h,"Expected localeId to be defined"),"string"==typeof h&&(Qh=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Cp,ar)||ar),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=E_({},_);return function Nw(h,p,m){const _=new e_(m);return Promise.resolve(_)}(0,0,m).then(v=>this.bootstrapModuleFactory(v,C))}_moduleDoBootstrap(m){const _=m.injector.get(os);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(mi(bn))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();function E_(h,p){return Array.isArray(p)?p.reduce(E_,h):Object.assign(Object.assign({},h),p)}let os=(()=>{class h{constructor(m,_,C,v,w){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=v,this._initStatus=w,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 T=new k.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new k.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{wn.assertNotInAngularZone(),y_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const L=this._zone.onUnstable.subscribe(()=>{wn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),L.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,B.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof Jm?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const v=function zw(h){return h.isBoundToModule}(C)?void 0:this._injector.get(yl),T=C.create(bn.NULL,[],_||C.selector,v),S=T.location.nativeElement,P=T.injector.get(Lw,null),R=P&&T.injector.get(yp);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),wp(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;wp(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(Vw,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(mi(wn),mi(bn),mi(Io),mi(_d),mi(as))},h.\u0275prov=Mt({token:h,factory:h.\u0275fac}),h})();function wp(h,p){const m=h.indexOf(p);m>-1&&h.splice(m,1)}let kl=!0;function ai(){kl=!1}let M_=(()=>{class h{}return h.__NG_ELEMENT_ID__=D_,h})();function D_(h){return function H_(h,p,m){if(Xl(h)&&!m){const _=mt(h.index,p);return new Cd(_,_)}return 47&h.type?new Cd(p[16],p):null}(Pt(),ye(),16==(16&h))}class Ep{constructor(){}supports(p){return ol(p)}create(p){return new lr(p)}}const V_=(h,p)=>p;class lr{constructor(p){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=p||V_}forEachItem(p){let m;for(m=this._itHead;null!==m;m=m._next)p(m)}forEachOperation(p){let m=this._itHead,_=this._removalsHead,C=0,v=null;for(;m||_;){const w=!_||m&&m.currentIndex{w=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,w)?(_&&(m=this._verifyReinsertion(m,T,w,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,w,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,m,_,C){let v;return null===p?v=this._itTail:(v=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,v,C)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,v,C)):p=this._addAfter(new ki(m,_),v,C),p}_verifyReinsertion(p,m,_,C){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?p=this._reinsertAfter(v,p._prev,C):p.currentIndex!=C&&(p.currentIndex=C,this._addToMoves(p,C)),p}_truncate(p){for(;null!==p;){const m=p._next;this._addToRemovals(this._unlink(p)),p=m}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(p,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const C=p._prevRemoved,v=p._nextRemoved;return null===C?this._removalsHead=v:C._nextRemoved=v,null===v?this._removalsTail=C:v._prevRemoved=C,this._insertAfter(p,m,_),this._addToMoves(p,_),p}_moveAfter(p,m,_){return this._unlink(p),this._insertAfter(p,m,_),this._addToMoves(p,_),p}_addAfter(p,m,_){return this._insertAfter(p,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,m,_){const C=null===m?this._itHead:m._next;return p._next=C,p._prev=m,null===C?this._itTail=p:C._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new Xw),this._linkedRecords.put(p),p.currentIndex=_,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const m=p._prev,_=p._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,p}_addToMoves(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xw),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class ki{constructor(p,m){this.item=p,this.trackById=m,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 B_{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,p))return _;return null}remove(p){const m=p._prevDup,_=p._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class Xw{constructor(){this.map=new Map}put(p){const m=p.trackById;let _=this.map.get(m);_||(_=new B_,this.map.set(m,_)),_.add(p)}get(p,m){const C=this.map.get(p);return C?C.get(p,m):null}remove(p){const m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function eA(h,p,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const v=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,v)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,m){if(p){const _=p._prev;return m._next=p,m._prev=_,p._prev=m,_&&(_._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(p,m){if(this._records.has(p)){const C=this._records.get(p);this._maybeAddToChanges(C,m);const v=C._prev,w=C._next;return v&&(v._next=w),w&&(w._prev=v),C._next=null,C._prev=null,C}const _=new Mp(p);return this._records.set(p,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(_=>m(p[_],_))}}class Mp{constructor(p){this.key=p,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 Fl(){return new Wd([new Ep])}let Wd=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||Fl()),deps:[[h,new jr,new Fr]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:Fl}),h})();function L_(){return new Dp([new Sp])}let Dp=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||L_()),deps:[[h,new jr,new Fr]]}}find(m){const _=this.factories.find(v=>v.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Mt({token:h,providedIn:"root",factory:L_}),h})();const $T=[new Sp],QT=new Wd([new Ep]),JT=new Dp($T),iA=x_(null,"core",[{provide:kw,useValue:"unknown"},{provide:vp,deps:[bn]},{provide:yp,deps:[]},{provide:__,deps:[]}]),$d=[{provide:os,useClass:os,deps:[wn,bn,Io,_d,as]},{provide:yd,deps:[wn],useFactory:function jl(h){let p=[];return h.onStable.subscribe(()=>{for(;p.length;)p.pop()()}),function(m){p.push(m)}}},{provide:as,useClass:as,deps:[[new Fr,bp]]},{provide:b_,useClass:b_,deps:[]},LT,{provide:Wd,useFactory:function F_(){return QT},deps:[]},{provide:Dp,useFactory:function nA(){return JT},deps:[]},{provide:Cp,useFactory:function rA(h){return h||function aA(){return"undefined"!=typeof $localize&&$localize.locale||ar}()},deps:[[new Ns(Cp),new Fr,new jr]]},{provide:Bw,useValue:"USD"}];let Yd=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(mi(os))},h.\u0275mod=ca({type:h}),h.\u0275inj=Ui({providers:$d}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class F extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return F.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(F)))(E||F)}}(),F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class F{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(F){const N=F.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(F){return btoa(F).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),k=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return k!==O&&(console.error("exptected at_hash: "+k),console.error("actual at_hash: "+O)),k===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class F{getHashFragmentParams(x){let E=x||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(x){const E={};let f,k,O,B,j,q,Q;if(null===x)return E;f=x.split("&");for(let G=0;G>6,k[B++]=128|63&j):j<55296||j>=57344?(k[B++]=224|j>>12,k[B++]=128|j>>6&63,k[B++]=128|63&j):(j=65536+((1023&j)<<10|1023&F.charCodeAt(++E)),k[B++]=240|j>>18,k[B++]=128|j>>12&63,k[B++]=128|j>>6&63,k[B++]=128|63&j);F=k}else{if("object"!==f)throw new Error(ERROR);if(null===F)throw new Error(ERROR);if(ARRAY_BUFFER&&F.constructor===ArrayBuffer)F=new Uint8Array(F);else if(!(Array.isArray(F)||ARRAY_BUFFER&&ArrayBuffer.isView(F)))throw new Error(ERROR)}F.length>64&&(F=new Sha256(N,!0).update(F).array());var q=[],Q=[];for(E=0;E<64;++E){var G=F[E]||0;q[E]=92^G,Q[E]=54^G}Sha256.call(this,N,x),this.update(Q),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(F){if(!this.finalized){var N,x=typeof F;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===F)throw new Error(ERROR);if(ARRAY_BUFFER&&F.constructor===ArrayBuffer)F=new Uint8Array(F);else if(!(Array.isArray(F)||ARRAY_BUFFER&&ArrayBuffer.isView(F)))throw new Error(ERROR);N=!0}for(var E,k,f=0,O=F.length,B=this.blocks;f>2]|=F[f]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(B[k>>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=B[16],this.start=k-64,this.hash(),this.hashed=!0):this.start=k}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 F=this.blocks,N=this.lastByteIndex;F[16]=this.block,F[N>>2]|=EXTRA[3&N],this.block=F[16],N>=56&&(this.hashed||this.hash(),F[0]=this.block,F[16]=F[1]=F[2]=F[3]=F[4]=F[5]=F[6]=F[7]=F[8]=F[9]=F[10]=F[11]=F[12]=F[13]=F[14]=F[15]=0),F[14]=this.hBytes<<3|this.bytes>>>29,F[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,$,ae,ie,le,F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?($=300032,B=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):($=704751109,B=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(B=E+(z=B+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&k^~f&O)+K[q]+j[q])<<0,E=z+(((F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10))+(($=F&N)^F&x^le))<<0),O=x+(z=O+((B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7))+(B&f^~B&k)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&F)^E&N^$))<<0,k=N+(z=k+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&B^~O&f)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&F^ae))<<0,f=F+(z=f+((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&B)+K[q+3]+j[q+3])<<0,F=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+F<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+f<<0,this.h5=this.h5+k<<0,this.h6=this.h6+O<<0,this.h7=this.h7+B<<0},Sha256.prototype.hex=function(){this.finalize();var F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=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[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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[k>>28&15]+HEX_CHARS[k>>24&15]+HEX_CHARS[k>>20&15]+HEX_CHARS[k>>16&15]+HEX_CHARS[k>>12&15]+HEX_CHARS[k>>8&15]+HEX_CHARS[k>>4&15]+HEX_CHARS[15&k]+HEX_CHARS[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var F=this.h0,N=this.h1,x=this.h2,E=this.h3,f=this.h4,k=this.h5,O=this.h6,B=this.h7,j=[F>>24&255,F>>16&255,F>>8&255,255&F,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,f>>24&255,f>>16&255,f>>8&255,255&f,k>>24&255,k>>16&255,k>>8&255,255&k,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(B>>24&255,B>>16&255,B>>8&255,255&B),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var F=new ArrayBuffer(this.is224?28:32),N=new DataView(F);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),F},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var F=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(F),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(F){if("string"!=typeof F)throw new TypeError("expected string");var N,x=F,E=new Uint8Array(x.length);for(N=0;N{class F{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let f of x)E+=String.fromCharCode(f);return E}toHashString(x){const E=new Uint8Array(x);let f="";for(let k of E)f+=String.fromCharCode(k);return f}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})(),OAuthService=(()=>{class F extends AuthConfig{constructor(x,E,f,k,O,B,j,q,Q,G){var Y;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=B,this.logger=j,this.crypto=q,this.dateTimeService=G,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Q,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),k&&(this.tokenValidationHandler=k),O&&this.configure(O);try{f?this.setStorage(f):"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===(Y=null==window?void 0:window.navigator)||void 0===Y?void 0:Y.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,f=!0){let k=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?k=!0:"logout"===O.type&&(k=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{k&&this.refreshInternal(x,f).catch(B=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],f=this.validateUrlForHttps(x),k=this.validateUrlAgainstIssuer(x);return f||E.push("https for all urls required. Also for urls received by discovery."),k||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),f=this.calcTimeout(E,x);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(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),f=this.calcTimeout(E,x);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(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}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(x,E){const f=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(f-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,f)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(k=>{if(!this.validateDiscoveryDocument(k))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void f("discovery_document_validation_error");this.loginUrl=k.authorization_endpoint,this.logoutUrl=k.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=k.grant_types_supported,this.issuer=k.issuer,this.tokenEndpoint=k.token_endpoint,this.userinfoEndpoint=k.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=k.jwks_uri,this.sessionCheckIFrameUrl=k.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(k),this.revocationEndpoint=k.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:k,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),f(O)})},k=>{this.logger.error("error loading discovery document",k),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",k)),f(k)}):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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(f=>{this.jwks=f,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(f)},f=>{this.logger.error("error loading jwks",f),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",f)),E(f)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,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((x,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(k=>{if(this.debug("userinfo received",JSON.stringify(k)),k.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(k.body);const B=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!B.sub||O.sub!==B.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");O=Object.assign({},B,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(k.body))},k=>{this.logger.error("error loading user info",k),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",k)),E(k)})})}fetchTokenUsingPasswordFlow(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},f)}fetchTokenUsingGrant(x,E,f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let k=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(k=k.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(k=k.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))k=k.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))k=k.set(O,E[O]);return f=f.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,B)=>{this.http.post(this.tokenEndpoint,k,{headers:f}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),B(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,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")),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))f=f.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,f,{headers:k}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(B=>this.storeIdToken(B)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);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(x={},E=!0){const f=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 k=this.document.getElementById(this.silentRefreshIFrameName);k&&this.document.body.removeChild(k),this.silentRefreshSubject=f.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(G=>{O.setAttribute("src",G),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(G=>G instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(G=>"token_received"===G.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Q=(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__.S)([j,q,Q]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(G=>{if(G instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===G.type||(G=new OAuthErrorEvent("silent_refresh_error",G)),this.eventsSubject.next(G),G;return"token_received"===G.type&&(G=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(G)),G})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((f,k)=>{let j,B=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(B=x.windowRef,B.location.href=E):B=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{G(),f(!0)},se=>{G(),k(se)})};B?j=window.setInterval(()=>{(!B||B.closed)&&(G(),k(new OAuthErrorEvent("popup_closed",{})))},500):k(new OAuthErrorEvent("popup_blocked",{}));const G=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",Y),null!==B&&B.close(),B=null},Y=re=>{const se=this.processMessageEventMessage(re);se&&null!==se?(window.removeEventListener("storage",z),q(se)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",Y),q(re.newValue))};window.addEventListener("message",Y),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,f=x.width||500,k=window.screenLeft+(window.outerWidth-f)/2;return`location=no,toolbar=no,width=${f},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${k}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const f=x.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=x=>{const E=x.origin.toLowerCase(),f=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),f.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",f,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",f="",k=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const B=this;let j;j=f||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Q=B.loginUrl.indexOf("?")>-1?"&":"?";let G=B.scope;this.oidc&&!G.match(/(^|\s)openid($|\s)/)&&(G="openid "+G);let Y=B.loginUrl+Q+"response_type="+encodeURIComponent(B.responseType)+"&client_id="+encodeURIComponent(B.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(G);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),Y+="&code_challenge="+z,Y+="&code_challenge_method=S256"}E&&(Y+="&login_hint="+encodeURIComponent(E)),B.resource&&(Y+="&resource="+encodeURIComponent(B.resource)),B.oidc&&(Y+="&nonce="+encodeURIComponent(q)),k&&(Y+="&prompt=none");for(const z of Object.keys(O))Y+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))Y+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return Y})}initImplicitFlowInternal(x="",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={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(f=E),this.createLoginUrl(x,k,null,!1,f).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(f=>"discovery_document_loaded"===f.type)).subscribe(f=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const f={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(f)}}storeAccessTokenResponse(x,E,f,k,O){if(this._storage.setItem("access_token",x),k&&!Array.isArray(k)?this._storage.setItem("granted_scopes",JSON.stringify(k.split(" "))):k&&Array.isArray(k)&&this._storage.setItem("granted_scopes",JSON.stringify(k)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),f){const B=1e3*f,q=this.dateTimeService.new().getTime()+B;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((B,j)=>{this._storage.setItem(j,B)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,f=this.getCodePartsFromUrl(E),k=f.code,O=f.state,B=f.session_state;if(!x.preventClearHashAfterLogin){const Q=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,Q)}let[j,q]=this.parseState(O);if(this.state=q,f.error){this.debug("error trying to login"),this.handleLoginError(x,f);const Q=new OAuthErrorEvent("code_error",{},f);return this.eventsSubject.next(Q),Promise.reject(Q)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const G=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(G),Promise.reject(G)}return this.storeSessionState(B),k&&(yield this.getTokenFromCode(k,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let f=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let k;k=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),k?f=f.set("code_verifier",k):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(f,E)}fetchAndProcessToken(x,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 k=btoa(`${this.clientId}:${this.dummyClientSecret}`);f=f.set("Authorization","Basic "+k)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((k,O)=>{if(this.customQueryParams)for(let B of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(B,this.customQueryParams[B]);this.http.post(this.tokenEndpoint,x,{headers:f}).subscribe(B=>{this.debug("refresh tokenResponse",B),this.storeAccessTokenResponse(B.access_token,B.refresh_token,B.expires_in||this.fallbackAccessTokenExpirationTimeInSec,B.scope,this.extractRecognizedCustomParameters(B)),this.oidc&&B.id_token?this.processIdToken(B.id_token,B.access_token,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(B)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(B))},B=>{console.error("Error getting token",B),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",B)),O(B)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const f=E.state;let[k,O]=this.parseState(f);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const G=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(G),Promise.reject(G)}const B=E.access_token,j=E.id_token,q=E.session_state,Q=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!B||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!f||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(k)){const Y=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(Y),Promise.reject(Y)}return this.requestAccessToken&&this.storeAccessTokenResponse(B,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(j,B,x.disableNonceCheck).then(G=>x.validationHandler?x.validationHandler({accessToken:B,idClaims:G.idTokenClaims,idToken:G.idToken,state:f}).then(Y=>G):G).then(G=>(this.storeIdToken(G),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(G=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",G)),this.logger.error("Error validating tokens"),this.logger.error(G),Promise.reject(G))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,f="";if(x){const k=x.indexOf(this.config.nonceStateSeparator);k>-1&&(E=x.substr(0,k),f=x.substr(k+this.config.nonceStateSeparator.length))}return[E,f]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,f=!1){const k=x.split("."),B=b64DecodeUnicode(this.padBase64(k[0])),j=JSON.parse(B),Q=b64DecodeUnicode(this.padBase64(k[1])),G=JSON.parse(Q);let Y;if(Y=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(G.aud)){if(G.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+G.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(G.aud!==this.clientId){const ie="Wrong audience: "+G.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!G.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==G.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${G.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!G.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&G.iss!==this.issuer){const ie="Wrong issuer: "+G.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!f&&G.nonce!==Y){const ie="Wrong nonce: "+G.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!G.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*G.iat,se=1e3*G.exp,$=this.getClockSkewInMsec();if(re-$>=z||se+$<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:se}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:G,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:G,idTokenClaimsJson:Q,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:se})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:G,idTokenClaimsJson:Q,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:se};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(Pe=>{if(this.requestAccessToken&&!Pe){const Ce="Wrong at_hash";return this.logger.warn(Ce),Promise.reject(Ce)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let f=!1;"boolean"==typeof x&&(f=x,x={});const k=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(B=>this._storage.removeItem(B)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||f||!k&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(k)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});k&&(B=B.set("id_token_hint",k));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(B=B.set("post_logout_redirect_uri",j),E&&(B=B.set("state",E)));for(let q in x)B=B.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+B.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let f=45,k="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let B=new Uint8Array(f);O.getRandomValues(B),B.map||(B.map=Array.prototype.map),B=B.map(j=>E.charCodeAt(j%E.length)),k=String.fromCharCode.apply(null,B)}else for(;0"discovery_document_loaded"===f.type)).subscribe(f=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(f=E),this.createLoginUrl(x,k,null,!1,f).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(f=>{x[f]&&E.set(f,JSON.stringify(x[f]))}),E}revokeTokenAndLogout(x={},E=!1){let f=this.revocationEndpoint,k=this.getAccessToken(),O=this.getRefreshToken();if(!k)return;let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}if(this.useHttpBasicAuth||(B=B.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(B=B.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const q of Object.getOwnPropertyNames(this.customQueryParams))B=B.set(q,this.customQueryParams[q]);return new Promise((q,Q)=>{let G,Y;if(k){let z=B.set("token",k).set("token_type_hint","access_token");G=this.http.post(f,z,{headers:j})}else G=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=B.set("token",O).set("token_type_hint","refresh_token");Y=this.http.post(f,z,{headers:j})}else Y=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(G=G.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))),Y=Y.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__.a)([G,Y]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Q(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return F.\u0275fac=function(x){return new(x||F)(_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))},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class F{constructor(x,E,f){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=f}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const f=x.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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(B=>this.errorHandler.handleError(B)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return F.\u0275fac=function(x){return new(x||F)(_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))},F.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:F,factory:F.\u0275fac}),F})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class F{static forRoot(x=null,E=NullValidationHandler){return{ngModule:F,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return F.\u0275fac=function(x){return new(x||F)},F.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:F}),F.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),F})();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:F=>{"use strict";F.exports={i8:"9.1.0"}}},F=>{F(F.s=4096)}]); \ No newline at end of file diff --git a/dist/apps/linker/index.html b/dist/apps/linker/index.html index 679e3d334..d53fca53c 100644 --- a/dist/apps/linker/index.html +++ b/dist/apps/linker/index.html @@ -6,7 +6,7 @@ - + @@ -14,5 +14,5 @@
- + diff --git a/dist/apps/linker/main.d7d0e14d7ab0635b.js b/dist/apps/linker/main.323f8ebf12527935.js similarity index 99% rename from dist/apps/linker/main.d7d0e14d7ab0635b.js rename to dist/apps/linker/main.323f8ebf12527935.js index 7b870054b..2ae9133a0 100644 --- a/dist/apps/linker/main.d7d0e14d7ab0635b.js +++ b/dist/apps/linker/main.323f8ebf12527935.js @@ -1 +1 @@ -(self.webpackChunklinker=self.webpackChunklinker||[]).push([[179],{7479:(L,N,x)=>{"use strict";var E=x(9808),g=x(5e3);class k extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends k{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function j(){return V=V||document.querySelector("base"),V?V.getAttribute("href"):null}();return null==e?null:function Y(c){q=q||document.createElement("a"),q.setAttribute("href",c);const a=q.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){V=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,E.Mx)(document.cookie,a)}}let q,V=null;const U=new g.OlP("TRANSITION_ID"),z=[{provide:g.ip1,useFactory:function $(c,a,e){return()=>{e.get(g.CZH).donePromise.then(()=>{const t=(0,E.q)(),o=a.querySelectorAll(`style[ng-transition="${c}"]`);for(let l=0;l{const l=a.findTestabilityInTree(t,o);if(null==l)throw new Error("Could not find testability for element.");return l},g.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(t=>{const o=g.dqk.getAllAngularTestabilities();let l=o.length,s=!1;const n=function(i){s=s||i,l--,0==l&&t(s)};o.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const o=a.getTestability(e);return null!=o?o:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let se=(()=>{class c{build(){return new XMLHttpRequest}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const W=new g.OlP("EventManagerPlugins");let ae=(()=>{class c{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 l=0;l{class c{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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Te=(()=>{class c extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(l=>{const s=this._doc.createElement("style");s.textContent=l,o.push(t.appendChild(s))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Me(c){(0,E.q)().remove(c)}const Pe={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/"},ye=/%COMP%/g;function ne(c,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return c;!1===c(a)&&(a.preventDefault(),a.returnValue=!1)}}let me=(()=>{class c{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case g.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new kt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case g.ifc.ShadowDom:return new Ot(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(ae),g.LFG(Te),g.LFG(g.AFp))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class pe{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(Pe[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,o){if(o){e=o+":"+e;const l=Pe[o];l?a.setAttributeNS(l,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const o=Pe[t];o?a.removeAttributeNS(o,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,o){o&(g.JOm.DashCase|g.JOm.Important)?a.style.setProperty(e,t,o&g.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&g.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,ce(t)):this.eventManager.addEventListener(a,e,ce(t))}}class kt extends pe{constructor(a,e,t,o){super(a),this.component=t;const l=ne(o+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function xe(c){return"_ngcontent-%COMP%".replace(ye,c)}(o+"-"+t.id),this.hostAttr=function Ve(c){return"_nghost-%COMP%".replace(ye,c)}(o+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ot extends pe{constructor(a,e,t,o){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=ne(o.id,o.styles,[]);for(let s=0;s{class c extends ie{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 c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const pi=["alt","control","meta","shift"],oi={"\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"},Ht={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"},Vn={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let Qi=(()=>{class c extends ie{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,t,o){const l=c.parseEventName(t),s=c.eventCallback(l.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,l.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const l=c._normalizeKey(t.pop());let s="";if(pi.forEach(i=>{const r=t.indexOf(i);r>-1&&(t.splice(r,1),s+=i+".")}),s+=l,0!=t.length||0===l.length)return null;const n={};return n.domEventName=o,n.fullKey=s,n}static getEventFullKey(e){let t="",o=function fi(c){let a=c.key;if(null==a){if(a=c.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===c.location&&Ht.hasOwnProperty(a)&&(a=Ht[a]))}return oi[a]||a}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),pi.forEach(l=>{l!=o&&Vn[l](e)&&(t+=l+".")}),t+=o,t}static eventCallback(e,t,o){return l=>{c.getEventFullKey(l)===e&&o.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Tr=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:E.bD},{provide:g.g9A,useValue:function Jn(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function Ga(){return(0,g.RDi)(document),document},deps:[]}]),Kn=[{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function za(){return new g.qLn},deps:[]},{provide:W,useClass:Ne,multi:!0,deps:[E.K0,g.R0b,g.Lbi]},{provide:W,useClass:Qi,multi:!0,deps:[E.K0]},{provide:me,useClass:me,deps:[ae,Te,g.AFp]},{provide:g.FYo,useExisting:me},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b]},{provide:ae,useClass:ae,deps:[W,g.R0b]},{provide:E.JF,useClass:se,deps:[]}];let Er=(()=>{class c{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:c,providers:[{provide:g.AFp,useValue:e.appId},{provide:U,useExisting:g.AFp},z]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(c,12))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:Kn,imports:[E.ez,g.hGG]}),c})(),Bi=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function wi(){return new Bi((0,g.LFG)(E.K0))}(),t},providedIn:"root"}),c})();"undefined"!=typeof window&&window;let Zn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new(e||c):g.LFG(ea),t},providedIn:"root"}),c})(),ea=(()=>{class c extends Zn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case g.q3G.NONE:return t;case g.q3G.HTML:return(0,g.qzn)(t,"HTML")?(0,g.z3N)(t):(0,g.EiD)(this._doc,String(t)).toString();case g.q3G.STYLE:return(0,g.qzn)(t,"Style")?(0,g.z3N)(t):t;case g.q3G.SCRIPT:if((0,g.qzn)(t,"Script"))return(0,g.z3N)(t);throw new Error("unsafe value used in a script context");case g.q3G.URL:return(0,g.yhl)(t),(0,g.qzn)(t,"URL")?(0,g.z3N)(t):(0,g.mCW)(String(t));case g.q3G.RESOURCE_URL:if((0,g.qzn)(t,"ResourceURL"))return(0,g.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,g.JVY)(e)}bypassSecurityTrustStyle(e){return(0,g.L6k)(e)}bypassSecurityTrustScript(e){return(0,g.eBb)(e)}bypassSecurityTrustUrl(e){return(0,g.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,g.pB0)(e)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function fl(c){return new ea(c.get(E.K0))}(g.LFG(g.zs3)),t},providedIn:"root"}),c})();var Ai=x(2076),Ue=x(9646),Ge=x(7579);class Tt extends Ge.x{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const e=super._subscribe(a);return!e.closed&&a.next(this._value),e}getValue(){const{hasError:a,thrownError:e,_value:t}=this;if(a)throw e;return this._throwIfClosed(),t}next(a){super.next(this._value=a)}}var On=x(9841),Qt=x(8306),mi=x(6805),Oi=x(7272),Xn=x(8421);function Tn(c){return new Qt.y(a=>{(0,Xn.Xf)(c()).subscribe(a)})}var Yi=x(515),jt=x(727),Ft=x(4482),Ji=x(5403);function Hi(){return(0,Ft.e)((c,a)=>{let e=null;c._refCount++;const t=(0,Ji.x)(a,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const o=c._connection,l=e;e=null,o&&(!l||o===l)&&o.unsubscribe(),a.unsubscribe()});c.subscribe(t),t.closed||(e=c.connect())})}class Ie extends Qt.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Ft.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new jt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,Ji.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=jt.w0.EMPTY)}return a}refCount(){return Hi()(this)}}var Be=x(4004),Ct=x(3900),Pt=x(5698),Fn=x(3269);function Gt(...c){const a=(0,Fn.yG)(c);return(0,Ft.e)((e,t)=>{(a?(0,Oi.z)(c,e,a):(0,Oi.z)(c,e)).subscribe(t)})}function En(c,a,e,t,o){return(l,s)=>{let n=e,i=a,r=0;l.subscribe((0,Ji.x)(s,d=>{const u=r++;i=n?c(i,d,u):(n=!0,d),t&&s.next(i)},o&&(()=>{n&&s.next(i),s.complete()})))}}function Vt(c,a){return(0,Ft.e)(En(c,a,arguments.length>=2,!0))}var Xt=x(9300),li=x(262),tt=x(4351);function Sr(c){return c<=0?()=>Yi.E:(0,Ft.e)((a,e)=>{let t=[];a.subscribe((0,Ji.x)(e,o=>{t.push(o),c{for(const o of t)e.next(o);e.complete()},void 0,()=>{t=null}))})}var Mr=x(8068),es=x(6590),er=x(4671),Ki=x(590),ei=x(5577),Et=x(8505);function Dt(c){return(0,Ft.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(c)}})}var Wa=x(8189);class Zi{constructor(a,e){this.id=a,this.url=e}}class gi extends Zi{constructor(a,e,t="imperative",o=null){super(a,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ci extends Zi{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $a extends Zi{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ts extends Zi{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ta extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xi extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ml extends Zi{constructor(a,e,t,o,l){super(a,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Kh extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zh extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fi{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ad{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xh{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ep{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tp{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ip{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class od{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ht="primary";class np{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ia(c){return new np(c)}const sd="ngNavigationCancelingError";function gl(c){const a=Error("NavigationCancelingError: "+c);return a[sd]=!0,a}function ap(c,a,e){const t=e.path.split("/");if(t.length>c.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[l]===o)}return c===a}function ld(c){return Array.prototype.concat.apply([],c)}function _l(c){return c.length>0?c[c.length-1]:null}function Nt(c,a){for(const e in c)c.hasOwnProperty(e)&&a(c[e],e)}function dn(c){return(0,g.CqO)(c)?c:(0,g.QGY)(c)?(0,Ai.D)(Promise.resolve(c)):(0,Ue.of)(c)}const Ya={exact:function Ja(c,a,e){if(!tr(c.segments,a.segments)||!_i(c.segments,a.segments,e)||c.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!c.children[t]||!Ja(c.children[t],a.children[t],e))return!1;return!0},subset:Ka},bl={exact:function Cl(c,a){return en(c,a)},subset:function dd(c,a){return Object.keys(a).length<=Object.keys(c).length&&Object.keys(a).every(e=>Qa(c[e],a[e]))},ignored:()=>!0};function cd(c,a,e){return Ya[e.paths](c.root,a.root,e.matrixParams)&&bl[e.queryParams](c.queryParams,a.queryParams)&&!("exact"===e.fragment&&c.fragment!==a.fragment)}function Ka(c,a,e){return yl(c,a,a.segments,e)}function yl(c,a,e,t){if(c.segments.length>e.length){const o=c.segments.slice(0,e.length);return!(!tr(o,e)||a.hasChildren()||!_i(o,e,t))}if(c.segments.length===e.length){if(!tr(c.segments,e)||!_i(c.segments,e,t))return!1;for(const o in a.children)if(!c.children[o]||!Ka(c.children[o],a.children[o],t))return!1;return!0}{const o=e.slice(0,c.segments.length),l=e.slice(c.segments.length);return!!(tr(c.segments,o)&&_i(c.segments,o,t)&&c.children[ht])&&yl(c.children[ht],a,l,t)}}function _i(c,a,e){return a.every((t,o)=>bl[e](c[o].parameters,t.parameters))}class Ln{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ia(this.queryParams)),this._queryParamMap}toString(){return T_.serialize(this)}}class bt{constructor(a,e){this.segments=a,this.children=e,this.parent=null,Nt(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bt(this)}}class Dr{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ia(this.parameters)),this._parameterMap}toString(){return We(this)}}function tr(c,a){return c.length===a.length&&c.every((e,t)=>e.path===a[t].path)}class ns{}class Za{parse(a){const e=new Sn(a);return new Ln(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${D(a.root,!0)}`,t=function St(c){const a=Object.keys(c).map(e=>{const t=c[e];return Array.isArray(t)?t.map(o=>`${M(e)}=${M(o)}`).join("&"):`${M(e)}=${M(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function B(c){return encodeURI(c)}(a.fragment)}`:""}`}}const T_=new Za;function Bt(c){return c.segments.map(a=>We(a)).join("/")}function D(c,a){if(!c.hasChildren())return Bt(c);if(a){const e=c.children[ht]?D(c.children[ht],!1):"",t=[];return Nt(c.children,(o,l)=>{l!==ht&&t.push(`${l}:${D(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function is(c,a){let e=[];return Nt(c.children,(t,o)=>{o===ht&&(e=e.concat(a(t,o)))}),Nt(c.children,(t,o)=>{o!==ht&&(e=e.concat(a(t,o)))}),e}(c,(t,o)=>o===ht?[D(c.children[ht],!1)]:[`${o}:${D(t,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ht]?`${Bt(c)}/${e[0]}`:`${Bt(c)}/(${e.join("//")})`}}function I(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function M(c){return I(c).replace(/%3B/gi,";")}function J(c){return I(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ue(c){return decodeURIComponent(c)}function _e(c){return ue(c.replace(/\+/g,"%20"))}function We(c){return`${J(c.path)}${function Rt(c){return Object.keys(c).map(a=>`;${J(a)}=${J(c[a])}`).join("")}(c.parameters)}`}const ft=/^[^\/()?;=#]+/;function mt(c){const a=c.match(ft);return a?a[0]:""}const ri=/^[^=?&#]+/,Ut=/^[^&#]+/;class Sn{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[ht]=new bt(a,e)),t}parseSegment(){const a=mt(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Dr(ue(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=mt(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=mt(this.remaining);o&&(t=o,this.capture(t))}a[ue(e)]=ue(t)}parseQueryParam(a){const e=function zt(c){const a=c.match(ri);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=function Hr(c){const a=c.match(Ut);return a?a[0]:""}(this.remaining);s&&(t=s,this.capture(t))}const o=_e(e),l=_e(t);if(a.hasOwnProperty(o)){let s=a[o];Array.isArray(s)||(s=[s],a[o]=s),s.push(l)}else a[o]=l}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=mt(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=ht);const s=this.parseChildren();e[l]=1===Object.keys(s).length?s[ht]:new bt([],s),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Je{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=ir(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=ir(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=Xa(a,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==a)}pathFromRoot(a){return Xa(a,this._root).map(e=>e.value)}}function ir(c,a){if(c===a.value)return a;for(const e of a.children){const t=ir(c,e);if(t)return t}return null}function Xa(c,a){if(c===a.value)return[a];for(const e of a.children){const t=Xa(c,e);if(t.length)return t.unshift(a),t}return[]}class tn{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function nr(c){const a={};return c&&c.children.forEach(e=>a[e.value.outlet]=e),a}class ud extends Je{constructor(a,e){super(a),this.snapshot=e,ra(this,a)}toString(){return this.snapshot.toString()}}function lp(c,a){const e=function E_(c,a){const s=new Yt([],{},{},"",{},ht,a,null,c.root,-1,{});return new hd("",new tn(s,[]))}(c,a),t=new Tt([new Dr("",{})]),o=new Tt({}),l=new Tt({}),s=new Tt({}),n=new Tt(""),i=new be(t,o,s,n,l,ht,a,e.root);return i.snapshot=e.root,new ud(new tn(i,[]),e)}class be{constructor(a,e,t,o,l,s,n,i){this.url=a,this.params=e,this.queryParams=t,this.fragment=o,this.data=l,this.outlet=s,this.component=n,this._futureSnapshot=i}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,Be.U)(a=>ia(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Be.U)(a=>ia(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yt(c,a="emptyOnly"){const e=c.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const o=e[t],l=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(l.component)break;t--}}return function cp(c){return c.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class Yt{constructor(a,e,t,o,l,s,n,i,r,d,u){this.url=a,this.params=e,this.queryParams=t,this.fragment=o,this.data=l,this.outlet=s,this.component=n,this.routeConfig=i,this._urlSegment=r,this._lastPathIndex=d,this._resolve=u}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=ia(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ia(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hd extends Je{constructor(a,e){super(e),this.url=a,ra(this,e)}toString(){return Mn(this._root)}}function ra(c,a){a.value._routerState=c,a.children.forEach(e=>ra(c,e))}function Mn(c){const a=c.children.length>0?` { ${c.children.map(Mn).join(", ")} } `:"";return`${c.value}${a}`}function rs(c){if(c.snapshot){const a=c.snapshot,e=c._futureSnapshot;c.snapshot=e,en(a.queryParams,e.queryParams)||c.queryParams.next(e.queryParams),a.fragment!==e.fragment&&c.fragment.next(e.fragment),en(a.params,e.params)||c.params.next(e.params),function op(c,a){if(c.length!==a.length)return!1;for(let e=0;een(e.parameters,a[t].parameters))}(c.url,a.url);return e&&!(!c.parent!=!a.parent)&&(!c.parent||as(c.parent,a.parent))}function os(c,a,e){if(e&&c.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const o=function vl(c,a,e){return a.children.map(t=>{for(const o of e.children)if(c.shouldReuseRoute(t.value,o.value.snapshot))return os(c,t,o);return os(c,t)})}(c,a,e);return new tn(t,o)}{if(c.shouldAttach(a.value)){const l=c.retrieve(a.value);if(null!==l){const s=l.route;return s.value._futureSnapshot=a.value,s.children=a.children.map(n=>os(c,n)),s}}const t=function wl(c){return new be(new Tt(c.url),new Tt(c.params),new Tt(c.queryParams),new Tt(c.fragment),new Tt(c.data),c.outlet,c.component,c)}(a.value),o=a.children.map(l=>os(c,l));return new tn(t,o)}}function un(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function eo(c){return"object"==typeof c&&null!=c&&c.outlets}function Pr(c,a,e,t,o){let l={};return t&&Nt(t,(s,n)=>{l[n]=Array.isArray(s)?s.map(i=>`${i}`):`${s}`}),new Ln(e.root===c?a:jn(e.root,c,a),l,o)}function jn(c,a,e){const t={};return Nt(c.children,(o,l)=>{t[l]=o===a?e:jn(o,a,e)}),new bt(c.segments,t)}class dp{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&un(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(eo);if(o&&o!==_l(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pd{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function gd(c,a,e){if(c||(c=new bt([],{})),0===c.segments.length&&c.hasChildren())return to(c,a,e);const t=function M_(c,a,e){let t=0,o=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return l;const s=c.segments[o],n=e[t];if(eo(n))break;const i=`${n}`,r=t0&&void 0===i)break;if(i&&r&&"object"==typeof r&&void 0===r.outlets){if(!bd(i,r,s))return l;t+=2}else{if(!bd(i,{},s))return l;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(c,a,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(o[s]=gd(c.children[s],a,l))}),Nt(c.children,(l,s)=>{void 0===t[s]&&(o[s]=l)}),new bt(c.segments,o)}}function Al(c,a,e){const t=c.segments.slice(0,a);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=Al(new bt([],{}),0,e))}),a}function _d(c){const a={};return Nt(c,(e,t)=>a[t]=`${e}`),a}function bd(c,a,e){return c==e.path&&en(a,e.parameters)}class pp{constructor(a,e,t,o){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),rs(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const o=nr(e);a.children.forEach(l=>{const s=l.value.outlet;this.deactivateRoutes(l,o[s],t),delete o[s]}),Nt(o,(l,s)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(a,e,t){const o=a.value,l=e?e.value:null;if(o===l)if(o.component){const s=t.getContext(o.outlet);s&&this.deactivateChildRoutes(a,e,s.children)}else this.deactivateChildRoutes(a,e,t);else l&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),o=t&&a.value.component?t.children:e,l=nr(a);for(const s of Object.keys(l))this.deactivateRouteAndItsChildren(l[s],o);if(t&&t.outlet){const s=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:s,route:a,contexts:n})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),o=t&&a.value.component?t.children:e,l=nr(a);for(const s of Object.keys(l))this.deactivateRouteAndItsChildren(l[s],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const o=nr(e);a.children.forEach(l=>{this.activateRoutes(l,o[l.value.outlet],t),this.forwardEvent(new ip(l.value.snapshot))}),a.children.length&&this.forwardEvent(new ep(a.value.snapshot))}activateRoutes(a,e,t){const o=a.value,l=e?e.value:null;if(rs(o),o===l)if(o.component){const s=t.getOrCreateContext(o.outlet);this.activateChildRoutes(a,e,s.children)}else this.activateChildRoutes(a,e,t);else if(o.component){const s=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const n=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(n.contexts),s.attachRef=n.componentRef,s.route=n.route.value,s.outlet&&s.outlet.attach(n.componentRef,n.route.value),rs(n.route.value),this.activateChildRoutes(a,null,s.children)}else{const n=function Tl(c){for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),i=n?n.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=i,s.outlet&&s.outlet.activateWith(o,i),this.activateChildRoutes(a,null,s.children)}}else this.activateChildRoutes(a,null,t)}}class Cd{constructor(a,e){this.routes=a,this.module=e}}function Rr(c){return"function"==typeof c}function Li(c){return c instanceof Ln}const ss=Symbol("INITIAL_VALUE");function ls(){return(0,Ct.w)(c=>(0,On.a)(c.map(a=>a.pipe((0,Pt.q)(1),Gt(ss)))).pipe(Vt((a,e)=>{let t=!1;return e.reduce((o,l,s)=>o!==ss?o:(l===ss&&(t=!0),t||!1!==l&&s!==e.length-1&&!Li(l)?o:l),a)},ss),(0,Xt.h)(a=>a!==ss),(0,Be.U)(a=>Li(a)?a:!0===a),(0,Pt.q)(1)))}class H_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ir,this.attachRef=null}}class Ir{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new H_,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let io=(()=>{class c{constructor(e,t,o,l,s){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.name=l||ht,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 s=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new El(e,n,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(Ir),g.Y36(g.s_b),g.Y36(g._Vd),g.$8M("name"),g.Y36(g.sBO))},c.\u0275dir=g.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class El{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===be?this.route:a===Ir?this.childContexts:this.parent.get(a,e)}}let Sl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=g.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&g._UZ(0,"router-outlet")},directives:[io],encapsulation:2}),c})();function yd(c,a=""){for(let e=0;ehn(t)===a);return e.push(...c.filter(t=>hn(t)!==a)),e}const no={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ro(c,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(c.hasChildren()||e.length>0)?Object.assign({},no):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(a.matcher||ap)(e,c,a);if(!l)return Object.assign({},no);const s={};Nt(l.posParams,(i,r)=>{s[r]=i.path});const n=l.consumed.length>0?Object.assign(Object.assign({},s),l.consumed[l.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:n,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function Ml(c,a,e,t,o="corrected"){if(e.length>0&&function CA(c,a,e){return e.some(t=>cs(c,a,t)&&hn(t)!==ht)}(c,e,t)){const s=new bt(a,function bA(c,a,e,t){const o={};o[ht]=t,t._sourceSegment=c,t._segmentIndexShift=a.length;for(const l of e)if(""===l.path&&hn(l)!==ht){const s=new bt([],{});s._sourceSegment=c,s._segmentIndexShift=a.length,o[hn(l)]=s}return o}(c,a,t,new bt(e,c.children)));return s._sourceSegment=c,s._segmentIndexShift=a.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function Dl(c,a,e){return e.some(t=>cs(c,a,t))}(c,e,t)){const s=new bt(c.segments,function R_(c,a,e,t,o,l){const s={};for(const n of t)if(cs(c,e,n)&&!o[hn(n)]){const i=new bt([],{});i._sourceSegment=c,i._segmentIndexShift="legacy"===l?c.segments.length:a.length,s[hn(n)]=i}return Object.assign(Object.assign({},o),s)}(c,a,e,t,c.children,o));return s._sourceSegment=c,s._segmentIndexShift=a.length,{segmentGroup:s,slicedSegments:e}}const l=new bt(c.segments,c.children);return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}function cs(c,a,e){return(!(c.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Hl(c,a,e,t){return!!(hn(c)===t||t!==ht&&cs(a,e,c))&&("**"===c.path||ro(a,c,e).matched)}function ds(c,a,e){return 0===a.length&&!c.children[e]}class ao{constructor(a){this.segmentGroup=a||null}}class vd{constructor(a){this.urlTree=a}}function rr(c){return new Qt.y(a=>a.error(new ao(c)))}function _p(c){return new Qt.y(a=>a.error(new vd(c)))}function oo(c){return new Qt.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${c}'`)))}class yA{constructor(a,e,t,o,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=l,this.allowRedirects=!0,this.ngModule=a.get(g.h0i)}apply(){const a=Ml(this.urlTree.root,[],[],this.config).segmentGroup,e=new bt(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ht).pipe((0,Be.U)(l=>this.createUrlTree(Rl(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,li.K)(l=>{if(l instanceof vd)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof ao?this.noMatchError(l):l}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,ht).pipe((0,Be.U)(o=>this.createUrlTree(Rl(o),a.queryParams,a.fragment))).pipe((0,li.K)(o=>{throw o instanceof ao?this.noMatchError(o):o}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const o=a.segments.length>0?new bt([],{[ht]:a}):a;return new Ln(o,e,t)}expandSegmentGroup(a,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,Be.U)(l=>new bt([],l))):this.expandSegment(a,t,e,t.segments,o,!0)}expandChildren(a,e,t){const o=[];for(const l of Object.keys(t.children))"primary"===l?o.unshift(l):o.push(l);return(0,Ai.D)(o).pipe((0,tt.b)(l=>{const s=t.children[l],n=gp(e,l);return this.expandSegmentGroup(a,n,s,l).pipe((0,Be.U)(i=>({segment:i,outlet:l})))}),Vt((l,s)=>(l[s.outlet]=s.segment,l),{}),function xi(c,a){const e=arguments.length>=2;return t=>t.pipe(c?(0,Xt.h)((o,l)=>c(o,l,t)):er.y,Sr(1),e?(0,es.d)(a):(0,Mr.T)(()=>new mi.K))}())}expandSegment(a,e,t,o,l,s){return(0,Ai.D)(t).pipe((0,tt.b)(n=>this.expandSegmentAgainstRoute(a,e,t,n,o,l,s).pipe((0,li.K)(r=>{if(r instanceof ao)return(0,Ue.of)(null);throw r}))),(0,Ki.P)(n=>!!n),(0,li.K)((n,i)=>{if(n instanceof mi.K||"EmptyError"===n.name){if(ds(e,o,l))return(0,Ue.of)(new bt([],{}));throw new ao(e)}throw n}))}expandSegmentAgainstRoute(a,e,t,o,l,s,n){return Hl(o,e,l,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(a,e,o,l,s):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s):rr(e):rr(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,o){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?_p(l):this.lineralizeSegments(t,l).pipe((0,ei.z)(s=>{const n=new bt(s,{});return this.expandSegment(a,n,e,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s){const{matched:n,consumedSegments:i,lastChild:r,positionalParamSegments:d}=ro(e,o,l);if(!n)return rr(e);const u=this.applyRedirectCommands(i,o.redirectTo,d);return o.redirectTo.startsWith("/")?_p(u):this.lineralizeSegments(o,u).pipe((0,ei.z)(f=>this.expandSegment(a,e,t,f.concat(l.slice(r)),s,!1)))}matchSegmentAgainstRoute(a,e,t,o,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,Be.U)(f=>(t._loadedConfig=f,new bt(o,{})))):(0,Ue.of)(new bt(o,{}));const{matched:s,consumedSegments:n,lastChild:i}=ro(e,t,o);if(!s)return rr(e);const r=o.slice(i);return this.getChildConfig(a,t,o).pipe((0,ei.z)(u=>{const f=u.module,b=u.routes,{segmentGroup:H,slicedSegments:G}=Ml(e,n,r,b),oe=new bt(H.segments,H.children);if(0===G.length&&oe.hasChildren())return this.expandChildren(f,b,oe).pipe((0,Be.U)(At=>new bt(n,At)));if(0===b.length&&0===G.length)return(0,Ue.of)(new bt(n,{}));const Oe=hn(t)===l;return this.expandSegment(f,oe,b,G,Oe?ht:l,!0).pipe((0,Be.U)(nt=>new bt(n.concat(nt.segments),nt.children)))}))}getChildConfig(a,e,t){return e.children?(0,Ue.of)(new Cd(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,Ue.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,ei.z)(o=>o?this.configLoader.load(a.injector,e).pipe((0,Be.U)(l=>(e._loadedConfig=l,l))):function wd(c){return new Qt.y(a=>a.error(gl(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`)))}(e))):(0,Ue.of)(new Cd([],a))}runCanLoadGuards(a,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ue.of)(!0);const l=o.map(s=>{const n=a.get(s);let i;if(function Jt(c){return c&&Rr(c.canLoad)}(n))i=n.canLoad(e,t);else{if(!Rr(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return dn(i)});return(0,Ue.of)(l).pipe(ls(),(0,Et.b)(s=>{if(!Li(s))return;const n=gl(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw n.url=s,n}),(0,Be.U)(s=>!0===s))}lineralizeSegments(a,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ue.of)(t);if(o.numberOfChildren>1||!o.children[ht])return oo(a.redirectTo);o=o.children[ht]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,o){const l=this.createSegmentGroup(a,e.root,t,o);return new Ln(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return Nt(a,(o,l)=>{if("string"==typeof o&&o.startsWith(":")){const n=o.substring(1);t[l]=e[n]}else t[l]=o}),t}createSegmentGroup(a,e,t,o){const l=this.createSegments(a,e.segments,t,o);let s={};return Nt(e.children,(n,i)=>{s[i]=this.createSegmentGroup(a,n,t,o)}),new bt(l,s)}createSegments(a,e,t,o){return e.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,o):this.findOrReturn(l,t))}findPosParam(a,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return o}findOrReturn(a,e){let t=0;for(const o of e){if(o.path===a.path)return e.splice(t),o;t++}return a}}function Rl(c){const a={};for(const t of Object.keys(c.children)){const l=Rl(c.children[t]);(l.segments.length>0||l.hasChildren())&&(a[t]=l)}return function bp(c){if(1===c.numberOfChildren&&c.children[ht]){const a=c.children[ht];return new bt(c.segments.concat(a.segments),a.children)}return c}(new bt(c.segments,a))}class Cp{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Vr{constructor(a,e){this.component=a,this.route=e}}function Ad(c,a,e){const t=c._root;return us(t,a?a._root:null,e,[t.value])}function oa(c,a,e){const t=function Il(c){if(!c)return null;for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(c)}function us(c,a,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const l=nr(a);return c.children.forEach(s=>{(function yp(c,a,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const l=c.value,s=a?a.value:null,n=e?e.getContext(c.value.outlet):null;if(s&&l.routeConfig===s.routeConfig){const i=function vp(c,a,e){if("function"==typeof e)return e(c,a);switch(e){case"pathParamsChange":return!tr(c.url,a.url);case"pathParamsOrQueryParamsChange":return!tr(c.url,a.url)||!en(c.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!as(c,a)||!en(c.queryParams,a.queryParams);default:return!as(c,a)}}(s,l,l.routeConfig.runGuardsAndResolvers);i?o.canActivateChecks.push(new Cp(t)):(l.data=s.data,l._resolvedData=s._resolvedData),us(c,a,l.component?n?n.children:null:e,t,o),i&&n&&n.outlet&&n.outlet.isActivated&&o.canDeactivateChecks.push(new Vr(n.outlet.component,s))}else s&&so(a,n,o),o.canActivateChecks.push(new Cp(t)),us(c,null,l.component?n?n.children:null:e,t,o)})(s,l[s.value.outlet],e,t.concat([s.value]),o),delete l[s.value.outlet]}),Nt(l,(s,n)=>so(s,e.getContext(n),o)),o}function so(c,a,e){const t=nr(c),o=c.value;Nt(t,(l,s)=>{so(l,o.component?a?a.children.getContext(s):null:a,e)}),e.canDeactivateChecks.push(new Vr(o.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,o))}class lo{}function Td(c){return new Qt.y(a=>a.error(c))}class Sd{constructor(a,e,t,o,l,s){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=s}recognize(){const a=Ml(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,ht);if(null===e)return null;const t=new Yt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new tn(t,e),l=new hd(this.url,o);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(a){const e=a.value,t=yt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const l of Object.keys(e.children)){const s=e.children[l],n=gp(a,l),i=this.processSegmentGroup(n,s,l);if(null===i)return null;t.push(...i)}const o=Md(t);return function co(c){c.sort((a,e)=>a.value.outlet===ht?-1:e.value.outlet===ht?1:a.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(a,e,t,o){for(const l of a){const s=this.processSegmentAgainstRoute(l,e,t,o);if(null!==s)return s}return ds(e,t,o)?[]:null}processSegmentAgainstRoute(a,e,t,o){if(a.redirectTo||!Hl(a,e,t,o))return null;let l,s=[],n=[];if("**"===a.path){const b=t.length>0?_l(t).parameters:{};l=new Yt(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ep(a),hn(a),a.component,a,sa(e),O_(e)+t.length,qt(a))}else{const b=ro(e,a,t);if(!b.matched)return null;s=b.consumedSegments,n=t.slice(b.lastChild),l=new Yt(s,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ep(a),hn(a),a.component,a,sa(e),O_(e)+s.length,qt(a))}const i=function uo(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(a),{segmentGroup:r,slicedSegments:d}=Ml(e,s,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&r.hasChildren()){const b=this.processChildren(i,r);return null===b?null:[new tn(l,b)]}if(0===i.length&&0===d.length)return[new tn(l,[])];const u=hn(a)===o,f=this.processSegment(i,r,d,u?ht:o);return null===f?null:[new tn(l,f)]}}function ho(c){const a=c.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function Md(c){const a=[],e=new Set;for(const t of c){if(!ho(t)){a.push(t);continue}const o=a.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):a.push(t)}for(const t of e){const o=Md(t.children);a.push(new tn(t.value,o))}return a.filter(t=>!e.has(t))}function sa(c){let a=c;for(;a._sourceSegment;)a=a._sourceSegment;return a}function O_(c){let a=c,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function Ep(c){return c.data||{}}function qt(c){return c.resolve||{}}function L_(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Sp(c){return(0,Ct.w)(a=>{const e=c(a);return e?(0,Ai.D)(e).pipe((0,Be.U)(()=>a)):(0,Ue.of)(a)})}class di extends class TA{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const fs=new g.OlP("ROUTES");class po{constructor(a,e,t,o){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,Be.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=l.create(a);return new Cd(ld(s.injector.get(fs,void 0,g.XFs.Self|g.XFs.Optional)).map(aa),s)}),(0,li.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new Ie(o,()=>new Ge.x).pipe(Hi()),e._loader$}loadModuleFactory(a){return dn(a()).pipe((0,ei.z)(e=>e instanceof g.YKP?(0,Ue.of)(e):(0,Ai.D)(this.compiler.compileModuleAsync(e))))}}class j_{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function pn(c){throw c}function Nn(c,a,e){return a.parse("/")}function Dd(c,a){return(0,Ue.of)(null)}const Vl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ms={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bi=(()=>{class c{constructor(e,t,o,l,s,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=l,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ge.x,this.errorHandler=pn,this.malformedUriErrorHandler=Nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dd,afterPreactivation:Dd},this.urlHandlingStrategy=new j_,this.routeReuseStrategy=new di,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(g.h0i),this.console=s.get(g.c2e);const u=s.get(g.R0b);this.isNgZoneEnabled=u instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function na(){return new Ln(new bt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new po(s,n,f=>this.triggerEvent(new Fi(f)),f=>this.triggerEvent(new ad(f))),this.routerState=lp(this.currentUrlTree,this.rootComponentType),this.transitions=new Tt({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,Xt.h)(o=>0!==o.id),(0,Be.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,Ct.w)(o=>{let l=!1,s=!1;return(0,Ue.of)(o).pipe((0,Et.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ct.w)(n=>{const i=this.browserUrlTree.toString(),r=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Bl(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ue.of)(n).pipe((0,Ct.w)(u=>{const f=this.transitions.getValue();return t.next(new gi(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions.getValue()?Yi.E:Promise.resolve(u)}),function I_(c,a,e,t){return(0,Ct.w)(o=>function Pl(c,a,e,t,o){return new yA(c,a,e,t,o).apply()}(c,a,e,o.extractedUrl,t).pipe((0,Be.U)(l=>Object.assign(Object.assign({},o),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Et.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function F_(c,a,e,t,o){return(0,ei.z)(l=>function Ed(c,a,e,t,o="emptyOnly",l="legacy"){try{const s=new Sd(c,a,e,t,o,l).recognize();return null===s?Td(new lo):(0,Ue.of)(s)}catch(s){return Td(s)}}(c,a,l.urlAfterRedirects,e(l.urlAfterRedirects),t,o).pipe((0,Be.U)(s=>Object.assign(Object.assign({},l),{targetSnapshot:s}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Et.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const f=new ta(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(f)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:H,restoredState:G,extras:oe}=n,Oe=new gi(f,this.serializeUrl(b),H,G);t.next(Oe);const ct=lp(b,this.rootComponentType).snapshot;return(0,Ue.of)(Object.assign(Object.assign({},n),{targetSnapshot:ct,urlAfterRedirects:b,extras:Object.assign(Object.assign({},oe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Yi.E}),Sp(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Et.b)(n=>{const i=new Xi(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,Be.U)(n=>Object.assign(Object.assign({},n),{guards:Ad(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function wp(c,a){return(0,ei.z)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:l,canDeactivateChecks:s}}=e;return 0===s.length&&0===l.length?(0,Ue.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function k_(c,a,e,t){return(0,Ai.D)(c).pipe((0,ei.z)(o=>function xp(c,a,e,t,o){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,Ue.of)(!0);const s=l.map(n=>{const i=oa(n,a,o);let r;if(function mp(c){return c&&Rr(c.canDeactivate)}(i))r=dn(i.canDeactivate(c,a,e,t));else{if(!Rr(i))throw new Error("Invalid CanDeactivate guard");r=dn(i(c,a,e,t))}return r.pipe((0,Ki.P)())});return(0,Ue.of)(s).pipe(ls())}(o.component,o.route,e,a,t)),(0,Ki.P)(o=>!0!==o,!0))}(s,t,o,c).pipe((0,ei.z)(n=>n&&function Ri(c){return"boolean"==typeof c}(n)?function V_(c,a,e,t){return(0,Ai.D)(a).pipe((0,tt.b)(o=>(0,Oi.z)(function hs(c,a){return null!==c&&a&&a(new Xh(c)),(0,Ue.of)(!0)}(o.route.parent,t),function kl(c,a){return null!==c&&a&&a(new tp(c)),(0,Ue.of)(!0)}(o.route,t),function Ap(c,a,e){const t=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(s=>function xd(c){const a=c.routeConfig?c.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:c,guards:a}:null}(s)).filter(s=>null!==s).map(s=>Tn(()=>{const n=s.guards.map(i=>{const r=oa(i,s.node,e);let d;if(function D_(c){return c&&Rr(c.canActivateChild)}(r))d=dn(r.canActivateChild(t,c));else{if(!Rr(r))throw new Error("Invalid CanActivateChild guard");d=dn(r(t,c))}return d.pipe((0,Ki.P)())});return(0,Ue.of)(n).pipe(ls())}));return(0,Ue.of)(l).pipe(ls())}(c,o.path,e),function B_(c,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ue.of)(!0);const o=t.map(l=>Tn(()=>{const s=oa(l,a,e);let n;if(function fp(c){return c&&Rr(c.canActivate)}(s))n=dn(s.canActivate(a,c));else{if(!Rr(s))throw new Error("Invalid CanActivate guard");n=dn(s(a,c))}return n.pipe((0,Ki.P)())}));return(0,Ue.of)(o).pipe(ls())}(c,o.route,e))),(0,Ki.P)(o=>!0!==o,!0))}(t,l,c,a):(0,Ue.of)(n)),(0,Be.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,Et.b)(n=>{if(Li(n.guardsResult)){const r=gl(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw r.url=n.guardsResult,r}const i=new ml(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,Xt.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),Sp(n=>{if(n.guards.canActivateChecks.length)return(0,Ue.of)(n).pipe((0,Et.b)(i=>{const r=new Kh(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}),(0,Ct.w)(i=>{let r=!1;return(0,Ue.of)(i).pipe(function vA(c,a){return(0,ei.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ue.of)(e);let l=0;return(0,Ai.D)(o).pipe((0,tt.b)(s=>function wA(c,a,e,t){return function AA(c,a,e,t){const o=L_(c);if(0===o.length)return(0,Ue.of)({});const l={};return(0,Ai.D)(o).pipe((0,ei.z)(s=>function xA(c,a,e,t){const o=oa(c,a,t);return dn(o.resolve?o.resolve(a,e):o(a,e))}(c[s],a,e,t).pipe((0,Et.b)(n=>{l[s]=n}))),Sr(1),(0,ei.z)(()=>L_(l).length===o.length?(0,Ue.of)(l):Yi.E))}(c._resolve,c,a,t).pipe((0,Be.U)(l=>(c._resolvedData=l,c.data=Object.assign(Object.assign({},c.data),yt(c,e).resolve),null)))}(s.route,t,c,a)),(0,Et.b)(()=>l++),Sr(1),(0,ei.z)(s=>l===o.length?(0,Ue.of)(e):Yi.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Et.b)({next:()=>r=!0,complete:()=>{r||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,Et.b)(i=>{const r=new Zh(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}))}),Sp(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Be.U)(n=>{const i=function _A(c,a,e){const t=os(c,a._root,e?e._root:void 0);return new ud(t,a)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,Et.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((c,a,e)=>(0,Be.U)(t=>(new pp(a,t.targetRouterState,t.currentRouterState,e).activate(c),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,Et.b)({next(){l=!0},complete(){l=!0}}),Dt(()=>{var n;l||s||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===o.id&&(this.currentNavigation=null)}),(0,li.K)(n=>{if(s=!0,function rp(c){return c&&c[sd]}(n)){const i=Li(n.url);i||(this.navigated=!0,this.restoreHistory(o,!0));const r=new $a(o.id,this.serializeUrl(o.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bl(o.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const i=new ts(o.id,this.serializeUrl(o.extractedUrl),n);t.next(i);try{o.resolve(this.errorHandler(n))}catch(r){o.reject(r)}}return Yi.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 l={replaceUrl:!0},s=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(s){const i=Object.assign({},s);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(l.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,s,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yd(e),this.config=e.map(aa),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:l,fragment:s,queryParamsHandling:n,preserveFragment:i}=t,r=o||this.routerState.root,d=i?this.currentUrlTree.fragment:s;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=l||null}return null!==u&&(u=this.removeEmptyProps(u)),function Pi(c,a,e,t,o){if(0===e.length)return Pr(a.root,a.root,a,t,o);const l=function up(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new dp(!0,0,c);let a=0,e=!1;const t=c.reduce((o,l,s)=>{if("object"==typeof l&&null!=l){if(l.outlets){const n={};return Nt(l.outlets,(i,r)=>{n[r]="string"==typeof i?i.split("/"):i}),[...o,{outlets:n}]}if(l.segmentPath)return[...o,l.segmentPath]}return"string"!=typeof l?[...o,l]:0===s?(l.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?a++:""!=n&&o.push(n))}),o):[...o,l]},[]);return new dp(e,a,t)}(e);if(l.toRoot())return Pr(a.root,new bt([],{}),a,t,o);const s=function S_(c,a,e){if(c.isAbsolute)return new pd(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new pd(l,l===a.root,0)}const t=un(c.commands[0])?0:1;return function fd(c,a,e){let t=c,o=a,l=e;for(;l>o;){if(l-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new pd(t,!1,o-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,c.numberOfDoubleDots)}(l,a,c),n=s.processChildren?to(s.segmentGroup,s.index,l.commands):gd(s.segmentGroup,s.index,l.commands);return Pr(s.segmentGroup,n,a,t,o)}(r,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=Li(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function N_(c){for(let a=0;a{const l=e[o];return null!=l&&(t[o]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ci(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,l,s){var n,i,r;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=Bl(t)&&d&&!Bl(d.source),f=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&f&&b)return Promise.resolve(!0);let G,oe,Oe;s?(G=s.resolve,oe=s.reject,Oe=s.promise):Oe=new Promise((At,In)=>{G=At,oe=In});const ct=++this.navigationId;let nt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),nt=o&&o.\u0275routerPageId?o.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(r=this.browserPageId)&&void 0!==r?r:0)+1):nt=0,this.setTransition({id:ct,targetPageId:nt,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:G,reject:oe,promise:Oe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Oe.catch(At=>Promise.reject(At))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",l):this.location.go(o,"",l)}restoreHistory(e,t=!1){var o,l;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}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 $a(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 c.\u0275fac=function(e){g.$Z()},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Bl(c){return"imperative"!==c}class ca{}class Pd{preload(a,e){return(0,Ue.of)(null)}}let Hp=(()=>{class c{constructor(e,t,o,l){this.router=e,this.injector=o,this.preloadingStrategy=l,this.loader=new po(o,t,i=>e.triggerEvent(new Fi(i)),i=>e.triggerEvent(new ad(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Xt.h)(e=>e instanceof ci),(0,tt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(g.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const s=l._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else l.loadChildren&&!l.canLoad?o.push(this.preloadConfig(e,l)):l.children&&o.push(this.processRoutes(e,l.children));return(0,Ai.D)(o).pipe((0,Wa.J)(),(0,Be.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,ei.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(bi),g.LFG(g.Sil),g.LFG(g.zs3),g.LFG(ca))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Rd=(()=>{class c{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 gi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ci&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof od&&(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 od(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(e){g.$Z()},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const da=new g.OlP("ROUTER_CONFIGURATION"),Pp=new g.OlP("ROUTER_FORROOT_GUARD"),Rp=[E.Ye,{provide:ns,useClass:Za},{provide:bi,useFactory:function z_(c,a,e,t,o,l,s={},n,i){const r=new bi(null,c,a,e,t,o,ld(l));return n&&(r.urlHandlingStrategy=n),i&&(r.routeReuseStrategy=i),function G_(c,a){c.errorHandler&&(a.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(a.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(a.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(a.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(a.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(a.canceledNavigationResolution=c.canceledNavigationResolution)}(s,r),s.enableTracing&&r.events.subscribe(d=>{var u,f;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(f=console.groupEnd)||void 0===f||f.call(console)}),r},deps:[ns,Ir,E.Ye,g.zs3,g.Sil,fs,da,[class EA{},new g.FiY],[class ps{},new g.FiY]]},Ir,{provide:be,useFactory:function U_(c){return c.routerState.root},deps:[bi]},Hp,Pd,class SA{preload(a,e){return e().pipe((0,li.K)(()=>(0,Ue.of)(null)))}},{provide:da,useValue:{enableTracing:!1}}];function Id(){return new g.PXZ("Router",bi)}let ua=(()=>{class c{constructor(e,t){}static forRoot(e,t){return{ngModule:c,providers:[Rp,_s(e),{provide:Pp,useFactory:kd,deps:[[bi,new g.FiY,new g.tp0]]},{provide:da,useValue:t||{}},{provide:E.S$,useFactory:gs,deps:[E.lw,[new g.tBr(E.mr),new g.FiY],da]},{provide:Rd,useFactory:DA,deps:[bi,E.EM,da]},{provide:ca,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Pd},{provide:g.PXZ,multi:!0,useFactory:Id},[Ol,{provide:g.ip1,multi:!0,useFactory:q_,deps:[Ol]},{provide:Vd,useFactory:bs,deps:[Ol]},{provide:g.tb,multi:!0,useExisting:Vd}]]}}static forChild(e){return{ngModule:c,providers:[_s(e)]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Pp,8),g.LFG(bi,8))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();function DA(c,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new Rd(c,a,e)}function gs(c,a,e={}){return e.useHash?new E.Do(c,a):new E.b0(c,a)}function kd(c){return"guarded"}function _s(c){return[{provide:g.deG,multi:!0,useValue:c},{provide:fs,multi:!0,useValue:c}]}let Ol=(()=>{class c{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ge.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(n=>t=n),l=this.injector.get(bi),s=this.injector.get(da);return"disabled"===s.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,Ue.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(da),o=this.injector.get(Hp),l=this.injector.get(Rd),s=this.injector.get(bi),n=this.injector.get(g.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),l.init(),s.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.zs3))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function q_(c){return c.appInitializer.bind(c)}function bs(c){return c.bootstrapListener.bind(c)}const Vd=new g.OlP("Router Initializer");let Ip=(()=>{class c{constructor(){this.title="linker"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-root"]],decls:1,vars:0,template:function(e,t){1&e&&g._UZ(0,"router-outlet")},directives:[io],styles:[""]}),c})();var Cs=x(6114),y=x(520);class Lt{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const Kt=new g.OlP("basePath");class it{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let fo=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}convertAttributeToNonunique(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}convertAttributeToUnique(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attribute"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteAttributeDefinitions(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"attributes[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAllAttributeDefinitions(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAttribute(e,t,o,l,s,n,i,r,d,u,f,b="body",H=!1,G){let oe=new y.LE({encoder:this.encoder});null!=e&&(oe=this.addToHttpParams(oe,e,"attributeName")),null!=t&&(oe=this.addToHttpParams(oe,t,"attributeId")),null!=o&&(oe=this.addToHttpParams(oe,o,"facility")),null!=l&&(oe=this.addToHttpParams(oe,l,"user")),null!=s&&(oe=this.addToHttpParams(oe,s,"vo")),null!=n&&(oe=this.addToHttpParams(oe,n,"resource")),null!=i&&(oe=this.addToHttpParams(oe,i,"member")),null!=r&&(oe=this.addToHttpParams(oe,r,"group")),null!=d&&(oe=this.addToHttpParams(oe,d,"host")),null!=u&&(oe=this.addToHttpParams(oe,u,"userExtSource")),null!=f&&(oe=this.addToHttpParams(oe,f,"key"));let ct,Oe=this.defaultHeaders;ct=this.configuration.lookupCredential("BasicAuth"),ct&&(Oe=Oe.set("Authorization","Basic "+ct)),ct=this.configuration.lookupCredential("BearerAuth"),ct&&(Oe=Oe.set("Authorization","Bearer "+ct));let nt=G&&G.httpHeaderAccept;void 0===nt&&(nt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==nt&&(Oe=Oe.set("Accept",nt));let At=G&&G.context;void 0===At&&(At=new y.qT);let In="json";return nt&&(In=nt.startsWith("text")?"text":this.configuration.isJsonMime(nt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:At,params:oe,responseType:In,withCredentials:this.configuration.withCredentials,headers:Oe,observe:b,reportProgress:H})}getAttributeDefinitionById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeDefinitionByName(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeDefinitionsByNamespace(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeModulesDependenciesForAttributeGraphText(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"format")),null!=t&&(n=this.addToHttpParams(n,t,"attrName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getAttributeModulesDependenciesGraphText(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"format"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributePolicyCollections(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeRights(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributesDefinitionWithRights(e,t,o,l,s,n,i,r,d="body",u=!1,f){let b=new y.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=o&&(b=this.addToHttpParams(b,o,"vo")),null!=l&&(b=this.addToHttpParams(b,l,"group")),null!=s&&(b=this.addToHttpParams(b,s,"resource")),null!=n&&(b=this.addToHttpParams(b,n,"facility")),null!=i&&(b=this.addToHttpParams(b,i,"host")),null!=r&&(b=this.addToHttpParams(b,r,"userExtSource"));let G,H=this.defaultHeaders;G=this.configuration.lookupCredential("BasicAuth"),G&&(H=H.set("Authorization","Basic "+G)),G=this.configuration.lookupCredential("BearerAuth"),G&&(H=H.set("Authorization","Bearer "+G));let oe=f&&f.httpHeaderAccept;void 0===oe&&(oe=this.configuration.selectHeaderAccept(["application/json"])),void 0!==oe&&(H=H.set("Accept",oe));let Oe=f&&f.context;void 0===Oe&&(Oe=new y.qT);let ct="json";return oe&&(ct=oe.startsWith("text")?"text":this.configuration.isJsonMime(oe)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:Oe,params:b,responseType:ct,withCredentials:this.configuration.withCredentials,headers:H,observe:d,reportProgress:u})}getEntitylessAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getEntitylessAttributesByKey(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getEntitylessAttributesByName(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attrName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getEntitylessAttributesWithKeys(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attrName")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"keys[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getEntitylessKeys(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFacilityAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFacilityAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityResourceUserMemberAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"facility")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"user")),null!=l&&(r=this.addToHttpParams(r,l,"member"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getFacilityUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"user"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupResourceAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getHostAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getLogins(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getMemberAndUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAndUserAttributesByNames(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(H=>{i=this.addToHttpParams(i,H,"attrNames[]")}),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getMemberAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberGroupAndUserAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getMemberGroupAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberGroupAttributesByNames(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attrNames[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getMemberResourceAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesFacility(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesFacilityService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesFacilityServices(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesGroupResourceService(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"service")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"group"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesHostService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"host"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesMember(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesMemberGroup(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(e,t,o,l,s,n="body",i=!1,r){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==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=o&&(d=this.addToHttpParams(d,o,"group")),null!=l&&(d=this.addToHttpParams(d,l,"member")),null!=s&&(d=this.addToHttpParams(d,s,"workWithUserAttributes"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}getRequiredAttributesMemberGroupService(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=o&&(r=this.addToHttpParams(r,o,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getRequiredAttributesMemberResource(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberResourceService(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getRequiredAttributesResource(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesResourceService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesResourceServices(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesUser(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesUserFacility(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesVoService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getResourceAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceGroupAndGroupAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"resource")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"workWithGroupAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getResourceGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceGroupMemberAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=o&&(r=this.addToHttpParams(r,o,"member")),l&&l.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getUserAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserFacilityAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(e,t,o,l,s,n,i="body",r=!1,d){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==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=o&&(u=this.addToHttpParams(u,o,"group")),null!=l&&(u=this.addToHttpParams(u,l,"user")),null!=s&&(u=this.addToHttpParams(u,s,"member")),n&&n.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(f=f.set("Accept",H));let G=d&&d.context;void 0===G&&(G=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:G,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}removeAttributesForFacilityResourceUserMember(e,t,o,l,s,n="body",i=!1,r){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==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=o&&(d=this.addToHttpParams(d,o,"user")),null!=l&&(d=this.addToHttpParams(d,l,"member")),s&&s.forEach(oe=>{d=this.addToHttpParams(d,oe,"attributes[]")});let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}removeEntitylessAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeFacilityAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeFacilityAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupResourceAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}removeHostAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeHostAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")}),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}removeMemberResourceAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberResourceAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeResourceAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUesAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserExtSourceAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserFacilityAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeUserFacilityAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeVoAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeVoAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}setAttributePolicyCollections(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setAttributeRights(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setEntitylessAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceGroupUserMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceUserMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupWithUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAndUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberWithUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupWithGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),mo=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAllPolicies(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=o&&(i=this.addToHttpParams(i,o,"complementaryObjectName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAuthzRichAdmins(e,t,o,l,s,n,i="body",r=!1,d){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==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=o&&(u=this.addToHttpParams(u,o,"complementaryObjectName")),l&&l.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"specificAttributes")}),null!=s&&(u=this.addToHttpParams(u,s,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(f=f.set("Accept",H));let G=d&&d.context;void 0===G&&(G=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:G,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}getFacilitiesWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupRoleNames(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getLoggedUser(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getPerunPrincipal(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserRoleNames(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}isFacilityAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}keepAlive(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Bp=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}sentMessageToRTWithMemberQueue(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"memberId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=o&&(r=this.addToHttpParams(r,o,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}sentMessageToRTWithQueue(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVo(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVoQueue(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=o&&(r=this.addToHttpParams(r,o,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),J_=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addApplicationMailForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkForSimilarRichIdentities(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}consolidate(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}consolidateIdentityUsingToken(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromGroupToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromVoToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromVoToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromGroupToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromGroupToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromVoToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromVoToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}createApplicationFormInGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}deleteApplicationMailForVo(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}deleteGroupsFromAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,l,s="body",n=!1,i){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),t&&t.forEach(G=>{r=this.addToHttpParams(r,G,"state[]")}),null!=o&&(r=this.addToHttpParams(r,o,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getApplicationsForMember(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getApplicationsForVo(e,t,o,l,s="body",n=!1,i){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"vo")),t&&t.forEach(G=>{r=this.addToHttpParams(r,G,"state[]")}),null!=o&&(r=this.addToHttpParams(r,o,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getApplicationsPage(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFormItemsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupApplicationForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"id")),null!=t&&(n=this.addToHttpParams(n,t,"reason"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}sendInvitation(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=o&&(r=this.addToHttpParams(r,o,"voId")),null!=l&&(r=this.addToHttpParams(r,l,"name")),null!=e&&(r=this.addToHttpParams(r,e,"email")),null!=t&&(r=this.addToHttpParams(r,t,"language"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}sendInvitationForGroup(e,t,o,l,s,n="body",i=!1,r){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 d=new y.LE({encoder:this.encoder});null!=o&&(d=this.addToHttpParams(d,o,"voId")),null!=l&&(d=this.addToHttpParams(d,l,"groupId")),null!=s&&(d=this.addToHttpParams(d,s,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}sendInvitationGroupToExistingUser(e,t,o,l="body",s=!1,n){let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"userId")),null!=t&&(i=this.addToHttpParams(i,t,"voId")),null!=o&&(i=this.addToHttpParams(i,o,"groupId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sendInvitationToExistingUser(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userId")),null!=t&&(n=this.addToHttpParams(n,t,"voId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}sendMessage(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Fp=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAppsConfig(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),ab=(()=>{class c{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:c,providers:[{provide:it,useFactory:e}]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(c,12),g.LFG(y.eN,8))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[],imports:[[]]}),c})();var pt=(()=>{return(c=pt||(pt={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",pt;var c})();let ob=(()=>{class c{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 l=[];for(const n of o)l=l.concat(n.perunRoles);const s=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,s)}principalHasRole(e,t,o){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(o.toString()))}canManageFacilities(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER,pt.FACILITYADMIN,pt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(pt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(pt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(pt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.VOOBSERVER,pt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(pt.PERUNADMIN,pt.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.substring(4)),this.assignAvailableRoles(t,o);const l=new Map;this.setRolesAuthorization(t,e,l);for(const s of l.values())if(s.readAuth||s.manageAuth)return!0;return!1}setRolesAuthorization(e,t,o){for(const l of e){let s=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){s=s.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const H of Object.keys(b.entitiesToManage))i="User"===H?[H].concat(i):i.concat(H);break}const r=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(s,r),u=this.resolveAuthorization(n,r);o.set(l,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const o of e){let l=!0;for(const s of Object.keys(o)){const n=o[s];if(null===n)this.principalRoles.has(s)||(l=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(s,n,i)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const o of e){let l=o.beanName;switch(o.beanName.startsWith("Rich")&&(l=o.beanName.substring(4)),t[l]?t[l].push(o.id):t[l]=[o.id],l){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const s=o.shift();if(t.has(s))continue;const n=this.getPerunPolicy(s);if(!n)return[];t.set(s,n),o=o.concat(n.includePolicies)}const l=[];for(const s of t.values())l.push(s);return l}voCustomSort(e){for(let t=0;t{class c{constructor(e){if(this.value="ltr",this.change=new g.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function As(c){const a=(null==c?void 0:c.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?lb.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(sb,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();try{Ll="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(c){Ll=!1}let fa,Or,zd,Ii=(()=>{class c{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!Ll)&&"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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.Lbi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function or(c){return function jd(){if(null==fa&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fa=!0}))}finally{fa=fa||!1}return fa}()?c:!!c.capture}function db(){if(null==Or){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Or=!1,Or;if("scrollBehavior"in document.documentElement.style)Or=!0;else{const c=Element.prototype.scrollTo;Or=!!c&&!/\{\s*\[native code\]\s*\}/.test(c.toString())}}return Or}function Ts(c){if(function ub(){if(null==zd){const c="undefined"!=typeof document?document.head:null;zd=!(!c||!c.createShadowRoot&&!c.attachShadow)}return zd}()){const a=c.getRootNode?c.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function Co(){let c="undefined"!=typeof document&&document?document.activeElement:null;for(;c&&c.shadowRoot;){const a=c.shadowRoot.activeElement;if(a===c)break;c=a}return c}function fn(c){return c.composedPath?c.composedPath()[0]:c.target}function Es(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Ub(c,a){return c===a}x(8372);var qb=x(5032);function ui(c){return(0,Ft.e)((a,e)=>{(0,Xn.Xf)(c).subscribe((0,Ji.x)(e,()=>e.complete(),qb.Z)),!e.closed&&a.subscribe(e)})}function gt(c){return null!=c&&"false"!=`${c}`}function cr(c,a=0){return function Wb(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}(c)?Number(c):a}function pf(c){return Array.isArray(c)?c:[c]}function qe(c){return null==c?"":"string"==typeof c?c:`${c}px`}function ai(c){return c instanceof g.SBq?c.nativeElement:c}let Yd=(()=>{class c{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),vo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Yd]}),c})(),bf=(()=>{class c{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Jb(c){return!!(c.offsetWidth||c.offsetHeight||"function"==typeof c.getClientRects&&c.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Yb(c){try{return c.frameElement}catch(a){return null}}(function B0(c){return c.ownerDocument&&c.ownerDocument.defaultView||window}(e));if(t&&(-1===tu(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),l=tu(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Xb(c){let a=c.nodeName.toLowerCase(),e="input"===a&&c.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==l:"video"===o?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function iu(c){return!function Cf(c){return function Zb(c){return"input"==c.nodeName.toLowerCase()}(c)&&"hidden"==c.type}(c)&&(function Kb(c){let a=c.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(c)||function k0(c){return function V0(c){return"a"==c.nodeName.toLowerCase()}(c)&&c.hasAttribute("href")}(c)||c.hasAttribute("contenteditable")||eu(c))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function eu(c){if(!c.hasAttribute("tabindex")||void 0===c.tabIndex)return!1;let a=c.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function tu(c){if(!eu(c))return null;const a=parseInt(c.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class O0{constructor(a,e,t,o,l=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Pt.q)(1)).subscribe(a)}}let F0=(()=>{class c{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new O0(e,this._checker,this._ngZone,this._document,t)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(bf),g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function yf(c){return 0===c.buttons||0===c.offsetX&&0===c.offsetY}function Gn(c){const a=c.touches&&c.touches[0]||c.changedTouches&&c.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const nu=new g.OlP("cdk-input-modality-detector-options"),eC={ignoreKeys:[18,17,224,91,16]},Lr=or({passive:!0,capture:!0});let vf=(()=>{class c{constructor(e,t,o,l){this._platform=e,this._mostRecentTarget=null,this._modality=new Tt(null),this._lastTouchMs=0,this._onKeydown=s=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(r=>r===s.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(yf(s)?"keyboard":"mouse"),this._mostRecentTarget=fn(s))},this._onTouchstart=s=>{Gn(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fn(s))},this._options=Object.assign(Object.assign({},eC),l),this.modalityDetected=this._modality.pipe(function hf(c){return(0,Xt.h)((a,e)=>c<=e)}(1)),this.modalityChanged=this.modalityDetected.pipe(function Gb(c,a=er.y){return c=null!=c?c:Ub,(0,Ft.e)((e,t)=>{let o,l=!0;e.subscribe((0,Ji.x)(t,s=>{const n=a(s);(l||!c(o,n))&&(l=!1,o=n,t.next(s))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Lr),o.addEventListener("mousedown",this._onMousedown,Lr),o.addEventListener("touchstart",this._onTouchstart,Lr)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Lr),document.removeEventListener("mousedown",this._onMousedown,Lr),document.removeEventListener("touchstart",this._onTouchstart,Lr))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(g.R0b),g.LFG(E.K0),g.LFG(nu,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const au=new g.OlP("cdk-focus-monitor-default-options"),Ql=or({passive:!0,capture:!0});let _a=(()=>{class c{constructor(e,t,o,l,s){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 Ge.x,this._rootNodeFocusAndBlurListener=n=>{const i=fn(n),r="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)r.call(this,n,d)},this._document=l,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(e,t=!1){const o=ai(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ue.of)(null);const l=Ts(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return t&&(s.checkChildren=!0),s.subject;const n={checkChildren:t,subject:new Ge.x,rootNode:l};return this._elementInfo.set(o,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=ai(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 l=ai(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof l.focus&&l.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),l=fn(e);!o||!o.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),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,Ql),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ql)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ui(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!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,Ql),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ql),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,l)=>{(l===e||o.checkChildren&&l.contains(e))&&t.push([l,o])}),t}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(Ii),g.LFG(vf),g.LFG(E.K0,8),g.LFG(au,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Af="cdk-high-contrast-black-on-white",wo="cdk-high-contrast-white-on-black",jr="cdk-high-contrast-active";let Yl=(()=>{class c{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,l=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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(jr),e.remove(Af),e.remove(wo),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(jr),e.add(Af)):2===t&&(e.add(jr),e.add(wo))}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Nr=(()=>{class c{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Yl))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[vo]]}),c})();class Ao{}const dr="*";function Zt(c,a){return{type:7,name:c,definitions:a,options:{}}}function wt(c,a=null){return{type:4,styles:a,timings:c}}function Jl(c,a=null){return{type:3,steps:c,options:a}}function Kl(c,a=null){return{type:2,steps:c,options:a}}function Le(c){return{type:6,styles:c,offset:null}}function lt(c,a,e){return{type:0,name:c,styles:a,options:e}}function vt(c,a,e=null){return{type:1,expr:c,animation:a,options:e}}function Ds(c=null){return{type:9,options:c}}function Zl(c,a,e=null){return{type:11,selector:c,animation:a,options:e}}function xf(c){Promise.resolve(null).then(c)}class Hs{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){xf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ji{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,o=0;const l=this.players.length;0==l?xf(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==l&&this._onFinish()}),s.onDestroy(()=>{++t==l&&this._onDestroy()}),s.onStart(()=>{++o==l&&this._onStart()})}),this.totalTime=this.players.reduce((s,n)=>Math.max(s,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function aC(){return"undefined"!=typeof window&&void 0!==window.document}function Tf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ca(c){switch(c.length){case 0:return new Hs;case 1:return c[0];default:return new ji(c)}}function su(c,a,e,t,o={},l={}){const s=[],n=[];let i=-1,r=null;if(t.forEach(d=>{const u=d.offset,f=u==i,b=f&&r||{};Object.keys(d).forEach(H=>{let G=H,oe=d[H];if("offset"!==H)switch(G=a.normalizePropertyName(G,s),oe){case"!":oe=o[H];break;case dr:oe=l[H];break;default:oe=a.normalizeStyleValue(H,G,oe,s)}b[G]=oe}),f||n.push(b),r=b,i=u}),s.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${s.join(d)}`)}return n}function Ef(c,a,e,t){switch(a){case"start":c.onStart(()=>t(e&&lu(e,"start",c)));break;case"done":c.onDone(()=>t(e&&lu(e,"done",c)));break;case"destroy":c.onDestroy(()=>t(e&&lu(e,"destroy",c)))}}function lu(c,a,e){const t=e.totalTime,l=Ps(c.element,c.triggerName,c.fromState,c.toState,a||c.phaseName,null==t?c.totalTime:t,!!e.disabled),s=c._data;return null!=s&&(l._data=s),l}function Ps(c,a,e,t,o="",l=0,s){return{element:c,triggerName:a,fromState:e,toState:t,phaseName:o,totalTime:l,disabled:!!s}}function Ni(c,a,e){let t;return c instanceof Map?(t=c.get(a),t||c.set(a,t=e)):(t=c[a],t||(t=c[a]=e)),t}function Sf(c){const a=c.indexOf(":");return[c.substring(1,a),c.substr(a+1)]}let cu=(c,a)=>!1,Mf=(c,a,e)=>[];(Tf()||"undefined"!=typeof Element)&&(cu=aC()?(c,a)=>{for(;a&&a!==document.documentElement;){if(a===c)return!0;a=a.parentNode||a.host}return!1}:(c,a)=>c.contains(a),Mf=(c,a,e)=>{if(e)return Array.from(c.querySelectorAll(a));const t=c.querySelector(a);return t?[t]:[]});let zr=null,Df=!1;function Hf(c){zr||(zr=function Pf(){return"undefined"!=typeof document?document.body:null}()||{},Df=!!zr.style&&"WebkitAppearance"in zr.style);let a=!0;return zr.style&&!function sC(c){return"ebkit"==c.substring(1,6)}(c)&&(a=c in zr.style,!a&&Df&&(a="Webkit"+c.charAt(0).toUpperCase()+c.substr(1)in zr.style)),a}const du=cu,Rf=Mf;let Xl=(()=>{class c{validateStyleProperty(e){return Hf(e)}matchesElement(e,t){return!1}containsElement(e,t){return du(e,t)}query(e,t,o){return Rf(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,l,s,n=[],i){return new Hs(o,l)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),uu=(()=>{class c{}return c.NOOP=new Xl,c})();const hu="ng-enter",ec="ng-leave",tc="ng-trigger",To=".ng-trigger",kf="ng-animating",pu=".ng-animating";function Un(c){if("number"==typeof c)return c;const a=c.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Rs(parseFloat(a[1]),a[2])}function Rs(c,a){return"s"===a?1e3*c:c}function ic(c,a,e){return c.hasOwnProperty("duration")?c:function fu(c,a,e){let o,l=0,s="";if("string"==typeof c){const n=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return a.push(`The provided timing value "${c}" is invalid.`),{duration:0,delay:0,easing:""};o=Rs(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(l=Rs(parseFloat(i),n[4]));const r=n[5];r&&(s=r)}else o=c;if(!e){let n=!1,i=a.length;o<0&&(a.push("Duration values below 0 are not allowed for this animation step."),n=!0),l<0&&(a.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&a.splice(i,0,`The provided timing value "${c}" is invalid.`)}return{duration:o,delay:l,easing:s}}(c,a,e)}function Gr(c,a={}){return Object.keys(c).forEach(e=>{a[e]=c[e]}),a}function Ur(c,a,e={}){if(a)for(let t in c)e[t]=c[t];else Gr(c,e);return e}function Vf(c,a,e){return e?a+":"+e+";":""}function nc(c){let a="";for(let e=0;e{const o=_u(t);e&&!e.hasOwnProperty(t)&&(e[t]=c.style[o]),c.style[o]=a[t]}),Tf()&&nc(c))}function ya(c,a){c.style&&(Object.keys(a).forEach(e=>{const t=_u(e);c.style[t]=""}),Tf()&&nc(c))}function Eo(c){return Array.isArray(c)?1==c.length?c[0]:Kl(c):c}const rc=new RegExp("{{\\s*(.+?)\\s*}}","g");function gu(c){let a=[];if("string"==typeof c){let e;for(;e=rc.exec(c);)a.push(e[1]);rc.lastIndex=0}return a}function Is(c,a,e){const t=c.toString(),o=t.replace(rc,(l,s)=>{let n=a[s];return a.hasOwnProperty(s)||(e.push(`Please provide a value for the animation param ${s}`),n=""),n.toString()});return o==t?c:o}function gn(c){const a=[];let e=c.next();for(;!e.done;)a.push(e.value),e=c.next();return a}const ac=/-+([a-z0-9])/g;function _u(c){return c.replace(ac,(...a)=>a[1].toUpperCase())}function dC(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zi(c,a,e){switch(a.type){case 7:return c.visitTrigger(a,e);case 0:return c.visitState(a,e);case 1:return c.visitTransition(a,e);case 2:return c.visitSequence(a,e);case 3:return c.visitGroup(a,e);case 4:return c.visitAnimate(a,e);case 5:return c.visitKeyframes(a,e);case 6:return c.visitStyle(a,e);case 8:return c.visitReference(a,e);case 9:return c.visitAnimateChild(a,e);case 10:return c.visitAnimateRef(a,e);case 11:return c.visitQuery(a,e);case 12:return c.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function oc(c,a){return window.getComputedStyle(c)[a]}function uC(c,a){const e=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(t=>function Cu(c,a,e){if(":"==c[0]){const i=function Of(c,a){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(c,e);if("function"==typeof i)return void a.push(i);c=i}const t=c.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${c}" is not supported`),a;const o=t[1],l=t[2],s=t[3];a.push(Ff(o,s));"<"==l[0]&&!("*"==o&&"*"==s)&&a.push(Ff(s,o))}(t,e,a)):e.push(c),e}const ks=new Set(["true","1"]),Vs=new Set(["false","0"]);function Ff(c,a){const e=ks.has(c)||Vs.has(c),t=ks.has(a)||Vs.has(a);return(o,l)=>{let s="*"==c||c==o,n="*"==a||a==l;return!s&&e&&"boolean"==typeof o&&(s=o?ks.has(c):Vs.has(c)),!n&&t&&"boolean"==typeof l&&(n=l?ks.has(a):Vs.has(a)),s&&n}}const hC=new RegExp("s*:selfs*,?","g");function yu(c,a,e){return new So(c).build(a,e)}class So{constructor(a){this._driver=a}build(a,e){const t=new fC(e);return this._resetContextStyleTimingState(t),zi(this,Eo(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,o=e.depCount=0;const l=[],s=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,r=i.name;r.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,l.push(this.visitState(i,e))}),i.name=r}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,o+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:l,transitions:s,queryCount:t,depCount:o,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),o=a.options&&a.options.params||null;if(t.containsDynamicStyles){const l=new Set,s=o||{};if(t.styles.forEach(n=>{if(lc(n)){const i=n;Object.keys(i).forEach(r=>{gu(i[r]).forEach(d=>{s.hasOwnProperty(d)||l.add(d)})})}}),l.size){const n=gn(l.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:a.name,style:t,options:o?{params:o}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=zi(this,Eo(a.animation),e);return{type:1,matchers:uC(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:va(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>zi(this,t,e)),options:va(a.options)}}visitGroup(a,e){const t=e.currentTime;let o=0;const l=a.steps.map(s=>{e.currentTime=t;const n=zi(this,s,e);return o=Math.max(o,e.currentTime),n});return e.currentTime=o,{type:3,steps:l,options:va(a.options)}}visitAnimate(a,e){const t=function mC(c,a){let e=null;if(c.hasOwnProperty("duration"))e=c;else if("number"==typeof c)return wu(ic(c,a).duration,0,"");const t=c;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=wu(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||ic(t,a),wu(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let o,l=a.styles?a.styles:Le({});if(5==l.type)o=this.visitKeyframes(l,e);else{let s=a.styles,n=!1;if(!s){n=!0;const r={};t.easing&&(r.easing=t.easing),s=Le(r)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(s,e);i.isEmptyStep=n,o=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(s=>{"string"==typeof s?s==dr?t.push(s):e.errors.push(`The provided style string value ${s} is not allowed.`):t.push(s)}):t.push(a.styles);let o=!1,l=null;return t.forEach(s=>{if(lc(s)){const n=s,i=n.easing;if(i&&(l=i,delete n.easing),!o)for(let r in n)if(n[r].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:l,offset:a.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let o=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),a.styles.forEach(s=>{"string"!=typeof s&&Object.keys(s).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],r=i[n];let d=!0;r&&(l!=o&&l>=r.startTime&&o<=r.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${o}ms"`),d=!1),l=r.startTime),d&&(i[n]={startTime:l,endTime:o}),e.options&&function Bf(c,a,e){const t=a.params||{},o=gu(c);o.length&&o.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(s[n],e.options,e.errors)})})}visitKeyframes(a,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 l=0;const s=[];let n=!1,i=!1,r=0;const d=a.steps.map(Oe=>{const ct=this._makeStyleAst(Oe,e);let nt=null!=ct.offset?ct.offset:function Mo(c){if("string"==typeof c)return null;let a=null;if(Array.isArray(c))c.forEach(e=>{if(lc(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(lc(c)&&c.hasOwnProperty("offset")){const e=c;a=parseFloat(e.offset),delete e.offset}return a}(ct.styles),At=0;return null!=nt&&(l++,At=ct.offset=nt),i=i||At<0||At>1,n=n||At0&&l{const nt=f>0?ct==b?1:f*ct:s[ct],At=nt*oe;e.currentTime=H+G.delay+At,G.duration=At,this._validateStyleAst(Oe,e),Oe.offset=nt,t.styles.push(Oe)}),t}visitReference(a,e){return{type:8,animation:zi(this,Eo(a.animation),e),options:va(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:va(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:va(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,o=a.options||{};e.queryCount++,e.currentQuery=a;const[l,s]=function Lf(c){const a=!!c.split(/\s*,\s*/).find(e=>":self"==e);return a&&(c=c.replace(hC,"")),c=c.replace(/@\*/g,To).replace(/@\w+/g,e=>To+"-"+e.substr(1)).replace(/:animating/g,pu),[c,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+l:l,Ni(e.collectedStyles,e.currentQuerySelector,{});const n=zi(this,Eo(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:n,originalSelector:a.selector,options:va(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:ic(a.timings,e.errors,!0);return{type:12,animation:zi(this,Eo(a.animation),e),timings:t,options:null}}}class fC{constructor(a){this.errors=a,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 lc(c){return!Array.isArray(c)&&"object"==typeof c}function va(c){return c?(c=Gr(c)).params&&(c.params=function pC(c){return c?Gr(c):null}(c.params)):c={},c}function wu(c,a,e){return{duration:c,delay:a,easing:e}}function Gi(c,a,e,t,o,l,s=null,n=!1){return{type:1,element:c,keyframes:a,preStyleProps:e,postStyleProps:t,duration:o,delay:l,totalTime:o+l,easing:s,subTimeline:n}}class Do{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const zf=new RegExp(":enter","g"),gC=new RegExp(":leave","g");function Au(c,a,e,t,o,l={},s={},n,i,r=[]){return(new _C).buildKeyframes(c,a,e,t,o,l,s,n,i,r)}class _C{buildKeyframes(a,e,t,o,l,s,n,i,r,d=[]){r=r||new Do;const u=new dc(a,e,r,o,l,d,[]);u.options=i,u.currentTimeline.setStyles([s],null,u.errors,i),zi(this,t,u);const f=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let H=f.length-1;H>=0;H--){const G=f[H];if(G.element===e){b=G;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return f.length?f.map(b=>b.buildKeyframes()):[Gi(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(a.options),l=e.currentTimeline.currentTime,s=this._visitSubInstructions(t,o,o.options);l!=s&&e.transformIntoNewTimeline(s)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let l=e.currentTimeline.currentTime;const s=null!=t.duration?Un(t.duration):null,n=null!=t.delay?Un(t.delay):null;return 0!==s&&a.forEach(i=>{const r=e.appendInstructionToTimeline(i,s,n);l=Math.max(l,r.duration+r.delay)}),l}visitReference(a,e){e.updateOptions(a.options,!0),zi(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let o=e;const l=a.options;if(l&&(l.params||l.delay)&&(o=e.createSubContext(l),o.transformIntoNewTimeline(),null!=l.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=cc);const s=Un(l.delay);o.delayNextStep(s)}a.steps.length&&(a.steps.forEach(s=>zi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let o=e.currentTimeline.currentTime;const l=a.options&&a.options.delay?Un(a.options.delay):0;a.steps.forEach(s=>{const n=e.createSubContext(a.options);l&&n.delayNextStep(l),zi(this,s,n),o=Math.max(o,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return ic(e.params?Is(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=o&&o.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(l):t.setStyles(a.styles,l,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,l=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,a.styles.forEach(i=>{n.forwardTime((i.offset||0)*l),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(o+l),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,o=a.options||{},l=o.delay?Un(o.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cc);let s=t;const n=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((r,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(a.options,r);l&&u.delayNextStep(l),r===e.element&&(i=u.currentTimeline),zi(this,a.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,o=e.currentTimeline,l=a.timings,s=Math.abs(l.duration),n=s*(e.currentQueryTotal-1);let i=s*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;zi(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=o.currentTime-u+(o.startTime-t.currentTimeline.startTime)}}const cc={};class dc{constructor(a,e,t,o,l,s,n,i){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=l,this.errors=s,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new xu(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let o=this.options;null!=t.duration&&(o.duration=Un(t.duration)),null!=t.delay&&(o.delay=Un(t.delay));const l=t.params;if(l){let s=o.params;s||(s=this.options.params={}),Object.keys(l).forEach(n=>{(!e||!s.hasOwnProperty(n))&&(s[n]=Is(l[n],s,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return a}createSubContext(a=null,e,t){const o=e||this.element,l=new dc(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=cc,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const o={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},l=new Uf(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,o,a.stretchStartingKeyframe);return this.timelines.push(l),o}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,o,l,s){let n=[];if(o&&n.push(this.element),a.length>0){a=(a=a.replace(zf,"."+this._enterClassName)).replace(gC,"."+this._leaveClassName);let r=this._driver.query(this.element,a,1!=t);0!==t&&(r=t<0?r.slice(r.length+t,r.length):r.slice(0,t)),n.push(...r)}return!l&&0==n.length&&s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class xu{constructor(a,e,t,o){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new xu(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||dr,this._currentKeyframe[e]=dr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,o){e&&(this._previousKeyframe.easing=e);const l=o&&o.params||{},s=function bC(c,a){const e={};let t;return c.forEach(o=>{"*"===o?(t=t||Object.keys(a),t.forEach(l=>{e[l]=dr})):Ur(o,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(s).forEach(n=>{const i=Is(s[n],l,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:dr),this._updateStyle(n,i)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=a._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((n,i)=>{const r=Ur(n,!0);Object.keys(r).forEach(d=>{const u=r[d];"!"==u?a.add(d):u==dr&&e.add(d)}),t||(r.offset=i/this.duration),o.push(r)});const l=a.size?gn(a.values()):[],s=e.size?gn(e.values()):[];if(t){const n=o[0],i=Gr(n);n.offset=0,i.offset=1,o=[n,i]}return Gi(this.element,o,l,s,this.duration,this.startTime,this.easing,!1)}}class Uf extends xu{constructor(a,e,t,o,l,s,n=!1){super(a,e,s.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=l,this._stretchStartingKeyframe=n,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],s=t+e,n=e/s,i=Ur(a[0],!1);i.offset=0,l.push(i);const r=Ur(a[0],!1);r.offset=qf(n),l.push(r);const d=a.length-1;for(let u=1;u<=d;u++){let f=Ur(a[u],!1);f.offset=qf((e+f.offset*t)/s),l.push(f)}t=s,e=0,o="",a=l}return Gi(this.element,a,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function qf(c,a=3){const e=Math.pow(10,a-1);return Math.round(c*e)/e}class Wf{}class CC extends Wf{normalizePropertyName(a,e){return _u(a)}normalizeStyleValue(a,e,t,o){let l="";const s=t.toString().trim();if(Qf[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&o.push(`Please provide a CSS unit value for ${a}:${t}`)}return s+l}}const Qf=(()=>function Yf(c){const a={};return c.forEach(e=>a[e]=!0),a}("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 yC(c,a,e,t,o,l,s,n,i,r,d,u,f){return{type:0,element:c,triggerName:a,isRemovalTransition:o,fromState:e,fromStyles:l,toState:t,toStyles:s,timelines:n,queriedElements:i,preStyleProps:r,postStyleProps:d,totalTime:u,errors:f}}const rn={};class vC{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,o){return function z0(c,a,e,t,o){return c.some(l=>l(a,e,t,o))}(this.ast.matchers,a,e,t,o)}buildStyles(a,e,t){const o=this._stateStyles["*"],l=this._stateStyles[a],s=o?o.buildStyles(e,t):{};return l?l.buildStyles(e,t):s}build(a,e,t,o,l,s,n,i,r,d){const u=[],f=this.ast.options&&this.ast.options.params||rn,H=this.buildStyles(t,n&&n.params||rn,u),G=i&&i.params||rn,oe=this.buildStyles(o,G,u),Oe=new Set,ct=new Map,nt=new Map,At="void"===o,In={params:Object.assign(Object.assign({},f),G)},Qn=d?[]:Au(a,e,this.ast.animation,l,s,H,oe,In,r,u);let on=0;if(Qn.forEach(ja=>{on=Math.max(ja.duration+ja.delay,on)}),u.length)return yC(e,this._triggerName,t,o,At,H,oe,[],[],ct,nt,on,u);Qn.forEach(ja=>{const Na=ja.element,OS=Ni(ct,Na,{});ja.preStyleProps.forEach(dl=>OS[dl]=!0);const Qh=Ni(nt,Na,{});ja.postStyleProps.forEach(dl=>Qh[dl]=!0),Na!==e&&Oe.add(Na)});const La=gn(Oe.values());return yC(e,this._triggerName,t,o,At,H,oe,Qn,La,ct,nt,on)}}class Jf{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},o=Gr(this.defaultParams);return Object.keys(a).forEach(l=>{const s=a[l];null!=s&&(o[l]=s)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const s=l;Object.keys(s).forEach(n=>{let i=s[n];i.length>1&&(i=Is(i,o,e));const r=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,r,i,e),t[r]=i})}}),t}}class Zf{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new Jf(o.style,o.options&&o.options.params||{},t)}),AC(this.states,"true","1"),AC(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new vC(a,o,this.states))}),this.fallbackTransition=function wC(c,a,e){return new vC(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,n)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,o){return this.transitionFactories.find(s=>s.match(a,e,t,o))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function AC(c,a,e){c.hasOwnProperty(a)?c.hasOwnProperty(e)||(c[e]=c[a]):c.hasOwnProperty(e)&&(c[a]=c[e])}const Xf=new Do;class Tu{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],o=yu(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[a]=o}_buildPlayer(a,e,t){const o=a.element,l=su(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(o,l,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const o=[],l=this._animations[a];let s;const n=new Map;if(l?(s=Au(this._driver,e,l,hu,ec,{},{},t,Xf,o),s.forEach(d=>{const u=Ni(n,d.element,{});d.postStyleProps.forEach(f=>u[f]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),s=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(f=>{d[f]=this._driver.computeStyle(u,f,dr)})});const r=Ca(s.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[a]=r,r.onDestroy(()=>this.destroy(a)),this.players.push(r),r}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,o){const l=Ps(e,"","","");return Ef(this._getPlayer(a),t,l,o),()=>{}}command(a,e,t,o){if("register"==t)return void this.register(a,o[0]);if("create"==t)return void this.create(a,e,o[0]||{});const l=this._getPlayer(a);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(a)}}}const em="ng-animate-queued",Su="ng-animate-disabled",SC=[],tm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yi="__ng_removed";class Mu{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function Si(c){return null!=c?c:null}(t?a.value:a),t){const l=Gr(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const pr="void",Du=new Mu(pr);class MC{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,vi(e,this._hostClassName)}listen(a,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 hc(c){return"start"==c||"done"==c}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const l=Ni(this._elementListeners,a,[]),s={name:e,phase:t,callback:o};l.push(s);const n=Ni(this._engine.statesByElement,a,{});return n.hasOwnProperty(e)||(vi(a,tc),vi(a,tc+"-"+e),n[e]=Du),()=>{this._engine.afterFlush(()=>{const i=l.indexOf(s);i>=0&&l.splice(i,1),this._triggers[e]||delete n[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,o=!0){const l=this._getTrigger(e),s=new _n(this.id,e,a);let n=this._engine.statesByElement.get(a);n||(vi(a,tc),vi(a,tc+"-"+e),this._engine.statesByElement.set(a,n={}));let i=n[e];const r=new Mu(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&r.absorbOptions(i.options),n[e]=r,i||(i=Du),r.value!==pr&&i.value===r.value){if(!function Ro(c,a){const e=Object.keys(c),t=Object.keys(a);if(e.length!=t.length)return!1;for(let o=0;o{ya(a,oe),hr(a,Oe)})}return}const f=Ni(this._engine.playersByElement,a,[]);f.forEach(G=>{G.namespaceId==this.id&&G.triggerName==e&&G.queued&&G.destroy()});let b=l.matchTransition(i.value,r.value,a,r.params),H=!1;if(!b){if(!o)return;b=l.fallbackTransition,H=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:i,toState:r,player:s,isFallbackTransition:H}),H||(vi(a,em),s.onStart(()=>{Dn(a,em)})),s.onDone(()=>{let G=this.players.indexOf(s);G>=0&&this.players.splice(G,1);const oe=this._engine.playersByElement.get(a);if(oe){let Oe=oe.indexOf(s);Oe>=0&&oe.splice(Oe,1)}}),this.players.push(s),f.push(s),s}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,To,!0);t.forEach(o=>{if(o[yi])return;const l=this._engine.fetchNamespacesByElement(o);l.size?l.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(a,e,t,o){const l=this._engine.statesByElement.get(a),s=new Map;if(l){const n=[];if(Object.keys(l).forEach(i=>{if(s.set(i,l[i].value),this._triggers[i]){const r=this.trigger(a,i,pr,o);r&&n.push(r)}}),n.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,s),t&&Ca(n).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const o=new Set;e.forEach(l=>{const s=l.name;if(o.has(s))return;o.add(s);const i=this._triggers[s].fallbackTransition,r=t[s]||Du,d=new Mu(pr),u=new _n(this.id,s,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:i,fromState:r,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let o=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(a):[];if(l&&l.length)o=!0;else{let s=a;for(;s=s.parentNode;)if(t.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(a),o)t.markElementAsRemoved(this.id,a,!1,e);else{const l=a[yi];(!l||l===tm)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){vi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const l=t.element,s=this._elementListeners.get(l);s&&s.forEach(n=>{if(n.name==t.triggerName){const i=Ps(l,t.triggerName,t.fromState.value,t.toState.value);i._data=a,Ef(t.player,n.phase,i,n.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const l=t.transition.ast.depCount,s=o.transition.ast.depCount;return 0==l||0==s?l-s:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class Hu{constructor(a,e,t){this.bodyNode=a,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,l)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new MC(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,a),o=!0;break}o||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let o=this._namespaceLookup[a];o&&o.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const o=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(s,1)}if(a){const s=this._fetchNamespace(a);s&&s.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),vi(a,Su)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Dn(a,Su))}removeNode(a,e,t,o){if(qn(e)){const l=a?this._fetchNamespace(a):null;if(l?l.removeNode(e,o):this.markElementAsRemoved(a,e,!1,o),t){const s=this.namespacesByHostElement.get(e);s&&s.id!==a&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(a,e,t,o,l){this.collectedLeaveElements.push(e),e[yi]={namespaceId:a,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,e,t,o,l){return qn(e)?this._fetchNamespace(a).listen(e,t,o,l):()=>{}}_buildInstruction(a,e,t,o,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,o,a.fromState.options,a.toState.options,e,l)}destroyInnerAnimations(a){let e=this.driver.query(a,To,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,pu,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ca(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[yi];if(t&&t.setForRemoval){if(a[yi]=tm,t.namespaceId){this.destroyInnerAnimations(a);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Su))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(a=-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?Ca(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new Do,o=[],l=new Map,s=[],n=new Map,i=new Map,r=new Map,d=new Set;this.disabledNodes.forEach($e=>{d.add($e);const Ze=this.driver.query($e,".ng-animate-queued",!0);for(let et=0;et{const et=hu+G++;H.set(Ze,et),$e.forEach(Mt=>vi(Mt,et))});const oe=[],Oe=new Set,ct=new Set;for(let $e=0;$eOe.add(Mt)):ct.add(Ze))}const nt=new Map,At=wa(f,Array.from(Oe));At.forEach(($e,Ze)=>{const et=ec+G++;nt.set(Ze,et),$e.forEach(Mt=>vi(Mt,et))}),a.push(()=>{b.forEach(($e,Ze)=>{const et=H.get(Ze);$e.forEach(Mt=>Dn(Mt,et))}),At.forEach(($e,Ze)=>{const et=nt.get(Ze);$e.forEach(Mt=>Dn(Mt,et))}),oe.forEach($e=>{this.processLeaveNode($e)})});const In=[],Qn=[];for(let $e=this._namespaceList.length-1;$e>=0;$e--)this._namespaceList[$e].drainQueuedTransitions(e).forEach(et=>{const Mt=et.player,Di=et.element;if(In.push(Mt),this.collectedEnterElements.length){const sn=Di[yi];if(sn&&sn.setForMove){if(sn.previousTriggersValues&&sn.previousTriggersValues.has(et.triggerName)){const ul=sn.previousTriggersValues.get(et.triggerName),Jo=this.statesByElement.get(et.element);Jo&&Jo[et.triggerName]&&(Jo[et.triggerName].value=ul)}return void Mt.destroy()}}const Xr=!u||!this.driver.containsElement(u,Di),kn=nt.get(Di),Yo=H.get(Di),ti=this._buildInstruction(et,t,Yo,kn,Xr);if(ti.errors&&ti.errors.length)return void Qn.push(ti);if(Xr)return Mt.onStart(()=>ya(Di,ti.fromStyles)),Mt.onDestroy(()=>hr(Di,ti.toStyles)),void o.push(Mt);if(et.isFallbackTransition)return Mt.onStart(()=>ya(Di,ti.fromStyles)),Mt.onDestroy(()=>hr(Di,ti.toStyles)),void o.push(Mt);const jS=[];ti.timelines.forEach(sn=>{sn.stretchStartingKeyframe=!0,this.disabledNodes.has(sn.element)||jS.push(sn)}),ti.timelines=jS,t.append(Di,ti.timelines),s.push({instruction:ti,player:Mt,element:Di}),ti.queriedElements.forEach(sn=>Ni(n,sn,[]).push(Mt)),ti.preStyleProps.forEach((sn,ul)=>{const Jo=Object.keys(sn);if(Jo.length){let hl=i.get(ul);hl||i.set(ul,hl=new Set),Jo.forEach(gA=>hl.add(gA))}}),ti.postStyleProps.forEach((sn,ul)=>{const Jo=Object.keys(sn);let hl=r.get(ul);hl||r.set(ul,hl=new Set),Jo.forEach(gA=>hl.add(gA))})});if(Qn.length){const $e=[];Qn.forEach(Ze=>{$e.push(`@${Ze.triggerName} has failed due to:\n`),Ze.errors.forEach(et=>$e.push(`- ${et}\n`))}),In.forEach(Ze=>Ze.destroy()),this.reportError($e)}const on=new Map,La=new Map;s.forEach($e=>{const Ze=$e.element;t.has(Ze)&&(La.set(Ze,Ze),this._beforeAnimationBuild($e.player.namespaceId,$e.instruction,on))}),o.forEach($e=>{const Ze=$e.element;this._getPreviousPlayers(Ze,!1,$e.namespaceId,$e.triggerName,null).forEach(Mt=>{Ni(on,Ze,[]).push(Mt),Mt.destroy()})});const ja=oe.filter($e=>xa($e,i,r)),Na=new Map;pc(Na,this.driver,ct,r,dr).forEach($e=>{xa($e,i,r)&&ja.push($e)});const Qh=new Map;b.forEach(($e,Ze)=>{pc(Qh,this.driver,new Set($e),i,"!")}),ja.forEach($e=>{const Ze=Na.get($e),et=Qh.get($e);Na.set($e,Object.assign(Object.assign({},Ze),et))});const dl=[],FS=[],LS={};s.forEach($e=>{const{element:Ze,player:et,instruction:Mt}=$e;if(t.has(Ze)){if(d.has(Ze))return et.onDestroy(()=>hr(Ze,Mt.toStyles)),et.disabled=!0,et.overrideTotalTime(Mt.totalTime),void o.push(et);let Di=LS;if(La.size>1){let kn=Ze;const Yo=[];for(;kn=kn.parentNode;){const ti=La.get(kn);if(ti){Di=ti;break}Yo.push(kn)}Yo.forEach(ti=>La.set(ti,Di))}const Xr=this._buildAnimation(et.namespaceId,Mt,on,l,Qh,Na);if(et.setRealPlayer(Xr),Di===LS)dl.push(et);else{const kn=this.playersByElement.get(Di);kn&&kn.length&&(et.parentPlayer=Ca(kn)),o.push(et)}}else ya(Ze,Mt.fromStyles),et.onDestroy(()=>hr(Ze,Mt.toStyles)),FS.push(et),d.has(Ze)&&o.push(et)}),FS.forEach($e=>{const Ze=l.get($e.element);if(Ze&&Ze.length){const et=Ca(Ze);$e.setRealPlayer(et)}}),o.forEach($e=>{$e.parentPlayer?$e.syncPlayerEvents($e.parentPlayer):$e.destroy()});for(let $e=0;$e!Xr.destroyed);Di.length?Ho(this,Ze,Di):this.processLeaveNode(Ze)}return oe.length=0,dl.forEach($e=>{this.players.push($e),$e.onDone(()=>{$e.destroy();const Ze=this.players.indexOf($e);this.players.splice(Ze,1)}),$e.play()}),dl}elementContainsData(a,e){let t=!1;const o=e[yi];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,o,l){let s=[];if(e){const n=this.playersByQueriedElement.get(a);n&&(s=n)}else{const n=this.playersByElement.get(a);if(n){const i=!l||l==pr;n.forEach(r=>{r.queued||!i&&r.triggerName!=o||s.push(r)})}}return(t||o)&&(s=s.filter(n=>!(t&&t!=n.namespaceId||o&&o!=n.triggerName))),s}_beforeAnimationBuild(a,e,t){const l=e.element,s=e.isRemovalTransition?void 0:a,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const r=i.element,d=r!==l,u=Ni(t,r,[]);this._getPreviousPlayers(r,d,s,n,e.toState).forEach(b=>{const H=b.getRealPlayer();H.beforeDestroy&&H.beforeDestroy(),b.destroy(),u.push(b)})}ya(l,e.fromStyles)}_buildAnimation(a,e,t,o,l,s){const n=e.triggerName,i=e.element,r=[],d=new Set,u=new Set,f=e.timelines.map(H=>{const G=H.element;d.add(G);const oe=G[yi];if(oe&&oe.removedBeforeQueried)return new Hs(H.duration,H.delay);const Oe=G!==i,ct=function Po(c){const a=[];return Aa(c,a),a}((t.get(G)||SC).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===G),nt=l.get(G),At=s.get(G),In=su(0,this._normalizer,0,H.keyframes,nt,At),Qn=this._buildPlayer(H,In,ct);if(H.subTimeline&&o&&u.add(G),Oe){const on=new _n(a,n,G);on.setRealPlayer(Qn),r.push(on)}return Qn});r.forEach(H=>{Ni(this.playersByQueriedElement,H.element,[]).push(H),H.onDone(()=>function Bs(c,a,e){let t;if(c instanceof Map){if(t=c.get(a),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&c.delete(a)}}else if(t=c[a],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete c[a]}return t}(this.playersByQueriedElement,H.element,H))}),d.forEach(H=>vi(H,kf));const b=Ca(f);return b.onDestroy(()=>{d.forEach(H=>Dn(H,kf)),hr(i,e.toStyles)}),u.forEach(H=>{Ni(o,H,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Hs(a.duration,a.delay)}}class _n{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Hs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Ef(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){Ni(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function qn(c){return c&&1===c.nodeType}function an(c,a){const e=c.style.display;return c.style.display=null!=a?a:"none",e}function pc(c,a,e,t,o){const l=[];e.forEach(i=>l.push(an(i)));const s=[];t.forEach((i,r)=>{const d={};i.forEach(u=>{const f=d[u]=a.computeStyle(r,u,o);(!f||0==f.length)&&(r[yi]=uc,s.push(r))}),c.set(r,d)});let n=0;return e.forEach(i=>an(i,l[n++])),s}function wa(c,a){const e=new Map;if(c.forEach(n=>e.set(n,[])),0==a.length)return e;const o=new Set(a),l=new Map;function s(n){if(!n)return 1;let i=l.get(n);if(i)return i;const r=n.parentNode;return i=e.has(r)?r:o.has(r)?1:s(r),l.set(n,i),i}return a.forEach(n=>{const i=s(n);1!==i&&e.get(i).push(n)}),e}function vi(c,a){var e;null===(e=c.classList)||void 0===e||e.add(a)}function Dn(c,a){var e;null===(e=c.classList)||void 0===e||e.remove(a)}function Ho(c,a,e){Ca(e).onDone(()=>c.processLeaveNode(a))}function Aa(c,a){for(let e=0;eo.add(l)):a.set(c,t),e.delete(c),!0}class fr{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,l)=>{},this._transitionEngine=new Hu(a,e,t),this._timelineEngine=new Tu(a,e,t),this._transitionEngine.onRemovalComplete=(o,l)=>this.onRemovalComplete(o,l)}registerTrigger(a,e,t,o,l){const s=a+"-"+o;let n=this._triggerCache[s];if(!n){const i=[],r=yu(this._driver,l,i);if(i.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function Kf(c,a,e){return new Zf(c,a,e)}(o,r,this._normalizer),this._triggerCache[s]=n}this._transitionEngine.registerTrigger(e,o,n)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,o){this._transitionEngine.insertNode(a,e,t,o)}onRemove(a,e,t,o){this._transitionEngine.removeNode(a,e,o||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,o){if("@"==t.charAt(0)){const[l,s]=Sf(t);this._timelineEngine.command(l,e,s,o)}else this._transitionEngine.trigger(a,e,t,o)}listen(a,e,t,o,l){if("@"==t.charAt(0)){const[s,n]=Sf(t);return this._timelineEngine.listen(s,e,n,l)}return this._transitionEngine.listen(a,e,t,o,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let nm=(()=>{class c{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let l=c.initialStylesByElement.get(e);l||c.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&hr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hr(this._element,this._initialStyles),this._endStyles&&(hr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(ya(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ya(this._element,this._endStyles),this._endStyles=null),hr(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function fc(c){let a=null;const e=Object.keys(c);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:oc(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class am{validateStyleProperty(a){return Hf(a)}matchesElement(a,e){return!1}containsElement(a,e){return du(a,e)}query(a,e,t){return Rf(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,o,l,s=[]){const i={duration:t,delay:o,fill:0==o?"both":"forwards"};l&&(i.easing=l);const r={},d=s.filter(f=>f instanceof Pu);(function N0(c,a){return 0===c||0===a})(t,o)&&d.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(H=>r[H]=b[H])}),e=function bu(c,a,e){const t=Object.keys(e);if(t.length&&a.length){let l=a[0],s=[];if(t.forEach(n=>{l.hasOwnProperty(n)||s.push(n),l[n]=e[n]}),s.length)for(var o=1;oUr(f,!1)),r);const u=function im(c,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=fc(a[0]),a.length>1&&(t=fc(a[a.length-1]))):a&&(e=fc(a)),e||t?new nm(c,e,t):null}(a,e);return new Pu(a,e,i,u)}}let om=(()=>{class c extends Ao{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:g.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?Kl(e):e;return cm(this._renderer,null,t,"register",[o]),new sm(t,this._renderer)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.FYo),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class sm extends class xo{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new lm(this._id,a,e||{},this._renderer)}}class lm{constructor(a,e,t,o){this.id=a,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return cm(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function cm(c,a,e,t,o){return c.setProperty(a,`@@${e}:${t}`,o)}const dm="@.disabled";let um=(()=>{class c{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=(l,s)=>{const n=null==s?void 0:s.parentNode(l);n&&s.removeChild(n,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(l);return d||(d=new Ru("",l,this.engine),this._rendererCache.set(l,d)),d}const s=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(s,n,e,d.name,d)};return t.data.animation.forEach(i),new DC(this,n,l,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(l=>{const[s,n]=l;s(n)}),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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.FYo),g.LFG(fr),g.LFG(g.R0b))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class Ru{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,o=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,o)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,o){this.delegate.setAttribute(a,e,t,o)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,o){this.delegate.setStyle(a,e,t,o)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==dm?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class DC extends Ru{constructor(a,e,t,o){super(e,t,o),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==dm?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const o=function HC(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(a);let l=e.substr(1),s="";return"@"!=l.charAt(0)&&([l,s]=function hm(c){const a=c.indexOf(".");return[c.substring(0,a),c.substr(a+1)]}(l)),this.engine.listen(this.namespaceId,o,l,s,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(a,e,t)}}let PC=(()=>{class c extends fr{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(uu),g.LFG(Wf))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Hn=new g.OlP("AnimationModuleType"),IC=[{provide:Ao,useClass:om},{provide:Wf,useFactory:function pm(){return new CC}},{provide:fr,useClass:PC},{provide:g.FYo,useFactory:function RC(c,a,e){return new um(c,a,e)},deps:[me,fr,g.R0b]}],fm=[{provide:uu,useFactory:()=>new am},{provide:Hn,useValue:"BrowserAnimations"},...IC],Iu=[{provide:uu,useClass:Xl},{provide:Hn,useValue:"NoopAnimations"},...IC];let ku=(()=>{class c{static withConfig(e){return{ngModule:c,providers:e.disableAnimations?Iu:fm}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:fm,imports:[Er]}),c})();const mm=new g.OlP("mat-sanity-checks",{providedIn:"root",factory:function OC(){return!0}});let Ye=(()=>{class c{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Es()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Yl),g.LFG(mm,8),g.LFG(E.K0))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn],zn]}),c})();function Fs(c){return class extends c{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=gt(a)}}}function ko(c,a){return class extends c{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 Ta(c){return class extends c{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=gt(a)}}}const gm=new g.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function jC(){return(0,g.f3M)(g.soG)}});class bn{constructor(){this._localeChanges=new Ge.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),o=this.isValid(e);return t&&o?!this.compareDate(a,e):t==o}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const js=new g.OlP("mat-date-formats"),Bu=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _m(c,a){const e=Array(c);for(let t=0;t{class c extends bn{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 _m(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _m(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 _m(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 l=this._createDateWithOverflow(e,t,o);return l.getMonth(),l}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(Bu.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 l=new Date;return l.setFullYear(e,t,o),l.setHours(0,0,0,0),l}_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 c.\u0275fac=function(e){return new(e||c)(g.LFG(gm,8),g.LFG(Ii))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const NC={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 $0=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:bn,useClass:mc}]}),c})(),Vo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:js,useValue:NC}],imports:[[$0]]}),c})(),Bo=(()=>{class c{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Oo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})();class bm{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const UC={enterDuration:225,exitDuration:150},Ns=or({passive:!0}),gc=["mousedown","touchstart"],Fu=["mouseup","mouseleave","touchend","touchcancel"];class Lu{constructor(a,e,t,o){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=ai(t))}fadeInRipple(a,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},UC),t.animation);t.centered&&(a=o.left+o.width/2,e=o.top+o.height/2);const s=t.radius||function Cm(c,a,e){const t=Math.max(Math.abs(c-e.left),Math.abs(c-e.right)),o=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+o*o)}(a,e,o),n=a-o.left,i=e-o.top,r=l.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-s+"px",d.style.top=i-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${r}ms`,this._containerElement.appendChild(d),function ju(c){window.getComputedStyle(c).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new bm(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const f=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!f||!this._isPointerDown)&&u.fadeOut()},r),u}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,o=Object.assign(Object.assign({},UC),a.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=ai(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(gc))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Fu),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=yf(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,Ns)})})}_removeTriggerEvents(){this._triggerElement&&(gc.forEach(a=>{this._triggerElement.removeEventListener(a,this,Ns)}),this._pointerUpEventsRegistered&&Fu.forEach(a=>{this._triggerElement.removeEventListener(a,this,Ns)}))}}const Nu=new g.OlP("mat-ripple-global-options");let mr=(()=>{class c{constructor(e,t,o,l,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new Lu(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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(Ii),g.Y36(Nu,8),g.Y36(Hn,8))},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&g.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"]}),c})(),Ui=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),_c=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye]]}),c})(),bc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,E.ez,Ye,_c]]}),c})();const wm=["mat-button",""],Am=["*"],ny=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ry=ko(Fs(Ta(class{constructor(c){this._elementRef=c}})));let zu=(()=>{class c extends ry{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 l of ny)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(_a),g.Y36(Hn,8))},c.\u0275cmp=g.Xpm({type:c,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&&g.Gf(mr,5),2&e){let o;g.iGM(o=g.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(g.uIk("disabled",t.disabled||null),g.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[g.qOj],attrs:wm,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&&(g.F$t(),g.TgZ(0,"span",0),g.Hsn(1),g.qZA(),g._UZ(2,"span",1),g._UZ(3,"span",2)),2&e&&(g.xp6(2),g.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),g.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[mr],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;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;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;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;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}),c})(),It=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye],Ye]}),c})();var xm=x(1144),gr=x(576),Tm=x(3268);const Em=["addListener","removeListener"],ay=["addEventListener","removeEventListener"],Sm=["on","off"];function Cc(c,a,e,t){if((0,gr.m)(e)&&(t=e,e=void 0),t)return Cc(c,a,e).pipe((0,Tm.Z)(t));const[o,l]=function Mm(c){return(0,gr.m)(c.addEventListener)&&(0,gr.m)(c.removeEventListener)}(c)?ay.map(s=>n=>c[s](a,n,e)):function oy(c){return(0,gr.m)(c.addListener)&&(0,gr.m)(c.removeListener)}(c)?Em.map(Sa(c,a)):function sy(c){return(0,gr.m)(c.on)&&(0,gr.m)(c.off)}(c)?Sm.map(Sa(c,a)):[];if(!o&&(0,xm.z)(c))return(0,ei.z)(s=>Cc(s,a,e))((0,Xn.Xf)(c));if(!o)throw new TypeError("Invalid event target");return new Qt.y(s=>{const n=(...i)=>s.next(1l(n)})}function Sa(c,a){return e=>t=>c[e](a,t)}var Dm=x(4408);const Fo={schedule(c){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=Fo;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const o=a(l=>{e=void 0,c(l)});return new jt.w0(()=>null==e?void 0:e(o))},requestAnimationFrame(...c){const{delegate:a}=Fo;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...c)},cancelAnimationFrame(...c){const{delegate:a}=Fo;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...c)},delegate:void 0};var yc=x(7565);const Pn=new class Gu extends yc.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;a=a||t.shift();do{if(o=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,o){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw o}}}(class K0 extends Dm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=Fo.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(o=>o.id===e)||(Fo.cancelAnimationFrame(e),a._scheduled=void 0)}});let Cn,ly=1;const qi={};function yn(c){return c in qi&&(delete qi[c],!0)}const Hm={setImmediate(c){const a=ly++;return qi[a]=!0,Cn||(Cn=Promise.resolve()),Cn.then(()=>yn(a)&&c()),a},clearImmediate(c){yn(c)}},{setImmediate:dy,clearImmediate:uy}=Hm,vc={setImmediate(...c){const{delegate:a}=vc;return((null==a?void 0:a.setImmediate)||dy)(...c)},clearImmediate(c){const{delegate:a}=vc;return((null==a?void 0:a.clearImmediate)||uy)(c)},delegate:void 0};new class Uu extends yc.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;a=a||t.shift();do{if(o=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,o){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw o}}}(class hy extends Dm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=vc.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(o=>o.id===e)||(vc.clearImmediate(e),a._scheduled=void 0)}});var qu=x(4986),Wu=x(2805);function $u(c,a=qu.z){return function py(c){return(0,Ft.e)((a,e)=>{let t=!1,o=null,l=null,s=!1;const n=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const r=o;o=null,e.next(r)}s&&e.complete()},i=()=>{l=null,s&&e.complete()};a.subscribe((0,Ji.x)(e,r=>{t=!0,o=r,l||(0,Xn.Xf)(c(r)).subscribe(l=(0,Ji.x)(e,n,i))},()=>{s=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,Wu.H)(c,a))}let Im=(()=>{class c{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new Ge.x,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 Qt.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe($u(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ue.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,Xt.h)(l=>!l||o.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=ai(t),l=e.getElementRef().nativeElement;do{if(o==l)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Cc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(Ii),g.LFG(E.K0,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Lo=(()=>{class c{constructor(e,t,o){this._platform=e,this._change=new Ge.x,this._changeListener=l=>{this._change.next(l)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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,l=o.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe($u(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 c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(g.R0b),g.LFG(E.K0,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),_r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),jo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn,_r],zn,_r]}),c})();class Ju{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class Ku extends Ju{constructor(a,e,t,o){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class Vm extends Ju{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class yy extends Ju{constructor(a){super(),this.element=a instanceof g.SBq?a.nativeElement:a}}class Zu{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof Ku?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Vm?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof yy?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class vy extends Zu{constructor(a,e,t,o,l){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=s=>{const n=s.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=s,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=l}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let o;return a.viewContainerRef?(o=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(a.injector||this._defaultInjector||g.zs3.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=a,o}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Xu=(()=>{class c extends Zu{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new g.vpe,this.attachDomPortal=l=>{const s=l.element,n=this._document.createComment("dom-portal");l.setAttachedHost(this),s.parentNode.insertBefore(n,s),this._getRootNode().appendChild(s),this._attachedPortal=l,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(s,n)})},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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g._Vd),g.Y36(g.s_b),g.Y36(E.K0))},c.\u0275dir=g.lG2({type:c,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[g.qOj]}),c})(),Ma=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();var Da=x(6451);const eh=db();class Bm{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=qe(-this._previousScrollPosition.left),a.style.top=qe(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,o=this._document.body.style,l=t.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),eh&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eh&&(t.scrollBehavior=l,o.scrollBehavior=s)}}_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 th{constructor(a,e,t,o){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Wr{enable(){}disable(){}attach(){}}function ih(c,a){return a.some(e=>c.bottome.bottom||c.righte.right)}function Fm(c,a){return a.some(e=>c.tope.bottom||c.lefte.right)}class No{constructor(a,e,t,o){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();ih(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 ux=(()=>{class c{constructor(e,t,o,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new Wr,this.close=s=>new th(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Bm(this._viewportRuler,this._document),this.reposition=s=>new No(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=l}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Im),g.LFG(Lo),g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class wc{constructor(a){if(this.scrollStrategy=new Wr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class Lm{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class Sy{constructor(a,e,t,o,l,s,n,i,r){this._portalOutlet=a,this._host=e,this._pane=t,this._config=o,this._ngZone=l,this._keyboardDispatcher=s,this._document=n,this._location=i,this._outsideClickDispatcher=r,this._backdropElement=null,this._backdropClick=new Ge.x,this._attachments=new Ge.x,this._detachments=new Ge.x,this._locationChanges=jt.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Ge.x,this._outsidePointerEvents=new Ge.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Pt.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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=qe(this._config.width),a.height=qe(this._config.height),a.minWidth=qe(this._config.minWidth),a.minHeight=qe(this._config.minHeight),a.maxWidth=qe(this._config.maxWidth),a.maxHeight=qe(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const o=pf(e||[]).filter(l=>!!l);o.length&&(t?a.classList.add(...o):a.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(ui((0,Da.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let nh=(()=>{class c{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||Es()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,l=[];let s;for(let n of this._preferredPositions){let i=this._getOriginPoint(a,o,n),r=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(r,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,r,t)?l.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!s||s.overlayFit.visibleAreai&&(i=d,n=r)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Wn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(jm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let o,l;if("center"==t.originX)o=a.left+a.width/2;else{const s=this._isRtl()?a.right:a.left,n=this._isRtl()?a.left:a.right;o="start"==t.originX?s:n}return e.left<0&&(o-=e.left),l="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(l-=e.top),{x:o,y:l}}_getOverlayPoint(a,e,t){let o,l;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+o,y:a.y+l}}_getOverlayFit(a,e,t,o){const l=$t(e);let{x:s,y:n}=a,i=this._getOffset(o,"x"),r=this._getOffset(o,"y");i&&(s+=i),r&&(n+=r);let f=0-n,b=n+l.height-t.height,H=this._subtractOverflows(l.width,0-s,s+l.width-t.width),G=this._subtractOverflows(l.height,f,b),oe=H*G;return{visibleArea:oe,isCompletelyWithinViewport:l.width*l.height===oe,fitsInViewportVertically:G===l.height,fitsInViewportHorizontally:H==l.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,l=t.right-e.x,s=Gs(this._overlayRef.getConfig().minHeight),n=Gs(this._overlayRef.getConfig().minWidth),r=a.fitsInViewportHorizontally||null!=n&&n<=l;return(a.fitsInViewportVertically||null!=s&&s<=o)&&r}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const o=$t(e),l=this._viewportRect,s=Math.max(a.x+o.width-l.width,0),n=Math.max(a.y+o.height-l.height,0),i=Math.max(l.top-t.top-a.y,0),r=Math.max(l.left-t.left-a.x,0);let d=0,u=0;return d=o.width<=l.width?r||-s:a.xH&&!this._isInitialRender&&!this._growAfterOpen&&(s=a.y-H/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)f=t.width-a.x+this._viewportMargin,d=a.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=a.x,d=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),H=this._lastBoundingBoxSize.width;d=2*b,u=a.x-b,d>H&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-H/2)}return{top:s,left:u,bottom:n,right:f,width:d,height:l}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 l=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=qe(t.height),o.top=qe(t.top),o.bottom=qe(t.bottom),o.width=qe(t.width),o.left=qe(t.left),o.right=qe(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",l&&(o.maxHeight=qe(l)),s&&(o.maxWidth=qe(s))}this._lastBoundingBoxSize=t,Wn(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Wn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Wn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},o=this._hasExactPosition(),l=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();Wn(t,this._getExactOverlayY(e,a,d)),Wn(t,this._getExactOverlayX(e,a,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),r&&(n+=`translateY(${r}px)`),t.transform=n.trim(),s.maxHeight&&(o?t.maxHeight=qe(s.maxHeight):l&&(t.maxHeight="")),s.maxWidth&&(o?t.maxWidth=qe(s.maxWidth):l&&(t.maxWidth="")),Wn(this._pane.style,t)}_getExactOverlayY(a,e,t){let o={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===a.overlayY?o.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":o.top=qe(l.y),o}_getExactOverlayX(a,e,t){let s,o={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),s=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":o.left=qe(l.x),o}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fm(a,t),isOriginOutsideView:ih(a,t),isOverlayClipped:Fm(e,t),isOverlayOutsideView:ih(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,o)=>t-Math.max(o,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&pf(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof g.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function Wn(c,a){for(let e in a)a.hasOwnProperty(e)&&(c[e]=a[e]);return c}function Gs(c){if("number"!=typeof c&&null!=c){const[a,e]=c.split(Ac);return e&&"px"!==e?null:parseFloat(a)}return c||null}function $t(c){return{top:Math.floor(c.top),right:Math.floor(c.right),bottom:Math.floor(c.bottom),left:Math.floor(c.left),width:Math.floor(c.width),height:Math.floor(c.height)}}const Dy="cdk-global-overlay-wrapper";class Nm{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Dy),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:l,maxWidth:s,maxHeight:n}=t,i=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),r=!("100%"!==l&&"100vh"!==l||n&&"100%"!==n&&"100vh"!==n);a.position=this._cssPosition,a.marginLeft=i?"0":this._leftOffset,a.marginTop=r?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,i?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=r?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Dy),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let Hy=(()=>{class c{constructor(e,t,o,l){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=l}global(){return new Nm}flexibleConnectedTo(e){return new My(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Lo),g.LFG(E.K0),g.LFG(Ii),g.LFG(nh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zm=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Gm=(()=>{class c extends zm{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=o=>{const l=this._attachedOverlays;for(let s=l.length-1;s>-1;s--)if(l[s]._keydownEvents.observers.length>0){const n=l[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(o)):n.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(g.R0b,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Um=(()=>{class c extends zm{constructor(e,t,o){super(e),this._platform=t,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=fn(l)},this._clickListener=l=>{const s=fn(l),n="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){const d=i[r];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(l)):u.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(Ii),g.LFG(g.R0b,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),qm=0,br=(()=>{class c{constructor(e,t,o,l,s,n,i,r,d,u,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=l,this._keyboardDispatcher=s,this._injector=n,this._ngZone=i,this._document=r,this._directionality=d,this._location=u,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),l=this._createPortalOutlet(o),s=new wc(e);return s.direction=s.direction||this._directionality.value,new Sy(l,t,o,s,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-"+qm++,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(g.z2F)),new vy(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(ux),g.LFG(nh),g.LFG(g._Vd),g.LFG(Hy),g.LFG(Gm),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(E.K0),g.LFG(pa),g.LFG(E.Ye),g.LFG(Um))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Iy={provide:new g.OlP("cdk-connected-overlay-scroll-strategy"),deps:[br],useFactory:function Ry(c){return()=>c.scrollStrategies.reposition()}};let Us=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[br,Iy],imports:[[zn,Ma,jo],jo]}),c})(),$r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,vo],Ye]}),c})();const eg={provide:new g.OlP("mat-select-scroll-strategy"),deps:[br],useFactory:function Yy(c){return()=>c.scrollStrategies.reposition()}};let zo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[eg],imports:[[E.ez,Us,bc,Ye],_r,$r,bc,Ye]}),c})();const Jx={provide:new g.OlP("mat-tooltip-scroll-strategy"),deps:[br],useFactory:function rg(c){return()=>c.scrollStrategies.reposition({scrollThrottle:20})}};let Mc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Jx],imports:[[Nr,E.ez,Us,Ye],Ye,_r]}),c})(),Ys=(()=>{class c{constructor(){this.changes=new Ge.x,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 l=e*t;return`${l+1} \u2013 ${l<(o=Math.max(o,0))?Math.min(l+t,o):l+t} of ${o}`}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Js={provide:Ys,deps:[[new g.FiY,new g.tp0,Ys]],useFactory:function Dc(c){return c||new Ys}};let Go=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Js],imports:[[E.ez,It,zo,Mc,Ye]]}),c})();const gv={provide:new g.OlP("mat-menu-scroll-strategy"),deps:[br],useFactory:function mv(c){return()=>c.scrollStrategies.reposition()}};let Zs=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[gv],imports:[[E.ez,Ye,Ui,Us],_r,Ye]}),c})();var Xs=x(2843),og=x(4742),yv=x(1810);function Pc(...c){const a=(0,Fn.jO)(c),{args:e,keys:t}=(0,og.D)(c),o=new Qt.y(l=>{const{length:s}=e;if(!s)return void l.complete();const n=new Array(s);let i=s,r=s;for(let d=0;d{u||(u=!0,r--),n[d]=f},()=>i--,void 0,()=>{(!i||!u)&&(r||l.next(t?(0,yv.n)(t,n):n),l.complete())}))}});return a?o.pipe((0,Tm.Z)(a)):o}var sg=x(3099);const vv=["*"];let Rc;function Cr(c){var a;return(null===(a=function wv(){if(void 0===Rc&&(Rc=null,"undefined"!=typeof window)){const c=window;void 0!==c.trustedTypes&&(Rc=c.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return Rc}())||void 0===a?void 0:a.createHTML(c))||c}function lg(c){return Error(`Unable to find icon with the name "${c}"`)}function Rn(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function cg(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}class $n{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let yr=(()=>{class c{constructor(e,t,o,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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,l){return this._addSvgIconConfig(e,t,new $n(o,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,l){const s=this._sanitizer.sanitize(g.q3G.HTML,o);if(!s)throw cg(o);const n=Cr(s);return this._addSvgIconConfig(e,t,new $n("",n,l))}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 $n(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const l=this._sanitizer.sanitize(g.q3G.HTML,t);if(!l)throw cg(t);const s=Cr(l);return this._addSvgIconSetConfig(e,new $n("",s,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(g.q3G.RESOURCE_URL,e);if(!t)throw Rn(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ue.of)(Ic(o)):this._loadSvgIconFromConfig(new $n(e,null)).pipe((0,Et.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,Be.U)(l=>Ic(l)))}getNamedSvgIcon(e,t=""){const o=el(t,e);let l=this._svgIconConfigs.get(o);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(o,l),this._getSvgFromConfig(l);const s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):(0,Xs._)(lg(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ue.of)(Ic(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,Be.U)(t=>Ic(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ue.of)(o):Pc(t.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe((0,li.K)(n=>{const r=`Loading icon set URL: ${this._sanitizer.sanitize(g.q3G.RESOURCE_URL,s.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(r)),(0,Ue.of)(null)})))).pipe((0,Be.U)(()=>{const s=this._extractIconWithNameFromAnySet(e,t);if(!s)throw lg(e);return s}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const l=t[o];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(l),n=this._extractSvgIconFromSet(s,e,l.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,Et.b)(t=>e.svgText=t),(0,Be.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ue.of)(null):this._fetchIcon(e).pipe((0,Et.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const s=l.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,o);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),o);const n=this._svgElementFromString(Cr(""));return n.appendChild(s),this._setSvgAttributes(n,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(Cr("")),o=e.attributes;for(let l=0;lCr(d)),Dt(()=>this._inProgressUrlFetches.delete(n)),(0,sg.B)());return this._inProgressUrlFetches.set(n,r),r}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(el(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;oa?a.pathname+a.search:""}}}),sh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lh=sh.map(c=>`[${c}]`).join(", "),ug=/^url\(['"]?#(.*?)['"]?\)$/;let Ev=(()=>{class c extends xv{constructor(e,t,o,l,s){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=s,this._inline=!1,this._currentIconFetch=jt.w0.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=gt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const o=e.childNodes[t];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((o,l)=>{o.forEach(s=>{l.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(lh),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const n=t[l],i=n.getAttribute(s),r=i?i.match(ug):null;if(r){let d=o.get(n);d||(d=[],o.set(n,d)),d.push({name:s,value:r[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,Pt.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${l.message}`))})}}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(yr),g.$8M("aria-hidden"),g.Y36(Tv),g.Y36(g.qLn))},c.\u0275cmp=g.Xpm({type:c,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(g.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),g.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:[g.qOj],ngContentSelectors:vv,decls:1,vars:0,template:function(e,t){1&e&&(g.F$t(),g.Hsn(0))},styles:[".mat-icon{-webkit-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}),c})(),vr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})();function wr(c){return!!c&&(c instanceof Qt.y||(0,gr.m)(c.lift)&&(0,gr.m)(c.subscribe))}var ch=x(6063);class dh extends Ge.x{constructor(a=1/0,e=1/0,t=ch.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:o,_timestampProvider:l,_windowTime:s}=this;e||(t.push(a),!o&&t.push(l.now()+s)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:o}=this,l=o.slice();for(let s=0;snew dh(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class Pa{}let Vc=(()=>{class c extends Pa{getTranslation(e){return(0,Ue.of)({})}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class hh{}let hg=(()=>{class c{handle(e){return e.key}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Bc(c,a){if(c===a)return!0;if(null===c||null===a)return!1;if(c!=c&&a!=a)return!0;let o,l,s,e=typeof c;if(e==typeof a&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(a))return!1;for(l in s=Object.create(null),c){if(!Bc(c[l],a[l]))return!1;s[l]=!0}for(l in a)if(!(l in s)&&void 0!==a[l])return!1;return!0}if(!Array.isArray(a))return!1;if((o=c.length)==a.length){for(l=0;l{Oc(a[t])?t in c?e[t]=Fc(c[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class tl{}let ph=(()=>{class c extends tl{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(),!Qr(e)||!Qr(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,l)=>{let s=this.getValue(t,l);return Qr(s)?s:o}):e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class il{}let fh=(()=>{class c extends il{compile(e,t){return e}compileTranslations(e,t){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class pg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new g.vpe,this.onLangChange=new g.vpe,this.onDefaultLangChange=new g.vpe}}const Lc=new g.OlP("USE_STORE"),jc=new g.OlP("USE_DEFAULT_LANG"),mh=new g.OlP("DEFAULT_LANGUAGE"),Nc=new g.OlP("USE_EXTEND");let nl=(()=>{class c{constructor(e,t,o,l,s,n=!0,i=!1,r=!1,d){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=l,this.missingTranslationHandler=s,this.useDefaultLang=n,this.isolate=i,this.extend=r,this.pending=!1,this._onTranslationChange=new g.vpe,this._onLangChange=new g.vpe,this._onDefaultLangChange=new g.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,Pt.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ue.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Pt.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ue.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(uh(1),(0,Pt.q)(1));return this.loadingTranslations=t.pipe((0,Be.U)(o=>this.compiler.compileTranslations(o,e)),uh(1),(0,Pt.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]?Fc(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 l;if(t instanceof Array){let s={},n=!1;for(let i of t)s[i]=this.getParsedResult(e,i,o),wr(s[i])&&(n=!0);return n?Pc(t.map(r=>wr(s[r])?s[r]:(0,Ue.of)(s[r]))).pipe((0,Be.U)(r=>{let d={};return r.forEach((u,f)=>{d[t[f]]=u}),d})):s}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===l){let s={key:t,translateService:this};void 0!==o&&(s.interpolateParams=o),l=this.missingTranslationHandler.handle(s)}return void 0!==l?l:t}get(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,tt.b)(o=>wr(o=this.getParsedResult(o,e,t))?o:(0,Ue.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return wr(o)?o:(0,Ue.of)(o)}}getStreamOnTranslationChange(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');return(0,Oi.z)(Tn(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ct.w)(o=>{const l=this.getParsedResult(o.translations,e,t);return"function"==typeof l.subscribe?l:(0,Ue.of)(l)})))}stream(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');return(0,Oi.z)(Tn(()=>this.get(e,t)),this.onLangChange.pipe((0,Ct.w)(o=>{const l=this.getParsedResult(o.translations,e,t);return wr(l)?l:(0,Ue.of)(l)})))}instant(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(wr(o)){if(e instanceof Array){let l={};return e.forEach((s,n)=>{l[e[n]]=e[n]}),l}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 c.\u0275fac=function(e){return new(e||c)(g.LFG(pg),g.LFG(Pa),g.LFG(il),g.LFG(tl),g.LFG(hh),g.LFG(jc),g.LFG(Lc),g.LFG(Nc),g.LFG(mh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Ar=(()=>{class c{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let l=s=>{this.value=void 0!==s?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,t);wr(s.subscribe)?s.subscribe(l):l(s)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(Bc(e,this.lastKey)&&Bc(t,this.lastParams))return this.value;let o;if(Qr(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(l)}catch(s){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(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,l.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 c.\u0275fac=function(e){return new(e||c)(g.Y36(nl,16),g.Y36(g.sBO,16))},c.\u0275pipe=g.Yjl({name:"translate",type:c,pure:!1}),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Uo=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:Pa,useClass:Vc},e.compiler||{provide:il,useClass:fh},e.parser||{provide:tl,useClass:ph},e.missingTranslationHandler||{provide:hh,useClass:hg},pg,{provide:Lc,useValue:e.isolate},{provide:jc,useValue:e.useDefaultLang},{provide:Nc,useValue:e.extend},{provide:mh,useValue:e.defaultLanguage},nl]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:Pa,useClass:Vc},e.compiler||{provide:il,useClass:fh},e.parser||{provide:tl,useClass:ph},e.missingTranslationHandler||{provide:hh,useClass:hg},{provide:Lc,useValue:e.isolate},{provide:jc,useValue:e.useDefaultLang},{provide:Nc,useValue:e.extend},{provide:mh,useValue:e.defaultLanguage},nl]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),fg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[],imports:[[Go,Zs,vr,It,Uo,E.ez]]}),c})();function gT(c,a){}class Yr{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Sv={dialogContainer:Zt("dialogContainer",[lt("void, exit",Le({opacity:0,transform:"scale(0.7)"})),lt("enter",Le({transform:"none"})),vt("* => enter",Jl([wt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),Zl("@*",Ds(),{optional:!0})])),vt("* => void, * => exit",Jl([wt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),Zl("@*",Ds(),{optional:!0})]))])};let Mv=(()=>{class c extends Zu{constructor(e,t,o,l,s,n,i,r){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=s,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Co())}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(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),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=Co(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Co();return e===t||e.contains(t)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(F0),g.Y36(g.sBO),g.Y36(E.K0,8),g.Y36(Yr),g.Y36(bf),g.Y36(g.R0b),g.Y36(_a))},c.\u0275dir=g.lG2({type:c,viewQuery:function(e,t){if(1&e&&g.Gf(Xu,7),2&e){let o;g.iGM(o=g.CRH())&&(t._portalOutlet=o.first)}},features:[g.qOj]}),c})(),gg=(()=>{class c extends Mv{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275cmp=g.Xpm({type:c,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&g.WFA("@dialogContainer.start",function(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),2&e&&(g.Ikx("id",t._id),g.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),g.d8E("@dialogContainer",t._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&g.YNc(0,gT,0,0,"ng-template",0)},directives:[Xu],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:[Sv.dialogContainer]}}),c})(),Dv=0;class zc{constructor(a,e,t="mat-dialog-"+Dv++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ge.x,this._afterClosed=new Ge.x,this._beforeClosed=new Ge.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Xt.h)(o=>"opened"===o.state),(0,Pt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Xt.h)(o=>"closed"===o.state),(0,Pt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,Xt.h)(o=>27===o.keyCode&&!this.disableClose&&!function Ei(c,...a){return a.length?a.some(e=>c[e]):c.altKey||c.shiftKey||c.ctrlKey||c.metaKey}(o))).subscribe(o=>{o.preventDefault(),Gc(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Gc(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,Xt.h)(e=>"closing"===e.state),(0,Pt.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Gc(c,a,e){return void 0!==c._containerInstance&&(c._containerInstance._closeInteractionType=a),c.close(e)}const _g=new g.OlP("MatDialogData"),bg=new g.OlP("mat-dialog-default-options"),rl=new g.OlP("mat-dialog-scroll-strategy"),yg={provide:rl,deps:[br],useFactory:function _T(c){return()=>c.scrollStrategies.block()}};let Hv=(()=>{class c{constructor(e,t,o,l,s,n,i,r,d,u){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=l,this._overlayContainer=s,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge.x,this._afterOpenedAtThisLevel=new Ge.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Tn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Gt(void 0))),this._scrollStrategy=n}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){t=function Uc(c,a){return Object.assign(Object.assign({},a),c)}(t,this._defaultOptions||new Yr),t.id&&this.getDialogById(t.id);const o=this._createOverlay(t),l=this._attachDialogContainer(o,t),s=this._attachDialogContent(e,l,o,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),l._initializeWithAttachedContent(),s}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new wc({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 l=g.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Yr,useValue:t}]}),s=new Ku(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(s).instance}_attachDialogContent(e,t,o,l){const s=new this._dialogRefConstructor(o,t,l.id);if(e instanceof g.Rgc)t.attachTemplatePortal(new Vm(e,null,{$implicit:l.data,dialogRef:s}));else{const n=this._createInjector(l,s,t),i=t.attachComponentPortal(new Ku(e,l.viewContainerRef,n,l.componentFactoryResolver));s.componentInstance=i.instance}return s.updateSize(l.width,l.height).updatePosition(l.position),s}_createInjector(e,t,o){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(pa,null,g.XFs.Optional))&&s.push({provide:pa,useValue:{value:e.direction,change:(0,Ue.of)()}}),g.zs3.create({parent:l||this._injector,providers:s})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.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 l=t[o];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return c.\u0275fac=function(e){g.$Z()},c.\u0275dir=g.lG2({type:c}),c})(),Ra=(()=>{class c extends Hv{constructor(e,t,o,l,s,n,i,r){super(e,t,l,n,i,s,zc,gg,_g,r)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(br),g.LFG(g.zs3),g.LFG(E.Ye,8),g.LFG(bg,8),g.LFG(rl),g.LFG(c,12),g.LFG(nh),g.LFG(Hn,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),vg=0,gh=(()=>{class c{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+vg++}ngOnInit(){this._dialogRef||(this._dialogRef=function Pv(c,a){let e=c.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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 c.\u0275fac=function(e){return new(e||c)(g.Y36(zc,8),g.Y36(g.SBq),g.Y36(Ra))},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&g.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),c})(),qc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),c})(),CT=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),c})(),Wc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Ra,yg],imports:[[Us,Ma,Ye],Ye]}),c})();function $c(){const c=new Yr;return c.disableClose=!0,c.autoFocus=!1,c}function al(c,a){const e=a.split("&");for(const t of e){const[o,l]=t.split("=");if(o.includes(c))return l}return""}x(4327),new Intl.Collator("cs",{numeric:!0});let xr=(()=>{class c{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,o;const l=[null===(o=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===o?void 0:o[this.branding],this.instanceConfig,this.defaultConfig];let s=null;for(const n of l)n&&!s&&(s=n[e]);return s}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let l=0;l{class c{constructor(e,t,o,l,s){this.injector=e,this.store=t,this.dialog=o,this.route=l,this.oauthService=s,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(bi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),s=e?{acr_values:e}:{};if(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"),"Linker"===this.store.getProperty("application")){s.prompt="login";const n=al("idphint",location.search.substring(1));n&&(s.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:s}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(l=>{const s=l.split("=");"idpFilter"===s[0]&&t[s[1]]&&(this.filterShortname=s[1],o=t[s[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(o=>o?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Xt.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 l=[];o&&(l=o.split("&"));const s={};return l.forEach(n=>{const i=n.split("=");s[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=String(s.idpFilter)),this.router.navigate([t],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Xt.h)(e=>e instanceof ci)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(o=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!o||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,s)=>s("Invalid path"))))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.zs3),g.LFG(xr),g.LFG(Ra),g.LFG(be),g.LFG(Cs.Ct))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),$v=(()=>{class c{constructor(e){this.dialogRef=e}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(zc))},c.\u0275cmp=g.Xpm({type:c,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&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[qc],pipes:[Ar],styles:[""]}),c})(),yh=(()=>{class c{constructor(e,t,o,l,s,n){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=l,this.dialog=s,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=$c();this.dialog.open($v,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const o of e){const l=o.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Qc),g.LFG(xr),g.LFG(ob),g.LFG(mo),g.LFG(Ra),g.LFG(bi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Hg=(()=>{class c{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(yr),g.LFG(Zn))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Yv=(()=>{class c{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(zc))},c.\u0275cmp=g.Xpm({type:c,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&&(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 t.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&e&&(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:[gh,qc,CT,zu],pipes:[Ar],styles:[""]}),c})(),vh=(()=>{class c{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),wn=(()=>{class c{constructor(e){this.translate=e,this.addNotification=new g.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,l,s){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===l&&void 0!==o?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,l){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:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(nl))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Pg=(()=>{class c{constructor(e,t,o,l,s,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=l,this.dialog=s,this.initAuthService=n}intercept(e,t){const o=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=$c();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(Yv,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{Dt(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),s="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,Et.b)(n=>{n instanceof y.Zn&&s&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,Xs._)(n):l?void this.notificator.showRPCError(i):(0,Xs._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;console.error(e);const l=e.error;if(l.errorId&&(o=l),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Qc),g.LFG(vh),g.LFG(wn),g.LFG(xr),g.LFG(Ra),g.LFG(yh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),VT=(()=>{class c{constructor(e,t,o,l){this.http=e,this.notificator=t,this.authService=o,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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)(l=>this.formatErrors(l,o,null,t)))}put(e,t={},o=!0){const l=`${this.getApiUrl()}${e}`,s=JSON.stringify(t);return this.http.put(l,s,{headers:this.getHeaders()}).pipe((0,li.K)(n=>this.formatErrors(n,l,s,o)))}post(e,t={},o=!0){const l=`${this.getApiUrl()}${e}`,s=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,s,{headers:n}).pipe((0,li.K)(i=>this.formatErrors(i,l,s,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,li.K)(l=>this.formatErrors(l,o,null,t)))}formatErrors(e,t,o,l){const s=e.error;return s.call=t,s.payload=o,l&&this.notificator.showRPCError(e.error),(0,Xs._)(s)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(wn),g.LFG(Qc),g.LFG(xr))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Rg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez]]}),c})(),wh=(()=>{class c{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=g.Yjl({name:"userFullName",type:c,pure:!0}),c})();function Ah(c,a){if(1&c&&(g.TgZ(0,"mat-icon",6),g._uU(1),g.qZA()),2&c){const e=g.oxw();g.xp6(1),g.hij(" ",e.icon," ")}}function Ig(c,a){1&c&&g._UZ(0,"mat-icon",7)}function ew(c,a){if(1&c&&(g.TgZ(0,"span"),g._uU(1),g.qZA()),2&c){const e=g.oxw();g.xp6(1),g.hij(" ",e.supportMail," ")}}const kg=function(c){return{"background-color":c}},Vg=["*"];let NT=(()=>{class c{constructor(e){this.store=e,this.supportMail=this.store.getProperty("support_mail"),this.color="",this.icon="",this.greenColor="#e0ffd4",this.blueColor="#d4f2ff",this.redColor="#ffd4d4",this.warningIcon="warning",this.infoIcon="info",this.messageSent="mark_email_read"}ngOnChanges(){switch(this.result){case"OK":this.color=this.greenColor;break;case"IDENTITY_REGISTERED_ALREADY":case"UNKNOWN_ERROR":this.color=this.redColor,this.icon=this.warningIcon;break;case"IDENTITY_IDENTICAL":case"IDENTITY_LINKED":case"IDENTITY_UNKNOWN":this.color=this.blueColor,this.icon=this.infoIcon;break;case"MESSAGE_SENT_TO_SUPPORT":this.color=this.blueColor,this.icon=this.messageSent;break;case"TOKEN_EXPIRED":this.color=this.blueColor,this.icon=this.warningIcon}}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(xr))},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-consolidation-result"]],inputs:{result:"result"},features:[g.TTD],ngContentSelectors:Vg,decls:14,vars:12,consts:[[1,"p-4","m-3",3,"ngStyle"],[1,"d-flex","pb-5","flex-row"],["class","mat-icon-war mr-4",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-detail",4,"ngIf"],[1,"ml-5"],[4,"ngIf"],[1,"mat-icon-war","mr-4"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-detail"]],template:function(e,t){1&e&&(g.F$t(),g.TgZ(0,"div",0),g.TgZ(1,"div",1),g.TgZ(2,"div"),g.YNc(3,Ah,2,1,"mat-icon",2),g.YNc(4,Ig,1,0,"mat-icon",3),g.qZA(),g.TgZ(5,"div",4),g.TgZ(6,"h1"),g._uU(7),g.ALo(8,"translate"),g.qZA(),g.TgZ(9,"h5"),g._uU(10),g.ALo(11,"translate"),g.YNc(12,ew,2,1,"span",5),g.qZA(),g.qZA(),g.qZA(),g.Hsn(13),g.qZA()),2&e&&(g.Q6J("ngStyle",g.VKq(10,kg,t.color)),g.xp6(3),g.Q6J("ngIf","OK"!==t.result),g.xp6(1),g.Q6J("ngIf","OK"===t.result),g.xp6(3),g.hij(" ",g.lcZ(8,6,"SHARED_LIB.CONSOLIDATOR."+t.result+"_TITLE")," "),g.xp6(3),g.hij(" ",g.lcZ(11,8,"SHARED_LIB.CONSOLIDATOR."+t.result+"_SUBTITLE")," "),g.xp6(2),g.Q6J("ngIf","UNKNOWN_ERROR"===t.result))},directives:[E.PC,E.O5,Ev],pipes:[Ar],styles:[".mat-icon-war[_ngcontent-%COMP%]{font-size:82px}.perun-icon-detail[_ngcontent-%COMP%]{transform:scale(4.5);margin-left:3rem;margin-top:1.5rem;color:#000}"]}),c})();function tw(c,a){if(1&c&&(g.O4$(),g._UZ(0,"circle",4)),2&c){const e=g.oxw(),t=g.MAs(1);g.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)),g.uIk("r",e._getCircleRadius())}}function zT(c,a){if(1&c&&(g.O4$(),g._UZ(0,"circle",4)),2&c){const e=g.oxw(),t=g.MAs(1);g.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),g.uIk("r",e._getCircleRadius())}}const iw=ko(class{constructor(c){this._elementRef=c}},"primary"),nw=new g.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function rw(){return{diameter:100}}});class Jr extends iw{constructor(a,e,t,o,l,s,n,i){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=jt.w0.EMPTY,this.mode="determinate";const r=Jr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(t.head)||r.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!l&&!l._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&s&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>s.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=cr(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=cr(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,cr(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Ts(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=Jr._diameters;let o=t.get(a);if(!o||!o.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),a.appendChild(l),o||(o=new Set,t.set(a,o)),o.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Jr._diameters=new WeakMap,Jr.\u0275fac=function(a){return new(a||Jr)(g.Y36(g.SBq),g.Y36(Ii),g.Y36(E.K0,8),g.Y36(Hn,8),g.Y36(nw),g.Y36(g.sBO),g.Y36(Lo),g.Y36(g.R0b))},Jr.\u0275cmp=g.Xpm({type:Jr,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(g.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),g.Udp("width",e.diameter,"px")("height",e.diameter,"px"),g.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[g.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(a,e){1&a&&(g.O4$(),g.TgZ(0,"svg",0,1),g.YNc(2,tw,1,11,"circle",2),g.YNc(3,zT,1,9,"circle",3),g.qZA()),2&a&&(g.Udp("width",e.diameter,"px")("height",e.diameter,"px"),g.Q6J("ngSwitch","indeterminate"===e.mode),g.uIk("viewBox",e._getViewBox()),g.xp6(2),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 xh=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye,E.ez],Ye]}),c})();function UT(c,a){if(1&c){const e=g.EpF();g.TgZ(0,"button",6),g.NdJ("click",function(){return g.CHM(e),g.oxw().loginAgain()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&c&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHOW_RESULT.LOG_OTHER_BUTTON")," "))}function aw(c,a){if(1&c){const e=g.EpF();g.TgZ(0,"button",6),g.NdJ("click",function(){return g.CHM(e),g.oxw().sendMessageToSupport()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&c&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHOW_RESULT.CONTACT_SUPPORT_BUTTON")," "))}function Jc(c,a){1&c&&(g.TgZ(0,"div",7),g._UZ(1,"mat-spinner",8),g.qZA())}const ow=[{path:"",redirectTo:"result",pathMatch:"full"},{path:"result/:result",component:(()=>{class c{constructor(e,t,o,l,s,n,i,r,d){this.route=e,this.dialog=t,this.oauthService=o,this.attributeService=l,this.storeService=s,this.authzService=n,this.rtMessages=i,this.userFullNamePipe=r,this.oAuthStorage=d,this.linkerResult="UNKNOWN_ERROR",this.loading=!1,this.openerWindow=window.opener}ngOnInit(){this.route.params.subscribe(e=>{this.linkerResult=e.result,this.openerWindow.postMessage(this.linkerResult,"*")})}closeWindow(){window.close()}loginAgain(){let e=location.search.substring(1);if("IDENTITY_UNKNOWN"===this.linkerResult){let t=0,o="yes";for(;""!==o;)t++,o=al("formerToken"+t.toString(),e);e+="&formerToken"+t.toString()+"="+this.oauthService.getAccessToken()}sessionStorage.setItem("auth:queryParams",e),this.oauthService.initLoginFlow()}sendMessageToSupport(){this.loading=!0;const e=this.storeService.getPerunPrincipal().user,t=location.search.substring(1);this.oAuthStorage.setItem("access_token",al("formerToken",t)),this.authzService.getPerunPrincipal().subscribe(o=>{this.rtMessages.sentMessageToRTWithQueue("perun","Account linking: The accounts could not be automatically linked.",this.getFullEmailBody(e,o.user)).subscribe(()=>{this.linkerResult="MESSAGE_SENT_TO_SUPPORT",this.openerWindow.postMessage(this.linkerResult,"*"),this.loading=!1},()=>{this.loading=!1,this.linkerResult="UNKNOWN_ERROR",this.openerWindow.postMessage(this.linkerResult,"*")})})}getFullEmailBody(e,t){const o=this.storeService.getProperty("config");let l="Account linking: The accounts could not be automatically linked.\nThe user proved his identities, but they were connected to different users.\nBy this message the user is asking for help with identity consolidation.\n";return l=l.concat("\n\n"),l=l.concat("Information about users: \n\n"),l=l.concat("First user: \nid="+t.id.toString()+"\nName: "+this.userFullNamePipe.transform(t)+"\n\n"),l=l.concat("Second user: \nid="+e.id.toString()+"\nName: "+this.userFullNamePipe.transform(e)+"\n\n"),l=l.concat("Perun instance: "+o+"\n"),l=l.concat("Sended from new Consolidator Gui, version: ",x(4147).i8),l.split("\n").join("\n ")}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(be),g.Y36(Ra),g.Y36(Cs.Ct),g.Y36(fo),g.Y36(xr),g.Y36(mo),g.Y36(Bp),g.Y36(wh),g.Y36(Cs.Hy))},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-show-result"]],decls:9,vars:7,consts:[[1,"position-relative"],[3,"result"],[1,"d-flex","mt-5"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["class","spinner-container",4,"ngIf"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],[1,"spinner-container"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(g.TgZ(0,"div",0),g.TgZ(1,"perun-web-apps-consolidation-result",1),g.TgZ(2,"div",2),g.TgZ(3,"button",3),g.NdJ("click",function(){return t.closeWindow()}),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.YNc(6,UT,3,3,"button",4),g.YNc(7,aw,3,3,"button",4),g.qZA(),g.qZA(),g.YNc(8,Jc,2,0,"div",5),g.qZA()),2&e&&(g.xp6(1),g.Q6J("result",t.linkerResult),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHOW_RESULT.CLOSE_WINDOW_BUTTON")," "),g.xp6(2),g.Q6J("ngIf","IDENTITY_IDENTICAL"===t.linkerResult||"IDENTITY_UNKNOWN"===t.linkerResult||"IDENTITY_LINKED"===t.linkerResult),g.xp6(1),g.Q6J("ngIf","IDENTITY_REGISTERED_ALREADY"===t.linkerResult),g.xp6(1),g.Q6J("ngIf",t.loading))},directives:[NT,zu,E.O5,Jr],pipes:[Ar],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:1rem;bottom:0;right:1rem;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}"]}),c})()}];let Fg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[ua.forRoot(ow)],ua]}),c})();class Ia{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let Lg=(()=>{class c{constructor(e,t,o,l,s){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=l,this.utilsService=s}initializeColors(e,t){return new Promise(o=>{t.forEach(l=>{const s=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,s)}),e.forEach(l=>{const s=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,s),this.setEntityTheme(l.entity,s)}),o()})}setEntityTheme(e,t){const o=function Th(c){return[Mi(tinycolor(c).lighten(52),"50"),Mi(tinycolor(c).lighten(37),"100"),Mi(tinycolor(c).lighten(26),"200"),Mi(tinycolor(c).lighten(12),"300"),Mi(tinycolor(c).lighten(6),"400"),Mi(tinycolor(c),"500"),Mi(tinycolor(c).darken(6),"600"),Mi(tinycolor(c).darken(12),"700"),Mi(tinycolor(c).darken(18),"800"),Mi(tinycolor(c).darken(24),"900"),Mi(tinycolor(c).lighten(50).saturate(30),"A100"),Mi(tinycolor(c).lighten(30).saturate(30),"A200"),Mi(tinycolor(c).lighten(10).saturate(15),"A400"),Mi(tinycolor(c).lighten(5).saturate(5),"A700")]}(t);for(const l of o){const i=`--${e}-theme-primary-contrast-${l.name}`,r=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(i,r)}}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=>{var o;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(o=null==t?void 0:t.brandings)||void 0===o?void 0:o[l])&&this.storeService.setBanding(l),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(xr),g.LFG(mo),g.LFG(Bi),g.LFG(Fp))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Mi(c,a){const e=tinycolor(c),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let sw=(()=>{class c{constructor(e,t){this.registrarService=e,this.router=t}consolidate(){const e=location.search.substring(1),t=al("formerToken",e);return new Promise(o=>{this.registrarService.consolidate({accessToken:t}).subscribe(()=>{this.consolidatePreviousLogins(1,e).then(()=>{this.router.navigate(["/result","OK"]),o()})},l=>{let n="UNKNOWN_ERROR";switch(l.error.name){case"InvalidTokenException":case"ExpiredTokenException":n="TOKEN_EXPIRED";break;case"IdentityUnknownException":n="IDENTITY_UNKNOWN";break;case"IdentityAlreadyInUseException":n="IDENTITY_REGISTERED_ALREADY";break;case"IdentityIsSameException":n="IDENTITY_IDENTICAL";break;case"IdentitiesAlreadyJoinedException":n="IDENTITY_LINKED"}this.router.navigate(["/result",n],{queryParamsHandling:"merge"}),o()})})}consolidatePreviousLogins(e,t){return new Promise(o=>{const l=al("formerToken"+e.toString(),t);null==l||""===l?o():this.registrarService.consolidate({accessToken:l}).subscribe(()=>{this.consolidatePreviousLogins(e+1,t).then(()=>o())},()=>{this.consolidatePreviousLogins(e+1,t).then(()=>o())})})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(J_),g.LFG(bi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Eh=(()=>{class c{constructor(e,t,o,l){this.initAuthService=e,this.appConfigService=t,this.location=o,this.linkIdentitiesService=l}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.simpleLoadPrincipal().then(()=>this.linkIdentitiesService.consolidate()):this.initAuthService.handleAuthStart())}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(yh),g.LFG(Lg),g.LFG(E.Ye),g.LFG(sw))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Sh=new g.OlP("perun-api-service");let jg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),gE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();const kw=new g.OlP("NgModelWithFormControlWarning");let RE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[gE]]}),c})(),jw=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[RE]}),c})(),jh=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:kw,useValue:e.warnOnNgModelWithFormControl}]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[RE]}),c})(),VE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),i_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye,vo,VE],Ye,VE]}),c})(),Nw=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),BD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),OE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,BD,Ma]]}),c})(),LE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Oo,Ye],Oo,Ye]}),c})(),jE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),n_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Bo],imports:[[jE,$r,Ye],jE,$r]}),c})(),jD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn]]}),c})(),zw=(()=>{class c{constructor(){this.changes=new Ge.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const KD={provide:zw,deps:[[new g.FiY,new g.tp0,zw]],useFactory:function JD(c){return c||new zw}};let zE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[KD,Bo],imports:[[Ye,E.ez,Ma,It,jD,vr,Ui],Ye]}),c})(),hH=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[jo]]}),c})(),f_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[hH,Ye],Ye]}),c})(),LH=(()=>{class c{constructor(){this.changes=new Ge.x,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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const zH={provide:new g.OlP("mat-datepicker-scroll-strategy"),deps:[br],useFactory:function NH(c){return()=>c.scrollStrategies.reposition()}};let eA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[LH,zH],imports:[[E.ez,It,Us,Nr,Ma,Ye],_r]}),c})(),rS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,_r],_r,Ye]}),c})(),oS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Oo,Ui,Ye,_c,E.ez],Oo,Ye,_c,Nw]}),c})(),sS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),tA=(()=>{class c{constructor(){this.changes=new Ge.x}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const lP={provide:tA,deps:[[new g.FiY,new g.tp0,tA]],useFactory:function sP(c){return c||new tA}};let iA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[lP],imports:[[E.ez,Ye]]}),c})(),pP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,Ma,Ui,vo,Nr],Ye]}),c})(),lS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),cS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[lS,Ui,Ye,vo],lS,Ye]}),c})();const pS=new g.OlP("mat-chips-default-options");let rA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Bo,{provide:pS,useValue:{separatorKeyCodes:[13]}}],imports:[[Ye]]}),c})(),aA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,jg,Nw,OE,It,LE,i_,vr,f_,Wc,xh,$r,n_,jo,jw,jh,zE,eA,Vo,rS,oS,Zs,sS,iA,Go,Mc,zo,Ui,f_,cS,rA],jg,Nw,OE,It,LE,i_,vr,f_,Wc,xh,$r,n_,jo,jw,jh,zE,eA,Vo,rS,oS,Zs,sS,iA,Go,Mc,zo,Ui,pP,cS,rA]}),c})(),oA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[vr,E.ez]]}),c})();function sA(c,a,e){for(let t in a)if(a.hasOwnProperty(t)){const o=a[t];o?c.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):c.removeProperty(t)}return c}function id(c,a){const e=a?"":"none";sA(c.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function fS(c,a,e){sA(c.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function b_(c,a){return a&&"none"!=a?c+" "+a:c}function mS(c){const a=c.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(c)*a}function lA(c,a){return c.getPropertyValue(a).split(",").map(t=>t.trim())}function cA(c){const a=c.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function dA(c,a,e){const{top:t,bottom:o,left:l,right:s}=c;return e>=t&&e<=o&&a>=l&&a<=s}function Uh(c,a,e){c.top+=a,c.bottom=c.top+c.height,c.left+=e,c.right=c.left+c.width}function gS(c,a,e,t){const{top:o,right:l,bottom:s,left:n,width:i,height:r}=c,d=i*a,u=r*a;return t>o-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:cA(e)})})}handleScroll(a){const e=fn(a),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let l,s;if(e===this._document){const r=this.getViewportScrollPosition();l=r.top,s=r.left}else l=e.scrollTop,s=e.scrollLeft;const n=o.top-l,i=o.left-s;return this.positions.forEach((r,d)=>{r.clientRect&&e!==d&&e.contains(d)&&Uh(r.clientRect,n,i)}),o.top=l,o.left=s,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function bS(c){const a=c.cloneNode(!0),e=a.querySelectorAll("[id]"),t=c.nodeName.toLowerCase();a.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),H=this._dropContainer;if(!b)return void this._endDragSequence(n);(!H||!H.isDragging()&&!H.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const r=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,i);else{const d=this._activeTransform;d.x=r.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=r.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:n,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new _S(t),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=gt(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>id(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>ai(t)),this._handles.forEach(t=>id(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=ai(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,C_),e.addEventListener("touchstart",this._pointerDown,wS),e.addEventListener("dragstart",this._nativeDragStart,C_)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?ai(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),id(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),id(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){qh(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();o.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),fS(t,!1,uA),this._document.body.appendChild(o.replaceChild(l,t)),this._getPreviewInsertionPoint(o,n).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=qh(e),l=!o&&0!==e.button,s=this._rootElement,n=fn(e),i=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),r=o?Gn(e):yf(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||i||r)return;if(this._handles.length){const f=s.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=cA(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){fS(this._rootElement,!0,uA),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(a),l=this._getDragDistance(o),s=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:l,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:l,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,s,l,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:o}){let l=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,a,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let o;if(t&&a){const l=a.matchSize?this._rootElement.getBoundingClientRect():null,s=a.viewContainer.createEmbeddedView(t,a.context);s.detectChanges(),o=xS(s,this._document),this._previewRef=s,a.matchSize?TS(o,l):o.style.transform=y_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;o=bS(l),TS(o,l.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return sA(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},uA),id(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>o.classList.add(l)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function jP(c){const a=getComputedStyle(c),e=lA(a,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const o=e.indexOf(t),l=lA(a,"transition-duration"),s=lA(a,"transition-delay");return mS(l[o])+mS(s[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=s=>{var n;(!s||fn(s)===this._preview&&"transform"===s.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",o),t(),clearTimeout(l))},l=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=xS(this._placeholderRef,this._document)):t=bS(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),o=a===this._rootElement?null:a,l=o?o.getBoundingClientRect():t,s=qh(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:l.left-t.left+(s.pageX-l.left-n.left),y:l.top-t.top+(s.pageY-l.top-n.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=qh(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,o=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const n=this._ownerSVGElement.createSVGPoint();return n.x=o,n.y=l,n.matrixTransform(s.inverse())}}return{x:o,y:l}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:s}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:r}=this._getPreviewRect(),d=n.top+s,u=n.bottom-(r-s);t=AS(t,n.left+l,n.right-(i-l)),o=AS(o,d,u)}return{x:t,y:o}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,o=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-l.x),n=Math.abs(t-l.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=e>l.x?1:-1,l.x=e),n>this._config.pointerDirectionChangeThreshold&&(o.y=t>l.y?1:-1,l.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,id(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,C_),a.removeEventListener("touchstart",this._pointerDown,wS),a.removeEventListener("dragstart",this._nativeDragStart,C_)}_applyRootElementTransform(a,e){const t=y_(a,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=b_(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=y_(a,e);this._preview.style.transform=b_(l,o)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 l=t.left-o.left,s=o.right-t.right,n=t.top-o.top,i=o.bottom-t.bottom;t.width>o.width?(l>0&&(a+=l),s>0&&(a-=s)):a=0,t.height>o.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:qh(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=fn(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&Uh(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ts(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return ai(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function y_(c,a){return`translate3d(${Math.round(c)}px, ${Math.round(a)}px, 0)`}function AS(c,a,e){return Math.max(a,Math.min(e,c))}function qh(c){return"t"===c.type[0]}function xS(c,a){const e=c.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function TS(c,a){c.style.width=`${a.width}px`,c.style.height=`${a.height}px`,c.style.transform=y_(a.left,a.top)}function Wh(c,a){return Math.max(0,Math.min(a,c))}class qP{constructor(a,e,t,o,l){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=l,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ge.x,this.entered=new Ge.x,this.exited=new Ge.x,this.dropped=new Ge.x,this.sorted=new Ge.x,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=jt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ge.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function LP(c=0,a=qu.z){return c<0&&(c=0),(0,Wu.H)(c,c,a)}(0,Pn).pipe(ui(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-n):2===this._verticalScrollDirection&&s.scrollBy(0,n),1===this._horizontalScrollDirection?s.scrollBy(-n,0):2===this._horizontalScrollDirection&&s.scrollBy(n,0)})},this.element=ai(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new _S(t)}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(a,e,t,o){let l;this._draggingStarted(),null==o?(l=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(a,e,t))):l=o;const s=this._activeDraggables,n=s.indexOf(a),i=a.getPlaceholderElement();let r=s[l];if(r===a&&(r=s[l+1]),!r&&(null==l||-1===l||l-1&&s.splice(n,1),r&&!this._dragDropRegistry.isDragging(r)){const d=r.getRootElement();d.parentElement.insertBefore(i,d),s.splice(l,0,a)}else ai(this.element).appendChild(i),s.push(a);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,o,l,s,n){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:l,distance:s,dropPoint:n})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===a.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=ai(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,o){if(this.sortingDisabled||!this._clientRect||!gS(this._clientRect,.05,e,t))return;const l=this._itemPositions,s=this._getItemIndexFromPointerPosition(a,e,t,o);if(-1===s&&l.length>0)return;const n="horizontal"===this._orientation,i=l.findIndex(oe=>oe.drag===a),r=l[s],u=r.clientRect,f=i>s?1:-1,b=this._getItemOffsetPx(l[i].clientRect,u,f),H=this._getSiblingOffsetPx(i,l,f),G=l.slice();(function UP(c,a,e){const t=Wh(a,c.length-1),o=Wh(e,c.length-1);if(t===o)return;const l=c[t],s=o{if(G[Oe]===oe)return;const ct=oe.drag===a,nt=ct?b:H,At=ct?a.getPlaceholderElement():oe.drag.getRootElement();oe.offset+=nt,n?(At.style.transform=b_(`translate3d(${Math.round(oe.offset)}px, 0, 0)`,oe.initialTransform),Uh(oe.clientRect,0,nt)):(At.style.transform=b_(`translate3d(0, ${Math.round(oe.offset)}px, 0)`,oe.initialTransform),Uh(oe.clientRect,nt,0))}),this._previousSwap.overlaps=dA(u,e,t),this._previousSwap.drag=r.drag,this._previousSwap.delta=n?o.x:o.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,o=0,l=0;if(this._parentPositions.positions.forEach((s,n)=>{n===this._document||!s.clientRect||t||gS(s.clientRect,.05,a,e)&&([o,l]=function WP(c,a,e,t){const o=MS(a,t),l=DS(a,e);let s=0,n=0;if(o){const i=c.scrollTop;1===o?i>0&&(s=1):c.scrollHeight-i>c.clientHeight&&(s=2)}if(l){const i=c.scrollLeft;1===l?i>0&&(n=1):c.scrollWidth-i>c.clientWidth&&(n=2)}return[s,n]}(n,s.clientRect,a,e),(o||l)&&(t=n))}),!o&&!l){const{width:s,height:n}=this._viewportRuler.getViewportSize(),i={width:s,height:n,top:0,right:s,bottom:n,left:0};o=MS(i,e),l=DS(i,a),t=window}t&&(o!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=l,this._scrollNode=t,(o||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=ai(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=ai(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:cA(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=ai(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const l=null===(t=this._itemPositions.find(s=>s.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=l||""}}),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(a,e,t){const o="horizontal"===this._orientation,l=e[a].clientRect,s=e[a+-1*t];let n=l[o?"width":"height"]*t;if(s){const i=o?"left":"top",r=o?"right":"bottom";-1===t?n-=s.clientRect[i]-l[r]:n+=l[i]-s.clientRect[r]}return n}_getItemOffsetPx(a,e,t){const o="horizontal"===this._orientation;let l=o?e.left-a.left:e.top-a.top;return-1===t&&(l+=o?e.width-a.width:e.height-a.height),l}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const s=t[t.length-1].clientRect;return o?a>=s.right:e>=s.bottom}{const s=t[0].clientRect;return o?a<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(a,e,t,o){const l="horizontal"===this._orientation,s=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===a)return!1;if(o){const r=l?o.x:o.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&r===this._previousSwap.delta)return!1}return l?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&to._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!dA(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const l=ai(this.element);return o===l||l.contains(o)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{Uh(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 a=Ts(ai(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function MS(c,a){const{top:e,bottom:t,height:o}=c,l=.05*o;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}function DS(c,a){const{left:e,right:t,width:o}=c,l=.05*o;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}const v_=or({passive:!1,capture:!0});let $P=(()=>{class c{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 Ge.x,this.pointerUp=new Ge.x,this.scroll=new Ge.x,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,v_)})}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,v_)}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:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:v_}),o||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:v_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,s)=>{this._document.addEventListener(s,l.handler,l.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 Qt.y(o=>this._ngZone.runOutsideAngular(()=>{const s=n=>{this._activeDragInstances.length&&o.next(n)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),(0,Da.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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const QP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let YP=(()=>{class c{constructor(e,t,o,l){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=l}createDrag(e,t=QP){return new GP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new qP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(g.R0b),g.LFG(Lo),g.LFG($P))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),JP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[YP],imports:[_r]}),c})(),KP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),iR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),dR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[iR,Ye],Ye]}),c})(),AR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye],Ye]}),c})();new g.OlP("mat-selectsearch-default-options");let MR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,jh,It,i_,vr,xh,Mc]]}),c})(),DR=(()=>{class c extends mc{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const HR={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 IS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:bn,useClass:DR},{provide:js,useValue:HR}],imports:[[E.ez,i_,f_,jw,rA,JP,Uo,ua,iA,Go,xh,oA,vr,Zs,It,Mc,$r,jh,n_,Ui,Rg,KP,dR,eA,AR,bc,zo,MR,jo,Wc,fg,aA]]}),c})(),zI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,It,vr,ua,IS,Uo,$r,jh,n_,oA]]}),c})(),UI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Wc,It,Uo]]}),c})(),qI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[wh],imports:[[E.ez,aA,Uo,Rg]]}),c})();const WI={provide:y.TP,useExisting:(0,g.Gpc)(()=>Pg),multi:!0};function $I(c){return new Ia(c,"./assets/i18n/",".json")}function QI(c){const a={basePath:c.getProperty("api_url")};return new it(a)}const YI=c=>()=>c.loadConfigs();let JI=(()=>{class c{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Hg),g.LFG(nl))},c.\u0275mod=g.oAB({type:c,bootstrap:[Ip]}),c.\u0275inj=g.cJS({providers:[Hg,{provide:g.ip1,useFactory:YI,multi:!0,deps:[Eh]},{provide:it,useFactory:QI,deps:[xr]},Pg,WI,{provide:Sh,useClass:VT},{provide:Cs.Hy,useFactory:()=>localStorage}],imports:[[Er,ku,y.JF,ab,Fg,aA,zI,vr,IS,oA,fg,UI,Cs.zr.forRoot(),qI,Uo.forRoot({loader:{provide:Pa,useFactory:$I,deps:[y.eN]}})]]}),c})();(0,g.G48)(),Tr().bootstrapModule(JI).catch(c=>console.error(c))},1302:function(L,N,x){var E;!function(g,k){var O={};!function(g){"use strict";g.__esModule=!0,g.digestLength=32,g.blockSize=64;var k=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 O(se,W,ae,ie,le){for(var Te,Me,Pe,ye,fe,we,Xe,Se,xe,Ve,ne,ce,de;le>=64;){for(Te=W[0],Me=W[1],Pe=W[2],ye=W[3],fe=W[4],we=W[5],Xe=W[6],Se=W[7],Ve=0;Ve<16;Ve++)se[Ve]=(255&ae[ne=ie+4*Ve])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Ve=16;Ve<64;Ve++)se[Ve]=((ce=((xe=se[Ve-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+se[Ve-7]|0)+((de=((xe=se[Ve-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+se[Ve-16]|0);for(Ve=0;Ve<64;Ve++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&we^~fe&Xe)|0)+(Se+(k[Ve]+se[Ve]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&Pe^Me&Pe)|0,Se=Xe,Xe=we,we=fe,fe=ye+ce|0,ye=Pe,Pe=Me,Me=Te,Te=ce+de|0;W[0]+=Te,W[1]+=Me,W[2]+=Pe,W[3]+=ye,W[4]+=fe,W[5]+=we,W[6]+=Xe,W[7]+=Se,ie+=64,le-=64}return ie}var V=function(){function se(){this.digestLength=g.digestLength,this.blockSize=g.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 se.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},se.prototype.clean=function(){for(var W=0;W0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,W,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;return this},se.prototype.finish=function(W){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var Pe=ie+1;Pe>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(Pe=0;Pe<8;Pe++)W[4*Pe+0]=this.state[Pe]>>>24&255,W[4*Pe+1]=this.state[Pe]>>>16&255,W[4*Pe+2]=this.state[Pe]>>>8&255,W[4*Pe+3]=this.state[Pe]>>>0&255;return this},se.prototype.digest=function(){var W=new Uint8Array(this.digestLength);return this.finish(W),W},se.prototype._saveState=function(W){for(var ae=0;aethis.blockSize)(new V).update(W).finish(ae).clean();else for(var ie=0;ie1&&W.update(se),ae&&W.update(ae),W.update(ie),W.finish(se),ie[0]++}g.HMAC=j,g.hash=q,g.default=q,g.hmac=Y;var $=new Uint8Array(g.digestLength);g.hkdf=function z(se,W,ae,ie){void 0===W&&(W=$),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Y(W,se),Me=new j(Te),Pe=new Uint8Array(Me.digestLength),ye=Pe.length,fe=new Uint8Array(ie),we=0;we>>24&255,Me[1]=Xe>>>16&255,Me[2]=Xe>>>8&255,Me[3]=Xe>>>0&255,le.reset(),le.update(W),le.update(Me),le.finish(ye);for(var Se=0;Se=z.status}function j($){try{$.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Y=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),U=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Y?function($,z,re){var se=q.URL||q.webkitURL,W=document.createElement("a");W.download=z=z||$.name||"download",W.rel="noopener","string"==typeof $?(W.href=$,W.origin===location.origin?j(W):V(W.href)?O($,z,re):j(W,W.target="_blank")):(W.href=se.createObjectURL($),setTimeout(function(){se.revokeObjectURL(W.href)},4e4),setTimeout(function(){j(W)},0))}:"msSaveOrOpenBlob"in navigator?function($,z,re){if(z=z||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function k($,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($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,re),z);else if(V($))O($,z,re);else{var se=document.createElement("a");se.href=$,se.target="_blank",setTimeout(function(){j(se)})}}:function($,z,re,se){if((se=se||open("","_blank"))&&(se.document.title=se.document.body.innerText="downloading..."),"string"==typeof $)return O($,z,re);var W="application/octet-stream"===$.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||W&&ae||Y)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var Pe=le.result;Pe=ie?Pe:Pe.replace(/^data:[^;]*;/,"data:attachment/file;"),se?se.location.href=Pe:location=Pe,se=null},le.readAsDataURL($)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL($);se?se.location=Me:location.href=Me,se=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=U.saveAs=U,L.exports=U}.apply(N,[]))&&(L.exports=g)},8306:(L,N,x)=>{"use strict";x.d(N,{y:()=>$});var E=x(930),g=x(727),k=x(8822),O=x(4671);var q=x(2416),Y=x(576),U=x(2806);let $=(()=>{class W{constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new W;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function se(W){return W&&W instanceof E.Lv||function re(W){return W&&(0,Y.m)(W.next)&&(0,Y.m)(W.error)&&(0,Y.m)(W.complete)}(W)&&(0,g.Nn)(W)}(ie)?ie:new E.Hp(ie,le,Te);return(0,U.x)(()=>{const{operator:Pe,source:ye}=this;Me.add(Pe?Pe.call(Me,ye):ye?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const Pe=new E.Hp({next:ye=>{try{ie(ye)}catch(fe){Me(fe),Pe.unsubscribe()}},error:Me,complete:Te});this.subscribe(Pe)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[k.L](){return this}pipe(...ie){return function j(W){return 0===W.length?O.y:1===W.length?W[0]:function(ie){return W.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(Pe=>Me=Pe,Pe=>Te(Pe),()=>le(Me))})}}return W.create=ae=>new W(ae),W})();function z(W){var ae;return null!==(ae=null!=W?W:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(L,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),g=x(727);const O=(0,x(3888).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=x(8737),j=x(2806);let q=(()=>{class U extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Y(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:se,observers:W}=this;return re||se?g.Lc:(this.currentObservers=null,W.push(z),new g.w0(()=>{this.currentObservers=null,(0,V.P)(W,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:se,isStopped:W}=this;re?z.error(se):W&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return U.create=($,z)=>new Y($,z),U})();class Y extends q{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,$)}error($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==re?re:g.Lc}}},930:(L,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),g=x(727),k=x(2416),O=x(7849),V=x(5032);const j=U("C",void 0,void 0);function U(ye,fe,we){return{kind:ye,value:fe,error:we}}var $=x(3410),z=x(2806);class re extends g.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,g.Nn)(fe)&&fe.add(this)):this.destination=Pe}static create(fe,we,Xe){return new ie(fe,we,Xe)}next(fe){this.isStopped?Me(function Y(ye){return U("N",ye,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(ye){return U("E",void 0,ye)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const se=Function.prototype.bind;function W(ye,fe){return se.call(ye,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:we}=this;if(we.next)try{we.next(fe)}catch(Xe){le(Xe)}}error(fe){const{partialObserver:we}=this;if(we.error)try{we.error(fe)}catch(Xe){le(Xe)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(we){le(we)}}}class ie extends re{constructor(fe,we,Xe){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=we?we:void 0,complete:null!=Xe?Xe:void 0};else{let xe;this&&k.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&W(fe.next,xe),error:fe.error&&W(fe.error,xe),complete:fe.complete&&W(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(ye){k.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(ye):(0,O.h)(ye)}function Me(ye,fe){const{onStoppedNotification:we}=k.v;we&&$.z.setTimeout(()=>we(ye,fe))}const Pe={closed:!0,next:V.Z,error:function Te(ye){throw ye},complete:V.Z}},727:(L,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>V,Nn:()=>q});var E=x(576);const k=(0,x(3888).d)(U=>function(z){U(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,se)=>`${se+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class V{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const W of z)W.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch(W){$=W instanceof k?W.errors:[W]}const{_finalizers:se}=this;if(se){this._finalizers=null;for(const W of se)try{Y(W)}catch(ae){$=null!=$?$:[],ae instanceof k?$=[...$,...ae.errors]:$.push(ae)}}if($)throw new k($)}}add($){var z;if($&&$!==this)if(this.closed)Y($);else{if($ instanceof V){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,O.P)(z,$),$ instanceof V&&$._removeParent(this)}}V.EMPTY=(()=>{const U=new V;return U.closed=!0,U})();const j=V.EMPTY;function q(U){return U instanceof V||U&&"closed"in U&&(0,E.m)(U.remove)&&(0,E.m)(U.add)&&(0,E.m)(U.unsubscribe)}function Y(U){(0,E.m)(U)?U():U.unsubscribe()}},2416:(L,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(L,N,x)=>{"use strict";x.d(N,{a:()=>$});var E=x(8306),g=x(4742),k=x(2076),O=x(4671),V=x(3268),j=x(3269),q=x(1810),Y=x(5403),U=x(9672);function $(...se){const W=(0,j.yG)(se),ae=(0,j.jO)(se),{args:ie,keys:le}=(0,g.D)(se);if(0===ie.length)return(0,k.D)([],W);const Te=new E.y(function z(se,W,ae=O.y){return ie=>{re(W,()=>{const{length:le}=se,Te=new Array(le);let Me=le,Pe=le;for(let ye=0;ye{const fe=(0,k.D)(se[ye],W);let we=!1;fe.subscribe((0,Y.x)(ie,Xe=>{Te[ye]=Xe,we||(we=!0,Pe--),Pe||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,W,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,V.Z)(ae)):Te}function re(se,W,ae){se?(0,U.f)(ae,se,W):W()}},7272:(L,N,x)=>{"use strict";x.d(N,{z:()=>V});var E=x(8189),k=x(3269),O=x(2076);function V(...j){return function g(){return(0,E.J)(1)}()((0,O.D)(j,(0,k.yG)(j)))}},515:(L,N,x)=>{"use strict";x.d(N,{E:()=>g});const g=new(x(8306).y)(V=>V.complete())},2076:(L,N,x)=>{"use strict";x.d(N,{D:()=>Xe});var E=x(8421),g=x(9672),k=x(4482),O=x(5403);function V(Se,xe=0){return(0,k.e)((Ve,ne)=>{Ve.subscribe((0,O.x)(ne,ce=>(0,g.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,g.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,g.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,k.e)((Ve,ne)=>{ne.add(Se.schedule(()=>Ve.subscribe(ne),xe))})}var U=x(8306),z=x(2202),re=x(576);function W(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new U.y(Ve=>{(0,g.f)(Ve,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,g.f)(Ve,xe,()=>{ne.next().then(ce=>{ce.done?Ve.complete():Ve.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),Pe=x(4532),ye=x(3260);function Xe(Se,xe){return xe?function we(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),V(xe))}(Se,xe);if((0,le.z)(Se))return function $(Se,xe){return new U.y(Ve=>{let ne=0;return xe.schedule(function(){ne===Se.length?Ve.complete():(Ve.next(Se[ne++]),Ve.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Y(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),V(xe))}(Se,xe);if((0,Me.D)(Se))return W(Se,xe);if((0,Te.T)(Se))return function se(Se,xe){return new U.y(Ve=>{let ne;return(0,g.f)(Ve,xe,()=>{ne=Se[z.h](),(0,g.f)(Ve,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(me){return void Ve.error(me)}de?Ve.complete():Ve.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,ye.L)(Se))return function fe(Se,xe){return W((0,ye.Q)(Se),xe)}(Se,xe)}throw(0,Pe.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(L,N,x)=>{"use strict";x.d(N,{Xf:()=>se});var E=x(655),g=x(1144),k=x(8239),O=x(8306),V=x(3670),j=x(2206),q=x(4532),Y=x(6495),U=x(3260),$=x(576),z=x(7849),re=x(8822);function se(ye){if(ye instanceof O.y)return ye;if(null!=ye){if((0,V.c)(ye))return function W(ye){return new O.y(fe=>{const we=ye[re.L]();if((0,$.m)(we.subscribe))return we.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ye);if((0,g.z)(ye))return function ae(ye){return new O.y(fe=>{for(let we=0;we{ye.then(we=>{fe.closed||(fe.next(we),fe.complete())},we=>fe.error(we)).then(null,z.h)})}(ye);if((0,j.D)(ye))return Te(ye);if((0,Y.T)(ye))return function le(ye){return new O.y(fe=>{for(const we of ye)if(fe.next(we),fe.closed)return;fe.complete()})}(ye);if((0,U.L)(ye))return function Me(ye){return Te((0,U.Q)(ye))}(ye)}throw(0,q.z)(ye)}function Te(ye){return new O.y(fe=>{(function Pe(ye,fe){var we,Xe,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(we=(0,E.KL)(ye);!(Xe=yield we.next()).done;)if(fe.next(Xe.value),fe.closed)return}catch(Ve){Se={error:Ve}}finally{try{Xe&&!Xe.done&&(xe=we.return)&&(yield xe.call(we))}finally{if(Se)throw Se.error}}fe.complete()})})(ye,fe).catch(we=>fe.error(we))})}},6451:(L,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),g=x(8421),k=x(515),O=x(3269),V=x(2076);function j(...q){const Y=(0,O.yG)(q),U=(0,O._6)(q,1/0),$=q;return $.length?1===$.length?(0,g.Xf)($[0]):(0,E.J)(U)((0,V.D)($,Y)):k.E}},9646:(L,N,x)=>{"use strict";x.d(N,{of:()=>k});var E=x(3269),g=x(2076);function k(...O){const V=(0,E.yG)(O);return(0,g.D)(O,V)}},102:(L,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),g=x(8421);const{isArray:k}=Array;var V=x(5403);function j(...Y){return 1===(Y=function O(Y){return 1===Y.length&&k(Y[0])?Y[0]:Y}(Y)).length?(0,g.Xf)(Y[0]):new E.y(function q(Y){return U=>{let $=[];for(let z=0;$&&!U.closed&&z{if($){for(let se=0;se<$.length;se++)se!==z&&$[se].unsubscribe();$=null}U.next(re)})))}}(Y))}},2843:(L,N,x)=>{"use strict";x.d(N,{_:()=>k});var E=x(8306),g=x(576);function k(O,V){const j=(0,g.m)(O)?O:()=>O,q=Y=>Y.error(j());return new E.y(V?Y=>V.schedule(q,0,Y):q)}},2805:(L,N,x)=>{"use strict";x.d(N,{H:()=>V});var E=x(8306),g=x(4986),k=x(3532),O=x(1165);function V(j=0,q,Y=g.P){let U=-1;return null!=q&&((0,k.K)(q)?Y=q:U=q),new E.y($=>{let z=(0,O.q)(j)?+j-Y.now():j;z<0&&(z=0);let re=0;return Y.schedule(function(){$.closed||($.next(re++),0<=U?this.schedule(void 0,U):$.complete())},z)})}},5403:(L,N,x)=>{"use strict";x.d(N,{x:()=>g});var E=x(930);function g(O,V,j,q,Y){return new k(O,V,j,q,Y)}class k extends E.Lv{constructor(V,j,q,Y,U,$){super(V),this.onFinalize=U,this.shouldUnsubscribe=$,this._next=j?function(z){try{j(z)}catch(re){V.error(re)}}:super._next,this._error=Y?function(z){try{Y(z)}catch(re){V.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){V.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var V;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(V=this.onFinalize)||void 0===V||V.call(this))}}}},262:(L,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),g=x(5403),k=x(4482);function O(V){return(0,k.e)((j,q)=>{let $,Y=null,U=!1;Y=j.subscribe((0,g.x)(q,void 0,void 0,z=>{$=(0,E.Xf)(V(z,O(V)(j))),Y?(Y.unsubscribe(),Y=null,$.subscribe(q)):U=!0})),U&&(Y.unsubscribe(),Y=null,$.subscribe(q))})}},4351:(L,N,x)=>{"use strict";x.d(N,{b:()=>k});var E=x(5577),g=x(576);function k(O,V){return(0,g.m)(V)?(0,E.z)(O,V,1):(0,E.z)(O,1)}},8372:(L,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),g=x(4482),k=x(5403);function O(V,j=E.z){return(0,g.e)((q,Y)=>{let U=null,$=null,z=null;const re=()=>{if(U){U.unsubscribe(),U=null;const W=$;$=null,Y.next(W)}};function se(){const W=z+V,ae=j.now();if(ae{$=W,z=j.now(),U||(U=j.schedule(se,V),Y.add(U))},()=>{re(),Y.complete()},void 0,()=>{$=U=null}))})}},6590:(L,N,x)=>{"use strict";x.d(N,{d:()=>k});var E=x(4482),g=x(5403);function k(O){return(0,E.e)((V,j)=>{let q=!1;V.subscribe((0,g.x)(j,Y=>{q=!0,j.next(Y)},()=>{q||j.next(O),j.complete()}))})}},4825:(L,N,x)=>{"use strict";x.d(N,{g:()=>se});var E=x(4986),g=x(7272),k=x(5698),O=x(4482),V=x(5403),j=x(5032),Y=x(4004),$=x(5577);function z(W,ae){return ae?ie=>(0,g.z)(ae.pipe((0,k.q)(1),function q(){return(0,O.e)((W,ae)=>{W.subscribe((0,V.x)(ae,j.Z))})}()),ie.pipe(z(W))):(0,$.z)((ie,le)=>W(ie,le).pipe((0,k.q)(1),function U(W){return(0,Y.U)(()=>W)}(ie)))}var re=x(2805);function se(W,ae=E.z){const ie=(0,re.H)(W,ae);return z(()=>ie)}},9300:(L,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(4482),g=x(5403);function k(O,V){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,g.x)(q,U=>O.call(V,U,Y++)&&q.next(U)))})}},590:(L,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),g=x(9300),k=x(5698),O=x(6590),V=x(8068),j=x(4671);function q(Y,U){const $=arguments.length>=2;return z=>z.pipe(Y?(0,g.h)((re,se)=>Y(re,se,z)):j.y,(0,k.q)(1),$?(0,O.d)(U):(0,V.T)(()=>new E.K))}},4004:(L,N,x)=>{"use strict";x.d(N,{U:()=>k});var E=x(4482),g=x(5403);function k(O,V){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,g.x)(q,U=>{q.next(O.call(V,U,Y++))}))})}},8189:(L,N,x)=>{"use strict";x.d(N,{J:()=>k});var E=x(5577),g=x(4671);function k(O=1/0){return(0,E.z)(g.y,O)}},5577:(L,N,x)=>{"use strict";x.d(N,{z:()=>Y});var E=x(4004),g=x(8421),k=x(4482),O=x(9672),V=x(5403),q=x(576);function Y(U,$,z=1/0){return(0,q.m)($)?Y((re,se)=>(0,E.U)((W,ae)=>$(re,W,se,ae))((0,g.Xf)(U(re,se))),z):("number"==typeof $&&(z=$),(0,k.e)((re,se)=>function j(U,$,z,re,se,W,ae,ie){const le=[];let Te=0,Me=0,Pe=!1;const ye=()=>{Pe&&!le.length&&!Te&&$.complete()},fe=Xe=>Te{W&&$.next(Xe),Te++;let Se=!1;(0,g.Xf)(z(Xe,Me++)).subscribe((0,V.x)($,xe=>{null==se||se(xe),W?fe(xe):$.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Tewe(xe)):we(xe)}ye()}catch(xe){$.error(xe)}}))};return U.subscribe((0,V.x)($,fe,()=>{Pe=!0,ye()})),()=>{null==ie||ie()}}(re,se,U,z)))}},3099:(L,N,x)=>{"use strict";x.d(N,{B:()=>V});var E=x(8421),g=x(7579),k=x(930),O=x(4482);function V(q={}){const{connector:Y=(()=>new g.x),resetOnError:U=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=q;return re=>{let se,W,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==W||W.unsubscribe(),W=void 0},Pe=()=>{Me(),se=ae=void 0,le=Te=!1},ye=()=>{const fe=se;Pe(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,we)=>{ie++,!Te&&!le&&Me();const Xe=ae=null!=ae?ae:Y();we.add(()=>{ie--,0===ie&&!Te&&!le&&(W=j(ye,z))}),Xe.subscribe(we),!se&&ie>0&&(se=new k.Hp({next:Se=>Xe.next(Se),error:Se=>{Te=!0,Me(),W=j(Pe,U,Se),Xe.error(Se)},complete:()=>{le=!0,Me(),W=j(Pe,$),Xe.complete()}}),(0,E.Xf)(fe).subscribe(se))})(re)}}function j(q,Y,...U){if(!0===Y)return void q();if(!1===Y)return;const $=new k.Hp({next:()=>{$.unsubscribe(),q()}});return Y(...U).subscribe($)}},3900:(L,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),g=x(4482),k=x(5403);function O(V,j){return(0,g.e)((q,Y)=>{let U=null,$=0,z=!1;const re=()=>z&&!U&&Y.complete();q.subscribe((0,k.x)(Y,se=>{null==U||U.unsubscribe();let W=0;const ae=$++;(0,E.Xf)(V(se,ae)).subscribe(U=(0,k.x)(Y,ie=>Y.next(j?j(se,ie,ae,W++):ie),()=>{U=null,re()}))},()=>{z=!0,re()}))})}},5698:(L,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),g=x(4482),k=x(5403);function O(V){return V<=0?()=>E.E:(0,g.e)((j,q)=>{let Y=0;j.subscribe((0,k.x)(q,U=>{++Y<=V&&(q.next(U),V<=Y&&q.complete())}))})}},8505:(L,N,x)=>{"use strict";x.d(N,{b:()=>V});var E=x(576),g=x(4482),k=x(5403),O=x(4671);function V(j,q,Y){const U=(0,E.m)(j)||q||Y?{next:j,error:q,complete:Y}:j;return U?(0,g.e)(($,z)=>{var re;null===(re=U.subscribe)||void 0===re||re.call(U);let se=!0;$.subscribe((0,k.x)(z,W=>{var ae;null===(ae=U.next)||void 0===ae||ae.call(U,W),z.next(W)},()=>{var W;se=!1,null===(W=U.complete)||void 0===W||W.call(U),z.complete()},W=>{var ae;se=!1,null===(ae=U.error)||void 0===ae||ae.call(U,W),z.error(W)},()=>{var W,ae;se&&(null===(W=U.unsubscribe)||void 0===W||W.call(U)),null===(ae=U.finalize)||void 0===ae||ae.call(U)}))}):O.y}},8068:(L,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),g=x(4482),k=x(5403);function O(j=V){return(0,g.e)((q,Y)=>{let U=!1;q.subscribe((0,k.x)(Y,$=>{U=!0,Y.next($)},()=>U?Y.complete():Y.error(j())))})}function V(){return new E.K}},7414:(L,N,x)=>{"use strict";x.d(N,{V:()=>U});var E=x(4986),g=x(1165),k=x(4482),O=x(8421),V=x(3888),j=x(5403),q=x(9672);const Y=(0,V.d)(z=>function(se=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=se});function U(z,re){const{first:se,each:W,with:ae=$,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,g.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==se&&null==W)throw new TypeError("No timeout provided.");return(0,k.e)((Te,Me)=>{let Pe,ye,fe=null,we=0;const Xe=Se=>{ye=(0,q.f)(Me,ie,()=>{try{Pe.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:we})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};Pe=Te.subscribe((0,j.x)(Me,Se=>{null==ye||ye.unsubscribe(),we++,Me.next(fe=Se),W>0&&Xe(W)},void 0,void 0,()=>{(null==ye?void 0:ye.closed)||null==ye||ye.unsubscribe(),fe=null})),!we&&Xe(null!=se?"number"==typeof se?se:+se-ie.now():W)})}function $(z){throw new Y(z)}},4408:(L,N,x)=>{"use strict";x.d(N,{o:()=>V});var E=x(727);class g extends E.w0{constructor(q,Y){super()}schedule(q,Y=0){return this}}const k={setInterval(j,q,...Y){const{delegate:U}=k;return(null==U?void 0:U.setInterval)?U.setInterval(j,q,...Y):setInterval(j,q,...Y)},clearInterval(j){const{delegate:q}=k;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class V extends g{constructor(q,Y){super(q,Y),this.scheduler=q,this.work=Y,this.pending=!1}schedule(q,Y=0){if(this.closed)return this;this.state=q;const U=this.id,$=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId($,U,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId($,this.id,Y),this}requestAsyncId(q,Y,U=0){return k.setInterval(q.flush.bind(q,this),U)}recycleAsyncId(q,Y,U=0){if(null!=U&&this.delay===U&&!1===this.pending)return Y;k.clearInterval(Y)}execute(q,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(q,Y);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Y){let $,U=!1;try{this.work(q)}catch(z){U=!0,$=z||new Error("Scheduled action threw falsy error")}if(U)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:q,scheduler:Y}=this,{actions:U}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(U,this),null!=q&&(this.id=this.recycleAsyncId(Y,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(L,N,x)=>{"use strict";x.d(N,{v:()=>k});var E=x(6063);class g{constructor(V,j=g.now){this.schedulerActionCtor=V,this.now=j}schedule(V,j=0,q){return new this.schedulerActionCtor(this,V).schedule(q,j)}}g.now=E.l.now;class k extends g{constructor(V,j=g.now){super(V,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(V){const{actions:j}=this;if(this._active)return void j.push(V);let q;this._active=!0;do{if(q=V.execute(V.state,V.delay))break}while(V=j.shift());if(this._active=!1,q){for(;V=j.shift();)V.unsubscribe();throw q}}}},4986:(L,N,x)=>{"use strict";x.d(N,{z:()=>k,P:()=>O});var E=x(4408);const k=new(x(7565).v)(E.o),O=k},6063:(L,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(g,k,...O){const{delegate:V}=E;return(null==V?void 0:V.setTimeout)?V.setTimeout(g,k,...O):setTimeout(g,k,...O)},clearTimeout(g){const{delegate:k}=E;return((null==k?void 0:k.clearTimeout)||clearTimeout)(g)},delegate:void 0}},2202:(L,N,x)=>{"use strict";x.d(N,{h:()=>g});const g=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(L,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(L,N,x)=>{"use strict";x.d(N,{K:()=>g});const g=(0,x(3888).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(L,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>V,_6:()=>j});var E=x(576),g=x(3532);function k(q){return q[q.length-1]}function O(q){return(0,E.m)(k(q))?q.pop():void 0}function V(q){return(0,g.K)(k(q))?q.pop():void 0}function j(q,Y){return"number"==typeof k(q)?q.pop():Y}},4742:(L,N,x)=>{"use strict";x.d(N,{D:()=>V});const{isArray:E}=Array,{getPrototypeOf:g,prototype:k,keys:O}=Object;function V(q){if(1===q.length){const Y=q[0];if(E(Y))return{args:Y,keys:null};if(function j(q){return q&&"object"==typeof q&&g(q)===k}(Y)){const U=O(Y);return{args:U.map($=>Y[$]),keys:U}}}return{args:q,keys:null}}},8737:(L,N,x)=>{"use strict";function E(g,k){if(g){const O=g.indexOf(k);0<=O&&g.splice(O,1)}}x.d(N,{P:()=>E})},3888:(L,N,x)=>{"use strict";function E(g){const O=g(V=>{Error.call(V),V.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(L,N,x)=>{"use strict";function E(g,k){return g.reduce((O,V,j)=>(O[V]=k[j],O),{})}x.d(N,{n:()=>E})},2806:(L,N,x)=>{"use strict";x.d(N,{x:()=>k,O:()=>O});var E=x(2416);let g=null;function k(V){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!g;if(j&&(g={errorThrown:!1,error:null}),V(),j){const{errorThrown:q,error:Y}=g;if(g=null,q)throw Y}}else V()}function O(V){E.v.useDeprecatedSynchronousErrorHandling&&g&&(g.errorThrown=!0,g.error=V)}},9672:(L,N,x)=>{"use strict";function E(g,k,O,V=0,j=!1){const q=k.schedule(function(){O(),j?g.add(this.schedule(null,V)):this.unsubscribe()},V);if(g.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(L,N,x)=>{"use strict";function E(g){return g}x.d(N,{y:()=>E})},1144:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=g=>g&&"number"==typeof g.length&&"function"!=typeof g},2206:(L,N,x)=>{"use strict";x.d(N,{D:()=>g});var E=x(576);function g(k){return Symbol.asyncIterator&&(0,E.m)(null==k?void 0:k[Symbol.asyncIterator])}},1165:(L,N,x)=>{"use strict";function E(g){return g instanceof Date&&!isNaN(g)}x.d(N,{q:()=>E})},576:(L,N,x)=>{"use strict";function E(g){return"function"==typeof g}x.d(N,{m:()=>E})},3670:(L,N,x)=>{"use strict";x.d(N,{c:()=>k});var E=x(8822),g=x(576);function k(O){return(0,g.m)(O[E.L])}},6495:(L,N,x)=>{"use strict";x.d(N,{T:()=>k});var E=x(2202),g=x(576);function k(O){return(0,g.m)(null==O?void 0:O[E.h])}},8239:(L,N,x)=>{"use strict";x.d(N,{t:()=>g});var E=x(576);function g(k){return(0,E.m)(null==k?void 0:k.then)}},3260:(L,N,x)=>{"use strict";x.d(N,{Q:()=>k,L:()=>O});var E=x(655),g=x(576);function k(V){return(0,E.FC)(this,arguments,function*(){const q=V.getReader();try{for(;;){const{value:Y,done:U}=yield(0,E.qq)(q.read());if(U)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Y)}}finally{q.releaseLock()}})}function O(V){return(0,g.m)(null==V?void 0:V.getReader)}},3532:(L,N,x)=>{"use strict";x.d(N,{K:()=>g});var E=x(576);function g(k){return k&&(0,E.m)(k.schedule)}},4482:(L,N,x)=>{"use strict";x.d(N,{A:()=>g,e:()=>k});var E=x(576);function g(O){return(0,E.m)(null==O?void 0:O.lift)}function k(O){return V=>{if(g(V))return V.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(L,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:g}=Array;function O(V){return(0,E.U)(j=>function k(V,j){return g(j)?V(...j):V(j)}(V,j))}},5032:(L,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(L,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(2416),g=x(3410);function k(O){g.z.setTimeout(()=>{const{onUnhandledError:V}=E.v;if(!V)throw O;V(O)})}},4532:(L,N,x)=>{"use strict";function E(g){return new TypeError(`You provided ${null!==g&&"object"==typeof g?"an invalid object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(L,N,x)=>{"use strict";function Y(ne,ce,de,me){return new(de||(de=Promise))(function(He,rt){function kt(pi){try{Ne(me.next(pi))}catch(Yn){rt(Yn)}}function Ot(pi){try{Ne(me.throw(pi))}catch(Yn){rt(Yn)}}function Ne(pi){pi.done?He(pi.value):function pe(He){return He instanceof de?He:new de(function(rt){rt(He)})}(pi.value).then(kt,Ot)}Ne((me=me.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,me=de.apply(ne,ce||[]),He=[];return pe={},rt("next"),rt("throw"),rt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function rt(oi){me[oi]&&(pe[oi]=function(Ht){return new Promise(function(Vn,Qi){He.push([oi,Ht,Vn,Qi])>1||kt(oi,Ht)})})}function kt(oi,Ht){try{!function Ot(oi){oi.value instanceof le?Promise.resolve(oi.value.v).then(Ne,pi):Yn(He[0][2],oi)}(me[oi](Ht))}catch(Vn){Yn(He[0][3],Vn)}}function Ne(oi){kt("next",oi)}function pi(oi){kt("throw",oi)}function Yn(oi,Ht){oi(Ht),He.shift(),He.length&&kt(He[0][0],He[0][1])}}function Pe(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],me=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&me>=ne.length&&(ne=void 0),{value:ne&&ne[me++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},me("next"),me("throw"),me("return"),de[Symbol.asyncIterator]=function(){return this},de);function me(He){de[He]=ne[He]&&function(rt){return new Promise(function(kt,Ot){!function pe(He,rt,kt,Ot){Promise.resolve(Ot).then(function(Ne){He({value:Ne,done:kt})},rt)}(kt,Ot,(rt=ne[He](rt)).done,rt.value)})}}}x.d(N,{mG:()=>Y,qq:()=>le,FC:()=>Te,KL:()=>Pe})},9808:(L,N,x)=>{"use strict";x.d(N,{mr:()=>Me,ez:()=>Cl,K0:()=>q,Do:()=>ye,V_:()=>$,Ye:()=>fe,S$:()=>le,O5:()=>Et,PC:()=>ml,RF:()=>gi,n9:()=>ci,b0:()=>Pe,lw:()=>Y,EM:()=>tr,JF:()=>Bt,NF:()=>_i,w_:()=>j,bD:()=>Ja,q:()=>k,Mx:()=>Sr,HT:()=>V});var E=x(5e3);let g=null;function k(){return g}function V(D){g||(g=D)}class j{}const q=new E.OlP("DocumentToken");let Y=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=E.Yz7({token:D,factory:function(){return function U(){return(0,E.LFG)(z)}()},providedIn:"platform"}),D})();const $=new E.OlP("Location Initialized");let z=(()=>{class D extends Y{constructor(M){super(),this._doc=M,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",M,!1),()=>B.removeEventListener("popstate",M)}onHashChange(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",M,!1),()=>B.removeEventListener("hashchange",M)}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(M){this.location.pathname=M}pushState(M,B,J){re()?this._history.pushState(M,B,J):this.location.hash=J}replaceState(M,B,J){re()?this._history.replaceState(M,B,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(q))},D.\u0275prov=E.Yz7({token:D,factory:function(){return function se(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),D})();function re(){return!!window.history.pushState}function W(D,I){if(0==D.length)return I;if(0==I.length)return D;let M=0;return D.endsWith("/")&&M++,I.startsWith("/")&&M++,2==M?D+I.substring(1):1==M?D+I:D+"/"+I}function ae(D){const I=D.match(/#|\?|$/),M=I&&I.index||D.length;return D.slice(0,M-("/"===D[M-1]?1:0))+D.slice(M)}function ie(D){return D&&"?"!==D[0]?"?"+D:D}let le=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=E.Yz7({token:D,factory:function(){return function Te(D){const I=(0,E.LFG)(q).location;return new Pe((0,E.LFG)(Y),I&&I.origin||"")}()},providedIn:"root"}),D})();const Me=new E.OlP("appBaseHref");let Pe=(()=>{class D extends le{constructor(M,B){if(super(),this._platformLocation=M,this._removeListenerFns=[],null==B&&(B=this._platformLocation.getBaseHrefFromDOM()),null==B)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=B}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return W(this._baseHref,M)}path(M=!1){const B=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&M?`${B}${J}`:B}pushState(M,B,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(M,B,_e)}replaceState(M,B,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(M,B,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformLocation).historyGo)||void 0===J||J.call(B,M)}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(Y),E.LFG(Me,8))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})(),ye=(()=>{class D extends le{constructor(M,B){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(M){const B=W(this._baseHref,M);return B.length>0?"#"+B:B}pushState(M,B,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(M,B,_e)}replaceState(M,B,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(M,B,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformLocation).historyGo)||void 0===J||J.call(B,M)}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(Y),E.LFG(Me,8))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})(),fe=(()=>{class D{constructor(M,B){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=M;const J=this._platformStrategy.getBaseHref();this._platformLocation=B,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(M=!1){return this.normalize(this._platformStrategy.path(M))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(M,B=""){return this.path()==this.normalize(M+ie(B))}normalize(M){return D.stripTrailingSlash(function Xe(D,I){return D&&I.startsWith(D)?I.substring(D.length):I}(this._baseHref,Se(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._platformStrategy.prepareExternalUrl(M)}go(M,B="",J=null){this._platformStrategy.pushState(J,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ie(B)),J)}replaceState(M,B="",J=null){this._platformStrategy.replaceState(J,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ie(B)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformStrategy).historyGo)||void 0===J||J.call(B,M)}onUrlChange(M){this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(B=>{this._notifyUrlChangeListeners(B.url,B.state)}))}_notifyUrlChangeListeners(M="",B){this._urlChangeListeners.forEach(J=>J(M,B))}subscribe(M,B,J){return this._subject.subscribe({next:M,error:B,complete:J})}}return D.normalizeQueryParams=ie,D.joinWithSlash=W,D.stripTrailingSlash=ae,D.\u0275fac=function(M){return new(M||D)(E.LFG(le),E.LFG(Y))},D.\u0275prov=E.Yz7({token:D,factory:function(){return function we(){return new fe((0,E.LFG)(le),(0,E.LFG)(Y))}()},providedIn:"root"}),D})();function Se(D){return D.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))();const Kn=E.kL8;class Vt{}let li=(()=>{class D extends Vt{constructor(M){super(),this.locale=M}getPluralCategory(M,B){switch(Kn(B||this.locale)(M)){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 D.\u0275fac=function(M){return new(M||D)(E.LFG(E.soG))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})();function Sr(D,I){I=encodeURIComponent(I);for(const M of D.split(";")){const B=M.indexOf("="),[J,ue]=-1==B?[M,""]:[M.slice(0,B),M.slice(B+1)];if(J.trim()===I)return decodeURIComponent(ue)}return null}let Et=(()=>{class D{constructor(M,B){this._viewContainer=M,this._context=new Dt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){Wa("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){Wa("ngIfElse",M),this._elseTemplateRef=M,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(M,B){return!0}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.s_b),E.Y36(E.Rgc))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),D})();class Dt{constructor(){this.$implicit=null,this.ngIf=null}}function Wa(D,I){if(I&&!I.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,E.AaK)(I)}'.`)}class Zi{constructor(I,M){this._viewContainerRef=I,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let gi=(()=>{class D{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(M)}_matchCase(M){const B=M==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||B,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),B}_updateDefaultCases(M){if(this._defaultViews&&M!==this._defaultUsed){this._defaultUsed=M;for(let B=0;B{class D{constructor(M,B,J){this.ngSwitch=J,J._addCase(),this._view=new Zi(M,B)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(gi,9))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),D})(),ml=(()=>{class D{constructor(M,B,J){this._ngEl=M,this._differs=B,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,B){const[J,ue]=M.split(".");null!=(B=null!=B&&ue?`${B}${ue}`:B)?this._renderer.setStyle(this._ngEl.nativeElement,J,B):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(M){M.forEachRemovedItem(B=>this._setStyle(B.key,null)),M.forEachAddedItem(B=>this._setStyle(B.key,B.currentValue)),M.forEachChangedItem(B=>this._setStyle(B.key,B.currentValue))}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),D})(),Cl=(()=>{class D{}return D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=E.oAB({type:D}),D.\u0275inj=E.cJS({providers:[{provide:Vt,useClass:li}]}),D})();const Ja="browser";function _i(D){return D===Ja}let tr=(()=>{class D{}return D.\u0275prov=(0,E.Yz7)({token:D,providedIn:"root",factory:()=>new is((0,E.LFG)(q),window)}),D})();class is{constructor(I,M){this.document=I,this.window=M,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const M=function Za(D,I){const M=D.getElementById(I)||D.getElementsByName(I)[0];if(M)return M;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const B=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let J=B.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(I)||ue.querySelector(`[name="${I}"]`);if(_e)return _e}J=B.nextNode()}}return null}(this.document,I);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=I)}}scrollToElement(I){const M=I.getBoundingClientRect(),B=M.left+this.window.pageXOffset,J=M.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(B-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=ns(this.window.history)||ns(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch(I){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(I){return!1}}}function ns(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class Bt{}},520:(L,N,x)=>{"use strict";x.d(N,{TP:()=>rt,eN:()=>pe,JF:()=>wi,qT:()=>Me,WM:()=>$,LE:()=>le,Zn:()=>ce});var E=x(9808),g=x(5e3),k=x(9646),O=x(8306),V=x(4351),j=x(9300),q=x(4004);class Y{}class U{}class ${constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const ve=ee.slice(0,Ae),ke=ve.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(ve,ke),this.headers.has(ke)?this.headers.get(ke).push(Re):this.headers.set(ke,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const ve=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(ve,Ae),this.maybeSetNormalizedName(ee,ve))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new $;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const ve=("a"===X.op?this.headers.get(ee):void 0)||[];ve.push(...Ae),this.headers.set(ee,ve);break;case"d":const ke=X.value;if(ke){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===ke.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const se=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(Ce){return encodeURIComponent(Ce).replace(se,(X,ee)=>{var Ae;return null!==(Ae=W[ee])&&void 0!==Ae?Ae:X})}function ie(Ce){return`${Ce}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(Ce,X){const ee=new Map;return Ce.length>0&&Ce.replace(/^\?/,"").split("&").forEach(ve=>{const ke=ve.indexOf("="),[Re,ze]=-1==ke?[X.decodeKey(ve),""]:[X.decodeKey(ve.slice(0,ke)),X.decodeValue(ve.slice(ke+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const ve=X[Ae];Array.isArray(ve)?ve.forEach(ke=>{ee.push({param:Ae,value:ke,op:"a"})}):ee.push({param:Ae,value:ve,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const ve=Ae.indexOf(ie(X.value));-1!==ve&&Ae.splice(ve,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function ye(Ce){return"undefined"!=typeof ArrayBuffer&&Ce instanceof ArrayBuffer}function fe(Ce){return"undefined"!=typeof Blob&&Ce instanceof Blob}function we(Ce){return"undefined"!=typeof FormData&&Ce instanceof FormData}class Se{constructor(X,ee,Ae,ve){let ke;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function Pe(Ce){switch(Ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==Ae?Ae:null,ke=ve):ke=Ae,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new $),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeni.set(ut,X.setHeaders[ut]),ii)),X.setParams&&(dt=Object.keys(X.setParams).reduce((ni,ut)=>ni.set(ut,X.setParams[ut]),dt)),new Se(Ae,ve,Re,{params:dt,headers:ii,context:Bn,reportProgress:_t,responseType:ke,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Ve{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new $,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Ve{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Ve{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Ve{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function me(Ce,X){return{body:X,headers:Ce.headers,context:Ce.context,observe:Ce.observe,params:Ce.params,reportProgress:Ce.reportProgress,responseType:Ce.responseType,withCredentials:Ce.withCredentials}}let pe=(()=>{class Ce{constructor(ee){this.handler=ee}request(ee,Ae,ve={}){let ke;if(ee instanceof Se)ke=ee;else{let _t,ii;_t=ve.headers instanceof $?ve.headers:new $(ve.headers),ve.params&&(ii=ve.params instanceof le?ve.params:new le({fromObject:ve.params})),ke=new Se(ee,Ae,void 0!==ve.body?ve.body:null,{headers:_t,context:ve.context,params:ii,reportProgress:ve.reportProgress,responseType:ve.responseType||"json",withCredentials:ve.withCredentials})}const Re=(0,k.of)(ke).pipe((0,V.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===ve.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(ve.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${ve.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,ve={}){return this.request("PATCH",ee,me(ve,Ae))}post(ee,Ae,ve={}){return this.request("POST",ee,me(ve,Ae))}put(ee,Ae,ve={}){return this.request("PUT",ee,me(ve,Ae))}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(Y))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class He{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const rt=new g.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class Ce{intercept(ee,Ae){return Ae.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const Qi=/^\)\]\}',?\n/;let Jn=(()=>{class Ce{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const ve=this.xhrFactory.build();if(ve.open(ee.method,ee.urlWithParams),ee.withCredentials&&(ve.withCredentials=!0),ee.headers.forEach((ut,Fe)=>ve.setRequestHeader(ut,Fe.join(","))),ee.headers.has("Accept")||ve.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ut=ee.detectContentTypeHeader();null!==ut&&ve.setRequestHeader("Content-Type",ut)}if(ee.responseType){const ut=ee.responseType.toLowerCase();ve.responseType="json"!==ut?ut:"text"}const ke=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ut=ve.statusText||"OK",Fe=new $(ve.getAllResponseHeaders()),ln=function fi(Ce){return"responseURL"in Ce&&Ce.responseURL?Ce.responseURL:/^X-Request-URL:/m.test(Ce.getAllResponseHeaders())?Ce.getResponseHeader("X-Request-URL"):null}(ve)||ee.url;return Re=new ne({headers:Fe,status:ve.status,statusText:ut,url:ln}),Re},_t=()=>{let{headers:ut,status:Fe,statusText:ln,url:xt}=ze(),si=null;204!==Fe&&(si=void 0===ve.response?ve.responseText:ve.response),0===Fe&&(Fe=si?200:0);let An=Fe>=200&&Fe<300;if("json"===ee.responseType&&"string"==typeof si){const cn=si;si=si.replace(Qi,"");try{si=""!==si?JSON.parse(si):null}catch(xn){si=cn,An&&(An=!1,si={error:xn,text:si})}}An?(Ae.next(new ce({body:si,headers:ut,status:Fe,statusText:ln,url:xt||void 0})),Ae.complete()):Ae.error(new de({error:si,headers:ut,status:Fe,statusText:ln,url:xt||void 0}))},ii=ut=>{const{url:Fe}=ze(),ln=new de({error:ut,status:ve.status||0,statusText:ve.statusText||"Unknown Error",url:Fe||void 0});Ae.error(ln)};let dt=!1;const Bn=ut=>{dt||(Ae.next(ze()),dt=!0);let Fe={type:xe.DownloadProgress,loaded:ut.loaded};ut.lengthComputable&&(Fe.total=ut.total),"text"===ee.responseType&&!!ve.responseText&&(Fe.partialText=ve.responseText),Ae.next(Fe)},ni=ut=>{let Fe={type:xe.UploadProgress,loaded:ut.loaded};ut.lengthComputable&&(Fe.total=ut.total),Ae.next(Fe)};return ve.addEventListener("load",_t),ve.addEventListener("error",ii),ve.addEventListener("timeout",ii),ve.addEventListener("abort",ii),ee.reportProgress&&(ve.addEventListener("progress",Bn),null!==ke&&ve.upload&&ve.upload.addEventListener("progress",ni)),ve.send(ke),Ae.next({type:xe.Sent}),()=>{ve.removeEventListener("error",ii),ve.removeEventListener("abort",ii),ve.removeEventListener("load",_t),ve.removeEventListener("timeout",ii),ee.reportProgress&&(ve.removeEventListener("progress",Bn),null!==ke&&ve.upload&&ve.upload.removeEventListener("progress",ni)),ve.readyState!==ve.DONE&&ve.abort()}})}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(E.JF))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const za=new g.OlP("XSRF_COOKIE_NAME"),Ga=new g.OlP("XSRF_HEADER_NAME");class Ua{}let Tr=(()=>{class Ce{constructor(ee,Ae,ve){this.doc=ee,this.platform=Ae,this.cookieName=ve,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(E.K0),g.LFG(g.Lbi),g.LFG(za))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Kn=(()=>{class Ce{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const ve=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||ve.startsWith("http://")||ve.startsWith("https://"))return Ae.handle(ee);const ke=this.tokenService.getToken();return null!==ke&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,ke)})),Ae.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(Ua),g.LFG(Ga))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Er=(()=>{class Ce{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(rt,[]);this.chain=Ae.reduceRight((ve,ke)=>new He(ve,ke),this.backend)}return this.chain.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(U),g.LFG(g.zs3))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Ko=(()=>{class Ce{static disable(){return{ngModule:Ce,providers:[{provide:Kn,useClass:kt}]}}static withOptions(ee={}){return{ngModule:Ce,providers:[ee.cookieName?{provide:za,useValue:ee.cookieName}:[],ee.headerName?{provide:Ga,useValue:ee.headerName}:[]]}}}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275mod=g.oAB({type:Ce}),Ce.\u0275inj=g.cJS({providers:[Kn,{provide:rt,useExisting:Kn,multi:!0},{provide:Ua,useClass:Tr},{provide:za,useValue:"XSRF-TOKEN"},{provide:Ga,useValue:"X-XSRF-TOKEN"}]}),Ce})(),wi=(()=>{class Ce{}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275mod=g.oAB({type:Ce}),Ce.\u0275inj=g.cJS({providers:[pe,{provide:Y,useClass:Er},Jn,{provide:U,useExisting:Jn}],imports:[[Ko.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ce})()},5e3:(L,N,x)=>{"use strict";x.d(N,{deG:()=>F_,tb:()=>qv,AFp:()=>Ag,ip1:()=>wg,CZH:()=>qo,hGG:()=>hi,z2F:()=>Yc,sBO:()=>iw,Sil:()=>Tg,_Vd:()=>$s,EJc:()=>xg,SBq:()=>Sc,qLn:()=>zl,vpe:()=>Rn,tBr:()=>fo,XFs:()=>at,OlP:()=>qt,zs3:()=>Gi,ZZ4:()=>Dh,aQg:()=>Hh,soG:()=>Ch,YKP:()=>lv,h0i:()=>Ha,PXZ:()=>OT,R0b:()=>vn,FiY:()=>ha,Lbi:()=>Uv,g9A:()=>Gv,n_E:()=>$n,Qsj:()=>iv,FYo:()=>tv,JOm:()=>lr,q3G:()=>Wt,tp0:()=>go,Rgc:()=>yr,dDg:()=>yh,GfV:()=>av,s_b:()=>kc,ifc:()=>ke,eFA:()=>wh,G48:()=>tw,Gpc:()=>z,f3M:()=>Cs,_c5:()=>zg,VLi:()=>Yv,c2e:()=>Wv,zSh:()=>oc,wAp:()=>Ke,vHH:()=>ae,EiD:()=>fn,mCW:()=>As,qzn:()=>ws,JVY:()=>LA,pB0:()=>GA,eBb:()=>NA,L6k:()=>jA,LAX:()=>zA,cg1:()=>wc,kL8:()=>Ey,yhl:()=>nb,dqk:()=>dt,sIi:()=>pr,CqO:()=>Nu,QGY:()=>ju,F4k:()=>Cm,RDi:()=>ns,AaK:()=>Y,z3N:()=>Br,qOj:()=>Tu,TTD:()=>na,_Bn:()=>Zy,xp6:()=>ai,uIk:()=>pc,ekj:()=>Gu,Suo:()=>il,Xpm:()=>Xo,lG2:()=>Ue,Yz7:()=>Ht,cJS:()=>Qi,oAB:()=>ea,Yjl:()=>Ge,Y36:()=>Vo,_UZ:()=>bm,GkF:()=>Fu,BQk:()=>gc,ynx:()=>Ns,qZA:()=>Oo,TgZ:()=>Ea,EpF:()=>Lu,n5z:()=>Td,Ikx:()=>Om,LFG:()=>Ci,$8M:()=>Sd,$Z:()=>zC,NdJ:()=>mr,CRH:()=>fh,kcU:()=>mp,O4$:()=>fp,oxw:()=>QC,ALo:()=>og,lcZ:()=>Pc,Hsn:()=>JC,F$t:()=>YC,Q6J:()=>Bo,VKq:()=>hv,iGM:()=>tl,MAs:()=>um,CHM:()=>cp,LSH:()=>jl,Udp:()=>yc,WFA:()=>Ui,d8E:()=>th,YNc:()=>Os,_uU:()=>my,Oqu:()=>Pm,hij:()=>Yu,Gf:()=>ph});var E=x(7579),g=x(727),k=x(8306),O=x(6451),V=x(3099);function j(h){for(let p in h)if(h[p]===j)return p;throw Error("Could not find renamed property on target object.")}function q(h,p){for(const m in p)p.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=p[m])}function Y(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Y).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const p=h.toString();if(null==p)return""+p;const m=p.indexOf("\n");return-1===m?p:p.substring(0,m)}function U(h,p){return null==h||""===h?null===p?"":p:null==p||""===p?h:h+" "+p}const $=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Y(this())},h}function re(h){return se(h)?h():h}function se(h){return"function"==typeof h&&h.hasOwnProperty($)&&h.__forward_ref__===z}class ae extends Error{constructor(p,m){super(function ie(h,p){return`NG0${Math.abs(h)}${p?": "+p:""}`}(p,m)),this.code=p}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,p){const m=p?` in ${p}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Ot(h,p){null==h&&function Ne(h,p,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${p} <=Actual]`))}(p,h,null,"!=")}function Ht(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Qi(h){return{providers:h.providers||[],imports:h.imports||[]}}function fi(h){return Jn(h,Tr)||Jn(h,Er)}function Jn(h,p){return h.hasOwnProperty(p)?h[p]:null}function Ua(h){return h&&(h.hasOwnProperty(Kn)||h.hasOwnProperty(rd))?h[Kn]:null}const Tr=j({\u0275prov:j}),Kn=j({\u0275inj:j}),Er=j({ngInjectableDef:j}),rd=j({ngInjectorDef:j});var at=(()=>((at=at||{})[at.Default=0]="Default",at[at.Host=1]="Host",at[at.Self=2]="Self",at[at.SkipSelf=4]="SkipSelf",at[at.Optional=8]="Optional",at))();let Ko;function Bi(h){const p=Ko;return Ko=h,p}function Zo(h,p,m){const _=fi(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&at.Optional?null:void 0!==p?p:void fe(Y(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),ke=(()=>{return(h=ke||(ke={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",ke;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,dt=Re||"undefined"!=typeof global&&global||ze||_t,ut={},Fe=[],ln=j({\u0275cmp:j}),xt=j({\u0275dir:j}),si=j({\u0275pipe:j}),An=j({\u0275mod:j}),cn=j({\u0275fac:j}),xn=j({__NG_ELEMENT_ID__:j});let Yh=0;function Xo(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Fe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||ke.Emulated,id:"c",styles:h.styles||Fe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,v=h.features,w=h.pipes;return _.id+=Yh++,_.inputs=Ai(h.inputs,m),_.outputs=Ai(h.outputs),v&&v.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(qa):null,_.pipeDefs=w?()=>("function"==typeof w?w():w).map(Zn):null,_})}function qa(h){return Tt(h)||function On(h){return h[xt]||null}(h)}function Zn(h){return function Qt(h){return h[si]||null}(h)}const fl={};function ea(h){return X(()=>{const p={type:h.type,bootstrap:h.bootstrap||Fe,declarations:h.declarations||Fe,imports:h.imports||Fe,exports:h.exports||Fe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(fl[h.id]=h.type),p})}function Ai(h,p){if(null==h)return ut;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],v=C;Array.isArray(C)&&(v=C[1],C=C[0]),m[C]=_,p&&(p[C]=v)}return m}const Ue=Xo;function Ge(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function Tt(h){return h[ln]||null}function mi(h,p){const m=h[An]||null;if(!m&&!0===p)throw new Error(`Type ${Y(h)} does not have '\u0275mod' property.`);return m}function gi(h){return Array.isArray(h)&&"object"==typeof h[1]}function ci(h){return Array.isArray(h)&&!0===h[1]}function $a(h){return 0!=(8&h.flags)}function ts(h){return 2==(2&h.flags)}function ta(h){return 1==(1&h.flags)}function Xi(h){return null!==h.template}function ml(h){return 0!=(512&h[2])}function Nt(h,p){return h.hasOwnProperty(cn)?h[cn]:null}class dn{constructor(p,m,_){this.previousValue=p,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function na(){return Ya}function Ya(h){return h.type.prototype.ngOnChanges&&(h.setInput=cd),bl}function bl(){const h=Ja(this),p=null==h?void 0:h.current;if(p){const m=h.previous;if(m===ut)h.previous=p;else for(let _ in p)m[_]=p[_];h.current=null,this.ngOnChanges(p)}}function cd(h,p,m,_){const C=Ja(h)||function dd(h,p){return h[Cl]=p}(h,{previous:ut,current:null}),v=C.current||(C.current={}),w=C.previous,T=this.declaredInputs[m],S=w[T];v[T]=new dn(S&&S.currentValue,p,w===ut),h[_]=p}na.ngInherit=!0;const Cl="__ngSimpleChanges__";function Ja(h){return h[Cl]||null}let is;function ns(h){is=h}function Bt(h){return!!h.listen}const D={createRenderer:(h,p)=>function Za(){return void 0!==is?is:"undefined"!=typeof document?document:void 0}()};function M(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,p){return M(p[h])}function _e(h,p){return M(p[h.index])}function Rt(h,p){return h.data[p]}function St(h,p){return h[p]}function ft(h,p){const m=p[h];return gi(m)?m:m[0]}function mt(h){return 4==(4&h[2])}function ri(h){return 128==(128&h[2])}function Ut(h,p){return null==p?null:h[p]}function Hr(h){h[18]=0}function Sn(h,p){h[5]+=p;let m=h,_=h[3];for(;null!==_&&(1===p&&1===m[5]||-1===p&&0===m[5]);)_[5]+=p,m=_,_=_[3]}const Je={lFrame:bd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ud(){return Je.bindingsEnabled}function be(){return Je.lFrame.lView}function yt(){return Je.lFrame.tView}function cp(h){return Je.lFrame.contextLView=h,h[8]}function Yt(){let h=hd();for(;null!==h&&64===h.type;)h=h.parent;return h}function hd(){return Je.lFrame.currentTNode}function Mn(h,p){const m=Je.lFrame;m.currentTNode=h,m.isParent=p}function rs(){return Je.lFrame.isParent}function as(){Je.lFrame.isParent=!1}function vl(){return Je.isInCheckNoChangesMode}function wl(h){Je.isInCheckNoChangesMode=h}function Pi(){const h=Je.lFrame;let p=h.bindingRootIndex;return-1===p&&(p=h.bindingRootIndex=h.tView.bindingStartIndex),p}function Pr(){return Je.lFrame.bindingIndex++}function pd(h,p){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,fd(p)}function fd(h){Je.lFrame.currentDirectiveIndex=h}function md(h){const p=Je.lFrame.currentDirectiveIndex;return-1===p?null:h[p]}function gd(){return Je.lFrame.currentQueryIndex}function to(h){Je.lFrame.currentQueryIndex=h}function M_(h){const p=h[1];return 2===p.type?p.declTNode:1===p.type?h[6]:null}function Al(h,p,m){if(m&at.SkipSelf){let C=p,v=h;for(;!(C=C.parent,null!==C||m&at.Host||(C=M_(v),null===C||(v=v[15],10&C.type))););if(null===C)return!1;p=C,h=v}const _=Je.lFrame=_d();return _.currentTNode=p,_.lView=h,!0}function xl(h){const p=_d(),m=h[1];Je.lFrame=p,p.currentTNode=m.firstChild,p.lView=h,p.tView=m,p.contextLView=h,p.bindingIndex=m.bindingStartIndex,p.inI18n=!1}function _d(){const h=Je.lFrame,p=null===h?null:h.child;return null===p?bd(h):p}function bd(h){const p={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:h,child:null,inI18n:!1};return null!==h&&(h.child=p),p}function hp(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const pp=hp;function Tl(){const h=hp();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function Ri(){return Je.lFrame.selectedIndex}function Li(h){Je.lFrame.selectedIndex=h}function Jt(){const h=Je.lFrame;return Rt(h.tView,h.selectedIndex)}function fp(){Je.lFrame.currentNamespace="svg"}function mp(){!function ss(){Je.lFrame.currentNamespace=null}()}function Ir(h,p){for(let m=p.directiveStart,_=p.directiveEnd;m<_;m++){const v=h.data[m].type.prototype,{ngAfterContentInit:w,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=v;w&&(h.contentHooks||(h.contentHooks=[])).push(-m,w),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function io(h,p,m){yd(h,p,3,m)}function El(h,p,m,_){(3&h[2])===m&&yd(h,p,m,_)}function Sl(h,p){let m=h[2];(3&m)===p&&(m&=2047,m+=1,h[2]=m)}function yd(h,p,m,_){const v=null!=_?_:-1,w=p.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else p[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===p){h[2]+=2048;try{v.call(T)}finally{}}}else try{v.call(T)}finally{}}class aa{constructor(p,m,_){this.factory=p,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function Dl(h,p,m){const _=Bt(h);let C=0;for(;Cp){w=v-1;break}}}for(;v>16}(h),_=p;for(;m>0;)_=_[15],m--;return _}let wd=!0;function Pl(h){const p=wd;return wd=h,p}let I_=0;function Vr(h,p){const m=xd(h,p);if(-1!==m)return m;const _=p[1];_.firstCreatePass&&(h.injectorIndex=p.length,Ad(_.data,h),Ad(p,null),Ad(_.blueprint,null));const C=oa(h,p),v=h.injectorIndex;if(vd(C)){const w=rr(C),T=oo(C,p),S=T[1].data;for(let P=0;P<8;P++)p[v+P]=T[w+P]|S[w+P]}return p[v+8]=C,v}function Ad(h,p){h.push(0,0,0,0,0,0,0,0,p)}function xd(h,p){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===p[h.injectorIndex+8]?-1:h.injectorIndex}function oa(h,p){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=p;for(;null!==C;){const v=C[1],w=v.type;if(_=2===w?v.declTNode:1===w?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function Il(h,p,m){!function Cp(h,p,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(xn)&&(_=m[xn]),null==_&&(_=m[xn]=I_++);const C=255&_;p.data[h+(C>>5)]|=1<=0?255&p:k_:p}(m);if("function"==typeof v){if(!Al(p,h,_))return _&at.Host?yp(C,m,_):vp(p,m,_,C);try{const w=v(_);if(null!=w||_&at.Optional)return w;fe(m)}finally{pp()}}else if("number"==typeof v){let w=null,T=xd(h,p),S=-1,P=_&at.Host?p[16][6]:null;for((-1===T||_&at.SkipSelf)&&(S=-1===T?oa(h,p):p[T+8],-1!==S&&xp(_,!1)?(w=p[1],T=rr(S),p=oo(S,p)):T=-1);-1!==T;){const R=p[1];if(Ap(v,T,R.data)){const F=V_(T,p,m,w,_,P);if(F!==wp)return F}S=p[T+8],-1!==S&&xp(_,p[1].data[T+8]===P)&&Ap(v,T,p)?(w=R,T=rr(S),p=oo(S,p)):T=-1}}}return vp(p,m,_,C)}const wp={};function k_(){return new lo(Yt(),be())}function V_(h,p,m,_,C,v){const w=p[1],T=w.data[h+8],R=kl(T,w,m,null==_?ts(T)&&wd:_!=w&&0!=(3&T.type),C&at.Host&&v===T);return null!==R?hs(p,w,R,T):wp}function kl(h,p,m,_,C){const v=h.providerIndexes,w=p.data,T=1048575&v,S=h.directiveStart,R=v>>20,Q=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=w[S];if(te&&Xi(te)&&te.type===m)return S}return null}function hs(h,p,m,_){let C=h[m];const v=p.data;if(function hn(h){return h instanceof aa}(C)){const w=C;w.resolving&&function Me(h,p){const m=p?`. Dependency path: ${p.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(v[m]));const T=Pl(w.canSeeViewProviders);w.resolving=!0;const S=w.injectImpl?Bi(w.injectImpl):null;Al(h,_,at.Default);try{C=h[m]=w.factory(void 0,v,h,_),p.firstCreatePass&&m>=_.directiveStart&&function H_(h,p,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:v}=p.type.prototype;if(_){const w=Ya(p);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),v&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v))}(m,v[m],p)}finally{null!==S&&Bi(S),Pl(T),w.resolving=!1,pp()}}return C}function Ap(h,p,m){return!!(m[p+(h>>5)]&1<{const p=h.prototype.constructor,m=p[cn]||Ed(p),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const v=C[cn]||Ed(C);if(v&&v!==m)return v;C=Object.getPrototypeOf(C)}return v=>new v})}function Ed(h){return se(h)?()=>{const p=Ed(re(h));return p&&p()}:Nt(h)}function Sd(h){return function us(h,p){if("class"===p)return h.classes;if("style"===p)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const v=m[C];if(cs(v))break;if(0===v)C+=2;else if("number"==typeof v)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(v===p)return m[C+1];C+=2}}}return null}(Yt(),h)}const uo="__parameters__";function sa(h,p,m){return X(()=>{const _=function Tp(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(p);function C(...v){if(this instanceof C)return _.apply(this,v),this;const w=new C(...v);return T.annotation=w,T;function T(S,P,R){const F=S.hasOwnProperty(uo)?S[uo]:Object.defineProperty(S,uo,{value:[]})[uo];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(w),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class qt{constructor(p,m){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Ht({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const F_=new qt("AnalyzeForEntryComponents");function pn(h,p){void 0===p&&(p=h);for(let m=0;mArray.isArray(m)?Nn(m,p):p(m))}function Dd(h,p,m){p>=h.length?h.push(m):h.splice(p,0,m)}function Vl(h,p){return p>=h.length-1?h.pop():h.splice(p,1)[0]}function ms(h,p){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function Bl(h,p,m,_){let C=h.length;if(C==p)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>p;)h[C]=h[C-2],C--;h[p]=m,h[p+1]=_}}(h,_,p,m)),_}function Hd(h,p){const m=ca(h,p);if(m>=0)return h[1|m]}function ca(h,p){return function Pd(h,p,m){let _=0,C=h.length>>m;for(;C!==_;){const v=_+(C-_>>1),w=h[v<p?C=v:_=v+1}return~(C<({token:h})),-1),ha=Lt(sa("Optional"),8),go=Lt(sa("SkipSelf"),4);let Od;function vs(h){var p;return(null===(p=function Lp(){if(void 0===Od&&(Od=null,dt.trustedTypes))try{Od=dt.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Od}())||void 0===p?void 0:p.createHTML(h))||h}class bo{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class kA extends bo{getTypeName(){return"HTML"}}class VA extends bo{getTypeName(){return"Style"}}class BA extends bo{getTypeName(){return"Script"}}class OA extends bo{getTypeName(){return"URL"}}class FA extends bo{getTypeName(){return"ResourceURL"}}function Br(h){return h instanceof bo?h.changingThisBreaksApplicationSecurity:h}function ws(h,p){const m=nb(h);if(null!=m&&m!==p){if("ResourceURL"===m&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===p}function nb(h){return h instanceof bo&&h.getTypeName()||null}function LA(h){return new kA(h)}function jA(h){return new VA(h)}function NA(h){return new BA(h)}function zA(h){return new OA(h)}function GA(h){return new FA(h)}class ab{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p=""+p;try{const m=(new window.DOMParser).parseFromString(vs(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class pt{constructor(p){if(this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(p){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=vs(p),m;const _=this.inertDocument.createElement("body");return _.innerHTML=vs(p),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(p){const m=p.attributes;for(let C=m.length-1;0As(p.trim())).join(", ")),this.buf.push(" ",w,'="',Ts(S),'"')}var h;return this.buf.push(">"),!0}endElement(p){const m=p.nodeName.toLowerCase();Np.hasOwnProperty(m)&&!Ld.hasOwnProperty(m)&&(this.buf.push(""))}chars(p){this.buf.push(Ts(p))}checkClobberedElement(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return m}}const zd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ub=/([^\#-~ |!])/g;function Ts(h){return h.replace(/&/g,"&").replace(zd,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(ub,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(//g,">")}let Co;function fn(h,p){let m=null;try{Co=Co||function rb(h){const p=new pt(h);return function ob(){try{return!!(new window.DOMParser).parseFromString(vs(""),"text/html")}catch(h){return!1}}()?new ab(p):p}(h);let _=p?String(p):"";m=Co.getInertBodyElement(_);let C=5,v=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=v,v=m.innerHTML,m=Co.getInertBodyElement(_)}while(_!==v);return vs((new qA).sanitizeChildren(Es(m)||m))}finally{if(m){const _=Es(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Es(h){return"content"in h&&function WA(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var Wt=(()=>((Wt=Wt||{})[Wt.NONE=0]="NONE",Wt[Wt.HTML=1]="HTML",Wt[Wt.STYLE=2]="STYLE",Wt[Wt.SCRIPT=3]="SCRIPT",Wt[Wt.URL=4]="URL",Wt[Wt.RESOURCE_URL=5]="RESOURCE_URL",Wt))();function jl(h){const p=function Nl(){const h=be();return h&&h[12]}();return p?p.sanitize(Wt.URL,h)||"":ws(h,"URL")?Br(h):As(le(h))}const Ud="__ngContext__";function Ti(h,p){h[Ud]=p}function qp(h){const p=function ma(h){return h[Ud]||null}(h);return p?Array.isArray(p)?p:p.lView:null}function qd(h){return h.ngOriginalError}function a0(h,...p){h.error(...p)}class zl{constructor(){this._console=console}handleError(p){const m=this._findOriginalError(p),_=function r0(h){return h&&h.ngErrorLogger||a0}(p);_(this._console,"ERROR",p),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(p){let m=p&&qd(p);for(;m&&qd(m);)m=qd(m);return m||null}}const yb=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(dt))();function sr(h){return h instanceof Function?h():h}var lr=(()=>((lr=lr||{})[lr.Important=1]="Important",lr[lr.DashCase=2]="DashCase",lr))();function Jp(h,p){return undefined(h,p)}function Gl(h){const p=h[3];return ci(p)?p[3]:p}function Xp(h){return Ab(h[13])}function ef(h){return Ab(h[4])}function Ab(h){for(;null!==h&&!ci(h);)h=h[4];return h}function Ms(h,p,m,_,C){if(null!=_){let v,w=!1;ci(_)?v=_:gi(_)&&(w=!0,_=_[0]);const T=M(_);0===h&&null!==m?null==C?Db(p,m,T):yo(p,m,T,C||null,!0):1===h&&null!==m?yo(p,m,T,C||null,!0):2===h?function Bb(h,p,m){const _=Wd(h,p);_&&function S0(h,p,m,_){Bt(h)?h.removeChild(p,m,_):p.removeChild(m)}(h,_,p,m)}(p,T,w):3===h&&p.destroyNode(T),null!=v&&function H0(h,p,m,_,C){const v=m[7];v!==M(m)&&Ms(p,h,_,v,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const v=Vl(h,10+p);!function C0(h,p){Ul(h,p,p[11],2,null,null),p[0]=null,p[6]=null}(_[1],_);const w=v[19];null!==w&&w.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function Eb(h,p){if(!(256&p[2])){const m=p[11];Bt(m)&&m.destroyNode&&Ul(h,p,m,3,null,null),function w0(h){let p=h[13];if(!p)return af(h[1],h);for(;p;){let m=null;if(gi(p))m=p[13];else{const _=p[10];_&&(m=_)}if(!m){for(;p&&!p[4]&&p!==h;)gi(p)&&af(p[1],p),p=p[3];null===p&&(p=h),gi(p)&&af(p[1],p),m=p&&p[4]}p=m}}(p)}}function af(h,p){if(!(256&p[2])){p[2]&=-129,p[2]|=256,function E0(h,p){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),v+=2}else{const w=_[C=m[v+1]];m[v].call(w)}if(null!==_){for(let v=C+1;v<_.length;v++)_[v]();p[7]=null}}(h,p),1===p[1].type&&Bt(p[11])&&p[11].destroy();const m=p[17];if(null!==m&&ci(p[3])){m!==p[3]&&Tb(m,p);const _=p[19];null!==_&&_.detachView(h)}}}function Sb(h,p,m){return function Mb(h,p,m){let _=p;for(;null!==_&&40&_.type;)_=(p=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===ke.None||C===ke.Emulated)return null}return _e(_,m)}(h,p.parent,m)}function yo(h,p,m,_,C){Bt(h)?h.insertBefore(p,m,_,C):p.insertBefore(m,_,C)}function Db(h,p,m){Bt(h)?h.appendChild(p,m):p.appendChild(m)}function Hb(h,p,m,_,C){null!==_?yo(h,p,m,_,C):Db(h,p,m)}function Wd(h,p){return Bt(h)?h.parentNode(p):p.parentNode}function Pb(h,p,m){return Ib(h,p,m)}let Ib=function Rb(h,p,m){return 40&h.type?_e(h,m):null};function $d(h,p,m,_){const C=Sb(h,_,p),v=p[11],T=Pb(_.parent||p[6],_,p);if(null!=C)if(Array.isArray(m))for(let S=0;Sv?"":C[F+1].toLowerCase();const te=8&_?Q:null;if(te&&-1!==Lb(te,P,0)||2&_&&P!==Q){if(Ei(_))return!1;w=!0}}}}else{if(!w&&!Ei(_)&&!Ei(S))return!1;if(w&&Ei(S))continue;w=!1,_=S|1&_}}return Ei(_)||w}function Ei(h){return 0==(1&h)}function uf(h,p,m,_){if(null===p)return-1;let C=0;if(_||!m){let v=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+w:4&_&&(C+=" "+w);else""!==C&&!Ei(w)&&(p+=gt(v,C),C=""),_=w,v=v||!Ei(_);m++}return""!==C&&(p+=gt(v,C)),p}const qe={};function ai(h){$b(yt(),be(),Ri()+h,vl())}function $b(h,p,m,_){if(!_)if(3==(3&p[2])){const v=h.preOrderCheckHooks;null!==v&&io(p,v,m)}else{const v=h.preOrderHooks;null!==v&&El(p,v,0,m)}Li(m)}function ql(h,p){return h<<17|p<<2}function mn(h){return h>>17&32767}function mf(h){return 2|h}function Fr(h){return(131068&h)>>2}function Wl(h,p){return-131069&h|p<<2}function Jd(h){return 1|h}function _a(h,p){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&$b(h,p,20,vl()),m(_,C)}finally{Li(v)}}function wt(h,p,m){if($a(p)){const C=p.directiveEnd;for(let v=p.directiveStart;v0;){const m=h[--p];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,w)}}function oC(h,p){null!==h.hostBindings&&h.hostBindings(1,p)}function zr(h,p){p.flags|=2,(h.components||(h.components=[])).push(p.index)}function Hf(h,p,m){if(m){if(p.exportAs)for(let _=0;_0&&To(m)}}function To(h){for(let _=Xp(h);null!==_;_=ef(_))for(let C=10;C<_.length;C++){const v=_[C];if(1024&v[2]){const w=v[1];xo(w,v,w.template,v[8])}else v[5]>0&&To(v)}const m=h[1].components;if(null!==m)for(let _=0;_0&&To(C)}}function kf(h,p){const m=ft(p,h),_=m[1];(function pu(h,p){for(let m=p.length;mPromise.resolve(null))();function Eo(h){return h[7]||(h[7]=[])}function Bf(h){return h.cleanup||(h.cleanup=[])}function rc(h,p,m){return(null===h||Xi(h))&&(m=function B(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[p.index])),m[11]}function gu(h,p){const m=h[9],_=m?m.get(zl,null):null;_&&_.handleError(p)}function Is(h,p,m,_,C){for(let v=0;vthis.processProvider(T,p,m)),Nn([p],T=>this.processInjectorType(T,[],v)),this.records.set(bu,So(void 0,this));const w=this.records.get(oc);this.scope=null!=w?w.value:null,this.source=C||("object"==typeof p?null:Y(p))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(p=>p.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(p,m=gs,_=at.Default){this.assertNotDestroyed();const C=Vd(this),v=Bi(void 0);try{if(!(_&at.SkipSelf)){let T=this.records.get(p);if(void 0===T){const S=function wu(h){return"function"==typeof h||"object"==typeof h&&h instanceof qt}(p)&&fi(p);T=S&&this.injectableDefInScope(S)?So(sc(p),qr):null,this.records.set(p,T)}if(null!=T)return this.hydrate(p,T)}return(_&at.Self?Of():this.parent).get(p,m=_&at.Optional&&m===gs?null:m)}catch(w){if("NullInjectorError"===w.name){if((w[_s]=w[_s]||[]).unshift(Y(p)),C)throw w;return function HA(h,p,m,_){const C=h[_s];throw p[Ol]&&C.unshift(p[Ol]),h.message=function it(h,p,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Y(p);if(Array.isArray(p))C=p.map(Y).join(" -> ");else if("object"==typeof p){let v=[];for(let w in p)if(p.hasOwnProperty(w)){let T=p[w];v.push(w+":"+("string"==typeof T?JSON.stringify(T):Y(T)))}C=`{${v.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(G_,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[_s]=null,h}(w,p,"R3InjectorError",this.source)}throw w}finally{Bi(v),Vd(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(p=>this.get(p))}toString(){const p=[];return this.records.forEach((_,C)=>p.push(Y(C))),`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(p,m,_){if(!(p=re(p)))return!1;let C=Ua(p);const v=null==C&&p.ngModule||void 0,w=void 0===v?p:v,T=-1!==_.indexOf(w);if(void 0!==v&&(C=Ua(v)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(w);try{Nn(C.imports,F=>{this.processInjectorType(F,m,_)&&(void 0===R&&(R=[]),R.push(F))})}finally{}if(void 0!==R)for(let F=0;Fthis.processProvider(he,Q,te||Fe))}}this.injectorDefTypes.add(w);const S=Nt(w)||(()=>new w);this.records.set(w,So(S,qr));const P=C.providers;if(null!=P&&!T){const R=p;Nn(P,F=>this.processProvider(F,R,P))}return void 0!==v&&void 0!==p.providers}processProvider(p,m,_){let C=Mo(p=re(p))?p:re(p&&p.provide);const v=function yu(h,p,m){return Lf(h)?So(void 0,h.useValue):So(vu(h),qr)}(p);if(Mo(p)||!0!==p.multi)this.records.get(C);else{let w=this.records.get(C);w||(w=So(void 0,qr,!0),w.factory=()=>y(w.multi),this.records.set(C,w)),C=p,w.multi.push(p)}this.records.set(C,v)}hydrate(p,m){return m.value===qr&&(m.value=uC,m.value=m.factory()),"object"==typeof m.value&&m.value&&function va(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(p){if(!p.providedIn)return!1;const m=re(p.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function sc(h){const p=fi(h),m=null!==p?p.factory:Nt(h);if(null!==m)return m;if(h instanceof qt)throw new ae(204,!1);if(h instanceof Function)return function hC(h){const p=h.length;if(p>0)throw ms(p,"?"),new ae(204,!1);const m=function za(h){const p=h&&(h[Tr]||h[Er]);if(p){const m=function Ga(h){if(h.hasOwnProperty("name"))return h.name;const p=(""+h).match(/^function\s*([^\s(]+)/);return null===p?"":p[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),p}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function vu(h,p,m){let _;if(Mo(h)){const C=re(h);return Nt(C)||sc(C)}if(Lf(h))_=()=>re(h.useValue);else if(function fC(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...y(h.deps||[]));else if(function pC(h){return!(!h||!h.useExisting)}(h))_=()=>Ci(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function mC(h){return!!h.deps}(h))return Nt(C)||sc(C);_=()=>new C(...y(h.deps))}return _}function So(h,p,m=!1){return{factory:h,value:p,multi:m?[]:void 0}}function Lf(h){return null!==h&&"object"==typeof h&&q_ in h}function Mo(h){return"function"==typeof h}let Gi=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return ks({name:""},_,m,"");{const v=null!==(C=m.name)&&void 0!==C?C:"";return ks({name:v},m.parent,m.providers,v)}}}return h.THROW_IF_NOT_FOUND=gs,h.NULL=new zi,h.\u0275prov=Ht({token:h,providedIn:"any",factory:()=>Ci(bu)}),h.__NG_ELEMENT_ID__=-1,h})();function wC(h,p){Ir(qp(h)[1],Yt())}function Tu(h){let p=function Xf(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;p;){let C;if(Xi(h))C=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new ae(903,"");C=p.\u0275dir}if(C){if(m){_.push(C);const w=h;w.inputs=Eu(h.inputs),w.declaredInputs=Eu(h.declaredInputs),w.outputs=Eu(h.outputs);const T=C.hostBindings;T&&TC(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&Su(h,S),P&&xC(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),Xi(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const v=C.features;if(v)for(let w=0;w=0;_--){const C=h[_];C.hostVars=p+=C.hostVars,C.hostAttrs=ds(C.hostAttrs,m=ds(m,C.hostAttrs))}}(_)}function Eu(h){return h===ut?{}:h===Fe?[]:h}function Su(h,p){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{p(_,C),m(_,C)}:p}function xC(h,p){const m=h.contentQueries;h.contentQueries=m?(_,C,v)=>{p(_,C,v),m(_,C,v)}:p}function TC(h,p){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{p(_,C),m(_,C)}:p}let uc=null;function yi(){if(!uc){const h=dt.Symbol;if(h&&h.iterator)uc=h.iterator;else{const p=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(M(ot[_.index])):_.index;if(Bt(m)){let ot=null;if(!T&&S&&(ot=function WC(h,p,m,_){const C=h.cleanup;if(null!=C)for(let v=0;vS?T[S]:null}"string"==typeof w&&(v+=2)}return null}(h,p,C,_.index)),null!==ot)(ot.__ngLastListenerFn__||ot).__ngNextListenerFn__=v,ot.__ngLastListenerFn__=v,te=!1;else{v=ym(_,p,F,v,!1);const st=m.listen(je,C,v);Q.push(v,st),R&&R.push(C,Qe,ge,ge+1)}}else v=ym(_,p,F,v,!0),je.addEventListener(C,v,w),Q.push(v),R&&R.push(C,Qe,ge,w)}else v=ym(_,p,F,v,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const De=Ee.length;if(De)for(let je=0;je0;)p=p[15],h--;return p}(h,Je.lFrame.contextLView))[8]}(h)}function Q0(h,p){let m=null;const _=function Gb(h){const p=h.attrs;if(null!=p){const m=p.indexOf(5);if(0==(1&m))return p[m+1]}return null}(h);for(let C=0;C=0}function yc(h,p,m){return qi(h,p,m,!1),yc}function Gu(h,p){return qi(h,p,null,!0),Gu}function qi(h,p,m,_){const C=be(),v=yt(),w=function jn(h){const p=Je.lFrame,m=p.bindingIndex;return p.bindingIndex=p.bindingIndex+h,m}(2);v.firstUpdatePass&&function cy(h,p,m,_){const C=h.data;if(null===C[m+1]){const v=C[Ri()],w=function Hm(h,p){return p>=h.expandoStartIndex}(h,m);(function fy(h,p){return 0!=(h.flags&(p?16:32))})(v,_)&&null===p&&!w&&(p=!1),p=function dy(h,p,m,_){const C=md(h);let v=_?p.residualClasses:p.residualStyles;if(null===C)0===(_?p.classBindings:p.styleBindings)&&(m=zs(m=Uu(null,h,p,m,_),p.attrs,_),v=null);else{const w=p.directiveStylingLast;if(-1===w||h[w]!==C)if(m=Uu(C,h,p,m,_),null===v){let S=function uy(h,p,m){const _=m?p.classBindings:p.styleBindings;if(0!==Fr(_))return h[mn(_)]}(h,p,_);void 0!==S&&Array.isArray(S)&&(S=Uu(null,h,p,S[1],_),S=zs(S,p.attrs,_),function vc(h,p,m,_){h[mn(m?p.classBindings:p.styleBindings)]=_}(h,p,_,S))}else v=function hy(h,p,m){let _;const C=p.directiveEnd;for(let v=1+p.directiveStylingLast;v0)&&(P=!0)}else R=m;if(C)if(0!==S){const Q=mn(h[T+1]);h[_+1]=ql(Q,T),0!==Q&&(h[Q+1]=Wl(h[Q+1],_)),h[T+1]=function ff(h,p){return 131071&h|p<<17}(h[T+1],_)}else h[_+1]=ql(T,0),0!==T&&(h[T+1]=Wl(h[T+1],_)),T=_;else h[_+1]=ql(S,0),0===T?T=_:h[S+1]=Wl(h[S+1],_),S=_;P&&(h[_+1]=mf(h[_+1])),zu(h,R,_,!0),zu(h,R,_,!1),function ry(h,p,m,_,C){const v=C?h.residualClasses:h.residualStyles;null!=v&&"string"==typeof p&&ca(v,p)>=0&&(m[_+1]=Jd(m[_+1]))}(p,R,h,_,v),w=ql(T,S),v?p.classBindings=w:p.styleBindings=w}(C,v,p,m,w,_)}}(v,h,w,_),p!==qe&&Si(C,w,p)&&function Wu(h,p,m,_,C,v,w,T){if(!(3&p.type))return;const S=h.data,P=S[T+1];Qu(function Qb(h){return 1==(1&h)}(P)?$u(S,p,m,C,Fr(P),w):void 0)||(Qu(v)||function vo(h){return 2==(2&h)}(P)&&(v=$u(S,null,m,C,T,w)),function P0(h,p,m,_,C){const v=Bt(h);if(p)C?v?h.addClass(m,_):m.classList.add(_):v?h.removeClass(m,_):m.classList.remove(_);else{let w=-1===_.indexOf("-")?void 0:lr.DashCase;if(null==C)v?h.removeStyle(m,_,w):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),w|=lr.Important),v?h.setStyle(m,_,C,w):m.style.setProperty(_,C,T?"important":"")}}}(_,w,ue(Ri(),m),C,v))}(v,v.data[Ri()],C,C[11],h,C[w+1]=function ex(h,p){return null==h||("string"==typeof p?h+=p:"object"==typeof h&&(h=Y(Br(h)))),h}(p,m),_,w)}function Uu(h,p,m,_,C){let v=null;const w=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,F=null===R;let Q=m[C+1];Q===qe&&(Q=F?Fe:void 0);let te=F?Hd(Q,_):R===_?Q:void 0;if(P&&!Qu(te)&&(te=Hd(S,_)),Qu(te)&&(T=te,w))return T;const he=h[C+1];C=w?mn(he):Fr(he)}if(null!==p){let S=v?p.residualClasses:p.residualStyles;null!=S&&(T=Hd(S,_))}return T}function Qu(h){return void 0!==h}function my(h,p=""){const m=be(),_=yt(),C=h+20,v=_.firstCreatePass?jr(_,C,1,p,null):_.data[C],w=m[C]=function tf(h,p){return Bt(h)?h.createText(p):h.createTextNode(p)}(m[11],p);$d(_,m,w,v),Mn(v,!1)}function Pm(h){return Yu("",h,""),Pm}function Yu(h,p,m){const _=be(),C=function vi(h,p,m,_){return Si(h,Pr(),m)?p+le(m)+_:qe}(_,h,p,m);return C!==qe&&gn(_,Ri(),C),Yu}function Om(h,p,m){const _=be();return Si(_,Pr(),p)&&ji(yt(),Jt(),_,h,p,_[11],m,!0),Om}function th(h,p,m){const _=be();if(Si(_,Pr(),p)){const v=yt(),w=Jt();ji(v,w,_,h,p,rc(md(v.data),w,_),m,!0)}return th}const Wr=void 0;var Fm=["en",[["a","p"],["AM","PM"],Wr],[["AM","PM"],Wr,Wr],[["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"]],Wr,[["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"]],Wr,[["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}",Wr,"{1} 'at' {0}",Wr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ih(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let No={};function wc(h){const p=function Sy(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=Lm(p);if(m)return m;const _=p.split("-")[0];if(m=Lm(_),m)return m;if("en"===_)return Fm;throw new Error(`Missing locale data for the locale "${h}".`)}function Ey(h){return wc(h)[Ke.PluralCase]}function Lm(h){return h in No||(No[h]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[h]),No[h]}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 Ac="en-US";let Nm=Ac;function tg(h,p,m,_,C){if(h=re(h),Array.isArray(h))for(let v=0;v>20;if(Mo(h)||!h.multi){const te=new aa(S,C,Vo),he=zo(T,p,C?R:R+Q,F);-1===he?(Il(Vr(P,w),v,T),ig(v,h,p.length),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),w.push(te)):(m[he]=te,w[he]=te)}else{const te=zo(T,p,R+Q,F),he=zo(T,p,R,R+Q),Ee=te>=0&&m[te],De=he>=0&&m[he];if(C&&!De||!C&&!Ee){Il(Vr(P,w),v,T);const je=function Qx(h,p,m,_,C){const v=new aa(h,m,Vo);return v.multi=[],v.index=p,v.componentProviders=0,Jy(v,C,_&&!m),v}(C?Ky:$x,m.length,C,_,S);!C&&De&&(m[he].providerFactory=je),ig(v,h,p.length,0),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),w.push(je)}else ig(v,h,te>-1?te:he,Jy(m[C?he:te],S,!C&&_));!C&&_&&De&&m[he].componentProviders++}}}function ig(h,p,m,_){const C=Mo(p),v=function lc(h){return!!h.useClass}(p);if(C||v){const S=(v?re(p.useClass):p).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&p.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function Jy(h,p,m){return m&&h.componentProviders++,h.multi.push(p)-1}function zo(h,p,m,_){for(let C=m;C<_;C++)if(p[C]===h)return C;return-1}function $x(h,p,m,_){return ng(this.multi,[])}function Ky(h,p,m,_){const C=this.multi;let v;if(this.providerFactory){const w=this.providerFactory.componentProviders,T=hs(m,m[1],this.providerFactory.index,_);v=T.slice(0,w),ng(C,v);for(let S=w;S{m.providersResolver=(_,C)=>function Wx(h,p,m){const _=yt();if(_.firstCreatePass){const C=Xi(h);tg(m,_.data,_.blueprint,C,!0),tg(p,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,p)}}class Xy{}class Kx{resolveComponentFactory(p){throw function ev(h){const p=Error(`No component factory found for ${Y(h)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=h,p}(p)}}let $s=(()=>{class h{}return h.NULL=new Kx,h})();function Zx(){return Qs(Yt(),be())}function Qs(h,p){return new Sc(_e(h,p))}let Sc=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=Zx,h})();function Xx(h){return h instanceof Sc?h.nativeElement:h}class tv{}let iv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function rv(){const h=be(),m=ft(Yt().index,h);return function nv(h){return h[11]}(gi(m)?m:h)}(),h})(),eT=(()=>{class h{}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:()=>null}),h})();class av{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const tT=new av("13.2.2"),Ys={};function Dc(h,p,m,_,C=!1){for(;null!==m;){const v=p[m.index];if(null!==v&&_.push(M(v)),ci(v))for(let T=10;T-1&&(rf(p,_),Vl(m,_))}this._attachedToViewContainer=!1}Eb(this._lView[1],this._lView)}onDestroy(p){nC(this._lView[1],this._lView,null,p)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Gr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Ur(h,p,m){wl(!0);try{Gr(h,p,m)}finally{wl(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function v0(h,p){Ul(h,p,p[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=p}}class iT extends Js{constructor(p){super(p),this._view=p}detectChanges(){mu(this._view)}checkNoChanges(){!function Vf(h){wl(!0);try{mu(h)}finally{wl(!1)}}(this._view)}get context(){return null}}class ov extends $s{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const m=Tt(p);return new Go(m,this.ngModule)}}function sv(h){const p=[];for(let m in h)h.hasOwnProperty(m)&&p.push({propName:h[m],templateName:m});return p}const rT=new qt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>yb});class Go extends Xy{constructor(p,m){super(),this.componentDef=p,this.ngModule=m,this.componentType=p.type,this.selector=function Wb(h){return h.map(cr).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return sv(this.componentDef.inputs)}get outputs(){return sv(this.componentDef.outputs)}create(p,m,_,C){const v=(C=C||this.ngModule)?function aT(h,p){return{get:(m,_,C)=>{const v=h.get(m,Ys,C);return v!==Ys||_===Ys?v:p.get(m,_,C)}}}(p,C.injector):p,w=v.get(tv,D),T=v.get(eT,null),S=w.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function Ds(h,p,m){if(Bt(h))return h.selectRootElement(p,m===ke.ShadowDom);let _="string"==typeof p?h.querySelector(p):p;return _.textContent="",_}(S,_,this.componentDef.encapsulation):nf(w.createRenderer(null,this.componentDef),P,function nT(h){const p=h.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(P)),F=this.componentDef.onPush?576:528,Q=function Zf(h,p){return{components:[],scheduler:h||yb,clean:ya,playerHandler:p||null,flags:0}}(),te=lt(0,null,null,1,0,null,null,null,null,null),he=wo(null,te,Q,F,null,null,w,S,T,v);let Ee,De;xl(he);try{const je=function Jf(h,p,m,_,C,v){const w=m[1];m[20]=h;const S=jr(w,20,2,"#host",null),P=S.mergedAttrs=p.hostAttrs;null!==P&&(ac(S,P,!0),null!==h&&(Dl(C,h,P),null!==S.classes&&df(C,h,S.classes),null!==S.styles&&Fb(C,h,S.styles)));const R=_.createRenderer(h,p),F=wo(m,Le(p),null,p.onPush?64:16,m[20],S,_,R,v||null,null);return w.firstCreatePass&&(Il(Vr(S,m),w,p.type),zr(w,S),Pf(S,m.length,1)),Un(m,F),m[20]=F}(R,this.componentDef,he,w,S);if(R)if(_)Dl(S,R,["ng-version",tT.full]);else{const{attrs:ge,classes:Qe}=function pf(h){const p=[],m=[];let _=1,C=2;for(;_0&&df(S,R,Qe.join(" "))}if(De=Rt(te,20),void 0!==m){const ge=De.projection=[];for(let Qe=0;QeS(w,p)),p.contentQueries){const S=Yt();p.contentQueries(1,w,S.directiveStart)}const T=Yt();return!v.firstCreatePass||null===p.hostBindings&&null===p.hostAttrs||(Li(T.index),Ni(m[1],T,0,T.directiveStart,T.directiveEnd,p),oC(p,w)),w}(je,this.componentDef,he,Q,[wC]),Ao(te,he,null)}finally{Tl()}return new sT(this.componentType,Ee,Qs(De,he),he,De)}}class sT extends class Yx{}{constructor(p,m,_,C,v){super(),this.location=_,this._rootLView=C,this._tNode=v,this.instance=m,this.hostView=this.changeDetectorRef=new iT(C),this.componentType=p}get injector(){return new lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}class Ha{}class lv{}const Ks=new Map;class uv extends Ha{constructor(p,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ov(this);const _=mi(p);this._bootstrapComponents=sr(_.bootstrap),this._r3Injector=Vs(p,m,[{provide:Ha,useValue:this},{provide:$s,useValue:this.componentFactoryResolver}],Y(p)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(p)}get(p,m=Gi.THROW_IF_NOT_FOUND,_=at.Default){return p===Gi||p===Ha||p===bu?this:this._r3Injector.get(p,m,_)}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class ag extends lv{constructor(p){super(),this.moduleType=p,null!==mi(p)&&function cT(h){const p=new Set;!function m(_){const C=mi(_,!0),v=C.id;null!==v&&(function cv(h,p,m){if(p&&p!==m)throw new Error(`Duplicate module registered for ${h} - ${Y(p)} vs ${Y(p.name)}`)}(v,Ks.get(v),_),Ks.set(v,_));const w=sr(C.imports);for(const T of w)p.has(T)||(p.add(T),m(T))}(h)}(p)}create(p){return new uv(this.moduleType,p)}}function hv(h,p,m,_){return _v(be(),Pi(),h,p,m,_)}function _v(h,p,m,_,C,v){const w=p+m;return Si(h,w,C)?function _n(h,p,m){return h[p]=m}(h,w+1,v?_.call(v,C):_(C)):function Hc(h,p){const m=h[p];return m===qe?void 0:m}(h,w+1)}function og(h,p){const m=yt();let _;const C=h+20;m.firstCreatePass?(_=function yv(h,p){if(p)for(let m=p.length-1;m>=0;m--){const _=p[m];if(h===_.name)return _}}(p,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const v=_.factory||(_.factory=Nt(_.type)),w=Bi(Vo);try{const T=Pl(!1),S=v();return Pl(T),function dm(h,p,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),p[m]=_}(m,be(),C,S),S}finally{Bi(w)}}function Pc(h,p,m){const _=h+20,C=be(),v=St(C,_);return function Cr(h,p){return h[1].data[p].pure}(C,_)?_v(C,Pi(),p,v.transform,m,v):v.transform(m)}function oh(h){return p=>{setTimeout(h,void 0,p)}}const Rn=class lg extends E.x{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,m,_){var C,v,w;let T=p,S=m||(()=>null),P=_;if(p&&"object"==typeof p){const F=p;T=null===(C=F.next)||void 0===C?void 0:C.bind(F),S=null===(v=F.error)||void 0===v?void 0:v.bind(F),P=null===(w=F.complete)||void 0===w?void 0:w.bind(F)}this.__isAsync&&(S=oh(S),T&&(T=oh(T)),P&&(P=oh(P)));const R=super.subscribe({next:T,error:S,complete:P});return p instanceof g.w0&&p.add(R),R}};function cg(){return this._results[yi()]()}class $n{constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=yi(),_=$n.prototype;_[m]||(_[m]=cg)}get changes(){return this._changes||(this._changes=new Rn)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,m){return this._results.reduce(p,m)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,m){const _=this;_.dirty=!1;const C=pn(p);(this._changesDetected=!function j_(h,p,m){if(h.length!==p.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=Ic,h})();const Av=yr,mT=class extends Av{constructor(p,m,_){super(),this._declarationLView=p,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(p){const m=this._declarationTContainer.tViews,_=wo(this._declarationLView,m,p,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(m)),Ao(m,_,p),new Js(_)}};function Ic(){return el(Yt(),be())}function el(h,p){return 4&h.type?new mT(p,h,Qs(h,p)):null}let kc=(()=>{class h{}return h.__NG_ELEMENT_ID__=xv,h})();function xv(){return ug(Yt(),be())}const Tv=kc,dg=class extends Tv{constructor(p,m,_){super(),this._lContainer=p,this._hostTNode=m,this._hostLView=_}get element(){return Qs(this._hostTNode,this._hostLView)}get injector(){return new lo(this._hostTNode,this._hostLView)}get parentInjector(){const p=oa(this._hostTNode,this._hostLView);if(vd(p)){const m=oo(p,this._hostLView),_=rr(p);return new lo(m[1].data[_+8],m)}return new lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const m=sh(this._lContainer);return null!==m&&m[p]||null}get length(){return this._lContainer.length-10}createEmbeddedView(p,m,_){const C=p.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(p,m,_,C,v){const w=p&&!function po(h){return"function"==typeof h}(p);let T;if(w)T=m;else{const F=m||{};T=F.index,_=F.injector,C=F.projectableNodes,v=F.ngModuleRef}const S=w?p:new Go(Tt(p)),P=_||this.parentInjector;if(!v&&null==S.ngModule&&P){const F=P.get(Ha,null);F&&(v=F)}const R=S.create(P,C,void 0,v);return this.insert(R.hostView,T),R}insert(p,m){const _=p._lView,C=_[1];if(function zt(h){return ci(h[3])}(_)){const R=this.indexOf(p);if(-1!==R)this.detach(R);else{const F=_[3],Q=new dg(F,F[6],F[3]);Q.detach(Q.indexOf(p))}}const v=this._adjustIndex(m),w=this._lContainer;!function A0(h,p,m,_){const C=10+_,v=m.length;_>0&&(m[C-1][4]=p),_0)_.push(w[T/2]);else{const P=v[T+1],R=p[-S];for(let F=10;F{class h{constructor(m){this.appInits=m,this.resolve=bh,this.reject=bh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{v.subscribe({complete:T,error:S})});m.push(w)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(Ci(wg,8))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Ag=new qt("AppId"),DT={provide:Ag,useFactory:function zv(){return`${$c()}${$c()}${$c()}`},deps:[]};function $c(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gv=new qt("Platform Initializer"),Uv=new qt("Platform ID"),qv=new qt("appBootstrapListener");let Wv=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Ch=new qt("LocaleId"),xg=new qt("DefaultCurrencyCode");class HT{constructor(p,m){this.ngModuleFactory=p,this.componentFactories=m}}let Tg=(()=>{class h{compileModuleSync(m){return new ag(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),v=sr(mi(m).declarations).reduce((w,T)=>{const S=Tt(T);return S&&w.push(new Go(S)),w},[]);return new HT(_,v)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const RT=(()=>Promise.resolve(0))();function Eg(h){"undefined"==typeof Zone?RT.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class vn{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Rn(!1),this.onMicrotaskEmpty=new Rn(!1),this.onStable=new Rn(!1),this.onError=new Rn(!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)),p&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function Sg(){let h=dt.requestAnimationFrame,p=dt.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&p){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=p[Zone.__symbol__("OriginalDelegate")];_&&(p=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function kT(h){const p=()=>{!function IT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(dt,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,Dg(h),h.isCheckStableRunning=!0,Mg(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),Dg(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,v,w,T)=>{try{return xr(h),m.invokeTask(C,v,w,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||h.shouldCoalesceRunChangeDetection)&&p(),Qc(h)}},onInvoke:(m,_,C,v,w,T,S)=>{try{return xr(h),m.invoke(C,v,w,T,S)}finally{h.shouldCoalesceRunChangeDetection&&p(),Qc(h)}},onHasTask:(m,_,C,v)=>{m.hasTask(C,v),_===C&&("microTask"==v.change?(h._hasPendingMicrotasks=v.microTask,Dg(h),Mg(h)):"macroTask"==v.change&&(h.hasPendingMacrotasks=v.macroTask))},onHandleError:(m,_,C,v)=>(m.handleError(C,v),h.runOutsideAngular(()=>h.onError.emit(v)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(vn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(p,m,_){return this._inner.run(p,m,_)}runTask(p,m,_,C){const v=this._inner,w=v.scheduleEventTask("NgZoneEvent: "+C,p,al,bh,bh);try{return v.runTask(w,m,_)}finally{v.cancelTask(w)}}runGuarded(p,m,_){return this._inner.runGuarded(p,m,_)}runOutsideAngular(p){return this._outer.run(p)}}const al={};function Mg(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function Dg(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function xr(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function Qc(h){h._nesting--,Mg(h)}class $v{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Rn,this.onMicrotaskEmpty=new Rn,this.onStable=new Rn,this.onError=new Rn}run(p,m,_){return p.apply(m,_)}runGuarded(p,m,_){return p.apply(m,_)}runOutsideAngular(p){return p()}runTask(p,m,_,C){return p.apply(m,_)}}let yh=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{vn.assertNotInAngularZone(),Eg(()=>{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())Eg(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==v),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:v,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(Ci(vn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})(),Qv=(()=>{class h{constructor(){this._applications=new Map,vh.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return vh.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();class Hg{addToWindow(p){}findTestabilityInTree(p,m,_){return null}}function Yv(h){vh=h}let wn,vh=new Hg;const Jv=new qt("AllowMultipleToken");class OT{constructor(p,m){this.name=p,this.token=m}}function wh(h,p,m=[]){const _=`Platform: ${p}`,C=new qt(_);return(v=[])=>{let w=Kv();if(!w||w.injector.get(Jv,!1))if(h)h(m.concat(v).concat({provide:C,useValue:!0}));else{const T=m.concat(v).concat({provide:C,useValue:!0},{provide:oc,useValue:"platform"});!function Rg(h){if(wn&&!wn.destroyed&&!wn.injector.get(Jv,!1))throw new ae(400,"");wn=h.get(Zv);const p=h.get(Gv,null);p&&p.forEach(m=>m())}(Gi.create({providers:T,name:_}))}return function FT(h){const p=Kv();if(!p)throw new ae(401,"");return p}()}}function Kv(){return wn&&!wn.destroyed?wn:null}let Zv=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function LT(h,p){let m;return m="noop"===h?new $v:("zone.js"===h?void 0:h)||new vn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==p?void 0:p.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==p?void 0:p.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:vn,useValue:T}];return T.run(()=>{const P=Gi.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),F=R.injector.get(zl,null);if(!F)throw new ae(402,"");return T.runOutsideAngular(()=>{const Q=T.onError.subscribe({next:te=>{F.handleError(te)}});R.onDestroy(()=>{Ah(this._modules,R),Q.unsubscribe()})}),function jT(h,p,m){try{const _=m();return ju(_)?_.catch(C=>{throw p.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw p.runOutsideAngular(()=>h.handleError(_)),_}}(F,T,()=>{const Q=R.injector.get(qo);return Q.runInitializers(),Q.donePromise.then(()=>(function Hy(h){Ot(h,"Expected localeId to be defined"),"string"==typeof h&&(Nm=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Ch,Ac)||Ac),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=Xv({},_);return function Pg(h,p,m){const _=new ag(m);return Promise.resolve(_)}(0,0,m).then(v=>this.bootstrapModuleFactory(v,C))}_moduleDoBootstrap(m){const _=m.injector.get(Yc);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(Ci(Gi))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Xv(h,p){return Array.isArray(p)?p.reduce(Xv,h):Object.assign(Object.assign({},h),p)}let Yc=(()=>{class h{constructor(m,_,C,v,w){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=v,this._initStatus=w,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 T=new k.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new k.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{vn.assertNotInAngularZone(),Eg(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{vn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),F.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,V.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof Xy?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const v=function BT(h){return h.isBoundToModule}(C)?void 0:this._injector.get(Ha),T=C.create(Gi.NULL,[],_||C.selector,v),S=T.location.nativeElement,P=T.injector.get(yh,null),R=P&&T.injector.get(Qv);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),Ah(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;Ah(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(qv,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(Ci(vn),Ci(Gi),Ci(zl),Ci($s),Ci(qo))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Ah(h,p){const m=h.indexOf(p);m>-1&&h.splice(m,1)}let kg=!0;function tw(){kg=!1}let iw=(()=>{class h{}return h.__NG_ELEMENT_ID__=nw,h})();function nw(h){return function rw(h,p,m){if(ts(h)&&!m){const _=ft(h.index,p);return new Js(_,_)}return 47&h.type?new Js(p[16],p):null}(Yt(),be(),16==(16&h))}class lw{constructor(){}supports(p){return pr(p)}create(p){return new $T(p)}}const WT=(h,p)=>p;class $T{constructor(p){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=p||WT}forEachItem(p){let m;for(m=this._itHead;null!==m;m=m._next)p(m)}forEachOperation(p){let m=this._itHead,_=this._removalsHead,C=0,v=null;for(;m||_;){const w=!_||m&&m.currentIndex{w=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,w)?(_&&(m=this._verifyReinsertion(m,T,w,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,w,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,m,_,C){let v;return null===p?v=this._itTail:(v=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,v,C)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,v,C)):p=this._addAfter(new QT(m,_),v,C),p}_verifyReinsertion(p,m,_,C){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?p=this._reinsertAfter(v,p._prev,C):p.currentIndex!=C&&(p.currentIndex=C,this._addToMoves(p,C)),p}_truncate(p){for(;null!==p;){const m=p._next;this._addToRemovals(this._unlink(p)),p=m}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(p,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const C=p._prevRemoved,v=p._nextRemoved;return null===C?this._removalsHead=v:C._nextRemoved=v,null===v?this._removalsTail=C:v._prevRemoved=C,this._insertAfter(p,m,_),this._addToMoves(p,_),p}_moveAfter(p,m,_){return this._unlink(p),this._insertAfter(p,m,_),this._addToMoves(p,_),p}_addAfter(p,m,_){return this._insertAfter(p,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,m,_){const C=null===m?this._itHead:m._next;return p._next=C,p._prev=m,null===C?this._itTail=p:C._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new cw),this._linkedRecords.put(p),p.currentIndex=_,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const m=p._prev,_=p._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,p}_addToMoves(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new cw),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class QT{constructor(p,m){this.item=p,this.trackById=m,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 YT{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,p))return _;return null}remove(p){const m=p._prevDup,_=p._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class cw{constructor(){this.map=new Map}put(p){const m=p.trackById;let _=this.map.get(m);_||(_=new YT,this.map.set(m,_)),_.add(p)}get(p,m){const C=this.map.get(p);return C?C.get(p,m):null}remove(p){const m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dw(h,p,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const v=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,v)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,m){if(p){const _=p._prev;return m._next=p,m._prev=_,p._prev=m,_&&(_._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(p,m){if(this._records.has(p)){const C=this._records.get(p);this._maybeAddToChanges(C,m);const v=C._prev,w=C._next;return v&&(v._next=w),w&&(w._prev=v),C._next=null,C._prev=null,C}const _=new KT(p);return this._records.set(p,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(_=>m(p[_],_))}}class KT{constructor(p){this.key=p,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 hw(){return new Dh([new lw])}let Dh=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||hw()),deps:[[h,new go,new ha]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:hw}),h})();function pw(){return new Hh([new uw])}let Hh=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||pw()),deps:[[h,new go,new ha]]}}find(m){const _=this.factories.find(v=>v.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:pw}),h})();const jg=[new uw],ka=new Dh([new lw]),Vi=new Hh(jg),zg=wh(null,"core",[{provide:Uv,useValue:"unknown"},{provide:Zv,deps:[Gi]},{provide:Qv,deps:[]},{provide:Wv,deps:[]}]),Kr=[{provide:Yc,useClass:Yc,deps:[vn,Gi,zl,$s,qo]},{provide:rT,deps:[vn],useFactory:function Gg(h){let p=[];return h.onStable.subscribe(()=>{for(;p.length;)p.pop()()}),function(m){p.push(m)}}},{provide:qo,useClass:qo,deps:[[new ha,wg]]},{provide:Tg,useClass:Tg,deps:[]},DT,{provide:Dh,useFactory:function fw(){return ka},deps:[]},{provide:Hh,useFactory:function mw(){return Vi},deps:[]},{provide:Ch,useFactory:function gw(h){return h||function Ph(){return"undefined"!=typeof $localize&&$localize.locale||Ac}()},deps:[[new fo(Ch),new ha,new go]]},{provide:xg,useValue:"USD"}];let hi=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(Ci(Yc))},h.\u0275mod=ea({type:h}),h.\u0275inj=Qi({providers:Kr}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class L extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return L.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(L)))(E||L)}}(),L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class L{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(L){const N=L.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(L){return btoa(L).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),k=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return k!==O&&(console.error("exptected at_hash: "+k),console.error("actual at_hash: "+O)),k===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class L{getHashFragmentParams(x){let E=x||window.location.hash;if(E=decodeURIComponent(E),0!==E.indexOf("#"))return{};const g=E.indexOf("?");return E=E.substr(g>-1?g+1:1),this.parseQueryString(E)}parseQueryString(x){const E={};let g,k,O,V,j,q,Y;if(null===x)return E;g=x.split("&");for(let U=0;U>6,k[V++]=128|63&j):j<55296||j>=57344?(k[V++]=224|j>>12,k[V++]=128|j>>6&63,k[V++]=128|63&j):(j=65536+((1023&j)<<10|1023&L.charCodeAt(++E)),k[V++]=240|j>>18,k[V++]=128|j>>12&63,k[V++]=128|j>>6&63,k[V++]=128|63&j);L=k}else{if("object"!==g)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR)}L.length>64&&(L=new Sha256(N,!0).update(L).array());var q=[],Y=[];for(E=0;E<64;++E){var U=L[E]||0;q[E]=92^U,Y[E]=54^U}Sha256.call(this,N,x),this.update(Y),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(L){if(!this.finalized){var N,x=typeof L;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR);N=!0}for(var E,k,g=0,O=L.length,V=this.blocks;g>2]|=L[g]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(V[k>>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=V[16],this.start=k-64,this.hash(),this.hashed=!0):this.start=k}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 L=this.blocks,N=this.lastByteIndex;L[16]=this.block,L[N>>2]|=EXTRA[3&N],this.block=L[16],N>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,W,ae,ie,le,L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?(W=300032,V=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):(W=704751109,V=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(V=E+(z=V+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&k^~g&O)+K[q]+j[q])<<0,E=z+(((L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10))+((W=L&N)^L&x^le))<<0),O=x+(z=O+((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&g^~V&k)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&L)^E&N^W))<<0,k=N+(z=k+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&V^~O&g)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&L^ae))<<0,g=L+(z=g+((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&V)+K[q+3]+j[q+3])<<0,L=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+L<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+g<<0,this.h5=this.h5+k<<0,this.h6=this.h6+O<<0,this.h7=this.h7+V<<0},Sha256.prototype.hex=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=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]+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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[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[k>>28&15]+HEX_CHARS[k>>24&15]+HEX_CHARS[k>>20&15]+HEX_CHARS[k>>16&15]+HEX_CHARS[k>>12&15]+HEX_CHARS[k>>8&15]+HEX_CHARS[k>>4&15]+HEX_CHARS[15&k]+HEX_CHARS[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=[L>>24&255,L>>16&255,L>>8&255,255&L,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,g>>24&255,g>>16&255,g>>8&255,255&g,k>>24&255,k>>16&255,k>>8&255,255&k,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(V>>24&255,V>>16&255,V>>8&255,255&V),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),N=new DataView(L);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),L},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),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(L){if("string"!=typeof L)throw new TypeError("expected string");var N,x=L,E=new Uint8Array(x.length);for(N=0;N{class L{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let g of x)E+=String.fromCharCode(g);return E}toHashString(x){const E=new Uint8Array(x);let g="";for(let k of E)g+=String.fromCharCode(k);return g}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})(),OAuthService=(()=>{class L extends AuthConfig{constructor(x,E,g,k,O,V,j,q,Y,U){var $;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=V,this.logger=j,this.crypto=q,this.dateTimeService=U,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Y,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),k&&(this.tokenValidationHandler=k),O&&this.configure(O);try{g?this.setStorage(g):"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===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,g=!0){let k=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?k=!0:"logout"===O.type&&(k=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{k&&this.refreshInternal(x,g).catch(V=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],g=this.validateUrlForHttps(x),k=this.validateUrlAgainstIssuer(x);return g||E.push("https for all urls required. Also for urls received by discovery."),k||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),g=this.calcTimeout(E,x);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)(g)).subscribe(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),g=this.calcTimeout(E,x);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)(g)).subscribe(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}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(x,E){const g=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(g-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,g)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(k=>{if(!this.validateDiscoveryDocument(k))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void g("discovery_document_validation_error");this.loginUrl=k.authorization_endpoint,this.logoutUrl=k.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=k.grant_types_supported,this.issuer=k.issuer,this.tokenEndpoint=k.token_endpoint,this.userinfoEndpoint=k.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=k.jwks_uri,this.sessionCheckIFrameUrl=k.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(k),this.revocationEndpoint=k.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:k,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),g(O)})},k=>{this.logger.error("error loading discovery document",k),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",k)),g(k)}):g("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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(g=>{this.jwks=g,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(g)},g=>{this.logger.error("error loading jwks",g),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",g)),E(g)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,E,g).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((x,E)=>{const g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:g,observe:"response",responseType:"text"}).subscribe(k=>{if(this.debug("userinfo received",JSON.stringify(k)),k.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(k.body);const V=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!V.sub||O.sub!==V.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");O=Object.assign({},V,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(k.body))},k=>{this.logger.error("error loading user info",k),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",k)),E(k)})})}fetchTokenUsingPasswordFlow(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},g)}fetchTokenUsingGrant(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let k=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(k=k.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(k=k.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))k=k.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))k=k.set(O,E[O]);return g=g.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,V)=>{this.http.post(this.tokenEndpoint,k,{headers:g}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),V(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,E)=>{let g=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")),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,g,{headers:k}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.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=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:E,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(g=>this.debug("tryLogin during silent refresh failed",g))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},E=!0){const g=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 k=this.document.getElementById(this.silentRefreshIFrameName);k&&this.document.body.removeChild(k),this.silentRefreshSubject=g.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(U=>{O.setAttribute("src",U),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>U instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>"token_received"===U.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Y=(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__.S)([j,q,Y]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(U=>{if(U instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===U.type||(U=new OAuthErrorEvent("silent_refresh_error",U)),this.eventsSubject.next(U),U;return"token_received"===U.type&&(U=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(U)),U})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((g,k)=>{let j,V=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(V=x.windowRef,V.location.href=E):V=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{U(),g(!0)},se=>{U(),k(se)})};V?j=window.setInterval(()=>{(!V||V.closed)&&(U(),k(new OAuthErrorEvent("popup_closed",{})))},500):k(new OAuthErrorEvent("popup_blocked",{}));const U=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",$),null!==V&&V.close(),V=null},$=re=>{const se=this.processMessageEventMessage(re);se&&null!==se?(window.removeEventListener("storage",z),q(se)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",$),q(re.newValue))};window.addEventListener("message",$),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,g=x.width||500,k=window.screenLeft+(window.outerWidth-g)/2;return`location=no,toolbar=no,width=${g},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${k}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const g=x.data;return g.startsWith(E)?"#"+g.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=x=>{const E=x.origin.toLowerCase(),g=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),g.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",g,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",g="",k=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const V=this;let j;j=g||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Y=V.loginUrl.indexOf("?")>-1?"&":"?";let U=V.scope;this.oidc&&!U.match(/(^|\s)openid($|\s)/)&&(U="openid "+U);let $=V.loginUrl+Y+"response_type="+encodeURIComponent(V.responseType)+"&client_id="+encodeURIComponent(V.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(U);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),$+="&code_challenge="+z,$+="&code_challenge_method=S256"}E&&($+="&login_hint="+encodeURIComponent(E)),V.resource&&($+="&resource="+encodeURIComponent(V.resource)),V.oidc&&($+="&nonce="+encodeURIComponent(q)),k&&($+="&prompt=none");for(const z of Object.keys(O))$+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return $})}initImplicitFlowInternal(x="",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 g={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(g=E),this.createLoginUrl(x,k,null,!1,g).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(g=>"discovery_document_loaded"===g.type)).subscribe(g=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const g={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(g)}}storeAccessTokenResponse(x,E,g,k,O){if(this._storage.setItem("access_token",x),k&&!Array.isArray(k)?this._storage.setItem("granted_scopes",JSON.stringify(k.split(" "))):k&&Array.isArray(k)&&this._storage.setItem("granted_scopes",JSON.stringify(k)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),g){const V=1e3*g,q=this.dateTimeService.new().getTime()+V;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((V,j)=>{this._storage.setItem(j,V)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,g=this.getCodePartsFromUrl(E),k=g.code,O=g.state,V=g.session_state;if(!x.preventClearHashAfterLogin){const Y=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,Y)}let[j,q]=this.parseState(O);if(this.state=q,g.error){this.debug("error trying to login"),this.handleLoginError(x,g);const Y=new OAuthErrorEvent("code_error",{},g);return this.eventsSubject.next(Y),Promise.reject(Y)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const U=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(U),Promise.reject(U)}return this.storeSessionState(V),k&&(yield this.getTokenFromCode(k,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let k;k=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),k?g=g.set("code_verifier",k):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(g,E)}fetchAndProcessToken(x,E){E=E||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const k=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+k)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((k,O)=>{if(this.customQueryParams)for(let V of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(V,this.customQueryParams[V]);this.http.post(this.tokenEndpoint,x,{headers:g}).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,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(V)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(V))},V=>{console.error("Error getting token",V),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",V)),O(V)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const g=E.state;let[k,O]=this.parseState(g);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const U=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(U),Promise.reject(U)}const V=E.access_token,j=E.id_token,q=E.session_state,Y=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!V||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!g||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(k)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(V,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Y),this.oidc?this.processIdToken(j,V,x.disableNonceCheck).then(U=>x.validationHandler?x.validationHandler({accessToken:V,idClaims:U.idTokenClaims,idToken:U.idToken,state:g}).then($=>U):U).then(U=>(this.storeIdToken(U),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(U=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",U)),this.logger.error("Error validating tokens"),this.logger.error(U),Promise.reject(U))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,g="";if(x){const k=x.indexOf(this.config.nonceStateSeparator);k>-1&&(E=x.substr(0,k),g=x.substr(k+this.config.nonceStateSeparator.length))}return[E,g]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,g=!1){const k=x.split("."),V=b64DecodeUnicode(this.padBase64(k[0])),j=JSON.parse(V),Y=b64DecodeUnicode(this.padBase64(k[1])),U=JSON.parse(Y);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(U.aud)){if(U.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+U.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(U.aud!==this.clientId){const ie="Wrong audience: "+U.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!U.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==U.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${U.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!U.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&U.iss!==this.issuer){const ie="Wrong issuer: "+U.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!g&&U.nonce!==$){const ie="Wrong nonce: "+U.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!U.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*U.iat,se=1e3*U.exp,W=this.getClockSkewInMsec();if(re-W>=z||se+W<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:se}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:U,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:V,idTokenExpiresAt:se})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:V,idTokenExpiresAt:se};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(Pe=>{if(this.requestAccessToken&&!Pe){const ye="Wrong at_hash";return this.logger.warn(ye),Promise.reject(ye)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let g=!1;"boolean"==typeof x&&(g=x,x={});const k=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||g||!k&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(k)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let V=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});k&&(V=V.set("id_token_hint",k));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(V=V.set("post_logout_redirect_uri",j),E&&(V=V.set("state",E)));for(let q in x)V=V.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+V.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let g=45,k="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let V=new Uint8Array(g);O.getRandomValues(V),V.map||(V.map=Array.prototype.map),V=V.map(j=>E.charCodeAt(j%E.length)),k=String.fromCharCode.apply(null,V)}else for(;0"discovery_document_loaded"===g.type)).subscribe(g=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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 g={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(g=E),this.createLoginUrl(x,k,null,!1,g).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(g=>{x[g]&&E.set(g,JSON.stringify(x[g]))}),E}revokeTokenAndLogout(x={},E=!1){let g=this.revocationEndpoint,k=this.getAccessToken(),O=this.getRefreshToken();if(!k)return;let V=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}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 q of Object.getOwnPropertyNames(this.customQueryParams))V=V.set(q,this.customQueryParams[q]);return new Promise((q,Y)=>{let U,$;if(k){let z=V.set("token",k).set("token_type_hint","access_token");U=this.http.post(g,z,{headers:j})}else U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=V.set("token",O).set("token_type_hint","refresh_token");$=this.http.post(g,z,{headers:j})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(U=U.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))),$=$.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__.a)([U,$]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Y(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class L{constructor(x,E,g){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=g}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const g=x.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(g)?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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>this.errorHandler.handleError(V)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class L{static forRoot(x=null,E=NullValidationHandler){return{ngModule:L,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:L}),L.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),L})();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:L=>{"use strict";L.exports={i8:"9.0.0"}}},L=>{L(L.s=7479)}]); \ No newline at end of file +(self.webpackChunklinker=self.webpackChunklinker||[]).push([[179],{7479:(L,N,x)=>{"use strict";var E=x(9808),g=x(5e3);class k extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends k{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function j(){return V=V||document.querySelector("base"),V?V.getAttribute("href"):null}();return null==e?null:function Y(c){q=q||document.createElement("a"),q.setAttribute("href",c);const a=q.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){V=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,E.Mx)(document.cookie,a)}}let q,V=null;const U=new g.OlP("TRANSITION_ID"),z=[{provide:g.ip1,useFactory:function $(c,a,e){return()=>{e.get(g.CZH).donePromise.then(()=>{const t=(0,E.q)(),o=a.querySelectorAll(`style[ng-transition="${c}"]`);for(let l=0;l{const l=a.findTestabilityInTree(t,o);if(null==l)throw new Error("Could not find testability for element.");return l},g.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(t=>{const o=g.dqk.getAllAngularTestabilities();let l=o.length,s=!1;const n=function(i){s=s||i,l--,0==l&&t(s)};o.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const o=a.getTestability(e);return null!=o?o:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let se=(()=>{class c{build(){return new XMLHttpRequest}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const W=new g.OlP("EventManagerPlugins");let ae=(()=>{class c{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 l=0;l{class c{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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Te=(()=>{class c extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,o){e.forEach(l=>{const s=this._doc.createElement("style");s.textContent=l,o.push(t.appendChild(s))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,o)=>{this._addStylesToHost(e,o,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Me(c){(0,E.q)().remove(c)}const Pe={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/"},ye=/%COMP%/g;function ne(c,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return c;!1===c(a)&&(a.preventDefault(),a.returnValue=!1)}}let me=(()=>{class c{constructor(e,t,o){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case g.ifc.Emulated:{let o=this.rendererByCompId.get(t.id);return o||(o=new kt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,o)),o.applyToHost(e),o}case 1:case g.ifc.ShadowDom:return new Ot(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const o=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(ae),g.LFG(Te),g.LFG(g.AFp))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class pe{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(Pe[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,o){if(o){e=o+":"+e;const l=Pe[o];l?a.setAttributeNS(l,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const o=Pe[t];o?a.removeAttributeNS(o,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,o){o&(g.JOm.DashCase|g.JOm.Important)?a.style.setProperty(e,t,o&g.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&g.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,ce(t)):this.eventManager.addEventListener(a,e,ce(t))}}class kt extends pe{constructor(a,e,t,o){super(a),this.component=t;const l=ne(o+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function xe(c){return"_ngcontent-%COMP%".replace(ye,c)}(o+"-"+t.id),this.hostAttr=function Ve(c){return"_nghost-%COMP%".replace(ye,c)}(o+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class Ot extends pe{constructor(a,e,t,o){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=ne(o.id,o.styles,[]);for(let s=0;s{class c extends ie{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 c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const pi=["alt","control","meta","shift"],oi={"\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"},Ht={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"},Vn={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let Qi=(()=>{class c extends ie{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,t,o){const l=c.parseEventName(t),s=c.eventCallback(l.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,l.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;const l=c._normalizeKey(t.pop());let s="";if(pi.forEach(i=>{const r=t.indexOf(i);r>-1&&(t.splice(r,1),s+=i+".")}),s+=l,0!=t.length||0===l.length)return null;const n={};return n.domEventName=o,n.fullKey=s,n}static getEventFullKey(e){let t="",o=function fi(c){let a=c.key;if(null==a){if(a=c.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===c.location&&Ht.hasOwnProperty(a)&&(a=Ht[a]))}return oi[a]||a}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),pi.forEach(l=>{l!=o&&Vn[l](e)&&(t+=l+".")}),t+=o,t}static eventCallback(e,t,o){return l=>{c.getEventFullKey(l)===e&&o.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Tr=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:E.bD},{provide:g.g9A,useValue:function Jn(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function Ga(){return(0,g.RDi)(document),document},deps:[]}]),Kn=[{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function za(){return new g.qLn},deps:[]},{provide:W,useClass:Ne,multi:!0,deps:[E.K0,g.R0b,g.Lbi]},{provide:W,useClass:Qi,multi:!0,deps:[E.K0]},{provide:me,useClass:me,deps:[ae,Te,g.AFp]},{provide:g.FYo,useExisting:me},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b]},{provide:ae,useClass:ae,deps:[W,g.R0b]},{provide:E.JF,useClass:se,deps:[]}];let Er=(()=>{class c{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:c,providers:[{provide:g.AFp,useValue:e.appId},{provide:U,useExisting:g.AFp},z]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(c,12))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:Kn,imports:[E.ez,g.hGG]}),c})(),Bi=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function wi(){return new Bi((0,g.LFG)(E.K0))}(),t},providedIn:"root"}),c})();"undefined"!=typeof window&&window;let Zn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new(e||c):g.LFG(ea),t},providedIn:"root"}),c})(),ea=(()=>{class c extends Zn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case g.q3G.NONE:return t;case g.q3G.HTML:return(0,g.qzn)(t,"HTML")?(0,g.z3N)(t):(0,g.EiD)(this._doc,String(t)).toString();case g.q3G.STYLE:return(0,g.qzn)(t,"Style")?(0,g.z3N)(t):t;case g.q3G.SCRIPT:if((0,g.qzn)(t,"Script"))return(0,g.z3N)(t);throw new Error("unsafe value used in a script context");case g.q3G.URL:return(0,g.yhl)(t),(0,g.qzn)(t,"URL")?(0,g.z3N)(t):(0,g.mCW)(String(t));case g.q3G.RESOURCE_URL:if((0,g.qzn)(t,"ResourceURL"))return(0,g.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,g.JVY)(e)}bypassSecurityTrustStyle(e){return(0,g.L6k)(e)}bypassSecurityTrustScript(e){return(0,g.eBb)(e)}bypassSecurityTrustUrl(e){return(0,g.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,g.pB0)(e)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function fl(c){return new ea(c.get(E.K0))}(g.LFG(g.zs3)),t},providedIn:"root"}),c})();var Ai=x(2076),Ue=x(9646),Ge=x(7579);class Tt extends Ge.x{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const e=super._subscribe(a);return!e.closed&&a.next(this._value),e}getValue(){const{hasError:a,thrownError:e,_value:t}=this;if(a)throw e;return this._throwIfClosed(),t}next(a){super.next(this._value=a)}}var On=x(9841),Qt=x(8306),mi=x(6805),Oi=x(7272),Xn=x(8421);function Tn(c){return new Qt.y(a=>{(0,Xn.Xf)(c()).subscribe(a)})}var Yi=x(515),jt=x(727),Ft=x(4482),Ji=x(5403);function Hi(){return(0,Ft.e)((c,a)=>{let e=null;c._refCount++;const t=(0,Ji.x)(a,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const o=c._connection,l=e;e=null,o&&(!l||o===l)&&o.unsubscribe(),a.unsubscribe()});c.subscribe(t),t.closed||(e=c.connect())})}class Ie extends Qt.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Ft.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new jt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,Ji.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=jt.w0.EMPTY)}return a}refCount(){return Hi()(this)}}var Be=x(4004),Ct=x(3900),Pt=x(5698),Fn=x(3269);function Gt(...c){const a=(0,Fn.yG)(c);return(0,Ft.e)((e,t)=>{(a?(0,Oi.z)(c,e,a):(0,Oi.z)(c,e)).subscribe(t)})}function En(c,a,e,t,o){return(l,s)=>{let n=e,i=a,r=0;l.subscribe((0,Ji.x)(s,d=>{const u=r++;i=n?c(i,d,u):(n=!0,d),t&&s.next(i)},o&&(()=>{n&&s.next(i),s.complete()})))}}function Vt(c,a){return(0,Ft.e)(En(c,a,arguments.length>=2,!0))}var Xt=x(9300),li=x(262),tt=x(4351);function Sr(c){return c<=0?()=>Yi.E:(0,Ft.e)((a,e)=>{let t=[];a.subscribe((0,Ji.x)(e,o=>{t.push(o),c{for(const o of t)e.next(o);e.complete()},void 0,()=>{t=null}))})}var Mr=x(8068),es=x(6590),er=x(4671),Ki=x(590),ei=x(5577),Et=x(8505);function Dt(c){return(0,Ft.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(c)}})}var Wa=x(8189);class Zi{constructor(a,e){this.id=a,this.url=e}}class gi extends Zi{constructor(a,e,t="imperative",o=null){super(a,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ci extends Zi{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $a extends Zi{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ts extends Zi{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ta extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xi extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ml extends Zi{constructor(a,e,t,o,l){super(a,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Kh extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zh extends Zi{constructor(a,e,t,o){super(a,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fi{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ad{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xh{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ep{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tp{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ip{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class od{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ht="primary";class np{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ia(c){return new np(c)}const sd="ngNavigationCancelingError";function gl(c){const a=Error("NavigationCancelingError: "+c);return a[sd]=!0,a}function ap(c,a,e){const t=e.path.split("/");if(t.length>c.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[l]===o)}return c===a}function ld(c){return Array.prototype.concat.apply([],c)}function _l(c){return c.length>0?c[c.length-1]:null}function Nt(c,a){for(const e in c)c.hasOwnProperty(e)&&a(c[e],e)}function dn(c){return(0,g.CqO)(c)?c:(0,g.QGY)(c)?(0,Ai.D)(Promise.resolve(c)):(0,Ue.of)(c)}const Ya={exact:function Ja(c,a,e){if(!tr(c.segments,a.segments)||!_i(c.segments,a.segments,e)||c.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!c.children[t]||!Ja(c.children[t],a.children[t],e))return!1;return!0},subset:Ka},bl={exact:function Cl(c,a){return en(c,a)},subset:function dd(c,a){return Object.keys(a).length<=Object.keys(c).length&&Object.keys(a).every(e=>Qa(c[e],a[e]))},ignored:()=>!0};function cd(c,a,e){return Ya[e.paths](c.root,a.root,e.matrixParams)&&bl[e.queryParams](c.queryParams,a.queryParams)&&!("exact"===e.fragment&&c.fragment!==a.fragment)}function Ka(c,a,e){return yl(c,a,a.segments,e)}function yl(c,a,e,t){if(c.segments.length>e.length){const o=c.segments.slice(0,e.length);return!(!tr(o,e)||a.hasChildren()||!_i(o,e,t))}if(c.segments.length===e.length){if(!tr(c.segments,e)||!_i(c.segments,e,t))return!1;for(const o in a.children)if(!c.children[o]||!Ka(c.children[o],a.children[o],t))return!1;return!0}{const o=e.slice(0,c.segments.length),l=e.slice(c.segments.length);return!!(tr(c.segments,o)&&_i(c.segments,o,t)&&c.children[ht])&&yl(c.children[ht],a,l,t)}}function _i(c,a,e){return a.every((t,o)=>bl[e](c[o].parameters,t.parameters))}class Ln{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ia(this.queryParams)),this._queryParamMap}toString(){return T_.serialize(this)}}class bt{constructor(a,e){this.segments=a,this.children=e,this.parent=null,Nt(e,(t,o)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bt(this)}}class Dr{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ia(this.parameters)),this._parameterMap}toString(){return We(this)}}function tr(c,a){return c.length===a.length&&c.every((e,t)=>e.path===a[t].path)}class ns{}class Za{parse(a){const e=new Sn(a);return new Ln(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${D(a.root,!0)}`,t=function St(c){const a=Object.keys(c).map(e=>{const t=c[e];return Array.isArray(t)?t.map(o=>`${M(e)}=${M(o)}`).join("&"):`${M(e)}=${M(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function B(c){return encodeURI(c)}(a.fragment)}`:""}`}}const T_=new Za;function Bt(c){return c.segments.map(a=>We(a)).join("/")}function D(c,a){if(!c.hasChildren())return Bt(c);if(a){const e=c.children[ht]?D(c.children[ht],!1):"",t=[];return Nt(c.children,(o,l)=>{l!==ht&&t.push(`${l}:${D(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function is(c,a){let e=[];return Nt(c.children,(t,o)=>{o===ht&&(e=e.concat(a(t,o)))}),Nt(c.children,(t,o)=>{o!==ht&&(e=e.concat(a(t,o)))}),e}(c,(t,o)=>o===ht?[D(c.children[ht],!1)]:[`${o}:${D(t,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ht]?`${Bt(c)}/${e[0]}`:`${Bt(c)}/(${e.join("//")})`}}function I(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function M(c){return I(c).replace(/%3B/gi,";")}function J(c){return I(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ue(c){return decodeURIComponent(c)}function _e(c){return ue(c.replace(/\+/g,"%20"))}function We(c){return`${J(c.path)}${function Rt(c){return Object.keys(c).map(a=>`;${J(a)}=${J(c[a])}`).join("")}(c.parameters)}`}const ft=/^[^\/()?;=#]+/;function mt(c){const a=c.match(ft);return a?a[0]:""}const ri=/^[^=?&#]+/,Ut=/^[^&#]+/;class Sn{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[ht]=new bt(a,e)),t}parseSegment(){const a=mt(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Dr(ue(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=mt(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const o=mt(this.remaining);o&&(t=o,this.capture(t))}a[ue(e)]=ue(t)}parseQueryParam(a){const e=function zt(c){const a=c.match(ri);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=function Hr(c){const a=c.match(Ut);return a?a[0]:""}(this.remaining);s&&(t=s,this.capture(t))}const o=_e(e),l=_e(t);if(a.hasOwnProperty(o)){let s=a[o];Array.isArray(s)||(s=[s],a[o]=s),s.push(l)}else a[o]=l}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=mt(this.remaining),o=this.remaining[t.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=ht);const s=this.parseChildren();e[l]=1===Object.keys(s).length?s[ht]:new bt([],s),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Je{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=ir(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=ir(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=Xa(a,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==a)}pathFromRoot(a){return Xa(a,this._root).map(e=>e.value)}}function ir(c,a){if(c===a.value)return a;for(const e of a.children){const t=ir(c,e);if(t)return t}return null}function Xa(c,a){if(c===a.value)return[a];for(const e of a.children){const t=Xa(c,e);if(t.length)return t.unshift(a),t}return[]}class tn{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function nr(c){const a={};return c&&c.children.forEach(e=>a[e.value.outlet]=e),a}class ud extends Je{constructor(a,e){super(a),this.snapshot=e,ra(this,a)}toString(){return this.snapshot.toString()}}function lp(c,a){const e=function E_(c,a){const s=new Yt([],{},{},"",{},ht,a,null,c.root,-1,{});return new hd("",new tn(s,[]))}(c,a),t=new Tt([new Dr("",{})]),o=new Tt({}),l=new Tt({}),s=new Tt({}),n=new Tt(""),i=new be(t,o,s,n,l,ht,a,e.root);return i.snapshot=e.root,new ud(new tn(i,[]),e)}class be{constructor(a,e,t,o,l,s,n,i){this.url=a,this.params=e,this.queryParams=t,this.fragment=o,this.data=l,this.outlet=s,this.component=n,this._futureSnapshot=i}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,Be.U)(a=>ia(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Be.U)(a=>ia(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yt(c,a="emptyOnly"){const e=c.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const o=e[t],l=e[t-1];if(o.routeConfig&&""===o.routeConfig.path)t--;else{if(l.component)break;t--}}return function cp(c){return c.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class Yt{constructor(a,e,t,o,l,s,n,i,r,d,u){this.url=a,this.params=e,this.queryParams=t,this.fragment=o,this.data=l,this.outlet=s,this.component=n,this.routeConfig=i,this._urlSegment=r,this._lastPathIndex=d,this._resolve=u}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=ia(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ia(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hd extends Je{constructor(a,e){super(e),this.url=a,ra(this,e)}toString(){return Mn(this._root)}}function ra(c,a){a.value._routerState=c,a.children.forEach(e=>ra(c,e))}function Mn(c){const a=c.children.length>0?` { ${c.children.map(Mn).join(", ")} } `:"";return`${c.value}${a}`}function rs(c){if(c.snapshot){const a=c.snapshot,e=c._futureSnapshot;c.snapshot=e,en(a.queryParams,e.queryParams)||c.queryParams.next(e.queryParams),a.fragment!==e.fragment&&c.fragment.next(e.fragment),en(a.params,e.params)||c.params.next(e.params),function op(c,a){if(c.length!==a.length)return!1;for(let e=0;een(e.parameters,a[t].parameters))}(c.url,a.url);return e&&!(!c.parent!=!a.parent)&&(!c.parent||as(c.parent,a.parent))}function os(c,a,e){if(e&&c.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const o=function vl(c,a,e){return a.children.map(t=>{for(const o of e.children)if(c.shouldReuseRoute(t.value,o.value.snapshot))return os(c,t,o);return os(c,t)})}(c,a,e);return new tn(t,o)}{if(c.shouldAttach(a.value)){const l=c.retrieve(a.value);if(null!==l){const s=l.route;return s.value._futureSnapshot=a.value,s.children=a.children.map(n=>os(c,n)),s}}const t=function wl(c){return new be(new Tt(c.url),new Tt(c.params),new Tt(c.queryParams),new Tt(c.fragment),new Tt(c.data),c.outlet,c.component,c)}(a.value),o=a.children.map(l=>os(c,l));return new tn(t,o)}}function un(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function eo(c){return"object"==typeof c&&null!=c&&c.outlets}function Pr(c,a,e,t,o){let l={};return t&&Nt(t,(s,n)=>{l[n]=Array.isArray(s)?s.map(i=>`${i}`):`${s}`}),new Ln(e.root===c?a:jn(e.root,c,a),l,o)}function jn(c,a,e){const t={};return Nt(c.children,(o,l)=>{t[l]=o===a?e:jn(o,a,e)}),new bt(c.segments,t)}class dp{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&un(t[0]))throw new Error("Root segment cannot have matrix parameters");const o=t.find(eo);if(o&&o!==_l(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pd{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function gd(c,a,e){if(c||(c=new bt([],{})),0===c.segments.length&&c.hasChildren())return to(c,a,e);const t=function M_(c,a,e){let t=0,o=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return l;const s=c.segments[o],n=e[t];if(eo(n))break;const i=`${n}`,r=t0&&void 0===i)break;if(i&&r&&"object"==typeof r&&void 0===r.outlets){if(!bd(i,r,s))return l;t+=2}else{if(!bd(i,{},s))return l;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}(c,a,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(o[s]=gd(c.children[s],a,l))}),Nt(c.children,(l,s)=>{void 0===t[s]&&(o[s]=l)}),new bt(c.segments,o)}}function Al(c,a,e){const t=c.segments.slice(0,a);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=Al(new bt([],{}),0,e))}),a}function _d(c){const a={};return Nt(c,(e,t)=>a[t]=`${e}`),a}function bd(c,a,e){return c==e.path&&en(a,e.parameters)}class pp{constructor(a,e,t,o){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=o}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),rs(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const o=nr(e);a.children.forEach(l=>{const s=l.value.outlet;this.deactivateRoutes(l,o[s],t),delete o[s]}),Nt(o,(l,s)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(a,e,t){const o=a.value,l=e?e.value:null;if(o===l)if(o.component){const s=t.getContext(o.outlet);s&&this.deactivateChildRoutes(a,e,s.children)}else this.deactivateChildRoutes(a,e,t);else l&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),o=t&&a.value.component?t.children:e,l=nr(a);for(const s of Object.keys(l))this.deactivateRouteAndItsChildren(l[s],o);if(t&&t.outlet){const s=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:s,route:a,contexts:n})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),o=t&&a.value.component?t.children:e,l=nr(a);for(const s of Object.keys(l))this.deactivateRouteAndItsChildren(l[s],o);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const o=nr(e);a.children.forEach(l=>{this.activateRoutes(l,o[l.value.outlet],t),this.forwardEvent(new ip(l.value.snapshot))}),a.children.length&&this.forwardEvent(new ep(a.value.snapshot))}activateRoutes(a,e,t){const o=a.value,l=e?e.value:null;if(rs(o),o===l)if(o.component){const s=t.getOrCreateContext(o.outlet);this.activateChildRoutes(a,e,s.children)}else this.activateChildRoutes(a,e,t);else if(o.component){const s=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const n=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(n.contexts),s.attachRef=n.componentRef,s.route=n.route.value,s.outlet&&s.outlet.attach(n.componentRef,n.route.value),rs(n.route.value),this.activateChildRoutes(a,null,s.children)}else{const n=function Tl(c){for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),i=n?n.module.componentFactoryResolver:null;s.attachRef=null,s.route=o,s.resolver=i,s.outlet&&s.outlet.activateWith(o,i),this.activateChildRoutes(a,null,s.children)}}else this.activateChildRoutes(a,null,t)}}class Cd{constructor(a,e){this.routes=a,this.module=e}}function Rr(c){return"function"==typeof c}function Li(c){return c instanceof Ln}const ss=Symbol("INITIAL_VALUE");function ls(){return(0,Ct.w)(c=>(0,On.a)(c.map(a=>a.pipe((0,Pt.q)(1),Gt(ss)))).pipe(Vt((a,e)=>{let t=!1;return e.reduce((o,l,s)=>o!==ss?o:(l===ss&&(t=!0),t||!1!==l&&s!==e.length-1&&!Li(l)?o:l),a)},ss),(0,Xt.h)(a=>a!==ss),(0,Be.U)(a=>Li(a)?a:!0===a),(0,Pt.q)(1)))}class H_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ir,this.attachRef=null}}class Ir{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new H_,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let io=(()=>{class c{constructor(e,t,o,l,s){this.parentContexts=e,this.location=t,this.resolver=o,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.name=l||ht,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 s=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new El(e,n,this.location.injector);this.activated=this.location.createComponent(s,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(Ir),g.Y36(g.s_b),g.Y36(g._Vd),g.$8M("name"),g.Y36(g.sBO))},c.\u0275dir=g.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class El{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===be?this.route:a===Ir?this.childContexts:this.parent.get(a,e)}}let Sl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=g.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&g._UZ(0,"router-outlet")},directives:[io],encapsulation:2}),c})();function yd(c,a=""){for(let e=0;ehn(t)===a);return e.push(...c.filter(t=>hn(t)!==a)),e}const no={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ro(c,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(c.hasChildren()||e.length>0)?Object.assign({},no):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(a.matcher||ap)(e,c,a);if(!l)return Object.assign({},no);const s={};Nt(l.posParams,(i,r)=>{s[r]=i.path});const n=l.consumed.length>0?Object.assign(Object.assign({},s),l.consumed[l.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:n,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function Ml(c,a,e,t,o="corrected"){if(e.length>0&&function CA(c,a,e){return e.some(t=>cs(c,a,t)&&hn(t)!==ht)}(c,e,t)){const s=new bt(a,function bA(c,a,e,t){const o={};o[ht]=t,t._sourceSegment=c,t._segmentIndexShift=a.length;for(const l of e)if(""===l.path&&hn(l)!==ht){const s=new bt([],{});s._sourceSegment=c,s._segmentIndexShift=a.length,o[hn(l)]=s}return o}(c,a,t,new bt(e,c.children)));return s._sourceSegment=c,s._segmentIndexShift=a.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function Dl(c,a,e){return e.some(t=>cs(c,a,t))}(c,e,t)){const s=new bt(c.segments,function R_(c,a,e,t,o,l){const s={};for(const n of t)if(cs(c,e,n)&&!o[hn(n)]){const i=new bt([],{});i._sourceSegment=c,i._segmentIndexShift="legacy"===l?c.segments.length:a.length,s[hn(n)]=i}return Object.assign(Object.assign({},o),s)}(c,a,e,t,c.children,o));return s._sourceSegment=c,s._segmentIndexShift=a.length,{segmentGroup:s,slicedSegments:e}}const l=new bt(c.segments,c.children);return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}function cs(c,a,e){return(!(c.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Hl(c,a,e,t){return!!(hn(c)===t||t!==ht&&cs(a,e,c))&&("**"===c.path||ro(a,c,e).matched)}function ds(c,a,e){return 0===a.length&&!c.children[e]}class ao{constructor(a){this.segmentGroup=a||null}}class vd{constructor(a){this.urlTree=a}}function rr(c){return new Qt.y(a=>a.error(new ao(c)))}function _p(c){return new Qt.y(a=>a.error(new vd(c)))}function oo(c){return new Qt.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${c}'`)))}class yA{constructor(a,e,t,o,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=o,this.config=l,this.allowRedirects=!0,this.ngModule=a.get(g.h0i)}apply(){const a=Ml(this.urlTree.root,[],[],this.config).segmentGroup,e=new bt(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ht).pipe((0,Be.U)(l=>this.createUrlTree(Rl(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,li.K)(l=>{if(l instanceof vd)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof ao?this.noMatchError(l):l}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,ht).pipe((0,Be.U)(o=>this.createUrlTree(Rl(o),a.queryParams,a.fragment))).pipe((0,li.K)(o=>{throw o instanceof ao?this.noMatchError(o):o}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const o=a.segments.length>0?new bt([],{[ht]:a}):a;return new Ln(o,e,t)}expandSegmentGroup(a,e,t,o){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,Be.U)(l=>new bt([],l))):this.expandSegment(a,t,e,t.segments,o,!0)}expandChildren(a,e,t){const o=[];for(const l of Object.keys(t.children))"primary"===l?o.unshift(l):o.push(l);return(0,Ai.D)(o).pipe((0,tt.b)(l=>{const s=t.children[l],n=gp(e,l);return this.expandSegmentGroup(a,n,s,l).pipe((0,Be.U)(i=>({segment:i,outlet:l})))}),Vt((l,s)=>(l[s.outlet]=s.segment,l),{}),function xi(c,a){const e=arguments.length>=2;return t=>t.pipe(c?(0,Xt.h)((o,l)=>c(o,l,t)):er.y,Sr(1),e?(0,es.d)(a):(0,Mr.T)(()=>new mi.K))}())}expandSegment(a,e,t,o,l,s){return(0,Ai.D)(t).pipe((0,tt.b)(n=>this.expandSegmentAgainstRoute(a,e,t,n,o,l,s).pipe((0,li.K)(r=>{if(r instanceof ao)return(0,Ue.of)(null);throw r}))),(0,Ki.P)(n=>!!n),(0,li.K)((n,i)=>{if(n instanceof mi.K||"EmptyError"===n.name){if(ds(e,o,l))return(0,Ue.of)(new bt([],{}));throw new ao(e)}throw n}))}expandSegmentAgainstRoute(a,e,t,o,l,s,n){return Hl(o,e,l,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(a,e,o,l,s):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s):rr(e):rr(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,o){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?_p(l):this.lineralizeSegments(t,l).pipe((0,ei.z)(s=>{const n=new bt(s,{});return this.expandSegment(a,n,e,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,o,l,s){const{matched:n,consumedSegments:i,lastChild:r,positionalParamSegments:d}=ro(e,o,l);if(!n)return rr(e);const u=this.applyRedirectCommands(i,o.redirectTo,d);return o.redirectTo.startsWith("/")?_p(u):this.lineralizeSegments(o,u).pipe((0,ei.z)(f=>this.expandSegment(a,e,t,f.concat(l.slice(r)),s,!1)))}matchSegmentAgainstRoute(a,e,t,o,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,Be.U)(f=>(t._loadedConfig=f,new bt(o,{})))):(0,Ue.of)(new bt(o,{}));const{matched:s,consumedSegments:n,lastChild:i}=ro(e,t,o);if(!s)return rr(e);const r=o.slice(i);return this.getChildConfig(a,t,o).pipe((0,ei.z)(u=>{const f=u.module,b=u.routes,{segmentGroup:H,slicedSegments:G}=Ml(e,n,r,b),oe=new bt(H.segments,H.children);if(0===G.length&&oe.hasChildren())return this.expandChildren(f,b,oe).pipe((0,Be.U)(At=>new bt(n,At)));if(0===b.length&&0===G.length)return(0,Ue.of)(new bt(n,{}));const Oe=hn(t)===l;return this.expandSegment(f,oe,b,G,Oe?ht:l,!0).pipe((0,Be.U)(nt=>new bt(n.concat(nt.segments),nt.children)))}))}getChildConfig(a,e,t){return e.children?(0,Ue.of)(new Cd(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,Ue.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,ei.z)(o=>o?this.configLoader.load(a.injector,e).pipe((0,Be.U)(l=>(e._loadedConfig=l,l))):function wd(c){return new Qt.y(a=>a.error(gl(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`)))}(e))):(0,Ue.of)(new Cd([],a))}runCanLoadGuards(a,e,t){const o=e.canLoad;if(!o||0===o.length)return(0,Ue.of)(!0);const l=o.map(s=>{const n=a.get(s);let i;if(function Jt(c){return c&&Rr(c.canLoad)}(n))i=n.canLoad(e,t);else{if(!Rr(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return dn(i)});return(0,Ue.of)(l).pipe(ls(),(0,Et.b)(s=>{if(!Li(s))return;const n=gl(`Redirecting to "${this.urlSerializer.serialize(s)}"`);throw n.url=s,n}),(0,Be.U)(s=>!0===s))}lineralizeSegments(a,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),0===o.numberOfChildren)return(0,Ue.of)(t);if(o.numberOfChildren>1||!o.children[ht])return oo(a.redirectTo);o=o.children[ht]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,o){const l=this.createSegmentGroup(a,e.root,t,o);return new Ln(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return Nt(a,(o,l)=>{if("string"==typeof o&&o.startsWith(":")){const n=o.substring(1);t[l]=e[n]}else t[l]=o}),t}createSegmentGroup(a,e,t,o){const l=this.createSegments(a,e.segments,t,o);let s={};return Nt(e.children,(n,i)=>{s[i]=this.createSegmentGroup(a,n,t,o)}),new bt(l,s)}createSegments(a,e,t,o){return e.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,o):this.findOrReturn(l,t))}findPosParam(a,e,t){const o=t[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return o}findOrReturn(a,e){let t=0;for(const o of e){if(o.path===a.path)return e.splice(t),o;t++}return a}}function Rl(c){const a={};for(const t of Object.keys(c.children)){const l=Rl(c.children[t]);(l.segments.length>0||l.hasChildren())&&(a[t]=l)}return function bp(c){if(1===c.numberOfChildren&&c.children[ht]){const a=c.children[ht];return new bt(c.segments.concat(a.segments),a.children)}return c}(new bt(c.segments,a))}class Cp{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Vr{constructor(a,e){this.component=a,this.route=e}}function Ad(c,a,e){const t=c._root;return us(t,a?a._root:null,e,[t.value])}function oa(c,a,e){const t=function Il(c){if(!c)return null;for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(c)}function us(c,a,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const l=nr(a);return c.children.forEach(s=>{(function yp(c,a,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){const l=c.value,s=a?a.value:null,n=e?e.getContext(c.value.outlet):null;if(s&&l.routeConfig===s.routeConfig){const i=function vp(c,a,e){if("function"==typeof e)return e(c,a);switch(e){case"pathParamsChange":return!tr(c.url,a.url);case"pathParamsOrQueryParamsChange":return!tr(c.url,a.url)||!en(c.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!as(c,a)||!en(c.queryParams,a.queryParams);default:return!as(c,a)}}(s,l,l.routeConfig.runGuardsAndResolvers);i?o.canActivateChecks.push(new Cp(t)):(l.data=s.data,l._resolvedData=s._resolvedData),us(c,a,l.component?n?n.children:null:e,t,o),i&&n&&n.outlet&&n.outlet.isActivated&&o.canDeactivateChecks.push(new Vr(n.outlet.component,s))}else s&&so(a,n,o),o.canActivateChecks.push(new Cp(t)),us(c,null,l.component?n?n.children:null:e,t,o)})(s,l[s.value.outlet],e,t.concat([s.value]),o),delete l[s.value.outlet]}),Nt(l,(s,n)=>so(s,e.getContext(n),o)),o}function so(c,a,e){const t=nr(c),o=c.value;Nt(t,(l,s)=>{so(l,o.component?a?a.children.getContext(s):null:a,e)}),e.canDeactivateChecks.push(new Vr(o.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,o))}class lo{}function Td(c){return new Qt.y(a=>a.error(c))}class Sd{constructor(a,e,t,o,l,s){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=o,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=s}recognize(){const a=Ml(this.urlTree.root,[],[],this.config.filter(s=>void 0===s.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,ht);if(null===e)return null;const t=new Yt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ht,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new tn(t,e),l=new hd(this.url,o);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(a){const e=a.value,t=yt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const l of Object.keys(e.children)){const s=e.children[l],n=gp(a,l),i=this.processSegmentGroup(n,s,l);if(null===i)return null;t.push(...i)}const o=Md(t);return function co(c){c.sort((a,e)=>a.value.outlet===ht?-1:e.value.outlet===ht?1:a.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(a,e,t,o){for(const l of a){const s=this.processSegmentAgainstRoute(l,e,t,o);if(null!==s)return s}return ds(e,t,o)?[]:null}processSegmentAgainstRoute(a,e,t,o){if(a.redirectTo||!Hl(a,e,t,o))return null;let l,s=[],n=[];if("**"===a.path){const b=t.length>0?_l(t).parameters:{};l=new Yt(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ep(a),hn(a),a.component,a,sa(e),O_(e)+t.length,qt(a))}else{const b=ro(e,a,t);if(!b.matched)return null;s=b.consumedSegments,n=t.slice(b.lastChild),l=new Yt(s,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ep(a),hn(a),a.component,a,sa(e),O_(e)+s.length,qt(a))}const i=function uo(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(a),{segmentGroup:r,slicedSegments:d}=Ml(e,s,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&r.hasChildren()){const b=this.processChildren(i,r);return null===b?null:[new tn(l,b)]}if(0===i.length&&0===d.length)return[new tn(l,[])];const u=hn(a)===o,f=this.processSegment(i,r,d,u?ht:o);return null===f?null:[new tn(l,f)]}}function ho(c){const a=c.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function Md(c){const a=[],e=new Set;for(const t of c){if(!ho(t)){a.push(t);continue}const o=a.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==o?(o.children.push(...t.children),e.add(o)):a.push(t)}for(const t of e){const o=Md(t.children);a.push(new tn(t.value,o))}return a.filter(t=>!e.has(t))}function sa(c){let a=c;for(;a._sourceSegment;)a=a._sourceSegment;return a}function O_(c){let a=c,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function Ep(c){return c.data||{}}function qt(c){return c.resolve||{}}function L_(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Sp(c){return(0,Ct.w)(a=>{const e=c(a);return e?(0,Ai.D)(e).pipe((0,Be.U)(()=>a)):(0,Ue.of)(a)})}class di extends class TA{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const fs=new g.OlP("ROUTES");class po{constructor(a,e,t,o){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=o}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe((0,Be.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=l.create(a);return new Cd(ld(s.injector.get(fs,void 0,g.XFs.Self|g.XFs.Optional)).map(aa),s)}),(0,li.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new Ie(o,()=>new Ge.x).pipe(Hi()),e._loader$}loadModuleFactory(a){return dn(a()).pipe((0,ei.z)(e=>e instanceof g.YKP?(0,Ue.of)(e):(0,Ai.D)(this.compiler.compileModuleAsync(e))))}}class j_{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function pn(c){throw c}function Nn(c,a,e){return a.parse("/")}function Dd(c,a){return(0,Ue.of)(null)}const Vl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ms={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bi=(()=>{class c{constructor(e,t,o,l,s,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=o,this.location=l,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ge.x,this.errorHandler=pn,this.malformedUriErrorHandler=Nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dd,afterPreactivation:Dd},this.urlHandlingStrategy=new j_,this.routeReuseStrategy=new di,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(g.h0i),this.console=s.get(g.c2e);const u=s.get(g.R0b);this.isNgZoneEnabled=u instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function na(){return new Ln(new bt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new po(s,n,f=>this.triggerEvent(new Fi(f)),f=>this.triggerEvent(new ad(f))),this.routerState=lp(this.currentUrlTree,this.rootComponentType),this.transitions=new Tt({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,Xt.h)(o=>0!==o.id),(0,Be.U)(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),(0,Ct.w)(o=>{let l=!1,s=!1;return(0,Ue.of)(o).pipe((0,Et.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ct.w)(n=>{const i=this.browserUrlTree.toString(),r=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Bl(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ue.of)(n).pipe((0,Ct.w)(u=>{const f=this.transitions.getValue();return t.next(new gi(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions.getValue()?Yi.E:Promise.resolve(u)}),function I_(c,a,e,t){return(0,Ct.w)(o=>function Pl(c,a,e,t,o){return new yA(c,a,e,t,o).apply()}(c,a,e,o.extractedUrl,t).pipe((0,Be.U)(l=>Object.assign(Object.assign({},o),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Et.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function F_(c,a,e,t,o){return(0,ei.z)(l=>function Ed(c,a,e,t,o="emptyOnly",l="legacy"){try{const s=new Sd(c,a,e,t,o,l).recognize();return null===s?Td(new lo):(0,Ue.of)(s)}catch(s){return Td(s)}}(c,a,l.urlAfterRedirects,e(l.urlAfterRedirects),t,o).pipe((0,Be.U)(s=>Object.assign(Object.assign({},l),{targetSnapshot:s}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Et.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const f=new ta(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(f)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:H,restoredState:G,extras:oe}=n,Oe=new gi(f,this.serializeUrl(b),H,G);t.next(Oe);const ct=lp(b,this.rootComponentType).snapshot;return(0,Ue.of)(Object.assign(Object.assign({},n),{targetSnapshot:ct,urlAfterRedirects:b,extras:Object.assign(Object.assign({},oe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Yi.E}),Sp(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Et.b)(n=>{const i=new Xi(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,Be.U)(n=>Object.assign(Object.assign({},n),{guards:Ad(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function wp(c,a){return(0,ei.z)(e=>{const{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:l,canDeactivateChecks:s}}=e;return 0===s.length&&0===l.length?(0,Ue.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function k_(c,a,e,t){return(0,Ai.D)(c).pipe((0,ei.z)(o=>function xp(c,a,e,t,o){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,Ue.of)(!0);const s=l.map(n=>{const i=oa(n,a,o);let r;if(function mp(c){return c&&Rr(c.canDeactivate)}(i))r=dn(i.canDeactivate(c,a,e,t));else{if(!Rr(i))throw new Error("Invalid CanDeactivate guard");r=dn(i(c,a,e,t))}return r.pipe((0,Ki.P)())});return(0,Ue.of)(s).pipe(ls())}(o.component,o.route,e,a,t)),(0,Ki.P)(o=>!0!==o,!0))}(s,t,o,c).pipe((0,ei.z)(n=>n&&function Ri(c){return"boolean"==typeof c}(n)?function V_(c,a,e,t){return(0,Ai.D)(a).pipe((0,tt.b)(o=>(0,Oi.z)(function hs(c,a){return null!==c&&a&&a(new Xh(c)),(0,Ue.of)(!0)}(o.route.parent,t),function kl(c,a){return null!==c&&a&&a(new tp(c)),(0,Ue.of)(!0)}(o.route,t),function Ap(c,a,e){const t=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(s=>function xd(c){const a=c.routeConfig?c.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:c,guards:a}:null}(s)).filter(s=>null!==s).map(s=>Tn(()=>{const n=s.guards.map(i=>{const r=oa(i,s.node,e);let d;if(function D_(c){return c&&Rr(c.canActivateChild)}(r))d=dn(r.canActivateChild(t,c));else{if(!Rr(r))throw new Error("Invalid CanActivateChild guard");d=dn(r(t,c))}return d.pipe((0,Ki.P)())});return(0,Ue.of)(n).pipe(ls())}));return(0,Ue.of)(l).pipe(ls())}(c,o.path,e),function B_(c,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ue.of)(!0);const o=t.map(l=>Tn(()=>{const s=oa(l,a,e);let n;if(function fp(c){return c&&Rr(c.canActivate)}(s))n=dn(s.canActivate(a,c));else{if(!Rr(s))throw new Error("Invalid CanActivate guard");n=dn(s(a,c))}return n.pipe((0,Ki.P)())}));return(0,Ue.of)(o).pipe(ls())}(c,o.route,e))),(0,Ki.P)(o=>!0!==o,!0))}(t,l,c,a):(0,Ue.of)(n)),(0,Be.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,Et.b)(n=>{if(Li(n.guardsResult)){const r=gl(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw r.url=n.guardsResult,r}const i=new ml(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,Xt.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),Sp(n=>{if(n.guards.canActivateChecks.length)return(0,Ue.of)(n).pipe((0,Et.b)(i=>{const r=new Kh(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}),(0,Ct.w)(i=>{let r=!1;return(0,Ue.of)(i).pipe(function vA(c,a){return(0,ei.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return(0,Ue.of)(e);let l=0;return(0,Ai.D)(o).pipe((0,tt.b)(s=>function wA(c,a,e,t){return function AA(c,a,e,t){const o=L_(c);if(0===o.length)return(0,Ue.of)({});const l={};return(0,Ai.D)(o).pipe((0,ei.z)(s=>function xA(c,a,e,t){const o=oa(c,a,t);return dn(o.resolve?o.resolve(a,e):o(a,e))}(c[s],a,e,t).pipe((0,Et.b)(n=>{l[s]=n}))),Sr(1),(0,ei.z)(()=>L_(l).length===o.length?(0,Ue.of)(l):Yi.E))}(c._resolve,c,a,t).pipe((0,Be.U)(l=>(c._resolvedData=l,c.data=Object.assign(Object.assign({},c.data),yt(c,e).resolve),null)))}(s.route,t,c,a)),(0,Et.b)(()=>l++),Sr(1),(0,ei.z)(s=>l===o.length?(0,Ue.of)(e):Yi.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Et.b)({next:()=>r=!0,complete:()=>{r||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,Et.b)(i=>{const r=new Zh(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}))}),Sp(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Be.U)(n=>{const i=function _A(c,a,e){const t=os(c,a._root,e?e._root:void 0);return new ud(t,a)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,Et.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((c,a,e)=>(0,Be.U)(t=>(new pp(a,t.targetRouterState,t.currentRouterState,e).activate(c),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,Et.b)({next(){l=!0},complete(){l=!0}}),Dt(()=>{var n;l||s||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===o.id&&(this.currentNavigation=null)}),(0,li.K)(n=>{if(s=!0,function rp(c){return c&&c[sd]}(n)){const i=Li(n.url);i||(this.navigated=!0,this.restoreHistory(o,!0));const r=new $a(o.id,this.serializeUrl(o.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bl(o.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const i=new ts(o.id,this.serializeUrl(o.extractedUrl),n);t.next(i);try{o.resolve(this.errorHandler(n))}catch(r){o.reject(r)}}return Yi.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 l={replaceUrl:!0},s=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(s){const i=Object.assign({},s);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(l.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,s,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){yd(e),this.config=e.map(aa),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:l,fragment:s,queryParamsHandling:n,preserveFragment:i}=t,r=o||this.routerState.root,d=i?this.currentUrlTree.fragment:s;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=l||null}return null!==u&&(u=this.removeEmptyProps(u)),function Pi(c,a,e,t,o){if(0===e.length)return Pr(a.root,a.root,a,t,o);const l=function up(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new dp(!0,0,c);let a=0,e=!1;const t=c.reduce((o,l,s)=>{if("object"==typeof l&&null!=l){if(l.outlets){const n={};return Nt(l.outlets,(i,r)=>{n[r]="string"==typeof i?i.split("/"):i}),[...o,{outlets:n}]}if(l.segmentPath)return[...o,l.segmentPath]}return"string"!=typeof l?[...o,l]:0===s?(l.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?a++:""!=n&&o.push(n))}),o):[...o,l]},[]);return new dp(e,a,t)}(e);if(l.toRoot())return Pr(a.root,new bt([],{}),a,t,o);const s=function S_(c,a,e){if(c.isAbsolute)return new pd(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new pd(l,l===a.root,0)}const t=un(c.commands[0])?0:1;return function fd(c,a,e){let t=c,o=a,l=e;for(;l>o;){if(l-=o,t=t.parent,!t)throw new Error("Invalid number of '../'");o=t.segments.length}return new pd(t,!1,o-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,c.numberOfDoubleDots)}(l,a,c),n=s.processChildren?to(s.segmentGroup,s.index,l.commands):gd(s.segmentGroup,s.index,l.commands);return Pr(s.segmentGroup,n,a,t,o)}(r,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const o=Li(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function N_(c){for(let a=0;a{const l=e[o];return null!=l&&(t[o]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ci(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,l,s){var n,i,r;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=Bl(t)&&d&&!Bl(d.source),f=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&f&&b)return Promise.resolve(!0);let G,oe,Oe;s?(G=s.resolve,oe=s.reject,Oe=s.promise):Oe=new Promise((At,In)=>{G=At,oe=In});const ct=++this.navigationId;let nt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),nt=o&&o.\u0275routerPageId?o.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(r=this.browserPageId)&&void 0!==r?r:0)+1):nt=0,this.setTransition({id:ct,targetPageId:nt,source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:G,reject:oe,promise:Oe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Oe.catch(At=>Promise.reject(At))}setBrowserUrl(e,t){const o=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl?this.location.replaceState(o,"",l):this.location.go(o,"",l)}restoreHistory(e,t=!1){var o,l;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}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 $a(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 c.\u0275fac=function(e){g.$Z()},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Bl(c){return"imperative"!==c}class ca{}class Pd{preload(a,e){return(0,Ue.of)(null)}}let Hp=(()=>{class c{constructor(e,t,o,l){this.router=e,this.injector=o,this.preloadingStrategy=l,this.loader=new po(o,t,i=>e.triggerEvent(new Fi(i)),i=>e.triggerEvent(new ad(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Xt.h)(e=>e instanceof ci),(0,tt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(g.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const o=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const s=l._loadedConfig;o.push(this.processRoutes(s.module,s.routes))}else l.loadChildren&&!l.canLoad?o.push(this.preloadConfig(e,l)):l.children&&o.push(this.processRoutes(e,l.children));return(0,Ai.D)(o).pipe((0,Wa.J)(),(0,Be.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ue.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,ei.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(bi),g.LFG(g.Sil),g.LFG(g.zs3),g.LFG(ca))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Rd=(()=>{class c{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 gi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ci&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof od&&(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 od(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(e){g.$Z()},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const da=new g.OlP("ROUTER_CONFIGURATION"),Pp=new g.OlP("ROUTER_FORROOT_GUARD"),Rp=[E.Ye,{provide:ns,useClass:Za},{provide:bi,useFactory:function z_(c,a,e,t,o,l,s={},n,i){const r=new bi(null,c,a,e,t,o,ld(l));return n&&(r.urlHandlingStrategy=n),i&&(r.routeReuseStrategy=i),function G_(c,a){c.errorHandler&&(a.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(a.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(a.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(a.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(a.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(a.canceledNavigationResolution=c.canceledNavigationResolution)}(s,r),s.enableTracing&&r.events.subscribe(d=>{var u,f;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(f=console.groupEnd)||void 0===f||f.call(console)}),r},deps:[ns,Ir,E.Ye,g.zs3,g.Sil,fs,da,[class EA{},new g.FiY],[class ps{},new g.FiY]]},Ir,{provide:be,useFactory:function U_(c){return c.routerState.root},deps:[bi]},Hp,Pd,class SA{preload(a,e){return e().pipe((0,li.K)(()=>(0,Ue.of)(null)))}},{provide:da,useValue:{enableTracing:!1}}];function Id(){return new g.PXZ("Router",bi)}let ua=(()=>{class c{constructor(e,t){}static forRoot(e,t){return{ngModule:c,providers:[Rp,_s(e),{provide:Pp,useFactory:kd,deps:[[bi,new g.FiY,new g.tp0]]},{provide:da,useValue:t||{}},{provide:E.S$,useFactory:gs,deps:[E.lw,[new g.tBr(E.mr),new g.FiY],da]},{provide:Rd,useFactory:DA,deps:[bi,E.EM,da]},{provide:ca,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Pd},{provide:g.PXZ,multi:!0,useFactory:Id},[Ol,{provide:g.ip1,multi:!0,useFactory:q_,deps:[Ol]},{provide:Vd,useFactory:bs,deps:[Ol]},{provide:g.tb,multi:!0,useExisting:Vd}]]}}static forChild(e){return{ngModule:c,providers:[_s(e)]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Pp,8),g.LFG(bi,8))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();function DA(c,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new Rd(c,a,e)}function gs(c,a,e={}){return e.useHash?new E.Do(c,a):new E.b0(c,a)}function kd(c){return"guarded"}function _s(c){return[{provide:g.deG,multi:!0,useValue:c},{provide:fs,multi:!0,useValue:c}]}let Ol=(()=>{class c{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ge.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const o=new Promise(n=>t=n),l=this.injector.get(bi),s=this.injector.get(da);return"disabled"===s.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,Ue.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),o})}bootstrapListener(e){const t=this.injector.get(da),o=this.injector.get(Hp),l=this.injector.get(Rd),s=this.injector.get(bi),n=this.injector.get(g.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&s.initialNavigation(),o.setUpPreloading(),l.init(),s.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.zs3))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function q_(c){return c.appInitializer.bind(c)}function bs(c){return c.bootstrapListener.bind(c)}const Vd=new g.OlP("Router Initializer");let Ip=(()=>{class c{constructor(){this.title="linker"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-root"]],decls:1,vars:0,template:function(e,t){1&e&&g._UZ(0,"router-outlet")},directives:[io],styles:[""]}),c})();var Cs=x(6114),y=x(520);class Lt{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const Kt=new g.OlP("basePath");class it{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let fo=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}convertAttributeToNonunique(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}convertAttributeToUnique(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}deleteAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attribute"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteAttributeDefinitions(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"attributes[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAllAttributeDefinitions(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAttribute(e,t,o,l,s,n,i,r,d,u,f,b="body",H=!1,G){let oe=new y.LE({encoder:this.encoder});null!=e&&(oe=this.addToHttpParams(oe,e,"attributeName")),null!=t&&(oe=this.addToHttpParams(oe,t,"attributeId")),null!=o&&(oe=this.addToHttpParams(oe,o,"facility")),null!=l&&(oe=this.addToHttpParams(oe,l,"user")),null!=s&&(oe=this.addToHttpParams(oe,s,"vo")),null!=n&&(oe=this.addToHttpParams(oe,n,"resource")),null!=i&&(oe=this.addToHttpParams(oe,i,"member")),null!=r&&(oe=this.addToHttpParams(oe,r,"group")),null!=d&&(oe=this.addToHttpParams(oe,d,"host")),null!=u&&(oe=this.addToHttpParams(oe,u,"userExtSource")),null!=f&&(oe=this.addToHttpParams(oe,f,"key"));let ct,Oe=this.defaultHeaders;ct=this.configuration.lookupCredential("BasicAuth"),ct&&(Oe=Oe.set("Authorization","Basic "+ct)),ct=this.configuration.lookupCredential("BearerAuth"),ct&&(Oe=Oe.set("Authorization","Bearer "+ct));let nt=G&&G.httpHeaderAccept;void 0===nt&&(nt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==nt&&(Oe=Oe.set("Accept",nt));let At=G&&G.context;void 0===At&&(At=new y.qT);let In="json";return nt&&(In=nt.startsWith("text")?"text":this.configuration.isJsonMime(nt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:At,params:oe,responseType:In,withCredentials:this.configuration.withCredentials,headers:Oe,observe:b,reportProgress:H})}getAttributeDefinitionById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeDefinitionByName(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeDefinitionsByNamespace(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeModulesDependenciesForAttributeGraphText(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"format")),null!=t&&(n=this.addToHttpParams(n,t,"attrName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getAttributeModulesDependenciesGraphText(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"format"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributePolicyCollections(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributeRights(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getAttributesDefinitionWithRights(e,t,o,l,s,n,i,r,d="body",u=!1,f){let b=new y.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=o&&(b=this.addToHttpParams(b,o,"vo")),null!=l&&(b=this.addToHttpParams(b,l,"group")),null!=s&&(b=this.addToHttpParams(b,s,"resource")),null!=n&&(b=this.addToHttpParams(b,n,"facility")),null!=i&&(b=this.addToHttpParams(b,i,"host")),null!=r&&(b=this.addToHttpParams(b,r,"userExtSource"));let G,H=this.defaultHeaders;G=this.configuration.lookupCredential("BasicAuth"),G&&(H=H.set("Authorization","Basic "+G)),G=this.configuration.lookupCredential("BearerAuth"),G&&(H=H.set("Authorization","Bearer "+G));let oe=f&&f.httpHeaderAccept;void 0===oe&&(oe=this.configuration.selectHeaderAccept(["application/json"])),void 0!==oe&&(H=H.set("Accept",oe));let Oe=f&&f.context;void 0===Oe&&(Oe=new y.qT);let ct="json";return oe&&(ct=oe.startsWith("text")?"text":this.configuration.isJsonMime(oe)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:Oe,params:b,responseType:ct,withCredentials:this.configuration.withCredentials,headers:H,observe:d,reportProgress:u})}getEntitylessAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getEntitylessAttributesByKey(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getEntitylessAttributesByName(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attrName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getEntitylessAttributesWithKeys(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attrName")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"keys[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getEntitylessKeys(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFacilityAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFacilityAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFacilityResourceUserMemberAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"facility")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"user")),null!=l&&(r=this.addToHttpParams(r,l,"member"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getFacilityUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"user"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupResourceAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getGroupResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getHostAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getHostAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getLogins(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getMemberAndUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAndUserAttributesByNames(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(H=>{i=this.addToHttpParams(i,H,"attrNames[]")}),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getMemberAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberGroupAndUserAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getMemberGroupAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getMemberGroupAttributesByNames(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attrNames[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAndUserFacilityAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getMemberResourceAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getMemberResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesFacility(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesFacilityService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesFacilityServices(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesGroupResourceService(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"service")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"group"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesHostService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"host"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesMember(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesMemberGroup(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberGroupResourceService(e,t,o,l,s,n="body",i=!1,r){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==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=o&&(d=this.addToHttpParams(d,o,"group")),null!=l&&(d=this.addToHttpParams(d,l,"member")),null!=s&&(d=this.addToHttpParams(d,s,"workWithUserAttributes"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}getRequiredAttributesMemberGroupService(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=o&&(r=this.addToHttpParams(r,o,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getRequiredAttributesMemberResource(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getRequiredAttributesMemberResourceService(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=o&&(r=this.addToHttpParams(r,o,"member")),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getRequiredAttributesResource(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesResourceService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesResourceServices(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesUser(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getRequiredAttributesUserFacility(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getRequiredAttributesVoService(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getResourceAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceGroupAndGroupAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"resource")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"workWithGroupAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getResourceGroupAndGroupAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getResourceGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getResourceGroupMemberAttributesByNames(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=o&&(r=this.addToHttpParams(r,o,"member")),l&&l.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getUserAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserExtSourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserExtSourceAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserFacilityAttributeById(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributeByName(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getUserFacilityAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributeById(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributeByName(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getVoAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoAttributesByNames(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(e,t,o,l,s,n,i="body",r=!1,d){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==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=o&&(u=this.addToHttpParams(u,o,"group")),null!=l&&(u=this.addToHttpParams(u,l,"user")),null!=s&&(u=this.addToHttpParams(u,s,"member")),n&&n.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(f=f.set("Accept",H));let G=d&&d.context;void 0===G&&(G=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:G,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}removeAttributesForFacilityResourceUserMember(e,t,o,l,s,n="body",i=!1,r){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==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=o&&(d=this.addToHttpParams(d,o,"user")),null!=l&&(d=this.addToHttpParams(d,l,"member")),s&&s.forEach(oe=>{d=this.addToHttpParams(d,oe,"attributes[]")});let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}removeEntitylessAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeFacilityAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeFacilityAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeGroupResourceAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}removeHostAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeHostAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")}),null!=o&&(i=this.addToHttpParams(i,o,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=l&&(r=this.addToHttpParams(r,l,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}removeMemberResourceAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeMemberResourceAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeResourceAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeResourceAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUesAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserExtSourceAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeUserFacilityAttribute(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=o&&(i=this.addToHttpParams(i,o,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeUserFacilityAttributes(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),o&&o.forEach(H=>{i=this.addToHttpParams(i,H,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}removeVoAttribute(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}removeVoAttributes(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}setAttributePolicyCollections(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setAttributeRights(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setEntitylessAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceGroupUserMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityResourceUserMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setFacilityUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setGroupResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setHostAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberGroupWithUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAndUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setMemberWithUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setResourceGroupWithGroupAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserExtSourceAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setUserFacilityAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttribute(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setVoAttributes(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateAttributeDefinition(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),mo=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAllPolicies(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=o&&(i=this.addToHttpParams(i,o,"complementaryObjectName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}getAuthzRichAdmins(e,t,o,l,s,n,i="body",r=!1,d){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==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=o&&(u=this.addToHttpParams(u,o,"complementaryObjectName")),l&&l.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"specificAttributes")}),null!=s&&(u=this.addToHttpParams(u,s,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let H=d&&d.httpHeaderAccept;void 0===H&&(H=this.configuration.selectHeaderAccept(["application/json"])),void 0!==H&&(f=f.set("Accept",H));let G=d&&d.context;void 0===G&&(G=new y.qT);let oe="json";return H&&(oe=H.startsWith("text")?"text":this.configuration.isJsonMime(H)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:G,params:u,responseType:oe,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}getFacilitiesWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupRoleNames(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupRoles(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getLoggedUser(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getPerunPrincipal(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getUserRoleNames(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getUserRoles(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVosWhereUserIsInRoles(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}isFacilityAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isGroupAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}isPerunAdmin(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",o=!1,l){let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}keepAlive(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setRoleWithUserComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithGroupComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}unsetRoleWithUserComplementaryObject(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Bp=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}sentMessageToRTWithMemberQueue(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"memberId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=o&&(r=this.addToHttpParams(r,o,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}sentMessageToRTWithQueue(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVo(e,t,o,l="body",s=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=o&&(i=this.addToHttpParams(i,o,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sentMessageToRTWithVoQueue(e,t,o,l,s="body",n=!1,i){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=o&&(r=this.addToHttpParams(r,o,"subject")),null!=l&&(r=this.addToHttpParams(r,l,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),J_=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}addApplicationMailForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addApplicationMailForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}addGroupsToAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}approveApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}checkForSimilarRichIdentities(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}consolidate(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}consolidateIdentityUsingToken(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}copyFormFromGroupToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromGroupToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromVoToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyFormFromVoToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromGroupToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromGroupToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromGroup")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromVoToGroup(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toGroup"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}copyMailsFromVoToVo(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"fromVo")),null!=t&&(n=this.addToHttpParams(n,t,"toVo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}createApplicationFormInGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}createApplicationFormInVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}deleteApplicationMailForGroup(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}deleteApplicationMailForVo(e,t,o="body",l=!1,s){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"id"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}deleteGroupsFromAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let s=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{s=this.addToHttpParams(s,f,"groups[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationDataById(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationMailsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getApplicationsForGroup(e,t,o,l,s="body",n=!1,i){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),t&&t.forEach(G=>{r=this.addToHttpParams(r,G,"state[]")}),null!=o&&(r=this.addToHttpParams(r,o,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getApplicationsForMember(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getApplicationsForVo(e,t,o,l,s="body",n=!1,i){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"vo")),t&&t.forEach(G=>{r=this.addToHttpParams(r,G,"state[]")}),null!=o&&(r=this.addToHttpParams(r,o,"dateFrom")),null!=l&&(r=this.addToHttpParams(r,l,"dateTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}getApplicationsPage(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}getConsolidatorToken(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForGroupWithType(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getFormItemsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getFormItemsForVoWithType(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"type"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}getGroupApplicationForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getGroupsToAutoRegistration(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}getVoApplicationForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}rejectApplication(e,t,o="body",l=!1,s){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"id")),null!=t&&(n=this.addToHttpParams(n,t,"reason"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}sendInvitation(e,t,o,l,s="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=o&&(r=this.addToHttpParams(r,o,"voId")),null!=l&&(r=this.addToHttpParams(r,l,"name")),null!=e&&(r=this.addToHttpParams(r,e,"email")),null!=t&&(r=this.addToHttpParams(r,t,"language"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let H="json";return f&&(H=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:r,responseType:H,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:n})}sendInvitationForGroup(e,t,o,l,s,n="body",i=!1,r){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 d=new y.LE({encoder:this.encoder});null!=o&&(d=this.addToHttpParams(d,o,"voId")),null!=l&&(d=this.addToHttpParams(d,l,"groupId")),null!=s&&(d=this.addToHttpParams(d,s,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let H=r&&r.context;void 0===H&&(H=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:H,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}sendInvitationGroupToExistingUser(e,t,o,l="body",s=!1,n){let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"userId")),null!=t&&(i=this.addToHttpParams(i,t,"voId")),null!=o&&(i=this.addToHttpParams(i,o,"groupId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:l,reportProgress:s})}sendInvitationToExistingUser(e,t,o="body",l=!1,s){let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userId")),null!=t&&(n=this.addToHttpParams(n,t,"voId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=s&&s.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=s&&s.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:o,reportProgress:l})}sendMessage(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}setSendingEnabled(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}submitApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateApplicationMail(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateForm(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemData(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsData(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForGroup(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}updateFormItemsForVo(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let n,s=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(s=s.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(s=s.set("Authorization","Bearer "+n));let i=l&&l.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(s=s.set("Accept",i));let r=l&&l.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(s=s.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:o})}verifyApplication(e,t="body",o=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let s=new y.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=l&&l.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:d,params:s,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Fp=(()=>{class c{constructor(e,t,o){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new it,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}addToHttpParams(e,t,o){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,o):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,o){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,o));else if(t instanceof Date){if(null==o)throw Error("key may not be null if value is Date");e=e.append(o,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=o?`${o}.${l}`:l));else{if(null==o)throw Error("key may not be null if value is not object or array");e=e.append(o,t)}return e}getAppsConfig(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,o){let s,l=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(l=l.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(l=l.set("Authorization","Bearer "+s));let n=o&&o.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(l=l.set("Accept",n));let i=o&&o.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(Kt,8),g.LFG(it,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),ab=(()=>{class c{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:c,providers:[{provide:it,useFactory:e}]}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(c,12),g.LFG(y.eN,8))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[],imports:[[]]}),c})();var pt=(()=>{return(c=pt||(pt={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",pt;var c})();let ob=(()=>{class c{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 l=[];for(const n of o)l=l.concat(n.perunRoles);const s=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,s)}principalHasRole(e,t,o){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(o.toString()))}canManageFacilities(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER,pt.FACILITYADMIN,pt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(pt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(pt.PERUNADMIN,pt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(pt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(pt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(pt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(pt.PERUNADMIN,pt.VOOBSERVER,pt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(pt.PERUNADMIN,pt.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.substring(4)),this.assignAvailableRoles(t,o);const l=new Map;this.setRolesAuthorization(t,e,l);for(const s of l.values())if(s.readAuth||s.manageAuth)return!0;return!1}setRolesAuthorization(e,t,o){for(const l of e){let s=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){s=s.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const H of Object.keys(b.entitiesToManage))i="User"===H?[H].concat(i):i.concat(H);break}const r=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(s,r),u=this.resolveAuthorization(n,r);o.set(l,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const o of e){let l=!0;for(const s of Object.keys(o)){const n=o[s];if(null===n)this.principalRoles.has(s)||(l=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(s,n,i)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const o of e){let l=o.beanName;switch(o.beanName.startsWith("Rich")&&(l=o.beanName.substring(4)),t[l]?t[l].push(o.id):t[l]=[o.id],l){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let o=[];for(o.push(e);0!==o.length;){const s=o.shift();if(t.has(s))continue;const n=this.getPerunPolicy(s);if(!n)return[];t.set(s,n),o=o.concat(n.includePolicies)}const l=[];for(const s of t.values())l.push(s);return l}voCustomSort(e){for(let t=0;t{class c{constructor(e){if(this.value="ltr",this.change=new g.vpe,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function As(c){const a=(null==c?void 0:c.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?lb.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(sb,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();try{Ll="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(c){Ll=!1}let fa,Or,zd,Ii=(()=>{class c{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!Ll)&&"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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.Lbi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function or(c){return function jd(){if(null==fa&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fa=!0}))}finally{fa=fa||!1}return fa}()?c:!!c.capture}function db(){if(null==Or){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Or=!1,Or;if("scrollBehavior"in document.documentElement.style)Or=!0;else{const c=Element.prototype.scrollTo;Or=!!c&&!/\{\s*\[native code\]\s*\}/.test(c.toString())}}return Or}function Ts(c){if(function ub(){if(null==zd){const c="undefined"!=typeof document?document.head:null;zd=!(!c||!c.createShadowRoot&&!c.attachShadow)}return zd}()){const a=c.getRootNode?c.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function Co(){let c="undefined"!=typeof document&&document?document.activeElement:null;for(;c&&c.shadowRoot;){const a=c.shadowRoot.activeElement;if(a===c)break;c=a}return c}function fn(c){return c.composedPath?c.composedPath()[0]:c.target}function Es(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Ub(c,a){return c===a}x(8372);var qb=x(5032);function ui(c){return(0,Ft.e)((a,e)=>{(0,Xn.Xf)(c).subscribe((0,Ji.x)(e,()=>e.complete(),qb.Z)),!e.closed&&a.subscribe(e)})}function gt(c){return null!=c&&"false"!=`${c}`}function cr(c,a=0){return function Wb(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}(c)?Number(c):a}function pf(c){return Array.isArray(c)?c:[c]}function qe(c){return null==c?"":"string"==typeof c?c:`${c}px`}function ai(c){return c instanceof g.SBq?c.nativeElement:c}let Yd=(()=>{class c{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),vo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Yd]}),c})(),bf=(()=>{class c{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Jb(c){return!!(c.offsetWidth||c.offsetHeight||"function"==typeof c.getClientRects&&c.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Yb(c){try{return c.frameElement}catch(a){return null}}(function B0(c){return c.ownerDocument&&c.ownerDocument.defaultView||window}(e));if(t&&(-1===tu(t)||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),l=tu(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Xb(c){let a=c.nodeName.toLowerCase(),e="input"===a&&c.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==l:"video"===o?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function iu(c){return!function Cf(c){return function Zb(c){return"input"==c.nodeName.toLowerCase()}(c)&&"hidden"==c.type}(c)&&(function Kb(c){let a=c.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(c)||function k0(c){return function V0(c){return"a"==c.nodeName.toLowerCase()}(c)&&c.hasAttribute("href")}(c)||c.hasAttribute("contenteditable")||eu(c))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function eu(c){if(!c.hasAttribute("tabindex")||void 0===c.tabIndex)return!1;let a=c.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function tu(c){if(!eu(c))return null;const a=parseInt(c.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class O0{constructor(a,e,t,o,l=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Pt.q)(1)).subscribe(a)}}let F0=(()=>{class c{constructor(e,t,o){this._checker=e,this._ngZone=t,this._document=o}create(e,t=!1){return new O0(e,this._checker,this._ngZone,this._document,t)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(bf),g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function yf(c){return 0===c.buttons||0===c.offsetX&&0===c.offsetY}function Gn(c){const a=c.touches&&c.touches[0]||c.changedTouches&&c.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const nu=new g.OlP("cdk-input-modality-detector-options"),eC={ignoreKeys:[18,17,224,91,16]},Lr=or({passive:!0,capture:!0});let vf=(()=>{class c{constructor(e,t,o,l){this._platform=e,this._mostRecentTarget=null,this._modality=new Tt(null),this._lastTouchMs=0,this._onKeydown=s=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(r=>r===s.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=fn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(yf(s)?"keyboard":"mouse"),this._mostRecentTarget=fn(s))},this._onTouchstart=s=>{Gn(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fn(s))},this._options=Object.assign(Object.assign({},eC),l),this.modalityDetected=this._modality.pipe(function hf(c){return(0,Xt.h)((a,e)=>c<=e)}(1)),this.modalityChanged=this.modalityDetected.pipe(function Gb(c,a=er.y){return c=null!=c?c:Ub,(0,Ft.e)((e,t)=>{let o,l=!0;e.subscribe((0,Ji.x)(t,s=>{const n=a(s);(l||!c(o,n))&&(l=!1,o=n,t.next(s))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Lr),o.addEventListener("mousedown",this._onMousedown,Lr),o.addEventListener("touchstart",this._onTouchstart,Lr)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Lr),document.removeEventListener("mousedown",this._onMousedown,Lr),document.removeEventListener("touchstart",this._onTouchstart,Lr))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(g.R0b),g.LFG(E.K0),g.LFG(nu,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const au=new g.OlP("cdk-focus-monitor-default-options"),Ql=or({passive:!0,capture:!0});let _a=(()=>{class c{constructor(e,t,o,l,s){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 Ge.x,this._rootNodeFocusAndBlurListener=n=>{const i=fn(n),r="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)r.call(this,n,d)},this._document=l,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(e,t=!1){const o=ai(e);if(!this._platform.isBrowser||1!==o.nodeType)return(0,Ue.of)(null);const l=Ts(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return t&&(s.checkChildren=!0),s.subject;const n={checkChildren:t,subject:new Ge.x,rootNode:l};return this._elementInfo.set(o,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=ai(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 l=ai(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof l.focus&&l.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),l=fn(e);!o||!o.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),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,Ql),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ql)}),this._rootNodeFocusListenerCount.set(t,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ui(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!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,Ql),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ql),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,l)=>{(l===e||o.checkChildren&&l.contains(e))&&t.push([l,o])}),t}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(Ii),g.LFG(vf),g.LFG(E.K0,8),g.LFG(au,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Af="cdk-high-contrast-black-on-white",wo="cdk-high-contrast-white-on-black",jr="cdk-high-contrast-active";let Yl=(()=>{class c{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,l=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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(jr),e.remove(Af),e.remove(wo),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(jr),e.add(Af)):2===t&&(e.add(jr),e.add(wo))}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Nr=(()=>{class c{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Yl))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[vo]]}),c})();class Ao{}const dr="*";function Zt(c,a){return{type:7,name:c,definitions:a,options:{}}}function wt(c,a=null){return{type:4,styles:a,timings:c}}function Jl(c,a=null){return{type:3,steps:c,options:a}}function Kl(c,a=null){return{type:2,steps:c,options:a}}function Le(c){return{type:6,styles:c,offset:null}}function lt(c,a,e){return{type:0,name:c,styles:a,options:e}}function vt(c,a,e=null){return{type:1,expr:c,animation:a,options:e}}function Ds(c=null){return{type:9,options:c}}function Zl(c,a,e=null){return{type:11,selector:c,animation:a,options:e}}function xf(c){Promise.resolve(null).then(c)}class Hs{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){xf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ji{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,o=0;const l=this.players.length;0==l?xf(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==l&&this._onFinish()}),s.onDestroy(()=>{++t==l&&this._onDestroy()}),s.onStart(()=>{++o==l&&this._onStart()})}),this.totalTime=this.players.reduce((s,n)=>Math.max(s,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function aC(){return"undefined"!=typeof window&&void 0!==window.document}function Tf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ca(c){switch(c.length){case 0:return new Hs;case 1:return c[0];default:return new ji(c)}}function su(c,a,e,t,o={},l={}){const s=[],n=[];let i=-1,r=null;if(t.forEach(d=>{const u=d.offset,f=u==i,b=f&&r||{};Object.keys(d).forEach(H=>{let G=H,oe=d[H];if("offset"!==H)switch(G=a.normalizePropertyName(G,s),oe){case"!":oe=o[H];break;case dr:oe=l[H];break;default:oe=a.normalizeStyleValue(H,G,oe,s)}b[G]=oe}),f||n.push(b),r=b,i=u}),s.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${s.join(d)}`)}return n}function Ef(c,a,e,t){switch(a){case"start":c.onStart(()=>t(e&&lu(e,"start",c)));break;case"done":c.onDone(()=>t(e&&lu(e,"done",c)));break;case"destroy":c.onDestroy(()=>t(e&&lu(e,"destroy",c)))}}function lu(c,a,e){const t=e.totalTime,l=Ps(c.element,c.triggerName,c.fromState,c.toState,a||c.phaseName,null==t?c.totalTime:t,!!e.disabled),s=c._data;return null!=s&&(l._data=s),l}function Ps(c,a,e,t,o="",l=0,s){return{element:c,triggerName:a,fromState:e,toState:t,phaseName:o,totalTime:l,disabled:!!s}}function Ni(c,a,e){let t;return c instanceof Map?(t=c.get(a),t||c.set(a,t=e)):(t=c[a],t||(t=c[a]=e)),t}function Sf(c){const a=c.indexOf(":");return[c.substring(1,a),c.substr(a+1)]}let cu=(c,a)=>!1,Mf=(c,a,e)=>[];(Tf()||"undefined"!=typeof Element)&&(cu=aC()?(c,a)=>{for(;a&&a!==document.documentElement;){if(a===c)return!0;a=a.parentNode||a.host}return!1}:(c,a)=>c.contains(a),Mf=(c,a,e)=>{if(e)return Array.from(c.querySelectorAll(a));const t=c.querySelector(a);return t?[t]:[]});let zr=null,Df=!1;function Hf(c){zr||(zr=function Pf(){return"undefined"!=typeof document?document.body:null}()||{},Df=!!zr.style&&"WebkitAppearance"in zr.style);let a=!0;return zr.style&&!function sC(c){return"ebkit"==c.substring(1,6)}(c)&&(a=c in zr.style,!a&&Df&&(a="Webkit"+c.charAt(0).toUpperCase()+c.substr(1)in zr.style)),a}const du=cu,Rf=Mf;let Xl=(()=>{class c{validateStyleProperty(e){return Hf(e)}matchesElement(e,t){return!1}containsElement(e,t){return du(e,t)}query(e,t,o){return Rf(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,l,s,n=[],i){return new Hs(o,l)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),uu=(()=>{class c{}return c.NOOP=new Xl,c})();const hu="ng-enter",ec="ng-leave",tc="ng-trigger",To=".ng-trigger",kf="ng-animating",pu=".ng-animating";function Un(c){if("number"==typeof c)return c;const a=c.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Rs(parseFloat(a[1]),a[2])}function Rs(c,a){return"s"===a?1e3*c:c}function ic(c,a,e){return c.hasOwnProperty("duration")?c:function fu(c,a,e){let o,l=0,s="";if("string"==typeof c){const n=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return a.push(`The provided timing value "${c}" is invalid.`),{duration:0,delay:0,easing:""};o=Rs(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(l=Rs(parseFloat(i),n[4]));const r=n[5];r&&(s=r)}else o=c;if(!e){let n=!1,i=a.length;o<0&&(a.push("Duration values below 0 are not allowed for this animation step."),n=!0),l<0&&(a.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&a.splice(i,0,`The provided timing value "${c}" is invalid.`)}return{duration:o,delay:l,easing:s}}(c,a,e)}function Gr(c,a={}){return Object.keys(c).forEach(e=>{a[e]=c[e]}),a}function Ur(c,a,e={}){if(a)for(let t in c)e[t]=c[t];else Gr(c,e);return e}function Vf(c,a,e){return e?a+":"+e+";":""}function nc(c){let a="";for(let e=0;e{const o=_u(t);e&&!e.hasOwnProperty(t)&&(e[t]=c.style[o]),c.style[o]=a[t]}),Tf()&&nc(c))}function ya(c,a){c.style&&(Object.keys(a).forEach(e=>{const t=_u(e);c.style[t]=""}),Tf()&&nc(c))}function Eo(c){return Array.isArray(c)?1==c.length?c[0]:Kl(c):c}const rc=new RegExp("{{\\s*(.+?)\\s*}}","g");function gu(c){let a=[];if("string"==typeof c){let e;for(;e=rc.exec(c);)a.push(e[1]);rc.lastIndex=0}return a}function Is(c,a,e){const t=c.toString(),o=t.replace(rc,(l,s)=>{let n=a[s];return a.hasOwnProperty(s)||(e.push(`Please provide a value for the animation param ${s}`),n=""),n.toString()});return o==t?c:o}function gn(c){const a=[];let e=c.next();for(;!e.done;)a.push(e.value),e=c.next();return a}const ac=/-+([a-z0-9])/g;function _u(c){return c.replace(ac,(...a)=>a[1].toUpperCase())}function dC(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zi(c,a,e){switch(a.type){case 7:return c.visitTrigger(a,e);case 0:return c.visitState(a,e);case 1:return c.visitTransition(a,e);case 2:return c.visitSequence(a,e);case 3:return c.visitGroup(a,e);case 4:return c.visitAnimate(a,e);case 5:return c.visitKeyframes(a,e);case 6:return c.visitStyle(a,e);case 8:return c.visitReference(a,e);case 9:return c.visitAnimateChild(a,e);case 10:return c.visitAnimateRef(a,e);case 11:return c.visitQuery(a,e);case 12:return c.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function oc(c,a){return window.getComputedStyle(c)[a]}function uC(c,a){const e=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(t=>function Cu(c,a,e){if(":"==c[0]){const i=function Of(c,a){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(c,e);if("function"==typeof i)return void a.push(i);c=i}const t=c.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${c}" is not supported`),a;const o=t[1],l=t[2],s=t[3];a.push(Ff(o,s));"<"==l[0]&&!("*"==o&&"*"==s)&&a.push(Ff(s,o))}(t,e,a)):e.push(c),e}const ks=new Set(["true","1"]),Vs=new Set(["false","0"]);function Ff(c,a){const e=ks.has(c)||Vs.has(c),t=ks.has(a)||Vs.has(a);return(o,l)=>{let s="*"==c||c==o,n="*"==a||a==l;return!s&&e&&"boolean"==typeof o&&(s=o?ks.has(c):Vs.has(c)),!n&&t&&"boolean"==typeof l&&(n=l?ks.has(a):Vs.has(a)),s&&n}}const hC=new RegExp("s*:selfs*,?","g");function yu(c,a,e){return new So(c).build(a,e)}class So{constructor(a){this._driver=a}build(a,e){const t=new fC(e);return this._resetContextStyleTimingState(t),zi(this,Eo(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,o=e.depCount=0;const l=[],s=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,r=i.name;r.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,l.push(this.visitState(i,e))}),i.name=r}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,o+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:l,transitions:s,queryCount:t,depCount:o,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),o=a.options&&a.options.params||null;if(t.containsDynamicStyles){const l=new Set,s=o||{};if(t.styles.forEach(n=>{if(lc(n)){const i=n;Object.keys(i).forEach(r=>{gu(i[r]).forEach(d=>{s.hasOwnProperty(d)||l.add(d)})})}}),l.size){const n=gn(l.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:a.name,style:t,options:o?{params:o}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=zi(this,Eo(a.animation),e);return{type:1,matchers:uC(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:va(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>zi(this,t,e)),options:va(a.options)}}visitGroup(a,e){const t=e.currentTime;let o=0;const l=a.steps.map(s=>{e.currentTime=t;const n=zi(this,s,e);return o=Math.max(o,e.currentTime),n});return e.currentTime=o,{type:3,steps:l,options:va(a.options)}}visitAnimate(a,e){const t=function mC(c,a){let e=null;if(c.hasOwnProperty("duration"))e=c;else if("number"==typeof c)return wu(ic(c,a).duration,0,"");const t=c;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=wu(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||ic(t,a),wu(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let o,l=a.styles?a.styles:Le({});if(5==l.type)o=this.visitKeyframes(l,e);else{let s=a.styles,n=!1;if(!s){n=!0;const r={};t.easing&&(r.easing=t.easing),s=Le(r)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(s,e);i.isEmptyStep=n,o=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:o,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(s=>{"string"==typeof s?s==dr?t.push(s):e.errors.push(`The provided style string value ${s} is not allowed.`):t.push(s)}):t.push(a.styles);let o=!1,l=null;return t.forEach(s=>{if(lc(s)){const n=s,i=n.easing;if(i&&(l=i,delete n.easing),!o)for(let r in n)if(n[r].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:t,easing:l,offset:a.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let o=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),a.styles.forEach(s=>{"string"!=typeof s&&Object.keys(s).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],r=i[n];let d=!0;r&&(l!=o&&l>=r.startTime&&o<=r.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${o}ms"`),d=!1),l=r.startTime),d&&(i[n]={startTime:l,endTime:o}),e.options&&function Bf(c,a,e){const t=a.params||{},o=gu(c);o.length&&o.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(s[n],e.options,e.errors)})})}visitKeyframes(a,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 l=0;const s=[];let n=!1,i=!1,r=0;const d=a.steps.map(Oe=>{const ct=this._makeStyleAst(Oe,e);let nt=null!=ct.offset?ct.offset:function Mo(c){if("string"==typeof c)return null;let a=null;if(Array.isArray(c))c.forEach(e=>{if(lc(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(lc(c)&&c.hasOwnProperty("offset")){const e=c;a=parseFloat(e.offset),delete e.offset}return a}(ct.styles),At=0;return null!=nt&&(l++,At=ct.offset=nt),i=i||At<0||At>1,n=n||At0&&l{const nt=f>0?ct==b?1:f*ct:s[ct],At=nt*oe;e.currentTime=H+G.delay+At,G.duration=At,this._validateStyleAst(Oe,e),Oe.offset=nt,t.styles.push(Oe)}),t}visitReference(a,e){return{type:8,animation:zi(this,Eo(a.animation),e),options:va(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:va(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:va(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,o=a.options||{};e.queryCount++,e.currentQuery=a;const[l,s]=function Lf(c){const a=!!c.split(/\s*,\s*/).find(e=>":self"==e);return a&&(c=c.replace(hC,"")),c=c.replace(/@\*/g,To).replace(/@\w+/g,e=>To+"-"+e.substr(1)).replace(/:animating/g,pu),[c,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+l:l,Ni(e.collectedStyles,e.currentQuerySelector,{});const n=zi(this,Eo(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:n,originalSelector:a.selector,options:va(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:ic(a.timings,e.errors,!0);return{type:12,animation:zi(this,Eo(a.animation),e),timings:t,options:null}}}class fC{constructor(a){this.errors=a,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 lc(c){return!Array.isArray(c)&&"object"==typeof c}function va(c){return c?(c=Gr(c)).params&&(c.params=function pC(c){return c?Gr(c):null}(c.params)):c={},c}function wu(c,a,e){return{duration:c,delay:a,easing:e}}function Gi(c,a,e,t,o,l,s=null,n=!1){return{type:1,element:c,keyframes:a,preStyleProps:e,postStyleProps:t,duration:o,delay:l,totalTime:o+l,easing:s,subTimeline:n}}class Do{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const zf=new RegExp(":enter","g"),gC=new RegExp(":leave","g");function Au(c,a,e,t,o,l={},s={},n,i,r=[]){return(new _C).buildKeyframes(c,a,e,t,o,l,s,n,i,r)}class _C{buildKeyframes(a,e,t,o,l,s,n,i,r,d=[]){r=r||new Do;const u=new dc(a,e,r,o,l,d,[]);u.options=i,u.currentTimeline.setStyles([s],null,u.errors,i),zi(this,t,u);const f=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let H=f.length-1;H>=0;H--){const G=f[H];if(G.element===e){b=G;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return f.length?f.map(b=>b.buildKeyframes()):[Gi(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const o=e.createSubContext(a.options),l=e.currentTimeline.currentTime,s=this._visitSubInstructions(t,o,o.options);l!=s&&e.transformIntoNewTimeline(s)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let l=e.currentTimeline.currentTime;const s=null!=t.duration?Un(t.duration):null,n=null!=t.delay?Un(t.delay):null;return 0!==s&&a.forEach(i=>{const r=e.appendInstructionToTimeline(i,s,n);l=Math.max(l,r.duration+r.delay)}),l}visitReference(a,e){e.updateOptions(a.options,!0),zi(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let o=e;const l=a.options;if(l&&(l.params||l.delay)&&(o=e.createSubContext(l),o.transformIntoNewTimeline(),null!=l.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=cc);const s=Un(l.delay);o.delayNextStep(s)}a.steps.length&&(a.steps.forEach(s=>zi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let o=e.currentTimeline.currentTime;const l=a.options&&a.options.delay?Un(a.options.delay):0;a.steps.forEach(s=>{const n=e.createSubContext(a.options);l&&n.delayNextStep(l),zi(this,s,n),o=Math.max(o,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return ic(e.params?Is(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=o&&o.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(l):t.setStyles(a.styles,l,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,o=e.currentTimeline.duration,l=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,a.styles.forEach(i=>{n.forwardTime((i.offset||0)*l),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(o+l),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,o=a.options||{},l=o.delay?Un(o.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cc);let s=t;const n=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((r,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(a.options,r);l&&u.delayNextStep(l),r===e.element&&(i=u.currentTimeline),zi(this,a.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,o=e.currentTimeline,l=a.timings,s=Math.abs(l.duration),n=s*(e.currentQueryTotal-1);let i=s*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;zi(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=o.currentTime-u+(o.startTime-t.currentTimeline.startTime)}}const cc={};class dc{constructor(a,e,t,o,l,s,n,i){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=l,this.errors=s,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new xu(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let o=this.options;null!=t.duration&&(o.duration=Un(t.duration)),null!=t.delay&&(o.delay=Un(t.delay));const l=t.params;if(l){let s=o.params;s||(s=this.options.params={}),Object.keys(l).forEach(n=>{(!e||!s.hasOwnProperty(n))&&(s[n]=Is(l[n],s,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return a}createSubContext(a=null,e,t){const o=e||this.element,l=new dc(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=cc,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const o={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},l=new Uf(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,o,a.stretchStartingKeyframe);return this.timelines.push(l),o}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,o,l,s){let n=[];if(o&&n.push(this.element),a.length>0){a=(a=a.replace(zf,"."+this._enterClassName)).replace(gC,"."+this._leaveClassName);let r=this._driver.query(this.element,a,1!=t);0!==t&&(r=t<0?r.slice(r.length+t,r.length):r.slice(0,t)),n.push(...r)}return!l&&0==n.length&&s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class xu{constructor(a,e,t,o){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new xu(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||dr,this._currentKeyframe[e]=dr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,o){e&&(this._previousKeyframe.easing=e);const l=o&&o.params||{},s=function bC(c,a){const e={};let t;return c.forEach(o=>{"*"===o?(t=t||Object.keys(a),t.forEach(l=>{e[l]=dr})):Ur(o,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(s).forEach(n=>{const i=Is(s[n],l,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:dr),this._updateStyle(n,i)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],o=a._styleSummary[e];(!t||o.time>t.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((n,i)=>{const r=Ur(n,!0);Object.keys(r).forEach(d=>{const u=r[d];"!"==u?a.add(d):u==dr&&e.add(d)}),t||(r.offset=i/this.duration),o.push(r)});const l=a.size?gn(a.values()):[],s=e.size?gn(e.values()):[];if(t){const n=o[0],i=Gr(n);n.offset=0,i.offset=1,o=[n,i]}return Gi(this.element,o,l,s,this.duration,this.startTime,this.easing,!1)}}class Uf extends xu{constructor(a,e,t,o,l,s,n=!1){super(a,e,s.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=l,this._stretchStartingKeyframe=n,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],s=t+e,n=e/s,i=Ur(a[0],!1);i.offset=0,l.push(i);const r=Ur(a[0],!1);r.offset=qf(n),l.push(r);const d=a.length-1;for(let u=1;u<=d;u++){let f=Ur(a[u],!1);f.offset=qf((e+f.offset*t)/s),l.push(f)}t=s,e=0,o="",a=l}return Gi(this.element,a,this.preStyleProps,this.postStyleProps,t,e,o,!0)}}function qf(c,a=3){const e=Math.pow(10,a-1);return Math.round(c*e)/e}class Wf{}class CC extends Wf{normalizePropertyName(a,e){return _u(a)}normalizeStyleValue(a,e,t,o){let l="";const s=t.toString().trim();if(Qf[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&o.push(`Please provide a CSS unit value for ${a}:${t}`)}return s+l}}const Qf=(()=>function Yf(c){const a={};return c.forEach(e=>a[e]=!0),a}("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 yC(c,a,e,t,o,l,s,n,i,r,d,u,f){return{type:0,element:c,triggerName:a,isRemovalTransition:o,fromState:e,fromStyles:l,toState:t,toStyles:s,timelines:n,queriedElements:i,preStyleProps:r,postStyleProps:d,totalTime:u,errors:f}}const rn={};class vC{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,o){return function z0(c,a,e,t,o){return c.some(l=>l(a,e,t,o))}(this.ast.matchers,a,e,t,o)}buildStyles(a,e,t){const o=this._stateStyles["*"],l=this._stateStyles[a],s=o?o.buildStyles(e,t):{};return l?l.buildStyles(e,t):s}build(a,e,t,o,l,s,n,i,r,d){const u=[],f=this.ast.options&&this.ast.options.params||rn,H=this.buildStyles(t,n&&n.params||rn,u),G=i&&i.params||rn,oe=this.buildStyles(o,G,u),Oe=new Set,ct=new Map,nt=new Map,At="void"===o,In={params:Object.assign(Object.assign({},f),G)},Qn=d?[]:Au(a,e,this.ast.animation,l,s,H,oe,In,r,u);let on=0;if(Qn.forEach(ja=>{on=Math.max(ja.duration+ja.delay,on)}),u.length)return yC(e,this._triggerName,t,o,At,H,oe,[],[],ct,nt,on,u);Qn.forEach(ja=>{const Na=ja.element,OS=Ni(ct,Na,{});ja.preStyleProps.forEach(dl=>OS[dl]=!0);const Qh=Ni(nt,Na,{});ja.postStyleProps.forEach(dl=>Qh[dl]=!0),Na!==e&&Oe.add(Na)});const La=gn(Oe.values());return yC(e,this._triggerName,t,o,At,H,oe,Qn,La,ct,nt,on)}}class Jf{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},o=Gr(this.defaultParams);return Object.keys(a).forEach(l=>{const s=a[l];null!=s&&(o[l]=s)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const s=l;Object.keys(s).forEach(n=>{let i=s[n];i.length>1&&(i=Is(i,o,e));const r=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,r,i,e),t[r]=i})}}),t}}class Zf{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new Jf(o.style,o.options&&o.options.params||{},t)}),AC(this.states,"true","1"),AC(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new vC(a,o,this.states))}),this.fallbackTransition=function wC(c,a,e){return new vC(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,n)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,o){return this.transitionFactories.find(s=>s.match(a,e,t,o))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function AC(c,a,e){c.hasOwnProperty(a)?c.hasOwnProperty(e)||(c[e]=c[a]):c.hasOwnProperty(e)&&(c[a]=c[e])}const Xf=new Do;class Tu{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],o=yu(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[a]=o}_buildPlayer(a,e,t){const o=a.element,l=su(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(o,l,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const o=[],l=this._animations[a];let s;const n=new Map;if(l?(s=Au(this._driver,e,l,hu,ec,{},{},t,Xf,o),s.forEach(d=>{const u=Ni(n,d.element,{});d.postStyleProps.forEach(f=>u[f]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),s=[]),o.length)throw new Error(`Unable to create the animation due to the following errors: ${o.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(f=>{d[f]=this._driver.computeStyle(u,f,dr)})});const r=Ca(s.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[a]=r,r.onDestroy(()=>this.destroy(a)),this.players.push(r),r}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,o){const l=Ps(e,"","","");return Ef(this._getPlayer(a),t,l,o),()=>{}}command(a,e,t,o){if("register"==t)return void this.register(a,o[0]);if("create"==t)return void this.create(a,e,o[0]||{});const l=this._getPlayer(a);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(a)}}}const em="ng-animate-queued",Su="ng-animate-disabled",SC=[],tm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uc={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yi="__ng_removed";class Mu{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function Si(c){return null!=c?c:null}(t?a.value:a),t){const l=Gr(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(o=>{null==t[o]&&(t[o]=e[o])})}}}const pr="void",Du=new Mu(pr);class MC{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,vi(e,this._hostClassName)}listen(a,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 hc(c){return"start"==c||"done"==c}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const l=Ni(this._elementListeners,a,[]),s={name:e,phase:t,callback:o};l.push(s);const n=Ni(this._engine.statesByElement,a,{});return n.hasOwnProperty(e)||(vi(a,tc),vi(a,tc+"-"+e),n[e]=Du),()=>{this._engine.afterFlush(()=>{const i=l.indexOf(s);i>=0&&l.splice(i,1),this._triggers[e]||delete n[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,o=!0){const l=this._getTrigger(e),s=new _n(this.id,e,a);let n=this._engine.statesByElement.get(a);n||(vi(a,tc),vi(a,tc+"-"+e),this._engine.statesByElement.set(a,n={}));let i=n[e];const r=new Mu(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&r.absorbOptions(i.options),n[e]=r,i||(i=Du),r.value!==pr&&i.value===r.value){if(!function Ro(c,a){const e=Object.keys(c),t=Object.keys(a);if(e.length!=t.length)return!1;for(let o=0;o{ya(a,oe),hr(a,Oe)})}return}const f=Ni(this._engine.playersByElement,a,[]);f.forEach(G=>{G.namespaceId==this.id&&G.triggerName==e&&G.queued&&G.destroy()});let b=l.matchTransition(i.value,r.value,a,r.params),H=!1;if(!b){if(!o)return;b=l.fallbackTransition,H=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:i,toState:r,player:s,isFallbackTransition:H}),H||(vi(a,em),s.onStart(()=>{Dn(a,em)})),s.onDone(()=>{let G=this.players.indexOf(s);G>=0&&this.players.splice(G,1);const oe=this._engine.playersByElement.get(a);if(oe){let Oe=oe.indexOf(s);Oe>=0&&oe.splice(Oe,1)}}),this.players.push(s),f.push(s),s}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,To,!0);t.forEach(o=>{if(o[yi])return;const l=this._engine.fetchNamespacesByElement(o);l.size?l.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(a,e,t,o){const l=this._engine.statesByElement.get(a),s=new Map;if(l){const n=[];if(Object.keys(l).forEach(i=>{if(s.set(i,l[i].value),this._triggers[i]){const r=this.trigger(a,i,pr,o);r&&n.push(r)}}),n.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,s),t&&Ca(n).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const o=new Set;e.forEach(l=>{const s=l.name;if(o.has(s))return;o.add(s);const i=this._triggers[s].fallbackTransition,r=t[s]||Du,d=new Mu(pr),u=new _n(this.id,s,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:s,transition:i,fromState:r,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let o=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(a):[];if(l&&l.length)o=!0;else{let s=a;for(;s=s.parentNode;)if(t.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(a),o)t.markElementAsRemoved(this.id,a,!1,e);else{const l=a[yi];(!l||l===tm)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){vi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const o=t.player;if(o.destroyed)return;const l=t.element,s=this._elementListeners.get(l);s&&s.forEach(n=>{if(n.name==t.triggerName){const i=Ps(l,t.triggerName,t.fromState.value,t.toState.value);i._data=a,Ef(t.player,n.phase,i,n.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{const l=t.transition.ast.depCount,s=o.transition.ast.depCount;return 0==l||0==s?l-s:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class Hu{constructor(a,e,t){this.bodyNode=a,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,l)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new MC(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let o=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,a),o=!0;break}o||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let o=this._namespaceLookup[a];o&&o.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const o=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(s,1)}if(a){const s=this._fetchNamespace(a);s&&s.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),vi(a,Su)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Dn(a,Su))}removeNode(a,e,t,o){if(qn(e)){const l=a?this._fetchNamespace(a):null;if(l?l.removeNode(e,o):this.markElementAsRemoved(a,e,!1,o),t){const s=this.namespacesByHostElement.get(e);s&&s.id!==a&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(a,e,t,o,l){this.collectedLeaveElements.push(e),e[yi]={namespaceId:a,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,e,t,o,l){return qn(e)?this._fetchNamespace(a).listen(e,t,o,l):()=>{}}_buildInstruction(a,e,t,o,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,o,a.fromState.options,a.toState.options,e,l)}destroyInnerAnimations(a){let e=this.driver.query(a,To,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,pu,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ca(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[yi];if(t&&t.setForRemoval){if(a[yi]=tm,t.namespaceId){this.destroyInnerAnimations(a);const o=this._fetchNamespace(t.namespaceId);o&&o.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Su))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(a=-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?Ca(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new Do,o=[],l=new Map,s=[],n=new Map,i=new Map,r=new Map,d=new Set;this.disabledNodes.forEach($e=>{d.add($e);const Ze=this.driver.query($e,".ng-animate-queued",!0);for(let et=0;et{const et=hu+G++;H.set(Ze,et),$e.forEach(Mt=>vi(Mt,et))});const oe=[],Oe=new Set,ct=new Set;for(let $e=0;$eOe.add(Mt)):ct.add(Ze))}const nt=new Map,At=wa(f,Array.from(Oe));At.forEach(($e,Ze)=>{const et=ec+G++;nt.set(Ze,et),$e.forEach(Mt=>vi(Mt,et))}),a.push(()=>{b.forEach(($e,Ze)=>{const et=H.get(Ze);$e.forEach(Mt=>Dn(Mt,et))}),At.forEach(($e,Ze)=>{const et=nt.get(Ze);$e.forEach(Mt=>Dn(Mt,et))}),oe.forEach($e=>{this.processLeaveNode($e)})});const In=[],Qn=[];for(let $e=this._namespaceList.length-1;$e>=0;$e--)this._namespaceList[$e].drainQueuedTransitions(e).forEach(et=>{const Mt=et.player,Di=et.element;if(In.push(Mt),this.collectedEnterElements.length){const sn=Di[yi];if(sn&&sn.setForMove){if(sn.previousTriggersValues&&sn.previousTriggersValues.has(et.triggerName)){const ul=sn.previousTriggersValues.get(et.triggerName),Jo=this.statesByElement.get(et.element);Jo&&Jo[et.triggerName]&&(Jo[et.triggerName].value=ul)}return void Mt.destroy()}}const Xr=!u||!this.driver.containsElement(u,Di),kn=nt.get(Di),Yo=H.get(Di),ti=this._buildInstruction(et,t,Yo,kn,Xr);if(ti.errors&&ti.errors.length)return void Qn.push(ti);if(Xr)return Mt.onStart(()=>ya(Di,ti.fromStyles)),Mt.onDestroy(()=>hr(Di,ti.toStyles)),void o.push(Mt);if(et.isFallbackTransition)return Mt.onStart(()=>ya(Di,ti.fromStyles)),Mt.onDestroy(()=>hr(Di,ti.toStyles)),void o.push(Mt);const jS=[];ti.timelines.forEach(sn=>{sn.stretchStartingKeyframe=!0,this.disabledNodes.has(sn.element)||jS.push(sn)}),ti.timelines=jS,t.append(Di,ti.timelines),s.push({instruction:ti,player:Mt,element:Di}),ti.queriedElements.forEach(sn=>Ni(n,sn,[]).push(Mt)),ti.preStyleProps.forEach((sn,ul)=>{const Jo=Object.keys(sn);if(Jo.length){let hl=i.get(ul);hl||i.set(ul,hl=new Set),Jo.forEach(gA=>hl.add(gA))}}),ti.postStyleProps.forEach((sn,ul)=>{const Jo=Object.keys(sn);let hl=r.get(ul);hl||r.set(ul,hl=new Set),Jo.forEach(gA=>hl.add(gA))})});if(Qn.length){const $e=[];Qn.forEach(Ze=>{$e.push(`@${Ze.triggerName} has failed due to:\n`),Ze.errors.forEach(et=>$e.push(`- ${et}\n`))}),In.forEach(Ze=>Ze.destroy()),this.reportError($e)}const on=new Map,La=new Map;s.forEach($e=>{const Ze=$e.element;t.has(Ze)&&(La.set(Ze,Ze),this._beforeAnimationBuild($e.player.namespaceId,$e.instruction,on))}),o.forEach($e=>{const Ze=$e.element;this._getPreviousPlayers(Ze,!1,$e.namespaceId,$e.triggerName,null).forEach(Mt=>{Ni(on,Ze,[]).push(Mt),Mt.destroy()})});const ja=oe.filter($e=>xa($e,i,r)),Na=new Map;pc(Na,this.driver,ct,r,dr).forEach($e=>{xa($e,i,r)&&ja.push($e)});const Qh=new Map;b.forEach(($e,Ze)=>{pc(Qh,this.driver,new Set($e),i,"!")}),ja.forEach($e=>{const Ze=Na.get($e),et=Qh.get($e);Na.set($e,Object.assign(Object.assign({},Ze),et))});const dl=[],FS=[],LS={};s.forEach($e=>{const{element:Ze,player:et,instruction:Mt}=$e;if(t.has(Ze)){if(d.has(Ze))return et.onDestroy(()=>hr(Ze,Mt.toStyles)),et.disabled=!0,et.overrideTotalTime(Mt.totalTime),void o.push(et);let Di=LS;if(La.size>1){let kn=Ze;const Yo=[];for(;kn=kn.parentNode;){const ti=La.get(kn);if(ti){Di=ti;break}Yo.push(kn)}Yo.forEach(ti=>La.set(ti,Di))}const Xr=this._buildAnimation(et.namespaceId,Mt,on,l,Qh,Na);if(et.setRealPlayer(Xr),Di===LS)dl.push(et);else{const kn=this.playersByElement.get(Di);kn&&kn.length&&(et.parentPlayer=Ca(kn)),o.push(et)}}else ya(Ze,Mt.fromStyles),et.onDestroy(()=>hr(Ze,Mt.toStyles)),FS.push(et),d.has(Ze)&&o.push(et)}),FS.forEach($e=>{const Ze=l.get($e.element);if(Ze&&Ze.length){const et=Ca(Ze);$e.setRealPlayer(et)}}),o.forEach($e=>{$e.parentPlayer?$e.syncPlayerEvents($e.parentPlayer):$e.destroy()});for(let $e=0;$e!Xr.destroyed);Di.length?Ho(this,Ze,Di):this.processLeaveNode(Ze)}return oe.length=0,dl.forEach($e=>{this.players.push($e),$e.onDone(()=>{$e.destroy();const Ze=this.players.indexOf($e);this.players.splice(Ze,1)}),$e.play()}),dl}elementContainsData(a,e){let t=!1;const o=e[yi];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,o,l){let s=[];if(e){const n=this.playersByQueriedElement.get(a);n&&(s=n)}else{const n=this.playersByElement.get(a);if(n){const i=!l||l==pr;n.forEach(r=>{r.queued||!i&&r.triggerName!=o||s.push(r)})}}return(t||o)&&(s=s.filter(n=>!(t&&t!=n.namespaceId||o&&o!=n.triggerName))),s}_beforeAnimationBuild(a,e,t){const l=e.element,s=e.isRemovalTransition?void 0:a,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const r=i.element,d=r!==l,u=Ni(t,r,[]);this._getPreviousPlayers(r,d,s,n,e.toState).forEach(b=>{const H=b.getRealPlayer();H.beforeDestroy&&H.beforeDestroy(),b.destroy(),u.push(b)})}ya(l,e.fromStyles)}_buildAnimation(a,e,t,o,l,s){const n=e.triggerName,i=e.element,r=[],d=new Set,u=new Set,f=e.timelines.map(H=>{const G=H.element;d.add(G);const oe=G[yi];if(oe&&oe.removedBeforeQueried)return new Hs(H.duration,H.delay);const Oe=G!==i,ct=function Po(c){const a=[];return Aa(c,a),a}((t.get(G)||SC).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===G),nt=l.get(G),At=s.get(G),In=su(0,this._normalizer,0,H.keyframes,nt,At),Qn=this._buildPlayer(H,In,ct);if(H.subTimeline&&o&&u.add(G),Oe){const on=new _n(a,n,G);on.setRealPlayer(Qn),r.push(on)}return Qn});r.forEach(H=>{Ni(this.playersByQueriedElement,H.element,[]).push(H),H.onDone(()=>function Bs(c,a,e){let t;if(c instanceof Map){if(t=c.get(a),t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&c.delete(a)}}else if(t=c[a],t){if(t.length){const o=t.indexOf(e);t.splice(o,1)}0==t.length&&delete c[a]}return t}(this.playersByQueriedElement,H.element,H))}),d.forEach(H=>vi(H,kf));const b=Ca(f);return b.onDestroy(()=>{d.forEach(H=>Dn(H,kf)),hr(i,e.toStyles)}),u.forEach(H=>{Ni(o,H,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Hs(a.duration,a.delay)}}class _n{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Hs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Ef(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){Ni(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function qn(c){return c&&1===c.nodeType}function an(c,a){const e=c.style.display;return c.style.display=null!=a?a:"none",e}function pc(c,a,e,t,o){const l=[];e.forEach(i=>l.push(an(i)));const s=[];t.forEach((i,r)=>{const d={};i.forEach(u=>{const f=d[u]=a.computeStyle(r,u,o);(!f||0==f.length)&&(r[yi]=uc,s.push(r))}),c.set(r,d)});let n=0;return e.forEach(i=>an(i,l[n++])),s}function wa(c,a){const e=new Map;if(c.forEach(n=>e.set(n,[])),0==a.length)return e;const o=new Set(a),l=new Map;function s(n){if(!n)return 1;let i=l.get(n);if(i)return i;const r=n.parentNode;return i=e.has(r)?r:o.has(r)?1:s(r),l.set(n,i),i}return a.forEach(n=>{const i=s(n);1!==i&&e.get(i).push(n)}),e}function vi(c,a){var e;null===(e=c.classList)||void 0===e||e.add(a)}function Dn(c,a){var e;null===(e=c.classList)||void 0===e||e.remove(a)}function Ho(c,a,e){Ca(e).onDone(()=>c.processLeaveNode(a))}function Aa(c,a){for(let e=0;eo.add(l)):a.set(c,t),e.delete(c),!0}class fr{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(o,l)=>{},this._transitionEngine=new Hu(a,e,t),this._timelineEngine=new Tu(a,e,t),this._transitionEngine.onRemovalComplete=(o,l)=>this.onRemovalComplete(o,l)}registerTrigger(a,e,t,o,l){const s=a+"-"+o;let n=this._triggerCache[s];if(!n){const i=[],r=yu(this._driver,l,i);if(i.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function Kf(c,a,e){return new Zf(c,a,e)}(o,r,this._normalizer),this._triggerCache[s]=n}this._transitionEngine.registerTrigger(e,o,n)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,o){this._transitionEngine.insertNode(a,e,t,o)}onRemove(a,e,t,o){this._transitionEngine.removeNode(a,e,o||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,o){if("@"==t.charAt(0)){const[l,s]=Sf(t);this._timelineEngine.command(l,e,s,o)}else this._transitionEngine.trigger(a,e,t,o)}listen(a,e,t,o,l){if("@"==t.charAt(0)){const[s,n]=Sf(t);return this._timelineEngine.listen(s,e,n,l)}return this._transitionEngine.listen(a,e,t,o,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let nm=(()=>{class c{constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o,this._state=0;let l=c.initialStylesByElement.get(e);l||c.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&hr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hr(this._element,this._initialStyles),this._endStyles&&(hr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(ya(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ya(this._element,this._endStyles),this._endStyles=null),hr(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function fc(c){let a=null;const e=Object.keys(c);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:oc(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class am{validateStyleProperty(a){return Hf(a)}matchesElement(a,e){return!1}containsElement(a,e){return du(a,e)}query(a,e,t){return Rf(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,o,l,s=[]){const i={duration:t,delay:o,fill:0==o?"both":"forwards"};l&&(i.easing=l);const r={},d=s.filter(f=>f instanceof Pu);(function N0(c,a){return 0===c||0===a})(t,o)&&d.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(H=>r[H]=b[H])}),e=function bu(c,a,e){const t=Object.keys(e);if(t.length&&a.length){let l=a[0],s=[];if(t.forEach(n=>{l.hasOwnProperty(n)||s.push(n),l[n]=e[n]}),s.length)for(var o=1;oUr(f,!1)),r);const u=function im(c,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=fc(a[0]),a.length>1&&(t=fc(a[a.length-1]))):a&&(e=fc(a)),e||t?new nm(c,e,t):null}(a,e);return new Pu(a,e,i,u)}}let om=(()=>{class c extends Ao{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:g.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?Kl(e):e;return cm(this._renderer,null,t,"register",[o]),new sm(t,this._renderer)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.FYo),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class sm extends class xo{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new lm(this._id,a,e||{},this._renderer)}}class lm{constructor(a,e,t,o){this.id=a,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return cm(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function cm(c,a,e,t,o){return c.setProperty(a,`@@${e}:${t}`,o)}const dm="@.disabled";let um=(()=>{class c{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=(l,s)=>{const n=null==s?void 0:s.parentNode(l);n&&s.removeChild(n,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(l);return d||(d=new Ru("",l,this.engine),this._rendererCache.set(l,d)),d}const s=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(s,n,e,d.name,d)};return t.data.animation.forEach(i),new DC(this,n,l,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(l=>{const[s,n]=l;s(n)}),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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.FYo),g.LFG(fr),g.LFG(g.R0b))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class Ru{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,o=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,o)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,o){this.delegate.setAttribute(a,e,t,o)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,o){this.delegate.setStyle(a,e,t,o)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==dm?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class DC extends Ru{constructor(a,e,t,o){super(e,t,o),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==dm?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const o=function HC(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(a);let l=e.substr(1),s="";return"@"!=l.charAt(0)&&([l,s]=function hm(c){const a=c.indexOf(".");return[c.substring(0,a),c.substr(a+1)]}(l)),this.engine.listen(this.namespaceId,o,l,s,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(a,e,t)}}let PC=(()=>{class c extends fr{constructor(e,t,o){super(e.body,t,o)}ngOnDestroy(){this.flush()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(uu),g.LFG(Wf))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Hn=new g.OlP("AnimationModuleType"),IC=[{provide:Ao,useClass:om},{provide:Wf,useFactory:function pm(){return new CC}},{provide:fr,useClass:PC},{provide:g.FYo,useFactory:function RC(c,a,e){return new um(c,a,e)},deps:[me,fr,g.R0b]}],fm=[{provide:uu,useFactory:()=>new am},{provide:Hn,useValue:"BrowserAnimations"},...IC],Iu=[{provide:uu,useClass:Xl},{provide:Hn,useValue:"NoopAnimations"},...IC];let ku=(()=>{class c{static withConfig(e){return{ngModule:c,providers:e.disableAnimations?Iu:fm}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:fm,imports:[Er]}),c})();const mm=new g.OlP("mat-sanity-checks",{providedIn:"root",factory:function OC(){return!0}});let Ye=(()=>{class c{constructor(e,t,o){this._sanityChecks=t,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Es()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Yl),g.LFG(mm,8),g.LFG(E.K0))},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn],zn]}),c})();function Fs(c){return class extends c{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=gt(a)}}}function ko(c,a){return class extends c{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 Ta(c){return class extends c{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=gt(a)}}}const gm=new g.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function jC(){return(0,g.f3M)(g.soG)}});class bn{constructor(){this._localeChanges=new Ge.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),o=this.isValid(e);return t&&o?!this.compareDate(a,e):t==o}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const js=new g.OlP("mat-date-formats"),Bu=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _m(c,a){const e=Array(c);for(let t=0;t{class c extends bn{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 _m(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _m(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 _m(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 l=this._createDateWithOverflow(e,t,o);return l.getMonth(),l}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(Bu.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 l=new Date;return l.setFullYear(e,t,o),l.setHours(0,0,0,0),l}_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 c.\u0275fac=function(e){return new(e||c)(g.LFG(gm,8),g.LFG(Ii))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const NC={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 $0=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:bn,useClass:mc}]}),c})(),Vo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:js,useValue:NC}],imports:[[$0]]}),c})(),Bo=(()=>{class c{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Oo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})();class bm{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const UC={enterDuration:225,exitDuration:150},Ns=or({passive:!0}),gc=["mousedown","touchstart"],Fu=["mouseup","mouseleave","touchend","touchcancel"];class Lu{constructor(a,e,t,o){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=ai(t))}fadeInRipple(a,e,t={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},UC),t.animation);t.centered&&(a=o.left+o.width/2,e=o.top+o.height/2);const s=t.radius||function Cm(c,a,e){const t=Math.max(Math.abs(c-e.left),Math.abs(c-e.right)),o=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+o*o)}(a,e,o),n=a-o.left,i=e-o.top,r=l.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-s+"px",d.style.top=i-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${r}ms`,this._containerElement.appendChild(d),function ju(c){window.getComputedStyle(c).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new bm(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const f=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!f||!this._isPointerDown)&&u.fadeOut()},r),u}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,o=Object.assign(Object.assign({},UC),a.config.animation);t.style.transitionDuration=`${o.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=ai(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(gc))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Fu),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=yf(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,Ns)})})}_removeTriggerEvents(){this._triggerElement&&(gc.forEach(a=>{this._triggerElement.removeEventListener(a,this,Ns)}),this._pointerUpEventsRegistered&&Fu.forEach(a=>{this._triggerElement.removeEventListener(a,this,Ns)}))}}const Nu=new g.OlP("mat-ripple-global-options");let mr=(()=>{class c{constructor(e,t,o,l,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new Lu(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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(Ii),g.Y36(Nu,8),g.Y36(Hn,8))},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&g.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"]}),c})(),Ui=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),_c=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye]]}),c})(),bc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,E.ez,Ye,_c]]}),c})();const wm=["mat-button",""],Am=["*"],ny=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ry=ko(Fs(Ta(class{constructor(c){this._elementRef=c}})));let zu=(()=>{class c extends ry{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 l of ny)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(_a),g.Y36(Hn,8))},c.\u0275cmp=g.Xpm({type:c,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&&g.Gf(mr,5),2&e){let o;g.iGM(o=g.CRH())&&(t.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(g.uIk("disabled",t.disabled||null),g.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[g.qOj],attrs:wm,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&&(g.F$t(),g.TgZ(0,"span",0),g.Hsn(1),g.qZA(),g._UZ(2,"span",1),g._UZ(3,"span",2)),2&e&&(g.xp6(2),g.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),g.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[mr],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;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;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;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;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}),c})(),It=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye],Ye]}),c})();var xm=x(1144),gr=x(576),Tm=x(3268);const Em=["addListener","removeListener"],ay=["addEventListener","removeEventListener"],Sm=["on","off"];function Cc(c,a,e,t){if((0,gr.m)(e)&&(t=e,e=void 0),t)return Cc(c,a,e).pipe((0,Tm.Z)(t));const[o,l]=function Mm(c){return(0,gr.m)(c.addEventListener)&&(0,gr.m)(c.removeEventListener)}(c)?ay.map(s=>n=>c[s](a,n,e)):function oy(c){return(0,gr.m)(c.addListener)&&(0,gr.m)(c.removeListener)}(c)?Em.map(Sa(c,a)):function sy(c){return(0,gr.m)(c.on)&&(0,gr.m)(c.off)}(c)?Sm.map(Sa(c,a)):[];if(!o&&(0,xm.z)(c))return(0,ei.z)(s=>Cc(s,a,e))((0,Xn.Xf)(c));if(!o)throw new TypeError("Invalid event target");return new Qt.y(s=>{const n=(...i)=>s.next(1l(n)})}function Sa(c,a){return e=>t=>c[e](a,t)}var Dm=x(4408);const Fo={schedule(c){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=Fo;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const o=a(l=>{e=void 0,c(l)});return new jt.w0(()=>null==e?void 0:e(o))},requestAnimationFrame(...c){const{delegate:a}=Fo;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...c)},cancelAnimationFrame(...c){const{delegate:a}=Fo;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...c)},delegate:void 0};var yc=x(7565);const Pn=new class Gu extends yc.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;a=a||t.shift();do{if(o=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,o){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw o}}}(class K0 extends Dm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=Fo.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(o=>o.id===e)||(Fo.cancelAnimationFrame(e),a._scheduled=void 0)}});let Cn,ly=1;const qi={};function yn(c){return c in qi&&(delete qi[c],!0)}const Hm={setImmediate(c){const a=ly++;return qi[a]=!0,Cn||(Cn=Promise.resolve()),Cn.then(()=>yn(a)&&c()),a},clearImmediate(c){yn(c)}},{setImmediate:dy,clearImmediate:uy}=Hm,vc={setImmediate(...c){const{delegate:a}=vc;return((null==a?void 0:a.setImmediate)||dy)(...c)},clearImmediate(c){const{delegate:a}=vc;return((null==a?void 0:a.clearImmediate)||uy)(c)},delegate:void 0};new class Uu extends yc.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let o;a=a||t.shift();do{if(o=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,o){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw o}}}(class hy extends Dm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=vc.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(o=>o.id===e)||(vc.clearImmediate(e),a._scheduled=void 0)}});var qu=x(4986),Wu=x(2805);function $u(c,a=qu.z){return function py(c){return(0,Ft.e)((a,e)=>{let t=!1,o=null,l=null,s=!1;const n=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const r=o;o=null,e.next(r)}s&&e.complete()},i=()=>{l=null,s&&e.complete()};a.subscribe((0,Ji.x)(e,r=>{t=!0,o=r,l||(0,Xn.Xf)(c(r)).subscribe(l=(0,Ji.x)(e,n,i))},()=>{s=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,Wu.H)(c,a))}let Im=(()=>{class c{constructor(e,t,o){this._ngZone=e,this._platform=t,this._scrolled=new Ge.x,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 Qt.y(t=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe($u(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ue.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,Xt.h)(l=>!l||o.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((o,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=ai(t),l=e.getElementRef().nativeElement;do{if(o==l)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Cc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(Ii),g.LFG(E.K0,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Lo=(()=>{class c{constructor(e,t,o){this._platform=e,this._change=new Ge.x,this._changeListener=l=>{this._change.next(l)},this._document=o,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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,l=o.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe($u(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 c.\u0275fac=function(e){return new(e||c)(g.LFG(Ii),g.LFG(g.R0b),g.LFG(E.K0,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),_r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),jo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn,_r],zn,_r]}),c})();class Ju{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class Ku extends Ju{constructor(a,e,t,o){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=o}}class Vm extends Ju{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class yy extends Ju{constructor(a){super(),this.element=a instanceof g.SBq?a.nativeElement:a}}class Zu{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof Ku?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Vm?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof yy?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class vy extends Zu{constructor(a,e,t,o,l){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=o,this.attachDomPortal=s=>{const n=s.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=s,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=l}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let o;return a.viewContainerRef?(o=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=t.create(a.injector||this._defaultInjector||g.zs3.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=a,o}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Xu=(()=>{class c extends Zu{constructor(e,t,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new g.vpe,this.attachDomPortal=l=>{const s=l.element,n=this._document.createComment("dom-portal");l.setAttachedHost(this),s.parentNode.insertBefore(n,s),this._getRootNode().appendChild(s),this._attachedPortal=l,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(s,n)})},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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}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 c.\u0275fac=function(e){return new(e||c)(g.Y36(g._Vd),g.Y36(g.s_b),g.Y36(E.K0))},c.\u0275dir=g.lG2({type:c,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[g.qOj]}),c})(),Ma=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();var Da=x(6451);const eh=db();class Bm{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=qe(-this._previousScrollPosition.left),a.style.top=qe(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,o=this._document.body.style,l=t.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),eh&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eh&&(t.scrollBehavior=l,o.scrollBehavior=s)}}_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 th{constructor(a,e,t,o){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Wr{enable(){}disable(){}attach(){}}function ih(c,a){return a.some(e=>c.bottome.bottom||c.righte.right)}function Fm(c,a){return a.some(e=>c.tope.bottom||c.lefte.right)}class No{constructor(a,e,t,o){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=o,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();ih(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 ux=(()=>{class c{constructor(e,t,o,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=o,this.noop=()=>new Wr,this.close=s=>new th(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Bm(this._viewportRuler,this._document),this.reposition=s=>new No(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=l}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Im),g.LFG(Lo),g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class wc{constructor(a){if(this.scrollStrategy=new Wr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class Lm{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class Sy{constructor(a,e,t,o,l,s,n,i,r){this._portalOutlet=a,this._host=e,this._pane=t,this._config=o,this._ngZone=l,this._keyboardDispatcher=s,this._document=n,this._location=i,this._outsideClickDispatcher=r,this._backdropElement=null,this._backdropClick=new Ge.x,this._attachments=new Ge.x,this._detachments=new Ge.x,this._locationChanges=jt.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Ge.x,this._outsidePointerEvents=new Ge.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Pt.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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=qe(this._config.width),a.height=qe(this._config.height),a.minWidth=qe(this._config.minWidth),a.minHeight=qe(this._config.minHeight),a.maxWidth=qe(this._config.maxWidth),a.maxHeight=qe(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const o=pf(e||[]).filter(l=>!!l);o.length&&(t?a.classList.add(...o):a.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(ui((0,Da.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let nh=(()=>{class c{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||Es()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,l=[];let s;for(let n of this._preferredPositions){let i=this._getOriginPoint(a,o,n),r=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(r,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,r,t)?l.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!s||s.overlayFit.visibleAreai&&(i=d,n=r)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Wn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(jm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let o,l;if("center"==t.originX)o=a.left+a.width/2;else{const s=this._isRtl()?a.right:a.left,n=this._isRtl()?a.left:a.right;o="start"==t.originX?s:n}return e.left<0&&(o-=e.left),l="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(l-=e.top),{x:o,y:l}}_getOverlayPoint(a,e,t){let o,l;return o="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+o,y:a.y+l}}_getOverlayFit(a,e,t,o){const l=$t(e);let{x:s,y:n}=a,i=this._getOffset(o,"x"),r=this._getOffset(o,"y");i&&(s+=i),r&&(n+=r);let f=0-n,b=n+l.height-t.height,H=this._subtractOverflows(l.width,0-s,s+l.width-t.width),G=this._subtractOverflows(l.height,f,b),oe=H*G;return{visibleArea:oe,isCompletelyWithinViewport:l.width*l.height===oe,fitsInViewportVertically:G===l.height,fitsInViewportHorizontally:H==l.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const o=t.bottom-e.y,l=t.right-e.x,s=Gs(this._overlayRef.getConfig().minHeight),n=Gs(this._overlayRef.getConfig().minWidth),r=a.fitsInViewportHorizontally||null!=n&&n<=l;return(a.fitsInViewportVertically||null!=s&&s<=o)&&r}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const o=$t(e),l=this._viewportRect,s=Math.max(a.x+o.width-l.width,0),n=Math.max(a.y+o.height-l.height,0),i=Math.max(l.top-t.top-a.y,0),r=Math.max(l.left-t.left-a.x,0);let d=0,u=0;return d=o.width<=l.width?r||-s:a.xH&&!this._isInitialRender&&!this._growAfterOpen&&(s=a.y-H/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)f=t.width-a.x+this._viewportMargin,d=a.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=a.x,d=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),H=this._lastBoundingBoxSize.width;d=2*b,u=a.x-b,d>H&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-H/2)}return{top:s,left:u,bottom:n,right:f,width:d,height:l}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 l=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=qe(t.height),o.top=qe(t.top),o.bottom=qe(t.bottom),o.width=qe(t.width),o.left=qe(t.left),o.right=qe(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",l&&(o.maxHeight=qe(l)),s&&(o.maxWidth=qe(s))}this._lastBoundingBoxSize=t,Wn(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Wn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Wn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},o=this._hasExactPosition(),l=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();Wn(t,this._getExactOverlayY(e,a,d)),Wn(t,this._getExactOverlayX(e,a,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),r&&(n+=`translateY(${r}px)`),t.transform=n.trim(),s.maxHeight&&(o?t.maxHeight=qe(s.maxHeight):l&&(t.maxHeight="")),s.maxWidth&&(o?t.maxWidth=qe(s.maxWidth):l&&(t.maxWidth="")),Wn(this._pane.style,t)}_getExactOverlayY(a,e,t){let o={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===a.overlayY?o.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":o.top=qe(l.y),o}_getExactOverlayX(a,e,t){let s,o={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),s=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":o.left=qe(l.x),o}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fm(a,t),isOriginOutsideView:ih(a,t),isOverlayClipped:Fm(e,t),isOverlayOutsideView:ih(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,o)=>t-Math.max(o,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&pf(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof g.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function Wn(c,a){for(let e in a)a.hasOwnProperty(e)&&(c[e]=a[e]);return c}function Gs(c){if("number"!=typeof c&&null!=c){const[a,e]=c.split(Ac);return e&&"px"!==e?null:parseFloat(a)}return c||null}function $t(c){return{top:Math.floor(c.top),right:Math.floor(c.right),bottom:Math.floor(c.bottom),left:Math.floor(c.left),width:Math.floor(c.width),height:Math.floor(c.height)}}const Dy="cdk-global-overlay-wrapper";class Nm{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Dy),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:l,maxWidth:s,maxHeight:n}=t,i=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),r=!("100%"!==l&&"100vh"!==l||n&&"100%"!==n&&"100vh"!==n);a.position=this._cssPosition,a.marginLeft=i?"0":this._leftOffset,a.marginTop=r?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,i?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=r?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Dy),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let Hy=(()=>{class c{constructor(e,t,o,l){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=l}global(){return new Nm}flexibleConnectedTo(e){return new My(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Lo),g.LFG(E.K0),g.LFG(Ii),g.LFG(nh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zm=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Gm=(()=>{class c extends zm{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=o=>{const l=this._attachedOverlays;for(let s=l.length-1;s>-1;s--)if(l[s]._keydownEvents.observers.length>0){const n=l[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(o)):n.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(g.R0b,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Um=(()=>{class c extends zm{constructor(e,t,o){super(e),this._platform=t,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=fn(l)},this._clickListener=l=>{const s=fn(l),n="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){const d=i[r];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(l)):u.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(Ii),g.LFG(g.R0b,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),qm=0,br=(()=>{class c{constructor(e,t,o,l,s,n,i,r,d,u,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=o,this._positionBuilder=l,this._keyboardDispatcher=s,this._injector=n,this._ngZone=i,this._document=r,this._directionality=d,this._location=u,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),o=this._createPaneElement(t),l=this._createPortalOutlet(o),s=new wc(e);return s.direction=s.direction||this._directionality.value,new Sy(l,t,o,s,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-"+qm++,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(g.z2F)),new vy(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(ux),g.LFG(nh),g.LFG(g._Vd),g.LFG(Hy),g.LFG(Gm),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(E.K0),g.LFG(pa),g.LFG(E.Ye),g.LFG(Um))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const Iy={provide:new g.OlP("cdk-connected-overlay-scroll-strategy"),deps:[br],useFactory:function Ry(c){return()=>c.scrollStrategies.reposition()}};let Us=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[br,Iy],imports:[[zn,Ma,jo],jo]}),c})(),$r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,vo],Ye]}),c})();const eg={provide:new g.OlP("mat-select-scroll-strategy"),deps:[br],useFactory:function Yy(c){return()=>c.scrollStrategies.reposition()}};let zo=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[eg],imports:[[E.ez,Us,bc,Ye],_r,$r,bc,Ye]}),c})();const Jx={provide:new g.OlP("mat-tooltip-scroll-strategy"),deps:[br],useFactory:function rg(c){return()=>c.scrollStrategies.reposition({scrollThrottle:20})}};let Mc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Jx],imports:[[Nr,E.ez,Us,Ye],Ye,_r]}),c})(),Ys=(()=>{class c{constructor(){this.changes=new Ge.x,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 l=e*t;return`${l+1} \u2013 ${l<(o=Math.max(o,0))?Math.min(l+t,o):l+t} of ${o}`}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Js={provide:Ys,deps:[[new g.FiY,new g.tp0,Ys]],useFactory:function Dc(c){return c||new Ys}};let Go=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Js],imports:[[E.ez,It,zo,Mc,Ye]]}),c})();const gv={provide:new g.OlP("mat-menu-scroll-strategy"),deps:[br],useFactory:function mv(c){return()=>c.scrollStrategies.reposition()}};let Zs=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[gv],imports:[[E.ez,Ye,Ui,Us],_r,Ye]}),c})();var Xs=x(2843),og=x(4742),yv=x(1810);function Pc(...c){const a=(0,Fn.jO)(c),{args:e,keys:t}=(0,og.D)(c),o=new Qt.y(l=>{const{length:s}=e;if(!s)return void l.complete();const n=new Array(s);let i=s,r=s;for(let d=0;d{u||(u=!0,r--),n[d]=f},()=>i--,void 0,()=>{(!i||!u)&&(r||l.next(t?(0,yv.n)(t,n):n),l.complete())}))}});return a?o.pipe((0,Tm.Z)(a)):o}var sg=x(3099);const vv=["*"];let Rc;function Cr(c){var a;return(null===(a=function wv(){if(void 0===Rc&&(Rc=null,"undefined"!=typeof window)){const c=window;void 0!==c.trustedTypes&&(Rc=c.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return Rc}())||void 0===a?void 0:a.createHTML(c))||c}function lg(c){return Error(`Unable to find icon with the name "${c}"`)}function Rn(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function cg(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}class $n{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let yr=(()=>{class c{constructor(e,t,o,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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,l){return this._addSvgIconConfig(e,t,new $n(o,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,l){const s=this._sanitizer.sanitize(g.q3G.HTML,o);if(!s)throw cg(o);const n=Cr(s);return this._addSvgIconConfig(e,t,new $n("",n,l))}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 $n(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){const l=this._sanitizer.sanitize(g.q3G.HTML,t);if(!l)throw cg(t);const s=Cr(l);return this._addSvgIconSetConfig(e,new $n("",s,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(g.q3G.RESOURCE_URL,e);if(!t)throw Rn(e);const o=this._cachedIconsByUrl.get(t);return o?(0,Ue.of)(Ic(o)):this._loadSvgIconFromConfig(new $n(e,null)).pipe((0,Et.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,Be.U)(l=>Ic(l)))}getNamedSvgIcon(e,t=""){const o=el(t,e);let l=this._svgIconConfigs.get(o);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(o,l),this._getSvgFromConfig(l);const s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):(0,Xs._)(lg(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ue.of)(Ic(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,Be.U)(t=>Ic(t)))}_getSvgFromIconSetConfigs(e,t){const o=this._extractIconWithNameFromAnySet(e,t);return o?(0,Ue.of)(o):Pc(t.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe((0,li.K)(n=>{const r=`Loading icon set URL: ${this._sanitizer.sanitize(g.q3G.RESOURCE_URL,s.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(r)),(0,Ue.of)(null)})))).pipe((0,Be.U)(()=>{const s=this._extractIconWithNameFromAnySet(e,t);if(!s)throw lg(e);return s}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){const l=t[o];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(l),n=this._extractSvgIconFromSet(s,e,l.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,Et.b)(t=>e.svgText=t),(0,Be.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ue.of)(null):this._fetchIcon(e).pipe((0,Et.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const s=l.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,o);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),o);const n=this._svgElementFromString(Cr(""));return n.appendChild(s),this._setSvgAttributes(n,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(Cr("")),o=e.attributes;for(let l=0;lCr(d)),Dt(()=>this._inProgressUrlFetches.delete(n)),(0,sg.B)());return this._inProgressUrlFetches.set(n,r),r}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(el(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;oa?a.pathname+a.search:""}}}),sh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lh=sh.map(c=>`[${c}]`).join(", "),ug=/^url\(['"]?#(.*?)['"]?\)$/;let Ev=(()=>{class c extends xv{constructor(e,t,o,l,s){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=s,this._inline=!1,this._currentIconFetch=jt.w0.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=gt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const o=e.childNodes[t];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((o,l)=>{o.forEach(s=>{l.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(lh),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const n=t[l],i=n.getAttribute(s),r=i?i.match(ug):null;if(r){let d=o.get(n);d||(d=[],o.set(n,d)),d.push({name:s,value:r[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,Pt.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${o}! ${l.message}`))})}}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(yr),g.$8M("aria-hidden"),g.Y36(Tv),g.Y36(g.qLn))},c.\u0275cmp=g.Xpm({type:c,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(g.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),g.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:[g.qOj],ngContentSelectors:vv,decls:1,vars:0,template:function(e,t){1&e&&(g.F$t(),g.Hsn(0))},styles:[".mat-icon{-webkit-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}),c})(),vr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})();function wr(c){return!!c&&(c instanceof Qt.y||(0,gr.m)(c.lift)&&(0,gr.m)(c.subscribe))}var ch=x(6063);class dh extends Ge.x{constructor(a=1/0,e=1/0,t=ch.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:o,_timestampProvider:l,_windowTime:s}=this;e||(t.push(a),!o&&t.push(l.now()+s)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:o}=this,l=o.slice();for(let s=0;snew dh(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class Pa{}let Vc=(()=>{class c extends Pa{getTranslation(e){return(0,Ue.of)({})}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class hh{}let hg=(()=>{class c{handle(e){return e.key}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();function Bc(c,a){if(c===a)return!0;if(null===c||null===a)return!1;if(c!=c&&a!=a)return!0;let o,l,s,e=typeof c;if(e==typeof a&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(a))return!1;for(l in s=Object.create(null),c){if(!Bc(c[l],a[l]))return!1;s[l]=!0}for(l in a)if(!(l in s)&&void 0!==a[l])return!1;return!0}if(!Array.isArray(a))return!1;if((o=c.length)==a.length){for(l=0;l{Oc(a[t])?t in c?e[t]=Fc(c[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class tl{}let ph=(()=>{class c extends tl{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(),!Qr(e)||!Qr(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,l)=>{let s=this.getValue(t,l);return Qr(s)?s:o}):e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class il{}let fh=(()=>{class c extends il{compile(e,t){return e}compileTranslations(e,t){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();class pg{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new g.vpe,this.onLangChange=new g.vpe,this.onDefaultLangChange=new g.vpe}}const Lc=new g.OlP("USE_STORE"),jc=new g.OlP("USE_DEFAULT_LANG"),mh=new g.OlP("DEFAULT_LANGUAGE"),Nc=new g.OlP("USE_EXTEND");let nl=(()=>{class c{constructor(e,t,o,l,s,n=!0,i=!1,r=!1,d){this.store=e,this.currentLoader=t,this.compiler=o,this.parser=l,this.missingTranslationHandler=s,this.useDefaultLang=n,this.isolate=i,this.extend=r,this.pending=!1,this._onTranslationChange=new g.vpe,this._onLangChange=new g.vpe,this._onDefaultLangChange=new g.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,Pt.q)(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Ue.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Pt.q)(1)).subscribe(o=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Ue.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(uh(1),(0,Pt.q)(1));return this.loadingTranslations=t.pipe((0,Be.U)(o=>this.compiler.compileTranslations(o,e)),uh(1),(0,Pt.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]?Fc(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 l;if(t instanceof Array){let s={},n=!1;for(let i of t)s[i]=this.getParsedResult(e,i,o),wr(s[i])&&(n=!0);return n?Pc(t.map(r=>wr(s[r])?s[r]:(0,Ue.of)(s[r]))).pipe((0,Be.U)(r=>{let d={};return r.forEach((u,f)=>{d[t[f]]=u}),d})):s}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),o)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),o)),void 0===l){let s={key:t,translateService:this};void 0!==o&&(s.interpolateParams=o),l=this.missingTranslationHandler.handle(s)}return void 0!==l?l:t}get(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,tt.b)(o=>wr(o=this.getParsedResult(o,e,t))?o:(0,Ue.of)(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,t);return wr(o)?o:(0,Ue.of)(o)}}getStreamOnTranslationChange(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');return(0,Oi.z)(Tn(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Ct.w)(o=>{const l=this.getParsedResult(o.translations,e,t);return"function"==typeof l.subscribe?l:(0,Ue.of)(l)})))}stream(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');return(0,Oi.z)(Tn(()=>this.get(e,t)),this.onLangChange.pipe((0,Ct.w)(o=>{const l=this.getParsedResult(o.translations,e,t);return wr(l)?l:(0,Ue.of)(l)})))}instant(e,t){if(!Qr(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,t);if(wr(o)){if(e instanceof Array){let l={};return e.forEach((s,n)=>{l[e[n]]=e[n]}),l}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 c.\u0275fac=function(e){return new(e||c)(g.LFG(pg),g.LFG(Pa),g.LFG(il),g.LFG(tl),g.LFG(hh),g.LFG(jc),g.LFG(Lc),g.LFG(Nc),g.LFG(mh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Ar=(()=>{class c{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,o){let l=s=>{this.value=void 0!==s?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,t);wr(s.subscribe)?s.subscribe(l):l(s)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(Bc(e,this.lastKey)&&Bc(t,this.lastParams))return this.value;let o;if(Qr(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(l)}catch(s){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(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,l.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 c.\u0275fac=function(e){return new(e||c)(g.Y36(nl,16),g.Y36(g.sBO,16))},c.\u0275pipe=g.Yjl({name:"translate",type:c,pure:!1}),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Uo=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:Pa,useClass:Vc},e.compiler||{provide:il,useClass:fh},e.parser||{provide:tl,useClass:ph},e.missingTranslationHandler||{provide:hh,useClass:hg},pg,{provide:Lc,useValue:e.isolate},{provide:jc,useValue:e.useDefaultLang},{provide:Nc,useValue:e.extend},{provide:mh,useValue:e.defaultLanguage},nl]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:Pa,useClass:Vc},e.compiler||{provide:il,useClass:fh},e.parser||{provide:tl,useClass:ph},e.missingTranslationHandler||{provide:hh,useClass:hg},{provide:Lc,useValue:e.isolate},{provide:jc,useValue:e.useDefaultLang},{provide:Nc,useValue:e.extend},{provide:mh,useValue:e.defaultLanguage},nl]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),fg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[],imports:[[Go,Zs,vr,It,Uo,E.ez]]}),c})();function gT(c,a){}class Yr{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Sv={dialogContainer:Zt("dialogContainer",[lt("void, exit",Le({opacity:0,transform:"scale(0.7)"})),lt("enter",Le({transform:"none"})),vt("* => enter",Jl([wt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),Zl("@*",Ds(),{optional:!0})])),vt("* => void, * => exit",Jl([wt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),Zl("@*",Ds(),{optional:!0})]))])};let Mv=(()=>{class c extends Zu{constructor(e,t,o,l,s,n,i,r){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=o,this._config=s,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Co())}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(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),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=Co(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Co();return e===t||e.contains(t)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(g.SBq),g.Y36(F0),g.Y36(g.sBO),g.Y36(E.K0,8),g.Y36(Yr),g.Y36(bf),g.Y36(g.R0b),g.Y36(_a))},c.\u0275dir=g.lG2({type:c,viewQuery:function(e,t){if(1&e&&g.Gf(Xu,7),2&e){let o;g.iGM(o=g.CRH())&&(t._portalOutlet=o.first)}},features:[g.qOj]}),c})(),gg=(()=>{class c extends Mv{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275cmp=g.Xpm({type:c,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&g.WFA("@dialogContainer.start",function(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),2&e&&(g.Ikx("id",t._id),g.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),g.d8E("@dialogContainer",t._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&g.YNc(0,gT,0,0,"ng-template",0)},directives:[Xu],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:[Sv.dialogContainer]}}),c})(),Dv=0;class zc{constructor(a,e,t="mat-dialog-"+Dv++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ge.x,this._afterClosed=new Ge.x,this._beforeClosed=new Ge.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Xt.h)(o=>"opened"===o.state),(0,Pt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Xt.h)(o=>"closed"===o.state),(0,Pt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,Xt.h)(o=>27===o.keyCode&&!this.disableClose&&!function Ei(c,...a){return a.length?a.some(e=>c[e]):c.altKey||c.shiftKey||c.ctrlKey||c.metaKey}(o))).subscribe(o=>{o.preventDefault(),Gc(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Gc(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,Xt.h)(e=>"closing"===e.state),(0,Pt.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Gc(c,a,e){return void 0!==c._containerInstance&&(c._containerInstance._closeInteractionType=a),c.close(e)}const _g=new g.OlP("MatDialogData"),bg=new g.OlP("mat-dialog-default-options"),rl=new g.OlP("mat-dialog-scroll-strategy"),yg={provide:rl,deps:[br],useFactory:function _T(c){return()=>c.scrollStrategies.block()}};let Hv=(()=>{class c{constructor(e,t,o,l,s,n,i,r,d,u){this._overlay=e,this._injector=t,this._defaultOptions=o,this._parentDialog=l,this._overlayContainer=s,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge.x,this._afterOpenedAtThisLevel=new Ge.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Tn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Gt(void 0))),this._scrollStrategy=n}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){t=function Uc(c,a){return Object.assign(Object.assign({},a),c)}(t,this._defaultOptions||new Yr),t.id&&this.getDialogById(t.id);const o=this._createOverlay(t),l=this._attachDialogContainer(o,t),s=this._attachDialogContent(e,l,o,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),l._initializeWithAttachedContent(),s}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new wc({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 l=g.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Yr,useValue:t}]}),s=new Ku(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(s).instance}_attachDialogContent(e,t,o,l){const s=new this._dialogRefConstructor(o,t,l.id);if(e instanceof g.Rgc)t.attachTemplatePortal(new Vm(e,null,{$implicit:l.data,dialogRef:s}));else{const n=this._createInjector(l,s,t),i=t.attachComponentPortal(new Ku(e,l.viewContainerRef,n,l.componentFactoryResolver));s.componentInstance=i.instance}return s.updateSize(l.width,l.height).updatePosition(l.position),s}_createInjector(e,t,o){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(pa,null,g.XFs.Optional))&&s.push({provide:pa,useValue:{value:e.direction,change:(0,Ue.of)()}}),g.zs3.create({parent:l||this._injector,providers:s})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.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 l=t[o];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return c.\u0275fac=function(e){g.$Z()},c.\u0275dir=g.lG2({type:c}),c})(),Ra=(()=>{class c extends Hv{constructor(e,t,o,l,s,n,i,r){super(e,t,l,n,i,s,zc,gg,_g,r)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(br),g.LFG(g.zs3),g.LFG(E.Ye,8),g.LFG(bg,8),g.LFG(rl),g.LFG(c,12),g.LFG(nh),g.LFG(Hn,8))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),vg=0,gh=(()=>{class c{constructor(e,t,o){this._dialogRef=e,this._elementRef=t,this._dialog=o,this.id="mat-dialog-title-"+vg++}ngOnInit(){this._dialogRef||(this._dialogRef=function Pv(c,a){let e=c.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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 c.\u0275fac=function(e){return new(e||c)(g.Y36(zc,8),g.Y36(g.SBq),g.Y36(Ra))},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&g.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),c})(),qc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),c})(),CT=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=g.lG2({type:c,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),c})(),Wc=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Ra,yg],imports:[[Us,Ma,Ye],Ye]}),c})();function $c(){const c=new Yr;return c.disableClose=!0,c.autoFocus=!1,c}function al(c,a){const e=a.split("&");for(const t of e){const[o,l]=t.split("=");if(o.includes(c))return l}return""}x(4327),new Intl.Collator("cs",{numeric:!0});let xr=(()=>{class c{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,o;const l=[null===(o=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===o?void 0:o[this.branding],this.instanceConfig,this.defaultConfig];let s=null;for(const n of l)n&&!s&&(s=n[e]);return s}get(...e){let t;if(""!==this.branding){const o=this.instanceConfig.brandings[this.branding];for(let l=0;l{class c{constructor(e,t,o,l,s){this.injector=e,this.store=t,this.dialog=o,this.route=l,this.oauthService=s,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(bi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),s=e?{acr_values:e}:{};if(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"),"Linker"===this.store.getProperty("application")){s.prompt="login";const n=al("idphint",location.search.substring(1));n&&(s.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:s}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let o=null;return e.forEach(l=>{const s=l.split("=");"idpFilter"===s[0]&&t[s[1]]&&(this.filterShortname=s[1],o=t[s[1]])}),t.default&&!o?(this.filterShortname="default",t.default):o}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(o=>o?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Xt.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 l=[];o&&(l=o.split("&"));const s={};return l.forEach(n=>{const i=n.split("=");s[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),s.idpFilter&&(this.filterShortname=String(s.idpFilter)),this.router.navigate([t],{queryParams:s,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Xt.h)(e=>e instanceof ci)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(o=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!o||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,s)=>s("Invalid path"))))}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(g.zs3),g.LFG(xr),g.LFG(Ra),g.LFG(be),g.LFG(Cs.Ct))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),$v=(()=>{class c{constructor(e){this.dialogRef=e}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(zc))},c.\u0275cmp=g.Xpm({type:c,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&&(g.TgZ(0,"h2",0),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[qc],pipes:[Ar],styles:[""]}),c})(),yh=(()=>{class c{constructor(e,t,o,l,s,n){this.authService=e,this.storeService=t,this.authResolver=o,this.authzService=l,this.dialog=s,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=$c();this.dialog.open($v,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const o of e){const l=o.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Qc),g.LFG(xr),g.LFG(ob),g.LFG(mo),g.LFG(Ra),g.LFG(bi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Hg=(()=>{class c{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(yr),g.LFG(Zn))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),Yv=(()=>{class c{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(zc))},c.\u0275cmp=g.Xpm({type:c,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&&(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 t.close()}),g._uU(9),g.ALo(10,"translate"),g.qZA(),g.qZA(),g.qZA()),2&e&&(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:[gh,qc,CT,zu],pipes:[Ar],styles:[""]}),c})(),vh=(()=>{class c{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),wn=(()=>{class c{constructor(e){this.translate=e,this.addNotification=new g.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,l,s){this.addNotification.emit({type:"error",error:t,description:o,title:e,actionText:void 0===l&&void 0!==o?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:s,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,o,l){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:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(nl))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Pg=(()=>{class c{constructor(e,t,o,l,s,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=o,this.store=l,this.dialog=s,this.initAuthService=n}intercept(e,t){const o=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==o&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=$c();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(Yv,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{Dt(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),s="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,Et.b)(n=>{n instanceof y.Zn&&s&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,Xs._)(n):l?void this.notificator.showRPCError(i):(0,Xs._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let o;console.error(e);const l=e.error;if(l.errorId&&(o=l),void 0!==o)return o.urlWithParams=t.urlWithParams,o.call=t.url,o.payload=t.body,o}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Qc),g.LFG(vh),g.LFG(wn),g.LFG(xr),g.LFG(Ra),g.LFG(yh))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})(),VT=(()=>{class c{constructor(e,t,o,l){this.http=e,this.notificator=t,this.authService=o,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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)(l=>this.formatErrors(l,o,null,t)))}put(e,t={},o=!0){const l=`${this.getApiUrl()}${e}`,s=JSON.stringify(t);return this.http.put(l,s,{headers:this.getHeaders()}).pipe((0,li.K)(n=>this.formatErrors(n,l,s,o)))}post(e,t={},o=!0){const l=`${this.getApiUrl()}${e}`,s=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,s,{headers:n}).pipe((0,li.K)(i=>this.formatErrors(i,l,s,o)))}delete(e,t=!0){const o=`${this.getApiUrl()}${e}`;return this.http.delete(o,{headers:this.getHeaders()}).pipe((0,li.K)(l=>this.formatErrors(l,o,null,t)))}formatErrors(e,t,o,l){const s=e.error;return s.call=t,s.payload=o,l&&this.notificator.showRPCError(e.error),(0,Xs._)(s)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(wn),g.LFG(Qc),g.LFG(xr))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Rg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez]]}),c})(),wh=(()=>{class c{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=g.Yjl({name:"userFullName",type:c,pure:!0}),c})();function Ah(c,a){if(1&c&&(g.TgZ(0,"mat-icon",6),g._uU(1),g.qZA()),2&c){const e=g.oxw();g.xp6(1),g.hij(" ",e.icon," ")}}function Ig(c,a){1&c&&g._UZ(0,"mat-icon",7)}function ew(c,a){if(1&c&&(g.TgZ(0,"span"),g._uU(1),g.qZA()),2&c){const e=g.oxw();g.xp6(1),g.hij(" ",e.supportMail," ")}}const kg=function(c){return{"background-color":c}},Vg=["*"];let NT=(()=>{class c{constructor(e){this.store=e,this.supportMail=this.store.getProperty("support_mail"),this.color="",this.icon="",this.greenColor="#e0ffd4",this.blueColor="#d4f2ff",this.redColor="#ffd4d4",this.warningIcon="warning",this.infoIcon="info",this.messageSent="mark_email_read"}ngOnChanges(){switch(this.result){case"OK":this.color=this.greenColor;break;case"IDENTITY_REGISTERED_ALREADY":case"UNKNOWN_ERROR":this.color=this.redColor,this.icon=this.warningIcon;break;case"IDENTITY_IDENTICAL":case"IDENTITY_LINKED":case"IDENTITY_UNKNOWN":this.color=this.blueColor,this.icon=this.infoIcon;break;case"MESSAGE_SENT_TO_SUPPORT":this.color=this.blueColor,this.icon=this.messageSent;break;case"TOKEN_EXPIRED":this.color=this.blueColor,this.icon=this.warningIcon}}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(xr))},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-consolidation-result"]],inputs:{result:"result"},features:[g.TTD],ngContentSelectors:Vg,decls:14,vars:12,consts:[[1,"p-4","m-3",3,"ngStyle"],[1,"d-flex","pb-5","flex-row"],["class","mat-icon-war mr-4",4,"ngIf"],["svgIcon","perun-verify-grey","class","perun-icon perun-icon-detail",4,"ngIf"],[1,"ml-5"],[4,"ngIf"],[1,"mat-icon-war","mr-4"],["svgIcon","perun-verify-grey",1,"perun-icon","perun-icon-detail"]],template:function(e,t){1&e&&(g.F$t(),g.TgZ(0,"div",0),g.TgZ(1,"div",1),g.TgZ(2,"div"),g.YNc(3,Ah,2,1,"mat-icon",2),g.YNc(4,Ig,1,0,"mat-icon",3),g.qZA(),g.TgZ(5,"div",4),g.TgZ(6,"h1"),g._uU(7),g.ALo(8,"translate"),g.qZA(),g.TgZ(9,"h5"),g._uU(10),g.ALo(11,"translate"),g.YNc(12,ew,2,1,"span",5),g.qZA(),g.qZA(),g.qZA(),g.Hsn(13),g.qZA()),2&e&&(g.Q6J("ngStyle",g.VKq(10,kg,t.color)),g.xp6(3),g.Q6J("ngIf","OK"!==t.result),g.xp6(1),g.Q6J("ngIf","OK"===t.result),g.xp6(3),g.hij(" ",g.lcZ(8,6,"SHARED_LIB.CONSOLIDATOR."+t.result+"_TITLE")," "),g.xp6(3),g.hij(" ",g.lcZ(11,8,"SHARED_LIB.CONSOLIDATOR."+t.result+"_SUBTITLE")," "),g.xp6(2),g.Q6J("ngIf","UNKNOWN_ERROR"===t.result))},directives:[E.PC,E.O5,Ev],pipes:[Ar],styles:[".mat-icon-war[_ngcontent-%COMP%]{font-size:82px}.perun-icon-detail[_ngcontent-%COMP%]{transform:scale(4.5);margin-left:3rem;margin-top:1.5rem;color:#000}"]}),c})();function tw(c,a){if(1&c&&(g.O4$(),g._UZ(0,"circle",4)),2&c){const e=g.oxw(),t=g.MAs(1);g.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)),g.uIk("r",e._getCircleRadius())}}function zT(c,a){if(1&c&&(g.O4$(),g._UZ(0,"circle",4)),2&c){const e=g.oxw(),t=g.MAs(1);g.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),g.uIk("r",e._getCircleRadius())}}const iw=ko(class{constructor(c){this._elementRef=c}},"primary"),nw=new g.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function rw(){return{diameter:100}}});class Jr extends iw{constructor(a,e,t,o,l,s,n,i){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=jt.w0.EMPTY,this.mode="determinate";const r=Jr._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(t.head)||r.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===o&&!!l&&!l._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&s&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>s.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=cr(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=cr(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,cr(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Ts(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=Jr._diameters;let o=t.get(a);if(!o||!o.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),a.appendChild(l),o||(o=new Set,t.set(a,o)),o.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Jr._diameters=new WeakMap,Jr.\u0275fac=function(a){return new(a||Jr)(g.Y36(g.SBq),g.Y36(Ii),g.Y36(E.K0,8),g.Y36(Hn,8),g.Y36(nw),g.Y36(g.sBO),g.Y36(Lo),g.Y36(g.R0b))},Jr.\u0275cmp=g.Xpm({type:Jr,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(g.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),g.Udp("width",e.diameter,"px")("height",e.diameter,"px"),g.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[g.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(a,e){1&a&&(g.O4$(),g.TgZ(0,"svg",0,1),g.YNc(2,tw,1,11,"circle",2),g.YNc(3,zT,1,9,"circle",3),g.qZA()),2&a&&(g.Udp("width",e.diameter,"px")("height",e.diameter,"px"),g.Q6J("ngSwitch","indeterminate"===e.mode),g.uIk("viewBox",e._getViewBox()),g.xp6(2),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 xh=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye,E.ez],Ye]}),c})();function UT(c,a){if(1&c){const e=g.EpF();g.TgZ(0,"button",6),g.NdJ("click",function(){return g.CHM(e),g.oxw().loginAgain()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&c&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHOW_RESULT.LOG_OTHER_BUTTON")," "))}function aw(c,a){if(1&c){const e=g.EpF();g.TgZ(0,"button",6),g.NdJ("click",function(){return g.CHM(e),g.oxw().sendMessageToSupport()}),g._uU(1),g.ALo(2,"translate"),g.qZA()}2&c&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"SHOW_RESULT.CONTACT_SUPPORT_BUTTON")," "))}function Jc(c,a){1&c&&(g.TgZ(0,"div",7),g._UZ(1,"mat-spinner",8),g.qZA())}const ow=[{path:"",redirectTo:"result",pathMatch:"full"},{path:"result/:result",component:(()=>{class c{constructor(e,t,o,l,s,n,i,r,d){this.route=e,this.dialog=t,this.oauthService=o,this.attributeService=l,this.storeService=s,this.authzService=n,this.rtMessages=i,this.userFullNamePipe=r,this.oAuthStorage=d,this.linkerResult="UNKNOWN_ERROR",this.loading=!1,this.openerWindow=window.opener}ngOnInit(){this.route.params.subscribe(e=>{this.linkerResult=e.result,this.openerWindow.postMessage(this.linkerResult,"*")})}closeWindow(){window.close()}loginAgain(){let e=location.search.substring(1);if("IDENTITY_UNKNOWN"===this.linkerResult){let t=0,o="yes";for(;""!==o;)t++,o=al("formerToken"+t.toString(),e);e+="&formerToken"+t.toString()+"="+this.oauthService.getAccessToken()}sessionStorage.setItem("auth:queryParams",e),this.oauthService.initLoginFlow()}sendMessageToSupport(){this.loading=!0;const e=this.storeService.getPerunPrincipal().user,t=location.search.substring(1);this.oAuthStorage.setItem("access_token",al("formerToken",t)),this.authzService.getPerunPrincipal().subscribe(o=>{this.rtMessages.sentMessageToRTWithQueue("perun","Account linking: The accounts could not be automatically linked.",this.getFullEmailBody(e,o.user)).subscribe(()=>{this.linkerResult="MESSAGE_SENT_TO_SUPPORT",this.openerWindow.postMessage(this.linkerResult,"*"),this.loading=!1},()=>{this.loading=!1,this.linkerResult="UNKNOWN_ERROR",this.openerWindow.postMessage(this.linkerResult,"*")})})}getFullEmailBody(e,t){const o=this.storeService.getProperty("config");let l="Account linking: The accounts could not be automatically linked.\nThe user proved his identities, but they were connected to different users.\nBy this message the user is asking for help with identity consolidation.\n";return l=l.concat("\n\n"),l=l.concat("Information about users: \n\n"),l=l.concat("First user: \nid="+t.id.toString()+"\nName: "+this.userFullNamePipe.transform(t)+"\n\n"),l=l.concat("Second user: \nid="+e.id.toString()+"\nName: "+this.userFullNamePipe.transform(e)+"\n\n"),l=l.concat("Perun instance: "+o+"\n"),l=l.concat("Sended from new Consolidator Gui, version: ",x(4147).i8),l.split("\n").join("\n ")}}return c.\u0275fac=function(e){return new(e||c)(g.Y36(be),g.Y36(Ra),g.Y36(Cs.Ct),g.Y36(fo),g.Y36(xr),g.Y36(mo),g.Y36(Bp),g.Y36(wh),g.Y36(Cs.Hy))},c.\u0275cmp=g.Xpm({type:c,selectors:[["perun-web-apps-show-result"]],decls:9,vars:7,consts:[[1,"position-relative"],[3,"result"],[1,"d-flex","mt-5"],["mat-flat-button","",1,"ml-auto",3,"click"],["mat-flat-button","","color","accent","class","ml-2",3,"click",4,"ngIf"],["class","spinner-container",4,"ngIf"],["mat-flat-button","","color","accent",1,"ml-2",3,"click"],[1,"spinner-container"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(g.TgZ(0,"div",0),g.TgZ(1,"perun-web-apps-consolidation-result",1),g.TgZ(2,"div",2),g.TgZ(3,"button",3),g.NdJ("click",function(){return t.closeWindow()}),g._uU(4),g.ALo(5,"translate"),g.qZA(),g.YNc(6,UT,3,3,"button",4),g.YNc(7,aw,3,3,"button",4),g.qZA(),g.qZA(),g.YNc(8,Jc,2,0,"div",5),g.qZA()),2&e&&(g.xp6(1),g.Q6J("result",t.linkerResult),g.xp6(3),g.hij(" ",g.lcZ(5,5,"SHOW_RESULT.CLOSE_WINDOW_BUTTON")," "),g.xp6(2),g.Q6J("ngIf","IDENTITY_IDENTICAL"===t.linkerResult||"IDENTITY_UNKNOWN"===t.linkerResult||"IDENTITY_LINKED"===t.linkerResult),g.xp6(1),g.Q6J("ngIf","IDENTITY_REGISTERED_ALREADY"===t.linkerResult),g.xp6(1),g.Q6J("ngIf",t.loading))},directives:[NT,zu,E.O5,Jr],pipes:[Ar],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:1rem;bottom:0;right:1rem;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}"]}),c})()}];let Fg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[ua.forRoot(ow)],ua]}),c})();class Ia{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let Lg=(()=>{class c{constructor(e,t,o,l,s){this.http=e,this.storeService=t,this.authzSevice=o,this.titleService=l,this.utilsService=s}initializeColors(e,t){return new Promise(o=>{t.forEach(l=>{const s=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,s)}),e.forEach(l=>{const s=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,s),this.setEntityTheme(l.entity,s)}),o()})}setEntityTheme(e,t){const o=function Th(c){return[Mi(tinycolor(c).lighten(52),"50"),Mi(tinycolor(c).lighten(37),"100"),Mi(tinycolor(c).lighten(26),"200"),Mi(tinycolor(c).lighten(12),"300"),Mi(tinycolor(c).lighten(6),"400"),Mi(tinycolor(c),"500"),Mi(tinycolor(c).darken(6),"600"),Mi(tinycolor(c).darken(12),"700"),Mi(tinycolor(c).darken(18),"800"),Mi(tinycolor(c).darken(24),"900"),Mi(tinycolor(c).lighten(50).saturate(30),"A100"),Mi(tinycolor(c).lighten(30).saturate(30),"A200"),Mi(tinycolor(c).lighten(10).saturate(15),"A400"),Mi(tinycolor(c).lighten(5).saturate(5),"A700")]}(t);for(const l of o){const i=`--${e}-theme-primary-contrast-${l.name}`,r=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(i,r)}}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=>{var o;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(o=null==t?void 0:t.brandings)||void 0===o?void 0:o[l])&&this.storeService.setBanding(l),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(o=>{this.storeService.setAppsConfig(o),e()},o=>t(o))})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(y.eN),g.LFG(xr),g.LFG(mo),g.LFG(Bi),g.LFG(Fp))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Mi(c,a){const e=tinycolor(c),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let sw=(()=>{class c{constructor(e,t){this.registrarService=e,this.router=t}consolidate(){const e=location.search.substring(1),t=al("formerToken",e);return new Promise(o=>{this.registrarService.consolidate({accessToken:t}).subscribe(()=>{this.consolidatePreviousLogins(1,e).then(()=>{this.router.navigate(["/result","OK"]),o()})},l=>{let n="UNKNOWN_ERROR";switch(l.error.name){case"InvalidTokenException":case"ExpiredTokenException":n="TOKEN_EXPIRED";break;case"IdentityUnknownException":n="IDENTITY_UNKNOWN";break;case"IdentityAlreadyInUseException":n="IDENTITY_REGISTERED_ALREADY";break;case"IdentityIsSameException":n="IDENTITY_IDENTICAL";break;case"IdentitiesAlreadyJoinedException":n="IDENTITY_LINKED"}this.router.navigate(["/result",n],{queryParamsHandling:"merge"}),o()})})}consolidatePreviousLogins(e,t){return new Promise(o=>{const l=al("formerToken"+e.toString(),t);null==l||""===l?o():this.registrarService.consolidate({accessToken:l}).subscribe(()=>{this.consolidatePreviousLogins(e+1,t).then(()=>o())},()=>{this.consolidatePreviousLogins(e+1,t).then(()=>o())})})}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(J_),g.LFG(bi))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Eh=(()=>{class c{constructor(e,t,o,l){this.initAuthService=e,this.appConfigService=t,this.location=o,this.linkIdentitiesService=l}loadConfigs(){return this.appConfigService.loadAppDefaultConfig().then(()=>this.appConfigService.loadAppInstanceConfig()).then(()=>this.appConfigService.setApiUrl()).then(()=>this.initAuthService.verifyAuth()).catch(e=>{throw console.error(e),this.location.go("/"),location.reload(),e}).then(e=>e?this.initAuthService.simpleLoadPrincipal().then(()=>this.linkIdentitiesService.consolidate()):this.initAuthService.handleAuthStart())}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(yh),g.LFG(Lg),g.LFG(E.Ye),g.LFG(sw))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Sh=new g.OlP("perun-api-service");let jg=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),gE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})();const kw=new g.OlP("NgModelWithFormControlWarning");let RE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[gE]]}),c})(),jw=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[RE]}),c})(),jh=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:kw,useValue:e.warnOnNgModelWithFormControl}]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[RE]}),c})(),VE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),i_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye,vo,VE],Ye,VE]}),c})(),Nw=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),BD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),OE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,BD,Ma]]}),c})(),LE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Oo,Ye],Oo,Ye]}),c})(),jE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),n_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Bo],imports:[[jE,$r,Ye],jE,$r]}),c})(),jD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[zn]]}),c})(),zw=(()=>{class c{constructor(){this.changes=new Ge.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const KD={provide:zw,deps:[[new g.FiY,new g.tp0,zw]],useFactory:function JD(c){return c||new zw}};let zE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[KD,Bo],imports:[[Ye,E.ez,Ma,It,jD,vr,Ui],Ye]}),c})(),hH=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[jo]]}),c})(),f_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[hH,Ye],Ye]}),c})(),LH=(()=>{class c{constructor(){this.changes=new Ge.x,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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const zH={provide:new g.OlP("mat-datepicker-scroll-strategy"),deps:[br],useFactory:function NH(c){return()=>c.scrollStrategies.reposition()}};let eA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[LH,zH],imports:[[E.ez,It,Us,Nr,Ma,Ye],_r]}),c})(),rS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,_r],_r,Ye]}),c})(),oS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Oo,Ui,Ye,_c,E.ez],Oo,Ye,_c,Nw]}),c})(),sS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ye],Ye]}),c})(),tA=(()=>{class c{constructor(){this.changes=new Ge.x}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const lP={provide:tA,deps:[[new g.FiY,new g.tp0,tA]],useFactory:function sP(c){return c||new tA}};let iA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[lP],imports:[[E.ez,Ye]]}),c})(),pP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Ye,Ma,Ui,vo,Nr],Ye]}),c})(),lS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),cS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[lS,Ui,Ye,vo],lS,Ye]}),c})();const pS=new g.OlP("mat-chips-default-options");let rA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[Bo,{provide:pS,useValue:{separatorKeyCodes:[13]}}],imports:[[Ye]]}),c})(),aA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,jg,Nw,OE,It,LE,i_,vr,f_,Wc,xh,$r,n_,jo,jw,jh,zE,eA,Vo,rS,oS,Zs,sS,iA,Go,Mc,zo,Ui,f_,cS,rA],jg,Nw,OE,It,LE,i_,vr,f_,Wc,xh,$r,n_,jo,jw,jh,zE,eA,Vo,rS,oS,Zs,sS,iA,Go,Mc,zo,Ui,pP,cS,rA]}),c})(),oA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[vr,E.ez]]}),c})();function sA(c,a,e){for(let t in a)if(a.hasOwnProperty(t)){const o=a[t];o?c.setProperty(t,o,(null==e?void 0:e.has(t))?"important":""):c.removeProperty(t)}return c}function id(c,a){const e=a?"":"none";sA(c.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function fS(c,a,e){sA(c.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function b_(c,a){return a&&"none"!=a?c+" "+a:c}function mS(c){const a=c.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(c)*a}function lA(c,a){return c.getPropertyValue(a).split(",").map(t=>t.trim())}function cA(c){const a=c.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function dA(c,a,e){const{top:t,bottom:o,left:l,right:s}=c;return e>=t&&e<=o&&a>=l&&a<=s}function Uh(c,a,e){c.top+=a,c.bottom=c.top+c.height,c.left+=e,c.right=c.left+c.width}function gS(c,a,e,t){const{top:o,right:l,bottom:s,left:n,width:i,height:r}=c,d=i*a,u=r*a;return t>o-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:cA(e)})})}handleScroll(a){const e=fn(a),t=this.positions.get(e);if(!t)return null;const o=t.scrollPosition;let l,s;if(e===this._document){const r=this.getViewportScrollPosition();l=r.top,s=r.left}else l=e.scrollTop,s=e.scrollLeft;const n=o.top-l,i=o.left-s;return this.positions.forEach((r,d)=>{r.clientRect&&e!==d&&e.contains(d)&&Uh(r.clientRect,n,i)}),o.top=l,o.left=s,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function bS(c){const a=c.cloneNode(!0),e=a.querySelectorAll("[id]"),t=c.nodeName.toLowerCase();a.removeAttribute("id");for(let o=0;o{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),H=this._dropContainer;if(!b)return void this._endDragSequence(n);(!H||!H.isDragging()&&!H.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const r=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,i);else{const d=this._activeTransform;d.x=r.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=r.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:n,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new _S(t),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=gt(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>id(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>ai(t)),this._handles.forEach(t=>id(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=ai(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,C_),e.addEventListener("touchstart",this._pointerDown,wS),e.addEventListener("dragstart",this._nativeDragStart,C_)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?ai(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),id(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),id(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){qh(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,o=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();o.insertBefore(s,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),fS(t,!1,uA),this._document.body.appendChild(o.replaceChild(l,t)),this._getPreviewInsertionPoint(o,n).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),o=qh(e),l=!o&&0!==e.button,s=this._rootElement,n=fn(e),i=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),r=o?Gn(e):yf(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||i||r)return;if(this._handles.length){const f=s.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=cA(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){fS(this._rootElement,!0,uA),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(a),l=this._getDragDistance(o),s=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:l,dropPoint:o}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:l,dropPoint:o}),e.drop(this,t,this._initialIndex,this._initialContainer,s,l,o),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:o}){let l=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,a,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,o),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let o;if(t&&a){const l=a.matchSize?this._rootElement.getBoundingClientRect():null,s=a.viewContainer.createEmbeddedView(t,a.context);s.detectChanges(),o=xS(s,this._document),this._previewRef=s,a.matchSize?TS(o,l):o.style.transform=y_(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;o=bS(l),TS(o,l.getBoundingClientRect()),this._initialTransform&&(o.style.transform=this._initialTransform)}return sA(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},uA),id(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>o.classList.add(l)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function jP(c){const a=getComputedStyle(c),e=lA(a,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const o=e.indexOf(t),l=lA(a,"transition-duration"),s=lA(a,"transition-delay");return mS(l[o])+mS(s[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const o=s=>{var n;(!s||fn(s)===this._preview&&"transform"===s.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",o),t(),clearTimeout(l))},l=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=xS(this._placeholderRef,this._document)):t=bS(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),o=a===this._rootElement?null:a,l=o?o.getBoundingClientRect():t,s=qh(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:l.left-t.left+(s.pageX-l.left-n.left),y:l.top-t.top+(s.pageY-l.top-n.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=qh(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,o=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const n=this._ownerSVGElement.createSVGPoint();return n.x=o,n.y=l,n.matrixTransform(s.inverse())}}return{x:o,y:l}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:o}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:s}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:r}=this._getPreviewRect(),d=n.top+s,u=n.bottom-(r-s);t=AS(t,n.left+l,n.right-(i-l)),o=AS(o,d,u)}return{x:t,y:o}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,o=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-l.x),n=Math.abs(t-l.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=e>l.x?1:-1,l.x=e),n>this._config.pointerDirectionChangeThreshold&&(o.y=t>l.y?1:-1,l.y=t),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,id(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,C_),a.removeEventListener("touchstart",this._pointerDown,wS),a.removeEventListener("dragstart",this._nativeDragStart,C_)}_applyRootElementTransform(a,e){const t=y_(a,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=b_(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const o=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=y_(a,e);this._preview.style.transform=b_(l,o)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 l=t.left-o.left,s=o.right-t.right,n=t.top-o.top,i=o.bottom-t.bottom;t.width>o.width?(l>0&&(a+=l),s>0&&(a-=s)):a=0,t.height>o.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:qh(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=fn(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&Uh(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ts(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return ai(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function y_(c,a){return`translate3d(${Math.round(c)}px, ${Math.round(a)}px, 0)`}function AS(c,a,e){return Math.max(a,Math.min(e,c))}function qh(c){return"t"===c.type[0]}function xS(c,a){const e=c.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(o=>t.appendChild(o)),t}function TS(c,a){c.style.width=`${a.width}px`,c.style.height=`${a.height}px`,c.style.transform=y_(a.left,a.top)}function Wh(c,a){return Math.max(0,Math.min(a,c))}class qP{constructor(a,e,t,o,l){this._dragDropRegistry=e,this._ngZone=o,this._viewportRuler=l,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ge.x,this.entered=new Ge.x,this.exited=new Ge.x,this.dropped=new Ge.x,this.sorted=new Ge.x,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=jt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ge.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function LP(c=0,a=qu.z){return c<0&&(c=0),(0,Wu.H)(c,c,a)}(0,Pn).pipe(ui(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-n):2===this._verticalScrollDirection&&s.scrollBy(0,n),1===this._horizontalScrollDirection?s.scrollBy(-n,0):2===this._horizontalScrollDirection&&s.scrollBy(n,0)})},this.element=ai(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new _S(t)}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(a,e,t,o){let l;this._draggingStarted(),null==o?(l=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(a,e,t))):l=o;const s=this._activeDraggables,n=s.indexOf(a),i=a.getPlaceholderElement();let r=s[l];if(r===a&&(r=s[l+1]),!r&&(null==l||-1===l||l-1&&s.splice(n,1),r&&!this._dragDropRegistry.isDragging(r)){const d=r.getRootElement();d.parentElement.insertBefore(i,d),s.splice(l,0,a)}else ai(this.element).appendChild(i),s.push(a);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,o,l,s,n){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:o,isPointerOverContainer:l,distance:s,dropPoint:n})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===a.indexOf(o))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=ai(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,o){if(this.sortingDisabled||!this._clientRect||!gS(this._clientRect,.05,e,t))return;const l=this._itemPositions,s=this._getItemIndexFromPointerPosition(a,e,t,o);if(-1===s&&l.length>0)return;const n="horizontal"===this._orientation,i=l.findIndex(oe=>oe.drag===a),r=l[s],u=r.clientRect,f=i>s?1:-1,b=this._getItemOffsetPx(l[i].clientRect,u,f),H=this._getSiblingOffsetPx(i,l,f),G=l.slice();(function UP(c,a,e){const t=Wh(a,c.length-1),o=Wh(e,c.length-1);if(t===o)return;const l=c[t],s=o{if(G[Oe]===oe)return;const ct=oe.drag===a,nt=ct?b:H,At=ct?a.getPlaceholderElement():oe.drag.getRootElement();oe.offset+=nt,n?(At.style.transform=b_(`translate3d(${Math.round(oe.offset)}px, 0, 0)`,oe.initialTransform),Uh(oe.clientRect,0,nt)):(At.style.transform=b_(`translate3d(0, ${Math.round(oe.offset)}px, 0)`,oe.initialTransform),Uh(oe.clientRect,nt,0))}),this._previousSwap.overlaps=dA(u,e,t),this._previousSwap.drag=r.drag,this._previousSwap.delta=n?o.x:o.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,o=0,l=0;if(this._parentPositions.positions.forEach((s,n)=>{n===this._document||!s.clientRect||t||gS(s.clientRect,.05,a,e)&&([o,l]=function WP(c,a,e,t){const o=MS(a,t),l=DS(a,e);let s=0,n=0;if(o){const i=c.scrollTop;1===o?i>0&&(s=1):c.scrollHeight-i>c.clientHeight&&(s=2)}if(l){const i=c.scrollLeft;1===l?i>0&&(n=1):c.scrollWidth-i>c.clientWidth&&(n=2)}return[s,n]}(n,s.clientRect,a,e),(o||l)&&(t=n))}),!o&&!l){const{width:s,height:n}=this._viewportRuler.getViewportSize(),i={width:s,height:n,top:0,right:s,bottom:n,left:0};o=MS(i,e),l=DS(i,a),t=window}t&&(o!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=l,this._scrollNode=t,(o||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=ai(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=ai(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:cA(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=ai(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const o=e.getRootElement();if(o){const l=null===(t=this._itemPositions.find(s=>s.drag===e))||void 0===t?void 0:t.initialTransform;o.style.transform=l||""}}),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(a,e,t){const o="horizontal"===this._orientation,l=e[a].clientRect,s=e[a+-1*t];let n=l[o?"width":"height"]*t;if(s){const i=o?"left":"top",r=o?"right":"bottom";-1===t?n-=s.clientRect[i]-l[r]:n+=l[i]-s.clientRect[r]}return n}_getItemOffsetPx(a,e,t){const o="horizontal"===this._orientation;let l=o?e.left-a.left:e.top-a.top;return-1===t&&(l+=o?e.width-a.width:e.height-a.height),l}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,o="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const s=t[t.length-1].clientRect;return o?a>=s.right:e>=s.bottom}{const s=t[0].clientRect;return o?a<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(a,e,t,o){const l="horizontal"===this._orientation,s=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===a)return!1;if(o){const r=l?o.x:o.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&r===this._previousSwap.delta)return!1}return l?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&to._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!dA(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,t);if(!o)return!1;const l=ai(this.element);return o===l||l.contains(o)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{Uh(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 a=Ts(ai(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function MS(c,a){const{top:e,bottom:t,height:o}=c,l=.05*o;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}function DS(c,a){const{left:e,right:t,width:o}=c,l=.05*o;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}const v_=or({passive:!1,capture:!0});let $P=(()=>{class c{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 Ge.x,this.pointerUp=new Ge.x,this.scroll=new Ge.x,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,v_)})}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,v_)}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:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:v_}),o||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:v_}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,s)=>{this._document.addEventListener(s,l.handler,l.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 Qt.y(o=>this._ngZone.runOutsideAngular(()=>{const s=n=>{this._activeDragInstances.length&&o.next(n)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),(0,Da.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 c.\u0275fac=function(e){return new(e||c)(g.LFG(g.R0b),g.LFG(E.K0))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const QP={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let YP=(()=>{class c{constructor(e,t,o,l){this._document=e,this._ngZone=t,this._viewportRuler=o,this._dragDropRegistry=l}createDrag(e,t=QP){return new GP(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new qP(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(E.K0),g.LFG(g.R0b),g.LFG(Lo),g.LFG($P))},c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),JP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[YP],imports:[_r]}),c})(),KP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),iR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({}),c})(),dR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[iR,Ye],Ye]}),c})(),AR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[Ui,Ye],Ye]}),c})();new g.OlP("mat-selectsearch-default-options");let MR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,jh,It,i_,vr,xh,Mc]]}),c})(),DR=(()=>{class c extends mc{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=g.n5z(c)))(t||c)}}(),c.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac}),c})();const HR={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 IS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[{provide:bn,useClass:DR},{provide:js,useValue:HR}],imports:[[E.ez,i_,f_,jw,rA,JP,Uo,ua,iA,Go,xh,oA,vr,Zs,It,Mc,$r,jh,n_,Ui,Rg,KP,dR,eA,AR,bc,zo,MR,jo,Wc,fg,aA]]}),c})(),zI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,It,vr,ua,IS,Uo,$r,jh,n_,oA]]}),c})(),UI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({imports:[[E.ez,Wc,It,Uo]]}),c})(),qI=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=g.oAB({type:c}),c.\u0275inj=g.cJS({providers:[wh],imports:[[E.ez,aA,Uo,Rg]]}),c})();const WI={provide:y.TP,useExisting:(0,g.Gpc)(()=>Pg),multi:!0};function $I(c){return new Ia(c,"./assets/i18n/",".json")}function QI(c){const a={basePath:c.getProperty("api_url")};return new it(a)}const YI=c=>()=>c.loadConfigs();let JI=(()=>{class c{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return c.\u0275fac=function(e){return new(e||c)(g.LFG(Hg),g.LFG(nl))},c.\u0275mod=g.oAB({type:c,bootstrap:[Ip]}),c.\u0275inj=g.cJS({providers:[Hg,{provide:g.ip1,useFactory:YI,multi:!0,deps:[Eh]},{provide:it,useFactory:QI,deps:[xr]},Pg,WI,{provide:Sh,useClass:VT},{provide:Cs.Hy,useFactory:()=>localStorage}],imports:[[Er,ku,y.JF,ab,Fg,aA,zI,vr,IS,oA,fg,UI,Cs.zr.forRoot(),qI,Uo.forRoot({loader:{provide:Pa,useFactory:$I,deps:[y.eN]}})]]}),c})();(0,g.G48)(),Tr().bootstrapModule(JI).catch(c=>console.error(c))},1302:function(L,N,x){var E;!function(g,k){var O={};!function(g){"use strict";g.__esModule=!0,g.digestLength=32,g.blockSize=64;var k=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 O(se,W,ae,ie,le){for(var Te,Me,Pe,ye,fe,we,Xe,Se,xe,Ve,ne,ce,de;le>=64;){for(Te=W[0],Me=W[1],Pe=W[2],ye=W[3],fe=W[4],we=W[5],Xe=W[6],Se=W[7],Ve=0;Ve<16;Ve++)se[Ve]=(255&ae[ne=ie+4*Ve])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Ve=16;Ve<64;Ve++)se[Ve]=((ce=((xe=se[Ve-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+se[Ve-7]|0)+((de=((xe=se[Ve-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+se[Ve-16]|0);for(Ve=0;Ve<64;Ve++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&we^~fe&Xe)|0)+(Se+(k[Ve]+se[Ve]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&Pe^Me&Pe)|0,Se=Xe,Xe=we,we=fe,fe=ye+ce|0,ye=Pe,Pe=Me,Me=Te,Te=ce+de|0;W[0]+=Te,W[1]+=Me,W[2]+=Pe,W[3]+=ye,W[4]+=fe,W[5]+=we,W[6]+=Xe,W[7]+=Se,ie+=64,le-=64}return ie}var V=function(){function se(){this.digestLength=g.digestLength,this.blockSize=g.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 se.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},se.prototype.clean=function(){for(var W=0;W0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,W,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;return this},se.prototype.finish=function(W){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var Pe=ie+1;Pe>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(Pe=0;Pe<8;Pe++)W[4*Pe+0]=this.state[Pe]>>>24&255,W[4*Pe+1]=this.state[Pe]>>>16&255,W[4*Pe+2]=this.state[Pe]>>>8&255,W[4*Pe+3]=this.state[Pe]>>>0&255;return this},se.prototype.digest=function(){var W=new Uint8Array(this.digestLength);return this.finish(W),W},se.prototype._saveState=function(W){for(var ae=0;aethis.blockSize)(new V).update(W).finish(ae).clean();else for(var ie=0;ie1&&W.update(se),ae&&W.update(ae),W.update(ie),W.finish(se),ie[0]++}g.HMAC=j,g.hash=q,g.default=q,g.hmac=Y;var $=new Uint8Array(g.digestLength);g.hkdf=function z(se,W,ae,ie){void 0===W&&(W=$),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Y(W,se),Me=new j(Te),Pe=new Uint8Array(Me.digestLength),ye=Pe.length,fe=new Uint8Array(ie),we=0;we>>24&255,Me[1]=Xe>>>16&255,Me[2]=Xe>>>8&255,Me[3]=Xe>>>0&255,le.reset(),le.update(W),le.update(Me),le.finish(ye);for(var Se=0;Se=z.status}function j($){try{$.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Y=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),U=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Y?function($,z,re){var se=q.URL||q.webkitURL,W=document.createElement("a");W.download=z=z||$.name||"download",W.rel="noopener","string"==typeof $?(W.href=$,W.origin===location.origin?j(W):V(W.href)?O($,z,re):j(W,W.target="_blank")):(W.href=se.createObjectURL($),setTimeout(function(){se.revokeObjectURL(W.href)},4e4),setTimeout(function(){j(W)},0))}:"msSaveOrOpenBlob"in navigator?function($,z,re){if(z=z||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function k($,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($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,re),z);else if(V($))O($,z,re);else{var se=document.createElement("a");se.href=$,se.target="_blank",setTimeout(function(){j(se)})}}:function($,z,re,se){if((se=se||open("","_blank"))&&(se.document.title=se.document.body.innerText="downloading..."),"string"==typeof $)return O($,z,re);var W="application/octet-stream"===$.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||W&&ae||Y)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var Pe=le.result;Pe=ie?Pe:Pe.replace(/^data:[^;]*;/,"data:attachment/file;"),se?se.location.href=Pe:location=Pe,se=null},le.readAsDataURL($)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL($);se?se.location=Me:location.href=Me,se=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=U.saveAs=U,L.exports=U}.apply(N,[]))&&(L.exports=g)},8306:(L,N,x)=>{"use strict";x.d(N,{y:()=>$});var E=x(930),g=x(727),k=x(8822),O=x(4671);var q=x(2416),Y=x(576),U=x(2806);let $=(()=>{class W{constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new W;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function se(W){return W&&W instanceof E.Lv||function re(W){return W&&(0,Y.m)(W.next)&&(0,Y.m)(W.error)&&(0,Y.m)(W.complete)}(W)&&(0,g.Nn)(W)}(ie)?ie:new E.Hp(ie,le,Te);return(0,U.x)(()=>{const{operator:Pe,source:ye}=this;Me.add(Pe?Pe.call(Me,ye):ye?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const Pe=new E.Hp({next:ye=>{try{ie(ye)}catch(fe){Me(fe),Pe.unsubscribe()}},error:Me,complete:Te});this.subscribe(Pe)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[k.L](){return this}pipe(...ie){return function j(W){return 0===W.length?O.y:1===W.length?W[0]:function(ie){return W.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(Pe=>Me=Pe,Pe=>Te(Pe),()=>le(Me))})}}return W.create=ae=>new W(ae),W})();function z(W){var ae;return null!==(ae=null!=W?W:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(L,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),g=x(727);const O=(0,x(3888).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=x(8737),j=x(2806);let q=(()=>{class U extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Y(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:se,observers:W}=this;return re||se?g.Lc:(this.currentObservers=null,W.push(z),new g.w0(()=>{this.currentObservers=null,(0,V.P)(W,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:se,isStopped:W}=this;re?z.error(se):W&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return U.create=($,z)=>new Y($,z),U})();class Y extends q{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,$)}error($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==re?re:g.Lc}}},930:(L,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),g=x(727),k=x(2416),O=x(7849),V=x(5032);const j=U("C",void 0,void 0);function U(ye,fe,we){return{kind:ye,value:fe,error:we}}var $=x(3410),z=x(2806);class re extends g.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,g.Nn)(fe)&&fe.add(this)):this.destination=Pe}static create(fe,we,Xe){return new ie(fe,we,Xe)}next(fe){this.isStopped?Me(function Y(ye){return U("N",ye,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(ye){return U("E",void 0,ye)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const se=Function.prototype.bind;function W(ye,fe){return se.call(ye,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:we}=this;if(we.next)try{we.next(fe)}catch(Xe){le(Xe)}}error(fe){const{partialObserver:we}=this;if(we.error)try{we.error(fe)}catch(Xe){le(Xe)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(we){le(we)}}}class ie extends re{constructor(fe,we,Xe){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=we?we:void 0,complete:null!=Xe?Xe:void 0};else{let xe;this&&k.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&W(fe.next,xe),error:fe.error&&W(fe.error,xe),complete:fe.complete&&W(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(ye){k.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(ye):(0,O.h)(ye)}function Me(ye,fe){const{onStoppedNotification:we}=k.v;we&&$.z.setTimeout(()=>we(ye,fe))}const Pe={closed:!0,next:V.Z,error:function Te(ye){throw ye},complete:V.Z}},727:(L,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>V,Nn:()=>q});var E=x(576);const k=(0,x(3888).d)(U=>function(z){U(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,se)=>`${se+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class V{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const W of z)W.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch(W){$=W instanceof k?W.errors:[W]}const{_finalizers:se}=this;if(se){this._finalizers=null;for(const W of se)try{Y(W)}catch(ae){$=null!=$?$:[],ae instanceof k?$=[...$,...ae.errors]:$.push(ae)}}if($)throw new k($)}}add($){var z;if($&&$!==this)if(this.closed)Y($);else{if($ instanceof V){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,O.P)(z,$),$ instanceof V&&$._removeParent(this)}}V.EMPTY=(()=>{const U=new V;return U.closed=!0,U})();const j=V.EMPTY;function q(U){return U instanceof V||U&&"closed"in U&&(0,E.m)(U.remove)&&(0,E.m)(U.add)&&(0,E.m)(U.unsubscribe)}function Y(U){(0,E.m)(U)?U():U.unsubscribe()}},2416:(L,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(L,N,x)=>{"use strict";x.d(N,{a:()=>$});var E=x(8306),g=x(4742),k=x(2076),O=x(4671),V=x(3268),j=x(3269),q=x(1810),Y=x(5403),U=x(9672);function $(...se){const W=(0,j.yG)(se),ae=(0,j.jO)(se),{args:ie,keys:le}=(0,g.D)(se);if(0===ie.length)return(0,k.D)([],W);const Te=new E.y(function z(se,W,ae=O.y){return ie=>{re(W,()=>{const{length:le}=se,Te=new Array(le);let Me=le,Pe=le;for(let ye=0;ye{const fe=(0,k.D)(se[ye],W);let we=!1;fe.subscribe((0,Y.x)(ie,Xe=>{Te[ye]=Xe,we||(we=!0,Pe--),Pe||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,W,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,V.Z)(ae)):Te}function re(se,W,ae){se?(0,U.f)(ae,se,W):W()}},7272:(L,N,x)=>{"use strict";x.d(N,{z:()=>V});var E=x(8189),k=x(3269),O=x(2076);function V(...j){return function g(){return(0,E.J)(1)}()((0,O.D)(j,(0,k.yG)(j)))}},515:(L,N,x)=>{"use strict";x.d(N,{E:()=>g});const g=new(x(8306).y)(V=>V.complete())},2076:(L,N,x)=>{"use strict";x.d(N,{D:()=>Xe});var E=x(8421),g=x(9672),k=x(4482),O=x(5403);function V(Se,xe=0){return(0,k.e)((Ve,ne)=>{Ve.subscribe((0,O.x)(ne,ce=>(0,g.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,g.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,g.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,k.e)((Ve,ne)=>{ne.add(Se.schedule(()=>Ve.subscribe(ne),xe))})}var U=x(8306),z=x(2202),re=x(576);function W(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new U.y(Ve=>{(0,g.f)(Ve,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,g.f)(Ve,xe,()=>{ne.next().then(ce=>{ce.done?Ve.complete():Ve.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),Pe=x(4532),ye=x(3260);function Xe(Se,xe){return xe?function we(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),V(xe))}(Se,xe);if((0,le.z)(Se))return function $(Se,xe){return new U.y(Ve=>{let ne=0;return xe.schedule(function(){ne===Se.length?Ve.complete():(Ve.next(Se[ne++]),Ve.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Y(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),V(xe))}(Se,xe);if((0,Me.D)(Se))return W(Se,xe);if((0,Te.T)(Se))return function se(Se,xe){return new U.y(Ve=>{let ne;return(0,g.f)(Ve,xe,()=>{ne=Se[z.h](),(0,g.f)(Ve,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(me){return void Ve.error(me)}de?Ve.complete():Ve.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,ye.L)(Se))return function fe(Se,xe){return W((0,ye.Q)(Se),xe)}(Se,xe)}throw(0,Pe.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(L,N,x)=>{"use strict";x.d(N,{Xf:()=>se});var E=x(655),g=x(1144),k=x(8239),O=x(8306),V=x(3670),j=x(2206),q=x(4532),Y=x(6495),U=x(3260),$=x(576),z=x(7849),re=x(8822);function se(ye){if(ye instanceof O.y)return ye;if(null!=ye){if((0,V.c)(ye))return function W(ye){return new O.y(fe=>{const we=ye[re.L]();if((0,$.m)(we.subscribe))return we.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ye);if((0,g.z)(ye))return function ae(ye){return new O.y(fe=>{for(let we=0;we{ye.then(we=>{fe.closed||(fe.next(we),fe.complete())},we=>fe.error(we)).then(null,z.h)})}(ye);if((0,j.D)(ye))return Te(ye);if((0,Y.T)(ye))return function le(ye){return new O.y(fe=>{for(const we of ye)if(fe.next(we),fe.closed)return;fe.complete()})}(ye);if((0,U.L)(ye))return function Me(ye){return Te((0,U.Q)(ye))}(ye)}throw(0,q.z)(ye)}function Te(ye){return new O.y(fe=>{(function Pe(ye,fe){var we,Xe,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(we=(0,E.KL)(ye);!(Xe=yield we.next()).done;)if(fe.next(Xe.value),fe.closed)return}catch(Ve){Se={error:Ve}}finally{try{Xe&&!Xe.done&&(xe=we.return)&&(yield xe.call(we))}finally{if(Se)throw Se.error}}fe.complete()})})(ye,fe).catch(we=>fe.error(we))})}},6451:(L,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),g=x(8421),k=x(515),O=x(3269),V=x(2076);function j(...q){const Y=(0,O.yG)(q),U=(0,O._6)(q,1/0),$=q;return $.length?1===$.length?(0,g.Xf)($[0]):(0,E.J)(U)((0,V.D)($,Y)):k.E}},9646:(L,N,x)=>{"use strict";x.d(N,{of:()=>k});var E=x(3269),g=x(2076);function k(...O){const V=(0,E.yG)(O);return(0,g.D)(O,V)}},102:(L,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),g=x(8421);const{isArray:k}=Array;var V=x(5403);function j(...Y){return 1===(Y=function O(Y){return 1===Y.length&&k(Y[0])?Y[0]:Y}(Y)).length?(0,g.Xf)(Y[0]):new E.y(function q(Y){return U=>{let $=[];for(let z=0;$&&!U.closed&&z{if($){for(let se=0;se<$.length;se++)se!==z&&$[se].unsubscribe();$=null}U.next(re)})))}}(Y))}},2843:(L,N,x)=>{"use strict";x.d(N,{_:()=>k});var E=x(8306),g=x(576);function k(O,V){const j=(0,g.m)(O)?O:()=>O,q=Y=>Y.error(j());return new E.y(V?Y=>V.schedule(q,0,Y):q)}},2805:(L,N,x)=>{"use strict";x.d(N,{H:()=>V});var E=x(8306),g=x(4986),k=x(3532),O=x(1165);function V(j=0,q,Y=g.P){let U=-1;return null!=q&&((0,k.K)(q)?Y=q:U=q),new E.y($=>{let z=(0,O.q)(j)?+j-Y.now():j;z<0&&(z=0);let re=0;return Y.schedule(function(){$.closed||($.next(re++),0<=U?this.schedule(void 0,U):$.complete())},z)})}},5403:(L,N,x)=>{"use strict";x.d(N,{x:()=>g});var E=x(930);function g(O,V,j,q,Y){return new k(O,V,j,q,Y)}class k extends E.Lv{constructor(V,j,q,Y,U,$){super(V),this.onFinalize=U,this.shouldUnsubscribe=$,this._next=j?function(z){try{j(z)}catch(re){V.error(re)}}:super._next,this._error=Y?function(z){try{Y(z)}catch(re){V.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){V.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var V;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(V=this.onFinalize)||void 0===V||V.call(this))}}}},262:(L,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),g=x(5403),k=x(4482);function O(V){return(0,k.e)((j,q)=>{let $,Y=null,U=!1;Y=j.subscribe((0,g.x)(q,void 0,void 0,z=>{$=(0,E.Xf)(V(z,O(V)(j))),Y?(Y.unsubscribe(),Y=null,$.subscribe(q)):U=!0})),U&&(Y.unsubscribe(),Y=null,$.subscribe(q))})}},4351:(L,N,x)=>{"use strict";x.d(N,{b:()=>k});var E=x(5577),g=x(576);function k(O,V){return(0,g.m)(V)?(0,E.z)(O,V,1):(0,E.z)(O,1)}},8372:(L,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),g=x(4482),k=x(5403);function O(V,j=E.z){return(0,g.e)((q,Y)=>{let U=null,$=null,z=null;const re=()=>{if(U){U.unsubscribe(),U=null;const W=$;$=null,Y.next(W)}};function se(){const W=z+V,ae=j.now();if(ae{$=W,z=j.now(),U||(U=j.schedule(se,V),Y.add(U))},()=>{re(),Y.complete()},void 0,()=>{$=U=null}))})}},6590:(L,N,x)=>{"use strict";x.d(N,{d:()=>k});var E=x(4482),g=x(5403);function k(O){return(0,E.e)((V,j)=>{let q=!1;V.subscribe((0,g.x)(j,Y=>{q=!0,j.next(Y)},()=>{q||j.next(O),j.complete()}))})}},4825:(L,N,x)=>{"use strict";x.d(N,{g:()=>se});var E=x(4986),g=x(7272),k=x(5698),O=x(4482),V=x(5403),j=x(5032),Y=x(4004),$=x(5577);function z(W,ae){return ae?ie=>(0,g.z)(ae.pipe((0,k.q)(1),function q(){return(0,O.e)((W,ae)=>{W.subscribe((0,V.x)(ae,j.Z))})}()),ie.pipe(z(W))):(0,$.z)((ie,le)=>W(ie,le).pipe((0,k.q)(1),function U(W){return(0,Y.U)(()=>W)}(ie)))}var re=x(2805);function se(W,ae=E.z){const ie=(0,re.H)(W,ae);return z(()=>ie)}},9300:(L,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(4482),g=x(5403);function k(O,V){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,g.x)(q,U=>O.call(V,U,Y++)&&q.next(U)))})}},590:(L,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),g=x(9300),k=x(5698),O=x(6590),V=x(8068),j=x(4671);function q(Y,U){const $=arguments.length>=2;return z=>z.pipe(Y?(0,g.h)((re,se)=>Y(re,se,z)):j.y,(0,k.q)(1),$?(0,O.d)(U):(0,V.T)(()=>new E.K))}},4004:(L,N,x)=>{"use strict";x.d(N,{U:()=>k});var E=x(4482),g=x(5403);function k(O,V){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,g.x)(q,U=>{q.next(O.call(V,U,Y++))}))})}},8189:(L,N,x)=>{"use strict";x.d(N,{J:()=>k});var E=x(5577),g=x(4671);function k(O=1/0){return(0,E.z)(g.y,O)}},5577:(L,N,x)=>{"use strict";x.d(N,{z:()=>Y});var E=x(4004),g=x(8421),k=x(4482),O=x(9672),V=x(5403),q=x(576);function Y(U,$,z=1/0){return(0,q.m)($)?Y((re,se)=>(0,E.U)((W,ae)=>$(re,W,se,ae))((0,g.Xf)(U(re,se))),z):("number"==typeof $&&(z=$),(0,k.e)((re,se)=>function j(U,$,z,re,se,W,ae,ie){const le=[];let Te=0,Me=0,Pe=!1;const ye=()=>{Pe&&!le.length&&!Te&&$.complete()},fe=Xe=>Te{W&&$.next(Xe),Te++;let Se=!1;(0,g.Xf)(z(Xe,Me++)).subscribe((0,V.x)($,xe=>{null==se||se(xe),W?fe(xe):$.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Tewe(xe)):we(xe)}ye()}catch(xe){$.error(xe)}}))};return U.subscribe((0,V.x)($,fe,()=>{Pe=!0,ye()})),()=>{null==ie||ie()}}(re,se,U,z)))}},3099:(L,N,x)=>{"use strict";x.d(N,{B:()=>V});var E=x(8421),g=x(7579),k=x(930),O=x(4482);function V(q={}){const{connector:Y=(()=>new g.x),resetOnError:U=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=q;return re=>{let se,W,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==W||W.unsubscribe(),W=void 0},Pe=()=>{Me(),se=ae=void 0,le=Te=!1},ye=()=>{const fe=se;Pe(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,we)=>{ie++,!Te&&!le&&Me();const Xe=ae=null!=ae?ae:Y();we.add(()=>{ie--,0===ie&&!Te&&!le&&(W=j(ye,z))}),Xe.subscribe(we),!se&&ie>0&&(se=new k.Hp({next:Se=>Xe.next(Se),error:Se=>{Te=!0,Me(),W=j(Pe,U,Se),Xe.error(Se)},complete:()=>{le=!0,Me(),W=j(Pe,$),Xe.complete()}}),(0,E.Xf)(fe).subscribe(se))})(re)}}function j(q,Y,...U){if(!0===Y)return void q();if(!1===Y)return;const $=new k.Hp({next:()=>{$.unsubscribe(),q()}});return Y(...U).subscribe($)}},3900:(L,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),g=x(4482),k=x(5403);function O(V,j){return(0,g.e)((q,Y)=>{let U=null,$=0,z=!1;const re=()=>z&&!U&&Y.complete();q.subscribe((0,k.x)(Y,se=>{null==U||U.unsubscribe();let W=0;const ae=$++;(0,E.Xf)(V(se,ae)).subscribe(U=(0,k.x)(Y,ie=>Y.next(j?j(se,ie,ae,W++):ie),()=>{U=null,re()}))},()=>{z=!0,re()}))})}},5698:(L,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),g=x(4482),k=x(5403);function O(V){return V<=0?()=>E.E:(0,g.e)((j,q)=>{let Y=0;j.subscribe((0,k.x)(q,U=>{++Y<=V&&(q.next(U),V<=Y&&q.complete())}))})}},8505:(L,N,x)=>{"use strict";x.d(N,{b:()=>V});var E=x(576),g=x(4482),k=x(5403),O=x(4671);function V(j,q,Y){const U=(0,E.m)(j)||q||Y?{next:j,error:q,complete:Y}:j;return U?(0,g.e)(($,z)=>{var re;null===(re=U.subscribe)||void 0===re||re.call(U);let se=!0;$.subscribe((0,k.x)(z,W=>{var ae;null===(ae=U.next)||void 0===ae||ae.call(U,W),z.next(W)},()=>{var W;se=!1,null===(W=U.complete)||void 0===W||W.call(U),z.complete()},W=>{var ae;se=!1,null===(ae=U.error)||void 0===ae||ae.call(U,W),z.error(W)},()=>{var W,ae;se&&(null===(W=U.unsubscribe)||void 0===W||W.call(U)),null===(ae=U.finalize)||void 0===ae||ae.call(U)}))}):O.y}},8068:(L,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),g=x(4482),k=x(5403);function O(j=V){return(0,g.e)((q,Y)=>{let U=!1;q.subscribe((0,k.x)(Y,$=>{U=!0,Y.next($)},()=>U?Y.complete():Y.error(j())))})}function V(){return new E.K}},7414:(L,N,x)=>{"use strict";x.d(N,{V:()=>U});var E=x(4986),g=x(1165),k=x(4482),O=x(8421),V=x(3888),j=x(5403),q=x(9672);const Y=(0,V.d)(z=>function(se=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=se});function U(z,re){const{first:se,each:W,with:ae=$,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,g.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==se&&null==W)throw new TypeError("No timeout provided.");return(0,k.e)((Te,Me)=>{let Pe,ye,fe=null,we=0;const Xe=Se=>{ye=(0,q.f)(Me,ie,()=>{try{Pe.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:we})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};Pe=Te.subscribe((0,j.x)(Me,Se=>{null==ye||ye.unsubscribe(),we++,Me.next(fe=Se),W>0&&Xe(W)},void 0,void 0,()=>{(null==ye?void 0:ye.closed)||null==ye||ye.unsubscribe(),fe=null})),!we&&Xe(null!=se?"number"==typeof se?se:+se-ie.now():W)})}function $(z){throw new Y(z)}},4408:(L,N,x)=>{"use strict";x.d(N,{o:()=>V});var E=x(727);class g extends E.w0{constructor(q,Y){super()}schedule(q,Y=0){return this}}const k={setInterval(j,q,...Y){const{delegate:U}=k;return(null==U?void 0:U.setInterval)?U.setInterval(j,q,...Y):setInterval(j,q,...Y)},clearInterval(j){const{delegate:q}=k;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class V extends g{constructor(q,Y){super(q,Y),this.scheduler=q,this.work=Y,this.pending=!1}schedule(q,Y=0){if(this.closed)return this;this.state=q;const U=this.id,$=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId($,U,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId($,this.id,Y),this}requestAsyncId(q,Y,U=0){return k.setInterval(q.flush.bind(q,this),U)}recycleAsyncId(q,Y,U=0){if(null!=U&&this.delay===U&&!1===this.pending)return Y;k.clearInterval(Y)}execute(q,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(q,Y);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Y){let $,U=!1;try{this.work(q)}catch(z){U=!0,$=z||new Error("Scheduled action threw falsy error")}if(U)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:q,scheduler:Y}=this,{actions:U}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(U,this),null!=q&&(this.id=this.recycleAsyncId(Y,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(L,N,x)=>{"use strict";x.d(N,{v:()=>k});var E=x(6063);class g{constructor(V,j=g.now){this.schedulerActionCtor=V,this.now=j}schedule(V,j=0,q){return new this.schedulerActionCtor(this,V).schedule(q,j)}}g.now=E.l.now;class k extends g{constructor(V,j=g.now){super(V,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(V){const{actions:j}=this;if(this._active)return void j.push(V);let q;this._active=!0;do{if(q=V.execute(V.state,V.delay))break}while(V=j.shift());if(this._active=!1,q){for(;V=j.shift();)V.unsubscribe();throw q}}}},4986:(L,N,x)=>{"use strict";x.d(N,{z:()=>k,P:()=>O});var E=x(4408);const k=new(x(7565).v)(E.o),O=k},6063:(L,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(g,k,...O){const{delegate:V}=E;return(null==V?void 0:V.setTimeout)?V.setTimeout(g,k,...O):setTimeout(g,k,...O)},clearTimeout(g){const{delegate:k}=E;return((null==k?void 0:k.clearTimeout)||clearTimeout)(g)},delegate:void 0}},2202:(L,N,x)=>{"use strict";x.d(N,{h:()=>g});const g=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(L,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(L,N,x)=>{"use strict";x.d(N,{K:()=>g});const g=(0,x(3888).d)(k=>function(){k(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(L,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>V,_6:()=>j});var E=x(576),g=x(3532);function k(q){return q[q.length-1]}function O(q){return(0,E.m)(k(q))?q.pop():void 0}function V(q){return(0,g.K)(k(q))?q.pop():void 0}function j(q,Y){return"number"==typeof k(q)?q.pop():Y}},4742:(L,N,x)=>{"use strict";x.d(N,{D:()=>V});const{isArray:E}=Array,{getPrototypeOf:g,prototype:k,keys:O}=Object;function V(q){if(1===q.length){const Y=q[0];if(E(Y))return{args:Y,keys:null};if(function j(q){return q&&"object"==typeof q&&g(q)===k}(Y)){const U=O(Y);return{args:U.map($=>Y[$]),keys:U}}}return{args:q,keys:null}}},8737:(L,N,x)=>{"use strict";function E(g,k){if(g){const O=g.indexOf(k);0<=O&&g.splice(O,1)}}x.d(N,{P:()=>E})},3888:(L,N,x)=>{"use strict";function E(g){const O=g(V=>{Error.call(V),V.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(L,N,x)=>{"use strict";function E(g,k){return g.reduce((O,V,j)=>(O[V]=k[j],O),{})}x.d(N,{n:()=>E})},2806:(L,N,x)=>{"use strict";x.d(N,{x:()=>k,O:()=>O});var E=x(2416);let g=null;function k(V){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!g;if(j&&(g={errorThrown:!1,error:null}),V(),j){const{errorThrown:q,error:Y}=g;if(g=null,q)throw Y}}else V()}function O(V){E.v.useDeprecatedSynchronousErrorHandling&&g&&(g.errorThrown=!0,g.error=V)}},9672:(L,N,x)=>{"use strict";function E(g,k,O,V=0,j=!1){const q=k.schedule(function(){O(),j?g.add(this.schedule(null,V)):this.unsubscribe()},V);if(g.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(L,N,x)=>{"use strict";function E(g){return g}x.d(N,{y:()=>E})},1144:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=g=>g&&"number"==typeof g.length&&"function"!=typeof g},2206:(L,N,x)=>{"use strict";x.d(N,{D:()=>g});var E=x(576);function g(k){return Symbol.asyncIterator&&(0,E.m)(null==k?void 0:k[Symbol.asyncIterator])}},1165:(L,N,x)=>{"use strict";function E(g){return g instanceof Date&&!isNaN(g)}x.d(N,{q:()=>E})},576:(L,N,x)=>{"use strict";function E(g){return"function"==typeof g}x.d(N,{m:()=>E})},3670:(L,N,x)=>{"use strict";x.d(N,{c:()=>k});var E=x(8822),g=x(576);function k(O){return(0,g.m)(O[E.L])}},6495:(L,N,x)=>{"use strict";x.d(N,{T:()=>k});var E=x(2202),g=x(576);function k(O){return(0,g.m)(null==O?void 0:O[E.h])}},8239:(L,N,x)=>{"use strict";x.d(N,{t:()=>g});var E=x(576);function g(k){return(0,E.m)(null==k?void 0:k.then)}},3260:(L,N,x)=>{"use strict";x.d(N,{Q:()=>k,L:()=>O});var E=x(655),g=x(576);function k(V){return(0,E.FC)(this,arguments,function*(){const q=V.getReader();try{for(;;){const{value:Y,done:U}=yield(0,E.qq)(q.read());if(U)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Y)}}finally{q.releaseLock()}})}function O(V){return(0,g.m)(null==V?void 0:V.getReader)}},3532:(L,N,x)=>{"use strict";x.d(N,{K:()=>g});var E=x(576);function g(k){return k&&(0,E.m)(k.schedule)}},4482:(L,N,x)=>{"use strict";x.d(N,{A:()=>g,e:()=>k});var E=x(576);function g(O){return(0,E.m)(null==O?void 0:O.lift)}function k(O){return V=>{if(g(V))return V.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(L,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:g}=Array;function O(V){return(0,E.U)(j=>function k(V,j){return g(j)?V(...j):V(j)}(V,j))}},5032:(L,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(L,N,x)=>{"use strict";x.d(N,{h:()=>k});var E=x(2416),g=x(3410);function k(O){g.z.setTimeout(()=>{const{onUnhandledError:V}=E.v;if(!V)throw O;V(O)})}},4532:(L,N,x)=>{"use strict";function E(g){return new TypeError(`You provided ${null!==g&&"object"==typeof g?"an invalid object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(L,N,x)=>{"use strict";function Y(ne,ce,de,me){return new(de||(de=Promise))(function(He,rt){function kt(pi){try{Ne(me.next(pi))}catch(Yn){rt(Yn)}}function Ot(pi){try{Ne(me.throw(pi))}catch(Yn){rt(Yn)}}function Ne(pi){pi.done?He(pi.value):function pe(He){return He instanceof de?He:new de(function(rt){rt(He)})}(pi.value).then(kt,Ot)}Ne((me=me.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,me=de.apply(ne,ce||[]),He=[];return pe={},rt("next"),rt("throw"),rt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function rt(oi){me[oi]&&(pe[oi]=function(Ht){return new Promise(function(Vn,Qi){He.push([oi,Ht,Vn,Qi])>1||kt(oi,Ht)})})}function kt(oi,Ht){try{!function Ot(oi){oi.value instanceof le?Promise.resolve(oi.value.v).then(Ne,pi):Yn(He[0][2],oi)}(me[oi](Ht))}catch(Vn){Yn(He[0][3],Vn)}}function Ne(oi){kt("next",oi)}function pi(oi){kt("throw",oi)}function Yn(oi,Ht){oi(Ht),He.shift(),He.length&&kt(He[0][0],He[0][1])}}function Pe(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],me=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&me>=ne.length&&(ne=void 0),{value:ne&&ne[me++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},me("next"),me("throw"),me("return"),de[Symbol.asyncIterator]=function(){return this},de);function me(He){de[He]=ne[He]&&function(rt){return new Promise(function(kt,Ot){!function pe(He,rt,kt,Ot){Promise.resolve(Ot).then(function(Ne){He({value:Ne,done:kt})},rt)}(kt,Ot,(rt=ne[He](rt)).done,rt.value)})}}}x.d(N,{mG:()=>Y,qq:()=>le,FC:()=>Te,KL:()=>Pe})},9808:(L,N,x)=>{"use strict";x.d(N,{mr:()=>Me,ez:()=>Cl,K0:()=>q,Do:()=>ye,V_:()=>$,Ye:()=>fe,S$:()=>le,O5:()=>Et,PC:()=>ml,RF:()=>gi,n9:()=>ci,b0:()=>Pe,lw:()=>Y,EM:()=>tr,JF:()=>Bt,NF:()=>_i,w_:()=>j,bD:()=>Ja,q:()=>k,Mx:()=>Sr,HT:()=>V});var E=x(5e3);let g=null;function k(){return g}function V(D){g||(g=D)}class j{}const q=new E.OlP("DocumentToken");let Y=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=E.Yz7({token:D,factory:function(){return function U(){return(0,E.LFG)(z)}()},providedIn:"platform"}),D})();const $=new E.OlP("Location Initialized");let z=(()=>{class D extends Y{constructor(M){super(),this._doc=M,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return k().getBaseHref(this._doc)}onPopState(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("popstate",M,!1),()=>B.removeEventListener("popstate",M)}onHashChange(M){const B=k().getGlobalEventTarget(this._doc,"window");return B.addEventListener("hashchange",M,!1),()=>B.removeEventListener("hashchange",M)}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(M){this.location.pathname=M}pushState(M,B,J){re()?this._history.pushState(M,B,J):this.location.hash=J}replaceState(M,B,J){re()?this._history.replaceState(M,B,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(q))},D.\u0275prov=E.Yz7({token:D,factory:function(){return function se(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),D})();function re(){return!!window.history.pushState}function W(D,I){if(0==D.length)return I;if(0==I.length)return D;let M=0;return D.endsWith("/")&&M++,I.startsWith("/")&&M++,2==M?D+I.substring(1):1==M?D+I:D+"/"+I}function ae(D){const I=D.match(/#|\?|$/),M=I&&I.index||D.length;return D.slice(0,M-("/"===D[M-1]?1:0))+D.slice(M)}function ie(D){return D&&"?"!==D[0]?"?"+D:D}let le=(()=>{class D{historyGo(M){throw new Error("Not implemented")}}return D.\u0275fac=function(M){return new(M||D)},D.\u0275prov=E.Yz7({token:D,factory:function(){return function Te(D){const I=(0,E.LFG)(q).location;return new Pe((0,E.LFG)(Y),I&&I.origin||"")}()},providedIn:"root"}),D})();const Me=new E.OlP("appBaseHref");let Pe=(()=>{class D extends le{constructor(M,B){if(super(),this._platformLocation=M,this._removeListenerFns=[],null==B&&(B=this._platformLocation.getBaseHrefFromDOM()),null==B)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=B}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return W(this._baseHref,M)}path(M=!1){const B=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&M?`${B}${J}`:B}pushState(M,B,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(M,B,_e)}replaceState(M,B,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(M,B,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformLocation).historyGo)||void 0===J||J.call(B,M)}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(Y),E.LFG(Me,8))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})(),ye=(()=>{class D extends le{constructor(M,B){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=B&&(this._baseHref=B)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let B=this._platformLocation.hash;return null==B&&(B="#"),B.length>0?B.substring(1):B}prepareExternalUrl(M){const B=W(this._baseHref,M);return B.length>0?"#"+B:B}pushState(M,B,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(M,B,_e)}replaceState(M,B,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(M,B,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformLocation).historyGo)||void 0===J||J.call(B,M)}}return D.\u0275fac=function(M){return new(M||D)(E.LFG(Y),E.LFG(Me,8))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})(),fe=(()=>{class D{constructor(M,B){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=M;const J=this._platformStrategy.getBaseHref();this._platformLocation=B,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(M=!1){return this.normalize(this._platformStrategy.path(M))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(M,B=""){return this.path()==this.normalize(M+ie(B))}normalize(M){return D.stripTrailingSlash(function Xe(D,I){return D&&I.startsWith(D)?I.substring(D.length):I}(this._baseHref,Se(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._platformStrategy.prepareExternalUrl(M)}go(M,B="",J=null){this._platformStrategy.pushState(J,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ie(B)),J)}replaceState(M,B="",J=null){this._platformStrategy.replaceState(J,"",M,B),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ie(B)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(M=0){var B,J;null===(J=(B=this._platformStrategy).historyGo)||void 0===J||J.call(B,M)}onUrlChange(M){this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(B=>{this._notifyUrlChangeListeners(B.url,B.state)}))}_notifyUrlChangeListeners(M="",B){this._urlChangeListeners.forEach(J=>J(M,B))}subscribe(M,B,J){return this._subject.subscribe({next:M,error:B,complete:J})}}return D.normalizeQueryParams=ie,D.joinWithSlash=W,D.stripTrailingSlash=ae,D.\u0275fac=function(M){return new(M||D)(E.LFG(le),E.LFG(Y))},D.\u0275prov=E.Yz7({token:D,factory:function(){return function we(){return new fe((0,E.LFG)(le),(0,E.LFG)(Y))}()},providedIn:"root"}),D})();function Se(D){return D.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))();const Kn=E.kL8;class Vt{}let li=(()=>{class D extends Vt{constructor(M){super(),this.locale=M}getPluralCategory(M,B){switch(Kn(B||this.locale)(M)){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 D.\u0275fac=function(M){return new(M||D)(E.LFG(E.soG))},D.\u0275prov=E.Yz7({token:D,factory:D.\u0275fac}),D})();function Sr(D,I){I=encodeURIComponent(I);for(const M of D.split(";")){const B=M.indexOf("="),[J,ue]=-1==B?[M,""]:[M.slice(0,B),M.slice(B+1)];if(J.trim()===I)return decodeURIComponent(ue)}return null}let Et=(()=>{class D{constructor(M,B){this._viewContainer=M,this._context=new Dt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=B}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){Wa("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){Wa("ngIfElse",M),this._elseTemplateRef=M,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(M,B){return!0}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.s_b),E.Y36(E.Rgc))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),D})();class Dt{constructor(){this.$implicit=null,this.ngIf=null}}function Wa(D,I){if(I&&!I.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,E.AaK)(I)}'.`)}class Zi{constructor(I,M){this._viewContainerRef=I,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let gi=(()=>{class D{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(M)}_matchCase(M){const B=M==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||B,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),B}_updateDefaultCases(M){if(this._defaultViews&&M!==this._defaultUsed){this._defaultUsed=M;for(let B=0;B{class D{constructor(M,B,J){this.ngSwitch=J,J._addCase(),this._view=new Zi(M,B)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(gi,9))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),D})(),ml=(()=>{class D{constructor(M,B,J){this._ngEl=M,this._differs=B,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,B){const[J,ue]=M.split(".");null!=(B=null!=B&&ue?`${B}${ue}`:B)?this._renderer.setStyle(this._ngEl.nativeElement,J,B):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(M){M.forEachRemovedItem(B=>this._setStyle(B.key,null)),M.forEachAddedItem(B=>this._setStyle(B.key,B.currentValue)),M.forEachChangedItem(B=>this._setStyle(B.key,B.currentValue))}}return D.\u0275fac=function(M){return new(M||D)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},D.\u0275dir=E.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),D})(),Cl=(()=>{class D{}return D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=E.oAB({type:D}),D.\u0275inj=E.cJS({providers:[{provide:Vt,useClass:li}]}),D})();const Ja="browser";function _i(D){return D===Ja}let tr=(()=>{class D{}return D.\u0275prov=(0,E.Yz7)({token:D,providedIn:"root",factory:()=>new is((0,E.LFG)(q),window)}),D})();class is{constructor(I,M){this.document=I,this.window=M,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const M=function Za(D,I){const M=D.getElementById(I)||D.getElementsByName(I)[0];if(M)return M;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const B=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let J=B.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(I)||ue.querySelector(`[name="${I}"]`);if(_e)return _e}J=B.nextNode()}}return null}(this.document,I);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(I){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=I)}}scrollToElement(I){const M=I.getBoundingClientRect(),B=M.left+this.window.pageXOffset,J=M.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(B-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const I=ns(this.window.history)||ns(Object.getPrototypeOf(this.window.history));return!(!I||!I.writable&&!I.set)}catch(I){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(I){return!1}}}function ns(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class Bt{}},520:(L,N,x)=>{"use strict";x.d(N,{TP:()=>rt,eN:()=>pe,JF:()=>wi,qT:()=>Me,WM:()=>$,LE:()=>le,Zn:()=>ce});var E=x(9808),g=x(5e3),k=x(9646),O=x(8306),V=x(4351),j=x(9300),q=x(4004);class Y{}class U{}class ${constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const ve=ee.slice(0,Ae),ke=ve.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(ve,ke),this.headers.has(ke)?this.headers.get(ke).push(Re):this.headers.set(ke,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const ve=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(ve,Ae),this.maybeSetNormalizedName(ee,ve))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new $;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const ve=("a"===X.op?this.headers.get(ee):void 0)||[];ve.push(...Ae),this.headers.set(ee,ve);break;case"d":const ke=X.value;if(ke){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===ke.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const se=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(Ce){return encodeURIComponent(Ce).replace(se,(X,ee)=>{var Ae;return null!==(Ae=W[ee])&&void 0!==Ae?Ae:X})}function ie(Ce){return`${Ce}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(Ce,X){const ee=new Map;return Ce.length>0&&Ce.replace(/^\?/,"").split("&").forEach(ve=>{const ke=ve.indexOf("="),[Re,ze]=-1==ke?[X.decodeKey(ve),""]:[X.decodeKey(ve.slice(0,ke)),X.decodeValue(ve.slice(ke+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const ve=X[Ae];Array.isArray(ve)?ve.forEach(ke=>{ee.push({param:Ae,value:ke,op:"a"})}):ee.push({param:Ae,value:ve,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const ve=Ae.indexOf(ie(X.value));-1!==ve&&Ae.splice(ve,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function ye(Ce){return"undefined"!=typeof ArrayBuffer&&Ce instanceof ArrayBuffer}function fe(Ce){return"undefined"!=typeof Blob&&Ce instanceof Blob}function we(Ce){return"undefined"!=typeof FormData&&Ce instanceof FormData}class Se{constructor(X,ee,Ae,ve){let ke;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function Pe(Ce){switch(Ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==Ae?Ae:null,ke=ve):ke=Ae,ke&&(this.reportProgress=!!ke.reportProgress,this.withCredentials=!!ke.withCredentials,ke.responseType&&(this.responseType=ke.responseType),ke.headers&&(this.headers=ke.headers),ke.context&&(this.context=ke.context),ke.params&&(this.params=ke.params)),this.headers||(this.headers=new $),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeni.set(ut,X.setHeaders[ut]),ii)),X.setParams&&(dt=Object.keys(X.setParams).reduce((ni,ut)=>ni.set(ut,X.setParams[ut]),dt)),new Se(Ae,ve,Re,{params:dt,headers:ii,context:Bn,reportProgress:_t,responseType:ke,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Ve{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new $,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Ve{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Ve{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Ve{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function me(Ce,X){return{body:X,headers:Ce.headers,context:Ce.context,observe:Ce.observe,params:Ce.params,reportProgress:Ce.reportProgress,responseType:Ce.responseType,withCredentials:Ce.withCredentials}}let pe=(()=>{class Ce{constructor(ee){this.handler=ee}request(ee,Ae,ve={}){let ke;if(ee instanceof Se)ke=ee;else{let _t,ii;_t=ve.headers instanceof $?ve.headers:new $(ve.headers),ve.params&&(ii=ve.params instanceof le?ve.params:new le({fromObject:ve.params})),ke=new Se(ee,Ae,void 0!==ve.body?ve.body:null,{headers:_t,context:ve.context,params:ii,reportProgress:ve.reportProgress,responseType:ve.responseType||"json",withCredentials:ve.withCredentials})}const Re=(0,k.of)(ke).pipe((0,V.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===ve.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(ve.observe||"body"){case"body":switch(ke.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${ve.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,ve={}){return this.request("PATCH",ee,me(ve,Ae))}post(ee,Ae,ve={}){return this.request("POST",ee,me(ve,Ae))}put(ee,Ae,ve={}){return this.request("PUT",ee,me(ve,Ae))}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(Y))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class He{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const rt=new g.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class Ce{intercept(ee,Ae){return Ae.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const Qi=/^\)\]\}',?\n/;let Jn=(()=>{class Ce{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const ve=this.xhrFactory.build();if(ve.open(ee.method,ee.urlWithParams),ee.withCredentials&&(ve.withCredentials=!0),ee.headers.forEach((ut,Fe)=>ve.setRequestHeader(ut,Fe.join(","))),ee.headers.has("Accept")||ve.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ut=ee.detectContentTypeHeader();null!==ut&&ve.setRequestHeader("Content-Type",ut)}if(ee.responseType){const ut=ee.responseType.toLowerCase();ve.responseType="json"!==ut?ut:"text"}const ke=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ut=ve.statusText||"OK",Fe=new $(ve.getAllResponseHeaders()),ln=function fi(Ce){return"responseURL"in Ce&&Ce.responseURL?Ce.responseURL:/^X-Request-URL:/m.test(Ce.getAllResponseHeaders())?Ce.getResponseHeader("X-Request-URL"):null}(ve)||ee.url;return Re=new ne({headers:Fe,status:ve.status,statusText:ut,url:ln}),Re},_t=()=>{let{headers:ut,status:Fe,statusText:ln,url:xt}=ze(),si=null;204!==Fe&&(si=void 0===ve.response?ve.responseText:ve.response),0===Fe&&(Fe=si?200:0);let An=Fe>=200&&Fe<300;if("json"===ee.responseType&&"string"==typeof si){const cn=si;si=si.replace(Qi,"");try{si=""!==si?JSON.parse(si):null}catch(xn){si=cn,An&&(An=!1,si={error:xn,text:si})}}An?(Ae.next(new ce({body:si,headers:ut,status:Fe,statusText:ln,url:xt||void 0})),Ae.complete()):Ae.error(new de({error:si,headers:ut,status:Fe,statusText:ln,url:xt||void 0}))},ii=ut=>{const{url:Fe}=ze(),ln=new de({error:ut,status:ve.status||0,statusText:ve.statusText||"Unknown Error",url:Fe||void 0});Ae.error(ln)};let dt=!1;const Bn=ut=>{dt||(Ae.next(ze()),dt=!0);let Fe={type:xe.DownloadProgress,loaded:ut.loaded};ut.lengthComputable&&(Fe.total=ut.total),"text"===ee.responseType&&!!ve.responseText&&(Fe.partialText=ve.responseText),Ae.next(Fe)},ni=ut=>{let Fe={type:xe.UploadProgress,loaded:ut.loaded};ut.lengthComputable&&(Fe.total=ut.total),Ae.next(Fe)};return ve.addEventListener("load",_t),ve.addEventListener("error",ii),ve.addEventListener("timeout",ii),ve.addEventListener("abort",ii),ee.reportProgress&&(ve.addEventListener("progress",Bn),null!==ke&&ve.upload&&ve.upload.addEventListener("progress",ni)),ve.send(ke),Ae.next({type:xe.Sent}),()=>{ve.removeEventListener("error",ii),ve.removeEventListener("abort",ii),ve.removeEventListener("load",_t),ve.removeEventListener("timeout",ii),ee.reportProgress&&(ve.removeEventListener("progress",Bn),null!==ke&&ve.upload&&ve.upload.removeEventListener("progress",ni)),ve.readyState!==ve.DONE&&ve.abort()}})}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(E.JF))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const za=new g.OlP("XSRF_COOKIE_NAME"),Ga=new g.OlP("XSRF_HEADER_NAME");class Ua{}let Tr=(()=>{class Ce{constructor(ee,Ae,ve){this.doc=ee,this.platform=Ae,this.cookieName=ve,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(E.K0),g.LFG(g.Lbi),g.LFG(za))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Kn=(()=>{class Ce{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const ve=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||ve.startsWith("http://")||ve.startsWith("https://"))return Ae.handle(ee);const ke=this.tokenService.getToken();return null!==ke&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,ke)})),Ae.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(Ua),g.LFG(Ga))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Er=(()=>{class Ce{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(rt,[]);this.chain=Ae.reduceRight((ve,ke)=>new He(ve,ke),this.backend)}return this.chain.handle(ee)}}return Ce.\u0275fac=function(ee){return new(ee||Ce)(g.LFG(U),g.LFG(g.zs3))},Ce.\u0275prov=g.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Ko=(()=>{class Ce{static disable(){return{ngModule:Ce,providers:[{provide:Kn,useClass:kt}]}}static withOptions(ee={}){return{ngModule:Ce,providers:[ee.cookieName?{provide:za,useValue:ee.cookieName}:[],ee.headerName?{provide:Ga,useValue:ee.headerName}:[]]}}}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275mod=g.oAB({type:Ce}),Ce.\u0275inj=g.cJS({providers:[Kn,{provide:rt,useExisting:Kn,multi:!0},{provide:Ua,useClass:Tr},{provide:za,useValue:"XSRF-TOKEN"},{provide:Ga,useValue:"X-XSRF-TOKEN"}]}),Ce})(),wi=(()=>{class Ce{}return Ce.\u0275fac=function(ee){return new(ee||Ce)},Ce.\u0275mod=g.oAB({type:Ce}),Ce.\u0275inj=g.cJS({providers:[pe,{provide:Y,useClass:Er},Jn,{provide:U,useExisting:Jn}],imports:[[Ko.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ce})()},5e3:(L,N,x)=>{"use strict";x.d(N,{deG:()=>F_,tb:()=>qv,AFp:()=>Ag,ip1:()=>wg,CZH:()=>qo,hGG:()=>hi,z2F:()=>Yc,sBO:()=>iw,Sil:()=>Tg,_Vd:()=>$s,EJc:()=>xg,SBq:()=>Sc,qLn:()=>zl,vpe:()=>Rn,tBr:()=>fo,XFs:()=>at,OlP:()=>qt,zs3:()=>Gi,ZZ4:()=>Dh,aQg:()=>Hh,soG:()=>Ch,YKP:()=>lv,h0i:()=>Ha,PXZ:()=>OT,R0b:()=>vn,FiY:()=>ha,Lbi:()=>Uv,g9A:()=>Gv,n_E:()=>$n,Qsj:()=>iv,FYo:()=>tv,JOm:()=>lr,q3G:()=>Wt,tp0:()=>go,Rgc:()=>yr,dDg:()=>yh,GfV:()=>av,s_b:()=>kc,ifc:()=>ke,eFA:()=>wh,G48:()=>tw,Gpc:()=>z,f3M:()=>Cs,_c5:()=>zg,VLi:()=>Yv,c2e:()=>Wv,zSh:()=>oc,wAp:()=>Ke,vHH:()=>ae,EiD:()=>fn,mCW:()=>As,qzn:()=>ws,JVY:()=>LA,pB0:()=>GA,eBb:()=>NA,L6k:()=>jA,LAX:()=>zA,cg1:()=>wc,kL8:()=>Ey,yhl:()=>nb,dqk:()=>dt,sIi:()=>pr,CqO:()=>Nu,QGY:()=>ju,F4k:()=>Cm,RDi:()=>ns,AaK:()=>Y,z3N:()=>Br,qOj:()=>Tu,TTD:()=>na,_Bn:()=>Zy,xp6:()=>ai,uIk:()=>pc,ekj:()=>Gu,Suo:()=>il,Xpm:()=>Xo,lG2:()=>Ue,Yz7:()=>Ht,cJS:()=>Qi,oAB:()=>ea,Yjl:()=>Ge,Y36:()=>Vo,_UZ:()=>bm,GkF:()=>Fu,BQk:()=>gc,ynx:()=>Ns,qZA:()=>Oo,TgZ:()=>Ea,EpF:()=>Lu,n5z:()=>Td,Ikx:()=>Om,LFG:()=>Ci,$8M:()=>Sd,$Z:()=>zC,NdJ:()=>mr,CRH:()=>fh,kcU:()=>mp,O4$:()=>fp,oxw:()=>QC,ALo:()=>og,lcZ:()=>Pc,Hsn:()=>JC,F$t:()=>YC,Q6J:()=>Bo,VKq:()=>hv,iGM:()=>tl,MAs:()=>um,CHM:()=>cp,LSH:()=>jl,Udp:()=>yc,WFA:()=>Ui,d8E:()=>th,YNc:()=>Os,_uU:()=>my,Oqu:()=>Pm,hij:()=>Yu,Gf:()=>ph});var E=x(7579),g=x(727),k=x(8306),O=x(6451),V=x(3099);function j(h){for(let p in h)if(h[p]===j)return p;throw Error("Could not find renamed property on target object.")}function q(h,p){for(const m in p)p.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=p[m])}function Y(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Y).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const p=h.toString();if(null==p)return""+p;const m=p.indexOf("\n");return-1===m?p:p.substring(0,m)}function U(h,p){return null==h||""===h?null===p?"":p:null==p||""===p?h:h+" "+p}const $=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Y(this())},h}function re(h){return se(h)?h():h}function se(h){return"function"==typeof h&&h.hasOwnProperty($)&&h.__forward_ref__===z}class ae extends Error{constructor(p,m){super(function ie(h,p){return`NG0${Math.abs(h)}${p?": "+p:""}`}(p,m)),this.code=p}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,p){const m=p?` in ${p}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Ot(h,p){null==h&&function Ne(h,p,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${p} <=Actual]`))}(p,h,null,"!=")}function Ht(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Qi(h){return{providers:h.providers||[],imports:h.imports||[]}}function fi(h){return Jn(h,Tr)||Jn(h,Er)}function Jn(h,p){return h.hasOwnProperty(p)?h[p]:null}function Ua(h){return h&&(h.hasOwnProperty(Kn)||h.hasOwnProperty(rd))?h[Kn]:null}const Tr=j({\u0275prov:j}),Kn=j({\u0275inj:j}),Er=j({ngInjectableDef:j}),rd=j({ngInjectorDef:j});var at=(()=>((at=at||{})[at.Default=0]="Default",at[at.Host=1]="Host",at[at.Self=2]="Self",at[at.SkipSelf=4]="SkipSelf",at[at.Optional=8]="Optional",at))();let Ko;function Bi(h){const p=Ko;return Ko=h,p}function Zo(h,p,m){const _=fi(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&at.Optional?null:void 0!==p?p:void fe(Y(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),ke=(()=>{return(h=ke||(ke={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",ke;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,dt=Re||"undefined"!=typeof global&&global||ze||_t,ut={},Fe=[],ln=j({\u0275cmp:j}),xt=j({\u0275dir:j}),si=j({\u0275pipe:j}),An=j({\u0275mod:j}),cn=j({\u0275fac:j}),xn=j({__NG_ELEMENT_ID__:j});let Yh=0;function Xo(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Fe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||ke.Emulated,id:"c",styles:h.styles||Fe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,v=h.features,w=h.pipes;return _.id+=Yh++,_.inputs=Ai(h.inputs,m),_.outputs=Ai(h.outputs),v&&v.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(qa):null,_.pipeDefs=w?()=>("function"==typeof w?w():w).map(Zn):null,_})}function qa(h){return Tt(h)||function On(h){return h[xt]||null}(h)}function Zn(h){return function Qt(h){return h[si]||null}(h)}const fl={};function ea(h){return X(()=>{const p={type:h.type,bootstrap:h.bootstrap||Fe,declarations:h.declarations||Fe,imports:h.imports||Fe,exports:h.exports||Fe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(fl[h.id]=h.type),p})}function Ai(h,p){if(null==h)return ut;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],v=C;Array.isArray(C)&&(v=C[1],C=C[0]),m[C]=_,p&&(p[C]=v)}return m}const Ue=Xo;function Ge(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function Tt(h){return h[ln]||null}function mi(h,p){const m=h[An]||null;if(!m&&!0===p)throw new Error(`Type ${Y(h)} does not have '\u0275mod' property.`);return m}function gi(h){return Array.isArray(h)&&"object"==typeof h[1]}function ci(h){return Array.isArray(h)&&!0===h[1]}function $a(h){return 0!=(8&h.flags)}function ts(h){return 2==(2&h.flags)}function ta(h){return 1==(1&h.flags)}function Xi(h){return null!==h.template}function ml(h){return 0!=(512&h[2])}function Nt(h,p){return h.hasOwnProperty(cn)?h[cn]:null}class dn{constructor(p,m,_){this.previousValue=p,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function na(){return Ya}function Ya(h){return h.type.prototype.ngOnChanges&&(h.setInput=cd),bl}function bl(){const h=Ja(this),p=null==h?void 0:h.current;if(p){const m=h.previous;if(m===ut)h.previous=p;else for(let _ in p)m[_]=p[_];h.current=null,this.ngOnChanges(p)}}function cd(h,p,m,_){const C=Ja(h)||function dd(h,p){return h[Cl]=p}(h,{previous:ut,current:null}),v=C.current||(C.current={}),w=C.previous,T=this.declaredInputs[m],S=w[T];v[T]=new dn(S&&S.currentValue,p,w===ut),h[_]=p}na.ngInherit=!0;const Cl="__ngSimpleChanges__";function Ja(h){return h[Cl]||null}let is;function ns(h){is=h}function Bt(h){return!!h.listen}const D={createRenderer:(h,p)=>function Za(){return void 0!==is?is:"undefined"!=typeof document?document:void 0}()};function M(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,p){return M(p[h])}function _e(h,p){return M(p[h.index])}function Rt(h,p){return h.data[p]}function St(h,p){return h[p]}function ft(h,p){const m=p[h];return gi(m)?m:m[0]}function mt(h){return 4==(4&h[2])}function ri(h){return 128==(128&h[2])}function Ut(h,p){return null==p?null:h[p]}function Hr(h){h[18]=0}function Sn(h,p){h[5]+=p;let m=h,_=h[3];for(;null!==_&&(1===p&&1===m[5]||-1===p&&0===m[5]);)_[5]+=p,m=_,_=_[3]}const Je={lFrame:bd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ud(){return Je.bindingsEnabled}function be(){return Je.lFrame.lView}function yt(){return Je.lFrame.tView}function cp(h){return Je.lFrame.contextLView=h,h[8]}function Yt(){let h=hd();for(;null!==h&&64===h.type;)h=h.parent;return h}function hd(){return Je.lFrame.currentTNode}function Mn(h,p){const m=Je.lFrame;m.currentTNode=h,m.isParent=p}function rs(){return Je.lFrame.isParent}function as(){Je.lFrame.isParent=!1}function vl(){return Je.isInCheckNoChangesMode}function wl(h){Je.isInCheckNoChangesMode=h}function Pi(){const h=Je.lFrame;let p=h.bindingRootIndex;return-1===p&&(p=h.bindingRootIndex=h.tView.bindingStartIndex),p}function Pr(){return Je.lFrame.bindingIndex++}function pd(h,p){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,fd(p)}function fd(h){Je.lFrame.currentDirectiveIndex=h}function md(h){const p=Je.lFrame.currentDirectiveIndex;return-1===p?null:h[p]}function gd(){return Je.lFrame.currentQueryIndex}function to(h){Je.lFrame.currentQueryIndex=h}function M_(h){const p=h[1];return 2===p.type?p.declTNode:1===p.type?h[6]:null}function Al(h,p,m){if(m&at.SkipSelf){let C=p,v=h;for(;!(C=C.parent,null!==C||m&at.Host||(C=M_(v),null===C||(v=v[15],10&C.type))););if(null===C)return!1;p=C,h=v}const _=Je.lFrame=_d();return _.currentTNode=p,_.lView=h,!0}function xl(h){const p=_d(),m=h[1];Je.lFrame=p,p.currentTNode=m.firstChild,p.lView=h,p.tView=m,p.contextLView=h,p.bindingIndex=m.bindingStartIndex,p.inI18n=!1}function _d(){const h=Je.lFrame,p=null===h?null:h.child;return null===p?bd(h):p}function bd(h){const p={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:h,child:null,inI18n:!1};return null!==h&&(h.child=p),p}function hp(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const pp=hp;function Tl(){const h=hp();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function Ri(){return Je.lFrame.selectedIndex}function Li(h){Je.lFrame.selectedIndex=h}function Jt(){const h=Je.lFrame;return Rt(h.tView,h.selectedIndex)}function fp(){Je.lFrame.currentNamespace="svg"}function mp(){!function ss(){Je.lFrame.currentNamespace=null}()}function Ir(h,p){for(let m=p.directiveStart,_=p.directiveEnd;m<_;m++){const v=h.data[m].type.prototype,{ngAfterContentInit:w,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=v;w&&(h.contentHooks||(h.contentHooks=[])).push(-m,w),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function io(h,p,m){yd(h,p,3,m)}function El(h,p,m,_){(3&h[2])===m&&yd(h,p,m,_)}function Sl(h,p){let m=h[2];(3&m)===p&&(m&=2047,m+=1,h[2]=m)}function yd(h,p,m,_){const v=null!=_?_:-1,w=p.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else p[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===p){h[2]+=2048;try{v.call(T)}finally{}}}else try{v.call(T)}finally{}}class aa{constructor(p,m,_){this.factory=p,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function Dl(h,p,m){const _=Bt(h);let C=0;for(;Cp){w=v-1;break}}}for(;v>16}(h),_=p;for(;m>0;)_=_[15],m--;return _}let wd=!0;function Pl(h){const p=wd;return wd=h,p}let I_=0;function Vr(h,p){const m=xd(h,p);if(-1!==m)return m;const _=p[1];_.firstCreatePass&&(h.injectorIndex=p.length,Ad(_.data,h),Ad(p,null),Ad(_.blueprint,null));const C=oa(h,p),v=h.injectorIndex;if(vd(C)){const w=rr(C),T=oo(C,p),S=T[1].data;for(let P=0;P<8;P++)p[v+P]=T[w+P]|S[w+P]}return p[v+8]=C,v}function Ad(h,p){h.push(0,0,0,0,0,0,0,0,p)}function xd(h,p){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===p[h.injectorIndex+8]?-1:h.injectorIndex}function oa(h,p){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=p;for(;null!==C;){const v=C[1],w=v.type;if(_=2===w?v.declTNode:1===w?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function Il(h,p,m){!function Cp(h,p,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(xn)&&(_=m[xn]),null==_&&(_=m[xn]=I_++);const C=255&_;p.data[h+(C>>5)]|=1<=0?255&p:k_:p}(m);if("function"==typeof v){if(!Al(p,h,_))return _&at.Host?yp(C,m,_):vp(p,m,_,C);try{const w=v(_);if(null!=w||_&at.Optional)return w;fe(m)}finally{pp()}}else if("number"==typeof v){let w=null,T=xd(h,p),S=-1,P=_&at.Host?p[16][6]:null;for((-1===T||_&at.SkipSelf)&&(S=-1===T?oa(h,p):p[T+8],-1!==S&&xp(_,!1)?(w=p[1],T=rr(S),p=oo(S,p)):T=-1);-1!==T;){const R=p[1];if(Ap(v,T,R.data)){const F=V_(T,p,m,w,_,P);if(F!==wp)return F}S=p[T+8],-1!==S&&xp(_,p[1].data[T+8]===P)&&Ap(v,T,p)?(w=R,T=rr(S),p=oo(S,p)):T=-1}}}return vp(p,m,_,C)}const wp={};function k_(){return new lo(Yt(),be())}function V_(h,p,m,_,C,v){const w=p[1],T=w.data[h+8],R=kl(T,w,m,null==_?ts(T)&&wd:_!=w&&0!=(3&T.type),C&at.Host&&v===T);return null!==R?hs(p,w,R,T):wp}function kl(h,p,m,_,C){const v=h.providerIndexes,w=p.data,T=1048575&v,S=h.directiveStart,R=v>>20,Q=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=w[S];if(te&&Xi(te)&&te.type===m)return S}return null}function hs(h,p,m,_){let C=h[m];const v=p.data;if(function hn(h){return h instanceof aa}(C)){const w=C;w.resolving&&function Me(h,p){const m=p?`. Dependency path: ${p.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(v[m]));const T=Pl(w.canSeeViewProviders);w.resolving=!0;const S=w.injectImpl?Bi(w.injectImpl):null;Al(h,_,at.Default);try{C=h[m]=w.factory(void 0,v,h,_),p.firstCreatePass&&m>=_.directiveStart&&function H_(h,p,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:v}=p.type.prototype;if(_){const w=Ya(p);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),v&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v))}(m,v[m],p)}finally{null!==S&&Bi(S),Pl(T),w.resolving=!1,pp()}}return C}function Ap(h,p,m){return!!(m[p+(h>>5)]&1<{const p=h.prototype.constructor,m=p[cn]||Ed(p),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const v=C[cn]||Ed(C);if(v&&v!==m)return v;C=Object.getPrototypeOf(C)}return v=>new v})}function Ed(h){return se(h)?()=>{const p=Ed(re(h));return p&&p()}:Nt(h)}function Sd(h){return function us(h,p){if("class"===p)return h.classes;if("style"===p)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const v=m[C];if(cs(v))break;if(0===v)C+=2;else if("number"==typeof v)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(v===p)return m[C+1];C+=2}}}return null}(Yt(),h)}const uo="__parameters__";function sa(h,p,m){return X(()=>{const _=function Tp(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(p);function C(...v){if(this instanceof C)return _.apply(this,v),this;const w=new C(...v);return T.annotation=w,T;function T(S,P,R){const F=S.hasOwnProperty(uo)?S[uo]:Object.defineProperty(S,uo,{value:[]})[uo];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(w),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class qt{constructor(p,m){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Ht({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const F_=new qt("AnalyzeForEntryComponents");function pn(h,p){void 0===p&&(p=h);for(let m=0;mArray.isArray(m)?Nn(m,p):p(m))}function Dd(h,p,m){p>=h.length?h.push(m):h.splice(p,0,m)}function Vl(h,p){return p>=h.length-1?h.pop():h.splice(p,1)[0]}function ms(h,p){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function Bl(h,p,m,_){let C=h.length;if(C==p)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>p;)h[C]=h[C-2],C--;h[p]=m,h[p+1]=_}}(h,_,p,m)),_}function Hd(h,p){const m=ca(h,p);if(m>=0)return h[1|m]}function ca(h,p){return function Pd(h,p,m){let _=0,C=h.length>>m;for(;C!==_;){const v=_+(C-_>>1),w=h[v<p?C=v:_=v+1}return~(C<({token:h})),-1),ha=Lt(sa("Optional"),8),go=Lt(sa("SkipSelf"),4);let Od;function vs(h){var p;return(null===(p=function Lp(){if(void 0===Od&&(Od=null,dt.trustedTypes))try{Od=dt.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Od}())||void 0===p?void 0:p.createHTML(h))||h}class bo{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class kA extends bo{getTypeName(){return"HTML"}}class VA extends bo{getTypeName(){return"Style"}}class BA extends bo{getTypeName(){return"Script"}}class OA extends bo{getTypeName(){return"URL"}}class FA extends bo{getTypeName(){return"ResourceURL"}}function Br(h){return h instanceof bo?h.changingThisBreaksApplicationSecurity:h}function ws(h,p){const m=nb(h);if(null!=m&&m!==p){if("ResourceURL"===m&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===p}function nb(h){return h instanceof bo&&h.getTypeName()||null}function LA(h){return new kA(h)}function jA(h){return new VA(h)}function NA(h){return new BA(h)}function zA(h){return new OA(h)}function GA(h){return new FA(h)}class ab{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p=""+p;try{const m=(new window.DOMParser).parseFromString(vs(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class pt{constructor(p){if(this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(p){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=vs(p),m;const _=this.inertDocument.createElement("body");return _.innerHTML=vs(p),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(p){const m=p.attributes;for(let C=m.length-1;0As(p.trim())).join(", ")),this.buf.push(" ",w,'="',Ts(S),'"')}var h;return this.buf.push(">"),!0}endElement(p){const m=p.nodeName.toLowerCase();Np.hasOwnProperty(m)&&!Ld.hasOwnProperty(m)&&(this.buf.push(""))}chars(p){this.buf.push(Ts(p))}checkClobberedElement(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return m}}const zd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ub=/([^\#-~ |!])/g;function Ts(h){return h.replace(/&/g,"&").replace(zd,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(ub,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(//g,">")}let Co;function fn(h,p){let m=null;try{Co=Co||function rb(h){const p=new pt(h);return function ob(){try{return!!(new window.DOMParser).parseFromString(vs(""),"text/html")}catch(h){return!1}}()?new ab(p):p}(h);let _=p?String(p):"";m=Co.getInertBodyElement(_);let C=5,v=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=v,v=m.innerHTML,m=Co.getInertBodyElement(_)}while(_!==v);return vs((new qA).sanitizeChildren(Es(m)||m))}finally{if(m){const _=Es(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Es(h){return"content"in h&&function WA(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var Wt=(()=>((Wt=Wt||{})[Wt.NONE=0]="NONE",Wt[Wt.HTML=1]="HTML",Wt[Wt.STYLE=2]="STYLE",Wt[Wt.SCRIPT=3]="SCRIPT",Wt[Wt.URL=4]="URL",Wt[Wt.RESOURCE_URL=5]="RESOURCE_URL",Wt))();function jl(h){const p=function Nl(){const h=be();return h&&h[12]}();return p?p.sanitize(Wt.URL,h)||"":ws(h,"URL")?Br(h):As(le(h))}const Ud="__ngContext__";function Ti(h,p){h[Ud]=p}function qp(h){const p=function ma(h){return h[Ud]||null}(h);return p?Array.isArray(p)?p:p.lView:null}function qd(h){return h.ngOriginalError}function a0(h,...p){h.error(...p)}class zl{constructor(){this._console=console}handleError(p){const m=this._findOriginalError(p),_=function r0(h){return h&&h.ngErrorLogger||a0}(p);_(this._console,"ERROR",p),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(p){let m=p&&qd(p);for(;m&&qd(m);)m=qd(m);return m||null}}const yb=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(dt))();function sr(h){return h instanceof Function?h():h}var lr=(()=>((lr=lr||{})[lr.Important=1]="Important",lr[lr.DashCase=2]="DashCase",lr))();function Jp(h,p){return undefined(h,p)}function Gl(h){const p=h[3];return ci(p)?p[3]:p}function Xp(h){return Ab(h[13])}function ef(h){return Ab(h[4])}function Ab(h){for(;null!==h&&!ci(h);)h=h[4];return h}function Ms(h,p,m,_,C){if(null!=_){let v,w=!1;ci(_)?v=_:gi(_)&&(w=!0,_=_[0]);const T=M(_);0===h&&null!==m?null==C?Db(p,m,T):yo(p,m,T,C||null,!0):1===h&&null!==m?yo(p,m,T,C||null,!0):2===h?function Bb(h,p,m){const _=Wd(h,p);_&&function S0(h,p,m,_){Bt(h)?h.removeChild(p,m,_):p.removeChild(m)}(h,_,p,m)}(p,T,w):3===h&&p.destroyNode(T),null!=v&&function H0(h,p,m,_,C){const v=m[7];v!==M(m)&&Ms(p,h,_,v,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const v=Vl(h,10+p);!function C0(h,p){Ul(h,p,p[11],2,null,null),p[0]=null,p[6]=null}(_[1],_);const w=v[19];null!==w&&w.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function Eb(h,p){if(!(256&p[2])){const m=p[11];Bt(m)&&m.destroyNode&&Ul(h,p,m,3,null,null),function w0(h){let p=h[13];if(!p)return af(h[1],h);for(;p;){let m=null;if(gi(p))m=p[13];else{const _=p[10];_&&(m=_)}if(!m){for(;p&&!p[4]&&p!==h;)gi(p)&&af(p[1],p),p=p[3];null===p&&(p=h),gi(p)&&af(p[1],p),m=p&&p[4]}p=m}}(p)}}function af(h,p){if(!(256&p[2])){p[2]&=-129,p[2]|=256,function E0(h,p){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),v+=2}else{const w=_[C=m[v+1]];m[v].call(w)}if(null!==_){for(let v=C+1;v<_.length;v++)_[v]();p[7]=null}}(h,p),1===p[1].type&&Bt(p[11])&&p[11].destroy();const m=p[17];if(null!==m&&ci(p[3])){m!==p[3]&&Tb(m,p);const _=p[19];null!==_&&_.detachView(h)}}}function Sb(h,p,m){return function Mb(h,p,m){let _=p;for(;null!==_&&40&_.type;)_=(p=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===ke.None||C===ke.Emulated)return null}return _e(_,m)}(h,p.parent,m)}function yo(h,p,m,_,C){Bt(h)?h.insertBefore(p,m,_,C):p.insertBefore(m,_,C)}function Db(h,p,m){Bt(h)?h.appendChild(p,m):p.appendChild(m)}function Hb(h,p,m,_,C){null!==_?yo(h,p,m,_,C):Db(h,p,m)}function Wd(h,p){return Bt(h)?h.parentNode(p):p.parentNode}function Pb(h,p,m){return Ib(h,p,m)}let Ib=function Rb(h,p,m){return 40&h.type?_e(h,m):null};function $d(h,p,m,_){const C=Sb(h,_,p),v=p[11],T=Pb(_.parent||p[6],_,p);if(null!=C)if(Array.isArray(m))for(let S=0;Sv?"":C[F+1].toLowerCase();const te=8&_?Q:null;if(te&&-1!==Lb(te,P,0)||2&_&&P!==Q){if(Ei(_))return!1;w=!0}}}}else{if(!w&&!Ei(_)&&!Ei(S))return!1;if(w&&Ei(S))continue;w=!1,_=S|1&_}}return Ei(_)||w}function Ei(h){return 0==(1&h)}function uf(h,p,m,_){if(null===p)return-1;let C=0;if(_||!m){let v=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+w:4&_&&(C+=" "+w);else""!==C&&!Ei(w)&&(p+=gt(v,C),C=""),_=w,v=v||!Ei(_);m++}return""!==C&&(p+=gt(v,C)),p}const qe={};function ai(h){$b(yt(),be(),Ri()+h,vl())}function $b(h,p,m,_){if(!_)if(3==(3&p[2])){const v=h.preOrderCheckHooks;null!==v&&io(p,v,m)}else{const v=h.preOrderHooks;null!==v&&El(p,v,0,m)}Li(m)}function ql(h,p){return h<<17|p<<2}function mn(h){return h>>17&32767}function mf(h){return 2|h}function Fr(h){return(131068&h)>>2}function Wl(h,p){return-131069&h|p<<2}function Jd(h){return 1|h}function _a(h,p){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&$b(h,p,20,vl()),m(_,C)}finally{Li(v)}}function wt(h,p,m){if($a(p)){const C=p.directiveEnd;for(let v=p.directiveStart;v0;){const m=h[--p];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,w)}}function oC(h,p){null!==h.hostBindings&&h.hostBindings(1,p)}function zr(h,p){p.flags|=2,(h.components||(h.components=[])).push(p.index)}function Hf(h,p,m){if(m){if(p.exportAs)for(let _=0;_0&&To(m)}}function To(h){for(let _=Xp(h);null!==_;_=ef(_))for(let C=10;C<_.length;C++){const v=_[C];if(1024&v[2]){const w=v[1];xo(w,v,w.template,v[8])}else v[5]>0&&To(v)}const m=h[1].components;if(null!==m)for(let _=0;_0&&To(C)}}function kf(h,p){const m=ft(p,h),_=m[1];(function pu(h,p){for(let m=p.length;mPromise.resolve(null))();function Eo(h){return h[7]||(h[7]=[])}function Bf(h){return h.cleanup||(h.cleanup=[])}function rc(h,p,m){return(null===h||Xi(h))&&(m=function B(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[p.index])),m[11]}function gu(h,p){const m=h[9],_=m?m.get(zl,null):null;_&&_.handleError(p)}function Is(h,p,m,_,C){for(let v=0;vthis.processProvider(T,p,m)),Nn([p],T=>this.processInjectorType(T,[],v)),this.records.set(bu,So(void 0,this));const w=this.records.get(oc);this.scope=null!=w?w.value:null,this.source=C||("object"==typeof p?null:Y(p))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(p=>p.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(p,m=gs,_=at.Default){this.assertNotDestroyed();const C=Vd(this),v=Bi(void 0);try{if(!(_&at.SkipSelf)){let T=this.records.get(p);if(void 0===T){const S=function wu(h){return"function"==typeof h||"object"==typeof h&&h instanceof qt}(p)&&fi(p);T=S&&this.injectableDefInScope(S)?So(sc(p),qr):null,this.records.set(p,T)}if(null!=T)return this.hydrate(p,T)}return(_&at.Self?Of():this.parent).get(p,m=_&at.Optional&&m===gs?null:m)}catch(w){if("NullInjectorError"===w.name){if((w[_s]=w[_s]||[]).unshift(Y(p)),C)throw w;return function HA(h,p,m,_){const C=h[_s];throw p[Ol]&&C.unshift(p[Ol]),h.message=function it(h,p,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Y(p);if(Array.isArray(p))C=p.map(Y).join(" -> ");else if("object"==typeof p){let v=[];for(let w in p)if(p.hasOwnProperty(w)){let T=p[w];v.push(w+":"+("string"==typeof T?JSON.stringify(T):Y(T)))}C=`{${v.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(G_,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[_s]=null,h}(w,p,"R3InjectorError",this.source)}throw w}finally{Bi(v),Vd(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(p=>this.get(p))}toString(){const p=[];return this.records.forEach((_,C)=>p.push(Y(C))),`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(p,m,_){if(!(p=re(p)))return!1;let C=Ua(p);const v=null==C&&p.ngModule||void 0,w=void 0===v?p:v,T=-1!==_.indexOf(w);if(void 0!==v&&(C=Ua(v)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(w);try{Nn(C.imports,F=>{this.processInjectorType(F,m,_)&&(void 0===R&&(R=[]),R.push(F))})}finally{}if(void 0!==R)for(let F=0;Fthis.processProvider(he,Q,te||Fe))}}this.injectorDefTypes.add(w);const S=Nt(w)||(()=>new w);this.records.set(w,So(S,qr));const P=C.providers;if(null!=P&&!T){const R=p;Nn(P,F=>this.processProvider(F,R,P))}return void 0!==v&&void 0!==p.providers}processProvider(p,m,_){let C=Mo(p=re(p))?p:re(p&&p.provide);const v=function yu(h,p,m){return Lf(h)?So(void 0,h.useValue):So(vu(h),qr)}(p);if(Mo(p)||!0!==p.multi)this.records.get(C);else{let w=this.records.get(C);w||(w=So(void 0,qr,!0),w.factory=()=>y(w.multi),this.records.set(C,w)),C=p,w.multi.push(p)}this.records.set(C,v)}hydrate(p,m){return m.value===qr&&(m.value=uC,m.value=m.factory()),"object"==typeof m.value&&m.value&&function va(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(p){if(!p.providedIn)return!1;const m=re(p.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function sc(h){const p=fi(h),m=null!==p?p.factory:Nt(h);if(null!==m)return m;if(h instanceof qt)throw new ae(204,!1);if(h instanceof Function)return function hC(h){const p=h.length;if(p>0)throw ms(p,"?"),new ae(204,!1);const m=function za(h){const p=h&&(h[Tr]||h[Er]);if(p){const m=function Ga(h){if(h.hasOwnProperty("name"))return h.name;const p=(""+h).match(/^function\s*([^\s(]+)/);return null===p?"":p[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),p}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function vu(h,p,m){let _;if(Mo(h)){const C=re(h);return Nt(C)||sc(C)}if(Lf(h))_=()=>re(h.useValue);else if(function fC(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...y(h.deps||[]));else if(function pC(h){return!(!h||!h.useExisting)}(h))_=()=>Ci(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function mC(h){return!!h.deps}(h))return Nt(C)||sc(C);_=()=>new C(...y(h.deps))}return _}function So(h,p,m=!1){return{factory:h,value:p,multi:m?[]:void 0}}function Lf(h){return null!==h&&"object"==typeof h&&q_ in h}function Mo(h){return"function"==typeof h}let Gi=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return ks({name:""},_,m,"");{const v=null!==(C=m.name)&&void 0!==C?C:"";return ks({name:v},m.parent,m.providers,v)}}}return h.THROW_IF_NOT_FOUND=gs,h.NULL=new zi,h.\u0275prov=Ht({token:h,providedIn:"any",factory:()=>Ci(bu)}),h.__NG_ELEMENT_ID__=-1,h})();function wC(h,p){Ir(qp(h)[1],Yt())}function Tu(h){let p=function Xf(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;p;){let C;if(Xi(h))C=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new ae(903,"");C=p.\u0275dir}if(C){if(m){_.push(C);const w=h;w.inputs=Eu(h.inputs),w.declaredInputs=Eu(h.declaredInputs),w.outputs=Eu(h.outputs);const T=C.hostBindings;T&&TC(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&Su(h,S),P&&xC(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),Xi(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const v=C.features;if(v)for(let w=0;w=0;_--){const C=h[_];C.hostVars=p+=C.hostVars,C.hostAttrs=ds(C.hostAttrs,m=ds(m,C.hostAttrs))}}(_)}function Eu(h){return h===ut?{}:h===Fe?[]:h}function Su(h,p){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{p(_,C),m(_,C)}:p}function xC(h,p){const m=h.contentQueries;h.contentQueries=m?(_,C,v)=>{p(_,C,v),m(_,C,v)}:p}function TC(h,p){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{p(_,C),m(_,C)}:p}let uc=null;function yi(){if(!uc){const h=dt.Symbol;if(h&&h.iterator)uc=h.iterator;else{const p=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(M(ot[_.index])):_.index;if(Bt(m)){let ot=null;if(!T&&S&&(ot=function WC(h,p,m,_){const C=h.cleanup;if(null!=C)for(let v=0;vS?T[S]:null}"string"==typeof w&&(v+=2)}return null}(h,p,C,_.index)),null!==ot)(ot.__ngLastListenerFn__||ot).__ngNextListenerFn__=v,ot.__ngLastListenerFn__=v,te=!1;else{v=ym(_,p,F,v,!1);const st=m.listen(je,C,v);Q.push(v,st),R&&R.push(C,Qe,ge,ge+1)}}else v=ym(_,p,F,v,!0),je.addEventListener(C,v,w),Q.push(v),R&&R.push(C,Qe,ge,w)}else v=ym(_,p,F,v,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const De=Ee.length;if(De)for(let je=0;je0;)p=p[15],h--;return p}(h,Je.lFrame.contextLView))[8]}(h)}function Q0(h,p){let m=null;const _=function Gb(h){const p=h.attrs;if(null!=p){const m=p.indexOf(5);if(0==(1&m))return p[m+1]}return null}(h);for(let C=0;C=0}function yc(h,p,m){return qi(h,p,m,!1),yc}function Gu(h,p){return qi(h,p,null,!0),Gu}function qi(h,p,m,_){const C=be(),v=yt(),w=function jn(h){const p=Je.lFrame,m=p.bindingIndex;return p.bindingIndex=p.bindingIndex+h,m}(2);v.firstUpdatePass&&function cy(h,p,m,_){const C=h.data;if(null===C[m+1]){const v=C[Ri()],w=function Hm(h,p){return p>=h.expandoStartIndex}(h,m);(function fy(h,p){return 0!=(h.flags&(p?16:32))})(v,_)&&null===p&&!w&&(p=!1),p=function dy(h,p,m,_){const C=md(h);let v=_?p.residualClasses:p.residualStyles;if(null===C)0===(_?p.classBindings:p.styleBindings)&&(m=zs(m=Uu(null,h,p,m,_),p.attrs,_),v=null);else{const w=p.directiveStylingLast;if(-1===w||h[w]!==C)if(m=Uu(C,h,p,m,_),null===v){let S=function uy(h,p,m){const _=m?p.classBindings:p.styleBindings;if(0!==Fr(_))return h[mn(_)]}(h,p,_);void 0!==S&&Array.isArray(S)&&(S=Uu(null,h,p,S[1],_),S=zs(S,p.attrs,_),function vc(h,p,m,_){h[mn(m?p.classBindings:p.styleBindings)]=_}(h,p,_,S))}else v=function hy(h,p,m){let _;const C=p.directiveEnd;for(let v=1+p.directiveStylingLast;v0)&&(P=!0)}else R=m;if(C)if(0!==S){const Q=mn(h[T+1]);h[_+1]=ql(Q,T),0!==Q&&(h[Q+1]=Wl(h[Q+1],_)),h[T+1]=function ff(h,p){return 131071&h|p<<17}(h[T+1],_)}else h[_+1]=ql(T,0),0!==T&&(h[T+1]=Wl(h[T+1],_)),T=_;else h[_+1]=ql(S,0),0===T?T=_:h[S+1]=Wl(h[S+1],_),S=_;P&&(h[_+1]=mf(h[_+1])),zu(h,R,_,!0),zu(h,R,_,!1),function ry(h,p,m,_,C){const v=C?h.residualClasses:h.residualStyles;null!=v&&"string"==typeof p&&ca(v,p)>=0&&(m[_+1]=Jd(m[_+1]))}(p,R,h,_,v),w=ql(T,S),v?p.classBindings=w:p.styleBindings=w}(C,v,p,m,w,_)}}(v,h,w,_),p!==qe&&Si(C,w,p)&&function Wu(h,p,m,_,C,v,w,T){if(!(3&p.type))return;const S=h.data,P=S[T+1];Qu(function Qb(h){return 1==(1&h)}(P)?$u(S,p,m,C,Fr(P),w):void 0)||(Qu(v)||function vo(h){return 2==(2&h)}(P)&&(v=$u(S,null,m,C,T,w)),function P0(h,p,m,_,C){const v=Bt(h);if(p)C?v?h.addClass(m,_):m.classList.add(_):v?h.removeClass(m,_):m.classList.remove(_);else{let w=-1===_.indexOf("-")?void 0:lr.DashCase;if(null==C)v?h.removeStyle(m,_,w):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),w|=lr.Important),v?h.setStyle(m,_,C,w):m.style.setProperty(_,C,T?"important":"")}}}(_,w,ue(Ri(),m),C,v))}(v,v.data[Ri()],C,C[11],h,C[w+1]=function ex(h,p){return null==h||("string"==typeof p?h+=p:"object"==typeof h&&(h=Y(Br(h)))),h}(p,m),_,w)}function Uu(h,p,m,_,C){let v=null;const w=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,F=null===R;let Q=m[C+1];Q===qe&&(Q=F?Fe:void 0);let te=F?Hd(Q,_):R===_?Q:void 0;if(P&&!Qu(te)&&(te=Hd(S,_)),Qu(te)&&(T=te,w))return T;const he=h[C+1];C=w?mn(he):Fr(he)}if(null!==p){let S=v?p.residualClasses:p.residualStyles;null!=S&&(T=Hd(S,_))}return T}function Qu(h){return void 0!==h}function my(h,p=""){const m=be(),_=yt(),C=h+20,v=_.firstCreatePass?jr(_,C,1,p,null):_.data[C],w=m[C]=function tf(h,p){return Bt(h)?h.createText(p):h.createTextNode(p)}(m[11],p);$d(_,m,w,v),Mn(v,!1)}function Pm(h){return Yu("",h,""),Pm}function Yu(h,p,m){const _=be(),C=function vi(h,p,m,_){return Si(h,Pr(),m)?p+le(m)+_:qe}(_,h,p,m);return C!==qe&&gn(_,Ri(),C),Yu}function Om(h,p,m){const _=be();return Si(_,Pr(),p)&&ji(yt(),Jt(),_,h,p,_[11],m,!0),Om}function th(h,p,m){const _=be();if(Si(_,Pr(),p)){const v=yt(),w=Jt();ji(v,w,_,h,p,rc(md(v.data),w,_),m,!0)}return th}const Wr=void 0;var Fm=["en",[["a","p"],["AM","PM"],Wr],[["AM","PM"],Wr,Wr],[["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"]],Wr,[["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"]],Wr,[["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}",Wr,"{1} 'at' {0}",Wr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ih(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let No={};function wc(h){const p=function Sy(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=Lm(p);if(m)return m;const _=p.split("-")[0];if(m=Lm(_),m)return m;if("en"===_)return Fm;throw new Error(`Missing locale data for the locale "${h}".`)}function Ey(h){return wc(h)[Ke.PluralCase]}function Lm(h){return h in No||(No[h]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[h]),No[h]}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 Ac="en-US";let Nm=Ac;function tg(h,p,m,_,C){if(h=re(h),Array.isArray(h))for(let v=0;v>20;if(Mo(h)||!h.multi){const te=new aa(S,C,Vo),he=zo(T,p,C?R:R+Q,F);-1===he?(Il(Vr(P,w),v,T),ig(v,h,p.length),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),w.push(te)):(m[he]=te,w[he]=te)}else{const te=zo(T,p,R+Q,F),he=zo(T,p,R,R+Q),Ee=te>=0&&m[te],De=he>=0&&m[he];if(C&&!De||!C&&!Ee){Il(Vr(P,w),v,T);const je=function Qx(h,p,m,_,C){const v=new aa(h,m,Vo);return v.multi=[],v.index=p,v.componentProviders=0,Jy(v,C,_&&!m),v}(C?Ky:$x,m.length,C,_,S);!C&&De&&(m[he].providerFactory=je),ig(v,h,p.length,0),p.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),w.push(je)}else ig(v,h,te>-1?te:he,Jy(m[C?he:te],S,!C&&_));!C&&_&&De&&m[he].componentProviders++}}}function ig(h,p,m,_){const C=Mo(p),v=function lc(h){return!!h.useClass}(p);if(C||v){const S=(v?re(p.useClass):p).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&p.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function Jy(h,p,m){return m&&h.componentProviders++,h.multi.push(p)-1}function zo(h,p,m,_){for(let C=m;C<_;C++)if(p[C]===h)return C;return-1}function $x(h,p,m,_){return ng(this.multi,[])}function Ky(h,p,m,_){const C=this.multi;let v;if(this.providerFactory){const w=this.providerFactory.componentProviders,T=hs(m,m[1],this.providerFactory.index,_);v=T.slice(0,w),ng(C,v);for(let S=w;S{m.providersResolver=(_,C)=>function Wx(h,p,m){const _=yt();if(_.firstCreatePass){const C=Xi(h);tg(m,_.data,_.blueprint,C,!0),tg(p,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,p)}}class Xy{}class Kx{resolveComponentFactory(p){throw function ev(h){const p=Error(`No component factory found for ${Y(h)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=h,p}(p)}}let $s=(()=>{class h{}return h.NULL=new Kx,h})();function Zx(){return Qs(Yt(),be())}function Qs(h,p){return new Sc(_e(h,p))}let Sc=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=Zx,h})();function Xx(h){return h instanceof Sc?h.nativeElement:h}class tv{}let iv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function rv(){const h=be(),m=ft(Yt().index,h);return function nv(h){return h[11]}(gi(m)?m:h)}(),h})(),eT=(()=>{class h{}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:()=>null}),h})();class av{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const tT=new av("13.2.2"),Ys={};function Dc(h,p,m,_,C=!1){for(;null!==m;){const v=p[m.index];if(null!==v&&_.push(M(v)),ci(v))for(let T=10;T-1&&(rf(p,_),Vl(m,_))}this._attachedToViewContainer=!1}Eb(this._lView[1],this._lView)}onDestroy(p){nC(this._lView[1],this._lView,null,p)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Gr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Ur(h,p,m){wl(!0);try{Gr(h,p,m)}finally{wl(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function v0(h,p){Ul(h,p,p[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=p}}class iT extends Js{constructor(p){super(p),this._view=p}detectChanges(){mu(this._view)}checkNoChanges(){!function Vf(h){wl(!0);try{mu(h)}finally{wl(!1)}}(this._view)}get context(){return null}}class ov extends $s{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const m=Tt(p);return new Go(m,this.ngModule)}}function sv(h){const p=[];for(let m in h)h.hasOwnProperty(m)&&p.push({propName:h[m],templateName:m});return p}const rT=new qt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>yb});class Go extends Xy{constructor(p,m){super(),this.componentDef=p,this.ngModule=m,this.componentType=p.type,this.selector=function Wb(h){return h.map(cr).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return sv(this.componentDef.inputs)}get outputs(){return sv(this.componentDef.outputs)}create(p,m,_,C){const v=(C=C||this.ngModule)?function aT(h,p){return{get:(m,_,C)=>{const v=h.get(m,Ys,C);return v!==Ys||_===Ys?v:p.get(m,_,C)}}}(p,C.injector):p,w=v.get(tv,D),T=v.get(eT,null),S=w.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function Ds(h,p,m){if(Bt(h))return h.selectRootElement(p,m===ke.ShadowDom);let _="string"==typeof p?h.querySelector(p):p;return _.textContent="",_}(S,_,this.componentDef.encapsulation):nf(w.createRenderer(null,this.componentDef),P,function nT(h){const p=h.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(P)),F=this.componentDef.onPush?576:528,Q=function Zf(h,p){return{components:[],scheduler:h||yb,clean:ya,playerHandler:p||null,flags:0}}(),te=lt(0,null,null,1,0,null,null,null,null,null),he=wo(null,te,Q,F,null,null,w,S,T,v);let Ee,De;xl(he);try{const je=function Jf(h,p,m,_,C,v){const w=m[1];m[20]=h;const S=jr(w,20,2,"#host",null),P=S.mergedAttrs=p.hostAttrs;null!==P&&(ac(S,P,!0),null!==h&&(Dl(C,h,P),null!==S.classes&&df(C,h,S.classes),null!==S.styles&&Fb(C,h,S.styles)));const R=_.createRenderer(h,p),F=wo(m,Le(p),null,p.onPush?64:16,m[20],S,_,R,v||null,null);return w.firstCreatePass&&(Il(Vr(S,m),w,p.type),zr(w,S),Pf(S,m.length,1)),Un(m,F),m[20]=F}(R,this.componentDef,he,w,S);if(R)if(_)Dl(S,R,["ng-version",tT.full]);else{const{attrs:ge,classes:Qe}=function pf(h){const p=[],m=[];let _=1,C=2;for(;_0&&df(S,R,Qe.join(" "))}if(De=Rt(te,20),void 0!==m){const ge=De.projection=[];for(let Qe=0;QeS(w,p)),p.contentQueries){const S=Yt();p.contentQueries(1,w,S.directiveStart)}const T=Yt();return!v.firstCreatePass||null===p.hostBindings&&null===p.hostAttrs||(Li(T.index),Ni(m[1],T,0,T.directiveStart,T.directiveEnd,p),oC(p,w)),w}(je,this.componentDef,he,Q,[wC]),Ao(te,he,null)}finally{Tl()}return new sT(this.componentType,Ee,Qs(De,he),he,De)}}class sT extends class Yx{}{constructor(p,m,_,C,v){super(),this.location=_,this._rootLView=C,this._tNode=v,this.instance=m,this.hostView=this.changeDetectorRef=new iT(C),this.componentType=p}get injector(){return new lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}class Ha{}class lv{}const Ks=new Map;class uv extends Ha{constructor(p,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ov(this);const _=mi(p);this._bootstrapComponents=sr(_.bootstrap),this._r3Injector=Vs(p,m,[{provide:Ha,useValue:this},{provide:$s,useValue:this.componentFactoryResolver}],Y(p)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(p)}get(p,m=Gi.THROW_IF_NOT_FOUND,_=at.Default){return p===Gi||p===Ha||p===bu?this:this._r3Injector.get(p,m,_)}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class ag extends lv{constructor(p){super(),this.moduleType=p,null!==mi(p)&&function cT(h){const p=new Set;!function m(_){const C=mi(_,!0),v=C.id;null!==v&&(function cv(h,p,m){if(p&&p!==m)throw new Error(`Duplicate module registered for ${h} - ${Y(p)} vs ${Y(p.name)}`)}(v,Ks.get(v),_),Ks.set(v,_));const w=sr(C.imports);for(const T of w)p.has(T)||(p.add(T),m(T))}(h)}(p)}create(p){return new uv(this.moduleType,p)}}function hv(h,p,m,_){return _v(be(),Pi(),h,p,m,_)}function _v(h,p,m,_,C,v){const w=p+m;return Si(h,w,C)?function _n(h,p,m){return h[p]=m}(h,w+1,v?_.call(v,C):_(C)):function Hc(h,p){const m=h[p];return m===qe?void 0:m}(h,w+1)}function og(h,p){const m=yt();let _;const C=h+20;m.firstCreatePass?(_=function yv(h,p){if(p)for(let m=p.length-1;m>=0;m--){const _=p[m];if(h===_.name)return _}}(p,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const v=_.factory||(_.factory=Nt(_.type)),w=Bi(Vo);try{const T=Pl(!1),S=v();return Pl(T),function dm(h,p,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),p[m]=_}(m,be(),C,S),S}finally{Bi(w)}}function Pc(h,p,m){const _=h+20,C=be(),v=St(C,_);return function Cr(h,p){return h[1].data[p].pure}(C,_)?_v(C,Pi(),p,v.transform,m,v):v.transform(m)}function oh(h){return p=>{setTimeout(h,void 0,p)}}const Rn=class lg extends E.x{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,m,_){var C,v,w;let T=p,S=m||(()=>null),P=_;if(p&&"object"==typeof p){const F=p;T=null===(C=F.next)||void 0===C?void 0:C.bind(F),S=null===(v=F.error)||void 0===v?void 0:v.bind(F),P=null===(w=F.complete)||void 0===w?void 0:w.bind(F)}this.__isAsync&&(S=oh(S),T&&(T=oh(T)),P&&(P=oh(P)));const R=super.subscribe({next:T,error:S,complete:P});return p instanceof g.w0&&p.add(R),R}};function cg(){return this._results[yi()]()}class $n{constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=yi(),_=$n.prototype;_[m]||(_[m]=cg)}get changes(){return this._changes||(this._changes=new Rn)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,m){return this._results.reduce(p,m)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,m){const _=this;_.dirty=!1;const C=pn(p);(this._changesDetected=!function j_(h,p,m){if(h.length!==p.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=Ic,h})();const Av=yr,mT=class extends Av{constructor(p,m,_){super(),this._declarationLView=p,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(p){const m=this._declarationTContainer.tViews,_=wo(this._declarationLView,m,p,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(m)),Ao(m,_,p),new Js(_)}};function Ic(){return el(Yt(),be())}function el(h,p){return 4&h.type?new mT(p,h,Qs(h,p)):null}let kc=(()=>{class h{}return h.__NG_ELEMENT_ID__=xv,h})();function xv(){return ug(Yt(),be())}const Tv=kc,dg=class extends Tv{constructor(p,m,_){super(),this._lContainer=p,this._hostTNode=m,this._hostLView=_}get element(){return Qs(this._hostTNode,this._hostLView)}get injector(){return new lo(this._hostTNode,this._hostLView)}get parentInjector(){const p=oa(this._hostTNode,this._hostLView);if(vd(p)){const m=oo(p,this._hostLView),_=rr(p);return new lo(m[1].data[_+8],m)}return new lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const m=sh(this._lContainer);return null!==m&&m[p]||null}get length(){return this._lContainer.length-10}createEmbeddedView(p,m,_){const C=p.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(p,m,_,C,v){const w=p&&!function po(h){return"function"==typeof h}(p);let T;if(w)T=m;else{const F=m||{};T=F.index,_=F.injector,C=F.projectableNodes,v=F.ngModuleRef}const S=w?p:new Go(Tt(p)),P=_||this.parentInjector;if(!v&&null==S.ngModule&&P){const F=P.get(Ha,null);F&&(v=F)}const R=S.create(P,C,void 0,v);return this.insert(R.hostView,T),R}insert(p,m){const _=p._lView,C=_[1];if(function zt(h){return ci(h[3])}(_)){const R=this.indexOf(p);if(-1!==R)this.detach(R);else{const F=_[3],Q=new dg(F,F[6],F[3]);Q.detach(Q.indexOf(p))}}const v=this._adjustIndex(m),w=this._lContainer;!function A0(h,p,m,_){const C=10+_,v=m.length;_>0&&(m[C-1][4]=p),_0)_.push(w[T/2]);else{const P=v[T+1],R=p[-S];for(let F=10;F{class h{constructor(m){this.appInits=m,this.resolve=bh,this.reject=bh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{v.subscribe({complete:T,error:S})});m.push(w)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(Ci(wg,8))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Ag=new qt("AppId"),DT={provide:Ag,useFactory:function zv(){return`${$c()}${$c()}${$c()}`},deps:[]};function $c(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gv=new qt("Platform Initializer"),Uv=new qt("Platform ID"),qv=new qt("appBootstrapListener");let Wv=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Ch=new qt("LocaleId"),xg=new qt("DefaultCurrencyCode");class HT{constructor(p,m){this.ngModuleFactory=p,this.componentFactories=m}}let Tg=(()=>{class h{compileModuleSync(m){return new ag(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),v=sr(mi(m).declarations).reduce((w,T)=>{const S=Tt(T);return S&&w.push(new Go(S)),w},[]);return new HT(_,v)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const RT=(()=>Promise.resolve(0))();function Eg(h){"undefined"==typeof Zone?RT.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class vn{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Rn(!1),this.onMicrotaskEmpty=new Rn(!1),this.onStable=new Rn(!1),this.onError=new Rn(!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)),p&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function Sg(){let h=dt.requestAnimationFrame,p=dt.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&p){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=p[Zone.__symbol__("OriginalDelegate")];_&&(p=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function kT(h){const p=()=>{!function IT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(dt,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,Dg(h),h.isCheckStableRunning=!0,Mg(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),Dg(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,v,w,T)=>{try{return xr(h),m.invokeTask(C,v,w,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||h.shouldCoalesceRunChangeDetection)&&p(),Qc(h)}},onInvoke:(m,_,C,v,w,T,S)=>{try{return xr(h),m.invoke(C,v,w,T,S)}finally{h.shouldCoalesceRunChangeDetection&&p(),Qc(h)}},onHasTask:(m,_,C,v)=>{m.hasTask(C,v),_===C&&("microTask"==v.change?(h._hasPendingMicrotasks=v.microTask,Dg(h),Mg(h)):"macroTask"==v.change&&(h.hasPendingMacrotasks=v.macroTask))},onHandleError:(m,_,C,v)=>(m.handleError(C,v),h.runOutsideAngular(()=>h.onError.emit(v)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(vn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(p,m,_){return this._inner.run(p,m,_)}runTask(p,m,_,C){const v=this._inner,w=v.scheduleEventTask("NgZoneEvent: "+C,p,al,bh,bh);try{return v.runTask(w,m,_)}finally{v.cancelTask(w)}}runGuarded(p,m,_){return this._inner.runGuarded(p,m,_)}runOutsideAngular(p){return this._outer.run(p)}}const al={};function Mg(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function Dg(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function xr(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function Qc(h){h._nesting--,Mg(h)}class $v{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Rn,this.onMicrotaskEmpty=new Rn,this.onStable=new Rn,this.onError=new Rn}run(p,m,_){return p.apply(m,_)}runGuarded(p,m,_){return p.apply(m,_)}runOutsideAngular(p){return p()}runTask(p,m,_,C){return p.apply(m,_)}}let yh=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{vn.assertNotInAngularZone(),Eg(()=>{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())Eg(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(w=>w.timeoutId!==v),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:v,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(Ci(vn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})(),Qv=(()=>{class h{constructor(){this._applications=new Map,vh.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return vh.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();class Hg{addToWindow(p){}findTestabilityInTree(p,m,_){return null}}function Yv(h){vh=h}let wn,vh=new Hg;const Jv=new qt("AllowMultipleToken");class OT{constructor(p,m){this.name=p,this.token=m}}function wh(h,p,m=[]){const _=`Platform: ${p}`,C=new qt(_);return(v=[])=>{let w=Kv();if(!w||w.injector.get(Jv,!1))if(h)h(m.concat(v).concat({provide:C,useValue:!0}));else{const T=m.concat(v).concat({provide:C,useValue:!0},{provide:oc,useValue:"platform"});!function Rg(h){if(wn&&!wn.destroyed&&!wn.injector.get(Jv,!1))throw new ae(400,"");wn=h.get(Zv);const p=h.get(Gv,null);p&&p.forEach(m=>m())}(Gi.create({providers:T,name:_}))}return function FT(h){const p=Kv();if(!p)throw new ae(401,"");return p}()}}function Kv(){return wn&&!wn.destroyed?wn:null}let Zv=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function LT(h,p){let m;return m="noop"===h?new $v:("zone.js"===h?void 0:h)||new vn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==p?void 0:p.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==p?void 0:p.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:vn,useValue:T}];return T.run(()=>{const P=Gi.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),F=R.injector.get(zl,null);if(!F)throw new ae(402,"");return T.runOutsideAngular(()=>{const Q=T.onError.subscribe({next:te=>{F.handleError(te)}});R.onDestroy(()=>{Ah(this._modules,R),Q.unsubscribe()})}),function jT(h,p,m){try{const _=m();return ju(_)?_.catch(C=>{throw p.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw p.runOutsideAngular(()=>h.handleError(_)),_}}(F,T,()=>{const Q=R.injector.get(qo);return Q.runInitializers(),Q.donePromise.then(()=>(function Hy(h){Ot(h,"Expected localeId to be defined"),"string"==typeof h&&(Nm=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Ch,Ac)||Ac),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=Xv({},_);return function Pg(h,p,m){const _=new ag(m);return Promise.resolve(_)}(0,0,m).then(v=>this.bootstrapModuleFactory(v,C))}_moduleDoBootstrap(m){const _=m.injector.get(Yc);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(Ci(Gi))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Xv(h,p){return Array.isArray(p)?p.reduce(Xv,h):Object.assign(Object.assign({},h),p)}let Yc=(()=>{class h{constructor(m,_,C,v,w){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=v,this._initStatus=w,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 T=new k.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new k.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{vn.assertNotInAngularZone(),Eg(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{vn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),F.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,V.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof Xy?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const v=function BT(h){return h.isBoundToModule}(C)?void 0:this._injector.get(Ha),T=C.create(Gi.NULL,[],_||C.selector,v),S=T.location.nativeElement,P=T.injector.get(yh,null),R=P&&T.injector.get(Qv);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),Ah(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;Ah(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(qv,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(Ci(vn),Ci(Gi),Ci(zl),Ci($s),Ci(qo))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Ah(h,p){const m=h.indexOf(p);m>-1&&h.splice(m,1)}let kg=!0;function tw(){kg=!1}let iw=(()=>{class h{}return h.__NG_ELEMENT_ID__=nw,h})();function nw(h){return function rw(h,p,m){if(ts(h)&&!m){const _=ft(h.index,p);return new Js(_,_)}return 47&h.type?new Js(p[16],p):null}(Yt(),be(),16==(16&h))}class lw{constructor(){}supports(p){return pr(p)}create(p){return new $T(p)}}const WT=(h,p)=>p;class $T{constructor(p){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=p||WT}forEachItem(p){let m;for(m=this._itHead;null!==m;m=m._next)p(m)}forEachOperation(p){let m=this._itHead,_=this._removalsHead,C=0,v=null;for(;m||_;){const w=!_||m&&m.currentIndex{w=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,w)?(_&&(m=this._verifyReinsertion(m,T,w,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,w,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,m,_,C){let v;return null===p?v=this._itTail:(v=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,v,C)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,v,C)):p=this._addAfter(new QT(m,_),v,C),p}_verifyReinsertion(p,m,_,C){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?p=this._reinsertAfter(v,p._prev,C):p.currentIndex!=C&&(p.currentIndex=C,this._addToMoves(p,C)),p}_truncate(p){for(;null!==p;){const m=p._next;this._addToRemovals(this._unlink(p)),p=m}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(p,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const C=p._prevRemoved,v=p._nextRemoved;return null===C?this._removalsHead=v:C._nextRemoved=v,null===v?this._removalsTail=C:v._prevRemoved=C,this._insertAfter(p,m,_),this._addToMoves(p,_),p}_moveAfter(p,m,_){return this._unlink(p),this._insertAfter(p,m,_),this._addToMoves(p,_),p}_addAfter(p,m,_){return this._insertAfter(p,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,m,_){const C=null===m?this._itHead:m._next;return p._next=C,p._prev=m,null===C?this._itTail=p:C._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new cw),this._linkedRecords.put(p),p.currentIndex=_,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const m=p._prev,_=p._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,p}_addToMoves(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new cw),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class QT{constructor(p,m){this.item=p,this.trackById=m,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 YT{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,p))return _;return null}remove(p){const m=p._prevDup,_=p._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class cw{constructor(){this.map=new Map}put(p){const m=p.trackById;let _=this.map.get(m);_||(_=new YT,this.map.set(m,_)),_.add(p)}get(p,m){const C=this.map.get(p);return C?C.get(p,m):null}remove(p){const m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function dw(h,p,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const v=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,v)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,m){if(p){const _=p._prev;return m._next=p,m._prev=_,p._prev=m,_&&(_._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(p,m){if(this._records.has(p)){const C=this._records.get(p);this._maybeAddToChanges(C,m);const v=C._prev,w=C._next;return v&&(v._next=w),w&&(w._prev=v),C._next=null,C._prev=null,C}const _=new KT(p);return this._records.set(p,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(_=>m(p[_],_))}}class KT{constructor(p){this.key=p,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 hw(){return new Dh([new lw])}let Dh=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||hw()),deps:[[h,new go,new ha]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:hw}),h})();function pw(){return new Hh([new uw])}let Hh=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||pw()),deps:[[h,new go,new ha]]}}find(m){const _=this.factories.find(v=>v.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:pw}),h})();const jg=[new uw],ka=new Dh([new lw]),Vi=new Hh(jg),zg=wh(null,"core",[{provide:Uv,useValue:"unknown"},{provide:Zv,deps:[Gi]},{provide:Qv,deps:[]},{provide:Wv,deps:[]}]),Kr=[{provide:Yc,useClass:Yc,deps:[vn,Gi,zl,$s,qo]},{provide:rT,deps:[vn],useFactory:function Gg(h){let p=[];return h.onStable.subscribe(()=>{for(;p.length;)p.pop()()}),function(m){p.push(m)}}},{provide:qo,useClass:qo,deps:[[new ha,wg]]},{provide:Tg,useClass:Tg,deps:[]},DT,{provide:Dh,useFactory:function fw(){return ka},deps:[]},{provide:Hh,useFactory:function mw(){return Vi},deps:[]},{provide:Ch,useFactory:function gw(h){return h||function Ph(){return"undefined"!=typeof $localize&&$localize.locale||Ac}()},deps:[[new fo(Ch),new ha,new go]]},{provide:xg,useValue:"USD"}];let hi=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(Ci(Yc))},h.\u0275mod=ea({type:h}),h.\u0275inj=Qi({providers:Kr}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class L extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return L.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(L)))(E||L)}}(),L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class L{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(L){const N=L.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(L){return btoa(L).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),k=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return k!==O&&(console.error("exptected at_hash: "+k),console.error("actual at_hash: "+O)),k===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class L{getHashFragmentParams(x){let E=x||window.location.hash;if(E=decodeURIComponent(E),0!==E.indexOf("#"))return{};const g=E.indexOf("?");return E=E.substr(g>-1?g+1:1),this.parseQueryString(E)}parseQueryString(x){const E={};let g,k,O,V,j,q,Y;if(null===x)return E;g=x.split("&");for(let U=0;U>6,k[V++]=128|63&j):j<55296||j>=57344?(k[V++]=224|j>>12,k[V++]=128|j>>6&63,k[V++]=128|63&j):(j=65536+((1023&j)<<10|1023&L.charCodeAt(++E)),k[V++]=240|j>>18,k[V++]=128|j>>12&63,k[V++]=128|j>>6&63,k[V++]=128|63&j);L=k}else{if("object"!==g)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR)}L.length>64&&(L=new Sha256(N,!0).update(L).array());var q=[],Y=[];for(E=0;E<64;++E){var U=L[E]||0;q[E]=92^U,Y[E]=54^U}Sha256.call(this,N,x),this.update(Y),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(L){if(!this.finalized){var N,x=typeof L;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR);N=!0}for(var E,k,g=0,O=L.length,V=this.blocks;g>2]|=L[g]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(V[k>>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=V[16],this.start=k-64,this.hash(),this.hashed=!0):this.start=k}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 L=this.blocks,N=this.lastByteIndex;L[16]=this.block,L[N>>2]|=EXTRA[3&N],this.block=L[16],N>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,W,ae,ie,le,L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?(W=300032,V=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):(W=704751109,V=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(V=E+(z=V+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&k^~g&O)+K[q]+j[q])<<0,E=z+(((L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10))+((W=L&N)^L&x^le))<<0),O=x+(z=O+((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&g^~V&k)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&L)^E&N^W))<<0,k=N+(z=k+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&V^~O&g)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&L^ae))<<0,g=L+(z=g+((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&V)+K[q+3]+j[q+3])<<0,L=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+L<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+g<<0,this.h5=this.h5+k<<0,this.h6=this.h6+O<<0,this.h7=this.h7+V<<0},Sha256.prototype.hex=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=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]+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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[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[k>>28&15]+HEX_CHARS[k>>24&15]+HEX_CHARS[k>>20&15]+HEX_CHARS[k>>16&15]+HEX_CHARS[k>>12&15]+HEX_CHARS[k>>8&15]+HEX_CHARS[k>>4&15]+HEX_CHARS[15&k]+HEX_CHARS[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,g=this.h4,k=this.h5,O=this.h6,V=this.h7,j=[L>>24&255,L>>16&255,L>>8&255,255&L,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,g>>24&255,g>>16&255,g>>8&255,255&g,k>>24&255,k>>16&255,k>>8&255,255&k,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(V>>24&255,V>>16&255,V>>8&255,255&V),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),N=new DataView(L);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),L},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),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(L){if("string"!=typeof L)throw new TypeError("expected string");var N,x=L,E=new Uint8Array(x.length);for(N=0;N{class L{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let g of x)E+=String.fromCharCode(g);return E}toHashString(x){const E=new Uint8Array(x);let g="";for(let k of E)g+=String.fromCharCode(k);return g}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})(),OAuthService=(()=>{class L extends AuthConfig{constructor(x,E,g,k,O,V,j,q,Y,U){var $;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=V,this.logger=j,this.crypto=q,this.dateTimeService=U,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Y,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),k&&(this.tokenValidationHandler=k),O&&this.configure(O);try{g?this.setStorage(g):"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===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,g=!0){let k=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?k=!0:"logout"===O.type&&(k=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{k&&this.refreshInternal(x,g).catch(V=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],g=this.validateUrlForHttps(x),k=this.validateUrlAgainstIssuer(x);return g||E.push("https for all urls required. Also for urls received by discovery."),k||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),g=this.calcTimeout(E,x);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)(g)).subscribe(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),g=this.calcTimeout(E,x);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)(g)).subscribe(k=>{this.ngZone.run(()=>{this.eventsSubject.next(k)})})})}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(x,E){const g=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(g-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,g)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(k=>{if(!this.validateDiscoveryDocument(k))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void g("discovery_document_validation_error");this.loginUrl=k.authorization_endpoint,this.logoutUrl=k.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=k.grant_types_supported,this.issuer=k.issuer,this.tokenEndpoint=k.token_endpoint,this.userinfoEndpoint=k.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=k.jwks_uri,this.sessionCheckIFrameUrl=k.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(k),this.revocationEndpoint=k.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:k,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),g(O)})},k=>{this.logger.error("error loading discovery document",k),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",k)),g(k)}):g("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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(g=>{this.jwks=g,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(g)},g=>{this.logger.error("error loading jwks",g),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",g)),E(g)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,E,g).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((x,E)=>{const g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:g,observe:"response",responseType:"text"}).subscribe(k=>{if(this.debug("userinfo received",JSON.stringify(k)),k.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(k.body);const V=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!V.sub||O.sub!==V.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");O=Object.assign({},V,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(k.body))},k=>{this.logger.error("error loading user info",k),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",k)),E(k)})})}fetchTokenUsingPasswordFlow(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},g)}fetchTokenUsingGrant(x,E,g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let k=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(k=k.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(k=k.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))k=k.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))k=k.set(O,E[O]);return g=g.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,V)=>{this.http.post(this.tokenEndpoint,k,{headers:g}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),V(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,E)=>{let g=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")),k=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))g=g.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,g,{headers:k}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.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=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:E,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(g=>this.debug("tryLogin during silent refresh failed",g))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},E=!0){const g=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 k=this.document.getElementById(this.silentRefreshIFrameName);k&&this.document.body.removeChild(k),this.silentRefreshSubject=g.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(U=>{O.setAttribute("src",U),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>U instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>"token_received"===U.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Y=(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__.S)([j,q,Y]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(U=>{if(U instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===U.type||(U=new OAuthErrorEvent("silent_refresh_error",U)),this.eventsSubject.next(U),U;return"token_received"===U.type&&(U=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(U)),U})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((g,k)=>{let j,V=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(V=x.windowRef,V.location.href=E):V=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{U(),g(!0)},se=>{U(),k(se)})};V?j=window.setInterval(()=>{(!V||V.closed)&&(U(),k(new OAuthErrorEvent("popup_closed",{})))},500):k(new OAuthErrorEvent("popup_blocked",{}));const U=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",$),null!==V&&V.close(),V=null},$=re=>{const se=this.processMessageEventMessage(re);se&&null!==se?(window.removeEventListener("storage",z),q(se)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",$),q(re.newValue))};window.addEventListener("message",$),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,g=x.width||500,k=window.screenLeft+(window.outerWidth-g)/2;return`location=no,toolbar=no,width=${g},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${k}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const g=x.data;return g.startsWith(E)?"#"+g.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=x=>{const E=x.origin.toLowerCase(),g=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),g.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",g,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",g="",k=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const V=this;let j;j=g||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Y=V.loginUrl.indexOf("?")>-1?"&":"?";let U=V.scope;this.oidc&&!U.match(/(^|\s)openid($|\s)/)&&(U="openid "+U);let $=V.loginUrl+Y+"response_type="+encodeURIComponent(V.responseType)+"&client_id="+encodeURIComponent(V.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(U);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),$+="&code_challenge="+z,$+="&code_challenge_method=S256"}E&&($+="&login_hint="+encodeURIComponent(E)),V.resource&&($+="&resource="+encodeURIComponent(V.resource)),V.oidc&&($+="&nonce="+encodeURIComponent(q)),k&&($+="&prompt=none");for(const z of Object.keys(O))$+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return $})}initImplicitFlowInternal(x="",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 g={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(g=E),this.createLoginUrl(x,k,null,!1,g).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(g=>"discovery_document_loaded"===g.type)).subscribe(g=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const g={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(g)}}storeAccessTokenResponse(x,E,g,k,O){if(this._storage.setItem("access_token",x),k&&!Array.isArray(k)?this._storage.setItem("granted_scopes",JSON.stringify(k.split(" "))):k&&Array.isArray(k)&&this._storage.setItem("granted_scopes",JSON.stringify(k)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),g){const V=1e3*g,q=this.dateTimeService.new().getTime()+V;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((V,j)=>{this._storage.setItem(j,V)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,g=this.getCodePartsFromUrl(E),k=g.code,O=g.state,V=g.session_state;if(!x.preventClearHashAfterLogin){const Y=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,Y)}let[j,q]=this.parseState(O);if(this.state=q,g.error){this.debug("error trying to login"),this.handleLoginError(x,g);const Y=new OAuthErrorEvent("code_error",{},g);return this.eventsSubject.next(Y),Promise.reject(Y)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const U=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(U),Promise.reject(U)}return this.storeSessionState(V),k&&(yield this.getTokenFromCode(k,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let g=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let k;k=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),k?g=g.set("code_verifier",k):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(g,E)}fetchAndProcessToken(x,E){E=E||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let g=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const k=btoa(`${this.clientId}:${this.dummyClientSecret}`);g=g.set("Authorization","Basic "+k)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((k,O)=>{if(this.customQueryParams)for(let V of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(V,this.customQueryParams[V]);this.http.post(this.tokenEndpoint,x,{headers:g}).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,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(V)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),k(V))},V=>{console.error("Error getting token",V),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",V)),O(V)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const g=E.state;let[k,O]=this.parseState(g);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const U=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(U),Promise.reject(U)}const V=E.access_token,j=E.id_token,q=E.session_state,Y=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!V||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!g||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(k)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(V,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Y),this.oidc?this.processIdToken(j,V,x.disableNonceCheck).then(U=>x.validationHandler?x.validationHandler({accessToken:V,idClaims:U.idTokenClaims,idToken:U.idToken,state:g}).then($=>U):U).then(U=>(this.storeIdToken(U),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(U=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",U)),this.logger.error("Error validating tokens"),this.logger.error(U),Promise.reject(U))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,g="";if(x){const k=x.indexOf(this.config.nonceStateSeparator);k>-1&&(E=x.substr(0,k),g=x.substr(k+this.config.nonceStateSeparator.length))}return[E,g]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,g=!1){const k=x.split("."),V=b64DecodeUnicode(this.padBase64(k[0])),j=JSON.parse(V),Y=b64DecodeUnicode(this.padBase64(k[1])),U=JSON.parse(Y);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(U.aud)){if(U.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+U.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(U.aud!==this.clientId){const ie="Wrong audience: "+U.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!U.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==U.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${U.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!U.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&U.iss!==this.issuer){const ie="Wrong issuer: "+U.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!g&&U.nonce!==$){const ie="Wrong nonce: "+U.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!U.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*U.iat,se=1e3*U.exp,W=this.getClockSkewInMsec();if(re-W>=z||se+W<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:se}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:U,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:V,idTokenExpiresAt:se})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:V,idTokenExpiresAt:se};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(Pe=>{if(this.requestAccessToken&&!Pe){const ye="Wrong at_hash";return this.logger.warn(ye),Promise.reject(ye)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let g=!1;"boolean"==typeof x&&(g=x,x={});const k=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||g||!k&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(k)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let V=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});k&&(V=V.set("id_token_hint",k));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(V=V.set("post_logout_redirect_uri",j),E&&(V=V.set("state",E)));for(let q in x)V=V.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+V.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let g=45,k="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let V=new Uint8Array(g);O.getRandomValues(V),V.map||(V.map=Array.prototype.map),V=V.map(j=>E.charCodeAt(j%E.length)),k=String.fromCharCode.apply(null,V)}else for(;0"discovery_document_loaded"===g.type)).subscribe(g=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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 g={},k=null;"string"==typeof E?k=E:"object"==typeof E&&(g=E),this.createLoginUrl(x,k,null,!1,g).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(g=>{x[g]&&E.set(g,JSON.stringify(x[g]))}),E}revokeTokenAndLogout(x={},E=!1){let g=this.revocationEndpoint,k=this.getAccessToken(),O=this.getRefreshToken();if(!k)return;let V=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}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 q of Object.getOwnPropertyNames(this.customQueryParams))V=V.set(q,this.customQueryParams[q]);return new Promise((q,Y)=>{let U,$;if(k){let z=V.set("token",k).set("token_type_hint","access_token");U=this.http.post(g,z,{headers:j})}else U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=V.set("token",O).set("token_type_hint","refresh_token");$=this.http.post(g,z,{headers:j})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(U=U.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))),$=$.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__.a)([U,$]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Y(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class L{constructor(x,E,g){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=g}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const g=x.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(g)?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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(V=>this.errorHandler.handleError(V)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class L{static forRoot(x=null,E=NullValidationHandler){return{ngModule:L,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:L}),L.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),L})();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:L=>{"use strict";L.exports={i8:"9.1.0"}}},L=>{L(L.s=7479)}]); \ No newline at end of file diff --git a/dist/apps/password-reset/index.html b/dist/apps/password-reset/index.html index 67c7c1429..f217cd798 100644 --- a/dist/apps/password-reset/index.html +++ b/dist/apps/password-reset/index.html @@ -5,9 +5,9 @@ PasswordReset - + - + diff --git a/dist/apps/password-reset/main.36abbf1a421e9325.js b/dist/apps/password-reset/main.7dfafee9257b9f96.js similarity index 99% rename from dist/apps/password-reset/main.36abbf1a421e9325.js rename to dist/apps/password-reset/main.7dfafee9257b9f96.js index 29ed22a77..dcc5a4128 100644 --- a/dist/apps/password-reset/main.36abbf1a421e9325.js +++ b/dist/apps/password-reset/main.7dfafee9257b9f96.js @@ -1 +1 @@ -(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{9631:(L,N,x)=>{"use strict";var E=x(9808),p=x(5e3);class I extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends I{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function j(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==e?null:function Y(c){q=q||document.createElement("a"),q.setAttribute("href",c);const a=q.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,E.Mx)(document.cookie,a)}}let q,B=null;const U=new p.OlP("TRANSITION_ID"),z=[{provide:p.ip1,useFactory:function $(c,a,e){return()=>{e.get(p.CZH).donePromise.then(()=>{const t=(0,E.q)(),s=a.querySelectorAll(`style[ng-transition="${c}"]`);for(let o=0;o{const o=a.findTestabilityInTree(t,s);if(null==o)throw new Error("Could not find testability for element.");return o},p.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(t=>{const s=p.dqk.getAllAngularTestabilities();let o=s.length,l=!1;const n=function(i){l=l||i,o--,0==o&&t(l)};s.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const s=a.getTestability(e);return null!=s?s:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let oe=(()=>{class c{build(){return new XMLHttpRequest}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const W=new p.OlP("EventManagerPlugins");let ae=(()=>{class c{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 o=0;o{class c{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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Te=(()=>{class c extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(o=>{const l=this._doc.createElement("style");l.textContent=o,s.push(t.appendChild(l))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Me(c){(0,E.q)().remove(c)}const De={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/"},Ce=/%COMP%/g;function ne(c,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return c;!1===c(a)&&(a.preventDefault(),a.returnValue=!1)}}let ge=(()=>{class c{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case p.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new kt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case p.ifc.ShadowDom:return new Bt(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(ae),p.LFG(Te),p.LFG(p.AFp))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class pe{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(De[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,s){if(s){e=s+":"+e;const o=De[s];o?a.setAttributeNS(o,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const s=De[t];s?a.removeAttributeNS(s,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,s){s&(p.JOm.DashCase|p.JOm.Important)?a.style.setProperty(e,t,s&p.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&p.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,ce(t)):this.eventManager.addEventListener(a,e,ce(t))}}class kt extends pe{constructor(a,e,t,s){super(a),this.component=t;const o=ne(s+"-"+t.id,t.styles,[]);e.addStyles(o),this.contentAttr=function xe(c){return"_ngcontent-%COMP%".replace(Ce,c)}(s+"-"+t.id),this.hostAttr=function Be(c){return"_nghost-%COMP%".replace(Ce,c)}(s+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class Bt extends pe{constructor(a,e,t,s){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=ne(s.id,s.styles,[]);for(let l=0;l{class c extends ie{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 c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const di=["alt","control","meta","shift"],ai={"\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"},Ht={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"},Qn={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let Qi=(()=>{class c extends ie{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,t,s){const o=c.parseEventName(t),l=c.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,o.domEventName,l))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const o=c._normalizeKey(t.pop());let l="";if(di.forEach(i=>{const r=t.indexOf(i);r>-1&&(t.splice(r,1),l+=i+".")}),l+=o,0!=t.length||0===o.length)return null;const n={};return n.domEventName=s,n.fullKey=l,n}static getEventFullKey(e){let t="",s=function ui(c){let a=c.key;if(null==a){if(a=c.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===c.location&&Ht.hasOwnProperty(a)&&(a=Ht[a]))}return ai[a]||a}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),di.forEach(o=>{o!=s&&Qn[o](e)&&(t+=o+".")}),t+=s,t}static eventCallback(e,t,s){return o=>{c.getEventFullKey(o)===e&&s.runGuarded(()=>t(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Vr=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:E.bD},{provide:p.g9A,useValue:function pr(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function as(){return(0,p.RDi)(document),document},deps:[]}]),fr=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function rs(){return new p.qLn},deps:[]},{provide:W,useClass:Ne,multi:!0,deps:[E.K0,p.R0b,p.Lbi]},{provide:W,useClass:Qi,multi:!0,deps:[E.K0]},{provide:ge,useClass:ge,deps:[ae,Te,p.AFp]},{provide:p.FYo,useExisting:ge},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:ae,useClass:ae,deps:[W,p.R0b]},{provide:E.JF,useClass:oe,deps:[]}];let Br=(()=>{class c{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:c,providers:[{provide:p.AFp,useValue:e.appId},{provide:U,useExisting:p.AFp},z]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(c,12))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:fr,imports:[E.ez,p.hGG]}),c})(),Vi=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function Ci(){return new Vi((0,p.LFG)(E.K0))}(),t},providedIn:"root"}),c})();"undefined"!=typeof window&&window;let Hn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new(e||c):p.LFG(_a),t},providedIn:"root"}),c})(),_a=(()=>{class c extends Hn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case p.q3G.NONE:return t;case p.q3G.HTML:return(0,p.qzn)(t,"HTML")?(0,p.z3N)(t):(0,p.EiD)(this._doc,String(t)).toString();case p.q3G.STYLE:return(0,p.qzn)(t,"Style")?(0,p.z3N)(t):t;case p.q3G.SCRIPT:if((0,p.qzn)(t,"Script"))return(0,p.z3N)(t);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.yhl)(t),(0,p.qzn)(t,"URL")?(0,p.z3N)(t):(0,p.mCW)(String(t));case p.q3G.RESOURCE_URL:if((0,p.qzn)(t,"ResourceURL"))return(0,p.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,p.JVY)(e)}bypassSecurityTrustStyle(e){return(0,p.L6k)(e)}bypassSecurityTrustScript(e){return(0,p.eBb)(e)}bypassSecurityTrustUrl(e){return(0,p.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,p.pB0)(e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function tc(c){return new _a(c.get(E.K0))}(p.LFG(p.zs3)),t},providedIn:"root"}),c})();var y=x(520);class jt{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const Nt=new p.OlP("basePath");class We{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let Dn=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}convertAttributeToNonunique(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attribute"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"attributes[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAttribute(e,t,s,o,l,n,i,r,d,u,f,b="body",D=!1,G){let se=new y.LE({encoder:this.encoder});null!=e&&(se=this.addToHttpParams(se,e,"attributeName")),null!=t&&(se=this.addToHttpParams(se,t,"attributeId")),null!=s&&(se=this.addToHttpParams(se,s,"facility")),null!=o&&(se=this.addToHttpParams(se,o,"user")),null!=l&&(se=this.addToHttpParams(se,l,"vo")),null!=n&&(se=this.addToHttpParams(se,n,"resource")),null!=i&&(se=this.addToHttpParams(se,i,"member")),null!=r&&(se=this.addToHttpParams(se,r,"group")),null!=d&&(se=this.addToHttpParams(se,d,"host")),null!=u&&(se=this.addToHttpParams(se,u,"userExtSource")),null!=f&&(se=this.addToHttpParams(se,f,"key"));let lt,Oe=this.defaultHeaders;lt=this.configuration.lookupCredential("BasicAuth"),lt&&(Oe=Oe.set("Authorization","Basic "+lt)),lt=this.configuration.lookupCredential("BearerAuth"),lt&&(Oe=Oe.set("Authorization","Bearer "+lt));let et=G&&G.httpHeaderAccept;void 0===et&&(et=this.configuration.selectHeaderAccept(["application/json"])),void 0!==et&&(Oe=Oe.set("Accept",et));let At=G&&G.context;void 0===At&&(At=new y.qT);let Wn="json";return et&&(Wn=et.startsWith("text")?"text":this.configuration.isJsonMime(et)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:At,params:se,responseType:Wn,withCredentials:this.configuration.withCredentials,headers:Oe,observe:b,reportProgress:D})}getAttributeDefinitionById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"namespace"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"format")),null!=t&&(n=this.addToHttpParams(n,t,"attrName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"format"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,o,l,n,i,r,d="body",u=!1,f){let b=new y.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=s&&(b=this.addToHttpParams(b,s,"vo")),null!=o&&(b=this.addToHttpParams(b,o,"group")),null!=l&&(b=this.addToHttpParams(b,l,"resource")),null!=n&&(b=this.addToHttpParams(b,n,"facility")),null!=i&&(b=this.addToHttpParams(b,i,"host")),null!=r&&(b=this.addToHttpParams(b,r,"userExtSource"));let G,D=this.defaultHeaders;G=this.configuration.lookupCredential("BasicAuth"),G&&(D=D.set("Authorization","Basic "+G)),G=this.configuration.lookupCredential("BearerAuth"),G&&(D=D.set("Authorization","Bearer "+G));let se=f&&f.httpHeaderAccept;void 0===se&&(se=this.configuration.selectHeaderAccept(["application/json"])),void 0!==se&&(D=D.set("Accept",se));let Oe=f&&f.context;void 0===Oe&&(Oe=new y.qT);let lt="json";return se&&(lt=se.startsWith("text")?"text":this.configuration.isJsonMime(se)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:Oe,params:b,responseType:lt,withCredentials:this.configuration.withCredentials,headers:D,observe:d,reportProgress:u})}getEntitylessAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getEntitylessAttributesByKey(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"key"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attrName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attrName")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"keys[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getEntitylessKeys(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityResourceUserMemberAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"facility")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=s&&(r=this.addToHttpParams(r,s,"user")),null!=o&&(r=this.addToHttpParams(r,o,"member"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getFacilityUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"user"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupResourceAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getGroupResourceAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getGroupResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"host"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getLogins(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAndUserAttributesByNames(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(D=>{i=this.addToHttpParams(i,D,"attrNames[]")}),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"member"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberGroupAndUserAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getMemberGroupAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberGroupAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberGroupAttributesByNames(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attrNames[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAndUserFacilityAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getMemberResourceAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"service"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesFacilityServices(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesGroupResourceService(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"service")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"group"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesHostService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"host"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesMember(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesMemberGroup(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesMemberGroupResourceService(e,t,s,o,l,n="body",i=!1,r){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==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=s&&(d=this.addToHttpParams(d,s,"group")),null!=o&&(d=this.addToHttpParams(d,o,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let D=r&&r.context;void 0===D&&(D=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:D,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}getRequiredAttributesMemberGroupService(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=s&&(r=this.addToHttpParams(r,s,"member")),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getRequiredAttributesMemberResource(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesMemberResourceService(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=s&&(r=this.addToHttpParams(r,s,"member")),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getRequiredAttributesResource(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesResourceServices(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesVoService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceGroupAndGroupAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"resource")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"workWithGroupAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getResourceGroupAndGroupAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getResourceGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceGroupMemberAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=s&&(r=this.addToHttpParams(r,s,"member")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserFacilityAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getUserFacilityAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getUserFacilityAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,o,l,n,i="body",r=!1,d){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==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==l)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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=s&&(u=this.addToHttpParams(u,s,"group")),null!=o&&(u=this.addToHttpParams(u,o,"user")),null!=l&&(u=this.addToHttpParams(u,l,"member")),n&&n.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}removeAttributesForFacilityResourceUserMember(e,t,s,o,l,n="body",i=!1,r){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==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==l)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=s&&(d=this.addToHttpParams(d,s,"user")),null!=o&&(d=this.addToHttpParams(d,o,"member")),l&&l.forEach(se=>{d=this.addToHttpParams(d,se,"attributes[]")});let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let D=r&&r.context;void 0===D&&(D=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:D,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}removeEntitylessAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeFacilityAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeFacilityAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupResourceAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeGroupResourceAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}removeHostAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeHostAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")}),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}removeMemberResourceAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberResourceAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeResourceAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUesAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserExtSourceAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserFacilityAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeUserFacilityAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeVoAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeVoAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}setAttributePolicyCollections(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Yi=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}getAllPolicies(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=s&&(i=this.addToHttpParams(i,s,"complementaryObjectName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getAuthzRichAdmins(e,t,s,o,l,n,i="body",r=!1,d){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==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=s&&(u=this.addToHttpParams(u,s,"complementaryObjectName")),o&&o.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}getFacilitiesWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupRoleNames(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getLoggedUser(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getPerunPrincipal(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserRoleNames(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}isFacilityAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}keepAlive(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),yi=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}sentMessageToRTWithMemberQueue(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"memberId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=s&&(r=this.addToHttpParams(r,s,"subject")),null!=o&&(r=this.addToHttpParams(r,o,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sentMessageToRTWithQueue(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=s&&(i=this.addToHttpParams(i,s,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}sentMessageToRTWithVo(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=s&&(i=this.addToHttpParams(i,s,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}sentMessageToRTWithVoQueue(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=s&&(r=this.addToHttpParams(r,s,"subject")),null!=o&&(r=this.addToHttpParams(r,o,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Rn=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}addSpecificUserOwner(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}addUserExtSource(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}anonymizeUser(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}changeNonAuthzPasswordByToken(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}changePasswordForLogin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}changePasswordForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}checkPasswordStrength(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}createAlternativePassword(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}createServiceUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"loginNamespace")),null!=s&&(i=this.addToHttpParams(i,s,"passwordId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}deletePasswordForLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}deletePasswordForUser(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}deleteUser(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}findRichUsers(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"searchString")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrsNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}findUsers(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"namespace")),null!=t&&(n=this.addToHttpParams(n,t,"name"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getAllRichUsersWithAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"includedSpecificUsers"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsForResourceWhereUserIsActive(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsWhereUserIsAdmin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"attrsNames[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getSponsorsForMemberByVoAndLogin(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"vo")),null!=t&&(r=this.addToHttpParams(r,t,"extSourceName")),null!=s&&(r=this.addToHttpParams(r,s,"extLogin")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserByExtSourceNameAndExtLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extLogin")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceByExtLoginAndExtSourceName(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extSourceName")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceLogin"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeId")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeName")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSources(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsers(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"specificUser"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"loginNamespace")),null!=t&&(n=this.addToHttpParams(n,t,"login"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}loginExist(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeSpecificUserOwner(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserExtSource(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"userExtSource")),null!=s&&(i=this.addToHttpParams(i,s,"force"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}requestPreferredEmailChange(e,t,s,o,l,n,i="body",r=!1,d){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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"user")),null!=t&&(u=this.addToHttpParams(u,t,"email")),null!=s&&(u=this.addToHttpParams(u,s,"lang")),null!=o&&(u=this.addToHttpParams(u,o,"linkPath")),null!=l&&(u=this.addToHttpParams(u,l,"customUrl")),null!=n&&(u=this.addToHttpParams(u,n,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}reservePasswordForLogin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}reservePasswordForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}reserveRandomPassword(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}setLogin(e,t,s,o="body",l=!1,n){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==s)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"login")),null!=s&&(i=this.addToHttpParams(i,s,"namespace"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}updateUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}updateUserExtSourceLastAccess(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}validatePasswordForUser(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}validatePreferredEmailChangeWithToken(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"token")),null!=t&&(n=this.addToHttpParams(n,t,"u"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),rt=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}getAppsConfig(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),df=(()=>{class c{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:c,providers:[{provide:We,useFactory:e}]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(c,12),p.LFG(y.eN,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[]]}),c})();var dt=(()=>{return(c=dt||(dt={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",dt;var c})();let uf=(()=>{class c{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 o=[];for(const n of s)o=o.concat(n.perunRoles);const l=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(o,l)}principalHasRole(e,t,s){let o=t;return t.startsWith("Rich")&&(o=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][o])&&this.principal.roles[e][o].includes(Number(s.toString()))}canManageFacilities(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER,dt.FACILITYADMIN,dt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(dt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(dt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(dt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOOBSERVER,dt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(dt.PERUNADMIN,dt.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.substring(4)),this.assignAvailableRoles(t,s);const o=new Map;this.setRolesAuthorization(t,e,o);for(const l of o.values())if(l.readAuth||l.manageAuth)return!0;return!1}setRolesAuthorization(e,t,s){for(const o of e){let l=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===o){l=l.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const D of Object.keys(b.entitiesToManage))i="User"===D?[D].concat(i):i.concat(D);break}const r=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(l,r),u=this.resolveAuthorization(n,r);s.set(o,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const s of e){let o=!0;for(const l of Object.keys(s)){const n=s[l];if(null===n)this.principalRoles.has(l)||(o=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(l,n,i)){o=!1;break}}else o=!1;if(!o)break}if(o)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const s of e){let o=s.beanName;switch(s.beanName.startsWith("Rich")&&(o=s.beanName.substring(4)),t[o]?t[o].push(s.id):t[o]=[s.id],o){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const l=s.shift();if(t.has(l))continue;const n=this.getPerunPolicy(l);if(!n)return[];t.set(l,n),s=s.concat(n.includePolicies)}const o=[];for(const l of t.values())o.push(l);return o}voCustomSort(e){for(let t=0;t{(0,va.Xf)(c()).subscribe(a)})}var Hi=x(515),qt=x(727),Di=x(4482),Li=x(5403);function sc(){return(0,Di.e)((c,a)=>{let e=null;c._refCount++;const t=(0,Li.x)(a,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const s=c._connection,o=e;e=null,s&&(!o||s===o)&&s.unsubscribe(),a.unsubscribe()});c.subscribe(t),t.closed||(e=c.connect())})}class hf extends mi.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Di.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new qt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,Li.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=qt.w0.EMPTY)}return a}refCount(){return sc()(this)}}var pt=x(4004),vi=x(3900),Ut=x(5698),hs=x(3269);function ji(...c){const a=(0,hs.yG)(c);return(0,Di.e)((e,t)=>{(a?(0,wa.z)(c,e,a):(0,wa.z)(c,e)).subscribe(t)})}function Ni(c,a,e,t,s){return(o,l)=>{let n=e,i=a,r=0;o.subscribe((0,Li.x)(l,d=>{const u=r++;i=n?c(i,d,u):(n=!0,d),t&&l.next(i)},s&&(()=>{n&&l.next(i),l.complete()})))}}function Mo(c,a){return(0,Di.e)(Ni(c,a,arguments.length>=2,!0))}var zi=x(262),mr=x(4351);function oc(c){return c<=0?()=>Hi.E:(0,Di.e)((a,e)=>{let t=[];a.subscribe((0,Li.x)(e,s=>{t.push(s),c{for(const s of t)e.next(s);e.complete()},void 0,()=>{t=null}))})}var ru=x(8068),Ho=x(6590),Do=x(4671),ps=x(590),ft=x(5577),M=x(8505);function k(c){return(0,Di.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(c)}})}var H=x(8189);class V{constructor(a,e){this.id=a,this.url=e}}class J extends V{constructor(a,e,t="imperative",s=null){super(a,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends V{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _e extends V{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ue extends V{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Pt extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends V{constructor(a,e,t,s,o){super(a,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yt extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class zt{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jr{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kn{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Je{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Aa{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const st="primary";class lc{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function xa(c){return new lc(c)}const pf="ngNavigationCancelingError";function au(c){const a=Error("NavigationCancelingError: "+c);return a[pf]=!0,a}function wt(c,a,e){const t=e.path.split("/");if(t.length>c.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[o]===s)}return c===a}function fs(c){return Array.prototype.concat.apply([],c)}function In(c){return c.length>0?c[c.length-1]:null}function li(c,a){for(const e in c)c.hasOwnProperty(e)&&a(c[e],e)}function _r(c){return(0,p.CqO)(c)?c:(0,p.QGY)(c)?(0,Fi.D)(Promise.resolve(c)):(0,Ge.of)(c)}const cc={exact:function ou(c,a,e){if(!Nr(c.segments,a.segments)||!Io(c.segments,a.segments,e)||c.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!c.children[t]||!ou(c.children[t],a.children[t],e))return!1;return!0},subset:Kn},ko={exact:function br(c,a){return Rt(c,a)},subset:function gs(c,a){return Object.keys(a).length<=Object.keys(c).length&&Object.keys(a).every(e=>su(c[e],a[e]))},ignored:()=>!0};function Ai(c,a,e){return cc[e.paths](c.root,a.root,e.matrixParams)&&ko[e.queryParams](c.queryParams,a.queryParams)&&!("exact"===e.fragment&&c.fragment!==a.fragment)}function Kn(c,a,e){return mf(c,a,a.segments,e)}function mf(c,a,e,t){if(c.segments.length>e.length){const s=c.segments.slice(0,e.length);return!(!Nr(s,e)||a.hasChildren()||!Io(s,e,t))}if(c.segments.length===e.length){if(!Nr(c.segments,e)||!Io(c.segments,e,t))return!1;for(const s in a.children)if(!c.children[s]||!Kn(c.children[s],a.children[s],t))return!1;return!0}{const s=e.slice(0,c.segments.length),o=e.slice(c.segments.length);return!!(Nr(c.segments,s)&&Io(c.segments,s,t)&&c.children[st])&&mf(c.children[st],a,o,t)}}function Io(c,a,e){return a.every((t,s)=>ko[e](c[s].parameters,t.parameters))}class Ta{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return dc.serialize(this)}}class Ct{constructor(a,e){this.segments=a,this.children=e,this.parent=null,li(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vo(this)}}class Ea{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=xa(this.parameters)),this._parameterMap}toString(){return Cr(this)}}function Nr(c,a){return c.length===a.length&&c.every((e,t)=>e.path===a[t].path)}class _f{}class du{parse(a){const e=new fc(a);return new Ta(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${ms(a.root,!0)}`,t=function bf(c){const a=Object.keys(c).map(e=>{const t=c[e];return Array.isArray(t)?t.map(s=>`${Bo(e)}=${Bo(s)}`).join("&"):`${Bo(e)}=${Bo(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function uc(c){return encodeURI(c)}(a.fragment)}`:""}`}}const dc=new du;function Vo(c){return c.segments.map(a=>Cr(a)).join("/")}function ms(c,a){if(!c.hasChildren())return Vo(c);if(a){const e=c.children[st]?ms(c.children[st],!1):"",t=[];return li(c.children,(s,o)=>{o!==st&&t.push(`${o}:${ms(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function cu(c,a){let e=[];return li(c.children,(t,s)=>{s===st&&(e=e.concat(a(t,s)))}),li(c.children,(t,s)=>{s!==st&&(e=e.concat(a(t,s)))}),e}(c,(t,s)=>s===st?[ms(c.children[st],!1)]:[`${s}:${ms(t,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[st]?`${Vo(c)}/${e[0]}`:`${Vo(c)}/(${e.join("//")})`}}function uu(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bo(c){return uu(c).replace(/%3B/gi,";")}function hu(c){return uu(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hc(c){return decodeURIComponent(c)}function xi(c){return hc(c.replace(/\+/g,"%20"))}function Cr(c){return`${hu(c.path)}${function Wt(c){return Object.keys(c).map(a=>`;${hu(a)}=${hu(c[a])}`).join("")}(c.parameters)}`}const Zb=/^[^\/()?;=#]+/;function Oo(c){const a=c.match(Zb);return a?a[0]:""}const Xb=/^[^=?&#]+/,tC=/^[^&#]+/;class fc{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[st]=new Ct(a,e)),t}parseSegment(){const a=Oo(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Ea(hc(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=Oo(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=Oo(this.remaining);s&&(t=s,this.capture(t))}a[hc(e)]=hc(t)}parseQueryParam(a){const e=function eC(c){const a=c.match(Xb);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const l=function pc(c){const a=c.match(tC);return a?a[0]:""}(this.remaining);l&&(t=l,this.capture(t))}const s=xi(e),o=xi(t);if(a.hasOwnProperty(s)){let l=a[s];Array.isArray(l)||(l=[l],a[s]=l),l.push(o)}else a[s]=o}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Oo(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let o;t.indexOf(":")>-1?(o=t.substr(0,t.indexOf(":")),this.capture(o),this.capture(":")):a&&(o=st);const l=this.parseChildren();e[o]=1===Object.keys(l).length?l[st]:new Ct([],l),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Fo{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=Lo(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=Lo(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=gc(a,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==a)}pathFromRoot(a){return gc(a,this._root).map(e=>e.value)}}function Lo(c,a){if(c===a.value)return a;for(const e of a.children){const t=Lo(c,e);if(t)return t}return null}function gc(c,a){if(c===a.value)return[a];for(const e of a.children){const t=gc(c,e);if(t.length)return t.unshift(a),t}return[]}class yr{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function Zi(c){const a={};return c&&c.children.forEach(e=>a[e.value.outlet]=e),a}class _s extends Fo{constructor(a,e){super(a),this.snapshot=e,yf(this,a)}toString(){return this.snapshot.toString()}}function Cf(c,a){const e=function iC(c,a){const l=new _c([],{},{},"",{},st,a,null,c.root,-1,{});return new rC("",new yr(l,[]))}(c,a),t=new Mi([new Ea("",{})]),s=new Mi({}),o=new Mi({}),l=new Mi({}),n=new Mi(""),i=new pn(t,s,l,n,o,st,a,e.root);return i.snapshot=e.root,new _s(new yr(i,[]),e)}class pn{constructor(a,e,t,s,o,l,n,i){this.url=a,this.params=e,this.queryParams=t,this.fragment=s,this.data=o,this.outlet=l,this.component=n,this._futureSnapshot=i}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)(a=>xa(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(a=>xa(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mc(c,a="emptyOnly"){const e=c.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const s=e[t],o=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(o.component)break;t--}}return function nC(c){return c.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class _c{constructor(a,e,t,s,o,l,n,i,r,d,u){this.url=a,this.params=e,this.queryParams=t,this.fragment=s,this.data=o,this.outlet=l,this.component=n,this.routeConfig=i,this._urlSegment=r,this._lastPathIndex=d,this._resolve=u}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=xa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class rC extends Fo{constructor(a,e){super(e),this.url=a,yf(this,e)}toString(){return jo(this._root)}}function yf(c,a){a.value._routerState=c,a.children.forEach(e=>yf(c,e))}function jo(c){const a=c.children.length>0?` { ${c.children.map(jo).join(", ")} } `:"";return`${c.value}${a}`}function bc(c){if(c.snapshot){const a=c.snapshot,e=c._futureSnapshot;c.snapshot=e,Rt(a.queryParams,e.queryParams)||c.queryParams.next(e.queryParams),a.fragment!==e.fragment&&c.fragment.next(e.fragment),Rt(a.params,e.params)||c.params.next(e.params),function ff(c,a){if(c.length!==a.length)return!1;for(let e=0;eRt(e.parameters,a[t].parameters))}(c.url,a.url);return e&&!(!c.parent!=!a.parent)&&(!c.parent||No(c.parent,a.parent))}function bs(c,a,e){if(e&&c.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const s=function wf(c,a,e){return a.children.map(t=>{for(const s of e.children)if(c.shouldReuseRoute(t.value,s.value.snapshot))return bs(c,t,s);return bs(c,t)})}(c,a,e);return new yr(t,s)}{if(c.shouldAttach(a.value)){const o=c.retrieve(a.value);if(null!==o){const l=o.route;return l.value._futureSnapshot=a.value,l.children=a.children.map(n=>bs(c,n)),l}}const t=function Cs(c){return new pn(new Mi(c.url),new Mi(c.params),new Mi(c.queryParams),new Mi(c.fragment),new Mi(c.data),c.outlet,c.component,c)}(a.value),s=a.children.map(o=>bs(c,o));return new yr(t,s)}}function wr(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function Sa(c){return"object"==typeof c&&null!=c&&c.outlets}function ys(c,a,e,t,s){let o={};return t&&li(t,(l,n)=>{o[n]=Array.isArray(l)?l.map(i=>`${i}`):`${l}`}),new Ta(e.root===c?a:sC(e.root,c,a),o,s)}function sC(c,a,e){const t={};return li(c.children,(s,o)=>{t[o]=s===a?e:sC(s,a,e)}),new Ct(c.segments,t)}class pu{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&wr(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(Sa);if(s&&s!==In(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fu{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function yc(c,a,e){if(c||(c=new Ct([],{})),0===c.segments.length&&c.hasChildren())return Ma(c,a,e);const t=function wc(c,a,e){let t=0,s=a;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return o;const l=c.segments[s],n=e[t];if(Sa(n))break;const i=`${n}`,r=t0&&void 0===i)break;if(i&&r&&"object"==typeof r&&void 0===r.outlets){if(!bu(i,r,l))return o;t+=2}else{if(!bu(i,{},l))return o;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(c,a,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(s[l]=yc(c.children[l],a,o))}),li(c.children,(o,l)=>{void 0===t[l]&&(s[l]=o)}),new Ct(c.segments,s)}}function mu(c,a,e){const t=c.segments.slice(0,a);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=mu(new Ct([],{}),0,e))}),a}function _u(c){const a={};return li(c,(e,t)=>a[t]=`${e}`),a}function bu(c,a,e){return c==e.path&&Rt(a,e.parameters)}class lC{constructor(a,e,t,s){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),bc(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const s=Zi(e);a.children.forEach(o=>{const l=o.value.outlet;this.deactivateRoutes(o,s[l],t),delete s[l]}),li(s,(o,l)=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(a,e,t){const s=a.value,o=e?e.value:null;if(s===o)if(s.component){const l=t.getContext(s.outlet);l&&this.deactivateChildRoutes(a,e,l.children)}else this.deactivateChildRoutes(a,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),s=t&&a.value.component?t.children:e,o=Zi(a);for(const l of Object.keys(o))this.deactivateRouteAndItsChildren(o[l],s);if(t&&t.outlet){const l=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:l,route:a,contexts:n})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),s=t&&a.value.component?t.children:e,o=Zi(a);for(const l of Object.keys(o))this.deactivateRouteAndItsChildren(o[l],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const s=Zi(e);a.children.forEach(o=>{this.activateRoutes(o,s[o.value.outlet],t),this.forwardEvent(new Aa(o.value.snapshot))}),a.children.length&&this.forwardEvent(new kn(a.value.snapshot))}activateRoutes(a,e,t){const s=a.value,o=e?e.value:null;if(bc(s),s===o)if(s.component){const l=t.getOrCreateContext(s.outlet);this.activateChildRoutes(a,e,l.children)}else this.activateChildRoutes(a,e,t);else if(s.component){const l=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const n=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),l.children.onOutletReAttached(n.contexts),l.attachRef=n.componentRef,l.route=n.route.value,l.outlet&&l.outlet.attach(n.componentRef,n.route.value),bc(n.route.value),this.activateChildRoutes(a,null,l.children)}else{const n=function cC(c){for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),i=n?n.module.componentFactoryResolver:null;l.attachRef=null,l.route=s,l.resolver=i,l.outlet&&l.outlet.activateWith(s,i),this.activateChildRoutes(a,null,l.children)}}else this.activateChildRoutes(a,null,t)}}class ws{constructor(a,e){this.routes=a,this.module=e}}function fn(c){return"function"==typeof c}function zr(c){return c instanceof Ta}const Ha=Symbol("INITIAL_VALUE");function Zn(){return(0,vi.w)(c=>(0,nu.a)(c.map(a=>a.pipe((0,Ut.q)(1),ji(Ha)))).pipe(Mo((a,e)=>{let t=!1;return e.reduce((s,o,l)=>s!==Ha?s:(o===Ha&&(t=!0),t||!1!==o&&l!==e.length-1&&!zr(o)?s:o),a)},Ha),(0,oi.h)(a=>a!==Ha),(0,pt.U)(a=>zr(a)?a:!0===a),(0,Ut.q)(1)))}class As{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Xn,this.attachRef=null}}class Xn{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new As,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let yu=(()=>{class c{constructor(e,t,s,o,l){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=l,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=o||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 l=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new wu(e,n,this.location.injector);this.activated=this.location.createComponent(l,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Xn),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},c.\u0275dir=p.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class wu{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===pn?this.route:a===Xn?this.childContexts:this.parent.get(a,e)}}let Da=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&p._UZ(0,"router-outlet")},directives:[yu],encapsulation:2}),c})();function uC(c,a=""){for(let e=0;eVn(t)===a);return e.push(...c.filter(t=>Vn(t)!==a)),e}const fC={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Au(c,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(c.hasChildren()||e.length>0)?Object.assign({},fC):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const o=(a.matcher||wt)(e,c,a);if(!o)return Object.assign({},fC);const l={};li(o.posParams,(i,r)=>{l[r]=i.path});const n=o.consumed.length>0?Object.assign(Object.assign({},l),o.consumed[o.consumed.length-1].parameters):l;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:n,positionalParamSegments:null!==(t=o.posParams)&&void 0!==t?t:{}}}function xu(c,a,e,t,s="corrected"){if(e.length>0&&function f0(c,a,e){return e.some(t=>xs(c,a,t)&&Vn(t)!==st)}(c,e,t)){const l=new Ct(a,function Go(c,a,e,t){const s={};s[st]=t,t._sourceSegment=c,t._segmentIndexShift=a.length;for(const o of e)if(""===o.path&&Vn(o)!==st){const l=new Ct([],{});l._sourceSegment=c,l._segmentIndexShift=a.length,s[Vn(o)]=l}return s}(c,a,t,new Ct(e,c.children)));return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:[]}}if(0===e.length&&function ci(c,a,e){return e.some(t=>xs(c,a,t))}(c,e,t)){const l=new Ct(c.segments,function p0(c,a,e,t,s,o){const l={};for(const n of t)if(xs(c,e,n)&&!s[Vn(n)]){const i=new Ct([],{});i._sourceSegment=c,i._segmentIndexShift="legacy"===o?c.segments.length:a.length,l[Vn(n)]=i}return Object.assign(Object.assign({},s),l)}(c,a,e,t,c.children,s));return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}const o=new Ct(c.segments,c.children);return o._sourceSegment=c,o._segmentIndexShift=a.length,{segmentGroup:o,slicedSegments:e}}function xs(c,a,e){return(!(c.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ts(c,a,e,t){return!!(Vn(c)===t||t!==st&&xs(a,e,c))&&("**"===c.path||Au(a,c,e).matched)}function gC(c,a,e){return 0===a.length&&!c.children[e]}class Uo{constructor(a){this.segmentGroup=a||null}}class Xi{constructor(a){this.urlTree=a}}function en(c){return new mi.y(a=>a.error(new Uo(c)))}function Tu(c){return new mi.y(a=>a.error(new Xi(c)))}function vc(c){return new mi.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${c}'`)))}class mC{constructor(a,e,t,s,o){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=o,this.allowRedirects=!0,this.ngModule=a.get(p.h0i)}apply(){const a=xu(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,pt.U)(o=>this.createUrlTree(Mf(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,zi.K)(o=>{if(o instanceof Xi)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Uo?this.noMatchError(o):o}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,st).pipe((0,pt.U)(s=>this.createUrlTree(Mf(s),a.queryParams,a.fragment))).pipe((0,zi.K)(s=>{throw s instanceof Uo?this.noMatchError(s):s}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const s=a.segments.length>0?new Ct([],{[st]:a}):a;return new Ta(s,e,t)}expandSegmentGroup(a,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,pt.U)(o=>new Ct([],o))):this.expandSegment(a,t,e,t.segments,s,!0)}expandChildren(a,e,t){const s=[];for(const o of Object.keys(t.children))"primary"===o?s.unshift(o):s.push(o);return(0,Fi.D)(s).pipe((0,mr.b)(o=>{const l=t.children[o],n=pC(e,o);return this.expandSegmentGroup(a,n,l,o).pipe((0,pt.U)(i=>({segment:i,outlet:o})))}),Mo((o,l)=>(o[l.outlet]=l.segment,o),{}),function Po(c,a){const e=arguments.length>=2;return t=>t.pipe(c?(0,oi.h)((s,o)=>c(s,o,t)):Do.y,oc(1),e?(0,Ho.d)(a):(0,ru.T)(()=>new ds.K))}())}expandSegment(a,e,t,s,o,l){return(0,Fi.D)(t).pipe((0,mr.b)(n=>this.expandSegmentAgainstRoute(a,e,t,n,s,o,l).pipe((0,zi.K)(r=>{if(r instanceof Uo)return(0,Ge.of)(null);throw r}))),(0,ps.P)(n=>!!n),(0,zi.K)((n,i)=>{if(n instanceof ds.K||"EmptyError"===n.name){if(gC(e,s,o))return(0,Ge.of)(new Ct([],{}));throw new Uo(e)}throw n}))}expandSegmentAgainstRoute(a,e,t,s,o,l,n){return Ts(s,e,o,l)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(a,e,s,o,l):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l):en(e):en(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,s,l):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,s){const o=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Tu(o):this.lineralizeSegments(t,o).pipe((0,ft.z)(l=>{const n=new Ct(l,{});return this.expandSegment(a,n,e,l,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l){const{matched:n,consumedSegments:i,lastChild:r,positionalParamSegments:d}=Au(e,s,o);if(!n)return en(e);const u=this.applyRedirectCommands(i,s.redirectTo,d);return s.redirectTo.startsWith("/")?Tu(u):this.lineralizeSegments(s,u).pipe((0,ft.z)(f=>this.expandSegment(a,e,t,f.concat(o.slice(r)),l,!1)))}matchSegmentAgainstRoute(a,e,t,s,o){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ge.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,pt.U)(f=>(t._loadedConfig=f,new Ct(s,{})))):(0,Ge.of)(new Ct(s,{}));const{matched:l,consumedSegments:n,lastChild:i}=Au(e,t,s);if(!l)return en(e);const r=s.slice(i);return this.getChildConfig(a,t,s).pipe((0,ft.z)(u=>{const f=u.module,b=u.routes,{segmentGroup:D,slicedSegments:G}=xu(e,n,r,b),se=new Ct(D.segments,D.children);if(0===G.length&&se.hasChildren())return this.expandChildren(f,b,se).pipe((0,pt.U)(At=>new Ct(n,At)));if(0===b.length&&0===G.length)return(0,Ge.of)(new Ct(n,{}));const Oe=Vn(t)===o;return this.expandSegment(f,se,b,G,Oe?st:o,!0).pipe((0,pt.U)(et=>new Ct(n.concat(et.segments),et.children)))}))}getChildConfig(a,e,t){return e.children?(0,Ge.of)(new ws(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,Ge.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,ft.z)(s=>s?this.configLoader.load(a.injector,e).pipe((0,pt.U)(o=>(e._loadedConfig=o,o))):function qo(c){return new mi.y(a=>a.error(au(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`)))}(e))):(0,Ge.of)(new ws([],a))}runCanLoadGuards(a,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ge.of)(!0);const o=s.map(l=>{const n=a.get(l);let i;if(function Tf(c){return c&&fn(c.canLoad)}(n))i=n.canLoad(e,t);else{if(!fn(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return _r(i)});return(0,Ge.of)(o).pipe(Zn(),(0,M.b)(l=>{if(!zr(l))return;const n=au(`Redirecting to "${this.urlSerializer.serialize(l)}"`);throw n.url=l,n}),(0,pt.U)(l=>!0===l))}lineralizeSegments(a,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ge.of)(t);if(s.numberOfChildren>1||!s.children[st])return vc(a.redirectTo);s=s.children[st]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,s){const o=this.createSegmentGroup(a,e.root,t,s);return new Ta(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return li(a,(s,o)=>{if("string"==typeof s&&s.startsWith(":")){const n=s.substring(1);t[o]=e[n]}else t[o]=s}),t}createSegmentGroup(a,e,t,s){const o=this.createSegments(a,e.segments,t,s);let l={};return li(e.children,(n,i)=>{l[i]=this.createSegmentGroup(a,n,t,s)}),new Ct(o,l)}createSegments(a,e,t,s){return e.map(o=>o.path.startsWith(":")?this.findPosParam(a,o,s):this.findOrReturn(o,t))}findPosParam(a,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return s}findOrReturn(a,e){let t=0;for(const s of e){if(s.path===a.path)return e.splice(t),s;t++}return a}}function Mf(c){const a={};for(const t of Object.keys(c.children)){const o=Mf(c.children[t]);(o.segments.length>0||o.hasChildren())&&(a[t]=o)}return function _C(c){if(1===c.numberOfChildren&&c.children[st]){const a=c.children[st];return new Ct(c.segments.concat(a.segments),a.children)}return c}(new Ct(c.segments,a))}class Eu{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Ti{constructor(a,e){this.component=a,this.route=e}}function Su(c,a,e){const t=c._root;return Wo(t,a?a._root:null,e,[t.value])}function Mu(c,a,e){const t=function Hf(c){if(!c)return null;for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(c)}function Wo(c,a,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Zi(a);return c.children.forEach(l=>{(function bC(c,a,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=c.value,l=a?a.value:null,n=e?e.getContext(c.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){const i=function CC(c,a,e){if("function"==typeof e)return e(c,a);switch(e){case"pathParamsChange":return!Nr(c.url,a.url);case"pathParamsOrQueryParamsChange":return!Nr(c.url,a.url)||!Rt(c.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!No(c,a)||!Rt(c.queryParams,a.queryParams);default:return!No(c,a)}}(l,o,o.routeConfig.runGuardsAndResolvers);i?s.canActivateChecks.push(new Eu(t)):(o.data=l.data,o._resolvedData=l._resolvedData),Wo(c,a,o.component?n?n.children:null:e,t,s),i&&n&&n.outlet&&n.outlet.isActivated&&s.canDeactivateChecks.push(new Ti(n.outlet.component,l))}else l&&$o(a,n,s),s.canActivateChecks.push(new Eu(t)),Wo(c,null,o.component?n?n.children:null:e,t,s)})(l,o[l.value.outlet],e,t.concat([l.value]),s),delete o[l.value.outlet]}),li(o,(l,n)=>$o(l,e.getContext(n),s)),s}function $o(c,a,e){const t=Zi(c),s=c.value;li(t,(o,l)=>{$o(o,s.component?a?a.children.getContext(l):null:a,e)}),e.canDeactivateChecks.push(new Ti(s.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,s))}class wC{}function Pf(c){return new mi.y(a=>a.error(c))}class Rf{constructor(a,e,t,s,o,l){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=l}recognize(){const a=xu(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,st);if(null===e)return null;const t=new _c([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new yr(t,e),o=new rC(this.url,s);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(a){const e=a.value,t=mc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const o of Object.keys(e.children)){const l=e.children[o],n=pC(a,o),i=this.processSegmentGroup(n,l,o);if(null===i)return null;t.push(...i)}const s=If(t);return function AC(c){c.sort((a,e)=>a.value.outlet===st?-1:e.value.outlet===st?1:a.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(a,e,t,s){for(const o of a){const l=this.processSegmentAgainstRoute(o,e,t,s);if(null!==l)return l}return gC(e,t,s)?[]:null}processSegmentAgainstRoute(a,e,t,s){if(a.redirectTo||!Ts(a,e,t,s))return null;let o,l=[],n=[];if("**"===a.path){const b=t.length>0?In(t).parameters:{};o=new _c(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tc(a),Vn(a),a.component,a,Pu(e),Vf(e)+t.length,Ss(a))}else{const b=Au(e,a,t);if(!b.matched)return null;l=b.consumedSegments,n=t.slice(b.lastChild),o=new _c(l,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tc(a),Vn(a),a.component,a,Pu(e),Vf(e)+l.length,Ss(a))}const i=function Yo(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(a),{segmentGroup:r,slicedSegments:d}=xu(e,l,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&r.hasChildren()){const b=this.processChildren(i,r);return null===b?null:[new yr(o,b)]}if(0===i.length&&0===d.length)return[new yr(o,[])];const u=Vn(a)===s,f=this.processSegment(i,r,d,u?st:s);return null===f?null:[new yr(o,f)]}}function kf(c){const a=c.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function If(c){const a=[],e=new Set;for(const t of c){if(!kf(t)){a.push(t);continue}const s=a.find(o=>t.value.routeConfig===o.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):a.push(t)}for(const t of e){const s=If(t.children);a.push(new yr(t.value,s))}return a.filter(t=>!e.has(t))}function Pu(c){let a=c;for(;a._sourceSegment;)a=a._sourceSegment;return a}function Vf(c){let a=c,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function Tc(c){return c.data||{}}function Ss(c){return c.resolve||{}}function Gr(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Ur(c){return(0,vi.w)(a=>{const e=c(a);return e?(0,Fi.D)(e).pipe((0,pt.U)(()=>a)):(0,Ge.of)(a)})}class Ru extends class Of{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const Ms=new p.OlP("ROUTES");class ku{constructor(a,e,t,s){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,pt.U)(o=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=o.create(a);return new ws(fs(l.injector.get(Ms,void 0,p.XFs.Self|p.XFs.Optional)).map(vu),l)}),(0,zi.K)(o=>{throw e._loader$=void 0,o}));return e._loader$=new hf(s,()=>new Ve.x).pipe(sc()),e._loader$}loadModuleFactory(a){return _r(a()).pipe((0,ft.z)(e=>e instanceof p.YKP?(0,Ge.of)(e):(0,Fi.D)(this.compiler.compileModuleAsync(e))))}}class HC{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function Hs(c){throw c}function Ko(c,a,e){return a.parse("/")}function Ff(c,a){return(0,Ge.of)(null)}const _0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class c{constructor(e,t,s,o,l,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=o,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ve.x,this.errorHandler=Hs,this.malformedUriErrorHandler=Ko,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ff,afterPreactivation:Ff},this.urlHandlingStrategy=new HC,this.routeReuseStrategy=new Ru,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=l.get(p.h0i),this.console=l.get(p.c2e);const u=l.get(p.R0b);this.isNgZoneEnabled=u instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function Kb(){return new Ta(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ku(l,n,f=>this.triggerEvent(new Ft(f)),f=>this.triggerEvent(new zt(f))),this.routerState=Cf(this.currentUrlTree,this.rootComponentType),this.transitions=new Mi({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,oi.h)(s=>0!==s.id),(0,pt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,vi.w)(s=>{let o=!1,l=!1;return(0,Ge.of)(s).pipe((0,M.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,vi.w)(n=>{const i=this.browserUrlTree.toString(),r=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Ec(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ge.of)(n).pipe((0,vi.w)(u=>{const f=this.transitions.getValue();return t.next(new J(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions.getValue()?Hi.E:Promise.resolve(u)}),function g0(c,a,e,t){return(0,vi.w)(s=>function Sf(c,a,e,t,s){return new mC(c,a,e,t,s).apply()}(c,a,e,s.extractedUrl,t).pipe((0,pt.U)(o=>Object.assign(Object.assign({},s),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,M.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function xC(c,a,e,t,s){return(0,ft.z)(o=>function vC(c,a,e,t,s="emptyOnly",o="legacy"){try{const l=new Rf(c,a,e,t,s,o).recognize();return null===l?Pf(new wC):(0,Ge.of)(l)}catch(l){return Pf(l)}}(c,a,o.urlAfterRedirects,e(o.urlAfterRedirects),t,s).pipe((0,pt.U)(l=>Object.assign(Object.assign({},o),{targetSnapshot:l}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,M.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const f=new Pt(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(f)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:D,restoredState:G,extras:se}=n,Oe=new J(f,this.serializeUrl(b),D,G);t.next(Oe);const lt=Cf(b,this.rootComponentType).snapshot;return(0,Ge.of)(Object.assign(Object.assign({},n),{targetSnapshot:lt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},se),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Hi.E}),Ur(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,M.b)(n=>{const i=new St(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,pt.U)(n=>Object.assign(Object.assign({},n),{guards:Su(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function yC(c,a){return(0,ft.z)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:l}}=e;return 0===l.length&&0===o.length?(0,Ge.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function Df(c,a,e,t){return(0,Fi.D)(c).pipe((0,ft.z)(s=>function xc(c,a,e,t,s){const o=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,Ge.of)(!0);const l=o.map(n=>{const i=Mu(n,a,s);let r;if(function Cu(c){return c&&fn(c.canDeactivate)}(i))r=_r(i.canDeactivate(c,a,e,t));else{if(!fn(i))throw new Error("Invalid CanDeactivate guard");r=_r(i(c,a,e,t))}return r.pipe((0,ps.P)())});return(0,Ge.of)(l).pipe(Zn())}(s.component,s.route,e,a,t)),(0,ps.P)(s=>!0!==s,!0))}(l,t,s,c).pipe((0,ft.z)(n=>n&&function dC(c){return"boolean"==typeof c}(n)?function Hu(c,a,e,t){return(0,Fi.D)(a).pipe((0,mr.b)(s=>(0,wa.z)(function m0(c,a){return null!==c&&a&&a(new jr(c)),(0,Ge.of)(!0)}(s.route.parent,t),function Ac(c,a){return null!==c&&a&&a(new Je(c)),(0,Ge.of)(!0)}(s.route,t),function Du(c,a,e){const t=a[a.length-1],o=a.slice(0,a.length-1).reverse().map(l=>function Es(c){const a=c.routeConfig?c.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:c,guards:a}:null}(l)).filter(l=>null!==l).map(l=>us(()=>{const n=l.guards.map(i=>{const r=Mu(i,l.node,e);let d;if(function Ef(c){return c&&fn(c.canActivateChild)}(r))d=_r(r.canActivateChild(t,c));else{if(!fn(r))throw new Error("Invalid CanActivateChild guard");d=_r(r(t,c))}return d.pipe((0,ps.P)())});return(0,Ge.of)(n).pipe(Zn())}));return(0,Ge.of)(o).pipe(Zn())}(c,s.path,e),function Qo(c,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ge.of)(!0);const s=t.map(o=>us(()=>{const l=Mu(o,a,e);let n;if(function vs(c){return c&&fn(c.canActivate)}(l))n=_r(l.canActivate(a,c));else{if(!fn(l))throw new Error("Invalid CanActivate guard");n=_r(l(a,c))}return n.pipe((0,ps.P)())}));return(0,Ge.of)(s).pipe(Zn())}(c,s.route,e))),(0,ps.P)(s=>!0!==s,!0))}(t,o,c,a):(0,Ge.of)(n)),(0,pt.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,M.b)(n=>{if(zr(n.guardsResult)){const r=au(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw r.url=n.guardsResult,r}const i=new gt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,oi.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),Ur(n=>{if(n.guards.canActivateChecks.length)return(0,Ge.of)(n).pipe((0,M.b)(i=>{const r=new yt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}),(0,vi.w)(i=>{let r=!1;return(0,Ge.of)(i).pipe(function TC(c,a){return(0,ft.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ge.of)(e);let o=0;return(0,Fi.D)(s).pipe((0,mr.b)(l=>function EC(c,a,e,t){return function Jo(c,a,e,t){const s=Gr(c);if(0===s.length)return(0,Ge.of)({});const o={};return(0,Fi.D)(s).pipe((0,ft.z)(l=>function Bf(c,a,e,t){const s=Mu(c,a,t);return _r(s.resolve?s.resolve(a,e):s(a,e))}(c[l],a,e,t).pipe((0,M.b)(n=>{o[l]=n}))),oc(1),(0,ft.z)(()=>Gr(o).length===s.length?(0,Ge.of)(o):Hi.E))}(c._resolve,c,a,t).pipe((0,pt.U)(o=>(c._resolvedData=o,c.data=Object.assign(Object.assign({},c.data),mc(c,e).resolve),null)))}(l.route,t,c,a)),(0,M.b)(()=>o++),oc(1),(0,ft.z)(l=>o===s.length?(0,Ge.of)(e):Hi.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,M.b)({next:()=>r=!0,complete:()=>{r||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,M.b)(i=>{const r=new ti(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}))}),Ur(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,pt.U)(n=>{const i=function Cc(c,a,e){const t=bs(c,a._root,e?e._root:void 0);return new _s(t,a)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,M.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((c,a,e)=>(0,pt.U)(t=>(new lC(a,t.targetRouterState,t.currentRouterState,e).activate(c),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,M.b)({next(){o=!0},complete(){o=!0}}),k(()=>{var n;o||l||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===s.id&&(this.currentNavigation=null)}),(0,zi.K)(n=>{if(l=!0,function ye(c){return c&&c[pf]}(n)){const i=zr(n.url);i||(this.navigated=!0,this.restoreHistory(s,!0));const r=new _e(s.id,this.serializeUrl(s.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ec(s.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const i=new Ue(s.id,this.serializeUrl(s.extractedUrl),n);t.next(i);try{s.resolve(this.errorHandler(n))}catch(r){s.reject(r)}}return Hi.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 o={replaceUrl:!0},l=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(l){const i=Object.assign({},l);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(o.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,l,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){uC(e),this.config=e.map(vu),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:o,fragment:l,queryParamsHandling:n,preserveFragment:i}=t,r=s||this.routerState.root,d=i?this.currentUrlTree.fragment:l;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}return null!==u&&(u=this.removeEmptyProps(u)),function aC(c,a,e,t,s){if(0===e.length)return ys(a.root,a.root,a,t,s);const o=function vf(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new pu(!0,0,c);let a=0,e=!1;const t=c.reduce((s,o,l)=>{if("object"==typeof o&&null!=o){if(o.outlets){const n={};return li(o.outlets,(i,r)=>{n[r]="string"==typeof i?i.split("/"):i}),[...s,{outlets:n}]}if(o.segmentPath)return[...s,o.segmentPath]}return"string"!=typeof o?[...s,o]:0===l?(o.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?a++:""!=n&&s.push(n))}),s):[...s,o]},[]);return new pu(e,a,t)}(e);if(o.toRoot())return ys(a.root,new Ct([],{}),a,t,s);const l=function oC(c,a,e){if(c.isAbsolute)return new fu(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const o=e.snapshot._urlSegment;return new fu(o,o===a.root,0)}const t=wr(c.commands[0])?0:1;return function zo(c,a,e){let t=c,s=a,o=e;for(;o>s;){if(o-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new fu(t,!1,s-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,c.numberOfDoubleDots)}(o,a,c),n=l.processChildren?Ma(l.segmentGroup,l.index,o.commands):yc(l.segmentGroup,l.index,o.commands);return ys(l.segmentGroup,n,a,t,s)}(r,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=zr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function b0(c){for(let a=0;a{const o=e[s];return null!=o&&(t[s]=o),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ue(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,o,l){var n,i,r;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=Ec(t)&&d&&!Ec(d.source),f=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&f&&b)return Promise.resolve(!0);let G,se,Oe;l?(G=l.resolve,se=l.reject,Oe=l.promise):Oe=new Promise((At,Wn)=>{G=At,se=Wn});const lt=++this.navigationId;let et;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),et=s&&s.\u0275routerPageId?s.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(r=this.browserPageId)&&void 0!==r?r:0)+1):et=0,this.setTransition({id:lt,targetPageId:et,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:G,reject:se,promise:Oe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Oe.catch(At=>Promise.reject(At))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),o=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",o):this.location.go(s,"",o)}restoreHistory(e,t=!1){var s,o;if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===l?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===l&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(l)}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 _e(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 c.\u0275fac=function(e){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Ec(c){return"imperative"!==c}class jf{}class PC{preload(a,e){return(0,Ge.of)(null)}}let Zo=(()=>{class c{constructor(e,t,s,o){this.router=e,this.injector=s,this.preloadingStrategy=o,this.loader=new ku(s,t,i=>e.triggerEvent(new Ft(i)),i=>e.triggerEvent(new zt(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,oi.h)(e=>e instanceof ue),(0,mr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(p.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const o of t)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const l=o._loadedConfig;s.push(this.processRoutes(l.module,l.routes))}else o.loadChildren&&!o.canLoad?s.push(this.preloadConfig(e,o)):o.children&&s.push(this.processRoutes(e,o.children));return(0,Fi.D)(s).pipe((0,H.J)(),(0,pt.U)(o=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ge.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,ft.z)(o=>(t._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Pi),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(jf))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Xo=(()=>{class c{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ue&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Ro&&(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 Ro(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(e){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const qr=new p.OlP("ROUTER_CONFIGURATION"),Ou=new p.OlP("ROUTER_FORROOT_GUARD"),Pa=[E.Ye,{provide:_f,useClass:du},{provide:Pi,useFactory:function Ps(c,a,e,t,s,o,l={},n,i){const r=new Pi(null,c,a,e,t,s,fs(o));return n&&(r.urlHandlingStrategy=n),i&&(r.routeReuseStrategy=i),function Nf(c,a){c.errorHandler&&(a.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(a.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(a.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(a.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(a.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(a.canceledNavigationResolution=c.canceledNavigationResolution)}(l,r),l.enableTracing&&r.events.subscribe(d=>{var u,f;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(f=console.groupEnd)||void 0===f||f.call(console)}),r},deps:[_f,Xn,E.Ye,p.zs3,p.Sil,Ms,qr,[class MC{},new p.FiY],[class SC{},new p.FiY]]},Xn,{provide:pn,useFactory:function OC(c){return c.routerState.root},deps:[Pi]},Zo,PC,class DC{preload(a,e){return e().pipe((0,zi.K)(()=>(0,Ge.of)(null)))}},{provide:qr,useValue:{enableTracing:!1}}];function kC(){return new p.PXZ("Router",Pi)}let Fu=(()=>{class c{constructor(e,t){}static forRoot(e,t){return{ngModule:c,providers:[Pa,er(e),{provide:Ou,useFactory:BC,deps:[[Pi,new p.FiY,new p.tp0]]},{provide:qr,useValue:t||{}},{provide:E.S$,useFactory:VC,deps:[E.lw,[new p.tBr(E.mr),new p.FiY],qr]},{provide:Xo,useFactory:IC,deps:[Pi,E.EM,qr]},{provide:jf,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:PC},{provide:p.PXZ,multi:!0,useFactory:kC},[Lu,{provide:p.ip1,multi:!0,useFactory:FC,deps:[Lu]},{provide:zf,useFactory:LC,deps:[Lu]},{provide:p.tb,multi:!0,useExisting:zf}]]}}static forChild(e){return{ngModule:c,providers:[er(e)]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ou,8),p.LFG(Pi,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();function IC(c,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new Xo(c,a,e)}function VC(c,a,e={}){return e.useHash?new E.Do(c,a):new E.b0(c,a)}function BC(c){return"guarded"}function er(c){return[{provide:p.deG,multi:!0,useValue:c},{provide:Ms,multi:!0,useValue:c}]}let Lu=(()=>{class c{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ve.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(n=>t=n),o=this.injector.get(Pi),l=this.injector.get(qr);return"disabled"===l.initialNavigation?(o.setUpLocationChangeListener(),t(!0)):"enabled"===l.initialNavigation||"enabledBlocking"===l.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?(0,Ge.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),o.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(qr),s=this.injector.get(Zo),o=this.injector.get(Xo),l=this.injector.get(Pi),n=this.injector.get(p.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&l.initialNavigation(),s.setUpPreloading(),o.init(),l.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.zs3))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function FC(c){return c.appInitializer.bind(c)}function LC(c){return c.bootstrapListener.bind(c)}const zf=new p.OlP("Router Initializer"),jC=new p.OlP("cdk-dir-doc",{providedIn:"root",factory:function NC(){return(0,p.f3M)(E.K0)}}),zC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ka,Ar=(()=>{class c{constructor(e){if(this.value="ltr",this.change=new p.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function y0(c){const a=(null==c?void 0:c.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?zC.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(jC,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ra=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();try{ka="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(c){ka=!1}let Ia,Qt=(()=>{class c{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!ka)&&"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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.Lbi))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const UC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function qC(){if(Ia)return Ia;if("object"!=typeof document||!document)return Ia=new Set(UC),Ia;let c=document.createElement("input");return Ia=new Set(UC.filter(a=>(c.setAttribute("type",a),c.type===a))),Ia}let Mc,ks,Nu;function gn(c){return function ju(){if(null==Mc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mc=!0}))}finally{Mc=Mc||!1}return Mc}()?c:!!c.capture}function w0(){if(null==ks){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ks=!1,ks;if("scrollBehavior"in document.documentElement.style)ks=!0;else{const c=Element.prototype.scrollTo;ks=!!c&&!/\{\s*\[native code\]\s*\}/.test(c.toString())}}return ks}function Hc(c){if(function $C(){if(null==Nu){const c="undefined"!=typeof document?document.head:null;Nu=!(!c||!c.createShadowRoot&&!c.attachShadow)}return Nu}()){const a=c.getRootNode?c.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function zu(){let c="undefined"!=typeof document&&document?document.activeElement:null;for(;c&&c.shadowRoot;){const a=c.shadowRoot.activeElement;if(a===c)break;c=a}return c}function mn(c){return c.composedPath?c.composedPath()[0]:c.target}function Is(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Wr(c,...a){return a.length?a.some(e=>c[e]):c.altKey||c.shiftKey||c.ctrlKey||c.metaKey}var Yu=x(8372);function _n(c){return(0,oi.h)((a,e)=>c<=e)}function cg(c,a){return c===a}var Ey=x(5032);function vt(c){return(0,Di.e)((a,e)=>{(0,va.Xf)(c).subscribe((0,Li.x)(e,()=>e.complete(),Ey.Z)),!e.closed&&a.subscribe(e)})}function nt(c){return null!=c&&"false"!=`${c}`}function On(c,a=0){return function dg(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}(c)?Number(c):a}function Ic(c){return Array.isArray(c)?c:[c]}function ni(c){return null==c?"":"string"==typeof c?c:`${c}px`}function Jt(c){return c instanceof p.SBq?c.nativeElement:c}let Ju=(()=>{class c{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),ug=(()=>{class c{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 mi.y(s=>{const l=this._observeElement(t).subscribe(s);return()=>{l.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Ve.x,s=this._mutationObserverFactory.create(o=>t.next(o));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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Ju))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Vc=(()=>{class c{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new p.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=nt(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,Yu.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(ug),p.Y36(p.SBq),p.Y36(p.R0b))},c.\u0275dir=p.lG2({type:c,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),c})(),$r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Ju]}),c})();function Os(c,a){return(c.getAttribute(a)||"").match(/\S+/g)||[]}const Bc="cdk-describedby-message",ol="cdk-describedby-host";let Oc=0,ox=(()=>{class c{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Oc++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const o=Fc(t,s);"string"!=typeof t?(My(t),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,s){var o;if(!t||!this._isElementNode(e))return;const l=Fc(t,s);if(this._isElementDescribedByMessage(e,l)&&this._removeMessageReference(e,l),"string"==typeof t){const n=this._messageRegistry.get(l);n&&0===n.referenceCount&&this._deleteMessageElement(l)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${ol}="${this._id}"]`);for(let s=0;s0!=s.indexOf(Bc));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function hg(c,a,e){const t=Os(c,a);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),c.setAttribute(a,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(ol,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Sy(c,a,e){const s=Os(c,a).filter(o=>o!=e.trim());s.length?c.setAttribute(a,s.join(" ")):c.removeAttribute(a)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(ol)}_isElementDescribedByMessage(e,t){const s=Os(e,"aria-describedby"),o=this._messageRegistry.get(t),l=o&&o.messageElement.id;return!!l&&-1!=s.indexOf(l)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),o=e.getAttribute("aria-label");return!(!s||o&&o.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Fc(c,a){return"string"==typeof c?`${a||""}/${c}`:c}function My(c){c.id||(c.id=`${Bc}-${Oc++}`)}class ll extends class Lc{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ve.x,this._typeaheadSubscription=qt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ve.x,this.change=new Ve.x,a instanceof p.n_E&&a.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,M.b)(e=>this._pressedLetters.push(e)),(0,Yu.b)(a),(0,oi.h)(()=>this._pressedLetters.length>0),(0,pt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!a[o]||this._allowedModifierKeys.indexOf(o)>-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||Wr(a,"shiftKey"))&&(a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],a.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(a){const e=this._getItemsArray(),t="number"==typeof a?a:e.indexOf(a),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+a*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,e){const t=this._getItemsArray();if(t[a]){for(;this._skipPredicateFn(t[a]);)if(!t[a+=e])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof p.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let jc=(()=>{class c{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Hy(c){return!!(c.offsetWidth||c.offsetHeight||"function"==typeof c.getClientRects&&c.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function lx(c){try{return c.frameElement}catch(a){return null}}(function Iy(c){return c.ownerDocument&&c.ownerDocument.defaultView||window}(e));if(t&&(-1===ky(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),o=ky(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function mg(c){let a=c.nodeName.toLowerCase(),e="input"===a&&c.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==o:"video"===s?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function _g(c){return!function Py(c){return function fg(c){return"input"==c.nodeName.toLowerCase()}(c)&&"hidden"==c.type}(c)&&(function Dy(c){let a=c.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(c)||function Ry(c){return function cx(c){return"a"==c.nodeName.toLowerCase()}(c)&&c.hasAttribute("href")}(c)||c.hasAttribute("contenteditable")||gg(c))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function gg(c){if(!c.hasAttribute("tabindex")||void 0===c.tabIndex)return!1;let a=c.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function ky(c){if(!gg(c))return null;const a=parseInt(c.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class Zu{constructor(a,e,t,s,o=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(a)}}let dx=(()=>{class c{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new Zu(e,this._checker,this._ngZone,this._document,t)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(jc),p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Xu(c){return 0===c.buttons||0===c.offsetX&&0===c.offsetY}function eh(c){const a=c.touches&&c.touches[0]||c.changedTouches&&c.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const ux=new p.OlP("cdk-input-modality-detector-options"),Yr={ignoreKeys:[18,17,224,91,16]},Fs=gn({passive:!0,capture:!0});let bg=(()=>{class c{constructor(e,t,s,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Mi(null),this._lastTouchMs=0,this._onKeydown=l=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(r=>r===l.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=mn(l))},this._onMousedown=l=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xu(l)?"keyboard":"mouse"),this._mostRecentTarget=mn(l))},this._onTouchstart=l=>{eh(l)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(l))},this._options=Object.assign(Object.assign({},Yr),o),this.modalityDetected=this._modality.pipe(_n(1)),this.modalityChanged=this.modalityDetected.pipe(function Ty(c,a=Do.y){return c=null!=c?c:cg,(0,Di.e)((e,t)=>{let s,o=!0;e.subscribe((0,Li.x)(t,l=>{const n=a(l);(o||!c(s,n))&&(o=!1,s=n,t.next(l))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Fs),s.addEventListener("mousedown",this._onMousedown,Fs),s.addEventListener("touchstart",this._onTouchstart,Fs)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fs),document.removeEventListener("mousedown",this._onMousedown,Fs),document.removeEventListener("touchstart",this._onTouchstart,Fs))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b),p.LFG(E.K0),p.LFG(ux,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const vg=new p.OlP("cdk-focus-monitor-default-options"),zc=gn({passive:!0,capture:!0});let Fn=(()=>{class c{constructor(e,t,s,o,l){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 Ve.x,this._rootNodeFocusAndBlurListener=n=>{const i=mn(n),r="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)r.call(this,n,d)},this._document=o,this._detectionMode=(null==l?void 0:l.detectionMode)||0}monitor(e,t=!1){const s=Jt(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ge.of)(null);const o=Hc(s)||this._getDocument(),l=this._elementInfo.get(s);if(l)return t&&(l.checkChildren=!0),l.subject;const n={checkChildren:t,subject:new Ve.x,rootNode:o};return this._elementInfo.set(s,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=Jt(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 o=Jt(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof o.focus&&o.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),o=mn(e);!s||!s.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),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,zc),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,zc)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!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,zc),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zc),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,o)=>{(o===e||s.checkChildren&&o.contains(e))&&t.push([o,s])}),t}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(Qt),p.LFG(bg),p.LFG(E.K0,8),p.LFG(vg,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const th="cdk-high-contrast-black-on-white",Ag="cdk-high-contrast-white-on-black",ih="cdk-high-contrast-active";let Ls=(()=>{class c{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,o=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){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(ih),e.remove(th),e.remove(Ag),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(ih),e.add(th)):2===t&&(e.add(ih),e.add(Ag))}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jr=(()=>{class c{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ls))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[$r]]}),c})();class Gc{}const tn="*";function Lt(c,a){return{type:7,name:c,definitions:a,options:{}}}function Tt(c,a=null){return{type:4,styles:a,timings:c}}function nh(c,a=null){return{type:3,steps:c,options:a}}function rh(c,a=null){return{type:2,steps:c,options:a}}function Le(c){return{type:6,styles:c,offset:null}}function ot(c,a,e){return{type:0,name:c,styles:a,options:e}}function bt(c,a,e=null){return{type:1,expr:c,animation:a,options:e}}function cl(c=null){return{type:9,options:c}}function dl(c,a,e=null){return{type:11,selector:c,animation:a,options:e}}function xg(c){Promise.resolve(null).then(c)}class Ns{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){xg(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Tg{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,s=0;const o=this.players.length;0==o?xg(()=>this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++e==o&&this._onFinish()}),l.onDestroy(()=>{++t==o&&this._onDestroy()}),l.onStart(()=>{++s==o&&this._onStart()})}),this.totalTime=this.players.reduce((l,n)=>Math.max(l,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function nn(){return"undefined"!=typeof window&&void 0!==window.document}function sh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Zr(c){switch(c.length){case 0:return new Ns;case 1:return c[0];default:return new Tg(c)}}function By(c,a,e,t,s={},o={}){const l=[],n=[];let i=-1,r=null;if(t.forEach(d=>{const u=d.offset,f=u==i,b=f&&r||{};Object.keys(d).forEach(D=>{let G=D,se=d[D];if("offset"!==D)switch(G=a.normalizePropertyName(G,l),se){case"!":se=s[D];break;case tn:se=o[D];break;default:se=a.normalizeStyleValue(D,G,se,l)}b[G]=se}),f||n.push(b),r=b,i=u}),l.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${l.join(d)}`)}return n}function Eg(c,a,e,t){switch(a){case"start":c.onStart(()=>t(e&&Uc(e,"start",c)));break;case"done":c.onDone(()=>t(e&&Uc(e,"done",c)));break;case"destroy":c.onDestroy(()=>t(e&&Uc(e,"destroy",c)))}}function Uc(c,a,e){const t=e.totalTime,o=Sg(c.element,c.triggerName,c.fromState,c.toState,a||c.phaseName,null==t?c.totalTime:t,!!e.disabled),l=c._data;return null!=l&&(o._data=l),o}function Sg(c,a,e,t,s="",o=0,l){return{element:c,triggerName:a,fromState:e,toState:t,phaseName:s,totalTime:o,disabled:!!l}}function rn(c,a,e){let t;return c instanceof Map?(t=c.get(a),t||c.set(a,t=e)):(t=c[a],t||(t=c[a]=e)),t}function qc(c){const a=c.indexOf(":");return[c.substring(1,a),c.substr(a+1)]}let Wc=(c,a)=>!1,Mg=(c,a,e)=>[];(sh()||"undefined"!=typeof Element)&&(Wc=nn()?(c,a)=>{for(;a&&a!==document.documentElement;){if(a===c)return!0;a=a.parentNode||a.host}return!1}:(c,a)=>c.contains(a),Mg=(c,a,e)=>{if(e)return Array.from(c.querySelectorAll(a));const t=c.querySelector(a);return t?[t]:[]});let Xr=null,Hg=!1;function oh(c){Xr||(Xr=function Fy(){return"undefined"!=typeof document?document.body:null}()||{},Hg=!!Xr.style&&"WebkitAppearance"in Xr.style);let a=!0;return Xr.style&&!function Oy(c){return"ebkit"==c.substring(1,6)}(c)&&(a=c in Xr.style,!a&&Hg&&(a="Webkit"+c.charAt(0).toUpperCase()+c.substr(1)in Xr.style)),a}const Dg=Wc,lh=Mg;let Pg=(()=>{class c{validateStyleProperty(e){return oh(e)}matchesElement(e,t){return!1}containsElement(e,t){return Dg(e,t)}query(e,t,s){return lh(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,o,l,n=[],i){return new Ns(s,o)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Cn=(()=>{class c{}return c.NOOP=new Pg,c})();const kg="ng-enter",ul="ng-leave",$c="ng-trigger",Qc=".ng-trigger",Ig="ng-animating",hl=".ng-animating";function Ba(c){if("number"==typeof c)return c;const a=c.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:dh(parseFloat(a[1]),a[2])}function dh(c,a){return"s"===a?1e3*c:c}function Oa(c,a,e){return c.hasOwnProperty("duration")?c:function uh(c,a,e){let s,o=0,l="";if("string"==typeof c){const n=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return a.push(`The provided timing value "${c}" is invalid.`),{duration:0,delay:0,easing:""};s=dh(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(o=dh(parseFloat(i),n[4]));const r=n[5];r&&(l=r)}else s=c;if(!e){let n=!1,i=a.length;s<0&&(a.push("Duration values below 0 are not allowed for this animation step."),n=!0),o<0&&(a.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&a.splice(i,0,`The provided timing value "${c}" is invalid.`)}return{duration:s,delay:o,easing:l}}(c,a,e)}function zs(c,a={}){return Object.keys(c).forEach(e=>{a[e]=c[e]}),a}function tr(c,a,e={}){if(a)for(let t in c)e[t]=c[t];else zs(c,e);return e}function hh(c,a,e){return e?a+":"+e+";":""}function Vg(c){let a="";for(let e=0;e{const s=Ln(t);e&&!e.hasOwnProperty(t)&&(e[t]=c.style[s]),c.style[s]=a[t]}),sh()&&Vg(c))}function Er(c,a){c.style&&(Object.keys(a).forEach(e=>{const t=Ln(e);c.style[t]=""}),sh()&&Vg(c))}function Jc(c){return Array.isArray(c)?1==c.length?c[0]:rh(c):c}const Kc=new RegExp("{{\\s*(.+?)\\s*}}","g");function ph(c){let a=[];if("string"==typeof c){let e;for(;e=Kc.exec(c);)a.push(e[1]);Kc.lastIndex=0}return a}function pl(c,a,e){const t=c.toString(),s=t.replace(Kc,(o,l)=>{let n=a[l];return a.hasOwnProperty(l)||(e.push(`Please provide a value for the animation param ${l}`),n=""),n.toString()});return s==t?c:s}function fl(c){const a=[];let e=c.next();for(;!e.done;)a.push(e.value),e=c.next();return a}const Bg=/-+([a-z0-9])/g;function Ln(c){return c.replace(Bg,(...a)=>a[1].toUpperCase())}function Zc(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yn(c,a,e){switch(a.type){case 7:return c.visitTrigger(a,e);case 0:return c.visitState(a,e);case 1:return c.visitTransition(a,e);case 2:return c.visitSequence(a,e);case 3:return c.visitGroup(a,e);case 4:return c.visitAnimate(a,e);case 5:return c.visitKeyframes(a,e);case 6:return c.visitStyle(a,e);case 8:return c.visitReference(a,e);case 9:return c.visitAnimateChild(a,e);case 10:return c.visitAnimateRef(a,e);case 11:return c.visitQuery(a,e);case 12:return c.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function Xc(c,a){return window.getComputedStyle(c)[a]}function fh(c,a){const e=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(t=>function ml(c,a,e){if(":"==c[0]){const i=function Uy(c,a){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(c,e);if("function"==typeof i)return void a.push(i);c=i}const t=c.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${c}" is not supported`),a;const s=t[1],o=t[2],l=t[3];a.push(gh(s,l));"<"==o[0]&&!("*"==s&&"*"==l)&&a.push(gh(l,s))}(t,e,a)):e.push(c),e}const Gs=new Set(["true","1"]),_l=new Set(["false","0"]);function gh(c,a){const e=Gs.has(c)||_l.has(c),t=Gs.has(a)||_l.has(a);return(s,o)=>{let l="*"==c||c==s,n="*"==a||a==o;return!l&&e&&"boolean"==typeof s&&(l=s?Gs.has(c):_l.has(c)),!n&&t&&"boolean"==typeof o&&(n=o?Gs.has(a):_l.has(a)),l&&n}}const qy=new RegExp("s*:selfs*,?","g");function bl(c,a,e){return new Wy(c).build(a,e)}class Wy{constructor(a){this._driver=a}build(a,e){const t=new Lg(e);return this._resetContextStyleTimingState(t),yn(this,Jc(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,s=e.depCount=0;const o=[],l=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,r=i.name;r.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,o.push(this.visitState(i,e))}),i.name=r}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,s+=i.depCount,l.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:o,transitions:l,queryCount:t,depCount:s,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),s=a.options&&a.options.params||null;if(t.containsDynamicStyles){const o=new Set,l=s||{};if(t.styles.forEach(n=>{if(ed(n)){const i=n;Object.keys(i).forEach(r=>{ph(i[r]).forEach(d=>{l.hasOwnProperty(d)||o.add(d)})})}}),o.size){const n=fl(o.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:a.name,style:t,options:s?{params:s}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=yn(this,Jc(a.animation),e);return{type:1,matchers:fh(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Fa(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>yn(this,t,e)),options:Fa(a.options)}}visitGroup(a,e){const t=e.currentTime;let s=0;const o=a.steps.map(l=>{e.currentTime=t;const n=yn(this,l,e);return s=Math.max(s,e.currentTime),n});return e.currentTime=s,{type:3,steps:o,options:Fa(a.options)}}visitAnimate(a,e){const t=function qs(c,a){let e=null;if(c.hasOwnProperty("duration"))e=c;else if("number"==typeof c)return _h(Oa(c,a).duration,0,"");const t=c;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=_h(0,0,"");return o.dynamic=!0,o.strValue=t,o}return e=e||Oa(t,a),_h(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let s,o=a.styles?a.styles:Le({});if(5==o.type)s=this.visitKeyframes(o,e);else{let l=a.styles,n=!1;if(!l){n=!0;const r={};t.easing&&(r.easing=t.easing),l=Le(r)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(l,e);i.isEmptyStep=n,s=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(l=>{"string"==typeof l?l==tn?t.push(l):e.errors.push(`The provided style string value ${l} is not allowed.`):t.push(l)}):t.push(a.styles);let s=!1,o=null;return t.forEach(l=>{if(ed(l)){const n=l,i=n.easing;if(i&&(o=i,delete n.easing),!s)for(let r in n)if(n[r].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:o,offset:a.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let s=e.currentTime,o=e.currentTime;t&&o>0&&(o-=t.duration+t.delay),a.styles.forEach(l=>{"string"!=typeof l&&Object.keys(l).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],r=i[n];let d=!0;r&&(o!=s&&o>=r.startTime&&s<=r.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${s}ms"`),d=!1),o=r.startTime),d&&(i[n]={startTime:o,endTime:s}),e.options&&function Ny(c,a,e){const t=a.params||{},s=ph(c);s.length&&s.forEach(o=>{t.hasOwnProperty(o)||e.push(`Unable to resolve the local animation param ${o} in the given list of values`)})}(l[n],e.options,e.errors)})})}visitKeyframes(a,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 o=0;const l=[];let n=!1,i=!1,r=0;const d=a.steps.map(Oe=>{const lt=this._makeStyleAst(Oe,e);let et=null!=lt.offset?lt.offset:function $y(c){if("string"==typeof c)return null;let a=null;if(Array.isArray(c))c.forEach(e=>{if(ed(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(ed(c)&&c.hasOwnProperty("offset")){const e=c;a=parseFloat(e.offset),delete e.offset}return a}(lt.styles),At=0;return null!=et&&(o++,At=lt.offset=et),i=i||At<0||At>1,n=n||At0&&o{const et=f>0?lt==b?1:f*lt:l[lt],At=et*se;e.currentTime=D+G.delay+At,G.duration=At,this._validateStyleAst(Oe,e),Oe.offset=et,t.styles.push(Oe)}),t}visitReference(a,e){return{type:8,animation:yn(this,Jc(a.animation),e),options:Fa(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:Fa(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:Fa(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,s=a.options||{};e.queryCount++,e.currentQuery=a;const[o,l]=function Fg(c){const a=!!c.split(/\s*,\s*/).find(e=>":self"==e);return a&&(c=c.replace(qy,"")),c=c.replace(/@\*/g,Qc).replace(/@\w+/g,e=>Qc+"-"+e.substr(1)).replace(/:animating/g,hl),[c,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+o:o,rn(e.collectedStyles,e.currentQuerySelector,{});const n=yn(this,Jc(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:o,limit:s.limit||0,optional:!!s.optional,includeSelf:l,animation:n,originalSelector:a.selector,options:Fa(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:Oa(a.timings,e.errors,!0);return{type:12,animation:yn(this,Jc(a.animation),e),timings:t,options:null}}}class Lg{constructor(a){this.errors=a,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 ed(c){return!Array.isArray(c)&&"object"==typeof c}function Fa(c){return c?(c=zs(c)).params&&(c.params=function Us(c){return c?zs(c):null}(c.params)):c={},c}function _h(c,a,e){return{duration:c,delay:a,easing:e}}function bh(c,a,e,t,s,o,l=null,n=!1){return{type:1,element:c,keyframes:a,preStyleProps:e,postStyleProps:t,duration:s,delay:o,totalTime:s+o,easing:l,subTimeline:n}}class td{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const jg=new RegExp(":enter","g"),zg=new RegExp(":leave","g");function id(c,a,e,t,s,o={},l={},n,i,r=[]){return(new Qy).buildKeyframes(c,a,e,t,s,o,l,n,i,r)}class Qy{buildKeyframes(a,e,t,s,o,l,n,i,r,d=[]){r=r||new td;const u=new yh(a,e,r,s,o,d,[]);u.options=i,u.currentTimeline.setStyles([l],null,u.errors,i),yn(this,t,u);const f=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let D=f.length-1;D>=0;D--){const G=f[D];if(G.element===e){b=G;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return f.length?f.map(b=>b.buildKeyframes()):[bh(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(a.options),o=e.currentTimeline.currentTime,l=this._visitSubInstructions(t,s,s.options);o!=l&&e.transformIntoNewTimeline(l)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let o=e.currentTimeline.currentTime;const l=null!=t.duration?Ba(t.duration):null,n=null!=t.delay?Ba(t.delay):null;return 0!==l&&a.forEach(i=>{const r=e.appendInstructionToTimeline(i,l,n);o=Math.max(o,r.duration+r.delay)}),o}visitReference(a,e){e.updateOptions(a.options,!0),yn(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let s=e;const o=a.options;if(o&&(o.params||o.delay)&&(s=e.createSubContext(o),s.transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=nd);const l=Ba(o.delay);s.delayNextStep(l)}a.steps.length&&(a.steps.forEach(l=>yn(this,l,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let s=e.currentTimeline.currentTime;const o=a.options&&a.options.delay?Ba(a.options.delay):0;a.steps.forEach(l=>{const n=e.createSubContext(a.options);o&&n.delayNextStep(o),yn(this,l,n),s=Math.max(s,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(s),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return Oa(e.params?pl(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const o=a.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(t.duration),this.visitStyle(o,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const o=s&&s.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(o):t.setStyles(a.styles,o,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,o=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,a.styles.forEach(i=>{n.forwardTime((i.offset||0)*o),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(s+o),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,s=a.options||{},o=s.delay?Ba(s.delay):0;o&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=nd);let l=t;const n=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((r,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(a.options,r);o&&u.delayNextStep(o),r===e.element&&(i=u.currentTimeline),yn(this,a.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,s=e.currentTimeline,o=a.timings,l=Math.abs(o.duration),n=l*(e.currentQueryTotal-1);let i=l*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;yn(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=s.currentTime-u+(s.startTime-t.currentTimeline.startTime)}}const nd={};class yh{constructor(a,e,t,s,o,l,n,i){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=o,this.errors=l,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new rd(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let s=this.options;null!=t.duration&&(s.duration=Ba(t.duration)),null!=t.delay&&(s.delay=Ba(t.delay));const o=t.params;if(o){let l=s.params;l||(l=this.options.params={}),Object.keys(o).forEach(n=>{(!e||!l.hasOwnProperty(n))&&(l[n]=pl(o[n],l,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return a}createSubContext(a=null,e,t){const s=e||this.element,o=new yh(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(a),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(a){return this.previousNode=nd,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const s={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},o=new Gg(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,s,a.stretchStartingKeyframe);return this.timelines.push(o),s}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,s,o,l){let n=[];if(s&&n.push(this.element),a.length>0){a=(a=a.replace(jg,"."+this._enterClassName)).replace(zg,"."+this._leaveClassName);let r=this._driver.query(this.element,a,1!=t);0!==t&&(r=t<0?r.slice(r.length+t,r.length):r.slice(0,t)),n.push(...r)}return!o&&0==n.length&&l.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class rd{constructor(a,e,t,s){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new rd(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||tn,this._currentKeyframe[e]=tn}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,s){e&&(this._previousKeyframe.easing=e);const o=s&&s.params||{},l=function Ug(c,a){const e={};let t;return c.forEach(s=>{"*"===s?(t=t||Object.keys(a),t.forEach(o=>{e[o]=tn})):tr(s,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(l).forEach(n=>{const i=pl(l[n],o,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:tn),this._updateStyle(n,i)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=a._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((n,i)=>{const r=tr(n,!0);Object.keys(r).forEach(d=>{const u=r[d];"!"==u?a.add(d):u==tn&&e.add(d)}),t||(r.offset=i/this.duration),s.push(r)});const o=a.size?fl(a.values()):[],l=e.size?fl(e.values()):[];if(t){const n=s[0],i=zs(n);n.offset=0,i.offset=1,s=[n,i]}return bh(this.element,s,o,l,this.duration,this.startTime,this.easing,!1)}}class Gg extends rd{constructor(a,e,t,s,o,l,n=!1){super(a,e,l.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=o,this._stretchStartingKeyframe=n,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],l=t+e,n=e/l,i=tr(a[0],!1);i.offset=0,o.push(i);const r=tr(a[0],!1);r.offset=Yy(n),o.push(r);const d=a.length-1;for(let u=1;u<=d;u++){let f=tr(a[u],!1);f.offset=Yy((e+f.offset*t)/l),o.push(f)}t=l,e=0,s="",a=o}return bh(this.element,a,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Yy(c,a=3){const e=Math.pow(10,a-1);return Math.round(c*e)/e}class wh{}class _x extends wh{normalizePropertyName(a,e){return Ln(a)}normalizeStyleValue(a,e,t,s){let o="";const l=t.toString().trim();if(vh[e]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&s.push(`Please provide a CSS unit value for ${a}:${t}`)}return l+o}}const vh=(()=>function Jy(c){const a={};return c.forEach(e=>a[e]=!0),a}("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 Ah(c,a,e,t,s,o,l,n,i,r,d,u,f){return{type:0,element:c,triggerName:a,isRemovalTransition:s,fromState:e,fromStyles:o,toState:t,toStyles:l,timelines:n,queriedElements:i,preStyleProps:r,postStyleProps:d,totalTime:u,errors:f}}const ad={};class Ky{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,s){return function jn(c,a,e,t,s){return c.some(o=>o(a,e,t,s))}(this.ast.matchers,a,e,t,s)}buildStyles(a,e,t){const s=this._stateStyles["*"],o=this._stateStyles[a],l=s?s.buildStyles(e,t):{};return o?o.buildStyles(e,t):l}build(a,e,t,s,o,l,n,i,r,d){const u=[],f=this.ast.options&&this.ast.options.params||ad,D=this.buildStyles(t,n&&n.params||ad,u),G=i&&i.params||ad,se=this.buildStyles(s,G,u),Oe=new Set,lt=new Map,et=new Map,At="void"===s,Wn={params:Object.assign(Object.assign({},f),G)},ur=d?[]:id(a,e,this.ast.animation,o,l,D,se,Wn,r,u);let on=0;if(ur.forEach(is=>{on=Math.max(is.duration+is.delay,on)}),u.length)return Ah(e,this._triggerName,t,s,At,D,se,[],[],lt,et,on,u);ur.forEach(is=>{const ns=is.element,VS=rn(lt,ns,{});is.preStyleProps.forEach(Kl=>VS[Kl]=!0);const af=rn(et,ns,{});is.postStyleProps.forEach(Kl=>af[Kl]=!0),ns!==e&&Oe.add(ns)});const ts=fl(Oe.values());return Ah(e,this._triggerName,t,s,At,D,se,ur,ts,lt,et,on)}}class bx{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},s=zs(this.defaultParams);return Object.keys(a).forEach(o=>{const l=a[o];null!=l&&(s[o]=l)}),this.styles.styles.forEach(o=>{if("string"!=typeof o){const l=o;Object.keys(l).forEach(n=>{let i=l[n];i.length>1&&(i=pl(i,s,e));const r=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,r,i,e),t[r]=i})}}),t}}class qg{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new bx(s.style,s.options&&s.options.params||{},t)}),xh(this.states,"true","1"),xh(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Ky(a,s,this.states))}),this.fallbackTransition=function Wg(c,a,e){return new Ky(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(l,n)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,s){return this.transitionFactories.find(l=>l.match(a,e,t,s))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function xh(c,a,e){c.hasOwnProperty(a)?c.hasOwnProperty(e)||(c[e]=c[a]):c.hasOwnProperty(e)&&(c[a]=c[e])}const Zy=new td;class yx{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],s=bl(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[a]=s}_buildPlayer(a,e,t){const s=a.element,o=By(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(s,o,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const s=[],o=this._animations[a];let l;const n=new Map;if(o?(l=id(this._driver,e,o,kg,ul,{},{},t,Zy,s),l.forEach(d=>{const u=rn(n,d.element,{});d.postStyleProps.forEach(f=>u[f]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),l=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(f=>{d[f]=this._driver.computeStyle(u,f,tn)})});const r=Zr(l.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[a]=r,r.onDestroy(()=>this.destroy(a)),this.players.push(r),r}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,s){const o=Sg(e,"","","");return Eg(this._getPlayer(a),t,o,s),()=>{}}command(a,e,t,s){if("register"==t)return void this.register(a,s[0]);if("create"==t)return void this.create(a,e,s[0]||{});const o=this._getPlayer(a);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(a)}}}const Th="ng-animate-queued",Sh="ng-animate-disabled",tw=[],$g={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed";class Ws{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function rr(c){return null!=c?c:null}(t?a.value:a),t){const o=zs(a);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const nr="void",Hh=new Ws(nr);class Cl{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Gi(e,this._hostClassName)}listen(a,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 Ei(c){return"start"==c||"done"==c}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const o=rn(this._elementListeners,a,[]),l={name:e,phase:t,callback:s};o.push(l);const n=rn(this._engine.statesByElement,a,{});return n.hasOwnProperty(e)||(Gi(a,$c),Gi(a,$c+"-"+e),n[e]=Hh),()=>{this._engine.afterFlush(()=>{const i=o.indexOf(l);i>=0&&o.splice(i,1),this._triggers[e]||delete n[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,s=!0){const o=this._getTrigger(e),l=new Dh(this.id,e,a);let n=this._engine.statesByElement.get(a);n||(Gi(a,$c),Gi(a,$c+"-"+e),this._engine.statesByElement.set(a,n={}));let i=n[e];const r=new Ws(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&r.absorbOptions(i.options),n[e]=r,i||(i=Hh),r.value!==nr&&i.value===r.value){if(!function Ys(c,a){const e=Object.keys(c),t=Object.keys(a);if(e.length!=t.length)return!1;for(let s=0;s{Er(a,se),ir(a,Oe)})}return}const f=rn(this._engine.playersByElement,a,[]);f.forEach(G=>{G.namespaceId==this.id&&G.triggerName==e&&G.queued&&G.destroy()});let b=o.matchTransition(i.value,r.value,a,r.params),D=!1;if(!b){if(!s)return;b=o.fallbackTransition,D=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:i,toState:r,player:l,isFallbackTransition:D}),D||(Gi(a,Th),l.onStart(()=>{Nn(a,Th)})),l.onDone(()=>{let G=this.players.indexOf(l);G>=0&&this.players.splice(G,1);const se=this._engine.playersByElement.get(a);if(se){let Oe=se.indexOf(l);Oe>=0&&se.splice(Oe,1)}}),this.players.push(l),f.push(l),l}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,Qc,!0);t.forEach(s=>{if(s[vn])return;const o=this._engine.fetchNamespacesByElement(s);o.size?o.forEach(l=>l.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(a,e,t,s){const o=this._engine.statesByElement.get(a),l=new Map;if(o){const n=[];if(Object.keys(o).forEach(i=>{if(l.set(i,o[i].value),this._triggers[i]){const r=this.trigger(a,i,nr,s);r&&n.push(r)}}),n.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,l),t&&Zr(n).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const s=new Set;e.forEach(o=>{const l=o.name;if(s.has(l))return;s.add(l);const i=this._triggers[l].fallbackTransition,r=t[l]||Hh,d=new Ws(nr),u=new Dh(this.id,l,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:i,fromState:r,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let s=!1;if(t.totalAnimations){const o=t.players.length?t.playersByQueriedElement.get(a):[];if(o&&o.length)s=!0;else{let l=a;for(;l=l.parentNode;)if(t.statesByElement.get(l)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(a),s)t.markElementAsRemoved(this.id,a,!1,e);else{const o=a[vn];(!o||o===$g)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){Gi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const o=t.element,l=this._elementListeners.get(o);l&&l.forEach(n=>{if(n.name==t.triggerName){const i=Sg(o,t.triggerName,t.fromState.value,t.toState.value);i._data=a,Eg(t.player,n.phase,i,n.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const o=t.transition.ast.depCount,l=s.transition.ast.depCount;return 0==o||0==l?o-l:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class nw{constructor(a,e,t){this.bodyNode=a,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,o)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new Cl(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let o=t;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,a),s=!0;break}s||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let s=this._namespaceLookup[a];s&&s.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const s=Object.keys(t);for(let o=0;o=0&&this.collectedLeaveElements.splice(l,1)}if(a){const l=this._fetchNamespace(a);l&&l.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Gi(a,Sh)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Nn(a,Sh))}removeNode(a,e,t,s){if(ea(e)){const o=a?this._fetchNamespace(a):null;if(o?o.removeNode(e,s):this.markElementAsRemoved(a,e,!1,s),t){const l=this.namespacesByHostElement.get(e);l&&l.id!==a&&l.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(a,e,t,s,o){this.collectedLeaveElements.push(e),e[vn]={namespaceId:a,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(a,e,t,s,o){return ea(e)?this._fetchNamespace(a).listen(e,t,s,o):()=>{}}_buildInstruction(a,e,t,s,o){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,s,a.fromState.options,a.toState.options,e,o)}destroyInnerAnimations(a){let e=this.driver.query(a,Qc,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,hl,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Zr(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[vn];if(t&&t.setForRemoval){if(a[vn]=$g,t.namespaceId){this.destroyInnerAnimations(a);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Sh))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(a=-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?Zr(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new td,s=[],o=new Map,l=[],n=new Map,i=new Map,r=new Map,d=new Set;this.disabledNodes.forEach(qe=>{d.add(qe);const Ke=this.driver.query(qe,".ng-animate-queued",!0);for(let Xe=0;Xe{const Xe=kg+G++;D.set(Ke,Xe),qe.forEach(Mt=>Gi(Mt,Xe))});const se=[],Oe=new Set,lt=new Set;for(let qe=0;qeOe.add(Mt)):lt.add(Ke))}const et=new Map,At=an(f,Array.from(Oe));At.forEach((qe,Ke)=>{const Xe=ul+G++;et.set(Ke,Xe),qe.forEach(Mt=>Gi(Mt,Xe))}),a.push(()=>{b.forEach((qe,Ke)=>{const Xe=D.get(Ke);qe.forEach(Mt=>Nn(Mt,Xe))}),At.forEach((qe,Ke)=>{const Xe=et.get(Ke);qe.forEach(Mt=>Nn(Mt,Xe))}),se.forEach(qe=>{this.processLeaveNode(qe)})});const Wn=[],ur=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(e).forEach(Xe=>{const Mt=Xe.player,Si=Xe.element;if(Wn.push(Mt),this.collectedEnterElements.length){const ln=Si[vn];if(ln&&ln.setForMove){if(ln.previousTriggersValues&&ln.previousTriggersValues.has(Xe.triggerName)){const Zl=ln.previousTriggersValues.get(Xe.triggerName),wo=this.statesByElement.get(Xe.element);wo&&wo[Xe.triggerName]&&(wo[Xe.triggerName].value=Zl)}return void Mt.destroy()}}const ma=!u||!this.driver.containsElement(u,Si),$n=et.get(Si),yo=D.get(Si),Kt=this._buildInstruction(Xe,t,yo,$n,ma);if(Kt.errors&&Kt.errors.length)return void ur.push(Kt);if(ma)return Mt.onStart(()=>Er(Si,Kt.fromStyles)),Mt.onDestroy(()=>ir(Si,Kt.toStyles)),void s.push(Mt);if(Xe.isFallbackTransition)return Mt.onStart(()=>Er(Si,Kt.fromStyles)),Mt.onDestroy(()=>ir(Si,Kt.toStyles)),void s.push(Mt);const FS=[];Kt.timelines.forEach(ln=>{ln.stretchStartingKeyframe=!0,this.disabledNodes.has(ln.element)||FS.push(ln)}),Kt.timelines=FS,t.append(Si,Kt.timelines),l.push({instruction:Kt,player:Mt,element:Si}),Kt.queriedElements.forEach(ln=>rn(n,ln,[]).push(Mt)),Kt.preStyleProps.forEach((ln,Zl)=>{const wo=Object.keys(ln);if(wo.length){let Xl=i.get(Zl);Xl||i.set(Zl,Xl=new Set),wo.forEach(h0=>Xl.add(h0))}}),Kt.postStyleProps.forEach((ln,Zl)=>{const wo=Object.keys(ln);let Xl=r.get(Zl);Xl||r.set(Zl,Xl=new Set),wo.forEach(h0=>Xl.add(h0))})});if(ur.length){const qe=[];ur.forEach(Ke=>{qe.push(`@${Ke.triggerName} has failed due to:\n`),Ke.errors.forEach(Xe=>qe.push(`- ${Xe}\n`))}),Wn.forEach(Ke=>Ke.destroy()),this.reportError(qe)}const on=new Map,ts=new Map;l.forEach(qe=>{const Ke=qe.element;t.has(Ke)&&(ts.set(Ke,Ke),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,on))}),s.forEach(qe=>{const Ke=qe.element;this._getPreviousPlayers(Ke,!1,qe.namespaceId,qe.triggerName,null).forEach(Mt=>{rn(on,Ke,[]).push(Mt),Mt.destroy()})});const is=se.filter(qe=>ja(qe,i,r)),ns=new Map;yl(ns,this.driver,lt,r,tn).forEach(qe=>{ja(qe,i,r)&&is.push(qe)});const af=new Map;b.forEach((qe,Ke)=>{yl(af,this.driver,new Set(qe),i,"!")}),is.forEach(qe=>{const Ke=ns.get(qe),Xe=af.get(qe);ns.set(qe,Object.assign(Object.assign({},Ke),Xe))});const Kl=[],BS=[],OS={};l.forEach(qe=>{const{element:Ke,player:Xe,instruction:Mt}=qe;if(t.has(Ke)){if(d.has(Ke))return Xe.onDestroy(()=>ir(Ke,Mt.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Mt.totalTime),void s.push(Xe);let Si=OS;if(ts.size>1){let $n=Ke;const yo=[];for(;$n=$n.parentNode;){const Kt=ts.get($n);if(Kt){Si=Kt;break}yo.push($n)}yo.forEach(Kt=>ts.set(Kt,Si))}const ma=this._buildAnimation(Xe.namespaceId,Mt,on,o,af,ns);if(Xe.setRealPlayer(ma),Si===OS)Kl.push(Xe);else{const $n=this.playersByElement.get(Si);$n&&$n.length&&(Xe.parentPlayer=Zr($n)),s.push(Xe)}}else Er(Ke,Mt.fromStyles),Xe.onDestroy(()=>ir(Ke,Mt.toStyles)),BS.push(Xe),d.has(Ke)&&s.push(Xe)}),BS.forEach(qe=>{const Ke=o.get(qe.element);if(Ke&&Ke.length){const Xe=Zr(Ke);qe.setRealPlayer(Xe)}}),s.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe!ma.destroyed);Si.length?$s(this,Ke,Si):this.processLeaveNode(Ke)}return se.length=0,Kl.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const Ke=this.players.indexOf(qe);this.players.splice(Ke,1)}),qe.play()}),Kl}elementContainsData(a,e){let t=!1;const s=e[vn];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,s,o){let l=[];if(e){const n=this.playersByQueriedElement.get(a);n&&(l=n)}else{const n=this.playersByElement.get(a);if(n){const i=!o||o==nr;n.forEach(r=>{r.queued||!i&&r.triggerName!=s||l.push(r)})}}return(t||s)&&(l=l.filter(n=>!(t&&t!=n.namespaceId||s&&s!=n.triggerName))),l}_beforeAnimationBuild(a,e,t){const o=e.element,l=e.isRemovalTransition?void 0:a,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const r=i.element,d=r!==o,u=rn(t,r,[]);this._getPreviousPlayers(r,d,l,n,e.toState).forEach(b=>{const D=b.getRealPlayer();D.beforeDestroy&&D.beforeDestroy(),b.destroy(),u.push(b)})}Er(o,e.fromStyles)}_buildAnimation(a,e,t,s,o,l){const n=e.triggerName,i=e.element,r=[],d=new Set,u=new Set,f=e.timelines.map(D=>{const G=D.element;d.add(G);const se=G[vn];if(se&&se.removedBeforeQueried)return new Ns(D.duration,D.delay);const Oe=G!==i,lt=function Qs(c){const a=[];return La(c,a),a}((t.get(G)||tw).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===G),et=o.get(G),At=l.get(G),Wn=By(0,this._normalizer,0,D.keyframes,et,At),ur=this._buildPlayer(D,Wn,lt);if(D.subTimeline&&s&&u.add(G),Oe){const on=new Dh(a,n,G);on.setRealPlayer(ur),r.push(on)}return ur});r.forEach(D=>{rn(this.playersByQueriedElement,D.element,[]).push(D),D.onDone(()=>function Ph(c,a,e){let t;if(c instanceof Map){if(t=c.get(a),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&c.delete(a)}}else if(t=c[a],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete c[a]}return t}(this.playersByQueriedElement,D.element,D))}),d.forEach(D=>Gi(D,Ig));const b=Zr(f);return b.onDestroy(()=>{d.forEach(D=>Nn(D,Ig)),ir(i,e.toStyles)}),u.forEach(D=>{rn(s,D,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Ns(a.duration,a.delay)}}class Dh{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Ns,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Eg(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){rn(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function ea(c){return c&&1===c.nodeType}function ta(c,a){const e=c.style.display;return c.style.display=null!=a?a:"none",e}function yl(c,a,e,t,s){const o=[];e.forEach(i=>o.push(ta(i)));const l=[];t.forEach((i,r)=>{const d={};i.forEach(u=>{const f=d[u]=a.computeStyle(r,u,s);(!f||0==f.length)&&(r[vn]=iw,l.push(r))}),c.set(r,d)});let n=0;return e.forEach(i=>ta(i,o[n++])),l}function an(c,a){const e=new Map;if(c.forEach(n=>e.set(n,[])),0==a.length)return e;const s=new Set(a),o=new Map;function l(n){if(!n)return 1;let i=o.get(n);if(i)return i;const r=n.parentNode;return i=e.has(r)?r:s.has(r)?1:l(r),o.set(n,i),i}return a.forEach(n=>{const i=l(n);1!==i&&e.get(i).push(n)}),e}function Gi(c,a){var e;null===(e=c.classList)||void 0===e||e.add(a)}function Nn(c,a){var e;null===(e=c.classList)||void 0===e||e.remove(a)}function $s(c,a,e){Zr(e).onDone(()=>c.processLeaveNode(a))}function La(c,a){for(let e=0;es.add(o)):a.set(c,t),e.delete(c),!0}class Sr{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new nw(a,e,t),this._timelineEngine=new yx(a,e,t),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(a,e,t,s,o){const l=a+"-"+s;let n=this._triggerCache[l];if(!n){const i=[],r=bl(this._driver,o,i);if(i.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function Cx(c,a,e){return new qg(c,a,e)}(s,r,this._normalizer),this._triggerCache[l]=n}this._transitionEngine.registerTrigger(e,s,n)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,s){this._transitionEngine.insertNode(a,e,t,s)}onRemove(a,e,t,s){this._transitionEngine.removeNode(a,e,s||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,s){if("@"==t.charAt(0)){const[o,l]=qc(t);this._timelineEngine.command(o,e,l,s)}else this._transitionEngine.trigger(a,e,t,s)}listen(a,e,t,s,o){if("@"==t.charAt(0)){const[l,n]=qc(t);return this._timelineEngine.listen(l,e,n,o)}return this._transitionEngine.listen(a,e,t,s,o)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ks=(()=>{class c{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let o=c.initialStylesByElement.get(e);o||c.initialStylesByElement.set(e,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ir(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ir(this._element,this._initialStyles),this._endStyles&&(ir(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(Er(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Er(this._element,this._endStyles),this._endStyles=null),ir(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function sd(c){let a=null;const e=Object.keys(c);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:Xc(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Yg{validateStyleProperty(a){return oh(a)}matchesElement(a,e){return!1}containsElement(a,e){return Dg(a,e)}query(a,e,t){return lh(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,s,o,l=[]){const i={duration:t,delay:s,fill:0==s?"both":"forwards"};o&&(i.easing=o);const r={},d=l.filter(f=>f instanceof Rh);(function zy(c,a){return 0===c||0===a})(t,s)&&d.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(D=>r[D]=b[D])}),e=function Gy(c,a,e){const t=Object.keys(e);if(t.length&&a.length){let o=a[0],l=[];if(t.forEach(n=>{o.hasOwnProperty(n)||l.push(n),o[n]=e[n]}),l.length)for(var s=1;str(f,!1)),r);const u=function Js(c,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=sd(a[0]),a.length>1&&(t=sd(a[a.length-1]))):a&&(e=sd(a)),e||t?new Ks(c,e,t):null}(a,e);return new Rh(a,e,i,u)}}let Jg=(()=>{class c extends Gc{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:p.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?rh(e):e;return kh(this._renderer,null,t,"register",[s]),new Kg(t,this._renderer)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.FYo),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class Kg extends class js{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new Zg(this._id,a,e||{},this._renderer)}}class Zg{constructor(a,e,t,s){this.id=a,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return kh(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function kh(c,a,e,t,s){return c.setProperty(a,`@@${e}:${t}`,s)}const Xg="@.disabled";let em=(()=>{class c{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=(o,l)=>{const n=null==l?void 0:l.parentNode(o);n&&l.removeChild(n,o)}}createRenderer(e,t){const o=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(o);return d||(d=new tm("",o,this.engine),this._rendererCache.set(o,d)),d}const l=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(l,n,e,d.name,d)};return t.data.animation.forEach(i),new im(this,n,o,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(o=>{const[l,n]=o;l(n)}),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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.FYo),p.LFG(Sr),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class tm{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,s=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,s)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,s){this.delegate.setAttribute(a,e,t,s)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,s){this.delegate.setStyle(a,e,t,s)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==Xg?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class im extends tm{constructor(a,e,t,s){super(e,t,s),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Xg?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const s=function nm(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(a);let o=e.substr(1),l="";return"@"!=o.charAt(0)&&([o,l]=function rw(c){const a=c.indexOf(".");return[c.substring(0,a),c.substr(a+1)]}(o)),this.engine.listen(this.namespaceId,s,o,l,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(a,e,t)}}let aw=(()=>{class c extends Sr{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Cn),p.LFG(wh))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const ki=new p.OlP("AnimationModuleType"),am=[{provide:Gc,useClass:Jg},{provide:wh,useFactory:function rm(){return new _x}},{provide:Sr,useClass:aw},{provide:p.FYo,useFactory:function sw(c,a,e){return new em(c,a,e)},deps:[ge,Sr,p.R0b]}],sm=[{provide:Cn,useFactory:()=>new Yg},{provide:ki,useValue:"BrowserAnimations"},...am],wx=[{provide:Cn,useClass:Pg},{provide:ki,useValue:"NoopAnimations"},...am];let ow=(()=>{class c{static withConfig(e){return{ngModule:c,providers:e.disableAnimations?wx:sm}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:sm,imports:[Br]}),c})();const Zs=new p.OlP("mat-sanity-checks",{providedIn:"root",factory:function lw(){return!0}});let Qe=(()=>{class c{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Is()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ls),p.LFG(Zs,8),p.LFG(E.K0))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra],Ra]}),c})();function ia(c){return class extends c{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=nt(a)}}}function na(c,a){return class extends c{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 Mr(c){return class extends c{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=nt(a)}}}function um(c){return class extends c{constructor(...a){super(...a),this.stateChanges=new Ve.x,this.errorState=!1}updateErrorState(){const a=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==a&&(this.errorState=o,this.stateChanges.next())}}}const uw=new p.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function hw(){return(0,p.f3M)(p.soG)}});class An{constructor(){this._localeChanges=new Ve.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),s=this.isValid(e);return t&&s?!this.compareDate(a,e):t==s}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const od=new p.OlP("mat-date-formats"),hm=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ld(c,a){const e=Array(c);for(let t=0;t{class c extends An{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 ld(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ld(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 ld(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 o=this._createDateWithOverflow(e,t,s);return o.getMonth(),o}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(hm.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 o=new Date;return o.setFullYear(e,t,s),o.setHours(0,0,0,0),o}_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 c.\u0275fac=function(e){return new(e||c)(p.LFG(uw,8),p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Ex={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 Ih=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:An,useClass:cd}]}),c})(),pm=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:od,useValue:Ex}],imports:[[Ih]]}),c})(),Hr=(()=>{class c{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),dd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();class Bh{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ud={enterDuration:225,exitDuration:150},mm=gn({passive:!0}),_m=["mousedown","touchstart"],hd=["mouseup","mouseleave","touchend","touchcancel"];class pd{constructor(a,e,t,s){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Jt(t))}fadeInRipple(a,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},ud),t.animation);t.centered&&(a=s.left+s.width/2,e=s.top+s.height/2);const l=t.radius||function Cm(c,a,e){const t=Math.max(Math.abs(c-e.left),Math.abs(c-e.right)),s=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+s*s)}(a,e,s),n=a-s.left,i=e-s.top,r=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-l+"px",d.style.top=i-l+"px",d.style.height=2*l+"px",d.style.width=2*l+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${r}ms`,this._containerElement.appendChild(d),function bm(c){window.getComputedStyle(c).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new Bh(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const f=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!f||!this._isPointerDown)&&u.fadeOut()},r),u}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,s=Object.assign(Object.assign({},ud),a.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=Jt(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(_m))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(hd),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=Xu(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,mm)})})}_removeTriggerEvents(){this._triggerElement&&(_m.forEach(a=>{this._triggerElement.removeEventListener(a,this,mm)}),this._pointerUpEventsRegistered&&hd.forEach(a=>{this._triggerElement.removeEventListener(a,this,mm)}))}}const fd=new p.OlP("mat-ripple-global-options");let Dr=(()=>{class c{constructor(e,t,s,o,l){this._elementRef=e,this._animationMode=l,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new pd(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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(Qt),p.Y36(fd,8),p.Y36(ki,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&p.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"]}),c})(),sn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),Al=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe]]}),c})(),gd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,E.ez,Qe,Al]]}),c})();const Am=["mat-button",""],xm=["*"],Em=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Hx=na(ia(Mr(class{constructor(c){this._elementRef=c}})));let md=(()=>{class c extends Hx{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 o of Em)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Fn),p.Y36(ki,8))},c.\u0275cmp=p.Xpm({type:c,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&&p.Gf(Dr,5),2&e){let s;p.iGM(s=p.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(p.uIk("disabled",t.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:Am,ngContentSelectors:xm,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&&(p.F$t(),p.TgZ(0,"span",0),p.Hsn(1),p.qZA(),p._UZ(2,"span",1),p._UZ(3,"span",2)),2&e&&(p.xp6(2),p.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),p.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Dr],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;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;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;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;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}),c})(),ar=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe],Qe]}),c})();var ww=x(1144),Vt=x(576),Fh=x(3268);const vw=["addListener","removeListener"],Aw=["addEventListener","removeEventListener"],Sm=["on","off"];function _d(c,a,e,t){if((0,Vt.m)(e)&&(t=e,e=void 0),t)return _d(c,a,e).pipe((0,Fh.Z)(t));const[s,o]=function xw(c){return(0,Vt.m)(c.addEventListener)&&(0,Vt.m)(c.removeEventListener)}(c)?Aw.map(l=>n=>c[l](a,n,e)):function Mm(c){return(0,Vt.m)(c.addListener)&&(0,Vt.m)(c.removeListener)}(c)?vw.map(Lh(c,a)):function Xs(c){return(0,Vt.m)(c.on)&&(0,Vt.m)(c.off)}(c)?Sm.map(Lh(c,a)):[];if(!s&&(0,ww.z)(c))return(0,ft.z)(l=>_d(l,a,e))((0,va.Xf)(c));if(!s)throw new TypeError("Invalid event target");return new mi.y(l=>{const n=(...i)=>l.next(1o(n)})}function Lh(c,a){return e=>t=>c[e](a,t)}var Hm=x(4408);const eo={schedule(c){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=eo;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const s=a(o=>{e=void 0,c(o)});return new qt.w0(()=>null==e?void 0:e(s))},requestAnimationFrame(...c){const{delegate:a}=eo;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...c)},cancelAnimationFrame(...c){const{delegate:a}=eo;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...c)},delegate:void 0};var jh=x(7565);const bd=new class Px extends jh.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let s;a=a||t.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,s){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw s}}}(class Tw extends Hm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=eo.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(s=>s.id===e)||(eo.cancelAnimationFrame(e),a._scheduled=void 0)}});let Nh,sr=1;const Cd={};function zn(c){return c in Cd&&(delete Cd[c],!0)}const Gn={setImmediate(c){const a=sr++;return Cd[a]=!0,Nh||(Nh=Promise.resolve()),Nh.then(()=>zn(a)&&c()),a},clearImmediate(c){zn(c)}},{setImmediate:Pm,clearImmediate:Rm}=Gn,yd={setImmediate(...c){const{delegate:a}=yd;return((null==a?void 0:a.setImmediate)||Pm)(...c)},clearImmediate(c){const{delegate:a}=yd;return((null==a?void 0:a.clearImmediate)||Rm)(c)},delegate:void 0},zh=new class Sw extends jh.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let s;a=a||t.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,s){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw s}}}(class Ew extends Hm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=yd.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(s=>s.id===e)||(yd.clearImmediate(e),a._scheduled=void 0)}});var to=x(4986),wd=x(2805);function Im(c,a=to.z){return function Mw(c){return(0,Di.e)((a,e)=>{let t=!1,s=null,o=null,l=!1;const n=()=>{if(null==o||o.unsubscribe(),o=null,t){t=!1;const r=s;s=null,e.next(r)}l&&e.complete()},i=()=>{o=null,l&&e.complete()};a.subscribe((0,Li.x)(e,r=>{t=!0,s=r,o||(0,va.Xf)(c(r)).subscribe(o=(0,Li.x)(e,n,i))},()=>{l=!0,(!t||!o||o.closed)&&e.complete()}))})}(()=>(0,wd.H)(c,a))}let xl=(()=>{class c{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new Ve.x,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 mi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(Im(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ge.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,oi.h)(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=Jt(t),o=e.getElementRef().nativeElement;do{if(s==o)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>_d(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(Qt),p.LFG(E.K0,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),io=(()=>{class c{constructor(e,t,s){this._platform=e,this._change=new Ve.x,this._changeListener=o=>{this._change.next(o)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.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,o=s.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-o.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Im(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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b),p.LFG(E.K0,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Pr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),no=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra,Pr],Ra,Pr]}),c})();class qh{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class vd extends qh{constructor(a,e,t,s){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Wh extends qh{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class Fw extends qh{constructor(a){super(),this.element=a instanceof p.SBq?a.nativeElement:a}}class $h{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof vd?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Wh?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof Fw?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Lw extends $h{constructor(a,e,t,s,o){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=l=>{const n=l.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=l,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=o}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let s;return a.viewContainerRef?(s=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(a.injector||this._defaultInjector||p.zs3.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=a,s}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Qh=(()=>{class c extends $h{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new p.vpe,this.attachDomPortal=o=>{const l=o.element,n=this._document.createComment("dom-portal");o.setAttachedHost(this),l.parentNode.insertBefore(n,l),this._getRootNode().appendChild(l),this._attachedPortal=o,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(l,n)})},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,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),l=t.createComponent(o,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(l.hostView.rootNodes[0]),super.setDisposeFn(()=>l.destroy()),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l}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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p._Vd),p.Y36(p.s_b),p.Y36(E.K0))},c.\u0275dir=p.lG2({type:c,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[p.qOj]}),c})(),za=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();var Un=x(6451);const Yh=w0();class Om{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=ni(-this._previousScrollPosition.left),a.style.top=ni(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,s=this._document.body.style,o=t.scrollBehavior||"",l=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),Yh&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Yh&&(t.scrollBehavior=o,s.scrollBehavior=l)}}_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 Fm{constructor(a,e,t,s){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ad{enable(){}disable(){}attach(){}}function Tl(c,a){return a.some(e=>c.bottome.bottom||c.righte.right)}function ra(c,a){return a.some(e=>c.tope.bottom||c.lefte.right)}class Gw{constructor(a,e,t,s){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();Tl(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 Uw=(()=>{class c{constructor(e,t,s,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new Ad,this.close=l=>new Fm(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new Om(this._viewportRuler,this._document),this.reposition=l=>new Gw(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=o}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(xl),p.LFG(io),p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class aa{constructor(a){if(this.scrollStrategy=new Ad,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class Gx{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class Ux{constructor(a,e,t,s,o,l,n,i,r){this._portalOutlet=a,this._host=e,this._pane=t,this._config=s,this._ngZone=o,this._keyboardDispatcher=l,this._document=n,this._location=i,this._outsideClickDispatcher=r,this._backdropElement=null,this._backdropClick=new Ve.x,this._attachments=new Ve.x,this._detachments=new Ve.x,this._locationChanges=qt.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Ve.x,this._outsidePointerEvents=new Ve.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return 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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=ni(this._config.width),a.height=ni(this._config.height),a.minWidth=ni(this._config.minWidth),a.minHeight=ni(this._config.minHeight),a.maxWidth=ni(this._config.maxWidth),a.maxHeight=ni(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const s=Ic(e||[]).filter(o=>!!o);s.length&&(t?a.classList.add(...s):a.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(vt((0,Un.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Ye=(()=>{class c{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||Is()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,o=[];let l;for(let n of this._preferredPositions){let i=this._getOriginPoint(a,s,n),r=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(r,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,r,t)?o.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!l||l.overlayFit.visibleAreai&&(i=d,n=r)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(jm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let s,o;if("center"==t.originX)s=a.left+a.width/2;else{const l=this._isRtl()?a.right:a.left,n=this._isRtl()?a.left:a.right;s="start"==t.originX?l:n}return e.left<0&&(s-=e.left),o="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(o-=e.top),{x:s,y:o}}_getOverlayPoint(a,e,t){let s,o;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+s,y:a.y+o}}_getOverlayFit(a,e,t,s){const o=El(e);let{x:l,y:n}=a,i=this._getOffset(s,"x"),r=this._getOffset(s,"y");i&&(l+=i),r&&(n+=r);let f=0-n,b=n+o.height-t.height,D=this._subtractOverflows(o.width,0-l,l+o.width-t.width),G=this._subtractOverflows(o.height,f,b),se=D*G;return{visibleArea:se,isCompletelyWithinViewport:o.width*o.height===se,fitsInViewportVertically:G===o.height,fitsInViewportHorizontally:D==o.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,o=t.right-e.x,l=Nm(this._overlayRef.getConfig().minHeight),n=Nm(this._overlayRef.getConfig().minWidth),r=a.fitsInViewportHorizontally||null!=n&&n<=o;return(a.fitsInViewportVertically||null!=l&&l<=s)&&r}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const s=El(e),o=this._viewportRect,l=Math.max(a.x+s.width-o.width,0),n=Math.max(a.y+s.height-o.height,0),i=Math.max(o.top-t.top-a.y,0),r=Math.max(o.left-t.left-a.x,0);let d=0,u=0;return d=s.width<=o.width?r||-l:a.xD&&!this._isInitialRender&&!this._growAfterOpen&&(l=a.y-D/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)f=t.width-a.x+this._viewportMargin,d=a.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)u=a.x,d=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),D=this._lastBoundingBoxSize.width;d=2*b,u=a.x-b,d>D&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-D/2)}return{top:l,left:u,bottom:n,right:f,width:d,height:o}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 o=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;s.height=ni(t.height),s.top=ni(t.top),s.bottom=ni(t.bottom),s.width=ni(t.width),s.left=ni(t.left),s.right=ni(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",o&&(s.maxHeight=ni(o)),l&&(s.maxWidth=ni(l))}this._lastBoundingBoxSize=t,lr(this._boundingBox.style,s)}_resetBoundingBoxStyles(){lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(s){const d=this._viewportRuler.getViewportScrollPosition();lr(t,this._getExactOverlayY(e,a,d)),lr(t,this._getExactOverlayX(e,a,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),r&&(n+=`translateY(${r}px)`),t.transform=n.trim(),l.maxHeight&&(s?t.maxHeight=ni(l.maxHeight):o&&(t.maxHeight="")),l.maxWidth&&(s?t.maxWidth=ni(l.maxWidth):o&&(t.maxWidth="")),lr(this._pane.style,t)}_getExactOverlayY(a,e,t){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),"bottom"===a.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=ni(o.y),s}_getExactOverlayX(a,e,t){let l,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),l=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===l?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=ni(o.x),s}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ra(a,t),isOriginOutsideView:Tl(a,t),isOverlayClipped:ra(e,t),isOverlayOutsideView:Tl(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,s)=>t-Math.max(s,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&Ic(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof p.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function lr(c,a){for(let e in a)a.hasOwnProperty(e)&&(c[e]=a[e]);return c}function Nm(c){if("number"!=typeof c&&null!=c){const[a,e]=c.split($w);return e&&"px"!==e?null:parseFloat(a)}return c||null}function El(c){return{top:Math.floor(c.top),right:Math.floor(c.right),bottom:Math.floor(c.bottom),left:Math.floor(c.left),width:Math.floor(c.width),height:Math.floor(c.height)}}const Sl="cdk-global-overlay-wrapper";class Yt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Sl),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:l,maxHeight:n}=t,i=!("100%"!==s&&"100vw"!==s||l&&"100%"!==l&&"100vw"!==l),r=!("100%"!==o&&"100vh"!==o||n&&"100%"!==n&&"100vh"!==n);a.position=this._cssPosition,a.marginLeft=i?"0":this._leftOffset,a.marginTop=r?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,i?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=r?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Sl),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let qx=(()=>{class c{constructor(e,t,s,o){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=o}global(){return new Yt}flexibleConnectedTo(e){return new Qw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(io),p.LFG(E.K0),p.LFG(Qt),p.LFG(Ye))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jh=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Yw=(()=>{class c extends Jh{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=s=>{const o=this._attachedOverlays;for(let l=o.length-1;l>-1;l--)if(o[l]._keydownEvents.observers.length>0){const n=o[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(s)):n.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(p.R0b,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jw=(()=>{class c extends Jh{constructor(e,t,s){super(e),this._platform=t,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mn(o)},this._clickListener=o=>{const l=mn(o),n="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){const d=i[r];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(l)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Qt),p.LFG(p.R0b,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zm=0,qn=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=l,this._injector=n,this._ngZone=i,this._document=r,this._directionality=d,this._location=u,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),o=this._createPortalOutlet(s),l=new aa(e);return l.direction=l.direction||this._directionality.value,new Ux(o,t,s,l,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-"+zm++,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(p.z2F)),new Lw(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Uw),p.LFG(Ye),p.LFG(p._Vd),p.LFG(qx),p.LFG(Yw),p.LFG(p.zs3),p.LFG(p.R0b),p.LFG(E.K0),p.LFG(Ar),p.LFG(E.Ye),p.LFG(Jw))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Ml={provide:new p.OlP("cdk-connected-overlay-scroll-strategy"),deps:[qn],useFactory:function Zw(c){return()=>c.scrollStrategies.reposition()}};let Hl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[qn,Ml],imports:[[Ra,za,no],no]}),c})();const Xw=["connectionContainer"],xd=["inputContainer"],Um=["label"];function qm(c,a){1&c&&(p.ynx(0),p.TgZ(1,"div",14),p._UZ(2,"div",15),p._UZ(3,"div",16),p._UZ(4,"div",17),p.qZA(),p.TgZ(5,"div",18),p._UZ(6,"div",15),p._UZ(7,"div",16),p._UZ(8,"div",17),p.qZA(),p.BQk())}function Wm(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div",19),p.NdJ("cdkObserveContent",function(){return p.CHM(e),p.oxw().updateOutlineGap()}),p.Hsn(1,1),p.qZA()}if(2&c){const e=p.oxw();p.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function ev(c,a){if(1&c&&(p.ynx(0),p.Hsn(1,2),p.TgZ(2,"span"),p._uU(3),p.qZA(),p.BQk()),2&c){const e=p.oxw(2);p.xp6(3),p.Oqu(e._control.placeholder)}}function Dl(c,a){1&c&&p.Hsn(0,3,["*ngSwitchCase","true"])}function Pl(c,a){1&c&&(p.TgZ(0,"span",23),p._uU(1," *"),p.qZA())}function tv(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"label",20,21),p.NdJ("cdkObserveContent",function(){return p.CHM(e),p.oxw().updateOutlineGap()}),p.YNc(2,ev,4,1,"ng-container",12),p.YNc(3,Dl,1,0,"ng-content",12),p.YNc(4,Pl,2,0,"span",22),p.qZA()}if(2&c){const e=p.oxw();p.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),p.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),p.uIk("for",e._control.id)("aria-owns",e._control.id),p.xp6(2),p.Q6J("ngSwitchCase",!1),p.xp6(1),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function iv(c,a){1&c&&(p.TgZ(0,"div",24),p.Hsn(1,4),p.qZA())}function nv(c,a){if(1&c&&(p.TgZ(0,"div",25),p._UZ(1,"span",26),p.qZA()),2&c){const e=p.oxw();p.xp6(1),p.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function $m(c,a){if(1&c&&(p.TgZ(0,"div"),p.Hsn(1,5),p.qZA()),2&c){const e=p.oxw();p.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Qm(c,a){if(1&c&&(p.TgZ(0,"div",30),p._uU(1),p.qZA()),2&c){const e=p.oxw(2);p.Q6J("id",e._hintLabelId),p.xp6(1),p.Oqu(e.hintLabel)}}function Ym(c,a){if(1&c&&(p.TgZ(0,"div",27),p.YNc(1,Qm,2,2,"div",28),p.Hsn(2,6),p._UZ(3,"div",29),p.Hsn(4,7),p.qZA()),2&c){const e=p.oxw();p.Q6J("@transitionMessages",e._subscriptAnimationState),p.xp6(1),p.Q6J("ngIf",e.hintLabel)}}const rv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Jm=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let av=0;const Km=new p.OlP("MatError");let sv=(()=>{class c{constructor(e,t){this.id="mat-error-"+av++,e||t.nativeElement.setAttribute("aria-live","polite")}}return c.\u0275fac=function(e){return new(e||c)(p.$8M("aria-live"),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&p.uIk("id",t.id)},inputs:{id:"id"},features:[p._Bn([{provide:Km,useExisting:c}])]}),c})();const Yx={transitionMessages:Lt("transitionMessages",[ot("enter",Le({opacity:1,transform:"translateY(0%)"})),bt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),Tt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Kh=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c}),c})(),lv=0;const Zm=new p.OlP("MatHint");let Xm=(()=>{class c{constructor(){this.align="start",this.id="mat-hint-"+lv++}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(p.uIk("id",t.id)("align",null),p.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[p._Bn([{provide:Zm,useExisting:c}])]}),c})(),sa=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-label"]]}),c})(),cv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-placeholder"]]}),c})();const dv=new p.OlP("MatPrefix"),e_=new p.OlP("MatSuffix");let uv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","matSuffix",""]],features:[p._Bn([{provide:e_,useExisting:c}])]}),c})(),Xh=0;const ro=na(class{constructor(c){this._elementRef=c}},"primary"),pv=new p.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Td=new p.OlP("MatFormField");let i_=(()=>{class c extends ro{constructor(e,t,s,o,l,n,i){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=o,this._platform=l,this._ngZone=n,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ve.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Xh++,this._labelId="mat-form-field-label-"+Xh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==i,this.appearance=o&&o.appearance?o.appearance:"legacy",this._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.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=nt(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(ji(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(vt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(vt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Un.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ji(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ji(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(vt(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,_d(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(o=>"start"===o.align):null,s=this._hintChildren?this._hintChildren.find(o=>"end"===o.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",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const d=t.querySelectorAll(`${s}, ${o}`);for(let u=0;u0?.75*D+10:0}for(let d=0;d{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,$r],Qe]}),c})();const wv={provide:new p.OlP("mat-select-scroll-strategy"),deps:[qn],useFactory:function a_(c){return()=>c.scrollStrategies.reposition()}};let ao=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[wv],imports:[[E.ez,Hl,gd,Qe],Pr,oa,gd,Qe]}),c})();const Ed=new Set;let so,xv=(()=>{class c{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Tv}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function tp(c){if(!Ed.has(c))try{so||(so=document.createElement("style"),so.setAttribute("type","text/css"),document.head.appendChild(so)),so.sheet&&(so.sheet.insertRule(`@media ${c} {body{ }}`,0),Ed.add(c))}catch(a){console.error(a)}}(e),this._matchMedia(e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Tv(c){return{matches:"all"===c||""===c,media:c,addListener:()=>{},removeListener:()=>{}}}let o_=(()=>{class c{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ve.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return l_(Ic(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=l_(Ic(e)).map(l=>this._registerQuery(l).observable);let o=(0,nu.a)(s);return o=(0,wa.z)(o.pipe((0,Ut.q)(1)),o.pipe(_n(1),(0,Yu.b)(0))),o.pipe((0,pt.U)(l=>{const n={matches:!1,breakpoints:{}};return l.forEach(({matches:i,query:r})=>{n.matches=n.matches||i,n.breakpoints[r]=i}),n}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),o={observable:new mi.y(l=>{const n=i=>this._zone.run(()=>l.next(i));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(ji(t),(0,pt.U)(({matches:l})=>({query:e,matches:l})),vt(this._destroySubject)),mql:t};return this._queries.set(e,o),o}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(xv),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function l_(c){return c.map(a=>a.split(",")).reduce((a,e)=>a.concat(e)).map(a=>a.trim())}const Ev=["tooltip"],u_="tooltip-panel",oo=gn({passive:!0}),lo=new p.OlP("mat-tooltip-scroll-strategy"),pT={provide:lo,deps:[qn],useFactory:function Mv(c){return()=>c.scrollStrategies.reposition({scrollThrottle:20})}},h_=new p.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Hv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Dv=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=o,this._ngZone=l,this._platform=n,this._ariaDescriber=i,this._focusMonitor=r,this._dir=u,this._defaultOptions=f,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 Ve.x,this._scrollStrategy=d,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),u.change.pipe(vt(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=nt(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),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(vt(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,oo)}),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 vd(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=t.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(vt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return s.positionChanges.pipe(vt(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:s,panelClass:`${this._cssClassPrefix}-${u_}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(vt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(vt(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(vt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Wr(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),o.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),o.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:o,y:l}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:o,originY:l}}}_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:o,y:l}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:o,overlayY:l}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),vt(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:o}=e;let l;if(l="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===o?"above":"below",l!==this._currentPosition){const n=this._overlayRef;if(n){const i=`${this._cssClassPrefix}-${u_}-`;n.removePanelClass(i+this._currentPosition),n.addPanelClass(i+l)}this._currentPosition=l}}_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",t=>{var s;const o=t.relatedTarget;(!o||!(null===(s=this._overlayRef)||void 0===s?void 0:s.overlayElement.contains(o)))&&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,oo)})}_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 c.\u0275fac=function(e){p.$Z()},c.\u0275dir=p.lG2({type:c,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),c})(),Pv=(()=>{class c extends Dv{constructor(e,t,s,o,l,n,i,r,d,u,f,b){super(e,t,s,o,l,n,i,r,d,u,f,b),this._tooltipComponent=p_}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(qn),p.Y36(p.SBq),p.Y36(xl),p.Y36(p.s_b),p.Y36(p.R0b),p.Y36(Qt),p.Y36(ox),p.Y36(Fn),p.Y36(lo),p.Y36(Ar,8),p.Y36(h_,8),p.Y36(E.K0))},c.\u0275dir=p.lG2({type:c,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[p.qOj]}),c})(),Rv=(()=>{class c{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ve.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,s=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:s),t.classList.add(e?s:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const l=getComputedStyle(t);("0s"===l.getPropertyValue("animation-duration")||"none"===l.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.sBO),p.Y36(ki,8))},c.\u0275dir=p.lG2({type:c}),c})(),p_=(()=>{class c extends Rv{constructor(e,t,s){super(e,s),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.sBO),p.Y36(o_),p.Y36(ki,8))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&p.Gf(Ev,7),2&e){let s;p.iGM(s=p.CRH())&&(t._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&p.NdJ("mouseleave",function(o){return t._handleMouseLeave(o)}),2&e&&p.Udp("zoom",t.isVisible()?1:null)},features:[p.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(p.TgZ(0,"div",0,1),p.NdJ("animationend",function(o){return t._handleAnimationEnd(o)}),p.ALo(2,"async"),p._uU(3),p.qZA()),2&e){let s;p.ekj("mat-tooltip-handset",null==(s=p.lcZ(2,4,t._isHandset))?null:s.matches),p.Q6J("ngClass",t.tooltipClass),p.xp6(3),p.Oqu(t.message)}},directives:[E.mk],pipes:[E.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),c})(),co=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[pT],imports:[[Jr,E.ez,Hl,Qe],Qe,Pr]}),c})(),ip=(()=>{class c{constructor(){this.changes=new Ve.x,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 o=e*t;return`${o+1} \u2013 ${o<(s=Math.max(s,0))?Math.min(o+t,s):o+t} of ${s}`}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const np={provide:ip,deps:[[new p.FiY,new p.tp0,ip]],useFactory:function Bv(c){return c||new ip}};let Rr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[np],imports:[[E.ez,ar,ao,co,Qe]]}),c})();var Fv=x(4825);const g_=["mat-menu-item",""];function Lv(c,a){1&c&&(p.O4$(),p.TgZ(0,"svg",2),p._UZ(1,"polygon",3),p.qZA())}const jv=["*"];function m_(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div",0),p.NdJ("keydown",function(s){return p.CHM(e),p.oxw()._handleKeydown(s)})("click",function(){return p.CHM(e),p.oxw().closed.emit("click")})("@transformMenu.start",function(s){return p.CHM(e),p.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return p.CHM(e),p.oxw()._onAnimationDone(s)}),p.TgZ(1,"div",1),p.Hsn(2),p.qZA(),p.qZA()}if(2&c){const e=p.oxw();p.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),p.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const rp={transformMenu:Lt("transformMenu",[ot("void",Le({opacity:0,transform:"scale(0.8)"})),bt("void => enter",Tt("120ms cubic-bezier(0, 0, 0.2, 1)",Le({opacity:1,transform:"scale(1)"}))),bt("* => void",Tt("100ms 25ms linear",Le({opacity:0})))]),fadeInItems:Lt("fadeInItems",[ot("showing",Le({opacity:1})),bt("void => *",[Le({opacity:0}),Tt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},zv=new p.OlP("MatMenuContent"),ap=new p.OlP("MAT_MENU_PANEL"),Uv=Mr(ia(class{}));let Md=(()=>{class c extends Uv{constructor(e,t,s,o,l){var n;super(),this._elementRef=e,this._document=t,this._focusMonitor=s,this._parentMenu=o,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new Ve.x,this._focused=new Ve.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(n=null==o?void 0:o.addItem)||void 0===n||n.call(o,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 o=0;o{class c{constructor(e,t,s,o){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new p.n_E,this._tabSubscription=qt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ve.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new p.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+C_++}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=nt(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=nt(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 ll(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),(0,vi.w)(e=>(0,Un.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const s=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=s.activeItem)||void 0===t?void 0:t._hasFocus())){const o=e.toArray(),l=Math.max(0,Math.min(o.length-1,s.activeItemIndex||0));o[l]&&!o[l].disabled?s.setActiveItem(l):s.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),(0,vi.w)(t=>(0,Un.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:Wr(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._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(e).setFirstItemActive(),!s.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){var s;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,null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}_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(ji(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(uo),p.Y36(p.sBO))},c.\u0275dir=p.lG2({type:c,contentQueries:function(e,t,s){if(1&e&&(p.Suo(s,zv,5),p.Suo(s,Md,5),p.Suo(s,Md,4)),2&e){let o;p.iGM(o=p.CRH())&&(t.lazyContent=o.first),p.iGM(o=p.CRH())&&(t._allItems=o),p.iGM(o=p.CRH())&&(t.items=o)}},viewQuery:function(e,t){if(1&e&&p.Gf(p.Rgc,5),2&e){let s;p.iGM(s=p.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"}}),c})(),y_=(()=>{class c extends ho{constructor(e,t,s,o){super(e,t,s,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(uo),p.Y36(p.sBO))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&p.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[p._Bn([{provide:ap,useExisting:c}]),p.qOj],ngContentSelectors:jv,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&&(p.F$t(),p.YNc(0,m_,3,6,"ng-template"))},directives:[E.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[rp.transformMenu,rp.fadeInItems]},changeDetection:0}),c})();const sp=new p.OlP("mat-menu-scroll-strategy"),qv={provide:sp,deps:[qn],useFactory:function w_(c){return()=>c.scrollStrategies.reposition()}},lp=gn({passive:!0});let v_=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=n,this._dir=i,this._focusMonitor=r,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qt.w0.EMPTY,this._hoverSubscription=qt.w0.EMPTY,this._menuCloseSubscription=qt.w0.EMPTY,this._handleTouchStart=u=>{eh(u)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new p.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new p.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=l instanceof ho?l:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,lp),n&&(n._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,lp),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 ho&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(vt(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 ho?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,oi.h)(s=>"void"===s.toState),(0,Ut.q)(1),vt(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 aa({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=>{const s="start"===t.connectionPair.overlayX?"after":"before",o="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(s,o)):this.menu.setPositionClasses(s,o)})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[o,l]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[n,i]=[o,l],[r,d]=[t,s],u=0;this.triggersSubmenu()?(d=t="before"===this.menu.xPosition?"start":"end",s=r="end"===t?"start":"end",u="bottom"===o?8:-8):this.menu.overlapTrigger||(n="top"===o?"bottom":"top",i="top"===l?"bottom":"top"),e.withPositions([{originX:t,originY:n,overlayX:r,overlayY:o,offsetY:u},{originX:s,originY:n,overlayX:d,overlayY:o,offsetY:u},{originX:t,originY:i,overlayX:r,overlayY:l,offsetY:-u},{originX:s,originY:i,overlayX:d,overlayY:l,offsetY:-u}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ge.of)(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,oi.h)(l=>l!==this._menuItemInstance),(0,oi.h)(()=>this._menuOpen)):(0,Ge.of)();return(0,Un.T)(e,s,o,t)}_handleMousedown(e){Xu(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,oi.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Fv.g)(0,zh)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ho&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,Fv.g)(0,zh),vt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Wh(this.menu.templateRef,this._viewContainerRef)),this._portal}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(qn),p.Y36(p.SBq),p.Y36(p.s_b),p.Y36(sp),p.Y36(ap,8),p.Y36(Md,10),p.Y36(Ar,8),p.Y36(Fn),p.Y36(p.R0b))},c.\u0275dir=p.lG2({type:c,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&p.NdJ("click",function(o){return t._handleClick(o)})("mousedown",function(o){return t._handleMousedown(o)})("keydown",function(o){return t._handleKeydown(o)}),2&e&&p.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"}}),c})(),Wv=(()=>{class c extends v_{}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[p.qOj]}),c})(),Hd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[qv],imports:[[E.ez,Qe,sn,Hl],Pr,Qe]}),c})();var la=x(2843),$v=x(4742),cp=x(1810);function xn(...c){const a=(0,hs.jO)(c),{args:e,keys:t}=(0,$v.D)(c),s=new mi.y(o=>{const{length:l}=e;if(!l)return void o.complete();const n=new Array(l);let i=l,r=l;for(let d=0;d{u||(u=!0,r--),n[d]=f},()=>i--,void 0,()=>{(!i||!u)&&(r||o.next(t?(0,cp.n)(t,n):n),o.complete())}))}});return a?s.pipe((0,Fh.Z)(a)):s}var A_=x(3099);const Dd=["*"];let ca;function Vl(c){var a;return(null===(a=function Qv(){if(void 0===ca&&(ca=null,"undefined"!=typeof window)){const c=window;void 0!==c.trustedTypes&&(ca=c.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return ca}())||void 0===a?void 0:a.createHTML(c))||c}function x_(c){return Error(`Unable to find icon with the name "${c}"`)}function Bl(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function T_(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}class Ga{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let po=(()=>{class c{constructor(e,t,s,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,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,o){return this._addSvgIconConfig(e,t,new Ga(s,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,o){const l=this._sanitizer.sanitize(p.q3G.HTML,s);if(!l)throw T_(s);const n=Vl(l);return this._addSvgIconConfig(e,t,new Ga("",n,o))}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 Ga(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const o=this._sanitizer.sanitize(p.q3G.HTML,t);if(!o)throw T_(t);const l=Vl(o);return this._addSvgIconSetConfig(e,new Ga("",l,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(p.q3G.RESOURCE_URL,e);if(!t)throw Bl(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ge.of)(Ol(s)):this._loadSvgIconFromConfig(new Ga(e,null)).pipe((0,M.b)(o=>this._cachedIconsByUrl.set(t,o)),(0,pt.U)(o=>Ol(o)))}getNamedSvgIcon(e,t=""){const s=M_(t,e);let o=this._svgIconConfigs.get(s);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(s,o),this._getSvgFromConfig(o);const l=this._iconSetConfigs.get(t);return l?this._getSvgFromIconSetConfigs(e,l):(0,la._)(x_(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ge.of)(Ol(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,pt.U)(t=>Ol(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ge.of)(s):xn(t.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe((0,zi.K)(n=>{const r=`Loading icon set URL: ${this._sanitizer.sanitize(p.q3G.RESOURCE_URL,l.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(r)),(0,Ge.of)(null)})))).pipe((0,pt.U)(()=>{const l=this._extractIconWithNameFromAnySet(e,t);if(!l)throw x_(e);return l}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const o=t[s];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const l=this._svgElementFromConfig(o),n=this._extractSvgIconFromSet(l,e,o.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t),(0,pt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ge.of)(null):this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const o=e.querySelector(`[id="${t}"]`);if(!o)return null;const l=o.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,s);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),s);const n=this._svgElementFromString(Vl(""));return n.appendChild(l),this._setSvgAttributes(n,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(Vl("")),s=e.attributes;for(let o=0;oVl(d)),k(()=>this._inProgressUrlFetches.delete(n)),(0,A_.B)());return this._inProgressUrlFetches.set(n,r),r}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(M_(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;sa?a.pathname+a.search:""}}}),hp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],pp=hp.map(c=>`[${c}]`).join(", "),fp=/^url\(['"]?#(.*?)['"]?\)$/;let gp=(()=>{class c extends AT{constructor(e,t,s,o,l){super(e),this._iconRegistry=t,this._location=o,this._errorHandler=l,this._inline=!1,this._currentIconFetch=qt.w0.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=nt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const s=e.childNodes[t];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((s,o)=>{s.forEach(l=>{o.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(pp),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const n=t[o],i=n.getAttribute(l),r=i?i.match(fp):null;if(r){let d=s.get(n);d||(d=[],s.set(n,d)),d.push({name:l,value:r[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(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${o.message}`))})}}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(po),p.$8M("aria-hidden"),p.Y36(dp),p.Y36(p.qLn))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(p.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),p.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:[p.qOj],ngContentSelectors:Dd,decls:1,vars:0,template:function(e,t){1&e&&(p.F$t(),p.Hsn(0))},styles:[".mat-icon{-webkit-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}),c})(),kr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();function cr(c){return!!c&&(c instanceof mi.y||(0,Vt.m)(c.lift)&&(0,Vt.m)(c.subscribe))}var Jv=x(6063);class H_ extends Ve.x{constructor(a=1/0,e=1/0,t=Jv.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:s,_timestampProvider:o,_windowTime:l}=this;e||(t.push(a),!s&&t.push(o.now()+l)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:s}=this,o=s.slice();for(let l=0;lnew H_(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}class fo{}let mp=(()=>{class c extends fo{getTranslation(e){return(0,Ge.of)({})}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class kd{}let _p=(()=>{class c{handle(e){return e.key}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Id(c,a){if(c===a)return!0;if(null===c||null===a)return!1;if(c!=c&&a!=a)return!0;let s,o,l,e=typeof c;if(e==typeof a&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(a))return!1;for(o in l=Object.create(null),c){if(!Id(c[o],a[o]))return!1;l[o]=!0}for(o in a)if(!(o in l)&&void 0!==a[o])return!1;return!0}if(!Array.isArray(a))return!1;if((s=c.length)==a.length){for(o=0;o{Vd(a[t])?t in c?e[t]=D_(c[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class Fl{}let P_=(()=>{class c extends Fl{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(),!Ir(e)||!Ir(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,o)=>{let l=this.getValue(t,o);return Ir(l)?l:s}):e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class fi{}let Ua=(()=>{class c extends fi{compile(e,t){return e}compileTranslations(e,t){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class R_{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new p.vpe,this.onLangChange=new p.vpe,this.onDefaultLangChange=new p.vpe}}const bp=new p.OlP("USE_STORE"),k_=new p.OlP("USE_DEFAULT_LANG"),qa=new p.OlP("DEFAULT_LANGUAGE"),Cp=new p.OlP("USE_EXTEND");let Ui=(()=>{class c{constructor(e,t,s,o,l,n=!0,i=!1,r=!1,d){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=n,this.isolate=i,this.extend=r,this.pending=!1,this._onTranslationChange=new p.vpe,this._onLangChange=new p.vpe,this._onDefaultLangChange=new p.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,Ge.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,Ge.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(Rd(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,pt.U)(s=>this.compiler.compileTranslations(s,e)),Rd(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]?D_(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 o;if(t instanceof Array){let l={},n=!1;for(let i of t)l[i]=this.getParsedResult(e,i,s),cr(l[i])&&(n=!0);return n?xn(t.map(r=>cr(l[r])?l[r]:(0,Ge.of)(l[r]))).pipe((0,pt.U)(r=>{let d={};return r.forEach((u,f)=>{d[t[f]]=u}),d})):l}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===o&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===o){let l={key:t,translateService:this};void 0!==s&&(l.interpolateParams=s),o=this.missingTranslationHandler.handle(l)}return void 0!==o?o:t}get(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,mr.b)(s=>cr(s=this.getParsedResult(s,e,t))?s:(0,Ge.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return cr(s)?s:(0,Ge.of)(s)}}getStreamOnTranslationChange(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');return(0,wa.z)(us(()=>this.get(e,t)),this.onTranslationChange.pipe((0,vi.w)(s=>{const o=this.getParsedResult(s.translations,e,t);return"function"==typeof o.subscribe?o:(0,Ge.of)(o)})))}stream(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');return(0,wa.z)(us(()=>this.get(e,t)),this.onLangChange.pipe((0,vi.w)(s=>{const o=this.getParsedResult(s.translations,e,t);return cr(o)?o:(0,Ge.of)(o)})))}instant(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(cr(s)){if(e instanceof Array){let o={};return e.forEach((l,n)=>{o[e[n]]=e[n]}),o}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 c.\u0275fac=function(e){return new(e||c)(p.LFG(R_),p.LFG(fo),p.LFG(fi),p.LFG(Fl),p.LFG(kd),p.LFG(k_),p.LFG(bp),p.LFG(Cp),p.LFG(qa))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),da=(()=>{class c{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let o=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(s){let l=this.translate.getParsedResult(s,e,t);cr(l.subscribe)?l.subscribe(o):o(l)}this.translate.get(e,t).subscribe(o)}transform(e,...t){if(!e||!e.length)return e;if(Id(e,this.lastKey)&&Id(t,this.lastParams))return this.value;let s;if(Ir(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let o=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(o)}catch(l){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(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,o.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui,16),p.Y36(p.sBO,16))},c.\u0275pipe=p.Yjl({name:"translate",type:c,pure:!1}),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Ll=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:fo,useClass:mp},e.compiler||{provide:fi,useClass:Ua},e.parser||{provide:Fl,useClass:P_},e.missingTranslationHandler||{provide:kd,useClass:_p},R_,{provide:bp,useValue:e.isolate},{provide:k_,useValue:e.useDefaultLang},{provide:Cp,useValue:e.extend},{provide:qa,useValue:e.defaultLanguage},Ui]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:fo,useClass:mp},e.compiler||{provide:fi,useClass:Ua},e.parser||{provide:Fl,useClass:P_},e.missingTranslationHandler||{provide:kd,useClass:_p},{provide:bp,useValue:e.isolate},{provide:k_,useValue:e.useDefaultLang},{provide:Cp,useValue:e.extend},{provide:qa,useValue:e.defaultLanguage},Ui]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),Kv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[Rr,Hd,kr,ar,Ll,E.ez]]}),c})();function yp(c,a){}class jl{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const I_={dialogContainer:Lt("dialogContainer",[ot("void, exit",Le({opacity:0,transform:"scale(0.7)"})),ot("enter",Le({transform:"none"})),bt("* => enter",nh([Tt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),dl("@*",cl(),{optional:!0})])),bt("* => void, * => exit",nh([Tt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),dl("@*",cl(),{optional:!0})]))])};let vp=(()=>{class c extends $h{constructor(e,t,s,o,l,n,i,r){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=l,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new p.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=l.ariaLabelledBy||null,this._document=o}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zu())}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(()=>{const s=()=>{e.removeEventListener("blur",s),e.removeEventListener("mousedown",s),e.removeAttribute("tabindex")};e.addEventListener("blur",s),e.addEventListener("mousedown",s)})),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=zu(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=zu();return e===t||e.contains(t)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(dx),p.Y36(p.sBO),p.Y36(E.K0,8),p.Y36(jl),p.Y36(jc),p.Y36(p.R0b),p.Y36(Fn))},c.\u0275dir=p.lG2({type:c,viewQuery:function(e,t){if(1&e&&p.Gf(Qh,7),2&e){let s;p.iGM(s=p.CRH())&&(t._portalOutlet=s.first)}},features:[p.qOj]}),c})(),TT=(()=>{class c extends vp{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&p.WFA("@dialogContainer.start",function(o){return t._onAnimationStart(o)})("@dialogContainer.done",function(o){return t._onAnimationDone(o)}),2&e&&(p.Ikx("id",t._id),p.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),p.d8E("@dialogContainer",t._state))},features:[p.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&p.YNc(0,yp,0,0,"ng-template",0)},directives:[Qh],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:[I_.dialogContainer]}}),c})(),V_=0;class Nl{constructor(a,e,t="mat-dialog-"+V_++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ve.x,this._afterClosed=new Ve.x,this._beforeClosed=new Ve.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,oi.h)(s=>"opened"===s.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,oi.h)(s=>"closed"===s.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,oi.h)(s=>27===s.keyCode&&!this.disableClose&&!Wr(s))).subscribe(s=>{s.preventDefault(),Ap(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Ap(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,oi.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Ap(c,a,e){return void 0!==c._containerInstance&&(c._containerInstance._closeInteractionType=a),c.close(e)}const Bd=new p.OlP("MatDialogData"),B_=new p.OlP("mat-dialog-default-options"),O_=new p.OlP("mat-dialog-scroll-strategy"),ET={provide:O_,deps:[qn],useFactory:function xp(c){return()=>c.scrollStrategies.block()}};let Zv=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=l,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ve.x,this._afterOpenedAtThisLevel=new Ve.x,this._ariaHiddenElements=new Map,this.afterAllClosed=us(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ji(void 0))),this._scrollStrategy=n}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){t=function L_(c,a){return Object.assign(Object.assign({},a),c)}(t,this._defaultOptions||new jl),t.id&&this.getDialogById(t.id);const s=this._createOverlay(t),o=this._attachDialogContainer(s,t),l=this._attachDialogContent(e,o,s,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe(()=>this._removeOpenDialog(l)),this.afterOpened.next(l),o._initializeWithAttachedContent(),l}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new aa({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 o=p.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:jl,useValue:t}]}),l=new vd(this._dialogContainerType,t.viewContainerRef,o,t.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,t,s,o){const l=new this._dialogRefConstructor(s,t,o.id);if(e instanceof p.Rgc)t.attachTemplatePortal(new Wh(e,null,{$implicit:o.data,dialogRef:l}));else{const n=this._createInjector(o,l,t),i=t.attachComponentPortal(new vd(e,o.viewContainerRef,n,o.componentFactoryResolver));l.componentInstance=i.instance}return l.updateSize(o.width,o.height).updatePosition(o.position),l}_createInjector(e,t,s){const o=e&&e.viewContainerRef&&e.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!o||!o.get(Ar,null,p.XFs.Optional))&&l.push({provide:Ar,useValue:{value:e.direction,change:(0,Ge.of)()}}),p.zs3.create({parent:o||this._injector,providers:l})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,o)=>{s?o.setAttribute("aria-hidden",s):o.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 o=t[s];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return c.\u0275fac=function(e){p.$Z()},c.\u0275dir=p.lG2({type:c}),c})(),Wa=(()=>{class c extends Zv{constructor(e,t,s,o,l,n,i,r){super(e,t,o,n,i,l,Nl,TT,Bd,r)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(qn),p.LFG(p.zs3),p.LFG(E.Ye,8),p.LFG(B_,8),p.LFG(O_),p.LFG(c,12),p.LFG(Ye),p.LFG(ki,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),j_=0,Tp=(()=>{class c{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+j_++}ngOnInit(){this._dialogRef||(this._dialogRef=function Xv(c,a){let e=c.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl,8),p.Y36(p.SBq),p.Y36(Wa))},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&p.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),c})(),Od=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),c})(),N_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),c})(),zl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Wa,ET],imports:[[Hl,za,Qe],Qe]}),c})();function Fd(){const c=new jl;return c.disableClose=!0,c.autoFocus=!1,c}function Dp(c,a){const e=a.split("&");for(const t of e){const[s,o]=t.split("=");if(s.includes(c))return o}return""}x(4327),new Intl.Collator("cs",{numeric:!0});class Pp{static passwordMatchValidator(a){const e=a.get("passwordCtrl").value,t=a.get("passwordAgainCtrl").value;return a.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(a){return e=>{if(!e.value)return null;let t=0;for(const s of a)t+=s.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let Gt=(()=>{class c{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,s;const o=[null===(s=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===s?void 0:s[this.branding],this.instanceConfig,this.defaultConfig];let l=null;for(const n of o)n&&!l&&(l=n[e]);return l}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let o=0;o{class c{constructor(e,t,s,o,l){this.injector=e,this.store=t,this.dialog=s,this.route=o,this.oauthService=l,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Pi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),o=.5+.25*Math.random(),l=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(l.prompt="consent"),sessionStorage.getItem("mfa_route")&&(l.acr_values="https://refeds.org/profile/mfa",l.prompt="login",l.max_age="0"),"Linker"===this.store.getProperty("application")){l.prompt="login";const n=Dp("idphint",location.search.substring(1));n&&(l.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:o,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:l}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(o=>{const l=o.split("=");"idpFilter"===l[0]&&t[l[1]]&&(this.filterShortname=l[1],s=t[l[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(s=>s?this.startRefreshToken():new Promise(o=>o(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,oi.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 o=[];s&&(o=s.split("&"));const l={};return o.forEach(n=>{const i=n.split("=");l[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),l.idpFilter&&(this.filterShortname=String(l.idpFilter)),this.router.navigate([t],{queryParams:l,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,oi.h)(e=>e instanceof ue)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(s=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!s||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((o,l)=>l("Invalid path"))))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.zs3),p.LFG(Gt),p.LFG(Wa),p.LFG(pn),p.LFG(Rp.Ct))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),hA=(()=>{class c{constructor(e){this.dialogRef=e}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h2",0),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Od],pipes:[da],styles:[""]}),c})(),kp=(()=>{class c{constructor(e,t,s,o,l,n){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=o,this.dialog=l,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Fd();this.dialog.open(hA,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const s of e){const o=s.split("=");t[o[0]]=o[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Y_),p.LFG(Gt),p.LFG(uf),p.LFG(Yi),p.LFG(Wa),p.LFG(Pi))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),J_=(()=>{class c{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(po),p.LFG(Hn))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),K_=(()=>{class c{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div",1),p._uU(4),p.ALo(5,"translate"),p.qZA(),p.TgZ(6,"div",2),p.TgZ(7,"div",3),p.TgZ(8,"button",4),p.NdJ("click",function(){return t.close()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.xp6(1),p.Oqu(p.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),p.xp6(3),p.hij(" ",p.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),p.xp6(5),p.hij(" ",p.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Tp,Od,N_,md],pipes:[da],styles:[""]}),c})(),Z_=(()=>{class c{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),X_=(()=>{class c{constructor(e){this.translate=e,this.addNotification=new p.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,o,l){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===o&&void 0!==s?this.getDefaultActionMessage():o,delay:this.defaultErrorDelayMs,icon:"error_outline",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,o){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:o,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ui))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ip=(()=>{class c{constructor(e,t,s,o,l,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=o,this.dialog=l,this.initAuthService=n}intercept(e,t){const s=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=Fd();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(K_,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{k(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const o=this.apiRequestConfiguration.shouldHandleError(),l="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,M.b)(n=>{n instanceof y.Zn&&l&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,la._)(n):o?void this.notificator.showRPCError(i):(0,la._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;console.error(e);const o=e.error;if(o.errorId&&(s=o),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Y_),p.LFG(Z_),p.LFG(X_),p.LFG(Gt),p.LFG(Wa),p.LFG(kp))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),eb=(()=>{class c{constructor(e,t,s,o){this.http=e,this.notificator=t,this.authService=s,this.storeService=o}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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,zi.K)(o=>this.formatErrors(o,s,null,t)))}put(e,t={},s=!0){const o=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);return this.http.put(o,l,{headers:this.getHeaders()}).pipe((0,zi.K)(n=>this.formatErrors(n,o,l,s)))}post(e,t={},s=!0){const o=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(o,l,{headers:n}).pipe((0,zi.K)(i=>this.formatErrors(i,o,l,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,zi.K)(o=>this.formatErrors(o,s,null,t)))}formatErrors(e,t,s,o){const l=e.error;return l.call=t,l.payload=s,o&&this.notificator.showRPCError(e.error),(0,la._)(l)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(X_),p.LFG(Y_),p.LFG(Gt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),tb=(()=>{class c{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(n=>n.split("-")[0]),o=location.search.substring(1).split("&");let l=null;for(const n of o){const i=n.split("=");"lang"===i[0]&&(l=i[1])}return l&&t.includes(l)?l:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(pn),p.LFG(Gt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Vp=["*",[["mat-toolbar-row"]]],ib=["*","mat-toolbar-row"],fA=na(class{constructor(c){this._elementRef=c}});let nb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),c})(),rb=(()=>{class c extends fA{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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(E.K0))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&p.Suo(s,nb,5),2&e){let o;p.iGM(o=p.CRH())&&(t._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&p.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[p.qOj],ngContentSelectors:ib,decls:2,vars:0,template:function(e,t){1&e&&(p.F$t(Vp),p.Hsn(0),p.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}),c})(),ab=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();function WT(c,a){1&c&&(p.TgZ(0,"div",10),p.TgZ(1,"span",11),p._uU(2," ~ \u{1f5f2}\xa0 "),p.qZA(),p.TgZ(3,"span",12),p._uU(4," DEVEL "),p.qZA(),p.TgZ(5,"span",11),p._uU(6," \xa0\u{1f5f2} ~ "),p.qZA(),p.qZA())}const $T=function(c){return{background:c}},jd=function(c){return{color:c}};let gA=(()=>{class c{constructor(e,t,s,o){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=o,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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Hn),p.Y36(tb),p.Y36(Ui))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[1,"display-flex-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&&(p.TgZ(0,"mat-toolbar",0),p.TgZ(1,"div",1),p._UZ(2,"a",2),p.TgZ(3,"p",3),p._uU(4),p.qZA(),p.qZA(),p.YNc(5,WT,7,0,"div",4),p.TgZ(6,"div",5),p.TgZ(7,"button",6),p.TgZ(8,"mat-icon",7),p._uU(9," language "),p.qZA(),p.qZA(),p.TgZ(10,"mat-menu",null,8),p.TgZ(12,"button",9),p.NdJ("click",function(){return t.changeLanguage()}),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){const s=p.MAs(11);p.Q6J("ngStyle",p.VKq(11,$T,t.bgColor)),p.xp6(2),p.Q6J("innerHTML",t.logo,p.oJD),p.xp6(1),p.Q6J("ngStyle",p.VKq(13,jd,t.textColor)),p.xp6(1),p.Oqu(t.label),p.xp6(1),p.Q6J("ngIf",t.isDevel),p.xp6(1),p.Q6J("ngStyle",p.VKq(15,jd,t.textColor)),p.xp6(1),p.Q6J("matMenuTriggerFor",s),p.xp6(1),p.Q6J("ngStyle",p.VKq(17,jd,t.iconColor)),p.xp6(5),p.hij(" ",p.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[rb,E.PC,E.O5,md,Wv,gp,y_,Md],pipes:[da],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.display-flex-row[_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}#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}"]}),c})(),sb=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.Qsj),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c}),c})(),$a=(()=>{class c extends sb{}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,features:[p.qOj]}),c})();const qi=new p.OlP("NgValueAccessor"),YT={provide:qi,useExisting:(0,p.Gpc)(()=>ua),multi:!0},_A=new p.OlP("CompositionEventMode");let ua=(()=>{class c extends sb{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function JT(){const c=(0,E.q)()?(0,E.q)().getUserAgent():"";return/android (\d+)/.test(c.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.Qsj),p.Y36(p.SBq),p.Y36(_A,8))},c.\u0275dir=p.lG2({type:c,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&&p.NdJ("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[p._Bn([YT]),p.qOj]}),c})();function ha(c){return null==c||0===c.length}function ob(c){return null!=c&&"number"==typeof c.length}const ri=new p.OlP("NgValidators"),Wi=new p.OlP("NgAsyncValidators"),lb=/^(?=.{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 Qa{static min(a){return function Nd(c){return a=>{if(ha(a.value)||ha(c))return null;const e=parseFloat(a.value);return!isNaN(e)&&e{if(ha(a.value)||ha(c))return null;const e=parseFloat(a.value);return!isNaN(e)&&e>c?{max:{max:c,actual:a.value}}:null}}(a)}static required(a){return zd(a)}static requiredTrue(a){return function Gd(c){return!0===c.value?null:{required:!0}}(a)}static email(a){return function Gl(c){return ha(c.value)||lb.test(c.value)?null:{email:!0}}(a)}static minLength(a){return function bA(c){return a=>ha(a.value)||!ob(a.value)?null:a.value.lengthob(a.value)&&a.value.length>c?{maxlength:{requiredLength:c,actualLength:a.value.length}}:null}(a)}static pattern(a){return function yA(c){if(!c)return Bp;let a,e;return"string"==typeof c?(e="","^"!==c.charAt(0)&&(e+="^"),e+=c,"$"!==c.charAt(c.length-1)&&(e+="$"),a=new RegExp(e)):(e=c.toString(),a=c),t=>{if(ha(t.value))return null;const s=t.value;return a.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(a)}static nullValidator(a){return null}static compose(a){return Lp(a)}static composeAsync(a){return pb(a)}}function zd(c){return ha(c.value)?{required:!0}:null}function Bp(c){return null}function Op(c){return null!=c}function db(c){const a=(0,p.QGY)(c)?(0,Fi.D)(c):c;return(0,p.CqO)(a),a}function ub(c){let a={};return c.forEach(e=>{a=null!=e?Object.assign(Object.assign({},a),e):a}),0===Object.keys(a).length?null:a}function hb(c,a){return a.map(e=>e(c))}function Fp(c){return c.map(a=>function wA(c){return!c.validate}(a)?a:e=>a.validate(e))}function Lp(c){if(!c)return null;const a=c.filter(Op);return 0==a.length?null:function(e){return ub(hb(e,a))}}function Ud(c){return null!=c?Lp(Fp(c)):null}function pb(c){if(!c)return null;const a=c.filter(Op);return 0==a.length?null:function(e){return xn(hb(e,a).map(db)).pipe((0,pt.U)(ub))}}function jp(c){return null!=c?pb(Fp(c)):null}function Np(c,a){return null===c?[a]:Array.isArray(c)?[...c,a]:[c,a]}function Ul(c){return c._rawValidators}function vA(c){return c._rawAsyncValidators}function qd(c){return c?Array.isArray(c)?c:[c]:[]}function Ya(c,a){return Array.isArray(c)?c.includes(a):c===a}function fb(c,a){const e=qd(a);return qd(c).forEach(s=>{Ya(e,s)||e.push(s)}),e}function gb(c,a){return qd(a).filter(e=>!Ya(c,e))}class mb{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(a){this._rawValidators=a||[],this._composedValidatorFn=Ud(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=jp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a){this.control&&this.control.reset(a)}hasError(a,e){return!!this.control&&this.control.hasError(a,e)}getError(a,e){return this.control?this.control.getError(a,e):null}}class dr extends mb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $i extends mb{get formDirective(){return null}get path(){return null}}class _b{constructor(a){this._cd=a}is(a){var e,t,s;return"submitted"===a?!!(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[a])}}let zp=(()=>{class c extends _b{constructor(e){super(e)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(dr,2))},c.\u0275dir=p.lG2({type:c,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&p.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:[p.qOj]}),c})(),Gp=(()=>{class c extends _b{constructor(e){super(e)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36($i,10))},c.\u0275dir=p.lG2({type:c,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&p.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:[p.qOj]}),c})();function _(c,a){return[...a.path,c]}function C(c,a){S(c,a),a.valueAccessor.writeValue(c.value),function R(c,a){a.valueAccessor.registerOnChange(e=>{c._pendingValue=e,c._pendingChange=!0,c._pendingDirty=!0,"change"===c.updateOn&&Q(c,a)})}(c,a),function te(c,a){const e=(t,s)=>{a.valueAccessor.writeValue(t),s&&a.viewToModelUpdate(t)};c.registerOnChange(e),a._registerOnDestroy(()=>{c._unregisterOnChange(e)})}(c,a),function F(c,a){a.valueAccessor.registerOnTouched(()=>{c._pendingTouched=!0,"blur"===c.updateOn&&c._pendingChange&&Q(c,a),"submit"!==c.updateOn&&c.markAsTouched()})}(c,a),function T(c,a){if(a.valueAccessor.setDisabledState){const e=t=>{a.valueAccessor.setDisabledState(t)};c.registerOnDisabledChange(e),a._registerOnDestroy(()=>{c._unregisterOnDisabledChange(e)})}}(c,a)}function w(c,a,e=!0){const t=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(t),a.valueAccessor.registerOnTouched(t)),P(c,a),c&&(a._invokeOnDestroyCallbacks(),c._registerOnCollectionChange(()=>{}))}function v(c,a){c.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(a)})}function S(c,a){const e=Ul(c);null!==a.validator?c.setValidators(Np(e,a.validator)):"function"==typeof e&&c.setValidators([e]);const t=vA(c);null!==a.asyncValidator?c.setAsyncValidators(Np(t,a.asyncValidator)):"function"==typeof t&&c.setAsyncValidators([t]);const s=()=>c.updateValueAndValidity();v(a._rawValidators,s),v(a._rawAsyncValidators,s)}function P(c,a){let e=!1;if(null!==c){if(null!==a.validator){const s=Ul(c);if(Array.isArray(s)&&s.length>0){const o=s.filter(l=>l!==a.validator);o.length!==s.length&&(e=!0,c.setValidators(o))}}if(null!==a.asyncValidator){const s=vA(c);if(Array.isArray(s)&&s.length>0){const o=s.filter(l=>l!==a.asyncValidator);o.length!==s.length&&(e=!0,c.setAsyncValidators(o))}}}const t=()=>{};return v(a._rawValidators,t),v(a._rawAsyncValidators,t),e}function Q(c,a){c._pendingDirty&&c.markAsDirty(),c.setValue(c._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(c._pendingValue),c._pendingChange=!1}function he(c,a){S(c,a)}function me(c,a){if(!c.hasOwnProperty("model"))return!1;const e=c.model;return!!e.isFirstChange()||!Object.is(a,e.currentValue)}function mt(c,a){c._syncPendingControls(),a.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Et(c,a){if(!a)return null;let e,t,s;return Array.isArray(a),a.forEach(o=>{o.constructor===ua?e=o:function $e(c){return Object.getPrototypeOf(c.constructor)===$a}(o)?t=o:s=o}),s||t||e||null}function Ii(c,a){const e=c.indexOf(a);e>-1&&c.splice(e,1)}const Ja="VALID",_o="INVALID",pa="PENDING",Ka="DISABLED";function Wl(c){return(Cb(c)?c.validators:c)||null}function $d(c){return Array.isArray(c)?Ud(c):c||null}function $l(c,a){return(Cb(a)?a.asyncValidators:c)||null}function iE(c){return Array.isArray(c)?jp(c):c||null}function Cb(c){return null!=c&&!Array.isArray(c)&&"object"==typeof c}const TA=c=>c instanceof Wp,yb=c=>c instanceof wb,nE=c=>c instanceof oE;function rE(c){return TA(c)?c.value:c.getRawValue()}function aE(c,a){const e=yb(c),t=c.controls;if(!(e?Object.keys(t):t).length)throw new p.vHH(1e3,"");if(!t[a])throw new p.vHH(1001,"")}function sE(c,a){yb(c),c._forEachChild((t,s)=>{if(void 0===a[s])throw new p.vHH(1002,"")})}class EA{constructor(a,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=a,this._rawAsyncValidators=e,this._composedValidatorFn=$d(this._rawValidators),this._composedAsyncValidatorFn=iE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===Ja}get invalid(){return this.status===_o}get pending(){return this.status==pa}get disabled(){return this.status===Ka}get enabled(){return this.status!==Ka}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._rawValidators=a,this._composedValidatorFn=$d(a)}setAsyncValidators(a){this._rawAsyncValidators=a,this._composedAsyncValidatorFn=iE(a)}addValidators(a){this.setValidators(fb(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(fb(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(gb(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(gb(a,this._rawAsyncValidators))}hasValidator(a){return Ya(this._rawValidators,a)}hasAsyncValidator(a){return Ya(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=pa,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=Ka,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=Ja,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ja||this.status===pa)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ka:Ja}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=pa,this._hasOwnPendingAsyncValidator=!0;const e=db(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,e={}){this.errors=a,this._updateControlsErrors(!1!==e.emitEvent)}get(a){return function qp(c,a,e){if(null==a||(Array.isArray(a)||(a=a.split(e)),Array.isArray(a)&&0===a.length))return null;let t=c;return a.forEach(s=>{t=yb(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:nE(t)&&t.at(s)||null}),t}(this,a,".")}getError(a,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[a]:null}hasError(a,e){return!!this.getError(a,e)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new p.vpe,this.statusChanges=new p.vpe}_calculateStatus(){return this._allControlsDisabled()?Ka:this.errors?_o:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pa)?pa:this._anyControlsHaveStatus(_o)?_o:Ja}_anyControlsHaveStatus(a){return this._anyControls(e=>e.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_isBoxedValue(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){Cb(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Wp extends EA{constructor(a=null,e,t){super(Wl(e),$l(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cb(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(a)?a.value:a)}setValue(a,e={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(a,e={}){this.setValue(a,e)}reset(a=this.defaultValue,e={}){this._applyFormState(a),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){Ii(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){Ii(this._onDisabledChange,a)}_forEachChild(a){}_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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}class wb extends EA{constructor(a,e,t){super(Wl(e),$l(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,e){return this.controls[a]?this.controls[a]:(this.controls[a]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(a,e,t={}){this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],e&&this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,e={}){sE(this,a),Object.keys(a).forEach(t=>{aE(this,t),this.controls[t].setValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(Object.keys(a).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a={},e={}){this._forEachChild((t,s)=>{t.reset(a[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(a,e,t)=>(a[t]=rE(e),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&a(t,e)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&a(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(a,e,t)=>((e.enabled||this.disabled)&&(a[t]=e.value),a))}_reduceChildren(a,e){let t=a;return this._forEachChild((s,o)=>{t=e(t,s,o)}),t}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class oE extends EA{constructor(a,e,t){super(Wl(e),$l(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[a]}push(a,e={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(a,e,t={}){this.controls.splice(a,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,e={}){sE(this,a),a.forEach((t,s)=>{aE(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(a.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a=[],e={}){this._forEachChild((t,s)=>{t.reset(a[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(a=>rE(a))}clear(a={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_syncPendingControls(){let a=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((e,t)=>{a(e,t)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(e=>e.enabled&&a(e))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}const TM={provide:$i,useExisting:(0,p.Gpc)(()=>Qp)},$p=(()=>Promise.resolve(null))();let Qp=(()=>{class c extends $i{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new p.vpe,this.form=new wb({},Ud(e),jp(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){$p.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),C(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){$p.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){$p.then(()=>{const t=this._findContainer(e.path),s=new wb({});he(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){$p.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){$p.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,mt(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 c.\u0275fac=function(e){return new(e||c)(p.Y36(ri,10),p.Y36(Wi,10))},c.\u0275dir=p.lG2({type:c,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&p.NdJ("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p._Bn([TM]),p.qOj]}),c})();const SM={provide:dr,useExisting:(0,p.Gpc)(()=>SA)},dE=(()=>Promise.resolve(null))();let SA=(()=>{class c extends dr{constructor(e,t,s,o,l){super(),this._changeDetectorRef=l,this.control=new Wp,this._registered=!1,this.update=new p.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Et(0,o)}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),me(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(){C(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){dE.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;dE.then(()=>{var o;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(e){return this._parent?_(e,this._parent):[e]}}return c.\u0275fac=function(e){return new(e||c)(p.Y36($i,9),p.Y36(ri,10),p.Y36(Wi,10),p.Y36(qi,10),p.Y36(p.sBO,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[p._Bn([SM]),p.qOj,p.TTD]}),c})(),hE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();const MA=new p.OlP("NgModelWithFormControlWarning"),IM={provide:$i,useExisting:(0,p.Gpc)(()=>Ql)};let Ql=(()=>{class c extends $i{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 p.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&&(P(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 C(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){w(e.control||null,e,!1),Ii(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,mt(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&&(w(t||null,e),TA(s)&&(C(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);he(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Ee(c,a){return P(c,a)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){S(this.form,this),this._oldForm&&P(this._oldForm,this)}_checkFormPresent(){}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(ri,10),p.Y36(Wi,10))},c.\u0275dir=p.lG2({type:c,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&p.NdJ("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p._Bn([IM]),p.qOj,p.TTD]}),c})();const OM={provide:dr,useExisting:(0,p.Gpc)(()=>PA)};let PA=(()=>{class c extends dr{constructor(e,t,s,o,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.update=new p.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Et(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),me(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 _(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 c._ngModelWarningSentOnce=!1,c.\u0275fac=function(e){return new(e||c)(p.Y36($i,13),p.Y36(ri,10),p.Y36(Wi,10),p.Y36(qi,10),p.Y36(MA,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[p._Bn([OM]),p.qOj,p.TTD]}),c})(),Yl=(()=>{class c{constructor(){this._validator=Bp}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):Bp,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,features:[p.TTD]}),c})();const $M={provide:ri,useExisting:(0,p.Gpc)(()=>Yp),multi:!0};let Yp=(()=>{class c extends Yl{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function UM(c){return null!=c&&!1!==c&&"false"!=`${c}`}(e),this.createValidator=e=>zd}enabled(e){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&p.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[p._Bn([$M]),p.qOj]}),c})(),SE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[hE]]}),c})(),IA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[SE]}),c})(),Qd=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:MA,useValue:e.warnOnNgModelWithFormControl}]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[SE]}),c})(),eH=(()=>{class c{group(e,t=null){const s=this._reduceControls(e);let n,o=null,l=null;return null!=t&&(function XM(c){return void 0!==c.asyncValidators||void 0!==c.validators||void 0!==c.updateOn}(t)?(o=null!=t.validators?t.validators:null,l=null!=t.asyncValidators?t.asyncValidators:null,n=null!=t.updateOn?t.updateOn:void 0):(o=null!=t.validator?t.validator:null,l=null!=t.asyncValidator?t.asyncValidator:null)),new wb(s,{asyncValidators:l,updateOn:n,validators:o})}control(e,t,s){return new Wp(e,t,s)}array(e,t,s){const o=e.map(l=>this._createControl(l));return new oE(o,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return TA(e)||yb(e)||nE(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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:Qd}),c})();const ME=gn({passive:!0});let tH=(()=>{class c{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Hi.E;const t=Jt(e),s=this._monitoredElements.get(t);if(s)return s.subject;const o=new Ve.x,l="cdk-text-field-autofilled",n=i=>{"cdk-text-field-autofill-start"!==i.animationName||t.classList.contains(l)?"cdk-text-field-autofill-end"===i.animationName&&t.classList.contains(l)&&(t.classList.remove(l),this._ngZone.run(()=>o.next({target:i.target,isAutofilled:!1}))):(t.classList.add(l),this._ngZone.run(()=>o.next({target:i.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",n,ME),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",n,ME)}}),o}stopMonitoring(e){const t=Jt(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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),HE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();const DE=new p.OlP("MAT_INPUT_VALUE_ACCESSOR"),iH=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let nH=0;const rH=um(class{constructor(c,a,e,t){this._defaultErrorStateMatcher=c,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let PE=(()=>{class c extends rH{constructor(e,t,s,o,l,n,i,r,d,u){super(n,o,l,s),this._elementRef=e,this._platform=t,this._autofillMonitor=r,this._formField=u,this._uid="mat-input-"+nH++,this.focused=!1,this.stateChanges=new Ve.x,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(D=>qC().has(D)),this._iOSKeyupListener=D=>{const G=D.target;!G.value&&0===G.selectionStart&&0===G.selectionEnd&&(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=i||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=f.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=nt(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,o;return null!==(o=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(Qa.required))&&void 0!==o&&o}set required(e){this._required=nt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&qC().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=nt(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 o=this._elementRef.nativeElement;this._previousPlaceholder=s,s?o.setAttribute("placeholder",s):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){iH.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(dr,10),p.Y36(Qp,8),p.Y36(Ql,8),p.Y36(Hr),p.Y36(DE,10),p.Y36(tH),p.Y36(p.R0b),p.Y36(Td,8))},c.\u0275dir=p.lG2({type:c,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&&p.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(p.Ikx("disabled",t.disabled)("required",t.required),p.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),p.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:[p._Bn([{provide:Kh,useExisting:c}]),p.qOj,p.TTD]}),c})(),Ab=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Hr],imports:[[HE,oa,Qe],HE,oa]}),c})();function aH(c,a){if(1&c&&(p.O4$(),p._UZ(0,"circle",4)),2&c){const e=p.oxw(),t=p.MAs(1);p.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)),p.uIk("r",e._getCircleRadius())}}function sH(c,a){if(1&c&&(p.O4$(),p._UZ(0,"circle",4)),2&c){const e=p.oxw(),t=p.MAs(1);p.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),p.uIk("r",e._getCircleRadius())}}const lH=na(class{constructor(c){this._elementRef=c}},"primary"),cH=new p.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function dH(){return{diameter:100}}});class fa extends lH{constructor(a,e,t,s,o,l,n,i){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=qt.w0.EMPTY,this.mode="determinate";const r=fa._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(t.head)||r.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&l&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>l.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=On(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=On(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,On(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Hc(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=fa._diameters;let s=t.get(a);if(!s||!s.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),a.appendChild(o),s||(s=new Set,t.set(a,s)),s.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}fa._diameters=new WeakMap,fa.\u0275fac=function(a){return new(a||fa)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(E.K0,8),p.Y36(ki,8),p.Y36(cH),p.Y36(p.sBO),p.Y36(io),p.Y36(p.R0b))},fa.\u0275cmp=p.Xpm({type:fa,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(p.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),p.Udp("width",e.diameter,"px")("height",e.diameter,"px"),p.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[p.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(a,e){1&a&&(p.O4$(),p.TgZ(0,"svg",0,1),p.YNc(2,aH,1,11,"circle",2),p.YNc(3,sH,1,9,"circle",3),p.qZA()),2&a&&(p.Udp("width",e.diameter,"px")("height",e.diameter,"px"),p.Q6J("ngSwitch","indeterminate"===e.mode),p.uIk("viewBox",e._getViewBox()),p.xp6(2),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 Jp=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe,E.ez],Qe]}),c})(),BA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[kr,E.ez]]}),c})(),hH=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[E.ez,oa,co,Qd,Ab,Ll,Jp,kr,BA]]}),c})();class pH{isErrorState(a){return!(!(null==a?void 0:a.invalid)||!(null==a?void 0:a.dirty))}}const fH=(c,a,e,t=500)=>s=>(0,wd.H)(t).pipe((0,vi.w)(()=>(e.dontHandleErrorForNext(),c&&"No namespace"!==c?a.checkPasswordStrength({password:s.value,namespace:c}):(0,Ge.of)(null))),(0,pt.U)(()=>null),(0,zi.K)(o=>{const l=o.error,n={backendError:l.message.substring(l.message.indexOf(":")+1)};return(0,Ge.of)(n)}));function gH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," info "),p.qZA())}function mH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," warning "),p.qZA())}function _H(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," dangerous "),p.qZA())}function bH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," check_circle "),p.qZA())}const CH=["*"];let OA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:CH,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&&(p.F$t(),p.TgZ(0,"div",0),p.YNc(1,gH,2,0,"mat-icon",1),p.YNc(2,mH,2,0,"mat-icon",1),p.YNc(3,_H,2,0,"mat-icon",1),p.YNc(4,bH,2,0,"mat-icon",1),p.Hsn(5),p.qZA()),2&e&&(p.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),p.xp6(1),p.Q6J("ngIf","info"===t.alert_type),p.xp6(1),p.Q6J("ngIf","warn"===t.alert_type),p.xp6(1),p.Q6J("ngIf","error"===t.alert_type),p.xp6(1),p.Q6J("ngIf","success"===t.alert_type))},directives:[E.O5,gp],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}"]}),c})();function yH(c,a){1&c&&p._UZ(0,"mat-spinner",12),2&c&&p.Q6J("diameter",18)}function wH(c,a){if(1&c&&(p.TgZ(0,"mat-icon",13),p._uU(1," error "),p.qZA()),2&c){const e=p.oxw();p.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function vH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function AH(c,a){if(1&c&&(p.TgZ(0,"mat-error",14),p._uU(1),p.qZA()),2&c){const e=p.oxw();p.Q6J("matTooltip",e.getErrorTooltip()),p.xp6(1),p.Oqu(e.getErrorTooltip())}}function xH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function TH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let EH=(()=>{class c{constructor(e,t,s){this.translator=e,this.usersManagerService=t,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new pH,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{var t;const s=e.userAttributes.find(o=>"preferredLanguage"===o.friendlyName);this.language=null!==(t=null==s?void 0:s.value)&&void 0!==t?t:"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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui),p.Y36(Rn),p.Y36(Gt))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[p.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&&(p.TgZ(0,"div",0),p.TgZ(1,"mat-form-field",1),p._UZ(2,"input",2),p.ALo(3,"translate"),p.YNc(4,yH,1,1,"mat-spinner",3),p.TgZ(5,"mat-icon",4),p.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),p._uU(6),p.qZA(),p.YNc(7,wH,2,2,"mat-icon",5),p.YNc(8,vH,3,3,"mat-error",6),p.YNc(9,AH,2,2,"mat-error",7),p.qZA(),p.TgZ(10,"mat-form-field",8),p.TgZ(11,"mat-label"),p._uU(12),p.ALo(13,"translate"),p.qZA(),p._UZ(14,"input",9),p.TgZ(15,"mat-icon",4),p.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),p._uU(16),p.qZA(),p.YNc(17,xH,3,3,"mat-error",6),p.YNc(18,TH,3,3,"mat-error",6),p.qZA(),p.TgZ(19,"perun-web-apps-alert",10),p._UZ(20,"div",11),p.qZA(),p.qZA()),2&e&&(p.Q6J("formGroup",t.formGroup),p.xp6(1),p.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled||t.tooltipPwdDisabledForNamespace),p.xp6(1),p.s9C("placeholder",p.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),p.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),p.xp6(2),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),p.xp6(2),p.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),p.xp6(3),p.Oqu(p.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),p.xp6(2),p.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),p.xp6(2),p.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),p.xp6(2),p.Q6J("innerHTML",t.passwordRequirement,p.oJD))},directives:[Gp,Ql,i_,Pv,PE,ua,zp,PA,Yp,E.O5,fa,uv,gp,sv,sa,OA],pipes:[da],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)}"]}),c})();function SH(c,a){if(1&c&&p._UZ(0,"perun-web-apps-password-form",4),2&c){const e=p.oxw();p.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function MH(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"button",5),p.NdJ("click",function(){return p.CHM(e),p.oxw().onSubmit()}),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()}if(2&c){const e=p.oxw();p.xp6(1),p.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),p.xp6(1),p.hij(" ",p.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function HH(c,a){if(1&c&&(p.TgZ(0,"div",6),p.TgZ(1,"perun-web-apps-alert",7),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function DH(c,a){1&c&&p._UZ(0,"mat-spinner",8)}let PH=(()=>{class c{constructor(e,t,s,o,l){this.storeService=e,this.translate=t,this.apiRequestConfiguration=s,this.usersService=o,this._formBuilder=l,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 Wp("",Qa.required,[fH(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new Wp("",Qa.required)},{validators:Pp.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin({login:this.login,namespace:this.namespace,newPassword:this.newPasswdForm.get("passwordCtrl").value}).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken({token:this.token,password:this.newPasswdForm.get("passwordCtrl").value}).subscribe(()=>{this.success=!0,this.loading=!1})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Ui),p.Y36(Z_),p.Y36(Rn),p.Y36(eH))},c.\u0275cmp=p.Xpm({type:c,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&&(p.YNc(0,SH,1,3,"perun-web-apps-password-form",0),p.YNc(1,MH,4,4,"div",1),p.YNc(2,HH,4,3,"div",2),p.YNc(3,DH,1,0,"mat-spinner",3)),2&e&&(p.Q6J("ngIf",!t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",!t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",t.loading))},directives:[E.O5,EH,Gp,Ql,md,OA,fa],pipes:[da],styles:[""]}),c})(),RH=(()=>{class c{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"perun-web-apps-alert",0),p._UZ(1,"div",1),p.qZA()),2&e&&(p.xp6(1),p.Q6J("innerHTML",t.invalidRequestMessage,p.oJD))},directives:[OA],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),c})();function kH(c,a){if(1&c&&(p.O4$(),p.kcU(),p.TgZ(0,"p",9),p.TgZ(1,"em"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function IH(c,a){if(1&c&&(p.O4$(),p.kcU(),p.TgZ(0,"p",9),p.TgZ(1,"em"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function VH(c,a){if(1&c&&(p.O4$(),p.kcU(),p._UZ(0,"perun-web-apps-password-reset-form",10)),2&c){const e=p.oxw();p.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function BH(c,a){1&c&&(p.O4$(),p.kcU(),p._UZ(0,"perun-web-apps-invalid-request-alert"))}let OH=(()=>{class c{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Hn))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"div"),p._UZ(1,"div",0),p.TgZ(2,"div",1),p.TgZ(3,"h1"),p._uU(4),p.ALo(5,"translate"),p.qZA(),p.O4$(),p.TgZ(6,"svg",2),p.TgZ(7,"g",3),p._UZ(8,"path",4),p._UZ(9,"path",5),p.qZA(),p.qZA(),p.qZA(),p.YNc(10,kH,4,4,"p",6),p.YNc(11,IH,4,4,"p",6),p.YNc(12,VH,1,5,"perun-web-apps-password-reset-form",7),p.YNc(13,BH,1,0,"perun-web-apps-invalid-request-alert",8),p.qZA()),2&e&&(p.xp6(1),p.Q6J("innerHTML",t.passwordResetLogo,p.oJD),p.xp6(3),p.hij(" ",p.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),p.xp6(6),p.Q6J("ngIf",t.login),p.xp6(1),p.Q6J("ngIf",t.namespace),p.xp6(1),p.Q6J("ngIf",t.validToken||t.authWithoutToken),p.xp6(1),p.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[E.O5,PH,RH],pipes:[da],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),c})();function FH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let LH=(()=>{class c{constructor(e,t,s,o,l){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=o,this.storeService=l,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl),p.Y36(Ui),p.Y36(X_),p.Y36(yi),p.Y36(Gt))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div",1),p.TgZ(4,"mat-form-field"),p.TgZ(5,"mat-label"),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"input",2,3),p.NdJ("ngModelChange",function(o){return t.subject=o}),p.qZA(),p.YNc(10,FH,3,3,"mat-error",4),p.qZA(),p.TgZ(11,"mat-form-field"),p.TgZ(12,"mat-label"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"textarea",5),p.NdJ("ngModelChange",function(o){return t.message=o}),p.ALo(16,"translate"),p._uU(17," "),p.qZA(),p.TgZ(18,"mat-hint"),p._uU(19),p.ALo(20,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(21,"div",6),p.TgZ(22,"div",7),p.TgZ(23,"button",8),p.NdJ("click",function(){return t.close()}),p._uU(24),p.ALo(25,"translate"),p.qZA(),p.TgZ(26,"button",9),p.NdJ("click",function(){return t.sendBugReport()}),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e){const s=p.MAs(9);p.xp6(1),p.Oqu(p.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),p.xp6(5),p.Oqu(p.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),p.xp6(2),p.Q6J("ngModel",t.subject),p.xp6(2),p.Q6J("ngIf",s.invalid),p.xp6(3),p.Oqu(p.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),p.xp6(2),p.s9C("placeholder",p.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),p.Q6J("ngModel",t.message),p.xp6(4),p.Oqu(p.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),p.xp6(5),p.hij(" ",p.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),p.xp6(2),p.Q6J("disabled",s.invalid),p.xp6(1),p.hij(" ",p.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Tp,Od,i_,sa,PE,ua,Yp,zp,SA,E.O5,sv,Xm,N_,md],pipes:[da],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),c})(),jH=(()=>{class c{transform(e,t,s){return e[`${s}_${t}`]}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"localisedText",type:c,pure:!0}),c})(),NH=(()=>{class c{transform(e,t){return e["link_"+t]||e.link_en}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"localisedLink",type:c,pure:!0}),c})(),zH=(()=>{class c{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"footerLogoPath",type:c,pure:!0}),c})();function GH(c,a){if(1&c&&(p.TgZ(0,"a",13),p.ALo(1,"localisedLink"),p._UZ(2,"img",14),p.ALo(3,"footerLogoPath"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("href",p.xi3(1,2,e,t.language),p.LSH),p.xp6(2),p.s9C("src",p.lcZ(3,5,e.logo),p.LSH)}}function UH(c,a){if(1&c&&(p.TgZ(0,"span"),p._UZ(1,"img",14),p.ALo(2,"footerLogoPath"),p.qZA()),2&c){const e=p.oxw().$implicit;p.xp6(1),p.s9C("src",p.lcZ(2,1,e.logo),p.LSH)}}function qH(c,a){if(1&c&&(p.TgZ(0,"div"),p.YNc(1,GH,4,7,"a",11),p.ALo(2,"localisedLink"),p.YNc(3,UH,3,3,"span",12),p.ALo(4,"localisedLink"),p.qZA()),2&c){const e=a.$implicit,t=p.oxw(3);p.xp6(1),p.Q6J("ngIf",p.xi3(2,2,e,t.language)),p.xp6(2),p.Q6J("ngIf",!p.xi3(4,5,e,t.language))}}const WH=function(c){return{"min-height":c}};function $H(c,a){if(1&c&&(p.TgZ(0,"div",10),p.YNc(1,qH,5,8,"div",5),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw();p.Q6J("ngStyle",p.VKq(2,WH,t.columnContentHeight+"px")),p.xp6(1),p.Q6J("ngForOf",e.elements)}}const bo=function(c){return{color:c}};function QH(c,a){if(1&c&&(p.TgZ(0,"i",20),p._uU(1),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(2,bo,t.linksTextColor)),p.xp6(1),p.hij(" ",e.icon," ")}}function YH(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"span",21),p.NdJ("click",function(){p.CHM(e);const s=p.oxw().$implicit;return p.oxw(3).openDialog(s.dialog)}),p._uU(1),p.ALo(2,"localisedText"),p.qZA()}if(2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(6,bo,t.linksTextColor)),p.xp6(1),p.hij("",p.Dn7(2,2,e,t.language,"label")," ")}}function JH(c,a){if(1&c&&(p.TgZ(0,"a",22),p.ALo(1,"localisedLink"),p._uU(2),p.ALo(3,"localisedText"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("href",p.xi3(1,3,e,t.language),p.LSH)("ngStyle",p.VKq(10,bo,t.linksTextColor)),p.xp6(2),p.Oqu(p.Dn7(3,6,e,t.language,"label"))}}function KH(c,a){if(1&c&&(p.TgZ(0,"span",10),p._uU(1),p.ALo(2,"localisedText"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(6,bo,t.linksTextColor)),p.xp6(1),p.Oqu(p.Dn7(2,2,e,t.language,"label"))}}function ZH(c,a){if(1&c&&(p.TgZ(0,"div",16),p.YNc(1,QH,2,4,"i",17),p.YNc(2,YH,3,8,"span",18),p.YNc(3,JH,4,12,"a",19),p.ALo(4,"localisedLink"),p.YNc(5,KH,3,8,"span",9),p.ALo(6,"localisedLink"),p.qZA()),2&c){const e=a.$implicit,t=p.oxw(3);p.xp6(1),p.Q6J("ngIf",e.icon),p.xp6(1),p.Q6J("ngIf",e.dialog),p.xp6(1),p.Q6J("ngIf",p.xi3(4,4,e,t.language)&&!e.dialog),p.xp6(2),p.Q6J("ngIf",!p.xi3(6,7,e,t.language)&&!e.dialog)}}const XH=function(c){return{height:c}};function eD(c,a){if(1&c&&(p.TgZ(0,"div",10),p.YNc(1,ZH,7,10,"div",15),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw();p.Q6J("ngStyle",p.VKq(2,XH,t.columnContentHeight+"px")),p.xp6(1),p.Q6J("ngForOf",e.elements)}}function tD(c,a){if(1&c&&(p.TgZ(0,"div",7),p.TgZ(1,"h6",8),p._uU(2),p.ALo(3,"localisedText"),p.qZA(),p.YNc(4,$H,2,4,"div",9),p.YNc(5,eD,2,4,"div",9),p.qZA()),2&c){const e=a.$implicit,t=p.oxw();p.ekj("my-auto",t.containsLogos),p.xp6(1),p.Q6J("ngStyle",p.VKq(10,bo,t.headersTextColor)),p.xp6(1),p.hij(" ",p.Dn7(3,6,e,t.language,"title")," "),p.xp6(2),p.Q6J("ngIf",e.logos),p.xp6(1),p.Q6J("ngIf",e.elements&&!e.logos)}}function iD(c,a){if(1&c&&(p.TgZ(0,"span"),p.TgZ(1,"a",6),p._uU(2),p.qZA(),p.qZA()),2&c){const e=a.$implicit,t=a.index,s=p.oxw();p.xp6(1),p.Q6J("href",e.url,p.LSH)("ngStyle",p.VKq(3,bo,s.copyrightTextColor)),p.xp6(1),p.Oqu(t?", "+e.name:e.name)}}const nD=function(c){return{background:c}};let rD=(()=>{class c{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Fd();"reportIssue"===e&&(t.width="550px",this.dialog.open(LH,t))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Ui),p.Y36(Wa))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"footer",0),p.TgZ(1,"div",1),p.YNc(2,tD,6,12,"div",2),p.qZA(),p._UZ(3,"hr",3),p.TgZ(4,"div",4),p._uU(5),p.YNc(6,iD,3,5,"span",5),p._uU(7," Version "),p.TgZ(8,"a",6),p._uU(9),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Q6J("ngStyle",p.VKq(8,nD,t.bgColor)),p.xp6(2),p.Q6J("ngForOf",t.footerColumns),p.xp6(2),p.Q6J("ngStyle",p.VKq(10,bo,t.copyrightTextColor)),p.xp6(1),p.hij(" \xa9 ",t.currentYear," Copyright: "),p.xp6(1),p.Q6J("ngForOf",t.copyrightItems),p.xp6(2),p.Q6J("href",t.githubRepository,p.LSH)("ngStyle",p.VKq(12,bo,t.copyrightTextColor)),p.xp6(1),p.Oqu(t.version))},directives:[E.PC,E.sg,E.O5],pipes:[jH,NH,zH],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}"]}),c})();const aD=["footer"],sD=function(c){return{background:c}},oD=function(c){return{"min-height":c}};let lD=(()=>{class c{constructor(e,t,s,o,l,n,i){this.dialog=e,this.usersService=t,this.preferredLangService=s,this.translateService=o,this.store=l,this.attributesManagerService=n,this.changeDetector=i,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=Dp("namespace",t),t.includes("token")?(this.token=Dp("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(s=>{const o=s.find(l=>l.friendlyNameParameter===this.namespace);this.login=o?String(o.value):""}))}ngAfterViewInit(){var e,t,s,o;const l=null!==(o=null===(s=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===s?void 0:s.toString())&&void 0!==o?o:"0";this.contentHeight="calc(100vh - 84px - "+l+"px)",this.changeDetector.detectChanges()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Wa),p.Y36(Rn),p.Y36(tb),p.Y36(Ui),p.Y36(Gt),p.Y36(Dn),p.Y36(p.sBO))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&p.Gf(aD,5),2&e){let s;p.iGM(s=p.CRH())&&(t.footer=s.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&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-header",0),p.TgZ(2,"div",1),p.TgZ(3,"div",2),p._UZ(4,"perun-web-apps-password-reset-page",3),p.qZA(),p.TgZ(5,"div",null,4),p._UZ(7,"perun-web-apps-footer"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.xp6(2),p.Q6J("ngStyle",p.VKq(8,sD,t.contentBackgroundColor)),p.xp6(1),p.Q6J("ngStyle",p.VKq(10,oD,t.contentHeight)),p.xp6(1),p.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[gA,E.PC,OH,rD],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}}"]}),c})();class cD{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let dD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,zl,ar,Ll]]}),c})();const uD=[];let hD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Fu.forRoot(uD,{relativeLinkResolution:"legacy"}),E.ez],Fu]}),c})(),pD=(()=>{class c{constructor(e,t,s,o,l){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=o,this.utilsService=l}initializeColors(e,t){return new Promise(s=>{t.forEach(o=>{const l=this.storeService.get("theme",o.configValue);document.documentElement.style.setProperty(o.cssVariable,l)}),e.forEach(o=>{const l=this.storeService.get("theme",o.configValue);document.documentElement.style.setProperty(o.cssVariable,l),this.setEntityTheme(o.entity,l)}),s()})}setEntityTheme(e,t){const s=function fD(c){return[En(tinycolor(c).lighten(52),"50"),En(tinycolor(c).lighten(37),"100"),En(tinycolor(c).lighten(26),"200"),En(tinycolor(c).lighten(12),"300"),En(tinycolor(c).lighten(6),"400"),En(tinycolor(c),"500"),En(tinycolor(c).darken(6),"600"),En(tinycolor(c).darken(12),"700"),En(tinycolor(c).darken(18),"800"),En(tinycolor(c).darken(24),"900"),En(tinycolor(c).lighten(50).saturate(30),"A100"),En(tinycolor(c).lighten(30).saturate(30),"A200"),En(tinycolor(c).lighten(10).saturate(15),"A400"),En(tinycolor(c).lighten(5).saturate(5),"A700")]}(t);for(const o of s){const i=`--${e}-theme-primary-contrast-${o.name}`,r=o.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${o.name}`,`${o.red},${o.green},${o.blue}`),document.documentElement.style.setProperty(i,r)}}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=>{var s;this.storeService.setInstanceConfig(t);const o=document.location.hostname;(null===(s=null==t?void 0:t.brandings)||void 0===s?void 0:s[o])&&this.storeService.setBanding(o),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Gt),p.LFG(Yi),p.LFG(Vi),p.LFG(rt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function En(c,a){const e=tinycolor(c),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let gD=(()=>{class c{constructor(e,t,s){this.initAuthService=e,this.appConfigService=t,this.location=s}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 this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(kp),p.LFG(pD),p.LFG(E.Ye))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const mD=new p.OlP("perun-api-service");let RE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),VE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),xb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe,$r,VE],Qe,VE]}),c})(),FA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),MD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),OE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,MD,za]]}),c})(),LE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[dd,Qe],dd,Qe]}),c})(),PD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra]]}),c})(),LA=(()=>{class c{constructor(){this.changes=new Ve.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const zD={provide:LA,deps:[[new p.FiY,new p.tp0,LA]],useFactory:function ND(c){return c||new LA}};let NE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[zD,Hr],imports:[[Qe,E.ez,za,ar,PD,kr,sn],Qe]}),c})(),nP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[no]]}),c})(),Vb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[nP,Qe],Qe]}),c})(),DP=(()=>{class c{constructor(){this.changes=new Ve.x,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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const kP={provide:new p.OlP("mat-datepicker-scroll-strategy"),deps:[qn],useFactory:function RP(c){return()=>c.scrollStrategies.reposition()}};let KA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[DP,kP],imports:[[E.ez,ar,Hl,Jr,za,Qe],Pr]}),c})(),nS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,Pr],Pr,Qe]}),c})(),aS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[dd,sn,Qe,Al,E.ez],dd,Qe,Al,FA]}),c})(),ZA=(()=>{class c{constructor(){this.changes=new Ve.x}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const XP={provide:ZA,deps:[[new p.FiY,new p.tp0,ZA]],useFactory:function ZP(c){return c||new ZA}};let XA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[XP],imports:[[E.ez,Qe]]}),c})(),rR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,za,sn,$r,Jr],Qe]}),c})(),sS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),oS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sS,sn,Qe,$r],sS,Qe]}),c})();const uS=new p.OlP("mat-chips-default-options");let t0=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Hr,{provide:uS,useValue:{separatorKeyCodes:[13]}}],imports:[[Qe]]}),c})(),hS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,RE,FA,OE,ar,LE,xb,kr,Vb,zl,Jp,oa,Ab,no,IA,Qd,NE,KA,pm,nS,aS,Hd,ab,XA,Rr,co,ao,sn,Vb,oS,t0],RE,FA,OE,ar,LE,xb,kr,Vb,zl,Jp,oa,Ab,no,IA,Qd,NE,KA,pm,nS,aS,Hd,ab,XA,Rr,co,ao,sn,rR,oS,t0]}),c})();function n0(c,a,e){for(let t in a)if(a.hasOwnProperty(t)){const s=a[t];s?c.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):c.removeProperty(t)}return c}function Xd(c,a){const e=a?"":"none";n0(c.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function pS(c,a,e){n0(c.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function Lb(c,a){return a&&"none"!=a?c+" "+a:c}function fS(c){const a=c.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(c)*a}function r0(c,a){return c.getPropertyValue(a).split(",").map(t=>t.trim())}function a0(c){const a=c.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function s0(c,a,e){const{top:t,bottom:s,left:o,right:l}=c;return e>=t&&e<=s&&a>=o&&a<=l}function ef(c,a,e){c.top+=a,c.bottom=c.top+c.height,c.left+=e,c.right=c.left+c.width}function gS(c,a,e,t){const{top:s,right:o,bottom:l,left:n,width:i,height:r}=c,d=i*a,u=r*a;return t>s-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:a0(e)})})}handleScroll(a){const e=mn(a),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let o,l;if(e===this._document){const r=this.getViewportScrollPosition();o=r.top,l=r.left}else o=e.scrollTop,l=e.scrollLeft;const n=s.top-o,i=s.left-l;return this.positions.forEach((r,d)=>{r.clientRect&&e!==d&&e.contains(d)&&ef(r.clientRect,n,i)}),s.top=o,s.left=l,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function _S(c){const a=c.cloneNode(!0),e=a.querySelectorAll("[id]"),t=c.nodeName.toLowerCase();a.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),D=this._dropContainer;if(!b)return void this._endDragSequence(n);(!D||!D.isDragging()&&!D.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const r=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,i);else{const d=this._activeTransform;d.x=r.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=r.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:n,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new mS(t),l.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=nt(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Xd(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>Jt(t)),this._handles.forEach(t=>Xd(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=Jt(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,jb),e.addEventListener("touchstart",this._pointerDown,wS),e.addEventListener("dragstart",this._nativeDragStart,jb)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?Jt(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),Xd(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),Xd(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){tf(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,o=this._placeholder=this._createPlaceholderElement(),l=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();s.insertBefore(l,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),pS(t,!1,o0),this._document.body.appendChild(s.replaceChild(o,t)),this._getPreviewInsertionPoint(s,n).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=tf(e),o=!s&&0!==e.button,l=this._rootElement,n=mn(e),i=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),r=s?eh(e):Xu(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||o||i||r)return;if(this._handles.length){const f=l.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=a0(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){pS(this._rootElement,!0,o0),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(a),o=this._getDragDistance(s),l=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:o,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:l,distance:o,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,l,o,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:s}){let o=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,a,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let s;if(t&&a){const o=a.matchSize?this._rootElement.getBoundingClientRect():null,l=a.viewContainer.createEmbeddedView(t,a.context);l.detectChanges(),s=AS(l,this._document),this._previewRef=l,a.matchSize?xS(s,o):s.style.transform=Nb(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const o=this._rootElement;s=_S(o),xS(s,o.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return n0(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},o0),Xd(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>s.classList.add(o)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function PR(c){const a=getComputedStyle(c),e=r0(a,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const s=e.indexOf(t),o=r0(a,"transition-duration"),l=r0(a,"transition-delay");return fS(o[s])+fS(l[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=l=>{var n;(!l||mn(l)===this._preview&&"transform"===l.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",s),t(),clearTimeout(o))},o=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=AS(this._placeholderRef,this._document)):t=_S(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),s=a===this._rootElement?null:a,o=s?s.getBoundingClientRect():t,l=tf(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:o.left-t.left+(l.pageX-o.left-n.left),y:o.top-t.top+(l.pageY-o.top-n.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=tf(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,s=t.pageX-e.left,o=t.pageY-e.top;if(this._ownerSVGElement){const l=this._ownerSVGElement.getScreenCTM();if(l){const n=this._ownerSVGElement.createSVGPoint();return n.x=s,n.y=o,n.matrixTransform(l.inverse())}}return{x:s,y:o}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:l}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:r}=this._getPreviewRect(),d=n.top+l,u=n.bottom-(r-l);t=vS(t,n.left+o,n.right-(i-o)),s=vS(s,d,u)}return{x:t,y:s}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,s=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,l=Math.abs(e-o.x),n=Math.abs(t-o.y);return l>this._config.pointerDirectionChangeThreshold&&(s.x=e>o.x?1:-1,o.x=e),n>this._config.pointerDirectionChangeThreshold&&(s.y=t>o.y?1:-1,o.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Xd(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,jb),a.removeEventListener("touchstart",this._pointerDown,wS),a.removeEventListener("dragstart",this._nativeDragStart,jb)}_applyRootElementTransform(a,e){const t=Nb(a,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=Lb(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,o=Nb(a,e);this._preview.style.transform=Lb(o,s)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 o=t.left-s.left,l=s.right-t.right,n=t.top-s.top,i=s.bottom-t.bottom;t.width>s.width?(o>0&&(a+=o),l>0&&(a-=l)):a=0,t.height>s.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:tf(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=mn(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ef(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Hc(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Jt(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function Nb(c,a){return`translate3d(${Math.round(c)}px, ${Math.round(a)}px, 0)`}function vS(c,a,e){return Math.max(a,Math.min(e,c))}function tf(c){return"t"===c.type[0]}function AS(c,a){const e=c.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function xS(c,a){c.style.width=`${a.width}px`,c.style.height=`${a.height}px`,c.style.transform=Nb(a.left,a.top)}function nf(c,a){return Math.max(0,Math.min(a,c))}class BR{constructor(a,e,t,s,o){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ve.x,this.entered=new Ve.x,this.exited=new Ve.x,this.dropped=new Ve.x,this.sorted=new Ve.x,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=qt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ve.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function DR(c=0,a=to.z){return c<0&&(c=0),(0,wd.H)(c,c,a)}(0,bd).pipe(vt(this._stopScrollTimers)).subscribe(()=>{const l=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?l.scrollBy(0,-n):2===this._verticalScrollDirection&&l.scrollBy(0,n),1===this._horizontalScrollDirection?l.scrollBy(-n,0):2===this._horizontalScrollDirection&&l.scrollBy(n,0)})},this.element=Jt(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new mS(t)}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(a,e,t,s){let o;this._draggingStarted(),null==s?(o=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===o&&(o=this._getItemIndexFromPointerPosition(a,e,t))):o=s;const l=this._activeDraggables,n=l.indexOf(a),i=a.getPlaceholderElement();let r=l[o];if(r===a&&(r=l[o+1]),!r&&(null==o||-1===o||o-1&&l.splice(n,1),r&&!this._dragDropRegistry.isDragging(r)){const d=r.getRootElement();d.parentElement.insertBefore(i,d),l.splice(o,0,a)}else Jt(this.element).appendChild(i),l.push(a);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,s,o,l,n){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:o,distance:l,dropPoint:n})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===a.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=Jt(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,s){if(this.sortingDisabled||!this._clientRect||!gS(this._clientRect,.05,e,t))return;const o=this._itemPositions,l=this._getItemIndexFromPointerPosition(a,e,t,s);if(-1===l&&o.length>0)return;const n="horizontal"===this._orientation,i=o.findIndex(se=>se.drag===a),r=o[l],u=r.clientRect,f=i>l?1:-1,b=this._getItemOffsetPx(o[i].clientRect,u,f),D=this._getSiblingOffsetPx(i,o,f),G=o.slice();(function VR(c,a,e){const t=nf(a,c.length-1),s=nf(e,c.length-1);if(t===s)return;const o=c[t],l=s{if(G[Oe]===se)return;const lt=se.drag===a,et=lt?b:D,At=lt?a.getPlaceholderElement():se.drag.getRootElement();se.offset+=et,n?(At.style.transform=Lb(`translate3d(${Math.round(se.offset)}px, 0, 0)`,se.initialTransform),ef(se.clientRect,0,et)):(At.style.transform=Lb(`translate3d(0, ${Math.round(se.offset)}px, 0)`,se.initialTransform),ef(se.clientRect,et,0))}),this._previousSwap.overlaps=s0(u,e,t),this._previousSwap.drag=r.drag,this._previousSwap.delta=n?s.x:s.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,s=0,o=0;if(this._parentPositions.positions.forEach((l,n)=>{n===this._document||!l.clientRect||t||gS(l.clientRect,.05,a,e)&&([s,o]=function OR(c,a,e,t){const s=SS(a,t),o=MS(a,e);let l=0,n=0;if(s){const i=c.scrollTop;1===s?i>0&&(l=1):c.scrollHeight-i>c.clientHeight&&(l=2)}if(o){const i=c.scrollLeft;1===o?i>0&&(n=1):c.scrollWidth-i>c.clientWidth&&(n=2)}return[l,n]}(n,l.clientRect,a,e),(s||o)&&(t=n))}),!s&&!o){const{width:l,height:n}=this._viewportRuler.getViewportSize(),i={width:l,height:n,top:0,right:l,bottom:n,left:0};s=SS(i,e),o=MS(i,a),t=window}t&&(s!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=o,this._scrollNode=t,(s||o)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=Jt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=Jt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:a0(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=Jt(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const o=null===(t=this._itemPositions.find(l=>l.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=o||""}}),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(a,e,t){const s="horizontal"===this._orientation,o=e[a].clientRect,l=e[a+-1*t];let n=o[s?"width":"height"]*t;if(l){const i=s?"left":"top",r=s?"right":"bottom";-1===t?n-=l.clientRect[i]-o[r]:n+=o[i]-l.clientRect[r]}return n}_getItemOffsetPx(a,e,t){const s="horizontal"===this._orientation;let o=s?e.left-a.left:e.top-a.top;return-1===t&&(o+=s?e.width-a.width:e.height-a.height),o}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const l=t[t.length-1].clientRect;return s?a>=l.right:e>=l.bottom}{const l=t[0].clientRect;return s?a<=l.left:e<=l.top}}_getItemIndexFromPointerPosition(a,e,t,s){const o="horizontal"===this._orientation,l=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===a)return!1;if(s){const r=o?s.x:s.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&r===this._previousSwap.delta)return!1}return o?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&ts._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!s0(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const o=Jt(this.element);return s===o||o.contains(s)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{ef(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 a=Hc(Jt(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function SS(c,a){const{top:e,bottom:t,height:s}=c,o=.05*s;return a>=e-o&&a<=e+o?1:a>=t-o&&a<=t+o?2:0}function MS(c,a){const{left:e,right:t,width:s}=c,o=.05*s;return a>=e-o&&a<=e+o?1:a>=t-o&&a<=t+o?2:0}const zb=gn({passive:!1,capture:!0});let FR=(()=>{class c{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 Ve.x,this.pointerUp=new Ve.x,this.scroll=new Ve.x,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,zb)})}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,zb)}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:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:zb}),s||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:zb}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,l)=>{this._document.addEventListener(l,o.handler,o.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 mi.y(s=>this._ngZone.runOutsideAngular(()=>{const l=n=>{this._activeDragInstances.length&&s.next(n)};return e.addEventListener("scroll",l,!0),()=>{e.removeEventListener("scroll",l,!0)}}))),(0,Un.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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const LR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let jR=(()=>{class c{constructor(e,t,s,o){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=o}createDrag(e,t=LR){return new IR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new BR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(p.R0b),p.LFG(io),p.LFG(FR))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),NR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[jR],imports:[Pr]}),c})(),zR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez]]}),c})(),GR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),QR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),ik=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[QR,Qe],Qe]}),c})(),gk=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe],Qe]}),c})();new p.OlP("mat-selectsearch-default-options");let yk=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qd,ar,xb,kr,Jp,co]]}),c})(),wk=(()=>{class c extends cd{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const vk={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 Ak=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:An,useClass:wk},{provide:od,useValue:vk}],imports:[[E.ez,xb,Vb,IA,t0,NR,Ll,Fu,XA,Rr,Jp,BA,kr,Hd,ar,co,oa,Qd,Ab,sn,zR,GR,ik,KA,gk,gd,ao,yk,no,zl,Kv,hS]]}),c})();const AI={provide:y.TP,useExisting:(0,p.Gpc)(()=>Ip),multi:!0};function xI(c){return new cD(c,"./assets/i18n/",".json")}function TI(c){const a={basePath:c.get("api_url")};return new We(a)}const EI=c=>()=>c.loadConfigs();let SI=(()=>{class c{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(J_),p.LFG(Ui))},c.\u0275mod=p.oAB({type:c,bootstrap:[lD]}),c.\u0275inj=p.cJS({providers:[J_,{provide:p.ip1,useFactory:EI,multi:!0,deps:[gD]},{provide:We,useFactory:TI,deps:[Gt]},Ip,AI,{provide:mD,useClass:eb},{provide:Rp.Hy,useFactory:()=>localStorage}],imports:[[Br,Ll.forRoot({loader:{provide:fo,useFactory:xI,deps:[y.eN]}}),ow,kr,dD,df,y.JF,hD,hS,BA,hH,Rp.zr.forRoot(),Ak]]}),c})();(0,p.G48)(),Vr().bootstrapModule(SI).catch(c=>console.error(c))},1302:function(L,N,x){var E;!function(p,I){var O={};!function(p){"use strict";p.__esModule=!0,p.digestLength=32,p.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 O(oe,W,ae,ie,le){for(var Te,Me,De,Ce,fe,ve,Ze,Se,xe,Be,ne,ce,de;le>=64;){for(Te=W[0],Me=W[1],De=W[2],Ce=W[3],fe=W[4],ve=W[5],Ze=W[6],Se=W[7],Be=0;Be<16;Be++)oe[Be]=(255&ae[ne=ie+4*Be])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Be=16;Be<64;Be++)oe[Be]=((ce=((xe=oe[Be-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+oe[Be-7]|0)+((de=((xe=oe[Be-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+oe[Be-16]|0);for(Be=0;Be<64;Be++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&ve^~fe&Ze)|0)+(Se+(I[Be]+oe[Be]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&De^Me&De)|0,Se=Ze,Ze=ve,ve=fe,fe=Ce+ce|0,Ce=De,De=Me,Me=Te,Te=ce+de|0;W[0]+=Te,W[1]+=Me,W[2]+=De,W[3]+=Ce,W[4]+=fe,W[5]+=ve,W[6]+=Ze,W[7]+=Se,ie+=64,le-=64}return ie}var B=function(){function oe(){this.digestLength=p.digestLength,this.blockSize=p.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 oe.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},oe.prototype.clean=function(){for(var W=0;W0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,W,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;return this},oe.prototype.finish=function(W){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var De=ie+1;De>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(De=0;De<8;De++)W[4*De+0]=this.state[De]>>>24&255,W[4*De+1]=this.state[De]>>>16&255,W[4*De+2]=this.state[De]>>>8&255,W[4*De+3]=this.state[De]>>>0&255;return this},oe.prototype.digest=function(){var W=new Uint8Array(this.digestLength);return this.finish(W),W},oe.prototype._saveState=function(W){for(var ae=0;aethis.blockSize)(new B).update(W).finish(ae).clean();else for(var ie=0;ie1&&W.update(oe),ae&&W.update(ae),W.update(ie),W.finish(oe),ie[0]++}p.HMAC=j,p.hash=q,p.default=q,p.hmac=Y;var $=new Uint8Array(p.digestLength);p.hkdf=function z(oe,W,ae,ie){void 0===W&&(W=$),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Y(W,oe),Me=new j(Te),De=new Uint8Array(Me.digestLength),Ce=De.length,fe=new Uint8Array(ie),ve=0;ve>>24&255,Me[1]=Ze>>>16&255,Me[2]=Ze>>>8&255,Me[3]=Ze>>>0&255,le.reset(),le.update(W),le.update(Me),le.finish(Ce);for(var Se=0;Se=z.status}function j($){try{$.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Y=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),U=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Y?function($,z,re){var oe=q.URL||q.webkitURL,W=document.createElement("a");W.download=z=z||$.name||"download",W.rel="noopener","string"==typeof $?(W.href=$,W.origin===location.origin?j(W):B(W.href)?O($,z,re):j(W,W.target="_blank")):(W.href=oe.createObjectURL($),setTimeout(function(){oe.revokeObjectURL(W.href)},4e4),setTimeout(function(){j(W)},0))}:"msSaveOrOpenBlob"in navigator?function($,z,re){if(z=z||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function I($,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($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,re),z);else if(B($))O($,z,re);else{var oe=document.createElement("a");oe.href=$,oe.target="_blank",setTimeout(function(){j(oe)})}}:function($,z,re,oe){if((oe=oe||open("","_blank"))&&(oe.document.title=oe.document.body.innerText="downloading..."),"string"==typeof $)return O($,z,re);var W="application/octet-stream"===$.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||W&&ae||Y)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var De=le.result;De=ie?De:De.replace(/^data:[^;]*;/,"data:attachment/file;"),oe?oe.location.href=De:location=De,oe=null},le.readAsDataURL($)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL($);oe?oe.location=Me:location.href=Me,oe=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=U.saveAs=U,L.exports=U}.apply(N,[]))&&(L.exports=p)},8306:(L,N,x)=>{"use strict";x.d(N,{y:()=>$});var E=x(930),p=x(727),I=x(8822),O=x(4671);var q=x(2416),Y=x(576),U=x(2806);let $=(()=>{class W{constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new W;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function oe(W){return W&&W instanceof E.Lv||function re(W){return W&&(0,Y.m)(W.next)&&(0,Y.m)(W.error)&&(0,Y.m)(W.complete)}(W)&&(0,p.Nn)(W)}(ie)?ie:new E.Hp(ie,le,Te);return(0,U.x)(()=>{const{operator:De,source:Ce}=this;Me.add(De?De.call(Me,Ce):Ce?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const De=new E.Hp({next:Ce=>{try{ie(Ce)}catch(fe){Me(fe),De.unsubscribe()}},error:Me,complete:Te});this.subscribe(De)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[I.L](){return this}pipe(...ie){return function j(W){return 0===W.length?O.y:1===W.length?W[0]:function(ie){return W.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(De=>Me=De,De=>Te(De),()=>le(Me))})}}return W.create=ae=>new W(ae),W})();function z(W){var ae;return null!==(ae=null!=W?W:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(L,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),p=x(727);const O=(0,x(3888).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=x(8737),j=x(2806);let q=(()=>{class U extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Y(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:oe,observers:W}=this;return re||oe?p.Lc:(this.currentObservers=null,W.push(z),new p.w0(()=>{this.currentObservers=null,(0,B.P)(W,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:oe,isStopped:W}=this;re?z.error(oe):W&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return U.create=($,z)=>new Y($,z),U})();class Y extends q{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,$)}error($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==re?re:p.Lc}}},930:(L,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),p=x(727),I=x(2416),O=x(7849),B=x(5032);const j=U("C",void 0,void 0);function U(Ce,fe,ve){return{kind:Ce,value:fe,error:ve}}var $=x(3410),z=x(2806);class re extends p.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,p.Nn)(fe)&&fe.add(this)):this.destination=De}static create(fe,ve,Ze){return new ie(fe,ve,Ze)}next(fe){this.isStopped?Me(function Y(Ce){return U("N",Ce,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(Ce){return U("E",void 0,Ce)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const oe=Function.prototype.bind;function W(Ce,fe){return oe.call(Ce,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:ve}=this;if(ve.next)try{ve.next(fe)}catch(Ze){le(Ze)}}error(fe){const{partialObserver:ve}=this;if(ve.error)try{ve.error(fe)}catch(Ze){le(Ze)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(ve){le(ve)}}}class ie extends re{constructor(fe,ve,Ze){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=ve?ve:void 0,complete:null!=Ze?Ze:void 0};else{let xe;this&&I.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&W(fe.next,xe),error:fe.error&&W(fe.error,xe),complete:fe.complete&&W(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(Ce){I.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Ce):(0,O.h)(Ce)}function Me(Ce,fe){const{onStoppedNotification:ve}=I.v;ve&&$.z.setTimeout(()=>ve(Ce,fe))}const De={closed:!0,next:B.Z,error:function Te(Ce){throw Ce},complete:B.Z}},727:(L,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>B,Nn:()=>q});var E=x(576);const I=(0,x(3888).d)(U=>function(z){U(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,oe)=>`${oe+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class B{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const W of z)W.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch(W){$=W instanceof I?W.errors:[W]}const{_finalizers:oe}=this;if(oe){this._finalizers=null;for(const W of oe)try{Y(W)}catch(ae){$=null!=$?$:[],ae instanceof I?$=[...$,...ae.errors]:$.push(ae)}}if($)throw new I($)}}add($){var z;if($&&$!==this)if(this.closed)Y($);else{if($ instanceof B){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,O.P)(z,$),$ instanceof B&&$._removeParent(this)}}B.EMPTY=(()=>{const U=new B;return U.closed=!0,U})();const j=B.EMPTY;function q(U){return U instanceof B||U&&"closed"in U&&(0,E.m)(U.remove)&&(0,E.m)(U.add)&&(0,E.m)(U.unsubscribe)}function Y(U){(0,E.m)(U)?U():U.unsubscribe()}},2416:(L,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(L,N,x)=>{"use strict";x.d(N,{a:()=>$});var E=x(8306),p=x(4742),I=x(2076),O=x(4671),B=x(3268),j=x(3269),q=x(1810),Y=x(5403),U=x(9672);function $(...oe){const W=(0,j.yG)(oe),ae=(0,j.jO)(oe),{args:ie,keys:le}=(0,p.D)(oe);if(0===ie.length)return(0,I.D)([],W);const Te=new E.y(function z(oe,W,ae=O.y){return ie=>{re(W,()=>{const{length:le}=oe,Te=new Array(le);let Me=le,De=le;for(let Ce=0;Ce{const fe=(0,I.D)(oe[Ce],W);let ve=!1;fe.subscribe((0,Y.x)(ie,Ze=>{Te[Ce]=Ze,ve||(ve=!0,De--),De||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,W,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,B.Z)(ae)):Te}function re(oe,W,ae){oe?(0,U.f)(ae,oe,W):W()}},7272:(L,N,x)=>{"use strict";x.d(N,{z:()=>B});var E=x(8189),I=x(3269),O=x(2076);function B(...j){return function p(){return(0,E.J)(1)}()((0,O.D)(j,(0,I.yG)(j)))}},515:(L,N,x)=>{"use strict";x.d(N,{E:()=>p});const p=new(x(8306).y)(B=>B.complete())},2076:(L,N,x)=>{"use strict";x.d(N,{D:()=>Ze});var E=x(8421),p=x(9672),I=x(4482),O=x(5403);function B(Se,xe=0){return(0,I.e)((Be,ne)=>{Be.subscribe((0,O.x)(ne,ce=>(0,p.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,p.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,p.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,I.e)((Be,ne)=>{ne.add(Se.schedule(()=>Be.subscribe(ne),xe))})}var U=x(8306),z=x(2202),re=x(576);function W(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new U.y(Be=>{(0,p.f)(Be,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,p.f)(Be,xe,()=>{ne.next().then(ce=>{ce.done?Be.complete():Be.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),De=x(4532),Ce=x(3260);function Ze(Se,xe){return xe?function ve(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,le.z)(Se))return function $(Se,xe){return new U.y(Be=>{let ne=0;return xe.schedule(function(){ne===Se.length?Be.complete():(Be.next(Se[ne++]),Be.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Y(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,Me.D)(Se))return W(Se,xe);if((0,Te.T)(Se))return function oe(Se,xe){return new U.y(Be=>{let ne;return(0,p.f)(Be,xe,()=>{ne=Se[z.h](),(0,p.f)(Be,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(ge){return void Be.error(ge)}de?Be.complete():Be.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,Ce.L)(Se))return function fe(Se,xe){return W((0,Ce.Q)(Se),xe)}(Se,xe)}throw(0,De.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(L,N,x)=>{"use strict";x.d(N,{Xf:()=>oe});var E=x(655),p=x(1144),I=x(8239),O=x(8306),B=x(3670),j=x(2206),q=x(4532),Y=x(6495),U=x(3260),$=x(576),z=x(7849),re=x(8822);function oe(Ce){if(Ce instanceof O.y)return Ce;if(null!=Ce){if((0,B.c)(Ce))return function W(Ce){return new O.y(fe=>{const ve=Ce[re.L]();if((0,$.m)(ve.subscribe))return ve.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,p.z)(Ce))return function ae(Ce){return new O.y(fe=>{for(let ve=0;ve{Ce.then(ve=>{fe.closed||(fe.next(ve),fe.complete())},ve=>fe.error(ve)).then(null,z.h)})}(Ce);if((0,j.D)(Ce))return Te(Ce);if((0,Y.T)(Ce))return function le(Ce){return new O.y(fe=>{for(const ve of Ce)if(fe.next(ve),fe.closed)return;fe.complete()})}(Ce);if((0,U.L)(Ce))return function Me(Ce){return Te((0,U.Q)(Ce))}(Ce)}throw(0,q.z)(Ce)}function Te(Ce){return new O.y(fe=>{(function De(Ce,fe){var ve,Ze,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(ve=(0,E.KL)(Ce);!(Ze=yield ve.next()).done;)if(fe.next(Ze.value),fe.closed)return}catch(Be){Se={error:Be}}finally{try{Ze&&!Ze.done&&(xe=ve.return)&&(yield xe.call(ve))}finally{if(Se)throw Se.error}}fe.complete()})})(Ce,fe).catch(ve=>fe.error(ve))})}},6451:(L,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),p=x(8421),I=x(515),O=x(3269),B=x(2076);function j(...q){const Y=(0,O.yG)(q),U=(0,O._6)(q,1/0),$=q;return $.length?1===$.length?(0,p.Xf)($[0]):(0,E.J)(U)((0,B.D)($,Y)):I.E}},9646:(L,N,x)=>{"use strict";x.d(N,{of:()=>I});var E=x(3269),p=x(2076);function I(...O){const B=(0,E.yG)(O);return(0,p.D)(O,B)}},102:(L,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),p=x(8421);const{isArray:I}=Array;var B=x(5403);function j(...Y){return 1===(Y=function O(Y){return 1===Y.length&&I(Y[0])?Y[0]:Y}(Y)).length?(0,p.Xf)(Y[0]):new E.y(function q(Y){return U=>{let $=[];for(let z=0;$&&!U.closed&&z{if($){for(let oe=0;oe<$.length;oe++)oe!==z&&$[oe].unsubscribe();$=null}U.next(re)})))}}(Y))}},2843:(L,N,x)=>{"use strict";x.d(N,{_:()=>I});var E=x(8306),p=x(576);function I(O,B){const j=(0,p.m)(O)?O:()=>O,q=Y=>Y.error(j());return new E.y(B?Y=>B.schedule(q,0,Y):q)}},2805:(L,N,x)=>{"use strict";x.d(N,{H:()=>B});var E=x(8306),p=x(4986),I=x(3532),O=x(1165);function B(j=0,q,Y=p.P){let U=-1;return null!=q&&((0,I.K)(q)?Y=q:U=q),new E.y($=>{let z=(0,O.q)(j)?+j-Y.now():j;z<0&&(z=0);let re=0;return Y.schedule(function(){$.closed||($.next(re++),0<=U?this.schedule(void 0,U):$.complete())},z)})}},5403:(L,N,x)=>{"use strict";x.d(N,{x:()=>p});var E=x(930);function p(O,B,j,q,Y){return new I(O,B,j,q,Y)}class I extends E.Lv{constructor(B,j,q,Y,U,$){super(B),this.onFinalize=U,this.shouldUnsubscribe=$,this._next=j?function(z){try{j(z)}catch(re){B.error(re)}}:super._next,this._error=Y?function(z){try{Y(z)}catch(re){B.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){B.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},262:(L,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),p=x(5403),I=x(4482);function O(B){return(0,I.e)((j,q)=>{let $,Y=null,U=!1;Y=j.subscribe((0,p.x)(q,void 0,void 0,z=>{$=(0,E.Xf)(B(z,O(B)(j))),Y?(Y.unsubscribe(),Y=null,$.subscribe(q)):U=!0})),U&&(Y.unsubscribe(),Y=null,$.subscribe(q))})}},4351:(L,N,x)=>{"use strict";x.d(N,{b:()=>I});var E=x(5577),p=x(576);function I(O,B){return(0,p.m)(B)?(0,E.z)(O,B,1):(0,E.z)(O,1)}},8372:(L,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),p=x(4482),I=x(5403);function O(B,j=E.z){return(0,p.e)((q,Y)=>{let U=null,$=null,z=null;const re=()=>{if(U){U.unsubscribe(),U=null;const W=$;$=null,Y.next(W)}};function oe(){const W=z+B,ae=j.now();if(ae{$=W,z=j.now(),U||(U=j.schedule(oe,B),Y.add(U))},()=>{re(),Y.complete()},void 0,()=>{$=U=null}))})}},6590:(L,N,x)=>{"use strict";x.d(N,{d:()=>I});var E=x(4482),p=x(5403);function I(O){return(0,E.e)((B,j)=>{let q=!1;B.subscribe((0,p.x)(j,Y=>{q=!0,j.next(Y)},()=>{q||j.next(O),j.complete()}))})}},4825:(L,N,x)=>{"use strict";x.d(N,{g:()=>oe});var E=x(4986),p=x(7272),I=x(5698),O=x(4482),B=x(5403),j=x(5032),Y=x(4004),$=x(5577);function z(W,ae){return ae?ie=>(0,p.z)(ae.pipe((0,I.q)(1),function q(){return(0,O.e)((W,ae)=>{W.subscribe((0,B.x)(ae,j.Z))})}()),ie.pipe(z(W))):(0,$.z)((ie,le)=>W(ie,le).pipe((0,I.q)(1),function U(W){return(0,Y.U)(()=>W)}(ie)))}var re=x(2805);function oe(W,ae=E.z){const ie=(0,re.H)(W,ae);return z(()=>ie)}},9300:(L,N,x)=>{"use strict";x.d(N,{h:()=>I});var E=x(4482),p=x(5403);function I(O,B){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,p.x)(q,U=>O.call(B,U,Y++)&&q.next(U)))})}},590:(L,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),p=x(9300),I=x(5698),O=x(6590),B=x(8068),j=x(4671);function q(Y,U){const $=arguments.length>=2;return z=>z.pipe(Y?(0,p.h)((re,oe)=>Y(re,oe,z)):j.y,(0,I.q)(1),$?(0,O.d)(U):(0,B.T)(()=>new E.K))}},4004:(L,N,x)=>{"use strict";x.d(N,{U:()=>I});var E=x(4482),p=x(5403);function I(O,B){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,p.x)(q,U=>{q.next(O.call(B,U,Y++))}))})}},8189:(L,N,x)=>{"use strict";x.d(N,{J:()=>I});var E=x(5577),p=x(4671);function I(O=1/0){return(0,E.z)(p.y,O)}},5577:(L,N,x)=>{"use strict";x.d(N,{z:()=>Y});var E=x(4004),p=x(8421),I=x(4482),O=x(9672),B=x(5403),q=x(576);function Y(U,$,z=1/0){return(0,q.m)($)?Y((re,oe)=>(0,E.U)((W,ae)=>$(re,W,oe,ae))((0,p.Xf)(U(re,oe))),z):("number"==typeof $&&(z=$),(0,I.e)((re,oe)=>function j(U,$,z,re,oe,W,ae,ie){const le=[];let Te=0,Me=0,De=!1;const Ce=()=>{De&&!le.length&&!Te&&$.complete()},fe=Ze=>Te{W&&$.next(Ze),Te++;let Se=!1;(0,p.Xf)(z(Ze,Me++)).subscribe((0,B.x)($,xe=>{null==oe||oe(xe),W?fe(xe):$.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Teve(xe)):ve(xe)}Ce()}catch(xe){$.error(xe)}}))};return U.subscribe((0,B.x)($,fe,()=>{De=!0,Ce()})),()=>{null==ie||ie()}}(re,oe,U,z)))}},3099:(L,N,x)=>{"use strict";x.d(N,{B:()=>B});var E=x(8421),p=x(7579),I=x(930),O=x(4482);function B(q={}){const{connector:Y=(()=>new p.x),resetOnError:U=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=q;return re=>{let oe,W,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==W||W.unsubscribe(),W=void 0},De=()=>{Me(),oe=ae=void 0,le=Te=!1},Ce=()=>{const fe=oe;De(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,ve)=>{ie++,!Te&&!le&&Me();const Ze=ae=null!=ae?ae:Y();ve.add(()=>{ie--,0===ie&&!Te&&!le&&(W=j(Ce,z))}),Ze.subscribe(ve),!oe&&ie>0&&(oe=new I.Hp({next:Se=>Ze.next(Se),error:Se=>{Te=!0,Me(),W=j(De,U,Se),Ze.error(Se)},complete:()=>{le=!0,Me(),W=j(De,$),Ze.complete()}}),(0,E.Xf)(fe).subscribe(oe))})(re)}}function j(q,Y,...U){if(!0===Y)return void q();if(!1===Y)return;const $=new I.Hp({next:()=>{$.unsubscribe(),q()}});return Y(...U).subscribe($)}},3900:(L,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),p=x(4482),I=x(5403);function O(B,j){return(0,p.e)((q,Y)=>{let U=null,$=0,z=!1;const re=()=>z&&!U&&Y.complete();q.subscribe((0,I.x)(Y,oe=>{null==U||U.unsubscribe();let W=0;const ae=$++;(0,E.Xf)(B(oe,ae)).subscribe(U=(0,I.x)(Y,ie=>Y.next(j?j(oe,ie,ae,W++):ie),()=>{U=null,re()}))},()=>{z=!0,re()}))})}},5698:(L,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),p=x(4482),I=x(5403);function O(B){return B<=0?()=>E.E:(0,p.e)((j,q)=>{let Y=0;j.subscribe((0,I.x)(q,U=>{++Y<=B&&(q.next(U),B<=Y&&q.complete())}))})}},8505:(L,N,x)=>{"use strict";x.d(N,{b:()=>B});var E=x(576),p=x(4482),I=x(5403),O=x(4671);function B(j,q,Y){const U=(0,E.m)(j)||q||Y?{next:j,error:q,complete:Y}:j;return U?(0,p.e)(($,z)=>{var re;null===(re=U.subscribe)||void 0===re||re.call(U);let oe=!0;$.subscribe((0,I.x)(z,W=>{var ae;null===(ae=U.next)||void 0===ae||ae.call(U,W),z.next(W)},()=>{var W;oe=!1,null===(W=U.complete)||void 0===W||W.call(U),z.complete()},W=>{var ae;oe=!1,null===(ae=U.error)||void 0===ae||ae.call(U,W),z.error(W)},()=>{var W,ae;oe&&(null===(W=U.unsubscribe)||void 0===W||W.call(U)),null===(ae=U.finalize)||void 0===ae||ae.call(U)}))}):O.y}},8068:(L,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),p=x(4482),I=x(5403);function O(j=B){return(0,p.e)((q,Y)=>{let U=!1;q.subscribe((0,I.x)(Y,$=>{U=!0,Y.next($)},()=>U?Y.complete():Y.error(j())))})}function B(){return new E.K}},7414:(L,N,x)=>{"use strict";x.d(N,{V:()=>U});var E=x(4986),p=x(1165),I=x(4482),O=x(8421),B=x(3888),j=x(5403),q=x(9672);const Y=(0,B.d)(z=>function(oe=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=oe});function U(z,re){const{first:oe,each:W,with:ae=$,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,p.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==oe&&null==W)throw new TypeError("No timeout provided.");return(0,I.e)((Te,Me)=>{let De,Ce,fe=null,ve=0;const Ze=Se=>{Ce=(0,q.f)(Me,ie,()=>{try{De.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:ve})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};De=Te.subscribe((0,j.x)(Me,Se=>{null==Ce||Ce.unsubscribe(),ve++,Me.next(fe=Se),W>0&&Ze(W)},void 0,void 0,()=>{(null==Ce?void 0:Ce.closed)||null==Ce||Ce.unsubscribe(),fe=null})),!ve&&Ze(null!=oe?"number"==typeof oe?oe:+oe-ie.now():W)})}function $(z){throw new Y(z)}},4408:(L,N,x)=>{"use strict";x.d(N,{o:()=>B});var E=x(727);class p extends E.w0{constructor(q,Y){super()}schedule(q,Y=0){return this}}const I={setInterval(j,q,...Y){const{delegate:U}=I;return(null==U?void 0:U.setInterval)?U.setInterval(j,q,...Y):setInterval(j,q,...Y)},clearInterval(j){const{delegate:q}=I;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class B extends p{constructor(q,Y){super(q,Y),this.scheduler=q,this.work=Y,this.pending=!1}schedule(q,Y=0){if(this.closed)return this;this.state=q;const U=this.id,$=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId($,U,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId($,this.id,Y),this}requestAsyncId(q,Y,U=0){return I.setInterval(q.flush.bind(q,this),U)}recycleAsyncId(q,Y,U=0){if(null!=U&&this.delay===U&&!1===this.pending)return Y;I.clearInterval(Y)}execute(q,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(q,Y);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Y){let $,U=!1;try{this.work(q)}catch(z){U=!0,$=z||new Error("Scheduled action threw falsy error")}if(U)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:q,scheduler:Y}=this,{actions:U}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(U,this),null!=q&&(this.id=this.recycleAsyncId(Y,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(L,N,x)=>{"use strict";x.d(N,{v:()=>I});var E=x(6063);class p{constructor(B,j=p.now){this.schedulerActionCtor=B,this.now=j}schedule(B,j=0,q){return new this.schedulerActionCtor(this,B).schedule(q,j)}}p.now=E.l.now;class I extends p{constructor(B,j=p.now){super(B,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(B){const{actions:j}=this;if(this._active)return void j.push(B);let q;this._active=!0;do{if(q=B.execute(B.state,B.delay))break}while(B=j.shift());if(this._active=!1,q){for(;B=j.shift();)B.unsubscribe();throw q}}}},4986:(L,N,x)=>{"use strict";x.d(N,{z:()=>I,P:()=>O});var E=x(4408);const I=new(x(7565).v)(E.o),O=I},6063:(L,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(p,I,...O){const{delegate:B}=E;return(null==B?void 0:B.setTimeout)?B.setTimeout(p,I,...O):setTimeout(p,I,...O)},clearTimeout(p){const{delegate:I}=E;return((null==I?void 0:I.clearTimeout)||clearTimeout)(p)},delegate:void 0}},2202:(L,N,x)=>{"use strict";x.d(N,{h:()=>p});const p=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(L,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(L,N,x)=>{"use strict";x.d(N,{K:()=>p});const p=(0,x(3888).d)(I=>function(){I(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(L,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>B,_6:()=>j});var E=x(576),p=x(3532);function I(q){return q[q.length-1]}function O(q){return(0,E.m)(I(q))?q.pop():void 0}function B(q){return(0,p.K)(I(q))?q.pop():void 0}function j(q,Y){return"number"==typeof I(q)?q.pop():Y}},4742:(L,N,x)=>{"use strict";x.d(N,{D:()=>B});const{isArray:E}=Array,{getPrototypeOf:p,prototype:I,keys:O}=Object;function B(q){if(1===q.length){const Y=q[0];if(E(Y))return{args:Y,keys:null};if(function j(q){return q&&"object"==typeof q&&p(q)===I}(Y)){const U=O(Y);return{args:U.map($=>Y[$]),keys:U}}}return{args:q,keys:null}}},8737:(L,N,x)=>{"use strict";function E(p,I){if(p){const O=p.indexOf(I);0<=O&&p.splice(O,1)}}x.d(N,{P:()=>E})},3888:(L,N,x)=>{"use strict";function E(p){const O=p(B=>{Error.call(B),B.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(L,N,x)=>{"use strict";function E(p,I){return p.reduce((O,B,j)=>(O[B]=I[j],O),{})}x.d(N,{n:()=>E})},2806:(L,N,x)=>{"use strict";x.d(N,{x:()=>I,O:()=>O});var E=x(2416);let p=null;function I(B){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!p;if(j&&(p={errorThrown:!1,error:null}),B(),j){const{errorThrown:q,error:Y}=p;if(p=null,q)throw Y}}else B()}function O(B){E.v.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=B)}},9672:(L,N,x)=>{"use strict";function E(p,I,O,B=0,j=!1){const q=I.schedule(function(){O(),j?p.add(this.schedule(null,B)):this.unsubscribe()},B);if(p.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(L,N,x)=>{"use strict";function E(p){return p}x.d(N,{y:()=>E})},1144:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=p=>p&&"number"==typeof p.length&&"function"!=typeof p},2206:(L,N,x)=>{"use strict";x.d(N,{D:()=>p});var E=x(576);function p(I){return Symbol.asyncIterator&&(0,E.m)(null==I?void 0:I[Symbol.asyncIterator])}},1165:(L,N,x)=>{"use strict";function E(p){return p instanceof Date&&!isNaN(p)}x.d(N,{q:()=>E})},576:(L,N,x)=>{"use strict";function E(p){return"function"==typeof p}x.d(N,{m:()=>E})},3670:(L,N,x)=>{"use strict";x.d(N,{c:()=>I});var E=x(8822),p=x(576);function I(O){return(0,p.m)(O[E.L])}},6495:(L,N,x)=>{"use strict";x.d(N,{T:()=>I});var E=x(2202),p=x(576);function I(O){return(0,p.m)(null==O?void 0:O[E.h])}},8239:(L,N,x)=>{"use strict";x.d(N,{t:()=>p});var E=x(576);function p(I){return(0,E.m)(null==I?void 0:I.then)}},3260:(L,N,x)=>{"use strict";x.d(N,{Q:()=>I,L:()=>O});var E=x(655),p=x(576);function I(B){return(0,E.FC)(this,arguments,function*(){const q=B.getReader();try{for(;;){const{value:Y,done:U}=yield(0,E.qq)(q.read());if(U)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Y)}}finally{q.releaseLock()}})}function O(B){return(0,p.m)(null==B?void 0:B.getReader)}},3532:(L,N,x)=>{"use strict";x.d(N,{K:()=>p});var E=x(576);function p(I){return I&&(0,E.m)(I.schedule)}},4482:(L,N,x)=>{"use strict";x.d(N,{A:()=>p,e:()=>I});var E=x(576);function p(O){return(0,E.m)(null==O?void 0:O.lift)}function I(O){return B=>{if(p(B))return B.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(L,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:p}=Array;function O(B){return(0,E.U)(j=>function I(B,j){return p(j)?B(...j):B(j)}(B,j))}},5032:(L,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(L,N,x)=>{"use strict";x.d(N,{h:()=>I});var E=x(2416),p=x(3410);function I(O){p.z.setTimeout(()=>{const{onUnhandledError:B}=E.v;if(!B)throw O;B(O)})}},4532:(L,N,x)=>{"use strict";function E(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(L,N,x)=>{"use strict";function Y(ne,ce,de,ge){return new(de||(de=Promise))(function(He,tt){function kt(di){try{Ne(ge.next(di))}catch(hr){tt(hr)}}function Bt(di){try{Ne(ge.throw(di))}catch(hr){tt(hr)}}function Ne(di){di.done?He(di.value):function pe(He){return He instanceof de?He:new de(function(tt){tt(He)})}(di.value).then(kt,Bt)}Ne((ge=ge.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ge=de.apply(ne,ce||[]),He=[];return pe={},tt("next"),tt("throw"),tt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function tt(ai){ge[ai]&&(pe[ai]=function(Ht){return new Promise(function(Qn,Qi){He.push([ai,Ht,Qn,Qi])>1||kt(ai,Ht)})})}function kt(ai,Ht){try{!function Bt(ai){ai.value instanceof le?Promise.resolve(ai.value.v).then(Ne,di):hr(He[0][2],ai)}(ge[ai](Ht))}catch(Qn){hr(He[0][3],Qn)}}function Ne(ai){kt("next",ai)}function di(ai){kt("throw",ai)}function hr(ai,Ht){ai(Ht),He.shift(),He.length&&kt(He[0][0],He[0][1])}}function De(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],ge=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&ge>=ne.length&&(ne=void 0),{value:ne&&ne[ge++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},ge("next"),ge("throw"),ge("return"),de[Symbol.asyncIterator]=function(){return this},de);function ge(He){de[He]=ne[He]&&function(tt){return new Promise(function(kt,Bt){!function pe(He,tt,kt,Bt){Promise.resolve(Bt).then(function(Ne){He({value:Ne,done:kt})},tt)}(kt,Bt,(tt=ne[He](tt)).done,tt.value)})}}}x.d(N,{mG:()=>Y,qq:()=>le,FC:()=>Te,KL:()=>De})},9808:(L,N,x)=>{"use strict";x.d(N,{mr:()=>Me,Ov:()=>cf,ez:()=>pt,K0:()=>q,Do:()=>Ce,V_:()=>$,Ye:()=>fe,S$:()=>le,mk:()=>Lr,sg:()=>wi,O5:()=>Ji,PC:()=>iu,RF:()=>Oi,n9:()=>Ki,b0:()=>De,lw:()=>Y,EM:()=>ru,JF:()=>ft,NF:()=>Ni,w_:()=>j,bD:()=>vi,q:()=>I,Mx:()=>So,HT:()=>B});var E=x(5e3);let p=null;function I(){return p}function B(M){p||(p=M)}class j{}const q=new E.OlP("DocumentToken");let Y=(()=>{class M{historyGo(H){throw new Error("Not implemented")}}return M.\u0275fac=function(H){return new(H||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function U(){return(0,E.LFG)(z)}()},providedIn:"platform"}),M})();const $=new E.OlP("Location Initialized");let z=(()=>{class M extends Y{constructor(H){super(),this._doc=H,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(H){const V=I().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",H,!1),()=>V.removeEventListener("popstate",H)}onHashChange(H){const V=I().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",H,!1),()=>V.removeEventListener("hashchange",H)}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(H){this.location.pathname=H}pushState(H,V,J){re()?this._history.pushState(H,V,J):this.location.hash=J}replaceState(H,V,J){re()?this._history.replaceState(H,V,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(H=0){this._history.go(H)}getState(){return this._history.state}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function oe(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),M})();function re(){return!!window.history.pushState}function W(M,k){if(0==M.length)return k;if(0==k.length)return M;let H=0;return M.endsWith("/")&&H++,k.startsWith("/")&&H++,2==H?M+k.substring(1):1==H?M+k:M+"/"+k}function ae(M){const k=M.match(/#|\?|$/),H=k&&k.index||M.length;return M.slice(0,H-("/"===M[H-1]?1:0))+M.slice(H)}function ie(M){return M&&"?"!==M[0]?"?"+M:M}let le=(()=>{class M{historyGo(H){throw new Error("Not implemented")}}return M.\u0275fac=function(H){return new(H||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function Te(M){const k=(0,E.LFG)(q).location;return new De((0,E.LFG)(Y),k&&k.origin||"")}()},providedIn:"root"}),M})();const Me=new E.OlP("appBaseHref");let De=(()=>{class M extends le{constructor(H,V){if(super(),this._platformLocation=H,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}prepareExternalUrl(H){return W(this._baseHref,H)}path(H=!1){const V=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&H?`${V}${J}`:V}pushState(H,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(H,V,_e)}replaceState(H,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(H,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,H)}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(Y),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),Ce=(()=>{class M extends le{constructor(H,V){super(),this._platformLocation=H,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}path(H=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(H){const V=W(this._baseHref,H);return V.length>0?"#"+V:V}pushState(H,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(H,V,_e)}replaceState(H,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(H,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,H)}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(Y),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),fe=(()=>{class M{constructor(H,V){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=H;const J=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(H=!1){return this.normalize(this._platformStrategy.path(H))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(H,V=""){return this.path()==this.normalize(H+ie(V))}normalize(H){return M.stripTrailingSlash(function Ze(M,k){return M&&k.startsWith(M)?k.substring(M.length):k}(this._baseHref,Se(H)))}prepareExternalUrl(H){return H&&"/"!==H[0]&&(H="/"+H),this._platformStrategy.prepareExternalUrl(H)}go(H,V="",J=null){this._platformStrategy.pushState(J,"",H,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+ie(V)),J)}replaceState(H,V="",J=null){this._platformStrategy.replaceState(J,"",H,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+ie(V)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformStrategy).historyGo)||void 0===J||J.call(V,H)}onUrlChange(H){this._urlChangeListeners.push(H),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(H="",V){this._urlChangeListeners.forEach(J=>J(H,V))}subscribe(H,V,J){return this._subject.subscribe({next:H,error:V,complete:J})}}return M.normalizeQueryParams=ie,M.joinWithSlash=W,M.stripTrailingSlash=ae,M.\u0275fac=function(H){return new(H||M)(E.LFG(le),E.LFG(Y))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function ve(){return new fe((0,E.LFG)(le),(0,E.LFG)(Y))}()},providedIn:"root"}),M})();function Se(M){return M.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))();const fr=E.kL8;class Ot{}let Rn=(()=>{class M extends Ot{constructor(H){super(),this.locale=H}getPluralCategory(H,V){switch(fr(V||this.locale)(H)){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 M.\u0275fac=function(H){return new(H||M)(E.LFG(E.soG))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})();function So(M,k){k=encodeURIComponent(k);for(const H of M.split(";")){const V=H.indexOf("="),[J,ue]=-1==V?[H,""]:[H.slice(0,V),H.slice(V+1)];if(J.trim()===k)return decodeURIComponent(ue)}return null}let Lr=(()=>{class M{constructor(H,V,J,ue){this._iterableDiffers=H,this._keyValueDiffers=V,this._ngEl=J,this._renderer=ue,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(H){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof H?H.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(H){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof H?H.split(/\s+/):H,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 H=this._iterableDiffer.diff(this._rawClass);H&&this._applyIterableChanges(H)}else if(this._keyValueDiffer){const H=this._keyValueDiffer.diff(this._rawClass);H&&this._applyKeyValueChanges(H)}}_applyKeyValueChanges(H){H.forEachAddedItem(V=>this._toggleClass(V.key,V.currentValue)),H.forEachChangedItem(V=>this._toggleClass(V.key,V.currentValue)),H.forEachRemovedItem(V=>{V.previousValue&&this._toggleClass(V.key,!1)})}_applyIterableChanges(H){H.forEachAddedItem(V=>{if("string"!=typeof V.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,E.AaK)(V.item)}`);this._toggleClass(V.item,!0)}),H.forEachRemovedItem(V=>this._toggleClass(V.item,!1))}_applyClasses(H){H&&(Array.isArray(H)||H instanceof Set?H.forEach(V=>this._toggleClass(V,!0)):Object.keys(H).forEach(V=>this._toggleClass(V,!!H[V])))}_removeClasses(H){H&&(Array.isArray(H)||H instanceof Set?H.forEach(V=>this._toggleClass(V,!1)):Object.keys(H).forEach(V=>this._toggleClass(V,!1)))}_toggleClass(H,V){(H=H.trim())&&H.split(/\s+/g).forEach(J=>{V?this._renderer.addClass(this._ngEl.nativeElement,J):this._renderer.removeClass(this._ngEl.nativeElement,J)})}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.ZZ4),E.Y36(E.aQg),E.Y36(E.SBq),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),M})();class Ca{constructor(k,H,V,J){this.$implicit=k,this.ngForOf=H,this.index=V,this.count=J}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 M{constructor(H,V,J){this._viewContainer=H,this._template=V,this._differs=J,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(H){this._ngForOf=H,this._ngForOfDirty=!0}set ngForTrackBy(H){this._trackByFn=H}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(H){H&&(this._template=H)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const H=this._ngForOf;!this._differ&&H&&(this._differ=this._differs.find(H).create(this.ngForTrackBy))}if(this._differ){const H=this._differ.diff(this._ngForOf);H&&this._applyChanges(H)}}_applyChanges(H){const V=this._viewContainer;H.forEachOperation((J,ue,_e)=>{if(null==J.previousIndex)V.createEmbeddedView(this._template,new Ca(J.item,this._ngForOf,-1,-1),null===_e?void 0:_e);else if(null==_e)V.remove(null===ue?void 0:ue);else if(null!==ue){const Ue=V.get(ue);V.move(Ue,_e),ya(Ue,J)}});for(let J=0,ue=V.length;J{ya(V.get(J.currentIndex),J)})}static ngTemplateContextGuard(H,V){return!0}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function ya(M,k){M.context.$implicit=k.item}let Ji=(()=>{class M{constructor(H,V){this._viewContainer=H,this._context=new It,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(H){this._context.$implicit=this._context.ngIf=H,this._updateView()}set ngIfThen(H){tu("ngIfThen",H),this._thenTemplateRef=H,this._thenViewRef=null,this._updateView()}set ngIfElse(H){tu("ngIfElse",H),this._elseTemplateRef=H,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(H,V){return!0}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class It{constructor(){this.$implicit=null,this.ngIf=null}}function tu(M,k){if(k&&!k.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,E.AaK)(k)}'.`)}class nc{constructor(k,H){this._viewContainerRef=k,this._templateRef=H,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let Oi=(()=>{class M{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(H){this._ngSwitch=H,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(H){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(H)}_matchCase(H){const V=H==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(H){if(this._defaultViews&&H!==this._defaultUsed){this._defaultUsed=H;for(let V=0;V{class M{constructor(H,V,J){this.ngSwitch=J,J._addCase(),this._view=new nc(H,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(Oi,9))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),M})(),iu=(()=>{class M{constructor(H,V,J){this._ngEl=H,this._differs=V,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(H){this._ngStyle=H,!this._differ&&H&&(this._differ=this._differs.find(H).create())}ngDoCheck(){if(this._differ){const H=this._differ.diff(this._ngStyle);H&&this._applyChanges(H)}}_setStyle(H,V){const[J,ue]=H.split(".");null!=(V=null!=V&&ue?`${V}${ue}`:V)?this._renderer.setStyle(this._ngEl.nativeElement,J,V):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(H){H.forEachRemovedItem(V=>this._setStyle(V.key,null)),H.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),H.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})();class $b{createSubscription(k,H){return k.subscribe({next:H,error:V=>{throw V}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class Qb{createSubscription(k,H){return k.then(H,V=>{throw V})}dispose(k){}onDestroy(k){}}const Yb=new Qb,Jb=new $b;let cf=(()=>{class M{constructor(H){this._ref=H,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(H){return this._obj?H!==this._obj?(this._dispose(),this.transform(H)):this._latestValue:(H&&this._subscribe(H),this._latestValue)}_subscribe(H){this._obj=H,this._strategy=this._selectStrategy(H),this._subscription=this._strategy.createSubscription(H,V=>this._updateLatestValue(H,V))}_selectStrategy(H){if((0,E.QGY)(H))return Yb;if((0,E.F4k)(H))return Jb;throw function hn(M,k){return new E.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(H,V){H===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.sBO,16))},M.\u0275pipe=E.Yjl({name:"async",type:M,pure:!1}),M})(),pt=(()=>{class M{}return M.\u0275fac=function(H){return new(H||M)},M.\u0275mod=E.oAB({type:M}),M.\u0275inj=E.cJS({providers:[{provide:Ot,useClass:Rn}]}),M})();const vi="browser";function Ni(M){return M===vi}let ru=(()=>{class M{}return M.\u0275prov=(0,E.Yz7)({token:M,providedIn:"root",factory:()=>new Ho((0,E.LFG)(q),window)}),M})();class Ho{constructor(k,H){this.document=k,this.window=H,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const H=function Po(M,k){const H=M.getElementById(k)||M.getElementsByName(k)[0];if(H)return H;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const V=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let J=V.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(k)||ue.querySelector(`[name="${k}"]`);if(_e)return _e}J=V.nextNode()}}return null}(this.document,k);H&&(this.scrollToElement(H),H.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const H=this.window.history;H&&H.scrollRestoration&&(H.scrollRestoration=k)}}scrollToElement(k){const H=k.getBoundingClientRect(),V=H.left+this.window.pageXOffset,J=H.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(V-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=Do(this.window.history)||Do(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch(k){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(k){return!1}}}function Do(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class ft{}},520:(L,N,x)=>{"use strict";x.d(N,{TP:()=>tt,eN:()=>pe,JF:()=>Ci,qT:()=>Me,WM:()=>$,LE:()=>le,Zn:()=>ce});var E=x(9808),p=x(5e3),I=x(9646),O=x(8306),B=x(4351),j=x(9300),q=x(4004);class Y{}class U{}class ${constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const we=ee.slice(0,Ae),Ie=we.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(we,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(Re):this.headers.set(Ie,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const we=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(we,Ae),this.maybeSetNormalizedName(ee,we))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new $;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const we=("a"===X.op?this.headers.get(ee):void 0)||[];we.push(...Ae),this.headers.set(ee,we);break;case"d":const Ie=X.value;if(Ie){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===Ie.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const oe=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(be){return encodeURIComponent(be).replace(oe,(X,ee)=>{var Ae;return null!==(Ae=W[ee])&&void 0!==Ae?Ae:X})}function ie(be){return`${be}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(be,X){const ee=new Map;return be.length>0&&be.replace(/^\?/,"").split("&").forEach(we=>{const Ie=we.indexOf("="),[Re,ze]=-1==Ie?[X.decodeKey(we),""]:[X.decodeKey(we.slice(0,Ie)),X.decodeValue(we.slice(Ie+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const we=X[Ae];Array.isArray(we)?we.forEach(Ie=>{ee.push({param:Ae,value:Ie,op:"a"})}):ee.push({param:Ae,value:we,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const we=Ae.indexOf(ie(X.value));-1!==we&&Ae.splice(we,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ce(be){return"undefined"!=typeof ArrayBuffer&&be instanceof ArrayBuffer}function fe(be){return"undefined"!=typeof Blob&&be instanceof Blob}function ve(be){return"undefined"!=typeof FormData&&be instanceof FormData}class Se{constructor(X,ee,Ae,we){let Ie;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function De(be){switch(be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||we?(this.body=void 0!==Ae?Ae:null,Ie=we):Ie=Ae,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params)),this.headers||(this.headers=new $),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeXt.set(ht,X.setHeaders[ht]),Zt)),X.setParams&&(ut=Object.keys(X.setParams).reduce((Xt,ht)=>Xt.set(ht,X.setParams[ht]),ut)),new Se(Ae,we,Re,{params:ut,headers:Zt,context:Yn,reportProgress:_t,responseType:Ie,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Be{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new $,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Be{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Be{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Be{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function ge(be,X){return{body:X,headers:be.headers,context:be.context,observe:be.observe,params:be.params,reportProgress:be.reportProgress,responseType:be.responseType,withCredentials:be.withCredentials}}let pe=(()=>{class be{constructor(ee){this.handler=ee}request(ee,Ae,we={}){let Ie;if(ee instanceof Se)Ie=ee;else{let _t,Zt;_t=we.headers instanceof $?we.headers:new $(we.headers),we.params&&(Zt=we.params instanceof le?we.params:new le({fromObject:we.params})),Ie=new Se(ee,Ae,void 0!==we.body?we.body:null,{headers:_t,context:we.context,params:Zt,reportProgress:we.reportProgress,responseType:we.responseType||"json",withCredentials:we.withCredentials})}const Re=(0,I.of)(Ie).pipe((0,B.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===we.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(we.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${we.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,we={}){return this.request("PATCH",ee,ge(we,Ae))}post(ee,Ae,we={}){return this.request("POST",ee,ge(we,Ae))}put(ee,Ae,we={}){return this.request("PUT",ee,ge(we,Ae))}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(Y))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();class He{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const tt=new p.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class be{intercept(ee,Ae){return Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();const Qi=/^\)\]\}',?\n/;let pr=(()=>{class be{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const we=this.xhrFactory.build();if(we.open(ee.method,ee.urlWithParams),ee.withCredentials&&(we.withCredentials=!0),ee.headers.forEach((ht,Fe)=>we.setRequestHeader(ht,Fe.join(","))),ee.headers.has("Accept")||we.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ht=ee.detectContentTypeHeader();null!==ht&&we.setRequestHeader("Content-Type",ht)}if(ee.responseType){const ht=ee.responseType.toLowerCase();we.responseType="json"!==ht?ht:"text"}const Ie=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ht=we.statusText||"OK",Fe=new $(we.getAllResponseHeaders()),cn=function ui(be){return"responseURL"in be&&be.responseURL?be.responseURL:/^X-Request-URL:/m.test(be.getAllResponseHeaders())?be.getResponseHeader("X-Request-URL"):null}(we)||ee.url;return Re=new ne({headers:Fe,status:we.status,statusText:ht,url:cn}),Re},_t=()=>{let{headers:ht,status:Fe,statusText:cn,url:xt}=ze(),si=null;204!==Fe&&(si=void 0===we.response?we.responseText:we.response),0===Fe&&(Fe=si?200:0);let Sn=Fe>=200&&Fe<300;if("json"===ee.responseType&&"string"==typeof si){const dn=si;si=si.replace(Qi,"");try{si=""!==si?JSON.parse(si):null}catch(Mn){si=dn,Sn&&(Sn=!1,si={error:Mn,text:si})}}Sn?(Ae.next(new ce({body:si,headers:ht,status:Fe,statusText:cn,url:xt||void 0})),Ae.complete()):Ae.error(new de({error:si,headers:ht,status:Fe,statusText:cn,url:xt||void 0}))},Zt=ht=>{const{url:Fe}=ze(),cn=new de({error:ht,status:we.status||0,statusText:we.statusText||"Unknown Error",url:Fe||void 0});Ae.error(cn)};let ut=!1;const Yn=ht=>{ut||(Ae.next(ze()),ut=!0);let Fe={type:xe.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(Fe.total=ht.total),"text"===ee.responseType&&!!we.responseText&&(Fe.partialText=we.responseText),Ae.next(Fe)},Xt=ht=>{let Fe={type:xe.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(Fe.total=ht.total),Ae.next(Fe)};return we.addEventListener("load",_t),we.addEventListener("error",Zt),we.addEventListener("timeout",Zt),we.addEventListener("abort",Zt),ee.reportProgress&&(we.addEventListener("progress",Yn),null!==Ie&&we.upload&&we.upload.addEventListener("progress",Xt)),we.send(Ie),Ae.next({type:xe.Sent}),()=>{we.removeEventListener("error",Zt),we.removeEventListener("abort",Zt),we.removeEventListener("load",_t),we.removeEventListener("timeout",Zt),ee.reportProgress&&(we.removeEventListener("progress",Yn),null!==Ie&&we.upload&&we.upload.removeEventListener("progress",Xt)),we.readyState!==we.DONE&&we.abort()}})}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(E.JF))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();const rs=new p.OlP("XSRF_COOKIE_NAME"),as=new p.OlP("XSRF_HEADER_NAME");class ss{}let Vr=(()=>{class be{constructor(ee,Ae,we){this.doc=ee,this.platform=Ae,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(E.K0),p.LFG(p.Lbi),p.LFG(rs))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),fr=(()=>{class be{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const we=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||we.startsWith("http://")||we.startsWith("https://"))return Ae.handle(ee);const Ie=this.tokenService.getToken();return null!==Ie&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,Ie)})),Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(ss),p.LFG(as))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),Br=(()=>{class be{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(tt,[]);this.chain=Ae.reduceRight((we,Ie)=>new He(we,Ie),this.backend)}return this.chain.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(U),p.LFG(p.zs3))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),vo=(()=>{class be{static disable(){return{ngModule:be,providers:[{provide:fr,useClass:kt}]}}static withOptions(ee={}){return{ngModule:be,providers:[ee.cookieName?{provide:rs,useValue:ee.cookieName}:[],ee.headerName?{provide:as,useValue:ee.headerName}:[]]}}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=p.oAB({type:be}),be.\u0275inj=p.cJS({providers:[fr,{provide:tt,useExisting:fr,multi:!0},{provide:ss,useClass:Vr},{provide:rs,useValue:"XSRF-TOKEN"},{provide:as,useValue:"X-XSRF-TOKEN"}]}),be})(),Ci=(()=>{class be{}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=p.oAB({type:be}),be.\u0275inj=p.cJS({providers:[pe,{provide:Y,useClass:Br},pr,{provide:U,useExisting:pr}],imports:[[vo.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),be})()},5e3:(L,N,x)=>{"use strict";x.d(N,{deG:()=>vu,tb:()=>G_,AFp:()=>aA,ip1:()=>Sp,CZH:()=>go,hGG:()=>AA,z2F:()=>Ld,sBO:()=>gA,Sil:()=>q_,_Vd:()=>oo,EJc:()=>Fd,SBq:()=>lo,qLn:()=>Vs,vpe:()=>xn,tBr:()=>Jo,XFs:()=>it,OlP:()=>$t,zs3:()=>wn,ZZ4:()=>Ul,aQg:()=>Ya,soG:()=>Mp,YKP:()=>Ov,h0i:()=>Il,PXZ:()=>UT,R0b:()=>Tn,FiY:()=>Gr,Lbi:()=>lA,g9A:()=>oA,n_E:()=>Dd,Qsj:()=>Hv,FYo:()=>h_,JOm:()=>Tr,q3G:()=>ii,tp0:()=>Ur,Rgc:()=>ca,dDg:()=>dA,GfV:()=>p_,s_b:()=>Bl,ifc:()=>Ie,eFA:()=>K_,G48:()=>ab,Gpc:()=>z,f3M:()=>Vf,_c5:()=>_b,VLi:()=>GT,c2e:()=>U_,zSh:()=>fh,wAp:()=>Ye,vHH:()=>ae,EiD:()=>QC,mCW:()=>Sc,qzn:()=>Ps,JVY:()=>OC,pB0:()=>zf,eBb:()=>FC,L6k:()=>Lu,LAX:()=>LC,cg1:()=>Lm,kL8:()=>qw,yhl:()=>Nf,dqk:()=>ut,sIi:()=>Cl,CqO:()=>sn,QGY:()=>fd,F4k:()=>Dr,RDi:()=>Do,AaK:()=>Y,z3N:()=>er,qOj:()=>Eh,TTD:()=>Di,_Bn:()=>o_,xp6:()=>Ju,uIk:()=>Gi,ekj:()=>Dm,Suo:()=>kd,Xpm:()=>xo,lG2:()=>jt,Yz7:()=>Ht,cJS:()=>Qi,oAB:()=>_a,Yjl:()=>Nt,Y36:()=>Hr,_UZ:()=>gm,GkF:()=>bm,BQk:()=>pd,ynx:()=>hd,qZA:()=>ud,TgZ:()=>Bh,EpF:()=>Cm,n5z:()=>Ef,Ikx:()=>Ad,LFG:()=>_i,$8M:()=>Ha,$Z:()=>fm,NdJ:()=>Oh,CRH:()=>_p,kcU:()=>Oo,O4$:()=>bf,oxw:()=>gw,ALo:()=>w_,lcZ:()=>op,xi3:()=>lp,Dn7:()=>v_,Hsn:()=>_w,F$t:()=>mw,Q6J:()=>Vh,s9C:()=>wm,VKq:()=>Gv,iGM:()=>fo,MAs:()=>im,CHM:()=>ff,oJD:()=>Dc,LSH:()=>Gu,Udp:()=>bd,WFA:()=>Al,d8E:()=>Tl,YNc:()=>em,_uU:()=>Rw,Oqu:()=>Uh,hij:()=>xl,AsE:()=>Vm,Gf:()=>mp});var E=x(7579),p=x(727),I=x(8306),O=x(6451),B=x(3099);function j(h){for(let g in h)if(h[g]===j)return g;throw Error("Could not find renamed property on target object.")}function q(h,g){for(const m in g)g.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=g[m])}function Y(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Y).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const g=h.toString();if(null==g)return""+g;const m=g.indexOf("\n");return-1===m?g:g.substring(0,m)}function U(h,g){return null==h||""===h?null===g?"":g:null==g||""===g?h:h+" "+g}const $=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Y(this())},h}function re(h){return oe(h)?h():h}function oe(h){return"function"==typeof h&&h.hasOwnProperty($)&&h.__forward_ref__===z}class ae extends Error{constructor(g,m){super(function ie(h,g){return`NG0${Math.abs(h)}${g?": "+g:""}`}(g,m)),this.code=g}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,g){const m=g?` in ${g}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Bt(h,g){null==h&&function Ne(h,g,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${g} <=Actual]`))}(g,h,null,"!=")}function Ht(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Qi(h){return{providers:h.providers||[],imports:h.imports||[]}}function ui(h){return pr(h,Vr)||pr(h,Br)}function pr(h,g){return h.hasOwnProperty(g)?h[g]:null}function ss(h){return h&&(h.hasOwnProperty(fr)||h.hasOwnProperty(eu))?h[fr]:null}const Vr=j({\u0275prov:j}),fr=j({\u0275inj:j}),Br=j({ngInjectableDef:j}),eu=j({ngInjectorDef:j});var it=(()=>((it=it||{})[it.Default=0]="Default",it[it.Host=1]="Host",it[it.Self=2]="Self",it[it.SkipSelf=4]="SkipSelf",it[it.Optional=8]="Optional",it))();let vo;function Vi(h){const g=vo;return vo=h,g}function Ao(h,g,m){const _=ui(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&it.Optional?null:void 0!==g?g:void fe(Y(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),Ie=(()=>{return(h=Ie||(Ie={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",Ie;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ut=Re||"undefined"!=typeof global&&global||ze||_t,ht={},Fe=[],cn=j({\u0275cmp:j}),xt=j({\u0275dir:j}),si=j({\u0275pipe:j}),Sn=j({\u0275mod:j}),dn=j({\u0275fac:j}),Mn=j({__NG_ELEMENT_ID__:j});let sf=0;function xo(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Fe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||Ie.Emulated,id:"c",styles:h.styles||Fe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,w=h.features,v=h.pipes;return _.id+=sf++,_.inputs=y(h.inputs,m),_.outputs=y(h.outputs),w&&w.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(os):null,_.pipeDefs=v?()=>("function"==typeof v?v():v).map(Hn):null,_})}function os(h){return hi(h)||function We(h){return h[xt]||null}(h)}function Hn(h){return function Dn(h){return h[si]||null}(h)}const tc={};function _a(h){return X(()=>{const g={type:h.type,bootstrap:h.bootstrap||Fe,declarations:h.declarations||Fe,imports:h.imports||Fe,exports:h.exports||Fe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(tc[h.id]=h.type),g})}function y(h,g){if(null==h)return ht;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),m[C]=_,g&&(g[C]=w)}return m}const jt=xo;function Nt(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function hi(h){return h[cn]||null}function gi(h,g){const m=h[Sn]||null;if(!m&&!0===g)throw new Error(`Type ${Y(h)} does not have '\u0275mod' property.`);return m}function Oi(h){return Array.isArray(h)&&"object"==typeof h[1]}function Ki(h){return Array.isArray(h)&&!0===h[1]}function rc(h){return 0!=(8&h.flags)}function ac(h){return 2==(2&h.flags)}function cs(h){return 1==(1&h.flags)}function un(h){return null!==h.template}function iu(h){return 0!=(512&h[2])}function Hi(h,g){return h.hasOwnProperty(dn)?h[dn]:null}class qt{constructor(g,m,_){this.previousValue=g,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function Di(){return Li}function Li(h){return h.type.prototype.ngOnChanges&&(h.setInput=hf),sc}function sc(){const h=vi(this),g=null==h?void 0:h.current;if(g){const m=h.previous;if(m===ht)h.previous=g;else for(let _ in g)m[_]=g[_];h.current=null,this.ngOnChanges(g)}}function hf(h,g,m,_){const C=vi(h)||function Ut(h,g){return h[pt]=g}(h,{previous:ht,current:null}),w=C.current||(C.current={}),v=C.previous,T=this.declaredInputs[m],S=v[T];w[T]=new qt(S&&S.currentValue,g,v===ht),h[_]=g}Di.ngInherit=!0;const pt="__ngSimpleChanges__";function vi(h){return h[pt]||null}let Ho;function Do(h){Ho=h}function Po(){return void 0!==Ho?Ho:"undefined"!=typeof document?document:void 0}function ft(h){return!!h.listen}const M={createRenderer:(h,g)=>Po()};function H(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,g){return H(g[h])}function _e(h,g){return H(g[h.index])}function Pt(h,g){return h.data[g]}function St(h,g){return h[g]}function gt(h,g){const m=g[h];return Oi(m)?m:m[0]}function yt(h){return 4==(4&h[2])}function ti(h){return 128==(128&h[2])}function zt(h,g){return null==g?null:h[g]}function jr(h){h[18]=0}function kn(h,g){h[5]+=g;let m=h,_=h[3];for(;null!==_&&(1===g&&1===m[5]||-1===g&&0===m[5]);)_[5]+=g,m=_,_=_[3]}const Je={lFrame:ms(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function xa(){return Je.bindingsEnabled}function ye(){return Je.lFrame.lView}function wt(){return Je.lFrame.tView}function ff(h){return Je.lFrame.contextLView=h,h[8]}function Rt(){let h=su();for(;null!==h&&64===h.type;)h=h.parent;return h}function su(){return Je.lFrame.currentTNode}function In(h,g){const m=Je.lFrame;m.currentTNode=h,m.isParent=g}function gf(){return Je.lFrame.isParent}function li(){Je.lFrame.isParent=!1}function cc(){return Je.isInCheckNoChangesMode}function ko(h){Je.isInCheckNoChangesMode=h}function Ai(){const h=Je.lFrame;let g=h.bindingRootIndex;return-1===g&&(g=h.bindingRootIndex=h.tView.bindingStartIndex),g}function gs(){return Je.lFrame.bindingIndex++}function Kn(h){const g=Je.lFrame,m=g.bindingIndex;return g.bindingIndex=g.bindingIndex+h,m}function Ta(h,g){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,Ea(g)}function Ea(h){Je.lFrame.currentDirectiveIndex=h}function lu(h){const g=Je.lFrame.currentDirectiveIndex;return-1===g?null:h[g]}function Nr(){return Je.lFrame.currentQueryIndex}function cu(h){Je.lFrame.currentQueryIndex=h}function _f(h){const g=h[1];return 2===g.type?g.declTNode:1===g.type?h[6]:null}function du(h,g,m){if(m&it.SkipSelf){let C=g,w=h;for(;!(C=C.parent,null!==C||m&it.Host||(C=_f(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;g=C,h=w}const _=Je.lFrame=Vo();return _.currentTNode=g,_.lView=h,!0}function dc(h){const g=Vo(),m=h[1];Je.lFrame=g,g.currentTNode=m.firstChild,g.lView=h,g.tView=m,g.contextLView=h,g.bindingIndex=m.bindingStartIndex,g.inI18n=!1}function Vo(){const h=Je.lFrame,g=null===h?null:h.child;return null===g?ms(h):g}function ms(h){const g={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:h,child:null,inI18n:!1};return null!==h&&(h.child=g),g}function uu(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const Bo=uu;function uc(){const h=uu();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function xi(){return Je.lFrame.selectedIndex}function Cr(h){Je.lFrame.selectedIndex=h}function Wt(){const h=Je.lFrame;return Pt(h.tView,h.selectedIndex)}function bf(){Je.lFrame.currentNamespace="svg"}function Oo(){!function Xb(){Je.lFrame.currentNamespace=null}()}function pc(h,g){for(let m=g.directiveStart,_=g.directiveEnd;m<_;m++){const w=h.data[m].type.prototype,{ngAfterContentInit:v,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=w;v&&(h.contentHooks||(h.contentHooks=[])).push(-m,v),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function fc(h,g,m){gc(h,g,3,m)}function Fo(h,g,m,_){(3&h[2])===m&&gc(h,g,m,_)}function Lo(h,g){let m=h[2];(3&m)===g&&(m&=2047,m+=1,h[2]=m)}function gc(h,g,m,_){const w=null!=_?_:-1,v=g.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else g[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===g){h[2]+=2048;try{w.call(T)}finally{}}}else try{w.call(T)}finally{}}class _s{constructor(g,m,_){this.factory=g,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function jo(h,g,m){const _=ft(h);let C=0;for(;Cg){v=w-1;break}}}for(;w>16}(h),_=g;for(;m>0;)_=_[15],m--;return _}let Sa=!0;function ys(h){const g=Sa;return Sa=h,g}let fu=0;function zo(h,g){const m=yc(h,g);if(-1!==m)return m;const _=g[1];_.firstCreatePass&&(h.injectorIndex=g.length,gu(_.data,h),gu(g,null),gu(_.blueprint,null));const C=Ma(h,g),w=h.injectorIndex;if(wf(C)){const v=Cs(C),T=wr(C,g),S=T[1].data;for(let P=0;P<8;P++)g[w+P]=T[v+P]|S[v+P]}return g[w+8]=C,w}function gu(h,g){h.push(0,0,0,0,0,0,0,0,g)}function yc(h,g){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===g[h.injectorIndex+8]?-1:h.injectorIndex}function Ma(h,g){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=g;for(;null!==C;){const w=C[1],v=w.type;if(_=2===v?w.declTNode:1===v?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function wc(h,g,m){!function oC(h,g,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(Mn)&&(_=m[Mn]),null==_&&(_=m[Mn]=fu++);const C=255&_;g.data[h+(C>>5)]|=1<=0?255&g:lC:g}(m);if("function"==typeof w){if(!du(g,h,_))return _&it.Host?Af(C,m,_):_u(g,m,_,C);try{const v=w(_);if(null!=v||_&it.Optional)return v;fe(m)}finally{Bo()}}else if("number"==typeof w){let v=null,T=yc(h,g),S=-1,P=_&it.Host?g[16][6]:null;for((-1===T||_&it.SkipSelf)&&(S=-1===T?Ma(h,g):g[T+8],-1!==S&&Tf(_,!1)?(v=g[1],T=Cs(S),g=wr(S,g)):T=-1);-1!==T;){const R=g[1];if(zr(w,T,R.data)){const F=cC(T,g,m,v,_,P);if(F!==xf)return F}S=g[T+8],-1!==S&&Tf(_,g[1].data[T+8]===P)&&zr(w,T,g)?(v=R,T=Cs(S),g=wr(S,g)):T=-1}}}return _u(g,m,_,C)}const xf={};function lC(){return new vs(Rt(),ye())}function cC(h,g,m,_,C,w){const v=g[1],T=v.data[h+8],R=ws(T,v,m,null==_?ac(T)&&Sa:_!=v&&0!=(3&T.type),C&it.Host&&w===T);return null!==R?fn(g,v,R,T):xf}function ws(h,g,m,_,C){const w=h.providerIndexes,v=g.data,T=1048575&w,S=h.directiveStart,R=w>>20,Q=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=v[S];if(te&&un(te)&&te.type===m)return S}return null}function fn(h,g,m,_){let C=h[m];const w=g.data;if(function Cf(h){return h instanceof _s}(C)){const v=C;v.resolving&&function Me(h,g){const m=g?`. Dependency path: ${g.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(w[m]));const T=ys(v.canSeeViewProviders);v.resolving=!0;const S=v.injectImpl?Vi(v.injectImpl):null;du(h,_,it.Default);try{C=h[m]=v.factory(void 0,w,h,_),g.firstCreatePass&&m>=_.directiveStart&&function tC(h,g,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:w}=g.type.prototype;if(_){const v=Li(g);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),w&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w))}(m,w[m],g)}finally{null!==S&&Vi(S),ys(T),v.resolving=!1,Bo()}}return C}function zr(h,g,m){return!!(m[g+(h>>5)]&1<{const g=h.prototype.constructor,m=g[dn]||Cu(g),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const w=C[dn]||Cu(C);if(w&&w!==m)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Cu(h){return oe(h)?()=>{const g=Cu(re(h));return g&&g()}:Hi(h)}function Ha(h){return function mu(h,g){if("class"===g)return h.classes;if("style"===g)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const w=m[C];if(bc(w))break;if(0===w)C+=2;else if("number"==typeof w)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(w===g)return m[C+1];C+=2}}}return null}(Rt(),h)}const As="__parameters__";function Da(h,g,m){return X(()=>{const _=function wu(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(g);function C(...w){if(this instanceof C)return _.apply(this,w),this;const v=new C(...w);return T.annotation=v,T;function T(S,P,R){const F=S.hasOwnProperty(As)?S[As]:Object.defineProperty(S,As,{value:[]})[As];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(v),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class $t{constructor(g,m){this._desc=g,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Ht({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const vu=new $t("AnalyzeForEntryComponents");function Xi(h,g){void 0===g&&(g=h);for(let m=0;mArray.isArray(m)?en(m,g):g(m))}function Tu(h,g,m){g>=h.length?h.push(m):h.splice(g,0,m)}function vc(h,g){return g>=h.length-1?h.pop():h.splice(g,1)[0]}function qo(h,g){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function _C(h,g,m,_){let C=h.length;if(C==g)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>g;)h[C]=h[C-2],C--;h[g]=m,h[g+1]=_}}(h,_,g,m)),_}function Su(h,g){const m=Es(h,g);if(m>=0)return h[1|m]}function Es(h,g){return function Hf(h,g,m){let _=0,C=h.length>>m;for(;C!==_;){const w=_+(C-_>>1),v=h[w<g?C=w:_=w+1}return~(C<({token:h})),-1),Gr=Ss(Da("Optional"),8),Ur=Ss(Da("SkipSelf"),4);let vr,Zo;function Ds(h){var g;return(null===(g=function Bu(){if(void 0===vr&&(vr=null,ut.trustedTypes))try{vr=ut.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return vr}())||void 0===g?void 0:g.createHTML(h))||h}function RC(h){var g;return(null===(g=function Xo(){if(void 0===Zo&&(Zo=null,ut.trustedTypes))try{Zo=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Zo}())||void 0===g?void 0:g.createHTML(h))||h}class Pa{constructor(g){this.changingThisBreaksApplicationSecurity=g}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class kC extends Pa{getTypeName(){return"HTML"}}class Fu extends Pa{getTypeName(){return"Style"}}class IC extends Pa{getTypeName(){return"Script"}}class VC extends Pa{getTypeName(){return"URL"}}class BC extends Pa{getTypeName(){return"ResourceURL"}}function er(h){return h instanceof Pa?h.changingThisBreaksApplicationSecurity:h}function Ps(h,g){const m=Nf(h);if(null!=m&&m!==g){if("ResourceURL"===m&&"URL"===g)return!0;throw new Error(`Required a safe ${g}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===g}function Nf(h){return h instanceof Pa&&h.getTypeName()||null}function OC(h){return new kC(h)}function Lu(h){return new Fu(h)}function FC(h){return new IC(h)}function LC(h){return new VC(h)}function zf(h){return new BC(h)}class C0{constructor(g){this.inertDocumentHelper=g}getInertBodyElement(g){g=""+g;try{const m=(new window.DOMParser).parseFromString(Ds(g),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(g):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class jC{constructor(g){if(this.defaultDoc=g,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(g){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=Ds(g),m;const _=this.inertDocument.createElement("body");return _.innerHTML=Ds(g),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(g){const m=g.attributes;for(let C=m.length-1;0Sc(g.trim())).join(", ")),this.buf.push(" ",v,'="',mn(S),'"')}var h;return this.buf.push(">"),!0}endElement(g){const m=g.nodeName.toLowerCase();ju.hasOwnProperty(m)&&!Qt.hasOwnProperty(m)&&(this.buf.push(""))}chars(g){this.buf.push(mn(g))}checkClobberedElement(g,m){if(m&&(g.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${g.outerHTML}`);return m}}const Hc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zu=/([^\#-~ |!])/g;function mn(h){return h.replace(/&/g,"&").replace(Hc,function(g){return"&#"+(1024*(g.charCodeAt(0)-55296)+(g.charCodeAt(1)-56320)+65536)+";"}).replace(zu,function(g){return"&#"+g.charCodeAt(0)+";"}).replace(//g,">")}let Is;function QC(h,g){let m=null;try{Is=Is||function Gf(h){const g=new jC(h);return function NC(){try{return!!(new window.DOMParser).parseFromString(Ds(""),"text/html")}catch(h){return!1}}()?new C0(g):g}(h);let _=g?String(g):"";m=Is.getInertBodyElement(_);let C=5,w=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=w,w=m.innerHTML,m=Is.getInertBodyElement(_)}while(_!==w);return Ds((new $C).sanitizeChildren(el(m)||m))}finally{if(m){const _=el(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function el(h){return"content"in h&&function Uf(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var ii=(()=>((ii=ii||{})[ii.NONE=0]="NONE",ii[ii.HTML=1]="HTML",ii[ii.STYLE=2]="STYLE",ii[ii.SCRIPT=3]="SCRIPT",ii[ii.URL=4]="URL",ii[ii.RESOURCE_URL=5]="RESOURCE_URL",ii))();function Dc(h){const g=tl();return g?RC(g.sanitize(ii.HTML,h)||""):Ps(h,"HTML")?RC(er(h)):QC(Po(),le(h))}function Gu(h){const g=tl();return g?g.sanitize(ii.URL,h)||"":Ps(h,"URL")?er(h):Sc(le(h))}function tl(){const h=ye();return h&&h[12]}const nl="__ngContext__";function Ri(h,g){h[nl]=g}function Wf(h){const g=function Rc(h){return h[nl]||null}(h);return g?Array.isArray(g)?g:g.lView:null}function Qf(h){return h.ngOriginalError}function R0(h,...g){h.error(...g)}class Vs{constructor(){this._console=console}handleError(g){const m=this._findOriginalError(g),_=function P0(h){return h&&h.ngErrorLogger||R0}(g);_(this._console,"ERROR",g),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(g){let m=g&&Qf(g);for(;m&&Qf(m);)m=Qf(m);return m||null}}const ny=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ut))();function xr(h){return h instanceof Function?h():h}var Tr=(()=>((Tr=Tr||{})[Tr.Important=1]="Important",Tr[Tr.DashCase=2]="DashCase",Tr))();function Jf(h,g){return undefined(h,g)}function al(h){const g=h[3];return Ki(g)?g[3]:g}function Zf(h){return oy(h[13])}function Xf(h){return oy(h[4])}function oy(h){for(;null!==h&&!Ki(h);)h=h[4];return h}function sl(h,g,m,_,C){if(null!=_){let w,v=!1;Ki(_)?w=_:Oi(_)&&(v=!0,_=_[0]);const T=H(_);0===h&&null!==m?null==C?py(g,m,T):Bs(g,m,T,C||null,!0):1===h&&null!==m?Bs(g,m,T,C||null,!0):2===h?function yy(h,g,m){const _=Wu(h,g);_&&function tx(h,g,m,_){ft(h)?h.removeChild(g,m,_):g.removeChild(m)}(h,_,g,m)}(g,T,v):3===h&&g.destroyNode(T),null!=w&&function rx(h,g,m,_,C){const w=m[7];w!==H(m)&&sl(g,h,_,w,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const w=vc(h,10+g);!function $0(h,g){kc(h,g,g[11],2,null,null),g[0]=null,g[6]=null}(_[1],_);const v=w[19];null!==v&&v.detachView(w[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function dy(h,g){if(!(256&g[2])){const m=g[11];ft(m)&&m.destroyNode&&kc(h,g,m,3,null,null),function J0(h){let g=h[13];if(!g)return ng(h[1],h);for(;g;){let m=null;if(Oi(g))m=g[13];else{const _=g[10];_&&(m=_)}if(!m){for(;g&&!g[4]&&g!==h;)Oi(g)&&ng(g[1],g),g=g[3];null===g&&(g=h),Oi(g)&&ng(g[1],g),m=g&&g[4]}g=m}}(g)}}function ng(h,g){if(!(256&g[2])){g[2]&=-129,g[2]|=256,function ex(h,g){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),w+=2}else{const v=_[C=m[w+1]];m[w].call(v)}if(null!==_){for(let w=C+1;w<_.length;w++)_[w]();g[7]=null}}(h,g),1===g[1].type&&ft(g[11])&&g[11].destroy();const m=g[17];if(null!==m&&Ki(g[3])){m!==g[3]&&cy(m,g);const _=g[19];null!==_&&_.detachView(h)}}}function uy(h,g,m){return function hy(h,g,m){let _=g;for(;null!==_&&40&_.type;)_=(g=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===Ie.None||C===Ie.Emulated)return null}return _e(_,m)}(h,g.parent,m)}function Bs(h,g,m,_,C){ft(h)?h.insertBefore(g,m,_,C):g.insertBefore(m,_,C)}function py(h,g,m){ft(h)?h.appendChild(g,m):g.appendChild(m)}function fy(h,g,m,_,C){null!==_?Bs(h,g,m,_,C):py(h,g,m)}function Wu(h,g){return ft(h)?h.parentNode(g):g.parentNode}function gy(h,g,m){return _y(h,g,m)}let _y=function my(h,g,m){return 40&h.type?_e(h,m):null};function $u(h,g,m,_){const C=uy(h,_,g),w=g[11],T=gy(_.parent||g[6],_,g);if(null!=C)if(Array.isArray(m))for(let S=0;Sw?"":C[F+1].toLowerCase();const te=8&_?Q:null;if(te&&-1!==Ay(te,P,0)||2&_&&P!==Q){if(_n(_))return!1;v=!0}}}}else{if(!v&&!_n(_)&&!_n(S))return!1;if(v&&_n(S))continue;v=!1,_=S|1&_}}return _n(_)||v}function _n(h){return 0==(1&h)}function Ty(h,g,m,_){if(null===g)return-1;let C=0;if(_||!m){let w=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+v:4&_&&(C+=" "+v);else""!==C&&!_n(v)&&(g+=dg(w,C),C=""),_=v,w=w||!_n(_);m++}return""!==C&&(g+=dg(w,C)),g}const at={};function Ju(h){ug(wt(),ye(),xi()+h,cc())}function ug(h,g,m,_){if(!_)if(3==(3&g[2])){const w=h.preOrderCheckHooks;null!==w&&fc(g,w,m)}else{const w=h.preOrderHooks;null!==w&&Fo(g,w,0,m)}Cr(m)}function $r(h,g){return h<<17|g<<2}function bn(h){return h>>17&32767}function Os(h){return 2|h}function Qr(h){return(131068&h)>>2}function Bc(h,g){return-131069&h|g<<2}function Oc(h){return 1|h}function th(h,g){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&ug(h,g,20,cc()),m(_,C)}finally{Cr(w)}}function rh(h,g,m){if(rc(g)){const C=g.directiveEnd;for(let w=g.directiveStart;w0;){const m=h[--g];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,v)}}function Xr(h,g){null!==h.hostBindings&&h.hostBindings(1,g)}function oh(h,g){g.flags|=2,(h.components||(h.components=[])).push(g.index)}function Dg(h,g,m){if(m){if(g.exportAs)for(let _=0;_0&&hl(m)}}function hl(h){for(let _=Zf(h);null!==_;_=Xf(_))for(let C=10;C<_.length;C++){const w=_[C];if(1024&w[2]){const v=w[1];Lt(v,w,v.template,w[8])}else w[5]>0&&hl(w)}const m=h[1].components;if(null!==m)for(let _=0;_0&&hl(C)}}function Ba(h,g){const m=gt(g,h),_=m[1];(function dh(h,g){for(let m=g.length;mPromise.resolve(null))();function Kc(h){return h[7]||(h[7]=[])}function ph(h){return h.cleanup||(h.cleanup=[])}function pl(h,g,m){return(null===h||un(h))&&(m=function V(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[g.index])),m[11]}function fl(h,g){const m=h[9],_=m?m.get(Vs,null):null;_&&_.handleError(g)}function Bg(h,g,m,_,C){for(let w=0;wthis.processProvider(T,g,m)),en([g],T=>this.processInjectorType(T,[],w)),this.records.set(Xc,Us(void 0,this));const v=this.records.get(fh);this.scope=null!=v?v.value:null,this.source=C||("object"==typeof g?null:Y(g))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(g=>g.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(g,m=Qo,_=it.Default){this.assertNotDestroyed();const C=kf(this),w=Vi(void 0);try{if(!(_&it.SkipSelf)){let T=this.records.get(g);if(void 0===T){const S=function td(h){return"function"==typeof h||"object"==typeof h&&h instanceof $t}(g)&&ui(g);T=S&&this.injectableDefInScope(S)?Us(bl(g),ml):null,this.records.set(g,T)}if(null!=T)return this.hydrate(g,T)}return(_&it.Self?_l():this.parent).get(g,m=_&it.Optional&&m===Qo?null:m)}catch(v){if("NullInjectorError"===v.name){if((v[xc]=v[xc]||[]).unshift(Y(g)),C)throw v;return function TC(h,g,m,_){const C=h[xc];throw g[Rf]&&C.unshift(g[Rf]),h.message=function EC(h,g,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Y(g);if(Array.isArray(g))C=g.map(Y).join(" -> ");else if("object"==typeof g){let w=[];for(let v in g)if(g.hasOwnProperty(v)){let T=g[v];w.push(v+":"+("string"==typeof T?JSON.stringify(T):Y(T)))}C=`{${w.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(Pf,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[xc]=null,h}(v,g,"R3InjectorError",this.source)}throw v}finally{Vi(w),kf(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(g=>this.get(g))}toString(){const g=[];return this.records.forEach((_,C)=>g.push(Y(C))),`R3Injector[${g.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(g,m,_){if(!(g=re(g)))return!1;let C=ss(g);const w=null==C&&g.ngModule||void 0,v=void 0===w?g:w,T=-1!==_.indexOf(v);if(void 0!==w&&(C=ss(w)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(v);try{en(C.imports,F=>{this.processInjectorType(F,m,_)&&(void 0===R&&(R=[]),R.push(F))})}finally{}if(void 0!==R)for(let F=0;Fthis.processProvider(he,Q,te||Fe))}}this.injectorDefTypes.add(v);const S=Hi(v)||(()=>new v);this.records.set(v,Us(S,ml));const P=C.providers;if(null!=P&&!T){const R=g;en(P,F=>this.processProvider(F,R,P))}return void 0!==w&&void 0!==g.providers}processProvider(g,m,_){let C=qs(g=re(g))?g:re(g&&g.provide);const w=function Wy(h,g,m){return Lg(h)?Us(void 0,h.useValue):Us(Fg(h),ml)}(g);if(qs(g)||!0!==g.multi)this.records.get(C);else{let v=this.records.get(C);v||(v=Us(void 0,ml,!0),v.factory=()=>Tc(v.multi),this.records.set(C,v)),C=g,v.multi.push(g)}this.records.set(C,w)}hydrate(g,m){return m.value===ml&&(m.value=Uy,m.value=m.factory()),"object"==typeof m.value&&m.value&&function bh(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(g){if(!g.providedIn)return!1;const m=re(g.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function bl(h){const g=ui(h),m=null!==g?g.factory:Hi(h);if(null!==m)return m;if(h instanceof $t)throw new ae(204,!1);if(h instanceof Function)return function Og(h){const g=h.length;if(g>0)throw qo(g,"?"),new ae(204,!1);const m=function rs(h){const g=h&&(h[Vr]||h[Br]);if(g){const m=function as(h){if(h.hasOwnProperty("name"))return h.name;const g=(""+h).match(/^function\s*([^\s(]+)/);return null===g?"":g[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),g}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function Fg(h,g,m){let _;if(qs(h)){const C=re(h);return Hi(C)||bl(C)}if(Lg(h))_=()=>re(h.useValue);else if(function ed(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...Tc(h.deps||[]));else if(function $y(h){return!(!h||!h.useExisting)}(h))_=()=>_i(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function _h(h){return!!h.deps}(h))return Hi(C)||bl(C);_=()=>new C(...Tc(h.deps))}return _}function Us(h,g,m=!1){return{factory:h,value:g,multi:m?[]:void 0}}function Lg(h){return null!==h&&"object"==typeof h&&AC in h}function qs(h){return"function"==typeof h}let wn=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return gh({name:""},_,m,"");{const w=null!==(C=m.name)&&void 0!==C?C:"";return gh({name:w},m.parent,m.providers,w)}}}return h.THROW_IF_NOT_FOUND=Qo,h.NULL=new gl,h.\u0275prov=Ht({token:h,providedIn:"any",factory:()=>_i(Xc)}),h.__NG_ELEMENT_ID__=-1,h})();function Zy(h,g){pc(Wf(h)[1],Rt())}function Eh(h){let g=function Th(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;g;){let C;if(un(h))C=g.\u0275cmp||g.\u0275dir;else{if(g.\u0275cmp)throw new ae(903,"");C=g.\u0275dir}if(C){if(m){_.push(C);const v=h;v.inputs=Mh(h.inputs),v.declaredInputs=Mh(h.declaredInputs),v.outputs=Mh(h.outputs);const T=C.hostBindings;T&&tw(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&Xy(h,S),P&&ew(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),un(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let v=0;v=0;_--){const C=h[_];C.hostVars=g+=C.hostVars,C.hostAttrs=Cc(C.hostAttrs,m=Cc(m,C.hostAttrs))}}(_)}function Mh(h){return h===ht?{}:h===Fe?[]:h}function Xy(h,g){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{g(_,C),m(_,C)}:g}function ew(h,g){const m=h.contentQueries;h.contentQueries=m?(_,C,w)=>{g(_,C,w),m(_,C,w)}:g}function tw(h,g){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{g(_,C),m(_,C)}:g}let Ws=null;function nr(){if(!Ws){const h=ut.Symbol;if(h&&h.iterator)Ws=h.iterator;else{const g=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(H(mt[_.index])):_.index;if(ft(m)){let mt=null;if(!T&&S&&(mt=function Sx(h,g,m,_){const C=h.cleanup;if(null!=C)for(let w=0;wS?T[S]:null}"string"==typeof v&&(w+=2)}return null}(h,g,C,_.index)),null!==mt)(mt.__ngLastListenerFn__||mt).__ngNextListenerFn__=w,mt.__ngLastListenerFn__=w,te=!1;else{w=ym(_,g,F,w,!1);const Et=m.listen(je,C,w);Q.push(w,Et),R&&R.push(C,$e,me,me+1)}}else w=ym(_,g,F,w,!0),je.addEventListener(C,w,v),Q.push(w),R&&R.push(C,$e,me,v)}else w=ym(_,g,F,w,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const Pe=Ee.length;if(Pe)for(let je=0;je0;)g=g[15],h--;return g}(h,Je.lFrame.contextLView))[8]}(h)}function Mx(h,g){let m=null;const _=function Ey(h){const g=h.attrs;if(null!=g){const m=g.indexOf(5);if(0==(1&m))return g[m+1]}return null}(h);for(let C=0;C=0}function bd(h,g,m){return Gn(h,g,m,!1),bd}function Dm(h,g){return Gn(h,g,null,!0),Dm}function Gn(h,g,m,_){const C=ye(),w=wt(),v=Kn(2);w.firstUpdatePass&&function Rm(h,g,m,_){const C=h.data;if(null===C[m+1]){const w=C[xi()],v=function Pm(h,g){return g>=h.expandoStartIndex}(h,m);(function Pw(h,g){return 0!=(h.flags&(g?16:32))})(w,_)&&null===g&&!v&&(g=!1),g=function yd(h,g,m,_){const C=lu(h);let w=_?g.residualClasses:g.residualStyles;if(null===C)0===(_?g.classBindings:g.styleBindings)&&(m=to(m=km(null,h,g,m,_),g.attrs,_),w=null);else{const v=g.directiveStylingLast;if(-1===v||h[v]!==C)if(m=km(C,h,g,m,_),null===w){let S=function Ew(h,g,m){const _=m?g.classBindings:g.styleBindings;if(0!==Qr(_))return h[bn(_)]}(h,g,_);void 0!==S&&Array.isArray(S)&&(S=km(null,h,g,S[1],_),S=to(S,g.attrs,_),function Sw(h,g,m,_){h[bn(m?g.classBindings:g.styleBindings)]=_}(h,g,_,S))}else w=function zh(h,g,m){let _;const C=g.directiveEnd;for(let w=1+g.directiveStylingLast;w0)&&(P=!0)}else R=m;if(C)if(0!==S){const Q=bn(h[T+1]);h[_+1]=$r(Q,T),0!==Q&&(h[Q+1]=Bc(h[Q+1],_)),h[T+1]=function Sy(h,g){return 131071&h|g<<17}(h[T+1],_)}else h[_+1]=$r(T,0),0!==T&&(h[T+1]=Bc(h[T+1],_)),T=_;else h[_+1]=$r(S,0),0===T?T=_:h[S+1]=Bc(h[S+1],_),S=_;P&&(h[_+1]=Os(h[_+1])),ar(h,R,_,!0),ar(h,R,_,!1),function Dx(h,g,m,_,C){const w=C?h.residualClasses:h.residualStyles;null!=w&&"string"==typeof g&&Es(w,g)>=0&&(m[_+1]=Oc(m[_+1]))}(g,R,h,_,w),v=$r(T,S),w?g.classBindings=v:g.styleBindings=v}(C,w,g,m,v,_)}}(w,h,v,_),g!==at&&Ei(C,v,g)&&function Hw(h,g,m,_,C,w,v,T){if(!(3&g.type))return;const S=h.data,P=S[T+1];Gh(function ol(h){return 1==(1&h)}(P)?Dw(S,g,m,C,Qr(P),v):void 0)||(Gh(w)||function hg(h){return 2==(2&h)}(P)&&(w=Dw(S,null,m,C,T,v)),function ax(h,g,m,_,C){const w=ft(h);if(g)C?w?h.addClass(m,_):m.classList.add(_):w?h.removeClass(m,_):m.classList.remove(_);else{let v=-1===_.indexOf("-")?void 0:Tr.DashCase;if(null==C)w?h.removeStyle(m,_,v):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),v|=Tr.Important),w?h.setStyle(m,_,C,v):m.style.setProperty(_,C,T?"important":"")}}}(_,v,ue(xi(),m),C,w))}(w,w.data[xi()],C,C[11],h,C[v+1]=function Rx(h,g){return null==h||("string"==typeof g?h+=g:"object"==typeof h&&(h=Y(er(h)))),h}(g,m),_,v)}function km(h,g,m,_,C){let w=null;const v=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,F=null===R;let Q=m[C+1];Q===at&&(Q=F?Fe:void 0);let te=F?Su(Q,_):R===_?Q:void 0;if(P&&!Gh(te)&&(te=Su(S,_)),Gh(te)&&(T=te,v))return T;const he=h[C+1];C=v?bn(he):Qr(he)}if(null!==g){let S=w?g.residualClasses:g.residualStyles;null!=S&&(T=Su(S,_))}return T}function Gh(h){return void 0!==h}function Rw(h,g=""){const m=ye(),_=wt(),C=h+20,w=_.firstCreatePass?Jr(_,C,1,g,null):_.data[C],v=m[C]=function eg(h,g){return ft(h)?h.createText(g):h.createTextNode(g)}(m[11],g);$u(_,m,v,w),In(w,!1)}function Uh(h){return xl("",h,""),Uh}function xl(h,g,m){const _=ye(),C=$s(_,h,g,m);return C!==at&&Ln(_,xi(),C),xl}function Vm(h,g,m,_,C){const w=ye(),v=Qs(w,h,g,m,_,C);return v!==at&&Ln(w,xi(),v),Vm}function Ad(h,g,m){const _=ye();return Ei(_,gs(),g)&&nn(wt(),Wt(),_,h,g,_[11],m,!0),Ad}function Tl(h,g,m){const _=ye();if(Ei(_,gs(),g)){const w=wt(),v=Wt();nn(w,v,_,h,g,pl(lu(w.data),v,_),m,!0)}return Tl}const ra=void 0;var Uw=["en",[["a","p"],["AM","PM"],ra],[["AM","PM"],ra,ra],[["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"]],ra,[["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"]],ra,[["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}",ra,"{1} 'at' {0}",ra],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gw(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let aa={};function Lm(h){const g=function jm(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=Ww(g);if(m)return m;const _=g.split("-")[0];if(m=Ww(_),m)return m;if("en"===_)return Uw;throw new Error(`Missing locale data for the locale "${h}".`)}function qw(h){return Lm(h)[Ye.PluralCase]}function Ww(h){return h in aa||(aa[h]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[h]),aa[h]}var Ye=(()=>((Ye=Ye||{})[Ye.LocaleId=0]="LocaleId",Ye[Ye.DayPeriodsFormat=1]="DayPeriodsFormat",Ye[Ye.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ye[Ye.DaysFormat=3]="DaysFormat",Ye[Ye.DaysStandalone=4]="DaysStandalone",Ye[Ye.MonthsFormat=5]="MonthsFormat",Ye[Ye.MonthsStandalone=6]="MonthsStandalone",Ye[Ye.Eras=7]="Eras",Ye[Ye.FirstDayOfWeek=8]="FirstDayOfWeek",Ye[Ye.WeekendRange=9]="WeekendRange",Ye[Ye.DateFormat=10]="DateFormat",Ye[Ye.TimeFormat=11]="TimeFormat",Ye[Ye.DateTimeFormat=12]="DateTimeFormat",Ye[Ye.NumberSymbols=13]="NumberSymbols",Ye[Ye.NumberFormats=14]="NumberFormats",Ye[Ye.CurrencyCode=15]="CurrencyCode",Ye[Ye.CurrencySymbol=16]="CurrencySymbol",Ye[Ye.CurrencyName=17]="CurrencyName",Ye[Ye.Currencies=18]="Currencies",Ye[Ye.Directionality=19]="Directionality",Ye[Ye.PluralCase=20]="PluralCase",Ye[Ye.ExtraData=21]="ExtraData",Ye))();const lr="en-US";let Jh=lr;function s_(h,g,m,_,C){if(h=re(h),Array.isArray(h))for(let w=0;w>20;if(qs(h)||!h.multi){const te=new _s(S,C,Hr),he=Ed(T,g,C?R:R+Q,F);-1===he?(wc(zo(P,v),w,T),ao(w,h,g.length),g.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),v.push(te)):(m[he]=te,v[he]=te)}else{const te=Ed(T,g,R+Q,F),he=Ed(T,g,R,R+Q),Ee=te>=0&&m[te],Pe=he>=0&&m[he];if(C&&!Pe||!C&&!Ee){wc(zo(P,v),w,T);const je=function Tv(h,g,m,_,C){const w=new _s(h,m,Hr);return w.multi=[],w.index=g,w.componentProviders=0,Av(w,C,_&&!m),w}(C?xv:so,m.length,C,_,S);!C&&Pe&&(m[he].providerFactory=je),ao(w,h,g.length,0),g.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),v.push(je)}else ao(w,h,te>-1?te:he,Av(m[C?he:te],S,!C&&_));!C&&_&&Pe&&m[he].componentProviders++}}}function ao(h,g,m,_){const C=qs(g),w=function Fa(h){return!!h.useClass}(g);if(C||w){const S=(w?re(g.useClass):g).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&g.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function Av(h,g,m){return m&&h.componentProviders++,h.multi.push(g)-1}function Ed(h,g,m,_){for(let C=m;C<_;C++)if(g[C]===h)return C;return-1}function so(h,g,m,_){return tp(this.multi,[])}function xv(h,g,m,_){const C=this.multi;let w;if(this.providerFactory){const v=this.providerFactory.componentProviders,T=fn(m,m[1],this.providerFactory.index,_);w=T.slice(0,v),tp(C,w);for(let S=v;S{m.providersResolver=(_,C)=>function hT(h,g,m){const _=wt();if(_.firstCreatePass){const C=un(h);s_(m,_.data,_.blueprint,C,!0),s_(g,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,g)}}class c_{}class u_{resolveComponentFactory(g){throw function Ev(h){const g=Error(`No component factory found for ${Y(h)}. Did you add it to @NgModule.entryComponents?`);return g.ngComponent=h,g}(g)}}let oo=(()=>{class h{}return h.NULL=new u_,h})();function Sv(){return Rl(Rt(),ye())}function Rl(h,g){return new lo(_e(h,g))}let lo=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=Sv,h})();function Mv(h){return h instanceof lo?h.nativeElement:h}class h_{}let Hv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function Pv(){const h=ye(),m=gt(Rt().index,h);return function Dv(h){return h[11]}(Oi(m)?m:h)}(),h})(),Rv=(()=>{class h{}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:()=>null}),h})();class p_{constructor(g){this.full=g,this.major=g.split(".")[0],this.minor=g.split(".")[1],this.patch=g.split(".").slice(2).join(".")}}const co=new p_("13.2.2"),f_={};function Sd(h,g,m,_,C=!1){for(;null!==m;){const w=g[m.index];if(null!==w&&_.push(H(w)),Ki(w))for(let T=10;T-1&&(ig(g,_),vc(m,_))}this._attachedToViewContainer=!1}dy(this._lView[1],this._lView)}onDestroy(g){Vy(this._lView[1],this._lView,null,g)}markForCheck(){uh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){tr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Vg(h,g,m){ko(!0);try{tr(h,g,m)}finally{ko(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Y0(h,g){kc(h,g,g[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(g){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=g}}class kv extends kl{constructor(g){super(g),this._view=g}detectChanges(){hh(this._view)}checkNoChanges(){!function ir(h){ko(!0);try{hh(h)}finally{ko(!1)}}(this._view)}get context(){return null}}class Iv extends oo{constructor(g){super(),this.ngModule=g}resolveComponentFactory(g){const m=hi(g);return new np(m,this.ngModule)}}function Vv(h){const g=[];for(let m in h)h.hasOwnProperty(m)&&g.push({propName:h[m],templateName:m});return g}const ip=new $t("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ny});class np extends c_{constructor(g,m){super(),this.componentDef=g,this.ngModule=m,this.componentType=g.type,this.selector=function ni(h){return h.map(Ic).join(",")}(g.selectors),this.ngContentSelectors=g.ngContentSelectors?g.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return Vv(this.componentDef.inputs)}get outputs(){return Vv(this.componentDef.outputs)}create(g,m,_,C){const w=(C=C||this.ngModule)?function Bv(h,g){return{get:(m,_,C)=>{const w=h.get(m,f_,C);return w!==f_||_===f_?w:g.get(m,_,C)}}}(g,C.injector):g,v=w.get(h_,M),T=w.get(Rv,null),S=v.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function dl(h,g,m){if(ft(h))return h.selectRootElement(g,m===Ie.ShadowDom);let _="string"==typeof g?h.querySelector(g):g;return _.textContent="",_}(S,_,this.componentDef.encapsulation):tg(v.createRenderer(null,this.componentDef),P,function fT(h){const g=h.toLowerCase();return"svg"===g?"svg":"math"===g?"math":null}(P)),F=this.componentDef.onPush?576:528,Q=function xh(h,g){return{components:[],scheduler:h||ny,clean:Ny,playerHandler:g||null,flags:0}}(),te=bt(0,null,null,1,0,null,null,null,null,null),he=Ls(null,te,Q,F,null,null,v,S,T,w);let Ee,Pe;dc(he);try{const je=function qg(h,g,m,_,C,w){const v=m[1];m[20]=h;const S=Jr(v,20,2,"#host",null),P=S.mergedAttrs=g.hostAttrs;null!==P&&(Zc(S,P,!0),null!==h&&(jo(C,h,P),null!==S.classes&&og(C,h,S.classes),null!==S.styles&&vy(C,h,S.styles)));const R=_.createRenderer(h,g),F=Ls(m,Kr(g),null,g.onPush?64:16,m[20],S,_,R,w||null,null);return v.firstCreatePass&&(wc(zo(S,m),v,g.type),oh(v,S),lh(S,m.length,1)),Oa(m,F),m[20]=F}(R,this.componentDef,he,v,S);if(R)if(_)jo(S,R,["ng-version",co.full]);else{const{attrs:me,classes:$e}=function Jt(h){const g=[],m=[];let _=1,C=2;for(;_0&&og(S,R,$e.join(" "))}if(Pe=Pt(te,20),void 0!==m){const me=Pe.projection=[];for(let $e=0;$eS(v,g)),g.contentQueries){const S=Rt();g.contentQueries(1,v,S.directiveStart)}const T=Rt();return!w.firstCreatePass||null===g.hostBindings&&null===g.hostAttrs||(Cr(T.index),Wc(m[1],T,0,T.directiveStart,T.directiveEnd,g),Xr(g,v)),v}(je,this.componentDef,he,Q,[Zy]),tn(te,he,null)}finally{uc()}return new mT(this.componentType,Ee,Rl(Pe,he),he,Pe)}}class mT extends class l_{}{constructor(g,m,_,C,w){super(),this.location=_,this._rootLView=C,this._tNode=w,this.instance=m,this.hostView=this.changeDetectorRef=new kv(C),this.componentType=g}get injector(){return new vs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(g){this.hostView.onDestroy(g)}}class Il{}class Ov{}const Rr=new Map;class Nv extends Il{constructor(g,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Iv(this);const _=gi(g);this._bootstrapComponents=xr(_.bootstrap),this._r3Injector=mh(g,m,[{provide:Il,useValue:this},{provide:oo,useValue:this.componentFactoryResolver}],Y(g)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(g)}get(g,m=wn.THROW_IF_NOT_FOUND,_=it.Default){return g===wn||g===Il||g===Xc?this:this._r3Injector.get(g,m,_)}destroy(){const g=this._r3Injector;!g.destroyed&&g.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(g){this.destroyCbs.push(g)}}class __ extends Ov{constructor(g){super(),this.moduleType=g,null!==gi(g)&&function Lv(h){const g=new Set;!function m(_){const C=gi(_,!0),w=C.id;null!==w&&(function g_(h,g,m){if(g&&g!==m)throw new Error(`Duplicate module registered for ${h} - ${Y(g)} vs ${Y(g.name)}`)}(w,Rr.get(w),_),Rr.set(w,_));const v=xr(C.imports);for(const T of v)g.has(T)||(g.add(T),m(T))}(h)}(g)}create(g){return new Nv(this.moduleType,g)}}function Gv(h,g,m,_){return b_(ye(),Ai(),h,g,m,_)}function uo(h,g){const m=h[g];return m===at?void 0:m}function b_(h,g,m,_,C,w){const v=g+m;return Ei(h,v,C)?rr(h,v+1,w?_.call(w,C):_(C)):uo(h,v+1)}function ho(h,g,m,_,C,w,v,T){const S=g+m;return function yl(h,g,m,_,C){const w=ta(h,g,m,_);return Ei(h,g+2,C)||w}(h,S,C,w,v)?rr(h,S+3,T?_.call(T,C,w,v):_(C,w,v)):uo(h,S+3)}function w_(h,g){const m=wt();let _;const C=h+20;m.firstCreatePass?(_=function qv(h,g){if(g)for(let m=g.length-1;m>=0;m--){const _=g[m];if(h===_.name)return _}}(g,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const w=_.factory||(_.factory=Hi(_.type)),v=Vi(Hr);try{const T=ys(!1),S=w();return ys(T),function tm(h,g,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),g[m]=_}(m,ye(),C,S),S}finally{Vi(v)}}function op(h,g,m){const _=h+20,C=ye(),w=St(C,_);return la(C,_)?b_(C,Ai(),g,w.transform,m,w):w.transform(m)}function lp(h,g,m,_){const C=h+20,w=ye(),v=St(w,C);return la(w,C)?function C_(h,g,m,_,C,w,v){const T=g+m;return ta(h,T,C,w)?rr(h,T+2,v?_.call(v,C,w):_(C,w)):uo(h,T+2)}(w,Ai(),g,v.transform,m,_,v):v.transform(m,_)}function v_(h,g,m,_,C){const w=h+20,v=ye(),T=St(v,w);return la(v,w)?ho(v,Ai(),g,T.transform,m,_,C,T):T.transform(m,_,C)}function la(h,g){return h[1].data[g].pure}function cp(h){return g=>{setTimeout(h,void 0,g)}}const xn=class $v extends E.x{constructor(g=!1){super(),this.__isAsync=g}emit(g){super.next(g)}subscribe(g,m,_){var C,w,v;let T=g,S=m||(()=>null),P=_;if(g&&"object"==typeof g){const F=g;T=null===(C=F.next)||void 0===C?void 0:C.bind(F),S=null===(w=F.error)||void 0===w?void 0:w.bind(F),P=null===(v=F.complete)||void 0===v?void 0:v.bind(F)}this.__isAsync&&(S=cp(S),T&&(T=cp(T)),P&&(P=cp(P)));const R=super.subscribe({next:T,error:S,complete:P});return g instanceof p.w0&&g.add(R),R}};function A_(){return this._results[nr()]()}class Dd{constructor(g=!1){this._emitDistinctChangesOnly=g,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=nr(),_=Dd.prototype;_[m]||(_[m]=A_)}get changes(){return this._changes||(this._changes=new xn)}get(g){return this._results[g]}map(g){return this._results.map(g)}filter(g){return this._results.filter(g)}find(g){return this._results.find(g)}reduce(g,m){return this._results.reduce(g,m)}forEach(g){this._results.forEach(g)}some(g){return this._results.some(g)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(g,m){const _=this;_.dirty=!1;const C=Xi(g);(this._changesDetected=!function Uo(h,g,m){if(h.length!==g.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=x_,h})();const Qv=ca,Vl=class extends Qv{constructor(g,m,_){super(),this._declarationLView=g,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(g){const m=this._declarationTContainer.tViews,_=Ls(this._declarationLView,m,g,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(_[19]=w.createEmbeddedView(m)),tn(m,_,g),new kl(_)}};function x_(){return Pd(Rt(),ye())}function Pd(h,g){return 4&h.type?new Vl(g,h,Rl(h,g)):null}let Bl=(()=>{class h{}return h.__NG_ELEMENT_ID__=T_,h})();function T_(){return Ol(Rt(),ye())}const Ga=Bl,po=class extends Ga{constructor(g,m,_){super(),this._lContainer=g,this._hostTNode=m,this._hostLView=_}get element(){return Rl(this._hostTNode,this._hostLView)}get injector(){return new vs(this._hostTNode,this._hostLView)}get parentInjector(){const g=Ma(this._hostTNode,this._hostLView);if(wf(g)){const m=wr(g,this._hostLView),_=Cs(g);return new vs(m[1].data[_+8],m)}return new vs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(g){const m=E_(this._lContainer);return null!==m&&m[g]||null}get length(){return this._lContainer.length-10}createEmbeddedView(g,m,_){const C=g.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(g,m,_,C,w){const v=g&&!function Ts(h){return"function"==typeof h}(g);let T;if(v)T=m;else{const F=m||{};T=F.index,_=F.injector,C=F.projectableNodes,w=F.ngModuleRef}const S=v?g:new np(hi(g)),P=_||this.parentInjector;if(!w&&null==S.ngModule&&P){const F=P.get(Il,null);F&&(w=F)}const R=S.create(P,C,void 0,w);return this.insert(R.hostView,T),R}insert(g,m){const _=g._lView,C=_[1];if(function Ft(h){return Ki(h[3])}(_)){const R=this.indexOf(g);if(-1!==R)this.detach(R);else{const F=_[3],Q=new po(F,F[6],F[3]);Q.detach(Q.indexOf(g))}}const w=this._adjustIndex(m),v=this._lContainer;!function K0(h,g,m,_){const C=10+_,w=m.length;_>0&&(m[C-1][4]=g),_0)_.push(v[T/2]);else{const P=w[T+1],R=g[-S];for(let F=10;F{class h{constructor(m){this.appInits=m,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:T,error:S})});m.push(v)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(_i(Sp,8))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const aA=new $t("AppId"),sA={provide:aA,useFactory:function RT(){return`${z_()}${z_()}${z_()}`},deps:[]};function z_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const oA=new $t("Platform Initializer"),lA=new $t("Platform ID"),G_=new $t("appBootstrapListener");let U_=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Mp=new $t("LocaleId"),Fd=new $t("DefaultCurrencyCode");class IT{constructor(g,m){this.ngModuleFactory=g,this.componentFactories=m}}let q_=(()=>{class h{compileModuleSync(m){return new __(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),w=xr(gi(m).declarations).reduce((v,T)=>{const S=hi(T);return S&&v.push(new np(S)),v},[]);return new IT(_,w)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const OT=(()=>Promise.resolve(0))();function W_(h){"undefined"==typeof Zone?OT.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class Tn{constructor({enableLongStackTrace:g=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xn(!1),this.onMicrotaskEmpty=new xn(!1),this.onStable=new xn(!1),this.onError=new xn(!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)),g&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function FT(){let h=ut.requestAnimationFrame,g=ut.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&g){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=g[Zone.__symbol__("OriginalDelegate")];_&&(g=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:g}}().nativeRequestAnimationFrame,function NT(h){const g=()=>{!function jT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(ut,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,Q_(h),h.isCheckStableRunning=!0,$_(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),Q_(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,w,v,T)=>{try{return Hp(h),m.invokeTask(C,w,v,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||h.shouldCoalesceRunChangeDetection)&&g(),cA(h)}},onInvoke:(m,_,C,w,v,T,S)=>{try{return Hp(h),m.invoke(C,w,v,T,S)}finally{h.shouldCoalesceRunChangeDetection&&g(),cA(h)}},onHasTask:(m,_,C,w)=>{m.hasTask(C,w),_===C&&("microTask"==w.change?(h._hasPendingMicrotasks=w.microTask,Q_(h),$_(h)):"macroTask"==w.change&&(h.hasPendingMacrotasks=w.macroTask))},onHandleError:(m,_,C,w)=>(m.handleError(C,w),h.runOutsideAngular(()=>h.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Tn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Tn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(g,m,_){return this._inner.run(g,m,_)}runTask(g,m,_,C){const w=this._inner,v=w.scheduleEventTask("NgZoneEvent: "+C,g,LT,Ep,Ep);try{return w.runTask(v,m,_)}finally{w.cancelTask(v)}}runGuarded(g,m,_){return this._inner.runGuarded(g,m,_)}runOutsideAngular(g){return this._outer.run(g)}}const LT={};function $_(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function Q_(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function Hp(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function cA(h){h._nesting--,$_(h)}class Dp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xn,this.onMicrotaskEmpty=new xn,this.onStable=new xn,this.onError=new xn}run(g,m,_){return g.apply(m,_)}runGuarded(g,m,_){return g.apply(m,_)}runOutsideAngular(g){return g()}runTask(g,m,_,C){return g.apply(m,_)}}let dA=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{Tn.assertNotInAngularZone(),W_(()=>{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())W_(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let w=-1;_&&_>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==w),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:w,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(_i(Tn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})(),uA=(()=>{class h{constructor(){this._applications=new Map,Pp.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return Pp.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();class zT{addToWindow(g){}findTestabilityInTree(g,m,_){return null}}function GT(h){Pp=h}let Gt,Pp=new zT;const kp=new $t("AllowMultipleToken");class UT{constructor(g,m){this.name=g,this.token=m}}function K_(h,g,m=[]){const _=`Platform: ${g}`,C=new $t(_);return(w=[])=>{let v=Ip();if(!v||v.injector.get(kp,!1))if(h)h(m.concat(w).concat({provide:C,useValue:!0}));else{const T=m.concat(w).concat({provide:C,useValue:!0},{provide:fh,useValue:"platform"});!function J_(h){if(Gt&&!Gt.destroyed&&!Gt.injector.get(kp,!1))throw new ae(400,"");Gt=h.get(eb);const g=h.get(oA,null);g&&g.forEach(m=>m())}(wn.create({providers:T,name:_}))}return function Z_(h){const g=Ip();if(!g)throw new ae(401,"");return g}()}}function Ip(){return Gt&&!Gt.destroyed?Gt:null}let eb=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function qT(h,g){let m;return m="noop"===h?new Dp:("zone.js"===h?void 0:h)||new Tn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==g?void 0:g.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==g?void 0:g.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:Tn,useValue:T}];return T.run(()=>{const P=wn.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),F=R.injector.get(Vs,null);if(!F)throw new ae(402,"");return T.runOutsideAngular(()=>{const Q=T.onError.subscribe({next:te=>{F.handleError(te)}});R.onDestroy(()=>{Vp(this._modules,R),Q.unsubscribe()})}),function tb(h,g,m){try{const _=m();return fd(_)?_.catch(C=>{throw g.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw g.runOutsideAngular(()=>h.handleError(_)),_}}(F,T,()=>{const Q=R.injector.get(go);return Q.runInitializers(),Q.donePromise.then(()=>(function Yw(h){Bt(h,"Expected localeId to be defined"),"string"==typeof h&&(Jh=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Mp,lr)||lr),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=pA({},_);return function Rp(h,g,m){const _=new __(m);return Promise.resolve(_)}(0,0,m).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(m){const _=m.injector.get(Ld);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(_i(wn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function pA(h,g){return Array.isArray(g)?g.reduce(pA,h):Object.assign(Object.assign({},h),g)}let Ld=(()=>{class h{constructor(m,_,C,w,v){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=v,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 T=new I.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new I.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{Tn.assertNotInAngularZone(),W_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{Tn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),F.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,B.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof c_?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const w=function hA(h){return h.isBoundToModule}(C)?void 0:this._injector.get(Il),T=C.create(wn.NULL,[],_||C.selector,w),S=T.location.nativeElement,P=T.injector.get(dA,null),R=P&&T.injector.get(uA);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),Vp(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;Vp(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(G_,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(_i(Tn),_i(wn),_i(Vs),_i(oo),_i(go))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Vp(h,g){const m=h.indexOf(g);m>-1&&h.splice(m,1)}let nb=!0;function ab(){nb=!1}let gA=(()=>{class h{}return h.__NG_ELEMENT_ID__=sb,h})();function sb(h){return function $a(h,g,m){if(ac(h)&&!m){const _=gt(h.index,g);return new kl(_,_)}return 47&h.type?new kl(g[16],g):null}(Rt(),ye(),16==(16&h))}class Op{constructor(){}supports(g){return Cl(g)}create(g){return new ub(g)}}const db=(h,g)=>g;class ub{constructor(g){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=g||db}forEachItem(g){let m;for(m=this._itHead;null!==m;m=m._next)g(m)}forEachOperation(g){let m=this._itHead,_=this._removalsHead,C=0,w=null;for(;m||_;){const v=!_||m&&m.currentIndex{v=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,v)?(_&&(m=this._verifyReinsertion(m,T,v,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,v,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=g,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let g;for(g=this._previousItHead=this._itHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._additionsHead;null!==g;g=g._nextAdded)g.previousIndex=g.currentIndex;for(this._additionsHead=this._additionsTail=null,g=this._movesHead;null!==g;g=g._nextMoved)g.previousIndex=g.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(g,m,_,C){let w;return null===g?w=this._itTail:(w=g._prev,this._remove(g)),null!==(g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(g.item,m)||this._addIdentityChange(g,m),this._reinsertAfter(g,w,C)):null!==(g=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(g.item,m)||this._addIdentityChange(g,m),this._moveAfter(g,w,C)):g=this._addAfter(new hb(m,_),w,C),g}_verifyReinsertion(g,m,_,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==w?g=this._reinsertAfter(w,g._prev,C):g.currentIndex!=C&&(g.currentIndex=C,this._addToMoves(g,C)),g}_truncate(g){for(;null!==g;){const m=g._next;this._addToRemovals(this._unlink(g)),g=m}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(g,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(g);const C=g._prevRemoved,w=g._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(g,m,_),this._addToMoves(g,_),g}_moveAfter(g,m,_){return this._unlink(g),this._insertAfter(g,m,_),this._addToMoves(g,_),g}_addAfter(g,m,_){return this._insertAfter(g,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=g:this._additionsTail._nextAdded=g,g}_insertAfter(g,m,_){const C=null===m?this._itHead:m._next;return g._next=C,g._prev=m,null===C?this._itTail=g:C._prev=g,null===m?this._itHead=g:m._next=g,null===this._linkedRecords&&(this._linkedRecords=new Fp),this._linkedRecords.put(g),g.currentIndex=_,g}_remove(g){return this._addToRemovals(this._unlink(g))}_unlink(g){null!==this._linkedRecords&&this._linkedRecords.remove(g);const m=g._prev,_=g._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,g}_addToMoves(g,m){return g.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=g:this._movesTail._nextMoved=g),g}_addToRemovals(g){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Fp),this._unlinkedRecords.put(g),g.currentIndex=null,g._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=g,g._prevRemoved=null):(g._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=g),g}_addIdentityChange(g,m){return g.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=g:this._identityChangesTail._nextIdentityChange=g,g}}class hb{constructor(g,m){this.item=g,this.trackById=m,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 wA{constructor(){this._head=null,this._tail=null}add(g){null===this._head?(this._head=this._tail=g,g._nextDup=null,g._prevDup=null):(this._tail._nextDup=g,g._prevDup=this._tail,g._nextDup=null,this._tail=g)}get(g,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,g))return _;return null}remove(g){const m=g._prevDup,_=g._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class Fp{constructor(){this.map=new Map}put(g){const m=g.trackById;let _=this.map.get(m);_||(_=new wA,this.map.set(m,_)),_.add(g)}get(g,m){const C=this.map.get(g);return C?C.get(g,m):null}remove(g){const m=g.trackById;return this.map.get(m).remove(g)&&this.map.delete(m),g}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Lp(h,g,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const w=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,w)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(g,m){if(g){const _=g._prev;return m._next=g,m._prev=_,g._prev=m,_&&(_._next=m),g===this._mapHead&&(this._mapHead=m),this._appendAfter=g,g}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(g,m){if(this._records.has(g)){const C=this._records.get(g);this._maybeAddToChanges(C,m);const w=C._prev,v=C._next;return w&&(w._next=v),v&&(v._prev=w),C._next=null,C._prev=null,C}const _=new jp(g);return this._records.set(g,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let g;for(this._previousMapHead=this._mapHead,g=this._previousMapHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._changesHead;null!==g;g=g._nextChanged)g.previousValue=g.currentValue;for(g=this._additionsHead;null!=g;g=g._nextAdded)g.previousValue=g.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(g,m){Object.is(m,g.currentValue)||(g.previousValue=g.currentValue,g.currentValue=m,this._addToChanges(g))}_addToAdditions(g){null===this._additionsHead?this._additionsHead=this._additionsTail=g:(this._additionsTail._nextAdded=g,this._additionsTail=g)}_addToChanges(g){null===this._changesHead?this._changesHead=this._changesTail=g:(this._changesTail._nextChanged=g,this._changesTail=g)}_forEach(g,m){g instanceof Map?g.forEach(m):Object.keys(g).forEach(_=>m(g[_],_))}}class jp{constructor(g){this.key=g,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 Np(){return new Ul([new Op])}let Ul=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||Np()),deps:[[h,new Ur,new Gr]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:Np}),h})();function qd(){return new Ya([new Ud])}let Ya=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||qd()),deps:[[h,new Ur,new Gr]]}}find(m){const _=this.factories.find(w=>w.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:qd}),h})();const fb=[new Ud],mb=new Ul([new Op]),dr=new Ya(fb),_b=K_(null,"core",[{provide:lA,useValue:"unknown"},{provide:eb,deps:[wn]},{provide:uA,deps:[]},{provide:U_,deps:[]}]),Up=[{provide:Ld,useClass:Ld,deps:[Tn,wn,Vs,oo,go]},{provide:ip,deps:[Tn],useFactory:function Wd(h){let g=[];return h.onStable.subscribe(()=>{for(;g.length;)g.pop()()}),function(m){g.push(m)}}},{provide:go,useClass:go,deps:[[new Gr,Sp]]},{provide:q_,useClass:q_,deps:[]},sA,{provide:Ul,useFactory:function KT(){return mb},deps:[]},{provide:Ya,useFactory:function ZT(){return dr},deps:[]},{provide:Mp,useFactory:function zp(h){return h||function Gp(){return"undefined"!=typeof $localize&&$localize.locale||lr}()},deps:[[new Jo(Mp),new Gr,new Ur]]},{provide:Fd,useValue:"USD"}];let AA=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(_i(Ld))},h.\u0275mod=_a({type:h}),h.\u0275inj=Qi({providers:Up}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class L extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return L.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(L)))(E||L)}}(),L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class L{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(L){const N=L.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(L){return btoa(L).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),I=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return I!==O&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+O)),I===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class L{getHashFragmentParams(x){let E=x||window.location.hash;if(E=decodeURIComponent(E),0!==E.indexOf("#"))return{};const p=E.indexOf("?");return E=E.substr(p>-1?p+1:1),this.parseQueryString(E)}parseQueryString(x){const E={};let p,I,O,B,j,q,Y;if(null===x)return E;p=x.split("&");for(let U=0;U>6,I[B++]=128|63&j):j<55296||j>=57344?(I[B++]=224|j>>12,I[B++]=128|j>>6&63,I[B++]=128|63&j):(j=65536+((1023&j)<<10|1023&L.charCodeAt(++E)),I[B++]=240|j>>18,I[B++]=128|j>>12&63,I[B++]=128|j>>6&63,I[B++]=128|63&j);L=I}else{if("object"!==p)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR)}L.length>64&&(L=new Sha256(N,!0).update(L).array());var q=[],Y=[];for(E=0;E<64;++E){var U=L[E]||0;q[E]=92^U,Y[E]=54^U}Sha256.call(this,N,x),this.update(Y),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(L){if(!this.finalized){var N,x=typeof L;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR);N=!0}for(var E,I,p=0,O=L.length,B=this.blocks;p>2]|=L[p]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(B[I>>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=B[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 L=this.blocks,N=this.lastByteIndex;L[16]=this.block,L[N>>2]|=EXTRA[3&N],this.block=L[16],N>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,W,ae,ie,le,L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?(W=300032,B=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):(W=704751109,B=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(B=E+(z=B+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&I^~p&O)+K[q]+j[q])<<0,E=z+(((L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10))+((W=L&N)^L&x^le))<<0),O=x+(z=O+((B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7))+(B&p^~B&I)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&L)^E&N^W))<<0,I=N+(z=I+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&B^~O&p)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&L^ae))<<0,p=L+(z=p+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&O^~I&B)+K[q+3]+j[q+3])<<0,L=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+L<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+p<<0,this.h5=this.h5+I<<0,this.h6=this.h6+O<<0,this.h7=this.h7+B<<0},Sha256.prototype.hex=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=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]+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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[p>>28&15]+HEX_CHARS[p>>24&15]+HEX_CHARS[p>>20&15]+HEX_CHARS[p>>16&15]+HEX_CHARS[p>>12&15]+HEX_CHARS[p>>8&15]+HEX_CHARS[p>>4&15]+HEX_CHARS[15&p]+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[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=[L>>24&255,L>>16&255,L>>8&255,255&L,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,p>>24&255,p>>16&255,p>>8&255,255&p,I>>24&255,I>>16&255,I>>8&255,255&I,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(B>>24&255,B>>16&255,B>>8&255,255&B),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),N=new DataView(L);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),L},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),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(L){if("string"!=typeof L)throw new TypeError("expected string");var N,x=L,E=new Uint8Array(x.length);for(N=0;N{class L{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let p of x)E+=String.fromCharCode(p);return E}toHashString(x){const E=new Uint8Array(x);let p="";for(let I of E)p+=String.fromCharCode(I);return p}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})(),OAuthService=(()=>{class L extends AuthConfig{constructor(x,E,p,I,O,B,j,q,Y,U){var $;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=B,this.logger=j,this.crypto=q,this.dateTimeService=U,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Y,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),O&&this.configure(O);try{p?this.setStorage(p):"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===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,p=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?I=!0:"logout"===O.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{I&&this.refreshInternal(x,p).catch(B=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],p=this.validateUrlForHttps(x),I=this.validateUrlAgainstIssuer(x);return p||E.push("https for all urls required. Also for urls received by discovery."),I||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),p=this.calcTimeout(E,x);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)(p)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),p=this.calcTimeout(E,x);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)(p)).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(x,E){const p=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(p-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,p)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void p("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(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),p(O)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),p(I)}):p("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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(p=>{this.jwks=p,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(p)},p=>{this.logger.error("error loading jwks",p),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",p)),E(p)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,E,p).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((x,E)=>{const p=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:p,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(I.body);const B=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!B.sub||O.sub!==B.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");O=Object.assign({},B,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),E(I)})})}fetchTokenUsingPasswordFlow(x,E,p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},p)}fetchTokenUsingGrant(x,E,p=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",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);p=p.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))I=I.set(O,E[O]);return p=p.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,B)=>{this.http.post(this.tokenEndpoint,I,{headers:p}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),B(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,E)=>{let p=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 O=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(p=p.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(p=p.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))p=p.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,p,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(B=>this.storeIdToken(B)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:E,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(p=>this.debug("tryLogin during silent refresh failed",p))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},E=!0){const p=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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=p.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(U=>{O.setAttribute("src",U),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>U instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>"token_received"===U.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Y=(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__.S)([j,q,Y]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(U=>{if(U instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===U.type||(U=new OAuthErrorEvent("silent_refresh_error",U)),this.eventsSubject.next(U),U;return"token_received"===U.type&&(U=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(U)),U})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((p,I)=>{let j,B=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(B=x.windowRef,B.location.href=E):B=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{U(),p(!0)},oe=>{U(),I(oe)})};B?j=window.setInterval(()=>{(!B||B.closed)&&(U(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const U=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",$),null!==B&&B.close(),B=null},$=re=>{const oe=this.processMessageEventMessage(re);oe&&null!==oe?(window.removeEventListener("storage",z),q(oe)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",$),q(re.newValue))};window.addEventListener("message",$),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,p=x.width||500,I=window.screenLeft+(window.outerWidth-p)/2;return`location=no,toolbar=no,width=${p},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${I}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const p=x.data;return p.startsWith(E)?"#"+p.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=x=>{const E=x.origin.toLowerCase(),p=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),p.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",p,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",p="",I=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const B=this;let j;j=p||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Y=B.loginUrl.indexOf("?")>-1?"&":"?";let U=B.scope;this.oidc&&!U.match(/(^|\s)openid($|\s)/)&&(U="openid "+U);let $=B.loginUrl+Y+"response_type="+encodeURIComponent(B.responseType)+"&client_id="+encodeURIComponent(B.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(U);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),$+="&code_challenge="+z,$+="&code_challenge_method=S256"}E&&($+="&login_hint="+encodeURIComponent(E)),B.resource&&($+="&resource="+encodeURIComponent(B.resource)),B.oidc&&($+="&nonce="+encodeURIComponent(q)),I&&($+="&prompt=none");for(const z of Object.keys(O))$+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return $})}initImplicitFlowInternal(x="",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 p={},I=null;"string"==typeof E?I=E:"object"==typeof E&&(p=E),this.createLoginUrl(x,I,null,!1,p).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(p=>"discovery_document_loaded"===p.type)).subscribe(p=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const p={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(p)}}storeAccessTokenResponse(x,E,p,I,O){if(this._storage.setItem("access_token",x),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()),p){const B=1e3*p,q=this.dateTimeService.new().getTime()+B;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((B,j)=>{this._storage.setItem(j,B)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,p=this.getCodePartsFromUrl(E),I=p.code,O=p.state,B=p.session_state;if(!x.preventClearHashAfterLogin){const Y=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,Y)}let[j,q]=this.parseState(O);if(this.state=q,p.error){this.debug("error trying to login"),this.handleLoginError(x,p);const Y=new OAuthErrorEvent("code_error",{},p);return this.eventsSubject.next(Y),Promise.reject(Y)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const U=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(U),Promise.reject(U)}return this.storeSessionState(B),I&&(yield this.getTokenFromCode(I,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.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?p=p.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(p,E)}fetchAndProcessToken(x,E){E=E||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let p=(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}`);p=p.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((I,O)=>{if(this.customQueryParams)for(let B of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(B,this.customQueryParams[B]);this.http.post(this.tokenEndpoint,x,{headers:p}).subscribe(B=>{this.debug("refresh tokenResponse",B),this.storeAccessTokenResponse(B.access_token,B.refresh_token,B.expires_in||this.fallbackAccessTokenExpirationTimeInSec,B.scope,this.extractRecognizedCustomParameters(B)),this.oidc&&B.id_token?this.processIdToken(B.id_token,B.access_token,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(B)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(B))},B=>{console.error("Error getting token",B),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",B)),O(B)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const p=E.state;let[I,O]=this.parseState(p);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const U=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(U),Promise.reject(U)}const B=E.access_token,j=E.id_token,q=E.session_state,Y=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!B||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!p||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(I)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(B,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Y),this.oidc?this.processIdToken(j,B,x.disableNonceCheck).then(U=>x.validationHandler?x.validationHandler({accessToken:B,idClaims:U.idTokenClaims,idToken:U.idToken,state:p}).then($=>U):U).then(U=>(this.storeIdToken(U),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(U=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",U)),this.logger.error("Error validating tokens"),this.logger.error(U),Promise.reject(U))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,p="";if(x){const I=x.indexOf(this.config.nonceStateSeparator);I>-1&&(E=x.substr(0,I),p=x.substr(I+this.config.nonceStateSeparator.length))}return[E,p]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,p=!1){const I=x.split("."),B=b64DecodeUnicode(this.padBase64(I[0])),j=JSON.parse(B),Y=b64DecodeUnicode(this.padBase64(I[1])),U=JSON.parse(Y);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(U.aud)){if(U.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+U.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(U.aud!==this.clientId){const ie="Wrong audience: "+U.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!U.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==U.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${U.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!U.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&U.iss!==this.issuer){const ie="Wrong issuer: "+U.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!p&&U.nonce!==$){const ie="Wrong nonce: "+U.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!U.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*U.iat,oe=1e3*U.exp,W=this.getClockSkewInMsec();if(re-W>=z||oe+W<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:oe}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:U,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:oe})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:oe};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(De=>{if(this.requestAccessToken&&!De){const Ce="Wrong at_hash";return this.logger.warn(Ce),Promise.reject(Ce)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let p=!1;"boolean"==typeof x&&(p=x,x={});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(B=>this._storage.removeItem(B)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||p||!I&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(B=B.set("id_token_hint",I));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(B=B.set("post_logout_redirect_uri",j),E&&(B=B.set("state",E)));for(let q in x)B=B.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+B.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let p=45,I="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let B=new Uint8Array(p);O.getRandomValues(B),B.map||(B.map=Array.prototype.map),B=B.map(j=>E.charCodeAt(j%E.length)),I=String.fromCharCode.apply(null,B)}else for(;0"discovery_document_loaded"===p.type)).subscribe(p=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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 p={},I=null;"string"==typeof E?I=E:"object"==typeof E&&(p=E),this.createLoginUrl(x,I,null,!1,p).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(p=>{x[p]&&E.set(p,JSON.stringify(x[p]))}),E}revokeTokenAndLogout(x={},E=!1){let p=this.revocationEndpoint,I=this.getAccessToken(),O=this.getRefreshToken();if(!I)return;let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}if(this.useHttpBasicAuth||(B=B.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(B=B.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const q of Object.getOwnPropertyNames(this.customQueryParams))B=B.set(q,this.customQueryParams[q]);return new Promise((q,Y)=>{let U,$;if(I){let z=B.set("token",I).set("token_type_hint","access_token");U=this.http.post(p,z,{headers:j})}else U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=B.set("token",O).set("token_type_hint","refresh_token");$=this.http.post(p,z,{headers:j})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(U=U.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))),$=$.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__.a)([U,$]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Y(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class L{constructor(x,E,p){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=p}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const p=x.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(p)?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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(B=>this.errorHandler.handleError(B)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class L{static forRoot(x=null,E=NullValidationHandler){return{ngModule:L,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:L}),L.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),L})();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:L=>{"use strict";L.exports={i8:"9.0.0"}}},L=>{L(L.s=9631)}]); \ No newline at end of file +(self.webpackChunkpassword_reset=self.webpackChunkpassword_reset||[]).push([[179],{9631:(L,N,x)=>{"use strict";var E=x(9808),p=x(5e3);class I extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends I{static makeCurrent(){(0,E.HT)(new O)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function j(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==e?null:function Y(c){q=q||document.createElement("a"),q.setAttribute("href",c);const a=q.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,E.Mx)(document.cookie,a)}}let q,B=null;const U=new p.OlP("TRANSITION_ID"),z=[{provide:p.ip1,useFactory:function $(c,a,e){return()=>{e.get(p.CZH).donePromise.then(()=>{const t=(0,E.q)(),s=a.querySelectorAll(`style[ng-transition="${c}"]`);for(let o=0;o{const o=a.findTestabilityInTree(t,s);if(null==o)throw new Error("Could not find testability for element.");return o},p.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),p.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),p.dqk.frameworkStabilizers||(p.dqk.frameworkStabilizers=[]),p.dqk.frameworkStabilizers.push(t=>{const s=p.dqk.getAllAngularTestabilities();let o=s.length,l=!1;const n=function(i){l=l||i,o--,0==o&&t(l)};s.forEach(function(i){i.whenStable(n)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const s=a.getTestability(e);return null!=s?s:t?(0,E.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let oe=(()=>{class c{build(){return new XMLHttpRequest}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const W=new p.OlP("EventManagerPlugins");let ae=(()=>{class c{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 o=0;o{class c{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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Te=(()=>{class c extends le{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,s){e.forEach(o=>{const l=this._doc.createElement("style");l.textContent=o,s.push(t.appendChild(l))})}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(Me),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,s)=>{this._addStylesToHost(e,s,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Me))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Me(c){(0,E.q)().remove(c)}const De={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/"},Ce=/%COMP%/g;function ne(c,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return c;!1===c(a)&&(a.preventDefault(),a.returnValue=!1)}}let ge=(()=>{class c{constructor(e,t,s){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.rendererByCompId=new Map,this.defaultRenderer=new pe(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case p.ifc.Emulated:{let s=this.rendererByCompId.get(t.id);return s||(s=new kt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,s)),s.applyToHost(e),s}case 1:case p.ifc.ShadowDom:return new Bt(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const s=ne(t.id,t.styles,[]);this.sharedStylesHost.addStyles(s),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(ae),p.LFG(Te),p.LFG(p.AFp))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class pe{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(De[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,s){if(s){e=s+":"+e;const o=De[s];o?a.setAttributeNS(o,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const s=De[t];s?a.removeAttributeNS(s,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,s){s&(p.JOm.DashCase|p.JOm.Important)?a.style.setProperty(e,t,s&p.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&p.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,ce(t)):this.eventManager.addEventListener(a,e,ce(t))}}class kt extends pe{constructor(a,e,t,s){super(a),this.component=t;const o=ne(s+"-"+t.id,t.styles,[]);e.addStyles(o),this.contentAttr=function xe(c){return"_ngcontent-%COMP%".replace(Ce,c)}(s+"-"+t.id),this.hostAttr=function Be(c){return"_nghost-%COMP%".replace(Ce,c)}(s+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class Bt extends pe{constructor(a,e,t,s){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=ne(s.id,s.styles,[]);for(let l=0;l{class c extends ie{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 c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const di=["alt","control","meta","shift"],ai={"\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"},Ht={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"},Qn={alt:c=>c.altKey,control:c=>c.ctrlKey,meta:c=>c.metaKey,shift:c=>c.shiftKey};let Qi=(()=>{class c extends ie{constructor(e){super(e)}supports(e){return null!=c.parseEventName(e)}addEventListener(e,t,s){const o=c.parseEventName(t),l=c.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(e,o.domEventName,l))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const o=c._normalizeKey(t.pop());let l="";if(di.forEach(i=>{const r=t.indexOf(i);r>-1&&(t.splice(r,1),l+=i+".")}),l+=o,0!=t.length||0===o.length)return null;const n={};return n.domEventName=s,n.fullKey=l,n}static getEventFullKey(e){let t="",s=function ui(c){let a=c.key;if(null==a){if(a=c.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===c.location&&Ht.hasOwnProperty(a)&&(a=Ht[a]))}return ai[a]||a}(e);return s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),di.forEach(o=>{o!=s&&Qn[o](e)&&(t+=o+".")}),t+=s,t}static eventCallback(e,t,s){return o=>{c.getEventFullKey(o)===e&&s.runGuarded(()=>t(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Vr=(0,p.eFA)(p._c5,"browser",[{provide:p.Lbi,useValue:E.bD},{provide:p.g9A,useValue:function pr(){O.makeCurrent(),re.init()},multi:!0},{provide:E.K0,useFactory:function as(){return(0,p.RDi)(document),document},deps:[]}]),fr=[{provide:p.zSh,useValue:"root"},{provide:p.qLn,useFactory:function rs(){return new p.qLn},deps:[]},{provide:W,useClass:Ne,multi:!0,deps:[E.K0,p.R0b,p.Lbi]},{provide:W,useClass:Qi,multi:!0,deps:[E.K0]},{provide:ge,useClass:ge,deps:[ae,Te,p.AFp]},{provide:p.FYo,useExisting:ge},{provide:le,useExisting:Te},{provide:Te,useClass:Te,deps:[E.K0]},{provide:p.dDg,useClass:p.dDg,deps:[p.R0b]},{provide:ae,useClass:ae,deps:[W,p.R0b]},{provide:E.JF,useClass:oe,deps:[]}];let Br=(()=>{class c{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:c,providers:[{provide:p.AFp,useValue:e.appId},{provide:U,useExisting:p.AFp},z]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(c,12))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:fr,imports:[E.ez,p.hGG]}),c})(),Vi=(()=>{class c{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function Ci(){return new Vi((0,p.LFG)(E.K0))}(),t},providedIn:"root"}),c})();"undefined"!=typeof window&&window;let Hn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new(e||c):p.LFG(_a),t},providedIn:"root"}),c})(),_a=(()=>{class c extends Hn{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case p.q3G.NONE:return t;case p.q3G.HTML:return(0,p.qzn)(t,"HTML")?(0,p.z3N)(t):(0,p.EiD)(this._doc,String(t)).toString();case p.q3G.STYLE:return(0,p.qzn)(t,"Style")?(0,p.z3N)(t):t;case p.q3G.SCRIPT:if((0,p.qzn)(t,"Script"))return(0,p.z3N)(t);throw new Error("unsafe value used in a script context");case p.q3G.URL:return(0,p.yhl)(t),(0,p.qzn)(t,"URL")?(0,p.z3N)(t):(0,p.mCW)(String(t));case p.q3G.RESOURCE_URL:if((0,p.qzn)(t,"ResourceURL"))return(0,p.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,p.JVY)(e)}bypassSecurityTrustStyle(e){return(0,p.L6k)(e)}bypassSecurityTrustScript(e){return(0,p.eBb)(e)}bypassSecurityTrustUrl(e){return(0,p.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,p.pB0)(e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:function(e){let t=null;return t=e?new e:function tc(c){return new _a(c.get(E.K0))}(p.LFG(p.zs3)),t},providedIn:"root"}),c})();var y=x(520);class jt{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const Nt=new p.OlP("basePath");class We{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let Dn=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}convertAttributeToNonunique(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}convertAttributeToUnique(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}createAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}deleteAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attribute"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}deleteAttributeDefinitions(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"attributes[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAllAttributeDefinitions(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAttribute(e,t,s,o,l,n,i,r,d,u,f,b="body",D=!1,G){let se=new y.LE({encoder:this.encoder});null!=e&&(se=this.addToHttpParams(se,e,"attributeName")),null!=t&&(se=this.addToHttpParams(se,t,"attributeId")),null!=s&&(se=this.addToHttpParams(se,s,"facility")),null!=o&&(se=this.addToHttpParams(se,o,"user")),null!=l&&(se=this.addToHttpParams(se,l,"vo")),null!=n&&(se=this.addToHttpParams(se,n,"resource")),null!=i&&(se=this.addToHttpParams(se,i,"member")),null!=r&&(se=this.addToHttpParams(se,r,"group")),null!=d&&(se=this.addToHttpParams(se,d,"host")),null!=u&&(se=this.addToHttpParams(se,u,"userExtSource")),null!=f&&(se=this.addToHttpParams(se,f,"key"));let lt,Oe=this.defaultHeaders;lt=this.configuration.lookupCredential("BasicAuth"),lt&&(Oe=Oe.set("Authorization","Basic "+lt)),lt=this.configuration.lookupCredential("BearerAuth"),lt&&(Oe=Oe.set("Authorization","Bearer "+lt));let et=G&&G.httpHeaderAccept;void 0===et&&(et=this.configuration.selectHeaderAccept(["application/json"])),void 0!==et&&(Oe=Oe.set("Accept",et));let At=G&&G.context;void 0===At&&(At=new y.qT);let Wn="json";return et&&(Wn=et.startsWith("text")?"text":this.configuration.isJsonMime(et)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:At,params:se,responseType:Wn,withCredentials:this.configuration.withCredentials,headers:Oe,observe:b,reportProgress:D})}getAttributeDefinitionById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeDefinitionByName(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeDefinitionsByNamespace(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"namespace"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeModulesDependenciesForAttributeGraphText(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"format")),null!=t&&(n=this.addToHttpParams(n,t,"attrName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getAttributeModulesDependenciesGraphText(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"format"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributePolicyCollections(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributeRights(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAttributesDefinitionWithRights(e,t,s,o,l,n,i,r,d="body",u=!1,f){let b=new y.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=s&&(b=this.addToHttpParams(b,s,"vo")),null!=o&&(b=this.addToHttpParams(b,o,"group")),null!=l&&(b=this.addToHttpParams(b,l,"resource")),null!=n&&(b=this.addToHttpParams(b,n,"facility")),null!=i&&(b=this.addToHttpParams(b,i,"host")),null!=r&&(b=this.addToHttpParams(b,r,"userExtSource"));let G,D=this.defaultHeaders;G=this.configuration.lookupCredential("BasicAuth"),G&&(D=D.set("Authorization","Basic "+G)),G=this.configuration.lookupCredential("BearerAuth"),G&&(D=D.set("Authorization","Bearer "+G));let se=f&&f.httpHeaderAccept;void 0===se&&(se=this.configuration.selectHeaderAccept(["application/json"])),void 0!==se&&(D=D.set("Accept",se));let Oe=f&&f.context;void 0===Oe&&(Oe=new y.qT);let lt="json";return se&&(lt=se.startsWith("text")?"text":this.configuration.isJsonMime(se)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:Oe,params:b,responseType:lt,withCredentials:this.configuration.withCredentials,headers:D,observe:d,reportProgress:u})}getEntitylessAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getEntitylessAttributesByKey(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"key"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getEntitylessAttributesByName(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attrName"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getEntitylessAttributesWithKeys(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attrName")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"keys[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getEntitylessKeys(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"attributeDefinition"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getFacilityAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getFacilityAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getFacilityResourceUserMemberAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"facility")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=s&&(r=this.addToHttpParams(r,s,"user")),null!=o&&(r=this.addToHttpParams(r,o,"member"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getFacilityUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"user"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupResourceAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getGroupResourceAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getGroupResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getHostAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"host"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getHostAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getLogins(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getMemberAndUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAndUserAttributesByNames(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(D=>{i=this.addToHttpParams(i,D,"attrNames[]")}),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"member"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getMemberAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberGroupAndUserAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getMemberGroupAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberGroupAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getMemberGroupAttributesByNames(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attrNames[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAndUserFacilityAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAndUserFacilityAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getMemberResourceAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getMemberResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"service"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesFacility(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesFacilityService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesFacilityServices(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesGroupResourceService(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"service")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"group"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesHostService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"host"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesMember(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"workWithUserAttributes"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesMemberGroup(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesMemberGroupResourceService(e,t,s,o,l,n="body",i=!1,r){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==o)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=s&&(d=this.addToHttpParams(d,s,"group")),null!=o&&(d=this.addToHttpParams(d,o,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let D=r&&r.context;void 0===D&&(D=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:D,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}getRequiredAttributesMemberGroupService(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=s&&(r=this.addToHttpParams(r,s,"member")),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getRequiredAttributesMemberResource(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getRequiredAttributesMemberResourceService(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"service")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),null!=s&&(r=this.addToHttpParams(r,s,"member")),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getRequiredAttributesResource(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesResourceService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesResourceServices(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"services[]")}),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRequiredAttributesUserFacility(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getRequiredAttributesVoService(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"service")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"resource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getResourceAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceGroupAndGroupAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"resource")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"workWithGroupAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getResourceGroupAndGroupAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getResourceGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"group"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getResourceGroupMemberAttributesByNames(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"resource")),null!=t&&(r=this.addToHttpParams(r,t,"group")),null!=s&&(r=this.addToHttpParams(r,s,"member")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserFacilityAttributeById(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attributeId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getUserFacilityAttributeByName(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attributeName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getUserFacilityAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributeById(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeId"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributeByName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attributeName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getVoAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVoAttributesByNames(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeAttributesForFacilityResourceGroupUserMember(e,t,s,o,l,n,i="body",r=!1,d){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==o)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==l)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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=s&&(u=this.addToHttpParams(u,s,"group")),null!=o&&(u=this.addToHttpParams(u,o,"user")),null!=l&&(u=this.addToHttpParams(u,l,"member")),n&&n.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}removeAttributesForFacilityResourceUserMember(e,t,s,o,l,n="body",i=!1,r){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==o)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==l)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let d=new y.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=s&&(d=this.addToHttpParams(d,s,"user")),null!=o&&(d=this.addToHttpParams(d,o,"member")),l&&l.forEach(se=>{d=this.addToHttpParams(d,se,"attributes[]")});let f,u=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(u=u.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(u=u.set("Authorization","Bearer "+f));let b=r&&r.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(u=u.set("Accept",b));let D=r&&r.context;void 0===D&&(D=new y.qT);let G="json";return b&&(G=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:D,params:d,responseType:G,withCredentials:this.configuration.withCredentials,headers:u,observe:n,reportProgress:i})}removeEntitylessAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"key")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeFacilityAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeFacilityAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"facility")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"group")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeGroupResourceAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeGroupResourceAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"group")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"group")),null!=t&&(r=this.addToHttpParams(r,t,"resource")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}removeHostAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeHostAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"host")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeMemberAttributesWorkWithUserAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),t&&t.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")}),null!=s&&(i=this.addToHttpParams(i,s,"workWithUserAttributes"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"group")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"member")),null!=t&&(r=this.addToHttpParams(r,t,"group")),s&&s.forEach(G=>{r=this.addToHttpParams(r,G,"attributes[]")}),null!=o&&(r=this.addToHttpParams(r,o,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}removeMemberResourceAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeMemberResourceAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"member")),null!=t&&(i=this.addToHttpParams(i,t,"resource")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeResourceAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeResourceAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"resource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUesAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserExtSourceAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"userExtSource")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserFacilityAttribute(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),null!=s&&(i=this.addToHttpParams(i,s,"attribute"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeUserFacilityAttributes(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"facility")),s&&s.forEach(D=>{i=this.addToHttpParams(i,D,"attributes[]")});let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}removeVoAttribute(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),null!=t&&(n=this.addToHttpParams(n,t,"attribute"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeVoAttributes(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"vo")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attributes[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}setAttributePolicyCollections(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setAttributeRights(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setEntitylessAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityResourceGroupUserMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityResourceUserMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setFacilityUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setGroupResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setHostAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setHostAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberGroupWithUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAndUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setMemberWithUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setResourceGroupWithGroupAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserExtSourceAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserExtSourceAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserFacilityAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setUserFacilityAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setVoAttribute(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setVoAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}updateAttributeDefinition(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Yi=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}getAllPolicies(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"role")),null!=t&&(i=this.addToHttpParams(i,t,"complementaryObjectId")),null!=s&&(i=this.addToHttpParams(i,s,"complementaryObjectName"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}getAuthzRichAdmins(e,t,s,o,l,n,i="body",r=!1,d){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==o)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"role")),null!=t&&(u=this.addToHttpParams(u,t,"complementaryObjectId")),null!=s&&(u=this.addToHttpParams(u,s,"complementaryObjectName")),o&&o.forEach(Oe=>{u=this.addToHttpParams(u,Oe,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=n&&(u=this.addToHttpParams(u,n,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}getFacilitiesWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupRoleNames(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupRoles(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"groupId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupsWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getLoggedUser(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getPerunPrincipal(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getSecurityTeamsWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserRoleNames(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserRoles(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userId"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVosWhereUserIsInRoles(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let n=new y.LE({encoder:this.encoder});null!=t&&(n=this.addToHttpParams(n,t,"user")),e&&e.forEach(b=>{n=this.addToHttpParams(n,b,"roles[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}isFacilityAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"facility"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isGroupAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"group"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isPerunAdmin(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}isVoAdmin(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"vo"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}keepAlive(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}setRoleWithUserComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}unsetRoleWithGroupComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}unsetRoleWithUserComplementaryObject(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),yi=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}sentMessageToRTWithMemberQueue(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"memberId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=s&&(r=this.addToHttpParams(r,s,"subject")),null!=o&&(r=this.addToHttpParams(r,o,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}sentMessageToRTWithQueue(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"queue")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=s&&(i=this.addToHttpParams(i,s,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}sentMessageToRTWithVo(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"voId")),null!=t&&(i=this.addToHttpParams(i,t,"subject")),null!=s&&(i=this.addToHttpParams(i,s,"text"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}sentMessageToRTWithVoQueue(e,t,s,o,l="body",n=!1,i){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==o)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"queue")),null!=s&&(r=this.addToHttpParams(r,s,"subject")),null!=o&&(r=this.addToHttpParams(r,o,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Rn=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}addSpecificUserOwner(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}addUserExtSource(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}anonymizeUser(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}changeNonAuthzPasswordByToken(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}changePasswordForLogin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}changePasswordForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}checkPasswordResetRequestByTokenIsValid(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"token"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}checkPasswordStrength(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}createAlternativePassword(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}createServiceUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}deleteAlternativePassword(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"loginNamespace")),null!=s&&(i=this.addToHttpParams(i,s,"passwordId"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}deletePasswordForLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}deletePasswordForUser(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}deleteUser(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"force"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}findRichUsers(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}findRichUsersWithAttributes(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"searchString")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrsNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}findUsers(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"searchString"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}generateAccountForName(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"namespace")),null!=t&&(n=this.addToHttpParams(n,t,"name"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getAllRichUsersWithAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"includedSpecificUsers"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getAssignedRichResourcesForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getGroupsForFacilityWhereUserIsActive(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"facility"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsForResourceWhereUserIsActive(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"resource"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsInVoWhereUserIsAdmin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"vo"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getGroupsWhereUserIsAdmin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getPendingPreferredEmailChanges(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUserExtSources(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUserWithAttributes(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersWithAttributesByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getRichUsersWithoutVoWithAttributes(e,t="body",s=!1,o){let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"attrsNames[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getSpecificUsersByUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getSponsorsForMember(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"member")),t&&t.forEach(b=>{n=this.addToHttpParams(n,b,"attrNames[]")});let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getSponsorsForMemberByVoAndLogin(e,t,s,o,l="body",n=!1,i){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 r=new y.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"vo")),null!=t&&(r=this.addToHttpParams(r,t,"extSourceName")),null!=s&&(r=this.addToHttpParams(r,s,"extLogin")),o&&o.forEach(G=>{r=this.addToHttpParams(r,G,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let f=i&&i.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(d=d.set("Accept",f));let b=i&&i.context;void 0===b&&(b=new y.qT);let D="json";return f&&(D=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:r,responseType:D,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:n})}getUserByExtSourceNameAndExtLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extLogin")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceName"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"id"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceByExtLoginAndExtSourceName(e,t,s="body",o=!1,l){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"extSourceName")),null!=t&&(n=this.addToHttpParams(n,t,"extSourceLogin"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceById(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeId")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"attributeName")),null!=t&&(n=this.addToHttpParams(n,t,"attributeValue"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}getUserExtSources(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUserExtSourcesByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsers(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getUsersByIds(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let l=new y.LE({encoder:this.encoder});e&&e.forEach(f=>{l=this.addToHttpParams(l,f,"ids[]")});let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsersBySpecificUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"specificUser"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getUsersPage(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}getVosWhereUserIsAdmin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}getVosWhereUserIsMember(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"user"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}isLoginAvailable(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"loginNamespace")),null!=t&&(n=this.addToHttpParams(n,t,"login"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}loginExist(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeSpecificUserOwner(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"specificUser"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}removeUserExtSource(e,t,s,o="body",l=!1,n){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 i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"userExtSource")),null!=s&&(i=this.addToHttpParams(i,s,"force"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}requestPreferredEmailChange(e,t,s,o,l,n,i="body",r=!1,d){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 u=new y.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"user")),null!=t&&(u=this.addToHttpParams(u,t,"email")),null!=s&&(u=this.addToHttpParams(u,s,"lang")),null!=o&&(u=this.addToHttpParams(u,o,"linkPath")),null!=l&&(u=this.addToHttpParams(u,l,"customUrl")),null!=n&&(u=this.addToHttpParams(u,n,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let D=d&&d.httpHeaderAccept;void 0===D&&(D=this.configuration.selectHeaderAccept(["application/json"])),void 0!==D&&(f=f.set("Accept",D));let G=d&&d.context;void 0===G&&(G=new y.qT);let se="json";return D&&(se=D.startsWith("text")?"text":this.configuration.isJsonMime(D)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:G,params:u,responseType:se,withCredentials:this.configuration.withCredentials,headers:f,observe:i,reportProgress:r})}reservePasswordForLogin(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}reservePasswordForUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}reserveRandomPassword(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}setLogin(e,t,s,o="body",l=!1,n){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==s)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let i=new y.LE({encoder:this.encoder});null!=e&&(i=this.addToHttpParams(i,e,"user")),null!=t&&(i=this.addToHttpParams(i,t,"login")),null!=s&&(i=this.addToHttpParams(i,s,"namespace"));let d,r=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(r=r.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(r=r.set("Authorization","Bearer "+d));let u=n&&n.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let f=n&&n.context;void 0===f&&(f=new y.qT);let b="json";return u&&(b=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:i,responseType:b,withCredentials:this.configuration.withCredentials,headers:r,observe:o,reportProgress:l})}updateUser(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let n,l=this.defaultHeaders;n=this.configuration.lookupCredential("BasicAuth"),n&&(l=l.set("Authorization","Basic "+n)),n=this.configuration.lookupCredential("BearerAuth"),n&&(l=l.set("Authorization","Bearer "+n));let i=o&&o.httpHeaderAccept;void 0===i&&(i=this.configuration.selectHeaderAccept(["application/json"])),void 0!==i&&(l=l.set("Accept",i));let r=o&&o.context;void 0===r&&(r=new y.qT);const u=this.configuration.selectHeaderContentType(["application/json"]);void 0!==u&&(l=l.set("Content-Type",u));let f="json";return i&&(f=i.startsWith("text")?"text":this.configuration.isJsonMime(i)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:r,responseType:f,withCredentials:this.configuration.withCredentials,headers:l,observe:t,reportProgress:s})}updateUserExtSourceLastAccess(e,t="body",s=!1,o){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let l=new y.LE({encoder:this.encoder});null!=e&&(l=this.addToHttpParams(l,e,"userExtSource"));let i,n=this.defaultHeaders;i=this.configuration.lookupCredential("BasicAuth"),i&&(n=n.set("Authorization","Basic "+i)),i=this.configuration.lookupCredential("BearerAuth"),i&&(n=n.set("Authorization","Bearer "+i));let r=o&&o.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(n=n.set("Accept",r));let d=o&&o.context;void 0===d&&(d=new y.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:d,params:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:n,observe:t,reportProgress:s})}validatePasswordForLogin(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"login")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}validatePasswordForUser(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"user")),null!=t&&(n=this.addToHttpParams(n,t,"namespace"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}validatePreferredEmailChangeWithToken(e,t,s="body",o=!1,l){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 n=new y.LE({encoder:this.encoder});null!=e&&(n=this.addToHttpParams(n,e,"token")),null!=t&&(n=this.addToHttpParams(n,t,"u"));let r,i=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(i=i.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(i=i.set("Authorization","Bearer "+r));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(i=i.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new y.qT);let f="json";return d&&(f=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:u,params:n,responseType:f,withCredentials:this.configuration.withCredentials,headers:i,observe:s,reportProgress:o})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),rt=(()=>{class c{constructor(e,t,s){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new y.WM,this.configuration=new We,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 jt}addToHttpParams(e,t,s){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,s):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,s){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(o=>e=this.addToHttpParamsRecursive(e,o,s));else if(t instanceof Date){if(null==s)throw Error("key may not be null if value is Date");e=e.append(s,t.toISOString().substr(0,10))}else Object.keys(t).forEach(o=>e=this.addToHttpParamsRecursive(e,t[o],null!=s?`${s}.${o}`:o));else{if(null==s)throw Error("key may not be null if value is not object or array");e=e.append(s,t)}return e}getAppsConfig(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,s){let l,o=this.defaultHeaders;l=this.configuration.lookupCredential("BasicAuth"),l&&(o=o.set("Authorization","Basic "+l)),l=this.configuration.lookupCredential("BearerAuth"),l&&(o=o.set("Authorization","Bearer "+l));let n=s&&s.httpHeaderAccept;void 0===n&&(n=this.configuration.selectHeaderAccept(["application/json"])),void 0!==n&&(o=o.set("Accept",n));let i=s&&s.context;void 0===i&&(i=new y.qT);let r="json";return n&&(r=n.startsWith("text")?"text":this.configuration.isJsonMime(n)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:i,responseType:r,withCredentials:this.configuration.withCredentials,headers:o,observe:e,reportProgress:t})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Nt,8),p.LFG(We,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),df=(()=>{class c{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:c,providers:[{provide:We,useFactory:e}]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(c,12),p.LFG(y.eN,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[]]}),c})();var dt=(()=>{return(c=dt||(dt={})).PERUNADMIN="PERUNADMIN",c.PERUNOBSERVER="PERUNOBSERVER",c.VOADMIN="VOADMIN",c.GROUPADMIN="GROUPADMIN",c.GROUPOBSERVER="GROUPOBSERVER",c.SELF="SELF",c.FACILITYADMIN="FACILITYADMIN",c.FACILITIYOBSERVER="FACILITYOBSERVER",c.RESOURCEADMIN="RESOURCEADMIN",c.RESOURCESELFSERVICE="RESOURCESELFSERVICE",c.REGISTRAR="REGISTRAR",c.ENGINE="ENGINE",c.RPC="RPC",c.NOTIFICATIONS="NOTIFICATIONS",c.SERVICEUSER="SERVICEUSER",c.SPONSOR="SPONSOR",c.VOOBSERVER="VOOBSERVER",c.TOPGROUPCREATOR="TOPGROUPCREATOR",c.SECURITYADMIN="SECURITYADMIN",c.CABINETADMIN="CABINETADMIN",c.UNKNOWNROLENAME="UNKNOWNROLENAME",c.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",c.UNKNOWN="UNKNOWN",c.MEMBERSHIP="MEMBERSHIP",dt;var c})();let uf=(()=>{class c{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 o=[];for(const n of s)o=o.concat(n.perunRoles);const l=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(o,l)}principalHasRole(e,t,s){let o=t;return t.startsWith("Rich")&&(o=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][o])&&this.principal.roles[e][o].includes(Number(s.toString()))}canManageFacilities(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER,dt.FACILITYADMIN,dt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(dt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(dt.PERUNADMIN,dt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(dt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(dt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(dt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(dt.PERUNADMIN,dt.VOOBSERVER,dt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(dt.PERUNADMIN,dt.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.substring(4)),this.assignAvailableRoles(t,s);const o=new Map;this.setRolesAuthorization(t,e,o);for(const l of o.values())if(l.readAuth||l.manageAuth)return!0;return!1}setRolesAuthorization(e,t,s){for(const o of e){let l=[],n=[],i=[];for(const b of this.allRolesManagementRules)if(b.roleName===o){l=l.concat(b.privilegedRolesToRead),n=n.concat(b.privilegedRolesToManage);for(const D of Object.keys(b.entitiesToManage))i="User"===D?[D].concat(i):i.concat(D);break}const r=this.fetchAllRelatedObjects([t]),d=this.resolveAuthorization(l,r),u=this.resolveAuthorization(n,r);s.set(o,{readAuth:d,manageAuth:u,modes:i})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const s of e){let o=!0;for(const l of Object.keys(s)){const n=s[l];if(null===n)this.principalRoles.has(l)||(o=!1);else if(t[n]){for(const i of t[n])if(!this.principalHasRole(l,n,i)){o=!1;break}}else o=!1;if(!o)break}if(o)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const s of e){let o=s.beanName;switch(s.beanName.startsWith("Rich")&&(o=s.beanName.substring(4)),t[o]?t[o].push(s.id):t[o]=[s.id],o){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let s=[];for(s.push(e);0!==s.length;){const l=s.shift();if(t.has(l))continue;const n=this.getPerunPolicy(l);if(!n)return[];t.set(l,n),s=s.concat(n.includePolicies)}const o=[];for(const l of t.values())o.push(l);return o}voCustomSort(e){for(let t=0;t{(0,va.Xf)(c()).subscribe(a)})}var Hi=x(515),qt=x(727),Di=x(4482),Li=x(5403);function sc(){return(0,Di.e)((c,a)=>{let e=null;c._refCount++;const t=(0,Li.x)(a,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(e=null);const s=c._connection,o=e;e=null,s&&(!o||s===o)&&s.unsubscribe(),a.unsubscribe()});c.subscribe(t),t.closed||(e=c.connect())})}class hf extends mi.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,Di.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new qt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,Li.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=qt.w0.EMPTY)}return a}refCount(){return sc()(this)}}var pt=x(4004),vi=x(3900),Ut=x(5698),hs=x(3269);function ji(...c){const a=(0,hs.yG)(c);return(0,Di.e)((e,t)=>{(a?(0,wa.z)(c,e,a):(0,wa.z)(c,e)).subscribe(t)})}function Ni(c,a,e,t,s){return(o,l)=>{let n=e,i=a,r=0;o.subscribe((0,Li.x)(l,d=>{const u=r++;i=n?c(i,d,u):(n=!0,d),t&&l.next(i)},s&&(()=>{n&&l.next(i),l.complete()})))}}function Mo(c,a){return(0,Di.e)(Ni(c,a,arguments.length>=2,!0))}var zi=x(262),mr=x(4351);function oc(c){return c<=0?()=>Hi.E:(0,Di.e)((a,e)=>{let t=[];a.subscribe((0,Li.x)(e,s=>{t.push(s),c{for(const s of t)e.next(s);e.complete()},void 0,()=>{t=null}))})}var ru=x(8068),Ho=x(6590),Do=x(4671),ps=x(590),ft=x(5577),M=x(8505);function k(c){return(0,Di.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(c)}})}var H=x(8189);class V{constructor(a,e){this.id=a,this.url=e}}class J extends V{constructor(a,e,t="imperative",s=null){super(a,e),this.navigationTrigger=t,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends V{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class _e extends V{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ue extends V{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Pt extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends V{constructor(a,e,t,s,o){super(a,e),this.urlAfterRedirects=t,this.state=s,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yt extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends V{constructor(a,e,t,s){super(a,e),this.urlAfterRedirects=t,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class zt{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jr{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kn{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Je{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Aa{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const st="primary";class lc{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function xa(c){return new lc(c)}const pf="ngNavigationCancelingError";function au(c){const a=Error("NavigationCancelingError: "+c);return a[pf]=!0,a}function wt(c,a,e){const t=e.path.split("/");if(t.length>c.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[o]===s)}return c===a}function fs(c){return Array.prototype.concat.apply([],c)}function In(c){return c.length>0?c[c.length-1]:null}function li(c,a){for(const e in c)c.hasOwnProperty(e)&&a(c[e],e)}function _r(c){return(0,p.CqO)(c)?c:(0,p.QGY)(c)?(0,Fi.D)(Promise.resolve(c)):(0,Ge.of)(c)}const cc={exact:function ou(c,a,e){if(!Nr(c.segments,a.segments)||!Io(c.segments,a.segments,e)||c.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!c.children[t]||!ou(c.children[t],a.children[t],e))return!1;return!0},subset:Kn},ko={exact:function br(c,a){return Rt(c,a)},subset:function gs(c,a){return Object.keys(a).length<=Object.keys(c).length&&Object.keys(a).every(e=>su(c[e],a[e]))},ignored:()=>!0};function Ai(c,a,e){return cc[e.paths](c.root,a.root,e.matrixParams)&&ko[e.queryParams](c.queryParams,a.queryParams)&&!("exact"===e.fragment&&c.fragment!==a.fragment)}function Kn(c,a,e){return mf(c,a,a.segments,e)}function mf(c,a,e,t){if(c.segments.length>e.length){const s=c.segments.slice(0,e.length);return!(!Nr(s,e)||a.hasChildren()||!Io(s,e,t))}if(c.segments.length===e.length){if(!Nr(c.segments,e)||!Io(c.segments,e,t))return!1;for(const s in a.children)if(!c.children[s]||!Kn(c.children[s],a.children[s],t))return!1;return!0}{const s=e.slice(0,c.segments.length),o=e.slice(c.segments.length);return!!(Nr(c.segments,s)&&Io(c.segments,s,t)&&c.children[st])&&mf(c.children[st],a,o,t)}}function Io(c,a,e){return a.every((t,s)=>ko[e](c[s].parameters,t.parameters))}class Ta{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return dc.serialize(this)}}class Ct{constructor(a,e){this.segments=a,this.children=e,this.parent=null,li(e,(t,s)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vo(this)}}class Ea{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=xa(this.parameters)),this._parameterMap}toString(){return Cr(this)}}function Nr(c,a){return c.length===a.length&&c.every((e,t)=>e.path===a[t].path)}class _f{}class du{parse(a){const e=new fc(a);return new Ta(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${ms(a.root,!0)}`,t=function bf(c){const a=Object.keys(c).map(e=>{const t=c[e];return Array.isArray(t)?t.map(s=>`${Bo(e)}=${Bo(s)}`).join("&"):`${Bo(e)}=${Bo(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function uc(c){return encodeURI(c)}(a.fragment)}`:""}`}}const dc=new du;function Vo(c){return c.segments.map(a=>Cr(a)).join("/")}function ms(c,a){if(!c.hasChildren())return Vo(c);if(a){const e=c.children[st]?ms(c.children[st],!1):"",t=[];return li(c.children,(s,o)=>{o!==st&&t.push(`${o}:${ms(s,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function cu(c,a){let e=[];return li(c.children,(t,s)=>{s===st&&(e=e.concat(a(t,s)))}),li(c.children,(t,s)=>{s!==st&&(e=e.concat(a(t,s)))}),e}(c,(t,s)=>s===st?[ms(c.children[st],!1)]:[`${s}:${ms(t,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[st]?`${Vo(c)}/${e[0]}`:`${Vo(c)}/(${e.join("//")})`}}function uu(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bo(c){return uu(c).replace(/%3B/gi,";")}function hu(c){return uu(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hc(c){return decodeURIComponent(c)}function xi(c){return hc(c.replace(/\+/g,"%20"))}function Cr(c){return`${hu(c.path)}${function Wt(c){return Object.keys(c).map(a=>`;${hu(a)}=${hu(c[a])}`).join("")}(c.parameters)}`}const Zb=/^[^\/()?;=#]+/;function Oo(c){const a=c.match(Zb);return a?a[0]:""}const Xb=/^[^=?&#]+/,tC=/^[^&#]+/;class fc{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[st]=new Ct(a,e)),t}parseSegment(){const a=Oo(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Ea(hc(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=Oo(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=Oo(this.remaining);s&&(t=s,this.capture(t))}a[hc(e)]=hc(t)}parseQueryParam(a){const e=function eC(c){const a=c.match(Xb);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const l=function pc(c){const a=c.match(tC);return a?a[0]:""}(this.remaining);l&&(t=l,this.capture(t))}const s=xi(e),o=xi(t);if(a.hasOwnProperty(s)){let l=a[s];Array.isArray(l)||(l=[l],a[s]=l),l.push(o)}else a[s]=o}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=Oo(this.remaining),s=this.remaining[t.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let o;t.indexOf(":")>-1?(o=t.substr(0,t.indexOf(":")),this.capture(o),this.capture(":")):a&&(o=st);const l=this.parseChildren();e[o]=1===Object.keys(l).length?l[st]:new Ct([],l),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Fo{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=Lo(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=Lo(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=gc(a,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==a)}pathFromRoot(a){return gc(a,this._root).map(e=>e.value)}}function Lo(c,a){if(c===a.value)return a;for(const e of a.children){const t=Lo(c,e);if(t)return t}return null}function gc(c,a){if(c===a.value)return[a];for(const e of a.children){const t=gc(c,e);if(t.length)return t.unshift(a),t}return[]}class yr{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function Zi(c){const a={};return c&&c.children.forEach(e=>a[e.value.outlet]=e),a}class _s extends Fo{constructor(a,e){super(a),this.snapshot=e,yf(this,a)}toString(){return this.snapshot.toString()}}function Cf(c,a){const e=function iC(c,a){const l=new _c([],{},{},"",{},st,a,null,c.root,-1,{});return new rC("",new yr(l,[]))}(c,a),t=new Mi([new Ea("",{})]),s=new Mi({}),o=new Mi({}),l=new Mi({}),n=new Mi(""),i=new pn(t,s,l,n,o,st,a,e.root);return i.snapshot=e.root,new _s(new yr(i,[]),e)}class pn{constructor(a,e,t,s,o,l,n,i){this.url=a,this.params=e,this.queryParams=t,this.fragment=s,this.data=o,this.outlet=l,this.component=n,this._futureSnapshot=i}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)(a=>xa(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,pt.U)(a=>xa(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mc(c,a="emptyOnly"){const e=c.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const s=e[t],o=e[t-1];if(s.routeConfig&&""===s.routeConfig.path)t--;else{if(o.component)break;t--}}return function nC(c){return c.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class _c{constructor(a,e,t,s,o,l,n,i,r,d,u){this.url=a,this.params=e,this.queryParams=t,this.fragment=s,this.data=o,this.outlet=l,this.component=n,this.routeConfig=i,this._urlSegment=r,this._lastPathIndex=d,this._resolve=u}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=xa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class rC extends Fo{constructor(a,e){super(e),this.url=a,yf(this,e)}toString(){return jo(this._root)}}function yf(c,a){a.value._routerState=c,a.children.forEach(e=>yf(c,e))}function jo(c){const a=c.children.length>0?` { ${c.children.map(jo).join(", ")} } `:"";return`${c.value}${a}`}function bc(c){if(c.snapshot){const a=c.snapshot,e=c._futureSnapshot;c.snapshot=e,Rt(a.queryParams,e.queryParams)||c.queryParams.next(e.queryParams),a.fragment!==e.fragment&&c.fragment.next(e.fragment),Rt(a.params,e.params)||c.params.next(e.params),function ff(c,a){if(c.length!==a.length)return!1;for(let e=0;eRt(e.parameters,a[t].parameters))}(c.url,a.url);return e&&!(!c.parent!=!a.parent)&&(!c.parent||No(c.parent,a.parent))}function bs(c,a,e){if(e&&c.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const s=function wf(c,a,e){return a.children.map(t=>{for(const s of e.children)if(c.shouldReuseRoute(t.value,s.value.snapshot))return bs(c,t,s);return bs(c,t)})}(c,a,e);return new yr(t,s)}{if(c.shouldAttach(a.value)){const o=c.retrieve(a.value);if(null!==o){const l=o.route;return l.value._futureSnapshot=a.value,l.children=a.children.map(n=>bs(c,n)),l}}const t=function Cs(c){return new pn(new Mi(c.url),new Mi(c.params),new Mi(c.queryParams),new Mi(c.fragment),new Mi(c.data),c.outlet,c.component,c)}(a.value),s=a.children.map(o=>bs(c,o));return new yr(t,s)}}function wr(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function Sa(c){return"object"==typeof c&&null!=c&&c.outlets}function ys(c,a,e,t,s){let o={};return t&&li(t,(l,n)=>{o[n]=Array.isArray(l)?l.map(i=>`${i}`):`${l}`}),new Ta(e.root===c?a:sC(e.root,c,a),o,s)}function sC(c,a,e){const t={};return li(c.children,(s,o)=>{t[o]=s===a?e:sC(s,a,e)}),new Ct(c.segments,t)}class pu{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&wr(t[0]))throw new Error("Root segment cannot have matrix parameters");const s=t.find(Sa);if(s&&s!==In(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fu{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function yc(c,a,e){if(c||(c=new Ct([],{})),0===c.segments.length&&c.hasChildren())return Ma(c,a,e);const t=function wc(c,a,e){let t=0,s=a;const o={match:!1,pathIndex:0,commandIndex:0};for(;s=e.length)return o;const l=c.segments[s],n=e[t];if(Sa(n))break;const i=`${n}`,r=t0&&void 0===i)break;if(i&&r&&"object"==typeof r&&void 0===r.outlets){if(!bu(i,r,l))return o;t+=2}else{if(!bu(i,{},l))return o;t++}s++}return{match:!0,pathIndex:s,commandIndex:t}}(c,a,e),s=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(s[l]=yc(c.children[l],a,o))}),li(c.children,(o,l)=>{void 0===t[l]&&(s[l]=o)}),new Ct(c.segments,s)}}function mu(c,a,e){const t=c.segments.slice(0,a);let s=0;for(;s{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=mu(new Ct([],{}),0,e))}),a}function _u(c){const a={};return li(c,(e,t)=>a[t]=`${e}`),a}function bu(c,a,e){return c==e.path&&Rt(a,e.parameters)}class lC{constructor(a,e,t,s){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=s}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),bc(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const s=Zi(e);a.children.forEach(o=>{const l=o.value.outlet;this.deactivateRoutes(o,s[l],t),delete s[l]}),li(s,(o,l)=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(a,e,t){const s=a.value,o=e?e.value:null;if(s===o)if(s.component){const l=t.getContext(s.outlet);l&&this.deactivateChildRoutes(a,e,l.children)}else this.deactivateChildRoutes(a,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),s=t&&a.value.component?t.children:e,o=Zi(a);for(const l of Object.keys(o))this.deactivateRouteAndItsChildren(o[l],s);if(t&&t.outlet){const l=t.outlet.detach(),n=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:l,route:a,contexts:n})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),s=t&&a.value.component?t.children:e,o=Zi(a);for(const l of Object.keys(o))this.deactivateRouteAndItsChildren(o[l],s);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const s=Zi(e);a.children.forEach(o=>{this.activateRoutes(o,s[o.value.outlet],t),this.forwardEvent(new Aa(o.value.snapshot))}),a.children.length&&this.forwardEvent(new kn(a.value.snapshot))}activateRoutes(a,e,t){const s=a.value,o=e?e.value:null;if(bc(s),s===o)if(s.component){const l=t.getOrCreateContext(s.outlet);this.activateChildRoutes(a,e,l.children)}else this.activateChildRoutes(a,e,t);else if(s.component){const l=t.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const n=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),l.children.onOutletReAttached(n.contexts),l.attachRef=n.componentRef,l.route=n.route.value,l.outlet&&l.outlet.attach(n.componentRef,n.route.value),bc(n.route.value),this.activateChildRoutes(a,null,l.children)}else{const n=function cC(c){for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(s.snapshot),i=n?n.module.componentFactoryResolver:null;l.attachRef=null,l.route=s,l.resolver=i,l.outlet&&l.outlet.activateWith(s,i),this.activateChildRoutes(a,null,l.children)}}else this.activateChildRoutes(a,null,t)}}class ws{constructor(a,e){this.routes=a,this.module=e}}function fn(c){return"function"==typeof c}function zr(c){return c instanceof Ta}const Ha=Symbol("INITIAL_VALUE");function Zn(){return(0,vi.w)(c=>(0,nu.a)(c.map(a=>a.pipe((0,Ut.q)(1),ji(Ha)))).pipe(Mo((a,e)=>{let t=!1;return e.reduce((s,o,l)=>s!==Ha?s:(o===Ha&&(t=!0),t||!1!==o&&l!==e.length-1&&!zr(o)?s:o),a)},Ha),(0,oi.h)(a=>a!==Ha),(0,pt.U)(a=>zr(a)?a:!0===a),(0,Ut.q)(1)))}class As{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Xn,this.attachRef=null}}class Xn{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new As,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let yu=(()=>{class c{constructor(e,t,s,o,l){this.parentContexts=e,this.location=t,this.resolver=s,this.changeDetector=l,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=o||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 l=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new wu(e,n,this.location.injector);this.activated=this.location.createComponent(l,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Xn),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},c.\u0275dir=p.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class wu{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===pn?this.route:a===Xn?this.childContexts:this.parent.get(a,e)}}let Da=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&p._UZ(0,"router-outlet")},directives:[yu],encapsulation:2}),c})();function uC(c,a=""){for(let e=0;eVn(t)===a);return e.push(...c.filter(t=>Vn(t)!==a)),e}const fC={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Au(c,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(c.hasChildren()||e.length>0)?Object.assign({},fC):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const o=(a.matcher||wt)(e,c,a);if(!o)return Object.assign({},fC);const l={};li(o.posParams,(i,r)=>{l[r]=i.path});const n=o.consumed.length>0?Object.assign(Object.assign({},l),o.consumed[o.consumed.length-1].parameters):l;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:n,positionalParamSegments:null!==(t=o.posParams)&&void 0!==t?t:{}}}function xu(c,a,e,t,s="corrected"){if(e.length>0&&function f0(c,a,e){return e.some(t=>xs(c,a,t)&&Vn(t)!==st)}(c,e,t)){const l=new Ct(a,function Go(c,a,e,t){const s={};s[st]=t,t._sourceSegment=c,t._segmentIndexShift=a.length;for(const o of e)if(""===o.path&&Vn(o)!==st){const l=new Ct([],{});l._sourceSegment=c,l._segmentIndexShift=a.length,s[Vn(o)]=l}return s}(c,a,t,new Ct(e,c.children)));return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:[]}}if(0===e.length&&function ci(c,a,e){return e.some(t=>xs(c,a,t))}(c,e,t)){const l=new Ct(c.segments,function p0(c,a,e,t,s,o){const l={};for(const n of t)if(xs(c,e,n)&&!s[Vn(n)]){const i=new Ct([],{});i._sourceSegment=c,i._segmentIndexShift="legacy"===o?c.segments.length:a.length,l[Vn(n)]=i}return Object.assign(Object.assign({},s),l)}(c,a,e,t,c.children,s));return l._sourceSegment=c,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}const o=new Ct(c.segments,c.children);return o._sourceSegment=c,o._segmentIndexShift=a.length,{segmentGroup:o,slicedSegments:e}}function xs(c,a,e){return(!(c.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Ts(c,a,e,t){return!!(Vn(c)===t||t!==st&&xs(a,e,c))&&("**"===c.path||Au(a,c,e).matched)}function gC(c,a,e){return 0===a.length&&!c.children[e]}class Uo{constructor(a){this.segmentGroup=a||null}}class Xi{constructor(a){this.urlTree=a}}function en(c){return new mi.y(a=>a.error(new Uo(c)))}function Tu(c){return new mi.y(a=>a.error(new Xi(c)))}function vc(c){return new mi.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${c}'`)))}class mC{constructor(a,e,t,s,o){this.configLoader=e,this.urlSerializer=t,this.urlTree=s,this.config=o,this.allowRedirects=!0,this.ngModule=a.get(p.h0i)}apply(){const a=xu(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,st).pipe((0,pt.U)(o=>this.createUrlTree(Mf(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,zi.K)(o=>{if(o instanceof Xi)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Uo?this.noMatchError(o):o}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,st).pipe((0,pt.U)(s=>this.createUrlTree(Mf(s),a.queryParams,a.fragment))).pipe((0,zi.K)(s=>{throw s instanceof Uo?this.noMatchError(s):s}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const s=a.segments.length>0?new Ct([],{[st]:a}):a;return new Ta(s,e,t)}expandSegmentGroup(a,e,t,s){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,pt.U)(o=>new Ct([],o))):this.expandSegment(a,t,e,t.segments,s,!0)}expandChildren(a,e,t){const s=[];for(const o of Object.keys(t.children))"primary"===o?s.unshift(o):s.push(o);return(0,Fi.D)(s).pipe((0,mr.b)(o=>{const l=t.children[o],n=pC(e,o);return this.expandSegmentGroup(a,n,l,o).pipe((0,pt.U)(i=>({segment:i,outlet:o})))}),Mo((o,l)=>(o[l.outlet]=l.segment,o),{}),function Po(c,a){const e=arguments.length>=2;return t=>t.pipe(c?(0,oi.h)((s,o)=>c(s,o,t)):Do.y,oc(1),e?(0,Ho.d)(a):(0,ru.T)(()=>new ds.K))}())}expandSegment(a,e,t,s,o,l){return(0,Fi.D)(t).pipe((0,mr.b)(n=>this.expandSegmentAgainstRoute(a,e,t,n,s,o,l).pipe((0,zi.K)(r=>{if(r instanceof Uo)return(0,Ge.of)(null);throw r}))),(0,ps.P)(n=>!!n),(0,zi.K)((n,i)=>{if(n instanceof ds.K||"EmptyError"===n.name){if(gC(e,s,o))return(0,Ge.of)(new Ct([],{}));throw new Uo(e)}throw n}))}expandSegmentAgainstRoute(a,e,t,s,o,l,n){return Ts(s,e,o,l)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(a,e,s,o,l):n&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l):en(e):en(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,s,l):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,s){const o=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Tu(o):this.lineralizeSegments(t,o).pipe((0,ft.z)(l=>{const n=new Ct(l,{});return this.expandSegment(a,n,e,l,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,s,o,l){const{matched:n,consumedSegments:i,lastChild:r,positionalParamSegments:d}=Au(e,s,o);if(!n)return en(e);const u=this.applyRedirectCommands(i,s.redirectTo,d);return s.redirectTo.startsWith("/")?Tu(u):this.lineralizeSegments(s,u).pipe((0,ft.z)(f=>this.expandSegment(a,e,t,f.concat(o.slice(r)),l,!1)))}matchSegmentAgainstRoute(a,e,t,s,o){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Ge.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,pt.U)(f=>(t._loadedConfig=f,new Ct(s,{})))):(0,Ge.of)(new Ct(s,{}));const{matched:l,consumedSegments:n,lastChild:i}=Au(e,t,s);if(!l)return en(e);const r=s.slice(i);return this.getChildConfig(a,t,s).pipe((0,ft.z)(u=>{const f=u.module,b=u.routes,{segmentGroup:D,slicedSegments:G}=xu(e,n,r,b),se=new Ct(D.segments,D.children);if(0===G.length&&se.hasChildren())return this.expandChildren(f,b,se).pipe((0,pt.U)(At=>new Ct(n,At)));if(0===b.length&&0===G.length)return(0,Ge.of)(new Ct(n,{}));const Oe=Vn(t)===o;return this.expandSegment(f,se,b,G,Oe?st:o,!0).pipe((0,pt.U)(et=>new Ct(n.concat(et.segments),et.children)))}))}getChildConfig(a,e,t){return e.children?(0,Ge.of)(new ws(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,Ge.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,ft.z)(s=>s?this.configLoader.load(a.injector,e).pipe((0,pt.U)(o=>(e._loadedConfig=o,o))):function qo(c){return new mi.y(a=>a.error(au(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`)))}(e))):(0,Ge.of)(new ws([],a))}runCanLoadGuards(a,e,t){const s=e.canLoad;if(!s||0===s.length)return(0,Ge.of)(!0);const o=s.map(l=>{const n=a.get(l);let i;if(function Tf(c){return c&&fn(c.canLoad)}(n))i=n.canLoad(e,t);else{if(!fn(n))throw new Error("Invalid CanLoad guard");i=n(e,t)}return _r(i)});return(0,Ge.of)(o).pipe(Zn(),(0,M.b)(l=>{if(!zr(l))return;const n=au(`Redirecting to "${this.urlSerializer.serialize(l)}"`);throw n.url=l,n}),(0,pt.U)(l=>!0===l))}lineralizeSegments(a,e){let t=[],s=e.root;for(;;){if(t=t.concat(s.segments),0===s.numberOfChildren)return(0,Ge.of)(t);if(s.numberOfChildren>1||!s.children[st])return vc(a.redirectTo);s=s.children[st]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,s){const o=this.createSegmentGroup(a,e.root,t,s);return new Ta(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return li(a,(s,o)=>{if("string"==typeof s&&s.startsWith(":")){const n=s.substring(1);t[o]=e[n]}else t[o]=s}),t}createSegmentGroup(a,e,t,s){const o=this.createSegments(a,e.segments,t,s);let l={};return li(e.children,(n,i)=>{l[i]=this.createSegmentGroup(a,n,t,s)}),new Ct(o,l)}createSegments(a,e,t,s){return e.map(o=>o.path.startsWith(":")?this.findPosParam(a,o,s):this.findOrReturn(o,t))}findPosParam(a,e,t){const s=t[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return s}findOrReturn(a,e){let t=0;for(const s of e){if(s.path===a.path)return e.splice(t),s;t++}return a}}function Mf(c){const a={};for(const t of Object.keys(c.children)){const o=Mf(c.children[t]);(o.segments.length>0||o.hasChildren())&&(a[t]=o)}return function _C(c){if(1===c.numberOfChildren&&c.children[st]){const a=c.children[st];return new Ct(c.segments.concat(a.segments),a.children)}return c}(new Ct(c.segments,a))}class Eu{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Ti{constructor(a,e){this.component=a,this.route=e}}function Su(c,a,e){const t=c._root;return Wo(t,a?a._root:null,e,[t.value])}function Mu(c,a,e){const t=function Hf(c){if(!c)return null;for(let a=c.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(c)}function Wo(c,a,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Zi(a);return c.children.forEach(l=>{(function bC(c,a,e,t,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=c.value,l=a?a.value:null,n=e?e.getContext(c.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){const i=function CC(c,a,e){if("function"==typeof e)return e(c,a);switch(e){case"pathParamsChange":return!Nr(c.url,a.url);case"pathParamsOrQueryParamsChange":return!Nr(c.url,a.url)||!Rt(c.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!No(c,a)||!Rt(c.queryParams,a.queryParams);default:return!No(c,a)}}(l,o,o.routeConfig.runGuardsAndResolvers);i?s.canActivateChecks.push(new Eu(t)):(o.data=l.data,o._resolvedData=l._resolvedData),Wo(c,a,o.component?n?n.children:null:e,t,s),i&&n&&n.outlet&&n.outlet.isActivated&&s.canDeactivateChecks.push(new Ti(n.outlet.component,l))}else l&&$o(a,n,s),s.canActivateChecks.push(new Eu(t)),Wo(c,null,o.component?n?n.children:null:e,t,s)})(l,o[l.value.outlet],e,t.concat([l.value]),s),delete o[l.value.outlet]}),li(o,(l,n)=>$o(l,e.getContext(n),s)),s}function $o(c,a,e){const t=Zi(c),s=c.value;li(t,(o,l)=>{$o(o,s.component?a?a.children.getContext(l):null:a,e)}),e.canDeactivateChecks.push(new Ti(s.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,s))}class wC{}function Pf(c){return new mi.y(a=>a.error(c))}class Rf{constructor(a,e,t,s,o,l){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=s,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=l}recognize(){const a=xu(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,st);if(null===e)return null;const t=new _c([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new yr(t,e),o=new rC(this.url,s);return this.inheritParamsAndData(o._root),o}inheritParamsAndData(a){const e=a.value,t=mc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const o of Object.keys(e.children)){const l=e.children[o],n=pC(a,o),i=this.processSegmentGroup(n,l,o);if(null===i)return null;t.push(...i)}const s=If(t);return function AC(c){c.sort((a,e)=>a.value.outlet===st?-1:e.value.outlet===st?1:a.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(a,e,t,s){for(const o of a){const l=this.processSegmentAgainstRoute(o,e,t,s);if(null!==l)return l}return gC(e,t,s)?[]:null}processSegmentAgainstRoute(a,e,t,s){if(a.redirectTo||!Ts(a,e,t,s))return null;let o,l=[],n=[];if("**"===a.path){const b=t.length>0?In(t).parameters:{};o=new _c(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tc(a),Vn(a),a.component,a,Pu(e),Vf(e)+t.length,Ss(a))}else{const b=Au(e,a,t);if(!b.matched)return null;l=b.consumedSegments,n=t.slice(b.lastChild),o=new _c(l,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Tc(a),Vn(a),a.component,a,Pu(e),Vf(e)+l.length,Ss(a))}const i=function Yo(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(a),{segmentGroup:r,slicedSegments:d}=xu(e,l,n,i.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===d.length&&r.hasChildren()){const b=this.processChildren(i,r);return null===b?null:[new yr(o,b)]}if(0===i.length&&0===d.length)return[new yr(o,[])];const u=Vn(a)===s,f=this.processSegment(i,r,d,u?st:s);return null===f?null:[new yr(o,f)]}}function kf(c){const a=c.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function If(c){const a=[],e=new Set;for(const t of c){if(!kf(t)){a.push(t);continue}const s=a.find(o=>t.value.routeConfig===o.value.routeConfig);void 0!==s?(s.children.push(...t.children),e.add(s)):a.push(t)}for(const t of e){const s=If(t.children);a.push(new yr(t.value,s))}return a.filter(t=>!e.has(t))}function Pu(c){let a=c;for(;a._sourceSegment;)a=a._sourceSegment;return a}function Vf(c){let a=c,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function Tc(c){return c.data||{}}function Ss(c){return c.resolve||{}}function Gr(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Ur(c){return(0,vi.w)(a=>{const e=c(a);return e?(0,Fi.D)(e).pipe((0,pt.U)(()=>a)):(0,Ge.of)(a)})}class Ru extends class Of{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const Ms=new p.OlP("ROUTES");class ku{constructor(a,e,t,s){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=s}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const s=this.loadModuleFactory(e.loadChildren).pipe((0,pt.U)(o=>{this.onLoadEndListener&&this.onLoadEndListener(e);const l=o.create(a);return new ws(fs(l.injector.get(Ms,void 0,p.XFs.Self|p.XFs.Optional)).map(vu),l)}),(0,zi.K)(o=>{throw e._loader$=void 0,o}));return e._loader$=new hf(s,()=>new Ve.x).pipe(sc()),e._loader$}loadModuleFactory(a){return _r(a()).pipe((0,ft.z)(e=>e instanceof p.YKP?(0,Ge.of)(e):(0,Fi.D)(this.compiler.compileModuleAsync(e))))}}class HC{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function Hs(c){throw c}function Ko(c,a,e){return a.parse("/")}function Ff(c,a){return(0,Ge.of)(null)}const _0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pi=(()=>{class c{constructor(e,t,s,o,l,n,i){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=s,this.location=o,this.config=i,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ve.x,this.errorHandler=Hs,this.malformedUriErrorHandler=Ko,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ff,afterPreactivation:Ff},this.urlHandlingStrategy=new HC,this.routeReuseStrategy=new Ru,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=l.get(p.h0i),this.console=l.get(p.c2e);const u=l.get(p.R0b);this.isNgZoneEnabled=u instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(i),this.currentUrlTree=function Kb(){return new Ta(new Ct([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ku(l,n,f=>this.triggerEvent(new Ft(f)),f=>this.triggerEvent(new zt(f))),this.routerState=Cf(this.currentUrlTree,this.rootComponentType),this.transitions=new Mi({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,oi.h)(s=>0!==s.id),(0,pt.U)(s=>Object.assign(Object.assign({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),(0,vi.w)(s=>{let o=!1,l=!1;return(0,Ge.of)(s).pipe((0,M.b)(n=>{this.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,vi.w)(n=>{const i=this.browserUrlTree.toString(),r=!this.navigated||n.extractedUrl.toString()!==i||i!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Ec(n.source)&&(this.browserUrlTree=n.extractedUrl),(0,Ge.of)(n).pipe((0,vi.w)(u=>{const f=this.transitions.getValue();return t.next(new J(u.id,this.serializeUrl(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions.getValue()?Hi.E:Promise.resolve(u)}),function g0(c,a,e,t){return(0,vi.w)(s=>function Sf(c,a,e,t,s){return new mC(c,a,e,t,s).apply()}(c,a,e,s.extractedUrl,t).pipe((0,pt.U)(o=>Object.assign(Object.assign({},s),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,M.b)(u=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:u.urlAfterRedirects})}),function xC(c,a,e,t,s){return(0,ft.z)(o=>function vC(c,a,e,t,s="emptyOnly",o="legacy"){try{const l=new Rf(c,a,e,t,s,o).recognize();return null===l?Pf(new wC):(0,Ge.of)(l)}catch(l){return Pf(l)}}(c,a,o.urlAfterRedirects,e(o.urlAfterRedirects),t,s).pipe((0,pt.U)(l=>Object.assign(Object.assign({},o),{targetSnapshot:l}))))}(this.rootComponentType,this.config,u=>this.serializeUrl(u),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,M.b)(u=>{if("eager"===this.urlUpdateStrategy){if(!u.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);this.setBrowserUrl(b,u)}this.browserUrlTree=u.urlAfterRedirects}const f=new Pt(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);t.next(f)}));if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:D,restoredState:G,extras:se}=n,Oe=new J(f,this.serializeUrl(b),D,G);t.next(Oe);const lt=Cf(b,this.rootComponentType).snapshot;return(0,Ge.of)(Object.assign(Object.assign({},n),{targetSnapshot:lt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},se),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=n.rawUrl,n.resolve(null),Hi.E}),Ur(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.beforePreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,M.b)(n=>{const i=new St(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);this.triggerEvent(i)}),(0,pt.U)(n=>Object.assign(Object.assign({},n),{guards:Su(n.targetSnapshot,n.currentSnapshot,this.rootContexts)})),function yC(c,a){return(0,ft.z)(e=>{const{targetSnapshot:t,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:l}}=e;return 0===l.length&&0===o.length?(0,Ge.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function Df(c,a,e,t){return(0,Fi.D)(c).pipe((0,ft.z)(s=>function xc(c,a,e,t,s){const o=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,Ge.of)(!0);const l=o.map(n=>{const i=Mu(n,a,s);let r;if(function Cu(c){return c&&fn(c.canDeactivate)}(i))r=_r(i.canDeactivate(c,a,e,t));else{if(!fn(i))throw new Error("Invalid CanDeactivate guard");r=_r(i(c,a,e,t))}return r.pipe((0,ps.P)())});return(0,Ge.of)(l).pipe(Zn())}(s.component,s.route,e,a,t)),(0,ps.P)(s=>!0!==s,!0))}(l,t,s,c).pipe((0,ft.z)(n=>n&&function dC(c){return"boolean"==typeof c}(n)?function Hu(c,a,e,t){return(0,Fi.D)(a).pipe((0,mr.b)(s=>(0,wa.z)(function m0(c,a){return null!==c&&a&&a(new jr(c)),(0,Ge.of)(!0)}(s.route.parent,t),function Ac(c,a){return null!==c&&a&&a(new Je(c)),(0,Ge.of)(!0)}(s.route,t),function Du(c,a,e){const t=a[a.length-1],o=a.slice(0,a.length-1).reverse().map(l=>function Es(c){const a=c.routeConfig?c.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:c,guards:a}:null}(l)).filter(l=>null!==l).map(l=>us(()=>{const n=l.guards.map(i=>{const r=Mu(i,l.node,e);let d;if(function Ef(c){return c&&fn(c.canActivateChild)}(r))d=_r(r.canActivateChild(t,c));else{if(!fn(r))throw new Error("Invalid CanActivateChild guard");d=_r(r(t,c))}return d.pipe((0,ps.P)())});return(0,Ge.of)(n).pipe(Zn())}));return(0,Ge.of)(o).pipe(Zn())}(c,s.path,e),function Qo(c,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Ge.of)(!0);const s=t.map(o=>us(()=>{const l=Mu(o,a,e);let n;if(function vs(c){return c&&fn(c.canActivate)}(l))n=_r(l.canActivate(a,c));else{if(!fn(l))throw new Error("Invalid CanActivate guard");n=_r(l(a,c))}return n.pipe((0,ps.P)())}));return(0,Ge.of)(s).pipe(Zn())}(c,s.route,e))),(0,ps.P)(s=>!0!==s,!0))}(t,o,c,a):(0,Ge.of)(n)),(0,pt.U)(n=>Object.assign(Object.assign({},e),{guardsResult:n})))})}(this.ngModule.injector,n=>this.triggerEvent(n)),(0,M.b)(n=>{if(zr(n.guardsResult)){const r=au(`Redirecting to "${this.serializeUrl(n.guardsResult)}"`);throw r.url=n.guardsResult,r}const i=new gt(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.triggerEvent(i)}),(0,oi.h)(n=>!!n.guardsResult||(this.restoreHistory(n),this.cancelNavigationTransition(n,""),!1)),Ur(n=>{if(n.guards.canActivateChecks.length)return(0,Ge.of)(n).pipe((0,M.b)(i=>{const r=new yt(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}),(0,vi.w)(i=>{let r=!1;return(0,Ge.of)(i).pipe(function TC(c,a){return(0,ft.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,Ge.of)(e);let o=0;return(0,Fi.D)(s).pipe((0,mr.b)(l=>function EC(c,a,e,t){return function Jo(c,a,e,t){const s=Gr(c);if(0===s.length)return(0,Ge.of)({});const o={};return(0,Fi.D)(s).pipe((0,ft.z)(l=>function Bf(c,a,e,t){const s=Mu(c,a,t);return _r(s.resolve?s.resolve(a,e):s(a,e))}(c[l],a,e,t).pipe((0,M.b)(n=>{o[l]=n}))),oc(1),(0,ft.z)(()=>Gr(o).length===s.length?(0,Ge.of)(o):Hi.E))}(c._resolve,c,a,t).pipe((0,pt.U)(o=>(c._resolvedData=o,c.data=Object.assign(Object.assign({},c.data),mc(c,e).resolve),null)))}(l.route,t,c,a)),(0,M.b)(()=>o++),oc(1),(0,ft.z)(l=>o===s.length?(0,Ge.of)(e):Hi.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,M.b)({next:()=>r=!0,complete:()=>{r||(this.restoreHistory(i),this.cancelNavigationTransition(i,"At least one route resolver didn't emit any value."))}}))}),(0,M.b)(i=>{const r=new ti(i.id,this.serializeUrl(i.extractedUrl),this.serializeUrl(i.urlAfterRedirects),i.targetSnapshot);this.triggerEvent(r)}))}),Ur(n=>{const{targetSnapshot:i,id:r,extractedUrl:d,rawUrl:u,extras:{skipLocationChange:f,replaceUrl:b}}=n;return this.hooks.afterPreactivation(i,{navigationId:r,appliedUrlTree:d,rawUrlTree:u,skipLocationChange:!!f,replaceUrl:!!b})}),(0,pt.U)(n=>{const i=function Cc(c,a,e){const t=bs(c,a._root,e?e._root:void 0);return new _s(t,a)}(this.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return Object.assign(Object.assign({},n),{targetRouterState:i})}),(0,M.b)(n=>{this.currentUrlTree=n.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(n.urlAfterRedirects,n.rawUrl),this.routerState=n.targetRouterState,"deferred"===this.urlUpdateStrategy&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n),this.browserUrlTree=n.urlAfterRedirects)}),((c,a,e)=>(0,pt.U)(t=>(new lC(a,t.targetRouterState,t.currentRouterState,e).activate(c),t)))(this.rootContexts,this.routeReuseStrategy,n=>this.triggerEvent(n)),(0,M.b)({next(){o=!0},complete(){o=!0}}),k(()=>{var n;o||l||this.cancelNavigationTransition(s,`Navigation ID ${s.id} is not equal to the current navigation id ${this.navigationId}`),(null===(n=this.currentNavigation)||void 0===n?void 0:n.id)===s.id&&(this.currentNavigation=null)}),(0,zi.K)(n=>{if(l=!0,function ye(c){return c&&c[pf]}(n)){const i=zr(n.url);i||(this.navigated=!0,this.restoreHistory(s,!0));const r=new _e(s.id,this.serializeUrl(s.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const d=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ec(s.source)};this.scheduleNavigation(d,"imperative",null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{this.restoreHistory(s,!0);const i=new Ue(s.id,this.serializeUrl(s.extractedUrl),n);t.next(i);try{s.resolve(this.errorHandler(n))}catch(r){s.reject(r)}}return Hi.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 o={replaceUrl:!0},l=(null===(s=e.state)||void 0===s?void 0:s.navigationId)?e.state:null;if(l){const i=Object.assign({},l);delete i.navigationId,delete i.\u0275routerPageId,0!==Object.keys(i).length&&(o.state=i)}const n=this.parseUrl(e.url);this.scheduleNavigation(n,t,l,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){uC(e),this.config=e.map(vu),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:o,fragment:l,queryParamsHandling:n,preserveFragment:i}=t,r=s||this.routerState.root,d=i?this.currentUrlTree.fragment:l;let u=null;switch(n){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}return null!==u&&(u=this.removeEmptyProps(u)),function aC(c,a,e,t,s){if(0===e.length)return ys(a.root,a.root,a,t,s);const o=function vf(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new pu(!0,0,c);let a=0,e=!1;const t=c.reduce((s,o,l)=>{if("object"==typeof o&&null!=o){if(o.outlets){const n={};return li(o.outlets,(i,r)=>{n[r]="string"==typeof i?i.split("/"):i}),[...s,{outlets:n}]}if(o.segmentPath)return[...s,o.segmentPath]}return"string"!=typeof o?[...s,o]:0===l?(o.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?e=!0:".."===n?a++:""!=n&&s.push(n))}),s):[...s,o]},[]);return new pu(e,a,t)}(e);if(o.toRoot())return ys(a.root,new Ct([],{}),a,t,s);const l=function oC(c,a,e){if(c.isAbsolute)return new fu(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const o=e.snapshot._urlSegment;return new fu(o,o===a.root,0)}const t=wr(c.commands[0])?0:1;return function zo(c,a,e){let t=c,s=a,o=e;for(;o>s;){if(o-=s,t=t.parent,!t)throw new Error("Invalid number of '../'");s=t.segments.length}return new fu(t,!1,s-o)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,c.numberOfDoubleDots)}(o,a,c),n=l.processChildren?Ma(l.segmentGroup,l.index,o.commands):yc(l.segmentGroup,l.index,o.commands);return ys(l.segmentGroup,n,a,t,s)}(r,this.currentUrlTree,e,u,null!=d?d:null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=zr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function b0(c){for(let a=0;a{const o=e[s];return null!=o&&(t[s]=o),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ue(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,o,l){var n,i,r;if(this.disposed)return Promise.resolve(!1);const d=this.transitions.value,u=Ec(t)&&d&&!Ec(d.source),f=d.rawUrl.toString()===e.toString(),b=d.id===(null===(n=this.currentNavigation)||void 0===n?void 0:n.id);if(u&&f&&b)return Promise.resolve(!0);let G,se,Oe;l?(G=l.resolve,se=l.reject,Oe=l.promise):Oe=new Promise((At,Wn)=>{G=At,se=Wn});const lt=++this.navigationId;let et;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(s=this.location.getState()),et=s&&s.\u0275routerPageId?s.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(r=this.browserPageId)&&void 0!==r?r:0)+1):et=0,this.setTransition({id:lt,targetPageId:et,source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:G,reject:se,promise:Oe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Oe.catch(At=>Promise.reject(At))}setBrowserUrl(e,t){const s=this.urlSerializer.serialize(e),o=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl?this.location.replaceState(s,"",o):this.location.go(s,"",o)}restoreHistory(e,t=!1){var s,o;if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)||0===l?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===l&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(l)}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 _e(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 c.\u0275fac=function(e){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Ec(c){return"imperative"!==c}class jf{}class PC{preload(a,e){return(0,Ge.of)(null)}}let Zo=(()=>{class c{constructor(e,t,s,o){this.router=e,this.injector=s,this.preloadingStrategy=o,this.loader=new ku(s,t,i=>e.triggerEvent(new Ft(i)),i=>e.triggerEvent(new zt(i)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,oi.h)(e=>e instanceof ue),(0,mr.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(p.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const o of t)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const l=o._loadedConfig;s.push(this.processRoutes(l.module,l.routes))}else o.loadChildren&&!o.canLoad?s.push(this.preloadConfig(e,o)):o.children&&s.push(this.processRoutes(e,o.children));return(0,Fi.D)(s).pipe((0,H.J)(),(0,pt.U)(o=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Ge.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,ft.z)(o=>(t._loadedConfig=o,this.processRoutes(o.module,o.routes)))))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Pi),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(jf))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Xo=(()=>{class c{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ue&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Ro&&(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 Ro(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(e){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const qr=new p.OlP("ROUTER_CONFIGURATION"),Ou=new p.OlP("ROUTER_FORROOT_GUARD"),Pa=[E.Ye,{provide:_f,useClass:du},{provide:Pi,useFactory:function Ps(c,a,e,t,s,o,l={},n,i){const r=new Pi(null,c,a,e,t,s,fs(o));return n&&(r.urlHandlingStrategy=n),i&&(r.routeReuseStrategy=i),function Nf(c,a){c.errorHandler&&(a.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(a.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(a.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(a.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(a.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(a.canceledNavigationResolution=c.canceledNavigationResolution)}(l,r),l.enableTracing&&r.events.subscribe(d=>{var u,f;null===(u=console.group)||void 0===u||u.call(console,`Router Event: ${d.constructor.name}`),console.log(d.toString()),console.log(d),null===(f=console.groupEnd)||void 0===f||f.call(console)}),r},deps:[_f,Xn,E.Ye,p.zs3,p.Sil,Ms,qr,[class MC{},new p.FiY],[class SC{},new p.FiY]]},Xn,{provide:pn,useFactory:function OC(c){return c.routerState.root},deps:[Pi]},Zo,PC,class DC{preload(a,e){return e().pipe((0,zi.K)(()=>(0,Ge.of)(null)))}},{provide:qr,useValue:{enableTracing:!1}}];function kC(){return new p.PXZ("Router",Pi)}let Fu=(()=>{class c{constructor(e,t){}static forRoot(e,t){return{ngModule:c,providers:[Pa,er(e),{provide:Ou,useFactory:BC,deps:[[Pi,new p.FiY,new p.tp0]]},{provide:qr,useValue:t||{}},{provide:E.S$,useFactory:VC,deps:[E.lw,[new p.tBr(E.mr),new p.FiY],qr]},{provide:Xo,useFactory:IC,deps:[Pi,E.EM,qr]},{provide:jf,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:PC},{provide:p.PXZ,multi:!0,useFactory:kC},[Lu,{provide:p.ip1,multi:!0,useFactory:FC,deps:[Lu]},{provide:zf,useFactory:LC,deps:[Lu]},{provide:p.tb,multi:!0,useExisting:zf}]]}}static forChild(e){return{ngModule:c,providers:[er(e)]}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ou,8),p.LFG(Pi,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();function IC(c,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new Xo(c,a,e)}function VC(c,a,e={}){return e.useHash?new E.Do(c,a):new E.b0(c,a)}function BC(c){return"guarded"}function er(c){return[{provide:p.deG,multi:!0,useValue:c},{provide:Ms,multi:!0,useValue:c}]}let Lu=(()=>{class c{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ve.x}appInitializer(){return this.injector.get(E.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const s=new Promise(n=>t=n),o=this.injector.get(Pi),l=this.injector.get(qr);return"disabled"===l.initialNavigation?(o.setUpLocationChangeListener(),t(!0)):"enabled"===l.initialNavigation||"enabledBlocking"===l.initialNavigation?(o.hooks.afterPreactivation=()=>this.initNavigation?(0,Ge.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),o.initialNavigation()):t(!0),s})}bootstrapListener(e){const t=this.injector.get(qr),s=this.injector.get(Zo),o=this.injector.get(Xo),l=this.injector.get(Pi),n=this.injector.get(p.z2F);e===n.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&l.initialNavigation(),s.setUpPreloading(),o.init(),l.resetRootComponentType(n.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.zs3))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function FC(c){return c.appInitializer.bind(c)}function LC(c){return c.bootstrapListener.bind(c)}const zf=new p.OlP("Router Initializer"),jC=new p.OlP("cdk-dir-doc",{providedIn:"root",factory:function NC(){return(0,p.f3M)(E.K0)}}),zC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ka,Ar=(()=>{class c{constructor(e){if(this.value="ltr",this.change=new p.vpe,e){const s=e.documentElement?e.documentElement.dir:null;this.value=function y0(c){const a=(null==c?void 0:c.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?zC.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||s||"ltr")}}ngOnDestroy(){this.change.complete()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(jC,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ra=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();try{ka="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(c){ka=!1}let Ia,Qt=(()=>{class c{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,E.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&&!ka)&&"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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.Lbi))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const UC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function qC(){if(Ia)return Ia;if("object"!=typeof document||!document)return Ia=new Set(UC),Ia;let c=document.createElement("input");return Ia=new Set(UC.filter(a=>(c.setAttribute("type",a),c.type===a))),Ia}let Mc,ks,Nu;function gn(c){return function ju(){if(null==Mc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mc=!0}))}finally{Mc=Mc||!1}return Mc}()?c:!!c.capture}function w0(){if(null==ks){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ks=!1,ks;if("scrollBehavior"in document.documentElement.style)ks=!0;else{const c=Element.prototype.scrollTo;ks=!!c&&!/\{\s*\[native code\]\s*\}/.test(c.toString())}}return ks}function Hc(c){if(function $C(){if(null==Nu){const c="undefined"!=typeof document?document.head:null;Nu=!(!c||!c.createShadowRoot&&!c.attachShadow)}return Nu}()){const a=c.getRootNode?c.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function zu(){let c="undefined"!=typeof document&&document?document.activeElement:null;for(;c&&c.shadowRoot;){const a=c.shadowRoot.activeElement;if(a===c)break;c=a}return c}function mn(c){return c.composedPath?c.composedPath()[0]:c.target}function Is(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Wr(c,...a){return a.length?a.some(e=>c[e]):c.altKey||c.shiftKey||c.ctrlKey||c.metaKey}var Yu=x(8372);function _n(c){return(0,oi.h)((a,e)=>c<=e)}function cg(c,a){return c===a}var Ey=x(5032);function vt(c){return(0,Di.e)((a,e)=>{(0,va.Xf)(c).subscribe((0,Li.x)(e,()=>e.complete(),Ey.Z)),!e.closed&&a.subscribe(e)})}function nt(c){return null!=c&&"false"!=`${c}`}function On(c,a=0){return function dg(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}(c)?Number(c):a}function Ic(c){return Array.isArray(c)?c:[c]}function ni(c){return null==c?"":"string"==typeof c?c:`${c}px`}function Jt(c){return c instanceof p.SBq?c.nativeElement:c}let Ju=(()=>{class c{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),ug=(()=>{class c{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 mi.y(s=>{const l=this._observeElement(t).subscribe(s);return()=>{l.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Ve.x,s=this._mutationObserverFactory.create(o=>t.next(o));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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Ju))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Vc=(()=>{class c{constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new p.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=nt(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,Yu.b)(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(ug),p.Y36(p.SBq),p.Y36(p.R0b))},c.\u0275dir=p.lG2({type:c,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),c})(),$r=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Ju]}),c})();function Os(c,a){return(c.getAttribute(a)||"").match(/\S+/g)||[]}const Bc="cdk-describedby-message",ol="cdk-describedby-host";let Oc=0,ox=(()=>{class c{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Oc++,this._document=e}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const o=Fc(t,s);"string"!=typeof t?(My(t),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,s){var o;if(!t||!this._isElementNode(e))return;const l=Fc(t,s);if(this._isElementDescribedByMessage(e,l)&&this._removeMessageReference(e,l),"string"==typeof t){const n=this._messageRegistry.get(l);n&&0===n.referenceCount&&this._deleteMessageElement(l)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${ol}="${this._id}"]`);for(let s=0;s0!=s.indexOf(Bc));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function hg(c,a,e){const t=Os(c,a);t.some(s=>s.trim()==e.trim())||(t.push(e.trim()),c.setAttribute(a,t.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(ol,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Sy(c,a,e){const s=Os(c,a).filter(o=>o!=e.trim());s.length?c.setAttribute(a,s.join(" ")):c.removeAttribute(a)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(ol)}_isElementDescribedByMessage(e,t){const s=Os(e,"aria-describedby"),o=this._messageRegistry.get(t),l=o&&o.messageElement.id;return!!l&&-1!=s.indexOf(l)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),o=e.getAttribute("aria-label");return!(!s||o&&o.trim()===s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Fc(c,a){return"string"==typeof c?`${a||""}/${c}`:c}function My(c){c.id||(c.id=`${Bc}-${Oc++}`)}class ll extends class Lc{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ve.x,this._typeaheadSubscription=qt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ve.x,this.change=new Ve.x,a instanceof p.n_E&&a.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}})}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,M.b)(e=>this._pressedLetters.push(e)),(0,Yu.b)(a),(0,oi.h)(()=>this._pressedLetters.length>0),(0,pt.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let s=1;s!a[o]||this._allowedModifierKeys.indexOf(o)>-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||Wr(a,"shiftKey"))&&(a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],a.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(a){const e=this._getItemsArray(),t="number"==typeof a?a:e.indexOf(a),s=e[t];this._activeItem=null==s?null:s,this._activeItemIndex=t}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const s=(this._activeItemIndex+a*t+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,e){const t=this._getItemsArray();if(t[a]){for(;this._skipPredicateFn(t[a]);)if(!t[a+=e])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof p.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let jc=(()=>{class c{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Hy(c){return!!(c.offsetWidth||c.offsetHeight||"function"==typeof c.getClientRects&&c.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function lx(c){try{return c.frameElement}catch(a){return null}}(function Iy(c){return c.ownerDocument&&c.ownerDocument.defaultView||window}(e));if(t&&(-1===ky(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),o=ky(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function mg(c){let a=c.nodeName.toLowerCase(),e="input"===a&&c.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==o:"video"===s?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function _g(c){return!function Py(c){return function fg(c){return"input"==c.nodeName.toLowerCase()}(c)&&"hidden"==c.type}(c)&&(function Dy(c){let a=c.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(c)||function Ry(c){return function cx(c){return"a"==c.nodeName.toLowerCase()}(c)&&c.hasAttribute("href")}(c)||c.hasAttribute("contenteditable")||gg(c))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function gg(c){if(!c.hasAttribute("tabindex")||void 0===c.tabIndex)return!1;let a=c.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function ky(c){if(!gg(c))return null;const a=parseInt(c.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class Zu{constructor(a,e,t,s,o=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(a)}}let dx=(()=>{class c{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new Zu(e,this._checker,this._ngZone,this._document,t)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(jc),p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Xu(c){return 0===c.buttons||0===c.offsetX&&0===c.offsetY}function eh(c){const a=c.touches&&c.touches[0]||c.changedTouches&&c.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const ux=new p.OlP("cdk-input-modality-detector-options"),Yr={ignoreKeys:[18,17,224,91,16]},Fs=gn({passive:!0,capture:!0});let bg=(()=>{class c{constructor(e,t,s,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Mi(null),this._lastTouchMs=0,this._onKeydown=l=>{var n,i;(null===(i=null===(n=this._options)||void 0===n?void 0:n.ignoreKeys)||void 0===i?void 0:i.some(r=>r===l.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=mn(l))},this._onMousedown=l=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xu(l)?"keyboard":"mouse"),this._mostRecentTarget=mn(l))},this._onTouchstart=l=>{eh(l)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(l))},this._options=Object.assign(Object.assign({},Yr),o),this.modalityDetected=this._modality.pipe(_n(1)),this.modalityChanged=this.modalityDetected.pipe(function Ty(c,a=Do.y){return c=null!=c?c:cg,(0,Di.e)((e,t)=>{let s,o=!0;e.subscribe((0,Li.x)(t,l=>{const n=a(l);(o||!c(s,n))&&(o=!1,s=n,t.next(l))}))})}()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Fs),s.addEventListener("mousedown",this._onMousedown,Fs),s.addEventListener("touchstart",this._onTouchstart,Fs)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fs),document.removeEventListener("mousedown",this._onMousedown,Fs),document.removeEventListener("touchstart",this._onTouchstart,Fs))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b),p.LFG(E.K0),p.LFG(ux,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const vg=new p.OlP("cdk-focus-monitor-default-options"),zc=gn({passive:!0,capture:!0});let Fn=(()=>{class c{constructor(e,t,s,o,l){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 Ve.x,this._rootNodeFocusAndBlurListener=n=>{const i=mn(n),r="focus"===n.type?this._onFocus:this._onBlur;for(let d=i;d;d=d.parentElement)r.call(this,n,d)},this._document=o,this._detectionMode=(null==l?void 0:l.detectionMode)||0}monitor(e,t=!1){const s=Jt(e);if(!this._platform.isBrowser||1!==s.nodeType)return(0,Ge.of)(null);const o=Hc(s)||this._getDocument(),l=this._elementInfo.get(s);if(l)return t&&(l.checkChildren=!0),l.subject;const n={checkChildren:t,subject:new Ve.x,rootNode:o};return this._elementInfo.set(s,n),this._registerGlobalListeners(n),n.subject}stopMonitoring(e){const t=Jt(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 o=Jt(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([n,i])=>this._originChanged(n,t,i)):(this._setOrigin(t),"function"==typeof o.focus&&o.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),o=mn(e);!s||!s.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),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,zc),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,zc)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!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,zc),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zc),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,o)=>{(o===e||s.checkChildren&&o.contains(e))&&t.push([o,s])}),t}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(Qt),p.LFG(bg),p.LFG(E.K0,8),p.LFG(vg,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const th="cdk-high-contrast-black-on-white",Ag="cdk-high-contrast-white-on-black",ih="cdk-high-contrast-active";let Ls=(()=>{class c{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,o=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){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(ih),e.remove(th),e.remove(Ag),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(ih),e.add(th)):2===t&&(e.add(ih),e.add(Ag))}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jr=(()=>{class c{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ls))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[$r]]}),c})();class Gc{}const tn="*";function Lt(c,a){return{type:7,name:c,definitions:a,options:{}}}function Tt(c,a=null){return{type:4,styles:a,timings:c}}function nh(c,a=null){return{type:3,steps:c,options:a}}function rh(c,a=null){return{type:2,steps:c,options:a}}function Le(c){return{type:6,styles:c,offset:null}}function ot(c,a,e){return{type:0,name:c,styles:a,options:e}}function bt(c,a,e=null){return{type:1,expr:c,animation:a,options:e}}function cl(c=null){return{type:9,options:c}}function dl(c,a,e=null){return{type:11,selector:c,animation:a,options:e}}function xg(c){Promise.resolve(null).then(c)}class Ns{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){xg(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Tg{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,s=0;const o=this.players.length;0==o?xg(()=>this._onFinish()):this.players.forEach(l=>{l.onDone(()=>{++e==o&&this._onFinish()}),l.onDestroy(()=>{++t==o&&this._onDestroy()}),l.onStart(()=>{++s==o&&this._onStart()})}),this.totalTime=this.players.reduce((l,n)=>Math.max(l,n.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const s=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(s)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function nn(){return"undefined"!=typeof window&&void 0!==window.document}function sh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Zr(c){switch(c.length){case 0:return new Ns;case 1:return c[0];default:return new Tg(c)}}function By(c,a,e,t,s={},o={}){const l=[],n=[];let i=-1,r=null;if(t.forEach(d=>{const u=d.offset,f=u==i,b=f&&r||{};Object.keys(d).forEach(D=>{let G=D,se=d[D];if("offset"!==D)switch(G=a.normalizePropertyName(G,l),se){case"!":se=s[D];break;case tn:se=o[D];break;default:se=a.normalizeStyleValue(D,G,se,l)}b[G]=se}),f||n.push(b),r=b,i=u}),l.length){const d="\n - ";throw new Error(`Unable to animate due to the following errors:${d}${l.join(d)}`)}return n}function Eg(c,a,e,t){switch(a){case"start":c.onStart(()=>t(e&&Uc(e,"start",c)));break;case"done":c.onDone(()=>t(e&&Uc(e,"done",c)));break;case"destroy":c.onDestroy(()=>t(e&&Uc(e,"destroy",c)))}}function Uc(c,a,e){const t=e.totalTime,o=Sg(c.element,c.triggerName,c.fromState,c.toState,a||c.phaseName,null==t?c.totalTime:t,!!e.disabled),l=c._data;return null!=l&&(o._data=l),o}function Sg(c,a,e,t,s="",o=0,l){return{element:c,triggerName:a,fromState:e,toState:t,phaseName:s,totalTime:o,disabled:!!l}}function rn(c,a,e){let t;return c instanceof Map?(t=c.get(a),t||c.set(a,t=e)):(t=c[a],t||(t=c[a]=e)),t}function qc(c){const a=c.indexOf(":");return[c.substring(1,a),c.substr(a+1)]}let Wc=(c,a)=>!1,Mg=(c,a,e)=>[];(sh()||"undefined"!=typeof Element)&&(Wc=nn()?(c,a)=>{for(;a&&a!==document.documentElement;){if(a===c)return!0;a=a.parentNode||a.host}return!1}:(c,a)=>c.contains(a),Mg=(c,a,e)=>{if(e)return Array.from(c.querySelectorAll(a));const t=c.querySelector(a);return t?[t]:[]});let Xr=null,Hg=!1;function oh(c){Xr||(Xr=function Fy(){return"undefined"!=typeof document?document.body:null}()||{},Hg=!!Xr.style&&"WebkitAppearance"in Xr.style);let a=!0;return Xr.style&&!function Oy(c){return"ebkit"==c.substring(1,6)}(c)&&(a=c in Xr.style,!a&&Hg&&(a="Webkit"+c.charAt(0).toUpperCase()+c.substr(1)in Xr.style)),a}const Dg=Wc,lh=Mg;let Pg=(()=>{class c{validateStyleProperty(e){return oh(e)}matchesElement(e,t){return!1}containsElement(e,t){return Dg(e,t)}query(e,t,s){return lh(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,o,l,n=[],i){return new Ns(s,o)}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Cn=(()=>{class c{}return c.NOOP=new Pg,c})();const kg="ng-enter",ul="ng-leave",$c="ng-trigger",Qc=".ng-trigger",Ig="ng-animating",hl=".ng-animating";function Ba(c){if("number"==typeof c)return c;const a=c.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:dh(parseFloat(a[1]),a[2])}function dh(c,a){return"s"===a?1e3*c:c}function Oa(c,a,e){return c.hasOwnProperty("duration")?c:function uh(c,a,e){let s,o=0,l="";if("string"==typeof c){const n=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return a.push(`The provided timing value "${c}" is invalid.`),{duration:0,delay:0,easing:""};s=dh(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(o=dh(parseFloat(i),n[4]));const r=n[5];r&&(l=r)}else s=c;if(!e){let n=!1,i=a.length;s<0&&(a.push("Duration values below 0 are not allowed for this animation step."),n=!0),o<0&&(a.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&a.splice(i,0,`The provided timing value "${c}" is invalid.`)}return{duration:s,delay:o,easing:l}}(c,a,e)}function zs(c,a={}){return Object.keys(c).forEach(e=>{a[e]=c[e]}),a}function tr(c,a,e={}){if(a)for(let t in c)e[t]=c[t];else zs(c,e);return e}function hh(c,a,e){return e?a+":"+e+";":""}function Vg(c){let a="";for(let e=0;e{const s=Ln(t);e&&!e.hasOwnProperty(t)&&(e[t]=c.style[s]),c.style[s]=a[t]}),sh()&&Vg(c))}function Er(c,a){c.style&&(Object.keys(a).forEach(e=>{const t=Ln(e);c.style[t]=""}),sh()&&Vg(c))}function Jc(c){return Array.isArray(c)?1==c.length?c[0]:rh(c):c}const Kc=new RegExp("{{\\s*(.+?)\\s*}}","g");function ph(c){let a=[];if("string"==typeof c){let e;for(;e=Kc.exec(c);)a.push(e[1]);Kc.lastIndex=0}return a}function pl(c,a,e){const t=c.toString(),s=t.replace(Kc,(o,l)=>{let n=a[l];return a.hasOwnProperty(l)||(e.push(`Please provide a value for the animation param ${l}`),n=""),n.toString()});return s==t?c:s}function fl(c){const a=[];let e=c.next();for(;!e.done;)a.push(e.value),e=c.next();return a}const Bg=/-+([a-z0-9])/g;function Ln(c){return c.replace(Bg,(...a)=>a[1].toUpperCase())}function Zc(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yn(c,a,e){switch(a.type){case 7:return c.visitTrigger(a,e);case 0:return c.visitState(a,e);case 1:return c.visitTransition(a,e);case 2:return c.visitSequence(a,e);case 3:return c.visitGroup(a,e);case 4:return c.visitAnimate(a,e);case 5:return c.visitKeyframes(a,e);case 6:return c.visitStyle(a,e);case 8:return c.visitReference(a,e);case 9:return c.visitAnimateChild(a,e);case 10:return c.visitAnimateRef(a,e);case 11:return c.visitQuery(a,e);case 12:return c.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function Xc(c,a){return window.getComputedStyle(c)[a]}function fh(c,a){const e=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(t=>function ml(c,a,e){if(":"==c[0]){const i=function Uy(c,a){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(c,e);if("function"==typeof i)return void a.push(i);c=i}const t=c.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==t||t.length<4)return e.push(`The provided transition expression "${c}" is not supported`),a;const s=t[1],o=t[2],l=t[3];a.push(gh(s,l));"<"==o[0]&&!("*"==s&&"*"==l)&&a.push(gh(l,s))}(t,e,a)):e.push(c),e}const Gs=new Set(["true","1"]),_l=new Set(["false","0"]);function gh(c,a){const e=Gs.has(c)||_l.has(c),t=Gs.has(a)||_l.has(a);return(s,o)=>{let l="*"==c||c==s,n="*"==a||a==o;return!l&&e&&"boolean"==typeof s&&(l=s?Gs.has(c):_l.has(c)),!n&&t&&"boolean"==typeof o&&(n=o?Gs.has(a):_l.has(a)),l&&n}}const qy=new RegExp("s*:selfs*,?","g");function bl(c,a,e){return new Wy(c).build(a,e)}class Wy{constructor(a){this._driver=a}build(a,e){const t=new Lg(e);return this._resetContextStyleTimingState(t),yn(this,Jc(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,s=e.depCount=0;const o=[],l=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(n=>{if(this._resetContextStyleTimingState(e),0==n.type){const i=n,r=i.name;r.toString().split(/\s*,\s*/).forEach(d=>{i.name=d,o.push(this.visitState(i,e))}),i.name=r}else if(1==n.type){const i=this.visitTransition(n,e);t+=i.queryCount,s+=i.depCount,l.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:o,transitions:l,queryCount:t,depCount:s,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),s=a.options&&a.options.params||null;if(t.containsDynamicStyles){const o=new Set,l=s||{};if(t.styles.forEach(n=>{if(ed(n)){const i=n;Object.keys(i).forEach(r=>{ph(i[r]).forEach(d=>{l.hasOwnProperty(d)||o.add(d)})})}}),o.size){const n=fl(o.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:a.name,style:t,options:s?{params:s}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=yn(this,Jc(a.animation),e);return{type:1,matchers:fh(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Fa(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>yn(this,t,e)),options:Fa(a.options)}}visitGroup(a,e){const t=e.currentTime;let s=0;const o=a.steps.map(l=>{e.currentTime=t;const n=yn(this,l,e);return s=Math.max(s,e.currentTime),n});return e.currentTime=s,{type:3,steps:o,options:Fa(a.options)}}visitAnimate(a,e){const t=function qs(c,a){let e=null;if(c.hasOwnProperty("duration"))e=c;else if("number"==typeof c)return _h(Oa(c,a).duration,0,"");const t=c;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=_h(0,0,"");return o.dynamic=!0,o.strValue=t,o}return e=e||Oa(t,a),_h(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let s,o=a.styles?a.styles:Le({});if(5==o.type)s=this.visitKeyframes(o,e);else{let l=a.styles,n=!1;if(!l){n=!0;const r={};t.easing&&(r.easing=t.easing),l=Le(r)}e.currentTime+=t.duration+t.delay;const i=this.visitStyle(l,e);i.isEmptyStep=n,s=i}return e.currentAnimateTimings=null,{type:4,timings:t,style:s,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(l=>{"string"==typeof l?l==tn?t.push(l):e.errors.push(`The provided style string value ${l} is not allowed.`):t.push(l)}):t.push(a.styles);let s=!1,o=null;return t.forEach(l=>{if(ed(l)){const n=l,i=n.easing;if(i&&(o=i,delete n.easing),!s)for(let r in n)if(n[r].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:t,easing:o,offset:a.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let s=e.currentTime,o=e.currentTime;t&&o>0&&(o-=t.duration+t.delay),a.styles.forEach(l=>{"string"!=typeof l&&Object.keys(l).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],r=i[n];let d=!0;r&&(o!=s&&o>=r.startTime&&s<=r.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${s}ms"`),d=!1),o=r.startTime),d&&(i[n]={startTime:o,endTime:s}),e.options&&function Ny(c,a,e){const t=a.params||{},s=ph(c);s.length&&s.forEach(o=>{t.hasOwnProperty(o)||e.push(`Unable to resolve the local animation param ${o} in the given list of values`)})}(l[n],e.options,e.errors)})})}visitKeyframes(a,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 o=0;const l=[];let n=!1,i=!1,r=0;const d=a.steps.map(Oe=>{const lt=this._makeStyleAst(Oe,e);let et=null!=lt.offset?lt.offset:function $y(c){if("string"==typeof c)return null;let a=null;if(Array.isArray(c))c.forEach(e=>{if(ed(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(ed(c)&&c.hasOwnProperty("offset")){const e=c;a=parseFloat(e.offset),delete e.offset}return a}(lt.styles),At=0;return null!=et&&(o++,At=lt.offset=et),i=i||At<0||At>1,n=n||At0&&o{const et=f>0?lt==b?1:f*lt:l[lt],At=et*se;e.currentTime=D+G.delay+At,G.duration=At,this._validateStyleAst(Oe,e),Oe.offset=et,t.styles.push(Oe)}),t}visitReference(a,e){return{type:8,animation:yn(this,Jc(a.animation),e),options:Fa(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:Fa(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:Fa(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,s=a.options||{};e.queryCount++,e.currentQuery=a;const[o,l]=function Fg(c){const a=!!c.split(/\s*,\s*/).find(e=>":self"==e);return a&&(c=c.replace(qy,"")),c=c.replace(/@\*/g,Qc).replace(/@\w+/g,e=>Qc+"-"+e.substr(1)).replace(/:animating/g,hl),[c,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+o:o,rn(e.collectedStyles,e.currentQuerySelector,{});const n=yn(this,Jc(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:o,limit:s.limit||0,optional:!!s.optional,includeSelf:l,animation:n,originalSelector:a.selector,options:Fa(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:Oa(a.timings,e.errors,!0);return{type:12,animation:yn(this,Jc(a.animation),e),timings:t,options:null}}}class Lg{constructor(a){this.errors=a,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 ed(c){return!Array.isArray(c)&&"object"==typeof c}function Fa(c){return c?(c=zs(c)).params&&(c.params=function Us(c){return c?zs(c):null}(c.params)):c={},c}function _h(c,a,e){return{duration:c,delay:a,easing:e}}function bh(c,a,e,t,s,o,l=null,n=!1){return{type:1,element:c,keyframes:a,preStyleProps:e,postStyleProps:t,duration:s,delay:o,totalTime:s+o,easing:l,subTimeline:n}}class td{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const jg=new RegExp(":enter","g"),zg=new RegExp(":leave","g");function id(c,a,e,t,s,o={},l={},n,i,r=[]){return(new Qy).buildKeyframes(c,a,e,t,s,o,l,n,i,r)}class Qy{buildKeyframes(a,e,t,s,o,l,n,i,r,d=[]){r=r||new td;const u=new yh(a,e,r,s,o,d,[]);u.options=i,u.currentTimeline.setStyles([l],null,u.errors,i),yn(this,t,u);const f=u.timelines.filter(b=>b.containsAnimation());if(Object.keys(n).length){let b;for(let D=f.length-1;D>=0;D--){const G=f[D];if(G.element===e){b=G;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([n],null,u.errors,i)}return f.length?f.map(b=>b.buildKeyframes()):[bh(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const s=e.createSubContext(a.options),o=e.currentTimeline.currentTime,l=this._visitSubInstructions(t,s,s.options);o!=l&&e.transformIntoNewTimeline(l)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let o=e.currentTimeline.currentTime;const l=null!=t.duration?Ba(t.duration):null,n=null!=t.delay?Ba(t.delay):null;return 0!==l&&a.forEach(i=>{const r=e.appendInstructionToTimeline(i,l,n);o=Math.max(o,r.duration+r.delay)}),o}visitReference(a,e){e.updateOptions(a.options,!0),yn(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let s=e;const o=a.options;if(o&&(o.params||o.delay)&&(s=e.createSubContext(o),s.transformIntoNewTimeline(),null!=o.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=nd);const l=Ba(o.delay);s.delayNextStep(l)}a.steps.length&&(a.steps.forEach(l=>yn(this,l,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>t&&s.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let s=e.currentTimeline.currentTime;const o=a.options&&a.options.delay?Ba(a.options.delay):0;a.steps.forEach(l=>{const n=e.createSubContext(a.options);o&&n.delayNextStep(o),yn(this,l,n),s=Math.max(s,n.currentTimeline.currentTime),t.push(n.currentTimeline)}),t.forEach(l=>e.currentTimeline.mergeTimelineCollectedStyles(l)),e.transformIntoNewTimeline(s),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return Oa(e.params?pl(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),s=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),s.snapshotCurrentStyles());const o=a.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(t.duration),this.visitStyle(o,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,s=e.currentAnimateTimings;!s&&t.getCurrentStyleProperties().length&&t.forwardFrame();const o=s&&s.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(o):t.setStyles(a.styles,o,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,s=e.currentTimeline.duration,o=t.duration,n=e.createSubContext().currentTimeline;n.easing=t.easing,a.styles.forEach(i=>{n.forwardTime((i.offset||0)*o),n.setStyles(i.styles,i.easing,e.errors,e.options),n.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(n),e.transformIntoNewTimeline(s+o),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,s=a.options||{},o=s.delay?Ba(s.delay):0;o&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=nd);let l=t;const n=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=n.length;let i=null;n.forEach((r,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(a.options,r);o&&u.delayNextStep(o),r===e.element&&(i=u.currentTimeline),yn(this,a.animation,u),u.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),i&&(e.currentTimeline.mergeTimelineCollectedStyles(i),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,s=e.currentTimeline,o=a.timings,l=Math.abs(o.duration),n=l*(e.currentQueryTotal-1);let i=l*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":i=n-i;break;case"full":i=t.currentStaggerTime}const d=e.currentTimeline;i&&d.delayNextStep(i);const u=d.currentTime;yn(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=s.currentTime-u+(s.startTime-t.currentTimeline.startTime)}}const nd={};class yh{constructor(a,e,t,s,o,l,n,i){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=s,this._leaveClassName=o,this.errors=l,this.timelines=n,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new rd(this._driver,e,0),n.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let s=this.options;null!=t.duration&&(s.duration=Ba(t.duration)),null!=t.delay&&(s.delay=Ba(t.delay));const o=t.params;if(o){let l=s.params;l||(l=this.options.params={}),Object.keys(o).forEach(n=>{(!e||!l.hasOwnProperty(n))&&(l[n]=pl(o[n],l,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(s=>{t[s]=e[s]})}}return a}createSubContext(a=null,e,t){const s=e||this.element,o=new yh(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(a),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(a){return this.previousNode=nd,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const s={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},o=new Gg(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,s,a.stretchStartingKeyframe);return this.timelines.push(o),s}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,s,o,l){let n=[];if(s&&n.push(this.element),a.length>0){a=(a=a.replace(jg,"."+this._enterClassName)).replace(zg,"."+this._leaveClassName);let r=this._driver.query(this.element,a,1!=t);0!==t&&(r=t<0?r.slice(r.length+t,r.length):r.slice(0,t)),n.push(...r)}return!o&&0==n.length&&l.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),n}}class rd{constructor(a,e,t,s){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new rd(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||tn,this._currentKeyframe[e]=tn}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,s){e&&(this._previousKeyframe.easing=e);const o=s&&s.params||{},l=function Ug(c,a){const e={};let t;return c.forEach(s=>{"*"===s?(t=t||Object.keys(a),t.forEach(o=>{e[o]=tn})):tr(s,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(l).forEach(n=>{const i=pl(l[n],o,t);this._pendingStyles[n]=i,this._localTimelineStyles.hasOwnProperty(n)||(this._backFill[n]=this._globalTimelineStyles.hasOwnProperty(n)?this._globalTimelineStyles[n]:tn),this._updateStyle(n,i)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],s=a._styleSummary[e];(!t||s.time>t.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((n,i)=>{const r=tr(n,!0);Object.keys(r).forEach(d=>{const u=r[d];"!"==u?a.add(d):u==tn&&e.add(d)}),t||(r.offset=i/this.duration),s.push(r)});const o=a.size?fl(a.values()):[],l=e.size?fl(e.values()):[];if(t){const n=s[0],i=zs(n);n.offset=0,i.offset=1,s=[n,i]}return bh(this.element,s,o,l,this.duration,this.startTime,this.easing,!1)}}class Gg extends rd{constructor(a,e,t,s,o,l,n=!1){super(a,e,l.delay),this.keyframes=t,this.preStyleProps=s,this.postStyleProps=o,this._stretchStartingKeyframe=n,this.timings={duration:l.duration,delay:l.delay,easing:l.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],l=t+e,n=e/l,i=tr(a[0],!1);i.offset=0,o.push(i);const r=tr(a[0],!1);r.offset=Yy(n),o.push(r);const d=a.length-1;for(let u=1;u<=d;u++){let f=tr(a[u],!1);f.offset=Yy((e+f.offset*t)/l),o.push(f)}t=l,e=0,s="",a=o}return bh(this.element,a,this.preStyleProps,this.postStyleProps,t,e,s,!0)}}function Yy(c,a=3){const e=Math.pow(10,a-1);return Math.round(c*e)/e}class wh{}class _x extends wh{normalizePropertyName(a,e){return Ln(a)}normalizeStyleValue(a,e,t,s){let o="";const l=t.toString().trim();if(vh[e]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{const n=t.match(/^[+-]?[\d\.]+([a-z]*)$/);n&&0==n[1].length&&s.push(`Please provide a CSS unit value for ${a}:${t}`)}return l+o}}const vh=(()=>function Jy(c){const a={};return c.forEach(e=>a[e]=!0),a}("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 Ah(c,a,e,t,s,o,l,n,i,r,d,u,f){return{type:0,element:c,triggerName:a,isRemovalTransition:s,fromState:e,fromStyles:o,toState:t,toStyles:l,timelines:n,queriedElements:i,preStyleProps:r,postStyleProps:d,totalTime:u,errors:f}}const ad={};class Ky{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,s){return function jn(c,a,e,t,s){return c.some(o=>o(a,e,t,s))}(this.ast.matchers,a,e,t,s)}buildStyles(a,e,t){const s=this._stateStyles["*"],o=this._stateStyles[a],l=s?s.buildStyles(e,t):{};return o?o.buildStyles(e,t):l}build(a,e,t,s,o,l,n,i,r,d){const u=[],f=this.ast.options&&this.ast.options.params||ad,D=this.buildStyles(t,n&&n.params||ad,u),G=i&&i.params||ad,se=this.buildStyles(s,G,u),Oe=new Set,lt=new Map,et=new Map,At="void"===s,Wn={params:Object.assign(Object.assign({},f),G)},ur=d?[]:id(a,e,this.ast.animation,o,l,D,se,Wn,r,u);let on=0;if(ur.forEach(is=>{on=Math.max(is.duration+is.delay,on)}),u.length)return Ah(e,this._triggerName,t,s,At,D,se,[],[],lt,et,on,u);ur.forEach(is=>{const ns=is.element,VS=rn(lt,ns,{});is.preStyleProps.forEach(Kl=>VS[Kl]=!0);const af=rn(et,ns,{});is.postStyleProps.forEach(Kl=>af[Kl]=!0),ns!==e&&Oe.add(ns)});const ts=fl(Oe.values());return Ah(e,this._triggerName,t,s,At,D,se,ur,ts,lt,et,on)}}class bx{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},s=zs(this.defaultParams);return Object.keys(a).forEach(o=>{const l=a[o];null!=l&&(s[o]=l)}),this.styles.styles.forEach(o=>{if("string"!=typeof o){const l=o;Object.keys(l).forEach(n=>{let i=l[n];i.length>1&&(i=pl(i,s,e));const r=this.normalizer.normalizePropertyName(n,e);i=this.normalizer.normalizeStyleValue(n,r,i,e),t[r]=i})}}),t}}class qg{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(s=>{this.states[s.name]=new bx(s.style,s.options&&s.options.params||{},t)}),xh(this.states,"true","1"),xh(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new Ky(a,s,this.states))}),this.fallbackTransition=function Wg(c,a,e){return new Ky(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(l,n)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,s){return this.transitionFactories.find(l=>l.match(a,e,t,s))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function xh(c,a,e){c.hasOwnProperty(a)?c.hasOwnProperty(e)||(c[e]=c[a]):c.hasOwnProperty(e)&&(c[a]=c[e])}const Zy=new td;class yx{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],s=bl(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[a]=s}_buildPlayer(a,e,t){const s=a.element,o=By(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(s,o,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const s=[],o=this._animations[a];let l;const n=new Map;if(o?(l=id(this._driver,e,o,kg,ul,{},{},t,Zy,s),l.forEach(d=>{const u=rn(n,d.element,{});d.postStyleProps.forEach(f=>u[f]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),l=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);n.forEach((d,u)=>{Object.keys(d).forEach(f=>{d[f]=this._driver.computeStyle(u,f,tn)})});const r=Zr(l.map(d=>{const u=n.get(d.element);return this._buildPlayer(d,{},u)}));return this._playersById[a]=r,r.onDestroy(()=>this.destroy(a)),this.players.push(r),r}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,s){const o=Sg(e,"","","");return Eg(this._getPlayer(a),t,o,s),()=>{}}command(a,e,t,s){if("register"==t)return void this.register(a,s[0]);if("create"==t)return void this.create(a,e,s[0]||{});const o=this._getPlayer(a);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(a)}}}const Th="ng-animate-queued",Sh="ng-animate-disabled",tw=[],$g={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed";class Ws{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function rr(c){return null!=c?c:null}(t?a.value:a),t){const o=zs(a);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(s=>{null==t[s]&&(t[s]=e[s])})}}}const nr="void",Hh=new Ws(nr);class Cl{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Gi(e,this._hostClassName)}listen(a,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 Ei(c){return"start"==c||"done"==c}(t))throw new Error(`The provided animation trigger event "${t}" for the animation trigger "${e}" is not supported!`);const o=rn(this._elementListeners,a,[]),l={name:e,phase:t,callback:s};o.push(l);const n=rn(this._engine.statesByElement,a,{});return n.hasOwnProperty(e)||(Gi(a,$c),Gi(a,$c+"-"+e),n[e]=Hh),()=>{this._engine.afterFlush(()=>{const i=o.indexOf(l);i>=0&&o.splice(i,1),this._triggers[e]||delete n[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,s=!0){const o=this._getTrigger(e),l=new Dh(this.id,e,a);let n=this._engine.statesByElement.get(a);n||(Gi(a,$c),Gi(a,$c+"-"+e),this._engine.statesByElement.set(a,n={}));let i=n[e];const r=new Ws(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&i&&r.absorbOptions(i.options),n[e]=r,i||(i=Hh),r.value!==nr&&i.value===r.value){if(!function Ys(c,a){const e=Object.keys(c),t=Object.keys(a);if(e.length!=t.length)return!1;for(let s=0;s{Er(a,se),ir(a,Oe)})}return}const f=rn(this._engine.playersByElement,a,[]);f.forEach(G=>{G.namespaceId==this.id&&G.triggerName==e&&G.queued&&G.destroy()});let b=o.matchTransition(i.value,r.value,a,r.params),D=!1;if(!b){if(!s)return;b=o.fallbackTransition,D=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:i,toState:r,player:l,isFallbackTransition:D}),D||(Gi(a,Th),l.onStart(()=>{Nn(a,Th)})),l.onDone(()=>{let G=this.players.indexOf(l);G>=0&&this.players.splice(G,1);const se=this._engine.playersByElement.get(a);if(se){let Oe=se.indexOf(l);Oe>=0&&se.splice(Oe,1)}}),this.players.push(l),f.push(l),l}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(s=>s.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,Qc,!0);t.forEach(s=>{if(s[vn])return;const o=this._engine.fetchNamespacesByElement(s);o.size?o.forEach(l=>l.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(a,e,t,s){const o=this._engine.statesByElement.get(a),l=new Map;if(o){const n=[];if(Object.keys(o).forEach(i=>{if(l.set(i,o[i].value),this._triggers[i]){const r=this.trigger(a,i,nr,s);r&&n.push(r)}}),n.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,l),t&&Zr(n).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const s=new Set;e.forEach(o=>{const l=o.name;if(s.has(l))return;s.add(l);const i=this._triggers[l].fallbackTransition,r=t[l]||Hh,d=new Ws(nr),u=new Dh(this.id,l,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:i,fromState:r,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let s=!1;if(t.totalAnimations){const o=t.players.length?t.playersByQueriedElement.get(a):[];if(o&&o.length)s=!0;else{let l=a;for(;l=l.parentNode;)if(t.statesByElement.get(l)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(a),s)t.markElementAsRemoved(this.id,a,!1,e);else{const o=a[vn];(!o||o===$g)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){Gi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const s=t.player;if(s.destroyed)return;const o=t.element,l=this._elementListeners.get(o);l&&l.forEach(n=>{if(n.name==t.triggerName){const i=Sg(o,t.triggerName,t.fromState.value,t.toState.value);i._data=a,Eg(t.player,n.phase,i,n.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(t)}),this._queue=[],e.sort((t,s)=>{const o=t.transition.ast.depCount,l=s.transition.ast.depCount;return 0==o||0==l?o-l:this._engine.driver.containsElement(t.element,s.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class nw{constructor(a,e,t){this.bodyNode=a,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,o)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new Cl(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let s=!1;for(let o=t;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,a),s=!0;break}s||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let s=this._namespaceLookup[a];s&&s.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const s=this._namespaceList.indexOf(t);s>=0&&this._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const s=Object.keys(t);for(let o=0;o=0&&this.collectedLeaveElements.splice(l,1)}if(a){const l=this._fetchNamespace(a);l&&l.insertNode(e,t)}s&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Gi(a,Sh)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Nn(a,Sh))}removeNode(a,e,t,s){if(ea(e)){const o=a?this._fetchNamespace(a):null;if(o?o.removeNode(e,s):this.markElementAsRemoved(a,e,!1,s),t){const l=this.namespacesByHostElement.get(e);l&&l.id!==a&&l.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(a,e,t,s,o){this.collectedLeaveElements.push(e),e[vn]={namespaceId:a,setForRemoval:s,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(a,e,t,s,o){return ea(e)?this._fetchNamespace(a).listen(e,t,s,o):()=>{}}_buildInstruction(a,e,t,s,o){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,s,a.fromState.options,a.toState.options,e,o)}destroyInnerAnimations(a){let e=this.driver.query(a,Qc,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,hl,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Zr(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[vn];if(t&&t.setForRemoval){if(a[vn]=$g,t.namespaceId){this.destroyInnerAnimations(a);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Sh))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(a=-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?Zr(e).onDone(()=>{t.forEach(s=>s())}):t.forEach(s=>s())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new td,s=[],o=new Map,l=[],n=new Map,i=new Map,r=new Map,d=new Set;this.disabledNodes.forEach(qe=>{d.add(qe);const Ke=this.driver.query(qe,".ng-animate-queued",!0);for(let Xe=0;Xe{const Xe=kg+G++;D.set(Ke,Xe),qe.forEach(Mt=>Gi(Mt,Xe))});const se=[],Oe=new Set,lt=new Set;for(let qe=0;qeOe.add(Mt)):lt.add(Ke))}const et=new Map,At=an(f,Array.from(Oe));At.forEach((qe,Ke)=>{const Xe=ul+G++;et.set(Ke,Xe),qe.forEach(Mt=>Gi(Mt,Xe))}),a.push(()=>{b.forEach((qe,Ke)=>{const Xe=D.get(Ke);qe.forEach(Mt=>Nn(Mt,Xe))}),At.forEach((qe,Ke)=>{const Xe=et.get(Ke);qe.forEach(Mt=>Nn(Mt,Xe))}),se.forEach(qe=>{this.processLeaveNode(qe)})});const Wn=[],ur=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(e).forEach(Xe=>{const Mt=Xe.player,Si=Xe.element;if(Wn.push(Mt),this.collectedEnterElements.length){const ln=Si[vn];if(ln&&ln.setForMove){if(ln.previousTriggersValues&&ln.previousTriggersValues.has(Xe.triggerName)){const Zl=ln.previousTriggersValues.get(Xe.triggerName),wo=this.statesByElement.get(Xe.element);wo&&wo[Xe.triggerName]&&(wo[Xe.triggerName].value=Zl)}return void Mt.destroy()}}const ma=!u||!this.driver.containsElement(u,Si),$n=et.get(Si),yo=D.get(Si),Kt=this._buildInstruction(Xe,t,yo,$n,ma);if(Kt.errors&&Kt.errors.length)return void ur.push(Kt);if(ma)return Mt.onStart(()=>Er(Si,Kt.fromStyles)),Mt.onDestroy(()=>ir(Si,Kt.toStyles)),void s.push(Mt);if(Xe.isFallbackTransition)return Mt.onStart(()=>Er(Si,Kt.fromStyles)),Mt.onDestroy(()=>ir(Si,Kt.toStyles)),void s.push(Mt);const FS=[];Kt.timelines.forEach(ln=>{ln.stretchStartingKeyframe=!0,this.disabledNodes.has(ln.element)||FS.push(ln)}),Kt.timelines=FS,t.append(Si,Kt.timelines),l.push({instruction:Kt,player:Mt,element:Si}),Kt.queriedElements.forEach(ln=>rn(n,ln,[]).push(Mt)),Kt.preStyleProps.forEach((ln,Zl)=>{const wo=Object.keys(ln);if(wo.length){let Xl=i.get(Zl);Xl||i.set(Zl,Xl=new Set),wo.forEach(h0=>Xl.add(h0))}}),Kt.postStyleProps.forEach((ln,Zl)=>{const wo=Object.keys(ln);let Xl=r.get(Zl);Xl||r.set(Zl,Xl=new Set),wo.forEach(h0=>Xl.add(h0))})});if(ur.length){const qe=[];ur.forEach(Ke=>{qe.push(`@${Ke.triggerName} has failed due to:\n`),Ke.errors.forEach(Xe=>qe.push(`- ${Xe}\n`))}),Wn.forEach(Ke=>Ke.destroy()),this.reportError(qe)}const on=new Map,ts=new Map;l.forEach(qe=>{const Ke=qe.element;t.has(Ke)&&(ts.set(Ke,Ke),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,on))}),s.forEach(qe=>{const Ke=qe.element;this._getPreviousPlayers(Ke,!1,qe.namespaceId,qe.triggerName,null).forEach(Mt=>{rn(on,Ke,[]).push(Mt),Mt.destroy()})});const is=se.filter(qe=>ja(qe,i,r)),ns=new Map;yl(ns,this.driver,lt,r,tn).forEach(qe=>{ja(qe,i,r)&&is.push(qe)});const af=new Map;b.forEach((qe,Ke)=>{yl(af,this.driver,new Set(qe),i,"!")}),is.forEach(qe=>{const Ke=ns.get(qe),Xe=af.get(qe);ns.set(qe,Object.assign(Object.assign({},Ke),Xe))});const Kl=[],BS=[],OS={};l.forEach(qe=>{const{element:Ke,player:Xe,instruction:Mt}=qe;if(t.has(Ke)){if(d.has(Ke))return Xe.onDestroy(()=>ir(Ke,Mt.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Mt.totalTime),void s.push(Xe);let Si=OS;if(ts.size>1){let $n=Ke;const yo=[];for(;$n=$n.parentNode;){const Kt=ts.get($n);if(Kt){Si=Kt;break}yo.push($n)}yo.forEach(Kt=>ts.set(Kt,Si))}const ma=this._buildAnimation(Xe.namespaceId,Mt,on,o,af,ns);if(Xe.setRealPlayer(ma),Si===OS)Kl.push(Xe);else{const $n=this.playersByElement.get(Si);$n&&$n.length&&(Xe.parentPlayer=Zr($n)),s.push(Xe)}}else Er(Ke,Mt.fromStyles),Xe.onDestroy(()=>ir(Ke,Mt.toStyles)),BS.push(Xe),d.has(Ke)&&s.push(Xe)}),BS.forEach(qe=>{const Ke=o.get(qe.element);if(Ke&&Ke.length){const Xe=Zr(Ke);qe.setRealPlayer(Xe)}}),s.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe!ma.destroyed);Si.length?$s(this,Ke,Si):this.processLeaveNode(Ke)}return se.length=0,Kl.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const Ke=this.players.indexOf(qe);this.players.splice(Ke,1)}),qe.play()}),Kl}elementContainsData(a,e){let t=!1;const s=e[vn];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,s,o){let l=[];if(e){const n=this.playersByQueriedElement.get(a);n&&(l=n)}else{const n=this.playersByElement.get(a);if(n){const i=!o||o==nr;n.forEach(r=>{r.queued||!i&&r.triggerName!=s||l.push(r)})}}return(t||s)&&(l=l.filter(n=>!(t&&t!=n.namespaceId||s&&s!=n.triggerName))),l}_beforeAnimationBuild(a,e,t){const o=e.element,l=e.isRemovalTransition?void 0:a,n=e.isRemovalTransition?void 0:e.triggerName;for(const i of e.timelines){const r=i.element,d=r!==o,u=rn(t,r,[]);this._getPreviousPlayers(r,d,l,n,e.toState).forEach(b=>{const D=b.getRealPlayer();D.beforeDestroy&&D.beforeDestroy(),b.destroy(),u.push(b)})}Er(o,e.fromStyles)}_buildAnimation(a,e,t,s,o,l){const n=e.triggerName,i=e.element,r=[],d=new Set,u=new Set,f=e.timelines.map(D=>{const G=D.element;d.add(G);const se=G[vn];if(se&&se.removedBeforeQueried)return new Ns(D.duration,D.delay);const Oe=G!==i,lt=function Qs(c){const a=[];return La(c,a),a}((t.get(G)||tw).map(on=>on.getRealPlayer())).filter(on=>!!on.element&&on.element===G),et=o.get(G),At=l.get(G),Wn=By(0,this._normalizer,0,D.keyframes,et,At),ur=this._buildPlayer(D,Wn,lt);if(D.subTimeline&&s&&u.add(G),Oe){const on=new Dh(a,n,G);on.setRealPlayer(ur),r.push(on)}return ur});r.forEach(D=>{rn(this.playersByQueriedElement,D.element,[]).push(D),D.onDone(()=>function Ph(c,a,e){let t;if(c instanceof Map){if(t=c.get(a),t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&c.delete(a)}}else if(t=c[a],t){if(t.length){const s=t.indexOf(e);t.splice(s,1)}0==t.length&&delete c[a]}return t}(this.playersByQueriedElement,D.element,D))}),d.forEach(D=>Gi(D,Ig));const b=Zr(f);return b.onDestroy(()=>{d.forEach(D=>Nn(D,Ig)),ir(i,e.toStyles)}),u.forEach(D=>{rn(s,D,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Ns(a.duration,a.delay)}}class Dh{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Ns,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>Eg(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){rn(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function ea(c){return c&&1===c.nodeType}function ta(c,a){const e=c.style.display;return c.style.display=null!=a?a:"none",e}function yl(c,a,e,t,s){const o=[];e.forEach(i=>o.push(ta(i)));const l=[];t.forEach((i,r)=>{const d={};i.forEach(u=>{const f=d[u]=a.computeStyle(r,u,s);(!f||0==f.length)&&(r[vn]=iw,l.push(r))}),c.set(r,d)});let n=0;return e.forEach(i=>ta(i,o[n++])),l}function an(c,a){const e=new Map;if(c.forEach(n=>e.set(n,[])),0==a.length)return e;const s=new Set(a),o=new Map;function l(n){if(!n)return 1;let i=o.get(n);if(i)return i;const r=n.parentNode;return i=e.has(r)?r:s.has(r)?1:l(r),o.set(n,i),i}return a.forEach(n=>{const i=l(n);1!==i&&e.get(i).push(n)}),e}function Gi(c,a){var e;null===(e=c.classList)||void 0===e||e.add(a)}function Nn(c,a){var e;null===(e=c.classList)||void 0===e||e.remove(a)}function $s(c,a,e){Zr(e).onDone(()=>c.processLeaveNode(a))}function La(c,a){for(let e=0;es.add(o)):a.set(c,t),e.delete(c),!0}class Sr{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new nw(a,e,t),this._timelineEngine=new yx(a,e,t),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(a,e,t,s,o){const l=a+"-"+s;let n=this._triggerCache[l];if(!n){const i=[],r=bl(this._driver,o,i);if(i.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${i.join("\n - ")}`);n=function Cx(c,a,e){return new qg(c,a,e)}(s,r,this._normalizer),this._triggerCache[l]=n}this._transitionEngine.registerTrigger(e,s,n)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,s){this._transitionEngine.insertNode(a,e,t,s)}onRemove(a,e,t,s){this._transitionEngine.removeNode(a,e,s||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,s){if("@"==t.charAt(0)){const[o,l]=qc(t);this._timelineEngine.command(o,e,l,s)}else this._transitionEngine.trigger(a,e,t,s)}listen(a,e,t,s,o){if("@"==t.charAt(0)){const[l,n]=qc(t);return this._timelineEngine.listen(l,e,n,o)}return this._transitionEngine.listen(a,e,t,s,o)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ks=(()=>{class c{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let o=c.initialStylesByElement.get(e);o||c.initialStylesByElement.set(e,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ir(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ir(this._element,this._initialStyles),this._endStyles&&(ir(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(Er(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Er(this._element,this._endStyles),this._endStyles=null),ir(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function sd(c){let a=null;const e=Object.keys(c);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:Xc(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Yg{validateStyleProperty(a){return oh(a)}matchesElement(a,e){return!1}containsElement(a,e){return Dg(a,e)}query(a,e,t){return lh(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,s,o,l=[]){const i={duration:t,delay:s,fill:0==s?"both":"forwards"};o&&(i.easing=o);const r={},d=l.filter(f=>f instanceof Rh);(function zy(c,a){return 0===c||0===a})(t,s)&&d.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(D=>r[D]=b[D])}),e=function Gy(c,a,e){const t=Object.keys(e);if(t.length&&a.length){let o=a[0],l=[];if(t.forEach(n=>{o.hasOwnProperty(n)||l.push(n),o[n]=e[n]}),l.length)for(var s=1;str(f,!1)),r);const u=function Js(c,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=sd(a[0]),a.length>1&&(t=sd(a[a.length-1]))):a&&(e=sd(a)),e||t?new Ks(c,e,t):null}(a,e);return new Rh(a,e,i,u)}}let Jg=(()=>{class c extends Gc{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:p.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?rh(e):e;return kh(this._renderer,null,t,"register",[s]),new Kg(t,this._renderer)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.FYo),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class Kg extends class js{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new Zg(this._id,a,e||{},this._renderer)}}class Zg{constructor(a,e,t,s){this.id=a,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return kh(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function kh(c,a,e,t,s){return c.setProperty(a,`@@${e}:${t}`,s)}const Xg="@.disabled";let em=(()=>{class c{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=(o,l)=>{const n=null==l?void 0:l.parentNode(o);n&&l.removeChild(n,o)}}createRenderer(e,t){const o=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let d=this._rendererCache.get(o);return d||(d=new tm("",o,this.engine),this._rendererCache.set(o,d)),d}const l=t.id,n=t.id+"-"+this._currentId;this._currentId++,this.engine.register(n,e);const i=d=>{Array.isArray(d)?d.forEach(i):this.engine.registerTrigger(l,n,e,d.name,d)};return t.data.animation.forEach(i),new im(this,n,o,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(o=>{const[l,n]=o;l(n)}),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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.FYo),p.LFG(Sr),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class tm{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,s=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,s)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,s){this.delegate.setAttribute(a,e,t,s)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,s){this.delegate.setStyle(a,e,t,s)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==Xg?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class im extends tm{constructor(a,e,t,s){super(e,t,s),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Xg?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const s=function nm(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(a);let o=e.substr(1),l="";return"@"!=o.charAt(0)&&([o,l]=function rw(c){const a=c.indexOf(".");return[c.substring(0,a),c.substr(a+1)]}(o)),this.engine.listen(this.namespaceId,s,o,l,n=>{this.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(a,e,t)}}let aw=(()=>{class c extends Sr{constructor(e,t,s){super(e.body,t,s)}ngOnDestroy(){this.flush()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Cn),p.LFG(wh))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const ki=new p.OlP("AnimationModuleType"),am=[{provide:Gc,useClass:Jg},{provide:wh,useFactory:function rm(){return new _x}},{provide:Sr,useClass:aw},{provide:p.FYo,useFactory:function sw(c,a,e){return new em(c,a,e)},deps:[ge,Sr,p.R0b]}],sm=[{provide:Cn,useFactory:()=>new Yg},{provide:ki,useValue:"BrowserAnimations"},...am],wx=[{provide:Cn,useClass:Pg},{provide:ki,useValue:"NoopAnimations"},...am];let ow=(()=>{class c{static withConfig(e){return{ngModule:c,providers:e.disableAnimations?wx:sm}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:sm,imports:[Br]}),c})();const Zs=new p.OlP("mat-sanity-checks",{providedIn:"root",factory:function lw(){return!0}});let Qe=(()=>{class c{constructor(e,t,s){this._sanityChecks=t,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Is()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ls),p.LFG(Zs,8),p.LFG(E.K0))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra],Ra]}),c})();function ia(c){return class extends c{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=nt(a)}}}function na(c,a){return class extends c{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 Mr(c){return class extends c{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=nt(a)}}}function um(c){return class extends c{constructor(...a){super(...a),this.stateChanges=new Ve.x,this.errorState=!1}updateErrorState(){const a=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==a&&(this.errorState=o,this.stateChanges.next())}}}const uw=new p.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function hw(){return(0,p.f3M)(p.soG)}});class An{constructor(){this._localeChanges=new Ve.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),s=this.isValid(e);return t&&s?!this.compareDate(a,e):t==s}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const od=new p.OlP("mat-date-formats"),hm=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ld(c,a){const e=Array(c);for(let t=0;t{class c extends An{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 ld(12,s=>this._format(t,new Date(2017,s,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ld(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 ld(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 o=this._createDateWithOverflow(e,t,s);return o.getMonth(),o}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(hm.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 o=new Date;return o.setFullYear(e,t,s),o.setHours(0,0,0,0),o}_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 c.\u0275fac=function(e){return new(e||c)(p.LFG(uw,8),p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Ex={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 Ih=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:An,useClass:cd}]}),c})(),pm=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:od,useValue:Ex}],imports:[[Ih]]}),c})(),Hr=(()=>{class c{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),dd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();class Bh{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ud={enterDuration:225,exitDuration:150},mm=gn({passive:!0}),_m=["mousedown","touchstart"],hd=["mouseup","mouseleave","touchend","touchcancel"];class pd{constructor(a,e,t,s){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Jt(t))}fadeInRipple(a,e,t={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},ud),t.animation);t.centered&&(a=s.left+s.width/2,e=s.top+s.height/2);const l=t.radius||function Cm(c,a,e){const t=Math.max(Math.abs(c-e.left),Math.abs(c-e.right)),s=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+s*s)}(a,e,s),n=a-s.left,i=e-s.top,r=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=n-l+"px",d.style.top=i-l+"px",d.style.height=2*l+"px",d.style.width=2*l+"px",null!=t.color&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${r}ms`,this._containerElement.appendChild(d),function bm(c){window.getComputedStyle(c).getPropertyValue("opacity")}(d),d.style.transform="scale(1)";const u=new Bh(this,d,t);return u.state=0,this._activeRipples.add(u),t.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const f=u===this._mostRecentTransientRipple;u.state=1,!t.persistent&&(!f||!this._isPointerDown)&&u.fadeOut()},r),u}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,s=Object.assign(Object.assign({},ud),a.config.animation);t.style.transitionDuration=`${s.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=Jt(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(_m))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(hd),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=Xu(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,mm)})})}_removeTriggerEvents(){this._triggerElement&&(_m.forEach(a=>{this._triggerElement.removeEventListener(a,this,mm)}),this._pointerUpEventsRegistered&&hd.forEach(a=>{this._triggerElement.removeEventListener(a,this,mm)}))}}const fd=new p.OlP("mat-ripple-global-options");let Dr=(()=>{class c{constructor(e,t,s,o,l){this._elementRef=e,this._animationMode=l,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new pd(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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(Qt),p.Y36(fd,8),p.Y36(ki,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&p.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"]}),c})(),sn=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),Al=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe]]}),c})(),gd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,E.ez,Qe,Al]]}),c})();const Am=["mat-button",""],xm=["*"],Em=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Hx=na(ia(Mr(class{constructor(c){this._elementRef=c}})));let md=(()=>{class c extends Hx{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 o of Em)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Fn),p.Y36(ki,8))},c.\u0275cmp=p.Xpm({type:c,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&&p.Gf(Dr,5),2&e){let s;p.iGM(s=p.CRH())&&(t.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(p.uIk("disabled",t.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:Am,ngContentSelectors:xm,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&&(p.F$t(),p.TgZ(0,"span",0),p.Hsn(1),p.qZA(),p._UZ(2,"span",1),p._UZ(3,"span",2)),2&e&&(p.xp6(2),p.ekj("mat-button-ripple-round",t.isRoundButton||t.isIconButton),p.Q6J("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Dr],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;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;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;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;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}),c})(),ar=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe],Qe]}),c})();var ww=x(1144),Vt=x(576),Fh=x(3268);const vw=["addListener","removeListener"],Aw=["addEventListener","removeEventListener"],Sm=["on","off"];function _d(c,a,e,t){if((0,Vt.m)(e)&&(t=e,e=void 0),t)return _d(c,a,e).pipe((0,Fh.Z)(t));const[s,o]=function xw(c){return(0,Vt.m)(c.addEventListener)&&(0,Vt.m)(c.removeEventListener)}(c)?Aw.map(l=>n=>c[l](a,n,e)):function Mm(c){return(0,Vt.m)(c.addListener)&&(0,Vt.m)(c.removeListener)}(c)?vw.map(Lh(c,a)):function Xs(c){return(0,Vt.m)(c.on)&&(0,Vt.m)(c.off)}(c)?Sm.map(Lh(c,a)):[];if(!s&&(0,ww.z)(c))return(0,ft.z)(l=>_d(l,a,e))((0,va.Xf)(c));if(!s)throw new TypeError("Invalid event target");return new mi.y(l=>{const n=(...i)=>l.next(1o(n)})}function Lh(c,a){return e=>t=>c[e](a,t)}var Hm=x(4408);const eo={schedule(c){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=eo;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const s=a(o=>{e=void 0,c(o)});return new qt.w0(()=>null==e?void 0:e(s))},requestAnimationFrame(...c){const{delegate:a}=eo;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...c)},cancelAnimationFrame(...c){const{delegate:a}=eo;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...c)},delegate:void 0};var jh=x(7565);const bd=new class Px extends jh.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let s;a=a||t.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,s){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw s}}}(class Tw extends Hm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=eo.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(s=>s.id===e)||(eo.cancelAnimationFrame(e),a._scheduled=void 0)}});let Nh,sr=1;const Cd={};function zn(c){return c in Cd&&(delete Cd[c],!0)}const Gn={setImmediate(c){const a=sr++;return Cd[a]=!0,Nh||(Nh=Promise.resolve()),Nh.then(()=>zn(a)&&c()),a},clearImmediate(c){zn(c)}},{setImmediate:Pm,clearImmediate:Rm}=Gn,yd={setImmediate(...c){const{delegate:a}=yd;return((null==a?void 0:a.setImmediate)||Pm)(...c)},clearImmediate(c){const{delegate:a}=yd;return((null==a?void 0:a.clearImmediate)||Rm)(c)},delegate:void 0},zh=new class Sw extends jh.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let s;a=a||t.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,s){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw s}}}(class Ew extends Hm.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=yd.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(s=>s.id===e)||(yd.clearImmediate(e),a._scheduled=void 0)}});var to=x(4986),wd=x(2805);function Im(c,a=to.z){return function Mw(c){return(0,Di.e)((a,e)=>{let t=!1,s=null,o=null,l=!1;const n=()=>{if(null==o||o.unsubscribe(),o=null,t){t=!1;const r=s;s=null,e.next(r)}l&&e.complete()},i=()=>{o=null,l&&e.complete()};a.subscribe((0,Li.x)(e,r=>{t=!0,s=r,o||(0,va.Xf)(c(r)).subscribe(o=(0,Li.x)(e,n,i))},()=>{l=!0,(!t||!o||o.closed)&&e.complete()}))})}(()=>(0,wd.H)(c,a))}let xl=(()=>{class c{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new Ve.x,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 mi.y(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(Im(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ge.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,oi.h)(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=Jt(t),o=e.getElementRef().nativeElement;do{if(s==o)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>_d(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(Qt),p.LFG(E.K0,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),io=(()=>{class c{constructor(e,t,s){this._platform=e,this._change=new Ve.x,this._changeListener=o=>{this._change.next(o)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.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,o=s.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-o.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Im(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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b),p.LFG(E.K0,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Pr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),no=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra,Pr],Ra,Pr]}),c})();class qh{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class vd extends qh{constructor(a,e,t,s){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=s}}class Wh extends qh{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class Fw extends qh{constructor(a){super(),this.element=a instanceof p.SBq?a.nativeElement:a}}class $h{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof vd?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Wh?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof Fw?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Lw extends $h{constructor(a,e,t,s,o){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=s,this.attachDomPortal=l=>{const n=l.element,i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=l,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})},this._document=o}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let s;return a.viewContainerRef?(s=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>s.destroy())):(s=t.create(a.injector||this._defaultInjector||p.zs3.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=a,s}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let Qh=(()=>{class c extends $h{constructor(e,t,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new p.vpe,this.attachDomPortal=o=>{const l=o.element,n=this._document.createComment("dom-portal");o.setAttachedHost(this),l.parentNode.insertBefore(n,l),this._getRootNode().appendChild(l),this._attachedPortal=o,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(l,n)})},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,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),l=t.createComponent(o,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(l.hostView.rootNodes[0]),super.setDisposeFn(()=>l.destroy()),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l}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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p._Vd),p.Y36(p.s_b),p.Y36(E.K0))},c.\u0275dir=p.lG2({type:c,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[p.qOj]}),c})(),za=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();var Un=x(6451);const Yh=w0();class Om{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=ni(-this._previousScrollPosition.left),a.style.top=ni(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,s=this._document.body.style,o=t.scrollBehavior||"",l=s.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),Yh&&(t.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Yh&&(t.scrollBehavior=o,s.scrollBehavior=l)}}_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 Fm{constructor(a,e,t,s){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ad{enable(){}disable(){}attach(){}}function Tl(c,a){return a.some(e=>c.bottome.bottom||c.righte.right)}function ra(c,a){return a.some(e=>c.tope.bottom||c.lefte.right)}class Gw{constructor(a,e,t,s){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=s,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();Tl(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 Uw=(()=>{class c{constructor(e,t,s,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=s,this.noop=()=>new Ad,this.close=l=>new Fm(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new Om(this._viewportRuler,this._document),this.reposition=l=>new Gw(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=o}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(xl),p.LFG(io),p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class aa{constructor(a){if(this.scrollStrategy=new Ad,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class Gx{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class Ux{constructor(a,e,t,s,o,l,n,i,r){this._portalOutlet=a,this._host=e,this._pane=t,this._config=s,this._ngZone=o,this._keyboardDispatcher=l,this._document=n,this._location=i,this._outsideClickDispatcher=r,this._backdropElement=null,this._backdropClick=new Ve.x,this._attachments=new Ve.x,this._detachments=new Ve.x,this._locationChanges=qt.w0.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new Ve.x,this._outsidePointerEvents=new Ve.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return 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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=ni(this._config.width),a.height=ni(this._config.height),a.minWidth=ni(this._config.minWidth),a.minHeight=ni(this._config.minHeight),a.maxWidth=ni(this._config.maxWidth),a.maxHeight=ni(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const s=Ic(e||[]).filter(o=>!!o);s.length&&(t?a.classList.add(...s):a.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(vt((0,Un.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Ye=(()=>{class c{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||Is()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,s=this._containerRect,o=[];let l;for(let n of this._preferredPositions){let i=this._getOriginPoint(a,s,n),r=this._getOverlayPoint(i,e,n),d=this._getOverlayFit(r,e,t,n);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(n,i);this._canFitWithFlexibleDimensions(d,r,t)?o.push({position:n,origin:i,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(i,n)}):(!l||l.overlayFit.visibleAreai&&(i=d,n=r)}return this._isPushed=!1,void this._applyPosition(n.position,n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(l.position,l.originPoint);this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(jm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let s,o;if("center"==t.originX)s=a.left+a.width/2;else{const l=this._isRtl()?a.right:a.left,n=this._isRtl()?a.left:a.right;s="start"==t.originX?l:n}return e.left<0&&(s-=e.left),o="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(o-=e.top),{x:s,y:o}}_getOverlayPoint(a,e,t){let s,o;return s="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+s,y:a.y+o}}_getOverlayFit(a,e,t,s){const o=El(e);let{x:l,y:n}=a,i=this._getOffset(s,"x"),r=this._getOffset(s,"y");i&&(l+=i),r&&(n+=r);let f=0-n,b=n+o.height-t.height,D=this._subtractOverflows(o.width,0-l,l+o.width-t.width),G=this._subtractOverflows(o.height,f,b),se=D*G;return{visibleArea:se,isCompletelyWithinViewport:o.width*o.height===se,fitsInViewportVertically:G===o.height,fitsInViewportHorizontally:D==o.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const s=t.bottom-e.y,o=t.right-e.x,l=Nm(this._overlayRef.getConfig().minHeight),n=Nm(this._overlayRef.getConfig().minWidth),r=a.fitsInViewportHorizontally||null!=n&&n<=o;return(a.fitsInViewportVertically||null!=l&&l<=s)&&r}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const s=El(e),o=this._viewportRect,l=Math.max(a.x+s.width-o.width,0),n=Math.max(a.y+s.height-o.height,0),i=Math.max(o.top-t.top-a.y,0),r=Math.max(o.left-t.left-a.x,0);let d=0,u=0;return d=s.width<=o.width?r||-l:a.xD&&!this._isInitialRender&&!this._growAfterOpen&&(l=a.y-D/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)f=t.width-a.x+this._viewportMargin,d=a.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)u=a.x,d=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),D=this._lastBoundingBoxSize.width;d=2*b,u=a.x-b,d>D&&!this._isInitialRender&&!this._growAfterOpen&&(u=a.x-D/2)}return{top:l,left:u,bottom:n,right:f,width:d,height:o}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 o=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;s.height=ni(t.height),s.top=ni(t.top),s.bottom=ni(t.bottom),s.width=ni(t.width),s.left=ni(t.left),s.right=ni(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",o&&(s.maxHeight=ni(o)),l&&(s.maxWidth=ni(l))}this._lastBoundingBoxSize=t,lr(this._boundingBox.style,s)}_resetBoundingBoxStyles(){lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(s){const d=this._viewportRuler.getViewportScrollPosition();lr(t,this._getExactOverlayY(e,a,d)),lr(t,this._getExactOverlayX(e,a,d))}else t.position="static";let n="",i=this._getOffset(e,"x"),r=this._getOffset(e,"y");i&&(n+=`translateX(${i}px) `),r&&(n+=`translateY(${r}px)`),t.transform=n.trim(),l.maxHeight&&(s?t.maxHeight=ni(l.maxHeight):o&&(t.maxHeight="")),l.maxWidth&&(s?t.maxWidth=ni(l.maxWidth):o&&(t.maxWidth="")),lr(this._pane.style,t)}_getExactOverlayY(a,e,t){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),"bottom"===a.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=ni(o.y),s}_getExactOverlayX(a,e,t){let l,s={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),l=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===l?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=ni(o.x),s}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ra(a,t),isOriginOutsideView:Tl(a,t),isOverlayClipped:ra(e,t),isOverlayOutsideView:Tl(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,s)=>t-Math.max(s,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&Ic(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof p.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function lr(c,a){for(let e in a)a.hasOwnProperty(e)&&(c[e]=a[e]);return c}function Nm(c){if("number"!=typeof c&&null!=c){const[a,e]=c.split($w);return e&&"px"!==e?null:parseFloat(a)}return c||null}function El(c){return{top:Math.floor(c.top),right:Math.floor(c.right),bottom:Math.floor(c.bottom),left:Math.floor(c.left),width:Math.floor(c.width),height:Math.floor(c.height)}}const Sl="cdk-global-overlay-wrapper";class Yt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Sl),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:l,maxHeight:n}=t,i=!("100%"!==s&&"100vw"!==s||l&&"100%"!==l&&"100vw"!==l),r=!("100%"!==o&&"100vh"!==o||n&&"100%"!==n&&"100vh"!==n);a.position=this._cssPosition,a.marginLeft=i?"0":this._leftOffset,a.marginTop=r?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,i?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=r?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Sl),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let qx=(()=>{class c{constructor(e,t,s,o){this._viewportRuler=e,this._document=t,this._platform=s,this._overlayContainer=o}global(){return new Yt}flexibleConnectedTo(e){return new Qw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(io),p.LFG(E.K0),p.LFG(Qt),p.LFG(Ye))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jh=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Yw=(()=>{class c extends Jh{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=s=>{const o=this._attachedOverlays;for(let l=o.length-1;l>-1;l--)if(o[l]._keydownEvents.observers.length>0){const n=o[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>n.next(s)):n.next(s);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(p.R0b,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Jw=(()=>{class c extends Jh{constructor(e,t,s){super(e),this._platform=t,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mn(o)},this._clickListener=o=>{const l=mn(o),n="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){const d=i[r];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(l)||d.overlayElement.contains(n))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(Qt),p.LFG(p.R0b,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),zm=0,qn=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=l,this._injector=n,this._ngZone=i,this._document=r,this._directionality=d,this._location=u,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),s=this._createPaneElement(t),o=this._createPortalOutlet(s),l=new aa(e);return l.direction=l.direction||this._directionality.value,new Ux(o,t,s,l,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-"+zm++,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(p.z2F)),new Lw(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Uw),p.LFG(Ye),p.LFG(p._Vd),p.LFG(qx),p.LFG(Yw),p.LFG(p.zs3),p.LFG(p.R0b),p.LFG(E.K0),p.LFG(Ar),p.LFG(E.Ye),p.LFG(Jw))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Ml={provide:new p.OlP("cdk-connected-overlay-scroll-strategy"),deps:[qn],useFactory:function Zw(c){return()=>c.scrollStrategies.reposition()}};let Hl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[qn,Ml],imports:[[Ra,za,no],no]}),c})();const Xw=["connectionContainer"],xd=["inputContainer"],Um=["label"];function qm(c,a){1&c&&(p.ynx(0),p.TgZ(1,"div",14),p._UZ(2,"div",15),p._UZ(3,"div",16),p._UZ(4,"div",17),p.qZA(),p.TgZ(5,"div",18),p._UZ(6,"div",15),p._UZ(7,"div",16),p._UZ(8,"div",17),p.qZA(),p.BQk())}function Wm(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div",19),p.NdJ("cdkObserveContent",function(){return p.CHM(e),p.oxw().updateOutlineGap()}),p.Hsn(1,1),p.qZA()}if(2&c){const e=p.oxw();p.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)}}function ev(c,a){if(1&c&&(p.ynx(0),p.Hsn(1,2),p.TgZ(2,"span"),p._uU(3),p.qZA(),p.BQk()),2&c){const e=p.oxw(2);p.xp6(3),p.Oqu(e._control.placeholder)}}function Dl(c,a){1&c&&p.Hsn(0,3,["*ngSwitchCase","true"])}function Pl(c,a){1&c&&(p.TgZ(0,"span",23),p._uU(1," *"),p.qZA())}function tv(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"label",20,21),p.NdJ("cdkObserveContent",function(){return p.CHM(e),p.oxw().updateOutlineGap()}),p.YNc(2,ev,4,1,"ng-container",12),p.YNc(3,Dl,1,0,"ng-content",12),p.YNc(4,Pl,2,0,"span",22),p.qZA()}if(2&c){const e=p.oxw();p.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),p.Q6J("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),p.uIk("for",e._control.id)("aria-owns",e._control.id),p.xp6(2),p.Q6J("ngSwitchCase",!1),p.xp6(1),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function iv(c,a){1&c&&(p.TgZ(0,"div",24),p.Hsn(1,4),p.qZA())}function nv(c,a){if(1&c&&(p.TgZ(0,"div",25),p._UZ(1,"span",26),p.qZA()),2&c){const e=p.oxw();p.xp6(1),p.ekj("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function $m(c,a){if(1&c&&(p.TgZ(0,"div"),p.Hsn(1,5),p.qZA()),2&c){const e=p.oxw();p.Q6J("@transitionMessages",e._subscriptAnimationState)}}function Qm(c,a){if(1&c&&(p.TgZ(0,"div",30),p._uU(1),p.qZA()),2&c){const e=p.oxw(2);p.Q6J("id",e._hintLabelId),p.xp6(1),p.Oqu(e.hintLabel)}}function Ym(c,a){if(1&c&&(p.TgZ(0,"div",27),p.YNc(1,Qm,2,2,"div",28),p.Hsn(2,6),p._UZ(3,"div",29),p.Hsn(4,7),p.qZA()),2&c){const e=p.oxw();p.Q6J("@transitionMessages",e._subscriptAnimationState),p.xp6(1),p.Q6J("ngIf",e.hintLabel)}}const rv=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Jm=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let av=0;const Km=new p.OlP("MatError");let sv=(()=>{class c{constructor(e,t){this.id="mat-error-"+av++,e||t.nativeElement.setAttribute("aria-live","polite")}}return c.\u0275fac=function(e){return new(e||c)(p.$8M("aria-live"),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&p.uIk("id",t.id)},inputs:{id:"id"},features:[p._Bn([{provide:Km,useExisting:c}])]}),c})();const Yx={transitionMessages:Lt("transitionMessages",[ot("enter",Le({opacity:1,transform:"translateY(0%)"})),bt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),Tt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Kh=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c}),c})(),lv=0;const Zm=new p.OlP("MatHint");let Xm=(()=>{class c{constructor(){this.align="start",this.id="mat-hint-"+lv++}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(p.uIk("id",t.id)("align",null),p.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[p._Bn([{provide:Zm,useExisting:c}])]}),c})(),sa=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-label"]]}),c})(),cv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-placeholder"]]}),c})();const dv=new p.OlP("MatPrefix"),e_=new p.OlP("MatSuffix");let uv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","matSuffix",""]],features:[p._Bn([{provide:e_,useExisting:c}])]}),c})(),Xh=0;const ro=na(class{constructor(c){this._elementRef=c}},"primary"),pv=new p.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Td=new p.OlP("MatFormField");let i_=(()=>{class c extends ro{constructor(e,t,s,o,l,n,i){super(e),this._changeDetectorRef=t,this._dir=s,this._defaults=o,this._platform=l,this._ngZone=n,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ve.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Xh++,this._labelId="mat-form-field-label-"+Xh++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==i,this.appearance=o&&o.appearance?o.appearance:"legacy",this._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.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=nt(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(ji(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(vt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(vt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Un.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ji(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ji(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(vt(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,_d(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(o=>"start"===o.align):null,s=this._hintChildren?this._hintChildren.find(o=>"end"===o.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",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const d=t.querySelectorAll(`${s}, ${o}`);for(let u=0;u0?.75*D+10:0}for(let d=0;d{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,$r],Qe]}),c})();const wv={provide:new p.OlP("mat-select-scroll-strategy"),deps:[qn],useFactory:function a_(c){return()=>c.scrollStrategies.reposition()}};let ao=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[wv],imports:[[E.ez,Hl,gd,Qe],Pr,oa,gd,Qe]}),c})();const Ed=new Set;let so,xv=(()=>{class c{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Tv}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function tp(c){if(!Ed.has(c))try{so||(so=document.createElement("style"),so.setAttribute("type","text/css"),document.head.appendChild(so)),so.sheet&&(so.sheet.insertRule(`@media ${c} {body{ }}`,0),Ed.add(c))}catch(a){console.error(a)}}(e),this._matchMedia(e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function Tv(c){return{matches:"all"===c||""===c,media:c,addListener:()=>{},removeListener:()=>{}}}let o_=(()=>{class c{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ve.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return l_(Ic(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){const s=l_(Ic(e)).map(l=>this._registerQuery(l).observable);let o=(0,nu.a)(s);return o=(0,wa.z)(o.pipe((0,Ut.q)(1)),o.pipe(_n(1),(0,Yu.b)(0))),o.pipe((0,pt.U)(l=>{const n={matches:!1,breakpoints:{}};return l.forEach(({matches:i,query:r})=>{n.matches=n.matches||i,n.breakpoints[r]=i}),n}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),o={observable:new mi.y(l=>{const n=i=>this._zone.run(()=>l.next(i));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(ji(t),(0,pt.U)(({matches:l})=>({query:e,matches:l})),vt(this._destroySubject)),mql:t};return this._queries.set(e,o),o}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(xv),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function l_(c){return c.map(a=>a.split(",")).reduce((a,e)=>a.concat(e)).map(a=>a.trim())}const Ev=["tooltip"],u_="tooltip-panel",oo=gn({passive:!0}),lo=new p.OlP("mat-tooltip-scroll-strategy"),pT={provide:lo,deps:[qn],useFactory:function Mv(c){return()=>c.scrollStrategies.reposition({scrollThrottle:20})}},h_=new p.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Hv(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Dv=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=s,this._viewContainerRef=o,this._ngZone=l,this._platform=n,this._ariaDescriber=i,this._focusMonitor=r,this._dir=u,this._defaultOptions=f,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 Ve.x,this._scrollStrategy=d,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),u.change.pipe(vt(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=nt(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),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(vt(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,oo)}),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 vd(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=t.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(vt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return s.positionChanges.pipe(vt(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:s,panelClass:`${this._cssClassPrefix}-${u_}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(vt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(vt(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(vt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Wr(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,s=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},s.main),o.main)),this._addOffset(Object.assign(Object.assign({},s.fallback),o.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:o,y:l}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:o,originY:l}}}_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:o,y:l}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:o,overlayY:l}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),vt(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:o}=e;let l;if(l="center"===t?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===t&&"top"===o?"above":"below",l!==this._currentPosition){const n=this._overlayRef;if(n){const i=`${this._cssClassPrefix}-${u_}-`;n.removePanelClass(i+this._currentPosition),n.addPanelClass(i+l)}this._currentPosition=l}}_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",t=>{var s;const o=t.relatedTarget;(!o||!(null===(s=this._overlayRef)||void 0===s?void 0:s.overlayElement.contains(o)))&&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,oo)})}_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 c.\u0275fac=function(e){p.$Z()},c.\u0275dir=p.lG2({type:c,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),c})(),Pv=(()=>{class c extends Dv{constructor(e,t,s,o,l,n,i,r,d,u,f,b){super(e,t,s,o,l,n,i,r,d,u,f,b),this._tooltipComponent=p_}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(qn),p.Y36(p.SBq),p.Y36(xl),p.Y36(p.s_b),p.Y36(p.R0b),p.Y36(Qt),p.Y36(ox),p.Y36(Fn),p.Y36(lo),p.Y36(Ar,8),p.Y36(h_,8),p.Y36(E.K0))},c.\u0275dir=p.lG2({type:c,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[p.qOj]}),c})(),Rv=(()=>{class c{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ve.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,s=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:s),t.classList.add(e?s:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const l=getComputedStyle(t);("0s"===l.getPropertyValue("animation-duration")||"none"===l.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.sBO),p.Y36(ki,8))},c.\u0275dir=p.lG2({type:c}),c})(),p_=(()=>{class c extends Rv{constructor(e,t,s){super(e,s),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.sBO),p.Y36(o_),p.Y36(ki,8))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&p.Gf(Ev,7),2&e){let s;p.iGM(s=p.CRH())&&(t._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&p.NdJ("mouseleave",function(o){return t._handleMouseLeave(o)}),2&e&&p.Udp("zoom",t.isVisible()?1:null)},features:[p.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(p.TgZ(0,"div",0,1),p.NdJ("animationend",function(o){return t._handleAnimationEnd(o)}),p.ALo(2,"async"),p._uU(3),p.qZA()),2&e){let s;p.ekj("mat-tooltip-handset",null==(s=p.lcZ(2,4,t._isHandset))?null:s.matches),p.Q6J("ngClass",t.tooltipClass),p.xp6(3),p.Oqu(t.message)}},directives:[E.mk],pipes:[E.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),c})(),co=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[pT],imports:[[Jr,E.ez,Hl,Qe],Qe,Pr]}),c})(),ip=(()=>{class c{constructor(){this.changes=new Ve.x,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 o=e*t;return`${o+1} \u2013 ${o<(s=Math.max(s,0))?Math.min(o+t,s):o+t} of ${s}`}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const np={provide:ip,deps:[[new p.FiY,new p.tp0,ip]],useFactory:function Bv(c){return c||new ip}};let Rr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[np],imports:[[E.ez,ar,ao,co,Qe]]}),c})();var Fv=x(4825);const g_=["mat-menu-item",""];function Lv(c,a){1&c&&(p.O4$(),p.TgZ(0,"svg",2),p._UZ(1,"polygon",3),p.qZA())}const jv=["*"];function m_(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div",0),p.NdJ("keydown",function(s){return p.CHM(e),p.oxw()._handleKeydown(s)})("click",function(){return p.CHM(e),p.oxw().closed.emit("click")})("@transformMenu.start",function(s){return p.CHM(e),p.oxw()._onAnimationStart(s)})("@transformMenu.done",function(s){return p.CHM(e),p.oxw()._onAnimationDone(s)}),p.TgZ(1,"div",1),p.Hsn(2),p.qZA(),p.qZA()}if(2&c){const e=p.oxw();p.Q6J("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),p.uIk("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const rp={transformMenu:Lt("transformMenu",[ot("void",Le({opacity:0,transform:"scale(0.8)"})),bt("void => enter",Tt("120ms cubic-bezier(0, 0, 0.2, 1)",Le({opacity:1,transform:"scale(1)"}))),bt("* => void",Tt("100ms 25ms linear",Le({opacity:0})))]),fadeInItems:Lt("fadeInItems",[ot("showing",Le({opacity:1})),bt("void => *",[Le({opacity:0}),Tt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},zv=new p.OlP("MatMenuContent"),ap=new p.OlP("MAT_MENU_PANEL"),Uv=Mr(ia(class{}));let Md=(()=>{class c extends Uv{constructor(e,t,s,o,l){var n;super(),this._elementRef=e,this._document=t,this._focusMonitor=s,this._parentMenu=o,this._changeDetectorRef=l,this.role="menuitem",this._hovered=new Ve.x,this._focused=new Ve.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(n=null==o?void 0:o.addItem)||void 0===n||n.call(o,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 o=0;o{class c{constructor(e,t,s,o){this._elementRef=e,this._ngZone=t,this._defaultOptions=s,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new p.n_E,this._tabSubscription=qt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ve.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new p.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+C_++}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=nt(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=nt(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 ll(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),(0,vi.w)(e=>(0,Un.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const s=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=s.activeItem)||void 0===t?void 0:t._hasFocus())){const o=e.toArray(),l=Math.max(0,Math.min(o.length-1,s.activeItemIndex||0));o[l]&&!o[l].disabled?s.setActiveItem(l):s.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),(0,vi.w)(t=>(0,Un.T)(...t.map(s=>s._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,s=this._keyManager;switch(t){case 27:Wr(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._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(e).setFirstItemActive(),!s.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),s=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(l=>l.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(e=this.xPosition,t=this.yPosition){var s;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,null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()}_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(ji(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(uo),p.Y36(p.sBO))},c.\u0275dir=p.lG2({type:c,contentQueries:function(e,t,s){if(1&e&&(p.Suo(s,zv,5),p.Suo(s,Md,5),p.Suo(s,Md,4)),2&e){let o;p.iGM(o=p.CRH())&&(t.lazyContent=o.first),p.iGM(o=p.CRH())&&(t._allItems=o),p.iGM(o=p.CRH())&&(t.items=o)}},viewQuery:function(e,t){if(1&e&&p.Gf(p.Rgc,5),2&e){let s;p.iGM(s=p.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"}}),c})(),y_=(()=>{class c extends ho{constructor(e,t,s,o){super(e,t,s,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(uo),p.Y36(p.sBO))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&p.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[p._Bn([{provide:ap,useExisting:c}]),p.qOj],ngContentSelectors:jv,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&&(p.F$t(),p.YNc(0,m_,3,6,"ng-template"))},directives:[E.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[rp.transformMenu,rp.fadeInItems]},changeDetection:0}),c})();const sp=new p.OlP("mat-menu-scroll-strategy"),qv={provide:sp,deps:[qn],useFactory:function w_(c){return()=>c.scrollStrategies.reposition()}},lp=gn({passive:!0});let v_=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d){this._overlay=e,this._element=t,this._viewContainerRef=s,this._menuItemInstance=n,this._dir=i,this._focusMonitor=r,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qt.w0.EMPTY,this._hoverSubscription=qt.w0.EMPTY,this._menuCloseSubscription=qt.w0.EMPTY,this._handleTouchStart=u=>{eh(u)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new p.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new p.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=l instanceof ho?l:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,lp),n&&(n._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,lp),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 ho&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(vt(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 ho?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,oi.h)(s=>"void"===s.toState),(0,Ut.q)(1),vt(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 aa({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=>{const s="start"===t.connectionPair.overlayX?"after":"before",o="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(s,o)):this.menu.setPositionClasses(s,o)})}_setPosition(e){let[t,s]="before"===this.menu.xPosition?["end","start"]:["start","end"],[o,l]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[n,i]=[o,l],[r,d]=[t,s],u=0;this.triggersSubmenu()?(d=t="before"===this.menu.xPosition?"start":"end",s=r="end"===t?"start":"end",u="bottom"===o?8:-8):this.menu.overlapTrigger||(n="top"===o?"bottom":"top",i="top"===l?"bottom":"top"),e.withPositions([{originX:t,originY:n,overlayX:r,overlayY:o,offsetY:u},{originX:s,originY:n,overlayX:d,overlayY:o,offsetY:u},{originX:t,originY:i,overlayX:r,overlayY:l,offsetY:-u},{originX:s,originY:i,overlayX:d,overlayY:l,offsetY:-u}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),s=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ge.of)(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,oi.h)(l=>l!==this._menuItemInstance),(0,oi.h)(()=>this._menuOpen)):(0,Ge.of)();return(0,Un.T)(e,s,o,t)}_handleMousedown(e){Xu(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,oi.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Fv.g)(0,zh)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ho&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,Fv.g)(0,zh),vt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Wh(this.menu.templateRef,this._viewContainerRef)),this._portal}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(qn),p.Y36(p.SBq),p.Y36(p.s_b),p.Y36(sp),p.Y36(ap,8),p.Y36(Md,10),p.Y36(Ar,8),p.Y36(Fn),p.Y36(p.R0b))},c.\u0275dir=p.lG2({type:c,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&p.NdJ("click",function(o){return t._handleClick(o)})("mousedown",function(o){return t._handleMousedown(o)})("keydown",function(o){return t._handleKeydown(o)}),2&e&&p.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"}}),c})(),Wv=(()=>{class c extends v_{}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[p.qOj]}),c})(),Hd=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[qv],imports:[[E.ez,Qe,sn,Hl],Pr,Qe]}),c})();var la=x(2843),$v=x(4742),cp=x(1810);function xn(...c){const a=(0,hs.jO)(c),{args:e,keys:t}=(0,$v.D)(c),s=new mi.y(o=>{const{length:l}=e;if(!l)return void o.complete();const n=new Array(l);let i=l,r=l;for(let d=0;d{u||(u=!0,r--),n[d]=f},()=>i--,void 0,()=>{(!i||!u)&&(r||o.next(t?(0,cp.n)(t,n):n),o.complete())}))}});return a?s.pipe((0,Fh.Z)(a)):s}var A_=x(3099);const Dd=["*"];let ca;function Vl(c){var a;return(null===(a=function Qv(){if(void 0===ca&&(ca=null,"undefined"!=typeof window)){const c=window;void 0!==c.trustedTypes&&(ca=c.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return ca}())||void 0===a?void 0:a.createHTML(c))||c}function x_(c){return Error(`Unable to find icon with the name "${c}"`)}function Bl(c){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${c}".`)}function T_(c){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${c}".`)}class Ga{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let po=(()=>{class c{constructor(e,t,s,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,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,o){return this._addSvgIconConfig(e,t,new Ga(s,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,s,o){const l=this._sanitizer.sanitize(p.q3G.HTML,s);if(!l)throw T_(s);const n=Vl(l);return this._addSvgIconConfig(e,t,new Ga("",n,o))}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 Ga(t,null,s))}addSvgIconSetLiteralInNamespace(e,t,s){const o=this._sanitizer.sanitize(p.q3G.HTML,t);if(!o)throw T_(t);const l=Vl(o);return this._addSvgIconSetConfig(e,new Ga("",l,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(p.q3G.RESOURCE_URL,e);if(!t)throw Bl(e);const s=this._cachedIconsByUrl.get(t);return s?(0,Ge.of)(Ol(s)):this._loadSvgIconFromConfig(new Ga(e,null)).pipe((0,M.b)(o=>this._cachedIconsByUrl.set(t,o)),(0,pt.U)(o=>Ol(o)))}getNamedSvgIcon(e,t=""){const s=M_(t,e);let o=this._svgIconConfigs.get(s);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(s,o),this._getSvgFromConfig(o);const l=this._iconSetConfigs.get(t);return l?this._getSvgFromIconSetConfigs(e,l):(0,la._)(x_(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Ge.of)(Ol(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,pt.U)(t=>Ol(t)))}_getSvgFromIconSetConfigs(e,t){const s=this._extractIconWithNameFromAnySet(e,t);return s?(0,Ge.of)(s):xn(t.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe((0,zi.K)(n=>{const r=`Loading icon set URL: ${this._sanitizer.sanitize(p.q3G.RESOURCE_URL,l.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(r)),(0,Ge.of)(null)})))).pipe((0,pt.U)(()=>{const l=this._extractIconWithNameFromAnySet(e,t);if(!l)throw x_(e);return l}))}_extractIconWithNameFromAnySet(e,t){for(let s=t.length-1;s>=0;s--){const o=t[s];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const l=this._svgElementFromConfig(o),n=this._extractSvgIconFromSet(l,e,o.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t),(0,pt.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Ge.of)(null):this._fetchIcon(e).pipe((0,M.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,s){const o=e.querySelector(`[id="${t}"]`);if(!o)return null;const l=o.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,s);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),s);const n=this._svgElementFromString(Vl(""));return n.appendChild(l),this._setSvgAttributes(n,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(Vl("")),s=e.attributes;for(let o=0;oVl(d)),k(()=>this._inProgressUrlFetches.delete(n)),(0,A_.B)());return this._inProgressUrlFetches.set(n,r),r}_addSvgIconConfig(e,t,s){return this._svgIconConfigs.set(M_(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;sa?a.pathname+a.search:""}}}),hp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],pp=hp.map(c=>`[${c}]`).join(", "),fp=/^url\(['"]?#(.*?)['"]?\)$/;let gp=(()=>{class c extends AT{constructor(e,t,s,o,l){super(e),this._iconRegistry=t,this._location=o,this._errorHandler=l,this._inline=!1,this._currentIconFetch=qt.w0.EMPTY,s||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=nt(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const s=e.childNodes[t];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((s,o)=>{s.forEach(l=>{o.setAttribute(l.name,`url('${e}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(pp),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const n=t[o],i=n.getAttribute(l),r=i?i.match(fp):null;if(r){let d=s.get(n);d||(d=[],s.set(n,d)),d.push({name:l,value:r[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(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${s}! ${o.message}`))})}}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(po),p.$8M("aria-hidden"),p.Y36(dp),p.Y36(p.qLn))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(p.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),p.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:[p.qOj],ngContentSelectors:Dd,decls:1,vars:0,template:function(e,t){1&e&&(p.F$t(),p.Hsn(0))},styles:[".mat-icon{-webkit-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}),c})(),kr=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();function cr(c){return!!c&&(c instanceof mi.y||(0,Vt.m)(c.lift)&&(0,Vt.m)(c.subscribe))}var Jv=x(6063);class H_ extends Ve.x{constructor(a=1/0,e=1/0,t=Jv.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:s,_timestampProvider:o,_windowTime:l}=this;e||(t.push(a),!s&&t.push(o.now()+l)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:s}=this,o=s.slice();for(let l=0;lnew H_(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}class fo{}let mp=(()=>{class c extends fo{getTranslation(e){return(0,Ge.of)({})}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class kd{}let _p=(()=>{class c{handle(e){return e.key}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Id(c,a){if(c===a)return!0;if(null===c||null===a)return!1;if(c!=c&&a!=a)return!0;let s,o,l,e=typeof c;if(e==typeof a&&"object"==e){if(!Array.isArray(c)){if(Array.isArray(a))return!1;for(o in l=Object.create(null),c){if(!Id(c[o],a[o]))return!1;l[o]=!0}for(o in a)if(!(o in l)&&void 0!==a[o])return!1;return!0}if(!Array.isArray(a))return!1;if((s=c.length)==a.length){for(o=0;o{Vd(a[t])?t in c?e[t]=D_(c[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class Fl{}let P_=(()=>{class c extends Fl{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(),!Ir(e)||!Ir(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,o)=>{let l=this.getValue(t,o);return Ir(l)?l:s}):e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class fi{}let Ua=(()=>{class c extends fi{compile(e,t){return e}compileTranslations(e,t){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();class R_{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new p.vpe,this.onLangChange=new p.vpe,this.onDefaultLangChange=new p.vpe}}const bp=new p.OlP("USE_STORE"),k_=new p.OlP("USE_DEFAULT_LANG"),qa=new p.OlP("DEFAULT_LANGUAGE"),Cp=new p.OlP("USE_EXTEND");let Ui=(()=>{class c{constructor(e,t,s,o,l,n=!0,i=!1,r=!1,d){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=n,this.isolate=i,this.extend=r,this.pending=!1,this._onTranslationChange=new p.vpe,this._onLangChange=new p.vpe,this._onDefaultLangChange=new p.vpe,this._langs=[],this._translations={},this._translationRequests={},d&&this.setDefaultLang(d)}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,Ge.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,Ge.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(Rd(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,pt.U)(s=>this.compiler.compileTranslations(s,e)),Rd(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]?D_(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 o;if(t instanceof Array){let l={},n=!1;for(let i of t)l[i]=this.getParsedResult(e,i,s),cr(l[i])&&(n=!0);return n?xn(t.map(r=>cr(l[r])?l[r]:(0,Ge.of)(l[r]))).pipe((0,pt.U)(r=>{let d={};return r.forEach((u,f)=>{d[t[f]]=u}),d})):l}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,t),s)),void 0===o&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),void 0===o){let l={key:t,translateService:this};void 0!==s&&(l.interpolateParams=s),o=this.missingTranslationHandler.handle(l)}return void 0!==o?o:t}get(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,mr.b)(s=>cr(s=this.getParsedResult(s,e,t))?s:(0,Ge.of)(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return cr(s)?s:(0,Ge.of)(s)}}getStreamOnTranslationChange(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');return(0,wa.z)(us(()=>this.get(e,t)),this.onTranslationChange.pipe((0,vi.w)(s=>{const o=this.getParsedResult(s.translations,e,t);return"function"==typeof o.subscribe?o:(0,Ge.of)(o)})))}stream(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');return(0,wa.z)(us(()=>this.get(e,t)),this.onLangChange.pipe((0,vi.w)(s=>{const o=this.getParsedResult(s.translations,e,t);return cr(o)?o:(0,Ge.of)(o)})))}instant(e,t){if(!Ir(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(cr(s)){if(e instanceof Array){let o={};return e.forEach((l,n)=>{o[e[n]]=e[n]}),o}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 c.\u0275fac=function(e){return new(e||c)(p.LFG(R_),p.LFG(fo),p.LFG(fi),p.LFG(Fl),p.LFG(kd),p.LFG(k_),p.LFG(bp),p.LFG(Cp),p.LFG(qa))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),da=(()=>{class c{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,s){let o=l=>{this.value=void 0!==l?l:e,this.lastKey=e,this._ref.markForCheck()};if(s){let l=this.translate.getParsedResult(s,e,t);cr(l.subscribe)?l.subscribe(o):o(l)}this.translate.get(e,t).subscribe(o)}transform(e,...t){if(!e||!e.length)return e;if(Id(e,this.lastKey)&&Id(t,this.lastParams))return this.value;let s;if(Ir(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let o=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(o)}catch(l){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(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,o.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui,16),p.Y36(p.sBO,16))},c.\u0275pipe=p.Yjl({name:"translate",type:c,pure:!1}),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),Ll=(()=>{class c{static forRoot(e={}){return{ngModule:c,providers:[e.loader||{provide:fo,useClass:mp},e.compiler||{provide:fi,useClass:Ua},e.parser||{provide:Fl,useClass:P_},e.missingTranslationHandler||{provide:kd,useClass:_p},R_,{provide:bp,useValue:e.isolate},{provide:k_,useValue:e.useDefaultLang},{provide:Cp,useValue:e.extend},{provide:qa,useValue:e.defaultLanguage},Ui]}}static forChild(e={}){return{ngModule:c,providers:[e.loader||{provide:fo,useClass:mp},e.compiler||{provide:fi,useClass:Ua},e.parser||{provide:Fl,useClass:P_},e.missingTranslationHandler||{provide:kd,useClass:_p},{provide:bp,useValue:e.isolate},{provide:k_,useValue:e.useDefaultLang},{provide:Cp,useValue:e.extend},{provide:qa,useValue:e.defaultLanguage},Ui]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),Kv=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[Rr,Hd,kr,ar,Ll,E.ez]]}),c})();function yp(c,a){}class jl{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const I_={dialogContainer:Lt("dialogContainer",[ot("void, exit",Le({opacity:0,transform:"scale(0.7)"})),ot("enter",Le({transform:"none"})),bt("* => enter",nh([Tt("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),dl("@*",cl(),{optional:!0})])),bt("* => void, * => exit",nh([Tt("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),dl("@*",cl(),{optional:!0})]))])};let vp=(()=>{class c extends $h{constructor(e,t,s,o,l,n,i,r){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=s,this._config=l,this._interactivityChecker=n,this._ngZone=i,this._focusMonitor=r,this._animationStateChanged=new p.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(d)),this._ariaLabelledBy=l.ariaLabelledBy||null,this._document=o}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=zu())}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(()=>{const s=()=>{e.removeEventListener("blur",s),e.removeEventListener("mousedown",s),e.removeAttribute("tabindex")};e.addEventListener("blur",s),e.addEventListener("mousedown",s)})),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=zu(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=zu();return e===t||e.contains(t)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(dx),p.Y36(p.sBO),p.Y36(E.K0,8),p.Y36(jl),p.Y36(jc),p.Y36(p.R0b),p.Y36(Fn))},c.\u0275dir=p.lG2({type:c,viewQuery:function(e,t){if(1&e&&p.Gf(Qh,7),2&e){let s;p.iGM(s=p.CRH())&&(t._portalOutlet=s.first)}},features:[p.qOj]}),c})(),TT=(()=>{class c extends vp{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&p.WFA("@dialogContainer.start",function(o){return t._onAnimationStart(o)})("@dialogContainer.done",function(o){return t._onAnimationDone(o)}),2&e&&(p.Ikx("id",t._id),p.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),p.d8E("@dialogContainer",t._state))},features:[p.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&p.YNc(0,yp,0,0,"ng-template",0)},directives:[Qh],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:[I_.dialogContainer]}}),c})(),V_=0;class Nl{constructor(a,e,t="mat-dialog-"+V_++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ve.x,this._afterClosed=new Ve.x,this._beforeClosed=new Ve.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,oi.h)(s=>"opened"===s.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,oi.h)(s=>"closed"===s.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,oi.h)(s=>27===s.keyCode&&!this.disableClose&&!Wr(s))).subscribe(s=>{s.preventDefault(),Ap(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Ap(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,oi.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Ap(c,a,e){return void 0!==c._containerInstance&&(c._containerInstance._closeInteractionType=a),c.close(e)}const Bd=new p.OlP("MatDialogData"),B_=new p.OlP("mat-dialog-default-options"),O_=new p.OlP("mat-dialog-scroll-strategy"),ET={provide:O_,deps:[qn],useFactory:function xp(c){return()=>c.scrollStrategies.block()}};let Zv=(()=>{class c{constructor(e,t,s,o,l,n,i,r,d,u){this._overlay=e,this._injector=t,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=l,this._dialogRefConstructor=i,this._dialogContainerType=r,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ve.x,this._afterOpenedAtThisLevel=new Ve.x,this._ariaHiddenElements=new Map,this.afterAllClosed=us(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ji(void 0))),this._scrollStrategy=n}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){t=function L_(c,a){return Object.assign(Object.assign({},a),c)}(t,this._defaultOptions||new jl),t.id&&this.getDialogById(t.id);const s=this._createOverlay(t),o=this._attachDialogContainer(s,t),l=this._attachDialogContent(e,o,s,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.afterClosed().subscribe(()=>this._removeOpenDialog(l)),this.afterOpened.next(l),o._initializeWithAttachedContent(),l}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new aa({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 o=p.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:jl,useValue:t}]}),l=new vd(this._dialogContainerType,t.viewContainerRef,o,t.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,t,s,o){const l=new this._dialogRefConstructor(s,t,o.id);if(e instanceof p.Rgc)t.attachTemplatePortal(new Wh(e,null,{$implicit:o.data,dialogRef:l}));else{const n=this._createInjector(o,l,t),i=t.attachComponentPortal(new vd(e,o.viewContainerRef,n,o.componentFactoryResolver));l.componentInstance=i.instance}return l.updateSize(o.width,o.height).updatePosition(o.position),l}_createInjector(e,t,s){const o=e&&e.viewContainerRef&&e.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!o||!o.get(Ar,null,p.XFs.Optional))&&l.push({provide:Ar,useValue:{value:e.direction,change:(0,Ge.of)()}}),p.zs3.create({parent:o||this._injector,providers:l})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,o)=>{s?o.setAttribute("aria-hidden",s):o.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 o=t[s];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return c.\u0275fac=function(e){p.$Z()},c.\u0275dir=p.lG2({type:c}),c})(),Wa=(()=>{class c extends Zv{constructor(e,t,s,o,l,n,i,r){super(e,t,o,n,i,l,Nl,TT,Bd,r)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(qn),p.LFG(p.zs3),p.LFG(E.Ye,8),p.LFG(B_,8),p.LFG(O_),p.LFG(c,12),p.LFG(Ye),p.LFG(ki,8))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),j_=0,Tp=(()=>{class c{constructor(e,t,s){this._dialogRef=e,this._elementRef=t,this._dialog=s,this.id="mat-dialog-title-"+j_++}ngOnInit(){this._dialogRef||(this._dialogRef=function Xv(c,a){let e=c.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl,8),p.Y36(p.SBq),p.Y36(Wa))},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&p.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),c})(),Od=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),c})(),N_=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),c})(),zl=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Wa,ET],imports:[[Hl,za,Qe],Qe]}),c})();function Fd(){const c=new jl;return c.disableClose=!0,c.autoFocus=!1,c}function Dp(c,a){const e=a.split("&");for(const t of e){const[s,o]=t.split("=");if(s.includes(c))return o}return""}x(4327),new Intl.Collator("cs",{numeric:!0});class Pp{static passwordMatchValidator(a){const e=a.get("passwordCtrl").value,t=a.get("passwordAgainCtrl").value;return a.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(a){return e=>{if(!e.value)return null;let t=0;for(const s of a)t+=s.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let Gt=(()=>{class c{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,s;const o=[null===(s=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===s?void 0:s[this.branding],this.instanceConfig,this.defaultConfig];let l=null;for(const n of o)n&&!l&&(l=n[e]);return l}get(...e){let t;if(""!==this.branding){const s=this.instanceConfig.brandings[this.branding];for(let o=0;o{class c{constructor(e,t,s,o,l){this.injector=e,this.store=t,this.dialog=s,this.route=o,this.oauthService=l,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Pi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(n=>{n.idpFilter&&(this.filterShortname=String(n.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),o=.5+.25*Math.random(),l=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(l.prompt="consent"),sessionStorage.getItem("mfa_route")&&(l.acr_values="https://refeds.org/profile/mfa",l.prompt="login",l.max_age="0"),"Linker"===this.store.getProperty("application")){l.prompt="login";const n=Dp("idphint",location.search.substring(1));n&&(l.idphint=n)}return{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"),clockSkewInSec:1,timeoutFactor:o,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:l}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let s=null;return e.forEach(o=>{const l=o.split("=");"idpFilter"===l[0]&&t[l[1]]&&(this.filterShortname=l[1],s=t[l[1]])}),t.default&&!s?(this.filterShortname="default",t.default):s}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(s=>s?this.startRefreshToken():new Promise(o=>o(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,oi.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 o=[];s&&(o=s.split("&"));const l={};return o.forEach(n=>{const i=n.split("=");l[i[0]]=i[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),l.idpFilter&&(this.filterShortname=String(l.idpFilter)),this.router.navigate([t],{queryParams:l,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,oi.h)(e=>e instanceof ue)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(s=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!s||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((o,l)=>l("Invalid path"))))}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(p.zs3),p.LFG(Gt),p.LFG(Wa),p.LFG(pn),p.LFG(Rp.Ct))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),hA=(()=>{class c{constructor(e){this.dialogRef=e}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h2",0),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&e&&(p.xp6(1),p.hij(" ",p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.USER_DONT_EXIST.TITLE"),"\n"))},directives:[Od],pipes:[da],styles:[""]}),c})(),kp=(()=>{class c{constructor(e,t,s,o,l,n){this.authService=e,this.storeService=t,this.authResolver=s,this.authzService=o,this.dialog=l,this.router=n,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Fd();this.dialog.open(hA,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const s of e){const o=s.split("=");t[o[0]]=o[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Y_),p.LFG(Gt),p.LFG(uf),p.LFG(Yi),p.LFG(Wa),p.LFG(Pi))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),J_=(()=>{class c{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}registerPerunRefreshIcon(){this.customIcons.forEach(e=>{this.matIconRegistry.addSvgIcon(e.name,this.domSanitizer.bypassSecurityTrustResourceUrl(e.url))})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(po),p.LFG(Hn))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),K_=(()=>{class c{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div",1),p._uU(4),p.ALo(5,"translate"),p.qZA(),p.TgZ(6,"div",2),p.TgZ(7,"div",3),p.TgZ(8,"button",4),p.NdJ("click",function(){return t.close()}),p._uU(9),p.ALo(10,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.xp6(1),p.Oqu(p.lcZ(2,3,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.TITLE")),p.xp6(3),p.hij(" ",p.lcZ(5,5,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.DESCRIPTION"),"\n"),p.xp6(5),p.hij(" ",p.lcZ(10,7,"SHARED_LIB.PERUN.COMPONENTS.SESSION_EXPIRATION.SIGN_IN")," "))},directives:[Tp,Od,N_,md],pipes:[da],styles:[""]}),c})(),Z_=(()=>{class c{constructor(){this.handleNextError=!0}dontHandleErrorForNext(){this.handleNextError=!1}shouldHandleError(){const e=this.handleNextError;return this.handleNextError=!0,e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),X_=(()=>{class c{constructor(e){this.translate=e,this.addNotification=new p.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,o,l){this.addNotification.emit({type:"error",error:t,description:s,title:e,actionText:void 0===o&&void 0!==s?this.getDefaultActionMessage():o,delay:this.defaultErrorDelayMs,icon:"error_outline",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,s,o){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:o,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Ui))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),Ip=(()=>{class c{constructor(e,t,s,o,l,n){this.authService=e,this.apiRequestConfiguration=t,this.notificator=s,this.store=o,this.dialog=l,this.initAuthService=n}intercept(e,t){const s=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==s&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const n=Fd();n.width="450px",this.dialogRefSessionExpiration=this.dialog.open(K_,n),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{k(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const o=this.apiRequestConfiguration.shouldHandleError(),l="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,M.b)(n=>{n instanceof y.Zn&&l&&this.initAuthService.loadPrincipal()},n=>{const i=this.formatErrors(n,e);return void 0===i?(0,la._)(n):o?void this.notificator.showRPCError(i):(0,la._)(i)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let s;console.error(e);const o=e.error;if(o.errorId&&(s=o),void 0!==s)return s.urlWithParams=t.urlWithParams,s.call=t.url,s.payload=t.body,s}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(Y_),p.LFG(Z_),p.LFG(X_),p.LFG(Gt),p.LFG(Wa),p.LFG(kp))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),eb=(()=>{class c{constructor(e,t,s,o){this.http=e,this.notificator=t,this.authService=s,this.storeService=o}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new y.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,zi.K)(o=>this.formatErrors(o,s,null,t)))}put(e,t={},s=!0){const o=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);return this.http.put(o,l,{headers:this.getHeaders()}).pipe((0,zi.K)(n=>this.formatErrors(n,o,l,s)))}post(e,t={},s=!0){const o=`${this.getApiUrl()}${e}`,l=JSON.stringify(t);let n=this.getHeaders();return n=n.set("Content-Type","application/json; charset=utf-8"),this.http.post(o,l,{headers:n}).pipe((0,zi.K)(i=>this.formatErrors(i,o,l,s)))}delete(e,t=!0){const s=`${this.getApiUrl()}${e}`;return this.http.delete(s,{headers:this.getHeaders()}).pipe((0,zi.K)(o=>this.formatErrors(o,s,null,t)))}formatErrors(e,t,s,o){const l=e.error;return l.call=t,l.payload=s,o&&this.notificator.showRPCError(e.error),(0,la._)(l)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(X_),p.LFG(Y_),p.LFG(Gt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),tb=(()=>{class c{constructor(e,t){this.route=e,this.store=t}getPreferredLanguage(e){const t=this.store.get("supported_languages"),s=navigator.languages.map(n=>n.split("-")[0]),o=location.search.substring(1).split("&");let l=null;for(const n of o){const i=n.split("=");"lang"===i[0]&&(l=i[1])}return l&&t.includes(l)?l:e&&t.includes(e)?e:s&&t.includes(s[0])?s[0]:"en"}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(pn),p.LFG(Gt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Vp=["*",[["mat-toolbar-row"]]],ib=["*","mat-toolbar-row"],fA=na(class{constructor(c){this._elementRef=c}});let nb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),c})(),rb=(()=>{class c extends fA{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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(E.K0))},c.\u0275cmp=p.Xpm({type:c,selectors:[["mat-toolbar"]],contentQueries:function(e,t,s){if(1&e&&p.Suo(s,nb,5),2&e){let o;p.iGM(o=p.CRH())&&(t._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&p.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[p.qOj],ngContentSelectors:ib,decls:2,vars:0,template:function(e,t){1&e&&(p.F$t(Vp),p.Hsn(0),p.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}),c})(),ab=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})();function WT(c,a){1&c&&(p.TgZ(0,"div",10),p.TgZ(1,"span",11),p._uU(2," ~ \u{1f5f2}\xa0 "),p.qZA(),p.TgZ(3,"span",12),p._uU(4," DEVEL "),p.qZA(),p.TgZ(5,"span",11),p._uU(6," \xa0\u{1f5f2} ~ "),p.qZA(),p.qZA())}const $T=function(c){return{background:c}},jd=function(c){return{color:c}};let gA=(()=>{class c{constructor(e,t,s,o){this.storeService=e,this.sanitizer=t,this.preferredLangService=s,this.translateService=o,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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Hn),p.Y36(tb),p.Y36(Ui))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-header"]],decls:15,vars:19,consts:[[1,"sticky-top","header-container","mat-elevation-z3",3,"ngStyle"],[1,"display-flex-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&&(p.TgZ(0,"mat-toolbar",0),p.TgZ(1,"div",1),p._UZ(2,"a",2),p.TgZ(3,"p",3),p._uU(4),p.qZA(),p.qZA(),p.YNc(5,WT,7,0,"div",4),p.TgZ(6,"div",5),p.TgZ(7,"button",6),p.TgZ(8,"mat-icon",7),p._uU(9," language "),p.qZA(),p.qZA(),p.TgZ(10,"mat-menu",null,8),p.TgZ(12,"button",9),p.NdJ("click",function(){return t.changeLanguage()}),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.qZA(),p.qZA(),p.qZA()),2&e){const s=p.MAs(11);p.Q6J("ngStyle",p.VKq(11,$T,t.bgColor)),p.xp6(2),p.Q6J("innerHTML",t.logo,p.oJD),p.xp6(1),p.Q6J("ngStyle",p.VKq(13,jd,t.textColor)),p.xp6(1),p.Oqu(t.label),p.xp6(1),p.Q6J("ngIf",t.isDevel),p.xp6(1),p.Q6J("ngStyle",p.VKq(15,jd,t.textColor)),p.xp6(1),p.Q6J("matMenuTriggerFor",s),p.xp6(1),p.Q6J("ngStyle",p.VKq(17,jd,t.iconColor)),p.xp6(5),p.hij(" ",p.lcZ(14,9,"HEADER.LANGUAGE")," ")}},directives:[rb,E.PC,E.O5,md,Wv,gp,y_,Md],pipes:[da],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.display-flex-row[_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}#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}"]}),c})(),sb=(()=>{class c{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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.Qsj),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c}),c})(),$a=(()=>{class c extends sb{}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,features:[p.qOj]}),c})();const qi=new p.OlP("NgValueAccessor"),YT={provide:qi,useExisting:(0,p.Gpc)(()=>ua),multi:!0},_A=new p.OlP("CompositionEventMode");let ua=(()=>{class c extends sb{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function JT(){const c=(0,E.q)()?(0,E.q)().getUserAgent():"";return/android (\d+)/.test(c.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.Qsj),p.Y36(p.SBq),p.Y36(_A,8))},c.\u0275dir=p.lG2({type:c,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&&p.NdJ("input",function(o){return t._handleInput(o.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(o){return t._compositionEnd(o.target.value)})},features:[p._Bn([YT]),p.qOj]}),c})();function ha(c){return null==c||0===c.length}function ob(c){return null!=c&&"number"==typeof c.length}const ri=new p.OlP("NgValidators"),Wi=new p.OlP("NgAsyncValidators"),lb=/^(?=.{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 Qa{static min(a){return function Nd(c){return a=>{if(ha(a.value)||ha(c))return null;const e=parseFloat(a.value);return!isNaN(e)&&e{if(ha(a.value)||ha(c))return null;const e=parseFloat(a.value);return!isNaN(e)&&e>c?{max:{max:c,actual:a.value}}:null}}(a)}static required(a){return zd(a)}static requiredTrue(a){return function Gd(c){return!0===c.value?null:{required:!0}}(a)}static email(a){return function Gl(c){return ha(c.value)||lb.test(c.value)?null:{email:!0}}(a)}static minLength(a){return function bA(c){return a=>ha(a.value)||!ob(a.value)?null:a.value.lengthob(a.value)&&a.value.length>c?{maxlength:{requiredLength:c,actualLength:a.value.length}}:null}(a)}static pattern(a){return function yA(c){if(!c)return Bp;let a,e;return"string"==typeof c?(e="","^"!==c.charAt(0)&&(e+="^"),e+=c,"$"!==c.charAt(c.length-1)&&(e+="$"),a=new RegExp(e)):(e=c.toString(),a=c),t=>{if(ha(t.value))return null;const s=t.value;return a.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(a)}static nullValidator(a){return null}static compose(a){return Lp(a)}static composeAsync(a){return pb(a)}}function zd(c){return ha(c.value)?{required:!0}:null}function Bp(c){return null}function Op(c){return null!=c}function db(c){const a=(0,p.QGY)(c)?(0,Fi.D)(c):c;return(0,p.CqO)(a),a}function ub(c){let a={};return c.forEach(e=>{a=null!=e?Object.assign(Object.assign({},a),e):a}),0===Object.keys(a).length?null:a}function hb(c,a){return a.map(e=>e(c))}function Fp(c){return c.map(a=>function wA(c){return!c.validate}(a)?a:e=>a.validate(e))}function Lp(c){if(!c)return null;const a=c.filter(Op);return 0==a.length?null:function(e){return ub(hb(e,a))}}function Ud(c){return null!=c?Lp(Fp(c)):null}function pb(c){if(!c)return null;const a=c.filter(Op);return 0==a.length?null:function(e){return xn(hb(e,a).map(db)).pipe((0,pt.U)(ub))}}function jp(c){return null!=c?pb(Fp(c)):null}function Np(c,a){return null===c?[a]:Array.isArray(c)?[...c,a]:[c,a]}function Ul(c){return c._rawValidators}function vA(c){return c._rawAsyncValidators}function qd(c){return c?Array.isArray(c)?c:[c]:[]}function Ya(c,a){return Array.isArray(c)?c.includes(a):c===a}function fb(c,a){const e=qd(a);return qd(c).forEach(s=>{Ya(e,s)||e.push(s)}),e}function gb(c,a){return qd(a).filter(e=>!Ya(c,e))}class mb{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(a){this._rawValidators=a||[],this._composedValidatorFn=Ud(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=jp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a){this.control&&this.control.reset(a)}hasError(a,e){return!!this.control&&this.control.hasError(a,e)}getError(a,e){return this.control?this.control.getError(a,e):null}}class dr extends mb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $i extends mb{get formDirective(){return null}get path(){return null}}class _b{constructor(a){this._cd=a}is(a){var e,t,s;return"submitted"===a?!!(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[a])}}let zp=(()=>{class c extends _b{constructor(e){super(e)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(dr,2))},c.\u0275dir=p.lG2({type:c,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&p.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:[p.qOj]}),c})(),Gp=(()=>{class c extends _b{constructor(e){super(e)}}return c.\u0275fac=function(e){return new(e||c)(p.Y36($i,10))},c.\u0275dir=p.lG2({type:c,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&p.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:[p.qOj]}),c})();function _(c,a){return[...a.path,c]}function C(c,a){S(c,a),a.valueAccessor.writeValue(c.value),function R(c,a){a.valueAccessor.registerOnChange(e=>{c._pendingValue=e,c._pendingChange=!0,c._pendingDirty=!0,"change"===c.updateOn&&Q(c,a)})}(c,a),function te(c,a){const e=(t,s)=>{a.valueAccessor.writeValue(t),s&&a.viewToModelUpdate(t)};c.registerOnChange(e),a._registerOnDestroy(()=>{c._unregisterOnChange(e)})}(c,a),function F(c,a){a.valueAccessor.registerOnTouched(()=>{c._pendingTouched=!0,"blur"===c.updateOn&&c._pendingChange&&Q(c,a),"submit"!==c.updateOn&&c.markAsTouched()})}(c,a),function T(c,a){if(a.valueAccessor.setDisabledState){const e=t=>{a.valueAccessor.setDisabledState(t)};c.registerOnDisabledChange(e),a._registerOnDestroy(()=>{c._unregisterOnDisabledChange(e)})}}(c,a)}function w(c,a,e=!0){const t=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(t),a.valueAccessor.registerOnTouched(t)),P(c,a),c&&(a._invokeOnDestroyCallbacks(),c._registerOnCollectionChange(()=>{}))}function v(c,a){c.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(a)})}function S(c,a){const e=Ul(c);null!==a.validator?c.setValidators(Np(e,a.validator)):"function"==typeof e&&c.setValidators([e]);const t=vA(c);null!==a.asyncValidator?c.setAsyncValidators(Np(t,a.asyncValidator)):"function"==typeof t&&c.setAsyncValidators([t]);const s=()=>c.updateValueAndValidity();v(a._rawValidators,s),v(a._rawAsyncValidators,s)}function P(c,a){let e=!1;if(null!==c){if(null!==a.validator){const s=Ul(c);if(Array.isArray(s)&&s.length>0){const o=s.filter(l=>l!==a.validator);o.length!==s.length&&(e=!0,c.setValidators(o))}}if(null!==a.asyncValidator){const s=vA(c);if(Array.isArray(s)&&s.length>0){const o=s.filter(l=>l!==a.asyncValidator);o.length!==s.length&&(e=!0,c.setAsyncValidators(o))}}}const t=()=>{};return v(a._rawValidators,t),v(a._rawAsyncValidators,t),e}function Q(c,a){c._pendingDirty&&c.markAsDirty(),c.setValue(c._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(c._pendingValue),c._pendingChange=!1}function he(c,a){S(c,a)}function me(c,a){if(!c.hasOwnProperty("model"))return!1;const e=c.model;return!!e.isFirstChange()||!Object.is(a,e.currentValue)}function mt(c,a){c._syncPendingControls(),a.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Et(c,a){if(!a)return null;let e,t,s;return Array.isArray(a),a.forEach(o=>{o.constructor===ua?e=o:function $e(c){return Object.getPrototypeOf(c.constructor)===$a}(o)?t=o:s=o}),s||t||e||null}function Ii(c,a){const e=c.indexOf(a);e>-1&&c.splice(e,1)}const Ja="VALID",_o="INVALID",pa="PENDING",Ka="DISABLED";function Wl(c){return(Cb(c)?c.validators:c)||null}function $d(c){return Array.isArray(c)?Ud(c):c||null}function $l(c,a){return(Cb(a)?a.asyncValidators:c)||null}function iE(c){return Array.isArray(c)?jp(c):c||null}function Cb(c){return null!=c&&!Array.isArray(c)&&"object"==typeof c}const TA=c=>c instanceof Wp,yb=c=>c instanceof wb,nE=c=>c instanceof oE;function rE(c){return TA(c)?c.value:c.getRawValue()}function aE(c,a){const e=yb(c),t=c.controls;if(!(e?Object.keys(t):t).length)throw new p.vHH(1e3,"");if(!t[a])throw new p.vHH(1001,"")}function sE(c,a){yb(c),c._forEachChild((t,s)=>{if(void 0===a[s])throw new p.vHH(1002,"")})}class EA{constructor(a,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=a,this._rawAsyncValidators=e,this._composedValidatorFn=$d(this._rawValidators),this._composedAsyncValidatorFn=iE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===Ja}get invalid(){return this.status===_o}get pending(){return this.status==pa}get disabled(){return this.status===Ka}get enabled(){return this.status!==Ka}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._rawValidators=a,this._composedValidatorFn=$d(a)}setAsyncValidators(a){this._rawAsyncValidators=a,this._composedAsyncValidatorFn=iE(a)}addValidators(a){this.setValidators(fb(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(fb(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(gb(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(gb(a,this._rawAsyncValidators))}hasValidator(a){return Ya(this._rawValidators,a)}hasAsyncValidator(a){return Ya(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=pa,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=Ka,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=Ja,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ja||this.status===pa)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ka:Ja}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=pa,this._hasOwnPendingAsyncValidator=!0;const e=db(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,e={}){this.errors=a,this._updateControlsErrors(!1!==e.emitEvent)}get(a){return function qp(c,a,e){if(null==a||(Array.isArray(a)||(a=a.split(e)),Array.isArray(a)&&0===a.length))return null;let t=c;return a.forEach(s=>{t=yb(t)?t.controls.hasOwnProperty(s)?t.controls[s]:null:nE(t)&&t.at(s)||null}),t}(this,a,".")}getError(a,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[a]:null}hasError(a,e){return!!this.getError(a,e)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new p.vpe,this.statusChanges=new p.vpe}_calculateStatus(){return this._allControlsDisabled()?Ka:this.errors?_o:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pa)?pa:this._anyControlsHaveStatus(_o)?_o:Ja}_anyControlsHaveStatus(a){return this._anyControls(e=>e.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_isBoxedValue(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){Cb(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Wp extends EA{constructor(a=null,e,t){super(Wl(e),$l(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cb(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(a)?a.value:a)}setValue(a,e={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(a,e={}){this.setValue(a,e)}reset(a=this.defaultValue,e={}){this._applyFormState(a),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){Ii(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){Ii(this._onDisabledChange,a)}_forEachChild(a){}_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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}class wb extends EA{constructor(a,e,t){super(Wl(e),$l(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,e){return this.controls[a]?this.controls[a]:(this.controls[a]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(a,e,t={}){this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],e&&this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,e={}){sE(this,a),Object.keys(a).forEach(t=>{aE(this,t),this.controls[t].setValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(Object.keys(a).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a={},e={}){this._forEachChild((t,s)=>{t.reset(a[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(a,e,t)=>(a[t]=rE(e),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&a(t,e)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&a(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(a,e,t)=>((e.enabled||this.disabled)&&(a[t]=e.value),a))}_reduceChildren(a,e){let t=a;return this._forEachChild((s,o)=>{t=e(t,s,o)}),t}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class oE extends EA{constructor(a,e,t){super(Wl(e),$l(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[a]}push(a,e={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(a,e,t={}){this.controls.splice(a,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,e={}){sE(this,a),a.forEach((t,s)=>{aE(this,s),this.at(s).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(a.forEach((t,s)=>{this.at(s)&&this.at(s).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a=[],e={}){this._forEachChild((t,s)=>{t.reset(a[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(a=>rE(a))}clear(a={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_syncPendingControls(){let a=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((e,t)=>{a(e,t)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(e=>e.enabled&&a(e))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}const TM={provide:$i,useExisting:(0,p.Gpc)(()=>Qp)},$p=(()=>Promise.resolve(null))();let Qp=(()=>{class c extends $i{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new p.vpe,this.form=new wb({},Ud(e),jp(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){$p.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),C(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){$p.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){$p.then(()=>{const t=this._findContainer(e.path),s=new wb({});he(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){$p.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){$p.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,mt(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 c.\u0275fac=function(e){return new(e||c)(p.Y36(ri,10),p.Y36(Wi,10))},c.\u0275dir=p.lG2({type:c,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&p.NdJ("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p._Bn([TM]),p.qOj]}),c})();const SM={provide:dr,useExisting:(0,p.Gpc)(()=>SA)},dE=(()=>Promise.resolve(null))();let SA=(()=>{class c extends dr{constructor(e,t,s,o,l){super(),this._changeDetectorRef=l,this.control=new Wp,this._registered=!1,this.update=new p.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Et(0,o)}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),me(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(){C(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){dE.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;dE.then(()=>{var o;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(e){return this._parent?_(e,this._parent):[e]}}return c.\u0275fac=function(e){return new(e||c)(p.Y36($i,9),p.Y36(ri,10),p.Y36(Wi,10),p.Y36(qi,10),p.Y36(p.sBO,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[p._Bn([SM]),p.qOj,p.TTD]}),c})(),hE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();const MA=new p.OlP("NgModelWithFormControlWarning"),IM={provide:$i,useExisting:(0,p.Gpc)(()=>Ql)};let Ql=(()=>{class c extends $i{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 p.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&&(P(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 C(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){w(e.control||null,e,!1),Ii(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,mt(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&&(w(t||null,e),TA(s)&&(C(s,e),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);he(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Ee(c,a){return P(c,a)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){S(this.form,this),this._oldForm&&P(this._oldForm,this)}_checkFormPresent(){}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(ri,10),p.Y36(Wi,10))},c.\u0275dir=p.lG2({type:c,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&p.NdJ("submit",function(o){return t.onSubmit(o)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p._Bn([IM]),p.qOj,p.TTD]}),c})();const OM={provide:dr,useExisting:(0,p.Gpc)(()=>PA)};let PA=(()=>{class c extends dr{constructor(e,t,s,o,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.update=new p.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=Et(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),me(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 _(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 c._ngModelWarningSentOnce=!1,c.\u0275fac=function(e){return new(e||c)(p.Y36($i,13),p.Y36(ri,10),p.Y36(Wi,10),p.Y36(qi,10),p.Y36(MA,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[p._Bn([OM]),p.qOj,p.TTD]}),c})(),Yl=(()=>{class c{constructor(){this._validator=Bp}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):Bp,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=p.lG2({type:c,features:[p.TTD]}),c})();const $M={provide:ri,useExisting:(0,p.Gpc)(()=>Yp),multi:!0};let Yp=(()=>{class c extends Yl{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function UM(c){return null!=c&&!1!==c&&"false"!=`${c}`}(e),this.createValidator=e=>zd}enabled(e){return e}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275dir=p.lG2({type:c,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&p.uIk("required",t._enabled?"":null)},inputs:{required:"required"},features:[p._Bn([$M]),p.qOj]}),c})(),SE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[hE]]}),c})(),IA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[SE]}),c})(),Qd=(()=>{class c{static withConfig(e){return{ngModule:c,providers:[{provide:MA,useValue:e.warnOnNgModelWithFormControl}]}}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[SE]}),c})(),eH=(()=>{class c{group(e,t=null){const s=this._reduceControls(e);let n,o=null,l=null;return null!=t&&(function XM(c){return void 0!==c.asyncValidators||void 0!==c.validators||void 0!==c.updateOn}(t)?(o=null!=t.validators?t.validators:null,l=null!=t.asyncValidators?t.asyncValidators:null,n=null!=t.updateOn?t.updateOn:void 0):(o=null!=t.validator?t.validator:null,l=null!=t.asyncValidator?t.asyncValidator:null)),new wb(s,{asyncValidators:l,updateOn:n,validators:o})}control(e,t,s){return new Wp(e,t,s)}array(e,t,s){const o=e.map(l=>this._createControl(l));return new oE(o,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){return TA(e)||yb(e)||nE(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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:Qd}),c})();const ME=gn({passive:!0});let tH=(()=>{class c{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Hi.E;const t=Jt(e),s=this._monitoredElements.get(t);if(s)return s.subject;const o=new Ve.x,l="cdk-text-field-autofilled",n=i=>{"cdk-text-field-autofill-start"!==i.animationName||t.classList.contains(l)?"cdk-text-field-autofill-end"===i.animationName&&t.classList.contains(l)&&(t.classList.remove(l),this._ngZone.run(()=>o.next({target:i.target,isAutofilled:!1}))):(t.classList.add(l),this._ngZone.run(()=>o.next({target:i.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",n,ME),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",n,ME)}}),o}stopMonitoring(e){const t=Jt(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 c.\u0275fac=function(e){return new(e||c)(p.LFG(Qt),p.LFG(p.R0b))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),HE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();const DE=new p.OlP("MAT_INPUT_VALUE_ACCESSOR"),iH=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let nH=0;const rH=um(class{constructor(c,a,e,t){this._defaultErrorStateMatcher=c,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let PE=(()=>{class c extends rH{constructor(e,t,s,o,l,n,i,r,d,u){super(n,o,l,s),this._elementRef=e,this._platform=t,this._autofillMonitor=r,this._formField=u,this._uid="mat-input-"+nH++,this.focused=!1,this.stateChanges=new Ve.x,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(D=>qC().has(D)),this._iOSKeyupListener=D=>{const G=D.target;!G.value&&0===G.selectionStart&&0===G.selectionEnd&&(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=i||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=f.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=nt(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,o;return null!==(o=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(Qa.required))&&void 0!==o&&o}set required(e){this._required=nt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&qC().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=nt(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 o=this._elementRef.nativeElement;this._previousPlaceholder=s,s?o.setAttribute("placeholder",s):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){iH.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 c.\u0275fac=function(e){return new(e||c)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(dr,10),p.Y36(Qp,8),p.Y36(Ql,8),p.Y36(Hr),p.Y36(DE,10),p.Y36(tH),p.Y36(p.R0b),p.Y36(Td,8))},c.\u0275dir=p.lG2({type:c,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&&p.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(p.Ikx("disabled",t.disabled)("required",t.required),p.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),p.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:[p._Bn([{provide:Kh,useExisting:c}]),p.qOj,p.TTD]}),c})(),Ab=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Hr],imports:[[HE,oa,Qe],HE,oa]}),c})();function aH(c,a){if(1&c&&(p.O4$(),p._UZ(0,"circle",4)),2&c){const e=p.oxw(),t=p.MAs(1);p.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)),p.uIk("r",e._getCircleRadius())}}function sH(c,a){if(1&c&&(p.O4$(),p._UZ(0,"circle",4)),2&c){const e=p.oxw(),t=p.MAs(1);p.Udp("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%")("transform-origin",e._getCircleTransformOrigin(t)),p.uIk("r",e._getCircleRadius())}}const lH=na(class{constructor(c){this._elementRef=c}},"primary"),cH=new p.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function dH(){return{diameter:100}}});class fa extends lH{constructor(a,e,t,s,o,l,n,i){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=qt.w0.EMPTY,this.mode="determinate";const r=fa._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(t.head)||r.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===s&&!!o&&!o._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),o&&(o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth)),e.isBrowser&&e.SAFARI&&n&&l&&i&&(this._resizeSubscription=n.change(150).subscribe(()=>{"indeterminate"===this.mode&&i.run(()=>l.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=On(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=On(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,On(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Hc(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=fa._diameters;let s=t.get(a);if(!s||!s.has(e)){const o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),a.appendChild(o),s||(s=new Set,t.set(a,s)),s.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}fa._diameters=new WeakMap,fa.\u0275fac=function(a){return new(a||fa)(p.Y36(p.SBq),p.Y36(Qt),p.Y36(E.K0,8),p.Y36(ki,8),p.Y36(cH),p.Y36(p.sBO),p.Y36(io),p.Y36(p.R0b))},fa.\u0275cmp=p.Xpm({type:fa,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(p.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),p.Udp("width",e.diameter,"px")("height",e.diameter,"px"),p.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[p.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(a,e){1&a&&(p.O4$(),p.TgZ(0,"svg",0,1),p.YNc(2,aH,1,11,"circle",2),p.YNc(3,sH,1,9,"circle",3),p.qZA()),2&a&&(p.Udp("width",e.diameter,"px")("height",e.diameter,"px"),p.Q6J("ngSwitch","indeterminate"===e.mode),p.uIk("viewBox",e._getViewBox()),p.xp6(2),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngSwitchCase",!1))},directives:[E.RF,E.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 Jp=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe,E.ez],Qe]}),c})(),BA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[kr,E.ez]]}),c})(),hH=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[],imports:[[E.ez,oa,co,Qd,Ab,Ll,Jp,kr,BA]]}),c})();class pH{isErrorState(a){return!(!(null==a?void 0:a.invalid)||!(null==a?void 0:a.dirty))}}const fH=(c,a,e,t=500)=>s=>(0,wd.H)(t).pipe((0,vi.w)(()=>(e.dontHandleErrorForNext(),c&&"No namespace"!==c?a.checkPasswordStrength({password:s.value,namespace:c}):(0,Ge.of)(null))),(0,pt.U)(()=>null),(0,zi.K)(o=>{const l=o.error,n={backendError:l.message.substring(l.message.indexOf(":")+1)};return(0,Ge.of)(n)}));function gH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," info "),p.qZA())}function mH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," warning "),p.qZA())}function _H(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," dangerous "),p.qZA())}function bH(c,a){1&c&&(p.TgZ(0,"mat-icon",2),p._uU(1," check_circle "),p.qZA())}const CH=["*"];let OA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:CH,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&&(p.F$t(),p.TgZ(0,"div",0),p.YNc(1,gH,2,0,"mat-icon",1),p.YNc(2,mH,2,0,"mat-icon",1),p.YNc(3,_H,2,0,"mat-icon",1),p.YNc(4,bH,2,0,"mat-icon",1),p.Hsn(5),p.qZA()),2&e&&(p.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),p.xp6(1),p.Q6J("ngIf","info"===t.alert_type),p.xp6(1),p.Q6J("ngIf","warn"===t.alert_type),p.xp6(1),p.Q6J("ngIf","error"===t.alert_type),p.xp6(1),p.Q6J("ngIf","success"===t.alert_type))},directives:[E.O5,gp],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}"]}),c})();function yH(c,a){1&c&&p._UZ(0,"mat-spinner",12),2&c&&p.Q6J("diameter",18)}function wH(c,a){if(1&c&&(p.TgZ(0,"mat-icon",13),p._uU(1," error "),p.qZA()),2&c){const e=p.oxw();p.Q6J("matTooltip",e.getErrorTooltip())("matTooltipDisabled",!e.formGroup.get("passwordCtrl").hasError("backendError"))}}function vH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function AH(c,a){if(1&c&&(p.TgZ(0,"mat-error",14),p._uU(1),p.qZA()),2&c){const e=p.oxw();p.Q6J("matTooltip",e.getErrorTooltip()),p.xp6(1),p.Oqu(e.getErrorTooltip())}}function xH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.FIELD_EMPTY")))}function TH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PWD_DONT_MATCH")))}let EH=(()=>{class c{constructor(e,t,s){this.translator=e,this.usersManagerService=t,this.store=s,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new pH,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{var t;const s=e.userAttributes.find(o=>"preferredLanguage"===o.friendlyName);this.language=null!==(t=null==s?void 0:s.value)&&void 0!==t?t:"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 c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui),p.Y36(Rn),p.Y36(Gt))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",namespace:"namespace",multiLanguage:"multiLanguage",language:"language"},features:[p.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&&(p.TgZ(0,"div",0),p.TgZ(1,"mat-form-field",1),p._UZ(2,"input",2),p.ALo(3,"translate"),p.YNc(4,yH,1,1,"mat-spinner",3),p.TgZ(5,"mat-icon",4),p.NdJ("click",function(){return t.showNewPassword=!t.showNewPassword}),p._uU(6),p.qZA(),p.YNc(7,wH,2,2,"mat-icon",5),p.YNc(8,vH,3,3,"mat-error",6),p.YNc(9,AH,2,2,"mat-error",7),p.qZA(),p.TgZ(10,"mat-form-field",8),p.TgZ(11,"mat-label"),p._uU(12),p.ALo(13,"translate"),p.qZA(),p._UZ(14,"input",9),p.TgZ(15,"mat-icon",4),p.NdJ("click",function(){return t.showPasswordConfirm=!t.showPasswordConfirm}),p._uU(16),p.qZA(),p.YNc(17,xH,3,3,"mat-error",6),p.YNc(18,TH,3,3,"mat-error",6),p.qZA(),p.TgZ(19,"perun-web-apps-alert",10),p._UZ(20,"div",11),p.qZA(),p.qZA()),2&e&&(p.Q6J("formGroup",t.formGroup),p.xp6(1),p.Q6J("matTooltip",t.getPasswordDisabledTooltip())("matTooltipDisabled",t.formGroup.get("passwordCtrl").enabled||t.tooltipPwdDisabledForNamespace),p.xp6(1),p.s9C("placeholder",p.lcZ(3,19,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD")),p.Q6J("type",t.showNewPassword?"text":"password")("required",t.passwordRequired)("errorStateMatcher",t.passwordStateMatcher),p.xp6(2),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").pending),p.xp6(2),p.hij(" ",t.showNewPassword?"visibility_off":"visibility"," "),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").dirty&&null!==t.formGroup.get("passwordCtrl").errors),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("required")),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordCtrl").hasError("backendError")),p.xp6(3),p.Oqu(p.lcZ(13,21,"SHARED_LIB.PERUN.COMPONENTS.PASSWORD_FORM_FIELD.PASSWORD_AGAIN")),p.xp6(2),p.Q6J("type",t.showPasswordConfirm?"text":"password")("required",t.passwordRequired),p.xp6(2),p.hij(" ",t.showPasswordConfirm?"visibility_off":"visibility"," "),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("required")),p.xp6(1),p.Q6J("ngIf",t.formGroup.get("passwordAgainCtrl").hasError("noPasswordMatch")),p.xp6(2),p.Q6J("innerHTML",t.passwordRequirement,p.oJD))},directives:[Gp,Ql,i_,Pv,PE,ua,zp,PA,Yp,E.O5,fa,uv,gp,sv,sa,OA],pipes:[da],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)}"]}),c})();function SH(c,a){if(1&c&&p._UZ(0,"perun-web-apps-password-form",4),2&c){const e=p.oxw();p.Q6J("formGroup",e.newPasswdForm)("namespace",e.namespace)("language",e.language)}}function MH(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"div"),p.TgZ(1,"button",5),p.NdJ("click",function(){return p.CHM(e),p.oxw().onSubmit()}),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()}if(2&c){const e=p.oxw();p.xp6(1),p.Q6J("disabled",e.newPasswdForm.invalid||e.newPasswdForm.pending),p.xp6(1),p.hij(" ",p.lcZ(3,2,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_BUTTON":"PAGES.PWD_RESET_PAGE.ACTIVATION_BUTTON")," ")}}function HH(c,a){if(1&c&&(p.TgZ(0,"div",6),p.TgZ(1,"perun-web-apps-alert",7),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.hij(" ",p.lcZ(3,1,"reset"===e.mode?"PAGES.PWD_RESET_PAGE.RESET_SUCCESS":"PAGES.PWD_RESET_PAGE.ACTIVATION_SUCCESS")," ")}}function DH(c,a){1&c&&p._UZ(0,"mat-spinner",8)}let PH=(()=>{class c{constructor(e,t,s,o,l){this.storeService=e,this.translate=t,this.apiRequestConfiguration=s,this.usersService=o,this._formBuilder=l,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 Wp("",Qa.required,[fH(this.namespace,this.usersService,this.apiRequestConfiguration)]),passwordAgainCtrl:new Wp("",Qa.required)},{validators:Pp.passwordMatchValidator}),this.loading=!1}onSubmit(){this.loading=!0,this.authWithoutToken?this.usersService.changePasswordForLogin({login:this.login,namespace:this.namespace,newPassword:this.newPasswdForm.get("passwordCtrl").value}).subscribe(()=>{this.success=!0,this.loading=!1}):this.usersService.changeNonAuthzPasswordByToken({token:this.token,password:this.newPasswdForm.get("passwordCtrl").value}).subscribe(()=>{this.success=!0,this.loading=!1})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Ui),p.Y36(Z_),p.Y36(Rn),p.Y36(eH))},c.\u0275cmp=p.Xpm({type:c,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&&(p.YNc(0,SH,1,3,"perun-web-apps-password-form",0),p.YNc(1,MH,4,4,"div",1),p.YNc(2,HH,4,3,"div",2),p.YNc(3,DH,1,0,"mat-spinner",3)),2&e&&(p.Q6J("ngIf",!t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",!t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",t.success&&!t.loading),p.xp6(1),p.Q6J("ngIf",t.loading))},directives:[E.O5,EH,Gp,Ql,md,OA,fa],pipes:[da],styles:[""]}),c})(),RH=(()=>{class c{constructor(e){this.translate=e}ngOnInit(){this.translate.onLangChange.subscribe(()=>{this.invalidRequestMessage=this.translate.instant("PAGES.PWD_RESET_PAGE.INVALID_REQUEST")})}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Ui))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"perun-web-apps-alert",0),p._UZ(1,"div",1),p.qZA()),2&e&&(p.xp6(1),p.Q6J("innerHTML",t.invalidRequestMessage,p.oJD))},directives:[OA],styles:[".alert-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}"]}),c})();function kH(c,a){if(1&c&&(p.O4$(),p.kcU(),p.TgZ(0,"p",9),p.TgZ(1,"em"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,2,"PAGES.PWD_RESET_PAGE.LOGIN"),": ",e.login,"")}}function IH(c,a){if(1&c&&(p.O4$(),p.kcU(),p.TgZ(0,"p",9),p.TgZ(1,"em"),p._uU(2),p.ALo(3,"translate"),p.qZA(),p.qZA()),2&c){const e=p.oxw();p.xp6(2),p.AsE("",p.lcZ(3,2,"PAGES.PWD_RESET_PAGE.NAMESPACE"),": ",e.namespace,"")}}function VH(c,a){if(1&c&&(p.O4$(),p.kcU(),p._UZ(0,"perun-web-apps-password-reset-form",10)),2&c){const e=p.oxw();p.Q6J("mode",e.mode)("namespace",e.namespace)("login",e.login)("token",e.token)("authWithoutToken",e.authWithoutToken)}}function BH(c,a){1&c&&(p.O4$(),p.kcU(),p._UZ(0,"perun-web-apps-invalid-request-alert"))}let OH=(()=>{class c{constructor(e,t){this.storeService=e,this.sanitizer=t}ngOnInit(){this.passwordResetLogo=this.sanitizer.bypassSecurityTrustHtml(this.storeService.get("password_reset_logo"))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Hn))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"div"),p._UZ(1,"div",0),p.TgZ(2,"div",1),p.TgZ(3,"h1"),p._uU(4),p.ALo(5,"translate"),p.qZA(),p.O4$(),p.TgZ(6,"svg",2),p.TgZ(7,"g",3),p._UZ(8,"path",4),p._UZ(9,"path",5),p.qZA(),p.qZA(),p.qZA(),p.YNc(10,kH,4,4,"p",6),p.YNc(11,IH,4,4,"p",6),p.YNc(12,VH,1,5,"perun-web-apps-password-reset-form",7),p.YNc(13,BH,1,0,"perun-web-apps-invalid-request-alert",8),p.qZA()),2&e&&(p.xp6(1),p.Q6J("innerHTML",t.passwordResetLogo,p.oJD),p.xp6(3),p.hij(" ",p.lcZ(5,6,"reset"===t.mode?"PAGES.PWD_RESET_PAGE.TITLE_RESET":"PAGES.PWD_RESET_PAGE.TITLE_ACTIVATION")," "),p.xp6(6),p.Q6J("ngIf",t.login),p.xp6(1),p.Q6J("ngIf",t.namespace),p.xp6(1),p.Q6J("ngIf",t.validToken||t.authWithoutToken),p.xp6(1),p.Q6J("ngIf",!t.validToken&&!t.authWithoutToken))},directives:[E.O5,PH,RH],pipes:[da],styles:[".title-with-icon[_ngcontent-%COMP%]{margin-top:30px;display:flex;justify-content:space-between}.subtitle[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:10px}"]}),c})();function FH(c,a){1&c&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"translate"),p.qZA()),2&c&&(p.xp6(1),p.Oqu(p.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT_ERROR")))}let LH=(()=>{class c{constructor(e,t,s,o,l){this.dialogRef=e,this.translate=t,this.notificator=s,this.rtMessages=o,this.storeService=l,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Nl),p.Y36(Ui),p.Y36(X_),p.Y36(yi),p.Y36(Gt))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"h1",0),p._uU(1),p.ALo(2,"translate"),p.qZA(),p.TgZ(3,"div",1),p.TgZ(4,"mat-form-field"),p.TgZ(5,"mat-label"),p._uU(6),p.ALo(7,"translate"),p.qZA(),p.TgZ(8,"input",2,3),p.NdJ("ngModelChange",function(o){return t.subject=o}),p.qZA(),p.YNc(10,FH,3,3,"mat-error",4),p.qZA(),p.TgZ(11,"mat-form-field"),p.TgZ(12,"mat-label"),p._uU(13),p.ALo(14,"translate"),p.qZA(),p.TgZ(15,"textarea",5),p.NdJ("ngModelChange",function(o){return t.message=o}),p.ALo(16,"translate"),p._uU(17," "),p.qZA(),p.TgZ(18,"mat-hint"),p._uU(19),p.ALo(20,"translate"),p.qZA(),p.qZA(),p.qZA(),p.TgZ(21,"div",6),p.TgZ(22,"div",7),p.TgZ(23,"button",8),p.NdJ("click",function(){return t.close()}),p._uU(24),p.ALo(25,"translate"),p.qZA(),p.TgZ(26,"button",9),p.NdJ("click",function(){return t.sendBugReport()}),p._uU(27),p.ALo(28,"translate"),p.qZA(),p.qZA(),p.qZA()),2&e){const s=p.MAs(9);p.xp6(1),p.Oqu(p.lcZ(2,11,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.TITLE")),p.xp6(5),p.Oqu(p.lcZ(7,13,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SUBJECT")),p.xp6(2),p.Q6J("ngModel",t.subject),p.xp6(2),p.Q6J("ngIf",s.invalid),p.xp6(3),p.Oqu(p.lcZ(14,15,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE")),p.xp6(2),p.s9C("placeholder",p.lcZ(16,17,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_PLACEHOLDER")),p.Q6J("ngModel",t.message),p.xp6(4),p.Oqu(p.lcZ(20,19,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.MESSAGE_HINT")),p.xp6(5),p.hij(" ",p.lcZ(25,21,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.CANCEL")," "),p.xp6(2),p.Q6J("disabled",s.invalid),p.xp6(1),p.hij(" ",p.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Tp,Od,i_,sa,PE,ua,Yp,zp,SA,E.O5,sv,Xm,N_,md],pipes:[da],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),c})(),jH=(()=>{class c{transform(e,t,s){return e[`${s}_${t}`]}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"localisedText",type:c,pure:!0}),c})(),NH=(()=>{class c{transform(e,t){return e["link_"+t]||e.link_en}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"localisedLink",type:c,pure:!0}),c})(),zH=(()=>{class c{transform(e){return e.includes("/")?e:"/assets/config/"+e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=p.Yjl({name:"footerLogoPath",type:c,pure:!0}),c})();function GH(c,a){if(1&c&&(p.TgZ(0,"a",13),p.ALo(1,"localisedLink"),p._UZ(2,"img",14),p.ALo(3,"footerLogoPath"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("href",p.xi3(1,2,e,t.language),p.LSH),p.xp6(2),p.s9C("src",p.lcZ(3,5,e.logo),p.LSH)}}function UH(c,a){if(1&c&&(p.TgZ(0,"span"),p._UZ(1,"img",14),p.ALo(2,"footerLogoPath"),p.qZA()),2&c){const e=p.oxw().$implicit;p.xp6(1),p.s9C("src",p.lcZ(2,1,e.logo),p.LSH)}}function qH(c,a){if(1&c&&(p.TgZ(0,"div"),p.YNc(1,GH,4,7,"a",11),p.ALo(2,"localisedLink"),p.YNc(3,UH,3,3,"span",12),p.ALo(4,"localisedLink"),p.qZA()),2&c){const e=a.$implicit,t=p.oxw(3);p.xp6(1),p.Q6J("ngIf",p.xi3(2,2,e,t.language)),p.xp6(2),p.Q6J("ngIf",!p.xi3(4,5,e,t.language))}}const WH=function(c){return{"min-height":c}};function $H(c,a){if(1&c&&(p.TgZ(0,"div",10),p.YNc(1,qH,5,8,"div",5),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw();p.Q6J("ngStyle",p.VKq(2,WH,t.columnContentHeight+"px")),p.xp6(1),p.Q6J("ngForOf",e.elements)}}const bo=function(c){return{color:c}};function QH(c,a){if(1&c&&(p.TgZ(0,"i",20),p._uU(1),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(2,bo,t.linksTextColor)),p.xp6(1),p.hij(" ",e.icon," ")}}function YH(c,a){if(1&c){const e=p.EpF();p.TgZ(0,"span",21),p.NdJ("click",function(){p.CHM(e);const s=p.oxw().$implicit;return p.oxw(3).openDialog(s.dialog)}),p._uU(1),p.ALo(2,"localisedText"),p.qZA()}if(2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(6,bo,t.linksTextColor)),p.xp6(1),p.hij("",p.Dn7(2,2,e,t.language,"label")," ")}}function JH(c,a){if(1&c&&(p.TgZ(0,"a",22),p.ALo(1,"localisedLink"),p._uU(2),p.ALo(3,"localisedText"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("href",p.xi3(1,3,e,t.language),p.LSH)("ngStyle",p.VKq(10,bo,t.linksTextColor)),p.xp6(2),p.Oqu(p.Dn7(3,6,e,t.language,"label"))}}function KH(c,a){if(1&c&&(p.TgZ(0,"span",10),p._uU(1),p.ALo(2,"localisedText"),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw(3);p.Q6J("ngStyle",p.VKq(6,bo,t.linksTextColor)),p.xp6(1),p.Oqu(p.Dn7(2,2,e,t.language,"label"))}}function ZH(c,a){if(1&c&&(p.TgZ(0,"div",16),p.YNc(1,QH,2,4,"i",17),p.YNc(2,YH,3,8,"span",18),p.YNc(3,JH,4,12,"a",19),p.ALo(4,"localisedLink"),p.YNc(5,KH,3,8,"span",9),p.ALo(6,"localisedLink"),p.qZA()),2&c){const e=a.$implicit,t=p.oxw(3);p.xp6(1),p.Q6J("ngIf",e.icon),p.xp6(1),p.Q6J("ngIf",e.dialog),p.xp6(1),p.Q6J("ngIf",p.xi3(4,4,e,t.language)&&!e.dialog),p.xp6(2),p.Q6J("ngIf",!p.xi3(6,7,e,t.language)&&!e.dialog)}}const XH=function(c){return{height:c}};function eD(c,a){if(1&c&&(p.TgZ(0,"div",10),p.YNc(1,ZH,7,10,"div",15),p.qZA()),2&c){const e=p.oxw().$implicit,t=p.oxw();p.Q6J("ngStyle",p.VKq(2,XH,t.columnContentHeight+"px")),p.xp6(1),p.Q6J("ngForOf",e.elements)}}function tD(c,a){if(1&c&&(p.TgZ(0,"div",7),p.TgZ(1,"h6",8),p._uU(2),p.ALo(3,"localisedText"),p.qZA(),p.YNc(4,$H,2,4,"div",9),p.YNc(5,eD,2,4,"div",9),p.qZA()),2&c){const e=a.$implicit,t=p.oxw();p.ekj("my-auto",t.containsLogos),p.xp6(1),p.Q6J("ngStyle",p.VKq(10,bo,t.headersTextColor)),p.xp6(1),p.hij(" ",p.Dn7(3,6,e,t.language,"title")," "),p.xp6(2),p.Q6J("ngIf",e.logos),p.xp6(1),p.Q6J("ngIf",e.elements&&!e.logos)}}function iD(c,a){if(1&c&&(p.TgZ(0,"span"),p.TgZ(1,"a",6),p._uU(2),p.qZA(),p.qZA()),2&c){const e=a.$implicit,t=a.index,s=p.oxw();p.xp6(1),p.Q6J("href",e.url,p.LSH)("ngStyle",p.VKq(3,bo,s.copyrightTextColor)),p.xp6(1),p.Oqu(t?", "+e.name:e.name)}}const nD=function(c){return{background:c}};let rD=(()=>{class c{constructor(e,t,s){this.storeService=e,this.translateService=t,this.dialog=s,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Fd();"reportIssue"===e&&(t.width="550px",this.dialog.open(LH,t))}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Gt),p.Y36(Ui),p.Y36(Wa))},c.\u0275cmp=p.Xpm({type:c,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&&(p.TgZ(0,"footer",0),p.TgZ(1,"div",1),p.YNc(2,tD,6,12,"div",2),p.qZA(),p._UZ(3,"hr",3),p.TgZ(4,"div",4),p._uU(5),p.YNc(6,iD,3,5,"span",5),p._uU(7," Version "),p.TgZ(8,"a",6),p._uU(9),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.Q6J("ngStyle",p.VKq(8,nD,t.bgColor)),p.xp6(2),p.Q6J("ngForOf",t.footerColumns),p.xp6(2),p.Q6J("ngStyle",p.VKq(10,bo,t.copyrightTextColor)),p.xp6(1),p.hij(" \xa9 ",t.currentYear," Copyright: "),p.xp6(1),p.Q6J("ngForOf",t.copyrightItems),p.xp6(2),p.Q6J("href",t.githubRepository,p.LSH)("ngStyle",p.VKq(12,bo,t.copyrightTextColor)),p.xp6(1),p.Oqu(t.version))},directives:[E.PC,E.sg,E.O5],pipes:[jH,NH,zH],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}"]}),c})();const aD=["footer"],sD=function(c){return{background:c}},oD=function(c){return{"min-height":c}};let lD=(()=>{class c{constructor(e,t,s,o,l,n,i){this.dialog=e,this.usersService=t,this.preferredLangService=s,this.translateService=o,this.store=l,this.attributesManagerService=n,this.changeDetector=i,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=Dp("namespace",t),t.includes("token")?(this.token=Dp("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(s=>{const o=s.find(l=>l.friendlyNameParameter===this.namespace);this.login=o?String(o.value):""}))}ngAfterViewInit(){var e,t,s,o;const l=null!==(o=null===(s=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===s?void 0:s.toString())&&void 0!==o?o:"0";this.contentHeight="calc(100vh - 84px - "+l+"px)",this.changeDetector.detectChanges()}}return c.\u0275fac=function(e){return new(e||c)(p.Y36(Wa),p.Y36(Rn),p.Y36(tb),p.Y36(Ui),p.Y36(Gt),p.Y36(Dn),p.Y36(p.sBO))},c.\u0275cmp=p.Xpm({type:c,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&p.Gf(aD,5),2&e){let s;p.iGM(s=p.CRH())&&(t.footer=s.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&&(p.TgZ(0,"div"),p._UZ(1,"perun-web-apps-header",0),p.TgZ(2,"div",1),p.TgZ(3,"div",2),p._UZ(4,"perun-web-apps-password-reset-page",3),p.qZA(),p.TgZ(5,"div",null,4),p._UZ(7,"perun-web-apps-footer"),p.qZA(),p.qZA(),p.qZA()),2&e&&(p.xp6(2),p.Q6J("ngStyle",p.VKq(8,sD,t.contentBackgroundColor)),p.xp6(1),p.Q6J("ngStyle",p.VKq(10,oD,t.contentHeight)),p.xp6(1),p.Q6J("mode",t.mode)("token",t.token)("namespace",t.namespace)("login",t.login)("validToken",t.validToken)("authWithoutToken",t.authWithoutToken))},directives:[gA,E.PC,OH,rD],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}}"]}),c})();class cD{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let dD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,zl,ar,Ll]]}),c})();const uD=[];let hD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Fu.forRoot(uD,{relativeLinkResolution:"legacy"}),E.ez],Fu]}),c})(),pD=(()=>{class c{constructor(e,t,s,o,l){this.http=e,this.storeService=t,this.authzSevice=s,this.titleService=o,this.utilsService=l}initializeColors(e,t){return new Promise(s=>{t.forEach(o=>{const l=this.storeService.get("theme",o.configValue);document.documentElement.style.setProperty(o.cssVariable,l)}),e.forEach(o=>{const l=this.storeService.get("theme",o.configValue);document.documentElement.style.setProperty(o.cssVariable,l),this.setEntityTheme(o.entity,l)}),s()})}setEntityTheme(e,t){const s=function fD(c){return[En(tinycolor(c).lighten(52),"50"),En(tinycolor(c).lighten(37),"100"),En(tinycolor(c).lighten(26),"200"),En(tinycolor(c).lighten(12),"300"),En(tinycolor(c).lighten(6),"400"),En(tinycolor(c),"500"),En(tinycolor(c).darken(6),"600"),En(tinycolor(c).darken(12),"700"),En(tinycolor(c).darken(18),"800"),En(tinycolor(c).darken(24),"900"),En(tinycolor(c).lighten(50).saturate(30),"A100"),En(tinycolor(c).lighten(30).saturate(30),"A200"),En(tinycolor(c).lighten(10).saturate(15),"A400"),En(tinycolor(c).lighten(5).saturate(5),"A700")]}(t);for(const o of s){const i=`--${e}-theme-primary-contrast-${o.name}`,r=o.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${o.name}`,`${o.red},${o.green},${o.blue}`),document.documentElement.style.setProperty(i,r)}}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=>{var s;this.storeService.setInstanceConfig(t);const o=document.location.hostname;(null===(s=null==t?void 0:t.brandings)||void 0===s?void 0:s[o])&&this.storeService.setBanding(o),e()},()=>{e()})})}getNoCacheHeaders(){return new y.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(s=>{this.storeService.setAppsConfig(s),e()},s=>t(s))})}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(y.eN),p.LFG(Gt),p.LFG(Yi),p.LFG(Vi),p.LFG(rt))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function En(c,a){const e=tinycolor(c),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let gD=(()=>{class c{constructor(e,t,s){this.initAuthService=e,this.appConfigService=t,this.location=s}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 this.location.go("/"),location.reload(),e}).then(e=>e?location.search.substr(1).includes("token")?void 0:this.initAuthService.loadPrincipal():this.initAuthService.handleAuthStart())}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(kp),p.LFG(pD),p.LFG(E.Ye))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const mD=new p.OlP("perun-api-service");let RE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),VE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),xb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe,$r,VE],Qe,VE]}),c})(),FA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Qe],Qe]}),c})(),MD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),OE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,MD,za]]}),c})(),LE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[dd,Qe],dd,Qe]}),c})(),PD=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[Ra]]}),c})(),LA=(()=>{class c{constructor(){this.changes=new Ve.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const zD={provide:LA,deps:[[new p.FiY,new p.tp0,LA]],useFactory:function ND(c){return c||new LA}};let NE=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[zD,Hr],imports:[[Qe,E.ez,za,ar,PD,kr,sn],Qe]}),c})(),nP=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[no]]}),c})(),Vb=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[nP,Qe],Qe]}),c})(),DP=(()=>{class c{constructor(){this.changes=new Ve.x,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 c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const kP={provide:new p.OlP("mat-datepicker-scroll-strategy"),deps:[qn],useFactory:function RP(c){return()=>c.scrollStrategies.reposition()}};let KA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[DP,kP],imports:[[E.ez,ar,Hl,Jr,za,Qe],Pr]}),c})(),nS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,Pr],Pr,Qe]}),c})(),aS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[dd,sn,Qe,Al,E.ez],dd,Qe,Al,FA]}),c})(),ZA=(()=>{class c{constructor(){this.changes=new Ve.x}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const XP={provide:ZA,deps:[[new p.FiY,new p.tp0,ZA]],useFactory:function ZP(c){return c||new ZA}};let XA=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[XP],imports:[[E.ez,Qe]]}),c})(),rR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qe,za,sn,$r,Jr],Qe]}),c})(),sS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),oS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sS,sn,Qe,$r],sS,Qe]}),c})();const uS=new p.OlP("mat-chips-default-options");let t0=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[Hr,{provide:uS,useValue:{separatorKeyCodes:[13]}}],imports:[[Qe]]}),c})(),hS=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,RE,FA,OE,ar,LE,xb,kr,Vb,zl,Jp,oa,Ab,no,IA,Qd,NE,KA,pm,nS,aS,Hd,ab,XA,Rr,co,ao,sn,Vb,oS,t0],RE,FA,OE,ar,LE,xb,kr,Vb,zl,Jp,oa,Ab,no,IA,Qd,NE,KA,pm,nS,aS,Hd,ab,XA,Rr,co,ao,sn,rR,oS,t0]}),c})();function n0(c,a,e){for(let t in a)if(a.hasOwnProperty(t)){const s=a[t];s?c.setProperty(t,s,(null==e?void 0:e.has(t))?"important":""):c.removeProperty(t)}return c}function Xd(c,a){const e=a?"":"none";n0(c.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function pS(c,a,e){n0(c.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function Lb(c,a){return a&&"none"!=a?c+" "+a:c}function fS(c){const a=c.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(c)*a}function r0(c,a){return c.getPropertyValue(a).split(",").map(t=>t.trim())}function a0(c){const a=c.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function s0(c,a,e){const{top:t,bottom:s,left:o,right:l}=c;return e>=t&&e<=s&&a>=o&&a<=l}function ef(c,a,e){c.top+=a,c.bottom=c.top+c.height,c.left+=e,c.right=c.left+c.width}function gS(c,a,e,t){const{top:s,right:o,bottom:l,left:n,width:i,height:r}=c,d=i*a,u=r*a;return t>s-u&&tn-d&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:a0(e)})})}handleScroll(a){const e=mn(a),t=this.positions.get(e);if(!t)return null;const s=t.scrollPosition;let o,l;if(e===this._document){const r=this.getViewportScrollPosition();o=r.top,l=r.left}else o=e.scrollTop,l=e.scrollLeft;const n=s.top-o,i=s.left-l;return this.positions.forEach((r,d)=>{r.clientRect&&e!==d&&e.contains(d)&&ef(r.clientRect,n,i)}),s.top=o,s.left=l,{top:n,left:i}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function _S(c){const a=c.cloneNode(!0),e=a.querySelectorAll("[id]"),t=c.nodeName.toLowerCase();a.removeAttribute("id");for(let s=0;s{if(this.beforeStarted.next(),this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&this._initializeDragSequence(i,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)},this._pointerMove=n=>{const i=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging){if(Math.abs(i.x-this._pickupPositionOnPage.x)+Math.abs(i.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),D=this._dropContainer;if(!b)return void this._endDragSequence(n);(!D||!D.isDragging()&&!D.isReceiving())&&(n.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(n)))}return}n.preventDefault();const r=this._getConstrainedPointerPosition(i);if(this._hasMoved=!0,this._lastKnownPointerPosition=i,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,i);else{const d=this._activeTransform;d.x=r.x-this._pickupPositionOnPage.x+this._passiveTransform.x,d.y=r.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:n,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})},this._pointerUp=n=>{this._endDragSequence(n)},this._nativeDragStart=n=>{if(this._handles.length){const i=this._getTargetHandle(n);i&&!this._disabledHandles.has(i)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new mS(t),l.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=nt(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Xd(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>Jt(t)),this._handles.forEach(t=>Xd(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=Jt(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,jb),e.addEventListener("touchstart",this._pointerDown,wS),e.addEventListener("dragstart",this._nativeDragStart,jb)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?Jt(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),Xd(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),Xd(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){tf(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,s=t.parentNode,o=this._placeholder=this._createPlaceholderElement(),l=this._anchor=this._anchor||this._document.createComment(""),n=this._getShadowRoot();s.insertBefore(l,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),pS(t,!1,o0),this._document.body.appendChild(s.replaceChild(o,t)),this._getPreviewInsertionPoint(s,n).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),s=tf(e),o=!s&&0!==e.button,l=this._rootElement,n=mn(e),i=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),r=s?eh(e):Xu(e);if(n&&n.draggable&&"mousedown"===e.type&&e.preventDefault(),t||o||i||r)return;if(this._handles.length){const f=l.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=a0(this._boundaryElement));const d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){pS(this._rootElement,!0,o0),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(a),o=this._getDragDistance(s),l=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:o,dropPoint:s}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:l,distance:o,dropPoint:s}),e.drop(this,t,this._initialIndex,this._initialContainer,l,o,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:s}){let o=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,a,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,s),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let s;if(t&&a){const o=a.matchSize?this._rootElement.getBoundingClientRect():null,l=a.viewContainer.createEmbeddedView(t,a.context);l.detectChanges(),s=AS(l,this._document),this._previewRef=l,a.matchSize?xS(s,o):s.style.transform=Nb(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const o=this._rootElement;s=_S(o),xS(s,o.getBoundingClientRect()),this._initialTransform&&(s.style.transform=this._initialTransform)}return n0(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},o0),Xd(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>s.classList.add(o)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function PR(c){const a=getComputedStyle(c),e=r0(a,"transition-property"),t=e.find(n=>"transform"===n||"all"===n);if(!t)return 0;const s=e.indexOf(t),o=r0(a,"transition-duration"),l=r0(a,"transition-delay");return fS(o[s])+fS(l[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const s=l=>{var n;(!l||mn(l)===this._preview&&"transform"===l.propertyName)&&(null===(n=this._preview)||void 0===n||n.removeEventListener("transitionend",s),t(),clearTimeout(o))},o=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=AS(this._placeholderRef,this._document)):t=_S(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),s=a===this._rootElement?null:a,o=s?s.getBoundingClientRect():t,l=tf(e)?e.targetTouches[0]:e,n=this._getViewportScrollPosition();return{x:o.left-t.left+(l.pageX-o.left-n.left),y:o.top-t.top+(l.pageY-o.top-n.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=tf(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,s=t.pageX-e.left,o=t.pageY-e.top;if(this._ownerSVGElement){const l=this._ownerSVGElement.getScreenCTM();if(l){const n=this._ownerSVGElement.createSVGPoint();return n.x=s,n.y=o,n.matrixTransform(l.inverse())}}return{x:s,y:o}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:s}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:l}=this._pickupPositionInElement,n=this._boundaryRect,{width:i,height:r}=this._getPreviewRect(),d=n.top+l,u=n.bottom-(r-l);t=vS(t,n.left+o,n.right-(i-o)),s=vS(s,d,u)}return{x:t,y:s}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,s=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,l=Math.abs(e-o.x),n=Math.abs(t-o.y);return l>this._config.pointerDirectionChangeThreshold&&(s.x=e>o.x?1:-1,o.x=e),n>this._config.pointerDirectionChangeThreshold&&(s.y=t>o.y?1:-1,o.y=t),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Xd(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,jb),a.removeEventListener("touchstart",this._pointerDown,wS),a.removeEventListener("dragstart",this._nativeDragStart,jb)}_applyRootElementTransform(a,e){const t=Nb(a,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=Lb(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const s=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,o=Nb(a,e);this._preview.style.transform=Lb(o,s)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 o=t.left-s.left,l=s.right-t.right,n=t.top-s.top,i=s.bottom-t.bottom;t.width>s.width?(o>0&&(a+=o),l>0&&(a-=l)):a=0,t.height>s.height?(n>0&&(e+=n),i>0&&(e-=i)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:tf(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=mn(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ef(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Hc(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return Jt(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function Nb(c,a){return`translate3d(${Math.round(c)}px, ${Math.round(a)}px, 0)`}function vS(c,a,e){return Math.max(a,Math.min(e,c))}function tf(c){return"t"===c.type[0]}function AS(c,a){const e=c.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(s=>t.appendChild(s)),t}function xS(c,a){c.style.width=`${a.width}px`,c.style.height=`${a.height}px`,c.style.transform=Nb(a.left,a.top)}function nf(c,a){return Math.max(0,Math.min(a,c))}class BR{constructor(a,e,t,s,o){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ve.x,this.entered=new Ve.x,this.exited=new Ve.x,this.dropped=new Ve.x,this.sorted=new Ve.x,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=qt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ve.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function DR(c=0,a=to.z){return c<0&&(c=0),(0,wd.H)(c,c,a)}(0,bd).pipe(vt(this._stopScrollTimers)).subscribe(()=>{const l=this._scrollNode,n=this.autoScrollStep;1===this._verticalScrollDirection?l.scrollBy(0,-n):2===this._verticalScrollDirection&&l.scrollBy(0,n),1===this._horizontalScrollDirection?l.scrollBy(-n,0):2===this._horizontalScrollDirection&&l.scrollBy(n,0)})},this.element=Jt(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new mS(t)}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(a,e,t,s){let o;this._draggingStarted(),null==s?(o=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===o&&(o=this._getItemIndexFromPointerPosition(a,e,t))):o=s;const l=this._activeDraggables,n=l.indexOf(a),i=a.getPlaceholderElement();let r=l[o];if(r===a&&(r=l[o+1]),!r&&(null==o||-1===o||o-1&&l.splice(n,1),r&&!this._dragDropRegistry.isDragging(r)){const d=r.getRootElement();d.parentElement.insertBefore(i,d),l.splice(o,0,a)}else Jt(this.element).appendChild(i),l.push(a);i.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,s,o,l,n){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:s,isPointerOverContainer:o,distance:l,dropPoint:n})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===a.indexOf(s))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=Jt(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,s){if(this.sortingDisabled||!this._clientRect||!gS(this._clientRect,.05,e,t))return;const o=this._itemPositions,l=this._getItemIndexFromPointerPosition(a,e,t,s);if(-1===l&&o.length>0)return;const n="horizontal"===this._orientation,i=o.findIndex(se=>se.drag===a),r=o[l],u=r.clientRect,f=i>l?1:-1,b=this._getItemOffsetPx(o[i].clientRect,u,f),D=this._getSiblingOffsetPx(i,o,f),G=o.slice();(function VR(c,a,e){const t=nf(a,c.length-1),s=nf(e,c.length-1);if(t===s)return;const o=c[t],l=s{if(G[Oe]===se)return;const lt=se.drag===a,et=lt?b:D,At=lt?a.getPlaceholderElement():se.drag.getRootElement();se.offset+=et,n?(At.style.transform=Lb(`translate3d(${Math.round(se.offset)}px, 0, 0)`,se.initialTransform),ef(se.clientRect,0,et)):(At.style.transform=Lb(`translate3d(0, ${Math.round(se.offset)}px, 0)`,se.initialTransform),ef(se.clientRect,et,0))}),this._previousSwap.overlaps=s0(u,e,t),this._previousSwap.drag=r.drag,this._previousSwap.delta=n?s.x:s.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,s=0,o=0;if(this._parentPositions.positions.forEach((l,n)=>{n===this._document||!l.clientRect||t||gS(l.clientRect,.05,a,e)&&([s,o]=function OR(c,a,e,t){const s=SS(a,t),o=MS(a,e);let l=0,n=0;if(s){const i=c.scrollTop;1===s?i>0&&(l=1):c.scrollHeight-i>c.clientHeight&&(l=2)}if(o){const i=c.scrollLeft;1===o?i>0&&(n=1):c.scrollWidth-i>c.clientWidth&&(n=2)}return[l,n]}(n,l.clientRect,a,e),(s||o)&&(t=n))}),!s&&!o){const{width:l,height:n}=this._viewportRuler.getViewportSize(),i={width:l,height:n,top:0,right:l,bottom:n,left:0};s=SS(i,e),o=MS(i,a),t=window}t&&(s!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=o,this._scrollNode=t,(s||o)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=Jt(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=Jt(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:a0(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=Jt(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const s=e.getRootElement();if(s){const o=null===(t=this._itemPositions.find(l=>l.drag===e))||void 0===t?void 0:t.initialTransform;s.style.transform=o||""}}),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(a,e,t){const s="horizontal"===this._orientation,o=e[a].clientRect,l=e[a+-1*t];let n=o[s?"width":"height"]*t;if(l){const i=s?"left":"top",r=s?"right":"bottom";-1===t?n-=l.clientRect[i]-o[r]:n+=o[i]-l.clientRect[r]}return n}_getItemOffsetPx(a,e,t){const s="horizontal"===this._orientation;let o=s?e.left-a.left:e.top-a.top;return-1===t&&(o+=s?e.width-a.width:e.height-a.height),o}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,s="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const l=t[t.length-1].clientRect;return s?a>=l.right:e>=l.bottom}{const l=t[0].clientRect;return s?a<=l.left:e<=l.top}}_getItemIndexFromPointerPosition(a,e,t,s){const o="horizontal"===this._orientation,l=this._itemPositions.findIndex(({drag:n,clientRect:i})=>{if(n===a)return!1;if(s){const r=o?s.x:s.y;if(n===this._previousSwap.drag&&this._previousSwap.overlaps&&r===this._previousSwap.delta)return!1}return o?e>=Math.floor(i.left)&&e=Math.floor(i.top)&&ts._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!s0(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,t);if(!s)return!1;const o=Jt(this.element);return s===o||o.contains(s)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{ef(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 a=Hc(Jt(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function SS(c,a){const{top:e,bottom:t,height:s}=c,o=.05*s;return a>=e-o&&a<=e+o?1:a>=t-o&&a<=t+o?2:0}function MS(c,a){const{left:e,right:t,width:s}=c,o=.05*s;return a>=e-o&&a<=e+o?1:a>=t-o&&a<=t+o?2:0}const zb=gn({passive:!1,capture:!0});let FR=(()=>{class c{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 Ve.x,this.pointerUp=new Ve.x,this.scroll=new Ve.x,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,zb)})}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,zb)}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:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:zb}),s||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:zb}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,l)=>{this._document.addEventListener(l,o.handler,o.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 mi.y(s=>this._ngZone.runOutsideAngular(()=>{const l=n=>{this._activeDragInstances.length&&s.next(n)};return e.addEventListener("scroll",l,!0),()=>{e.removeEventListener("scroll",l,!0)}}))),(0,Un.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 c.\u0275fac=function(e){return new(e||c)(p.LFG(p.R0b),p.LFG(E.K0))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const LR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let jR=(()=>{class c{constructor(e,t,s,o){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=o}createDrag(e,t=LR){return new IR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new BR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(E.K0),p.LFG(p.R0b),p.LFG(io),p.LFG(FR))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})(),NR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[jR],imports:[Pr]}),c})(),zR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez]]}),c})(),GR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),QR=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})(),ik=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[QR,Qe],Qe]}),c})(),gk=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[sn,Qe],Qe]}),c})();new p.OlP("mat-selectsearch-default-options");let yk=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[E.ez,Qd,ar,xb,kr,Jp,co]]}),c})(),wk=(()=>{class c extends cd{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return c.\u0275fac=function(){let a;return function(t){return(a||(a=p.n5z(c)))(t||c)}}(),c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const vk={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 Ak=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[{provide:An,useClass:wk},{provide:od,useValue:vk}],imports:[[E.ez,xb,Vb,IA,t0,NR,Ll,Fu,XA,Rr,Jp,BA,kr,Hd,ar,co,oa,Qd,Ab,sn,zR,GR,ik,KA,gk,gd,ao,yk,no,zl,Kv,hS]]}),c})();const AI={provide:y.TP,useExisting:(0,p.Gpc)(()=>Ip),multi:!0};function xI(c){return new cD(c,"./assets/i18n/",".json")}function TI(c){const a={basePath:c.get("api_url")};return new We(a)}const EI=c=>()=>c.loadConfigs();let SI=(()=>{class c{constructor(e,t){this.customIconService=e,this.translate=t,this.translate.setDefaultLang("en"),this.translate.use("en"),this.customIconService.registerPerunRefreshIcon()}}return c.\u0275fac=function(e){return new(e||c)(p.LFG(J_),p.LFG(Ui))},c.\u0275mod=p.oAB({type:c,bootstrap:[lD]}),c.\u0275inj=p.cJS({providers:[J_,{provide:p.ip1,useFactory:EI,multi:!0,deps:[gD]},{provide:We,useFactory:TI,deps:[Gt]},Ip,AI,{provide:mD,useClass:eb},{provide:Rp.Hy,useFactory:()=>localStorage}],imports:[[Br,Ll.forRoot({loader:{provide:fo,useFactory:xI,deps:[y.eN]}}),ow,kr,dD,df,y.JF,hD,hS,BA,hH,Rp.zr.forRoot(),Ak]]}),c})();(0,p.G48)(),Vr().bootstrapModule(SI).catch(c=>console.error(c))},1302:function(L,N,x){var E;!function(p,I){var O={};!function(p){"use strict";p.__esModule=!0,p.digestLength=32,p.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 O(oe,W,ae,ie,le){for(var Te,Me,De,Ce,fe,ve,Ze,Se,xe,Be,ne,ce,de;le>=64;){for(Te=W[0],Me=W[1],De=W[2],Ce=W[3],fe=W[4],ve=W[5],Ze=W[6],Se=W[7],Be=0;Be<16;Be++)oe[Be]=(255&ae[ne=ie+4*Be])<<24|(255&ae[ne+1])<<16|(255&ae[ne+2])<<8|255&ae[ne+3];for(Be=16;Be<64;Be++)oe[Be]=((ce=((xe=oe[Be-2])>>>17|xe<<15)^(xe>>>19|xe<<13)^xe>>>10)+oe[Be-7]|0)+((de=((xe=oe[Be-15])>>>7|xe<<25)^(xe>>>18|xe<<14)^xe>>>3)+oe[Be-16]|0);for(Be=0;Be<64;Be++)ce=(((fe>>>6|fe<<26)^(fe>>>11|fe<<21)^(fe>>>25|fe<<7))+(fe&ve^~fe&Ze)|0)+(Se+(I[Be]+oe[Be]|0)|0)|0,de=((Te>>>2|Te<<30)^(Te>>>13|Te<<19)^(Te>>>22|Te<<10))+(Te&Me^Te&De^Me&De)|0,Se=Ze,Ze=ve,ve=fe,fe=Ce+ce|0,Ce=De,De=Me,Me=Te,Te=ce+de|0;W[0]+=Te,W[1]+=Me,W[2]+=De,W[3]+=Ce,W[4]+=fe,W[5]+=ve,W[6]+=Ze,W[7]+=Se,ie+=64,le-=64}return ie}var B=function(){function oe(){this.digestLength=p.digestLength,this.blockSize=p.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 oe.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},oe.prototype.clean=function(){for(var W=0;W0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;64===this.bufferLength&&(O(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(ie=O(this.temp,this.state,W,ie,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=W[ie++],ae--;return this},oe.prototype.finish=function(W){if(!this.finished){var ae=this.bytesHashed,ie=this.bufferLength,le=ae/536870912|0,Te=ae<<3,Me=ae%64<56?64:128;this.buffer[ie]=128;for(var De=ie+1;De>>24&255,this.buffer[Me-7]=le>>>16&255,this.buffer[Me-6]=le>>>8&255,this.buffer[Me-5]=le>>>0&255,this.buffer[Me-4]=Te>>>24&255,this.buffer[Me-3]=Te>>>16&255,this.buffer[Me-2]=Te>>>8&255,this.buffer[Me-1]=Te>>>0&255,O(this.temp,this.state,this.buffer,0,Me),this.finished=!0}for(De=0;De<8;De++)W[4*De+0]=this.state[De]>>>24&255,W[4*De+1]=this.state[De]>>>16&255,W[4*De+2]=this.state[De]>>>8&255,W[4*De+3]=this.state[De]>>>0&255;return this},oe.prototype.digest=function(){var W=new Uint8Array(this.digestLength);return this.finish(W),W},oe.prototype._saveState=function(W){for(var ae=0;aethis.blockSize)(new B).update(W).finish(ae).clean();else for(var ie=0;ie1&&W.update(oe),ae&&W.update(ae),W.update(ie),W.finish(oe),ie[0]++}p.HMAC=j,p.hash=q,p.default=q,p.hmac=Y;var $=new Uint8Array(p.digestLength);p.hkdf=function z(oe,W,ae,ie){void 0===W&&(W=$),void 0===ie&&(ie=32);for(var le=new Uint8Array([1]),Te=Y(W,oe),Me=new j(Te),De=new Uint8Array(Me.digestLength),Ce=De.length,fe=new Uint8Array(ie),ve=0;ve>>24&255,Me[1]=Ze>>>16&255,Me[2]=Ze>>>8&255,Me[3]=Ze>>>0&255,le.reset(),le.update(W),le.update(Me),le.finish(Ce);for(var Se=0;Se=z.status}function j($){try{$.dispatchEvent(new MouseEvent("click"))}catch(re){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(z)}}var q="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,Y=q.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),U=q.saveAs||("object"!=typeof window||window!==q?function(){}:"download"in HTMLAnchorElement.prototype&&!Y?function($,z,re){var oe=q.URL||q.webkitURL,W=document.createElement("a");W.download=z=z||$.name||"download",W.rel="noopener","string"==typeof $?(W.href=$,W.origin===location.origin?j(W):B(W.href)?O($,z,re):j(W,W.target="_blank")):(W.href=oe.createObjectURL($),setTimeout(function(){oe.revokeObjectURL(W.href)},4e4),setTimeout(function(){j(W)},0))}:"msSaveOrOpenBlob"in navigator?function($,z,re){if(z=z||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function I($,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($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,re),z);else if(B($))O($,z,re);else{var oe=document.createElement("a");oe.href=$,oe.target="_blank",setTimeout(function(){j(oe)})}}:function($,z,re,oe){if((oe=oe||open("","_blank"))&&(oe.document.title=oe.document.body.innerText="downloading..."),"string"==typeof $)return O($,z,re);var W="application/octet-stream"===$.type,ae=/constructor/i.test(q.HTMLElement)||q.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||W&&ae||Y)&&"undefined"!=typeof FileReader){var le=new FileReader;le.onloadend=function(){var De=le.result;De=ie?De:De.replace(/^data:[^;]*;/,"data:attachment/file;"),oe?oe.location.href=De:location=De,oe=null},le.readAsDataURL($)}else{var Te=q.URL||q.webkitURL,Me=Te.createObjectURL($);oe?oe.location=Me:location.href=Me,oe=null,setTimeout(function(){Te.revokeObjectURL(Me)},4e4)}});q.saveAs=U.saveAs=U,L.exports=U}.apply(N,[]))&&(L.exports=p)},8306:(L,N,x)=>{"use strict";x.d(N,{y:()=>$});var E=x(930),p=x(727),I=x(8822),O=x(4671);var q=x(2416),Y=x(576),U=x(2806);let $=(()=>{class W{constructor(ie){ie&&(this._subscribe=ie)}lift(ie){const le=new W;return le.source=this,le.operator=ie,le}subscribe(ie,le,Te){const Me=function oe(W){return W&&W instanceof E.Lv||function re(W){return W&&(0,Y.m)(W.next)&&(0,Y.m)(W.error)&&(0,Y.m)(W.complete)}(W)&&(0,p.Nn)(W)}(ie)?ie:new E.Hp(ie,le,Te);return(0,U.x)(()=>{const{operator:De,source:Ce}=this;Me.add(De?De.call(Me,Ce):Ce?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ie){try{return this._subscribe(ie)}catch(le){ie.error(le)}}forEach(ie,le){return new(le=z(le))((Te,Me)=>{const De=new E.Hp({next:Ce=>{try{ie(Ce)}catch(fe){Me(fe),De.unsubscribe()}},error:Me,complete:Te});this.subscribe(De)})}_subscribe(ie){var le;return null===(le=this.source)||void 0===le?void 0:le.subscribe(ie)}[I.L](){return this}pipe(...ie){return function j(W){return 0===W.length?O.y:1===W.length?W[0]:function(ie){return W.reduce((le,Te)=>Te(le),ie)}}(ie)(this)}toPromise(ie){return new(ie=z(ie))((le,Te)=>{let Me;this.subscribe(De=>Me=De,De=>Te(De),()=>le(Me))})}}return W.create=ae=>new W(ae),W})();function z(W){var ae;return null!==(ae=null!=W?W:q.v.Promise)&&void 0!==ae?ae:Promise}},7579:(L,N,x)=>{"use strict";x.d(N,{x:()=>q});var E=x(8306),p=x(727);const O=(0,x(3888).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=x(8737),j=x(2806);let q=(()=>{class U extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(z){const re=new Y(this,this);return re.operator=z,re}_throwIfClosed(){if(this.closed)throw new O}next(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(z)}})}error(z){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=z;const{observers:re}=this;for(;re.length;)re.shift().error(z)}})}complete(){(0,j.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:z}=this;for(;z.length;)z.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var z;return(null===(z=this.observers)||void 0===z?void 0:z.length)>0}_trySubscribe(z){return this._throwIfClosed(),super._trySubscribe(z)}_subscribe(z){return this._throwIfClosed(),this._checkFinalizedStatuses(z),this._innerSubscribe(z)}_innerSubscribe(z){const{hasError:re,isStopped:oe,observers:W}=this;return re||oe?p.Lc:(this.currentObservers=null,W.push(z),new p.w0(()=>{this.currentObservers=null,(0,B.P)(W,z)}))}_checkFinalizedStatuses(z){const{hasError:re,thrownError:oe,isStopped:W}=this;re?z.error(oe):W&&z.complete()}asObservable(){const z=new E.y;return z.source=this,z}}return U.create=($,z)=>new Y($,z),U})();class Y extends q{constructor($,z){super(),this.destination=$,this.source=z}next($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.next)||void 0===re||re.call(z,$)}error($){var z,re;null===(re=null===(z=this.destination)||void 0===z?void 0:z.error)||void 0===re||re.call(z,$)}complete(){var $,z;null===(z=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===z||z.call($)}_subscribe($){var z,re;return null!==(re=null===(z=this.source)||void 0===z?void 0:z.subscribe($))&&void 0!==re?re:p.Lc}}},930:(L,N,x)=>{"use strict";x.d(N,{Hp:()=>ie,Lv:()=>re});var E=x(576),p=x(727),I=x(2416),O=x(7849),B=x(5032);const j=U("C",void 0,void 0);function U(Ce,fe,ve){return{kind:Ce,value:fe,error:ve}}var $=x(3410),z=x(2806);class re extends p.w0{constructor(fe){super(),this.isStopped=!1,fe?(this.destination=fe,(0,p.Nn)(fe)&&fe.add(this)):this.destination=De}static create(fe,ve,Ze){return new ie(fe,ve,Ze)}next(fe){this.isStopped?Me(function Y(Ce){return U("N",Ce,void 0)}(fe),this):this._next(fe)}error(fe){this.isStopped?Me(function q(Ce){return U("E",void 0,Ce)}(fe),this):(this.isStopped=!0,this._error(fe))}complete(){this.isStopped?Me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(fe){this.destination.next(fe)}_error(fe){try{this.destination.error(fe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const oe=Function.prototype.bind;function W(Ce,fe){return oe.call(Ce,fe)}class ae{constructor(fe){this.partialObserver=fe}next(fe){const{partialObserver:ve}=this;if(ve.next)try{ve.next(fe)}catch(Ze){le(Ze)}}error(fe){const{partialObserver:ve}=this;if(ve.error)try{ve.error(fe)}catch(Ze){le(Ze)}else le(fe)}complete(){const{partialObserver:fe}=this;if(fe.complete)try{fe.complete()}catch(ve){le(ve)}}}class ie extends re{constructor(fe,ve,Ze){let Se;if(super(),(0,E.m)(fe)||!fe)Se={next:null!=fe?fe:void 0,error:null!=ve?ve:void 0,complete:null!=Ze?Ze:void 0};else{let xe;this&&I.v.useDeprecatedNextContext?(xe=Object.create(fe),xe.unsubscribe=()=>this.unsubscribe(),Se={next:fe.next&&W(fe.next,xe),error:fe.error&&W(fe.error,xe),complete:fe.complete&&W(fe.complete,xe)}):Se=fe}this.destination=new ae(Se)}}function le(Ce){I.v.useDeprecatedSynchronousErrorHandling?(0,z.O)(Ce):(0,O.h)(Ce)}function Me(Ce,fe){const{onStoppedNotification:ve}=I.v;ve&&$.z.setTimeout(()=>ve(Ce,fe))}const De={closed:!0,next:B.Z,error:function Te(Ce){throw Ce},complete:B.Z}},727:(L,N,x)=>{"use strict";x.d(N,{Lc:()=>j,w0:()=>B,Nn:()=>q});var E=x(576);const I=(0,x(3888).d)(U=>function(z){U(this),this.message=z?`${z.length} errors occurred during unsubscription:\n${z.map((re,oe)=>`${oe+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=z});var O=x(8737);class B{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:z}=this;if(z)if(this._parentage=null,Array.isArray(z))for(const W of z)W.remove(this);else z.remove(this);const{initialTeardown:re}=this;if((0,E.m)(re))try{re()}catch(W){$=W instanceof I?W.errors:[W]}const{_finalizers:oe}=this;if(oe){this._finalizers=null;for(const W of oe)try{Y(W)}catch(ae){$=null!=$?$:[],ae instanceof I?$=[...$,...ae.errors]:$.push(ae)}}if($)throw new I($)}}add($){var z;if($&&$!==this)if(this.closed)Y($);else{if($ instanceof B){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(z=this._finalizers)&&void 0!==z?z:[]).push($)}}_hasParent($){const{_parentage:z}=this;return z===$||Array.isArray(z)&&z.includes($)}_addParent($){const{_parentage:z}=this;this._parentage=Array.isArray(z)?(z.push($),z):z?[z,$]:$}_removeParent($){const{_parentage:z}=this;z===$?this._parentage=null:Array.isArray(z)&&(0,O.P)(z,$)}remove($){const{_finalizers:z}=this;z&&(0,O.P)(z,$),$ instanceof B&&$._removeParent(this)}}B.EMPTY=(()=>{const U=new B;return U.closed=!0,U})();const j=B.EMPTY;function q(U){return U instanceof B||U&&"closed"in U&&(0,E.m)(U.remove)&&(0,E.m)(U.add)&&(0,E.m)(U.unsubscribe)}function Y(U){(0,E.m)(U)?U():U.unsubscribe()}},2416:(L,N,x)=>{"use strict";x.d(N,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(L,N,x)=>{"use strict";x.d(N,{a:()=>$});var E=x(8306),p=x(4742),I=x(2076),O=x(4671),B=x(3268),j=x(3269),q=x(1810),Y=x(5403),U=x(9672);function $(...oe){const W=(0,j.yG)(oe),ae=(0,j.jO)(oe),{args:ie,keys:le}=(0,p.D)(oe);if(0===ie.length)return(0,I.D)([],W);const Te=new E.y(function z(oe,W,ae=O.y){return ie=>{re(W,()=>{const{length:le}=oe,Te=new Array(le);let Me=le,De=le;for(let Ce=0;Ce{const fe=(0,I.D)(oe[Ce],W);let ve=!1;fe.subscribe((0,Y.x)(ie,Ze=>{Te[Ce]=Ze,ve||(ve=!0,De--),De||ie.next(ae(Te.slice()))},()=>{--Me||ie.complete()}))},ie)},ie)}}(ie,W,le?Me=>(0,q.n)(le,Me):O.y));return ae?Te.pipe((0,B.Z)(ae)):Te}function re(oe,W,ae){oe?(0,U.f)(ae,oe,W):W()}},7272:(L,N,x)=>{"use strict";x.d(N,{z:()=>B});var E=x(8189),I=x(3269),O=x(2076);function B(...j){return function p(){return(0,E.J)(1)}()((0,O.D)(j,(0,I.yG)(j)))}},515:(L,N,x)=>{"use strict";x.d(N,{E:()=>p});const p=new(x(8306).y)(B=>B.complete())},2076:(L,N,x)=>{"use strict";x.d(N,{D:()=>Ze});var E=x(8421),p=x(9672),I=x(4482),O=x(5403);function B(Se,xe=0){return(0,I.e)((Be,ne)=>{Be.subscribe((0,O.x)(ne,ce=>(0,p.f)(ne,Se,()=>ne.next(ce),xe),()=>(0,p.f)(ne,Se,()=>ne.complete(),xe),ce=>(0,p.f)(ne,Se,()=>ne.error(ce),xe)))})}function j(Se,xe=0){return(0,I.e)((Be,ne)=>{ne.add(Se.schedule(()=>Be.subscribe(ne),xe))})}var U=x(8306),z=x(2202),re=x(576);function W(Se,xe){if(!Se)throw new Error("Iterable cannot be null");return new U.y(Be=>{(0,p.f)(Be,xe,()=>{const ne=Se[Symbol.asyncIterator]();(0,p.f)(Be,xe,()=>{ne.next().then(ce=>{ce.done?Be.complete():Be.next(ce.value)})},0,!0)})})}var ae=x(3670),ie=x(8239),le=x(1144),Te=x(6495),Me=x(2206),De=x(4532),Ce=x(3260);function Ze(Se,xe){return xe?function ve(Se,xe){if(null!=Se){if((0,ae.c)(Se))return function q(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,le.z)(Se))return function $(Se,xe){return new U.y(Be=>{let ne=0;return xe.schedule(function(){ne===Se.length?Be.complete():(Be.next(Se[ne++]),Be.closed||this.schedule())})})}(Se,xe);if((0,ie.t)(Se))return function Y(Se,xe){return(0,E.Xf)(Se).pipe(j(xe),B(xe))}(Se,xe);if((0,Me.D)(Se))return W(Se,xe);if((0,Te.T)(Se))return function oe(Se,xe){return new U.y(Be=>{let ne;return(0,p.f)(Be,xe,()=>{ne=Se[z.h](),(0,p.f)(Be,xe,()=>{let ce,de;try{({value:ce,done:de}=ne.next())}catch(ge){return void Be.error(ge)}de?Be.complete():Be.next(ce)},0,!0)}),()=>(0,re.m)(null==ne?void 0:ne.return)&&ne.return()})}(Se,xe);if((0,Ce.L)(Se))return function fe(Se,xe){return W((0,Ce.Q)(Se),xe)}(Se,xe)}throw(0,De.z)(Se)}(Se,xe):(0,E.Xf)(Se)}},8421:(L,N,x)=>{"use strict";x.d(N,{Xf:()=>oe});var E=x(655),p=x(1144),I=x(8239),O=x(8306),B=x(3670),j=x(2206),q=x(4532),Y=x(6495),U=x(3260),$=x(576),z=x(7849),re=x(8822);function oe(Ce){if(Ce instanceof O.y)return Ce;if(null!=Ce){if((0,B.c)(Ce))return function W(Ce){return new O.y(fe=>{const ve=Ce[re.L]();if((0,$.m)(ve.subscribe))return ve.subscribe(fe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ce);if((0,p.z)(Ce))return function ae(Ce){return new O.y(fe=>{for(let ve=0;ve{Ce.then(ve=>{fe.closed||(fe.next(ve),fe.complete())},ve=>fe.error(ve)).then(null,z.h)})}(Ce);if((0,j.D)(Ce))return Te(Ce);if((0,Y.T)(Ce))return function le(Ce){return new O.y(fe=>{for(const ve of Ce)if(fe.next(ve),fe.closed)return;fe.complete()})}(Ce);if((0,U.L)(Ce))return function Me(Ce){return Te((0,U.Q)(Ce))}(Ce)}throw(0,q.z)(Ce)}function Te(Ce){return new O.y(fe=>{(function De(Ce,fe){var ve,Ze,Se,xe;return(0,E.mG)(this,void 0,void 0,function*(){try{for(ve=(0,E.KL)(Ce);!(Ze=yield ve.next()).done;)if(fe.next(Ze.value),fe.closed)return}catch(Be){Se={error:Be}}finally{try{Ze&&!Ze.done&&(xe=ve.return)&&(yield xe.call(ve))}finally{if(Se)throw Se.error}}fe.complete()})})(Ce,fe).catch(ve=>fe.error(ve))})}},6451:(L,N,x)=>{"use strict";x.d(N,{T:()=>j});var E=x(8189),p=x(8421),I=x(515),O=x(3269),B=x(2076);function j(...q){const Y=(0,O.yG)(q),U=(0,O._6)(q,1/0),$=q;return $.length?1===$.length?(0,p.Xf)($[0]):(0,E.J)(U)((0,B.D)($,Y)):I.E}},9646:(L,N,x)=>{"use strict";x.d(N,{of:()=>I});var E=x(3269),p=x(2076);function I(...O){const B=(0,E.yG)(O);return(0,p.D)(O,B)}},102:(L,N,x)=>{"use strict";x.d(N,{S:()=>j});var E=x(8306),p=x(8421);const{isArray:I}=Array;var B=x(5403);function j(...Y){return 1===(Y=function O(Y){return 1===Y.length&&I(Y[0])?Y[0]:Y}(Y)).length?(0,p.Xf)(Y[0]):new E.y(function q(Y){return U=>{let $=[];for(let z=0;$&&!U.closed&&z{if($){for(let oe=0;oe<$.length;oe++)oe!==z&&$[oe].unsubscribe();$=null}U.next(re)})))}}(Y))}},2843:(L,N,x)=>{"use strict";x.d(N,{_:()=>I});var E=x(8306),p=x(576);function I(O,B){const j=(0,p.m)(O)?O:()=>O,q=Y=>Y.error(j());return new E.y(B?Y=>B.schedule(q,0,Y):q)}},2805:(L,N,x)=>{"use strict";x.d(N,{H:()=>B});var E=x(8306),p=x(4986),I=x(3532),O=x(1165);function B(j=0,q,Y=p.P){let U=-1;return null!=q&&((0,I.K)(q)?Y=q:U=q),new E.y($=>{let z=(0,O.q)(j)?+j-Y.now():j;z<0&&(z=0);let re=0;return Y.schedule(function(){$.closed||($.next(re++),0<=U?this.schedule(void 0,U):$.complete())},z)})}},5403:(L,N,x)=>{"use strict";x.d(N,{x:()=>p});var E=x(930);function p(O,B,j,q,Y){return new I(O,B,j,q,Y)}class I extends E.Lv{constructor(B,j,q,Y,U,$){super(B),this.onFinalize=U,this.shouldUnsubscribe=$,this._next=j?function(z){try{j(z)}catch(re){B.error(re)}}:super._next,this._error=Y?function(z){try{Y(z)}catch(re){B.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(z){B.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},262:(L,N,x)=>{"use strict";x.d(N,{K:()=>O});var E=x(8421),p=x(5403),I=x(4482);function O(B){return(0,I.e)((j,q)=>{let $,Y=null,U=!1;Y=j.subscribe((0,p.x)(q,void 0,void 0,z=>{$=(0,E.Xf)(B(z,O(B)(j))),Y?(Y.unsubscribe(),Y=null,$.subscribe(q)):U=!0})),U&&(Y.unsubscribe(),Y=null,$.subscribe(q))})}},4351:(L,N,x)=>{"use strict";x.d(N,{b:()=>I});var E=x(5577),p=x(576);function I(O,B){return(0,p.m)(B)?(0,E.z)(O,B,1):(0,E.z)(O,1)}},8372:(L,N,x)=>{"use strict";x.d(N,{b:()=>O});var E=x(4986),p=x(4482),I=x(5403);function O(B,j=E.z){return(0,p.e)((q,Y)=>{let U=null,$=null,z=null;const re=()=>{if(U){U.unsubscribe(),U=null;const W=$;$=null,Y.next(W)}};function oe(){const W=z+B,ae=j.now();if(ae{$=W,z=j.now(),U||(U=j.schedule(oe,B),Y.add(U))},()=>{re(),Y.complete()},void 0,()=>{$=U=null}))})}},6590:(L,N,x)=>{"use strict";x.d(N,{d:()=>I});var E=x(4482),p=x(5403);function I(O){return(0,E.e)((B,j)=>{let q=!1;B.subscribe((0,p.x)(j,Y=>{q=!0,j.next(Y)},()=>{q||j.next(O),j.complete()}))})}},4825:(L,N,x)=>{"use strict";x.d(N,{g:()=>oe});var E=x(4986),p=x(7272),I=x(5698),O=x(4482),B=x(5403),j=x(5032),Y=x(4004),$=x(5577);function z(W,ae){return ae?ie=>(0,p.z)(ae.pipe((0,I.q)(1),function q(){return(0,O.e)((W,ae)=>{W.subscribe((0,B.x)(ae,j.Z))})}()),ie.pipe(z(W))):(0,$.z)((ie,le)=>W(ie,le).pipe((0,I.q)(1),function U(W){return(0,Y.U)(()=>W)}(ie)))}var re=x(2805);function oe(W,ae=E.z){const ie=(0,re.H)(W,ae);return z(()=>ie)}},9300:(L,N,x)=>{"use strict";x.d(N,{h:()=>I});var E=x(4482),p=x(5403);function I(O,B){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,p.x)(q,U=>O.call(B,U,Y++)&&q.next(U)))})}},590:(L,N,x)=>{"use strict";x.d(N,{P:()=>q});var E=x(6805),p=x(9300),I=x(5698),O=x(6590),B=x(8068),j=x(4671);function q(Y,U){const $=arguments.length>=2;return z=>z.pipe(Y?(0,p.h)((re,oe)=>Y(re,oe,z)):j.y,(0,I.q)(1),$?(0,O.d)(U):(0,B.T)(()=>new E.K))}},4004:(L,N,x)=>{"use strict";x.d(N,{U:()=>I});var E=x(4482),p=x(5403);function I(O,B){return(0,E.e)((j,q)=>{let Y=0;j.subscribe((0,p.x)(q,U=>{q.next(O.call(B,U,Y++))}))})}},8189:(L,N,x)=>{"use strict";x.d(N,{J:()=>I});var E=x(5577),p=x(4671);function I(O=1/0){return(0,E.z)(p.y,O)}},5577:(L,N,x)=>{"use strict";x.d(N,{z:()=>Y});var E=x(4004),p=x(8421),I=x(4482),O=x(9672),B=x(5403),q=x(576);function Y(U,$,z=1/0){return(0,q.m)($)?Y((re,oe)=>(0,E.U)((W,ae)=>$(re,W,oe,ae))((0,p.Xf)(U(re,oe))),z):("number"==typeof $&&(z=$),(0,I.e)((re,oe)=>function j(U,$,z,re,oe,W,ae,ie){const le=[];let Te=0,Me=0,De=!1;const Ce=()=>{De&&!le.length&&!Te&&$.complete()},fe=Ze=>Te{W&&$.next(Ze),Te++;let Se=!1;(0,p.Xf)(z(Ze,Me++)).subscribe((0,B.x)($,xe=>{null==oe||oe(xe),W?fe(xe):$.next(xe)},()=>{Se=!0},void 0,()=>{if(Se)try{for(Te--;le.length&&Teve(xe)):ve(xe)}Ce()}catch(xe){$.error(xe)}}))};return U.subscribe((0,B.x)($,fe,()=>{De=!0,Ce()})),()=>{null==ie||ie()}}(re,oe,U,z)))}},3099:(L,N,x)=>{"use strict";x.d(N,{B:()=>B});var E=x(8421),p=x(7579),I=x(930),O=x(4482);function B(q={}){const{connector:Y=(()=>new p.x),resetOnError:U=!0,resetOnComplete:$=!0,resetOnRefCountZero:z=!0}=q;return re=>{let oe,W,ae,ie=0,le=!1,Te=!1;const Me=()=>{null==W||W.unsubscribe(),W=void 0},De=()=>{Me(),oe=ae=void 0,le=Te=!1},Ce=()=>{const fe=oe;De(),null==fe||fe.unsubscribe()};return(0,O.e)((fe,ve)=>{ie++,!Te&&!le&&Me();const Ze=ae=null!=ae?ae:Y();ve.add(()=>{ie--,0===ie&&!Te&&!le&&(W=j(Ce,z))}),Ze.subscribe(ve),!oe&&ie>0&&(oe=new I.Hp({next:Se=>Ze.next(Se),error:Se=>{Te=!0,Me(),W=j(De,U,Se),Ze.error(Se)},complete:()=>{le=!0,Me(),W=j(De,$),Ze.complete()}}),(0,E.Xf)(fe).subscribe(oe))})(re)}}function j(q,Y,...U){if(!0===Y)return void q();if(!1===Y)return;const $=new I.Hp({next:()=>{$.unsubscribe(),q()}});return Y(...U).subscribe($)}},3900:(L,N,x)=>{"use strict";x.d(N,{w:()=>O});var E=x(8421),p=x(4482),I=x(5403);function O(B,j){return(0,p.e)((q,Y)=>{let U=null,$=0,z=!1;const re=()=>z&&!U&&Y.complete();q.subscribe((0,I.x)(Y,oe=>{null==U||U.unsubscribe();let W=0;const ae=$++;(0,E.Xf)(B(oe,ae)).subscribe(U=(0,I.x)(Y,ie=>Y.next(j?j(oe,ie,ae,W++):ie),()=>{U=null,re()}))},()=>{z=!0,re()}))})}},5698:(L,N,x)=>{"use strict";x.d(N,{q:()=>O});var E=x(515),p=x(4482),I=x(5403);function O(B){return B<=0?()=>E.E:(0,p.e)((j,q)=>{let Y=0;j.subscribe((0,I.x)(q,U=>{++Y<=B&&(q.next(U),B<=Y&&q.complete())}))})}},8505:(L,N,x)=>{"use strict";x.d(N,{b:()=>B});var E=x(576),p=x(4482),I=x(5403),O=x(4671);function B(j,q,Y){const U=(0,E.m)(j)||q||Y?{next:j,error:q,complete:Y}:j;return U?(0,p.e)(($,z)=>{var re;null===(re=U.subscribe)||void 0===re||re.call(U);let oe=!0;$.subscribe((0,I.x)(z,W=>{var ae;null===(ae=U.next)||void 0===ae||ae.call(U,W),z.next(W)},()=>{var W;oe=!1,null===(W=U.complete)||void 0===W||W.call(U),z.complete()},W=>{var ae;oe=!1,null===(ae=U.error)||void 0===ae||ae.call(U,W),z.error(W)},()=>{var W,ae;oe&&(null===(W=U.unsubscribe)||void 0===W||W.call(U)),null===(ae=U.finalize)||void 0===ae||ae.call(U)}))}):O.y}},8068:(L,N,x)=>{"use strict";x.d(N,{T:()=>O});var E=x(6805),p=x(4482),I=x(5403);function O(j=B){return(0,p.e)((q,Y)=>{let U=!1;q.subscribe((0,I.x)(Y,$=>{U=!0,Y.next($)},()=>U?Y.complete():Y.error(j())))})}function B(){return new E.K}},7414:(L,N,x)=>{"use strict";x.d(N,{V:()=>U});var E=x(4986),p=x(1165),I=x(4482),O=x(8421),B=x(3888),j=x(5403),q=x(9672);const Y=(0,B.d)(z=>function(oe=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=oe});function U(z,re){const{first:oe,each:W,with:ae=$,scheduler:ie=(null!=re?re:E.z),meta:le=null}=(0,p.q)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==oe&&null==W)throw new TypeError("No timeout provided.");return(0,I.e)((Te,Me)=>{let De,Ce,fe=null,ve=0;const Ze=Se=>{Ce=(0,q.f)(Me,ie,()=>{try{De.unsubscribe(),(0,O.Xf)(ae({meta:le,lastValue:fe,seen:ve})).subscribe(Me)}catch(xe){Me.error(xe)}},Se)};De=Te.subscribe((0,j.x)(Me,Se=>{null==Ce||Ce.unsubscribe(),ve++,Me.next(fe=Se),W>0&&Ze(W)},void 0,void 0,()=>{(null==Ce?void 0:Ce.closed)||null==Ce||Ce.unsubscribe(),fe=null})),!ve&&Ze(null!=oe?"number"==typeof oe?oe:+oe-ie.now():W)})}function $(z){throw new Y(z)}},4408:(L,N,x)=>{"use strict";x.d(N,{o:()=>B});var E=x(727);class p extends E.w0{constructor(q,Y){super()}schedule(q,Y=0){return this}}const I={setInterval(j,q,...Y){const{delegate:U}=I;return(null==U?void 0:U.setInterval)?U.setInterval(j,q,...Y):setInterval(j,q,...Y)},clearInterval(j){const{delegate:q}=I;return((null==q?void 0:q.clearInterval)||clearInterval)(j)},delegate:void 0};var O=x(8737);class B extends p{constructor(q,Y){super(q,Y),this.scheduler=q,this.work=Y,this.pending=!1}schedule(q,Y=0){if(this.closed)return this;this.state=q;const U=this.id,$=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId($,U,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId($,this.id,Y),this}requestAsyncId(q,Y,U=0){return I.setInterval(q.flush.bind(q,this),U)}recycleAsyncId(q,Y,U=0){if(null!=U&&this.delay===U&&!1===this.pending)return Y;I.clearInterval(Y)}execute(q,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const U=this._execute(q,Y);if(U)return U;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,Y){let $,U=!1;try{this.work(q)}catch(z){U=!0,$=z||new Error("Scheduled action threw falsy error")}if(U)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:q,scheduler:Y}=this,{actions:U}=Y;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(U,this),null!=q&&(this.id=this.recycleAsyncId(Y,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(L,N,x)=>{"use strict";x.d(N,{v:()=>I});var E=x(6063);class p{constructor(B,j=p.now){this.schedulerActionCtor=B,this.now=j}schedule(B,j=0,q){return new this.schedulerActionCtor(this,B).schedule(q,j)}}p.now=E.l.now;class I extends p{constructor(B,j=p.now){super(B,j),this.actions=[],this._active=!1,this._scheduled=void 0}flush(B){const{actions:j}=this;if(this._active)return void j.push(B);let q;this._active=!0;do{if(q=B.execute(B.state,B.delay))break}while(B=j.shift());if(this._active=!1,q){for(;B=j.shift();)B.unsubscribe();throw q}}}},4986:(L,N,x)=>{"use strict";x.d(N,{z:()=>I,P:()=>O});var E=x(4408);const I=new(x(7565).v)(E.o),O=I},6063:(L,N,x)=>{"use strict";x.d(N,{l:()=>E});const E={now:()=>(E.delegate||Date).now(),delegate:void 0}},3410:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E={setTimeout(p,I,...O){const{delegate:B}=E;return(null==B?void 0:B.setTimeout)?B.setTimeout(p,I,...O):setTimeout(p,I,...O)},clearTimeout(p){const{delegate:I}=E;return((null==I?void 0:I.clearTimeout)||clearTimeout)(p)},delegate:void 0}},2202:(L,N,x)=>{"use strict";x.d(N,{h:()=>p});const p=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(L,N,x)=>{"use strict";x.d(N,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(L,N,x)=>{"use strict";x.d(N,{K:()=>p});const p=(0,x(3888).d)(I=>function(){I(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(L,N,x)=>{"use strict";x.d(N,{jO:()=>O,yG:()=>B,_6:()=>j});var E=x(576),p=x(3532);function I(q){return q[q.length-1]}function O(q){return(0,E.m)(I(q))?q.pop():void 0}function B(q){return(0,p.K)(I(q))?q.pop():void 0}function j(q,Y){return"number"==typeof I(q)?q.pop():Y}},4742:(L,N,x)=>{"use strict";x.d(N,{D:()=>B});const{isArray:E}=Array,{getPrototypeOf:p,prototype:I,keys:O}=Object;function B(q){if(1===q.length){const Y=q[0];if(E(Y))return{args:Y,keys:null};if(function j(q){return q&&"object"==typeof q&&p(q)===I}(Y)){const U=O(Y);return{args:U.map($=>Y[$]),keys:U}}}return{args:q,keys:null}}},8737:(L,N,x)=>{"use strict";function E(p,I){if(p){const O=p.indexOf(I);0<=O&&p.splice(O,1)}}x.d(N,{P:()=>E})},3888:(L,N,x)=>{"use strict";function E(p){const O=p(B=>{Error.call(B),B.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}x.d(N,{d:()=>E})},1810:(L,N,x)=>{"use strict";function E(p,I){return p.reduce((O,B,j)=>(O[B]=I[j],O),{})}x.d(N,{n:()=>E})},2806:(L,N,x)=>{"use strict";x.d(N,{x:()=>I,O:()=>O});var E=x(2416);let p=null;function I(B){if(E.v.useDeprecatedSynchronousErrorHandling){const j=!p;if(j&&(p={errorThrown:!1,error:null}),B(),j){const{errorThrown:q,error:Y}=p;if(p=null,q)throw Y}}else B()}function O(B){E.v.useDeprecatedSynchronousErrorHandling&&p&&(p.errorThrown=!0,p.error=B)}},9672:(L,N,x)=>{"use strict";function E(p,I,O,B=0,j=!1){const q=I.schedule(function(){O(),j?p.add(this.schedule(null,B)):this.unsubscribe()},B);if(p.add(q),!j)return q}x.d(N,{f:()=>E})},4671:(L,N,x)=>{"use strict";function E(p){return p}x.d(N,{y:()=>E})},1144:(L,N,x)=>{"use strict";x.d(N,{z:()=>E});const E=p=>p&&"number"==typeof p.length&&"function"!=typeof p},2206:(L,N,x)=>{"use strict";x.d(N,{D:()=>p});var E=x(576);function p(I){return Symbol.asyncIterator&&(0,E.m)(null==I?void 0:I[Symbol.asyncIterator])}},1165:(L,N,x)=>{"use strict";function E(p){return p instanceof Date&&!isNaN(p)}x.d(N,{q:()=>E})},576:(L,N,x)=>{"use strict";function E(p){return"function"==typeof p}x.d(N,{m:()=>E})},3670:(L,N,x)=>{"use strict";x.d(N,{c:()=>I});var E=x(8822),p=x(576);function I(O){return(0,p.m)(O[E.L])}},6495:(L,N,x)=>{"use strict";x.d(N,{T:()=>I});var E=x(2202),p=x(576);function I(O){return(0,p.m)(null==O?void 0:O[E.h])}},8239:(L,N,x)=>{"use strict";x.d(N,{t:()=>p});var E=x(576);function p(I){return(0,E.m)(null==I?void 0:I.then)}},3260:(L,N,x)=>{"use strict";x.d(N,{Q:()=>I,L:()=>O});var E=x(655),p=x(576);function I(B){return(0,E.FC)(this,arguments,function*(){const q=B.getReader();try{for(;;){const{value:Y,done:U}=yield(0,E.qq)(q.read());if(U)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Y)}}finally{q.releaseLock()}})}function O(B){return(0,p.m)(null==B?void 0:B.getReader)}},3532:(L,N,x)=>{"use strict";x.d(N,{K:()=>p});var E=x(576);function p(I){return I&&(0,E.m)(I.schedule)}},4482:(L,N,x)=>{"use strict";x.d(N,{A:()=>p,e:()=>I});var E=x(576);function p(O){return(0,E.m)(null==O?void 0:O.lift)}function I(O){return B=>{if(p(B))return B.lift(function(j){try{return O(j,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(L,N,x)=>{"use strict";x.d(N,{Z:()=>O});var E=x(4004);const{isArray:p}=Array;function O(B){return(0,E.U)(j=>function I(B,j){return p(j)?B(...j):B(j)}(B,j))}},5032:(L,N,x)=>{"use strict";function E(){}x.d(N,{Z:()=>E})},7849:(L,N,x)=>{"use strict";x.d(N,{h:()=>I});var E=x(2416),p=x(3410);function I(O){p.z.setTimeout(()=>{const{onUnhandledError:B}=E.v;if(!B)throw O;B(O)})}},4532:(L,N,x)=>{"use strict";function E(p){return new TypeError(`You provided ${null!==p&&"object"==typeof p?"an invalid object":`'${p}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(N,{z:()=>E})},655:(L,N,x)=>{"use strict";function Y(ne,ce,de,ge){return new(de||(de=Promise))(function(He,tt){function kt(di){try{Ne(ge.next(di))}catch(hr){tt(hr)}}function Bt(di){try{Ne(ge.throw(di))}catch(hr){tt(hr)}}function Ne(di){di.done?He(di.value):function pe(He){return He instanceof de?He:new de(function(tt){tt(He)})}(di.value).then(kt,Bt)}Ne((ge=ge.apply(ne,ce||[])).next())})}function le(ne){return this instanceof le?(this.v=ne,this):new le(ne)}function Te(ne,ce,de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,ge=de.apply(ne,ce||[]),He=[];return pe={},tt("next"),tt("throw"),tt("return"),pe[Symbol.asyncIterator]=function(){return this},pe;function tt(ai){ge[ai]&&(pe[ai]=function(Ht){return new Promise(function(Qn,Qi){He.push([ai,Ht,Qn,Qi])>1||kt(ai,Ht)})})}function kt(ai,Ht){try{!function Bt(ai){ai.value instanceof le?Promise.resolve(ai.value.v).then(Ne,di):hr(He[0][2],ai)}(ge[ai](Ht))}catch(Qn){hr(He[0][3],Qn)}}function Ne(ai){kt("next",ai)}function di(ai){kt("throw",ai)}function hr(ai,Ht){ai(Ht),He.shift(),He.length&&kt(He[0][0],He[0][1])}}function De(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,ce=ne[Symbol.asyncIterator];return ce?ce.call(ne):(ne=function re(ne){var ce="function"==typeof Symbol&&Symbol.iterator,de=ce&&ne[ce],ge=0;if(de)return de.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&ge>=ne.length&&(ne=void 0),{value:ne&&ne[ge++],done:!ne}}};throw new TypeError(ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),de={},ge("next"),ge("throw"),ge("return"),de[Symbol.asyncIterator]=function(){return this},de);function ge(He){de[He]=ne[He]&&function(tt){return new Promise(function(kt,Bt){!function pe(He,tt,kt,Bt){Promise.resolve(Bt).then(function(Ne){He({value:Ne,done:kt})},tt)}(kt,Bt,(tt=ne[He](tt)).done,tt.value)})}}}x.d(N,{mG:()=>Y,qq:()=>le,FC:()=>Te,KL:()=>De})},9808:(L,N,x)=>{"use strict";x.d(N,{mr:()=>Me,Ov:()=>cf,ez:()=>pt,K0:()=>q,Do:()=>Ce,V_:()=>$,Ye:()=>fe,S$:()=>le,mk:()=>Lr,sg:()=>wi,O5:()=>Ji,PC:()=>iu,RF:()=>Oi,n9:()=>Ki,b0:()=>De,lw:()=>Y,EM:()=>ru,JF:()=>ft,NF:()=>Ni,w_:()=>j,bD:()=>vi,q:()=>I,Mx:()=>So,HT:()=>B});var E=x(5e3);let p=null;function I(){return p}function B(M){p||(p=M)}class j{}const q=new E.OlP("DocumentToken");let Y=(()=>{class M{historyGo(H){throw new Error("Not implemented")}}return M.\u0275fac=function(H){return new(H||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function U(){return(0,E.LFG)(z)}()},providedIn:"platform"}),M})();const $=new E.OlP("Location Initialized");let z=(()=>{class M extends Y{constructor(H){super(),this._doc=H,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return I().getBaseHref(this._doc)}onPopState(H){const V=I().getGlobalEventTarget(this._doc,"window");return V.addEventListener("popstate",H,!1),()=>V.removeEventListener("popstate",H)}onHashChange(H){const V=I().getGlobalEventTarget(this._doc,"window");return V.addEventListener("hashchange",H,!1),()=>V.removeEventListener("hashchange",H)}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(H){this.location.pathname=H}pushState(H,V,J){re()?this._history.pushState(H,V,J):this.location.hash=J}replaceState(H,V,J){re()?this._history.replaceState(H,V,J):this.location.hash=J}forward(){this._history.forward()}back(){this._history.back()}historyGo(H=0){this._history.go(H)}getState(){return this._history.state}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(q))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function oe(){return new z((0,E.LFG)(q))}()},providedIn:"platform"}),M})();function re(){return!!window.history.pushState}function W(M,k){if(0==M.length)return k;if(0==k.length)return M;let H=0;return M.endsWith("/")&&H++,k.startsWith("/")&&H++,2==H?M+k.substring(1):1==H?M+k:M+"/"+k}function ae(M){const k=M.match(/#|\?|$/),H=k&&k.index||M.length;return M.slice(0,H-("/"===M[H-1]?1:0))+M.slice(H)}function ie(M){return M&&"?"!==M[0]?"?"+M:M}let le=(()=>{class M{historyGo(H){throw new Error("Not implemented")}}return M.\u0275fac=function(H){return new(H||M)},M.\u0275prov=E.Yz7({token:M,factory:function(){return function Te(M){const k=(0,E.LFG)(q).location;return new De((0,E.LFG)(Y),k&&k.origin||"")}()},providedIn:"root"}),M})();const Me=new E.OlP("appBaseHref");let De=(()=>{class M extends le{constructor(H,V){if(super(),this._platformLocation=H,this._removeListenerFns=[],null==V&&(V=this._platformLocation.getBaseHrefFromDOM()),null==V)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=V}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}prepareExternalUrl(H){return W(this._baseHref,H)}path(H=!1){const V=this._platformLocation.pathname+ie(this._platformLocation.search),J=this._platformLocation.hash;return J&&H?`${V}${J}`:V}pushState(H,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.pushState(H,V,_e)}replaceState(H,V,J,ue){const _e=this.prepareExternalUrl(J+ie(ue));this._platformLocation.replaceState(H,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,H)}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(Y),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),Ce=(()=>{class M extends le{constructor(H,V){super(),this._platformLocation=H,this._baseHref="",this._removeListenerFns=[],null!=V&&(this._baseHref=V)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}path(H=!1){let V=this._platformLocation.hash;return null==V&&(V="#"),V.length>0?V.substring(1):V}prepareExternalUrl(H){const V=W(this._baseHref,H);return V.length>0?"#"+V:V}pushState(H,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.pushState(H,V,_e)}replaceState(H,V,J,ue){let _e=this.prepareExternalUrl(J+ie(ue));0==_e.length&&(_e=this._platformLocation.pathname),this._platformLocation.replaceState(H,V,_e)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformLocation).historyGo)||void 0===J||J.call(V,H)}}return M.\u0275fac=function(H){return new(H||M)(E.LFG(Y),E.LFG(Me,8))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})(),fe=(()=>{class M{constructor(H,V){this._subject=new E.vpe,this._urlChangeListeners=[],this._platformStrategy=H;const J=this._platformStrategy.getBaseHref();this._platformLocation=V,this._baseHref=ae(Se(J)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(H=!1){return this.normalize(this._platformStrategy.path(H))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(H,V=""){return this.path()==this.normalize(H+ie(V))}normalize(H){return M.stripTrailingSlash(function Ze(M,k){return M&&k.startsWith(M)?k.substring(M.length):k}(this._baseHref,Se(H)))}prepareExternalUrl(H){return H&&"/"!==H[0]&&(H="/"+H),this._platformStrategy.prepareExternalUrl(H)}go(H,V="",J=null){this._platformStrategy.pushState(J,"",H,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+ie(V)),J)}replaceState(H,V="",J=null){this._platformStrategy.replaceState(J,"",H,V),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+ie(V)),J)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(H=0){var V,J;null===(J=(V=this._platformStrategy).historyGo)||void 0===J||J.call(V,H)}onUrlChange(H){this._urlChangeListeners.push(H),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(V=>{this._notifyUrlChangeListeners(V.url,V.state)}))}_notifyUrlChangeListeners(H="",V){this._urlChangeListeners.forEach(J=>J(H,V))}subscribe(H,V,J){return this._subject.subscribe({next:H,error:V,complete:J})}}return M.normalizeQueryParams=ie,M.joinWithSlash=W,M.stripTrailingSlash=ae,M.\u0275fac=function(H){return new(H||M)(E.LFG(le),E.LFG(Y))},M.\u0275prov=E.Yz7({token:M,factory:function(){return function ve(){return new fe((0,E.LFG)(le),(0,E.LFG)(Y))}()},providedIn:"root"}),M})();function Se(M){return M.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))();const fr=E.kL8;class Ot{}let Rn=(()=>{class M extends Ot{constructor(H){super(),this.locale=H}getPluralCategory(H,V){switch(fr(V||this.locale)(H)){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 M.\u0275fac=function(H){return new(H||M)(E.LFG(E.soG))},M.\u0275prov=E.Yz7({token:M,factory:M.\u0275fac}),M})();function So(M,k){k=encodeURIComponent(k);for(const H of M.split(";")){const V=H.indexOf("="),[J,ue]=-1==V?[H,""]:[H.slice(0,V),H.slice(V+1)];if(J.trim()===k)return decodeURIComponent(ue)}return null}let Lr=(()=>{class M{constructor(H,V,J,ue){this._iterableDiffers=H,this._keyValueDiffers=V,this._ngEl=J,this._renderer=ue,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(H){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof H?H.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(H){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof H?H.split(/\s+/):H,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 H=this._iterableDiffer.diff(this._rawClass);H&&this._applyIterableChanges(H)}else if(this._keyValueDiffer){const H=this._keyValueDiffer.diff(this._rawClass);H&&this._applyKeyValueChanges(H)}}_applyKeyValueChanges(H){H.forEachAddedItem(V=>this._toggleClass(V.key,V.currentValue)),H.forEachChangedItem(V=>this._toggleClass(V.key,V.currentValue)),H.forEachRemovedItem(V=>{V.previousValue&&this._toggleClass(V.key,!1)})}_applyIterableChanges(H){H.forEachAddedItem(V=>{if("string"!=typeof V.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,E.AaK)(V.item)}`);this._toggleClass(V.item,!0)}),H.forEachRemovedItem(V=>this._toggleClass(V.item,!1))}_applyClasses(H){H&&(Array.isArray(H)||H instanceof Set?H.forEach(V=>this._toggleClass(V,!0)):Object.keys(H).forEach(V=>this._toggleClass(V,!!H[V])))}_removeClasses(H){H&&(Array.isArray(H)||H instanceof Set?H.forEach(V=>this._toggleClass(V,!1)):Object.keys(H).forEach(V=>this._toggleClass(V,!1)))}_toggleClass(H,V){(H=H.trim())&&H.split(/\s+/g).forEach(J=>{V?this._renderer.addClass(this._ngEl.nativeElement,J):this._renderer.removeClass(this._ngEl.nativeElement,J)})}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.ZZ4),E.Y36(E.aQg),E.Y36(E.SBq),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),M})();class Ca{constructor(k,H,V,J){this.$implicit=k,this.ngForOf=H,this.index=V,this.count=J}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 M{constructor(H,V,J){this._viewContainer=H,this._template=V,this._differs=J,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(H){this._ngForOf=H,this._ngForOfDirty=!0}set ngForTrackBy(H){this._trackByFn=H}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(H){H&&(this._template=H)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const H=this._ngForOf;!this._differ&&H&&(this._differ=this._differs.find(H).create(this.ngForTrackBy))}if(this._differ){const H=this._differ.diff(this._ngForOf);H&&this._applyChanges(H)}}_applyChanges(H){const V=this._viewContainer;H.forEachOperation((J,ue,_e)=>{if(null==J.previousIndex)V.createEmbeddedView(this._template,new Ca(J.item,this._ngForOf,-1,-1),null===_e?void 0:_e);else if(null==_e)V.remove(null===ue?void 0:ue);else if(null!==ue){const Ue=V.get(ue);V.move(Ue,_e),ya(Ue,J)}});for(let J=0,ue=V.length;J{ya(V.get(J.currentIndex),J)})}static ngTemplateContextGuard(H,V){return!0}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();function ya(M,k){M.context.$implicit=k.item}let Ji=(()=>{class M{constructor(H,V){this._viewContainer=H,this._context=new It,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=V}set ngIf(H){this._context.$implicit=this._context.ngIf=H,this._updateView()}set ngIfThen(H){tu("ngIfThen",H),this._thenTemplateRef=H,this._thenViewRef=null,this._updateView()}set ngIfElse(H){tu("ngIfElse",H),this._elseTemplateRef=H,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(H,V){return!0}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class It{constructor(){this.$implicit=null,this.ngIf=null}}function tu(M,k){if(k&&!k.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,E.AaK)(k)}'.`)}class nc{constructor(k,H){this._viewContainerRef=k,this._templateRef=H,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let Oi=(()=>{class M{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(H){this._ngSwitch=H,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(H){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(H)}_matchCase(H){const V=H==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||V,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),V}_updateDefaultCases(H){if(this._defaultViews&&H!==this._defaultUsed){this._defaultUsed=H;for(let V=0;V{class M{constructor(H,V,J){this.ngSwitch=J,J._addCase(),this._view=new nc(H,V)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(Oi,9))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),M})(),iu=(()=>{class M{constructor(H,V,J){this._ngEl=H,this._differs=V,this._renderer=J,this._ngStyle=null,this._differ=null}set ngStyle(H){this._ngStyle=H,!this._differ&&H&&(this._differ=this._differs.find(H).create())}ngDoCheck(){if(this._differ){const H=this._differ.diff(this._ngStyle);H&&this._applyChanges(H)}}_setStyle(H,V){const[J,ue]=H.split(".");null!=(V=null!=V&&ue?`${V}${ue}`:V)?this._renderer.setStyle(this._ngEl.nativeElement,J,V):this._renderer.removeStyle(this._ngEl.nativeElement,J)}_applyChanges(H){H.forEachRemovedItem(V=>this._setStyle(V.key,null)),H.forEachAddedItem(V=>this._setStyle(V.key,V.currentValue)),H.forEachChangedItem(V=>this._setStyle(V.key,V.currentValue))}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},M.\u0275dir=E.lG2({type:M,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),M})();class $b{createSubscription(k,H){return k.subscribe({next:H,error:V=>{throw V}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class Qb{createSubscription(k,H){return k.then(H,V=>{throw V})}dispose(k){}onDestroy(k){}}const Yb=new Qb,Jb=new $b;let cf=(()=>{class M{constructor(H){this._ref=H,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(H){return this._obj?H!==this._obj?(this._dispose(),this.transform(H)):this._latestValue:(H&&this._subscribe(H),this._latestValue)}_subscribe(H){this._obj=H,this._strategy=this._selectStrategy(H),this._subscription=this._strategy.createSubscription(H,V=>this._updateLatestValue(H,V))}_selectStrategy(H){if((0,E.QGY)(H))return Yb;if((0,E.F4k)(H))return Jb;throw function hn(M,k){return new E.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(H,V){H===this._obj&&(this._latestValue=V,this._ref.markForCheck())}}return M.\u0275fac=function(H){return new(H||M)(E.Y36(E.sBO,16))},M.\u0275pipe=E.Yjl({name:"async",type:M,pure:!1}),M})(),pt=(()=>{class M{}return M.\u0275fac=function(H){return new(H||M)},M.\u0275mod=E.oAB({type:M}),M.\u0275inj=E.cJS({providers:[{provide:Ot,useClass:Rn}]}),M})();const vi="browser";function Ni(M){return M===vi}let ru=(()=>{class M{}return M.\u0275prov=(0,E.Yz7)({token:M,providedIn:"root",factory:()=>new Ho((0,E.LFG)(q),window)}),M})();class Ho{constructor(k,H){this.document=k,this.window=H,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const H=function Po(M,k){const H=M.getElementById(k)||M.getElementsByName(k)[0];if(H)return H;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const V=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let J=V.currentNode;for(;J;){const ue=J.shadowRoot;if(ue){const _e=ue.getElementById(k)||ue.querySelector(`[name="${k}"]`);if(_e)return _e}J=V.nextNode()}}return null}(this.document,k);H&&(this.scrollToElement(H),H.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const H=this.window.history;H&&H.scrollRestoration&&(H.scrollRestoration=k)}}scrollToElement(k){const H=k.getBoundingClientRect(),V=H.left+this.window.pageXOffset,J=H.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(V-ue[0],J-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=Do(this.window.history)||Do(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch(k){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(k){return!1}}}function Do(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class ft{}},520:(L,N,x)=>{"use strict";x.d(N,{TP:()=>tt,eN:()=>pe,JF:()=>Ci,qT:()=>Me,WM:()=>$,LE:()=>le,Zn:()=>ce});var E=x(9808),p=x(5e3),I=x(9646),O=x(8306),B=x(4351),j=x(9300),q=x(4004);class Y{}class U{}class ${constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ee=>{const Ae=ee.indexOf(":");if(Ae>0){const we=ee.slice(0,Ae),Ie=we.toLowerCase(),Re=ee.slice(Ae+1).trim();this.maybeSetNormalizedName(we,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(Re):this.headers.set(Ie,[Re])}})}:()=>{this.headers=new Map,Object.keys(X).forEach(ee=>{let Ae=X[ee];const we=ee.toLowerCase();"string"==typeof Ae&&(Ae=[Ae]),Ae.length>0&&(this.headers.set(we,Ae),this.maybeSetNormalizedName(ee,we))})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ee=this.headers.get(X.toLowerCase());return ee&&ee.length>0?ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ee){return this.clone({name:X,value:ee,op:"a"})}set(X,ee){return this.clone({name:X,value:ee,op:"s"})}delete(X,ee){return this.clone({name:X,value:ee,op:"d"})}maybeSetNormalizedName(X,ee){this.normalizedNames.has(ee)||this.normalizedNames.set(ee,X)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ee=>{this.headers.set(ee,X.headers.get(ee)),this.normalizedNames.set(ee,X.normalizedNames.get(ee))})}clone(X){const ee=new $;return ee.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,ee.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ee}applyUpdate(X){const ee=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ae=X.value;if("string"==typeof Ae&&(Ae=[Ae]),0===Ae.length)return;this.maybeSetNormalizedName(X.name,ee);const we=("a"===X.op?this.headers.get(ee):void 0)||[];we.push(...Ae),this.headers.set(ee,we);break;case"d":const Ie=X.value;if(Ie){let Re=this.headers.get(ee);if(!Re)return;Re=Re.filter(ze=>-1===Ie.indexOf(ze)),0===Re.length?(this.headers.delete(ee),this.normalizedNames.delete(ee)):this.headers.set(ee,Re)}else this.headers.delete(ee),this.normalizedNames.delete(ee)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ee=>X(this.normalizedNames.get(ee),this.headers.get(ee)))}}class z{encodeKey(X){return ae(X)}encodeValue(X){return ae(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const oe=/%(\d[a-f0-9])/gi,W={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ae(be){return encodeURIComponent(be).replace(oe,(X,ee)=>{var Ae;return null!==(Ae=W[ee])&&void 0!==Ae?Ae:X})}function ie(be){return`${be}`}class le{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new z,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function re(be,X){const ee=new Map;return be.length>0&&be.replace(/^\?/,"").split("&").forEach(we=>{const Ie=we.indexOf("="),[Re,ze]=-1==Ie?[X.decodeKey(we),""]:[X.decodeKey(we.slice(0,Ie)),X.decodeValue(we.slice(Ie+1))],_t=ee.get(Re)||[];_t.push(ze),ee.set(Re,_t)}),ee}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ee=>{const Ae=X.fromObject[ee];this.map.set(ee,Array.isArray(Ae)?Ae:[Ae])})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ee=this.map.get(X);return ee?ee[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ee){return this.clone({param:X,value:ee,op:"a"})}appendAll(X){const ee=[];return Object.keys(X).forEach(Ae=>{const we=X[Ae];Array.isArray(we)?we.forEach(Ie=>{ee.push({param:Ae,value:Ie,op:"a"})}):ee.push({param:Ae,value:we,op:"a"})}),this.clone(ee)}set(X,ee){return this.clone({param:X,value:ee,op:"s"})}delete(X,ee){return this.clone({param:X,value:ee,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ee=this.encoder.encodeKey(X);return this.map.get(X).map(Ae=>ee+"="+this.encoder.encodeValue(Ae)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ee=new le({encoder:this.encoder});return ee.cloneFrom=this.cloneFrom||this,ee.updates=(this.updates||[]).concat(X),ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ee=("a"===X.op?this.map.get(X.param):void 0)||[];ee.push(ie(X.value)),this.map.set(X.param,ee);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ae=this.map.get(X.param)||[];const we=Ae.indexOf(ie(X.value));-1!==we&&Ae.splice(we,1),Ae.length>0?this.map.set(X.param,Ae):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(X,ee){return this.map.set(X,ee),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ce(be){return"undefined"!=typeof ArrayBuffer&&be instanceof ArrayBuffer}function fe(be){return"undefined"!=typeof Blob&&be instanceof Blob}function ve(be){return"undefined"!=typeof FormData&&be instanceof FormData}class Se{constructor(X,ee,Ae,we){let Ie;if(this.url=ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function De(be){switch(be){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||we?(this.body=void 0!==Ae?Ae:null,Ie=we):Ie=Ae,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params)),this.headers||(this.headers=new $),this.context||(this.context=new Me),this.params){const Re=this.params.toString();if(0===Re.length)this.urlWithParams=ee;else{const ze=ee.indexOf("?");this.urlWithParams=ee+(-1===ze?"?":zeXt.set(ht,X.setHeaders[ht]),Zt)),X.setParams&&(ut=Object.keys(X.setParams).reduce((Xt,ht)=>Xt.set(ht,X.setParams[ht]),ut)),new Se(Ae,we,Re,{params:ut,headers:Zt,context:Yn,reportProgress:_t,responseType:Ie,withCredentials:ze})}}var xe=(()=>((xe=xe||{})[xe.Sent=0]="Sent",xe[xe.UploadProgress=1]="UploadProgress",xe[xe.ResponseHeader=2]="ResponseHeader",xe[xe.DownloadProgress=3]="DownloadProgress",xe[xe.Response=4]="Response",xe[xe.User=5]="User",xe))();class Be{constructor(X,ee=200,Ae="OK"){this.headers=X.headers||new $,this.status=void 0!==X.status?X.status:ee,this.statusText=X.statusText||Ae,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ne extends Be{constructor(X={}){super(X),this.type=xe.ResponseHeader}clone(X={}){return new ne({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class ce extends Be{constructor(X={}){super(X),this.type=xe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new ce({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class de extends Be{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function ge(be,X){return{body:X,headers:be.headers,context:be.context,observe:be.observe,params:be.params,reportProgress:be.reportProgress,responseType:be.responseType,withCredentials:be.withCredentials}}let pe=(()=>{class be{constructor(ee){this.handler=ee}request(ee,Ae,we={}){let Ie;if(ee instanceof Se)Ie=ee;else{let _t,Zt;_t=we.headers instanceof $?we.headers:new $(we.headers),we.params&&(Zt=we.params instanceof le?we.params:new le({fromObject:we.params})),Ie=new Se(ee,Ae,void 0!==we.body?we.body:null,{headers:_t,context:we.context,params:Zt,reportProgress:we.reportProgress,responseType:we.responseType||"json",withCredentials:we.withCredentials})}const Re=(0,I.of)(Ie).pipe((0,B.b)(_t=>this.handler.handle(_t)));if(ee instanceof Se||"events"===we.observe)return Re;const ze=Re.pipe((0,j.h)(_t=>_t instanceof ce));switch(we.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _t.body}));case"blob":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&!(_t.body instanceof Blob))throw new Error("Response is not a Blob.");return _t.body}));case"text":return ze.pipe((0,q.U)(_t=>{if(null!==_t.body&&"string"!=typeof _t.body)throw new Error("Response is not a string.");return _t.body}));default:return ze.pipe((0,q.U)(_t=>_t.body))}case"response":return ze;default:throw new Error(`Unreachable: unhandled observe type ${we.observe}}`)}}delete(ee,Ae={}){return this.request("DELETE",ee,Ae)}get(ee,Ae={}){return this.request("GET",ee,Ae)}head(ee,Ae={}){return this.request("HEAD",ee,Ae)}jsonp(ee,Ae){return this.request("JSONP",ee,{params:(new le).append(Ae,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ee,Ae={}){return this.request("OPTIONS",ee,Ae)}patch(ee,Ae,we={}){return this.request("PATCH",ee,ge(we,Ae))}post(ee,Ae,we={}){return this.request("POST",ee,ge(we,Ae))}put(ee,Ae,we={}){return this.request("PUT",ee,ge(we,Ae))}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(Y))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();class He{constructor(X,ee){this.next=X,this.interceptor=ee}handle(X){return this.interceptor.intercept(X,this.next)}}const tt=new p.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class be{intercept(ee,Ae){return Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();const Qi=/^\)\]\}',?\n/;let pr=(()=>{class be{constructor(ee){this.xhrFactory=ee}handle(ee){if("JSONP"===ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(Ae=>{const we=this.xhrFactory.build();if(we.open(ee.method,ee.urlWithParams),ee.withCredentials&&(we.withCredentials=!0),ee.headers.forEach((ht,Fe)=>we.setRequestHeader(ht,Fe.join(","))),ee.headers.has("Accept")||we.setRequestHeader("Accept","application/json, text/plain, */*"),!ee.headers.has("Content-Type")){const ht=ee.detectContentTypeHeader();null!==ht&&we.setRequestHeader("Content-Type",ht)}if(ee.responseType){const ht=ee.responseType.toLowerCase();we.responseType="json"!==ht?ht:"text"}const Ie=ee.serializeBody();let Re=null;const ze=()=>{if(null!==Re)return Re;const ht=we.statusText||"OK",Fe=new $(we.getAllResponseHeaders()),cn=function ui(be){return"responseURL"in be&&be.responseURL?be.responseURL:/^X-Request-URL:/m.test(be.getAllResponseHeaders())?be.getResponseHeader("X-Request-URL"):null}(we)||ee.url;return Re=new ne({headers:Fe,status:we.status,statusText:ht,url:cn}),Re},_t=()=>{let{headers:ht,status:Fe,statusText:cn,url:xt}=ze(),si=null;204!==Fe&&(si=void 0===we.response?we.responseText:we.response),0===Fe&&(Fe=si?200:0);let Sn=Fe>=200&&Fe<300;if("json"===ee.responseType&&"string"==typeof si){const dn=si;si=si.replace(Qi,"");try{si=""!==si?JSON.parse(si):null}catch(Mn){si=dn,Sn&&(Sn=!1,si={error:Mn,text:si})}}Sn?(Ae.next(new ce({body:si,headers:ht,status:Fe,statusText:cn,url:xt||void 0})),Ae.complete()):Ae.error(new de({error:si,headers:ht,status:Fe,statusText:cn,url:xt||void 0}))},Zt=ht=>{const{url:Fe}=ze(),cn=new de({error:ht,status:we.status||0,statusText:we.statusText||"Unknown Error",url:Fe||void 0});Ae.error(cn)};let ut=!1;const Yn=ht=>{ut||(Ae.next(ze()),ut=!0);let Fe={type:xe.DownloadProgress,loaded:ht.loaded};ht.lengthComputable&&(Fe.total=ht.total),"text"===ee.responseType&&!!we.responseText&&(Fe.partialText=we.responseText),Ae.next(Fe)},Xt=ht=>{let Fe={type:xe.UploadProgress,loaded:ht.loaded};ht.lengthComputable&&(Fe.total=ht.total),Ae.next(Fe)};return we.addEventListener("load",_t),we.addEventListener("error",Zt),we.addEventListener("timeout",Zt),we.addEventListener("abort",Zt),ee.reportProgress&&(we.addEventListener("progress",Yn),null!==Ie&&we.upload&&we.upload.addEventListener("progress",Xt)),we.send(Ie),Ae.next({type:xe.Sent}),()=>{we.removeEventListener("error",Zt),we.removeEventListener("abort",Zt),we.removeEventListener("load",_t),we.removeEventListener("timeout",Zt),ee.reportProgress&&(we.removeEventListener("progress",Yn),null!==Ie&&we.upload&&we.upload.removeEventListener("progress",Xt)),we.readyState!==we.DONE&&we.abort()}})}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(E.JF))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})();const rs=new p.OlP("XSRF_COOKIE_NAME"),as=new p.OlP("XSRF_HEADER_NAME");class ss{}let Vr=(()=>{class be{constructor(ee,Ae,we){this.doc=ee,this.platform=Ae,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ee=this.doc.cookie||"";return ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.Mx)(ee,this.cookieName),this.lastCookieString=ee),this.lastToken}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(E.K0),p.LFG(p.Lbi),p.LFG(rs))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),fr=(()=>{class be{constructor(ee,Ae){this.tokenService=ee,this.headerName=Ae}intercept(ee,Ae){const we=ee.url.toLowerCase();if("GET"===ee.method||"HEAD"===ee.method||we.startsWith("http://")||we.startsWith("https://"))return Ae.handle(ee);const Ie=this.tokenService.getToken();return null!==Ie&&!ee.headers.has(this.headerName)&&(ee=ee.clone({headers:ee.headers.set(this.headerName,Ie)})),Ae.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(ss),p.LFG(as))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),Br=(()=>{class be{constructor(ee,Ae){this.backend=ee,this.injector=Ae,this.chain=null}handle(ee){if(null===this.chain){const Ae=this.injector.get(tt,[]);this.chain=Ae.reduceRight((we,Ie)=>new He(we,Ie),this.backend)}return this.chain.handle(ee)}}return be.\u0275fac=function(ee){return new(ee||be)(p.LFG(U),p.LFG(p.zs3))},be.\u0275prov=p.Yz7({token:be,factory:be.\u0275fac}),be})(),vo=(()=>{class be{static disable(){return{ngModule:be,providers:[{provide:fr,useClass:kt}]}}static withOptions(ee={}){return{ngModule:be,providers:[ee.cookieName?{provide:rs,useValue:ee.cookieName}:[],ee.headerName?{provide:as,useValue:ee.headerName}:[]]}}}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=p.oAB({type:be}),be.\u0275inj=p.cJS({providers:[fr,{provide:tt,useExisting:fr,multi:!0},{provide:ss,useClass:Vr},{provide:rs,useValue:"XSRF-TOKEN"},{provide:as,useValue:"X-XSRF-TOKEN"}]}),be})(),Ci=(()=>{class be{}return be.\u0275fac=function(ee){return new(ee||be)},be.\u0275mod=p.oAB({type:be}),be.\u0275inj=p.cJS({providers:[pe,{provide:Y,useClass:Br},pr,{provide:U,useExisting:pr}],imports:[[vo.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),be})()},5e3:(L,N,x)=>{"use strict";x.d(N,{deG:()=>vu,tb:()=>G_,AFp:()=>aA,ip1:()=>Sp,CZH:()=>go,hGG:()=>AA,z2F:()=>Ld,sBO:()=>gA,Sil:()=>q_,_Vd:()=>oo,EJc:()=>Fd,SBq:()=>lo,qLn:()=>Vs,vpe:()=>xn,tBr:()=>Jo,XFs:()=>it,OlP:()=>$t,zs3:()=>wn,ZZ4:()=>Ul,aQg:()=>Ya,soG:()=>Mp,YKP:()=>Ov,h0i:()=>Il,PXZ:()=>UT,R0b:()=>Tn,FiY:()=>Gr,Lbi:()=>lA,g9A:()=>oA,n_E:()=>Dd,Qsj:()=>Hv,FYo:()=>h_,JOm:()=>Tr,q3G:()=>ii,tp0:()=>Ur,Rgc:()=>ca,dDg:()=>dA,GfV:()=>p_,s_b:()=>Bl,ifc:()=>Ie,eFA:()=>K_,G48:()=>ab,Gpc:()=>z,f3M:()=>Vf,_c5:()=>_b,VLi:()=>GT,c2e:()=>U_,zSh:()=>fh,wAp:()=>Ye,vHH:()=>ae,EiD:()=>QC,mCW:()=>Sc,qzn:()=>Ps,JVY:()=>OC,pB0:()=>zf,eBb:()=>FC,L6k:()=>Lu,LAX:()=>LC,cg1:()=>Lm,kL8:()=>qw,yhl:()=>Nf,dqk:()=>ut,sIi:()=>Cl,CqO:()=>sn,QGY:()=>fd,F4k:()=>Dr,RDi:()=>Do,AaK:()=>Y,z3N:()=>er,qOj:()=>Eh,TTD:()=>Di,_Bn:()=>o_,xp6:()=>Ju,uIk:()=>Gi,ekj:()=>Dm,Suo:()=>kd,Xpm:()=>xo,lG2:()=>jt,Yz7:()=>Ht,cJS:()=>Qi,oAB:()=>_a,Yjl:()=>Nt,Y36:()=>Hr,_UZ:()=>gm,GkF:()=>bm,BQk:()=>pd,ynx:()=>hd,qZA:()=>ud,TgZ:()=>Bh,EpF:()=>Cm,n5z:()=>Ef,Ikx:()=>Ad,LFG:()=>_i,$8M:()=>Ha,$Z:()=>fm,NdJ:()=>Oh,CRH:()=>_p,kcU:()=>Oo,O4$:()=>bf,oxw:()=>gw,ALo:()=>w_,lcZ:()=>op,xi3:()=>lp,Dn7:()=>v_,Hsn:()=>_w,F$t:()=>mw,Q6J:()=>Vh,s9C:()=>wm,VKq:()=>Gv,iGM:()=>fo,MAs:()=>im,CHM:()=>ff,oJD:()=>Dc,LSH:()=>Gu,Udp:()=>bd,WFA:()=>Al,d8E:()=>Tl,YNc:()=>em,_uU:()=>Rw,Oqu:()=>Uh,hij:()=>xl,AsE:()=>Vm,Gf:()=>mp});var E=x(7579),p=x(727),I=x(8306),O=x(6451),B=x(3099);function j(h){for(let g in h)if(h[g]===j)return g;throw Error("Could not find renamed property on target object.")}function q(h,g){for(const m in g)g.hasOwnProperty(m)&&!h.hasOwnProperty(m)&&(h[m]=g[m])}function Y(h){if("string"==typeof h)return h;if(Array.isArray(h))return"["+h.map(Y).join(", ")+"]";if(null==h)return""+h;if(h.overriddenName)return`${h.overriddenName}`;if(h.name)return`${h.name}`;const g=h.toString();if(null==g)return""+g;const m=g.indexOf("\n");return-1===m?g:g.substring(0,m)}function U(h,g){return null==h||""===h?null===g?"":g:null==g||""===g?h:h+" "+g}const $=j({__forward_ref__:j});function z(h){return h.__forward_ref__=z,h.toString=function(){return Y(this())},h}function re(h){return oe(h)?h():h}function oe(h){return"function"==typeof h&&h.hasOwnProperty($)&&h.__forward_ref__===z}class ae extends Error{constructor(g,m){super(function ie(h,g){return`NG0${Math.abs(h)}${g?": "+g:""}`}(g,m)),this.code=g}}function le(h){return"string"==typeof h?h:null==h?"":String(h)}function Te(h){return"function"==typeof h?h.name||h.toString():"object"==typeof h&&null!=h&&"function"==typeof h.type?h.type.name||h.type.toString():le(h)}function fe(h,g){const m=g?` in ${g}`:"";throw new ae(-201,`No provider for ${Te(h)} found${m}`)}function Bt(h,g){null==h&&function Ne(h,g,m,_){throw new Error(`ASSERTION ERROR: ${h}`+(null==_?"":` [Expected=> ${m} ${_} ${g} <=Actual]`))}(g,h,null,"!=")}function Ht(h){return{token:h.token,providedIn:h.providedIn||null,factory:h.factory,value:void 0}}function Qi(h){return{providers:h.providers||[],imports:h.imports||[]}}function ui(h){return pr(h,Vr)||pr(h,Br)}function pr(h,g){return h.hasOwnProperty(g)?h[g]:null}function ss(h){return h&&(h.hasOwnProperty(fr)||h.hasOwnProperty(eu))?h[fr]:null}const Vr=j({\u0275prov:j}),fr=j({\u0275inj:j}),Br=j({ngInjectableDef:j}),eu=j({ngInjectorDef:j});var it=(()=>((it=it||{})[it.Default=0]="Default",it[it.Host=1]="Host",it[it.Self=2]="Self",it[it.SkipSelf=4]="SkipSelf",it[it.Optional=8]="Optional",it))();let vo;function Vi(h){const g=vo;return vo=h,g}function Ao(h,g,m){const _=ui(h);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:m&it.Optional?null:void 0!==g?g:void fe(Y(h),"Injector")}function X(h){return{toString:h}.toString()}var ee=(()=>((ee=ee||{})[ee.OnPush=0]="OnPush",ee[ee.Default=1]="Default",ee))(),Ie=(()=>{return(h=Ie||(Ie={}))[h.Emulated=0]="Emulated",h[h.None=2]="None",h[h.ShadowDom=3]="ShadowDom",Ie;var h})();const Re="undefined"!=typeof globalThis&&globalThis,ze="undefined"!=typeof window&&window,_t="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ut=Re||"undefined"!=typeof global&&global||ze||_t,ht={},Fe=[],cn=j({\u0275cmp:j}),xt=j({\u0275dir:j}),si=j({\u0275pipe:j}),Sn=j({\u0275mod:j}),dn=j({\u0275fac:j}),Mn=j({__NG_ELEMENT_ID__:j});let sf=0;function xo(h){return X(()=>{const m={},_={type:h.type,providersResolver:null,decls:h.decls,vars:h.vars,factory:null,template:h.template||null,consts:h.consts||null,ngContentSelectors:h.ngContentSelectors,hostBindings:h.hostBindings||null,hostVars:h.hostVars||0,hostAttrs:h.hostAttrs||null,contentQueries:h.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:h.exportAs||null,onPush:h.changeDetection===ee.OnPush,directiveDefs:null,pipeDefs:null,selectors:h.selectors||Fe,viewQuery:h.viewQuery||null,features:h.features||null,data:h.data||{},encapsulation:h.encapsulation||Ie.Emulated,id:"c",styles:h.styles||Fe,_:null,setInput:null,schemas:h.schemas||null,tView:null},C=h.directives,w=h.features,v=h.pipes;return _.id+=sf++,_.inputs=y(h.inputs,m),_.outputs=y(h.outputs),w&&w.forEach(T=>T(_)),_.directiveDefs=C?()=>("function"==typeof C?C():C).map(os):null,_.pipeDefs=v?()=>("function"==typeof v?v():v).map(Hn):null,_})}function os(h){return hi(h)||function We(h){return h[xt]||null}(h)}function Hn(h){return function Dn(h){return h[si]||null}(h)}const tc={};function _a(h){return X(()=>{const g={type:h.type,bootstrap:h.bootstrap||Fe,declarations:h.declarations||Fe,imports:h.imports||Fe,exports:h.exports||Fe,transitiveCompileScopes:null,schemas:h.schemas||null,id:h.id||null};return null!=h.id&&(tc[h.id]=h.type),g})}function y(h,g){if(null==h)return ht;const m={};for(const _ in h)if(h.hasOwnProperty(_)){let C=h[_],w=C;Array.isArray(C)&&(w=C[1],C=C[0]),m[C]=_,g&&(g[C]=w)}return m}const jt=xo;function Nt(h){return{type:h.type,name:h.name,factory:null,pure:!1!==h.pure,onDestroy:h.type.prototype.ngOnDestroy||null}}function hi(h){return h[cn]||null}function gi(h,g){const m=h[Sn]||null;if(!m&&!0===g)throw new Error(`Type ${Y(h)} does not have '\u0275mod' property.`);return m}function Oi(h){return Array.isArray(h)&&"object"==typeof h[1]}function Ki(h){return Array.isArray(h)&&!0===h[1]}function rc(h){return 0!=(8&h.flags)}function ac(h){return 2==(2&h.flags)}function cs(h){return 1==(1&h.flags)}function un(h){return null!==h.template}function iu(h){return 0!=(512&h[2])}function Hi(h,g){return h.hasOwnProperty(dn)?h[dn]:null}class qt{constructor(g,m,_){this.previousValue=g,this.currentValue=m,this.firstChange=_}isFirstChange(){return this.firstChange}}function Di(){return Li}function Li(h){return h.type.prototype.ngOnChanges&&(h.setInput=hf),sc}function sc(){const h=vi(this),g=null==h?void 0:h.current;if(g){const m=h.previous;if(m===ht)h.previous=g;else for(let _ in g)m[_]=g[_];h.current=null,this.ngOnChanges(g)}}function hf(h,g,m,_){const C=vi(h)||function Ut(h,g){return h[pt]=g}(h,{previous:ht,current:null}),w=C.current||(C.current={}),v=C.previous,T=this.declaredInputs[m],S=v[T];w[T]=new qt(S&&S.currentValue,g,v===ht),h[_]=g}Di.ngInherit=!0;const pt="__ngSimpleChanges__";function vi(h){return h[pt]||null}let Ho;function Do(h){Ho=h}function Po(){return void 0!==Ho?Ho:"undefined"!=typeof document?document:void 0}function ft(h){return!!h.listen}const M={createRenderer:(h,g)=>Po()};function H(h){for(;Array.isArray(h);)h=h[0];return h}function ue(h,g){return H(g[h])}function _e(h,g){return H(g[h.index])}function Pt(h,g){return h.data[g]}function St(h,g){return h[g]}function gt(h,g){const m=g[h];return Oi(m)?m:m[0]}function yt(h){return 4==(4&h[2])}function ti(h){return 128==(128&h[2])}function zt(h,g){return null==g?null:h[g]}function jr(h){h[18]=0}function kn(h,g){h[5]+=g;let m=h,_=h[3];for(;null!==_&&(1===g&&1===m[5]||-1===g&&0===m[5]);)_[5]+=g,m=_,_=_[3]}const Je={lFrame:ms(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function xa(){return Je.bindingsEnabled}function ye(){return Je.lFrame.lView}function wt(){return Je.lFrame.tView}function ff(h){return Je.lFrame.contextLView=h,h[8]}function Rt(){let h=su();for(;null!==h&&64===h.type;)h=h.parent;return h}function su(){return Je.lFrame.currentTNode}function In(h,g){const m=Je.lFrame;m.currentTNode=h,m.isParent=g}function gf(){return Je.lFrame.isParent}function li(){Je.lFrame.isParent=!1}function cc(){return Je.isInCheckNoChangesMode}function ko(h){Je.isInCheckNoChangesMode=h}function Ai(){const h=Je.lFrame;let g=h.bindingRootIndex;return-1===g&&(g=h.bindingRootIndex=h.tView.bindingStartIndex),g}function gs(){return Je.lFrame.bindingIndex++}function Kn(h){const g=Je.lFrame,m=g.bindingIndex;return g.bindingIndex=g.bindingIndex+h,m}function Ta(h,g){const m=Je.lFrame;m.bindingIndex=m.bindingRootIndex=h,Ea(g)}function Ea(h){Je.lFrame.currentDirectiveIndex=h}function lu(h){const g=Je.lFrame.currentDirectiveIndex;return-1===g?null:h[g]}function Nr(){return Je.lFrame.currentQueryIndex}function cu(h){Je.lFrame.currentQueryIndex=h}function _f(h){const g=h[1];return 2===g.type?g.declTNode:1===g.type?h[6]:null}function du(h,g,m){if(m&it.SkipSelf){let C=g,w=h;for(;!(C=C.parent,null!==C||m&it.Host||(C=_f(w),null===C||(w=w[15],10&C.type))););if(null===C)return!1;g=C,h=w}const _=Je.lFrame=Vo();return _.currentTNode=g,_.lView=h,!0}function dc(h){const g=Vo(),m=h[1];Je.lFrame=g,g.currentTNode=m.firstChild,g.lView=h,g.tView=m,g.contextLView=h,g.bindingIndex=m.bindingStartIndex,g.inI18n=!1}function Vo(){const h=Je.lFrame,g=null===h?null:h.child;return null===g?ms(h):g}function ms(h){const g={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:h,child:null,inI18n:!1};return null!==h&&(h.child=g),g}function uu(){const h=Je.lFrame;return Je.lFrame=h.parent,h.currentTNode=null,h.lView=null,h}const Bo=uu;function uc(){const h=uu();h.isParent=!0,h.tView=null,h.selectedIndex=-1,h.contextLView=null,h.elementDepthCount=0,h.currentDirectiveIndex=-1,h.currentNamespace=null,h.bindingRootIndex=-1,h.bindingIndex=-1,h.currentQueryIndex=0}function xi(){return Je.lFrame.selectedIndex}function Cr(h){Je.lFrame.selectedIndex=h}function Wt(){const h=Je.lFrame;return Pt(h.tView,h.selectedIndex)}function bf(){Je.lFrame.currentNamespace="svg"}function Oo(){!function Xb(){Je.lFrame.currentNamespace=null}()}function pc(h,g){for(let m=g.directiveStart,_=g.directiveEnd;m<_;m++){const w=h.data[m].type.prototype,{ngAfterContentInit:v,ngAfterContentChecked:T,ngAfterViewInit:S,ngAfterViewChecked:P,ngOnDestroy:R}=w;v&&(h.contentHooks||(h.contentHooks=[])).push(-m,v),T&&((h.contentHooks||(h.contentHooks=[])).push(m,T),(h.contentCheckHooks||(h.contentCheckHooks=[])).push(m,T)),S&&(h.viewHooks||(h.viewHooks=[])).push(-m,S),P&&((h.viewHooks||(h.viewHooks=[])).push(m,P),(h.viewCheckHooks||(h.viewCheckHooks=[])).push(m,P)),null!=R&&(h.destroyHooks||(h.destroyHooks=[])).push(m,R)}}function fc(h,g,m){gc(h,g,3,m)}function Fo(h,g,m,_){(3&h[2])===m&&gc(h,g,m,_)}function Lo(h,g){let m=h[2];(3&m)===g&&(m&=2047,m+=1,h[2]=m)}function gc(h,g,m,_){const w=null!=_?_:-1,v=g.length-1;let T=0;for(let S=void 0!==_?65535&h[18]:0;S=_)break}else g[S]<0&&(h[18]+=65536),(T>11>16&&(3&h[2])===g){h[2]+=2048;try{w.call(T)}finally{}}}else try{w.call(T)}finally{}}class _s{constructor(g,m,_){this.factory=g,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=_}}function jo(h,g,m){const _=ft(h);let C=0;for(;Cg){v=w-1;break}}}for(;w>16}(h),_=g;for(;m>0;)_=_[15],m--;return _}let Sa=!0;function ys(h){const g=Sa;return Sa=h,g}let fu=0;function zo(h,g){const m=yc(h,g);if(-1!==m)return m;const _=g[1];_.firstCreatePass&&(h.injectorIndex=g.length,gu(_.data,h),gu(g,null),gu(_.blueprint,null));const C=Ma(h,g),w=h.injectorIndex;if(wf(C)){const v=Cs(C),T=wr(C,g),S=T[1].data;for(let P=0;P<8;P++)g[w+P]=T[v+P]|S[v+P]}return g[w+8]=C,w}function gu(h,g){h.push(0,0,0,0,0,0,0,0,g)}function yc(h,g){return-1===h.injectorIndex||h.parent&&h.parent.injectorIndex===h.injectorIndex||null===g[h.injectorIndex+8]?-1:h.injectorIndex}function Ma(h,g){if(h.parent&&-1!==h.parent.injectorIndex)return h.parent.injectorIndex;let m=0,_=null,C=g;for(;null!==C;){const w=C[1],v=w.type;if(_=2===v?w.declTNode:1===v?C[6]:null,null===_)return-1;if(m++,C=C[15],-1!==_.injectorIndex)return _.injectorIndex|m<<16}return-1}function wc(h,g,m){!function oC(h,g,m){let _;"string"==typeof m?_=m.charCodeAt(0)||0:m.hasOwnProperty(Mn)&&(_=m[Mn]),null==_&&(_=m[Mn]=fu++);const C=255&_;g.data[h+(C>>5)]|=1<=0?255&g:lC:g}(m);if("function"==typeof w){if(!du(g,h,_))return _&it.Host?Af(C,m,_):_u(g,m,_,C);try{const v=w(_);if(null!=v||_&it.Optional)return v;fe(m)}finally{Bo()}}else if("number"==typeof w){let v=null,T=yc(h,g),S=-1,P=_&it.Host?g[16][6]:null;for((-1===T||_&it.SkipSelf)&&(S=-1===T?Ma(h,g):g[T+8],-1!==S&&Tf(_,!1)?(v=g[1],T=Cs(S),g=wr(S,g)):T=-1);-1!==T;){const R=g[1];if(zr(w,T,R.data)){const F=cC(T,g,m,v,_,P);if(F!==xf)return F}S=g[T+8],-1!==S&&Tf(_,g[1].data[T+8]===P)&&zr(w,T,g)?(v=R,T=Cs(S),g=wr(S,g)):T=-1}}}return _u(g,m,_,C)}const xf={};function lC(){return new vs(Rt(),ye())}function cC(h,g,m,_,C,w){const v=g[1],T=v.data[h+8],R=ws(T,v,m,null==_?ac(T)&&Sa:_!=v&&0!=(3&T.type),C&it.Host&&w===T);return null!==R?fn(g,v,R,T):xf}function ws(h,g,m,_,C){const w=h.providerIndexes,v=g.data,T=1048575&w,S=h.directiveStart,R=w>>20,Q=C?T+R:h.directiveEnd;for(let te=_?T:T+R;te=S&&he.type===m)return te}if(C){const te=v[S];if(te&&un(te)&&te.type===m)return S}return null}function fn(h,g,m,_){let C=h[m];const w=g.data;if(function Cf(h){return h instanceof _s}(C)){const v=C;v.resolving&&function Me(h,g){const m=g?`. Dependency path: ${g.join(" > ")} > ${h}`:"";throw new ae(-200,`Circular dependency in DI detected for ${h}${m}`)}(Te(w[m]));const T=ys(v.canSeeViewProviders);v.resolving=!0;const S=v.injectImpl?Vi(v.injectImpl):null;du(h,_,it.Default);try{C=h[m]=v.factory(void 0,w,h,_),g.firstCreatePass&&m>=_.directiveStart&&function tC(h,g,m){const{ngOnChanges:_,ngOnInit:C,ngDoCheck:w}=g.type.prototype;if(_){const v=Li(g);(m.preOrderHooks||(m.preOrderHooks=[])).push(h,v),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,v)}C&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-h,C),w&&((m.preOrderHooks||(m.preOrderHooks=[])).push(h,w),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(h,w))}(m,w[m],g)}finally{null!==S&&Vi(S),ys(T),v.resolving=!1,Bo()}}return C}function zr(h,g,m){return!!(m[g+(h>>5)]&1<{const g=h.prototype.constructor,m=g[dn]||Cu(g),_=Object.prototype;let C=Object.getPrototypeOf(h.prototype).constructor;for(;C&&C!==_;){const w=C[dn]||Cu(C);if(w&&w!==m)return w;C=Object.getPrototypeOf(C)}return w=>new w})}function Cu(h){return oe(h)?()=>{const g=Cu(re(h));return g&&g()}:Hi(h)}function Ha(h){return function mu(h,g){if("class"===g)return h.classes;if("style"===g)return h.styles;const m=h.attrs;if(m){const _=m.length;let C=0;for(;C<_;){const w=m[C];if(bc(w))break;if(0===w)C+=2;else if("number"==typeof w)for(C++;C<_&&"string"==typeof m[C];)C++;else{if(w===g)return m[C+1];C+=2}}}return null}(Rt(),h)}const As="__parameters__";function Da(h,g,m){return X(()=>{const _=function wu(h){return function(...m){if(h){const _=h(...m);for(const C in _)this[C]=_[C]}}}(g);function C(...w){if(this instanceof C)return _.apply(this,w),this;const v=new C(...w);return T.annotation=v,T;function T(S,P,R){const F=S.hasOwnProperty(As)?S[As]:Object.defineProperty(S,As,{value:[]})[As];for(;F.length<=R;)F.push(null);return(F[R]=F[R]||[]).push(v),S}}return m&&(C.prototype=Object.create(m.prototype)),C.prototype.ngMetadataName=h,C.annotationCls=C,C})}class $t{constructor(g,m){this._desc=g,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=Ht({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const vu=new $t("AnalyzeForEntryComponents");function Xi(h,g){void 0===g&&(g=h);for(let m=0;mArray.isArray(m)?en(m,g):g(m))}function Tu(h,g,m){g>=h.length?h.push(m):h.splice(g,0,m)}function vc(h,g){return g>=h.length-1?h.pop():h.splice(g,1)[0]}function qo(h,g){const m=[];for(let _=0;_=0?h[1|_]=m:(_=~_,function _C(h,g,m,_){let C=h.length;if(C==g)h.push(m,_);else if(1===C)h.push(_,h[0]),h[0]=m;else{for(C--,h.push(h[C-1],h[C]);C>g;)h[C]=h[C-2],C--;h[g]=m,h[g+1]=_}}(h,_,g,m)),_}function Su(h,g){const m=Es(h,g);if(m>=0)return h[1|m]}function Es(h,g){return function Hf(h,g,m){let _=0,C=h.length>>m;for(;C!==_;){const w=_+(C-_>>1),v=h[w<g?C=w:_=w+1}return~(C<({token:h})),-1),Gr=Ss(Da("Optional"),8),Ur=Ss(Da("SkipSelf"),4);let vr,Zo;function Ds(h){var g;return(null===(g=function Bu(){if(void 0===vr&&(vr=null,ut.trustedTypes))try{vr=ut.trustedTypes.createPolicy("angular",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return vr}())||void 0===g?void 0:g.createHTML(h))||h}function RC(h){var g;return(null===(g=function Xo(){if(void 0===Zo&&(Zo=null,ut.trustedTypes))try{Zo=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h})}catch(h){}return Zo}())||void 0===g?void 0:g.createHTML(h))||h}class Pa{constructor(g){this.changingThisBreaksApplicationSecurity=g}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class kC extends Pa{getTypeName(){return"HTML"}}class Fu extends Pa{getTypeName(){return"Style"}}class IC extends Pa{getTypeName(){return"Script"}}class VC extends Pa{getTypeName(){return"URL"}}class BC extends Pa{getTypeName(){return"ResourceURL"}}function er(h){return h instanceof Pa?h.changingThisBreaksApplicationSecurity:h}function Ps(h,g){const m=Nf(h);if(null!=m&&m!==g){if("ResourceURL"===m&&"URL"===g)return!0;throw new Error(`Required a safe ${g}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===g}function Nf(h){return h instanceof Pa&&h.getTypeName()||null}function OC(h){return new kC(h)}function Lu(h){return new Fu(h)}function FC(h){return new IC(h)}function LC(h){return new VC(h)}function zf(h){return new BC(h)}class C0{constructor(g){this.inertDocumentHelper=g}getInertBodyElement(g){g=""+g;try{const m=(new window.DOMParser).parseFromString(Ds(g),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(g):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class jC{constructor(g){if(this.defaultDoc=g,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const _=this.inertDocument.createElement("body");m.appendChild(_)}}getInertBodyElement(g){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=Ds(g),m;const _=this.inertDocument.createElement("body");return _.innerHTML=Ds(g),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(g){const m=g.attributes;for(let C=m.length-1;0Sc(g.trim())).join(", ")),this.buf.push(" ",v,'="',mn(S),'"')}var h;return this.buf.push(">"),!0}endElement(g){const m=g.nodeName.toLowerCase();ju.hasOwnProperty(m)&&!Qt.hasOwnProperty(m)&&(this.buf.push(""))}chars(g){this.buf.push(mn(g))}checkClobberedElement(g,m){if(m&&(g.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${g.outerHTML}`);return m}}const Hc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zu=/([^\#-~ |!])/g;function mn(h){return h.replace(/&/g,"&").replace(Hc,function(g){return"&#"+(1024*(g.charCodeAt(0)-55296)+(g.charCodeAt(1)-56320)+65536)+";"}).replace(zu,function(g){return"&#"+g.charCodeAt(0)+";"}).replace(//g,">")}let Is;function QC(h,g){let m=null;try{Is=Is||function Gf(h){const g=new jC(h);return function NC(){try{return!!(new window.DOMParser).parseFromString(Ds(""),"text/html")}catch(h){return!1}}()?new C0(g):g}(h);let _=g?String(g):"";m=Is.getInertBodyElement(_);let C=5,w=_;do{if(0===C)throw new Error("Failed to sanitize html because the input is unstable");C--,_=w,w=m.innerHTML,m=Is.getInertBodyElement(_)}while(_!==w);return Ds((new $C).sanitizeChildren(el(m)||m))}finally{if(m){const _=el(m)||m;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function el(h){return"content"in h&&function Uf(h){return h.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===h.nodeName}(h)?h.content:null}var ii=(()=>((ii=ii||{})[ii.NONE=0]="NONE",ii[ii.HTML=1]="HTML",ii[ii.STYLE=2]="STYLE",ii[ii.SCRIPT=3]="SCRIPT",ii[ii.URL=4]="URL",ii[ii.RESOURCE_URL=5]="RESOURCE_URL",ii))();function Dc(h){const g=tl();return g?RC(g.sanitize(ii.HTML,h)||""):Ps(h,"HTML")?RC(er(h)):QC(Po(),le(h))}function Gu(h){const g=tl();return g?g.sanitize(ii.URL,h)||"":Ps(h,"URL")?er(h):Sc(le(h))}function tl(){const h=ye();return h&&h[12]}const nl="__ngContext__";function Ri(h,g){h[nl]=g}function Wf(h){const g=function Rc(h){return h[nl]||null}(h);return g?Array.isArray(g)?g:g.lView:null}function Qf(h){return h.ngOriginalError}function R0(h,...g){h.error(...g)}class Vs{constructor(){this._console=console}handleError(g){const m=this._findOriginalError(g),_=function P0(h){return h&&h.ngErrorLogger||R0}(g);_(this._console,"ERROR",g),m&&_(this._console,"ORIGINAL ERROR",m)}_findOriginalError(g){let m=g&&Qf(g);for(;m&&Qf(m);)m=Qf(m);return m||null}}const ny=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ut))();function xr(h){return h instanceof Function?h():h}var Tr=(()=>((Tr=Tr||{})[Tr.Important=1]="Important",Tr[Tr.DashCase=2]="DashCase",Tr))();function Jf(h,g){return undefined(h,g)}function al(h){const g=h[3];return Ki(g)?g[3]:g}function Zf(h){return oy(h[13])}function Xf(h){return oy(h[4])}function oy(h){for(;null!==h&&!Ki(h);)h=h[4];return h}function sl(h,g,m,_,C){if(null!=_){let w,v=!1;Ki(_)?w=_:Oi(_)&&(v=!0,_=_[0]);const T=H(_);0===h&&null!==m?null==C?py(g,m,T):Bs(g,m,T,C||null,!0):1===h&&null!==m?Bs(g,m,T,C||null,!0):2===h?function yy(h,g,m){const _=Wu(h,g);_&&function tx(h,g,m,_){ft(h)?h.removeChild(g,m,_):g.removeChild(m)}(h,_,g,m)}(g,T,v):3===h&&g.destroyNode(T),null!=w&&function rx(h,g,m,_,C){const w=m[7];w!==H(m)&&sl(g,h,_,w,C);for(let T=10;T0&&(h[m-1][4]=_[4]);const w=vc(h,10+g);!function $0(h,g){kc(h,g,g[11],2,null,null),g[0]=null,g[6]=null}(_[1],_);const v=w[19];null!==v&&v.detachView(w[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function dy(h,g){if(!(256&g[2])){const m=g[11];ft(m)&&m.destroyNode&&kc(h,g,m,3,null,null),function J0(h){let g=h[13];if(!g)return ng(h[1],h);for(;g;){let m=null;if(Oi(g))m=g[13];else{const _=g[10];_&&(m=_)}if(!m){for(;g&&!g[4]&&g!==h;)Oi(g)&&ng(g[1],g),g=g[3];null===g&&(g=h),Oi(g)&&ng(g[1],g),m=g&&g[4]}g=m}}(g)}}function ng(h,g){if(!(256&g[2])){g[2]&=-129,g[2]|=256,function ex(h,g){let m;if(null!=h&&null!=(m=h.destroyHooks))for(let _=0;_=0?_[C=P]():_[C=-P].unsubscribe(),w+=2}else{const v=_[C=m[w+1]];m[w].call(v)}if(null!==_){for(let w=C+1;w<_.length;w++)_[w]();g[7]=null}}(h,g),1===g[1].type&&ft(g[11])&&g[11].destroy();const m=g[17];if(null!==m&&Ki(g[3])){m!==g[3]&&cy(m,g);const _=g[19];null!==_&&_.detachView(h)}}}function uy(h,g,m){return function hy(h,g,m){let _=g;for(;null!==_&&40&_.type;)_=(g=_).parent;if(null===_)return m[0];if(2&_.flags){const C=h.data[_.directiveStart].encapsulation;if(C===Ie.None||C===Ie.Emulated)return null}return _e(_,m)}(h,g.parent,m)}function Bs(h,g,m,_,C){ft(h)?h.insertBefore(g,m,_,C):g.insertBefore(m,_,C)}function py(h,g,m){ft(h)?h.appendChild(g,m):g.appendChild(m)}function fy(h,g,m,_,C){null!==_?Bs(h,g,m,_,C):py(h,g,m)}function Wu(h,g){return ft(h)?h.parentNode(g):g.parentNode}function gy(h,g,m){return _y(h,g,m)}let _y=function my(h,g,m){return 40&h.type?_e(h,m):null};function $u(h,g,m,_){const C=uy(h,_,g),w=g[11],T=gy(_.parent||g[6],_,g);if(null!=C)if(Array.isArray(m))for(let S=0;Sw?"":C[F+1].toLowerCase();const te=8&_?Q:null;if(te&&-1!==Ay(te,P,0)||2&_&&P!==Q){if(_n(_))return!1;v=!0}}}}else{if(!v&&!_n(_)&&!_n(S))return!1;if(v&&_n(S))continue;v=!1,_=S|1&_}}return _n(_)||v}function _n(h){return 0==(1&h)}function Ty(h,g,m,_){if(null===g)return-1;let C=0;if(_||!m){let w=!1;for(;C-1)for(m++;m0?'="'+T+'"':"")+"]"}else 8&_?C+="."+v:4&_&&(C+=" "+v);else""!==C&&!_n(v)&&(g+=dg(w,C),C=""),_=v,w=w||!_n(_);m++}return""!==C&&(g+=dg(w,C)),g}const at={};function Ju(h){ug(wt(),ye(),xi()+h,cc())}function ug(h,g,m,_){if(!_)if(3==(3&g[2])){const w=h.preOrderCheckHooks;null!==w&&fc(g,w,m)}else{const w=h.preOrderHooks;null!==w&&Fo(g,w,0,m)}Cr(m)}function $r(h,g){return h<<17|g<<2}function bn(h){return h>>17&32767}function Os(h){return 2|h}function Qr(h){return(131068&h)>>2}function Bc(h,g){return-131069&h|g<<2}function Oc(h){return 1|h}function th(h,g){const m=h.contentQueries;if(null!==m)for(let _=0;_20&&ug(h,g,20,cc()),m(_,C)}finally{Cr(w)}}function rh(h,g,m){if(rc(g)){const C=g.directiveEnd;for(let w=g.directiveStart;w0;){const m=h[--g];if("number"==typeof m&&m<0)return m}return 0})(T)!=S&&T.push(S),T.push(_,C,v)}}function Xr(h,g){null!==h.hostBindings&&h.hostBindings(1,g)}function oh(h,g){g.flags|=2,(h.components||(h.components=[])).push(g.index)}function Dg(h,g,m){if(m){if(g.exportAs)for(let _=0;_0&&hl(m)}}function hl(h){for(let _=Zf(h);null!==_;_=Xf(_))for(let C=10;C<_.length;C++){const w=_[C];if(1024&w[2]){const v=w[1];Lt(v,w,v.template,w[8])}else w[5]>0&&hl(w)}const m=h[1].components;if(null!==m)for(let _=0;_0&&hl(C)}}function Ba(h,g){const m=gt(g,h),_=m[1];(function dh(h,g){for(let m=g.length;mPromise.resolve(null))();function Kc(h){return h[7]||(h[7]=[])}function ph(h){return h.cleanup||(h.cleanup=[])}function pl(h,g,m){return(null===h||un(h))&&(m=function V(h){for(;Array.isArray(h);){if("object"==typeof h[1])return h;h=h[0]}return null}(m[g.index])),m[11]}function fl(h,g){const m=h[9],_=m?m.get(Vs,null):null;_&&_.handleError(g)}function Bg(h,g,m,_,C){for(let w=0;wthis.processProvider(T,g,m)),en([g],T=>this.processInjectorType(T,[],w)),this.records.set(Xc,Us(void 0,this));const v=this.records.get(fh);this.scope=null!=v?v.value:null,this.source=C||("object"==typeof g?null:Y(g))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(g=>g.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(g,m=Qo,_=it.Default){this.assertNotDestroyed();const C=kf(this),w=Vi(void 0);try{if(!(_&it.SkipSelf)){let T=this.records.get(g);if(void 0===T){const S=function td(h){return"function"==typeof h||"object"==typeof h&&h instanceof $t}(g)&&ui(g);T=S&&this.injectableDefInScope(S)?Us(bl(g),ml):null,this.records.set(g,T)}if(null!=T)return this.hydrate(g,T)}return(_&it.Self?_l():this.parent).get(g,m=_&it.Optional&&m===Qo?null:m)}catch(v){if("NullInjectorError"===v.name){if((v[xc]=v[xc]||[]).unshift(Y(g)),C)throw v;return function TC(h,g,m,_){const C=h[xc];throw g[Rf]&&C.unshift(g[Rf]),h.message=function EC(h,g,m,_=null){h=h&&"\n"===h.charAt(0)&&"\u0275"==h.charAt(1)?h.substr(2):h;let C=Y(g);if(Array.isArray(g))C=g.map(Y).join(" -> ");else if("object"==typeof g){let w=[];for(let v in g)if(g.hasOwnProperty(v)){let T=g[v];w.push(v+":"+("string"==typeof T?JSON.stringify(T):Y(T)))}C=`{${w.join(", ")}}`}return`${m}${_?"("+_+")":""}[${C}]: ${h.replace(Pf,"\n ")}`}("\n"+h.message,C,m,_),h.ngTokenPath=C,h[xc]=null,h}(v,g,"R3InjectorError",this.source)}throw v}finally{Vi(w),kf(C)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(g=>this.get(g))}toString(){const g=[];return this.records.forEach((_,C)=>g.push(Y(C))),`R3Injector[${g.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processInjectorType(g,m,_){if(!(g=re(g)))return!1;let C=ss(g);const w=null==C&&g.ngModule||void 0,v=void 0===w?g:w,T=-1!==_.indexOf(v);if(void 0!==w&&(C=ss(w)),null==C)return!1;if(null!=C.imports&&!T){let R;_.push(v);try{en(C.imports,F=>{this.processInjectorType(F,m,_)&&(void 0===R&&(R=[]),R.push(F))})}finally{}if(void 0!==R)for(let F=0;Fthis.processProvider(he,Q,te||Fe))}}this.injectorDefTypes.add(v);const S=Hi(v)||(()=>new v);this.records.set(v,Us(S,ml));const P=C.providers;if(null!=P&&!T){const R=g;en(P,F=>this.processProvider(F,R,P))}return void 0!==w&&void 0!==g.providers}processProvider(g,m,_){let C=qs(g=re(g))?g:re(g&&g.provide);const w=function Wy(h,g,m){return Lg(h)?Us(void 0,h.useValue):Us(Fg(h),ml)}(g);if(qs(g)||!0!==g.multi)this.records.get(C);else{let v=this.records.get(C);v||(v=Us(void 0,ml,!0),v.factory=()=>Tc(v.multi),this.records.set(C,v)),C=g,v.multi.push(g)}this.records.set(C,w)}hydrate(g,m){return m.value===ml&&(m.value=Uy,m.value=m.factory()),"object"==typeof m.value&&m.value&&function bh(h){return null!==h&&"object"==typeof h&&"function"==typeof h.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(g){if(!g.providedIn)return!1;const m=re(g.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function bl(h){const g=ui(h),m=null!==g?g.factory:Hi(h);if(null!==m)return m;if(h instanceof $t)throw new ae(204,!1);if(h instanceof Function)return function Og(h){const g=h.length;if(g>0)throw qo(g,"?"),new ae(204,!1);const m=function rs(h){const g=h&&(h[Vr]||h[Br]);if(g){const m=function as(h){if(h.hasOwnProperty("name"))return h.name;const g=(""+h).match(/^function\s*([^\s(]+)/);return null===g?"":g[1]}(h);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" 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 "${m}" class.`),g}return null}(h);return null!==m?()=>m.factory(h):()=>new h}(h);throw new ae(204,!1)}function Fg(h,g,m){let _;if(qs(h)){const C=re(h);return Hi(C)||bl(C)}if(Lg(h))_=()=>re(h.useValue);else if(function ed(h){return!(!h||!h.useFactory)}(h))_=()=>h.useFactory(...Tc(h.deps||[]));else if(function $y(h){return!(!h||!h.useExisting)}(h))_=()=>_i(re(h.useExisting));else{const C=re(h&&(h.useClass||h.provide));if(!function _h(h){return!!h.deps}(h))return Hi(C)||bl(C);_=()=>new C(...Tc(h.deps))}return _}function Us(h,g,m=!1){return{factory:h,value:g,multi:m?[]:void 0}}function Lg(h){return null!==h&&"object"==typeof h&&AC in h}function qs(h){return"function"==typeof h}let wn=(()=>{class h{static create(m,_){var C;if(Array.isArray(m))return gh({name:""},_,m,"");{const w=null!==(C=m.name)&&void 0!==C?C:"";return gh({name:w},m.parent,m.providers,w)}}}return h.THROW_IF_NOT_FOUND=Qo,h.NULL=new gl,h.\u0275prov=Ht({token:h,providedIn:"any",factory:()=>_i(Xc)}),h.__NG_ELEMENT_ID__=-1,h})();function Zy(h,g){pc(Wf(h)[1],Rt())}function Eh(h){let g=function Th(h){return Object.getPrototypeOf(h.prototype).constructor}(h.type),m=!0;const _=[h];for(;g;){let C;if(un(h))C=g.\u0275cmp||g.\u0275dir;else{if(g.\u0275cmp)throw new ae(903,"");C=g.\u0275dir}if(C){if(m){_.push(C);const v=h;v.inputs=Mh(h.inputs),v.declaredInputs=Mh(h.declaredInputs),v.outputs=Mh(h.outputs);const T=C.hostBindings;T&&tw(h,T);const S=C.viewQuery,P=C.contentQueries;if(S&&Xy(h,S),P&&ew(h,P),q(h.inputs,C.inputs),q(h.declaredInputs,C.declaredInputs),q(h.outputs,C.outputs),un(C)&&C.data.animation){const R=h.data;R.animation=(R.animation||[]).concat(C.data.animation)}}const w=C.features;if(w)for(let v=0;v=0;_--){const C=h[_];C.hostVars=g+=C.hostVars,C.hostAttrs=Cc(C.hostAttrs,m=Cc(m,C.hostAttrs))}}(_)}function Mh(h){return h===ht?{}:h===Fe?[]:h}function Xy(h,g){const m=h.viewQuery;h.viewQuery=m?(_,C)=>{g(_,C),m(_,C)}:g}function ew(h,g){const m=h.contentQueries;h.contentQueries=m?(_,C,w)=>{g(_,C,w),m(_,C,w)}:g}function tw(h,g){const m=h.hostBindings;h.hostBindings=m?(_,C)=>{g(_,C),m(_,C)}:g}let Ws=null;function nr(){if(!Ws){const h=ut.Symbol;if(h&&h.iterator)Ws=h.iterator;else{const g=Object.getOwnPropertyNames(Map.prototype);for(let m=0;mT(H(mt[_.index])):_.index;if(ft(m)){let mt=null;if(!T&&S&&(mt=function Sx(h,g,m,_){const C=h.cleanup;if(null!=C)for(let w=0;wS?T[S]:null}"string"==typeof v&&(w+=2)}return null}(h,g,C,_.index)),null!==mt)(mt.__ngLastListenerFn__||mt).__ngNextListenerFn__=w,mt.__ngLastListenerFn__=w,te=!1;else{w=ym(_,g,F,w,!1);const Et=m.listen(je,C,w);Q.push(w,Et),R&&R.push(C,$e,me,me+1)}}else w=ym(_,g,F,w,!0),je.addEventListener(C,w,v),Q.push(w),R&&R.push(C,$e,me,v)}else w=ym(_,g,F,w,!1);const he=_.outputs;let Ee;if(te&&null!==he&&(Ee=he[C])){const Pe=Ee.length;if(Pe)for(let je=0;je0;)g=g[15],h--;return g}(h,Je.lFrame.contextLView))[8]}(h)}function Mx(h,g){let m=null;const _=function Ey(h){const g=h.attrs;if(null!=g){const m=g.indexOf(5);if(0==(1&m))return g[m+1]}return null}(h);for(let C=0;C=0}function bd(h,g,m){return Gn(h,g,m,!1),bd}function Dm(h,g){return Gn(h,g,null,!0),Dm}function Gn(h,g,m,_){const C=ye(),w=wt(),v=Kn(2);w.firstUpdatePass&&function Rm(h,g,m,_){const C=h.data;if(null===C[m+1]){const w=C[xi()],v=function Pm(h,g){return g>=h.expandoStartIndex}(h,m);(function Pw(h,g){return 0!=(h.flags&(g?16:32))})(w,_)&&null===g&&!v&&(g=!1),g=function yd(h,g,m,_){const C=lu(h);let w=_?g.residualClasses:g.residualStyles;if(null===C)0===(_?g.classBindings:g.styleBindings)&&(m=to(m=km(null,h,g,m,_),g.attrs,_),w=null);else{const v=g.directiveStylingLast;if(-1===v||h[v]!==C)if(m=km(C,h,g,m,_),null===w){let S=function Ew(h,g,m){const _=m?g.classBindings:g.styleBindings;if(0!==Qr(_))return h[bn(_)]}(h,g,_);void 0!==S&&Array.isArray(S)&&(S=km(null,h,g,S[1],_),S=to(S,g.attrs,_),function Sw(h,g,m,_){h[bn(m?g.classBindings:g.styleBindings)]=_}(h,g,_,S))}else w=function zh(h,g,m){let _;const C=g.directiveEnd;for(let w=1+g.directiveStylingLast;w0)&&(P=!0)}else R=m;if(C)if(0!==S){const Q=bn(h[T+1]);h[_+1]=$r(Q,T),0!==Q&&(h[Q+1]=Bc(h[Q+1],_)),h[T+1]=function Sy(h,g){return 131071&h|g<<17}(h[T+1],_)}else h[_+1]=$r(T,0),0!==T&&(h[T+1]=Bc(h[T+1],_)),T=_;else h[_+1]=$r(S,0),0===T?T=_:h[S+1]=Bc(h[S+1],_),S=_;P&&(h[_+1]=Os(h[_+1])),ar(h,R,_,!0),ar(h,R,_,!1),function Dx(h,g,m,_,C){const w=C?h.residualClasses:h.residualStyles;null!=w&&"string"==typeof g&&Es(w,g)>=0&&(m[_+1]=Oc(m[_+1]))}(g,R,h,_,w),v=$r(T,S),w?g.classBindings=v:g.styleBindings=v}(C,w,g,m,v,_)}}(w,h,v,_),g!==at&&Ei(C,v,g)&&function Hw(h,g,m,_,C,w,v,T){if(!(3&g.type))return;const S=h.data,P=S[T+1];Gh(function ol(h){return 1==(1&h)}(P)?Dw(S,g,m,C,Qr(P),v):void 0)||(Gh(w)||function hg(h){return 2==(2&h)}(P)&&(w=Dw(S,null,m,C,T,v)),function ax(h,g,m,_,C){const w=ft(h);if(g)C?w?h.addClass(m,_):m.classList.add(_):w?h.removeClass(m,_):m.classList.remove(_);else{let v=-1===_.indexOf("-")?void 0:Tr.DashCase;if(null==C)w?h.removeStyle(m,_,v):m.style.removeProperty(_);else{const T="string"==typeof C&&C.endsWith("!important");T&&(C=C.slice(0,-10),v|=Tr.Important),w?h.setStyle(m,_,C,v):m.style.setProperty(_,C,T?"important":"")}}}(_,v,ue(xi(),m),C,w))}(w,w.data[xi()],C,C[11],h,C[v+1]=function Rx(h,g){return null==h||("string"==typeof g?h+=g:"object"==typeof h&&(h=Y(er(h)))),h}(g,m),_,v)}function km(h,g,m,_,C){let w=null;const v=m.directiveEnd;let T=m.directiveStylingLast;for(-1===T?T=m.directiveStart:T++;T0;){const S=h[C],P=Array.isArray(S),R=P?S[1]:S,F=null===R;let Q=m[C+1];Q===at&&(Q=F?Fe:void 0);let te=F?Su(Q,_):R===_?Q:void 0;if(P&&!Gh(te)&&(te=Su(S,_)),Gh(te)&&(T=te,v))return T;const he=h[C+1];C=v?bn(he):Qr(he)}if(null!==g){let S=w?g.residualClasses:g.residualStyles;null!=S&&(T=Su(S,_))}return T}function Gh(h){return void 0!==h}function Rw(h,g=""){const m=ye(),_=wt(),C=h+20,w=_.firstCreatePass?Jr(_,C,1,g,null):_.data[C],v=m[C]=function eg(h,g){return ft(h)?h.createText(g):h.createTextNode(g)}(m[11],g);$u(_,m,v,w),In(w,!1)}function Uh(h){return xl("",h,""),Uh}function xl(h,g,m){const _=ye(),C=$s(_,h,g,m);return C!==at&&Ln(_,xi(),C),xl}function Vm(h,g,m,_,C){const w=ye(),v=Qs(w,h,g,m,_,C);return v!==at&&Ln(w,xi(),v),Vm}function Ad(h,g,m){const _=ye();return Ei(_,gs(),g)&&nn(wt(),Wt(),_,h,g,_[11],m,!0),Ad}function Tl(h,g,m){const _=ye();if(Ei(_,gs(),g)){const w=wt(),v=Wt();nn(w,v,_,h,g,pl(lu(w.data),v,_),m,!0)}return Tl}const ra=void 0;var Uw=["en",[["a","p"],["AM","PM"],ra],[["AM","PM"],ra,ra],[["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"]],ra,[["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"]],ra,[["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}",ra,"{1} 'at' {0}",ra],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gw(h){const m=Math.floor(Math.abs(h)),_=h.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===_?1:5}];let aa={};function Lm(h){const g=function jm(h){return h.toLowerCase().replace(/_/g,"-")}(h);let m=Ww(g);if(m)return m;const _=g.split("-")[0];if(m=Ww(_),m)return m;if("en"===_)return Uw;throw new Error(`Missing locale data for the locale "${h}".`)}function qw(h){return Lm(h)[Ye.PluralCase]}function Ww(h){return h in aa||(aa[h]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[h]),aa[h]}var Ye=(()=>((Ye=Ye||{})[Ye.LocaleId=0]="LocaleId",Ye[Ye.DayPeriodsFormat=1]="DayPeriodsFormat",Ye[Ye.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ye[Ye.DaysFormat=3]="DaysFormat",Ye[Ye.DaysStandalone=4]="DaysStandalone",Ye[Ye.MonthsFormat=5]="MonthsFormat",Ye[Ye.MonthsStandalone=6]="MonthsStandalone",Ye[Ye.Eras=7]="Eras",Ye[Ye.FirstDayOfWeek=8]="FirstDayOfWeek",Ye[Ye.WeekendRange=9]="WeekendRange",Ye[Ye.DateFormat=10]="DateFormat",Ye[Ye.TimeFormat=11]="TimeFormat",Ye[Ye.DateTimeFormat=12]="DateTimeFormat",Ye[Ye.NumberSymbols=13]="NumberSymbols",Ye[Ye.NumberFormats=14]="NumberFormats",Ye[Ye.CurrencyCode=15]="CurrencyCode",Ye[Ye.CurrencySymbol=16]="CurrencySymbol",Ye[Ye.CurrencyName=17]="CurrencyName",Ye[Ye.Currencies=18]="Currencies",Ye[Ye.Directionality=19]="Directionality",Ye[Ye.PluralCase=20]="PluralCase",Ye[Ye.ExtraData=21]="ExtraData",Ye))();const lr="en-US";let Jh=lr;function s_(h,g,m,_,C){if(h=re(h),Array.isArray(h))for(let w=0;w>20;if(qs(h)||!h.multi){const te=new _s(S,C,Hr),he=Ed(T,g,C?R:R+Q,F);-1===he?(wc(zo(P,v),w,T),ao(w,h,g.length),g.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(te),v.push(te)):(m[he]=te,v[he]=te)}else{const te=Ed(T,g,R+Q,F),he=Ed(T,g,R,R+Q),Ee=te>=0&&m[te],Pe=he>=0&&m[he];if(C&&!Pe||!C&&!Ee){wc(zo(P,v),w,T);const je=function Tv(h,g,m,_,C){const w=new _s(h,m,Hr);return w.multi=[],w.index=g,w.componentProviders=0,Av(w,C,_&&!m),w}(C?xv:so,m.length,C,_,S);!C&&Pe&&(m[he].providerFactory=je),ao(w,h,g.length,0),g.push(T),P.directiveStart++,P.directiveEnd++,C&&(P.providerIndexes+=1048576),m.push(je),v.push(je)}else ao(w,h,te>-1?te:he,Av(m[C?he:te],S,!C&&_));!C&&_&&Pe&&m[he].componentProviders++}}}function ao(h,g,m,_){const C=qs(g),w=function Fa(h){return!!h.useClass}(g);if(C||w){const S=(w?re(g.useClass):g).prototype.ngOnDestroy;if(S){const P=h.destroyHooks||(h.destroyHooks=[]);if(!C&&g.multi){const R=P.indexOf(m);-1===R?P.push(m,[_,S]):P[R+1].push(_,S)}else P.push(m,S)}}}function Av(h,g,m){return m&&h.componentProviders++,h.multi.push(g)-1}function Ed(h,g,m,_){for(let C=m;C<_;C++)if(g[C]===h)return C;return-1}function so(h,g,m,_){return tp(this.multi,[])}function xv(h,g,m,_){const C=this.multi;let w;if(this.providerFactory){const v=this.providerFactory.componentProviders,T=fn(m,m[1],this.providerFactory.index,_);w=T.slice(0,v),tp(C,w);for(let S=v;S{m.providersResolver=(_,C)=>function hT(h,g,m){const _=wt();if(_.firstCreatePass){const C=un(h);s_(m,_.data,_.blueprint,C,!0),s_(g,_.data,_.blueprint,C,!1)}}(_,C?C(h):h,g)}}class c_{}class u_{resolveComponentFactory(g){throw function Ev(h){const g=Error(`No component factory found for ${Y(h)}. Did you add it to @NgModule.entryComponents?`);return g.ngComponent=h,g}(g)}}let oo=(()=>{class h{}return h.NULL=new u_,h})();function Sv(){return Rl(Rt(),ye())}function Rl(h,g){return new lo(_e(h,g))}let lo=(()=>{class h{constructor(m){this.nativeElement=m}}return h.__NG_ELEMENT_ID__=Sv,h})();function Mv(h){return h instanceof lo?h.nativeElement:h}class h_{}let Hv=(()=>{class h{}return h.__NG_ELEMENT_ID__=()=>function Pv(){const h=ye(),m=gt(Rt().index,h);return function Dv(h){return h[11]}(Oi(m)?m:h)}(),h})(),Rv=(()=>{class h{}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:()=>null}),h})();class p_{constructor(g){this.full=g,this.major=g.split(".")[0],this.minor=g.split(".")[1],this.patch=g.split(".").slice(2).join(".")}}const co=new p_("13.2.2"),f_={};function Sd(h,g,m,_,C=!1){for(;null!==m;){const w=g[m.index];if(null!==w&&_.push(H(w)),Ki(w))for(let T=10;T-1&&(ig(g,_),vc(m,_))}this._attachedToViewContainer=!1}dy(this._lView[1],this._lView)}onDestroy(g){Vy(this._lView[1],this._lView,null,g)}markForCheck(){uh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){tr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Vg(h,g,m){ko(!0);try{tr(h,g,m)}finally{ko(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Y0(h,g){kc(h,g,g[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(g){if(this._attachedToViewContainer)throw new ae(902,"");this._appRef=g}}class kv extends kl{constructor(g){super(g),this._view=g}detectChanges(){hh(this._view)}checkNoChanges(){!function ir(h){ko(!0);try{hh(h)}finally{ko(!1)}}(this._view)}get context(){return null}}class Iv extends oo{constructor(g){super(),this.ngModule=g}resolveComponentFactory(g){const m=hi(g);return new np(m,this.ngModule)}}function Vv(h){const g=[];for(let m in h)h.hasOwnProperty(m)&&g.push({propName:h[m],templateName:m});return g}const ip=new $t("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ny});class np extends c_{constructor(g,m){super(),this.componentDef=g,this.ngModule=m,this.componentType=g.type,this.selector=function ni(h){return h.map(Ic).join(",")}(g.selectors),this.ngContentSelectors=g.ngContentSelectors?g.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return Vv(this.componentDef.inputs)}get outputs(){return Vv(this.componentDef.outputs)}create(g,m,_,C){const w=(C=C||this.ngModule)?function Bv(h,g){return{get:(m,_,C)=>{const w=h.get(m,f_,C);return w!==f_||_===f_?w:g.get(m,_,C)}}}(g,C.injector):g,v=w.get(h_,M),T=w.get(Rv,null),S=v.createRenderer(null,this.componentDef),P=this.componentDef.selectors[0][0]||"div",R=_?function dl(h,g,m){if(ft(h))return h.selectRootElement(g,m===Ie.ShadowDom);let _="string"==typeof g?h.querySelector(g):g;return _.textContent="",_}(S,_,this.componentDef.encapsulation):tg(v.createRenderer(null,this.componentDef),P,function fT(h){const g=h.toLowerCase();return"svg"===g?"svg":"math"===g?"math":null}(P)),F=this.componentDef.onPush?576:528,Q=function xh(h,g){return{components:[],scheduler:h||ny,clean:Ny,playerHandler:g||null,flags:0}}(),te=bt(0,null,null,1,0,null,null,null,null,null),he=Ls(null,te,Q,F,null,null,v,S,T,w);let Ee,Pe;dc(he);try{const je=function qg(h,g,m,_,C,w){const v=m[1];m[20]=h;const S=Jr(v,20,2,"#host",null),P=S.mergedAttrs=g.hostAttrs;null!==P&&(Zc(S,P,!0),null!==h&&(jo(C,h,P),null!==S.classes&&og(C,h,S.classes),null!==S.styles&&vy(C,h,S.styles)));const R=_.createRenderer(h,g),F=Ls(m,Kr(g),null,g.onPush?64:16,m[20],S,_,R,w||null,null);return v.firstCreatePass&&(wc(zo(S,m),v,g.type),oh(v,S),lh(S,m.length,1)),Oa(m,F),m[20]=F}(R,this.componentDef,he,v,S);if(R)if(_)jo(S,R,["ng-version",co.full]);else{const{attrs:me,classes:$e}=function Jt(h){const g=[],m=[];let _=1,C=2;for(;_0&&og(S,R,$e.join(" "))}if(Pe=Pt(te,20),void 0!==m){const me=Pe.projection=[];for(let $e=0;$eS(v,g)),g.contentQueries){const S=Rt();g.contentQueries(1,v,S.directiveStart)}const T=Rt();return!w.firstCreatePass||null===g.hostBindings&&null===g.hostAttrs||(Cr(T.index),Wc(m[1],T,0,T.directiveStart,T.directiveEnd,g),Xr(g,v)),v}(je,this.componentDef,he,Q,[Zy]),tn(te,he,null)}finally{uc()}return new mT(this.componentType,Ee,Rl(Pe,he),he,Pe)}}class mT extends class l_{}{constructor(g,m,_,C,w){super(),this.location=_,this._rootLView=C,this._tNode=w,this.instance=m,this.hostView=this.changeDetectorRef=new kv(C),this.componentType=g}get injector(){return new vs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(g){this.hostView.onDestroy(g)}}class Il{}class Ov{}const Rr=new Map;class Nv extends Il{constructor(g,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Iv(this);const _=gi(g);this._bootstrapComponents=xr(_.bootstrap),this._r3Injector=mh(g,m,[{provide:Il,useValue:this},{provide:oo,useValue:this.componentFactoryResolver}],Y(g)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(g)}get(g,m=wn.THROW_IF_NOT_FOUND,_=it.Default){return g===wn||g===Il||g===Xc?this:this._r3Injector.get(g,m,_)}destroy(){const g=this._r3Injector;!g.destroyed&&g.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(g){this.destroyCbs.push(g)}}class __ extends Ov{constructor(g){super(),this.moduleType=g,null!==gi(g)&&function Lv(h){const g=new Set;!function m(_){const C=gi(_,!0),w=C.id;null!==w&&(function g_(h,g,m){if(g&&g!==m)throw new Error(`Duplicate module registered for ${h} - ${Y(g)} vs ${Y(g.name)}`)}(w,Rr.get(w),_),Rr.set(w,_));const v=xr(C.imports);for(const T of v)g.has(T)||(g.add(T),m(T))}(h)}(g)}create(g){return new Nv(this.moduleType,g)}}function Gv(h,g,m,_){return b_(ye(),Ai(),h,g,m,_)}function uo(h,g){const m=h[g];return m===at?void 0:m}function b_(h,g,m,_,C,w){const v=g+m;return Ei(h,v,C)?rr(h,v+1,w?_.call(w,C):_(C)):uo(h,v+1)}function ho(h,g,m,_,C,w,v,T){const S=g+m;return function yl(h,g,m,_,C){const w=ta(h,g,m,_);return Ei(h,g+2,C)||w}(h,S,C,w,v)?rr(h,S+3,T?_.call(T,C,w,v):_(C,w,v)):uo(h,S+3)}function w_(h,g){const m=wt();let _;const C=h+20;m.firstCreatePass?(_=function qv(h,g){if(g)for(let m=g.length-1;m>=0;m--){const _=g[m];if(h===_.name)return _}}(g,m.pipeRegistry),m.data[C]=_,_.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(C,_.onDestroy)):_=m.data[C];const w=_.factory||(_.factory=Hi(_.type)),v=Vi(Hr);try{const T=ys(!1),S=w();return ys(T),function tm(h,g,m,_){m>=h.data.length&&(h.data[m]=null,h.blueprint[m]=null),g[m]=_}(m,ye(),C,S),S}finally{Vi(v)}}function op(h,g,m){const _=h+20,C=ye(),w=St(C,_);return la(C,_)?b_(C,Ai(),g,w.transform,m,w):w.transform(m)}function lp(h,g,m,_){const C=h+20,w=ye(),v=St(w,C);return la(w,C)?function C_(h,g,m,_,C,w,v){const T=g+m;return ta(h,T,C,w)?rr(h,T+2,v?_.call(v,C,w):_(C,w)):uo(h,T+2)}(w,Ai(),g,v.transform,m,_,v):v.transform(m,_)}function v_(h,g,m,_,C){const w=h+20,v=ye(),T=St(v,w);return la(v,w)?ho(v,Ai(),g,T.transform,m,_,C,T):T.transform(m,_,C)}function la(h,g){return h[1].data[g].pure}function cp(h){return g=>{setTimeout(h,void 0,g)}}const xn=class $v extends E.x{constructor(g=!1){super(),this.__isAsync=g}emit(g){super.next(g)}subscribe(g,m,_){var C,w,v;let T=g,S=m||(()=>null),P=_;if(g&&"object"==typeof g){const F=g;T=null===(C=F.next)||void 0===C?void 0:C.bind(F),S=null===(w=F.error)||void 0===w?void 0:w.bind(F),P=null===(v=F.complete)||void 0===v?void 0:v.bind(F)}this.__isAsync&&(S=cp(S),T&&(T=cp(T)),P&&(P=cp(P)));const R=super.subscribe({next:T,error:S,complete:P});return g instanceof p.w0&&g.add(R),R}};function A_(){return this._results[nr()]()}class Dd{constructor(g=!1){this._emitDistinctChangesOnly=g,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=nr(),_=Dd.prototype;_[m]||(_[m]=A_)}get changes(){return this._changes||(this._changes=new xn)}get(g){return this._results[g]}map(g){return this._results.map(g)}filter(g){return this._results.filter(g)}find(g){return this._results.find(g)}reduce(g,m){return this._results.reduce(g,m)}forEach(g){this._results.forEach(g)}some(g){return this._results.some(g)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(g,m){const _=this;_.dirty=!1;const C=Xi(g);(this._changesDetected=!function Uo(h,g,m){if(h.length!==g.length)return!1;for(let _=0;_{class h{}return h.__NG_ELEMENT_ID__=x_,h})();const Qv=ca,Vl=class extends Qv{constructor(g,m,_){super(),this._declarationLView=g,this._declarationTContainer=m,this.elementRef=_}createEmbeddedView(g){const m=this._declarationTContainer.tViews,_=Ls(this._declarationLView,m,g,16,null,m.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(_[19]=w.createEmbeddedView(m)),tn(m,_,g),new kl(_)}};function x_(){return Pd(Rt(),ye())}function Pd(h,g){return 4&h.type?new Vl(g,h,Rl(h,g)):null}let Bl=(()=>{class h{}return h.__NG_ELEMENT_ID__=T_,h})();function T_(){return Ol(Rt(),ye())}const Ga=Bl,po=class extends Ga{constructor(g,m,_){super(),this._lContainer=g,this._hostTNode=m,this._hostLView=_}get element(){return Rl(this._hostTNode,this._hostLView)}get injector(){return new vs(this._hostTNode,this._hostLView)}get parentInjector(){const g=Ma(this._hostTNode,this._hostLView);if(wf(g)){const m=wr(g,this._hostLView),_=Cs(g);return new vs(m[1].data[_+8],m)}return new vs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(g){const m=E_(this._lContainer);return null!==m&&m[g]||null}get length(){return this._lContainer.length-10}createEmbeddedView(g,m,_){const C=g.createEmbeddedView(m||{});return this.insert(C,_),C}createComponent(g,m,_,C,w){const v=g&&!function Ts(h){return"function"==typeof h}(g);let T;if(v)T=m;else{const F=m||{};T=F.index,_=F.injector,C=F.projectableNodes,w=F.ngModuleRef}const S=v?g:new np(hi(g)),P=_||this.parentInjector;if(!w&&null==S.ngModule&&P){const F=P.get(Il,null);F&&(w=F)}const R=S.create(P,C,void 0,w);return this.insert(R.hostView,T),R}insert(g,m){const _=g._lView,C=_[1];if(function Ft(h){return Ki(h[3])}(_)){const R=this.indexOf(g);if(-1!==R)this.detach(R);else{const F=_[3],Q=new po(F,F[6],F[3]);Q.detach(Q.indexOf(g))}}const w=this._adjustIndex(m),v=this._lContainer;!function K0(h,g,m,_){const C=10+_,w=m.length;_>0&&(m[C-1][4]=g),_0)_.push(v[T/2]);else{const P=w[T+1],R=g[-S];for(let F=10;F{class h{constructor(m){this.appInits=m,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,C)=>{this.resolve=_,this.reject=C})}runInitializers(){if(this.initialized)return;const m=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let C=0;C{w.subscribe({complete:T,error:S})});m.push(v)}}Promise.all(m).then(()=>{_()}).catch(C=>{this.reject(C)}),0===m.length&&_(),this.initialized=!0}}return h.\u0275fac=function(m){return new(m||h)(_i(Sp,8))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const aA=new $t("AppId"),sA={provide:aA,useFactory:function RT(){return`${z_()}${z_()}${z_()}`},deps:[]};function z_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const oA=new $t("Platform Initializer"),lA=new $t("Platform ID"),G_=new $t("appBootstrapListener");let U_=(()=>{class h{log(m){console.log(m)}warn(m){console.warn(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const Mp=new $t("LocaleId"),Fd=new $t("DefaultCurrencyCode");class IT{constructor(g,m){this.ngModuleFactory=g,this.componentFactories=m}}let q_=(()=>{class h{compileModuleSync(m){return new __(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const _=this.compileModuleSync(m),w=xr(gi(m).declarations).reduce((v,T)=>{const S=hi(T);return S&&v.push(new np(S)),v},[]);return new IT(_,w)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();const OT=(()=>Promise.resolve(0))();function W_(h){"undefined"==typeof Zone?OT.then(()=>{h&&h.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",h)}class Tn{constructor({enableLongStackTrace:g=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xn(!1),this.onMicrotaskEmpty=new xn(!1),this.onStable=new xn(!1),this.onError=new xn(!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)),g&&Zone.longStackTraceZoneSpec&&(C._inner=C._inner.fork(Zone.longStackTraceZoneSpec)),C.shouldCoalesceEventChangeDetection=!_&&m,C.shouldCoalesceRunChangeDetection=_,C.lastRequestAnimationFrameId=-1,C.nativeRequestAnimationFrame=function FT(){let h=ut.requestAnimationFrame,g=ut.cancelAnimationFrame;if("undefined"!=typeof Zone&&h&&g){const m=h[Zone.__symbol__("OriginalDelegate")];m&&(h=m);const _=g[Zone.__symbol__("OriginalDelegate")];_&&(g=_)}return{nativeRequestAnimationFrame:h,nativeCancelAnimationFrame:g}}().nativeRequestAnimationFrame,function NT(h){const g=()=>{!function jT(h){h.isCheckStableRunning||-1!==h.lastRequestAnimationFrameId||(h.lastRequestAnimationFrameId=h.nativeRequestAnimationFrame.call(ut,()=>{h.fakeTopEventTask||(h.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{h.lastRequestAnimationFrameId=-1,Q_(h),h.isCheckStableRunning=!0,$_(h),h.isCheckStableRunning=!1},void 0,()=>{},()=>{})),h.fakeTopEventTask.invoke()}),Q_(h))}(h)};h._inner=h._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,_,C,w,v,T)=>{try{return Hp(h),m.invokeTask(C,w,v,T)}finally{(h.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||h.shouldCoalesceRunChangeDetection)&&g(),cA(h)}},onInvoke:(m,_,C,w,v,T,S)=>{try{return Hp(h),m.invoke(C,w,v,T,S)}finally{h.shouldCoalesceRunChangeDetection&&g(),cA(h)}},onHasTask:(m,_,C,w)=>{m.hasTask(C,w),_===C&&("microTask"==w.change?(h._hasPendingMicrotasks=w.microTask,Q_(h),$_(h)):"macroTask"==w.change&&(h.hasPendingMacrotasks=w.macroTask))},onHandleError:(m,_,C,w)=>(m.handleError(C,w),h.runOutsideAngular(()=>h.onError.emit(w)),!1)})}(C)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Tn.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Tn.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(g,m,_){return this._inner.run(g,m,_)}runTask(g,m,_,C){const w=this._inner,v=w.scheduleEventTask("NgZoneEvent: "+C,g,LT,Ep,Ep);try{return w.runTask(v,m,_)}finally{w.cancelTask(v)}}runGuarded(g,m,_){return this._inner.runGuarded(g,m,_)}runOutsideAngular(g){return this._outer.run(g)}}const LT={};function $_(h){if(0==h._nesting&&!h.hasPendingMicrotasks&&!h.isStable)try{h._nesting++,h.onMicrotaskEmpty.emit(null)}finally{if(h._nesting--,!h.hasPendingMicrotasks)try{h.runOutsideAngular(()=>h.onStable.emit(null))}finally{h.isStable=!0}}}function Q_(h){h.hasPendingMicrotasks=!!(h._hasPendingMicrotasks||(h.shouldCoalesceEventChangeDetection||h.shouldCoalesceRunChangeDetection)&&-1!==h.lastRequestAnimationFrameId)}function Hp(h){h._nesting++,h.isStable&&(h.isStable=!1,h.onUnstable.emit(null))}function cA(h){h._nesting--,$_(h)}class Dp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xn,this.onMicrotaskEmpty=new xn,this.onStable=new xn,this.onError=new xn}run(g,m,_){return g.apply(m,_)}runGuarded(g,m,_){return g.apply(m,_)}runOutsideAngular(g){return g()}runTask(g,m,_,C){return g.apply(m,_)}}let dA=(()=>{class h{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.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:()=>{Tn.assertNotInAngularZone(),W_(()=>{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())W_(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(m)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,_,C){let w=-1;_&&_>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==w),m(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:m,timeoutId:w,updateCb:C})}whenStable(m,_,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(m,_,C),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,_,C){return[]}}return h.\u0275fac=function(m){return new(m||h)(_i(Tn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})(),uA=(()=>{class h{constructor(){this._applications=new Map,Pp.addToWindow(this)}registerApplication(m,_){this._applications.set(m,_)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,_=!0){return Pp.findTestabilityInTree(this,m,_)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();class zT{addToWindow(g){}findTestabilityInTree(g,m,_){return null}}function GT(h){Pp=h}let Gt,Pp=new zT;const kp=new $t("AllowMultipleToken");class UT{constructor(g,m){this.name=g,this.token=m}}function K_(h,g,m=[]){const _=`Platform: ${g}`,C=new $t(_);return(w=[])=>{let v=Ip();if(!v||v.injector.get(kp,!1))if(h)h(m.concat(w).concat({provide:C,useValue:!0}));else{const T=m.concat(w).concat({provide:C,useValue:!0},{provide:fh,useValue:"platform"});!function J_(h){if(Gt&&!Gt.destroyed&&!Gt.injector.get(kp,!1))throw new ae(400,"");Gt=h.get(eb);const g=h.get(oA,null);g&&g.forEach(m=>m())}(wn.create({providers:T,name:_}))}return function Z_(h){const g=Ip();if(!g)throw new ae(401,"");return g}()}}function Ip(){return Gt&&!Gt.destroyed?Gt:null}let eb=(()=>{class h{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,_){const T=function qT(h,g){let m;return m="noop"===h?new Dp:("zone.js"===h?void 0:h)||new Tn({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==g?void 0:g.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==g?void 0:g.ngZoneRunCoalescing)}),m}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),S=[{provide:Tn,useValue:T}];return T.run(()=>{const P=wn.create({providers:S,parent:this.injector,name:m.moduleType.name}),R=m.create(P),F=R.injector.get(Vs,null);if(!F)throw new ae(402,"");return T.runOutsideAngular(()=>{const Q=T.onError.subscribe({next:te=>{F.handleError(te)}});R.onDestroy(()=>{Vp(this._modules,R),Q.unsubscribe()})}),function tb(h,g,m){try{const _=m();return fd(_)?_.catch(C=>{throw g.runOutsideAngular(()=>h.handleError(C)),C}):_}catch(_){throw g.runOutsideAngular(()=>h.handleError(_)),_}}(F,T,()=>{const Q=R.injector.get(go);return Q.runInitializers(),Q.donePromise.then(()=>(function Yw(h){Bt(h,"Expected localeId to be defined"),"string"==typeof h&&(Jh=h.toLowerCase().replace(/_/g,"-"))}(R.injector.get(Mp,lr)||lr),this._moduleDoBootstrap(R),R))})})}bootstrapModule(m,_=[]){const C=pA({},_);return function Rp(h,g,m){const _=new __(m);return Promise.resolve(_)}(0,0,m).then(w=>this.bootstrapModuleFactory(w,C))}_moduleDoBootstrap(m){const _=m.injector.get(Ld);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(C=>_.bootstrap(C));else{if(!m.instance.ngDoBootstrap)throw new ae(403,"");m.instance.ngDoBootstrap(_)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m()),this._destroyed=!0}get destroyed(){return this._destroyed}}return h.\u0275fac=function(m){return new(m||h)(_i(wn))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function pA(h,g){return Array.isArray(g)?g.reduce(pA,h):Object.assign(Object.assign({},h),g)}let Ld=(()=>{class h{constructor(m,_,C,w,v){this._zone=m,this._injector=_,this._exceptionHandler=C,this._componentFactoryResolver=w,this._initStatus=v,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 T=new I.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),S=new I.y(P=>{let R;this._zone.runOutsideAngular(()=>{R=this._zone.onStable.subscribe(()=>{Tn.assertNotInAngularZone(),W_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{Tn.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{R.unsubscribe(),F.unsubscribe()}});this.isStable=(0,O.T)(T,S.pipe((0,B.B)()))}bootstrap(m,_){if(!this._initStatus.done)throw new ae(405,"");let C;C=m instanceof c_?m:this._componentFactoryResolver.resolveComponentFactory(m),this.componentTypes.push(C.componentType);const w=function hA(h){return h.isBoundToModule}(C)?void 0:this._injector.get(Il),T=C.create(wn.NULL,[],_||C.selector,w),S=T.location.nativeElement,P=T.injector.get(dA,null),R=P&&T.injector.get(uA);return P&&R&&R.registerApplication(S,P),T.onDestroy(()=>{this.detachView(T.hostView),Vp(this.components,T),R&&R.unregisterApplication(S)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new ae(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const _=m;this._views.push(_),_.attachToAppRef(this)}detachView(m){const _=m;Vp(this._views,_),_.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(G_,[]).concat(this._bootstrapListeners).forEach(C=>C(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return h.\u0275fac=function(m){return new(m||h)(_i(Tn),_i(wn),_i(Vs),_i(oo),_i(go))},h.\u0275prov=Ht({token:h,factory:h.\u0275fac}),h})();function Vp(h,g){const m=h.indexOf(g);m>-1&&h.splice(m,1)}let nb=!0;function ab(){nb=!1}let gA=(()=>{class h{}return h.__NG_ELEMENT_ID__=sb,h})();function sb(h){return function $a(h,g,m){if(ac(h)&&!m){const _=gt(h.index,g);return new kl(_,_)}return 47&h.type?new kl(g[16],g):null}(Rt(),ye(),16==(16&h))}class Op{constructor(){}supports(g){return Cl(g)}create(g){return new ub(g)}}const db=(h,g)=>g;class ub{constructor(g){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=g||db}forEachItem(g){let m;for(m=this._itHead;null!==m;m=m._next)g(m)}forEachOperation(g){let m=this._itHead,_=this._removalsHead,C=0,w=null;for(;m||_;){const v=!_||m&&m.currentIndex{v=this._trackByFn(C,T),null!==m&&Object.is(m.trackById,v)?(_&&(m=this._verifyReinsertion(m,T,v,C)),Object.is(m.item,T)||this._addIdentityChange(m,T)):(m=this._mismatch(m,T,v,C),_=!0),m=m._next,C++}),this.length=C;return this._truncate(m),this.collection=g,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let g;for(g=this._previousItHead=this._itHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._additionsHead;null!==g;g=g._nextAdded)g.previousIndex=g.currentIndex;for(this._additionsHead=this._additionsTail=null,g=this._movesHead;null!==g;g=g._nextMoved)g.previousIndex=g.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(g,m,_,C){let w;return null===g?w=this._itTail:(w=g._prev,this._remove(g)),null!==(g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(g.item,m)||this._addIdentityChange(g,m),this._reinsertAfter(g,w,C)):null!==(g=null===this._linkedRecords?null:this._linkedRecords.get(_,C))?(Object.is(g.item,m)||this._addIdentityChange(g,m),this._moveAfter(g,w,C)):g=this._addAfter(new hb(m,_),w,C),g}_verifyReinsertion(g,m,_,C){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==w?g=this._reinsertAfter(w,g._prev,C):g.currentIndex!=C&&(g.currentIndex=C,this._addToMoves(g,C)),g}_truncate(g){for(;null!==g;){const m=g._next;this._addToRemovals(this._unlink(g)),g=m}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(g,m,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(g);const C=g._prevRemoved,w=g._nextRemoved;return null===C?this._removalsHead=w:C._nextRemoved=w,null===w?this._removalsTail=C:w._prevRemoved=C,this._insertAfter(g,m,_),this._addToMoves(g,_),g}_moveAfter(g,m,_){return this._unlink(g),this._insertAfter(g,m,_),this._addToMoves(g,_),g}_addAfter(g,m,_){return this._insertAfter(g,m,_),this._additionsTail=null===this._additionsTail?this._additionsHead=g:this._additionsTail._nextAdded=g,g}_insertAfter(g,m,_){const C=null===m?this._itHead:m._next;return g._next=C,g._prev=m,null===C?this._itTail=g:C._prev=g,null===m?this._itHead=g:m._next=g,null===this._linkedRecords&&(this._linkedRecords=new Fp),this._linkedRecords.put(g),g.currentIndex=_,g}_remove(g){return this._addToRemovals(this._unlink(g))}_unlink(g){null!==this._linkedRecords&&this._linkedRecords.remove(g);const m=g._prev,_=g._next;return null===m?this._itHead=_:m._next=_,null===_?this._itTail=m:_._prev=m,g}_addToMoves(g,m){return g.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=g:this._movesTail._nextMoved=g),g}_addToRemovals(g){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Fp),this._unlinkedRecords.put(g),g.currentIndex=null,g._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=g,g._prevRemoved=null):(g._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=g),g}_addIdentityChange(g,m){return g.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=g:this._identityChangesTail._nextIdentityChange=g,g}}class hb{constructor(g,m){this.item=g,this.trackById=m,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 wA{constructor(){this._head=null,this._tail=null}add(g){null===this._head?(this._head=this._tail=g,g._nextDup=null,g._prevDup=null):(this._tail._nextDup=g,g._prevDup=this._tail,g._nextDup=null,this._tail=g)}get(g,m){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===m||m<=_.currentIndex)&&Object.is(_.trackById,g))return _;return null}remove(g){const m=g._prevDup,_=g._nextDup;return null===m?this._head=_:m._nextDup=_,null===_?this._tail=m:_._prevDup=m,null===this._head}}class Fp{constructor(){this.map=new Map}put(g){const m=g.trackById;let _=this.map.get(m);_||(_=new wA,this.map.set(m,_)),_.add(g)}get(g,m){const C=this.map.get(g);return C?C.get(g,m):null}remove(g){const m=g.trackById;return this.map.get(m).remove(g)&&this.map.delete(m),g}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Lp(h,g,m){const _=h.previousIndex;if(null===_)return _;let C=0;return m&&_{if(m&&m.key===C)this._maybeAddToChanges(m,_),this._appendAfter=m,m=m._next;else{const w=this._getOrCreateRecordForKey(C,_);m=this._insertBeforeOrAppend(m,w)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let _=m;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(g,m){if(g){const _=g._prev;return m._next=g,m._prev=_,g._prev=m,_&&(_._next=m),g===this._mapHead&&(this._mapHead=m),this._appendAfter=g,g}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(g,m){if(this._records.has(g)){const C=this._records.get(g);this._maybeAddToChanges(C,m);const w=C._prev,v=C._next;return w&&(w._next=v),v&&(v._prev=w),C._next=null,C._prev=null,C}const _=new jp(g);return this._records.set(g,_),_.currentValue=m,this._addToAdditions(_),_}_reset(){if(this.isDirty){let g;for(this._previousMapHead=this._mapHead,g=this._previousMapHead;null!==g;g=g._next)g._nextPrevious=g._next;for(g=this._changesHead;null!==g;g=g._nextChanged)g.previousValue=g.currentValue;for(g=this._additionsHead;null!=g;g=g._nextAdded)g.previousValue=g.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(g,m){Object.is(m,g.currentValue)||(g.previousValue=g.currentValue,g.currentValue=m,this._addToChanges(g))}_addToAdditions(g){null===this._additionsHead?this._additionsHead=this._additionsTail=g:(this._additionsTail._nextAdded=g,this._additionsTail=g)}_addToChanges(g){null===this._changesHead?this._changesHead=this._changesTail=g:(this._changesTail._nextChanged=g,this._changesTail=g)}_forEach(g,m){g instanceof Map?g.forEach(m):Object.keys(g).forEach(_=>m(g[_],_))}}class jp{constructor(g){this.key=g,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 Np(){return new Ul([new Op])}let Ul=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(null!=_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||Np()),deps:[[h,new Ur,new Gr]]}}find(m){const _=this.factories.find(C=>C.supports(m));if(null!=_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:Np}),h})();function qd(){return new Ya([new Ud])}let Ya=(()=>{class h{constructor(m){this.factories=m}static create(m,_){if(_){const C=_.factories.slice();m=m.concat(C)}return new h(m)}static extend(m){return{provide:h,useFactory:_=>h.create(m,_||qd()),deps:[[h,new Ur,new Gr]]}}find(m){const _=this.factories.find(w=>w.supports(m));if(_)return _;throw new ae(901,"")}}return h.\u0275prov=Ht({token:h,providedIn:"root",factory:qd}),h})();const fb=[new Ud],mb=new Ul([new Op]),dr=new Ya(fb),_b=K_(null,"core",[{provide:lA,useValue:"unknown"},{provide:eb,deps:[wn]},{provide:uA,deps:[]},{provide:U_,deps:[]}]),Up=[{provide:Ld,useClass:Ld,deps:[Tn,wn,Vs,oo,go]},{provide:ip,deps:[Tn],useFactory:function Wd(h){let g=[];return h.onStable.subscribe(()=>{for(;g.length;)g.pop()()}),function(m){g.push(m)}}},{provide:go,useClass:go,deps:[[new Gr,Sp]]},{provide:q_,useClass:q_,deps:[]},sA,{provide:Ul,useFactory:function KT(){return mb},deps:[]},{provide:Ya,useFactory:function ZT(){return dr},deps:[]},{provide:Mp,useFactory:function zp(h){return h||function Gp(){return"undefined"!=typeof $localize&&$localize.locale||lr}()},deps:[[new Jo(Mp),new Gr,new Ur]]},{provide:Fd,useValue:"USD"}];let AA=(()=>{class h{constructor(m){}}return h.\u0275fac=function(m){return new(m||h)(_i(Ld))},h.\u0275mod=_a({type:h}),h.\u0275inj=Qi({providers:Up}),h})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4825),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class L extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return L.\u0275fac=function(){let N;return function(E){return(N||(N=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(L)))(E||L)}}(),L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class L{constructor(){this.data=new Map}getItem(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,E){this.data.set(x,E)}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class ReceivedTokens{}class OAuthEvent{constructor(N){this.type=N}}class OAuthSuccessEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(N,x=null){super(N),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(N,x,E=null){super(N),this.reason=x,this.params=E}}function b64DecodeUnicode(L){const N=L.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(N).split("").map(function(x){return"%"+("00"+x.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(L){return btoa(L).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(N){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=x=>{location.href=x},N&&Object.assign(this,N)}}class WebHttpUrlEncodingCodec{encodeKey(N){return encodeURIComponent(N)}encodeValue(N){return encodeURIComponent(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(N){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){let x=this.inferHashAlgorithm(N.idTokenHeader),E=yield this.calcHash(N.accessToken,x),I=base64UrlEncode(E.substr(0,E.length/2)),O=N.idTokenClaims.at_hash.replace(/=/g,"");return I!==O&&(console.error("exptected at_hash: "+I),console.error("actual at_hash: "+O)),I===O})}inferHashAlgorithm(N){let x=N.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class L{getHashFragmentParams(x){let E=x||window.location.hash;if(E=decodeURIComponent(E),0!==E.indexOf("#"))return{};const p=E.indexOf("?");return E=E.substr(p>-1?p+1:1),this.parseQueryString(E)}parseQueryString(x){const E={};let p,I,O,B,j,q,Y;if(null===x)return E;p=x.split("&");for(let U=0;U>6,I[B++]=128|63&j):j<55296||j>=57344?(I[B++]=224|j>>12,I[B++]=128|j>>6&63,I[B++]=128|63&j):(j=65536+((1023&j)<<10|1023&L.charCodeAt(++E)),I[B++]=240|j>>18,I[B++]=128|j>>12&63,I[B++]=128|j>>6&63,I[B++]=128|63&j);L=I}else{if("object"!==p)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR)}L.length>64&&(L=new Sha256(N,!0).update(L).array());var q=[],Y=[];for(E=0;E<64;++E){var U=L[E]||0;q[E]=92^U,Y[E]=54^U}Sha256.call(this,N,x),this.update(Y),this.oKeyPad=q,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(L){if(!this.finalized){var N,x=typeof L;if("string"!==x){if("object"!==x)throw new Error(ERROR);if(null===L)throw new Error(ERROR);if(ARRAY_BUFFER&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!(Array.isArray(L)||ARRAY_BUFFER&&ArrayBuffer.isView(L)))throw new Error(ERROR);N=!0}for(var E,I,p=0,O=L.length,B=this.blocks;p>2]|=L[p]<>2]|=E<>2]|=(192|E>>6)<>2]|=(128|63&E)<=57344?(B[I>>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=B[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 L=this.blocks,N=this.lastByteIndex;L[16]=this.block,L[N>>2]|=EXTRA[3&N],this.block=L[16],N>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var q,z,W,ae,ie,le,L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=this.blocks;for(q=16;q<64;++q)j[q]=j[q-16]+(((z=j[q-15])>>>7|z<<25)^(z>>>18|z<<14)^z>>>3)+j[q-7]+(((z=j[q-2])>>>17|z<<15)^(z>>>19|z<<13)^z>>>10)<<0;for(le=N&x,q=0;q<64;q+=4)this.first?(this.is224?(W=300032,B=(z=j[0]-1413257819)-150054599<<0,E=z+24177077<<0):(W=704751109,B=(z=j[0]-210244248)-1521486534<<0,E=z+143694565<<0),this.first=!1):(B=E+(z=B+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&I^~p&O)+K[q]+j[q])<<0,E=z+(((L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10))+((W=L&N)^L&x^le))<<0),O=x+(z=O+((B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7))+(B&p^~B&I)+K[q+1]+j[q+1])<<0,x=z+(((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+((ae=E&L)^E&N^W))<<0,I=N+(z=I+((O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7))+(O&B^~O&p)+K[q+2]+j[q+2])<<0,N=z+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((ie=x&E)^x&L^ae))<<0,p=L+(z=p+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&O^~I&B)+K[q+3]+j[q+3])<<0,L=z+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((le=N&x)^N&E^ie))<<0;this.h0=this.h0+L<<0,this.h1=this.h1+N<<0,this.h2=this.h2+x<<0,this.h3=this.h3+E<<0,this.h4=this.h4+p<<0,this.h5=this.h5+I<<0,this.h6=this.h6+O<<0,this.h7=this.h7+B<<0},Sha256.prototype.hex=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=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]+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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[p>>28&15]+HEX_CHARS[p>>24&15]+HEX_CHARS[p>>20&15]+HEX_CHARS[p>>16&15]+HEX_CHARS[p>>12&15]+HEX_CHARS[p>>8&15]+HEX_CHARS[p>>4&15]+HEX_CHARS[15&p]+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[O>>28&15]+HEX_CHARS[O>>24&15]+HEX_CHARS[O>>20&15]+HEX_CHARS[O>>16&15]+HEX_CHARS[O>>12&15]+HEX_CHARS[O>>8&15]+HEX_CHARS[O>>4&15]+HEX_CHARS[15&O];return this.is224||(j+=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]),j},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var L=this.h0,N=this.h1,x=this.h2,E=this.h3,p=this.h4,I=this.h5,O=this.h6,B=this.h7,j=[L>>24&255,L>>16&255,L>>8&255,255&L,N>>24&255,N>>16&255,N>>8&255,255&N,x>>24&255,x>>16&255,x>>8&255,255&x,E>>24&255,E>>16&255,E>>8&255,255&E,p>>24&255,p>>16&255,p>>8&255,255&p,I>>24&255,I>>16&255,I>>8&255,255&I,O>>24&255,O>>16&255,O>>8&255,255&O];return this.is224||j.push(B>>24&255,B>>16&255,B>>8&255,255&B),j},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),N=new DataView(L);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),L},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),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(L){if("string"!=typeof L)throw new TypeError("expected string");var N,x=L,E=new Uint8Array(x.length);for(N=0;N{class L{calcHash(x,E){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let E="";for(let p of x)E+=String.fromCharCode(p);return E}toHashString(x){const E=new Uint8Array(x);let p="";for(let I of E)p+=String.fromCharCode(I);return p}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})(),OAuthService=(()=>{class L extends AuthConfig{constructor(x,E,p,I,O,B,j,q,Y,U){var $;super(),this.ngZone=x,this.http=E,this.config=O,this.urlHelper=B,this.logger=j,this.crypto=q,this.dateTimeService=U,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Y,O||(O={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),I&&(this.tokenValidationHandler=I),O&&this.configure(O);try{p?this.setStorage(p):"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===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.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 x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(E){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},E,p=!0){let I=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(O=>{"token_received"===O.type?I=!0:"logout"===O.type&&(I=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_expires"===O.type&&(null==E||"any"===E||O.info===E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(O=>{I&&this.refreshInternal(x,p).catch(B=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,E){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,E):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(E=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(E=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const E=[],p=this.validateUrlForHttps(x),I=this.validateUrlAgainstIssuer(x);return p||E.push("https for all urls required. Also for urls received by discovery."),I||E.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),E}validateUrlForHttps(x){if(!x)return!0;const E=x.toLowerCase();return!(!1!==this.requireHttps&&(!E.match(/^http:\/\/localhost($|[:\/])/)&&!E.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||E.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,E){if(!x)throw new Error(`'${E}' should not be null`);if(!this.validateUrlForHttps(x))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(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),E=this.getAccessTokenStoredAt(),p=this.calcTimeout(E,x);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)(p)).subscribe(I=>{this.ngZone.run(()=>{this.eventsSubject.next(I)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),E=this.getIdTokenStoredAt(),p=this.calcTimeout(E,x);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)(p)).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(x,E){const p=this.dateTimeService.now();return Math.max(0,(E-x)*this.timeoutFactor-(p-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((E,p)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(I=>{if(!this.validateDiscoveryDocument(I))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void p("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(O=>{const j=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:I,jwks:O});this.eventsSubject.next(j),E(j)}).catch(O=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",O)),p(O)})},I=>{this.logger.error("error loading discovery document",I),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",I)),p(I)}):p("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((x,E)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(p=>{this.jwks=p,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(p)},p=>{this.logger.error("error loading jwks",p),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",p)),E(p)}):x(null)})}validateDiscoveryDocument(x){let E;return this.skipIssuerCheck||x.issuer===this.issuer?(E=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),E.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),E.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.token_endpoint),E.length>0&&this.logger.error("error validating token_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),E.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",E),E=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),E.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",E),!1):(E=this.validateUrlFromDiscoveryDocument(x.jwks_uri),E.length>0?(this.logger.error("error validating jwks_uri in discovery document",E),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,E,p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,E,p).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((x,E)=>{const p=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:p,observe:"response",responseType:"text"}).subscribe(I=>{if(this.debug("userinfo received",JSON.stringify(I)),I.headers.get("content-type").startsWith("application/json")){let O=JSON.parse(I.body);const B=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!B.sub||O.sub!==B.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");O=Object.assign({},B,O),this._storage.setItem("id_token_claims_obj",JSON.stringify(O)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:O})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(I.body))},I=>{this.logger.error("error loading user info",I),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",I)),E(I)})})}fetchTokenUsingPasswordFlow(x,E,p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:E},p)}fetchTokenUsingGrant(x,E,p=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",x).set("scope",this.scope);if(this.useHttpBasicAuth){const O=btoa(`${this.clientId}:${this.dummyClientSecret}`);p=p.set("Authorization","Basic "+O)}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 O of Object.getOwnPropertyNames(this.customQueryParams))I=I.set(O,this.customQueryParams[O]);for(const O of Object.keys(E))I=I.set(O,E[O]);return p=p.set("Content-Type","application/x-www-form-urlencoded"),new Promise((O,B)=>{this.http.post(this.tokenEndpoint,I,{headers:p}).subscribe(j=>{this.debug("tokenResponse",j),this.storeAccessTokenResponse(j.access_token,j.refresh_token,j.expires_in||this.fallbackAccessTokenExpirationTimeInSec,j.scope,this.extractRecognizedCustomParameters(j)),this.oidc&&j.id_token&&this.processIdToken(j.id_token,j.access_token).then(q=>{this.storeIdToken(q),O(j)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),O(j)},j=>{this.logger.error("Error performing ${grantType} flow",j),this.eventsSubject.next(new OAuthErrorEvent("token_error",j)),B(j)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,E)=>{let p=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 O=btoa(`${this.clientId}:${this.dummyClientSecret}`);I=I.set("Authorization","Basic "+O)}if(this.useHttpBasicAuth||(p=p.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(p=p.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const O of Object.getOwnPropertyNames(this.customQueryParams))p=p.set(O,this.customQueryParams[O]);this.http.post(this.tokenEndpoint,p,{headers:I}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(O=>O.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(O.id_token,O.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(B=>this.storeIdToken(B)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(B=>O)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(O))).subscribe(O=>{this.debug("refresh tokenResponse",O),this.storeAccessTokenResponse(O.access_token,O.refresh_token,O.expires_in||this.fallbackAccessTokenExpirationTimeInSec,O.scope,this.extractRecognizedCustomParameters(O)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),x(O)},O=>{this.logger.error("Error refreshing token",O),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",O)),E(O)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const E=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:E,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(p=>this.debug("tryLogin during silent refresh failed",p))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},E=!0){const p=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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=p.sub;const O=this.document.createElement("iframe");O.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,E,x).then(U=>{O.setAttribute("src",U),this.silentRefreshShowIFrame||(O.style.display="none"),this.document.body.appendChild(O)});const j=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>U instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),q=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(U=>"token_received"===U.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),Y=(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__.S)([j,q,Y]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(U=>{if(U instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===U.type||(U=new OAuthErrorEvent("silent_refresh_error",U)),this.eventsSubject.next(U),U;return"token_received"===U.type&&(U=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(U)),U})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(E=>new Promise((p,I)=>{let j,B=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(B=x.windowRef,B.location.href=E):B=window.open(E,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const q=re=>{this.tryLogin({customHashFragment:re,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{U(),p(!0)},oe=>{U(),I(oe)})};B?j=window.setInterval(()=>{(!B||B.closed)&&(U(),I(new OAuthErrorEvent("popup_closed",{})))},500):I(new OAuthErrorEvent("popup_blocked",{}));const U=()=>{window.clearInterval(j),window.removeEventListener("storage",z),window.removeEventListener("message",$),null!==B&&B.close(),B=null},$=re=>{const oe=this.processMessageEventMessage(re);oe&&null!==oe?(window.removeEventListener("storage",z),q(oe)):console.log("false event firing")},z=re=>{"auth_hash"===re.key&&(window.removeEventListener("message",$),q(re.newValue))};window.addEventListener("message",$),window.addEventListener("storage",z)}))}calculatePopupFeatures(x){const E=x.height||470,p=x.width||500,I=window.screenLeft+(window.outerWidth-p)/2;return`location=no,toolbar=no,width=${p},height=${E},top=${window.screenTop+(window.outerHeight-E)/2},left=${I}`}processMessageEventMessage(x){let E="#";if(this.silentRefreshMessagePrefix&&(E+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const p=x.data;return p.startsWith(E)?"#"+p.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=x=>{const E=x.origin.toLowerCase(),p=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),p.startsWith(E)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",E,"expected",p,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const E=this.getSessionState();E||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+E,this.issuer)}createLoginUrl(x="",E="",p="",I=!1,O={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const B=this;let j;j=p||this.redirectUri;const q=yield this.createAndSaveNonce();if(x=x?q+this.config.nonceStateSeparator+encodeURIComponent(x):q,!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 Y=B.loginUrl.indexOf("?")>-1?"&":"?";let U=B.scope;this.oidc&&!U.match(/(^|\s)openid($|\s)/)&&(U="openid "+U);let $=B.loginUrl+Y+"response_type="+encodeURIComponent(B.responseType)+"&client_id="+encodeURIComponent(B.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(j)+"&scope="+encodeURIComponent(U);if(this.responseType.includes("code")&&!this.disablePKCE){const[z,re]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",re):this._storage.setItem("PKCE_verifier",re),$+="&code_challenge="+z,$+="&code_challenge_method=S256"}E&&($+="&login_hint="+encodeURIComponent(E)),B.resource&&($+="&resource="+encodeURIComponent(B.resource)),B.oidc&&($+="&nonce="+encodeURIComponent(q)),I&&($+="&prompt=none");for(const z of Object.keys(O))$+="&"+encodeURIComponent(z)+"="+encodeURIComponent(O[z]);if(this.customQueryParams)for(const z of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+z+"="+encodeURIComponent(this.customQueryParams[z]);return $})}initImplicitFlowInternal(x="",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 p={},I=null;"string"==typeof E?I=E:"object"==typeof E&&(p=E),this.createLoginUrl(x,I,null,!1,p).then(this.config.openUri).catch(O=>{console.error("Error in initImplicitFlow",O),this.inImplicitFlow=!1})}initImplicitFlow(x="",E=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,E):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(p=>"discovery_document_loaded"===p.type)).subscribe(p=>this.initImplicitFlowInternal(x,E))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const E=this;if(x.onTokenReceived){const p={idClaims:E.getIdentityClaims(),idToken:E.getIdToken(),accessToken:E.getAccessToken(),state:E.state};x.onTokenReceived(p)}}storeAccessTokenResponse(x,E,p,I,O){if(this._storage.setItem("access_token",x),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()),p){const B=1e3*p,q=this.dateTimeService.new().getTime()+B;this._storage.setItem("expires_at",""+q)}E&&this._storage.setItem("refresh_token",E),O&&O.forEach((B,j)=>{this._storage.setItem(j,B)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(E=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,p=this.getCodePartsFromUrl(E),I=p.code,O=p.state,B=p.session_state;if(!x.preventClearHashAfterLogin){const Y=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,Y)}let[j,q]=this.parseState(O);if(this.state=q,p.error){this.debug("error trying to login"),this.handleLoginError(x,p);const Y=new OAuthErrorEvent("code_error",{},p);return this.eventsSubject.next(Y),Promise.reject(Y)}if(!x.disableNonceCheck){if(!j)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(j)){const U=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(U),Promise.reject(U)}return this.storeSessionState(B),I&&(yield this.getTokenFromCode(I,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,E){let p=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",E.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?p=p.set("code_verifier",I):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(p,E)}fetchAndProcessToken(x,E){E=E||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let p=(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}`);p=p.set("Authorization","Basic "+I)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((I,O)=>{if(this.customQueryParams)for(let B of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(B,this.customQueryParams[B]);this.http.post(this.tokenEndpoint,x,{headers:p}).subscribe(B=>{this.debug("refresh tokenResponse",B),this.storeAccessTokenResponse(B.access_token,B.refresh_token,B.expires_in||this.fallbackAccessTokenExpirationTimeInSec,B.scope,this.extractRecognizedCustomParameters(B)),this.oidc&&B.id_token?this.processIdToken(B.id_token,B.access_token,E.disableNonceCheck).then(j=>{this.storeIdToken(j),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(B)}).catch(j=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",j)),console.error("Error validating tokens"),console.error(j),O(j)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),I(B))},B=>{console.error("Error getting token",B),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",B)),O(B)})})}tryLoginImplicitFlow(x=null){let E;E=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",E);const p=E.state;let[I,O]=this.parseState(p);if(this.state=O,E.error){this.debug("error trying to login"),this.handleLoginError(x,E);const U=new OAuthErrorEvent("token_error",{},E);return this.eventsSubject.next(U),Promise.reject(U)}const B=E.access_token,j=E.id_token,q=E.session_state,Y=E.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!B||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!p||this.oidc&&!j)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!q&&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&&!x.disableNonceCheck&&!this.validateNonce(I)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(B,null,E.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Y),this.oidc?this.processIdToken(j,B,x.disableNonceCheck).then(U=>x.validationHandler?x.validationHandler({accessToken:B,idClaims:U.idTokenClaims,idToken:U.idToken,state:p}).then($=>U):U).then(U=>(this.storeIdToken(U),this.storeSessionState(q),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(U=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",U)),this.logger.error("Error validating tokens"),this.logger.error(U),Promise.reject(U))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let E=x,p="";if(x){const I=x.indexOf(this.config.nonceStateSeparator);I>-1&&(E=x.substr(0,I),p=x.substr(I+this.config.nonceStateSeparator.length))}return[E,p]}validateNonce(x){let E;return E=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),E===x||(console.error("Validating access_token failed, wrong state/nonce.",E,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,E){x.onLoginError&&x.onLoginError(E),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,E,p=!1){const I=x.split("."),B=b64DecodeUnicode(this.padBase64(I[0])),j=JSON.parse(B),Y=b64DecodeUnicode(this.padBase64(I[1])),U=JSON.parse(Y);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(U.aud)){if(U.aud.every(ie=>ie!==this.clientId)){const ie="Wrong audience: "+U.aud.join(",");return this.logger.warn(ie),Promise.reject(ie)}}else if(U.aud!==this.clientId){const ie="Wrong audience: "+U.aud;return this.logger.warn(ie),Promise.reject(ie)}if(!U.sub){const ie="No sub claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==U.sub){const ie=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${U.sub}`;return this.logger.warn(ie),Promise.reject(ie)}if(!U.iat){const ie="No iat claim in id_token";return this.logger.warn(ie),Promise.reject(ie)}if(!this.skipIssuerCheck&&U.iss!==this.issuer){const ie="Wrong issuer: "+U.iss;return this.logger.warn(ie),Promise.reject(ie)}if(!p&&U.nonce!==$){const ie="Wrong nonce: "+U.nonce;return this.logger.warn(ie),Promise.reject(ie)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!U.at_hash){const ie="An at_hash is needed!";return this.logger.warn(ie),Promise.reject(ie)}const z=this.dateTimeService.now(),re=1e3*U.iat,oe=1e3*U.exp,W=this.getClockSkewInMsec();if(re-W>=z||oe+W<=z){const ie="Token has expired";return console.error(ie),console.error({now:z,issuedAtMSec:re,expiresAtMSec:oe}),Promise.reject(ie)}const ae={accessToken:E,idToken:x,jwks:this.jwks,idTokenClaims:U,idTokenHeader:j,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ae).then(ie=>({idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:oe})):this.checkAtHash(ae).then(ie=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!ie){const le="Wrong at_hash";return this.logger.warn(le),Promise.reject(le)}return this.checkSignature(ae).then(le=>{const Me={idToken:x,idTokenClaims:U,idTokenClaimsJson:Y,idTokenHeader:j,idTokenHeaderJson:B,idTokenExpiresAt:oe};return this.disableAtHashCheck?Me:this.checkAtHash(ae).then(De=>{if(this.requestAccessToken&&!De){const Ce="Wrong at_hash";return this.logger.warn(Ce),Promise.reject(Ce)}return Me})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),E=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},E=""){let p=!1;"boolean"==typeof x&&(p=x,x={});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(B=>this._storage.removeItem(B)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||p||!I&&!this.postLogoutRedirectUri)return;let O;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)O=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(I)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});I&&(B=B.set("id_token_hint",I));const j=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";j&&(B=B.set("post_logout_redirect_uri",j),E&&(B=B.set("state",E)));for(let q in x)B=B.set(q,x[q]);O=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+B.toString()}this.config.openUri(O)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(E){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",E):x._storage.setItem("nonce",E),E})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const E=this.document.getElementById(this.sessionCheckIFrameName);E&&E.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let p=45,I="";const O="undefined"==typeof self?null:self.crypto||self.msCrypto;if(O){let B=new Uint8Array(p);O.getRandomValues(B),B.map||(B.map=Array.prototype.map),B=B.map(j=>E.charCodeAt(j%E.length)),I=String.fromCharCode.apply(null,B)}else for(;0"discovery_document_loaded"===p.type)).subscribe(p=>this.initCodeFlowInternal(x,E))}initCodeFlowInternal(x="",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 p={},I=null;"string"==typeof E?I=E:"object"==typeof E&&(p=E),this.createLoginUrl(x,I,null,!1,p).then(this.config.openUri).catch(O=>{console.error("Error in initAuthorizationCodeFlow"),console.error(O)})}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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let E=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(p=>{x[p]&&E.set(p,JSON.stringify(x[p]))}),E}revokeTokenAndLogout(x={},E=!1){let p=this.revocationEndpoint,I=this.getAccessToken(),O=this.getRefreshToken();if(!I)return;let B=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),j=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const q=btoa(`${this.clientId}:${this.dummyClientSecret}`);j=j.set("Authorization","Basic "+q)}if(this.useHttpBasicAuth||(B=B.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(B=B.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const q of Object.getOwnPropertyNames(this.customQueryParams))B=B.set(q,this.customQueryParams[q]);return new Promise((q,Y)=>{let U,$;if(I){let z=B.set("token",I).set("token_type_hint","access_token");U=this.http.post(p,z,{headers:j})}else U=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(O){let z=B.set("token",O).set("token_type_hint","refresh_token");$=this.http.post(p,z,{headers:j})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);E&&(U=U.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))),$=$.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__.a)([U,$]).subscribe(z=>{this.logOut(x),q(z),this.logger.info("Token successfully revoked")},z=>{this.logger.error("Error revoking token",z),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",z)),Y(z)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(N){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(N)}}let DefaultOAuthInterceptor=(()=>{class L{constructor(x,E,p){this.oAuthService=x,this.errorHandler=E,this.moduleConfig=p}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(E=>x.toLowerCase().startsWith(E.toLowerCase()))}intercept(x,E){const p=x.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(p)?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)(O=>!!O)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(O=>"token_received"===O.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(O=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(O=>{if(O){const j=x.headers.set("Authorization","Bearer "+O);x=x.clone({headers:j})}return E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(B=>this.errorHandler.handleError(B)))})):E.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(O=>this.errorHandler.handleError(O))):E.handle(x)}}return L.\u0275fac=function(x){return new(x||L)(_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))},L.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:L,factory:L.\u0275fac}),L})();class NullValidationHandler{validateSignature(N){return Promise.resolve(null)}validateAtHash(N){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class L{static forRoot(x=null,E=NullValidationHandler){return{ngModule:L,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:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return L.\u0275fac=function(x){return new(x||L)},L.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:L}),L.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),L})();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:L=>{"use strict";L.exports={i8:"9.1.0"}}},L=>{L(L.s=9631)}]); \ No newline at end of file diff --git a/dist/apps/publications/index.html b/dist/apps/publications/index.html index cad1b5909..2c719069c 100644 --- a/dist/apps/publications/index.html +++ b/dist/apps/publications/index.html @@ -6,7 +6,7 @@ - + @@ -40,5 +40,5 @@ - + diff --git a/dist/apps/publications/main.ede6a26bec3c4499.js b/dist/apps/publications/main.7b1e052eab9cde08.js similarity index 99% rename from dist/apps/publications/main.ede6a26bec3c4499.js rename to dist/apps/publications/main.7b1e052eab9cde08.js index 415150cf7..e906ade7a 100644 --- a/dist/apps/publications/main.ede6a26bec3c4499.js +++ b/dist/apps/publications/main.7b1e052eab9cde08.js @@ -1 +1 @@ -(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{4833:(Y,U,x)=>{"use strict";var T=x(9808),i=x(5e3);class S extends T.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends S{static makeCurrent(){(0,T.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 P(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==e?null:function V(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,T.Mx)(document.cookie,o)}}let L,E=null;const z=new i.OlP("TRANSITION_ID"),Q=[{provide:i.ip1,useFactory:function J(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,T.q)(),a=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let l=0;l{const l=o.findTestabilityInTree(t,a);if(null==l)throw new Error("Could not find testability for element.");return l},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const a=i.dqk.getAllAngularTestabilities();let l=a.length,d=!1;const s=function(r){d=d||r,l--,0==l&&t(d)};a.forEach(function(r){r.whenStable(s)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const a=o.getTestability(e);return null!=a?a:t?(0,T.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let ce=(()=>{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 ie=new i.OlP("EventManagerPlugins");let te=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(a=>a.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,a){return this._findPluginFor(t).addEventListener(e,t,a)}addGlobalEventListener(e,t,a){return this._findPluginFor(t).addGlobalEventListener(e,t,a)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const a=this._plugins;for(let l=0;l{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(a=>{this._stylesSet.has(a)||(this._stylesSet.add(a),t.add(a))}),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})(),Re=(()=>{class n extends fe{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,a){e.forEach(l=>{const d=this._doc.createElement("style");d.textContent=l,a.push(t.appendChild(d))})}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(ze),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,a)=>{this._addStylesToHost(e,a,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(ze))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function ze(n){(0,T.q)().remove(n)}const qe={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/"},Ee=/%COMP%/g;function de(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Ae=(()=>{class n{constructor(e,t,a){this.eventManager=e,this.sharedStylesHost=t,this.appId=a,this.rendererByCompId=new Map,this.defaultRenderer=new ye(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let a=this.rendererByCompId.get(t.id);return a||(a=new jt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,a)),a.applyToHost(e),a}case 1:case i.ifc.ShadowDom:return new ri(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const a=de(t.id,t.styles,[]);this.sharedStylesHost.addStyles(a),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(te),i.LFG(Re),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ye{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(qe[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,a){if(a){e=a+":"+e;const l=qe[a];l?o.setAttributeNS(l,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const a=qe[t];a?o.removeAttributeNS(a,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,a){a&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,a&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,me(t)):this.eventManager.addEventListener(o,e,me(t))}}class jt extends ye{constructor(o,e,t,a){super(o),this.component=t;const l=de(a+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function Oe(n){return"_ngcontent-%COMP%".replace(Ee,n)}(a+"-"+t.id),this.hostAttr=function Je(n){return"_nghost-%COMP%".replace(Ee,n)}(a+"-"+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 ri extends ye{constructor(o,e,t,a){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=de(a.id,a.styles,[]);for(let d=0;d{class n extends he{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,a){return e.addEventListener(t,a,!1),()=>this.removeEventListener(e,t,a)}removeEventListener(e,t,a){return e.removeEventListener(t,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Li=["alt","control","meta","shift"],$e={"\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"},Kt={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"},Mr={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let cn=(()=>{class n extends he{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,a){const l=n.parseEventName(t),d=n.eventCallback(l.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,T.q)().onAndCancel(e,l.domEventName,d))}static parseEventName(e){const t=e.toLowerCase().split("."),a=t.shift();if(0===t.length||"keydown"!==a&&"keyup"!==a)return null;const l=n._normalizeKey(t.pop());let d="";if(Li.forEach(r=>{const c=t.indexOf(r);c>-1&&(t.splice(c,1),d+=r+".")}),d+=l,0!=t.length||0===l.length)return null;const s={};return s.domEventName=a,s.fullKey=d,s}static getEventFullKey(e){let t="",a=function zi(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&&Kt.hasOwnProperty(o)&&(o=Kt[o]))}return $e[o]||o}(e);return a=a.toLowerCase()," "===a?a="space":"."===a&&(a="dot"),Li.forEach(l=>{l!=a&&Mr[l](e)&&(t+=l+".")}),t+=a,t}static eventCallback(e,t,a){return l=>{n.getEventFullKey(l)===e&&a.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ra=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:T.bD},{provide:i.g9A,useValue:function Kr(){M.makeCurrent(),oe.init()},multi:!0},{provide:T.K0,useFactory:function zs(){return(0,i.RDi)(document),document},deps:[]}]),Xr=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Ys(){return new i.qLn},deps:[]},{provide:ie,useClass:tt,multi:!0,deps:[T.K0,i.R0b,i.Lbi]},{provide:ie,useClass:cn,multi:!0,deps:[T.K0]},{provide:Ae,useClass:Ae,deps:[te,Re,i.AFp]},{provide:i.FYo,useExisting:Ae},{provide:fe,useExisting:Re},{provide:Re,useClass:Re,deps:[T.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:te,useClass:te,deps:[ie,i.R0b]},{provide:T.JF,useClass:ce,deps:[]}];let La=(()=>{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:z,useExisting:i.AFp},Q]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Xr,imports:[T.ez,i.hGG]}),n})(),Xt=(()=>{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ii(){return new Xt((0,i.LFG)(T.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Vn=(()=>{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(ls),t},providedIn:"root"}),n})(),ls=(()=>{class n extends Vn{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function os(n){return new ls(n.get(T.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var C=x(520);class je{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const ui=new i.OlP("basePath");class it{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,this.credentials=o.credentials?o.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}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())}lookupCredential(o){const e=this.credentials[o];return"function"==typeof e?e():e}}let Oi=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}getAllPolicies(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"role")),null!=t&&(r=this.addToHttpParams(r,t,"complementaryObjectId")),null!=a&&(r=this.addToHttpParams(r,a,"complementaryObjectName"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}getAuthzRichAdmins(e,t,a,l,d,s,r="body",c=!1,u){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==a)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"role")),null!=t&&(h=this.addToHttpParams(h,t,"complementaryObjectId")),null!=a&&(h=this.addToHttpParams(h,a,"complementaryObjectName")),l&&l.forEach(Ke=>{h=this.addToHttpParams(h,Ke,"specificAttributes")}),null!=d&&(h=this.addToHttpParams(h,d,"allUserAttributes")),null!=s&&(h=this.addToHttpParams(h,s,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let j=u&&u.httpHeaderAccept;void 0===j&&(j=this.configuration.selectHeaderAccept(["application/json"])),void 0!==j&&(f=f.set("Accept",j));let ee=u&&u.context;void 0===ee&&(ee=new C.qT);let pe="json";return j&&(pe=j.startsWith("text")?"text":this.configuration.isJsonMime(j)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:ee,params:h,responseType:pe,withCredentials:this.configuration.withCredentials,headers:f,observe:r,reportProgress:c})}getFacilitiesWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupRoleNames(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupRoles(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"groupId"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupsWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getLoggedUser(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getPerunPrincipal(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserRoleNames(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserRoles(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userId"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getVosWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}isFacilityAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isGroupAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isPerunAdmin(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}keepAlive(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}setRoleWithUserComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}unsetRoleWithGroupComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}unsetRoleWithUserComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hi=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}createAutorship(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateAuthorship was null or undefined when calling createAutorship.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createCategoryCat(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateCategory was null or undefined when calling createCategoryCat.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createCategoryNR(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateCategoryNR was null or undefined when calling createCategoryNR.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createPublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreatePublication was null or undefined when calling createPublication.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createPublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createThanks(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateThanks was null or undefined when calling createThanks.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteAuthorship(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"publicationId")),null!=t&&(s=this.addToHttpParams(s,t,"userId"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deleteCategory(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deletePublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deletePublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deleteThanks(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findAllAuthors(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findExternalPublications(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==l)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user")),null!=t&&(c=this.addToHttpParams(c,t,"yearSince")),null!=a&&(c=this.addToHttpParams(c,a,"yearTill")),null!=l&&(c=this.addToHttpParams(c,l,"pubSysNamespace"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}findNewAuthors(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findPublicationById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findPublicationsByFilter(e,t,a,l="body",d=!1,s){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let r=new C.LE({encoder:this.encoder});null!=t&&(r=this.addToHttpParams(r,t,"yearSince")),null!=a&&(r=this.addToHttpParams(r,a,"yearTill")),null!=e&&(r=this.addToHttpParams(r,e,"userId"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}findPublicationsByGUIFilter(e,t,a,l,d,s,r,c,u,h="body",f=!1,b){let j=new C.LE({encoder:this.encoder});null!=e&&(j=this.addToHttpParams(j,e,"title")),null!=t&&(j=this.addToHttpParams(j,t,"isbn")),null!=a&&(j=this.addToHttpParams(j,a,"doi")),null!=l&&(j=this.addToHttpParams(j,l,"id")),null!=d&&(j=this.addToHttpParams(j,d,"year")),null!=s&&(j=this.addToHttpParams(j,s,"category")),null!=r&&(j=this.addToHttpParams(j,r,"yearSince")),null!=c&&(j=this.addToHttpParams(j,c,"yearTill")),null!=u&&(j=this.addToHttpParams(j,u,"userId"));let pe,ee=this.defaultHeaders;pe=this.configuration.lookupCredential("BasicAuth"),pe&&(ee=ee.set("Authorization","Basic "+pe)),pe=this.configuration.lookupCredential("BearerAuth"),pe&&(ee=ee.set("Authorization","Bearer "+pe));let Ke=b&&b.httpHeaderAccept;void 0===Ke&&(Ke=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ke&&(ee=ee.set("Accept",Ke));let Dt=b&&b.context;void 0===Dt&&(Dt=new C.qT);let ut="json";return Ke&&(ut=Ke.startsWith("text")?"text":this.configuration.isJsonMime(Ke)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{context:Dt,params:j,responseType:ut,withCredentials:this.configuration.withCredentials,headers:ee,observe:h,reportProgress:f})}findSimilarPublications(e,t,a,l="body",d=!1,s){let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"title")),null!=t&&(r=this.addToHttpParams(r,t,"doi")),null!=a&&(r=this.addToHttpParams(r,a,"isbn"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}getCategories(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getRank(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichThanksByPublicationId(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}lockPublications(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputLockPublications was null or undefined when calling lockPublications.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updateCategory(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdateCategory was null or undefined when calling updateCategory.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updatePublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdatePublication was null or undefined when calling updatePublication.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updatePublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}createOwner(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateOwner was null or undefined when calling createOwner.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteOwner(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"owner")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getAllOwners(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getOwnerById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getOwnerByName(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"owner"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tn=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}sentMessageToRTWithMemberQueue(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"memberId")),null!=t&&(c=this.addToHttpParams(c,t,"queue")),null!=a&&(c=this.addToHttpParams(c,a,"subject")),null!=l&&(c=this.addToHttpParams(c,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}sentMessageToRTWithQueue(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"queue")),null!=t&&(r=this.addToHttpParams(r,t,"subject")),null!=a&&(r=this.addToHttpParams(r,a,"text"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}sentMessageToRTWithVo(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"subject")),null!=a&&(r=this.addToHttpParams(r,a,"text"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}sentMessageToRTWithVoQueue(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"voId")),null!=t&&(c=this.addToHttpParams(c,t,"queue")),null!=a&&(c=this.addToHttpParams(c,a,"subject")),null!=l&&(c=this.addToHttpParams(c,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Er=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}addSpecificUserOwner(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}addUserExtSource(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}anonymizeUser(e,t,a="body",l=!1,d){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=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}changeNonAuthzPasswordByToken(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}changePasswordForLogin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}changePasswordForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}checkPasswordResetRequestByTokenIsValid(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"token"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}checkPasswordStrength(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createAlternativePassword(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createServiceUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteAlternativePassword(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"loginNamespace")),null!=a&&(r=this.addToHttpParams(r,a,"passwordId"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}deletePasswordForLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deletePasswordForUser(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deleteUser(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}findRichUsers(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findRichUsersWithAttributes(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"searchString")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrsNames[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}findUsers(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}generateAccountForName(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getAllRichUsersWithAttributes(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"includedSpecificUsers"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getAssignedRichResourcesForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupsForFacilityWhereUserIsActive(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsForResourceWhereUserIsActive(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsWhereUserIsAdmin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getPendingPreferredEmailChanges(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUserExtSources(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUserWithAttributes(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersWithAttributesByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersWithoutVoWithAttributes(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"attrsNames[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getSpecificUsersByUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getSponsorsForMember(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getSponsorsForMemberByVoAndLogin(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo")),null!=t&&(c=this.addToHttpParams(c,t,"extSourceName")),null!=a&&(c=this.addToHttpParams(c,a,"extLogin")),l&&l.forEach(ee=>{c=this.addToHttpParams(c,ee,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}getUserByExtSourceNameAndExtLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extLogin")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceName"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourceByExtLoginAndExtSourceName(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extSourceName")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceLogin"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSourceById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userExtSource"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSources(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourcesByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsers(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getUsersByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsersBySpecificUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"specificUser"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsersPage(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}getVosWhereUserIsAdmin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getVosWhereUserIsMember(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isLoginAvailable(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"loginNamespace")),null!=t&&(s=this.addToHttpParams(s,t,"login"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}loginExist(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}removeSpecificUserOwner(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}removeUserExtSource(e,t,a,l="body",d=!1,s){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 r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"userExtSource")),null!=a&&(r=this.addToHttpParams(r,a,"force"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}requestPreferredEmailChange(e,t,a,l,d,s,r="body",c=!1,u){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 h=new C.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"user")),null!=t&&(h=this.addToHttpParams(h,t,"email")),null!=a&&(h=this.addToHttpParams(h,a,"lang")),null!=l&&(h=this.addToHttpParams(h,l,"linkPath")),null!=d&&(h=this.addToHttpParams(h,d,"customUrl")),null!=s&&(h=this.addToHttpParams(h,s,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let j=u&&u.httpHeaderAccept;void 0===j&&(j=this.configuration.selectHeaderAccept(["application/json"])),void 0!==j&&(f=f.set("Accept",j));let ee=u&&u.context;void 0===ee&&(ee=new C.qT);let pe="json";return j&&(pe=j.startsWith("text")?"text":this.configuration.isJsonMime(j)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:ee,params:h,responseType:pe,withCredentials:this.configuration.withCredentials,headers:f,observe:r,reportProgress:c})}reservePasswordForLogin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}reservePasswordForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}reserveRandomPassword(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}setLogin(e,t,a,l="body",d=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==a)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"login")),null!=a&&(r=this.addToHttpParams(r,a,"namespace"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}updateUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updateUserExtSourceLastAccess(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userExtSource"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}validatePasswordForLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}validatePasswordForUser(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}validatePreferredEmailChangeWithToken(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token")),null!=t&&(s=this.addToHttpParams(s,t,"u"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vt=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}getAppsConfig(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ju=(()=>{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:it,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(C.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[]]}),n})();var xt=(()=>{return(n=xt||(xt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.GROUPOBSERVER="GROUPOBSERVER",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",n.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",n.UNKNOWN="UNKNOWN",n.MEMBERSHIP="MEMBERSHIP",xt;var n})();let ra=(()=>{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 a=this.fetchPolicyWithAllIncludedPolicies(e);let l=[];for(const s of a)l=l.concat(s.perunRoles);const d=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,d)}principalHasRole(e,t,a){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(a.toString()))}canManageFacilities(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER,xt.FACILITYADMIN,xt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(xt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(xt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(xt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.VOOBSERVER,xt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(a=>{this.allRolesManagementRules=a,e()},a=>t(a))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(a=>{a.primaryObject===t&&e.push(a.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let a=e.beanName;a.startsWith("Rich")&&(a=a.substring(4)),this.assignAvailableRoles(t,a);const l=new Map;this.setRolesAuthorization(t,e,l);for(const d of l.values())if(d.readAuth||d.manageAuth)return!0;return!1}setRolesAuthorization(e,t,a){for(const l of e){let d=[],s=[],r=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){d=d.concat(b.privilegedRolesToRead),s=s.concat(b.privilegedRolesToManage);for(const j of Object.keys(b.entitiesToManage))r="User"===j?[j].concat(r):r.concat(j);break}const c=this.fetchAllRelatedObjects([t]),u=this.resolveAuthorization(d,c),h=this.resolveAuthorization(s,c);a.set(l,{readAuth:u,manageAuth:h,modes:r})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const a of e){let l=!0;for(const d of Object.keys(a)){const s=a[d];if(null===s)this.principalRoles.has(d)||(l=!1);else if(t[s]){for(const r of t[s])if(!this.principalHasRole(d,s,r)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const a of e){let l=a.beanName;switch(a.beanName.startsWith("Rich")&&(l=a.beanName.substring(4)),t[l]?t[l].push(a.id):t[l]=[a.id],l){case"Member":t.User?t.User.push(a.userId):t.User=[a.userId],t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId];break;case"Resource":t.Facility?t.Facility.push(a.facilityId):t.Facility=[a.facilityId],t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId]}}return t}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let a=[];for(a.push(e);0!==a.length;){const d=a.shift();if(t.has(d))continue;const s=this.getPerunPolicy(d);if(!s)return[];t.set(d,s),a=a.concat(s.includePolicies)}const l=[];for(const d of t.values())l.push(d);return l}voCustomSort(e){for(let t=0;t{(0,hs.Xf)(n()).subscribe(o)})}var rn=x(515),Rt=x(727),hn=x(4482),yn=x(5403);function fc(){return(0,hn.e)((n,o)=>{let e=null;n._refCount++;const t=(0,yn.x)(o,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const a=n._connection,l=e;e=null,a&&(!l||a===l)&&a.unsubscribe(),o.unsubscribe()});n.subscribe(t),t.closed||(e=n.connect())})}class mc extends Bi.y{constructor(o,e){super(),this.source=o,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,hn.A)(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){const o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:o}=this;this._subject=this._connection=null,null==o||o.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new Rt.w0;const e=this.getSubject();o.add(this.source.subscribe((0,yn.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),o.closed&&(this._connection=null,o=Rt.w0.EMPTY)}return o}refCount(){return fc()(this)}}var ft=x(4004),qi=x(3900),Yt=x(5698),fs=x(3269);function Jt(...n){const o=(0,fs.yG)(n);return(0,hn.e)((e,t)=>{(o?(0,us.z)(n,e,o):(0,us.z)(n,e)).subscribe(t)})}function Mn(n,o,e,t,a){return(l,d)=>{let s=e,r=o,c=0;l.subscribe((0,yn.x)(d,u=>{const h=c++;r=s?n(r,u,h):(s=!0,u),t&&d.next(r)},a&&(()=>{s&&d.next(r),d.complete()})))}}function Ko(n,o){return(0,hn.e)(Mn(n,o,arguments.length>=2,!0))}var Yn=x(262),Hr=x(4351);function ci(n){return n<=0?()=>rn.E:(0,hn.e)((o,e)=>{let t=[];o.subscribe((0,yn.x)(e,a=>{t.push(a),n{for(const a of t)e.next(a);e.complete()},void 0,()=>{t=null}))})}var ms=x(8068),aa=x(6590),Xo=x(4671),Js=x(590),Bt=x(5577),O=x(8505);function G(n){return(0,hn.e)((o,e)=>{try{o.subscribe(e)}finally{e.add(n)}})}var B=x(8189);class ${constructor(o,e){this.id=o,this.url=e}}class ne extends ${constructor(o,e,t="imperative",a=null){super(o,e),this.navigationTrigger=t,this.restoredState=a}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _e extends ${constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Te extends ${constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rt extends ${constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ai extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kt extends ${constructor(o,e,t,a,l){super(o,e),this.urlAfterRedirects=t,this.state=a,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Vt extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vi extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pi{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sa{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lr{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gs{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class el{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 Mt="primary";class tl{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 _s(n){return new tl(n)}const bs="ngNavigationCancelingError";function Dd(n){const o=Error("NavigationCancelingError: "+n);return o[bs]=!0,o}function Ut(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[l]===a)}return n===o}function Qs(n){return Array.prototype.concat.apply([],n)}function cr(n){return n.length>0?n[n.length-1]:null}function Gi(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function kr(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,xn.D)(Promise.resolve(n)):(0,Qe.of)(n)}const _c={exact:function Pd(n,o,e){if(!Fa(n.segments,o.segments)||!nl(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!Pd(n.children[t],o.children[t],e))return!1;return!0},subset:Sn},il={exact:function oa(n,o){return si(n,o)},subset:function Ks(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>Hd(n[e],o[e]))},ignored:()=>!0};function an(n,o,e){return _c[e.paths](n.root,o.root,e.matrixParams)&&il[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function Sn(n,o,e){return Qu(n,o,o.segments,e)}function Qu(n,o,e,t){if(n.segments.length>e.length){const a=n.segments.slice(0,e.length);return!(!Fa(a,e)||o.hasChildren()||!nl(a,e,t))}if(n.segments.length===e.length){if(!Fa(n.segments,e)||!nl(n.segments,e,t))return!1;for(const a in o.children)if(!n.children[a]||!Sn(n.children[a],o.children[a],t))return!1;return!0}{const a=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(Fa(n.segments,a)&&nl(n.segments,a,t)&&n.children[Mt])&&Qu(n.children[Mt],o,l,t)}}function nl(n,o,e){return o.every((t,a)=>il[e](n[a].parameters,t.parameters))}class ys{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return Xs.serialize(this)}}class It{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Gi(e,(t,a)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cs(this)}}class Pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_s(this.parameters)),this._parameterMap}toString(){return la(this)}}function Fa(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Ku{}class al{parse(o){const e=new wc(o);return new ys(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${eo(o.root,!0)}`,t=function Xu(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(a=>`${sl(e)}=${sl(a)}`).join("&"):`${sl(e)}=${sl(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function yc(n){return encodeURI(n)}(o.fragment)}`:""}`}}const Xs=new al;function Cs(n){return n.segments.map(o=>la(o)).join("/")}function eo(n,o){if(!n.hasChildren())return Cs(n);if(o){const e=n.children[Mt]?eo(n.children[Mt],!1):"",t=[];return Gi(n.children,(a,l)=>{l!==Mt&&t.push(`${l}:${eo(a,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function bc(n,o){let e=[];return Gi(n.children,(t,a)=>{a===Mt&&(e=e.concat(o(t,a)))}),Gi(n.children,(t,a)=>{a!==Mt&&(e=e.concat(o(t,a)))}),e}(n,(t,a)=>a===Mt?[eo(n.children[Mt],!1)]:[`${a}:${eo(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Mt]?`${Cs(n)}/${e[0]}`:`${Cs(n)}/(${e.join("//")})`}}function Rd(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sl(n){return Rd(n).replace(/%3B/gi,";")}function Ld(n){return Rd(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cc(n){return decodeURIComponent(n)}function pn(n){return Cc(n.replace(/\+/g,"%20"))}function la(n){return`${Ld(n.path)}${function Ti(n){return Object.keys(n).map(o=>`;${Ld(o)}=${Ld(n[o])}`).join("")}(n.parameters)}`}const eh=/^[^\/()?;=#]+/;function ol(n){const o=n.match(eh);return o?o[0]:""}const Cf=/^[^=?&#]+/,ws=/^[^&#]+/;class wc{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new It([],{}):new It([],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[Mt]=new It(o,e)),t}parseSegment(){const o=ol(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new Pr(Cc(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=ol(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const a=ol(this.remaining);a&&(t=a,this.capture(t))}o[Cc(e)]=Cc(t)}parseQueryParam(o){const e=function dr(n){const o=n.match(Cf);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const d=function ll(n){const o=n.match(ws);return o?o[0]:""}(this.remaining);d&&(t=d,this.capture(t))}const a=pn(e),l=pn(t);if(o.hasOwnProperty(a)){let d=o[a];Array.isArray(d)||(d=[d],o[a]=d),d.push(l)}else o[a]=l}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=ol(this.remaining),a=this.remaining[t.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):o&&(l=Mt);const d=this.parseChildren();e[l]=1===Object.keys(d).length?d[Mt]:new It([],d),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 to{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=io(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=io(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=Ac(o,this._root);return e.length<2?[]:e[e.length-2].children.map(a=>a.value).filter(a=>a!==o)}pathFromRoot(o){return Ac(o,this._root).map(e=>e.value)}}function io(n,o){if(n===o.value)return o;for(const e of o.children){const t=io(n,e);if(t)return t}return null}function Ac(n,o){if(n===o.value)return[o];for(const e of o.children){const t=Ac(n,e);if(t.length)return t.unshift(o),t}return[]}class ca{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function En(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class no extends to{constructor(o,e){super(o),this.snapshot=e,ih(this,o)}toString(){return this.snapshot.toString()}}function th(n,o){const e=function wf(n,o){const d=new Tc([],{},{},"",{},Mt,o,null,n.root,-1,{});return new vf("",new ca(d,[]))}(n,o),t=new Ki([new Pr("",{})]),a=new Ki({}),l=new Ki({}),d=new Ki({}),s=new Ki(""),r=new fn(t,a,d,s,l,Mt,o,e.root);return r.snapshot=e.root,new no(new ca(r,[]),e)}class fn{constructor(o,e,t,a,l,d,s,r){this.url=o,this.params=e,this.queryParams=t,this.fragment=a,this.data=l,this.outlet=d,this.component=s,this._futureSnapshot=r}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,ft.U)(o=>_s(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ft.U)(o=>_s(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vc(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const a=e[t],l=e[t-1];if(a.routeConfig&&""===a.routeConfig.path)t--;else{if(l.component)break;t--}}return function Af(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 Tc{constructor(o,e,t,a,l,d,s,r,c,u,h){this.url=o,this.params=e,this.queryParams=t,this.fragment=a,this.data=l,this.outlet=d,this.component=s,this.routeConfig=r,this._urlSegment=c,this._lastPathIndex=u,this._resolve=h}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=_s(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class vf extends to{constructor(o,e){super(e),this.url=o,ih(this,e)}toString(){return cl(this._root)}}function ih(n,o){o.value._routerState=n,o.children.forEach(e=>ih(n,e))}function cl(n){const o=n.children.length>0?` { ${n.children.map(cl).join(", ")} } `:"";return`${n.value}${o}`}function xc(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,si(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),si(o.params,e.params)||n.params.next(e.params),function gc(n,o){if(n.length!==o.length)return!1;for(let e=0;esi(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||dl(n.parent,o.parent))}function ro(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const a=function ul(n,o,e){return o.children.map(t=>{for(const a of e.children)if(n.shouldReuseRoute(t.value,a.value.snapshot))return ro(n,t,a);return ro(n,t)})}(n,o,e);return new ca(t,a)}{if(n.shouldAttach(o.value)){const l=n.retrieve(o.value);if(null!==l){const d=l.route;return d.value._futureSnapshot=o.value,d.children=o.children.map(s=>ro(n,s)),d}}const t=function ao(n){return new fn(new Ki(n.url),new Ki(n.params),new Ki(n.queryParams),new Ki(n.fragment),new Ki(n.data),n.outlet,n.component,n)}(o.value),a=o.children.map(l=>ro(n,l));return new ca(t,a)}}function da(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function As(n){return"object"==typeof n&&null!=n&&n.outlets}function so(n,o,e,t,a){let l={};return t&&Gi(t,(d,s)=>{l[s]=Array.isArray(d)?d.map(r=>`${r}`):`${d}`}),new ys(e.root===n?o:xf(e.root,n,o),l,a)}function xf(n,o,e){const t={};return Gi(n.children,(a,l)=>{t[l]=a===o?e:xf(a,o,e)}),new It(n.segments,t)}class Id{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&da(t[0]))throw new Error("Root segment cannot have matrix parameters");const a=t.find(As);if(a&&a!==cr(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sc{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ua(n,o,e){if(n||(n=new It([],{})),0===n.segments.length&&n.hasChildren())return Rr(n,o,e);const t=function hl(n,o,e){let t=0,a=o;const l={match:!1,pathIndex:0,commandIndex:0};for(;a=e.length)return l;const d=n.segments[a],s=e[t];if(As(s))break;const r=`${s}`,c=t0&&void 0===r)break;if(r&&c&&"object"==typeof c&&void 0===c.outlets){if(!Bd(r,c,d))return l;t+=2}else{if(!Bd(r,{},d))return l;t++}a++}return{match:!0,pathIndex:a,commandIndex:t}}(n,o,e),a=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(a[d]=ua(n.children[d],o,l))}),Gi(n.children,(l,d)=>{void 0===t[d]&&(a[d]=l)}),new It(n.segments,a)}}function Na(n,o,e){const t=n.segments.slice(0,o);let a=0;for(;a{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=Na(new It([],{}),0,e))}),o}function Ec(n){const o={};return Gi(n,(e,t)=>o[t]=`${e}`),o}function Bd(n,o,e){return n==e.path&&si(o,e.parameters)}class Mf{constructor(o,e,t,a){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=a}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),xc(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const a=En(e);o.children.forEach(l=>{const d=l.value.outlet;this.deactivateRoutes(l,a[d],t),delete a[d]}),Gi(a,(l,d)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(o,e,t){const a=o.value,l=e?e.value:null;if(a===l)if(a.component){const d=t.getContext(a.outlet);d&&this.deactivateChildRoutes(o,e,d.children)}else this.deactivateChildRoutes(o,e,t);else l&&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),a=t&&o.value.component?t.children:e,l=En(o);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],a);if(t&&t.outlet){const d=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:d,route:o,contexts:s})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),a=t&&o.value.component?t.children:e,l=En(o);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],a);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const a=En(e);o.children.forEach(l=>{this.activateRoutes(l,a[l.value.outlet],t),this.forwardEvent(new gs(l.value.snapshot))}),o.children.length&&this.forwardEvent(new lr(o.value.snapshot))}activateRoutes(o,e,t){const a=o.value,l=e?e.value:null;if(xc(a),a===l)if(a.component){const d=t.getOrCreateContext(a.outlet);this.activateChildRoutes(o,e,d.children)}else this.activateChildRoutes(o,e,t);else if(a.component){const d=t.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){const s=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),d.children.onOutletReAttached(s.contexts),d.attachRef=s.componentRef,d.route=s.route.value,d.outlet&&d.outlet.attach(s.componentRef,s.route.value),xc(s.route.value),this.activateChildRoutes(o,null,d.children)}else{const s=function Sf(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}(a.snapshot),r=s?s.module.componentFactoryResolver:null;d.attachRef=null,d.route=a,d.resolver=r,d.outlet&&d.outlet.activateWith(a,r),this.activateChildRoutes(o,null,d.children)}}else this.activateChildRoutes(o,null,t)}}class co{constructor(o,e){this.routes=o,this.module=e}}function tr(n){return"function"==typeof n}function Ya(n){return n instanceof ys}const vs=Symbol("INITIAL_VALUE");function Lr(){return(0,qi.w)(n=>(0,Ws.a)(n.map(o=>o.pipe((0,Yt.q)(1),Jt(vs)))).pipe(Ko((o,e)=>{let t=!1;return e.reduce((a,l,d)=>a!==vs?a:(l===vs&&(t=!0),t||!1!==l&&d!==e.length-1&&!Ya(l)?a:l),o)},vs),(0,Gt.h)(o=>o!==vs),(0,ft.U)(o=>Ya(o)?o:!0===o),(0,Yt.q)(1)))}class ho{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ir,this.attachRef=null}}class Ir{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 ho,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let pl=(()=>{class n{constructor(e,t,a,l,d){this.parentContexts=e,this.location=t,this.resolver=a,this.changeDetector=d,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=l||Mt,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 d=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,r=new jd(e,s,this.location.injector);this.activated=this.location.createComponent(d,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ir),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 jd{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===fn?this.route:o===Ir?this.childContexts:this.parent.get(o,e)}}let Ts=(()=>{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:[pl],encapsulation:2}),n})();function Df(n,o=""){for(let e=0;eur(t)===o);return e.push(...n.filter(t=>ur(t)!==o)),e}const Pf={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ml(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},Pf):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(o.matcher||Ut)(e,n,o);if(!l)return Object.assign({},Pf);const d={};Gi(l.posParams,(r,c)=>{d[c]=r.path});const s=l.consumed.length>0?Object.assign(Object.assign({},d),l.consumed[l.consumed.length-1].parameters):d;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:s,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function po(n,o,e,t,a="corrected"){if(e.length>0&&function p_(n,o,e){return e.some(t=>fo(n,o,t)&&ur(t)!==Mt)}(n,e,t)){const d=new It(o,function gl(n,o,e,t){const a={};a[Mt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const l of e)if(""===l.path&&ur(l)!==Mt){const d=new It([],{});d._sourceSegment=n,d._segmentIndexShift=o.length,a[ur(l)]=d}return a}(n,o,t,new It(e,n.children)));return d._sourceSegment=n,d._segmentIndexShift=o.length,{segmentGroup:d,slicedSegments:[]}}if(0===e.length&&function Wi(n,o,e){return e.some(t=>fo(n,o,t))}(n,e,t)){const d=new It(n.segments,function h_(n,o,e,t,a,l){const d={};for(const s of t)if(fo(n,e,s)&&!a[ur(s)]){const r=new It([],{});r._sourceSegment=n,r._segmentIndexShift="legacy"===l?n.segments.length:o.length,d[ur(s)]=r}return Object.assign(Object.assign({},a),d)}(n,o,e,t,n.children,a));return d._sourceSegment=n,d._segmentIndexShift=o.length,{segmentGroup:d,slicedSegments:e}}const l=new It(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=o.length,{segmentGroup:l,slicedSegments:e}}function fo(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function mo(n,o,e,t){return!!(ur(n)===t||t!==Mt&&fo(o,e,n))&&("**"===n.path||ml(o,n,e).matched)}function lh(n,o,e){return 0===o.length&&!n.children[e]}class _l{constructor(o){this.segmentGroup=o||null}}class zn{constructor(o){this.urlTree=o}}function Dn(n){return new Bi.y(o=>o.error(new _l(n)))}function Fd(n){return new Bi.y(o=>o.error(new zn(n)))}function Dc(n){return new Bi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class ch{constructor(o,e,t,a,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=a,this.config=l,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=po(this.urlTree.root,[],[],this.config).segmentGroup,e=new It(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Mt).pipe((0,ft.U)(l=>this.createUrlTree(dh(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yn.K)(l=>{if(l instanceof zn)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof _l?this.noMatchError(l):l}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,Mt).pipe((0,ft.U)(a=>this.createUrlTree(dh(a),o.queryParams,o.fragment))).pipe((0,Yn.K)(a=>{throw a instanceof _l?this.noMatchError(a):a}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const a=o.segments.length>0?new It([],{[Mt]:o}):o;return new ys(a,e,t)}expandSegmentGroup(o,e,t,a){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,ft.U)(l=>new It([],l))):this.expandSegment(o,t,e,t.segments,a,!0)}expandChildren(o,e,t){const a=[];for(const l of Object.keys(t.children))"primary"===l?a.unshift(l):a.push(l);return(0,xn.D)(a).pipe((0,Hr.b)(l=>{const d=t.children[l],s=kf(e,l);return this.expandSegmentGroup(o,s,d,l).pipe((0,ft.U)(r=>({segment:r,outlet:l})))}),Ko((l,d)=>(l[d.outlet]=d.segment,l),{}),function $s(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Gt.h)((a,l)=>n(a,l,t)):Xo.y,ci(1),e?(0,aa.d)(o):(0,ms.T)(()=>new Zs.K))}())}expandSegment(o,e,t,a,l,d){return(0,xn.D)(t).pipe((0,Hr.b)(s=>this.expandSegmentAgainstRoute(o,e,t,s,a,l,d).pipe((0,Yn.K)(c=>{if(c instanceof _l)return(0,Qe.of)(null);throw c}))),(0,Js.P)(s=>!!s),(0,Yn.K)((s,r)=>{if(s instanceof Zs.K||"EmptyError"===s.name){if(lh(e,a,l))return(0,Qe.of)(new It([],{}));throw new _l(e)}throw s}))}expandSegmentAgainstRoute(o,e,t,a,l,d,s){return mo(a,e,l,d)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(o,e,a,l,d):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d):Dn(e):Dn(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,a,d):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,a){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Fd(l):this.lineralizeSegments(t,l).pipe((0,Bt.z)(d=>{const s=new It(d,{});return this.expandSegment(o,s,e,d,a,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d){const{matched:s,consumedSegments:r,lastChild:c,positionalParamSegments:u}=ml(e,a,l);if(!s)return Dn(e);const h=this.applyRedirectCommands(r,a.redirectTo,u);return a.redirectTo.startsWith("/")?Fd(h):this.lineralizeSegments(a,h).pipe((0,Bt.z)(f=>this.expandSegment(o,e,t,f.concat(l.slice(c)),d,!1)))}matchSegmentAgainstRoute(o,e,t,a,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Qe.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,ft.U)(f=>(t._loadedConfig=f,new It(a,{})))):(0,Qe.of)(new It(a,{}));const{matched:d,consumedSegments:s,lastChild:r}=ml(e,t,a);if(!d)return Dn(e);const c=a.slice(r);return this.getChildConfig(o,t,a).pipe((0,Bt.z)(h=>{const f=h.module,b=h.routes,{segmentGroup:j,slicedSegments:ee}=po(e,s,c,b),pe=new It(j.segments,j.children);if(0===ee.length&&pe.hasChildren())return this.expandChildren(f,b,pe).pipe((0,ft.U)(Wt=>new It(s,Wt)));if(0===b.length&&0===ee.length)return(0,Qe.of)(new It(s,{}));const Ke=ur(t)===l;return this.expandSegment(f,pe,b,ee,Ke?Mt:l,!0).pipe((0,ft.U)(ut=>new It(s.concat(ut.segments),ut.children)))}))}getChildConfig(o,e,t){return e.children?(0,Qe.of)(new co(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Qe.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,Bt.z)(a=>a?this.configLoader.load(o.injector,e).pipe((0,ft.U)(l=>(e._loadedConfig=l,l))):function bl(n){return new Bi.y(o=>o.error(Dd(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Qe.of)(new co([],o))}runCanLoadGuards(o,e,t){const a=e.canLoad;if(!a||0===a.length)return(0,Qe.of)(!0);const l=a.map(d=>{const s=o.get(d);let r;if(function sh(n){return n&&tr(n.canLoad)}(s))r=s.canLoad(e,t);else{if(!tr(s))throw new Error("Invalid CanLoad guard");r=s(e,t)}return kr(r)});return(0,Qe.of)(l).pipe(Lr(),(0,O.b)(d=>{if(!Ya(d))return;const s=Dd(`Redirecting to "${this.urlSerializer.serialize(d)}"`);throw s.url=d,s}),(0,ft.U)(d=>!0===d))}lineralizeSegments(o,e){let t=[],a=e.root;for(;;){if(t=t.concat(a.segments),0===a.numberOfChildren)return(0,Qe.of)(t);if(a.numberOfChildren>1||!a.children[Mt])return Dc(o.redirectTo);a=a.children[Mt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,a){const l=this.createSegmentGroup(o,e.root,t,a);return new ys(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Gi(o,(a,l)=>{if("string"==typeof a&&a.startsWith(":")){const s=a.substring(1);t[l]=e[s]}else t[l]=a}),t}createSegmentGroup(o,e,t,a){const l=this.createSegments(o,e.segments,t,a);let d={};return Gi(e.children,(s,r)=>{d[r]=this.createSegmentGroup(o,s,t,a)}),new It(l,d)}createSegments(o,e,t,a){return e.map(l=>l.path.startsWith(":")?this.findPosParam(o,l,a):this.findOrReturn(l,t))}findPosParam(o,e,t){const a=t[e.path.substring(1)];if(!a)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return a}findOrReturn(o,e){let t=0;for(const a of e){if(a.path===o.path)return e.splice(t),a;t++}return o}}function dh(n){const o={};for(const t of Object.keys(n.children)){const l=dh(n.children[t]);(l.segments.length>0||l.hasChildren())&&(o[t]=l)}return function Rf(n){if(1===n.numberOfChildren&&n.children[Mt]){const o=n.children[Mt];return new It(n.segments.concat(o.segments),o.children)}return n}(new It(n.segments,o))}class Ve{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class mn{constructor(o,e){this.component=o,this.route=e}}function Nd(n,o,e){const t=n._root;return go(t,o?o._root:null,e,[t.value])}function qt(n,o,e){const t=function yl(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 go(n,o,e,t,a={canDeactivateChecks:[],canActivateChecks:[]}){const l=En(o);return n.children.forEach(d=>{(function Yd(n,o,e,t,a={canDeactivateChecks:[],canActivateChecks:[]}){const l=n.value,d=o?o.value:null,s=e?e.getContext(n.value.outlet):null;if(d&&l.routeConfig===d.routeConfig){const r=function Lf(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!Fa(n.url,o.url);case"pathParamsOrQueryParamsChange":return!Fa(n.url,o.url)||!si(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dl(n,o)||!si(n.queryParams,o.queryParams);default:return!dl(n,o)}}(d,l,l.routeConfig.runGuardsAndResolvers);r?a.canActivateChecks.push(new Ve(t)):(l.data=d.data,l._resolvedData=d._resolvedData),go(n,o,l.component?s?s.children:null:e,t,a),r&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new mn(s.outlet.component,d))}else d&&Cl(o,s,a),a.canActivateChecks.push(new Ve(t)),go(n,null,l.component?s?s.children:null:e,t,a)})(d,l[d.value.outlet],e,t.concat([d.value]),a),delete l[d.value.outlet]}),Gi(l,(d,s)=>Cl(d,e.getContext(s),a)),a}function Cl(n,o,e){const t=En(n),a=n.value;Gi(t,(l,d)=>{Cl(l,a.component?o?o.children.getContext(d):null:o,e)}),e.canDeactivateChecks.push(new mn(a.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,a))}class hh{}function ph(n){return new Bi.y(o=>o.error(n))}class kc{constructor(o,e,t,a,l,d){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=a,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=d}recognize(){const o=po(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,Mt);if(null===e)return null;const t=new Tc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Mt,this.rootComponentType,null,this.urlTree.root,-1,{}),a=new ca(t,e),l=new vf(this.url,a);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(o){const e=o.value,t=vc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(a=>this.inheritParamsAndData(a))}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 l of Object.keys(e.children)){const d=e.children[l],s=kf(o,l),r=this.processSegmentGroup(s,d,l);if(null===r)return null;t.push(...r)}const a=mh(t);return function Of(n){n.sort((o,e)=>o.value.outlet===Mt?-1:e.value.outlet===Mt?1:o.value.outlet.localeCompare(e.value.outlet))}(a),a}processSegment(o,e,t,a){for(const l of o){const d=this.processSegmentAgainstRoute(l,e,t,a);if(null!==d)return d}return lh(e,t,a)?[]:null}processSegmentAgainstRoute(o,e,t,a){if(o.redirectTo||!mo(o,e,t,a))return null;let l,d=[],s=[];if("**"===o.path){const b=t.length>0?cr(t).parameters:{};l=new Tc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Pc(o),ur(o),o.component,o,qd(e),gh(e)+t.length,bo(o))}else{const b=ml(e,o,t);if(!b.matched)return null;d=b.consumedSegments,s=t.slice(b.lastChild),l=new Tc(d,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Pc(o),ur(o),o.component,o,qd(e),gh(e)+d.length,bo(o))}const r=function wl(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:c,slicedSegments:u}=po(e,d,s,r.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const b=this.processChildren(r,c);return null===b?null:[new ca(l,b)]}if(0===r.length&&0===u.length)return[new ca(l,[])];const h=ur(o)===a,f=this.processSegment(r,c,u,h?Mt:a);return null===f?null:[new ca(l,f)]}}function Or(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function mh(n){const o=[],e=new Set;for(const t of n){if(!Or(t)){o.push(t);continue}const a=o.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==a?(a.children.push(...t.children),e.add(a)):o.push(t)}for(const t of e){const a=mh(t.children);o.push(new ca(t.value,a))}return o.filter(t=>!e.has(t))}function qd(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function gh(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 Pc(n){return n.data||{}}function bo(n){return n.resolve||{}}function za(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function qa(n){return(0,qi.w)(o=>{const e=n(o);return e?(0,xn.D)(e).pipe((0,ft.U)(()=>o)):(0,Qe.of)(o)})}class Gd extends class _h{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const yo=new i.OlP("ROUTES");class Wd{constructor(o,e,t,a){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=a}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const a=this.loadModuleFactory(e.loadChildren).pipe((0,ft.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const d=l.create(o);return new co(Qs(d.injector.get(yo,void 0,i.XFs.Self|i.XFs.Optional)).map(fl),d)}),(0,Yn.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new mc(a,()=>new Pe.x).pipe(fc()),e._loader$}loadModuleFactory(o){return kr(o()).pipe((0,Bt.z)(e=>e instanceof i.YKP?(0,Qe.of)(e):(0,xn.D)(this.compiler.compileModuleAsync(e))))}}class Yf{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function Hn(n){throw n}function Br(n,o,e){return o.parse("/")}function bh(n,o){return(0,Qe.of)(null)}const g_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yh={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hi=(()=>{class n{constructor(e,t,a,l,d,s,r){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=a,this.location=l,this.config=r,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Pe.x,this.errorHandler=Hn,this.malformedUriErrorHandler=Br,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bh,afterPreactivation:bh},this.urlHandlingStrategy=new Yf,this.routeReuseStrategy=new Gd,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=d.get(i.h0i),this.console=d.get(i.c2e);const h=d.get(i.R0b);this.isNgZoneEnabled=h instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(r),this.currentUrlTree=function fi(){return new ys(new It([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wd(d,s,f=>this.triggerEvent(new di(f)),f=>this.triggerEvent(new pi(f))),this.routerState=th(this.currentUrlTree,this.rootComponentType),this.transitions=new Ki({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,Gt.h)(a=>0!==a.id),(0,ft.U)(a=>Object.assign(Object.assign({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),(0,qi.w)(a=>{let l=!1,d=!1;return(0,Qe.of)(a).pipe((0,O.b)(s=>{this.currentNavigation={id:s.id,initialUrl:s.currentRawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,qi.w)(s=>{const r=this.browserUrlTree.toString(),c=!this.navigated||s.extractedUrl.toString()!==r||r!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Co(s.source)&&(this.browserUrlTree=s.extractedUrl),(0,Qe.of)(s).pipe((0,qi.w)(h=>{const f=this.transitions.getValue();return t.next(new ne(h.id,this.serializeUrl(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions.getValue()?rn.E:Promise.resolve(h)}),function f_(n,o,e,t){return(0,qi.w)(a=>function ha(n,o,e,t,a){return new ch(n,o,e,t,a).apply()}(n,o,e,a.extractedUrl,t).pipe((0,ft.U)(l=>Object.assign(Object.assign({},a),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,O.b)(h=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:h.urlAfterRedirects})}),function Bf(n,o,e,t,a){return(0,Bt.z)(l=>function fh(n,o,e,t,a="emptyOnly",l="legacy"){try{const d=new kc(n,o,e,t,a,l).recognize();return null===d?ph(new hh):(0,Qe.of)(d)}catch(d){return ph(d)}}(n,o,l.urlAfterRedirects,e(l.urlAfterRedirects),t,a).pipe((0,ft.U)(d=>Object.assign(Object.assign({},l),{targetSnapshot:d}))))}(this.rootComponentType,this.config,h=>this.serializeUrl(h),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,O.b)(h=>{if("eager"===this.urlUpdateStrategy){if(!h.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl);this.setBrowserUrl(b,h)}this.browserUrlTree=h.urlAfterRedirects}const f=new ai(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);t.next(f)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:j,restoredState:ee,extras:pe}=s,Ke=new ne(f,this.serializeUrl(b),j,ee);t.next(Ke);const Dt=th(b,this.rootComponentType).snapshot;return(0,Qe.of)(Object.assign(Object.assign({},s),{targetSnapshot:Dt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},pe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=s.rawUrl,s.resolve(null),rn.E}),qa(s=>{const{targetSnapshot:r,id:c,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.beforePreactivation(r,{navigationId:c,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,O.b)(s=>{const r=new $t(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(r)}),(0,ft.U)(s=>Object.assign(Object.assign({},s),{guards:Nd(s.targetSnapshot,s.currentSnapshot,this.rootContexts)})),function If(n,o){return(0,Bt.z)(e=>{const{targetSnapshot:t,currentSnapshot:a,guards:{canActivateChecks:l,canDeactivateChecks:d}}=e;return 0===d.length&&0===l.length?(0,Qe.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function uh(n,o,e,t){return(0,xn.D)(n).pipe((0,Bt.z)(a=>function Hc(n,o,e,t,a){const l=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,Qe.of)(!0);const d=l.map(s=>{const r=qt(s,o,a);let c;if(function Vd(n){return n&&tr(n.canDeactivate)}(r))c=kr(r.canDeactivate(n,o,e,t));else{if(!tr(r))throw new Error("Invalid CanDeactivate guard");c=kr(r(n,o,e,t))}return c.pipe((0,Js.P)())});return(0,Qe.of)(d).pipe(Lr())}(a.component,a.route,e,o,t)),(0,Js.P)(a=>!0!==a,!0))}(d,t,a,n).pipe((0,Bt.z)(s=>s&&function Ef(n){return"boolean"==typeof n}(s)?function zd(n,o,e,t){return(0,xn.D)(o).pipe((0,Hr.b)(a=>(0,us.z)(function m_(n,o){return null!==n&&o&&o(new sa(n)),(0,Qe.of)(!0)}(a.route.parent,t),function ir(n,o){return null!==n&&o&&o(new dt(n)),(0,Qe.of)(!0)}(a.route,t),function Ud(n,o,e){const t=o[o.length-1],l=o.slice(0,o.length-1).reverse().map(d=>function xs(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(d)).filter(d=>null!==d).map(d=>ps(()=>{const s=d.guards.map(r=>{const c=qt(r,d.node,e);let u;if(function oh(n){return n&&tr(n.canActivateChild)}(c))u=kr(c.canActivateChild(t,n));else{if(!tr(c))throw new Error("Invalid CanActivateChild guard");u=kr(c(t,n))}return u.pipe((0,Js.P)())});return(0,Qe.of)(s).pipe(Lr())}));return(0,Qe.of)(l).pipe(Lr())}(n,a.path,e),function _o(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Qe.of)(!0);const a=t.map(l=>ps(()=>{const d=qt(l,o,e);let s;if(function uo(n){return n&&tr(n.canActivate)}(d))s=kr(d.canActivate(o,n));else{if(!tr(d))throw new Error("Invalid CanActivate guard");s=kr(d(o,n))}return s.pipe((0,Js.P)())}));return(0,Qe.of)(a).pipe(Lr())}(n,a.route,e))),(0,Js.P)(a=>!0!==a,!0))}(t,l,n,o):(0,Qe.of)(s)),(0,ft.U)(s=>Object.assign(Object.assign({},e),{guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),(0,O.b)(s=>{if(Ya(s.guardsResult)){const c=Dd(`Redirecting to "${this.serializeUrl(s.guardsResult)}"`);throw c.url=s.guardsResult,c}const r=new kt(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(r)}),(0,Gt.h)(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,""),!1)),qa(s=>{if(s.guards.canActivateChecks.length)return(0,Qe.of)(s).pipe((0,O.b)(r=>{const c=new Vt(r.id,this.serializeUrl(r.extractedUrl),this.serializeUrl(r.urlAfterRedirects),r.targetSnapshot);this.triggerEvent(c)}),(0,qi.w)(r=>{let c=!1;return(0,Qe.of)(r).pipe(function Vf(n,o){return(0,Bt.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:a}}=e;if(!a.length)return(0,Qe.of)(e);let l=0;return(0,xn.D)(a).pipe((0,Hr.b)(d=>function jf(n,o,e,t){return function Al(n,o,e,t){const a=za(n);if(0===a.length)return(0,Qe.of)({});const l={};return(0,xn.D)(a).pipe((0,Bt.z)(d=>function Ua(n,o,e,t){const a=qt(n,o,t);return kr(a.resolve?a.resolve(o,e):a(o,e))}(n[d],o,e,t).pipe((0,O.b)(s=>{l[d]=s}))),ci(1),(0,Bt.z)(()=>za(l).length===a.length?(0,Qe.of)(l):rn.E))}(n._resolve,n,o,t).pipe((0,ft.U)(l=>(n._resolvedData=l,n.data=Object.assign(Object.assign({},n.data),vc(n,e).resolve),null)))}(d.route,t,n,o)),(0,O.b)(()=>l++),ci(1),(0,Bt.z)(d=>l===a.length?(0,Qe.of)(e):rn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,O.b)({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(r),this.cancelNavigationTransition(r,"At least one route resolver didn't emit any value."))}}))}),(0,O.b)(r=>{const c=new Vi(r.id,this.serializeUrl(r.extractedUrl),this.serializeUrl(r.urlAfterRedirects),r.targetSnapshot);this.triggerEvent(c)}))}),qa(s=>{const{targetSnapshot:r,id:c,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.afterPreactivation(r,{navigationId:c,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,ft.U)(s=>{const r=function Mc(n,o,e){const t=ro(n,o._root,e?e._root:void 0);return new no(t,o)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return Object.assign(Object.assign({},s),{targetRouterState:r})}),(0,O.b)(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((n,o,e)=>(0,ft.U)(t=>(new Mf(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),(0,O.b)({next(){l=!0},complete(){l=!0}}),G(()=>{var s;l||d||this.cancelNavigationTransition(a,`Navigation ID ${a.id} is not equal to the current navigation id ${this.navigationId}`),(null===(s=this.currentNavigation)||void 0===s?void 0:s.id)===a.id&&(this.currentNavigation=null)}),(0,Yn.K)(s=>{if(d=!0,function De(n){return n&&n[bs]}(s)){const r=Ya(s.url);r||(this.navigated=!0,this.restoreHistory(a,!0));const c=new Te(a.id,this.serializeUrl(a.extractedUrl),s.message);t.next(c),r?setTimeout(()=>{const u=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),h={skipLocationChange:a.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Co(a.source)};this.scheduleNavigation(u,"imperative",null,h,{resolve:a.resolve,reject:a.reject,promise:a.promise})},0):a.resolve(!1)}else{this.restoreHistory(a,!0);const r=new rt(a.id,this.serializeUrl(a.extractedUrl),s);t.next(r);try{a.resolve(this.errorHandler(s))}catch(c){a.reject(c)}}return rn.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 a;const l={replaceUrl:!0},d=(null===(a=e.state)||void 0===a?void 0:a.navigationId)?e.state:null;if(d){const r=Object.assign({},d);delete r.navigationId,delete r.\u0275routerPageId,0!==Object.keys(r).length&&(l.state=r)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,t,d,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Df(e),this.config=e.map(fl),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:a,queryParams:l,fragment:d,queryParamsHandling:s,preserveFragment:r}=t,c=a||this.routerState.root,u=r?this.currentUrlTree.fragment:d;let h=null;switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=l||null}return null!==h&&(h=this.removeEmptyProps(h)),function Tf(n,o,e,t,a){if(0===e.length)return so(o.root,o.root,o,t,a);const l=function nh(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Id(!0,0,n);let o=0,e=!1;const t=n.reduce((a,l,d)=>{if("object"==typeof l&&null!=l){if(l.outlets){const s={};return Gi(l.outlets,(r,c)=>{s[c]="string"==typeof r?r.split("/"):r}),[...a,{outlets:s}]}if(l.segmentPath)return[...a,l.segmentPath]}return"string"!=typeof l?[...a,l]:0===d?(l.split("/").forEach((s,r)=>{0==r&&"."===s||(0==r&&""===s?e=!0:".."===s?o++:""!=s&&a.push(s))}),a):[...a,l]},[]);return new Id(e,o,t)}(e);if(l.toRoot())return so(o.root,new It([],{}),o,t,a);const d=function rh(n,o,e){if(n.isAbsolute)return new Sc(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new Sc(l,l===o.root,0)}const t=da(n.commands[0])?0:1;return function oo(n,o,e){let t=n,a=o,l=e;for(;l>a;){if(l-=a,t=t.parent,!t)throw new Error("Invalid number of '../'");a=t.segments.length}return new Sc(t,!1,a-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(l,o,n),s=d.processChildren?Rr(d.segmentGroup,d.index,l.commands):ua(d.segmentGroup,d.index,l.commands);return so(d.segmentGroup,s,o,t,a)}(c,this.currentUrlTree,e,h,null!=u?u:null)}navigateByUrl(e,t={skipLocationChange:!1}){const a=Ya(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function __(n){for(let o=0;o{const l=e[a];return null!=l&&(t[a]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new _e(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,a,l,d){var s,r,c;if(this.disposed)return Promise.resolve(!1);const u=this.transitions.value,h=Co(t)&&u&&!Co(u.source),f=u.rawUrl.toString()===e.toString(),b=u.id===(null===(s=this.currentNavigation)||void 0===s?void 0:s.id);if(h&&f&&b)return Promise.resolve(!0);let ee,pe,Ke;d?(ee=d.resolve,pe=d.reject,Ke=d.promise):Ke=new Promise((Wt,ka)=>{ee=Wt,pe=ka});const Dt=++this.navigationId;let ut;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(a=this.location.getState()),ut=a&&a.\u0275routerPageId?a.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(c=this.browserPageId)&&void 0!==c?c:0)+1):ut=0,this.setTransition({id:Dt,targetPageId:ut,source:t,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:ee,reject:pe,promise:Ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ke.catch(Wt=>Promise.reject(Wt))}setBrowserUrl(e,t){const a=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(a)||t.extras.replaceUrl?this.location.replaceState(a,"",l):this.location.go(a,"",l)}restoreHistory(e,t=!1){var a,l;if("computed"===this.canceledNavigationResolution){const d=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)||0===d?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===d&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(d)}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 a=new Te(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(a),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 Co(n){return"imperative"!==n}let nr=(()=>{class n{constructor(e,t,a,l,d){this.router=e,this.route=t,this.tabIndexAttribute=a,this.renderer=l,this.el=d,this.commands=null,this.onChanges=new Pe.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,a=this.el.nativeElement;null!==e?t.setAttribute(a,"tabindex",e):t.removeAttribute(a,"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:St(this.skipLocationChange),replaceUrl:St(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:St(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hi),i.Y36(fn),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})(),Ms=(()=>{class n{constructor(e,t,a){this.router=e,this.route=t,this.locationStrategy=a,this.commands=null,this.href=null,this.onChanges=new Pe.x,this.subscription=e.events.subscribe(l=>{l instanceof _e&&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,a,l,d){if(0!==e||t||a||l||d||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const s={skipLocationChange:St(this.skipLocationChange),replaceUrl:St(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!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:St(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hi),i.Y36(fn),i.Y36(T.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.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 St(n){return""===n||!!n}class I{}class W{preload(o,e){return(0,Qe.of)(null)}}let se=(()=>{class n{constructor(e,t,a,l){this.router=e,this.injector=a,this.preloadingStrategy=l,this.loader=new Wd(a,t,r=>e.triggerEvent(new di(r)),r=>e.triggerEvent(new pi(r)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Gt.h)(e=>e instanceof _e),(0,Hr.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 a=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const d=l._loadedConfig;a.push(this.processRoutes(d.module,d.routes))}else l.loadChildren&&!l.canLoad?a.push(this.preloadConfig(e,l)):l.children&&a.push(this.processRoutes(e,l.children));return(0,xn.D)(a).pipe((0,B.J)(),(0,ft.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Qe.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Bt.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hi),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(I))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),be=(()=>{class n{constructor(e,t,a={}){this.router=e,this.viewportScroller=t,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 ne?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _e&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof el&&(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 el(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 gt=new i.OlP("ROUTER_CONFIGURATION"),Qt=new i.OlP("ROUTER_FORROOT_GUARD"),ki=[T.Ye,{provide:Ku,useClass:al},{provide:Hi,useFactory:function Rc(n,o,e,t,a,l,d={},s,r){const c=new Hi(null,n,o,e,t,a,Qs(l));return s&&(c.urlHandlingStrategy=s),r&&(c.routeReuseStrategy=r),function b_(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)}(d,c),d.enableTracing&&c.events.subscribe(u=>{var h,f;null===(h=console.group)||void 0===h||h.call(console,`Router Event: ${u.constructor.name}`),console.log(u.toString()),console.log(u),null===(f=console.groupEnd)||void 0===f||f.call(console)}),c},deps:[Ku,Ir,T.Ye,i.zs3,i.Sil,yo,gt,[class Nf{},new i.FiY],[class Ff{},new i.FiY]]},Ir,{provide:fn,useFactory:function Ow(n){return n.routerState.root},deps:[Hi]},se,W,class F{preload(o,e){return e().pipe((0,Yn.K)(()=>(0,Qe.of)(null)))}},{provide:gt,useValue:{enableTracing:!1}}];function pa(){return new i.PXZ("Router",Hi)}let hr=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[ki,Ga(e),{provide:Qt,useFactory:Iw,deps:[[Hi,new i.FiY,new i.tp0]]},{provide:gt,useValue:t||{}},{provide:T.S$,useFactory:Lw,deps:[T.lw,[new i.tBr(T.mr),new i.FiY],gt]},{provide:be,useFactory:Rw,deps:[Hi,T.EM,gt]},{provide:I,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:W},{provide:i.PXZ,multi:!0,useFactory:pa},[zf,{provide:i.ip1,multi:!0,useFactory:Bw,deps:[zf]},{provide:y_,useFactory:Vw,deps:[zf]},{provide:i.tb,multi:!0,useExisting:y_}]]}}static forChild(e){return{ngModule:n,providers:[Ga(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Qt,8),i.LFG(Hi,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function Rw(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new be(n,o,e)}function Lw(n,o,e={}){return e.useHash?new T.Do(n,o):new T.b0(n,o)}function Iw(n){return"guarded"}function Ga(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:yo,multi:!0,useValue:n}]}let zf=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Pe.x}appInitializer(){return this.injector.get(T.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const a=new Promise(s=>t=s),l=this.injector.get(Hi),d=this.injector.get(gt);return"disabled"===d.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===d.initialNavigation||"enabledBlocking"===d.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,Qe.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),a})}bootstrapListener(e){const t=this.injector.get(gt),a=this.injector.get(se),l=this.injector.get(be),d=this.injector.get(Hi),s=this.injector.get(i.z2F);e===s.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&d.initialNavigation(),a.setUpPreloading(),l.init(),d.resetRootComponentType(s.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 Bw(n){return n.appInitializer.bind(n)}function Vw(n){return n.bootstrapListener.bind(n)}const y_=new i.OlP("Router Initializer"),jw=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function Fw(){return(0,i.f3M)(T.K0)}}),Nw=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Tl,Mi=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const a=e.documentElement?e.documentElement.dir:null;this.value=function u0(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?Nw.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||a||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jw,8))},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})();try{Tl="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Tl=!1}let xl,gi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,T.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&&!Tl)&&"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})();const zw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Uw(){if(xl)return xl;if("object"!=typeof document||!document)return xl=new Set(zw),xl;let n=document.createElement("input");return xl=new Set(zw.filter(o=>(n.setAttribute("type",o),n.type===o))),xl}let wh,Lc,Ic,qf;function Vr(n){return function Uf(){if(null==wh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>wh=!0}))}finally{wh=wh||!1}return wh}()?n:!!n.capture}function qw(){if(null==Ic){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ic=!1,Ic;if("scrollBehavior"in document.documentElement.style)Ic=!0;else{const n=Element.prototype.scrollTo;Ic=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ic}function Oc(){if("object"!=typeof document||!document)return 0;if(null==Lc){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),Lc=0,0===n.scrollLeft&&(n.scrollLeft=1,Lc=0===n.scrollLeft?1:2),n.remove()}return Lc}function Ah(n){if(function Gw(){if(null==qf){const n="undefined"!=typeof document?document.head:null;qf=!(!n||!n.createShadowRoot&&!n.attachShadow)}return qf}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function Bc(){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 jr(n){return n.composedPath?n.composedPath()[0]:n.target}function Vc(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function on(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Kd=x(8372);function pr(n){return(0,Gt.h)((o,e)=>n<=e)}function El(n,o=Xo.y){return n=null!=n?n:F_,(0,hn.e)((e,t)=>{let a,l=!0;e.subscribe((0,yn.x)(t,d=>{const s=o(d);(l||!n(a,s))&&(l=!1,a=s,t.next(d))}))})}function F_(n,o){return n===o}var xA=x(5032);function nt(n){return(0,hn.e)((o,e)=>{(0,hs.Xf)(n).subscribe((0,yn.x)(e,()=>e.complete(),xA.Z)),!e.closed&&o.subscribe(e)})}function We(n){return null!=n&&"false"!=`${n}`}function Fi(n,o=0){return Kf(n)?Number(n):o}function Kf(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Mh(n){return Array.isArray(n)?n:[n]}function en(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Zi(n){return n instanceof i.SBq?n.nativeElement:n}let Xf=(()=>{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})(),N_=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Zi(e);return new Bi.y(a=>{const d=this._observeElement(t).subscribe(a);return()=>{d.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Pe.x,a=this._mutationObserverFactory.create(l=>t.next(l));a&&a.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:a,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:a}=this._observedElements.get(e);t&&t.disconnect(),a.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xf))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xd=(()=>{class n{constructor(e,t,a){this._contentObserver=e,this._elementRef=t,this._ngZone=a,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=We(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Fi(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,Kd.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(N_),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})(),Ao=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xf]}),n})();function Fc(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const Sh="cdk-describedby-message",eu="cdk-describedby-host";let Eh=0,SA=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Eh++,this._document=e}describe(e,t,a){if(!this._canBeDescribed(e,t))return;const l=Dh(t,a);"string"!=typeof t?(EA(t),this._messageRegistry.set(l,{messageElement:t,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(t,a),this._isElementDescribedByMessage(e,l)||this._addMessageReference(e,l)}removeDescription(e,t,a){var l;if(!t||!this._isElementNode(e))return;const d=Dh(t,a);if(this._isElementDescribedByMessage(e,d)&&this._removeMessageReference(e,d),"string"==typeof t){const s=this._messageRegistry.get(d);s&&0===s.referenceCount&&this._deleteMessageElement(d)}0===(null===(l=this._messagesContainer)||void 0===l?void 0:l.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${eu}="${this._id}"]`);for(let a=0;a0!=a.indexOf(Sh));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const a=this._messageRegistry.get(t);(function Y_(n,o,e){const t=Fc(n,o);t.some(a=>a.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",a.messageElement.id),e.setAttribute(eu,this._id),a.referenceCount++}_removeMessageReference(e,t){const a=this._messageRegistry.get(t);a.referenceCount--,function MA(n,o,e){const a=Fc(n,o).filter(l=>l!=e.trim());a.length?n.setAttribute(o,a.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",a.messageElement.id),e.removeAttribute(eu)}_isElementDescribedByMessage(e,t){const a=Fc(e,"aria-describedby"),l=this._messageRegistry.get(t),d=l&&l.messageElement.id;return!!d&&-1!=a.indexOf(d)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const a=null==t?"":`${t}`.trim(),l=e.getAttribute("aria-label");return!(!a||l&&l.trim()===a)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Dh(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function EA(n){n.id||(n.id=`${Sh}-${Eh++}`)}class tu{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Pe.x,this._typeaheadSubscription=Rt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Pe.x,this.change=new Pe.x,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const a=e.toArray().indexOf(this._activeItem);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a)}})}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,O.b)(e=>this._pressedLetters.push(e)),(0,Kd.b)(o),(0,Gt.h)(()=>this._pressedLetters.length>0),(0,ft.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let a=1;a!o[l]||this._allowedModifierKeys.indexOf(l)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&a){this.setNextItemActive();break}return;case 38:if(this._vertical&&a){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&a){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&a){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&a){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&a){this.setLastItemActive();break}return;default:return void((a||on(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),a=e[t];this._activeItem=null==a?null:a,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 a=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[a]))return void this.setActiveItem(a)}}_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 Hh extends tu{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class To extends tu{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 iu=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function DA(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 Z0(n){try{return n.frameElement}catch(o){return null}}(function LA(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===RA(t)||!this.isVisible(t)))return!1;let a=e.nodeName.toLowerCase(),l=RA(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===a||"object"===a||this._platform.WEBKIT&&this._platform.IOS&&!function G_(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===a?!!e.hasAttribute("controls")&&-1!==l:"video"===a?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function W_(n){return!function kA(n){return function U_(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function HA(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function PA(n){return function $0(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||q_(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(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function q_(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function RA(n){if(!q_(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class em{constructor(o,e,t,a,l=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||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 a=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(a)return a}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,Yt.q)(1)).subscribe(o)}}let Z_=(()=>{class n{constructor(e,t,a){this._checker=e,this._ngZone=t,this._document=a}create(e,t=!1){return new em(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(iu),i.LFG(i.R0b),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),J0=(()=>{class n{constructor(e,t,a){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=We(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=We(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=Bc(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Z_),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function tm(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function im(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 Q0=new i.OlP("cdk-input-modality-detector-options"),xo={ignoreKeys:[18,17,224,91,16]},Nc=Vr({passive:!0,capture:!0});let $_=(()=>{class n{constructor(e,t,a,l){this._platform=e,this._mostRecentTarget=null,this._modality=new Ki(null),this._lastTouchMs=0,this._onKeydown=d=>{var s,r;(null===(r=null===(s=this._options)||void 0===s?void 0:s.ignoreKeys)||void 0===r?void 0:r.some(c=>c===d.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=jr(d))},this._onMousedown=d=>{Date.now()-this._lastTouchMs<650||(this._modality.next(tm(d)?"keyboard":"mouse"),this._mostRecentTarget=jr(d))},this._onTouchstart=d=>{im(d)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=jr(d))},this._options=Object.assign(Object.assign({},xo),l),this.modalityDetected=this._modality.pipe(pr(1)),this.modalityChanged=this.modalityDetected.pipe(El()),e.isBrowser&&t.runOutsideAngular(()=>{a.addEventListener("keydown",this._onKeydown,Nc),a.addEventListener("mousedown",this._onMousedown,Nc),a.addEventListener("touchstart",this._onTouchstart,Nc)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Nc),document.removeEventListener("mousedown",this._onMousedown,Nc),document.removeEventListener("touchstart",this._onTouchstart,Nc))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi),i.LFG(i.R0b),i.LFG(T.K0),i.LFG(Q0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nm=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function J_(){return null}}),rm=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let IA=(()=>{class n{constructor(e,t,a,l){this._ngZone=t,this._defaultOptions=l,this._document=a,this._liveElement=e||this._createLiveElement()}announce(e,...t){const a=this._defaultOptions;let l,d;return 1===t.length&&"number"==typeof t[0]?d=t[0]:[l,d]=t,this.clear(),clearTimeout(this._previousTimeout),l||(l=a&&a.politeness?a.politeness:"polite"),null==d&&a&&(d=a.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof d&&(this._previousTimeout=setTimeout(()=>this.clear(),d)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,t;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(t=this._currentResolve)||void 0===t||t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),a=this._document.createElement("div");for(let l=0;l{class n{constructor(e,t,a,l,d){this._ngZone=e,this._platform=t,this._inputModalityDetector=a,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 Pe.x,this._rootNodeFocusAndBlurListener=s=>{const r=jr(s),c="focus"===s.type?this._onFocus:this._onBlur;for(let u=r;u;u=u.parentElement)c.call(this,s,u)},this._document=l,this._detectionMode=(null==d?void 0:d.detectionMode)||0}monitor(e,t=!1){const a=Zi(e);if(!this._platform.isBrowser||1!==a.nodeType)return(0,Qe.of)(null);const l=Ah(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return t&&(d.checkChildren=!0),d.subject;const s={checkChildren:t,subject:new Pe.x,rootNode:l};return this._elementInfo.set(a,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Zi(e),a=this._elementInfo.get(t);a&&(a.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(a))}focusVia(e,t,a){const l=Zi(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([s,r])=>this._originChanged(s,t,r)):(this._setOrigin(t),"function"==typeof l.focus&&l.focus(a))}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 a=this._elementInfo.get(t),l=jr(e);!a||!a.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),a)}_onBlur(e,t){const a=this._elementInfo.get(t);!a||a.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(a.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,a=this._rootNodeFocusListenerCount.get(t)||0;a||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ph),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ph)}),this._rootNodeFocusListenerCount.set(t,a+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nt(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const a=this._rootNodeFocusListenerCount.get(t);a>1?this._rootNodeFocusListenerCount.set(t,a-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ph),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ph),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,a){this._setClasses(e,t),this._emitOrigin(a.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((a,l)=>{(l===e||a.checkChildren&&l.contains(e))&&t.push([l,a])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(gi),i.LFG($_),i.LFG(T.K0,8),i.LFG(Q_,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K_=(()=>{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(Pn))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const am="cdk-high-contrast-black-on-white",X_="cdk-high-contrast-white-on-black",sm="cdk-high-contrast-active";let Yc=(()=>{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,a=t&&t.getComputedStyle?t.getComputedStyle(e):null,l=(a&&a.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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(sm),e.remove(am),e.remove(X_),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(sm),e.add(am)):2===t&&(e.add(sm),e.add(X_))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mo=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Yc))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ao]]}),n})();class Rh{}const fr="*";function Zt(n,o){return{type:7,name:n,definitions:o,options:{}}}function _t(n,o=null){return{type:4,styles:o,timings:n}}function nu(n,o=null){return{type:3,steps:n,options:o}}function om(n,o=null){return{type:2,steps:n,options:o}}function Le(n){return{type:6,styles:n,offset:null}}function Tt(n,o,e){return{type:0,name:n,styles:o,options:e}}function So(n){return{type:5,steps:n}}function mt(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function ru(n=null){return{type:9,options:n}}function rr(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function eb(n){Promise.resolve(null).then(n)}class Uc{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(){eb(()=>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 tb{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,a=0;const l=this.players.length;0==l?eb(()=>this._onFinish()):this.players.forEach(d=>{d.onDone(()=>{++e==l&&this._onFinish()}),d.onDestroy(()=>{++t==l&&this._onDestroy()}),d.onStart(()=>{++a==l&&this._onStart()})}),this.totalTime=this.players.reduce((d,s)=>Math.max(d,s.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 a=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(a)})}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 mr(){return"undefined"!=typeof window&&void 0!==window.document}function cm(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Eo(n){switch(n.length){case 0:return new Uc;case 1:return n[0];default:return new tb(n)}}function BA(n,o,e,t,a={},l={}){const d=[],s=[];let r=-1,c=null;if(t.forEach(u=>{const h=u.offset,f=h==r,b=f&&c||{};Object.keys(u).forEach(j=>{let ee=j,pe=u[j];if("offset"!==j)switch(ee=o.normalizePropertyName(ee,d),pe){case"!":pe=a[j];break;case fr:pe=l[j];break;default:pe=o.normalizeStyleValue(j,ee,pe,d)}b[ee]=pe}),f||s.push(b),c=b,r=h}),d.length){const u="\n - ";throw new Error(`Unable to animate due to the following errors:${u}${d.join(u)}`)}return s}function ib(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Lh(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Lh(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Lh(e,"destroy",n)))}}function Lh(n,o,e){const t=e.totalTime,l=nb(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),d=n._data;return null!=d&&(l._data=d),l}function nb(n,o,e,t,a="",l=0,d){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:a,totalTime:l,disabled:!!d}}function gr(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 Ih(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Oh=(n,o)=>!1,rb=(n,o,e)=>[];(cm()||"undefined"!=typeof Element)&&(Oh=mr()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),rb=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Do=null,ab=!1;function dm(n){Do||(Do=function jA(){return"undefined"!=typeof document?document.body:null}()||{},ab=!!Do.style&&"WebkitAppearance"in Do.style);let o=!0;return Do.style&&!function VA(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Do.style,!o&&ab&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Do.style)),o}const sb=Oh,um=rb;let ob=(()=>{class n{validateStyleProperty(e){return dm(e)}matchesElement(e,t){return!1}containsElement(e,t){return sb(e,t)}query(e,t,a){return um(e,t,a)}computeStyle(e,t,a){return a||""}animate(e,t,a,l,d,s=[],r){return new Uc(a,l)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Yr=(()=>{class n{}return n.NOOP=new ob,n})();const cb="ng-enter",au="ng-leave",Bh="ng-trigger",Vh=".ng-trigger",db="ng-animating",su=".ng-animating";function Hl(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:pm(parseFloat(o[1]),o[2])}function pm(n,o){return"s"===o?1e3*n:n}function kl(n,o,e){return n.hasOwnProperty("duration")?n:function fm(n,o,e){let a,l=0,d="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};a=pm(parseFloat(s[1]),s[2]);const r=s[3];null!=r&&(l=pm(parseFloat(r),s[4]));const c=s[5];c&&(d=c)}else a=n;if(!e){let s=!1,r=o.length;a<0&&(o.push("Duration values below 0 are not allowed for this animation step."),s=!0),l<0&&(o.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&o.splice(r,0,`The provided timing value "${n}" is invalid.`)}return{duration:a,delay:l,easing:d}}(n,o,e)}function qc(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Wa(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else qc(n,e);return e}function mm(n,o,e){return e?o+":"+e+";":""}function ub(n){let o="";for(let e=0;e{const a=ga(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[a]),n.style[a]=o[t]}),cm()&&ub(n))}function Hs(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=ga(e);n.style[t]=""}),cm()&&ub(n))}function Fh(n){return Array.isArray(n)?1==n.length?n[0]:om(n):n}const Nh=new RegExp("{{\\s*(.+?)\\s*}}","g");function gm(n){let o=[];if("string"==typeof n){let e;for(;e=Nh.exec(n);)o.push(e[1]);Nh.lastIndex=0}return o}function ou(n,o,e){const t=n.toString(),a=t.replace(Nh,(l,d)=>{let s=o[d];return o.hasOwnProperty(d)||(e.push(`Please provide a value for the animation param ${d}`),s=""),s.toString()});return a==t?n:a}function lu(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const hb=/-+([a-z0-9])/g;function ga(n){return n.replace(hb,(...o)=>o[1].toUpperCase())}function Yh(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zr(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 zh(n,o){return window.getComputedStyle(n)[o]}function _m(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function du(n,o,e){if(":"==n[0]){const r=function qA(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 r)return void o.push(r);n=r}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 a=t[1],l=t[2],d=t[3];o.push(bm(a,d));"<"==l[0]&&!("*"==a&&"*"==d)&&o.push(bm(d,a))}(t,e,o)):e.push(n),e}const Gc=new Set(["true","1"]),uu=new Set(["false","0"]);function bm(n,o){const e=Gc.has(n)||uu.has(n),t=Gc.has(o)||uu.has(o);return(a,l)=>{let d="*"==n||n==a,s="*"==o||o==l;return!d&&e&&"boolean"==typeof a&&(d=a?Gc.has(n):uu.has(n)),!s&&t&&"boolean"==typeof l&&(s=l?Gc.has(o):uu.has(o)),d&&s}}const GA=new RegExp("s*:selfs*,?","g");function hu(n,o,e){return new WA(n).build(o,e)}class WA{constructor(o){this._driver=o}build(o,e){const t=new mb(e);return this._resetContextStyleTimingState(t),zr(this,Fh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,a=e.depCount=0;const l=[],d=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const r=s,c=r.name;c.toString().split(/\s*,\s*/).forEach(u=>{r.name=u,l.push(this.visitState(r,e))}),r.name=c}else if(1==s.type){const r=this.visitTransition(s,e);t+=r.queryCount,a+=r.depCount,d.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:l,transitions:d,queryCount:t,depCount:a,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),a=o.options&&o.options.params||null;if(t.containsDynamicStyles){const l=new Set,d=a||{};if(t.styles.forEach(s=>{if(Uh(s)){const r=s;Object.keys(r).forEach(c=>{gm(r[c]).forEach(u=>{d.hasOwnProperty(u)||l.add(u)})})}}),l.size){const s=lu(l.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${s.join(", ")}`)}}return{type:0,name:o.name,style:t,options:a?{params:a}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=zr(this,Fh(o.animation),e);return{type:1,matchers:_m(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Pl(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>zr(this,t,e)),options:Pl(o.options)}}visitGroup(o,e){const t=e.currentTime;let a=0;const l=o.steps.map(d=>{e.currentTime=t;const s=zr(this,d,e);return a=Math.max(a,e.currentTime),s});return e.currentTime=a,{type:3,steps:l,options:Pl(o.options)}}visitAnimate(o,e){const t=function Zc(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Cm(kl(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=Cm(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||kl(t,o),Cm(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let a,l=o.styles?o.styles:Le({});if(5==l.type)a=this.visitKeyframes(l,e);else{let d=o.styles,s=!1;if(!d){s=!0;const c={};t.easing&&(c.easing=t.easing),d=Le(c)}e.currentTime+=t.duration+t.delay;const r=this.visitStyle(d,e);r.isEmptyStep=s,a=r}return e.currentAnimateTimings=null,{type:4,timings:t,style:a,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(d=>{"string"==typeof d?d==fr?t.push(d):e.errors.push(`The provided style string value ${d} is not allowed.`):t.push(d)}):t.push(o.styles);let a=!1,l=null;return t.forEach(d=>{if(Uh(d)){const s=d,r=s.easing;if(r&&(l=r,delete s.easing),!a)for(let c in s)if(s[c].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:t,easing:l,offset:o.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let a=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),o.styles.forEach(d=>{"string"!=typeof d&&Object.keys(d).forEach(s=>{if(!this._driver.validateStyleProperty(s))return void e.errors.push(`The provided animation property "${s}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],c=r[s];let u=!0;c&&(l!=a&&l>=c.startTime&&a<=c.endTime&&(e.errors.push(`The CSS property "${s}" that exists between the times of "${c.startTime}ms" and "${c.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${a}ms"`),u=!1),l=c.startTime),u&&(r[s]={startTime:l,endTime:a}),e.options&&function YA(n,o,e){const t=o.params||{},a=gm(n);a.length&&a.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(d[s],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 l=0;const d=[];let s=!1,r=!1,c=0;const u=o.steps.map(Ke=>{const Dt=this._makeStyleAst(Ke,e);let ut=null!=Dt.offset?Dt.offset:function ZA(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Uh(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Uh(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Dt.styles),Wt=0;return null!=ut&&(l++,Wt=Dt.offset=ut),r=r||Wt<0||Wt>1,s=s||Wt0&&l{const ut=f>0?Dt==b?1:f*Dt:d[Dt],Wt=ut*pe;e.currentTime=j+ee.delay+Wt,ee.duration=Wt,this._validateStyleAst(Ke,e),Ke.offset=ut,t.styles.push(Ke)}),t}visitReference(o,e){return{type:8,animation:zr(this,Fh(o.animation),e),options:Pl(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:Pl(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:Pl(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,a=o.options||{};e.queryCount++,e.currentQuery=o;const[l,d]=function fb(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(GA,"")),n=n.replace(/@\*/g,Vh).replace(/@\w+/g,e=>Vh+"-"+e.substr(1)).replace(/:animating/g,su),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+l:l,gr(e.collectedStyles,e.currentQuerySelector,{});const s=zr(this,Fh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:d,animation:s,originalSelector:o.selector,options:Pl(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"}:kl(o.timings,e.errors,!0);return{type:12,animation:zr(this,Fh(o.animation),e),timings:t,options:null}}}class mb{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 Uh(n){return!Array.isArray(n)&&"object"==typeof n}function Pl(n){return n?(n=qc(n)).params&&(n.params=function Wc(n){return n?qc(n):null}(n.params)):n={},n}function Cm(n,o,e){return{duration:n,delay:o,easing:e}}function wm(n,o,e,t,a,l,d=null,s=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:a,delay:l,totalTime:a+l,easing:d,subTimeline:s}}class qh{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 gb=new RegExp(":enter","g"),bb=new RegExp(":leave","g");function Gh(n,o,e,t,a,l={},d={},s,r,c=[]){return(new $A).buildKeyframes(n,o,e,t,a,l,d,s,r,c)}class $A{buildKeyframes(o,e,t,a,l,d,s,r,c,u=[]){c=c||new qh;const h=new vm(o,e,c,a,l,u,[]);h.options=r,h.currentTimeline.setStyles([d],null,h.errors,r),zr(this,t,h);const f=h.timelines.filter(b=>b.containsAnimation());if(Object.keys(s).length){let b;for(let j=f.length-1;j>=0;j--){const ee=f[j];if(ee.element===e){b=ee;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([s],null,h.errors,r)}return f.length?f.map(b=>b.buildKeyframes()):[wm(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 a=e.createSubContext(o.options),l=e.currentTimeline.currentTime,d=this._visitSubInstructions(t,a,a.options);l!=d&&e.transformIntoNewTimeline(d)}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 l=e.currentTimeline.currentTime;const d=null!=t.duration?Hl(t.duration):null,s=null!=t.delay?Hl(t.delay):null;return 0!==d&&o.forEach(r=>{const c=e.appendInstructionToTimeline(r,d,s);l=Math.max(l,c.duration+c.delay)}),l}visitReference(o,e){e.updateOptions(o.options,!0),zr(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let a=e;const l=o.options;if(l&&(l.params||l.delay)&&(a=e.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Wh);const d=Hl(l.delay);a.delayNextStep(d)}o.steps.length&&(o.steps.forEach(d=>zr(this,d,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>t&&a.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let a=e.currentTimeline.currentTime;const l=o.options&&o.options.delay?Hl(o.options.delay):0;o.steps.forEach(d=>{const s=e.createSubContext(o.options);l&&s.delayNextStep(l),zr(this,d,s),a=Math.max(a,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(d=>e.currentTimeline.mergeTimelineCollectedStyles(d)),e.transformIntoNewTimeline(a),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return kl(e.params?ou(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),a=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),a.snapshotCurrentStyles());const l=o.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),a.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,a=e.currentAnimateTimings;!a&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=a&&a.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(l):t.setStyles(o.styles,l,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,a=e.currentTimeline.duration,l=t.duration,s=e.createSubContext().currentTimeline;s.easing=t.easing,o.styles.forEach(r=>{s.forwardTime((r.offset||0)*l),s.setStyles(r.styles,r.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(a+l),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,a=o.options||{},l=a.delay?Hl(a.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Wh);let d=t;const s=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!a.optional,e.errors);e.currentQueryTotal=s.length;let r=null;s.forEach((c,u)=>{e.currentQueryIndex=u;const h=e.createSubContext(o.options,c);l&&h.delayNextStep(l),c===e.element&&(r=h.currentTimeline),zr(this,o.animation,h),h.currentTimeline.applyStylesToKeyframe(),d=Math.max(d,h.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(d),r&&(e.currentTimeline.mergeTimelineCollectedStyles(r),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,a=e.currentTimeline,l=o.timings,d=Math.abs(l.duration),s=d*(e.currentQueryTotal-1);let r=d*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":r=s-r;break;case"full":r=t.currentStaggerTime}const u=e.currentTimeline;r&&u.delayNextStep(r);const h=u.currentTime;zr(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=a.currentTime-h+(a.startTime-t.currentTimeline.startTime)}}const Wh={};class vm{constructor(o,e,t,a,l,d,s,r){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=a,this._leaveClassName=l,this.errors=d,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=r||new Zh(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let a=this.options;null!=t.duration&&(a.duration=Hl(t.duration)),null!=t.delay&&(a.delay=Hl(t.delay));const l=t.params;if(l){let d=a.params;d||(d=this.options.params={}),Object.keys(l).forEach(s=>{(!e||!d.hasOwnProperty(s))&&(d[s]=ou(l[s],d,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(a=>{t[a]=e[a]})}}return o}createSubContext(o=null,e,t){const a=e||this.element,l=new vm(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(o),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(o){return this.previousNode=Wh,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const a={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},l=new yb(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,a,o.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,a,l,d){let s=[];if(a&&s.push(this.element),o.length>0){o=(o=o.replace(gb,"."+this._enterClassName)).replace(bb,"."+this._leaveClassName);let c=this._driver.query(this.element,o,1!=t);0!==t&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),s.push(...c)}return!l&&0==s.length&&d.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class Zh{constructor(o,e,t,a){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=a,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 Zh(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]||fr,this._currentKeyframe[e]=fr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,a){e&&(this._previousKeyframe.easing=e);const l=a&&a.params||{},d=function Cb(n,o){const e={};let t;return n.forEach(a=>{"*"===a?(t=t||Object.keys(o),t.forEach(l=>{e[l]=fr})):Wa(a,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(d).forEach(s=>{const r=ou(d[s],l,t);this._pendingStyles[s]=r,this._localTimelineStyles.hasOwnProperty(s)||(this._backFill[s]=this._globalTimelineStyles.hasOwnProperty(s)?this._globalTimelineStyles[s]:fr),this._updateStyle(s,r)})}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],a=o._styleSummary[e];(!t||a.time>t.time)&&this._updateStyle(e,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((s,r)=>{const c=Wa(s,!0);Object.keys(c).forEach(u=>{const h=c[u];"!"==h?o.add(u):h==fr&&e.add(u)}),t||(c.offset=r/this.duration),a.push(c)});const l=o.size?lu(o.values()):[],d=e.size?lu(e.values()):[];if(t){const s=a[0],r=qc(s);s.offset=0,r.offset=1,a=[s,r]}return wm(this.element,a,l,d,this.duration,this.startTime,this.easing,!1)}}class yb extends Zh{constructor(o,e,t,a,l,d,s=!1){super(o,e,d.delay),this.keyframes=t,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=s,this.timings={duration:d.duration,delay:d.delay,easing:d.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:a}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],d=t+e,s=e/d,r=Wa(o[0],!1);r.offset=0,l.push(r);const c=Wa(o[0],!1);c.offset=JA(s),l.push(c);const u=o.length-1;for(let h=1;h<=u;h++){let f=Wa(o[h],!1);f.offset=JA((e+f.offset*t)/d),l.push(f)}t=d,e=0,a="",o=l}return wm(this.element,o,this.preStyleProps,this.postStyleProps,t,e,a,!0)}}function JA(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class Tm{}class tM extends Tm{normalizePropertyName(o,e){return ga(o)}normalizeStyleValue(o,e,t,a){let l="";const d=t.toString().trim();if(xm[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&a.push(`Please provide a CSS unit value for ${o}:${t}`)}return d+l}}const xm=(()=>function QA(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 Mm(n,o,e,t,a,l,d,s,r,c,u,h,f){return{type:0,element:n,triggerName:o,isRemovalTransition:a,fromState:e,fromStyles:l,toState:t,toStyles:d,timelines:s,queriedElements:r,preStyleProps:c,postStyleProps:u,totalTime:h,errors:f}}const $h={};class KA{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,a){return function _a(n,o,e,t,a){return n.some(l=>l(o,e,t,a))}(this.ast.matchers,o,e,t,a)}buildStyles(o,e,t){const a=this._stateStyles["*"],l=this._stateStyles[o],d=a?a.buildStyles(e,t):{};return l?l.buildStyles(e,t):d}build(o,e,t,a,l,d,s,r,c,u){const h=[],f=this.ast.options&&this.ast.options.params||$h,j=this.buildStyles(t,s&&s.params||$h,h),ee=r&&r.params||$h,pe=this.buildStyles(a,ee,h),Ke=new Set,Dt=new Map,ut=new Map,Wt="void"===a,ka={params:Object.assign(Object.assign({},f),ee)},ss=u?[]:Gh(o,e,this.ast.animation,l,d,j,pe,ka,c,h);let Tr=0;if(ss.forEach(cc=>{Tr=Math.max(cc.duration+cc.delay,Tr)}),h.length)return Mm(e,this._triggerName,t,a,Wt,j,pe,[],[],Dt,ut,Tr,h);ss.forEach(cc=>{const dc=cc.element,kD=gr(Dt,dc,{});cc.preStyleProps.forEach(Gu=>kD[Gu]=!0);const u_=gr(ut,dc,{});cc.postStyleProps.forEach(Gu=>u_[Gu]=!0),dc!==e&&Ke.add(dc)});const lc=lu(Ke.values());return Mm(e,this._triggerName,t,a,Wt,j,pe,ss,lc,Dt,ut,Tr)}}class iM{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},a=qc(this.defaultParams);return Object.keys(o).forEach(l=>{const d=o[l];null!=d&&(a[l]=d)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const d=l;Object.keys(d).forEach(s=>{let r=d[s];r.length>1&&(r=ou(r,a,e));const c=this.normalizer.normalizePropertyName(s,e);r=this.normalizer.normalizeStyleValue(s,c,r,e),t[c]=r})}}),t}}class wb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(a=>{this.states[a.name]=new iM(a.style,a.options&&a.options.params||{},t)}),Sm(this.states,"true","1"),Sm(this.states,"false","0"),e.transitions.forEach(a=>{this.transitionFactories.push(new KA(o,a,this.states))}),this.fallbackTransition=function Ab(n,o,e){return new KA(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(d,s)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,a){return this.transitionFactories.find(d=>d.match(o,e,t,a))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function Sm(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const XA=new qh;class rM{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],a=hu(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]=a}_buildPlayer(o,e,t){const a=o.element,l=BA(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(a,l,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const a=[],l=this._animations[o];let d;const s=new Map;if(l?(d=Gh(this._driver,e,l,cb,au,{},{},t,XA,a),d.forEach(u=>{const h=gr(s,u.element,{});u.postStyleProps.forEach(f=>h[f]=null)})):(a.push("The requested animation doesn't exist or has already been destroyed"),d=[]),a.length)throw new Error(`Unable to create the animation due to the following errors: ${a.join("\n")}`);s.forEach((u,h)=>{Object.keys(u).forEach(f=>{u[f]=this._driver.computeStyle(h,f,fr)})});const c=Eo(d.map(u=>{const h=s.get(u.element);return this._buildPlayer(u,{},h)}));return this._playersById[o]=c,c.onDestroy(()=>this.destroy(o)),this.players.push(c),c}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,a){const l=nb(e,"","","");return ib(this._getPlayer(o),t,l,a),()=>{}}command(o,e,t,a){if("register"==t)return void this.register(o,a[0]);if("create"==t)return void this.create(o,e,a[0]||{});const l=this._getPlayer(o);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(o)}}}const Em="ng-animate-queued",Hm="ng-animate-disabled",iv=[],vb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},nv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qr="__ng_removed";class $c{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function Ja(n){return null!=n?n:null}(t?o.value:o),t){const l=qc(o);delete l.value,this.options=l}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(a=>{null==t[a]&&(t[a]=e[a])})}}}const $a="void",Pm=new $c($a);class pu{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,ar(e,this._hostClassName)}listen(o,e,t,a){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 Rn(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 l=gr(this._elementListeners,o,[]),d={name:e,phase:t,callback:a};l.push(d);const s=gr(this._engine.statesByElement,o,{});return s.hasOwnProperty(e)||(ar(o,Bh),ar(o,Bh+"-"+e),s[e]=Pm),()=>{this._engine.afterFlush(()=>{const r=l.indexOf(d);r>=0&&l.splice(r,1),this._triggers[e]||delete s[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,a=!0){const l=this._getTrigger(e),d=new Rm(this.id,e,o);let s=this._engine.statesByElement.get(o);s||(ar(o,Bh),ar(o,Bh+"-"+e),this._engine.statesByElement.set(o,s={}));let r=s[e];const c=new $c(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&r&&c.absorbOptions(r.options),s[e]=c,r||(r=Pm),c.value!==$a&&r.value===c.value){if(!function Kc(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let a=0;a{Hs(o,pe),Za(o,Ke)})}return}const f=gr(this._engine.playersByElement,o,[]);f.forEach(ee=>{ee.namespaceId==this.id&&ee.triggerName==e&&ee.queued&&ee.destroy()});let b=l.matchTransition(r.value,c.value,o,c.params),j=!1;if(!b){if(!a)return;b=l.fallbackTransition,j=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:b,fromState:r,toState:c,player:d,isFallbackTransition:j}),j||(ar(o,Em),d.onStart(()=>{ba(o,Em)})),d.onDone(()=>{let ee=this.players.indexOf(d);ee>=0&&this.players.splice(ee,1);const pe=this._engine.playersByElement.get(o);if(pe){let Ke=pe.indexOf(d);Ke>=0&&pe.splice(Ke,1)}}),this.players.push(d),f.push(d),d}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(a=>a.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,Vh,!0);t.forEach(a=>{if(a[qr])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(d=>d.triggerLeaveAnimation(a,e,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(o,e,t,a){const l=this._engine.statesByElement.get(o),d=new Map;if(l){const s=[];if(Object.keys(l).forEach(r=>{if(d.set(r,l[r].value),this._triggers[r]){const c=this.trigger(o,r,$a,a);c&&s.push(c)}}),s.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,d),t&&Eo(s).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 a=new Set;e.forEach(l=>{const d=l.name;if(a.has(d))return;a.add(d);const r=this._triggers[d].fallbackTransition,c=t[d]||Pm,u=new $c($a),h=new Rm(this.id,d,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:d,transition:r,fromState:c,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let a=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(o):[];if(l&&l.length)a=!0;else{let d=o;for(;d=d.parentNode;)if(t.statesByElement.get(d)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(o),a)t.markElementAsRemoved(this.id,o,!1,e);else{const l=o[qr];(!l||l===vb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){ar(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const a=t.player;if(a.destroyed)return;const l=t.element,d=this._elementListeners.get(l);d&&d.forEach(s=>{if(s.name==t.triggerName){const r=nb(l,t.triggerName,t.fromState.value,t.toState.value);r._data=o,ib(t.player,s.phase,r,s.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):e.push(t)}),this._queue=[],e.sort((t,a)=>{const l=t.transition.ast.depCount,d=a.transition.ast.depCount;return 0==l||0==d?l-d:this._engine.driver.containsElement(t.element,a.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 rv{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=(a,l)=>{}}_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 pu(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 a=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,o),a=!0;break}a||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 a=this._namespaceLookup[o];a&&a.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 a=this._namespaceList.indexOf(t);a>=0&&this._namespaceList.splice(a,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 a=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(d,1)}if(o){const d=this._fetchNamespace(o);d&&d.insertNode(e,t)}a&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),ar(o,Hm)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),ba(o,Hm))}removeNode(o,e,t,a){if(Ho(e)){const l=o?this._fetchNamespace(o):null;if(l?l.removeNode(e,a):this.markElementAsRemoved(o,e,!1,a),t){const d=this.namespacesByHostElement.get(e);d&&d.id!==o&&d.removeNode(e,a)}}else this._onRemovalComplete(e,a)}markElementAsRemoved(o,e,t,a,l){this.collectedLeaveElements.push(e),e[qr]={namespaceId:o,setForRemoval:a,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(o,e,t,a,l){return Ho(e)?this._fetchNamespace(o).listen(e,t,a,l):()=>{}}_buildInstruction(o,e,t,a,l){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,a,o.fromState.options,o.toState.options,e,l)}destroyInnerAnimations(o){let e=this.driver.query(o,Vh,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,su,!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 Eo(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[qr];if(t&&t.setForRemoval){if(o[qr]=vb,t.namespaceId){this.destroyInnerAnimations(o);const a=this._fetchNamespace(t.namespaceId);a&&a.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(Hm))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,a)=>this._balanceNamespaceList(t,a)),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?Eo(e).onDone(()=>{t.forEach(a=>a())}):t.forEach(a=>a())}}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 qh,a=[],l=new Map,d=[],s=new Map,r=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(at=>{u.add(at);const pt=this.driver.query(at,".ng-animate-queued",!0);for(let bt=0;bt{const bt=cb+ee++;j.set(pt,bt),at.forEach(ni=>ar(ni,bt))});const pe=[],Ke=new Set,Dt=new Set;for(let at=0;atKe.add(ni)):Dt.add(pt))}const ut=new Map,Wt=_r(f,Array.from(Ke));Wt.forEach((at,pt)=>{const bt=au+ee++;ut.set(pt,bt),at.forEach(ni=>ar(ni,bt))}),o.push(()=>{b.forEach((at,pt)=>{const bt=j.get(pt);at.forEach(ni=>ba(ni,bt))}),Wt.forEach((at,pt)=>{const bt=ut.get(pt);at.forEach(ni=>ba(ni,bt))}),pe.forEach(at=>{this.processLeaveNode(at)})});const ka=[],ss=[];for(let at=this._namespaceList.length-1;at>=0;at--)this._namespaceList[at].drainQueuedTransitions(e).forEach(bt=>{const ni=bt.player,On=bt.element;if(ka.push(ni),this.collectedEnterElements.length){const xr=On[qr];if(xr&&xr.setForMove){if(xr.previousTriggersValues&&xr.previousTriggersValues.has(bt.triggerName)){const Wu=xr.previousTriggersValues.get(bt.triggerName),Sd=this.statesByElement.get(bt.element);Sd&&Sd[bt.triggerName]&&(Sd[bt.triggerName].value=Wu)}return void ni.destroy()}}const Zo=!h||!this.driver.containsElement(h,On),Pa=ut.get(On),Md=j.get(On),Ji=this._buildInstruction(bt,t,Md,Pa,Zo);if(Ji.errors&&Ji.errors.length)return void ss.push(Ji);if(Zo)return ni.onStart(()=>Hs(On,Ji.fromStyles)),ni.onDestroy(()=>Za(On,Ji.toStyles)),void a.push(ni);if(bt.isFallbackTransition)return ni.onStart(()=>Hs(On,Ji.fromStyles)),ni.onDestroy(()=>Za(On,Ji.toStyles)),void a.push(ni);const LD=[];Ji.timelines.forEach(xr=>{xr.stretchStartingKeyframe=!0,this.disabledNodes.has(xr.element)||LD.push(xr)}),Ji.timelines=LD,t.append(On,Ji.timelines),d.push({instruction:Ji,player:ni,element:On}),Ji.queriedElements.forEach(xr=>gr(s,xr,[]).push(ni)),Ji.preStyleProps.forEach((xr,Wu)=>{const Sd=Object.keys(xr);if(Sd.length){let Zu=r.get(Wu);Zu||r.set(Wu,Zu=new Set),Sd.forEach(c0=>Zu.add(c0))}}),Ji.postStyleProps.forEach((xr,Wu)=>{const Sd=Object.keys(xr);let Zu=c.get(Wu);Zu||c.set(Wu,Zu=new Set),Sd.forEach(c0=>Zu.add(c0))})});if(ss.length){const at=[];ss.forEach(pt=>{at.push(`@${pt.triggerName} has failed due to:\n`),pt.errors.forEach(bt=>at.push(`- ${bt}\n`))}),ka.forEach(pt=>pt.destroy()),this.reportError(at)}const Tr=new Map,lc=new Map;d.forEach(at=>{const pt=at.element;t.has(pt)&&(lc.set(pt,pt),this._beforeAnimationBuild(at.player.namespaceId,at.instruction,Tr))}),a.forEach(at=>{const pt=at.element;this._getPreviousPlayers(pt,!1,at.namespaceId,at.triggerName,null).forEach(ni=>{gr(Tr,pt,[]).push(ni),ni.destroy()})});const cc=pe.filter(at=>Ll(at,r,c)),dc=new Map;fu(dc,this.driver,Dt,c,fr).forEach(at=>{Ll(at,r,c)&&cc.push(at)});const u_=new Map;b.forEach((at,pt)=>{fu(u_,this.driver,new Set(at),r,"!")}),cc.forEach(at=>{const pt=dc.get(at),bt=u_.get(at);dc.set(at,Object.assign(Object.assign({},pt),bt))});const Gu=[],PD=[],RD={};d.forEach(at=>{const{element:pt,player:bt,instruction:ni}=at;if(t.has(pt)){if(u.has(pt))return bt.onDestroy(()=>Za(pt,ni.toStyles)),bt.disabled=!0,bt.overrideTotalTime(ni.totalTime),void a.push(bt);let On=RD;if(lc.size>1){let Pa=pt;const Md=[];for(;Pa=Pa.parentNode;){const Ji=lc.get(Pa);if(Ji){On=Ji;break}Md.push(Pa)}Md.forEach(Ji=>lc.set(Ji,On))}const Zo=this._buildAnimation(bt.namespaceId,ni,Tr,l,u_,dc);if(bt.setRealPlayer(Zo),On===RD)Gu.push(bt);else{const Pa=this.playersByElement.get(On);Pa&&Pa.length&&(bt.parentPlayer=Eo(Pa)),a.push(bt)}}else Hs(pt,ni.fromStyles),bt.onDestroy(()=>Za(pt,ni.toStyles)),PD.push(bt),u.has(pt)&&a.push(bt)}),PD.forEach(at=>{const pt=l.get(at.element);if(pt&&pt.length){const bt=Eo(pt);at.setRealPlayer(bt)}}),a.forEach(at=>{at.parentPlayer?at.syncPlayerEvents(at.parentPlayer):at.destroy()});for(let at=0;at!Zo.destroyed);On.length?Jc(this,pt,On):this.processLeaveNode(pt)}return pe.length=0,Gu.forEach(at=>{this.players.push(at),at.onDone(()=>{at.destroy();const pt=this.players.indexOf(at);this.players.splice(pt,1)}),at.play()}),Gu}elementContainsData(o,e){let t=!1;const a=e[qr];return a&&a.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,a,l){let d=[];if(e){const s=this.playersByQueriedElement.get(o);s&&(d=s)}else{const s=this.playersByElement.get(o);if(s){const r=!l||l==$a;s.forEach(c=>{c.queued||!r&&c.triggerName!=a||d.push(c)})}}return(t||a)&&(d=d.filter(s=>!(t&&t!=s.namespaceId||a&&a!=s.triggerName))),d}_beforeAnimationBuild(o,e,t){const l=e.element,d=e.isRemovalTransition?void 0:o,s=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const c=r.element,u=c!==l,h=gr(t,c,[]);this._getPreviousPlayers(c,u,d,s,e.toState).forEach(b=>{const j=b.getRealPlayer();j.beforeDestroy&&j.beforeDestroy(),b.destroy(),h.push(b)})}Hs(l,e.fromStyles)}_buildAnimation(o,e,t,a,l,d){const s=e.triggerName,r=e.element,c=[],u=new Set,h=new Set,f=e.timelines.map(j=>{const ee=j.element;u.add(ee);const pe=ee[qr];if(pe&&pe.removedBeforeQueried)return new Uc(j.duration,j.delay);const Ke=ee!==r,Dt=function Qc(n){const o=[];return Rl(n,o),o}((t.get(ee)||iv).map(Tr=>Tr.getRealPlayer())).filter(Tr=>!!Tr.element&&Tr.element===ee),ut=l.get(ee),Wt=d.get(ee),ka=BA(0,this._normalizer,0,j.keyframes,ut,Wt),ss=this._buildPlayer(j,ka,Dt);if(j.subTimeline&&a&&h.add(ee),Ke){const Tr=new Rm(o,s,ee);Tr.setRealPlayer(ss),c.push(Tr)}return ss});c.forEach(j=>{gr(this.playersByQueriedElement,j.element,[]).push(j),j.onDone(()=>function Lm(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const a=t.indexOf(e);t.splice(a,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const a=t.indexOf(e);t.splice(a,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,j.element,j))}),u.forEach(j=>ar(j,db));const b=Eo(f);return b.onDestroy(()=>{u.forEach(j=>ba(j,db)),Za(r,e.toStyles)}),h.forEach(j=>{gr(a,j,[]).push(b)}),b}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new Uc(o.duration,o.delay)}}class Rm{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new Uc,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=>ib(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){gr(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 Ho(n){return n&&1===n.nodeType}function ko(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function fu(n,o,e,t,a){const l=[];e.forEach(r=>l.push(ko(r)));const d=[];t.forEach((r,c)=>{const u={};r.forEach(h=>{const f=u[h]=o.computeStyle(c,h,a);(!f||0==f.length)&&(c[qr]=nv,d.push(c))}),n.set(c,u)});let s=0;return e.forEach(r=>ko(r,l[s++])),d}function _r(n,o){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==o.length)return e;const a=new Set(o),l=new Map;function d(s){if(!s)return 1;let r=l.get(s);if(r)return r;const c=s.parentNode;return r=e.has(c)?c:a.has(c)?1:d(c),l.set(s,r),r}return o.forEach(s=>{const r=d(s);1!==r&&e.get(r).push(s)}),e}function ar(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function ba(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function Jc(n,o,e){Eo(e).onDone(()=>n.processLeaveNode(o))}function Rl(n,o){for(let e=0;ea.add(l)):o.set(n,t),e.delete(n),!0}class ks{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new rv(o,e,t),this._timelineEngine=new rM(o,e,t),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(o,e,t,a,l){const d=o+"-"+a;let s=this._triggerCache[d];if(!s){const r=[],c=hu(this._driver,l,r);if(r.length)throw new Error(`The animation trigger "${a}" has failed to build due to the following errors:\n - ${r.join("\n - ")}`);s=function nM(n,o,e){return new wb(n,o,e)}(a,c,this._normalizer),this._triggerCache[d]=s}this._transitionEngine.registerTrigger(e,a,s)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,a){this._transitionEngine.insertNode(o,e,t,a)}onRemove(o,e,t,a){this._transitionEngine.removeNode(o,e,a||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,a){if("@"==t.charAt(0)){const[l,d]=Ih(t);this._timelineEngine.command(l,e,d,a)}else this._transitionEngine.trigger(o,e,t,a)}listen(o,e,t,a,l){if("@"==t.charAt(0)){const[d,s]=Ih(t);return this._timelineEngine.listen(d,e,s,l)}return this._transitionEngine.listen(o,e,t,a,l)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ed=(()=>{class n{constructor(e,t,a){this._element=e,this._startStyles=t,this._endStyles=a,this._state=0;let l=n.initialStylesByElement.get(e);l||n.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&Za(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Za(this._element,this._initialStyles),this._endStyles&&(Za(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Hs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Hs(this._element,this._endStyles),this._endStyles=null),Za(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Jh(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]:zh(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class xb{validateStyleProperty(o){return dm(o)}matchesElement(o,e){return!1}containsElement(o,e){return sb(o,e)}query(o,e,t){return um(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,a,l,d=[]){const r={duration:t,delay:a,fill:0==a?"both":"forwards"};l&&(r.easing=l);const c={},u=d.filter(f=>f instanceof Im);(function zA(n,o){return 0===n||0===o})(t,a)&&u.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(j=>c[j]=b[j])}),e=function UA(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let l=o[0],d=[];if(t.forEach(s=>{l.hasOwnProperty(s)||d.push(s),l[s]=e[s]}),d.length)for(var a=1;aWa(f,!1)),c);const h=function Xc(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Jh(o[0]),o.length>1&&(t=Jh(o[o.length-1]))):o&&(e=Jh(o)),e||t?new ed(n,e,t):null}(o,e);return new Im(o,e,r,h)}}let Mb=(()=>{class n extends Rh{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 a=Array.isArray(e)?om(e):e;return Om(this._renderer,null,t,"register",[a]),new Sb(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Sb extends class zc{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Eb(this._id,o,e||{},this._renderer)}}class Eb{constructor(o,e,t,a){this.id=o,this.element=e,this._renderer=a,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 Om(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 Om(n,o,e,t,a){return n.setProperty(o,`@@${e}:${t}`,a)}const Db="@.disabled";let Hb=(()=>{class n{constructor(e,t,a){this.delegate=e,this.engine=t,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(l,d)=>{const s=null==d?void 0:d.parentNode(l);s&&d.removeChild(s,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let u=this._rendererCache.get(l);return u||(u=new kb("",l,this.engine),this._rendererCache.set(l,u)),u}const d=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const r=u=>{Array.isArray(u)?u.forEach(r):this.engine.registerTrigger(d,s,e,u.name,u)};return t.data.animation.forEach(r),new Pb(this,s,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){e>=0&&et(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[d,s]=l;d(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,a]))}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(ks),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?a=>e.destroyNode(a):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,a=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,a)}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,a){this.delegate.setAttribute(o,e,t,a)}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,a){this.delegate.setStyle(o,e,t,a)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==Db?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 Pb extends kb{constructor(o,e,t,a){super(e,t,a),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Db?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 a=function Rb(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let l=e.substr(1),d="";return"@"!=l.charAt(0)&&([l,d]=function av(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(l)),this.engine.listen(this.namespaceId,a,l,d,s=>{this.factory.scheduleListenerCallback(s._data||-1,t,s)})}return this.delegate.listen(o,e,t)}}let sv=(()=>{class n extends ks{constructor(e,t,a){super(e.body,t,a)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(Yr),i.LFG(Tm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const yi=new i.OlP("AnimationModuleType"),Ib=[{provide:Rh,useClass:Mb},{provide:Tm,useFactory:function Lb(){return new tM}},{provide:ks,useClass:sv},{provide:i.FYo,useFactory:function ov(n,o,e){return new Hb(n,o,e)},deps:[Ae,ks,i.R0b]}],Ob=[{provide:Yr,useFactory:()=>new xb},{provide:yi,useValue:"BrowserAnimations"},...Ib],aM=[{provide:Yr,useClass:ob},{provide:yi,useValue:"NoopAnimations"},...Ib];let lv=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?aM:Ob}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Ob,imports:[La]}),n})();function oM(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 lM(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 cM=["*"];let Fb=(()=>{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})(),dM=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const td=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function cv(){return!0}});let ot=(()=>{class n{constructor(e,t,a){this._sanityChecks=t,this._document=a,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Vc()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Yc),i.LFG(td,8),i.LFG(T.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl],vl]}),n})();function qn(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=We(o)}}}function ya(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 br(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=We(o)}}}function Il(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?Fi(e):this.defaultTabIndex}}}function Bm(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new Pe.x,this.errorState=!1}updateErrorState(){const o=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==o&&(this.errorState=l,this.stateChanges.next())}}}function Nb(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Bi.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 Ol=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function hv(){return(0,i.f3M)(i.soG)}});class Ci{constructor(){this._localeChanges=new Pe.x,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),a=this.isValid(e);return t&&a?!this.compareDate(o,e):t==a}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Gr=new i.OlP("mat-date-formats"),Yb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qh(n,o){const e=Array(n);for(let t=0;t{class n extends Ci{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 Qh(12,a=>this._format(t,new Date(2017,a,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qh(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 Qh(7,a=>this._format(t,new Date(2017,0,a+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,a){let l=this._createDateWithOverflow(e,t,a);return l.getMonth(),l}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 a=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(a,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let a=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(a)!=((this.getMonth(e)+t)%12+12)%12&&(a=this._createDateWithOverflow(this.getYear(a),this.getMonth(a),0)),a}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(Yb.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,a){const l=new Date;return l.setFullYear(e,t,a),l.setHours(0,0,0,0),l}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const a=new Date;return a.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),a.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ol,8),i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const hM={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 Vm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:Kh}]}),n})(),zb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Gr,useValue:hM}],imports:[[Vm]]}),n})(),Wr=(()=>{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})(),jm=(()=>{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 Bl(n,o,e){n.nativeElement.classList.toggle(o,e)}let ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();class Fm{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const tp={enterDuration:225,exitDuration:150},qb=Vr({passive:!0}),Gb=["mousedown","touchstart"],ip=["mouseup","mouseleave","touchend","touchcancel"];class np{constructor(o,e,t,a){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,a.isBrowser&&(this._containerElement=Zi(t))}fadeInRipple(o,e,t={}){const a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},tp),t.animation);t.centered&&(o=a.left+a.width/2,e=a.top+a.height/2);const d=t.radius||function Zb(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),a=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+a*a)}(o,e,a),s=o-a.left,r=e-a.top,c=l.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=s-d+"px",u.style.top=r-d+"px",u.style.height=2*d+"px",u.style.width=2*d+"px",null!=t.color&&(u.style.backgroundColor=t.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),function Wb(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const h=new Fm(this,u,t);return h.state=0,this._activeRipples.add(h),t.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const f=h===this._mostRecentTransientRipple;h.state=1,!t.persistent&&(!f||!this._isPointerDown)&&h.fadeOut()},c),h}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,a=Object.assign(Object.assign({},tp),o.config.animation);t.style.transitionDuration=`${a.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},a.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=Zi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Gb))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ip),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=tm(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,qb)})})}_removeTriggerEvents(){this._triggerElement&&(Gb.forEach(o=>{this._triggerElement.removeEventListener(o,this,qb)}),this._pointerUpEventsRegistered&&ip.forEach(o=>{this._triggerElement.removeEventListener(o,this,qb)}))}}const rp=new i.OlP("mat-ripple-global-options");let Gn=(()=>{class n{constructor(e,t,a,l,d){this._elementRef=e,this._animationMode=d,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new np(this,t,e,a)}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,a){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),a)):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(gi),i.Y36(rp,8),i.Y36(yi,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})(),yr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})(),ap=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi,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})(),gu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot]]}),n})();const $b=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Nm=new i.OlP("MatOptgroup");let Qb=0;class Kb{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let Ym=(()=>{class n{constructor(e,t,a,l){this._element=e,this._changeDetectorRef=t,this._parent=a,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Qb++,this.onSelectionChange=new i.vpe,this._stateChanges=new Pe.x}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=We(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 a=this._getHostElement();"function"==typeof a.focus&&a.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)&&!on(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 Kb(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})(),Po=(()=>{class n extends Ym{constructor(e,t,a,l){super(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36($b,8),i.Y36(Nm,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(l){return t._handleKeydown(l)}),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:cM,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,oM,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,lM,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:[ap,T.O5,Gn],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;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 zm(n,o,e){if(e.length){let t=o.toArray(),a=e.toArray(),l=0;for(let d=0;d{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,T.ez,ot,gu]]}),n})();const ey=["mat-button",""],ty=["*"],ny=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],fM=ya(qn(br(class{constructor(n){this._elementRef=n}})));let zt=(()=>{class n extends fM{constructor(e,t,a){super(e),this._focusMonitor=t,this._animationMode=a,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const l of ny)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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(Pn),i.Y36(yi,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(Gn,5),2&e){let a;i.iGM(a=i.CRH())&&(t.ripple=a.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:ey,ngContentSelectors:ty,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:[Gn],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;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;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;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;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})(),Ca=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot],ot]}),n})();var gv=x(1144),mi=x(576),Um=x(3268);const _v=["addListener","removeListener"],bv=["addEventListener","removeEventListener"],ry=["on","off"];function Qa(n,o,e,t){if((0,mi.m)(e)&&(t=e,e=void 0),t)return Qa(n,o,e).pipe((0,Um.Z)(t));const[a,l]=function yv(n){return(0,mi.m)(n.addEventListener)&&(0,mi.m)(n.removeEventListener)}(n)?bv.map(d=>s=>n[d](o,s,e)):function ay(n){return(0,mi.m)(n.addListener)&&(0,mi.m)(n.removeListener)}(n)?_v.map(qm(n,o)):function id(n){return(0,mi.m)(n.on)&&(0,mi.m)(n.off)}(n)?ry.map(qm(n,o)):[];if(!a&&(0,gv.z)(n))return(0,Bt.z)(d=>Qa(d,o,e))((0,hs.Xf)(n));if(!a)throw new TypeError("Invalid event target");return new Bi.y(d=>{const s=(...r)=>d.next(1l(s)})}function qm(n,o){return e=>t=>n[e](o,t)}var sy=x(4408);const nd={schedule(n){let o=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=nd;t&&(o=t.requestAnimationFrame,e=t.cancelAnimationFrame);const a=o(l=>{e=void 0,n(l)});return new Rt.w0(()=>null==e?void 0:e(a))},requestAnimationFrame(...n){const{delegate:o}=nd;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:o}=nd;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame)(...n)},delegate:void 0};var Gm=x(7565);const op=new class gM extends Gm.v{flush(o){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let a;o=o||t.shift();do{if(a=o.execute(o.state,o.delay))break}while((o=t[0])&&o.id===e&&t.shift());if(this._active=!1,a){for(;(o=t[0])&&o.id===e&&t.shift();)o.unsubscribe();throw a}}}(class Cv extends sy.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}requestAsyncId(o,e,t=0){return null!==t&&t>0?super.requestAsyncId(o,e,t):(o.actions.push(this),o._scheduled||(o._scheduled=nd.requestAnimationFrame(()=>o.flush(void 0))))}recycleAsyncId(o,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(o,e,t);o.actions.some(a=>a.id===e)||(nd.cancelAnimationFrame(e),o._scheduled=void 0)}});let Wm,Ka=1;const _u={};function wa(n){return n in _u&&(delete _u[n],!0)}const Aa={setImmediate(n){const o=Ka++;return _u[o]=!0,Wm||(Wm=Promise.resolve()),Wm.then(()=>wa(o)&&n()),o},clearImmediate(n){wa(n)}},{setImmediate:ly,clearImmediate:cy}=Aa,lp={setImmediate(...n){const{delegate:o}=lp;return((null==o?void 0:o.setImmediate)||ly)(...n)},clearImmediate(n){const{delegate:o}=lp;return((null==o?void 0:o.clearImmediate)||cy)(n)},delegate:void 0},Zm=new class Av extends Gm.v{flush(o){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let a;o=o||t.shift();do{if(a=o.execute(o.state,o.delay))break}while((o=t[0])&&o.id===e&&t.shift());if(this._active=!1,a){for(;(o=t[0])&&o.id===e&&t.shift();)o.unsubscribe();throw a}}}(class wv extends sy.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}requestAsyncId(o,e,t=0){return null!==t&&t>0?super.requestAsyncId(o,e,t):(o.actions.push(this),o._scheduled||(o._scheduled=lp.setImmediate(o.flush.bind(o,void 0))))}recycleAsyncId(o,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(o,e,t);o.actions.some(a=>a.id===e)||(lp.clearImmediate(e),o._scheduled=void 0)}});var rd=x(4986),cp=x(2805);function uy(n,o=rd.z){return function vv(n){return(0,hn.e)((o,e)=>{let t=!1,a=null,l=null,d=!1;const s=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const c=a;a=null,e.next(c)}d&&e.complete()},r=()=>{l=null,d&&e.complete()};o.subscribe((0,yn.x)(e,c=>{t=!0,a=c,l||(0,hs.Xf)(n(c)).subscribe(l=(0,yn.x)(e,s,r))},()=>{d=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,cp.H)(n,o))}let Ro=(()=>{class n{constructor(e,t,a){this._ngZone=e,this._platform=t,this._scrolled=new Pe.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}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 a=e>0?this._scrolled.pipe(uy(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Qe.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const a=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Gt.h)(l=>!l||a.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((a,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let a=Zi(t),l=e.getElementRef().nativeElement;do{if(a==l)return!0}while(a=a.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Qa(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(gi),i.LFG(T.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Vl=(()=>{class n{constructor(e,t,a,l){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=a,this.dir=l,this._destroyed=new Pe.x,this._elementScrolled=new Bi.y(d=>this.ngZone.runOutsideAngular(()=>Qa(this.elementRef.nativeElement,"scroll").pipe(nt(this._destroyed)).subscribe(d)))}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,a=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=a?e.end:e.start),null==e.right&&(e.right=a?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),a&&0!=Oc()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Oc()?e.left=e.right:1==Oc()&&(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;qw()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",a="right",l=this.elementRef.nativeElement;if("top"==e)return l.scrollTop;if("bottom"==e)return l.scrollHeight-l.clientHeight-l.scrollTop;const d=this.dir&&"rtl"==this.dir.value;return"start"==e?e=d?a:t:"end"==e&&(e=d?t:a),d&&2==Oc()?e==t?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:d&&1==Oc()?e==t?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==t?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ro),i.Y36(i.R0b),i.Y36(Mi,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),va=(()=>{class n{constructor(e,t,a){this._platform=e,this._change=new Pe.x,this._changeListener=l=>{this._change.next(l)},this._document=a,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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:a}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+a,right:e.left+t,height:a,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),a=e.documentElement,l=a.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||a.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||a.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(uy(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(gi),i.LFG(i.R0b),i.LFG(T.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),es=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ad=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl,es],vl,es]}),n})();class Qm{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 sd extends Qm{constructor(o,e,t,a){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=a}}class Lo extends Qm{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 Pv extends Qm{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class Km{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof sd?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Lo?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof Pv?(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 Rv extends Km{constructor(o,e,t,a,l){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=a,this.attachDomPortal=d=>{const s=d.element,r=this._document.createComment("dom-portal");s.parentNode.insertBefore(r,s),this.outletElement.appendChild(s),this._attachedPortal=d,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(s,r)})},this._document=l}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let a;return o.viewContainerRef?(a=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>a.destroy())):(a=t.create(o.injector||this._defaultInjector||i.zs3.NULL),this._appRef.attachView(a.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(a.hostView),a.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(a)),this._attachedPortal=o,a}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(a=>this.outletElement.appendChild(a)),t.detectChanges(),this.setDisposeFn(()=>{let a=e.indexOf(t);-1!==a&&e.remove(a)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Lv=(()=>{class n extends Lo{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})(),ts=(()=>{class n extends Km{constructor(e,t,a){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=l=>{const d=l.element,s=this._document.createComment("dom-portal");l.setAttachedHost(this),d.parentNode.insertBefore(s,d),this._getRootNode().appendChild(d),this._attachedPortal=l,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(d,s)})},this._document=a}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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),d=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=e,this._attachedRef=d,this.attached.emit(d),d}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(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),jl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var wi=x(6451);const Xm=qw();class my{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=en(-this._previousScrollPosition.left),o.style.top=en(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,a=this._document.body.style,l=t.scrollBehavior||"",d=a.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),Xm&&(t.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Xm&&(t.scrollBehavior=l,a.scrollBehavior=d)}}_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 eg{constructor(o,e,t,a){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=a,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 dp{enable(){}disable(){}attach(){}}function Ps(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function gy(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class Vv{constructor(o,e,t,a){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=a,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:a}=this._viewportRuler.getViewportSize();Ps(e,[{width:t,height:a,bottom:a,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 od=(()=>{class n{constructor(e,t,a,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this.noop=()=>new dp,this.close=d=>new eg(this._scrollDispatcher,this._ngZone,this._viewportRuler,d),this.block=()=>new my(this._viewportRuler,this._document),this.reposition=d=>new Vv(this._scrollDispatcher,this._viewportRuler,this._ngZone,d),this._document=l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ro),i.LFG(va),i.LFG(i.R0b),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class up{constructor(o){if(this.scrollStrategy=new dp,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 by{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class ht{constructor(o,e,t,a,l,d,s,r,c){this._portalOutlet=o,this._host=e,this._pane=t,this._config=a,this._ngZone=l,this._keyboardDispatcher=d,this._document=s,this._location=r,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new Pe.x,this._attachments=new Pe.x,this._detachments=new Pe.x,this._locationChanges=Rt.w0.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Pe.x,this._outsidePointerEvents=new Pe.x,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(o);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Yt.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=en(this._config.width),o.height=en(this._config.height),o.minWidth=en(this._config.minWidth),o.minHeight=en(this._config.minHeight),o.maxWidth=en(this._config.maxWidth),o.maxHeight=en(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;!o||(o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",this._backdropTransitionendHandler)}),o.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(o)},500)))}_toggleClasses(o,e,t){const a=Mh(e||[]).filter(l=>!!l);a.length&&(t?o.classList.add(...a):o.classList.remove(...a))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(nt((0,wi.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.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",this._backdropTransitionendHandler),o.remove(),this._backdropElement===o&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let tg=(()=>{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||Vc()){const a=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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,a=this._containerRect,l=[];let d;for(let s of this._preferredPositions){let r=this._getOriginPoint(o,a,s),c=this._getOverlayPoint(r,e,s),u=this._getOverlayFit(c,e,t,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,r);this._canFitWithFlexibleDimensions(u,c,t)?l.push({position:s,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,s)}):(!d||d.overlayFit.visibleArear&&(r=u,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(d.position,d.originPoint);this._applyPosition(d.position,d.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Fl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(yy),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 a,l;if("center"==t.originX)a=o.left+o.width/2;else{const d=this._isRtl()?o.right:o.left,s=this._isRtl()?o.left:o.right;a="start"==t.originX?d:s}return e.left<0&&(a-=e.left),l="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(l-=e.top),{x:a,y:l}}_getOverlayPoint(o,e,t){let a,l;return a="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+a,y:o.y+l}}_getOverlayFit(o,e,t,a){const l=Cu(e);let{x:d,y:s}=o,r=this._getOffset(a,"x"),c=this._getOffset(a,"y");r&&(d+=r),c&&(s+=c);let f=0-s,b=s+l.height-t.height,j=this._subtractOverflows(l.width,0-d,d+l.width-t.width),ee=this._subtractOverflows(l.height,f,b),pe=j*ee;return{visibleArea:pe,isCompletelyWithinViewport:l.width*l.height===pe,fitsInViewportVertically:ee===l.height,fitsInViewportHorizontally:j==l.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const a=t.bottom-e.y,l=t.right-e.x,d=yu(this._overlayRef.getConfig().minHeight),s=yu(this._overlayRef.getConfig().minWidth),c=o.fitsInViewportHorizontally||null!=s&&s<=l;return(o.fitsInViewportVertically||null!=d&&d<=a)&&c}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 a=Cu(e),l=this._viewportRect,d=Math.max(o.x+a.width-l.width,0),s=Math.max(o.y+a.height-l.height,0),r=Math.max(l.top-t.top-o.y,0),c=Math.max(l.left-t.left-o.x,0);let u=0,h=0;return u=a.width<=l.width?c||-d:o.xj&&!this._isInitialRender&&!this._growAfterOpen&&(d=o.y-j/2)}if("end"===e.overlayX&&!a||"start"===e.overlayX&&a)f=t.width-o.x+this._viewportMargin,u=o.x-this._viewportMargin;else if("start"===e.overlayX&&!a||"end"===e.overlayX&&a)h=o.x,u=t.right-o.x;else{const b=Math.min(t.right-o.x+t.left,o.x),j=this._lastBoundingBoxSize.width;u=2*b,h=o.x-b,u>j&&!this._isInitialRender&&!this._growAfterOpen&&(h=o.x-j/2)}return{top:d,left:h,bottom:s,right:f,width:u,height:l}}_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 a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,d=this._overlayRef.getConfig().maxWidth;a.height=en(t.height),a.top=en(t.top),a.bottom=en(t.bottom),a.width=en(t.width),a.left=en(t.left),a.right=en(t.right),a.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",a.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",l&&(a.maxHeight=en(l)),d&&(a.maxWidth=en(d))}this._lastBoundingBoxSize=t,Fl(this._boundingBox.style,a)}_resetBoundingBoxStyles(){Fl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Fl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},a=this._hasExactPosition(),l=this._hasFlexibleDimensions,d=this._overlayRef.getConfig();if(a){const u=this._viewportRuler.getViewportScrollPosition();Fl(t,this._getExactOverlayY(e,o,u)),Fl(t,this._getExactOverlayX(e,o,u))}else t.position="static";let s="",r=this._getOffset(e,"x"),c=this._getOffset(e,"y");r&&(s+=`translateX(${r}px) `),c&&(s+=`translateY(${c}px)`),t.transform=s.trim(),d.maxHeight&&(a?t.maxHeight=en(d.maxHeight):l&&(t.maxHeight="")),d.maxWidth&&(a?t.maxWidth=en(d.maxWidth):l&&(t.maxWidth="")),Fl(this._pane.style,t)}_getExactOverlayY(o,e,t){let a={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===o.overlayY?a.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":a.top=en(l.y),a}_getExactOverlayX(o,e,t){let d,a={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),d=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===d?a.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":a.left=en(l.x),a}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:gy(o,t),isOriginOutsideView:Ps(o,t),isOverlayClipped:gy(e,t),isOverlayOutsideView:Ps(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,a)=>t-Math.max(a,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&&Mh(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 Fl(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function yu(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(Fv);return e&&"px"!==e?null:parseFloat(o)}return n||null}function Cu(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 Pi="cdk-global-overlay-wrapper";class SM{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(Pi),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:a,height:l,maxWidth:d,maxHeight:s}=t,r=!("100%"!==a&&"100vw"!==a||d&&"100%"!==d&&"100vw"!==d),c=!("100%"!==l&&"100vh"!==l||s&&"100%"!==s&&"100vh"!==s);o.position=this._cssPosition,o.marginLeft=r?"0":this._leftOffset,o.marginTop=c?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,r?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=c?"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(Pi),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let Cy=(()=>{class n{constructor(e,t,a,l){this._viewportRuler=e,this._document=t,this._platform=a,this._overlayContainer=l}global(){return new SM}flexibleConnectedTo(e){return new bu(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(va),i.LFG(T.K0),i.LFG(gi),i.LFG(tg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wy=(()=>{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nv=(()=>{class n extends wy{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=a=>{const l=this._attachedOverlays;for(let d=l.length-1;d>-1;d--)if(l[d]._keydownEvents.observers.length>0){const s=l[d]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(a)):s.next(a);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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(T.K0),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ay=(()=>{class n extends wy{constructor(e,t,a){super(e),this._platform=t,this._ngZone=a,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=jr(l)},this._clickListener=l=>{const d=jr(l),s="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:d;this._pointerDownEventTarget=null;const r=this._attachedOverlays.slice();for(let c=r.length-1;c>-1;c--){const u=r[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(d)||u.overlayElement.contains(s))break;const h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(l)):h.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(gi),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vy=0,Cr=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=a,this._positionBuilder=l,this._keyboardDispatcher=d,this._injector=s,this._ngZone=r,this._document=c,this._directionality=u,this._location=h,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),a=this._createPaneElement(t),l=this._createPortalOutlet(a),d=new up(e);return d.direction=d.direction||this._directionality.value,new ht(l,t,a,d,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-"+vy++,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 Rv(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(od),i.LFG(tg),i.LFG(i._Vd),i.LFG(Cy),i.LFG(Nv),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(T.K0),i.LFG(Mi),i.LFG(T.Ye),i.LFG(Ay))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ty=[{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"}],xy=new i.OlP("cdk-connected-overlay-scroll-strategy");let My=(()=>{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})(),Sy=(()=>{class n{constructor(e,t,a,l,d){this._overlay=e,this._dir=d,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Rt.w0.EMPTY,this._attachSubscription=Rt.w0.EMPTY,this._detachSubscription=Rt.w0.EMPTY,this._positionSubscription=Rt.w0.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 Lo(t,a),this._scrollStrategyFactory=l,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=We(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=We(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=We(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=We(e)}get push(){return this._push}set push(e){this._push=We(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=Ty);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&&!on(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 up({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(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.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 My?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 fy(n,o=!1){return(0,hn.e)((e,t)=>{let a=0;e.subscribe((0,yn.x)(t,l=>{const d=n(l,a++);(d||o)&&t.next(l),!d&&t.complete()}))})}(()=>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(Cr),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(xy),i.Y36(Mi,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 Yv={provide:xy,deps:[Cr],useFactory:function wu(n){return()=>n.scrollStrategies.reposition()}};let Au=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Cr,Yv],imports:[[vl,jl,ad],ad]}),n})();const hp=["connectionContainer"],Ey=["inputContainer"],Dy=["label"];function Hy(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 zv(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 vu(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 Tu(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function Uv(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function qv(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,vu,4,1,"ng-container",12),i.YNc(3,Tu,1,0,"ng-content",12),i.YNc(4,Uv,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 Gv(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function ky(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 Py(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 Ry(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 Wv(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,Ry,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 Ly=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Zv=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let $v=0;const Jv=new i.OlP("MatError");let Io=(()=>{class n{constructor(e,t){this.id="mat-error-"+$v++,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:Jv,useExisting:n}])]}),n})();const DM={transitionMessages:Zt("transitionMessages",[Tt("enter",Le({opacity:1,transform:"translateY(0%)"})),mt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),_t("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Kv=0;const ng=new i.OlP("MatHint");let xu=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Kv++}}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:ng,useExisting:n}])]}),n})(),is=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),Xv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const eT=new i.OlP("MatPrefix"),Iy=new i.OlP("MatSuffix");let fp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:Iy,useExisting:n}])]}),n})(),Oy=0;const iT=ya(class{constructor(n){this._elementRef=n}},"primary"),By=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),mp=new i.OlP("MatFormField");let Wn=(()=>{class n extends iT{constructor(e,t,a,l,d,s,r){super(e),this._changeDetectorRef=t,this._dir=a,this._defaults=l,this._platform=d,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Pe.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Oy++,this._labelId="mat-form-field-label-"+Oy++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==r,this.appearance=l&&l.appearance?l.appearance:"legacy",this._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.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=We(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(Jt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(nt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,wi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(nt(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,Qa(this._label.nativeElement,"transitionend").pipe((0,Yt.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(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.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,a=".mat-form-field-outline-start",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=t.querySelectorAll(`${a}, ${l}`);for(let h=0;h0?.75*j+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,Ao],ot]}),n})();function gp(n){return n&&"function"==typeof n.connect}class Fy{applyChanges(o,e,t,a,l){o.forEachOperation((d,s,r)=>{let c,u;if(null==d.previousIndex){const h=t(d,s,r);c=e.createEmbeddedView(h.templateRef,h.context,h.index),u=1}else null==r?(e.remove(s),u=3):(c=e.get(s),e.move(c,r),u=2);l&&l({context:null==c?void 0:c.context,operation:u,record:d})})}detach(){}}class Ri{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Pe.x,e&&e.length&&(o?e.forEach(a=>this._markSelected(a)):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 ag=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let a of this._listeners)a(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 Mu=new i.OlP("_ViewRepeater");var sg=x(4742),nT=x(1810);function _p(...n){const o=(0,fs.jO)(n),{args:e,keys:t}=(0,sg.D)(n),a=new Bi.y(l=>{const{length:d}=e;if(!d)return void l.complete();const s=new Array(d);let r=d,c=d;for(let u=0;u{h||(h=!0,c--),s[u]=f},()=>r--,void 0,()=>{(!r||!h)&&(c||l.next(t?(0,nT.n)(t,s):s),l.complete())}))}});return o?a.pipe((0,Um.Z)(o)):a}let Ny=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=a=>{},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})(),zl=(()=>{class n extends Ny{}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 Zn=new i.OlP("NgValueAccessor"),aT={provide:Zn,useExisting:(0,i.Gpc)(()=>Ln),multi:!0},oT=new i.OlP("CompositionEventMode");let Ln=(()=>{class n extends Ny{constructor(e,t,a){super(e,t),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function sT(){const n=(0,T.q)()?(0,T.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(oT,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(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[i._Bn([aT]),i.qOj]}),n})();function Rs(n){return null==n||0===n.length}function zy(n){return null!=n&&"number"==typeof n.length}const ln=new i.OlP("NgValidators"),Ls=new i.OlP("NgAsyncValidators"),lT=/^(?=.{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 Ni{static min(o){return function Uy(n){return o=>{if(Rs(o.value)||Rs(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Rs(o.value)||Rs(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 yp(o)}static requiredTrue(o){return function og(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Cp(n){return Rs(n.value)||lT.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function qy(n){return o=>Rs(o.value)||!zy(o.value)?null:o.value.lengthzy(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function wp(n){if(!n)return Ap;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(Rs(t.value))return null;const a=t.value;return o.test(a)?null:{pattern:{requiredPattern:e,actualValue:a}}}}(o)}static nullValidator(o){return null}static compose(o){return Jy(o)}static composeAsync(o){return Qy(o)}}function yp(n){return Rs(n.value)?{required:!0}:null}function Ap(n){return null}function lg(n){return null!=n}function Wy(n){const o=(0,i.QGY)(n)?(0,xn.D)(n):n;return(0,i.CqO)(o),o}function cg(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 Zy(n,o){return o.map(e=>e(n))}function cT(n){return n.map(o=>function $y(n){return!n.validate}(o)?o:e=>o.validate(e))}function Jy(n){if(!n)return null;const o=n.filter(lg);return 0==o.length?null:function(e){return cg(Zy(e,o))}}function Ul(n){return null!=n?Jy(cT(n)):null}function Qy(n){if(!n)return null;const o=n.filter(lg);return 0==o.length?null:function(e){return _p(Zy(e,o).map(Wy)).pipe((0,ft.U)(cg))}}function Oo(n){return null!=n?Qy(cT(n)):null}function ld(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Ky(n){return n._rawValidators}function dT(n){return n._rawAsyncValidators}function vp(n){return n?Array.isArray(n)?n:[n]:[]}function Tp(n,o){return Array.isArray(n)?n.includes(o):n===o}function Xy(n,o){const e=vp(o);return vp(n).forEach(a=>{Tp(e,a)||e.push(a)}),e}function eC(n,o){return vp(o).filter(e=>!Tp(n,e))}class tC{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=Ul(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Oo(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 Zr extends tC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $n extends tC{get formDirective(){return null}get path(){return null}}class xp{constructor(o){this._cd=o}is(o){var e,t,a;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(a=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===a?void 0:a[o])}}let sr=(()=>{class n extends xp{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Zr,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})(),ug=(()=>{class n extends xp{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($n,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 Eu(n,o){return[...o.path,n]}function Dp(n,o){Hp(n,o),o.valueAccessor.writeValue(n.value),function mT(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&rC(n,o)})}(n,o),function _T(n,o){const e=(t,a)=>{o.valueAccessor.writeValue(t),a&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function gT(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&rC(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function nC(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Du(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Hu(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function dd(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Hp(n,o){const e=Ky(n);null!==o.validator?n.setValidators(ld(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=dT(n);null!==o.asyncValidator?n.setAsyncValidators(ld(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const a=()=>n.updateValueAndValidity();dd(o._rawValidators,a),dd(o._rawAsyncValidators,a)}function Hu(n,o){let e=!1;if(null!==n){if(null!==o.validator){const a=Ky(n);if(Array.isArray(a)&&a.length>0){const l=a.filter(d=>d!==o.validator);l.length!==a.length&&(e=!0,n.setValidators(l))}}if(null!==o.asyncValidator){const a=dT(n);if(Array.isArray(a)&&a.length>0){const l=a.filter(d=>d!==o.asyncValidator);l.length!==a.length&&(e=!0,n.setAsyncValidators(l))}}}const t=()=>{};return dd(o._rawValidators,t),dd(o._rawAsyncValidators,t),e}function rC(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function aC(n,o){Hp(n,o)}function kp(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function fg(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Pp(n,o){if(!o)return null;let e,t,a;return Array.isArray(o),o.forEach(l=>{l.constructor===Ln?e=l:function sC(n){return Object.getPrototypeOf(n.constructor)===zl}(l)?t=l:a=l}),a||t||e||null}function Rp(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const ud="VALID",Pu="INVALID",ql="PENDING",Ru="DISABLED";function Gl(n){return(Lp(n)?n.validators:n)||null}function oC(n){return Array.isArray(n)?Ul(n):n||null}function Lu(n,o){return(Lp(o)?o.asyncValidators:n)||null}function Ta(n){return Array.isArray(n)?Oo(n):n||null}function Lp(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const hd=n=>n instanceof Si,Bo=n=>n instanceof Ip,lC=n=>n instanceof gg;function cC(n){return hd(n)?n.value:n.getRawValue()}function dC(n,o){const e=Bo(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 Iu(n,o){Bo(n),n._forEachChild((t,a)=>{if(void 0===o[a])throw new i.vHH(1002,"")})}class pd{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=oC(this._rawValidators),this._composedAsyncValidatorFn=Ta(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===ud}get invalid(){return this.status===Pu}get pending(){return this.status==ql}get disabled(){return this.status===Ru}get enabled(){return this.status!==Ru}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=oC(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Ta(o)}addValidators(o){this.setValidators(Xy(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(Xy(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(eC(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(eC(o,this._rawAsyncValidators))}hasValidator(o){return Tp(this._rawValidators,o)}hasAsyncValidator(o){return Tp(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=ql,!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=Ru,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=ud,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===ud||this.status===ql)&&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()?Ru:ud}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=ql,this._hasOwnPendingAsyncValidator=!0;const e=Wy(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 CT(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(a=>{t=Bo(t)?t.controls.hasOwnProperty(a)?t.controls[a]:null:lC(t)&&t.at(a)||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()?Ru:this.errors?Pu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ql)?ql:this._anyControlsHaveStatus(Pu)?Pu:ud}_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){Lp(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Si extends pd{constructor(o=null,e,t){super(Gl(e),Lu(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}),Lp(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){Rp(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Rp(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 Ip extends pd{constructor(o,e,t){super(Gl(e),Lu(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={}){Iu(this,o),Object.keys(o).forEach(t=>{dC(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,a)=>{t.reset(o[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=cC(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((a,l)=>{t=e(t,a,l)}),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 gg extends pd{constructor(o,e,t){super(Gl(e),Lu(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={}){Iu(this,o),o.forEach((t,a)=>{dC(this,a),this.at(a).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,a)=>{this.at(a)&&this.at(a).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,a)=>{t.reset(o[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>cC(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 uC={provide:$n,useExisting:(0,i.Gpc)(()=>Vo)},Wl=(()=>Promise.resolve(null))();let Vo=(()=>{class n extends $n{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Ip({},Ul(e),Oo(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Wl.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Dp(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Wl.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Wl.then(()=>{const t=this._findContainer(e.path),a=new Ip({});aC(a,e),t.registerControl(e.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Wl.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Wl.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,fg(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(ln,10),i.Y36(Ls,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(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([uC]),i.qOj]}),n})();const _g={provide:Zr,useExisting:(0,i.Gpc)(()=>fd)},gC=(()=>Promise.resolve(null))();let fd=(()=>{class n extends Zr{constructor(e,t,a,l,d){super(),this._changeDetectorRef=d,this.control=new Si,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(a),this.valueAccessor=Pp(0,l)}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),kp(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(){Dp(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){gC.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,a=""===t||t&&"false"!==t;gC.then(()=>{var l;a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()})}_getPath(e){return this._parent?Eu(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($n,9),i.Y36(ln,10),i.Y36(Ls,10),i.Y36(Zn,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([_g]),i.qOj,i.TTD]}),n})(),_C=(()=>{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})(),Cg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Bp=new i.OlP("NgModelWithFormControlWarning"),TT={provide:Zr,useExisting:(0,i.Gpc)(()=>wr)};let wr=(()=>{class n extends Zr{constructor(e,t,a,l){super(),this._ngModelWarningConfig=l,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Pp(0,a)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Du(t,this,!1),Dp(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}kp(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Du(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(ln,10),i.Y36(Ls,10),i.Y36(Zn,10),i.Y36(Bp,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([TT]),i.qOj,i.TTD]}),n})();const yC={provide:$n,useExisting:(0,i.Gpc)(()=>$i)};let $i=(()=>{class n extends $n{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&&(Hu(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 Dp(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Du(e.control||null,e,!1),Rp(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,fg(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,a=this.form.get(e.path);t!==a&&(Du(t||null,e),hd(a)&&(Dp(a,e),e.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);aC(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function bT(n,o){return Hu(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hp(this.form,this),this._oldForm&&Hu(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ln,10),i.Y36(Ls,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([yC]),i.qOj,i.TTD]}),n})();const MT={provide:Zr,useExisting:(0,i.Gpc)(()=>Ou)};let Ou=(()=>{class n extends Zr{constructor(e,t,a,l,d){super(),this._ngModelWarningConfig=d,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(a),this.valueAccessor=Pp(0,l)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),kp(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 Eu(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($n,13),i.Y36(ln,10),i.Y36(Ls,10),i.Y36(Zn,10),i.Y36(Bp,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([MT]),i.qOj,i.TTD]}),n})(),jo=(()=>{class n{constructor(){this._validator=Ap}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):Ap,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 kT={provide:ln,useExisting:(0,i.Gpc)(()=>ns),multi:!0};let ns=(()=>{class n extends jo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function MC(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>yp}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([kT]),i.qOj]}),n})(),DC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Cg]]}),n})(),Pg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[DC]}),n})(),ju=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Bp,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[DC]}),n})(),jM=(()=>{class n{group(e,t=null){const a=this._reduceControls(e);let s,l=null,d=null;return null!=t&&(function HC(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(l=null!=t.validators?t.validators:null,d=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(l=null!=t.validator?t.validator:null,d=null!=t.asyncValidator?t.asyncValidator:null)),new Ip(a,{asyncValidators:d,updateOn:s,validators:l})}control(e,t,a){return new Si(e,t,a)}array(e,t,a){const l=e.map(d=>this._createControl(d));return new gg(l,t,a)}_reduceControls(e){const t={};return Object.keys(e).forEach(a=>{t[a]=this._createControl(e[a])}),t}_createControl(e){return hd(e)||Bo(e)||lC(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:ju}),n})();const FM=["trigger"],NM=["panel"];function YM(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 zM(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 UM(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function qM(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,zM,2,1,"span",10),i.YNc(2,UM,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 Fp(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(a){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(a.toState)})("keydown",function(a){return i.CHM(e),i.oxw()._handleKeydown(a)}),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 GM=[[["mat-select-trigger"]],"*"],Rg=["mat-select-trigger","*"],Zl={transformPanelWrap:Zt("transformPanelWrap",[mt("* => void",rr("@transformPanel",[ru()],{optional:!0}))]),transformPanel:Zt("transformPanel",[Tt("void",Le({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Tt("showing",Le({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Tt("showing-multiple",Le({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),mt("void => *",_t("120ms cubic-bezier(0, 0, 0.2, 1)")),mt("* => void",_t("100ms 25ms linear",Le({opacity:0})))])};let Np=0;const Ig=new i.OlP("mat-select-scroll-strategy"),QM=new i.OlP("MAT_SELECT_CONFIG"),KM={provide:Ig,deps:[Cr],useFactory:function JM(n){return()=>n.scrollStrategies.reposition()}};class FT{constructor(o,e){this.source=o,this.value=e}}const Og=br(Il(qn(Bm(class{constructor(n,o,e,t,a){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=a}})))),NT=new i.OlP("MatSelectTrigger");let YT=(()=>{class n extends Og{constructor(e,t,a,l,d,s,r,c,u,h,f,b,j,ee){var pe,Ke,Dt;super(d,l,r,c,h),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=a,this._dir=s,this._parentFormField=u,this._liveAnnouncer=j,this._defaultOptions=ee,this._panelOpen=!1,this._compareWith=(ut,Wt)=>ut===Wt,this._uid="mat-select-"+Np++,this._triggerAriaLabelledBy=null,this._destroy=new Pe.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Np++,this._panelDoneAnimatingStream=new Pe.x,this._overlayPanelClass=(null===(pe=this._defaultOptions)||void 0===pe?void 0:pe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Dt=null===(Ke=this._defaultOptions)||void 0===Ke?void 0:Ke.disableOptionCentering)&&void 0!==Dt&&Dt,this.ariaLabel="",this.optionSelectionChanges=ps(()=>{const ut=this.options;return ut?ut.changes.pipe(Jt(ut),(0,qi.w)(()=>(0,wi.T)(...ut.map(Wt=>Wt.onSelectionChange)))):this._ngZone.onStable.pipe((0,Yt.q)(1),(0,qi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Gt.h)(ut=>ut),(0,ft.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Gt.h)(ut=>!ut),(0,ft.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ee?void 0:ee.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ee.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||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,a,l;return null!==(l=null!==(e=this._required)&&void 0!==e?e:null===(a=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===a?void 0:a.hasValidator(Ni.required))&&void 0!==l&&l}set required(e){this._required=We(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=We(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=We(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Fi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Ri(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(El(),nt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(nt(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Jt(null),nt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){const a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?a.setAttribute("aria-labelledby",e):a.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(void 0!==this._previousControl&&null!==t.disabled&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),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._assignValue(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,a=40===t||38===t||37===t||39===t,l=13===t||32===t,d=this._keyManager;if(!d.isTyping()&&l&&!on(e)||(this.multiple||e.altKey)&&a)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;d.onKeydown(e);const r=this.selected;r&&s!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,a=e.keyCode,l=40===a||38===a,d=t.isTyping();if(l&&e.altKey)e.preventDefault(),this.close();else if(d||13!==a&&32!==a||!t.activeItem||on(e))if(!d&&this._multiple&&65===a&&e.ctrlKey){e.preventDefault();const s=this.options.some(r=>!r.disabled&&!r.selected);this.options.forEach(r=>{r.disabled||(s?r.select():r.deselect())})}else{const s=t.activeItemIndex;t.onKeydown(e),this._multiple&&l&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&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,Yt.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._selectOptionByValue(t)),this._sortValues();else{const t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const t=this.options.find(a=>{if(this._selectionModel.isSelected(a))return!1;try{return null!=a.value&&this._compareWith(a.value,e)}catch(l){return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new Hh(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(nt(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(nt(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,wi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(nt(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,wi.T)(...this.options.map(t=>t._stateChanges)).pipe(nt(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const a=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(a!==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)),a!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,a)=>this.sortComparator?this.sortComparator(t,a,e):e.indexOf(t)-e.indexOf(a)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(a=>a.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 a=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(a+=" "+this.ariaLabelledby),a}_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(va),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Wr),i.Y36(i.SBq),i.Y36(Mi,8),i.Y36(Vo,8),i.Y36($i,8),i.Y36(mp,8),i.Y36(Zr,10),i.$8M("tabindex"),i.Y36(Ig),i.Y36(IA),i.Y36(QM,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(FM,5),i.Gf(NM,5),i.Gf(Sy,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.trigger=a.first),i.iGM(a=i.CRH())&&(t.panel=a.first),i.iGM(a=i.CRH())&&(t._overlayDir=a.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})(),Ql=(()=>{class n extends YT{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,a){const l=this._getItemHeight();return Math.min(Math.max(0,l*e-t+l/2),a)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(nt(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,Yt.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=zm(e,this.options,this.optionGroups),a=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function Xb(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*a,a,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 FT(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),a=this._isRtl(),l=this.multiple?56:32;let d;if(this.multiple)d=40;else if(this.disableOptionCentering)d=16;else{let c=this._selectionModel.selected[0]||this.options.first;d=c&&c.group?32:16}a||(d*=-1);const s=0-(e.left+d-(a?l:0)),r=e.right+d-t.width+(a?0:l);s>0?d+=s+8:r>0&&(d-=r+8),this._overlayDir.offsetX=Math.round(d),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,a){const l=this._getItemHeight(),d=(l-this._triggerRect.height)/2,s=Math.floor(256/l);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?e*l:this._scrollTop===a?(e-(this._getItemCount()-s))*l+(l-(this._getItemCount()*l-256)%l):t-l/2,Math.round(-1*r-d))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),a=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,d=a.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;c>d?this._adjustPanelUp(c,d):s>l?this._adjustPanelDown(s,l,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const a=Math.round(e-t);this._scrollTop-=a,this._offsetY-=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,a){const l=Math.round(e-t);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=a)return this._scrollTop=a,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),a=Math.min(t*e,256),d=t*e-a;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=zm(s,this.options,this.optionGroups);const r=a/2;this._scrollTop=this._calculateOverlayScroll(s,r,d),this._offsetY=this._calculateOverlayOffsetY(s,r,d),this._checkOverlayWithinViewport(d)}_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,a){if(1&e&&(i.Suo(a,NT,5),i.Suo(a,Po,5),i.Suo(a,Nm,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.customTrigger=l.first),i.iGM(l=i.CRH())&&(t.options=l),i.iGM(l=i.CRH())&&(t.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(l){return t._handleKeydown(l)})("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:pp,useExisting:n},{provide:$b,useExisting:n}]),i.qOj],ngContentSelectors:Rg,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(GM),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,YM,2,1,"span",3),i.YNc(5,qM,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,Fp,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 a=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",a)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[My,T.RF,T.n9,T.ED,Sy,T.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[Zl.transformPanelWrap,Zl.transformPanel]},changeDetection:0}),n})(),Yp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[KM],imports:[[T.ez,Au,sp,ot],es,Yl,sp,ot]}),n})();const PC=new Set;let Fo,zT=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Bg}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function UT(n){if(!PC.has(n))try{Fo||(Fo=document.createElement("style"),Fo.setAttribute("type","text/css"),document.head.appendChild(Fo)),Fo.sheet&&(Fo.sheet.insertRule(`@media ${n} {body{ }}`,0),PC.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Bg(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let RC=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Pe.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vg(Mh(e)).some(a=>this._registerQuery(a).mql.matches)}observe(e){const a=Vg(Mh(e)).map(d=>this._registerQuery(d).observable);let l=(0,Ws.a)(a);return l=(0,us.z)(l.pipe((0,Yt.q)(1)),l.pipe(pr(1),(0,Kd.b)(0))),l.pipe((0,ft.U)(d=>{const s={matches:!1,breakpoints:{}};return d.forEach(({matches:r,query:c})=>{s.matches=s.matches||r,s.breakpoints[c]=r}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),l={observable:new Bi.y(d=>{const s=r=>this._zone.run(()=>d.next(r));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Jt(t),(0,ft.U)(({matches:d})=>({query:e,matches:d})),nt(this._destroySubject)),mql:t};return this._queries.set(e,l),l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(zT),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Vg(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const LC=["tooltip"],OC="tooltip-panel",zp=Vr({passive:!0}),GT=new i.OlP("mat-tooltip-scroll-strategy"),BC={provide:GT,deps:[Cr],useFactory:function WT(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},ZT=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function $T(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let VC=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=d,this._platform=s,this._ariaDescriber=r,this._focusMonitor=c,this._dir=h,this._defaultOptions=f,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 Pe.x,this._scrollStrategy=u,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(nt(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=We(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Fi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Fi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(nt(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,a])=>{e.removeEventListener(t,a,zp)}),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 sd(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=t.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return a.positionChanges.pipe(nt(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${OC}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(nt(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(nt(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!on(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),l.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),l.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let a;"above"==t||"below"==t?a={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?a={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(a={originX:"end",originY:"center"});const{x:l,y:d}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:d}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let a;"above"==t?a={overlayX:"center",overlayY:"bottom"}:"below"==t?a={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?a={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:d}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:d}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Yt.q)(1),nt(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:a,originY:l}=e;let d;if(d="center"===t?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===t&&"top"===l?"above":"below",d!==this._currentPosition){const s=this._overlayRef;if(s){const r=`${this._cssClassPrefix}-${OC}-`;s.removePanelClass(r+this._currentPosition),s.addPanelClass(r+d)}this._currentPosition=d}}_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",t=>{var a;const l=t.relatedTarget;(!l||!(null===(a=this._overlayRef)||void 0===a?void 0:a.overlayElement.contains(l)))&&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,a])=>{this._elementRef.nativeElement.addEventListener(t,a,zp)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),a=this._elementRef.nativeElement;t!==a&&!a.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,a=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===e||!t.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.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})(),Kl=(()=>{class n extends VC{constructor(e,t,a,l,d,s,r,c,u,h,f,b){super(e,t,a,l,d,s,r,c,u,h,f,b),this._tooltipComponent=jC}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.SBq),i.Y36(Ro),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(gi),i.Y36(SA),i.Y36(Pn),i.Y36(GT),i.Y36(Mi,8),i.Y36(ZT,8),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),tS=(()=>{class n{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Pe.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(t.classList.remove(e?l:a),t.classList.add(e?a:l),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const d=getComputedStyle(t);("0s"===d.getPropertyValue("animation-duration")||"none"===d.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n}),n})(),jC=(()=>{class n extends tS{constructor(e,t,a){super(e,a),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(RC),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&i.Gf(LC,7),2&e){let a;i.iGM(a=i.CRH())&&(t._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("mouseleave",function(l){return t._handleMouseLeave(l)}),2&e&&i.Udp("zoom",t.isVisible()?1:null)},features:[i.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0,1),i.NdJ("animationend",function(l){return t._handleAnimationEnd(l)}),i.ALo(2,"async"),i._uU(3),i.qZA()),2&e){let a;i.ekj("mat-tooltip-handset",null==(a=i.lcZ(2,4,t._isHandset))?null:a.matches),i.Q6J("ngClass",t.tooltipClass),i.xp6(3),i.Oqu(t.message)}},directives:[T.mk],pipes:[T.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),bd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[BC],imports:[[Mo,T.ez,Au,ot],ot,es]}),n})();function JT(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 FC(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(a){return i.CHM(e),i.oxw(2)._changePageSize(a.value)}),i.YNc(2,JT,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 Fu(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 jg(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,FC,3,6,"mat-form-field",14),i.YNc(4,Fu,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 NC(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 QT(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 Nu=(()=>{class n{constructor(){this.changes=new Pe.x,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,a)=>{if(0==a||0==t)return`0 of ${a}`;const l=e*t;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+t,a):l+t} of ${a}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nS={provide:Nu,deps:[[new i.FiY,new i.tp0,Nu]],useFactory:function YC(n){return n||new Nu}},rS=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),zC=qn(Nb(class{}));let XT=(()=>{class n extends zC{constructor(e,t,a){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()),a){const{pageSize:l,pageSizeOptions:d,hidePageSize:s,showFirstLastButtons:r}=a;null!=l&&(this._pageSize=l),null!=d&&(this._pageSizeOptions=d),null!=s&&(this._hidePageSize=s),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Fi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Fi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Fi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Fi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=We(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=We(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})(),UC=(()=>{class n extends XT{constructor(e,t,a){super(e,t,a),a&&null!=a.formFieldAppearance&&(this._formFieldAppearance=a.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Nu),i.Y36(i.sBO),i.Y36(rS,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,jg,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,NC,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,QT,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:[Wn,Ql,Po,zt,T.O5,T.sg,Kl],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})(),Up=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[nS],imports:[[T.ez,Ca,Yp,bd,ot]]}),n})();var ex=x(1005);const aS=["mat-menu-item",""];function sS(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const tx=["*"];function oS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(a){return i.CHM(e),i.oxw()._handleKeydown(a)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(a){return i.CHM(e),i.oxw()._onAnimationStart(a)})("@transformMenu.done",function(a){return i.CHM(e),i.oxw()._onAnimationDone(a)}),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 qp={transformMenu:Zt("transformMenu",[Tt("void",Le({opacity:0,transform:"scale(0.8)"})),mt("void => enter",_t("120ms cubic-bezier(0, 0, 0.2, 1)",Le({opacity:1,transform:"scale(1)"}))),mt("* => void",_t("100ms 25ms linear",Le({opacity:0})))]),fadeInItems:Zt("fadeInItems",[Tt("showing",Le({opacity:1})),mt("void => *",[Le({opacity:0}),_t("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ix=new i.OlP("MatMenuContent"),Yu=new i.OlP("MAT_MENU_PANEL"),Ng=br(qn(class{}));let No=(()=>{class n extends Ng{constructor(e,t,a,l,d){var s;super(),this._elementRef=e,this._document=t,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=d,this.role="menuitem",this._hovered=new Pe.x,this._focused=new Pe.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==l?void 0:l.addItem)||void 0===s||s.call(l,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),a=t.querySelectorAll("mat-icon, .material-icons");for(let l=0;l{class n{constructor(e,t,a,l){this._elementRef=e,this._ngZone=t,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=Rt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Pe.x,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-"+uS++}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=We(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=We(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(a=>{this._classList[a]=!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 To(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Jt(this._directDescendantItems),(0,qi.w)(e=>(0,wi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const a=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=a.activeItem)||void 0===t?void 0:t._hasFocus())){const l=e.toArray(),d=Math.max(0,Math.min(l.length-1,a.activeItemIndex||0));l[d]&&!l[d].disabled?a.setActiveItem(d):a.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Jt(this._directDescendantItems),(0,qi.w)(t=>(0,wi.T)(...t.map(a=>a._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,a=this._keyManager;switch(t){case 27:on(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)&&a.setFocusOrigin("keyboard"),void a.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(e).setFirstItemActive(),!a.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),a=`${this._elevationPrefix}${t}`,l=Object.keys(this._classList).find(d=>d.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(e=this.xPosition,t=this.yPosition){var a;const l=this._classList;l["mat-menu-before"]="before"===e,l["mat-menu-after"]="after"===e,l["mat-menu-above"]="above"===t,l["mat-menu-below"]="below"===t,null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()}_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(Jt(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(ax),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,ix,5),i.Suo(a,No,5),i.Suo(a,No,4)),2&e){let l;i.iGM(l=i.CRH())&&(t.lazyContent=l.first),i.iGM(l=i.CRH())&&(t._allItems=l),i.iGM(l=i.CRH())&&(t.items=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let a;i.iGM(a=i.CRH())&&(t.templateRef=a.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})(),Yg=(()=>{class n extends Gp{constructor(e,t,a,l){super(e,t,a,l),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(ax),i.Y36(i.sBO))},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:Yu,useExisting:n}]),i.qOj],ngContentSelectors:tx,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,oS,3,6,"ng-template"))},directives:[T.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[qp.transformMenu,qp.fadeInItems]},changeDetection:0}),n})();const WC=new i.OlP("mat-menu-scroll-strategy"),ox={provide:WC,deps:[Cr],useFactory:function sx(n){return()=>n.scrollStrategies.reposition()}},zg=Vr({passive:!0});let $C=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u){this._overlay=e,this._element=t,this._viewContainerRef=a,this._menuItemInstance=s,this._dir=r,this._focusMonitor=c,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Rt.w0.EMPTY,this._hoverSubscription=Rt.w0.EMPTY,this._menuCloseSubscription=Rt.w0.EMPTY,this._handleTouchStart=h=>{im(h)||(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=l,this._parentMaterialMenu=d instanceof Gp?d:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,zg),s&&(s._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,zg),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(),a=t.positionStrategy;this._setPosition(a),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 Gp&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(nt(this.menu.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.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 Gp?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Gt.h)(a=>"void"===a.toState),(0,Yt.q)(1),nt(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 up({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=>{const a="start"===t.connectionPair.overlayX?"after":"before",l="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(a,l)):this.menu.setPositionClasses(a,l)})}_setPosition(e){let[t,a]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,d]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,r]=[l,d],[c,u]=[t,a],h=0;this.triggersSubmenu()?(u=t="before"===this.menu.xPosition?"start":"end",a=c="end"===t?"start":"end",h="bottom"===l?8:-8):this.menu.overlapTrigger||(s="top"===l?"bottom":"top",r="top"===d?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:c,overlayY:l,offsetY:h},{originX:a,originY:s,overlayX:u,overlayY:l,offsetY:h},{originX:t,originY:r,overlayX:c,overlayY:d,offsetY:-h},{originX:a,originY:r,overlayX:u,overlayY:d,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Qe.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Gt.h)(d=>d!==this._menuItemInstance),(0,Gt.h)(()=>this._menuOpen)):(0,Qe.of)();return(0,wi.T)(e,a,l,t)}_handleMousedown(e){tm(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,Gt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,ex.g)(0,Zm)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Gp&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Yt.q)(1),(0,ex.g)(0,Zm),nt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Lo(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(WC),i.Y36(Yu,8),i.Y36(No,10),i.Y36(Mi,8),i.Y36(Pn),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("mousedown",function(l){return t._handleMousedown(l)})("keydown",function(l){return t._handleKeydown(l)}),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})(),Ug=(()=>{class n extends $C{}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})(),Wp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[ox],imports:[[T.ez,ot,yr,Au],es,ot]}),n})();var Zp=x(2843),qg=x(3099);const $p=["*"];let Gg;function Yo(n){var o;return(null===(o=function JC(){if(void 0===Gg&&(Gg=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(Gg=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return Gg}())||void 0===o?void 0:o.createHTML(n))||n}function QC(n){return Error(`Unable to find icon with the name "${n}"`)}function KC(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function XC(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Cd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Xl=(()=>{class n{constructor(e,t,a,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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=a}addSvgIcon(e,t,a){return this.addSvgIconInNamespace("",e,t,a)}addSvgIconLiteral(e,t,a){return this.addSvgIconLiteralInNamespace("",e,t,a)}addSvgIconInNamespace(e,t,a,l){return this._addSvgIconConfig(e,t,new Cd(a,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,a,l){const d=this._sanitizer.sanitize(i.q3G.HTML,a);if(!d)throw XC(a);const s=Yo(d);return this._addSvgIconConfig(e,t,new Cd("",s,l))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,a){return this._addSvgIconSetConfig(e,new Cd(t,null,a))}addSvgIconSetLiteralInNamespace(e,t,a){const l=this._sanitizer.sanitize(i.q3G.HTML,t);if(!l)throw XC(t);const d=Yo(l);return this._addSvgIconSetConfig(e,new Cd("",d,a))}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 KC(e);const a=this._cachedIconsByUrl.get(t);return a?(0,Qe.of)(Jp(a)):this._loadSvgIconFromConfig(new Cd(e,null)).pipe((0,O.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,ft.U)(l=>Jp(l)))}getNamedSvgIcon(e,t=""){const a=ew(t,e);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const d=this._iconSetConfigs.get(t);return d?this._getSvgFromIconSetConfigs(e,d):(0,Zp._)(QC(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Qe.of)(Jp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ft.U)(t=>Jp(t)))}_getSvgFromIconSetConfigs(e,t){const a=this._extractIconWithNameFromAnySet(e,t);return a?(0,Qe.of)(a):_p(t.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe((0,Yn.K)(s=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,d.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),(0,Qe.of)(null)})))).pipe((0,ft.U)(()=>{const d=this._extractIconWithNameFromAnySet(e,t);if(!d)throw QC(e);return d}))}_extractIconWithNameFromAnySet(e,t){for(let a=t.length-1;a>=0;a--){const l=t[a];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const d=this._svgElementFromConfig(l),s=this._extractSvgIconFromSet(d,e,l.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,O.b)(t=>e.svgText=t),(0,ft.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Qe.of)(null):this._fetchIcon(e).pipe((0,O.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,a){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const d=l.cloneNode(!0);if(d.removeAttribute("id"),"svg"===d.nodeName.toLowerCase())return this._setSvgAttributes(d,a);if("symbol"===d.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(d),a);const s=this._svgElementFromString(Yo(""));return s.appendChild(d),this._setSvgAttributes(s,a)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const a=t.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(e){const t=this._svgElementFromString(Yo("")),a=e.attributes;for(let l=0;lYo(u)),G(()=>this._inProgressUrlFetches.delete(s)),(0,qg.B)());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,t,a){return this._svgIconConfigs.set(ew(e,t),a),this}_addSvgIconSetConfig(e,t){const a=this._iconSetConfigs.get(e);return a?a.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 a=0;ao?o.pathname+o.search:""}}}),px=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],fS=px.map(n=>`[${n}]`).join(", "),mS=/^url\(['"]?#(.*?)['"]?\)$/;let Yi=(()=>{class n extends ux{constructor(e,t,a,l,d){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=d,this._inline=!1,this._currentIconFetch=Rt.w0.EMPTY,a||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=We(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const a=e.childNodes[t];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((a,l)=>{a.forEach(d=>{l.setAttribute(d.name,`url('${e}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(fS),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const s=t[l],r=s.getAttribute(d),c=r?r.match(mS):null;if(c){let u=a.get(s);u||(u=[],a.set(s,u)),u.push({name:d,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,a]=this._splitIconName(e);t&&(this._svgNamespace=t),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,t).pipe((0,Yt.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${a}! ${l.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Xl),i.$8M("aria-hidden"),i.Y36(hx),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:$p,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-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})(),zo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();function Is(n){return!!n&&(n instanceof Bi.y||(0,mi.m)(n.lift)&&(0,mi.m)(n.subscribe))}var gS=x(6063);class _S extends Pe.x{constructor(o=1/0,e=1/0,t=gS.l){super(),this._bufferSize=o,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,o),this._windowTime=Math.max(1,e)}next(o){const{isStopped:e,_buffer:t,_infiniteTimeWindow:a,_timestampProvider:l,_windowTime:d}=this;e||(t.push(o),!a&&t.push(l.now()+d)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(o),{_infiniteTimeWindow:t,_buffer:a}=this,l=a.slice();for(let d=0;dnew _S(t,o,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}class p{}let m=(()=>{class n extends p{getTranslation(e){return(0,Qe.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 _=(()=>{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 y(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let a,l,d,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(l in d=Object.create(null),n){if(!y(n[l],o[l]))return!1;d[l]=!0}for(l in o)if(!(l in d)&&void 0!==o[l])return!1;return!0}if(!Array.isArray(o))return!1;if((a=n.length)==o.length){for(l=0;l{D(o[t])?t in n?e[t]=k(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class R{}let N=(()=>{class n extends R{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let a;return a="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,a}getValue(e,t){let a="string"==typeof t?t.split("."):[t];t="";do{t+=a.shift(),!w(e)||!w(e[t])||"object"!=typeof e[t]&&a.length?a.length?t+=".":e=void 0:(e=e[t],t="")}while(a.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(a,l)=>{let d=this.getValue(t,l);return w(d)?d:a}):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 q{}let X=(()=>{class n extends q{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 re{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 ue=new i.OlP("USE_STORE"),Ce=new i.OlP("USE_DEFAULT_LANG"),Fe=new i.OlP("DEFAULT_LANGUAGE"),Ze=new i.OlP("USE_EXTEND");let Ye=(()=>{class n{constructor(e,t,a,l,d,s=!0,r=!1,c=!1,u){this.store=e,this.currentLoader=t,this.compiler=a,this.parser=l,this.missingTranslationHandler=d,this.useDefaultLang=s,this.isolate=r,this.extend=c,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}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,Yt.q)(1)).subscribe(a=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Qe.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Yt.q)(1)).subscribe(a=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Qe.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(fx(1),(0,Yt.q)(1));return this.loadingTranslations=t.pipe((0,ft.U)(a=>this.compiler.compileTranslations(a,e)),fx(1),(0,Yt.q)(1)),this.loadingTranslations.subscribe({next:a=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},a),this.translations[e]):a,this.updateLangs(),this.pending=!1},error:a=>{this.pending=!1}}),t}setTranslation(e,t,a=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(a||this.extend)&&this.translations[e]?k(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,a){let l;if(t instanceof Array){let d={},s=!1;for(let r of t)d[r]=this.getParsedResult(e,r,a),Is(d[r])&&(s=!0);return s?_p(t.map(c=>Is(d[c])?d[c]:(0,Qe.of)(d[c]))).pipe((0,ft.U)(c=>{let u={};return c.forEach((h,f)=>{u[t[f]]=h}),u})):d}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),a)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),a)),void 0===l){let d={key:t,translateService:this};void 0!==a&&(d.interpolateParams=a),l=this.missingTranslationHandler.handle(d)}return void 0!==l?l:t}get(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Hr.b)(a=>Is(a=this.getParsedResult(a,e,t))?a:(0,Qe.of)(a)));{let a=this.getParsedResult(this.translations[this.currentLang],e,t);return Is(a)?a:(0,Qe.of)(a)}}getStreamOnTranslationChange(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return(0,us.z)(ps(()=>this.get(e,t)),this.onTranslationChange.pipe((0,qi.w)(a=>{const l=this.getParsedResult(a.translations,e,t);return"function"==typeof l.subscribe?l:(0,Qe.of)(l)})))}stream(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return(0,us.z)(ps(()=>this.get(e,t)),this.onLangChange.pipe((0,qi.w)(a=>{const l=this.getParsedResult(a.translations,e,t);return Is(l)?l:(0,Qe.of)(l)})))}instant(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');let a=this.getParsedResult(this.translations[this.currentLang],e,t);if(Is(a)){if(e instanceof Array){let l={};return e.forEach((d,s)=>{l[e[s]]=e[s]}),l}return e}return a}set(e,t,a=this.currentLang){this.translations[a][e]=this.compiler.compile(t,a),this.updateLangs(),this.onTranslationChange.emit({lang:a,translations:this.translations[a]})}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(re),i.LFG(p),i.LFG(q),i.LFG(R),i.LFG(g),i.LFG(Ce),i.LFG(ue),i.LFG(Ze),i.LFG(Fe))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,a){let l=d=>{this.value=void 0!==d?d:e,this.lastKey=e,this._ref.markForCheck()};if(a){let d=this.translate.getParsedResult(a,e,t);Is(d.subscribe)?d.subscribe(l):l(d)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(y(e,this.lastKey)&&y(t,this.lastParams))return this.value;let a;if(w(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{a=JSON.parse(l)}catch(d){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(a=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,a),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,a,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,a,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,a))})),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(Ye,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})(),Ot=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:p,useClass:m},e.compiler||{provide:q,useClass:X},e.parser||{provide:R,useClass:N},e.missingTranslationHandler||{provide:g,useClass:_},re,{provide:ue,useValue:e.isolate},{provide:Ce,useValue:e.useDefaultLang},{provide:Ze,useValue:e.extend},{provide:Fe,useValue:e.defaultLanguage},Ye]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:p,useClass:m},e.compiler||{provide:q,useClass:X},e.parser||{provide:R,useClass:N},e.missingTranslationHandler||{provide:g,useClass:_},{provide:ue,useValue:e.isolate},{provide:Ce,useValue:e.useDefaultLang},{provide:Ze,useValue:e.extend},{provide:Fe,useValue:e.defaultLanguage},Ye]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ii=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[Up,Wp,zo,Ca,Ot,T.ez]]}),n})();var Ar=x(655);function ec(n,o){}class wd{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Wg={dialogContainer:Zt("dialogContainer",[Tt("void, exit",Le({opacity:0,transform:"scale(0.7)"})),Tt("enter",Le({transform:"none"})),mt("* => enter",nu([_t("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),rr("@*",ru(),{optional:!0})])),mt("* => void, * => exit",nu([_t("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),rr("@*",ru(),{optional:!0})]))])};let Zg=(()=>{class n extends Km{constructor(e,t,a,l,d,s,r,c){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=a,this._config=d,this._interactivityChecker=s,this._ngZone=r,this._focusMonitor=c,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(u)),this._ariaLabelledBy=d.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Bc())}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(()=>{const a=()=>{e.removeEventListener("blur",a),e.removeEventListener("mousedown",a),e.removeAttribute("tabindex")};e.addEventListener("blur",a),e.addEventListener("mousedown",a)})),e.focus(t)}_focusByCssSelector(e,t){let a=this._elementRef.nativeElement.querySelector(e);a&&this._forceFocus(a,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=Bc(),a=this._elementRef.nativeElement;(!t||t===this._document.body||t===a||a.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Bc();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Z_),i.Y36(i.sBO),i.Y36(T.K0,8),i.Y36(wd),i.Y36(iu),i.Y36(i.R0b),i.Y36(Pn))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(ts,7),2&e){let a;i.iGM(a=i.CRH())&&(t._portalOutlet=a.first)}},features:[i.qOj]}),n})(),$g=(()=>{class n extends Zg{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}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(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),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,ec,0,0,"ng-template",0)},directives:[ts],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:[Wg.dialogContainer]}}),n})(),Jg=0;class gn{constructor(o,e,t="mat-dialog-"+Jg++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Pe.x,this._afterClosed=new Pe.x,this._beforeClosed=new Pe.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Gt.h)(a=>"opened"===a.state),(0,Yt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Gt.h)(a=>"closed"===a.state),(0,Yt.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,Gt.h)(a=>27===a.keyCode&&!this.disableClose&&!on(a))).subscribe(a=>{a.preventDefault(),Qp(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Qp(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Gt.h)(e=>"closing"===e.state),(0,Yt.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 Qp(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const vr=new i.OlP("MatDialogData"),tH=new i.OlP("mat-dialog-default-options"),bS=new i.OlP("mat-dialog-scroll-strategy"),nH={provide:bS,deps:[Cr],useFactory:function iH(n){return()=>n.scrollStrategies.block()}};let rH=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h){this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=d,this._dialogRefConstructor=r,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Pe.x,this._afterOpenedAtThisLevel=new Pe.x,this._ariaHiddenElements=new Map,this.afterAllClosed=ps(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Jt(void 0))),this._scrollStrategy=s}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){t=function aH(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new wd),t.id&&this.getDialogById(t.id);const a=this._createOverlay(t),l=this._attachDialogContainer(a,t),d=this._attachDialogContent(e,l,a,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(d),d.afterClosed().subscribe(()=>this._removeOpenDialog(d)),this.afterOpened.next(d),l._initializeWithAttachedContent(),d}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new up({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 l=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:wd,useValue:t}]}),d=new sd(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,t,a,l){const d=new this._dialogRefConstructor(a,t,l.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Lo(e,null,{$implicit:l.data,dialogRef:d}));else{const s=this._createInjector(l,d,t),r=t.attachComponentPortal(new sd(e,l.viewContainerRef,s,l.componentFactoryResolver));d.componentInstance=r.instance}return d.updateSize(l.width,l.height).updatePosition(l.position),d}_createInjector(e,t,a){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,d=[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(Mi,null,i.XFs.Optional))&&d.push({provide:Mi,useValue:{value:e.direction,change:(0,Qe.of)()}}),i.zs3.create({parent:l||this._injector,providers:d})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,l)=>{a?l.setAttribute("aria-hidden",a):l.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 a=t.length-1;a>-1;a--){let l=t[a];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.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})(),wn=(()=>{class n extends rH{constructor(e,t,a,l,d,s,r,c){super(e,t,l,s,r,d,gn,$g,vr,c)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Cr),i.LFG(i.zs3),i.LFG(T.Ye,8),i.LFG(tH,8),i.LFG(bS),i.LFG(n,12),i.LFG(tg),i.LFG(yi,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),sH=0,Ma=(()=>{class n{constructor(e,t,a){this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-"+sH++}ngOnInit(){this._dialogRef||(this._dialogRef=function oH(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(gn,8),i.Y36(i.SBq),i.Y36(wn))},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})(),Sa=(()=>{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})(),Ea=(()=>{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})(),iw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[wn,nH],imports:[[Au,jl,ot],ot]}),n})();var lH=x(4327);const zu=[5,10,25,100];function yS(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 Jn(){const n=new wd;return n.disableClose=!0,n.autoFocus=!1,n}const bH=new Intl.Collator("cs",{numeric:!0});function Kp(n,o,e){const t=o.active,a=o.direction;return t&&""!==a?n.sort((l,d)=>{const s=e(l,t),r=e(d,t);return bH.compare(s,r)*("asc"===a?1:-1)}):n}function Qg(n,o,e,t,a){o=o.toLowerCase();let l="";return e.forEach(d=>{l+=";"+t(n,d)}),a&&(l+=";"+t(n,"uuid")),l.toLowerCase().includes(o)}function Xp(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function ef(n,o,e){const t=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(l=>!a.includes(l)),n.forEach(l=>{const d={};o.forEach(s=>{var r;d[s]=(null!==(r=e(l,s))&&void 0!==r?r:"").split('"').join("''").trim()}),t.push(d)}),t}function tf(n,o="csv",e="export"){if("csv"===o){const t=(r,c)=>null===c?"":c,a=Object.keys(n[0]),l=n.map(r=>a.map(c=>JSON.stringify(r[c],t)).join(","));l.unshift(a.join(",").split(" ").join("_").split('"').join("''"));const d=l.join("\r\n"),s=new Blob([d],{type:"text/csv"});(0,lH.saveAs)(s,`${e}.${o}`)}}const wS="GUI_CONFIG.PREF_PAGE_SIZE.";let wH=(()=>{class n{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})(),AH=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(wS+e);if(!isNaN(t))return t;const a=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(a)?10:a}setTablePageSize(e,t){this.guiConfigService.setNumber(wS+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wH))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MH=(()=>{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 a=i.MAs(5),l=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",a),i.xp6(5),i.Q6J("matMenuTriggerFor",l),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[zt,Ug,Yi,Yg,No],pipes:[Ie],styles:[""]}),n})();function SH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(a){return i.CHM(e),i.oxw().exportData.emit(a)}),i.qZA()}}function EH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(a){return i.CHM(e),i.oxw().exportData.emit(a)}),i.qZA()}}const DH=["*"];let rs=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=zu,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}set matPaginator(e){this.paginator=e}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}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(AH))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(UC,7),2&e){let a;i.iGM(a=i.CRH())&&(t.matPaginator=a.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:DH,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(l){return t.pageChangedTop(l)}),i.qZA(),i.YNc(3,SH,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(l){return t.pageChangedBottom(l)}),i.qZA(),i.YNc(8,EH,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:[UC,T.O5,MH],styles:[""]}),n})(),Qn=(()=>{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,a;const l=[null===(a=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===a?void 0:a[this.branding],this.instanceConfig,this.defaultConfig];let d=null;for(const s of l)s&&!d&&(d=s[e]);return d}get(...e){let t;if(""!==this.branding){const a=this.instanceConfig.brandings[this.branding];for(let l=0;l{class n{constructor(e,t,a,l,d){this.injector=e,this.store=t,this.dialog=a,this.route=l,this.oauthService=d,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Hi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(s=>{s.idpFilter&&(this.filterShortname=String(s.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),d=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(d.prompt="consent"),sessionStorage.getItem("mfa_route")&&(d.acr_values="https://refeds.org/profile/mfa",d.prompt="login",d.max_age="0"),"Linker"===this.store.getProperty("application")){d.prompt="login";const s=function yH(n,o){const e=o.split("&");for(const t of e){const[a,l]=t.split("=");if(a.includes(n))return l}return""}("idphint",location.search.substring(1));s&&(d.idphint=s)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:d}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let a=null;return e.forEach(l=>{const d=l.split("=");"idpFilter"===d[0]&&t[d[1]]&&(this.filterShortname=d[1],a=t[d[1]])}),t.default&&!a?(this.filterShortname="default",t.default):a}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(a=>a?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Gt.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 a=sessionStorage.getItem("auth:queryParams");let l=[];a&&(l=a.split("&"));const d={};return l.forEach(s=>{const r=s.split("=");d[r[0]]=r[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),d.idpFilter&&(this.filterShortname=String(d.idpFilter)),this.router.navigate([t],{queryParams:d,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Gt.h)(e=>e instanceof _e)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const a of t)if(e.startsWith(a))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(a=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!a||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,d)=>d("Invalid path"))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Qn),i.LFG(wn),i.LFG(fn),i.LFG(_x.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),HH=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn))},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:[Sa],pipes:[Ie],styles:[""]}),n})(),bx=(()=>{class n{constructor(e,t,a,l,d,s){this.authService=e,this.storeService=t,this.authResolver=a,this.authzService=l,this.dialog=d,this.router=s,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Jn();this.dialog.open(HH,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const a of e){const l=a.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kg),i.LFG(Qn),i.LFG(ra),i.LFG(Oi),i.LFG(wn),i.LFG(Hi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vS=(()=>{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}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(Xl),i.LFG(Vn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),kH=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn))},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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})(),PH=(()=>{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})(),In=(()=>{class n{constructor(e){this.translate=e,this.addNotification=new i.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,a,l,d){this.addNotification.emit({type:"error",error:t,description:a,title:e,actionText:void 0===l&&void 0!==a?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:d,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,a,l){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===a&&void 0!==t?this.getDefaultActionMessage():a,delay:this.defaultSuccessDelayMs,icon:"done",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TS=(()=>{class n{constructor(e,t,a,l,d,s){this.authService=e,this.apiRequestConfiguration=t,this.notificator=a,this.store=l,this.dialog=d,this.initAuthService=s}intercept(e,t){const a=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==a&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const s=Jn();s.width="450px",this.dialogRefSessionExpiration=this.dialog.open(kH,s),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{G(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),d="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,O.b)(s=>{s instanceof C.Zn&&d&&this.initAuthService.loadPrincipal()},s=>{const r=this.formatErrors(s,e);return void 0===r?(0,Zp._)(s):l?void this.notificator.showRPCError(r):(0,Zp._)(r)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let a;console.error(e);const l=e.error;if(l.errorId&&(a=l),void 0!==a)return a.urlWithParams=t.urlWithParams,a.call=t.url,a.payload=t.body,a}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kg),i.LFG(PH),i.LFG(In),i.LFG(Qn),i.LFG(wn),i.LFG(bx))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),xS=(()=>{class n{constructor(){this.newNotificationsCount=0,this.notificationData=[]}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})(),RH=(()=>{class n{constructor(e,t,a,l){this.http=e,this.notificator=t,this.authService=a,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const a=`${this.getApiUrl()}${e}`;return this.http.get(a,{headers:this.getHeaders()}).pipe((0,Yn.K)(l=>this.formatErrors(l,a,null,t)))}put(e,t={},a=!0){const l=`${this.getApiUrl()}${e}`,d=JSON.stringify(t);return this.http.put(l,d,{headers:this.getHeaders()}).pipe((0,Yn.K)(s=>this.formatErrors(s,l,d,a)))}post(e,t={},a=!0){const l=`${this.getApiUrl()}${e}`,d=JSON.stringify(t);let s=this.getHeaders();return s=s.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,d,{headers:s}).pipe((0,Yn.K)(r=>this.formatErrors(r,l,d,a)))}delete(e,t=!0){const a=`${this.getApiUrl()}${e}`;return this.http.delete(a,{headers:this.getHeaders()}).pipe((0,Yn.K)(l=>this.formatErrors(l,a,null,t)))}formatErrors(e,t,a,l){const d=e.error;return d.call=t,d.payload=a,l&&this.notificator.showRPCError(e.error),(0,Zp._)(d)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(In),i.LFG(Kg),i.LFG(Qn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nw=(()=>{class n{isAllSelectedWithDisabledCheckbox(e,t,a,l,d,s,r,c){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=d*a,this.pageEnd=this.pageStart+a,this.pageIterator=0,this.dataLength=""===t?s.data.length:s.filteredData.length,l||(this.modulo=this.dataLength%a,this.pageEnd=0===this.modulo?this.pageStart+a:this.pageStart+this.modulo),s.sortData(s.filteredData,r).forEach(u=>{this.pageStart<=this.pageIterator&&this.pageIterator{c?u(h)&&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"),a=navigator.languages.map(s=>s.split("-")[0]),l=location.search.substring(1).split("&");let d=null;for(const s of l){const r=s.split("=");"lang"===r[0]&&(d=r[1])}return d&&t.includes(d)?d:e&&t.includes(e)?e:a&&t.includes(a[0])?a[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fn),i.LFG(Qn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();Zt("openClose",[Tt("open",Le({overflow:"hidden"})),Tt("closed",Le({height:"0px",overflow:"hidden"})),mt("open <=> closed",[_t(".3s ease-in")])]);const IH=Zt("flyInOut",[mt(":enter",[Le({transform:"translateX(100%)"}),_t(".25s")]),mt(":leave",[_t(".5s",Le({transform:"translateX(100%)"}))])]);Zt("rollInOut",[mt(":enter",[Le({height:"0px"}),_t(".25s")]),mt(":leave",[_t(".25s",Le({height:"0px"}))])]),Zt("routeAnimations",[mt("* => *",[Le({position:"relative"}),rr(":enter",[Le({width:"100%",opacity:0})],{optional:!0}),rr(":leave",[Le({position:"absolute",width:"100%",opacity:1}),_t("0.15s",Le({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),rr(":enter",[Le({position:"absolute",width:"100%",opacity:0}),_t("0.15s",Le({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Zt("tagsOpenClose",[Tt("open",Le({})),Tt("closed",Le({width:"0px",height:"0px"})),mt("open <=> closed",[_t(".3s ease-in")])]),Zt("switchAnimations",[mt("true => false",[rr(":enter, :leave",Le({})),nu([rr(":enter",[Le({transform:"translateX(-100%)"}),_t("1s ease-in-out",Le({transform:"translateX(0%)"}))],{optional:!0}),rr(":leave",[Le({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Le({transform:"translateX(100%)"}))],{optional:!0})])]),mt("false => true",[rr(":enter, :leave",Le({})),nu([rr(":enter",[Le({transform:"translateX(100%)"}),_t("1s ease-in-out",Le({transform:"translateX(0%)"}))],{optional:!0}),rr(":leave",[Le({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Le({transform:"translateX(-100%)"}))],{optional:!0})])])]),Zt("slideInOutLeft",[mt(":enter",[Le({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Le({transform:"translateX(0%)"}))]),mt(":leave",[_t("0.5s ease-in",Le({transform:"translateX(-100%)"}))])]),Zt("slideInOutRight",[mt(":enter",[Le({transform:"translateX(100%)",position:"fixed"}),_t("0.5s ease-in",Le({transform:"translateX(0%)"}))]),mt(":leave",[Le({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Le({transform:"translateX(100%)"}))])]);let MS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez]]}),n})();function YH(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 zH(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 qH=ya(class{constructor(n){this._elementRef=n}},"primary"),GH=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function WH(){return{diameter:100}}});class _i extends qH{constructor(o,e,t,a,l,d,s,r){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Rt.w0.EMPTY,this.mode="determinate";const c=_i._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),c.has(t.head)||c.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===a&&!!l&&!l._forceAnimations,"mat-spinner"===o.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&s&&d&&r&&(this._resizeSubscription=s.change(150).subscribe(()=>{"indeterminate"===this.mode&&r.run(()=>d.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Fi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Fi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Fi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Ah(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=_i._diameters;let a=t.get(o);if(!a||!a.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),o.appendChild(l),a||(a=new Set,t.set(o,a)),a.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(".","_")}}_i._diameters=new WeakMap,_i.\u0275fac=function(o){return new(o||_i)(i.Y36(i.SBq),i.Y36(gi),i.Y36(T.K0,8),i.Y36(yi,8),i.Y36(GH),i.Y36(i.sBO),i.Y36(va),i.Y36(i.R0b))},_i.\u0275cmp=i.Xpm({type:_i,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-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,YH,1,11,"circle",2),i.YNc(3,zH,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:[T.RF,T.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 rw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot,T.ez],ot]}),n})();const SS=Vr({passive:!0});let $H=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return rn.E;const t=Zi(e),a=this._monitoredElements.get(t);if(a)return a.subject;const l=new Pe.x,d="cdk-text-field-autofilled",s=r=>{"cdk-text-field-autofill-start"!==r.animationName||t.classList.contains(d)?"cdk-text-field-autofill-end"===r.animationName&&t.classList.contains(d)&&(t.classList.remove(d),this._ngZone.run(()=>l.next({target:r.target,isAutofilled:!1}))):(t.classList.add(d),this._ngZone.run(()=>l.next({target:r.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,SS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:l,unlisten:()=>{t.removeEventListener("animationstart",s,SS)}}),l}stopMonitoring(e){const t=Zi(e),a=this._monitoredElements.get(t);a&&(a.unlisten(),a.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(gi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ES=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const DS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),JH=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let QH=0;const KH=Bm(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let as=(()=>{class n extends KH{constructor(e,t,a,l,d,s,r,c,u,h){super(s,l,d,a),this._elementRef=e,this._platform=t,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+QH++,this.focused=!1,this.stateChanges=new Pe.x,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(j=>Uw().has(j)),this._iOSKeyupListener=j=>{const ee=j.target;!ee.value&&0===ee.selectionStart&&0===ee.selectionEnd&&(ee.setSelectionRange(1,1),ee.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=r||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=f.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=We(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,a,l;return null!==(l=null!==(e=this._required)&&void 0!==e?e:null===(a=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===a?void 0:a.hasValidator(Ni.required))&&void 0!==l&&l}set required(e){this._required=We(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Uw().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=We(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 a=(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(a!==this._previousPlaceholder){const l=this._elementRef.nativeElement;this._previousPlaceholder=a,a?l.setAttribute("placeholder",a):l.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){JH.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(gi),i.Y36(Zr,10),i.Y36(Vo,8),i.Y36($i,8),i.Y36(Wr),i.Y36(DS,10),i.Y36($H),i.Y36(i.R0b),i.Y36(mp,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:pp,useExisting:n}]),i.qOj,i.TTD]}),n})(),aw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wr],imports:[[ES,Yl,ot],ES,Yl]}),n})();function XH(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function e1(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 t1(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 n1(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(a){return i.CHM(e),i.oxw().subject=a}),i.qZA(),i.YNc(7,e1,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(a){return i.CHM(e),i.oxw().message=a}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,t1,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),a=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",a.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",a.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let r1=(()=>{class n{constructor(e,t,a,l,d,s){this.dialogRef=e,this.translate=t,this.notificator=a,this.rtMessages=l,this.data=d,this.storeService=s,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var e,t;(null===(t=null===(e=this.data)||void 0===e?void 0:e.error)||void 0===t?void 0:t.errorId)&&(this.subject="".concat(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(()=>{const t="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),e.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(t)}),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,"\n","Perun instance: ",e,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const a=/"password":".+?"/;let l=JSON.stringify(this.data.error.payload);l=l.replace(a,'"password":"####"'),t=t.concat("Payload:\n"+l+"\n\n")}return t=t.concat("Sent from new Perun Gui, version: ",x(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(gn),i.Y36(Ye),i.Y36(In),i.Y36(tn),i.Y36(vr),i.Y36(Qn))},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,XH,1,0,"mat-spinner",1),i.YNc(4,n1,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:[Ma,T.O5,_i,Sa,Wn,is,as,Ln,ns,sr,fd,Io,Ea,zt],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),a1=(()=>{class n{constructor(e,t,a){this.dialogRef=e,this.dialog=t,this.data=a}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Jn();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(r1,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(wn),i.Y36(vr))},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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})();const d1=[[["caption"]],[["colgroup"],["col"]]],u1=["caption","colgroup, col"];function Cx(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=We(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const nf=new i.OlP("CDK_TABLE");let rf=(()=>{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})(),af=(()=>{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})(),sw=(()=>{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 m1{}const g1=Cx(m1);let tc=(()=>{class n extends g1{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=We(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(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,rf,5),i.Suo(a,af,5),i.Suo(a,sw,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.cell=l.first),i.iGM(l=i.CRH())&&(t.headerCell=l.first),i.iGM(l=i.CRH())&&(t.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class wx{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Ax=(()=>{class n extends wx{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tc),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})(),vx=(()=>{class n extends wx{constructor(e,t){var a;if(super(e,t),1===(null===(a=e._table)||void 0===a?void 0:a._elementRef.nativeElement.nodeType)){const l=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tc),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 kS{constructor(){this.tasks=[],this.endTasks=[]}}const Tx=new i.OlP("_COALESCED_STYLE_SCHEDULER");let PS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Pe.x}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 kS,this._getScheduleObservable().pipe(nt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new kS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,xn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Yt.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})(),xx=(()=>{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 Xg?e.headerCell.template:this instanceof e_?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 _1 extends xx{}const b1=Cx(_1);let Xg=(()=>{class n extends b1{constructor(e,t,a){super(e,t),this._table=a}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class y1 extends xx{}const C1=Cx(y1);let e_=(()=>{class n extends C1{constructor(e,t,a){super(e,t),this._table=a}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),ow=(()=>{class n extends xx{constructor(e,t,a){super(e,t),this._table=a}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),ic=(()=>{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})(),Mx=(()=>{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:[ic],encapsulation:2}),n})(),Ex=(()=>{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:[ic],encapsulation:2}),n})(),lw=(()=>{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 RS=["top","bottom","left","right"];class w1{constructor(o,e,t,a,l=!0,d=!0,s){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=a,this._isBrowser=l,this._needsPositionStickyOnElement=d,this._positionListener=s,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 a of o)if(a.nodeType===a.ELEMENT_NODE){t.push(a);for(let l=0;l{for(const a of t)this._removeStickyStyle(a,e)})}updateStickyColumns(o,e,t,a=!0){if(!o.length||!this._isBrowser||!e.some(f=>f)&&!t.some(f=>f))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=o[0],d=l.children.length,s=this._getCellWidths(l,a),r=this._getStickyStartColumnPositions(s,e),c=this._getStickyEndColumnPositions(s,t),u=e.lastIndexOf(!0),h=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const f="rtl"===this.direction,b=f?"right":"left",j=f?"left":"right";for(const ee of o)for(let pe=0;pee[pe]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:s.slice(h).map((ee,pe)=>t[pe+h]?ee:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const a="bottom"===t?o.slice().reverse():o,l="bottom"===t?e.slice().reverse():e,d=[],s=[],r=[];for(let u=0,h=0;u{var u,h;for(let f=0;f{e.some(a=>!a)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const a of e)o.style[a]="",o.classList.remove(this._borderCellCss[a]);RS.some(a=>-1===e.indexOf(a)&&o.style[a])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,a){o.classList.add(this._stickCellCss),a&&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 a of RS)o.style[a]&&(t+=e[a]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],a=o.children;for(let l=0;l0;l--)e[l]&&(t[l]=a,a+=o[l]);return t}}const Dx=new i.OlP("CDK_SPL");let cw=(()=>{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})(),dw=(()=>{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})(),uw=(()=>{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})(),hw=(()=>{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})(),pw=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=d,this._platform=r,this._viewRepeater=c,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=b,this._onDestroy=new Pe.x,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 Ki({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,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=We(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=We(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(nt(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(),gp(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,(a,l,d)=>this._getEmbeddedViewArgs(a.item,d),a=>a.item.data,a=>{1===a.operation&&a.context&&this._renderCellTemplateForItem(a.record.item.rowDef,a.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(a=>{t.get(a.currentIndex).context.$implicit=a.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Yt.q)(1),nt(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),a=this._elementRef.nativeElement.querySelector("thead");a&&(a.style.display=e.length?"":"none");const l=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,l,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),a=this._elementRef.nativeElement.querySelector("tfoot");a&&(a.style.display=e.length?"":"none");const l=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),a=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...a],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((l,d)=>{this._addStickyColumnStyles([l],this._headerRowDefs[d])}),this._rowDefs.forEach(l=>{const d=[];for(let s=0;s{this._addStickyColumnStyles([l],this._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let a=0;a{const s=a&&a.has(d)?a.get(d):[];if(s.length){const r=s.shift();return r.dataIndex=t,r}return{data:e,rowDef:d,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),fw(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=fw(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=fw(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=fw(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(d,s)=>d||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const a=this._headerRowDefs.reduce(e,!1);a&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(e,!1);return l&&this._forceRenderFooterRows(),t||a||l}_switchDataSource(e){this._data=[],gp(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;gp(this.dataSource)?e=this.dataSource.connect(this):Is(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Qe.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(nt(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 a=Array.from(t.columns||[]).map(s=>this._columnDefsByName.get(s)),l=a.map(s=>s.sticky),d=a.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,l,d,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let a=0;a!l.when||l.when(t,e));else{let l=this._rowDefs.find(d=>d.when&&d.when(t,e))||this._defaultRowDef;l&&a.push(l)}return a}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,a,l={}){const d=e.viewContainer.createEmbeddedView(t.template,l,a);return this._renderCellTemplateForItem(t,l),d}_renderCellTemplateForItem(e,t){for(let a of this._getCellTemplates(e))ic.mostRecentCellOutlet&&ic.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,a=e.length;t{const a=this._columnDefsByName.get(t);return e.extractCellTemplate(a)}):[]}_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 a of t){const l=this._document.createElement(a.tag);l.setAttribute("role","rowgroup");for(const d of a.outlets)l.appendChild(d.elementRef.nativeElement);e.appendChild(l)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,a)=>t||a.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 w1(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,Qe.of)()).pipe(nt(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 a=this._noDataRowOutlet.viewContainer;if(t){const l=a.createEmbeddedView(e.templateRef),d=l.rootNodes[0];1===l.rootNodes.length&&(null==d?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(e._contentClassName))}else a.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(Mi,8),i.Y36(T.K0),i.Y36(gi),i.Y36(Mu),i.Y36(Tx),i.Y36(va),i.Y36(Dx,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,lw,5),i.Suo(a,tc,5),i.Suo(a,ow,5),i.Suo(a,Xg,5),i.Suo(a,e_,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._noDataRow=l.first),i.iGM(l=i.CRH())&&(t._contentColumnDefs=l),i.iGM(l=i.CRH())&&(t._contentRowDefs=l),i.iGM(l=i.CRH())&&(t._contentHeaderRowDefs=l),i.iGM(l=i.CRH())&&(t._contentFooterRowDefs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(cw,7),i.Gf(dw,7),i.Gf(uw,7),i.Gf(hw,7)),2&e){let a;i.iGM(a=i.CRH())&&(t._rowOutlet=a.first),i.iGM(a=i.CRH())&&(t._headerRowOutlet=a.first),i.iGM(a=i.CRH())&&(t._footerRowOutlet=a.first),i.iGM(a=i.CRH())&&(t._noDataRowOutlet=a.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:nf,useExisting:n},{provide:Mu,useClass:Fy},{provide:Tx,useClass:PS},{provide:Dx,useValue:null}])],ngContentSelectors:u1,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(d1),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[dw,cw,hw,uw],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function fw(n,o){return n.concat(Array.from(o))}let v1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ad]]}),n})();const T1=[[["caption"]],[["colgroup"],["col"]]],x1=["caption","colgroup, col"];let Uo=(()=>{class n extends pw{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:Mu,useClass:Fy},{provide:pw,useExisting:n},{provide:nf,useExisting:n},{provide:Tx,useClass:PS},{provide:Dx,useValue:null}]),i.qOj],ngContentSelectors:x1,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(T1),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[dw,cw,hw,uw],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Os=(()=>{class n extends rf{}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:rf,useExisting:n}]),i.qOj]}),n})(),Bs=(()=>{class n extends af{}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:af,useExisting:n}]),i.qOj]}),n})(),Vs=(()=>{class n extends tc{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:tc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),js=(()=>{class n extends Ax{}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})(),Fs=(()=>{class n extends vx{}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})(),nc=(()=>{class n extends Xg{}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:Xg,useExisting:n}]),i.qOj]}),n})(),qo=(()=>{class n extends ow{}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:ow,useExisting:n}]),i.qOj]}),n})(),rc=(()=>{class n extends Mx{}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:Mx,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ic],encapsulation:2}),n})(),Go=(()=>{class n extends Ex{}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:Ex,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ic],encapsulation:2}),n})(),mw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[v1,ot],ot]}),n})();class ac extends class O1 extends class Vy{}{constructor(o=[]){super(),this._renderData=new Ki([]),this._filter=new Ki(""),this._internalPageChanges=new Pe.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const a=e[t];if(Kf(a)){const l=Number(a);return l<9007199254740991?l:a}return a},this.sortData=(e,t)=>{const a=t.active,l=t.direction;return a&&""!=l?e.sort((d,s)=>{let r=this.sortingDataAccessor(d,a),c=this.sortingDataAccessor(s,a);const u=typeof r,h=typeof c;u!==h&&("number"===u&&(r+=""),"number"===h&&(c+=""));let f=0;return null!=r&&null!=c?r>c?f=1:r{const a=Object.keys(e).reduce((d,s)=>d+e[s]+"\u25ec","").toLowerCase(),l=t.trim().toLowerCase();return-1!=a.indexOf(l)},this._data=new Ki(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,wi.T)(this._sort.sortChange,this._sort.initialized):(0,Qe.of)(null),t=this._paginator?(0,wi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Qe.of)(null),l=(0,Ws.a)([this._data,this._filter]).pipe((0,ft.U)(([r])=>this._filterData(r))),d=(0,Ws.a)([l,e]).pipe((0,ft.U)(([r])=>this._orderData(r))),s=(0,Ws.a)([d,t]).pipe((0,ft.U)(([r])=>this._pageData(r)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=s.subscribe(r=>this._renderData.next(r))}_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,a=Math.min(e.pageIndex,t);a!==e.pageIndex&&(e.pageIndex=a,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 B1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function V1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function j1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function F1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const N1=["*"];let Ns=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:N1,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,B1,2,0,"mat-icon",1),i.YNc(2,V1,2,0,"mat-icon",1),i.YNc(3,j1,2,0,"mat-icon",1),i.YNc(4,F1,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:[T.O5,Yi],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 Y1(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function z1(n,o){1&n&&(i.TgZ(0,"div",17),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "))}function U1(n,o){1&n&&i._UZ(0,"th",18)}function q1(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)}}function G1(n,o){1&n&&i._UZ(0,"tr",20)}function W1(n,o){1&n&&i._UZ(0,"tr",21)}function Z1(n,o){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",22),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("alert_type","warn"),i.xp6(1),i.hij(" ",i.lcZ(2,2,e.data.alert)," ")}}function $1(n,o){if(1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,z1,3,3,"div",9),i.TgZ(5,"table",10),i.ynx(6,11),i.YNc(7,U1,1,0,"th",12),i.YNc(8,q1,2,1,"td",13),i.BQk(),i.YNc(9,G1,1,0,"tr",14),i.YNc(10,W1,1,0,"tr",15),i.qZA(),i.YNc(11,Z1,3,4,"perun-web-apps-alert",16),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,e.data.description)," "),i.xp6(2),i.Q6J("ngIf",e.data.showAsk),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns),i.xp6(1),i.Q6J("ngIf",e.data.alert)}}function J1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.REMOVE_BUTTON")," ")}}function Q1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",24),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," ")}}let IS=(()=>{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 ac(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(vr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-items-dialog"]],decls:12,vars:13,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","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-weight-bold",4,"ngIf"],["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"],[3,"alert_type",4,"ngIf"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[3,"alert_type"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",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,Y1,1,0,"mat-spinner",1),i.YNc(5,$1,12,8,"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.YNc(10,J1,3,4,"button",5),i.YNc(11,Q1,3,4,"button",6),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("ngIf","remove"===t.data.type),i.xp6(1),i.Q6J("ngIf","confirmation"===t.data.type))},directives:[Ma,T.O5,_i,Sa,Uo,Vs,Bs,js,Os,Fs,nc,rc,qo,Go,Ns,Ea,zt],pipes:[Ie],styles:[""]}),n})(),ok=(()=>{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(gn),i.Y36(vr))},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:[Ma,Ea,zt],pipes:[Ie],styles:[""]}),n})();function pk(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 fk(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 mk=(()=>{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=Jn();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(a1,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function dH(n,o){return(0,Ar.mG)(this,void 0,void 0,function*(){yield function uH(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(wn),i.Y36(xS))},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,pk,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,fk,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:[T.O5,Yi],pipes:[Ie],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 gk(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 l=i.CHM(e).index;return i.oxw().removeNotification(l)}),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 _k=function(n){return{top:n}};let bk=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(a=>{this.processNotification(a)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(xS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,gk,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,_k,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[T.PC,T.sg,mk],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:[IH]}}),n})();const yk=["*",[["mat-toolbar-row"]]],Ck=["*","mat-toolbar-row"],wk=ya(class{constructor(n){this._elementRef=n}});let Ak=(()=>{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})(),vk=(()=>{class n extends wk{constructor(e,t,a){super(e),this._platform=t,this._document=a}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(gi),i.Y36(T.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,Ak,5),2&e){let l;i.iGM(l=i.CRH())&&(t._toolbarRows=l)}},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:Ck,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(yk),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})(),BS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();function Tk(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 xk=function(n){return{background:n}},gw=function(n){return{color:n}};let Mk=(()=>{class n{constructor(e,t,a){this.storeService=e,this.authService=t,this.sanitizer=a,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(Qn),i.Y36(Kg),i.Y36(Vn))},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"],[1,"display-flex"],["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,Tk,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 a=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,xk,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,gw,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,gw,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,gw,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,gw,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:[vk,T.PC,zt,Yi,Ms,nr,T.O5,Ug,Yg,No],pipes:[Ie],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:row}#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})();var VS=x(9718);const _w=["*"],Sk=["content"];function Ek(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 Dk(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const Hk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],kk=["mat-drawer","mat-drawer-content","*"];function Pk(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 Rk(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const Lk=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ik=["mat-sidenav","mat-sidenav-content","*"],jS={transformDrawer:Zt("transform",[Tt("open, open-instant",Le({transform:"none",visibility:"visible"})),Tt("void",Le({"box-shadow":"none",visibility:"hidden"})),mt("void => open-instant",_t("0ms")),mt("void <=> open, open-instant => void",_t("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Bk=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Vk(){return!1}}),Hx=new i.OlP("MAT_DRAWER_CONTAINER");let bw=(()=>{class n extends Vl{constructor(e,t,a,l,d){super(a,l,d),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)(()=>NS)),i.Y36(i.SBq),i.Y36(Ro),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:Vl,useExisting:n}]),i.qOj],ngContentSelectors:_w,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),FS=(()=>{class n{constructor(e,t,a,l,d,s,r,c){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=a,this._platform=l,this._ngZone=d,this._interactivityChecker=s,this._doc=r,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Pe.x,this._animationEnd=new Pe.x,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Gt.h)(u=>u),(0,ft.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Gt.h)(u=>u.fromState!==u.toState&&0===u.toState.indexOf("open")),(0,VS.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Gt.h)(u=>!u),(0,ft.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Gt.h)(u=>u.fromState!==u.toState&&"void"===u.toState),(0,VS.h)(void 0)),this._destroyed=new Pe.x,this.onPositionChanged=new i.vpe,this._modeChanged=new Pe.x,this.openedChange.subscribe(u=>{u?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Qa(this._elementRef.nativeElement,"keydown").pipe((0,Gt.h)(u=>27===u.keyCode&&!this.disableClose&&!on(u)),nt(this._destroyed)).subscribe(u=>this._ngZone.run(()=>{this.close(),u.stopPropagation(),u.preventDefault()}))}),this._animationEnd.pipe(El((u,h)=>u.fromState===h.fromState&&u.toState===h.toState)).subscribe(u=>{const{fromState:h,toState:f}=u;(0===f.indexOf("open")&&"void"===h||"void"===f&&0===h.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=We(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=We(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(We(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{e.removeEventListener("blur",a),e.removeEventListener("mousedown",a),e.removeAttribute("tabindex")};e.addEventListener("blur",a),e.addEventListener("mousedown",a)})),e.focus(t)}_focusByCssSelector(e,t){let a=this._elementRef.nativeElement.querySelector(e);a&&this._forceFocus(a,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 a=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),a}_setOpen(e,t,a){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(a)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Yt.q)(1)).subscribe(d=>l(d?"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,a=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),a.insertBefore(this._anchor,t)),a.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(Z_),i.Y36(Pn),i.Y36(gi),i.Y36(i.R0b),i.Y36(iu),i.Y36(T.K0,8),i.Y36(Hx,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(Sk,5),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(l){return t._animationStarted.next(l)})("@transform.done",function(l){return t._animationEnd.next(l)}),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:_w,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:[Vl],encapsulation:2,data:{animation:[jS.transformDrawer]},changeDetection:0}),n})(),NS=(()=>{class n{constructor(e,t,a,l,d,s=!1,r){this._dir=e,this._element=t,this._ngZone=a,this._changeDetectorRef=l,this._animationMode=r,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new Pe.x,this._doCheckSubject=new Pe.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Pe.x,e&&e.change.pipe(nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),d.change().pipe(nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=We(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:We(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Jt(this._allDrawers),nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Jt(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,Kd.b)(10),nt(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 a=this._left._getWidth();e+=a,t-=a}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const a=this._right._getWidth();t+=a,e-=a}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,Gt.h)(t=>t.fromState!==t.toState),nt(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(nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(nt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Yt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(nt((0,wi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,a="mat-drawer-container-has-open";e?t.add(a):t.remove(a)}_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(Mi,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(va),i.Y36(Bk),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,bw,5),i.Suo(a,FS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(bw,5),2&e){let a;i.iGM(a=i.CRH())&&(t._userContent=a.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:Hx,useExisting:n}])],ngContentSelectors:kk,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(Hk),i.YNc(0,Ek,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Dk,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[bw,T.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[style*="visibility: hidden"]{display:none}.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})(),kx=(()=>{class n extends bw{constructor(e,t,a,l,d){super(e,t,a,l,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>zS)),i.Y36(i.SBq),i.Y36(Ro),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:Vl,useExisting:n}]),i.qOj],ngContentSelectors:_w,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),YS=(()=>{class n extends FS{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=We(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Fi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Fi(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:_w,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:[Vl],encapsulation:2,data:{animation:[jS.transformDrawer]},changeDetection:0}),n})(),zS=(()=>{class n extends NS{}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,a){if(1&e&&(i.Suo(a,kx,5),i.Suo(a,YS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},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:Hx,useExisting:n}]),i.qOj],ngContentSelectors:Ik,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(Lk),i.YNc(0,Pk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Rk,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[kx,T.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[style*="visibility: hidden"]{display:none}.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})(),US=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,es],es,ot]}),n})(),jk=(()=>{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(ra))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Px=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const qS=["*"],Nk=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Yk=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Wk=qn(br(class{})),Zk=br(class{}),$k=new i.OlP("MatList"),GS=new i.OlP("MatNavList");let Jk=(()=>{class n extends Wk{constructor(){super(...arguments),this._stateChanges=new Pe.x}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:GS,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:qS,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),WS=(()=>{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})(),ZS=(()=>{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})(),Qk=(()=>{class n extends Zk{constructor(e,t,a,l){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new Pe.x,this._disabled=!1,this._isInteractiveList=!!(a||l&&"action-list"===l._getListType()),this._list=a||l;const d=this._getHostElement();"button"===d.nodeName.toLowerCase()&&!d.hasAttribute("type")&&d.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(nt(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=We(e)}ngAfterContentInit(){!function Xh(n,o,e="mat"){n.changes.pipe(Jt(n)).subscribe(({length:t})=>{Bl(o,`${e}-2-line`,!1),Bl(o,`${e}-3-line`,!1),Bl(o,`${e}-multi-line`,!1),2===t||3===t?Bl(o,`${e}-${t}-line`,!0):t>3&&Bl(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(GS,8),i.Y36($k,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,WS,5),i.Suo(a,ZS,5),i.Suo(a,jm,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._avatar=l.first),i.iGM(l=i.CRH())&&(t._icon=l.first),i.iGM(l=i.CRH())&&(t._lines=l)}},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:Yk,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(Nk),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:[Gn],encapsulation:2,changeDetection:0}),n})(),JS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,yr,ot,gu,T.ez],ep,ot,gu,Px]}),n})();function nP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function rP(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 aP=function(n){return{color:n}};function sP(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,nP,1,1,"mat-icon",3),i.YNc(2,rP,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,aP,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 oP=(()=>{class n{constructor(e,t,a){this.sideMenuItemService=e,this.storeService=t,this.router=a,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=a.url,a.events.subscribe(l=>{l instanceof _e&&(this.currentUrl=l.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(jk),i.Y36(Qn),i.Y36(Hi))},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,sP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Jk,T.sg,Qk,Gn,T.PC,nr,T.O5,Yi],pipes:[Ie],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 lP(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 cP=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.translate=t,this.notificator=a,this.rtMessages=l,this.storeService=d,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(Ye),i.Y36(In),i.Y36(tn),i.Y36(Qn))},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(l){return t.subject=l}),i.qZA(),i.YNc(10,lP,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(l){return t.message=l}),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 a=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",a.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",a.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Ma,Sa,Wn,is,as,Ln,ns,sr,fd,T.O5,Io,xu,Ea,zt],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),dP=(()=>{class n{transform(e,t,a){return e[`${a}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),uP=(()=>{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})(),hP=(()=>{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 pP(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 fP(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 mP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,pP,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,fP,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 gP=function(n){return{"min-height":n}};function _P(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,mP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,gP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const Ad=function(n){return{color:n}};function bP(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,Ad,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function yP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw(3).openDialog(a.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,Ad,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function CP(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,Ad,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function wP(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,Ad,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function AP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,bP,2,4,"i",17),i.YNc(2,yP,3,8,"span",18),i.YNc(3,CP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,wP,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 vP=function(n){return{height:n}};function TP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,AP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,vP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function xP(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,_P,2,4,"div",9),i.YNc(5,TP,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,Ad,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 MP(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,a=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,Ad,a.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const SP=function(n){return{background:n}};let QS=(()=>{class n{constructor(e,t,a){this.storeService=e,this.translateService=t,this.dialog=a,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Jn();"reportIssue"===e&&(t.width="550px",this.dialog.open(cP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn),i.Y36(Ye),i.Y36(wn))},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,xP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,MP,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,SP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.footerColumns),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,Ad,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,Ad,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[T.PC,T.sg,T.O5],pipes:[dP,uP,hP],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 EP(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 DP(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)}}const HP=function(n){return{color:n}};function kP(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,HP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const PP=function(n,o){return{background:n,color:o}},RP=function(n,o){return{"min-height":n,"background-color":o}};let LP=(()=>{class n{constructor(e,t,a,l){this.storeService=e,this.sanitizer=t,this.preferredLangService=a,this.translateService=l,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(Qn),i.Y36(Vn),i.Y36(LH),i.Y36(Ye))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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,EP,2,1,"div",1),i.YNc(2,DP,3,1,"div",2),i.YNc(3,kP,2,4,"p",3),i.qZA(),i.TgZ(4,"div",4),i.TgZ(5,"div",5),i.TgZ(6,"div",6),i._UZ(7,"router-outlet"),i.qZA(),i.TgZ(8,"div",7),i._UZ(9,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(5,PP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(8,RP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[T.PC,T.O5,Yi,pl,QS],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),n})();const IP=["footer"],KS=function(n){return{background:n}},OP=function(n){return{"min-height":n}};function BP(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,KS,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,KS,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,OP,t.contentHeight))}}function VP(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 jP=(()=>{class n{constructor(e,t,a,l,d){this.store=e,this.initAuth=t,this.changeDetector=a,this.authResolver=l,this.router=d,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)"}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}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"])}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+String(e)+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){var e,t,a,l;const d=null!==(l=null===(a=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===a?void 0:a.toString())&&void 0!==l?l:"0";this.contentHeight="calc(100vh - 84px - "+d+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn),i.Y36(bx),i.Y36(i.sBO),i.Y36(ra),i.Y36(Hi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(IP,5),2&e){let a;i.iGM(a=i.CRH())&&(t.footer=a.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,BP,12,13,"div",0),i.YNc(2,VP,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:[bk,T.O5,Mk,zS,YS,T.PC,oP,kx,pl,QS,LP],pipes:[Ie],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 FP{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 NP=(()=>{class n{constructor(e,t,a,l,d){this.http=e,this.storeService=t,this.authzSevice=a,this.titleService=l,this.utilsService=d}initializeColors(e,t){return new Promise(a=>{t.forEach(l=>{const d=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,d)}),e.forEach(l=>{const d=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,d),this.setEntityTheme(l.entity,d)}),a()})}setEntityTheme(e,t){const a=function YP(n){return[Jr(tinycolor(n).lighten(52),"50"),Jr(tinycolor(n).lighten(37),"100"),Jr(tinycolor(n).lighten(26),"200"),Jr(tinycolor(n).lighten(12),"300"),Jr(tinycolor(n).lighten(6),"400"),Jr(tinycolor(n),"500"),Jr(tinycolor(n).darken(6),"600"),Jr(tinycolor(n).darken(12),"700"),Jr(tinycolor(n).darken(18),"800"),Jr(tinycolor(n).darken(24),"900"),Jr(tinycolor(n).lighten(50).saturate(30),"A100"),Jr(tinycolor(n).lighten(30).saturate(30),"A200"),Jr(tinycolor(n).lighten(10).saturate(15),"A400"),Jr(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const l of a){const r=`--${e}-theme-primary-contrast-${l.name}`,c=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(r,c)}}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=>{var a;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(a=null==t?void 0:t.brandings)||void 0===a?void 0:a[l])&&this.storeService.setBanding(l),e()},()=>{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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(a=>{this.storeService.setAppsConfig(a),e()},a=>t(a))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(Qn),i.LFG(Oi),i.LFG(Xt),i.LFG(vt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Jr(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,a,l,d){this.initAuthService=e,this.appConfigService=t,this.location=a,this.authzSevice=l,this.guiAuthResolver=d,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(a=>{this.guiAuthResolver.setPerunPolicies(a),e()},a=>t(a))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(bx),i.LFG(NP),i.LFG(T.Ye),i.LFG(Oi),i.LFG(ra))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const UP=new i.OlP("perun-api-service");let qP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,iw,Ca,Ot]]}),n})();const GP=["*",[["mat-card-footer"]]],WP=["*","mat-card-footer"];let XS=(()=>{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})(),eE=(()=>{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})(),tE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi,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:WP,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(GP),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})(),iE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const ZP=["input"],$P=function(n){return{enterDuration:n}},JP=["*"],QP=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:nE});function nE(){return{color:"accent",clickAction:"check-indeterminate"}}let KP=0;const rE=nE(),XP={provide:Zn,useExisting:(0,i.Gpc)(()=>vd),multi:!0};class eR{}const tR=Il(ya(br(qn(class{constructor(n){this._elementRef=n}}))));let vd=(()=>{class n extends tR{constructor(e,t,a,l,d,s,r){super(e),this._changeDetectorRef=t,this._focusMonitor=a,this._ngZone=l,this._animationMode=s,this._options=r,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++KP,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||rE,this.color=this.defaultColor=this._options.color||rE.color,this.tabIndex=parseInt(d)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=We(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){const t=We(e);t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=We(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=We(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,a=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(l)},1e3)})}}_emitChangeEvent(){const e=new eR;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,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var t;const a=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===a?!this.disabled&&"noop"===a&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==a&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,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 a="";switch(e){case 0:if(1===t)a="unchecked-checked";else{if(3!=t)return"";a="unchecked-indeterminate"}break;case 2:a=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:a=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:a=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${a}`}_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(Pn),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(yi,8),i.Y36(QP,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ZP,5),i.Gf(Gn,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._inputElement=a.first),i.iGM(a=i.CRH())&&(t.ripple=a.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",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([XP]),i.qOj],ngContentSelectors:JP,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","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(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),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 a=i.MAs(1),l=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.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",a)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,$P,"NoopAnimations"===t._animationMode?0:150))}},directives:[Gn,Xd],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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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})(),aE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),yw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot,Ao,aE],ot,aE]}),n})(),rR=0;const Rx=new i.OlP("CdkAccordion");let aR=(()=>{class n{constructor(){this._stateChanges=new Pe.x,this._openCloseAllActions=new Pe.x,this.id="cdk-accordion-"+rR++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=We(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:Rx,useExisting:n}]),i.TTD]}),n})(),sR=0,oR=(()=>{class n{constructor(e,t,a){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=a,this._openCloseAllSubscription=Rt.w0.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-"+sR++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=a.listen((l,d)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===d&&this.id!==l&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=We(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=We(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(Rx,12),i.Y36(i.sBO),i.Y36(ag))},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:Rx,useValue:void 0}])]}),n})(),lR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const cR=["body"];function dR(n,o){}const uR=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],hR=["mat-expansion-panel-header","*","mat-action-row"];function pR(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const fR=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],mR=["mat-panel-title","mat-panel-description","*"],Lx=new i.OlP("MAT_ACCORDION"),sE="225ms cubic-bezier(0.4,0.0,0.2,1)",oE={indicatorRotate:Zt("indicatorRotate",[Tt("collapsed, void",Le({transform:"rotate(0deg)"})),Tt("expanded",Le({transform:"rotate(180deg)"})),mt("expanded <=> collapsed, void => collapsed",_t(sE))]),bodyExpansion:Zt("bodyExpansion",[Tt("collapsed, void",Le({height:"0px",visibility:"hidden"})),Tt("expanded",Le({height:"*",visibility:"visible"})),mt("expanded <=> collapsed, void => collapsed",_t(sE))])};let gR=(()=>{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})(),_R=0;const lE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let cE=(()=>{class n extends oR{constructor(e,t,a,l,d,s,r){super(e,t,a),this._viewContainerRef=l,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new Pe.x,this._headerId="mat-expansion-panel-header-"+_R++,this._bodyAnimationDone=new Pe.x,this.accordion=e,this._document=d,this._bodyAnimationDone.pipe(El((c,u)=>c.fromState===u.fromState&&c.toState===u.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),r&&(this.hideToggle=r.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=We(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(Jt(null),(0,Gt.h)(()=>this.expanded&&!this._portal),(0,Yt.q)(1)).subscribe(()=>{this._portal=new Lo(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(Lx,12),i.Y36(i.sBO),i.Y36(ag),i.Y36(i.s_b),i.Y36(T.K0),i.Y36(yi,8),i.Y36(lE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,gR,5),2&e){let l;i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(cR,5),2&e){let a;i.iGM(a=i.CRH())&&(t._body=a.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:Lx,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:hR,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(uR),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(l){return t._bodyAnimationDone.next(l)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,dR,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:[ts],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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[oE.bodyExpansion]},changeDetection:0}),n})();class bR{}const yR=Il(bR);let dE=(()=>{class n extends yR{constructor(e,t,a,l,d,s,r){super(),this.panel=e,this._element=t,this._focusMonitor=a,this._changeDetectorRef=l,this._animationMode=s,this._parentChangeSubscription=Rt.w0.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe((0,Gt.h)(u=>!(!u.hideToggle&&!u.togglePosition))):rn.E;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=(0,wi.T)(e.opened,e.closed,c,e._inputChanges.pipe((0,Gt.h)(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Gt.h)(()=>e._containsFocus())).subscribe(()=>a.focusVia(t,"program")),d&&(this.expandedHeight=d.expandedHeight,this.collapsedHeight=d.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:on(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(cE,1),i.Y36(i.SBq),i.Y36(Pn),i.Y36(i.sBO),i.Y36(lE,8),i.Y36(yi,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(l){return t._keydown(l)}),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:mR,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(fR),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,pR,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[T.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:[oE.indicatorRotate]},changeDetection:0}),n})(),CR=(()=>{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})(),wR=(()=>{class n extends aR{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=We(e)}ngAfterContentInit(){this._headers.changes.pipe(Jt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new To(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,a){if(1&e&&i.Suo(a,dE,5),2&e){let l;i.iGM(l=i.CRH())&&(t._headers=l)}},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:Lx,useExisting:n}]),i.qOj]}),n})(),uE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,lR,jl]]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,ot],ep,ot]}),n})();function TR(n,o){1&n&&i.Hsn(0)}const xR=["*"];let fE=(()=>{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})(),MR=0;const gE=new i.OlP("STEPPER_GLOBAL_OPTIONS");let Ix=(()=>{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=We(e)}get optional(){return this._optional}set optional(e){this._optional=We(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=We(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=We(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)(()=>sf)),i.Y36(gE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,mE,5),2&e){let l;i.iGM(l=i.CRH())&&(t.stepLabel=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let a;i.iGM(a=i.CRH())&&(t.content=a.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:xR,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,TR,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),sf=(()=>{class n{constructor(e,t,a,l){this._dir=e,this._changeDetectorRef=t,this._elementRef=a,this._destroyed=new Pe.x,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=MR++}get linear(){return this._linear}set linear(e){this._linear=We(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const a=Fi(e);this.steps&&this._steps?(this._isValidIndex(a),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)):this._selectedIndex=a}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(Jt(this._steps),nt(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Jt(this._stepHeader),nt(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,a)=>t._elementRef.nativeElement.compareDocumentPosition(a._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new To(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Qe.of)()).pipe(Jt(this._layoutDirection()),nt(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 a=this.steps.toArray()[e],l=this._isCurrentStep(e);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,l):this._getGuidelineLogic(a,l,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,a="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?a:e.editable&&t?"edit":a}_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=on(e),a=e.keyCode,l=this._keyManager;null==l.activeItemIndex||t||32!==a&&13!==a?l.onKeydown(e):(this.selectedIndex=l.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const a=t.stepControl;return(a?a.invalid||a.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=Bc();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(sf))},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})(),ER=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sf))},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})(),DR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl]]}),n})();function HR(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 kR(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 PR(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 RR(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 LR(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 IR(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,kR,2,1,"span",10),i.YNc(2,PR,2,1,"span",11),i.YNc(3,RR,2,1,"span",11),i.YNc(4,LR,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 OR(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 BR(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 VR(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 jR(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 FR(n,o){}function NR(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,FR,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const YR=["*"];function zR(n,o){1&n&&i._UZ(0,"div",9)}const _E=function(n,o){return{step:n,i:o}};function UR(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,zR,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,a=o.last;i.oxw(2);const l=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",i.WLB(3,_E,e,t)),i.xp6(1),i.Q6J("ngIf",!a)}}function qR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(a){return i.CHM(e),i.oxw(2)._animationDone.next(a)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw(2);i.Q6J("@horizontalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function GR(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,UR,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,qR,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 WR(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(a){return i.CHM(e),i.oxw(2)._animationDone.next(a)}),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,a=o.last,l=i.oxw(2),d=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",i.WLB(9,_E,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!a),i.xp6(1),i.Q6J("@verticalStepTransition",l._getAnimationDirection(t))("id",l._getStepContentId(t)),i.uIk("aria-labelledby",l._getStepLabelId(t))("aria-expanded",l.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function ZR(n,o){if(1&n&&(i.ynx(0),i.YNc(1,WR,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function $R(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(a){return i.CHM(e),i.oxw()._onKeydown(a)}),i.qZA()}if(2&n){const e=o.step,t=o.i,a=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===a.orientation)("mat-vertical-stepper-header","vertical"===a.orientation),i.Q6J("tabIndex",a._getFocusIndex()===t?0:-1)("id",a._getStepLabelId(t))("index",t)("state",a._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",a.selectedIndex===t)("active",a._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(t,e))("color",e.color||a.color),i.uIk("aria-posinset",t+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(t))("aria-selected",a.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!a._stepIsNavigable(t,e)||null)}}let Cw=(()=>{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})(),ww=(()=>{class n{constructor(){this.changes=new Pe.x,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 QR={provide:ww,deps:[[new i.FiY,new i.tp0,ww]],useFactory:function JR(n){return n||new ww}},KR=ya(class extends fE{constructor(o){super(o)}},"primary");let bE=(()=>{class n extends KR{constructor(e,t,a,l){super(a),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>l.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 Cw?null:this.label}_templateLabel(){return this.label instanceof Cw?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(ww),i.Y36(Pn),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,HR,1,2,"ng-container",2),i.YNc(4,IR,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,OR,2,1,"div",5),i.YNc(7,BR,2,1,"div",5),i.YNc(8,VR,2,1,"div",6),i.YNc(9,jR,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:[Yi,Gn,T.RF,T.n9,T.tP,T.ED,T.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 yE={horizontalStepTransition:Zt("horizontalStepTransition",[Tt("previous",Le({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Tt("current",Le({transform:"none",visibility:"inherit"})),Tt("next",Le({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),mt("* => *",_t("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Zt("verticalStepTransition",[Tt("previous",Le({height:"0px",visibility:"hidden"})),Tt("next",Le({height:"0px",visibility:"hidden"})),Tt("current",Le({height:"*",visibility:"inherit"})),mt("* <=> current",_t("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let XR=(()=>{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})(),eL=(()=>{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})(),CE=(()=>{class n extends Ix{constructor(e,t,a,l){super(e,l),this._errorStateMatcher=t,this._viewContainerRef=a,this._isSelected=Rt.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,qi.w)(()=>this._stepper.selectionChange.pipe((0,ft.U)(e=>e.selectedStep===this),Jt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Lo(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)(()=>AE)),i.Y36(Wr,4),i.Y36(i.s_b),i.Y36(gE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,Cw,5),i.Suo(a,eL,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.stepLabel=l.first),i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Wr,useExisting:n},{provide:Ix,useExisting:n}]),i.qOj],ngContentSelectors:YR,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,NR,2,1,"ng-template"))},directives:[ts],encapsulation:2,changeDetection:0}),n})(),wE=(()=>{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})(),tL=(()=>{class n extends wE{}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})(),iL=(()=>{class n extends wE{}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})(),AE=(()=>{class n extends sf{constructor(e,t,a,l){super(e,t,a,l),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new Pe.x;const d=a.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===d?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(nt(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(El((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),nt(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(Mi,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(T.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,CE,5),i.Suo(a,XR,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._steps=l),i.iGM(l=i.CRH())&&(t._icons=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(bE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._stepHeader=a)}},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:sf,useExisting:n},{provide:tL,useExisting:n},{provide:iL,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,GR,5,2,"ng-container",1),i.YNc(2,ZR,2,1,"ng-container",1),i.BQk(),i.YNc(3,$R,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,T.RF,T.n9,T.sg,T.tP,T.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:[yE.horizontalStepTransition,yE.verticalStepTransition]},changeDetection:0}),n})(),nL=(()=>{class n extends SR{}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})(),rL=(()=>{class n extends ER{}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})(),vE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[QR,Wr],imports:[[ot,T.ez,jl,Ca,DR,zo,yr],ot]}),n})();const aL=["mat-calendar-body",""];function sL(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 oL(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 lL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(a){const d=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(d,a)}),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,a=i.oxw().index,l=i.oxw();i.Udp("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),i.uIk("data-mat-row",a)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",l._isActiveCell(a,t))("mat-calendar-body-range-start",l._isRangeStart(e.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",l._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(e.compareValue,a,t))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(e.compareValue,a,t))("mat-calendar-body-comparison-start",l._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",l._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",l._isActiveCell(a,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",l._isSelected(e.compareValue))("aria-current",l.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",l._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",l.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function cL(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,oL,2,6,"td",5),i.YNc(2,lL,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,a=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&a._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function dL(n,o){if(1&n&&(i.TgZ(0,"th",5),i.TgZ(1,"span",6),i._uU(2),i.qZA(),i.TgZ(3,"span",7),i._uU(4),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e.long),i.xp6(2),i.Oqu(e.narrow)}}const uL=["*"];function hL(n,o){}function pL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("_userSelection",function(a){return i.CHM(e),i.oxw()._dateSelected(a)}),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 fL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("monthSelected",function(a){return i.CHM(e),i.oxw()._monthSelectedInYearView(a)})("selectedChange",function(a){return i.CHM(e),i.oxw()._goToDateInView(a,"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 mL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("yearSelected",function(a){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(a)})("selectedChange",function(a){return i.CHM(e),i.oxw()._goToDateInView(a,"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 gL(n,o){}const _L=["button"];function bL(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const yL=[[["","matDatepickerToggleIcon",""]]],CL=["[matDatepickerToggleIcon]"];class Ox{constructor(o,e,t,a,l={},d=o,s){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=a,this.cssClasses=l,this.compareValue=d,this.rawValue=s}}let lf=(()=>{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=a=>{if(this._skipNextFocus&&"focus"===a.type)this._skipNextFocus=!1;else if(a.target&&this.isRange){const l=this._getCellFromElement(a.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:a}))}},this._leaveHandler=a=>{null!==this.previewEnd&&this.isRange&&a.target&&this._getCellFromElement(a.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:a}))},t.runOutsideAngular(()=>{const a=e.nativeElement;a.addEventListener("mouseenter",this._enterHandler,!0),a.addEventListener("focus",this._enterHandler,!0),a.addEventListener("mouseleave",this._leaveHandler,!0),a.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:a,numCols:l}=this;(e.rows||t)&&(this._firstRowOffset=a&&a.length&&a[0].length?l-a[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/l+"%")}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 a=e*this.numCols+t;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})})}_isRangeStart(e){return Bx(e,this.startValue,this.endValue)}_isRangeEnd(e){return Vx(e,this.startValue,this.endValue)}_isInRange(e){return jx(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Bx(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let l=this.rows[t][a-1];if(!l){const d=this.rows[t-1];l=d&&d[d.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(e,t,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let l=this.rows[t][a+1];if(!l){const d=this.rows[t+1];l=d&&d[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(e){return Vx(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return jx(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Bx(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Vx(e,this.previewStart,this.previewEnd)}_isInPreview(e){return jx(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(TE(e)?t=e:TE(e.parentNode)&&(t=e.parentNode),t){const a=t.getAttribute("data-mat-row"),l=t.getAttribute("data-mat-col");if(a&&l)return this.rows[parseInt(a)][parseInt(l)]}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:aL,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,sL,3,6,"tr",0),i.YNc(1,cL,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 TE(n){return"TD"===n.nodeName}function Bx(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function jx(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Qr{constructor(o,e){this.start=o,this.end=e}}let Td=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new Pe.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const a=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:a})}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})(),wL=(()=>{class n extends Td{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(Ci))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const xE={provide:Td,deps:[[new i.FiY,new i.tp0,Td],Ci],useFactory:function vL(n,o){return n||new wL(o)}},Aw=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let ME=(()=>{class n{constructor(e,t,a,l,d){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=l,this._rangeStrategy=d,this._rerenderSubscription=Rt.w0.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,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qr?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(Jt(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,a=this._dateAdapter.getYear(this.activeDate),l=this._dateAdapter.getMonth(this.activeDate),d=this._dateAdapter.createDate(a,l,t);let s,r;this._selected instanceof Qr?(s=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):s=r=this._getDateInCurrentMonth(this._selected),(s!==t||r!==t)&&this.selectedChange.emit(d),this._userSelection.emit({value:d,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-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&&!on(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 l=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((d,s)=>({long:d,narrow:t[s]}));this._weekdays=l.slice(e).concat(l.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let a=0,l=this._firstWeekOffset;a=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),a=this._dateAdapter.getMonth(e),l=this._dateAdapter.getDate(e);return new Date(t,a,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Qr?(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(Gr,8),i.Y36(Ci,8),i.Y36(Mi,8),i.Y36(Aw,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(lf,5),2&e){let a;i.iGM(a=i.CRH())&&(t._matCalendarBody=a.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"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,dL,5,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(l){return t._dateSelected(l)})("previewChange",function(l){return t._previewChanged(l)})("keyup",function(l){return t._handleCalendarBodyKeyup(l)})("keydown",function(l){return t._handleCalendarBodyKeydown(l)}),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:[lf,T.sg],encapsulation:2,changeDetection:0}),n})(),SE=(()=>{class n{constructor(e,t,a){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=a,this._rerenderSubscription=Rt.w0.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 a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),EE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qr?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(Jt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,l=[];a<24;a++)l.push(t+a),4==l.length&&(this._years.push(l.map(d=>this._createCellForYear(d))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let a=this._dateAdapter.getMonth(this.activeDate),l=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,a,1));this.selectedChange.emit(this._dateAdapter.createDate(t,a,Math.min(this._dateAdapter.getDate(this.activeDate),l)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-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,-t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-t_(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 t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),a=this._dateAdapter.getYearName(t),l=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Ox(e,a,a,this._shouldEnableYear(e),l)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,a,l){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=l,this._rerenderSubscription=Rt.w0.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 a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,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 Qr?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(Jt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(a);const l=this._dateAdapter.getNumDaysInMonth(a);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),l)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-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(a=>this._createCellForMonth(a,e[a]))),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 a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),l=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(a,"year"):void 0;return new Ox(e,t.toLocaleUpperCase(),l,this._shouldEnableMonth(e),d)}_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 l=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(l)==e;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const a=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return e>a||e===a&&t>l}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const a=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new Pe.x,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})(),EL=0,DL=(()=>{class n{constructor(e,t,a,l,d){this._intl=e,this.calendar=t,this._dateAdapter=a,this._dateFormats=l,this._buttonDescriptionId="mat-calendar-button-"+EL++,this.calendar.stateChanges.subscribe(()=>d.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)-t_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=t+24-1,l=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),d=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return this._intl.formatYearRange(l,d)}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):EE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i_),i.Y36((0,i.Gpc)(()=>Yx)),i.Y36(Ci,8),i.Y36(Gr,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:uL,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","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:[zt],encapsulation:2,changeDetection:0}),n})(),Yx=(()=>{class n{constructor(e,t,a,l){this._dateAdapter=t,this._dateFormats=a,this._changeDetectorRef=l,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 Pe.x,this._intlChanges=e.changes.subscribe(()=>{l.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 Qr?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 sd(this.headerComponent||DL),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&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,a=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,l=t||a||e.dateFilter;if(l&&!l.firstChange){const d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Qr||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(i_),i.Y36(Ci,8),i.Y36(Gr,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ME,5),i.Gf(HE,5),i.Gf(SE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.monthView=a.first),i.iGM(a=i.CRH())&&(t.yearView=a.first),i.iGM(a=i.CRH())&&(t.multiYearView=a.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([xE]),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,hL,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,pL,1,8,"mat-month-view",2),i.YNc(3,fL,1,6,"mat-year-view",3),i.YNc(4,mL,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:[ME,HE,SE,ts,K_,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}),n})();const kE={transformPanel:Zt("transformPanel",[mt("void => enter-dropdown",_t("120ms cubic-bezier(0, 0, 0.2, 1)",So([Le({opacity:0,transform:"scale(1, 0.8)"}),Le({opacity:1,transform:"scale(1, 1)"})]))),mt("void => enter-dialog",_t("150ms cubic-bezier(0, 0, 0.2, 1)",So([Le({opacity:0,transform:"scale(0.7)"}),Le({transform:"none",opacity:1})]))),mt("* => void",_t("100ms linear",Le({opacity:0})))]),fadeInCalendar:Zt("fadeInCalendar",[Tt("void",Le({opacity:0})),Tt("enter",Le({opacity:1})),mt("void => *",_t("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let HL=0;const PE=new i.OlP("mat-datepicker-scroll-strategy"),PL={provide:PE,deps:[Cr],useFactory:function kL(n){return()=>n.scrollStrategies.reposition()}},RL=ya(class{constructor(n){this._elementRef=n}});let LL=(()=>{class n extends RL{constructor(e,t,a,l,d,s){super(e),this._changeDetectorRef=t,this._globalModel=a,this._dateAdapter=l,this._rangeSelectionStrategy=d,this._subscriptions=new Rt.w0,this._animationDone=new Pe.x,this._actionsPortal=null,this._closeButtonText=s.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,a=e.value,l=t instanceof Qr;if(l&&this._rangeSelectionStrategy){const d=this._rangeSelectionStrategy.selectionFinished(a,t,e.event);this._model.updateSelection(d,this)}else a&&(l||!this._dateAdapter.sameDate(a,t))&&this._model.add(a);(!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(Td),i.Y36(Ci),i.Y36(Aw,8),i.Y36(i_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(Yx,5),2&e){let a;i.iGM(a=i.CRH())&&(t._calendar=a.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(l){return t.datepicker._selectYear(l)})("monthSelected",function(l){return t.datepicker._selectMonth(l)})("viewChanged",function(l){return t.datepicker._viewChanged(l)})("_userSelection",function(l){return t._handleUserSelection(l)}),i.qZA(),i.YNc(2,gL,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 a;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!==(a=t._dialogLabelId)&&void 0!==a?a: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:[Yx,zt,J0,T.mk,ts],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:[kE.transformPanel,kE.fadeInCalendar]},changeDetection:0}),n})(),RE=(()=>{class n{constructor(e,t,a,l,d,s,r){this._overlay=e,this._ngZone=t,this._viewContainerRef=a,this._dateAdapter=d,this._dir=s,this._model=r,this._inputStateChanges=Rt.w0.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-"+HL++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Pe.x,this._scrollStrategy=l}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=We(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=We(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=We(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Et(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const a of t){const l=`${a}`.trim();l&&e.push(l)}}return e}(e)}get opened(){return this._opened}set opened(e){We(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 a=this._overlayRef.getConfig().positionStrategy;a instanceof bu&&(this._setConnectedPositions(a),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=Bc(),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,Yt.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 sd(LL,this._viewContainerRef),a=this._overlayRef=this._overlay.create(new up({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(a).subscribe(l=>{l&&l.preventDefault(),this.close()}),a.keydownEvents().subscribe(l=>{const d=l.keyCode;(38===d||40===d||37===d||39===d||33===d||34===d)&&l.preventDefault()}),this._componentRef=a.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>a.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",a="start"===t?"end":"start",l="above"===this.yPosition?"bottom":"top",d="top"===l?"bottom":"top";return e.withPositions([{originX:t,originY:d,overlayX:t,overlayY:l},{originX:t,originY:l,overlayX:t,overlayY:d},{originX:a,originY:d,overlayX:a,overlayY:l},{originX:a,originY:l,overlayX:a,overlayY:d}])}_getCloseStream(e){return(0,wi.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Gt.h)(t=>27===t.keyCode&&!on(t)||this.datepickerInput&&on(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(PE),i.Y36(Ci,8),i.Y36(Mi,8),i.Y36(Td))},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})(),zx=(()=>{class n extends RE{}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([xE,{provide:RE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class vw{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let IL=(()=>{class n{constructor(e,t,a){this._elementRef=e,this._dateAdapter=t,this._dateFormats=a,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new Pe.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Rt.w0.EMPTY,this._localeSubscription=Rt.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!d||this._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),s=this._getMinDate();return!s||!d||this._dateAdapter.compareDate(s,d)<=0?null:{matDatepickerMin:{min:s,actual:d}}},this._maxValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),s=this._getMaxDate();return!s||!d||this._dateAdapter.compareDate(s,d)>=0?null:{matDatepickerMax:{max:s,actual:d}}},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=We(e),a=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&a.blur&&a.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 a=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(a),this._cvaOnChange(a),this._onTouched(),this._formatValue(a),this.dateInput.emit(new vw(this,this._elementRef.nativeElement)),this.dateChange.emit(new vw(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function OL(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:a,currentValue:l}=n[t];if(!o.isDateInstance(a)||!o.isDateInstance(l))return!0;if(!o.sameDate(a,l))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 a=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a);const l=!this._dateAdapter.sameDate(a,this.value);!a||l?this._cvaOnChange(a):(e&&!this.value&&this._cvaOnChange(a),t!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(a),this.dateInput.emit(new vw(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new vw(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=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(Ci,8),i.Y36(Gr,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const BL={provide:Zn,useExisting:(0,i.Gpc)(()=>n_),multi:!0},VL={provide:ln,useExisting:(0,i.Gpc)(()=>n_),multi:!0};let n_=(()=>{class n extends IL{constructor(e,t,a,l){super(e,t,a),this._formField=l,this._closedSubscription=Rt.w0.EMPTY,this._validator=Ni.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(Ci,8),i.Y36(Gr,8),i.Y36(mp,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(l){return t._onInput(l.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(l){return t._onKeydown(l)}),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([BL,VL,{provide:DS,useExisting:n}]),i.qOj]}),n})(),jL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),Ux=(()=>{class n{constructor(e,t,a){this._intl=e,this._changeDetectorRef=t,this._stateChanges=Rt.w0.EMPTY;const l=Number(a);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=We(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,Qe.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Qe.of)(),a=this.datepicker?(0,wi.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Qe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,wi.T)(this._intl.changes,e,t,a).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,jL,5),2&e){let l;i.iGM(l=i.CRH())&&(t._customIcon=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(_L,5),2&e){let a;i.iGM(a=i.CRH())&&(t._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._open(l)}),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:CL,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(yL),i.TgZ(0,"button",0,1),i.YNc(2,bL,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:[zt,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}),n})(),qx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[i_,PL],imports:[[T.ez,Ca,Au,Mo,jl,ot],es]}),n})();const FL=["mat-sort-header",""];function NL(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 YL=["*"],xd=dM.ENTERING+" "+Fb.STANDARD_CURVE,cf={indicator:Zt("indicator",[Tt("active-asc, asc",Le({transform:"translateY(0px)"})),Tt("active-desc, desc",Le({transform:"translateY(10px)"})),mt("active-asc <=> active-desc",_t(xd))]),leftPointer:Zt("leftPointer",[Tt("active-asc, asc",Le({transform:"rotate(-45deg)"})),Tt("active-desc, desc",Le({transform:"rotate(45deg)"})),mt("active-asc <=> active-desc",_t(xd))]),rightPointer:Zt("rightPointer",[Tt("active-asc, asc",Le({transform:"rotate(45deg)"})),Tt("active-desc, desc",Le({transform:"rotate(-45deg)"})),mt("active-asc <=> active-desc",_t(xd))]),arrowOpacity:Zt("arrowOpacity",[Tt("desc-to-active, asc-to-active, active",Le({opacity:1})),Tt("desc-to-hint, asc-to-hint, hint",Le({opacity:.54})),Tt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Le({opacity:0})),mt("* => asc, * => desc, * => active, * => hint, * => void",_t("0ms")),mt("* <=> *",_t(xd))]),arrowPosition:Zt("arrowPosition",[mt("* => desc-to-hint, * => desc-to-active",_t(xd,So([Le({transform:"translateY(-25%)"}),Le({transform:"translateY(0)"})]))),mt("* => hint-to-desc, * => active-to-desc",_t(xd,So([Le({transform:"translateY(0)"}),Le({transform:"translateY(25%)"})]))),mt("* => asc-to-hint, * => asc-to-active",_t(xd,So([Le({transform:"translateY(25%)"}),Le({transform:"translateY(0)"})]))),mt("* => hint-to-asc, * => active-to-asc",_t(xd,So([Le({transform:"translateY(0)"}),Le({transform:"translateY(-25%)"})]))),Tt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Le({transform:"translateY(0)"})),Tt("hint-to-desc, active-to-desc, desc",Le({transform:"translateY(-25%)"})),Tt("hint-to-asc, active-to-asc, asc",Le({transform:"translateY(25%)"}))]),allowChildren:Zt("allowChildren",[mt("* <=> *",[rr("@*",ru(),{optional:!0})])])};let Tw=(()=>{class n{constructor(){this.changes=new Pe.x}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const UL={provide:Tw,deps:[[new i.FiY,new i.tp0,Tw]],useFactory:function zL(n){return n||new Tw}},qL=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),GL=Nb(qn(class{}));let Ha=(()=>{class n extends GL{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new Pe.x,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=We(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,a,l;if(!e)return"";const d=null!==(a=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==a?a:!!(null===(l=this._defaultOptions)||void 0===l?void 0:l.disableClear);let s=function WL(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,d),r=s.indexOf(this.direction)+1;return r>=s.length&&(r=0),s[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qL,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 ZL=qn(class{});let df=(()=>{class n extends ZL{constructor(e,t,a,l,d,s,r){super(),this._intl=e,this._changeDetectorRef=t,this._sort=a,this._columnDef=l,this._focusMonitor=d,this._elementRef=s,this._ariaDescriber=r,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=We(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(".mat-sort-header-container"),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,a;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(a=this._ariaDescriber)||void 0===a||a.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,wi.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(Tw),i.Y36(i.sBO),i.Y36(Ha,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(Pn),i.Y36(i.SBq),i.Y36(SA,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(l){return t._handleKeydown(l)})("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:FL,ngContentSelectors:YL,decls:4,vars:7,consts:[[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,NL,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)("role",t._isDisabled()?null:"button"),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[T.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:[cf.indicator,cf.leftPointer,cf.rightPointer,cf.arrowOpacity,cf.arrowPosition,cf.allowChildren]},changeDetection:0}),n})(),Gx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[UL],imports:[[T.ez,ot]]}),n})();function $L(n,o){1&n&&i.Hsn(0)}const LE=["*"];function JL(n,o){}const QL=function(n){return{animationDuration:n}},KL=function(n,o){return{value:n,params:o}},XL=["tabListContainer"],eI=["tabList"],tI=["tabListInner"],iI=["nextPaginator"],nI=["previousPaginator"],rI=["tabBodyWrapper"],aI=["tabHeader"];function sI(n,o){}function oI(n,o){if(1&n&&i.YNc(0,sI,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function lI(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function cI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const a=i.CHM(e),l=a.$implicit,d=a.index,s=i.oxw(),r=i.MAs(1);return s._handleClick(l,r,d)})("cdkFocusChange",function(a){const d=i.CHM(e).index;return i.oxw()._tabFocusChanged(a,d)}),i.TgZ(1,"div",7),i.YNc(2,oI,1,1,"ng-template",8),i.YNc(3,lI,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.MAs(4),l=i.oxw();i.ekj("mat-tab-label-active",l.selectedIndex===t),i.Q6J("id",l._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||l.disableRipple),i.uIk("tabIndex",l._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",l._tabs.length)("aria-controls",l._getTabContentId(t))("aria-selected",l.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",a)}}function dI(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(a){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(a)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw();i.ekj("mat-tab-body-active",a.selectedIndex===t),i.Q6J("id",a._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",a.animationDuration),i.uIk("tabindex",null!=a.contentTabIndex&&a.selectedIndex===t?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(t))}}const uI=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function hI(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let IE=(()=>{class n{constructor(e,t,a,l){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=a,this._animationMode=l}alignToElement(e){this.show(),this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{const t=this._inkBarPositioner(e),a=this._elementRef.nativeElement;a.style.left=t.left,a.style.width=t.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(uI),i.Y36(yi,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 OE=new i.OlP("MatTabContent");let pI=(()=>{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:OE,useExisting:n}])]}),n})();const BE=new i.OlP("MatTabLabel"),VE=new i.OlP("MAT_TAB");let fI=(()=>{class n extends Lv{constructor(e,t,a){super(e,t),this._closestTab=a}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(VE,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:BE,useExisting:n}]),i.qOj]}),n})();const mI=qn(class{}),jE=new i.OlP("MAT_TAB_GROUP");let FE=(()=>{class n extends mI{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new Pe.x,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 Lo(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(jE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,BE,5),i.Suo(a,OE,7,i.Rgc)),2&e){let l;i.iGM(l=i.CRH())&&(t.templateLabel=l.first),i.iGM(l=i.CRH())&&(t._explicitContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let a;i.iGM(a=i.CRH())&&(t._implicitContent=a.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:VE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:LE,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,$L,1,0,"ng-template"))},encapsulation:2}),n})();const gI={translateTab:Zt("translateTab",[Tt("center, void, left-origin-center, right-origin-center",Le({transform:"none"})),Tt("left",Le({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Tt("right",Le({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),mt("* => left, * => right, left => center, right => center",_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),mt("void => left-origin-center",[Le({transform:"translate3d(-100%, 0, 0)"}),_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),mt("void => right-origin-center",[Le({transform:"translate3d(100%, 0, 0)"}),_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let _I=(()=>{class n extends ts{constructor(e,t,a,l){super(e,t,l),this._host=a,this._centeringSub=Rt.w0.EMPTY,this._leavingSub=Rt.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Jt(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)(()=>NE)),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),bI=(()=>{class n{constructor(e,t,a){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Rt.w0.EMPTY,this._translateTabComplete=new Pe.x,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(l=>{this._computePositionAnimationState(l),a.markForCheck()})),this._translateTabComplete.pipe(El((l,d)=>l.fromState===d.fromState&&l.toState===d.toState)).subscribe(l=>{this._isCenterPosition(l.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(l.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(Mi,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})(),NE=(()=>{class n extends bI{constructor(e,t,a){super(e,t,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Mi,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(ts,5),2&e){let a;i.iGM(a=i.CRH())&&(t._portalHost=a.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(l){return t._onTranslateTabStarted(l)})("@translateTab.done",function(l){return t._translateTabComplete.next(l)}),i.YNc(2,JL,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,KL,t._position,i.VKq(1,QL,t.animationDuration)))},directives:[_I],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[gI.translateTab]}}),n})();const YE=new i.OlP("MAT_TABS_CONFIG"),yI=qn(class{});let zE=(()=>{class n extends yI{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 UE=Vr({passive:!0});let AI=(()=>{class n{constructor(e,t,a,l,d,s,r){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=a,this._dir=l,this._ngZone=d,this._platform=s,this._animationMode=r,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Pe.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Pe.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,d.runOutsideAngular(()=>{Qa(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Fi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Qa(this._previousPaginator.nativeElement,"touchstart",UE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Qa(this._nextPaginator.nativeElement,"touchstart",UE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Qe.of)("ltr"),t=this._viewportRuler.change(150),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new To(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(a),(0,wi.T)(e,t,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(nt(this._destroyed)).subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?rn.E:this._items.changes.pipe(Jt(this._items),(0,qi.w)(e=>new Bi.y(t=>this._ngZone.runOutsideAngular(()=>{const a=new ResizeObserver(()=>{t.next()});return e.forEach(l=>{a.observe(l.elementRef.nativeElement)}),()=>{a.disconnect()}}))),pr(1))}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(!on(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 a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=t.elementRef.nativeElement;let s,r;"ltr"==this._getLayoutDirection()?(s=l,r=s+d):(r=this._tabListInner.nativeElement.offsetWidth-l,s=r-d);const c=this.scrollDistance,u=this.scrollDistance+a;su&&(this.scrollDistance+=r-u+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(),(0,cp.H)(650,100).pipe(nt((0,wi.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:a,distance:l}=this._scrollHeader(e);(0===l||l>=a)&&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(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),vI=(()=>{class n extends AI{constructor(e,t,a,l,d,s,r){super(e,t,a,l,d,s,r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=We(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),TI=(()=>{class n extends vI{constructor(e,t,a,l,d,s,r){super(e,t,a,l,d,s,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,zE,4),2&e){let l;i.iGM(l=i.CRH())&&(t._items=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(IE,7),i.Gf(XL,7),i.Gf(eI,7),i.Gf(tI,7),i.Gf(iI,5),i.Gf(nI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._inkBar=a.first),i.iGM(a=i.CRH())&&(t._tabListContainer=a.first),i.iGM(a=i.CRH())&&(t._tabList=a.first),i.iGM(a=i.CRH())&&(t._tabListInner=a.first),i.iGM(a=i.CRH())&&(t._nextPaginator=a.first),i.iGM(a=i.CRH())&&(t._previousPaginator=a.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:LE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"button",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(l){return t._handlePaginatorPress("before",l)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(l){return t._handleKeydown(l)}),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,"button",9,10),i.NdJ("mousedown",function(l){return t._handlePaginatorPress("after",l)})("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)("disabled",t._disableScrollBefore||null),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)("disabled",t._disableScrollAfter||null))},directives:[Gn,Xd,IE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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})(),xI=0;class MI{}const SI=ya(br(class{constructor(n){this._elementRef=n}}),"primary");let EI=(()=>{class n extends SI{constructor(e,t,a,l){var d;super(e),this._changeDetectorRef=t,this._animationMode=l,this._tabs=new i.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Rt.w0.EMPTY,this._tabLabelSubscription=Rt.w0.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=xI++,this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,this.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,this.contentTabIndex=null!==(d=null==a?void 0:a.contentTabIndex)&&void 0!==d?d:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=We(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Fi(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=Fi(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 a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,l)=>a.isActive=l===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,a)=>{t.position=a-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const t=this._tabs.toArray();let a;for(let l=0;l{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Jt(this._allTabs)).subscribe(e=>{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._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new MI;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,wi.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,a){e.disabled||(this.selectedIndex=t.focusIndex=a)}_getTabIndex(e,t){var a;return e.disabled?null:t===(null!==(a=this._lastFocusedTabIndex)&&void 0!==a?a:this.selectedIndex)?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(YE,8),i.Y36(yi,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})(),DI=(()=>{class n extends EI{constructor(e,t,a,l){super(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(YE,8),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,FE,5),2&e){let l;i.iGM(l=i.CRH())&&(t._allTabs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(rI,5),i.Gf(aI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._tabBodyWrapper=a.first),i.iGM(a=i.CRH())&&(t._tabHeader=a.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:jE,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(l){return t._focusChanged(l)})("selectFocusedIndex",function(l){return t.selectedIndex=l}),i.YNc(2,cI,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,dI,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:[TI,NE,T.sg,zE,Gn,K_,T.mk,T.O5,ts],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})(),GE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,jl,yr,Ao,Mo],ot]}),n})(),WE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ZE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[WE,yr,ot,Ao],WE,ot]}),n})();const KE=new i.OlP("mat-chips-default-options");let Zx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wr,{provide:KE,useValue:{separatorKeyCodes:[13]}}],imports:[[ot]]}),n})(),XE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,iE,Px,uE,Ca,pE,yw,zo,mw,iw,rw,Yl,aw,ad,Pg,ju,vE,qx,zb,US,JS,Wp,BS,Gx,Up,bd,Yp,yr,mw,ZE,Zx],iE,Px,uE,Ca,pE,yw,zo,mw,iw,rw,Yl,aw,ad,Pg,ju,vE,qx,zb,US,JS,Wp,BS,Gx,Up,bd,Yp,yr,GE,ZE,Zx]}),n})(),tO=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(vr))},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.close()}),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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})(),iO=(()=>{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})(),eD=(()=>{class n{onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),a=location.search;window.open(t+a)}}}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(l){return t.onClick(l)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),xw=(()=>{class n{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function nO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 rO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.itemSelectionToggle(d):null})("click",function(a){return a.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 aO(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 sO(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 oO(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 lO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(a)})("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 cO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(a)})("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 dO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,lO,4,3,"button",26),i.YNc(2,cO,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 uO(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 hO(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 pO(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 fO(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 mO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,fO,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function gO(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 _O(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 bO(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 yO(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 CO(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 wO(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 AO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,wO,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function vO(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 TO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showCite(l)})("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 xO(n,o){1&n&&i._UZ(0,"tr",31)}const tD=function(n,o){return[n,o]};function MO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const l=i.CHM(e).$implicit,d=i.oxw();return d.disabledRouting&&d.openInTab&&!d.buttonPressed?d.emitPublication(l):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,tD,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,tD,t.routerPath,e.id))}}function SO(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 uf=(()=>{class n{constructor(e,t,a,l,d){this.tableCheckbox=e,this.cabinetService=t,this.dialog=a,this.notificator=l,this.translate=d,this.selection=new Ri(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=zu,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,d.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(s=>this.changeLockMessage=s),d.get("PUBLICATIONS_LIST.LOCKED").subscribe(s=>this.locked=s),d.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(s=>this.unlocked=s)}set matSort(e){this.sort=e,this.setDataSource()}static 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 a="";return e.authors.forEach(l=>a+=yS(l)+";"),a.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let a="";return e.thanks.forEach(l=>a+=l.ownerName+";"),a.slice(0,-1)}default:return e[t]}}ngOnChanges(){this.dataSource=new ac(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),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)}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=Jn();t.width="500px",t.data=e,this.dialog.open(tO,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})}emitPublication(e){this.publicationSelector.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}createPublication(e){return{id:e.id,beanName:e.beanName,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}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nw),i.Y36(hi),i.Y36(wn),i.Y36(In),i.Y36(Ye))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,nO,2,3,"th",4),i.YNc(5,rO,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,aO,3,3,"th",7),i.YNc(8,sO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,oO,3,3,"th",7),i.YNc(11,dO,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,uO,3,3,"th",7),i.YNc(14,hO,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,pO,3,3,"th",7),i.YNc(17,mO,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,gO,3,3,"th",7),i.YNc(20,_O,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,bO,3,3,"th",7),i.YNc(23,yO,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,CO,3,3,"th",7),i.YNc(26,AO,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,vO,3,3,"th",16),i.YNc(29,TO,4,3,"td",8),i.BQk(),i.YNc(30,xO,1,0,"tr",17),i.YNc(31,MO,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,SO,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,T.O5,zt,Kl,Yi,T.sg,nc,rc,qo,Go,eD,nr,Ns],pipes:[Ie,xw],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function EO(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const DO=function(){return["id","title","year"]};function HO(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,DO))}}let $x=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.translate=l,this.cabinetService=d,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(gn),i.Y36(vr),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,EO,1,0,"mat-spinner",2),i.YNc(5,HO,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:[Ma,T.O5,_i,Sa,uf,Ea,zt],pipes:[Ie],styles:[""]}),n})(),hf=(()=>{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(l){return t.onClickbutton(l)}),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:[zt,Kl,Yi],pipes:[Ie],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 pf=x(5439);const qu=pf||x.t(pf,2),iD=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function PO(){return{useUtc:!1}}});function RO(n,o){const e=Array(n);for(let t=0;t{class n extends Ci{constructor(e,t){super(),this._options=t,this.setLocale(e||qu.locale())}setLocale(e){super.setLocale(e);let t=qu.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:RO(31,a=>this.createDate(2017,0,a+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,a){const l=this._createMoment({year:e,month:t,date:a}).locale(this.locale);return l.isValid(),l}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,qu.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return qu.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return qu.invalid()}_createMoment(e,t,a){const{strict:l,useUtc:d}=this._options||{};return d?qu.utc(e,t,a,l):qu(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ol,8),i.LFG(iD,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),LO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:r_,deps:[Ol,iD]}]}),n})(),nD=(()=>{class n{ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,a){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,a.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 a=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(a),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(d){i.CHM(a);const s=i.MAs(7);return t.chosenYearHandler(t.startYear,d,s)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(a),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(d){i.CHM(a);const s=i.MAs(15);return t.chosenYearHandler(t.endYear,d,s)}),i.qZA(),i.qZA()}if(2&e){const a=i.MAs(7),l=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",a),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",l)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",l)}},directives:[Wn,is,as,n_,Ln,sr,wr,Ux,fp,zx],pipes:[Ie],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function IO(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 Mw=pf,OO={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let Jx=(()=>{class n{constructor(e){this.cabinetService=e,this.filteredPublication=new i.vpe,this.title=new Si,this.code=new Si,this.startYear=new Si(Mw()),this.endYear=new Si(Mw())}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=this.code.value,t={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?e:null,doi:"doi"===this.selectedMode?e:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,T.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,T.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(t)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new Si(Mw()),this.endYear=new Si(Mw()),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(hi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:OO}])],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(l){return t.selectedMode=l}),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(l){return t.selectedCategory=l}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,IO,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:[Wn,as,Ln,sr,wr,is,Ql,Po,T.sg,nD,zt,Yi],pipes:[Ie],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 BO(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 VO(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let jO=(()=>{class n{constructor(e,t,a,l,d){this.route=e,this.cabinetService=t,this.dialog=a,this.matIconRegistry=l,this.domSanitizer=d,this.selected=new Ri(!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=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(wn),i.Y36(Xl),i.Y36(Vn))},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(l){return t.filterPublication(l)}),i.qZA(),i.qZA(),i.YNc(12,BO,1,4,"perun-web-apps-publications-list",8),i.YNc(13,VO,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:[Yi,hf,zt,Jx,T.O5,uf,_i],pipes:[Ie],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function FO(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 NO(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(a){return i.CHM(e),i.oxw().filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(7,FO,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 YO(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let zO=(()=>{class n{constructor(e,t,a,l){this.route=e,this.cabinetService=t,this.dialog=a,this.authResolver=l,this.selected=new Ri(!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=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(wn),i.Y36(Oi))},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,NO,8,5,"div",4),i.YNc(8,YO,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:[Yi,T.O5,hf,zt,Jx,uf,_i],pipes:[Ie],styles:[""]}),n})(),UO=(()=>{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(Hi))},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:[Yi,tE,eE,XS,zt],pipes:[Ie],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 qO=["input"];let GO=(()=>{class n{constructor(){this.autoFocus=!1,this.control=new Si,this.filter=new i.vpe}ngOnInit(){this.autoFocus&&this.input.nativeElement.focus(),Qa(this.input.nativeElement,"keyup").pipe((0,ft.U)(e=>e.target.value),(0,Kd.b)(500),El()).subscribe(e=>{this.control.invalid||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(qO,7),2&e){let a;i.iGM(a=i.CRH())&&(t.input=a.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus",control:"control",error:"error"},outputs:{filter:"filter"},decls:6,vars:5,consts:[[1,"filter-field","mr-2"],["matInput","","data-cy","filter-input",3,"placeholder","formControl"],["input",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.TgZ(4,"mat-error"),i._uU(5),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,3,t.placeholder)),i.Q6J("formControl",t.control),i.xp6(4),i.hij(" ",t.error," "))},directives:[Wn,as,Ln,sr,wr,Io],pipes:[Ie],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function WO(n,o){1&n&&i._UZ(0,"th",20)}function ZO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 $O(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 JO(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 QO(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 KO(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 XO(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 eB(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 tB(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 iB(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 nB(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 rB(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 aB(n,o){1&n&&i._UZ(0,"th",26)}function sB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().onAddClick(l)}),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 oB(n,o){1&n&&i._UZ(0,"th",26)}function lB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().onRemoveClick(l)}),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 cB(n,o){1&n&&i._UZ(0,"tr",29)}const rD=function(n){return["/authors",n]};function dB(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,rD,e.id))("routerLink",t.disableRouting?null:i.VKq(6,rD,e.id))}}function uB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 hB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Qx=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=zu,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}static getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function cH(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 Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}static getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return yS(e);case"organization":return Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}static getSortDataForColumn(e,t){var a;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(a=e.firstName)&&void 0!==a?a:"";case"organization":return Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}ngOnChanges(){this.dataSource=new ac(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getExportDataForColumn),e)}parseAttribute(e,t){let a="";return e.attributes&&e.attributes.forEach(l=>{l.friendlyName===t&&(a=l.value)}),a}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)=>Qg(e,t,this.displayedColumns,n.getFilterDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getSortDataForColumn),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(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WO,1,0,"th",4),i.YNc(5,ZO,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,$O,3,3,"th",7),i.YNc(8,JO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,QO,3,3,"th",7),i.YNc(11,KO,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,XO,3,3,"th",7),i.YNc(14,eB,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,tB,3,3,"th",7),i.YNc(17,iB,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,nB,3,3,"th",7),i.YNc(20,rB,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,aB,1,0,"th",15),i.YNc(23,sB,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,oB,1,0,"th",15),i.YNc(26,lB,4,3,"td",8),i.BQk(),i.YNc(27,cB,1,0,"tr",17),i.YNc(28,dB,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,uB,3,3,"perun-web-apps-alert",19),i.YNc(30,hB,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,Os,Fs,vd,df,zt,nc,rc,qo,Go,eD,nr,T.O5,Ns],pipes:[Ie,xw],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function pB(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const fB=function(){return["id","name","organization","email","numberOfPublications"]};function mB(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,fB))("filterValue",e.filterValue)("tableId",e.tableId)}}let gB=(()=>{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(hi))},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(l){return t.applyFilter(l)}),i.qZA(),i.YNc(9,pB,1,0,"mat-spinner",6),i.YNc(10,mB,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:[Yi,hf,GO,T.O5,_i,Qx],pipes:[Ie],styles:[""]}),n})();function _B(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function bB(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 yB=(()=>{class n{constructor(e,t,a,l){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=a,this.translate=l,l.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.nameCtrl=new Si(null,[Ni.required,Ni.pattern("^[\\w.-]+( [\\w.-]+)*$"),Ni.maxLength(128)]),this.rankCtrl=new Si(null,[Ni.required,Ni.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{id:0,beanName:"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(gn),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,_B,1,0,"mat-spinner",2),i.YNc(5,bB,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:[Ma,T.O5,_i,Sa,Wn,as,Ln,ns,sr,wr,Io,Ea,zt,Kl],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function CB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function wB(n,o){1&n&&i._UZ(0,"th",14)}function AB(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 vB(n,o){1&n&&i._UZ(0,"tr",16)}function TB(n,o){1&n&&i._UZ(0,"tr",17)}function xB(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,wB,1,0,"th",10),i.YNc(10,AB,2,1,"td",11),i.BQk(),i.YNc(11,vB,1,0,"tr",12),i.YNc(12,TB,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 MB(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 SB=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.translate=l,this.cabinetManagerService=d,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new ac(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(gn),i.Y36(vr),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,CB,1,0,"mat-spinner",2),i.YNc(5,xB,13,9,"div",3),i.YNc(6,MB,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:[Ma,T.O5,_i,Sa,Uo,Vs,Bs,js,Os,Fs,nc,rc,qo,Go,Ea,zt],pipes:[Ie],styles:[""]}),n})();function EB(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 DB(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 a_=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new Si}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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,EB,2,4,"input",1),i.YNc(2,DB,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:[Wn,T.O5,as,Ln,iO,sr,wr],pipes:[Ie],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function HB(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function kB(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 PB=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.cabinetManagerService=l,this.translate=d,this.categoryName="",d.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new Si(this.data.rank,[Ni.required,Ni.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(gn),i.Y36(vr),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,HB,1,0,"mat-spinner",2),i.YNc(5,kB,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:[Ma,T.O5,_i,Sa,Wn,as,Ln,ns,sr,wr,Io,Ea,zt,Kl],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function RB(n,o){1&n&&i._UZ(0,"th",15)}function LB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.itemSelectionToggle(d):null})("click",function(a){return a.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 IB(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 OB(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 BB(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 VB(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 jB(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 FB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().updateCategory(a)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function NB(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,FB,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 YB(n,o){1&n&&i._UZ(0,"tr",23)}function zB(n,o){1&n&&i._UZ(0,"tr",24)}function UB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 qB=(()=>{class n{constructor(e,t,a,l){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=a,this.authResolver=l,this.categories=[],this.selection=new Ri(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=zu,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}static 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]}}ngOnChanges(){this.dataSource=new ac(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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=Jn();t.width="400px",t.data=e,this.dialog.open(PB,t).afterClosed().subscribe(l=>{l&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ra),i.Y36(nw),i.Y36(wn),i.Y36(ra))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,RB,1,0,"th",4),i.YNc(5,LB,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,IB,3,3,"th",7),i.YNc(8,OB,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,BB,3,3,"th",7),i.YNc(11,VB,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,jB,3,3,"th",7),i.YNc(14,NB,3,2,"td",10),i.BQk(),i.YNc(15,YB,1,0,"tr",12),i.YNc(16,zB,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,UB,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,Os,Fs,vd,df,T.O5,zt,Yi,nc,rc,qo,Go,Ns],pipes:[Ie],styles:[""]}),n})();function GB(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 WB(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 ZB(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const $B=function(){return["select","id","name","rank"]},JB=function(){return["name","rank"]};function QB(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,$B):i.DdM(6,JB))("tableId",e.tableId)("selection",e.selected)}}let KB=(()=>{class n{constructor(e,t,a){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=a,this.categories=[],this.selected=new Ri(!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=Jn();e.width="400px",e.data={},this.dialog.open(yB,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeCategory(){const e=Jn();e.width="400px",e.data=this.selected.selected,this.dialog.open(SB,e).afterClosed().subscribe(a=>{a&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hi),i.Y36(wn),i.Y36(ra))},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,GB,3,3,"button",3),i.YNc(6,WB,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(8,ZB,1,0,"mat-spinner",6),i.YNc(9,QB,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:[hf,T.O5,zt,a_,_i,qB],pipes:[Ie],styles:[""]}),n})();function XB(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 eV(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 tV(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 iV(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 nV(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 rV(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 aV(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 sV(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 oV(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 lV(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 cV(n,o){1&n&&i._UZ(0,"tr",17)}function dV(n,o){1&n&&i._UZ(0,"tr",18)}function uV(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 hV=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=zu}set matSort(e){this.sort=e,this.setDataSource()}static 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]}}ngOnChanges(){this.dataSource=new ac(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,XB,3,3,"th",4),i.YNc(5,eV,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,tV,3,3,"th",4),i.YNc(8,iV,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,nV,3,3,"th",4),i.YNc(11,rV,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,aV,3,3,"th",4),i.YNc(14,sV,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,oV,3,3,"th",4),i.YNc(17,lV,2,1,"td",7),i.BQk(),i.YNc(18,cV,1,0,"tr",11),i.YNc(19,dV,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,uV,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,df,Os,Fs,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function pV(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function fV(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 mV=(()=>{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(hi))},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(l){return t.applyFilter(l)}),i.qZA(),i.YNc(6,pV,1,0,"mat-spinner",4),i.YNc(7,fV,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:[hf,a_,T.O5,_i,hV],pipes:[Ie],styles:[""]}),n})();function gV(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 _V(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(a){return i.CHM(e),i.oxw().filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(11,gV,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 bV(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let yV=(()=>{class n{constructor(e,t,a,l){this.route=e,this.cabinetService=t,this.userService=a,this.dialog=l,this.selected=new Ri(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{const t=Number(e.authorId);this.userService.getUserById(t).subscribe(a=>{this.author=a,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(Er),i.Y36(wn))},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,_V,12,11,"div",4),i.YNc(8,bV,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:[Yi,T.O5,hf,zt,Jx,uf,_i],pipes:[Ie,xw],styles:[""]}),n})();function CV(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function wV(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 AV(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const a=i.oxw(2);return a.editing=!a.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 vV(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 TV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,vV,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 xV(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 MV(n,o){1&n&&i._UZ(0,"th",21)}function SV(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 EV(n,o){1&n&&i._UZ(0,"th",21)}function DV(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 HV(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 kV(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 PV(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 RV(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,PV,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 LV(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function IV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,RV,2,1,"span",1),i.YNc(2,LV,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 OV(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(a){i.CHM(e);const l=i.MAs(7);return i.oxw(4).chosenYearHandler(a,l)}),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 BV(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 VV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,BV,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 jV(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 FV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,jV,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 NV(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(a){return i.CHM(e),i.oxw(4).publication.isbn=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function YV(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(a){return i.CHM(e),i.oxw(4).publication.doi=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function zV(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(a){return i.CHM(e),i.oxw(4).publication.main=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function UV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,OV,8,7,"mat-form-field",25),i.YNc(2,VV,3,2,"mat-form-field",1),i.YNc(3,FV,3,2,"mat-form-field",1),i.YNc(4,NV,2,1,"mat-form-field",6),i.YNc(5,YV,2,1,"mat-form-field",6),i.YNc(6,zV,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 qV(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,DV,10,9,"span",1),i.YNc(2,HV,3,4,"span",1),i.YNc(3,kV,2,1,"span",1),i.YNc(4,IV,3,2,"div",1),i.YNc(5,UV,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 GV(n,o){1&n&&i._UZ(0,"tr",37)}function WV(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,wV,2,1,"h3",4),i.YNc(3,AV,4,3,"button",5),i.YNc(4,TV,3,2,"mat-form-field",6),i.YNc(5,xV,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,MV,1,0,"th",10),i.YNc(9,SV,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,EV,1,0,"th",10),i.YNc(12,qV,6,5,"td",13),i.BQk(),i.YNc(13,GV,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 aD=pf,ZV={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let $V=(()=>{class n{constructor(e,t,a){this.cabinetService=e,this.notificator=t,this.translate=a,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new Ri(!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;el.name===this.categoryControl.value).id,t=this.yearControl.value.year();this.cabinetService.updatePublication({publication:{id:this.publication.id,beanName:this.publication.beanName,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:t,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}}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(l=>{this.notificator.showSuccess(l),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const a=this.yearControl.value;a.year(e.year()),this.yearControl.setValue(a),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hi),i.Y36(In),i.Y36(Ye))},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:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:ZV}])],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,CV,1,0,"mat-spinner",0),i.YNc(2,WV,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:[T.O5,_i,zt,Kl,Yi,Wn,as,Ln,sr,wr,Io,Uo,Vs,Bs,js,Os,Fs,is,n_,Ux,fp,zx,Ql,T.sg,Po,fd,qo,Go],pipes:[Ie,T.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 JV=function(){return["id","name","organization","email","add"]};function QV(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(a){return i.CHM(e),i.oxw(3).addAuthor(a)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,JV))}}function KV(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 XV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,QV,1,5,"perun-web-apps-authors-list",13),i.YNc(2,KV,3,3,"perun-web-apps-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 ej(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const tj=function(){return["id","name","organization","email","remove"]};function ij(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(a){return i.CHM(e),i.oxw(3).removeAuthor(a)}),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,tj))}}function nj(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,ij,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 rj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 aj(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,XV,3,2,"div",6),i.YNc(2,ej,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,nj,2,1,"div",6),i.YNc(7,rj,3,3,"perun-web-apps-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 sj(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let oj=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.cabinetService=l,this.translate=d,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new Ri(!1,[]),this.reloadTable=!1,d.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(s=>this.successMessage=s),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new Si("",[Ni.required,Ni.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(a=>!e.map(l=>l.id).includes(a.id)),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(gn),i.Y36(vr),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,aj,8,7,"div",6),i.qZA(),i.YNc(16,sj,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:[Ma,Sa,Wn,as,Ln,sr,wr,Io,zt,Yi,T.O5,Qx,Ns,_i,Ea],pipes:[Ie],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function lj(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 cj(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 dj(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const uj=function(){return["id","name","organization","email"]},hj=function(){return["select","id","name","organization","email"]};function pj(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,uj):i.DdM(6,hj))}}let sD=(()=>{class n{constructor(e,t,a,l){this.dialog=e,this.cabinetService=t,this.notificator=a,this.translate=l,this.selection=new Ri(!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=Jn();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(oj,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=Jn();e.width="800px",e.data={items:this.selection.selected.map(a=>`${a.titleBefore?a.titleBefore:""} ${a.firstName?a.firstName:""} ${a.lastName?a.lastName:""} ${a.titleAfter?a.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme",type:"remove",showAsk:!0},this.dialog.open(IS,e).afterClosed().subscribe(a=>{a&&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(wn),i.Y36(hi),i.Y36(In),i.Y36(Ye))},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,lj,3,3,"button",1),i.YNc(2,cj,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(4,dj,1,0,"mat-spinner",4),i.YNc(5,pj,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:[T.O5,zt,a_,_i,Qx],pipes:[Ie],styles:[""]}),n})();function fj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 mj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 gj(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 _j(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 bj(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 yj(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 Cj(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 wj(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 Aj(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 vj(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 Tj(n,o){1&n&&i._UZ(0,"tr",23)}function xj(n,o){1&n&&i._UZ(0,"tr",24)}function Mj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Sj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Ej=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new Ri(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=zu}set matSort(e){this.sort=e,this.setDataSource()}static 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""}}ngAfterViewInit(){this.setDataSource()}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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 ac(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(ra),i.Y36(nw))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,fj,2,3,"th",4),i.YNc(5,mj,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,gj,3,3,"th",7),i.YNc(8,_j,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,bj,3,3,"th",7),i.YNc(11,yj,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,Cj,3,3,"th",7),i.YNc(14,wj,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,Aj,3,3,"th",7),i.YNc(17,vj,2,1,"td",10),i.BQk(),i.YNc(18,Tj,1,0,"tr",13),i.YNc(19,xj,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,Mj,3,3,"perun-web-apps-alert",15),i.YNc(21,Sj,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function Dj(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const Hj=function(){return["select","id","name","contact"]};function kj(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(a){return i.CHM(e),i.oxw().filterValue=a}),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,Hj))("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 Pj=(()=>{class n{constructor(e,t,a,l,d,s,r){this.dialogRef=e,this.data=t,this.ownersManagerService=a,this.storeService=l,this.notificator=d,this.translate=s,this.cabinetManagerService=r,this.selected=new Ri(!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(a=>e.includes(a.id)):t,this.owners=this.owners.filter(a=>!this.data.thanks.map(l=>l.ownerId).includes(a.id)),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(gn),i.Y36(vr),i.Y36(ei),i.Y36(Qn),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,Dj,1,0,"mat-spinner",2),i.YNc(5,kj,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:[Ma,T.O5,_i,Sa,a_,Ej,Ea,zt],pipes:[Ie],styles:[""]}),n})();function Rj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 Lj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 Ij(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 Oj(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 Bj(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 Vj(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 jj(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 Fj(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 Nj(n,o){1&n&&i._UZ(0,"tr",22)}function Yj(n,o){1&n&&i._UZ(0,"tr",23)}function zj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Uj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 qj=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=zu,this.selection=new Ri(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}ngOnChanges(){this.dataSource=new ac(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)}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}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"}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nw))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Rj,2,3,"th",4),i.YNc(5,Lj,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Ij,3,3,"th",7),i.YNc(8,Oj,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,Bj,3,3,"th",7),i.YNc(11,Vj,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,jj,3,3,"th",7),i.YNc(14,Fj,2,1,"td",10),i.BQk(),i.YNc(15,Nj,1,0,"tr",12),i.YNc(16,Yj,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,zj,3,3,"perun-web-apps-alert",14),i.YNc(18,Uj,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function Gj(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 Wj(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 Zj(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const $j=function(){return["id","name","createdBy"]},Jj=function(){return["select","id","name","createdBy"]};function Qj(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,$j):i.DdM(6,Jj))("selection",e.selection)}}let oD=(()=>{class n{constructor(e,t,a,l){this.dialog=e,this.cabinetService=t,this.notificator=a,this.translate=l,this.selection=new Ri(!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=Jn();e.width="800px",e.data=this.publication,this.dialog.open(Pj,e).afterClosed().subscribe(a=>{a&&this.refresh()})}onRemoveThanks(){const e=Jn();e.width="450px",e.data={items:this.selection.selected.map(a=>a.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme",type:"remove",showAsk:!0},this.dialog.open(IS,e).afterClosed().subscribe(a=>{a&&(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(wn),i.Y36(hi),i.Y36(In),i.Y36(Ye))},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,Gj,3,3,"button",1),i.YNc(2,Wj,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(4,Zj,1,0,"mat-spinner",4),i.YNc(5,Qj,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:[T.O5,zt,a_,_i,qj],pipes:[Ie],styles:[""]}),n})();function Kj(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function Xj(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 eF(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 tF(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 iF(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 nF(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 rF(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function aF(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 sF(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function oF(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function lF(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 cF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,Xj,6,3,"h1",4),i.YNc(2,eF,5,3,"h1",4),i.YNc(3,tF,6,3,"h1",4),i.YNc(4,iF,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,nF,3,3,"span",7),i.YNc(13,rF,2,0,"mat-icon",2),i.YNc(14,aF,3,3,"span",7),i.YNc(15,sF,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,oF,1,0,"mat-spinner",1),i.YNc(19,lF,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 s_=(()=>{class n{constructor(e,t,a,l,d,s,r){this.route=e,this.cabinetService=t,this.matIconRegistry=a,this.domSanitizer=l,this.dialog=d,this.notificator=s,this.translate=r,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new Ri(!0,[]),this.selectionThanks=new Ri(!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=Number(e.publicationId),this.mainAuthorId=Number(e.authorId),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,beanName:"Publication",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(fn),i.Y36(hi),i.Y36(Xl),i.Y36(Vn),i.Y36(wn),i.Y36(In),i.Y36(Ye))},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,Kj,1,0,"mat-spinner",1),i.YNc(2,cF,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:[T.O5,_i,Yi,zt,tE,XS,$V,eE,sD,oD],pipes:[Ie,xw],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),Kx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zo,T.ez]]}),n})();function Xx(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const a=o[t];a?n.setProperty(t,a,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function ff(n,o){const e=o?"":"none";Xx(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 lD(n,o,e){Xx(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function Sw(n,o){return o&&"none"!=o?n+" "+o:n}function cD(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function e0(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function t0(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 n0(n,o,e){const{top:t,bottom:a,left:l,right:d}=n;return e>=t&&e<=a&&o>=l&&o<=d}function o_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function dD(n,o,e,t){const{top:a,right:l,bottom:d,left:s,width:r,height:c}=n,u=r*o,h=c*o;return t>a-h&&ts-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:t0(e)})})}handleScroll(o){const e=jr(o),t=this.positions.get(e);if(!t)return null;const a=t.scrollPosition;let l,d;if(e===this._document){const c=this.getViewportScrollPosition();l=c.top,d=c.left}else l=e.scrollTop,d=e.scrollLeft;const s=a.top-l,r=a.left-d;return this.positions.forEach((c,u)=>{c.clientRect&&e!==u&&e.contains(u)&&o_(c.clientRect,s,r)}),a.top=l,a.left=d,{top:s,left:r}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function hD(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let a=0;a{if(this.beforeStarted.next(),this._handles.length){const r=this._getTargetHandle(s);r&&!this._disabledHandles.has(r)&&!this.disabled&&this._initializeDragSequence(r,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{const r=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging){if(Math.abs(r.x-this._pickupPositionOnPage.x)+Math.abs(r.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),j=this._dropContainer;if(!b)return void this._endDragSequence(s);(!j||!j.isDragging()&&!j.isReceiving())&&(s.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(s)))}return}s.preventDefault();const c=this._getConstrainedPointerPosition(r);if(this._hasMoved=!0,this._lastKnownPointerPosition=r,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,r);else{const u=this._activeTransform;u.x=c.x-this._pickupPositionOnPage.x+this._passiveTransform.x,u.y=c.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(u.x,u.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:s,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){const r=this._getTargetHandle(s);r&&!this._disabledHandles.has(r)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new uD(t),d.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=We(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>ff(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=>Zi(t)),this._handles.forEach(t=>ff(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=Zi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Ew),e.addEventListener("touchstart",this._pointerDown,gD),e.addEventListener("dragstart",this._nativeDragStart,Ew)}),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?Zi(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),ff(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),ff(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){l_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,a=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),d=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();a.insertBefore(d,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),lD(t,!1,r0),this._document.body.appendChild(a.replaceChild(l,t)),this._getPreviewInsertionPoint(a,s).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(),a=l_(e),l=!a&&0!==e.button,d=this._rootElement,s=jr(e),r=!a&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=a?im(e):tm(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||r||c)return;if(this._handles.length){const f=d.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=t0(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){lD(this._rootElement,!0,r0),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),a=this._getPointerPositionOnPage(o),l=this._getDragDistance(a),d=e._isOverContainer(a.x,a.y);this.ended.next({source:this,distance:l,dropPoint:a}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:d,distance:l,dropPoint:a}),e.drop(this,t,this._initialIndex,this._initialContainer,d,l,a),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:a}){let l=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,o,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,a),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 a;if(t&&o){const l=o.matchSize?this._rootElement.getBoundingClientRect():null,d=o.viewContainer.createEmbeddedView(t,o.context);d.detectChanges(),a=bD(d,this._document),this._previewRef=d,o.matchSize?yD(a,l):a.style.transform=Dw(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;a=hD(l),yD(a,l.getBoundingClientRect()),this._initialTransform&&(a.style.transform=this._initialTransform)}return Xx(a.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},r0),ff(a,!1),a.classList.add("cdk-drag-preview"),a.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>a.classList.add(l)):a.classList.add(e)),a}_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 uF(n){const o=getComputedStyle(n),e=e0(o,"transition-property"),t=e.find(s=>"transform"===s||"all"===s);if(!t)return 0;const a=e.indexOf(t),l=e0(o,"transition-duration"),d=e0(o,"transition-delay");return cD(l[a])+cD(d[a])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const a=d=>{var s;(!d||jr(d)===this._preview&&"transform"===d.propertyName)&&(null===(s=this._preview)||void 0===s||s.removeEventListener("transitionend",a),t(),clearTimeout(l))},l=setTimeout(a,1.5*e);this._preview.addEventListener("transitionend",a)}))}_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=bD(this._placeholderRef,this._document)):t=hD(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),a=o===this._rootElement?null:o,l=a?a.getBoundingClientRect():t,d=l_(e)?e.targetTouches[0]:e,s=this._getViewportScrollPosition();return{x:l.left-t.left+(d.pageX-l.left-s.left),y:l.top-t.top+(d.pageY-l.top-s.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=l_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,a=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const d=this._ownerSVGElement.getScreenCTM();if(d){const s=this._ownerSVGElement.createSVGPoint();return s.x=a,s.y=l,s.matrixTransform(d.inverse())}}return{x:a,y:l}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:a}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?a=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:d}=this._pickupPositionInElement,s=this._boundaryRect,{width:r,height:c}=this._getPreviewRect(),u=s.top+d,h=s.bottom-(c-d);t=_D(t,s.left+l,s.right-(r-l)),a=_D(a,u,h)}return{x:t,y:a}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,a=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,d=Math.abs(e-l.x),s=Math.abs(t-l.y);return d>this._config.pointerDirectionChangeThreshold&&(a.x=e>l.x?1:-1,l.x=e),s>this._config.pointerDirectionChangeThreshold&&(a.y=t>l.y?1:-1,l.y=t),a}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,ff(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,Ew),o.removeEventListener("touchstart",this._pointerDown,gD),o.removeEventListener("dragstart",this._nativeDragStart,Ew)}_applyRootElementTransform(o,e){const t=Dw(o,e),a=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=a.transform&&"none"!=a.transform?a.transform:""),a.transform=Sw(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const a=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=Dw(o,e);this._preview.style.transform=Sw(l,a)}_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(),a=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===a.width&&0===a.height)return;const l=t.left-a.left,d=a.right-t.right,s=t.top-a.top,r=a.bottom-t.bottom;t.width>a.width?(l>0&&(o+=l),d>0&&(o-=d)):o=0,t.height>a.height?(s>0&&(e+=s),r>0&&(e-=r)):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:l_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=jr(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&o_(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(){var o;return(null===(o=this._parentPositions.positions.get(this._document))||void 0===o?void 0:o.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ah(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const a=this._document;return e||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body}return Zi(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(o){return this._handles.find(e=>o.target&&(o.target===e||e.contains(o.target)))}}function Dw(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function _D(n,o,e){return Math.max(o,Math.min(e,n))}function l_(n){return"t"===n.type[0]}function bD(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(a=>t.appendChild(a)),t}function yD(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=Dw(o.left,o.top)}function c_(n,o){return Math.max(0,Math.min(o,n))}class gF{constructor(o,e,t,a,l){this._dragDropRegistry=e,this._ngZone=a,this._viewportRuler=l,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Pe.x,this.entered=new Pe.x,this.exited=new Pe.x,this.dropped=new Pe.x,this.sorted=new Pe.x,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=Rt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Pe.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function dF(n=0,o=rd.z){return n<0&&(n=0),(0,cp.H)(n,n,o)}(0,op).pipe(nt(this._stopScrollTimers)).subscribe(()=>{const d=this._scrollNode,s=this.autoScrollStep;1===this._verticalScrollDirection?d.scrollBy(0,-s):2===this._verticalScrollDirection&&d.scrollBy(0,s),1===this._horizontalScrollDirection?d.scrollBy(-s,0):2===this._horizontalScrollDirection&&d.scrollBy(s,0)})},this.element=Zi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new uD(t)}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,a){let l;this._draggingStarted(),null==a?(l=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(o,e,t))):l=a;const d=this._activeDraggables,s=d.indexOf(o),r=o.getPlaceholderElement();let c=d[l];if(c===o&&(c=d[l+1]),!c&&(null==l||-1===l||l-1&&d.splice(s,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(r,u),d.splice(l,0,o)}else Zi(this.element).appendChild(r),d.push(o);r.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,a,l,d,s){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:a,isPointerOverContainer:l,distance:d,dropPoint:s})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(a=>a.isDragging()).every(a=>-1===o.indexOf(a))?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=Zi(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,a){if(this.sortingDisabled||!this._clientRect||!dD(this._clientRect,.05,e,t))return;const l=this._itemPositions,d=this._getItemIndexFromPointerPosition(o,e,t,a);if(-1===d&&l.length>0)return;const s="horizontal"===this._orientation,r=l.findIndex(pe=>pe.drag===o),c=l[d],h=c.clientRect,f=r>d?1:-1,b=this._getItemOffsetPx(l[r].clientRect,h,f),j=this._getSiblingOffsetPx(r,l,f),ee=l.slice();(function mF(n,o,e){const t=c_(o,n.length-1),a=c_(e,n.length-1);if(t===a)return;const l=n[t],d=a{if(ee[Ke]===pe)return;const Dt=pe.drag===o,ut=Dt?b:j,Wt=Dt?o.getPlaceholderElement():pe.drag.getRootElement();pe.offset+=ut,s?(Wt.style.transform=Sw(`translate3d(${Math.round(pe.offset)}px, 0, 0)`,pe.initialTransform),o_(pe.clientRect,0,ut)):(Wt.style.transform=Sw(`translate3d(0, ${Math.round(pe.offset)}px, 0)`,pe.initialTransform),o_(pe.clientRect,ut,0))}),this._previousSwap.overlaps=n0(h,e,t),this._previousSwap.drag=c.drag,this._previousSwap.delta=s?a.x:a.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,a=0,l=0;if(this._parentPositions.positions.forEach((d,s)=>{s===this._document||!d.clientRect||t||dD(d.clientRect,.05,o,e)&&([a,l]=function _F(n,o,e,t){const a=AD(o,t),l=vD(o,e);let d=0,s=0;if(a){const r=n.scrollTop;1===a?r>0&&(d=1):n.scrollHeight-r>n.clientHeight&&(d=2)}if(l){const r=n.scrollLeft;1===l?r>0&&(s=1):n.scrollWidth-r>n.clientWidth&&(s=2)}return[d,s]}(s,d.clientRect,o,e),(a||l)&&(t=s))}),!a&&!l){const{width:d,height:s}=this._viewportRuler.getViewportSize(),r={width:d,height:s,top:0,right:d,bottom:s,left:0};a=AD(r,e),l=vD(r,o),t=window}t&&(a!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=a,this._horizontalScrollDirection=l,this._scrollNode=t,(a||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=Zi(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=Zi(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:t0(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=Zi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const a=e.getRootElement();if(a){const l=null===(t=this._itemPositions.find(d=>d.drag===e))||void 0===t?void 0:t.initialTransform;a.style.transform=l||""}}),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 a="horizontal"===this._orientation,l=e[o].clientRect,d=e[o+-1*t];let s=l[a?"width":"height"]*t;if(d){const r=a?"left":"top",c=a?"right":"bottom";-1===t?s-=d.clientRect[r]-l[c]:s+=l[r]-d.clientRect[c]}return s}_getItemOffsetPx(o,e,t){const a="horizontal"===this._orientation;let l=a?e.left-o.left:e.top-o.top;return-1===t&&(l+=a?e.width-o.width:e.height-o.height),l}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,a="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const d=t[t.length-1].clientRect;return a?o>=d.right:e>=d.bottom}{const d=t[0].clientRect;return a?o<=d.left:e<=d.top}}_getItemIndexFromPointerPosition(o,e,t,a){const l="horizontal"===this._orientation,d=this._itemPositions.findIndex(({drag:s,clientRect:r})=>{if(s===o)return!1;if(a){const c=l?a.x:a.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return l?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&ta._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!n0(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const a=this._getShadowRoot().elementFromPoint(e,t);if(!a)return!1;const l=Zi(this.element);return a===l||l.contains(a)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(a=>this.enterPredicate(a,this)||this._draggables.indexOf(a)>-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})=>{o_(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=Ah(Zi(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 AD(n,o){const{top:e,bottom:t,height:a}=n,l=.05*a;return o>=e-l&&o<=e+l?1:o>=t-l&&o<=t+l?2:0}function vD(n,o){const{left:e,right:t,width:a}=n,l=.05*a;return o>=e-l&&o<=e+l?1:o>=t-l&&o<=t+l?2:0}const Hw=Vr({passive:!1,capture:!0});let bF=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=a=>a.isDragging(),this.pointerMove=new Pe.x,this.pointerUp=new Pe.x,this.scroll=new Pe.x,this._preventDefaultWhileDragging=a=>{this._activeDragInstances.length>0&&a.preventDefault()},this._persistentTouchmoveListener=a=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&a.preventDefault(),this.pointerMove.next(a))},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,Hw)})}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,Hw)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const a=t.type.startsWith("touch");this._globalListeners.set(a?"touchend":"mouseup",{handler:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Hw}),a||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:Hw}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,d)=>{this._document.addEventListener(d,l.handler,l.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(a=>this._ngZone.runOutsideAngular(()=>{const d=s=>{this._activeDragInstances.length&&a.next(s)};return e.addEventListener("scroll",d,!0),()=>{e.removeEventListener("scroll",d,!0)}}))),(0,wi.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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yF={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let CF=(()=>{class n{constructor(e,t,a,l){this._document=e,this._ngZone=t,this._viewportRuler=a,this._dragDropRegistry=l}createDrag(e,t=yF){return new fF(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new gF(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(i.R0b),i.LFG(va),i.LFG(bF))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[CF],imports:[es]}),n})(),AF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),SF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),IF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[SF,ot],ot]}),n})(),ZF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot],ot]}),n})();new i.OlP("mat-selectsearch-default-options");let XF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ju,Ca,yw,zo,rw,bd]]}),n})(),e2=(()=>{class n extends Kh{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 t2={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 SD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:e2},{provide:Gr,useValue:t2}],imports:[[T.ez,yw,mw,Pg,Zx,wF,Ot,hr,Gx,Up,rw,Kx,zo,Wp,Ca,bd,Yl,ju,aw,yr,MS,AF,IF,qx,ZF,sp,Yp,XF,ad,iw,ii,XE]]}),n})(),H2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,Ca,zo,hr,SD,Ot,Yl,ju,aw,Kx]]}),n})(),k2=(()=>{class n{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kg),i.Y36(Hi))},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:[zt,Yi],pipes:[Ie],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function P2(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 R2=(()=>{class n{constructor(e){this.authzService=e,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Si(null,[Ni.required]),this.passwordCtrl=new Si(null,[Ni.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(Oi))},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,P2,3,3,"perun-web-apps-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:[T.O5,Ns,Wn,is,as,Ln,ns,sr,wr,Io,zt,Yi],pipes:[Ie],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 L2(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function I2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function O2(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 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.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function V2(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 j2(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 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.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function N2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function Y2(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 z2(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 U2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function q2(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const G2=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function W2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(a){i.CHM(e),i.oxw(2);const l=i.MAs(1);return i.oxw(2).loadPublicationDetail(a,l)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,G2))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function Z2(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,q2,1,0,"mat-spinner",3),i.YNc(2,W2,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 $2(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function J2(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 Q2(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,$2,1,1,"ng-template",44),i.YNc(2,J2,2,1,"ng-template",45),i.qZA())}function K2(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,U2,2,3,"ng-template",44),i.YNc(4,Z2,3,2,"ng-template",45),i.qZA(),i.YNc(5,Q2,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function X2(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 eN(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 tN(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 iN(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,eN,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,tN,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 nN(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function rN(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function aN(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 sN(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,aN,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 oN(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 lN(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,oN,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 cN(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function dN(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 uN(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function hN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(a){return i.CHM(e),i.oxw().stepChanged(a)}),i.TgZ(1,"mat-step",7),i.YNc(2,I2,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,O2,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(a){i.CHM(e);const l=i.MAs(22);return i.oxw().chosenYearHandler(a,l)}),i.qZA(),i.YNc(23,B2,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,V2,2,2,"mat-option",21),i.qZA(),i.YNc(28,j2,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,F2,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,N2,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,Y2,5,3,"div",29),i.YNc(51,z2,16,12,"perun-web-apps-alert",30),i.YNc(52,K2,6,1,"mat-tab-group",14),i.YNc(53,X2,6,3,"div",29),i.qZA(),i.YNc(54,iN,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,nN,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,rN,1,0,"mat-spinner",3),i.YNc(61,sN,5,4,"div",14),i.YNc(62,lN,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,cN,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,dN,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,uN,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 a=i.oxw();return a.redirect(["all-publications",a.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 pN=pf,fN={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let mN=(()=>{class n{constructor(e,t,a,l,d,s,r,c){this.formBuilder=e,this.cabinetService=t,this.dialog=a,this.router=l,this.notificator=d,this.translate=s,this.storeService=r,this.userService=c,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new Ri(!0,[]),this.thanksSelection=new Ri(!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:["",Ni.required],year:["",Ni.required],category:["",Ni.required],isbn:[""],doi:[""],cite:["",Ni.required]}),this.maxYear=pN(),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:{id:0,beanName:"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 a=t.userAttributes.filter(l=>"preferredMail"===l.friendlyName);0!==a.length&&(e.publication.createdBy=a[0].value),this.cabinetService.createPublication(e).subscribe(l=>{this.publication=l,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(){var e,t,a;this.innerLoading=!0;const l=null!==(e=this.publicationControl.get("title").value)&&void 0!==e?e:null,d=null!==(t=this.publicationControl.get("doi").value)&&void 0!==t?t:null,s=null!==(a=this.publicationControl.get("isbn").value)&&void 0!==a?a:null;this.cabinetService.findSimilarPublications(l,d,s).subscribe(r=>{this.similarPublications=r,this.filteredPublications=r,setTimeout(()=>{this.duplicateCheck=0===r.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(jM),i.Y36(hi),i.Y36(wn),i.Y36(Hi),i.Y36(In),i.Y36(Ye),i.Y36(Qn),i.Y36(Er))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:fN}])],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,L2,1,0,"mat-spinner",3),i.YNc(8,hN,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:[Yi,T.O5,_i,AE,CE,Cw,_C,ug,$i,vd,sr,Ou,Wn,as,Ln,ns,Io,is,n_,Ux,fp,zx,Ql,T.sg,Po,zt,nL,Vo,Ns,DI,FE,fI,pI,uf,s_,rL,sD,oD],pipes:[Ie],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 gN(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 _N(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 bN(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 yN(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,gN,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 a=i.oxw();return a.importPublications(a.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(a){return i.CHM(e),i.oxw().userAsAuthor=a}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,_N,3,3,"perun-web-apps-alert",12),i.YNc(21,bN,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 CN(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function wN(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 AN(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function vN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const a=i.oxw(),l=a.$implicit,d=a.index;return i.oxw(2).completePublication(l.id,d)}),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 TN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw(2).incompletePublication(a.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 xN(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 l=i.CHM(e).index;return i.oxw(2).editPublication(l)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,wN,3,3,"i",3),i.YNc(5,AN,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,vN,3,3,"button",20),i.YNc(9,TN,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw(2);i.Q6J("expanded",a.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",a.completePublications.includes(e.id))}}function MN(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 SN(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 EN(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,xN,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,MN,3,3,"button",20),i.qZA(),i.YNc(8,SN,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 HD=pf,DN={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},HN=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:k2},{path:"service-access",component:R2},{path:"all-publications",component:jO},{path:"my-publications",component:zO},{path:"create-publication",component:UO},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,a,l,d,s){this.cabinetService=e,this.storeService=t,this.notificator=a,this.translate=l,this.router=d,this.dialog=s,this.loading=!1,this.publicationSystems=[],this.pubSystem=new Si,this.publications=[],this.selected=new Ri(!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 Si(HD().subtract(1,"year")),this.endYear=new Si(HD()),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:{id:0,beanName:"Publication",title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(l=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:l.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(l),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(l),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=Jn();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(ok,e).afterClosed().subscribe(a=>{a&&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(hi),i.Y36(Qn),i.Y36(In),i.Y36(Ye),i.Y36(Hi),i.Y36(wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:DN}])],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,yN,22,20,"div",3),i.YNc(8,CN,1,0,"mat-spinner",4),i.YNc(9,EN,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:[Yi,T.O5,Wn,is,Ql,sr,wr,T.sg,Po,nD,zt,vd,fd,Ns,uf,_i,wR,cE,dE,CR,s_,Kl],pipes:[Ie],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:mN},{path:"authors",component:gB},{path:"authors/:authorId",component:yV},{path:"authors/:authorId/publication/:publicationId",component:s_},{path:"all-publications/:publicationId",component:s_},{path:"my-publications/:publicationId",component:s_},{path:"categories",component:KB},{path:"publication-systems",component:mV}];let kN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hr.forRoot(HN,{preloadingStrategy:W,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],hr]}),n})();const PN={provide:C.TP,useExisting:(0,i.Gpc)(()=>TS),multi:!0};function RN(n){return new FP(n,"./assets/i18n/",".json")}function LN(n){const o={basePath:n.get("api_url")};return new it(o)}const IN=n=>()=>n.loadConfigs();let ON=(()=>{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(vS),i.LFG(Ye))},n.\u0275mod=i.oAB({type:n,bootstrap:[jP]}),n.\u0275inj=i.cJS({providers:[vS,{provide:i.ip1,useFactory:IN,multi:!0,deps:[zP]},{provide:it,useFactory:LN,deps:[Qn]},TS,PN,{provide:UP,useClass:RH},LO,{provide:_x.Hy,useFactory:()=>localStorage}],imports:[[La,Ot.forRoot({loader:{provide:p,useFactory:RN,deps:[C.eN]}}),lv,XE,qP,Ju,C.JF,kN,Kx,MS,H2,GE,ii,_x.zr.forRoot(),SD]]}),n})();(0,i.G48)(),Ra().bootstrapModule(ON).catch(n=>console.error(n))},1302:function(Y,U,x){var T;!function(i,S){var M={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var S=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(ce,ie,te,he,fe){for(var Re,ze,qe,Ee,we,xe,lt,ke,Oe,Je,de,me,ge;fe>=64;){for(Re=ie[0],ze=ie[1],qe=ie[2],Ee=ie[3],we=ie[4],xe=ie[5],lt=ie[6],ke=ie[7],Je=0;Je<16;Je++)ce[Je]=(255&te[de=he+4*Je])<<24|(255&te[de+1])<<16|(255&te[de+2])<<8|255&te[de+3];for(Je=16;Je<64;Je++)ce[Je]=((me=((Oe=ce[Je-2])>>>17|Oe<<15)^(Oe>>>19|Oe<<13)^Oe>>>10)+ce[Je-7]|0)+((ge=((Oe=ce[Je-15])>>>7|Oe<<25)^(Oe>>>18|Oe<<14)^Oe>>>3)+ce[Je-16]|0);for(Je=0;Je<64;Je++)me=(((we>>>6|we<<26)^(we>>>11|we<<21)^(we>>>25|we<<7))+(we&xe^~we<)|0)+(ke+(S[Je]+ce[Je]|0)|0)|0,ge=((Re>>>2|Re<<30)^(Re>>>13|Re<<19)^(Re>>>22|Re<<10))+(Re&ze^Re&qe^ze&qe)|0,ke=lt,lt=xe,xe=we,we=Ee+me|0,Ee=qe,qe=ze,ze=Re,Re=me+ge|0;ie[0]+=Re,ie[1]+=ze,ie[2]+=qe,ie[3]+=Ee,ie[4]+=we,ie[5]+=xe,ie[6]+=lt,ie[7]+=ke,he+=64,fe-=64}return he}var E=function(){function ce(){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 ce.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},ce.prototype.clean=function(){for(var ie=0;ie0){for(;this.bufferLength<64&&te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;64===this.bufferLength&&(M(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(te>=64&&(he=M(this.temp,this.state,ie,he,te),te%=64);te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;return this},ce.prototype.finish=function(ie){if(!this.finished){var te=this.bytesHashed,he=this.bufferLength,fe=te/536870912|0,Re=te<<3,ze=te%64<56?64:128;this.buffer[he]=128;for(var qe=he+1;qe>>24&255,this.buffer[ze-7]=fe>>>16&255,this.buffer[ze-6]=fe>>>8&255,this.buffer[ze-5]=fe>>>0&255,this.buffer[ze-4]=Re>>>24&255,this.buffer[ze-3]=Re>>>16&255,this.buffer[ze-2]=Re>>>8&255,this.buffer[ze-1]=Re>>>0&255,M(this.temp,this.state,this.buffer,0,ze),this.finished=!0}for(qe=0;qe<8;qe++)ie[4*qe+0]=this.state[qe]>>>24&255,ie[4*qe+1]=this.state[qe]>>>16&255,ie[4*qe+2]=this.state[qe]>>>8&255,ie[4*qe+3]=this.state[qe]>>>0&255;return this},ce.prototype.digest=function(){var ie=new Uint8Array(this.digestLength);return this.finish(ie),ie},ce.prototype._saveState=function(ie){for(var te=0;tethis.blockSize)(new E).update(ie).finish(te).clean();else for(var he=0;he1&&ie.update(ce),te&&ie.update(te),ie.update(he),ie.finish(ce),he[0]++}i.HMAC=P,i.hash=L,i.default=L,i.hmac=V;var J=new Uint8Array(i.digestLength);i.hkdf=function Q(ce,ie,te,he){void 0===ie&&(ie=J),void 0===he&&(he=32);for(var fe=new Uint8Array([1]),Re=V(ie,ce),ze=new P(Re),qe=new Uint8Array(ze.digestLength),Ee=qe.length,we=new Uint8Array(he),xe=0;xe>>24&255,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=lt>>>0&255,fe.reset(),fe.update(ie),fe.update(ze),fe.finish(Ee);for(var ke=0;ke=Q.status}function P(J){try{J.dispatchEvent(new MouseEvent("click"))}catch(oe){var Q=document.createEvent("MouseEvents");Q.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),J.dispatchEvent(Q)}}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,V=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!V?function(J,Q,oe){var ce=L.URL||L.webkitURL,ie=document.createElement("a");ie.download=Q=Q||J.name||"download",ie.rel="noopener","string"==typeof J?(ie.href=J,ie.origin===location.origin?P(ie):E(ie.href)?M(J,Q,oe):P(ie,ie.target="_blank")):(ie.href=ce.createObjectURL(J),setTimeout(function(){ce.revokeObjectURL(ie.href)},4e4),setTimeout(function(){P(ie)},0))}:"msSaveOrOpenBlob"in navigator?function(J,Q,oe){if(Q=Q||J.name||"download","string"!=typeof J)navigator.msSaveOrOpenBlob(function S(J,Q){return void 0===Q?Q={autoBom:!1}:"object"!=typeof Q&&(console.warn("Deprecated: Expected third argument to be a object"),Q={autoBom:!Q}),Q.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(J.type)?new Blob(["\ufeff",J],{type:J.type}):J}(J,oe),Q);else if(E(J))M(J,Q,oe);else{var ce=document.createElement("a");ce.href=J,ce.target="_blank",setTimeout(function(){P(ce)})}}:function(J,Q,oe,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),"string"==typeof J)return M(J,Q,oe);var ie="application/octet-stream"===J.type,te=/constructor/i.test(L.HTMLElement)||L.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||ie&&te||V)&&"undefined"!=typeof FileReader){var fe=new FileReader;fe.onloadend=function(){var qe=fe.result;qe=he?qe:qe.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=qe:location=qe,ce=null},fe.readAsDataURL(J)}else{var Re=L.URL||L.webkitURL,ze=Re.createObjectURL(J);ce?ce.location=ze:location.href=ze,ce=null,setTimeout(function(){Re.revokeObjectURL(ze)},4e4)}});L.saveAs=z.saveAs=z,Y.exports=z}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,x){!function(T){"use strict";T.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(S){return/^nm$/i.test(S)},meridiem:function(S,M,E){return S<12?E?"vm":"VM":E?"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(S){return S+(1===S||8===S||S>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(5439))},2502:function(Y,U,x){!function(T){"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},S={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(V,z,J,Q){var oe=i(V),ce=S[L][i(V)];return 2===oe&&(ce=ce[z?0:1]),ce.replace(/%d/i,V)}},E=["\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"];T.defineLocale("ar-dz",{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(L){return"\u0645"===L},meridiem:function(L,V,z){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}})}(x(5439))},128:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},4519:function(Y,U,x){!function(T){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},S=function(V){return 0===V?0:1===V?1:2===V?2:V%100>=3&&V%100<=10?3:V%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"]},E=function(V){return function(z,J,Q,oe){var ce=S(z),ie=M[V][S(z)];return 2===ce&&(ie=ie[J?0:1]),ie.replace(/%d/i,z)}},P=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-ly",{months:P,monthsShort:P,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(V){return"\u0645"===V},meridiem:function(V,z,J){return V<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(V){return V.replace(/\u060c/g,",")},postformat:function(V){return V.replace(/\d/g,function(z){return i[z]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},5443:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7642:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.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(E){return"\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return S[P]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(x(5439))},8592:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7038:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(z){return 0===z?0:1===z?1:2===z?2:z%100>=3&&z%100<=10?3:z%100>=11?4:5},E={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"]},P=function(z){return function(J,Q,oe,ce){var ie=M(J),te=E[z][M(J)];return 2===ie&&(te=te[Q?0:1]),te.replace(/%d/i,J)}},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"];T.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(z){return"\u0645"===z},meridiem:function(z,J,Q){return z<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:P("s"),ss:P("s"),m:P("m"),mm:P("m"),h:P("h"),hh:P("h"),d:P("d"),dd:P("d"),M:P("M"),MM:P("M"),y:P("y"),yy:P("y")},preparse:function(z){return z.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(J){return S[J]}).replace(/\u060c/g,",")},postformat:function(z){return z.replace(/\d/g,function(J){return i[J]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},1213:function(Y,U,x){!function(T){"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"};T.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,E,P){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 E=M%10;return M+(i[E]||i[M%100-E]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(x(5439))},9191:function(Y,U,x){!function(T){"use strict";function S(E,P,L){return"m"===L?P?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?P?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":E+" "+function i(E,P){var L=E.split("_");return P%10==1&&P%100!=11?L[0]:P%10>=2&&P%10<=4&&(P%100<10||P%100>=20)?L[1]:L[2]}({ss:P?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:P?"\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:P?"\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],+E)}T.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:S,mm:S,h:S,hh:S,d:"\u0434\u0437\u0435\u043d\u044c",dd:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(E)},meridiem:function(E,P,L){return E<4?"\u043d\u043e\u0447\u044b":E<12?"\u0440\u0430\u043d\u0456\u0446\u044b":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(E,P){switch(P){case"M":case"d":case"DDD":case"w":case"W":return E%10!=2&&E%10!=3||E%100==12||E%100==13?E+"-\u044b":E+"-\u0456";case"D":return E+"-\u0433\u0430";default:return E}},week:{dow:1,doy:7}})}(x(5439))},322:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===M?S+"-\u0432\u0438":2===M?S+"-\u0440\u0438":7===M||8===M?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(5439))},8042:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5903:function(Y,U,x){!function(T){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===P?E<4?E:E+12:"\u09ad\u09cb\u09b0"===P||"\u09b8\u0995\u09be\u09b2"===P?E:"\u09a6\u09c1\u09aa\u09c1\u09b0"===P?E>=3?E:E+12:"\u09ac\u09bf\u0995\u09be\u09b2"===P||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u09b0\u09be\u09a4":E<6?"\u09ad\u09cb\u09b0":E<12?"\u09b8\u0995\u09be\u09b2":E<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<18?"\u09ac\u09bf\u0995\u09be\u09b2":E<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(5439))},9620:function(Y,U,x){!function(T){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===P&&E>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===P&&E<5||"\u09ac\u09bf\u0995\u09be\u09b2"===P?E+12:E},meridiem:function(E,P,L){return E<4?"\u09b0\u09be\u09a4":E<10?"\u09b8\u0995\u09be\u09b2":E<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(5439))},9645:function(Y,U,x){!function(T){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},S={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.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(E){return E.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===P&&E>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===P&&E<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===P?E+12:E},meridiem:function(E,P,L){return E<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":E<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":E<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":E<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(x(5439))},5020:function(Y,U,x){!function(T){"use strict";function i(te,he,fe){return te+" "+function E(te,he){return 2===he?function P(te){var he={m:"v",b:"v",d:"z"};return void 0===he[te.charAt(0)]?te:he[te.charAt(0)]+te.substring(1)}(te):te}({mm:"munutenn",MM:"miz",dd:"devezh"}[fe],te)}function M(te){return te>9?M(te%10):te}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],V=/^(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,ce=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.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:ce,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:ce,monthsRegex:V,monthsShortRegex:V,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 S(te){switch(M(te)){case 1:case 3:case 4:case 5:case 9:return te+" bloaz";default:return te+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(te){return te+(1===te?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(te){return"g.m."===te},meridiem:function(te,he,fe){return te<12?"a.m.":"g.m."}})}(x(5439))},4792:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var L=M+" ";switch(P){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return E?"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")}}T.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}})}(x(5439))},7980:function(Y,U,x){!function(T){"use strict";T.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(S,M){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===M||"W"===M)&&(E="a"),S+E},week:{dow:1,doy:4}})}(x(5439))},7322:function(Y,U,x){!function(T){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},S="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],E=/^(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 P(z){return z>1&&z<5&&1!=~~(z/10)}function L(z,J,Q,oe){var ce=z+" ";switch(Q){case"s":return J||oe?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return J||oe?ce+(P(z)?"sekundy":"sekund"):ce+"sekundami";case"m":return J?"minuta":oe?"minutu":"minutou";case"mm":return J||oe?ce+(P(z)?"minuty":"minut"):ce+"minutami";case"h":return J?"hodina":oe?"hodinu":"hodinou";case"hh":return J||oe?ce+(P(z)?"hodiny":"hodin"):ce+"hodinami";case"d":return J||oe?"den":"dnem";case"dd":return J||oe?ce+(P(z)?"dny":"dn\xed"):ce+"dny";case"M":return J||oe?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return J||oe?ce+(P(z)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):ce+"m\u011bs\xedci";case"y":return J||oe?"rok":"rokem";case"yy":return J||oe?ce+(P(z)?"roky":"let"):ce+"lety"}}T.defineLocale("cs",{months:i,monthsShort:S,monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},365:function(Y,U,x){!function(T){"use strict";T.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(S){return S+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(S)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(S)?"\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}})}(x(5439))},2092:function(Y,U,x){!function(T){"use strict";T.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(S){var E="";return S>20?E=40===S||50===S||60===S||80===S||100===S?"fed":"ain":S>0&&(E=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][S]),S+E},week:{dow:1,doy:4}})}(x(5439))},7387:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},9459:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},3694:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},4307:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},9659:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("dv",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,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(E){return"\u0789\u078a"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(x(5439))},3460:function(Y,U,x){!function(T){"use strict";T.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,E){return M?"string"==typeof E&&/D/.test(E.substring(0,E.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,E,P){return M>11?P?"\u03bc\u03bc":"\u039c\u039c":P?"\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,E){var P=this._calendarEl[M],L=E&&E.hours();return function i(M){return"undefined"!=typeof Function&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}(P)&&(P=P.apply(E)),P.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}})}(x(5439))},4369:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(x(5439))},530:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(x(5439))},9998:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},3391:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},5414:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(x(5439))},9615:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(x(5439))},1248:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},3767:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},4530:function(Y,U,x){!function(T){"use strict";T.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(S){return"p"===S.charAt(0).toLowerCase()},meridiem:function(S,M,E){return S>11?E?"p.t.m.":"P.T.M.":E?"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}})}(x(5439))},8944:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},9116:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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"})}(x(5439))},3609:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},6866:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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"})}(x(5439))},6725:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][2]?V[P][2]:V[P][1]:L?V[P][0]:V[P][1]}T.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}})}(x(5439))},7931:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6417:function(Y,U,x){!function(T){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},S={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.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(E){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(E)},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u06f0-\u06f9]/g,function(P){return S[P]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(x(5439))},944:function(Y,U,x){!function(T){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),S=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function M(L,V,z,J){var Q="";switch(z){case"s":return J?"muutaman sekunnin":"muutama sekunti";case"ss":Q=J?"sekunnin":"sekuntia";break;case"m":return J?"minuutin":"minuutti";case"mm":Q=J?"minuutin":"minuuttia";break;case"h":return J?"tunnin":"tunti";case"hh":Q=J?"tunnin":"tuntia";break;case"d":return J?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Q=J?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return J?"kuukauden":"kuukausi";case"MM":Q=J?"kuukauden":"kuukautta";break;case"y":return J?"vuoden":"vuosi";case"yy":Q=J?"vuoden":"vuotta"}return function E(L,V){return L<10?V?S[L]:i[L]:L}(L,J)+" "+Q}T.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}})}(x(5439))},1766:function(Y,U,x){!function(T){"use strict";T.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(S){return S},week:{dow:1,doy:4}})}(x(5439))},5867:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6848:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}}})}(x(5439))},7773:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}},week:{dow:1,doy:4}})}(x(5439))},1636:function(Y,U,x){!function(T){"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,E=[/^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];T.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:E,longMonthsParse:E,shortMonthsParse:E,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,V){switch(V){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}})}(x(5439))},4940:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),S="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(E,P){return E?/-MMM-/.test(P)?S[E.month()]:i[E.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(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(5439))},1402:function(Y,U,x){!function(T){"use strict";T.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(5439))},6924:function(Y,U,x){!function(T){"use strict";T.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(5439))},6398:function(Y,U,x){!function(T){"use strict";T.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(S){return 0===S.indexOf("un")?"n"+S:"en "+S},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}})}(x(5439))},2457:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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?V[P][0]:V[P][1]}T.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,E){return"D"===E?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,E){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===E?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===E?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===E?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===E?M+12:void 0},meridiem:function(M,E,P){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"}})}(x(5439))},2545:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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?V[P][0]:V[P][1]}T.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,E){return"D"===E?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,E){return 12===M&&(M=0),"rati"===E?M<4?M:M+12:"sokallim"===E?M:"donparam"===E?M>12?M:M+12:"sanje"===E?M+12:void 0},meridiem:function(M,E,P){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(x(5439))},2641:function(Y,U,x){!function(T){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},S={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.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(E){return E.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0ab0\u0abe\u0aa4"===P?E<4?E:E+12:"\u0ab8\u0ab5\u0abe\u0ab0"===P?E:"\u0aac\u0aaa\u0acb\u0ab0"===P?E>=10?E:E+12:"\u0ab8\u0abe\u0a82\u0a9c"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0ab0\u0abe\u0aa4":E<10?"\u0ab8\u0ab5\u0abe\u0ab0":E<17?"\u0aac\u0aaa\u0acb\u0ab0":E<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(x(5439))},7536:function(Y,U,x){!function(T){"use strict";T.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(S){return 2===S?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":S+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(S){return 2===S?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":S+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(S){return 2===S?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":S+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(S){return 2===S?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":S%10==0&&10!==S?S+" \u05e9\u05e0\u05d4":S+" \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(S){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(S)},meridiem:function(S,M,E){return S<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":S<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":S<12?E?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":S<18?E?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(x(5439))},6335:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\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];T.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(V){return S[V]})},postformat:function(L){return L.replace(/\d/g,function(V){return i[V]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,V){return 12===L&&(L=0),"\u0930\u093e\u0924"===V?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===V?L:"\u0926\u094b\u092a\u0939\u0930"===V?L>=10?L:L+12:"\u0936\u093e\u092e"===V?L+12:void 0},meridiem:function(L,V,z){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}})}(x(5439))},7458:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var L=M+" ";switch(P){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return E?"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")}}T.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}})}(x(5439))},6540:function(Y,U,x){!function(T){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function S(P,L,V,z){var J=P;switch(V){case"s":return z||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return J+(z||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(z||L?" perc":" perce");case"mm":return J+(z||L?" perc":" perce");case"h":return"egy"+(z||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return J+(z||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(z||L?" nap":" napja");case"dd":return J+(z||L?" nap":" napja");case"M":return"egy"+(z||L?" h\xf3nap":" h\xf3napja");case"MM":return J+(z||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(z||L?" \xe9v":" \xe9ve");case"yy":return J+(z||L?" \xe9v":" \xe9ve")}return""}function M(P){return(P?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}T.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(P){return"u"===P.charAt(1).toLowerCase()},meridiem:function(P,L,V){return P<12?!0===V?"de":"DE":!0===V?"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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},5283:function(Y,U,x){!function(T){"use strict";T.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(S){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(S)},meridiem:function(S){return S<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":S<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":S<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(S,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===S?S+"-\u056b\u0576":S+"-\u0580\u0564";default:return S}},week:{dow:1,doy:7}})}(x(5439))},8780:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"siang"===M?S>=11?S:S+12:"sore"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"siang":S<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}})}(x(5439))},4205:function(Y,U,x){!function(T){"use strict";function i(E){return E%100==11||E%10!=1}function S(E,P,L,V){var z=E+" ";switch(L){case"s":return P||V?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(E)?z+(P||V?"sek\xfandur":"sek\xfandum"):z+"sek\xfanda";case"m":return P?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(E)?z+(P||V?"m\xedn\xfatur":"m\xedn\xfatum"):P?z+"m\xedn\xfata":z+"m\xedn\xfatu";case"hh":return i(E)?z+(P||V?"klukkustundir":"klukkustundum"):z+"klukkustund";case"d":return P?"dagur":V?"dag":"degi";case"dd":return i(E)?P?z+"dagar":z+(V?"daga":"d\xf6gum"):P?z+"dagur":z+(V?"dag":"degi");case"M":return P?"m\xe1nu\xf0ur":V?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(E)?P?z+"m\xe1nu\xf0ir":z+(V?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):P?z+"m\xe1nu\xf0ur":z+(V?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return P||V?"\xe1r":"\xe1ri";case"yy":return i(E)?z+(P||V?"\xe1r":"\xe1rum"):z+(P||V?"\xe1r":"\xe1ri")}}T.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:S,ss:S,m:S,mm:S,h:"klukkustund",hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},9985:function(Y,U,x){!function(T){"use strict";T.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(S){return(/^[0-9].+$/.test(S)?"tra":"in")+" "+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",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}})}(x(5439))},4211:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},1003:function(Y,U,x){!function(T){"use strict";T.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(S,M){return"\u5143"===M[1]?1:parseInt(M[1]||S,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(S){return"\u5348\u5f8c"===S},meridiem:function(S,M,E){return S<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(S){return S.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(S){return this.week()!==S.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(S,M){switch(M){case"y":return 1===S?"\u5143\u5e74":S+"\u5e74";case"d":case"D":case"DDD":return S+"\u65e5";default:return S}},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"}})}(x(5439))},420:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"enjing"===M?S:"siyang"===M?S>=11?S:S+12:"sonten"===M||"ndalu"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"enjing":S<15?"siyang":S<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}})}(x(5439))},851:function(Y,U,x){!function(T){"use strict";T.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(S){return S.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,E,P){return"\u10d8"===P?E+"\u10e8\u10d8":E+P+"\u10e8\u10d8"})},past:function(S){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(S)?S.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(S)?S.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):S},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(S){return 0===S?S:1===S?S+"-\u10da\u10d8":S<20||S<=100&&S%20==0||S%100==0?"\u10db\u10d4-"+S:S+"-\u10d4"},week:{dow:1,doy:7}})}(x(5439))},6074:function(Y,U,x){!function(T){"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"};T.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}})}(x(5439))},3343:function(Y,U,x){!function(T){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},S={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.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(E){return"\u179b\u17d2\u1784\u17b6\u1785"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},week:{dow:1,doy:4}})}(x(5439))},4799:function(Y,U,x){!function(T){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},S={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.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(E){return E.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===P?E<4?E:E+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===P?E:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===P?E>=10?E:E+12:"\u0cb8\u0c82\u0c9c\u0cc6"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":E<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":E<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":E<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(E){return E+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(x(5439))},3549:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\uc77c";case"M":return S+"\uc6d4";case"w":case"W":return S+"\uc8fc";default:return S}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(S){return"\uc624\ud6c4"===S},meridiem:function(S,M,E){return S<12?"\uc624\uc804":"\uc624\ud6c4"}})}(x(5439))},1037:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\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"];T.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(P){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(P)},meridiem:function(P,L,V){return P<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(P){return P.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return S[L]}).replace(/\u060c/g,",")},postformat:function(P){return P.replace(/\d/g,function(L){return i[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},3125:function(Y,U,x){!function(T){"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"};T.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}})}(x(5439))},9586:function(Y,U,x){!function(T){"use strict";function i(L,V,z,J){var Q={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 V?Q[z][0]:Q[z][1]}function E(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 V=L%10;return E(0===V?L/10:V)}if(L<1e4){for(;L>=10;)L/=10;return E(L)}return E(L/=1e3)}T.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 S(L){return E(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function M(L){return E(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}})}(x(5439))},2349:function(Y,U,x){!function(T){"use strict";T.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(S){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===S},meridiem:function(S,M,E){return S<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(S){return"\u0e97\u0eb5\u0ec8"+S}})}(x(5439))},2400:function(Y,U,x){!function(T){"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(z,J,Q,oe){return J?P(Q)[0]:oe?P(Q)[1]:P(Q)[2]}function E(z){return z%10==0||z>10&&z<20}function P(z){return i[z].split("_")}function L(z,J,Q,oe){var ce=z+" ";return 1===z?ce+M(0,J,Q[0],oe):J?ce+(E(z)?P(Q)[1]:P(Q)[0]):oe?ce+P(Q)[1]:ce+(E(z)?P(Q)[1]:P(Q)[2])}T.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 S(z,J,Q,oe){return J?"kelios sekund\u0117s":oe?"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(z){return z+"-oji"},week:{dow:1,doy:4}})}(x(5439))},9991:function(Y,U,x){!function(T){"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 S(V,z,J){return J?z%10==1&&z%100!=11?V[2]:V[3]:z%10==1&&z%100!=11?V[0]:V[1]}function M(V,z,J){return V+" "+S(i[J],V,z)}function E(V,z,J){return S(i[J],V,z)}T.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 P(V,z){return z?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:M,m:E,mm:M,h:E,hh:M,d:E,dd:M,M:E,MM:M,y:E,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8477:function(Y,U,x){!function(T){"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,E){return 1===M?E[0]:M>=2&&M<=4?E[1]:E[2]},translate:function(M,E,P){var L=i.words[P];return 1===P.length?E?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};T.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}})}(x(5439))},5118:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5943:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===M?S+"-\u0432\u0438":2===M?S+"-\u0440\u0438":7===M||8===M?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(5439))},3849:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&S>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?S+12:S},meridiem:function(S,M,E){return S<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":S<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":S<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":S<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(x(5439))},1977:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){switch(P){case"s":return E?"\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+(E?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(E?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(E?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(E?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(E?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(E?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}T.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,E,P){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,E){switch(E){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(x(5439))},6184:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(P,L,V,z){var J="";if(L)switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":J="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":J="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":J="%d \u0924\u093e\u0938";break;case"d":J="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":J="%d \u0926\u093f\u0935\u0938";break;case"M":J="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":J="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u0947"}else switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":J="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":J="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":J="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":J="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":J="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":J="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":J="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return J.replace(/%d/i,P)}T.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(P){return P.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return S[L]})},postformat:function(P){return P.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(P,L){return 12===P&&(P=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?P:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?P>=12?P:P+12:void 0},meridiem:function(P,L,V){return P>=0&&P<6?"\u092a\u0939\u093e\u091f\u0947":P<12?"\u0938\u0915\u093e\u0933\u0940":P<17?"\u0926\u0941\u092a\u093e\u0930\u0940":P<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(x(5439))},4524:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"tengahari"===M?S>=11?S:S+12:"petang"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(x(5439))},485:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"tengahari"===M?S>=11?S:S+12:"petang"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(x(5439))},6681:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2024:function(Y,U,x){!function(T){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},S={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.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(E){return E.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},week:{dow:1,doy:4}})}(x(5439))},2688:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},8914:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.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(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0930\u093e\u0924\u093f"===P?E<4?E:E+12:"\u092c\u093f\u0939\u093e\u0928"===P?E:"\u0926\u093f\u0909\u0901\u0938\u094b"===P?E>=10?E:E+12:"\u0938\u093e\u0901\u091d"===P?E+12:void 0},meridiem:function(E,P,L){return E<3?"\u0930\u093e\u0924\u093f":E<12?"\u092c\u093f\u0939\u093e\u0928":E<16?"\u0926\u093f\u0909\u0901\u0938\u094b":E<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}})}(x(5439))},2272:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="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],E=/^(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;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},1758:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="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],E=/^(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;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},1510:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2797:function(Y,U,x){!function(T){"use strict";T.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(S,M){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===M||"W"===M)&&(E="a"),S+E},week:{dow:1,doy:4}})}(x(5439))},7944:function(Y,U,x){!function(T){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},S={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.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(E){return E.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0a30\u0a3e\u0a24"===P?E<4?E:E+12:"\u0a38\u0a35\u0a47\u0a30"===P?E:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===P?E>=10?E:E+12:"\u0a38\u0a3c\u0a3e\u0a2e"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0a30\u0a3e\u0a24":E<10?"\u0a38\u0a35\u0a47\u0a30":E<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":E<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(x(5439))},1605:function(Y,U,x){!function(T){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),S="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 E(V){return V%10<5&&V%10>1&&~~(V/10)%10!=1}function P(V,z,J){var Q=V+" ";switch(J){case"ss":return Q+(E(V)?"sekundy":"sekund");case"m":return z?"minuta":"minut\u0119";case"mm":return Q+(E(V)?"minuty":"minut");case"h":return z?"godzina":"godzin\u0119";case"hh":return Q+(E(V)?"godziny":"godzin");case"ww":return Q+(E(V)?"tygodnie":"tygodni");case"MM":return Q+(E(V)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Q+(E(V)?"lata":"lat")}}T.defineLocale("pl",{months:function(V,z){return V?/D MMMM/.test(z)?S[V.month()]:i[V.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:P,m:P,mm:P,h:P,hh:P,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:P,M:"miesi\u0105c",MM:P,y:"rok",yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},3840:function(Y,U,x){!function(T){"use strict";T.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"})}(x(5439))},4225:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5128:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var V=" ";return(M%100>=20||M>=100&&M%100==0)&&(V=" de "),M+V+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[P]}T.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}})}(x(5439))},5127:function(Y,U,x){!function(T){"use strict";function S(P,L,V){return"m"===V?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":P+" "+function i(P,L){var V=P.split("_");return L%10==1&&L%100!=11?V[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?V[1]:V[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"}[V],+P)}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];T.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(P){if(P.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(P){if(P.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:S,m:S,mm:S,h:"\u0447\u0430\u0441",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(P){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(P)},meridiem:function(P,L,V){return P<4?"\u043d\u043e\u0447\u0438":P<12?"\u0443\u0442\u0440\u0430":P<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(P,L){switch(L){case"M":case"d":case"DDD":return P+"-\u0439";case"D":return P+"-\u0433\u043e";case"w":case"W":return P+"-\u044f";default:return P}},week:{dow:1,doy:4}})}(x(5439))},2525:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("sd",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(5439))},9893:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},3123:function(Y,U,x){!function(T){"use strict";T.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(S){return S+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(S){return"\u0db4.\u0dc0."===S||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===S},meridiem:function(S,M,E){return S>11?E?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":E?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(x(5439))},9635:function(Y,U,x){!function(T){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),S="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 E(L,V,z,J){var Q=L+" ";switch(z){case"s":return V||J?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return V||J?Q+(M(L)?"sekundy":"sek\xfand"):Q+"sekundami";case"m":return V?"min\xfata":J?"min\xfatu":"min\xfatou";case"mm":return V||J?Q+(M(L)?"min\xfaty":"min\xfat"):Q+"min\xfatami";case"h":return V?"hodina":J?"hodinu":"hodinou";case"hh":return V||J?Q+(M(L)?"hodiny":"hod\xedn"):Q+"hodinami";case"d":return V||J?"de\u0148":"d\u0148om";case"dd":return V||J?Q+(M(L)?"dni":"dn\xed"):Q+"d\u0148ami";case"M":return V||J?"mesiac":"mesiacom";case"MM":return V||J?Q+(M(L)?"mesiace":"mesiacov"):Q+"mesiacmi";case"y":return V||J?"rok":"rokom";case"yy":return V||J?Q+(M(L)?"roky":"rokov"):Q+"rokmi"}}T.defineLocale("sk",{months:i,monthsShort:S,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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8106:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V=M+" ";switch(P){case"s":return E||L?"nekaj sekund":"nekaj sekundami";case"ss":return V+(1===M?E?"sekundo":"sekundi":2===M?E||L?"sekundi":"sekundah":M<5?E||L?"sekunde":"sekundah":"sekund");case"m":return E?"ena minuta":"eno minuto";case"mm":return V+(1===M?E?"minuta":"minuto":2===M?E||L?"minuti":"minutama":M<5?E||L?"minute":"minutami":E||L?"minut":"minutami");case"h":return E?"ena ura":"eno uro";case"hh":return V+(1===M?E?"ura":"uro":2===M?E||L?"uri":"urama":M<5?E||L?"ure":"urami":E||L?"ur":"urami");case"d":return E||L?"en dan":"enim dnem";case"dd":return V+(1===M?E||L?"dan":"dnem":2===M?E||L?"dni":"dnevoma":E||L?"dni":"dnevi");case"M":return E||L?"en mesec":"enim mesecem";case"MM":return V+(1===M?E||L?"mesec":"mesecem":2===M?E||L?"meseca":"mesecema":M<5?E||L?"mesece":"meseci":E||L?"mesecev":"meseci");case"y":return E||L?"eno leto":"enim letom";case"yy":return V+(1===M?E||L?"leto":"letom":2===M?E||L?"leti":"letoma":M<5?E||L?"leta":"leti":E||L?"let":"leti")}}T.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}})}(x(5439))},8799:function(Y,U,x){!function(T){"use strict";T.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(S){return"M"===S.charAt(0)},meridiem:function(S,M,E){return S<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}})}(x(5439))},2872:function(Y,U,x){!function(T){"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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(M,E){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?E[0]:E[1]:E[2]},translate:function(M,E,P,L){var z,V=i.words[P];return 1===P.length?"y"===P&&E?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":L||E?V[0]:V[1]:(z=i.correctGrammaticalCase(M,V),"yy"===P&&E&&"\u0433\u043e\u0434\u0438\u043d\u0443"===z?M+" \u0433\u043e\u0434\u0438\u043d\u0430":M+" "+z)}};T.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(5439))},7949:function(Y,U,x){!function(T){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(M,E){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?E[0]:E[1]:E[2]},translate:function(M,E,P,L){var z,V=i.words[P];return 1===P.length?"y"===P&&E?"jedna godina":L||E?V[0]:V[1]:(z=i.correctGrammaticalCase(M,V),"yy"===P&&E&&"godinu"===z?M+" godina":M+" "+z)}};T.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(5439))},6167:function(Y,U,x){!function(T){"use strict";T.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(S,M,E){return S<11?"ekuseni":S<15?"emini":S<19?"entsambama":"ebusuku"},meridiemHour:function(S,M){return 12===S&&(S=0),"ekuseni"===M?S:"emini"===M?S>=11?S:S+12:"entsambama"===M||"ebusuku"===M?0===S?0:S+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(x(5439))},9713:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(x(5439))},1982:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2732:function(Y,U,x){!function(T){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},S={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.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(E){return E+"\u0bb5\u0ba4\u0bc1"},preparse:function(E){return E.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P,L){return E<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":E<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":E<10?" \u0b95\u0bbe\u0bb2\u0bc8":E<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":E<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":E<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(E,P){return 12===E&&(E=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===P?E<2?E:E+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===P||"\u0b95\u0bbe\u0bb2\u0bc8"===P||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===P&&E>=10?E:E+12},week:{dow:0,doy:6}})}(x(5439))},3636:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?S<4?S:S+12:"\u0c09\u0c26\u0c2f\u0c02"===M?S:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?S>=10?S:S+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?S+12:void 0},meridiem:function(S,M,E){return S<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":S<10?"\u0c09\u0c26\u0c2f\u0c02":S<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":S<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(x(5439))},2115:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},9801:function(Y,U,x){!function(T){"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"};T.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,E){return 12===M&&(M=0),"\u0448\u0430\u0431"===E?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===E?M:"\u0440\u04ef\u0437"===E?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===E?M+12:void 0},meridiem:function(M,E,P){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}})}(x(5439))},2868:function(Y,U,x){!function(T){"use strict";T.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(S){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===S},meridiem:function(S,M,E){return S<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"}})}(x(5439))},1310:function(Y,U,x){!function(T){"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"};T.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,E){switch(E){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var P=M%10;return M+(i[P]||i[M%100-P]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(x(5439))},2360:function(Y,U,x){!function(T){"use strict";T.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(S){return S},week:{dow:1,doy:4}})}(x(5439))},6645:function(Y,U,x){!function(T){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function E(V,z,J,Q){var oe=function P(V){var z=Math.floor(V%1e3/100),J=Math.floor(V%100/10),Q=V%10,oe="";return z>0&&(oe+=i[z]+"vatlh"),J>0&&(oe+=(""!==oe?" ":"")+i[J]+"maH"),Q>0&&(oe+=(""!==oe?" ":"")+i[Q]),""===oe?"pagh":oe}(V);switch(J){case"ss":return oe+" lup";case"mm":return oe+" tup";case"hh":return oe+" rep";case"dd":return oe+" jaj";case"MM":return oe+" jar";case"yy":return oe+" DIS"}}T.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 S(V){var z=V;return-1!==V.indexOf("jaj")?z.slice(0,-3)+"leS":-1!==V.indexOf("jar")?z.slice(0,-3)+"waQ":-1!==V.indexOf("DIS")?z.slice(0,-3)+"nem":z+" pIq"},past:function M(V){var z=V;return-1!==V.indexOf("jaj")?z.slice(0,-3)+"Hu\u2019":-1!==V.indexOf("jar")?z.slice(0,-3)+"wen":-1!==V.indexOf("DIS")?z.slice(0,-3)+"ben":z+" ret"},s:"puS lup",ss:E,m:"wa\u2019 tup",mm:E,h:"wa\u2019 rep",hh:E,d:"wa\u2019 jaj",dd:E,M:"wa\u2019 jar",MM:E,y:"wa\u2019 DIS",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8374:function(Y,U,x){!function(T){"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"};T.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(M,E,P){return M<12?P?"\xf6\xf6":"\xd6\xd6":P?"\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,E){switch(E){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var P=M%10;return M+(i[P]||i[M%100-P]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(x(5439))},256:function(Y,U,x){!function(T){"use strict";function S(M,E,P,L){var V={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||E?V[P][0]:V[P][1]}T.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,E,P){return M>11?P?"d'o":"D'O":P?"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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},1631:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},1595:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6050:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=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?S:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?S+12:S>=11?S:S+12},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":P<900?"\u0633\u06d5\u06be\u06d5\u0631":P<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":P<1230?"\u0686\u06c8\u0634":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return S+"-\u06be\u06d5\u067e\u062a\u06d5";default:return S}},preparse:function(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(x(5439))},5610:function(Y,U,x){!function(T){"use strict";function S(L,V,z){return"m"===z?V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===z?V?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function i(L,V){var z=L.split("_");return V%10==1&&V%100!=11?z[0]:V%10>=2&&V%10<=4&&(V%100<10||V%100>=20)?z[1]:z[2]}({ss:V?"\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:V?"\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:V?"\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"}[z],+L)}function E(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.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,V){var z={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?z.nominative.slice(1,7).concat(z.nominative.slice(0,1)):L?z[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(V)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(V)?"genitive":"nominative"][L.day()]:z.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:E("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:E("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:E("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:E("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return E("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return E("[\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:S,m:S,mm:S,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:S,y:"\u0440\u0456\u043a",yy:S},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,V,z){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,V){switch(V){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}})}(x(5439))},6077:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("ur",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(5439))},2207:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2862:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},8093:function(Y,U,x){!function(T){"use strict";T.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(S){return/^ch$/i.test(S)},meridiem:function(S,M,E){return S<12?E?"sa":"SA":E?"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(S){return S},week:{dow:1,doy:4}})}(x(5439))},5590:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},9058:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7908:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:S>=11?S:S+12},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(S){return S.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(S){return this.week()!==S.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u5468";default:return S}},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}})}(x(5439))},8867:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1200?"\u4e0a\u5348":1200===P?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},1133:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},3291:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},5439:function(Y,U,x){(Y=x.nmd(Y)).exports=function(){"use strict";var T,he;function i(){return T.apply(null,arguments)}function M(v){return v instanceof Array||"[object Array]"===Object.prototype.toString.call(v)}function E(v){return null!=v&&"[object Object]"===Object.prototype.toString.call(v)}function P(v,H){return Object.prototype.hasOwnProperty.call(v,H)}function L(v){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(v).length;var H;for(H in v)if(P(v,H))return!1;return!0}function V(v){return void 0===v}function z(v){return"number"==typeof v||"[object Number]"===Object.prototype.toString.call(v)}function J(v){return v instanceof Date||"[object Date]"===Object.prototype.toString.call(v)}function Q(v,H){var F,I=[],W=v.length;for(F=0;F>>0;for(F=0;F0)for(I=0;I=0?I?"+":"":"-")+Math.pow(10,Math.max(0,H-F.length)).toString().substr(1)+F}var ri=/(\[[^\[]*\])|(\\)?([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,tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Li={},An={};function $e(v,H,I,F){var W=F;"string"==typeof F&&(W=function(){return this[F]()}),v&&(An[v]=W),H&&(An[H[0]]=function(){return jt(W.apply(this,arguments),H[1],H[2])}),I&&(An[I]=function(){return this.localeData().ordinal(W.apply(this,arguments),v)})}function Kt(v){return v.match(/\[[\s\S]/)?v.replace(/^\[|\]$/g,""):v.replace(/\\/g,"")}function cn(v,H){return v.isValid()?(H=zi(H,v.localeData()),Li[H]=Li[H]||function Mr(v){var I,F,H=v.match(ri);for(I=0,F=H.length;I=0&&tt.test(v);)v=v.replace(tt,F),tt.lastIndex=0,I-=1;return v}var Ii={};function Xt(v,H){var I=v.toLowerCase();Ii[I]=Ii[I+"s"]=Ii[H]=v}function dn(v){return"string"==typeof v?Ii[v]||Ii[v.toLowerCase()]:void 0}function Me(v){var I,F,H={};for(F in v)P(v,F)&&(I=dn(F))&&(H[I]=v[F]);return H}var le={};function ae(v,H){le[v]=H}function He(v){return v%4==0&&v%100!=0||v%400==0}function Ne(v){return v<0?Math.ceil(v)||0:Math.floor(v)}function ve(v){var H=+v,I=0;return 0!==H&&isFinite(H)&&(I=Ne(H)),I}function Xe(v,H){return function(I){return null!=I?(Ei(this,v,I),i.updateOffset(this,H),this):Ht(this,v)}}function Ht(v,H){return v.isValid()?v._d["get"+(v._isUTC?"UTC":"")+H]():NaN}function Ei(v,H,I){v.isValid()&&!isNaN(I)&&("FullYear"===H&&He(v.year())&&1===v.month()&&29===v.date()?(I=ve(I),v._d["set"+(v._isUTC?"UTC":"")+H](I,v.month(),bi(I,v.month()))):v._d["set"+(v._isUTC?"UTC":"")+H](I))}var C,Di=/\d/,ct=/\d\d/,et=/\d{3}/,vn=/\d{4}/,Nt=/[+-]?\d{6}/,At=/\d\d?/,Kn=/\d\d\d\d?/,Bn=/\d\d\d\d\d\d?/,Tn=/\d{1,3}/,uc=/\d{1,4}/,Ia=/[+-]?\d{1,6}/,ea=/\d+/,ta=/[+-]?\d+/,Vn=/Z|[+-]\d\d:?\d\d/gi,os=/Z|[+-]\d\d(?::?\d\d)?/gi,qs=/[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 je(v,H,I){C[v]=de(H)?H:function(F,W){return F&&I?I:H}}function ui(v,H){return P(C,v)?C[v](H._strict,H._locale):new RegExp(function Qi(v){return it(v.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(H,I,F,W,se){return I||F||W||se}))}(v))}function it(v){return v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}C={};var Xn={};function wt(v,H){var I,W,F=H;for("string"==typeof v&&(v=[v]),z(H)&&(F=function(se,be){be[H]=ve(se)}),W=v.length,I=0;I68?1900:2e3)};var bn=Xe("FullYear",!0);function Qo(v,H,I,F,W,se,be){var st;return v<100&&v>=0?(st=new Date(v+400,H,I,F,W,se,be),isFinite(st.getFullYear())&&st.setFullYear(v)):st=new Date(v,H,I,F,W,se,be),st}function ja(v){var H,I;return v<100&&v>=0?((I=Array.prototype.slice.call(arguments))[0]=v+400,H=new Date(Date.UTC.apply(null,I)),isFinite(H.getUTCFullYear())&&H.setUTCFullYear(v)):H=new Date(Date.UTC.apply(null,arguments)),H}function na(v,H,I){var F=7+H-I;return-(7+ja(v,0,F).getUTCDay()-H)%7+F-1}function Nn(v,H,I,F,W){var gt,Qt,st=1+7*(H-1)+(7+I-F)%7+na(v,F,W);return st<=0?Qt=Va(gt=v-1)+st:st>Va(v)?(gt=v+1,Qt=st-Va(v)):(gt=v,Qt=st),{year:gt,dayOfYear:Qt}}function ds(v,H,I){var se,be,F=na(v.year(),H,I),W=Math.floor((v.dayOfYear()-F-1)/7)+1;return W<1?se=W+Dr(be=v.year()-1,H,I):W>Dr(v.year(),H,I)?(se=W-Dr(v.year(),H,I),be=v.year()+1):(be=v.year(),se=W),{week:se,year:be}}function Dr(v,H,I){var F=na(v,H,I),W=na(v+1,H,I);return(Va(v)-F+W)/7}$e("w",["ww",2],"wo","week"),$e("W",["WW",2],"Wo","isoWeek"),Xt("week","w"),Xt("isoWeek","W"),ae("week",5),ae("isoWeek",5),je("w",At),je("ww",At,ct),je("W",At),je("WW",At,ct),Oi(["w","ww","W","WW"],function(v,H,I,F){H[F.substr(0,1)]=ve(v)});function xt(v,H){return v.slice(H,7).concat(v.slice(0,H))}$e("d",0,"do","day"),$e("dd",0,0,function(v){return this.localeData().weekdaysMin(this,v)}),$e("ddd",0,0,function(v){return this.localeData().weekdaysShort(this,v)}),$e("dddd",0,0,function(v){return this.localeData().weekdays(this,v)}),$e("e",0,0,"weekday"),$e("E",0,0,"isoWeekday"),Xt("day","d"),Xt("weekday","e"),Xt("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),je("d",At),je("e",At),je("E",At),je("dd",function(v,H){return H.weekdaysMinRegex(v)}),je("ddd",function(v,H){return H.weekdaysShortRegex(v)}),je("dddd",function(v,H){return H.weekdaysRegex(v)}),Oi(["dd","ddd","dddd"],function(v,H,I,F){var W=I._locale.weekdaysParse(v,F,I._strict);null!=W?H.d=W:te(I).invalidWeekday=v}),Oi(["d","e","E"],function(v,H,I,F){H[F]=ve(v)});var ra="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=qs,Pe=qs,Ki=qs;function us(v,H,I){var F,W,se,be=v.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=ce([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 I?"dddd"===H?-1!==(W=ti.call(this._weekdaysParse,be))?W:null:"ddd"===H?-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"dddd"===H?-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"ddd"===H?-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null}function mc(){function v(ki,pa){return pa.length-ki.length}var se,be,st,gt,Qt,H=[],I=[],F=[],W=[];for(se=0;se<7;se++)be=ce([2e3,1]).day(se),st=it(this.weekdaysMin(be,"")),gt=it(this.weekdaysShort(be,"")),Qt=it(this.weekdays(be,"")),H.push(st),I.push(gt),F.push(Qt),W.push(st),W.push(gt),W.push(Qt);H.sort(v),I.sort(v),F.sort(v),W.sort(v),this._weekdaysRegex=new RegExp("^("+W.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+H.join("|")+")","i")}function ft(){return this.hours()%12||12}function Yt(v,H){$e(v,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),H)})}function fs(v,H){return H._meridiemParse}$e("H",["HH",2],0,"hour"),$e("h",["hh",2],0,ft),$e("k",["kk",2],0,function qi(){return this.hours()||24}),$e("hmm",0,0,function(){return""+ft.apply(this)+jt(this.minutes(),2)}),$e("hmmss",0,0,function(){return""+ft.apply(this)+jt(this.minutes(),2)+jt(this.seconds(),2)}),$e("Hmm",0,0,function(){return""+this.hours()+jt(this.minutes(),2)}),$e("Hmmss",0,0,function(){return""+this.hours()+jt(this.minutes(),2)+jt(this.seconds(),2)}),Yt("a",!0),Yt("A",!1),Xt("hour","h"),ae("hour",13),je("a",fs),je("A",fs),je("H",At),je("h",At),je("k",At),je("HH",At,ct),je("hh",At,ct),je("kk",At,ct),je("hmm",Kn),je("hmmss",Bn),je("Hmm",Kn),je("Hmmss",Bn),wt(["H","HH"],3),wt(["k","kk"],function(v,H,I){var F=ve(v);H[3]=24===F?0:F}),wt(["a","A"],function(v,H,I){I._isPm=I._locale.isPM(v),I._meridiem=v}),wt(["h","hh"],function(v,H,I){H[3]=ve(v),te(I).bigHour=!0}),wt("hmm",function(v,H,I){var F=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F)),te(I).bigHour=!0}),wt("hmmss",function(v,H,I){var F=v.length-4,W=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F,2)),H[5]=ve(v.substr(W)),te(I).bigHour=!0}),wt("Hmm",function(v,H,I){var F=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F))}),wt("Hmmss",function(v,H,I){var F=v.length-4,W=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F,2)),H[5]=ve(v.substr(W))});var Ko=Xe("Hours",!0);var aa,Hr={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:or,monthsShort:oi,week:{dow:0,doy:6},weekdays:ra,weekdaysMin:xn,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},ci={},ms={};function Xo(v,H){var I,F=Math.min(v.length,H.length);for(I=0;I0;){if(W=O(se.slice(0,I).join("-")))return W;if(F&&F.length>=I&&Xo(se,F)>=I-1)break;I--}H++}return aa}(v)}function Te(v){var H,I=v._a;return I&&-2===te(v).overflow&&(H=I[1]<0||I[1]>11?1:I[2]<1||I[2]>bi(I[0],I[1])?2:I[3]<0||I[3]>24||24===I[3]&&(0!==I[4]||0!==I[5]||0!==I[6])?3:I[4]<0||I[4]>59?4:I[5]<0||I[5]>59?5:I[6]<0||I[6]>999?6:-1,te(v)._overflowDayOfYear&&(H<0||H>2)&&(H=2),te(v)._overflowWeeks&&-1===H&&(H=7),te(v)._overflowWeekday&&-1===H&&(H=8),te(v).overflow=H),v}var rt=/^\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)?)?$/,ai=/^\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)?)?$/,$t=/Z|[+-]\d\d(?::?\d\d)?/,kt=[["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]],Vt=[["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/]],Vi=/^\/?Date\((-?\d+)/i,di=/^(?:(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}))$/,pi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function sa(v){var H,I,se,be,st,gt,F=v._i,W=rt.exec(F)||ai.exec(F),Qt=kt.length,ki=Vt.length;if(W){for(te(v).iso=!0,H=0,I=Qt;H7)&&(gt=!0)):(se=v._locale._week.dow,be=v._locale._week.doy,Qt=ds(fi(),se,be),I=bs(H.gg,v._a[0],Qt.year),F=bs(H.w,Qt.week),null!=H.d?((W=H.d)<0||W>6)&&(gt=!0):null!=H.e?(W=H.e+se,(H.e<0||H.e>6)&&(gt=!0)):W=se),F<1||F>Dr(I,se,be)?te(v)._overflowWeeks=!0:null!=gt?te(v)._overflowWeekday=!0:(st=Nn(I,F,W,se,be),v._a[0]=st.year,v._dayOfYear=st.dayOfYear)}(v),null!=v._dayOfYear&&(be=bs(v._a[0],W[0]),(v._dayOfYear>Va(be)||0===v._dayOfYear)&&(te(v)._overflowDayOfYear=!0),I=ja(be,0,v._dayOfYear),v._a[1]=I.getUTCMonth(),v._a[2]=I.getUTCDate()),H=0;H<3&&null==v._a[H];++H)v._a[H]=F[H]=W[H];for(;H<7;H++)v._a[H]=F[H]=null==v._a[H]?2===H?1:0:v._a[H];24===v._a[3]&&0===v._a[4]&&0===v._a[5]&&0===v._a[6]&&(v._nextDay=!0,v._a[3]=0),v._d=(v._useUTC?ja:Qo).apply(null,F),se=v._useUTC?v._d.getUTCDay():v._d.getDay(),null!=v._tzm&&v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),v._nextDay&&(v._a[3]=24),v._w&&void 0!==v._w.d&&v._w.d!==se&&(te(v).weekdayMismatch=!0)}}function gc(v){if(v._f!==i.ISO_8601)if(v._f!==i.RFC_2822){v._a=[],te(v).empty=!0;var I,F,W,se,be,Qt,ki,H=""+v._i,st=H.length,gt=0;for(ki=(W=zi(v._f,v._locale).match(ri)||[]).length,I=0;I0&&te(v).unusedInput.push(be),H=H.slice(H.indexOf(F)+F.length),gt+=F.length),An[se]?(F?te(v).empty=!1:te(v).unusedTokens.push(se),hi(se,F,v)):v._strict&&!F&&te(v).unusedTokens.push(se);te(v).charsLeftOver=st-gt,H.length>0&&te(v).unusedInput.push(H),v._a[3]<=12&&!0===te(v).bigHour&&v._a[3]>0&&(te(v).bigHour=void 0),te(v).parsedDateParts=v._a.slice(0),te(v).meridiem=v._meridiem,v._a[3]=function si(v,H,I){var F;return null==I?H:null!=v.meridiemHour?v.meridiemHour(H,I):(null!=v.isPM&&((F=v.isPM(I))&&H<12&&(H+=12),!F&&12===H&&(H=0)),H)}(v._locale,v._a[3],v._meridiem),null!==(Qt=te(v).era)&&(v._a[0]=v._locale.erasConvertYear(Qt,v._a[0])),De(v),Te(v)}else tl(v);else sa(v)}function kd(v){var H=v._i,I=v._f;return v._locale=v._locale||ne(v._l),null===H||void 0===I&&""===H?Re({nullInput:!0}):("string"==typeof H&&(v._i=H=v._locale.preparse(H)),xe(H)?new we(Te(H)):(J(H)?v._d=H:M(I)?function Hd(v){var H,I,F,W,se,be,st=!1,gt=v._f.length;if(0===gt)return te(v).invalidFormat=!0,void(v._d=new Date(NaN));for(W=0;Wthis?this:v:Re()});function an(v,H){var I,F;if(1===H.length&&M(H[0])&&(H=H[0]),!H.length)return fi();for(I=H[0],F=1;F=0?new Date(v+400,H,I)-hl:new Date(v,H,I).valueOf()}function Ec(v,H,I){return v<100&&v>=0?Date.UTC(v+400,H,I)-hl:Date.UTC(v,H,I)}function fl(v,H){return H.erasAbbrRegex(v)}function ml(){var W,se,v=[],H=[],I=[],F=[],be=this.eras();for(W=0,se=be.length;W(se=Dr(v,F,W))&&(H=se),_l.call(this,v,H,I,F,W))}function _l(v,H,I,F,W){var se=Nn(v,H,I,F,W),be=ja(se.year,0,se.dayOfYear);return this.year(be.getUTCFullYear()),this.month(be.getUTCMonth()),this.date(be.getUTCDate()),this}$e("N",0,0,"eraAbbr"),$e("NN",0,0,"eraAbbr"),$e("NNN",0,0,"eraAbbr"),$e("NNNN",0,0,"eraName"),$e("NNNNN",0,0,"eraNarrow"),$e("y",["y",1],"yo","eraYear"),$e("y",["yy",2],0,"eraYear"),$e("y",["yyy",3],0,"eraYear"),$e("y",["yyyy",4],0,"eraYear"),je("N",fl),je("NN",fl),je("NNN",fl),je("NNNN",function ur(v,H){return H.erasNameRegex(v)}),je("NNNNN",function kf(v,H){return H.erasNarrowRegex(v)}),wt(["N","NN","NNN","NNNN","NNNNN"],function(v,H,I,F){var W=I._locale.erasParse(v,F,I._strict);W?te(I).era=W:te(I).invalidEra=v}),je("y",ea),je("yy",ea),je("yyy",ea),je("yyyy",ea),je("yo",function Pf(v,H){return H._eraYearOrdinalRegex||ea}),wt(["y","yy","yyy","yyyy"],0),wt(["yo"],function(v,H,I,F){var W;I._locale._eraYearOrdinalRegex&&(W=v.match(I._locale._eraYearOrdinalRegex)),H[0]=I._locale.eraYearOrdinalParse?I._locale.eraYearOrdinalParse(v,W):parseInt(v,10)}),$e(0,["gg",2],0,function(){return this.weekYear()%100}),$e(0,["GG",2],0,function(){return this.isoWeekYear()%100}),po("gggg","weekYear"),po("ggggg","weekYear"),po("GGGG","isoWeekYear"),po("GGGGG","isoWeekYear"),Xt("weekYear","gg"),Xt("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),je("G",ta),je("g",ta),je("GG",At,ct),je("gg",At,ct),je("GGGG",uc,vn),je("gggg",uc,vn),je("GGGGG",Ia,Nt),je("ggggg",Ia,Nt),Oi(["gggg","ggggg","GGGG","GGGGG"],function(v,H,I,F){H[F.substr(0,2)]=ve(v)}),Oi(["gg","GG"],function(v,H,I,F){H[F]=i.parseTwoDigitYear(v)}),$e("Q",0,"Qo","quarter"),Xt("quarter","Q"),ae("quarter",7),je("Q",Di),wt("Q",function(v,H){H[1]=3*(ve(v)-1)}),$e("D",["DD",2],"Do","date"),Xt("date","D"),ae("date",9),je("D",At),je("DD",At,ct),je("Do",function(v,H){return v?H._dayOfMonthOrdinalParse||H._ordinalParse:H._dayOfMonthOrdinalParseLenient}),wt(["D","DD"],2),wt("Do",function(v,H){H[2]=ve(v.match(At)[0])});var Dn=Xe("Date",!0);$e("DDD",["DDDD",3],"DDDo","dayOfYear"),Xt("dayOfYear","DDD"),ae("dayOfYear",4),je("DDD",Tn),je("DDDD",et),wt(["DDD","DDDD"],function(v,H,I){I._dayOfYear=ve(v)}),$e("m",["mm",2],0,"minute"),Xt("minute","m"),ae("minute",14),je("m",At),je("mm",At,ct),wt(["m","mm"],4);var Dc=Xe("Minutes",!1);$e("s",["ss",2],0,"second"),Xt("second","s"),ae("second",15),je("s",At),je("ss",At,ct),wt(["s","ss"],5);var ha,ch,bl=Xe("Seconds",!1);for($e("S",0,0,function(){return~~(this.millisecond()/100)}),$e(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$e(0,["SSS",3],0,"millisecond"),$e(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$e(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$e(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$e(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$e(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$e(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Xt("millisecond","ms"),ae("millisecond",16),je("S",Tn,Di),je("SS",Tn,ct),je("SSS",Tn,et),ha="SSSS";ha.length<=9;ha+="S")je(ha,ea);function Rf(v,H){H[6]=ve(1e3*("0."+v))}for(ha="S";ha.length<=9;ha+="S")wt(ha,Rf);ch=Xe("Milliseconds",!1),$e("z",0,0,"zoneAbbr"),$e("zz",0,0,"zoneName");var Ve=we.prototype;function xs(v){return v}Ve.add=Ac,Ve.calendar=function Af(v,H){1===arguments.length&&(arguments[0]?no(arguments[0])?(v=arguments[0],H=void 0):fn(arguments[0])&&(H=arguments[0],v=void 0):(v=void 0,H=void 0));var I=v||fi(),F=Xs(I,this).startOf("day"),W=i.calendarFormat(this,F)||"sameElse",se=H&&(de(H[W])?H[W].call(this,I):H[W]);return this.format(se||this.localeData().calendar(W,this,fi(I)))},Ve.clone=function Tc(){return new we(this)},Ve.diff=function ro(v,H,I){var F,W,se;if(!this.isValid())return NaN;if(!(F=Xs(v,this)).isValid())return NaN;switch(W=6e4*(F.utcOffset()-this.utcOffset()),H=dn(H)){case"year":se=ul(this,F)/12;break;case"month":se=ul(this,F);break;case"quarter":se=ul(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-W)/864e5;break;case"week":se=(this-F-W)/6048e5;break;default:se=this-F}return I?se:Ne(se)},Ve.endOf=function ah(v){var H,I;if(void 0===(v=dn(v))||"millisecond"===v||!this.isValid())return this;switch(I=this._isUTC?Ec:Od,v){case"year":H=I(this.year()+1,0,1)-1;break;case"quarter":H=I(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":H=I(this.year(),this.month()+1,1)-1;break;case"week":H=I(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":H=I(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":H=I(this.year(),this.month(),this.date()+1)-1;break;case"hour":H=this._d.valueOf(),H+=Rr-Na(H+(this._isUTC?0:this.utcOffset()*ua),Rr)-1;break;case"minute":H=this._d.valueOf(),H+=ua-Na(H,ua)-1;break;case"second":H=this._d.valueOf(),H+=1e3-Na(H,1e3)-1}return this._d.setTime(H),i.updateOffset(this,!0),this},Ve.format=function As(v){v||(v=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var H=cn(this,v);return this.localeData().postformat(H)},Ve.from=function so(v,H){return this.isValid()&&(xe(v)&&v.isValid()||fi(v).isValid())?dr({to:this,from:v}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Ve.fromNow=function xf(v){return this.from(fi(),v)},Ve.to=function Id(v,H){return this.isValid()&&(xe(v)&&v.isValid()||fi(v).isValid())?dr({from:this,to:v}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Ve.toNow=function nh(v){return this.to(fi(),v)},Ve.get=function Lt(v){return de(this[v=dn(v)])?this[v]():this},Ve.invalidAt=function oh(){return te(this).overflow},Ve.isAfter=function vf(v,H){var I=xe(v)?v:fi(v);return!(!this.isValid()||!I.isValid())&&("millisecond"===(H=dn(H)||"millisecond")?this.valueOf()>I.valueOf():I.valueOf()9999?cn(I,H?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?H?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",cn(I,"Z")):cn(I,H?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ve.inspect=function da(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var I,F,v="moment",H="";return this.isLocal()||(v=0===this.utcOffset()?"moment.utc":"moment.parseZone",H="Z"),I="["+v+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(I+F+"-MM-DD[T]HH:mm:ss.SSS"+H+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ve.toJSON=function Ya(){return this.isValid()?this.toISOString():null},Ve.toString=function ao(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ve.unix=function Sf(){return Math.floor(this.valueOf()/1e3)},Ve.valueOf=function Mf(){return this._d.valueOf()-6e4*(this._offset||0)},Ve.creationData=function Vd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ve.eraName=function Ir(){var v,H,I,F=this.localeData().eras();for(v=0,H=F.length;vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ve.isLocal=function Ti(){return!!this.isValid()&&!this._isUTC},Ve.isUtcOffset=function Xu(){return!!this.isValid()&&this._isUTC},Ve.isUtc=eh,Ve.isUTC=eh,Ve.zoneAbbr=function dh(){return this._isUTC?"UTC":""},Ve.zoneName=function f_(){return this._isUTC?"Coordinated Universal Time":""},Ve.dates=ke("dates accessor is deprecated. Use date instead.",Dn),Ve.months=ke("months accessor is deprecated. Use month instead",Ba),Ve.years=ke("years accessor is deprecated. Use year instead",bn),Ve.zone=ke("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Rd(v,H){return null!=v?("string"!=typeof v&&(v=-v),this.utcOffset(v,H),this):-this.utcOffset()}),Ve.isDSTShifted=ke("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function la(){if(!V(this._isDSTShifted))return this._isDSTShifted;var H,v={};return Ee(v,this),(v=kd(v))._a?(H=v._isUTC?ce(v._a):fi(v._a),this._isDSTShifted=this.isValid()&&function Fa(v,H,I){var be,F=Math.min(v.length,H.length),W=Math.abs(v.length-H.length),se=0;for(be=0;be0):this._isDSTShifted=!1,this._isDSTShifted});var qt=Ae.prototype;function yl(v,H,I,F){var W=ne(),se=ce().set(F,H);return W[I](se,v)}function go(v,H,I){if(z(v)&&(H=v,v=void 0),v=v||"",null!=H)return yl(v,H,I,"month");var F,W=[];for(F=0;F<12;F++)W[F]=yl(v,F,I,"month");return W}function Yd(v,H,I,F){"boolean"==typeof v?(z(H)&&(I=H,H=void 0),H=H||""):(I=H=v,v=!1,z(H)&&(I=H,H=void 0),H=H||"");var be,W=ne(),se=v?W._week.dow:0,st=[];if(null!=I)return yl(H,(I+se)%7,F,"day");for(be=0;be<7;be++)st[be]=yl(H,(be+se)%7,F,"day");return st}qt.calendar=function yt(v,H,I){var F=this._calendar[v]||this._calendar.sameElse;return de(F)?F.call(H,I):F},qt.longDateFormat=function Ys(v){var H=this._longDateFormat[v],I=this._longDateFormat[v.toUpperCase()];return H||!I?H:(this._longDateFormat[v]=I.match(ri).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[v])},qt.invalidDate=function Us(){return this._invalidDate},qt.ordinal=function La(v){return this._ordinal.replace("%d",v)},qt.preparse=xs,qt.postformat=xs,qt.relativeTime=function Ct(v,H,I,F){var W=this._relativeTime[I];return de(W)?W(v,H,I,F):W.replace(/%d/i,v)},qt.pastFuture=function $o(v,H){var I=this._relativeTime[v>0?"future":"past"];return de(I)?I(H):I.replace(/%s/i,H)},qt.set=function me(v){var H,I;for(I in v)P(v,I)&&(de(H=v[I])?this[I]=H:this["_"+I]=H);this._config=v,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},qt.eras=function vs(v,H){var I,F,W,se=this._eras||ne("en")._eras;for(I=0,F=se.length;I=0)return se[F]},qt.erasConvertYear=function ho(v,H){var I=v.since<=v.until?1:-1;return void 0===H?i(v.since).year():i(v.since).year()+(H-v.offset)*I},qt.erasAbbrRegex=function Hf(v){return P(this,"_erasAbbrRegex")||ml.call(this),v?this._erasAbbrRegex:this._erasRegex},qt.erasNameRegex=function Df(v){return P(this,"_erasNameRegex")||ml.call(this),v?this._erasNameRegex:this._erasRegex},qt.erasNarrowRegex=function xi(v){return P(this,"_erasNarrowRegex")||ml.call(this),v?this._erasNarrowRegex:this._erasRegex},qt.months=function Jo(v,H){return v?M(this._months)?this._months[v.month()]:this._months[(this._months.isFormat||ia).test(H)?"format":"standalone"][v.month()]:M(this._months)?this._months:this._months.standalone},qt.monthsShort=function Oa(v,H){return v?M(this._monthsShort)?this._monthsShort[v.month()]:this._monthsShort[ia.test(H)?"format":"standalone"][v.month()]:M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},qt.monthsParse=function cs(v,H,I){var F,W,se;if(this._monthsParseExact)return hc.call(this,v,H,I);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(W=ce([2e3,F]),I&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(W,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(W,"").replace(".","")+"$","i")),!I&&!this._monthsParse[F]&&(se="^"+this.months(W,"")+"|^"+this.monthsShort(W,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),I&&"MMMM"===H&&this._longMonthsParse[F].test(v))return F;if(I&&"MMM"===H&&this._shortMonthsParse[F].test(v))return F;if(!I&&this._monthsParse[F].test(v))return F}},qt.monthsRegex=function li(v){return this._monthsParseExact?(P(this,"_monthsRegex")||pc.call(this),v?this._monthsStrictRegex:this._monthsRegex):(P(this,"_monthsRegex")||(this._monthsRegex=vt),this._monthsStrictRegex&&v?this._monthsStrictRegex:this._monthsRegex)},qt.monthsShortRegex=function jn(v){return this._monthsParseExact?(P(this,"_monthsRegex")||pc.call(this),v?this._monthsShortStrictRegex:this._monthsShortRegex):(P(this,"_monthsShortRegex")||(this._monthsShortRegex=Er),this._monthsShortStrictRegex&&v?this._monthsShortStrictRegex:this._monthsShortRegex)},qt.week=function mf(v){return ds(v,this._week.dow,this._week.doy).week},qt.firstDayOfYear=function _f(){return this._week.doy},qt.firstDayOfWeek=function gf(){return this._week.dow},qt.weekdays=function Ws(v,H){var I=M(this._weekdays)?this._weekdays:this._weekdays[v&&!0!==v&&this._weekdays.isFormat.test(H)?"format":"standalone"];return!0===v?xt(I,this._week.dow):v?I[v.day()]:I},qt.weekdaysMin=function Zs(v){return!0===v?xt(this._weekdaysMin,this._week.dow):v?this._weekdaysMin[v.day()]:this._weekdaysMin},qt.weekdaysShort=function Bi(v){return!0===v?xt(this._weekdaysShort,this._week.dow):v?this._weekdaysShort[v.day()]:this._weekdaysShort},qt.weekdaysParse=function hs(v,H,I){var F,W,se;if(this._weekdaysParseExact)return us.call(this,v,H,I);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(W=ce([2e3,1]).day(F),I&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(W,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(W,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(W,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays(W,"")+"|^"+this.weekdaysShort(W,"")+"|^"+this.weekdaysMin(W,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),I&&"dddd"===H&&this._fullWeekdaysParse[F].test(v))return F;if(I&&"ddd"===H&&this._shortWeekdaysParse[F].test(v))return F;if(I&&"dd"===H&&this._minWeekdaysParse[F].test(v))return F;if(!I&&this._weekdaysParse[F].test(v))return F}},qt.weekdaysRegex=function hn(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysStrictRegex:this._weekdaysRegex):(P(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&v?this._weekdaysStrictRegex:this._weekdaysRegex)},qt.weekdaysShortRegex=function yn(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(P(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pe),this._weekdaysShortStrictRegex&&v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},qt.weekdaysMinRegex=function fc(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(P(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ki),this._weekdaysMinStrictRegex&&v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},qt.isPM=function Jt(v){return"p"===(v+"").toLowerCase().charAt(0)},qt.meridiem=function Yn(v,H,I){return v>11?I?"pm":"PM":I?"am":"AM"},G("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(v){var H=v%10;return v+(1===ve(v%100/10)?"th":1===H?"st":2===H?"nd":3===H?"rd":"th")}}),i.lang=ke("moment.lang is deprecated. Use moment.locale instead.",G),i.langData=ke("moment.langData is deprecated. Use moment.localeData instead.",ne);var ir=Math.abs;function _o(v,H,I,F){var W=dr(H,I);return v._milliseconds+=F*W._milliseconds,v._days+=F*W._days,v._months+=F*W._months,v._bubble()}function hh(v){return v<0?Math.floor(v):Math.ceil(v)}function fh(v){return 4800*v/146097}function kc(v){return 146097*v/4800}function Or(v){return function(){return this.as(v)}}var mh=Or("ms"),sn=Or("s"),qd=Or("m"),gh=Or("h"),Pc=Or("d"),bo=Or("w"),Bf=Or("M"),Vf=Or("Q"),jf=Or("y");function Ua(v){return function(){return this.isValid()?this._data[v]:NaN}}var qa=Ua("milliseconds"),Ff=Ua("seconds"),_h=Ua("minutes"),Gd=Ua("hours"),yo=Ua("days"),Wd=Ua("months"),Nf=Ua("years");var Hn=Math.round,Br={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bh(v,H,I,F,W){return W.relativeTime(H||1,!!I,v,F)}var Co=Math.abs;function nr(v){return(v>0)-(v<0)||+v}function Ms(){if(!this.isValid())return this.localeData().invalidDate();var F,W,se,be,gt,Qt,ki,pa,v=Co(this._milliseconds)/1e3,H=Co(this._days),I=Co(this._months),st=this.asSeconds();return st?(F=Ne(v/60),W=Ne(F/60),v%=60,F%=60,se=Ne(I/12),I%=12,be=v?v.toFixed(3).replace(/\.?0+$/,""):"",gt=st<0?"-":"",Qt=nr(this._months)!==nr(st)?"-":"",ki=nr(this._days)!==nr(st)?"-":"",pa=nr(this._milliseconds)!==nr(st)?"-":"",gt+"P"+(se?Qt+se+"Y":"")+(I?Qt+I+"M":"")+(H?ki+H+"D":"")+(W||F||v?"T":"")+(W?pa+W+"H":"")+(F?pa+F+"M":"")+(v?pa+be+"S":"")):"P0D"}var St=It.prototype;return St.isValid=function nl(){return this._isValid},St.abs=function m_(){var v=this._data;return this._milliseconds=ir(this._milliseconds),this._days=ir(this._days),this._months=ir(this._months),v.milliseconds=ir(v.milliseconds),v.seconds=ir(v.seconds),v.minutes=ir(v.minutes),v.hours=ir(v.hours),v.months=ir(v.months),v.years=ir(v.years),this},St.add=function Ud(v,H){return _o(this,v,H,1)},St.subtract=function Hc(v,H){return _o(this,v,H,-1)},St.as=function Of(v){if(!this.isValid())return NaN;var H,I,F=this._milliseconds;if("month"===(v=dn(v))||"quarter"===v||"year"===v)switch(H=this._days+F/864e5,I=this._months+fh(H),v){case"month":return I;case"quarter":return I/3;case"year":return I/12}else switch(H=this._days+Math.round(kc(this._months)),v){case"week":return H/7+F/6048e5;case"day":return H+F/864e5;case"hour":return 24*H+F/36e5;case"minute":return 1440*H+F/6e4;case"second":return 86400*H+F/1e3;case"millisecond":return Math.floor(864e5*H)+F;default:throw new Error("Unknown unit "+v)}},St.asMilliseconds=mh,St.asSeconds=sn,St.asMinutes=qd,St.asHours=gh,St.asDays=Pc,St.asWeeks=bo,St.asMonths=Bf,St.asQuarters=Vf,St.asYears=jf,St.valueOf=function wl(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ve(this._months/12):NaN},St._bubble=function ph(){var W,se,be,st,gt,v=this._milliseconds,H=this._days,I=this._months,F=this._data;return v>=0&&H>=0&&I>=0||v<=0&&H<=0&&I<=0||(v+=864e5*hh(kc(I)+H),H=0,I=0),F.milliseconds=v%1e3,W=Ne(v/1e3),F.seconds=W%60,se=Ne(W/60),F.minutes=se%60,be=Ne(se/60),F.hours=be%24,H+=Ne(be/24),I+=gt=Ne(fh(H)),H-=hh(kc(gt)),st=Ne(I/12),I%=12,F.days=H,F.months=I,F.years=st,this},St.clone=function Al(){return dr(this)},St.get=function za(v){return v=dn(v),this.isValid()?this[v+"s"]():NaN},St.milliseconds=qa,St.seconds=Ff,St.minutes=_h,St.hours=Gd,St.days=yo,St.weeks=function Yf(){return Ne(this.days()/7)},St.months=Wd,St.years=Nf,St.humanize=function __(v,H){if(!this.isValid())return this.localeData().invalidDate();var W,se,I=!1,F=Br;return"object"==typeof v&&(H=v,v=!1),"boolean"==typeof v&&(I=v),"object"==typeof H&&(F=Object.assign({},Br,H),null!=H.s&&null==H.ss&&(F.ss=H.s-1)),se=function g_(v,H,I,F){var W=dr(v).abs(),se=Hn(W.as("s")),be=Hn(W.as("m")),st=Hn(W.as("h")),gt=Hn(W.as("d")),Qt=Hn(W.as("M")),ki=Hn(W.as("w")),pa=Hn(W.as("y")),hr=se<=I.ss&&["s",se]||se0,hr[4]=F,bh.apply(null,hr)}(this,!I,F,W=this.localeData()),I&&(se=W.pastFuture(+this,se)),W.postformat(se)},St.toISOString=Ms,St.toString=Ms,St.toJSON=Ms,St.locale=Sc,St.localeData=oo,St.toIsoString=ke("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ms),St.lang=rh,$e("X",0,0,"unix"),$e("x",0,0,"valueOf"),je("x",ta),je("X",/[+-]?\d+(\.\d{1,3})?/),wt("X",function(v,H,I){I._d=new Date(1e3*parseFloat(v))}),wt("x",function(v,H,I){I._d=new Date(ve(v))}),i.version="2.29.4",function S(v){T=v}(fi),i.fn=Ve,i.min=function oa(){return an("isBefore",[].slice.call(arguments,0))},i.max=function Pd(){return an("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=ce,i.unix=function mn(v){return fi(1e3*v)},i.months=function Lf(v,H){return go(v,H,"months")},i.isDate=J,i.locale=G,i.invalid=Re,i.duration=dr,i.isMoment=xe,i.weekdays=function If(v,H,I){return Yd(v,H,I,"weekdays")},i.parseZone=function Nd(){return fi.apply(null,arguments).parseZone()},i.localeData=ne,i.isDuration=Pr,i.monthsShort=function Cl(v,H){return go(v,H,"monthsShort")},i.weekdaysMin=function zd(v,H,I){return Yd(v,H,I,"weekdaysMin")},i.defineLocale=B,i.updateLocale=function $(v,H){if(null!=H){var I,F,W=Hr;null!=ci[v]&&null!=ci[v].parentLocale?ci[v].set(ge(ci[v]._config,H)):(null!=(F=O(v))&&(W=F._config),H=ge(W,H),null==F&&(H.abbr=v),(I=new Ae(H)).parentLocale=ci[v],ci[v]=I),G(v)}else null!=ci[v]&&(null!=ci[v].parentLocale?(ci[v]=ci[v].parentLocale,v===G()&&G(v)):null!=ci[v]&&delete ci[v]);return ci[v]},i.locales=function _e(){return ye(ci)},i.weekdaysShort=function uh(v,H,I){return Yd(v,H,I,"weekdaysShort")},i.normalizeUnits=dn,i.relativeTimeRounding=function yh(v){return void 0===v?Hn:"function"==typeof v&&(Hn=v,!0)},i.relativeTimeThreshold=function Hi(v,H){return void 0!==Br[v]&&(void 0===H?Br[v]:(Br[v]=H,"s"===v&&(Br.ss=H-1),!0))},i.calendarFormat=function vc(v,H){var I=v.diff(H,"days",!0);return I<-6?"sameElse":I<-1?"lastWeek":I<0?"lastDay":I<1?"sameDay":I<2?"nextDay":I<7?"nextWeek":"sameElse"},i.prototype=Ve,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}()},8306:(Y,U,x)=>{"use strict";x.d(U,{y:()=>J});var T=x(930),i=x(727),S=x(8822),M=x(4671);var L=x(2416),V=x(576),z=x(2806);let J=(()=>{class ie{constructor(he){he&&(this._subscribe=he)}lift(he){const fe=new ie;return fe.source=this,fe.operator=he,fe}subscribe(he,fe,Re){const ze=function ce(ie){return ie&&ie instanceof T.Lv||function oe(ie){return ie&&(0,V.m)(ie.next)&&(0,V.m)(ie.error)&&(0,V.m)(ie.complete)}(ie)&&(0,i.Nn)(ie)}(he)?he:new T.Hp(he,fe,Re);return(0,z.x)(()=>{const{operator:qe,source:Ee}=this;ze.add(qe?qe.call(ze,Ee):Ee?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(he){try{return this._subscribe(he)}catch(fe){he.error(fe)}}forEach(he,fe){return new(fe=Q(fe))((Re,ze)=>{const qe=new T.Hp({next:Ee=>{try{he(Ee)}catch(we){ze(we),qe.unsubscribe()}},error:ze,complete:Re});this.subscribe(qe)})}_subscribe(he){var fe;return null===(fe=this.source)||void 0===fe?void 0:fe.subscribe(he)}[S.L](){return this}pipe(...he){return function P(ie){return 0===ie.length?M.y:1===ie.length?ie[0]:function(he){return ie.reduce((fe,Re)=>Re(fe),he)}}(he)(this)}toPromise(he){return new(he=Q(he))((fe,Re)=>{let ze;this.subscribe(qe=>ze=qe,qe=>Re(qe),()=>fe(ze))})}}return ie.create=te=>new ie(te),ie})();function Q(ie){var te;return null!==(te=null!=ie?ie:L.v.Promise)&&void 0!==te?te:Promise}},7579:(Y,U,x)=>{"use strict";x.d(U,{x:()=>L});var T=x(8306),i=x(727);const M=(0,x(3888).d)(z=>function(){z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=x(8737),P=x(2806);let L=(()=>{class z extends T.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Q){const oe=new V(this,this);return oe.operator=Q,oe}_throwIfClosed(){if(this.closed)throw new M}next(Q){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const oe of this.currentObservers)oe.next(Q)}})}error(Q){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Q;const{observers:oe}=this;for(;oe.length;)oe.shift().error(Q)}})}complete(){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Q}=this;for(;Q.length;)Q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Q;return(null===(Q=this.observers)||void 0===Q?void 0:Q.length)>0}_trySubscribe(Q){return this._throwIfClosed(),super._trySubscribe(Q)}_subscribe(Q){return this._throwIfClosed(),this._checkFinalizedStatuses(Q),this._innerSubscribe(Q)}_innerSubscribe(Q){const{hasError:oe,isStopped:ce,observers:ie}=this;return oe||ce?i.Lc:(this.currentObservers=null,ie.push(Q),new i.w0(()=>{this.currentObservers=null,(0,E.P)(ie,Q)}))}_checkFinalizedStatuses(Q){const{hasError:oe,thrownError:ce,isStopped:ie}=this;oe?Q.error(ce):ie&&Q.complete()}asObservable(){const Q=new T.y;return Q.source=this,Q}}return z.create=(J,Q)=>new V(J,Q),z})();class V extends L{constructor(J,Q){super(),this.destination=J,this.source=Q}next(J){var Q,oe;null===(oe=null===(Q=this.destination)||void 0===Q?void 0:Q.next)||void 0===oe||oe.call(Q,J)}error(J){var Q,oe;null===(oe=null===(Q=this.destination)||void 0===Q?void 0:Q.error)||void 0===oe||oe.call(Q,J)}complete(){var J,Q;null===(Q=null===(J=this.destination)||void 0===J?void 0:J.complete)||void 0===Q||Q.call(J)}_subscribe(J){var Q,oe;return null!==(oe=null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(J))&&void 0!==oe?oe:i.Lc}}},930:(Y,U,x)=>{"use strict";x.d(U,{Hp:()=>he,Lv:()=>oe});var T=x(576),i=x(727),S=x(2416),M=x(7849),E=x(5032);const P=z("C",void 0,void 0);function z(Ee,we,xe){return{kind:Ee,value:we,error:xe}}var J=x(3410),Q=x(2806);class oe extends i.w0{constructor(we){super(),this.isStopped=!1,we?(this.destination=we,(0,i.Nn)(we)&&we.add(this)):this.destination=qe}static create(we,xe,lt){return new he(we,xe,lt)}next(we){this.isStopped?ze(function V(Ee){return z("N",Ee,void 0)}(we),this):this._next(we)}error(we){this.isStopped?ze(function L(Ee){return z("E",void 0,Ee)}(we),this):(this.isStopped=!0,this._error(we))}complete(){this.isStopped?ze(P,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(we){this.destination.next(we)}_error(we){try{this.destination.error(we)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function ie(Ee,we){return ce.call(Ee,we)}class te{constructor(we){this.partialObserver=we}next(we){const{partialObserver:xe}=this;if(xe.next)try{xe.next(we)}catch(lt){fe(lt)}}error(we){const{partialObserver:xe}=this;if(xe.error)try{xe.error(we)}catch(lt){fe(lt)}else fe(we)}complete(){const{partialObserver:we}=this;if(we.complete)try{we.complete()}catch(xe){fe(xe)}}}class he extends oe{constructor(we,xe,lt){let ke;if(super(),(0,T.m)(we)||!we)ke={next:null!=we?we:void 0,error:null!=xe?xe:void 0,complete:null!=lt?lt:void 0};else{let Oe;this&&S.v.useDeprecatedNextContext?(Oe=Object.create(we),Oe.unsubscribe=()=>this.unsubscribe(),ke={next:we.next&&ie(we.next,Oe),error:we.error&&ie(we.error,Oe),complete:we.complete&&ie(we.complete,Oe)}):ke=we}this.destination=new te(ke)}}function fe(Ee){S.v.useDeprecatedSynchronousErrorHandling?(0,Q.O)(Ee):(0,M.h)(Ee)}function ze(Ee,we){const{onStoppedNotification:xe}=S.v;xe&&J.z.setTimeout(()=>xe(Ee,we))}const qe={closed:!0,next:E.Z,error:function Re(Ee){throw Ee},complete:E.Z}},727:(Y,U,x)=>{"use strict";x.d(U,{Lc:()=>P,w0:()=>E,Nn:()=>L});var T=x(576);const S=(0,x(3888).d)(z=>function(Q){z(this),this.message=Q?`${Q.length} errors occurred during unsubscription:\n${Q.map((oe,ce)=>`${ce+1}) ${oe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Q});var M=x(8737);class E{constructor(J){this.initialTeardown=J,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let J;if(!this.closed){this.closed=!0;const{_parentage:Q}=this;if(Q)if(this._parentage=null,Array.isArray(Q))for(const ie of Q)ie.remove(this);else Q.remove(this);const{initialTeardown:oe}=this;if((0,T.m)(oe))try{oe()}catch(ie){J=ie instanceof S?ie.errors:[ie]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const ie of ce)try{V(ie)}catch(te){J=null!=J?J:[],te instanceof S?J=[...J,...te.errors]:J.push(te)}}if(J)throw new S(J)}}add(J){var Q;if(J&&J!==this)if(this.closed)V(J);else{if(J instanceof E){if(J.closed||J._hasParent(this))return;J._addParent(this)}(this._finalizers=null!==(Q=this._finalizers)&&void 0!==Q?Q:[]).push(J)}}_hasParent(J){const{_parentage:Q}=this;return Q===J||Array.isArray(Q)&&Q.includes(J)}_addParent(J){const{_parentage:Q}=this;this._parentage=Array.isArray(Q)?(Q.push(J),Q):Q?[Q,J]:J}_removeParent(J){const{_parentage:Q}=this;Q===J?this._parentage=null:Array.isArray(Q)&&(0,M.P)(Q,J)}remove(J){const{_finalizers:Q}=this;Q&&(0,M.P)(Q,J),J instanceof E&&J._removeParent(this)}}E.EMPTY=(()=>{const z=new E;return z.closed=!0,z})();const P=E.EMPTY;function L(z){return z instanceof E||z&&"closed"in z&&(0,T.m)(z.remove)&&(0,T.m)(z.add)&&(0,T.m)(z.unsubscribe)}function V(z){(0,T.m)(z)?z():z.unsubscribe()}},2416:(Y,U,x)=>{"use strict";x.d(U,{v:()=>T});const T={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Y,U,x)=>{"use strict";x.d(U,{a:()=>J});var T=x(8306),i=x(4742),S=x(2076),M=x(4671),E=x(3268),P=x(3269),L=x(1810),V=x(5403),z=x(9672);function J(...ce){const ie=(0,P.yG)(ce),te=(0,P.jO)(ce),{args:he,keys:fe}=(0,i.D)(ce);if(0===he.length)return(0,S.D)([],ie);const Re=new T.y(function Q(ce,ie,te=M.y){return he=>{oe(ie,()=>{const{length:fe}=ce,Re=new Array(fe);let ze=fe,qe=fe;for(let Ee=0;Ee{const we=(0,S.D)(ce[Ee],ie);let xe=!1;we.subscribe((0,V.x)(he,lt=>{Re[Ee]=lt,xe||(xe=!0,qe--),qe||he.next(te(Re.slice()))},()=>{--ze||he.complete()}))},he)},he)}}(he,ie,fe?ze=>(0,L.n)(fe,ze):M.y));return te?Re.pipe((0,E.Z)(te)):Re}function oe(ce,ie,te){ce?(0,z.f)(te,ce,ie):ie()}},7272:(Y,U,x)=>{"use strict";x.d(U,{z:()=>E});var T=x(8189),S=x(3269),M=x(2076);function E(...P){return function i(){return(0,T.J)(1)}()((0,M.D)(P,(0,S.yG)(P)))}},515:(Y,U,x)=>{"use strict";x.d(U,{E:()=>i});const i=new(x(8306).y)(E=>E.complete())},2076:(Y,U,x)=>{"use strict";x.d(U,{D:()=>lt});var T=x(8421),i=x(9672),S=x(4482),M=x(5403);function E(ke,Oe=0){return(0,S.e)((Je,de)=>{Je.subscribe((0,M.x)(de,me=>(0,i.f)(de,ke,()=>de.next(me),Oe),()=>(0,i.f)(de,ke,()=>de.complete(),Oe),me=>(0,i.f)(de,ke,()=>de.error(me),Oe)))})}function P(ke,Oe=0){return(0,S.e)((Je,de)=>{de.add(ke.schedule(()=>Je.subscribe(de),Oe))})}var z=x(8306),Q=x(2202),oe=x(576);function ie(ke,Oe){if(!ke)throw new Error("Iterable cannot be null");return new z.y(Je=>{(0,i.f)(Je,Oe,()=>{const de=ke[Symbol.asyncIterator]();(0,i.f)(Je,Oe,()=>{de.next().then(me=>{me.done?Je.complete():Je.next(me.value)})},0,!0)})})}var te=x(3670),he=x(8239),fe=x(1144),Re=x(6495),ze=x(2206),qe=x(4532),Ee=x(3260);function lt(ke,Oe){return Oe?function xe(ke,Oe){if(null!=ke){if((0,te.c)(ke))return function L(ke,Oe){return(0,T.Xf)(ke).pipe(P(Oe),E(Oe))}(ke,Oe);if((0,fe.z)(ke))return function J(ke,Oe){return new z.y(Je=>{let de=0;return Oe.schedule(function(){de===ke.length?Je.complete():(Je.next(ke[de++]),Je.closed||this.schedule())})})}(ke,Oe);if((0,he.t)(ke))return function V(ke,Oe){return(0,T.Xf)(ke).pipe(P(Oe),E(Oe))}(ke,Oe);if((0,ze.D)(ke))return ie(ke,Oe);if((0,Re.T)(ke))return function ce(ke,Oe){return new z.y(Je=>{let de;return(0,i.f)(Je,Oe,()=>{de=ke[Q.h](),(0,i.f)(Je,Oe,()=>{let me,ge;try{({value:me,done:ge}=de.next())}catch(Ae){return void Je.error(Ae)}ge?Je.complete():Je.next(me)},0,!0)}),()=>(0,oe.m)(null==de?void 0:de.return)&&de.return()})}(ke,Oe);if((0,Ee.L)(ke))return function we(ke,Oe){return ie((0,Ee.Q)(ke),Oe)}(ke,Oe)}throw(0,qe.z)(ke)}(ke,Oe):(0,T.Xf)(ke)}},8421:(Y,U,x)=>{"use strict";x.d(U,{Xf:()=>ce});var T=x(655),i=x(1144),S=x(8239),M=x(8306),E=x(3670),P=x(2206),L=x(4532),V=x(6495),z=x(3260),J=x(576),Q=x(7849),oe=x(8822);function ce(Ee){if(Ee instanceof M.y)return Ee;if(null!=Ee){if((0,E.c)(Ee))return function ie(Ee){return new M.y(we=>{const xe=Ee[oe.L]();if((0,J.m)(xe.subscribe))return xe.subscribe(we);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ee);if((0,i.z)(Ee))return function te(Ee){return new M.y(we=>{for(let xe=0;xe{Ee.then(xe=>{we.closed||(we.next(xe),we.complete())},xe=>we.error(xe)).then(null,Q.h)})}(Ee);if((0,P.D)(Ee))return Re(Ee);if((0,V.T)(Ee))return function fe(Ee){return new M.y(we=>{for(const xe of Ee)if(we.next(xe),we.closed)return;we.complete()})}(Ee);if((0,z.L)(Ee))return function ze(Ee){return Re((0,z.Q)(Ee))}(Ee)}throw(0,L.z)(Ee)}function Re(Ee){return new M.y(we=>{(function qe(Ee,we){var xe,lt,ke,Oe;return(0,T.mG)(this,void 0,void 0,function*(){try{for(xe=(0,T.KL)(Ee);!(lt=yield xe.next()).done;)if(we.next(lt.value),we.closed)return}catch(Je){ke={error:Je}}finally{try{lt&&!lt.done&&(Oe=xe.return)&&(yield Oe.call(xe))}finally{if(ke)throw ke.error}}we.complete()})})(Ee,we).catch(xe=>we.error(xe))})}},6451:(Y,U,x)=>{"use strict";x.d(U,{T:()=>P});var T=x(8189),i=x(8421),S=x(515),M=x(3269),E=x(2076);function P(...L){const V=(0,M.yG)(L),z=(0,M._6)(L,1/0),J=L;return J.length?1===J.length?(0,i.Xf)(J[0]):(0,T.J)(z)((0,E.D)(J,V)):S.E}},9646:(Y,U,x)=>{"use strict";x.d(U,{of:()=>S});var T=x(3269),i=x(2076);function S(...M){const E=(0,T.yG)(M);return(0,i.D)(M,E)}},102:(Y,U,x)=>{"use strict";x.d(U,{S:()=>P});var T=x(8306),i=x(8421);const{isArray:S}=Array;var E=x(5403);function P(...V){return 1===(V=function M(V){return 1===V.length&&S(V[0])?V[0]:V}(V)).length?(0,i.Xf)(V[0]):new T.y(function L(V){return z=>{let J=[];for(let Q=0;J&&!z.closed&&Q{if(J){for(let ce=0;ce{"use strict";x.d(U,{_:()=>S});var T=x(8306),i=x(576);function S(M,E){const P=(0,i.m)(M)?M:()=>M,L=V=>V.error(P());return new T.y(E?V=>E.schedule(L,0,V):L)}},2805:(Y,U,x)=>{"use strict";x.d(U,{H:()=>E});var T=x(8306),i=x(4986),S=x(3532),M=x(1165);function E(P=0,L,V=i.P){let z=-1;return null!=L&&((0,S.K)(L)?V=L:z=L),new T.y(J=>{let Q=(0,M.q)(P)?+P-V.now():P;Q<0&&(Q=0);let oe=0;return V.schedule(function(){J.closed||(J.next(oe++),0<=z?this.schedule(void 0,z):J.complete())},Q)})}},5403:(Y,U,x)=>{"use strict";x.d(U,{x:()=>i});var T=x(930);function i(M,E,P,L,V){return new S(M,E,P,L,V)}class S extends T.Lv{constructor(E,P,L,V,z,J){super(E),this.onFinalize=z,this.shouldUnsubscribe=J,this._next=P?function(Q){try{P(Q)}catch(oe){E.error(oe)}}:super._next,this._error=V?function(Q){try{V(Q)}catch(oe){E.error(oe)}finally{this.unsubscribe()}}:super._error,this._complete=L?function(){try{L()}catch(Q){E.error(Q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:P}=this;super.unsubscribe(),!P&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},262:(Y,U,x)=>{"use strict";x.d(U,{K:()=>M});var T=x(8421),i=x(5403),S=x(4482);function M(E){return(0,S.e)((P,L)=>{let J,V=null,z=!1;V=P.subscribe((0,i.x)(L,void 0,void 0,Q=>{J=(0,T.Xf)(E(Q,M(E)(P))),V?(V.unsubscribe(),V=null,J.subscribe(L)):z=!0})),z&&(V.unsubscribe(),V=null,J.subscribe(L))})}},4351:(Y,U,x)=>{"use strict";x.d(U,{b:()=>S});var T=x(5577),i=x(576);function S(M,E){return(0,i.m)(E)?(0,T.z)(M,E,1):(0,T.z)(M,1)}},8372:(Y,U,x)=>{"use strict";x.d(U,{b:()=>M});var T=x(4986),i=x(4482),S=x(5403);function M(E,P=T.z){return(0,i.e)((L,V)=>{let z=null,J=null,Q=null;const oe=()=>{if(z){z.unsubscribe(),z=null;const ie=J;J=null,V.next(ie)}};function ce(){const ie=Q+E,te=P.now();if(te{J=ie,Q=P.now(),z||(z=P.schedule(ce,E),V.add(z))},()=>{oe(),V.complete()},void 0,()=>{J=z=null}))})}},6590:(Y,U,x)=>{"use strict";x.d(U,{d:()=>S});var T=x(4482),i=x(5403);function S(M){return(0,T.e)((E,P)=>{let L=!1;E.subscribe((0,i.x)(P,V=>{L=!0,P.next(V)},()=>{L||P.next(M),P.complete()}))})}},1005:(Y,U,x)=>{"use strict";x.d(U,{g:()=>oe});var T=x(4986),i=x(7272),S=x(5698),M=x(4482),E=x(5403),P=x(5032),V=x(9718),z=x(5577);function J(ce,ie){return ie?te=>(0,i.z)(ie.pipe((0,S.q)(1),function L(){return(0,M.e)((ce,ie)=>{ce.subscribe((0,E.x)(ie,P.Z))})}()),te.pipe(J(ce))):(0,z.z)((te,he)=>ce(te,he).pipe((0,S.q)(1),(0,V.h)(te)))}var Q=x(2805);function oe(ce,ie=T.z){const te=(0,Q.H)(ce,ie);return J(()=>te)}},9300:(Y,U,x)=>{"use strict";x.d(U,{h:()=>S});var T=x(4482),i=x(5403);function S(M,E){return(0,T.e)((P,L)=>{let V=0;P.subscribe((0,i.x)(L,z=>M.call(E,z,V++)&&L.next(z)))})}},590:(Y,U,x)=>{"use strict";x.d(U,{P:()=>L});var T=x(6805),i=x(9300),S=x(5698),M=x(6590),E=x(8068),P=x(4671);function L(V,z){const J=arguments.length>=2;return Q=>Q.pipe(V?(0,i.h)((oe,ce)=>V(oe,ce,Q)):P.y,(0,S.q)(1),J?(0,M.d)(z):(0,E.T)(()=>new T.K))}},4004:(Y,U,x)=>{"use strict";x.d(U,{U:()=>S});var T=x(4482),i=x(5403);function S(M,E){return(0,T.e)((P,L)=>{let V=0;P.subscribe((0,i.x)(L,z=>{L.next(M.call(E,z,V++))}))})}},9718:(Y,U,x)=>{"use strict";x.d(U,{h:()=>i});var T=x(4004);function i(S){return(0,T.U)(()=>S)}},8189:(Y,U,x)=>{"use strict";x.d(U,{J:()=>S});var T=x(5577),i=x(4671);function S(M=1/0){return(0,T.z)(i.y,M)}},5577:(Y,U,x)=>{"use strict";x.d(U,{z:()=>V});var T=x(4004),i=x(8421),S=x(4482),M=x(9672),E=x(5403),L=x(576);function V(z,J,Q=1/0){return(0,L.m)(J)?V((oe,ce)=>(0,T.U)((ie,te)=>J(oe,ie,ce,te))((0,i.Xf)(z(oe,ce))),Q):("number"==typeof J&&(Q=J),(0,S.e)((oe,ce)=>function P(z,J,Q,oe,ce,ie,te,he){const fe=[];let Re=0,ze=0,qe=!1;const Ee=()=>{qe&&!fe.length&&!Re&&J.complete()},we=lt=>Re{ie&&J.next(lt),Re++;let ke=!1;(0,i.Xf)(Q(lt,ze++)).subscribe((0,E.x)(J,Oe=>{null==ce||ce(Oe),ie?we(Oe):J.next(Oe)},()=>{ke=!0},void 0,()=>{if(ke)try{for(Re--;fe.length&&Rexe(Oe)):xe(Oe)}Ee()}catch(Oe){J.error(Oe)}}))};return z.subscribe((0,E.x)(J,we,()=>{qe=!0,Ee()})),()=>{null==he||he()}}(oe,ce,z,Q)))}},3099:(Y,U,x)=>{"use strict";x.d(U,{B:()=>E});var T=x(8421),i=x(7579),S=x(930),M=x(4482);function E(L={}){const{connector:V=(()=>new i.x),resetOnError:z=!0,resetOnComplete:J=!0,resetOnRefCountZero:Q=!0}=L;return oe=>{let ce,ie,te,he=0,fe=!1,Re=!1;const ze=()=>{null==ie||ie.unsubscribe(),ie=void 0},qe=()=>{ze(),ce=te=void 0,fe=Re=!1},Ee=()=>{const we=ce;qe(),null==we||we.unsubscribe()};return(0,M.e)((we,xe)=>{he++,!Re&&!fe&&ze();const lt=te=null!=te?te:V();xe.add(()=>{he--,0===he&&!Re&&!fe&&(ie=P(Ee,Q))}),lt.subscribe(xe),!ce&&he>0&&(ce=new S.Hp({next:ke=>lt.next(ke),error:ke=>{Re=!0,ze(),ie=P(qe,z,ke),lt.error(ke)},complete:()=>{fe=!0,ze(),ie=P(qe,J),lt.complete()}}),(0,T.Xf)(we).subscribe(ce))})(oe)}}function P(L,V,...z){if(!0===V)return void L();if(!1===V)return;const J=new S.Hp({next:()=>{J.unsubscribe(),L()}});return V(...z).subscribe(J)}},3900:(Y,U,x)=>{"use strict";x.d(U,{w:()=>M});var T=x(8421),i=x(4482),S=x(5403);function M(E,P){return(0,i.e)((L,V)=>{let z=null,J=0,Q=!1;const oe=()=>Q&&!z&&V.complete();L.subscribe((0,S.x)(V,ce=>{null==z||z.unsubscribe();let ie=0;const te=J++;(0,T.Xf)(E(ce,te)).subscribe(z=(0,S.x)(V,he=>V.next(P?P(ce,he,te,ie++):he),()=>{z=null,oe()}))},()=>{Q=!0,oe()}))})}},5698:(Y,U,x)=>{"use strict";x.d(U,{q:()=>M});var T=x(515),i=x(4482),S=x(5403);function M(E){return E<=0?()=>T.E:(0,i.e)((P,L)=>{let V=0;P.subscribe((0,S.x)(L,z=>{++V<=E&&(L.next(z),E<=V&&L.complete())}))})}},8505:(Y,U,x)=>{"use strict";x.d(U,{b:()=>E});var T=x(576),i=x(4482),S=x(5403),M=x(4671);function E(P,L,V){const z=(0,T.m)(P)||L||V?{next:P,error:L,complete:V}:P;return z?(0,i.e)((J,Q)=>{var oe;null===(oe=z.subscribe)||void 0===oe||oe.call(z);let ce=!0;J.subscribe((0,S.x)(Q,ie=>{var te;null===(te=z.next)||void 0===te||te.call(z,ie),Q.next(ie)},()=>{var ie;ce=!1,null===(ie=z.complete)||void 0===ie||ie.call(z),Q.complete()},ie=>{var te;ce=!1,null===(te=z.error)||void 0===te||te.call(z,ie),Q.error(ie)},()=>{var ie,te;ce&&(null===(ie=z.unsubscribe)||void 0===ie||ie.call(z)),null===(te=z.finalize)||void 0===te||te.call(z)}))}):M.y}},8068:(Y,U,x)=>{"use strict";x.d(U,{T:()=>M});var T=x(6805),i=x(4482),S=x(5403);function M(P=E){return(0,i.e)((L,V)=>{let z=!1;L.subscribe((0,S.x)(V,J=>{z=!0,V.next(J)},()=>z?V.complete():V.error(P())))})}function E(){return new T.K}},7414:(Y,U,x)=>{"use strict";x.d(U,{V:()=>z});var T=x(4986),i=x(1165),S=x(4482),M=x(8421),E=x(3888),P=x(5403),L=x(9672);const V=(0,E.d)(Q=>function(ce=null){Q(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ce});function z(Q,oe){const{first:ce,each:ie,with:te=J,scheduler:he=(null!=oe?oe:T.z),meta:fe=null}=(0,i.q)(Q)?{first:Q}:"number"==typeof Q?{each:Q}:Q;if(null==ce&&null==ie)throw new TypeError("No timeout provided.");return(0,S.e)((Re,ze)=>{let qe,Ee,we=null,xe=0;const lt=ke=>{Ee=(0,L.f)(ze,he,()=>{try{qe.unsubscribe(),(0,M.Xf)(te({meta:fe,lastValue:we,seen:xe})).subscribe(ze)}catch(Oe){ze.error(Oe)}},ke)};qe=Re.subscribe((0,P.x)(ze,ke=>{null==Ee||Ee.unsubscribe(),xe++,ze.next(we=ke),ie>0&<(ie)},void 0,void 0,()=>{(null==Ee?void 0:Ee.closed)||null==Ee||Ee.unsubscribe(),we=null})),!xe&<(null!=ce?"number"==typeof ce?ce:+ce-he.now():ie)})}function J(Q){throw new V(Q)}},4408:(Y,U,x)=>{"use strict";x.d(U,{o:()=>E});var T=x(727);class i extends T.w0{constructor(L,V){super()}schedule(L,V=0){return this}}const S={setInterval(P,L,...V){const{delegate:z}=S;return(null==z?void 0:z.setInterval)?z.setInterval(P,L,...V):setInterval(P,L,...V)},clearInterval(P){const{delegate:L}=S;return((null==L?void 0:L.clearInterval)||clearInterval)(P)},delegate:void 0};var M=x(8737);class E extends i{constructor(L,V){super(L,V),this.scheduler=L,this.work=V,this.pending=!1}schedule(L,V=0){if(this.closed)return this;this.state=L;const z=this.id,J=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(J,z,V)),this.pending=!0,this.delay=V,this.id=this.id||this.requestAsyncId(J,this.id,V),this}requestAsyncId(L,V,z=0){return S.setInterval(L.flush.bind(L,this),z)}recycleAsyncId(L,V,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return V;S.clearInterval(V)}execute(L,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(L,V);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,V){let J,z=!1;try{this.work(L)}catch(Q){z=!0,J=Q||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),J}unsubscribe(){if(!this.closed){const{id:L,scheduler:V}=this,{actions:z}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.P)(z,this),null!=L&&(this.id=this.recycleAsyncId(V,L,null)),this.delay=null,super.unsubscribe()}}}},7565:(Y,U,x)=>{"use strict";x.d(U,{v:()=>S});var T=x(6063);class i{constructor(E,P=i.now){this.schedulerActionCtor=E,this.now=P}schedule(E,P=0,L){return new this.schedulerActionCtor(this,E).schedule(L,P)}}i.now=T.l.now;class S extends i{constructor(E,P=i.now){super(E,P),this.actions=[],this._active=!1,this._scheduled=void 0}flush(E){const{actions:P}=this;if(this._active)return void P.push(E);let L;this._active=!0;do{if(L=E.execute(E.state,E.delay))break}while(E=P.shift());if(this._active=!1,L){for(;E=P.shift();)E.unsubscribe();throw L}}}},4986:(Y,U,x)=>{"use strict";x.d(U,{z:()=>S,P:()=>M});var T=x(4408);const S=new(x(7565).v)(T.o),M=S},6063:(Y,U,x)=>{"use strict";x.d(U,{l:()=>T});const T={now:()=>(T.delegate||Date).now(),delegate:void 0}},3410:(Y,U,x)=>{"use strict";x.d(U,{z:()=>T});const T={setTimeout(i,S,...M){const{delegate:E}=T;return(null==E?void 0:E.setTimeout)?E.setTimeout(i,S,...M):setTimeout(i,S,...M)},clearTimeout(i){const{delegate:S}=T;return((null==S?void 0:S.clearTimeout)||clearTimeout)(i)},delegate:void 0}},2202:(Y,U,x)=>{"use strict";x.d(U,{h:()=>i});const i=function T(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Y,U,x)=>{"use strict";x.d(U,{L:()=>T});const T="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Y,U,x)=>{"use strict";x.d(U,{K:()=>i});const i=(0,x(3888).d)(S=>function(){S(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Y,U,x)=>{"use strict";x.d(U,{jO:()=>M,yG:()=>E,_6:()=>P});var T=x(576),i=x(3532);function S(L){return L[L.length-1]}function M(L){return(0,T.m)(S(L))?L.pop():void 0}function E(L){return(0,i.K)(S(L))?L.pop():void 0}function P(L,V){return"number"==typeof S(L)?L.pop():V}},4742:(Y,U,x)=>{"use strict";x.d(U,{D:()=>E});const{isArray:T}=Array,{getPrototypeOf:i,prototype:S,keys:M}=Object;function E(L){if(1===L.length){const V=L[0];if(T(V))return{args:V,keys:null};if(function P(L){return L&&"object"==typeof L&&i(L)===S}(V)){const z=M(V);return{args:z.map(J=>V[J]),keys:z}}}return{args:L,keys:null}}},8737:(Y,U,x)=>{"use strict";function T(i,S){if(i){const M=i.indexOf(S);0<=M&&i.splice(M,1)}}x.d(U,{P:()=>T})},3888:(Y,U,x)=>{"use strict";function T(i){const M=i(E=>{Error.call(E),E.stack=(new Error).stack});return M.prototype=Object.create(Error.prototype),M.prototype.constructor=M,M}x.d(U,{d:()=>T})},1810:(Y,U,x)=>{"use strict";function T(i,S){return i.reduce((M,E,P)=>(M[E]=S[P],M),{})}x.d(U,{n:()=>T})},2806:(Y,U,x)=>{"use strict";x.d(U,{x:()=>S,O:()=>M});var T=x(2416);let i=null;function S(E){if(T.v.useDeprecatedSynchronousErrorHandling){const P=!i;if(P&&(i={errorThrown:!1,error:null}),E(),P){const{errorThrown:L,error:V}=i;if(i=null,L)throw V}}else E()}function M(E){T.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=E)}},9672:(Y,U,x)=>{"use strict";function T(i,S,M,E=0,P=!1){const L=S.schedule(function(){M(),P?i.add(this.schedule(null,E)):this.unsubscribe()},E);if(i.add(L),!P)return L}x.d(U,{f:()=>T})},4671:(Y,U,x)=>{"use strict";function T(i){return i}x.d(U,{y:()=>T})},1144:(Y,U,x)=>{"use strict";x.d(U,{z:()=>T});const T=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(Y,U,x)=>{"use strict";x.d(U,{D:()=>i});var T=x(576);function i(S){return Symbol.asyncIterator&&(0,T.m)(null==S?void 0:S[Symbol.asyncIterator])}},1165:(Y,U,x)=>{"use strict";function T(i){return i instanceof Date&&!isNaN(i)}x.d(U,{q:()=>T})},576:(Y,U,x)=>{"use strict";function T(i){return"function"==typeof i}x.d(U,{m:()=>T})},3670:(Y,U,x)=>{"use strict";x.d(U,{c:()=>S});var T=x(8822),i=x(576);function S(M){return(0,i.m)(M[T.L])}},6495:(Y,U,x)=>{"use strict";x.d(U,{T:()=>S});var T=x(2202),i=x(576);function S(M){return(0,i.m)(null==M?void 0:M[T.h])}},8239:(Y,U,x)=>{"use strict";x.d(U,{t:()=>i});var T=x(576);function i(S){return(0,T.m)(null==S?void 0:S.then)}},3260:(Y,U,x)=>{"use strict";x.d(U,{Q:()=>S,L:()=>M});var T=x(655),i=x(576);function S(E){return(0,T.FC)(this,arguments,function*(){const L=E.getReader();try{for(;;){const{value:V,done:z}=yield(0,T.qq)(L.read());if(z)return yield(0,T.qq)(void 0);yield yield(0,T.qq)(V)}}finally{L.releaseLock()}})}function M(E){return(0,i.m)(null==E?void 0:E.getReader)}},3532:(Y,U,x)=>{"use strict";x.d(U,{K:()=>i});var T=x(576);function i(S){return S&&(0,T.m)(S.schedule)}},4482:(Y,U,x)=>{"use strict";x.d(U,{A:()=>i,e:()=>S});var T=x(576);function i(M){return(0,T.m)(null==M?void 0:M.lift)}function S(M){return E=>{if(i(E))return E.lift(function(P){try{return M(P,this)}catch(L){this.error(L)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Y,U,x)=>{"use strict";x.d(U,{Z:()=>M});var T=x(4004);const{isArray:i}=Array;function M(E){return(0,T.U)(P=>function S(E,P){return i(P)?E(...P):E(P)}(E,P))}},5032:(Y,U,x)=>{"use strict";function T(){}x.d(U,{Z:()=>T})},7849:(Y,U,x)=>{"use strict";x.d(U,{h:()=>S});var T=x(2416),i=x(3410);function S(M){i.z.setTimeout(()=>{const{onUnhandledError:E}=T.v;if(!E)throw M;E(M)})}},4532:(Y,U,x)=>{"use strict";function T(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(U,{z:()=>T})},6700:(Y,U,x)=>{var T={"./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":5283,"./hy-am.js":5283,"./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":2868,"./th.js":2868,"./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 E=S(M);return x(E)}function S(M){if(!x.o(T,M)){var E=new Error("Cannot find module '"+M+"'");throw E.code="MODULE_NOT_FOUND",E}return T[M]}i.keys=function(){return Object.keys(T)},i.resolve=S,Y.exports=i,i.id=6700},655:(Y,U,x)=>{"use strict";function V(de,me,ge,Ae){return new(ge||(ge=Promise))(function(Ue,yt){function jt(Li){try{tt(Ae.next(Li))}catch(An){yt(An)}}function ri(Li){try{tt(Ae.throw(Li))}catch(An){yt(An)}}function tt(Li){Li.done?Ue(Li.value):function ye(Ue){return Ue instanceof ge?Ue:new ge(function(yt){yt(Ue)})}(Li.value).then(jt,ri)}tt((Ae=Ae.apply(de,me||[])).next())})}function fe(de){return this instanceof fe?(this.v=de,this):new fe(de)}function Re(de,me,ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,Ae=ge.apply(de,me||[]),Ue=[];return ye={},yt("next"),yt("throw"),yt("return"),ye[Symbol.asyncIterator]=function(){return this},ye;function yt($e){Ae[$e]&&(ye[$e]=function(Kt){return new Promise(function(Mr,cn){Ue.push([$e,Kt,Mr,cn])>1||jt($e,Kt)})})}function jt($e,Kt){try{!function ri($e){$e.value instanceof fe?Promise.resolve($e.value.v).then(tt,Li):An(Ue[0][2],$e)}(Ae[$e](Kt))}catch(Mr){An(Ue[0][3],Mr)}}function tt($e){jt("next",$e)}function Li($e){jt("throw",$e)}function An($e,Kt){$e(Kt),Ue.shift(),Ue.length&&jt(Ue[0][0],Ue[0][1])}}function qe(de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ge,me=de[Symbol.asyncIterator];return me?me.call(de):(de=function oe(de){var me="function"==typeof Symbol&&Symbol.iterator,ge=me&&de[me],Ae=0;if(ge)return ge.call(de);if(de&&"number"==typeof de.length)return{next:function(){return de&&Ae>=de.length&&(de=void 0),{value:de&&de[Ae++],done:!de}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")}(de),ge={},Ae("next"),Ae("throw"),Ae("return"),ge[Symbol.asyncIterator]=function(){return this},ge);function Ae(Ue){ge[Ue]=de[Ue]&&function(yt){return new Promise(function(jt,ri){!function ye(Ue,yt,jt,ri){Promise.resolve(ri).then(function(tt){Ue({value:tt,done:jt})},yt)}(jt,ri,(yt=de[Ue](yt)).done,yt.value)})}}}x.d(U,{mG:()=>V,qq:()=>fe,FC:()=>Re,KL:()=>qe})},9808:(Y,U,x)=>{"use strict";x.d(U,{mr:()=>ze,Ov:()=>$u,ez:()=>ft,K0:()=>L,uU:()=>Qe,Do:()=>Ee,V_:()=>J,Ye:()=>we,S$:()=>fe,mk:()=>Oa,sg:()=>nn,O5:()=>jn,PC:()=>ds,RF:()=>bn,n9:()=>Fn,ED:()=>Qo,tP:()=>Dr,b0:()=>qe,lw:()=>V,EM:()=>ms,JF:()=>Bt,p6:()=>Ht,NF:()=>Mn,w_:()=>P,bD:()=>qi,q:()=>S,Mx:()=>Jo,HT:()=>E});var T=x(5e3);let i=null;function S(){return i}function E(O){i||(i=O)}class P{}const L=new T.OlP("DocumentToken");let V=(()=>{class O{historyGo(B){throw new Error("Not implemented")}}return O.\u0275fac=function(B){return new(B||O)},O.\u0275prov=T.Yz7({token:O,factory:function(){return function z(){return(0,T.LFG)(Q)}()},providedIn:"platform"}),O})();const J=new T.OlP("Location Initialized");let Q=(()=>{class O extends V{constructor(B){super(),this._doc=B,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(B){const $=S().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",B,!1),()=>$.removeEventListener("popstate",B)}onHashChange(B){const $=S().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",B,!1),()=>$.removeEventListener("hashchange",B)}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(B){this.location.pathname=B}pushState(B,$,ne){oe()?this._history.pushState(B,$,ne):this.location.hash=ne}replaceState(B,$,ne){oe()?this._history.replaceState(B,$,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(B=0){this._history.go(B)}getState(){return this._history.state}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(L))},O.\u0275prov=T.Yz7({token:O,factory:function(){return function ce(){return new Q((0,T.LFG)(L))}()},providedIn:"platform"}),O})();function oe(){return!!window.history.pushState}function ie(O,G){if(0==O.length)return G;if(0==G.length)return O;let B=0;return O.endsWith("/")&&B++,G.startsWith("/")&&B++,2==B?O+G.substring(1):1==B?O+G:O+"/"+G}function te(O){const G=O.match(/#|\?|$/),B=G&&G.index||O.length;return O.slice(0,B-("/"===O[B-1]?1:0))+O.slice(B)}function he(O){return O&&"?"!==O[0]?"?"+O:O}let fe=(()=>{class O{historyGo(B){throw new Error("Not implemented")}}return O.\u0275fac=function(B){return new(B||O)},O.\u0275prov=T.Yz7({token:O,factory:function(){return function Re(O){const G=(0,T.LFG)(L).location;return new qe((0,T.LFG)(V),G&&G.origin||"")}()},providedIn:"root"}),O})();const ze=new T.OlP("appBaseHref");let qe=(()=>{class O extends fe{constructor(B,$){if(super(),this._platformLocation=B,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(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.onHashChange(B))}getBaseHref(){return this._baseHref}prepareExternalUrl(B){return ie(this._baseHref,B)}path(B=!1){const $=this._platformLocation.pathname+he(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&B?`${$}${ne}`:$}pushState(B,$,ne,_e){const Te=this.prepareExternalUrl(ne+he(_e));this._platformLocation.pushState(B,$,Te)}replaceState(B,$,ne,_e){const Te=this.prepareExternalUrl(ne+he(_e));this._platformLocation.replaceState(B,$,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformLocation).historyGo)||void 0===ne||ne.call($,B)}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(V),T.LFG(ze,8))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})(),Ee=(()=>{class O extends fe{constructor(B,$){super(),this._platformLocation=B,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.onHashChange(B))}getBaseHref(){return this._baseHref}path(B=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(B){const $=ie(this._baseHref,B);return $.length>0?"#"+$:$}pushState(B,$,ne,_e){let Te=this.prepareExternalUrl(ne+he(_e));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(B,$,Te)}replaceState(B,$,ne,_e){let Te=this.prepareExternalUrl(ne+he(_e));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(B,$,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformLocation).historyGo)||void 0===ne||ne.call($,B)}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(V),T.LFG(ze,8))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})(),we=(()=>{class O{constructor(B,$){this._subject=new T.vpe,this._urlChangeListeners=[],this._platformStrategy=B;const ne=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=te(ke(ne)),this._platformStrategy.onPopState(_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})})}path(B=!1){return this.normalize(this._platformStrategy.path(B))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(B,$=""){return this.path()==this.normalize(B+he($))}normalize(B){return O.stripTrailingSlash(function lt(O,G){return O&&G.startsWith(O)?G.substring(O.length):G}(this._baseHref,ke(B)))}prepareExternalUrl(B){return B&&"/"!==B[0]&&(B="/"+B),this._platformStrategy.prepareExternalUrl(B)}go(B,$="",ne=null){this._platformStrategy.pushState(ne,"",B,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+he($)),ne)}replaceState(B,$="",ne=null){this._platformStrategy.replaceState(ne,"",B,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+he($)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformStrategy).historyGo)||void 0===ne||ne.call($,B)}onUrlChange(B){this._urlChangeListeners.push(B),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)}))}_notifyUrlChangeListeners(B="",$){this._urlChangeListeners.forEach(ne=>ne(B,$))}subscribe(B,$,ne){return this._subject.subscribe({next:B,error:$,complete:ne})}}return O.normalizeQueryParams=he,O.joinWithSlash=ie,O.stripTrailingSlash=te,O.\u0275fac=function(B){return new(B||O)(T.LFG(fe),T.LFG(V))},O.\u0275prov=T.Yz7({token:O,factory:function(){return function xe(){return new we((0,T.LFG)(fe),(0,T.LFG)(V))}()},providedIn:"root"}),O})();function ke(O){return O.replace(/\/index.html$/,"")}var de=(()=>((de=de||{})[de.Zero=0]="Zero",de[de.One=1]="One",de[de.Two=2]="Two",de[de.Few=3]="Few",de[de.Many=4]="Many",de[de.Other=5]="Other",de))(),me=(()=>((me=me||{})[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Short=0]="Short",Ae[Ae.Medium=1]="Medium",Ae[Ae.Long=2]="Long",Ae[Ae.Full=3]="Full",Ae))(),ye=(()=>((ye=ye||{})[ye.Decimal=0]="Decimal",ye[ye.Group=1]="Group",ye[ye.List=2]="List",ye[ye.PercentSign=3]="PercentSign",ye[ye.PlusSign=4]="PlusSign",ye[ye.MinusSign=5]="MinusSign",ye[ye.Exponential=6]="Exponential",ye[ye.SuperscriptingExponent=7]="SuperscriptingExponent",ye[ye.PerMille=8]="PerMille",ye[ye.Infinity=9]="Infinity",ye[ye.NaN=10]="NaN",ye[ye.TimeSeparator=11]="TimeSeparator",ye[ye.CurrencyDecimal=12]="CurrencyDecimal",ye[ye.CurrencyGroup=13]="CurrencyGroup",ye))();function Kt(O,G){return Ii((0,T.cg1)(O)[T.wAp.DateFormat],G)}function Mr(O,G){return Ii((0,T.cg1)(O)[T.wAp.TimeFormat],G)}function cn(O,G){return Ii((0,T.cg1)(O)[T.wAp.DateTimeFormat],G)}function zi(O,G){const B=(0,T.cg1)(O),$=B[T.wAp.NumberSymbols][G];if(void 0===$){if(G===ye.CurrencyDecimal)return B[T.wAp.NumberSymbols][ye.Decimal];if(G===ye.CurrencyGroup)return B[T.wAp.NumberSymbols][ye.Group]}return $}const Xr=T.kL8;function La(O){if(!O[T.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${O[T.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ii(O,G){for(let B=G;B>-1;B--)if(void 0!==O[B])return O[B];throw new Error("Locale data API: locale data undefined")}function Xt(O){const[G,B]=O.split(":");return{hours:+G,minutes:+B}}const ae=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Be={},He=/((?:[^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 Ne=(()=>((Ne=Ne||{})[Ne.Short=0]="Short",Ne[Ne.ShortGMT=1]="ShortGMT",Ne[Ne.Long=2]="Long",Ne[Ne.Extended=3]="Extended",Ne))(),ve=(()=>((ve=ve||{})[ve.FullYear=0]="FullYear",ve[ve.Month=1]="Month",ve[ve.Date=2]="Date",ve[ve.Hours=3]="Hours",ve[ve.Minutes=4]="Minutes",ve[ve.Seconds=5]="Seconds",ve[ve.FractionalSeconds=6]="FractionalSeconds",ve[ve.Day=7]="Day",ve))(),Xe=(()=>((Xe=Xe||{})[Xe.DayPeriods=0]="DayPeriods",Xe[Xe.Days=1]="Days",Xe[Xe.Months=2]="Months",Xe[Xe.Eras=3]="Eras",Xe))();function Ht(O,G,B,$){let ne=function je(O){if(Qi(O))return O;if("number"==typeof O&&!isNaN(O))return new Date(O);if("string"==typeof O){if(O=O.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(O)){const[ne,_e=1,Te=1]=O.split("-").map(rt=>+rt);return Ei(ne,_e-1,Te)}const B=parseFloat(O);if(!isNaN(O-B))return new Date(B);let $;if($=O.match(ae))return function ui(O){const G=new Date(0);let B=0,$=0;const ne=O[8]?G.setUTCFullYear:G.setFullYear,_e=O[8]?G.setUTCHours:G.setHours;O[9]&&(B=Number(O[9]+O[10]),$=Number(O[9]+O[11])),ne.call(G,Number(O[1]),Number(O[2])-1,Number(O[3]));const Te=Number(O[4]||0)-B,rt=Number(O[5]||0)-$,ai=Number(O[6]||0),$t=Math.floor(1e3*parseFloat("0."+(O[7]||0)));return _e.call(G,Te,rt,ai,$t),G}($)}const G=new Date(O);if(!Qi(G))throw new Error(`Unable to convert "${O}" into a date`);return G}(O);G=Lt(B,G)||G;let rt,Te=[];for(;G;){if(rt=He.exec(G),!rt){Te.push(G);break}{Te=Te.concat(rt.slice(1));const kt=Te.pop();if(!kt)break;G=kt}}let ai=ne.getTimezoneOffset();$&&(ai=ls($,ai),ne=function C(O,G,B){const $=B?-1:1,ne=O.getTimezoneOffset();return function qs(O,G){return(O=new Date(O.getTime())).setMinutes(O.getMinutes()+G),O}(O,$*(ls(G,ne)-ne))}(ne,$,!0));let $t="";return Te.forEach(kt=>{const Vt=function os(O){if(Vn[O])return Vn[O];let G;switch(O){case"G":case"GG":case"GGG":G=Nt(Xe.Eras,ge.Abbreviated);break;case"GGGG":G=Nt(Xe.Eras,ge.Wide);break;case"GGGGG":G=Nt(Xe.Eras,ge.Narrow);break;case"y":G=et(ve.FullYear,1,0,!1,!0);break;case"yy":G=et(ve.FullYear,2,0,!0,!0);break;case"yyy":G=et(ve.FullYear,3,0,!1,!0);break;case"yyyy":G=et(ve.FullYear,4,0,!1,!0);break;case"Y":G=ta(1);break;case"YY":G=ta(2,!0);break;case"YYY":G=ta(3);break;case"YYYY":G=ta(4);break;case"M":case"L":G=et(ve.Month,1,1);break;case"MM":case"LL":G=et(ve.Month,2,1);break;case"MMM":G=Nt(Xe.Months,ge.Abbreviated);break;case"MMMM":G=Nt(Xe.Months,ge.Wide);break;case"MMMMM":G=Nt(Xe.Months,ge.Narrow);break;case"LLL":G=Nt(Xe.Months,ge.Abbreviated,me.Standalone);break;case"LLLL":G=Nt(Xe.Months,ge.Wide,me.Standalone);break;case"LLLLL":G=Nt(Xe.Months,ge.Narrow,me.Standalone);break;case"w":G=ea(1);break;case"ww":G=ea(2);break;case"W":G=ea(1,!0);break;case"d":G=et(ve.Date,1);break;case"dd":G=et(ve.Date,2);break;case"c":case"cc":G=et(ve.Day,1);break;case"ccc":G=Nt(Xe.Days,ge.Abbreviated,me.Standalone);break;case"cccc":G=Nt(Xe.Days,ge.Wide,me.Standalone);break;case"ccccc":G=Nt(Xe.Days,ge.Narrow,me.Standalone);break;case"cccccc":G=Nt(Xe.Days,ge.Short,me.Standalone);break;case"E":case"EE":case"EEE":G=Nt(Xe.Days,ge.Abbreviated);break;case"EEEE":G=Nt(Xe.Days,ge.Wide);break;case"EEEEE":G=Nt(Xe.Days,ge.Narrow);break;case"EEEEEE":G=Nt(Xe.Days,ge.Short);break;case"a":case"aa":case"aaa":G=Nt(Xe.DayPeriods,ge.Abbreviated);break;case"aaaa":G=Nt(Xe.DayPeriods,ge.Wide);break;case"aaaaa":G=Nt(Xe.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":G=Nt(Xe.DayPeriods,ge.Abbreviated,me.Standalone,!0);break;case"bbbb":G=Nt(Xe.DayPeriods,ge.Wide,me.Standalone,!0);break;case"bbbbb":G=Nt(Xe.DayPeriods,ge.Narrow,me.Standalone,!0);break;case"B":case"BB":case"BBB":G=Nt(Xe.DayPeriods,ge.Abbreviated,me.Format,!0);break;case"BBBB":G=Nt(Xe.DayPeriods,ge.Wide,me.Format,!0);break;case"BBBBB":G=Nt(Xe.DayPeriods,ge.Narrow,me.Format,!0);break;case"h":G=et(ve.Hours,1,-12);break;case"hh":G=et(ve.Hours,2,-12);break;case"H":G=et(ve.Hours,1);break;case"HH":G=et(ve.Hours,2);break;case"m":G=et(ve.Minutes,1);break;case"mm":G=et(ve.Minutes,2);break;case"s":G=et(ve.Seconds,1);break;case"ss":G=et(ve.Seconds,2);break;case"S":G=et(ve.FractionalSeconds,1);break;case"SS":G=et(ve.FractionalSeconds,2);break;case"SSS":G=et(ve.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=Kn(Ne.Short);break;case"ZZZZZ":G=Kn(Ne.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=Kn(Ne.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=Kn(Ne.Long);break;default:return null}return Vn[O]=G,G}(kt);$t+=Vt?Vt(ne,B,ai):"''"===kt?"'":kt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),$t}function Ei(O,G,B){const $=new Date(0);return $.setFullYear(O,G,B),$.setHours(0,0,0),$}function Lt(O,G){const B=function yt(O){return(0,T.cg1)(O)[T.wAp.LocaleId]}(O);if(Be[B]=Be[B]||{},Be[B][G])return Be[B][G];let $="";switch(G){case"shortDate":$=Kt(O,Ae.Short);break;case"mediumDate":$=Kt(O,Ae.Medium);break;case"longDate":$=Kt(O,Ae.Long);break;case"fullDate":$=Kt(O,Ae.Full);break;case"shortTime":$=Mr(O,Ae.Short);break;case"mediumTime":$=Mr(O,Ae.Medium);break;case"longTime":$=Mr(O,Ae.Long);break;case"fullTime":$=Mr(O,Ae.Full);break;case"short":const ne=Lt(O,"shortTime"),_e=Lt(O,"shortDate");$=Sr(cn(O,Ae.Short),[ne,_e]);break;case"medium":const Te=Lt(O,"mediumTime"),rt=Lt(O,"mediumDate");$=Sr(cn(O,Ae.Medium),[Te,rt]);break;case"long":const ai=Lt(O,"longTime"),$t=Lt(O,"longDate");$=Sr(cn(O,Ae.Long),[ai,$t]);break;case"full":const kt=Lt(O,"fullTime"),Vt=Lt(O,"fullDate");$=Sr(cn(O,Ae.Full),[kt,Vt])}return $&&(Be[B][G]=$),$}function Sr(O,G){return G&&(O=O.replace(/\{([^}]+)}/g,function(B,$){return null!=G&&$ in G?G[$]:B})),O}function Di(O,G,B="-",$,ne){let _e="";(O<0||ne&&O<=0)&&(ne?O=1-O:(O=-O,_e=B));let Te=String(O);for(;Te.length0||rt>-B)&&(rt+=B),O===ve.Hours)0===rt&&-12===B&&(rt=12);else if(O===ve.FractionalSeconds)return function ct(O,G){return Di(O,3).substr(0,G)}(rt,G);const ai=zi(Te,ye.MinusSign);return Di(rt,G,ai,$,ne)}}function Nt(O,G,B=me.Format,$=!1){return function(ne,_e){return function At(O,G,B,$,ne,_e){switch(B){case Xe.Months:return function tt(O,G,B){const $=(0,T.cg1)(O),_e=Ii([$[T.wAp.MonthsFormat],$[T.wAp.MonthsStandalone]],G);return Ii(_e,B)}(G,ne,$)[O.getMonth()];case Xe.Days:return function ri(O,G,B){const $=(0,T.cg1)(O),_e=Ii([$[T.wAp.DaysFormat],$[T.wAp.DaysStandalone]],G);return Ii(_e,B)}(G,ne,$)[O.getDay()];case Xe.DayPeriods:const Te=O.getHours(),rt=O.getMinutes();if(_e){const $t=function Ed(O){const G=(0,T.cg1)(O);return La(G),(G[T.wAp.ExtraData][2]||[]).map($=>"string"==typeof $?Xt($):[Xt($[0]),Xt($[1])])}(G),kt=function Ct(O,G,B){const $=(0,T.cg1)(O);La($);const _e=Ii([$[T.wAp.ExtraData][0],$[T.wAp.ExtraData][1]],G)||[];return Ii(_e,B)||[]}(G,ne,$),Vt=$t.findIndex(Vi=>{if(Array.isArray(Vi)){const[di,pi]=Vi,sa=Te>=di.hours&&rt>=di.minutes,lr=Te0?Math.floor(ne/60):Math.ceil(ne/60);switch(O){case Ne.Short:return(ne>=0?"+":"")+Di(Te,2,_e)+Di(Math.abs(ne%60),2,_e);case Ne.ShortGMT:return"GMT"+(ne>=0?"+":"")+Di(Te,1,_e);case Ne.Long:return"GMT"+(ne>=0?"+":"")+Di(Te,2,_e)+":"+Di(Math.abs(ne%60),2,_e);case Ne.Extended:return 0===$?"Z":(ne>=0?"+":"")+Di(Te,2,_e)+":"+Di(Math.abs(ne%60),2,_e);default:throw new Error(`Unknown zone width "${O}"`)}}}function Ia(O){return Ei(O.getFullYear(),O.getMonth(),O.getDate()+(4-O.getDay()))}function ea(O,G=!1){return function(B,$){let ne;if(G){const _e=new Date(B.getFullYear(),B.getMonth(),1).getDay()-1,Te=B.getDate();ne=1+Math.floor((Te+_e)/7)}else{const _e=Ia(B),Te=function uc(O){const G=Ei(O,0,1).getDay();return Ei(O,0,1+(G<=4?4:11)-G)}(_e.getFullYear()),rt=_e.getTime()-Te.getTime();ne=1+Math.round(rt/6048e5)}return Di(ne,O,zi($,ye.MinusSign))}}function ta(O,G=!1){return function(B,$){return Di(Ia(B).getFullYear(),O,zi($,ye.MinusSign),G)}}const Vn={};function ls(O,G){O=O.replace(/:/g,"");const B=Date.parse("Jan 01, 1970 00:00:00 "+O)/6e4;return isNaN(B)?G:B}function Qi(O){return O instanceof Date&&!isNaN(O.valueOf())}class oi{}let Er=(()=>{class O extends oi{constructor(B){super(),this.locale=B}getPluralCategory(B,$){switch(Xr($||this.locale)(B)){case de.Zero:return"zero";case de.One:return"one";case de.Two:return"two";case de.Few:return"few";case de.Many:return"many";default:return"other"}}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(T.soG))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})();function Jo(O,G){G=encodeURIComponent(G);for(const B of O.split(";")){const $=B.indexOf("="),[ne,_e]=-1==$?[B,""]:[B.slice(0,$),B.slice($+1)];if(ne.trim()===G)return decodeURIComponent(_e)}return null}let Oa=(()=>{class O{constructor(B,$,ne,_e){this._iterableDiffers=B,this._keyValueDiffers=$,this._ngEl=ne,this._renderer=_e,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(B){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof B?B.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(B){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof B?B.split(/\s+/):B,this._rawClass&&((0,T.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const B=this._iterableDiffer.diff(this._rawClass);B&&this._applyIterableChanges(B)}else if(this._keyValueDiffer){const B=this._keyValueDiffer.diff(this._rawClass);B&&this._applyKeyValueChanges(B)}}_applyKeyValueChanges(B){B.forEachAddedItem($=>this._toggleClass($.key,$.currentValue)),B.forEachChangedItem($=>this._toggleClass($.key,$.currentValue)),B.forEachRemovedItem($=>{$.previousValue&&this._toggleClass($.key,!1)})}_applyIterableChanges(B){B.forEachAddedItem($=>{if("string"!=typeof $.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,T.AaK)($.item)}`);this._toggleClass($.item,!0)}),B.forEachRemovedItem($=>this._toggleClass($.item,!1))}_applyClasses(B){B&&(Array.isArray(B)||B instanceof Set?B.forEach($=>this._toggleClass($,!0)):Object.keys(B).forEach($=>this._toggleClass($,!!B[$])))}_removeClasses(B){B&&(Array.isArray(B)||B instanceof Set?B.forEach($=>this._toggleClass($,!1)):Object.keys(B).forEach($=>this._toggleClass($,!1)))}_toggleClass(B,$){(B=B.trim())&&B.split(/\s+/g).forEach(ne=>{$?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.ZZ4),T.Y36(T.aQg),T.Y36(T.SBq),T.Y36(T.Qsj))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),O})();class cs{constructor(G,B,$,ne){this.$implicit=G,this.ngForOf=B,this.index=$,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 nn=(()=>{class O{constructor(B,$,ne){this._viewContainer=B,this._template=$,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(B){this._ngForOf=B,this._ngForOfDirty=!0}set ngForTrackBy(B){this._trackByFn=B}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(B){B&&(this._template=B)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const B=this._ngForOf;!this._differ&&B&&(this._differ=this._differs.find(B).create(this.ngForTrackBy))}if(this._differ){const B=this._differ.diff(this._ngForOf);B&&this._applyChanges(B)}}_applyChanges(B){const $=this._viewContainer;B.forEachOperation((ne,_e,Te)=>{if(null==ne.previousIndex)$.createEmbeddedView(this._template,new cs(ne.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)$.remove(null===_e?void 0:_e);else if(null!==_e){const rt=$.get(_e);$.move(rt,Te),Ba(rt,ne)}});for(let ne=0,_e=$.length;ne<_e;ne++){const rt=$.get(ne).context;rt.index=ne,rt.count=_e,rt.ngForOf=this._ngForOf}B.forEachIdentityChange(ne=>{Ba($.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(B,$){return!0}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(T.ZZ4))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),O})();function Ba(O,G){O.context.$implicit=G.item}let jn=(()=>{class O{constructor(B,$){this._viewContainer=B,this._context=new li,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(B){this._context.$implicit=this._context.ngIf=B,this._updateView()}set ngIfThen(B){pc("ngIfThen",B),this._thenTemplateRef=B,this._thenViewRef=null,this._updateView()}set ngIfElse(B){pc("ngIfElse",B),this._elseTemplateRef=B,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(B,$){return!0}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),O})();class li{constructor(){this.$implicit=null,this.ngIf=null}}function pc(O,G){if(G&&!G.createEmbeddedView)throw new Error(`${O} must be a TemplateRef, but received '${(0,T.AaK)(G)}'.`)}class Va{constructor(G,B){this._viewContainerRef=G,this._templateRef=B,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 bn=(()=>{class O{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(B){this._ngSwitch=B,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(B){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(B)}_matchCase(B){const $=B==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(B){if(this._defaultViews&&B!==this._defaultUsed){this._defaultUsed=B;for(let $=0;${class O{constructor(B,$,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Va(B,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(bn,9))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),O})(),Qo=(()=>{class O{constructor(B,$,ne){ne._addDefault(new Va(B,$))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(bn,9))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngSwitchDefault",""]]}),O})(),ds=(()=>{class O{constructor(B,$,ne){this._ngEl=B,this._differs=$,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(B){this._ngStyle=B,!this._differ&&B&&(this._differ=this._differs.find(B).create())}ngDoCheck(){if(this._differ){const B=this._differ.diff(this._ngStyle);B&&this._applyChanges(B)}}_setStyle(B,$){const[ne,_e]=B.split(".");null!=($=null!=$&&_e?`${$}${_e}`:$)?this._renderer.setStyle(this._ngEl.nativeElement,ne,$):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(B){B.forEachRemovedItem($=>this._setStyle($.key,null)),B.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),B.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.SBq),T.Y36(T.aQg),T.Y36(T.Qsj))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),O})(),Dr=(()=>{class O{constructor(B){this._viewContainerRef=B,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(B){if(B.ngTemplateOutlet){const $=this._viewContainerRef;this._viewRef&&$.remove($.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?$.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&B.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[T.TTD]}),O})();function er(O,G){return new T.vHH(2100,"")}class gf{createSubscription(G,B){return G.subscribe({next:B,error:$=>{throw $}})}dispose(G){G.unsubscribe()}onDestroy(G){G.unsubscribe()}}class _f{createSubscription(G,B){return G.then(B,$=>{throw $})}dispose(G){}onDestroy(G){}}const bf=new _f,yf=new gf;let $u=(()=>{class O{constructor(B){this._ref=B,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(B){return this._obj?B!==this._obj?(this._dispose(),this.transform(B)):this._latestValue:(B&&this._subscribe(B),this._latestValue)}_subscribe(B){this._obj=B,this._strategy=this._selectStrategy(B),this._subscription=this._strategy.createSubscription(B,$=>this._updateLatestValue(B,$))}_selectStrategy(B){if((0,T.QGY)(B))return bf;if((0,T.F4k)(B))return yf;throw er()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(B,$){B===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.sBO,16))},O.\u0275pipe=T.Yjl({name:"async",type:O,pure:!1}),O})();const xn=new T.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Qe=(()=>{class O{constructor(B,$){this.locale=B,this.defaultTimezone=$}transform(B,$="mediumDate",ne,_e){var Te;if(null==B||""===B||B!=B)return null;try{return Ht(B,$,_e||this.locale,null!==(Te=null!=ne?ne:this.defaultTimezone)&&void 0!==Te?Te:void 0)}catch(rt){throw er()}}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.soG,16),T.Y36(xn,24))},O.\u0275pipe=T.Yjl({name:"date",type:O,pure:!0}),O})(),ft=(()=>{class O{}return O.\u0275fac=function(B){return new(B||O)},O.\u0275mod=T.oAB({type:O}),O.\u0275inj=T.cJS({providers:[{provide:oi,useClass:Er}]}),O})();const qi="browser";function Mn(O){return O===qi}let ms=(()=>{class O{}return O.\u0275prov=(0,T.Yz7)({token:O,providedIn:"root",factory:()=>new aa((0,T.LFG)(L),window)}),O})();class aa{constructor(G,B){this.document=G,this.window=B,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 B=function $s(O,G){const B=O.getElementById(G)||O.getElementsByName(G)[0];if(B)return B;if("function"==typeof O.createTreeWalker&&O.body&&(O.body.createShadowRoot||O.body.attachShadow)){const $=O.createTreeWalker(O.body,NodeFilter.SHOW_ELEMENT);let ne=$.currentNode;for(;ne;){const _e=ne.shadowRoot;if(_e){const Te=_e.getElementById(G)||_e.querySelector(`[name="${G}"]`);if(Te)return Te}ne=$.nextNode()}}return null}(this.document,G);B&&(this.scrollToElement(B),B.focus())}setHistoryScrollRestoration(G){if(this.supportScrollRestoration()){const B=this.window.history;B&&B.scrollRestoration&&(B.scrollRestoration=G)}}scrollToElement(G){const B=G.getBoundingClientRect(),$=B.left+this.window.pageXOffset,ne=B.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo($-_e[0],ne-_e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const G=Xo(this.window.history)||Xo(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 Xo(O){return Object.getOwnPropertyDescriptor(O,"scrollRestoration")}class Bt{}},520:(Y,U,x)=>{"use strict";x.d(U,{TP:()=>yt,eN:()=>ye,JF:()=>Ii,qT:()=>ze,WM:()=>J,LE:()=>fe,Zn:()=>me});var T=x(9808),i=x(5e3),S=x(9646),M=x(8306),E=x(4351),P=x(9300),L=x(4004);class V{}class z{}class J{constructor(le){this.normalizedNames=new Map,this.lazyUpdate=null,le?this.lazyInit="string"==typeof le?()=>{this.headers=new Map,le.split("\n").forEach(ae=>{const Be=ae.indexOf(":");if(Be>0){const He=ae.slice(0,Be),Ne=He.toLowerCase(),ve=ae.slice(Be+1).trim();this.maybeSetNormalizedName(He,Ne),this.headers.has(Ne)?this.headers.get(Ne).push(ve):this.headers.set(Ne,[ve])}})}:()=>{this.headers=new Map,Object.keys(le).forEach(ae=>{let Be=le[ae];const He=ae.toLowerCase();"string"==typeof Be&&(Be=[Be]),Be.length>0&&(this.headers.set(He,Be),this.maybeSetNormalizedName(ae,He))})}:this.headers=new Map}has(le){return this.init(),this.headers.has(le.toLowerCase())}get(le){this.init();const ae=this.headers.get(le.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(le){return this.init(),this.headers.get(le.toLowerCase())||null}append(le,ae){return this.clone({name:le,value:ae,op:"a"})}set(le,ae){return this.clone({name:le,value:ae,op:"s"})}delete(le,ae){return this.clone({name:le,value:ae,op:"d"})}maybeSetNormalizedName(le,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,le)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(le=>this.applyUpdate(le)),this.lazyUpdate=null))}copyFrom(le){le.init(),Array.from(le.headers.keys()).forEach(ae=>{this.headers.set(ae,le.headers.get(ae)),this.normalizedNames.set(ae,le.normalizedNames.get(ae))})}clone(le){const ae=new J;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([le]),ae}applyUpdate(le){const ae=le.name.toLowerCase();switch(le.op){case"a":case"s":let Be=le.value;if("string"==typeof Be&&(Be=[Be]),0===Be.length)return;this.maybeSetNormalizedName(le.name,ae);const He=("a"===le.op?this.headers.get(ae):void 0)||[];He.push(...Be),this.headers.set(ae,He);break;case"d":const Ne=le.value;if(Ne){let ve=this.headers.get(ae);if(!ve)return;ve=ve.filter(Xe=>-1===Ne.indexOf(Xe)),0===ve.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,ve)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}forEach(le){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>le(this.normalizedNames.get(ae),this.headers.get(ae)))}}class Q{encodeKey(le){return te(le)}encodeValue(le){return te(le)}decodeKey(le){return decodeURIComponent(le)}decodeValue(le){return decodeURIComponent(le)}}const ce=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(Me){return encodeURIComponent(Me).replace(ce,(le,ae)=>{var Be;return null!==(Be=ie[ae])&&void 0!==Be?Be:le})}function he(Me){return`${Me}`}class fe{constructor(le={}){if(this.updates=null,this.cloneFrom=null,this.encoder=le.encoder||new Q,le.fromString){if(le.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oe(Me,le){const ae=new Map;return Me.length>0&&Me.replace(/^\?/,"").split("&").forEach(He=>{const Ne=He.indexOf("="),[ve,Xe]=-1==Ne?[le.decodeKey(He),""]:[le.decodeKey(He.slice(0,Ne)),le.decodeValue(He.slice(Ne+1))],Ht=ae.get(ve)||[];Ht.push(Xe),ae.set(ve,Ht)}),ae}(le.fromString,this.encoder)}else le.fromObject?(this.map=new Map,Object.keys(le.fromObject).forEach(ae=>{const Be=le.fromObject[ae];this.map.set(ae,Array.isArray(Be)?Be:[Be])})):this.map=null}has(le){return this.init(),this.map.has(le)}get(le){this.init();const ae=this.map.get(le);return ae?ae[0]:null}getAll(le){return this.init(),this.map.get(le)||null}keys(){return this.init(),Array.from(this.map.keys())}append(le,ae){return this.clone({param:le,value:ae,op:"a"})}appendAll(le){const ae=[];return Object.keys(le).forEach(Be=>{const He=le[Be];Array.isArray(He)?He.forEach(Ne=>{ae.push({param:Be,value:Ne,op:"a"})}):ae.push({param:Be,value:He,op:"a"})}),this.clone(ae)}set(le,ae){return this.clone({param:le,value:ae,op:"s"})}delete(le,ae){return this.clone({param:le,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(le=>{const ae=this.encoder.encodeKey(le);return this.map.get(le).map(Be=>ae+"="+this.encoder.encodeValue(Be)).join("&")}).filter(le=>""!==le).join("&")}clone(le){const ae=new fe({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(le),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(le=>this.map.set(le,this.cloneFrom.map.get(le))),this.updates.forEach(le=>{switch(le.op){case"a":case"s":const ae=("a"===le.op?this.map.get(le.param):void 0)||[];ae.push(he(le.value)),this.map.set(le.param,ae);break;case"d":if(void 0===le.value){this.map.delete(le.param);break}{let Be=this.map.get(le.param)||[];const He=Be.indexOf(he(le.value));-1!==He&&Be.splice(He,1),Be.length>0?this.map.set(le.param,Be):this.map.delete(le.param)}}}),this.cloneFrom=this.updates=null)}}class ze{constructor(){this.map=new Map}set(le,ae){return this.map.set(le,ae),this}get(le){return this.map.has(le)||this.map.set(le,le.defaultValue()),this.map.get(le)}delete(le){return this.map.delete(le),this}has(le){return this.map.has(le)}keys(){return this.map.keys()}}function Ee(Me){return"undefined"!=typeof ArrayBuffer&&Me instanceof ArrayBuffer}function we(Me){return"undefined"!=typeof Blob&&Me instanceof Blob}function xe(Me){return"undefined"!=typeof FormData&&Me instanceof FormData}class ke{constructor(le,ae,Be,He){let Ne;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=le.toUpperCase(),function qe(Me){switch(Me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==Be?Be:null,Ne=He):Ne=Be,Ne&&(this.reportProgress=!!Ne.reportProgress,this.withCredentials=!!Ne.withCredentials,Ne.responseType&&(this.responseType=Ne.responseType),Ne.headers&&(this.headers=Ne.headers),Ne.context&&(this.context=Ne.context),Ne.params&&(this.params=Ne.params)),this.headers||(this.headers=new J),this.context||(this.context=new ze),this.params){const ve=this.params.toString();if(0===ve.length)this.urlWithParams=ae;else{const Xe=ae.indexOf("?");this.urlWithParams=ae+(-1===Xe?"?":XeDi.set(ct,le.setHeaders[ct]),Ei)),le.setParams&&(Lt=Object.keys(le.setParams).reduce((Di,ct)=>Di.set(ct,le.setParams[ct]),Lt)),new ke(Be,He,ve,{params:Lt,headers:Ei,context:Sr,reportProgress:Ht,responseType:Ne,withCredentials:Xe})}}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 Je{constructor(le,ae=200,Be="OK"){this.headers=le.headers||new J,this.status=void 0!==le.status?le.status:ae,this.statusText=le.statusText||Be,this.url=le.url||null,this.ok=this.status>=200&&this.status<300}}class de extends Je{constructor(le={}){super(le),this.type=Oe.ResponseHeader}clone(le={}){return new de({headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class me extends Je{constructor(le={}){super(le),this.type=Oe.Response,this.body=void 0!==le.body?le.body:null}clone(le={}){return new me({body:void 0!==le.body?le.body:this.body,headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class ge extends Je{constructor(le){super(le,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${le.url||"(unknown url)"}`:`Http failure response for ${le.url||"(unknown url)"}: ${le.status} ${le.statusText}`,this.error=le.error||null}}function Ae(Me,le){return{body:le,headers:Me.headers,context:Me.context,observe:Me.observe,params:Me.params,reportProgress:Me.reportProgress,responseType:Me.responseType,withCredentials:Me.withCredentials}}let ye=(()=>{class Me{constructor(ae){this.handler=ae}request(ae,Be,He={}){let Ne;if(ae instanceof ke)Ne=ae;else{let Ht,Ei;Ht=He.headers instanceof J?He.headers:new J(He.headers),He.params&&(Ei=He.params instanceof fe?He.params:new fe({fromObject:He.params})),Ne=new ke(ae,Be,void 0!==He.body?He.body:null,{headers:Ht,context:He.context,params:Ei,reportProgress:He.reportProgress,responseType:He.responseType||"json",withCredentials:He.withCredentials})}const ve=(0,S.of)(Ne).pipe((0,E.b)(Ht=>this.handler.handle(Ht)));if(ae instanceof ke||"events"===He.observe)return ve;const Xe=ve.pipe((0,P.h)(Ht=>Ht instanceof me));switch(He.observe||"body"){case"body":switch(Ne.responseType){case"arraybuffer":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&!(Ht.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ht.body}));case"blob":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&!(Ht.body instanceof Blob))throw new Error("Response is not a Blob.");return Ht.body}));case"text":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&"string"!=typeof Ht.body)throw new Error("Response is not a string.");return Ht.body}));default:return Xe.pipe((0,L.U)(Ht=>Ht.body))}case"response":return Xe;default:throw new Error(`Unreachable: unhandled observe type ${He.observe}}`)}}delete(ae,Be={}){return this.request("DELETE",ae,Be)}get(ae,Be={}){return this.request("GET",ae,Be)}head(ae,Be={}){return this.request("HEAD",ae,Be)}jsonp(ae,Be){return this.request("JSONP",ae,{params:(new fe).append(Be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ae,Be={}){return this.request("OPTIONS",ae,Be)}patch(ae,Be,He={}){return this.request("PATCH",ae,Ae(He,Be))}post(ae,Be,He={}){return this.request("POST",ae,Ae(He,Be))}put(ae,Be,He={}){return this.request("PUT",ae,Ae(He,Be))}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(V))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();class Ue{constructor(le,ae){this.next=le,this.interceptor=ae}handle(le){return this.interceptor.intercept(le,this.next)}}const yt=new i.OlP("HTTP_INTERCEPTORS");let jt=(()=>{class Me{intercept(ae,Be){return Be.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const cn=/^\)\]\}',?\n/;let Kr=(()=>{class Me{constructor(ae){this.xhrFactory=ae}handle(ae){if("JSONP"===ae.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new M.y(Be=>{const He=this.xhrFactory.build();if(He.open(ae.method,ae.urlWithParams),ae.withCredentials&&(He.withCredentials=!0),ae.headers.forEach((ct,et)=>He.setRequestHeader(ct,et.join(","))),ae.headers.has("Accept")||He.setRequestHeader("Accept","application/json, text/plain, */*"),!ae.headers.has("Content-Type")){const ct=ae.detectContentTypeHeader();null!==ct&&He.setRequestHeader("Content-Type",ct)}if(ae.responseType){const ct=ae.responseType.toLowerCase();He.responseType="json"!==ct?ct:"text"}const Ne=ae.serializeBody();let ve=null;const Xe=()=>{if(null!==ve)return ve;const ct=He.statusText||"OK",et=new J(He.getAllResponseHeaders()),vn=function zi(Me){return"responseURL"in Me&&Me.responseURL?Me.responseURL:/^X-Request-URL:/m.test(Me.getAllResponseHeaders())?Me.getResponseHeader("X-Request-URL"):null}(He)||ae.url;return ve=new de({headers:et,status:He.status,statusText:ct,url:vn}),ve},Ht=()=>{let{headers:ct,status:et,statusText:vn,url:Nt}=Xe(),At=null;204!==et&&(At=void 0===He.response?He.responseText:He.response),0===et&&(et=At?200:0);let Kn=et>=200&&et<300;if("json"===ae.responseType&&"string"==typeof At){const Bn=At;At=At.replace(cn,"");try{At=""!==At?JSON.parse(At):null}catch(Tn){At=Bn,Kn&&(Kn=!1,At={error:Tn,text:At})}}Kn?(Be.next(new me({body:At,headers:ct,status:et,statusText:vn,url:Nt||void 0})),Be.complete()):Be.error(new ge({error:At,headers:ct,status:et,statusText:vn,url:Nt||void 0}))},Ei=ct=>{const{url:et}=Xe(),vn=new ge({error:ct,status:He.status||0,statusText:He.statusText||"Unknown Error",url:et||void 0});Be.error(vn)};let Lt=!1;const Sr=ct=>{Lt||(Be.next(Xe()),Lt=!0);let et={type:Oe.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(et.total=ct.total),"text"===ae.responseType&&!!He.responseText&&(et.partialText=He.responseText),Be.next(et)},Di=ct=>{let et={type:Oe.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(et.total=ct.total),Be.next(et)};return He.addEventListener("load",Ht),He.addEventListener("error",Ei),He.addEventListener("timeout",Ei),He.addEventListener("abort",Ei),ae.reportProgress&&(He.addEventListener("progress",Sr),null!==Ne&&He.upload&&He.upload.addEventListener("progress",Di)),He.send(Ne),Be.next({type:Oe.Sent}),()=>{He.removeEventListener("error",Ei),He.removeEventListener("abort",Ei),He.removeEventListener("load",Ht),He.removeEventListener("timeout",Ei),ae.reportProgress&&(He.removeEventListener("progress",Sr),null!==Ne&&He.upload&&He.upload.removeEventListener("progress",Di)),He.readyState!==He.DONE&&He.abort()}})}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(T.JF))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const Ys=new i.OlP("XSRF_COOKIE_NAME"),zs=new i.OlP("XSRF_HEADER_NAME");class Us{}let Ra=(()=>{class Me{constructor(ae,Be,He){this.doc=ae,this.platform=Be,this.cookieName=He,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ae=this.doc.cookie||"";return ae!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,T.Mx)(ae,this.cookieName),this.lastCookieString=ae),this.lastToken}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(T.K0),i.LFG(i.Lbi),i.LFG(Ys))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),Xr=(()=>{class Me{constructor(ae,Be){this.tokenService=ae,this.headerName=Be}intercept(ae,Be){const He=ae.url.toLowerCase();if("GET"===ae.method||"HEAD"===ae.method||He.startsWith("http://")||He.startsWith("https://"))return Be.handle(ae);const Ne=this.tokenService.getToken();return null!==Ne&&!ae.headers.has(this.headerName)&&(ae=ae.clone({headers:ae.headers.set(this.headerName,Ne)})),Be.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(Us),i.LFG(zs))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),La=(()=>{class Me{constructor(ae,Be){this.backend=ae,this.injector=Be,this.chain=null}handle(ae){if(null===this.chain){const Be=this.injector.get(yt,[]);this.chain=Be.reduceRight((He,Ne)=>new Ue(He,Ne),this.backend)}return this.chain.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(z),i.LFG(i.zs3))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),$o=(()=>{class Me{static disable(){return{ngModule:Me,providers:[{provide:Xr,useClass:jt}]}}static withOptions(ae={}){return{ngModule:Me,providers:[ae.cookieName?{provide:Ys,useValue:ae.cookieName}:[],ae.headerName?{provide:zs,useValue:ae.headerName}:[]]}}}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275mod=i.oAB({type:Me}),Me.\u0275inj=i.cJS({providers:[Xr,{provide:yt,useExisting:Xr,multi:!0},{provide:Us,useClass:Ra},{provide:Ys,useValue:"XSRF-TOKEN"},{provide:zs,useValue:"X-XSRF-TOKEN"}]}),Me})(),Ii=(()=>{class Me{}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275mod=i.oAB({type:Me}),Me.\u0275inj=i.cJS({providers:[ye,{provide:V,useClass:La},Kr,{provide:z,useExisting:Kr}],imports:[[$o.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Me})()},5e3:(Y,U,x)=>{"use strict";x.d(U,{deG:()=>fl,tb:()=>kC,AFp:()=>jT,ip1:()=>Rg,CZH:()=>Zl,hGG:()=>hx,z2F:()=>Fu,sBO:()=>XT,Sil:()=>Og,_Vd:()=>Ul,EJc:()=>Ig,SBq:()=>ld,qLn:()=>Sl,vpe:()=>Ta,tBr:()=>Al,XFs:()=>Ct,OlP:()=>xi,zs3:()=>Ur,ZZ4:()=>$p,aQg:()=>Yo,soG:()=>Jl,YKP:()=>hT,h0i:()=>Su,PXZ:()=>ZT,R0b:()=>$r,FiY:()=>za,Lbi:()=>$l,g9A:()=>_d,n_E:()=>hd,Qsj:()=>Tp,FYo:()=>vp,JOm:()=>Ds,q3G:()=>Xi,tp0:()=>qa,Rgc:()=>Bo,dDg:()=>LC,GfV:()=>Zr,s_b:()=>pd,ifc:()=>Ne,eFA:()=>VC,G48:()=>KT,Gpc:()=>Q,f3M:()=>gh,_c5:()=>Xl,VLi:()=>OC,c2e:()=>Lg,zSh:()=>_m,wAp:()=>ht,vHH:()=>te,EiD:()=>Ww,mCW:()=>Ch,qzn:()=>Rc,JVY:()=>Ow,pB0:()=>y_,eBb:()=>Bw,L6k:()=>zf,LAX:()=>Vw,cg1:()=>_y,kL8:()=>by,yhl:()=>b_,dqk:()=>Lt,sIi:()=>pu,CqO:()=>yr,QGY:()=>rp,F4k:()=>Gn,RDi:()=>Xo,AaK:()=>V,z3N:()=>Ga,qOj:()=>Dm,TTD:()=>hn,_Bn:()=>lg,xp6:()=>Xf,uIk:()=>ar,Tol:()=>_u,Gre:()=>es,ekj:()=>oy,Suo:()=>bC,Xpm:()=>Ia,lG2:()=>je,Yz7:()=>Kt,cJS:()=>cn,oAB:()=>ls,Yjl:()=>ui,Y36:()=>Wr,_UZ:()=>Ub,GkF:()=>Wb,BQk:()=>np,ynx:()=>ip,qZA:()=>tp,TgZ:()=>Fm,EpF:()=>Zb,n5z:()=>oh,Ikx:()=>eg,LFG:()=>sn,$8M:()=>vs,$Z:()=>jm,NdJ:()=>ap,CRH:()=>wg,kcU:()=>ol,O4$:()=>Xu,oxw:()=>Nm,ALo:()=>yT,lcZ:()=>ud,xi3:()=>Pu,Dn7:()=>ql,Hsn:()=>Kb,F$t:()=>Qb,Q6J:()=>Xh,s9C:()=>Ym,DdM:()=>nC,VKq:()=>Hp,WLB:()=>Hu,iGM:()=>AT,MAs:()=>Pb,Jf7:()=>nA,CHM:()=>gc,oJD:()=>Cn,LSH:()=>Gf,Udp:()=>op,WFA:()=>gu,d8E:()=>dp,YNc:()=>Hb,W1O:()=>yC,_uU:()=>Sv,Oqu:()=>Jm,hij:()=>Ro,AsE:()=>Vl,xDo:()=>py,Gf:()=>Cg});var T=x(7579),i=x(727),S=x(8306),M=x(6451),E=x(3099);function P(p){for(let m in p)if(p[m]===P)return m;throw Error("Could not find renamed property on target object.")}function L(p,m){for(const g in m)m.hasOwnProperty(g)&&!p.hasOwnProperty(g)&&(p[g]=m[g])}function V(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(V).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const g=m.indexOf("\n");return-1===g?m:m.substring(0,g)}function z(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const J=P({__forward_ref__:P});function Q(p){return p.__forward_ref__=Q,p.toString=function(){return V(this())},p}function oe(p){return ce(p)?p():p}function ce(p){return"function"==typeof p&&p.hasOwnProperty(J)&&p.__forward_ref__===Q}class te extends Error{constructor(m,g){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,g)),this.code=m}}function fe(p){return"string"==typeof p?p:null==p?"":String(p)}function Re(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():fe(p)}function we(p,m){const g=m?` in ${m}`:"";throw new te(-201,`No provider for ${Re(p)} found${g}`)}function ri(p,m){null==p&&function tt(p,m,g,_){throw new Error(`ASSERTION ERROR: ${p}`+(null==_?"":` [Expected=> ${g} ${_} ${m} <=Actual]`))}(m,p,null,"!=")}function Kt(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function cn(p){return{providers:p.providers||[],imports:p.imports||[]}}function zi(p){return Kr(p,Ra)||Kr(p,La)}function Kr(p,m){return p.hasOwnProperty(m)?p[m]:null}function Us(p){return p&&(p.hasOwnProperty(Xr)||p.hasOwnProperty(Ed))?p[Xr]:null}const Ra=P({\u0275prov:P}),Xr=P({\u0275inj:P}),La=P({ngInjectableDef:P}),Ed=P({ngInjectorDef:P});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let $o;function Xt(p){const m=$o;return $o=p,m}function dn(p,m,g){const _=zi(p);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:g&Ct.Optional?null:void 0!==m?m:void we(V(p),"Injector")}function le(p){return{toString:p}.toString()}var ae=(()=>((ae=ae||{})[ae.OnPush=0]="OnPush",ae[ae.Default=1]="Default",ae))(),Ne=(()=>{return(p=Ne||(Ne={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",Ne;var p})();const ve="undefined"!=typeof globalThis&&globalThis,Xe="undefined"!=typeof window&&window,Ht="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt=ve||"undefined"!=typeof global&&global||Xe||Ht,ct={},et=[],vn=P({\u0275cmp:P}),Nt=P({\u0275dir:P}),At=P({\u0275pipe:P}),Kn=P({\u0275mod:P}),Bn=P({\u0275fac:P}),Tn=P({__NG_ELEMENT_ID__:P});let uc=0;function Ia(p){return le(()=>{const g={},_={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||et,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||Ne.Emulated,id:"c",styles:p.styles||et,_:null,setInput:null,schemas:p.schemas||null,tView:null},y=p.directives,w=p.features,D=p.pipes;return _.id+=uc++,_.inputs=C(p.inputs,g),_.outputs=C(p.outputs),w&&w.forEach(k=>k(_)),_.directiveDefs=y?()=>("function"==typeof y?y():y).map(ta):null,_.pipeDefs=D?()=>("function"==typeof D?D():D).map(Vn):null,_})}function ta(p){return Qi(p)||function it(p){return p[Nt]||null}(p)}function Vn(p){return function Xn(p){return p[At]||null}(p)}const os={};function ls(p){return le(()=>{const m={type:p.type,bootstrap:p.bootstrap||et,declarations:p.declarations||et,imports:p.imports||et,exports:p.exports||et,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(os[p.id]=p.type),m})}function C(p,m){if(null==p)return ct;const g={};for(const _ in p)if(p.hasOwnProperty(_)){let y=p[_],w=y;Array.isArray(y)&&(w=y[1],y=y[0]),g[y]=_,m&&(m[y]=w)}return g}const je=Ia;function ui(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function Qi(p){return p[vn]||null}function wt(p,m){const g=p[Kn]||null;if(!g&&!0===m)throw new Error(`Type ${V(p)} does not have '\u0275mod' property.`);return g}function bn(p){return Array.isArray(p)&&"object"==typeof p[1]}function Fn(p){return Array.isArray(p)&&!0===p[1]}function Qo(p){return 0!=(8&p.flags)}function ja(p){return 2==(2&p.flags)}function na(p){return 1==(1&p.flags)}function Nn(p){return null!==p.template}function ds(p){return 0!=(512&p[2])}function rn(p,m){return p.hasOwnProperty(Bn)?p[Bn]:null}class Rt{constructor(m,g,_){this.previousValue=m,this.currentValue=g,this.firstChange=_}isFirstChange(){return this.firstChange}}function hn(){return yn}function yn(p){return p.type.prototype.ngOnChanges&&(p.setInput=mc),fc}function fc(){const p=qi(this),m=null==p?void 0:p.current;if(m){const g=p.previous;if(g===ct)p.previous=m;else for(let _ in m)g[_]=m[_];p.current=null,this.ngOnChanges(m)}}function mc(p,m,g,_){const y=qi(p)||function Yt(p,m){return p[ft]=m}(p,{previous:ct,current:null}),w=y.current||(y.current={}),D=y.previous,k=this.declaredInputs[g],R=D[k];w[k]=new Rt(R&&R.currentValue,m,D===ct),p[_]=m}hn.ngInherit=!0;const ft="__ngSimpleChanges__";function qi(p){return p[ft]||null}let aa;function Xo(p){aa=p}function $s(){return void 0!==aa?aa:"undefined"!=typeof document?document:void 0}function Bt(p){return!!p.listen}const O={createRenderer:(p,m)=>$s()};function B(p){for(;Array.isArray(p);)p=p[0];return p}function _e(p,m){return B(m[p])}function Te(p,m){return B(m[p.index])}function ai(p,m){return p.data[m]}function $t(p,m){return p[m]}function kt(p,m){const g=m[p];return bn(g)?g:g[0]}function Vt(p){return 4==(4&p[2])}function Vi(p){return 128==(128&p[2])}function pi(p,m){return null==m?null:p[m]}function sa(p){p[18]=0}function lr(p,m){p[5]+=m;let g=p,_=p[3];for(;null!==_&&(1===m&&1===g[5]||-1===m&&0===g[5]);)_[5]+=m,g=_,_=_[3]}const dt={lFrame:eo(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function _s(){return dt.bindingsEnabled}function De(){return dt.lFrame.lView}function Ut(){return dt.lFrame.tView}function gc(p){return dt.lFrame.contextLView=p,p[8]}function si(){let p=Hd();for(;null!==p&&64===p.type;)p=p.parent;return p}function Hd(){return dt.lFrame.currentTNode}function cr(p,m){const g=dt.lFrame;g.currentTNode=p,g.isParent=m}function kd(){return dt.lFrame.isParent}function Gi(){dt.lFrame.isParent=!1}function _c(){return dt.isInCheckNoChangesMode}function il(p){dt.isInCheckNoChangesMode=p}function an(){const p=dt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function oa(){return dt.lFrame.bindingIndex}function Ks(){return dt.lFrame.bindingIndex++}function Sn(p){const m=dt.lFrame,g=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,g}function ys(p,m){const g=dt.lFrame;g.bindingIndex=g.bindingRootIndex=p,Pr(m)}function Pr(p){dt.lFrame.currentDirectiveIndex=p}function rl(p){const m=dt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Fa(){return dt.lFrame.currentQueryIndex}function bc(p){dt.lFrame.currentQueryIndex=p}function Ku(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function al(p,m,g){if(g&Ct.SkipSelf){let y=m,w=p;for(;!(y=y.parent,null!==y||g&Ct.Host||(y=Ku(w),null===y||(w=w[15],10&y.type))););if(null===y)return!1;m=y,p=w}const _=dt.lFrame=Cs();return _.currentTNode=m,_.lView=p,!0}function Xs(p){const m=Cs(),g=p[1];dt.lFrame=m,m.currentTNode=g.firstChild,m.lView=p,m.tView=g,m.contextLView=p,m.bindingIndex=g.bindingStartIndex,m.inI18n=!1}function Cs(){const p=dt.lFrame,m=null===p?null:p.child;return null===m?eo(p):m}function eo(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function Rd(){const p=dt.lFrame;return dt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const sl=Rd;function yc(){const p=Rd();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function pn(){return dt.lFrame.selectedIndex}function la(p){dt.lFrame.selectedIndex=p}function Ti(){const p=dt.lFrame;return ai(p.tView,p.selectedIndex)}function Xu(){dt.lFrame.currentNamespace="svg"}function ol(){!function Cf(){dt.lFrame.currentNamespace=null}()}function ll(p,m){for(let g=m.directiveStart,_=m.directiveEnd;g<_;g++){const w=p.data[g].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:k,ngAfterViewInit:R,ngAfterViewChecked:N,ngOnDestroy:q}=w;D&&(p.contentHooks||(p.contentHooks=[])).push(-g,D),k&&((p.contentHooks||(p.contentHooks=[])).push(g,k),(p.contentCheckHooks||(p.contentCheckHooks=[])).push(g,k)),R&&(p.viewHooks||(p.viewHooks=[])).push(-g,R),N&&((p.viewHooks||(p.viewHooks=[])).push(g,N),(p.viewCheckHooks||(p.viewCheckHooks=[])).push(g,N)),null!=q&&(p.destroyHooks||(p.destroyHooks=[])).push(g,q)}}function wc(p,m,g){Ac(p,m,3,g)}function to(p,m,g,_){(3&p[2])===g&&Ac(p,m,g,_)}function io(p,m){let g=p[2];(3&g)===m&&(g&=2047,g+=1,p[2]=g)}function Ac(p,m,g,_){const w=null!=_?_:-1,D=m.length-1;let k=0;for(let R=void 0!==_?65535&p[18]:0;R=_)break}else m[R]<0&&(p[18]+=65536),(k>11>16&&(3&p[2])===m){p[2]+=2048;try{w.call(k)}finally{}}}else try{w.call(k)}finally{}}class no{constructor(m,g,_){this.factory=m,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=_}}function cl(p,m,g){const _=Bt(p);let y=0;for(;ym){D=w-1;break}}}for(;w>16}(p),_=m;for(;g>0;)_=_[15],g--;return _}let As=!0;function so(p){const m=As;return As=p,m}let Sc=0;function oo(p,m){const g=ua(p,m);if(-1!==g)return g;const _=m[1];_.firstCreatePass&&(p.injectorIndex=m.length,lo(_.data,p),lo(m,null),lo(_.blueprint,null));const y=Rr(p,m),w=p.injectorIndex;if(ul(y)){const D=ao(y),k=da(y,m),R=k[1].data;for(let N=0;N<8;N++)m[w+N]=k[D+N]|R[D+N]}return m[w+8]=y,w}function lo(p,m){p.push(0,0,0,0,0,0,0,0,m)}function ua(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function Rr(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let g=0,_=null,y=m;for(;null!==y;){const w=y[1],D=w.type;if(_=2===D?w.declTNode:1===D?y[6]:null,null===_)return-1;if(g++,y=y[15],-1!==_.injectorIndex)return _.injectorIndex|g<<16}return-1}function hl(p,m,g){!function rh(p,m,g){let _;"string"==typeof g?_=g.charCodeAt(0)||0:g.hasOwnProperty(Tn)&&(_=g[Tn]),null==_&&(_=g[Tn]=Sc++);const y=255&_;m.data[p+(y>>5)]|=1<=0?255&m:Mf:m}(g);if("function"==typeof w){if(!al(m,p,_))return _&Ct.Host?Od(y,g,_):Ec(m,g,_,y);try{const D=w(_);if(null!=D||_&Ct.Optional)return D;we(g)}finally{sl()}}else if("number"==typeof w){let D=null,k=ua(p,m),R=-1,N=_&Ct.Host?m[16][6]:null;for((-1===k||_&Ct.SkipSelf)&&(R=-1===k?Rr(p,m):m[k+8],-1!==R&&sh(_,!1)?(D=m[1],k=ao(R),m=da(R,m)):k=-1);-1!==k;){const q=m[1];if(Ya(w,k,q.data)){const X=Sf(k,m,g,D,_,N);if(X!==ah)return X}R=m[k+8],-1!==R&&sh(_,m[1].data[k+8]===N)&&Ya(w,k,m)?(D=q,k=ao(R),m=da(R,m)):k=-1}}}return Ec(m,g,_,y)}const ah={};function Mf(){return new uo(si(),De())}function Sf(p,m,g,_,y,w){const D=m[1],k=D.data[p+8],q=co(k,D,g,null==_?ja(k)&&As:_!=D&&0!=(3&k.type),y&Ct.Host&&w===k);return null!==q?tr(m,D,q,k):ah}function co(p,m,g,_,y){const w=p.providerIndexes,D=m.data,k=1048575&w,R=p.directiveStart,q=w>>20,re=y?k+q:p.directiveEnd;for(let ue=_?k:k+q;ue=R&&Ce.type===g)return ue}if(y){const ue=D[R];if(ue&&Nn(ue)&&ue.type===g)return R}return null}function tr(p,m,g,_){let y=p[g];const w=m.data;if(function th(p){return p instanceof no}(y)){const D=y;D.resolving&&function ze(p,m){const g=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new te(-200,`Circular dependency in DI detected for ${p}${g}`)}(Re(w[g]));const k=so(D.canSeeViewProviders);D.resolving=!0;const R=D.injectImpl?Xt(D.injectImpl):null;al(p,_,Ct.Default);try{y=p[g]=D.factory(void 0,w,p,_),m.firstCreatePass&&g>=_.directiveStart&&function ws(p,m,g){const{ngOnChanges:_,ngOnInit:y,ngDoCheck:w}=m.type.prototype;if(_){const D=yn(m);(g.preOrderHooks||(g.preOrderHooks=[])).push(p,D),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,D)}y&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-p,y),w&&((g.preOrderHooks||(g.preOrderHooks=[])).push(p,w),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,w))}(g,w[g],m)}finally{null!==R&&Xt(R),so(k),D.resolving=!1,sl()}}return y}function Ya(p,m,g){return!!(g[m+(p>>5)]&1<{const m=p.prototype.constructor,g=m[Bn]||Vd(m),_=Object.prototype;let y=Object.getPrototypeOf(p.prototype).constructor;for(;y&&y!==_;){const w=y[Bn]||Vd(y);if(w&&w!==g)return w;y=Object.getPrototypeOf(y)}return w=>new w})}function Vd(p){return ce(p)?()=>{const m=Vd(oe(p));return m&&m()}:rn(p)}function vs(p){return function Na(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const g=p.attrs;if(g){const _=g.length;let y=0;for(;y<_;){const w=g[y];if(xc(w))break;if(0===w)y+=2;else if("number"==typeof w)for(y++;y<_&&"string"==typeof g[y];)y++;else{if(w===m)return g[y+1];y+=2}}}return null}(si(),p)}const ho="__parameters__";function Ts(p,m,g){return le(()=>{const _=function jd(p){return function(...g){if(p){const _=p(...g);for(const y in _)this[y]=_[y]}}}(m);function y(...w){if(this instanceof y)return _.apply(this,w),this;const D=new y(...w);return k.annotation=D,k;function k(R,N,q){const X=R.hasOwnProperty(ho)?R[ho]:Object.defineProperty(R,ho,{value:[]})[ho];for(;X.length<=q;)X.push(null);return(X[q]=X[q]||[]).push(D),R}}return g&&(y.prototype=Object.create(g.prototype)),y.prototype.ngMetadataName=p,y.annotationCls=y,y})}class xi{constructor(m,g){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=Kt({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}toString(){return`InjectionToken ${this._desc}`}}const fl=new xi("AnalyzeForEntryComponents");function zn(p,m){void 0===m&&(m=p);for(let g=0;gArray.isArray(g)?Dn(g,m):m(g))}function Fd(p,m,g){m>=p.length?p.push(g):p.splice(m,0,g)}function Dc(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function bl(p,m){const g=[];for(let _=0;_=0?p[1|_]=g:(_=~_,function Rf(p,m,g,_){let y=p.length;if(y==m)p.push(g,_);else if(1===y)p.push(_,p[0]),p[0]=g;else{for(y--,p.push(p[y-1],p[y]);y>m;)p[y]=p[y-2],y--;p[m]=g,p[m+1]=_}}(p,_,m,g)),_}function Nd(p,m){const g=xs(p,m);if(g>=0)return p[1|g]}function xs(p,m){return function yl(p,m,g){let _=0,y=p.length>>g;for(;y!==_;){const w=_+(y-_>>1),D=p[w<m?y=w:_=w+1}return~(y<({token:p})),-1),za=bo(Ts("Optional"),8),qa=bo(Ts("SkipSelf"),4);let St,se;function H(p){var m;return(null===(m=function v(){if(void 0===St&&(St=null,Lt.trustedTypes))try{St=Lt.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return St}())||void 0===m?void 0:m.createHTML(p))||p}function st(p){var m;return(null===(m=function be(){if(void 0===se&&(se=null,Lt.trustedTypes))try{se=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return se}())||void 0===m?void 0:m.createHTML(p))||p}class ki{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pa extends ki{getTypeName(){return"HTML"}}class hr extends ki{getTypeName(){return"Style"}}class Rw extends ki{getTypeName(){return"Script"}}class Lw extends ki{getTypeName(){return"URL"}}class Iw extends ki{getTypeName(){return"ResourceURL"}}function Ga(p){return p instanceof ki?p.changingThisBreaksApplicationSecurity:p}function Rc(p,m){const g=b_(p);if(null!=g&&g!==m){if("ResourceURL"===g&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${g} (see https://g.co/ng/security#xss)`)}return g===m}function b_(p){return p instanceof ki&&p.getTypeName()||null}function Ow(p){return new pa(p)}function zf(p){return new hr(p)}function Bw(p){return new Rw(p)}function Vw(p){return new Lw(p)}function y_(p){return new Iw(p)}class d0{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const g=(new window.DOMParser).parseFromString(H(m),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(m):(g.removeChild(g.firstChild),g)}catch(g){return null}}}class jw{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const _=this.inertDocument.createElement("body");g.appendChild(_)}}getInertBodyElement(m){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=H(m),g;const _=this.inertDocument.createElement("body");return _.innerHTML=H(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(m){const g=m.attributes;for(let y=g.length-1;0Ch(m.trim())).join(", ")),this.buf.push(" ",D,'="',jr(R),'"')}var p;return this.buf.push(">"),!0}endElement(m){const g=m.nodeName.toLowerCase();Uf.hasOwnProperty(g)&&!gi.hasOwnProperty(g)&&(this.buf.push(""))}chars(m){this.buf.push(jr(m))}checkClobberedElement(m,g){if(g&&(m.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return g}}const Ah=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bc=/([^\#-~ |!])/g;function jr(p){return p.replace(/&/g,"&").replace(Ah,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(Bc,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let Vc;function Ww(p,m){let g=null;try{Vc=Vc||function C_(p){const m=new jw(p);return function Fw(){try{return!!(new window.DOMParser).parseFromString(H(""),"text/html")}catch(p){return!1}}()?new d0(m):m}(p);let _=m?String(m):"";g=Vc.getInertBodyElement(_);let y=5,w=_;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,_=w,w=g.innerHTML,g=Vc.getInertBodyElement(_)}while(_!==w);return H((new Gw).sanitizeChildren(Zd(g)||g))}finally{if(g){const _=Zd(g)||g;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Zd(p){return"content"in p&&function w_(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var Xi=(()=>((Xi=Xi||{})[Xi.NONE=0]="NONE",Xi[Xi.HTML=1]="HTML",Xi[Xi.STYLE=2]="STYLE",Xi[Xi.SCRIPT=3]="SCRIPT",Xi[Xi.URL=4]="URL",Xi[Xi.RESOURCE_URL=5]="RESOURCE_URL",Xi))();function Cn(p){const m=wo();return m?st(m.sanitize(Xi.HTML,p)||""):Rc(p,"HTML")?st(Ga(p)):Ww($s(),fe(p))}function Gf(p){const m=wo();return m?m.sanitize(Xi.URL,p)||"":Rc(p,"URL")?Ga(p):Ch(fe(p))}function wo(){const p=De();return p&&p[12]}const ma="__ngContext__";function Un(p,m){p[ma]=m}function v_(p){const m=function Th(p){return p[ma]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function x_(p){return p.ngOriginalError}function C0(p,...m){p.error(...m)}class Sl{constructor(){this._console=console}handleError(m){const g=this._findOriginalError(m),_=function y0(p){return p&&p.ngErrorLogger||C0}(m);_(this._console,"ERROR",m),g&&_(this._console,"ORIGINAL ERROR",g)}_findOriginalError(m){let g=m&&x_(m);for(;g&&x_(g);)g=x_(g);return g||null}}const iA=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Lt))();function nA(p){return p.ownerDocument.defaultView}function Es(p){return p instanceof Function?p():p}var Ds=(()=>((Ds=Ds||{})[Ds.Important=1]="Important",Ds[Ds.DashCase=2]="DashCase",Ds))();function S_(p,m){return undefined(p,m)}function Jd(p){const m=p[3];return Fn(m)?m[3]:m}function D_(p){return oA(p[13])}function H_(p){return oA(p[4])}function oA(p){for(;null!==p&&!Fn(p);)p=p[4];return p}function Qd(p,m,g,_,y){if(null!=_){let w,D=!1;Fn(_)?w=_:bn(_)&&(D=!0,_=_[0]);const k=B(_);0===p&&null!==g?null==y?pA(m,g,k):jc(m,g,k,y||null,!0):1===p&&null!==g?jc(m,g,k,y||null,!0):2===p?function CA(p,m,g){const _=$f(p,m);_&&function Y0(p,m,g,_){Bt(p)?p.removeChild(m,g,_):m.removeChild(g)}(p,_,m,g)}(m,k,D):3===p&&m.destroyNode(k),null!=w&&function q0(p,m,g,_,y){const w=g[7];w!==B(g)&&Qd(m,p,_,w,y);for(let k=10;k0&&(p[g-1][4]=_[4]);const w=Dc(p,10+m);!function L0(p,m){xh(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(_[1],_);const D=w[19];null!==D&&D.detachView(w[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function dA(p,m){if(!(256&m[2])){const g=m[11];Bt(g)&&g.destroyNode&&xh(p,m,g,3,null,null),function B0(p){let m=p[13];if(!m)return L_(p[1],p);for(;m;){let g=null;if(bn(m))g=m[13];else{const _=m[10];_&&(g=_)}if(!g){for(;m&&!m[4]&&m!==p;)bn(m)&&L_(m[1],m),m=m[3];null===m&&(m=p),bn(m)&&L_(m[1],m),g=m&&m[4]}m=g}}(m)}}function L_(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function N0(p,m){let g;if(null!=p&&null!=(g=p.destroyHooks))for(let _=0;_=0?_[y=N]():_[y=-N].unsubscribe(),w+=2}else{const D=_[y=g[w+1]];g[w].call(D)}if(null!==_){for(let w=y+1;w<_.length;w++)_[w]();m[7]=null}}(p,m),1===m[1].type&&Bt(m[11])&&m[11].destroy();const g=m[17];if(null!==g&&Fn(m[3])){g!==m[3]&&cA(g,m);const _=m[19];null!==_&&_.detachView(p)}}}function uA(p,m,g){return function hA(p,m,g){let _=m;for(;null!==_&&40&_.type;)_=(m=_).parent;if(null===_)return g[0];if(2&_.flags){const y=p.data[_.directiveStart].encapsulation;if(y===Ne.None||y===Ne.Emulated)return null}return Te(_,g)}(p,m.parent,g)}function jc(p,m,g,_,y){Bt(p)?p.insertBefore(m,g,_,y):m.insertBefore(g,_,y)}function pA(p,m,g){Bt(p)?p.appendChild(m,g):m.appendChild(g)}function fA(p,m,g,_,y){null!==_?jc(p,m,g,_,y):pA(p,m,g)}function $f(p,m){return Bt(p)?p.parentNode(m):m.parentNode}function mA(p,m,g){return _A(p,m,g)}let _A=function gA(p,m,g){return 40&p.type?Te(p,g):null};function Jf(p,m,g,_){const y=uA(p,_,m),w=m[11],k=mA(_.parent||m[6],_,m);if(null!=y)if(Array.isArray(g))for(let R=0;Rw?"":y[X+1].toLowerCase();const ue=8&_?re:null;if(ue&&-1!==vA(ue,N,0)||2&_&&N!==re){if(pr(_))return!1;D=!0}}}}else{if(!D&&!pr(_)&&!pr(R))return!1;if(D&&pr(R))continue;D=!1,_=R|1&_}}return pr(_)||D}function pr(p){return 0==(1&p)}function El(p,m,g,_){if(null===m)return-1;let y=0;if(_||!g){let w=!1;for(;y-1)for(g++;g0?'="'+k+'"':"")+"]"}else 8&_?y+="."+D:4&_&&(y+=" "+D);else""!==y&&!pr(D)&&(m+=Kf(w,y),y=""),_=D,w=w||!pr(_);g++}return""!==y&&(m+=Kf(w,y)),m}const Et={};function Xf(p){N_(Ut(),De(),pn()+p,_c())}function N_(p,m,g,_){if(!_)if(3==(3&m[2])){const w=p.preOrderCheckHooks;null!==w&&wc(m,w,g)}else{const w=p.preOrderHooks;null!==w&&to(m,w,0,g)}la(g)}function Ao(p,m){return p<<17|m<<2}function Nr(p){return p>>17&32767}function Fc(p){return 2|p}function vo(p){return(131068&p)>>2}function Sh(p,m){return-131069&p|m<<2}function Eh(p){return 1|p}function am(p,m){const g=p.contentQueries;if(null!==g)for(let _=0;_20&&N_(p,m,20,_c()),g(_,y)}finally{la(w)}}function om(p,m,g){if(Qo(m)){const y=m.directiveEnd;for(let w=m.directiveStart;w0;){const g=p[--m];if("number"==typeof g&&g<0)return g}return 0})(k)!=R&&k.push(R),k.push(_,y,D)}}function Do(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function dm(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function sb(p,m,g){if(g){if(m.exportAs)for(let _=0;_0&&su(g)}}function su(p){for(let _=D_(p);null!==_;_=H_(_))for(let y=10;y<_.length;y++){const w=_[y];if(1024&w[2]){const D=w[1];Zt(D,w,D.template,w[8])}else w[5]>0&&su(w)}const g=p[1].components;if(null!==g)for(let _=0;_0&&su(y)}}function Hl(p,m){const g=kt(m,p),_=g[1];(function pm(p,m){for(let g=m.length;gPromise.resolve(null))();function Nh(p){return p[7]||(p[7]=[])}function gm(p){return p.cleanup||(p.cleanup=[])}function ou(p,m,g){return(null===p||Nn(p))&&(g=function $(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(g[m.index])),g[11]}function lu(p,m){const g=p[9],_=g?g.get(Sl,null):null;_&&_.handleError(m)}function hb(p,m,g,_,y){for(let w=0;wthis.processProvider(k,m,g)),Dn([m],k=>this.processInjectorType(k,[],w)),this.records.set(zh,Wc(void 0,this));const D=this.records.get(_m);this.scope=null!=D?D.value:null,this.source=y||("object"==typeof m?null:V(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,g=_o,_=Ct.Default){this.assertNotDestroyed();const y=Or(this),w=Xt(void 0);try{if(!(_&Ct.SkipSelf)){let k=this.records.get(m);if(void 0===k){const R=function qh(p){return"function"==typeof p||"object"==typeof p&&p instanceof xi}(m)&&zi(m);k=R&&this.injectableDefInScope(R)?Wc(hu(m),du):null,this.records.set(m,k)}if(null!=k)return this.hydrate(m,k)}return(_&Ct.Self?uu():this.parent).get(m,g=_&Ct.Optional&&g===_o?null:g)}catch(D){if("NullInjectorError"===D.name){if((D[Hc]=D[Hc]||[]).unshift(V(m)),y)throw D;return function Vf(p,m,g,_){const y=p[Hc];throw m[kc]&&y.unshift(m[kc]),p.message=function jf(p,m,g,_=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let y=V(m);if(Array.isArray(m))y=m.map(V).join(" -> ");else if("object"==typeof m){let w=[];for(let D in m)if(m.hasOwnProperty(D)){let k=m[D];w.push(D+":"+("string"==typeof k?JSON.stringify(k):V(k)))}y=`{${w.join(", ")}}`}return`${g}${_?"("+_+")":""}[${y}]: ${p.replace(ph,"\n ")}`}("\n"+p.message,y,g,_),p.ngTokenPath=y,p[Hc]=null,p}(D,m,"R3InjectorError",this.source)}throw D}finally{Xt(w),Or(y)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((_,y)=>m.push(V(y))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processInjectorType(m,g,_){if(!(m=oe(m)))return!1;let y=Us(m);const w=null==y&&m.ngModule||void 0,D=void 0===w?m:w,k=-1!==_.indexOf(D);if(void 0!==w&&(y=Us(w)),null==y)return!1;if(null!=y.imports&&!k){let q;_.push(D);try{Dn(y.imports,X=>{this.processInjectorType(X,g,_)&&(void 0===q&&(q=[]),q.push(X))})}finally{}if(void 0!==q)for(let X=0;Xthis.processProvider(Ce,re,ue||et))}}this.injectorDefTypes.add(D);const R=rn(D)||(()=>new D);this.records.set(D,Wc(R,du));const N=y.providers;if(null!=N&&!k){const q=m;Dn(N,X=>this.processProvider(X,q,N))}return void 0!==w&&void 0!==m.providers}processProvider(m,g,_){let y=Zc(m=oe(m))?m:oe(m&&m.provide);const w=function WA(p,m,g){return mb(p)?Wc(void 0,p.useValue):Wc(fb(p),du)}(m);if(Zc(m)||!0!==m.multi)this.records.get(y);else{let D=this.records.get(y);D||(D=Wc(void 0,du,!0),D.factory=()=>Pc(D.multi),this.records.set(y,D)),y=m,D.multi.push(m)}this.records.set(y,w)}hydrate(m,g){return g.value===du&&(g.value=qA,g.value=g.factory()),"object"==typeof g.value&&g.value&&function wm(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(g.value)&&this.onDestroy.add(g.value),g.value}injectableDefInScope(m){if(!m.providedIn)return!1;const g=oe(m.providedIn);return"string"==typeof g?"any"===g||g===this.scope:this.injectorDefTypes.has(g)}}function hu(p){const m=zi(p),g=null!==m?m.factory:rn(p);if(null!==g)return g;if(p instanceof xi)throw new te(204,!1);if(p instanceof Function)return function pb(p){const m=p.length;if(m>0)throw bl(m,"?"),new te(204,!1);const g=function Ys(p){const m=p&&(p[Ra]||p[La]);if(m){const g=function zs(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" 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 "${g}" class.`),m}return null}(p);return null!==g?()=>g.factory(p):()=>new p}(p);throw new te(204,!1)}function fb(p,m,g){let _;if(Zc(p)){const y=oe(p);return rn(y)||hu(y)}if(mb(p))_=()=>oe(p.useValue);else if(function Uh(p){return!(!p||!p.useFactory)}(p))_=()=>p.useFactory(...Pc(p.deps||[]));else if(function ZA(p){return!(!p||!p.useExisting)}(p))_=()=>sn(oe(p.useExisting));else{const y=oe(p&&(p.useClass||p.provide));if(!function Cm(p){return!!p.deps}(p))return rn(y)||hu(y);_=()=>new y(...Pc(p.deps))}return _}function Wc(p,m,g=!1){return{factory:p,value:m,multi:g?[]:void 0}}function mb(p){return null!==p&&"object"==typeof p&&Of in p}function Zc(p){return"function"==typeof p}let Ur=(()=>{class p{static create(g,_){var y;if(Array.isArray(g))return bm({name:""},_,g,"");{const w=null!==(y=g.name)&&void 0!==y?y:"";return bm({name:w},g.parent,g.providers,w)}}}return p.THROW_IF_NOT_FOUND=_o,p.NULL=new cu,p.\u0275prov=Kt({token:p,providedIn:"any",factory:()=>sn(zh)}),p.__NG_ELEMENT_ID__=-1,p})();function XA(p,m){ll(v_(p)[1],si())}function Dm(p){let m=function Em(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),g=!0;const _=[p];for(;m;){let y;if(Nn(p))y=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new te(903,"");y=m.\u0275dir}if(y){if(g){_.push(y);const D=p;D.inputs=km(p.inputs),D.declaredInputs=km(p.declaredInputs),D.outputs=km(p.outputs);const k=y.hostBindings;k&&iv(p,k);const R=y.viewQuery,N=y.contentQueries;if(R&&ev(p,R),N&&tv(p,N),L(p.inputs,y.inputs),L(p.declaredInputs,y.declaredInputs),L(p.outputs,y.outputs),Nn(y)&&y.data.animation){const q=p.data;q.animation=(q.animation||[]).concat(y.data.animation)}}const w=y.features;if(w)for(let D=0;D=0;_--){const y=p[_];y.hostVars=m+=y.hostVars,y.hostAttrs=Mc(y.hostAttrs,g=Mc(g,y.hostAttrs))}}(_)}function km(p){return p===ct?{}:p===et?[]:p}function ev(p,m){const g=p.viewQuery;p.viewQuery=g?(_,y)=>{m(_,y),g(_,y)}:m}function tv(p,m){const g=p.contentQueries;p.contentQueries=g?(_,y,w)=>{m(_,y,w),g(_,y,w)}:m}function iv(p,m){const g=p.hostBindings;p.hostBindings=g?(_,y)=>{m(_,y),g(_,y)}:m}let $c=null;function $a(){if(!$c){const p=Lt.Symbol;if(p&&p.iterator)$c=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let g=0;gk(B(Ot[_.index])):_.index;if(Bt(g)){let Ot=null;if(!k&&R&&(Ot=function $b(p,m,g,_){const y=p.cleanup;if(null!=y)for(let w=0;wR?k[R]:null}"string"==typeof D&&(w+=2)}return null}(p,m,y,_.index)),null!==Ot)(Ot.__ngLastListenerFn__||Ot).__ngNextListenerFn__=w,Ot.__ngLastListenerFn__=w,ue=!1;else{w=Jb(_,m,X,w,!1);const ii=g.listen(Ye,y,w);re.push(w,ii),q&&q.push(y,Ie,Se,Se+1)}}else w=Jb(_,m,X,w,!0),Ye.addEventListener(y,w,D),re.push(w),q&&q.push(y,Ie,Se,D)}else w=Jb(_,m,X,w,!1);const Ce=_.outputs;let Fe;if(ue&&null!==Ce&&(Fe=Ce[y])){const Ze=Fe.length;if(Ze)for(let Ye=0;Ye0;)m=m[15],p--;return m}(p,dt.lFrame.contextLView))[8]}(p)}function pM(p,m){let g=null;const _=function xA(p){const m=p.attrs;if(null!=m){const g=m.indexOf(5);if(0==(1&g))return m[g+1]}return null}(p);for(let y=0;y=0}const mi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Um(p){return p.substring(mi.key,mi.keyEnd)}function ry(p,m){const g=mi.textEnd;return g===m?-1:(m=mi.keyEnd=function yv(p,m,g){for(;m32;)m++;return m}(p,mi.key=m,g),id(p,m,g))}function id(p,m,g){for(;m=0;g=ry(m,g))mn(p,Um(m),!0)}function Aa(p,m,g,_){const y=De(),w=Ut(),D=Sn(2);w.firstUpdatePass&&cy(w,p,D,_),m!==Et&&Rn(y,D,m)&&Tv(w,w.data[pn()],y,y[11],p,y[D+1]=function _M(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=V(Ga(p)))),p}(m,g),_,D)}function Xa(p,m,g,_){const y=Ut(),w=Sn(2);y.firstUpdatePass&&cy(y,null,w,_);const D=De();if(g!==Et&&Rn(D,w,g)){const k=y.data[pn()];if(Mv(k,_)&&!ly(y,w)){let R=_?k.classesWithoutHost:k.stylesWithoutHost;null!==R&&(g=z(R,g||"")),Bl(y,k,D,g,_)}else!function uy(p,m,g,_,y,w,D,k){y===Et&&(y=et);let R=0,N=0,q=0=p.expandoStartIndex}function cy(p,m,g,_){const y=p.data;if(null===y[g+1]){const w=y[pn()],D=ly(p,g);Mv(w,_)&&null===m&&!D&&(m=!1),m=function lp(p,m,g,_){const y=rl(p);let w=_?m.residualClasses:m.residualStyles;if(null===y)0===(_?m.classBindings:m.styleBindings)&&(g=rd(g=dy(null,p,m,g,_),m.attrs,_),w=null);else{const D=m.directiveStylingLast;if(-1===D||p[D]!==y)if(g=dy(y,p,m,g,_),null===w){let R=function wv(p,m,g){const _=g?m.classBindings:m.styleBindings;if(0!==vo(_))return p[Nr(_)]}(p,m,_);void 0!==R&&Array.isArray(R)&&(R=dy(null,p,m,R[1],_),R=rd(R,m.attrs,_),function Av(p,m,g,_){p[Nr(g?m.classBindings:m.styleBindings)]=_}(p,m,_,R))}else w=function Zm(p,m,g){let _;const y=m.directiveEnd;for(let w=1+m.directiveStylingLast;w0)&&(N=!0)}else q=g;if(y)if(0!==R){const re=Nr(p[k+1]);p[_+1]=Ao(re,k),0!==re&&(p[re+1]=Sh(p[re+1],_)),p[k+1]=function MA(p,m){return 131071&p|m<<17}(p[k+1],_)}else p[_+1]=Ao(k,0),0!==k&&(p[k+1]=Sh(p[k+1],_)),k=_;else p[_+1]=Ao(R,0),0===k?k=_:p[R+1]=Sh(p[R+1],_),R=_;N&&(p[_+1]=Fc(p[_+1])),Ca(p,q,_,!0),Ca(p,q,_,!1),function mM(p,m,g,_,y){const w=y?p.residualClasses:p.residualStyles;null!=w&&"string"==typeof m&&xs(w,m)>=0&&(g[_+1]=Eh(g[_+1]))}(m,q,p,_,w),D=Ao(k,R),w?m.classBindings=D:m.styleBindings=D}(y,w,m,g,D,_)}}function dy(p,m,g,_,y){let w=null;const D=g.directiveEnd;let k=g.directiveStylingLast;for(-1===k?k=g.directiveStart:k++;k0;){const R=p[y],N=Array.isArray(R),q=N?R[1]:R,X=null===q;let re=g[y+1];re===Et&&(re=X?et:void 0);let ue=X?Nd(re,_):q===_?re:void 0;if(N&&!$m(ue)&&(ue=Nd(R,_)),$m(ue)&&(k=ue,D))return k;const Ce=p[y+1];y=D?Nr(Ce):vo(Ce)}if(null!==m){let R=w?m.residualClasses:m.residualStyles;null!=R&&(k=Nd(R,_))}return k}function $m(p){return void 0!==p}function Mv(p,m){return 0!=(p.flags&(m?16:32))}function Sv(p,m=""){const g=De(),_=Ut(),y=p+20,w=_.firstCreatePass?Mo(_,y,1,m,null):_.data[y],D=g[y]=function k_(p,m){return Bt(p)?p.createText(m):p.createTextNode(m)}(g[11],m);Jf(_,g,D,w),cr(w,!1)}function Jm(p){return Ro("",p,""),Jm}function Ro(p,m,g){const _=De(),y=Jc(_,p,m,g);return y!==Et&&ga(_,pn(),y),Ro}function Vl(p,m,g,_,y){const w=De(),D=function Qc(p,m,g,_,y,w){const k=ko(p,oa(),g,y);return Sn(2),k?m+fe(g)+_+fe(y)+w:Et}(w,p,m,g,_,y);return D!==Et&&ga(w,pn(),D),Vl}function py(p,m,g,_,y,w,D,k,R,N,q){const X=De(),re=Ll(X,p,m,g,_,y,w,D,k,R,N,q);return re!==Et&&ga(X,pn(),re),py}function es(p,m,g){Xa(mn,wa,Jc(De(),p,m,g),!0)}function eg(p,m,g){const _=De();return Rn(_,Ks(),m)&&mr(Ut(),Ti(),_,p,m,_[11],g,!0),eg}function dp(p,m,g){const _=De();if(Rn(_,Ks(),m)){const w=Ut(),D=Ti();mr(w,D,_,p,m,ou(rl(w.data),D,_),g,!0)}return dp}const Ps=void 0;var Vv=["en",[["a","p"],["AM","PM"],Ps],[["AM","PM"],Ps,Ps],[["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"]],Ps,[["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"]],Ps,[["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}",Ps,"{1} 'at' {0}",Ps],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gy(p){const g=Math.floor(Math.abs(p)),_=p.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===_?1:5}];let od={};function _y(p){const m=function tg(p){return p.toLowerCase().replace(/_/g,"-")}(p);let g=jv(m);if(g)return g;const _=m.split("-")[0];if(g=jv(_),g)return g;if("en"===_)return Vv;throw new Error(`Missing locale data for the locale "${p}".`)}function by(p){return _y(p)[ht.PluralCase]}function jv(p){return p in od||(od[p]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[p]),od[p]}var ht=(()=>((ht=ht||{})[ht.LocaleId=0]="LocaleId",ht[ht.DayPeriodsFormat=1]="DayPeriodsFormat",ht[ht.DayPeriodsStandalone=2]="DayPeriodsStandalone",ht[ht.DaysFormat=3]="DaysFormat",ht[ht.DaysStandalone=4]="DaysStandalone",ht[ht.MonthsFormat=5]="MonthsFormat",ht[ht.MonthsStandalone=6]="MonthsStandalone",ht[ht.Eras=7]="Eras",ht[ht.FirstDayOfWeek=8]="FirstDayOfWeek",ht[ht.WeekendRange=9]="WeekendRange",ht[ht.DateFormat=10]="DateFormat",ht[ht.TimeFormat=11]="TimeFormat",ht[ht.DateTimeFormat=12]="DateTimeFormat",ht[ht.NumberSymbols=13]="NumberSymbols",ht[ht.NumberFormats=14]="NumberFormats",ht[ht.CurrencyCode=15]="CurrencyCode",ht[ht.CurrencySymbol=16]="CurrencySymbol",ht[ht.CurrencyName=17]="CurrencyName",ht[ht.Currencies=18]="Currencies",ht[ht.Directionality=19]="Directionality",ht[ht.PluralCase=20]="PluralCase",ht[ht.ExtraData=21]="ExtraData",ht))();const bu="en-US";let Cy=bu;function bp(p,m,g,_,y){if(p=oe(p),Array.isArray(p))for(let w=0;w>20;if(Zc(p)||!p.multi){const ue=new no(R,y,Wr),Ce=Cp(k,m,y?q:q+re,X);-1===Ce?(hl(oo(N,D),w,k),yp(w,p,m.length),m.push(k),N.directiveStart++,N.directiveEnd++,y&&(N.providerIndexes+=1048576),g.push(ue),D.push(ue)):(g[Ce]=ue,D[Ce]=ue)}else{const ue=Cp(k,m,q+re,X),Ce=Cp(k,m,q,q+re),Fe=ue>=0&&g[ue],Ze=Ce>=0&&g[Ce];if(y&&!Ze||!y&&!Fe){hl(oo(N,D),w,k);const Ye=function Ap(p,m,g,_,y){const w=new no(p,g,Wr);return w.multi=[],w.index=m,w.componentProviders=0,og(w,y,_&&!g),w}(y?Gy:qy,g.length,y,_,R);!y&&Ze&&(g[Ce].providerFactory=Ye),yp(w,p,m.length,0),m.push(k),N.directiveStart++,N.directiveEnd++,y&&(N.providerIndexes+=1048576),g.push(Ye),D.push(Ye)}else yp(w,p,ue>-1?ue:Ce,og(g[y?Ce:ue],R,!y&&_));!y&&_&&Ze&&g[Ce].componentProviders++}}}function yp(p,m,g,_){const y=Zc(m),w=function Pl(p){return!!p.useClass}(m);if(y||w){const R=(w?oe(m.useClass):m).prototype.ngOnDestroy;if(R){const N=p.destroyHooks||(p.destroyHooks=[]);if(!y&&m.multi){const q=N.indexOf(g);-1===q?N.push(g,[_,R]):N[q+1].push(_,R)}else N.push(g,R)}}}function og(p,m,g){return g&&p.componentProviders++,p.multi.push(m)-1}function Cp(p,m,g,_){for(let y=g;y<_;y++)if(m[y]===p)return y;return-1}function qy(p,m,g,_){return wp(this.multi,[])}function Gy(p,m,g,_){const y=this.multi;let w;if(this.providerFactory){const D=this.providerFactory.componentProviders,k=tr(g,g[1],this.providerFactory.index,_);w=k.slice(0,D),wp(y,w);for(let R=D;R{g.providersResolver=(_,y)=>function Uy(p,m,g){const _=Ut();if(_.firstCreatePass){const y=Nn(p);bp(g,_.data,_.blueprint,y,!0),bp(m,_.data,_.blueprint,y,!1)}}(_,y?y(p):p,m)}}class cg{}class Jy{resolveComponentFactory(m){throw function Zy(p){const m=Error(`No component factory found for ${V(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let Ul=(()=>{class p{}return p.NULL=new Jy,p})();function Qy(){return Oo(si(),De())}function Oo(p,m){return new ld(Te(p,m))}let ld=(()=>{class p{constructor(g){this.nativeElement=g}}return p.__NG_ELEMENT_ID__=Qy,p})();function Ky(p){return p instanceof ld?p.nativeElement:p}class vp{}let Tp=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function eC(){const p=De(),g=kt(si().index,p);return function Xy(p){return p[11]}(bn(g)?g:p)}(),p})(),tC=(()=>{class p{}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:()=>null}),p})();class Zr{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const $n=new Zr("13.2.2"),xp={};function dg(p,m,g,_,y=!1){for(;null!==g;){const w=m[g.index];if(null!==w&&_.push(B(w)),Fn(w))for(let k=10;k-1&&(R_(m,_),Dc(g,_))}this._attachedToViewContainer=!1}dA(this._lView[1],this._lView)}onDestroy(m){OA(this._lView[1],this._lView,null,m)}markForCheck(){fm(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Wa(this._lView[1],this._lView,this.context)}checkNoChanges(){!function ub(p,m,g){il(!0);try{Wa(p,m,g)}finally{il(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new te(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function O0(p,m){xh(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new te(902,"");this._appRef=m}}class sr extends Mp{constructor(m){super(m),this._view=m}detectChanges(){mm(this._view)}checkNoChanges(){!function Za(p){il(!0);try{mm(p)}finally{il(!1)}}(this._view)}get context(){return null}}class ug extends Ul{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const g=Qi(m);return new pg(g,this.ngModule)}}function Sp(p){const m=[];for(let g in p)p.hasOwnProperty(g)&&m.push({propName:p[g],templateName:g});return m}const uT=new xi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>iA});class pg extends cg{constructor(m,g){super(),this.componentDef=m,this.ngModule=g,this.componentType=m.type,this.selector=function en(p){return p.map(Mh).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!g}get inputs(){return Sp(this.componentDef.inputs)}get outputs(){return Sp(this.componentDef.outputs)}create(m,g,_,y){const w=(y=y||this.ngModule)?function hg(p,m){return{get:(g,_,y)=>{const w=p.get(g,xp,y);return w!==xp||_===xp?w:m.get(g,_,y)}}}(m,y.injector):m,D=w.get(vp,O),k=w.get(tC,null),R=D.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",q=_?function rr(p,m,g){if(Bt(p))return p.selectRootElement(m,g===Ne.ShadowDom);let _="string"==typeof m?p.querySelector(m):m;return _.textContent="",_}(R,_,this.componentDef.encapsulation):P_(D.createRenderer(null,this.componentDef),N,function Ep(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(N)),X=this.componentDef.onPush?576:528,re=function Sm(p,m){return{components:[],scheduler:p||iA,clean:YA,playerHandler:m||null,flags:0}}(),ue=mt(0,null,null,1,0,null,null,null,null,null),Ce=Yc(null,ue,re,X,null,null,D,R,k,w);let Fe,Ze;Xs(Ce);try{const Ye=function wb(p,m,g,_,y,w){const D=g[1];g[20]=p;const R=Mo(D,20,2,"#host",null),N=R.mergedAttrs=m.hostAttrs;null!==N&&(Yh(R,N,!0),null!==p&&(cl(y,p,N),null!==R.classes&&V_(y,p,R.classes),null!==R.styles&&AA(y,p,R.styles)));const q=_.createRenderer(p,m),X=Yc(g,So(m),null,m.onPush?64:16,g[20],R,_,q,w||null,null);return D.firstCreatePass&&(hl(oo(R,g),D,m.type),dm(D,R),um(R,g.length,1)),kl(g,X),g[20]=X}(q,this.componentDef,Ce,D,R);if(q)if(_)cl(R,q,["ng-version",$n.full]);else{const{attrs:Se,classes:Ie}=function Zi(p){const m=[],g=[];let _=1,y=2;for(;_0&&V_(R,q,Ie.join(" "))}if(Ze=ai(ue,20),void 0!==g){const Se=Ze.projection=[];for(let Ie=0;IeR(D,m)),m.contentQueries){const R=si();m.contentQueries(1,D,R.directiveStart)}const k=si();return!w.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(la(k.index),Oh(g[1],k,0,k.directiveStart,k.directiveEnd,m),Do(m,D)),D}(Ye,this.componentDef,Ce,re,[XA]),fr(ue,Ce,null)}finally{yc()}return new LM(this.componentType,Fe,Oo(Ze,Ce),Ce,Ze)}}class LM extends class Wy{}{constructor(m,g,_,y,w){super(),this.location=_,this._rootLView=y,this._tNode=w,this.instance=g,this.hostView=this.changeDetectorRef=new sr(y),this.componentType=m}get injector(){return new uo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class Su{}class hT{}const cd=new Map;class Du extends Su{constructor(m,g){super(),this._parent=g,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ug(this);const _=wt(m);this._bootstrapComponents=Es(_.bootstrap),this._r3Injector=ym(m,g,[{provide:Su,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver}],V(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,g=Ur.THROW_IF_NOT_FOUND,_=Ct.Default){return m===Ur||m===Su||m===zh?this:this._r3Injector.get(m,g,_)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class dd extends hT{constructor(m){super(),this.moduleType=m,null!==wt(m)&&function fT(p){const m=new Set;!function g(_){const y=wt(_,!0),w=y.id;null!==w&&(function iC(p,m,g){if(m&&m!==g)throw new Error(`Duplicate module registered for ${p} - ${V(m)} vs ${V(m.name)}`)}(w,cd.get(w),_),cd.set(w,_));const D=Es(y.imports);for(const k of D)m.has(k)||(m.add(k),g(k))}(p)}(m)}create(m){return new Du(this.moduleType,m)}}function nC(p,m,g){const _=an()+p,y=De();return y[_]===Et?Ja(y,_,g?m.call(g):m()):function Ho(p,m){return p[m]}(y,_)}function Hp(p,m,g,_){return kp(De(),an(),p,m,g,_)}function Hu(p,m,g,_,y){return sC(De(),an(),p,m,g,_,y)}function ku(p,m){const g=p[m];return g===Et?void 0:g}function kp(p,m,g,_,y,w){const D=m+g;return Rn(p,D,y)?Ja(p,D+1,w?_.call(w,y):_(y)):ku(p,D+1)}function sC(p,m,g,_,y,w,D){const k=m+g;return ko(p,k,y,w)?Ja(p,k+2,D?_.call(D,y,w):_(y,w)):ku(p,k+2)}function fg(p,m,g,_,y,w,D,k){const R=m+g;return function fu(p,m,g,_,y){const w=ko(p,m,g,_);return Rn(p,m+2,y)||w}(p,R,y,w,D)?Ja(p,R+3,k?_.call(k,y,w,D):_(y,w,D)):ku(p,R+3)}function yT(p,m){const g=Ut();let _;const y=p+20;g.firstCreatePass?(_=function mg(p,m){if(m)for(let g=m.length-1;g>=0;g--){const _=m[g];if(p===_.name)return _}}(m,g.pipeRegistry),g.data[y]=_,_.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(y,_.onDestroy)):_=g.data[y];const w=_.factory||(_.factory=rn(_.type)),D=Xt(Wr);try{const k=so(!1),R=w();return so(k),function kb(p,m,g,_){g>=p.data.length&&(p.data[g]=null,p.blueprint[g]=null),m[g]=_}(g,De(),y,R),R}finally{Xt(D)}}function ud(p,m,g){const _=p+20,y=De(),w=$t(y,_);return Gl(y,_)?kp(y,an(),m,w.transform,g,w):w.transform(g)}function Pu(p,m,g,_){const y=p+20,w=De(),D=$t(w,y);return Gl(w,y)?sC(w,an(),m,D.transform,g,_,D):D.transform(g,_)}function ql(p,m,g,_,y){const w=p+20,D=De(),k=$t(D,w);return Gl(D,w)?fg(D,an(),m,k.transform,g,_,y,k):k.transform(g,_,y)}function Gl(p,m){return p[1].data[m].pure}function Lu(p){return m=>{setTimeout(p,void 0,m)}}const Ta=class oC extends T.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,g,_){var y,w,D;let k=m,R=g||(()=>null),N=_;if(m&&"object"==typeof m){const X=m;k=null===(y=X.next)||void 0===y?void 0:y.bind(X),R=null===(w=X.error)||void 0===w?void 0:w.bind(X),N=null===(D=X.complete)||void 0===D?void 0:D.bind(X)}this.__isAsync&&(R=Lu(R),k&&(k=Lu(k)),N&&(N=Lu(N)));const q=super.subscribe({next:k,error:R,complete:N});return m instanceof i.w0&&m.add(q),q}};function Lp(){return this._results[$a()]()}class hd{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=$a(),_=hd.prototype;_[g]||(_[g]=Lp)}get changes(){return this._changes||(this._changes=new Ta)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,g){return this._results.reduce(m,g)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,g){const _=this;_.dirty=!1;const y=zn(m);(this._changesDetected=!function _l(p,m,g){if(p.length!==m.length)return!1;for(let _=0;_{class p{}return p.__NG_ELEMENT_ID__=dC,p})();const lC=Bo,cC=class extends lC{constructor(m,g,_){super(),this._declarationLView=m,this._declarationTContainer=g,this.elementRef=_}createEmbeddedView(m){const g=this._declarationTContainer.tViews,_=Yc(this._declarationLView,g,m,16,null,g.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(_[19]=w.createEmbeddedView(g)),fr(g,_,m),new Mp(_)}};function dC(){return Iu(si(),De())}function Iu(p,m){return 4&p.type?new cC(m,p,Oo(p,m)):null}let pd=(()=>{class p{}return p.__NG_ELEMENT_ID__=Si,p})();function Si(){return Vo(si(),De())}const Ip=pd,gg=class extends Ip{constructor(m,g,_){super(),this._lContainer=m,this._hostTNode=g,this._hostLView=_}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new uo(this._hostTNode,this._hostLView)}get parentInjector(){const m=Rr(this._hostTNode,this._hostLView);if(ul(m)){const g=da(m,this._hostLView),_=ao(m);return new uo(g[1].data[_+8],g)}return new uo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const g=uC(this._lContainer);return null!==g&&g[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,g,_){const y=m.createEmbeddedView(g||{});return this.insert(y,_),y}createComponent(m,g,_,y,w){const D=m&&!function mo(p){return"function"==typeof p}(m);let k;if(D)k=g;else{const X=g||{};k=X.index,_=X.injector,y=X.projectableNodes,w=X.ngModuleRef}const R=D?m:new pg(Qi(m)),N=_||this.parentInjector;if(!w&&null==R.ngModule&&N){const X=N.get(Su,null);X&&(w=X)}const q=R.create(N,y,void 0,w);return this.insert(q.hostView,k),q}insert(m,g){const _=m._lView,y=_[1];if(function di(p){return Fn(p[3])}(_)){const q=this.indexOf(m);if(-1!==q)this.detach(q);else{const X=_[3],re=new gg(X,X[6],X[3]);re.detach(re.indexOf(m))}}const w=this._adjustIndex(g),D=this._lContainer;!function V0(p,m,g,_){const y=10+_,w=g.length;_>0&&(g[y-1][4]=m),_0)_.push(D[k/2]);else{const N=w[k+1],q=m[-R];for(let X=10;X{class p{constructor(g){this.appInits=g,this.resolve=Fp,this.reject=Fp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,y)=>{this.resolve=_,this.reject=y})}runInitializers(){if(this.initialized)return;const g=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let y=0;y{w.subscribe({complete:k,error:R})});g.push(D)}}Promise.all(g).then(()=>{_()}).catch(y=>{this.reject(y)}),0===g.length&&_(),this.initialized=!0}}return p.\u0275fac=function(g){return new(g||p)(sn(Rg,8))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const jT=new xi("AppId"),ZM={provide:jT,useFactory:function WM(){return`${Np()}${Np()}${Np()}`},deps:[]};function Np(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _d=new xi("Platform Initializer"),$l=new xi("Platform ID"),kC=new xi("appBootstrapListener");let Lg=(()=>{class p{log(g){console.log(g)}warn(g){console.warn(g)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const Jl=new xi("LocaleId"),Ig=new xi("DefaultCurrencyCode");class FT{constructor(m,g){this.ngModuleFactory=m,this.componentFactories=g}}let Og=(()=>{class p{compileModuleSync(g){return new dd(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const _=this.compileModuleSync(g),w=Es(wt(g).declarations).reduce((D,k)=>{const R=Qi(k);return R&&D.push(new pg(R)),D},[]);return new FT(_,w)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const YT=(()=>Promise.resolve(0))();function Ql(p){"undefined"==typeof Zone?YT.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class $r{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ta(!1),this.onMicrotaskEmpty=new Ta(!1),this.onStable=new Ta(!1),this.onError=new Ta(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!_&&g,y.shouldCoalesceRunChangeDetection=_,y.lastRequestAnimationFrameId=-1,y.nativeRequestAnimationFrame=function Yp(){let p=Lt.requestAnimationFrame,m=Lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const g=p[Zone.__symbol__("OriginalDelegate")];g&&(p=g);const _=m[Zone.__symbol__("OriginalDelegate")];_&&(m=_)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function UT(p){const m=()=>{!function zT(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(Lt,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Bg(p),p.isCheckStableRunning=!0,Fo(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Bg(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,_,y,w,D,k)=>{try{return RC(p),g.invokeTask(y,w,D,k)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||p.shouldCoalesceRunChangeDetection)&&m(),Vg(p)}},onInvoke:(g,_,y,w,D,k,R)=>{try{return RC(p),g.invoke(y,w,D,k,R)}finally{p.shouldCoalesceRunChangeDetection&&m(),Vg(p)}},onHasTask:(g,_,y,w)=>{g.hasTask(y,w),_===y&&("microTask"==w.change?(p._hasPendingMicrotasks=w.microTask,Bg(p),Fo(p)):"macroTask"==w.change&&(p.hasPendingMacrotasks=w.macroTask))},onHandleError:(g,_,y,w)=>(g.handleError(y,w),p.runOutsideAngular(()=>p.onError.emit(w)),!1)})}(y)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$r.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if($r.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,g,_){return this._inner.run(m,g,_)}runTask(m,g,_,y){const w=this._inner,D=w.scheduleEventTask("NgZoneEvent: "+y,m,PC,Fp,Fp);try{return w.runTask(D,g,_)}finally{w.cancelTask(D)}}runGuarded(m,g,_){return this._inner.runGuarded(m,g,_)}runOutsideAngular(m){return this._outer.run(m)}}const PC={};function Fo(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Bg(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function RC(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function Vg(p){p._nesting--,Fo(p)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ta,this.onMicrotaskEmpty=new Ta,this.onStable=new Ta,this.onError=new Ta}run(m,g,_){return m.apply(g,_)}runGuarded(m,g,_){return m.apply(g,_)}runOutsideAngular(m){return m()}runTask(m,g,_,y){return m.apply(g,_)}}let LC=(()=>{class p{constructor(g){this._ngZone=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),g.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:()=>{$r.assertNotInAngularZone(),Ql(()=>{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())Ql(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(g)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,_,y){let w=-1;_&&_>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==w),g(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:g,timeoutId:w,updateCb:y})}whenStable(g,_,y){if(y&&!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(g,_,y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(g,_,y){return[]}}return p.\u0275fac=function(g){return new(g||p)(sn($r))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})(),IC=(()=>{class p{constructor(){this._applications=new Map,zp.addToWindow(this)}registerApplication(g,_){this._applications.set(g,_)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,_=!0){return zp.findTestabilityInTree(this,g,_)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();class XM{addToWindow(m){}findTestabilityInTree(m,g,_){return null}}function OC(p){zp=p}let xa,zp=new XM;const BC=new xi("AllowMultipleToken");class ZT{constructor(m,g){this.name=m,this.token=g}}function VC(p,m,g=[]){const _=`Platform: ${m}`,y=new xi(_);return(w=[])=>{let D=jC();if(!D||D.injector.get(BC,!1))if(p)p(g.concat(w).concat({provide:y,useValue:!0}));else{const k=g.concat(w).concat({provide:y,useValue:!0},{provide:_m,useValue:"platform"});!function $T(p){if(xa&&!xa.destroyed&&!xa.injector.get(BC,!1))throw new te(400,"");xa=p.get(bd);const m=p.get(_d,null);m&&m.forEach(g=>g())}(Ur.create({providers:k,name:_}))}return function Kl(p){const m=jC();if(!m)throw new te(401,"");return m}()}}function jC(){return xa&&!xa.destroyed?xa:null}let bd=(()=>{class p{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,_){const k=function iS(p,m){let g;return g="noop"===p?new qT:("zone.js"===p?void 0:p)||new $r({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),g}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),R=[{provide:$r,useValue:k}];return k.run(()=>{const N=Ur.create({providers:R,parent:this.injector,name:g.moduleType.name}),q=g.create(N),X=q.injector.get(Sl,null);if(!X)throw new te(402,"");return k.runOutsideAngular(()=>{const re=k.onError.subscribe({next:ue=>{X.handleError(ue)}});q.onDestroy(()=>{jg(this._modules,q),re.unsubscribe()})}),function JT(p,m,g){try{const _=g();return rp(_)?_.catch(y=>{throw m.runOutsideAngular(()=>p.handleError(y)),y}):_}catch(_){throw m.runOutsideAngular(()=>p.handleError(_)),_}}(X,k,()=>{const re=q.injector.get(Zl);return re.runInitializers(),re.donePromise.then(()=>(function wy(p){ri(p,"Expected localeId to be defined"),"string"==typeof p&&(Cy=p.toLowerCase().replace(/_/g,"-"))}(q.injector.get(Jl,bu)||bu),this._moduleDoBootstrap(q),q))})})}bootstrapModule(g,_=[]){const y=FC({},_);return function eS(p,m,g){const _=new dd(g);return Promise.resolve(_)}(0,0,g).then(w=>this.bootstrapModuleFactory(w,y))}_moduleDoBootstrap(g){const _=g.injector.get(Fu);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(y=>_.bootstrap(y));else{if(!g.instance.ngDoBootstrap)throw new te(403,"");g.instance.ngDoBootstrap(_)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,"");this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(g){return new(g||p)(sn(Ur))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();function FC(p,m){return Array.isArray(m)?m.reduce(FC,p):Object.assign(Object.assign({},p),m)}let Fu=(()=>{class p{constructor(g,_,y,w,D){this._zone=g,this._injector=_,this._exceptionHandler=y,this._componentFactoryResolver=w,this._initStatus=D,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 S.y(N=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{N.next(this._stable),N.complete()})}),R=new S.y(N=>{let q;this._zone.runOutsideAngular(()=>{q=this._zone.onStable.subscribe(()=>{$r.assertNotInAngularZone(),Ql(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,N.next(!0))})})});const X=this._zone.onUnstable.subscribe(()=>{$r.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{N.next(!1)}))});return()=>{q.unsubscribe(),X.unsubscribe()}});this.isStable=(0,M.T)(k,R.pipe((0,E.B)()))}bootstrap(g,_){if(!this._initStatus.done)throw new te(405,"");let y;y=g instanceof cg?g:this._componentFactoryResolver.resolveComponentFactory(g),this.componentTypes.push(y.componentType);const w=function WT(p){return p.isBoundToModule}(y)?void 0:this._injector.get(Su),k=y.create(Ur.NULL,[],_||y.selector,w),R=k.location.nativeElement,N=k.injector.get(LC,null),q=N&&k.injector.get(IC);return N&&q&&q.registerApplication(R,N),k.onDestroy(()=>{this.detachView(k.hostView),jg(this.components,k),q&&q.unregisterApplication(R)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new te(101,"");try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const _=g;this._views.push(_),_.attachToAppRef(this)}detachView(g){const _=g;jg(this._views,_),_.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g),this._injector.get(kC,[]).concat(this._bootstrapListeners).forEach(y=>y(g))}ngOnDestroy(){this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(g){return new(g||p)(sn($r),sn(Ur),sn(Sl),sn(Ul),sn(Zl))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();function jg(p,m){const g=p.indexOf(m);g>-1&&p.splice(g,1)}let Nu=!0;function KT(){Nu=!1}let XT=(()=>{class p{}return p.__NG_ELEMENT_ID__=UC,p})();function UC(p){return function Up(p,m,g){if(ja(p)&&!g){const _=kt(p.index,m);return new Mp(_,_)}return 47&p.type?new Mp(m[16],m):null}(si(),De(),16==(16&p))}class Yg{constructor(){}supports(m){return pu(m)}create(m){return new sx(m)}}const WC=(p,m)=>m;class sx{constructor(m){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=m||WC}forEachItem(m){let g;for(g=this._itHead;null!==g;g=g._next)m(g)}forEachOperation(m){let g=this._itHead,_=this._removalsHead,y=0,w=null;for(;g||_;){const D=!_||g&&g.currentIndex<$C(_,y,w)?g:_,k=$C(D,y,w),R=D.currentIndex;if(D===_)y--,_=_._nextRemoved;else if(g=g._next,null==D.previousIndex)y++;else{w||(w=[]);const N=k-y,q=R-y;if(N!=q){for(let re=0;re{D=this._trackByFn(y,k),null!==g&&Object.is(g.trackById,D)?(_&&(g=this._verifyReinsertion(g,k,D,y)),Object.is(g.item,k)||this._addIdentityChange(g,k)):(g=this._mismatch(g,k,D,y),_=!0),g=g._next,y++}),this.length=y;return this._truncate(g),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,g,_,y){let w;return null===m?w=this._itTail:(w=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._reinsertAfter(m,w,y)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(_,y))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._moveAfter(m,w,y)):m=this._addAfter(new ox(g,_),w,y),m}_verifyReinsertion(m,g,_,y){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==w?m=this._reinsertAfter(w,m._prev,y):m.currentIndex!=y&&(m.currentIndex=y,this._addToMoves(m,y)),m}_truncate(m){for(;null!==m;){const g=m._next;this._addToRemovals(this._unlink(m)),m=g}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(m,g,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const y=m._prevRemoved,w=m._nextRemoved;return null===y?this._removalsHead=w:y._nextRemoved=w,null===w?this._removalsTail=y:w._prevRemoved=y,this._insertAfter(m,g,_),this._addToMoves(m,_),m}_moveAfter(m,g,_){return this._unlink(m),this._insertAfter(m,g,_),this._addToMoves(m,_),m}_addAfter(m,g,_){return this._insertAfter(m,g,_),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,g,_){const y=null===g?this._itHead:g._next;return m._next=y,m._prev=g,null===y?this._itTail=m:y._prev=m,null===g?this._itHead=m:g._next=m,null===this._linkedRecords&&(this._linkedRecords=new zg),this._linkedRecords.put(m),m.currentIndex=_,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const g=m._prev,_=m._next;return null===g?this._itHead=_:g._next=_,null===_?this._itTail=g:_._prev=g,m}_addToMoves(m,g){return m.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zg),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,g){return m.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class ox{constructor(m,g){this.item=m,this.trackById=g,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 ZC{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,g){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===g||g<=_.currentIndex)&&Object.is(_.trackById,m))return _;return null}remove(m){const g=m._prevDup,_=m._nextDup;return null===g?this._head=_:g._nextDup=_,null===_?this._tail=g:_._prevDup=g,null===this._head}}class zg{constructor(){this.map=new Map}put(m){const g=m.trackById;let _=this.map.get(g);_||(_=new ZC,this.map.set(g,_)),_.add(m)}get(m,g){const y=this.map.get(m);return y?y.get(m,g):null}remove(m){const g=m.trackById;return this.map.get(g).remove(m)&&this.map.delete(g),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(p,m,g){const _=p.previousIndex;if(null===_)return _;let y=0;return g&&_{if(g&&g.key===y)this._maybeAddToChanges(g,_),this._appendAfter=g,g=g._next;else{const w=this._getOrCreateRecordForKey(y,_);g=this._insertBeforeOrAppend(g,w)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let _=g;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,g){if(m){const _=m._prev;return g._next=m,g._prev=_,m._prev=g,_&&(_._next=g),m===this._mapHead&&(this._mapHead=g),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(m,g){if(this._records.has(m)){const y=this._records.get(m);this._maybeAddToChanges(y,g);const w=y._prev,D=y._next;return w&&(w._next=D),D&&(D._prev=w),y._next=null,y._prev=null,y}const _=new Zp(m);return this._records.set(m,_),_.currentValue=g,this._addToAdditions(_),_}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,g){Object.is(g,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=g,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,g){m instanceof Map?m.forEach(g):Object.keys(m).forEach(_=>g(m[_],_))}}class Zp{constructor(m){this.key=m,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 qg(){return new $p([new Yg])}let $p=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(null!=_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||qg()),deps:[[p,new qa,new za]]}}find(g){const _=this.factories.find(y=>y.supports(g));if(null!=_)return _;throw new te(901,"")}}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:qg}),p})();function JC(){return new Yo([new Ug])}let Yo=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||JC()),deps:[[p,new qa,new za]]}}find(g){const _=this.factories.find(w=>w.supports(g));if(_)return _;throw new te(901,"")}}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:JC}),p})();const QC=[new Ug],KC=new $p([new Yg]),XC=new Yo(QC),Xl=VC(null,"core",[{provide:$l,useValue:"unknown"},{provide:bd,deps:[Ur]},{provide:IC,deps:[]},{provide:Lg,deps:[]}]),dx=[{provide:Fu,useClass:Fu,deps:[$r,Ur,Sl,Ul,Zl]},{provide:uT,deps:[$r],useFactory:function ux(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(g){m.push(g)}}},{provide:Zl,useClass:Zl,deps:[[new za,Rg]]},{provide:Og,useClass:Og,deps:[]},ZM,{provide:$p,useFactory:function cx(){return KC},deps:[]},{provide:Yo,useFactory:function hS(){return XC},deps:[]},{provide:Jl,useFactory:function Jp(p){return p||function ew(){return"undefined"!=typeof $localize&&$localize.locale||bu}()},deps:[[new Al(Jl),new za,new qa]]},{provide:Ig,useValue:"USD"}];let hx=(()=>{class p{constructor(g){}}return p.\u0275fac=function(g){return new(g||p)(sn(Fu))},p.\u0275mod=ls({type:p}),p.\u0275inj=cn({providers:dx}),p})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),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(T){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(T||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(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,T){this.data.set(x,T)}}return Y.\u0275fac=function(x){return new(x||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,x=null){super(U),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(U,x=null){super(U),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(U,x,T=null){super(U),this.reason=x,this.params=T}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(x){return"%"+("00"+x.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=x=>{location.href=x},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 x=this.inferHashAlgorithm(U.idTokenHeader),T=yield this.calcHash(U.accessToken,x),S=base64UrlEncode(T.substr(0,T.length/2)),M=U.idTokenClaims.at_hash.replace(/=/g,"");return S!==M&&(console.error("exptected at_hash: "+S),console.error("actual at_hash: "+M)),S===M})}inferHashAlgorithm(U){let x=U.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(x){let T=x||window.location.hash;if(T=decodeURIComponent(T),0!==T.indexOf("#"))return{};const i=T.indexOf("?");return T=T.substr(i>-1?i+1:1),this.parseQueryString(T)}parseQueryString(x){const T={};let i,S,M,E,P,L,V;if(null===x)return T;i=x.split("&");for(let z=0;z>6,S[E++]=128|63&P):P<55296||P>=57344?(S[E++]=224|P>>12,S[E++]=128|P>>6&63,S[E++]=128|63&P):(P=65536+((1023&P)<<10|1023&Y.charCodeAt(++T)),S[E++]=240|P>>18,S[E++]=128|P>>12&63,S[E++]=128|P>>6&63,S[E++]=128|63&P);Y=S}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 L=[],V=[];for(T=0;T<64;++T){var z=Y[T]||0;L[T]=92^z,V[T]=54^z}Sha256.call(this,U,x),this.update(V),this.oKeyPad=L,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(Y){if(!this.finalized){var U,x=typeof Y;if("string"!==x){if("object"!==x)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 T,S,i=0,M=Y.length,E=this.blocks;i>2]|=Y[i]<>2]|=T<>2]|=(192|T>>6)<>2]|=(128|63&T)<=57344?(E[S>>2]|=(224|T>>12)<>2]|=(128|T>>6&63)<>2]|=(128|63&T)<>2]|=(240|T>>18)<>2]|=(128|T>>12&63)<>2]|=(128|T>>6&63)<>2]|=(128|63&T)<=64?(this.block=E[16],this.start=S-64,this.hash(),this.hashed=!0):this.start=S}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 L,Q,ie,te,he,fe,Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=this.blocks;for(L=16;L<64;++L)P[L]=P[L-16]+(((Q=P[L-15])>>>7|Q<<25)^(Q>>>18|Q<<14)^Q>>>3)+P[L-7]+(((Q=P[L-2])>>>17|Q<<15)^(Q>>>19|Q<<13)^Q>>>10)<<0;for(fe=U&x,L=0;L<64;L+=4)this.first?(this.is224?(ie=300032,E=(Q=P[0]-1413257819)-150054599<<0,T=Q+24177077<<0):(ie=704751109,E=(Q=P[0]-210244248)-1521486534<<0,T=Q+143694565<<0),this.first=!1):(E=T+(Q=E+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&S^~i&M)+K[L]+P[L])<<0,T=Q+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((ie=Y&U)^Y&x^fe))<<0),M=x+(Q=M+((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&i^~E&S)+K[L+1]+P[L+1])<<0,x=Q+(((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+((te=T&Y)^T&U^ie))<<0,S=U+(Q=S+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&E^~M&i)+K[L+2]+P[L+2])<<0,U=Q+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((he=x&T)^x&Y^te))<<0,i=Y+(Q=i+((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&M^~S&E)+K[L+3]+P[L+3])<<0,Y=Q+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((fe=U&x)^U&T^he))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+x<<0,this.h3=this.h3+T<<0,this.h4=this.h4+i<<0,this.h5=this.h5+S<<0,this.h6=this.h6+M<<0,this.h7=this.h7+E<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[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[S>>28&15]+HEX_CHARS[S>>24&15]+HEX_CHARS[S>>20&15]+HEX_CHARS[S>>16&15]+HEX_CHARS[S>>12&15]+HEX_CHARS[S>>8&15]+HEX_CHARS[S>>4&15]+HEX_CHARS[15&S]+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||(P+=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]),P},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,x>>24&255,x>>16&255,x>>8&255,255&x,T>>24&255,T>>16&255,T>>8&255,255&T,i>>24&255,i>>16&255,i>>8&255,255&i,S>>24&255,S>>16&255,S>>8&255,255&S,M>>24&255,M>>16&255,M>>8&255,255&M];return this.is224||P.push(E>>24&255,E>>16&255,E>>8&255,255&E),P},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,x=Y,T=new Uint8Array(x.length);for(U=0;U{class Y{calcHash(x,T){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let T="";for(let i of x)T+=String.fromCharCode(i);return T}toHashString(x){const T=new Uint8Array(x);let i="";for(let S of T)i+=String.fromCharCode(S);return i}}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(x,T,i,S,M,E,P,L,V,z){var J;super(),this.ngZone=x,this.http=T,this.config=M,this.urlHelper=E,this.logger=P,this.crypto=L,this.dateTimeService=z,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=V,M||(M={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),S&&(this.tokenValidationHandler=S),M&&this.configure(M);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(Q){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",Q)}if(this.checkLocalStorageAccessable()){const Q=null===(J=null==window?void 0:window.navigator)||void 0===J?void 0:J.userAgent;((null==Q?void 0:Q.includes("MSIE "))||(null==Q?void 0:Q.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(T){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},T,i=!0){let S=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(M=>{"token_received"===M.type?S=!0:"logout"===M.type&&(S=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_expires"===M.type&&(null==T||"any"===T||M.info===T)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(M=>{S&&this.refreshInternal(x,i).catch(E=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,T){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,T):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(T=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(T=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const T=[],i=this.validateUrlForHttps(x),S=this.validateUrlAgainstIssuer(x);return i||T.push("https for all urls required. Also for urls received by discovery."),S||T.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),T}validateUrlForHttps(x){if(!x)return!0;const T=x.toLowerCase();return!(!1!==this.requireHttps&&(!T.match(/^http:\/\/localhost($|[:\/])/)&&!T.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||T.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,T){if(!x)throw new Error(`'${T}' should not be null`);if(!this.validateUrlForHttps(x))throw new Error(`'${T}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),T=this.getAccessTokenStoredAt(),i=this.calcTimeout(T,x);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),T=this.getIdTokenStoredAt(),i=this.calcTimeout(T,x);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}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(x,T){const i=this.dateTimeService.now();return Math.max(0,(T-x)*this.timeoutFactor-(i-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((T,i)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(S=>{if(!this.validateDiscoveryDocument(S))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=S.authorization_endpoint,this.logoutUrl=S.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=S.grant_types_supported,this.issuer=S.issuer,this.tokenEndpoint=S.token_endpoint,this.userinfoEndpoint=S.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=S.jwks_uri,this.sessionCheckIFrameUrl=S.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(S),this.revocationEndpoint=S.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(M=>{const P=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:S,jwks:M});this.eventsSubject.next(P),T(P)}).catch(M=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",M)),i(M)})},S=>{this.logger.error("error loading discovery document",S),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",S)),i(S)}):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((x,T)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),T(i)}):x(null)})}validateDiscoveryDocument(x){let T;return this.skipIssuerCheck||x.issuer===this.issuer?(T=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),T.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),T.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.token_endpoint),T.length>0&&this.logger.error("error validating token_endpoint in discovery document",T),T=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),T.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",T),T=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),T.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.jwks_uri),T.length>0?(this.logger.error("error validating jwks_uri in discovery document",T),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,T,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((x,T)=>{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(S=>{if(this.debug("userinfo received",JSON.stringify(S)),S.headers.get("content-type").startsWith("application/json")){let M=JSON.parse(S.body);const E=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!E.sub||M.sub!==E.sub))return void T("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({},E,M),this._storage.setItem("id_token_claims_obj",JSON.stringify(M)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:M})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(S.body))},S=>{this.logger.error("error loading user info",S),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",S)),T(S)})})}fetchTokenUsingPasswordFlow(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:T},i)}fetchTokenUsingGrant(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let S=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(S=S.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(S=S.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))S=S.set(M,this.customQueryParams[M]);for(const M of Object.keys(T))S=S.set(M,T[M]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((M,E)=>{this.http.post(this.tokenEndpoint,S,{headers:i}).subscribe(P=>{this.debug("tokenResponse",P),this.storeAccessTokenResponse(P.access_token,P.refresh_token,P.expires_in||this.fallbackAccessTokenExpirationTimeInSec,P.scope,this.extractRecognizedCustomParameters(P)),this.oidc&&P.id_token&&this.processIdToken(P.id_token,P.access_token).then(L=>{this.storeIdToken(L),M(P)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),M(P)},P=>{this.logger.error("Error performing ${grantType} flow",P),this.eventsSubject.next(new OAuthErrorEvent("token_error",P)),E(P)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,T)=>{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")),S=(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}`);S=S.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:S}).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)(E=>this.storeIdToken(E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(E=>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")),x(M)},M=>{this.logger.error("Error refreshing token",M),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",M)),T(M)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const T=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:T,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},T=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 S=this.document.getElementById(this.silentRefreshIFrameName);S&&this.document.body.removeChild(S),this.silentRefreshSubject=i.sub;const M=this.document.createElement("iframe");M.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,T,x).then(z=>{M.setAttribute("src",z),this.silentRefreshShowIFrame||(M.style.display="none"),this.document.body.appendChild(M)});const P=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(z=>z instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(z=>"token_received"===z.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),V=(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__.S)([P,L,V]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(z=>{if(z instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===z.type||(z=new OAuthErrorEvent("silent_refresh_error",z)),this.eventsSubject.next(z),z;return"token_received"===z.type&&(z=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(z)),z})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(T=>new Promise((i,S)=>{let P,E=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(E=x.windowRef,E.location.href=T):E=window.open(T,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const L=oe=>{this.tryLogin({customHashFragment:oe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{z(),i(!0)},ce=>{z(),S(ce)})};E?P=window.setInterval(()=>{(!E||E.closed)&&(z(),S(new OAuthErrorEvent("popup_closed",{})))},500):S(new OAuthErrorEvent("popup_blocked",{}));const z=()=>{window.clearInterval(P),window.removeEventListener("storage",Q),window.removeEventListener("message",J),null!==E&&E.close(),E=null},J=oe=>{const ce=this.processMessageEventMessage(oe);ce&&null!==ce?(window.removeEventListener("storage",Q),L(ce)):console.log("false event firing")},Q=oe=>{"auth_hash"===oe.key&&(window.removeEventListener("message",J),L(oe.newValue))};window.addEventListener("message",J),window.addEventListener("storage",Q)}))}calculatePopupFeatures(x){const T=x.height||470,i=x.width||500,S=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${T},top=${window.screenTop+(window.outerHeight-T)/2},left=${S}`}processMessageEventMessage(x){let T="#";if(this.silentRefreshMessagePrefix&&(T+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const i=x.data;return i.startsWith(T)?"#"+i.substr(T.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=x=>{const T=x.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(T)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",T,"expected",i,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);const T=this.document.createElement("iframe");T.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),T.setAttribute("src",this.sessionCheckIFrameUrl),T.style.display="none",this.document.body.appendChild(T),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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const T=this.getSessionState();T||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+T,this.issuer)}createLoginUrl(x="",T="",i="",S=!1,M={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=this;let P;P=i||this.redirectUri;const L=yield this.createAndSaveNonce();if(x=x?L+this.config.nonceStateSeparator+encodeURIComponent(x):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 V=E.loginUrl.indexOf("?")>-1?"&":"?";let z=E.scope;this.oidc&&!z.match(/(^|\s)openid($|\s)/)&&(z="openid "+z);let J=E.loginUrl+V+"response_type="+encodeURIComponent(E.responseType)+"&client_id="+encodeURIComponent(E.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(P)+"&scope="+encodeURIComponent(z);if(this.responseType.includes("code")&&!this.disablePKCE){const[Q,oe]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",oe):this._storage.setItem("PKCE_verifier",oe),J+="&code_challenge="+Q,J+="&code_challenge_method=S256"}T&&(J+="&login_hint="+encodeURIComponent(T)),E.resource&&(J+="&resource="+encodeURIComponent(E.resource)),E.oidc&&(J+="&nonce="+encodeURIComponent(L)),S&&(J+="&prompt=none");for(const Q of Object.keys(M))J+="&"+encodeURIComponent(Q)+"="+encodeURIComponent(M[Q]);if(this.customQueryParams)for(const Q of Object.getOwnPropertyNames(this.customQueryParams))J+="&"+Q+"="+encodeURIComponent(this.customQueryParams[Q]);return J})}initImplicitFlowInternal(x="",T=""){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={},S=null;"string"==typeof T?S=T:"object"==typeof T&&(i=T),this.createLoginUrl(x,S,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initImplicitFlow",M),this.inImplicitFlow=!1})}initImplicitFlow(x="",T=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,T):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(x,T))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const T=this;if(x.onTokenReceived){const i={idClaims:T.getIdentityClaims(),idToken:T.getIdToken(),accessToken:T.getAccessToken(),state:T.state};x.onTokenReceived(i)}}storeAccessTokenResponse(x,T,i,S,M){if(this._storage.setItem("access_token",x),S&&!Array.isArray(S)?this._storage.setItem("granted_scopes",JSON.stringify(S.split(" "))):S&&Array.isArray(S)&&this._storage.setItem("granted_scopes",JSON.stringify(S)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const E=1e3*i,L=this.dateTimeService.new().getTime()+E;this._storage.setItem("expires_at",""+L)}T&&this._storage.setItem("refresh_token",T),M&&M.forEach((E,P)=>{this._storage.setItem(P,E)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(T=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const T=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(T),S=i.code,M=i.state,E=i.session_state;if(!x.preventClearHashAfterLogin){const V=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,V)}let[P,L]=this.parseState(M);if(this.state=L,i.error){this.debug("error trying to login"),this.handleLoginError(x,i);const V=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(V),Promise.reject(V)}if(!x.disableNonceCheck){if(!P)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(P)){const z=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(z),Promise.reject(z)}return this.storeSessionState(E),S&&(yield this.getTokenFromCode(S,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,T){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",T.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let S;S=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),S?i=i.set("code_verifier",S):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,T)}fetchAndProcessToken(x,T){T=T||{},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 S=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+S)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((S,M)=>{if(this.customQueryParams)for(let E of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(E,this.customQueryParams[E]);this.http.post(this.tokenEndpoint,x,{headers:i}).subscribe(E=>{this.debug("refresh 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,T.disableNonceCheck).then(P=>{this.storeIdToken(P),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E)}).catch(P=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",P)),console.error("Error validating tokens"),console.error(P),M(P)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E))},E=>{console.error("Error getting token",E),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",E)),M(E)})})}tryLoginImplicitFlow(x=null){let T;T=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",T);const i=T.state;let[S,M]=this.parseState(i);if(this.state=M,T.error){this.debug("error trying to login"),this.handleLoginError(x,T);const z=new OAuthErrorEvent("token_error",{},T);return this.eventsSubject.next(z),Promise.reject(z)}const E=T.access_token,P=T.id_token,L=T.session_state,V=T.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!E||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!i||this.oidc&&!P)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&&!x.disableNonceCheck&&!this.validateNonce(S)){const J=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(J),Promise.reject(J)}return this.requestAccessToken&&this.storeAccessTokenResponse(E,null,T.expires_in||this.fallbackAccessTokenExpirationTimeInSec,V),this.oidc?this.processIdToken(P,E,x.disableNonceCheck).then(z=>x.validationHandler?x.validationHandler({accessToken:E,idClaims:z.idTokenClaims,idToken:z.idToken,state:i}).then(J=>z):z).then(z=>(this.storeIdToken(z),this.storeSessionState(L),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(z=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",z)),this.logger.error("Error validating tokens"),this.logger.error(z),Promise.reject(z))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let T=x,i="";if(x){const S=x.indexOf(this.config.nonceStateSeparator);S>-1&&(T=x.substr(0,S),i=x.substr(S+this.config.nonceStateSeparator.length))}return[T,i]}validateNonce(x){let T;return T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),T===x||(console.error("Validating access_token failed, wrong state/nonce.",T,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,T){x.onLoginError&&x.onLoginError(T),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,T,i=!1){const S=x.split("."),E=b64DecodeUnicode(this.padBase64(S[0])),P=JSON.parse(E),V=b64DecodeUnicode(this.padBase64(S[1])),z=JSON.parse(V);let J;if(J=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(z.aud)){if(z.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+z.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(z.aud!==this.clientId){const he="Wrong audience: "+z.aud;return this.logger.warn(he),Promise.reject(he)}if(!z.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==z.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${z.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!z.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&z.iss!==this.issuer){const he="Wrong issuer: "+z.iss;return this.logger.warn(he),Promise.reject(he)}if(!i&&z.nonce!==J){const he="Wrong nonce: "+z.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!z.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const Q=this.dateTimeService.now(),oe=1e3*z.iat,ce=1e3*z.exp,ie=this.getClockSkewInMsec();if(oe-ie>=Q||ce+ie<=Q){const he="Token has expired";return console.error(he),console.error({now:Q,issuedAtMSec:oe,expiresAtMSec:ce}),Promise.reject(he)}const te={accessToken:T,idToken:x,jwks:this.jwks,idTokenClaims:z,idTokenHeader:P,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(te).then(he=>({idToken:x,idTokenClaims:z,idTokenClaimsJson:V,idTokenHeader:P,idTokenHeaderJson:E,idTokenExpiresAt:ce})):this.checkAtHash(te).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const fe="Wrong at_hash";return this.logger.warn(fe),Promise.reject(fe)}return this.checkSignature(te).then(fe=>{const ze={idToken:x,idTokenClaims:z,idTokenClaimsJson:V,idTokenHeader:P,idTokenHeaderJson:E,idTokenExpiresAt:ce};return this.disableAtHashCheck?ze:this.checkAtHash(te).then(qe=>{if(this.requestAccessToken&&!qe){const Ee="Wrong at_hash";return this.logger.warn(Ee),Promise.reject(Ee)}return ze})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),T=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},T=""){let i=!1;"boolean"==typeof x&&(i=x,x={});const S=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(E=>this._storage.removeItem(E)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!S&&!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(S)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});S&&(E=E.set("id_token_hint",S));const P=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";P&&(E=E.set("post_logout_redirect_uri",P),T&&(E=E.set("state",T)));for(let L in x)E=E.set(L,x[L]);M=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+E.toString()}this.config.openUri(M)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(T){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",T):x._storage.setItem("nonce",T),T})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const T=this.document.getElementById(this.sessionCheckIFrameName);T&&T.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,S="";const M="undefined"==typeof self?null:self.crypto||self.msCrypto;if(M){let E=new Uint8Array(i);M.getRandomValues(E),E.map||(E.map=Array.prototype.map),E=E.map(P=>T.charCodeAt(P%T.length)),S=String.fromCharCode.apply(null,E)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(x,T))}initCodeFlowInternal(x="",T={}){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={},S=null;"string"==typeof T?S=T:"object"==typeof T&&(i=T),this.createLoginUrl(x,S,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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let T=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{x[i]&&T.set(i,JSON.stringify(x[i]))}),T}revokeTokenAndLogout(x={},T=!1){let i=this.revocationEndpoint,S=this.getAccessToken(),M=this.getRefreshToken();if(!S)return;let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),P=(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}`);P=P.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(E=E.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(E=E.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))E=E.set(L,this.customQueryParams[L]);return new Promise((L,V)=>{let z,J;if(S){let Q=E.set("token",S).set("token_type_hint","access_token");z=this.http.post(i,Q,{headers:P})}else z=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(M){let Q=E.set("token",M).set("token_type_hint","refresh_token");J=this.http.post(i,Q,{headers:P})}else J=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);T&&(z=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(Q=>0===Q.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Q))),J=J.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(Q=>0===Q.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Q)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([z,J]).subscribe(Q=>{this.logOut(x),L(Q),this.logger.info("Token successfully revoked")},Q=>{this.logger.error("Error revoking token",Q),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",Q)),V(Q)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(x){return new(x||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(x,T,i){this.oAuthService=x,this.errorHandler=T,this.moduleConfig=i}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(T=>x.toLowerCase().startsWith(T.toLowerCase()))}intercept(x,T){const i=x.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__.z)(M=>{if(M){const P=x.headers.set("Authorization","Bearer "+M);x=x.clone({headers:P})}return T.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(E=>this.errorHandler.handleError(E)))})):T.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>this.errorHandler.handleError(M))):T.handle(x)}}return Y.\u0275fac=function(x){return new(x||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(x=null,T=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:T},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(x){return new(x||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:"9.0.0"}}},Y=>{Y(Y.s=4833)}]); \ No newline at end of file +(self.webpackChunkpublications=self.webpackChunkpublications||[]).push([[179],{4833:(Y,U,x)=>{"use strict";var T=x(9808),i=x(5e3);class S extends T.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class M extends S{static makeCurrent(){(0,T.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 P(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==e?null:function V(n){L=L||document.createElement("a"),L.setAttribute("href",n);const o=L.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return(0,T.Mx)(document.cookie,o)}}let L,E=null;const z=new i.OlP("TRANSITION_ID"),Q=[{provide:i.ip1,useFactory:function J(n,o,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,T.q)(),a=o.querySelectorAll(`style[ng-transition="${n}"]`);for(let l=0;l{const l=o.findTestabilityInTree(t,a);if(null==l)throw new Error("Could not find testability for element.");return l},i.dqk.getAllAngularTestabilities=()=>o.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>o.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const a=i.dqk.getAllAngularTestabilities();let l=a.length,d=!1;const s=function(r){d=d||r,l--,0==l&&t(d)};a.forEach(function(r){r.whenStable(s)})})}findTestabilityInTree(o,e,t){if(null==e)return null;const a=o.getTestability(e);return null!=a?a:t?(0,T.q)().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null}}let ce=(()=>{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 ie=new i.OlP("EventManagerPlugins");let te=(()=>{class n{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(a=>a.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,a){return this._findPluginFor(t).addEventListener(e,t,a)}addGlobalEventListener(e,t,a){return this._findPluginFor(t).addGlobalEventListener(e,t,a)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const a=this._plugins;for(let l=0;l{class n{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(a=>{this._stylesSet.has(a)||(this._stylesSet.add(a),t.add(a))}),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})(),Re=(()=>{class n extends fe{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,a){e.forEach(l=>{const d=this._doc.createElement("style");d.textContent=l,a.push(t.appendChild(d))})}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(ze),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,a)=>{this._addStylesToHost(e,a,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(ze))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function ze(n){(0,T.q)().remove(n)}const qe={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/"},Ee=/%COMP%/g;function de(n,o,e){for(let t=0;t{if("__ngUnwrap__"===o)return n;!1===n(o)&&(o.preventDefault(),o.returnValue=!1)}}let Ae=(()=>{class n{constructor(e,t,a){this.eventManager=e,this.sharedStylesHost=t,this.appId=a,this.rendererByCompId=new Map,this.defaultRenderer=new ye(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let a=this.rendererByCompId.get(t.id);return a||(a=new jt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,a)),a.applyToHost(e),a}case 1:case i.ifc.ShadowDom:return new ri(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const a=de(t.id,t.styles,[]);this.sharedStylesHost.addStyles(a),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(te),i.LFG(Re),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ye{constructor(o){this.eventManager=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?document.createElementNS(qe[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,a){if(a){e=a+":"+e;const l=qe[a];l?o.setAttributeNS(l,e,t):o.setAttribute(e,t)}else o.setAttribute(e,t)}removeAttribute(o,e,t){if(t){const a=qe[t];a?o.removeAttributeNS(a,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,a){a&(i.JOm.DashCase|i.JOm.Important)?o.style.setProperty(e,t,a&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,me(t)):this.eventManager.addEventListener(o,e,me(t))}}class jt extends ye{constructor(o,e,t,a){super(o),this.component=t;const l=de(a+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function Oe(n){return"_ngcontent-%COMP%".replace(Ee,n)}(a+"-"+t.id),this.hostAttr=function Je(n){return"_nghost-%COMP%".replace(Ee,n)}(a+"-"+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 ri extends ye{constructor(o,e,t,a){super(o),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=de(a.id,a.styles,[]);for(let d=0;d{class n extends he{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,a){return e.addEventListener(t,a,!1),()=>this.removeEventListener(e,t,a)}removeEventListener(e,t,a){return e.removeEventListener(t,a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Li=["alt","control","meta","shift"],$e={"\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"},Kt={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"},Mr={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let cn=(()=>{class n extends he{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,a){const l=n.parseEventName(t),d=n.eventCallback(l.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,T.q)().onAndCancel(e,l.domEventName,d))}static parseEventName(e){const t=e.toLowerCase().split("."),a=t.shift();if(0===t.length||"keydown"!==a&&"keyup"!==a)return null;const l=n._normalizeKey(t.pop());let d="";if(Li.forEach(r=>{const c=t.indexOf(r);c>-1&&(t.splice(c,1),d+=r+".")}),d+=l,0!=t.length||0===l.length)return null;const s={};return s.domEventName=a,s.fullKey=d,s}static getEventFullKey(e){let t="",a=function zi(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&&Kt.hasOwnProperty(o)&&(o=Kt[o]))}return $e[o]||o}(e);return a=a.toLowerCase()," "===a?a="space":"."===a&&(a="dot"),Li.forEach(l=>{l!=a&&Mr[l](e)&&(t+=l+".")}),t+=a,t}static eventCallback(e,t,a){return l=>{n.getEventFullKey(l)===e&&a.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ra=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:T.bD},{provide:i.g9A,useValue:function Kr(){M.makeCurrent(),oe.init()},multi:!0},{provide:T.K0,useFactory:function zs(){return(0,i.RDi)(document),document},deps:[]}]),Xr=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Ys(){return new i.qLn},deps:[]},{provide:ie,useClass:tt,multi:!0,deps:[T.K0,i.R0b,i.Lbi]},{provide:ie,useClass:cn,multi:!0,deps:[T.K0]},{provide:Ae,useClass:Ae,deps:[te,Re,i.AFp]},{provide:i.FYo,useExisting:Ae},{provide:fe,useExisting:Re},{provide:Re,useClass:Re,deps:[T.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:te,useClass:te,deps:[ie,i.R0b]},{provide:T.JF,useClass:ce,deps:[]}];let La=(()=>{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:z,useExisting:i.AFp},Q]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Xr,imports:[T.ez,i.hGG]}),n})(),Xt=(()=>{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ii(){return new Xt((0,i.LFG)(T.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let Vn=(()=>{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(ls),t},providedIn:"root"}),n})(),ls=(()=>{class n extends Vn{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function os(n){return new ls(n.get(T.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var C=x(520);class je{encodeKey(o){return encodeURIComponent(o)}encodeValue(o){return encodeURIComponent(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const ui=new i.OlP("basePath");class it{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,this.credentials=o.credentials?o.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}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())}lookupCredential(o){const e=this.credentials[o];return"function"==typeof e?e():e}}let Oi=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}getAllPolicies(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzAdminGroups.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"role")),null!=t&&(r=this.addToHttpParams(r,t,"complementaryObjectId")),null!=a&&(r=this.addToHttpParams(r,a,"complementaryObjectName"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}getAuthzRichAdmins(e,t,a,l,d,s,r="body",c=!1,u){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==a)throw new Error("Required parameter complementaryObjectName was null or undefined when calling getAuthzRichAdmins.");if(null==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let h=new C.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"role")),null!=t&&(h=this.addToHttpParams(h,t,"complementaryObjectId")),null!=a&&(h=this.addToHttpParams(h,a,"complementaryObjectName")),l&&l.forEach(Ke=>{h=this.addToHttpParams(h,Ke,"specificAttributes")}),null!=d&&(h=this.addToHttpParams(h,d,"allUserAttributes")),null!=s&&(h=this.addToHttpParams(h,s,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let j=u&&u.httpHeaderAccept;void 0===j&&(j=this.configuration.selectHeaderAccept(["application/json"])),void 0!==j&&(f=f.set("Accept",j));let ee=u&&u.context;void 0===ee&&(ee=new C.qT);let pe="json";return j&&(pe=j.startsWith("text")?"text":this.configuration.isJsonMime(j)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:ee,params:h,responseType:pe,withCredentials:this.configuration.withCredentials,headers:f,observe:r,reportProgress:c})}getFacilitiesWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupRoleNames(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupRoles(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"groupId"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupsWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getLoggedUser(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getPerunPrincipal(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserRoleNames(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserRoles(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userId"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getVosWhereUserIsInRoles(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new C.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}isFacilityAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isGroupAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isPerunAdmin(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}keepAlive(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}setRoleWithUserComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}unsetRoleWithGroupComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}unsetRoleWithUserComplementaryObject(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hi=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}createAutorship(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateAuthorship was null or undefined when calling createAutorship.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createAuthorship`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createCategoryCat(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateCategory was null or undefined when calling createCategoryCat.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/cat`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createCategoryNR(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateCategoryNR was null or undefined when calling createCategoryNR.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createCategory/n-r`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createPublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreatePublication was null or undefined when calling createPublication.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublication`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createPublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreatePublicationSystem was null or undefined when calling createPublicationSystem.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createPublicationSystem`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createThanks(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateThanks was null or undefined when calling createThanks.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/createThanks`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteAuthorship(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"publicationId")),null!=t&&(s=this.addToHttpParams(s,t,"userId"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteAuthorship`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deleteCategory(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteCategory.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteCategory`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deletePublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublication.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublication`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deletePublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deletePublicationSystem.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deletePublicationSystem`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}deleteThanks(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteThanks.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/cabinetManager/deleteThanks`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findAllAuthors(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAllAuthors`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}findAuthorsByPublicationId(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling findAuthorsByPublicationId.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findAuthorsByPublicationId`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findExternalPublications(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter yearTill was null or undefined when calling findExternalPublications.");if(null==l)throw new Error("Required parameter pubSysNamespace was null or undefined when calling findExternalPublications.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user")),null!=t&&(c=this.addToHttpParams(c,t,"yearSince")),null!=a&&(c=this.addToHttpParams(c,a,"yearTill")),null!=l&&(c=this.addToHttpParams(c,l,"pubSysNamespace"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findExternalPublications`,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}findNewAuthors(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findNewAuthors.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findNewAuthors`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findPublicationById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling findPublicationById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findPublicationsByFilter(e,t,a,l="body",d=!1,s){if(null==e)throw new Error("Required parameter userId was null or undefined when calling findPublicationsByFilter.");let r=new C.LE({encoder:this.encoder});null!=t&&(r=this.addToHttpParams(r,t,"yearSince")),null!=a&&(r=this.addToHttpParams(r,a,"yearTill")),null!=e&&(r=this.addToHttpParams(r,e,"userId"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByFilter`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}findPublicationsByGUIFilter(e,t,a,l,d,s,r,c,u,h="body",f=!1,b){let j=new C.LE({encoder:this.encoder});null!=e&&(j=this.addToHttpParams(j,e,"title")),null!=t&&(j=this.addToHttpParams(j,t,"isbn")),null!=a&&(j=this.addToHttpParams(j,a,"doi")),null!=l&&(j=this.addToHttpParams(j,l,"id")),null!=d&&(j=this.addToHttpParams(j,d,"year")),null!=s&&(j=this.addToHttpParams(j,s,"category")),null!=r&&(j=this.addToHttpParams(j,r,"yearSince")),null!=c&&(j=this.addToHttpParams(j,c,"yearTill")),null!=u&&(j=this.addToHttpParams(j,u,"userId"));let pe,ee=this.defaultHeaders;pe=this.configuration.lookupCredential("BasicAuth"),pe&&(ee=ee.set("Authorization","Basic "+pe)),pe=this.configuration.lookupCredential("BearerAuth"),pe&&(ee=ee.set("Authorization","Bearer "+pe));let Ke=b&&b.httpHeaderAccept;void 0===Ke&&(Ke=this.configuration.selectHeaderAccept(["application/json"])),void 0!==Ke&&(ee=ee.set("Accept",Ke));let Dt=b&&b.context;void 0===Dt&&(Dt=new C.qT);let ut="json";return Ke&&(ut=Ke.startsWith("text")?"text":this.configuration.isJsonMime(Ke)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findPublicationsByGUIFilter`,{context:Dt,params:j,responseType:ut,withCredentials:this.configuration.withCredentials,headers:ee,observe:h,reportProgress:f})}findSimilarPublications(e,t,a,l="body",d=!1,s){let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"title")),null!=t&&(r=this.addToHttpParams(r,t,"doi")),null!=a&&(r=this.addToHttpParams(r,a,"isbn"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/findSimilarPublications`,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}getCategories(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getCategories`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPublicationSystems(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getPublicationSystems`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getRank(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRank.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRank`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichThanksByPublicationId(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichThanksByPublicationId.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/cabinetManager/getRichThanksByPublicationId`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}lockPublications(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputLockPublications was null or undefined when calling lockPublications.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/lockPublications`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updateCategory(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdateCategory was null or undefined when calling updateCategory.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updateCategory`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updatePublication(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdatePublication was null or undefined when calling updatePublication.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublication`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updatePublicationSystem(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdatePublicationSystem was null or undefined when calling updatePublicationSystem.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/cabinetManager/updatePublicationSystem`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ei=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}createOwner(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateOwner was null or undefined when calling createOwner.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/ownersManager/createOwner`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteOwner(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter owner was null or undefined when calling deleteOwner.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"owner")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/ownersManager/deleteOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getAllOwners(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwners`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getOwnerById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getOwnerById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getOwnerByName(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter owner was null or undefined when calling getOwnerByName.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"owner"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/ownersManager/getOwnerByName`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tn=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}sentMessageToRTWithMemberQueue(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithMemberQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"memberId")),null!=t&&(c=this.addToHttpParams(c,t,"queue")),null!=a&&(c=this.addToHttpParams(c,a,"subject")),null!=l&&(c=this.addToHttpParams(c,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}sentMessageToRTWithQueue(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithQueue.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"queue")),null!=t&&(r=this.addToHttpParams(r,t,"subject")),null!=a&&(r=this.addToHttpParams(r,a,"text"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}sentMessageToRTWithVo(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVo.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"voId")),null!=t&&(r=this.addToHttpParams(r,t,"subject")),null!=a&&(r=this.addToHttpParams(r,a,"text"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}sentMessageToRTWithVoQueue(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter subject was null or undefined when calling sentMessageToRTWithVoQueue.");if(null==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"voId")),null!=t&&(c=this.addToHttpParams(c,t,"queue")),null!=a&&(c=this.addToHttpParams(c,a,"subject")),null!=l&&(c=this.addToHttpParams(c,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Er=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}addSpecificUserOwner(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}addUserExtSource(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}anonymizeUser(e,t,a="body",l=!1,d){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=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}changeNonAuthzPasswordByToken(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}changePasswordForLogin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}changePasswordForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}checkPasswordResetRequestByTokenIsValid(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"token"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}checkPasswordStrength(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createAlternativePassword(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}createServiceUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}deleteAlternativePassword(e,t,a,l="body",d=!1,s){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==a)throw new Error("Required parameter passwordId was null or undefined when calling deleteAlternativePassword.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"loginNamespace")),null!=a&&(r=this.addToHttpParams(r,a,"passwordId"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}deletePasswordForLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deletePasswordForUser(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}deleteUser(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}findRichUsers(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}findRichUsersWithAttributes(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"searchString")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrsNames[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}findUsers(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"searchString"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}generateAccountForName(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getAllRichUsersWithAttributes(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"includedSpecificUsers"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getAssignedRichResourcesForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getGroupsForFacilityWhereUserIsActive(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsForResourceWhereUserIsActive(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getGroupsWhereUserIsAdmin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getPendingPreferredEmailChanges(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUserExtSources(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUserWithAttributes(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersWithAttributesByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getRichUsersWithoutVoWithAttributes(e,t="body",a=!1,l){let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"attrsNames[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getSpecificUsersByUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getSponsorsForMember(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getSponsorsForMemberByVoAndLogin(e,t,a,l,d="body",s=!1,r){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==a)throw new Error("Required parameter extLogin was null or undefined when calling getSponsorsForMemberByVoAndLogin.");let c=new C.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo")),null!=t&&(c=this.addToHttpParams(c,t,"extSourceName")),null!=a&&(c=this.addToHttpParams(c,a,"extLogin")),l&&l.forEach(ee=>{c=this.addToHttpParams(c,ee,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=r&&r.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=r&&r.context;void 0===b&&(b=new C.qT);let j="json";return f&&(j=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:c,responseType:j,withCredentials:this.configuration.withCredentials,headers:u,observe:d,reportProgress:s})}getUserByExtSourceNameAndExtLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extLogin")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceName"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"id"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourceByExtLoginAndExtSourceName(e,t,a="body",l=!1,d){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extSourceName")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceLogin"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSourceById(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userExtSource"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}getUserExtSources(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUserExtSourcesByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsers(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getUsersByIds(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let d=new C.LE({encoder:this.encoder});e&&e.forEach(f=>{d=this.addToHttpParams(d,f,"ids[]")});let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsersBySpecificUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"specificUser"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getUsersPage(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}getVosWhereUserIsAdmin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}getVosWhereUserIsMember(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"user"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}isLoginAvailable(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"loginNamespace")),null!=t&&(s=this.addToHttpParams(s,t,"login"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}loginExist(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}removeSpecificUserOwner(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}removeUserExtSource(e,t,a,l="body",d=!1,s){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 r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"userExtSource")),null!=a&&(r=this.addToHttpParams(r,a,"force"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}requestPreferredEmailChange(e,t,a,l,d,s,r="body",c=!1,u){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 h=new C.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"user")),null!=t&&(h=this.addToHttpParams(h,t,"email")),null!=a&&(h=this.addToHttpParams(h,a,"lang")),null!=l&&(h=this.addToHttpParams(h,l,"linkPath")),null!=d&&(h=this.addToHttpParams(h,d,"customUrl")),null!=s&&(h=this.addToHttpParams(h,s,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let j=u&&u.httpHeaderAccept;void 0===j&&(j=this.configuration.selectHeaderAccept(["application/json"])),void 0!==j&&(f=f.set("Accept",j));let ee=u&&u.context;void 0===ee&&(ee=new C.qT);let pe="json";return j&&(pe=j.startsWith("text")?"text":this.configuration.isJsonMime(j)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:ee,params:h,responseType:pe,withCredentials:this.configuration.withCredentials,headers:f,observe:r,reportProgress:c})}reservePasswordForLogin(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}reservePasswordForUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}reserveRandomPassword(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}setLogin(e,t,a,l="body",d=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==a)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let r=new C.LE({encoder:this.encoder});null!=e&&(r=this.addToHttpParams(r,e,"user")),null!=t&&(r=this.addToHttpParams(r,t,"login")),null!=a&&(r=this.addToHttpParams(r,a,"namespace"));let u,c=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(c=c.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(c=c.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(c=c.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new C.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:r,responseType:b,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:d})}updateUser(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let s,d=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(d=d.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(d=d.set("Authorization","Bearer "+s));let r=l&&l.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(d=d.set("Accept",r));let c=l&&l.context;void 0===c&&(c=new C.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(d=d.set("Content-Type",h));let f="json";return r&&(f=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:c,responseType:f,withCredentials:this.configuration.withCredentials,headers:d,observe:t,reportProgress:a})}updateUserExtSourceLastAccess(e,t="body",a=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let d=new C.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"userExtSource"));let r,s=this.defaultHeaders;r=this.configuration.lookupCredential("BasicAuth"),r&&(s=s.set("Authorization","Basic "+r)),r=this.configuration.lookupCredential("BearerAuth"),r&&(s=s.set("Authorization","Bearer "+r));let c=l&&l.httpHeaderAccept;void 0===c&&(c=this.configuration.selectHeaderAccept(["application/json"])),void 0!==c&&(s=s.set("Accept",c));let u=l&&l.context;void 0===u&&(u=new C.qT);let h="json";return c&&(h=c.startsWith("text")?"text":this.configuration.isJsonMime(c)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:u,params:d,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:a})}validatePasswordForLogin(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}validatePasswordForUser(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}validatePreferredEmailChangeWithToken(e,t,a="body",l=!1,d){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 s=new C.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token")),null!=t&&(s=this.addToHttpParams(s,t,"u"));let c,r=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(r=r.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(r=r.set("Authorization","Bearer "+c));let u=d&&d.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(r=r.set("Accept",u));let h=d&&d.context;void 0===h&&(h=new C.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:r,observe:a,reportProgress:l})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vt=(()=>{class n{constructor(e,t,a){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new C.WM,this.configuration=new it,a&&(this.configuration=a),"string"!=typeof this.configuration.basePath&&("string"!=typeof t&&(t=this.basePath),this.configuration.basePath=t),this.encoder=this.configuration.encoder||new je}addToHttpParams(e,t,a){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,a):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,a){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,a));else if(t instanceof Date){if(null==a)throw Error("key may not be null if value is Date");e=e.append(a,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=a?`${a}.${l}`:l));else{if(null==a)throw Error("key may not be null if value is not object or array");e=e.append(a,t)}return e}getAppsConfig(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,a){let d,l=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(l=l.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(l=l.set("Authorization","Bearer "+d));let s=a&&a.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let r=a&&a.context;void 0===r&&(r=new C.qT);let c="json";return s&&(c=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:r,responseType:c,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(ui,8),i.LFG(it,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ju=(()=>{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:it,useFactory:e}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12),i.LFG(C.eN,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[]]}),n})();var xt=(()=>{return(n=xt||(xt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.GROUPOBSERVER="GROUPOBSERVER",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",n.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",n.UNKNOWN="UNKNOWN",n.MEMBERSHIP="MEMBERSHIP",xt;var n})();let ra=(()=>{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 a=this.fetchPolicyWithAllIncludedPolicies(e);let l=[];for(const s of a)l=l.concat(s.perunRoles);const d=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,d)}principalHasRole(e,t,a){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(a.toString()))}canManageFacilities(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER,xt.FACILITYADMIN,xt.FACILITIYOBSERVER)}isPerunAdmin(){return this.principalRoles.has(xt.PERUNADMIN)}isPerunAdminOrObserver(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)}isVoAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.VOADMIN)}isThisVoAdminOrObserver(e){return this.editableVos.includes(Number(e.toString()))||this.observableVos.includes(Number(e.toString()))||this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)}isThisVoAdmin(e){return this.editableVos.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isGroupAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.GROUPADMIN)}isOnlySponsor(){return this.hasAtLeastOne(xt.SPONSOR)}isThisGroupAdmin(e){return this.editableGroups.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isGroupAdminInThisVo(e){return this.hasGroupInTheseVos.includes(e)}isFacilityAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.FACILITYADMIN)}isThisFacilityAdmin(e){return this.editableFacilities.includes(e)||this.principalRoles.has(xt.PERUNADMIN)}isResourceAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.RESOURCEADMIN)}isTopGroupCreator(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.TOPGROUPCREATOR)}isTopGroupCreatorOnly(){return this.hasAtLeastOne(xt.TOPGROUPCREATOR)}isCabinetAdmin(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.CABINETADMIN)}isVoObserver(){return this.hasAtLeastOne(xt.PERUNADMIN,xt.VOOBSERVER,xt.PERUNOBSERVER)}isThisVoObserver(e){return this.hasAtLeastOne(xt.PERUNADMIN,xt.PERUNOBSERVER)||this.observableVos.includes(e)}getMemberIds(){return this.members}loadRolesManagementRules(){return new Promise((e,t)=>{this.authzSevice.getAllRolesManagementRules().subscribe(a=>{this.allRolesManagementRules=a,e()},a=>t(a))})}assignAvailableRoles(e,t){this.allRolesManagementRules.forEach(a=>{a.primaryObject===t&&e.push(a.roleName)}),e.sort(),"Vo"===t&&this.voCustomSort(e)}isManagerPagePrivileged(e){const t=[];let a=e.beanName;a.startsWith("Rich")&&(a=a.substring(4)),this.assignAvailableRoles(t,a);const l=new Map;this.setRolesAuthorization(t,e,l);for(const d of l.values())if(d.readAuth||d.manageAuth)return!0;return!1}setRolesAuthorization(e,t,a){for(const l of e){let d=[],s=[],r=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){d=d.concat(b.privilegedRolesToRead),s=s.concat(b.privilegedRolesToManage);for(const j of Object.keys(b.entitiesToManage))r="User"===j?[j].concat(r):r.concat(j);break}const c=this.fetchAllRelatedObjects([t]),u=this.resolveAuthorization(d,c),h=this.resolveAuthorization(s,c);a.set(l,{readAuth:u,manageAuth:h,modes:r})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const a of e){let l=!0;for(const d of Object.keys(a)){const s=a[d];if(null===s)this.principalRoles.has(d)||(l=!1);else if(t[s]){for(const r of t[s])if(!this.principalHasRole(d,s,r)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const a of e){let l=a.beanName;switch(a.beanName.startsWith("Rich")&&(l=a.beanName.substring(4)),t[l]?t[l].push(a.id):t[l]=[a.id],l){case"Member":t.User?t.User.push(a.userId):t.User=[a.userId],t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId];break;case"Group":case"ResourceTag":t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId];break;case"Resource":t.Facility?t.Facility.push(a.facilityId):t.Facility=[a.facilityId],t.Vo?t.Vo.push(a.voId):t.Vo=[a.voId]}}return t}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let a=[];for(a.push(e);0!==a.length;){const d=a.shift();if(t.has(d))continue;const s=this.getPerunPolicy(d);if(!s)return[];t.set(d,s),a=a.concat(s.includePolicies)}const l=[];for(const d of t.values())l.push(d);return l}voCustomSort(e){for(let t=0;t{(0,hs.Xf)(n()).subscribe(o)})}var rn=x(515),Rt=x(727),hn=x(4482),yn=x(5403);function fc(){return(0,hn.e)((n,o)=>{let e=null;n._refCount++;const t=(0,yn.x)(o,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const a=n._connection,l=e;e=null,a&&(!l||a===l)&&a.unsubscribe(),o.unsubscribe()});n.subscribe(t),t.closed||(e=n.connect())})}class mc extends Bi.y{constructor(o,e){super(),this.source=o,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,hn.A)(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){const o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:o}=this;this._subject=this._connection=null,null==o||o.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new Rt.w0;const e=this.getSubject();o.add(this.source.subscribe((0,yn.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),o.closed&&(this._connection=null,o=Rt.w0.EMPTY)}return o}refCount(){return fc()(this)}}var ft=x(4004),qi=x(3900),Yt=x(5698),fs=x(3269);function Jt(...n){const o=(0,fs.yG)(n);return(0,hn.e)((e,t)=>{(o?(0,us.z)(n,e,o):(0,us.z)(n,e)).subscribe(t)})}function Mn(n,o,e,t,a){return(l,d)=>{let s=e,r=o,c=0;l.subscribe((0,yn.x)(d,u=>{const h=c++;r=s?n(r,u,h):(s=!0,u),t&&d.next(r)},a&&(()=>{s&&d.next(r),d.complete()})))}}function Ko(n,o){return(0,hn.e)(Mn(n,o,arguments.length>=2,!0))}var Yn=x(262),Hr=x(4351);function ci(n){return n<=0?()=>rn.E:(0,hn.e)((o,e)=>{let t=[];o.subscribe((0,yn.x)(e,a=>{t.push(a),n{for(const a of t)e.next(a);e.complete()},void 0,()=>{t=null}))})}var ms=x(8068),aa=x(6590),Xo=x(4671),Js=x(590),Bt=x(5577),O=x(8505);function G(n){return(0,hn.e)((o,e)=>{try{o.subscribe(e)}finally{e.add(n)}})}var B=x(8189);class ${constructor(o,e){this.id=o,this.url=e}}class ne extends ${constructor(o,e,t="imperative",a=null){super(o,e),this.navigationTrigger=t,this.restoredState=a}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _e extends ${constructor(o,e,t){super(o,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Te extends ${constructor(o,e,t){super(o,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rt extends ${constructor(o,e,t){super(o,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ai extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kt extends ${constructor(o,e,t,a,l){super(o,e),this.urlAfterRedirects=t,this.state=a,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Vt extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vi extends ${constructor(o,e,t,a){super(o,e),this.urlAfterRedirects=t,this.state=a}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class di{constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pi{constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sa{constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lr{constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gs{constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class el{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 Mt="primary";class tl{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 _s(n){return new tl(n)}const bs="ngNavigationCancelingError";function Dd(n){const o=Error("NavigationCancelingError: "+n);return o[bs]=!0,o}function Ut(n,o,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(o.hasChildren()||t.lengtht[l]===a)}return n===o}function Qs(n){return Array.prototype.concat.apply([],n)}function cr(n){return n.length>0?n[n.length-1]:null}function Gi(n,o){for(const e in n)n.hasOwnProperty(e)&&o(n[e],e)}function kr(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,xn.D)(Promise.resolve(n)):(0,Qe.of)(n)}const _c={exact:function Pd(n,o,e){if(!Fa(n.segments,o.segments)||!nl(n.segments,o.segments,e)||n.numberOfChildren!==o.numberOfChildren)return!1;for(const t in o.children)if(!n.children[t]||!Pd(n.children[t],o.children[t],e))return!1;return!0},subset:Sn},il={exact:function oa(n,o){return si(n,o)},subset:function Ks(n,o){return Object.keys(o).length<=Object.keys(n).length&&Object.keys(o).every(e=>Hd(n[e],o[e]))},ignored:()=>!0};function an(n,o,e){return _c[e.paths](n.root,o.root,e.matrixParams)&&il[e.queryParams](n.queryParams,o.queryParams)&&!("exact"===e.fragment&&n.fragment!==o.fragment)}function Sn(n,o,e){return Qu(n,o,o.segments,e)}function Qu(n,o,e,t){if(n.segments.length>e.length){const a=n.segments.slice(0,e.length);return!(!Fa(a,e)||o.hasChildren()||!nl(a,e,t))}if(n.segments.length===e.length){if(!Fa(n.segments,e)||!nl(n.segments,e,t))return!1;for(const a in o.children)if(!n.children[a]||!Sn(n.children[a],o.children[a],t))return!1;return!0}{const a=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(Fa(n.segments,a)&&nl(n.segments,a,t)&&n.children[Mt])&&Qu(n.children[Mt],o,l,t)}}function nl(n,o,e){return o.every((t,a)=>il[e](n[a].parameters,t.parameters))}class ys{constructor(o,e,t){this.root=o,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return Xs.serialize(this)}}class It{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Gi(e,(t,a)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cs(this)}}class Pr{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_s(this.parameters)),this._parameterMap}toString(){return la(this)}}function Fa(n,o){return n.length===o.length&&n.every((e,t)=>e.path===o[t].path)}class Ku{}class al{parse(o){const e=new wc(o);return new ys(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${eo(o.root,!0)}`,t=function Xu(n){const o=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(a=>`${sl(e)}=${sl(a)}`).join("&"):`${sl(e)}=${sl(t)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${t}${"string"==typeof o.fragment?`#${function yc(n){return encodeURI(n)}(o.fragment)}`:""}`}}const Xs=new al;function Cs(n){return n.segments.map(o=>la(o)).join("/")}function eo(n,o){if(!n.hasChildren())return Cs(n);if(o){const e=n.children[Mt]?eo(n.children[Mt],!1):"",t=[];return Gi(n.children,(a,l)=>{l!==Mt&&t.push(`${l}:${eo(a,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function bc(n,o){let e=[];return Gi(n.children,(t,a)=>{a===Mt&&(e=e.concat(o(t,a)))}),Gi(n.children,(t,a)=>{a!==Mt&&(e=e.concat(o(t,a)))}),e}(n,(t,a)=>a===Mt?[eo(n.children[Mt],!1)]:[`${a}:${eo(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Mt]?`${Cs(n)}/${e[0]}`:`${Cs(n)}/(${e.join("//")})`}}function Rd(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sl(n){return Rd(n).replace(/%3B/gi,";")}function Ld(n){return Rd(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cc(n){return decodeURIComponent(n)}function pn(n){return Cc(n.replace(/\+/g,"%20"))}function la(n){return`${Ld(n.path)}${function Ti(n){return Object.keys(n).map(o=>`;${Ld(o)}=${Ld(n[o])}`).join("")}(n.parameters)}`}const eh=/^[^\/()?;=#]+/;function ol(n){const o=n.match(eh);return o?o[0]:""}const Cf=/^[^=?&#]+/,ws=/^[^&#]+/;class wc{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new It([],{}):new It([],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[Mt]=new It(o,e)),t}parseSegment(){const o=ol(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(o),new Pr(Cc(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=ol(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const a=ol(this.remaining);a&&(t=a,this.capture(t))}o[Cc(e)]=Cc(t)}parseQueryParam(o){const e=function dr(n){const o=n.match(Cf);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const d=function ll(n){const o=n.match(ws);return o?o[0]:""}(this.remaining);d&&(t=d,this.capture(t))}const a=pn(e),l=pn(t);if(o.hasOwnProperty(a)){let d=o[a];Array.isArray(d)||(d=[d],o[a]=d),d.push(l)}else o[a]=l}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=ol(this.remaining),a=this.remaining[t.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):o&&(l=Mt);const d=this.parseChildren();e[l]=1===Object.keys(d).length?d[Mt]:new It([],d),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 to{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=io(o,this._root);return e?e.children.map(t=>t.value):[]}firstChild(o){const e=io(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=Ac(o,this._root);return e.length<2?[]:e[e.length-2].children.map(a=>a.value).filter(a=>a!==o)}pathFromRoot(o){return Ac(o,this._root).map(e=>e.value)}}function io(n,o){if(n===o.value)return o;for(const e of o.children){const t=io(n,e);if(t)return t}return null}function Ac(n,o){if(n===o.value)return[o];for(const e of o.children){const t=Ac(n,e);if(t.length)return t.unshift(o),t}return[]}class ca{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function En(n){const o={};return n&&n.children.forEach(e=>o[e.value.outlet]=e),o}class no extends to{constructor(o,e){super(o),this.snapshot=e,ih(this,o)}toString(){return this.snapshot.toString()}}function th(n,o){const e=function wf(n,o){const d=new Tc([],{},{},"",{},Mt,o,null,n.root,-1,{});return new vf("",new ca(d,[]))}(n,o),t=new Ki([new Pr("",{})]),a=new Ki({}),l=new Ki({}),d=new Ki({}),s=new Ki(""),r=new fn(t,a,d,s,l,Mt,o,e.root);return r.snapshot=e.root,new no(new ca(r,[]),e)}class fn{constructor(o,e,t,a,l,d,s,r){this.url=o,this.params=e,this.queryParams=t,this.fragment=a,this.data=l,this.outlet=d,this.component=s,this._futureSnapshot=r}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,ft.U)(o=>_s(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ft.U)(o=>_s(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vc(n,o="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==o)for(t=e.length-1;t>=1;){const a=e[t],l=e[t-1];if(a.routeConfig&&""===a.routeConfig.path)t--;else{if(l.component)break;t--}}return function Af(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 Tc{constructor(o,e,t,a,l,d,s,r,c,u,h){this.url=o,this.params=e,this.queryParams=t,this.fragment=a,this.data=l,this.outlet=d,this.component=s,this.routeConfig=r,this._urlSegment=c,this._lastPathIndex=u,this._resolve=h}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=_s(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class vf extends to{constructor(o,e){super(e),this.url=o,ih(this,e)}toString(){return cl(this._root)}}function ih(n,o){o.value._routerState=n,o.children.forEach(e=>ih(n,e))}function cl(n){const o=n.children.length>0?` { ${n.children.map(cl).join(", ")} } `:"";return`${n.value}${o}`}function xc(n){if(n.snapshot){const o=n.snapshot,e=n._futureSnapshot;n.snapshot=e,si(o.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),o.fragment!==e.fragment&&n.fragment.next(e.fragment),si(o.params,e.params)||n.params.next(e.params),function gc(n,o){if(n.length!==o.length)return!1;for(let e=0;esi(e.parameters,o[t].parameters))}(n.url,o.url);return e&&!(!n.parent!=!o.parent)&&(!n.parent||dl(n.parent,o.parent))}function ro(n,o,e){if(e&&n.shouldReuseRoute(o.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=o.value;const a=function ul(n,o,e){return o.children.map(t=>{for(const a of e.children)if(n.shouldReuseRoute(t.value,a.value.snapshot))return ro(n,t,a);return ro(n,t)})}(n,o,e);return new ca(t,a)}{if(n.shouldAttach(o.value)){const l=n.retrieve(o.value);if(null!==l){const d=l.route;return d.value._futureSnapshot=o.value,d.children=o.children.map(s=>ro(n,s)),d}}const t=function ao(n){return new fn(new Ki(n.url),new Ki(n.params),new Ki(n.queryParams),new Ki(n.fragment),new Ki(n.data),n.outlet,n.component,n)}(o.value),a=o.children.map(l=>ro(n,l));return new ca(t,a)}}function da(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function As(n){return"object"==typeof n&&null!=n&&n.outlets}function so(n,o,e,t,a){let l={};return t&&Gi(t,(d,s)=>{l[s]=Array.isArray(d)?d.map(r=>`${r}`):`${d}`}),new ys(e.root===n?o:xf(e.root,n,o),l,a)}function xf(n,o,e){const t={};return Gi(n.children,(a,l)=>{t[l]=a===o?e:xf(a,o,e)}),new It(n.segments,t)}class Id{constructor(o,e,t){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=t,o&&t.length>0&&da(t[0]))throw new Error("Root segment cannot have matrix parameters");const a=t.find(As);if(a&&a!==cr(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sc{constructor(o,e,t){this.segmentGroup=o,this.processChildren=e,this.index=t}}function ua(n,o,e){if(n||(n=new It([],{})),0===n.segments.length&&n.hasChildren())return Rr(n,o,e);const t=function hl(n,o,e){let t=0,a=o;const l={match:!1,pathIndex:0,commandIndex:0};for(;a=e.length)return l;const d=n.segments[a],s=e[t];if(As(s))break;const r=`${s}`,c=t0&&void 0===r)break;if(r&&c&&"object"==typeof c&&void 0===c.outlets){if(!Bd(r,c,d))return l;t+=2}else{if(!Bd(r,{},d))return l;t++}a++}return{match:!0,pathIndex:a,commandIndex:t}}(n,o,e),a=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(a[d]=ua(n.children[d],o,l))}),Gi(n.children,(l,d)=>{void 0===t[d]&&(a[d]=l)}),new It(n.segments,a)}}function Na(n,o,e){const t=n.segments.slice(0,o);let a=0;for(;a{"string"==typeof e&&(e=[e]),null!==e&&(o[t]=Na(new It([],{}),0,e))}),o}function Ec(n){const o={};return Gi(n,(e,t)=>o[t]=`${e}`),o}function Bd(n,o,e){return n==e.path&&si(o,e.parameters)}class Mf{constructor(o,e,t,a){this.routeReuseStrategy=o,this.futureState=e,this.currState=t,this.forwardEvent=a}activate(o){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,o),xc(this.futureState.root),this.activateChildRoutes(e,t,o)}deactivateChildRoutes(o,e,t){const a=En(e);o.children.forEach(l=>{const d=l.value.outlet;this.deactivateRoutes(l,a[d],t),delete a[d]}),Gi(a,(l,d)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(o,e,t){const a=o.value,l=e?e.value:null;if(a===l)if(a.component){const d=t.getContext(a.outlet);d&&this.deactivateChildRoutes(o,e,d.children)}else this.deactivateChildRoutes(o,e,t);else l&&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),a=t&&o.value.component?t.children:e,l=En(o);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],a);if(t&&t.outlet){const d=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:d,route:o,contexts:s})}}deactivateRouteAndOutlet(o,e){const t=e.getContext(o.value.outlet),a=t&&o.value.component?t.children:e,l=En(o);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],a);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(o,e,t){const a=En(e);o.children.forEach(l=>{this.activateRoutes(l,a[l.value.outlet],t),this.forwardEvent(new gs(l.value.snapshot))}),o.children.length&&this.forwardEvent(new lr(o.value.snapshot))}activateRoutes(o,e,t){const a=o.value,l=e?e.value:null;if(xc(a),a===l)if(a.component){const d=t.getOrCreateContext(a.outlet);this.activateChildRoutes(o,e,d.children)}else this.activateChildRoutes(o,e,t);else if(a.component){const d=t.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){const s=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),d.children.onOutletReAttached(s.contexts),d.attachRef=s.componentRef,d.route=s.route.value,d.outlet&&d.outlet.attach(s.componentRef,s.route.value),xc(s.route.value),this.activateChildRoutes(o,null,d.children)}else{const s=function Sf(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}(a.snapshot),r=s?s.module.componentFactoryResolver:null;d.attachRef=null,d.route=a,d.resolver=r,d.outlet&&d.outlet.activateWith(a,r),this.activateChildRoutes(o,null,d.children)}}else this.activateChildRoutes(o,null,t)}}class co{constructor(o,e){this.routes=o,this.module=e}}function tr(n){return"function"==typeof n}function Ya(n){return n instanceof ys}const vs=Symbol("INITIAL_VALUE");function Lr(){return(0,qi.w)(n=>(0,Ws.a)(n.map(o=>o.pipe((0,Yt.q)(1),Jt(vs)))).pipe(Ko((o,e)=>{let t=!1;return e.reduce((a,l,d)=>a!==vs?a:(l===vs&&(t=!0),t||!1!==l&&d!==e.length-1&&!Ya(l)?a:l),o)},vs),(0,Gt.h)(o=>o!==vs),(0,ft.U)(o=>Ya(o)?o:!0===o),(0,Yt.q)(1)))}class ho{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ir,this.attachRef=null}}class Ir{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 ho,this.contexts.set(o,e)),e}getContext(o){return this.contexts.get(o)||null}}let pl=(()=>{class n{constructor(e,t,a,l,d){this.parentContexts=e,this.location=t,this.resolver=a,this.changeDetector=d,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=l||Mt,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 d=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,r=new jd(e,s,this.location.injector);this.activated=this.location.createComponent(d,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ir),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 jd{constructor(o,e,t){this.route=o,this.childContexts=e,this.parent=t}get(o,e){return o===fn?this.route:o===Ir?this.childContexts:this.parent.get(o,e)}}let Ts=(()=>{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:[pl],encapsulation:2}),n})();function Df(n,o=""){for(let e=0;eur(t)===o);return e.push(...n.filter(t=>ur(t)!==o)),e}const Pf={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ml(n,o,e){var t;if(""===o.path)return"full"===o.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},Pf):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(o.matcher||Ut)(e,n,o);if(!l)return Object.assign({},Pf);const d={};Gi(l.posParams,(r,c)=>{d[c]=r.path});const s=l.consumed.length>0?Object.assign(Object.assign({},d),l.consumed[l.consumed.length-1].parameters):d;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:s,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function po(n,o,e,t,a="corrected"){if(e.length>0&&function p_(n,o,e){return e.some(t=>fo(n,o,t)&&ur(t)!==Mt)}(n,e,t)){const d=new It(o,function gl(n,o,e,t){const a={};a[Mt]=t,t._sourceSegment=n,t._segmentIndexShift=o.length;for(const l of e)if(""===l.path&&ur(l)!==Mt){const d=new It([],{});d._sourceSegment=n,d._segmentIndexShift=o.length,a[ur(l)]=d}return a}(n,o,t,new It(e,n.children)));return d._sourceSegment=n,d._segmentIndexShift=o.length,{segmentGroup:d,slicedSegments:[]}}if(0===e.length&&function Wi(n,o,e){return e.some(t=>fo(n,o,t))}(n,e,t)){const d=new It(n.segments,function h_(n,o,e,t,a,l){const d={};for(const s of t)if(fo(n,e,s)&&!a[ur(s)]){const r=new It([],{});r._sourceSegment=n,r._segmentIndexShift="legacy"===l?n.segments.length:o.length,d[ur(s)]=r}return Object.assign(Object.assign({},a),d)}(n,o,e,t,n.children,a));return d._sourceSegment=n,d._segmentIndexShift=o.length,{segmentGroup:d,slicedSegments:e}}const l=new It(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=o.length,{segmentGroup:l,slicedSegments:e}}function fo(n,o,e){return(!(n.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}function mo(n,o,e,t){return!!(ur(n)===t||t!==Mt&&fo(o,e,n))&&("**"===n.path||ml(o,n,e).matched)}function lh(n,o,e){return 0===o.length&&!n.children[e]}class _l{constructor(o){this.segmentGroup=o||null}}class zn{constructor(o){this.urlTree=o}}function Dn(n){return new Bi.y(o=>o.error(new _l(n)))}function Fd(n){return new Bi.y(o=>o.error(new zn(n)))}function Dc(n){return new Bi.y(o=>o.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class ch{constructor(o,e,t,a,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=a,this.config=l,this.allowRedirects=!0,this.ngModule=o.get(i.h0i)}apply(){const o=po(this.urlTree.root,[],[],this.config).segmentGroup,e=new It(o.segments,o.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Mt).pipe((0,ft.U)(l=>this.createUrlTree(dh(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yn.K)(l=>{if(l instanceof zn)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof _l?this.noMatchError(l):l}))}match(o){return this.expandSegmentGroup(this.ngModule,this.config,o.root,Mt).pipe((0,ft.U)(a=>this.createUrlTree(dh(a),o.queryParams,o.fragment))).pipe((0,Yn.K)(a=>{throw a instanceof _l?this.noMatchError(a):a}))}noMatchError(o){return new Error(`Cannot match any routes. URL Segment: '${o.segmentGroup}'`)}createUrlTree(o,e,t){const a=o.segments.length>0?new It([],{[Mt]:o}):o;return new ys(a,e,t)}expandSegmentGroup(o,e,t,a){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(o,e,t).pipe((0,ft.U)(l=>new It([],l))):this.expandSegment(o,t,e,t.segments,a,!0)}expandChildren(o,e,t){const a=[];for(const l of Object.keys(t.children))"primary"===l?a.unshift(l):a.push(l);return(0,xn.D)(a).pipe((0,Hr.b)(l=>{const d=t.children[l],s=kf(e,l);return this.expandSegmentGroup(o,s,d,l).pipe((0,ft.U)(r=>({segment:r,outlet:l})))}),Ko((l,d)=>(l[d.outlet]=d.segment,l),{}),function $s(n,o){const e=arguments.length>=2;return t=>t.pipe(n?(0,Gt.h)((a,l)=>n(a,l,t)):Xo.y,ci(1),e?(0,aa.d)(o):(0,ms.T)(()=>new Zs.K))}())}expandSegment(o,e,t,a,l,d){return(0,xn.D)(t).pipe((0,Hr.b)(s=>this.expandSegmentAgainstRoute(o,e,t,s,a,l,d).pipe((0,Yn.K)(c=>{if(c instanceof _l)return(0,Qe.of)(null);throw c}))),(0,Js.P)(s=>!!s),(0,Yn.K)((s,r)=>{if(s instanceof Zs.K||"EmptyError"===s.name){if(lh(e,a,l))return(0,Qe.of)(new It([],{}));throw new _l(e)}throw s}))}expandSegmentAgainstRoute(o,e,t,a,l,d,s){return mo(a,e,l,d)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(o,e,a,l,d):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d):Dn(e):Dn(e)}expandSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,t,a,d):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,t,a){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Fd(l):this.lineralizeSegments(t,l).pipe((0,Bt.z)(d=>{const s=new It(d,{});return this.expandSegment(o,s,e,d,a,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,t,a,l,d){const{matched:s,consumedSegments:r,lastChild:c,positionalParamSegments:u}=ml(e,a,l);if(!s)return Dn(e);const h=this.applyRedirectCommands(r,a.redirectTo,u);return a.redirectTo.startsWith("/")?Fd(h):this.lineralizeSegments(a,h).pipe((0,Bt.z)(f=>this.expandSegment(o,e,t,f.concat(l.slice(c)),d,!1)))}matchSegmentAgainstRoute(o,e,t,a,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,Qe.of)(t._loadedConfig):this.configLoader.load(o.injector,t)).pipe((0,ft.U)(f=>(t._loadedConfig=f,new It(a,{})))):(0,Qe.of)(new It(a,{}));const{matched:d,consumedSegments:s,lastChild:r}=ml(e,t,a);if(!d)return Dn(e);const c=a.slice(r);return this.getChildConfig(o,t,a).pipe((0,Bt.z)(h=>{const f=h.module,b=h.routes,{segmentGroup:j,slicedSegments:ee}=po(e,s,c,b),pe=new It(j.segments,j.children);if(0===ee.length&&pe.hasChildren())return this.expandChildren(f,b,pe).pipe((0,ft.U)(Wt=>new It(s,Wt)));if(0===b.length&&0===ee.length)return(0,Qe.of)(new It(s,{}));const Ke=ur(t)===l;return this.expandSegment(f,pe,b,ee,Ke?Mt:l,!0).pipe((0,ft.U)(ut=>new It(s.concat(ut.segments),ut.children)))}))}getChildConfig(o,e,t){return e.children?(0,Qe.of)(new co(e.children,o)):e.loadChildren?void 0!==e._loadedConfig?(0,Qe.of)(e._loadedConfig):this.runCanLoadGuards(o.injector,e,t).pipe((0,Bt.z)(a=>a?this.configLoader.load(o.injector,e).pipe((0,ft.U)(l=>(e._loadedConfig=l,l))):function bl(n){return new Bi.y(o=>o.error(Dd(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,Qe.of)(new co([],o))}runCanLoadGuards(o,e,t){const a=e.canLoad;if(!a||0===a.length)return(0,Qe.of)(!0);const l=a.map(d=>{const s=o.get(d);let r;if(function sh(n){return n&&tr(n.canLoad)}(s))r=s.canLoad(e,t);else{if(!tr(s))throw new Error("Invalid CanLoad guard");r=s(e,t)}return kr(r)});return(0,Qe.of)(l).pipe(Lr(),(0,O.b)(d=>{if(!Ya(d))return;const s=Dd(`Redirecting to "${this.urlSerializer.serialize(d)}"`);throw s.url=d,s}),(0,ft.U)(d=>!0===d))}lineralizeSegments(o,e){let t=[],a=e.root;for(;;){if(t=t.concat(a.segments),0===a.numberOfChildren)return(0,Qe.of)(t);if(a.numberOfChildren>1||!a.children[Mt])return Dc(o.redirectTo);a=a.children[Mt]}}applyRedirectCommands(o,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),o,t)}applyRedirectCreatreUrlTree(o,e,t,a){const l=this.createSegmentGroup(o,e.root,t,a);return new ys(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const t={};return Gi(o,(a,l)=>{if("string"==typeof a&&a.startsWith(":")){const s=a.substring(1);t[l]=e[s]}else t[l]=a}),t}createSegmentGroup(o,e,t,a){const l=this.createSegments(o,e.segments,t,a);let d={};return Gi(e.children,(s,r)=>{d[r]=this.createSegmentGroup(o,s,t,a)}),new It(l,d)}createSegments(o,e,t,a){return e.map(l=>l.path.startsWith(":")?this.findPosParam(o,l,a):this.findOrReturn(l,t))}findPosParam(o,e,t){const a=t[e.path.substring(1)];if(!a)throw new Error(`Cannot redirect to '${o}'. Cannot find '${e.path}'.`);return a}findOrReturn(o,e){let t=0;for(const a of e){if(a.path===o.path)return e.splice(t),a;t++}return o}}function dh(n){const o={};for(const t of Object.keys(n.children)){const l=dh(n.children[t]);(l.segments.length>0||l.hasChildren())&&(o[t]=l)}return function Rf(n){if(1===n.numberOfChildren&&n.children[Mt]){const o=n.children[Mt];return new It(n.segments.concat(o.segments),o.children)}return n}(new It(n.segments,o))}class Ve{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class mn{constructor(o,e){this.component=o,this.route=e}}function Nd(n,o,e){const t=n._root;return go(t,o?o._root:null,e,[t.value])}function qt(n,o,e){const t=function yl(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 go(n,o,e,t,a={canDeactivateChecks:[],canActivateChecks:[]}){const l=En(o);return n.children.forEach(d=>{(function Yd(n,o,e,t,a={canDeactivateChecks:[],canActivateChecks:[]}){const l=n.value,d=o?o.value:null,s=e?e.getContext(n.value.outlet):null;if(d&&l.routeConfig===d.routeConfig){const r=function Lf(n,o,e){if("function"==typeof e)return e(n,o);switch(e){case"pathParamsChange":return!Fa(n.url,o.url);case"pathParamsOrQueryParamsChange":return!Fa(n.url,o.url)||!si(n.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dl(n,o)||!si(n.queryParams,o.queryParams);default:return!dl(n,o)}}(d,l,l.routeConfig.runGuardsAndResolvers);r?a.canActivateChecks.push(new Ve(t)):(l.data=d.data,l._resolvedData=d._resolvedData),go(n,o,l.component?s?s.children:null:e,t,a),r&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new mn(s.outlet.component,d))}else d&&Cl(o,s,a),a.canActivateChecks.push(new Ve(t)),go(n,null,l.component?s?s.children:null:e,t,a)})(d,l[d.value.outlet],e,t.concat([d.value]),a),delete l[d.value.outlet]}),Gi(l,(d,s)=>Cl(d,e.getContext(s),a)),a}function Cl(n,o,e){const t=En(n),a=n.value;Gi(t,(l,d)=>{Cl(l,a.component?o?o.children.getContext(d):null:o,e)}),e.canDeactivateChecks.push(new mn(a.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,a))}class hh{}function ph(n){return new Bi.y(o=>o.error(n))}class kc{constructor(o,e,t,a,l,d){this.rootComponentType=o,this.config=e,this.urlTree=t,this.url=a,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=d}recognize(){const o=po(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,o,Mt);if(null===e)return null;const t=new Tc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Mt,this.rootComponentType,null,this.urlTree.root,-1,{}),a=new ca(t,e),l=new vf(this.url,a);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(o){const e=o.value,t=vc(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),o.children.forEach(a=>this.inheritParamsAndData(a))}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 l of Object.keys(e.children)){const d=e.children[l],s=kf(o,l),r=this.processSegmentGroup(s,d,l);if(null===r)return null;t.push(...r)}const a=mh(t);return function Of(n){n.sort((o,e)=>o.value.outlet===Mt?-1:e.value.outlet===Mt?1:o.value.outlet.localeCompare(e.value.outlet))}(a),a}processSegment(o,e,t,a){for(const l of o){const d=this.processSegmentAgainstRoute(l,e,t,a);if(null!==d)return d}return lh(e,t,a)?[]:null}processSegmentAgainstRoute(o,e,t,a){if(o.redirectTo||!mo(o,e,t,a))return null;let l,d=[],s=[];if("**"===o.path){const b=t.length>0?cr(t).parameters:{};l=new Tc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Pc(o),ur(o),o.component,o,qd(e),gh(e)+t.length,bo(o))}else{const b=ml(e,o,t);if(!b.matched)return null;d=b.consumedSegments,s=t.slice(b.lastChild),l=new Tc(d,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Pc(o),ur(o),o.component,o,qd(e),gh(e)+d.length,bo(o))}const r=function wl(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(o),{segmentGroup:c,slicedSegments:u}=po(e,d,s,r.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const b=this.processChildren(r,c);return null===b?null:[new ca(l,b)]}if(0===r.length&&0===u.length)return[new ca(l,[])];const h=ur(o)===a,f=this.processSegment(r,c,u,h?Mt:a);return null===f?null:[new ca(l,f)]}}function Or(n){const o=n.value.routeConfig;return o&&""===o.path&&void 0===o.redirectTo}function mh(n){const o=[],e=new Set;for(const t of n){if(!Or(t)){o.push(t);continue}const a=o.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==a?(a.children.push(...t.children),e.add(a)):o.push(t)}for(const t of e){const a=mh(t.children);o.push(new ca(t.value,a))}return o.filter(t=>!e.has(t))}function qd(n){let o=n;for(;o._sourceSegment;)o=o._sourceSegment;return o}function gh(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 Pc(n){return n.data||{}}function bo(n){return n.resolve||{}}function za(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function qa(n){return(0,qi.w)(o=>{const e=n(o);return e?(0,xn.D)(e).pipe((0,ft.U)(()=>o)):(0,Qe.of)(o)})}class Gd extends class _h{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}{}const yo=new i.OlP("ROUTES");class Wd{constructor(o,e,t,a){this.injector=o,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=a}load(o,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const a=this.loadModuleFactory(e.loadChildren).pipe((0,ft.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const d=l.create(o);return new co(Qs(d.injector.get(yo,void 0,i.XFs.Self|i.XFs.Optional)).map(fl),d)}),(0,Yn.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new mc(a,()=>new Pe.x).pipe(fc()),e._loader$}loadModuleFactory(o){return kr(o()).pipe((0,Bt.z)(e=>e instanceof i.YKP?(0,Qe.of)(e):(0,xn.D)(this.compiler.compileModuleAsync(e))))}}class Yf{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,e){return o}}function Hn(n){throw n}function Br(n,o,e){return o.parse("/")}function bh(n,o){return(0,Qe.of)(null)}const g_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yh={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hi=(()=>{class n{constructor(e,t,a,l,d,s,r){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=a,this.location=l,this.config=r,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Pe.x,this.errorHandler=Hn,this.malformedUriErrorHandler=Br,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bh,afterPreactivation:bh},this.urlHandlingStrategy=new Yf,this.routeReuseStrategy=new Gd,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=d.get(i.h0i),this.console=d.get(i.c2e);const h=d.get(i.R0b);this.isNgZoneEnabled=h instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(r),this.currentUrlTree=function fi(){return new ys(new It([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Wd(d,s,f=>this.triggerEvent(new di(f)),f=>this.triggerEvent(new pi(f))),this.routerState=th(this.currentUrlTree,this.rootComponentType),this.transitions=new Ki({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,Gt.h)(a=>0!==a.id),(0,ft.U)(a=>Object.assign(Object.assign({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),(0,qi.w)(a=>{let l=!1,d=!1;return(0,Qe.of)(a).pipe((0,O.b)(s=>{this.currentNavigation={id:s.id,initialUrl:s.currentRawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,qi.w)(s=>{const r=this.browserUrlTree.toString(),c=!this.navigated||s.extractedUrl.toString()!==r||r!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Co(s.source)&&(this.browserUrlTree=s.extractedUrl),(0,Qe.of)(s).pipe((0,qi.w)(h=>{const f=this.transitions.getValue();return t.next(new ne(h.id,this.serializeUrl(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions.getValue()?rn.E:Promise.resolve(h)}),function f_(n,o,e,t){return(0,qi.w)(a=>function ha(n,o,e,t,a){return new ch(n,o,e,t,a).apply()}(n,o,e,a.extractedUrl,t).pipe((0,ft.U)(l=>Object.assign(Object.assign({},a),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,O.b)(h=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:h.urlAfterRedirects})}),function Bf(n,o,e,t,a){return(0,Bt.z)(l=>function fh(n,o,e,t,a="emptyOnly",l="legacy"){try{const d=new kc(n,o,e,t,a,l).recognize();return null===d?ph(new hh):(0,Qe.of)(d)}catch(d){return ph(d)}}(n,o,l.urlAfterRedirects,e(l.urlAfterRedirects),t,a).pipe((0,ft.U)(d=>Object.assign(Object.assign({},l),{targetSnapshot:d}))))}(this.rootComponentType,this.config,h=>this.serializeUrl(h),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,O.b)(h=>{if("eager"===this.urlUpdateStrategy){if(!h.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl);this.setBrowserUrl(b,h)}this.browserUrlTree=h.urlAfterRedirects}const f=new ai(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);t.next(f)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:j,restoredState:ee,extras:pe}=s,Ke=new ne(f,this.serializeUrl(b),j,ee);t.next(Ke);const Dt=th(b,this.rootComponentType).snapshot;return(0,Qe.of)(Object.assign(Object.assign({},s),{targetSnapshot:Dt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},pe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=s.rawUrl,s.resolve(null),rn.E}),qa(s=>{const{targetSnapshot:r,id:c,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.beforePreactivation(r,{navigationId:c,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,O.b)(s=>{const r=new $t(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(r)}),(0,ft.U)(s=>Object.assign(Object.assign({},s),{guards:Nd(s.targetSnapshot,s.currentSnapshot,this.rootContexts)})),function If(n,o){return(0,Bt.z)(e=>{const{targetSnapshot:t,currentSnapshot:a,guards:{canActivateChecks:l,canDeactivateChecks:d}}=e;return 0===d.length&&0===l.length?(0,Qe.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function uh(n,o,e,t){return(0,xn.D)(n).pipe((0,Bt.z)(a=>function Hc(n,o,e,t,a){const l=o&&o.routeConfig?o.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,Qe.of)(!0);const d=l.map(s=>{const r=qt(s,o,a);let c;if(function Vd(n){return n&&tr(n.canDeactivate)}(r))c=kr(r.canDeactivate(n,o,e,t));else{if(!tr(r))throw new Error("Invalid CanDeactivate guard");c=kr(r(n,o,e,t))}return c.pipe((0,Js.P)())});return(0,Qe.of)(d).pipe(Lr())}(a.component,a.route,e,o,t)),(0,Js.P)(a=>!0!==a,!0))}(d,t,a,n).pipe((0,Bt.z)(s=>s&&function Ef(n){return"boolean"==typeof n}(s)?function zd(n,o,e,t){return(0,xn.D)(o).pipe((0,Hr.b)(a=>(0,us.z)(function m_(n,o){return null!==n&&o&&o(new sa(n)),(0,Qe.of)(!0)}(a.route.parent,t),function ir(n,o){return null!==n&&o&&o(new dt(n)),(0,Qe.of)(!0)}(a.route,t),function Ud(n,o,e){const t=o[o.length-1],l=o.slice(0,o.length-1).reverse().map(d=>function xs(n){const o=n.routeConfig?n.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:n,guards:o}:null}(d)).filter(d=>null!==d).map(d=>ps(()=>{const s=d.guards.map(r=>{const c=qt(r,d.node,e);let u;if(function oh(n){return n&&tr(n.canActivateChild)}(c))u=kr(c.canActivateChild(t,n));else{if(!tr(c))throw new Error("Invalid CanActivateChild guard");u=kr(c(t,n))}return u.pipe((0,Js.P)())});return(0,Qe.of)(s).pipe(Lr())}));return(0,Qe.of)(l).pipe(Lr())}(n,a.path,e),function _o(n,o,e){const t=o.routeConfig?o.routeConfig.canActivate:null;if(!t||0===t.length)return(0,Qe.of)(!0);const a=t.map(l=>ps(()=>{const d=qt(l,o,e);let s;if(function uo(n){return n&&tr(n.canActivate)}(d))s=kr(d.canActivate(o,n));else{if(!tr(d))throw new Error("Invalid CanActivate guard");s=kr(d(o,n))}return s.pipe((0,Js.P)())}));return(0,Qe.of)(a).pipe(Lr())}(n,a.route,e))),(0,Js.P)(a=>!0!==a,!0))}(t,l,n,o):(0,Qe.of)(s)),(0,ft.U)(s=>Object.assign(Object.assign({},e),{guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),(0,O.b)(s=>{if(Ya(s.guardsResult)){const c=Dd(`Redirecting to "${this.serializeUrl(s.guardsResult)}"`);throw c.url=s.guardsResult,c}const r=new kt(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(r)}),(0,Gt.h)(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,""),!1)),qa(s=>{if(s.guards.canActivateChecks.length)return(0,Qe.of)(s).pipe((0,O.b)(r=>{const c=new Vt(r.id,this.serializeUrl(r.extractedUrl),this.serializeUrl(r.urlAfterRedirects),r.targetSnapshot);this.triggerEvent(c)}),(0,qi.w)(r=>{let c=!1;return(0,Qe.of)(r).pipe(function Vf(n,o){return(0,Bt.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:a}}=e;if(!a.length)return(0,Qe.of)(e);let l=0;return(0,xn.D)(a).pipe((0,Hr.b)(d=>function jf(n,o,e,t){return function Al(n,o,e,t){const a=za(n);if(0===a.length)return(0,Qe.of)({});const l={};return(0,xn.D)(a).pipe((0,Bt.z)(d=>function Ua(n,o,e,t){const a=qt(n,o,t);return kr(a.resolve?a.resolve(o,e):a(o,e))}(n[d],o,e,t).pipe((0,O.b)(s=>{l[d]=s}))),ci(1),(0,Bt.z)(()=>za(l).length===a.length?(0,Qe.of)(l):rn.E))}(n._resolve,n,o,t).pipe((0,ft.U)(l=>(n._resolvedData=l,n.data=Object.assign(Object.assign({},n.data),vc(n,e).resolve),null)))}(d.route,t,n,o)),(0,O.b)(()=>l++),ci(1),(0,Bt.z)(d=>l===a.length?(0,Qe.of)(e):rn.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,O.b)({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(r),this.cancelNavigationTransition(r,"At least one route resolver didn't emit any value."))}}))}),(0,O.b)(r=>{const c=new Vi(r.id,this.serializeUrl(r.extractedUrl),this.serializeUrl(r.urlAfterRedirects),r.targetSnapshot);this.triggerEvent(c)}))}),qa(s=>{const{targetSnapshot:r,id:c,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.afterPreactivation(r,{navigationId:c,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,ft.U)(s=>{const r=function Mc(n,o,e){const t=ro(n,o._root,e?e._root:void 0);return new no(t,o)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return Object.assign(Object.assign({},s),{targetRouterState:r})}),(0,O.b)(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((n,o,e)=>(0,ft.U)(t=>(new Mf(o,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),(0,O.b)({next(){l=!0},complete(){l=!0}}),G(()=>{var s;l||d||this.cancelNavigationTransition(a,`Navigation ID ${a.id} is not equal to the current navigation id ${this.navigationId}`),(null===(s=this.currentNavigation)||void 0===s?void 0:s.id)===a.id&&(this.currentNavigation=null)}),(0,Yn.K)(s=>{if(d=!0,function De(n){return n&&n[bs]}(s)){const r=Ya(s.url);r||(this.navigated=!0,this.restoreHistory(a,!0));const c=new Te(a.id,this.serializeUrl(a.extractedUrl),s.message);t.next(c),r?setTimeout(()=>{const u=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),h={skipLocationChange:a.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Co(a.source)};this.scheduleNavigation(u,"imperative",null,h,{resolve:a.resolve,reject:a.reject,promise:a.promise})},0):a.resolve(!1)}else{this.restoreHistory(a,!0);const r=new rt(a.id,this.serializeUrl(a.extractedUrl),s);t.next(r);try{a.resolve(this.errorHandler(s))}catch(c){a.reject(c)}}return rn.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 a;const l={replaceUrl:!0},d=(null===(a=e.state)||void 0===a?void 0:a.navigationId)?e.state:null;if(d){const r=Object.assign({},d);delete r.navigationId,delete r.\u0275routerPageId,0!==Object.keys(r).length&&(l.state=r)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,t,d,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Df(e),this.config=e.map(fl),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:a,queryParams:l,fragment:d,queryParamsHandling:s,preserveFragment:r}=t,c=a||this.routerState.root,u=r?this.currentUrlTree.fragment:d;let h=null;switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=l||null}return null!==h&&(h=this.removeEmptyProps(h)),function Tf(n,o,e,t,a){if(0===e.length)return so(o.root,o.root,o,t,a);const l=function nh(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Id(!0,0,n);let o=0,e=!1;const t=n.reduce((a,l,d)=>{if("object"==typeof l&&null!=l){if(l.outlets){const s={};return Gi(l.outlets,(r,c)=>{s[c]="string"==typeof r?r.split("/"):r}),[...a,{outlets:s}]}if(l.segmentPath)return[...a,l.segmentPath]}return"string"!=typeof l?[...a,l]:0===d?(l.split("/").forEach((s,r)=>{0==r&&"."===s||(0==r&&""===s?e=!0:".."===s?o++:""!=s&&a.push(s))}),a):[...a,l]},[]);return new Id(e,o,t)}(e);if(l.toRoot())return so(o.root,new It([],{}),o,t,a);const d=function rh(n,o,e){if(n.isAbsolute)return new Sc(o.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new Sc(l,l===o.root,0)}const t=da(n.commands[0])?0:1;return function oo(n,o,e){let t=n,a=o,l=e;for(;l>a;){if(l-=a,t=t.parent,!t)throw new Error("Invalid number of '../'");a=t.segments.length}return new Sc(t,!1,a-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(l,o,n),s=d.processChildren?Rr(d.segmentGroup,d.index,l.commands):ua(d.segmentGroup,d.index,l.commands);return so(d.segmentGroup,s,o,t,a)}(c,this.currentUrlTree,e,h,null!=u?u:null)}navigateByUrl(e,t={skipLocationChange:!1}){const a=Ya(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function __(n){for(let o=0;o{const l=e[a];return null!=l&&(t[a]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new _e(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,a,l,d){var s,r,c;if(this.disposed)return Promise.resolve(!1);const u=this.transitions.value,h=Co(t)&&u&&!Co(u.source),f=u.rawUrl.toString()===e.toString(),b=u.id===(null===(s=this.currentNavigation)||void 0===s?void 0:s.id);if(h&&f&&b)return Promise.resolve(!0);let ee,pe,Ke;d?(ee=d.resolve,pe=d.reject,Ke=d.promise):Ke=new Promise((Wt,ka)=>{ee=Wt,pe=ka});const Dt=++this.navigationId;let ut;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(a=this.location.getState()),ut=a&&a.\u0275routerPageId?a.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(c=this.browserPageId)&&void 0!==c?c:0)+1):ut=0,this.setTransition({id:Dt,targetPageId:ut,source:t,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:ee,reject:pe,promise:Ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ke.catch(Wt=>Promise.reject(Wt))}setBrowserUrl(e,t){const a=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(a)||t.extras.replaceUrl?this.location.replaceState(a,"",l):this.location.go(a,"",l)}restoreHistory(e,t=!1){var a,l;if("computed"===this.canceledNavigationResolution){const d=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(a=this.currentNavigation)||void 0===a?void 0:a.finalUrl)||0===d?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===d&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(d)}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 a=new Te(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(a),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 Co(n){return"imperative"!==n}let nr=(()=>{class n{constructor(e,t,a,l,d){this.router=e,this.route=t,this.tabIndexAttribute=a,this.renderer=l,this.el=d,this.commands=null,this.onChanges=new Pe.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,a=this.el.nativeElement;null!==e?t.setAttribute(a,"tabindex",e):t.removeAttribute(a,"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:St(this.skipLocationChange),replaceUrl:St(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:St(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hi),i.Y36(fn),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})(),Ms=(()=>{class n{constructor(e,t,a){this.router=e,this.route=t,this.locationStrategy=a,this.commands=null,this.href=null,this.onChanges=new Pe.x,this.subscription=e.events.subscribe(l=>{l instanceof _e&&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,a,l,d){if(0!==e||t||a||l||d||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const s={skipLocationChange:St(this.skipLocationChange),replaceUrl:St(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!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:St(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Hi),i.Y36(fn),i.Y36(T.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.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 St(n){return""===n||!!n}class I{}class W{preload(o,e){return(0,Qe.of)(null)}}let se=(()=>{class n{constructor(e,t,a,l){this.router=e,this.injector=a,this.preloadingStrategy=l,this.loader=new Wd(a,t,r=>e.triggerEvent(new di(r)),r=>e.triggerEvent(new pi(r)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Gt.h)(e=>e instanceof _e),(0,Hr.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 a=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const d=l._loadedConfig;a.push(this.processRoutes(d.module,d.routes))}else l.loadChildren&&!l.canLoad?a.push(this.preloadConfig(e,l)):l.children&&a.push(this.processRoutes(e,l.children));return(0,xn.D)(a).pipe((0,B.J)(),(0,ft.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,Qe.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Bt.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Hi),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(I))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),be=(()=>{class n{constructor(e,t,a={}){this.router=e,this.viewportScroller=t,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 ne?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _e&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof el&&(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 el(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 gt=new i.OlP("ROUTER_CONFIGURATION"),Qt=new i.OlP("ROUTER_FORROOT_GUARD"),ki=[T.Ye,{provide:Ku,useClass:al},{provide:Hi,useFactory:function Rc(n,o,e,t,a,l,d={},s,r){const c=new Hi(null,n,o,e,t,a,Qs(l));return s&&(c.urlHandlingStrategy=s),r&&(c.routeReuseStrategy=r),function b_(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)}(d,c),d.enableTracing&&c.events.subscribe(u=>{var h,f;null===(h=console.group)||void 0===h||h.call(console,`Router Event: ${u.constructor.name}`),console.log(u.toString()),console.log(u),null===(f=console.groupEnd)||void 0===f||f.call(console)}),c},deps:[Ku,Ir,T.Ye,i.zs3,i.Sil,yo,gt,[class Nf{},new i.FiY],[class Ff{},new i.FiY]]},Ir,{provide:fn,useFactory:function Ow(n){return n.routerState.root},deps:[Hi]},se,W,class F{preload(o,e){return e().pipe((0,Yn.K)(()=>(0,Qe.of)(null)))}},{provide:gt,useValue:{enableTracing:!1}}];function pa(){return new i.PXZ("Router",Hi)}let hr=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[ki,Ga(e),{provide:Qt,useFactory:Iw,deps:[[Hi,new i.FiY,new i.tp0]]},{provide:gt,useValue:t||{}},{provide:T.S$,useFactory:Lw,deps:[T.lw,[new i.tBr(T.mr),new i.FiY],gt]},{provide:be,useFactory:Rw,deps:[Hi,T.EM,gt]},{provide:I,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:W},{provide:i.PXZ,multi:!0,useFactory:pa},[zf,{provide:i.ip1,multi:!0,useFactory:Bw,deps:[zf]},{provide:y_,useFactory:Vw,deps:[zf]},{provide:i.tb,multi:!0,useExisting:y_}]]}}static forChild(e){return{ngModule:n,providers:[Ga(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Qt,8),i.LFG(Hi,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function Rw(n,o,e){return e.scrollOffset&&o.setOffset(e.scrollOffset),new be(n,o,e)}function Lw(n,o,e={}){return e.useHash?new T.Do(n,o):new T.b0(n,o)}function Iw(n){return"guarded"}function Ga(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:yo,multi:!0,useValue:n}]}let zf=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Pe.x}appInitializer(){return this.injector.get(T.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const a=new Promise(s=>t=s),l=this.injector.get(Hi),d=this.injector.get(gt);return"disabled"===d.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===d.initialNavigation||"enabledBlocking"===d.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,Qe.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),a})}bootstrapListener(e){const t=this.injector.get(gt),a=this.injector.get(se),l=this.injector.get(be),d=this.injector.get(Hi),s=this.injector.get(i.z2F);e===s.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&d.initialNavigation(),a.setUpPreloading(),l.init(),d.resetRootComponentType(s.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 Bw(n){return n.appInitializer.bind(n)}function Vw(n){return n.bootstrapListener.bind(n)}const y_=new i.OlP("Router Initializer"),jw=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function Fw(){return(0,i.f3M)(T.K0)}}),Nw=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Tl,Mi=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const a=e.documentElement?e.documentElement.dir:null;this.value=function u0(n){const o=(null==n?void 0:n.toLowerCase())||"";return"auto"===o&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?Nw.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||a||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(jw,8))},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})();try{Tl="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Tl=!1}let xl,gi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,T.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&&!Tl)&&"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})();const zw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Uw(){if(xl)return xl;if("object"!=typeof document||!document)return xl=new Set(zw),xl;let n=document.createElement("input");return xl=new Set(zw.filter(o=>(n.setAttribute("type",o),n.type===o))),xl}let wh,Lc,Ic,qf;function Vr(n){return function Uf(){if(null==wh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>wh=!0}))}finally{wh=wh||!1}return wh}()?n:!!n.capture}function qw(){if(null==Ic){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ic=!1,Ic;if("scrollBehavior"in document.documentElement.style)Ic=!0;else{const n=Element.prototype.scrollTo;Ic=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ic}function Oc(){if("object"!=typeof document||!document)return 0;if(null==Lc){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),Lc=0,0===n.scrollLeft&&(n.scrollLeft=1,Lc=0===n.scrollLeft?1:2),n.remove()}return Lc}function Ah(n){if(function Gw(){if(null==qf){const n="undefined"!=typeof document?document.head:null;qf=!(!n||!n.createShadowRoot&&!n.attachShadow)}return qf}()){const o=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}function Bc(){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 jr(n){return n.composedPath?n.composedPath()[0]:n.target}function Vc(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function on(n,...o){return o.length?o.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Kd=x(8372);function pr(n){return(0,Gt.h)((o,e)=>n<=e)}function El(n,o=Xo.y){return n=null!=n?n:F_,(0,hn.e)((e,t)=>{let a,l=!0;e.subscribe((0,yn.x)(t,d=>{const s=o(d);(l||!n(a,s))&&(l=!1,a=s,t.next(d))}))})}function F_(n,o){return n===o}var xA=x(5032);function nt(n){return(0,hn.e)((o,e)=>{(0,hs.Xf)(n).subscribe((0,yn.x)(e,()=>e.complete(),xA.Z)),!e.closed&&o.subscribe(e)})}function We(n){return null!=n&&"false"!=`${n}`}function Fi(n,o=0){return Kf(n)?Number(n):o}function Kf(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Mh(n){return Array.isArray(n)?n:[n]}function en(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Zi(n){return n instanceof i.SBq?n.nativeElement:n}let Xf=(()=>{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})(),N_=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Zi(e);return new Bi.y(a=>{const d=this._observeElement(t).subscribe(a);return()=>{d.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Pe.x,a=this._mutationObserverFactory.create(l=>t.next(l));a&&a.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:a,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:a}=this._observedElements.get(e);t&&t.disconnect(),a.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xf))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xd=(()=>{class n{constructor(e,t,a){this._contentObserver=e,this._elementRef=t,this._ngZone=a,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=We(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Fi(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,Kd.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(N_),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})(),Ao=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Xf]}),n})();function Fc(n,o){return(n.getAttribute(o)||"").match(/\S+/g)||[]}const Sh="cdk-describedby-message",eu="cdk-describedby-host";let Eh=0,SA=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Eh++,this._document=e}describe(e,t,a){if(!this._canBeDescribed(e,t))return;const l=Dh(t,a);"string"!=typeof t?(EA(t),this._messageRegistry.set(l,{messageElement:t,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(t,a),this._isElementDescribedByMessage(e,l)||this._addMessageReference(e,l)}removeDescription(e,t,a){var l;if(!t||!this._isElementNode(e))return;const d=Dh(t,a);if(this._isElementDescribedByMessage(e,d)&&this._removeMessageReference(e,d),"string"==typeof t){const s=this._messageRegistry.get(d);s&&0===s.referenceCount&&this._deleteMessageElement(d)}0===(null===(l=this._messagesContainer)||void 0===l?void 0:l.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${eu}="${this._id}"]`);for(let a=0;a0!=a.indexOf(Sh));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const a=this._messageRegistry.get(t);(function Y_(n,o,e){const t=Fc(n,o);t.some(a=>a.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(o,t.join(" ")))})(e,"aria-describedby",a.messageElement.id),e.setAttribute(eu,this._id),a.referenceCount++}_removeMessageReference(e,t){const a=this._messageRegistry.get(t);a.referenceCount--,function MA(n,o,e){const a=Fc(n,o).filter(l=>l!=e.trim());a.length?n.setAttribute(o,a.join(" ")):n.removeAttribute(o)}(e,"aria-describedby",a.messageElement.id),e.removeAttribute(eu)}_isElementDescribedByMessage(e,t){const a=Fc(e,"aria-describedby"),l=this._messageRegistry.get(t),d=l&&l.messageElement.id;return!!d&&-1!=a.indexOf(d)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const a=null==t?"":`${t}`.trim(),l=e.getAttribute("aria-label");return!(!a||l&&l.trim()===a)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Dh(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function EA(n){n.id||(n.id=`${Sh}-${Eh++}`)}class tu{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Pe.x,this._typeaheadSubscription=Rt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Pe.x,this.change=new Pe.x,o instanceof i.n_E&&o.changes.subscribe(e=>{if(this._activeItem){const a=e.toArray().indexOf(this._activeItem);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a)}})}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,O.b)(e=>this._pressedLetters.push(e)),(0,Kd.b)(o),(0,Gt.h)(()=>this._pressedLetters.length>0),(0,ft.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let a=1;a!o[l]||this._allowedModifierKeys.indexOf(l)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&a){this.setNextItemActive();break}return;case 38:if(this._vertical&&a){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&a){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&a){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&a){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&a){this.setLastItemActive();break}return;default:return void((a||on(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),a=e[t];this._activeItem=null==a?null:a,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 a=(this._activeItemIndex+o*t+e.length)%e.length;if(!this._skipPredicateFn(e[a]))return void this.setActiveItem(a)}}_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 Hh extends tu{setActiveItem(o){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(o),this.activeItem&&this.activeItem.setActiveStyles()}}class To extends tu{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 iu=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function DA(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 Z0(n){try{return n.frameElement}catch(o){return null}}(function LA(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===RA(t)||!this.isVisible(t)))return!1;let a=e.nodeName.toLowerCase(),l=RA(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===a||"object"===a||this._platform.WEBKIT&&this._platform.IOS&&!function G_(n){let o=n.nodeName.toLowerCase(),e="input"===o&&n.type;return"text"===e||"password"===e||"select"===o||"textarea"===o}(e))&&("audio"===a?!!e.hasAttribute("controls")&&-1!==l:"video"===a?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function W_(n){return!function kA(n){return function U_(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function HA(n){let o=n.nodeName.toLowerCase();return"input"===o||"select"===o||"button"===o||"textarea"===o}(n)||function PA(n){return function $0(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||q_(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(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function q_(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let o=n.getAttribute("tabindex");return!(!o||isNaN(parseInt(o,10)))}function RA(n){if(!q_(n))return null;const o=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(o)?-1:o}class em{constructor(o,e,t,a,l=!1){this._element=o,this._checker=e,this._ngZone=t,this._document=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||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 a=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(a)return a}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,Yt.q)(1)).subscribe(o)}}let Z_=(()=>{class n{constructor(e,t,a){this._checker=e,this._ngZone=t,this._document=a}create(e,t=!1){return new em(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(iu),i.LFG(i.R0b),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),J0=(()=>{class n{constructor(e,t,a){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=We(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=We(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=Bc(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Z_),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),n})();function tm(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function im(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 Q0=new i.OlP("cdk-input-modality-detector-options"),xo={ignoreKeys:[18,17,224,91,16]},Nc=Vr({passive:!0,capture:!0});let $_=(()=>{class n{constructor(e,t,a,l){this._platform=e,this._mostRecentTarget=null,this._modality=new Ki(null),this._lastTouchMs=0,this._onKeydown=d=>{var s,r;(null===(r=null===(s=this._options)||void 0===s?void 0:s.ignoreKeys)||void 0===r?void 0:r.some(c=>c===d.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=jr(d))},this._onMousedown=d=>{Date.now()-this._lastTouchMs<650||(this._modality.next(tm(d)?"keyboard":"mouse"),this._mostRecentTarget=jr(d))},this._onTouchstart=d=>{im(d)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=jr(d))},this._options=Object.assign(Object.assign({},xo),l),this.modalityDetected=this._modality.pipe(pr(1)),this.modalityChanged=this.modalityDetected.pipe(El()),e.isBrowser&&t.runOutsideAngular(()=>{a.addEventListener("keydown",this._onKeydown,Nc),a.addEventListener("mousedown",this._onMousedown,Nc),a.addEventListener("touchstart",this._onTouchstart,Nc)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Nc),document.removeEventListener("mousedown",this._onMousedown,Nc),document.removeEventListener("touchstart",this._onTouchstart,Nc))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi),i.LFG(i.R0b),i.LFG(T.K0),i.LFG(Q0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nm=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function J_(){return null}}),rm=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let IA=(()=>{class n{constructor(e,t,a,l){this._ngZone=t,this._defaultOptions=l,this._document=a,this._liveElement=e||this._createLiveElement()}announce(e,...t){const a=this._defaultOptions;let l,d;return 1===t.length&&"number"==typeof t[0]?d=t[0]:[l,d]=t,this.clear(),clearTimeout(this._previousTimeout),l||(l=a&&a.politeness?a.politeness:"polite"),null==d&&a&&(d=a.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof d&&(this._previousTimeout=setTimeout(()=>this.clear(),d)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,t;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(t=this._currentResolve)||void 0===t||t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),a=this._document.createElement("div");for(let l=0;l{class n{constructor(e,t,a,l,d){this._ngZone=e,this._platform=t,this._inputModalityDetector=a,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 Pe.x,this._rootNodeFocusAndBlurListener=s=>{const r=jr(s),c="focus"===s.type?this._onFocus:this._onBlur;for(let u=r;u;u=u.parentElement)c.call(this,s,u)},this._document=l,this._detectionMode=(null==d?void 0:d.detectionMode)||0}monitor(e,t=!1){const a=Zi(e);if(!this._platform.isBrowser||1!==a.nodeType)return(0,Qe.of)(null);const l=Ah(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return t&&(d.checkChildren=!0),d.subject;const s={checkChildren:t,subject:new Pe.x,rootNode:l};return this._elementInfo.set(a,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Zi(e),a=this._elementInfo.get(t);a&&(a.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(a))}focusVia(e,t,a){const l=Zi(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([s,r])=>this._originChanged(s,t,r)):(this._setOrigin(t),"function"==typeof l.focus&&l.focus(a))}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 a=this._elementInfo.get(t),l=jr(e);!a||!a.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),a)}_onBlur(e,t){const a=this._elementInfo.get(t);!a||a.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(a.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,a=this._rootNodeFocusListenerCount.get(t)||0;a||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ph),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ph)}),this._rootNodeFocusListenerCount.set(t,a+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nt(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const a=this._rootNodeFocusListenerCount.get(t);a>1?this._rootNodeFocusListenerCount.set(t,a-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ph),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ph),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,a){this._setClasses(e,t),this._emitOrigin(a.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((a,l)=>{(l===e||a.checkChildren&&l.contains(e))&&t.push([l,a])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(gi),i.LFG($_),i.LFG(T.K0,8),i.LFG(Q_,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),K_=(()=>{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(Pn))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),n})();const am="cdk-high-contrast-black-on-white",X_="cdk-high-contrast-white-on-black",sm="cdk-high-contrast-active";let Yc=(()=>{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,a=t&&t.getComputedStyle?t.getComputedStyle(e):null,l=(a&&a.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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(sm),e.remove(am),e.remove(X_),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add(sm),e.add(am)):2===t&&(e.add(sm),e.add(X_))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mo=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Yc))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Ao]]}),n})();class Rh{}const fr="*";function Zt(n,o){return{type:7,name:n,definitions:o,options:{}}}function _t(n,o=null){return{type:4,styles:o,timings:n}}function nu(n,o=null){return{type:3,steps:n,options:o}}function om(n,o=null){return{type:2,steps:n,options:o}}function Le(n){return{type:6,styles:n,offset:null}}function Tt(n,o,e){return{type:0,name:n,styles:o,options:e}}function So(n){return{type:5,steps:n}}function mt(n,o,e=null){return{type:1,expr:n,animation:o,options:e}}function ru(n=null){return{type:9,options:n}}function rr(n,o,e=null){return{type:11,selector:n,animation:o,options:e}}function eb(n){Promise.resolve(null).then(n)}class Uc{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(){eb(()=>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 tb{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,a=0;const l=this.players.length;0==l?eb(()=>this._onFinish()):this.players.forEach(d=>{d.onDone(()=>{++e==l&&this._onFinish()}),d.onDestroy(()=>{++t==l&&this._onDestroy()}),d.onStart(()=>{++a==l&&this._onStart()})}),this.totalTime=this.players.reduce((d,s)=>Math.max(d,s.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 a=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(a)})}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 mr(){return"undefined"!=typeof window&&void 0!==window.document}function cm(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Eo(n){switch(n.length){case 0:return new Uc;case 1:return n[0];default:return new tb(n)}}function BA(n,o,e,t,a={},l={}){const d=[],s=[];let r=-1,c=null;if(t.forEach(u=>{const h=u.offset,f=h==r,b=f&&c||{};Object.keys(u).forEach(j=>{let ee=j,pe=u[j];if("offset"!==j)switch(ee=o.normalizePropertyName(ee,d),pe){case"!":pe=a[j];break;case fr:pe=l[j];break;default:pe=o.normalizeStyleValue(j,ee,pe,d)}b[ee]=pe}),f||s.push(b),c=b,r=h}),d.length){const u="\n - ";throw new Error(`Unable to animate due to the following errors:${u}${d.join(u)}`)}return s}function ib(n,o,e,t){switch(o){case"start":n.onStart(()=>t(e&&Lh(e,"start",n)));break;case"done":n.onDone(()=>t(e&&Lh(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&Lh(e,"destroy",n)))}}function Lh(n,o,e){const t=e.totalTime,l=nb(n.element,n.triggerName,n.fromState,n.toState,o||n.phaseName,null==t?n.totalTime:t,!!e.disabled),d=n._data;return null!=d&&(l._data=d),l}function nb(n,o,e,t,a="",l=0,d){return{element:n,triggerName:o,fromState:e,toState:t,phaseName:a,totalTime:l,disabled:!!d}}function gr(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 Ih(n){const o=n.indexOf(":");return[n.substring(1,o),n.substr(o+1)]}let Oh=(n,o)=>!1,rb=(n,o,e)=>[];(cm()||"undefined"!=typeof Element)&&(Oh=mr()?(n,o)=>{for(;o&&o!==document.documentElement;){if(o===n)return!0;o=o.parentNode||o.host}return!1}:(n,o)=>n.contains(o),rb=(n,o,e)=>{if(e)return Array.from(n.querySelectorAll(o));const t=n.querySelector(o);return t?[t]:[]});let Do=null,ab=!1;function dm(n){Do||(Do=function jA(){return"undefined"!=typeof document?document.body:null}()||{},ab=!!Do.style&&"WebkitAppearance"in Do.style);let o=!0;return Do.style&&!function VA(n){return"ebkit"==n.substring(1,6)}(n)&&(o=n in Do.style,!o&&ab&&(o="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Do.style)),o}const sb=Oh,um=rb;let ob=(()=>{class n{validateStyleProperty(e){return dm(e)}matchesElement(e,t){return!1}containsElement(e,t){return sb(e,t)}query(e,t,a){return um(e,t,a)}computeStyle(e,t,a){return a||""}animate(e,t,a,l,d,s=[],r){return new Uc(a,l)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Yr=(()=>{class n{}return n.NOOP=new ob,n})();const cb="ng-enter",au="ng-leave",Bh="ng-trigger",Vh=".ng-trigger",db="ng-animating",su=".ng-animating";function Hl(n){if("number"==typeof n)return n;const o=n.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:pm(parseFloat(o[1]),o[2])}function pm(n,o){return"s"===o?1e3*n:n}function kl(n,o,e){return n.hasOwnProperty("duration")?n:function fm(n,o,e){let a,l=0,d="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return o.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};a=pm(parseFloat(s[1]),s[2]);const r=s[3];null!=r&&(l=pm(parseFloat(r),s[4]));const c=s[5];c&&(d=c)}else a=n;if(!e){let s=!1,r=o.length;a<0&&(o.push("Duration values below 0 are not allowed for this animation step."),s=!0),l<0&&(o.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&o.splice(r,0,`The provided timing value "${n}" is invalid.`)}return{duration:a,delay:l,easing:d}}(n,o,e)}function qc(n,o={}){return Object.keys(n).forEach(e=>{o[e]=n[e]}),o}function Wa(n,o,e={}){if(o)for(let t in n)e[t]=n[t];else qc(n,e);return e}function mm(n,o,e){return e?o+":"+e+";":""}function ub(n){let o="";for(let e=0;e{const a=ga(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[a]),n.style[a]=o[t]}),cm()&&ub(n))}function Hs(n,o){n.style&&(Object.keys(o).forEach(e=>{const t=ga(e);n.style[t]=""}),cm()&&ub(n))}function Fh(n){return Array.isArray(n)?1==n.length?n[0]:om(n):n}const Nh=new RegExp("{{\\s*(.+?)\\s*}}","g");function gm(n){let o=[];if("string"==typeof n){let e;for(;e=Nh.exec(n);)o.push(e[1]);Nh.lastIndex=0}return o}function ou(n,o,e){const t=n.toString(),a=t.replace(Nh,(l,d)=>{let s=o[d];return o.hasOwnProperty(d)||(e.push(`Please provide a value for the animation param ${d}`),s=""),s.toString()});return a==t?n:a}function lu(n){const o=[];let e=n.next();for(;!e.done;)o.push(e.value),e=n.next();return o}const hb=/-+([a-z0-9])/g;function ga(n){return n.replace(hb,(...o)=>o[1].toUpperCase())}function Yh(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function zr(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 zh(n,o){return window.getComputedStyle(n)[o]}function _m(n,o){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function du(n,o,e){if(":"==n[0]){const r=function qA(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 r)return void o.push(r);n=r}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 a=t[1],l=t[2],d=t[3];o.push(bm(a,d));"<"==l[0]&&!("*"==a&&"*"==d)&&o.push(bm(d,a))}(t,e,o)):e.push(n),e}const Gc=new Set(["true","1"]),uu=new Set(["false","0"]);function bm(n,o){const e=Gc.has(n)||uu.has(n),t=Gc.has(o)||uu.has(o);return(a,l)=>{let d="*"==n||n==a,s="*"==o||o==l;return!d&&e&&"boolean"==typeof a&&(d=a?Gc.has(n):uu.has(n)),!s&&t&&"boolean"==typeof l&&(s=l?Gc.has(o):uu.has(o)),d&&s}}const GA=new RegExp("s*:selfs*,?","g");function hu(n,o,e){return new WA(n).build(o,e)}class WA{constructor(o){this._driver=o}build(o,e){const t=new mb(e);return this._resetContextStyleTimingState(t),zr(this,Fh(o),t)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,e){let t=e.queryCount=0,a=e.depCount=0;const l=[],d=[];return"@"==o.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const r=s,c=r.name;c.toString().split(/\s*,\s*/).forEach(u=>{r.name=u,l.push(this.visitState(r,e))}),r.name=c}else if(1==s.type){const r=this.visitTransition(s,e);t+=r.queryCount,a+=r.depCount,d.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:l,transitions:d,queryCount:t,depCount:a,options:null}}visitState(o,e){const t=this.visitStyle(o.styles,e),a=o.options&&o.options.params||null;if(t.containsDynamicStyles){const l=new Set,d=a||{};if(t.styles.forEach(s=>{if(Uh(s)){const r=s;Object.keys(r).forEach(c=>{gm(r[c]).forEach(u=>{d.hasOwnProperty(u)||l.add(u)})})}}),l.size){const s=lu(l.values());e.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${s.join(", ")}`)}}return{type:0,name:o.name,style:t,options:a?{params:a}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const t=zr(this,Fh(o.animation),e);return{type:1,matchers:_m(o.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:Pl(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(t=>zr(this,t,e)),options:Pl(o.options)}}visitGroup(o,e){const t=e.currentTime;let a=0;const l=o.steps.map(d=>{e.currentTime=t;const s=zr(this,d,e);return a=Math.max(a,e.currentTime),s});return e.currentTime=a,{type:3,steps:l,options:Pl(o.options)}}visitAnimate(o,e){const t=function Zc(n,o){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return Cm(kl(n,o).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=Cm(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||kl(t,o),Cm(e.duration,e.delay,e.easing)}(o.timings,e.errors);e.currentAnimateTimings=t;let a,l=o.styles?o.styles:Le({});if(5==l.type)a=this.visitKeyframes(l,e);else{let d=o.styles,s=!1;if(!d){s=!0;const c={};t.easing&&(c.easing=t.easing),d=Le(c)}e.currentTime+=t.duration+t.delay;const r=this.visitStyle(d,e);r.isEmptyStep=s,a=r}return e.currentAnimateTimings=null,{type:4,timings:t,style:a,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(d=>{"string"==typeof d?d==fr?t.push(d):e.errors.push(`The provided style string value ${d} is not allowed.`):t.push(d)}):t.push(o.styles);let a=!1,l=null;return t.forEach(d=>{if(Uh(d)){const s=d,r=s.easing;if(r&&(l=r,delete s.easing),!a)for(let c in s)if(s[c].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:t,easing:l,offset:o.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(o,e){const t=e.currentAnimateTimings;let a=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),o.styles.forEach(d=>{"string"!=typeof d&&Object.keys(d).forEach(s=>{if(!this._driver.validateStyleProperty(s))return void e.errors.push(`The provided animation property "${s}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],c=r[s];let u=!0;c&&(l!=a&&l>=c.startTime&&a<=c.endTime&&(e.errors.push(`The CSS property "${s}" that exists between the times of "${c.startTime}ms" and "${c.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${a}ms"`),u=!1),l=c.startTime),u&&(r[s]={startTime:l,endTime:a}),e.options&&function YA(n,o,e){const t=o.params||{},a=gm(n);a.length&&a.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(d[s],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 l=0;const d=[];let s=!1,r=!1,c=0;const u=o.steps.map(Ke=>{const Dt=this._makeStyleAst(Ke,e);let ut=null!=Dt.offset?Dt.offset:function ZA(n){if("string"==typeof n)return null;let o=null;if(Array.isArray(n))n.forEach(e=>{if(Uh(e)&&e.hasOwnProperty("offset")){const t=e;o=parseFloat(t.offset),delete t.offset}});else if(Uh(n)&&n.hasOwnProperty("offset")){const e=n;o=parseFloat(e.offset),delete e.offset}return o}(Dt.styles),Wt=0;return null!=ut&&(l++,Wt=Dt.offset=ut),r=r||Wt<0||Wt>1,s=s||Wt0&&l{const ut=f>0?Dt==b?1:f*Dt:d[Dt],Wt=ut*pe;e.currentTime=j+ee.delay+Wt,ee.duration=Wt,this._validateStyleAst(Ke,e),Ke.offset=ut,t.styles.push(Ke)}),t}visitReference(o,e){return{type:8,animation:zr(this,Fh(o.animation),e),options:Pl(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:Pl(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:Pl(o.options)}}visitQuery(o,e){const t=e.currentQuerySelector,a=o.options||{};e.queryCount++,e.currentQuery=o;const[l,d]=function fb(n){const o=!!n.split(/\s*,\s*/).find(e=>":self"==e);return o&&(n=n.replace(GA,"")),n=n.replace(/@\*/g,Vh).replace(/@\w+/g,e=>Vh+"-"+e.substr(1)).replace(/:animating/g,su),[n,o]}(o.selector);e.currentQuerySelector=t.length?t+" "+l:l,gr(e.collectedStyles,e.currentQuerySelector,{});const s=zr(this,Fh(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:a.limit||0,optional:!!a.optional,includeSelf:d,animation:s,originalSelector:o.selector,options:Pl(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"}:kl(o.timings,e.errors,!0);return{type:12,animation:zr(this,Fh(o.animation),e),timings:t,options:null}}}class mb{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 Uh(n){return!Array.isArray(n)&&"object"==typeof n}function Pl(n){return n?(n=qc(n)).params&&(n.params=function Wc(n){return n?qc(n):null}(n.params)):n={},n}function Cm(n,o,e){return{duration:n,delay:o,easing:e}}function wm(n,o,e,t,a,l,d=null,s=!1){return{type:1,element:n,keyframes:o,preStyleProps:e,postStyleProps:t,duration:a,delay:l,totalTime:a+l,easing:d,subTimeline:s}}class qh{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 gb=new RegExp(":enter","g"),bb=new RegExp(":leave","g");function Gh(n,o,e,t,a,l={},d={},s,r,c=[]){return(new $A).buildKeyframes(n,o,e,t,a,l,d,s,r,c)}class $A{buildKeyframes(o,e,t,a,l,d,s,r,c,u=[]){c=c||new qh;const h=new vm(o,e,c,a,l,u,[]);h.options=r,h.currentTimeline.setStyles([d],null,h.errors,r),zr(this,t,h);const f=h.timelines.filter(b=>b.containsAnimation());if(Object.keys(s).length){let b;for(let j=f.length-1;j>=0;j--){const ee=f[j];if(ee.element===e){b=ee;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([s],null,h.errors,r)}return f.length?f.map(b=>b.buildKeyframes()):[wm(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 a=e.createSubContext(o.options),l=e.currentTimeline.currentTime,d=this._visitSubInstructions(t,a,a.options);l!=d&&e.transformIntoNewTimeline(d)}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 l=e.currentTimeline.currentTime;const d=null!=t.duration?Hl(t.duration):null,s=null!=t.delay?Hl(t.delay):null;return 0!==d&&o.forEach(r=>{const c=e.appendInstructionToTimeline(r,d,s);l=Math.max(l,c.duration+c.delay)}),l}visitReference(o,e){e.updateOptions(o.options,!0),zr(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const t=e.subContextCount;let a=e;const l=o.options;if(l&&(l.params||l.delay)&&(a=e.createSubContext(l),a.transformIntoNewTimeline(),null!=l.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Wh);const d=Hl(l.delay);a.delayNextStep(d)}o.steps.length&&(o.steps.forEach(d=>zr(this,d,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>t&&a.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const t=[];let a=e.currentTimeline.currentTime;const l=o.options&&o.options.delay?Hl(o.options.delay):0;o.steps.forEach(d=>{const s=e.createSubContext(o.options);l&&s.delayNextStep(l),zr(this,d,s),a=Math.max(a,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(d=>e.currentTimeline.mergeTimelineCollectedStyles(d)),e.transformIntoNewTimeline(a),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const t=o.strValue;return kl(e.params?ou(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),a=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),a.snapshotCurrentStyles());const l=o.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),a.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const t=e.currentTimeline,a=e.currentAnimateTimings;!a&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=a&&a.easing||o.easing;o.isEmptyStep?t.applyEmptyStep(l):t.setStyles(o.styles,l,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const t=e.currentAnimateTimings,a=e.currentTimeline.duration,l=t.duration,s=e.createSubContext().currentTimeline;s.easing=t.easing,o.styles.forEach(r=>{s.forwardTime((r.offset||0)*l),s.setStyles(r.styles,r.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(a+l),e.previousNode=o}visitQuery(o,e){const t=e.currentTimeline.currentTime,a=o.options||{},l=a.delay?Hl(a.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Wh);let d=t;const s=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!a.optional,e.errors);e.currentQueryTotal=s.length;let r=null;s.forEach((c,u)=>{e.currentQueryIndex=u;const h=e.createSubContext(o.options,c);l&&h.delayNextStep(l),c===e.element&&(r=h.currentTimeline),zr(this,o.animation,h),h.currentTimeline.applyStylesToKeyframe(),d=Math.max(d,h.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(d),r&&(e.currentTimeline.mergeTimelineCollectedStyles(r),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const t=e.parentContext,a=e.currentTimeline,l=o.timings,d=Math.abs(l.duration),s=d*(e.currentQueryTotal-1);let r=d*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":r=s-r;break;case"full":r=t.currentStaggerTime}const u=e.currentTimeline;r&&u.delayNextStep(r);const h=u.currentTime;zr(this,o.animation,e),e.previousNode=o,t.currentStaggerTime=a.currentTime-h+(a.startTime-t.currentTimeline.startTime)}}const Wh={};class vm{constructor(o,e,t,a,l,d,s,r){this._driver=o,this.element=e,this.subInstructions=t,this._enterClassName=a,this._leaveClassName=l,this.errors=d,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=r||new Zh(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const t=o;let a=this.options;null!=t.duration&&(a.duration=Hl(t.duration)),null!=t.delay&&(a.delay=Hl(t.delay));const l=t.params;if(l){let d=a.params;d||(d=this.options.params={}),Object.keys(l).forEach(s=>{(!e||!d.hasOwnProperty(s))&&(d[s]=ou(l[s],d,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const t=o.params={};Object.keys(e).forEach(a=>{t[a]=e[a]})}}return o}createSubContext(o=null,e,t){const a=e||this.element,l=new vm(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(o),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(o){return this.previousNode=Wh,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,t){const a={duration:null!=e?e:o.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+o.delay,easing:""},l=new yb(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,a,o.stretchStartingKeyframe);return this.timelines.push(l),a}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,t,a,l,d){let s=[];if(a&&s.push(this.element),o.length>0){o=(o=o.replace(gb,"."+this._enterClassName)).replace(bb,"."+this._leaveClassName);let c=this._driver.query(this.element,o,1!=t);0!==t&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),s.push(...c)}return!l&&0==s.length&&d.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class Zh{constructor(o,e,t,a){this._driver=o,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=a,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 Zh(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]||fr,this._currentKeyframe[e]=fr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,t,a){e&&(this._previousKeyframe.easing=e);const l=a&&a.params||{},d=function Cb(n,o){const e={};let t;return n.forEach(a=>{"*"===a?(t=t||Object.keys(o),t.forEach(l=>{e[l]=fr})):Wa(a,!1,e)}),e}(o,this._globalTimelineStyles);Object.keys(d).forEach(s=>{const r=ou(d[s],l,t);this._pendingStyles[s]=r,this._localTimelineStyles.hasOwnProperty(s)||(this._backFill[s]=this._globalTimelineStyles.hasOwnProperty(s)?this._globalTimelineStyles[s]:fr),this._updateStyle(s,r)})}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],a=o._styleSummary[e];(!t||a.time>t.time)&&this._updateStyle(e,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((s,r)=>{const c=Wa(s,!0);Object.keys(c).forEach(u=>{const h=c[u];"!"==h?o.add(u):h==fr&&e.add(u)}),t||(c.offset=r/this.duration),a.push(c)});const l=o.size?lu(o.values()):[],d=e.size?lu(e.values()):[];if(t){const s=a[0],r=qc(s);s.offset=0,r.offset=1,a=[s,r]}return wm(this.element,a,l,d,this.duration,this.startTime,this.easing,!1)}}class yb extends Zh{constructor(o,e,t,a,l,d,s=!1){super(o,e,d.delay),this.keyframes=t,this.preStyleProps=a,this.postStyleProps=l,this._stretchStartingKeyframe=s,this.timings={duration:d.duration,delay:d.delay,easing:d.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:t,easing:a}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],d=t+e,s=e/d,r=Wa(o[0],!1);r.offset=0,l.push(r);const c=Wa(o[0],!1);c.offset=JA(s),l.push(c);const u=o.length-1;for(let h=1;h<=u;h++){let f=Wa(o[h],!1);f.offset=JA((e+f.offset*t)/d),l.push(f)}t=d,e=0,a="",o=l}return wm(this.element,o,this.preStyleProps,this.postStyleProps,t,e,a,!0)}}function JA(n,o=3){const e=Math.pow(10,o-1);return Math.round(n*e)/e}class Tm{}class tM extends Tm{normalizePropertyName(o,e){return ga(o)}normalizeStyleValue(o,e,t,a){let l="";const d=t.toString().trim();if(xm[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&a.push(`Please provide a CSS unit value for ${o}:${t}`)}return d+l}}const xm=(()=>function QA(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 Mm(n,o,e,t,a,l,d,s,r,c,u,h,f){return{type:0,element:n,triggerName:o,isRemovalTransition:a,fromState:e,fromStyles:l,toState:t,toStyles:d,timelines:s,queriedElements:r,preStyleProps:c,postStyleProps:u,totalTime:h,errors:f}}const $h={};class KA{constructor(o,e,t){this._triggerName=o,this.ast=e,this._stateStyles=t}match(o,e,t,a){return function _a(n,o,e,t,a){return n.some(l=>l(o,e,t,a))}(this.ast.matchers,o,e,t,a)}buildStyles(o,e,t){const a=this._stateStyles["*"],l=this._stateStyles[o],d=a?a.buildStyles(e,t):{};return l?l.buildStyles(e,t):d}build(o,e,t,a,l,d,s,r,c,u){const h=[],f=this.ast.options&&this.ast.options.params||$h,j=this.buildStyles(t,s&&s.params||$h,h),ee=r&&r.params||$h,pe=this.buildStyles(a,ee,h),Ke=new Set,Dt=new Map,ut=new Map,Wt="void"===a,ka={params:Object.assign(Object.assign({},f),ee)},ss=u?[]:Gh(o,e,this.ast.animation,l,d,j,pe,ka,c,h);let Tr=0;if(ss.forEach(cc=>{Tr=Math.max(cc.duration+cc.delay,Tr)}),h.length)return Mm(e,this._triggerName,t,a,Wt,j,pe,[],[],Dt,ut,Tr,h);ss.forEach(cc=>{const dc=cc.element,kD=gr(Dt,dc,{});cc.preStyleProps.forEach(Gu=>kD[Gu]=!0);const u_=gr(ut,dc,{});cc.postStyleProps.forEach(Gu=>u_[Gu]=!0),dc!==e&&Ke.add(dc)});const lc=lu(Ke.values());return Mm(e,this._triggerName,t,a,Wt,j,pe,ss,lc,Dt,ut,Tr)}}class iM{constructor(o,e,t){this.styles=o,this.defaultParams=e,this.normalizer=t}buildStyles(o,e){const t={},a=qc(this.defaultParams);return Object.keys(o).forEach(l=>{const d=o[l];null!=d&&(a[l]=d)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const d=l;Object.keys(d).forEach(s=>{let r=d[s];r.length>1&&(r=ou(r,a,e));const c=this.normalizer.normalizePropertyName(s,e);r=this.normalizer.normalizeStyleValue(s,c,r,e),t[c]=r})}}),t}}class wb{constructor(o,e,t){this.name=o,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(a=>{this.states[a.name]=new iM(a.style,a.options&&a.options.params||{},t)}),Sm(this.states,"true","1"),Sm(this.states,"false","0"),e.transitions.forEach(a=>{this.transitionFactories.push(new KA(o,a,this.states))}),this.fallbackTransition=function Ab(n,o,e){return new KA(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(d,s)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,t,a){return this.transitionFactories.find(d=>d.match(o,e,t,a))||null}matchStyles(o,e,t){return this.fallbackTransition.buildStyles(o,e,t)}}function Sm(n,o,e){n.hasOwnProperty(o)?n.hasOwnProperty(e)||(n[e]=n[o]):n.hasOwnProperty(e)&&(n[o]=n[e])}const XA=new qh;class rM{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(o,e){const t=[],a=hu(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]=a}_buildPlayer(o,e,t){const a=o.element,l=BA(0,this._normalizer,0,o.keyframes,e,t);return this._driver.animate(a,l,o.duration,o.delay,o.easing,[],!0)}create(o,e,t={}){const a=[],l=this._animations[o];let d;const s=new Map;if(l?(d=Gh(this._driver,e,l,cb,au,{},{},t,XA,a),d.forEach(u=>{const h=gr(s,u.element,{});u.postStyleProps.forEach(f=>h[f]=null)})):(a.push("The requested animation doesn't exist or has already been destroyed"),d=[]),a.length)throw new Error(`Unable to create the animation due to the following errors: ${a.join("\n")}`);s.forEach((u,h)=>{Object.keys(u).forEach(f=>{u[f]=this._driver.computeStyle(h,f,fr)})});const c=Eo(d.map(u=>{const h=s.get(u.element);return this._buildPlayer(u,{},h)}));return this._playersById[o]=c,c.onDestroy(()=>this.destroy(o)),this.players.push(c),c}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,a){const l=nb(e,"","","");return ib(this._getPlayer(o),t,l,a),()=>{}}command(o,e,t,a){if("register"==t)return void this.register(o,a[0]);if("create"==t)return void this.create(o,e,a[0]||{});const l=this._getPlayer(o);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(o)}}}const Em="ng-animate-queued",Hm="ng-animate-disabled",iv=[],vb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},nv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qr="__ng_removed";class $c{constructor(o,e=""){this.namespaceId=e;const t=o&&o.hasOwnProperty("value");if(this.value=function Ja(n){return null!=n?n:null}(t?o.value:o),t){const l=qc(o);delete l.value,this.options=l}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(a=>{null==t[a]&&(t[a]=e[a])})}}}const $a="void",Pm=new $c($a);class pu{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,ar(e,this._hostClassName)}listen(o,e,t,a){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 Rn(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 l=gr(this._elementListeners,o,[]),d={name:e,phase:t,callback:a};l.push(d);const s=gr(this._engine.statesByElement,o,{});return s.hasOwnProperty(e)||(ar(o,Bh),ar(o,Bh+"-"+e),s[e]=Pm),()=>{this._engine.afterFlush(()=>{const r=l.indexOf(d);r>=0&&l.splice(r,1),this._triggers[e]||delete s[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,a=!0){const l=this._getTrigger(e),d=new Rm(this.id,e,o);let s=this._engine.statesByElement.get(o);s||(ar(o,Bh),ar(o,Bh+"-"+e),this._engine.statesByElement.set(o,s={}));let r=s[e];const c=new $c(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&r&&c.absorbOptions(r.options),s[e]=c,r||(r=Pm),c.value!==$a&&r.value===c.value){if(!function Kc(n,o){const e=Object.keys(n),t=Object.keys(o);if(e.length!=t.length)return!1;for(let a=0;a{Hs(o,pe),Za(o,Ke)})}return}const f=gr(this._engine.playersByElement,o,[]);f.forEach(ee=>{ee.namespaceId==this.id&&ee.triggerName==e&&ee.queued&&ee.destroy()});let b=l.matchTransition(r.value,c.value,o,c.params),j=!1;if(!b){if(!a)return;b=l.fallbackTransition,j=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:b,fromState:r,toState:c,player:d,isFallbackTransition:j}),j||(ar(o,Em),d.onStart(()=>{ba(o,Em)})),d.onDone(()=>{let ee=this.players.indexOf(d);ee>=0&&this.players.splice(ee,1);const pe=this._engine.playersByElement.get(o);if(pe){let Ke=pe.indexOf(d);Ke>=0&&pe.splice(Ke,1)}}),this.players.push(d),f.push(d),d}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(a=>a.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,Vh,!0);t.forEach(a=>{if(a[qr])return;const l=this._engine.fetchNamespacesByElement(a);l.size?l.forEach(d=>d.triggerLeaveAnimation(a,e,!1,!0)):this.clearElementCache(a)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(a=>this.clearElementCache(a)))}triggerLeaveAnimation(o,e,t,a){const l=this._engine.statesByElement.get(o),d=new Map;if(l){const s=[];if(Object.keys(l).forEach(r=>{if(d.set(r,l[r].value),this._triggers[r]){const c=this.trigger(o,r,$a,a);c&&s.push(c)}}),s.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,d),t&&Eo(s).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 a=new Set;e.forEach(l=>{const d=l.name;if(a.has(d))return;a.add(d);const r=this._triggers[d].fallbackTransition,c=t[d]||Pm,u=new $c($a),h=new Rm(this.id,d,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:d,transition:r,fromState:c,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(o,e){const t=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let a=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(o):[];if(l&&l.length)a=!0;else{let d=o;for(;d=d.parentNode;)if(t.statesByElement.get(d)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(o),a)t.markElementAsRemoved(this.id,o,!1,e);else{const l=o[qr];(!l||l===vb)&&(t.afterFlush(()=>this.clearElementCache(o)),t.destroyInnerAnimations(o),t._onRemovalComplete(o,e))}}insertNode(o,e){ar(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(t=>{const a=t.player;if(a.destroyed)return;const l=t.element,d=this._elementListeners.get(l);d&&d.forEach(s=>{if(s.name==t.triggerName){const r=nb(l,t.triggerName,t.fromState.value,t.toState.value);r._data=o,ib(t.player,s.phase,r,s.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):e.push(t)}),this._queue=[],e.sort((t,a)=>{const l=t.transition.ast.depCount,d=a.transition.ast.depCount;return 0==l||0==d?l-d:this._engine.driver.containsElement(t.element,a.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 rv{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=(a,l)=>{}}_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 pu(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 a=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,o),a=!0;break}a||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 a=this._namespaceLookup[o];a&&a.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 a=this._namespaceList.indexOf(t);a>=0&&this._namespaceList.splice(a,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 a=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(d,1)}if(o){const d=this._fetchNamespace(o);d&&d.insertNode(e,t)}a&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),ar(o,Hm)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),ba(o,Hm))}removeNode(o,e,t,a){if(Ho(e)){const l=o?this._fetchNamespace(o):null;if(l?l.removeNode(e,a):this.markElementAsRemoved(o,e,!1,a),t){const d=this.namespacesByHostElement.get(e);d&&d.id!==o&&d.removeNode(e,a)}}else this._onRemovalComplete(e,a)}markElementAsRemoved(o,e,t,a,l){this.collectedLeaveElements.push(e),e[qr]={namespaceId:o,setForRemoval:a,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(o,e,t,a,l){return Ho(e)?this._fetchNamespace(o).listen(e,t,a,l):()=>{}}_buildInstruction(o,e,t,a,l){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,t,a,o.fromState.options,o.toState.options,e,l)}destroyInnerAnimations(o){let e=this.driver.query(o,Vh,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,su,!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 Eo(this.players).onDone(()=>o());o()})}processLeaveNode(o){var e;const t=o[qr];if(t&&t.setForRemoval){if(o[qr]=vb,t.namespaceId){this.destroyInnerAnimations(o);const a=this._fetchNamespace(t.namespaceId);a&&a.clearElementCache(o)}this._onRemovalComplete(o,t.setForRemoval)}(null===(e=o.classList)||void 0===e?void 0:e.contains(Hm))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(a=>{this.markElementAsDisabled(a,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,a)=>this._balanceNamespaceList(t,a)),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?Eo(e).onDone(()=>{t.forEach(a=>a())}):t.forEach(a=>a())}}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 qh,a=[],l=new Map,d=[],s=new Map,r=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(at=>{u.add(at);const pt=this.driver.query(at,".ng-animate-queued",!0);for(let bt=0;bt{const bt=cb+ee++;j.set(pt,bt),at.forEach(ni=>ar(ni,bt))});const pe=[],Ke=new Set,Dt=new Set;for(let at=0;atKe.add(ni)):Dt.add(pt))}const ut=new Map,Wt=_r(f,Array.from(Ke));Wt.forEach((at,pt)=>{const bt=au+ee++;ut.set(pt,bt),at.forEach(ni=>ar(ni,bt))}),o.push(()=>{b.forEach((at,pt)=>{const bt=j.get(pt);at.forEach(ni=>ba(ni,bt))}),Wt.forEach((at,pt)=>{const bt=ut.get(pt);at.forEach(ni=>ba(ni,bt))}),pe.forEach(at=>{this.processLeaveNode(at)})});const ka=[],ss=[];for(let at=this._namespaceList.length-1;at>=0;at--)this._namespaceList[at].drainQueuedTransitions(e).forEach(bt=>{const ni=bt.player,On=bt.element;if(ka.push(ni),this.collectedEnterElements.length){const xr=On[qr];if(xr&&xr.setForMove){if(xr.previousTriggersValues&&xr.previousTriggersValues.has(bt.triggerName)){const Wu=xr.previousTriggersValues.get(bt.triggerName),Sd=this.statesByElement.get(bt.element);Sd&&Sd[bt.triggerName]&&(Sd[bt.triggerName].value=Wu)}return void ni.destroy()}}const Zo=!h||!this.driver.containsElement(h,On),Pa=ut.get(On),Md=j.get(On),Ji=this._buildInstruction(bt,t,Md,Pa,Zo);if(Ji.errors&&Ji.errors.length)return void ss.push(Ji);if(Zo)return ni.onStart(()=>Hs(On,Ji.fromStyles)),ni.onDestroy(()=>Za(On,Ji.toStyles)),void a.push(ni);if(bt.isFallbackTransition)return ni.onStart(()=>Hs(On,Ji.fromStyles)),ni.onDestroy(()=>Za(On,Ji.toStyles)),void a.push(ni);const LD=[];Ji.timelines.forEach(xr=>{xr.stretchStartingKeyframe=!0,this.disabledNodes.has(xr.element)||LD.push(xr)}),Ji.timelines=LD,t.append(On,Ji.timelines),d.push({instruction:Ji,player:ni,element:On}),Ji.queriedElements.forEach(xr=>gr(s,xr,[]).push(ni)),Ji.preStyleProps.forEach((xr,Wu)=>{const Sd=Object.keys(xr);if(Sd.length){let Zu=r.get(Wu);Zu||r.set(Wu,Zu=new Set),Sd.forEach(c0=>Zu.add(c0))}}),Ji.postStyleProps.forEach((xr,Wu)=>{const Sd=Object.keys(xr);let Zu=c.get(Wu);Zu||c.set(Wu,Zu=new Set),Sd.forEach(c0=>Zu.add(c0))})});if(ss.length){const at=[];ss.forEach(pt=>{at.push(`@${pt.triggerName} has failed due to:\n`),pt.errors.forEach(bt=>at.push(`- ${bt}\n`))}),ka.forEach(pt=>pt.destroy()),this.reportError(at)}const Tr=new Map,lc=new Map;d.forEach(at=>{const pt=at.element;t.has(pt)&&(lc.set(pt,pt),this._beforeAnimationBuild(at.player.namespaceId,at.instruction,Tr))}),a.forEach(at=>{const pt=at.element;this._getPreviousPlayers(pt,!1,at.namespaceId,at.triggerName,null).forEach(ni=>{gr(Tr,pt,[]).push(ni),ni.destroy()})});const cc=pe.filter(at=>Ll(at,r,c)),dc=new Map;fu(dc,this.driver,Dt,c,fr).forEach(at=>{Ll(at,r,c)&&cc.push(at)});const u_=new Map;b.forEach((at,pt)=>{fu(u_,this.driver,new Set(at),r,"!")}),cc.forEach(at=>{const pt=dc.get(at),bt=u_.get(at);dc.set(at,Object.assign(Object.assign({},pt),bt))});const Gu=[],PD=[],RD={};d.forEach(at=>{const{element:pt,player:bt,instruction:ni}=at;if(t.has(pt)){if(u.has(pt))return bt.onDestroy(()=>Za(pt,ni.toStyles)),bt.disabled=!0,bt.overrideTotalTime(ni.totalTime),void a.push(bt);let On=RD;if(lc.size>1){let Pa=pt;const Md=[];for(;Pa=Pa.parentNode;){const Ji=lc.get(Pa);if(Ji){On=Ji;break}Md.push(Pa)}Md.forEach(Ji=>lc.set(Ji,On))}const Zo=this._buildAnimation(bt.namespaceId,ni,Tr,l,u_,dc);if(bt.setRealPlayer(Zo),On===RD)Gu.push(bt);else{const Pa=this.playersByElement.get(On);Pa&&Pa.length&&(bt.parentPlayer=Eo(Pa)),a.push(bt)}}else Hs(pt,ni.fromStyles),bt.onDestroy(()=>Za(pt,ni.toStyles)),PD.push(bt),u.has(pt)&&a.push(bt)}),PD.forEach(at=>{const pt=l.get(at.element);if(pt&&pt.length){const bt=Eo(pt);at.setRealPlayer(bt)}}),a.forEach(at=>{at.parentPlayer?at.syncPlayerEvents(at.parentPlayer):at.destroy()});for(let at=0;at!Zo.destroyed);On.length?Jc(this,pt,On):this.processLeaveNode(pt)}return pe.length=0,Gu.forEach(at=>{this.players.push(at),at.onDone(()=>{at.destroy();const pt=this.players.indexOf(at);this.players.splice(pt,1)}),at.play()}),Gu}elementContainsData(o,e){let t=!1;const a=e[qr];return a&&a.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,a,l){let d=[];if(e){const s=this.playersByQueriedElement.get(o);s&&(d=s)}else{const s=this.playersByElement.get(o);if(s){const r=!l||l==$a;s.forEach(c=>{c.queued||!r&&c.triggerName!=a||d.push(c)})}}return(t||a)&&(d=d.filter(s=>!(t&&t!=s.namespaceId||a&&a!=s.triggerName))),d}_beforeAnimationBuild(o,e,t){const l=e.element,d=e.isRemovalTransition?void 0:o,s=e.isRemovalTransition?void 0:e.triggerName;for(const r of e.timelines){const c=r.element,u=c!==l,h=gr(t,c,[]);this._getPreviousPlayers(c,u,d,s,e.toState).forEach(b=>{const j=b.getRealPlayer();j.beforeDestroy&&j.beforeDestroy(),b.destroy(),h.push(b)})}Hs(l,e.fromStyles)}_buildAnimation(o,e,t,a,l,d){const s=e.triggerName,r=e.element,c=[],u=new Set,h=new Set,f=e.timelines.map(j=>{const ee=j.element;u.add(ee);const pe=ee[qr];if(pe&&pe.removedBeforeQueried)return new Uc(j.duration,j.delay);const Ke=ee!==r,Dt=function Qc(n){const o=[];return Rl(n,o),o}((t.get(ee)||iv).map(Tr=>Tr.getRealPlayer())).filter(Tr=>!!Tr.element&&Tr.element===ee),ut=l.get(ee),Wt=d.get(ee),ka=BA(0,this._normalizer,0,j.keyframes,ut,Wt),ss=this._buildPlayer(j,ka,Dt);if(j.subTimeline&&a&&h.add(ee),Ke){const Tr=new Rm(o,s,ee);Tr.setRealPlayer(ss),c.push(Tr)}return ss});c.forEach(j=>{gr(this.playersByQueriedElement,j.element,[]).push(j),j.onDone(()=>function Lm(n,o,e){let t;if(n instanceof Map){if(t=n.get(o),t){if(t.length){const a=t.indexOf(e);t.splice(a,1)}0==t.length&&n.delete(o)}}else if(t=n[o],t){if(t.length){const a=t.indexOf(e);t.splice(a,1)}0==t.length&&delete n[o]}return t}(this.playersByQueriedElement,j.element,j))}),u.forEach(j=>ar(j,db));const b=Eo(f);return b.onDestroy(()=>{u.forEach(j=>ba(j,db)),Za(r,e.toStyles)}),h.forEach(j=>{gr(a,j,[]).push(b)}),b}_buildPlayer(o,e,t){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,t):new Uc(o.duration,o.delay)}}class Rm{constructor(o,e,t){this.namespaceId=o,this.triggerName=e,this.element=t,this._player=new Uc,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=>ib(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){gr(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 Ho(n){return n&&1===n.nodeType}function ko(n,o){const e=n.style.display;return n.style.display=null!=o?o:"none",e}function fu(n,o,e,t,a){const l=[];e.forEach(r=>l.push(ko(r)));const d=[];t.forEach((r,c)=>{const u={};r.forEach(h=>{const f=u[h]=o.computeStyle(c,h,a);(!f||0==f.length)&&(c[qr]=nv,d.push(c))}),n.set(c,u)});let s=0;return e.forEach(r=>ko(r,l[s++])),d}function _r(n,o){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==o.length)return e;const a=new Set(o),l=new Map;function d(s){if(!s)return 1;let r=l.get(s);if(r)return r;const c=s.parentNode;return r=e.has(c)?c:a.has(c)?1:d(c),l.set(s,r),r}return o.forEach(s=>{const r=d(s);1!==r&&e.get(r).push(s)}),e}function ar(n,o){var e;null===(e=n.classList)||void 0===e||e.add(o)}function ba(n,o){var e;null===(e=n.classList)||void 0===e||e.remove(o)}function Jc(n,o,e){Eo(e).onDone(()=>n.processLeaveNode(o))}function Rl(n,o){for(let e=0;ea.add(l)):o.set(n,t),e.delete(n),!0}class ks{constructor(o,e,t){this.bodyNode=o,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(a,l)=>{},this._transitionEngine=new rv(o,e,t),this._timelineEngine=new rM(o,e,t),this._transitionEngine.onRemovalComplete=(a,l)=>this.onRemovalComplete(a,l)}registerTrigger(o,e,t,a,l){const d=o+"-"+a;let s=this._triggerCache[d];if(!s){const r=[],c=hu(this._driver,l,r);if(r.length)throw new Error(`The animation trigger "${a}" has failed to build due to the following errors:\n - ${r.join("\n - ")}`);s=function nM(n,o,e){return new wb(n,o,e)}(a,c,this._normalizer),this._triggerCache[d]=s}this._transitionEngine.registerTrigger(e,a,s)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,t,a){this._transitionEngine.insertNode(o,e,t,a)}onRemove(o,e,t,a){this._transitionEngine.removeNode(o,e,a||!1,t)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,t,a){if("@"==t.charAt(0)){const[l,d]=Ih(t);this._timelineEngine.command(l,e,d,a)}else this._transitionEngine.trigger(o,e,t,a)}listen(o,e,t,a,l){if("@"==t.charAt(0)){const[d,s]=Ih(t);return this._timelineEngine.listen(d,e,s,l)}return this._transitionEngine.listen(o,e,t,a,l)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ed=(()=>{class n{constructor(e,t,a){this._element=e,this._startStyles=t,this._endStyles=a,this._state=0;let l=n.initialStylesByElement.get(e);l||n.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&Za(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Za(this._element,this._initialStyles),this._endStyles&&(Za(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Hs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Hs(this._element,this._endStyles),this._endStyles=null),Za(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Jh(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]:zh(this.element,t))})}this.currentSnapshot=o}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class xb{validateStyleProperty(o){return dm(o)}matchesElement(o,e){return!1}containsElement(o,e){return sb(o,e)}query(o,e,t){return um(o,e,t)}computeStyle(o,e,t){return window.getComputedStyle(o)[e]}animate(o,e,t,a,l,d=[]){const r={duration:t,delay:a,fill:0==a?"both":"forwards"};l&&(r.easing=l);const c={},u=d.filter(f=>f instanceof Im);(function zA(n,o){return 0===n||0===o})(t,a)&&u.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(j=>c[j]=b[j])}),e=function UA(n,o,e){const t=Object.keys(e);if(t.length&&o.length){let l=o[0],d=[];if(t.forEach(s=>{l.hasOwnProperty(s)||d.push(s),l[s]=e[s]}),d.length)for(var a=1;aWa(f,!1)),c);const h=function Xc(n,o){let e=null,t=null;return Array.isArray(o)&&o.length?(e=Jh(o[0]),o.length>1&&(t=Jh(o[o.length-1]))):o&&(e=Jh(o)),e||t?new ed(n,e,t):null}(o,e);return new Im(o,e,r,h)}}let Mb=(()=>{class n extends Rh{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 a=Array.isArray(e)?om(e):e;return Om(this._renderer,null,t,"register",[a]),new Sb(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class Sb extends class zc{}{constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new Eb(this._id,o,e||{},this._renderer)}}class Eb{constructor(o,e,t,a){this.id=o,this.element=e,this._renderer=a,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 Om(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 Om(n,o,e,t,a){return n.setProperty(o,`@@${e}:${t}`,a)}const Db="@.disabled";let Hb=(()=>{class n{constructor(e,t,a){this.delegate=e,this.engine=t,this._zone=a,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(l,d)=>{const s=null==d?void 0:d.parentNode(l);s&&d.removeChild(s,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let u=this._rendererCache.get(l);return u||(u=new kb("",l,this.engine),this._rendererCache.set(l,u)),u}const d=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const r=u=>{Array.isArray(u)?u.forEach(r):this.engine.registerTrigger(d,s,e,u.name,u)};return t.data.animation.forEach(r),new Pb(this,s,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){e>=0&&et(a)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[d,s]=l;d(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,a]))}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(ks),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?a=>e.destroyNode(a):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,a=!0){this.delegate.insertBefore(o,e,t),this.engine.onInsert(this.namespaceId,e,o,a)}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,a){this.delegate.setAttribute(o,e,t,a)}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,a){this.delegate.setStyle(o,e,t,a)}removeStyle(o,e,t){this.delegate.removeStyle(o,e,t)}setProperty(o,e,t){"@"==e.charAt(0)&&e==Db?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 Pb extends kb{constructor(o,e,t,a){super(e,t,a),this.factory=o,this.namespaceId=e}setProperty(o,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Db?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 a=function Rb(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(o);let l=e.substr(1),d="";return"@"!=l.charAt(0)&&([l,d]=function av(n){const o=n.indexOf(".");return[n.substring(0,o),n.substr(o+1)]}(l)),this.engine.listen(this.namespaceId,a,l,d,s=>{this.factory.scheduleListenerCallback(s._data||-1,t,s)})}return this.delegate.listen(o,e,t)}}let sv=(()=>{class n extends ks{constructor(e,t,a){super(e.body,t,a)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(Yr),i.LFG(Tm))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const yi=new i.OlP("AnimationModuleType"),Ib=[{provide:Rh,useClass:Mb},{provide:Tm,useFactory:function Lb(){return new tM}},{provide:ks,useClass:sv},{provide:i.FYo,useFactory:function ov(n,o,e){return new Hb(n,o,e)},deps:[Ae,ks,i.R0b]}],Ob=[{provide:Yr,useFactory:()=>new xb},{provide:yi,useValue:"BrowserAnimations"},...Ib],aM=[{provide:Yr,useClass:ob},{provide:yi,useValue:"NoopAnimations"},...Ib];let lv=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?aM:Ob}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:Ob,imports:[La]}),n})();function oM(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 lM(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 cM=["*"];let Fb=(()=>{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})(),dM=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const td=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function cv(){return!0}});let ot=(()=>{class n{constructor(e,t,a){this._sanityChecks=t,this._document=a,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Vc()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Yc),i.LFG(td,8),i.LFG(T.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl],vl]}),n})();function qn(n){return class extends n{constructor(...o){super(...o),this._disabled=!1}get disabled(){return this._disabled}set disabled(o){this._disabled=We(o)}}}function ya(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 br(n){return class extends n{constructor(...o){super(...o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(o){this._disableRipple=We(o)}}}function Il(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?Fi(e):this.defaultTabIndex}}}function Bm(n){return class extends n{constructor(...o){super(...o),this.stateChanges=new Pe.x,this.errorState=!1}updateErrorState(){const o=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==o&&(this.errorState=l,this.stateChanges.next())}}}function Nb(n){return class extends n{constructor(...o){super(...o),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Bi.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 Ol=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function hv(){return(0,i.f3M)(i.soG)}});class Ci{constructor(){this._localeChanges=new Pe.x,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),a=this.isValid(e);return t&&a?!this.compareDate(o,e):t==a}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}}const Gr=new i.OlP("mat-date-formats"),Yb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qh(n,o){const e=Array(n);for(let t=0;t{class n extends Ci{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 Qh(12,a=>this._format(t,new Date(2017,a,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qh(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 Qh(7,a=>this._format(t,new Date(2017,0,a+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,a){let l=this._createDateWithOverflow(e,t,a);return l.getMonth(),l}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 a=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},t),{timeZone:"utc"}));return this._format(a,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let a=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(a)!=((this.getMonth(e)+t)%12+12)%12&&(a=this._createDateWithOverflow(this.getYear(a),this.getMonth(a),0)),a}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(Yb.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,a){const l=new Date;return l.setFullYear(e,t,a),l.setHours(0,0,0,0),l}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const a=new Date;return a.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),a.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(a)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ol,8),i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const hM={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 Vm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:Kh}]}),n})(),zb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Gr,useValue:hM}],imports:[[Vm]]}),n})(),Wr=(()=>{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})(),jm=(()=>{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 Bl(n,o,e){n.nativeElement.classList.toggle(o,e)}let ep=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();class Fm{constructor(o,e,t){this._renderer=o,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const tp={enterDuration:225,exitDuration:150},qb=Vr({passive:!0}),Gb=["mousedown","touchstart"],ip=["mouseup","mouseleave","touchend","touchcancel"];class np{constructor(o,e,t,a){this._target=o,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,a.isBrowser&&(this._containerElement=Zi(t))}fadeInRipple(o,e,t={}){const a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},tp),t.animation);t.centered&&(o=a.left+a.width/2,e=a.top+a.height/2);const d=t.radius||function Zb(n,o,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),a=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(t*t+a*a)}(o,e,a),s=o-a.left,r=e-a.top,c=l.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=s-d+"px",u.style.top=r-d+"px",u.style.height=2*d+"px",u.style.width=2*d+"px",null!=t.color&&(u.style.backgroundColor=t.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),function Wb(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const h=new Fm(this,u,t);return h.state=0,this._activeRipples.add(h),t.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const f=h===this._mostRecentTransientRipple;h.state=1,!t.persistent&&(!f||!this._isPointerDown)&&h.fadeOut()},c),h}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,a=Object.assign(Object.assign({},tp),o.config.animation);t.style.transitionDuration=`${a.exitDuration}ms`,t.style.opacity="0",o.state=2,this._runTimeoutOutsideZone(()=>{o.state=3,t.remove()},a.exitDuration)}fadeOutAll(){this._activeRipples.forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=Zi(o);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Gb))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ip),this._pointerUpEventsRegistered=!0)}_onMousedown(o){const e=tm(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,qb)})})}_removeTriggerEvents(){this._triggerElement&&(Gb.forEach(o=>{this._triggerElement.removeEventListener(o,this,qb)}),this._pointerUpEventsRegistered&&ip.forEach(o=>{this._triggerElement.removeEventListener(o,this,qb)}))}}const rp=new i.OlP("mat-ripple-global-options");let Gn=(()=>{class n{constructor(e,t,a,l,d){this._elementRef=e,this._animationMode=d,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new np(this,t,e,a)}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,a){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),a)):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(gi),i.Y36(rp,8),i.Y36(yi,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})(),yr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})(),ap=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi,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})(),gu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot]]}),n})();const $b=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),Nm=new i.OlP("MatOptgroup");let Qb=0;class Kb{constructor(o,e=!1){this.source=o,this.isUserInput=e}}let Ym=(()=>{class n{constructor(e,t,a,l){this._element=e,this._changeDetectorRef=t,this._parent=a,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Qb++,this.onSelectionChange=new i.vpe,this._stateChanges=new Pe.x}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=We(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 a=this._getHostElement();"function"==typeof a.focus&&a.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)&&!on(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 Kb(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})(),Po=(()=>{class n extends Ym{constructor(e,t,a,l){super(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36($b,8),i.Y36(Nm,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(l){return t._handleKeydown(l)}),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:cM,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,oM,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,lM,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:[ap,T.O5,Gn],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;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 zm(n,o,e){if(e.length){let t=o.toArray(),a=e.toArray(),l=0;for(let d=0;d{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,T.ez,ot,gu]]}),n})();const ey=["mat-button",""],ty=["*"],ny=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],fM=ya(qn(br(class{constructor(n){this._elementRef=n}})));let zt=(()=>{class n extends fM{constructor(e,t,a){super(e),this._focusMonitor=t,this._animationMode=a,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const l of ny)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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(Pn),i.Y36(yi,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(Gn,5),2&e){let a;i.iGM(a=i.CRH())&&(t.ripple=a.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:ey,ngContentSelectors:ty,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:[Gn],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;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;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;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;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})(),Ca=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot],ot]}),n})();var gv=x(1144),mi=x(576),Um=x(3268);const _v=["addListener","removeListener"],bv=["addEventListener","removeEventListener"],ry=["on","off"];function Qa(n,o,e,t){if((0,mi.m)(e)&&(t=e,e=void 0),t)return Qa(n,o,e).pipe((0,Um.Z)(t));const[a,l]=function yv(n){return(0,mi.m)(n.addEventListener)&&(0,mi.m)(n.removeEventListener)}(n)?bv.map(d=>s=>n[d](o,s,e)):function ay(n){return(0,mi.m)(n.addListener)&&(0,mi.m)(n.removeListener)}(n)?_v.map(qm(n,o)):function id(n){return(0,mi.m)(n.on)&&(0,mi.m)(n.off)}(n)?ry.map(qm(n,o)):[];if(!a&&(0,gv.z)(n))return(0,Bt.z)(d=>Qa(d,o,e))((0,hs.Xf)(n));if(!a)throw new TypeError("Invalid event target");return new Bi.y(d=>{const s=(...r)=>d.next(1l(s)})}function qm(n,o){return e=>t=>n[e](o,t)}var sy=x(4408);const nd={schedule(n){let o=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=nd;t&&(o=t.requestAnimationFrame,e=t.cancelAnimationFrame);const a=o(l=>{e=void 0,n(l)});return new Rt.w0(()=>null==e?void 0:e(a))},requestAnimationFrame(...n){const{delegate:o}=nd;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:o}=nd;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame)(...n)},delegate:void 0};var Gm=x(7565);const op=new class gM extends Gm.v{flush(o){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let a;o=o||t.shift();do{if(a=o.execute(o.state,o.delay))break}while((o=t[0])&&o.id===e&&t.shift());if(this._active=!1,a){for(;(o=t[0])&&o.id===e&&t.shift();)o.unsubscribe();throw a}}}(class Cv extends sy.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}requestAsyncId(o,e,t=0){return null!==t&&t>0?super.requestAsyncId(o,e,t):(o.actions.push(this),o._scheduled||(o._scheduled=nd.requestAnimationFrame(()=>o.flush(void 0))))}recycleAsyncId(o,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(o,e,t);o.actions.some(a=>a.id===e)||(nd.cancelAnimationFrame(e),o._scheduled=void 0)}});let Wm,Ka=1;const _u={};function wa(n){return n in _u&&(delete _u[n],!0)}const Aa={setImmediate(n){const o=Ka++;return _u[o]=!0,Wm||(Wm=Promise.resolve()),Wm.then(()=>wa(o)&&n()),o},clearImmediate(n){wa(n)}},{setImmediate:ly,clearImmediate:cy}=Aa,lp={setImmediate(...n){const{delegate:o}=lp;return((null==o?void 0:o.setImmediate)||ly)(...n)},clearImmediate(n){const{delegate:o}=lp;return((null==o?void 0:o.clearImmediate)||cy)(n)},delegate:void 0},Zm=new class Av extends Gm.v{flush(o){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let a;o=o||t.shift();do{if(a=o.execute(o.state,o.delay))break}while((o=t[0])&&o.id===e&&t.shift());if(this._active=!1,a){for(;(o=t[0])&&o.id===e&&t.shift();)o.unsubscribe();throw a}}}(class wv extends sy.o{constructor(o,e){super(o,e),this.scheduler=o,this.work=e}requestAsyncId(o,e,t=0){return null!==t&&t>0?super.requestAsyncId(o,e,t):(o.actions.push(this),o._scheduled||(o._scheduled=lp.setImmediate(o.flush.bind(o,void 0))))}recycleAsyncId(o,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(o,e,t);o.actions.some(a=>a.id===e)||(lp.clearImmediate(e),o._scheduled=void 0)}});var rd=x(4986),cp=x(2805);function uy(n,o=rd.z){return function vv(n){return(0,hn.e)((o,e)=>{let t=!1,a=null,l=null,d=!1;const s=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const c=a;a=null,e.next(c)}d&&e.complete()},r=()=>{l=null,d&&e.complete()};o.subscribe((0,yn.x)(e,c=>{t=!0,a=c,l||(0,hs.Xf)(n(c)).subscribe(l=(0,yn.x)(e,s,r))},()=>{d=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,cp.H)(n,o))}let Ro=(()=>{class n{constructor(e,t,a){this._ngZone=e,this._platform=t,this._scrolled=new Pe.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}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 a=e>0?this._scrolled.pipe(uy(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Qe.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const a=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,Gt.h)(l=>!l||a.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((a,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let a=Zi(t),l=e.getElementRef().nativeElement;do{if(a==l)return!0}while(a=a.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Qa(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(gi),i.LFG(T.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Vl=(()=>{class n{constructor(e,t,a,l){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=a,this.dir=l,this._destroyed=new Pe.x,this._elementScrolled=new Bi.y(d=>this.ngZone.runOutsideAngular(()=>Qa(this.elementRef.nativeElement,"scroll").pipe(nt(this._destroyed)).subscribe(d)))}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,a=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=a?e.end:e.start),null==e.right&&(e.right=a?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),a&&0!=Oc()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Oc()?e.left=e.right:1==Oc()&&(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;qw()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",a="right",l=this.elementRef.nativeElement;if("top"==e)return l.scrollTop;if("bottom"==e)return l.scrollHeight-l.clientHeight-l.scrollTop;const d=this.dir&&"rtl"==this.dir.value;return"start"==e?e=d?a:t:"end"==e&&(e=d?t:a),d&&2==Oc()?e==t?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:d&&1==Oc()?e==t?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==t?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ro),i.Y36(i.R0b),i.Y36(Mi,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),va=(()=>{class n{constructor(e,t,a){this._platform=e,this._change=new Pe.x,this._changeListener=l=>{this._change.next(l)},this._document=a,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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:a}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+a,right:e.left+t,height:a,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),a=e.documentElement,l=a.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||a.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||a.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(uy(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(gi),i.LFG(i.R0b),i.LFG(T.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),es=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ad=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl,es],vl,es]}),n})();class Qm{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 sd extends Qm{constructor(o,e,t,a){super(),this.component=o,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=a}}class Lo extends Qm{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 Pv extends Qm{constructor(o){super(),this.element=o instanceof i.SBq?o.nativeElement:o}}class Km{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof sd?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof Lo?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof Pv?(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 Rv extends Km{constructor(o,e,t,a,l){super(),this.outletElement=o,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=a,this.attachDomPortal=d=>{const s=d.element,r=this._document.createComment("dom-portal");s.parentNode.insertBefore(r,s),this.outletElement.appendChild(s),this._attachedPortal=d,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(s,r)})},this._document=l}attachComponentPortal(o){const t=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component);let a;return o.viewContainerRef?(a=o.viewContainerRef.createComponent(t,o.viewContainerRef.length,o.injector||o.viewContainerRef.injector),this.setDisposeFn(()=>a.destroy())):(a=t.create(o.injector||this._defaultInjector||i.zs3.NULL),this._appRef.attachView(a.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(a.hostView),a.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(a)),this._attachedPortal=o,a}attachTemplatePortal(o){let e=o.viewContainerRef,t=e.createEmbeddedView(o.templateRef,o.context);return t.rootNodes.forEach(a=>this.outletElement.appendChild(a)),t.detectChanges(),this.setDisposeFn(()=>{let a=e.indexOf(t);-1!==a&&e.remove(a)}),this._attachedPortal=o,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(o){return o.hostView.rootNodes[0]}}let Lv=(()=>{class n extends Lo{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})(),ts=(()=>{class n extends Km{constructor(e,t,a){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=l=>{const d=l.element,s=this._document.createComment("dom-portal");l.setAttachedHost(this),d.parentNode.insertBefore(s,d),this._getRootNode().appendChild(d),this._attachedPortal=l,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(d,s)})},this._document=a}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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),d=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=e,this._attachedRef=d,this.attached.emit(d),d}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(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),jl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var wi=x(6451);const Xm=qw();class my{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=en(-this._previousScrollPosition.left),o.style.top=en(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const o=this._document.documentElement,t=o.style,a=this._document.body.style,l=t.scrollBehavior||"",d=a.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),Xm&&(t.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Xm&&(t.scrollBehavior=l,a.scrollBehavior=d)}}_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 eg{constructor(o,e,t,a){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=a,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 dp{enable(){}disable(){}attach(){}}function Ps(n,o){return o.some(e=>n.bottome.bottom||n.righte.right)}function gy(n,o){return o.some(e=>n.tope.bottom||n.lefte.right)}class Vv{constructor(o,e,t,a){this._scrollDispatcher=o,this._viewportRuler=e,this._ngZone=t,this._config=a,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:a}=this._viewportRuler.getViewportSize();Ps(e,[{width:t,height:a,bottom:a,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 od=(()=>{class n{constructor(e,t,a,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this.noop=()=>new dp,this.close=d=>new eg(this._scrollDispatcher,this._ngZone,this._viewportRuler,d),this.block=()=>new my(this._viewportRuler,this._document),this.reposition=d=>new Vv(this._scrollDispatcher,this._viewportRuler,this._ngZone,d),this._document=l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ro),i.LFG(va),i.LFG(i.R0b),i.LFG(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class up{constructor(o){if(this.scrollStrategy=new dp,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 by{constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}}class ht{constructor(o,e,t,a,l,d,s,r,c){this._portalOutlet=o,this._host=e,this._pane=t,this._config=a,this._ngZone=l,this._keyboardDispatcher=d,this._document=s,this._location=r,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new Pe.x,this._attachments=new Pe.x,this._detachments=new Pe.x,this._locationChanges=Rt.w0.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Pe.x,this._outsidePointerEvents=new Pe.x,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(o){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(o);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,Yt.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=en(this._config.width),o.height=en(this._config.height),o.minWidth=en(this._config.minWidth),o.minHeight=en(this._config.minHeight),o.maxWidth=en(this._config.maxWidth),o.maxHeight=en(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;!o||(o.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{o.addEventListener("transitionend",this._backdropTransitionendHandler)}),o.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(o)},500)))}_toggleClasses(o,e,t){const a=Mh(e||[]).filter(l=>!!l);a.length&&(t?o.classList.add(...a):o.classList.remove(...a))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const o=this._ngZone.onStable.pipe(nt((0,wi.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.removeEventListener("click",this._backdropClickHandler),o.removeEventListener("transitionend",this._backdropTransitionendHandler),o.remove(),this._backdropElement===o&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let tg=(()=>{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||Vc()){const a=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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,a=this._containerRect,l=[];let d;for(let s of this._preferredPositions){let r=this._getOriginPoint(o,a,s),c=this._getOverlayPoint(r,e,s),u=this._getOverlayFit(c,e,t,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,r);this._canFitWithFlexibleDimensions(u,c,t)?l.push({position:s,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,s)}):(!d||d.overlayFit.visibleArear&&(r=u,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(d.position,d.originPoint);this._applyPosition(d.position,d.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Fl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(yy),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 a,l;if("center"==t.originX)a=o.left+o.width/2;else{const d=this._isRtl()?o.right:o.left,s=this._isRtl()?o.left:o.right;a="start"==t.originX?d:s}return e.left<0&&(a-=e.left),l="center"==t.originY?o.top+o.height/2:"top"==t.originY?o.top:o.bottom,e.top<0&&(l-=e.top),{x:a,y:l}}_getOverlayPoint(o,e,t){let a,l;return a="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:o.x+a,y:o.y+l}}_getOverlayFit(o,e,t,a){const l=Cu(e);let{x:d,y:s}=o,r=this._getOffset(a,"x"),c=this._getOffset(a,"y");r&&(d+=r),c&&(s+=c);let f=0-s,b=s+l.height-t.height,j=this._subtractOverflows(l.width,0-d,d+l.width-t.width),ee=this._subtractOverflows(l.height,f,b),pe=j*ee;return{visibleArea:pe,isCompletelyWithinViewport:l.width*l.height===pe,fitsInViewportVertically:ee===l.height,fitsInViewportHorizontally:j==l.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){const a=t.bottom-e.y,l=t.right-e.x,d=yu(this._overlayRef.getConfig().minHeight),s=yu(this._overlayRef.getConfig().minWidth),c=o.fitsInViewportHorizontally||null!=s&&s<=l;return(o.fitsInViewportVertically||null!=d&&d<=a)&&c}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 a=Cu(e),l=this._viewportRect,d=Math.max(o.x+a.width-l.width,0),s=Math.max(o.y+a.height-l.height,0),r=Math.max(l.top-t.top-o.y,0),c=Math.max(l.left-t.left-o.x,0);let u=0,h=0;return u=a.width<=l.width?c||-d:o.xj&&!this._isInitialRender&&!this._growAfterOpen&&(d=o.y-j/2)}if("end"===e.overlayX&&!a||"start"===e.overlayX&&a)f=t.width-o.x+this._viewportMargin,u=o.x-this._viewportMargin;else if("start"===e.overlayX&&!a||"end"===e.overlayX&&a)h=o.x,u=t.right-o.x;else{const b=Math.min(t.right-o.x+t.left,o.x),j=this._lastBoundingBoxSize.width;u=2*b,h=o.x-b,u>j&&!this._isInitialRender&&!this._growAfterOpen&&(h=o.x-j/2)}return{top:d,left:h,bottom:s,right:f,width:u,height:l}}_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 a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,d=this._overlayRef.getConfig().maxWidth;a.height=en(t.height),a.top=en(t.top),a.bottom=en(t.bottom),a.width=en(t.width),a.left=en(t.left),a.right=en(t.right),a.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",a.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",l&&(a.maxHeight=en(l)),d&&(a.maxWidth=en(d))}this._lastBoundingBoxSize=t,Fl(this._boundingBox.style,a)}_resetBoundingBoxStyles(){Fl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Fl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){const t={},a=this._hasExactPosition(),l=this._hasFlexibleDimensions,d=this._overlayRef.getConfig();if(a){const u=this._viewportRuler.getViewportScrollPosition();Fl(t,this._getExactOverlayY(e,o,u)),Fl(t,this._getExactOverlayX(e,o,u))}else t.position="static";let s="",r=this._getOffset(e,"x"),c=this._getOffset(e,"y");r&&(s+=`translateX(${r}px) `),c&&(s+=`translateY(${c}px)`),t.transform=s.trim(),d.maxHeight&&(a?t.maxHeight=en(d.maxHeight):l&&(t.maxHeight="")),d.maxWidth&&(a?t.maxWidth=en(d.maxWidth):l&&(t.maxWidth="")),Fl(this._pane.style,t)}_getExactOverlayY(o,e,t){let a={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===o.overlayY?a.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":a.top=en(l.y),a}_getExactOverlayX(o,e,t){let d,a={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,o);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),d=this._isRtl()?"end"===o.overlayX?"left":"right":"end"===o.overlayX?"right":"left","right"===d?a.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":a.left=en(l.x),a}_getScrollVisibility(){const o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:gy(o,t),isOriginOutsideView:Ps(o,t),isOverlayClipped:gy(e,t),isOverlayOutsideView:Ps(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,a)=>t-Math.max(a,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&&Mh(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 Fl(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function yu(n){if("number"!=typeof n&&null!=n){const[o,e]=n.split(Fv);return e&&"px"!==e?null:parseFloat(o)}return n||null}function Cu(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 Pi="cdk-global-overlay-wrapper";class SM{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(Pi),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:a,height:l,maxWidth:d,maxHeight:s}=t,r=!("100%"!==a&&"100vw"!==a||d&&"100%"!==d&&"100vw"!==d),c=!("100%"!==l&&"100vh"!==l||s&&"100%"!==s&&"100vh"!==s);o.position=this._cssPosition,o.marginLeft=r?"0":this._leftOffset,o.marginTop=c?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=this._rightOffset,r?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=c?"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(Pi),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}}let Cy=(()=>{class n{constructor(e,t,a,l){this._viewportRuler=e,this._document=t,this._platform=a,this._overlayContainer=l}global(){return new SM}flexibleConnectedTo(e){return new bu(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(va),i.LFG(T.K0),i.LFG(gi),i.LFG(tg))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wy=(()=>{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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nv=(()=>{class n extends wy{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=a=>{const l=this._attachedOverlays;for(let d=l.length-1;d>-1;d--)if(l[d]._keydownEvents.observers.length>0){const s=l[d]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(a)):s.next(a);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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(T.K0),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ay=(()=>{class n extends wy{constructor(e,t,a){super(e),this._platform=t,this._ngZone=a,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=jr(l)},this._clickListener=l=>{const d=jr(l),s="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:d;this._pointerDownEventTarget=null;const r=this._attachedOverlays.slice();for(let c=r.length-1;c>-1;c--){const u=r[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(d)||u.overlayElement.contains(s))break;const h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(l)):h.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(gi),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vy=0,Cr=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=a,this._positionBuilder=l,this._keyboardDispatcher=d,this._injector=s,this._ngZone=r,this._document=c,this._directionality=u,this._location=h,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),a=this._createPaneElement(t),l=this._createPortalOutlet(a),d=new up(e);return d.direction=d.direction||this._directionality.value,new ht(l,t,a,d,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-"+vy++,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 Rv(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(od),i.LFG(tg),i.LFG(i._Vd),i.LFG(Cy),i.LFG(Nv),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(T.K0),i.LFG(Mi),i.LFG(T.Ye),i.LFG(Ay))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ty=[{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"}],xy=new i.OlP("cdk-connected-overlay-scroll-strategy");let My=(()=>{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})(),Sy=(()=>{class n{constructor(e,t,a,l,d){this._overlay=e,this._dir=d,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Rt.w0.EMPTY,this._attachSubscription=Rt.w0.EMPTY,this._detachSubscription=Rt.w0.EMPTY,this._positionSubscription=Rt.w0.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 Lo(t,a),this._scrollStrategyFactory=l,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=We(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=We(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=We(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=We(e)}get push(){return this._push}set push(e){this._push=We(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=Ty);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&&!on(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 up({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(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.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 My?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 fy(n,o=!1){return(0,hn.e)((e,t)=>{let a=0;e.subscribe((0,yn.x)(t,l=>{const d=n(l,a++);(d||o)&&t.next(l),!d&&t.complete()}))})}(()=>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(Cr),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(xy),i.Y36(Mi,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 Yv={provide:xy,deps:[Cr],useFactory:function wu(n){return()=>n.scrollStrategies.reposition()}};let Au=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Cr,Yv],imports:[[vl,jl,ad],ad]}),n})();const hp=["connectionContainer"],Ey=["inputContainer"],Dy=["label"];function Hy(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 zv(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 vu(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 Tu(n,o){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function Uv(n,o){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function qv(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,vu,4,1,"ng-container",12),i.YNc(3,Tu,1,0,"ng-content",12),i.YNc(4,Uv,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 Gv(n,o){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function ky(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 Py(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 Ry(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 Wv(n,o){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,Ry,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 Ly=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Zv=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let $v=0;const Jv=new i.OlP("MatError");let Io=(()=>{class n{constructor(e,t){this.id="mat-error-"+$v++,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:Jv,useExisting:n}])]}),n})();const DM={transitionMessages:Zt("transitionMessages",[Tt("enter",Le({opacity:1,transform:"translateY(0%)"})),mt("void => enter",[Le({opacity:0,transform:"translateY(-5px)"}),_t("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),Kv=0;const ng=new i.OlP("MatHint");let xu=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+Kv++}}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:ng,useExisting:n}])]}),n})(),is=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),Xv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const eT=new i.OlP("MatPrefix"),Iy=new i.OlP("MatSuffix");let fp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:Iy,useExisting:n}])]}),n})(),Oy=0;const iT=ya(class{constructor(n){this._elementRef=n}},"primary"),By=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),mp=new i.OlP("MatFormField");let Wn=(()=>{class n extends iT{constructor(e,t,a,l,d,s,r){super(e),this._changeDetectorRef=t,this._dir=a,this._defaults=l,this._platform=d,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Pe.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Oy++,this._labelId="mat-form-field-label-"+Oy++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==r,this.appearance=l&&l.appearance?l.appearance:"legacy",this._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.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=We(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(Jt(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(nt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,wi.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jt(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jt(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(nt(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,Qa(this._label.nativeElement,"transitionend").pipe((0,Yt.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(l=>"start"===l.align):null,a=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.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,a=".mat-form-field-outline-start",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=t.querySelectorAll(`${a}, ${l}`);for(let h=0;h0?.75*j+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,Ao],ot]}),n})();function gp(n){return n&&"function"==typeof n.connect}class Fy{applyChanges(o,e,t,a,l){o.forEachOperation((d,s,r)=>{let c,u;if(null==d.previousIndex){const h=t(d,s,r);c=e.createEmbeddedView(h.templateRef,h.context,h.index),u=1}else null==r?(e.remove(s),u=3):(c=e.get(s),e.move(c,r),u=2);l&&l({context:null==c?void 0:c.context,operation:u,record:d})})}detach(){}}class Ri{constructor(o=!1,e,t=!0){this._multiple=o,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Pe.x,e&&e.length&&(o?e.forEach(a=>this._markSelected(a)):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 ag=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let a of this._listeners)a(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 Mu=new i.OlP("_ViewRepeater");var sg=x(4742),nT=x(1810);function _p(...n){const o=(0,fs.jO)(n),{args:e,keys:t}=(0,sg.D)(n),a=new Bi.y(l=>{const{length:d}=e;if(!d)return void l.complete();const s=new Array(d);let r=d,c=d;for(let u=0;u{h||(h=!0,c--),s[u]=f},()=>r--,void 0,()=>{(!r||!h)&&(c||l.next(t?(0,nT.n)(t,s):s),l.complete())}))}});return o?a.pipe((0,Um.Z)(o)):a}let Ny=(()=>{class n{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=a=>{},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})(),zl=(()=>{class n extends Ny{}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 Zn=new i.OlP("NgValueAccessor"),aT={provide:Zn,useExisting:(0,i.Gpc)(()=>Ln),multi:!0},oT=new i.OlP("CompositionEventMode");let Ln=(()=>{class n extends Ny{constructor(e,t,a){super(e,t),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function sT(){const n=(0,T.q)()?(0,T.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(oT,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(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[i._Bn([aT]),i.qOj]}),n})();function Rs(n){return null==n||0===n.length}function zy(n){return null!=n&&"number"==typeof n.length}const ln=new i.OlP("NgValidators"),Ls=new i.OlP("NgAsyncValidators"),lT=/^(?=.{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 Ni{static min(o){return function Uy(n){return o=>{if(Rs(o.value)||Rs(n))return null;const e=parseFloat(o.value);return!isNaN(e)&&e{if(Rs(o.value)||Rs(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 yp(o)}static requiredTrue(o){return function og(n){return!0===n.value?null:{required:!0}}(o)}static email(o){return function Cp(n){return Rs(n.value)||lT.test(n.value)?null:{email:!0}}(o)}static minLength(o){return function qy(n){return o=>Rs(o.value)||!zy(o.value)?null:o.value.lengthzy(o.value)&&o.value.length>n?{maxlength:{requiredLength:n,actualLength:o.value.length}}:null}(o)}static pattern(o){return function wp(n){if(!n)return Ap;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(Rs(t.value))return null;const a=t.value;return o.test(a)?null:{pattern:{requiredPattern:e,actualValue:a}}}}(o)}static nullValidator(o){return null}static compose(o){return Jy(o)}static composeAsync(o){return Qy(o)}}function yp(n){return Rs(n.value)?{required:!0}:null}function Ap(n){return null}function lg(n){return null!=n}function Wy(n){const o=(0,i.QGY)(n)?(0,xn.D)(n):n;return(0,i.CqO)(o),o}function cg(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 Zy(n,o){return o.map(e=>e(n))}function cT(n){return n.map(o=>function $y(n){return!n.validate}(o)?o:e=>o.validate(e))}function Jy(n){if(!n)return null;const o=n.filter(lg);return 0==o.length?null:function(e){return cg(Zy(e,o))}}function Ul(n){return null!=n?Jy(cT(n)):null}function Qy(n){if(!n)return null;const o=n.filter(lg);return 0==o.length?null:function(e){return _p(Zy(e,o).map(Wy)).pipe((0,ft.U)(cg))}}function Oo(n){return null!=n?Qy(cT(n)):null}function ld(n,o){return null===n?[o]:Array.isArray(n)?[...n,o]:[n,o]}function Ky(n){return n._rawValidators}function dT(n){return n._rawAsyncValidators}function vp(n){return n?Array.isArray(n)?n:[n]:[]}function Tp(n,o){return Array.isArray(n)?n.includes(o):n===o}function Xy(n,o){const e=vp(o);return vp(n).forEach(a=>{Tp(e,a)||e.push(a)}),e}function eC(n,o){return vp(o).filter(e=>!Tp(n,e))}class tC{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=Ul(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Oo(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 Zr extends tC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $n extends tC{get formDirective(){return null}get path(){return null}}class xp{constructor(o){this._cd=o}is(o){var e,t,a;return"submitted"===o?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(a=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===a?void 0:a[o])}}let sr=(()=>{class n extends xp{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Zr,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})(),ug=(()=>{class n extends xp{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($n,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 Eu(n,o){return[...o.path,n]}function Dp(n,o){Hp(n,o),o.valueAccessor.writeValue(n.value),function mT(n,o){o.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&rC(n,o)})}(n,o),function _T(n,o){const e=(t,a)=>{o.valueAccessor.writeValue(t),a&&o.viewToModelUpdate(t)};n.registerOnChange(e),o._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,o),function gT(n,o){o.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&rC(n,o),"submit"!==n.updateOn&&n.markAsTouched()})}(n,o),function nC(n,o){if(o.valueAccessor.setDisabledState){const e=t=>{o.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),o._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,o)}function Du(n,o,e=!0){const t=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(t),o.valueAccessor.registerOnTouched(t)),Hu(n,o),n&&(o._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function dd(n,o){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function Hp(n,o){const e=Ky(n);null!==o.validator?n.setValidators(ld(e,o.validator)):"function"==typeof e&&n.setValidators([e]);const t=dT(n);null!==o.asyncValidator?n.setAsyncValidators(ld(t,o.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const a=()=>n.updateValueAndValidity();dd(o._rawValidators,a),dd(o._rawAsyncValidators,a)}function Hu(n,o){let e=!1;if(null!==n){if(null!==o.validator){const a=Ky(n);if(Array.isArray(a)&&a.length>0){const l=a.filter(d=>d!==o.validator);l.length!==a.length&&(e=!0,n.setValidators(l))}}if(null!==o.asyncValidator){const a=dT(n);if(Array.isArray(a)&&a.length>0){const l=a.filter(d=>d!==o.asyncValidator);l.length!==a.length&&(e=!0,n.setAsyncValidators(l))}}}const t=()=>{};return dd(o._rawValidators,t),dd(o._rawAsyncValidators,t),e}function rC(n,o){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function aC(n,o){Hp(n,o)}function kp(n,o){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function fg(n,o){n._syncPendingControls(),o.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Pp(n,o){if(!o)return null;let e,t,a;return Array.isArray(o),o.forEach(l=>{l.constructor===Ln?e=l:function sC(n){return Object.getPrototypeOf(n.constructor)===zl}(l)?t=l:a=l}),a||t||e||null}function Rp(n,o){const e=n.indexOf(o);e>-1&&n.splice(e,1)}const ud="VALID",Pu="INVALID",ql="PENDING",Ru="DISABLED";function Gl(n){return(Lp(n)?n.validators:n)||null}function oC(n){return Array.isArray(n)?Ul(n):n||null}function Lu(n,o){return(Lp(o)?o.asyncValidators:n)||null}function Ta(n){return Array.isArray(n)?Oo(n):n||null}function Lp(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const hd=n=>n instanceof Si,Bo=n=>n instanceof Ip,lC=n=>n instanceof gg;function cC(n){return hd(n)?n.value:n.getRawValue()}function dC(n,o){const e=Bo(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 Iu(n,o){Bo(n),n._forEachChild((t,a)=>{if(void 0===o[a])throw new i.vHH(1002,"")})}class pd{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=oC(this._rawValidators),this._composedAsyncValidatorFn=Ta(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===ud}get invalid(){return this.status===Pu}get pending(){return this.status==ql}get disabled(){return this.status===Ru}get enabled(){return this.status!==Ru}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=oC(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=Ta(o)}addValidators(o){this.setValidators(Xy(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(Xy(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(eC(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(eC(o,this._rawAsyncValidators))}hasValidator(o){return Tp(this._rawValidators,o)}hasAsyncValidator(o){return Tp(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=ql,!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=Ru,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=ud,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===ud||this.status===ql)&&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()?Ru:ud}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=ql,this._hasOwnPendingAsyncValidator=!0;const e=Wy(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 CT(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(a=>{t=Bo(t)?t.controls.hasOwnProperty(a)?t.controls[a]:null:lC(t)&&t.at(a)||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()?Ru:this.errors?Pu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ql)?ql:this._anyControlsHaveStatus(Pu)?Pu:ud}_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){Lp(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Si extends pd{constructor(o=null,e,t){super(Gl(e),Lu(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}),Lp(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){Rp(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){Rp(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 Ip extends pd{constructor(o,e,t){super(Gl(e),Lu(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={}){Iu(this,o),Object.keys(o).forEach(t=>{dC(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,a)=>{t.reset(o[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,t)=>(o[t]=cC(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((a,l)=>{t=e(t,a,l)}),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 gg extends pd{constructor(o,e,t){super(Gl(e),Lu(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={}){Iu(this,o),o.forEach((t,a)=>{dC(this,a),this.at(a).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((t,a)=>{this.at(a)&&this.at(a).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((t,a)=>{t.reset(o[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>cC(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 uC={provide:$n,useExisting:(0,i.Gpc)(()=>Vo)},Wl=(()=>Promise.resolve(null))();let Vo=(()=>{class n extends $n{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Ip({},Ul(e),Oo(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Wl.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Dp(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Wl.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Wl.then(()=>{const t=this._findContainer(e.path),a=new Ip({});aC(a,e),t.registerControl(e.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Wl.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Wl.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,fg(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(ln,10),i.Y36(Ls,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(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([uC]),i.qOj]}),n})();const _g={provide:Zr,useExisting:(0,i.Gpc)(()=>fd)},gC=(()=>Promise.resolve(null))();let fd=(()=>{class n extends Zr{constructor(e,t,a,l,d){super(),this._changeDetectorRef=d,this.control=new Si,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(a),this.valueAccessor=Pp(0,l)}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),kp(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(){Dp(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){gC.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,a=""===t||t&&"false"!==t;gC.then(()=>{var l;a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()})}_getPath(e){return this._parent?Eu(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($n,9),i.Y36(ln,10),i.Y36(Ls,10),i.Y36(Zn,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([_g]),i.qOj,i.TTD]}),n})(),_C=(()=>{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})(),Cg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const Bp=new i.OlP("NgModelWithFormControlWarning"),TT={provide:Zr,useExisting:(0,i.Gpc)(()=>wr)};let wr=(()=>{class n extends Zr{constructor(e,t,a,l){super(),this._ngModelWarningConfig=l,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Pp(0,a)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Du(t,this,!1),Dp(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}kp(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Du(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(ln,10),i.Y36(Ls,10),i.Y36(Zn,10),i.Y36(Bp,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([TT]),i.qOj,i.TTD]}),n})();const yC={provide:$n,useExisting:(0,i.Gpc)(()=>$i)};let $i=(()=>{class n extends $n{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&&(Hu(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 Dp(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Du(e.control||null,e,!1),Rp(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,fg(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,a=this.form.get(e.path);t!==a&&(Du(t||null,e),hd(a)&&(Dp(a,e),e.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);aC(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function bT(n,o){return Hu(n,o)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hp(this.form,this),this._oldForm&&Hu(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ln,10),i.Y36(Ls,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([yC]),i.qOj,i.TTD]}),n})();const MT={provide:Zr,useExisting:(0,i.Gpc)(()=>Ou)};let Ou=(()=>{class n extends Zr{constructor(e,t,a,l,d){super(),this._ngModelWarningConfig=d,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(a),this.valueAccessor=Pp(0,l)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),kp(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 Eu(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($n,13),i.Y36(ln,10),i.Y36(Ls,10),i.Y36(Zn,10),i.Y36(Bp,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([MT]),i.qOj,i.TTD]}),n})(),jo=(()=>{class n{constructor(){this._validator=Ap}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):Ap,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 kT={provide:ln,useExisting:(0,i.Gpc)(()=>ns),multi:!0};let ns=(()=>{class n extends jo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function MC(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>yp}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([kT]),i.qOj]}),n})(),DC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Cg]]}),n})(),Pg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[DC]}),n})(),ju=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Bp,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[DC]}),n})(),jM=(()=>{class n{group(e,t=null){const a=this._reduceControls(e);let s,l=null,d=null;return null!=t&&(function HC(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(l=null!=t.validators?t.validators:null,d=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(l=null!=t.validator?t.validator:null,d=null!=t.asyncValidator?t.asyncValidator:null)),new Ip(a,{asyncValidators:d,updateOn:s,validators:l})}control(e,t,a){return new Si(e,t,a)}array(e,t,a){const l=e.map(d=>this._createControl(d));return new gg(l,t,a)}_reduceControls(e){const t={};return Object.keys(e).forEach(a=>{t[a]=this._createControl(e[a])}),t}_createControl(e){return hd(e)||Bo(e)||lC(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:ju}),n})();const FM=["trigger"],NM=["panel"];function YM(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 zM(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 UM(n,o){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function qM(n,o){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,zM,2,1,"span",10),i.YNc(2,UM,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 Fp(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(a){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(a.toState)})("keydown",function(a){return i.CHM(e),i.oxw()._handleKeydown(a)}),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 GM=[[["mat-select-trigger"]],"*"],Rg=["mat-select-trigger","*"],Zl={transformPanelWrap:Zt("transformPanelWrap",[mt("* => void",rr("@transformPanel",[ru()],{optional:!0}))]),transformPanel:Zt("transformPanel",[Tt("void",Le({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Tt("showing",Le({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Tt("showing-multiple",Le({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),mt("void => *",_t("120ms cubic-bezier(0, 0, 0.2, 1)")),mt("* => void",_t("100ms 25ms linear",Le({opacity:0})))])};let Np=0;const Ig=new i.OlP("mat-select-scroll-strategy"),QM=new i.OlP("MAT_SELECT_CONFIG"),KM={provide:Ig,deps:[Cr],useFactory:function JM(n){return()=>n.scrollStrategies.reposition()}};class FT{constructor(o,e){this.source=o,this.value=e}}const Og=br(Il(qn(Bm(class{constructor(n,o,e,t,a){this._elementRef=n,this._defaultErrorStateMatcher=o,this._parentForm=e,this._parentFormGroup=t,this.ngControl=a}})))),NT=new i.OlP("MatSelectTrigger");let YT=(()=>{class n extends Og{constructor(e,t,a,l,d,s,r,c,u,h,f,b,j,ee){var pe,Ke,Dt;super(d,l,r,c,h),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=a,this._dir=s,this._parentFormField=u,this._liveAnnouncer=j,this._defaultOptions=ee,this._panelOpen=!1,this._compareWith=(ut,Wt)=>ut===Wt,this._uid="mat-select-"+Np++,this._triggerAriaLabelledBy=null,this._destroy=new Pe.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Np++,this._panelDoneAnimatingStream=new Pe.x,this._overlayPanelClass=(null===(pe=this._defaultOptions)||void 0===pe?void 0:pe.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Dt=null===(Ke=this._defaultOptions)||void 0===Ke?void 0:Ke.disableOptionCentering)&&void 0!==Dt&&Dt,this.ariaLabel="",this.optionSelectionChanges=ps(()=>{const ut=this.options;return ut?ut.changes.pipe(Jt(ut),(0,qi.w)(()=>(0,wi.T)(...ut.map(Wt=>Wt.onSelectionChange)))):this._ngZone.onStable.pipe((0,Yt.q)(1),(0,qi.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Gt.h)(ut=>ut),(0,ft.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Gt.h)(ut=>!ut),(0,ft.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ee?void 0:ee.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ee.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||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,a,l;return null!==(l=null!==(e=this._required)&&void 0!==e?e:null===(a=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===a?void 0:a.hasValidator(Ni.required))&&void 0!==l&&l}set required(e){this._required=We(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=We(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=We(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Fi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Ri(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(El(),nt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(nt(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Jt(null),nt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){const a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?a.setAttribute("aria-labelledby",e):a.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(void 0!==this._previousControl&&null!==t.disabled&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),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._assignValue(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,a=40===t||38===t||37===t||39===t,l=13===t||32===t,d=this._keyManager;if(!d.isTyping()&&l&&!on(e)||(this.multiple||e.altKey)&&a)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;d.onKeydown(e);const r=this.selected;r&&s!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,a=e.keyCode,l=40===a||38===a,d=t.isTyping();if(l&&e.altKey)e.preventDefault(),this.close();else if(d||13!==a&&32!==a||!t.activeItem||on(e))if(!d&&this._multiple&&65===a&&e.ctrlKey){e.preventDefault();const s=this.options.some(r=>!r.disabled&&!r.selected);this.options.forEach(r=>{r.disabled||(s?r.select():r.deselect())})}else{const s=t.activeItemIndex;t.onKeydown(e),this._multiple&&l&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&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,Yt.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._selectOptionByValue(t)),this._sortValues();else{const t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const t=this.options.find(a=>{if(this._selectionModel.isSelected(a))return!1;try{return null!=a.value&&this._compareWith(a.value,e)}catch(l){return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new Hh(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(nt(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(nt(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,wi.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(nt(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,wi.T)(...this.options.map(t=>t._stateChanges)).pipe(nt(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const a=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(a!==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)),a!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,a)=>this.sortComparator?this.sortComparator(t,a,e):e.indexOf(t)-e.indexOf(a)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(a=>a.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 a=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(a+=" "+this.ariaLabelledby),a}_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(va),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Wr),i.Y36(i.SBq),i.Y36(Mi,8),i.Y36(Vo,8),i.Y36($i,8),i.Y36(mp,8),i.Y36(Zr,10),i.$8M("tabindex"),i.Y36(Ig),i.Y36(IA),i.Y36(QM,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(FM,5),i.Gf(NM,5),i.Gf(Sy,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.trigger=a.first),i.iGM(a=i.CRH())&&(t.panel=a.first),i.iGM(a=i.CRH())&&(t._overlayDir=a.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})(),Ql=(()=>{class n extends YT{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,a){const l=this._getItemHeight();return Math.min(Math.max(0,l*e-t+l/2),a)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(nt(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,Yt.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=zm(e,this.options,this.optionGroups),a=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:function Xb(n,o,e,t){return ne+t?Math.max(0,n-t+o):e}((e+t)*a,a,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 FT(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),a=this._isRtl(),l=this.multiple?56:32;let d;if(this.multiple)d=40;else if(this.disableOptionCentering)d=16;else{let c=this._selectionModel.selected[0]||this.options.first;d=c&&c.group?32:16}a||(d*=-1);const s=0-(e.left+d-(a?l:0)),r=e.right+d-t.width+(a?0:l);s>0?d+=s+8:r>0&&(d-=r+8),this._overlayDir.offsetX=Math.round(d),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,a){const l=this._getItemHeight(),d=(l-this._triggerRect.height)/2,s=Math.floor(256/l);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?e*l:this._scrollTop===a?(e-(this._getItemCount()-s))*l+(l-(this._getItemCount()*l-256)%l):t-l/2,Math.round(-1*r-d))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),a=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,d=a.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;c>d?this._adjustPanelUp(c,d):s>l?this._adjustPanelDown(s,l,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const a=Math.round(e-t);this._scrollTop-=a,this._offsetY-=a,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,a){const l=Math.round(e-t);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=a)return this._scrollTop=a,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),a=Math.min(t*e,256),d=t*e-a;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=zm(s,this.options,this.optionGroups);const r=a/2;this._scrollTop=this._calculateOverlayScroll(s,r,d),this._offsetY=this._calculateOverlayOffsetY(s,r,d),this._checkOverlayWithinViewport(d)}_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,a){if(1&e&&(i.Suo(a,NT,5),i.Suo(a,Po,5),i.Suo(a,Nm,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.customTrigger=l.first),i.iGM(l=i.CRH())&&(t.options=l),i.iGM(l=i.CRH())&&(t.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(l){return t._handleKeydown(l)})("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:pp,useExisting:n},{provide:$b,useExisting:n}]),i.qOj],ngContentSelectors:Rg,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(GM),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,YM,2,1,"span",3),i.YNc(5,qM,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,Fp,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 a=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",a)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[My,T.RF,T.n9,T.ED,Sy,T.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[Zl.transformPanelWrap,Zl.transformPanel]},changeDetection:0}),n})(),Yp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[KM],imports:[[T.ez,Au,sp,ot],es,Yl,sp,ot]}),n})();const PC=new Set;let Fo,zT=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Bg}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function UT(n){if(!PC.has(n))try{Fo||(Fo=document.createElement("style"),Fo.setAttribute("type","text/css"),document.head.appendChild(Fo)),Fo.sheet&&(Fo.sheet.insertRule(`@media ${n} {body{ }}`,0),PC.add(n))}catch(o){console.error(o)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Bg(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let RC=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Pe.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vg(Mh(e)).some(a=>this._registerQuery(a).mql.matches)}observe(e){const a=Vg(Mh(e)).map(d=>this._registerQuery(d).observable);let l=(0,Ws.a)(a);return l=(0,us.z)(l.pipe((0,Yt.q)(1)),l.pipe(pr(1),(0,Kd.b)(0))),l.pipe((0,ft.U)(d=>{const s={matches:!1,breakpoints:{}};return d.forEach(({matches:r,query:c})=>{s.matches=s.matches||r,s.breakpoints[c]=r}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),l={observable:new Bi.y(d=>{const s=r=>this._zone.run(()=>d.next(r));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Jt(t),(0,ft.U)(({matches:d})=>({query:e,matches:d})),nt(this._destroySubject)),mql:t};return this._queries.set(e,l),l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(zT),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Vg(n){return n.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}const LC=["tooltip"],OC="tooltip-panel",zp=Vr({passive:!0}),GT=new i.OlP("mat-tooltip-scroll-strategy"),BC={provide:GT,deps:[Cr],useFactory:function WT(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},ZT=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function $T(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let VC=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=d,this._platform=s,this._ariaDescriber=r,this._focusMonitor=c,this._dir=h,this._defaultOptions=f,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 Pe.x,this._scrollStrategy=u,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(nt(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=We(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Fi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Fi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(nt(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,a])=>{e.removeEventListener(t,a,zp)}),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 sd(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=t.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return a.positionChanges.pipe(nt(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${OC}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(nt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(nt(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(nt(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!on(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),l.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),l.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let a;"above"==t||"below"==t?a={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?a={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(a={originX:"end",originY:"center"});const{x:l,y:d}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:d}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let a;"above"==t?a={overlayX:"center",overlayY:"bottom"}:"below"==t?a={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?a={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:d}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:d}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Yt.q)(1),nt(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:a,originY:l}=e;let d;if(d="center"===t?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===t&&"top"===l?"above":"below",d!==this._currentPosition){const s=this._overlayRef;if(s){const r=`${this._cssClassPrefix}-${OC}-`;s.removePanelClass(r+this._currentPosition),s.addPanelClass(r+d)}this._currentPosition=d}}_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",t=>{var a;const l=t.relatedTarget;(!l||!(null===(a=this._overlayRef)||void 0===a?void 0:a.overlayElement.contains(l)))&&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,a])=>{this._elementRef.nativeElement.addEventListener(t,a,zp)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=this._document.elementFromPoint(e.clientX,e.clientY),a=this._elementRef.nativeElement;t!==a&&!a.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,a=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===e||!t.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.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})(),Kl=(()=>{class n extends VC{constructor(e,t,a,l,d,s,r,c,u,h,f,b){super(e,t,a,l,d,s,r,c,u,h,f,b),this._tooltipComponent=jC}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.SBq),i.Y36(Ro),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(gi),i.Y36(SA),i.Y36(Pn),i.Y36(GT),i.Y36(Mi,8),i.Y36(ZT,8),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),tS=(()=>{class n{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Pe.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,a=this._showAnimation,l=this._hideAnimation;if(t.classList.remove(e?l:a),t.classList.add(e?a:l),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const d=getComputedStyle(t);("0s"===d.getPropertyValue("animation-duration")||"none"===d.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n}),n})(),jC=(()=>{class n extends tS{constructor(e,t,a){super(e,a),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(RC),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&i.Gf(LC,7),2&e){let a;i.iGM(a=i.CRH())&&(t._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("mouseleave",function(l){return t._handleMouseLeave(l)}),2&e&&i.Udp("zoom",t.isVisible()?1:null)},features:[i.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0,1),i.NdJ("animationend",function(l){return t._handleAnimationEnd(l)}),i.ALo(2,"async"),i._uU(3),i.qZA()),2&e){let a;i.ekj("mat-tooltip-handset",null==(a=i.lcZ(2,4,t._isHandset))?null:a.matches),i.Q6J("ngClass",t.tooltipClass),i.xp6(3),i.Oqu(t.message)}},directives:[T.mk],pipes:[T.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),bd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[BC],imports:[[Mo,T.ez,Au,ot],ot,es]}),n})();function JT(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 FC(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(a){return i.CHM(e),i.oxw(2)._changePageSize(a.value)}),i.YNc(2,JT,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 Fu(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 jg(n,o){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,FC,3,6,"mat-form-field",14),i.YNc(4,Fu,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 NC(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 QT(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 Nu=(()=>{class n{constructor(){this.changes=new Pe.x,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,a)=>{if(0==a||0==t)return`0 of ${a}`;const l=e*t;return`${l+1} \u2013 ${l<(a=Math.max(a,0))?Math.min(l+t,a):l+t} of ${a}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nS={provide:Nu,deps:[[new i.FiY,new i.tp0,Nu]],useFactory:function YC(n){return n||new Nu}},rS=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),zC=qn(Nb(class{}));let XT=(()=>{class n extends zC{constructor(e,t,a){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()),a){const{pageSize:l,pageSizeOptions:d,hidePageSize:s,showFirstLastButtons:r}=a;null!=l&&(this._pageSize=l),null!=d&&(this._pageSizeOptions=d),null!=s&&(this._hidePageSize=s),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Fi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Fi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Fi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Fi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=We(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=We(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})(),UC=(()=>{class n extends XT{constructor(e,t,a){super(e,t,a),a&&null!=a.formFieldAppearance&&(this._formFieldAppearance=a.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Nu),i.Y36(i.sBO),i.Y36(rS,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,jg,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,NC,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,QT,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:[Wn,Ql,Po,zt,T.O5,T.sg,Kl],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})(),Up=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[nS],imports:[[T.ez,Ca,Yp,bd,ot]]}),n})();var ex=x(1005);const aS=["mat-menu-item",""];function sS(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const tx=["*"];function oS(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(a){return i.CHM(e),i.oxw()._handleKeydown(a)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(a){return i.CHM(e),i.oxw()._onAnimationStart(a)})("@transformMenu.done",function(a){return i.CHM(e),i.oxw()._onAnimationDone(a)}),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 qp={transformMenu:Zt("transformMenu",[Tt("void",Le({opacity:0,transform:"scale(0.8)"})),mt("void => enter",_t("120ms cubic-bezier(0, 0, 0.2, 1)",Le({opacity:1,transform:"scale(1)"}))),mt("* => void",_t("100ms 25ms linear",Le({opacity:0})))]),fadeInItems:Zt("fadeInItems",[Tt("showing",Le({opacity:1})),mt("void => *",[Le({opacity:0}),_t("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ix=new i.OlP("MatMenuContent"),Yu=new i.OlP("MAT_MENU_PANEL"),Ng=br(qn(class{}));let No=(()=>{class n extends Ng{constructor(e,t,a,l,d){var s;super(),this._elementRef=e,this._document=t,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=d,this.role="menuitem",this._hovered=new Pe.x,this._focused=new Pe.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==l?void 0:l.addItem)||void 0===s||s.call(l,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),a=t.querySelectorAll("mat-icon, .material-icons");for(let l=0;l{class n{constructor(e,t,a,l){this._elementRef=e,this._ngZone=t,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=Rt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Pe.x,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-"+uS++}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=We(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=We(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(a=>{this._classList[a]=!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 To(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Jt(this._directDescendantItems),(0,qi.w)(e=>(0,wi.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const a=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=a.activeItem)||void 0===t?void 0:t._hasFocus())){const l=e.toArray(),d=Math.max(0,Math.min(l.length-1,a.activeItemIndex||0));l[d]&&!l[d].disabled?a.setActiveItem(d):a.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Jt(this._directDescendantItems),(0,qi.w)(t=>(0,wi.T)(...t.map(a=>a._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,a=this._keyManager;switch(t){case 27:on(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)&&a.setFocusOrigin("keyboard"),void a.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const a=this._keyManager;a.setFocusOrigin(e).setFirstItemActive(),!a.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),a=`${this._elevationPrefix}${t}`,l=Object.keys(this._classList).find(d=>d.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(e=this.xPosition,t=this.yPosition){var a;const l=this._classList;l["mat-menu-before"]="before"===e,l["mat-menu-after"]="after"===e,l["mat-menu-above"]="above"===t,l["mat-menu-below"]="below"===t,null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()}_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(Jt(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(ax),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,ix,5),i.Suo(a,No,5),i.Suo(a,No,4)),2&e){let l;i.iGM(l=i.CRH())&&(t.lazyContent=l.first),i.iGM(l=i.CRH())&&(t._allItems=l),i.iGM(l=i.CRH())&&(t.items=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let a;i.iGM(a=i.CRH())&&(t.templateRef=a.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})(),Yg=(()=>{class n extends Gp{constructor(e,t,a,l){super(e,t,a,l),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(ax),i.Y36(i.sBO))},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:Yu,useExisting:n}]),i.qOj],ngContentSelectors:tx,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,oS,3,6,"ng-template"))},directives:[T.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[qp.transformMenu,qp.fadeInItems]},changeDetection:0}),n})();const WC=new i.OlP("mat-menu-scroll-strategy"),ox={provide:WC,deps:[Cr],useFactory:function sx(n){return()=>n.scrollStrategies.reposition()}},zg=Vr({passive:!0});let $C=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u){this._overlay=e,this._element=t,this._viewContainerRef=a,this._menuItemInstance=s,this._dir=r,this._focusMonitor=c,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Rt.w0.EMPTY,this._hoverSubscription=Rt.w0.EMPTY,this._menuCloseSubscription=Rt.w0.EMPTY,this._handleTouchStart=h=>{im(h)||(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=l,this._parentMaterialMenu=d instanceof Gp?d:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,zg),s&&(s._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,zg),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(),a=t.positionStrategy;this._setPosition(a),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 Gp&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(nt(this.menu.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.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 Gp?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Gt.h)(a=>"void"===a.toState),(0,Yt.q)(1),nt(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 up({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=>{const a="start"===t.connectionPair.overlayX?"after":"before",l="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(a,l)):this.menu.setPositionClasses(a,l)})}_setPosition(e){let[t,a]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,d]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,r]=[l,d],[c,u]=[t,a],h=0;this.triggersSubmenu()?(u=t="before"===this.menu.xPosition?"start":"end",a=c="end"===t?"start":"end",h="bottom"===l?8:-8):this.menu.overlapTrigger||(s="top"===l?"bottom":"top",r="top"===d?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:c,overlayY:l,offsetY:h},{originX:a,originY:s,overlayX:u,overlayY:l,offsetY:h},{originX:t,originY:r,overlayX:c,overlayY:d,offsetY:-h},{originX:a,originY:r,overlayX:u,overlayY:d,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Qe.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Gt.h)(d=>d!==this._menuItemInstance),(0,Gt.h)(()=>this._menuOpen)):(0,Qe.of)();return(0,wi.T)(e,a,l,t)}_handleMousedown(e){tm(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,Gt.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,ex.g)(0,Zm)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Gp&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Yt.q)(1),(0,ex.g)(0,Zm),nt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Lo(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(WC),i.Y36(Yu,8),i.Y36(No,10),i.Y36(Mi,8),i.Y36(Pn),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("mousedown",function(l){return t._handleMousedown(l)})("keydown",function(l){return t._handleKeydown(l)}),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})(),Ug=(()=>{class n extends $C{}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})(),Wp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[ox],imports:[[T.ez,ot,yr,Au],es,ot]}),n})();var Zp=x(2843),qg=x(3099);const $p=["*"];let Gg;function Yo(n){var o;return(null===(o=function JC(){if(void 0===Gg&&(Gg=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(Gg=n.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return Gg}())||void 0===o?void 0:o.createHTML(n))||n}function QC(n){return Error(`Unable to find icon with the name "${n}"`)}function KC(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function XC(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Cd{constructor(o,e,t){this.url=o,this.svgText=e,this.options=t}}let Xl=(()=>{class n{constructor(e,t,a,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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=a}addSvgIcon(e,t,a){return this.addSvgIconInNamespace("",e,t,a)}addSvgIconLiteral(e,t,a){return this.addSvgIconLiteralInNamespace("",e,t,a)}addSvgIconInNamespace(e,t,a,l){return this._addSvgIconConfig(e,t,new Cd(a,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,a,l){const d=this._sanitizer.sanitize(i.q3G.HTML,a);if(!d)throw XC(a);const s=Yo(d);return this._addSvgIconConfig(e,t,new Cd("",s,l))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,a){return this._addSvgIconSetConfig(e,new Cd(t,null,a))}addSvgIconSetLiteralInNamespace(e,t,a){const l=this._sanitizer.sanitize(i.q3G.HTML,t);if(!l)throw XC(t);const d=Yo(l);return this._addSvgIconSetConfig(e,new Cd("",d,a))}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 KC(e);const a=this._cachedIconsByUrl.get(t);return a?(0,Qe.of)(Jp(a)):this._loadSvgIconFromConfig(new Cd(e,null)).pipe((0,O.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,ft.U)(l=>Jp(l)))}getNamedSvgIcon(e,t=""){const a=ew(t,e);let l=this._svgIconConfigs.get(a);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(a,l),this._getSvgFromConfig(l);const d=this._iconSetConfigs.get(t);return d?this._getSvgFromIconSetConfigs(e,d):(0,Zp._)(QC(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,Qe.of)(Jp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,ft.U)(t=>Jp(t)))}_getSvgFromIconSetConfigs(e,t){const a=this._extractIconWithNameFromAnySet(e,t);return a?(0,Qe.of)(a):_p(t.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe((0,Yn.K)(s=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,d.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),(0,Qe.of)(null)})))).pipe((0,ft.U)(()=>{const d=this._extractIconWithNameFromAnySet(e,t);if(!d)throw QC(e);return d}))}_extractIconWithNameFromAnySet(e,t){for(let a=t.length-1;a>=0;a--){const l=t[a];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const d=this._svgElementFromConfig(l),s=this._extractSvgIconFromSet(d,e,l.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,O.b)(t=>e.svgText=t),(0,ft.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,Qe.of)(null):this._fetchIcon(e).pipe((0,O.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,a){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const d=l.cloneNode(!0);if(d.removeAttribute("id"),"svg"===d.nodeName.toLowerCase())return this._setSvgAttributes(d,a);if("symbol"===d.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(d),a);const s=this._svgElementFromString(Yo(""));return s.appendChild(d),this._setSvgAttributes(s,a)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const a=t.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(e){const t=this._svgElementFromString(Yo("")),a=e.attributes;for(let l=0;lYo(u)),G(()=>this._inProgressUrlFetches.delete(s)),(0,qg.B)());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,t,a){return this._svgIconConfigs.set(ew(e,t),a),this}_addSvgIconSetConfig(e,t){const a=this._iconSetConfigs.get(e);return a?a.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 a=0;ao?o.pathname+o.search:""}}}),px=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],fS=px.map(n=>`[${n}]`).join(", "),mS=/^url\(['"]?#(.*?)['"]?\)$/;let Yi=(()=>{class n extends ux{constructor(e,t,a,l,d){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=d,this._inline=!1,this._currentIconFetch=Rt.w0.EMPTY,a||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=We(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const a=e.childNodes[t];(1!==a.nodeType||"svg"===a.nodeName.toLowerCase())&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((a,l)=>{a.forEach(d=>{l.setAttribute(d.name,`url('${e}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(fS),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const s=t[l],r=s.getAttribute(d),c=r?r.match(mS):null;if(c){let u=a.get(s);u||(u=[],a.set(s,u)),u.push({name:d,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,a]=this._splitIconName(e);t&&(this._svgNamespace=t),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,t).pipe((0,Yt.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${a}! ${l.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Xl),i.$8M("aria-hidden"),i.Y36(hx),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:$p,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-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})(),zo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();function Is(n){return!!n&&(n instanceof Bi.y||(0,mi.m)(n.lift)&&(0,mi.m)(n.subscribe))}var gS=x(6063);class _S extends Pe.x{constructor(o=1/0,e=1/0,t=gS.l){super(),this._bufferSize=o,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,o),this._windowTime=Math.max(1,e)}next(o){const{isStopped:e,_buffer:t,_infiniteTimeWindow:a,_timestampProvider:l,_windowTime:d}=this;e||(t.push(o),!a&&t.push(l.now()+d)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(o),{_infiniteTimeWindow:t,_buffer:a}=this,l=a.slice();for(let d=0;dnew _S(t,o,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}class p{}let m=(()=>{class n extends p{getTranslation(e){return(0,Qe.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 _=(()=>{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 y(n,o){if(n===o)return!0;if(null===n||null===o)return!1;if(n!=n&&o!=o)return!0;let a,l,d,e=typeof n;if(e==typeof o&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(o))return!1;for(l in d=Object.create(null),n){if(!y(n[l],o[l]))return!1;d[l]=!0}for(l in o)if(!(l in d)&&void 0!==o[l])return!1;return!0}if(!Array.isArray(o))return!1;if((a=n.length)==o.length){for(l=0;l{D(o[t])?t in n?e[t]=k(n[t],o[t]):Object.assign(e,{[t]:o[t]}):Object.assign(e,{[t]:o[t]})}),e}class R{}let N=(()=>{class n extends R{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let a;return a="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,a}getValue(e,t){let a="string"==typeof t?t.split("."):[t];t="";do{t+=a.shift(),!w(e)||!w(e[t])||"object"!=typeof e[t]&&a.length?a.length?t+=".":e=void 0:(e=e[t],t="")}while(a.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(a,l)=>{let d=this.getValue(t,l);return w(d)?d:a}):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 q{}let X=(()=>{class n extends q{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 re{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 ue=new i.OlP("USE_STORE"),Ce=new i.OlP("USE_DEFAULT_LANG"),Fe=new i.OlP("DEFAULT_LANGUAGE"),Ze=new i.OlP("USE_EXTEND");let Ye=(()=>{class n{constructor(e,t,a,l,d,s=!0,r=!1,c=!1,u){this.store=e,this.currentLoader=t,this.compiler=a,this.parser=l,this.missingTranslationHandler=d,this.useDefaultLang=s,this.isolate=r,this.extend=c,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}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,Yt.q)(1)).subscribe(a=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,Qe.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,Yt.q)(1)).subscribe(a=>{this.changeLang(e)}),t):(this.changeLang(e),(0,Qe.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(fx(1),(0,Yt.q)(1));return this.loadingTranslations=t.pipe((0,ft.U)(a=>this.compiler.compileTranslations(a,e)),fx(1),(0,Yt.q)(1)),this.loadingTranslations.subscribe({next:a=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},a),this.translations[e]):a,this.updateLangs(),this.pending=!1},error:a=>{this.pending=!1}}),t}setTranslation(e,t,a=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(a||this.extend)&&this.translations[e]?k(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,a){let l;if(t instanceof Array){let d={},s=!1;for(let r of t)d[r]=this.getParsedResult(e,r,a),Is(d[r])&&(s=!0);return s?_p(t.map(c=>Is(d[c])?d[c]:(0,Qe.of)(d[c]))).pipe((0,ft.U)(c=>{let u={};return c.forEach((h,f)=>{u[t[f]]=h}),u})):d}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),a)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),a)),void 0===l){let d={key:t,translateService:this};void 0!==a&&(d.interpolateParams=a),l=this.missingTranslationHandler.handle(d)}return void 0!==l?l:t}get(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Hr.b)(a=>Is(a=this.getParsedResult(a,e,t))?a:(0,Qe.of)(a)));{let a=this.getParsedResult(this.translations[this.currentLang],e,t);return Is(a)?a:(0,Qe.of)(a)}}getStreamOnTranslationChange(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return(0,us.z)(ps(()=>this.get(e,t)),this.onTranslationChange.pipe((0,qi.w)(a=>{const l=this.getParsedResult(a.translations,e,t);return"function"==typeof l.subscribe?l:(0,Qe.of)(l)})))}stream(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return(0,us.z)(ps(()=>this.get(e,t)),this.onLangChange.pipe((0,qi.w)(a=>{const l=this.getParsedResult(a.translations,e,t);return Is(l)?l:(0,Qe.of)(l)})))}instant(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');let a=this.getParsedResult(this.translations[this.currentLang],e,t);if(Is(a)){if(e instanceof Array){let l={};return e.forEach((d,s)=>{l[e[s]]=e[s]}),l}return e}return a}set(e,t,a=this.currentLang){this.translations[a][e]=this.compiler.compile(t,a),this.updateLangs(),this.onTranslationChange.emit({lang:a,translations:this.translations[a]})}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(re),i.LFG(p),i.LFG(q),i.LFG(R),i.LFG(g),i.LFG(Ce),i.LFG(ue),i.LFG(Ze),i.LFG(Fe))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Ie=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,a){let l=d=>{this.value=void 0!==d?d:e,this.lastKey=e,this._ref.markForCheck()};if(a){let d=this.translate.getParsedResult(a,e,t);Is(d.subscribe)?d.subscribe(l):l(d)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(y(e,this.lastKey)&&y(t,this.lastParams))return this.value;let a;if(w(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{a=JSON.parse(l)}catch(d){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"==typeof t[0]&&!Array.isArray(t[0])&&(a=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,a),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,a,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,a,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,a))})),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(Ye,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})(),Ot=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:p,useClass:m},e.compiler||{provide:q,useClass:X},e.parser||{provide:R,useClass:N},e.missingTranslationHandler||{provide:g,useClass:_},re,{provide:ue,useValue:e.isolate},{provide:Ce,useValue:e.useDefaultLang},{provide:Ze,useValue:e.extend},{provide:Fe,useValue:e.defaultLanguage},Ye]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:p,useClass:m},e.compiler||{provide:q,useClass:X},e.parser||{provide:R,useClass:N},e.missingTranslationHandler||{provide:g,useClass:_},{provide:ue,useValue:e.isolate},{provide:Ce,useValue:e.useDefaultLang},{provide:Ze,useValue:e.extend},{provide:Fe,useValue:e.defaultLanguage},Ye]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ii=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[Up,Wp,zo,Ca,Ot,T.ez]]}),n})();var Ar=x(655);function ec(n,o){}class wd{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Wg={dialogContainer:Zt("dialogContainer",[Tt("void, exit",Le({opacity:0,transform:"scale(0.7)"})),Tt("enter",Le({transform:"none"})),mt("* => enter",nu([_t("150ms cubic-bezier(0, 0, 0.2, 1)",Le({transform:"none",opacity:1})),rr("@*",ru(),{optional:!0})])),mt("* => void, * => exit",nu([_t("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Le({opacity:0})),rr("@*",ru(),{optional:!0})]))])};let Zg=(()=>{class n extends Km{constructor(e,t,a,l,d,s,r,c){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=a,this._config=d,this._interactivityChecker=s,this._ngZone=r,this._focusMonitor=c,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(u)),this._ariaLabelledBy=d.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Bc())}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(()=>{const a=()=>{e.removeEventListener("blur",a),e.removeEventListener("mousedown",a),e.removeAttribute("tabindex")};e.addEventListener("blur",a),e.addEventListener("mousedown",a)})),e.focus(t)}_focusByCssSelector(e,t){let a=this._elementRef.nativeElement.querySelector(e);a&&this._forceFocus(a,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=Bc(),a=this._elementRef.nativeElement;(!t||t===this._document.body||t===a||a.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=Bc();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Z_),i.Y36(i.sBO),i.Y36(T.K0,8),i.Y36(wd),i.Y36(iu),i.Y36(i.R0b),i.Y36(Pn))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(ts,7),2&e){let a;i.iGM(a=i.CRH())&&(t._portalOutlet=a.first)}},features:[i.qOj]}),n})(),$g=(()=>{class n extends Zg{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}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(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),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,ec,0,0,"ng-template",0)},directives:[ts],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:[Wg.dialogContainer]}}),n})(),Jg=0;class gn{constructor(o,e,t="mat-dialog-"+Jg++){this._overlayRef=o,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Pe.x,this._afterClosed=new Pe.x,this._beforeClosed=new Pe.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Gt.h)(a=>"opened"===a.state),(0,Yt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Gt.h)(a=>"closed"===a.state),(0,Yt.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,Gt.h)(a=>27===a.keyCode&&!this.disableClose&&!on(a))).subscribe(a=>{a.preventDefault(),Qp(this,"keyboard")}),o.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Qp(this,"mouse")})}close(o){this._result=o,this._containerInstance._animationStateChanged.pipe((0,Gt.h)(e=>"closing"===e.state),(0,Yt.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 Qp(n,o,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=o),n.close(e)}const vr=new i.OlP("MatDialogData"),tH=new i.OlP("mat-dialog-default-options"),bS=new i.OlP("mat-dialog-scroll-strategy"),nH={provide:bS,deps:[Cr],useFactory:function iH(n){return()=>n.scrollStrategies.block()}};let rH=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h){this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=l,this._overlayContainer=d,this._dialogRefConstructor=r,this._dialogContainerType=c,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Pe.x,this._afterOpenedAtThisLevel=new Pe.x,this._ariaHiddenElements=new Map,this.afterAllClosed=ps(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Jt(void 0))),this._scrollStrategy=s}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){t=function aH(n,o){return Object.assign(Object.assign({},o),n)}(t,this._defaultOptions||new wd),t.id&&this.getDialogById(t.id);const a=this._createOverlay(t),l=this._attachDialogContainer(a,t),d=this._attachDialogContent(e,l,a,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(d),d.afterClosed().subscribe(()=>this._removeOpenDialog(d)),this.afterOpened.next(d),l._initializeWithAttachedContent(),d}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new up({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 l=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:wd,useValue:t}]}),d=new sd(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,t,a,l){const d=new this._dialogRefConstructor(a,t,l.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Lo(e,null,{$implicit:l.data,dialogRef:d}));else{const s=this._createInjector(l,d,t),r=t.attachComponentPortal(new sd(e,l.viewContainerRef,s,l.componentFactoryResolver));d.componentInstance=r.instance}return d.updateSize(l.width,l.height).updatePosition(l.position),d}_createInjector(e,t,a){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,d=[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(Mi,null,i.XFs.Optional))&&d.push({provide:Mi,useValue:{value:e.direction,change:(0,Qe.of)()}}),i.zs3.create({parent:l||this._injector,providers:d})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,l)=>{a?l.setAttribute("aria-hidden",a):l.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 a=t.length-1;a>-1;a--){let l=t[a];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.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})(),wn=(()=>{class n extends rH{constructor(e,t,a,l,d,s,r,c){super(e,t,l,s,r,d,gn,$g,vr,c)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Cr),i.LFG(i.zs3),i.LFG(T.Ye,8),i.LFG(tH,8),i.LFG(bS),i.LFG(n,12),i.LFG(tg),i.LFG(yi,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),sH=0,Ma=(()=>{class n{constructor(e,t,a){this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-"+sH++}ngOnInit(){this._dialogRef||(this._dialogRef=function oH(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(gn,8),i.Y36(i.SBq),i.Y36(wn))},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})(),Sa=(()=>{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})(),Ea=(()=>{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})(),iw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[wn,nH],imports:[[Au,jl,ot],ot]}),n})();var lH=x(4327);const zu=[5,10,25,100];function yS(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 Jn(){const n=new wd;return n.disableClose=!0,n.autoFocus=!1,n}const bH=new Intl.Collator("cs",{numeric:!0});function Kp(n,o,e){const t=o.active,a=o.direction;return t&&""!==a?n.sort((l,d)=>{const s=e(l,t),r=e(d,t);return bH.compare(s,r)*("asc"===a?1:-1)}):n}function Qg(n,o,e,t,a){o=o.toLowerCase();let l="";return e.forEach(d=>{l+=";"+t(n,d)}),a&&(l+=";"+t(n,"uuid")),l.toLowerCase().includes(o)}function Xp(n,o){let e="";return n.attributes&&n.attributes.forEach(t=>{t.friendlyName===o&&(e=t.value)}),e}function ef(n,o,e){const t=[],a=["checkbox","select","edit","menu","cite","extend","recent"];return o=o.filter(l=>!a.includes(l)),n.forEach(l=>{const d={};o.forEach(s=>{var r;d[s]=(null!==(r=e(l,s))&&void 0!==r?r:"").split('"').join("''").trim()}),t.push(d)}),t}function tf(n,o="csv",e="export"){if("csv"===o){const t=(r,c)=>null===c?"":c,a=Object.keys(n[0]),l=n.map(r=>a.map(c=>JSON.stringify(r[c],t)).join(","));l.unshift(a.join(",").split(" ").join("_").split('"').join("''"));const d=l.join("\r\n"),s=new Blob([d],{type:"text/csv"});(0,lH.saveAs)(s,`${e}.${o}`)}}const wS="GUI_CONFIG.PREF_PAGE_SIZE.";let wH=(()=>{class n{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})(),AH=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(wS+e);if(!isNaN(t))return t;const a=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(a)?10:a}setTablePageSize(e,t){this.guiConfigService.setNumber(wS+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wH))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MH=(()=>{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 a=i.MAs(5),l=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",a),i.xp6(5),i.Q6J("matMenuTriggerFor",l),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[zt,Ug,Yi,Yg,No],pipes:[Ie],styles:[""]}),n})();function SH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(a){return i.CHM(e),i.oxw().exportData.emit(a)}),i.qZA()}}function EH(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(a){return i.CHM(e),i.oxw().exportData.emit(a)}),i.qZA()}}const DH=["*"];let rs=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=zu,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}set matPaginator(e){this.paginator=e}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}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(AH))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf(UC,7),2&e){let a;i.iGM(a=i.CRH())&&(t.matPaginator=a.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:DH,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(l){return t.pageChangedTop(l)}),i.qZA(),i.YNc(3,SH,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(l){return t.pageChangedBottom(l)}),i.qZA(),i.YNc(8,EH,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:[UC,T.O5,MH],styles:[""]}),n})(),Qn=(()=>{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,a;const l=[null===(a=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===a?void 0:a[this.branding],this.instanceConfig,this.defaultConfig];let d=null;for(const s of l)s&&!d&&(d=s[e]);return d}get(...e){let t;if(""!==this.branding){const a=this.instanceConfig.brandings[this.branding];for(let l=0;l{class n{constructor(e,t,a,l,d){this.injector=e,this.store=t,this.dialog=a,this.route=l,this.oauthService=d,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Hi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(s=>{s.idpFilter&&(this.filterShortname=String(s.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),d=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(d.prompt="consent"),sessionStorage.getItem("mfa_route")&&(d.acr_values="https://refeds.org/profile/mfa",d.prompt="login",d.max_age="0"),"Linker"===this.store.getProperty("application")){d.prompt="login";const s=function yH(n,o){const e=o.split("&");for(const t of e){const[a,l]=t.split("=");if(a.includes(n))return l}return""}("idphint",location.search.substring(1));s&&(d.idphint=s)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:d}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let a=null;return e.forEach(l=>{const d=l.split("=");"idpFilter"===d[0]&&t[d[1]]&&(this.filterShortname=d[1],a=t[d[1]])}),t.default&&!a?(this.filterShortname="default",t.default):a}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(a=>a?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Gt.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 a=sessionStorage.getItem("auth:queryParams");let l=[];a&&(l=a.split("&"));const d={};return l.forEach(s=>{const r=s.split("=");d[r[0]]=r[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),d.idpFilter&&(this.filterShortname=String(d.idpFilter)),this.router.navigate([t],{queryParams:d,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Gt.h)(e=>e instanceof _e)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}isPotentiallyValidPath(e){const t=["/home","/organizations","/facilities","/myProfile","/admin","/login","/service-access","/profile"];if("/"===e)return!0;for(const a of t)if(e.startsWith(a))return!0;return!1}tryRefreshToken(){return localStorage.getItem("refresh_token")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(a=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!a||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,d)=>d("Invalid path"))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG(Qn),i.LFG(wn),i.LFG(fn),i.LFG(_x.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),HH=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn))},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:[Sa],pipes:[Ie],styles:[""]}),n})(),bx=(()=>{class n{constructor(e,t,a,l,d,s){this.authService=e,this.storeService=t,this.authResolver=a,this.authzService=l,this.dialog=d,this.router=s,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Jn();this.dialog.open(HH,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const a of e){const l=a.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kg),i.LFG(Qn),i.LFG(ra),i.LFG(Oi),i.LFG(wn),i.LFG(Hi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vS=(()=>{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}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(Xl),i.LFG(Vn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),kH=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn))},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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})(),PH=(()=>{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})(),In=(()=>{class n{constructor(e){this.translate=e,this.addNotification=new i.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,a,l,d){this.addNotification.emit({type:"error",error:t,description:a,title:e,actionText:void 0===l&&void 0!==a?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:d,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,a,l){this.addNotification.emit({type:"success",description:t,title:e,actionText:void 0===a&&void 0!==t?this.getDefaultActionMessage():a,delay:this.defaultSuccessDelayMs,icon:"done",action:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TS=(()=>{class n{constructor(e,t,a,l,d,s){this.authService=e,this.apiRequestConfiguration=t,this.notificator=a,this.store=l,this.dialog=d,this.initAuthService=s}intercept(e,t){const a=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==a&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const s=Jn();s.width="450px",this.dialogRefSessionExpiration=this.dialog.open(kH,s),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{G(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),d="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,O.b)(s=>{s instanceof C.Zn&&d&&this.initAuthService.loadPrincipal()},s=>{const r=this.formatErrors(s,e);return void 0===r?(0,Zp._)(s):l?void this.notificator.showRPCError(r):(0,Zp._)(r)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let a;console.error(e);const l=e.error;if(l.errorId&&(a=l),void 0!==a)return a.urlWithParams=t.urlWithParams,a.call=t.url,a.payload=t.body,a}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Kg),i.LFG(PH),i.LFG(In),i.LFG(Qn),i.LFG(wn),i.LFG(bx))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),xS=(()=>{class n{constructor(){this.newNotificationsCount=0,this.notificationData=[]}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})(),RH=(()=>{class n{constructor(e,t,a,l){this.http=e,this.notificator=t,this.authService=a,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new C.WM;return e=e.set("Authorization",this.authService.getAuthorizationHeaderValue()),e}get(e,t=!0){const a=`${this.getApiUrl()}${e}`;return this.http.get(a,{headers:this.getHeaders()}).pipe((0,Yn.K)(l=>this.formatErrors(l,a,null,t)))}put(e,t={},a=!0){const l=`${this.getApiUrl()}${e}`,d=JSON.stringify(t);return this.http.put(l,d,{headers:this.getHeaders()}).pipe((0,Yn.K)(s=>this.formatErrors(s,l,d,a)))}post(e,t={},a=!0){const l=`${this.getApiUrl()}${e}`,d=JSON.stringify(t);let s=this.getHeaders();return s=s.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,d,{headers:s}).pipe((0,Yn.K)(r=>this.formatErrors(r,l,d,a)))}delete(e,t=!0){const a=`${this.getApiUrl()}${e}`;return this.http.delete(a,{headers:this.getHeaders()}).pipe((0,Yn.K)(l=>this.formatErrors(l,a,null,t)))}formatErrors(e,t,a,l){const d=e.error;return d.call=t,d.payload=a,l&&this.notificator.showRPCError(e.error),(0,Zp._)(d)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(In),i.LFG(Kg),i.LFG(Qn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nw=(()=>{class n{isAllSelectedWithDisabledCheckbox(e,t,a,l,d,s,r,c){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=d*a,this.pageEnd=this.pageStart+a,this.pageIterator=0,this.dataLength=""===t?s.data.length:s.filteredData.length,l||(this.modulo=this.dataLength%a,this.pageEnd=0===this.modulo?this.pageStart+a:this.pageStart+this.modulo),s.sortData(s.filteredData,r).forEach(u=>{this.pageStart<=this.pageIterator&&this.pageIterator{c?u(h)&&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"),a=navigator.languages.map(s=>s.split("-")[0]),l=location.search.substring(1).split("&");let d=null;for(const s of l){const r=s.split("=");"lang"===r[0]&&(d=r[1])}return d&&t.includes(d)?d:e&&t.includes(e)?e:a&&t.includes(a[0])?a[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(fn),i.LFG(Qn))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();Zt("openClose",[Tt("open",Le({overflow:"hidden"})),Tt("closed",Le({height:"0px",overflow:"hidden"})),mt("open <=> closed",[_t(".3s ease-in")])]);const IH=Zt("flyInOut",[mt(":enter",[Le({transform:"translateX(100%)"}),_t(".25s")]),mt(":leave",[_t(".5s",Le({transform:"translateX(100%)"}))])]);Zt("rollInOut",[mt(":enter",[Le({height:"0px"}),_t(".25s")]),mt(":leave",[_t(".25s",Le({height:"0px"}))])]),Zt("routeAnimations",[mt("* => *",[Le({position:"relative"}),rr(":enter",[Le({width:"100%",opacity:0})],{optional:!0}),rr(":leave",[Le({position:"absolute",width:"100%",opacity:1}),_t("0.15s",Le({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),rr(":enter",[Le({position:"absolute",width:"100%",opacity:0}),_t("0.15s",Le({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),Zt("tagsOpenClose",[Tt("open",Le({})),Tt("closed",Le({width:"0px",height:"0px"})),mt("open <=> closed",[_t(".3s ease-in")])]),Zt("switchAnimations",[mt("true => false",[rr(":enter, :leave",Le({})),nu([rr(":enter",[Le({transform:"translateX(-100%)"}),_t("1s ease-in-out",Le({transform:"translateX(0%)"}))],{optional:!0}),rr(":leave",[Le({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Le({transform:"translateX(100%)"}))],{optional:!0})])]),mt("false => true",[rr(":enter, :leave",Le({})),nu([rr(":enter",[Le({transform:"translateX(100%)"}),_t("1s ease-in-out",Le({transform:"translateX(0%)"}))],{optional:!0}),rr(":leave",[Le({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Le({transform:"translateX(-100%)"}))],{optional:!0})])])]),Zt("slideInOutLeft",[mt(":enter",[Le({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Le({transform:"translateX(0%)"}))]),mt(":leave",[_t("0.5s ease-in",Le({transform:"translateX(-100%)"}))])]),Zt("slideInOutRight",[mt(":enter",[Le({transform:"translateX(100%)",position:"fixed"}),_t("0.5s ease-in",Le({transform:"translateX(0%)"}))]),mt(":leave",[Le({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Le({transform:"translateX(100%)"}))])]);let MS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez]]}),n})();function YH(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 zH(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 qH=ya(class{constructor(n){this._elementRef=n}},"primary"),GH=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function WH(){return{diameter:100}}});class _i extends qH{constructor(o,e,t,a,l,d,s,r){super(o),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Rt.w0.EMPTY,this.mode="determinate";const c=_i._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),c.has(t.head)||c.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===a&&!!l&&!l._forceAnimations,"mat-spinner"===o.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&s&&d&&r&&(this._resizeSubscription=s.change(150).subscribe(()=>{"indeterminate"===this.mode&&r.run(()=>d.markForCheck())}))}get diameter(){return this._diameter}set diameter(o){this._diameter=Fi(o),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(o){this._strokeWidth=Fi(o)}get value(){return"determinate"===this.mode?this._value:0}set value(o){this._value=Math.max(0,Math.min(100,Fi(o)))}ngOnInit(){const o=this._elementRef.nativeElement;this._styleRoot=Ah(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=_i._diameters;let a=t.get(o);if(!a||!a.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),o.appendChild(l),a||(a=new Set,t.set(o,a)),a.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(".","_")}}_i._diameters=new WeakMap,_i.\u0275fac=function(o){return new(o||_i)(i.Y36(i.SBq),i.Y36(gi),i.Y36(T.K0,8),i.Y36(yi,8),i.Y36(GH),i.Y36(i.sBO),i.Y36(va),i.Y36(i.R0b))},_i.\u0275cmp=i.Xpm({type:_i,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-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,YH,1,11,"circle",2),i.YNc(3,zH,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:[T.RF,T.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 rw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot,T.ez],ot]}),n})();const SS=Vr({passive:!0});let $H=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return rn.E;const t=Zi(e),a=this._monitoredElements.get(t);if(a)return a.subject;const l=new Pe.x,d="cdk-text-field-autofilled",s=r=>{"cdk-text-field-autofill-start"!==r.animationName||t.classList.contains(d)?"cdk-text-field-autofill-end"===r.animationName&&t.classList.contains(d)&&(t.classList.remove(d),this._ngZone.run(()=>l.next({target:r.target,isAutofilled:!1}))):(t.classList.add(d),this._ngZone.run(()=>l.next({target:r.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,SS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:l,unlisten:()=>{t.removeEventListener("animationstart",s,SS)}}),l}stopMonitoring(e){const t=Zi(e),a=this._monitoredElements.get(t);a&&(a.unlisten(),a.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(gi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ES=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const DS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),JH=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let QH=0;const KH=Bm(class{constructor(n,o,e,t){this._defaultErrorStateMatcher=n,this._parentForm=o,this._parentFormGroup=e,this.ngControl=t}});let as=(()=>{class n extends KH{constructor(e,t,a,l,d,s,r,c,u,h){super(s,l,d,a),this._elementRef=e,this._platform=t,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+QH++,this.focused=!1,this.stateChanges=new Pe.x,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(j=>Uw().has(j)),this._iOSKeyupListener=j=>{const ee=j.target;!ee.value&&0===ee.selectionStart&&0===ee.selectionEnd&&(ee.setSelectionRange(1,1),ee.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=r||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=f.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=We(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,a,l;return null!==(l=null!==(e=this._required)&&void 0!==e?e:null===(a=null===(t=this.ngControl)||void 0===t?void 0:t.control)||void 0===a?void 0:a.hasValidator(Ni.required))&&void 0!==l&&l}set required(e){this._required=We(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Uw().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=We(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 a=(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(a!==this._previousPlaceholder){const l=this._elementRef.nativeElement;this._previousPlaceholder=a,a?l.setAttribute("placeholder",a):l.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){JH.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(gi),i.Y36(Zr,10),i.Y36(Vo,8),i.Y36($i,8),i.Y36(Wr),i.Y36(DS,10),i.Y36($H),i.Y36(i.R0b),i.Y36(mp,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:pp,useExisting:n}]),i.qOj,i.TTD]}),n})(),aw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wr],imports:[[ES,Yl,ot],ES,Yl]}),n})();function XH(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function e1(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 t1(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 n1(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(a){return i.CHM(e),i.oxw().subject=a}),i.qZA(),i.YNc(7,e1,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(a){return i.CHM(e),i.oxw().message=a}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,t1,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),a=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",a.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",a.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let r1=(()=>{class n{constructor(e,t,a,l,d,s){this.dialogRef=e,this.translate=t,this.notificator=a,this.rtMessages=l,this.data=d,this.storeService=s,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var e,t;(null===(t=null===(e=this.data)||void 0===e?void 0:e.error)||void 0===t?void 0:t.errorId)&&(this.subject="".concat(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(()=>{const t="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),e.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(t)}),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,"\n","Perun instance: ",e,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const a=/"password":".+?"/;let l=JSON.stringify(this.data.error.payload);l=l.replace(a,'"password":"####"'),t=t.concat("Payload:\n"+l+"\n\n")}return t=t.concat("Sent from new Perun Gui, version: ",x(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(gn),i.Y36(Ye),i.Y36(In),i.Y36(tn),i.Y36(vr),i.Y36(Qn))},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,XH,1,0,"mat-spinner",1),i.YNc(4,n1,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:[Ma,T.O5,_i,Sa,Wn,is,as,Ln,ns,sr,fd,Io,Ea,zt],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),a1=(()=>{class n{constructor(e,t,a){this.dialogRef=e,this.dialog=t,this.data=a}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Jn();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open(r1,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(wn),i.Y36(vr))},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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})();const d1=[[["caption"]],[["colgroup"],["col"]]],u1=["caption","colgroup, col"];function Cx(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=We(o),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const o=this._hasStickyChanged;return this._hasStickyChanged=!1,o}resetStickyChanged(){this._hasStickyChanged=!1}}}const nf=new i.OlP("CDK_TABLE");let rf=(()=>{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})(),af=(()=>{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})(),sw=(()=>{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 m1{}const g1=Cx(m1);let tc=(()=>{class n extends g1{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=We(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(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,rf,5),i.Suo(a,af,5),i.Suo(a,sw,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.cell=l.first),i.iGM(l=i.CRH())&&(t.headerCell=l.first),i.iGM(l=i.CRH())&&(t.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class wx{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}}let Ax=(()=>{class n extends wx{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tc),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})(),vx=(()=>{class n extends wx{constructor(e,t){var a;if(super(e,t),1===(null===(a=e._table)||void 0===a?void 0:a._elementRef.nativeElement.nodeType)){const l=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(tc),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 kS{constructor(){this.tasks=[],this.endTasks=[]}}const Tx=new i.OlP("_COALESCED_STYLE_SCHEDULER");let PS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Pe.x}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 kS,this._getScheduleObservable().pipe(nt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new kS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,xn.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Yt.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})(),xx=(()=>{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 Xg?e.headerCell.template:this instanceof e_?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 _1 extends xx{}const b1=Cx(_1);let Xg=(()=>{class n extends b1{constructor(e,t,a){super(e,t),this._table=a}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class y1 extends xx{}const C1=Cx(y1);let e_=(()=>{class n extends C1{constructor(e,t,a){super(e,t),this._table=a}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})(),ow=(()=>{class n extends xx{constructor(e,t,a){super(e,t),this._table=a}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(nf,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),ic=(()=>{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})(),Mx=(()=>{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:[ic],encapsulation:2}),n})(),Ex=(()=>{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:[ic],encapsulation:2}),n})(),lw=(()=>{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 RS=["top","bottom","left","right"];class w1{constructor(o,e,t,a,l=!0,d=!0,s){this._isNativeHtmlTable=o,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=a,this._isBrowser=l,this._needsPositionStickyOnElement=d,this._positionListener=s,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 a of o)if(a.nodeType===a.ELEMENT_NODE){t.push(a);for(let l=0;l{for(const a of t)this._removeStickyStyle(a,e)})}updateStickyColumns(o,e,t,a=!0){if(!o.length||!this._isBrowser||!e.some(f=>f)&&!t.some(f=>f))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=o[0],d=l.children.length,s=this._getCellWidths(l,a),r=this._getStickyStartColumnPositions(s,e),c=this._getStickyEndColumnPositions(s,t),u=e.lastIndexOf(!0),h=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const f="rtl"===this.direction,b=f?"right":"left",j=f?"left":"right";for(const ee of o)for(let pe=0;pee[pe]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:s.slice(h).map((ee,pe)=>t[pe+h]?ee:null).reverse()}))})}stickRows(o,e,t){if(!this._isBrowser)return;const a="bottom"===t?o.slice().reverse():o,l="bottom"===t?e.slice().reverse():e,d=[],s=[],r=[];for(let u=0,h=0;u{var u,h;for(let f=0;f{e.some(a=>!a)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(o,e){for(const a of e)o.style[a]="",o.classList.remove(this._borderCellCss[a]);RS.some(a=>-1===e.indexOf(a)&&o.style[a])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,a){o.classList.add(this._stickCellCss),a&&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 a of RS)o.style[a]&&(t+=e[a]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],a=o.children;for(let l=0;l0;l--)e[l]&&(t[l]=a,a+=o[l]);return t}}const Dx=new i.OlP("CDK_SPL");let cw=(()=>{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})(),dw=(()=>{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})(),uw=(()=>{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})(),hw=(()=>{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})(),pw=(()=>{class n{constructor(e,t,a,l,d,s,r,c,u,h,f,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=d,this._platform=r,this._viewRepeater=c,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=b,this._onDestroy=new Pe.x,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 Ki({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,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=We(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=We(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(nt(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(),gp(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,(a,l,d)=>this._getEmbeddedViewArgs(a.item,d),a=>a.item.data,a=>{1===a.operation&&a.context&&this._renderCellTemplateForItem(a.record.item.rowDef,a.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(a=>{t.get(a.currentIndex).context.$implicit=a.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Yt.q)(1),nt(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),a=this._elementRef.nativeElement.querySelector("thead");a&&(a.style.display=e.length?"":"none");const l=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,l,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),a=this._elementRef.nativeElement.querySelector("tfoot");a&&(a.style.display=e.length?"":"none");const l=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),a=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...a],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((l,d)=>{this._addStickyColumnStyles([l],this._headerRowDefs[d])}),this._rowDefs.forEach(l=>{const d=[];for(let s=0;s{this._addStickyColumnStyles([l],this._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let a=0;a{const s=a&&a.has(d)?a.get(d):[];if(s.length){const r=s.shift();return r.dataIndex=t,r}return{data:e,rowDef:d,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),fw(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=fw(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=fw(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=fw(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(d,s)=>d||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const a=this._headerRowDefs.reduce(e,!1);a&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(e,!1);return l&&this._forceRenderFooterRows(),t||a||l}_switchDataSource(e){this._data=[],gp(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;gp(this.dataSource)?e=this.dataSource.connect(this):Is(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Qe.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(nt(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 a=Array.from(t.columns||[]).map(s=>this._columnDefsByName.get(s)),l=a.map(s=>s.sticky),d=a.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,l,d,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let a=0;a!l.when||l.when(t,e));else{let l=this._rowDefs.find(d=>d.when&&d.when(t,e))||this._defaultRowDef;l&&a.push(l)}return a}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,a,l={}){const d=e.viewContainer.createEmbeddedView(t.template,l,a);return this._renderCellTemplateForItem(t,l),d}_renderCellTemplateForItem(e,t){for(let a of this._getCellTemplates(e))ic.mostRecentCellOutlet&&ic.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,a=e.length;t{const a=this._columnDefsByName.get(t);return e.extractCellTemplate(a)}):[]}_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 a of t){const l=this._document.createElement(a.tag);l.setAttribute("role","rowgroup");for(const d of a.outlets)l.appendChild(d.elementRef.nativeElement);e.appendChild(l)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,a)=>t||a.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 w1(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,Qe.of)()).pipe(nt(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 a=this._noDataRowOutlet.viewContainer;if(t){const l=a.createEmbeddedView(e.templateRef),d=l.rootNodes[0];1===l.rootNodes.length&&(null==d?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(e._contentClassName))}else a.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(Mi,8),i.Y36(T.K0),i.Y36(gi),i.Y36(Mu),i.Y36(Tx),i.Y36(va),i.Y36(Dx,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,lw,5),i.Suo(a,tc,5),i.Suo(a,ow,5),i.Suo(a,Xg,5),i.Suo(a,e_,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._noDataRow=l.first),i.iGM(l=i.CRH())&&(t._contentColumnDefs=l),i.iGM(l=i.CRH())&&(t._contentRowDefs=l),i.iGM(l=i.CRH())&&(t._contentHeaderRowDefs=l),i.iGM(l=i.CRH())&&(t._contentFooterRowDefs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(cw,7),i.Gf(dw,7),i.Gf(uw,7),i.Gf(hw,7)),2&e){let a;i.iGM(a=i.CRH())&&(t._rowOutlet=a.first),i.iGM(a=i.CRH())&&(t._headerRowOutlet=a.first),i.iGM(a=i.CRH())&&(t._footerRowOutlet=a.first),i.iGM(a=i.CRH())&&(t._noDataRowOutlet=a.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:nf,useExisting:n},{provide:Mu,useClass:Fy},{provide:Tx,useClass:PS},{provide:Dx,useValue:null}])],ngContentSelectors:u1,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(d1),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[dw,cw,hw,uw],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function fw(n,o){return n.concat(Array.from(o))}let v1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ad]]}),n})();const T1=[[["caption"]],[["colgroup"],["col"]]],x1=["caption","colgroup, col"];let Uo=(()=>{class n extends pw{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:Mu,useClass:Fy},{provide:pw,useExisting:n},{provide:nf,useExisting:n},{provide:Tx,useClass:PS},{provide:Dx,useValue:null}]),i.qOj],ngContentSelectors:x1,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(T1),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[dw,cw,hw,uw],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),Os=(()=>{class n extends rf{}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:rf,useExisting:n}]),i.qOj]}),n})(),Bs=(()=>{class n extends af{}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:af,useExisting:n}]),i.qOj]}),n})(),Vs=(()=>{class n extends tc{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:tc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),js=(()=>{class n extends Ax{}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})(),Fs=(()=>{class n extends vx{}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})(),nc=(()=>{class n extends Xg{}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:Xg,useExisting:n}]),i.qOj]}),n})(),qo=(()=>{class n extends ow{}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:ow,useExisting:n}]),i.qOj]}),n})(),rc=(()=>{class n extends Mx{}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:Mx,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ic],encapsulation:2}),n})(),Go=(()=>{class n extends Ex{}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:Ex,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ic],encapsulation:2}),n})(),mw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[v1,ot],ot]}),n})();class ac extends class O1 extends class Vy{}{constructor(o=[]){super(),this._renderData=new Ki([]),this._filter=new Ki(""),this._internalPageChanges=new Pe.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const a=e[t];if(Kf(a)){const l=Number(a);return l<9007199254740991?l:a}return a},this.sortData=(e,t)=>{const a=t.active,l=t.direction;return a&&""!=l?e.sort((d,s)=>{let r=this.sortingDataAccessor(d,a),c=this.sortingDataAccessor(s,a);const u=typeof r,h=typeof c;u!==h&&("number"===u&&(r+=""),"number"===h&&(c+=""));let f=0;return null!=r&&null!=c?r>c?f=1:r{const a=Object.keys(e).reduce((d,s)=>d+e[s]+"\u25ec","").toLowerCase(),l=t.trim().toLowerCase();return-1!=a.indexOf(l)},this._data=new Ki(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,wi.T)(this._sort.sortChange,this._sort.initialized):(0,Qe.of)(null),t=this._paginator?(0,wi.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,Qe.of)(null),l=(0,Ws.a)([this._data,this._filter]).pipe((0,ft.U)(([r])=>this._filterData(r))),d=(0,Ws.a)([l,e]).pipe((0,ft.U)(([r])=>this._orderData(r))),s=(0,Ws.a)([d,t]).pipe((0,ft.U)(([r])=>this._pageData(r)));null===(o=this._renderChangesSubscription)||void 0===o||o.unsubscribe(),this._renderChangesSubscription=s.subscribe(r=>this._renderData.next(r))}_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,a=Math.min(e.pageIndex,t);a!==e.pageIndex&&(e.pageIndex=a,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 B1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function V1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function j1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function F1(n,o){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const N1=["*"];let Ns=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:N1,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,B1,2,0,"mat-icon",1),i.YNc(2,V1,2,0,"mat-icon",1),i.YNc(3,j1,2,0,"mat-icon",1),i.YNc(4,F1,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:[T.O5,Yi],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 Y1(n,o){1&n&&i._UZ(0,"mat-spinner",7)}function z1(n,o){1&n&&(i.TgZ(0,"div",17),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n&&(i.xp6(1),i.hij(" ",i.lcZ(2,1,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.ASK")," "))}function U1(n,o){1&n&&i._UZ(0,"th",18)}function q1(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)}}function G1(n,o){1&n&&i._UZ(0,"tr",20)}function W1(n,o){1&n&&i._UZ(0,"tr",21)}function Z1(n,o){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",22),i._uU(1),i.ALo(2,"translate"),i.qZA()),2&n){const e=i.oxw(2);i.Q6J("alert_type","warn"),i.xp6(1),i.hij(" ",i.lcZ(2,2,e.data.alert)," ")}}function $1(n,o){if(1&n&&(i.TgZ(0,"div",8),i.TgZ(1,"p"),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,z1,3,3,"div",9),i.TgZ(5,"table",10),i.ynx(6,11),i.YNc(7,U1,1,0,"th",12),i.YNc(8,q1,2,1,"td",13),i.BQk(),i.YNc(9,G1,1,0,"tr",14),i.YNc(10,W1,1,0,"tr",15),i.qZA(),i.YNc(11,Z1,3,4,"perun-web-apps-alert",16),i.qZA()),2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,e.data.description)," "),i.xp6(2),i.Q6J("ngIf",e.data.showAsk),i.xp6(1),i.Q6J("dataSource",e.dataSource),i.xp6(4),i.Q6J("matHeaderRowDef",e.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",e.displayedColumns),i.xp6(1),i.Q6J("ngIf",e.data.alert)}}function J1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",23),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.REMOVE_BUTTON")," ")}}function Q1(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",24),i.NdJ("click",function(){return i.CHM(e),i.oxw().onSubmit()}),i._uU(1),i.ALo(2,"translate"),i.qZA()}if(2&n){const e=i.oxw();i.Q6J("disabled",e.loading),i.xp6(1),i.hij(" ",i.lcZ(2,2,"SHARED_LIB.PERUN.COMPONENTS.UNIVERSAL_REMOVE_ITEMS_DIALOG.SUBMIT_BUTTON")," ")}}let IS=(()=>{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 ac(this.data.items)}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(vr))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-universal-confirmation-items-dialog"]],decls:12,vars:13,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","","class","ml-2","color","warn",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","ml-2","color","accent",3,"disabled","click",4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-dialog-content",""],["class","font-weight-bold",4,"ngIf"],["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"],[3,"alert_type",4,"ngIf"],[1,"font-weight-bold"],["mat-header-cell",""],["mat-cell",""],["mat-header-row","",1,"font-weight-bolder"],["mat-row",""],[3,"alert_type"],["mat-flat-button","","color","warn",1,"ml-2",3,"disabled","click"],["mat-flat-button","","color","accent",1,"ml-2",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,Y1,1,0,"mat-spinner",1),i.YNc(5,$1,12,8,"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.YNc(10,J1,3,4,"button",5),i.YNc(11,Q1,3,4,"button",6),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("ngIf","remove"===t.data.type),i.xp6(1),i.Q6J("ngIf","confirmation"===t.data.type))},directives:[Ma,T.O5,_i,Sa,Uo,Vs,Bs,js,Os,Fs,nc,rc,qo,Go,Ns,Ea,zt],pipes:[Ie],styles:[""]}),n})(),ok=(()=>{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(gn),i.Y36(vr))},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:[Ma,Ea,zt],pipes:[Ie],styles:[""]}),n})();function pk(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 fk(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 mk=(()=>{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=Jn();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(a1,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function dH(n,o){return(0,Ar.mG)(this,void 0,void 0,function*(){yield function uH(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(wn),i.Y36(xS))},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,pk,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,fk,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:[T.O5,Yi],pipes:[Ie],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 gk(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 l=i.CHM(e).index;return i.oxw().removeNotification(l)}),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 _k=function(n){return{top:n}};let bk=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(a=>{this.processNotification(a)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(In),i.Y36(xS))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,gk,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,_k,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[T.PC,T.sg,mk],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:[IH]}}),n})();const yk=["*",[["mat-toolbar-row"]]],Ck=["*","mat-toolbar-row"],wk=ya(class{constructor(n){this._elementRef=n}});let Ak=(()=>{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})(),vk=(()=>{class n extends wk{constructor(e,t,a){super(e),this._platform=t,this._document=a}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(gi),i.Y36(T.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,Ak,5),2&e){let l;i.iGM(l=i.CRH())&&(t._toolbarRows=l)}},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:Ck,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(yk),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})(),BS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();function Tk(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 xk=function(n){return{background:n}},gw=function(n){return{color:n}};let Mk=(()=>{class n{constructor(e,t,a){this.storeService=e,this.authService=t,this.sanitizer=a,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(Qn),i.Y36(Kg),i.Y36(Vn))},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"],[1,"display-flex"],["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,Tk,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 a=i.MAs(18);i.Q6J("ngStyle",i.VKq(19,xk,t.bgColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(21,gw,t.iconColor)),i.xp6(3),i.Q6J("innerHTML",t.logo,i.oJD),i.xp6(2),i.Q6J("ngStyle",i.VKq(23,gw,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,gw,t.textColor)),i.xp6(1),i.Q6J("matMenuTriggerFor",a),i.xp6(1),i.Q6J("ngStyle",i.VKq(27,gw,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:[vk,T.PC,zt,Yi,Ms,nr,T.O5,Ug,Yg,No],pipes:[Ie],styles:[".header-container[_ngcontent-%COMP%]{height:64px!important;display:flex;justify-content:space-between;margin-left:8px;padding:0}.display-flex[_ngcontent-%COMP%]{display:flex;flex-direction:row}#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})();var VS=x(9718);const _w=["*"],Sk=["content"];function Ek(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 Dk(n,o){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const Hk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],kk=["mat-drawer","mat-drawer-content","*"];function Pk(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 Rk(n,o){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const Lk=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ik=["mat-sidenav","mat-sidenav-content","*"],jS={transformDrawer:Zt("transform",[Tt("open, open-instant",Le({transform:"none",visibility:"visible"})),Tt("void",Le({"box-shadow":"none",visibility:"hidden"})),mt("void => open-instant",_t("0ms")),mt("void <=> open, open-instant => void",_t("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Bk=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Vk(){return!1}}),Hx=new i.OlP("MAT_DRAWER_CONTAINER");let bw=(()=>{class n extends Vl{constructor(e,t,a,l,d){super(a,l,d),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)(()=>NS)),i.Y36(i.SBq),i.Y36(Ro),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:Vl,useExisting:n}]),i.qOj],ngContentSelectors:_w,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),FS=(()=>{class n{constructor(e,t,a,l,d,s,r,c){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=a,this._platform=l,this._ngZone=d,this._interactivityChecker=s,this._doc=r,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Pe.x,this._animationEnd=new Pe.x,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Gt.h)(u=>u),(0,ft.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Gt.h)(u=>u.fromState!==u.toState&&0===u.toState.indexOf("open")),(0,VS.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Gt.h)(u=>!u),(0,ft.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Gt.h)(u=>u.fromState!==u.toState&&"void"===u.toState),(0,VS.h)(void 0)),this._destroyed=new Pe.x,this.onPositionChanged=new i.vpe,this._modeChanged=new Pe.x,this.openedChange.subscribe(u=>{u?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Qa(this._elementRef.nativeElement,"keydown").pipe((0,Gt.h)(u=>27===u.keyCode&&!this.disableClose&&!on(u)),nt(this._destroyed)).subscribe(u=>this._ngZone.run(()=>{this.close(),u.stopPropagation(),u.preventDefault()}))}),this._animationEnd.pipe(El((u,h)=>u.fromState===h.fromState&&u.toState===h.toState)).subscribe(u=>{const{fromState:h,toState:f}=u;(0===f.indexOf("open")&&"void"===h||"void"===f&&0===h.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=We(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=We(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(We(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const a=()=>{e.removeEventListener("blur",a),e.removeEventListener("mousedown",a),e.removeAttribute("tabindex")};e.addEventListener("blur",a),e.addEventListener("mousedown",a)})),e.focus(t)}_focusByCssSelector(e,t){let a=this._elementRef.nativeElement.querySelector(e);a&&this._forceFocus(a,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 a=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),a}_setOpen(e,t,a){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(a)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Yt.q)(1)).subscribe(d=>l(d?"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,a=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),a.insertBefore(this._anchor,t)),a.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(Z_),i.Y36(Pn),i.Y36(gi),i.Y36(i.R0b),i.Y36(iu),i.Y36(T.K0,8),i.Y36(Hx,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(Sk,5),2&e){let a;i.iGM(a=i.CRH())&&(t._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(l){return t._animationStarted.next(l)})("@transform.done",function(l){return t._animationEnd.next(l)}),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:_w,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:[Vl],encapsulation:2,data:{animation:[jS.transformDrawer]},changeDetection:0}),n})(),NS=(()=>{class n{constructor(e,t,a,l,d,s=!1,r){this._dir=e,this._element=t,this._ngZone=a,this._changeDetectorRef=l,this._animationMode=r,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new Pe.x,this._doCheckSubject=new Pe.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Pe.x,e&&e.change.pipe(nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),d.change().pipe(nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=We(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:We(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Jt(this._allDrawers),nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Jt(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,Kd.b)(10),nt(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 a=this._left._getWidth();e+=a,t-=a}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const a=this._right._getWidth();t+=a,e-=a}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,Gt.h)(t=>t.fromState!==t.toState),nt(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(nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(nt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Yt.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(nt((0,wi.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,a="mat-drawer-container-has-open";e?t.add(a):t.remove(a)}_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(Mi,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(va),i.Y36(Bk),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,bw,5),i.Suo(a,FS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(bw,5),2&e){let a;i.iGM(a=i.CRH())&&(t._userContent=a.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:Hx,useExisting:n}])],ngContentSelectors:kk,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(Hk),i.YNc(0,Ek,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Dk,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[bw,T.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[style*="visibility: hidden"]{display:none}.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})(),kx=(()=>{class n extends bw{constructor(e,t,a,l,d){super(e,t,a,l,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>zS)),i.Y36(i.SBq),i.Y36(Ro),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:Vl,useExisting:n}]),i.qOj],ngContentSelectors:_w,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),YS=(()=>{class n extends FS{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=We(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Fi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Fi(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:_w,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:[Vl],encapsulation:2,data:{animation:[jS.transformDrawer]},changeDetection:0}),n})(),zS=(()=>{class n extends NS{}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,a){if(1&e&&(i.Suo(a,kx,5),i.Suo(a,YS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},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:Hx,useExisting:n}]),i.qOj],ngContentSelectors:Ik,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(Lk),i.YNc(0,Pk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Rk,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[kx,T.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[style*="visibility: hidden"]{display:none}.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})(),US=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,es],es,ot]}),n})(),jk=(()=>{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(ra))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Px=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const qS=["*"],Nk=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Yk=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Wk=qn(br(class{})),Zk=br(class{}),$k=new i.OlP("MatList"),GS=new i.OlP("MatNavList");let Jk=(()=>{class n extends Wk{constructor(){super(...arguments),this._stateChanges=new Pe.x}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:GS,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:qS,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),WS=(()=>{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})(),ZS=(()=>{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})(),Qk=(()=>{class n extends Zk{constructor(e,t,a,l){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new Pe.x,this._disabled=!1,this._isInteractiveList=!!(a||l&&"action-list"===l._getListType()),this._list=a||l;const d=this._getHostElement();"button"===d.nodeName.toLowerCase()&&!d.hasAttribute("type")&&d.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(nt(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=We(e)}ngAfterContentInit(){!function Xh(n,o,e="mat"){n.changes.pipe(Jt(n)).subscribe(({length:t})=>{Bl(o,`${e}-2-line`,!1),Bl(o,`${e}-3-line`,!1),Bl(o,`${e}-multi-line`,!1),2===t||3===t?Bl(o,`${e}-${t}-line`,!0):t>3&&Bl(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(GS,8),i.Y36($k,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,WS,5),i.Suo(a,ZS,5),i.Suo(a,jm,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._avatar=l.first),i.iGM(l=i.CRH())&&(t._icon=l.first),i.iGM(l=i.CRH())&&(t._lines=l)}},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:Yk,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(Nk),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:[Gn],encapsulation:2,changeDetection:0}),n})(),JS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,yr,ot,gu,T.ez],ep,ot,gu,Px]}),n})();function nP(n,o){if(1&n&&i._UZ(0,"mat-icon",6),2&n){const e=i.oxw().$implicit;i.Q6J("svgIcon",e.icon)}}function rP(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 aP=function(n){return{color:n}};function sP(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,nP,1,1,"mat-icon",3),i.YNc(2,rP,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,aP,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 oP=(()=>{class n{constructor(e,t,a){this.sideMenuItemService=e,this.storeService=t,this.router=a,this.items=[],this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=a.url,a.events.subscribe(l=>{l instanceof _e&&(this.currentUrl=l.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(jk),i.Y36(Qn),i.Y36(Hi))},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,sP,6,12,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Jk,T.sg,Qk,Gn,T.PC,nr,T.O5,Yi],pipes:[Ie],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 lP(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 cP=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.translate=t,this.notificator=a,this.rtMessages=l,this.storeService=d,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",x(4147).i8)}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(Ye),i.Y36(In),i.Y36(tn),i.Y36(Qn))},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(l){return t.subject=l}),i.qZA(),i.YNc(10,lP,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(l){return t.message=l}),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 a=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",a.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",a.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[Ma,Sa,Wn,is,as,Ln,ns,sr,fd,T.O5,Io,xu,Ea,zt],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),dP=(()=>{class n{transform(e,t,a){return e[`${a}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})(),uP=(()=>{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})(),hP=(()=>{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 pP(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 fP(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 mP(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,pP,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,fP,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 gP=function(n){return{"min-height":n}};function _P(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,mP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,gP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const Ad=function(n){return{color:n}};function bP(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,Ad,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function yP(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw(3).openDialog(a.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,Ad,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function CP(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,Ad,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function wP(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,Ad,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function AP(n,o){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,bP,2,4,"i",17),i.YNc(2,yP,3,8,"span",18),i.YNc(3,CP,4,12,"a",19),i.ALo(4,"localisedLink"),i.YNc(5,wP,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 vP=function(n){return{height:n}};function TP(n,o){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,AP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,vP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function xP(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,_P,2,4,"div",9),i.YNc(5,TP,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,Ad,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 MP(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,a=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,Ad,a.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const SP=function(n){return{background:n}};let QS=(()=>{class n{constructor(e,t,a){this.storeService=e,this.translateService=t,this.dialog=a,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=x(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Jn();"reportIssue"===e&&(t.width="550px",this.dialog.open(cP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn),i.Y36(Ye),i.Y36(wn))},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,xP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,MP,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,SP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.footerColumns),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,Ad,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,Ad,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[T.PC,T.sg,T.O5],pipes:[dP,uP,hP],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 EP(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 DP(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)}}const HP=function(n){return{color:n}};function kP(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,HP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const PP=function(n,o){return{background:n,color:o}},RP=function(n,o){return{"min-height":n,"background-color":o}};let LP=(()=>{class n{constructor(e,t,a,l){this.storeService=e,this.sanitizer=t,this.preferredLangService=a,this.translateService=l,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(Qn),i.Y36(Vn),i.Y36(LH),i.Y36(Ye))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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,EP,2,1,"div",1),i.YNc(2,DP,3,1,"div",2),i.YNc(3,kP,2,4,"p",3),i.qZA(),i.TgZ(4,"div",4),i.TgZ(5,"div",5),i.TgZ(6,"div",6),i._UZ(7,"router-outlet"),i.qZA(),i.TgZ(8,"div",7),i._UZ(9,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(5,PP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(8,RP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[T.PC,T.O5,Yi,pl,QS],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),n})();const IP=["footer"],KS=function(n){return{background:n}},OP=function(n){return{"min-height":n}};function BP(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,KS,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(9,KS,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,OP,t.contentHeight))}}function VP(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 jP=(()=>{class n{constructor(e,t,a,l,d){this.store=e,this.initAuth=t,this.changeDetector=a,this.authResolver=l,this.router=d,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)"}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}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"])}isMobile(){return window.innerWidth<=n.minWidth}setContentHeight(e){this.contentHeight="calc(100vh - 84px - "+String(e)+"px)",this.changeDetector.detectChanges()}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){var e,t,a,l;const d=null!==(l=null===(a=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===a?void 0:a.toString())&&void 0!==l?l:"0";this.contentHeight="calc(100vh - 84px - "+d+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36(Qn),i.Y36(bx),i.Y36(i.sBO),i.Y36(ra),i.Y36(Hi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(IP,5),2&e){let a;i.iGM(a=i.CRH())&&(t.footer=a.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,BP,12,13,"div",0),i.YNc(2,VP,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:[bk,T.O5,Mk,zS,YS,T.PC,oP,kx,pl,QS,LP],pipes:[Ie],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 FP{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 NP=(()=>{class n{constructor(e,t,a,l,d){this.http=e,this.storeService=t,this.authzSevice=a,this.titleService=l,this.utilsService=d}initializeColors(e,t){return new Promise(a=>{t.forEach(l=>{const d=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,d)}),e.forEach(l=>{const d=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,d),this.setEntityTheme(l.entity,d)}),a()})}setEntityTheme(e,t){const a=function YP(n){return[Jr(tinycolor(n).lighten(52),"50"),Jr(tinycolor(n).lighten(37),"100"),Jr(tinycolor(n).lighten(26),"200"),Jr(tinycolor(n).lighten(12),"300"),Jr(tinycolor(n).lighten(6),"400"),Jr(tinycolor(n),"500"),Jr(tinycolor(n).darken(6),"600"),Jr(tinycolor(n).darken(12),"700"),Jr(tinycolor(n).darken(18),"800"),Jr(tinycolor(n).darken(24),"900"),Jr(tinycolor(n).lighten(50).saturate(30),"A100"),Jr(tinycolor(n).lighten(30).saturate(30),"A200"),Jr(tinycolor(n).lighten(10).saturate(15),"A400"),Jr(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const l of a){const r=`--${e}-theme-primary-contrast-${l.name}`,c=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(r,c)}}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=>{var a;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(a=null==t?void 0:t.brandings)||void 0===a?void 0:a[l])&&this.storeService.setBanding(l),e()},()=>{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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(a=>{this.storeService.setAppsConfig(a),e()},a=>t(a))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(C.eN),i.LFG(Qn),i.LFG(Oi),i.LFG(Xt),i.LFG(vt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Jr(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,a,l,d){this.initAuthService=e,this.appConfigService=t,this.location=a,this.authzSevice=l,this.guiAuthResolver=d,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(a=>{this.guiAuthResolver.setPerunPolicies(a),e()},a=>t(a))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(bx),i.LFG(NP),i.LFG(T.Ye),i.LFG(Oi),i.LFG(ra))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const UP=new i.OlP("perun-api-service");let qP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,iw,Ca,Ot]]}),n})();const GP=["*",[["mat-card-footer"]]],WP=["*","mat-card-footer"];let XS=(()=>{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})(),eE=(()=>{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})(),tE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(yi,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:WP,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(GP),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})(),iE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ot],ot]}),n})();const ZP=["input"],$P=function(n){return{enterDuration:n}},JP=["*"],QP=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:nE});function nE(){return{color:"accent",clickAction:"check-indeterminate"}}let KP=0;const rE=nE(),XP={provide:Zn,useExisting:(0,i.Gpc)(()=>vd),multi:!0};class eR{}const tR=Il(ya(br(qn(class{constructor(n){this._elementRef=n}}))));let vd=(()=>{class n extends tR{constructor(e,t,a,l,d,s,r){super(e),this._changeDetectorRef=t,this._focusMonitor=a,this._ngZone=l,this._animationMode=s,this._options=r,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++KP,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||rE,this.color=this.defaultColor=this._options.color||rE.color,this.tabIndex=parseInt(d)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=We(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){const t=We(e);t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=We(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=We(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,a=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&a.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){a.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{a.classList.remove(l)},1e3)})}}_emitChangeEvent(){const e=new eR;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,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var t;const a=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===a?!this.disabled&&"noop"===a&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==a&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,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 a="";switch(e){case 0:if(1===t)a="unchecked-checked";else{if(3!=t)return"";a="unchecked-indeterminate"}break;case 2:a=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:a=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:a=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${a}`}_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(Pn),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(yi,8),i.Y36(QP,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ZP,5),i.Gf(Gn,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._inputElement=a.first),i.iGM(a=i.CRH())&&(t.ripple=a.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",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([XP]),i.qOj],ngContentSelectors:JP,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","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(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),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 a=i.MAs(1),l=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.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",a)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,$P,"NoopAnimations"===t._animationMode?0:150))}},directives:[Gn,Xd],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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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})(),aE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),yw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot,Ao,aE],ot,aE]}),n})(),rR=0;const Rx=new i.OlP("CdkAccordion");let aR=(()=>{class n{constructor(){this._stateChanges=new Pe.x,this._openCloseAllActions=new Pe.x,this.id="cdk-accordion-"+rR++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=We(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:Rx,useExisting:n}]),i.TTD]}),n})(),sR=0,oR=(()=>{class n{constructor(e,t,a){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=a,this._openCloseAllSubscription=Rt.w0.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-"+sR++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=a.listen((l,d)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===d&&this.id!==l&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=We(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=We(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(Rx,12),i.Y36(i.sBO),i.Y36(ag))},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:Rx,useValue:void 0}])]}),n})(),lR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const cR=["body"];function dR(n,o){}const uR=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],hR=["mat-expansion-panel-header","*","mat-action-row"];function pR(n,o){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const fR=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],mR=["mat-panel-title","mat-panel-description","*"],Lx=new i.OlP("MAT_ACCORDION"),sE="225ms cubic-bezier(0.4,0.0,0.2,1)",oE={indicatorRotate:Zt("indicatorRotate",[Tt("collapsed, void",Le({transform:"rotate(0deg)"})),Tt("expanded",Le({transform:"rotate(180deg)"})),mt("expanded <=> collapsed, void => collapsed",_t(sE))]),bodyExpansion:Zt("bodyExpansion",[Tt("collapsed, void",Le({height:"0px",visibility:"hidden"})),Tt("expanded",Le({height:"*",visibility:"visible"})),mt("expanded <=> collapsed, void => collapsed",_t(sE))])};let gR=(()=>{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})(),_R=0;const lE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let cE=(()=>{class n extends oR{constructor(e,t,a,l,d,s,r){super(e,t,a),this._viewContainerRef=l,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new Pe.x,this._headerId="mat-expansion-panel-header-"+_R++,this._bodyAnimationDone=new Pe.x,this.accordion=e,this._document=d,this._bodyAnimationDone.pipe(El((c,u)=>c.fromState===u.fromState&&c.toState===u.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),r&&(this.hideToggle=r.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=We(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(Jt(null),(0,Gt.h)(()=>this.expanded&&!this._portal),(0,Yt.q)(1)).subscribe(()=>{this._portal=new Lo(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(Lx,12),i.Y36(i.sBO),i.Y36(ag),i.Y36(i.s_b),i.Y36(T.K0),i.Y36(yi,8),i.Y36(lE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,gR,5),2&e){let l;i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(cR,5),2&e){let a;i.iGM(a=i.CRH())&&(t._body=a.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:Lx,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:hR,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(uR),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(l){return t._bodyAnimationDone.next(l)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,dR,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:[ts],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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[oE.bodyExpansion]},changeDetection:0}),n})();class bR{}const yR=Il(bR);let dE=(()=>{class n extends yR{constructor(e,t,a,l,d,s,r){super(),this.panel=e,this._element=t,this._focusMonitor=a,this._changeDetectorRef=l,this._animationMode=s,this._parentChangeSubscription=Rt.w0.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe((0,Gt.h)(u=>!(!u.hideToggle&&!u.togglePosition))):rn.E;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=(0,wi.T)(e.opened,e.closed,c,e._inputChanges.pipe((0,Gt.h)(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Gt.h)(()=>e._containsFocus())).subscribe(()=>a.focusVia(t,"program")),d&&(this.expandedHeight=d.expandedHeight,this.collapsedHeight=d.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:on(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(cE,1),i.Y36(i.SBq),i.Y36(Pn),i.Y36(i.sBO),i.Y36(lE,8),i.Y36(yi,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(l){return t._keydown(l)}),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:mR,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(fR),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,pR,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[T.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:[oE.indicatorRotate]},changeDetection:0}),n})(),CR=(()=>{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})(),wR=(()=>{class n extends aR{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=We(e)}ngAfterContentInit(){this._headers.changes.pipe(Jt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new To(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,a){if(1&e&&i.Suo(a,dE,5),2&e){let l;i.iGM(l=i.CRH())&&(t._headers=l)}},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:Lx,useExisting:n}]),i.qOj]}),n})(),uE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,lR,jl]]}),n})(),pE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ep,ot],ep,ot]}),n})();function TR(n,o){1&n&&i.Hsn(0)}const xR=["*"];let fE=(()=>{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})(),MR=0;const gE=new i.OlP("STEPPER_GLOBAL_OPTIONS");let Ix=(()=>{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=We(e)}get optional(){return this._optional}set optional(e){this._optional=We(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=We(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=We(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)(()=>sf)),i.Y36(gE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-step"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,mE,5),2&e){let l;i.iGM(l=i.CRH())&&(t.stepLabel=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let a;i.iGM(a=i.CRH())&&(t.content=a.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:xR,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,TR,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),n})(),sf=(()=>{class n{constructor(e,t,a,l){this._dir=e,this._changeDetectorRef=t,this._elementRef=a,this._destroyed=new Pe.x,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=MR++}get linear(){return this._linear}set linear(e){this._linear=We(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){var t;const a=Fi(e);this.steps&&this._steps?(this._isValidIndex(a),null===(t=this.selected)||void 0===t||t._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)):this._selectedIndex=a}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(Jt(this._steps),nt(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Jt(this._stepHeader),nt(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,a)=>t._elementRef.nativeElement.compareDocumentPosition(a._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new To(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Qe.of)()).pipe(Jt(this._layoutDirection()),nt(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 a=this.steps.toArray()[e],l=this._isCurrentStep(e);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,l):this._getGuidelineLogic(a,l,t)}_getDefaultIndicatorLogic(e,t){return e._showError()&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,t,a="number"){return e._showError()&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?a:e.editable&&t?"edit":a}_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=on(e),a=e.keyCode,l=this._keyManager;null==l.activeItemIndex||t||32!==a&&13!==a?l.onKeydown(e):(this.selectedIndex=l.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(t=>{const a=t.stepControl;return(a?a.invalid||a.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=Bc();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(sf))},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})(),ER=(()=>{class n{constructor(e){this._stepper=e,this.type="button"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(sf))},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})(),DR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[vl]]}),n})();function HR(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 kR(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 PR(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 RR(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 LR(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 IR(n,o){if(1&n&&(i.ynx(0,9),i.YNc(1,kR,2,1,"span",10),i.YNc(2,PR,2,1,"span",11),i.YNc(3,RR,2,1,"span",11),i.YNc(4,LR,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 OR(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 BR(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 VR(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 jR(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 FR(n,o){}function NR(n,o){if(1&n&&(i.Hsn(0),i.YNc(1,FR,0,0,"ng-template",0)),2&n){const e=i.oxw();i.xp6(1),i.Q6J("cdkPortalOutlet",e._portal)}}const YR=["*"];function zR(n,o){1&n&&i._UZ(0,"div",9)}const _E=function(n,o){return{step:n,i:o}};function UR(n,o){if(1&n&&(i.ynx(0),i.GkF(1,7),i.YNc(2,zR,1,0,"div",8),i.BQk()),2&n){const e=o.$implicit,t=o.index,a=o.last;i.oxw(2);const l=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",i.WLB(3,_E,e,t)),i.xp6(1),i.Q6J("ngIf",!a)}}function qR(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",10),i.NdJ("@horizontalStepTransition.done",function(a){return i.CHM(e),i.oxw(2)._animationDone.next(a)}),i.GkF(1,11),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw(2);i.Q6J("@horizontalStepTransition",a._getAnimationDirection(t))("id",a._getStepContentId(t)),i.uIk("aria-labelledby",a._getStepLabelId(t))("aria-expanded",a.selectedIndex===t),i.xp6(1),i.Q6J("ngTemplateOutlet",e.content)}}function GR(n,o){if(1&n&&(i.ynx(0),i.TgZ(1,"div",3),i.YNc(2,UR,3,6,"ng-container",4),i.qZA(),i.TgZ(3,"div",5),i.YNc(4,qR,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 WR(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(a){return i.CHM(e),i.oxw(2)._animationDone.next(a)}),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,a=o.last,l=i.oxw(2),d=i.MAs(4);i.xp6(1),i.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",i.WLB(9,_E,e,t)),i.xp6(1),i.ekj("mat-stepper-vertical-line",!a),i.xp6(1),i.Q6J("@verticalStepTransition",l._getAnimationDirection(t))("id",l._getStepContentId(t)),i.uIk("aria-labelledby",l._getStepLabelId(t))("aria-expanded",l.selectedIndex===t),i.xp6(2),i.Q6J("ngTemplateOutlet",e.content)}}function ZR(n,o){if(1&n&&(i.ynx(0),i.YNc(1,WR,6,12,"div",12),i.BQk()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.steps)}}function $R(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(a){return i.CHM(e),i.oxw()._onKeydown(a)}),i.qZA()}if(2&n){const e=o.step,t=o.i,a=i.oxw();i.ekj("mat-horizontal-stepper-header","horizontal"===a.orientation)("mat-vertical-stepper-header","vertical"===a.orientation),i.Q6J("tabIndex",a._getFocusIndex()===t?0:-1)("id",a._getStepLabelId(t))("index",t)("state",a._getIndicatorType(t,e.state))("label",e.stepLabel||e.label)("selected",a.selectedIndex===t)("active",a._stepIsNavigable(t,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(t,e))("color",e.color||a.color),i.uIk("aria-posinset",t+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(t))("aria-selected",a.selectedIndex==t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!a._stepIsNavigable(t,e)||null)}}let Cw=(()=>{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})(),ww=(()=>{class n{constructor(){this.changes=new Pe.x,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 QR={provide:ww,deps:[[new i.FiY,new i.tp0,ww]],useFactory:function JR(n){return n||new ww}},KR=ya(class extends fE{constructor(o){super(o)}},"primary");let bE=(()=>{class n extends KR{constructor(e,t,a,l){super(a),this._intl=e,this._focusMonitor=t,this._intlSubscription=e.changes.subscribe(()=>l.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 Cw?null:this.label}_templateLabel(){return this.label instanceof Cw?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(ww),i.Y36(Pn),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,HR,1,2,"ng-container",2),i.YNc(4,IR,5,4,"ng-container",3),i.qZA(),i.qZA(),i.TgZ(5,"div",4),i.YNc(6,OR,2,1,"div",5),i.YNc(7,BR,2,1,"div",5),i.YNc(8,VR,2,1,"div",6),i.YNc(9,jR,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:[Yi,Gn,T.RF,T.n9,T.tP,T.ED,T.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 yE={horizontalStepTransition:Zt("horizontalStepTransition",[Tt("previous",Le({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Tt("current",Le({transform:"none",visibility:"inherit"})),Tt("next",Le({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),mt("* => *",_t("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Zt("verticalStepTransition",[Tt("previous",Le({height:"0px",visibility:"hidden"})),Tt("next",Le({height:"0px",visibility:"hidden"})),Tt("current",Le({height:"*",visibility:"inherit"})),mt("* <=> current",_t("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let XR=(()=>{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})(),eL=(()=>{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})(),CE=(()=>{class n extends Ix{constructor(e,t,a,l){super(e,l),this._errorStateMatcher=t,this._viewContainerRef=a,this._isSelected=Rt.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,qi.w)(()=>this._stepper.selectionChange.pipe((0,ft.U)(e=>e.selectedStep===this),Jt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Lo(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)(()=>AE)),i.Y36(Wr,4),i.Y36(i.s_b),i.Y36(gE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-step"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,Cw,5),i.Suo(a,eL,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.stepLabel=l.first),i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[i._Bn([{provide:Wr,useExisting:n},{provide:Ix,useExisting:n}]),i.qOj],ngContentSelectors:YR,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,NR,2,1,"ng-template"))},directives:[ts],encapsulation:2,changeDetection:0}),n})(),wE=(()=>{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})(),tL=(()=>{class n extends wE{}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})(),iL=(()=>{class n extends wE{}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})(),AE=(()=>{class n extends sf{constructor(e,t,a,l){super(e,t,a,l),this.steps=new i.n_E,this.animationDone=new i.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new Pe.x;const d=a.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===d?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(nt(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(El((e,t)=>e.fromState===t.fromState&&e.toState===t.toState),nt(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(Mi,8),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(T.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,CE,5),i.Suo(a,XR,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._steps=l),i.iGM(l=i.CRH())&&(t._icons=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(bE,5),2&e){let a;i.iGM(a=i.CRH())&&(t._stepHeader=a)}},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:sf,useExisting:n},{provide:tL,useExisting:n},{provide:iL,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,GR,5,2,"ng-container",1),i.YNc(2,ZR,2,1,"ng-container",1),i.BQk(),i.YNc(3,$R,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,T.RF,T.n9,T.sg,T.tP,T.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:[yE.horizontalStepTransition,yE.verticalStepTransition]},changeDetection:0}),n})(),nL=(()=>{class n extends SR{}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})(),rL=(()=>{class n extends ER{}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})(),vE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[QR,Wr],imports:[[ot,T.ez,jl,Ca,DR,zo,yr],ot]}),n})();const aL=["mat-calendar-body",""];function sL(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 oL(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 lL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",7),i.TgZ(1,"button",8),i.NdJ("click",function(a){const d=i.CHM(e).$implicit;return i.oxw(2)._cellClicked(d,a)}),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,a=i.oxw().index,l=i.oxw();i.Udp("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),i.uIk("data-mat-row",a)("data-mat-col",t),i.xp6(1),i.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",l._isActiveCell(a,t))("mat-calendar-body-range-start",l._isRangeStart(e.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",l._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(e.compareValue,a,t))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(e.compareValue,a,t))("mat-calendar-body-comparison-start",l._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",l._isInPreview(e.compareValue)),i.Q6J("ngClass",e.cssClasses)("tabindex",l._isActiveCell(a,t)?0:-1),i.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",l._isSelected(e.compareValue))("aria-current",l.todayValue===e.compareValue?"date":null),i.xp6(1),i.ekj("mat-calendar-body-selected",l._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",l.todayValue===e.compareValue),i.xp6(1),i.hij(" ",e.displayValue," ")}}function cL(n,o){if(1&n&&(i.TgZ(0,"tr",4),i.YNc(1,oL,2,6,"td",5),i.YNc(2,lL,5,47,"td",6),i.qZA()),2&n){const e=o.$implicit,t=o.index,a=i.oxw();i.xp6(1),i.Q6J("ngIf",0===t&&a._firstRowOffset),i.xp6(1),i.Q6J("ngForOf",e)}}function dL(n,o){if(1&n&&(i.TgZ(0,"th",5),i.TgZ(1,"span",6),i._uU(2),i.qZA(),i.TgZ(3,"span",7),i._uU(4),i.qZA(),i.qZA()),2&n){const e=o.$implicit;i.xp6(2),i.Oqu(e.long),i.xp6(2),i.Oqu(e.narrow)}}const uL=["*"];function hL(n,o){}function pL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-month-view",5),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("_userSelection",function(a){return i.CHM(e),i.oxw()._dateSelected(a)}),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 fL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-year-view",6),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("monthSelected",function(a){return i.CHM(e),i.oxw()._monthSelectedInYearView(a)})("selectedChange",function(a){return i.CHM(e),i.oxw()._goToDateInView(a,"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 mL(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-multi-year-view",7),i.NdJ("activeDateChange",function(a){return i.CHM(e),i.oxw().activeDate=a})("yearSelected",function(a){return i.CHM(e),i.oxw()._yearSelectedInMultiYearView(a)})("selectedChange",function(a){return i.CHM(e),i.oxw()._goToDateInView(a,"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 gL(n,o){}const _L=["button"];function bL(n,o){1&n&&(i.O4$(),i.TgZ(0,"svg",3),i._UZ(1,"path",4),i.qZA())}const yL=[[["","matDatepickerToggleIcon",""]]],CL=["[matDatepickerToggleIcon]"];class Ox{constructor(o,e,t,a,l={},d=o,s){this.value=o,this.displayValue=e,this.ariaLabel=t,this.enabled=a,this.cssClasses=l,this.compareValue=d,this.rawValue=s}}let lf=(()=>{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=a=>{if(this._skipNextFocus&&"focus"===a.type)this._skipNextFocus=!1;else if(a.target&&this.isRange){const l=this._getCellFromElement(a.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:a}))}},this._leaveHandler=a=>{null!==this.previewEnd&&this.isRange&&a.target&&this._getCellFromElement(a.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:a}))},t.runOutsideAngular(()=>{const a=e.nativeElement;a.addEventListener("mouseenter",this._enterHandler,!0),a.addEventListener("focus",this._enterHandler,!0),a.addEventListener("mouseleave",this._leaveHandler,!0),a.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:a,numCols:l}=this;(e.rows||t)&&(this._firstRowOffset=a&&a.length&&a[0].length?l-a[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(t||!this._cellWidth)&&(this._cellWidth=100/l+"%")}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 a=e*this.numCols+t;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})})}_isRangeStart(e){return Bx(e,this.startValue,this.endValue)}_isRangeEnd(e){return Vx(e,this.startValue,this.endValue)}_isInRange(e){return jx(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Bx(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let l=this.rows[t][a-1];if(!l){const d=this.rows[t-1];l=d&&d[d.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(e,t,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let l=this.rows[t][a+1];if(!l){const d=this.rows[t+1];l=d&&d[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(e){return Vx(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return jx(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Bx(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Vx(e,this.previewStart,this.previewEnd)}_isInPreview(e){return jx(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(TE(e)?t=e:TE(e.parentNode)&&(t=e.parentNode),t){const a=t.getAttribute("data-mat-row"),l=t.getAttribute("data-mat-col");if(a&&l)return this.rows[parseInt(a)][parseInt(l)]}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:aL,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,sL,3,6,"tr",0),i.YNc(1,cL,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 TE(n){return"TD"===n.nodeName}function Bx(n,o,e){return null!==e&&o!==e&&n=o&&n===e}function jx(n,o,e,t){return t&&null!==o&&null!==e&&o!==e&&n>=o&&n<=e}class Qr{constructor(o,e){this.start=o,this.end=e}}let Td=(()=>{class n{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new Pe.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){const a=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:a})}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})(),wL=(()=>{class n extends Td{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(Ci))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const xE={provide:Td,deps:[[new i.FiY,new i.tp0,Td],Ci],useFactory:function vL(n,o){return n||new wL(o)}},Aw=new i.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let ME=(()=>{class n{constructor(e,t,a,l,d){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=l,this._rangeStrategy=d,this._rerenderSubscription=Rt.w0.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,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qr?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(Jt(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,a=this._dateAdapter.getYear(this.activeDate),l=this._dateAdapter.getMonth(this.activeDate),d=this._dateAdapter.createDate(a,l,t);let s,r;this._selected instanceof Qr?(s=this._getDateInCurrentMonth(this._selected.start),r=this._getDateInCurrentMonth(this._selected.end)):s=r=this._getDateInCurrentMonth(this._selected),(s!==t||r!==t)&&this.selectedChange.emit(d),this._userSelection.emit({value:d,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-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&&!on(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 l=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((d,s)=>({long:d,narrow:t[s]}));this._weekdays=l.slice(e).concat(l.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let a=0,l=this._firstWeekOffset;a=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),a=this._dateAdapter.getMonth(e),l=this._dateAdapter.getDate(e);return new Date(t,a,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Qr?(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(Gr,8),i.Y36(Ci,8),i.Y36(Mi,8),i.Y36(Aw,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&i.Gf(lf,5),2&e){let a;i.iGM(a=i.CRH())&&(t._matCalendarBody=a.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"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.TgZ(0,"table",0),i.TgZ(1,"thead",1),i.TgZ(2,"tr"),i.YNc(3,dL,5,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(l){return t._dateSelected(l)})("previewChange",function(l){return t._previewChanged(l)})("keyup",function(l){return t._handleCalendarBodyKeyup(l)})("keydown",function(l){return t._handleCalendarBodyKeydown(l)}),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:[lf,T.sg],encapsulation:2,changeDetection:0}),n})(),SE=(()=>{class n{constructor(e,t,a){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=a,this._rerenderSubscription=Rt.w0.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 a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),EE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Qr?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(Jt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,l=[];a<24;a++)l.push(t+a),4==l.length&&(this._years.push(l.map(d=>this._createCellForYear(d))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let a=this._dateAdapter.getMonth(this.activeDate),l=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,a,1));this.selectedChange.emit(this._dateAdapter.createDate(t,a,Math.min(this._dateAdapter.getDate(this.activeDate),l)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-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,-t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-t_(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 t_(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),a=this._dateAdapter.getYearName(t),l=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Ox(e,a,a,this._shouldEnableYear(e),l)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{constructor(e,t,a,l){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=l,this._rerenderSubscription=Rt.w0.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 a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,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 Qr?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(Jt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(a);const l=this._dateAdapter.getNumDaysInMonth(a);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),l)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-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(a=>this._createCellForMonth(a,e[a]))),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 a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),l=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(a,"year"):void 0;return new Ox(e,t.toLocaleUpperCase(),l,this._shouldEnableMonth(e),d)}_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 l=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(l)==e;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const a=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return e>a||e===a&&t>l}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const a=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(){this.changes=new Pe.x,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})(),EL=0,DL=(()=>{class n{constructor(e,t,a,l,d){this._intl=e,this.calendar=t,this._dateAdapter=a,this._dateFormats=l,this._buttonDescriptionId="mat-calendar-button-"+EL++,this.calendar.stateChanges.subscribe(()=>d.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)-t_(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=t+24-1,l=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),d=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return this._intl.formatYearRange(l,d)}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):EE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i_),i.Y36((0,i.Gpc)(()=>Yx)),i.Y36(Ci,8),i.Y36(Gr,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:uL,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","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:[zt],encapsulation:2,changeDetection:0}),n})(),Yx=(()=>{class n{constructor(e,t,a,l){this._dateAdapter=t,this._dateFormats=a,this._changeDetectorRef=l,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 Pe.x,this._intlChanges=e.changes.subscribe(()=>{l.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 Qr?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 sd(this.headerComponent||DL),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&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,a=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,l=t||a||e.dateFilter;if(l&&!l.firstChange){const d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const t=e.value;(this.selected instanceof Qr||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(i_),i.Y36(Ci,8),i.Y36(Gr,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(i.Gf(ME,5),i.Gf(HE,5),i.Gf(SE,5)),2&e){let a;i.iGM(a=i.CRH())&&(t.monthView=a.first),i.iGM(a=i.CRH())&&(t.yearView=a.first),i.iGM(a=i.CRH())&&(t.multiYearView=a.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([xE]),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,hL,0,0,"ng-template",0),i.TgZ(1,"div",1),i.YNc(2,pL,1,8,"mat-month-view",2),i.YNc(3,fL,1,6,"mat-year-view",3),i.YNc(4,mL,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:[ME,HE,SE,ts,K_,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}),n})();const kE={transformPanel:Zt("transformPanel",[mt("void => enter-dropdown",_t("120ms cubic-bezier(0, 0, 0.2, 1)",So([Le({opacity:0,transform:"scale(1, 0.8)"}),Le({opacity:1,transform:"scale(1, 1)"})]))),mt("void => enter-dialog",_t("150ms cubic-bezier(0, 0, 0.2, 1)",So([Le({opacity:0,transform:"scale(0.7)"}),Le({transform:"none",opacity:1})]))),mt("* => void",_t("100ms linear",Le({opacity:0})))]),fadeInCalendar:Zt("fadeInCalendar",[Tt("void",Le({opacity:0})),Tt("enter",Le({opacity:1})),mt("void => *",_t("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let HL=0;const PE=new i.OlP("mat-datepicker-scroll-strategy"),PL={provide:PE,deps:[Cr],useFactory:function kL(n){return()=>n.scrollStrategies.reposition()}},RL=ya(class{constructor(n){this._elementRef=n}});let LL=(()=>{class n extends RL{constructor(e,t,a,l,d,s){super(e),this._changeDetectorRef=t,this._globalModel=a,this._dateAdapter=l,this._rangeSelectionStrategy=d,this._subscriptions=new Rt.w0,this._animationDone=new Pe.x,this._actionsPortal=null,this._closeButtonText=s.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,a=e.value,l=t instanceof Qr;if(l&&this._rangeSelectionStrategy){const d=this._rangeSelectionStrategy.selectionFinished(a,t,e.event);this._model.updateSelection(d,this)}else a&&(l||!this._dateAdapter.sameDate(a,t))&&this._model.add(a);(!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(Td),i.Y36(Ci),i.Y36(Aw,8),i.Y36(i_))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&i.Gf(Yx,5),2&e){let a;i.iGM(a=i.CRH())&&(t._calendar=a.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(l){return t.datepicker._selectYear(l)})("monthSelected",function(l){return t.datepicker._selectMonth(l)})("viewChanged",function(l){return t.datepicker._viewChanged(l)})("_userSelection",function(l){return t._handleUserSelection(l)}),i.qZA(),i.YNc(2,gL,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 a;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!==(a=t._dialogLabelId)&&void 0!==a?a: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:[Yx,zt,J0,T.mk,ts],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:[kE.transformPanel,kE.fadeInCalendar]},changeDetection:0}),n})(),RE=(()=>{class n{constructor(e,t,a,l,d,s,r){this._overlay=e,this._ngZone=t,this._viewContainerRef=a,this._dateAdapter=d,this._dir=s,this._model=r,this._inputStateChanges=Rt.w0.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-"+HL++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Pe.x,this._scrollStrategy=l}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=We(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=We(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=We(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function Et(n,o=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(o);for(const a of t){const l=`${a}`.trim();l&&e.push(l)}}return e}(e)}get opened(){return this._opened}set opened(e){We(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 a=this._overlayRef.getConfig().positionStrategy;a instanceof bu&&(this._setConnectedPositions(a),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=Bc(),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,Yt.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 sd(LL,this._viewContainerRef),a=this._overlayRef=this._overlay.create(new up({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(a).subscribe(l=>{l&&l.preventDefault(),this.close()}),a.keydownEvents().subscribe(l=>{const d=l.keyCode;(38===d||40===d||37===d||39===d||33===d||34===d)&&l.preventDefault()}),this._componentRef=a.attach(t),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>a.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",a="start"===t?"end":"start",l="above"===this.yPosition?"bottom":"top",d="top"===l?"bottom":"top";return e.withPositions([{originX:t,originY:d,overlayX:t,overlayY:l},{originX:t,originY:l,overlayX:t,overlayY:d},{originX:a,originY:d,overlayX:a,overlayY:l},{originX:a,originY:l,overlayX:a,overlayY:d}])}_getCloseStream(e){return(0,wi.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,Gt.h)(t=>27===t.keyCode&&!on(t)||this.datepickerInput&&on(t,"altKey")&&38===t.keyCode)))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cr),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(PE),i.Y36(Ci,8),i.Y36(Mi,8),i.Y36(Td))},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})(),zx=(()=>{class n extends RE{}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([xE,{provide:RE,useExisting:n}]),i.qOj],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),n})();class vw{constructor(o,e){this.target=o,this.targetElement=e,this.value=this.target.value}}let IL=(()=>{class n{constructor(e,t,a){this._elementRef=e,this._dateAdapter=t,this._dateFormats=a,this.dateChange=new i.vpe,this.dateInput=new i.vpe,this.stateChanges=new Pe.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Rt.w0.EMPTY,this._localeSubscription=Rt.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!d||this._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),s=this._getMinDate();return!s||!d||this._dateAdapter.compareDate(s,d)<=0?null:{matDatepickerMin:{min:s,actual:d}}},this._maxValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),s=this._getMaxDate();return!s||!d||this._dateAdapter.compareDate(s,d)>=0?null:{matDatepickerMax:{max:s,actual:d}}},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=We(e),a=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&a.blur&&a.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 a=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(a),this._cvaOnChange(a),this._onTouched(),this._formatValue(a),this.dateInput.emit(new vw(this,this._elementRef.nativeElement)),this.dateChange.emit(new vw(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function OL(n,o){const e=Object.keys(n);for(let t of e){const{previousValue:a,currentValue:l}=n[t];if(!o.isDateInstance(a)||!o.isDateInstance(l))return!0;if(!o.sameDate(a,l))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 a=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a);const l=!this._dateAdapter.sameDate(a,this.value);!a||l?this._cvaOnChange(a):(e&&!this.value&&this._cvaOnChange(a),t!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(a),this.dateInput.emit(new vw(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new vw(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=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(Ci,8),i.Y36(Gr,8))},n.\u0275dir=i.lG2({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.TTD]}),n})();const BL={provide:Zn,useExisting:(0,i.Gpc)(()=>n_),multi:!0},VL={provide:ln,useExisting:(0,i.Gpc)(()=>n_),multi:!0};let n_=(()=>{class n extends IL{constructor(e,t,a,l){super(e,t,a),this._formField=l,this._closedSubscription=Rt.w0.EMPTY,this._validator=Ni.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(Ci,8),i.Y36(Gr,8),i.Y36(mp,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(l){return t._onInput(l.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(l){return t._onKeydown(l)}),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([BL,VL,{provide:DS,useExisting:n}]),i.qOj]}),n})(),jL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),Ux=(()=>{class n{constructor(e,t,a){this._intl=e,this._changeDetectorRef=t,this._stateChanges=Rt.w0.EMPTY;const l=Number(a);this.tabIndex=l||0===l?l:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=We(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,Qe.of)(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Qe.of)(),a=this.datepicker?(0,wi.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Qe.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,wi.T)(this._intl.changes,e,t,a).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i_),i.Y36(i.sBO),i.$8M("tabindex"))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,jL,5),2&e){let l;i.iGM(l=i.CRH())&&(t._customIcon=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(_L,5),2&e){let a;i.iGM(a=i.CRH())&&(t._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._open(l)}),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:CL,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(yL),i.TgZ(0,"button",0,1),i.YNc(2,bL,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:[zt,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}),n})(),qx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[i_,PL],imports:[[T.ez,Ca,Au,Mo,jl,ot],es]}),n})();const FL=["mat-sort-header",""];function NL(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 YL=["*"],xd=dM.ENTERING+" "+Fb.STANDARD_CURVE,cf={indicator:Zt("indicator",[Tt("active-asc, asc",Le({transform:"translateY(0px)"})),Tt("active-desc, desc",Le({transform:"translateY(10px)"})),mt("active-asc <=> active-desc",_t(xd))]),leftPointer:Zt("leftPointer",[Tt("active-asc, asc",Le({transform:"rotate(-45deg)"})),Tt("active-desc, desc",Le({transform:"rotate(45deg)"})),mt("active-asc <=> active-desc",_t(xd))]),rightPointer:Zt("rightPointer",[Tt("active-asc, asc",Le({transform:"rotate(45deg)"})),Tt("active-desc, desc",Le({transform:"rotate(-45deg)"})),mt("active-asc <=> active-desc",_t(xd))]),arrowOpacity:Zt("arrowOpacity",[Tt("desc-to-active, asc-to-active, active",Le({opacity:1})),Tt("desc-to-hint, asc-to-hint, hint",Le({opacity:.54})),Tt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Le({opacity:0})),mt("* => asc, * => desc, * => active, * => hint, * => void",_t("0ms")),mt("* <=> *",_t(xd))]),arrowPosition:Zt("arrowPosition",[mt("* => desc-to-hint, * => desc-to-active",_t(xd,So([Le({transform:"translateY(-25%)"}),Le({transform:"translateY(0)"})]))),mt("* => hint-to-desc, * => active-to-desc",_t(xd,So([Le({transform:"translateY(0)"}),Le({transform:"translateY(25%)"})]))),mt("* => asc-to-hint, * => asc-to-active",_t(xd,So([Le({transform:"translateY(25%)"}),Le({transform:"translateY(0)"})]))),mt("* => hint-to-asc, * => active-to-asc",_t(xd,So([Le({transform:"translateY(0)"}),Le({transform:"translateY(-25%)"})]))),Tt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Le({transform:"translateY(0)"})),Tt("hint-to-desc, active-to-desc, desc",Le({transform:"translateY(-25%)"})),Tt("hint-to-asc, active-to-asc, asc",Le({transform:"translateY(25%)"}))]),allowChildren:Zt("allowChildren",[mt("* <=> *",[rr("@*",ru(),{optional:!0})])])};let Tw=(()=>{class n{constructor(){this.changes=new Pe.x}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const UL={provide:Tw,deps:[[new i.FiY,new i.tp0,Tw]],useFactory:function zL(n){return n||new Tw}},qL=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),GL=Nb(qn(class{}));let Ha=(()=>{class n extends GL{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new Pe.x,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=We(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,a,l;if(!e)return"";const d=null!==(a=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==a?a:!!(null===(l=this._defaultOptions)||void 0===l?void 0:l.disableClear);let s=function WL(n,o){let e=["asc","desc"];return"desc"==n&&e.reverse(),o||e.push(""),e}(e.start||this.start,d),r=s.indexOf(this.direction)+1;return r>=s.length&&(r=0),s[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qL,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 ZL=qn(class{});let df=(()=>{class n extends ZL{constructor(e,t,a,l,d,s,r){super(),this._intl=e,this._changeDetectorRef=t,this._sort=a,this._columnDef=l,this._focusMonitor=d,this._elementRef=s,this._ariaDescriber=r,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=We(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(".mat-sort-header-container"),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,a;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(a=this._ariaDescriber)||void 0===a||a.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,wi.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(Tw),i.Y36(i.sBO),i.Y36(Ha,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(Pn),i.Y36(i.SBq),i.Y36(SA,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(l){return t._handleKeydown(l)})("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:FL,ngContentSelectors:YL,decls:4,vars:7,consts:[[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,NL,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)("role",t._isDisabled()?null:"button"),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[T.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:[cf.indicator,cf.leftPointer,cf.rightPointer,cf.arrowOpacity,cf.arrowPosition,cf.allowChildren]},changeDetection:0}),n})(),Gx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[UL],imports:[[T.ez,ot]]}),n})();function $L(n,o){1&n&&i.Hsn(0)}const LE=["*"];function JL(n,o){}const QL=function(n){return{animationDuration:n}},KL=function(n,o){return{value:n,params:o}},XL=["tabListContainer"],eI=["tabList"],tI=["tabListInner"],iI=["nextPaginator"],nI=["previousPaginator"],rI=["tabBodyWrapper"],aI=["tabHeader"];function sI(n,o){}function oI(n,o){if(1&n&&i.YNc(0,sI,0,0,"ng-template",10),2&n){const e=i.oxw().$implicit;i.Q6J("cdkPortalOutlet",e.templateLabel)}}function lI(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw().$implicit;i.Oqu(e.textLabel)}}function cI(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div",6),i.NdJ("click",function(){const a=i.CHM(e),l=a.$implicit,d=a.index,s=i.oxw(),r=i.MAs(1);return s._handleClick(l,r,d)})("cdkFocusChange",function(a){const d=i.CHM(e).index;return i.oxw()._tabFocusChanged(a,d)}),i.TgZ(1,"div",7),i.YNc(2,oI,1,1,"ng-template",8),i.YNc(3,lI,1,1,"ng-template",null,9,i.W1O),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.MAs(4),l=i.oxw();i.ekj("mat-tab-label-active",l.selectedIndex===t),i.Q6J("id",l._getTabLabelId(t))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||l.disableRipple),i.uIk("tabIndex",l._getTabIndex(e,t))("aria-posinset",t+1)("aria-setsize",l._tabs.length)("aria-controls",l._getTabContentId(t))("aria-selected",l.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",a)}}function dI(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(a){return i.CHM(e),i.oxw()._setTabBodyWrapperHeight(a)}),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw();i.ekj("mat-tab-body-active",a.selectedIndex===t),i.Q6J("id",a._getTabContentId(t))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",a.animationDuration),i.uIk("tabindex",null!=a.contentTabIndex&&a.selectedIndex===t?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(t))}}const uI=new i.OlP("MatInkBarPositioner",{providedIn:"root",factory:function hI(){return o=>({left:o?(o.offsetLeft||0)+"px":"0",width:o?(o.offsetWidth||0)+"px":"0"})}});let IE=(()=>{class n{constructor(e,t,a,l){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=a,this._animationMode=l}alignToElement(e){this.show(),this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(()=>{const t=this._inkBarPositioner(e),a=this._elementRef.nativeElement;a.style.left=t.left,a.style.width=t.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(uI),i.Y36(yi,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 OE=new i.OlP("MatTabContent");let pI=(()=>{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:OE,useExisting:n}])]}),n})();const BE=new i.OlP("MatTabLabel"),VE=new i.OlP("MAT_TAB");let fI=(()=>{class n extends Lv{constructor(e,t,a){super(e,t),this._closestTab=a}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(VE,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[i._Bn([{provide:BE,useExisting:n}]),i.qOj]}),n})();const mI=qn(class{}),jE=new i.OlP("MAT_TAB_GROUP");let FE=(()=>{class n extends mI{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new Pe.x,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 Lo(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(jE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab"]],contentQueries:function(e,t,a){if(1&e&&(i.Suo(a,BE,5),i.Suo(a,OE,7,i.Rgc)),2&e){let l;i.iGM(l=i.CRH())&&(t.templateLabel=l.first),i.iGM(l=i.CRH())&&(t._explicitContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,7),2&e){let a;i.iGM(a=i.CRH())&&(t._implicitContent=a.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:VE,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:LE,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.YNc(0,$L,1,0,"ng-template"))},encapsulation:2}),n})();const gI={translateTab:Zt("translateTab",[Tt("center, void, left-origin-center, right-origin-center",Le({transform:"none"})),Tt("left",Le({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Tt("right",Le({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),mt("* => left, * => right, left => center, right => center",_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),mt("void => left-origin-center",[Le({transform:"translate3d(-100%, 0, 0)"}),_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),mt("void => right-origin-center",[Le({transform:"translate3d(100%, 0, 0)"}),_t("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let _I=(()=>{class n extends ts{constructor(e,t,a,l){super(e,t,l),this._host=a,this._centeringSub=Rt.w0.EMPTY,this._leavingSub=Rt.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Jt(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)(()=>NE)),i.Y36(T.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTabBodyHost",""]],features:[i.qOj]}),n})(),bI=(()=>{class n{constructor(e,t,a){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Rt.w0.EMPTY,this._translateTabComplete=new Pe.x,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(l=>{this._computePositionAnimationState(l),a.markForCheck()})),this._translateTabComplete.pipe(El((l,d)=>l.fromState===d.fromState&&l.toState===d.toState)).subscribe(l=>{this._isCenterPosition(l.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(l.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(Mi,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})(),NE=(()=>{class n extends bI{constructor(e,t,a){super(e,t,a)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Mi,8),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&i.Gf(ts,5),2&e){let a;i.iGM(a=i.CRH())&&(t._portalHost=a.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(l){return t._onTranslateTabStarted(l)})("@translateTab.done",function(l){return t._translateTabComplete.next(l)}),i.YNc(2,JL,0,0,"ng-template",2),i.qZA()),2&e&&i.Q6J("@translateTab",i.WLB(3,KL,t._position,i.VKq(1,QL,t.animationDuration)))},directives:[_I],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[gI.translateTab]}}),n})();const YE=new i.OlP("MAT_TABS_CONFIG"),yI=qn(class{});let zE=(()=>{class n extends yI{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 UE=Vr({passive:!0});let AI=(()=>{class n{constructor(e,t,a,l,d,s,r){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=a,this._dir=l,this._ngZone=d,this._platform=s,this._animationMode=r,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Pe.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Pe.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new i.vpe,this.indexFocused=new i.vpe,d.runOutsideAngular(()=>{Qa(e.nativeElement,"mouseleave").pipe(nt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Fi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Qa(this._previousPaginator.nativeElement,"touchstart",UE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Qa(this._nextPaginator.nativeElement,"touchstart",UE).pipe(nt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,Qe.of)("ltr"),t=this._viewportRuler.change(150),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new To(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Yt.q)(1)).subscribe(a),(0,wi.T)(e,t,this._items.changes,this._itemsResized()).pipe(nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(nt(this._destroyed)).subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?rn.E:this._items.changes.pipe(Jt(this._items),(0,qi.w)(e=>new Bi.y(t=>this._ngZone.runOutsideAngular(()=>{const a=new ResizeObserver(()=>{t.next()});return e.forEach(l=>{a.observe(l.elementRef.nativeElement)}),()=>{a.disconnect()}}))),pr(1))}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(!on(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 a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=t.elementRef.nativeElement;let s,r;"ltr"==this._getLayoutDirection()?(s=l,r=s+d):(r=this._tabListInner.nativeElement.offsetWidth-l,s=r-d);const c=this.scrollDistance,u=this.scrollDistance+a;su&&(this.scrollDistance+=r-u+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(),(0,cp.H)(650,100).pipe(nt((0,wi.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:a,distance:l}=this._scrollHeader(e);(0===l||l>=a)&&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(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),vI=(()=>{class n extends AI{constructor(e,t,a,l,d,s,r){super(e,t,a,l,d,s,r),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=We(e)}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275dir=i.lG2({type:n,inputs:{disableRipple:"disableRipple"},features:[i.qOj]}),n})(),TI=(()=>{class n extends vI{constructor(e,t,a,l,d,s,r){super(e,t,a,l,d,s,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(va),i.Y36(Mi,8),i.Y36(i.R0b),i.Y36(gi),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,zE,4),2&e){let l;i.iGM(l=i.CRH())&&(t._items=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(IE,7),i.Gf(XL,7),i.Gf(eI,7),i.Gf(tI,7),i.Gf(iI,5),i.Gf(nI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._inkBar=a.first),i.iGM(a=i.CRH())&&(t._tabListContainer=a.first),i.iGM(a=i.CRH())&&(t._tabList=a.first),i.iGM(a=i.CRH())&&(t._tabListInner=a.first),i.iGM(a=i.CRH())&&(t._nextPaginator=a.first),i.iGM(a=i.CRH())&&(t._previousPaginator=a.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:LE,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","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","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"button",0,1),i.NdJ("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(l){return t._handlePaginatorPress("before",l)})("touchend",function(){return t._stopInterval()}),i._UZ(2,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.NdJ("keydown",function(l){return t._handleKeydown(l)}),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,"button",9,10),i.NdJ("mousedown",function(l){return t._handlePaginatorPress("after",l)})("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)("disabled",t._disableScrollBefore||null),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)("disabled",t._disableScrollAfter||null))},directives:[Gn,Xd,IE],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-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})(),xI=0;class MI{}const SI=ya(br(class{constructor(n){this._elementRef=n}}),"primary");let EI=(()=>{class n extends SI{constructor(e,t,a,l){var d;super(e),this._changeDetectorRef=t,this._animationMode=l,this._tabs=new i.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Rt.w0.EMPTY,this._tabLabelSubscription=Rt.w0.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=xI++,this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,this.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,this.contentTabIndex=null!==(d=null==a?void 0:a.contentTabIndex)&&void 0!==d?d:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=We(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Fi(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=Fi(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 a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,l)=>a.isActive=l===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,a)=>{t.position=a-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const t=this._tabs.toArray();let a;for(let l=0;l{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Jt(this._allTabs)).subscribe(e=>{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._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new MI;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,wi.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,a){e.disabled||(this.selectedIndex=t.focusIndex=a)}_getTabIndex(e,t){var a;return e.disabled?null:t===(null!==(a=this._lastFocusedTabIndex)&&void 0!==a?a:this.selectedIndex)?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(YE,8),i.Y36(yi,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})(),DI=(()=>{class n extends EI{constructor(e,t,a,l){super(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(YE,8),i.Y36(yi,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,t,a){if(1&e&&i.Suo(a,FE,5),2&e){let l;i.iGM(l=i.CRH())&&(t._allTabs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(rI,5),i.Gf(aI,5)),2&e){let a;i.iGM(a=i.CRH())&&(t._tabBodyWrapper=a.first),i.iGM(a=i.CRH())&&(t._tabHeader=a.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:jE,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(l){return t._focusChanged(l)})("selectFocusedIndex",function(l){return t.selectedIndex=l}),i.YNc(2,cI,5,15,"div",2),i.qZA(),i.TgZ(3,"div",3,4),i.YNc(5,dI,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:[TI,NE,T.sg,zE,Gn,K_,T.mk,T.O5,ts],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})(),GE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ot,jl,yr,Ao,Mo],ot]}),n})(),WE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),ZE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[WE,yr,ot,Ao],WE,ot]}),n})();const KE=new i.OlP("mat-chips-default-options");let Zx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Wr,{provide:KE,useValue:{separatorKeyCodes:[13]}}],imports:[[ot]]}),n})(),XE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,iE,Px,uE,Ca,pE,yw,zo,mw,iw,rw,Yl,aw,ad,Pg,ju,vE,qx,zb,US,JS,Wp,BS,Gx,Up,bd,Yp,yr,mw,ZE,Zx],iE,Px,uE,Ca,pE,yw,zo,mw,iw,rw,Yl,aw,ad,Pg,ju,vE,qx,zb,US,JS,Wp,BS,Gx,Up,bd,Yp,yr,GE,ZE,Zx]}),n})(),tO=(()=>{class n{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.publication=this.data}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gn),i.Y36(vr))},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.close()}),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:[Ma,Sa,Ea,zt],pipes:[Ie],styles:[""]}),n})(),iO=(()=>{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})(),eD=(()=>{class n{onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),a=location.search;window.open(t+a)}}}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(l){return t.onClick(l)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),xw=(()=>{class n{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})();function nO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",20),i.TgZ(1,"mat-checkbox",21),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 rO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"mat-checkbox",23),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.itemSelectionToggle(d):null})("click",function(a){return a.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 aO(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 sO(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 oO(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 lO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(a)})("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 cO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",27),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().lockOrUnlockPublication(a)})("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 dO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,lO,4,3,"button",26),i.YNc(2,cO,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 uO(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 hO(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 pO(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 fO(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 mO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,fO,4,3,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.authors)}}function gO(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 _O(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 bO(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 yO(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 CO(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 wO(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 AO(n,o){if(1&n&&(i.TgZ(0,"td",25),i.YNc(1,wO,3,1,"span",28),i.qZA()),2&n){const e=o.$implicit;i.xp6(1),i.Q6J("ngForOf",e.thanks)}}function vO(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 TO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",25),i.TgZ(1,"button",30),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showCite(l)})("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 xO(n,o){1&n&&i._UZ(0,"tr",31)}const tD=function(n,o){return[n,o]};function MO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const l=i.CHM(e).$implicit,d=i.oxw();return d.disabledRouting&&d.openInTab&&!d.buttonPressed?d.emitPublication(l):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,tD,t.routerPath,e.id))("routerLink",t.disabledRouting||t.buttonPressed?null:i.WLB(7,tD,t.routerPath,e.id))}}function SO(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 uf=(()=>{class n{constructor(e,t,a,l,d){this.tableCheckbox=e,this.cabinetService=t,this.dialog=a,this.notificator=l,this.translate=d,this.selection=new Ri(!0,[]),this.displayedColumns=["select","id","lock","title","reportedBy","year","category","thankedTo","cite"],this.pageSizeOptions=zu,this.disabledRouting=!1,this.openInTab=!1,this.allowAlert=!0,this.publicationSelector=new i.vpe,this.buttonPressed=!1,d.get("PUBLICATIONS_LIST.CHANGE_LOCK_SUCCESS").subscribe(s=>this.changeLockMessage=s),d.get("PUBLICATIONS_LIST.LOCKED").subscribe(s=>this.locked=s),d.get("PUBLICATIONS_LIST.UNLOCKED").subscribe(s=>this.unlocked=s)}set matSort(e){this.sort=e,this.setDataSource()}static 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 a="";return e.authors.forEach(l=>a+=yS(l)+";"),a.slice(0,-1)}case"year":return e.year.toString();case"category":return e.categoryName;case"thankedTo":{let a="";return e.thanks.forEach(l=>a+=l.ownerName+";"),a.slice(0,-1)}default:return e[t]}}ngOnChanges(){this.dataSource=new ac(this.publications),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),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)}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=Jn();t.width="500px",t.data=e,this.dialog.open(tO,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})}emitPublication(e){this.publicationSelector.emit(e)}setDataSource(){this.dataSource&&(this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}createPublication(e){return{id:e.id,beanName:e.beanName,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}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nw),i.Y36(hi),i.Y36(wn),i.Y36(In),i.Y36(Ye))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publications-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,nO,2,3,"th",4),i.YNc(5,rO,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,aO,3,3,"th",7),i.YNc(8,sO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,oO,3,3,"th",7),i.YNc(11,dO,3,2,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,uO,3,3,"th",7),i.YNc(14,hO,2,1,"td",8),i.BQk(),i.ynx(15,11),i.YNc(16,pO,3,3,"th",7),i.YNc(17,mO,2,1,"td",8),i.BQk(),i.ynx(18,12),i.YNc(19,gO,3,3,"th",7),i.YNc(20,_O,2,1,"td",8),i.BQk(),i.ynx(21,13),i.YNc(22,bO,3,3,"th",7),i.YNc(23,yO,2,1,"td",8),i.BQk(),i.ynx(24,14),i.YNc(25,CO,3,3,"th",7),i.YNc(26,AO,2,1,"td",8),i.BQk(),i.ynx(27,15),i.YNc(28,vO,3,3,"th",16),i.YNc(29,TO,4,3,"td",8),i.BQk(),i.YNc(30,xO,1,0,"tr",17),i.YNc(31,MO,1,10,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(32,SO,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,T.O5,zt,Kl,Yi,T.sg,nc,rc,qo,Go,eD,nr,Ns],pipes:[Ie,xw],styles:[".mat-column-title[_ngcontent-%COMP%]{width:40%}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function EO(n,o){1&n&&i._UZ(0,"mat-spinner",7)}const DO=function(){return["id","title","year"]};function HO(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,DO))}}let $x=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.translate=l,this.cabinetService=d,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(gn),i.Y36(vr),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,EO,1,0,"mat-spinner",2),i.YNc(5,HO,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:[Ma,T.O5,_i,Sa,uf,Ea,zt],pipes:[Ie],styles:[""]}),n})(),hf=(()=>{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(l){return t.onClickbutton(l)}),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:[zt,Kl,Yi],pipes:[Ie],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 pf=x(5439);const qu=pf||x.t(pf,2),iD=new i.OlP("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function PO(){return{useUtc:!1}}});function RO(n,o){const e=Array(n);for(let t=0;t{class n extends Ci{constructor(e,t){super(),this._options=t,this.setLocale(e||qu.locale())}setLocale(e){super.setLocale(e);let t=qu.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:RO(31,a=>this.createDate(2017,0,a+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,a){const l=this._createMoment({year:e,month:t,date:a}).locale(this.locale);return l.isValid(),l}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,qu.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return qu.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return qu.invalid()}_createMoment(e,t,a){const{strict:l,useUtc:d}=this._options||{};return d?qu.utc(e,t,a,l):qu(e,t,a,l)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Ol,8),i.LFG(iD,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),LO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:r_,deps:[Ol,iD]}]}),n})(),nD=(()=>{class n{ngOnInit(){this.endMaxYear=new Date,this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value}chosenYearHandler(e,t,a){e.setValue(t),this.startMaxYear=this.endYear.value,this.endMinYear=this.startYear.value,a.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 a=i.EpF();i.TgZ(0,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(a),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(d){i.CHM(a);const s=i.MAs(7);return t.chosenYearHandler(t.startYear,d,s)}),i.qZA(),i.qZA(),i.TgZ(8,"mat-form-field",0),i.NdJ("click",function(){return i.CHM(a),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(d){i.CHM(a);const s=i.MAs(15);return t.chosenYearHandler(t.endYear,d,s)}),i.qZA(),i.qZA()}if(2&e){const a=i.MAs(7),l=i.MAs(15);i.xp6(2),i.Oqu(i.lcZ(3,11,"PUBLICATION_FILTER.START_YEAR")),i.xp6(2),i.Q6J("matDatepicker",a)("max",t.startMaxYear)("formControl",t.startYear),i.xp6(1),i.Q6J("for",a),i.xp6(5),i.Oqu(i.lcZ(11,13,"PUBLICATION_FILTER.END_YEAR")),i.xp6(2),i.Q6J("matDatepicker",l)("min",t.endMinYear)("max",t.endMaxYear)("formControl",t.endYear),i.xp6(1),i.Q6J("for",l)}},directives:[Wn,is,as,n_,Ln,sr,wr,Ux,fp,zx],pipes:[Ie],styles:[".year-field[_ngcontent-%COMP%]{max-width:80px!important;width:100%!important;min-width:initial!important}"]}),n})();function IO(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 Mw=pf,OO={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let Jx=(()=>{class n{constructor(e){this.cabinetService=e,this.filteredPublication=new i.vpe,this.title=new Si,this.code=new Si,this.startYear=new Si(Mw()),this.endYear=new Si(Mw())}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=this.code.value,t={title:this.title.value,isbnissn:"isbn/issn"===this.selectedMode?e:null,doi:"doi"===this.selectedMode?e:null,category:"no_value"!==this.selectedCategory?this.selectedCategory.id:null,startYear:(0,T.p6)(this.startYear.value,"yyyy","en-GB"),endYear:(0,T.p6)(this.endYear.value,"yyyy","en-GB")};this.filteredPublication.emit(t)}clearFilter(){this.title.setValue(""),this.code.setValue(""),this.selectedMode="isbn/issn",this.selectedCategory="no_value",this.startYear=new Si(Mw()),this.endYear=new Si(Mw()),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(hi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-publication-filter"]],outputs:{filteredPublication:"filteredPublication"},features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:OO}])],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(l){return t.selectedMode=l}),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(l){return t.selectedCategory=l}),i.TgZ(23,"mat-option",7),i._uU(24),i.ALo(25,"translate"),i.qZA(),i.YNc(26,IO,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:[Wn,as,Ln,sr,wr,is,Ql,Po,T.sg,nD,zt,Yi],pipes:[Ie],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 BO(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 VO(n,o){1&n&&i._UZ(0,"mat-spinner",11)}let jO=(()=>{class n{constructor(e,t,a,l,d){this.route=e,this.cabinetService=t,this.dialog=a,this.matIconRegistry=l,this.domSanitizer=d,this.selected=new Ri(!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=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(wn),i.Y36(Xl),i.Y36(Vn))},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(l){return t.filterPublication(l)}),i.qZA(),i.qZA(),i.YNc(12,BO,1,4,"perun-web-apps-publications-list",8),i.YNc(13,VO,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:[Yi,hf,zt,Jx,T.O5,uf,_i],pipes:[Ie],styles:[".publications-icon[_ngcontent-%COMP%]{height:32px;width:32px}"]}),n})();function FO(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 NO(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(a){return i.CHM(e),i.oxw().filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(7,FO,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 YO(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let zO=(()=>{class n{constructor(e,t,a,l){this.route=e,this.cabinetService=t,this.dialog=a,this.authResolver=l,this.selected=new Ri(!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=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(wn),i.Y36(Oi))},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,NO,8,5,"div",4),i.YNc(8,YO,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:[Yi,T.O5,hf,zt,Jx,uf,_i],pipes:[Ie],styles:[""]}),n})(),UO=(()=>{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(Hi))},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:[Yi,tE,eE,XS,zt],pipes:[Ie],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 qO=["input"];let GO=(()=>{class n{constructor(){this.autoFocus=!1,this.control=new Si,this.filter=new i.vpe}ngOnInit(){this.autoFocus&&this.input.nativeElement.focus(),Qa(this.input.nativeElement,"keyup").pipe((0,ft.U)(e=>e.target.value),(0,Kd.b)(500),El()).subscribe(e=>{this.control.invalid||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(qO,7),2&e){let a;i.iGM(a=i.CRH())&&(t.input=a.first)}},inputs:{placeholder:"placeholder",autoFocus:"autoFocus",control:"control",error:"error"},outputs:{filter:"filter"},decls:6,vars:5,consts:[[1,"filter-field","mr-2"],["matInput","","data-cy","filter-input",3,"placeholder","formControl"],["input",""]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i._UZ(1,"input",1,2),i.ALo(3,"translate"),i.TgZ(4,"mat-error"),i._uU(5),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.s9C("placeholder",i.lcZ(3,3,t.placeholder)),i.Q6J("formControl",t.control),i.xp6(4),i.hij(" ",t.error," "))},directives:[Wn,as,Ln,sr,wr,Io],pipes:[Ie],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:auto!important}"]}),n})();function WO(n,o){1&n&&i._UZ(0,"th",20)}function ZO(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",21),i.TgZ(1,"mat-checkbox",22),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 $O(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 JO(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 QO(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 KO(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 XO(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 eB(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 tB(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 iB(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 nB(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 rB(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 aB(n,o){1&n&&i._UZ(0,"th",26)}function sB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",27),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().onAddClick(l)}),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 oB(n,o){1&n&&i._UZ(0,"th",26)}function lB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",24),i.TgZ(1,"button",28),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().onRemoveClick(l)}),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 cB(n,o){1&n&&i._UZ(0,"tr",29)}const rD=function(n){return["/authors",n]};function dB(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,rD,e.id))("routerLink",t.disableRouting?null:i.VKq(6,rD,e.id))}}function uB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 hB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Qx=(()=>{class n{constructor(){this.authors=[],this.displayedColumns=["select","id","name","organization","email","numberOfPublications","add","remove"],this.disableRouting=!1,this.pageSizeOptions=zu,this.addAuthor=new i.vpe,this.removeAuthor=new i.vpe}set matSort(e){this.sort=e,this.setDataSource()}static getFilterDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return function cH(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 Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}static getExportDataForColumn(e,t){switch(t){case"id":return e.id.toString();case"name":return yS(e);case"organization":return Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}static getSortDataForColumn(e,t){var a;switch(t){case"id":return e.id.toString();case"name":return e.lastName?e.lastName:null!==(a=e.firstName)&&void 0!==a?a:"";case"organization":return Xp(e,"organization");case"email":return Xp(e,"preferredMail");case"numberOfPublications":return e.authorships.length.toString();default:return e[t]}}ngOnChanges(){this.dataSource=new ac(this.authors),this.setDataSource(),this.dataSource.filter=this.filterValue}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getExportDataForColumn),e)}parseAttribute(e,t){let a="";return e.attributes&&e.attributes.forEach(l=>{l.friendlyName===t&&(a=l.value)}),a}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)=>Qg(e,t,this.displayedColumns,n.getFilterDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getSortDataForColumn),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(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WO,1,0,"th",4),i.YNc(5,ZO,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,$O,3,3,"th",7),i.YNc(8,JO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,QO,3,3,"th",7),i.YNc(11,KO,3,3,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,XO,3,3,"th",7),i.YNc(14,eB,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,tB,3,3,"th",7),i.YNc(17,iB,2,1,"td",10),i.BQk(),i.ynx(18,13),i.YNc(19,nB,3,3,"th",7),i.YNc(20,rB,2,1,"td",10),i.BQk(),i.ynx(21,14),i.YNc(22,aB,1,0,"th",15),i.YNc(23,sB,4,3,"td",8),i.BQk(),i.ynx(24,16),i.YNc(25,oB,1,0,"th",15),i.YNc(26,lB,4,3,"td",8),i.BQk(),i.YNc(27,cB,1,0,"tr",17),i.YNc(28,dB,1,8,"tr",18),i.qZA(),i.qZA(),i.qZA(),i.YNc(29,uB,3,3,"perun-web-apps-alert",19),i.YNc(30,hB,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,Os,Fs,vd,df,zt,nc,rc,qo,Go,eD,nr,T.O5,Ns],pipes:[Ie,xw],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();function pB(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const fB=function(){return["id","name","organization","email","numberOfPublications"]};function mB(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,fB))("filterValue",e.filterValue)("tableId",e.tableId)}}let gB=(()=>{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(hi))},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(l){return t.applyFilter(l)}),i.qZA(),i.YNc(9,pB,1,0,"mat-spinner",6),i.YNc(10,mB,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:[Yi,hf,GO,T.O5,_i,Qx],pipes:[Ie],styles:[""]}),n})();function _B(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function bB(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 yB=(()=>{class n{constructor(e,t,a,l){this.dialogRef=e,this.notificator=t,this.cabinetManagerService=a,this.translate=l,l.get("DIALOGS.ADD_CATEGORY.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.nameCtrl=new Si(null,[Ni.required,Ni.pattern("^[\\w.-]+( [\\w.-]+)*$"),Ni.maxLength(128)]),this.rankCtrl=new Si(null,[Ni.required,Ni.pattern("^[0-9]+(\\.[0-9])?$")])}onCancel(){this.dialogRef.close(!1)}onSubmit(){this.loading=!0,this.cabinetManagerService.createCategoryCat({category:{id:0,beanName:"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(gn),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,_B,1,0,"mat-spinner",2),i.YNc(5,bB,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:[Ma,T.O5,_i,Sa,Wn,as,Ln,ns,sr,wr,Io,Ea,zt,Kl],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function CB(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function wB(n,o){1&n&&i._UZ(0,"th",14)}function AB(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 vB(n,o){1&n&&i._UZ(0,"tr",16)}function TB(n,o){1&n&&i._UZ(0,"tr",17)}function xB(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,wB,1,0,"th",10),i.YNc(10,AB,2,1,"td",11),i.BQk(),i.YNc(11,vB,1,0,"tr",12),i.YNc(12,TB,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 MB(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 SB=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.translate=l,this.cabinetManagerService=d,this.displayedColumns=["name"],this.categories=[]}ngOnInit(){this.dataSource=new ac(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(gn),i.Y36(vr),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,CB,1,0,"mat-spinner",2),i.YNc(5,xB,13,9,"div",3),i.YNc(6,MB,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:[Ma,T.O5,_i,Sa,Uo,Vs,Bs,js,Os,Fs,nc,rc,qo,Go,Ea,zt],pipes:[Ie],styles:[""]}),n})();function EB(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 DB(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 a_=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new Si}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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,EB,2,4,"input",1),i.YNc(2,DB,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:[Wn,T.O5,as,Ln,iO,sr,wr],pipes:[Ie],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:initial!important}"]}),n})();function HB(n,o){1&n&&i._UZ(0,"mat-spinner",4)}function kB(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 PB=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.cabinetManagerService=l,this.translate=d,this.categoryName="",d.get("DIALOGS.UPDATE_RANK.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.categoryName=this.data.name,this.rankCtrl=new Si(this.data.rank,[Ni.required,Ni.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(gn),i.Y36(vr),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,HB,1,0,"mat-spinner",2),i.YNc(5,kB,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:[Ma,T.O5,_i,Sa,Wn,as,Ln,ns,sr,wr,Io,Ea,zt,Kl],pipes:[Ie],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})();function RB(n,o){1&n&&i._UZ(0,"th",15)}function LB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.itemSelectionToggle(d):null})("click",function(a){return a.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 IB(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 OB(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 BB(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 VB(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 jB(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 FB(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw().updateCategory(a)}),i.TgZ(1,"mat-icon"),i._uU(2,"edit"),i.qZA(),i.qZA()}}function NB(n,o){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.YNc(2,FB,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 YB(n,o){1&n&&i._UZ(0,"tr",23)}function zB(n,o){1&n&&i._UZ(0,"tr",24)}function UB(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 qB=(()=>{class n{constructor(e,t,a,l){this.guiAuthResolver=e,this.tableCheckbox=t,this.dialog=a,this.authResolver=l,this.categories=[],this.selection=new Ri(!0,[]),this.displayedColumns=["select","id","name","rank"],this.pageSizeOptions=zu,this.refreshTable=new i.vpe,this.editAuth=!1}set matSort(e){this.sort=e,this.setDataSource()}static 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]}}ngOnChanges(){this.dataSource=new ac(this.categories),this.setDataSource(),this.dataSource.filter=this.filterValue}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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=Jn();t.width="400px",t.data=e,this.dialog.open(PB,t).afterClosed().subscribe(l=>{l&&this.refreshTable.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ra),i.Y36(nw),i.Y36(wn),i.Y36(ra))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-categories-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,RB,1,0,"th",4),i.YNc(5,LB,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,IB,3,3,"th",7),i.YNc(8,OB,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,BB,3,3,"th",7),i.YNc(11,VB,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,jB,3,3,"th",7),i.YNc(14,NB,3,2,"td",10),i.BQk(),i.YNc(15,YB,1,0,"tr",12),i.YNc(16,zB,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,UB,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,Os,Fs,vd,df,T.O5,zt,Yi,nc,rc,qo,Go,Ns],pipes:[Ie],styles:[""]}),n})();function GB(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 WB(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 ZB(n,o){1&n&&i._UZ(0,"mat-spinner",10)}const $B=function(){return["select","id","name","rank"]},JB=function(){return["name","rank"]};function QB(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,$B):i.DdM(6,JB))("tableId",e.tableId)("selection",e.selected)}}let KB=(()=>{class n{constructor(e,t,a){this.cabinetManagerService=e,this.dialog=t,this.guiAuthResolver=a,this.categories=[],this.selected=new Ri(!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=Jn();e.width="400px",e.data={},this.dialog.open(yB,e).afterClosed().subscribe(a=>{a&&this.refreshTable()})}removeCategory(){const e=Jn();e.width="400px",e.data=this.selected.selected,this.dialog.open(SB,e).afterClosed().subscribe(a=>{a&&(this.selected.clear(),this.refreshTable())})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hi),i.Y36(wn),i.Y36(ra))},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,GB,3,3,"button",3),i.YNc(6,WB,3,4,"button",4),i.TgZ(7,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(8,ZB,1,0,"mat-spinner",6),i.YNc(9,QB,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:[hf,T.O5,zt,a_,_i,qB],pipes:[Ie],styles:[""]}),n})();function XB(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 eV(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 tV(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 iV(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 nV(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 rV(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 aV(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 sV(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 oV(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 lV(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 cV(n,o){1&n&&i._UZ(0,"tr",17)}function dV(n,o){1&n&&i._UZ(0,"tr",18)}function uV(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 hV=(()=>{class n{constructor(){this.publicationSystems=[],this.displayedColumns=["id","friendlyName","loginNamespace","url","type"],this.pageSizeOptions=zu}set matSort(e){this.sort=e,this.setDataSource()}static 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]}}ngOnChanges(){this.dataSource=new ac(this.publicationSystems),this.setDataSource(),this.dataSource.filter=this.filterValue}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,XB,3,3,"th",4),i.YNc(5,eV,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,tV,3,3,"th",4),i.YNc(8,iV,2,1,"td",7),i.BQk(),i.ynx(9,8),i.YNc(10,nV,3,3,"th",4),i.YNc(11,rV,2,1,"td",7),i.BQk(),i.ynx(12,9),i.YNc(13,aV,3,3,"th",4),i.YNc(14,sV,2,1,"td",7),i.BQk(),i.ynx(15,10),i.YNc(16,oV,3,3,"th",4),i.YNc(17,lV,2,1,"td",7),i.BQk(),i.YNc(18,cV,1,0,"tr",11),i.YNc(19,dV,1,0,"tr",12),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,uV,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,df,Os,Fs,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function pV(n,o){1&n&&i._UZ(0,"mat-spinner",6)}function fV(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 mV=(()=>{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(hi))},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(l){return t.applyFilter(l)}),i.qZA(),i.YNc(6,pV,1,0,"mat-spinner",4),i.YNc(7,fV,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:[hf,a_,T.O5,_i,hV],pipes:[Ie],styles:[""]}),n})();function gV(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 _V(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(a){return i.CHM(e),i.oxw().filterPublication(a)}),i.qZA(),i.qZA(),i.YNc(11,gV,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 bV(n,o){1&n&&i._UZ(0,"mat-spinner",12)}let yV=(()=>{class n{constructor(e,t,a,l){this.route=e,this.cabinetService=t,this.userService=a,this.dialog=l,this.selected=new Ri(!0,[]),this.tableId="68"}ngOnInit(){this.initLoading=!0,this.route.params.subscribe(e=>{const t=Number(e.authorId);this.userService.getUserById(t).subscribe(a=>{this.author=a,this.initLoading=!1,this.refreshTable()})})}removePublication(){const e=Jn();e.width="500px",e.data=this.selected.selected,this.dialog.open($x,e).afterClosed().subscribe(a=>{a&&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(fn),i.Y36(hi),i.Y36(Er),i.Y36(wn))},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,_V,12,11,"div",4),i.YNc(8,bV,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:[Yi,T.O5,hf,zt,Jx,uf,_i],pipes:[Ie,xw],styles:[""]}),n})();function CV(n,o){1&n&&i._UZ(0,"mat-spinner",2)}function wV(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 AV(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(e);const a=i.oxw(2);return a.editing=!a.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 vV(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 TV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field",18),i._UZ(1,"textarea",19),i.YNc(2,vV,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 xV(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 MV(n,o){1&n&&i._UZ(0,"th",21)}function SV(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 EV(n,o){1&n&&i._UZ(0,"th",21)}function DV(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 HV(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 kV(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 PV(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 RV(n,o){if(1&n&&(i.TgZ(0,"span"),i.YNc(1,PV,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 LV(n,o){1&n&&(i.TgZ(0,"span"),i._uU(1," - "),i.qZA())}function IV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,RV,2,1,"span",1),i.YNc(2,LV,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 OV(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(a){i.CHM(e);const l=i.MAs(7);return i.oxw(4).chosenYearHandler(a,l)}),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 BV(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 VV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i.TgZ(1,"mat-select",31),i.YNc(2,BV,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 jV(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 FV(n,o){if(1&n&&(i.TgZ(0,"mat-form-field"),i._UZ(1,"input",34),i.YNc(2,jV,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 NV(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(a){return i.CHM(e),i.oxw(4).publication.isbn=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.isbn)}}function YV(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(a){return i.CHM(e),i.oxw(4).publication.doi=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.doi)}}function zV(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(a){return i.CHM(e),i.oxw(4).publication.main=a}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw(4);i.xp6(1),i.Q6J("ngModel",e.publication.main)}}function UV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,OV,8,7,"mat-form-field",25),i.YNc(2,VV,3,2,"mat-form-field",1),i.YNc(3,FV,3,2,"mat-form-field",1),i.YNc(4,NV,2,1,"mat-form-field",6),i.YNc(5,YV,2,1,"mat-form-field",6),i.YNc(6,zV,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 qV(n,o){if(1&n&&(i.TgZ(0,"td",23),i.YNc(1,DV,10,9,"span",1),i.YNc(2,HV,3,4,"span",1),i.YNc(3,kV,2,1,"span",1),i.YNc(4,IV,3,2,"div",1),i.YNc(5,UV,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 GV(n,o){1&n&&i._UZ(0,"tr",37)}function WV(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"div",3),i.YNc(2,wV,2,1,"h3",4),i.YNc(3,AV,4,3,"button",5),i.YNc(4,TV,3,2,"mat-form-field",6),i.YNc(5,xV,4,4,"button",7),i.qZA(),i.TgZ(6,"table",8),i.ynx(7,9),i.YNc(8,MV,1,0,"th",10),i.YNc(9,SV,2,1,"td",11),i.BQk(),i.ynx(10,12),i.YNc(11,EV,1,0,"th",10),i.YNc(12,qV,6,5,"td",13),i.BQk(),i.YNc(13,GV,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 aD=pf,ZV={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let $V=(()=>{class n{constructor(e,t,a){this.cabinetService=e,this.notificator=t,this.translate=a,this.categories=[],this.edited=new i.vpe,this.loading=!1,this.dataSource=null,this.displayedColumns=["key","value"],this.isChanging=new Ri(!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;el.name===this.categoryControl.value).id,t=this.yearControl.value.year();this.cabinetService.updatePublication({publication:{id:this.publication.id,beanName:this.publication.beanName,externalId:this.publication.externalId,publicationSystemId:this.publication.publicationSystemId,title:this.titleControl.value,year:t,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}}).subscribe(()=>{this.translate.get("PUBLICATION_DETAIL.CHANGE_PUBLICATION_SUCCESS").subscribe(l=>{this.notificator.showSuccess(l),this.edited.emit(!0),this.loading=!1})},()=>this.loading=!1)}chosenYearHandler(e,t){const a=this.yearControl.value;a.year(e.year()),this.yearControl.setValue(a),t.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hi),i.Y36(In),i.Y36(Ye))},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:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:ZV}])],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,CV,1,0,"mat-spinner",0),i.YNc(2,WV,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:[T.O5,_i,zt,Kl,Yi,Wn,as,Ln,sr,wr,Io,Uo,Vs,Bs,js,Os,Fs,is,n_,Ux,fp,zx,Ql,T.sg,Po,fd,qo,Go],pipes:[Ie,T.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 JV=function(){return["id","name","organization","email","add"]};function QV(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",15),i.NdJ("addAuthor",function(a){return i.CHM(e),i.oxw(3).addAuthor(a)}),i.qZA()}if(2&n){const e=i.oxw(3);i.Q6J("authors",e.authors)("disableRouting",!0)("tableId",e.tableIdAuthors)("displayedColumns",i.DdM(4,JV))}}function KV(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 XV(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,QV,1,5,"perun-web-apps-authors-list",13),i.YNc(2,KV,3,3,"perun-web-apps-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 ej(n,o){1&n&&i._UZ(0,"mat-spinner",17)}const tj=function(){return["id","name","organization","email","remove"]};function ij(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-authors-list",19),i.NdJ("removeAuthor",function(a){return i.CHM(e),i.oxw(3).removeAuthor(a)}),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,tj))}}function nj(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,ij,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 rj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 aj(n,o){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,XV,3,2,"div",6),i.YNc(2,ej,1,0,"mat-spinner",7),i.TgZ(3,"h2",11),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,nj,2,1,"div",6),i.YNc(7,rj,3,3,"perun-web-apps-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 sj(n,o){1&n&&i._UZ(0,"mat-spinner",17)}let oj=(()=>{class n{constructor(e,t,a,l,d){this.dialogRef=e,this.data=t,this.notificator=a,this.cabinetService=l,this.translate=d,this.loading=!1,this.searchLoading=!1,this.firstSearchDone=!1,this.authors=[],this.alreadyAddedAuthors=[],this.authorsToAdd=[],this.tableIdAuthors="67",this.selection=new Ri(!1,[]),this.reloadTable=!1,d.get("DIALOGS.ADD_AUTHORS.SUCCESS_MESSAGE").subscribe(s=>this.successMessage=s),this.publicationId=t.publicationId,this.alreadyAddedAuthors=t.alreadyAddedAuthors}ngOnInit(){this.searchControl=new Si("",[Ni.required,Ni.pattern(".*[\\S]+.*")])}onSearchByString(){this.searchLoading=!0;const e=[...this.alreadyAddedAuthors,...this.authorsToAdd];this.cabinetService.findNewAuthors(this.searchControl.value).subscribe(t=>{t=t.filter(a=>!e.map(l=>l.id).includes(a.id)),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(gn),i.Y36(vr),i.Y36(In),i.Y36(hi),i.Y36(Ye))},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,aj,8,7,"div",6),i.qZA(),i.YNc(16,sj,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:[Ma,Sa,Wn,as,Ln,sr,wr,Io,zt,Yi,T.O5,Qx,Ns,_i,Ea],pipes:[Ie],styles:[".top-margin[_ngcontent-%COMP%]{margin-top:15px}.adjust-width[_ngcontent-%COMP%]{width:300px}"]}),n})();function lj(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 cj(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 dj(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const uj=function(){return["id","name","organization","email"]},hj=function(){return["select","id","name","organization","email"]};function pj(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,uj):i.DdM(6,hj))}}let sD=(()=>{class n{constructor(e,t,a,l){this.dialog=e,this.cabinetService=t,this.notificator=a,this.translate=l,this.selection=new Ri(!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=Jn();e.width="800px",e.data={publicationId:this.publication.id,alreadyAddedAuthors:this.publication.authors},this.dialog.open(oj,e).afterClosed().subscribe(a=>{a&&(this.selection.clear(),this.refresh())})}onRemoveAuthors(){const e=Jn();e.width="800px",e.data={items:this.selection.selected.map(a=>`${a.titleBefore?a.titleBefore:""} ${a.firstName?a.firstName:""} ${a.lastName?a.lastName:""} ${a.titleAfter?a.titleAfter:""}`),title:"DIALOGS.REMOVE_AUTHORS.TITLE",description:"DIALOGS.REMOVE_AUTHORS.DESCRIPTION",theme:"user-theme",type:"remove",showAsk:!0},this.dialog.open(IS,e).afterClosed().subscribe(a=>{a&&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(wn),i.Y36(hi),i.Y36(In),i.Y36(Ye))},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,lj,3,3,"button",1),i.YNc(2,cj,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(4,dj,1,0,"mat-spinner",4),i.YNc(5,pj,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:[T.O5,zt,a_,_i,Qx],pipes:[Ie],styles:[""]}),n})();function fj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",16),i.TgZ(1,"mat-checkbox",17),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 mj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 gj(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 _j(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 bj(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 yj(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 Cj(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 wj(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 Aj(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 vj(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 Tj(n,o){1&n&&i._UZ(0,"tr",23)}function xj(n,o){1&n&&i._UZ(0,"tr",24)}function Mj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Sj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Ej=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.owners=[],this.selection=new Ri(!0,[]),this.filterValue="",this.displayedColumns=["select","id","name","contact","type"],this.pageSizeOptions=zu}set matSort(e){this.sort=e,this.setDataSource()}static 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""}}ngAfterViewInit(){this.setDataSource()}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),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 ac(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(ra),i.Y36(nw))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-owners-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,fj,2,3,"th",4),i.YNc(5,mj,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,gj,3,3,"th",7),i.YNc(8,_j,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,bj,3,3,"th",7),i.YNc(11,yj,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,Cj,3,3,"th",7),i.YNc(14,wj,2,1,"td",10),i.BQk(),i.ynx(15,12),i.YNc(16,Aj,3,3,"th",7),i.YNc(17,vj,2,1,"td",10),i.BQk(),i.YNc(18,Tj,1,0,"tr",13),i.YNc(19,xj,1,0,"tr",14),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,Mj,3,3,"perun-web-apps-alert",15),i.YNc(21,Sj,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function Dj(n,o){1&n&&i._UZ(0,"mat-spinner",4)}const Hj=function(){return["select","id","name","contact"]};function kj(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(a){return i.CHM(e),i.oxw().filterValue=a}),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,Hj))("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 Pj=(()=>{class n{constructor(e,t,a,l,d,s,r){this.dialogRef=e,this.data=t,this.ownersManagerService=a,this.storeService=l,this.notificator=d,this.translate=s,this.cabinetManagerService=r,this.selected=new Ri(!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(a=>e.includes(a.id)):t,this.owners=this.owners.filter(a=>!this.data.thanks.map(l=>l.ownerId).includes(a.id)),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(gn),i.Y36(vr),i.Y36(ei),i.Y36(Qn),i.Y36(In),i.Y36(Ye),i.Y36(hi))},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,Dj,1,0,"mat-spinner",2),i.YNc(5,kj,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:[Ma,T.O5,_i,Sa,a_,Ej,Ea,zt],pipes:[Ie],styles:[""]}),n})();function Rj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(a){i.CHM(e);const l=i.oxw();return a?l.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 Lj(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(a){const d=i.CHM(e).$implicit,s=i.oxw();return a?s.selection.toggle(d):null})("click",function(a){return a.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 Ij(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 Oj(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 Bj(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 Vj(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 jj(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 Fj(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 Nj(n,o){1&n&&i._UZ(0,"tr",22)}function Yj(n,o){1&n&&i._UZ(0,"tr",23)}function zj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 Uj(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 qj=(()=>{class n{constructor(e){this.tableCheckbox=e,this.thanks=[],this.filterValue="",this.displayedColumns=["select","id","name","createdBy"],this.pageSizeOptions=zu,this.selection=new Ri(!0,[])}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"id":return e.ownerId.toString();case"name":return e.ownerName;default:return e[t]}}ngOnChanges(){this.dataSource=new ac(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)}exportData(e){tf(ef(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}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"}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>Qg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>Kp(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(nw))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-thanks-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(rs,7),i.Gf(Ha,7)),2&e){let a;i.iGM(a=i.CRH())&&(t.child=a.first),i.iGM(a=i.CRH())&&(t.matSort=a.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,Rj,2,3,"th",4),i.YNc(5,Lj,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,Ij,3,3,"th",7),i.YNc(8,Oj,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,Bj,3,3,"th",7),i.YNc(11,Vj,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,jj,3,3,"th",7),i.YNc(14,Fj,2,1,"td",10),i.BQk(),i.YNc(15,Nj,1,0,"tr",12),i.YNc(16,Yj,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,zj,3,3,"perun-web-apps-alert",14),i.YNc(18,Uj,3,3,"perun-web-apps-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:[rs,Uo,Ha,Vs,Bs,js,vd,Os,Fs,df,nc,rc,qo,Go,T.O5,Ns],pipes:[Ie],styles:[""]}),n})();function Gj(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 Wj(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 Zj(n,o){1&n&&i._UZ(0,"mat-spinner",8)}const $j=function(){return["id","name","createdBy"]},Jj=function(){return["select","id","name","createdBy"]};function Qj(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,$j):i.DdM(6,Jj))("selection",e.selection)}}let oD=(()=>{class n{constructor(e,t,a,l){this.dialog=e,this.cabinetService=t,this.notificator=a,this.translate=l,this.selection=new Ri(!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=Jn();e.width="800px",e.data=this.publication,this.dialog.open(Pj,e).afterClosed().subscribe(a=>{a&&this.refresh()})}onRemoveThanks(){const e=Jn();e.width="450px",e.data={items:this.selection.selected.map(a=>a.ownerName),title:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_TITLE",description:"PUBLICATION_DETAIL.REMOVE_THANKS_DIALOG_DESCRIPTION",theme:"user-theme",type:"remove",showAsk:!0},this.dialog.open(IS,e).afterClosed().subscribe(a=>{a&&(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(wn),i.Y36(hi),i.Y36(In),i.Y36(Ye))},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,Gj,3,3,"button",1),i.YNc(2,Wj,3,4,"button",2),i.TgZ(3,"perun-web-apps-immediate-filter",3),i.NdJ("filter",function(l){return t.applyFilter(l)}),i.qZA(),i.YNc(4,Zj,1,0,"mat-spinner",4),i.YNc(5,Qj,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:[T.O5,zt,a_,_i,qj],pipes:[Ie],styles:[""]}),n})();function Kj(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function Xj(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 eF(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 tF(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 iF(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 nF(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 rF(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock "),i.qZA())}function aF(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 sF(n,o){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1," lock_open "),i.qZA())}function oF(n,o){1&n&&i._UZ(0,"mat-spinner",3)}function lF(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 cF(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.YNc(1,Xj,6,3,"h1",4),i.YNc(2,eF,5,3,"h1",4),i.YNc(3,tF,6,3,"h1",4),i.YNc(4,iF,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,nF,3,3,"span",7),i.YNc(13,rF,2,0,"mat-icon",2),i.YNc(14,aF,3,3,"span",7),i.YNc(15,sF,2,0,"mat-icon",2),i.qZA(),i.qZA(),i.TgZ(16,"mat-card"),i.TgZ(17,"mat-card-content"),i.YNc(18,oF,1,0,"mat-spinner",1),i.YNc(19,lF,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 s_=(()=>{class n{constructor(e,t,a,l,d,s,r){this.route=e,this.cabinetService=t,this.matIconRegistry=a,this.domSanitizer=l,this.dialog=d,this.notificator=s,this.translate=r,this.loading=!1,this.pubLoading=!1,this.initLoading=!1,this.selectionAuthors=new Ri(!0,[]),this.selectionThanks=new Ri(!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=Number(e.publicationId),this.mainAuthorId=Number(e.authorId),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,beanName:"Publication",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(fn),i.Y36(hi),i.Y36(Xl),i.Y36(Vn),i.Y36(wn),i.Y36(In),i.Y36(Ye))},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,Kj,1,0,"mat-spinner",1),i.YNc(2,cF,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:[T.O5,_i,Yi,zt,tE,XS,$V,eE,sD,oD],pipes:[Ie,xw],styles:[".icon-size[_ngcontent-%COMP%]{width:32px;height:32px}.align-icon[_ngcontent-%COMP%]{vertical-align:text-top}"]}),n})(),Kx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zo,T.ez]]}),n})();function Xx(n,o,e){for(let t in o)if(o.hasOwnProperty(t)){const a=o[t];a?n.setProperty(t,a,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function ff(n,o){const e=o?"":"none";Xx(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 lD(n,o,e){Xx(n.style,{position:o?"":"fixed",top:o?"":"0",opacity:o?"":"0",left:o?"":"-999em"},e)}function Sw(n,o){return o&&"none"!=o?n+" "+o:n}function cD(n){const o=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*o}function e0(n,o){return n.getPropertyValue(o).split(",").map(t=>t.trim())}function t0(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 n0(n,o,e){const{top:t,bottom:a,left:l,right:d}=n;return e>=t&&e<=a&&o>=l&&o<=d}function o_(n,o,e){n.top+=o,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function dD(n,o,e,t){const{top:a,right:l,bottom:d,left:s,width:r,height:c}=n,u=r*o,h=c*o;return t>a-h&&ts-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:t0(e)})})}handleScroll(o){const e=jr(o),t=this.positions.get(e);if(!t)return null;const a=t.scrollPosition;let l,d;if(e===this._document){const c=this.getViewportScrollPosition();l=c.top,d=c.left}else l=e.scrollTop,d=e.scrollLeft;const s=a.top-l,r=a.left-d;return this.positions.forEach((c,u)=>{c.clientRect&&e!==u&&e.contains(u)&&o_(c.clientRect,s,r)}),a.top=l,a.left=d,{top:s,left:r}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function hD(n){const o=n.cloneNode(!0),e=o.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();o.removeAttribute("id");for(let a=0;a{if(this.beforeStarted.next(),this._handles.length){const r=this._getTargetHandle(s);r&&!this._disabledHandles.has(r)&&!this.disabled&&this._initializeDragSequence(r,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{const r=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging){if(Math.abs(r.x-this._pickupPositionOnPage.x)+Math.abs(r.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),j=this._dropContainer;if(!b)return void this._endDragSequence(s);(!j||!j.isDragging()&&!j.isReceiving())&&(s.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(s)))}return}s.preventDefault();const c=this._getConstrainedPointerPosition(r);if(this._hasMoved=!0,this._lastKnownPointerPosition=r,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,r);else{const u=this._activeTransform;u.x=c.x-this._pickupPositionOnPage.x+this._passiveTransform.x,u.y=c.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(u.x,u.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:s,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){const r=this._getTargetHandle(s);r&&!this._disabledHandles.has(r)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(o).withParent(e.parentDragRef||null),this._parentPositions=new uD(t),d.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(o){const e=We(o);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>ff(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=>Zi(t)),this._handles.forEach(t=>ff(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=Zi(o);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Ew),e.addEventListener("touchstart",this._pointerDown,gD),e.addEventListener("dragstart",this._nativeDragStart,Ew)}),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?Zi(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),ff(o,!0))}enableHandle(o){this._disabledHandles.has(o)&&(this._disabledHandles.delete(o),ff(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){l_(o)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,a=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),d=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();a.insertBefore(d,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),lD(t,!1,r0),this._document.body.appendChild(a.replaceChild(l,t)),this._getPreviewInsertionPoint(a,s).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(),a=l_(e),l=!a&&0!==e.button,d=this._rootElement,s=jr(e),r=!a&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=a?im(e):tm(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||r||c)return;if(this._handles.length){const f=d.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=t0(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(o,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(o){lD(this._rootElement,!0,r0),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),a=this._getPointerPositionOnPage(o),l=this._getDragDistance(a),d=e._isOverContainer(a.x,a.y);this.ended.next({source:this,distance:l,dropPoint:a}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:d,distance:l,dropPoint:a}),e.drop(this,t,this._initialIndex,this._initialContainer,d,l,a),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:o,y:e},{x:t,y:a}){let l=this._initialContainer._getSiblingContainerFromPosition(this,o,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(o,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,o,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,a),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 a;if(t&&o){const l=o.matchSize?this._rootElement.getBoundingClientRect():null,d=o.viewContainer.createEmbeddedView(t,o.context);d.detectChanges(),a=bD(d,this._document),this._previewRef=d,o.matchSize?yD(a,l):a.style.transform=Dw(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;a=hD(l),yD(a,l.getBoundingClientRect()),this._initialTransform&&(a.style.transform=this._initialTransform)}return Xx(a.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},r0),ff(a,!1),a.classList.add("cdk-drag-preview"),a.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>a.classList.add(l)):a.classList.add(e)),a}_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 uF(n){const o=getComputedStyle(n),e=e0(o,"transition-property"),t=e.find(s=>"transform"===s||"all"===s);if(!t)return 0;const a=e.indexOf(t),l=e0(o,"transition-duration"),d=e0(o,"transition-delay");return cD(l[a])+cD(d[a])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const a=d=>{var s;(!d||jr(d)===this._preview&&"transform"===d.propertyName)&&(null===(s=this._preview)||void 0===s||s.removeEventListener("transitionend",a),t(),clearTimeout(l))},l=setTimeout(a,1.5*e);this._preview.addEventListener("transitionend",a)}))}_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=bD(this._placeholderRef,this._document)):t=hD(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(o,e){const t=this._rootElement.getBoundingClientRect(),a=o===this._rootElement?null:o,l=a?a.getBoundingClientRect():t,d=l_(e)?e.targetTouches[0]:e,s=this._getViewportScrollPosition();return{x:l.left-t.left+(d.pageX-l.left-s.left),y:l.top-t.top+(d.pageY-l.top-s.top)}}_getPointerPositionOnPage(o){const e=this._getViewportScrollPosition(),t=l_(o)?o.touches[0]||o.changedTouches[0]||{pageX:0,pageY:0}:o,a=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const d=this._ownerSVGElement.getScreenCTM();if(d){const s=this._ownerSVGElement.createSVGPoint();return s.x=a,s.y=l,s.matrixTransform(d.inverse())}}return{x:a,y:l}}_getConstrainedPointerPosition(o){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:a}=this.constrainPosition?this.constrainPosition(o,this):o;if("x"===this.lockAxis||"x"===e?a=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:d}=this._pickupPositionInElement,s=this._boundaryRect,{width:r,height:c}=this._getPreviewRect(),u=s.top+d,h=s.bottom-(c-d);t=_D(t,s.left+l,s.right-(r-l)),a=_D(a,u,h)}return{x:t,y:a}}_updatePointerDirectionDelta(o){const{x:e,y:t}=o,a=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,d=Math.abs(e-l.x),s=Math.abs(t-l.y);return d>this._config.pointerDirectionChangeThreshold&&(a.x=e>l.x?1:-1,l.x=e),s>this._config.pointerDirectionChangeThreshold&&(a.y=t>l.y?1:-1,l.y=t),a}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const o=this._handles.length>0||!this.isDragging();o!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=o,ff(this._rootElement,o))}_removeRootElementListeners(o){o.removeEventListener("mousedown",this._pointerDown,Ew),o.removeEventListener("touchstart",this._pointerDown,gD),o.removeEventListener("dragstart",this._nativeDragStart,Ew)}_applyRootElementTransform(o,e){const t=Dw(o,e),a=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=a.transform&&"none"!=a.transform?a.transform:""),a.transform=Sw(t,this._initialTransform)}_applyPreviewTransform(o,e){var t;const a=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=Dw(o,e);this._preview.style.transform=Sw(l,a)}_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(),a=this._rootElement.getBoundingClientRect();if(0===t.width&&0===t.height||0===a.width&&0===a.height)return;const l=t.left-a.left,d=a.right-t.right,s=t.top-a.top,r=a.bottom-t.bottom;t.width>a.width?(l>0&&(o+=l),d>0&&(o-=d)):o=0,t.height>a.height?(s>0&&(e+=s),r>0&&(e-=r)):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:l_(o)?e.touch:e?e.mouse:0}_updateOnScroll(o){const e=this._parentPositions.handleScroll(o);if(e){const t=jr(o);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&o_(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(){var o;return(null===(o=this._parentPositions.positions.get(this._document))||void 0===o?void 0:o.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ah(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(o,e){const t=this._previewContainer||"global";if("parent"===t)return o;if("global"===t){const a=this._document;return e||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body}return Zi(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(o){return this._handles.find(e=>o.target&&(o.target===e||e.contains(o.target)))}}function Dw(n,o){return`translate3d(${Math.round(n)}px, ${Math.round(o)}px, 0)`}function _D(n,o,e){return Math.max(o,Math.min(e,n))}function l_(n){return"t"===n.type[0]}function bD(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(a=>t.appendChild(a)),t}function yD(n,o){n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.transform=Dw(o.left,o.top)}function c_(n,o){return Math.max(0,Math.min(o,n))}class gF{constructor(o,e,t,a,l){this._dragDropRegistry=e,this._ngZone=a,this._viewportRuler=l,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new Pe.x,this.entered=new Pe.x,this.exited=new Pe.x,this.dropped=new Pe.x,this.sorted=new Pe.x,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=Rt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Pe.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function dF(n=0,o=rd.z){return n<0&&(n=0),(0,cp.H)(n,n,o)}(0,op).pipe(nt(this._stopScrollTimers)).subscribe(()=>{const d=this._scrollNode,s=this.autoScrollStep;1===this._verticalScrollDirection?d.scrollBy(0,-s):2===this._verticalScrollDirection&&d.scrollBy(0,s),1===this._horizontalScrollDirection?d.scrollBy(-s,0):2===this._horizontalScrollDirection&&d.scrollBy(s,0)})},this.element=Zi(o),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new uD(t)}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,a){let l;this._draggingStarted(),null==a?(l=this.sortingDisabled?this._draggables.indexOf(o):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(o,e,t))):l=a;const d=this._activeDraggables,s=d.indexOf(o),r=o.getPlaceholderElement();let c=d[l];if(c===o&&(c=d[l+1]),!c&&(null==l||-1===l||l-1&&d.splice(s,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(r,u),d.splice(l,0,o)}else Zi(this.element).appendChild(r),d.push(o);r.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,a,l,d,s){this._reset(),this.dropped.next({item:o,currentIndex:e,previousIndex:t,container:this,previousContainer:a,isPointerOverContainer:l,distance:d,dropPoint:s})}withItems(o){const e=this._draggables;return this._draggables=o,o.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(a=>a.isDragging()).every(a=>-1===o.indexOf(a))?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=Zi(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,a){if(this.sortingDisabled||!this._clientRect||!dD(this._clientRect,.05,e,t))return;const l=this._itemPositions,d=this._getItemIndexFromPointerPosition(o,e,t,a);if(-1===d&&l.length>0)return;const s="horizontal"===this._orientation,r=l.findIndex(pe=>pe.drag===o),c=l[d],h=c.clientRect,f=r>d?1:-1,b=this._getItemOffsetPx(l[r].clientRect,h,f),j=this._getSiblingOffsetPx(r,l,f),ee=l.slice();(function mF(n,o,e){const t=c_(o,n.length-1),a=c_(e,n.length-1);if(t===a)return;const l=n[t],d=a{if(ee[Ke]===pe)return;const Dt=pe.drag===o,ut=Dt?b:j,Wt=Dt?o.getPlaceholderElement():pe.drag.getRootElement();pe.offset+=ut,s?(Wt.style.transform=Sw(`translate3d(${Math.round(pe.offset)}px, 0, 0)`,pe.initialTransform),o_(pe.clientRect,0,ut)):(Wt.style.transform=Sw(`translate3d(0, ${Math.round(pe.offset)}px, 0)`,pe.initialTransform),o_(pe.clientRect,ut,0))}),this._previousSwap.overlaps=n0(h,e,t),this._previousSwap.drag=c.drag,this._previousSwap.delta=s?a.x:a.y}_startScrollingIfNecessary(o,e){if(this.autoScrollDisabled)return;let t,a=0,l=0;if(this._parentPositions.positions.forEach((d,s)=>{s===this._document||!d.clientRect||t||dD(d.clientRect,.05,o,e)&&([a,l]=function _F(n,o,e,t){const a=AD(o,t),l=vD(o,e);let d=0,s=0;if(a){const r=n.scrollTop;1===a?r>0&&(d=1):n.scrollHeight-r>n.clientHeight&&(d=2)}if(l){const r=n.scrollLeft;1===l?r>0&&(s=1):n.scrollWidth-r>n.clientWidth&&(s=2)}return[d,s]}(s,d.clientRect,o,e),(a||l)&&(t=s))}),!a&&!l){const{width:d,height:s}=this._viewportRuler.getViewportSize(),r={width:d,height:s,top:0,right:d,bottom:s,left:0};a=AD(r,e),l=vD(r,o),t=window}t&&(a!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=a,this._horizontalScrollDirection=l,this._scrollNode=t,(a||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const o=Zi(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=Zi(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:t0(t)}}).sort((e,t)=>o?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const o=Zi(this.element).style;o.scrollSnapType=o.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const a=e.getRootElement();if(a){const l=null===(t=this._itemPositions.find(d=>d.drag===e))||void 0===t?void 0:t.initialTransform;a.style.transform=l||""}}),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 a="horizontal"===this._orientation,l=e[o].clientRect,d=e[o+-1*t];let s=l[a?"width":"height"]*t;if(d){const r=a?"left":"top",c=a?"right":"bottom";-1===t?s-=d.clientRect[r]-l[c]:s+=l[r]-d.clientRect[c]}return s}_getItemOffsetPx(o,e,t){const a="horizontal"===this._orientation;let l=a?e.left-o.left:e.top-o.top;return-1===t&&(l+=a?e.width-o.width:e.height-o.height),l}_shouldEnterAsFirstChild(o,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,a="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const d=t[t.length-1].clientRect;return a?o>=d.right:e>=d.bottom}{const d=t[0].clientRect;return a?o<=d.left:e<=d.top}}_getItemIndexFromPointerPosition(o,e,t,a){const l="horizontal"===this._orientation,d=this._itemPositions.findIndex(({drag:s,clientRect:r})=>{if(s===o)return!1;if(a){const c=l?a.x:a.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return l?e>=Math.floor(r.left)&&e=Math.floor(r.top)&&ta._canReceive(o,e,t))}_canReceive(o,e,t){if(!this._clientRect||!n0(this._clientRect,e,t)||!this.enterPredicate(o,this))return!1;const a=this._getShadowRoot().elementFromPoint(e,t);if(!a)return!1;const l=Zi(this.element);return a===l||l.contains(a)}_startReceiving(o,e){const t=this._activeSiblings;!t.has(o)&&e.every(a=>this.enterPredicate(a,this)||this._draggables.indexOf(a)>-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})=>{o_(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=Ah(Zi(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 AD(n,o){const{top:e,bottom:t,height:a}=n,l=.05*a;return o>=e-l&&o<=e+l?1:o>=t-l&&o<=t+l?2:0}function vD(n,o){const{left:e,right:t,width:a}=n,l=.05*a;return o>=e-l&&o<=e+l?1:o>=t-l&&o<=t+l?2:0}const Hw=Vr({passive:!1,capture:!0});let bF=(()=>{class n{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=a=>a.isDragging(),this.pointerMove=new Pe.x,this.pointerUp=new Pe.x,this.scroll=new Pe.x,this._preventDefaultWhileDragging=a=>{this._activeDragInstances.length>0&&a.preventDefault()},this._persistentTouchmoveListener=a=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&a.preventDefault(),this.pointerMove.next(a))},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,Hw)})}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,Hw)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const a=t.type.startsWith("touch");this._globalListeners.set(a?"touchend":"mouseup",{handler:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Hw}),a||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:Hw}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,d)=>{this._document.addEventListener(d,l.handler,l.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(a=>this._ngZone.runOutsideAngular(()=>{const d=s=>{this._activeDragInstances.length&&a.next(s)};return e.addEventListener("scroll",d,!0),()=>{e.removeEventListener("scroll",d,!0)}}))),(0,wi.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(T.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yF={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let CF=(()=>{class n{constructor(e,t,a,l){this._document=e,this._ngZone=t,this._viewportRuler=a,this._dragDropRegistry=l}createDrag(e,t=yF){return new fF(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new gF(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(T.K0),i.LFG(i.R0b),i.LFG(va),i.LFG(bF))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[CF],imports:[es]}),n})(),AF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),SF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),IF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[SF,ot],ot]}),n})(),ZF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[yr,ot],ot]}),n})();new i.OlP("mat-selectsearch-default-options");let XF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,ju,Ca,yw,zo,rw,bd]]}),n})(),e2=(()=>{class n extends Kh{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 t2={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 SD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ci,useClass:e2},{provide:Gr,useValue:t2}],imports:[[T.ez,yw,mw,Pg,Zx,wF,Ot,hr,Gx,Up,rw,Kx,zo,Wp,Ca,bd,Yl,ju,aw,yr,MS,AF,IF,qx,ZF,sp,Yp,XF,ad,iw,ii,XE]]}),n})(),H2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[T.ez,Ca,zo,hr,SD,Ot,Yl,ju,aw,Kx]]}),n})(),k2=(()=>{class n{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Kg),i.Y36(Hi))},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:[zt,Yi],pipes:[Ie],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function P2(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 R2=(()=>{class n{constructor(e){this.authzService=e,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Si(null,[Ni.required]),this.passwordCtrl=new Si(null,[Ni.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(Oi))},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,P2,3,3,"perun-web-apps-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:[T.O5,Ns,Wn,is,as,Ln,ns,sr,wr,Io,zt,Yi],pipes:[Ie],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 L2(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function I2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.PUBLICATION"))}function O2(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 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.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function V2(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 j2(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 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.hij(" ",i.lcZ(2,1,"CREATE_SINGLE_PUBLICATION.REQUIRED_ERROR")," "))}function N2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK")," ")}function Y2(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 z2(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 U2(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.Oqu(i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.CHECK"))}function q2(n,o){1&n&&i._UZ(0,"mat-spinner",5)}const G2=function(){return["id","lock","title","reportedBy","year","category","thankedTo","cite"]};function W2(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-publications-list",48),i.NdJ("publicationSelector",function(a){i.CHM(e),i.oxw(2);const l=i.MAs(1);return i.oxw(2).loadPublicationDetail(a,l)}),i.qZA()}if(2&n){const e=i.oxw(4);i.Q6J("displayedColumns",i.DdM(4,G2))("disabledRouting",!0)("openInTab",!0)("publications",e.filteredPublications)}}function Z2(n,o){if(1&n&&(i.TgZ(0,"div",46),i.YNc(1,q2,1,0,"mat-spinner",3),i.YNc(2,W2,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 $2(n,o){if(1&n&&i._uU(0),2&n){const e=i.oxw(4);i.Oqu(e.selectedPubTitle)}}function J2(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 Q2(n,o){1&n&&(i.TgZ(0,"mat-tab"),i.YNc(1,$2,1,1,"ng-template",44),i.YNc(2,J2,2,1,"ng-template",45),i.qZA())}function K2(n,o){if(1&n&&(i.TgZ(0,"mat-tab-group",null,43),i.TgZ(2,"mat-tab"),i.YNc(3,U2,2,3,"ng-template",44),i.YNc(4,Z2,3,2,"ng-template",45),i.qZA(),i.YNc(5,Q2,3,0,"mat-tab",14),i.qZA()),2&n){const e=i.oxw(2);i.xp6(5),i.Q6J("ngIf",null!==e.selectedPubId)}}function X2(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 eN(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 tN(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 iN(n,o){if(1&n&&(i.TgZ(0,"div",53),i.YNc(1,eN,3,3,"button",54),i.TgZ(2,"button",55),i._uU(3),i.ALo(4,"translate"),i.qZA(),i.YNc(5,tN,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 nN(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.AUTHORS")," ")}function rN(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function aN(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 sN(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-alert",58),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.YNc(4,aN,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 oN(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 lN(n,o){if(1&n&&(i.TgZ(0,"div",25),i.YNc(1,oN,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 cN(n,o){1&n&&(i._uU(0),i.ALo(1,"translate")),2&n&&i.hij(" ",i.lcZ(1,1,"CREATE_SINGLE_PUBLICATION.THANKS")," ")}function dN(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 uN(n,o){1&n&&i._UZ(0,"mat-spinner",5)}function hN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"mat-horizontal-stepper",6),i.NdJ("selectionChange",function(a){return i.CHM(e),i.oxw().stepChanged(a)}),i.TgZ(1,"mat-step",7),i.YNc(2,I2,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,O2,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(a){i.CHM(e);const l=i.MAs(22);return i.oxw().chosenYearHandler(a,l)}),i.qZA(),i.YNc(23,B2,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,V2,2,2,"mat-option",21),i.qZA(),i.YNc(28,j2,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,F2,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,N2,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,Y2,5,3,"div",29),i.YNc(51,z2,16,12,"perun-web-apps-alert",30),i.YNc(52,K2,6,1,"mat-tab-group",14),i.YNc(53,X2,6,3,"div",29),i.qZA(),i.YNc(54,iN,6,5,"div",31),i.qZA(),i.TgZ(55,"mat-step"),i.YNc(56,nN,2,3,"ng-template",8),i.TgZ(57,"h5",10),i._uU(58),i.ALo(59,"translate"),i.qZA(),i.YNc(60,rN,1,0,"mat-spinner",3),i.YNc(61,sN,5,4,"div",14),i.YNc(62,lN,5,4,"div",32),i.qZA(),i.TgZ(63,"mat-step"),i.YNc(64,cN,2,3,"ng-template",8),i.TgZ(65,"h5",10),i._uU(66),i.ALo(67,"translate"),i.qZA(),i.YNc(68,dN,1,2,"perun-web-apps-add-thanks",33),i.YNc(69,uN,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 a=i.oxw();return a.redirect(["all-publications",a.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 pN=pf,fN={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let mN=(()=>{class n{constructor(e,t,a,l,d,s,r,c){this.formBuilder=e,this.cabinetService=t,this.dialog=a,this.router=l,this.notificator=d,this.translate=s,this.storeService=r,this.userService=c,this.similarPublications=[],this.filteredPublications=[],this.categories=[],this.publication=null,this.authorsSelection=new Ri(!0,[]),this.thanksSelection=new Ri(!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:["",Ni.required],year:["",Ni.required],category:["",Ni.required],isbn:[""],doi:[""],cite:["",Ni.required]}),this.maxYear=pN(),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:{id:0,beanName:"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 a=t.userAttributes.filter(l=>"preferredMail"===l.friendlyName);0!==a.length&&(e.publication.createdBy=a[0].value),this.cabinetService.createPublication(e).subscribe(l=>{this.publication=l,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(){var e,t,a;this.innerLoading=!0;const l=null!==(e=this.publicationControl.get("title").value)&&void 0!==e?e:null,d=null!==(t=this.publicationControl.get("doi").value)&&void 0!==t?t:null,s=null!==(a=this.publicationControl.get("isbn").value)&&void 0!==a?a:null;this.cabinetService.findSimilarPublications(l,d,s).subscribe(r=>{this.similarPublications=r,this.filteredPublications=r,setTimeout(()=>{this.duplicateCheck=0===r.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(jM),i.Y36(hi),i.Y36(wn),i.Y36(Hi),i.Y36(In),i.Y36(Ye),i.Y36(Qn),i.Y36(Er))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-create-single-publication-page"]],features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:fN}])],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,L2,1,0,"mat-spinner",3),i.YNc(8,hN,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:[Yi,T.O5,_i,AE,CE,Cw,_C,ug,$i,vd,sr,Ou,Wn,as,Ln,ns,Io,is,n_,Ux,fp,zx,Ql,T.sg,Po,zt,nL,Vo,Ns,DI,FE,fI,pI,uf,s_,rL,sD,oD],pipes:[Ie],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 gN(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 _N(n,o){1&n&&(i.TgZ(0,"perun-web-apps-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 bN(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 yN(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,gN,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 a=i.oxw();return a.importPublications(a.selected.selected)}),i._uU(15),i.ALo(16,"translate"),i.qZA(),i.TgZ(17,"mat-checkbox",11),i.NdJ("ngModelChange",function(a){return i.CHM(e),i.oxw().userAsAuthor=a}),i._uU(18),i.ALo(19,"translate"),i.qZA(),i.qZA(),i.YNc(20,_N,3,3,"perun-web-apps-alert",12),i.YNc(21,bN,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 CN(n,o){1&n&&i._UZ(0,"mat-spinner",17)}function wN(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 AN(n,o){1&n&&(i.TgZ(0,"mat-icon",28),i._uU(1,"check_circle"),i.qZA())}function vN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const a=i.oxw(),l=a.$implicit,d=a.index;return i.oxw(2).completePublication(l.id,d)}),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 TN(n,o){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const a=i.oxw().$implicit;return i.oxw(2).incompletePublication(a.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 xN(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 l=i.CHM(e).index;return i.oxw(2).editPublication(l)}),i.TgZ(2,"mat-panel-title"),i._uU(3),i.YNc(4,wN,3,3,"i",3),i.YNc(5,AN,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,vN,3,3,"button",20),i.YNc(9,TN,3,3,"button",27),i.qZA(),i.qZA()}if(2&n){const e=o.$implicit,t=o.index,a=i.oxw(2);i.Q6J("expanded",a.indexExpanded===t),i.xp6(3),i.hij(" ",e.title," "),i.xp6(1),i.Q6J("ngIf",!a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("publicationId",e.id),i.xp6(2),i.Q6J("ngIf",!a.completePublications.includes(e.id)),i.xp6(1),i.Q6J("ngIf",a.completePublications.includes(e.id))}}function MN(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 SN(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 EN(n,o){if(1&n&&(i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-alert",15),i._uU(2),i.ALo(3,"translate"),i.qZA(),i.TgZ(4,"mat-accordion"),i.YNc(5,xN,10,7,"mat-expansion-panel",18),i.qZA(),i.TgZ(6,"div",19),i.YNc(7,MN,3,3,"button",20),i.qZA(),i.YNc(8,SN,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 HD=pf,DN={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},HN=[{path:"",redirectTo:"all-publications",pathMatch:"full"},{path:"login",component:k2},{path:"service-access",component:R2},{path:"all-publications",component:jO},{path:"my-publications",component:zO},{path:"create-publication",component:UO},{path:"create-publication/import",component:(()=>{class n{constructor(e,t,a,l,d,s){this.cabinetService=e,this.storeService=t,this.notificator=a,this.translate=l,this.router=d,this.dialog=s,this.loading=!1,this.publicationSystems=[],this.pubSystem=new Si,this.publications=[],this.selected=new Ri(!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 Si(HD().subtract(1,"year")),this.endYear=new Si(HD()),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:{id:0,beanName:"Publication",title:t.title,categoryId:t.categoryId,year:t.year,isbn:t.isbn,doi:t.doi,main:t.main}}).subscribe(l=>{this.userAsAuthor?this.cabinetService.createAutorship({authorship:{id:0,beanName:"Authorship",publicationId:l.id,userId:this.userId}}).subscribe(()=>{this.importedPublications.push(l),this.importPublications(e)},()=>this.loading=!1):(this.importedPublications.push(l),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=Jn();e.width="500px",e.data={theme:"user-theme",message:this.translate.instant("IMPORT_PUBLICATIONS.CHECK_ALL_MESSAGE")},this.dialog.open(ok,e).afterClosed().subscribe(a=>{a&&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(hi),i.Y36(Qn),i.Y36(In),i.Y36(Ye),i.Y36(Hi),i.Y36(wn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-import-publications-page"]],features:[i._Bn([{provide:Ci,useClass:r_,deps:[Ol]},{provide:Gr,useValue:DN}])],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,yN,22,20,"div",3),i.YNc(8,CN,1,0,"mat-spinner",4),i.YNc(9,EN,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:[Yi,T.O5,Wn,is,Ql,sr,wr,T.sg,Po,nD,zt,vd,fd,Ns,uf,_i,wR,cE,dE,CR,s_,Kl],pipes:[Ie],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:mN},{path:"authors",component:gB},{path:"authors/:authorId",component:yV},{path:"authors/:authorId/publication/:publicationId",component:s_},{path:"all-publications/:publicationId",component:s_},{path:"my-publications/:publicationId",component:s_},{path:"categories",component:KB},{path:"publication-systems",component:mV}];let kN=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[hr.forRoot(HN,{preloadingStrategy:W,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],hr]}),n})();const PN={provide:C.TP,useExisting:(0,i.Gpc)(()=>TS),multi:!0};function RN(n){return new FP(n,"./assets/i18n/",".json")}function LN(n){const o={basePath:n.get("api_url")};return new it(o)}const IN=n=>()=>n.loadConfigs();let ON=(()=>{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(vS),i.LFG(Ye))},n.\u0275mod=i.oAB({type:n,bootstrap:[jP]}),n.\u0275inj=i.cJS({providers:[vS,{provide:i.ip1,useFactory:IN,multi:!0,deps:[zP]},{provide:it,useFactory:LN,deps:[Qn]},TS,PN,{provide:UP,useClass:RH},LO,{provide:_x.Hy,useFactory:()=>localStorage}],imports:[[La,Ot.forRoot({loader:{provide:p,useFactory:RN,deps:[C.eN]}}),lv,XE,qP,Ju,C.JF,kN,Kx,MS,H2,GE,ii,_x.zr.forRoot(),SD]]}),n})();(0,i.G48)(),Ra().bootstrapModule(ON).catch(n=>console.error(n))},1302:function(Y,U,x){var T;!function(i,S){var M={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var S=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(ce,ie,te,he,fe){for(var Re,ze,qe,Ee,we,xe,lt,ke,Oe,Je,de,me,ge;fe>=64;){for(Re=ie[0],ze=ie[1],qe=ie[2],Ee=ie[3],we=ie[4],xe=ie[5],lt=ie[6],ke=ie[7],Je=0;Je<16;Je++)ce[Je]=(255&te[de=he+4*Je])<<24|(255&te[de+1])<<16|(255&te[de+2])<<8|255&te[de+3];for(Je=16;Je<64;Je++)ce[Je]=((me=((Oe=ce[Je-2])>>>17|Oe<<15)^(Oe>>>19|Oe<<13)^Oe>>>10)+ce[Je-7]|0)+((ge=((Oe=ce[Je-15])>>>7|Oe<<25)^(Oe>>>18|Oe<<14)^Oe>>>3)+ce[Je-16]|0);for(Je=0;Je<64;Je++)me=(((we>>>6|we<<26)^(we>>>11|we<<21)^(we>>>25|we<<7))+(we&xe^~we<)|0)+(ke+(S[Je]+ce[Je]|0)|0)|0,ge=((Re>>>2|Re<<30)^(Re>>>13|Re<<19)^(Re>>>22|Re<<10))+(Re&ze^Re&qe^ze&qe)|0,ke=lt,lt=xe,xe=we,we=Ee+me|0,Ee=qe,qe=ze,ze=Re,Re=me+ge|0;ie[0]+=Re,ie[1]+=ze,ie[2]+=qe,ie[3]+=Ee,ie[4]+=we,ie[5]+=xe,ie[6]+=lt,ie[7]+=ke,he+=64,fe-=64}return he}var E=function(){function ce(){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 ce.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},ce.prototype.clean=function(){for(var ie=0;ie0){for(;this.bufferLength<64&&te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;64===this.bufferLength&&(M(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(te>=64&&(he=M(this.temp,this.state,ie,he,te),te%=64);te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;return this},ce.prototype.finish=function(ie){if(!this.finished){var te=this.bytesHashed,he=this.bufferLength,fe=te/536870912|0,Re=te<<3,ze=te%64<56?64:128;this.buffer[he]=128;for(var qe=he+1;qe>>24&255,this.buffer[ze-7]=fe>>>16&255,this.buffer[ze-6]=fe>>>8&255,this.buffer[ze-5]=fe>>>0&255,this.buffer[ze-4]=Re>>>24&255,this.buffer[ze-3]=Re>>>16&255,this.buffer[ze-2]=Re>>>8&255,this.buffer[ze-1]=Re>>>0&255,M(this.temp,this.state,this.buffer,0,ze),this.finished=!0}for(qe=0;qe<8;qe++)ie[4*qe+0]=this.state[qe]>>>24&255,ie[4*qe+1]=this.state[qe]>>>16&255,ie[4*qe+2]=this.state[qe]>>>8&255,ie[4*qe+3]=this.state[qe]>>>0&255;return this},ce.prototype.digest=function(){var ie=new Uint8Array(this.digestLength);return this.finish(ie),ie},ce.prototype._saveState=function(ie){for(var te=0;tethis.blockSize)(new E).update(ie).finish(te).clean();else for(var he=0;he1&&ie.update(ce),te&&ie.update(te),ie.update(he),ie.finish(ce),he[0]++}i.HMAC=P,i.hash=L,i.default=L,i.hmac=V;var J=new Uint8Array(i.digestLength);i.hkdf=function Q(ce,ie,te,he){void 0===ie&&(ie=J),void 0===he&&(he=32);for(var fe=new Uint8Array([1]),Re=V(ie,ce),ze=new P(Re),qe=new Uint8Array(ze.digestLength),Ee=qe.length,we=new Uint8Array(he),xe=0;xe>>24&255,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=lt>>>0&255,fe.reset(),fe.update(ie),fe.update(ze),fe.finish(Ee);for(var ke=0;ke=Q.status}function P(J){try{J.dispatchEvent(new MouseEvent("click"))}catch(oe){var Q=document.createEvent("MouseEvents");Q.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),J.dispatchEvent(Q)}}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,V=L.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=L.saveAs||("object"!=typeof window||window!==L?function(){}:"download"in HTMLAnchorElement.prototype&&!V?function(J,Q,oe){var ce=L.URL||L.webkitURL,ie=document.createElement("a");ie.download=Q=Q||J.name||"download",ie.rel="noopener","string"==typeof J?(ie.href=J,ie.origin===location.origin?P(ie):E(ie.href)?M(J,Q,oe):P(ie,ie.target="_blank")):(ie.href=ce.createObjectURL(J),setTimeout(function(){ce.revokeObjectURL(ie.href)},4e4),setTimeout(function(){P(ie)},0))}:"msSaveOrOpenBlob"in navigator?function(J,Q,oe){if(Q=Q||J.name||"download","string"!=typeof J)navigator.msSaveOrOpenBlob(function S(J,Q){return void 0===Q?Q={autoBom:!1}:"object"!=typeof Q&&(console.warn("Deprecated: Expected third argument to be a object"),Q={autoBom:!Q}),Q.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(J.type)?new Blob(["\ufeff",J],{type:J.type}):J}(J,oe),Q);else if(E(J))M(J,Q,oe);else{var ce=document.createElement("a");ce.href=J,ce.target="_blank",setTimeout(function(){P(ce)})}}:function(J,Q,oe,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),"string"==typeof J)return M(J,Q,oe);var ie="application/octet-stream"===J.type,te=/constructor/i.test(L.HTMLElement)||L.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||ie&&te||V)&&"undefined"!=typeof FileReader){var fe=new FileReader;fe.onloadend=function(){var qe=fe.result;qe=he?qe:qe.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=qe:location=qe,ce=null},fe.readAsDataURL(J)}else{var Re=L.URL||L.webkitURL,ze=Re.createObjectURL(J);ce?ce.location=ze:location.href=ze,ce=null,setTimeout(function(){Re.revokeObjectURL(ze)},4e4)}});L.saveAs=z.saveAs=z,Y.exports=z}.apply(U,[]))&&(Y.exports=i)},7088:function(Y,U,x){!function(T){"use strict";T.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(S){return/^nm$/i.test(S)},meridiem:function(S,M,E){return S<12?E?"vm":"VM":E?"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(S){return S+(1===S||8===S||S>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(5439))},2502:function(Y,U,x){!function(T){"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},S={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(V,z,J,Q){var oe=i(V),ce=S[L][i(V)];return 2===oe&&(ce=ce[z?0:1]),ce.replace(/%d/i,V)}},E=["\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"];T.defineLocale("ar-dz",{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(L){return"\u0645"===L},meridiem:function(L,V,z){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}})}(x(5439))},128:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},4519:function(Y,U,x){!function(T){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},S=function(V){return 0===V?0:1===V?1:2===V?2:V%100>=3&&V%100<=10?3:V%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"]},E=function(V){return function(z,J,Q,oe){var ce=S(z),ie=M[V][S(z)];return 2===ce&&(ie=ie[J?0:1]),ie.replace(/%d/i,z)}},P=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-ly",{months:P,monthsShort:P,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(V){return"\u0645"===V},meridiem:function(V,z,J){return V<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(V){return V.replace(/\u060c/g,",")},postformat:function(V){return V.replace(/\d/g,function(z){return i[z]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},5443:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7642:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.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(E){return"\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(P){return S[P]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(x(5439))},8592:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7038:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(z){return 0===z?0:1===z?1:2===z?2:z%100>=3&&z%100<=10?3:z%100>=11?4:5},E={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"]},P=function(z){return function(J,Q,oe,ce){var ie=M(J),te=E[z][M(J)];return 2===ie&&(te=te[Q?0:1]),te.replace(/%d/i,J)}},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"];T.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(z){return"\u0645"===z},meridiem:function(z,J,Q){return z<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:P("s"),ss:P("s"),m:P("m"),mm:P("m"),h:P("h"),hh:P("h"),d:P("d"),dd:P("d"),M:P("M"),MM:P("M"),y:P("y"),yy:P("y")},preparse:function(z){return z.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(J){return S[J]}).replace(/\u060c/g,",")},postformat:function(z){return z.replace(/\d/g,function(J){return i[J]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},1213:function(Y,U,x){!function(T){"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"};T.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,E,P){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 E=M%10;return M+(i[E]||i[M%100-E]||i[M>=100?100:null])},week:{dow:1,doy:7}})}(x(5439))},9191:function(Y,U,x){!function(T){"use strict";function S(E,P,L){return"m"===L?P?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===L?P?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":E+" "+function i(E,P){var L=E.split("_");return P%10==1&&P%100!=11?L[0]:P%10>=2&&P%10<=4&&(P%100<10||P%100>=20)?L[1]:L[2]}({ss:P?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:P?"\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:P?"\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],+E)}T.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:S,mm:S,h:S,hh:S,d:"\u0434\u0437\u0435\u043d\u044c",dd:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(E)},meridiem:function(E,P,L){return E<4?"\u043d\u043e\u0447\u044b":E<12?"\u0440\u0430\u043d\u0456\u0446\u044b":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(E,P){switch(P){case"M":case"d":case"DDD":case"w":case"W":return E%10!=2&&E%10!=3||E%100==12||E%100==13?E+"-\u044b":E+"-\u0456";case"D":return E+"-\u0433\u0430";default:return E}},week:{dow:1,doy:7}})}(x(5439))},322:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===M?S+"-\u0432\u0438":2===M?S+"-\u0440\u0438":7===M||8===M?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(5439))},8042:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5903:function(Y,U,x){!function(T){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===P?E<4?E:E+12:"\u09ad\u09cb\u09b0"===P||"\u09b8\u0995\u09be\u09b2"===P?E:"\u09a6\u09c1\u09aa\u09c1\u09b0"===P?E>=3?E:E+12:"\u09ac\u09bf\u0995\u09be\u09b2"===P||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u09b0\u09be\u09a4":E<6?"\u09ad\u09cb\u09b0":E<12?"\u09b8\u0995\u09be\u09b2":E<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<18?"\u09ac\u09bf\u0995\u09be\u09b2":E<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(5439))},9620:function(Y,U,x){!function(T){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===P&&E>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===P&&E<5||"\u09ac\u09bf\u0995\u09be\u09b2"===P?E+12:E},meridiem:function(E,P,L){return E<4?"\u09b0\u09be\u09a4":E<10?"\u09b8\u0995\u09be\u09b2":E<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(5439))},9645:function(Y,U,x){!function(T){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},S={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.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(E){return E.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===P&&E>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===P&&E<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===P?E+12:E},meridiem:function(E,P,L){return E<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":E<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":E<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":E<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(x(5439))},5020:function(Y,U,x){!function(T){"use strict";function i(te,he,fe){return te+" "+function E(te,he){return 2===he?function P(te){var he={m:"v",b:"v",d:"z"};return void 0===he[te.charAt(0)]?te:he[te.charAt(0)]+te.substring(1)}(te):te}({mm:"munutenn",MM:"miz",dd:"devezh"}[fe],te)}function M(te){return te>9?M(te%10):te}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],V=/^(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,ce=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.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:ce,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:ce,monthsRegex:V,monthsShortRegex:V,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 S(te){switch(M(te)){case 1:case 3:case 4:case 5:case 9:return te+" bloaz";default:return te+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(te){return te+(1===te?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(te){return"g.m."===te},meridiem:function(te,he,fe){return te<12?"a.m.":"g.m."}})}(x(5439))},4792:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var L=M+" ";switch(P){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return E?"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")}}T.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}})}(x(5439))},7980:function(Y,U,x){!function(T){"use strict";T.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(S,M){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===M||"W"===M)&&(E="a"),S+E},week:{dow:1,doy:4}})}(x(5439))},7322:function(Y,U,x){!function(T){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},S="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],E=/^(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 P(z){return z>1&&z<5&&1!=~~(z/10)}function L(z,J,Q,oe){var ce=z+" ";switch(Q){case"s":return J||oe?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return J||oe?ce+(P(z)?"sekundy":"sekund"):ce+"sekundami";case"m":return J?"minuta":oe?"minutu":"minutou";case"mm":return J||oe?ce+(P(z)?"minuty":"minut"):ce+"minutami";case"h":return J?"hodina":oe?"hodinu":"hodinou";case"hh":return J||oe?ce+(P(z)?"hodiny":"hodin"):ce+"hodinami";case"d":return J||oe?"den":"dnem";case"dd":return J||oe?ce+(P(z)?"dny":"dn\xed"):ce+"dny";case"M":return J||oe?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return J||oe?ce+(P(z)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):ce+"m\u011bs\xedci";case"y":return J||oe?"rok":"rokem";case"yy":return J||oe?ce+(P(z)?"roky":"let"):ce+"lety"}}T.defineLocale("cs",{months:i,monthsShort:S,monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},365:function(Y,U,x){!function(T){"use strict";T.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(S){return S+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(S)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(S)?"\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}})}(x(5439))},2092:function(Y,U,x){!function(T){"use strict";T.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(S){var E="";return S>20?E=40===S||50===S||60===S||80===S||100===S?"fed":"ain":S>0&&(E=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][S]),S+E},week:{dow:1,doy:4}})}(x(5439))},7387:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},9459:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},3694:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},4307:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][0]:V[P][1]}T.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}})}(x(5439))},9659:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("dv",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,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(E){return"\u0789\u078a"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(x(5439))},3460:function(Y,U,x){!function(T){"use strict";T.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,E){return M?"string"==typeof E&&/D/.test(E.substring(0,E.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,E,P){return M>11?P?"\u03bc\u03bc":"\u039c\u039c":P?"\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,E){var P=this._calendarEl[M],L=E&&E.hours();return function i(M){return"undefined"!=typeof Function&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}(P)&&(P=P.apply(E)),P.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}})}(x(5439))},4369:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(x(5439))},530:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(x(5439))},9998:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},3391:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},5414:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(x(5439))},9615:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(x(5439))},1248:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},3767:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},4530:function(Y,U,x){!function(T){"use strict";T.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(S){return"p"===S.charAt(0).toLowerCase()},meridiem:function(S,M,E){return S>11?E?"p.t.m.":"P.T.M.":E?"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}})}(x(5439))},8944:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},9116:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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"})}(x(5439))},3609:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},6866:function(Y,U,x){!function(T){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="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],E=/^(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;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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"})}(x(5439))},6725:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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 E?V[P][2]?V[P][2]:V[P][1]:L?V[P][0]:V[P][1]}T.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}})}(x(5439))},7931:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6417:function(Y,U,x){!function(T){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},S={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.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(E){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(E)},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u06f0-\u06f9]/g,function(P){return S[P]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(x(5439))},944:function(Y,U,x){!function(T){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),S=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function M(L,V,z,J){var Q="";switch(z){case"s":return J?"muutaman sekunnin":"muutama sekunti";case"ss":Q=J?"sekunnin":"sekuntia";break;case"m":return J?"minuutin":"minuutti";case"mm":Q=J?"minuutin":"minuuttia";break;case"h":return J?"tunnin":"tunti";case"hh":Q=J?"tunnin":"tuntia";break;case"d":return J?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Q=J?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return J?"kuukauden":"kuukausi";case"MM":Q=J?"kuukauden":"kuukautta";break;case"y":return J?"vuoden":"vuosi";case"yy":Q=J?"vuoden":"vuotta"}return function E(L,V){return L<10?V?S[L]:i[L]:L}(L,J)+" "+Q}T.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}})}(x(5439))},1766:function(Y,U,x){!function(T){"use strict";T.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(S){return S},week:{dow:1,doy:4}})}(x(5439))},5867:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6848:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}}})}(x(5439))},7773:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}},week:{dow:1,doy:4}})}(x(5439))},1636:function(Y,U,x){!function(T){"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,E=[/^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];T.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:E,longMonthsParse:E,shortMonthsParse:E,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,V){switch(V){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}})}(x(5439))},4940:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),S="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(E,P){return E?/-MMM-/.test(P)?S[E.month()]:i[E.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(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(5439))},1402:function(Y,U,x){!function(T){"use strict";T.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(5439))},6924:function(Y,U,x){!function(T){"use strict";T.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(5439))},6398:function(Y,U,x){!function(T){"use strict";T.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(S){return 0===S.indexOf("un")?"n"+S:"en "+S},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}})}(x(5439))},2457:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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?V[P][0]:V[P][1]}T.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,E){return"D"===E?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,E){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===E?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===E?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===E?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===E?M+12:void 0},meridiem:function(M,E,P){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"}})}(x(5439))},2545:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V={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?V[P][0]:V[P][1]}T.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,E){return"D"===E?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,E){return 12===M&&(M=0),"rati"===E?M<4?M:M+12:"sokallim"===E?M:"donparam"===E?M>12?M:M+12:"sanje"===E?M+12:void 0},meridiem:function(M,E,P){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(x(5439))},2641:function(Y,U,x){!function(T){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},S={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.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(E){return E.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0ab0\u0abe\u0aa4"===P?E<4?E:E+12:"\u0ab8\u0ab5\u0abe\u0ab0"===P?E:"\u0aac\u0aaa\u0acb\u0ab0"===P?E>=10?E:E+12:"\u0ab8\u0abe\u0a82\u0a9c"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0ab0\u0abe\u0aa4":E<10?"\u0ab8\u0ab5\u0abe\u0ab0":E<17?"\u0aac\u0aaa\u0acb\u0ab0":E<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(x(5439))},7536:function(Y,U,x){!function(T){"use strict";T.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(S){return 2===S?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":S+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(S){return 2===S?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":S+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(S){return 2===S?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":S+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(S){return 2===S?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":S%10==0&&10!==S?S+" \u05e9\u05e0\u05d4":S+" \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(S){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(S)},meridiem:function(S,M,E){return S<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":S<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":S<12?E?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":S<18?E?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(x(5439))},6335:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\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];T.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(V){return S[V]})},postformat:function(L){return L.replace(/\d/g,function(V){return i[V]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(L,V){return 12===L&&(L=0),"\u0930\u093e\u0924"===V?L<4?L:L+12:"\u0938\u0941\u092c\u0939"===V?L:"\u0926\u094b\u092a\u0939\u0930"===V?L>=10?L:L+12:"\u0936\u093e\u092e"===V?L+12:void 0},meridiem:function(L,V,z){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}})}(x(5439))},7458:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var L=M+" ";switch(P){case"ss":return L+(1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return L+(1===M?"minuta":2===M||3===M||4===M?"minute":"minuta");case"h":return E?"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")}}T.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}})}(x(5439))},6540:function(Y,U,x){!function(T){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function S(P,L,V,z){var J=P;switch(V){case"s":return z||L?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return J+(z||L)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(z||L?" perc":" perce");case"mm":return J+(z||L?" perc":" perce");case"h":return"egy"+(z||L?" \xf3ra":" \xf3r\xe1ja");case"hh":return J+(z||L?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(z||L?" nap":" napja");case"dd":return J+(z||L?" nap":" napja");case"M":return"egy"+(z||L?" h\xf3nap":" h\xf3napja");case"MM":return J+(z||L?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(z||L?" \xe9v":" \xe9ve");case"yy":return J+(z||L?" \xe9v":" \xe9ve")}return""}function M(P){return(P?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}T.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(P){return"u"===P.charAt(1).toLowerCase()},meridiem:function(P,L,V){return P<12?!0===V?"de":"DE":!0===V?"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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},5283:function(Y,U,x){!function(T){"use strict";T.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(S){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(S)},meridiem:function(S){return S<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":S<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":S<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(S,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===S?S+"-\u056b\u0576":S+"-\u0580\u0564";default:return S}},week:{dow:1,doy:7}})}(x(5439))},8780:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"siang"===M?S>=11?S:S+12:"sore"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"siang":S<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}})}(x(5439))},4205:function(Y,U,x){!function(T){"use strict";function i(E){return E%100==11||E%10!=1}function S(E,P,L,V){var z=E+" ";switch(L){case"s":return P||V?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(E)?z+(P||V?"sek\xfandur":"sek\xfandum"):z+"sek\xfanda";case"m":return P?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(E)?z+(P||V?"m\xedn\xfatur":"m\xedn\xfatum"):P?z+"m\xedn\xfata":z+"m\xedn\xfatu";case"hh":return i(E)?z+(P||V?"klukkustundir":"klukkustundum"):z+"klukkustund";case"d":return P?"dagur":V?"dag":"degi";case"dd":return i(E)?P?z+"dagar":z+(V?"daga":"d\xf6gum"):P?z+"dagur":z+(V?"dag":"degi");case"M":return P?"m\xe1nu\xf0ur":V?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(E)?P?z+"m\xe1nu\xf0ir":z+(V?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):P?z+"m\xe1nu\xf0ur":z+(V?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return P||V?"\xe1r":"\xe1ri";case"yy":return i(E)?z+(P||V?"\xe1r":"\xe1rum"):z+(P||V?"\xe1r":"\xe1ri")}}T.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:S,ss:S,m:S,mm:S,h:"klukkustund",hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},9985:function(Y,U,x){!function(T){"use strict";T.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(S){return(/^[0-9].+$/.test(S)?"tra":"in")+" "+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",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}})}(x(5439))},4211:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},1003:function(Y,U,x){!function(T){"use strict";T.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(S,M){return"\u5143"===M[1]?1:parseInt(M[1]||S,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(S){return"\u5348\u5f8c"===S},meridiem:function(S,M,E){return S<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(S){return S.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(S){return this.week()!==S.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(S,M){switch(M){case"y":return 1===S?"\u5143\u5e74":S+"\u5e74";case"d":case"D":case"DDD":return S+"\u65e5";default:return S}},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"}})}(x(5439))},420:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"enjing"===M?S:"siyang"===M?S>=11?S:S+12:"sonten"===M||"ndalu"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"enjing":S<15?"siyang":S<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}})}(x(5439))},851:function(Y,U,x){!function(T){"use strict";T.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(S){return S.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,E,P){return"\u10d8"===P?E+"\u10e8\u10d8":E+P+"\u10e8\u10d8"})},past:function(S){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(S)?S.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(S)?S.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):S},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(S){return 0===S?S:1===S?S+"-\u10da\u10d8":S<20||S<=100&&S%20==0||S%100==0?"\u10db\u10d4-"+S:S+"-\u10d4"},week:{dow:1,doy:7}})}(x(5439))},6074:function(Y,U,x){!function(T){"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"};T.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}})}(x(5439))},3343:function(Y,U,x){!function(T){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},S={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.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(E){return"\u179b\u17d2\u1784\u17b6\u1785"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},week:{dow:1,doy:4}})}(x(5439))},4799:function(Y,U,x){!function(T){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},S={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.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(E){return E.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P){return 12===E&&(E=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===P?E<4?E:E+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===P?E:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===P?E>=10?E:E+12:"\u0cb8\u0c82\u0c9c\u0cc6"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":E<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":E<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":E<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(E){return E+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(x(5439))},3549:function(Y,U,x){!function(T){"use strict";T.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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\uc77c";case"M":return S+"\uc6d4";case"w":case"W":return S+"\uc8fc";default:return S}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(S){return"\uc624\ud6c4"===S},meridiem:function(S,M,E){return S<12?"\uc624\uc804":"\uc624\ud6c4"}})}(x(5439))},1037:function(Y,U,x){!function(T){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\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"];T.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(P){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(P)},meridiem:function(P,L,V){return P<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(P){return P.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(L){return S[L]}).replace(/\u060c/g,",")},postformat:function(P){return P.replace(/\d/g,function(L){return i[L]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(5439))},3125:function(Y,U,x){!function(T){"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"};T.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}})}(x(5439))},9586:function(Y,U,x){!function(T){"use strict";function i(L,V,z,J){var Q={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 V?Q[z][0]:Q[z][1]}function E(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 V=L%10;return E(0===V?L/10:V)}if(L<1e4){for(;L>=10;)L/=10;return E(L)}return E(L/=1e3)}T.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 S(L){return E(L.substr(0,L.indexOf(" ")))?"a "+L:"an "+L},past:function M(L){return E(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}})}(x(5439))},2349:function(Y,U,x){!function(T){"use strict";T.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(S){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===S},meridiem:function(S,M,E){return S<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(S){return"\u0e97\u0eb5\u0ec8"+S}})}(x(5439))},2400:function(Y,U,x){!function(T){"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(z,J,Q,oe){return J?P(Q)[0]:oe?P(Q)[1]:P(Q)[2]}function E(z){return z%10==0||z>10&&z<20}function P(z){return i[z].split("_")}function L(z,J,Q,oe){var ce=z+" ";return 1===z?ce+M(0,J,Q[0],oe):J?ce+(E(z)?P(Q)[1]:P(Q)[0]):oe?ce+P(Q)[1]:ce+(E(z)?P(Q)[1]:P(Q)[2])}T.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 S(z,J,Q,oe){return J?"kelios sekund\u0117s":oe?"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(z){return z+"-oji"},week:{dow:1,doy:4}})}(x(5439))},9991:function(Y,U,x){!function(T){"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 S(V,z,J){return J?z%10==1&&z%100!=11?V[2]:V[3]:z%10==1&&z%100!=11?V[0]:V[1]}function M(V,z,J){return V+" "+S(i[J],V,z)}function E(V,z,J){return S(i[J],V,z)}T.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 P(V,z){return z?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:M,m:E,mm:M,h:E,hh:M,d:E,dd:M,M:E,MM:M,y:E,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8477:function(Y,U,x){!function(T){"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,E){return 1===M?E[0]:M>=2&&M<=4?E[1]:E[2]},translate:function(M,E,P){var L=i.words[P];return 1===P.length?E?L[0]:L[1]:M+" "+i.correctGrammaticalCase(M,L)}};T.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}})}(x(5439))},5118:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5943:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===M?S+"-\u0432\u0438":2===M?S+"-\u0440\u0438":7===M||8===M?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(5439))},3849:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&S>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?S+12:S},meridiem:function(S,M,E){return S<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":S<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":S<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":S<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(x(5439))},1977:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){switch(P){case"s":return E?"\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+(E?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(E?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(E?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(E?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(E?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(E?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}T.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,E,P){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,E){switch(E){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(x(5439))},6184:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(P,L,V,z){var J="";if(L)switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":J="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":J="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":J="%d \u0924\u093e\u0938";break;case"d":J="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":J="%d \u0926\u093f\u0935\u0938";break;case"M":J="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":J="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u0947"}else switch(V){case"s":J="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":J="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":J="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":J="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":J="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":J="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":J="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":J="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":J="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":J="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":J="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":J="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return J.replace(/%d/i,P)}T.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(P){return P.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(L){return S[L]})},postformat:function(P){return P.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(P,L){return 12===P&&(P=0),"\u092a\u0939\u093e\u091f\u0947"===L||"\u0938\u0915\u093e\u0933\u0940"===L?P:"\u0926\u0941\u092a\u093e\u0930\u0940"===L||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===L||"\u0930\u093e\u0924\u094d\u0930\u0940"===L?P>=12?P:P+12:void 0},meridiem:function(P,L,V){return P>=0&&P<6?"\u092a\u0939\u093e\u091f\u0947":P<12?"\u0938\u0915\u093e\u0933\u0940":P<17?"\u0926\u0941\u092a\u093e\u0930\u0940":P<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(x(5439))},4524:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"tengahari"===M?S>=11?S:S+12:"petang"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(x(5439))},485:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"pagi"===M?S:"tengahari"===M?S>=11?S:S+12:"petang"===M||"malam"===M?S+12:void 0},meridiem:function(S,M,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(x(5439))},6681:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2024:function(Y,U,x){!function(T){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},S={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.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(E){return E.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},week:{dow:1,doy:4}})}(x(5439))},2688:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},8914:function(Y,U,x){!function(T){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.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(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0930\u093e\u0924\u093f"===P?E<4?E:E+12:"\u092c\u093f\u0939\u093e\u0928"===P?E:"\u0926\u093f\u0909\u0901\u0938\u094b"===P?E>=10?E:E+12:"\u0938\u093e\u0901\u091d"===P?E+12:void 0},meridiem:function(E,P,L){return E<3?"\u0930\u093e\u0924\u093f":E<12?"\u092c\u093f\u0939\u093e\u0928":E<16?"\u0926\u093f\u0909\u0901\u0938\u094b":E<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}})}(x(5439))},2272:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="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],E=/^(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;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},1758:function(Y,U,x){!function(T){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="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],E=/^(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;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(L,V){return L?/-MMM-/.test(V)?S[L.month()]:i[L.month()]:i},monthsRegex:E,monthsShortRegex:E,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}})}(x(5439))},1510:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2797:function(Y,U,x){!function(T){"use strict";T.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(S,M){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===M||"W"===M)&&(E="a"),S+E},week:{dow:1,doy:4}})}(x(5439))},7944:function(Y,U,x){!function(T){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},S={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.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(E){return E.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(E,P){return 12===E&&(E=0),"\u0a30\u0a3e\u0a24"===P?E<4?E:E+12:"\u0a38\u0a35\u0a47\u0a30"===P?E:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===P?E>=10?E:E+12:"\u0a38\u0a3c\u0a3e\u0a2e"===P?E+12:void 0},meridiem:function(E,P,L){return E<4?"\u0a30\u0a3e\u0a24":E<10?"\u0a38\u0a35\u0a47\u0a30":E<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":E<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(x(5439))},1605:function(Y,U,x){!function(T){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),S="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 E(V){return V%10<5&&V%10>1&&~~(V/10)%10!=1}function P(V,z,J){var Q=V+" ";switch(J){case"ss":return Q+(E(V)?"sekundy":"sekund");case"m":return z?"minuta":"minut\u0119";case"mm":return Q+(E(V)?"minuty":"minut");case"h":return z?"godzina":"godzin\u0119";case"hh":return Q+(E(V)?"godziny":"godzin");case"ww":return Q+(E(V)?"tygodnie":"tygodni");case"MM":return Q+(E(V)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Q+(E(V)?"lata":"lat")}}T.defineLocale("pl",{months:function(V,z){return V?/D MMMM/.test(z)?S[V.month()]:i[V.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:P,m:P,mm:P,h:P,hh:P,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:P,M:"miesi\u0105c",MM:P,y:"rok",yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},3840:function(Y,U,x){!function(T){"use strict";T.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"})}(x(5439))},4225:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},5128:function(Y,U,x){!function(T){"use strict";function i(M,E,P){var V=" ";return(M%100>=20||M>=100&&M%100==0)&&(V=" de "),M+V+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[P]}T.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}})}(x(5439))},5127:function(Y,U,x){!function(T){"use strict";function S(P,L,V){return"m"===V?L?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":P+" "+function i(P,L){var V=P.split("_");return L%10==1&&L%100!=11?V[0]:L%10>=2&&L%10<=4&&(L%100<10||L%100>=20)?V[1]:V[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"}[V],+P)}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];T.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(P){if(P.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(P){if(P.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:S,m:S,mm:S,h:"\u0447\u0430\u0441",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(P){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(P)},meridiem:function(P,L,V){return P<4?"\u043d\u043e\u0447\u0438":P<12?"\u0443\u0442\u0440\u0430":P<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(P,L){switch(L){case"M":case"d":case"DDD":return P+"-\u0439";case"D":return P+"-\u0433\u043e";case"w":case"W":return P+"-\u044f";default:return P}},week:{dow:1,doy:4}})}(x(5439))},2525:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("sd",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(5439))},9893:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},3123:function(Y,U,x){!function(T){"use strict";T.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(S){return S+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(S){return"\u0db4.\u0dc0."===S||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===S},meridiem:function(S,M,E){return S>11?E?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":E?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(x(5439))},9635:function(Y,U,x){!function(T){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),S="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 E(L,V,z,J){var Q=L+" ";switch(z){case"s":return V||J?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return V||J?Q+(M(L)?"sekundy":"sek\xfand"):Q+"sekundami";case"m":return V?"min\xfata":J?"min\xfatu":"min\xfatou";case"mm":return V||J?Q+(M(L)?"min\xfaty":"min\xfat"):Q+"min\xfatami";case"h":return V?"hodina":J?"hodinu":"hodinou";case"hh":return V||J?Q+(M(L)?"hodiny":"hod\xedn"):Q+"hodinami";case"d":return V||J?"de\u0148":"d\u0148om";case"dd":return V||J?Q+(M(L)?"dni":"dn\xed"):Q+"d\u0148ami";case"M":return V||J?"mesiac":"mesiacom";case"MM":return V||J?Q+(M(L)?"mesiace":"mesiacov"):Q+"mesiacmi";case"y":return V||J?"rok":"rokom";case"yy":return V||J?Q+(M(L)?"roky":"rokov"):Q+"rokmi"}}T.defineLocale("sk",{months:i,monthsShort:S,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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8106:function(Y,U,x){!function(T){"use strict";function i(M,E,P,L){var V=M+" ";switch(P){case"s":return E||L?"nekaj sekund":"nekaj sekundami";case"ss":return V+(1===M?E?"sekundo":"sekundi":2===M?E||L?"sekundi":"sekundah":M<5?E||L?"sekunde":"sekundah":"sekund");case"m":return E?"ena minuta":"eno minuto";case"mm":return V+(1===M?E?"minuta":"minuto":2===M?E||L?"minuti":"minutama":M<5?E||L?"minute":"minutami":E||L?"minut":"minutami");case"h":return E?"ena ura":"eno uro";case"hh":return V+(1===M?E?"ura":"uro":2===M?E||L?"uri":"urama":M<5?E||L?"ure":"urami":E||L?"ur":"urami");case"d":return E||L?"en dan":"enim dnem";case"dd":return V+(1===M?E||L?"dan":"dnem":2===M?E||L?"dni":"dnevoma":E||L?"dni":"dnevi");case"M":return E||L?"en mesec":"enim mesecem";case"MM":return V+(1===M?E||L?"mesec":"mesecem":2===M?E||L?"meseca":"mesecema":M<5?E||L?"mesece":"meseci":E||L?"mesecev":"meseci");case"y":return E||L?"eno leto":"enim letom";case"yy":return V+(1===M?E||L?"leto":"letom":2===M?E||L?"leti":"letoma":M<5?E||L?"leta":"leti":E||L?"let":"leti")}}T.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}})}(x(5439))},8799:function(Y,U,x){!function(T){"use strict";T.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(S){return"M"===S.charAt(0)},meridiem:function(S,M,E){return S<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}})}(x(5439))},2872:function(Y,U,x){!function(T){"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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(M,E){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?E[0]:E[1]:E[2]},translate:function(M,E,P,L){var z,V=i.words[P];return 1===P.length?"y"===P&&E?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":L||E?V[0]:V[1]:(z=i.correctGrammaticalCase(M,V),"yy"===P&&E&&"\u0433\u043e\u0434\u0438\u043d\u0443"===z?M+" \u0433\u043e\u0434\u0438\u043d\u0430":M+" "+z)}};T.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(5439))},7949:function(Y,U,x){!function(T){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(M,E){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?E[0]:E[1]:E[2]},translate:function(M,E,P,L){var z,V=i.words[P];return 1===P.length?"y"===P&&E?"jedna godina":L||E?V[0]:V[1]:(z=i.correctGrammaticalCase(M,V),"yy"===P&&E&&"godinu"===z?M+" godina":M+" "+z)}};T.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(5439))},6167:function(Y,U,x){!function(T){"use strict";T.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(S,M,E){return S<11?"ekuseni":S<15?"emini":S<19?"entsambama":"ebusuku"},meridiemHour:function(S,M){return 12===S&&(S=0),"ekuseni"===M?S:"emini"===M?S>=11?S:S+12:"entsambama"===M||"ebusuku"===M?0===S?0:S+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(x(5439))},9713:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(x(5439))},1982:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2732:function(Y,U,x){!function(T){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},S={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.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(E){return E+"\u0bb5\u0ba4\u0bc1"},preparse:function(E){return E.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(P){return S[P]})},postformat:function(E){return E.replace(/\d/g,function(P){return i[P]})},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(E,P,L){return E<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":E<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":E<10?" \u0b95\u0bbe\u0bb2\u0bc8":E<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":E<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":E<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(E,P){return 12===E&&(E=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===P?E<2?E:E+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===P||"\u0b95\u0bbe\u0bb2\u0bc8"===P||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===P&&E>=10?E:E+12},week:{dow:0,doy:6}})}(x(5439))},3636:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?S<4?S:S+12:"\u0c09\u0c26\u0c2f\u0c02"===M?S:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?S>=10?S:S+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?S+12:void 0},meridiem:function(S,M,E){return S<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":S<10?"\u0c09\u0c26\u0c2f\u0c02":S<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":S<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(x(5439))},2115:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},9801:function(Y,U,x){!function(T){"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"};T.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,E){return 12===M&&(M=0),"\u0448\u0430\u0431"===E?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===E?M:"\u0440\u04ef\u0437"===E?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===E?M+12:void 0},meridiem:function(M,E,P){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}})}(x(5439))},2868:function(Y,U,x){!function(T){"use strict";T.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(S){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===S},meridiem:function(S,M,E){return S<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"}})}(x(5439))},1310:function(Y,U,x){!function(T){"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"};T.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,E){switch(E){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var P=M%10;return M+(i[P]||i[M%100-P]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(x(5439))},2360:function(Y,U,x){!function(T){"use strict";T.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(S){return S},week:{dow:1,doy:4}})}(x(5439))},6645:function(Y,U,x){!function(T){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function E(V,z,J,Q){var oe=function P(V){var z=Math.floor(V%1e3/100),J=Math.floor(V%100/10),Q=V%10,oe="";return z>0&&(oe+=i[z]+"vatlh"),J>0&&(oe+=(""!==oe?" ":"")+i[J]+"maH"),Q>0&&(oe+=(""!==oe?" ":"")+i[Q]),""===oe?"pagh":oe}(V);switch(J){case"ss":return oe+" lup";case"mm":return oe+" tup";case"hh":return oe+" rep";case"dd":return oe+" jaj";case"MM":return oe+" jar";case"yy":return oe+" DIS"}}T.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 S(V){var z=V;return-1!==V.indexOf("jaj")?z.slice(0,-3)+"leS":-1!==V.indexOf("jar")?z.slice(0,-3)+"waQ":-1!==V.indexOf("DIS")?z.slice(0,-3)+"nem":z+" pIq"},past:function M(V){var z=V;return-1!==V.indexOf("jaj")?z.slice(0,-3)+"Hu\u2019":-1!==V.indexOf("jar")?z.slice(0,-3)+"wen":-1!==V.indexOf("DIS")?z.slice(0,-3)+"ben":z+" ret"},s:"puS lup",ss:E,m:"wa\u2019 tup",mm:E,h:"wa\u2019 rep",hh:E,d:"wa\u2019 jaj",dd:E,M:"wa\u2019 jar",MM:E,y:"wa\u2019 DIS",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},8374:function(Y,U,x){!function(T){"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"};T.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(M,E,P){return M<12?P?"\xf6\xf6":"\xd6\xd6":P?"\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,E){switch(E){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var P=M%10;return M+(i[P]||i[M%100-P]||i[M>=100?100:null])}},week:{dow:1,doy:7}})}(x(5439))},256:function(Y,U,x){!function(T){"use strict";function S(M,E,P,L){var V={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||E?V[P][0]:V[P][1]}T.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,E,P){return M>11?P?"d'o":"D'O":P?"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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(5439))},1631:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},1595:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},6050:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=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?S:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?S+12:S>=11?S:S+12},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":P<900?"\u0633\u06d5\u06be\u06d5\u0631":P<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":P<1230?"\u0686\u06c8\u0634":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return S+"-\u06be\u06d5\u067e\u062a\u06d5";default:return S}},preparse:function(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(x(5439))},5610:function(Y,U,x){!function(T){"use strict";function S(L,V,z){return"m"===z?V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===z?V?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":L+" "+function i(L,V){var z=L.split("_");return V%10==1&&V%100!=11?z[0]:V%10>=2&&V%10<=4&&(V%100<10||V%100>=20)?z[1]:z[2]}({ss:V?"\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:V?"\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:V?"\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"}[z],+L)}function E(L){return function(){return L+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.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,V){var z={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?z.nominative.slice(1,7).concat(z.nominative.slice(0,1)):L?z[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(V)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(V)?"genitive":"nominative"][L.day()]:z.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:E("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:E("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:E("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:E("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return E("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return E("[\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:S,m:S,mm:S,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:S,y:"\u0440\u0456\u043a",yy:S},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,V,z){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,V){switch(V){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}})}(x(5439))},6077:function(Y,U,x){!function(T){"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"],S=["\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"];T.defineLocale("ur",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,P,L){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(5439))},2207:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},2862:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},8093:function(Y,U,x){!function(T){"use strict";T.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(S){return/^ch$/i.test(S)},meridiem:function(S,M,E){return S<12?E?"sa":"SA":E?"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(S){return S},week:{dow:1,doy:4}})}(x(5439))},5590:function(Y,U,x){!function(T){"use strict";T.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(S){var M=S%10;return S+(1==~~(S%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(x(5439))},9058:function(Y,U,x){!function(T){"use strict";T.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}})}(x(5439))},7908:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:S>=11?S:S+12},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(S){return S.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(S){return this.week()!==S.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u5468";default:return S}},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}})}(x(5439))},8867:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1200?"\u4e0a\u5348":1200===P?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},1133:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},3291:function(Y,U,x){!function(T){"use strict";T.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(S,M){return 12===S&&(S=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?S:"\u4e2d\u5348"===M?S>=11?S:S+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?S+12:void 0},meridiem:function(S,M,E){var P=100*S+M;return P<600?"\u51cc\u6668":P<900?"\u65e9\u4e0a":P<1130?"\u4e0a\u5348":P<1230?"\u4e2d\u5348":P<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(S,M){switch(M){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(x(5439))},5439:function(Y,U,x){(Y=x.nmd(Y)).exports=function(){"use strict";var T,he;function i(){return T.apply(null,arguments)}function M(v){return v instanceof Array||"[object Array]"===Object.prototype.toString.call(v)}function E(v){return null!=v&&"[object Object]"===Object.prototype.toString.call(v)}function P(v,H){return Object.prototype.hasOwnProperty.call(v,H)}function L(v){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(v).length;var H;for(H in v)if(P(v,H))return!1;return!0}function V(v){return void 0===v}function z(v){return"number"==typeof v||"[object Number]"===Object.prototype.toString.call(v)}function J(v){return v instanceof Date||"[object Date]"===Object.prototype.toString.call(v)}function Q(v,H){var F,I=[],W=v.length;for(F=0;F>>0;for(F=0;F0)for(I=0;I=0?I?"+":"":"-")+Math.pow(10,Math.max(0,H-F.length)).toString().substr(1)+F}var ri=/(\[[^\[]*\])|(\\)?([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,tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Li={},An={};function $e(v,H,I,F){var W=F;"string"==typeof F&&(W=function(){return this[F]()}),v&&(An[v]=W),H&&(An[H[0]]=function(){return jt(W.apply(this,arguments),H[1],H[2])}),I&&(An[I]=function(){return this.localeData().ordinal(W.apply(this,arguments),v)})}function Kt(v){return v.match(/\[[\s\S]/)?v.replace(/^\[|\]$/g,""):v.replace(/\\/g,"")}function cn(v,H){return v.isValid()?(H=zi(H,v.localeData()),Li[H]=Li[H]||function Mr(v){var I,F,H=v.match(ri);for(I=0,F=H.length;I=0&&tt.test(v);)v=v.replace(tt,F),tt.lastIndex=0,I-=1;return v}var Ii={};function Xt(v,H){var I=v.toLowerCase();Ii[I]=Ii[I+"s"]=Ii[H]=v}function dn(v){return"string"==typeof v?Ii[v]||Ii[v.toLowerCase()]:void 0}function Me(v){var I,F,H={};for(F in v)P(v,F)&&(I=dn(F))&&(H[I]=v[F]);return H}var le={};function ae(v,H){le[v]=H}function He(v){return v%4==0&&v%100!=0||v%400==0}function Ne(v){return v<0?Math.ceil(v)||0:Math.floor(v)}function ve(v){var H=+v,I=0;return 0!==H&&isFinite(H)&&(I=Ne(H)),I}function Xe(v,H){return function(I){return null!=I?(Ei(this,v,I),i.updateOffset(this,H),this):Ht(this,v)}}function Ht(v,H){return v.isValid()?v._d["get"+(v._isUTC?"UTC":"")+H]():NaN}function Ei(v,H,I){v.isValid()&&!isNaN(I)&&("FullYear"===H&&He(v.year())&&1===v.month()&&29===v.date()?(I=ve(I),v._d["set"+(v._isUTC?"UTC":"")+H](I,v.month(),bi(I,v.month()))):v._d["set"+(v._isUTC?"UTC":"")+H](I))}var C,Di=/\d/,ct=/\d\d/,et=/\d{3}/,vn=/\d{4}/,Nt=/[+-]?\d{6}/,At=/\d\d?/,Kn=/\d\d\d\d?/,Bn=/\d\d\d\d\d\d?/,Tn=/\d{1,3}/,uc=/\d{1,4}/,Ia=/[+-]?\d{1,6}/,ea=/\d+/,ta=/[+-]?\d+/,Vn=/Z|[+-]\d\d:?\d\d/gi,os=/Z|[+-]\d\d(?::?\d\d)?/gi,qs=/[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 je(v,H,I){C[v]=de(H)?H:function(F,W){return F&&I?I:H}}function ui(v,H){return P(C,v)?C[v](H._strict,H._locale):new RegExp(function Qi(v){return it(v.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(H,I,F,W,se){return I||F||W||se}))}(v))}function it(v){return v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}C={};var Xn={};function wt(v,H){var I,W,F=H;for("string"==typeof v&&(v=[v]),z(H)&&(F=function(se,be){be[H]=ve(se)}),W=v.length,I=0;I68?1900:2e3)};var bn=Xe("FullYear",!0);function Qo(v,H,I,F,W,se,be){var st;return v<100&&v>=0?(st=new Date(v+400,H,I,F,W,se,be),isFinite(st.getFullYear())&&st.setFullYear(v)):st=new Date(v,H,I,F,W,se,be),st}function ja(v){var H,I;return v<100&&v>=0?((I=Array.prototype.slice.call(arguments))[0]=v+400,H=new Date(Date.UTC.apply(null,I)),isFinite(H.getUTCFullYear())&&H.setUTCFullYear(v)):H=new Date(Date.UTC.apply(null,arguments)),H}function na(v,H,I){var F=7+H-I;return-(7+ja(v,0,F).getUTCDay()-H)%7+F-1}function Nn(v,H,I,F,W){var gt,Qt,st=1+7*(H-1)+(7+I-F)%7+na(v,F,W);return st<=0?Qt=Va(gt=v-1)+st:st>Va(v)?(gt=v+1,Qt=st-Va(v)):(gt=v,Qt=st),{year:gt,dayOfYear:Qt}}function ds(v,H,I){var se,be,F=na(v.year(),H,I),W=Math.floor((v.dayOfYear()-F-1)/7)+1;return W<1?se=W+Dr(be=v.year()-1,H,I):W>Dr(v.year(),H,I)?(se=W-Dr(v.year(),H,I),be=v.year()+1):(be=v.year(),se=W),{week:se,year:be}}function Dr(v,H,I){var F=na(v,H,I),W=na(v+1,H,I);return(Va(v)-F+W)/7}$e("w",["ww",2],"wo","week"),$e("W",["WW",2],"Wo","isoWeek"),Xt("week","w"),Xt("isoWeek","W"),ae("week",5),ae("isoWeek",5),je("w",At),je("ww",At,ct),je("W",At),je("WW",At,ct),Oi(["w","ww","W","WW"],function(v,H,I,F){H[F.substr(0,1)]=ve(v)});function xt(v,H){return v.slice(H,7).concat(v.slice(0,H))}$e("d",0,"do","day"),$e("dd",0,0,function(v){return this.localeData().weekdaysMin(this,v)}),$e("ddd",0,0,function(v){return this.localeData().weekdaysShort(this,v)}),$e("dddd",0,0,function(v){return this.localeData().weekdays(this,v)}),$e("e",0,0,"weekday"),$e("E",0,0,"isoWeekday"),Xt("day","d"),Xt("weekday","e"),Xt("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),je("d",At),je("e",At),je("E",At),je("dd",function(v,H){return H.weekdaysMinRegex(v)}),je("ddd",function(v,H){return H.weekdaysShortRegex(v)}),je("dddd",function(v,H){return H.weekdaysRegex(v)}),Oi(["dd","ddd","dddd"],function(v,H,I,F){var W=I._locale.weekdaysParse(v,F,I._strict);null!=W?H.d=W:te(I).invalidWeekday=v}),Oi(["d","e","E"],function(v,H,I,F){H[F]=ve(v)});var ra="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=qs,Pe=qs,Ki=qs;function us(v,H,I){var F,W,se,be=v.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)se=ce([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 I?"dddd"===H?-1!==(W=ti.call(this._weekdaysParse,be))?W:null:"ddd"===H?-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"dddd"===H?-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:"ddd"===H?-1!==(W=ti.call(this._shortWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._minWeekdaysParse,be))?W:null:-1!==(W=ti.call(this._minWeekdaysParse,be))||-1!==(W=ti.call(this._weekdaysParse,be))||-1!==(W=ti.call(this._shortWeekdaysParse,be))?W:null}function mc(){function v(ki,pa){return pa.length-ki.length}var se,be,st,gt,Qt,H=[],I=[],F=[],W=[];for(se=0;se<7;se++)be=ce([2e3,1]).day(se),st=it(this.weekdaysMin(be,"")),gt=it(this.weekdaysShort(be,"")),Qt=it(this.weekdays(be,"")),H.push(st),I.push(gt),F.push(Qt),W.push(st),W.push(gt),W.push(Qt);H.sort(v),I.sort(v),F.sort(v),W.sort(v),this._weekdaysRegex=new RegExp("^("+W.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+H.join("|")+")","i")}function ft(){return this.hours()%12||12}function Yt(v,H){$e(v,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),H)})}function fs(v,H){return H._meridiemParse}$e("H",["HH",2],0,"hour"),$e("h",["hh",2],0,ft),$e("k",["kk",2],0,function qi(){return this.hours()||24}),$e("hmm",0,0,function(){return""+ft.apply(this)+jt(this.minutes(),2)}),$e("hmmss",0,0,function(){return""+ft.apply(this)+jt(this.minutes(),2)+jt(this.seconds(),2)}),$e("Hmm",0,0,function(){return""+this.hours()+jt(this.minutes(),2)}),$e("Hmmss",0,0,function(){return""+this.hours()+jt(this.minutes(),2)+jt(this.seconds(),2)}),Yt("a",!0),Yt("A",!1),Xt("hour","h"),ae("hour",13),je("a",fs),je("A",fs),je("H",At),je("h",At),je("k",At),je("HH",At,ct),je("hh",At,ct),je("kk",At,ct),je("hmm",Kn),je("hmmss",Bn),je("Hmm",Kn),je("Hmmss",Bn),wt(["H","HH"],3),wt(["k","kk"],function(v,H,I){var F=ve(v);H[3]=24===F?0:F}),wt(["a","A"],function(v,H,I){I._isPm=I._locale.isPM(v),I._meridiem=v}),wt(["h","hh"],function(v,H,I){H[3]=ve(v),te(I).bigHour=!0}),wt("hmm",function(v,H,I){var F=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F)),te(I).bigHour=!0}),wt("hmmss",function(v,H,I){var F=v.length-4,W=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F,2)),H[5]=ve(v.substr(W)),te(I).bigHour=!0}),wt("Hmm",function(v,H,I){var F=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F))}),wt("Hmmss",function(v,H,I){var F=v.length-4,W=v.length-2;H[3]=ve(v.substr(0,F)),H[4]=ve(v.substr(F,2)),H[5]=ve(v.substr(W))});var Ko=Xe("Hours",!0);var aa,Hr={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:or,monthsShort:oi,week:{dow:0,doy:6},weekdays:ra,weekdaysMin:xn,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},ci={},ms={};function Xo(v,H){var I,F=Math.min(v.length,H.length);for(I=0;I0;){if(W=O(se.slice(0,I).join("-")))return W;if(F&&F.length>=I&&Xo(se,F)>=I-1)break;I--}H++}return aa}(v)}function Te(v){var H,I=v._a;return I&&-2===te(v).overflow&&(H=I[1]<0||I[1]>11?1:I[2]<1||I[2]>bi(I[0],I[1])?2:I[3]<0||I[3]>24||24===I[3]&&(0!==I[4]||0!==I[5]||0!==I[6])?3:I[4]<0||I[4]>59?4:I[5]<0||I[5]>59?5:I[6]<0||I[6]>999?6:-1,te(v)._overflowDayOfYear&&(H<0||H>2)&&(H=2),te(v)._overflowWeeks&&-1===H&&(H=7),te(v)._overflowWeekday&&-1===H&&(H=8),te(v).overflow=H),v}var rt=/^\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)?)?$/,ai=/^\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)?)?$/,$t=/Z|[+-]\d\d(?::?\d\d)?/,kt=[["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]],Vt=[["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/]],Vi=/^\/?Date\((-?\d+)/i,di=/^(?:(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}))$/,pi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function sa(v){var H,I,se,be,st,gt,F=v._i,W=rt.exec(F)||ai.exec(F),Qt=kt.length,ki=Vt.length;if(W){for(te(v).iso=!0,H=0,I=Qt;H7)&&(gt=!0)):(se=v._locale._week.dow,be=v._locale._week.doy,Qt=ds(fi(),se,be),I=bs(H.gg,v._a[0],Qt.year),F=bs(H.w,Qt.week),null!=H.d?((W=H.d)<0||W>6)&&(gt=!0):null!=H.e?(W=H.e+se,(H.e<0||H.e>6)&&(gt=!0)):W=se),F<1||F>Dr(I,se,be)?te(v)._overflowWeeks=!0:null!=gt?te(v)._overflowWeekday=!0:(st=Nn(I,F,W,se,be),v._a[0]=st.year,v._dayOfYear=st.dayOfYear)}(v),null!=v._dayOfYear&&(be=bs(v._a[0],W[0]),(v._dayOfYear>Va(be)||0===v._dayOfYear)&&(te(v)._overflowDayOfYear=!0),I=ja(be,0,v._dayOfYear),v._a[1]=I.getUTCMonth(),v._a[2]=I.getUTCDate()),H=0;H<3&&null==v._a[H];++H)v._a[H]=F[H]=W[H];for(;H<7;H++)v._a[H]=F[H]=null==v._a[H]?2===H?1:0:v._a[H];24===v._a[3]&&0===v._a[4]&&0===v._a[5]&&0===v._a[6]&&(v._nextDay=!0,v._a[3]=0),v._d=(v._useUTC?ja:Qo).apply(null,F),se=v._useUTC?v._d.getUTCDay():v._d.getDay(),null!=v._tzm&&v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),v._nextDay&&(v._a[3]=24),v._w&&void 0!==v._w.d&&v._w.d!==se&&(te(v).weekdayMismatch=!0)}}function gc(v){if(v._f!==i.ISO_8601)if(v._f!==i.RFC_2822){v._a=[],te(v).empty=!0;var I,F,W,se,be,Qt,ki,H=""+v._i,st=H.length,gt=0;for(ki=(W=zi(v._f,v._locale).match(ri)||[]).length,I=0;I0&&te(v).unusedInput.push(be),H=H.slice(H.indexOf(F)+F.length),gt+=F.length),An[se]?(F?te(v).empty=!1:te(v).unusedTokens.push(se),hi(se,F,v)):v._strict&&!F&&te(v).unusedTokens.push(se);te(v).charsLeftOver=st-gt,H.length>0&&te(v).unusedInput.push(H),v._a[3]<=12&&!0===te(v).bigHour&&v._a[3]>0&&(te(v).bigHour=void 0),te(v).parsedDateParts=v._a.slice(0),te(v).meridiem=v._meridiem,v._a[3]=function si(v,H,I){var F;return null==I?H:null!=v.meridiemHour?v.meridiemHour(H,I):(null!=v.isPM&&((F=v.isPM(I))&&H<12&&(H+=12),!F&&12===H&&(H=0)),H)}(v._locale,v._a[3],v._meridiem),null!==(Qt=te(v).era)&&(v._a[0]=v._locale.erasConvertYear(Qt,v._a[0])),De(v),Te(v)}else tl(v);else sa(v)}function kd(v){var H=v._i,I=v._f;return v._locale=v._locale||ne(v._l),null===H||void 0===I&&""===H?Re({nullInput:!0}):("string"==typeof H&&(v._i=H=v._locale.preparse(H)),xe(H)?new we(Te(H)):(J(H)?v._d=H:M(I)?function Hd(v){var H,I,F,W,se,be,st=!1,gt=v._f.length;if(0===gt)return te(v).invalidFormat=!0,void(v._d=new Date(NaN));for(W=0;Wthis?this:v:Re()});function an(v,H){var I,F;if(1===H.length&&M(H[0])&&(H=H[0]),!H.length)return fi();for(I=H[0],F=1;F=0?new Date(v+400,H,I)-hl:new Date(v,H,I).valueOf()}function Ec(v,H,I){return v<100&&v>=0?Date.UTC(v+400,H,I)-hl:Date.UTC(v,H,I)}function fl(v,H){return H.erasAbbrRegex(v)}function ml(){var W,se,v=[],H=[],I=[],F=[],be=this.eras();for(W=0,se=be.length;W(se=Dr(v,F,W))&&(H=se),_l.call(this,v,H,I,F,W))}function _l(v,H,I,F,W){var se=Nn(v,H,I,F,W),be=ja(se.year,0,se.dayOfYear);return this.year(be.getUTCFullYear()),this.month(be.getUTCMonth()),this.date(be.getUTCDate()),this}$e("N",0,0,"eraAbbr"),$e("NN",0,0,"eraAbbr"),$e("NNN",0,0,"eraAbbr"),$e("NNNN",0,0,"eraName"),$e("NNNNN",0,0,"eraNarrow"),$e("y",["y",1],"yo","eraYear"),$e("y",["yy",2],0,"eraYear"),$e("y",["yyy",3],0,"eraYear"),$e("y",["yyyy",4],0,"eraYear"),je("N",fl),je("NN",fl),je("NNN",fl),je("NNNN",function ur(v,H){return H.erasNameRegex(v)}),je("NNNNN",function kf(v,H){return H.erasNarrowRegex(v)}),wt(["N","NN","NNN","NNNN","NNNNN"],function(v,H,I,F){var W=I._locale.erasParse(v,F,I._strict);W?te(I).era=W:te(I).invalidEra=v}),je("y",ea),je("yy",ea),je("yyy",ea),je("yyyy",ea),je("yo",function Pf(v,H){return H._eraYearOrdinalRegex||ea}),wt(["y","yy","yyy","yyyy"],0),wt(["yo"],function(v,H,I,F){var W;I._locale._eraYearOrdinalRegex&&(W=v.match(I._locale._eraYearOrdinalRegex)),H[0]=I._locale.eraYearOrdinalParse?I._locale.eraYearOrdinalParse(v,W):parseInt(v,10)}),$e(0,["gg",2],0,function(){return this.weekYear()%100}),$e(0,["GG",2],0,function(){return this.isoWeekYear()%100}),po("gggg","weekYear"),po("ggggg","weekYear"),po("GGGG","isoWeekYear"),po("GGGGG","isoWeekYear"),Xt("weekYear","gg"),Xt("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),je("G",ta),je("g",ta),je("GG",At,ct),je("gg",At,ct),je("GGGG",uc,vn),je("gggg",uc,vn),je("GGGGG",Ia,Nt),je("ggggg",Ia,Nt),Oi(["gggg","ggggg","GGGG","GGGGG"],function(v,H,I,F){H[F.substr(0,2)]=ve(v)}),Oi(["gg","GG"],function(v,H,I,F){H[F]=i.parseTwoDigitYear(v)}),$e("Q",0,"Qo","quarter"),Xt("quarter","Q"),ae("quarter",7),je("Q",Di),wt("Q",function(v,H){H[1]=3*(ve(v)-1)}),$e("D",["DD",2],"Do","date"),Xt("date","D"),ae("date",9),je("D",At),je("DD",At,ct),je("Do",function(v,H){return v?H._dayOfMonthOrdinalParse||H._ordinalParse:H._dayOfMonthOrdinalParseLenient}),wt(["D","DD"],2),wt("Do",function(v,H){H[2]=ve(v.match(At)[0])});var Dn=Xe("Date",!0);$e("DDD",["DDDD",3],"DDDo","dayOfYear"),Xt("dayOfYear","DDD"),ae("dayOfYear",4),je("DDD",Tn),je("DDDD",et),wt(["DDD","DDDD"],function(v,H,I){I._dayOfYear=ve(v)}),$e("m",["mm",2],0,"minute"),Xt("minute","m"),ae("minute",14),je("m",At),je("mm",At,ct),wt(["m","mm"],4);var Dc=Xe("Minutes",!1);$e("s",["ss",2],0,"second"),Xt("second","s"),ae("second",15),je("s",At),je("ss",At,ct),wt(["s","ss"],5);var ha,ch,bl=Xe("Seconds",!1);for($e("S",0,0,function(){return~~(this.millisecond()/100)}),$e(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$e(0,["SSS",3],0,"millisecond"),$e(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$e(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$e(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$e(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$e(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$e(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Xt("millisecond","ms"),ae("millisecond",16),je("S",Tn,Di),je("SS",Tn,ct),je("SSS",Tn,et),ha="SSSS";ha.length<=9;ha+="S")je(ha,ea);function Rf(v,H){H[6]=ve(1e3*("0."+v))}for(ha="S";ha.length<=9;ha+="S")wt(ha,Rf);ch=Xe("Milliseconds",!1),$e("z",0,0,"zoneAbbr"),$e("zz",0,0,"zoneName");var Ve=we.prototype;function xs(v){return v}Ve.add=Ac,Ve.calendar=function Af(v,H){1===arguments.length&&(arguments[0]?no(arguments[0])?(v=arguments[0],H=void 0):fn(arguments[0])&&(H=arguments[0],v=void 0):(v=void 0,H=void 0));var I=v||fi(),F=Xs(I,this).startOf("day"),W=i.calendarFormat(this,F)||"sameElse",se=H&&(de(H[W])?H[W].call(this,I):H[W]);return this.format(se||this.localeData().calendar(W,this,fi(I)))},Ve.clone=function Tc(){return new we(this)},Ve.diff=function ro(v,H,I){var F,W,se;if(!this.isValid())return NaN;if(!(F=Xs(v,this)).isValid())return NaN;switch(W=6e4*(F.utcOffset()-this.utcOffset()),H=dn(H)){case"year":se=ul(this,F)/12;break;case"month":se=ul(this,F);break;case"quarter":se=ul(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-W)/864e5;break;case"week":se=(this-F-W)/6048e5;break;default:se=this-F}return I?se:Ne(se)},Ve.endOf=function ah(v){var H,I;if(void 0===(v=dn(v))||"millisecond"===v||!this.isValid())return this;switch(I=this._isUTC?Ec:Od,v){case"year":H=I(this.year()+1,0,1)-1;break;case"quarter":H=I(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":H=I(this.year(),this.month()+1,1)-1;break;case"week":H=I(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":H=I(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":H=I(this.year(),this.month(),this.date()+1)-1;break;case"hour":H=this._d.valueOf(),H+=Rr-Na(H+(this._isUTC?0:this.utcOffset()*ua),Rr)-1;break;case"minute":H=this._d.valueOf(),H+=ua-Na(H,ua)-1;break;case"second":H=this._d.valueOf(),H+=1e3-Na(H,1e3)-1}return this._d.setTime(H),i.updateOffset(this,!0),this},Ve.format=function As(v){v||(v=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var H=cn(this,v);return this.localeData().postformat(H)},Ve.from=function so(v,H){return this.isValid()&&(xe(v)&&v.isValid()||fi(v).isValid())?dr({to:this,from:v}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Ve.fromNow=function xf(v){return this.from(fi(),v)},Ve.to=function Id(v,H){return this.isValid()&&(xe(v)&&v.isValid()||fi(v).isValid())?dr({from:this,to:v}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Ve.toNow=function nh(v){return this.to(fi(),v)},Ve.get=function Lt(v){return de(this[v=dn(v)])?this[v]():this},Ve.invalidAt=function oh(){return te(this).overflow},Ve.isAfter=function vf(v,H){var I=xe(v)?v:fi(v);return!(!this.isValid()||!I.isValid())&&("millisecond"===(H=dn(H)||"millisecond")?this.valueOf()>I.valueOf():I.valueOf()9999?cn(I,H?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?H?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",cn(I,"Z")):cn(I,H?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ve.inspect=function da(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var I,F,v="moment",H="";return this.isLocal()||(v=0===this.utcOffset()?"moment.utc":"moment.parseZone",H="Z"),I="["+v+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(I+F+"-MM-DD[T]HH:mm:ss.SSS"+H+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ve.toJSON=function Ya(){return this.isValid()?this.toISOString():null},Ve.toString=function ao(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ve.unix=function Sf(){return Math.floor(this.valueOf()/1e3)},Ve.valueOf=function Mf(){return this._d.valueOf()-6e4*(this._offset||0)},Ve.creationData=function Vd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ve.eraName=function Ir(){var v,H,I,F=this.localeData().eras();for(v=0,H=F.length;vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ve.isLocal=function Ti(){return!!this.isValid()&&!this._isUTC},Ve.isUtcOffset=function Xu(){return!!this.isValid()&&this._isUTC},Ve.isUtc=eh,Ve.isUTC=eh,Ve.zoneAbbr=function dh(){return this._isUTC?"UTC":""},Ve.zoneName=function f_(){return this._isUTC?"Coordinated Universal Time":""},Ve.dates=ke("dates accessor is deprecated. Use date instead.",Dn),Ve.months=ke("months accessor is deprecated. Use month instead",Ba),Ve.years=ke("years accessor is deprecated. Use year instead",bn),Ve.zone=ke("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Rd(v,H){return null!=v?("string"!=typeof v&&(v=-v),this.utcOffset(v,H),this):-this.utcOffset()}),Ve.isDSTShifted=ke("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function la(){if(!V(this._isDSTShifted))return this._isDSTShifted;var H,v={};return Ee(v,this),(v=kd(v))._a?(H=v._isUTC?ce(v._a):fi(v._a),this._isDSTShifted=this.isValid()&&function Fa(v,H,I){var be,F=Math.min(v.length,H.length),W=Math.abs(v.length-H.length),se=0;for(be=0;be0):this._isDSTShifted=!1,this._isDSTShifted});var qt=Ae.prototype;function yl(v,H,I,F){var W=ne(),se=ce().set(F,H);return W[I](se,v)}function go(v,H,I){if(z(v)&&(H=v,v=void 0),v=v||"",null!=H)return yl(v,H,I,"month");var F,W=[];for(F=0;F<12;F++)W[F]=yl(v,F,I,"month");return W}function Yd(v,H,I,F){"boolean"==typeof v?(z(H)&&(I=H,H=void 0),H=H||""):(I=H=v,v=!1,z(H)&&(I=H,H=void 0),H=H||"");var be,W=ne(),se=v?W._week.dow:0,st=[];if(null!=I)return yl(H,(I+se)%7,F,"day");for(be=0;be<7;be++)st[be]=yl(H,(be+se)%7,F,"day");return st}qt.calendar=function yt(v,H,I){var F=this._calendar[v]||this._calendar.sameElse;return de(F)?F.call(H,I):F},qt.longDateFormat=function Ys(v){var H=this._longDateFormat[v],I=this._longDateFormat[v.toUpperCase()];return H||!I?H:(this._longDateFormat[v]=I.match(ri).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[v])},qt.invalidDate=function Us(){return this._invalidDate},qt.ordinal=function La(v){return this._ordinal.replace("%d",v)},qt.preparse=xs,qt.postformat=xs,qt.relativeTime=function Ct(v,H,I,F){var W=this._relativeTime[I];return de(W)?W(v,H,I,F):W.replace(/%d/i,v)},qt.pastFuture=function $o(v,H){var I=this._relativeTime[v>0?"future":"past"];return de(I)?I(H):I.replace(/%s/i,H)},qt.set=function me(v){var H,I;for(I in v)P(v,I)&&(de(H=v[I])?this[I]=H:this["_"+I]=H);this._config=v,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},qt.eras=function vs(v,H){var I,F,W,se=this._eras||ne("en")._eras;for(I=0,F=se.length;I=0)return se[F]},qt.erasConvertYear=function ho(v,H){var I=v.since<=v.until?1:-1;return void 0===H?i(v.since).year():i(v.since).year()+(H-v.offset)*I},qt.erasAbbrRegex=function Hf(v){return P(this,"_erasAbbrRegex")||ml.call(this),v?this._erasAbbrRegex:this._erasRegex},qt.erasNameRegex=function Df(v){return P(this,"_erasNameRegex")||ml.call(this),v?this._erasNameRegex:this._erasRegex},qt.erasNarrowRegex=function xi(v){return P(this,"_erasNarrowRegex")||ml.call(this),v?this._erasNarrowRegex:this._erasRegex},qt.months=function Jo(v,H){return v?M(this._months)?this._months[v.month()]:this._months[(this._months.isFormat||ia).test(H)?"format":"standalone"][v.month()]:M(this._months)?this._months:this._months.standalone},qt.monthsShort=function Oa(v,H){return v?M(this._monthsShort)?this._monthsShort[v.month()]:this._monthsShort[ia.test(H)?"format":"standalone"][v.month()]:M(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},qt.monthsParse=function cs(v,H,I){var F,W,se;if(this._monthsParseExact)return hc.call(this,v,H,I);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(W=ce([2e3,F]),I&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(W,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(W,"").replace(".","")+"$","i")),!I&&!this._monthsParse[F]&&(se="^"+this.months(W,"")+"|^"+this.monthsShort(W,""),this._monthsParse[F]=new RegExp(se.replace(".",""),"i")),I&&"MMMM"===H&&this._longMonthsParse[F].test(v))return F;if(I&&"MMM"===H&&this._shortMonthsParse[F].test(v))return F;if(!I&&this._monthsParse[F].test(v))return F}},qt.monthsRegex=function li(v){return this._monthsParseExact?(P(this,"_monthsRegex")||pc.call(this),v?this._monthsStrictRegex:this._monthsRegex):(P(this,"_monthsRegex")||(this._monthsRegex=vt),this._monthsStrictRegex&&v?this._monthsStrictRegex:this._monthsRegex)},qt.monthsShortRegex=function jn(v){return this._monthsParseExact?(P(this,"_monthsRegex")||pc.call(this),v?this._monthsShortStrictRegex:this._monthsShortRegex):(P(this,"_monthsShortRegex")||(this._monthsShortRegex=Er),this._monthsShortStrictRegex&&v?this._monthsShortStrictRegex:this._monthsShortRegex)},qt.week=function mf(v){return ds(v,this._week.dow,this._week.doy).week},qt.firstDayOfYear=function _f(){return this._week.doy},qt.firstDayOfWeek=function gf(){return this._week.dow},qt.weekdays=function Ws(v,H){var I=M(this._weekdays)?this._weekdays:this._weekdays[v&&!0!==v&&this._weekdays.isFormat.test(H)?"format":"standalone"];return!0===v?xt(I,this._week.dow):v?I[v.day()]:I},qt.weekdaysMin=function Zs(v){return!0===v?xt(this._weekdaysMin,this._week.dow):v?this._weekdaysMin[v.day()]:this._weekdaysMin},qt.weekdaysShort=function Bi(v){return!0===v?xt(this._weekdaysShort,this._week.dow):v?this._weekdaysShort[v.day()]:this._weekdaysShort},qt.weekdaysParse=function hs(v,H,I){var F,W,se;if(this._weekdaysParseExact)return us.call(this,v,H,I);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(W=ce([2e3,1]).day(F),I&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(W,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(W,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(W,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(se="^"+this.weekdays(W,"")+"|^"+this.weekdaysShort(W,"")+"|^"+this.weekdaysMin(W,""),this._weekdaysParse[F]=new RegExp(se.replace(".",""),"i")),I&&"dddd"===H&&this._fullWeekdaysParse[F].test(v))return F;if(I&&"ddd"===H&&this._shortWeekdaysParse[F].test(v))return F;if(I&&"dd"===H&&this._minWeekdaysParse[F].test(v))return F;if(!I&&this._weekdaysParse[F].test(v))return F}},qt.weekdaysRegex=function hn(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysStrictRegex:this._weekdaysRegex):(P(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&v?this._weekdaysStrictRegex:this._weekdaysRegex)},qt.weekdaysShortRegex=function yn(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(P(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pe),this._weekdaysShortStrictRegex&&v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},qt.weekdaysMinRegex=function fc(v){return this._weekdaysParseExact?(P(this,"_weekdaysRegex")||mc.call(this),v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(P(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ki),this._weekdaysMinStrictRegex&&v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},qt.isPM=function Jt(v){return"p"===(v+"").toLowerCase().charAt(0)},qt.meridiem=function Yn(v,H,I){return v>11?I?"pm":"PM":I?"am":"AM"},G("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(v){var H=v%10;return v+(1===ve(v%100/10)?"th":1===H?"st":2===H?"nd":3===H?"rd":"th")}}),i.lang=ke("moment.lang is deprecated. Use moment.locale instead.",G),i.langData=ke("moment.langData is deprecated. Use moment.localeData instead.",ne);var ir=Math.abs;function _o(v,H,I,F){var W=dr(H,I);return v._milliseconds+=F*W._milliseconds,v._days+=F*W._days,v._months+=F*W._months,v._bubble()}function hh(v){return v<0?Math.floor(v):Math.ceil(v)}function fh(v){return 4800*v/146097}function kc(v){return 146097*v/4800}function Or(v){return function(){return this.as(v)}}var mh=Or("ms"),sn=Or("s"),qd=Or("m"),gh=Or("h"),Pc=Or("d"),bo=Or("w"),Bf=Or("M"),Vf=Or("Q"),jf=Or("y");function Ua(v){return function(){return this.isValid()?this._data[v]:NaN}}var qa=Ua("milliseconds"),Ff=Ua("seconds"),_h=Ua("minutes"),Gd=Ua("hours"),yo=Ua("days"),Wd=Ua("months"),Nf=Ua("years");var Hn=Math.round,Br={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bh(v,H,I,F,W){return W.relativeTime(H||1,!!I,v,F)}var Co=Math.abs;function nr(v){return(v>0)-(v<0)||+v}function Ms(){if(!this.isValid())return this.localeData().invalidDate();var F,W,se,be,gt,Qt,ki,pa,v=Co(this._milliseconds)/1e3,H=Co(this._days),I=Co(this._months),st=this.asSeconds();return st?(F=Ne(v/60),W=Ne(F/60),v%=60,F%=60,se=Ne(I/12),I%=12,be=v?v.toFixed(3).replace(/\.?0+$/,""):"",gt=st<0?"-":"",Qt=nr(this._months)!==nr(st)?"-":"",ki=nr(this._days)!==nr(st)?"-":"",pa=nr(this._milliseconds)!==nr(st)?"-":"",gt+"P"+(se?Qt+se+"Y":"")+(I?Qt+I+"M":"")+(H?ki+H+"D":"")+(W||F||v?"T":"")+(W?pa+W+"H":"")+(F?pa+F+"M":"")+(v?pa+be+"S":"")):"P0D"}var St=It.prototype;return St.isValid=function nl(){return this._isValid},St.abs=function m_(){var v=this._data;return this._milliseconds=ir(this._milliseconds),this._days=ir(this._days),this._months=ir(this._months),v.milliseconds=ir(v.milliseconds),v.seconds=ir(v.seconds),v.minutes=ir(v.minutes),v.hours=ir(v.hours),v.months=ir(v.months),v.years=ir(v.years),this},St.add=function Ud(v,H){return _o(this,v,H,1)},St.subtract=function Hc(v,H){return _o(this,v,H,-1)},St.as=function Of(v){if(!this.isValid())return NaN;var H,I,F=this._milliseconds;if("month"===(v=dn(v))||"quarter"===v||"year"===v)switch(H=this._days+F/864e5,I=this._months+fh(H),v){case"month":return I;case"quarter":return I/3;case"year":return I/12}else switch(H=this._days+Math.round(kc(this._months)),v){case"week":return H/7+F/6048e5;case"day":return H+F/864e5;case"hour":return 24*H+F/36e5;case"minute":return 1440*H+F/6e4;case"second":return 86400*H+F/1e3;case"millisecond":return Math.floor(864e5*H)+F;default:throw new Error("Unknown unit "+v)}},St.asMilliseconds=mh,St.asSeconds=sn,St.asMinutes=qd,St.asHours=gh,St.asDays=Pc,St.asWeeks=bo,St.asMonths=Bf,St.asQuarters=Vf,St.asYears=jf,St.valueOf=function wl(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ve(this._months/12):NaN},St._bubble=function ph(){var W,se,be,st,gt,v=this._milliseconds,H=this._days,I=this._months,F=this._data;return v>=0&&H>=0&&I>=0||v<=0&&H<=0&&I<=0||(v+=864e5*hh(kc(I)+H),H=0,I=0),F.milliseconds=v%1e3,W=Ne(v/1e3),F.seconds=W%60,se=Ne(W/60),F.minutes=se%60,be=Ne(se/60),F.hours=be%24,H+=Ne(be/24),I+=gt=Ne(fh(H)),H-=hh(kc(gt)),st=Ne(I/12),I%=12,F.days=H,F.months=I,F.years=st,this},St.clone=function Al(){return dr(this)},St.get=function za(v){return v=dn(v),this.isValid()?this[v+"s"]():NaN},St.milliseconds=qa,St.seconds=Ff,St.minutes=_h,St.hours=Gd,St.days=yo,St.weeks=function Yf(){return Ne(this.days()/7)},St.months=Wd,St.years=Nf,St.humanize=function __(v,H){if(!this.isValid())return this.localeData().invalidDate();var W,se,I=!1,F=Br;return"object"==typeof v&&(H=v,v=!1),"boolean"==typeof v&&(I=v),"object"==typeof H&&(F=Object.assign({},Br,H),null!=H.s&&null==H.ss&&(F.ss=H.s-1)),se=function g_(v,H,I,F){var W=dr(v).abs(),se=Hn(W.as("s")),be=Hn(W.as("m")),st=Hn(W.as("h")),gt=Hn(W.as("d")),Qt=Hn(W.as("M")),ki=Hn(W.as("w")),pa=Hn(W.as("y")),hr=se<=I.ss&&["s",se]||se0,hr[4]=F,bh.apply(null,hr)}(this,!I,F,W=this.localeData()),I&&(se=W.pastFuture(+this,se)),W.postformat(se)},St.toISOString=Ms,St.toString=Ms,St.toJSON=Ms,St.locale=Sc,St.localeData=oo,St.toIsoString=ke("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ms),St.lang=rh,$e("X",0,0,"unix"),$e("x",0,0,"valueOf"),je("x",ta),je("X",/[+-]?\d+(\.\d{1,3})?/),wt("X",function(v,H,I){I._d=new Date(1e3*parseFloat(v))}),wt("x",function(v,H,I){I._d=new Date(ve(v))}),i.version="2.29.4",function S(v){T=v}(fi),i.fn=Ve,i.min=function oa(){return an("isBefore",[].slice.call(arguments,0))},i.max=function Pd(){return an("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=ce,i.unix=function mn(v){return fi(1e3*v)},i.months=function Lf(v,H){return go(v,H,"months")},i.isDate=J,i.locale=G,i.invalid=Re,i.duration=dr,i.isMoment=xe,i.weekdays=function If(v,H,I){return Yd(v,H,I,"weekdays")},i.parseZone=function Nd(){return fi.apply(null,arguments).parseZone()},i.localeData=ne,i.isDuration=Pr,i.monthsShort=function Cl(v,H){return go(v,H,"monthsShort")},i.weekdaysMin=function zd(v,H,I){return Yd(v,H,I,"weekdaysMin")},i.defineLocale=B,i.updateLocale=function $(v,H){if(null!=H){var I,F,W=Hr;null!=ci[v]&&null!=ci[v].parentLocale?ci[v].set(ge(ci[v]._config,H)):(null!=(F=O(v))&&(W=F._config),H=ge(W,H),null==F&&(H.abbr=v),(I=new Ae(H)).parentLocale=ci[v],ci[v]=I),G(v)}else null!=ci[v]&&(null!=ci[v].parentLocale?(ci[v]=ci[v].parentLocale,v===G()&&G(v)):null!=ci[v]&&delete ci[v]);return ci[v]},i.locales=function _e(){return ye(ci)},i.weekdaysShort=function uh(v,H,I){return Yd(v,H,I,"weekdaysShort")},i.normalizeUnits=dn,i.relativeTimeRounding=function yh(v){return void 0===v?Hn:"function"==typeof v&&(Hn=v,!0)},i.relativeTimeThreshold=function Hi(v,H){return void 0!==Br[v]&&(void 0===H?Br[v]:(Br[v]=H,"s"===v&&(Br.ss=H-1),!0))},i.calendarFormat=function vc(v,H){var I=v.diff(H,"days",!0);return I<-6?"sameElse":I<-1?"lastWeek":I<0?"lastDay":I<1?"sameDay":I<2?"nextDay":I<7?"nextWeek":"sameElse"},i.prototype=Ve,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}()},8306:(Y,U,x)=>{"use strict";x.d(U,{y:()=>J});var T=x(930),i=x(727),S=x(8822),M=x(4671);var L=x(2416),V=x(576),z=x(2806);let J=(()=>{class ie{constructor(he){he&&(this._subscribe=he)}lift(he){const fe=new ie;return fe.source=this,fe.operator=he,fe}subscribe(he,fe,Re){const ze=function ce(ie){return ie&&ie instanceof T.Lv||function oe(ie){return ie&&(0,V.m)(ie.next)&&(0,V.m)(ie.error)&&(0,V.m)(ie.complete)}(ie)&&(0,i.Nn)(ie)}(he)?he:new T.Hp(he,fe,Re);return(0,z.x)(()=>{const{operator:qe,source:Ee}=this;ze.add(qe?qe.call(ze,Ee):Ee?this._subscribe(ze):this._trySubscribe(ze))}),ze}_trySubscribe(he){try{return this._subscribe(he)}catch(fe){he.error(fe)}}forEach(he,fe){return new(fe=Q(fe))((Re,ze)=>{const qe=new T.Hp({next:Ee=>{try{he(Ee)}catch(we){ze(we),qe.unsubscribe()}},error:ze,complete:Re});this.subscribe(qe)})}_subscribe(he){var fe;return null===(fe=this.source)||void 0===fe?void 0:fe.subscribe(he)}[S.L](){return this}pipe(...he){return function P(ie){return 0===ie.length?M.y:1===ie.length?ie[0]:function(he){return ie.reduce((fe,Re)=>Re(fe),he)}}(he)(this)}toPromise(he){return new(he=Q(he))((fe,Re)=>{let ze;this.subscribe(qe=>ze=qe,qe=>Re(qe),()=>fe(ze))})}}return ie.create=te=>new ie(te),ie})();function Q(ie){var te;return null!==(te=null!=ie?ie:L.v.Promise)&&void 0!==te?te:Promise}},7579:(Y,U,x)=>{"use strict";x.d(U,{x:()=>L});var T=x(8306),i=x(727);const M=(0,x(3888).d)(z=>function(){z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=x(8737),P=x(2806);let L=(()=>{class z extends T.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Q){const oe=new V(this,this);return oe.operator=Q,oe}_throwIfClosed(){if(this.closed)throw new M}next(Q){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const oe of this.currentObservers)oe.next(Q)}})}error(Q){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Q;const{observers:oe}=this;for(;oe.length;)oe.shift().error(Q)}})}complete(){(0,P.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Q}=this;for(;Q.length;)Q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Q;return(null===(Q=this.observers)||void 0===Q?void 0:Q.length)>0}_trySubscribe(Q){return this._throwIfClosed(),super._trySubscribe(Q)}_subscribe(Q){return this._throwIfClosed(),this._checkFinalizedStatuses(Q),this._innerSubscribe(Q)}_innerSubscribe(Q){const{hasError:oe,isStopped:ce,observers:ie}=this;return oe||ce?i.Lc:(this.currentObservers=null,ie.push(Q),new i.w0(()=>{this.currentObservers=null,(0,E.P)(ie,Q)}))}_checkFinalizedStatuses(Q){const{hasError:oe,thrownError:ce,isStopped:ie}=this;oe?Q.error(ce):ie&&Q.complete()}asObservable(){const Q=new T.y;return Q.source=this,Q}}return z.create=(J,Q)=>new V(J,Q),z})();class V extends L{constructor(J,Q){super(),this.destination=J,this.source=Q}next(J){var Q,oe;null===(oe=null===(Q=this.destination)||void 0===Q?void 0:Q.next)||void 0===oe||oe.call(Q,J)}error(J){var Q,oe;null===(oe=null===(Q=this.destination)||void 0===Q?void 0:Q.error)||void 0===oe||oe.call(Q,J)}complete(){var J,Q;null===(Q=null===(J=this.destination)||void 0===J?void 0:J.complete)||void 0===Q||Q.call(J)}_subscribe(J){var Q,oe;return null!==(oe=null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(J))&&void 0!==oe?oe:i.Lc}}},930:(Y,U,x)=>{"use strict";x.d(U,{Hp:()=>he,Lv:()=>oe});var T=x(576),i=x(727),S=x(2416),M=x(7849),E=x(5032);const P=z("C",void 0,void 0);function z(Ee,we,xe){return{kind:Ee,value:we,error:xe}}var J=x(3410),Q=x(2806);class oe extends i.w0{constructor(we){super(),this.isStopped=!1,we?(this.destination=we,(0,i.Nn)(we)&&we.add(this)):this.destination=qe}static create(we,xe,lt){return new he(we,xe,lt)}next(we){this.isStopped?ze(function V(Ee){return z("N",Ee,void 0)}(we),this):this._next(we)}error(we){this.isStopped?ze(function L(Ee){return z("E",void 0,Ee)}(we),this):(this.isStopped=!0,this._error(we))}complete(){this.isStopped?ze(P,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(we){this.destination.next(we)}_error(we){try{this.destination.error(we)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function ie(Ee,we){return ce.call(Ee,we)}class te{constructor(we){this.partialObserver=we}next(we){const{partialObserver:xe}=this;if(xe.next)try{xe.next(we)}catch(lt){fe(lt)}}error(we){const{partialObserver:xe}=this;if(xe.error)try{xe.error(we)}catch(lt){fe(lt)}else fe(we)}complete(){const{partialObserver:we}=this;if(we.complete)try{we.complete()}catch(xe){fe(xe)}}}class he extends oe{constructor(we,xe,lt){let ke;if(super(),(0,T.m)(we)||!we)ke={next:null!=we?we:void 0,error:null!=xe?xe:void 0,complete:null!=lt?lt:void 0};else{let Oe;this&&S.v.useDeprecatedNextContext?(Oe=Object.create(we),Oe.unsubscribe=()=>this.unsubscribe(),ke={next:we.next&&ie(we.next,Oe),error:we.error&&ie(we.error,Oe),complete:we.complete&&ie(we.complete,Oe)}):ke=we}this.destination=new te(ke)}}function fe(Ee){S.v.useDeprecatedSynchronousErrorHandling?(0,Q.O)(Ee):(0,M.h)(Ee)}function ze(Ee,we){const{onStoppedNotification:xe}=S.v;xe&&J.z.setTimeout(()=>xe(Ee,we))}const qe={closed:!0,next:E.Z,error:function Re(Ee){throw Ee},complete:E.Z}},727:(Y,U,x)=>{"use strict";x.d(U,{Lc:()=>P,w0:()=>E,Nn:()=>L});var T=x(576);const S=(0,x(3888).d)(z=>function(Q){z(this),this.message=Q?`${Q.length} errors occurred during unsubscription:\n${Q.map((oe,ce)=>`${ce+1}) ${oe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Q});var M=x(8737);class E{constructor(J){this.initialTeardown=J,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let J;if(!this.closed){this.closed=!0;const{_parentage:Q}=this;if(Q)if(this._parentage=null,Array.isArray(Q))for(const ie of Q)ie.remove(this);else Q.remove(this);const{initialTeardown:oe}=this;if((0,T.m)(oe))try{oe()}catch(ie){J=ie instanceof S?ie.errors:[ie]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const ie of ce)try{V(ie)}catch(te){J=null!=J?J:[],te instanceof S?J=[...J,...te.errors]:J.push(te)}}if(J)throw new S(J)}}add(J){var Q;if(J&&J!==this)if(this.closed)V(J);else{if(J instanceof E){if(J.closed||J._hasParent(this))return;J._addParent(this)}(this._finalizers=null!==(Q=this._finalizers)&&void 0!==Q?Q:[]).push(J)}}_hasParent(J){const{_parentage:Q}=this;return Q===J||Array.isArray(Q)&&Q.includes(J)}_addParent(J){const{_parentage:Q}=this;this._parentage=Array.isArray(Q)?(Q.push(J),Q):Q?[Q,J]:J}_removeParent(J){const{_parentage:Q}=this;Q===J?this._parentage=null:Array.isArray(Q)&&(0,M.P)(Q,J)}remove(J){const{_finalizers:Q}=this;Q&&(0,M.P)(Q,J),J instanceof E&&J._removeParent(this)}}E.EMPTY=(()=>{const z=new E;return z.closed=!0,z})();const P=E.EMPTY;function L(z){return z instanceof E||z&&"closed"in z&&(0,T.m)(z.remove)&&(0,T.m)(z.add)&&(0,T.m)(z.unsubscribe)}function V(z){(0,T.m)(z)?z():z.unsubscribe()}},2416:(Y,U,x)=>{"use strict";x.d(U,{v:()=>T});const T={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Y,U,x)=>{"use strict";x.d(U,{a:()=>J});var T=x(8306),i=x(4742),S=x(2076),M=x(4671),E=x(3268),P=x(3269),L=x(1810),V=x(5403),z=x(9672);function J(...ce){const ie=(0,P.yG)(ce),te=(0,P.jO)(ce),{args:he,keys:fe}=(0,i.D)(ce);if(0===he.length)return(0,S.D)([],ie);const Re=new T.y(function Q(ce,ie,te=M.y){return he=>{oe(ie,()=>{const{length:fe}=ce,Re=new Array(fe);let ze=fe,qe=fe;for(let Ee=0;Ee{const we=(0,S.D)(ce[Ee],ie);let xe=!1;we.subscribe((0,V.x)(he,lt=>{Re[Ee]=lt,xe||(xe=!0,qe--),qe||he.next(te(Re.slice()))},()=>{--ze||he.complete()}))},he)},he)}}(he,ie,fe?ze=>(0,L.n)(fe,ze):M.y));return te?Re.pipe((0,E.Z)(te)):Re}function oe(ce,ie,te){ce?(0,z.f)(te,ce,ie):ie()}},7272:(Y,U,x)=>{"use strict";x.d(U,{z:()=>E});var T=x(8189),S=x(3269),M=x(2076);function E(...P){return function i(){return(0,T.J)(1)}()((0,M.D)(P,(0,S.yG)(P)))}},515:(Y,U,x)=>{"use strict";x.d(U,{E:()=>i});const i=new(x(8306).y)(E=>E.complete())},2076:(Y,U,x)=>{"use strict";x.d(U,{D:()=>lt});var T=x(8421),i=x(9672),S=x(4482),M=x(5403);function E(ke,Oe=0){return(0,S.e)((Je,de)=>{Je.subscribe((0,M.x)(de,me=>(0,i.f)(de,ke,()=>de.next(me),Oe),()=>(0,i.f)(de,ke,()=>de.complete(),Oe),me=>(0,i.f)(de,ke,()=>de.error(me),Oe)))})}function P(ke,Oe=0){return(0,S.e)((Je,de)=>{de.add(ke.schedule(()=>Je.subscribe(de),Oe))})}var z=x(8306),Q=x(2202),oe=x(576);function ie(ke,Oe){if(!ke)throw new Error("Iterable cannot be null");return new z.y(Je=>{(0,i.f)(Je,Oe,()=>{const de=ke[Symbol.asyncIterator]();(0,i.f)(Je,Oe,()=>{de.next().then(me=>{me.done?Je.complete():Je.next(me.value)})},0,!0)})})}var te=x(3670),he=x(8239),fe=x(1144),Re=x(6495),ze=x(2206),qe=x(4532),Ee=x(3260);function lt(ke,Oe){return Oe?function xe(ke,Oe){if(null!=ke){if((0,te.c)(ke))return function L(ke,Oe){return(0,T.Xf)(ke).pipe(P(Oe),E(Oe))}(ke,Oe);if((0,fe.z)(ke))return function J(ke,Oe){return new z.y(Je=>{let de=0;return Oe.schedule(function(){de===ke.length?Je.complete():(Je.next(ke[de++]),Je.closed||this.schedule())})})}(ke,Oe);if((0,he.t)(ke))return function V(ke,Oe){return(0,T.Xf)(ke).pipe(P(Oe),E(Oe))}(ke,Oe);if((0,ze.D)(ke))return ie(ke,Oe);if((0,Re.T)(ke))return function ce(ke,Oe){return new z.y(Je=>{let de;return(0,i.f)(Je,Oe,()=>{de=ke[Q.h](),(0,i.f)(Je,Oe,()=>{let me,ge;try{({value:me,done:ge}=de.next())}catch(Ae){return void Je.error(Ae)}ge?Je.complete():Je.next(me)},0,!0)}),()=>(0,oe.m)(null==de?void 0:de.return)&&de.return()})}(ke,Oe);if((0,Ee.L)(ke))return function we(ke,Oe){return ie((0,Ee.Q)(ke),Oe)}(ke,Oe)}throw(0,qe.z)(ke)}(ke,Oe):(0,T.Xf)(ke)}},8421:(Y,U,x)=>{"use strict";x.d(U,{Xf:()=>ce});var T=x(655),i=x(1144),S=x(8239),M=x(8306),E=x(3670),P=x(2206),L=x(4532),V=x(6495),z=x(3260),J=x(576),Q=x(7849),oe=x(8822);function ce(Ee){if(Ee instanceof M.y)return Ee;if(null!=Ee){if((0,E.c)(Ee))return function ie(Ee){return new M.y(we=>{const xe=Ee[oe.L]();if((0,J.m)(xe.subscribe))return xe.subscribe(we);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ee);if((0,i.z)(Ee))return function te(Ee){return new M.y(we=>{for(let xe=0;xe{Ee.then(xe=>{we.closed||(we.next(xe),we.complete())},xe=>we.error(xe)).then(null,Q.h)})}(Ee);if((0,P.D)(Ee))return Re(Ee);if((0,V.T)(Ee))return function fe(Ee){return new M.y(we=>{for(const xe of Ee)if(we.next(xe),we.closed)return;we.complete()})}(Ee);if((0,z.L)(Ee))return function ze(Ee){return Re((0,z.Q)(Ee))}(Ee)}throw(0,L.z)(Ee)}function Re(Ee){return new M.y(we=>{(function qe(Ee,we){var xe,lt,ke,Oe;return(0,T.mG)(this,void 0,void 0,function*(){try{for(xe=(0,T.KL)(Ee);!(lt=yield xe.next()).done;)if(we.next(lt.value),we.closed)return}catch(Je){ke={error:Je}}finally{try{lt&&!lt.done&&(Oe=xe.return)&&(yield Oe.call(xe))}finally{if(ke)throw ke.error}}we.complete()})})(Ee,we).catch(xe=>we.error(xe))})}},6451:(Y,U,x)=>{"use strict";x.d(U,{T:()=>P});var T=x(8189),i=x(8421),S=x(515),M=x(3269),E=x(2076);function P(...L){const V=(0,M.yG)(L),z=(0,M._6)(L,1/0),J=L;return J.length?1===J.length?(0,i.Xf)(J[0]):(0,T.J)(z)((0,E.D)(J,V)):S.E}},9646:(Y,U,x)=>{"use strict";x.d(U,{of:()=>S});var T=x(3269),i=x(2076);function S(...M){const E=(0,T.yG)(M);return(0,i.D)(M,E)}},102:(Y,U,x)=>{"use strict";x.d(U,{S:()=>P});var T=x(8306),i=x(8421);const{isArray:S}=Array;var E=x(5403);function P(...V){return 1===(V=function M(V){return 1===V.length&&S(V[0])?V[0]:V}(V)).length?(0,i.Xf)(V[0]):new T.y(function L(V){return z=>{let J=[];for(let Q=0;J&&!z.closed&&Q{if(J){for(let ce=0;ce{"use strict";x.d(U,{_:()=>S});var T=x(8306),i=x(576);function S(M,E){const P=(0,i.m)(M)?M:()=>M,L=V=>V.error(P());return new T.y(E?V=>E.schedule(L,0,V):L)}},2805:(Y,U,x)=>{"use strict";x.d(U,{H:()=>E});var T=x(8306),i=x(4986),S=x(3532),M=x(1165);function E(P=0,L,V=i.P){let z=-1;return null!=L&&((0,S.K)(L)?V=L:z=L),new T.y(J=>{let Q=(0,M.q)(P)?+P-V.now():P;Q<0&&(Q=0);let oe=0;return V.schedule(function(){J.closed||(J.next(oe++),0<=z?this.schedule(void 0,z):J.complete())},Q)})}},5403:(Y,U,x)=>{"use strict";x.d(U,{x:()=>i});var T=x(930);function i(M,E,P,L,V){return new S(M,E,P,L,V)}class S extends T.Lv{constructor(E,P,L,V,z,J){super(E),this.onFinalize=z,this.shouldUnsubscribe=J,this._next=P?function(Q){try{P(Q)}catch(oe){E.error(oe)}}:super._next,this._error=V?function(Q){try{V(Q)}catch(oe){E.error(oe)}finally{this.unsubscribe()}}:super._error,this._complete=L?function(){try{L()}catch(Q){E.error(Q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:P}=this;super.unsubscribe(),!P&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},262:(Y,U,x)=>{"use strict";x.d(U,{K:()=>M});var T=x(8421),i=x(5403),S=x(4482);function M(E){return(0,S.e)((P,L)=>{let J,V=null,z=!1;V=P.subscribe((0,i.x)(L,void 0,void 0,Q=>{J=(0,T.Xf)(E(Q,M(E)(P))),V?(V.unsubscribe(),V=null,J.subscribe(L)):z=!0})),z&&(V.unsubscribe(),V=null,J.subscribe(L))})}},4351:(Y,U,x)=>{"use strict";x.d(U,{b:()=>S});var T=x(5577),i=x(576);function S(M,E){return(0,i.m)(E)?(0,T.z)(M,E,1):(0,T.z)(M,1)}},8372:(Y,U,x)=>{"use strict";x.d(U,{b:()=>M});var T=x(4986),i=x(4482),S=x(5403);function M(E,P=T.z){return(0,i.e)((L,V)=>{let z=null,J=null,Q=null;const oe=()=>{if(z){z.unsubscribe(),z=null;const ie=J;J=null,V.next(ie)}};function ce(){const ie=Q+E,te=P.now();if(te{J=ie,Q=P.now(),z||(z=P.schedule(ce,E),V.add(z))},()=>{oe(),V.complete()},void 0,()=>{J=z=null}))})}},6590:(Y,U,x)=>{"use strict";x.d(U,{d:()=>S});var T=x(4482),i=x(5403);function S(M){return(0,T.e)((E,P)=>{let L=!1;E.subscribe((0,i.x)(P,V=>{L=!0,P.next(V)},()=>{L||P.next(M),P.complete()}))})}},1005:(Y,U,x)=>{"use strict";x.d(U,{g:()=>oe});var T=x(4986),i=x(7272),S=x(5698),M=x(4482),E=x(5403),P=x(5032),V=x(9718),z=x(5577);function J(ce,ie){return ie?te=>(0,i.z)(ie.pipe((0,S.q)(1),function L(){return(0,M.e)((ce,ie)=>{ce.subscribe((0,E.x)(ie,P.Z))})}()),te.pipe(J(ce))):(0,z.z)((te,he)=>ce(te,he).pipe((0,S.q)(1),(0,V.h)(te)))}var Q=x(2805);function oe(ce,ie=T.z){const te=(0,Q.H)(ce,ie);return J(()=>te)}},9300:(Y,U,x)=>{"use strict";x.d(U,{h:()=>S});var T=x(4482),i=x(5403);function S(M,E){return(0,T.e)((P,L)=>{let V=0;P.subscribe((0,i.x)(L,z=>M.call(E,z,V++)&&L.next(z)))})}},590:(Y,U,x)=>{"use strict";x.d(U,{P:()=>L});var T=x(6805),i=x(9300),S=x(5698),M=x(6590),E=x(8068),P=x(4671);function L(V,z){const J=arguments.length>=2;return Q=>Q.pipe(V?(0,i.h)((oe,ce)=>V(oe,ce,Q)):P.y,(0,S.q)(1),J?(0,M.d)(z):(0,E.T)(()=>new T.K))}},4004:(Y,U,x)=>{"use strict";x.d(U,{U:()=>S});var T=x(4482),i=x(5403);function S(M,E){return(0,T.e)((P,L)=>{let V=0;P.subscribe((0,i.x)(L,z=>{L.next(M.call(E,z,V++))}))})}},9718:(Y,U,x)=>{"use strict";x.d(U,{h:()=>i});var T=x(4004);function i(S){return(0,T.U)(()=>S)}},8189:(Y,U,x)=>{"use strict";x.d(U,{J:()=>S});var T=x(5577),i=x(4671);function S(M=1/0){return(0,T.z)(i.y,M)}},5577:(Y,U,x)=>{"use strict";x.d(U,{z:()=>V});var T=x(4004),i=x(8421),S=x(4482),M=x(9672),E=x(5403),L=x(576);function V(z,J,Q=1/0){return(0,L.m)(J)?V((oe,ce)=>(0,T.U)((ie,te)=>J(oe,ie,ce,te))((0,i.Xf)(z(oe,ce))),Q):("number"==typeof J&&(Q=J),(0,S.e)((oe,ce)=>function P(z,J,Q,oe,ce,ie,te,he){const fe=[];let Re=0,ze=0,qe=!1;const Ee=()=>{qe&&!fe.length&&!Re&&J.complete()},we=lt=>Re{ie&&J.next(lt),Re++;let ke=!1;(0,i.Xf)(Q(lt,ze++)).subscribe((0,E.x)(J,Oe=>{null==ce||ce(Oe),ie?we(Oe):J.next(Oe)},()=>{ke=!0},void 0,()=>{if(ke)try{for(Re--;fe.length&&Rexe(Oe)):xe(Oe)}Ee()}catch(Oe){J.error(Oe)}}))};return z.subscribe((0,E.x)(J,we,()=>{qe=!0,Ee()})),()=>{null==he||he()}}(oe,ce,z,Q)))}},3099:(Y,U,x)=>{"use strict";x.d(U,{B:()=>E});var T=x(8421),i=x(7579),S=x(930),M=x(4482);function E(L={}){const{connector:V=(()=>new i.x),resetOnError:z=!0,resetOnComplete:J=!0,resetOnRefCountZero:Q=!0}=L;return oe=>{let ce,ie,te,he=0,fe=!1,Re=!1;const ze=()=>{null==ie||ie.unsubscribe(),ie=void 0},qe=()=>{ze(),ce=te=void 0,fe=Re=!1},Ee=()=>{const we=ce;qe(),null==we||we.unsubscribe()};return(0,M.e)((we,xe)=>{he++,!Re&&!fe&&ze();const lt=te=null!=te?te:V();xe.add(()=>{he--,0===he&&!Re&&!fe&&(ie=P(Ee,Q))}),lt.subscribe(xe),!ce&&he>0&&(ce=new S.Hp({next:ke=>lt.next(ke),error:ke=>{Re=!0,ze(),ie=P(qe,z,ke),lt.error(ke)},complete:()=>{fe=!0,ze(),ie=P(qe,J),lt.complete()}}),(0,T.Xf)(we).subscribe(ce))})(oe)}}function P(L,V,...z){if(!0===V)return void L();if(!1===V)return;const J=new S.Hp({next:()=>{J.unsubscribe(),L()}});return V(...z).subscribe(J)}},3900:(Y,U,x)=>{"use strict";x.d(U,{w:()=>M});var T=x(8421),i=x(4482),S=x(5403);function M(E,P){return(0,i.e)((L,V)=>{let z=null,J=0,Q=!1;const oe=()=>Q&&!z&&V.complete();L.subscribe((0,S.x)(V,ce=>{null==z||z.unsubscribe();let ie=0;const te=J++;(0,T.Xf)(E(ce,te)).subscribe(z=(0,S.x)(V,he=>V.next(P?P(ce,he,te,ie++):he),()=>{z=null,oe()}))},()=>{Q=!0,oe()}))})}},5698:(Y,U,x)=>{"use strict";x.d(U,{q:()=>M});var T=x(515),i=x(4482),S=x(5403);function M(E){return E<=0?()=>T.E:(0,i.e)((P,L)=>{let V=0;P.subscribe((0,S.x)(L,z=>{++V<=E&&(L.next(z),E<=V&&L.complete())}))})}},8505:(Y,U,x)=>{"use strict";x.d(U,{b:()=>E});var T=x(576),i=x(4482),S=x(5403),M=x(4671);function E(P,L,V){const z=(0,T.m)(P)||L||V?{next:P,error:L,complete:V}:P;return z?(0,i.e)((J,Q)=>{var oe;null===(oe=z.subscribe)||void 0===oe||oe.call(z);let ce=!0;J.subscribe((0,S.x)(Q,ie=>{var te;null===(te=z.next)||void 0===te||te.call(z,ie),Q.next(ie)},()=>{var ie;ce=!1,null===(ie=z.complete)||void 0===ie||ie.call(z),Q.complete()},ie=>{var te;ce=!1,null===(te=z.error)||void 0===te||te.call(z,ie),Q.error(ie)},()=>{var ie,te;ce&&(null===(ie=z.unsubscribe)||void 0===ie||ie.call(z)),null===(te=z.finalize)||void 0===te||te.call(z)}))}):M.y}},8068:(Y,U,x)=>{"use strict";x.d(U,{T:()=>M});var T=x(6805),i=x(4482),S=x(5403);function M(P=E){return(0,i.e)((L,V)=>{let z=!1;L.subscribe((0,S.x)(V,J=>{z=!0,V.next(J)},()=>z?V.complete():V.error(P())))})}function E(){return new T.K}},7414:(Y,U,x)=>{"use strict";x.d(U,{V:()=>z});var T=x(4986),i=x(1165),S=x(4482),M=x(8421),E=x(3888),P=x(5403),L=x(9672);const V=(0,E.d)(Q=>function(ce=null){Q(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ce});function z(Q,oe){const{first:ce,each:ie,with:te=J,scheduler:he=(null!=oe?oe:T.z),meta:fe=null}=(0,i.q)(Q)?{first:Q}:"number"==typeof Q?{each:Q}:Q;if(null==ce&&null==ie)throw new TypeError("No timeout provided.");return(0,S.e)((Re,ze)=>{let qe,Ee,we=null,xe=0;const lt=ke=>{Ee=(0,L.f)(ze,he,()=>{try{qe.unsubscribe(),(0,M.Xf)(te({meta:fe,lastValue:we,seen:xe})).subscribe(ze)}catch(Oe){ze.error(Oe)}},ke)};qe=Re.subscribe((0,P.x)(ze,ke=>{null==Ee||Ee.unsubscribe(),xe++,ze.next(we=ke),ie>0&<(ie)},void 0,void 0,()=>{(null==Ee?void 0:Ee.closed)||null==Ee||Ee.unsubscribe(),we=null})),!xe&<(null!=ce?"number"==typeof ce?ce:+ce-he.now():ie)})}function J(Q){throw new V(Q)}},4408:(Y,U,x)=>{"use strict";x.d(U,{o:()=>E});var T=x(727);class i extends T.w0{constructor(L,V){super()}schedule(L,V=0){return this}}const S={setInterval(P,L,...V){const{delegate:z}=S;return(null==z?void 0:z.setInterval)?z.setInterval(P,L,...V):setInterval(P,L,...V)},clearInterval(P){const{delegate:L}=S;return((null==L?void 0:L.clearInterval)||clearInterval)(P)},delegate:void 0};var M=x(8737);class E extends i{constructor(L,V){super(L,V),this.scheduler=L,this.work=V,this.pending=!1}schedule(L,V=0){if(this.closed)return this;this.state=L;const z=this.id,J=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(J,z,V)),this.pending=!0,this.delay=V,this.id=this.id||this.requestAsyncId(J,this.id,V),this}requestAsyncId(L,V,z=0){return S.setInterval(L.flush.bind(L,this),z)}recycleAsyncId(L,V,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return V;S.clearInterval(V)}execute(L,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(L,V);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(L,V){let J,z=!1;try{this.work(L)}catch(Q){z=!0,J=Q||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),J}unsubscribe(){if(!this.closed){const{id:L,scheduler:V}=this,{actions:z}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.P)(z,this),null!=L&&(this.id=this.recycleAsyncId(V,L,null)),this.delay=null,super.unsubscribe()}}}},7565:(Y,U,x)=>{"use strict";x.d(U,{v:()=>S});var T=x(6063);class i{constructor(E,P=i.now){this.schedulerActionCtor=E,this.now=P}schedule(E,P=0,L){return new this.schedulerActionCtor(this,E).schedule(L,P)}}i.now=T.l.now;class S extends i{constructor(E,P=i.now){super(E,P),this.actions=[],this._active=!1,this._scheduled=void 0}flush(E){const{actions:P}=this;if(this._active)return void P.push(E);let L;this._active=!0;do{if(L=E.execute(E.state,E.delay))break}while(E=P.shift());if(this._active=!1,L){for(;E=P.shift();)E.unsubscribe();throw L}}}},4986:(Y,U,x)=>{"use strict";x.d(U,{z:()=>S,P:()=>M});var T=x(4408);const S=new(x(7565).v)(T.o),M=S},6063:(Y,U,x)=>{"use strict";x.d(U,{l:()=>T});const T={now:()=>(T.delegate||Date).now(),delegate:void 0}},3410:(Y,U,x)=>{"use strict";x.d(U,{z:()=>T});const T={setTimeout(i,S,...M){const{delegate:E}=T;return(null==E?void 0:E.setTimeout)?E.setTimeout(i,S,...M):setTimeout(i,S,...M)},clearTimeout(i){const{delegate:S}=T;return((null==S?void 0:S.clearTimeout)||clearTimeout)(i)},delegate:void 0}},2202:(Y,U,x)=>{"use strict";x.d(U,{h:()=>i});const i=function T(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Y,U,x)=>{"use strict";x.d(U,{L:()=>T});const T="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Y,U,x)=>{"use strict";x.d(U,{K:()=>i});const i=(0,x(3888).d)(S=>function(){S(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Y,U,x)=>{"use strict";x.d(U,{jO:()=>M,yG:()=>E,_6:()=>P});var T=x(576),i=x(3532);function S(L){return L[L.length-1]}function M(L){return(0,T.m)(S(L))?L.pop():void 0}function E(L){return(0,i.K)(S(L))?L.pop():void 0}function P(L,V){return"number"==typeof S(L)?L.pop():V}},4742:(Y,U,x)=>{"use strict";x.d(U,{D:()=>E});const{isArray:T}=Array,{getPrototypeOf:i,prototype:S,keys:M}=Object;function E(L){if(1===L.length){const V=L[0];if(T(V))return{args:V,keys:null};if(function P(L){return L&&"object"==typeof L&&i(L)===S}(V)){const z=M(V);return{args:z.map(J=>V[J]),keys:z}}}return{args:L,keys:null}}},8737:(Y,U,x)=>{"use strict";function T(i,S){if(i){const M=i.indexOf(S);0<=M&&i.splice(M,1)}}x.d(U,{P:()=>T})},3888:(Y,U,x)=>{"use strict";function T(i){const M=i(E=>{Error.call(E),E.stack=(new Error).stack});return M.prototype=Object.create(Error.prototype),M.prototype.constructor=M,M}x.d(U,{d:()=>T})},1810:(Y,U,x)=>{"use strict";function T(i,S){return i.reduce((M,E,P)=>(M[E]=S[P],M),{})}x.d(U,{n:()=>T})},2806:(Y,U,x)=>{"use strict";x.d(U,{x:()=>S,O:()=>M});var T=x(2416);let i=null;function S(E){if(T.v.useDeprecatedSynchronousErrorHandling){const P=!i;if(P&&(i={errorThrown:!1,error:null}),E(),P){const{errorThrown:L,error:V}=i;if(i=null,L)throw V}}else E()}function M(E){T.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=E)}},9672:(Y,U,x)=>{"use strict";function T(i,S,M,E=0,P=!1){const L=S.schedule(function(){M(),P?i.add(this.schedule(null,E)):this.unsubscribe()},E);if(i.add(L),!P)return L}x.d(U,{f:()=>T})},4671:(Y,U,x)=>{"use strict";function T(i){return i}x.d(U,{y:()=>T})},1144:(Y,U,x)=>{"use strict";x.d(U,{z:()=>T});const T=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(Y,U,x)=>{"use strict";x.d(U,{D:()=>i});var T=x(576);function i(S){return Symbol.asyncIterator&&(0,T.m)(null==S?void 0:S[Symbol.asyncIterator])}},1165:(Y,U,x)=>{"use strict";function T(i){return i instanceof Date&&!isNaN(i)}x.d(U,{q:()=>T})},576:(Y,U,x)=>{"use strict";function T(i){return"function"==typeof i}x.d(U,{m:()=>T})},3670:(Y,U,x)=>{"use strict";x.d(U,{c:()=>S});var T=x(8822),i=x(576);function S(M){return(0,i.m)(M[T.L])}},6495:(Y,U,x)=>{"use strict";x.d(U,{T:()=>S});var T=x(2202),i=x(576);function S(M){return(0,i.m)(null==M?void 0:M[T.h])}},8239:(Y,U,x)=>{"use strict";x.d(U,{t:()=>i});var T=x(576);function i(S){return(0,T.m)(null==S?void 0:S.then)}},3260:(Y,U,x)=>{"use strict";x.d(U,{Q:()=>S,L:()=>M});var T=x(655),i=x(576);function S(E){return(0,T.FC)(this,arguments,function*(){const L=E.getReader();try{for(;;){const{value:V,done:z}=yield(0,T.qq)(L.read());if(z)return yield(0,T.qq)(void 0);yield yield(0,T.qq)(V)}}finally{L.releaseLock()}})}function M(E){return(0,i.m)(null==E?void 0:E.getReader)}},3532:(Y,U,x)=>{"use strict";x.d(U,{K:()=>i});var T=x(576);function i(S){return S&&(0,T.m)(S.schedule)}},4482:(Y,U,x)=>{"use strict";x.d(U,{A:()=>i,e:()=>S});var T=x(576);function i(M){return(0,T.m)(null==M?void 0:M.lift)}function S(M){return E=>{if(i(E))return E.lift(function(P){try{return M(P,this)}catch(L){this.error(L)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Y,U,x)=>{"use strict";x.d(U,{Z:()=>M});var T=x(4004);const{isArray:i}=Array;function M(E){return(0,T.U)(P=>function S(E,P){return i(P)?E(...P):E(P)}(E,P))}},5032:(Y,U,x)=>{"use strict";function T(){}x.d(U,{Z:()=>T})},7849:(Y,U,x)=>{"use strict";x.d(U,{h:()=>S});var T=x(2416),i=x(3410);function S(M){i.z.setTimeout(()=>{const{onUnhandledError:E}=T.v;if(!E)throw M;E(M)})}},4532:(Y,U,x)=>{"use strict";function T(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}x.d(U,{z:()=>T})},6700:(Y,U,x)=>{var T={"./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":5283,"./hy-am.js":5283,"./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":2868,"./th.js":2868,"./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 E=S(M);return x(E)}function S(M){if(!x.o(T,M)){var E=new Error("Cannot find module '"+M+"'");throw E.code="MODULE_NOT_FOUND",E}return T[M]}i.keys=function(){return Object.keys(T)},i.resolve=S,Y.exports=i,i.id=6700},655:(Y,U,x)=>{"use strict";function V(de,me,ge,Ae){return new(ge||(ge=Promise))(function(Ue,yt){function jt(Li){try{tt(Ae.next(Li))}catch(An){yt(An)}}function ri(Li){try{tt(Ae.throw(Li))}catch(An){yt(An)}}function tt(Li){Li.done?Ue(Li.value):function ye(Ue){return Ue instanceof ge?Ue:new ge(function(yt){yt(Ue)})}(Li.value).then(jt,ri)}tt((Ae=Ae.apply(de,me||[])).next())})}function fe(de){return this instanceof fe?(this.v=de,this):new fe(de)}function Re(de,me,ge){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,Ae=ge.apply(de,me||[]),Ue=[];return ye={},yt("next"),yt("throw"),yt("return"),ye[Symbol.asyncIterator]=function(){return this},ye;function yt($e){Ae[$e]&&(ye[$e]=function(Kt){return new Promise(function(Mr,cn){Ue.push([$e,Kt,Mr,cn])>1||jt($e,Kt)})})}function jt($e,Kt){try{!function ri($e){$e.value instanceof fe?Promise.resolve($e.value.v).then(tt,Li):An(Ue[0][2],$e)}(Ae[$e](Kt))}catch(Mr){An(Ue[0][3],Mr)}}function tt($e){jt("next",$e)}function Li($e){jt("throw",$e)}function An($e,Kt){$e(Kt),Ue.shift(),Ue.length&&jt(Ue[0][0],Ue[0][1])}}function qe(de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ge,me=de[Symbol.asyncIterator];return me?me.call(de):(de=function oe(de){var me="function"==typeof Symbol&&Symbol.iterator,ge=me&&de[me],Ae=0;if(ge)return ge.call(de);if(de&&"number"==typeof de.length)return{next:function(){return de&&Ae>=de.length&&(de=void 0),{value:de&&de[Ae++],done:!de}}};throw new TypeError(me?"Object is not iterable.":"Symbol.iterator is not defined.")}(de),ge={},Ae("next"),Ae("throw"),Ae("return"),ge[Symbol.asyncIterator]=function(){return this},ge);function Ae(Ue){ge[Ue]=de[Ue]&&function(yt){return new Promise(function(jt,ri){!function ye(Ue,yt,jt,ri){Promise.resolve(ri).then(function(tt){Ue({value:tt,done:jt})},yt)}(jt,ri,(yt=de[Ue](yt)).done,yt.value)})}}}x.d(U,{mG:()=>V,qq:()=>fe,FC:()=>Re,KL:()=>qe})},9808:(Y,U,x)=>{"use strict";x.d(U,{mr:()=>ze,Ov:()=>$u,ez:()=>ft,K0:()=>L,uU:()=>Qe,Do:()=>Ee,V_:()=>J,Ye:()=>we,S$:()=>fe,mk:()=>Oa,sg:()=>nn,O5:()=>jn,PC:()=>ds,RF:()=>bn,n9:()=>Fn,ED:()=>Qo,tP:()=>Dr,b0:()=>qe,lw:()=>V,EM:()=>ms,JF:()=>Bt,p6:()=>Ht,NF:()=>Mn,w_:()=>P,bD:()=>qi,q:()=>S,Mx:()=>Jo,HT:()=>E});var T=x(5e3);let i=null;function S(){return i}function E(O){i||(i=O)}class P{}const L=new T.OlP("DocumentToken");let V=(()=>{class O{historyGo(B){throw new Error("Not implemented")}}return O.\u0275fac=function(B){return new(B||O)},O.\u0275prov=T.Yz7({token:O,factory:function(){return function z(){return(0,T.LFG)(Q)}()},providedIn:"platform"}),O})();const J=new T.OlP("Location Initialized");let Q=(()=>{class O extends V{constructor(B){super(),this._doc=B,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(B){const $=S().getGlobalEventTarget(this._doc,"window");return $.addEventListener("popstate",B,!1),()=>$.removeEventListener("popstate",B)}onHashChange(B){const $=S().getGlobalEventTarget(this._doc,"window");return $.addEventListener("hashchange",B,!1),()=>$.removeEventListener("hashchange",B)}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(B){this.location.pathname=B}pushState(B,$,ne){oe()?this._history.pushState(B,$,ne):this.location.hash=ne}replaceState(B,$,ne){oe()?this._history.replaceState(B,$,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(B=0){this._history.go(B)}getState(){return this._history.state}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(L))},O.\u0275prov=T.Yz7({token:O,factory:function(){return function ce(){return new Q((0,T.LFG)(L))}()},providedIn:"platform"}),O})();function oe(){return!!window.history.pushState}function ie(O,G){if(0==O.length)return G;if(0==G.length)return O;let B=0;return O.endsWith("/")&&B++,G.startsWith("/")&&B++,2==B?O+G.substring(1):1==B?O+G:O+"/"+G}function te(O){const G=O.match(/#|\?|$/),B=G&&G.index||O.length;return O.slice(0,B-("/"===O[B-1]?1:0))+O.slice(B)}function he(O){return O&&"?"!==O[0]?"?"+O:O}let fe=(()=>{class O{historyGo(B){throw new Error("Not implemented")}}return O.\u0275fac=function(B){return new(B||O)},O.\u0275prov=T.Yz7({token:O,factory:function(){return function Re(O){const G=(0,T.LFG)(L).location;return new qe((0,T.LFG)(V),G&&G.origin||"")}()},providedIn:"root"}),O})();const ze=new T.OlP("appBaseHref");let qe=(()=>{class O extends fe{constructor(B,$){if(super(),this._platformLocation=B,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(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.onHashChange(B))}getBaseHref(){return this._baseHref}prepareExternalUrl(B){return ie(this._baseHref,B)}path(B=!1){const $=this._platformLocation.pathname+he(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&B?`${$}${ne}`:$}pushState(B,$,ne,_e){const Te=this.prepareExternalUrl(ne+he(_e));this._platformLocation.pushState(B,$,Te)}replaceState(B,$,ne,_e){const Te=this.prepareExternalUrl(ne+he(_e));this._platformLocation.replaceState(B,$,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformLocation).historyGo)||void 0===ne||ne.call($,B)}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(V),T.LFG(ze,8))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})(),Ee=(()=>{class O extends fe{constructor(B,$){super(),this._platformLocation=B,this._baseHref="",this._removeListenerFns=[],null!=$&&(this._baseHref=$)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(B){this._removeListenerFns.push(this._platformLocation.onPopState(B),this._platformLocation.onHashChange(B))}getBaseHref(){return this._baseHref}path(B=!1){let $=this._platformLocation.hash;return null==$&&($="#"),$.length>0?$.substring(1):$}prepareExternalUrl(B){const $=ie(this._baseHref,B);return $.length>0?"#"+$:$}pushState(B,$,ne,_e){let Te=this.prepareExternalUrl(ne+he(_e));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.pushState(B,$,Te)}replaceState(B,$,ne,_e){let Te=this.prepareExternalUrl(ne+he(_e));0==Te.length&&(Te=this._platformLocation.pathname),this._platformLocation.replaceState(B,$,Te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformLocation).historyGo)||void 0===ne||ne.call($,B)}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(V),T.LFG(ze,8))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})(),we=(()=>{class O{constructor(B,$){this._subject=new T.vpe,this._urlChangeListeners=[],this._platformStrategy=B;const ne=this._platformStrategy.getBaseHref();this._platformLocation=$,this._baseHref=te(ke(ne)),this._platformStrategy.onPopState(_e=>{this._subject.emit({url:this.path(!0),pop:!0,state:_e.state,type:_e.type})})}path(B=!1){return this.normalize(this._platformStrategy.path(B))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(B,$=""){return this.path()==this.normalize(B+he($))}normalize(B){return O.stripTrailingSlash(function lt(O,G){return O&&G.startsWith(O)?G.substring(O.length):G}(this._baseHref,ke(B)))}prepareExternalUrl(B){return B&&"/"!==B[0]&&(B="/"+B),this._platformStrategy.prepareExternalUrl(B)}go(B,$="",ne=null){this._platformStrategy.pushState(ne,"",B,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+he($)),ne)}replaceState(B,$="",ne=null){this._platformStrategy.replaceState(ne,"",B,$),this._notifyUrlChangeListeners(this.prepareExternalUrl(B+he($)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(B=0){var $,ne;null===(ne=($=this._platformStrategy).historyGo)||void 0===ne||ne.call($,B)}onUrlChange(B){this._urlChangeListeners.push(B),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe($=>{this._notifyUrlChangeListeners($.url,$.state)}))}_notifyUrlChangeListeners(B="",$){this._urlChangeListeners.forEach(ne=>ne(B,$))}subscribe(B,$,ne){return this._subject.subscribe({next:B,error:$,complete:ne})}}return O.normalizeQueryParams=he,O.joinWithSlash=ie,O.stripTrailingSlash=te,O.\u0275fac=function(B){return new(B||O)(T.LFG(fe),T.LFG(V))},O.\u0275prov=T.Yz7({token:O,factory:function(){return function xe(){return new we((0,T.LFG)(fe),(0,T.LFG)(V))}()},providedIn:"root"}),O})();function ke(O){return O.replace(/\/index.html$/,"")}var de=(()=>((de=de||{})[de.Zero=0]="Zero",de[de.One=1]="One",de[de.Two=2]="Two",de[de.Few=3]="Few",de[de.Many=4]="Many",de[de.Other=5]="Other",de))(),me=(()=>((me=me||{})[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),Ae=(()=>((Ae=Ae||{})[Ae.Short=0]="Short",Ae[Ae.Medium=1]="Medium",Ae[Ae.Long=2]="Long",Ae[Ae.Full=3]="Full",Ae))(),ye=(()=>((ye=ye||{})[ye.Decimal=0]="Decimal",ye[ye.Group=1]="Group",ye[ye.List=2]="List",ye[ye.PercentSign=3]="PercentSign",ye[ye.PlusSign=4]="PlusSign",ye[ye.MinusSign=5]="MinusSign",ye[ye.Exponential=6]="Exponential",ye[ye.SuperscriptingExponent=7]="SuperscriptingExponent",ye[ye.PerMille=8]="PerMille",ye[ye.Infinity=9]="Infinity",ye[ye.NaN=10]="NaN",ye[ye.TimeSeparator=11]="TimeSeparator",ye[ye.CurrencyDecimal=12]="CurrencyDecimal",ye[ye.CurrencyGroup=13]="CurrencyGroup",ye))();function Kt(O,G){return Ii((0,T.cg1)(O)[T.wAp.DateFormat],G)}function Mr(O,G){return Ii((0,T.cg1)(O)[T.wAp.TimeFormat],G)}function cn(O,G){return Ii((0,T.cg1)(O)[T.wAp.DateTimeFormat],G)}function zi(O,G){const B=(0,T.cg1)(O),$=B[T.wAp.NumberSymbols][G];if(void 0===$){if(G===ye.CurrencyDecimal)return B[T.wAp.NumberSymbols][ye.Decimal];if(G===ye.CurrencyGroup)return B[T.wAp.NumberSymbols][ye.Group]}return $}const Xr=T.kL8;function La(O){if(!O[T.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${O[T.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ii(O,G){for(let B=G;B>-1;B--)if(void 0!==O[B])return O[B];throw new Error("Locale data API: locale data undefined")}function Xt(O){const[G,B]=O.split(":");return{hours:+G,minutes:+B}}const ae=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Be={},He=/((?:[^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 Ne=(()=>((Ne=Ne||{})[Ne.Short=0]="Short",Ne[Ne.ShortGMT=1]="ShortGMT",Ne[Ne.Long=2]="Long",Ne[Ne.Extended=3]="Extended",Ne))(),ve=(()=>((ve=ve||{})[ve.FullYear=0]="FullYear",ve[ve.Month=1]="Month",ve[ve.Date=2]="Date",ve[ve.Hours=3]="Hours",ve[ve.Minutes=4]="Minutes",ve[ve.Seconds=5]="Seconds",ve[ve.FractionalSeconds=6]="FractionalSeconds",ve[ve.Day=7]="Day",ve))(),Xe=(()=>((Xe=Xe||{})[Xe.DayPeriods=0]="DayPeriods",Xe[Xe.Days=1]="Days",Xe[Xe.Months=2]="Months",Xe[Xe.Eras=3]="Eras",Xe))();function Ht(O,G,B,$){let ne=function je(O){if(Qi(O))return O;if("number"==typeof O&&!isNaN(O))return new Date(O);if("string"==typeof O){if(O=O.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(O)){const[ne,_e=1,Te=1]=O.split("-").map(rt=>+rt);return Ei(ne,_e-1,Te)}const B=parseFloat(O);if(!isNaN(O-B))return new Date(B);let $;if($=O.match(ae))return function ui(O){const G=new Date(0);let B=0,$=0;const ne=O[8]?G.setUTCFullYear:G.setFullYear,_e=O[8]?G.setUTCHours:G.setHours;O[9]&&(B=Number(O[9]+O[10]),$=Number(O[9]+O[11])),ne.call(G,Number(O[1]),Number(O[2])-1,Number(O[3]));const Te=Number(O[4]||0)-B,rt=Number(O[5]||0)-$,ai=Number(O[6]||0),$t=Math.floor(1e3*parseFloat("0."+(O[7]||0)));return _e.call(G,Te,rt,ai,$t),G}($)}const G=new Date(O);if(!Qi(G))throw new Error(`Unable to convert "${O}" into a date`);return G}(O);G=Lt(B,G)||G;let rt,Te=[];for(;G;){if(rt=He.exec(G),!rt){Te.push(G);break}{Te=Te.concat(rt.slice(1));const kt=Te.pop();if(!kt)break;G=kt}}let ai=ne.getTimezoneOffset();$&&(ai=ls($,ai),ne=function C(O,G,B){const $=B?-1:1,ne=O.getTimezoneOffset();return function qs(O,G){return(O=new Date(O.getTime())).setMinutes(O.getMinutes()+G),O}(O,$*(ls(G,ne)-ne))}(ne,$,!0));let $t="";return Te.forEach(kt=>{const Vt=function os(O){if(Vn[O])return Vn[O];let G;switch(O){case"G":case"GG":case"GGG":G=Nt(Xe.Eras,ge.Abbreviated);break;case"GGGG":G=Nt(Xe.Eras,ge.Wide);break;case"GGGGG":G=Nt(Xe.Eras,ge.Narrow);break;case"y":G=et(ve.FullYear,1,0,!1,!0);break;case"yy":G=et(ve.FullYear,2,0,!0,!0);break;case"yyy":G=et(ve.FullYear,3,0,!1,!0);break;case"yyyy":G=et(ve.FullYear,4,0,!1,!0);break;case"Y":G=ta(1);break;case"YY":G=ta(2,!0);break;case"YYY":G=ta(3);break;case"YYYY":G=ta(4);break;case"M":case"L":G=et(ve.Month,1,1);break;case"MM":case"LL":G=et(ve.Month,2,1);break;case"MMM":G=Nt(Xe.Months,ge.Abbreviated);break;case"MMMM":G=Nt(Xe.Months,ge.Wide);break;case"MMMMM":G=Nt(Xe.Months,ge.Narrow);break;case"LLL":G=Nt(Xe.Months,ge.Abbreviated,me.Standalone);break;case"LLLL":G=Nt(Xe.Months,ge.Wide,me.Standalone);break;case"LLLLL":G=Nt(Xe.Months,ge.Narrow,me.Standalone);break;case"w":G=ea(1);break;case"ww":G=ea(2);break;case"W":G=ea(1,!0);break;case"d":G=et(ve.Date,1);break;case"dd":G=et(ve.Date,2);break;case"c":case"cc":G=et(ve.Day,1);break;case"ccc":G=Nt(Xe.Days,ge.Abbreviated,me.Standalone);break;case"cccc":G=Nt(Xe.Days,ge.Wide,me.Standalone);break;case"ccccc":G=Nt(Xe.Days,ge.Narrow,me.Standalone);break;case"cccccc":G=Nt(Xe.Days,ge.Short,me.Standalone);break;case"E":case"EE":case"EEE":G=Nt(Xe.Days,ge.Abbreviated);break;case"EEEE":G=Nt(Xe.Days,ge.Wide);break;case"EEEEE":G=Nt(Xe.Days,ge.Narrow);break;case"EEEEEE":G=Nt(Xe.Days,ge.Short);break;case"a":case"aa":case"aaa":G=Nt(Xe.DayPeriods,ge.Abbreviated);break;case"aaaa":G=Nt(Xe.DayPeriods,ge.Wide);break;case"aaaaa":G=Nt(Xe.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":G=Nt(Xe.DayPeriods,ge.Abbreviated,me.Standalone,!0);break;case"bbbb":G=Nt(Xe.DayPeriods,ge.Wide,me.Standalone,!0);break;case"bbbbb":G=Nt(Xe.DayPeriods,ge.Narrow,me.Standalone,!0);break;case"B":case"BB":case"BBB":G=Nt(Xe.DayPeriods,ge.Abbreviated,me.Format,!0);break;case"BBBB":G=Nt(Xe.DayPeriods,ge.Wide,me.Format,!0);break;case"BBBBB":G=Nt(Xe.DayPeriods,ge.Narrow,me.Format,!0);break;case"h":G=et(ve.Hours,1,-12);break;case"hh":G=et(ve.Hours,2,-12);break;case"H":G=et(ve.Hours,1);break;case"HH":G=et(ve.Hours,2);break;case"m":G=et(ve.Minutes,1);break;case"mm":G=et(ve.Minutes,2);break;case"s":G=et(ve.Seconds,1);break;case"ss":G=et(ve.Seconds,2);break;case"S":G=et(ve.FractionalSeconds,1);break;case"SS":G=et(ve.FractionalSeconds,2);break;case"SSS":G=et(ve.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=Kn(Ne.Short);break;case"ZZZZZ":G=Kn(Ne.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=Kn(Ne.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=Kn(Ne.Long);break;default:return null}return Vn[O]=G,G}(kt);$t+=Vt?Vt(ne,B,ai):"''"===kt?"'":kt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),$t}function Ei(O,G,B){const $=new Date(0);return $.setFullYear(O,G,B),$.setHours(0,0,0),$}function Lt(O,G){const B=function yt(O){return(0,T.cg1)(O)[T.wAp.LocaleId]}(O);if(Be[B]=Be[B]||{},Be[B][G])return Be[B][G];let $="";switch(G){case"shortDate":$=Kt(O,Ae.Short);break;case"mediumDate":$=Kt(O,Ae.Medium);break;case"longDate":$=Kt(O,Ae.Long);break;case"fullDate":$=Kt(O,Ae.Full);break;case"shortTime":$=Mr(O,Ae.Short);break;case"mediumTime":$=Mr(O,Ae.Medium);break;case"longTime":$=Mr(O,Ae.Long);break;case"fullTime":$=Mr(O,Ae.Full);break;case"short":const ne=Lt(O,"shortTime"),_e=Lt(O,"shortDate");$=Sr(cn(O,Ae.Short),[ne,_e]);break;case"medium":const Te=Lt(O,"mediumTime"),rt=Lt(O,"mediumDate");$=Sr(cn(O,Ae.Medium),[Te,rt]);break;case"long":const ai=Lt(O,"longTime"),$t=Lt(O,"longDate");$=Sr(cn(O,Ae.Long),[ai,$t]);break;case"full":const kt=Lt(O,"fullTime"),Vt=Lt(O,"fullDate");$=Sr(cn(O,Ae.Full),[kt,Vt])}return $&&(Be[B][G]=$),$}function Sr(O,G){return G&&(O=O.replace(/\{([^}]+)}/g,function(B,$){return null!=G&&$ in G?G[$]:B})),O}function Di(O,G,B="-",$,ne){let _e="";(O<0||ne&&O<=0)&&(ne?O=1-O:(O=-O,_e=B));let Te=String(O);for(;Te.length0||rt>-B)&&(rt+=B),O===ve.Hours)0===rt&&-12===B&&(rt=12);else if(O===ve.FractionalSeconds)return function ct(O,G){return Di(O,3).substr(0,G)}(rt,G);const ai=zi(Te,ye.MinusSign);return Di(rt,G,ai,$,ne)}}function Nt(O,G,B=me.Format,$=!1){return function(ne,_e){return function At(O,G,B,$,ne,_e){switch(B){case Xe.Months:return function tt(O,G,B){const $=(0,T.cg1)(O),_e=Ii([$[T.wAp.MonthsFormat],$[T.wAp.MonthsStandalone]],G);return Ii(_e,B)}(G,ne,$)[O.getMonth()];case Xe.Days:return function ri(O,G,B){const $=(0,T.cg1)(O),_e=Ii([$[T.wAp.DaysFormat],$[T.wAp.DaysStandalone]],G);return Ii(_e,B)}(G,ne,$)[O.getDay()];case Xe.DayPeriods:const Te=O.getHours(),rt=O.getMinutes();if(_e){const $t=function Ed(O){const G=(0,T.cg1)(O);return La(G),(G[T.wAp.ExtraData][2]||[]).map($=>"string"==typeof $?Xt($):[Xt($[0]),Xt($[1])])}(G),kt=function Ct(O,G,B){const $=(0,T.cg1)(O);La($);const _e=Ii([$[T.wAp.ExtraData][0],$[T.wAp.ExtraData][1]],G)||[];return Ii(_e,B)||[]}(G,ne,$),Vt=$t.findIndex(Vi=>{if(Array.isArray(Vi)){const[di,pi]=Vi,sa=Te>=di.hours&&rt>=di.minutes,lr=Te0?Math.floor(ne/60):Math.ceil(ne/60);switch(O){case Ne.Short:return(ne>=0?"+":"")+Di(Te,2,_e)+Di(Math.abs(ne%60),2,_e);case Ne.ShortGMT:return"GMT"+(ne>=0?"+":"")+Di(Te,1,_e);case Ne.Long:return"GMT"+(ne>=0?"+":"")+Di(Te,2,_e)+":"+Di(Math.abs(ne%60),2,_e);case Ne.Extended:return 0===$?"Z":(ne>=0?"+":"")+Di(Te,2,_e)+":"+Di(Math.abs(ne%60),2,_e);default:throw new Error(`Unknown zone width "${O}"`)}}}function Ia(O){return Ei(O.getFullYear(),O.getMonth(),O.getDate()+(4-O.getDay()))}function ea(O,G=!1){return function(B,$){let ne;if(G){const _e=new Date(B.getFullYear(),B.getMonth(),1).getDay()-1,Te=B.getDate();ne=1+Math.floor((Te+_e)/7)}else{const _e=Ia(B),Te=function uc(O){const G=Ei(O,0,1).getDay();return Ei(O,0,1+(G<=4?4:11)-G)}(_e.getFullYear()),rt=_e.getTime()-Te.getTime();ne=1+Math.round(rt/6048e5)}return Di(ne,O,zi($,ye.MinusSign))}}function ta(O,G=!1){return function(B,$){return Di(Ia(B).getFullYear(),O,zi($,ye.MinusSign),G)}}const Vn={};function ls(O,G){O=O.replace(/:/g,"");const B=Date.parse("Jan 01, 1970 00:00:00 "+O)/6e4;return isNaN(B)?G:B}function Qi(O){return O instanceof Date&&!isNaN(O.valueOf())}class oi{}let Er=(()=>{class O extends oi{constructor(B){super(),this.locale=B}getPluralCategory(B,$){switch(Xr($||this.locale)(B)){case de.Zero:return"zero";case de.One:return"one";case de.Two:return"two";case de.Few:return"few";case de.Many:return"many";default:return"other"}}}return O.\u0275fac=function(B){return new(B||O)(T.LFG(T.soG))},O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O})();function Jo(O,G){G=encodeURIComponent(G);for(const B of O.split(";")){const $=B.indexOf("="),[ne,_e]=-1==$?[B,""]:[B.slice(0,$),B.slice($+1)];if(ne.trim()===G)return decodeURIComponent(_e)}return null}let Oa=(()=>{class O{constructor(B,$,ne,_e){this._iterableDiffers=B,this._keyValueDiffers=$,this._ngEl=ne,this._renderer=_e,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(B){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof B?B.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(B){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof B?B.split(/\s+/):B,this._rawClass&&((0,T.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const B=this._iterableDiffer.diff(this._rawClass);B&&this._applyIterableChanges(B)}else if(this._keyValueDiffer){const B=this._keyValueDiffer.diff(this._rawClass);B&&this._applyKeyValueChanges(B)}}_applyKeyValueChanges(B){B.forEachAddedItem($=>this._toggleClass($.key,$.currentValue)),B.forEachChangedItem($=>this._toggleClass($.key,$.currentValue)),B.forEachRemovedItem($=>{$.previousValue&&this._toggleClass($.key,!1)})}_applyIterableChanges(B){B.forEachAddedItem($=>{if("string"!=typeof $.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,T.AaK)($.item)}`);this._toggleClass($.item,!0)}),B.forEachRemovedItem($=>this._toggleClass($.item,!1))}_applyClasses(B){B&&(Array.isArray(B)||B instanceof Set?B.forEach($=>this._toggleClass($,!0)):Object.keys(B).forEach($=>this._toggleClass($,!!B[$])))}_removeClasses(B){B&&(Array.isArray(B)||B instanceof Set?B.forEach($=>this._toggleClass($,!1)):Object.keys(B).forEach($=>this._toggleClass($,!1)))}_toggleClass(B,$){(B=B.trim())&&B.split(/\s+/g).forEach(ne=>{$?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.ZZ4),T.Y36(T.aQg),T.Y36(T.SBq),T.Y36(T.Qsj))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),O})();class cs{constructor(G,B,$,ne){this.$implicit=G,this.ngForOf=B,this.index=$,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 nn=(()=>{class O{constructor(B,$,ne){this._viewContainer=B,this._template=$,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(B){this._ngForOf=B,this._ngForOfDirty=!0}set ngForTrackBy(B){this._trackByFn=B}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(B){B&&(this._template=B)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const B=this._ngForOf;!this._differ&&B&&(this._differ=this._differs.find(B).create(this.ngForTrackBy))}if(this._differ){const B=this._differ.diff(this._ngForOf);B&&this._applyChanges(B)}}_applyChanges(B){const $=this._viewContainer;B.forEachOperation((ne,_e,Te)=>{if(null==ne.previousIndex)$.createEmbeddedView(this._template,new cs(ne.item,this._ngForOf,-1,-1),null===Te?void 0:Te);else if(null==Te)$.remove(null===_e?void 0:_e);else if(null!==_e){const rt=$.get(_e);$.move(rt,Te),Ba(rt,ne)}});for(let ne=0,_e=$.length;ne<_e;ne++){const rt=$.get(ne).context;rt.index=ne,rt.count=_e,rt.ngForOf=this._ngForOf}B.forEachIdentityChange(ne=>{Ba($.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(B,$){return!0}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(T.ZZ4))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),O})();function Ba(O,G){O.context.$implicit=G.item}let jn=(()=>{class O{constructor(B,$){this._viewContainer=B,this._context=new li,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=$}set ngIf(B){this._context.$implicit=this._context.ngIf=B,this._updateView()}set ngIfThen(B){pc("ngIfThen",B),this._thenTemplateRef=B,this._thenViewRef=null,this._updateView()}set ngIfElse(B){pc("ngIfElse",B),this._elseTemplateRef=B,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(B,$){return!0}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),O})();class li{constructor(){this.$implicit=null,this.ngIf=null}}function pc(O,G){if(G&&!G.createEmbeddedView)throw new Error(`${O} must be a TemplateRef, but received '${(0,T.AaK)(G)}'.`)}class Va{constructor(G,B){this._viewContainerRef=G,this._templateRef=B,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 bn=(()=>{class O{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(B){this._ngSwitch=B,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(B){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(B)}_matchCase(B){const $=B==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||$,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),$}_updateDefaultCases(B){if(this._defaultViews&&B!==this._defaultUsed){this._defaultUsed=B;for(let $=0;${class O{constructor(B,$,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Va(B,$)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(bn,9))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),O})(),Qo=(()=>{class O{constructor(B,$,ne){ne._addDefault(new Va(B,$))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b),T.Y36(T.Rgc),T.Y36(bn,9))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngSwitchDefault",""]]}),O})(),ds=(()=>{class O{constructor(B,$,ne){this._ngEl=B,this._differs=$,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(B){this._ngStyle=B,!this._differ&&B&&(this._differ=this._differs.find(B).create())}ngDoCheck(){if(this._differ){const B=this._differ.diff(this._ngStyle);B&&this._applyChanges(B)}}_setStyle(B,$){const[ne,_e]=B.split(".");null!=($=null!=$&&_e?`${$}${_e}`:$)?this._renderer.setStyle(this._ngEl.nativeElement,ne,$):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(B){B.forEachRemovedItem($=>this._setStyle($.key,null)),B.forEachAddedItem($=>this._setStyle($.key,$.currentValue)),B.forEachChangedItem($=>this._setStyle($.key,$.currentValue))}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.SBq),T.Y36(T.aQg),T.Y36(T.Qsj))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),O})(),Dr=(()=>{class O{constructor(B){this._viewContainerRef=B,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(B){if(B.ngTemplateOutlet){const $=this._viewContainerRef;this._viewRef&&$.remove($.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?$.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&B.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.s_b))},O.\u0275dir=T.lG2({type:O,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[T.TTD]}),O})();function er(O,G){return new T.vHH(2100,"")}class gf{createSubscription(G,B){return G.subscribe({next:B,error:$=>{throw $}})}dispose(G){G.unsubscribe()}onDestroy(G){G.unsubscribe()}}class _f{createSubscription(G,B){return G.then(B,$=>{throw $})}dispose(G){}onDestroy(G){}}const bf=new _f,yf=new gf;let $u=(()=>{class O{constructor(B){this._ref=B,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(B){return this._obj?B!==this._obj?(this._dispose(),this.transform(B)):this._latestValue:(B&&this._subscribe(B),this._latestValue)}_subscribe(B){this._obj=B,this._strategy=this._selectStrategy(B),this._subscription=this._strategy.createSubscription(B,$=>this._updateLatestValue(B,$))}_selectStrategy(B){if((0,T.QGY)(B))return bf;if((0,T.F4k)(B))return yf;throw er()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(B,$){B===this._obj&&(this._latestValue=$,this._ref.markForCheck())}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.sBO,16))},O.\u0275pipe=T.Yjl({name:"async",type:O,pure:!1}),O})();const xn=new T.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Qe=(()=>{class O{constructor(B,$){this.locale=B,this.defaultTimezone=$}transform(B,$="mediumDate",ne,_e){var Te;if(null==B||""===B||B!=B)return null;try{return Ht(B,$,_e||this.locale,null!==(Te=null!=ne?ne:this.defaultTimezone)&&void 0!==Te?Te:void 0)}catch(rt){throw er()}}}return O.\u0275fac=function(B){return new(B||O)(T.Y36(T.soG,16),T.Y36(xn,24))},O.\u0275pipe=T.Yjl({name:"date",type:O,pure:!0}),O})(),ft=(()=>{class O{}return O.\u0275fac=function(B){return new(B||O)},O.\u0275mod=T.oAB({type:O}),O.\u0275inj=T.cJS({providers:[{provide:oi,useClass:Er}]}),O})();const qi="browser";function Mn(O){return O===qi}let ms=(()=>{class O{}return O.\u0275prov=(0,T.Yz7)({token:O,providedIn:"root",factory:()=>new aa((0,T.LFG)(L),window)}),O})();class aa{constructor(G,B){this.document=G,this.window=B,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 B=function $s(O,G){const B=O.getElementById(G)||O.getElementsByName(G)[0];if(B)return B;if("function"==typeof O.createTreeWalker&&O.body&&(O.body.createShadowRoot||O.body.attachShadow)){const $=O.createTreeWalker(O.body,NodeFilter.SHOW_ELEMENT);let ne=$.currentNode;for(;ne;){const _e=ne.shadowRoot;if(_e){const Te=_e.getElementById(G)||_e.querySelector(`[name="${G}"]`);if(Te)return Te}ne=$.nextNode()}}return null}(this.document,G);B&&(this.scrollToElement(B),B.focus())}setHistoryScrollRestoration(G){if(this.supportScrollRestoration()){const B=this.window.history;B&&B.scrollRestoration&&(B.scrollRestoration=G)}}scrollToElement(G){const B=G.getBoundingClientRect(),$=B.left+this.window.pageXOffset,ne=B.top+this.window.pageYOffset,_e=this.offset();this.window.scrollTo($-_e[0],ne-_e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const G=Xo(this.window.history)||Xo(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 Xo(O){return Object.getOwnPropertyDescriptor(O,"scrollRestoration")}class Bt{}},520:(Y,U,x)=>{"use strict";x.d(U,{TP:()=>yt,eN:()=>ye,JF:()=>Ii,qT:()=>ze,WM:()=>J,LE:()=>fe,Zn:()=>me});var T=x(9808),i=x(5e3),S=x(9646),M=x(8306),E=x(4351),P=x(9300),L=x(4004);class V{}class z{}class J{constructor(le){this.normalizedNames=new Map,this.lazyUpdate=null,le?this.lazyInit="string"==typeof le?()=>{this.headers=new Map,le.split("\n").forEach(ae=>{const Be=ae.indexOf(":");if(Be>0){const He=ae.slice(0,Be),Ne=He.toLowerCase(),ve=ae.slice(Be+1).trim();this.maybeSetNormalizedName(He,Ne),this.headers.has(Ne)?this.headers.get(Ne).push(ve):this.headers.set(Ne,[ve])}})}:()=>{this.headers=new Map,Object.keys(le).forEach(ae=>{let Be=le[ae];const He=ae.toLowerCase();"string"==typeof Be&&(Be=[Be]),Be.length>0&&(this.headers.set(He,Be),this.maybeSetNormalizedName(ae,He))})}:this.headers=new Map}has(le){return this.init(),this.headers.has(le.toLowerCase())}get(le){this.init();const ae=this.headers.get(le.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(le){return this.init(),this.headers.get(le.toLowerCase())||null}append(le,ae){return this.clone({name:le,value:ae,op:"a"})}set(le,ae){return this.clone({name:le,value:ae,op:"s"})}delete(le,ae){return this.clone({name:le,value:ae,op:"d"})}maybeSetNormalizedName(le,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,le)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(le=>this.applyUpdate(le)),this.lazyUpdate=null))}copyFrom(le){le.init(),Array.from(le.headers.keys()).forEach(ae=>{this.headers.set(ae,le.headers.get(ae)),this.normalizedNames.set(ae,le.normalizedNames.get(ae))})}clone(le){const ae=new J;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([le]),ae}applyUpdate(le){const ae=le.name.toLowerCase();switch(le.op){case"a":case"s":let Be=le.value;if("string"==typeof Be&&(Be=[Be]),0===Be.length)return;this.maybeSetNormalizedName(le.name,ae);const He=("a"===le.op?this.headers.get(ae):void 0)||[];He.push(...Be),this.headers.set(ae,He);break;case"d":const Ne=le.value;if(Ne){let ve=this.headers.get(ae);if(!ve)return;ve=ve.filter(Xe=>-1===Ne.indexOf(Xe)),0===ve.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,ve)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}forEach(le){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>le(this.normalizedNames.get(ae),this.headers.get(ae)))}}class Q{encodeKey(le){return te(le)}encodeValue(le){return te(le)}decodeKey(le){return decodeURIComponent(le)}decodeValue(le){return decodeURIComponent(le)}}const ce=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(Me){return encodeURIComponent(Me).replace(ce,(le,ae)=>{var Be;return null!==(Be=ie[ae])&&void 0!==Be?Be:le})}function he(Me){return`${Me}`}class fe{constructor(le={}){if(this.updates=null,this.cloneFrom=null,this.encoder=le.encoder||new Q,le.fromString){if(le.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oe(Me,le){const ae=new Map;return Me.length>0&&Me.replace(/^\?/,"").split("&").forEach(He=>{const Ne=He.indexOf("="),[ve,Xe]=-1==Ne?[le.decodeKey(He),""]:[le.decodeKey(He.slice(0,Ne)),le.decodeValue(He.slice(Ne+1))],Ht=ae.get(ve)||[];Ht.push(Xe),ae.set(ve,Ht)}),ae}(le.fromString,this.encoder)}else le.fromObject?(this.map=new Map,Object.keys(le.fromObject).forEach(ae=>{const Be=le.fromObject[ae];this.map.set(ae,Array.isArray(Be)?Be:[Be])})):this.map=null}has(le){return this.init(),this.map.has(le)}get(le){this.init();const ae=this.map.get(le);return ae?ae[0]:null}getAll(le){return this.init(),this.map.get(le)||null}keys(){return this.init(),Array.from(this.map.keys())}append(le,ae){return this.clone({param:le,value:ae,op:"a"})}appendAll(le){const ae=[];return Object.keys(le).forEach(Be=>{const He=le[Be];Array.isArray(He)?He.forEach(Ne=>{ae.push({param:Be,value:Ne,op:"a"})}):ae.push({param:Be,value:He,op:"a"})}),this.clone(ae)}set(le,ae){return this.clone({param:le,value:ae,op:"s"})}delete(le,ae){return this.clone({param:le,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(le=>{const ae=this.encoder.encodeKey(le);return this.map.get(le).map(Be=>ae+"="+this.encoder.encodeValue(Be)).join("&")}).filter(le=>""!==le).join("&")}clone(le){const ae=new fe({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(le),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(le=>this.map.set(le,this.cloneFrom.map.get(le))),this.updates.forEach(le=>{switch(le.op){case"a":case"s":const ae=("a"===le.op?this.map.get(le.param):void 0)||[];ae.push(he(le.value)),this.map.set(le.param,ae);break;case"d":if(void 0===le.value){this.map.delete(le.param);break}{let Be=this.map.get(le.param)||[];const He=Be.indexOf(he(le.value));-1!==He&&Be.splice(He,1),Be.length>0?this.map.set(le.param,Be):this.map.delete(le.param)}}}),this.cloneFrom=this.updates=null)}}class ze{constructor(){this.map=new Map}set(le,ae){return this.map.set(le,ae),this}get(le){return this.map.has(le)||this.map.set(le,le.defaultValue()),this.map.get(le)}delete(le){return this.map.delete(le),this}has(le){return this.map.has(le)}keys(){return this.map.keys()}}function Ee(Me){return"undefined"!=typeof ArrayBuffer&&Me instanceof ArrayBuffer}function we(Me){return"undefined"!=typeof Blob&&Me instanceof Blob}function xe(Me){return"undefined"!=typeof FormData&&Me instanceof FormData}class ke{constructor(le,ae,Be,He){let Ne;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=le.toUpperCase(),function qe(Me){switch(Me){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==Be?Be:null,Ne=He):Ne=Be,Ne&&(this.reportProgress=!!Ne.reportProgress,this.withCredentials=!!Ne.withCredentials,Ne.responseType&&(this.responseType=Ne.responseType),Ne.headers&&(this.headers=Ne.headers),Ne.context&&(this.context=Ne.context),Ne.params&&(this.params=Ne.params)),this.headers||(this.headers=new J),this.context||(this.context=new ze),this.params){const ve=this.params.toString();if(0===ve.length)this.urlWithParams=ae;else{const Xe=ae.indexOf("?");this.urlWithParams=ae+(-1===Xe?"?":XeDi.set(ct,le.setHeaders[ct]),Ei)),le.setParams&&(Lt=Object.keys(le.setParams).reduce((Di,ct)=>Di.set(ct,le.setParams[ct]),Lt)),new ke(Be,He,ve,{params:Lt,headers:Ei,context:Sr,reportProgress:Ht,responseType:Ne,withCredentials:Xe})}}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 Je{constructor(le,ae=200,Be="OK"){this.headers=le.headers||new J,this.status=void 0!==le.status?le.status:ae,this.statusText=le.statusText||Be,this.url=le.url||null,this.ok=this.status>=200&&this.status<300}}class de extends Je{constructor(le={}){super(le),this.type=Oe.ResponseHeader}clone(le={}){return new de({headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class me extends Je{constructor(le={}){super(le),this.type=Oe.Response,this.body=void 0!==le.body?le.body:null}clone(le={}){return new me({body:void 0!==le.body?le.body:this.body,headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class ge extends Je{constructor(le){super(le,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${le.url||"(unknown url)"}`:`Http failure response for ${le.url||"(unknown url)"}: ${le.status} ${le.statusText}`,this.error=le.error||null}}function Ae(Me,le){return{body:le,headers:Me.headers,context:Me.context,observe:Me.observe,params:Me.params,reportProgress:Me.reportProgress,responseType:Me.responseType,withCredentials:Me.withCredentials}}let ye=(()=>{class Me{constructor(ae){this.handler=ae}request(ae,Be,He={}){let Ne;if(ae instanceof ke)Ne=ae;else{let Ht,Ei;Ht=He.headers instanceof J?He.headers:new J(He.headers),He.params&&(Ei=He.params instanceof fe?He.params:new fe({fromObject:He.params})),Ne=new ke(ae,Be,void 0!==He.body?He.body:null,{headers:Ht,context:He.context,params:Ei,reportProgress:He.reportProgress,responseType:He.responseType||"json",withCredentials:He.withCredentials})}const ve=(0,S.of)(Ne).pipe((0,E.b)(Ht=>this.handler.handle(Ht)));if(ae instanceof ke||"events"===He.observe)return ve;const Xe=ve.pipe((0,P.h)(Ht=>Ht instanceof me));switch(He.observe||"body"){case"body":switch(Ne.responseType){case"arraybuffer":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&!(Ht.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ht.body}));case"blob":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&!(Ht.body instanceof Blob))throw new Error("Response is not a Blob.");return Ht.body}));case"text":return Xe.pipe((0,L.U)(Ht=>{if(null!==Ht.body&&"string"!=typeof Ht.body)throw new Error("Response is not a string.");return Ht.body}));default:return Xe.pipe((0,L.U)(Ht=>Ht.body))}case"response":return Xe;default:throw new Error(`Unreachable: unhandled observe type ${He.observe}}`)}}delete(ae,Be={}){return this.request("DELETE",ae,Be)}get(ae,Be={}){return this.request("GET",ae,Be)}head(ae,Be={}){return this.request("HEAD",ae,Be)}jsonp(ae,Be){return this.request("JSONP",ae,{params:(new fe).append(Be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ae,Be={}){return this.request("OPTIONS",ae,Be)}patch(ae,Be,He={}){return this.request("PATCH",ae,Ae(He,Be))}post(ae,Be,He={}){return this.request("POST",ae,Ae(He,Be))}put(ae,Be,He={}){return this.request("PUT",ae,Ae(He,Be))}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(V))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();class Ue{constructor(le,ae){this.next=le,this.interceptor=ae}handle(le){return this.interceptor.intercept(le,this.next)}}const yt=new i.OlP("HTTP_INTERCEPTORS");let jt=(()=>{class Me{intercept(ae,Be){return Be.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const cn=/^\)\]\}',?\n/;let Kr=(()=>{class Me{constructor(ae){this.xhrFactory=ae}handle(ae){if("JSONP"===ae.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new M.y(Be=>{const He=this.xhrFactory.build();if(He.open(ae.method,ae.urlWithParams),ae.withCredentials&&(He.withCredentials=!0),ae.headers.forEach((ct,et)=>He.setRequestHeader(ct,et.join(","))),ae.headers.has("Accept")||He.setRequestHeader("Accept","application/json, text/plain, */*"),!ae.headers.has("Content-Type")){const ct=ae.detectContentTypeHeader();null!==ct&&He.setRequestHeader("Content-Type",ct)}if(ae.responseType){const ct=ae.responseType.toLowerCase();He.responseType="json"!==ct?ct:"text"}const Ne=ae.serializeBody();let ve=null;const Xe=()=>{if(null!==ve)return ve;const ct=He.statusText||"OK",et=new J(He.getAllResponseHeaders()),vn=function zi(Me){return"responseURL"in Me&&Me.responseURL?Me.responseURL:/^X-Request-URL:/m.test(Me.getAllResponseHeaders())?Me.getResponseHeader("X-Request-URL"):null}(He)||ae.url;return ve=new de({headers:et,status:He.status,statusText:ct,url:vn}),ve},Ht=()=>{let{headers:ct,status:et,statusText:vn,url:Nt}=Xe(),At=null;204!==et&&(At=void 0===He.response?He.responseText:He.response),0===et&&(et=At?200:0);let Kn=et>=200&&et<300;if("json"===ae.responseType&&"string"==typeof At){const Bn=At;At=At.replace(cn,"");try{At=""!==At?JSON.parse(At):null}catch(Tn){At=Bn,Kn&&(Kn=!1,At={error:Tn,text:At})}}Kn?(Be.next(new me({body:At,headers:ct,status:et,statusText:vn,url:Nt||void 0})),Be.complete()):Be.error(new ge({error:At,headers:ct,status:et,statusText:vn,url:Nt||void 0}))},Ei=ct=>{const{url:et}=Xe(),vn=new ge({error:ct,status:He.status||0,statusText:He.statusText||"Unknown Error",url:et||void 0});Be.error(vn)};let Lt=!1;const Sr=ct=>{Lt||(Be.next(Xe()),Lt=!0);let et={type:Oe.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(et.total=ct.total),"text"===ae.responseType&&!!He.responseText&&(et.partialText=He.responseText),Be.next(et)},Di=ct=>{let et={type:Oe.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(et.total=ct.total),Be.next(et)};return He.addEventListener("load",Ht),He.addEventListener("error",Ei),He.addEventListener("timeout",Ei),He.addEventListener("abort",Ei),ae.reportProgress&&(He.addEventListener("progress",Sr),null!==Ne&&He.upload&&He.upload.addEventListener("progress",Di)),He.send(Ne),Be.next({type:Oe.Sent}),()=>{He.removeEventListener("error",Ei),He.removeEventListener("abort",Ei),He.removeEventListener("load",Ht),He.removeEventListener("timeout",Ei),ae.reportProgress&&(He.removeEventListener("progress",Sr),null!==Ne&&He.upload&&He.upload.removeEventListener("progress",Di)),He.readyState!==He.DONE&&He.abort()}})}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(T.JF))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})();const Ys=new i.OlP("XSRF_COOKIE_NAME"),zs=new i.OlP("XSRF_HEADER_NAME");class Us{}let Ra=(()=>{class Me{constructor(ae,Be,He){this.doc=ae,this.platform=Be,this.cookieName=He,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ae=this.doc.cookie||"";return ae!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,T.Mx)(ae,this.cookieName),this.lastCookieString=ae),this.lastToken}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(T.K0),i.LFG(i.Lbi),i.LFG(Ys))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),Xr=(()=>{class Me{constructor(ae,Be){this.tokenService=ae,this.headerName=Be}intercept(ae,Be){const He=ae.url.toLowerCase();if("GET"===ae.method||"HEAD"===ae.method||He.startsWith("http://")||He.startsWith("https://"))return Be.handle(ae);const Ne=this.tokenService.getToken();return null!==Ne&&!ae.headers.has(this.headerName)&&(ae=ae.clone({headers:ae.headers.set(this.headerName,Ne)})),Be.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(Us),i.LFG(zs))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),La=(()=>{class Me{constructor(ae,Be){this.backend=ae,this.injector=Be,this.chain=null}handle(ae){if(null===this.chain){const Be=this.injector.get(yt,[]);this.chain=Be.reduceRight((He,Ne)=>new Ue(He,Ne),this.backend)}return this.chain.handle(ae)}}return Me.\u0275fac=function(ae){return new(ae||Me)(i.LFG(z),i.LFG(i.zs3))},Me.\u0275prov=i.Yz7({token:Me,factory:Me.\u0275fac}),Me})(),$o=(()=>{class Me{static disable(){return{ngModule:Me,providers:[{provide:Xr,useClass:jt}]}}static withOptions(ae={}){return{ngModule:Me,providers:[ae.cookieName?{provide:Ys,useValue:ae.cookieName}:[],ae.headerName?{provide:zs,useValue:ae.headerName}:[]]}}}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275mod=i.oAB({type:Me}),Me.\u0275inj=i.cJS({providers:[Xr,{provide:yt,useExisting:Xr,multi:!0},{provide:Us,useClass:Ra},{provide:Ys,useValue:"XSRF-TOKEN"},{provide:zs,useValue:"X-XSRF-TOKEN"}]}),Me})(),Ii=(()=>{class Me{}return Me.\u0275fac=function(ae){return new(ae||Me)},Me.\u0275mod=i.oAB({type:Me}),Me.\u0275inj=i.cJS({providers:[ye,{provide:V,useClass:La},Kr,{provide:z,useExisting:Kr}],imports:[[$o.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Me})()},5e3:(Y,U,x)=>{"use strict";x.d(U,{deG:()=>fl,tb:()=>kC,AFp:()=>jT,ip1:()=>Rg,CZH:()=>Zl,hGG:()=>hx,z2F:()=>Fu,sBO:()=>XT,Sil:()=>Og,_Vd:()=>Ul,EJc:()=>Ig,SBq:()=>ld,qLn:()=>Sl,vpe:()=>Ta,tBr:()=>Al,XFs:()=>Ct,OlP:()=>xi,zs3:()=>Ur,ZZ4:()=>$p,aQg:()=>Yo,soG:()=>Jl,YKP:()=>hT,h0i:()=>Su,PXZ:()=>ZT,R0b:()=>$r,FiY:()=>za,Lbi:()=>$l,g9A:()=>_d,n_E:()=>hd,Qsj:()=>Tp,FYo:()=>vp,JOm:()=>Ds,q3G:()=>Xi,tp0:()=>qa,Rgc:()=>Bo,dDg:()=>LC,GfV:()=>Zr,s_b:()=>pd,ifc:()=>Ne,eFA:()=>VC,G48:()=>KT,Gpc:()=>Q,f3M:()=>gh,_c5:()=>Xl,VLi:()=>OC,c2e:()=>Lg,zSh:()=>_m,wAp:()=>ht,vHH:()=>te,EiD:()=>Ww,mCW:()=>Ch,qzn:()=>Rc,JVY:()=>Ow,pB0:()=>y_,eBb:()=>Bw,L6k:()=>zf,LAX:()=>Vw,cg1:()=>_y,kL8:()=>by,yhl:()=>b_,dqk:()=>Lt,sIi:()=>pu,CqO:()=>yr,QGY:()=>rp,F4k:()=>Gn,RDi:()=>Xo,AaK:()=>V,z3N:()=>Ga,qOj:()=>Dm,TTD:()=>hn,_Bn:()=>lg,xp6:()=>Xf,uIk:()=>ar,Tol:()=>_u,Gre:()=>es,ekj:()=>oy,Suo:()=>bC,Xpm:()=>Ia,lG2:()=>je,Yz7:()=>Kt,cJS:()=>cn,oAB:()=>ls,Yjl:()=>ui,Y36:()=>Wr,_UZ:()=>Ub,GkF:()=>Wb,BQk:()=>np,ynx:()=>ip,qZA:()=>tp,TgZ:()=>Fm,EpF:()=>Zb,n5z:()=>oh,Ikx:()=>eg,LFG:()=>sn,$8M:()=>vs,$Z:()=>jm,NdJ:()=>ap,CRH:()=>wg,kcU:()=>ol,O4$:()=>Xu,oxw:()=>Nm,ALo:()=>yT,lcZ:()=>ud,xi3:()=>Pu,Dn7:()=>ql,Hsn:()=>Kb,F$t:()=>Qb,Q6J:()=>Xh,s9C:()=>Ym,DdM:()=>nC,VKq:()=>Hp,WLB:()=>Hu,iGM:()=>AT,MAs:()=>Pb,Jf7:()=>nA,CHM:()=>gc,oJD:()=>Cn,LSH:()=>Gf,Udp:()=>op,WFA:()=>gu,d8E:()=>dp,YNc:()=>Hb,W1O:()=>yC,_uU:()=>Sv,Oqu:()=>Jm,hij:()=>Ro,AsE:()=>Vl,xDo:()=>py,Gf:()=>Cg});var T=x(7579),i=x(727),S=x(8306),M=x(6451),E=x(3099);function P(p){for(let m in p)if(p[m]===P)return m;throw Error("Could not find renamed property on target object.")}function L(p,m){for(const g in m)m.hasOwnProperty(g)&&!p.hasOwnProperty(g)&&(p[g]=m[g])}function V(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(V).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const g=m.indexOf("\n");return-1===g?m:m.substring(0,g)}function z(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const J=P({__forward_ref__:P});function Q(p){return p.__forward_ref__=Q,p.toString=function(){return V(this())},p}function oe(p){return ce(p)?p():p}function ce(p){return"function"==typeof p&&p.hasOwnProperty(J)&&p.__forward_ref__===Q}class te extends Error{constructor(m,g){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,g)),this.code=m}}function fe(p){return"string"==typeof p?p:null==p?"":String(p)}function Re(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():fe(p)}function we(p,m){const g=m?` in ${m}`:"";throw new te(-201,`No provider for ${Re(p)} found${g}`)}function ri(p,m){null==p&&function tt(p,m,g,_){throw new Error(`ASSERTION ERROR: ${p}`+(null==_?"":` [Expected=> ${g} ${_} ${m} <=Actual]`))}(m,p,null,"!=")}function Kt(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function cn(p){return{providers:p.providers||[],imports:p.imports||[]}}function zi(p){return Kr(p,Ra)||Kr(p,La)}function Kr(p,m){return p.hasOwnProperty(m)?p[m]:null}function Us(p){return p&&(p.hasOwnProperty(Xr)||p.hasOwnProperty(Ed))?p[Xr]:null}const Ra=P({\u0275prov:P}),Xr=P({\u0275inj:P}),La=P({ngInjectableDef:P}),Ed=P({ngInjectorDef:P});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let $o;function Xt(p){const m=$o;return $o=p,m}function dn(p,m,g){const _=zi(p);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:g&Ct.Optional?null:void 0!==m?m:void we(V(p),"Injector")}function le(p){return{toString:p}.toString()}var ae=(()=>((ae=ae||{})[ae.OnPush=0]="OnPush",ae[ae.Default=1]="Default",ae))(),Ne=(()=>{return(p=Ne||(Ne={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",Ne;var p})();const ve="undefined"!=typeof globalThis&&globalThis,Xe="undefined"!=typeof window&&window,Ht="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt=ve||"undefined"!=typeof global&&global||Xe||Ht,ct={},et=[],vn=P({\u0275cmp:P}),Nt=P({\u0275dir:P}),At=P({\u0275pipe:P}),Kn=P({\u0275mod:P}),Bn=P({\u0275fac:P}),Tn=P({__NG_ELEMENT_ID__:P});let uc=0;function Ia(p){return le(()=>{const g={},_={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||et,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||Ne.Emulated,id:"c",styles:p.styles||et,_:null,setInput:null,schemas:p.schemas||null,tView:null},y=p.directives,w=p.features,D=p.pipes;return _.id+=uc++,_.inputs=C(p.inputs,g),_.outputs=C(p.outputs),w&&w.forEach(k=>k(_)),_.directiveDefs=y?()=>("function"==typeof y?y():y).map(ta):null,_.pipeDefs=D?()=>("function"==typeof D?D():D).map(Vn):null,_})}function ta(p){return Qi(p)||function it(p){return p[Nt]||null}(p)}function Vn(p){return function Xn(p){return p[At]||null}(p)}const os={};function ls(p){return le(()=>{const m={type:p.type,bootstrap:p.bootstrap||et,declarations:p.declarations||et,imports:p.imports||et,exports:p.exports||et,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(os[p.id]=p.type),m})}function C(p,m){if(null==p)return ct;const g={};for(const _ in p)if(p.hasOwnProperty(_)){let y=p[_],w=y;Array.isArray(y)&&(w=y[1],y=y[0]),g[y]=_,m&&(m[y]=w)}return g}const je=Ia;function ui(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function Qi(p){return p[vn]||null}function wt(p,m){const g=p[Kn]||null;if(!g&&!0===m)throw new Error(`Type ${V(p)} does not have '\u0275mod' property.`);return g}function bn(p){return Array.isArray(p)&&"object"==typeof p[1]}function Fn(p){return Array.isArray(p)&&!0===p[1]}function Qo(p){return 0!=(8&p.flags)}function ja(p){return 2==(2&p.flags)}function na(p){return 1==(1&p.flags)}function Nn(p){return null!==p.template}function ds(p){return 0!=(512&p[2])}function rn(p,m){return p.hasOwnProperty(Bn)?p[Bn]:null}class Rt{constructor(m,g,_){this.previousValue=m,this.currentValue=g,this.firstChange=_}isFirstChange(){return this.firstChange}}function hn(){return yn}function yn(p){return p.type.prototype.ngOnChanges&&(p.setInput=mc),fc}function fc(){const p=qi(this),m=null==p?void 0:p.current;if(m){const g=p.previous;if(g===ct)p.previous=m;else for(let _ in m)g[_]=m[_];p.current=null,this.ngOnChanges(m)}}function mc(p,m,g,_){const y=qi(p)||function Yt(p,m){return p[ft]=m}(p,{previous:ct,current:null}),w=y.current||(y.current={}),D=y.previous,k=this.declaredInputs[g],R=D[k];w[k]=new Rt(R&&R.currentValue,m,D===ct),p[_]=m}hn.ngInherit=!0;const ft="__ngSimpleChanges__";function qi(p){return p[ft]||null}let aa;function Xo(p){aa=p}function $s(){return void 0!==aa?aa:"undefined"!=typeof document?document:void 0}function Bt(p){return!!p.listen}const O={createRenderer:(p,m)=>$s()};function B(p){for(;Array.isArray(p);)p=p[0];return p}function _e(p,m){return B(m[p])}function Te(p,m){return B(m[p.index])}function ai(p,m){return p.data[m]}function $t(p,m){return p[m]}function kt(p,m){const g=m[p];return bn(g)?g:g[0]}function Vt(p){return 4==(4&p[2])}function Vi(p){return 128==(128&p[2])}function pi(p,m){return null==m?null:p[m]}function sa(p){p[18]=0}function lr(p,m){p[5]+=m;let g=p,_=p[3];for(;null!==_&&(1===m&&1===g[5]||-1===m&&0===g[5]);)_[5]+=m,g=_,_=_[3]}const dt={lFrame:eo(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function _s(){return dt.bindingsEnabled}function De(){return dt.lFrame.lView}function Ut(){return dt.lFrame.tView}function gc(p){return dt.lFrame.contextLView=p,p[8]}function si(){let p=Hd();for(;null!==p&&64===p.type;)p=p.parent;return p}function Hd(){return dt.lFrame.currentTNode}function cr(p,m){const g=dt.lFrame;g.currentTNode=p,g.isParent=m}function kd(){return dt.lFrame.isParent}function Gi(){dt.lFrame.isParent=!1}function _c(){return dt.isInCheckNoChangesMode}function il(p){dt.isInCheckNoChangesMode=p}function an(){const p=dt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function oa(){return dt.lFrame.bindingIndex}function Ks(){return dt.lFrame.bindingIndex++}function Sn(p){const m=dt.lFrame,g=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,g}function ys(p,m){const g=dt.lFrame;g.bindingIndex=g.bindingRootIndex=p,Pr(m)}function Pr(p){dt.lFrame.currentDirectiveIndex=p}function rl(p){const m=dt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Fa(){return dt.lFrame.currentQueryIndex}function bc(p){dt.lFrame.currentQueryIndex=p}function Ku(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function al(p,m,g){if(g&Ct.SkipSelf){let y=m,w=p;for(;!(y=y.parent,null!==y||g&Ct.Host||(y=Ku(w),null===y||(w=w[15],10&y.type))););if(null===y)return!1;m=y,p=w}const _=dt.lFrame=Cs();return _.currentTNode=m,_.lView=p,!0}function Xs(p){const m=Cs(),g=p[1];dt.lFrame=m,m.currentTNode=g.firstChild,m.lView=p,m.tView=g,m.contextLView=p,m.bindingIndex=g.bindingStartIndex,m.inI18n=!1}function Cs(){const p=dt.lFrame,m=null===p?null:p.child;return null===m?eo(p):m}function eo(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function Rd(){const p=dt.lFrame;return dt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const sl=Rd;function yc(){const p=Rd();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function pn(){return dt.lFrame.selectedIndex}function la(p){dt.lFrame.selectedIndex=p}function Ti(){const p=dt.lFrame;return ai(p.tView,p.selectedIndex)}function Xu(){dt.lFrame.currentNamespace="svg"}function ol(){!function Cf(){dt.lFrame.currentNamespace=null}()}function ll(p,m){for(let g=m.directiveStart,_=m.directiveEnd;g<_;g++){const w=p.data[g].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:k,ngAfterViewInit:R,ngAfterViewChecked:N,ngOnDestroy:q}=w;D&&(p.contentHooks||(p.contentHooks=[])).push(-g,D),k&&((p.contentHooks||(p.contentHooks=[])).push(g,k),(p.contentCheckHooks||(p.contentCheckHooks=[])).push(g,k)),R&&(p.viewHooks||(p.viewHooks=[])).push(-g,R),N&&((p.viewHooks||(p.viewHooks=[])).push(g,N),(p.viewCheckHooks||(p.viewCheckHooks=[])).push(g,N)),null!=q&&(p.destroyHooks||(p.destroyHooks=[])).push(g,q)}}function wc(p,m,g){Ac(p,m,3,g)}function to(p,m,g,_){(3&p[2])===g&&Ac(p,m,g,_)}function io(p,m){let g=p[2];(3&g)===m&&(g&=2047,g+=1,p[2]=g)}function Ac(p,m,g,_){const w=null!=_?_:-1,D=m.length-1;let k=0;for(let R=void 0!==_?65535&p[18]:0;R=_)break}else m[R]<0&&(p[18]+=65536),(k>11>16&&(3&p[2])===m){p[2]+=2048;try{w.call(k)}finally{}}}else try{w.call(k)}finally{}}class no{constructor(m,g,_){this.factory=m,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=_}}function cl(p,m,g){const _=Bt(p);let y=0;for(;ym){D=w-1;break}}}for(;w>16}(p),_=m;for(;g>0;)_=_[15],g--;return _}let As=!0;function so(p){const m=As;return As=p,m}let Sc=0;function oo(p,m){const g=ua(p,m);if(-1!==g)return g;const _=m[1];_.firstCreatePass&&(p.injectorIndex=m.length,lo(_.data,p),lo(m,null),lo(_.blueprint,null));const y=Rr(p,m),w=p.injectorIndex;if(ul(y)){const D=ao(y),k=da(y,m),R=k[1].data;for(let N=0;N<8;N++)m[w+N]=k[D+N]|R[D+N]}return m[w+8]=y,w}function lo(p,m){p.push(0,0,0,0,0,0,0,0,m)}function ua(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function Rr(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let g=0,_=null,y=m;for(;null!==y;){const w=y[1],D=w.type;if(_=2===D?w.declTNode:1===D?y[6]:null,null===_)return-1;if(g++,y=y[15],-1!==_.injectorIndex)return _.injectorIndex|g<<16}return-1}function hl(p,m,g){!function rh(p,m,g){let _;"string"==typeof g?_=g.charCodeAt(0)||0:g.hasOwnProperty(Tn)&&(_=g[Tn]),null==_&&(_=g[Tn]=Sc++);const y=255&_;m.data[p+(y>>5)]|=1<=0?255&m:Mf:m}(g);if("function"==typeof w){if(!al(m,p,_))return _&Ct.Host?Od(y,g,_):Ec(m,g,_,y);try{const D=w(_);if(null!=D||_&Ct.Optional)return D;we(g)}finally{sl()}}else if("number"==typeof w){let D=null,k=ua(p,m),R=-1,N=_&Ct.Host?m[16][6]:null;for((-1===k||_&Ct.SkipSelf)&&(R=-1===k?Rr(p,m):m[k+8],-1!==R&&sh(_,!1)?(D=m[1],k=ao(R),m=da(R,m)):k=-1);-1!==k;){const q=m[1];if(Ya(w,k,q.data)){const X=Sf(k,m,g,D,_,N);if(X!==ah)return X}R=m[k+8],-1!==R&&sh(_,m[1].data[k+8]===N)&&Ya(w,k,m)?(D=q,k=ao(R),m=da(R,m)):k=-1}}}return Ec(m,g,_,y)}const ah={};function Mf(){return new uo(si(),De())}function Sf(p,m,g,_,y,w){const D=m[1],k=D.data[p+8],q=co(k,D,g,null==_?ja(k)&&As:_!=D&&0!=(3&k.type),y&Ct.Host&&w===k);return null!==q?tr(m,D,q,k):ah}function co(p,m,g,_,y){const w=p.providerIndexes,D=m.data,k=1048575&w,R=p.directiveStart,q=w>>20,re=y?k+q:p.directiveEnd;for(let ue=_?k:k+q;ue=R&&Ce.type===g)return ue}if(y){const ue=D[R];if(ue&&Nn(ue)&&ue.type===g)return R}return null}function tr(p,m,g,_){let y=p[g];const w=m.data;if(function th(p){return p instanceof no}(y)){const D=y;D.resolving&&function ze(p,m){const g=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new te(-200,`Circular dependency in DI detected for ${p}${g}`)}(Re(w[g]));const k=so(D.canSeeViewProviders);D.resolving=!0;const R=D.injectImpl?Xt(D.injectImpl):null;al(p,_,Ct.Default);try{y=p[g]=D.factory(void 0,w,p,_),m.firstCreatePass&&g>=_.directiveStart&&function ws(p,m,g){const{ngOnChanges:_,ngOnInit:y,ngDoCheck:w}=m.type.prototype;if(_){const D=yn(m);(g.preOrderHooks||(g.preOrderHooks=[])).push(p,D),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,D)}y&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-p,y),w&&((g.preOrderHooks||(g.preOrderHooks=[])).push(p,w),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,w))}(g,w[g],m)}finally{null!==R&&Xt(R),so(k),D.resolving=!1,sl()}}return y}function Ya(p,m,g){return!!(g[m+(p>>5)]&1<{const m=p.prototype.constructor,g=m[Bn]||Vd(m),_=Object.prototype;let y=Object.getPrototypeOf(p.prototype).constructor;for(;y&&y!==_;){const w=y[Bn]||Vd(y);if(w&&w!==g)return w;y=Object.getPrototypeOf(y)}return w=>new w})}function Vd(p){return ce(p)?()=>{const m=Vd(oe(p));return m&&m()}:rn(p)}function vs(p){return function Na(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const g=p.attrs;if(g){const _=g.length;let y=0;for(;y<_;){const w=g[y];if(xc(w))break;if(0===w)y+=2;else if("number"==typeof w)for(y++;y<_&&"string"==typeof g[y];)y++;else{if(w===m)return g[y+1];y+=2}}}return null}(si(),p)}const ho="__parameters__";function Ts(p,m,g){return le(()=>{const _=function jd(p){return function(...g){if(p){const _=p(...g);for(const y in _)this[y]=_[y]}}}(m);function y(...w){if(this instanceof y)return _.apply(this,w),this;const D=new y(...w);return k.annotation=D,k;function k(R,N,q){const X=R.hasOwnProperty(ho)?R[ho]:Object.defineProperty(R,ho,{value:[]})[ho];for(;X.length<=q;)X.push(null);return(X[q]=X[q]||[]).push(D),R}}return g&&(y.prototype=Object.create(g.prototype)),y.prototype.ngMetadataName=p,y.annotationCls=y,y})}class xi{constructor(m,g){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=Kt({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}toString(){return`InjectionToken ${this._desc}`}}const fl=new xi("AnalyzeForEntryComponents");function zn(p,m){void 0===m&&(m=p);for(let g=0;gArray.isArray(g)?Dn(g,m):m(g))}function Fd(p,m,g){m>=p.length?p.push(g):p.splice(m,0,g)}function Dc(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function bl(p,m){const g=[];for(let _=0;_=0?p[1|_]=g:(_=~_,function Rf(p,m,g,_){let y=p.length;if(y==m)p.push(g,_);else if(1===y)p.push(_,p[0]),p[0]=g;else{for(y--,p.push(p[y-1],p[y]);y>m;)p[y]=p[y-2],y--;p[m]=g,p[m+1]=_}}(p,_,m,g)),_}function Nd(p,m){const g=xs(p,m);if(g>=0)return p[1|g]}function xs(p,m){return function yl(p,m,g){let _=0,y=p.length>>g;for(;y!==_;){const w=_+(y-_>>1),D=p[w<m?y=w:_=w+1}return~(y<({token:p})),-1),za=bo(Ts("Optional"),8),qa=bo(Ts("SkipSelf"),4);let St,se;function H(p){var m;return(null===(m=function v(){if(void 0===St&&(St=null,Lt.trustedTypes))try{St=Lt.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return St}())||void 0===m?void 0:m.createHTML(p))||p}function st(p){var m;return(null===(m=function be(){if(void 0===se&&(se=null,Lt.trustedTypes))try{se=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return se}())||void 0===m?void 0:m.createHTML(p))||p}class ki{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class pa extends ki{getTypeName(){return"HTML"}}class hr extends ki{getTypeName(){return"Style"}}class Rw extends ki{getTypeName(){return"Script"}}class Lw extends ki{getTypeName(){return"URL"}}class Iw extends ki{getTypeName(){return"ResourceURL"}}function Ga(p){return p instanceof ki?p.changingThisBreaksApplicationSecurity:p}function Rc(p,m){const g=b_(p);if(null!=g&&g!==m){if("ResourceURL"===g&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${g} (see https://g.co/ng/security#xss)`)}return g===m}function b_(p){return p instanceof ki&&p.getTypeName()||null}function Ow(p){return new pa(p)}function zf(p){return new hr(p)}function Bw(p){return new Rw(p)}function Vw(p){return new Lw(p)}function y_(p){return new Iw(p)}class d0{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const g=(new window.DOMParser).parseFromString(H(m),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(m):(g.removeChild(g.firstChild),g)}catch(g){return null}}}class jw{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const _=this.inertDocument.createElement("body");g.appendChild(_)}}getInertBodyElement(m){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=H(m),g;const _=this.inertDocument.createElement("body");return _.innerHTML=H(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(m){const g=m.attributes;for(let y=g.length-1;0Ch(m.trim())).join(", ")),this.buf.push(" ",D,'="',jr(R),'"')}var p;return this.buf.push(">"),!0}endElement(m){const g=m.nodeName.toLowerCase();Uf.hasOwnProperty(g)&&!gi.hasOwnProperty(g)&&(this.buf.push(""))}chars(m){this.buf.push(jr(m))}checkClobberedElement(m,g){if(g&&(m.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return g}}const Ah=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bc=/([^\#-~ |!])/g;function jr(p){return p.replace(/&/g,"&").replace(Ah,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(Bc,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let Vc;function Ww(p,m){let g=null;try{Vc=Vc||function C_(p){const m=new jw(p);return function Fw(){try{return!!(new window.DOMParser).parseFromString(H(""),"text/html")}catch(p){return!1}}()?new d0(m):m}(p);let _=m?String(m):"";g=Vc.getInertBodyElement(_);let y=5,w=_;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,_=w,w=g.innerHTML,g=Vc.getInertBodyElement(_)}while(_!==w);return H((new Gw).sanitizeChildren(Zd(g)||g))}finally{if(g){const _=Zd(g)||g;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Zd(p){return"content"in p&&function w_(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var Xi=(()=>((Xi=Xi||{})[Xi.NONE=0]="NONE",Xi[Xi.HTML=1]="HTML",Xi[Xi.STYLE=2]="STYLE",Xi[Xi.SCRIPT=3]="SCRIPT",Xi[Xi.URL=4]="URL",Xi[Xi.RESOURCE_URL=5]="RESOURCE_URL",Xi))();function Cn(p){const m=wo();return m?st(m.sanitize(Xi.HTML,p)||""):Rc(p,"HTML")?st(Ga(p)):Ww($s(),fe(p))}function Gf(p){const m=wo();return m?m.sanitize(Xi.URL,p)||"":Rc(p,"URL")?Ga(p):Ch(fe(p))}function wo(){const p=De();return p&&p[12]}const ma="__ngContext__";function Un(p,m){p[ma]=m}function v_(p){const m=function Th(p){return p[ma]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function x_(p){return p.ngOriginalError}function C0(p,...m){p.error(...m)}class Sl{constructor(){this._console=console}handleError(m){const g=this._findOriginalError(m),_=function y0(p){return p&&p.ngErrorLogger||C0}(m);_(this._console,"ERROR",m),g&&_(this._console,"ORIGINAL ERROR",g)}_findOriginalError(m){let g=m&&x_(m);for(;g&&x_(g);)g=x_(g);return g||null}}const iA=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Lt))();function nA(p){return p.ownerDocument.defaultView}function Es(p){return p instanceof Function?p():p}var Ds=(()=>((Ds=Ds||{})[Ds.Important=1]="Important",Ds[Ds.DashCase=2]="DashCase",Ds))();function S_(p,m){return undefined(p,m)}function Jd(p){const m=p[3];return Fn(m)?m[3]:m}function D_(p){return oA(p[13])}function H_(p){return oA(p[4])}function oA(p){for(;null!==p&&!Fn(p);)p=p[4];return p}function Qd(p,m,g,_,y){if(null!=_){let w,D=!1;Fn(_)?w=_:bn(_)&&(D=!0,_=_[0]);const k=B(_);0===p&&null!==g?null==y?pA(m,g,k):jc(m,g,k,y||null,!0):1===p&&null!==g?jc(m,g,k,y||null,!0):2===p?function CA(p,m,g){const _=$f(p,m);_&&function Y0(p,m,g,_){Bt(p)?p.removeChild(m,g,_):m.removeChild(g)}(p,_,m,g)}(m,k,D):3===p&&m.destroyNode(k),null!=w&&function q0(p,m,g,_,y){const w=g[7];w!==B(g)&&Qd(m,p,_,w,y);for(let k=10;k0&&(p[g-1][4]=_[4]);const w=Dc(p,10+m);!function L0(p,m){xh(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(_[1],_);const D=w[19];null!==D&&D.detachView(w[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function dA(p,m){if(!(256&m[2])){const g=m[11];Bt(g)&&g.destroyNode&&xh(p,m,g,3,null,null),function B0(p){let m=p[13];if(!m)return L_(p[1],p);for(;m;){let g=null;if(bn(m))g=m[13];else{const _=m[10];_&&(g=_)}if(!g){for(;m&&!m[4]&&m!==p;)bn(m)&&L_(m[1],m),m=m[3];null===m&&(m=p),bn(m)&&L_(m[1],m),g=m&&m[4]}m=g}}(m)}}function L_(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function N0(p,m){let g;if(null!=p&&null!=(g=p.destroyHooks))for(let _=0;_=0?_[y=N]():_[y=-N].unsubscribe(),w+=2}else{const D=_[y=g[w+1]];g[w].call(D)}if(null!==_){for(let w=y+1;w<_.length;w++)_[w]();m[7]=null}}(p,m),1===m[1].type&&Bt(m[11])&&m[11].destroy();const g=m[17];if(null!==g&&Fn(m[3])){g!==m[3]&&cA(g,m);const _=m[19];null!==_&&_.detachView(p)}}}function uA(p,m,g){return function hA(p,m,g){let _=m;for(;null!==_&&40&_.type;)_=(m=_).parent;if(null===_)return g[0];if(2&_.flags){const y=p.data[_.directiveStart].encapsulation;if(y===Ne.None||y===Ne.Emulated)return null}return Te(_,g)}(p,m.parent,g)}function jc(p,m,g,_,y){Bt(p)?p.insertBefore(m,g,_,y):m.insertBefore(g,_,y)}function pA(p,m,g){Bt(p)?p.appendChild(m,g):m.appendChild(g)}function fA(p,m,g,_,y){null!==_?jc(p,m,g,_,y):pA(p,m,g)}function $f(p,m){return Bt(p)?p.parentNode(m):m.parentNode}function mA(p,m,g){return _A(p,m,g)}let _A=function gA(p,m,g){return 40&p.type?Te(p,g):null};function Jf(p,m,g,_){const y=uA(p,_,m),w=m[11],k=mA(_.parent||m[6],_,m);if(null!=y)if(Array.isArray(g))for(let R=0;Rw?"":y[X+1].toLowerCase();const ue=8&_?re:null;if(ue&&-1!==vA(ue,N,0)||2&_&&N!==re){if(pr(_))return!1;D=!0}}}}else{if(!D&&!pr(_)&&!pr(R))return!1;if(D&&pr(R))continue;D=!1,_=R|1&_}}return pr(_)||D}function pr(p){return 0==(1&p)}function El(p,m,g,_){if(null===m)return-1;let y=0;if(_||!g){let w=!1;for(;y-1)for(g++;g0?'="'+k+'"':"")+"]"}else 8&_?y+="."+D:4&_&&(y+=" "+D);else""!==y&&!pr(D)&&(m+=Kf(w,y),y=""),_=D,w=w||!pr(_);g++}return""!==y&&(m+=Kf(w,y)),m}const Et={};function Xf(p){N_(Ut(),De(),pn()+p,_c())}function N_(p,m,g,_){if(!_)if(3==(3&m[2])){const w=p.preOrderCheckHooks;null!==w&&wc(m,w,g)}else{const w=p.preOrderHooks;null!==w&&to(m,w,0,g)}la(g)}function Ao(p,m){return p<<17|m<<2}function Nr(p){return p>>17&32767}function Fc(p){return 2|p}function vo(p){return(131068&p)>>2}function Sh(p,m){return-131069&p|m<<2}function Eh(p){return 1|p}function am(p,m){const g=p.contentQueries;if(null!==g)for(let _=0;_20&&N_(p,m,20,_c()),g(_,y)}finally{la(w)}}function om(p,m,g){if(Qo(m)){const y=m.directiveEnd;for(let w=m.directiveStart;w0;){const g=p[--m];if("number"==typeof g&&g<0)return g}return 0})(k)!=R&&k.push(R),k.push(_,y,D)}}function Do(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function dm(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function sb(p,m,g){if(g){if(m.exportAs)for(let _=0;_0&&su(g)}}function su(p){for(let _=D_(p);null!==_;_=H_(_))for(let y=10;y<_.length;y++){const w=_[y];if(1024&w[2]){const D=w[1];Zt(D,w,D.template,w[8])}else w[5]>0&&su(w)}const g=p[1].components;if(null!==g)for(let _=0;_0&&su(y)}}function Hl(p,m){const g=kt(m,p),_=g[1];(function pm(p,m){for(let g=m.length;gPromise.resolve(null))();function Nh(p){return p[7]||(p[7]=[])}function gm(p){return p.cleanup||(p.cleanup=[])}function ou(p,m,g){return(null===p||Nn(p))&&(g=function $(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(g[m.index])),g[11]}function lu(p,m){const g=p[9],_=g?g.get(Sl,null):null;_&&_.handleError(m)}function hb(p,m,g,_,y){for(let w=0;wthis.processProvider(k,m,g)),Dn([m],k=>this.processInjectorType(k,[],w)),this.records.set(zh,Wc(void 0,this));const D=this.records.get(_m);this.scope=null!=D?D.value:null,this.source=y||("object"==typeof m?null:V(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,g=_o,_=Ct.Default){this.assertNotDestroyed();const y=Or(this),w=Xt(void 0);try{if(!(_&Ct.SkipSelf)){let k=this.records.get(m);if(void 0===k){const R=function qh(p){return"function"==typeof p||"object"==typeof p&&p instanceof xi}(m)&&zi(m);k=R&&this.injectableDefInScope(R)?Wc(hu(m),du):null,this.records.set(m,k)}if(null!=k)return this.hydrate(m,k)}return(_&Ct.Self?uu():this.parent).get(m,g=_&Ct.Optional&&g===_o?null:g)}catch(D){if("NullInjectorError"===D.name){if((D[Hc]=D[Hc]||[]).unshift(V(m)),y)throw D;return function Vf(p,m,g,_){const y=p[Hc];throw m[kc]&&y.unshift(m[kc]),p.message=function jf(p,m,g,_=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let y=V(m);if(Array.isArray(m))y=m.map(V).join(" -> ");else if("object"==typeof m){let w=[];for(let D in m)if(m.hasOwnProperty(D)){let k=m[D];w.push(D+":"+("string"==typeof k?JSON.stringify(k):V(k)))}y=`{${w.join(", ")}}`}return`${g}${_?"("+_+")":""}[${y}]: ${p.replace(ph,"\n ")}`}("\n"+p.message,y,g,_),p.ngTokenPath=y,p[Hc]=null,p}(D,m,"R3InjectorError",this.source)}throw D}finally{Xt(w),Or(y)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((_,y)=>m.push(V(y))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processInjectorType(m,g,_){if(!(m=oe(m)))return!1;let y=Us(m);const w=null==y&&m.ngModule||void 0,D=void 0===w?m:w,k=-1!==_.indexOf(D);if(void 0!==w&&(y=Us(w)),null==y)return!1;if(null!=y.imports&&!k){let q;_.push(D);try{Dn(y.imports,X=>{this.processInjectorType(X,g,_)&&(void 0===q&&(q=[]),q.push(X))})}finally{}if(void 0!==q)for(let X=0;Xthis.processProvider(Ce,re,ue||et))}}this.injectorDefTypes.add(D);const R=rn(D)||(()=>new D);this.records.set(D,Wc(R,du));const N=y.providers;if(null!=N&&!k){const q=m;Dn(N,X=>this.processProvider(X,q,N))}return void 0!==w&&void 0!==m.providers}processProvider(m,g,_){let y=Zc(m=oe(m))?m:oe(m&&m.provide);const w=function WA(p,m,g){return mb(p)?Wc(void 0,p.useValue):Wc(fb(p),du)}(m);if(Zc(m)||!0!==m.multi)this.records.get(y);else{let D=this.records.get(y);D||(D=Wc(void 0,du,!0),D.factory=()=>Pc(D.multi),this.records.set(y,D)),y=m,D.multi.push(m)}this.records.set(y,w)}hydrate(m,g){return g.value===du&&(g.value=qA,g.value=g.factory()),"object"==typeof g.value&&g.value&&function wm(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(g.value)&&this.onDestroy.add(g.value),g.value}injectableDefInScope(m){if(!m.providedIn)return!1;const g=oe(m.providedIn);return"string"==typeof g?"any"===g||g===this.scope:this.injectorDefTypes.has(g)}}function hu(p){const m=zi(p),g=null!==m?m.factory:rn(p);if(null!==g)return g;if(p instanceof xi)throw new te(204,!1);if(p instanceof Function)return function pb(p){const m=p.length;if(m>0)throw bl(m,"?"),new te(204,!1);const g=function Ys(p){const m=p&&(p[Ra]||p[La]);if(m){const g=function zs(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" 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 "${g}" class.`),m}return null}(p);return null!==g?()=>g.factory(p):()=>new p}(p);throw new te(204,!1)}function fb(p,m,g){let _;if(Zc(p)){const y=oe(p);return rn(y)||hu(y)}if(mb(p))_=()=>oe(p.useValue);else if(function Uh(p){return!(!p||!p.useFactory)}(p))_=()=>p.useFactory(...Pc(p.deps||[]));else if(function ZA(p){return!(!p||!p.useExisting)}(p))_=()=>sn(oe(p.useExisting));else{const y=oe(p&&(p.useClass||p.provide));if(!function Cm(p){return!!p.deps}(p))return rn(y)||hu(y);_=()=>new y(...Pc(p.deps))}return _}function Wc(p,m,g=!1){return{factory:p,value:m,multi:g?[]:void 0}}function mb(p){return null!==p&&"object"==typeof p&&Of in p}function Zc(p){return"function"==typeof p}let Ur=(()=>{class p{static create(g,_){var y;if(Array.isArray(g))return bm({name:""},_,g,"");{const w=null!==(y=g.name)&&void 0!==y?y:"";return bm({name:w},g.parent,g.providers,w)}}}return p.THROW_IF_NOT_FOUND=_o,p.NULL=new cu,p.\u0275prov=Kt({token:p,providedIn:"any",factory:()=>sn(zh)}),p.__NG_ELEMENT_ID__=-1,p})();function XA(p,m){ll(v_(p)[1],si())}function Dm(p){let m=function Em(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),g=!0;const _=[p];for(;m;){let y;if(Nn(p))y=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new te(903,"");y=m.\u0275dir}if(y){if(g){_.push(y);const D=p;D.inputs=km(p.inputs),D.declaredInputs=km(p.declaredInputs),D.outputs=km(p.outputs);const k=y.hostBindings;k&&iv(p,k);const R=y.viewQuery,N=y.contentQueries;if(R&&ev(p,R),N&&tv(p,N),L(p.inputs,y.inputs),L(p.declaredInputs,y.declaredInputs),L(p.outputs,y.outputs),Nn(y)&&y.data.animation){const q=p.data;q.animation=(q.animation||[]).concat(y.data.animation)}}const w=y.features;if(w)for(let D=0;D=0;_--){const y=p[_];y.hostVars=m+=y.hostVars,y.hostAttrs=Mc(y.hostAttrs,g=Mc(g,y.hostAttrs))}}(_)}function km(p){return p===ct?{}:p===et?[]:p}function ev(p,m){const g=p.viewQuery;p.viewQuery=g?(_,y)=>{m(_,y),g(_,y)}:m}function tv(p,m){const g=p.contentQueries;p.contentQueries=g?(_,y,w)=>{m(_,y,w),g(_,y,w)}:m}function iv(p,m){const g=p.hostBindings;p.hostBindings=g?(_,y)=>{m(_,y),g(_,y)}:m}let $c=null;function $a(){if(!$c){const p=Lt.Symbol;if(p&&p.iterator)$c=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let g=0;gk(B(Ot[_.index])):_.index;if(Bt(g)){let Ot=null;if(!k&&R&&(Ot=function $b(p,m,g,_){const y=p.cleanup;if(null!=y)for(let w=0;wR?k[R]:null}"string"==typeof D&&(w+=2)}return null}(p,m,y,_.index)),null!==Ot)(Ot.__ngLastListenerFn__||Ot).__ngNextListenerFn__=w,Ot.__ngLastListenerFn__=w,ue=!1;else{w=Jb(_,m,X,w,!1);const ii=g.listen(Ye,y,w);re.push(w,ii),q&&q.push(y,Ie,Se,Se+1)}}else w=Jb(_,m,X,w,!0),Ye.addEventListener(y,w,D),re.push(w),q&&q.push(y,Ie,Se,D)}else w=Jb(_,m,X,w,!1);const Ce=_.outputs;let Fe;if(ue&&null!==Ce&&(Fe=Ce[y])){const Ze=Fe.length;if(Ze)for(let Ye=0;Ye0;)m=m[15],p--;return m}(p,dt.lFrame.contextLView))[8]}(p)}function pM(p,m){let g=null;const _=function xA(p){const m=p.attrs;if(null!=m){const g=m.indexOf(5);if(0==(1&g))return m[g+1]}return null}(p);for(let y=0;y=0}const mi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Um(p){return p.substring(mi.key,mi.keyEnd)}function ry(p,m){const g=mi.textEnd;return g===m?-1:(m=mi.keyEnd=function yv(p,m,g){for(;m32;)m++;return m}(p,mi.key=m,g),id(p,m,g))}function id(p,m,g){for(;m=0;g=ry(m,g))mn(p,Um(m),!0)}function Aa(p,m,g,_){const y=De(),w=Ut(),D=Sn(2);w.firstUpdatePass&&cy(w,p,D,_),m!==Et&&Rn(y,D,m)&&Tv(w,w.data[pn()],y,y[11],p,y[D+1]=function _M(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=V(Ga(p)))),p}(m,g),_,D)}function Xa(p,m,g,_){const y=Ut(),w=Sn(2);y.firstUpdatePass&&cy(y,null,w,_);const D=De();if(g!==Et&&Rn(D,w,g)){const k=y.data[pn()];if(Mv(k,_)&&!ly(y,w)){let R=_?k.classesWithoutHost:k.stylesWithoutHost;null!==R&&(g=z(R,g||"")),Bl(y,k,D,g,_)}else!function uy(p,m,g,_,y,w,D,k){y===Et&&(y=et);let R=0,N=0,q=0=p.expandoStartIndex}function cy(p,m,g,_){const y=p.data;if(null===y[g+1]){const w=y[pn()],D=ly(p,g);Mv(w,_)&&null===m&&!D&&(m=!1),m=function lp(p,m,g,_){const y=rl(p);let w=_?m.residualClasses:m.residualStyles;if(null===y)0===(_?m.classBindings:m.styleBindings)&&(g=rd(g=dy(null,p,m,g,_),m.attrs,_),w=null);else{const D=m.directiveStylingLast;if(-1===D||p[D]!==y)if(g=dy(y,p,m,g,_),null===w){let R=function wv(p,m,g){const _=g?m.classBindings:m.styleBindings;if(0!==vo(_))return p[Nr(_)]}(p,m,_);void 0!==R&&Array.isArray(R)&&(R=dy(null,p,m,R[1],_),R=rd(R,m.attrs,_),function Av(p,m,g,_){p[Nr(g?m.classBindings:m.styleBindings)]=_}(p,m,_,R))}else w=function Zm(p,m,g){let _;const y=m.directiveEnd;for(let w=1+m.directiveStylingLast;w0)&&(N=!0)}else q=g;if(y)if(0!==R){const re=Nr(p[k+1]);p[_+1]=Ao(re,k),0!==re&&(p[re+1]=Sh(p[re+1],_)),p[k+1]=function MA(p,m){return 131071&p|m<<17}(p[k+1],_)}else p[_+1]=Ao(k,0),0!==k&&(p[k+1]=Sh(p[k+1],_)),k=_;else p[_+1]=Ao(R,0),0===k?k=_:p[R+1]=Sh(p[R+1],_),R=_;N&&(p[_+1]=Fc(p[_+1])),Ca(p,q,_,!0),Ca(p,q,_,!1),function mM(p,m,g,_,y){const w=y?p.residualClasses:p.residualStyles;null!=w&&"string"==typeof m&&xs(w,m)>=0&&(g[_+1]=Eh(g[_+1]))}(m,q,p,_,w),D=Ao(k,R),w?m.classBindings=D:m.styleBindings=D}(y,w,m,g,D,_)}}function dy(p,m,g,_,y){let w=null;const D=g.directiveEnd;let k=g.directiveStylingLast;for(-1===k?k=g.directiveStart:k++;k0;){const R=p[y],N=Array.isArray(R),q=N?R[1]:R,X=null===q;let re=g[y+1];re===Et&&(re=X?et:void 0);let ue=X?Nd(re,_):q===_?re:void 0;if(N&&!$m(ue)&&(ue=Nd(R,_)),$m(ue)&&(k=ue,D))return k;const Ce=p[y+1];y=D?Nr(Ce):vo(Ce)}if(null!==m){let R=w?m.residualClasses:m.residualStyles;null!=R&&(k=Nd(R,_))}return k}function $m(p){return void 0!==p}function Mv(p,m){return 0!=(p.flags&(m?16:32))}function Sv(p,m=""){const g=De(),_=Ut(),y=p+20,w=_.firstCreatePass?Mo(_,y,1,m,null):_.data[y],D=g[y]=function k_(p,m){return Bt(p)?p.createText(m):p.createTextNode(m)}(g[11],m);Jf(_,g,D,w),cr(w,!1)}function Jm(p){return Ro("",p,""),Jm}function Ro(p,m,g){const _=De(),y=Jc(_,p,m,g);return y!==Et&&ga(_,pn(),y),Ro}function Vl(p,m,g,_,y){const w=De(),D=function Qc(p,m,g,_,y,w){const k=ko(p,oa(),g,y);return Sn(2),k?m+fe(g)+_+fe(y)+w:Et}(w,p,m,g,_,y);return D!==Et&&ga(w,pn(),D),Vl}function py(p,m,g,_,y,w,D,k,R,N,q){const X=De(),re=Ll(X,p,m,g,_,y,w,D,k,R,N,q);return re!==Et&&ga(X,pn(),re),py}function es(p,m,g){Xa(mn,wa,Jc(De(),p,m,g),!0)}function eg(p,m,g){const _=De();return Rn(_,Ks(),m)&&mr(Ut(),Ti(),_,p,m,_[11],g,!0),eg}function dp(p,m,g){const _=De();if(Rn(_,Ks(),m)){const w=Ut(),D=Ti();mr(w,D,_,p,m,ou(rl(w.data),D,_),g,!0)}return dp}const Ps=void 0;var Vv=["en",[["a","p"],["AM","PM"],Ps],[["AM","PM"],Ps,Ps],[["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"]],Ps,[["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"]],Ps,[["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}",Ps,"{1} 'at' {0}",Ps],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gy(p){const g=Math.floor(Math.abs(p)),_=p.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===_?1:5}];let od={};function _y(p){const m=function tg(p){return p.toLowerCase().replace(/_/g,"-")}(p);let g=jv(m);if(g)return g;const _=m.split("-")[0];if(g=jv(_),g)return g;if("en"===_)return Vv;throw new Error(`Missing locale data for the locale "${p}".`)}function by(p){return _y(p)[ht.PluralCase]}function jv(p){return p in od||(od[p]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[p]),od[p]}var ht=(()=>((ht=ht||{})[ht.LocaleId=0]="LocaleId",ht[ht.DayPeriodsFormat=1]="DayPeriodsFormat",ht[ht.DayPeriodsStandalone=2]="DayPeriodsStandalone",ht[ht.DaysFormat=3]="DaysFormat",ht[ht.DaysStandalone=4]="DaysStandalone",ht[ht.MonthsFormat=5]="MonthsFormat",ht[ht.MonthsStandalone=6]="MonthsStandalone",ht[ht.Eras=7]="Eras",ht[ht.FirstDayOfWeek=8]="FirstDayOfWeek",ht[ht.WeekendRange=9]="WeekendRange",ht[ht.DateFormat=10]="DateFormat",ht[ht.TimeFormat=11]="TimeFormat",ht[ht.DateTimeFormat=12]="DateTimeFormat",ht[ht.NumberSymbols=13]="NumberSymbols",ht[ht.NumberFormats=14]="NumberFormats",ht[ht.CurrencyCode=15]="CurrencyCode",ht[ht.CurrencySymbol=16]="CurrencySymbol",ht[ht.CurrencyName=17]="CurrencyName",ht[ht.Currencies=18]="Currencies",ht[ht.Directionality=19]="Directionality",ht[ht.PluralCase=20]="PluralCase",ht[ht.ExtraData=21]="ExtraData",ht))();const bu="en-US";let Cy=bu;function bp(p,m,g,_,y){if(p=oe(p),Array.isArray(p))for(let w=0;w>20;if(Zc(p)||!p.multi){const ue=new no(R,y,Wr),Ce=Cp(k,m,y?q:q+re,X);-1===Ce?(hl(oo(N,D),w,k),yp(w,p,m.length),m.push(k),N.directiveStart++,N.directiveEnd++,y&&(N.providerIndexes+=1048576),g.push(ue),D.push(ue)):(g[Ce]=ue,D[Ce]=ue)}else{const ue=Cp(k,m,q+re,X),Ce=Cp(k,m,q,q+re),Fe=ue>=0&&g[ue],Ze=Ce>=0&&g[Ce];if(y&&!Ze||!y&&!Fe){hl(oo(N,D),w,k);const Ye=function Ap(p,m,g,_,y){const w=new no(p,g,Wr);return w.multi=[],w.index=m,w.componentProviders=0,og(w,y,_&&!g),w}(y?Gy:qy,g.length,y,_,R);!y&&Ze&&(g[Ce].providerFactory=Ye),yp(w,p,m.length,0),m.push(k),N.directiveStart++,N.directiveEnd++,y&&(N.providerIndexes+=1048576),g.push(Ye),D.push(Ye)}else yp(w,p,ue>-1?ue:Ce,og(g[y?Ce:ue],R,!y&&_));!y&&_&&Ze&&g[Ce].componentProviders++}}}function yp(p,m,g,_){const y=Zc(m),w=function Pl(p){return!!p.useClass}(m);if(y||w){const R=(w?oe(m.useClass):m).prototype.ngOnDestroy;if(R){const N=p.destroyHooks||(p.destroyHooks=[]);if(!y&&m.multi){const q=N.indexOf(g);-1===q?N.push(g,[_,R]):N[q+1].push(_,R)}else N.push(g,R)}}}function og(p,m,g){return g&&p.componentProviders++,p.multi.push(m)-1}function Cp(p,m,g,_){for(let y=g;y<_;y++)if(m[y]===p)return y;return-1}function qy(p,m,g,_){return wp(this.multi,[])}function Gy(p,m,g,_){const y=this.multi;let w;if(this.providerFactory){const D=this.providerFactory.componentProviders,k=tr(g,g[1],this.providerFactory.index,_);w=k.slice(0,D),wp(y,w);for(let R=D;R{g.providersResolver=(_,y)=>function Uy(p,m,g){const _=Ut();if(_.firstCreatePass){const y=Nn(p);bp(g,_.data,_.blueprint,y,!0),bp(m,_.data,_.blueprint,y,!1)}}(_,y?y(p):p,m)}}class cg{}class Jy{resolveComponentFactory(m){throw function Zy(p){const m=Error(`No component factory found for ${V(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let Ul=(()=>{class p{}return p.NULL=new Jy,p})();function Qy(){return Oo(si(),De())}function Oo(p,m){return new ld(Te(p,m))}let ld=(()=>{class p{constructor(g){this.nativeElement=g}}return p.__NG_ELEMENT_ID__=Qy,p})();function Ky(p){return p instanceof ld?p.nativeElement:p}class vp{}let Tp=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function eC(){const p=De(),g=kt(si().index,p);return function Xy(p){return p[11]}(bn(g)?g:p)}(),p})(),tC=(()=>{class p{}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:()=>null}),p})();class Zr{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const $n=new Zr("13.2.2"),xp={};function dg(p,m,g,_,y=!1){for(;null!==g;){const w=m[g.index];if(null!==w&&_.push(B(w)),Fn(w))for(let k=10;k-1&&(R_(m,_),Dc(g,_))}this._attachedToViewContainer=!1}dA(this._lView[1],this._lView)}onDestroy(m){OA(this._lView[1],this._lView,null,m)}markForCheck(){fm(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Wa(this._lView[1],this._lView,this.context)}checkNoChanges(){!function ub(p,m,g){il(!0);try{Wa(p,m,g)}finally{il(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new te(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function O0(p,m){xh(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new te(902,"");this._appRef=m}}class sr extends Mp{constructor(m){super(m),this._view=m}detectChanges(){mm(this._view)}checkNoChanges(){!function Za(p){il(!0);try{mm(p)}finally{il(!1)}}(this._view)}get context(){return null}}class ug extends Ul{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const g=Qi(m);return new pg(g,this.ngModule)}}function Sp(p){const m=[];for(let g in p)p.hasOwnProperty(g)&&m.push({propName:p[g],templateName:g});return m}const uT=new xi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>iA});class pg extends cg{constructor(m,g){super(),this.componentDef=m,this.ngModule=g,this.componentType=m.type,this.selector=function en(p){return p.map(Mh).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!g}get inputs(){return Sp(this.componentDef.inputs)}get outputs(){return Sp(this.componentDef.outputs)}create(m,g,_,y){const w=(y=y||this.ngModule)?function hg(p,m){return{get:(g,_,y)=>{const w=p.get(g,xp,y);return w!==xp||_===xp?w:m.get(g,_,y)}}}(m,y.injector):m,D=w.get(vp,O),k=w.get(tC,null),R=D.createRenderer(null,this.componentDef),N=this.componentDef.selectors[0][0]||"div",q=_?function rr(p,m,g){if(Bt(p))return p.selectRootElement(m,g===Ne.ShadowDom);let _="string"==typeof m?p.querySelector(m):m;return _.textContent="",_}(R,_,this.componentDef.encapsulation):P_(D.createRenderer(null,this.componentDef),N,function Ep(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(N)),X=this.componentDef.onPush?576:528,re=function Sm(p,m){return{components:[],scheduler:p||iA,clean:YA,playerHandler:m||null,flags:0}}(),ue=mt(0,null,null,1,0,null,null,null,null,null),Ce=Yc(null,ue,re,X,null,null,D,R,k,w);let Fe,Ze;Xs(Ce);try{const Ye=function wb(p,m,g,_,y,w){const D=g[1];g[20]=p;const R=Mo(D,20,2,"#host",null),N=R.mergedAttrs=m.hostAttrs;null!==N&&(Yh(R,N,!0),null!==p&&(cl(y,p,N),null!==R.classes&&V_(y,p,R.classes),null!==R.styles&&AA(y,p,R.styles)));const q=_.createRenderer(p,m),X=Yc(g,So(m),null,m.onPush?64:16,g[20],R,_,q,w||null,null);return D.firstCreatePass&&(hl(oo(R,g),D,m.type),dm(D,R),um(R,g.length,1)),kl(g,X),g[20]=X}(q,this.componentDef,Ce,D,R);if(q)if(_)cl(R,q,["ng-version",$n.full]);else{const{attrs:Se,classes:Ie}=function Zi(p){const m=[],g=[];let _=1,y=2;for(;_0&&V_(R,q,Ie.join(" "))}if(Ze=ai(ue,20),void 0!==g){const Se=Ze.projection=[];for(let Ie=0;IeR(D,m)),m.contentQueries){const R=si();m.contentQueries(1,D,R.directiveStart)}const k=si();return!w.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(la(k.index),Oh(g[1],k,0,k.directiveStart,k.directiveEnd,m),Do(m,D)),D}(Ye,this.componentDef,Ce,re,[XA]),fr(ue,Ce,null)}finally{yc()}return new LM(this.componentType,Fe,Oo(Ze,Ce),Ce,Ze)}}class LM extends class Wy{}{constructor(m,g,_,y,w){super(),this.location=_,this._rootLView=y,this._tNode=w,this.instance=g,this.hostView=this.changeDetectorRef=new sr(y),this.componentType=m}get injector(){return new uo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class Su{}class hT{}const cd=new Map;class Du extends Su{constructor(m,g){super(),this._parent=g,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ug(this);const _=wt(m);this._bootstrapComponents=Es(_.bootstrap),this._r3Injector=ym(m,g,[{provide:Su,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver}],V(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,g=Ur.THROW_IF_NOT_FOUND,_=Ct.Default){return m===Ur||m===Su||m===zh?this:this._r3Injector.get(m,g,_)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class dd extends hT{constructor(m){super(),this.moduleType=m,null!==wt(m)&&function fT(p){const m=new Set;!function g(_){const y=wt(_,!0),w=y.id;null!==w&&(function iC(p,m,g){if(m&&m!==g)throw new Error(`Duplicate module registered for ${p} - ${V(m)} vs ${V(m.name)}`)}(w,cd.get(w),_),cd.set(w,_));const D=Es(y.imports);for(const k of D)m.has(k)||(m.add(k),g(k))}(p)}(m)}create(m){return new Du(this.moduleType,m)}}function nC(p,m,g){const _=an()+p,y=De();return y[_]===Et?Ja(y,_,g?m.call(g):m()):function Ho(p,m){return p[m]}(y,_)}function Hp(p,m,g,_){return kp(De(),an(),p,m,g,_)}function Hu(p,m,g,_,y){return sC(De(),an(),p,m,g,_,y)}function ku(p,m){const g=p[m];return g===Et?void 0:g}function kp(p,m,g,_,y,w){const D=m+g;return Rn(p,D,y)?Ja(p,D+1,w?_.call(w,y):_(y)):ku(p,D+1)}function sC(p,m,g,_,y,w,D){const k=m+g;return ko(p,k,y,w)?Ja(p,k+2,D?_.call(D,y,w):_(y,w)):ku(p,k+2)}function fg(p,m,g,_,y,w,D,k){const R=m+g;return function fu(p,m,g,_,y){const w=ko(p,m,g,_);return Rn(p,m+2,y)||w}(p,R,y,w,D)?Ja(p,R+3,k?_.call(k,y,w,D):_(y,w,D)):ku(p,R+3)}function yT(p,m){const g=Ut();let _;const y=p+20;g.firstCreatePass?(_=function mg(p,m){if(m)for(let g=m.length-1;g>=0;g--){const _=m[g];if(p===_.name)return _}}(m,g.pipeRegistry),g.data[y]=_,_.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(y,_.onDestroy)):_=g.data[y];const w=_.factory||(_.factory=rn(_.type)),D=Xt(Wr);try{const k=so(!1),R=w();return so(k),function kb(p,m,g,_){g>=p.data.length&&(p.data[g]=null,p.blueprint[g]=null),m[g]=_}(g,De(),y,R),R}finally{Xt(D)}}function ud(p,m,g){const _=p+20,y=De(),w=$t(y,_);return Gl(y,_)?kp(y,an(),m,w.transform,g,w):w.transform(g)}function Pu(p,m,g,_){const y=p+20,w=De(),D=$t(w,y);return Gl(w,y)?sC(w,an(),m,D.transform,g,_,D):D.transform(g,_)}function ql(p,m,g,_,y){const w=p+20,D=De(),k=$t(D,w);return Gl(D,w)?fg(D,an(),m,k.transform,g,_,y,k):k.transform(g,_,y)}function Gl(p,m){return p[1].data[m].pure}function Lu(p){return m=>{setTimeout(p,void 0,m)}}const Ta=class oC extends T.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,g,_){var y,w,D;let k=m,R=g||(()=>null),N=_;if(m&&"object"==typeof m){const X=m;k=null===(y=X.next)||void 0===y?void 0:y.bind(X),R=null===(w=X.error)||void 0===w?void 0:w.bind(X),N=null===(D=X.complete)||void 0===D?void 0:D.bind(X)}this.__isAsync&&(R=Lu(R),k&&(k=Lu(k)),N&&(N=Lu(N)));const q=super.subscribe({next:k,error:R,complete:N});return m instanceof i.w0&&m.add(q),q}};function Lp(){return this._results[$a()]()}class hd{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=$a(),_=hd.prototype;_[g]||(_[g]=Lp)}get changes(){return this._changes||(this._changes=new Ta)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,g){return this._results.reduce(m,g)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,g){const _=this;_.dirty=!1;const y=zn(m);(this._changesDetected=!function _l(p,m,g){if(p.length!==m.length)return!1;for(let _=0;_{class p{}return p.__NG_ELEMENT_ID__=dC,p})();const lC=Bo,cC=class extends lC{constructor(m,g,_){super(),this._declarationLView=m,this._declarationTContainer=g,this.elementRef=_}createEmbeddedView(m){const g=this._declarationTContainer.tViews,_=Yc(this._declarationLView,g,m,16,null,g.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const w=this._declarationLView[19];return null!==w&&(_[19]=w.createEmbeddedView(g)),fr(g,_,m),new Mp(_)}};function dC(){return Iu(si(),De())}function Iu(p,m){return 4&p.type?new cC(m,p,Oo(p,m)):null}let pd=(()=>{class p{}return p.__NG_ELEMENT_ID__=Si,p})();function Si(){return Vo(si(),De())}const Ip=pd,gg=class extends Ip{constructor(m,g,_){super(),this._lContainer=m,this._hostTNode=g,this._hostLView=_}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new uo(this._hostTNode,this._hostLView)}get parentInjector(){const m=Rr(this._hostTNode,this._hostLView);if(ul(m)){const g=da(m,this._hostLView),_=ao(m);return new uo(g[1].data[_+8],g)}return new uo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const g=uC(this._lContainer);return null!==g&&g[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,g,_){const y=m.createEmbeddedView(g||{});return this.insert(y,_),y}createComponent(m,g,_,y,w){const D=m&&!function mo(p){return"function"==typeof p}(m);let k;if(D)k=g;else{const X=g||{};k=X.index,_=X.injector,y=X.projectableNodes,w=X.ngModuleRef}const R=D?m:new pg(Qi(m)),N=_||this.parentInjector;if(!w&&null==R.ngModule&&N){const X=N.get(Su,null);X&&(w=X)}const q=R.create(N,y,void 0,w);return this.insert(q.hostView,k),q}insert(m,g){const _=m._lView,y=_[1];if(function di(p){return Fn(p[3])}(_)){const q=this.indexOf(m);if(-1!==q)this.detach(q);else{const X=_[3],re=new gg(X,X[6],X[3]);re.detach(re.indexOf(m))}}const w=this._adjustIndex(g),D=this._lContainer;!function V0(p,m,g,_){const y=10+_,w=g.length;_>0&&(g[y-1][4]=m),_0)_.push(D[k/2]);else{const N=w[k+1],q=m[-R];for(let X=10;X{class p{constructor(g){this.appInits=g,this.resolve=Fp,this.reject=Fp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,y)=>{this.resolve=_,this.reject=y})}runInitializers(){if(this.initialized)return;const g=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let y=0;y{w.subscribe({complete:k,error:R})});g.push(D)}}Promise.all(g).then(()=>{_()}).catch(y=>{this.reject(y)}),0===g.length&&_(),this.initialized=!0}}return p.\u0275fac=function(g){return new(g||p)(sn(Rg,8))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const jT=new xi("AppId"),ZM={provide:jT,useFactory:function WM(){return`${Np()}${Np()}${Np()}`},deps:[]};function Np(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _d=new xi("Platform Initializer"),$l=new xi("Platform ID"),kC=new xi("appBootstrapListener");let Lg=(()=>{class p{log(g){console.log(g)}warn(g){console.warn(g)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const Jl=new xi("LocaleId"),Ig=new xi("DefaultCurrencyCode");class FT{constructor(m,g){this.ngModuleFactory=m,this.componentFactories=g}}let Og=(()=>{class p{compileModuleSync(g){return new dd(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const _=this.compileModuleSync(g),w=Es(wt(g).declarations).reduce((D,k)=>{const R=Qi(k);return R&&D.push(new pg(R)),D},[]);return new FT(_,w)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();const YT=(()=>Promise.resolve(0))();function Ql(p){"undefined"==typeof Zone?YT.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class $r{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ta(!1),this.onMicrotaskEmpty=new Ta(!1),this.onStable=new Ta(!1),this.onError=new Ta(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!_&&g,y.shouldCoalesceRunChangeDetection=_,y.lastRequestAnimationFrameId=-1,y.nativeRequestAnimationFrame=function Yp(){let p=Lt.requestAnimationFrame,m=Lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const g=p[Zone.__symbol__("OriginalDelegate")];g&&(p=g);const _=m[Zone.__symbol__("OriginalDelegate")];_&&(m=_)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function UT(p){const m=()=>{!function zT(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(Lt,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Bg(p),p.isCheckStableRunning=!0,Fo(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Bg(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,_,y,w,D,k)=>{try{return RC(p),g.invokeTask(y,w,D,k)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===w.type||p.shouldCoalesceRunChangeDetection)&&m(),Vg(p)}},onInvoke:(g,_,y,w,D,k,R)=>{try{return RC(p),g.invoke(y,w,D,k,R)}finally{p.shouldCoalesceRunChangeDetection&&m(),Vg(p)}},onHasTask:(g,_,y,w)=>{g.hasTask(y,w),_===y&&("microTask"==w.change?(p._hasPendingMicrotasks=w.microTask,Bg(p),Fo(p)):"macroTask"==w.change&&(p.hasPendingMacrotasks=w.macroTask))},onHandleError:(g,_,y,w)=>(g.handleError(y,w),p.runOutsideAngular(()=>p.onError.emit(w)),!1)})}(y)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$r.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if($r.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,g,_){return this._inner.run(m,g,_)}runTask(m,g,_,y){const w=this._inner,D=w.scheduleEventTask("NgZoneEvent: "+y,m,PC,Fp,Fp);try{return w.runTask(D,g,_)}finally{w.cancelTask(D)}}runGuarded(m,g,_){return this._inner.runGuarded(m,g,_)}runOutsideAngular(m){return this._outer.run(m)}}const PC={};function Fo(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Bg(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function RC(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function Vg(p){p._nesting--,Fo(p)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ta,this.onMicrotaskEmpty=new Ta,this.onStable=new Ta,this.onError=new Ta}run(m,g,_){return m.apply(g,_)}runGuarded(m,g,_){return m.apply(g,_)}runOutsideAngular(m){return m()}runTask(m,g,_,y){return m.apply(g,_)}}let LC=(()=>{class p{constructor(g){this._ngZone=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),g.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:()=>{$r.assertNotInAngularZone(),Ql(()=>{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())Ql(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(g)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,_,y){let w=-1;_&&_>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==w),g(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:g,timeoutId:w,updateCb:y})}whenStable(g,_,y){if(y&&!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(g,_,y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(g,_,y){return[]}}return p.\u0275fac=function(g){return new(g||p)(sn($r))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})(),IC=(()=>{class p{constructor(){this._applications=new Map,zp.addToWindow(this)}registerApplication(g,_){this._applications.set(g,_)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,_=!0){return zp.findTestabilityInTree(this,g,_)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();class XM{addToWindow(m){}findTestabilityInTree(m,g,_){return null}}function OC(p){zp=p}let xa,zp=new XM;const BC=new xi("AllowMultipleToken");class ZT{constructor(m,g){this.name=m,this.token=g}}function VC(p,m,g=[]){const _=`Platform: ${m}`,y=new xi(_);return(w=[])=>{let D=jC();if(!D||D.injector.get(BC,!1))if(p)p(g.concat(w).concat({provide:y,useValue:!0}));else{const k=g.concat(w).concat({provide:y,useValue:!0},{provide:_m,useValue:"platform"});!function $T(p){if(xa&&!xa.destroyed&&!xa.injector.get(BC,!1))throw new te(400,"");xa=p.get(bd);const m=p.get(_d,null);m&&m.forEach(g=>g())}(Ur.create({providers:k,name:_}))}return function Kl(p){const m=jC();if(!m)throw new te(401,"");return m}()}}function jC(){return xa&&!xa.destroyed?xa:null}let bd=(()=>{class p{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,_){const k=function iS(p,m){let g;return g="noop"===p?new qT:("zone.js"===p?void 0:p)||new $r({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),g}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),R=[{provide:$r,useValue:k}];return k.run(()=>{const N=Ur.create({providers:R,parent:this.injector,name:g.moduleType.name}),q=g.create(N),X=q.injector.get(Sl,null);if(!X)throw new te(402,"");return k.runOutsideAngular(()=>{const re=k.onError.subscribe({next:ue=>{X.handleError(ue)}});q.onDestroy(()=>{jg(this._modules,q),re.unsubscribe()})}),function JT(p,m,g){try{const _=g();return rp(_)?_.catch(y=>{throw m.runOutsideAngular(()=>p.handleError(y)),y}):_}catch(_){throw m.runOutsideAngular(()=>p.handleError(_)),_}}(X,k,()=>{const re=q.injector.get(Zl);return re.runInitializers(),re.donePromise.then(()=>(function wy(p){ri(p,"Expected localeId to be defined"),"string"==typeof p&&(Cy=p.toLowerCase().replace(/_/g,"-"))}(q.injector.get(Jl,bu)||bu),this._moduleDoBootstrap(q),q))})})}bootstrapModule(g,_=[]){const y=FC({},_);return function eS(p,m,g){const _=new dd(g);return Promise.resolve(_)}(0,0,g).then(w=>this.bootstrapModuleFactory(w,y))}_moduleDoBootstrap(g){const _=g.injector.get(Fu);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(y=>_.bootstrap(y));else{if(!g.instance.ngDoBootstrap)throw new te(403,"");g.instance.ngDoBootstrap(_)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,"");this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(g){return new(g||p)(sn(Ur))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();function FC(p,m){return Array.isArray(m)?m.reduce(FC,p):Object.assign(Object.assign({},p),m)}let Fu=(()=>{class p{constructor(g,_,y,w,D){this._zone=g,this._injector=_,this._exceptionHandler=y,this._componentFactoryResolver=w,this._initStatus=D,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 S.y(N=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{N.next(this._stable),N.complete()})}),R=new S.y(N=>{let q;this._zone.runOutsideAngular(()=>{q=this._zone.onStable.subscribe(()=>{$r.assertNotInAngularZone(),Ql(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,N.next(!0))})})});const X=this._zone.onUnstable.subscribe(()=>{$r.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{N.next(!1)}))});return()=>{q.unsubscribe(),X.unsubscribe()}});this.isStable=(0,M.T)(k,R.pipe((0,E.B)()))}bootstrap(g,_){if(!this._initStatus.done)throw new te(405,"");let y;y=g instanceof cg?g:this._componentFactoryResolver.resolveComponentFactory(g),this.componentTypes.push(y.componentType);const w=function WT(p){return p.isBoundToModule}(y)?void 0:this._injector.get(Su),k=y.create(Ur.NULL,[],_||y.selector,w),R=k.location.nativeElement,N=k.injector.get(LC,null),q=N&&k.injector.get(IC);return N&&q&&q.registerApplication(R,N),k.onDestroy(()=>{this.detachView(k.hostView),jg(this.components,k),q&&q.unregisterApplication(R)}),this._loadComponent(k),k}tick(){if(this._runningTick)throw new te(101,"");try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const _=g;this._views.push(_),_.attachToAppRef(this)}detachView(g){const _=g;jg(this._views,_),_.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g),this._injector.get(kC,[]).concat(this._bootstrapListeners).forEach(y=>y(g))}ngOnDestroy(){this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(g){return new(g||p)(sn($r),sn(Ur),sn(Sl),sn(Ul),sn(Zl))},p.\u0275prov=Kt({token:p,factory:p.\u0275fac}),p})();function jg(p,m){const g=p.indexOf(m);g>-1&&p.splice(g,1)}let Nu=!0;function KT(){Nu=!1}let XT=(()=>{class p{}return p.__NG_ELEMENT_ID__=UC,p})();function UC(p){return function Up(p,m,g){if(ja(p)&&!g){const _=kt(p.index,m);return new Mp(_,_)}return 47&p.type?new Mp(m[16],m):null}(si(),De(),16==(16&p))}class Yg{constructor(){}supports(m){return pu(m)}create(m){return new sx(m)}}const WC=(p,m)=>m;class sx{constructor(m){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=m||WC}forEachItem(m){let g;for(g=this._itHead;null!==g;g=g._next)m(g)}forEachOperation(m){let g=this._itHead,_=this._removalsHead,y=0,w=null;for(;g||_;){const D=!_||g&&g.currentIndex<$C(_,y,w)?g:_,k=$C(D,y,w),R=D.currentIndex;if(D===_)y--,_=_._nextRemoved;else if(g=g._next,null==D.previousIndex)y++;else{w||(w=[]);const N=k-y,q=R-y;if(N!=q){for(let re=0;re{D=this._trackByFn(y,k),null!==g&&Object.is(g.trackById,D)?(_&&(g=this._verifyReinsertion(g,k,D,y)),Object.is(g.item,k)||this._addIdentityChange(g,k)):(g=this._mismatch(g,k,D,y),_=!0),g=g._next,y++}),this.length=y;return this._truncate(g),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,g,_,y){let w;return null===m?w=this._itTail:(w=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._reinsertAfter(m,w,y)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(_,y))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._moveAfter(m,w,y)):m=this._addAfter(new ox(g,_),w,y),m}_verifyReinsertion(m,g,_,y){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==w?m=this._reinsertAfter(w,m._prev,y):m.currentIndex!=y&&(m.currentIndex=y,this._addToMoves(m,y)),m}_truncate(m){for(;null!==m;){const g=m._next;this._addToRemovals(this._unlink(m)),m=g}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(m,g,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const y=m._prevRemoved,w=m._nextRemoved;return null===y?this._removalsHead=w:y._nextRemoved=w,null===w?this._removalsTail=y:w._prevRemoved=y,this._insertAfter(m,g,_),this._addToMoves(m,_),m}_moveAfter(m,g,_){return this._unlink(m),this._insertAfter(m,g,_),this._addToMoves(m,_),m}_addAfter(m,g,_){return this._insertAfter(m,g,_),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,g,_){const y=null===g?this._itHead:g._next;return m._next=y,m._prev=g,null===y?this._itTail=m:y._prev=m,null===g?this._itHead=m:g._next=m,null===this._linkedRecords&&(this._linkedRecords=new zg),this._linkedRecords.put(m),m.currentIndex=_,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const g=m._prev,_=m._next;return null===g?this._itHead=_:g._next=_,null===_?this._itTail=g:_._prev=g,m}_addToMoves(m,g){return m.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zg),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,g){return m.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class ox{constructor(m,g){this.item=m,this.trackById=g,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 ZC{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,g){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===g||g<=_.currentIndex)&&Object.is(_.trackById,m))return _;return null}remove(m){const g=m._prevDup,_=m._nextDup;return null===g?this._head=_:g._nextDup=_,null===_?this._tail=g:_._prevDup=g,null===this._head}}class zg{constructor(){this.map=new Map}put(m){const g=m.trackById;let _=this.map.get(g);_||(_=new ZC,this.map.set(g,_)),_.add(m)}get(m,g){const y=this.map.get(m);return y?y.get(m,g):null}remove(m){const g=m.trackById;return this.map.get(g).remove(m)&&this.map.delete(g),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(p,m,g){const _=p.previousIndex;if(null===_)return _;let y=0;return g&&_{if(g&&g.key===y)this._maybeAddToChanges(g,_),this._appendAfter=g,g=g._next;else{const w=this._getOrCreateRecordForKey(y,_);g=this._insertBeforeOrAppend(g,w)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let _=g;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,g){if(m){const _=m._prev;return g._next=m,g._prev=_,m._prev=g,_&&(_._next=g),m===this._mapHead&&(this._mapHead=g),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(m,g){if(this._records.has(m)){const y=this._records.get(m);this._maybeAddToChanges(y,g);const w=y._prev,D=y._next;return w&&(w._next=D),D&&(D._prev=w),y._next=null,y._prev=null,y}const _=new Zp(m);return this._records.set(m,_),_.currentValue=g,this._addToAdditions(_),_}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,g){Object.is(g,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=g,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,g){m instanceof Map?m.forEach(g):Object.keys(m).forEach(_=>g(m[_],_))}}class Zp{constructor(m){this.key=m,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 qg(){return new $p([new Yg])}let $p=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(null!=_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||qg()),deps:[[p,new qa,new za]]}}find(g){const _=this.factories.find(y=>y.supports(g));if(null!=_)return _;throw new te(901,"")}}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:qg}),p})();function JC(){return new Yo([new Ug])}let Yo=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||JC()),deps:[[p,new qa,new za]]}}find(g){const _=this.factories.find(w=>w.supports(g));if(_)return _;throw new te(901,"")}}return p.\u0275prov=Kt({token:p,providedIn:"root",factory:JC}),p})();const QC=[new Ug],KC=new $p([new Yg]),XC=new Yo(QC),Xl=VC(null,"core",[{provide:$l,useValue:"unknown"},{provide:bd,deps:[Ur]},{provide:IC,deps:[]},{provide:Lg,deps:[]}]),dx=[{provide:Fu,useClass:Fu,deps:[$r,Ur,Sl,Ul,Zl]},{provide:uT,deps:[$r],useFactory:function ux(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(g){m.push(g)}}},{provide:Zl,useClass:Zl,deps:[[new za,Rg]]},{provide:Og,useClass:Og,deps:[]},ZM,{provide:$p,useFactory:function cx(){return KC},deps:[]},{provide:Yo,useFactory:function hS(){return XC},deps:[]},{provide:Jl,useFactory:function Jp(p){return p||function ew(){return"undefined"!=typeof $localize&&$localize.locale||bu}()},deps:[[new Al(Jl),new za,new qa]]},{provide:Ig,useValue:"USD"}];let hx=(()=>{class p{constructor(g){}}return p.\u0275fac=function(g){return new(g||p)(sn(Fu))},p.\u0275mod=ls({type:p}),p.\u0275inj=cn({providers:dx}),p})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),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(T){return(U||(U=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(Y)))(T||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(x){return this.data.get(x)}removeItem(x){this.data.delete(x)}setItem(x,T){this.data.set(x,T)}}return Y.\u0275fac=function(x){return new(x||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,x=null){super(U),this.info=x}}class OAuthInfoEvent extends OAuthEvent{constructor(U,x=null){super(U),this.info=x}}class OAuthErrorEvent extends OAuthEvent{constructor(U,x,T=null){super(U),this.reason=x,this.params=T}}function b64DecodeUnicode(Y){const U=Y.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(U).split("").map(function(x){return"%"+("00"+x.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=x=>{location.href=x},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 x=this.inferHashAlgorithm(U.idTokenHeader),T=yield this.calcHash(U.accessToken,x),S=base64UrlEncode(T.substr(0,T.length/2)),M=U.idTokenClaims.at_hash.replace(/=/g,"");return S!==M&&(console.error("exptected at_hash: "+S),console.error("actual at_hash: "+M)),S===M})}inferHashAlgorithm(U){let x=U.alg;if(!x.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+x);return"sha-"+x.substr(2)}}let UrlHelperService=(()=>{class Y{getHashFragmentParams(x){let T=x||window.location.hash;if(T=decodeURIComponent(T),0!==T.indexOf("#"))return{};const i=T.indexOf("?");return T=T.substr(i>-1?i+1:1),this.parseQueryString(T)}parseQueryString(x){const T={};let i,S,M,E,P,L,V;if(null===x)return T;i=x.split("&");for(let z=0;z>6,S[E++]=128|63&P):P<55296||P>=57344?(S[E++]=224|P>>12,S[E++]=128|P>>6&63,S[E++]=128|63&P):(P=65536+((1023&P)<<10|1023&Y.charCodeAt(++T)),S[E++]=240|P>>18,S[E++]=128|P>>12&63,S[E++]=128|P>>6&63,S[E++]=128|63&P);Y=S}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 L=[],V=[];for(T=0;T<64;++T){var z=Y[T]||0;L[T]=92^z,V[T]=54^z}Sha256.call(this,U,x),this.update(V),this.oKeyPad=L,this.inner=!0,this.sharedMemory=x}Sha256.prototype.update=function(Y){if(!this.finalized){var U,x=typeof Y;if("string"!==x){if("object"!==x)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 T,S,i=0,M=Y.length,E=this.blocks;i>2]|=Y[i]<>2]|=T<>2]|=(192|T>>6)<>2]|=(128|63&T)<=57344?(E[S>>2]|=(224|T>>12)<>2]|=(128|T>>6&63)<>2]|=(128|63&T)<>2]|=(240|T>>18)<>2]|=(128|T>>12&63)<>2]|=(128|T>>6&63)<>2]|=(128|63&T)<=64?(this.block=E[16],this.start=S-64,this.hash(),this.hashed=!0):this.start=S}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 L,Q,ie,te,he,fe,Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=this.blocks;for(L=16;L<64;++L)P[L]=P[L-16]+(((Q=P[L-15])>>>7|Q<<25)^(Q>>>18|Q<<14)^Q>>>3)+P[L-7]+(((Q=P[L-2])>>>17|Q<<15)^(Q>>>19|Q<<13)^Q>>>10)<<0;for(fe=U&x,L=0;L<64;L+=4)this.first?(this.is224?(ie=300032,E=(Q=P[0]-1413257819)-150054599<<0,T=Q+24177077<<0):(ie=704751109,E=(Q=P[0]-210244248)-1521486534<<0,T=Q+143694565<<0),this.first=!1):(E=T+(Q=E+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&S^~i&M)+K[L]+P[L])<<0,T=Q+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((ie=Y&U)^Y&x^fe))<<0),M=x+(Q=M+((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&i^~E&S)+K[L+1]+P[L+1])<<0,x=Q+(((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+((te=T&Y)^T&U^ie))<<0,S=U+(Q=S+((M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7))+(M&E^~M&i)+K[L+2]+P[L+2])<<0,U=Q+(((x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10))+((he=x&T)^x&Y^te))<<0,i=Y+(Q=i+((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&M^~S&E)+K[L+3]+P[L+3])<<0,Y=Q+(((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))+((fe=U&x)^U&T^he))<<0;this.h0=this.h0+Y<<0,this.h1=this.h1+U<<0,this.h2=this.h2+x<<0,this.h3=this.h3+T<<0,this.h4=this.h4+i<<0,this.h5=this.h5+S<<0,this.h6=this.h6+M<<0,this.h7=this.h7+E<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=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[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x]+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[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[S>>28&15]+HEX_CHARS[S>>24&15]+HEX_CHARS[S>>20&15]+HEX_CHARS[S>>16&15]+HEX_CHARS[S>>12&15]+HEX_CHARS[S>>8&15]+HEX_CHARS[S>>4&15]+HEX_CHARS[15&S]+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||(P+=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]),P},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,U=this.h1,x=this.h2,T=this.h3,i=this.h4,S=this.h5,M=this.h6,E=this.h7,P=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,U>>24&255,U>>16&255,U>>8&255,255&U,x>>24&255,x>>16&255,x>>8&255,255&x,T>>24&255,T>>16&255,T>>8&255,255&T,i>>24&255,i>>16&255,i>>8&255,255&i,S>>24&255,S>>16&255,S>>8&255,255&S,M>>24&255,M>>16&255,M>>8&255,255&M];return this.is224||P.push(E>>24&255,E>>16&255,E>>8&255,255&E),P},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,x=Y,T=new Uint8Array(x.length);for(U=0;U{class Y{calcHash(x,T){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(x)))})}toHashString2(x){let T="";for(let i of x)T+=String.fromCharCode(i);return T}toHashString(x){const T=new Uint8Array(x);let i="";for(let S of T)i+=String.fromCharCode(S);return i}}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),OAuthService=(()=>{class Y extends AuthConfig{constructor(x,T,i,S,M,E,P,L,V,z){var J;super(),this.ngZone=x,this.http=T,this.config=M,this.urlHelper=E,this.logger=P,this.crypto=L,this.dateTimeService=z,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=V,M||(M={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),S&&(this.tokenValidationHandler=S),M&&this.configure(M);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(Q){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",Q)}if(this.checkLocalStorageAccessable()){const Q=null===(J=null==window?void 0:window.navigator)||void 0===J?void 0:J.userAgent;((null==Q?void 0:Q.includes("MSIE "))||(null==Q?void 0:Q.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const x="test";try{return void 0!==window.localStorage&&(localStorage.setItem(x,x),localStorage.removeItem(x),!0)}catch(T){return!1}}configure(x){Object.assign(this,new AuthConfig,x),this.config=Object.assign({},new AuthConfig,x),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)(x=>"token_received"===x.type)).subscribe(x=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(x={},T,i=!0){let S=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(M=>{"token_received"===M.type?S=!0:"logout"===M.type&&(S=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(M=>"token_expires"===M.type&&(null==T||"any"===T||M.info===T)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(M=>{S&&this.refreshInternal(x,i).catch(E=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(x,T){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(x,T):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(x=null){return this.loadDiscoveryDocument().then(T=>this.tryLogin(x))}loadDiscoveryDocumentAndLogin(x=null){return this.loadDiscoveryDocumentAndTryLogin(x=x||{}).then(T=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof x.state?x.state:""),!1))}debug(...x){this.showDebugInformation&&this.logger.debug.apply(this.logger,x)}validateUrlFromDiscoveryDocument(x){const T=[],i=this.validateUrlForHttps(x),S=this.validateUrlAgainstIssuer(x);return i||T.push("https for all urls required. Also for urls received by discovery."),S||T.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),T}validateUrlForHttps(x){if(!x)return!0;const T=x.toLowerCase();return!(!1!==this.requireHttps&&(!T.match(/^http:\/\/localhost($|[:\/])/)&&!T.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||T.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(x,T){if(!x)throw new Error(`'${T}' should not be null`);if(!this.validateUrlForHttps(x))throw new Error(`'${T}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(x){return!this.strictDiscoveryDocumentValidation||!x||x.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)(x=>"token_received"===x.type)).subscribe(x=>{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 x=this.getAccessTokenExpiration(),T=this.getAccessTokenStoredAt(),i=this.calcTimeout(T,x);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}setupIdTokenTimer(){const x=this.getIdTokenExpiration(),T=this.getIdTokenStoredAt(),i=this.calcTimeout(T,x);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}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(x,T){const i=this.dateTimeService.now();return Math.max(0,(T-x)*this.timeoutFactor-(i-x))}setStorage(x){this._storage=x,this.configChanged()}loadDiscoveryDocument(x=null){return new Promise((T,i)=>{x||((x=this.issuer||"").endsWith("/")||(x+="/"),x+=".well-known/openid-configuration"),this.validateUrlForHttps(x)?this.http.get(x).subscribe(S=>{if(!this.validateDiscoveryDocument(S))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=S.authorization_endpoint,this.logoutUrl=S.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=S.grant_types_supported,this.issuer=S.issuer,this.tokenEndpoint=S.token_endpoint,this.userinfoEndpoint=S.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=S.jwks_uri,this.sessionCheckIFrameUrl=S.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(S),this.revocationEndpoint=S.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(M=>{const P=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:S,jwks:M});this.eventsSubject.next(P),T(P)}).catch(M=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",M)),i(M)})},S=>{this.logger.error("error loading discovery document",S),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",S)),i(S)}):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((x,T)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),x(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),T(i)}):x(null)})}validateDiscoveryDocument(x){let T;return this.skipIssuerCheck||x.issuer===this.issuer?(T=this.validateUrlFromDiscoveryDocument(x.authorization_endpoint),T.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.end_session_endpoint),T.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.token_endpoint),T.length>0&&this.logger.error("error validating token_endpoint in discovery document",T),T=this.validateUrlFromDiscoveryDocument(x.revocation_endpoint),T.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",T),T=this.validateUrlFromDiscoveryDocument(x.userinfo_endpoint),T.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",T),!1):(T=this.validateUrlFromDiscoveryDocument(x.jwks_uri),T.length>0?(this.logger.error("error validating jwks_uri in discovery document",T),!1):(this.sessionChecksEnabled&&!x.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: "+x.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(x,T,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((x,T)=>{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(S=>{if(this.debug("userinfo received",JSON.stringify(S)),S.headers.get("content-type").startsWith("application/json")){let M=JSON.parse(S.body);const E=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!E.sub||M.sub!==E.sub))return void T("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({},E,M),this._storage.setItem("id_token_claims_obj",JSON.stringify(M)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x({info:M})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),x(JSON.parse(S.body))},S=>{this.logger.error("error loading user info",S),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",S)),T(S)})})}fetchTokenUsingPasswordFlow(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:x,password:T},i)}fetchTokenUsingGrant(x,T,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let S=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",x).set("scope",this.scope);if(this.useHttpBasicAuth){const M=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+M)}if(this.useHttpBasicAuth||(S=S.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(S=S.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const M of Object.getOwnPropertyNames(this.customQueryParams))S=S.set(M,this.customQueryParams[M]);for(const M of Object.keys(T))S=S.set(M,T[M]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((M,E)=>{this.http.post(this.tokenEndpoint,S,{headers:i}).subscribe(P=>{this.debug("tokenResponse",P),this.storeAccessTokenResponse(P.access_token,P.refresh_token,P.expires_in||this.fallbackAccessTokenExpirationTimeInSec,P.scope,this.extractRecognizedCustomParameters(P)),this.oidc&&P.id_token&&this.processIdToken(P.id_token,P.access_token).then(L=>{this.storeIdToken(L),M(P)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),M(P)},P=>{this.logger.error("Error performing ${grantType} flow",P),this.eventsSubject.next(new OAuthErrorEvent("token_error",P)),E(P)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((x,T)=>{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")),S=(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}`);S=S.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:S}).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)(E=>this.storeIdToken(E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(E=>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")),x(M)},M=>{this.logger.error("Error refreshing token",M),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",M)),T(M)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=x=>{const T=this.processMessageEventMessage(x);this.tryLogin({customHashFragment:T,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(x={},T=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(x.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 S=this.document.getElementById(this.silentRefreshIFrameName);S&&this.document.body.removeChild(S),this.silentRefreshSubject=i.sub;const M=this.document.createElement("iframe");M.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,T,x).then(z=>{M.setAttribute("src",z),this.silentRefreshShowIFrame||(M.style.display="none"),this.document.body.appendChild(M)});const P=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(z=>z instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),L=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(z=>"token_received"===z.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),V=(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__.S)([P,L,V]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(z=>{if(z instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===z.type||(z=new OAuthErrorEvent("silent_refresh_error",z)),this.eventsSubject.next(z),z;return"token_received"===z.type&&(z=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(z)),z})).toPromise()}initImplicitFlowInPopup(x){return this.initLoginFlowInPopup(x)}initLoginFlowInPopup(x){return x=x||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(T=>new Promise((i,S)=>{let P,E=null;x.windowRef?x.windowRef&&!x.windowRef.closed&&(E=x.windowRef,E.location.href=T):E=window.open(T,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(x));const L=oe=>{this.tryLogin({customHashFragment:oe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{z(),i(!0)},ce=>{z(),S(ce)})};E?P=window.setInterval(()=>{(!E||E.closed)&&(z(),S(new OAuthErrorEvent("popup_closed",{})))},500):S(new OAuthErrorEvent("popup_blocked",{}));const z=()=>{window.clearInterval(P),window.removeEventListener("storage",Q),window.removeEventListener("message",J),null!==E&&E.close(),E=null},J=oe=>{const ce=this.processMessageEventMessage(oe);ce&&null!==ce?(window.removeEventListener("storage",Q),L(ce)):console.log("false event firing")},Q=oe=>{"auth_hash"===oe.key&&(window.removeEventListener("message",J),L(oe.newValue))};window.addEventListener("message",J),window.addEventListener("storage",Q)}))}calculatePopupFeatures(x){const T=x.height||470,i=x.width||500,S=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${T},top=${window.screenTop+(window.outerHeight-T)/2},left=${S}`}processMessageEventMessage(x){let T="#";if(this.silentRefreshMessagePrefix&&(T+=this.silentRefreshMessagePrefix),!x||!x.data||"string"!=typeof x.data)return;const i=x.data;return i.startsWith(T)?"#"+i.substr(T.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=x=>{const T=x.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(T)){switch(x.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",x)}else this.debug("sessionCheckEventListener","wrong origin",T,"expected",i,"event",x)},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(x=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(x=>{this.debug("token refresh after session change worked")}).catch(x=>{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)(x=>"silently_refreshed"===x.type||"silent_refresh_timeout"===x.type||"silent_refresh_error"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(x=>{"silently_refreshed"!==x.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 x=this.document.getElementById(this.sessionCheckIFrameName);x&&this.document.body.removeChild(x);const T=this.document.createElement("iframe");T.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),T.setAttribute("src",this.sessionCheckIFrameUrl),T.style.display="none",this.document.body.appendChild(T),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 x=this.document.getElementById(this.sessionCheckIFrameName);x||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const T=this.getSessionState();T||this.stopSessionCheckTimer(),x.contentWindow.postMessage(this.clientId+" "+T,this.issuer)}createLoginUrl(x="",T="",i="",S=!1,M={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=this;let P;P=i||this.redirectUri;const L=yield this.createAndSaveNonce();if(x=x?L+this.config.nonceStateSeparator+encodeURIComponent(x):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 V=E.loginUrl.indexOf("?")>-1?"&":"?";let z=E.scope;this.oidc&&!z.match(/(^|\s)openid($|\s)/)&&(z="openid "+z);let J=E.loginUrl+V+"response_type="+encodeURIComponent(E.responseType)+"&client_id="+encodeURIComponent(E.clientId)+"&state="+encodeURIComponent(x)+"&redirect_uri="+encodeURIComponent(P)+"&scope="+encodeURIComponent(z);if(this.responseType.includes("code")&&!this.disablePKCE){const[Q,oe]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",oe):this._storage.setItem("PKCE_verifier",oe),J+="&code_challenge="+Q,J+="&code_challenge_method=S256"}T&&(J+="&login_hint="+encodeURIComponent(T)),E.resource&&(J+="&resource="+encodeURIComponent(E.resource)),E.oidc&&(J+="&nonce="+encodeURIComponent(L)),S&&(J+="&prompt=none");for(const Q of Object.keys(M))J+="&"+encodeURIComponent(Q)+"="+encodeURIComponent(M[Q]);if(this.customQueryParams)for(const Q of Object.getOwnPropertyNames(this.customQueryParams))J+="&"+Q+"="+encodeURIComponent(this.customQueryParams[Q]);return J})}initImplicitFlowInternal(x="",T=""){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={},S=null;"string"==typeof T?S=T:"object"==typeof T&&(i=T),this.createLoginUrl(x,S,null,!1,i).then(this.config.openUri).catch(M=>{console.error("Error in initImplicitFlow",M),this.inImplicitFlow=!1})}initImplicitFlow(x="",T=""){""!==this.loginUrl?this.initImplicitFlowInternal(x,T):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(x,T))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(x){const T=this;if(x.onTokenReceived){const i={idClaims:T.getIdentityClaims(),idToken:T.getIdToken(),accessToken:T.getAccessToken(),state:T.state};x.onTokenReceived(i)}}storeAccessTokenResponse(x,T,i,S,M){if(this._storage.setItem("access_token",x),S&&!Array.isArray(S)?this._storage.setItem("granted_scopes",JSON.stringify(S.split(" "))):S&&Array.isArray(S)&&this._storage.setItem("granted_scopes",JSON.stringify(S)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const E=1e3*i,L=this.dateTimeService.new().getTime()+E;this._storage.setItem("expires_at",""+L)}T&&this._storage.setItem("refresh_token",T),M&&M.forEach((E,P)=>{this._storage.setItem(P,E)})}tryLogin(x=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(x).then(T=>!0):this.tryLoginImplicitFlow(x)}parseQueryString(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):{}}tryLoginCodeFlow(x=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const T=(x=x||{}).customHashFragment?x.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(T),S=i.code,M=i.state,E=i.session_state;if(!x.preventClearHashAfterLogin){const V=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,V)}let[P,L]=this.parseState(M);if(this.state=L,i.error){this.debug("error trying to login"),this.handleLoginError(x,i);const V=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(V),Promise.reject(V)}if(!x.disableNonceCheck){if(!P)return this.saveRequestedRoute(),Promise.resolve();if(!x.disableOAuth2StateCheck&&!this.validateNonce(P)){const z=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(z),Promise.reject(z)}return this.storeSessionState(E),S&&(yield this.getTokenFromCode(S,x),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const x=this._storage.getItem("requested_route");x&&history.replaceState(null,"",window.location.origin+x)}getCodePartsFromUrl(x){return x&&0!==x.length?("?"===x.charAt(0)&&(x=x.substr(1)),this.urlHelper.parseQueryString(x)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(x,T){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",x).set("redirect_uri",T.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let S;S=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),S?i=i.set("code_verifier",S):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,T)}fetchAndProcessToken(x,T){T=T||{},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 S=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+S)}return this.useHttpBasicAuth||(x=x.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(x=x.set("client_secret",this.dummyClientSecret)),new Promise((S,M)=>{if(this.customQueryParams)for(let E of Object.getOwnPropertyNames(this.customQueryParams))x=x.set(E,this.customQueryParams[E]);this.http.post(this.tokenEndpoint,x,{headers:i}).subscribe(E=>{this.debug("refresh 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,T.disableNonceCheck).then(P=>{this.storeIdToken(P),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E)}).catch(P=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",P)),console.error("Error validating tokens"),console.error(P),M(P)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E))},E=>{console.error("Error getting token",E),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",E)),M(E)})})}tryLoginImplicitFlow(x=null){let T;T=(x=x||{}).customHashFragment?this.urlHelper.getHashFragmentParams(x.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",T);const i=T.state;let[S,M]=this.parseState(i);if(this.state=M,T.error){this.debug("error trying to login"),this.handleLoginError(x,T);const z=new OAuthErrorEvent("token_error",{},T);return this.eventsSubject.next(z),Promise.reject(z)}const E=T.access_token,P=T.id_token,L=T.session_state,V=T.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!E||this.requestAccessToken&&!x.disableOAuth2StateCheck&&!i||this.oidc&&!P)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&&!x.disableNonceCheck&&!this.validateNonce(S)){const J=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(J),Promise.reject(J)}return this.requestAccessToken&&this.storeAccessTokenResponse(E,null,T.expires_in||this.fallbackAccessTokenExpirationTimeInSec,V),this.oidc?this.processIdToken(P,E,x.disableNonceCheck).then(z=>x.validationHandler?x.validationHandler({accessToken:E,idClaims:z.idTokenClaims,idToken:z.idToken,state:i}).then(J=>z):z).then(z=>(this.storeIdToken(z),this.storeSessionState(L),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(x),this.inImplicitFlow=!1,!0)).catch(z=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",z)),this.logger.error("Error validating tokens"),this.logger.error(z),Promise.reject(z))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(x),Promise.resolve(!0))}parseState(x){let T=x,i="";if(x){const S=x.indexOf(this.config.nonceStateSeparator);S>-1&&(T=x.substr(0,S),i=x.substr(S+this.config.nonceStateSeparator.length))}return[T,i]}validateNonce(x){let T;return T=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),T===x||(console.error("Validating access_token failed, wrong state/nonce.",T,x),!1)}storeIdToken(x){this._storage.setItem("id_token",x.idToken),this._storage.setItem("id_token_claims_obj",x.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+x.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(x){this._storage.setItem("session_state",x)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(x,T){x.onLoginError&&x.onLoginError(T),this.clearHashAfterLogin&&!x.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(x=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:x}processIdToken(x,T,i=!1){const S=x.split("."),E=b64DecodeUnicode(this.padBase64(S[0])),P=JSON.parse(E),V=b64DecodeUnicode(this.padBase64(S[1])),z=JSON.parse(V);let J;if(J=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(z.aud)){if(z.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+z.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(z.aud!==this.clientId){const he="Wrong audience: "+z.aud;return this.logger.warn(he),Promise.reject(he)}if(!z.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==z.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${z.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!z.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&z.iss!==this.issuer){const he="Wrong issuer: "+z.iss;return this.logger.warn(he),Promise.reject(he)}if(!i&&z.nonce!==J){const he="Wrong nonce: "+z.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!z.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const Q=this.dateTimeService.now(),oe=1e3*z.iat,ce=1e3*z.exp,ie=this.getClockSkewInMsec();if(oe-ie>=Q||ce+ie<=Q){const he="Token has expired";return console.error(he),console.error({now:Q,issuedAtMSec:oe,expiresAtMSec:ce}),Promise.reject(he)}const te={accessToken:T,idToken:x,jwks:this.jwks,idTokenClaims:z,idTokenHeader:P,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(te).then(he=>({idToken:x,idTokenClaims:z,idTokenClaimsJson:V,idTokenHeader:P,idTokenHeaderJson:E,idTokenExpiresAt:ce})):this.checkAtHash(te).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const fe="Wrong at_hash";return this.logger.warn(fe),Promise.reject(fe)}return this.checkSignature(te).then(fe=>{const ze={idToken:x,idTokenClaims:z,idTokenClaimsJson:V,idTokenHeader:P,idTokenHeaderJson:E,idTokenExpiresAt:ce};return this.disableAtHashCheck?ze:this.checkAtHash(te).then(qe=>{if(this.requestAccessToken&&!qe){const Ee="Wrong at_hash";return this.logger.warn(Ee),Promise.reject(Ee)}return ze})})})}getIdentityClaims(){const x=this._storage.getItem("id_token_claims_obj");return x?JSON.parse(x):null}getGrantedScopes(){const x=this._storage.getItem("granted_scopes");return x?JSON.parse(x):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(x){for(;x.length%4!=0;)x+="=";return x}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 x=this._storage.getItem("expires_at"),T=this.dateTimeService.new();return!(x&&parseInt(x,10)=0&&null!==this._storage.getItem(x)?JSON.parse(this._storage.getItem(x)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(x={},T=""){let i=!1;"boolean"==typeof x&&(i=x,x={});const S=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(E=>this._storage.removeItem(E)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!S&&!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(S)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});S&&(E=E.set("id_token_hint",S));const P=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";P&&(E=E.set("post_logout_redirect_uri",P),T&&(E=E.set("state",T)));for(let L in x)E=E.set(L,x[L]);M=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+E.toString()}this.config.openUri(M)}createAndSaveNonce(){const x=this;return this.createNonce().then(function(T){return x.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",T):x._storage.setItem("nonce",T),T})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const x=this.document.getElementById(this.silentRefreshIFrameName);x&&x.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const T=this.document.getElementById(this.sessionCheckIFrameName);T&&T.remove()}createNonce(){return new Promise(x=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,S="";const M="undefined"==typeof self?null:self.crypto||self.msCrypto;if(M){let E=new Uint8Array(i);M.getRandomValues(E),E.map||(E.map=Array.prototype.map),E=E.map(P=>T.charCodeAt(P%T.length)),S=String.fromCharCode.apply(null,E)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(x,T))}initCodeFlowInternal(x="",T={}){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={},S=null;"string"==typeof T?S=T:"object"==typeof T&&(i=T),this.createLoginUrl(x,S,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 x=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(x,"sha-256")),x]})}extractRecognizedCustomParameters(x){let T=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{x[i]&&T.set(i,JSON.stringify(x[i]))}),T}revokeTokenAndLogout(x={},T=!1){let i=this.revocationEndpoint,S=this.getAccessToken(),M=this.getRefreshToken();if(!S)return;let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}),P=(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}`);P=P.set("Authorization","Basic "+L)}if(this.useHttpBasicAuth||(E=E.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(E=E.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const L of Object.getOwnPropertyNames(this.customQueryParams))E=E.set(L,this.customQueryParams[L]);return new Promise((L,V)=>{let z,J;if(S){let Q=E.set("token",S).set("token_type_hint","access_token");z=this.http.post(i,Q,{headers:P})}else z=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(M){let Q=E.set("token",M).set("token_type_hint","refresh_token");J=this.http.post(i,Q,{headers:P})}else J=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);T&&(z=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(Q=>0===Q.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Q))),J=J.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(Q=>0===Q.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Q)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([z,J]).subscribe(Q=>{this.logOut(x),L(Q),this.logger.info("Token successfully revoked")},Q=>{this.logger.error("Error revoking token",Q),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",Q)),V(Q)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Y.\u0275fac=function(x){return new(x||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(x,T,i){this.oAuthService=x,this.errorHandler=T,this.moduleConfig=i}checkUrl(x){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(x):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(T=>x.toLowerCase().startsWith(T.toLowerCase()))}intercept(x,T){const i=x.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__.z)(M=>{if(M){const P=x.headers.set("Authorization","Bearer "+M);x=x.clone({headers:P})}return T.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(E=>this.errorHandler.handleError(E)))})):T.handle(x).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(M=>this.errorHandler.handleError(M))):T.handle(x)}}return Y.\u0275fac=function(x){return new(x||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(x=null,T=NullValidationHandler){return{ngModule:Y,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:T},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:x},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return Y.\u0275fac=function(x){return new(x||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:"9.1.0"}}},Y=>{Y(Y.s=4833)}]); \ 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 857f94fa5..55b0400ed 100644 --- a/dist/apps/user-profile/assets/config/defaultConfig.json +++ b/dist/apps/user-profile/assets/config/defaultConfig.json @@ -73,6 +73,7 @@ "mfa": { "api_url": "https://id.muni.cz/mfaapi/", "enable_security_image": true, + "enable_detail_settings": false, "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/", diff --git a/dist/apps/user-profile/index.html b/dist/apps/user-profile/index.html index 44470bfa0..62c0cf80b 100644 --- a/dist/apps/user-profile/index.html +++ b/dist/apps/user-profile/index.html @@ -5,7 +5,7 @@ User Profile - + @@ -13,5 +13,5 @@
- + diff --git a/dist/apps/user-profile/main.fe76e45989bef2bc.js b/dist/apps/user-profile/main.c02be4d89ad6b88a.js similarity index 70% rename from dist/apps/user-profile/main.fe76e45989bef2bc.js rename to dist/apps/user-profile/main.c02be4d89ad6b88a.js index 5934948c6..edbbbcc3a 100644 --- a/dist/apps/user-profile/main.fe76e45989bef2bc.js +++ b/dist/apps/user-profile/main.c02be4d89ad6b88a.js @@ -1 +1 @@ -(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{7742:(j,Y,T)=>{"use strict";var w=T(9808),i=T(5e3);class S extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends S{static makeCurrent(){(0,w.HT)(new x)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function k(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==e?null:function V(n){R=R||document.createElement("a"),R.setAttribute("href",n);const a=R.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,w.Mx)(document.cookie,a)}}let R,E=null;const q=new i.OlP("TRANSITION_ID"),X=[{provide:i.ip1,useFactory:function $(n,a,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,w.q)(),r=a.querySelectorAll(`style[ng-transition="${n}"]`);for(let l=0;l{const l=a.findTestabilityInTree(t,r);if(null==l)throw new Error("Could not find testability for element.");return l},i.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const r=i.dqk.getAllAngularTestabilities();let l=r.length,c=!1;const s=function(o){c=c||o,l--,0==l&&t(c)};r.forEach(function(o){o.whenStable(s)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const r=a.getTestability(e);return null!=r?r:t?(0,w.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let ce=(()=>{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 ie=new i.OlP("EventManagerPlugins");let te=(()=>{class n{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 l=0;l{class n{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 n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Oe=(()=>{class n extends ge{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,r){e.forEach(l=>{const c=this._doc.createElement("style");c.textContent=l,r.push(t.appendChild(c))})}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(We),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,r)=>{this._addStylesToHost(e,r,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(We))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function We(n){(0,w.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/"},Ee=/%COMP%/g;function ue(n,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return n;!1===n(a)&&(a.preventDefault(),a.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new ye(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let r=this.rendererByCompId.get(t.id);return r||(r=new zt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r}case 1:case i.ifc.ShadowDom:return new oi(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 n.\u0275fac=function(e){return new(e||n)(i.LFG(te),i.LFG(Oe),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ye{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(Ze[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,r){if(r){e=r+":"+e;const l=Ze[r];l?a.setAttributeNS(l,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const r=Ze[t];r?a.removeAttributeNS(r,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,r){r&(i.JOm.DashCase|i.JOm.Important)?a.style.setProperty(e,t,r&i.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&i.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,_e(t)):this.eventManager.addEventListener(a,e,_e(t))}}class zt extends ye{constructor(a,e,t,r){super(a),this.component=t;const l=ue(r+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function Ve(n){return"_ngcontent-%COMP%".replace(Ee,n)}(r+"-"+t.id),this.hostAttr=function Qe(n){return"_nghost-%COMP%".replace(Ee,n)}(r+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class oi extends ye{constructor(a,e,t,r){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=ue(r.id,r.styles,[]);for(let c=0;c{class n extends he{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 n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ii=["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"},ni={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"},Un={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Gi=(()=>{class n extends he{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,r){const l=n.parseEventName(t),c=n.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(e,l.domEventName,c))}static parseEventName(e){const t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;const l=n._normalizeKey(t.pop());let c="";if(Ii.forEach(o=>{const d=t.indexOf(o);d>-1&&(t.splice(d,1),c+=o+".")}),c+=l,0!=t.length||0===l.length)return null;const s={};return s.domEventName=r,s.fullKey=c,s}static getEventFullKey(e){let t="",r=function gi(n){let a=n.key;if(null==a){if(a=n.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===n.location&&ni.hasOwnProperty(a)&&(a=ni[a]))}return Xe[a]||a}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Ii.forEach(l=>{l!=r&&Un[l](e)&&(t+=l+".")}),t+=r,t}static eventCallback(e,t,r){return l=>{n.getEventFullKey(l)===e&&r.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Wr=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:w.bD},{provide:i.g9A,useValue:function Jt(){x.makeCurrent(),se.init()},multi:!0},{provide:w.K0,useFactory:function ga(){return(0,i.RDi)(document),document},deps:[]}]),On=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function hn(){return new i.qLn},deps:[]},{provide:ie,useClass:et,multi:!0,deps:[w.K0,i.R0b,i.Lbi]},{provide:ie,useClass:Gi,multi:!0,deps:[w.K0]},{provide:xe,useClass:xe,deps:[te,Oe,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:ge,useExisting:Oe},{provide:Oe,useClass:Oe,deps:[w.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:te,useClass:te,deps:[ie,i.R0b]},{provide:w.JF,useClass:ce,deps:[]}];let de=(()=>{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:q,useExisting:i.AFp},X]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:On,imports:[w.ez,i.hGG]}),n})(),lt=(()=>{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function tt(){return new lt((0,i.LFG)(w.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let mr=(()=>{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(Es),t},providedIn:"root"}),n})(),Es=(()=>{class n extends mr{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ss(n){return new Es(n.get(w.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var M=T(520);class qe{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const vi=new i.OlP("basePath");class at{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let ri=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}convertAttributeToNonunique(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}convertAttributeToUnique(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attribute"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAttributeDefinitions(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attributes[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllAttributeDefinitions(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAttribute(e,t,r,l,c,s,o,d,u,h,f,b="body",N=!1,Q){let fe=new M.LE({encoder:this.encoder});null!=e&&(fe=this.addToHttpParams(fe,e,"attributeName")),null!=t&&(fe=this.addToHttpParams(fe,t,"attributeId")),null!=r&&(fe=this.addToHttpParams(fe,r,"facility")),null!=l&&(fe=this.addToHttpParams(fe,l,"user")),null!=c&&(fe=this.addToHttpParams(fe,c,"vo")),null!=s&&(fe=this.addToHttpParams(fe,s,"resource")),null!=o&&(fe=this.addToHttpParams(fe,o,"member")),null!=d&&(fe=this.addToHttpParams(fe,d,"group")),null!=u&&(fe=this.addToHttpParams(fe,u,"host")),null!=h&&(fe=this.addToHttpParams(fe,h,"userExtSource")),null!=f&&(fe=this.addToHttpParams(fe,f,"key"));let Mt,je=this.defaultHeaders;Mt=this.configuration.lookupCredential("BasicAuth"),Mt&&(je=je.set("Authorization","Basic "+Mt)),Mt=this.configuration.lookupCredential("BearerAuth"),Mt&&(je=je.set("Authorization","Bearer "+Mt));let gt=Q&&Q.httpHeaderAccept;void 0===gt&&(gt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==gt&&(je=je.set("Accept",gt));let ei=Q&&Q.context;void 0===ei&&(ei=new M.qT);let qa="json";return gt&&(qa=gt.startsWith("text")?"text":this.configuration.isJsonMime(gt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:ei,params:fe,responseType:qa,withCredentials:this.configuration.withCredentials,headers:je,observe:b,reportProgress:N})}getAttributeDefinitionById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeDefinitionByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeDefinitionsByNamespace(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"namespace"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeModulesDependenciesForAttributeGraphText(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"format")),null!=t&&(s=this.addToHttpParams(s,t,"attrName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAttributeModulesDependenciesGraphText(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"format"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributePolicyCollections(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeRights(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributesDefinitionWithRights(e,t,r,l,c,s,o,d,u="body",h=!1,f){let b=new M.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=r&&(b=this.addToHttpParams(b,r,"vo")),null!=l&&(b=this.addToHttpParams(b,l,"group")),null!=c&&(b=this.addToHttpParams(b,c,"resource")),null!=s&&(b=this.addToHttpParams(b,s,"facility")),null!=o&&(b=this.addToHttpParams(b,o,"host")),null!=d&&(b=this.addToHttpParams(b,d,"userExtSource"));let Q,N=this.defaultHeaders;Q=this.configuration.lookupCredential("BasicAuth"),Q&&(N=N.set("Authorization","Basic "+Q)),Q=this.configuration.lookupCredential("BearerAuth"),Q&&(N=N.set("Authorization","Bearer "+Q));let fe=f&&f.httpHeaderAccept;void 0===fe&&(fe=this.configuration.selectHeaderAccept(["application/json"])),void 0!==fe&&(N=N.set("Accept",fe));let je=f&&f.context;void 0===je&&(je=new M.qT);let Mt="json";return fe&&(Mt=fe.startsWith("text")?"text":this.configuration.isJsonMime(fe)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:je,params:b,responseType:Mt,withCredentials:this.configuration.withCredentials,headers:N,observe:u,reportProgress:h})}getEntitylessAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEntitylessAttributesByKey(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"key"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEntitylessAttributesByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attrName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEntitylessAttributesWithKeys(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attrName")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"keys[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEntitylessKeys(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFacilityAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFacilityAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityResourceUserMemberAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=r&&(d=this.addToHttpParams(d,r,"user")),null!=l&&(d=this.addToHttpParams(d,l,"member"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getFacilityUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupResourceAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupResourceAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"host"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getHostAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getLogins(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberAndUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"workWithUserAttributes"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAndUserAttributesByNames(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroupAndUserAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getMemberGroupAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberGroupAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroupAttributesByNames(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAndUserFacilityAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAndUserFacilityAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getMemberResourceAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"service"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesFacilityService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesFacilityServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")}),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesGroupResourceService(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"service")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"group"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesHostService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"host"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"workWithUserAttributes"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesMemberGroup(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesMemberGroupResourceService(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"service")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"group")),null!=l&&(u=this.addToHttpParams(u,l,"member")),null!=c&&(u=this.addToHttpParams(u,c,"workWithUserAttributes"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getRequiredAttributesMemberGroupService(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"group")),null!=r&&(d=this.addToHttpParams(d,r,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRequiredAttributesMemberResource(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesMemberResourceService(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=r&&(d=this.addToHttpParams(d,r,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRequiredAttributesResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesResourceService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesResourceServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")}),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesUserFacility(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesVoService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceGroupAndGroupAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"resource")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResourceGroupAndGroupAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithGroupAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getResourceGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceGroupMemberAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),null!=t&&(d=this.addToHttpParams(d,t,"group")),null!=r&&(d=this.addToHttpParams(d,r,"member")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getUserAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserFacilityAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getUserFacilityAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getUserFacilityAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"facility")),null!=t&&(h=this.addToHttpParams(h,t,"resource")),null!=r&&(h=this.addToHttpParams(h,r,"group")),null!=l&&(h=this.addToHttpParams(h,l,"user")),null!=c&&(h=this.addToHttpParams(h,c,"member")),s&&s.forEach(je=>{h=this.addToHttpParams(h,je,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}removeAttributesForFacilityResourceUserMember(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"user")),null!=l&&(u=this.addToHttpParams(u,l,"member")),c&&c.forEach(fe=>{u=this.addToHttpParams(u,fe,"attributes[]")});let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}removeEntitylessAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeFacilityAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeFacilityAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupResourceAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeGroupResourceAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attributes[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithGroupAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}removeHostAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeHostAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")}),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attributes[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}removeMemberResourceAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberResourceAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeResourceAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUesAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserExtSourceAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserFacilityAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeUserFacilityAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeVoAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setAttributePolicyCollections(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setAttributeRights(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setEntitylessAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityResourceGroupUserMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityResourceUserMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setHostAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setHostAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupWithUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAndUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberWithUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceGroupWithGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserExtSourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserExtSourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserFacilityAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setVoAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setVoAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zi=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}getAllPolicies(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"role")),null!=t&&(o=this.addToHttpParams(o,t,"complementaryObjectId")),null!=r&&(o=this.addToHttpParams(o,r,"complementaryObjectName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getAuthzRichAdmins(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"role")),null!=t&&(h=this.addToHttpParams(h,t,"complementaryObjectId")),null!=r&&(h=this.addToHttpParams(h,r,"complementaryObjectName")),l&&l.forEach(je=>{h=this.addToHttpParams(h,je,"specificAttributes")}),null!=c&&(h=this.addToHttpParams(h,c,"allUserAttributes")),null!=s&&(h=this.addToHttpParams(h,s,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}getFacilitiesWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupRoleNames(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupRoles(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"groupId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getLoggedUser(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getPerunPrincipal(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserRoleNames(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserRoles(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isFacilityAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isGroupAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isPerunAdmin(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}keepAlive(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setRoleWithUserComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unsetRoleWithGroupComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unsetRoleWithUserComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Di=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}changeConsentStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"consent")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}evaluateConsentsForConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling evaluateConsentsForConsentHub.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"consentHub"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForConsentHub`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}evaluateConsentsForService(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling evaluateConsentsForService.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"service"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForService`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllConsentHubs(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllConsents(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getConsentById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentForUserAndConsentHub(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"consentHub")),null!=r&&(o=this.addToHttpParams(o,r,"status"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getConsentHubByFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentHubById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentHubByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"name"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"consentHub"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForConsentHubWithStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"consentHub")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getConsentsForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForUserAndConsentHub(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"consentHub"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getConsentsForUserWithStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}updateConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateConsentHub was null or undefined when calling updateConsentHub.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hi=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addMembers(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"members[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}allowGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling allowGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling allowGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/allowGroupToHierarchicalVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}canExtendMembershipInGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createGroupUnion(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resultGroup")),null!=t&&(s=this.addToHttpParams(s,t,"operandGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createGroupWithParentGroupNameDescription(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"parentGroup")),null!=t&&(o=this.addToHttpParams(o,t,"name")),null!=r&&(o=this.addToHttpParams(o,r,"description"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}createGroupWithVoNameDescription(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"name")),null!=r&&(o=this.addToHttpParams(o,r,"description"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}deleteGroup(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputDeleteGroups was null or undefined when calling deleteGroups.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}disallowGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling disallowGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling disallowGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/disallowGroupToHierarchicalVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}extendMembershipInGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}forceAllSubGroupsSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}forceGroupStructureSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}forceGroupSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllAllowedGroupsToHierarchicalVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllAllowedGroupsToHierarchicalVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllGroupsFromAllVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllRichGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attrNames[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllRichGroupsWithAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupMemberById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCount(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCountsByGroupStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCountsByVoStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupRichMembersByIds(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"members[]")}),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupUnions(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"reverseDirection"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getGroupsWhereMemberIsActive(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupsWhereMemberIsActive.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsWhereMemberIsActive`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getIndirectMembershipPaths(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberRichGroupsWithAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichGroupByIdWithAttributesByNames(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"groupId")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSubgroupsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getVoAllAllowedGroupsToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isAllowedGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling isAllowedGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling isAllowedGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isAllowedGroupToHierarchicalVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isGroupMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}moveGroupWithDestinationGroupMovingGroup(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"destinationGroup")),null!=e&&(s=this.addToHttpParams(s,e,"movingGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupUnion(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resultGroup")),null!=t&&(s=this.addToHttpParams(s,t,"operandGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMembers(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"members[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setGroupsMemberStatus(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"status"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateGroup was null or undefined when calling updateGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}canExtendMembership(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createMemberForCandidate(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createMemberForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberForUser was null or undefined when calling createMemberForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createMemberFromExtSource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSpecificMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSpecificMember was null or undefined when calling createSpecificMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMembers was null or undefined when calling createSponsoredMembers.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMembersFromCSV(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"members[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}extendMembership(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}findCompleteRichMembersByAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});e&&e.forEach(N=>{o=this.addToHttpParams(o,N,"attrsNames[]")}),null!=t&&(o=this.addToHttpParams(o,t,"searchString")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"allowedStatuses[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}findCompleteRichMembersForGroup(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"group")),t&&t.forEach(je=>{h=this.addToHttpParams(h,je,"attrsNames[]")}),c&&c.forEach(je=>{h=this.addToHttpParams(h,je,"allowedStatuses[]")}),s&&s.forEach(je=>{h=this.addToHttpParams(h,je,"allowedGroupStatuses[]")}),null!=r&&(h=this.addToHttpParams(h,r,"searchString")),null!=l&&(h=this.addToHttpParams(h,l,"lookingInParentGroup"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}findCompleteRichMembersForVo(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"allowedStatuses[]")}),null!=r&&(d=this.addToHttpParams(d,r,"searchString"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}findMembersInVo(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"searchString"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findSponsoredCompleteRichMembersForVo(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),null!=r&&(d=this.addToHttpParams(d,r,"searchString")),null!=l&&(d=this.addToHttpParams(d,l,"onlySponsored"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getAllMembers(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllSponsoredMembersAndTheirSponsors(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getCompleteRichMembersForGroup(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),r&&r.forEach(fe=>{u=this.addToHttpParams(u,fe,"allowedStatuses[]")}),l&&l.forEach(fe=>{u=this.addToHttpParams(u,fe,"allowedGroupStatuses[]")}),null!=t&&(u=this.addToHttpParams(u,t,"lookingInParentGroup")),c&&c.forEach(fe=>{u=this.addToHttpParams(u,fe,"attrsNames[]")});let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getCompleteRichMembersForGroupResource(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"allowedStatuses[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getCompleteRichMembersForVo(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"allowedStatuses[]")}),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrsNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberByExtSourceNameAndExtLogin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"extLogin")),null!=r&&(o=this.addToHttpParams(o,r,"extSourceName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberByUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMembers(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMembersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersByUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersCount(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedMembers was null or undefined when calling getMembersPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getMembersWithStatusCount(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichMemberWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichMembersByIds(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"ids[]")}),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichMembersNoUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsoredMembersAndTheirSponsors(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsByMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsByVo(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"extSourceName")),null!=r&&(d=this.addToHttpParams(d,r,"extLogin")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}moveMembership(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"sourceUser")),null!=r&&(o=this.addToHttpParams(o,r,"targetUser"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeSponsor(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"sponsor"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendAccountActivationLinkEmail(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"namespace")),null!=r&&(d=this.addToHttpParams(d,r,"emailAttributeURN")),null!=l&&(d=this.addToHttpParams(d,l,"language"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sendPasswordResetLinkEmail(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"member")),null!=t&&(u=this.addToHttpParams(u,t,"namespace")),null!=r&&(u=this.addToHttpParams(u,r,"emailAttributeURN")),null!=l&&(u=this.addToHttpParams(u,l,"language")),null!=c&&(u=this.addToHttpParams(u,c,"baseUrl"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}setSponsoredMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setSponsorshipForMember(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"sponsoredMember")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}setStatus(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sponsorMember(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateSponsorshipValidity(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}validateMemberAsync(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fn=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}sentMessageToRTWithMemberQueue(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"memberId")),null!=t&&(d=this.addToHttpParams(d,t,"queue")),null!=r&&(d=this.addToHttpParams(d,r,"subject")),null!=l&&(d=this.addToHttpParams(d,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sentMessageToRTWithQueue(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"queue")),null!=t&&(o=this.addToHttpParams(o,t,"subject")),null!=r&&(o=this.addToHttpParams(o,r,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sentMessageToRTWithVo(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"voId")),null!=t&&(o=this.addToHttpParams(o,t,"subject")),null!=r&&(o=this.addToHttpParams(o,r,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sentMessageToRTWithVoQueue(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"voId")),null!=t&&(d=this.addToHttpParams(d,t,"queue")),null!=r&&(d=this.addToHttpParams(d,r,"subject")),null!=l&&(d=this.addToHttpParams(d,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),li=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addApplicationMailForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}addApplicationMailForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}addGroupsToAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"groups[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}approveApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}checkForSimilarRichIdentities(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}consolidate(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}consolidateIdentityUsingToken(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"token"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}copyFormFromGroupToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromGroupToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromVoToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromVoToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromGroupToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromGroupToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromVoToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromVoToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createApplicationFormInGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createApplicationFormInVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteApplicationMailForGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"id"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteApplicationMailForVo(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"id"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteGroupsFromAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"groups[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationDataById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationMailsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationMailsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationsForGroup(e,t,r,l,c="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"state[]")}),null!=r&&(d=this.addToHttpParams(d,r,"dateFrom")),null!=l&&(d=this.addToHttpParams(d,l,"dateTo"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getApplicationsForMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getApplicationsForVo(e,t,r,l,c="body",s=!1,o){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"state[]")}),null!=r&&(d=this.addToHttpParams(d,r,"dateFrom")),null!=l&&(d=this.addToHttpParams(d,l,"dateTo"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getApplicationsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getConsolidatorToken(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFormItemsForGroupWithType(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"type"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFormItemsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFormItemsForVoWithType(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"type"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupApplicationForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsToAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoApplicationForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}rejectApplication(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id")),null!=t&&(s=this.addToHttpParams(s,t,"reason"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendInvitation(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=r&&(d=this.addToHttpParams(d,r,"voId")),null!=l&&(d=this.addToHttpParams(d,l,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sendInvitationForGroup(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=r&&(u=this.addToHttpParams(u,r,"voId")),null!=l&&(u=this.addToHttpParams(u,l,"groupId")),null!=c&&(u=this.addToHttpParams(u,c,"name")),null!=e&&(u=this.addToHttpParams(u,e,"email")),null!=t&&(u=this.addToHttpParams(u,t,"language"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}sendInvitationGroupToExistingUser(e,t,r,l="body",c=!1,s){let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"userId")),null!=t&&(o=this.addToHttpParams(o,t,"voId")),null!=r&&(o=this.addToHttpParams(o,r,"groupId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sendInvitationToExistingUser(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userId")),null!=t&&(s=this.addToHttpParams(s,t,"voId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendMessage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setSendingEnabled(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}submitApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateApplicationMail(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemData(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsData(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}verifyApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_i=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}activateGroupResourceAssignment(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"async"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}addAdminToGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addAdminToUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addResourceSelfServiceGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addResourceSelfServiceUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}allowGroupsToResources(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});e&&e.forEach(N=>{o=this.addToHttpParams(o,N,"groups[]")}),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"resources[]")}),null!=r&&(o=this.addToHttpParams(o,r,"async"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}assignGroupToResource(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignGroupToResources(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),t&&t.forEach(fe=>{u=this.addToHttpParams(u,fe,"resources[]")}),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignGroupsToResource(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});e&&e.forEach(fe=>{u=this.addToHttpParams(u,fe,"groups[]")}),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignResourceTagToResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}assignService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}assignServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}assignServicesPackage(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"servicesPackage"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createResource(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"facility")),null!=r&&(d=this.addToHttpParams(d,r,"name")),null!=l&&(d=this.addToHttpParams(d,l,"description"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}createResourceTagWithResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createResourceTagWithTagName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"tagName")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deactivateGroupResourceAssignment(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteAllResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAllResourcesTagsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getAdminGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAdmins(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"onlyDirectAdmins"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllResourcesByResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getAllResourcesTagsForResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllResourcesTagsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllResourcesWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedUsersOfResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedGroups(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAssignedMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedMembersWithStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithMemberService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAssignedServicesToResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getBansForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getBansForResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEnrichedResourceById(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEnrichedResourcesForFacility(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEnrichedResourcesForVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupAssignments(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMailingServiceRichResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMailingServiceRichResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getMailingServiceRichResourcesWithMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceAssignments(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceBan(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"name"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesCountForAll(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesFromVoWhereUserIsAdmin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourcesWhereGroupIsAdmin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"facility")),null!=t&&(o=this.addToHttpParams(o,t,"vo")),null!=r&&(o=this.addToHttpParams(o,r,"group"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResourcesWhereUserIsAdmin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"facility")),null!=t&&(o=this.addToHttpParams(o,t,"vo")),null!=r&&(o=this.addToHttpParams(o,r,"user"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRichAdmins(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"specificAttributes")}),null!=r&&(d=this.addToHttpParams(d,r,"allUserAttributes")),null!=l&&(d=this.addToHttpParams(d,l,"onlyDirectAdmins"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRichResourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichResourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeAllResourceTagsFromResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeBanByMemberAndResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAdminResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupFromResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupFromResources(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"resources[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupsFromResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeResourceSelfServiceGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceSelfServiceUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceTagFromResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}removeService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeServicesPackage(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"servicesPackage"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAdminResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setResourceBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unallowGroupsFromResources(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"resources[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}updateResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateResourceBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ti=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addSpecificUserOwner(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addUserExtSource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}anonymizeUser(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}changeNonAuthzPasswordByToken(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}changePasswordForLogin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}changePasswordForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}checkPasswordResetRequestByTokenIsValid(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"token"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}checkPasswordStrength(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createAlternativePassword(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createServiceUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteAlternativePassword(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"loginNamespace")),null!=r&&(o=this.addToHttpParams(o,r,"passwordId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}deletePasswordForLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deletePasswordForUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteUser(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findRichUsers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"searchString"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}findRichUsersWithAttributes(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"searchString")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrsNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findUsers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"searchString"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}generateAccountForName(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllRichUsersWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"includedSpecificUsers"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsForFacilityWhereUserIsActive(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsForResourceWhereUserIsActive(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getPendingPreferredEmailChanges(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUserExtSources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUserWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersWithAttributesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersWithoutVoWithAttributes(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attrsNames[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSpecificUsersByUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsorsForMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsForMemberByVoAndLogin(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"extSourceName")),null!=r&&(d=this.addToHttpParams(d,r,"extLogin")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getUserByExtSourceNameAndExtLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extLogin")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceByExtLoginAndExtSourceName(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extSourceName")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceLogin"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsers(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getUsersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsersBySpecificUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"specificUser"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsersPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getVosWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosWhereUserIsMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isLoginAvailable(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"loginNamespace")),null!=t&&(s=this.addToHttpParams(s,t,"login"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}loginExist(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSpecificUserOwner(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserExtSource(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"userExtSource")),null!=r&&(o=this.addToHttpParams(o,r,"force"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}requestPreferredEmailChange(e,t,r,l,c,s,o="body",d=!1,u){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 h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"user")),null!=t&&(h=this.addToHttpParams(h,t,"email")),null!=r&&(h=this.addToHttpParams(h,r,"lang")),null!=l&&(h=this.addToHttpParams(h,l,"linkPath")),null!=c&&(h=this.addToHttpParams(h,c,"customUrl")),null!=s&&(h=this.addToHttpParams(h,s,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}reservePasswordForLogin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}reservePasswordForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}reserveRandomPassword(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setLogin(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"login")),null!=r&&(o=this.addToHttpParams(o,r,"namespace"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateUserExtSourceLastAccess(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}validatePasswordForLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}validatePasswordForUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}validatePreferredEmailChangeWithToken(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token")),null!=t&&(s=this.addToHttpParams(s,t,"u"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Lt=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}getAppsConfig(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ds=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addMemberVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addSponsorRoleToGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addSponsorRoleToUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addVoAdminGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addVoAdminUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createVoWithName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"name")),null!=t&&(s=this.addToHttpParams(s,t,"shortName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createVoWithVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateVoWithVo was null or undefined when calling createVoWithVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findCandidates(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"id")),null!=t&&(o=this.addToHttpParams(o,t,"searchString")),null!=r&&(o=this.addToHttpParams(o,r,"maxNumOfResults"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}findCandidatesForGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"searchString"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"searchString"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getCompleteCandidatesForVo(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"searchString"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getEnrichedVoById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberVos(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMyEnrichedVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMyVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getParentVos(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichAdminsForVo(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==c)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"vo")),null!=t&&(u=this.addToHttpParams(u,t,"role")),r&&r.forEach(fe=>{u=this.addToHttpParams(u,fe,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=c&&(u=this.addToHttpParams(u,c,"onlyDirectAdmins"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getVoAdminGroups(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"role"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAdminUsers(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"role")),null!=r&&(o=this.addToHttpParams(o,r,"onlyDirectAdmins"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getVoBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoBanForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoBansForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoByShortName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"shortName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoMembersCountsByStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosCount(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}removeMemberVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSponsorRoleFromGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSponsorRoleFromUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAdminGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAdminUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeVoBanForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setVoBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoBan was null or undefined when calling setVoBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateVo was null or undefined when calling updateVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Nt=(()=>{return(n=Nt||(Nt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.GROUPOBSERVER="GROUPOBSERVER",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",n.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",n.UNKNOWN="UNKNOWN",n.MEMBERSHIP="MEMBERSHIP",Nt;var n})();let ks=(()=>{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 r=this.fetchPolicyWithAllIncludedPolicies(e);let l=[];for(const s of r)l=l.concat(s.perunRoles);const c=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,c)}principalHasRole(e,t,r){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(r.toString()))}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.substring(4)),this.assignAvailableRoles(t,r);const l=new Map;this.setRolesAuthorization(t,e,l);for(const c of l.values())if(c.readAuth||c.manageAuth)return!0;return!1}setRolesAuthorization(e,t,r){for(const l of e){let c=[],s=[],o=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){c=c.concat(b.privilegedRolesToRead),s=s.concat(b.privilegedRolesToManage);for(const N of Object.keys(b.entitiesToManage))o="User"===N?[N].concat(o):o.concat(N);break}const d=this.fetchAllRelatedObjects([t]),u=this.resolveAuthorization(c,d),h=this.resolveAuthorization(s,d);r.set(l,{readAuth:u,manageAuth:h,modes:o})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const r of e){let l=!0;for(const c of Object.keys(r)){const s=r[c];if(null===s)this.principalRoles.has(c)||(l=!1);else if(t[s]){for(const o of t[s])if(!this.principalHasRole(c,s,o)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const r of e){let l=r.beanName;switch(r.beanName.startsWith("Rich")&&(l=r.beanName.substring(4)),t[l]?t[l].push(r.id):t[l]=[r.id],l){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let r=[];for(r.push(e);0!==r.length;){const c=r.shift();if(t.has(c))continue;const s=this.getPerunPolicy(c);if(!s)return[];t.set(c,s),r=r.concat(s.includePolicies)}const l=[];for(const c of t.values())l.push(c);return l}voCustomSort(e){for(let t=0;t{(0,Ps.Xf)(n()).subscribe(a)})}var va=T(515),Wt=T(727),_r=T(4482),En=T(5403);function Rs(){return(0,_r.e)((n,a)=>{let e=null;n._refCount++;const t=(0,En.x)(a,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,l=e;e=null,r&&(!l||r===l)&&r.unsubscribe(),a.unsubscribe()});n.subscribe(t),t.closed||(e=n.connect())})}class Md extends an.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,_r.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new Wt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,En.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=Wt.w0.EMPTY)}return a}refCount(){return Rs()(this)}}var Ct=T(4004),Li=T(3900),Ut=T(5698),ul=T(3269);function hi(...n){const a=(0,ul.yG)(n);return(0,_r.e)((e,t)=>{(a?(0,Gr.z)(n,e,a):(0,Gr.z)(n,e)).subscribe(t)})}function wd(n,a,e,t,r){return(l,c)=>{let s=e,o=a,d=0;l.subscribe((0,En.x)(c,u=>{const h=d++;o=s?n(o,u,h):(s=!0,u),t&&c.next(o)},r&&(()=>{s&&c.next(o),c.complete()})))}}function Nn(n,a){return(0,_r.e)(wd(n,a,arguments.length>=2,!0))}var wn=T(262),Os=T(4351);function Is(n){return n<=0?()=>va.E:(0,_r.e)((a,e)=>{let t=[];a.subscribe((0,En.x)(e,r=>{t.push(r),n{for(const r of t)e.next(r);e.complete()},void 0,()=>{t=null}))})}var xi=T(8068),Bs=T(6590),Zr=T(4671),Dr=T(590),Vn=T(5577),Dt=T(8505);function B(n){return(0,_r.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(n)}})}var U=T(8189);class I{constructor(a,e){this.id=a,this.url=e}}class J extends I{constructor(a,e,t="imperative",r=null){super(a,e),this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ne extends I{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Me extends I{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class He extends I{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ct extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pi extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ai extends I{constructor(a,e,t,r,l){super(a,e),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Rt extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jt extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yi{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ki{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ta{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hr{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ja{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ot="primary";class hl{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function $r(n){return new hl(n)}const Cd="ngNavigationCancelingError";function Xa(n){const a=Error("NavigationCancelingError: "+n);return a[Cd]=!0,a}function ke(n,a,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[l]===r)}return n===a}function vd(n){return Array.prototype.concat.apply([],n)}function Mo(n){return n.length>0?n[n.length-1]:null}function Ji(n,a){for(const e in n)n.hasOwnProperty(e)&&a(n[e],e)}function br(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,Sn.D)(Promise.resolve(n)):(0,rt.of)(n)}const Si={exact:function Jr(n,a,e){if(!Lr(n.segments,a.segments)||!_c(n.segments,a.segments,e)||n.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!n.children[t]||!Jr(n.children[t],a.children[t],e))return!1;return!0},subset:Ns},pl={exact:function Dn(n,a){return lr(n,a)},subset:function Uu(n,a){return Object.keys(a).length<=Object.keys(n).length&&Object.keys(a).every(e=>$i(n[e],a[e]))},ignored:()=>!0};function fl(n,a,e){return Si[e.paths](n.root,a.root,e.matrixParams)&&pl[e.queryParams](n.queryParams,a.queryParams)&&!("exact"===e.fragment&&n.fragment!==a.fragment)}function Ns(n,a,e){return $n(n,a,a.segments,e)}function $n(n,a,e,t){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Lr(r,e)||a.hasChildren()||!_c(r,e,t))}if(n.segments.length===e.length){if(!Lr(n.segments,e)||!_c(n.segments,e,t))return!1;for(const r in a.children)if(!n.children[r]||!Ns(n.children[r],a.children[r],t))return!1;return!0}{const r=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(Lr(n.segments,r)&&_c(n.segments,r,t)&&n.children[Ot])&&$n(n.children[Ot],a,l,t)}}function _c(n,a,e){return a.every((t,r)=>pl[e](n[r].parameters,t.parameters))}class Qa{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$r(this.queryParams)),this._queryParamMap}toString(){return bc.serialize(this)}}class Gt{constructor(a,e){this.segments=a,this.children=e,this.parent=null,Ji(e,(t,r)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sa(this)}}class Ka{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=$r(this.parameters)),this._parameterMap}toString(){return Hn(this)}}function Lr(n,a){return n.length===a.length&&n.every((e,t)=>e.path===a[t].path)}class ml{}class Zu{parse(a){const e=new bl(a);return new Qa(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${es(a.root,!0)}`,t=function Bi(n){const a=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(r=>`${gl(e)}=${gl(r)}`).join("&"):`${gl(e)}=${gl(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function $u(n){return encodeURI(n)}(a.fragment)}`:""}`}}const bc=new Zu;function Sa(n){return n.segments.map(a=>Hn(a)).join("/")}function es(n,a){if(!n.hasChildren())return Sa(n);if(a){const e=n.children[Ot]?es(n.children[Ot],!1):"",t=[];return Ji(n.children,(r,l)=>{l!==Ot&&t.push(`${l}:${es(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function Gu(n,a){let e=[];return Ji(n.children,(t,r)=>{r===Ot&&(e=e.concat(a(t,r)))}),Ji(n.children,(t,r)=>{r!==Ot&&(e=e.concat(a(t,r)))}),e}(n,(t,r)=>r===Ot?[es(n.children[Ot],!1)]:[`${r}:${es(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Ot]?`${Sa(n)}/${e[0]}`:`${Sa(n)}/(${e.join("//")})`}}function Td(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gl(n){return Td(n).replace(/%3B/gi,";")}function Co(n){return Td(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ac(n){return decodeURIComponent(n)}function Ju(n){return Ac(n.replace(/\+/g,"%20"))}function Hn(n){return`${Co(n.path)}${function ts(n){return Object.keys(n).map(a=>`;${Co(a)}=${Co(n[a])}`).join("")}(n.parameters)}`}const Xu=/^[^\/()?;=#]+/;function _l(n){const a=n.match(Xu);return a?a[0]:""}const Qu=/^[^=?&#]+/,kr=/^[^&#]+/;class bl{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Gt([],{}):new Gt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[Ot]=new Gt(a,e)),t}parseSegment(){const a=_l(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Ka(Ac(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=_l(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=_l(this.remaining);r&&(t=r,this.capture(t))}a[Ac(e)]=Ac(t)}parseQueryParam(a){const e=function lf(n){const a=n.match(Qu);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const c=function Vs(n){const a=n.match(kr);return a?a[0]:""}(this.remaining);c&&(t=c,this.capture(t))}const r=Ju(e),l=Ju(t);if(a.hasOwnProperty(r)){let c=a[r];Array.isArray(c)||(c=[c],a[r]=c),c.push(l)}else a[r]=l}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=_l(this.remaining),r=this.remaining[t.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=Ot);const c=this.parseChildren();e[l]=1===Object.keys(c).length?c[Ot]:new Gt([],c),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Al{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=zs(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=zs(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=vo(a,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==a)}pathFromRoot(a){return vo(a,this._root).map(e=>e.value)}}function zs(n,a){if(n===a.value)return a;for(const e of a.children){const t=zs(n,e);if(t)return t}return null}function vo(n,a){if(n===a.value)return[a];for(const e of a.children){const t=vo(n,e);if(t.length)return t.unshift(a),t}return[]}class Xr{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function To(n){const a={};return n&&n.children.forEach(e=>a[e.value.outlet]=e),a}class Qr extends Al{constructor(a,e){super(a),this.snapshot=e,eh(this,a)}toString(){return this.snapshot.toString()}}function xo(n,a){const e=function cf(n,a){const c=new yc([],{},{},"",{},Ot,a,null,n.root,-1,{});return new Ku("",new Xr(c,[]))}(n,a),t=new rn([new Ka("",{})]),r=new rn({}),l=new rn({}),c=new rn({}),s=new rn(""),o=new Jn(t,r,c,s,l,Ot,a,e.root);return o.snapshot=e.root,new Qr(new Xr(o,[]),e)}class Jn{constructor(a,e,t,r,l,c,s,o){this.url=a,this.params=e,this.queryParams=t,this.fragment=r,this.data=l,this.outlet=c,this.component=s,this._futureSnapshot=o}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,Ct.U)(a=>$r(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ct.U)(a=>$r(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function So(n,a="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const r=e[t],l=e[t-1];if(r.routeConfig&&""===r.routeConfig.path)t--;else{if(l.component)break;t--}}return function xd(n){return n.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class yc{constructor(a,e,t,r,l,c,s,o,d,u,h){this.url=a,this.params=e,this.queryParams=t,this.fragment=r,this.data=l,this.outlet=c,this.component=s,this.routeConfig=o,this._urlSegment=d,this._lastPathIndex=u,this._resolve=h}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=$r(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$r(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ku extends Al{constructor(a,e){super(e),this.url=a,eh(this,e)}toString(){return df(this._root)}}function eh(n,a){a.value._routerState=n,a.children.forEach(e=>eh(n,e))}function df(n){const a=n.children.length>0?` { ${n.children.map(df).join(", ")} } `:"";return`${n.value}${a}`}function Eo(n){if(n.snapshot){const a=n.snapshot,e=n._futureSnapshot;n.snapshot=e,lr(a.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),a.fragment!==e.fragment&&n.fragment.next(e.fragment),lr(a.params,e.params)||n.params.next(e.params),function Qt(n,a){if(n.length!==a.length)return!1;for(let e=0;elr(e.parameters,a[t].parameters))}(n.url,a.url);return e&&!(!n.parent!=!a.parent)&&(!n.parent||Mc(n.parent,a.parent))}function is(n,a,e){if(e&&n.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const r=function th(n,a,e){return a.children.map(t=>{for(const r of e.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return is(n,t,r);return is(n,t)})}(n,a,e);return new Xr(t,r)}{if(n.shouldAttach(a.value)){const l=n.retrieve(a.value);if(null!==l){const c=l.route;return c.value._futureSnapshot=a.value,c.children=a.children.map(s=>is(n,s)),c}}const t=function yl(n){return new Jn(new rn(n.url),new rn(n.params),new rn(n.queryParams),new rn(n.fragment),new rn(n.data),n.outlet,n.component,n)}(a.value),r=a.children.map(l=>is(n,l));return new Xr(t,r)}}function wc(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Kr(n){return"object"==typeof n&&null!=n&&n.outlets}function Ml(n,a,e,t,r){let l={};return t&&Ji(t,(c,s)=>{l[s]=Array.isArray(c)?c.map(o=>`${o}`):`${c}`}),new Qa(e.root===n?a:wl(e.root,n,a),l,r)}function wl(n,a,e){const t={};return Ji(n.children,(r,l)=>{t[l]=r===a?e:wl(r,a,e)}),new Gt(n.segments,t)}class uf{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&wc(t[0]))throw new Error("Root segment cannot have matrix parameters");const r=t.find(Kr);if(r&&r!==Mo(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Cc{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function Fs(n,a,e){if(n||(n=new Gt([],{})),0===n.segments.length&&n.hasChildren())return Pr(n,a,e);const t=function js(n,a,e){let t=0,r=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return l;const c=n.segments[r],s=e[t];if(Kr(s))break;const o=`${s}`,d=t0&&void 0===o)break;if(o&&d&&"object"==typeof d&&void 0===d.outlets){if(!Tc(o,d,c))return l;t+=2}else{if(!Tc(o,{},c))return l;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}(n,a,e),r=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(r[c]=Fs(n.children[c],a,l))}),Ji(n.children,(l,c)=>{void 0===t[c]&&(r[c]=l)}),new Gt(n.segments,r)}}function qs(n,a,e){const t=n.segments.slice(0,a);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=qs(new Gt([],{}),0,e))}),a}function vc(n){const a={};return Ji(n,(e,t)=>a[t]=`${e}`),a}function Tc(n,a,e){return n==e.path&&lr(a,e.parameters)}class sh{constructor(a,e,t,r){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=r}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),Eo(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const r=To(e);a.children.forEach(l=>{const c=l.value.outlet;this.deactivateRoutes(l,r[c],t),delete r[c]}),Ji(r,(l,c)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(a,e,t){const r=a.value,l=e?e.value:null;if(r===l)if(r.component){const c=t.getContext(r.outlet);c&&this.deactivateChildRoutes(a,e,c.children)}else this.deactivateChildRoutes(a,e,t);else l&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),r=t&&a.value.component?t.children:e,l=To(a);for(const c of Object.keys(l))this.deactivateRouteAndItsChildren(l[c],r);if(t&&t.outlet){const c=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:c,route:a,contexts:s})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),r=t&&a.value.component?t.children:e,l=To(a);for(const c of Object.keys(l))this.deactivateRouteAndItsChildren(l[c],r);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const r=To(e);a.children.forEach(l=>{this.activateRoutes(l,r[l.value.outlet],t),this.forwardEvent(new yt(l.value.snapshot))}),a.children.length&&this.forwardEvent(new Ta(a.value.snapshot))}activateRoutes(a,e,t){const r=a.value,l=e?e.value:null;if(Eo(r),r===l)if(r.component){const c=t.getOrCreateContext(r.outlet);this.activateChildRoutes(a,e,c.children)}else this.activateChildRoutes(a,e,t);else if(r.component){const c=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),c.children.onOutletReAttached(s.contexts),c.attachRef=s.componentRef,c.route=s.route.value,c.outlet&&c.outlet.attach(s.componentRef,s.route.value),Eo(s.route.value),this.activateChildRoutes(a,null,c.children)}else{const s=function hf(n){for(let a=n.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),o=s?s.module.componentFactoryResolver:null;c.attachRef=null,c.route=r,c.resolver=o,c.outlet&&c.outlet.activateWith(r,o),this.activateChildRoutes(a,null,c.children)}}else this.activateChildRoutes(a,null,t)}}class Ed{constructor(a,e){this.routes=a,this.module=e}}function Rr(n){return"function"==typeof n}function Ys(n){return n instanceof Qa}const Ws=Symbol("INITIAL_VALUE");function Us(){return(0,Li.w)(n=>(0,yo.a)(n.map(a=>a.pipe((0,Ut.q)(1),hi(Ws)))).pipe(Nn((a,e)=>{let t=!1;return e.reduce((r,l,c)=>r!==Ws?r:(l===Ws&&(t=!0),t||!1!==l&&c!==e.length-1&&!Ys(l)?r:l),a)},Ws),(0,Ft.h)(a=>a!==Ws),(0,Ct.U)(a=>Ys(a)?a:!0===a),(0,Ut.q)(1)))}class Po{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ea,this.attachRef=null}}class ea{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new Po,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let Ar=(()=>{class n{constructor(e,t,r,l,c){this.parentContexts=e,this.location=t,this.resolver=r,this.changeDetector=c,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=l||Ot,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 c=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,o=new dh(e,s,this.location.injector);this.activated=this.location.createComponent(c,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ea),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 dh{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===Jn?this.route:a===ea?this.childContexts:this.parent.get(a,e)}}let xc=(()=>{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:[Ar],encapsulation:2}),n})();function Gs(n,a=""){for(let e=0;eXn(t)===a);return e.push(...n.filter(t=>Xn(t)!==a)),e}const mf={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Dd(n,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},mf):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(a.matcher||ke)(e,n,a);if(!l)return Object.assign({},mf);const c={};Ji(l.posParams,(o,d)=>{c[d]=o.path});const s=l.consumed.length>0?Object.assign(Object.assign({},c),l.consumed[l.consumed.length-1].parameters):c;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:s,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function vl(n,a,e,t,r="corrected"){if(e.length>0&&function Tl(n,a,e){return e.some(t=>Ni(n,a,t)&&Xn(t)!==Ot)}(n,e,t)){const c=new Gt(a,function Eg(n,a,e,t){const r={};r[Ot]=t,t._sourceSegment=n,t._segmentIndexShift=a.length;for(const l of e)if(""===l.path&&Xn(l)!==Ot){const c=new Gt([],{});c._sourceSegment=n,c._segmentIndexShift=a.length,r[Xn(l)]=c}return r}(n,a,t,new Gt(e,n.children)));return c._sourceSegment=n,c._segmentIndexShift=a.length,{segmentGroup:c,slicedSegments:[]}}if(0===e.length&&function Dg(n,a,e){return e.some(t=>Ni(n,a,t))}(n,e,t)){const c=new Gt(n.segments,function Hd(n,a,e,t,r,l){const c={};for(const s of t)if(Ni(n,e,s)&&!r[Xn(s)]){const o=new Gt([],{});o._sourceSegment=n,o._segmentIndexShift="legacy"===l?n.segments.length:a.length,c[Xn(s)]=o}return Object.assign(Object.assign({},r),c)}(n,a,e,t,n.children,r));return c._sourceSegment=n,c._segmentIndexShift=a.length,{segmentGroup:c,slicedSegments:e}}const l=new Gt(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}function Ni(n,a,e){return(!(n.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Sc(n,a,e,t){return!!(Xn(n)===t||t!==Ot&&Ni(a,e,n))&&("**"===n.path||Dd(a,n,e).matched)}function Ro(n,a,e){return 0===a.length&&!n.children[e]}class xl{constructor(a){this.segmentGroup=a||null}}class uh{constructor(a){this.urlTree=a}}function zn(n){return new an.y(a=>a.error(new xl(n)))}function yr(n){return new an.y(a=>a.error(new uh(n)))}function hh(n){return new an.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Ea{constructor(a,e,t,r,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=r,this.config=l,this.allowRedirects=!0,this.ngModule=a.get(i.h0i)}apply(){const a=vl(this.urlTree.root,[],[],this.config).segmentGroup,e=new Gt(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Ot).pipe((0,Ct.U)(l=>this.createUrlTree(Ld(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,wn.K)(l=>{if(l instanceof uh)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof xl?this.noMatchError(l):l}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,Ot).pipe((0,Ct.U)(r=>this.createUrlTree(Ld(r),a.queryParams,a.fragment))).pipe((0,wn.K)(r=>{throw r instanceof xl?this.noMatchError(r):r}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const r=a.segments.length>0?new Gt([],{[Ot]:a}):a;return new Qa(r,e,t)}expandSegmentGroup(a,e,t,r){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,Ct.U)(l=>new Gt([],l))):this.expandSegment(a,t,e,t.segments,r,!0)}expandChildren(a,e,t){const r=[];for(const l of Object.keys(t.children))"primary"===l?r.unshift(l):r.push(l);return(0,Sn.D)(r).pipe((0,Os.b)(l=>{const c=t.children[l],s=ff(e,l);return this.expandSegmentGroup(a,s,c,l).pipe((0,Ct.U)(o=>({segment:o,outlet:l})))}),Nn((l,c)=>(l[c.outlet]=c.segment,l),{}),function gc(n,a){const e=arguments.length>=2;return t=>t.pipe(n?(0,Ft.h)((r,l)=>n(r,l,t)):Zr.y,Is(1),e?(0,Bs.d)(a):(0,xi.T)(()=>new dl.K))}())}expandSegment(a,e,t,r,l,c){return(0,Sn.D)(t).pipe((0,Os.b)(s=>this.expandSegmentAgainstRoute(a,e,t,s,r,l,c).pipe((0,wn.K)(d=>{if(d instanceof xl)return(0,rt.of)(null);throw d}))),(0,Dr.P)(s=>!!s),(0,wn.K)((s,o)=>{if(s instanceof dl.K||"EmptyError"===s.name){if(Ro(e,r,l))return(0,rt.of)(new Gt([],{}));throw new xl(e)}throw s}))}expandSegmentAgainstRoute(a,e,t,r,l,c,s){return Sc(r,e,l,c)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(a,e,r,l,c):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c):zn(e):zn(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,r,c):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,r){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?yr(l):this.lineralizeSegments(t,l).pipe((0,Vn.z)(c=>{const s=new Gt(c,{});return this.expandSegment(a,s,e,c,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c){const{matched:s,consumedSegments:o,lastChild:d,positionalParamSegments:u}=Dd(e,r,l);if(!s)return zn(e);const h=this.applyRedirectCommands(o,r.redirectTo,u);return r.redirectTo.startsWith("/")?yr(h):this.lineralizeSegments(r,h).pipe((0,Vn.z)(f=>this.expandSegment(a,e,t,f.concat(l.slice(d)),c,!1)))}matchSegmentAgainstRoute(a,e,t,r,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,rt.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,Ct.U)(f=>(t._loadedConfig=f,new Gt(r,{})))):(0,rt.of)(new Gt(r,{}));const{matched:c,consumedSegments:s,lastChild:o}=Dd(e,t,r);if(!c)return zn(e);const d=r.slice(o);return this.getChildConfig(a,t,r).pipe((0,Vn.z)(h=>{const f=h.module,b=h.routes,{segmentGroup:N,slicedSegments:Q}=vl(e,s,d,b),fe=new Gt(N.segments,N.children);if(0===Q.length&&fe.hasChildren())return this.expandChildren(f,b,fe).pipe((0,Ct.U)(ei=>new Gt(s,ei)));if(0===b.length&&0===Q.length)return(0,rt.of)(new Gt(s,{}));const je=Xn(t)===l;return this.expandSegment(f,fe,b,Q,je?Ot:l,!0).pipe((0,Ct.U)(gt=>new Gt(s.concat(gt.segments),gt.children)))}))}getChildConfig(a,e,t){return e.children?(0,rt.of)(new Ed(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,rt.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,Vn.z)(r=>r?this.configLoader.load(a.injector,e).pipe((0,Ct.U)(l=>(e._loadedConfig=l,l))):function Ec(n){return new an.y(a=>a.error(Xa(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,rt.of)(new Ed([],a))}runCanLoadGuards(a,e,t){const r=e.canLoad;if(!r||0===r.length)return(0,rt.of)(!0);const l=r.map(c=>{const s=a.get(c);let o;if(function oh(n){return n&&Rr(n.canLoad)}(s))o=s.canLoad(e,t);else{if(!Rr(s))throw new Error("Invalid CanLoad guard");o=s(e,t)}return br(o)});return(0,rt.of)(l).pipe(Us(),(0,Dt.b)(c=>{if(!Ys(c))return;const s=Xa(`Redirecting to "${this.urlSerializer.serialize(c)}"`);throw s.url=c,s}),(0,Ct.U)(c=>!0===c))}lineralizeSegments(a,e){let t=[],r=e.root;for(;;){if(t=t.concat(r.segments),0===r.numberOfChildren)return(0,rt.of)(t);if(r.numberOfChildren>1||!r.children[Ot])return hh(a.redirectTo);r=r.children[Ot]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,r){const l=this.createSegmentGroup(a,e.root,t,r);return new Qa(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return Ji(a,(r,l)=>{if("string"==typeof r&&r.startsWith(":")){const s=r.substring(1);t[l]=e[s]}else t[l]=r}),t}createSegmentGroup(a,e,t,r){const l=this.createSegments(a,e.segments,t,r);let c={};return Ji(e.children,(s,o)=>{c[o]=this.createSegmentGroup(a,s,t,r)}),new Gt(l,c)}createSegments(a,e,t,r){return e.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,r):this.findOrReturn(l,t))}findPosParam(a,e,t){const r=t[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return r}findOrReturn(a,e){let t=0;for(const r of e){if(r.path===a.path)return e.splice(t),r;t++}return a}}function Ld(n){const a={};for(const t of Object.keys(n.children)){const l=Ld(n.children[t]);(l.segments.length>0||l.hasChildren())&&(a[t]=l)}return function ph(n){if(1===n.numberOfChildren&&n.children[Ot]){const a=n.children[Ot];return new Gt(n.segments.concat(a.segments),a.children)}return n}(new Gt(n.segments,a))}class gf{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Fe{constructor(a,e){this.component=a,this.route=e}}function cr(n,a,e){const t=n._root;return Da(t,a?a._root:null,e,[t.value])}function ta(n,a,e){const t=function si(n){if(!n)return null;for(let a=n.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(n)}function Da(n,a,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const l=To(a);return n.children.forEach(c=>{(function fh(n,a,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const l=n.value,c=a?a.value:null,s=e?e.getContext(n.value.outlet):null;if(c&&l.routeConfig===c.routeConfig){const o=function Pd(n,a,e){if("function"==typeof e)return e(n,a);switch(e){case"pathParamsChange":return!Lr(n.url,a.url);case"pathParamsOrQueryParamsChange":return!Lr(n.url,a.url)||!lr(n.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mc(n,a)||!lr(n.queryParams,a.queryParams);default:return!Mc(n,a)}}(c,l,l.routeConfig.runGuardsAndResolvers);o?r.canActivateChecks.push(new gf(t)):(l.data=c.data,l._resolvedData=c._resolvedData),Da(n,a,l.component?s?s.children:null:e,t,r),o&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Fe(s.outlet.component,c))}else c&&El(a,s,r),r.canActivateChecks.push(new gf(t)),Da(n,null,l.component?s?s.children:null:e,t,r)})(c,l[c.value.outlet],e,t.concat([c.value]),r),delete l[c.value.outlet]}),Ji(l,(c,s)=>El(c,e.getContext(s),r)),r}function El(n,a,e){const t=To(n),r=n.value;Ji(t,(l,c)=>{El(l,r.component?a?a.children.getContext(c):null:a,e)}),e.canDeactivateChecks.push(new Fe(r.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,r))}class Dc{}function Id(n){return new an.y(a=>a.error(n))}class gh{constructor(a,e,t,r,l,c){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=r,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=c}recognize(){const a=vl(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,Ot);if(null===e)return null;const t=new yc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ot,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Xr(t,e),l=new Ku(this.url,r);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(a){const e=a.value,t=So(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const l of Object.keys(e.children)){const c=e.children[l],s=ff(a,l),o=this.processSegmentGroup(s,c,l);if(null===o)return null;t.push(...o)}const r=Or(t);return function Hc(n){n.sort((a,e)=>a.value.outlet===Ot?-1:e.value.outlet===Ot?1:a.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(a,e,t,r){for(const l of a){const c=this.processSegmentAgainstRoute(l,e,t,r);if(null!==c)return c}return Ro(e,t,r)?[]:null}processSegmentAgainstRoute(a,e,t,r){if(a.redirectTo||!Sc(a,e,t,r))return null;let l,c=[],s=[];if("**"===a.path){const b=t.length>0?Mo(t).parameters:{};l=new yc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(a),Xn(a),a.component,a,sn(e),Bd(e)+t.length,Lc(a))}else{const b=Dd(e,a,t);if(!b.matched)return null;c=b.consumedSegments,s=t.slice(b.lastChild),l=new yc(c,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(a),Xn(a),a.component,a,sn(e),Bd(e)+c.length,Lc(a))}const o=function yf(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(a),{segmentGroup:d,slicedSegments:u}=vl(e,c,s,o.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===u.length&&d.hasChildren()){const b=this.processChildren(o,d);return null===b?null:[new Xr(l,b)]}if(0===o.length&&0===u.length)return[new Xr(l,[])];const h=Xn(a)===r,f=this.processSegment(o,d,u,h?Ot:r);return null===f?null:[new Xr(l,f)]}}function Dl(n){const a=n.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function Or(n){const a=[],e=new Set;for(const t of n){if(!Dl(t)){a.push(t);continue}const r=a.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==r?(r.children.push(...t.children),e.add(r)):a.push(t)}for(const t of e){const r=Or(t.children);a.push(new Xr(t.value,r))}return a.filter(t=>!e.has(t))}function sn(n){let a=n;for(;a._sourceSegment;)a=a._sourceSegment;return a}function Bd(n){let a=n,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function _h(n){return n.data||{}}function Lc(n){return n.resolve||{}}function Io(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function ia(n){return(0,Li.w)(a=>{const e=n(a);return e?(0,Sn.D)(e).pipe((0,Ct.U)(()=>a)):(0,rt.of)(a)})}class bh extends class vf{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const Ll=new i.OlP("ROUTES");class kl{constructor(a,e,t,r){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=r}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe((0,Ct.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const c=l.create(a);return new Ed(vd(c.injector.get(Ll,void 0,i.XFs.Self|i.XFs.Optional)).map(Pi),c)}),(0,wn.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new Md(r,()=>new Ie.x).pipe(Rs()),e._loader$}loadModuleFactory(a){return br(a()).pipe((0,Vn.z)(e=>e instanceof i.YKP?(0,rt.of)(e):(0,Sn.D)(this.compiler.compileModuleAsync(e))))}}class Tf{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function xf(n){throw n}function Qn(n,a,e){return a.parse("/")}function Ir(n,a){return(0,rt.of)(null)}const Sf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mi=(()=>{class n{constructor(e,t,r,l,c,s,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=r,this.location=l,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie.x,this.errorHandler=xf,this.malformedUriErrorHandler=Qn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ir,afterPreactivation:Ir},this.urlHandlingStrategy=new Tf,this.routeReuseStrategy=new bh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=c.get(i.h0i),this.console=c.get(i.c2e);const h=c.get(i.R0b);this.isNgZoneEnabled=h instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(o),this.currentUrlTree=function sf(){return new Qa(new Gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new kl(c,s,f=>this.triggerEvent(new ji(f)),f=>this.triggerEvent(new yi(f))),this.routerState=xo(this.currentUrlTree,this.rootComponentType),this.transitions=new rn({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,Ft.h)(r=>0!==r.id),(0,Ct.U)(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),(0,Li.w)(r=>{let l=!1,c=!1;return(0,rt.of)(r).pipe((0,Dt.b)(s=>{this.currentNavigation={id:s.id,initialUrl:s.currentRawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Li.w)(s=>{const o=this.browserUrlTree.toString(),d=!this.navigated||s.extractedUrl.toString()!==o||o!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||d)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Nd(s.source)&&(this.browserUrlTree=s.extractedUrl),(0,rt.of)(s).pipe((0,Li.w)(h=>{const f=this.transitions.getValue();return t.next(new J(h.id,this.serializeUrl(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions.getValue()?va.E:Promise.resolve(h)}),function Hg(n,a,e,t){return(0,Li.w)(r=>function Sl(n,a,e,t,r){return new Ea(n,a,e,t,r).apply()}(n,a,e,r.extractedUrl,t).pipe((0,Ct.U)(l=>Object.assign(Object.assign({},r),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Dt.b)(h=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:h.urlAfterRedirects})}),function Hl(n,a,e,t,r){return(0,Vn.z)(l=>function Af(n,a,e,t,r="emptyOnly",l="legacy"){try{const c=new gh(n,a,e,t,r,l).recognize();return null===c?Id(new Dc):(0,rt.of)(c)}catch(c){return Id(c)}}(n,a,l.urlAfterRedirects,e(l.urlAfterRedirects),t,r).pipe((0,Ct.U)(c=>Object.assign(Object.assign({},l),{targetSnapshot:c}))))}(this.rootComponentType,this.config,h=>this.serializeUrl(h),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Dt.b)(h=>{if("eager"===this.urlUpdateStrategy){if(!h.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl);this.setBrowserUrl(b,h)}this.browserUrlTree=h.urlAfterRedirects}const f=new ct(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);t.next(f)}));if(d&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:N,restoredState:Q,extras:fe}=s,je=new J(f,this.serializeUrl(b),N,Q);t.next(je);const Mt=xo(b,this.rootComponentType).snapshot;return(0,rt.of)(Object.assign(Object.assign({},s),{targetSnapshot:Mt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=s.rawUrl,s.resolve(null),va.E}),ia(s=>{const{targetSnapshot:o,id:d,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.beforePreactivation(o,{navigationId:d,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Dt.b)(s=>{const o=new pi(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(o)}),(0,Ct.U)(s=>Object.assign(Object.assign({},s),{guards:cr(s.targetSnapshot,s.currentSnapshot,this.rootContexts)})),function _f(n,a){return(0,Vn.z)(e=>{const{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:l,canDeactivateChecks:c}}=e;return 0===c.length&&0===l.length?(0,rt.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function bf(n,a,e,t){return(0,Sn.D)(n).pipe((0,Vn.z)(r=>function Od(n,a,e,t,r){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,rt.of)(!0);const c=l.map(s=>{const o=ta(s,a,r);let d;if(function ch(n){return n&&Rr(n.canDeactivate)}(o))d=br(o.canDeactivate(n,a,e,t));else{if(!Rr(o))throw new Error("Invalid CanDeactivate guard");d=br(o(n,a,e,t))}return d.pipe((0,Dr.P)())});return(0,rt.of)(c).pipe(Us())}(r.component,r.route,e,a,t)),(0,Dr.P)(r=>!0!==r,!0))}(c,t,r,n).pipe((0,Vn.z)(s=>s&&function Cl(n){return"boolean"==typeof n}(s)?function mh(n,a,e,t){return(0,Sn.D)(a).pipe((0,Os.b)(r=>(0,Gr.z)(function Mr(n,a){return null!==n&&a&&a(new ki(n)),(0,rt.of)(!0)}(r.route.parent,t),function Rd(n,a){return null!==n&&a&&a(new Hr(n)),(0,rt.of)(!0)}(r.route,t),function Oo(n,a,e){const t=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(c=>function kd(n){const a=n.routeConfig?n.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:n,guards:a}:null}(c)).filter(c=>null!==c).map(c=>Ca(()=>{const s=c.guards.map(o=>{const d=ta(o,c.node,e);let u;if(function ko(n){return n&&Rr(n.canActivateChild)}(d))u=br(d.canActivateChild(t,n));else{if(!Rr(d))throw new Error("Invalid CanActivateChild guard");u=br(d(t,n))}return u.pipe((0,Dr.P)())});return(0,rt.of)(s).pipe(Us())}));return(0,rt.of)(l).pipe(Us())}(n,r.path,e),function Lg(n,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,rt.of)(!0);const r=t.map(l=>Ca(()=>{const c=ta(l,a,e);let s;if(function lh(n){return n&&Rr(n.canActivate)}(c))s=br(c.canActivate(a,n));else{if(!Rr(c))throw new Error("Invalid CanActivate guard");s=br(c(a,n))}return s.pipe((0,Dr.P)())}));return(0,rt.of)(r).pipe(Us())}(n,r.route,e))),(0,Dr.P)(r=>!0!==r,!0))}(t,l,n,a):(0,rt.of)(s)),(0,Ct.U)(s=>Object.assign(Object.assign({},e),{guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),(0,Dt.b)(s=>{if(Ys(s.guardsResult)){const d=Xa(`Redirecting to "${this.serializeUrl(s.guardsResult)}"`);throw d.url=s.guardsResult,d}const o=new ai(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(o)}),(0,Ft.h)(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,""),!1)),ia(s=>{if(s.guards.canActivateChecks.length)return(0,rt.of)(s).pipe((0,Dt.b)(o=>{const d=new Rt(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot);this.triggerEvent(d)}),(0,Li.w)(o=>{let d=!1;return(0,rt.of)(o).pipe(function Mf(n,a){return(0,Vn.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return(0,rt.of)(e);let l=0;return(0,Sn.D)(r).pipe((0,Os.b)(c=>function wf(n,a,e,t){return function Cf(n,a,e,t){const r=Io(n);if(0===r.length)return(0,rt.of)({});const l={};return(0,Sn.D)(r).pipe((0,Vn.z)(c=>function Zs(n,a,e,t){const r=ta(n,a,t);return br(r.resolve?r.resolve(a,e):r(a,e))}(n[c],a,e,t).pipe((0,Dt.b)(s=>{l[c]=s}))),Is(1),(0,Vn.z)(()=>Io(l).length===r.length?(0,rt.of)(l):va.E))}(n._resolve,n,a,t).pipe((0,Ct.U)(l=>(n._resolvedData=l,n.data=Object.assign(Object.assign({},n.data),So(n,e).resolve),null)))}(c.route,t,n,a)),(0,Dt.b)(()=>l++),Is(1),(0,Vn.z)(c=>l===r.length?(0,rt.of)(e):va.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Dt.b)({next:()=>d=!0,complete:()=>{d||(this.restoreHistory(o),this.cancelNavigationTransition(o,"At least one route resolver didn't emit any value."))}}))}),(0,Dt.b)(o=>{const d=new jt(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot);this.triggerEvent(d)}))}),ia(s=>{const{targetSnapshot:o,id:d,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.afterPreactivation(o,{navigationId:d,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Ct.U)(s=>{const o=function Sd(n,a,e){const t=is(n,a._root,e?e._root:void 0);return new Qr(t,a)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return Object.assign(Object.assign({},s),{targetRouterState:o})}),(0,Dt.b)(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((n,a,e)=>(0,Ct.U)(t=>(new sh(a,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),(0,Dt.b)({next(){l=!0},complete(){l=!0}}),B(()=>{var s;l||c||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(s=this.currentNavigation)||void 0===s?void 0:s.id)===r.id&&(this.currentNavigation=null)}),(0,wn.K)(s=>{if(c=!0,function af(n){return n&&n[Cd]}(s)){const o=Ys(s.url);o||(this.navigated=!0,this.restoreHistory(r,!0));const d=new Me(r.id,this.serializeUrl(r.extractedUrl),s.message);t.next(d),o?setTimeout(()=>{const u=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),h={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Nd(r.source)};this.scheduleNavigation(u,"imperative",null,h,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const o=new He(r.id,this.serializeUrl(r.extractedUrl),s);t.next(o);try{r.resolve(this.errorHandler(s))}catch(d){r.reject(d)}}return va.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 l={replaceUrl:!0},c=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(c){const o=Object.assign({},c);delete o.navigationId,delete o.\u0275routerPageId,0!==Object.keys(o).length&&(l.state=o)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,t,c,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Gs(e),this.config=e.map(Pi),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:l,fragment:c,queryParamsHandling:s,preserveFragment:o}=t,d=r||this.routerState.root,u=o?this.currentUrlTree.fragment:c;let h=null;switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=l||null}return null!==h&&(h=this.removeEmptyProps(h)),function Do(n,a,e,t,r){if(0===e.length)return Ml(a.root,a.root,a,t,r);const l=function ih(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new uf(!0,0,n);let a=0,e=!1;const t=n.reduce((r,l,c)=>{if("object"==typeof l&&null!=l){if(l.outlets){const s={};return Ji(l.outlets,(o,d)=>{s[d]="string"==typeof o?o.split("/"):o}),[...r,{outlets:s}]}if(l.segmentPath)return[...r,l.segmentPath]}return"string"!=typeof l?[...r,l]:0===c?(l.split("/").forEach((s,o)=>{0==o&&"."===s||(0==o&&""===s?e=!0:".."===s?a++:""!=s&&r.push(s))}),r):[...r,l]},[]);return new uf(e,a,t)}(e);if(l.toRoot())return Ml(a.root,new Gt([],{}),a,t,r);const c=function nh(n,a,e){if(n.isAbsolute)return new Cc(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new Cc(l,l===a.root,0)}const t=wc(n.commands[0])?0:1;return function rh(n,a,e){let t=n,r=a,l=e;for(;l>r;){if(l-=r,t=t.parent,!t)throw new Error("Invalid number of '../'");r=t.segments.length}return new Cc(t,!1,r-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(l,a,n),s=c.processChildren?Pr(c.segmentGroup,c.index,l.commands):Fs(c.segmentGroup,c.index,l.commands);return Ml(c.segmentGroup,s,a,t,r)}(d,this.currentUrlTree,e,h,null!=u?u:null)}navigateByUrl(e,t={skipLocationChange:!1}){const r=Ys(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function Ef(n){for(let a=0;a{const l=e[r];return null!=l&&(t[r]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ne(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,l,c){var s,o,d;if(this.disposed)return Promise.resolve(!1);const u=this.transitions.value,h=Nd(t)&&u&&!Nd(u.source),f=u.rawUrl.toString()===e.toString(),b=u.id===(null===(s=this.currentNavigation)||void 0===s?void 0:s.id);if(h&&f&&b)return Promise.resolve(!0);let Q,fe,je;c?(Q=c.resolve,fe=c.reject,je=c.promise):je=new Promise((ei,qa)=>{Q=ei,fe=qa});const Mt=++this.navigationId;let gt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),gt=r&&r.\u0275routerPageId?r.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(d=this.browserPageId)&&void 0!==d?d:0)+1):gt=0,this.setTransition({id:Mt,targetPageId:gt,source:t,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:Q,reject:fe,promise:je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),je.catch(ei=>Promise.reject(ei))}setBrowserUrl(e,t){const r=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(r)||t.extras.replaceUrl?this.location.replaceState(r,"",l):this.location.go(r,"",l)}restoreHistory(e,t=!1){var r,l;if("computed"===this.canceledNavigationResolution){const c=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===c?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===c&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(c)}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 Me(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 n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Nd(n){return"imperative"!==n}let Ha=(()=>{class n{constructor(e,t,r,l,c){this.router=e,this.route=t,this.tabIndexAttribute=r,this.renderer=l,this.el=c,this.commands=null,this.onChanges=new Ie.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,r=this.el.nativeElement;null!==e?t.setAttribute(r,"tabindex",e):t.removeAttribute(r,"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:La(this.skipLocationChange),replaceUrl:La(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:La(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),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})(),na=(()=>{class n{constructor(e,t,r){this.router=e,this.route=t,this.locationStrategy=r,this.commands=null,this.href=null,this.onChanges=new Ie.x,this.subscription=e.events.subscribe(l=>{l instanceof ne&&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,r,l,c){if(0!==e||t||r||l||c||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const s={skipLocationChange:La(this.skipLocationChange),replaceUrl:La(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!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:La(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),i.Y36(w.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.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 La(n){return""===n||!!n}class H{}class O{preload(a,e){return e().pipe((0,wn.K)(()=>(0,rt.of)(null)))}}class z{preload(a,e){return(0,rt.of)(null)}}let G=(()=>{class n{constructor(e,t,r,l){this.router=e,this.injector=r,this.preloadingStrategy=l,this.loader=new kl(r,t,o=>e.triggerEvent(new ji(o)),o=>e.triggerEvent(new yi(o)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ft.h)(e=>e instanceof ne),(0,Os.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 r=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const c=l._loadedConfig;r.push(this.processRoutes(c.module,c.routes))}else l.loadChildren&&!l.canLoad?r.push(this.preloadConfig(e,l)):l.children&&r.push(this.processRoutes(e,l.children));return(0,Sn.D)(r).pipe((0,U.J)(),(0,Ct.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,rt.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Vn.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Mi),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(H))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),le=(()=>{class n{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ne&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Ja&&(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 Ja(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 ot=new i.OlP("ROUTER_CONFIGURATION"),Pt=new i.OlP("ROUTER_FORROOT_GUARD"),ci=[w.Ye,{provide:ml,useClass:Zu},{provide:Mi,useFactory:function $s(n,a,e,t,r,l,c={},s,o){const d=new Mi(null,n,a,e,t,r,vd(l));return s&&(d.urlHandlingStrategy=s),o&&(d.routeReuseStrategy=o),function kc(n,a){n.errorHandler&&(a.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(a.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(a.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(a.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(a.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(a.canceledNavigationResolution=n.canceledNavigationResolution)}(c,d),c.enableTracing&&d.events.subscribe(u=>{var h,f;null===(h=console.group)||void 0===h||h.call(console,`Router Event: ${u.constructor.name}`),console.log(u.toString()),console.log(u),null===(f=console.groupEnd)||void 0===f||f.call(console)}),d},deps:[ml,ea,w.Ye,i.zs3,i.Sil,Ll,ot,[class Ah{},new i.FiY],[class Bo{},new i.FiY]]},ea,{provide:Jn,useFactory:function Og(n){return n.routerState.root},deps:[Mi]},G,z,O,{provide:ot,useValue:{enableTracing:!1}}];function qi(){return new i.PXZ("Router",Mi)}let wr=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[ci,Rg(e),{provide:Pt,useFactory:WA,deps:[[Mi,new i.FiY,new i.tp0]]},{provide:ot,useValue:t||{}},{provide:w.S$,useFactory:YA,deps:[w.lw,[new i.tBr(w.mr),new i.FiY],ot]},{provide:le,useFactory:ns,deps:[Mi,w.EM,ot]},{provide:H,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:z},{provide:i.PXZ,multi:!0,useFactory:qi},[Df,{provide:i.ip1,multi:!0,useFactory:UA,deps:[Df]},{provide:Ig,useFactory:GA,deps:[Df]},{provide:i.tb,multi:!0,useExisting:Ig}]]}}static forChild(e){return{ngModule:n,providers:[Rg(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pt,8),i.LFG(Mi,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function ns(n,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new le(n,a,e)}function YA(n,a,e={}){return e.useHash?new w.Do(n,a):new w.b0(n,a)}function WA(n){return"guarded"}function Rg(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Ll,multi:!0,useValue:n}]}let Df=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie.x}appInitializer(){return this.injector.get(w.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const r=new Promise(s=>t=s),l=this.injector.get(Mi),c=this.injector.get(ot);return"disabled"===c.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===c.initialNavigation||"enabledBlocking"===c.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,rt.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),r})}bootstrapListener(e){const t=this.injector.get(ot),r=this.injector.get(G),l=this.injector.get(le),c=this.injector.get(Mi),s=this.injector.get(i.z2F);e===s.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&c.initialNavigation(),r.setUpPreloading(),l.init(),c.resetRootComponentType(s.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 UA(n){return n.appInitializer.bind(n)}function GA(n){return n.bootstrapListener.bind(n)}const Ig=new i.OlP("Router Initializer"),JA=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function XA(){return(0,i.f3M)(w.K0)}}),QA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ra,Fn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function KA(n){const a=(null==n?void 0:n.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?QA.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(JA,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ka=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();try{ra="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){ra=!1}let Pl,wi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,w.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&&!ra)&&"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})();const Lf=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ty(){if(Pl)return Pl;if("object"!=typeof document||!document)return Pl=new Set(Lf),Pl;let n=document.createElement("input");return Pl=new Set(Lf.filter(a=>(n.setAttribute("type",a),n.type===a))),Pl}let yh,Pc,Js,wh;function aa(n){return function wv(){if(null==yh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>yh=!0}))}finally{yh=yh||!1}return yh}()?n:!!n.capture}function iy(){if(null==Js){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Js=!1,Js;if("scrollBehavior"in document.documentElement.style)Js=!0;else{const n=Element.prototype.scrollTo;Js=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Js}function Mh(){if("object"!=typeof document||!document)return 0;if(null==Pc){const n=document.createElement("div"),a=n.style;n.dir="rtl",a.width="1px",a.overflow="auto",a.visibility="hidden",a.pointerEvents="none",a.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Pc=0,0===n.scrollLeft&&(n.scrollLeft=1,Pc=0===n.scrollLeft?1:2),n.remove()}return Pc}function Ch(n){if(function ny(){if(null==wh){const n="undefined"!=typeof document?document.head:null;wh=!(!n||!n.createShadowRoot&&!n.attachShadow)}return wh}()){const a=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function kf(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const a=n.shadowRoot.activeElement;if(a===n)break;n=a}return n}function sa(n){return n.composedPath?n.composedPath()[0]:n.target}function vh(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Ln(n,...a){return a.length?a.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Dh=T(8372);function Qg(n){return(0,Ft.h)((a,e)=>n<=e)}function Cr(n,a=Zr.y){return n=null!=n?n:By,(0,_r.e)((e,t)=>{let r,l=!0;e.subscribe((0,En.x)(t,c=>{const s=a(c);(l||!n(r,s))&&(l=!1,r=s,t.next(c))}))})}function By(n,a){return n===a}var Kg=T(5032);function dt(n){return(0,_r.e)((a,e)=>{(0,Ps.Xf)(n).subscribe((0,En.x)(e,()=>e.complete(),Kg.Z)),!e.closed&&a.subscribe(e)})}function $e(n){return null!=n&&"false"!=`${n}`}function Xi(n,a=0){return e1(n)?Number(n):a}function e1(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ic(n){return Array.isArray(n)?n:[n]}function mn(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Qi(n){return n instanceof i.SBq?n.nativeElement:n}let kt=(()=>{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})(),t1=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Qi(e);return new an.y(r=>{const c=this._observeElement(t).subscribe(r);return()=>{c.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Ie.x,r=this._mutationObserverFactory.create(l=>t.next(l));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 n.\u0275fac=function(e){return new(e||n)(i.LFG(kt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hh=(()=>{class n{constructor(e,t,r){this._contentObserver=e,this._elementRef=t,this._ngZone=r,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Xi(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,Dh.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(t1),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})(),Bc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[kt]}),n})();function Lh(n,a){return(n.getAttribute(a)||"").match(/\S+/g)||[]}const rs="cdk-describedby-message",Nc="cdk-describedby-host";let Ff=0,kh=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ff++,this._document=e}describe(e,t,r){if(!this._canBeDescribed(e,t))return;const l=a1(t,r);"string"!=typeof t?(jf(t),this._messageRegistry.set(l,{messageElement:t,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,l)||this._addMessageReference(e,l)}removeDescription(e,t,r){var l;if(!t||!this._isElementNode(e))return;const c=a1(t,r);if(this._isElementDescribedByMessage(e,c)&&this._removeMessageReference(e,c),"string"==typeof t){const s=this._messageRegistry.get(c);s&&0===s.referenceCount&&this._deleteMessageElement(c)}0===(null===(l=this._messagesContainer)||void 0===l?void 0:l.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${Nc}="${this._id}"]`);for(let r=0;r0!=r.indexOf(rs));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const r=this._messageRegistry.get(t);(function Pa(n,a,e){const t=Lh(n,a);t.some(r=>r.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(a,t.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Nc,this._id),r.referenceCount++}_removeMessageReference(e,t){const r=this._messageRegistry.get(t);r.referenceCount--,function n1(n,a,e){const r=Lh(n,a).filter(l=>l!=e.trim());r.length?n.setAttribute(a,r.join(" ")):n.removeAttribute(a)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Nc)}_isElementDescribedByMessage(e,t){const r=Lh(e,"aria-describedby"),l=this._messageRegistry.get(t),c=l&&l.messageElement.id;return!!c&&-1!=r.indexOf(c)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const r=null==t?"":`${t}`.trim(),l=e.getAttribute("aria-label");return!(!r||l&&l.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function a1(n,a){return"string"==typeof n?`${a||""}/${n}`:n}function jf(n){n.id||(n.id=`${rs}-${Ff++}`)}class Vy{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ie.x,this._typeaheadSubscription=Wt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ie.x,this.change=new Ie.x,a instanceof i.n_E&&a.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Dt.b)(e=>this._pressedLetters.push(e)),(0,Dh.b)(a),(0,Ft.h)(()=>this._pressedLetters.length>0),(0,Ct.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let r=1;r!a[l]||this._allowedModifierKeys.indexOf(l)>-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||Ln(a,"shiftKey"))&&(a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],a.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(a){const e=this._getItemsArray(),t="number"==typeof a?a:e.indexOf(a),r=e[t];this._activeItem=null==r?null:r,this._activeItemIndex=t}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const r=(this._activeItemIndex+a*t+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,e){const t=this._getItemsArray();if(t[a]){for(;this._skipPredicateFn(t[a]);)if(!t[a+=e])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class Yd extends Vy{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}}class Ol extends Vy{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let Wd=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function lT(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 qf(n){try{return n.frameElement}catch(a){return null}}(function d1(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===l1(t)||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),l=l1(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function cT(n){let a=n.nodeName.toLowerCase(),e="input"===a&&n.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==l:"video"===r?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function c1(n){return!function Fy(n){return function qy(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function zy(n){let a=n.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(n)||function jy(n){return function o1(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Yy(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(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Yy(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let a=n.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function l1(n){if(!Yy(n))return null;const a=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class Wy{constructor(a,e,t,r,l=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(a)}}let Ph=(()=>{class n{constructor(e,t,r){this._checker=e,this._ngZone=t,this._document=r}create(e,t=!1){return new Wy(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Wd),i.LFG(i.R0b),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Yf(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Wf(n){const a=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const dT=new i.OlP("cdk-input-modality-detector-options"),uT={ignoreKeys:[18,17,224,91,16]},Fo=aa({passive:!0,capture:!0});let Uy=(()=>{class n{constructor(e,t,r,l){this._platform=e,this._mostRecentTarget=null,this._modality=new rn(null),this._lastTouchMs=0,this._onKeydown=c=>{var s,o;(null===(o=null===(s=this._options)||void 0===s?void 0:s.ignoreKeys)||void 0===o?void 0:o.some(d=>d===c.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=sa(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Yf(c)?"keyboard":"mouse"),this._mostRecentTarget=sa(c))},this._onTouchstart=c=>{Wf(c)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sa(c))},this._options=Object.assign(Object.assign({},uT),l),this.modalityDetected=this._modality.pipe(Qg(1)),this.modalityChanged=this.modalityDetected.pipe(Cr()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Fo),r.addEventListener("mousedown",this._onMousedown,Fo),r.addEventListener("touchstart",this._onTouchstart,Fo)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fo),document.removeEventListener("mousedown",this._onMousedown,Fo),document.removeEventListener("touchstart",this._onTouchstart,Fo))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(i.R0b),i.LFG(w.K0),i.LFG(dT,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const u1=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Uf(){return null}}),h1=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Gf=(()=>{class n{constructor(e,t,r,l){this._ngZone=t,this._defaultOptions=l,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){const r=this._defaultOptions;let l,c;return 1===t.length&&"number"==typeof t[0]?c=t[0]:[l,c]=t,this.clear(),clearTimeout(this._previousTimeout),l||(l=r&&r.politeness?r.politeness:"polite"),null==c&&r&&(c=r.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof c&&(this._previousTimeout=setTimeout(()=>this.clear(),c)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,t;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(t=this._currentResolve)||void 0===t||t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let l=0;l{class n{constructor(e,t,r,l,c){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 Ie.x,this._rootNodeFocusAndBlurListener=s=>{const o=sa(s),d="focus"===s.type?this._onFocus:this._onBlur;for(let u=o;u;u=u.parentElement)d.call(this,s,u)},this._document=l,this._detectionMode=(null==c?void 0:c.detectionMode)||0}monitor(e,t=!1){const r=Qi(e);if(!this._platform.isBrowser||1!==r.nodeType)return(0,rt.of)(null);const l=Ch(r)||this._getDocument(),c=this._elementInfo.get(r);if(c)return t&&(c.checkChildren=!0),c.subject;const s={checkChildren:t,subject:new Ie.x,rootNode:l};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Qi(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 l=Qi(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([s,o])=>this._originChanged(s,t,o)):(this._setOrigin(t),"function"==typeof l.focus&&l.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),l=sa(e);!r||!r.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),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,Ud),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ud)}),this._rootNodeFocusListenerCount.set(t,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(dt(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!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,Ud),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ud),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,l)=>{(l===e||r.checkChildren&&l.contains(e))&&t.push([l,r])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(wi),i.LFG(Uy),i.LFG(w.K0,8),i.LFG(jo,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const f1="cdk-high-contrast-black-on-white",Zf="cdk-high-contrast-white-on-black",$f="cdk-high-contrast-active";let m1=(()=>{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,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,l=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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($f),e.remove(f1),e.remove(Zf),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add($f),e.add(f1)):2===t&&(e.add($f),e.add(Zf))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Il=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(m1))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Bc]]}),n})();class Bl{}const vr="*";function ti(n,a){return{type:7,name:n,definitions:a,options:{}}}function _t(n,a=null){return{type:4,styles:a,timings:n}}function Rh(n,a=null){return{type:3,steps:n,options:a}}function Xf(n,a=null){return{type:2,steps:n,options:a}}function Ne(n){return{type:6,styles:n,offset:null}}function St(n,a,e){return{type:0,name:n,styles:a,options:e}}function eo(n){return{type:5,steps:n}}function vt(n,a,e=null){return{type:1,expr:n,animation:a,options:e}}function Oh(n=null){return{type:9,options:n}}function la(n,a,e=null){return{type:11,selector:n,animation:a,options:e}}function Kf(n){Promise.resolve(null).then(n)}class Gd{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Kf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class e0{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,r=0;const l=this.players.length;0==l?Kf(()=>this._onFinish()):this.players.forEach(c=>{c.onDone(()=>{++e==l&&this._onFinish()}),c.onDestroy(()=>{++t==l&&this._onDestroy()}),c.onStart(()=>{++r==l&&this._onStart()})}),this.totalTime=this.players.reduce((c,s)=>Math.max(c,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const r=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(r)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function $y(){return"undefined"!=typeof window&&void 0!==window.document}function ur(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function qo(n){switch(n.length){case 0:return new Gd;case 1:return n[0];default:return new e0(n)}}function g1(n,a,e,t,r={},l={}){const c=[],s=[];let o=-1,d=null;if(t.forEach(u=>{const h=u.offset,f=h==o,b=f&&d||{};Object.keys(u).forEach(N=>{let Q=N,fe=u[N];if("offset"!==N)switch(Q=a.normalizePropertyName(Q,c),fe){case"!":fe=r[N];break;case vr:fe=l[N];break;default:fe=a.normalizeStyleValue(N,Q,fe,c)}b[Q]=fe}),f||s.push(b),d=b,o=h}),c.length){const u="\n - ";throw new Error(`Unable to animate due to the following errors:${u}${c.join(u)}`)}return s}function _1(n,a,e,t){switch(a){case"start":n.onStart(()=>t(e&&b1(e,"start",n)));break;case"done":n.onDone(()=>t(e&&b1(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&b1(e,"destroy",n)))}}function b1(n,a,e){const t=e.totalTime,l=Ih(n.element,n.triggerName,n.fromState,n.toState,a||n.phaseName,null==t?n.totalTime:t,!!e.disabled),c=n._data;return null!=c&&(l._data=c),l}function Ih(n,a,e,t,r="",l=0,c){return{element:n,triggerName:a,fromState:e,toState:t,phaseName:r,totalTime:l,disabled:!!c}}function ca(n,a,e){let t;return n instanceof Map?(t=n.get(a),t||n.set(a,t=e)):(t=n[a],t||(t=n[a]=e)),t}function A1(n){const a=n.indexOf(":");return[n.substring(1,a),n.substr(a+1)]}let Zd=(n,a)=>!1,n0=(n,a,e)=>[];(ur()||"undefined"!=typeof Element)&&(Zd=$y()?(n,a)=>{for(;a&&a!==document.documentElement;){if(a===n)return!0;a=a.parentNode||a.host}return!1}:(n,a)=>n.contains(a),n0=(n,a,e)=>{if(e)return Array.from(n.querySelectorAll(a));const t=n.querySelector(a);return t?[t]:[]});let Nl=null,r0=!1;function y1(n){Nl||(Nl=function M1(){return"undefined"!=typeof document?document.body:null}()||{},r0=!!Nl.style&&"WebkitAppearance"in Nl.style);let a=!0;return Nl.style&&!function Jy(n){return"ebkit"==n.substring(1,6)}(n)&&(a=n in Nl.style,!a&&r0&&(a="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Nl.style)),a}const w1=Zd,C1=n0;let a0=(()=>{class n{validateStyleProperty(e){return y1(e)}matchesElement(e,t){return!1}containsElement(e,t){return w1(e,t)}query(e,t,r){return C1(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,l,c,s=[],o){return new Gd(r,l)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),s0=(()=>{class n{}return n.NOOP=new a0,n})();const o0="ng-enter",l0="ng-leave",$d="ng-trigger",Nh=".ng-trigger",v1="ng-animating",c0=".ng-animating";function to(n){if("number"==typeof n)return n;const a=n.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:d0(parseFloat(a[1]),a[2])}function d0(n,a){return"s"===a?1e3*n:n}function Vh(n,a,e){return n.hasOwnProperty("duration")?n:function zh(n,a,e){let r,l=0,c="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return a.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};r=d0(parseFloat(s[1]),s[2]);const o=s[3];null!=o&&(l=d0(parseFloat(o),s[4]));const d=s[5];d&&(c=d)}else r=n;if(!e){let s=!1,o=a.length;r<0&&(a.push("Duration values below 0 are not allowed for this animation step."),s=!0),l<0&&(a.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&a.splice(o,0,`The provided timing value "${n}" is invalid.`)}return{duration:r,delay:l,easing:c}}(n,a,e)}function Yo(n,a={}){return Object.keys(n).forEach(e=>{a[e]=n[e]}),a}function ss(n,a,e={}){if(a)for(let t in n)e[t]=n[t];else Yo(n,e);return e}function Fh(n,a,e){return e?a+":"+e+";":""}function u0(n){let a="";for(let e=0;e{const r=jh(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[r]),n.style[r]=a[t]}),ur()&&u0(n))}function Vl(n,a){n.style&&(Object.keys(a).forEach(e=>{const t=jh(e);n.style[t]=""}),ur()&&u0(n))}function zl(n){return Array.isArray(n)?1==n.length?n[0]:Xf(n):n}const h0=new RegExp("{{\\s*(.+?)\\s*}}","g");function p0(n){let a=[];if("string"==typeof n){let e;for(;e=h0.exec(n);)a.push(e[1]);h0.lastIndex=0}return a}function Jd(n,a,e){const t=n.toString(),r=t.replace(h0,(l,c)=>{let s=a[c];return a.hasOwnProperty(c)||(e.push(`Please provide a value for the animation param ${c}`),s=""),s.toString()});return r==t?n:r}function Xd(n){const a=[];let e=n.next();for(;!e.done;)a.push(e.value),e=n.next();return a}const x1=/-+([a-z0-9])/g;function jh(n){return n.replace(x1,(...a)=>a[1].toUpperCase())}function io(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Br(n,a,e){switch(a.type){case 7:return n.visitTrigger(a,e);case 0:return n.visitState(a,e);case 1:return n.visitTransition(a,e);case 2:return n.visitSequence(a,e);case 3:return n.visitGroup(a,e);case 4:return n.visitAnimate(a,e);case 5:return n.visitKeyframes(a,e);case 6:return n.visitStyle(a,e);case 8:return n.visitReference(a,e);case 9:return n.visitAnimateChild(a,e);case 10:return n.visitAnimateRef(a,e);case 11:return n.visitQuery(a,e);case 12:return n.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function eM(n,a){return window.getComputedStyle(n)[a]}function S1(n,a){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function f0(n,a,e){if(":"==n[0]){const o=function Qd(n,a){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 o)return void a.push(o);n=o}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`),a;const r=t[1],l=t[2],c=t[3];a.push(m0(r,c));"<"==l[0]&&!("*"==r&&"*"==c)&&a.push(m0(c,r))}(t,e,a)):e.push(n),e}const Yh=new Set(["true","1"]),zc=new Set(["false","0"]);function m0(n,a){const e=Yh.has(n)||zc.has(n),t=Yh.has(a)||zc.has(a);return(r,l)=>{let c="*"==n||n==r,s="*"==a||a==l;return!c&&e&&"boolean"==typeof r&&(c=r?Yh.has(n):zc.has(n)),!s&&t&&"boolean"==typeof l&&(s=l?Yh.has(a):zc.has(a)),c&&s}}const E1=new RegExp("s*:selfs*,?","g");function _0(n,a,e){return new tM(n).build(a,e)}class tM{constructor(a){this._driver=a}build(a,e){const t=new Fc(e);return this._resetContextStyleTimingState(t),Br(this,zl(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,r=e.depCount=0;const l=[],c=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const o=s,d=o.name;d.toString().split(/\s*,\s*/).forEach(u=>{o.name=u,l.push(this.visitState(o,e))}),o.name=d}else if(1==s.type){const o=this.visitTransition(s,e);t+=o.queryCount,r+=o.depCount,c.push(o)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:l,transitions:c,queryCount:t,depCount:r,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),r=a.options&&a.options.params||null;if(t.containsDynamicStyles){const l=new Set,c=r||{};if(t.styles.forEach(s=>{if(Uh(s)){const o=s;Object.keys(o).forEach(d=>{p0(o[d]).forEach(u=>{c.hasOwnProperty(u)||l.add(u)})})}}),l.size){const s=Xd(l.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${s.join(", ")}`)}}return{type:0,name:a.name,style:t,options:r?{params:r}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=Br(this,zl(a.animation),e);return{type:1,matchers:S1(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:da(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>Br(this,t,e)),options:da(a.options)}}visitGroup(a,e){const t=e.currentTime;let r=0;const l=a.steps.map(c=>{e.currentTime=t;const s=Br(this,c,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:l,options:da(a.options)}}visitAnimate(a,e){const t=function nM(n,a){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return b0(Vh(n,a).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=b0(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||Vh(t,a),b0(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let r,l=a.styles?a.styles:Ne({});if(5==l.type)r=this.visitKeyframes(l,e);else{let c=a.styles,s=!1;if(!c){s=!0;const d={};t.easing&&(d.easing=t.easing),c=Ne(d)}e.currentTime+=t.duration+t.delay;const o=this.visitStyle(c,e);o.isEmptyStep=s,r=o}return e.currentAnimateTimings=null,{type:4,timings:t,style:r,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(c=>{"string"==typeof c?c==vr?t.push(c):e.errors.push(`The provided style string value ${c} is not allowed.`):t.push(c)}):t.push(a.styles);let r=!1,l=null;return t.forEach(c=>{if(Uh(c)){const s=c,o=s.easing;if(o&&(l=o,delete s.easing),!r)for(let d in s)if(s[d].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:t,easing:l,offset:a.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let r=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),a.styles.forEach(c=>{"string"!=typeof c&&Object.keys(c).forEach(s=>{if(!this._driver.validateStyleProperty(s))return void e.errors.push(`The provided animation property "${s}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],d=o[s];let u=!0;d&&(l!=r&&l>=d.startTime&&r<=d.endTime&&(e.errors.push(`The CSS property "${s}" that exists between the times of "${d.startTime}ms" and "${d.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${r}ms"`),u=!1),l=d.startTime),u&&(o[s]={startTime:l,endTime:r}),e.options&&function fT(n,a,e){const t=a.params||{},r=p0(n);r.length&&r.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(c[s],e.options,e.errors)})})}visitKeyframes(a,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 l=0;const c=[];let s=!1,o=!1,d=0;const u=a.steps.map(je=>{const Mt=this._makeStyleAst(je,e);let gt=null!=Mt.offset?Mt.offset:function H1(n){if("string"==typeof n)return null;let a=null;if(Array.isArray(n))n.forEach(e=>{if(Uh(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(Uh(n)&&n.hasOwnProperty("offset")){const e=n;a=parseFloat(e.offset),delete e.offset}return a}(Mt.styles),ei=0;return null!=gt&&(l++,ei=Mt.offset=gt),o=o||ei<0||ei>1,s=s||ei0&&l{const gt=f>0?Mt==b?1:f*Mt:c[Mt],ei=gt*fe;e.currentTime=N+Q.delay+ei,Q.duration=ei,this._validateStyleAst(je,e),je.offset=gt,t.styles.push(je)}),t}visitReference(a,e){return{type:8,animation:Br(this,zl(a.animation),e),options:da(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:da(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:da(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,r=a.options||{};e.queryCount++,e.currentQuery=a;const[l,c]=function iM(n){const a=!!n.split(/\s*,\s*/).find(e=>":self"==e);return a&&(n=n.replace(E1,"")),n=n.replace(/@\*/g,Nh).replace(/@\w+/g,e=>Nh+"-"+e.substr(1)).replace(/:animating/g,c0),[n,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+l:l,ca(e.collectedStyles,e.currentQuerySelector,{});const s=Br(this,zl(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:r.limit||0,optional:!!r.optional,includeSelf:c,animation:s,originalSelector:a.selector,options:da(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:Vh(a.timings,e.errors,!0);return{type:12,animation:Br(this,zl(a.animation),e),timings:t,options:null}}}class Fc{constructor(a){this.errors=a,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 Uh(n){return!Array.isArray(n)&&"object"==typeof n}function da(n){return n?(n=Yo(n)).params&&(n.params=function D1(n){return n?Yo(n):null}(n.params)):n={},n}function b0(n,a,e){return{duration:n,delay:a,easing:e}}function A0(n,a,e,t,r,l,c=null,s=!1){return{type:1,element:n,keyframes:a,preStyleProps:e,postStyleProps:t,duration:r,delay:l,totalTime:r+l,easing:c,subTimeline:s}}class Gh{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const y0=new RegExp(":enter","g"),k1=new RegExp(":leave","g");function Zh(n,a,e,t,r,l={},c={},s,o,d=[]){return(new P1).buildKeyframes(n,a,e,t,r,l,c,s,o,d)}class P1{buildKeyframes(a,e,t,r,l,c,s,o,d,u=[]){d=d||new Gh;const h=new M0(a,e,d,r,l,u,[]);h.options=o,h.currentTimeline.setStyles([c],null,h.errors,o),Br(this,t,h);const f=h.timelines.filter(b=>b.containsAnimation());if(Object.keys(s).length){let b;for(let N=f.length-1;N>=0;N--){const Q=f[N];if(Q.element===e){b=Q;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([s],null,h.errors,o)}return f.length?f.map(b=>b.buildKeyframes()):[A0(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const r=e.createSubContext(a.options),l=e.currentTimeline.currentTime,c=this._visitSubInstructions(t,r,r.options);l!=c&&e.transformIntoNewTimeline(c)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let l=e.currentTimeline.currentTime;const c=null!=t.duration?to(t.duration):null,s=null!=t.delay?to(t.delay):null;return 0!==c&&a.forEach(o=>{const d=e.appendInstructionToTimeline(o,c,s);l=Math.max(l,d.duration+d.delay)}),l}visitReference(a,e){e.updateOptions(a.options,!0),Br(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let r=e;const l=a.options;if(l&&(l.params||l.delay)&&(r=e.createSubContext(l),r.transformIntoNewTimeline(),null!=l.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$h);const c=to(l.delay);r.delayNextStep(c)}a.steps.length&&(a.steps.forEach(c=>Br(this,c,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>t&&r.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let r=e.currentTimeline.currentTime;const l=a.options&&a.options.delay?to(a.options.delay):0;a.steps.forEach(c=>{const s=e.createSubContext(a.options);l&&s.delayNextStep(l),Br(this,c,s),r=Math.max(r,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(c=>e.currentTimeline.mergeTimelineCollectedStyles(c)),e.transformIntoNewTimeline(r),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return Vh(e.params?Jd(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),r=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),r.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,r=e.currentAnimateTimings;!r&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=r&&r.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(l):t.setStyles(a.styles,l,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,r=e.currentTimeline.duration,l=t.duration,s=e.createSubContext().currentTimeline;s.easing=t.easing,a.styles.forEach(o=>{s.forwardTime((o.offset||0)*l),s.setStyles(o.styles,o.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+l),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,r=a.options||{},l=r.delay?to(r.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$h);let c=t;const s=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let o=null;s.forEach((d,u)=>{e.currentQueryIndex=u;const h=e.createSubContext(a.options,d);l&&h.delayNextStep(l),d===e.element&&(o=h.currentTimeline),Br(this,a.animation,h),h.currentTimeline.applyStylesToKeyframe(),c=Math.max(c,h.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(c),o&&(e.currentTimeline.mergeTimelineCollectedStyles(o),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,r=e.currentTimeline,l=a.timings,c=Math.abs(l.duration),s=c*(e.currentQueryTotal-1);let o=c*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":o=s-o;break;case"full":o=t.currentStaggerTime}const u=e.currentTimeline;o&&u.delayNextStep(o);const h=u.currentTime;Br(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=r.currentTime-h+(r.startTime-t.currentTimeline.startTime)}}const $h={};class M0{constructor(a,e,t,r,l,c,s,o){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=r,this._leaveClassName=l,this.errors=c,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$h,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Jh(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let r=this.options;null!=t.duration&&(r.duration=to(t.duration)),null!=t.delay&&(r.delay=to(t.delay));const l=t.params;if(l){let c=r.params;c||(c=this.options.params={}),Object.keys(l).forEach(s=>{(!e||!c.hasOwnProperty(s))&&(c[s]=Jd(l[s],c,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(r=>{t[r]=e[r]})}}return a}createSubContext(a=null,e,t){const r=e||this.element,l=new M0(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=$h,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const r={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},l=new aM(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,r,a.stretchStartingKeyframe);return this.timelines.push(l),r}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,r,l,c){let s=[];if(r&&s.push(this.element),a.length>0){a=(a=a.replace(y0,"."+this._enterClassName)).replace(k1,"."+this._leaveClassName);let d=this._driver.query(this.element,a,1!=t);0!==t&&(d=t<0?d.slice(d.length+t,d.length):d.slice(0,t)),s.push(...d)}return!l&&0==s.length&&c.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class Jh{constructor(a,e,t,r){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new Jh(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||vr,this._currentKeyframe[e]=vr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,r){e&&(this._previousKeyframe.easing=e);const l=r&&r.params||{},c=function mT(n,a){const e={};let t;return n.forEach(r=>{"*"===r?(t=t||Object.keys(a),t.forEach(l=>{e[l]=vr})):ss(r,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(c).forEach(s=>{const o=Jd(c[s],l,t);this._pendingStyles[s]=o,this._localTimelineStyles.hasOwnProperty(s)||(this._backFill[s]=this._globalTimelineStyles.hasOwnProperty(s)?this._globalTimelineStyles[s]:vr),this._updateStyle(s,o)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],r=a._styleSummary[e];(!t||r.time>t.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const d=ss(s,!0);Object.keys(d).forEach(u=>{const h=d[u];"!"==h?a.add(u):h==vr&&e.add(u)}),t||(d.offset=o/this.duration),r.push(d)});const l=a.size?Xd(a.values()):[],c=e.size?Xd(e.values()):[];if(t){const s=r[0],o=Yo(s);s.offset=0,o.offset=1,r=[s,o]}return A0(this.element,r,l,c,this.duration,this.startTime,this.easing,!1)}}class aM extends Jh{constructor(a,e,t,r,l,c,s=!1){super(a,e,c.delay),this.keyframes=t,this.preStyleProps=r,this.postStyleProps=l,this._stretchStartingKeyframe=s,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],c=t+e,s=e/c,o=ss(a[0],!1);o.offset=0,l.push(o);const d=ss(a[0],!1);d.offset=w0(s),l.push(d);const u=a.length-1;for(let h=1;h<=u;h++){let f=ss(a[h],!1);f.offset=w0((e+f.offset*t)/c),l.push(f)}t=c,e=0,r="",a=l}return A0(this.element,a,this.preStyleProps,this.postStyleProps,t,e,r,!0)}}function w0(n,a=3){const e=Math.pow(10,a-1);return Math.round(n*e)/e}class C0{}class _T extends C0{normalizePropertyName(a,e){return jh(a)}normalizeStyleValue(a,e,t,r){let l="";const c=t.toString().trim();if(bT[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(`Please provide a CSS unit value for ${a}:${t}`)}return c+l}}const bT=(()=>function v0(n){const a={};return n.forEach(e=>a[e]=!0),a}("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 R1(n,a,e,t,r,l,c,s,o,d,u,h,f){return{type:0,element:n,triggerName:a,isRemovalTransition:r,fromState:e,fromStyles:l,toState:t,toStyles:c,timelines:s,queriedElements:o,preStyleProps:d,postStyleProps:u,totalTime:h,errors:f}}const Xh={};class T0{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,r){return function AT(n,a,e,t,r){return n.some(l=>l(a,e,t,r))}(this.ast.matchers,a,e,t,r)}buildStyles(a,e,t){const r=this._stateStyles["*"],l=this._stateStyles[a],c=r?r.buildStyles(e,t):{};return l?l.buildStyles(e,t):c}build(a,e,t,r,l,c,s,o,d,u){const h=[],f=this.ast.options&&this.ast.options.params||Xh,N=this.buildStyles(t,s&&s.params||Xh,h),Q=o&&o.params||Xh,fe=this.buildStyles(r,Q,h),je=new Set,Mt=new Map,gt=new Map,ei="void"===r,qa={params:Object.assign(Object.assign({},f),Q)},xs=u?[]:Zh(a,e,this.ast.animation,l,c,N,fe,qa,d,h);let qr=0;if(xs.forEach(uc=>{qr=Math.max(uc.duration+uc.delay,qr)}),h.length)return R1(e,this._triggerName,t,r,ei,N,fe,[],[],Mt,gt,qr,h);xs.forEach(uc=>{const hc=uc.element,_D=ca(Mt,hc,{});uc.preStyleProps.forEach(ju=>_D[ju]=!0);const xg=ca(gt,hc,{});uc.postStyleProps.forEach(ju=>xg[ju]=!0),hc!==e&&je.add(hc)});const dc=Xd(je.values());return R1(e,this._triggerName,t,r,ei,N,fe,xs,dc,Mt,gt,qr)}}class Ra{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},r=Yo(this.defaultParams);return Object.keys(a).forEach(l=>{const c=a[l];null!=c&&(r[l]=c)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const c=l;Object.keys(c).forEach(s=>{let o=c[s];o.length>1&&(o=Jd(o,r,e));const d=this.normalizer.normalizePropertyName(s,e);o=this.normalizer.normalizeStyleValue(s,d,o,e),t[d]=o})}}),t}}class MT{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new Ra(r.style,r.options&&r.options.params||{},t)}),x0(this.states,"true","1"),x0(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new T0(a,r,this.states))}),this.fallbackTransition=function O1(n,a,e){return new T0(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(c,s)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,r){return this.transitionFactories.find(c=>c.match(a,e,t,r))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function x0(n,a,e){n.hasOwnProperty(a)?n.hasOwnProperty(e)||(n[e]=n[a]):n.hasOwnProperty(e)&&(n[a]=n[e])}const I1=new Gh;class oM{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],r=_0(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[a]=r}_buildPlayer(a,e,t){const r=a.element,l=g1(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(r,l,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const r=[],l=this._animations[a];let c;const s=new Map;if(l?(c=Zh(this._driver,e,l,o0,l0,{},{},t,I1,r),c.forEach(u=>{const h=ca(s,u.element,{});u.postStyleProps.forEach(f=>h[f]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),c=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);s.forEach((u,h)=>{Object.keys(u).forEach(f=>{u[f]=this._driver.computeStyle(h,f,vr)})});const d=qo(c.map(u=>{const h=s.get(u.element);return this._buildPlayer(u,{},h)}));return this._playersById[a]=d,d.onDestroy(()=>this.destroy(a)),this.players.push(d),d}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,r){const l=Ih(e,"","","");return _1(this._getPlayer(a),t,l,r),()=>{}}command(a,e,t,r){if("register"==t)return void this.register(a,r[0]);if("create"==t)return void this.create(a,e,r[0]||{});const l=this._getPlayer(a);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(a)}}}const lM="ng-animate-queued",Kd="ng-animate-disabled",uM=[],N1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hM={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ha="__ng_removed";class E0{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function H0(n){return null!=n?n:null}(t?a.value:a),t){const l=Yo(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(r=>{null==t[r]&&(t[r]=e[r])})}}}const Wo="void",Uo=new E0(Wo);class pM{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Yi(e,this._hostClassName)}listen(a,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 tu(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 l=ca(this._elementListeners,a,[]),c={name:e,phase:t,callback:r};l.push(c);const s=ca(this._engine.statesByElement,a,{});return s.hasOwnProperty(e)||(Yi(a,$d),Yi(a,$d+"-"+e),s[e]=Uo),()=>{this._engine.afterFlush(()=>{const o=l.indexOf(c);o>=0&&l.splice(o,1),this._triggers[e]||delete s[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,r=!0){const l=this._getTrigger(e),c=new D0(this.id,e,a);let s=this._engine.statesByElement.get(a);s||(Yi(a,$d),Yi(a,$d+"-"+e),this._engine.statesByElement.set(a,s={}));let o=s[e];const d=new E0(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&o&&d.absorbOptions(o.options),s[e]=d,o||(o=Uo),d.value!==Wo&&o.value===d.value){if(!function Yc(n,a){const e=Object.keys(n),t=Object.keys(a);if(e.length!=t.length)return!1;for(let r=0;r{Vl(a,fe),os(a,je)})}return}const f=ca(this._engine.playersByElement,a,[]);f.forEach(Q=>{Q.namespaceId==this.id&&Q.triggerName==e&&Q.queued&&Q.destroy()});let b=l.matchTransition(o.value,d.value,a,d.params),N=!1;if(!b){if(!r)return;b=l.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:o,toState:d,player:c,isFallbackTransition:N}),N||(Yi(a,lM),c.onStart(()=>{Zo(a,lM)})),c.onDone(()=>{let Q=this.players.indexOf(c);Q>=0&&this.players.splice(Q,1);const fe=this._engine.playersByElement.get(a);if(fe){let je=fe.indexOf(c);je>=0&&fe.splice(je,1)}}),this.players.push(c),f.push(c),c}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(r=>r.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,Nh,!0);t.forEach(r=>{if(r[ha])return;const l=this._engine.fetchNamespacesByElement(r);l.size?l.forEach(c=>c.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(a,e,t,r){const l=this._engine.statesByElement.get(a),c=new Map;if(l){const s=[];if(Object.keys(l).forEach(o=>{if(c.set(o,l[o].value),this._triggers[o]){const d=this.trigger(a,o,Wo,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,c),t&&qo(s).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const r=new Set;e.forEach(l=>{const c=l.name;if(r.has(c))return;r.add(c);const o=this._triggers[c].fallbackTransition,d=t[c]||Uo,u=new E0(Wo),h=new D0(this.id,c,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:o,fromState:d,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let r=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(a):[];if(l&&l.length)r=!0;else{let c=a;for(;c=c.parentNode;)if(t.statesByElement.get(c)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(a),r)t.markElementAsRemoved(this.id,a,!1,e);else{const l=a[ha];(!l||l===N1)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){Yi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const r=t.player;if(r.destroyed)return;const l=t.element,c=this._elementListeners.get(l);c&&c.forEach(s=>{if(s.name==t.triggerName){const o=Ih(l,t.triggerName,t.fromState.value,t.toState.value);o._data=a,_1(t.player,s.phase,o,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(t)}),this._queue=[],e.sort((t,r)=>{const l=t.transition.ast.depCount,c=r.transition.ast.depCount;return 0==l||0==c?l-c:this._engine.driver.containsElement(t.element,r.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class eu{constructor(a,e,t){this.bodyNode=a,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,l)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new pM(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let r=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,a),r=!0;break}r||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let r=this._namespaceLookup[a];r&&r.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const r=this._namespaceList.indexOf(t);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const r=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(c,1)}if(a){const c=this._fetchNamespace(a);c&&c.insertNode(e,t)}r&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Yi(a,Kd)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Zo(a,Kd))}removeNode(a,e,t,r){if(Nr(e)){const l=a?this._fetchNamespace(a):null;if(l?l.removeNode(e,r):this.markElementAsRemoved(a,e,!1,r),t){const c=this.namespacesByHostElement.get(e);c&&c.id!==a&&c.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(a,e,t,r,l){this.collectedLeaveElements.push(e),e[ha]={namespaceId:a,setForRemoval:r,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,e,t,r,l){return Nr(e)?this._fetchNamespace(a).listen(e,t,r,l):()=>{}}_buildInstruction(a,e,t,r,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,r,a.fromState.options,a.toState.options,e,l)}destroyInnerAnimations(a){let e=this.driver.query(a,Nh,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,c0,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return qo(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[ha];if(t&&t.setForRemoval){if(a[ha]=N1,t.namespaceId){this.destroyInnerAnimations(a);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Kd))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(a=-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?qo(e).onDone(()=>{t.forEach(r=>r())}):t.forEach(r=>r())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new Gh,r=[],l=new Map,c=[],s=new Map,o=new Map,d=new Map,u=new Set;this.disabledNodes.forEach(ht=>{u.add(ht);const wt=this.driver.query(ht,".ng-animate-queued",!0);for(let xt=0;xt{const xt=o0+Q++;N.set(wt,xt),ht.forEach(di=>Yi(di,xt))});const fe=[],je=new Set,Mt=new Set;for(let ht=0;htje.add(di)):Mt.add(wt))}const gt=new Map,ei=iu(f,Array.from(je));ei.forEach((ht,wt)=>{const xt=l0+Q++;gt.set(wt,xt),ht.forEach(di=>Yi(di,xt))}),a.push(()=>{b.forEach((ht,wt)=>{const xt=N.get(wt);ht.forEach(di=>Zo(di,xt))}),ei.forEach((ht,wt)=>{const xt=gt.get(wt);ht.forEach(di=>Zo(di,xt))}),fe.forEach(ht=>{this.processLeaveNode(ht)})});const qa=[],xs=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(xt=>{const di=xt.player,nr=xt.element;if(qa.push(di),this.collectedEnterElements.length){const Yr=nr[ha];if(Yr&&Yr.setForMove){if(Yr.previousTriggersValues&&Yr.previousTriggersValues.has(xt.triggerName)){const qu=Yr.previousTriggersValues.get(xt.triggerName),yd=this.statesByElement.get(xt.element);yd&&yd[xt.triggerName]&&(yd[xt.triggerName].value=qu)}return void di.destroy()}}const ol=!h||!this.driver.containsElement(h,nr),Ya=gt.get(nr),Ad=N.get(nr),un=this._buildInstruction(xt,t,Ad,Ya,ol);if(un.errors&&un.errors.length)return void xs.push(un);if(ol)return di.onStart(()=>Vl(nr,un.fromStyles)),di.onDestroy(()=>os(nr,un.toStyles)),void r.push(di);if(xt.isFallbackTransition)return di.onStart(()=>Vl(nr,un.fromStyles)),di.onDestroy(()=>os(nr,un.toStyles)),void r.push(di);const yD=[];un.timelines.forEach(Yr=>{Yr.stretchStartingKeyframe=!0,this.disabledNodes.has(Yr.element)||yD.push(Yr)}),un.timelines=yD,t.append(nr,un.timelines),c.push({instruction:un,player:di,element:nr}),un.queriedElements.forEach(Yr=>ca(s,Yr,[]).push(di)),un.preStyleProps.forEach((Yr,qu)=>{const yd=Object.keys(Yr);if(yd.length){let Yu=o.get(qu);Yu||o.set(qu,Yu=new Set),yd.forEach(yv=>Yu.add(yv))}}),un.postStyleProps.forEach((Yr,qu)=>{const yd=Object.keys(Yr);let Yu=d.get(qu);Yu||d.set(qu,Yu=new Set),yd.forEach(yv=>Yu.add(yv))})});if(xs.length){const ht=[];xs.forEach(wt=>{ht.push(`@${wt.triggerName} has failed due to:\n`),wt.errors.forEach(xt=>ht.push(`- ${xt}\n`))}),qa.forEach(wt=>wt.destroy()),this.reportError(ht)}const qr=new Map,dc=new Map;c.forEach(ht=>{const wt=ht.element;t.has(wt)&&(dc.set(wt,wt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,qr))}),r.forEach(ht=>{const wt=ht.element;this._getPreviousPlayers(wt,!1,ht.namespaceId,ht.triggerName,null).forEach(di=>{ca(qr,wt,[]).push(di),di.destroy()})});const uc=fe.filter(ht=>jl(ht,o,d)),hc=new Map;Go(hc,this.driver,Mt,d,vr).forEach(ht=>{jl(ht,o,d)&&uc.push(ht)});const xg=new Map;b.forEach((ht,wt)=>{Go(xg,this.driver,new Set(ht),o,"!")}),uc.forEach(ht=>{const wt=hc.get(ht),xt=xg.get(ht);hc.set(ht,Object.assign(Object.assign({},wt),xt))});const ju=[],bD=[],AD={};c.forEach(ht=>{const{element:wt,player:xt,instruction:di}=ht;if(t.has(wt)){if(u.has(wt))return xt.onDestroy(()=>os(wt,di.toStyles)),xt.disabled=!0,xt.overrideTotalTime(di.totalTime),void r.push(xt);let nr=AD;if(dc.size>1){let Ya=wt;const Ad=[];for(;Ya=Ya.parentNode;){const un=dc.get(Ya);if(un){nr=un;break}Ad.push(Ya)}Ad.forEach(un=>dc.set(un,nr))}const ol=this._buildAnimation(xt.namespaceId,di,qr,l,xg,hc);if(xt.setRealPlayer(ol),nr===AD)ju.push(xt);else{const Ya=this.playersByElement.get(nr);Ya&&Ya.length&&(xt.parentPlayer=qo(Ya)),r.push(xt)}}else Vl(wt,di.fromStyles),xt.onDestroy(()=>os(wt,di.toStyles)),bD.push(xt),u.has(wt)&&r.push(xt)}),bD.forEach(ht=>{const wt=l.get(ht.element);if(wt&&wt.length){const xt=qo(wt);ht.setRealPlayer(xt)}}),r.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!ol.destroyed);nr.length?jc(this,wt,nr):this.processLeaveNode(wt)}return fe.length=0,ju.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const wt=this.players.indexOf(ht);this.players.splice(wt,1)}),ht.play()}),ju}elementContainsData(a,e){let t=!1;const r=e[ha];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,r,l){let c=[];if(e){const s=this.playersByQueriedElement.get(a);s&&(c=s)}else{const s=this.playersByElement.get(a);if(s){const o=!l||l==Wo;s.forEach(d=>{d.queued||!o&&d.triggerName!=r||c.push(d)})}}return(t||r)&&(c=c.filter(s=>!(t&&t!=s.namespaceId||r&&r!=s.triggerName))),c}_beforeAnimationBuild(a,e,t){const l=e.element,c=e.isRemovalTransition?void 0:a,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const d=o.element,u=d!==l,h=ca(t,d,[]);this._getPreviousPlayers(d,u,c,s,e.toState).forEach(b=>{const N=b.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),b.destroy(),h.push(b)})}Vl(l,e.fromStyles)}_buildAnimation(a,e,t,r,l,c){const s=e.triggerName,o=e.element,d=[],u=new Set,h=new Set,f=e.timelines.map(N=>{const Q=N.element;u.add(Q);const fe=Q[ha];if(fe&&fe.removedBeforeQueried)return new Gd(N.duration,N.delay);const je=Q!==o,Mt=function qc(n){const a=[];return Fl(n,a),a}((t.get(Q)||uM).map(qr=>qr.getRealPlayer())).filter(qr=>!!qr.element&&qr.element===Q),gt=l.get(Q),ei=c.get(Q),qa=g1(0,this._normalizer,0,N.keyframes,gt,ei),xs=this._buildPlayer(N,qa,Mt);if(N.subTimeline&&r&&h.add(Q),je){const qr=new D0(a,s,Q);qr.setRealPlayer(xs),d.push(qr)}return xs});d.forEach(N=>{ca(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>function fM(n,a,e){let t;if(n instanceof Map){if(t=n.get(a),t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&n.delete(a)}}else if(t=n[a],t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&delete n[a]}return t}(this.playersByQueriedElement,N.element,N))}),u.forEach(N=>Yi(N,v1));const b=qo(f);return b.onDestroy(()=>{u.forEach(N=>Zo(N,v1)),os(o,e.toStyles)}),h.forEach(N=>{ca(r,N,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Gd(a.duration,a.delay)}}class D0{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Gd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>_1(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){ca(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function Nr(n){return n&&1===n.nodeType}function jn(n,a){const e=n.style.display;return n.style.display=null!=a?a:"none",e}function Go(n,a,e,t,r){const l=[];e.forEach(o=>l.push(jn(o)));const c=[];t.forEach((o,d)=>{const u={};o.forEach(h=>{const f=u[h]=a.computeStyle(d,h,r);(!f||0==f.length)&&(d[ha]=hM,c.push(d))}),n.set(d,u)});let s=0;return e.forEach(o=>jn(o,l[s++])),c}function iu(n,a){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==a.length)return e;const r=new Set(a),l=new Map;function c(s){if(!s)return 1;let o=l.get(s);if(o)return o;const d=s.parentNode;return o=e.has(d)?d:r.has(d)?1:c(d),l.set(s,o),o}return a.forEach(s=>{const o=c(s);1!==o&&e.get(o).push(s)}),e}function Yi(n,a){var e;null===(e=n.classList)||void 0===e||e.add(a)}function Zo(n,a){var e;null===(e=n.classList)||void 0===e||e.remove(a)}function jc(n,a,e){qo(e).onDone(()=>n.processLeaveNode(a))}function Fl(n,a){for(let e=0;er.add(l)):a.set(n,t),e.delete(n),!0}class no{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(r,l)=>{},this._transitionEngine=new eu(a,e,t),this._timelineEngine=new oM(a,e,t),this._transitionEngine.onRemovalComplete=(r,l)=>this.onRemovalComplete(r,l)}registerTrigger(a,e,t,r,l){const c=a+"-"+r;let s=this._triggerCache[c];if(!s){const o=[],d=_0(this._driver,l,o);if(o.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${o.join("\n - ")}`);s=function yT(n,a,e){return new MT(n,a,e)}(r,d,this._normalizer),this._triggerCache[c]=s}this._transitionEngine.registerTrigger(e,r,s)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,r){this._transitionEngine.insertNode(a,e,t,r)}onRemove(a,e,t,r){this._transitionEngine.removeNode(a,e,r||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,r){if("@"==t.charAt(0)){const[l,c]=A1(t);this._timelineEngine.command(l,e,c,r)}else this._transitionEngine.trigger(a,e,t,r)}listen(a,e,t,r,l){if("@"==t.charAt(0)){const[c,s]=A1(t);return this._timelineEngine.listen(c,e,s,l)}return this._transitionEngine.listen(a,e,t,r,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Uc=(()=>{class n{constructor(e,t,r){this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;let l=n.initialStylesByElement.get(e);l||n.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&os(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(os(this._element,this._initialStyles),this._endStyles&&(os(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Vl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vl(this._element,this._endStyles),this._endStyles=null),os(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function $o(n){let a=null;const e=Object.keys(n);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:eM(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class V1{validateStyleProperty(a){return y1(a)}matchesElement(a,e){return!1}containsElement(a,e){return w1(a,e)}query(a,e,t){return C1(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,r,l,c=[]){const o={duration:t,delay:r,fill:0==r?"both":"forwards"};l&&(o.easing=l);const d={},u=c.filter(f=>f instanceof k0);(function qh(n,a){return 0===n||0===a})(t,r)&&u.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(N=>d[N]=b[N])}),e=function Ky(n,a,e){const t=Object.keys(e);if(t.length&&a.length){let l=a[0],c=[];if(t.forEach(s=>{l.hasOwnProperty(s)||c.push(s),l[s]=e[s]}),c.length)for(var r=1;rss(f,!1)),d);const h=function Wc(n,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=$o(a[0]),a.length>1&&(t=$o(a[a.length-1]))):a&&(e=$o(a)),e||t?new Uc(n,e,t):null}(a,e);return new k0(a,e,o,h)}}let z1=(()=>{class n extends Bl{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 r=Array.isArray(e)?Xf(e):e;return P0(this._renderer,null,t,"register",[r]),new F1(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class F1 extends class Jf{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new j1(this._id,a,e||{},this._renderer)}}class j1{constructor(a,e,t,r){this.id=a,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return P0(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function P0(n,a,e,t,r){return n.setProperty(a,`@@${e}:${t}`,r)}const R0="@.disabled";let mM=(()=>{class n{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=(l,c)=>{const s=null==c?void 0:c.parentNode(l);s&&c.removeChild(s,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let u=this._rendererCache.get(l);return u||(u=new O0("",l,this.engine),this._rendererCache.set(l,u)),u}const c=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(c,s,e,u.name,u)};return t.data.animation.forEach(o),new gM(this,s,l,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(l=>{const[c,s]=l;c(s)}),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 n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(no),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class O0{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,r=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,r)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,r){this.delegate.setAttribute(a,e,t,r)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,r){this.delegate.setStyle(a,e,t,r)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==R0?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class gM extends O0{constructor(a,e,t,r){super(e,t,r),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==R0?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const r=function q1(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(a);let l=e.substr(1),c="";return"@"!=l.charAt(0)&&([l,c]=function Y1(n){const a=n.indexOf(".");return[n.substring(0,a),n.substr(a+1)]}(l)),this.engine.listen(this.namespaceId,r,l,c,s=>{this.factory.scheduleListenerCallback(s._data||-1,t,s)})}return this.delegate.listen(a,e,t)}}let _M=(()=>{class n extends no{constructor(e,t,r){super(e.body,t,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(s0),i.LFG(C0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const qn=new i.OlP("AnimationModuleType"),I0=[{provide:Bl,useClass:z1},{provide:C0,useFactory:function bM(){return new _T}},{provide:no,useClass:_M},{provide:i.FYo,useFactory:function W1(n,a,e){return new mM(n,a,e)},deps:[xe,no,i.R0b]}],U1=[{provide:s0,useFactory:()=>new V1},{provide:qn,useValue:"BrowserAnimations"},...I0],AM=[{provide:s0,useClass:a0},{provide:qn,useValue:"NoopAnimations"},...I0];let wT=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?AM:U1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:U1,imports:[de]}),n})();function yM(n,a){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 vT(n,a){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 TT=["*"];let wM=(()=>{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})(),$1=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const CM=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function xT(){return!0}});let ut=(()=>{class n{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!vh()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(m1),i.LFG(CM,8),i.LFG(w.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka],ka]}),n})();function Oa(n){return class extends n{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=$e(a)}}}function Ia(n,a){return class extends n{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 pa(n){return class extends n{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=$e(a)}}}function Jo(n,a=0){return class extends n{constructor(...e){super(...e),this._tabIndex=a,this.defaultTabIndex=a}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Xi(e):this.defaultTabIndex}}}function B0(n){return class extends n{constructor(...a){super(...a),this.stateChanges=new Ie.x,this.errorState=!1}updateErrorState(){const a=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==a&&(this.errorState=l,this.stateChanges.next())}}}function J1(n){return class extends n{constructor(...a){super(...a),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new an.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(a){a.next(),a.complete()}}}const TM=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function xM(){return(0,i.f3M)(i.soG)}});class Ba{constructor(){this._localeChanges=new Ie.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),r=this.isValid(e);return t&&r?!this.compareDate(a,e):t==r}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const ru=new i.OlP("mat-date-formats"),SM=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qh(n,a){const e=Array(n);for(let t=0;t{class n extends Ba{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 Qh(12,r=>this._format(t,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qh(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 Qh(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 l=this._createDateWithOverflow(e,t,r);return l.getMonth(),l}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(SM.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 l=new Date;return l.setFullYear(e,t,r),l.setHours(0,0,0,0),l}_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 n.\u0275fac=function(e){return new(e||n)(i.LFG(TM,8),i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const V0={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 DT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ba,useClass:N0}]}),n})(),Kh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:ru,useValue:V0}],imports:[[DT]]}),n})(),au=(()=>{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})(),Gc=(()=>{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 ql(n,a,e){n.nativeElement.classList.toggle(a,e)}let Zc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();class EM{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ep={enterDuration:225,exitDuration:150},tp=aa({passive:!0}),DM=["mousedown","touchstart"],X1=["mouseup","mouseleave","touchend","touchcancel"];class ip{constructor(a,e,t,r){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Qi(t))}fadeInRipple(a,e,t={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},ep),t.animation);t.centered&&(a=r.left+r.width/2,e=r.top+r.height/2);const c=t.radius||function Q1(n,a,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+r*r)}(a,e,r),s=a-r.left,o=e-r.top,d=l.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=s-c+"px",u.style.top=o-c+"px",u.style.height=2*c+"px",u.style.width=2*c+"px",null!=t.color&&(u.style.backgroundColor=t.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u),function j0(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const h=new EM(this,u,t);return h.state=0,this._activeRipples.add(h),t.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const f=h===this._mostRecentTransientRipple;h.state=1,!t.persistent&&(!f||!this._isPointerDown)&&h.fadeOut()},d),h}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,r=Object.assign(Object.assign({},ep),a.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=Qi(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(DM))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(X1),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=Yf(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,tp)})})}_removeTriggerEvents(){this._triggerElement&&(DM.forEach(a=>{this._triggerElement.removeEventListener(a,this,tp)}),this._pointerUpEventsRegistered&&X1.forEach(a=>{this._triggerElement.removeEventListener(a,this,tp)}))}}const q0=new i.OlP("mat-ripple-global-options");let hr=(()=>{class n{constructor(e,t,r,l,c){this._elementRef=e,this._animationMode=c,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new ip(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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(wi),i.Y36(q0,8),i.Y36(qn,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})(),Tr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})(),Y0=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qn,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})(),su=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut]]}),n})();const ou=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),lu=new i.OlP("MatOptgroup");let PM=0;class W0{constructor(a,e=!1){this.source=a,this.isUserInput=e}}let K1=(()=>{class n{constructor(e,t,r,l){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+PM++,this.onSelectionChange=new i.vpe,this._stateChanges=new Ie.x}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=$e(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 r=this._getHostElement();"function"==typeof r.focus&&r.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)&&!Ln(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 W0(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})(),ro=(()=>{class n extends K1{constructor(e,t,r,l){super(e,t,r,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(ou,8),i.Y36(lu,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(l){return t._handleKeydown(l)}),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:TT,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,yM,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,vT,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:[Y0,w.O5,hr],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;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 $c(n,a,e){if(e.length){let t=a.toArray(),r=e.toArray(),l=0;for(let c=0;ce+t?Math.max(0,n-t+a):e}let Jc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,w.ez,ut,su]]}),n})();const e_=["mat-button",""],t_=["*"],n_=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],r_=Ia(Oa(pa(class{constructor(n){this._elementRef=n}})));let It=(()=>{class n extends r_{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 l of n_)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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(oa),i.Y36(qn,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(hr,5),2&e){let r;i.iGM(r=i.CRH())&&(t.ripple=r.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:e_,ngContentSelectors:t_,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:[hr],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;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;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;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;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})(),ls=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut],ut]}),n})();var a_=T(1144),ao=T(576),gn=T(3268);const s_=["addListener","removeListener"],OM=["addEventListener","removeEventListener"],IM=["on","off"];function Na(n,a,e,t){if((0,ao.m)(e)&&(t=e,e=void 0),t)return Na(n,a,e).pipe((0,gn.Z)(t));const[r,l]=function Xc(n){return(0,ao.m)(n.addEventListener)&&(0,ao.m)(n.removeEventListener)}(n)?OM.map(c=>s=>n[c](a,s,e)):function l_(n){return(0,ao.m)(n.addListener)&&(0,ao.m)(n.removeListener)}(n)?s_.map(o_(n,a)):function c_(n){return(0,ao.m)(n.on)&&(0,ao.m)(n.off)}(n)?IM.map(o_(n,a)):[];if(!r&&(0,a_.z)(n))return(0,Vn.z)(c=>Na(c,a,e))((0,Ps.Xf)(n));if(!r)throw new TypeError("Invalid event target");return new an.y(c=>{const s=(...o)=>c.next(1l(s)})}function o_(n,a){return e=>t=>n[e](a,t)}var d_=T(4408);const cu={schedule(n){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=cu;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const r=a(l=>{e=void 0,n(l)});return new Wt.w0(()=>null==e?void 0:e(r))},requestAnimationFrame(...n){const{delegate:a}=cu;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:a}=cu;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...n)},delegate:void 0};var h_=T(7565);const BM=new class p_ extends h_.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let r;a=a||t.shift();do{if(r=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,r){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw r}}}(class u_ extends d_.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=cu.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(r=>r.id===e)||(cu.cancelAnimationFrame(e),a._scheduled=void 0)}});let fa,U0=1;const rp={};function G0(n){return n in rp&&(delete rp[n],!0)}const cs={setImmediate(n){const a=U0++;return rp[a]=!0,fa||(fa=Promise.resolve()),fa.then(()=>G0(a)&&n()),a},clearImmediate(n){G0(n)}},{setImmediate:Va,clearImmediate:m_}=cs,du={setImmediate(...n){const{delegate:a}=du;return((null==a?void 0:a.setImmediate)||Va)(...n)},clearImmediate(n){const{delegate:a}=du;return((null==a?void 0:a.clearImmediate)||m_)(n)},delegate:void 0},Z0=new class VM extends h_.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let r;a=a||t.shift();do{if(r=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,r){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw r}}}(class NM extends d_.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=du.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(r=>r.id===e)||(du.clearImmediate(e),a._scheduled=void 0)}});var ap=T(4986),$0=T(2805);function sp(n,a=ap.z){return function uu(n){return(0,_r.e)((a,e)=>{let t=!1,r=null,l=null,c=!1;const s=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const d=r;r=null,e.next(d)}c&&e.complete()},o=()=>{l=null,c&&e.complete()};a.subscribe((0,En.x)(e,d=>{t=!0,r=d,l||(0,Ps.Xf)(n(d)).subscribe(l=(0,En.x)(e,s,o))},()=>{c=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,$0.H)(n,a))}let Xo=(()=>{class n{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new Ie.x,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 an.y(t=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(sp(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,rt.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,Ft.h)(l=>!l||r.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((r,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=Qi(t),l=e.getElementRef().nativeElement;do{if(r==l)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Na(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(wi),i.LFG(w.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qo=(()=>{class n{constructor(e,t,r,l){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=l,this._destroyed=new Ie.x,this._elementScrolled=new an.y(c=>this.ngZone.runOutsideAngular(()=>Na(this.elementRef.nativeElement,"scroll").pipe(dt(this._destroyed)).subscribe(c)))}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,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&0!=Mh()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Mh()?e.left=e.right:1==Mh()&&(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;iy()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",r="right",l=this.elementRef.nativeElement;if("top"==e)return l.scrollTop;if("bottom"==e)return l.scrollHeight-l.clientHeight-l.scrollTop;const c=this.dir&&"rtl"==this.dir.value;return"start"==e?e=c?r:t:"end"==e&&(e=c?t:r),c&&2==Mh()?e==t?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:c&&1==Mh()?e==t?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==t?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Xo),i.Y36(i.R0b),i.Y36(Fn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),so=(()=>{class n{constructor(e,t,r){this._platform=e,this._change=new Ie.x,this._changeListener=l=>{this._change.next(l)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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,l=r.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(sp(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(wi),i.LFG(i.R0b),i.LFG(w.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),za=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Yl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka,za],ka,za]}),n})();class Q0{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class op extends Q0{constructor(a,e,t,r){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r}}class Qc extends Q0{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class GM extends Q0{constructor(a){super(),this.element=a instanceof i.SBq?a.nativeElement:a}}class K0{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof op?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Qc?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof GM?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ZM extends K0{constructor(a,e,t,r,l){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=c=>{const s=c.element,o=this._document.createComment("dom-portal");s.parentNode.insertBefore(o,s),this.outletElement.appendChild(s),this._attachedPortal=c,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(s,o)})},this._document=l}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let r;return a.viewContainerRef?(r=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=t.create(a.injector||this._defaultInjector||i.zs3.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=a,r}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let em=(()=>{class n extends K0{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=l=>{const c=l.element,s=this._document.createComment("dom-portal");l.setAttachedHost(this),c.parentNode.insertBefore(s,c),this._getRootNode().appendChild(c),this._attachedPortal=l,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(c,s)})},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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),c=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=e,this._attachedRef=c,this.attached.emit(c),c}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(w.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),Wl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Ri=T(6451);const tm=iy();class A_{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=mn(-this._previousScrollPosition.left),a.style.top=mn(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,r=this._document.body.style,l=t.scrollBehavior||"",c=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),tm&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),tm&&(t.scrollBehavior=l,r.scrollBehavior=c)}}_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 y_{constructor(a,e,t,r){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lp{enable(){}disable(){}attach(){}}function hu(n,a){return a.some(e=>n.bottome.bottom||n.righte.right)}function Ko(n,a){return a.some(e=>n.tope.bottom||n.lefte.right)}class QM{constructor(a,e,t,r){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();hu(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 KM=(()=>{class n{constructor(e,t,r,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new lp,this.close=c=>new y_(this._scrollDispatcher,this._ngZone,this._viewportRuler,c),this.block=()=>new A_(this._viewportRuler,this._document),this.reposition=c=>new QM(this._scrollDispatcher,this._viewportRuler,this._ngZone,c),this._document=l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xo),i.LFG(so),i.LFG(i.R0b),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class us{constructor(a){if(this.scrollStrategy=new lp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class UT{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class GT{constructor(a,e,t,r,l,c,s,o,d){this._portalOutlet=a,this._host=e,this._pane=t,this._config=r,this._ngZone=l,this._keyboardDispatcher=c,this._document=s,this._location=o,this._outsideClickDispatcher=d,this._backdropElement=null,this._backdropClick=new Ie.x,this._attachments=new Ie.x,this._detachments=new Ie.x,this._locationChanges=Wt.w0.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Ie.x,this._outsidePointerEvents=new Ie.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return 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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=mn(this._config.width),a.height=mn(this._config.height),a.minWidth=mn(this._config.minWidth),a.minHeight=mn(this._config.minHeight),a.maxWidth=mn(this._config.maxWidth),a.maxHeight=mn(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const r=Ic(e||[]).filter(l=>!!l);r.length&&(t?a.classList.add(...r):a.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(dt((0,Ri.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let bt=(()=>{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||vh()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,l=[];let c;for(let s of this._preferredPositions){let o=this._getOriginPoint(a,r,s),d=this._getOverlayPoint(o,e,s),u=this._getOverlayFit(d,e,t,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(u,d,t)?l.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!c||c.overlayFit.visibleAreao&&(o=u,s=d)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(c.position,c.originPoint);this._applyPosition(c.position,c.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&hs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(w_),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let r,l;if("center"==t.originX)r=a.left+a.width/2;else{const c=this._isRtl()?a.right:a.left,s=this._isRtl()?a.left:a.right;r="start"==t.originX?c:s}return e.left<0&&(r-=e.left),l="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(l-=e.top),{x:r,y:l}}_getOverlayPoint(a,e,t){let r,l;return r="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+r,y:a.y+l}}_getOverlayFit(a,e,t,r){const l=pu(e);let{x:c,y:s}=a,o=this._getOffset(r,"x"),d=this._getOffset(r,"y");o&&(c+=o),d&&(s+=d);let f=0-s,b=s+l.height-t.height,N=this._subtractOverflows(l.width,0-c,c+l.width-t.width),Q=this._subtractOverflows(l.height,f,b),fe=N*Q;return{visibleArea:fe,isCompletelyWithinViewport:l.width*l.height===fe,fitsInViewportVertically:Q===l.height,fitsInViewportHorizontally:N==l.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const r=t.bottom-e.y,l=t.right-e.x,c=C_(this._overlayRef.getConfig().minHeight),s=C_(this._overlayRef.getConfig().minWidth),d=a.fitsInViewportHorizontally||null!=s&&s<=l;return(a.fitsInViewportVertically||null!=c&&c<=r)&&d}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const r=pu(e),l=this._viewportRect,c=Math.max(a.x+r.width-l.width,0),s=Math.max(a.y+r.height-l.height,0),o=Math.max(l.top-t.top-a.y,0),d=Math.max(l.left-t.left-a.x,0);let u=0,h=0;return u=r.width<=l.width?d||-c:a.xN&&!this._isInitialRender&&!this._growAfterOpen&&(c=a.y-N/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)f=t.width-a.x+this._viewportMargin,u=a.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)h=a.x,u=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),N=this._lastBoundingBoxSize.width;u=2*b,h=a.x-b,u>N&&!this._isInitialRender&&!this._growAfterOpen&&(h=a.x-N/2)}return{top:c,left:h,bottom:s,right:f,width:u,height:l}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 l=this._overlayRef.getConfig().maxHeight,c=this._overlayRef.getConfig().maxWidth;r.height=mn(t.height),r.top=mn(t.top),r.bottom=mn(t.bottom),r.width=mn(t.width),r.left=mn(t.left),r.right=mn(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",l&&(r.maxHeight=mn(l)),c&&(r.maxWidth=mn(c))}this._lastBoundingBoxSize=t,hs(this._boundingBox.style,r)}_resetBoundingBoxStyles(){hs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){hs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},r=this._hasExactPosition(),l=this._hasFlexibleDimensions,c=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();hs(t,this._getExactOverlayY(e,a,u)),hs(t,this._getExactOverlayX(e,a,u))}else t.position="static";let s="",o=this._getOffset(e,"x"),d=this._getOffset(e,"y");o&&(s+=`translateX(${o}px) `),d&&(s+=`translateY(${d}px)`),t.transform=s.trim(),c.maxHeight&&(r?t.maxHeight=mn(c.maxHeight):l&&(t.maxHeight="")),c.maxWidth&&(r?t.maxWidth=mn(c.maxWidth):l&&(t.maxWidth="")),hs(this._pane.style,t)}_getExactOverlayY(a,e,t){let r={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===a.overlayY?r.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":r.top=mn(l.y),r}_getExactOverlayX(a,e,t){let c,r={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),c=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===c?r.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":r.left=mn(l.x),r}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ko(a,t),isOriginOutsideView:hu(a,t),isOverlayClipped:Ko(e,t),isOverlayOutsideView:hu(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,r)=>t-Math.max(r,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&Ic(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof i.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function hs(n,a){for(let e in a)a.hasOwnProperty(e)&&(n[e]=a[e]);return n}function C_(n){if("number"!=typeof n&&null!=n){const[a,e]=n.split(iw);return e&&"px"!==e?null:parseFloat(a)}return n||null}function pu(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 fu="cdk-global-overlay-wrapper";class Ki{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(fu),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:l,maxWidth:c,maxHeight:s}=t,o=!("100%"!==r&&"100vw"!==r||c&&"100%"!==c&&"100vw"!==c),d=!("100%"!==l&&"100vh"!==l||s&&"100%"!==s&&"100vh"!==s);a.position=this._cssPosition,a.marginLeft=o?"0":this._leftOffset,a.marginTop=d?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,o?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=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fu),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let ZT=(()=>{class n{constructor(e,t,r,l){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=l}global(){return new Ki}flexibleConnectedTo(e){return new nw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(so),i.LFG(w.K0),i.LFG(wi),i.LFG(bt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),im=(()=>{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rw=(()=>{class n extends im{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{const l=this._attachedOverlays;for(let c=l.length-1;c>-1;c--)if(l[c]._keydownEvents.observers.length>0){const s=l[c]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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(w.K0),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),aw=(()=>{class n extends im{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=sa(l)},this._clickListener=l=>{const c=sa(l),s="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:c;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let d=o.length-1;d>-1;d--){const u=o[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(c)||u.overlayElement.contains(s))break;const h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(l)):h.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(wi),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),v_=0,xr=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=l,this._keyboardDispatcher=c,this._injector=s,this._ngZone=o,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),r=this._createPaneElement(t),l=this._createPortalOutlet(r),c=new us(e);return c.direction=c.direction||this._directionality.value,new GT(l,t,r,c,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-"+v_++,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 ZM(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(KM),i.LFG(bt),i.LFG(i._Vd),i.LFG(ZT),i.LFG(rw),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(w.K0),i.LFG(Fn),i.LFG(w.Ye),i.LFG(aw))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const T_=[{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"}],nm=new i.OlP("cdk-connected-overlay-scroll-strategy");let x_=(()=>{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})(),S_=(()=>{class n{constructor(e,t,r,l,c){this._overlay=e,this._dir=c,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Wt.w0.EMPTY,this._attachSubscription=Wt.w0.EMPTY,this._detachSubscription=Wt.w0.EMPTY,this._positionSubscription=Wt.w0.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 Qc(t,r),this._scrollStrategyFactory=l,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=$e(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=$e(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=$e(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=$e(e)}get push(){return this._push}set push(e){this._push=$e(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=T_);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&&!Ln(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 us({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(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.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 x_?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 b_(n,a=!1){return(0,_r.e)((e,t)=>{let r=0;e.subscribe((0,En.x)(t,l=>{const c=n(l,r++);(c||a)&&t.next(l),!c&&t.complete()}))})}(()=>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(xr),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(nm),i.Y36(Fn,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 mu={provide:nm,deps:[xr],useFactory:function sw(n){return()=>n.scrollStrategies.reposition()}};let Kc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[xr,mu],imports:[[ka,Wl,Yl],Yl]}),n})();const ow=["connectionContainer"],cp=["inputContainer"],E_=["label"];function D_(n,a){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 H_(n,a){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 lw(n,a){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 gu(n,a){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function _u(n,a){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function cw(n,a){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,lw,4,1,"ng-container",12),i.YNc(3,gu,1,0,"ng-content",12),i.YNc(4,_u,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 dw(n,a){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function uw(n,a){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 L_(n,a){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 k_(n,a){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 P_(n,a){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,k_,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 hw=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R_=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let pw=0;const O_=new i.OlP("MatError");let ed=(()=>{class n{constructor(e,t){this.id="mat-error-"+pw++,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:O_,useExisting:n}])]}),n})();const JT={transitionMessages:ti("transitionMessages",[St("enter",Ne({opacity:1,transform:"translateY(0%)"})),vt("void => enter",[Ne({opacity:0,transform:"translateY(-5px)"}),_t("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let dp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),mw=0;const I_=new i.OlP("MatHint");let B_=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+mw++}}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:I_,useExisting:n}])]}),n})(),Vr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),gw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const _w=new i.OlP("MatPrefix"),N_=new i.OlP("MatSuffix");let V_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:N_,useExisting:n}])]}),n})(),am=0;const td=Ia(class{constructor(n){this._elementRef=n}},"primary"),Aw=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),id=new i.OlP("MatFormField");let ln=(()=>{class n extends td{constructor(e,t,r,l,c,s,o){super(e),this._changeDetectorRef=t,this._dir=r,this._defaults=l,this._platform=c,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ie.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+am++,this._labelId="mat-form-field-label-"+am++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=l&&l.appearance?l.appearance:"legacy",this._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.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=$e(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(hi(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(dt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ri.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(hi(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(hi(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(dt(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,Na(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(l=>"start"===l.align):null,r=this._hintChildren?this._hintChildren.find(l=>"end"===l.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",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=t.querySelectorAll(`${r}, ${l}`);for(let h=0;h0?.75*N+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,Bc],ut]}),n})();function bu(n){return n&&"function"==typeof n.connect}class up{applyChanges(a,e,t,r,l){a.forEachOperation((c,s,o)=>{let d,u;if(null==c.previousIndex){const h=t(c,s,o);d=e.createEmbeddedView(h.templateRef,h.context,h.index),u=1}else null==o?(e.remove(s),u=3):(d=e.get(s),e.move(d,o),u=2);l&&l({context:null==d?void 0:d.context,operation:u,record:c})})}detach(){}}class _n{constructor(a=!1,e,t=!0){this._multiple=a,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie.x,e&&e.length&&(a?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...a){this._verifyValueAssignment(a),a.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...a){this._verifyValueAssignment(a),a.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(a){this.isSelected(a)?this.deselect(a):this.select(a)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(a){return this._selection.has(a)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(a){this._multiple&&this.selected&&this._selected.sort(a)}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(a){this.isSelected(a)||(this._multiple||this._unmarkAll(),this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))}_unmarkSelected(a){this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))}_unmarkAll(){this.isEmpty()||this._selection.forEach(a=>this._unmarkSelected(a))}_verifyValueAssignment(a){}}let sm=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(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 Au=new i.OlP("_ViewRepeater");var ww=T(4742),om=T(1810);function lm(...n){const a=(0,ul.jO)(n),{args:e,keys:t}=(0,ww.D)(n),r=new an.y(l=>{const{length:c}=e;if(!c)return void l.complete();const s=new Array(c);let o=c,d=c;for(let u=0;u{h||(h=!0,d--),s[u]=f},()=>o--,void 0,()=>{(!o||!h)&&(d||l.next(t?(0,om.n)(t,s):s),l.complete())}))}});return a?r.pipe((0,gn.Z)(a)):r}let cm=(()=>{class n{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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ul=(()=>{class n extends cm{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Kn=new i.OlP("NgValueAccessor"),vw={provide:Kn,useExisting:(0,i.Gpc)(()=>bn),multi:!0},xw=new i.OlP("CompositionEventMode");let bn=(()=>{class n extends cm{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Tw(){const n=(0,w.q)()?(0,w.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(xw,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(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[i._Bn([vw]),i.qOj]}),n})();function oo(n){return null==n||0===n.length}function dm(n){return null!=n&&"number"==typeof n.length}const Cn=new i.OlP("NgValidators"),el=new i.OlP("NgAsyncValidators"),q_=/^(?=.{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 An{static min(a){return function Y_(n){return a=>{if(oo(a.value)||oo(n))return null;const e=parseFloat(a.value);return!isNaN(e)&&e{if(oo(a.value)||oo(n))return null;const e=parseFloat(a.value);return!isNaN(e)&&e>n?{max:{max:n,actual:a.value}}:null}}(a)}static required(a){return hp(a)}static requiredTrue(a){return function pp(n){return!0===n.value?null:{required:!0}}(a)}static email(a){return function um(n){return oo(n.value)||q_.test(n.value)?null:{email:!0}}(a)}static minLength(a){return function fp(n){return a=>oo(a.value)||!dm(a.value)?null:a.value.lengthdm(a.value)&&a.value.length>n?{maxlength:{requiredLength:n,actualLength:a.value.length}}:null}(a)}static pattern(a){return function G_(n){if(!n)return nd;let a,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),a=new RegExp(e)):(e=n.toString(),a=n),t=>{if(oo(t.value))return null;const r=t.value;return a.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(a)}static nullValidator(a){return null}static compose(a){return Ew(a)}static composeAsync(a){return rd(a)}}function hp(n){return oo(n.value)?{required:!0}:null}function nd(n){return null}function Z_(n){return null!=n}function hm(n){const a=(0,i.QGY)(n)?(0,Sn.D)(n):n;return(0,i.CqO)(a),a}function $_(n){let a={};return n.forEach(e=>{a=null!=e?Object.assign(Object.assign({},a),e):a}),0===Object.keys(a).length?null:a}function pm(n,a){return a.map(e=>e(n))}function fm(n){return n.map(a=>function Sw(n){return!n.validate}(a)?a:e=>a.validate(e))}function Ew(n){if(!n)return null;const a=n.filter(Z_);return 0==a.length?null:function(e){return $_(pm(e,a))}}function mm(n){return null!=n?Ew(fm(n)):null}function rd(n){if(!n)return null;const a=n.filter(Z_);return 0==a.length?null:function(e){return lm(pm(e,a).map(hm)).pipe((0,Ct.U)($_))}}function gm(n){return null!=n?rd(fm(n)):null}function Gl(n,a){return null===n?[a]:Array.isArray(n)?[...n,a]:[n,a]}function ad(n){return n._rawValidators}function J_(n){return n._rawAsyncValidators}function X_(n){return n?Array.isArray(n)?n:[n]:[]}function yu(n,a){return Array.isArray(n)?n.includes(a):n===a}function Q_(n,a){const e=X_(a);return X_(n).forEach(r=>{yu(e,r)||e.push(r)}),e}function K_(n,a){return X_(a).filter(e=>!yu(n,e))}class eb{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(a){this._rawValidators=a||[],this._composedValidatorFn=mm(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=gm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a){this.control&&this.control.reset(a)}hasError(a,e){return!!this.control&&this.control.hasError(a,e)}getError(a,e){return this.control?this.control.getError(a,e):null}}class Fa extends eb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class er extends eb{get formDirective(){return null}get path(){return null}}class tb{constructor(a){this._cd=a}is(a){var e,t,r;return"submitted"===a?!!(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[a])}}let Vi=(()=>{class n extends tb{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fa,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})(),Mu=(()=>{class n extends tb{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(er,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 Am(n,a){return[...a.path,n]}function sd(n,a){gp(n,a),a.valueAccessor.writeValue(n.value),function sb(n,a){a.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ob(n,a)})}(n,a),function Pw(n,a){const e=(t,r)=>{a.valueAccessor.writeValue(t),r&&a.viewToModelUpdate(t)};n.registerOnChange(e),a._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,a),function kw(n,a){a.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ob(n,a),"submit"!==n.updateOn&&n.markAsTouched()})}(n,a),function Mm(n,a){if(a.valueAccessor.setDisabledState){const e=t=>{a.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),a._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,a)}function ym(n,a,e=!0){const t=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(t),a.valueAccessor.registerOnTouched(t)),Tu(n,a),n&&(a._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function vu(n,a){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(a)})}function gp(n,a){const e=ad(n);null!==a.validator?n.setValidators(Gl(e,a.validator)):"function"==typeof e&&n.setValidators([e]);const t=J_(n);null!==a.asyncValidator?n.setAsyncValidators(Gl(t,a.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const r=()=>n.updateValueAndValidity();vu(a._rawValidators,r),vu(a._rawAsyncValidators,r)}function Tu(n,a){let e=!1;if(null!==n){if(null!==a.validator){const r=ad(n);if(Array.isArray(r)&&r.length>0){const l=r.filter(c=>c!==a.validator);l.length!==r.length&&(e=!0,n.setValidators(l))}}if(null!==a.asyncValidator){const r=J_(n);if(Array.isArray(r)&&r.length>0){const l=r.filter(c=>c!==a.asyncValidator);l.length!==r.length&&(e=!0,n.setAsyncValidators(l))}}}const t=()=>{};return vu(a._rawValidators,t),vu(a._rawAsyncValidators,t),e}function ob(n,a){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function lb(n,a){gp(n,a)}function $l(n,a){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(a,e.currentValue)}function wm(n,a){n._syncPendingControls(),a.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function _p(n,a){if(!a)return null;let e,t,r;return Array.isArray(a),a.forEach(l=>{l.constructor===bn?e=l:function cb(n){return Object.getPrototypeOf(n.constructor)===Ul}(l)?t=l:r=l}),r||t||e||null}function bp(n,a){const e=n.indexOf(a);e>-1&&n.splice(e,1)}const xu="VALID",Su="INVALID",Jl="PENDING",od="DISABLED";function Cm(n){return(zr(n)?n.validators:n)||null}function ld(n){return Array.isArray(n)?mm(n):n||null}function vm(n,a){return(zr(a)?a.asyncValidators:n)||null}function yp(n){return Array.isArray(n)?gm(n):n||null}function zr(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Tm=n=>n instanceof Yn,Xl=n=>n instanceof Mp,cd=n=>n instanceof pb;function db(n){return Tm(n)?n.value:n.getRawValue()}function ub(n,a){const e=Xl(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[a])throw new i.vHH(1001,"")}function hb(n,a){Xl(n),n._forEachChild((t,r)=>{if(void 0===a[r])throw new i.vHH(1002,"")})}class dd{constructor(a,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=a,this._rawAsyncValidators=e,this._composedValidatorFn=ld(this._rawValidators),this._composedAsyncValidatorFn=yp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===xu}get invalid(){return this.status===Su}get pending(){return this.status==Jl}get disabled(){return this.status===od}get enabled(){return this.status!==od}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._rawValidators=a,this._composedValidatorFn=ld(a)}setAsyncValidators(a){this._rawAsyncValidators=a,this._composedAsyncValidatorFn=yp(a)}addValidators(a){this.setValidators(Q_(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(Q_(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(K_(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(K_(a,this._rawAsyncValidators))}hasValidator(a){return yu(this._rawValidators,a)}hasAsyncValidator(a){return yu(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=Jl,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=od,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=xu,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xu||this.status===Jl)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?od:xu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=Jl,this._hasOwnPendingAsyncValidator=!0;const e=hm(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,e={}){this.errors=a,this._updateControlsErrors(!1!==e.emitEvent)}get(a){return function Bw(n,a,e){if(null==a||(Array.isArray(a)||(a=a.split(e)),Array.isArray(a)&&0===a.length))return null;let t=n;return a.forEach(r=>{t=Xl(t)?t.controls.hasOwnProperty(r)?t.controls[r]:null:cd(t)&&t.at(r)||null}),t}(this,a,".")}getError(a,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[a]:null}hasError(a,e){return!!this.getError(a,e)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?od:this.errors?Su:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Jl)?Jl:this._anyControlsHaveStatus(Su)?Su:xu}_anyControlsHaveStatus(a){return this._anyControls(e=>e.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_isBoxedValue(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){zr(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Yn extends dd{constructor(a=null,e,t){super(Cm(e),vm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zr(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(a)?a.value:a)}setValue(a,e={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(a,e={}){this.setValue(a,e)}reset(a=this.defaultValue,e={}){this._applyFormState(a),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){bp(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){bp(this._onDisabledChange,a)}_forEachChild(a){}_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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}class Mp extends dd{constructor(a,e,t){super(Cm(e),vm(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,e){return this.controls[a]?this.controls[a]:(this.controls[a]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(a,e,t={}){this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],e&&this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,e={}){hb(this,a),Object.keys(a).forEach(t=>{ub(this,t),this.controls[t].setValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(Object.keys(a).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a={},e={}){this._forEachChild((t,r)=>{t.reset(a[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(a,e,t)=>(a[t]=db(e),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&a(t,e)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&a(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(a,e,t)=>((e.enabled||this.disabled)&&(a[t]=e.value),a))}_reduceChildren(a,e){let t=a;return this._forEachChild((r,l)=>{t=e(t,r,l)}),t}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class pb extends dd{constructor(a,e,t){super(Cm(e),vm(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[a]}push(a,e={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(a,e,t={}){this.controls.splice(a,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,e={}){hb(this,a),a.forEach((t,r)=>{ub(this,r),this.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(a.forEach((t,r)=>{this.at(r)&&this.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a=[],e={}){this._forEachChild((t,r)=>{t.reset(a[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(a=>db(a))}clear(a={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_syncPendingControls(){let a=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((e,t)=>{a(e,t)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(e=>e.enabled&&a(e))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}const fb={provide:er,useExisting:(0,i.Gpc)(()=>lo)},ud=(()=>Promise.resolve(null))();let lo=(()=>{class n extends er{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Mp({},mm(e),gm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ud.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),sd(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ud.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ud.then(()=>{const t=this._findContainer(e.path),r=new Mp({});lb(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ud.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ud.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,wm(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(Cn,10),i.Y36(el,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(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([fb]),i.qOj]}),n})();const Dm={provide:Fa,useExisting:(0,i.Gpc)(()=>fs)},wp=(()=>Promise.resolve(null))();let fs=(()=>{class n extends Fa{constructor(e,t,r,l,c){super(),this._changeDetectorRef=c,this.control=new Yn,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=_p(0,l)}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),$l(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(){sd(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){wp.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;wp.then(()=>{var l;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()})}_getPath(e){return this._parent?Am(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(er,9),i.Y36(Cn,10),i.Y36(el,10),i.Y36(Kn,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([Dm]),i.qOj,i.TTD]}),n})(),Hm=(()=>{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 Nw={provide:Kn,useExisting:(0,i.Gpc)(()=>Cp),multi:!0};let Cp=(()=>{class n extends Ul{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},features:[i._Bn([Nw]),i.qOj]}),n})(),Lm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const vp=new i.OlP("NgModelWithFormControlWarning"),Mb={provide:Fa,useExisting:(0,i.Gpc)(()=>ja)};let ja=(()=>{class n extends Fa{constructor(e,t,r,l){super(),this._ngModelWarningConfig=l,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=_p(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&ym(t,this,!1),sd(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}$l(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ym(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(Cn,10),i.Y36(el,10),i.Y36(Kn,10),i.Y36(vp,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([Mb]),i.qOj,i.TTD]}),n})();const wb={provide:er,useExisting:(0,i.Gpc)(()=>co)};let co=(()=>{class n extends er{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&&(Tu(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 sd(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ym(e.control||null,e,!1),bp(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,wm(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&&(ym(t||null,e),Tm(r)&&(sd(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);lb(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Rw(n,a){return Tu(n,a)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gp(this.form,this),this._oldForm&&Tu(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cn,10),i.Y36(el,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([wb]),i.qOj,i.TTD]}),n})();const Eu={provide:Fa,useExisting:(0,i.Gpc)(()=>Tp)};let Tp=(()=>{class n extends Fa{constructor(e,t,r,l,c){super(),this._ngModelWarningConfig=c,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=_p(0,l)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),$l(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 Am(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(er,13),i.Y36(Cn,10),i.Y36(el,10),i.Y36(Kn,10),i.Y36(vp,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([Eu]),i.qOj,i.TTD]}),n})(),ms=(()=>{class n{constructor(){this._validator=nd}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):nd,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 ox={provide:Cn,useExisting:(0,i.Gpc)(()=>Fr),multi:!0};let Fr=(()=>{class n extends ms{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function jw(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>hp}enabled(e){return e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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([ox]),i.qOj]}),n})(),qm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Lm]]}),n})(),Sp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[qm]}),n})(),il=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:vp,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[qm]}),n})(),Ym=(()=>{class n{group(e,t=null){const r=this._reduceControls(e);let s,l=null,c=null;return null!=t&&(function lx(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(l=null!=t.validators?t.validators:null,c=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(l=null!=t.validator?t.validator:null,c=null!=t.asyncValidator?t.asyncValidator:null)),new Mp(r,{asyncValidators:c,updateOn:s,validators:l})}control(e,t,r){return new Yn(e,t,r)}array(e,t,r){const l=e.map(c=>this._createControl(c));return new pb(l,t,r)}_reduceControls(e){const t={};return Object.keys(e).forEach(r=>{t[r]=this._createControl(e[r])}),t}_createControl(e){return Tm(e)||Xl(e)||cd(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:il}),n})();const cx=["trigger"],dx=["panel"];function ux(n,a){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 hx(n,a){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 px(n,a){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function fx(n,a){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,hx,2,1,"span",10),i.YNc(2,px,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 mx(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(r){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(r.toState)})("keydown",function(r){return i.CHM(e),i.oxw()._handleKeydown(r)}),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 Ep=[[["mat-select-trigger"]],"*"],gx=["mat-select-trigger","*"],Dp={transformPanelWrap:ti("transformPanelWrap",[vt("* => void",la("@transformPanel",[Oh()],{optional:!0}))]),transformPanel:ti("transformPanel",[St("void",Ne({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),St("showing",Ne({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),St("showing-multiple",Ne({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),vt("void => *",_t("120ms cubic-bezier(0, 0, 0.2, 1)")),vt("* => void",_t("100ms 25ms linear",Ne({opacity:0})))])};let Rb=0;const Pu=new i.OlP("mat-select-scroll-strategy"),bx=new i.OlP("MAT_SELECT_CONFIG"),Ax={provide:Pu,deps:[xr],useFactory:function Bb(n){return()=>n.scrollStrategies.reposition()}};class yx{constructor(a,e){this.source=a,this.value=e}}const Jw=pa(Jo(Oa(B0(class{constructor(n,a,e,t,r){this._elementRef=n,this._defaultErrorStateMatcher=a,this._parentForm=e,this._parentFormGroup=t,this.ngControl=r}})))),Wm=new i.OlP("MatSelectTrigger");let wx=(()=>{class n extends Jw{constructor(e,t,r,l,c,s,o,d,u,h,f,b,N,Q){var fe,je,Mt;super(c,l,o,d,h),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=r,this._dir=s,this._parentFormField=u,this._liveAnnouncer=N,this._defaultOptions=Q,this._panelOpen=!1,this._compareWith=(gt,ei)=>gt===ei,this._uid="mat-select-"+Rb++,this._triggerAriaLabelledBy=null,this._destroy=new Ie.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Rb++,this._panelDoneAnimatingStream=new Ie.x,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!==(Mt=null===(je=this._defaultOptions)||void 0===je?void 0:je.disableOptionCentering)&&void 0!==Mt&&Mt,this.ariaLabel="",this.optionSelectionChanges=Ca(()=>{const gt=this.options;return gt?gt.changes.pipe(hi(gt),(0,Li.w)(()=>(0,Ri.T)(...gt.map(ei=>ei.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ut.q)(1),(0,Li.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Ft.h)(gt=>gt),(0,Ct.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ft.h)(gt=>!gt),(0,Ct.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Q?void 0:Q.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Q.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||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,r,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=$e(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=$e(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Xi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new _n(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Cr(),dt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(dt(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(hi(null),dt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(void 0!==this._previousControl&&null!==t.disabled&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),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._assignValue(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,r=40===t||38===t||37===t||39===t,l=13===t||32===t,c=this._keyManager;if(!c.isTyping()&&l&&!Ln(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;c.onKeydown(e);const o=this.selected;o&&s!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,r=e.keyCode,l=40===r||38===r,c=t.isTyping();if(l&&e.altKey)e.preventDefault(),this.close();else if(c||13!==r&&32!==r||!t.activeItem||Ln(e))if(!c&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const s=this.options.some(o=>!o.disabled&&!o.selected);this.options.forEach(o=>{o.disabled||(s?o.select():o.deselect())})}else{const s=t.activeItemIndex;t.onKeydown(e),this._multiple&&l&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&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._selectOptionByValue(t)),this._sortValues();else{const t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch(l){return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new Yd(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(dt(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(dt(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,Ri.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(dt(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ri.T)(...this.options.map(t=>t._stateChanges)).pipe(dt(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==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)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(r=>r.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 r=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_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(so),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(au),i.Y36(i.SBq),i.Y36(Fn,8),i.Y36(lo,8),i.Y36(co,8),i.Y36(id,8),i.Y36(Fa,10),i.$8M("tabindex"),i.Y36(Pu),i.Y36(Gf),i.Y36(bx,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(cx,5),i.Gf(dx,5),i.Gf(S_,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.trigger=r.first),i.iGM(r=i.CRH())&&(t.panel=r.first),i.iGM(r=i.CRH())&&(t._overlayDir=r.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})(),Hp=(()=>{class n extends wx{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,r){const l=this._getItemHeight();return Math.min(Math.max(0,l*e-t+l/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(dt(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=$c(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:np((e+t)*r,r,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 yx(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),r=this._isRtl(),l=this.multiple?56:32;let c;if(this.multiple)c=40;else if(this.disableOptionCentering)c=16;else{let d=this._selectionModel.selected[0]||this.options.first;c=d&&d.group?32:16}r||(c*=-1);const s=0-(e.left+c-(r?l:0)),o=e.right+c-t.width+(r?0:l);s>0?c+=s+8:o>0&&(c-=o+8),this._overlayDir.offsetX=Math.round(c),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,r){const l=this._getItemHeight(),c=(l-this._triggerRect.height)/2,s=Math.floor(256/l);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?e*l:this._scrollTop===r?(e-(this._getItemCount()-s))*l+(l-(this._getItemCount()*l-256)%l):t-l/2,Math.round(-1*o-c))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,c=r.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),d=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;d>c?this._adjustPanelUp(d,c):s>l?this._adjustPanelDown(s,l,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const r=Math.round(e-t);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,r){const l=Math.round(e-t);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),r=Math.min(t*e,256),c=t*e-r;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=$c(s,this.options,this.optionGroups);const o=r/2;this._scrollTop=this._calculateOverlayScroll(s,o,c),this._offsetY=this._calculateOverlayOffsetY(s,o,c),this._checkOverlayWithinViewport(c)}_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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,Wm,5),i.Suo(r,ro,5),i.Suo(r,lu,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.customTrigger=l.first),i.iGM(l=i.CRH())&&(t.options=l),i.iGM(l=i.CRH())&&(t.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(l){return t._handleKeydown(l)})("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:dp,useExisting:n},{provide:ou,useExisting:n}]),i.qOj],ngContentSelectors:gx,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(Ep),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,ux,2,1,"span",3),i.YNc(5,fx,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,mx,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 r=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",r)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[x_,w.RF,w.n9,w.ED,S_,w.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[Dp.transformPanelWrap,Dp.transformPanel]},changeDetection:0}),n})(),ec=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ax],imports:[[w.ez,Kc,Jc,ut],za,ps,Jc,ut]}),n})();const Sr=new Set;let hd,Um=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Qw}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Xw(n){if(!Sr.has(n))try{hd||(hd=document.createElement("style"),hd.setAttribute("type","text/css"),document.head.appendChild(hd)),hd.sheet&&(hd.sheet.insertRule(`@media ${n} {body{ }}`,0),Sr.add(n))}catch(a){console.error(a)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qw(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Gm=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ie.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Zm(Ic(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){const r=Zm(Ic(e)).map(c=>this._registerQuery(c).observable);let l=(0,yo.a)(r);return l=(0,Gr.z)(l.pipe((0,Ut.q)(1)),l.pipe(Qg(1),(0,Dh.b)(0))),l.pipe((0,Ct.U)(c=>{const s={matches:!1,breakpoints:{}};return c.forEach(({matches:o,query:d})=>{s.matches=s.matches||o,s.breakpoints[d]=o}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),l={observable:new an.y(c=>{const s=o=>this._zone.run(()=>c.next(o));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(hi(t),(0,Ct.U)(({matches:c})=>({query:e,matches:c})),dt(this._destroySubject)),mql:t};return this._queries.set(e,l),l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Um),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Zm(n){return n.map(a=>a.split(",")).reduce((a,e)=>a.concat(e)).map(a=>a.trim())}const Kw=["tooltip"],zb="tooltip-panel",Fb=aa({passive:!0}),jb=new i.OlP("mat-tooltip-scroll-strategy"),tC={provide:jb,deps:[xr],useFactory:function vx(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},qb=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function iC(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let nC=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=l,this._ngZone=c,this._platform=s,this._ariaDescriber=o,this._focusMonitor=d,this._dir=h,this._defaultOptions=f,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 Ie.x,this._scrollStrategy=u,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(dt(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=$e(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Xi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Xi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(dt(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,Fb)}),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 op(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=t.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe(dt(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${zb}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(dt(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(dt(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!Ln(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,r=this._getOrigin(),l=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),l.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),l.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:l,y:c}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:l,originY:c}}}_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:l,y:c}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:l,overlayY:c}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),dt(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:l}=e;let c;if(c="center"===t?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===t&&"top"===l?"above":"below",c!==this._currentPosition){const s=this._overlayRef;if(s){const o=`${this._cssClassPrefix}-${zb}-`;s.removePanelClass(o+this._currentPosition),s.addPanelClass(o+c)}this._currentPosition=c}}_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",t=>{var r;const l=t.relatedTarget;(!l||!(null===(r=this._overlayRef)||void 0===r?void 0:r.overlayElement.contains(l)))&&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,Fb)})}_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 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})(),tr=(()=>{class n extends nC{constructor(e,t,r,l,c,s,o,d,u,h,f,b){super(e,t,r,l,c,s,o,d,u,h,f,b),this._tooltipComponent=Tx}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xr),i.Y36(i.SBq),i.Y36(Xo),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(wi),i.Y36(kh),i.Y36(oa),i.Y36(jb),i.Y36(Fn,8),i.Y36(qb,8),i.Y36(w.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),rC=(()=>{class n{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ie.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,r=this._showAnimation,l=this._hideAnimation;if(t.classList.remove(e?l:r),t.classList.add(e?r:l),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const c=getComputedStyle(t);("0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(qn,8))},n.\u0275dir=i.lG2({type:n}),n})(),Tx=(()=>{class n extends rC{constructor(e,t,r){super(e,r),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Gm),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&i.Gf(Kw,7),2&e){let r;i.iGM(r=i.CRH())&&(t._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("mouseleave",function(l){return t._handleMouseLeave(l)}),2&e&&i.Udp("zoom",t.isVisible()?1:null)},features:[i.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0,1),i.NdJ("animationend",function(l){return t._handleAnimationEnd(l)}),i.ALo(2,"async"),i._uU(3),i.qZA()),2&e){let r;i.ekj("mat-tooltip-handset",null==(r=i.lcZ(2,4,t._isHandset))?null:r.matches),i.Q6J("ngClass",t.tooltipClass),i.xp6(3),i.Oqu(t.message)}},directives:[w.mk],pipes:[w.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),nl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[tC],imports:[[Il,w.ez,Kc,ut],ut,za]}),n})();function sC(n,a){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function oC(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(r){return i.CHM(e),i.oxw(2)._changePageSize(r.value)}),i.YNc(2,sC,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 Yb(n,a){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 Ru(n,a){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,oC,3,6,"mat-form-field",14),i.YNc(4,Yb,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 Jm(n,a){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 Wb(n,a){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 Lp=(()=>{class n{constructor(){this.changes=new Ie.x,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 l=e*t;return`${l+1} \u2013 ${l<(r=Math.max(r,0))?Math.min(l+t,r):l+t} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gb={provide:Lp,deps:[[new i.FiY,new i.tp0,Lp]],useFactory:function Ub(n){return n||new Lp}},Ex=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Dx=Oa(J1(class{}));let Zb=(()=>{class n extends Dx{constructor(e,t,r){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()),r){const{pageSize:l,pageSizeOptions:c,hidePageSize:s,showFirstLastButtons:o}=r;null!=l&&(this._pageSize=l),null!=c&&(this._pageSizeOptions=c),null!=s&&(this._hidePageSize=s),null!=o&&(this._showFirstLastButtons=o)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Xi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Xi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Xi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Xi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=$e(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=$e(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})(),$b=(()=>{class n extends Zb{constructor(e,t,r){super(e,t,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Lp),i.Y36(i.sBO),i.Y36(Ex,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,Ru,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,Jm,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,Wb,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:[ln,Hp,ro,It,w.O5,w.sg,tr],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})(),Ou=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Gb],imports:[[w.ez,ls,ec,nl,ut]]}),n})();var Xm=T(1005);const Hx=["mat-menu-item",""];function Lx(n,a){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const lC=["*"];function kx(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(r){return i.CHM(e),i.oxw()._handleKeydown(r)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(r){return i.CHM(e),i.oxw()._onAnimationStart(r)})("@transformMenu.done",function(r){return i.CHM(e),i.oxw()._onAnimationDone(r)}),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 Qm={transformMenu:ti("transformMenu",[St("void",Ne({opacity:0,transform:"scale(0.8)"})),vt("void => enter",_t("120ms cubic-bezier(0, 0, 0.2, 1)",Ne({opacity:1,transform:"scale(1)"}))),vt("* => void",_t("100ms 25ms linear",Ne({opacity:0})))]),fadeInItems:ti("fadeInItems",[St("showing",Ne({opacity:1})),vt("void => *",[Ne({opacity:0}),_t("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cC=new i.OlP("MatMenuContent"),eg=new i.OlP("MAT_MENU_PANEL"),tg=pa(Oa(class{}));let tc=(()=>{class n extends tg{constructor(e,t,r,l,c){var s;super(),this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=l,this._changeDetectorRef=c,this.role="menuitem",this._hovered=new Ie.x,this._focused=new Ie.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==l?void 0:l.addItem)||void 0===s||s.call(l,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 l=0;l{class n{constructor(e,t,r,l){this._elementRef=e,this._ngZone=t,this._defaultOptions=r,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=Wt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ie.x,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-"+Ix++}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=$e(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=$e(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 Ol(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(hi(this._directDescendantItems),(0,Li.w)(e=>(0,Ri.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const r=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=r.activeItem)||void 0===t?void 0:t._hasFocus())){const l=e.toArray(),c=Math.max(0,Math.min(l.length-1,r.activeItemIndex||0));l[c]&&!l[c].disabled?r.setActiveItem(c):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(hi(this._directDescendantItems),(0,Li.w)(t=>(0,Ri.T)(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,r=this._keyManager;switch(t){case 27:Ln(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._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,l=Object.keys(this._classList).find(c=>c.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,t=this.yPosition){var r;const l=this._classList;l["mat-menu-before"]="before"===e,l["mat-menu-after"]="after"===e,l["mat-menu-above"]="above"===t,l["mat-menu-below"]="below"===t,null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_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(hi(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(Iu),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,cC,5),i.Suo(r,tc,5),i.Suo(r,tc,4)),2&e){let l;i.iGM(l=i.CRH())&&(t.lazyContent=l.first),i.iGM(l=i.CRH())&&(t._allItems=l),i.iGM(l=i.CRH())&&(t.items=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let r;i.iGM(r=i.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"}}),n})(),hC=(()=>{class n extends kp{constructor(e,t,r,l){super(e,t,r,l),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(Iu),i.Y36(i.sBO))},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:eg,useExisting:n}]),i.qOj],ngContentSelectors:lC,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,kx,3,6,"ng-template"))},directives:[w.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[Qm.transformMenu,Qm.fadeInItems]},changeDetection:0}),n})();const ig=new i.OlP("mat-menu-scroll-strategy"),fC={provide:ig,deps:[xr],useFactory:function pC(n){return()=>n.scrollStrategies.reposition()}},Kb=aa({passive:!0});let eA=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=o,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Wt.w0.EMPTY,this._hoverSubscription=Wt.w0.EMPTY,this._menuCloseSubscription=Wt.w0.EMPTY,this._handleTouchStart=h=>{Wf(h)||(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=l,this._parentMaterialMenu=c instanceof kp?c:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Kb),s&&(s._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,Kb),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 kp&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(dt(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 kp?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Ft.h)(r=>"void"===r.toState),(0,Ut.q)(1),dt(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 us({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=>{const r="start"===t.connectionPair.overlayX?"after":"before",l="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(r,l)):this.menu.setPositionClasses(r,l)})}_setPosition(e){let[t,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,c]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[l,c],[d,u]=[t,r],h=0;this.triggersSubmenu()?(u=t="before"===this.menu.xPosition?"start":"end",r=d="end"===t?"start":"end",h="bottom"===l?8:-8):this.menu.overlapTrigger||(s="top"===l?"bottom":"top",o="top"===c?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:d,overlayY:l,offsetY:h},{originX:r,originY:s,overlayX:u,overlayY:l,offsetY:h},{originX:t,originY:o,overlayX:d,overlayY:c,offsetY:-h},{originX:r,originY:o,overlayX:u,overlayY:c,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,rt.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ft.h)(c=>c!==this._menuItemInstance),(0,Ft.h)(()=>this._menuOpen)):(0,rt.of)();return(0,Ri.T)(e,r,l,t)}_handleMousedown(e){Yf(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,Ft.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Xm.g)(0,Z0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof kp&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,Xm.g)(0,Z0),dt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Qc(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xr),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(ig),i.Y36(eg,8),i.Y36(tc,10),i.Y36(Fn,8),i.Y36(oa),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("mousedown",function(l){return t._handleMousedown(l)})("keydown",function(l){return t._handleKeydown(l)}),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})(),ng=(()=>{class n extends eA{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),fd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[fC],imports:[[w.ez,ut,Tr,Kc],za,ut]}),n})();var Pp=T(2843),tA=T(3099);const iA=["*"];let ic;function md(n){var a;return(null===(a=function Bx(){if(void 0===ic&&(ic=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(ic=n.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return ic}())||void 0===a?void 0:a.createHTML(n))||n}function Bu(n){return Error(`Unable to find icon with the name "${n}"`)}function nA(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function rA(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class nc{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let Rp=(()=>{class n{constructor(e,t,r,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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,l){return this._addSvgIconConfig(e,t,new nc(r,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,l){const c=this._sanitizer.sanitize(i.q3G.HTML,r);if(!c)throw rA(r);const s=md(c);return this._addSvgIconConfig(e,t,new nc("",s,l))}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 nc(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){const l=this._sanitizer.sanitize(i.q3G.HTML,t);if(!l)throw rA(t);const c=md(l);return this._addSvgIconSetConfig(e,new nc("",c,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(i.q3G.RESOURCE_URL,e);if(!t)throw nA(e);const r=this._cachedIconsByUrl.get(t);return r?(0,rt.of)(Op(r)):this._loadSvgIconFromConfig(new nc(e,null)).pipe((0,Dt.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,Ct.U)(l=>Op(l)))}getNamedSvgIcon(e,t=""){const r=aA(t,e);let l=this._svgIconConfigs.get(r);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(r,l),this._getSvgFromConfig(l);const c=this._iconSetConfigs.get(t);return c?this._getSvgFromIconSetConfigs(e,c):(0,Pp._)(Bu(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,rt.of)(Op(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,Ct.U)(t=>Op(t)))}_getSvgFromIconSetConfigs(e,t){const r=this._extractIconWithNameFromAnySet(e,t);return r?(0,rt.of)(r):lm(t.filter(c=>!c.svgText).map(c=>this._loadSvgIconSetFromConfig(c).pipe((0,wn.K)(s=>{const d=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,c.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(d)),(0,rt.of)(null)})))).pipe((0,Ct.U)(()=>{const c=this._extractIconWithNameFromAnySet(e,t);if(!c)throw Bu(e);return c}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){const l=t[r];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const c=this._svgElementFromConfig(l),s=this._extractSvgIconFromSet(c,e,l.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,Dt.b)(t=>e.svgText=t),(0,Ct.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,rt.of)(null):this._fetchIcon(e).pipe((0,Dt.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const c=l.cloneNode(!0);if(c.removeAttribute("id"),"svg"===c.nodeName.toLowerCase())return this._setSvgAttributes(c,r);if("symbol"===c.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(c),r);const s=this._svgElementFromString(md(""));return s.appendChild(c),this._setSvgAttributes(s,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(md("")),r=e.attributes;for(let l=0;lmd(u)),B(()=>this._inProgressUrlFetches.delete(s)),(0,tA.B)());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(aA(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;ra?a.pathname+a.search:""}}}),MC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Vx=MC.map(n=>`[${n}]`).join(", "),zx=/^url\(['"]?#(.*?)['"]?\)$/;let Wi=(()=>{class n extends bC{constructor(e,t,r,l,c){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=c,this._inline=!1,this._currentIconFetch=Wt.w0.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=$e(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const r=e.childNodes[t];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((r,l)=>{r.forEach(c=>{l.setAttribute(c.name,`url('${e}#${c.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(Vx),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const s=t[l],o=s.getAttribute(c),d=o?o.match(zx):null;if(d){let u=r.get(s);u||(u=[],r.set(s,u)),u.push({name:c,value:d[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,Ut.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${r}! ${l.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Rp),i.$8M("aria-hidden"),i.Y36(AC),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:iA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-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})(),uo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();function _s(n){return!!n&&(n instanceof an.y||(0,ao.m)(n.lift)&&(0,ao.m)(n.subscribe))}var Fx=T(6063);class jx extends Ie.x{constructor(a=1/0,e=1/0,t=Fx.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:r,_timestampProvider:l,_windowTime:c}=this;e||(t.push(a),!r&&t.push(l.now()+c)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:r}=this,l=r.slice();for(let c=0;cnew jx(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}class Ip{}let p=(()=>{class n extends Ip{getTranslation(e){return(0,rt.of)({})}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class m{}let g=(()=>{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 _(n,a){if(n===a)return!0;if(null===n||null===a)return!1;if(n!=n&&a!=a)return!0;let r,l,c,e=typeof n;if(e==typeof a&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(a))return!1;for(l in c=Object.create(null),n){if(!_(n[l],a[l]))return!1;c[l]=!0}for(l in a)if(!(l in c)&&void 0!==a[l])return!1;return!0}if(!Array.isArray(a))return!1;if((r=n.length)==a.length){for(l=0;l{v(a[t])?t in n?e[t]=D(n[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class L{}let P=(()=>{class n extends L{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(),!y(e)||!y(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,l)=>{let c=this.getValue(t,l);return y(c)?c:r}):e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class F{}let W=(()=>{class n extends F{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ee{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 ae=new i.OlP("USE_STORE"),pe=new i.OlP("USE_DEFAULT_LANG"),Ce=new i.OlP("DEFAULT_LANGUAGE"),Ye=new i.OlP("USE_EXTEND");let Le=(()=>{class n{constructor(e,t,r,l,c,s=!0,o=!1,d=!1,u){this.store=e,this.currentLoader=t,this.compiler=r,this.parser=l,this.missingTranslationHandler=c,this.useDefaultLang=s,this.isolate=o,this.extend=d,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}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(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,rt.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(r=>{this.changeLang(e)}),t):(this.changeLang(e),(0,rt.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(wC(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,Ct.U)(r=>this.compiler.compileTranslations(r,e)),wC(1),(0,Ut.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]?D(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 l;if(t instanceof Array){let c={},s=!1;for(let o of t)c[o]=this.getParsedResult(e,o,r),_s(c[o])&&(s=!0);return s?lm(t.map(d=>_s(c[d])?c[d]:(0,rt.of)(c[d]))).pipe((0,Ct.U)(d=>{let u={};return d.forEach((h,f)=>{u[t[f]]=h}),u})):c}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),r)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),r)),void 0===l){let c={key:t,translateService:this};void 0!==r&&(c.interpolateParams=r),l=this.missingTranslationHandler.handle(c)}return void 0!==l?l:t}get(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Os.b)(r=>_s(r=this.getParsedResult(r,e,t))?r:(0,rt.of)(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,t);return _s(r)?r:(0,rt.of)(r)}}getStreamOnTranslationChange(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,Gr.z)(Ca(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Li.w)(r=>{const l=this.getParsedResult(r.translations,e,t);return"function"==typeof l.subscribe?l:(0,rt.of)(l)})))}stream(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,Gr.z)(Ca(()=>this.get(e,t)),this.onLangChange.pipe((0,Li.w)(r=>{const l=this.getParsedResult(r.translations,e,t);return _s(l)?l:(0,rt.of)(l)})))}instant(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,t);if(_s(r)){if(e instanceof Array){let l={};return e.forEach((c,s)=>{l[e[s]]=e[s]}),l}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 n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ip),i.LFG(F),i.LFG(L),i.LFG(m),i.LFG(pe),i.LFG(ae),i.LFG(Ye),i.LFG(Ce))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),me=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,r){let l=c=>{this.value=void 0!==c?c:e,this.lastKey=e,this._ref.markForCheck()};if(r){let c=this.translate.getParsedResult(r,e,t);_s(c.subscribe)?c.subscribe(l):l(c)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(_(e,this.lastKey)&&_(t,this.lastParams))return this.value;let r;if(y(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(l)}catch(c){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(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,l.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 n.\u0275fac=function(e){return new(e||n)(i.Y36(Le,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})(),pt=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Ip,useClass:p},e.compiler||{provide:F,useClass:W},e.parser||{provide:L,useClass:P},e.missingTranslationHandler||{provide:m,useClass:g},ee,{provide:ae,useValue:e.isolate},{provide:pe,useValue:e.useDefaultLang},{provide:Ye,useValue:e.extend},{provide:Ce,useValue:e.defaultLanguage},Le]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Ip,useClass:p},e.compiler||{provide:F,useClass:W},e.parser||{provide:L,useClass:P},e.missingTranslationHandler||{provide:m,useClass:g},{provide:ae,useValue:e.isolate},{provide:pe,useValue:e.useDefaultLang},{provide:Ye,useValue:e.extend},{provide:Ce,useValue:e.defaultLanguage},Le]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Zt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[Ou,fd,uo,ls,pt,w.ez]]}),n})();var mi=T(655);function jr(n,a){}class bs{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const rg={dialogContainer:ti("dialogContainer",[St("void, exit",Ne({opacity:0,transform:"scale(0.7)"})),St("enter",Ne({transform:"none"})),vt("* => enter",Rh([_t("150ms cubic-bezier(0, 0, 0.2, 1)",Ne({transform:"none",opacity:1})),la("@*",Oh(),{optional:!0})])),vt("* => void, * => exit",Rh([_t("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ne({opacity:0})),la("@*",Oh(),{optional:!0})]))])};let ag=(()=>{class n extends K0{constructor(e,t,r,l,c,s,o,d){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=r,this._config=c,this._interactivityChecker=s,this._ngZone=o,this._focusMonitor=d,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(u)),this._ariaLabelledBy=c.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=kf())}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(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),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=kf(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=kf();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ph),i.Y36(i.sBO),i.Y36(w.K0,8),i.Y36(bs),i.Y36(Wd),i.Y36(i.R0b),i.Y36(oa))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(em,7),2&e){let r;i.iGM(r=i.CRH())&&(t._portalOutlet=r.first)}},features:[i.qOj]}),n})(),sg=(()=>{class n extends ag{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),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,jr,0,0,"ng-template",0)},directives:[em],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:[rg.dialogContainer]}}),n})(),og=0;class Oi{constructor(a,e,t="mat-dialog-"+og++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie.x,this._afterClosed=new Ie.x,this._beforeClosed=new Ie.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Ft.h)(r=>"opened"===r.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Ft.h)(r=>"closed"===r.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,Ft.h)(r=>27===r.keyCode&&!this.disableClose&&!Ln(r))).subscribe(r=>{r.preventDefault(),Bp(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Bp(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,Ft.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Bp(n,a,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=a),n.close(e)}const cn=new i.OlP("MatDialogData"),lg=new i.OlP("mat-dialog-default-options"),qx=new i.OlP("mat-dialog-scroll-strategy"),ND={provide:qx,deps:[xr],useFactory:function BD(n){return()=>n.scrollStrategies.block()}};let VD=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=l,this._overlayContainer=c,this._dialogRefConstructor=o,this._dialogContainerType=d,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie.x,this._afterOpenedAtThisLevel=new Ie.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Ca(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(hi(void 0))),this._scrollStrategy=s}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){t=function zD(n,a){return Object.assign(Object.assign({},a),n)}(t,this._defaultOptions||new bs),t.id&&this.getDialogById(t.id);const r=this._createOverlay(t),l=this._attachDialogContainer(r,t),c=this._attachDialogContent(e,l,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.afterClosed().subscribe(()=>this._removeOpenDialog(c)),this.afterOpened.next(c),l._initializeWithAttachedContent(),c}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new us({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 l=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:bs,useValue:t}]}),c=new op(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,l){const c=new this._dialogRefConstructor(r,t,l.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Qc(e,null,{$implicit:l.data,dialogRef:c}));else{const s=this._createInjector(l,c,t),o=t.attachComponentPortal(new op(e,l.viewContainerRef,s,l.componentFactoryResolver));c.componentInstance=o.instance}return c.updateSize(l.width,l.height).updatePosition(l.position),c}_createInjector(e,t,r){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,c=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(Fn,null,i.XFs.Optional))&&c.push({provide:Fn,useValue:{value:e.direction,change:(0,rt.of)()}}),i.zs3.create({parent:l||this._injector,providers:c})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,l)=>{r?l.setAttribute("aria-hidden",r):l.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 l=t[r];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.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})(),en=(()=>{class n extends VD{constructor(e,t,r,l,c,s,o,d){super(e,t,l,s,o,c,Oi,sg,cn,d)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(xr),i.LFG(i.zs3),i.LFG(w.Ye,8),i.LFG(lg,8),i.LFG(qx),i.LFG(n,12),i.LFG(bt),i.LFG(qn,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),FD=0,kn=(()=>{class n{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r,this.id="mat-dialog-title-"+FD++}ngOnInit(){this._dialogRef||(this._dialogRef=function jD(n,a){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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(Oi,8),i.Y36(i.SBq),i.Y36(en))},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})(),Pn=(()=>{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})(),vn=(()=>{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})(),oA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[en,ND],imports:[[Kc,Wl,ut],ut]}),n})();var qD=T(4327);const Np=[5,10,25,100];function Ei(){const n=new bs;return n.disableClose=!0,n.autoFocus=!1,n}function Nu(n){return"virt"===n.namespace.split(":")[4]}const KD=new Intl.Collator("cs",{numeric:!0});function cg(n,a,e){const t=a.active,r=a.direction;return t&&""!==r?n.sort((l,c)=>{const s=e(l,t),o=e(c,t);return KD.compare(s,o)*("asc"===r?1:-1)}):n}function dg(n,a,e,t,r){a=a.toLowerCase();let l="";return e.forEach(c=>{l+=";"+t(n,c)}),r&&(l+=";"+t(n,"uuid")),l.toLowerCase().includes(a)}function Vp(n,a,e){const t=[],r=["checkbox","select","edit","menu","cite","extend","recent"];return a=a.filter(l=>!r.includes(l)),n.forEach(l=>{const c={};a.forEach(s=>{var o;c[s]=(null!==(o=e(l,s))&&void 0!==o?o:"").split('"').join("''").trim()}),t.push(c)}),t}function zp(n,a="csv",e="export"){if("csv"===a){const t=(o,d)=>null===d?"":d,r=Object.keys(n[0]),l=n.map(o=>r.map(d=>JSON.stringify(o[d],t)).join(","));l.unshift(r.join(",").split(" ").join("_").split('"').join("''"));const c=l.join("\r\n"),s=new Blob([c],{type:"text/csv"});(0,qD.saveAs)(s,`${e}.${a}`)}}function Yx(n,a){return n.name.toLowerCase()>a.name.toLowerCase()?1:n.name.toLowerCase()===a.name.toLowerCase()?0:-1}const Ux="GUI_CONFIG.PREF_PAGE_SIZE.";let n2=(()=>{class n{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})(),r2=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ux+e);if(!isNaN(t))return t;const r=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(r)?10:r}setTablePageSize(e,t){this.guiConfigService.setNumber(Ux+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n2))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),a2=(()=>{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 r=i.MAs(5),l=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",r),i.xp6(5),i.Q6J("matMenuTriggerFor",l),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[It,ng,Wi,hC,tc],pipes:[me],styles:[""]}),n})();function s2(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(r){return i.CHM(e),i.oxw().exportData.emit(r)}),i.qZA()}}function o2(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(r){return i.CHM(e),i.oxw().exportData.emit(r)}),i.qZA()}}const l2=["*"];let As=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Np,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}set matPaginator(e){this.paginator=e}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}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(r2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf($b,7),2&e){let r;i.iGM(r=i.CRH())&&(t.matPaginator=r.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:l2,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(l){return t.pageChangedTop(l)}),i.qZA(),i.YNc(3,s2,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(l){return t.pageChangedBottom(l)}),i.qZA(),i.YNc(8,o2,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:[$b,w.O5,a2],styles:[""]}),n})();class Gx{static passwordMatchValidator(a){const e=a.get("passwordCtrl").value,t=a.get("passwordAgainCtrl").value;return a.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(a){return e=>{if(!e.value)return null;let t=0;for(const r of a)t+=r.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let $t=(()=>{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,r;const l=[null===(r=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===r?void 0:r[this.branding],this.instanceConfig,this.defaultConfig];let c=null;for(const s of l)s&&!c&&(c=s[e]);return c}get(...e){let t;if(""!==this.branding){const r=this.instanceConfig.brandings[this.branding];for(let l=0;l{class n{constructor(e,t,r,l,c){this.injector=e,this.store=t,this.dialog=r,this.route=l,this.oauthService=c,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Mi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(s=>{s.idpFilter&&(this.filterShortname=String(s.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),c=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(c.prompt="consent"),sessionStorage.getItem("mfa_route")&&(c.acr_values="https://refeds.org/profile/mfa",c.prompt="login",c.max_age="0"),"Linker"===this.store.getProperty("application")){c.prompt="login";const s=function e2(n,a){const e=a.split("&");for(const t of e){const[r,l]=t.split("=");if(r.includes(n))return l}return""}("idphint",location.search.substring(1));s&&(c.idphint=s)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:c}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let r=null;return e.forEach(l=>{const c=l.split("=");"idpFilter"===c[0]&&t[c[1]]&&(this.filterShortname=c[1],r=t[c[1]])}),t.default&&!r?(this.filterShortname="default",t.default):r}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(r=>r?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Ft.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 l=[];r&&(l=r.split("&"));const c={};return l.forEach(s=>{const o=s.split("=");c[o[0]]=o[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),c.idpFilter&&(this.filterShortname=String(c.idpFilter)),this.router.navigate([t],{queryParams:c,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Ft.h)(e=>e instanceof ne)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(r=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!r||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,c)=>c("Invalid path"))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG($t),i.LFG(en),i.LFG(Jn),i.LFG(Vu.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),c2=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi))},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:[Pn],pipes:[me],styles:[""]}),n})(),CC=(()=>{class n{constructor(e,t,r,l,c,s){this.authService=e,this.storeService=t,this.authResolver=r,this.authzService=l,this.dialog=c,this.router=s,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ei();this.dialog.open(c2,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const r of e){const l=r.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gd),i.LFG($t),i.LFG(ks),i.LFG(Zi),i.LFG(en),i.LFG(Mi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zx=(()=>{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}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(Rp),i.LFG(mr))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),d2=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})(),ug=(()=>{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})(),ir=(()=>{class n{constructor(e){this.translate=e,this.addNotification=new i.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,l,c){this.addNotification.emit({type:"error",error:t,description:r,title:e,actionText:void 0===l&&void 0!==r?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:c,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,r,l){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:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Le))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$x=(()=>{class n{constructor(e,t,r,l,c,s){this.authService=e,this.apiRequestConfiguration=t,this.notificator=r,this.store=l,this.dialog=c,this.initAuthService=s}intercept(e,t){const r=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==r&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const s=Ei();s.width="450px",this.dialogRefSessionExpiration=this.dialog.open(d2,s),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{B(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),c="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,Dt.b)(s=>{s instanceof M.Zn&&c&&this.initAuthService.loadPrincipal()},s=>{const o=this.formatErrors(s,e);return void 0===o?(0,Pp._)(s):l?void this.notificator.showRPCError(o):(0,Pp._)(o)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let r;console.error(e);const l=e.error;if(l.errorId&&(r=l),void 0!==r)return r.urlWithParams=t.urlWithParams,r.call=t.url,r.payload=t.body,r}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gd),i.LFG(ug),i.LFG(ir),i.LFG($t),i.LFG(en),i.LFG(CC))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Jx=(()=>{class n{constructor(){this.newNotificationsCount=0,this.notificationData=[]}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})(),u2=(()=>{class n{constructor(e,t,r,l){this.http=e,this.notificator=t,this.authService=r,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new M.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,wn.K)(l=>this.formatErrors(l,r,null,t)))}put(e,t={},r=!0){const l=`${this.getApiUrl()}${e}`,c=JSON.stringify(t);return this.http.put(l,c,{headers:this.getHeaders()}).pipe((0,wn.K)(s=>this.formatErrors(s,l,c,r)))}post(e,t={},r=!0){const l=`${this.getApiUrl()}${e}`,c=JSON.stringify(t);let s=this.getHeaders();return s=s.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,c,{headers:s}).pipe((0,wn.K)(o=>this.formatErrors(o,l,c,r)))}delete(e,t=!0){const r=`${this.getApiUrl()}${e}`;return this.http.delete(r,{headers:this.getHeaders()}).pipe((0,wn.K)(l=>this.formatErrors(l,r,null,t)))}formatErrors(e,t,r,l){const c=e.error;return c.call=t,c.payload=r,l&&this.notificator.showRPCError(e.error),(0,Pp._)(c)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(ir),i.LFG(gd),i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vC=(()=>{class n{isAllSelectedWithDisabledCheckbox(e,t,r,l,c,s,o,d){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=c*r,this.pageEnd=this.pageStart+r,this.pageIterator=0,this.dataLength=""===t?s.data.length:s.filteredData.length,l||(this.modulo=this.dataLength%r,this.pageEnd=0===this.modulo?this.pageStart+r:this.pageStart+this.modulo),s.sortData(s.filteredData,o).forEach(u=>{this.pageStart<=this.pageIterator&&this.pageIterator{d?u(h)&&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"),r=navigator.languages.map(s=>s.split("-")[0]),l=location.search.substring(1).split("&");let c=null;for(const s of l){const o=s.split("=");"lang"===o[0]&&(c=o[1])}return c&&t.includes(c)?c:e&&t.includes(e)?e:r&&t.includes(r[0])?r[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Jn),i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lA=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const r of e)if(r.newApps.admin===t||r.newApps.profile===t||r.newApps.pwdReset===t||r.newApps.consolidator===t||r.newApps.linker===t)return r;return e[0]}getUrlForOtherApplication(e,t){const l=window.location.href.split("/"),c=l[0]+"//"+l[2],s=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,c);let o;if(s.newApps[e])o=s.newApps[e],"pwdReset"===e&&(o+=`?login-namespace=${t}`);else switch(o=s.oldGuiDomain+"/fed",e){case"admin":o+="/gui/";break;case"profile":o+="/profile/";break;case"pwdReset":o+=`/pwd-reset/?login-namespace=${t}`}return o}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),h2=(()=>{class n{setEntity(e){this.entity=e}getEntity(){return this.entity}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),p2=(()=>{class n{constructor(e,t,r){this.store=e,this.oauthService=t,this.httpClient=r,this.mfaApiUrl=this.store.getProperty("mfa").api_url}isMfaAvailable(){return this.httpClient.get(this.mfaApiUrl+"mfaAvailable",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}getCategories(){return this.httpClient.get(this.mfaApiUrl+"categories",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}getSettings(){return this.httpClient.get(this.mfaApiUrl+"settings",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}enforceMfaForAllServices(e){const t=`value=${String(e)}`;return this.httpClient.put(this.mfaApiUrl+"mfaEnforced",t,{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}updateDetailSettings(e){return this.httpClient.put(this.mfaApiUrl+"settings",e,{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken(),"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t),i.LFG(Vu.Ct),i.LFG(M.eN))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ti("openClose",[St("open",Ne({overflow:"hidden"})),St("closed",Ne({height:"0px",overflow:"hidden"})),vt("open <=> closed",[_t(".3s ease-in")])]);const f2=ti("flyInOut",[vt(":enter",[Ne({transform:"translateX(100%)"}),_t(".25s")]),vt(":leave",[_t(".5s",Ne({transform:"translateX(100%)"}))])]);ti("rollInOut",[vt(":enter",[Ne({height:"0px"}),_t(".25s")]),vt(":leave",[_t(".25s",Ne({height:"0px"}))])]),ti("routeAnimations",[vt("* => *",[Ne({position:"relative"}),la(":enter",[Ne({width:"100%",opacity:0})],{optional:!0}),la(":leave",[Ne({position:"absolute",width:"100%",opacity:1}),_t("0.15s",Ne({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),la(":enter",[Ne({position:"absolute",width:"100%",opacity:0}),_t("0.15s",Ne({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ti("tagsOpenClose",[St("open",Ne({})),St("closed",Ne({width:"0px",height:"0px"})),vt("open <=> closed",[_t(".3s ease-in")])]),ti("switchAnimations",[vt("true => false",[la(":enter, :leave",Ne({})),Rh([la(":enter",[Ne({transform:"translateX(-100%)"}),_t("1s ease-in-out",Ne({transform:"translateX(0%)"}))],{optional:!0}),la(":leave",[Ne({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Ne({transform:"translateX(100%)"}))],{optional:!0})])]),vt("false => true",[la(":enter, :leave",Ne({})),Rh([la(":enter",[Ne({transform:"translateX(100%)"}),_t("1s ease-in-out",Ne({transform:"translateX(0%)"}))],{optional:!0}),la(":leave",[Ne({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Ne({transform:"translateX(-100%)"}))],{optional:!0})])])]),ti("slideInOutLeft",[vt(":enter",[Ne({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Ne({transform:"translateX(0%)"}))]),vt(":leave",[_t("0.5s ease-in",Ne({transform:"translateX(-100%)"}))])]),ti("slideInOutRight",[vt(":enter",[Ne({transform:"translateX(100%)",position:"fixed"}),_t("0.5s ease-in",Ne({transform:"translateX(0%)"}))]),vt(":leave",[Ne({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Ne({transform:"translateX(100%)"}))])]);let Xx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez]]}),n})(),cA=(()=>{class n{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})(),ii=(()=>{class n{constructor(e,t){this.translate=e,this.storage=t}transform(e,t="en"){const r=this.storage.get("custom_labels");if(r)for(const l of r)if(l.label===e)return l[t];return e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le,16),i.Y36($t,16))},n.\u0275pipe=i.Yjl({name:"customTranslate",type:n,pure:!0}),n})();const Qx=aa({passive:!0});let m2=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return va.E;const t=Qi(e),r=this._monitoredElements.get(t);if(r)return r.subject;const l=new Ie.x,c="cdk-text-field-autofilled",s=o=>{"cdk-text-field-autofill-start"!==o.animationName||t.classList.contains(c)?"cdk-text-field-autofill-end"===o.animationName&&t.classList.contains(c)&&(t.classList.remove(c),this._ngZone.run(()=>l.next({target:o.target,isAutofilled:!1}))):(t.classList.add(c),this._ngZone.run(()=>l.next({target:o.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Qx),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:l,unlisten:()=>{t.removeEventListener("animationstart",s,Qx)}}),l}stopMonitoring(e){const t=Qi(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 n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dA=(()=>{class n{constructor(e,t,r,l){this._elementRef=e,this._platform=t,this._ngZone=r,this._destroyed=new Ie.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=c=>{this._hasFocus="focus"===c.type},this._document=l,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=Xi(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Xi(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=$e(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(()=>{Na(this._getWindow(),"resize").pipe(sp(16),dt(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||"",r=this._platform.FIREFOX,l=r&&this._hasFocus,c=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";l&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(c);const s=e.scrollHeight-4;return e.classList.remove(c),l&&(e.style.marginBottom=t),s}_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,r=t.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const l=this._measureScrollHeight(),c=Math.max(l,this._cachedPlaceholderHeight||0);t.style.height=`${c}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=r,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:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wi),i.Y36(i.R0b),i.Y36(w.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})(),Kx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const eS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),g2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _2=0;const b2=B0(class{constructor(n,a,e,t){this._defaultErrorStateMatcher=n,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let Rn=(()=>{class n extends b2{constructor(e,t,r,l,c,s,o,d,u,h){super(s,l,c,r),this._elementRef=e,this._platform=t,this._autofillMonitor=d,this._formField=h,this._uid="mat-input-"+_2++,this.focused=!1,this.stateChanges=new Ie.x,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(N=>ty().has(N)),this._iOSKeyupListener=N=>{const Q=N.target;!Q.value&&0===Q.selectionStart&&0===Q.selectionEnd&&(Q.setSelectionRange(1,1),Q.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=o||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=f.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=$e(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,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ty().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=$e(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 l=this._elementRef.nativeElement;this._previousPlaceholder=r,r?l.setAttribute("placeholder",r):l.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){g2.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(wi),i.Y36(Fa,10),i.Y36(lo,8),i.Y36(co,8),i.Y36(au),i.Y36(eS,10),i.Y36(m2),i.Y36(i.R0b),i.Y36(id,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:dp,useExisting:n}]),i.qOj,i.TTD]}),n})(),Fp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[au],imports:[[Kx,ps,ut],Kx,ps]}),n})();function A2(n,a){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 y2(n,a){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 w2=Ia(class{constructor(n){this._elementRef=n}},"primary"),C2=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function v2(){return{diameter:100}}});class Ci extends w2{constructor(a,e,t,r,l,c,s,o){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Wt.w0.EMPTY,this.mode="determinate";const d=Ci._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),d.has(t.head)||d.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!l&&!l._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&s&&c&&o&&(this._resizeSubscription=s.change(150).subscribe(()=>{"indeterminate"===this.mode&&o.run(()=>c.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=Xi(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=Xi(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,Xi(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Ch(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=Ci._diameters;let r=t.get(a);if(!r||!r.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),a.appendChild(l),r||(r=new Set,t.set(a,r)),r.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Ci._diameters=new WeakMap,Ci.\u0275fac=function(a){return new(a||Ci)(i.Y36(i.SBq),i.Y36(wi),i.Y36(w.K0,8),i.Y36(qn,8),i.Y36(C2),i.Y36(i.sBO),i.Y36(so),i.Y36(i.R0b))},Ci.\u0275cmp=i.Xpm({type:Ci,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(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(a,e){1&a&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,A2,1,11,"circle",2),i.YNc(3,y2,1,9,"circle",3),i.qZA()),2&a&&(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:[w.RF,w.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 jp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut,w.ez],ut]}),n})(),uA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[uo,w.ez]]}),n})(),x2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[w.ez,ps,nl,il,Fp,pt,jp,uo,uA]]}),n})();class S2{isErrorState(a){return!(!(null==a?void 0:a.invalid)||!(null==a?void 0:a.dirty))}}const tS=(n,a,e,t=500)=>r=>(0,$0.H)(t).pipe((0,Li.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?a.checkPasswordStrength({password:r.value,namespace:n}):(0,rt.of)(null))),(0,Ct.U)(()=>null),(0,wn.K)(l=>{const c=l.error,s={backendError:c.message.substring(c.message.indexOf(":")+1)};return(0,rt.of)(s)}));function E2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function D2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function H2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function L2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const k2=["*"];let Wn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:k2,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,E2,2,0,"mat-icon",1),i.YNc(2,D2,2,0,"mat-icon",1),i.YNc(3,H2,2,0,"mat-icon",1),i.YNc(4,L2,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:[w.O5,Wi],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 P2(n,a){1&n&&i._UZ(0,"mat-spinner",12),2&n&&i.Q6J("diameter",18)}function R2(n,a){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 O2(n,a){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 I2(n,a){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 B2(n,a){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 N2(n,a){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 iS=(()=>{class n{constructor(e,t,r){this.translator=e,this.usersManagerService=t,this.store=r,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new S2,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{var t;const r=e.userAttributes.find(l=>"preferredLanguage"===l.friendlyName);this.language=null!==(t=null==r?void 0:r.value)&&void 0!==t?t:"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(Le),i.Y36(Ti),i.Y36($t))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",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,P2,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,R2,2,2,"mat-icon",5),i.YNc(8,O2,3,3,"mat-error",6),i.YNc(9,I2,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,B2,3,3,"mat-error",6),i.YNc(18,N2,3,3,"mat-error",6),i.qZA(),i.TgZ(19,"perun-web-apps-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||t.tooltipPwdDisabledForNamespace),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:[Mu,co,ln,tr,Rn,bn,Vi,Tp,Fr,w.O5,Ci,V_,Wi,ed,Vr,Wn],pipes:[me],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 W2(n,a){1&n&&i._UZ(0,"mat-spinner",7)}function U2(n,a){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 G2(n,a){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 Z2(n,a){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(r){return i.CHM(e),i.oxw().subject=r}),i.qZA(),i.YNc(7,U2,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(r){return i.CHM(e),i.oxw().message=r}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,G2,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),r=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",r.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",r.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let $2=(()=>{class n{constructor(e,t,r,l,c,s){this.dialogRef=e,this.translate=t,this.notificator=r,this.rtMessages=l,this.data=c,this.storeService=s,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var e,t;(null===(t=null===(e=this.data)||void 0===e?void 0:e.error)||void 0===t?void 0:t.errorId)&&(this.subject="".concat(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(()=>{const t="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),e.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(t)}),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,"\n","Perun instance: ",e,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const r=/"password":".+?"/;let l=JSON.stringify(this.data.error.payload);l=l.replace(r,'"password":"####"'),t=t.concat("Payload:\n"+l+"\n\n")}return t=t.concat("Sent from new Perun Gui, version: ",T(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(Oi),i.Y36(Le),i.Y36(ir),i.Y36(fn),i.Y36(cn),i.Y36($t))},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,W2,1,0,"mat-spinner",1),i.YNc(4,Z2,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:[kn,w.O5,Ci,Pn,ln,Vr,Rn,bn,Fr,Vi,fs,ed,vn,It],pipes:[me],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),J2=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.dialog=t,this.data=r}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Ei();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open($2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(en),i.Y36(cn))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})();const X2=[[["caption"]],[["colgroup"],["col"]]],Q2=["caption","colgroup, col"];function SC(n){return class extends n{constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(a){const e=this._sticky;this._sticky=$e(a),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}}}const qp=new i.OlP("CDK_TABLE");let Yp=(()=>{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})(),Wp=(()=>{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})(),hA=(()=>{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 iH{}const nH=SC(iH);let rc=(()=>{class n extends nH{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=$e(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(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,Yp,5),i.Suo(r,Wp,5),i.Suo(r,hA,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.cell=l.first),i.iGM(l=i.CRH())&&(t.headerCell=l.first),i.iGM(l=i.CRH())&&(t.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class EC{constructor(a,e){e.nativeElement.classList.add(...a._columnCssClassName)}}let DC=(()=>{class n extends EC{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rc),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})(),HC=(()=>{class n extends EC{constructor(e,t){var r;if(super(e,t),1===(null===(r=e._table)||void 0===r?void 0:r._elementRef.nativeElement.nodeType)){const l=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rc),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 rS{constructor(){this.tasks=[],this.endTasks=[]}}const LC=new i.OlP("_COALESCED_STYLE_SCHEDULER");let aS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Ie.x}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 rS,this._getScheduleObservable().pipe(dt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new rS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Sn.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})(),kC=(()=>{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 hg?e.headerCell.template:this instanceof pg?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 rH extends kC{}const aH=SC(rH);let hg=(()=>{class n extends aH{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class sH extends kC{}const oH=SC(sH);let pg=(()=>{class n extends oH{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,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 kC{constructor(e,t,r){super(e,t),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),ac=(()=>{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})(),PC=(()=>{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:[ac],encapsulation:2}),n})(),OC=(()=>{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:[ac],encapsulation:2}),n})(),fA=(()=>{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 sS=["top","bottom","left","right"];class lH{constructor(a,e,t,r,l=!0,c=!0,s){this._isNativeHtmlTable=a,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=l,this._needsPositionStickyOnElement=c,this._positionListener=s,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(a,e){const t=[];for(const r of a)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let l=0;l{for(const r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(a,e,t,r=!0){if(!a.length||!this._isBrowser||!e.some(f=>f)&&!t.some(f=>f))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=a[0],c=l.children.length,s=this._getCellWidths(l,r),o=this._getStickyStartColumnPositions(s,e),d=this._getStickyEndColumnPositions(s,t),u=e.lastIndexOf(!0),h=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const f="rtl"===this.direction,b=f?"right":"left",N=f?"left":"right";for(const Q of a)for(let fe=0;fee[fe]?Q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:s.slice(h).map((Q,fe)=>t[fe+h]?Q:null).reverse()}))})}stickRows(a,e,t){if(!this._isBrowser)return;const r="bottom"===t?a.slice().reverse():a,l="bottom"===t?e.slice().reverse():e,c=[],s=[],o=[];for(let u=0,h=0;u{var u,h;for(let f=0;f{e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(a,e){for(const r of e)a.style[r]="",a.classList.remove(this._borderCellCss[r]);sS.some(r=>-1===e.indexOf(r)&&a.style[r])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,e,t,r){a.classList.add(this._stickCellCss),r&&a.classList.add(this._borderCellCss[e]),a.style[e]=`${t}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const r of sS)a.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(a,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],r=a.children;for(let l=0;l0;l--)e[l]&&(t[l]=r,r+=a[l]);return t}}const IC=new i.OlP("CDK_SPL");let mA=(()=>{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})(),gA=(()=>{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})(),_A=(()=>{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})(),bA=(()=>{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})(),AA=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=c,this._platform=o,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=b,this._onDestroy=new Ie.x,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 rn({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,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=$e(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=$e(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(dt(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(),bu(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,(r,l,c)=>this._getEmbeddedViewArgs(r.item,c),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{t.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ut.q)(1),dt(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),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const l=this._headerRowDefs.map(c=>c.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,l,"top"),this._headerRowDefs.forEach(c=>c.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const l=this._footerRowDefs.map(c=>c.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(c=>c.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((l,c)=>{this._addStickyColumnStyles([l],this._headerRowDefs[c])}),this._rowDefs.forEach(l=>{const c=[];for(let s=0;s{this._addStickyColumnStyles([l],this._footerRowDefs[c])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const s=r&&r.has(c)?r.get(c):[];if(s.length){const o=s.shift();return o.dataIndex=t,o}return{data:e,rowDef:c,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),yA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=yA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=yA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=yA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(c,s)=>c||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(e,!1);return l&&this._forceRenderFooterRows(),t||r||l}_switchDataSource(e){this._data=[],bu(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;bu(this.dataSource)?e=this.dataSource.connect(this):_s(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,rt.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(dt(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 r=Array.from(t.columns||[]).map(s=>this._columnDefsByName.get(s)),l=r.map(s=>s.sticky),c=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,l,c,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let r=0;r!l.when||l.when(t,e));else{let l=this._rowDefs.find(c=>c.when&&c.when(t,e))||this._defaultRowDef;l&&r.push(l)}return r}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,r,l={}){const c=e.viewContainer.createEmbeddedView(t.template,l,r);return this._renderCellTemplateForItem(t,l),c}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))ac.mostRecentCellOutlet&&ac.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{const r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)}):[]}_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 r of t){const l=this._document.createElement(r.tag);l.setAttribute("role","rowgroup");for(const c of r.outlets)l.appendChild(c.elementRef.nativeElement);e.appendChild(l)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,r)=>t||r.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 lH(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,rt.of)()).pipe(dt(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 r=this._noDataRowOutlet.viewContainer;if(t){const l=r.createEmbeddedView(e.templateRef),c=l.rootNodes[0];1===l.rootNodes.length&&(null==c?void 0:c.nodeType)===this._document.ELEMENT_NODE&&(c.setAttribute("role","row"),c.classList.add(e._contentClassName))}else r.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(Fn,8),i.Y36(w.K0),i.Y36(wi),i.Y36(Au),i.Y36(LC),i.Y36(so),i.Y36(IC,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,fA,5),i.Suo(r,rc,5),i.Suo(r,pA,5),i.Suo(r,hg,5),i.Suo(r,pg,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._noDataRow=l.first),i.iGM(l=i.CRH())&&(t._contentColumnDefs=l),i.iGM(l=i.CRH())&&(t._contentRowDefs=l),i.iGM(l=i.CRH())&&(t._contentHeaderRowDefs=l),i.iGM(l=i.CRH())&&(t._contentFooterRowDefs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(mA,7),i.Gf(gA,7),i.Gf(_A,7),i.Gf(bA,7)),2&e){let r;i.iGM(r=i.CRH())&&(t._rowOutlet=r.first),i.iGM(r=i.CRH())&&(t._headerRowOutlet=r.first),i.iGM(r=i.CRH())&&(t._footerRowOutlet=r.first),i.iGM(r=i.CRH())&&(t._noDataRowOutlet=r.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:qp,useExisting:n},{provide:Au,useClass:up},{provide:LC,useClass:aS},{provide:IC,useValue:null}])],ngContentSelectors:Q2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(X2),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[gA,mA,bA,_A],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function yA(n,a){return n.concat(Array.from(a))}let dH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yl]]}),n})();const uH=[[["caption"]],[["colgroup"],["col"]]],hH=["caption","colgroup, col"];let ho=(()=>{class n extends AA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:Au,useClass:up},{provide:AA,useExisting:n},{provide:qp,useExisting:n},{provide:LC,useClass:aS},{provide:IC,useValue:null}]),i.qOj],ngContentSelectors:hH,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(uH),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[gA,mA,bA,_A],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),ys=(()=>{class n extends Yp{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:Yp,useExisting:n}]),i.qOj]}),n})(),Ms=(()=>{class n extends Wp{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:Wp,useExisting:n}]),i.qOj]}),n})(),ws=(()=>{class n extends rc{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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:rc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Cs=(()=>{class n extends DC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),vs=(()=>{class n extends HC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),po=(()=>{class n extends hg{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:hg,useExisting:n}]),i.qOj]}),n})(),fo=(()=>{class n extends pA{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),mo=(()=>{class n extends PC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:PC,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ac],encapsulation:2}),n})(),go=(()=>{class n extends OC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:OC,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ac],encapsulation:2}),n})(),fg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[dH,ut],ut]}),n})();class rl extends class CH extends class yw{}{constructor(a=[]){super(),this._renderData=new rn([]),this._filter=new rn(""),this._internalPageChanges=new Ie.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const r=e[t];if(e1(r)){const l=Number(r);return l<9007199254740991?l:r}return r},this.sortData=(e,t)=>{const r=t.active,l=t.direction;return r&&""!=l?e.sort((c,s)=>{let o=this.sortingDataAccessor(c,r),d=this.sortingDataAccessor(s,r);const u=typeof o,h=typeof d;u!==h&&("number"===u&&(o+=""),"number"===h&&(d+=""));let f=0;return null!=o&&null!=d?o>d?f=1:o{const r=Object.keys(e).reduce((c,s)=>c+e[s]+"\u25ec","").toLowerCase(),l=t.trim().toLowerCase();return-1!=r.indexOf(l)},this._data=new rn(a),this._updateChangeSubscription()}get data(){return this._data.value}set data(a){a=Array.isArray(a)?a:[],this._data.next(a),this._renderChangesSubscription||this._filterData(a)}get filter(){return this._filter.value}set filter(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(a){this._sort=a,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(a){this._paginator=a,this._updateChangeSubscription()}_updateChangeSubscription(){var a;const e=this._sort?(0,Ri.T)(this._sort.sortChange,this._sort.initialized):(0,rt.of)(null),t=this._paginator?(0,Ri.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,rt.of)(null),l=(0,yo.a)([this._data,this._filter]).pipe((0,Ct.U)(([o])=>this._filterData(o))),c=(0,yo.a)([l,e]).pipe((0,Ct.U)(([o])=>this._orderData(o))),s=(0,yo.a)([c,t]).pipe((0,Ct.U)(([o])=>this._pageData(o)));null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=s.subscribe(o=>this._renderData.next(o))}_filterData(a){return this.filteredData=null==this.filter||""===this.filter?a:a.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(a){return this.sort?this.sortData(a.slice(),this.sort):a}_pageData(a){if(!this.paginator)return a;const e=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(e,e+this.paginator.pageSize)}_updatePaginator(a){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=a,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,t);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var a;null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=null}}{}function vH(n,a){1&n&&i._UZ(0,"mat-spinner",3)}function TH(n,a){1&n&&i._UZ(0,"th",15)}function xH(n,a){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function SH(n,a){1&n&&i._UZ(0,"tr",17)}function EH(n,a){1&n&&i._UZ(0,"tr",18)}function DH(n,a){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,TH,1,0,"th",8),i.YNc(13,xH,2,1,"td",9),i.BQk(),i.YNc(14,SH,1,0,"tr",10),i.YNc(15,EH,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 HH=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.data=t,this.usersManagerService=r,this.translate=l,this.notificator=c,this.force=!1,this.displayedColumns=["name"],l.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new rl(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(Oi),i.Y36(cn),i.Y36(Ti),i.Y36(Le),i.Y36(ir))},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,vH,1,0,"mat-spinner",1),i.YNc(6,DH,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();class LH{constructor(a,e){this._document=e;const t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=a,this._document.body.appendChild(t)}copy(){const a=this._textarea;let e=!1;try{if(a){const t=this._document.activeElement;a.select(),a.setSelectionRange(0,a.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch(t){}return e}destroy(){const a=this._textarea;a&&(a.remove(),this._textarea=void 0)}}let kH=(()=>{class n{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new LH(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const PH=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let BC=(()=>{class n{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e;const r=this._clipboard.beginCopy(this.text);this._pending.add(r);const l=()=>{const c=r.copy();c||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(c)):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 n.\u0275fac=function(e){return new(e||n)(i.Y36(kH),i.Y36(i.R0b),i.Y36(PH,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})(),lS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),MA=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,dA,Rn,vn,It,BC],pipes:[me],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),RH=(()=>{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(Oi),i.Y36(cn))},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(l){return t.attributeValue=l}),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:[kn,Pn,ln,dA,Rn,bn,Vi,fs,vn,It],pipes:[me],styles:[""]}),n})(),OH=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})();function IH(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",9),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.pendingEmailsMessage)}}function BH(n,a){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 NH=(()=>{class n{constructor(e,t,r,l,c,s){this.dialogRef=e,this.data=t,this.translate=r,this.notificator=l,this.usersManagerService=c,this.authService=s,this.pendingMails=[],r.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(o=>this.successMessage=o),r.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(o=>this.pendingEmailsMessageStart=o),r.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(o=>this.pendingEmailsMessageEnd=o)}ngOnInit(){this.emailControl=new Yn(null,[An.required,An.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((r,l,c)=>l===c.indexOf(r));let t="";this.pendingMails.forEach(r=>t+=`${r===this.pendingMails[0]?"":", "}${r}`),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(Oi),i.Y36(cn),i.Y36(Le),i.Y36(ir),i.Y36(Ti),i.Y36(gd))},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,IH,2,1,"perun-web-apps-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,BH,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:[kn,Pn,w.O5,Wn,ln,Rn,bn,Fr,Vi,ja,ed,vn,It],pipes:[me,ii],styles:[""]}),n})(),GH=(()=>{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(Oi),i.Y36(Mi))},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,"perun-web-apps-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:[kn,Pn,Wn,vn,It],pipes:[me],styles:[""]}),n})();function ZH(n,a){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 $H(n,a){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 r=i.oxw();return r.showOldPassword=!r.showOldPassword}),i._uU(8),i.qZA(),i.YNc(9,ZH,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 JH(n,a){1&n&&i._UZ(0,"mat-spinner",11)}function XH(n,a){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 QH=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialogRef=e,this.data=t,this._formBuilder=r,this.usersManagerService=l,this.apiRequestConfiguration=c,this.notificator=s,this.translate=o,this.showOldPassword=!1,o.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",An.required],passwordCtrl:["",An.required,[tS(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:Gx.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({login:this.data.login,namespace:this.data.namespace,newPassword:this.newPwd.value,oldPassword:this.oldPwd.value,checkOldPassword:!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(Oi),i.Y36(cn),i.Y36(Ym),i.Y36(Ti),i.Y36(ug),i.Y36(ir),i.Y36(Le))},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,$H,11,9,"form",2),i.YNc(5,JH,1,0,"mat-spinner",3),i.qZA(),i.YNc(6,XH,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:[kn,Pn,w.O5,Hm,Mu,co,ln,Vr,bn,Rn,Vi,Tp,Fr,Wi,V_,ed,iS,Ci,vn,It],pipes:[me],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 KH=["input"],eL=function(n){return{enterDuration:n}},tL=["*"],iL=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function nL(){return{color:"accent"}}});let dS=0;const rL={provide:Kn,useExisting:(0,i.Gpc)(()=>pS),multi:!0};class uS{constructor(a,e){this.source=a,this.value=e}}const hS=new i.OlP("MatRadioGroup");let aL=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+dS++,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=$e(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=$e(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})(),pS=(()=>{class n extends aL{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,fS,5),2&e){let l;i.iGM(l=i.CRH())&&(t._radios=l)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([rL,{provide:hS,useExisting:n}]),i.qOj]}),n})();class sL{constructor(a){this._elementRef=a}}const oL=pa(Jo(sL));let lL=(()=>{class n extends oL{constructor(e,t,r,l,c,s,o,d){super(t),this._changeDetector=r,this._focusMonitor=l,this._radioDispatcher=c,this._providerOverride=o,this._uniqueId="mat-radio-"+ ++dS,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===s,d&&(this.tabIndex=Xi(d,0)),this._removeUniqueSelectionListener=c.listen((u,h)=>{u!==this.id&&h===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=$e(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($e(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=$e(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)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),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())}_updateTabIndex(){var e;const t=this.radioGroup;let r;if(r=t&&t.selected&&!this.disabled?t.selected===this?this.tabIndex:-1:this.tabIndex,r!==this._previousTabIndex){const l=null===(e=this._inputElement)||void 0===e?void 0:e.nativeElement;l&&(l.setAttribute("tabindex",r+""),this._previousTabIndex=r)}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(KH,5),2&e){let r;i.iGM(r=i.CRH())&&(t._inputElement=r.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})(),fS=(()=>{class n extends lL{constructor(e,t,r,l,c,s,o,d){super(e,t,r,l,c,s,o,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hS,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(oa),i.Y36(sm),i.Y36(qn,8),i.Y36(iL,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:tL,decls:13,vars:19,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",3,"id","checked","disabled","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(l){return t._onInputInteraction(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1);i.uIk("for",t.inputId),i.xp6(5),i.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("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",r)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(17,eL,t._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[hr],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-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;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{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.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})(),mS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut],ut]}),n})();function cL(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function dL(n,a){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 uL(n,a){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 hL(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-radio-group",12),i.NdJ("ngModelChange",function(r){return i.CHM(e),i.oxw(2).asyncValidation=r}),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 pL(n,a){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 fL(n,a){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 mL(n,a){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,dL,3,3,"span",9),i.YNc(19,uL,3,3,"span",9),i.YNc(20,hL,10,12,"mat-radio-group",10),i.YNc(21,pL,3,3,"span",9),i.YNc(22,fL,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 gL(n,a){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 _L=(()=>{class n{constructor(e,t,r,l){this.dialogRef=e,this.data=t,this.resourceService=r,this.groupService=l,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(Oi),i.Y36(cn),i.Y36(_i),i.Y36(Hi))},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,cL,1,0,"mat-spinner",1),i.YNc(5,mL,23,17,"div",2),i.YNc(6,gL,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:[kn,w.O5,Ci,Pn,pS,Vi,fs,fS,vn,It],pipes:[me],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function bL(n,a){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 AL(n,a){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 yL=(()=>{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=Ei();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(J2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function YD(n,a){return(0,mi.mG)(this,void 0,void 0,function*(){yield function WD(n){return new Promise(a=>setTimeout(a,n))}(n),a()})}(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(en),i.Y36(Jx))},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,bL,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,AL,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:[w.O5,Wi],pipes:[me],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 ML(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const l=i.CHM(e).index;return i.oxw().removeNotification(l)}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const wL=function(n){return{top:n}};let CL=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(r=>{this.processNotification(r)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ir),i.Y36(Jx))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,ML,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,wL,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[w.PC,w.sg,yL],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:[f2]}}),n})();const vL=["*",[["mat-toolbar-row"]]],TL=["*","mat-toolbar-row"],xL=Ia(class{constructor(n){this._elementRef=n}});let SL=(()=>{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})(),EL=(()=>{class n extends xL{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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wi),i.Y36(w.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,SL,5),2&e){let l;i.iGM(l=i.CRH())&&(t._toolbarRows=l)}},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:TL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(vL),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})(),NC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();function gS(n){for(let a in n){let e=n[a]||"";switch(a){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-"+a]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+a]=isNaN(+e)?"0":e}}return n}const VC="inline",wA=["row","column","row-reverse","column-reverse"];function _S(n){let[a,e,t]=function bS(n){var a;n=null!==(a=null==n?void 0:n.toLowerCase())&&void 0!==a?a:"";let[e,t,r]=n.split(" ");return wA.find(l=>l===e)||(e=wA[0]),t===VC&&(t=r!==VC?r:"",r=VC),[e,DL(t),!!r]}(n);return function HL(n,a=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":a||null}}(a,e,t)}function DL(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 kL={provide:i.tb,useFactory:function LL(n,a){return()=>{if((0,w.NF)(a)){const e=Array.from(n.querySelectorAll(`[class*=${AS}]`)),t=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${AS}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(t,"")})}}},deps:[w.K0,i.Lbi],multi:!0},AS="flex-layout-";let zC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[kL]}),n})();class zu{constructor(a=!1,e="all",t="",r="",l=0){this.matches=a,this.mediaQuery=e,this.mqAlias=t,this.suffix=r,this.priority=l,this.property=""}clone(){return new zu(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let PL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,r){const l=this.stylesheet.get(e);l?l.set(t,r):this.stylesheet.set(e,new Map([[t,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const r=this.stylesheet.get(e);let l="";if(r){const c=r.get(t);("number"==typeof c||"string"==typeof c)&&(l=c+"")}return l}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const FC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},_o=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>FC}),Up=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),jC=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function yS(n,a){return n=n?n.clone():new zu,a&&(n.mqAlias=a.alias,n.mediaQuery=a.mediaQuery,n.suffix=a.suffix,n.priority=a.priority),n}class yn{constructor(){this.shouldCache=!0}sideEffect(a,e,t){}}let Ui=(()=>{class n{constructor(e,t,r,l){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=r,this.layoutConfig=l}applyStyleToElement(e,t,r=null){let l={};"string"==typeof t&&(l[t]=r,t=l),l=this.layoutConfig.disableVendorPrefixes?t:gS(t),this._applyMultiValueStyleToElement(l,e)}applyStyleToElements(e,t=[]){const r=this.layoutConfig.disableVendorPrefixes?e:gS(e);t.forEach(l=>{this._applyMultiValueStyleToElement(r,l)})}getFlowDirection(e){const t="flex-direction";let r=this.lookupStyle(e,t);return[r||"row",this.lookupInlineStyle(e,t)||(0,w.PM)(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){var r;return null!==(r=e.getAttribute(t))&&void 0!==r?r:""}lookupInlineStyle(e,t){return(0,w.NF)(this._platformId)?e.style.getPropertyValue(t):function RL(n,a){var e;return null!==(e=MS(n)[a])&&void 0!==e?e:""}(e,t)}lookupStyle(e,t,r=!1){let l="";return e&&((l=this.lookupInlineStyle(e,t))||((0,w.NF)(this._platformId)?r||(l=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(l=this._serverStylesheet.getStyleForElement(e,t)))),l?l.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(r=>{const l=e[r],c=Array.isArray(l)?l:[l];c.sort();for(let s of c)s=s?s+"":"",(0,w.NF)(this._platformId)||!this._serverModuleLoaded?(0,w.NF)(this._platformId)?t.style.setProperty(r,s):OL(t,r,s):this._serverStylesheet.addStyleToElement(t,r,s)})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(PL),i.LFG(Up),i.LFG(i.Lbi),i.LFG(_o))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function OL(n,a,e){a=a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const t=MS(n);t[a]=null!=e?e:"",function IL(n,a){let e="";for(const t in a)a[t]&&(e+=`${t}:${a[t]};`);n.setAttribute("style",e)}(n,t)}function MS(n){const a={},e=n.getAttribute("style");if(e){const t=e.split(/;+/g);for(let r=0;r0){const c=l.indexOf(":");if(-1===c)throw new Error(`Invalid CSS style: ${l}`);a[l.substr(0,c).trim()]=l.substr(c+1).trim()}}}return a}function gg(n,a){return(a&&a.priority||0)-(n&&n.priority||0)}function BL(n,a){return(n.priority||0)-(a.priority||0)}let qC=(()=>{class n{constructor(e,t,r){this._zone=e,this._platformId=t,this._document=r,this.source=new rn(new zu(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,r)=>{t.matches&&e.push(r)}),e}isActive(e){var t;const r=this.registry.get(e);return null!==(t=null==r?void 0:r.matches)&&void 0!==t?t:this.registerQuery(e).some(l=>l.matches)}observe(e,t=!1){if(e&&e.length){const r=this._observable$.pipe((0,Ft.h)(c=>!t||e.indexOf(c.mediaQuery)>-1)),l=new an.y(c=>{const s=this.registerQuery(e);if(s.length){const o=s.pop();s.forEach(d=>{c.next(d)}),this.source.next(o)}c.complete()});return(0,Ri.T)(l,r)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],r=[];return function NL(n,a){const e=n.filter(t=>!wS[t]);if(e.length>0){const t=e.join(", ");try{const r=a.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(a.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`)),a.head.appendChild(r),e.forEach(l=>wS[l]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(l=>{const c=o=>{this._zone.run(()=>this.source.next(new zu(o.matches,l)))};let s=this.registry.get(l);s||(s=this.buildMQL(l),s.addListener(c),this.pendingRemoveListenerFns.push(()=>s.removeListener(c)),this.registry.set(l,s)),s.matches&&r.push(new zu(!0,l))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function VL(n,a){return a&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,w.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const wS={},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}],CS="(orientation: portrait) and (max-width: 599.98px)",vS="(orientation: landscape) and (max-width: 959.98px)",TS="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",xS="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",SS="(orientation: portrait) and (min-width: 840px)",ES="(orientation: landscape) and (min-width: 1280px)",oc={HANDSET:`${CS}, ${vS}`,TABLET:`${TS} , ${xS}`,WEB:`${SS}, ${ES} `,HANDSET_PORTRAIT:`${CS}`,TABLET_PORTRAIT:`${TS} `,WEB_PORTRAIT:`${SS}`,HANDSET_LANDSCAPE:`${vS}`,TABLET_LANDSCAPE:`${xS}`,WEB_LANDSCAPE:`${ES}`},FL=[{alias:"handset",priority:2e3,mediaQuery:oc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:oc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:oc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:oc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:oc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:oc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:oc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:oc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:oc.WEB_PORTRAIT,overlapping:!0}],jL=/(\.|-|_)/g;function qL(n){let a=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return a.toUpperCase()+e}const GL=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,i.f3M)(jC),a=(0,i.f3M)(_o),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function UL(n,a=[]){const e={};return n.forEach(t=>{e[t.alias]=t}),a.forEach(t=>{e[t.alias]?function sc(n,...a){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of a)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 WL(n){return n.forEach(a=>{a.suffix||(a.suffix=function YL(n){return n.replace(jL,"|").split("|").map(qL).join("")}(a.alias),a.overlapping=!!a.overlapping)}),n}(Object.keys(e).map(t=>e[t]))}((a.disableDefaultBps?[]:zL).concat(a.addOrientationBps?FL:[]),e)}});let YC=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(BL)}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 r;let l=this.findByMap.get(e);return l||(l=null!==(r=this.items.find(t))&&void 0!==r?r:null,this.findByMap.set(e,l)),null!=l?l:null}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(GL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gp="print",ZL={alias:Gp,mediaQuery:Gp,priority:1e3};let $L=(()=>{class n{constructor(e,t,r){this.breakpoints=e,this.layoutConfig=t,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new JL,this.deactivations=[]}withPrintQuery(e){return[...e,Gp]}isPrintEvent(e){return e.mediaQuery.startsWith(Gp)}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(gg)}updateEvent(e){var t;let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(t=null==r?void 0:r.mediaQuery)&&void 0!==t?t:""),yS(e,r)}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 zu(!0,Gp))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(r)}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 r=this.breakpoints.findByQuery(t.mediaQuery);if(r){const l=this.formerActivations&&this.formerActivations.includes(r),c=!this.formerActivations&&e.activatedBreakpoints.includes(r);(l||c)&&(this.deactivations.push(r),this.deactivations.sort(gg))}}}}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(YC),i.LFG(_o),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class JL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(a){return a.push(ZL),a.sort(gg),a.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(a){a&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===a.mediaQuery)&&(this.printBreakpoints=function XL(n){var a;return null!==(a=null==n?void 0:n.mediaQuery.startsWith(Gp))&&void 0!==a&&a}(a)?[a,...this.printBreakpoints]:[...this.printBreakpoints,a])}clear(){this.printBreakpoints=[]}}let tn=(()=>{class n{constructor(e,t,r){this.matchMedia=e,this.breakpoints=t,this.hook=r,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 Ie.x,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=yS(e,t);const r=this.activatedBreakpoints.indexOf(t);e.matches&&-1===r?(this._activatedBreakpoints.push(t),this._activatedBreakpoints.sort(gg),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(gg),this.updateStyles())}}init(e,t,r,l,c=[]){DS(this.updateMap,e,t,r),DS(this.clearMap,e,t,l),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,c)}getValue(e,t,r){const l=this.elementMap.get(e);if(l){const c=void 0!==r?l.get(r):this.getActivatedValues(l,t);if(c)return c.get(t)}}hasValue(e,t){const r=this.elementMap.get(e);if(r){const l=this.getActivatedValues(r,t);if(l)return void 0!==l.get(t)||!1}return!1}setValue(e,t,r,l){var c;let s=this.elementMap.get(e);if(s){const d=(null!==(c=s.get(l))&&void 0!==c?c:new Map).set(t,r);s.set(l,d),this.elementMap.set(e,s)}else s=(new Map).set(l,(new Map).set(t,r)),this.elementMap.set(e,s);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe((0,Ft.h)(r=>r.element===e&&r.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const r=new Set(this.elementKeyMap.get(t));let l=this.getActivatedValues(e);l&&l.forEach((c,s)=>{this.updateElement(t,s,c),r.delete(s)}),r.forEach(c=>{if(l=this.getActivatedValues(e,c),l){const s=l.get(c);this.updateElement(t,c,s)}else this.clearElement(t,c)})})}clearElement(e,t){const r=this.clearMap.get(e);if(r){const l=r.get(t);l&&(l(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,r){const l=this.updateMap.get(e);if(l){const c=l.get(t);c&&(c(r),this.subject.next({element:e,key:t,value:r}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(l=>l.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((l,c)=>r.delete(c)),this.elementMap.delete(e))}triggerUpdate(e,t){const r=this.elementMap.get(e);if(r){const l=this.getActivatedValues(r,t);l&&(t?this.updateElement(e,t,l.get(t)):l.forEach((c,s)=>this.updateElement(e,s,c)))}}buildElementKeyMap(e,t){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(t)}watchExtraTriggers(e,t,r){if(r&&r.length){let l=this.watcherMap.get(e);if(l||(l=new Map,this.watcherMap.set(e,l)),!l.get(t)){const s=(0,Ri.T)(...r).subscribe(()=>{const o=this.getValue(e,t);this.updateElement(e,t,o)});l.set(t,s)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let l=0;lt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,Dt.b)(this.hook.interceptEvents(this)),(0,Ft.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(qC),i.LFG(YC),i.LFG($L))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DS(n,a,e,t){var r;if(void 0!==t){const l=null!==(r=n.get(a))&&void 0!==r?r:new Map;l.set(e,t),n.set(a,l)}}let dn=(()=>{class n{constructor(e,t,r,l){this.elementRef=e,this.styleBuilder=t,this.styler=r,this.marshal=l,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Ie.x,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 r=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,r)}})}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 r=this.styleBuilder,l=r.shouldCache;let c=this.styleCache.get(e);(!c||!l)&&(c=r.buildStyles(e,t),l&&this.styleCache.set(e,c)),this.mru=Object.assign({},c),this.applyStyleToElement(c),r.sideEffect(e,c,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[r,l]=this.styler.getFlowDirection(e);if(!l&&t){const c=_S(r);this.styler.applyStyleToElements(c,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,r=this.nativeElement){this.styler.applyStyleToElement(r,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(Ui),i.Y36(tn))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class hk{constructor(a,e,t=!0){this.key=a,this.value=e,this.key=t?a.replace(/['"]/g,"").trim():a.trim(),this.value=t?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function PS(n){let a=typeof n;return"object"===a?n.constructor===Array?"array":n.constructor===Set?"set":"object":a}function OS(n){const[a,...e]=n.split(":");return new hk(a,e.join(":"))}function IS(n,a){return a.key&&(n[a.key]=a.value),n}let mk=(()=>{class n extends dn{constructor(e,t,r,l,c,s,o,d,u){var h;super(e,null,t,r),this.sanitizer=l,this.ngStyleInstance=o,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new w.PC(e,c,s)),this.init();const f=null!==(h=this.nativeElement.getAttribute("style"))&&void 0!==h?h:"";this.fallbackStyles=this.buildStyleMap(f),this.isServer=d&&(0,w.PM)(u)}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=r=>{var l;return null!==(l=this.sanitizer.sanitize(i.q3G.STYLE,r))&&void 0!==l?l:""};if(e)switch(PS(e)){case"string":return BS(function pk(n,a=";"){return String(n).trim().split(a).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return BS(e,t);default:return function RS(n,a){let e=[];return"set"===PS(n)?n.forEach(t=>e.push(t)):Object.keys(n).forEach(t=>{e.push(`${t}:${n[t]}`)}),function fk(n,a){return n.map(OS).filter(t=>!!t).map(t=>(a&&(t.value=a(t.value)),t)).reduce(IS,{})}(e,a)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(tn),i.Y36(mr),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(w.PC,10),i.Y36(Up),i.Y36(i.Lbi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const gk=["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 vA=(()=>{class n extends mk{constructor(){super(...arguments),this.inputs=gk}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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 BS(n,a){return n.map(OS).filter(t=>!!t).map(t=>(a&&(t.value=a(t.value)),t)).reduce(IS,{})}let NS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC]]}),n})();const UC=function(n){return{color:n}};function _k(n,a){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,UC,e.iconColor))}}function bk(n,a){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 Ak=(()=>{class n{constructor(e,t,r,l){this.authService=e,this.authzResolverService=t,this.notificator=r,this.translateService=l}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gd),i.Y36(Zi),i.Y36(ir),i.Y36(Le))},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,_k,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,bk,3,3,"button",7),i.qZA()),2&e){const r=i.MAs(12);i.Q6J("ngIf",t.url),i.xp6(5),i.Oqu(t.label),i.xp6(1),i.Q6J("matMenuTriggerFor",r),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,UC,t.iconColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(13,UC,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:[w.O5,It,ng,tr,Wi,w.PC,hC,tc],pipes:[me],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const VS=function(n){return{color:n}};function yk(n,a){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,VS,e.iconColor))}}function Mk(n,a){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 wk=function(n){return{background:n}},Ck=function(){return[]},vk=function(){return["/"]};let Tk=(()=>{class n{constructor(e,t,r,l){this.storeService=e,this.sanitizer=t,this.translate=r,this.otherApplicationService=l,this.sidenavToggle=new i.vpe,this.hideToggle=!1,this.disableLogo=!1,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.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($t),i.Y36(mr),i.Y36(Le),i.Y36(lA))},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"],["aria-label","Menu","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"],["aria-label","Menu","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,yk,3,3,"button",2),i._UZ(3,"a",3),i.TgZ(4,"p",4),i._uU(5),i.qZA(),i.qZA(),i.YNc(6,Mk,7,0,"div",5),i._UZ(7,"perun-web-apps-header-menu",6),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(13,wk,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,Ck):i.DdM(16,vk)),i.xp6(1),i.Q6J("ngStyle",i.VKq(17,VS,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:[EL,w.PC,vA,w.O5,It,Wi,na,Ak],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})();var zS=T(9718);const TA=["*"],xk=["content"];function Sk(n,a){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 Ek(n,a){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const Dk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Hk=["mat-drawer","mat-drawer-content","*"];function Lk(n,a){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 kk(n,a){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const Pk=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Rk=["mat-sidenav","mat-sidenav-content","*"],FS={transformDrawer:ti("transform",[St("open, open-instant",Ne({transform:"none",visibility:"visible"})),St("void",Ne({"box-shadow":"none",visibility:"hidden"})),vt("void => open-instant",_t("0ms")),vt("void <=> open, open-instant => void",_t("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Ik=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Bk(){return!1}}),GC=new i.OlP("MAT_DRAWER_CONTAINER");let xA=(()=>{class n extends Qo{constructor(e,t,r,l,c){super(r,l,c),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)(()=>qS)),i.Y36(i.SBq),i.Y36(Xo),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:Qo,useExisting:n}]),i.qOj],ngContentSelectors:TA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),jS=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=l,this._ngZone=c,this._interactivityChecker=s,this._doc=o,this._container=d,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Ie.x,this._animationEnd=new Ie.x,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Ft.h)(u=>u),(0,Ct.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Ft.h)(u=>u.fromState!==u.toState&&0===u.toState.indexOf("open")),(0,zS.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Ft.h)(u=>!u),(0,Ct.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Ft.h)(u=>u.fromState!==u.toState&&"void"===u.toState),(0,zS.h)(void 0)),this._destroyed=new Ie.x,this.onPositionChanged=new i.vpe,this._modeChanged=new Ie.x,this.openedChange.subscribe(u=>{u?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Na(this._elementRef.nativeElement,"keydown").pipe((0,Ft.h)(u=>27===u.keyCode&&!this.disableClose&&!Ln(u)),dt(this._destroyed)).subscribe(u=>this._ngZone.run(()=>{this.close(),u.stopPropagation(),u.preventDefault()}))}),this._animationEnd.pipe(Cr((u,h)=>u.fromState===h.fromState&&u.toState===h.toState)).subscribe(u=>{const{fromState:h,toState:f}=u;(0===f.indexOf("open")&&"void"===h||"void"===f&&0===h.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=$e(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=$e(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle($e(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,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 r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Ut.q)(1)).subscribe(c=>l(c?"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,r=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.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(Ph),i.Y36(oa),i.Y36(wi),i.Y36(i.R0b),i.Y36(Wd),i.Y36(w.K0,8),i.Y36(GC,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(xk,5),2&e){let r;i.iGM(r=i.CRH())&&(t._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(l){return t._animationStarted.next(l)})("@transform.done",function(l){return t._animationEnd.next(l)}),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:TA,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:[Qo],encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),n})(),qS=(()=>{class n{constructor(e,t,r,l,c,s=!1,o){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=l,this._animationMode=o,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new Ie.x,this._doCheckSubject=new Ie.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Ie.x,e&&e.change.pipe(dt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),c.change().pipe(dt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=$e(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:$e(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(hi(this._allDrawers),dt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(hi(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,Dh.b)(10),dt(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 r=this._left._getWidth();e+=r,t-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();t+=r,e-=r}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,Ft.h)(t=>t.fromState!==t.toState),dt(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(dt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(dt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(dt((0,Ri.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_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(Fn,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(so),i.Y36(Ik),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,xA,5),i.Suo(r,jS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(xA,5),2&e){let r;i.iGM(r=i.CRH())&&(t._userContent=r.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:GC,useExisting:n}])],ngContentSelectors:Hk,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(Dk),i.YNc(0,Sk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Ek,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[xA,w.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[style*="visibility: hidden"]{display:none}.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})(),ZC=(()=>{class n extends xA{constructor(e,t,r,l,c){super(e,t,r,l,c)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>WS)),i.Y36(i.SBq),i.Y36(Xo),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:Qo,useExisting:n}]),i.qOj],ngContentSelectors:TA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),YS=(()=>{class n extends jS{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=$e(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Xi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Xi(e)}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:TA,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:[Qo],encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),n})(),WS=(()=>{class n extends qS{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,ZC,5),i.Suo(r,YS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},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:GC,useExisting:n}]),i.qOj],ngContentSelectors:Rk,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(Pk),i.YNc(0,Lk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,kk,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[ZC,w.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[style*="visibility: hidden"]{display:none}.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})(),$C=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,za],za,ut]}),n})(),Nk=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),t=[];return e.forEach(l=>{switch(l){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"consents":t.push({label:"MENU_ITEMS.CONSENTS",icon:"fact_check",link:"/profile/consents",activatedRegex:"^/profile/consents",tabName:"consents"});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(l=>{const c={icon:"insert_link",link:l.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(o=>{var d;c[`label_${o}`]=null!==(d=String(l[`label_${o}`]))&&void 0!==d?d:l.label_en}),t.push(c)}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),JC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();const XC=["*"],Vk=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],zk=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],GS=Oa(pa(class{})),Wk=pa(class{}),ZS=new i.OlP("MatList"),$S=new i.OlP("MatNavList");let Uk=(()=>{class n extends GS{constructor(){super(...arguments),this._stateChanges=new Ie.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:$S,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:XC,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),QC=(()=>{class n extends GS{constructor(e){super(),this._elementRef=e,this._stateChanges=new Ie.x,"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:ZS,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:XC,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),JS=(()=>{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})(),XS=(()=>{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})(),SA=(()=>{class n extends Wk{constructor(e,t,r,l){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new Ie.x,this._disabled=!1,this._isInteractiveList=!!(r||l&&"action-list"===l._getListType()),this._list=r||l;const c=this._getHostElement();"button"===c.nodeName.toLowerCase()&&!c.hasAttribute("type")&&c.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(dt(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=$e(e)}ngAfterContentInit(){!function z0(n,a,e="mat"){n.changes.pipe(hi(n)).subscribe(({length:t})=>{ql(a,`${e}-2-line`,!1),ql(a,`${e}-3-line`,!1),ql(a,`${e}-multi-line`,!1),2===t||3===t?ql(a,`${e}-${t}-line`,!0):t>3&&ql(a,`${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($S,8),i.Y36(ZS,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,JS,5),i.Suo(r,XS,5),i.Suo(r,Gc,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._avatar=l.first),i.iGM(l=i.CRH())&&(t._icon=l.first),i.iGM(l=i.CRH())&&(t._lines=l)}},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:zk,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(Vk),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:[hr],encapsulation:2,changeDetection:0}),n})(),KC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Zc,Tr,ut,su,w.ez],Zc,ut,su,JC]}),n})(),KS=(()=>{class n{transform(e,t,r){return e[`${r}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})();const Qk=function(n){return{color:n}};function Kk(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return l.external?c.goToURL(l.link):c.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=a.$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,Qk,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 eP=(()=>{class n{constructor(e,t,r,l){this.sideMenuItemService=e,this.storeService=t,this.router=r,this.translateService=l,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=r.url,r.events.subscribe(c=>{c instanceof ne&&(this.currentUrl=c.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:r}=t;this.lang=r});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(Nk),i.Y36($t),i.Y36(Mi),i.Y36(Le))},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,Kk,8,18,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Uk,w.sg,SA,hr,w.PC,vA,Ha,Wi],pipes:[KS,me,ii],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 tP(n,a){if(1&n&&(i.TgZ(0,"span",1),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("routerLink",e.routerLink),i.xp6(1),i.Oqu(e.label)}}let iP=(()=>{class n{constructor(e,t,r){this.router=e,this.activatedRoute=t,this.translate=r,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,Ft.h)(e=>e instanceof ne)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,t=""){const r=e.children;0===r.length||"service-access"===r[0].snapshot.routeConfig.path||r.forEach(l=>{const c=l.snapshot.url.map(o=>o.path).join("/");""!==c&&(t+=`/${c}`);const s=this.translate.instant(l.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return s&&(!this.menuItems[this.menuItems.length-1]||s!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:s,routerLink:t}),this.createBreadcrumbs(l,t)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),i.Y36(Le))},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,tP,3,2,"span",0),2&e&&i.Q6J("ngForOf",t.menuItems)},directives:[w.sg,na],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 nP(n,a){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 rP=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.translate=t,this.notificator=r,this.rtMessages=l,this.storeService=c,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",T(4147).i8)}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(Le),i.Y36(ir),i.Y36(fn),i.Y36($t))},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(l){return t.subject=l}),i.qZA(),i.YNc(10,nP,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(l){return t.message=l}),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 r=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",r.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",r.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[kn,Pn,ln,Vr,Rn,bn,Fr,Vi,fs,w.O5,ed,B_,vn,It],pipes:[me],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),aP=(()=>{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})(),sP=(()=>{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 oP(n,a){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 lP(n,a){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 cP(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,oP,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,lP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=a.$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 dP=function(n){return{"min-height":n}};function uP(n,a){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,cP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,dP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const _d=function(n){return{color:n}};function hP(n,a){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,_d,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function pP(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw(3).openDialog(r.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,_d,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function fP(n,a){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,_d,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function mP(n,a){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,_d,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function gP(n,a){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,hP,2,4,"i",17),i.YNc(2,pP,3,8,"span",18),i.YNc(3,fP,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=a.$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 _P=function(n){return{height:n}};function bP(n,a){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,gP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,_P,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function AP(n,a){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,uP,2,4,"div",9),i.YNc(5,bP,2,4,"div",9),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,_d,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 yP(n,a){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=a.index,r=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,_d,r.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const MP=function(n){return{background:n}};let eE=(()=>{class n{constructor(e,t,r){this.storeService=e,this.translateService=t,this.dialog=r,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=T(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Ei();"reportIssue"===e&&(t.width="550px",this.dialog.open(rP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Le),i.Y36(en))},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,AP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,yP,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,MP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.footerColumns),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,_d,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,_d,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[w.PC,w.sg,w.O5],pipes:[KS,aP,sP],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 wP(n,a){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 CP(n,a){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)}}const vP=function(n){return{color:n}};function TP(n,a){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,vP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const xP=function(n,a){return{background:n,color:a}},SP=function(n,a){return{"min-height":n,"background-color":a}};let EP=(()=>{class n{constructor(e,t,r,l){this.storeService=e,this.sanitizer=t,this.preferredLangService=r,this.translateService=l,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($t),i.Y36(mr),i.Y36(TC),i.Y36(Le))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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,wP,2,1,"div",1),i.YNc(2,CP,3,1,"div",2),i.YNc(3,TP,2,4,"p",3),i.qZA(),i.TgZ(4,"div",4),i.TgZ(5,"div",5),i.TgZ(6,"div",6),i._UZ(7,"router-outlet"),i.qZA(),i.TgZ(8,"div",7),i._UZ(9,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(5,xP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(8,SP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[w.PC,w.O5,Wi,Ar,eE],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),n})();const DP=["footer"],tE=function(n){return{background:n}},HP=function(n){return{"min-height":n}};function LP(n,a){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,tE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(8,tE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,HP,t.contentHeight))}}function kP(n,a){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 PP=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this.store=e,this.attributesManagerService=t,this.translateService=r,this.initAuth=l,this.changeDetector=c,this.preferredLangService=s,this.titleService=o,this.document=d,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()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{const t=this.store.get("document_title",e.lang);this.titleService.setTitle(t),this.document.documentElement.lang=e.lang}),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=>{var t;const r=e.find(s=>"preferredLanguage"===s.friendlyName),l=null!==(t=null==r?void 0:r.value)&&void 0!==t?t:null,c=this.preferredLangService.getPreferredLanguage(l);this.translateService.use(c)})}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){var e,t,r,l;const c=null!==(l=null===(r=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===r?void 0:r.toString())&&void 0!==l?l:"0";this.contentHeight="calc(100vh - 84px - "+c+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(Le),i.Y36(CC),i.Y36(i.sBO),i.Y36(TC),i.Y36(lt),i.Y36(w.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(DP,5),2&e){let r;i.iGM(r=i.CRH())&&(t.footer=r.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,LP,14,12,"ng-template",0),i.YNc(1,kP,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:[w.O5,CL,Tk,WS,YS,w.PC,vA,eP,ZC,iP,Ar,eE,EP],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 iE=T(1158);function RP(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",15),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().index;return i.oxw().removeValue(r)}),i.TgZ(1,"mat-icon"),i._uU(2," indeterminate_check_box "),i.qZA(),i.qZA()}}function OP(n,a){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 l=i.CHM(e).index,c=i.oxw();return c.readonly&&c.attribute.displayName&&c.showValue(c.keys[l],c.attribute.displayName)})("ngModelChange",function(r){const c=i.CHM(e).index;return i.oxw().keys[c]=r}),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 l=i.CHM(e).$implicit,c=i.oxw();return c.readonly&&void 0!==c.attribute.displayName&&c.showValue(l,c.attribute.displayName)})("ngModelChange",function(r){const c=i.CHM(e).index;return i.oxw().values[c]=r}),i.qZA(),i.qZA(),i.YNc(7,RP,3,0,"button",14),i.qZA()}if(2&n){const e=a.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 IP(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function BP(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function NP(n,a){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,IP,2,0,"mat-icon",17),i.YNc(2,BP,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 VP(n,a){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 zP=(()=>{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=new Map(Object.entries(this.attribute.value));for(const[t,r]of e.entries())this.keys.push(t),this.values.push(r)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Nu(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:[Hm,Mu,lo,w.sg,ln,Rn,bn,Fr,Vi,fs,w.O5,It,Wi,tr],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 FP=["input"],jP=function(n){return{enterDuration:n}},qP=["*"],YP=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:nE});function nE(){return{color:"accent",clickAction:"check-indeterminate"}}let WP=0;const rE=nE(),UP={provide:Kn,useExisting:(0,i.Gpc)(()=>lc),multi:!0};class GP{}const ZP=Jo(Ia(pa(Oa(class{constructor(n){this._elementRef=n}}))));let lc=(()=>{class n extends ZP{constructor(e,t,r,l,c,s,o){super(e),this._changeDetectorRef=t,this._focusMonitor=r,this._ngZone=l,this._animationMode=s,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++WP,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||rE,this.color=this.defaultColor=this._options.color||rE.color,this.tabIndex=parseInt(c)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=$e(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){const t=$e(e);t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=$e(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=$e(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,r=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(l)},1e3)})}}_emitChangeEvent(){const e=new GP;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,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var t;const r=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,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 r="";switch(e){case 0:if(1===t)r="unchecked-checked";else{if(3!=t)return"";r="unchecked-indeterminate"}break;case 2:r=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_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(oa),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(qn,8),i.Y36(YP,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(FP,5),i.Gf(hr,5)),2&e){let r;i.iGM(r=i.CRH())&&(t._inputElement=r.first),i.iGM(r=i.CRH())&&(t.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",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([UP]),i.qOj],ngContentSelectors:qP,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","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(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1),l=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.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",r)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,jP,"NoopAnimations"===t._animationMode?0:150))}},directives:[hr,Hh],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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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})(),aE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),_g=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut,Bc,aE],ut,aE]}),n})(),ev=(()=>{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 XP(n,a){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(r){return i.CHM(e),i.oxw().attribute.value=r}),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 QP(n,a){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 KP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Nu(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,XP,2,4,"mat-checkbox",0),i.YNc(2,QP,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:[w.O5,lc,Vi,fs,Vr],pipes:[ev],styles:[""]}),n})();function tv(n,a,e){for(let t in a)if(a.hasOwnProperty(t)){const r=a[t];r?n.setProperty(t,r,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function Zp(n,a){const e=a?"":"none";tv(n.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function sE(n,a,e){tv(n.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function EA(n,a){return a&&"none"!=a?n+" "+a:n}function oE(n){const a=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*a}function iv(n,a){return n.getPropertyValue(a).split(",").map(t=>t.trim())}function nv(n){const a=n.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function rv(n,a,e){const{top:t,bottom:r,left:l,right:c}=n;return e>=t&&e<=r&&a>=l&&a<=c}function bg(n,a,e){n.top+=a,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function lE(n,a,e,t){const{top:r,right:l,bottom:c,left:s,width:o,height:d}=n,u=o*a,h=d*a;return t>r-h&&ts-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:nv(e)})})}handleScroll(a){const e=sa(a),t=this.positions.get(e);if(!t)return null;const r=t.scrollPosition;let l,c;if(e===this._document){const d=this.getViewportScrollPosition();l=d.top,c=d.left}else l=e.scrollTop,c=e.scrollLeft;const s=r.top-l,o=r.left-c;return this.positions.forEach((d,u)=>{d.clientRect&&e!==u&&e.contains(u)&&bg(d.clientRect,s,o)}),r.top=l,r.left=c,{top:s,left:o}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function dE(n){const a=n.cloneNode(!0),e=a.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();a.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const o=this._getTargetHandle(s);o&&!this._disabledHandles.has(o)&&!this.disabled&&this._initializeDragSequence(o,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{const o=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging){if(Math.abs(o.x-this._pickupPositionOnPage.x)+Math.abs(o.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),N=this._dropContainer;if(!b)return void this._endDragSequence(s);(!N||!N.isDragging()&&!N.isReceiving())&&(s.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(s)))}return}s.preventDefault();const d=this._getConstrainedPointerPosition(o);if(this._hasMoved=!0,this._lastKnownPointerPosition=o,this._updatePointerDirectionDelta(d),this._dropContainer)this._updateActiveDropContainer(d,o);else{const u=this._activeTransform;u.x=d.x-this._pickupPositionOnPage.x+this._passiveTransform.x,u.y=d.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(u.x,u.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:d,event:s,distance:this._getDragDistance(d),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){const o=this._getTargetHandle(s);o&&!this._disabledHandles.has(o)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new cE(t),c.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=$e(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Zp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>Qi(t)),this._handles.forEach(t=>Zp(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=Qi(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,DA),e.addEventListener("touchstart",this._pointerDown,fE),e.addEventListener("dragstart",this._nativeDragStart,DA)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?Qi(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),Zp(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),Zp(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){Ag(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,r=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),c=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();r.insertBefore(c,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),sE(t,!1,av),this._document.body.appendChild(r.replaceChild(l,t)),this._getPreviewInsertionPoint(r,s).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),r=Ag(e),l=!r&&0!==e.button,c=this._rootElement,s=sa(e),o=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),d=r?Wf(e):Yf(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||o||d)return;if(this._handles.length){const f=c.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=nv(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){sE(this._rootElement,!0,av),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(a),l=this._getDragDistance(r),c=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:l,dropPoint:r}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:l,dropPoint:r}),e.drop(this,t,this._initialIndex,this._initialContainer,c,l,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:r}){let l=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,a,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,r),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let r;if(t&&a){const l=a.matchSize?this._rootElement.getBoundingClientRect():null,c=a.viewContainer.createEmbeddedView(t,a.context);c.detectChanges(),r=gE(c,this._document),this._previewRef=c,a.matchSize?_E(r,l):r.style.transform=HA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;r=dE(l),_E(r,l.getBoundingClientRect()),this._initialTransform&&(r.style.transform=this._initialTransform)}return tv(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},av),Zp(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>r.classList.add(l)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function tR(n){const a=getComputedStyle(n),e=iv(a,"transition-property"),t=e.find(s=>"transform"===s||"all"===s);if(!t)return 0;const r=e.indexOf(t),l=iv(a,"transition-duration"),c=iv(a,"transition-delay");return oE(l[r])+oE(c[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const r=c=>{var s;(!c||sa(c)===this._preview&&"transform"===c.propertyName)&&(null===(s=this._preview)||void 0===s||s.removeEventListener("transitionend",r),t(),clearTimeout(l))},l=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=gE(this._placeholderRef,this._document)):t=dE(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),r=a===this._rootElement?null:a,l=r?r.getBoundingClientRect():t,c=Ag(e)?e.targetTouches[0]:e,s=this._getViewportScrollPosition();return{x:l.left-t.left+(c.pageX-l.left-s.left),y:l.top-t.top+(c.pageY-l.top-s.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=Ag(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,r=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=l,s.matrixTransform(c.inverse())}}return{x:r,y:l}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:r}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:c}=this._pickupPositionInElement,s=this._boundaryRect,{width:o,height:d}=this._getPreviewRect(),u=s.top+c,h=s.bottom-(d-c);t=mE(t,s.left+l,s.right-(o-l)),r=mE(r,u,h)}return{x:t,y:r}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,r=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,c=Math.abs(e-l.x),s=Math.abs(t-l.y);return c>this._config.pointerDirectionChangeThreshold&&(r.x=e>l.x?1:-1,l.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=t>l.y?1:-1,l.y=t),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Zp(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,DA),a.removeEventListener("touchstart",this._pointerDown,fE),a.removeEventListener("dragstart",this._nativeDragStart,DA)}_applyRootElementTransform(a,e){const t=HA(a,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=EA(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const r=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=HA(a,e);this._preview.style.transform=EA(l,r)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 l=t.left-r.left,c=r.right-t.right,s=t.top-r.top,o=r.bottom-t.bottom;t.width>r.width?(l>0&&(a+=l),c>0&&(a-=c)):a=0,t.height>r.height?(s>0&&(e+=s),o>0&&(e-=o)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:Ag(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=sa(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&bg(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ch(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Qi(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function HA(n,a){return`translate3d(${Math.round(n)}px, ${Math.round(a)}px, 0)`}function mE(n,a,e){return Math.max(a,Math.min(e,n))}function Ag(n){return"t"===n.type[0]}function gE(n,a){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(r=>t.appendChild(r)),t}function _E(n,a){n.style.width=`${a.width}px`,n.style.height=`${a.height}px`,n.style.transform=HA(a.left,a.top)}function bE(n,a,e){const t=yg(a,n.length-1),r=yg(e,n.length-1);if(t===r)return;const l=n[t],c=r!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ie.x,this.entered=new Ie.x,this.exited=new Ie.x,this.dropped=new Ie.x,this.sorted=new Ie.x,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=Wt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ie.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function eR(n=0,a=ap.z){return n<0&&(n=0),(0,$0.H)(n,n,a)}(0,BM).pipe(dt(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,s=this.autoScrollStep;1===this._verticalScrollDirection?c.scrollBy(0,-s):2===this._verticalScrollDirection&&c.scrollBy(0,s),1===this._horizontalScrollDirection?c.scrollBy(-s,0):2===this._horizontalScrollDirection&&c.scrollBy(s,0)})},this.element=Qi(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new cE(t)}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(a,e,t,r){let l;this._draggingStarted(),null==r?(l=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(a,e,t))):l=r;const c=this._activeDraggables,s=c.indexOf(a),o=a.getPlaceholderElement();let d=c[l];if(d===a&&(d=c[l+1]),!d&&(null==l||-1===l||l-1&&c.splice(s,1),d&&!this._dragDropRegistry.isDragging(d)){const u=d.getRootElement();u.parentElement.insertBefore(o,u),c.splice(l,0,a)}else Qi(this.element).appendChild(o),c.push(a);o.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,r,l,c,s){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:r,isPointerOverContainer:l,distance:c,dropPoint:s})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===a.indexOf(r))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=Qi(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,r){if(this.sortingDisabled||!this._clientRect||!lE(this._clientRect,.05,e,t))return;const l=this._itemPositions,c=this._getItemIndexFromPointerPosition(a,e,t,r);if(-1===c&&l.length>0)return;const s="horizontal"===this._orientation,o=l.findIndex(fe=>fe.drag===a),d=l[c],h=d.clientRect,f=o>c?1:-1,b=this._getItemOffsetPx(l[o].clientRect,h,f),N=this._getSiblingOffsetPx(o,l,f),Q=l.slice();bE(l,o,c),this.sorted.next({previousIndex:o,currentIndex:c,container:this,item:a}),l.forEach((fe,je)=>{if(Q[je]===fe)return;const Mt=fe.drag===a,gt=Mt?b:N,ei=Mt?a.getPlaceholderElement():fe.drag.getRootElement();fe.offset+=gt,s?(ei.style.transform=EA(`translate3d(${Math.round(fe.offset)}px, 0, 0)`,fe.initialTransform),bg(fe.clientRect,0,gt)):(ei.style.transform=EA(`translate3d(0, ${Math.round(fe.offset)}px, 0)`,fe.initialTransform),bg(fe.clientRect,gt,0))}),this._previousSwap.overlaps=rv(h,e,t),this._previousSwap.drag=d.drag,this._previousSwap.delta=s?r.x:r.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,r=0,l=0;if(this._parentPositions.positions.forEach((c,s)=>{s===this._document||!c.clientRect||t||lE(c.clientRect,.05,a,e)&&([r,l]=function sR(n,a,e,t){const r=ME(a,t),l=wE(a,e);let c=0,s=0;if(r){const o=n.scrollTop;1===r?o>0&&(c=1):n.scrollHeight-o>n.clientHeight&&(c=2)}if(l){const o=n.scrollLeft;1===l?o>0&&(s=1):n.scrollWidth-o>n.clientWidth&&(s=2)}return[c,s]}(s,c.clientRect,a,e),(r||l)&&(t=s))}),!r&&!l){const{width:c,height:s}=this._viewportRuler.getViewportSize(),o={width:c,height:s,top:0,right:c,bottom:s,left:0};r=ME(o,e),l=wE(o,a),t=window}t&&(r!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=l,this._scrollNode=t,(r||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=Qi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=Qi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:nv(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=Qi(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const r=e.getRootElement();if(r){const l=null===(t=this._itemPositions.find(c=>c.drag===e))||void 0===t?void 0:t.initialTransform;r.style.transform=l||""}}),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(a,e,t){const r="horizontal"===this._orientation,l=e[a].clientRect,c=e[a+-1*t];let s=l[r?"width":"height"]*t;if(c){const o=r?"left":"top",d=r?"right":"bottom";-1===t?s-=c.clientRect[o]-l[d]:s+=l[o]-c.clientRect[d]}return s}_getItemOffsetPx(a,e,t){const r="horizontal"===this._orientation;let l=r?e.left-a.left:e.top-a.top;return-1===t&&(l+=r?e.width-a.width:e.height-a.height),l}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,r="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const c=t[t.length-1].clientRect;return r?a>=c.right:e>=c.bottom}{const c=t[0].clientRect;return r?a<=c.left:e<=c.top}}_getItemIndexFromPointerPosition(a,e,t,r){const l="horizontal"===this._orientation,c=this._itemPositions.findIndex(({drag:s,clientRect:o})=>{if(s===a)return!1;if(r){const d=l?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&d===this._previousSwap.delta)return!1}return l?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&tr._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!rv(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,t);if(!r)return!1;const l=Qi(this.element);return r===l||l.contains(r)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{bg(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 a=Ch(Qi(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function ME(n,a){const{top:e,bottom:t,height:r}=n,l=.05*r;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}function wE(n,a){const{left:e,right:t,width:r}=n,l=.05*r;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}const LA=aa({passive:!1,capture:!0});let oR=(()=>{class n{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 Ie.x,this.pointerUp=new Ie.x,this.scroll=new Ie.x,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,LA)})}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,LA)}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:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:LA}),r||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:LA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,c)=>{this._document.addEventListener(c,l.handler,l.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 an.y(r=>this._ngZone.runOutsideAngular(()=>{const c=s=>{this._activeDragInstances.length&&r.next(s)};return e.addEventListener("scroll",c,!0),()=>{e.removeEventListener("scroll",c,!0)}}))),(0,Ri.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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let sv=(()=>{class n{constructor(e,t,r,l){this._document=e,this._ngZone=t,this._viewportRuler=r,this._dragDropRegistry=l}createDrag(e,t=lR){return new rR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new aR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(i.R0b),i.LFG(so),i.LFG(oR))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CE=new i.OlP("CDK_DRAG_PARENT"),vE=new i.OlP("CdkDropListGroup"),TE=new i.OlP("CDK_DRAG_CONFIG");let cR=0;const xE=new i.OlP("CdkDropList");let dR=(()=>{class n{constructor(e,t,r,l,c,s,o){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=l,this._dir=c,this._group=s,this._destroyed=new Ie.x,this.connectedTo=[],this.id="cdk-drop-list-"+cR++,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,o&&this._assignDefaults(o),this._dropListRef.enterPredicate=(d,u)=>this.enterPredicate(d.data,u.data),this._dropListRef.sortPredicate=(d,u,h)=>this.sortPredicate(d,u.data,h.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),s&&s._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=$e(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(hi(this._dir.value),dt(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=Ic(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(c=>c.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===t.indexOf(r)&&t.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(l=>l.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=$e(this.sortingDisabled),e.autoScrollDisabled=$e(this.autoScrollDisabled),e.autoScrollStep=Xi(this.autoScrollStep,2),e.connectedTo(t.filter(r=>r&&r!==this).map(r=>r._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:r,sortingDisabled:l,listAutoScrollDisabled:c,listOrientation:s}=e;this.disabled=null!=r&&r,this.sortingDisabled=null!=l&&l,this.autoScrollDisabled=null!=c&&c,this.orientation=s||"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(sv),i.Y36(i.sBO),i.Y36(Xo),i.Y36(Fn,8),i.Y36(vE,12),i.Y36(TE,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:vE,useValue:void 0},{provide:xE,useExisting:n}])]}),n})();const SE=new i.OlP("CdkDragHandle"),uR=new i.OlP("CdkDragPlaceholder"),hR=new i.OlP("CdkDragPreview");let fR=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.element=e,this.dropContainer=t,this._ngZone=l,this._viewContainerRef=c,this._dir=o,this._changeDetectorRef=u,this._selfHandle=h,this._parentDrag=f,this._destroyed=new Ie.x,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 an.y(b=>{const N=this._dragRef.moved.pipe((0,Ct.U)(Q=>({source:this,pointerPosition:Q.pointerPosition,event:Q.event,delta:Q.delta,distance:Q.distance}))).subscribe(b);return()=>{N.unsubscribe()}}),this._dragRef=d.createDrag(e,{dragStartThreshold:s&&null!=s.dragStartThreshold?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&null!=s.pointerDirectionChangeThreshold?s.pointerDirectionChangeThreshold:5,zIndex:null==s?void 0:s.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),s&&this._assignDefaults(s),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=$e(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,Ut.q)(1),dt(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,r=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),r&&!r.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 r=t;this.rootElementSelector&&(r=void 0!==t.closest?t.closest(this.rootElementSelector):null===(e=t.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||t)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Qi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,r=this.dragStartDelay,l=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,c=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 r&&r?r:Xi(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(l).withPreviewTemplate(c).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,Ut.q)(1)).subscribe(()=>{var t;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){e.withParent((null===(t=n._dragInstances.find(l=>l.element.nativeElement===r))||void 0===t?void 0:t._dragRef)||null);break}r=r.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:r,constrainPosition:l,previewClass:c,boundaryElement:s,draggingDisabled:o,rootElementSelector:d,previewContainer:u}=e;this.disabled=null!=o&&o,this.dragStartDelay=r||0,t&&(this.lockAxis=t),l&&(this.constrainPosition=l),c&&(this.previewClass=c),s&&(this.boundaryElement=s),d&&(this.rootElementSelector=d),u&&(this.previewContainer=u)}_setupHandlesListener(){this._handles.changes.pipe(hi(this._handles),(0,Dt.b)(e=>{const t=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,Li.w)(e=>(0,Ri.T)(...e.map(t=>t._stateChanges.pipe(hi(t))))),dt(this._destroyed)).subscribe(e=>{const t=this._dragRef,r=e.element.nativeElement;e.disabled?t.disableHandle(r):t.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(xE,12),i.Y36(w.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(TE,8),i.Y36(Fn,8),i.Y36(sv),i.Y36(i.sBO),i.Y36(SE,10),i.Y36(CE,12))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,hR,5),i.Suo(r,uR,5),i.Suo(r,SE,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._previewTemplate=l.first),i.iGM(l=i.CRH())&&(t._placeholderTemplate=l.first),i.iGM(l=i.CRH())&&(t._handles=l)}},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:CE,useExisting:n}]),i.TTD]}),n})(),mR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[sv],imports:[za]}),n})();const gR=["*"],EE=new i.OlP("MatChipRemove"),DE=new i.OlP("MatChipAvatar"),HE=new i.OlP("MatChipTrailingIcon");class _R{constructor(a){this._elementRef=a}}const bR=Jo(Ia(pa(_R),"primary"),-1);let kA=(()=>{class n extends bR{constructor(e,t,r,l,c,s,o,d){super(e),this._ngZone=t,this._changeDetectorRef=c,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 Ie.x,this._onBlur=new Ie.x,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=s.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new ip(this,t,this._chipRippleTarget,r),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=l||{},this._animationsDisabled="NoopAnimations"===o,this.tabIndex=null!=d&&parseInt(d)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=$e(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=$e(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=$e(e)}get removable(){return this._removable}set removable(e){this._removable=$e(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,Ut.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(wi),i.Y36(q0,8),i.Y36(i.sBO),i.Y36(w.K0),i.Y36(qn,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,r){if(1&e&&(i.Suo(r,DE,5),i.Suo(r,HE,5),i.Suo(r,EE,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.avatar=l.first),i.iGM(l=i.CRH())&&(t.trailingIcon=l.first),i.iGM(l=i.CRH())&&(t.removeIcon=l.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("keydown",function(l){return t._handleKeydown(l)})("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 LE=new i.OlP("mat-chips-default-options");let wR=0,kE=(()=>{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-"+wR++,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=$e(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=$e(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&&!Ln(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!Ln(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(LE))},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(l){return t._keydown(l)})("keyup",function(l){return t._keyup(l)})("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 CR=B0(class{constructor(n,a,e,t){this._defaultErrorStateMatcher=n,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let vR=0;class TR{constructor(a,e){this.source=a,this.value=e}}let PE=(()=>{class n extends CR{constructor(e,t,r,l,c,s,o){super(s,l,c,o),this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Ie.x,this._uid="mat-chip-list-"+vR++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(d,u)=>d===u,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=$e(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,r,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(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=$e(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=$e(e),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Ri.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Ri.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Ri.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Ri.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Ol(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(dt(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(dt(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(hi(null),dt(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 _n(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&&er.deselect()),Array.isArray(e))e.forEach(r=>this._selectValue(r,t)),this._sortValues();else{const r=this._selectValue(e,t);r&&t&&this._keyManager.setActiveItem(r)}}_selectValue(e,t=!0){const r=this.chips.find(l=>null!=l.value&&this._compareWith(l.value,e));return r&&(t?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r}_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(r=>r.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new TR(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,r=this.chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&t._hasFocus&&(this._lastDestroyedChipIndex=r)})}_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(Fn,8),i.Y36(lo,8),i.Y36(co,8),i.Y36(au),i.Y36(Fa,10))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,kA,5),2&e){let l;i.iGM(l=i.CRH())&&(t.chips=l)}},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(l){return t._keydown(l)}),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:dp,useExisting:n}]),i.qOj],ngContentSelectors:gR,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;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;transform:translateZ(0)}.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})(),ov=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[au,{provide:LE,useValue:{separatorKeyCodes:[13]}}],imports:[[ut]]}),n})();function xR(n,a){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 SR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",10),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().edit(r)}),i._uU(1,"edit"),i.qZA()}}function ER(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",11),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().remove(r)}),i._uU(1,"cancel"),i.qZA()}}function DR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-chip",4),i.NdJ("removed",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.remove(l),c._sendEventToParent()}),i.YNc(1,xR,2,0,"mat-icon",5),i.TgZ(2,"div",6),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.readonly&&void 0!==c.attribute.displayName&&c.showValue(l,c.attribute.displayName)}),i._uU(3),i.qZA(),i.YNc(4,SR,2,0,"mat-icon",7),i.YNc(5,ER,2,0,"mat-icon",8),i.qZA()}if(2&n){const e=a.$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 HR(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function LR(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function kR(n,a){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,HR,2,0,"mat-icon",15),i.YNc(4,LR,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 PR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",12),i.TgZ(1,"input",16),i.NdJ("matChipInputTokenEnd",function(r){return i.CHM(e),i.oxw().add(r)})("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 RR=(()=>{class n{constructor(e,t){this.dialog=e,this.changeDetector=t,this.readonly=!1,this.sendEventToParent=new i.vpe,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5}ngOnInit(){this.removable=!Nu(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=this.attribute.value,this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const t=e.input,r=e.value;(r||"").trim()&&(this.attribute.value.push(r.trim()),this.values=this.attribute.value,this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}remove(e){const t=Ei();t.width="400px",t.data={name:e},this.dialog.open(OH,t).afterClosed().subscribe(l=>{if(l){const c=this.attribute.value.indexOf(e);this.attribute.value.splice(c,1),this.values=this.attribute.value,this.sendEventToParent.emit(),this.changeDetector.detectChanges()}})}drop(e){this.dragDisabled=!0,bE(this.attribute.value,e.previousIndex,e.currentIndex),this.values=this.attribute.value}edit(e){const t=this.attribute.value.indexOf(e),r=Ei();r.width="600px",r.data={attribute:this.attribute,index:t},this.dialog.open(RH,r).afterClosed().subscribe(c=>{c&&(this.values=this.attribute.value,this.sendEventToParent.emit())})}showValue(e,t){const r=Ei();r.width="350px",r.data={value:e,title:t},this.dialog.open(MA,r)}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(en),i.Y36(i.sBO))},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(l){return t.drop(l),t._sendEventToParent()}),i.YNc(3,DR,6,9,"mat-chip",2),i.YNc(4,kR,5,4,"div",3),i.YNc(5,PR,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:[PE,dR,w.sg,kA,fR,w.O5,Wi,tr,It,ln,Rn,kE],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})(),OR=(()=>{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=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,t){const r=Ei();r.width="350px",r.data={value:e,title:t},this.dialog.open(MA,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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(l){return t.attribute.value=l})("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:[ln,Rn,bn,Vi,fs],pipes:[ev],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),IR=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const t=Ei();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(MA,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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(l){return t.attribute.value=l})("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:[ln,Rn,Cp,bn,Vi,fs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const BR=["map"];function NR(n,a){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 VR(n,a){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 zR(n,a){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 FR(n,a){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 jR(n,a){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 lv=(()=>{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(BR,5),2&e){let r;i.iGM(r=i.CRH())&&(t.mapComponent=r.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,NR,1,2,"perun-web-apps-attribute-value-boolean",0),i.YNc(2,VR,1,2,"perun-web-apps-attribute-value-list",0),i.TgZ(3,"div",1),i.NdJ("click",function(){return t._sendEventToParent2()}),i.YNc(4,zR,2,2,"perun-web-apps-attribute-value-map",2),i.qZA(),i.YNc(5,FR,1,2,"perun-web-apps-attribute-value-string",0),i.YNc(6,jR,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:[w.O5,KP,RR,zP,OR,IR],styles:[""]}),n})();function qR(n,a){1&n&&i._UZ(0,"mat-spinner",3)}function YR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeLanguage(l)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"uppercase"),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",i.lcZ(2,2,i.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function WR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",14),i.NdJ("valueChange",function(r){return i.CHM(e),i.oxw(3).currentLang=r}),i.YNc(2,YR,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 UR(n,a){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 GR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeTimeZone(l)}),i._uU(1),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function ZR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",19),i.NdJ("valueChange",function(r){return i.CHM(e),i.oxw(3).currentTimezone=r}),i.YNc(2,GR,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 $R(n,a){1&n&&(i.TgZ(0,"p"),i._uU(1,"-"),i.qZA())}function JR(n,a){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 XR(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,$R,2,0,"p",20),i.YNc(2,JR,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 QR(n,a){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,WR,3,2,"mat-form-field",10),i.YNc(6,UR,6,2,"div",11),i.YNc(7,ZR,3,2,"mat-form-field",10),i.YNc(8,XR,3,2,"div",12),i.qZA(),i.qZA()),2&n){const e=a.$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 KR(n,a){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,QR,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 eO=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.translateService=e,this.dialog=t,this.authzResolverService=r,this.attributesManagerService=l,this.usersManagerService=c,this.route=s,this.router=o,this.notificator=d,this.storeService=u,this.apiRequestConfiguration=h,this.preferredLangService=f,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=iE.tz.names().filter(b=>!b.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(b=>this.successMessage=b)}ngOnInit(){const e=this.route.snapshot.queryParamMap,t=e.get("token"),r=e.get("u");this.loading=!0,t&&r?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(t,Number.parseInt(r,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const l=Ei();l.width="600px",this.dialog.open(GH,l).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{var r,l,c,s,o;this.fullName=(new cA).transform(t);const d=t.userAttributes.find(Q=>"preferredMail"===Q.friendlyName);this.email=null!==(r=null==d?void 0:d.value)&&void 0!==r?r:"-",this.languageAttribute=t.userAttributes.find(Q=>"preferredLanguage"===Q.friendlyName);const u=null!==(c=null===(l=this.languageAttribute)||void 0===l?void 0:l.value)&&void 0!==c?c:null,h=this.preferredLangService.getPreferredLanguage(u);this.translateService.use(h),this.currentLang=h,this.timezoneAttribute=t.userAttributes.find(Q=>"timezone"===Q.friendlyName),this.currentTimezone=null!==(o=null===(s=this.timezoneAttribute)||void 0===s?void 0:s.value)&&void 0!==o?o:"-";const f=this.storeService.get("profile_page_attributes");let b=0;const N=this.storeService.get("supported_languages");f.forEach(Q=>{const fe=t.userAttributes.find(je=>je.friendlyName===Q.friendly_name);fe?(b++,this.addAttribute(fe,Q,N)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${Q.is_virtual?"virt":"def"}:${Q.friendly_name}`).subscribe(je=>{this.addAttribute(je,Q,N),b++,this.loading=b!==f.length}),this.loading=b!==f.length})})})}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=Ei();e.width="350px",e.data={userId:this.userId},this.dialog.open(NH,e).afterClosed().subscribe(r=>{r&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{var t;this.email=null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"-"})}addAttribute(e,t,r){var l,c;const s={attribute:e};for(const o of r)s[`displayName_${o}`]=(null===(l=null==t?void 0:t[`display_name_${o}`])||void 0===l?void 0:l.length)?t[`display_name_${o}`]:e.displayName,s[`tooltip_${o}`]=null!==(c=t[`tooltip_${o}`])&&void 0!==c?c:"";this.additionalAttributes.push(s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le),i.Y36(en),i.Y36(Zi),i.Y36(ri),i.Y36(Ti),i.Y36(Jn),i.Y36(Mi),i.Y36(ir),i.Y36($t),i.Y36(ug),i.Y36(TC))},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,qR,1,0,"mat-spinner",1),i.YNc(2,KR,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:[w.O5,Ci,w.sg,tr,w.RF,w.n9,ln,Hp,ro,It,Wi,w.ED,lv],pipes:[me,ii,w.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})(),tO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-focus-on-linker-dialog"]],decls:9,vars:6,consts:[[1,"text-center","custom-dialog"],[1,"align-text-bottom"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"mat-icon",1),i._uU(3," info "),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div"),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL_WARNING")," "))},directives:[Wi],pipes:[me],styles:[".custom-dialog[_ngcontent-%COMP%]{background-color:#000;color:#fffffff2;font-size:1.2rem}"]}),n})(),iO=(()=>{class n{constructor(e,t,r,l){this.otherApplicationsService=e,this.storeService=t,this.oauthService=r,this.dialog=l}openLinkerWindow(e,t){let r=this.otherApplicationsService.getUrlForOtherApplication("linker");this.storeService.getProperty("use_localhost_linker_url")&&(r="http://localhost:4201/");let l=r+"?formerToken="+this.oauthService.getAccessToken();t&&0!==t.length&&(l+="&idphint="+t.toString());const o=window.top,h=window.open(l,"_blank",`width=600,height=600,top=${o.outerHeight/2+o.screenY-300}, left=${o.outerWidth/2+o.screenX-300}`);let f;if(h){const N=Ei();N.width="450px",N.panelClass="noBorderDialog",f=this.dialog.open(tO,N)}window.addEventListener("message",N=>{sessionStorage.setItem("linkedResult",N.data)});const b=setInterval(()=>{if(h.closed){clearInterval(b),f.close();const N=sessionStorage.getItem("linkedResult");sessionStorage.removeItem("linkedResult"),e(N)}},1e3)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(lA),i.LFG($t),i.LFG(Vu.Ct),i.LFG(en))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nO=["mat-sort-header",""];function rO(n,a){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 aO=["*"],bd=$1.ENTERING+" "+wM.STANDARD_CURVE,$p={indicator:ti("indicator",[St("active-asc, asc",Ne({transform:"translateY(0px)"})),St("active-desc, desc",Ne({transform:"translateY(10px)"})),vt("active-asc <=> active-desc",_t(bd))]),leftPointer:ti("leftPointer",[St("active-asc, asc",Ne({transform:"rotate(-45deg)"})),St("active-desc, desc",Ne({transform:"rotate(45deg)"})),vt("active-asc <=> active-desc",_t(bd))]),rightPointer:ti("rightPointer",[St("active-asc, asc",Ne({transform:"rotate(45deg)"})),St("active-desc, desc",Ne({transform:"rotate(-45deg)"})),vt("active-asc <=> active-desc",_t(bd))]),arrowOpacity:ti("arrowOpacity",[St("desc-to-active, asc-to-active, active",Ne({opacity:1})),St("desc-to-hint, asc-to-hint, hint",Ne({opacity:.54})),St("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Ne({opacity:0})),vt("* => asc, * => desc, * => active, * => hint, * => void",_t("0ms")),vt("* <=> *",_t(bd))]),arrowPosition:ti("arrowPosition",[vt("* => desc-to-hint, * => desc-to-active",_t(bd,eo([Ne({transform:"translateY(-25%)"}),Ne({transform:"translateY(0)"})]))),vt("* => hint-to-desc, * => active-to-desc",_t(bd,eo([Ne({transform:"translateY(0)"}),Ne({transform:"translateY(25%)"})]))),vt("* => asc-to-hint, * => asc-to-active",_t(bd,eo([Ne({transform:"translateY(25%)"}),Ne({transform:"translateY(0)"})]))),vt("* => hint-to-asc, * => active-to-asc",_t(bd,eo([Ne({transform:"translateY(0)"}),Ne({transform:"translateY(-25%)"})]))),St("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Ne({transform:"translateY(0)"})),St("hint-to-desc, active-to-desc, desc",Ne({transform:"translateY(-25%)"})),St("hint-to-asc, active-to-asc, asc",Ne({transform:"translateY(25%)"}))]),allowChildren:ti("allowChildren",[vt("* <=> *",[la("@*",Oh(),{optional:!0})])])};let PA=(()=>{class n{constructor(){this.changes=new Ie.x}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oO={provide:PA,deps:[[new i.FiY,new i.tp0,PA]],useFactory:function sO(n){return n||new PA}},lO=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),cO=J1(Oa(class{}));let Ts=(()=>{class n extends cO{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new Ie.x,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=$e(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,r,l;if(!e)return"";const c=null!==(r=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==r?r:!!(null===(l=this._defaultOptions)||void 0===l?void 0:l.disableClear);let s=function dO(n,a){let e=["asc","desc"];return"desc"==n&&e.reverse(),a||e.push(""),e}(e.start||this.start,c),o=s.indexOf(this.direction)+1;return o>=s.length&&(o=0),s[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lO,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 uO=Oa(class{});let Mg=(()=>{class n extends uO{constructor(e,t,r,l,c,s,o){super(),this._intl=e,this._changeDetectorRef=t,this._sort=r,this._columnDef=l,this._focusMonitor=c,this._elementRef=s,this._ariaDescriber=o,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=$e(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(".mat-sort-header-container"),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,r;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(r=this._ariaDescriber)||void 0===r||r.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Ri.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(PA),i.Y36(i.sBO),i.Y36(Ts,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(oa),i.Y36(i.SBq),i.Y36(kh,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(l){return t._handleKeydown(l)})("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:nO,ngContentSelectors:aO,decls:4,vars:7,consts:[[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,rO,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)("role",t._isDisabled()?null:"button"),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[w.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:[$p.indicator,$p.leftPointer,$p.rightPointer,$p.arrowOpacity,$p.arrowPosition,$p.allowChildren]},changeDetection:0}),n})(),RA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[oO],imports:[[w.ez,ut]]}),n})(),hO=(()=>{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})(),RE=(()=>{class n{onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),r=location.search;window.open(t+r)}}}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(l){return t.onClick(l)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),pO=(()=>{class n{transform(e){var t;const r=e.find(l=>"mail"===l.friendlyName);return null!==(t=null==r?void 0:r.value)&&void 0!==t?t:"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function fO(n,a){1&n&&i._UZ(0,"th",18)}function mO(n,a){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(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$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 gO(n,a){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 _O(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.id," ")}}function bO(n,a){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 AO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.ALo(2,"getMailFromAttributes"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.attributes)," ")}}function yO(n,a){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 MO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function wO(n,a){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 CO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.login," ")}}function vO(n,a){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 TO(n,a){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function xO(n,a){1&n&&i._UZ(0,"tr",26)}const OE=function(n,a){return["/admin","users",n,"identities",a]};function SO(n,a){if(1&n&&i._UZ(0,"tr",27),2&n){const e=a.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.WLB(6,OE,t.userId,e.userExtSource.id))("routerLink",t.disableRouting?null:i.WLB(9,OE,t.userId,e.userExtSource.id))}}function EO(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 DO(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 HO=(()=>{class n{constructor(e,t){this.route=e,this.authResolver=t,this.selection=new _n,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":{const r=e.attributes.find(l=>"mail"===l.friendlyName);return r?r.value:"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]}}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=Number(e.userId)}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new rl(this.userExtSources),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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(Jn),i.Y36(ks))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,fO,1,0,"th",4),i.YNc(5,mO,5,10,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,gO,4,5,"th",7),i.YNc(8,_O,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,bO,4,5,"th",10),i.YNc(11,AO,3,3,"td",8),i.BQk(),i.ynx(12,11),i.YNc(13,yO,4,5,"th",7),i.YNc(14,MO,2,1,"td",8),i.BQk(),i.ynx(15,12),i.YNc(16,wO,4,5,"th",7),i.YNc(17,CO,2,1,"td",8),i.BQk(),i.ynx(18,13),i.YNc(19,vO,4,5,"th",7),i.YNc(20,TO,3,4,"td",14),i.BQk(),i.YNc(21,xO,1,0,"tr",15),i.YNc(22,SO,1,12,"tr",16),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,EO,3,3,"perun-web-apps-alert",17),i.YNc(24,DO,4,5,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,ys,vs,tr,lc,Mg,po,mo,fo,go,RE,Ha,w.O5,Wn],pipes:[me,ii,pO,w.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 LO(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function kO(n,a){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 r=i.oxw(2);return r.removeIdentity(r.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 PO(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().addIdentity()}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",6),i.NdJ("click",function(){i.CHM(e);const r=i.oxw();return r.removeIdentity(r.idpSelection)}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i._UZ(9,"perun-web-apps-user-ext-sources-list",7),i.YNc(10,kO,14,22,"div",3),i.TgZ(11,"h1",8),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.TgZ(15,"mat-icon",9),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i._uU(18," info_outline "),i.qZA(),i.qZA(),i._UZ(19,"perun-web-apps-user-ext-sources-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,16,i.lcZ(4,18,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.idpSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(7,20,i.lcZ(8,22,"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(13,24,i.lcZ(14,26,"IDENTITIES.OTHER"))," "),i.xp6(3),i.Q6J("matTooltip",i.lcZ(16,28,i.lcZ(17,30,"IDENTITIES.OTHER_TOOLTIP"))),i.xp6(4),i.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let RO=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this.usersManagerService=e,this.storage=t,this.dialog=r,this.attributesManagerService=l,this.translate=c,this.notificator=s,this.registrarManagerService=o,this.openLinkerService=d,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new _n(!0,[]),this.certSelection=new _n(!0,[]),this.otherSelection=new _n(!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(r=>{this.attributesManagerService.getUserExtSourceAttributeByName(r.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(l=>{(null==l?void 0:l.value)?(r.userExtSource.extSource.name=l.value,t--,this.loading=0!==t,this.addToList(r)):this.attributesManagerService.getUserExtSourceAttributeByName(r.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(c=>{t--,(null==c?void 0:c.value)&&(r.userExtSource.extSource.name=c.value),this.loading=0!==t,this.addToList(r)})})})})}removeIdentity(e){const t=Ei();t.width="600px",t.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(HH,t).afterClosed().subscribe(l=>{l&&(e.clear(),this.refreshTables())})}addIdentity(){this.storage.getProperty("use_new_consolidator")?this.openLinkerService.openLinkerWindow(e=>{"TOKEN_EXPIRED"===e?location.reload():"OK"===e?(this.notificator.showSuccess(this.translate.instant("IDENTITIES.SUCCESSFULLY_ADDED")),this.refreshTables()):"MESSAGE_SENT_TO_SUPPORT"===e&&this.notificator.showSuccess(this.translate.instant("IDENTITIES.MESSAGE_SENT_TO_SUPPORT"))}):this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const t=this.storage.getPerunPrincipal().extSourceType,r=this.storage.get("consolidator_base_url");window.location.href=`${r}${(null==t?void 0:t.endsWith("X509"))?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}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(Ti),i.Y36($t),i.Y36(en),i.Y36(ri),i.Y36(Le),i.Y36(ir),i.Y36(li),i.Y36(iO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:7,vars:7,consts:[[1,"user-theme"],[1,"page-title"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent",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.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,LO,1,0,"mat-spinner",2),i.YNc(6,PO,20,32,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"IDENTITIES.IDP"))),i.xp6(3),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[w.O5,Ci,It,HO,Wi,tr],pipes:[me,ii],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const OO=["panel"];function IO(n,a){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const e=a.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 BO=["*"];let NO=0;class VO{constructor(a,e){this.source=a,this.option=e}}const zO=pa(class{}),IE=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function FO(){return{autoActiveFirstOption:!1}}});let jO=(()=>{class n extends zO{constructor(e,t,r,l){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=Wt.w0.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-"+NO++,this.inertGroups=(null==l?void 0:l.SAFARI)||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=$e(e)}set classList(e){this._classList=e&&e.length?function Ny(n,a=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(a);for(const r of t){const l=`${r}`.trim();l&&e.push(l)}}return e}(e).reduce((t,r)=>(t[r]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Yd(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 VO(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(IE),i.Y36(wi))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(i.Rgc,7),i.Gf(OO,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.template=r.first),i.iGM(r=i.CRH())&&(t.panel=r.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})(),qO=(()=>{class n extends jO{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,lu,5),i.Suo(r,ro,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.optionGroups=l),i.iGM(l=i.CRH())&&(t.options=l)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:ou,useExisting:n}]),i.qOj],ngContentSelectors:BO,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,IO,3,4,"ng-template"))},directives:[w.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 BE=new i.OlP("mat-autocomplete-scroll-strategy"),WO={provide:BE,deps:[xr],useFactory:function YO(n){return()=>n.scrollStrategies.reposition()}},UO={provide:Kn,useExisting:(0,i.Gpc)(()=>NE),multi:!0};let GO=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=l,this._changeDetectorRef=c,this._dir=o,this._formField=d,this._document=u,this._viewportRuler=h,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Wt.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ie.x,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=Ca(()=>{const b=this.autocomplete?this.autocomplete.options:null;return b?b.changes.pipe(hi(b),(0,Li.w)(()=>(0,Ri.T)(...b.map(N=>N.onSelectionChange)))):this._zone.onStable.pipe((0,Ut.q)(1),(0,Li.w)(()=>this.optionSelections))}),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=$e(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._zone.run(()=>{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,Ri.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Ft.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Ft.h)(()=>this._overlayAttached)):(0,rt.of)()).pipe((0,Ct.U)(e=>e instanceof W0?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Ri.T)(Na(this._document,"click"),Na(this._document,"auxclick"),Na(this._document,"touchend")).pipe((0,Ft.h)(e=>{const t=sa(e),r=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!l||!l.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,r=Ln(e);if(27===t&&!r&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,c=38===t||40===t;9===t||c&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):c&&this._canOpen()&&this.openPanel(),(c||this.autocomplete._keyManager.activeItem!==l)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,r=t.value;"number"===t.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._onChange(r),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}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_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,Ut.q)(1)),t=this.autocomplete.options.changes.pipe((0,Dt.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Xm.g)(0));return(0,Ri.T)(e,t).pipe((0,Li.w)(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),r!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,Ut.q)(1)).subscribe(r=>this._setValueAndClose(r))}_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,r=null!=t?t:"";this._formField?this._formField._control.value=r:this._element.nativeElement.value=r,this._previousValue=r}_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 Qc(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(l=>{(27===l.keyCode&&!Ln(l)||38===l.keyCode&&Ln(l,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),l.stopPropagation(),l.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 r=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&r!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new us({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"}],r=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let c;c="above"===this.position?l:"below"===this.position?t:[...t,...l],e.withPositions(c)}_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,r=$c(e,t.options,t.optionGroups);if(0===e&&1===r)t._setScrollTop(0);else if(t.panel){const l=t.options.toArray()[e];if(l){const c=l._getHostElement(),s=np(c.offsetTop,c.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(s)}}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(xr),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(BE),i.Y36(Fn,8),i.Y36(id,9),i.Y36(w.K0,8),i.Y36(so),i.Y36(IE,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})(),NE=(()=>{class n extends GO{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t._handleInput(l)})("keydown",function(l){return t._handleKeydown(l)})("click",function(){return t._handleClick()}),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?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[i._Bn([UO]),i.qOj]}),n})(),ZO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[WO],imports:[[Kc,Jc,ut,w.ez],za,Jc,ut]}),n})(),$O=(()=>{class n{transform(e){var t;return null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function JO(n,a){1&n&&i._UZ(0,"th",17)}function XO(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.ALo(2,"validateExpiration"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 QO(n,a){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 KO(n,a){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.entity.name)}}function eI(n,a){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 tI(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.entity.description)}}function iI(n,a){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 nI(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.ALo(2,"validateExpiration"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.expirationAttribute)," ")}}function rI(n,a){1&n&&i._UZ(0,"th",20)}function aI(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"button",24),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().extend(l)}),i.ALo(2,"validateExpiration"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 sI(n,a){1&n&&i._UZ(0,"tr",25)}function oI(n,a){1&n&&i._UZ(0,"tr",26)}function lI(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 VE=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new _n(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new i.vpe,this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){var r,l;switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return null!==(l=null===(r=null==e?void 0:e.expirationAttribute)||void 0===r?void 0:r.value)&&void 0!==l?l:"never";default:return""}}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new rl(this.members),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,JO,1,0,"th",4),i.YNc(5,XO,3,5,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,QO,4,5,"th",7),i.YNc(8,KO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,eI,4,5,"th",7),i.YNc(11,tI,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,iI,4,5,"th",12),i.YNc(14,nI,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,sI,1,0,"tr",14),i.YNc(19,oI,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lI,4,5,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,ys,vs,lc,Mg,It,po,mo,fo,go,w.O5,Wn],pipes:[$O,me,ii],styles:[""]}),n})();function cI(n,a){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function dI(n,a){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(r){return i.CHM(e),i.oxw().filterByVo(r)}),i.TgZ(9,"mat-option",11),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i.YNc(13,cI,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 uI(n,a){1&n&&i._UZ(0,"mat-spinner",14)}function hI(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 fI(n,a){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(r){return i.CHM(e),i.oxw().extendMembership(r)}),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 gI(n,a){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 _I=(()=>{class n{constructor(e,t,r,l,c,s){this.usersService=e,this.memberService=t,this.groupService=r,this.store=l,this.vosManagerService=c,this.attributesManagerService=s,this.loading=!1,this.vos=[],this.myControl=new Yn,this.selection=new _n(!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(hi(""),(0,Ct.U)(t=>this._filter(t))),this.getAllGroups()})}getAllGroups(){this.loading=!0;let e=0,t=0;this.userMemberships=[],this.adminMemberships=[];const r=this.store.getPerunPrincipal().roles.SELF.Member;r.length?t=r.length:this.loading=!1,r.forEach(l=>{t--,this.groupService.getMemberGroups(l).subscribe(c=>{e+=c.length,this.loading=0===e&&0!==t,c.forEach(s=>{this.attributesManagerService.getMemberGroupAttributes(l,s.id).subscribe(o=>{e--,this.userMemberships.push({entity:s,expirationAttribute:o.find(d=>"groupMembershipExpiration"===d.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(l=>{l.forEach(c=>{this.adminMemberships.push({entity:c,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(r=>{this.groupService.getMemberGroups(r.id).subscribe(l=>{let c=l.length;this.loading=0!==c,l.forEach(s=>{this.attributesManagerService.getMemberGroupAttributes(r.id,s.id).subscribe(o=>{c--,this.userMemberships.push({entity:s,expirationAttribute:o.find(d=>"groupMembershipExpiration"===d.friendlyName)}),this.loading=0!==c})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,t.id).subscribe(r=>{r.forEach(l=>{this.adminMemberships.push({entity:l,expirationAttribute:null})})})}}extendMembership(e){const t=this.store.get("registrar_base_url"),r=e.entity,l=this.vos.find(c=>c.id===r.voId).shortName;window.location.href=`${t}?vo=${l}&group=${e.entity.shortName}`}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase();return this.vos.filter(r=>r.name.toLowerCase().includes(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36(Tt),i.Y36(Hi),i.Y36($t),i.Y36(Ds),i.Y36(ri))},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,uI,1,0,"mat-spinner",3),i.YNc(7,hI,4,5,"perun-web-apps-alert",4),i.YNc(8,fI,6,9,"div",5),i.YNc(9,gI,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:[w.O5,ln,Vr,Rn,bn,NE,Vi,ja,qO,ro,w.sg,Ci,Wn,VE],pipes:[me,ii,w.Ov],styles:[""]}),n})();function bI(n,a){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,a){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 Jp=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new Yn}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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,bI,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:[ln,w.O5,Rn,bn,hO,Vi,ja],pipes:[me],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),yI=0;const cv=new i.OlP("CdkAccordion");let MI=(()=>{class n{constructor(){this._stateChanges=new Ie.x,this._openCloseAllActions=new Ie.x,this.id="cdk-accordion-"+yI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=$e(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:cv,useExisting:n}]),i.TTD]}),n})(),wI=0,CI=(()=>{class n{constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Wt.w0.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-"+wI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((l,c)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===c&&this.id!==l&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=$e(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=$e(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(cv,12),i.Y36(i.sBO),i.Y36(sm))},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:cv,useValue:void 0}])]}),n})(),vI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const TI=["body"];function xI(n,a){}const SI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],EI=["mat-expansion-panel-header","*","mat-action-row"];function DI(n,a){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const HI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],LI=["mat-panel-title","mat-panel-description","*"],dv=new i.OlP("MAT_ACCORDION"),zE="225ms cubic-bezier(0.4,0.0,0.2,1)",FE={indicatorRotate:ti("indicatorRotate",[St("collapsed, void",Ne({transform:"rotate(0deg)"})),St("expanded",Ne({transform:"rotate(180deg)"})),vt("expanded <=> collapsed, void => collapsed",_t(zE))]),bodyExpansion:ti("bodyExpansion",[St("collapsed, void",Ne({height:"0px",visibility:"hidden"})),St("expanded",Ne({height:"*",visibility:"visible"})),vt("expanded <=> collapsed, void => collapsed",_t(zE))])};let wg=(()=>{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})(),kI=0;const jE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Cg=(()=>{class n extends CI{constructor(e,t,r,l,c,s,o){super(e,t,r),this._viewContainerRef=l,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new Ie.x,this._headerId="mat-expansion-panel-header-"+kI++,this._bodyAnimationDone=new Ie.x,this.accordion=e,this._document=c,this._bodyAnimationDone.pipe(Cr((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{"void"!==d.fromState&&("expanded"===d.toState?this.afterExpand.emit():"collapsed"===d.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=$e(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(hi(null),(0,Ft.h)(()=>this.expanded&&!this._portal),(0,Ut.q)(1)).subscribe(()=>{this._portal=new Qc(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(dv,12),i.Y36(i.sBO),i.Y36(sm),i.Y36(i.s_b),i.Y36(w.K0),i.Y36(qn,8),i.Y36(jE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,wg,5),2&e){let l;i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(TI,5),2&e){let r;i.iGM(r=i.CRH())&&(t._body=r.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:dv,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:EI,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(SI),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(l){return t._bodyAnimationDone.next(l)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,xI,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:[em],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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[FE.bodyExpansion]},changeDetection:0}),n})();class PI{}const RI=Jo(PI);let vg=(()=>{class n extends RI{constructor(e,t,r,l,c,s,o){super(),this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=l,this._animationMode=s,this._parentChangeSubscription=Wt.w0.EMPTY;const d=e.accordion?e.accordion._stateChanges.pipe((0,Ft.h)(u=>!(!u.hideToggle&&!u.togglePosition))):va.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,Ri.T)(e.opened,e.closed,d,e._inputChanges.pipe((0,Ft.h)(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Ft.h)(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),c&&(this.expandedHeight=c.expandedHeight,this.collapsedHeight=c.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:Ln(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(Cg,1),i.Y36(i.SBq),i.Y36(oa),i.Y36(i.sBO),i.Y36(jE,8),i.Y36(qn,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(l){return t._keydown(l)}),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:LI,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(HI),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,DI,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[w.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:[FE.indicatorRotate]},changeDetection:0}),n})(),OA=(()=>{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})(),IA=(()=>{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=$e(e)}ngAfterContentInit(){this._headers.changes.pipe(hi(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ol(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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,vg,5),2&e){let l;i.iGM(l=i.CRH())&&(t._headers=l)}},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:dv,useExisting:n}]),i.qOj]}),n})(),uv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,vI,Wl]]}),n})();function OI(n,a){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 II=(()=>{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,OI,3,3,"mat-icon",0),2&e&&i.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[w.O5,Wi,tr],pipes:[me],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function BI(n,a){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 NI(n,a){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 VI(n,a){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 zI(n,a){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 FI=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new i.vpe}changeStatus(){const e=Ei();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(_L,e).afterClosed().subscribe(r=>{r&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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,NI,4,3,"span",1),i.YNc(3,VI,4,4,"span",1),i.YNc(4,zI,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:[w.O5,tr,Wi],pipes:[me],styles:[""]}),n})(),jI=(()=>{class n{transform(e){if(null==e)return null;let r="";return e.forEach(function(l){r=r.concat(l.tagName)}),r}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),qI=(()=>{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 YI(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",24),i.TgZ(1,"mat-checkbox",25),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",26),i.TgZ(1,"span",27),i.ALo(2,"translate"),i.TgZ(3,"mat-checkbox",28),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.itemSelectionToggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$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 UI(n,a){1&n&&(i.TgZ(0,"th",29),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 GI(n,a){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.id)}}function ZI(n,a){1&n&&i._UZ(0,"th",31)}function $I(n,a){if(1&n&&(i.TgZ(0,"td",32),i._UZ(1,"perun-web-apps-recently-viewed-icon",33),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("recentIds",t.recentIds)("id",e.id)}}function JI(n,a){1&n&&i._UZ(0,"th",31)}function XI(n,a){1&n&&(i.TgZ(0,"mat-icon",35),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 QI(n,a){if(1&n&&(i.TgZ(0,"td",32),i.YNc(1,XI,3,3,"mat-icon",34),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("ngIf",e.sourceGroupId)}}function KI(n,a){1&n&&(i.TgZ(0,"th",29),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 eB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.uIk("data-cy",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function tB(n,a){1&n&&(i.TgZ(0,"th",29),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 iB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.vo.name)}}function nB(n,a){1&n&&(i.TgZ(0,"th",29),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_ID")," "))}function rB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.voId)}}function aB(n,a){1&n&&(i.TgZ(0,"th",29),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 sB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",32),i.TgZ(1,"perun-web-apps-group-resource-status",36),i.NdJ("mouseenter",function(){return i.CHM(e),i.oxw().disabledRouting=!0})("mouseleave",function(){i.CHM(e);const r=i.oxw();return r.disabledRouting=r.disableRouting})("statusChange",function(){return i.CHM(e),i.oxw().refreshTable.emit()}),i.qZA(),i.qZA()}if(2&n){const e=a.$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 oB(n,a){1&n&&(i.TgZ(0,"th",29),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 lB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.facility.name)}}function cB(n,a){1&n&&(i.TgZ(0,"th",29),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_ID")," "))}function dB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.facilityId)}}function uB(n,a){1&n&&(i.TgZ(0,"th",29),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 hB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.ALo(2,"resourceTagsToString"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.resourceTags)," ")}}function pB(n,a){1&n&&(i.TgZ(0,"th",29),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 fB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.description)}}function mB(n,a){1&n&&i._UZ(0,"tr",37)}const gB=function(n){return[n]};function _B(n,a){if(1&n&&(i._UZ(0,"tr",38),i.ALo(1,"getResourceRoute"),i.ALo(2,"getResourceRoute")),2&n){const e=a.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",i.VKq(12,gB,t.disabledRouting?null:i.xi3(1,6,e,t.routingVo)))("routerLink",t.disabledRouting?null:i.xi3(2,9,e,t.routingVo))}}function bB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",39),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 AB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",39),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 yB=(()=>{class n{constructor(e,t){this.guiAuthResolver=e,this.tableCheckbox=t,this.resources=[],this.selection=new _n(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","voId","status","facility","facilityId","tags","description"],this.pageSizeOptions=Np,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new i.vpe,this.allSelected=new i.vpe,this.removeAuth=!1,this.addAuth=!1,this.getDataForColumnFun=(r,l)=>n.getDataForColumn(r,l,this.recentIds),this.canBeSelected=r=>!this.disableSelect(r)}set matSort(e){this.sort=e}static getDataForColumn(e,t,r){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 r&&r.includes(e.id)?"#".repeat(r.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[t];let c="";return e.resourceTags.forEach(function(s){c=c.concat(s.tagName)}),c}case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),e)}setDataSource(){this.dataSource||(this.dataSource=new rl,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(e,t)=>cg(e,t,this.getDataForColumnFun)),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,r)=>t&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([r])),!0),this.addAuth=this.selection.selected.reduce((t,r)=>t&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([r])),!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(ks),i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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:43,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","voId"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","facilityId"],["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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,YI,2,3,"th",4),i.YNc(5,WI,4,9,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,UI,3,3,"th",7),i.YNc(8,GI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,ZI,1,0,"th",10),i.YNc(11,$I,2,2,"td",11),i.BQk(),i.ynx(12,12),i.YNc(13,JI,1,0,"th",10),i.YNc(14,QI,2,1,"td",11),i.BQk(),i.ynx(15,13),i.YNc(16,KI,3,3,"th",7),i.YNc(17,eB,2,2,"td",11),i.BQk(),i.ynx(18,14),i.YNc(19,tB,3,3,"th",7),i.YNc(20,iB,2,1,"td",11),i.BQk(),i.ynx(21,15),i.YNc(22,nB,3,3,"th",7),i.YNc(23,rB,2,1,"td",11),i.BQk(),i.ynx(24,16),i.YNc(25,aB,3,3,"th",7),i.YNc(26,sB,2,5,"td",11),i.BQk(),i.ynx(27,17),i.YNc(28,oB,3,3,"th",7),i.YNc(29,lB,2,1,"td",11),i.BQk(),i.ynx(30,18),i.YNc(31,cB,3,3,"th",7),i.YNc(32,dB,2,1,"td",11),i.BQk(),i.ynx(33,19),i.YNc(34,uB,3,3,"th",7),i.YNc(35,hB,3,3,"td",11),i.BQk(),i.ynx(36,20),i.YNc(37,pB,3,3,"th",7),i.YNc(38,fB,2,1,"td",11),i.BQk(),i.YNc(39,mB,1,0,"tr",21),i.YNc(40,_B,3,14,"tr",22),i.qZA(),i.qZA(),i.qZA(),i.YNc(41,bB,3,3,"perun-web-apps-alert",23),i.YNc(42,AB,3,3,"perun-web-apps-alert",23)),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(37),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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,tr,Mg,II,w.O5,Wi,FI,po,mo,fo,go,RE,Ha,Wn],pipes:[me,jI,qI],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 MB(n,a){1&n&&i._UZ(0,"mat-spinner",8)}const wB=function(){return["name","description"]};function CB(n,a){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,wB))("disableRouting",!0)}}function vB(n,a){if(1&n&&(i.YNc(0,MB,1,0,"mat-spinner",6),i.YNc(1,CB,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 TB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",4),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw().getMemberData(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,vB,2,2,"ng-template",5),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let xB=(()=>{class n{constructor(e,t,r,l){this.usersManagerService=e,this.membersManagerService=t,this.resourcesManagerService=r,this.storage=l,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(r=>{this.resources=r,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(Ti),i.Y36(Tt),i.Y36(_i),i.Y36($t))},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(l){return t.applyFilter(l)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"mat-accordion"),i.YNc(9,TB,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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,yB],pipes:[me,ii],styles:[""]}),n})();function SB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilter(r)}),i.qZA()}2&n&&i.Q6J("placeholder","ORGANIZATIONS.FILTER")}function EB(n,a){1&n&&i._UZ(0,"mat-spinner",6)}const DB=function(){return["name","expirationAttribute","extend"]};function HB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-membership-list",11),i.NdJ("extendMembership",function(r){return i.CHM(e),i.oxw(2).extendMembership(r)}),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,DB))}}function LB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 kB(n,a){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,HB,2,5,"div",9),i.YNc(6,LB,4,5,"perun-web-apps-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 PB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 RB=function(){return["name"]};function OB(n,a){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,RB))}}function IB(n,a){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,PB,4,5,"perun-web-apps-alert",10),i.YNc(6,OB,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 BB=(()=>{class n{constructor(e,t,r){this.usersService=e,this.store=t,this.membersService=r,this.filterValue="",this.selection=new _n(!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}extendMembership(e){const t=this.store.get("registrar_base_url");window.location.href=`${t}?vo=${e.entity.shortName}`}fillMemberships(e,t){this.membersService.getMembersByUser(this.userId).subscribe(r=>{e.forEach(l=>{const c=r.find(s=>s.voId===l.id);c?this.membersService.getRichMemberWithAttributes(c.id).subscribe(s=>{const o=s.memberAttributes.find(d=>"membershipExpiration"===d.friendlyName);t.push({entity:l,expirationAttribute:o}),this.isEverythingLoaded()}):(t.push({entity:l,expirationAttribute:null}),this.isEverythingLoaded())})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36($t),i.Y36(Tt))},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,SB,1,1,"perun-web-apps-immediate-filter",2),i.YNc(6,EB,1,0,"mat-spinner",3),i.YNc(7,kB,7,7,"div",4),i.YNc(8,IB,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:[w.O5,Jp,Ci,VE,Wn],pipes:[me,ii],styles:[""]}),n})(),NB=(()=>{class n{}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:[Ar],styles:[""]}),n})(),VB=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,vn,It,BC],pipes:[me,ii],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function zB(n,a){1&n&&i._UZ(0,"mat-spinner",7)}function FB(n,a){1&n&&i._UZ(0,"th",16)}function jB(n,a){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function qB(n,a){1&n&&i._UZ(0,"tr",18)}function YB(n,a){1&n&&i._UZ(0,"tr",19)}function WB(n,a){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,FB,1,0,"th",12),i.YNc(12,jB,2,1,"td",13),i.BQk(),i.YNc(13,qB,1,0,"tr",14),i.YNc(14,YB,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 UB=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.usersManagerService=r,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new rl(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(Oi),i.Y36(cn),i.Y36(Ti))},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,zB,1,0,"mat-spinner",2),i.qZA(),i.YNc(6,WB,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();function GB(n,a){1&n&&i._UZ(0,"th",12)}function ZB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",13),i.TgZ(1,"mat-checkbox",14),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function $B(n,a){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 JB(n,a){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function XB(n,a){1&n&&i._UZ(0,"tr",17)}function QB(n,a){1&n&&i._UZ(0,"tr",18)}function KB(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",19),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.alertText,"\n")}}let qE=(()=>{class n{constructor(){this.values=[],this.selection=new _n(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}static getExportDataForColumn(e){return e}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new rl(this.values),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getExportDataForColumn),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(As,7),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,GB,1,0,"th",4),i.YNc(5,ZB,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,$B,2,1,"th",7),i.YNc(8,JB,2,1,"td",8),i.BQk(),i.YNc(9,XB,1,0,"tr",9),i.YNc(10,QB,1,0,"tr",10),i.qZA(),i.qZA(),i.qZA(),i.YNc(11,KB,2,1,"perun-web-apps-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:[As,ho,ws,Ms,Cs,ys,vs,lc,po,mo,fo,go,w.O5,Wn],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function e3(n,a){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 t3(n,a){1&n&&i._UZ(0,"mat-spinner",11)}let n3=(()=>{class n{constructor(e,t,r,l,c){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.usersManagerService=c,this.altPasswordCtrl=new Yn(null,[An.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new _n(!1,[]),l.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(s=>this.removeDialogDescription=s),l.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(s=>this.removeDialogTitle=s),l.get("ALERTS.NO_ALT_PASSWORDS").subscribe(s=>this.alertText=s),l.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(s=>this.headerColumnText=s)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword({user:this.userId,description:this.altPasswordCtrl.value,loginNamespace:"einfra",password:e}).subscribe(()=>{const t=Ei();t.width="600px",t.data={password:e},this.dialog.open(VB,t),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let r="",l=0;const c=t.length;for(;l<16;++l)r+=t.charAt(Math.random()*c);return r.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),r}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Ei();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttributeValue.get(this.selection.selected[0]),userId:this.userId},this.dialog.open(UB,e).afterClosed().subscribe(r=>{r&&(this.getAltPasswords(),this.selection.clear())})}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(e.value){this.altPasswordsAttributeValue=new Map(Object.entries(e.value));const t=this.altPasswordsAttributeValue.keys();this.passwordDescriptions=new Set(t),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le),i.Y36(Ti))},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,"perun-web-apps-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,e3,1,4,"perun-web-apps-string-list",8),i.YNc(27,t3,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:[ln,Rn,bn,Vi,ja,It,Wn,w.O5,qE,Ci],pipes:[me,ii],styles:[""]}),n})();function r3(n,a){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=a.$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 a3=(()=>{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:"face",url:"/profile/settings/localAccount",label:"SETTINGS.LOCAL_ACCOUNT",tabName:"local_acc"},{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($t))},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,r3,7,7,"mat-list-item",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[QC,w.sg,SA,hr,Ha,Wi],pipes:[me,ii],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),s3=(()=>{class n extends yn{buildStyles(e,{display:t}){const r=_S(e);return Object.assign(Object.assign({},r),{display:"none"===t?t:r.display})}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const o3=["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 l3=(()=>{class n extends dn{constructor(e,t,r,l,c){super(e,r,t,l),this._config=c,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var t;const l=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(t=WE.get(l))&&void 0!==t?t:new Map,WE.set(l,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:l}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(s3),i.Y36(tn),i.Y36(_o))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),YE=(()=>{class n extends l3{constructor(){super(...arguments),this.inputs=o3}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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 WE=new Map;let F3=(()=>{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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const j3=["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 q3=(()=>{class n extends dn{constructor(e,t,r,l){super(e,r,t,l),this.DIRECTIVE_KEY="flex-align",this.styleCache=Y3,this.init()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(F3),i.Y36(tn))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Y3=new Map;let ZE=(()=>{class n extends q3{constructor(){super(...arguments),this.inputs=j3}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),$E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC,ka]]}),n})();function oN(n,a){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.Q6J("value",t.selectedUnit),i.xp6(1),i.hij(" ",e," ")}}let lN=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.data=t,this.rtMessagesService=r,this.notificator=l,this.translate=c,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",c.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new Yn(null,[An.required]),this.newValueControl=new Yn(null,[An.required,An.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const r=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new cA).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",r).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(cn),i.Y36(fn),i.Y36(ir),i.Y36(Le))},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(l){return t.selectedUnit=l}),i.YNc(26,oN,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:[kn,YE,ZE,ln,Rn,Cp,bn,Fr,Vi,ja,Hp,w.sg,ro,vn,It],pipes:[me,ii],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 cN(n,a){1&n&&i._UZ(0,"mat-spinner",8)}function dN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 uN(n,a){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 r=i.oxw().$implicit,l=i.oxw(3).$implicit;return i.oxw().requestChangeQuota(l,r)}),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 hN(n,a){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 pN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw(4).getResAttributes(l.id)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,uN,15,16,"div",7),i.YNc(5,hN,4,5,"p",7),i.qZA()}if(2&n){const e=a.$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 fN(n,a){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,pN,6,3,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function mN(n,a){if(1&n&&(i.YNc(0,cN,1,0,"mat-spinner",5),i.YNc(1,dN,4,5,"perun-web-apps-alert",6),i.YNc(2,fN,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 gN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw().getMembersResources(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,mN,3,3,"ng-template",4),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let _N=(()=>{class n{constructor(e,t,r,l,c,s){this.store=e,this.usersManagerService=t,this.membersService=r,this.resourcesManagerService=l,this.attributesManagerService=c,this.dialog=s,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(r=>{let l=r.length;l||(this.loading=!1),r.forEach(c=>{this.attributesManagerService.getResourceAttributes(c.id).subscribe(s=>{l--,s.find(o=>"defaultDataQuotas"===o.friendlyName)&&this.resources.push(c),this.loading=0!==l})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(t=>{let r=t.find(l=>"dataQuotas"===l.friendlyName);if(null==r?void 0:r.value){const l=Object.entries(r.value).map(c=>String(c[1]));this.currentQuota=l[0]}else this.currentQuota="";if(r=t.find(l=>"defaultDataQuotas"===l.friendlyName),null==r?void 0:r.value){const l=Object.entries(r.value).map(c=>String(c[1]));this.defaultQuota=l[0]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}requestChangeQuota(e,t){const r=Ei();r.width="400px",r.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(lN,r)}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}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}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Ti),i.Y36(Tt),i.Y36(_i),i.Y36(ri),i.Y36(en))},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"],[1,"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(l){return t.applyFilter(l)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,gN,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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,Wn,It],pipes:[me,ii],styles:[".color-gray[_ngcontent-%COMP%]{color:gray}"]}),n})();function bN(n,a){1&n&&i._UZ(0,"mat-spinner",8)}function AN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 yN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("closed",function(){return i.CHM(e),i.oxw(4).deselectResource()})("afterExpand",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeSelectedResource(l)}),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,"mat-checkbox",11),i.NdJ("change",function(){return i.CHM(e),i.oxw(4).setOptOut()}),i.qZA(),i.TgZ(6,"p"),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw(4);i.Q6J("expanded",e.name===t.selectedResource),i.xp6(3),i.hij(" ",e.name," "),i.xp6(2),i.Q6J("checked",t.optOutAttribute&&null!==t.optOutAttribute.value),i.xp6(2),i.Oqu(i.lcZ(8,4,i.lcZ(9,6,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL")))}}function MN(n,a){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,yN,10,8,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function wN(n,a){if(1&n&&(i.YNc(0,bN,1,0,"mat-spinner",5),i.YNc(1,AN,4,5,"perun-web-apps-alert",6),i.YNc(2,MN,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 CN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("closed",function(){return i.CHM(e),i.oxw().deselectVo()})("afterExpand",function(){const l=i.CHM(e).$implicit;return i.oxw().changeSelectedVo(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,wN,3,3,"ng-template",4),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.Q6J("expanded",e.shortName===t.selectedVo),i.xp6(3),i.hij(" ",e.name," ")}}let vN=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u){this.store=e,this.usersManagerService=t,this.membersService=r,this.resourcesManagerService=l,this.attributesManagerService=c,this.route=s,this.router=o,this.notificator=d,this.translate=u,this.vos=[],this.resources=[],this.optOuts=[],this.filteredVos=[],this.loading=!0,this.selectedVo=null,this.selectedResource=null}ngOnDestroy(){this.router.navigate([],{relativeTo:this.route,queryParams:{vo:null,resource:null},replaceUrl:!0})}ngOnInit(){this.route.queryParams.subscribe(e=>{this.selectedVo=String(e.vo),this.selectedResource=String(e.resource),this.changeOptOut=String(e.action),this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{if(this.vos=t.sort(Yx),this.filteredVos=t,void 0!==this.selectedResource){const r=this.vos.find(l=>l.shortName===this.selectedVo);r&&this.getMailingLists(r)}else if(void 0!==this.selectedVo){const r=this.vos.find(l=>l.shortName===this.selectedVo);r&&(this.getMailingLists(r),this.changeSelectedVo(r))}})}).unsubscribe()}changeSelectedResource(e){this.selectedResource!==e.name&&this.getOptOutAttribute(e),this.changeOptOut&&("subscribe"===this.changeOptOut?this.subscribe():"unsubscribe"===this.changeOptOut&&this.unsubscribe(),this.changeOptOut=null),this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource,action:null},queryParamsHandling:"merge"})}changeSelectedVo(e){this.selectedVo!==e.shortName&&(this.getMailingLists(e),this.selectedResource=null),this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}getMailingLists(e){this.selectedVo=e.shortName,this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getMailingServiceRichResourcesWithMember(t.id).subscribe(r=>{let l=r.length;l||(this.loading=!1),r.forEach(c=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,c.id).subscribe(s=>{this.attributesManagerService.getResourceAttributeByName(c.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(o=>{l--;const d=s.find(u=>"optOutMailingList"===u.friendlyName);d&&"true"!==(null==o?void 0:o.value)&&(this.optOuts.push({resource:c.id,member:t.id,attribute:d}),this.resources.push(c),this.selectedResource===c.name&&(this.getOptOutAttribute(c),this.changeSelectedResource(c))),this.loading=0!==l})})})}),this.resources.sort(Yx)})}getOptOutAttribute(e){this.selectedResource=e.name,this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}unsubscribe(){const e=String(this.optOuts[this.index].attribute.value);this.optOuts[this.index].attribute.value="true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("OPT_OUT_MAILING_LISTS.UNSUBSCRIBED")+this.selectedResource+".")},()=>{this.optOuts[this.index].attribute.value=e})}subscribe(){const e=String(this.optOuts[this.index].attribute.value);this.optOuts[this.index].attribute.value=null,this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("OPT_OUT_MAILING_LISTS.SUBSCRIBED")+this.selectedResource+".")},()=>{this.optOuts[this.index].attribute.value=e})}setOptOut(){this.optOutAttribute.value?this.subscribe():this.unsubscribe()}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}deselectVo(){this.loading=!0,this.selectedVo=null,this.selectedResource=null,this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}deselectResource(){this.selectedResource=null,this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Ti),i.Y36(Tt),i.Y36(_i),i.Y36(ri),i.Y36(Jn),i.Y36(Mi),i.Y36(ir),i.Y36(Le))},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,"expanded","closed","afterExpand",4,"ngFor","ngForOf"],[3,"expanded","closed","afterExpand"],["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","mr-2",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(l){return t.applyFilter(l)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,CN,5,2,"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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,Wn,lc],pipes:[me,ii],styles:[""]}),n})();function TN(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function xN(n,a){1&n&&i._UZ(0,"th",17)}function SN(n,a){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function EN(n,a){1&n&&i._UZ(0,"tr",19)}function DN(n,a){1&n&&i._UZ(0,"tr",20)}function HN(n,a){if(1&n&&(i.TgZ(0,"table",11),i.ynx(1,12),i.YNc(2,xN,1,0,"th",13),i.YNc(3,SN,2,1,"td",14),i.BQk(),i.YNc(4,EN,1,0,"tr",15),i.YNc(5,DN,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 LN(n,a){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,HN,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 NA=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new rl(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){var e,t;if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let r=null!==(t=null===(e=this.data.attribute)||void 0===e?void 0:e.value)&&void 0!==t?t:[];void 0!==this.data.valueIndex?r.splice(this.data.valueIndex,1):r=r.filter(l=>!this.data.values.find(c=>c===l)),this.data.attribute.value=r}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(Oi),i.Y36(cn),i.Y36(ri))},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,TN,1,0,"mat-spinner",2),i.qZA(),i.YNc(4,LN,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();function kN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 PN(n,a){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=a.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e)}}function RN(n,a){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(r){const c=i.CHM(e).index;return i.oxw(2).shells[c]=r}),i.YNc(3,PN,2,2,"mat-option",9),i.qZA(),i.qZA(),i.TgZ(4,"button",10),i.NdJ("click",function(){const l=i.CHM(e).index;return i.oxw(2).removeShell(l)}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.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 ON(n,a){if(1&n&&(i.TgZ(0,"mat-list"),i.YNc(1,RN,8,7,"mat-list-item",6),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.shells)}}let IN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],l.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c)}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(()=>{})}removeShell(e){const t=Ei();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(NA,t).afterClosed().subscribe(l=>{l&&this.getAttribute()})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{var t,r;this.prefShellsAttribute=e,this.shells=null!==(r=null===(t=this.prefShellsAttribute)||void 0===t?void 0:t.value)&&void 0!==r?r:[],this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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,"perun-web-apps-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,kN,4,5,"perun-web-apps-alert",3),i.YNc(13,ON,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:[Wn,It,w.O5,QC,w.sg,SA,ln,Hp,ro],pipes:[me,ii],styles:[""]}),n})();function BN(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function NN(n,a){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 VN=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.groups=[]}ngOnInit(){this.inputControl=new Yn(null,An.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=>{var t;const r=null!==(t=null==e?void 0:e.value)&&void 0!==t?t:[];r.push(this.inputControl.value),e.value=r,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(Oi),i.Y36(cn),i.Y36(ri))},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,BN,1,0,"mat-spinner",2),i.YNc(6,NN,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:[kn,w.O5,Ci,Pn,ln,Rn,bn,Fr,Vi,ja,vn,It],pipes:[me,ii],styles:[""]}),n})();function zN(n,a){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 l=i.CHM(e).$implicit;return i.oxw().addGroupName(l)}),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"button",4),i.NdJ("click",function(){const r=i.CHM(e),l=r.$implicit,c=r.index;return i.oxw().removeGroupName(l,c)}),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=a.$implicit,t=a.index,r=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===r.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",r.groupNames.get(e))("selection",r.selectionList[t])("alertText",r.alertText)("headerColumnText",r.headerColumnText)}}let FN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],l.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),l.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(c=>this.alertText=c),l.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}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(){this.namespaces.forEach(()=>{this.selectionList.push(new _n(!0,[]))})}getAttribute(e){this.attributesManagerService.getUserAttributeByName(this.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${e}`).subscribe(t=>{var r;const l=null!==(r=null==t?void 0:t.value)&&void 0!==r?r:[];this.groupNames.set(e,l),this.groupNameAttributes.push(t)})}addGroupName(e){const t=this.groupNames.get(e),r=Ei();r.width="400px",r.data={groups:t,namespace:e,userId:this.userId},this.dialog.open(VN,r).afterClosed().subscribe(c=>{c&&this.getAttribute(e)})}removeGroupName(e,t){const r=Ei();r.width="600px",r.data={values:this.selectionList[t].selected,attribute:this.groupNameAttributes[t],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,r).afterClosed().subscribe(c=>{c&&(this.selectionList[t].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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,zN,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:[w.sg,It,qE],pipes:[me,ii],styles:[""]}),n})();function jN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 qN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 YN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 WN=(()=>{class n{constructor(e,t,r,l,c){this.attributesManagerService=e,this.store=t,this.usersManagerService=r,this.notificator=l,this.translate=c,c.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(s=>this.successMessage=s),c.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(s=>this.showPwdTooltip=s),c.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(s=>this.hidePwdTooltip=s)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new Yn("",[An.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({user:this.userId,description:e,loginNamespace:"samba-du",password: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(ri),i.Y36($t),i.Y36(Ti),i.Y36(ir),i.Y36(Le))},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,jN,4,5,"perun-web-apps-alert",1),i.YNc(5,qN,4,5,"perun-web-apps-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,YN,4,5,"perun-web-apps-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:[w.O5,Wn,ln,Rn,bn,Vi,ja,It,tr,Wi],pipes:[me,ii],styles:[""]}),n})();function UN(n,a){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 al{constructor(a,e,t){this.dialogRef=a,this.data=e,this.attributesManagerService=t}ngOnInit(){this.sshControl=new Yn(null,[An.required,An.pattern(al.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){var a,e;const t=null!==(e=null===(a=this.data.attribute)||void 0===a?void 0:a.value)&&void 0!==e?e:[],r=this.sshControl.value;t.includes(r)||t.push(r),this.data.attribute.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{t.pop()})}}al.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"],al.sshKeyPattern="^("+al.allowedSshKeys.join("|")+").+$",al.\u0275fac=function(a){return new(a||al)(i.Y36(Oi),i.Y36(cn),i.Y36(ri))},al.\u0275cmp=i.Xpm({type:al,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(a,e){1&a&&(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,UN,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&a&&(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:[kn,Pn,ln,Rn,dA,bn,Fr,Vi,ja,w.O5,ed,vn,It],pipes:[me,ii],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 GN=(()=>{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(Oi),i.Y36(cn))},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:[Rn,dA,vn,It],pipes:[me,ii],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function ZN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"p",5),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showWholeKey(l)}),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 l=i.CHM(e).$implicit;return i.oxw().removeKey(l,!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=a.$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 $N(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"label",8),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showWholeKey(l)}),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 l=i.CHM(e).$implicit;return i.oxw().removeKey(l,!0)}),i.TgZ(7,"mat-icon"),i._uU(8," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.Q6J("cdkCopyToClipboard",e)}}let JN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,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 _n(!1,[]),this.selectionAdmin=new _n(!1,[]),l.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),l.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),l.get("SSH_KEYS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}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=Ei();t.width="850px",t.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(al,t).afterClosed().subscribe(l=>{l&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,t){const r=Ei();r.width="600px",r.data={values:[e],attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,r).afterClosed().subscribe(c=>{c&&(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=Ei();t.width="600px",t.data={value:e},this.dialog.open(GN,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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 w-auto","matRipple","",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item","w-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,ZN,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,$N,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:[It,QC,w.sg,SA,hr,BC,tr,Wi],pipes:[me,ii],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})(),XN=(()=>{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 QN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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 KN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"mat-checkbox",20),i.NdJ("click",function(r){return r.stopPropagation()})("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null}),i.ALo(2,"multiWordDataCy"),i.ALo(3,"isVirtualAttribute"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 eV(n,a){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 tV(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.id)}}function iV(n,a){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 nV(n,a){if(1&n&&(i.TgZ(0,"td",23),i.TgZ(1,"div",24),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",t.getAttributeFullName(e)),i.xp6(1),i.hij(" ",e.displayName," ")}}function rV(n,a){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 aV(n,a){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 l=i.CHM(e).$implicit;return i.oxw().onValueChange(l)}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("attribute",e)("readonly",t.readonly||!e.writable)}}function sV(n,a){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 oV(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.description)}}function lV(n,a){1&n&&i._UZ(0,"tr",27)}function cV(n,a){if(1&n&&(i._UZ(0,"tr",28),i.ALo(1,"translate")),2&n){const e=a.$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 dV(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 uV(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-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 hV=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.attributes=[],this.selection=new _n(!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=Np}set matSort(e){this.sort=e,this.setDataSource()}static canBeSelected(e){return!Nu(e)&&e.writable}static 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""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new rl(function ZD(n){return n.filter(a=>!a.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns.concat("urn"),n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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,n.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,n.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){n.canBeSelected(e)&&this.selection.select(e)}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ks),i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7),i.Gf(lv,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.first),i.iGM(r=i.CRH())&&(t.items=r)}},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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,QN,2,3,"th",4),i.YNc(5,KN,4,8,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,eV,3,3,"th",7),i.YNc(8,tV,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,iV,3,3,"th",7),i.YNc(11,nV,3,2,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,rV,3,3,"th",12),i.YNc(14,aV,2,2,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,sV,3,3,"th",7),i.YNc(17,oV,2,1,"td",10),i.BQk(),i.YNc(18,lV,1,0,"tr",14),i.YNc(19,cV,2,5,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,dV,3,3,"perun-web-apps-alert",16),i.YNc(21,uV,3,3,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,Mg,tr,lv,po,mo,fo,go,w.O5,Wn],pipes:[ev,XN,me],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 pV(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function fV(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function mV(n,a){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 gV(n,a){if(1&n&&(i.YNc(0,fV,1,0,"mat-spinner",3),i.YNc(1,mV,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 _V(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function bV(n,a){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 AV(n,a){if(1&n&&(i.YNc(0,_V,1,0,"mat-spinner",3),i.YNc(1,bV,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 yV(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",6),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw(2).getMemberData(l)}),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,AV,2,2,"ng-template",7),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.AsE(" ",i.lcZ(4,2,i.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function MV(n,a){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,gV,2,2,"ng-template",7),i.qZA(),i.YNc(8,yV,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 wV=(()=>{class n{constructor(e,t,r,l){this.usersManagerService=e,this.membersService=t,this.attributesManagerService=r,this.storage=l,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 cA).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(r=>{this.attributes=r.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(Ti),i.Y36(Tt),i.Y36(ri),i.Y36($t))},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(l){return t.applyFilter(l)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,pV,1,0,"mat-spinner",3),i.YNc(9,MV,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:[Jp,w.O5,Ci,IA,Cg,vg,OA,wg,hV,w.sg],pipes:[me,ii],styles:[""]}),n})(),CV=(()=>{class n{}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:[Ar],styles:[""]}),n})(),EV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),IV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[EV,ut],ut]}),n})(),UV=(()=>{class n{constructor(){this.changes=new Ie.x,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 $V={provide:new i.OlP("mat-datepicker-scroll-strategy"),deps:[xr],useFactory:function ZV(n){return()=>n.scrollStrategies.reposition()}};let gv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[UV,$V],imports:[[w.ez,ls,Kc,Il,Wl,ut],za]}),n})();new i.OlP("mat-selectsearch-default-options");let rz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,il,ls,_g,uo,jp,nl]]}),n})(),_v=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})(),eD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Zc,ut],Zc,ut]}),n})(),oz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka]]}),n})(),bv=(()=>{class n{constructor(){this.changes=new Ie.x,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 bz={provide:bv,deps:[[new i.FiY,new i.tp0,bv]],useFactory:function _z(n){return n||new bv}};let iD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[bz,au],imports:[[ut,w.ez,Wl,ls,oz,uo,Tr],ut]}),n})(),Cz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,Wl,Tr,Bc,Il],ut]}),n})();const vz=["thumbContainer"],Tz=["toggleBar"],xz=["input"],Sz=function(n){return{enterDuration:n}},Ez=["*"],Dz=new i.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Hz=0;const Lz={provide:Kn,useExisting:(0,i.Gpc)(()=>nD),multi:!0};class kz{constructor(a,e){this.source=a,this.checked=e}}const Pz=Jo(Ia(pa(Oa(class{constructor(n){this._elementRef=n}}))));let nD=(()=>{class n extends Pz{constructor(e,t,r,l,c,s){super(e),this._focusMonitor=t,this._changeDetectorRef=r,this.defaults=c,this._onChange=o=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++Hz,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(l)||0,this.color=this.defaultColor=c.color||"accent",this._noopAnimations="NoopAnimations"===s}get required(){return this._required}set required(e){this._required=$e(e)}get checked(){return this._checked}set checked(e){this._checked=$e(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 kz(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(oa),i.Y36(i.sBO),i.$8M("tabindex"),i.Y36(Dz),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vz,5),i.Gf(Tz,5),i.Gf(xz,5)),2&e){let r;i.iGM(r=i.CRH())&&(t._thumbEl=r.first),i.iGM(r=i.CRH())&&(t._thumbBarEl=r.first),i.iGM(r=i.CRH())&&(t._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",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([Lz]),i.qOj],ngContentSelectors:Ez,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(l){return t._onChangeEvent(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1),l=i.MAs(12);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-slide-toggle-bar-no-side-margin",!l.textContent||!l.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",r)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,Sz,t._noopAnimations?0:150))}},directives:[hr,Hh],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;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})(),rD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Av=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[rD,Tr,ut,Bc],rD,ut]}),n})(),Iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,_v,JC,uv,ls,eD,_g,uo,fg,oA,jp,ps,Fp,Yl,Sp,il,iD,gv,Kh,$C,KC,fd,NC,RA,Ou,nl,ec,Tr,fg,Av,ov],_v,JC,uv,ls,eD,_g,uo,fg,oA,jp,ps,Fp,Yl,Sp,il,iD,gv,Kh,$C,KC,fd,NC,RA,Ou,nl,ec,Tr,Cz,Av,ov]}),n})(),Bz=(()=>{class n extends N0{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Nz={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 aD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ba,useClass:Bz},{provide:ru,useValue:Nz}],imports:[[w.ez,_g,fg,Sp,ov,mR,pt,wr,RA,Ou,jp,uA,uo,fd,ls,nl,ps,il,Fp,Tr,Xx,lS,IV,gv,mS,Jc,ec,rz,Yl,oA,Zt,Iz]]}),n})();function Vz(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 zz(n,a){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 Fz(n,a){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.friendlyNameParameter)}}function jz(n,a){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 qz(n,a){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.value)}}function Yz(n,a){1&n&&i._UZ(0,"th",16)}function Wz(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",20),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().resetPassword(l.friendlyNameParameter)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 Uz(n,a){1&n&&i._UZ(0,"th",16)}function Gz(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",21),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().changePassword(l)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 Zz(n,a){1&n&&i._UZ(0,"tr",22)}function $z(n,a){1&n&&i._UZ(0,"tr",23)}let Jz=(()=>{class n{constructor(e,t,r,l,c,s,o){this.attributesManagerService=e,this.store=t,this.dialog=r,this.route=l,this.router=c,this.otherApplicationService=s,this.entityStorageService=o,this.authenticationPage=!1,this.filteredNamespaces=new i.vpe,this.logins=[],this.nameSpaces=[]}ngOnInit(){this.userId=this.authenticationPage?this.entityStorageService.getEntity().id:this.store.getPerunPrincipal().userId,this.displayedColumns=this.authenticationPage?["namespace","value","change"]:["namespace","value","reset","change"],this.nameSpaces=this.store.get("password_namespace_attributes").map(e=>{const t=e.split(":");return t[t.length-1]}),this.refreshTable()}refreshTable(){this.attributesManagerService.getLogins(this.userId).subscribe(e=>{if(this.logins=e.filter(t=>this.nameSpaces.includes(t.friendlyNameParameter)),this.filteredNamespaces.emit(e.map(t=>t.friendlyNameParameter)),this.dataSource=new rl(e),!this.authenticationPage){const r=this.route.snapshot.queryParamMap.get("namespace");if(r){const l=this.logins.find(c=>c.friendlyNameParameter===r);l&&this.changePassword(l)}}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.authenticationPage||this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const t=Ei();t.width="600px",t.data={login:String(e.value),namespace:e.friendlyName.split(":")[1]},this.dialog.open(QH,t).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ri),i.Y36($t),i.Y36(en),i.Y36(Jn),i.Y36(Mi),i.Y36(lA),i.Y36(h2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],inputs:{authenticationPage:"authenticationPage"},outputs:{filteredNamespaces:"filteredNamespaces"},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,Vz,4,5,"perun-web-apps-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,zz,4,5,"th",7),i.YNc(11,Fz,2,1,"td",8),i.BQk(),i.ynx(12,9),i.YNc(13,jz,4,5,"th",7),i.YNc(14,qz,2,1,"td",10),i.BQk(),i.ynx(15,11),i.YNc(16,Yz,1,0,"th",7),i.YNc(17,Wz,5,6,"td",12),i.BQk(),i.ynx(18,13),i.YNc(19,Uz,1,0,"th",7),i.YNc(20,Gz,5,6,"td",12),i.BQk(),i.YNc(21,Zz,1,0,"tr",14),i.YNc(22,$z,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",t.authenticationPage?"":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&&!t.authenticationPage),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:[w.O5,Wn,ho,Ts,ws,Ms,Cs,ys,vs,It,po,mo,fo,go],pipes:[me,ii],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function pF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 fF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 mF(n,a){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 gF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 bF=(()=>{class n{constructor(e,t,r,l){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.store=l,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){var t,r,l;const c=null!==(r=null===(t=e.dataTransfer)||void 0===t?void 0:t.files[0])&&void 0!==r?r:null===(l=e.target)||void 0===l?void 0:l.files[0],o=new FileReader;c.type.match(/image-*/)?(o.onload=this._handleReaderLoaded.bind(this),this.imageType=c.type,o.readAsDataURL(c)):alert("invalid format")}_handleReaderLoaded(e){const t=e.target;let r=100;const l=()=>{c(t.result).then(s=>{r>50&&s.length>6144?(r-=10,l()):(this.newImage=s,this.imgTooLong=this.newImage.length>=6144)}).catch(s=>console.error(s))},c=s=>new Promise((o,d)=>{const u=new Image;u.src=s,u.onload=()=>{const h=document.createElement("canvas");let f=u.width,b=u.height;f>b?f>r&&(b*=r/f,f=r):b>r&&(f*=r/b,b=r),h.width=f,h.height=b;const N=h.getContext("2d");N.drawImage(u,0,0,f,b);const Q=N.canvas.toDataURL();o(Q)},u.onerror=h=>d(h)});l()}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(){function d(f,b,N,Q){Q.beginPath(),Q.rect(20*f,20*b,20,20),Q.fillStyle="rgb("+N.join(",")+")",Q.fill()}this.newImage=function h(){const f=function o(){const f=document.createElement("canvas");f.width=100,f.height=100;const b=f.getContext("2d");return b.beginPath(),b.rect(0,0,100,100),b.fillStyle="#FFFFFF",b.fill(),f}(),b=f.getContext("2d"),N=function u(){const f=[];for(let b=0;b<3;b++){const N=Math.floor(256*Math.random()),Q=Math.max(120,N),fe=Math.min(200,Q);f.push(fe)}return f}();for(let Q=0;Q{class n{constructor(e,t,r,l,c,s,o){this.translate=e,this.attributesManagerService=t,this.store=r,this.oauthService=l,this.authService=c,this.httpClient=s,this.mfaApiService=o,this.mfaAvailable=!1,this.loadingMfa=!1,this.showDetail=!1,this.loadingCategories=!1,this.includeCategories=[],this.excludeRps=[],this.allCategories=!1,this.unchangedSettings=!0,this.unchangedEnforce=!0,this.categories={}}ngOnInit(){this.loadingMfa=!0,this.mfaApiService.isMfaAvailable().subscribe(e=>{this.mfaAvailable=e,e?this.loadMfa():this.loadingMfa=!1},e=>{console.error(e),this.loadingMfa=!1})}loadMfa(){if(sessionStorage.getItem("mfa_route")){const t=sessionStorage.getItem("enforce_mfa");t&&this.changeEnforceMfa("true"===t),sessionStorage.getItem("settings_mfa")&&this.updateDetailSettings()}else{const t=this.store.get("mfa","enforce_mfa_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(r=>{r.value?(this.enforceMfa=!0,this.toggle.toggle()):this.enforceMfa=!1,this.loadingMfa=!1},r=>{console.error(r),this.loadingMfa=!1})}}getCategoriesAndSettings(){this.loadingCategories=!0,this.mfaApiService.getCategories().subscribe(e=>{this.categories=e,this.getSettings()},e=>{console.error(e),this.loadingCategories=!1})}getSettings(){this.unchangedEnforce?this.mfaApiService.getSettings().subscribe(e=>{0!==e.length&&(e.all?this.allCategories=!0:(this.includeCategories=e.include_categories?e.include_categories:[],this.excludeRps=e.exclude_rps?e.exclude_rps:[])),this.setValuesFromSetting(),this.showDetail=!this.showDetail,this.loadingCategories=!1},e=>{console.error(e),this.loadingCategories=!1}):(this.includeCategories=[],this.allCategories=this.toggle.checked,this.setValuesFromSetting(),this.showDetail=!this.showDetail,this.loadingCategories=!1)}setValuesFromSetting(){if(0===this.includeCategories.length){const e=this.allCategories;for(const t in this.categories){this.categories[t].value=e,this.categories[t].show=!1,this.categories[t].rps_value={};for(const r in this.categories[t].rps)this.categories[t].rps_value[r]=e}}else for(const e in this.categories){this.categories[e].value=this.includeCategories.includes(e),this.categories[e].show=!1,this.categories[e].rps_value={};for(const t in this.categories[e].rps)this.categories[e].rps_value[t]=!!this.categories[e].value&&!this.excludeRps.includes(t)}}showDetailSettings(){this.showDetail||0!==Object.keys(this.categories).length?this.showDetail=!this.showDetail:this.getCategoriesAndSettings()}toggleEnableMfa(){this.unchangedEnforce=!1,this.includeCategories=[],this.allCategories=!this.toggle.checked,this.setValuesFromSetting()}toggleCategory(e,t=!1){if(this.unchangedSettings=!1,this.checkAllCategoriesSelected()&&this.toggle.checked&&!t&&this.toggle.toggle(),e.value=!e.value,!t)for(const r in e.rps_value)e.rps_value[r]=e.value;this.checkAllCategoriesSelected()&&!this.toggle.checked&&!t&&this.toggle.toggle()}checkAllCategoriesSelected(){let e=!0;for(const t in this.categories)this.categories[t].value||(e=!1);return e}toggleRps(e,t){t=String(t),this.unchangedSettings=!1,this.checkAllRpsDeselectedForCategory(String(e.key))&&this.toggleCategory(e.value,!0),this.checkAllRpsSelected()&&this.toggle.toggle(),e.value.rps_value[t]=!e.value.rps_value[t],this.checkAllRpsDeselectedForCategory(String(e.key))&&this.toggleCategory(e.value,!0),this.checkAllRpsSelected()&&this.toggle.toggle()}checkAllRpsDeselectedForCategory(e){let t=!0;for(const r in this.categories[e].rps)this.categories[e].rps_value[r]&&(t=!1);return t}checkAllRpsSelected(){let e=!0;for(const t in this.categories){if(!this.categories[t].value)return!1;for(const r in this.categories[t].rps)this.categories[t].rps_value[r]||(e=!1)}return e}saveSettings(e=!1){this.oauthService.getIdTokenExpiration()-(0,iE.now)()>0&&!e?(this.enforceMfa!==this.toggle.checked&&(this.loadingMfa=!0,this.changeEnforceMfa(this.toggle.checked)),this.unchangedSettings||(this.loadingMfa=!0,this.saveDetailSettings(),this.updateDetailSettings())):(this.saveEnforceMfa(),this.unchangedSettings||this.saveDetailSettings(),this.reAuthenticate())}saveEnforceMfa(){this.enforceMfa!==this.toggle.checked&&sessionStorage.setItem("enforce_mfa",this.toggle.checked.toString())}saveDetailSettings(){let r,e=!0,t=!1;this.includeCategories=[],this.excludeRps=[];for(const l in this.categories)if(this.categories[l].value){t=!0,this.includeCategories.push(l);for(const c in this.categories[l].rps)this.categories[l].rps_value[c]?t=!0:(e=!1,this.excludeRps.push(c))}else e=!1;r=e===t?e?JSON.stringify({all:!0}):"{}":JSON.stringify({include_categories:this.includeCategories,exclude_rps:this.excludeRps}),sessionStorage.setItem("settings_mfa",r)}reAuthenticate(){sessionStorage.setItem("mfa_route","/profile/settings/auth"),this.oauthService.logOut(!0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.loadConfigData(),this.oauthService.loadDiscoveryDocumentAndLogin()}changeEnforceMfa(e){this.mfaApiService.enforceMfaForAllServices(e).subscribe(()=>{e?(this.enforceMfa=!0,this.toggle.checked||this.toggle.toggle()):this.enforceMfa=!1,this.unchangedSettings=!0,this.unchangedEnforce=!0,sessionStorage.removeItem("enforce_mfa"),sessionStorage.removeItem("mfa_route"),this.loadingMfa=!1},t=>{"MFA is required"===t.error.error&&this.saveSettings(!0)})}updateDetailSettings(){const e=sessionStorage.getItem("settings_mfa");this.mfaApiService.updateDetailSettings(e).subscribe(()=>{this.unchangedSettings=!0,this.unchangedEnforce=!0,sessionStorage.removeItem("settings_mfa"),sessionStorage.removeItem("mfa_route"),this.loadingMfa=!1},t=>{"MFA is required"===t.error.error&&this.saveSettings(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le),i.Y36(ri),i.Y36($t),i.Y36(Vu.Ct),i.Y36(gd),i.Y36(M.eN),i.Y36(p2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-mfa-settings"]],viewQuery:function(e,t){if(1&e&&i.Gf(AF,5),2&e){let r;i.iGM(r=i.CRH())&&(t.toggle=r.first)}},decls:18,vars:22,consts:[["class","ml-auto mr-auto mt-2",4,"ngIf"],[3,"hidden"],["matTooltipPosition","right",3,"matTooltip","matTooltipDisabled"],[3,"disabled","toggleChange"],["toggle",""],["mat-icon-button","",1,"ml-2","mr-3",3,"disabled","click"],["mat-flat-button","","color","accent",3,"disabled","click"],[4,"ngIf"],[1,"ml-auto","mr-auto","mt-2"],[4,"ngFor","ngForOf"],[1,"ml-4",3,"checked","toggleChange"],["mat-icon-button","",3,"click"],[1,"ml-5",3,"checked","toggleChange"]],template:function(e,t){1&e&&(i.YNc(0,yF,1,0,"mat-spinner",0),i.TgZ(1,"div",1),i.TgZ(2,"span",2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.TgZ(5,"mat-slide-toggle",3,4),i.NdJ("toggleChange",function(){return t.toggleEnableMfa()}),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.showDetailSettings()}),i.TgZ(11,"mat-icon"),i._uU(12),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(13,"button",6),i.NdJ("click",function(){return t.saveSettings()}),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.YNc(16,vF,3,3,"div",7),i.YNc(17,TF,1,0,"mat-spinner",0),i.qZA()),2&e&&(i.Q6J("ngIf",t.loadingMfa),i.xp6(1),i.Q6J("hidden",t.loadingMfa),i.xp6(1),i.Q6J("matTooltip",i.lcZ(3,12,i.lcZ(4,14,"AUTHENTICATION.MFA_DISABLED")))("matTooltipDisabled",t.mfaAvailable),i.xp6(3),i.Q6J("disabled",!t.mfaAvailable),i.xp6(2),i.hij("",i.lcZ(8,16,i.lcZ(9,18,"AUTHENTICATION.MFA_TOGGLE"))," "),i.xp6(3),i.Q6J("disabled",!t.mfaAvailable),i.xp6(2),i.Oqu(t.showDetail?"keyboard_arrow_up":"keyboard_arrow_down"),i.xp6(1),i.Q6J("disabled",t.unchangedSettings&&t.unchangedEnforce),i.xp6(1),i.hij(" ",i.lcZ(15,20,"AUTHENTICATION.MFA_SAVE")," "),i.xp6(2),i.Q6J("ngIf",t.showDetail),i.xp6(1),i.Q6J("ngIf",t.loadingCategories))},directives:[w.O5,Ci,tr,nD,It,Wi,w.sg],pipes:[me,ii,w.Nd],styles:[""]}),n})();const SF=["toggle"];function EF(n,a){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"img",9),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("src",e.imageSrc,i.LSH)}}function DF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",5),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,EF,2,1,"div",6),i.TgZ(10,"button",7),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",8),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 HF(n,a){1&n&&i._UZ(0,"mat-spinner",10)}let LF=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialog=e,this.attributesManagerService=t,this.store=r,this.translate=l,this.oauthService=c,this.authService=s,this.notificatorService=o,this.imageSrc="",this.mfaUrl="",this.loadingImg=!1,this.saveImgSuccess="",this.removeImgSuccess="",l.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(d=>this.removeDialogTitle=d),l.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(d=>this.removeDialogDescription=d),l.get("AUTHENTICATION.SAVE_IMG_SUCCESS").subscribe(d=>this.saveImgSuccess=d),l.get("AUTHENTICATION.REMOVE_IMG_SUCCESS").subscribe(d=>this.removeImgSuccess=d)}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.displayImageBlock=this.store.get("mfa","enable_security_image"),this.displayImageBlock&&this.loadImage()}loadImage(){this.loadingImg=!0;const e=this.store.get("mfa","security_image_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?(this.imgAtt=t,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(r=>{this.imgAtt=r}),this.loadingImg=!1},t=>{console.error(t),this.loadingImg=!1})}onAddImg(){const e=Ei();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(bF,e).afterClosed().subscribe(r=>{r&&(this.notificatorService.showSuccess(this.saveImgSuccess),this.loadImage())})}onDeleteImg(){const e=Ei();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,e).afterClosed().subscribe(r=>{r&&(this.notificatorService.showSuccess(this.removeImgSuccess),this.loadImage())})}redirectToMfa(){window.open(this.mfaUrl,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en),i.Y36(ri),i.Y36($t),i.Y36(Le),i.Y36(Vu.Ct),i.Y36(gd),i.Y36(ir))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(e,t){if(1&e&&i.Gf(SF,5),2&e){let r;i.iGM(r=i.CRH())&&(t.toggle=r.first)}},decls:12,vars:11,consts:[[3,"hidden"],["class","mb-5",4,"ngIf"],[1,"page-subtitle"],["mat-flat-button","","color","accent",1,"mb-2",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","mt-1","action-button",3,"click"],["color","warn","mat-flat-button","",3,"disabled","click"],["alt","",3,"src"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,DF,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,"button",3),i.NdJ("click",function(){return t.redirectToMfa()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._UZ(9,"br"),i._UZ(10,"perun-web-apps-mfa-settings"),i.qZA(),i.YNc(11,HF,1,0,"mat-spinner",4)),2&e&&(i.Q6J("hidden",t.loadingImg),i.xp6(1),i.Q6J("ngIf",t.displayImageBlock),i.xp6(2),i.Oqu(i.lcZ(4,5,i.lcZ(5,7,"AUTHENTICATION.MFA"))),i.xp6(4),i.hij(" ",i.lcZ(8,9,"AUTHENTICATION.MFA_INFO")," "),i.xp6(4),i.Q6J("ngIf",t.loadingImg))},directives:[w.O5,It,xF,Ci],pipes:[me,ii],styles:[""]}),n})(),kF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ls,uo,wr,aD,pt,ps,il,Fp,uA]]}),n})(),PF=(()=>{class n{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gd),i.Y36(Mi))},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:[It,Wi],pipes:[me],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function RF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 OF=(()=>{class n{constructor(e){this.authzService=e,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Yn(null,[An.required]),this.passwordCtrl=new Yn(null,[An.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(Zi))},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,RF,3,3,"perun-web-apps-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:[w.O5,Wn,ln,Vr,Rn,bn,Fr,Vi,ja,ed,It,Wi],pipes:[me],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})(),IF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-page"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Ar],styles:[""]}),n})();function BF(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function NF(n,a){if(1&n&&(i.TgZ(0,"li"),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.displayName," ")}}function VF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",5),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"div",6),i._uU(6),i.qZA(),i.TgZ(7,"div"),i._uU(8),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.TgZ(11,"ul"),i.YNc(12,NF,2,1,"li",7),i.qZA(),i.qZA(),i.TgZ(13,"div",0),i.TgZ(14,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().rejectConsent()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().grantConsent()}),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.REQUEST.TITLE"))," "),i.xp6(4),i.Oqu(e.consent.consentHub.name),i.xp6(2),i.hij(" ",i.lcZ(9,10,i.lcZ(10,12,"CONSENTS.REQUEST.CONSENT_TEXT_UNSIGNED")),": "),i.xp6(4),i.Q6J("ngForOf",e.consent.attributes),i.xp6(3),i.hij(" ",i.lcZ(16,14,i.lcZ(17,16,"CONSENTS.REQUEST.REJECT_CONSENT_BUTTON"))," "),i.xp6(4),i.hij(" ",i.lcZ(20,18,i.lcZ(21,20,"CONSENTS.REQUEST.GRANT_CONSENT_BUTTON"))," ")}}let zF=(()=>{class n{constructor(e,t,r,l,c,s){this.notificator=e,this.translate=t,this.consentService=r,this.route=l,this.apiRequest=c,this.router=s,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const t=Number(e.consentId);this.apiRequest.dontHandleErrorForNext(),this.consentService.getConsentById(t).subscribe(r=>{this.consent=r,"UNSIGNED"!==this.consent.status&&this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"}),this.loading=!1},r=>{this.loading=!1;const l=r.error;"ConsentNotExistsException"!==l.name&&this.notificator.showRPCError(l),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})})})}grantConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"GRANTED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}rejectConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"REVOKED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_REJECTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ir),i.Y36(Le),i.Y36(Di),i.Y36(Jn),i.Y36(ug),i.Y36(Mi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consent-request"]],decls:4,vars:2,consts:[[1,"d-flex"],[1,"card","p-4","mat-elevation-z3","ml-auto","mr-auto"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],[1,"page-subtitle"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"mr-2","ml-auto",3,"click"],["mat-flat-button","","color","accent",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,BF,1,0,"mat-spinner",2),i.YNc(3,VF,22,22,"div",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[w.O5,Ci,w.sg,It],pipes:[me,ii],styles:[".minimize-checkbox{font-size:.7rem;color:gray}\n"],encapsulation:2}),n})();function FF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",1),i._uU(2,"priority_high"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_UNSIGNED")),""))}function jF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",1),i._uU(2,"close"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_REVOKED")),""))}function qF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",2),i._uU(2,"check"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_GRANTED")),""))}let YF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consent-status"]],inputs:{consentStatus:"consentStatus"},decls:3,vars:3,consts:[[4,"ngIf"],["color","warn"],["color","accent"]],template:function(e,t){1&e&&(i.YNc(0,FF,7,5,"span",0),i.YNc(1,jF,7,5,"span",0),i.YNc(2,qF,7,5,"span",0)),2&e&&(i.Q6J("ngIf","UNSIGNED"===t.consentStatus),i.xp6(1),i.Q6J("ngIf","REVOKED"===t.consentStatus),i.xp6(1),i.Q6J("ngIf","GRANTED"===t.consentStatus))},directives:[w.O5,Wi],pipes:[me,ii],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}"]}),n})();function WF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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())}}function UF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("click",function(r){return r.stopPropagation()})("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("checked",t.selection.isSelected(e))}}function GF(n,a){1&n&&(i.TgZ(0,"th",19),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.CONSENTS_LIST.STATUS"))," "))}function ZF(n,a){if(1&n&&(i.TgZ(0,"td",20),i._UZ(1,"perun-web-apps-consent-status",21),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("consentStatus",e.status)}}function $F(n,a){1&n&&(i.TgZ(0,"th",19),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.CONSENTS_LIST.SERVICE_NAME"))," "))}function JF(n,a){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.consentHub.name," ")}}function XF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.GRANTED_TEXT"))," : "))}function QF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.REVOKED_TEXT"))," : "))}function KF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.UNSIGNED_TEXT"))," : "))}function ej(n,a){if(1&n&&(i.TgZ(0,"li"),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.displayName," ")}}function tj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().rejectConsent.emit(r.id)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()}if(2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"UNSIGNED"===e.status?"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REJECT_CONSENT_BUTTON":"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REVOKE_CONSENT_BUTTON"))," ")}}function ij(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().grantConsent.emit(r.id)}),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.CONSENTS_LIST.GRANT_CONSENT_BUTTON"))," "))}function nj(n,a){if(1&n&&(i.TgZ(0,"td",20),i.TgZ(1,"div",22),i.TgZ(2,"div",23),i.YNc(3,XF,4,5,"div",24),i.YNc(4,QF,4,5,"div",24),i.YNc(5,KF,4,5,"div",24),i.TgZ(6,"ul"),i.YNc(7,ej,2,1,"li",25),i.qZA(),i.TgZ(8,"div",26),i.YNc(9,tj,4,5,"button",27),i.YNc(10,ij,4,5,"button",28),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.uIk("colspan",t.displayedColumns.length),i.xp6(1),i.Q6J("@detailExpand",e===t.expandedConsent?"expanded":"collapsed"),i.xp6(2),i.Q6J("ngIf","GRANTED"===e.status),i.xp6(1),i.Q6J("ngIf","REVOKED"===e.status),i.xp6(1),i.Q6J("ngIf","UNSIGNED"===e.status),i.xp6(2),i.Q6J("ngForOf",e.attributes),i.xp6(2),i.Q6J("ngIf","REVOKED"!==e.status),i.xp6(1),i.Q6J("ngIf","GRANTED"!==e.status)}}function rj(n,a){1&n&&i._UZ(0,"tr",31)}function aj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.expandedConsent=c.expandedConsent===l?null:l}),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.ekj("example-expanded-row",t.expandedConsent===e)}}function sj(n,a){1&n&&i._UZ(0,"tr",33)}function oj(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",34),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.UI.ALERTS.NO_FILTER_RESULTS_ALERT")),"\n"))}function lj(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",34),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.CONSENTS_LIST.NO_CONSENTS")),"\n"))}const cj=function(){return["expandedDetail"]};let dj=(()=>{class n{constructor(e){this.tableCheckbox=e,this.filterValue="",this.consents=[],this.selection=new _n(!0,[]),this.displayedColumns=["select","status","name"],this.grantConsent=new i.vpe,this.rejectConsent=new i.vpe,this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"name":return e.consentHub.name;case"status":return e.status;default:return""}}ngOnChanges(){this.dataSource=new rl(this.consents),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}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)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.first)}},inputs:{filterValue:"filterValue",tableId:"tableId",consents:"consents",selection:"selection",displayedColumns:"displayedColumns"},outputs:{grantConsent:"grantConsent",rejectConsent:"rejectConsent"},features:[i.TTD],decls:19,vars:11,consts:[[1,"card",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","status","matSortDirection","asc","matSortDisableClear","","multiTemplateDataRows","",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","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item consent-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","consent-detail-row",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"consentStatus"],[1,"consent-detail"],[1,"p-3"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"d-flex"],["mat-flat-button","","class","mr-2","color","warn",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item","consent-row",3,"click"],["mat-row","",1,"consent-detail-row"],["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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WF,2,2,"th",4),i.YNc(5,UF,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,GF,4,5,"th",7),i.YNc(8,ZF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,$F,4,5,"th",7),i.YNc(11,JF,2,1,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,nj,11,8,"td",8),i.BQk(),i.YNc(14,rj,1,0,"tr",11),i.YNc(15,aj,1,2,"tr",12),i.YNc(16,sj,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,oj,4,5,"perun-web-apps-alert",14),i.YNc(18,lj,4,5,"perun-web-apps-alert",14)),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(12),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",i.DdM(10,cj)),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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,Mg,YF,w.O5,w.sg,It,po,mo,fo,go,Wn],pipes:[me,ii],styles:["tr.consent-detail-row[_ngcontent-%COMP%]{height:0!important}.consent-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{cursor:pointer;border-bottom-width:0!important}.consent-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column}th[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%]{padding:0!important}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:1rem!important}"],data:{animation:[ti("detailExpand",[St("collapsed",Ne({height:"0px",minHeight:"0"})),St("expanded",Ne({height:"*"})),vt("expanded <=> collapsed",_t("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),n})();const lD=function(){return["status","name"]};function uj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",4),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilterUnsigned(r)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"perun-web-apps-consents-list",6),i.NdJ("grantConsent",function(r){return i.CHM(e),i.oxw().grantConsent(r)})("rejectConsent",function(r){return i.CHM(e),i.oxw().rejectConsent(r)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.UNSIGNED_CONSENTS"))," "),i.xp6(3),i.Q6J("placeholder",i.lcZ(6,10,i.lcZ(7,12,"CONSENTS.FILTER"))),i.xp6(3),i.Q6J("consents",e.unsignedConsents)("filterValue",e.filterValueUnsigned)("tableId","TABLE_USER_CONSENTS")("displayedColumns",i.DdM(14,lD))}}function hj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",7),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilterSigned(r)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"perun-web-apps-consents-list",8),i.NdJ("grantConsent",function(r){return i.CHM(e),i.oxw().grantConsent(r)})("rejectConsent",function(r){return i.CHM(e),i.oxw().rejectConsent(r)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.PROCESSED_CONSENTS"))," "),i.xp6(3),i.Q6J("placeholder",i.lcZ(6,10,i.lcZ(7,12,"CONSENTS.FILTER"))),i.xp6(3),i.Q6J("consents",e.signedConsents)("tableId","TABLE_USER_CONSENTS")("filterValue",e.filterValueSigned)("displayedColumns",i.DdM(14,lD))}}function pj(n,a){1&n&&i._UZ(0,"mat-spinner",9)}let fj=(()=>{class n{constructor(e,t,r,l,c){this.router=e,this.notificator=t,this.translate=r,this.storeService=l,this.consentService=c,this.loading=!1,this.unsignedConsents=[],this.signedConsents=[],this.filterValueUnsigned="",this.filterValueSigned=""}ngOnInit(){this.loading=!0,this.consentService.getConsentsForUser(this.storeService.getPerunPrincipal().userId).subscribe(e=>{this.unsignedConsents=e.filter(t=>"UNSIGNED"===t.status),this.signedConsents=e.filter(t=>"UNSIGNED"!==t.status),this.loading=!1},()=>this.loading=!1)}grantAll(){this.loading=!0,this.notificator.showSuccess(this.translate.instant("CONSENTS.GRANT_ALL_NOTIFICATION")),this.loading=!1}rejectConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"REVOKED").subscribe(()=>{var t;const r=null!==(t=this.unsignedConsents.find(c=>c.id===e))&&void 0!==t?t:this.signedConsents.find(c=>c.id===e);this.moveConsent(r);const l=this.translate.instant("GRANTED"===r.status?"CONSENTS.CONSENT_REVOKED":"CONSENTS.CONSENT_REJECTED");r.status="REVOKED",this.notificator.showSuccess(l+r.consentHub.name),this.loading=!1},()=>this.loading=!1)}moveConsent(e){"UNSIGNED"===e.status&&(this.signedConsents=[...this.signedConsents,e],this.unsignedConsents=this.unsignedConsents.filter(t=>t.id!==e.id))}grantConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"GRANTED").subscribe(()=>{var t;const r=null!==(t=this.unsignedConsents.find(l=>l.id===e))&&void 0!==t?t:this.signedConsents.find(l=>l.id===e);this.moveConsent(r),r.status="GRANTED",this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+r.consentHub.name),this.loading=!1},()=>this.loading=!1)}applyFilterUnsigned(e){this.filterValueUnsigned=e}applyFilterSigned(e){this.filterValueSigned=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(ir),i.Y36(Le),i.Y36($t),i.Y36(Di))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-preview"]],decls:8,vars:8,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"page-subtitle"],[3,"placeholder","filter"],[3,"consents","filterValue","tableId","displayedColumns","grantConsent","rejectConsent"],[1,"page-subtitle","mt-4"],[3,"consents","tableId","filterValue","displayedColumns","grantConsent","rejectConsent"],[1,"ml-auto","mr-auto"]],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,uj,9,15,"div",2),i.YNc(6,hj,9,15,"div",2),i.YNc(7,pj,1,0,"mat-spinner",3),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,4,i.lcZ(3,6,"CONSENTS.TITLE")),"\n"),i.xp6(4),i.Q6J("ngIf",!t.loading&&0!==t.unsignedConsents.length),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[w.O5,Jp,dj,Ci],pipes:[me,ii],styles:[""]}),n})();function mj(n,a){1&n&&i._UZ(0,"mat-spinner",6)}function gj(n,a){if(1&n&&(i.TgZ(0,"div",7),i._UZ(1,"perun-web-apps-password-form",8),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("formGroup",e.pwdForm)("namespace",e.data.namespace)("language",e.lang)}}let _j=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialogRef=e,this.data=t,this.userManager=r,this.notificator=l,this.translate=c,this.formBuilder=s,this.apiRequestConfiguration=o,this.loading=!1,this.lang=this.translate.currentLang,this.pwdForm=this.formBuilder.group({passwordCtrl:["",An.required,[tS(this.data.namespace,this.userManager,this.apiRequestConfiguration)]],passwordAgainCtrl:["",An.required]},{validators:Gx.passwordMatchValidator})}cancel(){this.dialogRef.close()}activate(){this.loading=!0;const e=this.pwdForm.get("passwordCtrl").value;this.userManager.reservePasswordForUser({user:this.data.userId,namespace:this.data.namespace,password:e}).pipe((0,Li.w)(()=>this.userManager.validatePasswordForUser(this.data.userId,this.data.namespace))).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ACTIVATE_LOCAL_ACCOUNT.SUCCESS")),this.dialogRef.close()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(cn),i.Y36(Ti),i.Y36(ir),i.Y36(Le),i.Y36(Ym),i.Y36(ug))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-activate-local-account-dialog"]],decls:15,vars:18,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup","namespace","language"]],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,mj,1,0,"mat-spinner",1),i.YNc(5,gj,2,3,"div",2),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.ALo(10,"customTranslate"),i.qZA(),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.activate()}),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,i.lcZ(3,8,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.TITLE"))),i.xp6(3),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,10,i.lcZ(10,12,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",t.loading||t.pwdForm.invalid),i.xp6(1),i.hij(" ",i.lcZ(13,14,i.lcZ(14,16,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.ACTIVATE"))," "))},directives:[kn,w.O5,Ci,Pn,iS,Mu,co,vn,It],pipes:[me,ii],styles:[""]}),n})();function bj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).openPwdReset()}),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,"LOCAL_ACCOUNT.CHANGE_PWD"))," "))}function Aj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).activateAccount()}),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,"LOCAL_ACCOUNT.ACTIVATE"))," "))}function yj(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,bj,4,5,"button",3),i.YNc(2,Aj,4,5,"button",3),i.qZA()),2&n){const e=a.ngIf;i.xp6(1),i.Q6J("ngIf",e.exists),i.xp6(1),i.Q6J("ngIf",!e.exists)}}const Mj=function(n){return{exists:n}},wj=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:PF},{path:"service-access",component:OF},{path:"profile",component:CV,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:eO,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:RO,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:_I,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:xB,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:BB,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:wV,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"consents",component:IF,data:{breadcrumb:"MENU_ITEMS.CONSENTS"},children:[{path:"",component:fj,data:{breadcrumb:"MENU_ITEMS.CONSENTS"}},{path:":consentId",component:zF,data:{breadcrumb:"MENU_ITEMS.CONSENT_REQUEST"}}]},{path:"settings",component:NB,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:a3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:n3,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:LF,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:_N,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"localAccount",component:(()=>{class n{constructor(e,t,r,l,c){this.userService=e,this.store=t,this.appUrlService=r,this.dialog=l,this.router=c,this.userId=this.store.getPerunPrincipal().userId,this.namespace=this.store.get("local_account_namespace"),this.loginExists$=this.userService.loginExist(this.userId,this.namespace)}openPwdReset(){let e=this.appUrlService.getUrlForOtherApplication("pwdReset",this.namespace);e+="&reset=true",window.open(e,"_blank")}activateAccount(){const e=Ei();e.width="550px",e.data={userId:this.userId,namespace:this.namespace},this.dialog.open(_j,e).afterClosed().subscribe(()=>{this.router.navigate(["/profile","settings","localAccount"],{queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36($t),i.Y36(lA),i.Y36(en),i.Y36(Mi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-local-account"]],decls:10,vars:15,consts:[[1,"page-title"],[1,"page-subtitle"],[4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",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,"div",1),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,yj,3,2,"div",2),i.ALo(9,"async")),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"LOCAL_ACCOUNT.TITLE"))),i.xp6(4),i.hij(" ",i.lcZ(6,7,i.lcZ(7,9,"LOCAL_ACCOUNT.DESC")),"\n"),i.xp6(3),i.Q6J("ngIf",i.VKq(13,Mj,i.lcZ(9,11,t.loginExists$))))},directives:[w.O5,It],pipes:[me,ii,w.Ov],styles:[""]}),n})(),data:{breadcrumb:"SETTINGS.LOCAL_ACCOUNT"}},{path:"mailingLists",component:vN,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:IN,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:FN,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:WN,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:JN,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:Jz,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let Cj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[wr.forRoot(wj,{preloadingStrategy:O,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class vj{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let Tj=(()=>{class n{constructor(e,t,r,l,c){this.http=e,this.storeService=t,this.authzSevice=r,this.titleService=l,this.utilsService=c}initializeColors(e,t){return new Promise(r=>{t.forEach(l=>{const c=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,c)}),e.forEach(l=>{const c=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,c),this.setEntityTheme(l.entity,c)}),r()})}setEntityTheme(e,t){const r=function xj(n){return[ma(tinycolor(n).lighten(52),"50"),ma(tinycolor(n).lighten(37),"100"),ma(tinycolor(n).lighten(26),"200"),ma(tinycolor(n).lighten(12),"300"),ma(tinycolor(n).lighten(6),"400"),ma(tinycolor(n),"500"),ma(tinycolor(n).darken(6),"600"),ma(tinycolor(n).darken(12),"700"),ma(tinycolor(n).darken(18),"800"),ma(tinycolor(n).darken(24),"900"),ma(tinycolor(n).lighten(50).saturate(30),"A100"),ma(tinycolor(n).lighten(30).saturate(30),"A200"),ma(tinycolor(n).lighten(10).saturate(15),"A400"),ma(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const l of r){const o=`--${e}-theme-primary-contrast-${l.name}`,d=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(o,d)}}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=>{var r;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(r=null==t?void 0:t.brandings)||void 0===r?void 0:r[l])&&this.storeService.setBanding(l),e()},()=>{e()})})}getNoCacheHeaders(){return new M.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(r=>{this.storeService.setAppsConfig(r),e()},r=>t(r))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG($t),i.LFG(Zi),i.LFG(lt),i.LFG(Lt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ma(n,a){const e=tinycolor(n),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let Sj=(()=>{class n{constructor(e,t,r){this.initAuthService=e,this.appConfigService=t,this.location=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"}]}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(CC),i.LFG(Tj),i.LFG(w.Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC]]}),n})(),J4=(()=>{class n{constructor(e,t){(0,w.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:_o,useValue:Object.assign(Object.assign({},FC),e)},{provide:jC,useValue:t,multi:!0},{provide:Up,useValue:!0}]:[{provide:_o,useValue:Object.assign(Object.assign({},FC),e)},{provide:jC,useValue:t,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Up),i.LFG(i.Lbi))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[$E,NS,gD],$E,NS,gD]}),n})();const X4=new i.OlP("perun-api-service"),Q4={provide:M.TP,useExisting:(0,i.Gpc)(()=>$x),multi:!0};function K4(n){return new vj(n,"./assets/i18n/",".json")}function eq(n){const a={basePath:n.get("api_url")};return new at(a)}const tq=n=>()=>n.initialize();let iq=(()=>{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(Zx),i.LFG(Le))},n.\u0275mod=i.oAB({type:n,bootstrap:[PP]}),n.\u0275inj=i.cJS({providers:[Zx,{provide:i.ip1,useFactory:tq,multi:!0,deps:[Sj]},{provide:at,useFactory:eq,deps:[$t]},cA,$x,Q4,{provide:X4,useClass:u2},lt,{provide:Vu.Hy,useFactory:()=>localStorage}],imports:[[de,wT,M.JF,pt.forRoot({loader:{provide:Ip,useFactory:K4,deps:[M.eN]}}),Cj,uo,$C,KC,wr,ls,J4,NC,aD,uA,uv,ps,ec,oA,fg,Fp,il,_g,Ou,jp,RA,_v,lS,Xx,ZO,Tr,nl,Av,mS,Sp,kF,Zt,fd,Vu.zr.forRoot(),x2]]}),n})();(0,i.G48)(),Wr().bootstrapModule(iq).catch(n=>console.error(n))},1302:function(j,Y,T){var w;!function(i,S){var x={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var S=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 x(ce,ie,te,he,ge){for(var Oe,We,Ze,Ee,ve,Se,mt,Re,Ve,Qe,ue,_e,be;ge>=64;){for(Oe=ie[0],We=ie[1],Ze=ie[2],Ee=ie[3],ve=ie[4],Se=ie[5],mt=ie[6],Re=ie[7],Qe=0;Qe<16;Qe++)ce[Qe]=(255&te[ue=he+4*Qe])<<24|(255&te[ue+1])<<16|(255&te[ue+2])<<8|255&te[ue+3];for(Qe=16;Qe<64;Qe++)ce[Qe]=((_e=((Ve=ce[Qe-2])>>>17|Ve<<15)^(Ve>>>19|Ve<<13)^Ve>>>10)+ce[Qe-7]|0)+((be=((Ve=ce[Qe-15])>>>7|Ve<<25)^(Ve>>>18|Ve<<14)^Ve>>>3)+ce[Qe-16]|0);for(Qe=0;Qe<64;Qe++)_e=(((ve>>>6|ve<<26)^(ve>>>11|ve<<21)^(ve>>>25|ve<<7))+(ve&Se^~ve&mt)|0)+(Re+(S[Qe]+ce[Qe]|0)|0)|0,be=((Oe>>>2|Oe<<30)^(Oe>>>13|Oe<<19)^(Oe>>>22|Oe<<10))+(Oe&We^Oe&Ze^We&Ze)|0,Re=mt,mt=Se,Se=ve,ve=Ee+_e|0,Ee=Ze,Ze=We,We=Oe,Oe=_e+be|0;ie[0]+=Oe,ie[1]+=We,ie[2]+=Ze,ie[3]+=Ee,ie[4]+=ve,ie[5]+=Se,ie[6]+=mt,ie[7]+=Re,he+=64,ge-=64}return he}var E=function(){function ce(){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 ce.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},ce.prototype.clean=function(){for(var ie=0;ie0){for(;this.bufferLength<64&&te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;64===this.bufferLength&&(x(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(te>=64&&(he=x(this.temp,this.state,ie,he,te),te%=64);te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;return this},ce.prototype.finish=function(ie){if(!this.finished){var te=this.bytesHashed,he=this.bufferLength,ge=te/536870912|0,Oe=te<<3,We=te%64<56?64:128;this.buffer[he]=128;for(var Ze=he+1;Ze>>24&255,this.buffer[We-7]=ge>>>16&255,this.buffer[We-6]=ge>>>8&255,this.buffer[We-5]=ge>>>0&255,this.buffer[We-4]=Oe>>>24&255,this.buffer[We-3]=Oe>>>16&255,this.buffer[We-2]=Oe>>>8&255,this.buffer[We-1]=Oe>>>0&255,x(this.temp,this.state,this.buffer,0,We),this.finished=!0}for(Ze=0;Ze<8;Ze++)ie[4*Ze+0]=this.state[Ze]>>>24&255,ie[4*Ze+1]=this.state[Ze]>>>16&255,ie[4*Ze+2]=this.state[Ze]>>>8&255,ie[4*Ze+3]=this.state[Ze]>>>0&255;return this},ce.prototype.digest=function(){var ie=new Uint8Array(this.digestLength);return this.finish(ie),ie},ce.prototype._saveState=function(ie){for(var te=0;tethis.blockSize)(new E).update(ie).finish(te).clean();else for(var he=0;he1&&ie.update(ce),te&&ie.update(te),ie.update(he),ie.finish(ce),he[0]++}i.HMAC=k,i.hash=R,i.default=R,i.hmac=V;var $=new Uint8Array(i.digestLength);i.hkdf=function X(ce,ie,te,he){void 0===ie&&(ie=$),void 0===he&&(he=32);for(var ge=new Uint8Array([1]),Oe=V(ie,ce),We=new k(Oe),Ze=new Uint8Array(We.digestLength),Ee=Ze.length,ve=new Uint8Array(he),Se=0;Se>>24&255,We[1]=mt>>>16&255,We[2]=mt>>>8&255,We[3]=mt>>>0&255,ge.reset(),ge.update(ie),ge.update(We),ge.finish(Ee);for(var Re=0;Re=X.status}function k($){try{$.dispatchEvent(new MouseEvent("click"))}catch(se){var X=document.createEvent("MouseEvents");X.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(X)}}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,V=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),q=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!V?function($,X,se){var ce=R.URL||R.webkitURL,ie=document.createElement("a");ie.download=X=X||$.name||"download",ie.rel="noopener","string"==typeof $?(ie.href=$,ie.origin===location.origin?k(ie):E(ie.href)?x($,X,se):k(ie,ie.target="_blank")):(ie.href=ce.createObjectURL($),setTimeout(function(){ce.revokeObjectURL(ie.href)},4e4),setTimeout(function(){k(ie)},0))}:"msSaveOrOpenBlob"in navigator?function($,X,se){if(X=X||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function S($,X){return void 0===X?X={autoBom:!1}:"object"!=typeof X&&(console.warn("Deprecated: Expected third argument to be a object"),X={autoBom:!X}),X.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,se),X);else if(E($))x($,X,se);else{var ce=document.createElement("a");ce.href=$,ce.target="_blank",setTimeout(function(){k(ce)})}}:function($,X,se,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),"string"==typeof $)return x($,X,se);var ie="application/octet-stream"===$.type,te=/constructor/i.test(R.HTMLElement)||R.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||ie&&te||V)&&"undefined"!=typeof FileReader){var ge=new FileReader;ge.onloadend=function(){var Ze=ge.result;Ze=he?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=Ze:location=Ze,ce=null},ge.readAsDataURL($)}else{var Oe=R.URL||R.webkitURL,We=Oe.createObjectURL($);ce?ce.location=We:location.href=We,ce=null,setTimeout(function(){Oe.revokeObjectURL(We)},4e4)}});R.saveAs=q.saveAs=q,j.exports=q}.apply(Y,[]))&&(j.exports=i)},1158:(j,Y,T)=>{(j.exports=T(7867)).tz.load(T(1128))},7867:function(j,Y,T){var w,i,S;!function(x,E){"use strict";j.exports?j.exports=E(T(5439)):(i=[T(5439)],void 0!==(S="function"==typeof(w=E)?w.apply(Y,i):w)&&(j.exports=S))}(0,function(x){"use strict";void 0===x.version&&x.default&&(x=x.default);var X,k={},R={},V={},q={},$={};(!x||"string"!=typeof x.version)&&gi("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var se=x.version.split("."),ce=+se[0],ie=+se[1];function te(de){return de>96?de-87:de>64?de-29:de-48}function he(de){var Be=0,Ae=de.split("."),Ke=Ae[0],tt=Ae[1]||"",lt=1,Te=0,re=1;for(45===de.charCodeAt(0)&&(Be=1,re=-1);Be= 2.6.0. You are using Moment.js "+x.version+". See momentjs.com"),Ee.prototype={_set:function(de){this.name=de.name,this.abbrs=de.abbrs,this.untils=de.untils,this.offsets=de.offsets,this.population=de.population},_index:function(de){var Ke,Be=+de,Ae=this.untils;for(Ke=0;KeTe&&Jt.moveInvalidForward&&(lt=Te),Be3){var Be=q[ye(de)];if(Be)return Be;gi("Moment Timezone found "+de+" from the Intl api, but did not have that data loaded.")}}catch(oe){}var Kt,Te,re,Ae=function Ve(){var Ke,tt,lt,de=(new Date).getFullYear()-2,Be=new Se(new Date(de,0,1)),Ae=[Be];for(lt=1;lt<48;lt++)(tt=new Se(new Date(de,lt,1))).offset!==Be.offset&&(Ke=Re(Be,tt),Ae.push(Ke),Ae.push(new Se(new Date(Ke.at+6e4)))),Be=tt;for(lt=0;lt<4;lt++)Ae.push(new Se(new Date(de+lt,0,1))),Ae.push(new Se(new Date(de+lt,6,1)));return Ae}(),Ke=Ae.length,tt=function _e(de){var tt,lt,Kt,Be=de.length,Ae={},Ke=[];for(tt=0;tt0?lt[0].zone.name:void 0}()),X},Jt.names=function zt(){var de,Be=[];for(de in q)q.hasOwnProperty(de)&&(k[de]||k[R[de]])&&q[de]&&Be.push(q[de]);return Be.sort()},Jt.Zone=Ee,Jt.unpack=Ze,Jt.unpackBase60=he,Jt.needsOffset=Gi,Jt.moveInvalidForward=!0,Jt.moveAmbiguousForward=!1,Jt.countries=function oi(){return Object.keys(V)},Jt.zonesForCountry=function Xe(de,Be){if(!(de=function Tn(de){return de=de.toUpperCase(),V[de]||null}(de)))return null;var Ae=de.zones.sort();return Be?Ae.map(function(Ke){return{name:Ke,offset:ft(Ke).utcOffset(new Date)}}):Ae};var hn=x.fn;function ga(de){return function(){return this._z?this._z.abbr(this):de.call(this)}}function _a(de){return function(){return this._z=null,de.apply(this,arguments)}}x.tz=Jt,x.defaultZone=null,x.updateOffset=function(de,Be){var Ke,Ae=x.defaultZone;if(void 0===de._z&&(Ae&&Gi(de)&&!de._isUTC&&(de._d=x.utc(de._a)._d,de.utc().add(Ae.parse(de),"minutes")),de._z=Ae),de._z)if(Ke=de._z.utcOffset(de),Math.abs(Ke)<16&&(Ke/=60),void 0!==de.utcOffset){var tt=de._z;de.utcOffset(-Ke,Be),de._z=tt}else de.zone(Ke,Be)},hn.tz=function(de,Be){if(de){if("string"!=typeof de)throw new Error("Time zone name must be a string, got "+de+" ["+typeof de+"]");return this._z=ft(de),this._z?x.updateOffset(this,Be):gi("Moment Timezone has no data for "+de+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},hn.zoneName=ga(hn.zoneName),hn.zoneAbbr=ga(hn.zoneAbbr),hn.utc=_a(hn.utc),hn.local=_a(hn.local),hn.utcOffset=function Wr(de){return function(){return arguments.length>0&&(this._z=null),de.apply(this,arguments)}}(hn.utcOffset),x.tz.setDefault=function(de){return(ce<2||2===ce&&ie<9)&&gi("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+x.version+"."),x.defaultZone=de?ft(de):null,x};var On=x.momentProperties;return"[object Array]"===Object.prototype.toString.call(On)?(On.push("_z"),On.push("_a")):On&&(On._z=null),x})},7088:function(j,Y,T){!function(w){"use strict";w.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(S){return/^nm$/i.test(S)},meridiem:function(S,x,E){return S<12?E?"vm":"VM":E?"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(S){return S+(1===S||8===S||S>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},2502:function(j,Y,T){!function(w){"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},S={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"]},x=function(R){return function(V,q,$,X){var se=i(V),ce=S[R][i(V)];return 2===se&&(ce=ce[q?0:1]),ce.replace(/%d/i,V)}},E=["\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"];w.defineLocale("ar-dz",{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(R){return"\u0645"===R},meridiem:function(R,V,q){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:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(T(5439))},128:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},4519:function(j,Y,T){!function(w){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},S=function(V){return 0===V?0:1===V?1:2===V?2:V%100>=3&&V%100<=10?3:V%100>=11?4:5},x={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(V){return function(q,$,X,se){var ce=S(q),ie=x[V][S(q)];return 2===ce&&(ie=ie[$?0:1]),ie.replace(/%d/i,q)}},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"];w.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(V){return"\u0645"===V},meridiem:function(V,q,$){return V<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(V){return V.replace(/\u060c/g,",")},postformat:function(V){return V.replace(/\d/g,function(q){return i[q]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},5443:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7642:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};w.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(E){return"\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return S[k]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(T(5439))},8592:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7038:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=function(q){return 0===q?0:1===q?1:2===q?2:q%100>=3&&q%100<=10?3:q%100>=11?4:5},E={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(q){return function($,X,se,ce){var ie=x($),te=E[q][x($)];return 2===ie&&(te=te[X?0:1]),te.replace(/%d/i,$)}},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"];w.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(q){return"\u0645"===q},meridiem:function(q,$,X){return q<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(q){return q.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return S[$]}).replace(/\u060c/g,",")},postformat:function(q){return q.replace(/\d/g,function($){return i[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},1213:function(j,Y,T){!function(w){"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"};w.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(x){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(x)},meridiem:function(x,E,k){return x<4?"gec\u0259":x<12?"s\u0259h\u0259r":x<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(x){if(0===x)return x+"-\u0131nc\u0131";var E=x%10;return x+(i[E]||i[x%100-E]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9191:function(j,Y,T){!function(w){"use strict";function S(E,k,R){return"m"===R?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":E+" "+function i(E,k){var R=E.split("_");return k%10==1&&k%100!=11?R[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?R[1]:R[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"}[R],+E)}w.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:S,mm:S,h:S,hh:S,d:"\u0434\u0437\u0435\u043d\u044c",dd:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(E)},meridiem:function(E,k,R){return E<4?"\u043d\u043e\u0447\u044b":E<12?"\u0440\u0430\u043d\u0456\u0446\u044b":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(E,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return E%10!=2&&E%10!=3||E%100==12||E%100==13?E+"-\u044b":E+"-\u0456";case"D":return E+"-\u0433\u0430";default:return E}},week:{dow:1,doy:7}})}(T(5439))},322:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===x?S+"-\u0432\u0438":2===x?S+"-\u0440\u0438":7===x||8===x?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},8042:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5903:function(j,Y,T){!function(w){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};w.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===k?E<4?E:E+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?E:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?E>=3?E:E+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u09b0\u09be\u09a4":E<6?"\u09ad\u09cb\u09b0":E<12?"\u09b8\u0995\u09be\u09b2":E<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<18?"\u09ac\u09bf\u0995\u09be\u09b2":E<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9620:function(j,Y,T){!function(w){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};w.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===k&&E>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&E<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?E+12:E},meridiem:function(E,k,R){return E<4?"\u09b0\u09be\u09a4":E<10?"\u09b8\u0995\u09be\u09b2":E<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9645:function(j,Y,T){!function(w){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},S={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};w.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(E){return E.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&E>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&E<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?E+12:E},meridiem:function(E,k,R){return E<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":E<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":E<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":E<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(T(5439))},5020:function(j,Y,T){!function(w){"use strict";function i(te,he,ge){return te+" "+function E(te,he){return 2===he?function k(te){var he={m:"v",b:"v",d:"z"};return void 0===he[te.charAt(0)]?te:he[te.charAt(0)]+te.substring(1)}(te):te}({mm:"munutenn",MM:"miz",dd:"devezh"}[ge],te)}function x(te){return te>9?x(te%10):te}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],V=/^(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,ce=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];w.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:ce,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:ce,monthsRegex:V,monthsShortRegex:V,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 S(te){switch(x(te)){case 1:case 3:case 4:case 5:case 9:return te+" bloaz";default:return te+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(te){return te+(1===te?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(te){return"g.m."===te},meridiem:function(te,he,ge){return te<12?"a.m.":"g.m."}})}(T(5439))},4792:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var R=x+" ";switch(k){case"ss":return R+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return R+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return E?"jedan sat":"jednog sata";case"hh":return R+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return R+(1===x?"dan":"dana");case"MM":return R+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return R+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}w.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}})}(T(5439))},7980:function(j,Y,T){!function(w){"use strict";w.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(S,x){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===x||"W"===x)&&(E="a"),S+E},week:{dow:1,doy:4}})}(T(5439))},7322:function(j,Y,T){!function(w){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},S="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),x=[/^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],E=/^(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(q){return q>1&&q<5&&1!=~~(q/10)}function R(q,$,X,se){var ce=q+" ";switch(X){case"s":return $||se?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return $||se?ce+(k(q)?"sekundy":"sekund"):ce+"sekundami";case"m":return $?"minuta":se?"minutu":"minutou";case"mm":return $||se?ce+(k(q)?"minuty":"minut"):ce+"minutami";case"h":return $?"hodina":se?"hodinu":"hodinou";case"hh":return $||se?ce+(k(q)?"hodiny":"hodin"):ce+"hodinami";case"d":return $||se?"den":"dnem";case"dd":return $||se?ce+(k(q)?"dny":"dn\xed"):ce+"dny";case"M":return $||se?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return $||se?ce+(k(q)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):ce+"m\u011bs\xedci";case"y":return $||se?"rok":"rokem";case"yy":return $||se?ce+(k(q)?"roky":"let"):ce+"lety"}}w.defineLocale("cs",{months:i,monthsShort:S,monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},365:function(j,Y,T){!function(w){"use strict";w.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(S){return S+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(S)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(S)?"\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}})}(T(5439))},2092:function(j,Y,T){!function(w){"use strict";w.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(S){var E="";return S>20?E=40===S||50===S||60===S||80===S||100===S?"fed":"ain":S>0&&(E=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][S]),S+E},week:{dow:1,doy:4}})}(T(5439))},7387:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},9459:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},3694:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},4307:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},9659:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("dv",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,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(E){return"\u0789\u078a"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(T(5439))},3460:function(j,Y,T){!function(w){"use strict";w.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(x,E){return x?"string"==typeof E&&/D/.test(E.substring(0,E.indexOf("MMMM")))?this._monthsGenitiveEl[x.month()]:this._monthsNominativeEl[x.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(x,E,k){return x>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(x){return"\u03bc"===(x+"").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(x,E){var k=this._calendarEl[x],R=E&&E.hours();return function i(x){return"undefined"!=typeof Function&&x instanceof Function||"[object Function]"===Object.prototype.toString.call(x)}(k)&&(k=k.apply(E)),k.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}})}(T(5439))},4369:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:4}})}(T(5439))},530:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(T(5439))},9998:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3391:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},5414:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(T(5439))},9615:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:6}})}(T(5439))},1248:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3767:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},4530:function(j,Y,T){!function(w){"use strict";w.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(S){return"p"===S.charAt(0).toLowerCase()},meridiem:function(S,x,E){return S>11?E?"p.t.m.":"P.T.M.":E?"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}})}(T(5439))},8944:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},9116:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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"})}(T(5439))},3609:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},6866:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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"})}(T(5439))},6725:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[x+"sekundi",x+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[x+" minuti",x+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[x+" tunni",x+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[x+" kuu",x+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[x+" aasta",x+" aastat"]};return E?V[k][2]?V[k][2]:V[k][1]:R?V[k][0]:V[k][1]}w.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}})}(T(5439))},7931:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6417:function(j,Y,T){!function(w){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},S={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};w.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(E){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(E)},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u06f0-\u06f9]/g,function(k){return S[k]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(T(5439))},944:function(j,Y,T){!function(w){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),S=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function x(R,V,q,$){var X="";switch(q){case"s":return $?"muutaman sekunnin":"muutama sekunti";case"ss":X=$?"sekunnin":"sekuntia";break;case"m":return $?"minuutin":"minuutti";case"mm":X=$?"minuutin":"minuuttia";break;case"h":return $?"tunnin":"tunti";case"hh":X=$?"tunnin":"tuntia";break;case"d":return $?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":X=$?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return $?"kuukauden":"kuukausi";case"MM":X=$?"kuukauden":"kuukautta";break;case"y":return $?"vuoden":"vuosi";case"yy":X=$?"vuoden":"vuotta"}return function E(R,V){return R<10?V?S[R]:i[R]:R}(R,$)+" "+X}w.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:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1766:function(j,Y,T){!function(w){"use strict";w.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(S){return S},week:{dow:1,doy:4}})}(T(5439))},5867:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6848:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}}})}(T(5439))},7773:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}},week:{dow:1,doy:4}})}(T(5439))},1636:function(j,Y,T){!function(w){"use strict";var x=/(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,E=[/^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];w.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:x,monthsShortRegex:x,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:E,longMonthsParse:E,shortMonthsParse:E,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,V){switch(V){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}})}(T(5439))},4940:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),S="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");w.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(E,k){return E?/-MMM-/.test(k)?S[E.month()]:i[E.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(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},1402:function(j,Y,T){!function(w){"use strict";w.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6924:function(j,Y,T){!function(w){"use strict";w.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6398:function(j,Y,T){!function(w){"use strict";w.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(S){return 0===S.indexOf("un")?"n"+S:"en "+S},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}})}(T(5439))},2457:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={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:[x+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",x+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[x+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",x+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[x+" \u0935\u0930\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[x+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",x+" \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:[x+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",x+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[x+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?V[k][0]:V[k][1]}w.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(x,E){return"D"===E?x+"\u0935\u0947\u0930":x},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(x,E){return 12===x&&(x=0),"\u0930\u093e\u0924\u0940"===E?x<4?x:x+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===E?x:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===E?x>12?x:x+12:"\u0938\u093e\u0902\u091c\u0947"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"\u0930\u093e\u0924\u0940":x<12?"\u0938\u0915\u093e\u0933\u0940\u0902":x<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":x<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(T(5439))},2545:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={s:["thoddea sekondamni","thodde sekond"],ss:[x+" sekondamni",x+" sekond"],m:["eka mintan","ek minut"],mm:[x+" mintamni",x+" mintam"],h:["eka voran","ek vor"],hh:[x+" voramni",x+" voram"],d:["eka disan","ek dis"],dd:[x+" disamni",x+" dis"],M:["eka mhoinean","ek mhoino"],MM:[x+" mhoineamni",x+" mhoine"],y:["eka vorsan","ek voros"],yy:[x+" vorsamni",x+" vorsam"]};return R?V[k][0]:V[k][1]}w.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(x,E){return"D"===E?x+"er":x},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(x,E){return 12===x&&(x=0),"rati"===E?x<4?x:x+12:"sokallim"===E?x:"donparam"===E?x>12?x:x+12:"sanje"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"rati":x<12?"sokallim":x<16?"donparam":x<20?"sanje":"rati"}})}(T(5439))},2641:function(j,Y,T){!function(w){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},S={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};w.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(E){return E.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0ab0\u0abe\u0aa4"===k?E<4?E:E+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?E:"\u0aac\u0aaa\u0acb\u0ab0"===k?E>=10?E:E+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0ab0\u0abe\u0aa4":E<10?"\u0ab8\u0ab5\u0abe\u0ab0":E<17?"\u0aac\u0aaa\u0acb\u0ab0":E<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(T(5439))},7536:function(j,Y,T){!function(w){"use strict";w.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(S){return 2===S?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":S+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(S){return 2===S?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":S+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(S){return 2===S?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":S+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(S){return 2===S?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":S%10==0&&10!==S?S+" \u05e9\u05e0\u05d4":S+" \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(S){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(S)},meridiem:function(S,x,E){return S<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":S<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":S<12?E?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":S<18?E?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(T(5439))},6335:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},x=[/^\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];w.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:x,longMonthsParse:x,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(V){return S[V]})},postformat:function(R){return R.replace(/\d/g,function(V){return i[V]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,V){return 12===R&&(R=0),"\u0930\u093e\u0924"===V?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===V?R:"\u0926\u094b\u092a\u0939\u0930"===V?R>=10?R:R+12:"\u0936\u093e\u092e"===V?R+12:void 0},meridiem:function(R,V,q){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}})}(T(5439))},7458:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var R=x+" ";switch(k){case"ss":return R+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return R+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return E?"jedan sat":"jednog sata";case"hh":return R+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return R+(1===x?"dan":"dana");case"MM":return R+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return R+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}w.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}})}(T(5439))},6540:function(j,Y,T){!function(w){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function S(k,R,V,q){var $=k;switch(V){case"s":return q||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return $+(q||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(q||R?" perc":" perce");case"mm":return $+(q||R?" perc":" perce");case"h":return"egy"+(q||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return $+(q||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(q||R?" nap":" napja");case"dd":return $+(q||R?" nap":" napja");case"M":return"egy"+(q||R?" h\xf3nap":" h\xf3napja");case"MM":return $+(q||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(q||R?" \xe9v":" \xe9ve");case"yy":return $+(q||R?" \xe9v":" \xe9ve")}return""}function x(k){return(k?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}w.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,R,V){return k<12?!0===V?"de":"DE":!0===V?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return x.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return x.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},5283:function(j,Y,T){!function(w){"use strict";w.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(S){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(S)},meridiem:function(S){return S<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":S<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":S<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(S,x){switch(x){case"DDD":case"w":case"W":case"DDDo":return 1===S?S+"-\u056b\u0576":S+"-\u0580\u0564";default:return S}},week:{dow:1,doy:7}})}(T(5439))},8780:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"siang"===x?S>=11?S:S+12:"sore"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"siang":S<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}})}(T(5439))},4205:function(j,Y,T){!function(w){"use strict";function i(E){return E%100==11||E%10!=1}function S(E,k,R,V){var q=E+" ";switch(R){case"s":return k||V?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(E)?q+(k||V?"sek\xfandur":"sek\xfandum"):q+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(E)?q+(k||V?"m\xedn\xfatur":"m\xedn\xfatum"):k?q+"m\xedn\xfata":q+"m\xedn\xfatu";case"hh":return i(E)?q+(k||V?"klukkustundir":"klukkustundum"):q+"klukkustund";case"d":return k?"dagur":V?"dag":"degi";case"dd":return i(E)?k?q+"dagar":q+(V?"daga":"d\xf6gum"):k?q+"dagur":q+(V?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":V?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(E)?k?q+"m\xe1nu\xf0ir":q+(V?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?q+"m\xe1nu\xf0ur":q+(V?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||V?"\xe1r":"\xe1ri";case"yy":return i(E)?q+(k||V?"\xe1r":"\xe1rum"):q+(k||V?"\xe1r":"\xe1ri")}}w.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:S,ss:S,m:S,mm:S,h:"klukkustund",hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},9985:function(j,Y,T){!function(w){"use strict";w.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(S){return(/^[0-9].+$/.test(S)?"tra":"in")+" "+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",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}})}(T(5439))},4211:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},1003:function(j,Y,T){!function(w){"use strict";w.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(S,x){return"\u5143"===x[1]?1:parseInt(x[1]||S,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(S){return"\u5348\u5f8c"===S},meridiem:function(S,x,E){return S<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(S){return S.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(S){return this.week()!==S.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(S,x){switch(x){case"y":return 1===S?"\u5143\u5e74":S+"\u5e74";case"d":case"D":case"DDD":return S+"\u65e5";default:return S}},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"}})}(T(5439))},420:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"enjing"===x?S:"siyang"===x?S>=11?S:S+12:"sonten"===x||"ndalu"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"enjing":S<15?"siyang":S<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}})}(T(5439))},851:function(j,Y,T){!function(w){"use strict";w.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(S){return S.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(x,E,k){return"\u10d8"===k?E+"\u10e8\u10d8":E+k+"\u10e8\u10d8"})},past:function(S){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(S)?S.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(S)?S.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):S},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(S){return 0===S?S:1===S?S+"-\u10da\u10d8":S<20||S<=100&&S%20==0||S%100==0?"\u10db\u10d4-"+S:S+"-\u10d4"},week:{dow:1,doy:7}})}(T(5439))},6074:function(j,Y,T){!function(w){"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"};w.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(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},3343:function(j,Y,T){!function(w){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},S={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};w.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(E){return"\u179b\u17d2\u1784\u17b6\u1785"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return S[k]})},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(T(5439))},4799:function(j,Y,T){!function(w){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},S={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};w.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(E){return E.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?E<4?E:E+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?E:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?E>=10?E:E+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":E<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":E<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":E<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(E){return E+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(T(5439))},3549:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\uc77c";case"M":return S+"\uc6d4";case"w":case"W":return S+"\uc8fc";default:return S}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(S){return"\uc624\ud6c4"===S},meridiem:function(S,x,E){return S<12?"\uc624\uc804":"\uc624\ud6c4"}})}(T(5439))},1037:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=["\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"];w.defineLocale("ku",{months:x,monthsShort:x,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,R,V){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(R){return S[R]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},3125:function(j,Y,T){!function(w){"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"};w.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(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9586:function(j,Y,T){!function(w){"use strict";function i(R,V,q,$){var X={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 V?X[q][0]:X[q][1]}function E(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 V=R%10;return E(0===V?R/10:V)}if(R<1e4){for(;R>=10;)R/=10;return E(R)}return E(R/=1e3)}w.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 S(R){return E(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function x(R){return E(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}})}(T(5439))},2349:function(j,Y,T){!function(w){"use strict";w.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(S){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===S},meridiem:function(S,x,E){return S<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(S){return"\u0e97\u0eb5\u0ec8"+S}})}(T(5439))},2400:function(j,Y,T){!function(w){"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 x(q,$,X,se){return $?k(X)[0]:se?k(X)[1]:k(X)[2]}function E(q){return q%10==0||q>10&&q<20}function k(q){return i[q].split("_")}function R(q,$,X,se){var ce=q+" ";return 1===q?ce+x(0,$,X[0],se):$?ce+(E(q)?k(X)[1]:k(X)[0]):se?ce+k(X)[1]:ce+(E(q)?k(X)[1]:k(X)[2])}w.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 S(q,$,X,se){return $?"kelios sekund\u0117s":se?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:x,mm:R,h:x,hh:R,d:x,dd:R,M:x,MM:R,y:x,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(q){return q+"-oji"},week:{dow:1,doy:4}})}(T(5439))},9991:function(j,Y,T){!function(w){"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 S(V,q,$){return $?q%10==1&&q%100!=11?V[2]:V[3]:q%10==1&&q%100!=11?V[0]:V[1]}function x(V,q,$){return V+" "+S(i[$],V,q)}function E(V,q,$){return S(i[$],V,q)}w.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(V,q){return q?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:x,m:E,mm:x,h:E,hh:x,d:E,dd:x,M:E,MM:x,y:E,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8477:function(j,Y,T){!function(w){"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(x,E){return 1===x?E[0]:x>=2&&x<=4?E[1]:E[2]},translate:function(x,E,k){var R=i.words[k];return 1===k.length?E?R[0]:R[1]:x+" "+i.correctGrammaticalCase(x,R)}};w.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}})}(T(5439))},5118:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5943:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===x?S+"-\u0432\u0438":2===x?S+"-\u0440\u0438":7===x||8===x?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},3849:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===x&&S>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===x||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===x?S+12:S},meridiem:function(S,x,E){return S<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":S<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":S<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":S<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(T(5439))},1977:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){switch(k){case"s":return E?"\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 x+(E?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return x+(E?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return x+(E?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return x+(E?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return x+(E?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return x+(E?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return x}}w.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(x){return"\u04ae\u0425"===x},meridiem:function(x,E,k){return x<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(x,E){switch(E){case"d":case"D":case"DDD":return x+" \u04e9\u0434\u04e9\u0440";default:return x}}})}(T(5439))},6184:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function x(k,R,V,q){var $="";if(R)switch(V){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":$="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":$="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":$="%d \u0924\u093e\u0938";break;case"d":$="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":$="%d \u0926\u093f\u0935\u0938";break;case"M":$="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":$="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u0947"}else switch(V){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":$="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":$="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":$="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":$="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":$="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":$="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":$="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return $.replace(/%d/i,k)}w.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:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return S[R]})},postformat:function(k){return k.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(k,R){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?k>=12?k:k+12:void 0},meridiem:function(k,R,V){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}})}(T(5439))},4524:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"tengahari"===x?S>=11?S:S+12:"petang"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(T(5439))},485:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"tengahari"===x?S>=11?S:S+12:"petang"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(T(5439))},6681:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2024:function(j,Y,T){!function(w){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},S={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};w.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(E){return E.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return S[k]})},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(T(5439))},2688:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},8914:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};w.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(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0930\u093e\u0924\u093f"===k?E<4?E:E+12:"\u092c\u093f\u0939\u093e\u0928"===k?E:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?E>=10?E:E+12:"\u0938\u093e\u0901\u091d"===k?E+12:void 0},meridiem:function(E,k,R){return E<3?"\u0930\u093e\u0924\u093f":E<12?"\u092c\u093f\u0939\u093e\u0928":E<16?"\u0926\u093f\u0909\u0901\u0938\u094b":E<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}})}(T(5439))},2272:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^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],E=/^(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;w.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},1758:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^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],E=/^(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;w.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},1510:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2797:function(j,Y,T){!function(w){"use strict";w.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(S,x){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===x||"W"===x)&&(E="a"),S+E},week:{dow:1,doy:4}})}(T(5439))},7944:function(j,Y,T){!function(w){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},S={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};w.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(E){return E.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0a30\u0a3e\u0a24"===k?E<4?E:E+12:"\u0a38\u0a35\u0a47\u0a30"===k?E:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?E>=10?E:E+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0a30\u0a3e\u0a24":E<10?"\u0a38\u0a35\u0a47\u0a30":E<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":E<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(T(5439))},1605:function(j,Y,T){!function(w){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),S="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),x=[/^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 E(V){return V%10<5&&V%10>1&&~~(V/10)%10!=1}function k(V,q,$){var X=V+" ";switch($){case"ss":return X+(E(V)?"sekundy":"sekund");case"m":return q?"minuta":"minut\u0119";case"mm":return X+(E(V)?"minuty":"minut");case"h":return q?"godzina":"godzin\u0119";case"hh":return X+(E(V)?"godziny":"godzin");case"ww":return X+(E(V)?"tygodnie":"tygodni");case"MM":return X+(E(V)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return X+(E(V)?"lata":"lat")}}w.defineLocale("pl",{months:function(V,q){return V?/D MMMM/.test(q)?S[V.month()]:i[V.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},3840:function(j,Y,T){!function(w){"use strict";w.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"})}(T(5439))},4225:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5128:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var V=" ";return(x%100>=20||x>=100&&x%100==0)&&(V=" de "),x+V+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}w.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}})}(T(5439))},5127:function(j,Y,T){!function(w){"use strict";function S(k,R,V){return"m"===V?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function i(k,R){var V=k.split("_");return R%10==1&&R%100!=11?V[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?V[1]:V[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"}[V],+k)}var x=[/^\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];w.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:x,longMonthsParse:x,shortMonthsParse:x,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:S,m:S,mm:S,h:"\u0447\u0430\u0441",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},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,R,V){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,R){switch(R){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}})}(T(5439))},2525:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("sd",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},9893:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},3123:function(j,Y,T){!function(w){"use strict";w.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(S){return S+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(S){return"\u0db4.\u0dc0."===S||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===S},meridiem:function(S,x,E){return S>11?E?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":E?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(T(5439))},9635:function(j,Y,T){!function(w){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),S="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function x(R){return R>1&&R<5}function E(R,V,q,$){var X=R+" ";switch(q){case"s":return V||$?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return V||$?X+(x(R)?"sekundy":"sek\xfand"):X+"sekundami";case"m":return V?"min\xfata":$?"min\xfatu":"min\xfatou";case"mm":return V||$?X+(x(R)?"min\xfaty":"min\xfat"):X+"min\xfatami";case"h":return V?"hodina":$?"hodinu":"hodinou";case"hh":return V||$?X+(x(R)?"hodiny":"hod\xedn"):X+"hodinami";case"d":return V||$?"de\u0148":"d\u0148om";case"dd":return V||$?X+(x(R)?"dni":"dn\xed"):X+"d\u0148ami";case"M":return V||$?"mesiac":"mesiacom";case"MM":return V||$?X+(x(R)?"mesiace":"mesiacov"):X+"mesiacmi";case"y":return V||$?"rok":"rokom";case"yy":return V||$?X+(x(R)?"roky":"rokov"):X+"rokmi"}}w.defineLocale("sk",{months:i,monthsShort:S,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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8106:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V=x+" ";switch(k){case"s":return E||R?"nekaj sekund":"nekaj sekundami";case"ss":return V+(1===x?E?"sekundo":"sekundi":2===x?E||R?"sekundi":"sekundah":x<5?E||R?"sekunde":"sekundah":"sekund");case"m":return E?"ena minuta":"eno minuto";case"mm":return V+(1===x?E?"minuta":"minuto":2===x?E||R?"minuti":"minutama":x<5?E||R?"minute":"minutami":E||R?"minut":"minutami");case"h":return E?"ena ura":"eno uro";case"hh":return V+(1===x?E?"ura":"uro":2===x?E||R?"uri":"urama":x<5?E||R?"ure":"urami":E||R?"ur":"urami");case"d":return E||R?"en dan":"enim dnem";case"dd":return V+(1===x?E||R?"dan":"dnem":2===x?E||R?"dni":"dnevoma":E||R?"dni":"dnevi");case"M":return E||R?"en mesec":"enim mesecem";case"MM":return V+(1===x?E||R?"mesec":"mesecem":2===x?E||R?"meseca":"mesecema":x<5?E||R?"mesece":"meseci":E||R?"mesecev":"meseci");case"y":return E||R?"eno leto":"enim letom";case"yy":return V+(1===x?E||R?"leto":"letom":2===x?E||R?"leti":"letoma":x<5?E||R?"leta":"leti":E||R?"let":"leti")}}w.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}})}(T(5439))},8799:function(j,Y,T){!function(w){"use strict";w.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(S){return"M"===S.charAt(0)},meridiem:function(S,x,E){return S<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}})}(T(5439))},2872:function(j,Y,T){!function(w){"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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(x,E){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?E[0]:E[1]:E[2]},translate:function(x,E,k,R){var q,V=i.words[k];return 1===k.length?"y"===k&&E?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":R||E?V[0]:V[1]:(q=i.correctGrammaticalCase(x,V),"yy"===k&&E&&"\u0433\u043e\u0434\u0438\u043d\u0443"===q?x+" \u0433\u043e\u0434\u0438\u043d\u0430":x+" "+q)}};w.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},7949:function(j,Y,T){!function(w){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(x,E){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?E[0]:E[1]:E[2]},translate:function(x,E,k,R){var q,V=i.words[k];return 1===k.length?"y"===k&&E?"jedna godina":R||E?V[0]:V[1]:(q=i.correctGrammaticalCase(x,V),"yy"===k&&E&&"godinu"===q?x+" godina":x+" "+q)}};w.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},6167:function(j,Y,T){!function(w){"use strict";w.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(S,x,E){return S<11?"ekuseni":S<15?"emini":S<19?"entsambama":"ebusuku"},meridiemHour:function(S,x){return 12===S&&(S=0),"ekuseni"===x?S:"emini"===x?S>=11?S:S+12:"entsambama"===x||"ebusuku"===x?0===S?0:S+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(T(5439))},9713:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?":e":1===x||2===x?":a":":e")},week:{dow:1,doy:4}})}(T(5439))},1982:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2732:function(j,Y,T){!function(w){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},S={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};w.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(E){return E+"\u0bb5\u0ba4\u0bc1"},preparse:function(E){return E.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k,R){return E<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":E<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":E<10?" \u0b95\u0bbe\u0bb2\u0bc8":E<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":E<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":E<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(E,k){return 12===E&&(E=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?E<2?E:E+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&E>=10?E:E+12},week:{dow:0,doy:6}})}(T(5439))},3636:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===x?S<4?S:S+12:"\u0c09\u0c26\u0c2f\u0c02"===x?S:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===x?S>=10?S:S+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===x?S+12:void 0},meridiem:function(S,x,E){return S<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":S<10?"\u0c09\u0c26\u0c2f\u0c02":S<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":S<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(T(5439))},2115:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9801:function(j,Y,T){!function(w){"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"};w.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(x,E){return 12===x&&(x=0),"\u0448\u0430\u0431"===E?x<4?x:x+12:"\u0441\u0443\u0431\u04b3"===E?x:"\u0440\u04ef\u0437"===E?x>=11?x:x+12:"\u0431\u0435\u0433\u043e\u04b3"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"\u0448\u0430\u0431":x<11?"\u0441\u0443\u0431\u04b3":x<16?"\u0440\u04ef\u0437":x<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},2868:function(j,Y,T){!function(w){"use strict";w.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(S){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===S},meridiem:function(S,x,E){return S<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"}})}(T(5439))},1310:function(j,Y,T){!function(w){"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"};w.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(x,E){switch(E){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'unjy";var k=x%10;return x+(i[k]||i[x%100-k]||i[x>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},2360:function(j,Y,T){!function(w){"use strict";w.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(S){return S},week:{dow:1,doy:4}})}(T(5439))},6645:function(j,Y,T){!function(w){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function E(V,q,$,X){var se=function k(V){var q=Math.floor(V%1e3/100),$=Math.floor(V%100/10),X=V%10,se="";return q>0&&(se+=i[q]+"vatlh"),$>0&&(se+=(""!==se?" ":"")+i[$]+"maH"),X>0&&(se+=(""!==se?" ":"")+i[X]),""===se?"pagh":se}(V);switch($){case"ss":return se+" lup";case"mm":return se+" tup";case"hh":return se+" rep";case"dd":return se+" jaj";case"MM":return se+" jar";case"yy":return se+" DIS"}}w.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 S(V){var q=V;return-1!==V.indexOf("jaj")?q.slice(0,-3)+"leS":-1!==V.indexOf("jar")?q.slice(0,-3)+"waQ":-1!==V.indexOf("DIS")?q.slice(0,-3)+"nem":q+" pIq"},past:function x(V){var q=V;return-1!==V.indexOf("jaj")?q.slice(0,-3)+"Hu\u2019":-1!==V.indexOf("jar")?q.slice(0,-3)+"wen":-1!==V.indexOf("DIS")?q.slice(0,-3)+"ben":q+" ret"},s:"puS lup",ss:E,m:"wa\u2019 tup",mm:E,h:"wa\u2019 rep",hh:E,d:"wa\u2019 jaj",dd:E,M:"wa\u2019 jar",MM:E,y:"wa\u2019 DIS",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8374:function(j,Y,T){!function(w){"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"};w.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(x,E,k){return x<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(x){return"\xf6s"===x||"\xd6S"===x},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(x,E){switch(E){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'\u0131nc\u0131";var k=x%10;return x+(i[k]||i[x%100-k]||i[x>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},256:function(j,Y,T){!function(w){"use strict";function S(x,E,k,R){var V={s:["viensas secunds","'iensas secunds"],ss:[x+" secunds",x+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[x+" m\xeduts",x+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[x+" \xfeoras",x+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[x+" ziuas",x+" ziuas"],M:["'n mes","'iens mes"],MM:[x+" mesen",x+" mesen"],y:["'n ar","'iens ar"],yy:[x+" ars",x+" ars"]};return R||E?V[k][0]:V[k][1]}w.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(x){return"d'o"===x.toLowerCase()},meridiem:function(x,E,k){return x>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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1631:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},1595:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6050:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===x||"\u0633\u06d5\u06be\u06d5\u0631"===x||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===x?S:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===x||"\u0643\u06d5\u0686"===x?S+12:S>=11?S:S+12},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return S+"-\u06be\u06d5\u067e\u062a\u06d5";default:return S}},preparse:function(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(T(5439))},5610:function(j,Y,T){!function(w){"use strict";function S(R,V,q){return"m"===q?V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===q?V?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,V){var q=R.split("_");return V%10==1&&V%100!=11?q[0]:V%10>=2&&V%10<=4&&(V%100<10||V%100>=20)?q[1]:q[2]}({ss:V?"\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:V?"\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:V?"\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"}[q],+R)}function E(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}w.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 x(R,V){var q={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?q.nominative.slice(1,7).concat(q.nominative.slice(0,1)):R?q[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(V)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(V)?"genitive":"nominative"][R.day()]:q.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:E("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:E("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:E("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:E("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return E("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return E("[\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:S,m:S,mm:S,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:S,y:"\u0440\u0456\u043a",yy:S},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,V,q){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,V){switch(V){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}})}(T(5439))},6077:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("ur",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},2207:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2862:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},8093:function(j,Y,T){!function(w){"use strict";w.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(S){return/^ch$/i.test(S)},meridiem:function(S,x,E){return S<12?E?"sa":"SA":E?"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(S){return S},week:{dow:1,doy:4}})}(T(5439))},5590:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9058:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7908:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:S>=11?S:S+12},meridiem:function(S,x,E){var k=100*S+x;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(S){return S.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(S){return this.week()!==S.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u5468";default:return S}},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}})}(T(5439))},8867:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},1133:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},3291:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},5439:function(j,Y,T){(j=T.nmd(j)).exports=function(){"use strict";var w,he;function i(){return w.apply(null,arguments)}function x(C){return C instanceof Array||"[object Array]"===Object.prototype.toString.call(C)}function E(C){return null!=C&&"[object Object]"===Object.prototype.toString.call(C)}function k(C,H){return Object.prototype.hasOwnProperty.call(C,H)}function R(C){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(C).length;var H;for(H in C)if(k(C,H))return!1;return!0}function V(C){return void 0===C}function q(C){return"number"==typeof C||"[object Number]"===Object.prototype.toString.call(C)}function $(C){return C instanceof Date||"[object Date]"===Object.prototype.toString.call(C)}function X(C,H){var z,O=[],G=C.length;for(z=0;z>>0;for(z=0;z0)for(O=0;O=0?O?"+":"":"-")+Math.pow(10,Math.max(0,H-z.length)).toString().substr(1)+z}var oi=/(\[[^\[]*\])|(\\)?([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,et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ii={},Tn={};function Xe(C,H,O,z){var G=z;"string"==typeof z&&(G=function(){return this[z]()}),C&&(Tn[C]=G),H&&(Tn[H[0]]=function(){return zt(G.apply(this,arguments),H[1],H[2])}),O&&(Tn[O]=function(){return this.localeData().ordinal(G.apply(this,arguments),C)})}function ni(C){return C.match(/\[[\s\S]/)?C.replace(/^\[|\]$/g,""):C.replace(/\\/g,"")}function Gi(C,H){return C.isValid()?(H=gi(H,C.localeData()),Ii[H]=Ii[H]||function Un(C){var O,z,H=C.match(oi);for(O=0,z=H.length;O=0&&et.test(C);)C=C.replace(et,z),et.lastIndex=0,O-=1;return C}var tt={};function lt(C,H){var O=C.toLowerCase();tt[O]=tt[O+"s"]=tt[H]=C}function Kt(C){return"string"==typeof C?tt[C]||tt[C.toLowerCase()]:void 0}function Te(C){var O,z,H={};for(z in C)k(C,z)&&(O=Kt(z))&&(H[O]=C[z]);return H}var re={};function oe(C,H){re[C]=H}function Pe(C){return C%4==0&&C%100!=0||C%400==0}function Ge(C){return C<0?Math.ceil(C)||0:Math.floor(C)}function De(C){var H=+C,O=0;return 0!==H&&isFinite(H)&&(O=Ge(H)),O}function it(C,H){return function(O){return null!=O?(zi(this,C,O),i.updateOffset(this,H),this):Bt(this,C)}}function Bt(C,H){return C.isValid()?C._d["get"+(C._isUTC?"UTC":"")+H]():NaN}function zi(C,H,O){C.isValid()&&!isNaN(O)&&("FullYear"===H&&Pe(C.year())&&1===C.month()&&29===C.date()?(O=De(O),C._d["set"+(C._isUTC?"UTC":"")+H](O,C.month(),_i(O,C.month()))):C._d["set"+(C._isUTC?"UTC":"")+H](O))}var M,Fi=/\d/,At=/\d\d/,nt=/\d{3}/,Gn=/\d{4}/,Xt=/[+-]?\d{6}/,Ht=/\d\d?/,fr=/\d\d\d\d?/,rr=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,pc=/\d{1,4}/,Wa=/[+-]?\d{1,6}/,ba=/\d+/,Aa=/[+-]?\d+/,mr=/Z|[+-]\d\d:?\d\d/gi,Ss=/Z|[+-]\d\d(?::?\d\d)?/gi,bo=/[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 qe(C,H,O){M[C]=ue(H)?H:function(z,G){return z&&O?O:H}}function vi(C,H){return k(M,C)?M[C](H._strict,H._locale):new RegExp(function pn(C){return at(C.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(H,O,z,G,le){return O||z||G||le}))}(C))}function at(C){return C.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}M={};var ri={};function Et(C,H){var O,G,z=H;for("string"==typeof C&&(C=[C]),q(H)&&(z=function(le,we){we[H]=De(le)}),G=C.length,O=0;O68?1900:2e3)};var Bn=it("FullYear",!0);function cl(C,H,O,z,G,le,we){var ot;return C<100&&C>=0?(ot=new Date(C+400,H,O,z,G,le,we),isFinite(ot.getFullYear())&&ot.setFullYear(C)):ot=new Date(C,H,O,z,G,le,we),ot}function $a(C){var H,O;return C<100&&C>=0?((O=Array.prototype.slice.call(arguments))[0]=C+400,H=new Date(Date.UTC.apply(null,O)),isFinite(H.getUTCFullYear())&&H.setUTCFullYear(C)):H=new Date(Date.UTC.apply(null,arguments)),H}function Ma(C,H,O){var z=7+H-O;return-(7+$a(C,0,z).getUTCDay()-H)%7+z-1}function or(C,H,O,z,G){var Pt,ci,ot=1+7*(H-1)+(7+O-z)%7+Ma(C,z,G);return ot<=0?ci=Za(Pt=C-1)+ot:ot>Za(C)?(Pt=C+1,ci=ot-Za(C)):(Pt=C,ci=ot),{year:Pt,dayOfYear:ci}}function Ls(C,H,O){var le,we,z=Ma(C.year(),H,O),G=Math.floor((C.dayOfYear()-z-1)/7)+1;return G<1?le=G+wa(we=C.year()-1,H,O):G>wa(C.year(),H,O)?(le=G-wa(C.year(),H,O),we=C.year()+1):(we=C.year(),le=G),{week:le,year:we}}function wa(C,H,O){var z=Ma(C,H,O),G=Ma(C+1,H,O);return(Za(C)-z+G)/7}Xe("w",["ww",2],"wo","week"),Xe("W",["WW",2],"Wo","isoWeek"),lt("week","w"),lt("isoWeek","W"),oe("week",5),oe("isoWeek",5),qe("w",Ht),qe("ww",Ht,At),qe("W",Ht),qe("WW",Ht,At),Zi(["w","ww","W","WW"],function(C,H,O,z){H[z.substr(0,1)]=De(C)});function ks(C,H){return C.slice(H,7).concat(C.slice(0,H))}Xe("d",0,"do","day"),Xe("dd",0,0,function(C){return this.localeData().weekdaysMin(this,C)}),Xe("ddd",0,0,function(C){return this.localeData().weekdaysShort(this,C)}),Xe("dddd",0,0,function(C){return this.localeData().weekdays(this,C)}),Xe("e",0,0,"weekday"),Xe("E",0,0,"isoWeekday"),lt("day","d"),lt("weekday","e"),lt("isoWeekday","E"),oe("day",11),oe("weekday",11),oe("isoWeekday",11),qe("d",Ht),qe("e",Ht),qe("E",Ht),qe("dd",function(C,H){return H.weekdaysMinRegex(C)}),qe("ddd",function(C,H){return H.weekdaysShortRegex(C)}),qe("dddd",function(C,H){return H.weekdaysRegex(C)}),Zi(["dd","ddd","dddd"],function(C,H,O,z){var G=O._locale.weekdaysParse(C,z,O._strict);null!=G?H.d=G:te(O).invalidWeekday=C}),Zi(["d","e","E"],function(C,H,O,z){H[z]=De(C)});var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=bo,rn=bo,yo=bo;function Ps(C,H,O){var z,G,le,we=C.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],z=0;z<7;++z)le=ce([2e3,1]).day(z),this._minWeekdaysParse[z]=this.weekdaysMin(le,"").toLocaleLowerCase(),this._shortWeekdaysParse[z]=this.weekdaysShort(le,"").toLocaleLowerCase(),this._weekdaysParse[z]=this.weekdays(le,"").toLocaleLowerCase();return O?"dddd"===H?-1!==(G=li.call(this._weekdaysParse,we))?G:null:"ddd"===H?-1!==(G=li.call(this._shortWeekdaysParse,we))?G:null:-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:"dddd"===H?-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._shortWeekdaysParse,we))||-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:"ddd"===H?-1!==(G=li.call(this._shortWeekdaysParse,we))||-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:-1!==(G=li.call(this._minWeekdaysParse,we))||-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._shortWeekdaysParse,we))?G:null}function Ct(){function C(qi,wr){return wr.length-qi.length}var le,we,ot,Pt,ci,H=[],O=[],z=[],G=[];for(le=0;le<7;le++)we=ce([2e3,1]).day(le),ot=at(this.weekdaysMin(we,"")),Pt=at(this.weekdaysShort(we,"")),ci=at(this.weekdays(we,"")),H.push(ot),O.push(Pt),z.push(ci),G.push(ot),G.push(Pt),G.push(ci);H.sort(C),O.sort(C),z.sort(C),G.sort(C),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+O.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+H.join("|")+")","i")}function Li(){return this.hours()%12||12}function ul(C,H){Xe(C,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),H)})}function hi(C,H){return H._meridiemParse}Xe("H",["HH",2],0,"hour"),Xe("h",["hh",2],0,Li),Xe("k",["kk",2],0,function Ut(){return this.hours()||24}),Xe("hmm",0,0,function(){return""+Li.apply(this)+zt(this.minutes(),2)}),Xe("hmmss",0,0,function(){return""+Li.apply(this)+zt(this.minutes(),2)+zt(this.seconds(),2)}),Xe("Hmm",0,0,function(){return""+this.hours()+zt(this.minutes(),2)}),Xe("Hmmss",0,0,function(){return""+this.hours()+zt(this.minutes(),2)+zt(this.seconds(),2)}),ul("a",!0),ul("A",!1),lt("hour","h"),oe("hour",13),qe("a",hi),qe("A",hi),qe("H",Ht),qe("h",Ht),qe("k",Ht),qe("HH",Ht,At),qe("hh",Ht,At),qe("kk",Ht,At),qe("hmm",fr),qe("hmmss",rr),qe("Hmm",fr),qe("Hmmss",rr),Et(["H","HH"],3),Et(["k","kk"],function(C,H,O){var z=De(C);H[3]=24===z?0:z}),Et(["a","A"],function(C,H,O){O._isPm=O._locale.isPM(C),O._meridiem=C}),Et(["h","hh"],function(C,H,O){H[3]=De(C),te(O).bigHour=!0}),Et("hmm",function(C,H,O){var z=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z)),te(O).bigHour=!0}),Et("hmmss",function(C,H,O){var z=C.length-4,G=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z,2)),H[5]=De(C.substr(G)),te(O).bigHour=!0}),Et("Hmm",function(C,H,O){var z=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z))}),Et("Hmmss",function(C,H,O){var z=C.length-4,G=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z,2)),H[5]=De(C.substr(G))});var wn=it("Hours",!0);var Zr,Is={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:Er,monthsShort:bi,week:{dow:0,doy:6},weekdays:Ft,weekdaysMin:rt,weekdaysShort:Sn,meridiemParse:/[ap]\.?m?\.?/i},xi={},Bs={};function gc(C,H){var O,z=Math.min(C.length,H.length);for(O=0;O0;){if(G=B(le.slice(0,O).join("-")))return G;if(z&&z.length>=O&&gc(le,z)>=O-1)break;O--}H++}return Zr}(C)}function He(C){var H,O=C._a;return O&&-2===te(C).overflow&&(H=O[1]<0||O[1]>11?1:O[2]<1||O[2]>_i(O[0],O[1])?2:O[3]<0||O[3]>24||24===O[3]&&(0!==O[4]||0!==O[5]||0!==O[6])?3:O[4]<0||O[4]>59?4:O[5]<0||O[5]>59?5:O[6]<0||O[6]>999?6:-1,te(C)._overflowDayOfYear&&(H<0||H>2)&&(H=2),te(C)._overflowWeeks&&-1===H&&(H=7),te(C)._overflowWeekday&&-1===H&&(H=8),te(C).overflow=H),C}var ct=/^\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)?)?$/,pi=/^\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)?)?$/,ai=/Z|[+-]\d\d(?::?\d\d)?/,Rt=[["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]],jt=[["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/]],ji=/^\/?Date\((-?\d+)/i,yi=/^(?:(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}))$/,ki={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ta(C){var H,O,le,we,ot,Pt,z=C._i,G=ct.exec(z)||pi.exec(z),ci=Rt.length,qi=jt.length;if(G){for(te(C).iso=!0,H=0,O=ci;H7)&&(Pt=!0)):(le=C._locale._week.dow,we=C._locale._week.doy,ci=Ls(Si(),le,we),O=Xa(H.gg,C._a[0],ci.year),z=Xa(H.w,ci.week),null!=H.d?((G=H.d)<0||G>6)&&(Pt=!0):null!=H.e?(G=H.e+le,(H.e<0||H.e>6)&&(Pt=!0)):G=le),z<1||z>wa(O,le,we)?te(C)._overflowWeeks=!0:null!=Pt?te(C)._overflowWeekday=!0:(ot=or(O,z,G,le,we),C._a[0]=ot.year,C._dayOfYear=ot.dayOfYear)}(C),null!=C._dayOfYear&&(we=Xa(C._a[0],G[0]),(C._dayOfYear>Za(we)||0===C._dayOfYear)&&(te(C)._overflowDayOfYear=!0),O=$a(we,0,C._dayOfYear),C._a[1]=O.getUTCMonth(),C._a[2]=O.getUTCDate()),H=0;H<3&&null==C._a[H];++H)C._a[H]=z[H]=G[H];for(;H<7;H++)C._a[H]=z[H]=null==C._a[H]?2===H?1:0:C._a[H];24===C._a[3]&&0===C._a[4]&&0===C._a[5]&&0===C._a[6]&&(C._nextDay=!0,C._a[3]=0),C._d=(C._useUTC?$a:cl).apply(null,z),le=C._useUTC?C._d.getUTCDay():C._d.getDay(),null!=C._tzm&&C._d.setUTCMinutes(C._d.getUTCMinutes()-C._tzm),C._nextDay&&(C._a[3]=24),C._w&&void 0!==C._w.d&&C._w.d!==le&&(te(C).weekdayMismatch=!0)}}function lr(C){if(C._f!==i.ISO_8601)if(C._f!==i.RFC_2822){C._a=[],te(C).empty=!0;var O,z,G,le,we,ci,qi,H=""+C._i,ot=H.length,Pt=0;for(qi=(G=gi(C._f,C._locale).match(oi)||[]).length,O=0;O0&&te(C).unusedInput.push(we),H=H.slice(H.indexOf(z)+z.length),Pt+=z.length),Tn[le]?(z?te(C).empty=!1:te(C).unusedTokens.push(le),ll(le,z,C)):C._strict&&!z&&te(C).unusedTokens.push(le);te(C).charsLeftOver=ot-Pt,H.length>0&&te(C).unusedInput.push(H),C._a[3]<=12&&!0===te(C).bigHour&&C._a[3]>0&&(te(C).bigHour=void 0),te(C).parsedDateParts=C._a.slice(0),te(C).meridiem=C._meridiem,C._a[3]=function $i(C,H,O){var z;return null==O?H:null!=C.meridiemHour?C.meridiemHour(H,O):(null!=C.isPM&&((z=C.isPM(O))&&H<12&&(H+=12),!z&&12===H&&(H=0)),H)}(C._locale,C._a[3],C._meridiem),null!==(ci=te(C).era)&&(C._a[0]=C._locale.erasConvertYear(ci,C._a[0])),ke(C),He(C)}else $r(C);else Ta(C)}function Ji(C){var H=C._i,O=C._f;return C._locale=C._locale||ne(C._l),null===H||void 0===O&&""===H?Oe({nullInput:!0}):("string"==typeof H&&(C._i=H=C._locale.preparse(H)),Se(H)?new ve(He(H)):($(H)?C._d=H:x(O)?function vd(C){var H,O,z,G,le,we,ot=!1,Pt=C._f.length;if(0===Pt)return te(C).invalidFormat=!0,void(C._d=new Date(NaN));for(G=0;Gthis?this:C:Oe()});function Dn(C,H){var O,z;if(1===H.length&&x(H[0])&&(H=H[0]),!H.length)return Si();for(O=H[0],z=1;z=0?new Date(C+400,H,O)-qs:new Date(C,H,O).valueOf()}function Tc(C,H,O){return C<100&&C>=0?Date.UTC(C+400,H,O)-qs:Date.UTC(C,H,O)}function Xn(C,H){return H.erasAbbrRegex(C)}function vl(){var G,le,C=[],H=[],O=[],z=[],we=this.eras();for(G=0,le=we.length;G(le=wa(C,z,G))&&(H=le),uh.call(this,C,H,O,z,G))}function uh(C,H,O,z,G){var le=or(C,H,O,z,G),we=$a(le.year,0,le.dayOfYear);return this.year(we.getUTCFullYear()),this.month(we.getUTCMonth()),this.date(we.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"),qe("N",Xn),qe("NN",Xn),qe("NNN",Xn),qe("NNNN",function ff(C,H){return H.erasNameRegex(C)}),qe("NNNNN",function mf(C,H){return H.erasNarrowRegex(C)}),Et(["N","NN","NNN","NNNN","NNNNN"],function(C,H,O,z){var G=O._locale.erasParse(C,z,O._strict);G?te(O).era=G:te(O).invalidEra=C}),qe("y",ba),qe("yy",ba),qe("yyy",ba),qe("yyyy",ba),qe("yo",function Dd(C,H){return H._eraYearOrdinalRegex||ba}),Et(["y","yy","yyy","yyyy"],0),Et(["yo"],function(C,H,O,z){var G;O._locale._eraYearOrdinalRegex&&(G=C.match(O._locale._eraYearOrdinalRegex)),H[0]=O._locale.eraYearOrdinalParse?O._locale.eraYearOrdinalParse(C,G):parseInt(C,10)}),Xe(0,["gg",2],0,function(){return this.weekYear()%100}),Xe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Hd("gggg","weekYear"),Hd("ggggg","weekYear"),Hd("GGGG","isoWeekYear"),Hd("GGGGG","isoWeekYear"),lt("weekYear","gg"),lt("isoWeekYear","GG"),oe("weekYear",1),oe("isoWeekYear",1),qe("G",Aa),qe("g",Aa),qe("GG",Ht,At),qe("gg",Ht,At),qe("GGGG",pc,Gn),qe("gggg",pc,Gn),qe("GGGGG",Wa,Xt),qe("ggggg",Wa,Xt),Zi(["gggg","ggggg","GGGG","GGGGG"],function(C,H,O,z){H[z.substr(0,2)]=De(C)}),Zi(["gg","GG"],function(C,H,O,z){H[z]=i.parseTwoDigitYear(C)}),Xe("Q",0,"Qo","quarter"),lt("quarter","Q"),oe("quarter",7),qe("Q",Fi),Et("Q",function(C,H){H[1]=3*(De(C)-1)}),Xe("D",["DD",2],"Do","date"),lt("date","D"),oe("date",9),qe("D",Ht),qe("DD",Ht,At),qe("Do",function(C,H){return C?H._dayOfMonthOrdinalParse||H._ordinalParse:H._dayOfMonthOrdinalParseLenient}),Et(["D","DD"],2),Et("Do",function(C,H){H[2]=De(C.match(Ht)[0])});var yr=it("Date",!0);Xe("DDD",["DDDD",3],"DDDo","dayOfYear"),lt("dayOfYear","DDD"),oe("dayOfYear",4),qe("DDD",Zn),qe("DDDD",nt),Et(["DDD","DDDD"],function(C,H,O){O._dayOfYear=De(C)}),Xe("m",["mm",2],0,"minute"),lt("minute","m"),oe("minute",14),qe("m",Ht),qe("mm",Ht,At),Et(["m","mm"],4);var Ec=it("Minutes",!1);Xe("s",["ss",2],0,"second"),lt("second","s"),oe("second",15),qe("s",Ht),qe("ss",Ht,At),Et(["s","ss"],5);var Ea,ph,Sl=it("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()}),lt("millisecond","ms"),oe("millisecond",16),qe("S",Zn,Fi),qe("SS",Zn,At),qe("SSS",Zn,nt),Ea="SSSS";Ea.length<=9;Ea+="S")qe(Ea,ba);function Ld(C,H){H[6]=De(1e3*("0."+C))}for(Ea="S";Ea.length<=9;Ea+="S")Et(Ea,Ld);ph=it("Milliseconds",!1),Xe("z",0,0,"zoneAbbr"),Xe("zz",0,0,"zoneName");var Fe=ve.prototype;function ta(C){return C}Fe.add=Xr,Fe.calendar=function yc(C,H){1===arguments.length&&(arguments[0]?xo(arguments[0])?(C=arguments[0],H=void 0):So(arguments[0])&&(H=arguments[0],C=void 0):(C=void 0,H=void 0));var O=C||Si(),z=Sa(O,this).startOf("day"),G=i.calendarFormat(this,z)||"sameElse",le=H&&(ue(H[G])?H[G].call(this,O):H[G]);return this.format(le||this.localeData().calendar(G,this,Si(O)))},Fe.clone=function Ku(){return new ve(this)},Fe.diff=function th(C,H,O){var z,G,le;if(!this.isValid())return NaN;if(!(z=Sa(C,this)).isValid())return NaN;switch(G=6e4*(z.utcOffset()-this.utcOffset()),H=Kt(H)){case"year":le=yl(this,z)/12;break;case"month":le=yl(this,z);break;case"quarter":le=yl(this,z)/3;break;case"second":le=(this-z)/1e3;break;case"minute":le=(this-z)/6e4;break;case"hour":le=(this-z)/36e5;break;case"day":le=(this-z-G)/864e5;break;case"week":le=(this-z-G)/6048e5;break;default:le=this-z}return O?le:Ge(le)},Fe.endOf=function sh(C){var H,O;if(void 0===(C=Kt(C))||"millisecond"===C||!this.isValid())return this;switch(O=this._isUTC?Tc:vc,C){case"year":H=O(this.year()+1,0,1)-1;break;case"quarter":H=O(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":H=O(this.year(),this.month()+1,1)-1;break;case"week":H=O(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":H=O(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":H=O(this.year(),this.month(),this.date()+1)-1;break;case"hour":H=this._d.valueOf(),H+=js-Lo(H+(this._isUTC?0:this.utcOffset()*Pr),js)-1;break;case"minute":H=this._d.valueOf(),H+=Pr-Lo(H,Pr)-1;break;case"second":H=this._d.valueOf(),H+=1e3-Lo(H,1e3)-1}return this._d.setTime(H),i.updateOffset(this,!0),this},Fe.format=function Ml(C){C||(C=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var H=Gi(this,C);return this.localeData().postformat(H)},Fe.from=function wl(C,H){return this.isValid()&&(Se(C)&&C.isValid()||Si(C).isValid())?kr({to:this,from:C}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Fe.fromNow=function uf(C){return this.from(Si(),C)},Fe.to=function ih(C,H){return this.isValid()&&(Se(C)&&C.isValid()||Si(C).isValid())?kr({from:this,to:C}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Fe.toNow=function Cc(C){return this.to(Si(),C)},Fe.get=function Vt(C){return ue(this[C=Kt(C)])?this[C]():this},Fe.invalidAt=function ch(){return te(this).overflow},Fe.isAfter=function eh(C,H){var O=Se(C)?C:Si(C);return!(!this.isValid()||!O.isValid())&&("millisecond"===(H=Kt(H)||"millisecond")?this.valueOf()>O.valueOf():O.valueOf()9999?Gi(O,H?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?H?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Gi(O,"Z")):Gi(O,H?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Fe.inspect=function Kr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var O,z,C="moment",H="";return this.isLocal()||(C=0===this.utcOffset()?"moment.utc":"moment.parseZone",H="Z"),O="["+C+'("]',z=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(O+z+"-MM-DD[T]HH:mm:ss.SSS"+H+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Fe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Fe.toJSON=function oh(){return this.isValid()?this.toISOString():null},Fe.toString=function Do(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Fe.unix=function Ed(){return Math.floor(this.valueOf()/1e3)},Fe.valueOf=function hf(){return this._d.valueOf()-6e4*(this._offset||0)},Fe.creationData=function Ws(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Fe.eraName=function Ar(){var C,H,O,z=this.localeData().eras();for(C=0,H=z.length;Cthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Fe.isLocal=function Bi(){return!!this.isValid()&&!this._isUTC},Fe.isUtcOffset=function Xu(){return!!this.isValid()&&this._isUTC},Fe.isUtc=_l,Fe.isUTC=_l,Fe.zoneAbbr=function Hg(){return this._isUTC?"UTC":""},Fe.zoneName=function gf(){return this._isUTC?"Coordinated Universal Time":""},Fe.dates=Re("dates accessor is deprecated. Use date instead.",yr),Fe.months=Re("months accessor is deprecated. Use month instead",Ga),Fe.years=Re("years accessor is deprecated. Use year instead",Bn),Fe.zone=Re("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function gl(C,H){return null!=C?("string"!=typeof C&&(C=-C),this.utcOffset(C,H),this):-this.utcOffset()}),Fe.isDSTShifted=Re("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function ts(){if(!V(this._isDSTShifted))return this._isDSTShifted;var H,C={};return Ee(C,this),(C=Ji(C))._a?(H=C._isUTC?ce(C._a):Si(C._a),this._isDSTShifted=this.isValid()&&function Gu(C,H,O){var we,z=Math.min(C.length,H.length),G=Math.abs(C.length-H.length),le=0;for(we=0;we0):this._isDSTShifted=!1,this._isDSTShifted});var si=xe.prototype;function Da(C,H,O,z){var G=ne(),le=ce().set(z,H);return G[O](le,C)}function fh(C,H,O){if(q(C)&&(H=C,C=void 0),C=C||"",null!=H)return Da(C,H,O,"month");var z,G=[];for(z=0;z<12;z++)G[z]=Da(C,z,O,"month");return G}function Pd(C,H,O,z){"boolean"==typeof C?(q(H)&&(O=H,H=void 0),H=H||""):(O=H=C,C=!1,q(H)&&(O=H,H=void 0),H=H||"");var we,G=ne(),le=C?G._week.dow:0,ot=[];if(null!=O)return Da(H,(O+le)%7,z,"day");for(we=0;we<7;we++)ot[we]=Da(H,(we+le)%7,z,"day");return ot}si.calendar=function ft(C,H,O){var z=this._calendar[C]||this._calendar.sameElse;return ue(z)?z.call(H,O):z},si.longDateFormat=function hn(C){var H=this._longDateFormat[C],O=this._longDateFormat[C.toUpperCase()];return H||!O?H:(this._longDateFormat[C]=O.match(oi).map(function(z){return"MMMM"===z||"MM"===z||"DD"===z||"dddd"===z?z.slice(1):z}).join(""),this._longDateFormat[C])},si.invalidDate=function _a(){return this._invalidDate},si.ordinal=function de(C){return this._ordinal.replace("%d",C)},si.preparse=ta,si.postformat=ta,si.relativeTime=function Ae(C,H,O,z){var G=this._relativeTime[O];return ue(G)?G(C,H,O,z):G.replace(/%d/i,C)},si.pastFuture=function Ke(C,H){var O=this._relativeTime[C>0?"future":"past"];return ue(O)?O(H):O.replace(/%s/i,H)},si.set=function _e(C){var H,O;for(O in C)k(C,O)&&(ue(H=C[O])?this[O]=H:this["_"+O]=H);this._config=C,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},si.eras=function Us(C,H){var O,z,G,le=this._eras||ne("en")._eras;for(O=0,z=le.length;O=0)return le[z]},si.erasConvertYear=function ea(C,H){var O=C.since<=C.until?1:-1;return void 0===H?i(C.since).year():i(C.since).year()+(H-C.offset)*O},si.erasAbbrRegex=function pf(C){return k(this,"_erasAbbrRegex")||vl.call(this),C?this._erasAbbrRegex:this._erasRegex},si.erasNameRegex=function Sg(C){return k(this,"_erasNameRegex")||vl.call(this),C?this._erasNameRegex:this._erasRegex},si.erasNarrowRegex=function Pi(C){return k(this,"_erasNarrowRegex")||vl.call(this),C?this._erasNarrowRegex:this._erasRegex},si.months=function Ds(C,H){return C?x(this._months)?this._months[C.month()]:this._months[(this._months.isFormat||ya).test(H)?"format":"standalone"][C.month()]:x(this._months)?this._months:this._months.standalone},si.monthsShort=function Ua(C,H){return C?x(this._monthsShort)?this._monthsShort[C.month()]:this._monthsShort[ya.test(H)?"format":"standalone"][C.month()]:x(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},si.monthsParse=function Hs(C,H,O){var z,G,le;if(this._monthsParseExact)return fc.call(this,C,H,O);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),z=0;z<12;z++){if(G=ce([2e3,z]),O&&!this._longMonthsParse[z]&&(this._longMonthsParse[z]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[z]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!O&&!this._monthsParse[z]&&(le="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[z]=new RegExp(le.replace(".",""),"i")),O&&"MMMM"===H&&this._longMonthsParse[z].test(C))return z;if(O&&"MMM"===H&&this._shortMonthsParse[z].test(C))return z;if(!O&&this._monthsParse[z].test(C))return z}},si.monthsRegex=function Ai(C){return this._monthsParseExact?(k(this,"_monthsRegex")||mc.call(this),C?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Lt),this._monthsStrictRegex&&C?this._monthsStrictRegex:this._monthsRegex)},si.monthsShortRegex=function ar(C){return this._monthsParseExact?(k(this,"_monthsRegex")||mc.call(this),C?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=Ti),this._monthsShortStrictRegex&&C?this._monthsShortStrictRegex:this._monthsShortRegex)},si.week=function Kp(C){return Ls(C,this._week.dow,this._week.doy).week},si.firstDayOfYear=function tf(){return this._week.doy},si.firstDayOfWeek=function ef(){return this._week.dow},si.weekdays=function an(C,H){var O=x(this._weekdays)?this._weekdays:this._weekdays[C&&!0!==C&&this._weekdays.isFormat.test(H)?"format":"standalone"];return!0===C?ks(O,this._week.dow):C?O[C.day()]:O},si.weekdaysMin=function Gr(C){return!0===C?ks(this._weekdaysMin,this._week.dow):C?this._weekdaysMin[C.day()]:this._weekdaysMin},si.weekdaysShort=function dl(C){return!0===C?ks(this._weekdaysShort,this._week.dow):C?this._weekdaysShort[C.day()]:this._weekdaysShort},si.weekdaysParse=function Ca(C,H,O){var z,G,le;if(this._weekdaysParseExact)return Ps.call(this,C,H,O);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),z=0;z<7;z++){if(G=ce([2e3,1]).day(z),O&&!this._fullWeekdaysParse[z]&&(this._fullWeekdaysParse[z]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[z]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[z]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[z]||(le="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[z]=new RegExp(le.replace(".",""),"i")),O&&"dddd"===H&&this._fullWeekdaysParse[z].test(C))return z;if(O&&"ddd"===H&&this._shortWeekdaysParse[z].test(C))return z;if(O&&"dd"===H&&this._minWeekdaysParse[z].test(C))return z;if(!O&&this._weekdaysParse[z].test(C))return z}},si.weekdaysRegex=function En(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&C?this._weekdaysStrictRegex:this._weekdaysRegex)},si.weekdaysShortRegex=function Rs(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=rn),this._weekdaysShortStrictRegex&&C?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},si.weekdaysMinRegex=function Md(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yo),this._weekdaysMinStrictRegex&&C?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},si.isPM=function wd(C){return"p"===(C+"").toLowerCase().charAt(0)},si.meridiem=function Os(C,H,O){return C>11?O?"pm":"PM":O?"am":"AM"},U("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(C){var H=C%10;return C+(1===De(C%100/10)?"th":1===H?"st":2===H?"nd":3===H?"rd":"th")}}),i.lang=Re("moment.lang is deprecated. Use moment.locale instead.",U),i.langData=Re("moment.langData is deprecated. Use moment.localeData instead.",ne);var Mr=Math.abs;function Oo(C,H,O,z){var G=kr(H,O);return C._milliseconds+=z*G._milliseconds,C._days+=z*G._days,C._months+=z*G._months,C._bubble()}function Id(C){return C<0?Math.floor(C):Math.ceil(C)}function gh(C){return 4800*C/146097}function Hc(C){return 146097*C/4800}function Or(C){return function(){return this.as(C)}}var kg=Or("ms"),sn=Or("s"),Bd=Or("m"),_h=Or("h"),Lc=Or("d"),Hl=Or("w"),Mf=Or("M"),wf=Or("Q"),Cf=Or("y");function ia(C){return function(){return this.isValid()?this._data[C]:NaN}}var Bo=ia("milliseconds"),vf=ia("seconds"),bh=ia("minutes"),Ll=ia("hours"),kl=ia("days"),Ah=ia("months"),Tf=ia("years");var Qn=Math.round,Ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sf(C,H,O,z,G){return G.relativeTime(H||1,!!O,C,z)}var Ha=Math.abs;function na(C){return(C>0)-(C<0)||+C}function La(){if(!this.isValid())return this.localeData().invalidDate();var z,G,le,we,Pt,ci,qi,wr,C=Ha(this._milliseconds)/1e3,H=Ha(this._days),O=Ha(this._months),ot=this.asSeconds();return ot?(z=Ge(C/60),G=Ge(z/60),C%=60,z%=60,le=Ge(O/12),O%=12,we=C?C.toFixed(3).replace(/\.?0+$/,""):"",Pt=ot<0?"-":"",ci=na(this._months)!==na(ot)?"-":"",qi=na(this._days)!==na(ot)?"-":"",wr=na(this._milliseconds)!==na(ot)?"-":"",Pt+"P"+(le?ci+le+"Y":"")+(O?ci+O+"M":"")+(H?qi+H+"D":"")+(G||z||C?"T":"")+(G?wr+G+"H":"")+(z?wr+z+"M":"")+(C?wr+we+"S":"")):"P0D"}var qt=Ka.prototype;return qt.isValid=function Qa(){return this._isValid},qt.abs=function Lg(){var C=this._data;return this._milliseconds=Mr(this._milliseconds),this._days=Mr(this._days),this._months=Mr(this._months),C.milliseconds=Mr(C.milliseconds),C.seconds=Mr(C.seconds),C.minutes=Mr(C.minutes),C.hours=Mr(C.hours),C.months=Mr(C.months),C.years=Mr(C.years),this},qt.add=function Od(C,H){return Oo(this,C,H,1)},qt.subtract=function Dc(C,H){return Oo(this,C,H,-1)},qt.as=function yf(C){if(!this.isValid())return NaN;var H,O,z=this._milliseconds;if("month"===(C=Kt(C))||"quarter"===C||"year"===C)switch(H=this._days+z/864e5,O=this._months+gh(H),C){case"month":return O;case"quarter":return O/3;case"year":return O/12}else switch(H=this._days+Math.round(Hc(this._months)),C){case"week":return H/7+z/6048e5;case"day":return H+z/864e5;case"hour":return 24*H+z/36e5;case"minute":return 1440*H+z/6e4;case"second":return 86400*H+z/1e3;case"millisecond":return Math.floor(864e5*H)+z;default:throw new Error("Unknown unit "+C)}},qt.asMilliseconds=kg,qt.asSeconds=sn,qt.asMinutes=Bd,qt.asHours=_h,qt.asDays=Lc,qt.asWeeks=Hl,qt.asMonths=Mf,qt.asQuarters=wf,qt.asYears=Cf,qt.valueOf=function Dl(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*De(this._months/12):NaN},qt._bubble=function Af(){var G,le,we,ot,Pt,C=this._milliseconds,H=this._days,O=this._months,z=this._data;return C>=0&&H>=0&&O>=0||C<=0&&H<=0&&O<=0||(C+=864e5*Id(Hc(O)+H),H=0,O=0),z.milliseconds=C%1e3,G=Ge(C/1e3),z.seconds=G%60,le=Ge(G/60),z.minutes=le%60,we=Ge(le/60),z.hours=we%24,H+=Ge(we/24),O+=Pt=Ge(gh(H)),H-=Id(Hc(Pt)),ot=Ge(O/12),O%=12,z.days=H,z.months=O,z.years=ot,this},qt.clone=function Io(){return kr(this)},qt.get=function Zs(C){return C=Kt(C),this.isValid()?this[C+"s"]():NaN},qt.milliseconds=Bo,qt.seconds=vf,qt.minutes=bh,qt.hours=Ll,qt.days=kl,qt.weeks=function xf(){return Ge(this.days()/7)},qt.months=Ah,qt.years=Tf,qt.humanize=function Nd(C,H){if(!this.isValid())return this.localeData().invalidDate();var G,le,O=!1,z=Ir;return"object"==typeof C&&(H=C,C=!1),"boolean"==typeof C&&(O=C),"object"==typeof H&&(z=Object.assign({},Ir,H),null!=H.s&&null==H.ss&&(z.ss=H.s-1)),le=function Pg(C,H,O,z){var G=kr(C).abs(),le=Qn(G.as("s")),we=Qn(G.as("m")),ot=Qn(G.as("h")),Pt=Qn(G.as("d")),ci=Qn(G.as("M")),qi=Qn(G.as("w")),wr=Qn(G.as("y")),ns=le<=O.ss&&["s",le]||le0,ns[4]=z,Sf.apply(null,ns)}(this,!O,z,G=this.localeData()),O&&(le=G.pastFuture(+this,le)),G.postformat(le)},qt.toISOString=La,qt.toString=La,qt.toJSON=La,qt.locale=nh,qt.localeData=Ho,qt.toIsoString=Re("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",La),qt.lang=rh,Xe("X",0,0,"unix"),Xe("x",0,0,"valueOf"),qe("x",Aa),qe("X",/[+-]?\d+(\.\d{1,3})?/),Et("X",function(C,H,O){O._d=new Date(1e3*parseFloat(C))}),Et("x",function(C,H,O){O._d=new Date(De(C))}),i.version="2.29.4",function S(C){w=C}(Si),i.fn=Fe,i.min=function Jr(){return Dn("isBefore",[].slice.call(arguments,0))},i.max=function Uu(){return Dn("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=ce,i.unix=function cr(C){return Si(1e3*C)},i.months=function El(C,H){return fh(C,H,"months")},i.isDate=$,i.locale=U,i.invalid=Oe,i.duration=kr,i.isMoment=Se,i.weekdays=function bf(C,H,O){return Pd(C,H,O,"weekdays")},i.parseZone=function kd(){return Si.apply(null,arguments).parseZone()},i.localeData=ne,i.isDuration=wo,i.monthsShort=function _f(C,H){return fh(C,H,"monthsShort")},i.weekdaysMin=function Rd(C,H,O){return Pd(C,H,O,"weekdaysMin")},i.defineLocale=I,i.updateLocale=function J(C,H){if(null!=H){var O,z,G=Is;null!=xi[C]&&null!=xi[C].parentLocale?xi[C].set(be(xi[C]._config,H)):(null!=(z=B(C))&&(G=z._config),H=be(G,H),null==z&&(H.abbr=C),(O=new xe(H)).parentLocale=xi[C],xi[C]=O),U(C)}else null!=xi[C]&&(null!=xi[C].parentLocale?(xi[C]=xi[C].parentLocale,C===U()&&U(C)):null!=xi[C]&&delete xi[C]);return xi[C]},i.locales=function Me(){return ye(xi)},i.weekdaysShort=function mh(C,H,O){return Pd(C,H,O,"weekdaysShort")},i.normalizeUnits=Kt,i.relativeTimeRounding=function Mi(C){return void 0===C?Qn:"function"==typeof C&&(Qn=C,!0)},i.relativeTimeThreshold=function Ef(C,H){return void 0!==Ir[C]&&(void 0===H?Ir[C]:(Ir[C]=H,"s"===C&&(Ir.ss=H-1),!0))},i.calendarFormat=function xd(C,H){var O=C.diff(H,"days",!0);return O<-6?"sameElse":O<-1?"lastWeek":O<0?"lastDay":O<1?"sameDay":O<2?"nextDay":O<7?"nextWeek":"sameElse"},i.prototype=Fe,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}()},8306:(j,Y,T)=>{"use strict";T.d(Y,{y:()=>$});var w=T(930),i=T(727),S=T(8822),x=T(4671);var R=T(2416),V=T(576),q=T(2806);let $=(()=>{class ie{constructor(he){he&&(this._subscribe=he)}lift(he){const ge=new ie;return ge.source=this,ge.operator=he,ge}subscribe(he,ge,Oe){const We=function ce(ie){return ie&&ie instanceof w.Lv||function se(ie){return ie&&(0,V.m)(ie.next)&&(0,V.m)(ie.error)&&(0,V.m)(ie.complete)}(ie)&&(0,i.Nn)(ie)}(he)?he:new w.Hp(he,ge,Oe);return(0,q.x)(()=>{const{operator:Ze,source:Ee}=this;We.add(Ze?Ze.call(We,Ee):Ee?this._subscribe(We):this._trySubscribe(We))}),We}_trySubscribe(he){try{return this._subscribe(he)}catch(ge){he.error(ge)}}forEach(he,ge){return new(ge=X(ge))((Oe,We)=>{const Ze=new w.Hp({next:Ee=>{try{he(Ee)}catch(ve){We(ve),Ze.unsubscribe()}},error:We,complete:Oe});this.subscribe(Ze)})}_subscribe(he){var ge;return null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(he)}[S.L](){return this}pipe(...he){return function k(ie){return 0===ie.length?x.y:1===ie.length?ie[0]:function(he){return ie.reduce((ge,Oe)=>Oe(ge),he)}}(he)(this)}toPromise(he){return new(he=X(he))((ge,Oe)=>{let We;this.subscribe(Ze=>We=Ze,Ze=>Oe(Ze),()=>ge(We))})}}return ie.create=te=>new ie(te),ie})();function X(ie){var te;return null!==(te=null!=ie?ie:R.v.Promise)&&void 0!==te?te:Promise}},7579:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>R});var w=T(8306),i=T(727);const x=(0,T(3888).d)(q=>function(){q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=T(8737),k=T(2806);let R=(()=>{class q extends w.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const se=new V(this,this);return se.operator=X,se}_throwIfClosed(){if(this.closed)throw new x}next(X){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const se of this.currentObservers)se.next(X)}})}error(X){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:se}=this;for(;se.length;)se.shift().error(X)}})}complete(){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:se,isStopped:ce,observers:ie}=this;return se||ce?i.Lc:(this.currentObservers=null,ie.push(X),new i.w0(()=>{this.currentObservers=null,(0,E.P)(ie,X)}))}_checkFinalizedStatuses(X){const{hasError:se,thrownError:ce,isStopped:ie}=this;se?X.error(ce):ie&&X.complete()}asObservable(){const X=new w.y;return X.source=this,X}}return q.create=($,X)=>new V($,X),q})();class V extends R{constructor($,X){super(),this.destination=$,this.source=X}next($){var X,se;null===(se=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===se||se.call(X,$)}error($){var X,se;null===(se=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===se||se.call(X,$)}complete(){var $,X;null===(X=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===X||X.call($)}_subscribe($){var X,se;return null!==(se=null===(X=this.source)||void 0===X?void 0:X.subscribe($))&&void 0!==se?se:i.Lc}}},930:(j,Y,T)=>{"use strict";T.d(Y,{Hp:()=>he,Lv:()=>se});var w=T(576),i=T(727),S=T(2416),x=T(7849),E=T(5032);const k=q("C",void 0,void 0);function q(Ee,ve,Se){return{kind:Ee,value:ve,error:Se}}var $=T(3410),X=T(2806);class se extends i.w0{constructor(ve){super(),this.isStopped=!1,ve?(this.destination=ve,(0,i.Nn)(ve)&&ve.add(this)):this.destination=Ze}static create(ve,Se,mt){return new he(ve,Se,mt)}next(ve){this.isStopped?We(function V(Ee){return q("N",Ee,void 0)}(ve),this):this._next(ve)}error(ve){this.isStopped?We(function R(Ee){return q("E",void 0,Ee)}(ve),this):(this.isStopped=!0,this._error(ve))}complete(){this.isStopped?We(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ve){this.destination.next(ve)}_error(ve){try{this.destination.error(ve)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function ie(Ee,ve){return ce.call(Ee,ve)}class te{constructor(ve){this.partialObserver=ve}next(ve){const{partialObserver:Se}=this;if(Se.next)try{Se.next(ve)}catch(mt){ge(mt)}}error(ve){const{partialObserver:Se}=this;if(Se.error)try{Se.error(ve)}catch(mt){ge(mt)}else ge(ve)}complete(){const{partialObserver:ve}=this;if(ve.complete)try{ve.complete()}catch(Se){ge(Se)}}}class he extends se{constructor(ve,Se,mt){let Re;if(super(),(0,w.m)(ve)||!ve)Re={next:null!=ve?ve:void 0,error:null!=Se?Se:void 0,complete:null!=mt?mt:void 0};else{let Ve;this&&S.v.useDeprecatedNextContext?(Ve=Object.create(ve),Ve.unsubscribe=()=>this.unsubscribe(),Re={next:ve.next&&ie(ve.next,Ve),error:ve.error&&ie(ve.error,Ve),complete:ve.complete&&ie(ve.complete,Ve)}):Re=ve}this.destination=new te(Re)}}function ge(Ee){S.v.useDeprecatedSynchronousErrorHandling?(0,X.O)(Ee):(0,x.h)(Ee)}function We(Ee,ve){const{onStoppedNotification:Se}=S.v;Se&&$.z.setTimeout(()=>Se(Ee,ve))}const Ze={closed:!0,next:E.Z,error:function Oe(Ee){throw Ee},complete:E.Z}},727:(j,Y,T)=>{"use strict";T.d(Y,{Lc:()=>k,w0:()=>E,Nn:()=>R});var w=T(576);const S=(0,T(3888).d)(q=>function(X){q(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map((se,ce)=>`${ce+1}) ${se.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=X});var x=T(8737);class E{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const ie of X)ie.remove(this);else X.remove(this);const{initialTeardown:se}=this;if((0,w.m)(se))try{se()}catch(ie){$=ie instanceof S?ie.errors:[ie]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const ie of ce)try{V(ie)}catch(te){$=null!=$?$:[],te instanceof S?$=[...$,...te.errors]:$.push(te)}}if($)throw new S($)}}add($){var X;if($&&$!==this)if(this.closed)V($);else{if($ instanceof E){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push($)}}_hasParent($){const{_parentage:X}=this;return X===$||Array.isArray(X)&&X.includes($)}_addParent($){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push($),X):X?[X,$]:$}_removeParent($){const{_parentage:X}=this;X===$?this._parentage=null:Array.isArray(X)&&(0,x.P)(X,$)}remove($){const{_finalizers:X}=this;X&&(0,x.P)(X,$),$ instanceof E&&$._removeParent(this)}}E.EMPTY=(()=>{const q=new E;return q.closed=!0,q})();const k=E.EMPTY;function R(q){return q instanceof E||q&&"closed"in q&&(0,w.m)(q.remove)&&(0,w.m)(q.add)&&(0,w.m)(q.unsubscribe)}function V(q){(0,w.m)(q)?q():q.unsubscribe()}},2416:(j,Y,T)=>{"use strict";T.d(Y,{v:()=>w});const w={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(j,Y,T)=>{"use strict";T.d(Y,{a:()=>$});var w=T(8306),i=T(4742),S=T(2076),x=T(4671),E=T(3268),k=T(3269),R=T(1810),V=T(5403),q=T(9672);function $(...ce){const ie=(0,k.yG)(ce),te=(0,k.jO)(ce),{args:he,keys:ge}=(0,i.D)(ce);if(0===he.length)return(0,S.D)([],ie);const Oe=new w.y(function X(ce,ie,te=x.y){return he=>{se(ie,()=>{const{length:ge}=ce,Oe=new Array(ge);let We=ge,Ze=ge;for(let Ee=0;Ee{const ve=(0,S.D)(ce[Ee],ie);let Se=!1;ve.subscribe((0,V.x)(he,mt=>{Oe[Ee]=mt,Se||(Se=!0,Ze--),Ze||he.next(te(Oe.slice()))},()=>{--We||he.complete()}))},he)},he)}}(he,ie,ge?We=>(0,R.n)(ge,We):x.y));return te?Oe.pipe((0,E.Z)(te)):Oe}function se(ce,ie,te){ce?(0,q.f)(te,ce,ie):ie()}},7272:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>E});var w=T(8189),S=T(3269),x=T(2076);function E(...k){return function i(){return(0,w.J)(1)}()((0,x.D)(k,(0,S.yG)(k)))}},515:(j,Y,T)=>{"use strict";T.d(Y,{E:()=>i});const i=new(T(8306).y)(E=>E.complete())},2076:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>mt});var w=T(8421),i=T(9672),S=T(4482),x=T(5403);function E(Re,Ve=0){return(0,S.e)((Qe,ue)=>{Qe.subscribe((0,x.x)(ue,_e=>(0,i.f)(ue,Re,()=>ue.next(_e),Ve),()=>(0,i.f)(ue,Re,()=>ue.complete(),Ve),_e=>(0,i.f)(ue,Re,()=>ue.error(_e),Ve)))})}function k(Re,Ve=0){return(0,S.e)((Qe,ue)=>{ue.add(Re.schedule(()=>Qe.subscribe(ue),Ve))})}var q=T(8306),X=T(2202),se=T(576);function ie(Re,Ve){if(!Re)throw new Error("Iterable cannot be null");return new q.y(Qe=>{(0,i.f)(Qe,Ve,()=>{const ue=Re[Symbol.asyncIterator]();(0,i.f)(Qe,Ve,()=>{ue.next().then(_e=>{_e.done?Qe.complete():Qe.next(_e.value)})},0,!0)})})}var te=T(3670),he=T(8239),ge=T(1144),Oe=T(6495),We=T(2206),Ze=T(4532),Ee=T(3260);function mt(Re,Ve){return Ve?function Se(Re,Ve){if(null!=Re){if((0,te.c)(Re))return function R(Re,Ve){return(0,w.Xf)(Re).pipe(k(Ve),E(Ve))}(Re,Ve);if((0,ge.z)(Re))return function $(Re,Ve){return new q.y(Qe=>{let ue=0;return Ve.schedule(function(){ue===Re.length?Qe.complete():(Qe.next(Re[ue++]),Qe.closed||this.schedule())})})}(Re,Ve);if((0,he.t)(Re))return function V(Re,Ve){return(0,w.Xf)(Re).pipe(k(Ve),E(Ve))}(Re,Ve);if((0,We.D)(Re))return ie(Re,Ve);if((0,Oe.T)(Re))return function ce(Re,Ve){return new q.y(Qe=>{let ue;return(0,i.f)(Qe,Ve,()=>{ue=Re[X.h](),(0,i.f)(Qe,Ve,()=>{let _e,be;try{({value:_e,done:be}=ue.next())}catch(xe){return void Qe.error(xe)}be?Qe.complete():Qe.next(_e)},0,!0)}),()=>(0,se.m)(null==ue?void 0:ue.return)&&ue.return()})}(Re,Ve);if((0,Ee.L)(Re))return function ve(Re,Ve){return ie((0,Ee.Q)(Re),Ve)}(Re,Ve)}throw(0,Ze.z)(Re)}(Re,Ve):(0,w.Xf)(Re)}},8421:(j,Y,T)=>{"use strict";T.d(Y,{Xf:()=>ce});var w=T(655),i=T(1144),S=T(8239),x=T(8306),E=T(3670),k=T(2206),R=T(4532),V=T(6495),q=T(3260),$=T(576),X=T(7849),se=T(8822);function ce(Ee){if(Ee instanceof x.y)return Ee;if(null!=Ee){if((0,E.c)(Ee))return function ie(Ee){return new x.y(ve=>{const Se=Ee[se.L]();if((0,$.m)(Se.subscribe))return Se.subscribe(ve);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ee);if((0,i.z)(Ee))return function te(Ee){return new x.y(ve=>{for(let Se=0;Se{Ee.then(Se=>{ve.closed||(ve.next(Se),ve.complete())},Se=>ve.error(Se)).then(null,X.h)})}(Ee);if((0,k.D)(Ee))return Oe(Ee);if((0,V.T)(Ee))return function ge(Ee){return new x.y(ve=>{for(const Se of Ee)if(ve.next(Se),ve.closed)return;ve.complete()})}(Ee);if((0,q.L)(Ee))return function We(Ee){return Oe((0,q.Q)(Ee))}(Ee)}throw(0,R.z)(Ee)}function Oe(Ee){return new x.y(ve=>{(function Ze(Ee,ve){var Se,mt,Re,Ve;return(0,w.mG)(this,void 0,void 0,function*(){try{for(Se=(0,w.KL)(Ee);!(mt=yield Se.next()).done;)if(ve.next(mt.value),ve.closed)return}catch(Qe){Re={error:Qe}}finally{try{mt&&!mt.done&&(Ve=Se.return)&&(yield Ve.call(Se))}finally{if(Re)throw Re.error}}ve.complete()})})(Ee,ve).catch(Se=>ve.error(Se))})}},6451:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>k});var w=T(8189),i=T(8421),S=T(515),x=T(3269),E=T(2076);function k(...R){const V=(0,x.yG)(R),q=(0,x._6)(R,1/0),$=R;return $.length?1===$.length?(0,i.Xf)($[0]):(0,w.J)(q)((0,E.D)($,V)):S.E}},9646:(j,Y,T)=>{"use strict";T.d(Y,{of:()=>S});var w=T(3269),i=T(2076);function S(...x){const E=(0,w.yG)(x);return(0,i.D)(x,E)}},102:(j,Y,T)=>{"use strict";T.d(Y,{S:()=>k});var w=T(8306),i=T(8421);const{isArray:S}=Array;var E=T(5403);function k(...V){return 1===(V=function x(V){return 1===V.length&&S(V[0])?V[0]:V}(V)).length?(0,i.Xf)(V[0]):new w.y(function R(V){return q=>{let $=[];for(let X=0;$&&!q.closed&&X{if($){for(let ce=0;ce<$.length;ce++)ce!==X&&$[ce].unsubscribe();$=null}q.next(se)})))}}(V))}},2843:(j,Y,T)=>{"use strict";T.d(Y,{_:()=>S});var w=T(8306),i=T(576);function S(x,E){const k=(0,i.m)(x)?x:()=>x,R=V=>V.error(k());return new w.y(E?V=>E.schedule(R,0,V):R)}},2805:(j,Y,T)=>{"use strict";T.d(Y,{H:()=>E});var w=T(8306),i=T(4986),S=T(3532),x=T(1165);function E(k=0,R,V=i.P){let q=-1;return null!=R&&((0,S.K)(R)?V=R:q=R),new w.y($=>{let X=(0,x.q)(k)?+k-V.now():k;X<0&&(X=0);let se=0;return V.schedule(function(){$.closed||($.next(se++),0<=q?this.schedule(void 0,q):$.complete())},X)})}},5403:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>i});var w=T(930);function i(x,E,k,R,V){return new S(x,E,k,R,V)}class S extends w.Lv{constructor(E,k,R,V,q,$){super(E),this.onFinalize=q,this.shouldUnsubscribe=$,this._next=k?function(X){try{k(X)}catch(se){E.error(se)}}:super._next,this._error=V?function(X){try{V(X)}catch(se){E.error(se)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(X){E.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:k}=this;super.unsubscribe(),!k&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},262:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>x});var w=T(8421),i=T(5403),S=T(4482);function x(E){return(0,S.e)((k,R)=>{let $,V=null,q=!1;V=k.subscribe((0,i.x)(R,void 0,void 0,X=>{$=(0,w.Xf)(E(X,x(E)(k))),V?(V.unsubscribe(),V=null,$.subscribe(R)):q=!0})),q&&(V.unsubscribe(),V=null,$.subscribe(R))})}},4351:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>S});var w=T(5577),i=T(576);function S(x,E){return(0,i.m)(E)?(0,w.z)(x,E,1):(0,w.z)(x,1)}},8372:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>x});var w=T(4986),i=T(4482),S=T(5403);function x(E,k=w.z){return(0,i.e)((R,V)=>{let q=null,$=null,X=null;const se=()=>{if(q){q.unsubscribe(),q=null;const ie=$;$=null,V.next(ie)}};function ce(){const ie=X+E,te=k.now();if(te{$=ie,X=k.now(),q||(q=k.schedule(ce,E),V.add(q))},()=>{se(),V.complete()},void 0,()=>{$=q=null}))})}},6590:(j,Y,T)=>{"use strict";T.d(Y,{d:()=>S});var w=T(4482),i=T(5403);function S(x){return(0,w.e)((E,k)=>{let R=!1;E.subscribe((0,i.x)(k,V=>{R=!0,k.next(V)},()=>{R||k.next(x),k.complete()}))})}},1005:(j,Y,T)=>{"use strict";T.d(Y,{g:()=>se});var w=T(4986),i=T(7272),S=T(5698),x=T(4482),E=T(5403),k=T(5032),V=T(9718),q=T(5577);function $(ce,ie){return ie?te=>(0,i.z)(ie.pipe((0,S.q)(1),function R(){return(0,x.e)((ce,ie)=>{ce.subscribe((0,E.x)(ie,k.Z))})}()),te.pipe($(ce))):(0,q.z)((te,he)=>ce(te,he).pipe((0,S.q)(1),(0,V.h)(te)))}var X=T(2805);function se(ce,ie=w.z){const te=(0,X.H)(ce,ie);return $(()=>te)}},9300:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>S});var w=T(4482),i=T(5403);function S(x,E){return(0,w.e)((k,R)=>{let V=0;k.subscribe((0,i.x)(R,q=>x.call(E,q,V++)&&R.next(q)))})}},590:(j,Y,T)=>{"use strict";T.d(Y,{P:()=>R});var w=T(6805),i=T(9300),S=T(5698),x=T(6590),E=T(8068),k=T(4671);function R(V,q){const $=arguments.length>=2;return X=>X.pipe(V?(0,i.h)((se,ce)=>V(se,ce,X)):k.y,(0,S.q)(1),$?(0,x.d)(q):(0,E.T)(()=>new w.K))}},4004:(j,Y,T)=>{"use strict";T.d(Y,{U:()=>S});var w=T(4482),i=T(5403);function S(x,E){return(0,w.e)((k,R)=>{let V=0;k.subscribe((0,i.x)(R,q=>{R.next(x.call(E,q,V++))}))})}},9718:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>i});var w=T(4004);function i(S){return(0,w.U)(()=>S)}},8189:(j,Y,T)=>{"use strict";T.d(Y,{J:()=>S});var w=T(5577),i=T(4671);function S(x=1/0){return(0,w.z)(i.y,x)}},5577:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>V});var w=T(4004),i=T(8421),S=T(4482),x=T(9672),E=T(5403),R=T(576);function V(q,$,X=1/0){return(0,R.m)($)?V((se,ce)=>(0,w.U)((ie,te)=>$(se,ie,ce,te))((0,i.Xf)(q(se,ce))),X):("number"==typeof $&&(X=$),(0,S.e)((se,ce)=>function k(q,$,X,se,ce,ie,te,he){const ge=[];let Oe=0,We=0,Ze=!1;const Ee=()=>{Ze&&!ge.length&&!Oe&&$.complete()},ve=mt=>Oe{ie&&$.next(mt),Oe++;let Re=!1;(0,i.Xf)(X(mt,We++)).subscribe((0,E.x)($,Ve=>{null==ce||ce(Ve),ie?ve(Ve):$.next(Ve)},()=>{Re=!0},void 0,()=>{if(Re)try{for(Oe--;ge.length&&OeSe(Ve)):Se(Ve)}Ee()}catch(Ve){$.error(Ve)}}))};return q.subscribe((0,E.x)($,ve,()=>{Ze=!0,Ee()})),()=>{null==he||he()}}(se,ce,q,X)))}},3099:(j,Y,T)=>{"use strict";T.d(Y,{B:()=>E});var w=T(8421),i=T(7579),S=T(930),x=T(4482);function E(R={}){const{connector:V=(()=>new i.x),resetOnError:q=!0,resetOnComplete:$=!0,resetOnRefCountZero:X=!0}=R;return se=>{let ce,ie,te,he=0,ge=!1,Oe=!1;const We=()=>{null==ie||ie.unsubscribe(),ie=void 0},Ze=()=>{We(),ce=te=void 0,ge=Oe=!1},Ee=()=>{const ve=ce;Ze(),null==ve||ve.unsubscribe()};return(0,x.e)((ve,Se)=>{he++,!Oe&&!ge&&We();const mt=te=null!=te?te:V();Se.add(()=>{he--,0===he&&!Oe&&!ge&&(ie=k(Ee,X))}),mt.subscribe(Se),!ce&&he>0&&(ce=new S.Hp({next:Re=>mt.next(Re),error:Re=>{Oe=!0,We(),ie=k(Ze,q,Re),mt.error(Re)},complete:()=>{ge=!0,We(),ie=k(Ze,$),mt.complete()}}),(0,w.Xf)(ve).subscribe(ce))})(se)}}function k(R,V,...q){if(!0===V)return void R();if(!1===V)return;const $=new S.Hp({next:()=>{$.unsubscribe(),R()}});return V(...q).subscribe($)}},3900:(j,Y,T)=>{"use strict";T.d(Y,{w:()=>x});var w=T(8421),i=T(4482),S=T(5403);function x(E,k){return(0,i.e)((R,V)=>{let q=null,$=0,X=!1;const se=()=>X&&!q&&V.complete();R.subscribe((0,S.x)(V,ce=>{null==q||q.unsubscribe();let ie=0;const te=$++;(0,w.Xf)(E(ce,te)).subscribe(q=(0,S.x)(V,he=>V.next(k?k(ce,he,te,ie++):he),()=>{q=null,se()}))},()=>{X=!0,se()}))})}},5698:(j,Y,T)=>{"use strict";T.d(Y,{q:()=>x});var w=T(515),i=T(4482),S=T(5403);function x(E){return E<=0?()=>w.E:(0,i.e)((k,R)=>{let V=0;k.subscribe((0,S.x)(R,q=>{++V<=E&&(R.next(q),E<=V&&R.complete())}))})}},8505:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>E});var w=T(576),i=T(4482),S=T(5403),x=T(4671);function E(k,R,V){const q=(0,w.m)(k)||R||V?{next:k,error:R,complete:V}:k;return q?(0,i.e)(($,X)=>{var se;null===(se=q.subscribe)||void 0===se||se.call(q);let ce=!0;$.subscribe((0,S.x)(X,ie=>{var te;null===(te=q.next)||void 0===te||te.call(q,ie),X.next(ie)},()=>{var ie;ce=!1,null===(ie=q.complete)||void 0===ie||ie.call(q),X.complete()},ie=>{var te;ce=!1,null===(te=q.error)||void 0===te||te.call(q,ie),X.error(ie)},()=>{var ie,te;ce&&(null===(ie=q.unsubscribe)||void 0===ie||ie.call(q)),null===(te=q.finalize)||void 0===te||te.call(q)}))}):x.y}},8068:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>x});var w=T(6805),i=T(4482),S=T(5403);function x(k=E){return(0,i.e)((R,V)=>{let q=!1;R.subscribe((0,S.x)(V,$=>{q=!0,V.next($)},()=>q?V.complete():V.error(k())))})}function E(){return new w.K}},7414:(j,Y,T)=>{"use strict";T.d(Y,{V:()=>q});var w=T(4986),i=T(1165),S=T(4482),x=T(8421),E=T(3888),k=T(5403),R=T(9672);const V=(0,E.d)(X=>function(ce=null){X(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ce});function q(X,se){const{first:ce,each:ie,with:te=$,scheduler:he=(null!=se?se:w.z),meta:ge=null}=(0,i.q)(X)?{first:X}:"number"==typeof X?{each:X}:X;if(null==ce&&null==ie)throw new TypeError("No timeout provided.");return(0,S.e)((Oe,We)=>{let Ze,Ee,ve=null,Se=0;const mt=Re=>{Ee=(0,R.f)(We,he,()=>{try{Ze.unsubscribe(),(0,x.Xf)(te({meta:ge,lastValue:ve,seen:Se})).subscribe(We)}catch(Ve){We.error(Ve)}},Re)};Ze=Oe.subscribe((0,k.x)(We,Re=>{null==Ee||Ee.unsubscribe(),Se++,We.next(ve=Re),ie>0&&mt(ie)},void 0,void 0,()=>{(null==Ee?void 0:Ee.closed)||null==Ee||Ee.unsubscribe(),ve=null})),!Se&&mt(null!=ce?"number"==typeof ce?ce:+ce-he.now():ie)})}function $(X){throw new V(X)}},4408:(j,Y,T)=>{"use strict";T.d(Y,{o:()=>E});var w=T(727);class i extends w.w0{constructor(R,V){super()}schedule(R,V=0){return this}}const S={setInterval(k,R,...V){const{delegate:q}=S;return(null==q?void 0:q.setInterval)?q.setInterval(k,R,...V):setInterval(k,R,...V)},clearInterval(k){const{delegate:R}=S;return((null==R?void 0:R.clearInterval)||clearInterval)(k)},delegate:void 0};var x=T(8737);class E extends i{constructor(R,V){super(R,V),this.scheduler=R,this.work=V,this.pending=!1}schedule(R,V=0){if(this.closed)return this;this.state=R;const q=this.id,$=this.scheduler;return null!=q&&(this.id=this.recycleAsyncId($,q,V)),this.pending=!0,this.delay=V,this.id=this.id||this.requestAsyncId($,this.id,V),this}requestAsyncId(R,V,q=0){return S.setInterval(R.flush.bind(R,this),q)}recycleAsyncId(R,V,q=0){if(null!=q&&this.delay===q&&!1===this.pending)return V;S.clearInterval(V)}execute(R,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const q=this._execute(R,V);if(q)return q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,V){let $,q=!1;try{this.work(R)}catch(X){q=!0,$=X||new Error("Scheduled action threw falsy error")}if(q)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:R,scheduler:V}=this,{actions:q}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(q,this),null!=R&&(this.id=this.recycleAsyncId(V,R,null)),this.delay=null,super.unsubscribe()}}}},7565:(j,Y,T)=>{"use strict";T.d(Y,{v:()=>S});var w=T(6063);class i{constructor(E,k=i.now){this.schedulerActionCtor=E,this.now=k}schedule(E,k=0,R){return new this.schedulerActionCtor(this,E).schedule(R,k)}}i.now=w.l.now;class S extends i{constructor(E,k=i.now){super(E,k),this.actions=[],this._active=!1,this._scheduled=void 0}flush(E){const{actions:k}=this;if(this._active)return void k.push(E);let R;this._active=!0;do{if(R=E.execute(E.state,E.delay))break}while(E=k.shift());if(this._active=!1,R){for(;E=k.shift();)E.unsubscribe();throw R}}}},4986:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>S,P:()=>x});var w=T(4408);const S=new(T(7565).v)(w.o),x=S},6063:(j,Y,T)=>{"use strict";T.d(Y,{l:()=>w});const w={now:()=>(w.delegate||Date).now(),delegate:void 0}},3410:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>w});const w={setTimeout(i,S,...x){const{delegate:E}=w;return(null==E?void 0:E.setTimeout)?E.setTimeout(i,S,...x):setTimeout(i,S,...x)},clearTimeout(i){const{delegate:S}=w;return((null==S?void 0:S.clearTimeout)||clearTimeout)(i)},delegate:void 0}},2202:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>i});const i=function w(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(j,Y,T)=>{"use strict";T.d(Y,{L:()=>w});const w="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>i});const i=(0,T(3888).d)(S=>function(){S(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(j,Y,T)=>{"use strict";T.d(Y,{jO:()=>x,yG:()=>E,_6:()=>k});var w=T(576),i=T(3532);function S(R){return R[R.length-1]}function x(R){return(0,w.m)(S(R))?R.pop():void 0}function E(R){return(0,i.K)(S(R))?R.pop():void 0}function k(R,V){return"number"==typeof S(R)?R.pop():V}},4742:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>E});const{isArray:w}=Array,{getPrototypeOf:i,prototype:S,keys:x}=Object;function E(R){if(1===R.length){const V=R[0];if(w(V))return{args:V,keys:null};if(function k(R){return R&&"object"==typeof R&&i(R)===S}(V)){const q=x(V);return{args:q.map($=>V[$]),keys:q}}}return{args:R,keys:null}}},8737:(j,Y,T)=>{"use strict";function w(i,S){if(i){const x=i.indexOf(S);0<=x&&i.splice(x,1)}}T.d(Y,{P:()=>w})},3888:(j,Y,T)=>{"use strict";function w(i){const x=i(E=>{Error.call(E),E.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}T.d(Y,{d:()=>w})},1810:(j,Y,T)=>{"use strict";function w(i,S){return i.reduce((x,E,k)=>(x[E]=S[k],x),{})}T.d(Y,{n:()=>w})},2806:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>S,O:()=>x});var w=T(2416);let i=null;function S(E){if(w.v.useDeprecatedSynchronousErrorHandling){const k=!i;if(k&&(i={errorThrown:!1,error:null}),E(),k){const{errorThrown:R,error:V}=i;if(i=null,R)throw V}}else E()}function x(E){w.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=E)}},9672:(j,Y,T)=>{"use strict";function w(i,S,x,E=0,k=!1){const R=S.schedule(function(){x(),k?i.add(this.schedule(null,E)):this.unsubscribe()},E);if(i.add(R),!k)return R}T.d(Y,{f:()=>w})},4671:(j,Y,T)=>{"use strict";function w(i){return i}T.d(Y,{y:()=>w})},1144:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>w});const w=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>i});var w=T(576);function i(S){return Symbol.asyncIterator&&(0,w.m)(null==S?void 0:S[Symbol.asyncIterator])}},1165:(j,Y,T)=>{"use strict";function w(i){return i instanceof Date&&!isNaN(i)}T.d(Y,{q:()=>w})},576:(j,Y,T)=>{"use strict";function w(i){return"function"==typeof i}T.d(Y,{m:()=>w})},3670:(j,Y,T)=>{"use strict";T.d(Y,{c:()=>S});var w=T(8822),i=T(576);function S(x){return(0,i.m)(x[w.L])}},6495:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>S});var w=T(2202),i=T(576);function S(x){return(0,i.m)(null==x?void 0:x[w.h])}},8239:(j,Y,T)=>{"use strict";T.d(Y,{t:()=>i});var w=T(576);function i(S){return(0,w.m)(null==S?void 0:S.then)}},3260:(j,Y,T)=>{"use strict";T.d(Y,{Q:()=>S,L:()=>x});var w=T(655),i=T(576);function S(E){return(0,w.FC)(this,arguments,function*(){const R=E.getReader();try{for(;;){const{value:V,done:q}=yield(0,w.qq)(R.read());if(q)return yield(0,w.qq)(void 0);yield yield(0,w.qq)(V)}}finally{R.releaseLock()}})}function x(E){return(0,i.m)(null==E?void 0:E.getReader)}},3532:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>i});var w=T(576);function i(S){return S&&(0,w.m)(S.schedule)}},4482:(j,Y,T)=>{"use strict";T.d(Y,{A:()=>i,e:()=>S});var w=T(576);function i(x){return(0,w.m)(null==x?void 0:x.lift)}function S(x){return E=>{if(i(E))return E.lift(function(k){try{return x(k,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(j,Y,T)=>{"use strict";T.d(Y,{Z:()=>x});var w=T(4004);const{isArray:i}=Array;function x(E){return(0,w.U)(k=>function S(E,k){return i(k)?E(...k):E(k)}(E,k))}},5032:(j,Y,T)=>{"use strict";function w(){}T.d(Y,{Z:()=>w})},7849:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>S});var w=T(2416),i=T(3410);function S(x){i.z.setTimeout(()=>{const{onUnhandledError:E}=w.v;if(!E)throw x;E(x)})}},4532:(j,Y,T)=>{"use strict";function w(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(Y,{z:()=>w})},6700:(j,Y,T)=>{var w={"./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":5283,"./hy-am.js":5283,"./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":2868,"./th.js":2868,"./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(x){var E=S(x);return T(E)}function S(x){if(!T.o(w,x)){var E=new Error("Cannot find module '"+x+"'");throw E.code="MODULE_NOT_FOUND",E}return w[x]}i.keys=function(){return Object.keys(w)},i.resolve=S,j.exports=i,i.id=6700},655:(j,Y,T)=>{"use strict";function V(ue,_e,be,xe){return new(be||(be=Promise))(function(Ue,ft){function zt(Ii){try{et(xe.next(Ii))}catch(Tn){ft(Tn)}}function oi(Ii){try{et(xe.throw(Ii))}catch(Tn){ft(Tn)}}function et(Ii){Ii.done?Ue(Ii.value):function ye(Ue){return Ue instanceof be?Ue:new be(function(ft){ft(Ue)})}(Ii.value).then(zt,oi)}et((xe=xe.apply(ue,_e||[])).next())})}function ge(ue){return this instanceof ge?(this.v=ue,this):new ge(ue)}function Oe(ue,_e,be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,xe=be.apply(ue,_e||[]),Ue=[];return ye={},ft("next"),ft("throw"),ft("return"),ye[Symbol.asyncIterator]=function(){return this},ye;function ft(Xe){xe[Xe]&&(ye[Xe]=function(ni){return new Promise(function(Un,Gi){Ue.push([Xe,ni,Un,Gi])>1||zt(Xe,ni)})})}function zt(Xe,ni){try{!function oi(Xe){Xe.value instanceof ge?Promise.resolve(Xe.value.v).then(et,Ii):Tn(Ue[0][2],Xe)}(xe[Xe](ni))}catch(Un){Tn(Ue[0][3],Un)}}function et(Xe){zt("next",Xe)}function Ii(Xe){zt("throw",Xe)}function Tn(Xe,ni){Xe(ni),Ue.shift(),Ue.length&&zt(Ue[0][0],Ue[0][1])}}function Ze(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var be,_e=ue[Symbol.asyncIterator];return _e?_e.call(ue):(ue=function se(ue){var _e="function"==typeof Symbol&&Symbol.iterator,be=_e&&ue[_e],xe=0;if(be)return be.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&xe>=ue.length&&(ue=void 0),{value:ue&&ue[xe++],done:!ue}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),be={},xe("next"),xe("throw"),xe("return"),be[Symbol.asyncIterator]=function(){return this},be);function xe(Ue){be[Ue]=ue[Ue]&&function(ft){return new Promise(function(zt,oi){!function ye(Ue,ft,zt,oi){Promise.resolve(oi).then(function(et){Ue({value:et,done:zt})},ft)}(zt,oi,(ft=ue[Ue](ft)).done,ft.value)})}}}T.d(Y,{mG:()=>V,qq:()=>ge,FC:()=>Oe,KL:()=>Ze})},9808:(j,Y,T)=>{"use strict";T.d(Y,{mr:()=>We,Ov:()=>Wu,ez:()=>Li,K0:()=>R,uU:()=>Ie,Do:()=>Ee,Nd:()=>Ps,V_:()=>$,Ye:()=>ve,S$:()=>ge,mk:()=>Ua,sg:()=>Mn,O5:()=>ar,PC:()=>Ls,RF:()=>Bn,n9:()=>sr,ED:()=>cl,b0:()=>Ze,lw:()=>V,gd:()=>Sn,EM:()=>Bs,JF:()=>Dt,NF:()=>Nn,PM:()=>wn,w_:()=>k,bD:()=>Ut,q:()=>S,Mx:()=>Ds,HT:()=>E});var w=T(5e3);let i=null;function S(){return i}function E(B){i||(i=B)}class k{}const R=new w.OlP("DocumentToken");let V=(()=>{class B{historyGo(I){throw new Error("Not implemented")}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275prov=w.Yz7({token:B,factory:function(){return function q(){return(0,w.LFG)(X)}()},providedIn:"platform"}),B})();const $=new w.OlP("Location Initialized");let X=(()=>{class B extends V{constructor(I){super(),this._doc=I,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(I){const J=S().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",I,!1),()=>J.removeEventListener("popstate",I)}onHashChange(I){const J=S().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",I,!1),()=>J.removeEventListener("hashchange",I)}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(I){this.location.pathname=I}pushState(I,J,ne){se()?this._history.pushState(I,J,ne):this.location.hash=ne}replaceState(I,J,ne){se()?this._history.replaceState(I,J,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(I=0){this._history.go(I)}getState(){return this._history.state}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(R))},B.\u0275prov=w.Yz7({token:B,factory:function(){return function ce(){return new X((0,w.LFG)(R))}()},providedIn:"platform"}),B})();function se(){return!!window.history.pushState}function ie(B,U){if(0==B.length)return U;if(0==U.length)return B;let I=0;return B.endsWith("/")&&I++,U.startsWith("/")&&I++,2==I?B+U.substring(1):1==I?B+U:B+"/"+U}function te(B){const U=B.match(/#|\?|$/),I=U&&U.index||B.length;return B.slice(0,I-("/"===B[I-1]?1:0))+B.slice(I)}function he(B){return B&&"?"!==B[0]?"?"+B:B}let ge=(()=>{class B{historyGo(I){throw new Error("Not implemented")}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275prov=w.Yz7({token:B,factory:function(){return function Oe(B){const U=(0,w.LFG)(R).location;return new Ze((0,w.LFG)(V),U&&U.origin||"")}()},providedIn:"root"}),B})();const We=new w.OlP("appBaseHref");let Ze=(()=>{class B extends ge{constructor(I,J){if(super(),this._platformLocation=I,this._removeListenerFns=[],null==J&&(J=this._platformLocation.getBaseHrefFromDOM()),null==J)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=J}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}prepareExternalUrl(I){return ie(this._baseHref,I)}path(I=!1){const J=this._platformLocation.pathname+he(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&I?`${J}${ne}`:J}pushState(I,J,ne,Me){const He=this.prepareExternalUrl(ne+he(Me));this._platformLocation.pushState(I,J,He)}replaceState(I,J,ne,Me){const He=this.prepareExternalUrl(ne+he(Me));this._platformLocation.replaceState(I,J,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformLocation).historyGo)||void 0===ne||ne.call(J,I)}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(V),w.LFG(We,8))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})(),Ee=(()=>{class B extends ge{constructor(I,J){super(),this._platformLocation=I,this._baseHref="",this._removeListenerFns=[],null!=J&&(this._baseHref=J)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}path(I=!1){let J=this._platformLocation.hash;return null==J&&(J="#"),J.length>0?J.substring(1):J}prepareExternalUrl(I){const J=ie(this._baseHref,I);return J.length>0?"#"+J:J}pushState(I,J,ne,Me){let He=this.prepareExternalUrl(ne+he(Me));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.pushState(I,J,He)}replaceState(I,J,ne,Me){let He=this.prepareExternalUrl(ne+he(Me));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.replaceState(I,J,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformLocation).historyGo)||void 0===ne||ne.call(J,I)}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(V),w.LFG(We,8))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})(),ve=(()=>{class B{constructor(I,J){this._subject=new w.vpe,this._urlChangeListeners=[],this._platformStrategy=I;const ne=this._platformStrategy.getBaseHref();this._platformLocation=J,this._baseHref=te(Re(ne)),this._platformStrategy.onPopState(Me=>{this._subject.emit({url:this.path(!0),pop:!0,state:Me.state,type:Me.type})})}path(I=!1){return this.normalize(this._platformStrategy.path(I))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(I,J=""){return this.path()==this.normalize(I+he(J))}normalize(I){return B.stripTrailingSlash(function mt(B,U){return B&&U.startsWith(B)?U.substring(B.length):U}(this._baseHref,Re(I)))}prepareExternalUrl(I){return I&&"/"!==I[0]&&(I="/"+I),this._platformStrategy.prepareExternalUrl(I)}go(I,J="",ne=null){this._platformStrategy.pushState(ne,"",I,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+he(J)),ne)}replaceState(I,J="",ne=null){this._platformStrategy.replaceState(ne,"",I,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+he(J)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformStrategy).historyGo)||void 0===ne||ne.call(J,I)}onUrlChange(I){this._urlChangeListeners.push(I),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)}))}_notifyUrlChangeListeners(I="",J){this._urlChangeListeners.forEach(ne=>ne(I,J))}subscribe(I,J,ne){return this._subject.subscribe({next:I,error:J,complete:ne})}}return B.normalizeQueryParams=he,B.joinWithSlash=ie,B.stripTrailingSlash=te,B.\u0275fac=function(I){return new(I||B)(w.LFG(ge),w.LFG(V))},B.\u0275prov=w.Yz7({token:B,factory:function(){return function Se(){return new ve((0,w.LFG)(ge),(0,w.LFG)(V))}()},providedIn:"root"}),B})();function Re(B){return B.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))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),be=(()=>((be=be||{})[be.Narrow=0]="Narrow",be[be.Abbreviated=1]="Abbreviated",be[be.Wide=2]="Wide",be[be.Short=3]="Short",be))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),ye=(()=>((ye=ye||{})[ye.Decimal=0]="Decimal",ye[ye.Group=1]="Group",ye[ye.List=2]="List",ye[ye.PercentSign=3]="PercentSign",ye[ye.PlusSign=4]="PlusSign",ye[ye.MinusSign=5]="MinusSign",ye[ye.Exponential=6]="Exponential",ye[ye.SuperscriptingExponent=7]="SuperscriptingExponent",ye[ye.PerMille=8]="PerMille",ye[ye.Infinity=9]="Infinity",ye[ye.NaN=10]="NaN",ye[ye.TimeSeparator=11]="TimeSeparator",ye[ye.CurrencyDecimal=12]="CurrencyDecimal",ye[ye.CurrencyGroup=13]="CurrencyGroup",ye))();function ni(B,U){return tt((0,w.cg1)(B)[w.wAp.DateFormat],U)}function Un(B,U){return tt((0,w.cg1)(B)[w.wAp.TimeFormat],U)}function Gi(B,U){return tt((0,w.cg1)(B)[w.wAp.DateTimeFormat],U)}function gi(B,U){const I=(0,w.cg1)(B),J=I[w.wAp.NumberSymbols][U];if(void 0===J){if(U===ye.CurrencyDecimal)return I[w.wAp.NumberSymbols][ye.Decimal];if(U===ye.CurrencyGroup)return I[w.wAp.NumberSymbols][ye.Group]}return J}const On=w.kL8;function de(B){if(!B[w.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[w.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function tt(B,U){for(let I=U;I>-1;I--)if(void 0!==B[I])return B[I];throw new Error("Locale data API: locale data undefined")}function lt(B){const[U,I]=B.split(":");return{hours:+U,minutes:+I}}const oe=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ze={},Pe=/((?:[^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 Ge=(()=>((Ge=Ge||{})[Ge.Short=0]="Short",Ge[Ge.ShortGMT=1]="ShortGMT",Ge[Ge.Long=2]="Long",Ge[Ge.Extended=3]="Extended",Ge))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),it=(()=>((it=it||{})[it.DayPeriods=0]="DayPeriods",it[it.Days=1]="Days",it[it.Months=2]="Months",it[it.Eras=3]="Eras",it))();function Bt(B,U,I,J){let ne=function qe(B){if(pn(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[ne,Me=1,He=1]=B.split("-").map(ct=>+ct);return zi(ne,Me-1,He)}const I=parseFloat(B);if(!isNaN(B-I))return new Date(I);let J;if(J=B.match(oe))return function vi(B){const U=new Date(0);let I=0,J=0;const ne=B[8]?U.setUTCFullYear:U.setFullYear,Me=B[8]?U.setUTCHours:U.setHours;B[9]&&(I=Number(B[9]+B[10]),J=Number(B[9]+B[11])),ne.call(U,Number(B[1]),Number(B[2])-1,Number(B[3]));const He=Number(B[4]||0)-I,ct=Number(B[5]||0)-J,pi=Number(B[6]||0),ai=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return Me.call(U,He,ct,pi,ai),U}(J)}const U=new Date(B);if(!pn(U))throw new Error(`Unable to convert "${B}" into a date`);return U}(B);U=Vt(I,U)||U;let ct,He=[];for(;U;){if(ct=Pe.exec(U),!ct){He.push(U);break}{He=He.concat(ct.slice(1));const Rt=He.pop();if(!Rt)break;U=Rt}}let pi=ne.getTimezoneOffset();J&&(pi=Es(J,pi),ne=function M(B,U,I){const J=I?-1:1,ne=B.getTimezoneOffset();return function bo(B,U){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+U),B}(B,J*(Es(U,ne)-ne))}(ne,J,!0));let ai="";return He.forEach(Rt=>{const jt=function Ss(B){if(mr[B])return mr[B];let U;switch(B){case"G":case"GG":case"GGG":U=Xt(it.Eras,be.Abbreviated);break;case"GGGG":U=Xt(it.Eras,be.Wide);break;case"GGGGG":U=Xt(it.Eras,be.Narrow);break;case"y":U=nt(De.FullYear,1,0,!1,!0);break;case"yy":U=nt(De.FullYear,2,0,!0,!0);break;case"yyy":U=nt(De.FullYear,3,0,!1,!0);break;case"yyyy":U=nt(De.FullYear,4,0,!1,!0);break;case"Y":U=Aa(1);break;case"YY":U=Aa(2,!0);break;case"YYY":U=Aa(3);break;case"YYYY":U=Aa(4);break;case"M":case"L":U=nt(De.Month,1,1);break;case"MM":case"LL":U=nt(De.Month,2,1);break;case"MMM":U=Xt(it.Months,be.Abbreviated);break;case"MMMM":U=Xt(it.Months,be.Wide);break;case"MMMMM":U=Xt(it.Months,be.Narrow);break;case"LLL":U=Xt(it.Months,be.Abbreviated,_e.Standalone);break;case"LLLL":U=Xt(it.Months,be.Wide,_e.Standalone);break;case"LLLLL":U=Xt(it.Months,be.Narrow,_e.Standalone);break;case"w":U=ba(1);break;case"ww":U=ba(2);break;case"W":U=ba(1,!0);break;case"d":U=nt(De.Date,1);break;case"dd":U=nt(De.Date,2);break;case"c":case"cc":U=nt(De.Day,1);break;case"ccc":U=Xt(it.Days,be.Abbreviated,_e.Standalone);break;case"cccc":U=Xt(it.Days,be.Wide,_e.Standalone);break;case"ccccc":U=Xt(it.Days,be.Narrow,_e.Standalone);break;case"cccccc":U=Xt(it.Days,be.Short,_e.Standalone);break;case"E":case"EE":case"EEE":U=Xt(it.Days,be.Abbreviated);break;case"EEEE":U=Xt(it.Days,be.Wide);break;case"EEEEE":U=Xt(it.Days,be.Narrow);break;case"EEEEEE":U=Xt(it.Days,be.Short);break;case"a":case"aa":case"aaa":U=Xt(it.DayPeriods,be.Abbreviated);break;case"aaaa":U=Xt(it.DayPeriods,be.Wide);break;case"aaaaa":U=Xt(it.DayPeriods,be.Narrow);break;case"b":case"bb":case"bbb":U=Xt(it.DayPeriods,be.Abbreviated,_e.Standalone,!0);break;case"bbbb":U=Xt(it.DayPeriods,be.Wide,_e.Standalone,!0);break;case"bbbbb":U=Xt(it.DayPeriods,be.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":U=Xt(it.DayPeriods,be.Abbreviated,_e.Format,!0);break;case"BBBB":U=Xt(it.DayPeriods,be.Wide,_e.Format,!0);break;case"BBBBB":U=Xt(it.DayPeriods,be.Narrow,_e.Format,!0);break;case"h":U=nt(De.Hours,1,-12);break;case"hh":U=nt(De.Hours,2,-12);break;case"H":U=nt(De.Hours,1);break;case"HH":U=nt(De.Hours,2);break;case"m":U=nt(De.Minutes,1);break;case"mm":U=nt(De.Minutes,2);break;case"s":U=nt(De.Seconds,1);break;case"ss":U=nt(De.Seconds,2);break;case"S":U=nt(De.FractionalSeconds,1);break;case"SS":U=nt(De.FractionalSeconds,2);break;case"SSS":U=nt(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":U=fr(Ge.Short);break;case"ZZZZZ":U=fr(Ge.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":U=fr(Ge.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":U=fr(Ge.Long);break;default:return null}return mr[B]=U,U}(Rt);ai+=jt?jt(ne,I,pi):"''"===Rt?"'":Rt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ai}function zi(B,U,I){const J=new Date(0);return J.setFullYear(B,U,I),J.setHours(0,0,0),J}function Vt(B,U){const I=function ft(B){return(0,w.cg1)(B)[w.wAp.LocaleId]}(B);if(ze[I]=ze[I]||{},ze[I][U])return ze[I][U];let J="";switch(U){case"shortDate":J=ni(B,xe.Short);break;case"mediumDate":J=ni(B,xe.Medium);break;case"longDate":J=ni(B,xe.Long);break;case"fullDate":J=ni(B,xe.Full);break;case"shortTime":J=Un(B,xe.Short);break;case"mediumTime":J=Un(B,xe.Medium);break;case"longTime":J=Un(B,xe.Long);break;case"fullTime":J=Un(B,xe.Full);break;case"short":const ne=Vt(B,"shortTime"),Me=Vt(B,"shortDate");J=Ur(Gi(B,xe.Short),[ne,Me]);break;case"medium":const He=Vt(B,"mediumTime"),ct=Vt(B,"mediumDate");J=Ur(Gi(B,xe.Medium),[He,ct]);break;case"long":const pi=Vt(B,"longTime"),ai=Vt(B,"longDate");J=Ur(Gi(B,xe.Long),[pi,ai]);break;case"full":const Rt=Vt(B,"fullTime"),jt=Vt(B,"fullDate");J=Ur(Gi(B,xe.Full),[Rt,jt])}return J&&(ze[I][U]=J),J}function Ur(B,U){return U&&(B=B.replace(/\{([^}]+)}/g,function(I,J){return null!=U&&J in U?U[J]:I})),B}function Fi(B,U,I="-",J,ne){let Me="";(B<0||ne&&B<=0)&&(ne?B=1-B:(B=-B,Me=I));let He=String(B);for(;He.length0||ct>-I)&&(ct+=I),B===De.Hours)0===ct&&-12===I&&(ct=12);else if(B===De.FractionalSeconds)return function At(B,U){return Fi(B,3).substr(0,U)}(ct,U);const pi=gi(He,ye.MinusSign);return Fi(ct,U,pi,J,ne)}}function Xt(B,U,I=_e.Format,J=!1){return function(ne,Me){return function Ht(B,U,I,J,ne,Me){switch(I){case it.Months:return function et(B,U,I){const J=(0,w.cg1)(B),Me=tt([J[w.wAp.MonthsFormat],J[w.wAp.MonthsStandalone]],U);return tt(Me,I)}(U,ne,J)[B.getMonth()];case it.Days:return function oi(B,U,I){const J=(0,w.cg1)(B),Me=tt([J[w.wAp.DaysFormat],J[w.wAp.DaysStandalone]],U);return tt(Me,I)}(U,ne,J)[B.getDay()];case it.DayPeriods:const He=B.getHours(),ct=B.getMinutes();if(Me){const ai=function Be(B){const U=(0,w.cg1)(B);return de(U),(U[w.wAp.ExtraData][2]||[]).map(J=>"string"==typeof J?lt(J):[lt(J[0]),lt(J[1])])}(U),Rt=function Ae(B,U,I){const J=(0,w.cg1)(B);de(J);const Me=tt([J[w.wAp.ExtraData][0],J[w.wAp.ExtraData][1]],U)||[];return tt(Me,I)||[]}(U,ne,J),jt=ai.findIndex(ji=>{if(Array.isArray(ji)){const[yi,ki]=ji,Ta=He>=yi.hours&&ct>=yi.minutes,Hr=He0?Math.floor(ne/60):Math.ceil(ne/60);switch(B){case Ge.Short:return(ne>=0?"+":"")+Fi(He,2,Me)+Fi(Math.abs(ne%60),2,Me);case Ge.ShortGMT:return"GMT"+(ne>=0?"+":"")+Fi(He,1,Me);case Ge.Long:return"GMT"+(ne>=0?"+":"")+Fi(He,2,Me)+":"+Fi(Math.abs(ne%60),2,Me);case Ge.Extended:return 0===J?"Z":(ne>=0?"+":"")+Fi(He,2,Me)+":"+Fi(Math.abs(ne%60),2,Me);default:throw new Error(`Unknown zone width "${B}"`)}}}function Wa(B){return zi(B.getFullYear(),B.getMonth(),B.getDate()+(4-B.getDay()))}function ba(B,U=!1){return function(I,J){let ne;if(U){const Me=new Date(I.getFullYear(),I.getMonth(),1).getDay()-1,He=I.getDate();ne=1+Math.floor((He+Me)/7)}else{const Me=Wa(I),He=function pc(B){const U=zi(B,0,1).getDay();return zi(B,0,1+(U<=4?4:11)-U)}(Me.getFullYear()),ct=Me.getTime()-He.getTime();ne=1+Math.round(ct/6048e5)}return Fi(ne,B,gi(J,ye.MinusSign))}}function Aa(B,U=!1){return function(I,J){return Fi(Wa(I).getFullYear(),B,gi(J,ye.MinusSign),U)}}const mr={};function Es(B,U){B=B.replace(/:/g,"");const I=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(I)?U:I}function pn(B){return B instanceof Date&&!isNaN(B.valueOf())}class bi{}let Ti=(()=>{class B extends bi{constructor(I){super(),this.locale=I}getPluralCategory(I,J){switch(On(J||this.locale)(I)){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 B.\u0275fac=function(I){return new(I||B)(w.LFG(w.soG))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})();function Ds(B,U){U=encodeURIComponent(U);for(const I of B.split(";")){const J=I.indexOf("="),[ne,Me]=-1==J?[I,""]:[I.slice(0,J),I.slice(J+1)];if(ne.trim()===U)return decodeURIComponent(Me)}return null}let Ua=(()=>{class B{constructor(I,J,ne,Me){this._iterableDiffers=I,this._keyValueDiffers=J,this._ngEl=ne,this._renderer=Me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(I){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof I?I.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(I){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof I?I.split(/\s+/):I,this._rawClass&&((0,w.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const I=this._iterableDiffer.diff(this._rawClass);I&&this._applyIterableChanges(I)}else if(this._keyValueDiffer){const I=this._keyValueDiffer.diff(this._rawClass);I&&this._applyKeyValueChanges(I)}}_applyKeyValueChanges(I){I.forEachAddedItem(J=>this._toggleClass(J.key,J.currentValue)),I.forEachChangedItem(J=>this._toggleClass(J.key,J.currentValue)),I.forEachRemovedItem(J=>{J.previousValue&&this._toggleClass(J.key,!1)})}_applyIterableChanges(I){I.forEachAddedItem(J=>{if("string"!=typeof J.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,w.AaK)(J.item)}`);this._toggleClass(J.item,!0)}),I.forEachRemovedItem(J=>this._toggleClass(J.item,!1))}_applyClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(J=>this._toggleClass(J,!0)):Object.keys(I).forEach(J=>this._toggleClass(J,!!I[J])))}_removeClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(J=>this._toggleClass(J,!1)):Object.keys(I).forEach(J=>this._toggleClass(J,!1)))}_toggleClass(I,J){(I=I.trim())&&I.split(/\s+/g).forEach(ne=>{J?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.ZZ4),w.Y36(w.aQg),w.Y36(w.SBq),w.Y36(w.Qsj))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),B})();class Hs{constructor(U,I,J,ne){this.$implicit=U,this.ngForOf=I,this.index=J,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 Mn=(()=>{class B{constructor(I,J,ne){this._viewContainer=I,this._template=J,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(I){this._ngForOf=I,this._ngForOfDirty=!0}set ngForTrackBy(I){this._trackByFn=I}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(I){I&&(this._template=I)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const I=this._ngForOf;!this._differ&&I&&(this._differ=this._differs.find(I).create(this.ngForTrackBy))}if(this._differ){const I=this._differ.diff(this._ngForOf);I&&this._applyChanges(I)}}_applyChanges(I){const J=this._viewContainer;I.forEachOperation((ne,Me,He)=>{if(null==ne.previousIndex)J.createEmbeddedView(this._template,new Hs(ne.item,this._ngForOf,-1,-1),null===He?void 0:He);else if(null==He)J.remove(null===Me?void 0:Me);else if(null!==Me){const ct=J.get(Me);J.move(ct,He),Ga(ct,ne)}});for(let ne=0,Me=J.length;ne{Ga(J.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(I,J){return!0}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(w.ZZ4))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),B})();function Ga(B,U){B.context.$implicit=U.item}let ar=(()=>{class B{constructor(I,J){this._viewContainer=I,this._context=new Ai,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=J}set ngIf(I){this._context.$implicit=this._context.ngIf=I,this._updateView()}set ngIfThen(I){mc("ngIfThen",I),this._thenTemplateRef=I,this._thenViewRef=null,this._updateView()}set ngIfElse(I){mc("ngIfElse",I),this._elseTemplateRef=I,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(I,J){return!0}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),B})();class Ai{constructor(){this.$implicit=null,this.ngIf=null}}function mc(B,U){if(U&&!U.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,w.AaK)(U)}'.`)}class Za{constructor(U,I){this._viewContainerRef=U,this._templateRef=I,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let Bn=(()=>{class B{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(I){this._ngSwitch=I,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(I){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(I)}_matchCase(I){const J=I==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||J,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),J}_updateDefaultCases(I){if(this._defaultViews&&I!==this._defaultUsed){this._defaultUsed=I;for(let J=0;J{class B{constructor(I,J,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Za(I,J)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(Bn,9))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),B})(),cl=(()=>{class B{constructor(I,J,ne){ne._addDefault(new Za(I,J))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(Bn,9))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngSwitchDefault",""]]}),B})(),Ls=(()=>{class B{constructor(I,J,ne){this._ngEl=I,this._differs=J,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(I){this._ngStyle=I,!this._differ&&I&&(this._differ=this._differs.find(I).create())}ngDoCheck(){if(this._differ){const I=this._differ.diff(this._ngStyle);I&&this._applyChanges(I)}}_setStyle(I,J){const[ne,Me]=I.split(".");null!=(J=null!=J&&Me?`${J}${Me}`:J)?this._renderer.setStyle(this._ngEl.nativeElement,ne,J):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(I){I.forEachRemovedItem(J=>this._setStyle(J.key,null)),I.forEachAddedItem(J=>this._setStyle(J.key,J.currentValue)),I.forEachChangedItem(J=>this._setStyle(J.key,J.currentValue))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.SBq),w.Y36(w.aQg),w.Y36(w.Qsj))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),B})();function gr(B,U){return new w.vHH(2100,"")}class ef{createSubscription(U,I){return U.subscribe({next:I,error:J=>{throw J}})}dispose(U){U.unsubscribe()}onDestroy(U){U.unsubscribe()}}class tf{createSubscription(U,I){return U.then(I,J=>{throw J})}dispose(U){}onDestroy(U){}}const nf=new tf,rf=new ef;let Wu=(()=>{class B{constructor(I){this._ref=I,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(I){return this._obj?I!==this._obj?(this._dispose(),this.transform(I)):this._latestValue:(I&&this._subscribe(I),this._latestValue)}_subscribe(I){this._obj=I,this._strategy=this._selectStrategy(I),this._subscription=this._strategy.createSubscription(I,J=>this._updateLatestValue(I,J))}_selectStrategy(I){if((0,w.QGY)(I))return nf;if((0,w.F4k)(I))return rf;throw gr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(I,J){I===this._obj&&(this._latestValue=J,this._ref.markForCheck())}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.sBO,16))},B.\u0275pipe=w.Yjl({name:"async",type:B,pure:!1}),B})(),Sn=(()=>{class B{transform(I){if(null==I)return null;if("string"!=typeof I)throw gr();return I.toUpperCase()}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275pipe=w.Yjl({name:"uppercase",type:B,pure:!0}),B})();const rt=new w.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ie=(()=>{class B{constructor(I,J){this.locale=I,this.defaultTimezone=J}transform(I,J="mediumDate",ne,Me){var He;if(null==I||""===I||I!=I)return null;try{return Bt(I,J,Me||this.locale,null!==(He=null!=ne?ne:this.defaultTimezone)&&void 0!==He?He:void 0)}catch(ct){throw gr()}}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.soG,16),w.Y36(rt,24))},B.\u0275pipe=w.Yjl({name:"date",type:B,pure:!0}),B})(),Ps=(()=>{class B{constructor(I){this.differs=I,this.keyValues=[],this.compareFn=Ca}transform(I,J=Ca){if(!I||!(I instanceof Map)&&"object"!=typeof I)return null;this.differ||(this.differ=this.differs.find(I).create());const ne=this.differ.diff(I),Me=J!==this.compareFn;return ne&&(this.keyValues=[],ne.forEachItem(He=>{this.keyValues.push(function Gr(B,U){return{key:B,value:U}}(He.key,He.currentValue))})),(ne||Me)&&(this.keyValues.sort(J),this.compareFn=J),this.keyValues}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.aQg,16))},B.\u0275pipe=w.Yjl({name:"keyvalue",type:B,pure:!1}),B})();function Ca(B,U){const I=B.key,J=U.key;if(I===J)return 0;if(void 0===I)return 1;if(void 0===J)return-1;if(null===I)return 1;if(null===J)return-1;if("string"==typeof I&&"string"==typeof J)return I{class B{}return B.\u0275fac=function(I){return new(I||B)},B.\u0275mod=w.oAB({type:B}),B.\u0275inj=w.cJS({providers:[{provide:bi,useClass:Ti}]}),B})();const Ut="browser";function Nn(B){return B===Ut}function wn(B){return"server"===B}let Bs=(()=>{class B{}return B.\u0275prov=(0,w.Yz7)({token:B,providedIn:"root",factory:()=>new Zr((0,w.LFG)(R),window)}),B})();class Zr{constructor(U,I){this.document=U,this.window=I,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const I=function Dr(B,U){const I=B.getElementById(U)||B.getElementsByName(U)[0];if(I)return I;if("function"==typeof B.createTreeWalker&&B.body&&(B.body.createShadowRoot||B.body.attachShadow)){const J=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let ne=J.currentNode;for(;ne;){const Me=ne.shadowRoot;if(Me){const He=Me.getElementById(U)||Me.querySelector(`[name="${U}"]`);if(He)return He}ne=J.nextNode()}}return null}(this.document,U);I&&(this.scrollToElement(I),I.focus())}setHistoryScrollRestoration(U){if(this.supportScrollRestoration()){const I=this.window.history;I&&I.scrollRestoration&&(I.scrollRestoration=U)}}scrollToElement(U){const I=U.getBoundingClientRect(),J=I.left+this.window.pageXOffset,ne=I.top+this.window.pageYOffset,Me=this.offset();this.window.scrollTo(J-Me[0],ne-Me[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const U=gc(this.window.history)||gc(Object.getPrototypeOf(this.window.history));return!(!U||!U.writable&&!U.set)}catch(U){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(U){return!1}}}function gc(B){return Object.getOwnPropertyDescriptor(B,"scrollRestoration")}class Dt{}},520:(j,Y,T)=>{"use strict";T.d(Y,{TP:()=>ft,eN:()=>ye,JF:()=>tt,qT:()=>We,WM:()=>$,LE:()=>ge,Zn:()=>_e});var w=T(9808),i=T(5e3),S=T(9646),x=T(8306),E=T(4351),k=T(9300),R=T(4004);class V{}class q{}class ${constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?this.lazyInit="string"==typeof re?()=>{this.headers=new Map,re.split("\n").forEach(oe=>{const ze=oe.indexOf(":");if(ze>0){const Pe=oe.slice(0,ze),Ge=Pe.toLowerCase(),De=oe.slice(ze+1).trim();this.maybeSetNormalizedName(Pe,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(De):this.headers.set(Ge,[De])}})}:()=>{this.headers=new Map,Object.keys(re).forEach(oe=>{let ze=re[oe];const Pe=oe.toLowerCase();"string"==typeof ze&&(ze=[ze]),ze.length>0&&(this.headers.set(Pe,ze),this.maybeSetNormalizedName(oe,Pe))})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const oe=this.headers.get(re.toLowerCase());return oe&&oe.length>0?oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,oe){return this.clone({name:re,value:oe,op:"a"})}set(re,oe){return this.clone({name:re,value:oe,op:"s"})}delete(re,oe){return this.clone({name:re,value:oe,op:"d"})}maybeSetNormalizedName(re,oe){this.normalizedNames.has(oe)||this.normalizedNames.set(oe,re)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(oe=>{this.headers.set(oe,re.headers.get(oe)),this.normalizedNames.set(oe,re.normalizedNames.get(oe))})}clone(re){const oe=new $;return oe.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,oe.lazyUpdate=(this.lazyUpdate||[]).concat([re]),oe}applyUpdate(re){const oe=re.name.toLowerCase();switch(re.op){case"a":case"s":let ze=re.value;if("string"==typeof ze&&(ze=[ze]),0===ze.length)return;this.maybeSetNormalizedName(re.name,oe);const Pe=("a"===re.op?this.headers.get(oe):void 0)||[];Pe.push(...ze),this.headers.set(oe,Pe);break;case"d":const Ge=re.value;if(Ge){let De=this.headers.get(oe);if(!De)return;De=De.filter(it=>-1===Ge.indexOf(it)),0===De.length?(this.headers.delete(oe),this.normalizedNames.delete(oe)):this.headers.set(oe,De)}else this.headers.delete(oe),this.normalizedNames.delete(oe)}}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(oe=>re(this.normalizedNames.get(oe),this.headers.get(oe)))}}class X{encodeKey(re){return te(re)}encodeValue(re){return te(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const ce=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(Te){return encodeURIComponent(Te).replace(ce,(re,oe)=>{var ze;return null!==(ze=ie[oe])&&void 0!==ze?ze:re})}function he(Te){return`${Te}`}class ge{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new X,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function se(Te,re){const oe=new Map;return Te.length>0&&Te.replace(/^\?/,"").split("&").forEach(Pe=>{const Ge=Pe.indexOf("="),[De,it]=-1==Ge?[re.decodeKey(Pe),""]:[re.decodeKey(Pe.slice(0,Ge)),re.decodeValue(Pe.slice(Ge+1))],Bt=oe.get(De)||[];Bt.push(it),oe.set(De,Bt)}),oe}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(oe=>{const ze=re.fromObject[oe];this.map.set(oe,Array.isArray(ze)?ze:[ze])})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const oe=this.map.get(re);return oe?oe[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,oe){return this.clone({param:re,value:oe,op:"a"})}appendAll(re){const oe=[];return Object.keys(re).forEach(ze=>{const Pe=re[ze];Array.isArray(Pe)?Pe.forEach(Ge=>{oe.push({param:ze,value:Ge,op:"a"})}):oe.push({param:ze,value:Pe,op:"a"})}),this.clone(oe)}set(re,oe){return this.clone({param:re,value:oe,op:"s"})}delete(re,oe){return this.clone({param:re,value:oe,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const oe=this.encoder.encodeKey(re);return this.map.get(re).map(ze=>oe+"="+this.encoder.encodeValue(ze)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const oe=new ge({encoder:this.encoder});return oe.cloneFrom=this.cloneFrom||this,oe.updates=(this.updates||[]).concat(re),oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const oe=("a"===re.op?this.map.get(re.param):void 0)||[];oe.push(he(re.value)),this.map.set(re.param,oe);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let ze=this.map.get(re.param)||[];const Pe=ze.indexOf(he(re.value));-1!==Pe&&ze.splice(Pe,1),ze.length>0?this.map.set(re.param,ze):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class We{constructor(){this.map=new Map}set(re,oe){return this.map.set(re,oe),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function Ee(Te){return"undefined"!=typeof ArrayBuffer&&Te instanceof ArrayBuffer}function ve(Te){return"undefined"!=typeof Blob&&Te instanceof Blob}function Se(Te){return"undefined"!=typeof FormData&&Te instanceof FormData}class Re{constructor(re,oe,ze,Pe){let Ge;if(this.url=oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Ze(Te){switch(Te){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==ze?ze:null,Ge=Pe):Ge=ze,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params)),this.headers||(this.headers=new $),this.context||(this.context=new We),this.params){const De=this.params.toString();if(0===De.length)this.urlWithParams=oe;else{const it=oe.indexOf("?");this.urlWithParams=oe+(-1===it?"?":itFi.set(At,re.setHeaders[At]),zi)),re.setParams&&(Vt=Object.keys(re.setParams).reduce((Fi,At)=>Fi.set(At,re.setParams[At]),Vt)),new Re(ze,Pe,De,{params:Vt,headers:zi,context:Ur,reportProgress:Bt,responseType:Ge,withCredentials:it})}}var Ve=(()=>((Ve=Ve||{})[Ve.Sent=0]="Sent",Ve[Ve.UploadProgress=1]="UploadProgress",Ve[Ve.ResponseHeader=2]="ResponseHeader",Ve[Ve.DownloadProgress=3]="DownloadProgress",Ve[Ve.Response=4]="Response",Ve[Ve.User=5]="User",Ve))();class Qe{constructor(re,oe=200,ze="OK"){this.headers=re.headers||new $,this.status=void 0!==re.status?re.status:oe,this.statusText=re.statusText||ze,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends Qe{constructor(re={}){super(re),this.type=Ve.ResponseHeader}clone(re={}){return new ue({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class _e extends Qe{constructor(re={}){super(re),this.type=Ve.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new _e({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class be extends Qe{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function xe(Te,re){return{body:re,headers:Te.headers,context:Te.context,observe:Te.observe,params:Te.params,reportProgress:Te.reportProgress,responseType:Te.responseType,withCredentials:Te.withCredentials}}let ye=(()=>{class Te{constructor(oe){this.handler=oe}request(oe,ze,Pe={}){let Ge;if(oe instanceof Re)Ge=oe;else{let Bt,zi;Bt=Pe.headers instanceof $?Pe.headers:new $(Pe.headers),Pe.params&&(zi=Pe.params instanceof ge?Pe.params:new ge({fromObject:Pe.params})),Ge=new Re(oe,ze,void 0!==Pe.body?Pe.body:null,{headers:Bt,context:Pe.context,params:zi,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const De=(0,S.of)(Ge).pipe((0,E.b)(Bt=>this.handler.handle(Bt)));if(oe instanceof Re||"events"===Pe.observe)return De;const it=De.pipe((0,k.h)(Bt=>Bt instanceof _e));switch(Pe.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&!(Bt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Bt.body}));case"blob":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&!(Bt.body instanceof Blob))throw new Error("Response is not a Blob.");return Bt.body}));case"text":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&"string"!=typeof Bt.body)throw new Error("Response is not a string.");return Bt.body}));default:return it.pipe((0,R.U)(Bt=>Bt.body))}case"response":return it;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(oe,ze={}){return this.request("DELETE",oe,ze)}get(oe,ze={}){return this.request("GET",oe,ze)}head(oe,ze={}){return this.request("HEAD",oe,ze)}jsonp(oe,ze){return this.request("JSONP",oe,{params:(new ge).append(ze,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(oe,ze={}){return this.request("OPTIONS",oe,ze)}patch(oe,ze,Pe={}){return this.request("PATCH",oe,xe(Pe,ze))}post(oe,ze,Pe={}){return this.request("POST",oe,xe(Pe,ze))}put(oe,ze,Pe={}){return this.request("PUT",oe,xe(Pe,ze))}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(V))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class Ue{constructor(re,oe){this.next=re,this.interceptor=oe}handle(re){return this.interceptor.intercept(re,this.next)}}const ft=new i.OlP("HTTP_INTERCEPTORS");let zt=(()=>{class Te{intercept(oe,ze){return ze.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const Gi=/^\)\]\}',?\n/;let Jt=(()=>{class Te{constructor(oe){this.xhrFactory=oe}handle(oe){if("JSONP"===oe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new x.y(ze=>{const Pe=this.xhrFactory.build();if(Pe.open(oe.method,oe.urlWithParams),oe.withCredentials&&(Pe.withCredentials=!0),oe.headers.forEach((At,nt)=>Pe.setRequestHeader(At,nt.join(","))),oe.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!oe.headers.has("Content-Type")){const At=oe.detectContentTypeHeader();null!==At&&Pe.setRequestHeader("Content-Type",At)}if(oe.responseType){const At=oe.responseType.toLowerCase();Pe.responseType="json"!==At?At:"text"}const Ge=oe.serializeBody();let De=null;const it=()=>{if(null!==De)return De;const At=Pe.statusText||"OK",nt=new $(Pe.getAllResponseHeaders()),Gn=function gi(Te){return"responseURL"in Te&&Te.responseURL?Te.responseURL:/^X-Request-URL:/m.test(Te.getAllResponseHeaders())?Te.getResponseHeader("X-Request-URL"):null}(Pe)||oe.url;return De=new ue({headers:nt,status:Pe.status,statusText:At,url:Gn}),De},Bt=()=>{let{headers:At,status:nt,statusText:Gn,url:Xt}=it(),Ht=null;204!==nt&&(Ht=void 0===Pe.response?Pe.responseText:Pe.response),0===nt&&(nt=Ht?200:0);let fr=nt>=200&&nt<300;if("json"===oe.responseType&&"string"==typeof Ht){const rr=Ht;Ht=Ht.replace(Gi,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(Zn){Ht=rr,fr&&(fr=!1,Ht={error:Zn,text:Ht})}}fr?(ze.next(new _e({body:Ht,headers:At,status:nt,statusText:Gn,url:Xt||void 0})),ze.complete()):ze.error(new be({error:Ht,headers:At,status:nt,statusText:Gn,url:Xt||void 0}))},zi=At=>{const{url:nt}=it(),Gn=new be({error:At,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:nt||void 0});ze.error(Gn)};let Vt=!1;const Ur=At=>{Vt||(ze.next(it()),Vt=!0);let nt={type:Ve.DownloadProgress,loaded:At.loaded};At.lengthComputable&&(nt.total=At.total),"text"===oe.responseType&&!!Pe.responseText&&(nt.partialText=Pe.responseText),ze.next(nt)},Fi=At=>{let nt={type:Ve.UploadProgress,loaded:At.loaded};At.lengthComputable&&(nt.total=At.total),ze.next(nt)};return Pe.addEventListener("load",Bt),Pe.addEventListener("error",zi),Pe.addEventListener("timeout",zi),Pe.addEventListener("abort",zi),oe.reportProgress&&(Pe.addEventListener("progress",Ur),null!==Ge&&Pe.upload&&Pe.upload.addEventListener("progress",Fi)),Pe.send(Ge),ze.next({type:Ve.Sent}),()=>{Pe.removeEventListener("error",zi),Pe.removeEventListener("abort",zi),Pe.removeEventListener("load",Bt),Pe.removeEventListener("timeout",zi),oe.reportProgress&&(Pe.removeEventListener("progress",Ur),null!==Ge&&Pe.upload&&Pe.upload.removeEventListener("progress",Fi)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(w.JF))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const hn=new i.OlP("XSRF_COOKIE_NAME"),ga=new i.OlP("XSRF_HEADER_NAME");class _a{}let Wr=(()=>{class Te{constructor(oe,ze,Pe){this.doc=oe,this.platform=ze,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const oe=this.doc.cookie||"";return oe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,w.Mx)(oe,this.cookieName),this.lastCookieString=oe),this.lastToken}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(w.K0),i.LFG(i.Lbi),i.LFG(hn))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),On=(()=>{class Te{constructor(oe,ze){this.tokenService=oe,this.headerName=ze}intercept(oe,ze){const Pe=oe.url.toLowerCase();if("GET"===oe.method||"HEAD"===oe.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return ze.handle(oe);const Ge=this.tokenService.getToken();return null!==Ge&&!oe.headers.has(this.headerName)&&(oe=oe.clone({headers:oe.headers.set(this.headerName,Ge)})),ze.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(_a),i.LFG(ga))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),de=(()=>{class Te{constructor(oe,ze){this.backend=oe,this.injector=ze,this.chain=null}handle(oe){if(null===this.chain){const ze=this.injector.get(ft,[]);this.chain=ze.reduceRight((Pe,Ge)=>new Ue(Pe,Ge),this.backend)}return this.chain.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(q),i.LFG(i.zs3))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),Ke=(()=>{class Te{static disable(){return{ngModule:Te,providers:[{provide:On,useClass:zt}]}}static withOptions(oe={}){return{ngModule:Te,providers:[oe.cookieName?{provide:hn,useValue:oe.cookieName}:[],oe.headerName?{provide:ga,useValue:oe.headerName}:[]]}}}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({providers:[On,{provide:ft,useExisting:On,multi:!0},{provide:_a,useClass:Wr},{provide:hn,useValue:"XSRF-TOKEN"},{provide:ga,useValue:"X-XSRF-TOKEN"}]}),Te})(),tt=(()=>{class Te{}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({providers:[ye,{provide:V,useClass:de},Jt,{provide:q,useExisting:Jt}],imports:[[Ke.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Te})()},5e3:(j,Y,T)=>{"use strict";T.d(Y,{deG:()=>Xn,tb:()=>Ib,AFp:()=>Zw,ip1:()=>Dp,CZH:()=>Lu,hGG:()=>yC,z2F:()=>Ru,sBO:()=>$b,Sil:()=>Wm,_Vd:()=>rd,EJc:()=>Bb,SBq:()=>ad,qLn:()=>Sh,vpe:()=>zr,tBr:()=>Io,XFs:()=>Ae,OlP:()=>Pi,zs3:()=>ua,ZZ4:()=>ic,aQg:()=>Bu,soG:()=>Pu,YKP:()=>rb,h0i:()=>Cu,PXZ:()=>iC,R0b:()=>Sr,FiY:()=>Zs,Lbi:()=>Ob,g9A:()=>Kl,n_E:()=>Xl,Qsj:()=>Q_,FYo:()=>yu,JOm:()=>Qs,q3G:()=>fi,tp0:()=>Bo,Rgc:()=>cd,dDg:()=>Vb,GfV:()=>er,s_b:()=>Yn,ifc:()=>Ge,eFA:()=>tr,G48:()=>Sx,Gpc:()=>X,f3M:()=>_h,_c5:()=>gC,VLi:()=>Fb,c2e:()=>ku,zSh:()=>f0,wAp:()=>bt,vHH:()=>te,EiD:()=>Th,mCW:()=>ka,qzn:()=>kc,JVY:()=>Df,pB0:()=>ZA,eBb:()=>GA,L6k:()=>UA,LAX:()=>Ig,cg1:()=>M_,kL8:()=>ew,yhl:()=>Og,dqk:()=>Vt,sIi:()=>eu,CqO:()=>Y0,QGY:()=>hr,F4k:()=>Tr,RDi:()=>gc,AaK:()=>V,z3N:()=>$s,qOj:()=>Kd,TTD:()=>En,_Bn:()=>hm,xp6:()=>t1,uIk:()=>Zo,Q2q:()=>L0,Tol:()=>G0,Gre:()=>Yl,ekj:()=>U0,Suo:()=>km,Xpm:()=>Wa,lG2:()=>qe,Yz7:()=>ni,cJS:()=>Gi,oAB:()=>Es,Yjl:()=>vi,Y36:()=>Gc,_UZ:()=>tp,GkF:()=>Q1,BQk:()=>j0,ynx:()=>ip,qZA:()=>F0,TgZ:()=>ep,EpF:()=>q0,n5z:()=>ch,Ikx:()=>lp,LFG:()=>sn,$8M:()=>Us,$Z:()=>z0,NdJ:()=>su,CRH:()=>Ab,kcU:()=>Qu,O4$:()=>Xu,oxw:()=>kM,ALo:()=>Ap,lcZ:()=>Su,xi3:()=>Jl,Dn7:()=>od,Hsn:()=>K1,F$t:()=>W0,Q6J:()=>ql,s9C:()=>ro,MGl:()=>$c,hYB:()=>np,DdM:()=>gp,VKq:()=>Tu,WLB:()=>sb,iGM:()=>Lm,MAs:()=>q1,Jf7:()=>py,CHM:()=>lr,oJD:()=>Bg,LSH:()=>Rf,Udp:()=>f_,WFA:()=>ou,d8E:()=>hu,YNc:()=>O0,_uU:()=>g_,Oqu:()=>Xo,hij:()=>Qo,AsE:()=>X0,xDo:()=>__,Gf:()=>bb});var w=T(7579),i=T(727),S=T(8306),x=T(6451),E=T(3099);function k(p){for(let m in p)if(p[m]===k)return m;throw Error("Could not find renamed property on target object.")}function R(p,m){for(const g in m)m.hasOwnProperty(g)&&!p.hasOwnProperty(g)&&(p[g]=m[g])}function V(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(V).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const g=m.indexOf("\n");return-1===g?m:m.substring(0,g)}function q(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const $=k({__forward_ref__:k});function X(p){return p.__forward_ref__=X,p.toString=function(){return V(this())},p}function se(p){return ce(p)?p():p}function ce(p){return"function"==typeof p&&p.hasOwnProperty($)&&p.__forward_ref__===X}class te extends Error{constructor(m,g){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,g)),this.code=m}}function ge(p){return"string"==typeof p?p:null==p?"":String(p)}function Oe(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():ge(p)}function ve(p,m){const g=m?` in ${m}`:"";throw new te(-201,`No provider for ${Oe(p)} found${g}`)}function oi(p,m){null==p&&function et(p,m,g,_){throw new Error(`ASSERTION ERROR: ${p}`+(null==_?"":` [Expected=> ${g} ${_} ${m} <=Actual]`))}(m,p,null,"!=")}function ni(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function Gi(p){return{providers:p.providers||[],imports:p.imports||[]}}function gi(p){return Jt(p,Wr)||Jt(p,de)}function Jt(p,m){return p.hasOwnProperty(m)?p[m]:null}function _a(p){return p&&(p.hasOwnProperty(On)||p.hasOwnProperty(Be))?p[On]:null}const Wr=k({\u0275prov:k}),On=k({\u0275inj:k}),de=k({ngInjectableDef:k}),Be=k({ngInjectorDef:k});var Ae=(()=>((Ae=Ae||{})[Ae.Default=0]="Default",Ae[Ae.Host=1]="Host",Ae[Ae.Self=2]="Self",Ae[Ae.SkipSelf=4]="SkipSelf",Ae[Ae.Optional=8]="Optional",Ae))();let Ke;function lt(p){const m=Ke;return Ke=p,m}function Kt(p,m,g){const _=gi(p);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:g&Ae.Optional?null:void 0!==m?m:void ve(V(p),"Injector")}function re(p){return{toString:p}.toString()}var oe=(()=>((oe=oe||{})[oe.OnPush=0]="OnPush",oe[oe.Default=1]="Default",oe))(),Ge=(()=>{return(p=Ge||(Ge={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",Ge;var p})();const De="undefined"!=typeof globalThis&&globalThis,it="undefined"!=typeof window&&window,Bt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Vt=De||"undefined"!=typeof global&&global||it||Bt,At={},nt=[],Gn=k({\u0275cmp:k}),Xt=k({\u0275dir:k}),Ht=k({\u0275pipe:k}),fr=k({\u0275mod:k}),rr=k({\u0275fac:k}),Zn=k({__NG_ELEMENT_ID__:k});let pc=0;function Wa(p){return re(()=>{const g={},_={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||nt,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||Ge.Emulated,id:"c",styles:p.styles||nt,_:null,setInput:null,schemas:p.schemas||null,tView:null},y=p.directives,v=p.features,D=p.pipes;return _.id+=pc++,_.inputs=M(p.inputs,g),_.outputs=M(p.outputs),v&&v.forEach(L=>L(_)),_.directiveDefs=y?()=>("function"==typeof y?y():y).map(Aa):null,_.pipeDefs=D?()=>("function"==typeof D?D():D).map(mr):null,_})}function Aa(p){return pn(p)||function at(p){return p[Xt]||null}(p)}function mr(p){return function ri(p){return p[Ht]||null}(p)}const Ss={};function Es(p){return re(()=>{const m={type:p.type,bootstrap:p.bootstrap||nt,declarations:p.declarations||nt,imports:p.imports||nt,exports:p.exports||nt,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(Ss[p.id]=p.type),m})}function M(p,m){if(null==p)return At;const g={};for(const _ in p)if(p.hasOwnProperty(_)){let y=p[_],v=y;Array.isArray(y)&&(v=y[1],y=y[0]),g[y]=_,m&&(m[y]=v)}return g}const qe=Wa;function vi(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function pn(p){return p[Gn]||null}function Et(p,m){const g=p[fr]||null;if(!g&&!0===m)throw new Error(`Type ${V(p)} does not have '\u0275mod' property.`);return g}function Bn(p){return Array.isArray(p)&&"object"==typeof p[1]}function sr(p){return Array.isArray(p)&&!0===p[1]}function cl(p){return 0!=(8&p.flags)}function $a(p){return 2==(2&p.flags)}function Ma(p){return 1==(1&p.flags)}function or(p){return null!==p.template}function Ls(p){return 0!=(512&p[2])}function Wt(p,m){return p.hasOwnProperty(rr)?p[rr]:null}class _r{constructor(m,g,_){this.previousValue=m,this.currentValue=g,this.firstChange=_}isFirstChange(){return this.firstChange}}function En(){return Rs}function Rs(p){return p.type.prototype.ngOnChanges&&(p.setInput=Ct),Md}function Md(){const p=Ut(this),m=null==p?void 0:p.current;if(m){const g=p.previous;if(g===At)p.previous=m;else for(let _ in m)g[_]=m[_];p.current=null,this.ngOnChanges(m)}}function Ct(p,m,g,_){const y=Ut(p)||function ul(p,m){return p[Li]=m}(p,{previous:At,current:null}),v=y.current||(y.current={}),D=y.previous,L=this.declaredInputs[g],P=D[L];v[L]=new _r(P&&P.currentValue,m,D===At),p[_]=m}En.ngInherit=!0;const Li="__ngSimpleChanges__";function Ut(p){return p[Li]||null}let Zr;function gc(p){Zr=p}function Dr(){return void 0!==Zr?Zr:"undefined"!=typeof document?document:void 0}function Dt(p){return!!p.listen}const B={createRenderer:(p,m)=>Dr()};function I(p){for(;Array.isArray(p);)p=p[0];return p}function Me(p,m){return I(m[p])}function He(p,m){return I(m[p.index])}function pi(p,m){return p.data[m]}function ai(p,m){return p[m]}function Rt(p,m){const g=m[p];return Bn(g)?g:g[0]}function jt(p){return 4==(4&p[2])}function ji(p){return 128==(128&p[2])}function ki(p,m){return null==m?null:p[m]}function Ta(p){p[18]=0}function Hr(p,m){p[5]+=m;let g=p,_=p[3];for(;null!==_&&(1===m&&1===g[5]||-1===m&&0===g[5]);)_[5]+=m,g=_,_=_[3]}const yt={lFrame:Td(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Cd(){return yt.bindingsEnabled}function ke(){return yt.lFrame.lView}function Qt(){return yt.lFrame.tView}function lr(p){return yt.lFrame.contextLView=p,p[8]}function $i(){let p=vd();for(;null!==p&&64===p.type;)p=p.parent;return p}function vd(){return yt.lFrame.currentTNode}function xa(p,m){const g=yt.lFrame;g.currentTNode=p,g.isParent=m}function Ji(){return yt.lFrame.isParent}function br(){yt.lFrame.isParent=!1}function pl(){return yt.isInCheckNoChangesMode}function fl(p){yt.isInCheckNoChangesMode=p}function Dn(){const p=yt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function Jr(){return yt.lFrame.bindingIndex}function Ns(){return yt.lFrame.bindingIndex++}function $n(p){const m=yt.lFrame,g=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,g}function Gt(p,m){const g=yt.lFrame;g.bindingIndex=g.bindingRootIndex=p,wo(m)}function wo(p){yt.lFrame.currentDirectiveIndex=p}function Lr(p){const m=yt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Gu(){return yt.lFrame.currentQueryIndex}function ml(p){yt.lFrame.currentQueryIndex=p}function Zu(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function bc(p,m,g){if(g&Ae.SkipSelf){let y=m,v=p;for(;!(y=y.parent,null!==y||g&Ae.Host||(y=Zu(v),null===y||(v=v[15],10&y.type))););if(null===y)return!1;m=y,p=v}const _=yt.lFrame=es();return _.currentTNode=m,_.lView=p,!0}function Sa(p){const m=es(),g=p[1];yt.lFrame=m,m.currentTNode=g.firstChild,m.lView=p,m.tView=g,m.contextLView=p,m.bindingIndex=g.bindingStartIndex,m.inI18n=!1}function es(){const p=yt.lFrame,m=null===p?null:p.child;return null===m?Td(p):m}function Td(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function gl(){const p=yt.lFrame;return yt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const $u=gl;function Co(){const p=gl();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function Hn(){return yt.lFrame.selectedIndex}function ts(p){yt.lFrame.selectedIndex=p}function Bi(){const p=yt.lFrame;return pi(p.tView,p.selectedIndex)}function Xu(){yt.lFrame.currentNamespace="svg"}function Qu(){!function lf(){yt.lFrame.currentNamespace=null}()}function bl(p,m){for(let g=m.directiveStart,_=m.directiveEnd;g<_;g++){const v=p.data[g].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:L,ngAfterViewInit:P,ngAfterViewChecked:F,ngOnDestroy:W}=v;D&&(p.contentHooks||(p.contentHooks=[])).push(-g,D),L&&((p.contentHooks||(p.contentHooks=[])).push(g,L),(p.contentCheckHooks||(p.contentCheckHooks=[])).push(g,L)),P&&(p.viewHooks||(p.viewHooks=[])).push(-g,P),F&&((p.viewHooks||(p.viewHooks=[])).push(g,F),(p.viewCheckHooks||(p.viewCheckHooks=[])).push(g,F)),null!=W&&(p.destroyHooks||(p.destroyHooks=[])).push(g,W)}}function Al(p,m,g){Xr(p,m,3,g)}function zs(p,m,g,_){(3&p[2])===g&&Xr(p,m,g,_)}function vo(p,m){let g=p[2];(3&g)===m&&(g&=2047,g+=1,p[2]=g)}function Xr(p,m,g,_){const v=null!=_?_:-1,D=m.length-1;let L=0;for(let P=void 0!==_?65535&p[18]:0;P=_)break}else m[P]<0&&(p[18]+=65536),(L>11>16&&(3&p[2])===m){p[2]+=2048;try{v.call(L)}finally{}}}else try{v.call(L)}finally{}}class xo{constructor(m,g,_){this.factory=m,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=_}}function Eo(p,m,g){const _=Dt(p);let y=0;for(;ym){D=v-1;break}}}for(;v>16}(p),_=m;for(;g>0;)_=_[15],g--;return _}let Ml=!0;function wl(p){const m=Ml;return Ml=p,m}let nh=0;function Ho(p,m){const g=Pr(p,m);if(-1!==g)return g;const _=m[1];_.firstCreatePass&&(p.injectorIndex=m.length,Fs(_.data,p),Fs(m,null),Fs(_.blueprint,null));const y=js(p,m),v=p.injectorIndex;if(yl(y)){const D=Do(y),L=Kr(y,m),P=L[1].data;for(let F=0;F<8;F++)m[v+F]=L[D+F]|P[D+F]}return m[v+8]=y,v}function Fs(p,m){p.push(0,0,0,0,0,0,0,0,m)}function Pr(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function js(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let g=0,_=null,y=m;for(;null!==y;){const v=y[1],D=v.type;if(_=2===D?v.declTNode:1===D?y[6]:null,null===_)return-1;if(g++,y=y[15],-1!==_.injectorIndex)return _.injectorIndex|g<<16}return-1}function qs(p,m,g){!function rh(p,m,g){let _;"string"==typeof g?_=g.charCodeAt(0)||0:g.hasOwnProperty(Zn)&&(_=g[Zn]),null==_&&(_=g[Zn]=nh++);const y=255&_;m.data[p+(y>>5)]|=1<=0?255&m:hf:m}(g);if("function"==typeof v){if(!bc(m,p,_))return _&Ae.Host?vc(y,g,_):Tc(m,g,_,y);try{const D=v(_);if(null!=D||_&Ae.Optional)return D;ve(g)}finally{$u()}}else if("number"==typeof v){let D=null,L=Pr(p,m),P=-1,F=_&Ae.Host?m[16][6]:null;for((-1===L||_&Ae.SkipSelf)&&(P=-1===L?js(p,m):m[L+8],-1!==P&&lh(_,!1)?(D=m[1],L=Do(P),m=Kr(P,m)):L=-1);-1!==L;){const W=m[1];if(oh(v,L,W.data)){const ee=Ed(L,m,g,D,_,F);if(ee!==sh)return ee}P=m[L+8],-1!==P&&lh(_,m[1].data[L+8]===F)&&oh(v,L,m)?(D=W,L=Do(P),m=Kr(P,m)):L=-1}}}return Tc(m,g,_,y)}const sh={};function hf(){return new ko($i(),ke())}function Ed(p,m,g,_,y,v){const D=m[1],L=D.data[p+8],W=Rr(L,D,g,null==_?$a(L)&&Ml:_!=D&&0!=(3&L.type),y&Ae.Host&&v===L);return null!==W?Cl(m,D,W,L):sh}function Rr(p,m,g,_,y){const v=p.providerIndexes,D=m.data,L=1048575&v,P=p.directiveStart,W=v>>20,ae=y?L+W:p.directiveEnd;for(let pe=_?L:L+W;pe=P&&Ce.type===g)return pe}if(y){const pe=D[P];if(pe&&or(pe)&&pe.type===g)return P}return null}function Cl(p,m,g,_){let y=p[g];const v=m.data;if(function cf(p){return p instanceof xo}(y)){const D=y;D.resolving&&function We(p,m){const g=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new te(-200,`Circular dependency in DI detected for ${p}${g}`)}(Oe(v[g]));const L=wl(D.canSeeViewProviders);D.resolving=!0;const P=D.injectImpl?lt(D.injectImpl):null;bc(p,_,Ae.Default);try{y=p[g]=D.factory(void 0,v,p,_),m.firstCreatePass&&g>=_.directiveStart&&function Vs(p,m,g){const{ngOnChanges:_,ngOnInit:y,ngDoCheck:v}=m.type.prototype;if(_){const D=Rs(m);(g.preOrderHooks||(g.preOrderHooks=[])).push(p,D),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,D)}y&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-p,y),v&&((g.preOrderHooks||(g.preOrderHooks=[])).push(p,v),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,v))}(g,v[g],m)}finally{null!==P&<(P),wl(L),D.resolving=!1,$u()}}return y}function oh(p,m,g){return!!(g[m+(p>>5)]&1<{const m=p.prototype.constructor,g=m[rr]||Ws(m),_=Object.prototype;let y=Object.getPrototypeOf(p.prototype).constructor;for(;y&&y!==_;){const v=y[rr]||Ws(y);if(v&&v!==g)return v;y=Object.getPrototypeOf(y)}return v=>new v})}function Ws(p){return ce(p)?()=>{const m=Ws(se(p));return m&&m()}:Wt(p)}function Us(p){return function Lo(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const g=p.attrs;if(g){const _=g.length;let y=0;for(;y<_;){const v=g[y];if(Mc(v))break;if(0===v)y+=2;else if("number"==typeof v)for(y++;y<_&&"string"==typeof g[y];)y++;else{if(v===m)return g[y+1];y+=2}}}return null}($i(),p)}const ea="__parameters__";function Gs(p,m,g){return re(()=>{const _=function xc(p){return function(...g){if(p){const _=p(...g);for(const y in _)this[y]=_[y]}}}(m);function y(...v){if(this instanceof y)return _.apply(this,v),this;const D=new y(...v);return L.annotation=D,L;function L(P,F,W){const ee=P.hasOwnProperty(ea)?P[ea]:Object.defineProperty(P,ea,{value:[]})[ea];for(;ee.length<=W;)ee.push(null);return(ee[W]=ee[W]||[]).push(D),P}}return g&&(y.prototype=Object.create(g.prototype)),y.prototype.ngMetadataName=p,y.annotationCls=y,y})}class Pi{constructor(m,g){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=ni({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Xn=new Pi("AnalyzeForEntryComponents");function zn(p,m){void 0===m&&(m=p);for(let g=0;gArray.isArray(g)?yr(g,m):m(g))}function hh(p,m,g){m>=p.length?p.push(g):p.splice(m,0,g)}function Ec(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function Sl(p,m){const g=[];for(let _=0;_=0?p[1|_]=g:(_=~_,function Ld(p,m,g,_){let y=p.length;if(y==m)p.push(g,_);else if(1===y)p.push(_,p[0]),p[0]=g;else{for(y--,p.push(p[y-1],p[y]);y>m;)p[y]=p[y-2],y--;p[m]=g,p[m+1]=_}}(p,_,m,g)),_}function kd(p,m){const g=ta(p,m);if(g>=0)return p[1|g]}function ta(p,m){return function Da(p,m,g){let _=0,y=p.length>>g;for(;y!==_;){const v=_+(y-_>>1),D=p[v<m?y=v:_=v+1}return~(y<({token:p})),-1),Zs=Hl(Gs("Optional"),8),Bo=Hl(Gs("SkipSelf"),4);let qt,le;function H(p){var m;return(null===(m=function C(){if(void 0===qt&&(qt=null,Vt.trustedTypes))try{qt=Vt.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return qt}())||void 0===m?void 0:m.createHTML(p))||p}function ot(p){var m;return(null===(m=function we(){if(void 0===le&&(le=null,Vt.trustedTypes))try{le=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return le}())||void 0===m?void 0:m.createHTML(p))||p}class qi{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class wr extends qi{getTypeName(){return"HTML"}}class ns extends qi{getTypeName(){return"Style"}}class YA extends qi{getTypeName(){return"Script"}}class WA extends qi{getTypeName(){return"URL"}}class Rg extends qi{getTypeName(){return"ResourceURL"}}function $s(p){return p instanceof qi?p.changingThisBreaksApplicationSecurity:p}function kc(p,m){const g=Og(p);if(null!=g&&g!==m){if("ResourceURL"===g&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${g} (see https://g.co/ng/security#xss)`)}return g===m}function Og(p){return p instanceof qi&&p.getTypeName()||null}function Df(p){return new wr(p)}function UA(p){return new ns(p)}function GA(p){return new YA(p)}function Ig(p){return new WA(p)}function ZA(p){return new Rg(p)}class JA{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const g=(new window.DOMParser).parseFromString(H(m),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(m):(g.removeChild(g.firstChild),g)}catch(g){return null}}}class XA{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const _=this.inertDocument.createElement("body");g.appendChild(_)}}getInertBodyElement(m){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=H(m),g;const _=this.inertDocument.createElement("body");return _.innerHTML=H(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(m){const g=m.attributes;for(let y=g.length-1;0ka(m.trim())).join(", ")),this.buf.push(" ",D,'="',vh(P),'"')}var p;return this.buf.push(">"),!0}endElement(m){const g=m.nodeName.toLowerCase();aa.hasOwnProperty(g)&&!ey.hasOwnProperty(g)&&(this.buf.push(""))}chars(m){this.buf.push(vh(m))}checkClobberedElement(m,g){if(g&&(m.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return g}}const kf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sa=/([^\#-~ |!])/g;function vh(p){return p.replace(/&/g,"&").replace(kf,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(sa,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let Pf;function Th(p,m){let g=null;try{Pf=Pf||function $A(p){const m=new XA(p);return function QA(){try{return!!(new window.DOMParser).parseFromString(H(""),"text/html")}catch(p){return!1}}()?new JA(m):m}(p);let _=m?String(m):"";g=Pf.getInertBodyElement(_);let y=5,v=_;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,_=v,v=g.innerHTML,g=Pf.getInertBodyElement(_)}while(_!==v);return H((new Ch).sanitizeChildren(Vd(g)||g))}finally{if(g){const _=Vd(g)||g;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Vd(p){return"content"in p&&function Cv(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var fi=(()=>((fi=fi||{})[fi.NONE=0]="NONE",fi[fi.HTML=1]="HTML",fi[fi.STYLE=2]="STYLE",fi[fi.SCRIPT=3]="SCRIPT",fi[fi.URL=4]="URL",fi[fi.RESOURCE_URL=5]="RESOURCE_URL",fi))();function Bg(p){const m=Vo();return m?ot(m.sanitize(fi.HTML,p)||""):kc(p,"HTML")?ot($s(p)):Th(Dr(),ge(p))}function Rf(p){const m=Vo();return m?m.sanitize(fi.URL,p)||"":kc(p,"URL")?$s(p):ka(ge(p))}function Vo(){const p=ke();return p&&p[12]}const sy="__ngContext__";function dr(p,m){p[sy]=m}function Of(p){const m=function xh(p){return p[sy]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function Ng(p){return p.ngOriginalError}function Bf(p,...m){p.error(...m)}class Sh{constructor(){this._console=console}handleError(m){const g=this._findOriginalError(m),_=function Iv(p){return p&&p.ngErrorLogger||Bf}(m);_(this._console,"ERROR",m),g&&_(this._console,"ORIGINAL ERROR",g)}_findOriginalError(m){let g=m&&Ng(m);for(;g&&Ng(g);)g=Ng(g);return g||null}}const hy=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Vt))();function py(p){return p.ownerDocument.defaultView}function Xs(p){return p instanceof Function?p():p}var Qs=(()=>((Qs=Qs||{})[Qs.Important=1]="Important",Qs[Qs.DashCase=2]="DashCase",Qs))();function zg(p,m){return undefined(p,m)}function Eh(p){const m=p[3];return sr(m)?m[3]:m}function jg(p){return by(p[13])}function qg(p){return by(p[4])}function by(p){for(;null!==p&&!sr(p);)p=p[4];return p}function Fd(p,m,g,_,y){if(null!=_){let v,D=!1;sr(_)?v=_:Bn(_)&&(D=!0,_=_[0]);const L=I(_);0===p&&null!==g?null==y?vy(m,g,L):Oc(m,g,L,y||null,!0):1===p&&null!==g?Oc(m,g,L,y||null,!0):2===p?function Ly(p,m,g){const _=Nf(p,m);_&&function nT(p,m,g,_){Dt(p)?p.removeChild(m,g,_):m.removeChild(g)}(p,_,m,g)}(m,L,D):3===p&&m.destroyNode(L),null!=v&&function sT(p,m,g,_,y){const v=g[7];v!==I(g)&&Fd(m,p,_,v,y);for(let L=10;L0&&(p[g-1][4]=_[4]);const v=Ec(p,10+m);!function $v(p,m){jd(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(_[1],_);const D=v[19];null!==D&&D.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function My(p,m){if(!(256&m[2])){const g=m[11];Dt(g)&&g.destroyNode&&jd(p,m,g,3,null,null),function Qv(p){let m=p[13];if(!m)return Gg(p[1],p);for(;m;){let g=null;if(Bn(m))g=m[13];else{const _=m[10];_&&(g=_)}if(!g){for(;m&&!m[4]&&m!==p;)Bn(m)&&Gg(m[1],m),m=m[3];null===m&&(m=p),Bn(m)&&Gg(m[1],m),g=m&&m[4]}m=g}}(m)}}function Gg(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function iT(p,m){let g;if(null!=p&&null!=(g=p.destroyHooks))for(let _=0;_=0?_[y=F]():_[y=-F].unsubscribe(),v+=2}else{const D=_[y=g[v+1]];g[v].call(D)}if(null!==_){for(let v=y+1;v<_.length;v++)_[v]();m[7]=null}}(p,m),1===m[1].type&&Dt(m[11])&&m[11].destroy();const g=m[17];if(null!==g&&sr(m[3])){g!==m[3]&&yy(g,m);const _=m[19];null!==_&&_.detachView(p)}}}function wy(p,m,g){return function Cy(p,m,g){let _=m;for(;null!==_&&40&_.type;)_=(m=_).parent;if(null===_)return g[0];if(2&_.flags){const y=p.data[_.directiveStart].encapsulation;if(y===Ge.None||y===Ge.Emulated)return null}return He(_,g)}(p,m.parent,g)}function Oc(p,m,g,_,y){Dt(p)?p.insertBefore(m,g,_,y):m.insertBefore(g,_,y)}function vy(p,m,g){Dt(p)?p.appendChild(m,g):m.appendChild(g)}function Ty(p,m,g,_,y){null!==_?Oc(p,m,g,_,y):vy(p,m,g)}function Nf(p,m){return Dt(p)?p.parentNode(m):m.parentNode}function xy(p,m,g){return Ey(p,m,g)}let Ey=function Sy(p,m,g){return 40&p.type?He(p,g):null};function Vf(p,m,g,_){const y=wy(p,_,m),v=m[11],L=xy(_.parent||m[6],_,m);if(null!=y)if(Array.isArray(g))for(let P=0;Pv?"":y[ee+1].toLowerCase();const pe=8&_?ae:null;if(pe&&-1!==Ry(pe,F,0)||2&_&&F!==ae){if(Cr(_))return!1;D=!0}}}}else{if(!D&&!Cr(_)&&!Cr(P))return!1;if(D&&Cr(P))continue;D=!1,_=P|1&_}}return Cr(_)||D}function Cr(p){return 0==(1&p)}function By(p,m,g,_){if(null===m)return-1;let y=0;if(_||!g){let v=!1;for(;y-1)for(g++;g0?'="'+L+'"':"")+"]"}else 8&_?y+="."+D:4&_&&(y+=" "+D);else""!==y&&!Cr(D)&&(m+=Ic(v,y),y=""),_=D,v=v||!Cr(_);g++}return""!==y&&(m+=Ic(v,y)),m}const kt={};function t1(p){Hh(Qt(),ke(),Hn()+p,pl())}function Hh(p,m,g,_){if(!_)if(3==(3&m[2])){const v=p.preOrderCheckHooks;null!==v&&Al(m,v,g)}else{const v=p.preOrderHooks;null!==v&&zs(m,v,0,g)}ts(g)}function qd(p,m){return p<<17|m<<2}function Pa(p){return p>>17&32767}function r1(p){return 2|p}function rs(p){return(131068&p)>>2}function Nc(p,m){return-131069&p|m<<2}function kh(p){return 1|p}function Zf(p,m){const g=p.contentQueries;if(null!==g)for(let _=0;_20&&Hh(p,m,20,pl()),g(_,y)}finally{ts(v)}}function Ne(p,m,g){if(cl(m)){const y=m.directiveEnd;for(let v=m.directiveStart;v0;){const g=p[--m];if("number"==typeof g&&g<0)return g}return 0})(L)!=P&&L.push(P),L.push(_,y,D)}}function r0(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function M1(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function C1(p,m,g){if(g){if(m.exportAs)for(let _=0;_0&&to(g)}}function to(p){for(let _=jg(p);null!==_;_=qg(_))for(let y=10;y<_.length;y++){const v=_[y];if(1024&v[2]){const D=v[1];_t(D,v,D.template,v[8])}else v[5]>0&&to(v)}const g=p[1].components;if(null!==g)for(let _=0;_0&&to(y)}}function d0(p,m){const g=Rt(m,p),_=g[1];(function Vh(p,m){for(let g=m.length;gPromise.resolve(null))();function p0(p){return p[7]||(p[7]=[])}function Jd(p){return p.cleanup||(p.cleanup=[])}function Xd(p,m,g){return(null===p||or(p))&&(g=function J(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(g[m.index])),g[11]}function x1(p,m){const g=p[9],_=g?g.get(Sh,null):null;_&&_.handleError(m)}function jh(p,m,g,_,y){for(let v=0;vthis.processProvider(L,m,g)),yr([m],L=>this.processInjectorType(L,[],v)),this.records.set(Vc,Fc(void 0,this));const D=this.records.get(f0);this.scope=null!=D?D.value:null,this.source=y||("object"==typeof m?null:V(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,g=Oo,_=Ae.Default){this.assertNotDestroyed();const y=Or(this),v=lt(void 0);try{if(!(_&Ae.SkipSelf)){let L=this.records.get(m);if(void 0===L){const P=function rM(p){return"function"==typeof p||"object"==typeof p&&p instanceof Pi}(m)&&gi(m);L=P&&this.injectableDefInScope(P)?Fc(Wh(m),Qd):null,this.records.set(m,L)}if(null!=L)return this.hydrate(m,L)}return(_&Ae.Self?m0():this.parent).get(m,g=_&Ae.Optional&&g===Oo?null:g)}catch(D){if("NullInjectorError"===D.name){if((D[Dc]=D[Dc]||[]).unshift(V(m)),y)throw D;return function wf(p,m,g,_){const y=p[Dc];throw m[Hc]&&y.unshift(m[Hc]),p.message=function Cf(p,m,g,_=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let y=V(m);if(Array.isArray(m))y=m.map(V).join(" -> ");else if("object"==typeof m){let v=[];for(let D in m)if(m.hasOwnProperty(D)){let L=m[D];v.push(D+":"+("string"==typeof L?JSON.stringify(L):V(L)))}y=`{${v.join(", ")}}`}return`${g}${_?"("+_+")":""}[${y}]: ${p.replace(Af,"\n ")}`}("\n"+p.message,y,g,_),p.ngTokenPath=y,p[Dc]=null,p}(D,m,"R3InjectorError",this.source)}throw D}finally{lt(v),Or(y)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((_,y)=>m.push(V(y))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processInjectorType(m,g,_){if(!(m=se(m)))return!1;let y=_a(m);const v=null==y&&m.ngModule||void 0,D=void 0===v?m:v,L=-1!==_.indexOf(D);if(void 0!==v&&(y=_a(v)),null==y)return!1;if(null!=y.imports&&!L){let W;_.push(D);try{yr(y.imports,ee=>{this.processInjectorType(ee,g,_)&&(void 0===W&&(W=[]),W.push(ee))})}finally{}if(void 0!==W)for(let ee=0;eethis.processProvider(Ce,ae,pe||nt))}}this.injectorDefTypes.add(D);const P=Wt(D)||(()=>new D);this.records.set(D,Fc(P,Qd));const F=y.providers;if(null!=F&&!L){const W=m;yr(F,ee=>this.processProvider(ee,W,F))}return void 0!==v&&void 0!==m.providers}processProvider(m,g,_){let y=da(m=se(m))?m:se(m&&m.provide);const v=function iM(p,m,g){return H1(p)?Fc(void 0,p.useValue):Fc(D1(p),Qd)}(m);if(da(m)||!0!==m.multi)this.records.get(y);else{let D=this.records.get(y);D||(D=Fc(void 0,Qd,!0),D.factory=()=>Lc(D.multi),this.records.set(y,D)),y=m,D.multi.push(m)}this.records.set(y,v)}hydrate(m,g){return g.value===Qd&&(g.value=Yh,g.value=g.factory()),"object"==typeof g.value&&g.value&&function Gh(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(g.value)&&this.onDestroy.add(g.value),g.value}injectableDefInScope(m){if(!m.providedIn)return!1;const g=se(m.providedIn);return"string"==typeof g?"any"===g||g===this.scope:this.injectorDefTypes.has(g)}}function Wh(p){const m=gi(p),g=null!==m?m.factory:Wt(p);if(null!==g)return g;if(p instanceof Pi)throw new te(204,!1);if(p instanceof Function)return function tM(p){const m=p.length;if(m>0)throw Sl(m,"?"),new te(204,!1);const g=function hn(p){const m=p&&(p[Wr]||p[de]);if(m){const g=function ga(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" 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 "${g}" class.`),m}return null}(p);return null!==g?()=>g.factory(p):()=>new p}(p);throw new te(204,!1)}function D1(p,m,g){let _;if(da(p)){const y=se(p);return Wt(y)||Wh(y)}if(H1(p))_=()=>se(p.useValue);else if(function nM(p){return!(!p||!p.useFactory)}(p))_=()=>p.useFactory(...Lc(p.deps||[]));else if(function Uh(p){return!(!p||!p.useExisting)}(p))_=()=>sn(se(p.useExisting));else{const y=se(p&&(p.useClass||p.provide));if(!function A0(p){return!!p.deps}(p))return Wt(y)||Wh(y);_=()=>new y(...Lc(p.deps))}return _}function Fc(p,m,g=!1){return{factory:p,value:m,multi:g?[]:void 0}}function H1(p){return null!==p&&"object"==typeof p&&yf in p}function da(p){return"function"==typeof p}let ua=(()=>{class p{static create(g,_){var y;if(Array.isArray(g))return g0({name:""},_,g,"");{const v=null!==(y=g.name)&&void 0!==y?y:"";return g0({name:v},g.parent,g.providers,v)}}}return p.THROW_IF_NOT_FOUND=Oo,p.NULL=new S1,p.\u0275prov=ni({token:p,providedIn:"any",factory:()=>sn(Vc)}),p.__NG_ELEMENT_ID__=-1,p})();function oM(p,m){bl(Of(p)[1],$i())}function Kd(p){let m=function B1(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),g=!0;const _=[p];for(;m;){let y;if(or(p))y=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new te(903,"");y=m.\u0275dir}if(y){if(g){_.push(y);const D=p;D.inputs=S0(p.inputs),D.declaredInputs=S0(p.declaredInputs),D.outputs=S0(p.outputs);const L=y.hostBindings;L&&N1(p,L);const P=y.viewQuery,F=y.contentQueries;if(P&&dM(p,P),F&&uM(p,F),R(p.inputs,y.inputs),R(p.declaredInputs,y.declaredInputs),R(p.outputs,y.outputs),or(y)&&y.data.animation){const W=p.data;W.animation=(W.animation||[]).concat(y.data.animation)}}const v=y.features;if(v)for(let D=0;D=0;_--){const y=p[_];y.hostVars=m+=y.hostVars,y.hostAttrs=is(y.hostAttrs,g=is(g,y.hostAttrs))}}(_)}function S0(p){return p===At?{}:p===nt?[]:p}function dM(p,m){const g=p.viewQuery;p.viewQuery=g?(_,y)=>{m(_,y),g(_,y)}:m}function uM(p,m){const g=p.contentQueries;p.contentQueries=g?(_,y,v)=>{m(_,y,v),g(_,y,v)}:m}function N1(p,m){const g=p.hostBindings;p.hostBindings=g?(_,y)=>{m(_,y),g(_,y)}:m}let Wo=null;function Uo(){if(!Wo){const p=Vt.Symbol;if(p&&p.iterator)Wo=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let g=0;gL(I(Zt[_.index])):_.index;if(Dt(g)){let Zt=null;if(!L&&P&&(Zt=function LT(p,m,g,_){const y=p.cleanup;if(null!=y)for(let v=0;vP?L[P]:null}"string"==typeof D&&(v+=2)}return null}(p,m,y,_.index)),null!==Zt)(Zt.__ngLastListenerFn__||Zt).__ngNextListenerFn__=v,Zt.__ngLastListenerFn__=v,pe=!1;else{v=lu(_,m,ee,v,!1);const mi=g.listen(st,y,v);ae.push(v,mi),W&&W.push(y,pt,me,me+1)}}else v=lu(_,m,ee,v,!0),st.addEventListener(y,v,D),ae.push(v),W&&W.push(y,pt,me,D)}else v=lu(_,m,ee,v,!1);const Ce=_.outputs;let Ye;if(pe&&null!==Ce&&(Ye=Ce[y])){const Le=Ye.length;if(Le)for(let st=0;st0;)m=m[15],p--;return m}(p,yt.lFrame.contextLView))[8]}(p)}function PM(p,m){let g=null;const _=function dt(p){const m=p.attrs;if(null!=m){const g=m.indexOf(5);if(0==(1&g))return m[g+1]}return null}(p);for(let y=0;y=0}const gn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s_(p){return p.substring(gn.key,gn.keyEnd)}function Na(p,m){const g=gn.textEnd;return g===m?-1:(m=gn.keyEnd=function d_(p,m,g){for(;m32;)m++;return m}(p,gn.key=m,g),Xc(p,m,g))}function Xc(p,m,g){for(;m=0;g=Na(m,g))cr(p,s_(m),!0)}function ds(p,m,g,_){const y=ke(),v=Qt(),D=$n(2);v.firstUpdatePass&&du(v,p,D,_),m!==kt&&jn(y,D,m)&&zM(v,v.data[Hn()],y,y[11],p,y[D+1]=function OT(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=V($s(p)))),p}(m,g),_,D)}function Va(p,m,g,_){const y=Qt(),v=$n(2);y.firstUpdatePass&&du(y,null,v,_);const D=ke();if(g!==kt&&jn(D,v,g)){const L=y.data[Hn()];if(jM(L,_)&&!m_(y,v)){let P=_?L.classesWithoutHost:L.stylesWithoutHost;null!==P&&(g=q(P,g||"")),Zc(y,L,D,g,_)}else!function RT(p,m,g,_,y,v,D,L){y===kt&&(y=nt);let P=0,F=0,W=0=p.expandoStartIndex}function du(p,m,g,_){const y=p.data;if(null===y[g+1]){const v=y[Hn()],D=m_(p,g);jM(v,_)&&null===m&&!D&&(m=!1),m=function NM(p,m,g,_){const y=Lr(p);let v=_?m.residualClasses:m.residualStyles;if(null===y)0===(_?m.classBindings:m.styleBindings)&&(g=uu(g=ap(null,p,m,g,_),m.attrs,_),v=null);else{const D=m.directiveStylingLast;if(-1===D||p[D]!==y)if(g=ap(y,p,m,g,_),null===v){let P=function VM(p,m,g){const _=g?m.classBindings:m.styleBindings;if(0!==rs(_))return p[Pa(_)]}(p,m,_);void 0!==P&&Array.isArray(P)&&(P=ap(null,p,m,P[1],_),P=uu(P,m.attrs,_),function Z0(p,m,g,_){p[Pa(g?m.classBindings:m.styleBindings)]=_}(p,m,_,P))}else v=function PT(p,m,g){let _;const y=m.directiveEnd;for(let v=1+m.directiveStylingLast;v0)&&(F=!0)}else W=g;if(y)if(0!==P){const ae=Pa(p[L+1]);p[_+1]=qd(ae,L),0!==ae&&(p[ae+1]=Nc(p[ae+1],_)),p[L+1]=function Lh(p,m){return 131071&p|m<<17}(p[L+1],_)}else p[_+1]=qd(L,0),0!==L&&(p[L+1]=Nc(p[L+1],_)),L=_;else p[_+1]=qd(P,0),0===L?L=_:p[P+1]=Nc(p[P+1],_),P=_;F&&(p[_+1]=r1(p[_+1])),a_(p,W,_,!0),a_(p,W,_,!1),function ls(p,m,g,_,y){const v=y?p.residualClasses:p.residualStyles;null!=v&&"string"==typeof m&&ta(v,m)>=0&&(g[_+1]=kh(g[_+1]))}(m,W,p,_,v),D=qd(L,P),v?m.classBindings=D:m.styleBindings=D}(y,v,m,g,D,_)}}function ap(p,m,g,_,y){let v=null;const D=g.directiveEnd;let L=g.directiveStylingLast;for(-1===L?L=g.directiveStart:L++;L0;){const P=p[y],F=Array.isArray(P),W=F?P[1]:P,ee=null===W;let ae=g[y+1];ae===kt&&(ae=ee?nt:void 0);let pe=ee?kd(ae,_):W===_?ae:void 0;if(F&&!J0(pe)&&(pe=kd(P,_)),J0(pe)&&(L=pe,D))return L;const Ce=p[y+1];y=D?Pa(Ce):rs(Ce)}if(null!==m){let P=v?m.residualClasses:m.residualStyles;null!=P&&(L=kd(P,_))}return L}function J0(p){return void 0!==p}function jM(p,m){return 0!=(p.flags&(m?16:32))}function g_(p,m=""){const g=ke(),_=Qt(),y=p+20,v=_.firstCreatePass?Bl(_,y,1,m,null):_.data[y],D=g[y]=function Yg(p,m){return Dt(p)?p.createText(m):p.createTextNode(m)}(g[11],m);Vf(_,g,D,v),xa(v,!1)}function Xo(p){return Qo("",p,""),Xo}function Qo(p,m,g){const _=ke(),y=qc(_,p,m,g);return y!==kt&&io(_,Hn(),y),Qo}function X0(p,m,g,_,y){const v=ke(),D=Fl(v,p,m,g,_,y);return D!==kt&&io(v,Hn(),D),X0}function __(p,m,g,_,y,v,D,L,P,F,W){const ee=ke(),ae=no(ee,p,m,g,_,y,v,D,L,P,F,W);return ae!==kt&&io(ee,Hn(),ae),__}function Yl(p,m,g){Va(cr,cs,qc(ke(),p,m,g),!0)}function lp(p,m,g){const _=ke();return jn(_,Ns(),m)&&ur(Qt(),Bi(),_,p,m,_[11],g,!0),lp}function hu(p,m,g){const _=ke();if(jn(_,Ns(),m)){const v=Qt(),D=Bi();ur(v,D,_,p,m,Xd(Lr(v.data),D,_),g,!0)}return hu}const Ko=void 0;var KM=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["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"]],Ko,[["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"]],Ko,[["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}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QM(p){const g=Math.floor(Math.abs(p)),_=p.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===_?1:5}];let us={};function M_(p){const m=function w_(p){return p.toLowerCase().replace(/_/g,"-")}(p);let g=tw(m);if(g)return g;const _=m.split("-")[0];if(g=tw(_),g)return g;if("en"===_)return KM;throw new Error(`Missing locale data for the locale "${p}".`)}function ew(p){return M_(p)[bt.PluralCase]}function tw(p){return p in us||(us[p]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[p]),us[p]}var bt=(()=>((bt=bt||{})[bt.LocaleId=0]="LocaleId",bt[bt.DayPeriodsFormat=1]="DayPeriodsFormat",bt[bt.DayPeriodsStandalone=2]="DayPeriodsStandalone",bt[bt.DaysFormat=3]="DaysFormat",bt[bt.DaysStandalone=4]="DaysStandalone",bt[bt.MonthsFormat=5]="MonthsFormat",bt[bt.MonthsStandalone=6]="MonthsStandalone",bt[bt.Eras=7]="Eras",bt[bt.FirstDayOfWeek=8]="FirstDayOfWeek",bt[bt.WeekendRange=9]="WeekendRange",bt[bt.DateFormat=10]="DateFormat",bt[bt.TimeFormat=11]="TimeFormat",bt[bt.DateTimeFormat=12]="DateTimeFormat",bt[bt.NumberSymbols=13]="NumberSymbols",bt[bt.NumberFormats=14]="NumberFormats",bt[bt.CurrencyCode=15]="CurrencyCode",bt[bt.CurrencySymbol=16]="CurrencySymbol",bt[bt.CurrencyName=17]="CurrencyName",bt[bt.Currencies=18]="Currencies",bt[bt.Directionality=19]="Directionality",bt[bt.PluralCase=20]="PluralCase",bt[bt.ExtraData=21]="ExtraData",bt))();const hs="en-US";let im=hs;function hp(p,m,g,_,y){if(p=se(p),Array.isArray(p))for(let v=0;v>20;if(da(p)||!p.multi){const pe=new xo(P,y,Gc),Ce=fp(L,m,y?W:W+ae,ee);-1===Ce?(qs(Ho(F,D),v,L),pp(v,p,m.length),m.push(L),F.directiveStart++,F.directiveEnd++,y&&(F.providerIndexes+=1048576),g.push(pe),D.push(pe)):(g[Ce]=pe,D[Ce]=pe)}else{const pe=fp(L,m,W+ae,ee),Ce=fp(L,m,W,W+ae),Ye=pe>=0&&g[pe],Le=Ce>=0&&g[Ce];if(y&&!Le||!y&&!Ye){qs(Ho(F,D),v,L);const st=function Z_(p,m,g,_,y){const v=new xo(p,g,Gc);return v.multi=[],v.index=m,v.componentProviders=0,um(v,y,_&&!g),v}(y?G_:U_,g.length,y,_,P);!y&&Le&&(g[Ce].providerFactory=st),pp(v,p,m.length,0),m.push(L),F.directiveStart++,F.directiveEnd++,y&&(F.providerIndexes+=1048576),g.push(st),D.push(st)}else pp(v,p,pe>-1?pe:Ce,um(g[y?Ce:pe],P,!y&&_));!y&&_&&Le&&g[Ce].componentProviders++}}}function pp(p,m,g,_){const y=da(m),v=function b0(p){return!!p.useClass}(m);if(y||v){const P=(v?se(m.useClass):m).prototype.ngOnDestroy;if(P){const F=p.destroyHooks||(p.destroyHooks=[]);if(!y&&m.multi){const W=F.indexOf(g);-1===W?F.push(g,[_,P]):F[W+1].push(_,P)}else F.push(g,P)}}}function um(p,m,g){return g&&p.componentProviders++,p.multi.push(m)-1}function fp(p,m,g,_){for(let y=g;y<_;y++)if(m[y]===p)return y;return-1}function U_(p,m,g,_){return nd(this.multi,[])}function G_(p,m,g,_){const y=this.multi;let v;if(this.providerFactory){const D=this.providerFactory.componentProviders,L=Cl(g,g[1],this.providerFactory.index,_);v=L.slice(0,D),nd(y,v);for(let P=D;P{g.providersResolver=(_,y)=>function W_(p,m,g){const _=Qt();if(_.firstCreatePass){const y=or(p);hp(g,_.data,_.blueprint,y,!0),hp(m,_.data,_.blueprint,y,!1)}}(_,y?y(p):p,m)}}class pm{}class mm{resolveComponentFactory(m){throw function Sw(p){const m=Error(`No component factory found for ${V(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let rd=(()=>{class p{}return p.NULL=new mm,p})();function gm(){return Gl($i(),ke())}function Gl(p,m){return new ad(He(p,m))}let ad=(()=>{class p{constructor(g){this.nativeElement=g}}return p.__NG_ELEMENT_ID__=gm,p})();function J_(p){return p instanceof ad?p.nativeElement:p}class yu{}let Q_=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function eb(){const p=ke(),g=Rt($i().index,p);return function K_(p){return p[11]}(Bn(g)?g:p)}(),p})(),Fa=(()=>{class p{}return p.\u0275prov=ni({token:p,providedIn:"root",factory:()=>null}),p})();class er{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const tb=new er("13.2.2"),ib={};function _m(p,m,g,_,y=!1){for(;null!==g;){const v=m[g.index];if(null!==v&&_.push(I(v)),sr(v))for(let L=10;L-1&&(Ug(m,_),Ec(g,_))}this._attachedToViewContainer=!1}My(this._lView[1],this._lView)}onDestroy(m){Kf(this._lView[1],this._lView,null,m)}markForCheck(){Yo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fh(this._lView[1],this._lView,this.context)}checkNoChanges(){!function os(p,m,g){fl(!0);try{Fh(p,m,g)}finally{fl(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new te(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Xv(p,m){jd(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new te(902,"");this._appRef=m}}class Mu extends Vi{constructor(m){super(m),this._view=m}detectChanges(){u0(this._view)}checkNoChanges(){!function Vl(p){fl(!0);try{u0(p)}finally{fl(!1)}}(this._view)}get context(){return null}}class mp extends rd{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const g=pn(m);return new nb(g,this.ngModule)}}function wu(p){const m=[];for(let g in p)p.hasOwnProperty(g)&&m.push({propName:p[g],templateName:g});return m}const bm=new Pi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hy});class nb extends pm{constructor(m,g){super(),this.componentDef=m,this.ngModule=g,this.componentType=m.type,this.selector=function Qi(p){return p.map(mn).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!g}get inputs(){return wu(this.componentDef.inputs)}get outputs(){return wu(this.componentDef.outputs)}create(m,g,_,y){const v=(y=y||this.ngModule)?function Hw(p,m){return{get:(g,_,y)=>{const v=p.get(g,ib,y);return v!==ib||_===ib?v:m.get(g,_,y)}}}(m,y.injector):m,D=v.get(yu,B),L=v.get(Fa,null),P=D.createRenderer(null,this.componentDef),F=this.componentDef.selectors[0][0]||"div",W=_?function Zy(p,m,g){if(Dt(p))return p.selectRootElement(m,g===Ge.ShadowDom);let _="string"==typeof m?p.querySelector(m):m;return _.textContent="",_}(P,_,this.componentDef.encapsulation):Wg(D.createRenderer(null,this.componentDef),F,function Dw(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(F)),ee=this.componentDef.onPush?576:528,ae=function I1(p,m){return{components:[],scheduler:p||hy,clean:h0,playerHandler:m||null,flags:0}}(),pe=Qf(0,null,null,1,0,null,null,null,null,null),Ce=Il(null,pe,ae,ee,null,null,D,P,L,v);let Ye,Le;Sa(Ce);try{const st=function O1(p,m,g,_,y,v){const D=g[1];g[20]=p;const P=Bl(D,20,2,"#host",null),F=P.mergedAttrs=m.hostAttrs;null!==F&&(qh(P,F,!0),null!==p&&(Eo(y,p,F),null!==P.classes&&Xg(y,p,P.classes),null!==P.styles&&Py(y,p,P.styles)));const W=_.createRenderer(p,m),ee=Il(g,vt(m),null,m.onPush?64:16,g[20],P,_,W,v||null,null);return D.firstCreatePass&&(qs(Ho(P,g),D,m.type),M1(D,P),Xy(P,g.length,1)),zh(g,ee),g[20]=ee}(W,this.componentDef,Ce,D,P);if(W)if(_)Eo(P,W,["ng-version",tb.full]);else{const{attrs:me,classes:pt}=function Ny(p){const m=[],g=[];let _=1,y=2;for(;_0&&Xg(P,W,pt.join(" "))}if(Le=pi(pe,20),void 0!==g){const me=Le.projection=[];for(let pt=0;ptP(D,m)),m.contentQueries){const P=$i();m.contentQueries(1,D,P.directiveStart)}const L=$i();return!v.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(ts(L.index),n0(g[1],L,0,L.directiveStart,L.directiveEnd,m),r0(m,D)),D}(st,this.componentDef,Ce,ae,[oM]),ti(pe,Ce,null)}finally{Co()}return new ex(this.componentType,Ye,Gl(Le,Ce),Ce,Le)}}class ex extends class $_{}{constructor(m,g,_,y,v){super(),this.location=_,this._rootLView=y,this._tNode=v,this.instance=g,this.hostView=this.changeDetectorRef=new Mu(y),this.componentType=m}get injector(){return new ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class Cu{}class rb{}const Zl=new Map;class vu extends Cu{constructor(m,g){super(),this._parent=g,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new mp(this);const _=Et(m);this._bootstrapComponents=Xs(_.bootstrap),this._r3Injector=E1(m,g,[{provide:Cu,useValue:this},{provide:rd,useValue:this.componentFactoryResolver}],V(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,g=ua.THROW_IF_NOT_FOUND,_=Ae.Default){return m===ua||m===Cu||m===Vc?this:this._r3Injector.get(m,g,_)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class Mm extends rb{constructor(m){super(),this.moduleType=m,null!==Et(m)&&function Lw(p){const m=new Set;!function g(_){const y=Et(_,!0),v=y.id;null!==v&&(function ab(p,m,g){if(m&&m!==g)throw new Error(`Duplicate module registered for ${p} - ${V(m)} vs ${V(m.name)}`)}(v,Zl.get(v),_),Zl.set(v,_));const D=Xs(y.imports);for(const L of D)m.has(L)||(m.add(L),g(L))}(p)}(m)}create(m){return new vu(this.moduleType,m)}}function gp(p,m,g){const _=Dn()+p,y=ke();return y[_]===kt?Nr(y,_,g?m.call(g):m()):function tu(p,m){return p[m]}(y,_)}function Tu(p,m,g,_){return cb(ke(),Dn(),p,m,g,_)}function sb(p,m,g,_,y){return wm(ke(),Dn(),p,m,g,_,y)}function $l(p,m){const g=p[m];return g===kt?void 0:g}function cb(p,m,g,_,y,v){const D=m+g;return jn(p,D,y)?Nr(p,D+1,v?_.call(v,y):_(y)):$l(p,D+1)}function wm(p,m,g,_,y,v,D){const L=m+g;return Go(p,L,y,v)?Nr(p,L+2,D?_.call(D,y,v):_(y,v)):$l(p,L+2)}function _p(p,m,g,_,y,v,D,L){const P=m+g;return function iu(p,m,g,_,y){const v=Go(p,m,g,_);return jn(p,m+2,y)||v}(p,P,y,v,D)?Nr(p,P+3,L?_.call(L,y,v,D):_(y,v,D)):$l(p,P+3)}function Ap(p,m){const g=Qt();let _;const y=p+20;g.firstCreatePass?(_=function xu(p,m){if(m)for(let g=m.length-1;g>=0;g--){const _=m[g];if(p===_.name)return _}}(m,g.pipeRegistry),g.data[y]=_,_.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(y,_.onDestroy)):_=g.data[y];const v=_.factory||(_.factory=Wt(_.type)),D=lt(Gc);try{const L=wl(!1),P=v();return wl(L),function gM(p,m,g,_){g>=p.data.length&&(p.data[g]=null,p.blueprint[g]=null),m[g]=_}(g,ke(),y,P),P}finally{lt(D)}}function Su(p,m,g){const _=p+20,y=ke(),v=ai(y,_);return ld(y,_)?cb(y,Dn(),m,v.transform,g,v):v.transform(g)}function Jl(p,m,g,_){const y=p+20,v=ke(),D=ai(v,y);return ld(v,y)?wm(v,Dn(),m,D.transform,g,_,D):D.transform(g,_)}function od(p,m,g,_,y){const v=p+20,D=ke(),L=ai(D,v);return ld(D,v)?_p(D,Dn(),m,L.transform,g,_,y,L):L.transform(g,_,y)}function ld(p,m){return p[1].data[m].pure}function yp(p){return m=>{setTimeout(p,void 0,m)}}const zr=class vm extends w.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,g,_){var y,v,D;let L=m,P=g||(()=>null),F=_;if(m&&"object"==typeof m){const ee=m;L=null===(y=ee.next)||void 0===y?void 0:y.bind(ee),P=null===(v=ee.error)||void 0===v?void 0:v.bind(ee),F=null===(D=ee.complete)||void 0===D?void 0:D.bind(ee)}this.__isAsync&&(P=yp(P),L&&(L=yp(L)),F&&(F=yp(F)));const W=super.subscribe({next:L,error:P,complete:F});return m instanceof i.w0&&m.add(W),W}};function Tm(){return this._results[Uo()]()}class Xl{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=Uo(),_=Xl.prototype;_[g]||(_[g]=Tm)}get changes(){return this._changes||(this._changes=new zr)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,g){return this._results.reduce(m,g)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,g){const _=this;_.dirty=!1;const y=zn(m);(this._changesDetected=!function uh(p,m,g){if(p.length!==m.length)return!1;for(let _=0;_{class p{}return p.__NG_ELEMENT_ID__=hb,p})();const db=cd,ub=class extends db{constructor(m,g,_){super(),this._declarationLView=m,this._declarationTContainer=g,this.elementRef=_}createEmbeddedView(m){const g=this._declarationTContainer.tViews,_=Il(this._declarationLView,g,m,16,null,g.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(g)),ti(g,_,m),new Vi(_)}};function hb(){return dd($i(),ke())}function dd(p,m){return 4&p.type?new ub(m,p,Gl(p,m)):null}let Yn=(()=>{class p{}return p.__NG_ELEMENT_ID__=Mp,p})();function Mp(){return xm($i(),ke())}const pb=Yn,fb=class extends pb{constructor(m,g,_){super(),this._lContainer=m,this._hostTNode=g,this._hostLView=_}get element(){return Gl(this._hostTNode,this._hostLView)}get injector(){return new ko(this._hostTNode,this._hostLView)}get parentInjector(){const m=js(this._hostTNode,this._hostLView);if(yl(m)){const g=Kr(m,this._hostLView),_=Do(m);return new ko(g[1].data[_+8],g)}return new ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const g=ud(this._lContainer);return null!==g&&g[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,g,_){const y=m.createEmbeddedView(g||{});return this.insert(y,_),y}createComponent(m,g,_,y,v){const D=m&&!function Ro(p){return"function"==typeof p}(m);let L;if(D)L=g;else{const ee=g||{};L=ee.index,_=ee.injector,y=ee.projectableNodes,v=ee.ngModuleRef}const P=D?m:new nb(pn(m)),F=_||this.parentInjector;if(!v&&null==P.ngModule&&F){const ee=F.get(Cu,null);ee&&(v=ee)}const W=P.create(F,y,void 0,v);return this.insert(W.hostView,L),W}insert(m,g){const _=m._lView,y=_[1];if(function yi(p){return sr(p[3])}(_)){const W=this.indexOf(m);if(-1!==W)this.detach(W);else{const ee=_[3],ae=new fb(ee,ee[6],ee[3]);ae.detach(ae.indexOf(m))}}const v=this._adjustIndex(g),D=this._lContainer;!function Kv(p,m,g,_){const y=10+_,v=g.length;_>0&&(g[y-1][4]=m),_0)_.push(D[L/2]);else{const F=v[L+1],W=m[-P];for(let ee=10;ee{class p{constructor(g){this.appInits=g,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,y)=>{this.resolve=_,this.reject=y})}runInitializers(){if(this.initialized)return;const g=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let y=0;y{v.subscribe({complete:L,error:P})});g.push(D)}}Promise.all(g).then(()=>{_()}).catch(y=>{this.reject(y)}),0===g.length&&_(),this.initialized=!0}}return p.\u0275fac=function(g){return new(g||p)(sn(Dp,8))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Zw=new Pi("AppId"),Rb={provide:Zw,useFactory:function _x(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kl=new Pi("Platform Initializer"),Ob=new Pi("Platform ID"),Ib=new Pi("appBootstrapListener");let ku=(()=>{class p{log(g){console.log(g)}warn(g){console.warn(g)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Pu=new Pi("LocaleId"),Bb=new Pi("DefaultCurrencyCode");class Jw{constructor(m,g){this.ngModuleFactory=m,this.componentFactories=g}}let Wm=(()=>{class p{compileModuleSync(g){return new Mm(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const _=this.compileModuleSync(g),v=Xs(Et(g).declarations).reduce((D,L)=>{const P=pn(L);return P&&D.push(new nb(P)),D},[]);return new Jw(_,v)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Hp=(()=>Promise.resolve(0))();function ec(p){"undefined"==typeof Zone?Hp.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class Sr{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zr(!1),this.onMicrotaskEmpty=new zr(!1),this.onStable=new zr(!1),this.onError=new zr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!_&&g,y.shouldCoalesceRunChangeDetection=_,y.lastRequestAnimationFrameId=-1,y.nativeRequestAnimationFrame=function Cx(){let p=Vt.requestAnimationFrame,m=Vt.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const g=p[Zone.__symbol__("OriginalDelegate")];g&&(p=g);const _=m[Zone.__symbol__("OriginalDelegate")];_&&(m=_)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function Qw(p){const m=()=>{!function Xw(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(Vt,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Gm(p),p.isCheckStableRunning=!0,Um(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Gm(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,_,y,v,D,L)=>{try{return Zm(p),g.invokeTask(y,v,D,L)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||p.shouldCoalesceRunChangeDetection)&&m(),Nb(p)}},onInvoke:(g,_,y,v,D,L,P)=>{try{return Zm(p),g.invoke(y,v,D,L,P)}finally{p.shouldCoalesceRunChangeDetection&&m(),Nb(p)}},onHasTask:(g,_,y,v)=>{g.hasTask(y,v),_===y&&("microTask"==v.change?(p._hasPendingMicrotasks=v.microTask,Gm(p),Um(p)):"macroTask"==v.change&&(p.hasPendingMacrotasks=v.macroTask))},onHandleError:(g,_,y,v)=>(g.handleError(y,v),p.runOutsideAngular(()=>p.onError.emit(v)),!1)})}(y)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Sr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Sr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,g,_){return this._inner.run(m,g,_)}runTask(m,g,_,y){const v=this._inner,D=v.scheduleEventTask("NgZoneEvent: "+y,m,hd,Ep,Ep);try{return v.runTask(D,g,_)}finally{v.cancelTask(D)}}runGuarded(m,g,_){return this._inner.runGuarded(m,g,_)}runOutsideAngular(m){return this._outer.run(m)}}const hd={};function Um(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Gm(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function Zm(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function Nb(p){p._nesting--,Um(p)}class Kw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zr,this.onMicrotaskEmpty=new zr,this.onStable=new zr,this.onError=new zr}run(m,g,_){return m.apply(g,_)}runGuarded(m,g,_){return m.apply(g,_)}runOutsideAngular(m){return m()}runTask(m,g,_,y){return m.apply(g,_)}}let Vb=(()=>{class p{constructor(g){this._ngZone=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),g.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:()=>{Sr.assertNotInAngularZone(),ec(()=>{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())ec(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(g)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,_,y){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==v),g(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:g,timeoutId:v,updateCb:y})}whenStable(g,_,y){if(y&&!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(g,_,y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(g,_,y){return[]}}return p.\u0275fac=function(g){return new(g||p)(sn(Sr))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})(),eC=(()=>{class p{constructor(){this._applications=new Map,$m.addToWindow(this)}registerApplication(g,_){this._applications.set(g,_)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,_=!0){return $m.findTestabilityInTree(this,g,_)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();class zb{addToWindow(m){}findTestabilityInTree(m,g,_){return null}}function Fb(p){$m=p}let gs,$m=new zb;const qb=new Pi("AllowMultipleToken");class iC{constructor(m,g){this.name=m,this.token=g}}function tr(p,m,g=[]){const _=`Platform: ${m}`,y=new Pi(_);return(v=[])=>{let D=nl();if(!D||D.injector.get(qb,!1))if(p)p(g.concat(v).concat({provide:y,useValue:!0}));else{const L=g.concat(v).concat({provide:y,useValue:!0},{provide:f0,useValue:"platform"});!function nC(p){if(gs&&!gs.destroyed&&!gs.injector.get(qb,!1))throw new te(400,"");gs=p.get(aC);const m=p.get(Kl,null);m&&m.forEach(g=>g())}(ua.create({providers:L,name:_}))}return function rC(p){const m=nl();if(!m)throw new te(401,"");return m}()}}function nl(){return gs&&!gs.destroyed?gs:null}let aC=(()=>{class p{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,_){const L=function sC(p,m){let g;return g="noop"===p?new Kw:("zone.js"===p?void 0:p)||new Sr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),g}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),P=[{provide:Sr,useValue:L}];return L.run(()=>{const F=ua.create({providers:P,parent:this.injector,name:g.moduleType.name}),W=g.create(F),ee=W.injector.get(Sh,null);if(!ee)throw new te(402,"");return L.runOutsideAngular(()=>{const ae=L.onError.subscribe({next:pe=>{ee.handleError(pe)}});W.onDestroy(()=>{Jm(this._modules,W),ae.unsubscribe()})}),function oC(p,m,g){try{const _=g();return hr(_)?_.catch(y=>{throw m.runOutsideAngular(()=>p.handleError(y)),y}):_}catch(_){throw m.runOutsideAngular(()=>p.handleError(_)),_}}(ee,L,()=>{const ae=W.injector.get(Lu);return ae.runInitializers(),ae.donePromise.then(()=>(function rw(p){oi(p,"Expected localeId to be defined"),"string"==typeof p&&(im=p.toLowerCase().replace(/_/g,"-"))}(W.injector.get(Pu,hs)||hs),this._moduleDoBootstrap(W),W))})})}bootstrapModule(g,_=[]){const y=Yb({},_);return function jb(p,m,g){const _=new Mm(g);return Promise.resolve(_)}(0,0,g).then(v=>this.bootstrapModuleFactory(v,y))}_moduleDoBootstrap(g){const _=g.injector.get(Ru);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(y=>_.bootstrap(y));else{if(!g.instance.ngDoBootstrap)throw new te(403,"");g.instance.ngDoBootstrap(_)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,"");this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(g){return new(g||p)(sn(ua))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();function Yb(p,m){return Array.isArray(m)?m.reduce(Yb,p):Object.assign(Object.assign({},p),m)}let Ru=(()=>{class p{constructor(g,_,y,v,D){this._zone=g,this._injector=_,this._exceptionHandler=y,this._componentFactoryResolver=v,this._initStatus=D,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 L=new S.y(F=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{F.next(this._stable),F.complete()})}),P=new S.y(F=>{let W;this._zone.runOutsideAngular(()=>{W=this._zone.onStable.subscribe(()=>{Sr.assertNotInAngularZone(),ec(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,F.next(!0))})})});const ee=this._zone.onUnstable.subscribe(()=>{Sr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{F.next(!1)}))});return()=>{W.unsubscribe(),ee.unsubscribe()}});this.isStable=(0,x.T)(L,P.pipe((0,E.B)()))}bootstrap(g,_){if(!this._initStatus.done)throw new te(405,"");let y;y=g instanceof pm?g:this._componentFactoryResolver.resolveComponentFactory(g),this.componentTypes.push(y.componentType);const v=function tC(p){return p.isBoundToModule}(y)?void 0:this._injector.get(Cu),L=y.create(ua.NULL,[],_||y.selector,v),P=L.location.nativeElement,F=L.injector.get(Vb,null),W=F&&L.injector.get(eC);return F&&W&&W.registerApplication(P,F),L.onDestroy(()=>{this.detachView(L.hostView),Jm(this.components,L),W&&W.unregisterApplication(P)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new te(101,"");try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const _=g;this._views.push(_),_.attachToAppRef(this)}detachView(g){const _=g;Jm(this._views,_),_.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g),this._injector.get(Ib,[]).concat(this._bootstrapListeners).forEach(y=>y(g))}ngOnDestroy(){this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(g){return new(g||p)(sn(Sr),sn(ua),sn(Sh),sn(rd),sn(Lu))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();function Jm(p,m){const g=p.indexOf(m);g>-1&&p.splice(g,1)}let Ub=!0;function Sx(){Ub=!1}let $b=(()=>{class p{}return p.__NG_ELEMENT_ID__=Ou,p})();function Ou(p){return function Xm(p,m,g){if($a(p)&&!g){const _=Rt(p.index,m);return new Vi(_,_)}return 47&p.type?new Vi(m[16],m):null}($i(),ke(),16==(16&p))}class ig{constructor(){}supports(m){return eu(m)}create(m){return new fC(m)}}const pC=(p,m)=>m;class fC{constructor(m){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=m||pC}forEachItem(m){let g;for(g=this._itHead;null!==g;g=g._next)m(g)}forEachOperation(m){let g=this._itHead,_=this._removalsHead,y=0,v=null;for(;g||_;){const D=!_||g&&g.currentIndex{D=this._trackByFn(y,L),null!==g&&Object.is(g.trackById,D)?(_&&(g=this._verifyReinsertion(g,L,D,y)),Object.is(g.item,L)||this._addIdentityChange(g,L)):(g=this._mismatch(g,L,D,y),_=!0),g=g._next,y++}),this.length=y;return this._truncate(g),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,g,_,y){let v;return null===m?v=this._itTail:(v=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._reinsertAfter(m,v,y)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(_,y))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._moveAfter(m,v,y)):m=this._addAfter(new Qb(g,_),v,y),m}_verifyReinsertion(m,g,_,y){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?m=this._reinsertAfter(v,m._prev,y):m.currentIndex!=y&&(m.currentIndex=y,this._addToMoves(m,y)),m}_truncate(m){for(;null!==m;){const g=m._next;this._addToRemovals(this._unlink(m)),m=g}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(m,g,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const y=m._prevRemoved,v=m._nextRemoved;return null===y?this._removalsHead=v:y._nextRemoved=v,null===v?this._removalsTail=y:v._prevRemoved=y,this._insertAfter(m,g,_),this._addToMoves(m,_),m}_moveAfter(m,g,_){return this._unlink(m),this._insertAfter(m,g,_),this._addToMoves(m,_),m}_addAfter(m,g,_){return this._insertAfter(m,g,_),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,g,_){const y=null===g?this._itHead:g._next;return m._next=y,m._prev=g,null===y?this._itTail=m:y._prev=m,null===g?this._itHead=m:g._next=m,null===this._linkedRecords&&(this._linkedRecords=new eA),this._linkedRecords.put(m),m.currentIndex=_,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const g=m._prev,_=m._next;return null===g?this._itHead=_:g._next=_,null===_?this._itTail=g:_._prev=g,m}_addToMoves(m,g){return m.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new eA),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,g){return m.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class Qb{constructor(m,g){this.item=m,this.trackById=g,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 Kb{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,g){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===g||g<=_.currentIndex)&&Object.is(_.trackById,m))return _;return null}remove(m){const g=m._prevDup,_=m._nextDup;return null===g?this._head=_:g._nextDup=_,null===_?this._tail=g:_._prevDup=g,null===this._head}}class eA{constructor(){this.map=new Map}put(m){const g=m.trackById;let _=this.map.get(g);_||(_=new Kb,this.map.set(g,_)),_.add(m)}get(m,g){const y=this.map.get(m);return y?y.get(m,g):null}remove(m){const g=m.trackById;return this.map.get(g).remove(m)&&this.map.delete(g),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ng(p,m,g){const _=p.previousIndex;if(null===_)return _;let y=0;return g&&_{if(g&&g.key===y)this._maybeAddToChanges(g,_),this._appendAfter=g,g=g._next;else{const v=this._getOrCreateRecordForKey(y,_);g=this._insertBeforeOrAppend(g,v)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let _=g;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,g){if(m){const _=m._prev;return g._next=m,g._prev=_,m._prev=g,_&&(_._next=g),m===this._mapHead&&(this._mapHead=g),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(m,g){if(this._records.has(m)){const y=this._records.get(m);this._maybeAddToChanges(y,g);const v=y._prev,D=y._next;return v&&(v._next=D),D&&(D._prev=v),y._next=null,y._prev=null,y}const _=new tA(m);return this._records.set(m,_),_.currentValue=g,this._addToAdditions(_),_}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,g){Object.is(g,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=g,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,g){m instanceof Map?m.forEach(g):Object.keys(m).forEach(_=>g(m[_],_))}}class tA{constructor(m){this.key=m,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 iA(){return new ic([new ig])}let ic=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(null!=_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||iA()),deps:[[p,new Bo,new Zs]]}}find(g){const _=this.factories.find(y=>y.supports(g));if(null!=_)return _;throw new te(901,"")}}return p.\u0275prov=ni({token:p,providedIn:"root",factory:iA}),p})();function md(){return new Bu([new fd])}let Bu=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||md()),deps:[[p,new Bo,new Zs]]}}find(g){const _=this.factories.find(v=>v.supports(g));if(_)return _;throw new te(901,"")}}return p.\u0275prov=ni({token:p,providedIn:"root",factory:md}),p})();const mC=[new fd],rA=new ic([new ig]),nc=new Bu(mC),gC=tr(null,"core",[{provide:Ob,useValue:"unknown"},{provide:aC,deps:[ua]},{provide:eC,deps:[]},{provide:ku,deps:[]}]),bC=[{provide:Ru,useClass:Ru,deps:[Sr,ua,Sh,rd,Lu]},{provide:bm,deps:[Sr],useFactory:function AC(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(g){m.push(g)}}},{provide:Lu,useClass:Lu,deps:[[new Zs,Dp]]},{provide:Wm,useClass:Wm,deps:[]},Rb,{provide:ic,useFactory:function Nx(){return rA},deps:[]},{provide:Bu,useFactory:function Op(){return nc},deps:[]},{provide:Pu,useFactory:function aA(p){return p||function _C(){return"undefined"!=typeof $localize&&$localize.locale||hs}()},deps:[[new Io(Pu),new Zs,new Bo]]},{provide:Bb,useValue:"USD"}];let yC=(()=>{class p{constructor(g){}}return p.\u0275fac=function(g){return new(g||p)(sn(Ru))},p.\u0275mod=Es({type:p}),p.\u0275inj=Gi({providers:bC}),p})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class j extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return j.\u0275fac=function(){let Y;return function(w){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(j)))(w||j)}}(),j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class j{constructor(){this.data=new Map}getItem(T){return this.data.get(T)}removeItem(T){this.data.delete(T)}setItem(T,w){this.data.set(T,w)}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,T=null){super(Y),this.info=T}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,T=null){super(Y),this.info=T}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,T,w=null){super(Y),this.reason=T,this.params=w}}function b64DecodeUnicode(j){const Y=j.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(T){return"%"+("00"+T.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(j){return btoa(j).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=T=>{location.href=T},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 T=this.inferHashAlgorithm(Y.idTokenHeader),w=yield this.calcHash(Y.accessToken,T),S=base64UrlEncode(w.substr(0,w.length/2)),x=Y.idTokenClaims.at_hash.replace(/=/g,"");return S!==x&&(console.error("exptected at_hash: "+S),console.error("actual at_hash: "+x)),S===x})}inferHashAlgorithm(Y){let T=Y.alg;if(!T.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+T);return"sha-"+T.substr(2)}}let UrlHelperService=(()=>{class j{getHashFragmentParams(T){let w=T||window.location.hash;if(w=decodeURIComponent(w),0!==w.indexOf("#"))return{};const i=w.indexOf("?");return w=w.substr(i>-1?i+1:1),this.parseQueryString(w)}parseQueryString(T){const w={};let i,S,x,E,k,R,V;if(null===T)return w;i=T.split("&");for(let q=0;q>6,S[E++]=128|63&k):k<55296||k>=57344?(S[E++]=224|k>>12,S[E++]=128|k>>6&63,S[E++]=128|63&k):(k=65536+((1023&k)<<10|1023&j.charCodeAt(++w)),S[E++]=240|k>>18,S[E++]=128|k>>12&63,S[E++]=128|k>>6&63,S[E++]=128|63&k);j=S}else{if("object"!==i)throw new Error(ERROR);if(null===j)throw new Error(ERROR);if(ARRAY_BUFFER&&j.constructor===ArrayBuffer)j=new Uint8Array(j);else if(!(Array.isArray(j)||ARRAY_BUFFER&&ArrayBuffer.isView(j)))throw new Error(ERROR)}j.length>64&&(j=new Sha256(Y,!0).update(j).array());var R=[],V=[];for(w=0;w<64;++w){var q=j[w]||0;R[w]=92^q,V[w]=54^q}Sha256.call(this,Y,T),this.update(V),this.oKeyPad=R,this.inner=!0,this.sharedMemory=T}Sha256.prototype.update=function(j){if(!this.finalized){var Y,T=typeof j;if("string"!==T){if("object"!==T)throw new Error(ERROR);if(null===j)throw new Error(ERROR);if(ARRAY_BUFFER&&j.constructor===ArrayBuffer)j=new Uint8Array(j);else if(!(Array.isArray(j)||ARRAY_BUFFER&&ArrayBuffer.isView(j)))throw new Error(ERROR);Y=!0}for(var w,S,i=0,x=j.length,E=this.blocks;i>2]|=j[i]<>2]|=w<>2]|=(192|w>>6)<>2]|=(128|63&w)<=57344?(E[S>>2]|=(224|w>>12)<>2]|=(128|w>>6&63)<>2]|=(128|63&w)<>2]|=(240|w>>18)<>2]|=(128|w>>12&63)<>2]|=(128|w>>6&63)<>2]|=(128|63&w)<=64?(this.block=E[16],this.start=S-64,this.hash(),this.hashed=!0):this.start=S}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 j=this.blocks,Y=this.lastByteIndex;j[16]=this.block,j[Y>>2]|=EXTRA[3&Y],this.block=j[16],Y>=56&&(this.hashed||this.hash(),j[0]=this.block,j[16]=j[1]=j[2]=j[3]=j[4]=j[5]=j[6]=j[7]=j[8]=j[9]=j[10]=j[11]=j[12]=j[13]=j[14]=j[15]=0),j[14]=this.hBytes<<3|this.bytes>>>29,j[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,X,ie,te,he,ge,j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=this.blocks;for(R=16;R<64;++R)k[R]=k[R-16]+(((X=k[R-15])>>>7|X<<25)^(X>>>18|X<<14)^X>>>3)+k[R-7]+(((X=k[R-2])>>>17|X<<15)^(X>>>19|X<<13)^X>>>10)<<0;for(ge=Y&T,R=0;R<64;R+=4)this.first?(this.is224?(ie=300032,E=(X=k[0]-1413257819)-150054599<<0,w=X+24177077<<0):(ie=704751109,E=(X=k[0]-210244248)-1521486534<<0,w=X+143694565<<0),this.first=!1):(E=w+(X=E+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&S^~i&x)+K[R]+k[R])<<0,w=X+(((j>>>2|j<<30)^(j>>>13|j<<19)^(j>>>22|j<<10))+((ie=j&Y)^j&T^ge))<<0),x=T+(X=x+((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&i^~E&S)+K[R+1]+k[R+1])<<0,T=X+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((te=w&j)^w&Y^ie))<<0,S=Y+(X=S+((x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7))+(x&E^~x&i)+K[R+2]+k[R+2])<<0,Y=X+(((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+((he=T&w)^T&j^te))<<0,i=j+(X=i+((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&x^~S&E)+K[R+3]+k[R+3])<<0,j=X+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((ge=Y&T)^Y&w^he))<<0;this.h0=this.h0+j<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+T<<0,this.h3=this.h3+w<<0,this.h4=this.h4+i<<0,this.h5=this.h5+S<<0,this.h6=this.h6+x<<0,this.h7=this.h7+E<<0},Sha256.prototype.hex=function(){this.finalize();var j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=HEX_CHARS[j>>28&15]+HEX_CHARS[j>>24&15]+HEX_CHARS[j>>20&15]+HEX_CHARS[j>>16&15]+HEX_CHARS[j>>12&15]+HEX_CHARS[j>>8&15]+HEX_CHARS[j>>4&15]+HEX_CHARS[15&j]+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[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[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[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[S>>28&15]+HEX_CHARS[S>>24&15]+HEX_CHARS[S>>20&15]+HEX_CHARS[S>>16&15]+HEX_CHARS[S>>12&15]+HEX_CHARS[S>>8&15]+HEX_CHARS[S>>4&15]+HEX_CHARS[15&S]+HEX_CHARS[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x];return this.is224||(k+=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]),k},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=[j>>24&255,j>>16&255,j>>8&255,255&j,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,T>>24&255,T>>16&255,T>>8&255,255&T,w>>24&255,w>>16&255,w>>8&255,255&w,i>>24&255,i>>16&255,i>>8&255,255&i,S>>24&255,S>>16&255,S>>8&255,255&S,x>>24&255,x>>16&255,x>>8&255,255&x];return this.is224||k.push(E>>24&255,E>>16&255,E>>8&255,255&E),k},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var j=new ArrayBuffer(this.is224?28:32),Y=new DataView(j);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),j},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var j=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(j),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(j){if("string"!=typeof j)throw new TypeError("expected string");var Y,T=j,w=new Uint8Array(T.length);for(Y=0;Y{class j{calcHash(T,w){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(T)))})}toHashString2(T){let w="";for(let i of T)w+=String.fromCharCode(i);return w}toHashString(T){const w=new Uint8Array(T);let i="";for(let S of w)i+=String.fromCharCode(S);return i}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})(),OAuthService=(()=>{class j extends AuthConfig{constructor(T,w,i,S,x,E,k,R,V,q){var $;super(),this.ngZone=T,this.http=w,this.config=x,this.urlHelper=E,this.logger=k,this.crypto=R,this.dateTimeService=q,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=V,x||(x={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),S&&(this.tokenValidationHandler=S),x&&this.configure(x);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(X){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",X)}if(this.checkLocalStorageAccessable()){const X=null===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.userAgent;((null==X?void 0:X.includes("MSIE "))||(null==X?void 0:X.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const T="test";try{return void 0!==window.localStorage&&(localStorage.setItem(T,T),localStorage.removeItem(T),!0)}catch(w){return!1}}configure(T){Object.assign(this,new AuthConfig,T),this.config=Object.assign({},new AuthConfig,T),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)(T=>"token_received"===T.type)).subscribe(T=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(T={},w,i=!0){let S=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(x=>{"token_received"===x.type?S=!0:"logout"===x.type&&(S=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(x=>"token_expires"===x.type&&(null==w||"any"===w||x.info===w)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(x=>{S&&this.refreshInternal(T,i).catch(E=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(T,w){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(T,w):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(T=null){return this.loadDiscoveryDocument().then(w=>this.tryLogin(T))}loadDiscoveryDocumentAndLogin(T=null){return this.loadDiscoveryDocumentAndTryLogin(T=T||{}).then(w=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof T.state?T.state:""),!1))}debug(...T){this.showDebugInformation&&this.logger.debug.apply(this.logger,T)}validateUrlFromDiscoveryDocument(T){const w=[],i=this.validateUrlForHttps(T),S=this.validateUrlAgainstIssuer(T);return i||w.push("https for all urls required. Also for urls received by discovery."),S||w.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),w}validateUrlForHttps(T){if(!T)return!0;const w=T.toLowerCase();return!(!1!==this.requireHttps&&(!w.match(/^http:\/\/localhost($|[:\/])/)&&!w.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||w.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(T,w){if(!T)throw new Error(`'${w}' should not be null`);if(!this.validateUrlForHttps(T))throw new Error(`'${w}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(T){return!this.strictDiscoveryDocumentValidation||!T||T.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)(T=>"token_received"===T.type)).subscribe(T=>{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 T=this.getAccessTokenExpiration(),w=this.getAccessTokenStoredAt(),i=this.calcTimeout(w,T);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}setupIdTokenTimer(){const T=this.getIdTokenExpiration(),w=this.getIdTokenStoredAt(),i=this.calcTimeout(w,T);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}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(T,w){const i=this.dateTimeService.now();return Math.max(0,(w-T)*this.timeoutFactor-(i-T))}setStorage(T){this._storage=T,this.configChanged()}loadDiscoveryDocument(T=null){return new Promise((w,i)=>{T||((T=this.issuer||"").endsWith("/")||(T+="/"),T+=".well-known/openid-configuration"),this.validateUrlForHttps(T)?this.http.get(T).subscribe(S=>{if(!this.validateDiscoveryDocument(S))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=S.authorization_endpoint,this.logoutUrl=S.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=S.grant_types_supported,this.issuer=S.issuer,this.tokenEndpoint=S.token_endpoint,this.userinfoEndpoint=S.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=S.jwks_uri,this.sessionCheckIFrameUrl=S.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(S),this.revocationEndpoint=S.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(x=>{const k=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:S,jwks:x});this.eventsSubject.next(k),w(k)}).catch(x=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",x)),i(x)})},S=>{this.logger.error("error loading discovery document",S),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",S)),i(S)}):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((T,w)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),T(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),w(i)}):T(null)})}validateDiscoveryDocument(T){let w;return this.skipIssuerCheck||T.issuer===this.issuer?(w=this.validateUrlFromDiscoveryDocument(T.authorization_endpoint),w.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.end_session_endpoint),w.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.token_endpoint),w.length>0&&this.logger.error("error validating token_endpoint in discovery document",w),w=this.validateUrlFromDiscoveryDocument(T.revocation_endpoint),w.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",w),w=this.validateUrlFromDiscoveryDocument(T.userinfo_endpoint),w.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.jwks_uri),w.length>0?(this.logger.error("error validating jwks_uri in discovery document",w),!1):(this.sessionChecksEnabled&&!T.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: "+T.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(T,w,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((T,w)=>{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(S=>{if(this.debug("userinfo received",JSON.stringify(S)),S.headers.get("content-type").startsWith("application/json")){let x=JSON.parse(S.body);const E=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!E.sub||x.sub!==E.sub))return void w("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");x=Object.assign({},E,x),this._storage.setItem("id_token_claims_obj",JSON.stringify(x)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),T({info:x})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),T(JSON.parse(S.body))},S=>{this.logger.error("error loading user info",S),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",S)),w(S)})})}fetchTokenUsingPasswordFlow(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:T,password:w},i)}fetchTokenUsingGrant(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let S=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",T).set("scope",this.scope);if(this.useHttpBasicAuth){const x=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+x)}if(this.useHttpBasicAuth||(S=S.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(S=S.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const x of Object.getOwnPropertyNames(this.customQueryParams))S=S.set(x,this.customQueryParams[x]);for(const x of Object.keys(w))S=S.set(x,w[x]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((x,E)=>{this.http.post(this.tokenEndpoint,S,{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(R=>{this.storeIdToken(R),x(k)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),x(k)},k=>{this.logger.error("Error performing ${grantType} flow",k),this.eventsSubject.next(new OAuthErrorEvent("token_error",k)),E(k)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((T,w)=>{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")),S=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const x=btoa(`${this.clientId}:${this.dummyClientSecret}`);S=S.set("Authorization","Basic "+x)}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 x of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(x,this.customQueryParams[x]);this.http.post(this.tokenEndpoint,i,{headers:S}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(x=>x.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(x.id_token,x.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(E=>this.storeIdToken(E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(E=>x)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(x))).subscribe(x=>{this.debug("refresh tokenResponse",x),this.storeAccessTokenResponse(x.access_token,x.refresh_token,x.expires_in||this.fallbackAccessTokenExpirationTimeInSec,x.scope,this.extractRecognizedCustomParameters(x)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(x)},x=>{this.logger.error("Error refreshing token",x),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",x)),w(x)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=T=>{const w=this.processMessageEventMessage(T);this.tryLogin({customHashFragment:w,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(T={},w=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(T.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 S=this.document.getElementById(this.silentRefreshIFrameName);S&&this.document.body.removeChild(S),this.silentRefreshSubject=i.sub;const x=this.document.createElement("iframe");x.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,w,T).then(q=>{x.setAttribute("src",q),this.silentRefreshShowIFrame||(x.style.display="none"),this.document.body.appendChild(x)});const k=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(q=>q instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(q=>"token_received"===q.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),V=(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__.S)([k,R,V]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(q=>{if(q instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===q.type||(q=new OAuthErrorEvent("silent_refresh_error",q)),this.eventsSubject.next(q),q;return"token_received"===q.type&&(q=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(q)),q})).toPromise()}initImplicitFlowInPopup(T){return this.initLoginFlowInPopup(T)}initLoginFlowInPopup(T){return T=T||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(w=>new Promise((i,S)=>{let k,E=null;T.windowRef?T.windowRef&&!T.windowRef.closed&&(E=T.windowRef,E.location.href=w):E=window.open(w,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(T));const R=se=>{this.tryLogin({customHashFragment:se,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{q(),i(!0)},ce=>{q(),S(ce)})};E?k=window.setInterval(()=>{(!E||E.closed)&&(q(),S(new OAuthErrorEvent("popup_closed",{})))},500):S(new OAuthErrorEvent("popup_blocked",{}));const q=()=>{window.clearInterval(k),window.removeEventListener("storage",X),window.removeEventListener("message",$),null!==E&&E.close(),E=null},$=se=>{const ce=this.processMessageEventMessage(se);ce&&null!==ce?(window.removeEventListener("storage",X),R(ce)):console.log("false event firing")},X=se=>{"auth_hash"===se.key&&(window.removeEventListener("message",$),R(se.newValue))};window.addEventListener("message",$),window.addEventListener("storage",X)}))}calculatePopupFeatures(T){const w=T.height||470,i=T.width||500,S=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${w},top=${window.screenTop+(window.outerHeight-w)/2},left=${S}`}processMessageEventMessage(T){let w="#";if(this.silentRefreshMessagePrefix&&(w+=this.silentRefreshMessagePrefix),!T||!T.data||"string"!=typeof T.data)return;const i=T.data;return i.startsWith(w)?"#"+i.substr(w.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=T=>{const w=T.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(w)){switch(T.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",T)}else this.debug("sessionCheckEventListener","wrong origin",w,"expected",i,"event",T)},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(T=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(T=>{this.debug("token refresh after session change worked")}).catch(T=>{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)(T=>"silently_refreshed"===T.type||"silent_refresh_timeout"===T.type||"silent_refresh_error"===T.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(T=>{"silently_refreshed"!==T.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 T=this.document.getElementById(this.sessionCheckIFrameName);T&&this.document.body.removeChild(T);const w=this.document.createElement("iframe");w.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),w.setAttribute("src",this.sessionCheckIFrameUrl),w.style.display="none",this.document.body.appendChild(w),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 T=this.document.getElementById(this.sessionCheckIFrameName);T||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const w=this.getSessionState();w||this.stopSessionCheckTimer(),T.contentWindow.postMessage(this.clientId+" "+w,this.issuer)}createLoginUrl(T="",w="",i="",S=!1,x={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=this;let k;k=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(T=T?R+this.config.nonceStateSeparator+encodeURIComponent(T):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 V=E.loginUrl.indexOf("?")>-1?"&":"?";let q=E.scope;this.oidc&&!q.match(/(^|\s)openid($|\s)/)&&(q="openid "+q);let $=E.loginUrl+V+"response_type="+encodeURIComponent(E.responseType)+"&client_id="+encodeURIComponent(E.clientId)+"&state="+encodeURIComponent(T)+"&redirect_uri="+encodeURIComponent(k)+"&scope="+encodeURIComponent(q);if(this.responseType.includes("code")&&!this.disablePKCE){const[X,se]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",se):this._storage.setItem("PKCE_verifier",se),$+="&code_challenge="+X,$+="&code_challenge_method=S256"}w&&($+="&login_hint="+encodeURIComponent(w)),E.resource&&($+="&resource="+encodeURIComponent(E.resource)),E.oidc&&($+="&nonce="+encodeURIComponent(R)),S&&($+="&prompt=none");for(const X of Object.keys(x))$+="&"+encodeURIComponent(X)+"="+encodeURIComponent(x[X]);if(this.customQueryParams)for(const X of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+X+"="+encodeURIComponent(this.customQueryParams[X]);return $})}initImplicitFlowInternal(T="",w=""){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={},S=null;"string"==typeof w?S=w:"object"==typeof w&&(i=w),this.createLoginUrl(T,S,null,!1,i).then(this.config.openUri).catch(x=>{console.error("Error in initImplicitFlow",x),this.inImplicitFlow=!1})}initImplicitFlow(T="",w=""){""!==this.loginUrl?this.initImplicitFlowInternal(T,w):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(T,w))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(T){const w=this;if(T.onTokenReceived){const i={idClaims:w.getIdentityClaims(),idToken:w.getIdToken(),accessToken:w.getAccessToken(),state:w.state};T.onTokenReceived(i)}}storeAccessTokenResponse(T,w,i,S,x){if(this._storage.setItem("access_token",T),S&&!Array.isArray(S)?this._storage.setItem("granted_scopes",JSON.stringify(S.split(" "))):S&&Array.isArray(S)&&this._storage.setItem("granted_scopes",JSON.stringify(S)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const E=1e3*i,R=this.dateTimeService.new().getTime()+E;this._storage.setItem("expires_at",""+R)}w&&this._storage.setItem("refresh_token",w),x&&x.forEach((E,k)=>{this._storage.setItem(k,E)})}tryLogin(T=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(T).then(w=>!0):this.tryLoginImplicitFlow(T)}parseQueryString(T){return T&&0!==T.length?("?"===T.charAt(0)&&(T=T.substr(1)),this.urlHelper.parseQueryString(T)):{}}tryLoginCodeFlow(T=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const w=(T=T||{}).customHashFragment?T.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(w),S=i.code,x=i.state,E=i.session_state;if(!T.preventClearHashAfterLogin){const V=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,V)}let[k,R]=this.parseState(x);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(T,i);const V=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(V),Promise.reject(V)}if(!T.disableNonceCheck){if(!k)return this.saveRequestedRoute(),Promise.resolve();if(!T.disableOAuth2StateCheck&&!this.validateNonce(k)){const q=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(q),Promise.reject(q)}return this.storeSessionState(E),S&&(yield this.getTokenFromCode(S,T),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const T=this._storage.getItem("requested_route");T&&history.replaceState(null,"",window.location.origin+T)}getCodePartsFromUrl(T){return T&&0!==T.length?("?"===T.charAt(0)&&(T=T.substr(1)),this.urlHelper.parseQueryString(T)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(T,w){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",T).set("redirect_uri",w.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let S;S=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),S?i=i.set("code_verifier",S):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,w)}fetchAndProcessToken(T,w){w=w||{},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 S=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+S)}return this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),new Promise((S,x)=>{if(this.customQueryParams)for(let E of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(E,this.customQueryParams[E]);this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("refresh 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,w.disableNonceCheck).then(k=>{this.storeIdToken(k),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E)}).catch(k=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",k)),console.error("Error validating tokens"),console.error(k),x(k)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E))},E=>{console.error("Error getting token",E),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",E)),x(E)})})}tryLoginImplicitFlow(T=null){let w;w=(T=T||{}).customHashFragment?this.urlHelper.getHashFragmentParams(T.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",w);const i=w.state;let[S,x]=this.parseState(i);if(this.state=x,w.error){this.debug("error trying to login"),this.handleLoginError(T,w);const q=new OAuthErrorEvent("token_error",{},w);return this.eventsSubject.next(q),Promise.reject(q)}const E=w.access_token,k=w.id_token,R=w.session_state,V=w.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!E||this.requestAccessToken&&!T.disableOAuth2StateCheck&&!i||this.oidc&&!k)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&&!T.disableNonceCheck&&!this.validateNonce(S)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(E,null,w.expires_in||this.fallbackAccessTokenExpirationTimeInSec,V),this.oidc?this.processIdToken(k,E,T.disableNonceCheck).then(q=>T.validationHandler?T.validationHandler({accessToken:E,idClaims:q.idTokenClaims,idToken:q.idToken,state:i}).then($=>q):q).then(q=>(this.storeIdToken(q),this.storeSessionState(R),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(T),this.inImplicitFlow=!1,!0)).catch(q=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",q)),this.logger.error("Error validating tokens"),this.logger.error(q),Promise.reject(q))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(T),Promise.resolve(!0))}parseState(T){let w=T,i="";if(T){const S=T.indexOf(this.config.nonceStateSeparator);S>-1&&(w=T.substr(0,S),i=T.substr(S+this.config.nonceStateSeparator.length))}return[w,i]}validateNonce(T){let w;return w=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),w===T||(console.error("Validating access_token failed, wrong state/nonce.",w,T),!1)}storeIdToken(T){this._storage.setItem("id_token",T.idToken),this._storage.setItem("id_token_claims_obj",T.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+T.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(T){this._storage.setItem("session_state",T)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(T,w){T.onLoginError&&T.onLoginError(w),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(T=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:T}processIdToken(T,w,i=!1){const S=T.split("."),E=b64DecodeUnicode(this.padBase64(S[0])),k=JSON.parse(E),V=b64DecodeUnicode(this.padBase64(S[1])),q=JSON.parse(V);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(q.aud)){if(q.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+q.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(q.aud!==this.clientId){const he="Wrong audience: "+q.aud;return this.logger.warn(he),Promise.reject(he)}if(!q.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==q.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${q.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!q.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&q.iss!==this.issuer){const he="Wrong issuer: "+q.iss;return this.logger.warn(he),Promise.reject(he)}if(!i&&q.nonce!==$){const he="Wrong nonce: "+q.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!q.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const X=this.dateTimeService.now(),se=1e3*q.iat,ce=1e3*q.exp,ie=this.getClockSkewInMsec();if(se-ie>=X||ce+ie<=X){const he="Token has expired";return console.error(he),console.error({now:X,issuedAtMSec:se,expiresAtMSec:ce}),Promise.reject(he)}const te={accessToken:w,idToken:T,jwks:this.jwks,idTokenClaims:q,idTokenHeader:k,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(te).then(he=>({idToken:T,idTokenClaims:q,idTokenClaimsJson:V,idTokenHeader:k,idTokenHeaderJson:E,idTokenExpiresAt:ce})):this.checkAtHash(te).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const ge="Wrong at_hash";return this.logger.warn(ge),Promise.reject(ge)}return this.checkSignature(te).then(ge=>{const We={idToken:T,idTokenClaims:q,idTokenClaimsJson:V,idTokenHeader:k,idTokenHeaderJson:E,idTokenExpiresAt:ce};return this.disableAtHashCheck?We:this.checkAtHash(te).then(Ze=>{if(this.requestAccessToken&&!Ze){const Ee="Wrong at_hash";return this.logger.warn(Ee),Promise.reject(Ee)}return We})})})}getIdentityClaims(){const T=this._storage.getItem("id_token_claims_obj");return T?JSON.parse(T):null}getGrantedScopes(){const T=this._storage.getItem("granted_scopes");return T?JSON.parse(T):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(T){for(;T.length%4!=0;)T+="=";return T}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 T=this._storage.getItem("expires_at"),w=this.dateTimeService.new();return!(T&&parseInt(T,10)=0&&null!==this._storage.getItem(T)?JSON.parse(this._storage.getItem(T)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(T={},w=""){let i=!1;"boolean"==typeof T&&(i=T,T={});const S=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(E=>this._storage.removeItem(E)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!S&&!this.postLogoutRedirectUri)return;let x;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)x=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(S)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});S&&(E=E.set("id_token_hint",S));const k=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";k&&(E=E.set("post_logout_redirect_uri",k),w&&(E=E.set("state",w)));for(let R in T)E=E.set(R,T[R]);x=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+E.toString()}this.config.openUri(x)}createAndSaveNonce(){const T=this;return this.createNonce().then(function(w){return T.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",w):T._storage.setItem("nonce",w),w})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const T=this.document.getElementById(this.silentRefreshIFrameName);T&&T.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const w=this.document.getElementById(this.sessionCheckIFrameName);w&&w.remove()}createNonce(){return new Promise(T=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,S="";const x="undefined"==typeof self?null:self.crypto||self.msCrypto;if(x){let E=new Uint8Array(i);x.getRandomValues(E),E.map||(E.map=Array.prototype.map),E=E.map(k=>w.charCodeAt(k%w.length)),S=String.fromCharCode.apply(null,E)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(T,w))}initCodeFlowInternal(T="",w={}){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={},S=null;"string"==typeof w?S=w:"object"==typeof w&&(i=w),this.createLoginUrl(T,S,null,!1,i).then(this.config.openUri).catch(x=>{console.error("Error in initAuthorizationCodeFlow"),console.error(x)})}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 T=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(T,"sha-256")),T]})}extractRecognizedCustomParameters(T){let w=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{T[i]&&w.set(i,JSON.stringify(T[i]))}),w}revokeTokenAndLogout(T={},w=!1){let i=this.revocationEndpoint,S=this.getAccessToken(),x=this.getRefreshToken();if(!S)return;let E=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 R=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(E=E.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(E=E.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))E=E.set(R,this.customQueryParams[R]);return new Promise((R,V)=>{let q,$;if(S){let X=E.set("token",S).set("token_type_hint","access_token");q=this.http.post(i,X,{headers:k})}else q=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(x){let X=E.set("token",x).set("token_type_hint","refresh_token");$=this.http.post(i,X,{headers:k})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);w&&(q=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(X=>0===X.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(X))),$=$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(X=>0===X.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(X)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([q,$]).subscribe(X=>{this.logOut(T),R(X),this.logger.info("Token successfully revoked")},X=>{this.logger.error("Error revoking token",X),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",X)),V(X)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return j.\u0275fac=function(T){return new(T||j)(_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))},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class j{constructor(T,w,i){this.oAuthService=T,this.errorHandler=w,this.moduleConfig=i}checkUrl(T){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(T):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(w=>T.toLowerCase().startsWith(w.toLowerCase()))}intercept(T,w){const i=T.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)(x=>!!x)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(x=>"token_received"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(x=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(x=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(x=>{if(x){const k=T.headers.set("Authorization","Bearer "+x);T=T.clone({headers:k})}return w.handle(T).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(E=>this.errorHandler.handleError(E)))})):w.handle(T).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(x=>this.errorHandler.handleError(x))):w.handle(T)}}return j.\u0275fac=function(T){return new(T||j)(_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))},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();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 j{static forRoot(T=null,w=NullValidationHandler){return{ngModule:j,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:w},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:T},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:j}),j.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),j})();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:j=>{"use strict";j.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:j=>{"use strict";j.exports={i8:"9.0.0"}}},j=>{j(j.s=7742)}]); \ No newline at end of file +(self.webpackChunkuser_profile=self.webpackChunkuser_profile||[]).push([[179],{7742:(j,Y,T)=>{"use strict";var w=T(9808),i=T(5e3);class S extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends S{static makeCurrent(){(0,w.HT)(new x)}onAndCancel(a,e,t){return a.addEventListener(e,t,!1),()=>{a.removeEventListener(e,t,!1)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function k(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==e?null:function V(n){R=R||document.createElement("a"),R.setAttribute("href",n);const a=R.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,w.Mx)(document.cookie,a)}}let R,E=null;const q=new i.OlP("TRANSITION_ID"),X=[{provide:i.ip1,useFactory:function $(n,a,e){return()=>{e.get(i.CZH).donePromise.then(()=>{const t=(0,w.q)(),r=a.querySelectorAll(`style[ng-transition="${n}"]`);for(let l=0;l{const l=a.findTestabilityInTree(t,r);if(null==l)throw new Error("Could not find testability for element.");return l},i.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const r=i.dqk.getAllAngularTestabilities();let l=r.length,c=!1;const s=function(o){c=c||o,l--,0==l&&t(c)};r.forEach(function(o){o.whenStable(s)})})}findTestabilityInTree(a,e,t){if(null==e)return null;const r=a.getTestability(e);return null!=r?r:t?(0,w.q)().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null}}let ce=(()=>{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 ie=new i.OlP("EventManagerPlugins");let te=(()=>{class n{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 l=0;l{class n{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 n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Oe=(()=>{class n extends ge{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,r){e.forEach(l=>{const c=this._doc.createElement("style");c.textContent=l,r.push(t.appendChild(c))})}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(We),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,r)=>{this._addStylesToHost(e,r,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(We))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function We(n){(0,w.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/"},Ee=/%COMP%/g;function ue(n,a,e){for(let t=0;t{if("__ngUnwrap__"===a)return n;!1===n(a)&&(a.preventDefault(),a.returnValue=!1)}}let xe=(()=>{class n{constructor(e,t,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new ye(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let r=this.rendererByCompId.get(t.id);return r||(r=new zt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r}case 1:case i.ifc.ShadowDom:return new oi(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 n.\u0275fac=function(e){return new(e||n)(i.LFG(te),i.LFG(Oe),i.LFG(i.AFp))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ye{constructor(a){this.eventManager=a,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,e){return e?document.createElementNS(Ze[e]||e,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,e){a.appendChild(e)}insertBefore(a,e,t){a&&a.insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?document.querySelector(a):a;if(!t)throw new Error(`The selector "${a}" did not match any elements`);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,r){if(r){e=r+":"+e;const l=Ze[r];l?a.setAttributeNS(l,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const r=Ze[t];r?a.removeAttributeNS(r,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,r){r&(i.JOm.DashCase|i.JOm.Important)?a.style.setProperty(e,t,r&i.JOm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&i.JOm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,e,_e(t)):this.eventManager.addEventListener(a,e,_e(t))}}class zt extends ye{constructor(a,e,t,r){super(a),this.component=t;const l=ue(r+"-"+t.id,t.styles,[]);e.addStyles(l),this.contentAttr=function Ve(n){return"_ngcontent-%COMP%".replace(Ee,n)}(r+"-"+t.id),this.hostAttr=function Qe(n){return"_nghost-%COMP%".replace(Ee,n)}(r+"-"+t.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}class oi extends ye{constructor(a,e,t,r){super(a),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=ue(r.id,r.styles,[]);for(let c=0;c{class n extends he{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 n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Ii=["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"},ni={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"},Un={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Gi=(()=>{class n extends he{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,t,r){const l=n.parseEventName(t),c=n.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(e,l.domEventName,c))}static parseEventName(e){const t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;const l=n._normalizeKey(t.pop());let c="";if(Ii.forEach(o=>{const d=t.indexOf(o);d>-1&&(t.splice(d,1),c+=o+".")}),c+=l,0!=t.length||0===l.length)return null;const s={};return s.domEventName=r,s.fullKey=c,s}static getEventFullKey(e){let t="",r=function gi(n){let a=n.key;if(null==a){if(a=n.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===n.location&&ni.hasOwnProperty(a)&&(a=ni[a]))}return Xe[a]||a}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Ii.forEach(l=>{l!=r&&Un[l](e)&&(t+=l+".")}),t+=r,t}static eventCallback(e,t,r){return l=>{n.getEventFullKey(l)===e&&r.runGuarded(()=>t(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Wr=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:w.bD},{provide:i.g9A,useValue:function Jt(){x.makeCurrent(),se.init()},multi:!0},{provide:w.K0,useFactory:function ga(){return(0,i.RDi)(document),document},deps:[]}]),On=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function hn(){return new i.qLn},deps:[]},{provide:ie,useClass:et,multi:!0,deps:[w.K0,i.R0b,i.Lbi]},{provide:ie,useClass:Gi,multi:!0,deps:[w.K0]},{provide:xe,useClass:xe,deps:[te,Oe,i.AFp]},{provide:i.FYo,useExisting:xe},{provide:ge,useExisting:Oe},{provide:Oe,useClass:Oe,deps:[w.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:te,useClass:te,deps:[ie,i.R0b]},{provide:w.JF,useClass:ce,deps:[]}];let de=(()=>{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:q,useExisting:i.AFp},X]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n,12))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:On,imports:[w.ez,i.hGG]}),n})(),lt=(()=>{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function tt(){return new lt((0,i.LFG)(w.K0))}(),t},providedIn:"root"}),n})();"undefined"!=typeof window&&window;let mr=(()=>{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(Es),t},providedIn:"root"}),n})(),Es=(()=>{class n extends mr{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:function(e){let t=null;return t=e?new e:function Ss(n){return new Es(n.get(w.K0))}(i.LFG(i.zs3)),t},providedIn:"root"}),n})();var M=T(520);class qe{encodeKey(a){return encodeURIComponent(a)}encodeValue(a){return encodeURIComponent(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const vi=new i.OlP("basePath");class at{constructor(a={}){this.apiKeys=a.apiKeys,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.withCredentials=a.withCredentials,this.encoder=a.encoder,this.credentials=a.credentials?a.credentials:{},this.credentials.BasicAuth||(this.credentials.BasicAuth=()=>this.username||this.password?btoa(this.username+":"+this.password):void 0),this.credentials.BearerAuth||(this.credentials.BearerAuth=()=>"function"==typeof this.accessToken?this.accessToken():this.accessToken)}selectHeaderContentType(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}selectHeaderAccept(a){if(0===a.length)return;const e=a.find(t=>this.isJsonMime(t));return void 0===e?a[0]:e}isJsonMime(a){const e=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==a&&(e.test(a)||"application/json-patch+json"===a.toLowerCase())}lookupCredential(a){const e=this.credentials[a];return"function"==typeof e?e():e}}let ri=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}convertAttributeToNonunique(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToNonunique.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToNonunique`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}convertAttributeToUnique(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling convertAttributeToUnique.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/convertAttributeToUnique`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateAttributeDefinition was null or undefined when calling createAttributeDefinition.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/createAttribute`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attribute was null or undefined when calling deleteAttributeDefinition.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attribute"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttribute`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAttributeDefinitions(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributes was null or undefined when calling deleteAttributeDefinitions.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attributes[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/deleteAttributes`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllAttributeDefinitions(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinition`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAttribute(e,t,r,l,c,s,o,d,u,h,f,b="body",N=!1,Q){let fe=new M.LE({encoder:this.encoder});null!=e&&(fe=this.addToHttpParams(fe,e,"attributeName")),null!=t&&(fe=this.addToHttpParams(fe,t,"attributeId")),null!=r&&(fe=this.addToHttpParams(fe,r,"facility")),null!=l&&(fe=this.addToHttpParams(fe,l,"user")),null!=c&&(fe=this.addToHttpParams(fe,c,"vo")),null!=s&&(fe=this.addToHttpParams(fe,s,"resource")),null!=o&&(fe=this.addToHttpParams(fe,o,"member")),null!=d&&(fe=this.addToHttpParams(fe,d,"group")),null!=u&&(fe=this.addToHttpParams(fe,u,"host")),null!=h&&(fe=this.addToHttpParams(fe,h,"userExtSource")),null!=f&&(fe=this.addToHttpParams(fe,f,"key"));let Mt,je=this.defaultHeaders;Mt=this.configuration.lookupCredential("BasicAuth"),Mt&&(je=je.set("Authorization","Basic "+Mt)),Mt=this.configuration.lookupCredential("BearerAuth"),Mt&&(je=je.set("Authorization","Bearer "+Mt));let gt=Q&&Q.httpHeaderAccept;void 0===gt&&(gt=this.configuration.selectHeaderAccept(["application/json"])),void 0!==gt&&(je=je.set("Accept",gt));let ei=Q&&Q.context;void 0===ei&&(ei=new M.qT);let qa="json";return gt&&(qa=gt.startsWith("text")?"text":this.configuration.isJsonMime(gt)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/any`,{context:ei,params:fe,responseType:qa,withCredentials:this.configuration.withCredentials,headers:je,observe:b,reportProgress:N})}getAttributeDefinitionById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getAttributeDefinitionById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinitionById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeDefinitionByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeName was null or undefined when calling getAttributeDefinitionByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeDefinition`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeDefinitionsByNamespace(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling getAttributeDefinitionsByNamespace.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"namespace"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributesDefinitionByNamespace`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeModulesDependenciesForAttributeGraphText(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"format")),null!=t&&(s=this.addToHttpParams(s,t,"attrName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText/for-attribute`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAttributeModulesDependenciesGraphText(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter format was null or undefined when calling getAttributeModulesDependenciesGraphText.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"format"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeModulesDependenciesGraphText`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributePolicyCollections(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributePolicyCollections.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributePolicyCollections`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributeRights(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeId was null or undefined when calling getAttributeRights.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributeRights`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAttributesDefinitionWithRights(e,t,r,l,c,s,o,d,u="body",h=!1,f){let b=new M.LE({encoder:this.encoder});null!=e&&(b=this.addToHttpParams(b,e,"member")),null!=t&&(b=this.addToHttpParams(b,t,"user")),null!=r&&(b=this.addToHttpParams(b,r,"vo")),null!=l&&(b=this.addToHttpParams(b,l,"group")),null!=c&&(b=this.addToHttpParams(b,c,"resource")),null!=s&&(b=this.addToHttpParams(b,s,"facility")),null!=o&&(b=this.addToHttpParams(b,o,"host")),null!=d&&(b=this.addToHttpParams(b,d,"userExtSource"));let Q,N=this.defaultHeaders;Q=this.configuration.lookupCredential("BasicAuth"),Q&&(N=N.set("Authorization","Basic "+Q)),Q=this.configuration.lookupCredential("BearerAuth"),Q&&(N=N.set("Authorization","Bearer "+Q));let fe=f&&f.httpHeaderAccept;void 0===fe&&(fe=this.configuration.selectHeaderAccept(["application/json"])),void 0!==fe&&(N=N.set("Accept",fe));let je=f&&f.context;void 0===je&&(je=new M.qT);let Mt="json";return fe&&(Mt=fe.startsWith("text")?"text":this.configuration.isJsonMime(fe)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/attributesManager/getAttributesDefinitionWithRights`,{context:je,params:b,responseType:Mt,withCredentials:this.configuration.withCredentials,headers:N,observe:u,reportProgress:h})}getEntitylessAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-entityless`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEntitylessAttributesByKey(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter key was null or undefined when calling getEntitylessAttributesByKey.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"key"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/key`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEntitylessAttributesByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attrName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEntitylessAttributesWithKeys(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter attrName was null or undefined when calling getEntitylessAttributesWithKeys.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attrName")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"keys[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessAttributesWithKeys`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEntitylessKeys(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attributeDefinition was null or undefined when calling getEntitylessKeys.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"attributeDefinition"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getEntitylessKeys`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFacilityAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getFacilityAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFacilityAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacilityResourceUserMemberAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter member was null or undefined when calling getFacilityResourceUserMemberAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"facility")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=r&&(d=this.addToHttpParams(d,r,"user")),null!=l&&(d=this.addToHttpParams(d,l,"member"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-r-u-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getFacilityUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/f-u`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/g-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupResourceAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-group-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupResourceAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-group-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/group-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-host`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-host`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getHostAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter host was null or undefined when calling getHostAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"host"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getHostAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/h-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getLogins(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getLogins.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getLogins`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberAndUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"workWithUserAttributes"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-wu`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAndUserAttributesByNames(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names-wu`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroupAndUserAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberGroupAndUserAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names-wu`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getMemberGroupAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberGroupAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroupAttributesByNames(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-g-names`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAndUserFacilityAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-wu`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAndUserFacilityAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling getMemberResourceAndUserFacilityAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r-names-wu`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getMemberResourceAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-member-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-member-resource`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/m-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling getRequiredAttributesDefinition.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"service"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributesDefinition`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getRequiredAttributesFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/f`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesFacilityService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesFacilityServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")}),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesGroupResourceService(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"service")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"group"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesHostService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"host"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-h`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"workWithUserAttributes"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesMemberGroup(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-g`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesMemberGroupResourceService(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter member was null or undefined when calling getRequiredAttributesMemberGroupResourceService.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"service")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"group")),null!=l&&(u=this.addToHttpParams(u,l,"member")),null!=c&&(u=this.addToHttpParams(u,c,"workWithUserAttributes"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-g-m`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getRequiredAttributesMemberGroupService(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"group")),null!=r&&(d=this.addToHttpParams(d,r,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-g-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRequiredAttributesMemberResource(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/m-r`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRequiredAttributesMemberResourceService(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"service")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),null!=r&&(d=this.addToHttpParams(d,r,"member")),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r-m`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRequiredAttributesResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getRequiredAttributesResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/r`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesResourceService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesResourceServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")}),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/ss-r`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRequiredAttributesUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRequiredAttributesUserFacility(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/u-f`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRequiredAttributesVoService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"service")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getRequiredAttributes/s-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getResourceAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceGroupAndGroupAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"resource")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"workWithGroupAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-wg`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResourceGroupAndGroupAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling getResourceGroupAndGroupAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithGroupAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-names-wg`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getResourceGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceGroupMemberAttributesByNames(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter attrNames was null or undefined when calling getResourceGroupMemberAttributesByNames.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),null!=t&&(d=this.addToHttpParams(d,t,"group")),null!=r&&(d=this.addToHttpParams(d,r,"member")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/r-g-m-names`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getUserAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/u-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-ues`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-ues`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/ues-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserFacilityAttributeById(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attributeId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-user_facility`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getUserFacilityAttributeByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attributeName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-user_facility`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getUserFacilityAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/user-facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributeById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attributeId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/id-vo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributeByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attributeName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttribute/name-vo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/attributesManager/getAttributes/vo-names`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeAttributesForFacilityResourceGroupUserMember(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter user was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==c)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");if(null==s)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceGroupUserMember.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"facility")),null!=t&&(h=this.addToHttpParams(h,t,"resource")),null!=r&&(h=this.addToHttpParams(h,r,"group")),null!=l&&(h=this.addToHttpParams(h,l,"user")),null!=c&&(h=this.addToHttpParams(h,c,"member")),s&&s.forEach(je=>{h=this.addToHttpParams(h,je,"attributes[]")});let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-g-u-m`,null,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}removeAttributesForFacilityResourceUserMember(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter member was null or undefined when calling removeAttributesForFacilityResourceUserMember.");if(null==c)throw new Error("Required parameter attributes was null or undefined when calling removeAttributesForFacilityResourceUserMember.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"facility")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"user")),null!=l&&(u=this.addToHttpParams(u,l,"member")),c&&c.forEach(fe=>{u=this.addToHttpParams(u,fe,"attributes[]")});let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f-r-u-m`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}removeEntitylessAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"key")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/e`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeFacilityAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/f`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeFacilityAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/f`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupResourceAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/g-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeGroupResourceAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeGroupResourceAttributesWorkWithGroupAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithGroupAttributes was null or undefined when calling removeGroupResourceAttributesWorkWithGroupAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attributes[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithGroupAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/g-r-workWithGroupAttributes`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}removeHostAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/h`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeHostAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"host")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/h`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMemberAttributesWorkWithUserAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")}),null!=r&&(o=this.addToHttpParams(o,r,"workWithUserAttributes"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-workWithUserAttributes`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberGroupAttributesWorkWithUserAttributes(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter workWithUserAttributes was null or undefined when calling removeMemberGroupAttributesWorkWithUserAttributes.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"group")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attributes[]")}),null!=l&&(d=this.addToHttpParams(d,l,"workWithUserAttributes"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-g-workWithUserAttributes`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}removeMemberResourceAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/m-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeMemberResourceAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/m-r`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeResourceAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/r`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/r`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUesAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/ues`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserExtSourceAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userExtSource")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/ues`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserFacilityAttribute(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"attribute"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/u-f`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeUserFacilityAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attributes[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/u-f`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeVoAttribute(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"attribute"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttribute/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAttributes(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attributes[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/attributesManager/removeAttributes/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setAttributePolicyCollections(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributePolicyCollections was null or undefined when calling setAttributePolicyCollections.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributePolicyCollections`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setAttributeRights(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributeRights was null or undefined when calling setAttributeRights.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributeRights`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setEntitylessAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputEntitylessAttribute was null or undefined when calling setEntitylessAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/entityless`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttribute was null or undefined when calling setFacilityAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityAttributes was null or undefined when calling setFacilityAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityResourceGroupUserMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceGroupUserMemberAttributes was null or undefined when calling setFacilityResourceGroupUserMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-g-u-m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityResourceUserMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityResourceUserMemberAttributes was null or undefined when calling setFacilityResourceUserMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-r-u-m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setFacilityUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetFacilityUserAttributes was null or undefined when calling setFacilityUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/f-u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttribute was null or undefined when calling setGroupAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupAttributes was null or undefined when calling setGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttribute was null or undefined when calling setGroupResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/group-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setGroupResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetGroupResourceAttributes was null or undefined when calling setGroupResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/group-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setHostAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttribute was null or undefined when calling setHostAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/host`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setHostAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetHostAttributes was null or undefined when calling setHostAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/h`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttribute was null or undefined when calling setMemberAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberAttributes was null or undefined when calling setMemberAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttribute was null or undefined when calling setMemberGroupAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupAttributes was null or undefined when calling setMemberGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberGroupWithUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberGroupWithUserAttributes was null or undefined when calling setMemberGroupWithUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-g-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAndUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAndUserAttributes was null or undefined when calling setMemberResourceAndUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttribute was null or undefined when calling setMemberResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/member-resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberResourceAttributes was null or undefined when calling setMemberResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-r`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setMemberWithUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetMemberWithUserAttributes was null or undefined when calling setMemberWithUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/m-wu`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttribute was null or undefined when calling setResourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/resource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceAttributes was null or undefined when calling setResourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupAttributes was null or undefined when calling setResourceGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setResourceGroupWithGroupAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetResourceGroupWithGroupAttributes was null or undefined when calling setResourceGroupWithGroupAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/r-g-wg`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttribute was null or undefined when calling setUserAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserAttributes was null or undefined when calling setUserAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserExtSourceAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttribute was null or undefined when calling setUserExtSourceAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/userExtSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserExtSourceAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserExtSourceAttributes was null or undefined when calling setUserExtSourceAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/ues`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserFacilityAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttribute was null or undefined when calling setUserFacilityAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/facility-user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setUserFacilityAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetUserFacilityAttributes was null or undefined when calling setUserFacilityAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/facility-user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setVoAttribute(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttribute was null or undefined when calling setVoAttribute.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttribute/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setVoAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoAttributes was null or undefined when calling setVoAttributes.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/setAttributes/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateAttributeDefinition(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAttributeDefinition was null or undefined when calling updateAttributeDefinition.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/attributesManager/updateAttributeDefinition`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zi=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}getAllPolicies(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllPolicies`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllRolesManagementRules(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAllRolesManagementRules`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAuthzAdminGroups(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"role")),null!=t&&(o=this.addToHttpParams(o,t,"complementaryObjectId")),null!=r&&(o=this.addToHttpParams(o,r,"complementaryObjectName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getAdminGroups`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getAuthzRichAdmins(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter specificAttributes was null or undefined when calling getAuthzRichAdmins.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"role")),null!=t&&(h=this.addToHttpParams(h,t,"complementaryObjectId")),null!=r&&(h=this.addToHttpParams(h,r,"complementaryObjectName")),l&&l.forEach(je=>{h=this.addToHttpParams(h,je,"specificAttributes")}),null!=c&&(h=this.addToHttpParams(h,c,"allUserAttributes")),null!=s&&(h=this.addToHttpParams(h,s,"onlyDirectAdmins"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getRichAdmins`,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}getFacilitiesWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getFacilitiesWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getFacilitiesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupRoleNames(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupRoleNames.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupRoleNames`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupRoles(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getGroupRoles.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"groupId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/getGroupRoles`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getGroupsWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getGroupsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getLoggedUser(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getLoggedUser`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMembersWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getMembersWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getMembersWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getPerunPrincipal(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPerunPrincipal`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPrincipalRoleNames(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getPrincipalRoleNames`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getResourcesWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getResourcesWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSecurityTeamsWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getSecurityTeamsWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getSecurityTeamsWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserRoleNames(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserRoleNames.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoleNames`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserRoles(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userId was null or undefined when calling getUserRoles.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getUserRoles`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosWhereUserIsInRoles(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter roles was null or undefined when calling getVosWhereUserIsInRoles.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"user")),e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"roles[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/getVosWhereUserIsInRoles`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isFacilityAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isFacilityAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isGroupAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isGroupAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isPerunAdmin(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/isPerunAdmin`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}isVoAdmin(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/urlinjsonout/authzResolver/isVoAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}keepAlive(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/keepAlive`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}loadAuthorizationComponents(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/authzResolver/loadAuthorizationComponents`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}setRoleWithGroupComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithGroupComplementaryObject was null or undefined when calling setRoleWithGroupComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/g-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setRoleWithUserComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter SetRoleWithUserComplementaryObject was null or undefined when calling setRoleWithUserComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/setRole/u-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unsetRoleWithGroupComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithGroupComplementaryObject was null or undefined when calling unsetRoleWithGroupComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/g-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unsetRoleWithUserComplementaryObject(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter UnsetRoleWithUserComplementaryObject was null or undefined when calling unsetRoleWithUserComplementaryObject.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/authzResolver/unsetRole/u-co`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Di=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}changeConsentStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter consent was null or undefined when calling changeConsentStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling changeConsentStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"consent")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/changeConsentStatus`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}evaluateConsentsForConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling evaluateConsentsForConsentHub.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"consentHub"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForConsentHub`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}evaluateConsentsForService(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter service was null or undefined when calling evaluateConsentsForService.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"service"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/consentsManager/evaluateConsentsForService`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllConsentHubs(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsentHubs`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllConsents(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getAllConsents`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getConsentById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentForUserAndConsentHub(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentForUserAndConsentHub.");if(null==r)throw new Error("Required parameter status was null or undefined when calling getConsentForUserAndConsentHub.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"consentHub")),null!=r&&(o=this.addToHttpParams(o,r,"status"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentForUserAndConsentHub`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getConsentHubByFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getConsentHubByFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"facility"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByFacility`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentHubById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getConsentHubById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentHubByName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter name was null or undefined when calling getConsentHubByName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"name"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentHubByName`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHub.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"consentHub"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForConsentHubWithStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForConsentHubWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForConsentHubWithStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"consentHub")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForConsentHub/id-s`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getConsentsForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getConsentsForUserAndConsentHub(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserAndConsentHub.");if(null==t)throw new Error("Required parameter consentHub was null or undefined when calling getConsentsForUserAndConsentHub.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"consentHub"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUserAndConsentHub`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getConsentsForUserWithStatus(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling getConsentsForUserWithStatus.");if(null==t)throw new Error("Required parameter status was null or undefined when calling getConsentsForUserWithStatus.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/consentsManager/getConsentsForUser/id-s`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}updateConsentHub(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateConsentHub was null or undefined when calling updateConsentHub.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/consentsManager/updateConsentHub`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hi=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMember`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addMembers(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"members[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/addMembers`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}allowGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling allowGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling allowGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/allowGroupToHierarchicalVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}canExtendMembershipInGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/canExtendMembershipInGroup`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createGroupUnion(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resultGroup")),null!=t&&(s=this.addToHttpParams(s,t,"operandGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroupUnion`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createGroupWithParentGroupNameDescription(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"parentGroup")),null!=t&&(o=this.addToHttpParams(o,t,"name")),null!=r&&(o=this.addToHttpParams(o,r,"description"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/pg-n-d`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}createGroupWithVoNameDescription(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"name")),null!=r&&(o=this.addToHttpParams(o,r,"description"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/createGroup/v-n-d`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}deleteGroup(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling deleteGroup.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/deleteGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputDeleteGroups was null or undefined when calling deleteGroups.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/deleteGroups`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}disallowGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling disallowGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling disallowGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/disallowGroupToHierarchicalVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}extendMembershipInGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/extendMembershipInGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}forceAllSubGroupsSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceAllSubGroupsSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceAllSubGroupsSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}forceGroupStructureSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupStructureSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupStructureSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}forceGroupSynchronization(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling forceGroupSynchronization.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/forceGroupSynchronization`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllAllowedGroupsToHierarchicalVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllAllowedGroupsToHierarchicalVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllGroupsFromAllVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllGroups/all`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllMemberGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllMemberGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllMemberGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllRichGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter attrNames was null or undefined when calling getAllRichGroups.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attrNames[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllRichGroupsWithAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllRichSubGroupsWithGroupAttributesByNames(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAllRichSubGroupsWithGroupAttributesByNames.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllRichSubGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getGroupById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupByName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupByName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupMemberById(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMemberById`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCount(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCount.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCount`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCountsByGroupStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByGroupStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByGroupStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupMembersCountsByVoStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupMembersCountsByVoStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupMembersCountsByVoStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupRichMembersByIds(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"members[]")}),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupRichMembersByIds`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getGroupUnions(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"reverseDirection"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupUnions`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getGroupsByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedGroups was null or undefined when calling getGroupsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getGroupsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getGroupsWhereMemberIsActive(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getGroupsWhereMemberIsActive.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getGroupsWhereMemberIsActive`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getIndirectMembershipPaths(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getIndirectMembershipPaths`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMemberGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMemberGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberRichGroupsWithAttributesByNames(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getMemberRichGroupsWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichGroupByIdWithAttributesByNames(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter groupId was null or undefined when calling getRichGroupByIdWithAttributesByNames.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"groupId")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getRichGroupByIdWithAttributesByNames`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSubgroupsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedSubgroups was null or undefined when calling getSubgroupsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/getSubgroupsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getVoAllAllowedGroupsToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling getVoAllAllowedGroupsToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/getAllAllowedGroupsToHierarchicalVo/v-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isAllowedGroupToHierarchicalVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling isAllowedGroupToHierarchicalVo.");if(null==t)throw new Error("Required parameter vo was null or undefined when calling isAllowedGroupToHierarchicalVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isAllowedGroupToHierarchicalVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}isGroupMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/groupsManager/isGroupMember`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}moveGroupWithDestinationGroupMovingGroup(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter movingGroup was null or undefined when calling moveGroupWithDestinationGroupMovingGroup.");let s=new M.LE({encoder:this.encoder});null!=t&&(s=this.addToHttpParams(s,t,"destinationGroup")),null!=e&&(s=this.addToHttpParams(s,e,"movingGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/moveGroup/dg-mg`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupUnion(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resultGroup")),null!=t&&(s=this.addToHttpParams(s,t,"operandGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeGroupUnion`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMember(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMember`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeMembers(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"members[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/removeMembers`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setGroupsMemberStatus(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"group")),null!=r&&(o=this.addToHttpParams(o,r,"status"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/groupsManager/setGroupsMemberStatus`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateGroup was null or undefined when calling updateGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/groupsManager/updateGroup`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tt=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}canExtendMembership(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling canExtendMembership.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/canExtendMembership`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createMemberForCandidate(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberForCandidate was null or undefined when calling createMemberForCandidate.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/c`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createMemberForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberForUser was null or undefined when calling createMemberForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/u`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createMemberFromExtSource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateMemberFromExtSource was null or undefined when calling createMemberFromExtSource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createMember/extSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSpecificMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSpecificMember was null or undefined when calling createSpecificMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSpecificMember`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMember was null or undefined when calling createSponsoredMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMember/withFullName`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMembers was null or undefined when calling createSponsoredMembers.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembers`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createSponsoredMembersFromCSV(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateSponsoredMemberFromCSV was null or undefined when calling createSponsoredMembersFromCSV.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/createSponsoredMembersFromCSV`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling deleteMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMember`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter members was null or undefined when calling deleteMembers.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"members[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/deleteMembers`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}extendMembership(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling extendMembership.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/extendMembership`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}findCompleteRichMembersByAttributes(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});e&&e.forEach(N=>{o=this.addToHttpParams(o,N,"attrsNames[]")}),null!=t&&(o=this.addToHttpParams(o,t,"searchString")),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"allowedStatuses[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/attrs`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}findCompleteRichMembersForGroup(e,t,r,l,c,s,o="body",d=!1,u){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==l)throw new Error("Required parameter lookingInParentGroup was null or undefined when calling findCompleteRichMembersForGroup.");let h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"group")),t&&t.forEach(je=>{h=this.addToHttpParams(h,je,"attrsNames[]")}),c&&c.forEach(je=>{h=this.addToHttpParams(h,je,"allowedStatuses[]")}),s&&s.forEach(je=>{h=this.addToHttpParams(h,je,"allowedGroupStatuses[]")}),null!=r&&(h=this.addToHttpParams(h,r,"searchString")),null!=l&&(h=this.addToHttpParams(h,l,"lookingInParentGroup"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/g`,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}findCompleteRichMembersForVo(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"allowedStatuses[]")}),null!=r&&(d=this.addToHttpParams(d,r,"searchString"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}findMembersInVo(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"searchString"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findMembersInVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findSponsoredCompleteRichMembersForVo(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter onlySponsored was null or undefined when calling findSponsoredCompleteRichMembersForVo.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),null!=r&&(d=this.addToHttpParams(d,r,"searchString")),null!=l&&(d=this.addToHttpParams(d,l,"onlySponsored"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/findCompleteRichMembers/v-sponsored`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getAllMembers(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllMembers`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllNamespacesRules(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllNamespacesRules`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getAllSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllSponsoredMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllSponsoredMembersAndTheirSponsors(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getAllSponsoredMembersAndTheirSponsors`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getCompleteRichMembersForGroup(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),r&&r.forEach(fe=>{u=this.addToHttpParams(u,fe,"allowedStatuses[]")}),l&&l.forEach(fe=>{u=this.addToHttpParams(u,fe,"allowedGroupStatuses[]")}),null!=t&&(u=this.addToHttpParams(u,t,"lookingInParentGroup")),c&&c.forEach(fe=>{u=this.addToHttpParams(u,fe,"attrsNames[]")});let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getCompleteRichMembersForGroupResource(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter allowedStatuses was null or undefined when calling getCompleteRichMembersForGroupResource.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),null!=t&&(d=this.addToHttpParams(d,t,"resource")),r&&r.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrsNames[]")}),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"allowedStatuses[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/g-r`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getCompleteRichMembersForVo(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getCompleteRichMembersForVo.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"allowedStatuses[]")}),r&&r.forEach(N=>{o=this.addToHttpParams(o,N,"attrsNames[]")});let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getCompleteRichMembers/v`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberByExtSourceNameAndExtLogin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"extLogin")),null!=r&&(o=this.addToHttpParams(o,r,"extSourceName"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByExtSourceNameAndExtLogin`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getMemberById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMemberById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberByUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMemberByUser`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMembers(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembers.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembers`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMembersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getMembersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersByUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getMembersByUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersByUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersCount(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMembersCount.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMembersPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedMembers was null or undefined when calling getMembersPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/getMembersPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getMembersWithStatusCount(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getMembersCount/status`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichMemberWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichMemberWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMemberWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichMembersByIds(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichMembersByIds.");let s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"ids[]")}),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersByIds`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getRichMembersNoUserAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichMembersNoUserAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getRichMembersNoUserAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsoredMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getSponsoredMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembers/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsoredMembersAndTheirSponsors(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsoredMembersAndTheirSponsors`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsByMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsByMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsByVo(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"extSourceName")),null!=r&&(d=this.addToHttpParams(d,r,"extLogin")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/membersManager/getSponsors/vo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}moveMembership(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"sourceUser")),null!=r&&(o=this.addToHttpParams(o,r,"targetUser"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/moveMembership`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}removeSponsor(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"sponsor"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/removeSponsor`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendAccountActivationLinkEmail(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter language was null or undefined when calling sendAccountActivationLinkEmail.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"member")),null!=t&&(d=this.addToHttpParams(d,t,"namespace")),null!=r&&(d=this.addToHttpParams(d,r,"emailAttributeURN")),null!=l&&(d=this.addToHttpParams(d,l,"language"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendAccountActivationLinkEmail`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sendPasswordResetLinkEmail(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter language was null or undefined when calling sendPasswordResetLinkEmail.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"member")),null!=t&&(u=this.addToHttpParams(u,t,"namespace")),null!=r&&(u=this.addToHttpParams(u,r,"emailAttributeURN")),null!=l&&(u=this.addToHttpParams(u,l,"language")),null!=c&&(u=this.addToHttpParams(u,c,"baseUrl"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sendPasswordResetLinkEmail`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}setSponsoredMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetSponsoredMember was null or undefined when calling setSponsoredMember.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/membersManager/setSponsoredMember`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setSponsorshipForMember(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"sponsoredMember")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setSponsorshipForMember`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}setStatus(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"status"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/setStatus`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sponsorMember(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/sponsorMember`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateSponsorshipValidity(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"member")),null!=t&&(o=this.addToHttpParams(o,t,"sponsor")),null!=r&&(o=this.addToHttpParams(o,r,"validityTo"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/updateSponsorshipValidity`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}validateMemberAsync(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling validateMemberAsync.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/membersManager/validateMemberAsync`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fn=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}sentMessageToRTWithMemberQueue(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithMemberQueue.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"memberId")),null!=t&&(d=this.addToHttpParams(d,t,"queue")),null!=r&&(d=this.addToHttpParams(d,r,"subject")),null!=l&&(d=this.addToHttpParams(d,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/m-q`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sentMessageToRTWithQueue(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"queue")),null!=t&&(o=this.addToHttpParams(o,t,"subject")),null!=r&&(o=this.addToHttpParams(o,r,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/q`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sentMessageToRTWithVo(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"voId")),null!=t&&(o=this.addToHttpParams(o,t,"subject")),null!=r&&(o=this.addToHttpParams(o,r,"text"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sentMessageToRTWithVoQueue(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter text was null or undefined when calling sentMessageToRTWithVoQueue.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"voId")),null!=t&&(d=this.addToHttpParams(d,t,"queue")),null!=r&&(d=this.addToHttpParams(d,r,"subject")),null!=l&&(d=this.addToHttpParams(d,l,"text"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/rtMessagesManager/sentMessageToRT/v-q`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),li=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addApplicationMailForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForGroup was null or undefined when calling addApplicationMailForGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/g`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}addApplicationMailForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputAddApplicationMailForVo was null or undefined when calling addApplicationMailForVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/addApplicationMail/v`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}addGroupsToAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling addGroupsToAutoRegistration.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"groups[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/addGroupsToAutoRegistration`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}approveApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling approveApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/approveApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}checkForSimilarRichIdentities(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarRichIdentities`,null,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}checkForSimilarUsersWithAuthInfo(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/checkForSimilarUsers/authInfo`,null,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}consolidate(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputConsolidate was null or undefined when calling consolidate.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/consolidate`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}consolidateIdentityUsingToken(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling consolidateIdentityUsingToken.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"token"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/consolidateIdentityUsingToken`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}copyFormFromGroupToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromGroupToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/groupToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromVoToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyFormFromVoToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyForm/voToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromGroupToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromGroupToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromGroup")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/groupToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromVoToGroup(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyMailsFromVoToVo(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"fromVo")),null!=t&&(s=this.addToHttpParams(s,t,"toVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/copyMails/voToVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createApplicationFormInGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling createApplicationFormInGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/group`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}createApplicationFormInVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling createApplicationFormInVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/createApplicationForm/vo`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteApplicationMailForGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"id"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteApplicationMailForVo(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"id"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteApplicationMail/v`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteGroupsFromAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter groups was null or undefined when calling deleteGroupsFromAutoRegistration.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"groups[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/deleteGroupsFromAutoRegistration`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationDataById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getApplicationDataById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationDataById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationMailsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationMailsForGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationMailsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationMailsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationMails/v`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getApplicationsForGroup(e,t,r,l,c="body",s=!1,o){if(null==e)throw new Error("Required parameter group was null or undefined when calling getApplicationsForGroup.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"group")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"state[]")}),null!=r&&(d=this.addToHttpParams(d,r,"dateFrom")),null!=l&&(d=this.addToHttpParams(d,l,"dateTo"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForGroup`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getApplicationsForMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getApplicationsForMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForMember`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getApplicationsForVo(e,t,r,l,c="body",s=!1,o){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getApplicationsForVo.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"state[]")}),null!=r&&(d=this.addToHttpParams(d,r,"dateFrom")),null!=l&&(d=this.addToHttpParams(d,l,"dateTo"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationsForVo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getApplicationsPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedApplications was null or undefined when calling getApplicationsPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/getApplicationsPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getConsolidatorToken(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getConsolidatorToken`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getFormItemsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFormItemsForGroupWithType(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getFormItemsForGroupWithType.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"type"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/group-type`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFormItemsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getFormItemsForVoWithType(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getFormItemsForVoWithType.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"type"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getFormItems/vo-type`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupApplicationForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getGroupApplicationForm.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/group`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsToAutoRegistration(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getGroupsToAutoRegistration.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getGroupsToAutoRegistration`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoApplicationForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoApplicationForm.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/registrarManager/getApplicationForm/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}rejectApplication(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling rejectApplication.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id")),null!=t&&(s=this.addToHttpParams(s,t,"reason"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/rejectApplication`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendInvitation(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=r&&(d=this.addToHttpParams(d,r,"voId")),null!=l&&(d=this.addToHttpParams(d,l,"name")),null!=e&&(d=this.addToHttpParams(d,e,"email")),null!=t&&(d=this.addToHttpParams(d,t,"language"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}sendInvitationForGroup(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=r&&(u=this.addToHttpParams(u,r,"voId")),null!=l&&(u=this.addToHttpParams(u,l,"groupId")),null!=c&&(u=this.addToHttpParams(u,c,"name")),null!=e&&(u=this.addToHttpParams(u,e,"email")),null!=t&&(u=this.addToHttpParams(u,t,"language"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/g`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}sendInvitationGroupToExistingUser(e,t,r,l="body",c=!1,s){let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"userId")),null!=t&&(o=this.addToHttpParams(o,t,"voId")),null!=r&&(o=this.addToHttpParams(o,r,"groupId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u-g`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}sendInvitationToExistingUser(e,t,r="body",l=!1,c){let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"userId")),null!=t&&(s=this.addToHttpParams(s,t,"voId"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/sendInvitation/u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}sendMessage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSendMessage was null or undefined when calling sendMessage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/sendMessage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}setSendingEnabled(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetSendingEnabled was null or undefined when calling setSendingEnabled.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/setSendingEnabled`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}submitApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSubmitApplication was null or undefined when calling submitApplication.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/submitApplication`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateApplicationMail(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateApplicationMail was null or undefined when calling updateApplicationMail.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateApplicationMail`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateForm(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateForm was null or undefined when calling updateForm.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateForm`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemData(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputFormItemData was null or undefined when calling updateFormItemData.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemData`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsData(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputFormItemsData was null or undefined when calling updateFormItemsData.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItemsData`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsForGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForGroup was null or undefined when calling updateFormItemsForGroup.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/group`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateFormItemsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateFormItemsForVo was null or undefined when calling updateFormItemsForVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/registrarManager/updateFormItems/vo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}verifyApplication(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling verifyApplication.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/registrarManager/verifyApplication`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_i=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}activateGroupResourceAssignment(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),null!=t&&(o=this.addToHttpParams(o,t,"resource")),null!=r&&(o=this.addToHttpParams(o,r,"async"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/activateGroupResourceAssignment`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}addAdminToGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addAdminToUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addAdmin/r-u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addResourceSelfServiceGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addResourceSelfServiceUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/addResourceSelfServiceUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}allowGroupsToResources(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});e&&e.forEach(N=>{o=this.addToHttpParams(o,N,"groups[]")}),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"resources[]")}),null!=r&&(o=this.addToHttpParams(o,r,"async"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/allowGroupsToResources`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}assignGroupToResource(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResource`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignGroupToResources(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"group")),t&&t.forEach(fe=>{u=this.addToHttpParams(u,fe,"resources[]")}),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupToResources`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignGroupsToResource(e,t,r,l,c,s="body",o=!1,d){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 u=new M.LE({encoder:this.encoder});e&&e.forEach(fe=>{u=this.addToHttpParams(u,fe,"groups[]")}),null!=t&&(u=this.addToHttpParams(u,t,"resource")),null!=r&&(u=this.addToHttpParams(u,r,"async")),null!=l&&(u=this.addToHttpParams(u,l,"assignInactive")),null!=c&&(u=this.addToHttpParams(u,c,"autoAssignSubgroups"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignGroupsToResource`,null,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}assignResourceTagToResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputAssignResourceTagToResource was null or undefined when calling assignResourceTagToResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/assignResourceTagToResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}assignService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignService`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}assignServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServices`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}assignServicesPackage(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"servicesPackage"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/assignServicesPackage`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}copyResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputCopyResource was null or undefined when calling copyResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/copyResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createResource(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"facility")),null!=r&&(d=this.addToHttpParams(d,r,"name")),null!=l&&(d=this.addToHttpParams(d,l,"description"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResource`,null,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}createResourceTagWithResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputCreateResourceTagWithResourceTag was null or undefined when calling createResourceTagWithResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/createResourceTag/resourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createResourceTagWithTagName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"tagName")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/createResourceTag/tagName`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deactivateGroupResourceAssignment(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deactivateGroupResourceAssignment`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteAllResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResources`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteAllResourcesTagsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteAllResourcesTagsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteAllResourcesTagsForVo`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling deleteResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/deleteResource`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}deleteResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputDeleteResourceTag was null or undefined when calling deleteResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/deleteResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getAdminGroups(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAdminGroups.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdminGroups`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAdmins(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"onlyDirectAdmins"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAdmins`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllResourcesByResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputGetAllResourcesByResourceTag was null or undefined when calling getAllResourcesByResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesByResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getAllResourcesTagsForResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllResourcesTagsForResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForResource`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllResourcesTagsForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getAllResourcesTagsForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllResourcesTagsForVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllResourcesWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAllResourcesWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/all`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAllowedResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAllowedUsersOfResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAllowedUsersOfResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAllowedUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedGroups(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedGroups.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"member"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedGroups`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAssignedMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedMembersWithStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedMembersWithStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedMembersWithStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedResourcesWithGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResources/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedResourcesWithStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedResourcesWithStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedResourcesWithStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichMembers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedRichMembers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichMembers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithGroup(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter group was null or undefined when calling getAssignedRichResourcesWithGroup.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"group"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/g`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getAssignedRichResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/m`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesWithMemberService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedRichResources/s-m`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAssignedServicesToResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getAssignedServicesToResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getAssignedServices`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getBansForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getBansForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getBansForResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getBansForResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBansForResource`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getEnrichedResourceById(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedResourceById.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"id")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourceById`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEnrichedResourcesForFacility(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter facility was null or undefined when calling getEnrichedResourcesForFacility.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"facility")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForFacility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getEnrichedResourcesForVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getEnrichedResourcesForVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getEnrichedResourcesForVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getFacility(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getFacility.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getFacility`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupAssignments(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getGroupAssignments.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getGroupAssignments`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getMailingServiceRichResourcesWithMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getMailingServiceRichResourcesWithMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getMailingServiceRichResourcesWithMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceAssignments(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter group was null or undefined when calling getResourceAssignments.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceAssignments`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceBan(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBan`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourceBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getResourceBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getBanById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getResourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourceByName(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"facility")),null!=r&&(o=this.addToHttpParams(o,r,"name"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourceByName`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getResourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesCountForAll(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/all`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getResourcesCountForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getResourcesCountForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesCount/vo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getResourcesFromVoWhereUserIsAdmin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/fromVo`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getResourcesWhereGroupIsAdmin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"facility")),null!=t&&(o=this.addToHttpParams(o,t,"vo")),null!=r&&(o=this.addToHttpParams(o,r,"group"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin/group`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getResourcesWhereUserIsAdmin(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"facility")),null!=t&&(o=this.addToHttpParams(o,t,"vo")),null!=r&&(o=this.addToHttpParams(o,r,"user"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getResourcesWhereUserIsAdmin`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getRichAdmins(e,t,r,l,c="body",s=!1,o){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==l)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdmins.");let d=new M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"resource")),t&&t.forEach(Q=>{d=this.addToHttpParams(d,Q,"specificAttributes")}),null!=r&&(d=this.addToHttpParams(d,r,"allUserAttributes")),null!=l&&(d=this.addToHttpParams(d,l,"onlyDirectAdmins"));let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichAdmins`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getRichResourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getRichResourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichResources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getRichResources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichResourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichResourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getRichResourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling getVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/resourcesManager/getVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeAllResourceTagsFromResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter resource was null or undefined when calling removeAllResourceTagsFromResource.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"resource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAllResourcesTagFromResource`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeBanByMemberAndResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/member-resource-id`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupAdminResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-g`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupFromResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResource`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupFromResources(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"resources[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupFromResources`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeGroupsFromResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeGroupsFromResource`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeResourceBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeBan/id`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeResourceSelfServiceGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"group"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceGroup`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceSelfServiceUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeResourceSelfServiceUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeResourceTagFromResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputRemoveResourceTagFromResource was null or undefined when calling removeResourceTagFromResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/removeResourceTagFromResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}removeService(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"service"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeService`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeServices(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"services[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServices`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeServicesPackage(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"servicesPackage"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeServicesPackage`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserAdminResource(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"resource")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/removeAdmin/r-u`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setResourceBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputSetBan was null or undefined when calling setResourceBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/setBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}unallowGroupsFromResources(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});e&&e.forEach(b=>{s=this.addToHttpParams(s,b,"groups[]")}),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"resources[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/resourcesManager/unallowGroupsFromResources`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}updateResource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateResource was null or undefined when calling updateResource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateResourceBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateBan was null or undefined when calling updateResourceBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateResourceTag(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter inputUpdateResourceTag was null or undefined when calling updateResourceTag.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/resourcesManager/updateResourceTag`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ti=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addSpecificUserOwner(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/addSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addUserExtSource(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter AddUserExtSourceInput was null or undefined when calling addUserExtSource.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/addUserExtSource`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}anonymizeUser(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling anonymizeUser.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/anonymizeUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}changeNonAuthzPasswordByToken(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangeNonAuthzPasswordByToken was null or undefined when calling changeNonAuthzPasswordByToken.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changeNonAuthzPassword/token`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}changePasswordForLogin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForLogin was null or undefined when calling changePasswordForLogin.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/login`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}changePasswordForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputChangePasswordForUser was null or undefined when calling changePasswordForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/changePassword/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}checkPasswordResetRequestByTokenIsValid(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter token was null or undefined when calling checkPasswordResetRequestByTokenIsValid.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"token"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/checkPasswordResetRequestIsValid/token`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}checkPasswordStrength(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCheckPasswordStrength was null or undefined when calling checkPasswordStrength.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/checkPasswordStrength`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createAlternativePassword(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateAlternativePassword was null or undefined when calling createAlternativePassword.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createAlternativePassword`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}createServiceUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateServiceUser was null or undefined when calling createServiceUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/createServiceUser`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteAlternativePassword(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"loginNamespace")),null!=r&&(o=this.addToHttpParams(o,r,"passwordId"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteAlternativePassword`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}deletePasswordForLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deletePasswordForUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deletePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}deleteUser(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter user was null or undefined when calling deleteUser.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/deleteUser`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findRichUsers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"searchString"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}findRichUsersWithAttributes(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findRichUsersWithAttributes.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"searchString")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrsNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findRichUsersWithAttributes`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findUsers(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter searchString was null or undefined when calling findUsers.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"searchString"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/findUsers`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}generateAccountForName(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter namespace was null or undefined when calling generateAccountForName.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"namespace")),null!=t&&(s=this.addToHttpParams(s,t,"name"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/generateAccount/name`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllRichUsersWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter includedSpecificUsers was null or undefined when calling getAllRichUsersWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"includedSpecificUsers"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAllRichUsersWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getAssignedRichResourcesForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getAssignedRichResourcesForUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getAssignedRichResources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getGroupsForFacilityWhereUserIsActive(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"facility"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/facility`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsForResourceWhereUserIsActive(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"resource"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsActive/resource`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsInVoWhereUserIsAdmin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"vo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u-v`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getGroupsWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getGroupsWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getGroupsWhereUserIsAdmin/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getPendingPreferredEmailChanges(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getPendingPreferredEmailChanges.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getPendingPreferredEmailChanges`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUserExtSources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserExtSources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserExtSources/u`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUserWithAttributes(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getRichUserWithAttributes.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUserWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersWithAttributesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getRichUsersWithAttributesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithAttributesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichUsersWithoutVoWithAttributes(e,t="body",r=!1,l){let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"attrsNames[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getRichUsersWithoutVoWithAttributes`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSpecificUsersByUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getSpecificUsersByUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSpecificUsersByUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getSponsorsForMember(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter member was null or undefined when calling getSponsorsForMember.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"member")),t&&t.forEach(b=>{s=this.addToHttpParams(s,b,"attrNames[]")});let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/member`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getSponsorsForMemberByVoAndLogin(e,t,r,l,c="body",s=!1,o){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 M.LE({encoder:this.encoder});null!=e&&(d=this.addToHttpParams(d,e,"vo")),null!=t&&(d=this.addToHttpParams(d,t,"extSourceName")),null!=r&&(d=this.addToHttpParams(d,r,"extLogin")),l&&l.forEach(Q=>{d=this.addToHttpParams(d,Q,"attrNames[]")});let h,u=this.defaultHeaders;h=this.configuration.lookupCredential("BasicAuth"),h&&(u=u.set("Authorization","Basic "+h)),h=this.configuration.lookupCredential("BearerAuth"),h&&(u=u.set("Authorization","Bearer "+h));let f=o&&o.httpHeaderAccept;void 0===f&&(f=this.configuration.selectHeaderAccept(["application/json"])),void 0!==f&&(u=u.set("Accept",f));let b=o&&o.context;void 0===b&&(b=new M.qT);let N="json";return f&&(N=f.startsWith("text")?"text":this.configuration.isJsonMime(f)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getSponsorsForMember/vo`,{context:b,params:d,responseType:N,withCredentials:this.configuration.withCredentials,headers:u,observe:c,reportProgress:s})}getUserByExtSourceNameAndExtLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extLogin")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserByExtSourceNameAndExtLogin`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getUserById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceByExtLoginAndExtSourceName(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter extSourceName was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");if(null==t)throw new Error("Required parameter extSourceLogin was null or undefined when calling getUserExtSourceByExtLoginAndExtSourceName.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"extSourceName")),null!=t&&(s=this.addToHttpParams(s,t,"extSourceLogin"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByExtLoginAndExtSourceName`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling getUserExtSourceById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourceByUniqueAttributeValueAndAttributeId(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeId")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/id`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSourceByUniqueAttributeValueAndAttributeName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"attributeName")),null!=t&&(s=this.addToHttpParams(s,t,"attributeValue"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourceByUniqueAttributeValue/name`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getUserExtSources(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getUserExtSources.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSources`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUserExtSourcesByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUserExtSourcesByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUserExtSourcesByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsers(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsers`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getUsersByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getUsersByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsersBySpecificUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter specificUser was null or undefined when calling getUsersBySpecificUser.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"specificUser"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getUsersBySpecificUser`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getUsersPage(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputGetPaginatedUsers was null or undefined when calling getUsersPage.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/getUsersPage`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}getVosWhereUserIsAdmin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsAdmin.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsAdmin`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosWhereUserIsMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter user was null or undefined when calling getVosWhereUserIsMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"user"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/usersManager/getVosWhereUserIsMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}isLoginAvailable(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"loginNamespace")),null!=t&&(s=this.addToHttpParams(s,t,"login"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/isLoginAvailable`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}loginExist(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/loginExist`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSpecificUserOwner(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"specificUser"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeSpecificUserOwner`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeUserExtSource(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"userExtSource")),null!=r&&(o=this.addToHttpParams(o,r,"force"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/removeUserExtSource`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}requestPreferredEmailChange(e,t,r,l,c,s,o="body",d=!1,u){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 h=new M.LE({encoder:this.encoder});null!=e&&(h=this.addToHttpParams(h,e,"user")),null!=t&&(h=this.addToHttpParams(h,t,"email")),null!=r&&(h=this.addToHttpParams(h,r,"lang")),null!=l&&(h=this.addToHttpParams(h,l,"linkPath")),null!=c&&(h=this.addToHttpParams(h,c,"customUrl")),null!=s&&(h=this.addToHttpParams(h,s,"idpFilter"));let b,f=this.defaultHeaders;b=this.configuration.lookupCredential("BasicAuth"),b&&(f=f.set("Authorization","Basic "+b)),b=this.configuration.lookupCredential("BearerAuth"),b&&(f=f.set("Authorization","Bearer "+b));let N=u&&u.httpHeaderAccept;void 0===N&&(N=this.configuration.selectHeaderAccept(["application/json"])),void 0!==N&&(f=f.set("Accept",N));let Q=u&&u.context;void 0===Q&&(Q=new M.qT);let fe="json";return N&&(fe=N.startsWith("text")?"text":this.configuration.isJsonMime(N)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/requestPreferredEmailChange`,null,{context:Q,params:h,responseType:fe,withCredentials:this.configuration.withCredentials,headers:f,observe:o,reportProgress:d})}reservePasswordForLogin(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForLogin was null or undefined when calling reservePasswordForLogin.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/login`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}reservePasswordForUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputReservePasswordForUser was null or undefined when calling reservePasswordForUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/reservePassword/user`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}reserveRandomPassword(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/reserveRandomPassword`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}setLogin(e,t,r,l="body",c=!1,s){if(null==e)throw new Error("Required parameter user was null or undefined when calling setLogin.");if(null==t)throw new Error("Required parameter login was null or undefined when calling setLogin.");if(null==r)throw new Error("Required parameter namespace was null or undefined when calling setLogin.");let o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"user")),null!=t&&(o=this.addToHttpParams(o,t,"login")),null!=r&&(o=this.addToHttpParams(o,r,"namespace"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/setLogin`,null,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}updateUser(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateUser was null or undefined when calling updateUser.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/usersManager/updateUser`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateUserExtSourceLastAccess(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter userExtSource was null or undefined when calling updateUserExtSourceLastAccess.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"userExtSource"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/updateUserExtSourceLastAccess`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}validatePasswordForLogin(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"login")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/login`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}validatePasswordForUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"user")),null!=t&&(s=this.addToHttpParams(s,t,"namespace"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePassword/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}validatePreferredEmailChangeWithToken(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"token")),null!=t&&(s=this.addToHttpParams(s,t,"u"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/usersManager/validatePreferredEmailChange`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Lt=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}getAppsConfig(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getAppsConfig`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getGuiConfiguration(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getGuiConfiguration`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunRPCVersion(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["text/plain"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatistics(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatistics`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunStatus(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunStatus`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getPerunSystemTimeInMillis(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/utils/getPerunSystemTimeInMillis`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ds=(()=>{class n{constructor(e,t,r){this.httpClient=e,this.basePath="https://perun.cesnet.cz/krb/rpc",this.defaultHeaders=new M.WM,this.configuration=new at,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 qe}addToHttpParams(e,t,r){return"object"!=typeof t||t instanceof Date?this.addToHttpParamsRecursive(e,t,r):this.addToHttpParamsRecursive(e,t)}addToHttpParamsRecursive(e,t,r){if(null==t)return e;if("object"==typeof t)if(Array.isArray(t))t.forEach(l=>e=this.addToHttpParamsRecursive(e,l,r));else if(t instanceof Date){if(null==r)throw Error("key may not be null if value is Date");e=e.append(r,t.toISOString().substr(0,10))}else Object.keys(t).forEach(l=>e=this.addToHttpParamsRecursive(e,t[l],null!=r?`${r}.${l}`:l));else{if(null==r)throw Error("key may not be null if value is not object or array");e=e.append(r,t)}return e}addMemberVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling addMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling addMemberVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addMemberVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addSponsorRoleToGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addSponsorRoleToUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addSponsorRole/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addVoAdminGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}addVoAdminUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/addAdmin/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createVoWithName(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"name")),null!=t&&(s=this.addToHttpParams(s,t,"shortName"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/createVo/withName`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}createVoWithVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputCreateVoWithVo was null or undefined when calling createVoWithVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/createVo/withVo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}deleteVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling deleteVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"force"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/deleteVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}findCandidates(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"id")),null!=t&&(o=this.addToHttpParams(o,t,"searchString")),null!=r&&(o=this.addToHttpParams(o,r,"maxNumOfResults"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}findCandidatesForGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"group")),null!=t&&(s=this.addToHttpParams(s,t,"searchString"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/findCandidates/forGroup`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getAllVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAllVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getCompleteCandidatesForGroup(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"group")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"searchString"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forGroup`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getCompleteCandidatesForVo(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),t&&t.forEach(N=>{o=this.addToHttpParams(o,N,"attrNames[]")}),null!=r&&(o=this.addToHttpParams(o,r,"searchString"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getCompleteCandidates/forVo`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getEnrichedVoById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getEnrichedVoById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVoById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMemberVos(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getMemberVos.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getMemberVos`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getMyEnrichedVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getEnrichedVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getMyVos(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVos`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}getParentVos(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getParentVos.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getParentVos`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getRichAdminsForVo(e,t,r,l,c,s="body",o=!1,d){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==l)throw new Error("Required parameter allUserAttributes was null or undefined when calling getRichAdminsForVo.");if(null==c)throw new Error("Required parameter onlyDirectAdmins was null or undefined when calling getRichAdminsForVo.");let u=new M.LE({encoder:this.encoder});null!=e&&(u=this.addToHttpParams(u,e,"vo")),null!=t&&(u=this.addToHttpParams(u,t,"role")),r&&r.forEach(fe=>{u=this.addToHttpParams(u,fe,"specificAttributes")}),null!=l&&(u=this.addToHttpParams(u,l,"allUserAttributes")),null!=c&&(u=this.addToHttpParams(u,c,"onlyDirectAdmins"));let f,h=this.defaultHeaders;f=this.configuration.lookupCredential("BasicAuth"),f&&(h=h.set("Authorization","Basic "+f)),f=this.configuration.lookupCredential("BearerAuth"),f&&(h=h.set("Authorization","Bearer "+f));let b=d&&d.httpHeaderAccept;void 0===b&&(b=this.configuration.selectHeaderAccept(["application/json"])),void 0!==b&&(h=h.set("Accept",b));let N=d&&d.context;void 0===N&&(N=new M.qT);let Q="json";return b&&(Q=b.startsWith("text")?"text":this.configuration.isJsonMime(b)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getRichAdmins`,{context:N,params:u,responseType:Q,withCredentials:this.configuration.withCredentials,headers:h,observe:s,reportProgress:o})}getVoAdminGroups(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"role"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdminGroups`,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}getVoAdminUsers(e,t,r,l="body",c=!1,s){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 o=new M.LE({encoder:this.encoder});null!=e&&(o=this.addToHttpParams(o,e,"vo")),null!=t&&(o=this.addToHttpParams(o,t,"role")),null!=r&&(o=this.addToHttpParams(o,r,"onlyDirectAdmins"));let u,d=this.defaultHeaders;u=this.configuration.lookupCredential("BasicAuth"),u&&(d=d.set("Authorization","Basic "+u)),u=this.configuration.lookupCredential("BearerAuth"),u&&(d=d.set("Authorization","Bearer "+u));let h=s&&s.httpHeaderAccept;void 0===h&&(h=this.configuration.selectHeaderAccept(["application/json"])),void 0!==h&&(d=d.set("Accept",h));let f=s&&s.context;void 0===f&&(f=new M.qT);let b="json";return h&&(b=h.startsWith("text")?"text":this.configuration.isJsonMime(h)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getAdmins`,{context:f,params:o,responseType:b,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}getVoBanById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling getVoBanById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoBanForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling getVoBanForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBanForMember`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoBansForVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoBansForVo.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getBansForVo`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoById(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVoById.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"id"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoById`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoByShortName(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter shortName was null or undefined when calling getVoByShortName.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"shortName"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoByShortName`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVoMembersCountsByStatus(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter vo was null or undefined when calling getVoMembersCountsByStatus.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"vo"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVoMembersCountsByStatus`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosByIds(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter ids was null or undefined when calling getVosByIds.");let c=new M.LE({encoder:this.encoder});e&&e.forEach(f=>{c=this.addToHttpParams(c,f,"ids[]")});let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosByIds`,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}getVosCount(e="body",t=!1,r){let c,l=this.defaultHeaders;c=this.configuration.lookupCredential("BasicAuth"),c&&(l=l.set("Authorization","Basic "+c)),c=this.configuration.lookupCredential("BearerAuth"),c&&(l=l.set("Authorization","Bearer "+c));let s=r&&r.httpHeaderAccept;void 0===s&&(s=this.configuration.selectHeaderAccept(["application/json"])),void 0!==s&&(l=l.set("Accept",s));let o=r&&r.context;void 0===o&&(o=new M.qT);let d="json";return s&&(d=s.startsWith("text")?"text":this.configuration.isJsonMime(s)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/json/vosManager/getVosCount`,{context:o,responseType:d,withCredentials:this.configuration.withCredentials,headers:l,observe:e,reportProgress:t})}removeMemberVo(e,t,r="body",l=!1,c){if(null==e)throw new Error("Required parameter vo was null or undefined when calling removeMemberVo.");if(null==t)throw new Error("Required parameter memberVo was null or undefined when calling removeMemberVo.");let s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"memberVo"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeMemberVo`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSponsorRoleFromGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeSponsorRoleFromUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeSponsorRole/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAdminGroup(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"authorizedGroup"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/group`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoAdminUser(e,t,r="body",l=!1,c){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 s=new M.LE({encoder:this.encoder});null!=e&&(s=this.addToHttpParams(s,e,"vo")),null!=t&&(s=this.addToHttpParams(s,t,"user"));let d,o=this.defaultHeaders;d=this.configuration.lookupCredential("BasicAuth"),d&&(o=o.set("Authorization","Basic "+d)),d=this.configuration.lookupCredential("BearerAuth"),d&&(o=o.set("Authorization","Bearer "+d));let u=c&&c.httpHeaderAccept;void 0===u&&(u=this.configuration.selectHeaderAccept(["application/json"])),void 0!==u&&(o=o.set("Accept",u));let h=c&&c.context;void 0===h&&(h=new M.qT);let f="json";return u&&(f=u.startsWith("text")?"text":this.configuration.isJsonMime(u)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeAdmin/user`,null,{context:h,params:s,responseType:f,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:l})}removeVoBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter banId was null or undefined when calling removeVoBan.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"banId"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBan`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}removeVoBanForMember(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter member was null or undefined when calling removeVoBanForMember.");let c=new M.LE({encoder:this.encoder});null!=e&&(c=this.addToHttpParams(c,e,"member"));let o,s=this.defaultHeaders;o=this.configuration.lookupCredential("BasicAuth"),o&&(s=s.set("Authorization","Basic "+o)),o=this.configuration.lookupCredential("BearerAuth"),o&&(s=s.set("Authorization","Bearer "+o));let d=l&&l.httpHeaderAccept;void 0===d&&(d=this.configuration.selectHeaderAccept(["application/json"])),void 0!==d&&(s=s.set("Accept",d));let u=l&&l.context;void 0===u&&(u=new M.qT);let h="json";return d&&(h=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/urlinjsonout/vosManager/removeBanForMember`,null,{context:u,params:c,responseType:h,withCredentials:this.configuration.withCredentials,headers:s,observe:t,reportProgress:r})}setVoBan(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputSetVoBan was null or undefined when calling setVoBan.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/setBan`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}updateVo(e,t="body",r=!1,l){if(null==e)throw new Error("Required parameter InputUpdateVo was null or undefined when calling updateVo.");let s,c=this.defaultHeaders;s=this.configuration.lookupCredential("BasicAuth"),s&&(c=c.set("Authorization","Basic "+s)),s=this.configuration.lookupCredential("BearerAuth"),s&&(c=c.set("Authorization","Bearer "+s));let o=l&&l.httpHeaderAccept;void 0===o&&(o=this.configuration.selectHeaderAccept(["application/json"])),void 0!==o&&(c=c.set("Accept",o));let d=l&&l.context;void 0===d&&(d=new M.qT);const h=this.configuration.selectHeaderContentType(["application/json"]);void 0!==h&&(c=c.set("Content-Type",h));let f="json";return o&&(f=o.startsWith("text")?"text":this.configuration.isJsonMime(o)?"json":"blob"),this.httpClient.post(`${this.configuration.basePath}/json/vosManager/updateVo`,e,{context:d,responseType:f,withCredentials:this.configuration.withCredentials,headers:c,observe:t,reportProgress:r})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(vi,8),i.LFG(at,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Nt=(()=>{return(n=Nt||(Nt={})).PERUNADMIN="PERUNADMIN",n.PERUNOBSERVER="PERUNOBSERVER",n.VOADMIN="VOADMIN",n.GROUPADMIN="GROUPADMIN",n.GROUPOBSERVER="GROUPOBSERVER",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",n.AUDITCONSUMERADMIN="AUDITCONSUMERADMIN",n.UNKNOWN="UNKNOWN",n.MEMBERSHIP="MEMBERSHIP",Nt;var n})();let ks=(()=>{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 r=this.fetchPolicyWithAllIncludedPolicies(e);let l=[];for(const s of r)l=l.concat(s.perunRoles);const c=this.fetchAllRelatedObjects(t);return this.resolveAuthorization(l,c)}principalHasRole(e,t,r){let l=t;return t.startsWith("Rich")&&(l=t.substring(4)),!(!this.principal.roles[e]||!this.principal.roles[e][l])&&this.principal.roles[e][l].includes(Number(r.toString()))}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.substring(4)),this.assignAvailableRoles(t,r);const l=new Map;this.setRolesAuthorization(t,e,l);for(const c of l.values())if(c.readAuth||c.manageAuth)return!0;return!1}setRolesAuthorization(e,t,r){for(const l of e){let c=[],s=[],o=[];for(const b of this.allRolesManagementRules)if(b.roleName===l){c=c.concat(b.privilegedRolesToRead),s=s.concat(b.privilegedRolesToManage);for(const N of Object.keys(b.entitiesToManage))o="User"===N?[N].concat(o):o.concat(N);break}const d=this.fetchAllRelatedObjects([t]),u=this.resolveAuthorization(c,d),h=this.resolveAuthorization(s,d);r.set(l,{readAuth:u,manageAuth:h,modes:o})}}initializeVariables(){this.principalRoles.clear(),this.editableFacilities=[],this.editableVos=[],this.members=[],this.editableGroups=[],this.observableVos=[],this.hasGroupInTheseVos=[]}getPrimaryObjectOfRole(e){for(const t of this.allRolesManagementRules)if(t.roleName===e)return t.primaryObject;return""}resolveAuthorization(e,t){for(const r of e){let l=!0;for(const c of Object.keys(r)){const s=r[c];if(null===s)this.principalRoles.has(c)||(l=!1);else if(t[s]){for(const o of t[s])if(!this.principalHasRole(c,s,o)){l=!1;break}}else l=!1;if(!l)break}if(l)return!0}return!1}getPerunPolicy(e){for(const t of this.perunPolicies)if(t.policyName===e)return t;return null}fetchAllRelatedObjects(e){const t={};for(const r of e){let l=r.beanName;switch(r.beanName.startsWith("Rich")&&(l=r.beanName.substring(4)),t[l]?t[l].push(r.id):t[l]=[r.id],l){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}fetchPolicyWithAllIncludedPolicies(e){const t=new Map;let r=[];for(r.push(e);0!==r.length;){const c=r.shift();if(t.has(c))continue;const s=this.getPerunPolicy(c);if(!s)return[];t.set(c,s),r=r.concat(s.includePolicies)}const l=[];for(const c of t.values())l.push(c);return l}voCustomSort(e){for(let t=0;t{(0,Ps.Xf)(n()).subscribe(a)})}var va=T(515),Wt=T(727),_r=T(4482),En=T(5403);function Rs(){return(0,_r.e)((n,a)=>{let e=null;n._refCount++;const t=(0,En.x)(a,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,l=e;e=null,r&&(!l||r===l)&&r.unsubscribe(),a.unsubscribe()});n.subscribe(t),t.closed||(e=n.connect())})}class Md extends an.y{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,_r.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,null==a||a.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new Wt.w0;const e=this.getSubject();a.add(this.source.subscribe((0,En.x)(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=Wt.w0.EMPTY)}return a}refCount(){return Rs()(this)}}var Ct=T(4004),Li=T(3900),Ut=T(5698),ul=T(3269);function hi(...n){const a=(0,ul.yG)(n);return(0,_r.e)((e,t)=>{(a?(0,Gr.z)(n,e,a):(0,Gr.z)(n,e)).subscribe(t)})}function wd(n,a,e,t,r){return(l,c)=>{let s=e,o=a,d=0;l.subscribe((0,En.x)(c,u=>{const h=d++;o=s?n(o,u,h):(s=!0,u),t&&c.next(o)},r&&(()=>{s&&c.next(o),c.complete()})))}}function Nn(n,a){return(0,_r.e)(wd(n,a,arguments.length>=2,!0))}var wn=T(262),Os=T(4351);function Is(n){return n<=0?()=>va.E:(0,_r.e)((a,e)=>{let t=[];a.subscribe((0,En.x)(e,r=>{t.push(r),n{for(const r of t)e.next(r);e.complete()},void 0,()=>{t=null}))})}var xi=T(8068),Bs=T(6590),Zr=T(4671),Dr=T(590),Vn=T(5577),Dt=T(8505);function B(n){return(0,_r.e)((a,e)=>{try{a.subscribe(e)}finally{e.add(n)}})}var U=T(8189);class I{constructor(a,e){this.id=a,this.url=e}}class J extends I{constructor(a,e,t="imperative",r=null){super(a,e),this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ne extends I{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Me extends I{constructor(a,e,t){super(a,e),this.reason=t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class He extends I{constructor(a,e,t){super(a,e),this.error=t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ct extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pi extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ai extends I{constructor(a,e,t,r,l){super(a,e),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=l}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Rt extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jt extends I{constructor(a,e,t,r){super(a,e),this.urlAfterRedirects=t,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji{constructor(a){this.route=a}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yi{constructor(a){this.route=a}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ki{constructor(a){this.snapshot=a}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ta{constructor(a){this.snapshot=a}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hr{constructor(a){this.snapshot=a}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(a){this.snapshot=a}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ja{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Ot="primary";class hl{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function $r(n){return new hl(n)}const Cd="ngNavigationCancelingError";function Xa(n){const a=Error("NavigationCancelingError: "+n);return a[Cd]=!0,a}function ke(n,a,e){const t=e.path.split("/");if(t.length>n.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[l]===r)}return n===a}function vd(n){return Array.prototype.concat.apply([],n)}function Mo(n){return n.length>0?n[n.length-1]:null}function Ji(n,a){for(const e in n)n.hasOwnProperty(e)&&a(n[e],e)}function br(n){return(0,i.CqO)(n)?n:(0,i.QGY)(n)?(0,Sn.D)(Promise.resolve(n)):(0,rt.of)(n)}const Si={exact:function Jr(n,a,e){if(!Lr(n.segments,a.segments)||!_c(n.segments,a.segments,e)||n.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!n.children[t]||!Jr(n.children[t],a.children[t],e))return!1;return!0},subset:Ns},pl={exact:function Dn(n,a){return lr(n,a)},subset:function Uu(n,a){return Object.keys(a).length<=Object.keys(n).length&&Object.keys(a).every(e=>$i(n[e],a[e]))},ignored:()=>!0};function fl(n,a,e){return Si[e.paths](n.root,a.root,e.matrixParams)&&pl[e.queryParams](n.queryParams,a.queryParams)&&!("exact"===e.fragment&&n.fragment!==a.fragment)}function Ns(n,a,e){return $n(n,a,a.segments,e)}function $n(n,a,e,t){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Lr(r,e)||a.hasChildren()||!_c(r,e,t))}if(n.segments.length===e.length){if(!Lr(n.segments,e)||!_c(n.segments,e,t))return!1;for(const r in a.children)if(!n.children[r]||!Ns(n.children[r],a.children[r],t))return!1;return!0}{const r=e.slice(0,n.segments.length),l=e.slice(n.segments.length);return!!(Lr(n.segments,r)&&_c(n.segments,r,t)&&n.children[Ot])&&$n(n.children[Ot],a,l,t)}}function _c(n,a,e){return a.every((t,r)=>pl[e](n[r].parameters,t.parameters))}class Qa{constructor(a,e,t){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$r(this.queryParams)),this._queryParamMap}toString(){return bc.serialize(this)}}class Gt{constructor(a,e){this.segments=a,this.children=e,this.parent=null,Ji(e,(t,r)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sa(this)}}class Ka{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=$r(this.parameters)),this._parameterMap}toString(){return Hn(this)}}function Lr(n,a){return n.length===a.length&&n.every((e,t)=>e.path===a[t].path)}class ml{}class Zu{parse(a){const e=new bl(a);return new Qa(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${es(a.root,!0)}`,t=function Bi(n){const a=Object.keys(n).map(e=>{const t=n[e];return Array.isArray(t)?t.map(r=>`${gl(e)}=${gl(r)}`).join("&"):`${gl(e)}=${gl(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function $u(n){return encodeURI(n)}(a.fragment)}`:""}`}}const bc=new Zu;function Sa(n){return n.segments.map(a=>Hn(a)).join("/")}function es(n,a){if(!n.hasChildren())return Sa(n);if(a){const e=n.children[Ot]?es(n.children[Ot],!1):"",t=[];return Ji(n.children,(r,l)=>{l!==Ot&&t.push(`${l}:${es(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function Gu(n,a){let e=[];return Ji(n.children,(t,r)=>{r===Ot&&(e=e.concat(a(t,r)))}),Ji(n.children,(t,r)=>{r!==Ot&&(e=e.concat(a(t,r)))}),e}(n,(t,r)=>r===Ot?[es(n.children[Ot],!1)]:[`${r}:${es(t,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Ot]?`${Sa(n)}/${e[0]}`:`${Sa(n)}/(${e.join("//")})`}}function Td(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gl(n){return Td(n).replace(/%3B/gi,";")}function Co(n){return Td(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ac(n){return decodeURIComponent(n)}function Ju(n){return Ac(n.replace(/\+/g,"%20"))}function Hn(n){return`${Co(n.path)}${function ts(n){return Object.keys(n).map(a=>`;${Co(a)}=${Co(n[a])}`).join("")}(n.parameters)}`}const Xu=/^[^\/()?;=#]+/;function _l(n){const a=n.match(Xu);return a?a[0]:""}const Qu=/^[^=?&#]+/,kr=/^[^&#]+/;class bl{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Gt([],{}):new Gt([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[Ot]=new Gt(a,e)),t}parseSegment(){const a=_l(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(a),new Ka(Ac(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=_l(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const r=_l(this.remaining);r&&(t=r,this.capture(t))}a[Ac(e)]=Ac(t)}parseQueryParam(a){const e=function lf(n){const a=n.match(Qu);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const c=function Vs(n){const a=n.match(kr);return a?a[0]:""}(this.remaining);c&&(t=c,this.capture(t))}const r=Ju(e),l=Ju(t);if(a.hasOwnProperty(r)){let c=a[r];Array.isArray(c)||(c=[c],a[r]=c),c.push(l)}else a[r]=l}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=_l(this.remaining),r=this.remaining[t.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let l;t.indexOf(":")>-1?(l=t.substr(0,t.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=Ot);const c=this.parseChildren();e[l]=1===Object.keys(c).length?c[Ot]:new Gt([],c),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Error(`Expected "${a}".`)}}class Al{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=zs(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=zs(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=vo(a,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==a)}pathFromRoot(a){return vo(a,this._root).map(e=>e.value)}}function zs(n,a){if(n===a.value)return a;for(const e of a.children){const t=zs(n,e);if(t)return t}return null}function vo(n,a){if(n===a.value)return[a];for(const e of a.children){const t=vo(n,e);if(t.length)return t.unshift(a),t}return[]}class Xr{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function To(n){const a={};return n&&n.children.forEach(e=>a[e.value.outlet]=e),a}class Qr extends Al{constructor(a,e){super(a),this.snapshot=e,eh(this,a)}toString(){return this.snapshot.toString()}}function xo(n,a){const e=function cf(n,a){const c=new yc([],{},{},"",{},Ot,a,null,n.root,-1,{});return new Ku("",new Xr(c,[]))}(n,a),t=new rn([new Ka("",{})]),r=new rn({}),l=new rn({}),c=new rn({}),s=new rn(""),o=new Jn(t,r,c,s,l,Ot,a,e.root);return o.snapshot=e.root,new Qr(new Xr(o,[]),e)}class Jn{constructor(a,e,t,r,l,c,s,o){this.url=a,this.params=e,this.queryParams=t,this.fragment=r,this.data=l,this.outlet=c,this.component=s,this._futureSnapshot=o}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,Ct.U)(a=>$r(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ct.U)(a=>$r(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function So(n,a="emptyOnly"){const e=n.pathFromRoot;let t=0;if("always"!==a)for(t=e.length-1;t>=1;){const r=e[t],l=e[t-1];if(r.routeConfig&&""===r.routeConfig.path)t--;else{if(l.component)break;t--}}return function xd(n){return n.reduce((a,e)=>({params:Object.assign(Object.assign({},a.params),e.params),data:Object.assign(Object.assign({},a.data),e.data),resolve:Object.assign(Object.assign({},a.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(t))}class yc{constructor(a,e,t,r,l,c,s,o,d,u,h){this.url=a,this.params=e,this.queryParams=t,this.fragment=r,this.data=l,this.outlet=c,this.component=s,this.routeConfig=o,this._urlSegment=d,this._lastPathIndex=u,this._resolve=h}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=$r(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$r(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ku extends Al{constructor(a,e){super(e),this.url=a,eh(this,e)}toString(){return df(this._root)}}function eh(n,a){a.value._routerState=n,a.children.forEach(e=>eh(n,e))}function df(n){const a=n.children.length>0?` { ${n.children.map(df).join(", ")} } `:"";return`${n.value}${a}`}function Eo(n){if(n.snapshot){const a=n.snapshot,e=n._futureSnapshot;n.snapshot=e,lr(a.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),a.fragment!==e.fragment&&n.fragment.next(e.fragment),lr(a.params,e.params)||n.params.next(e.params),function Qt(n,a){if(n.length!==a.length)return!1;for(let e=0;elr(e.parameters,a[t].parameters))}(n.url,a.url);return e&&!(!n.parent!=!a.parent)&&(!n.parent||Mc(n.parent,a.parent))}function is(n,a,e){if(e&&n.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const r=function th(n,a,e){return a.children.map(t=>{for(const r of e.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return is(n,t,r);return is(n,t)})}(n,a,e);return new Xr(t,r)}{if(n.shouldAttach(a.value)){const l=n.retrieve(a.value);if(null!==l){const c=l.route;return c.value._futureSnapshot=a.value,c.children=a.children.map(s=>is(n,s)),c}}const t=function yl(n){return new Jn(new rn(n.url),new rn(n.params),new rn(n.queryParams),new rn(n.fragment),new rn(n.data),n.outlet,n.component,n)}(a.value),r=a.children.map(l=>is(n,l));return new Xr(t,r)}}function wc(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Kr(n){return"object"==typeof n&&null!=n&&n.outlets}function Ml(n,a,e,t,r){let l={};return t&&Ji(t,(c,s)=>{l[s]=Array.isArray(c)?c.map(o=>`${o}`):`${c}`}),new Qa(e.root===n?a:wl(e.root,n,a),l,r)}function wl(n,a,e){const t={};return Ji(n.children,(r,l)=>{t[l]=r===a?e:wl(r,a,e)}),new Gt(n.segments,t)}class uf{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&wc(t[0]))throw new Error("Root segment cannot have matrix parameters");const r=t.find(Kr);if(r&&r!==Mo(t))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Cc{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function Fs(n,a,e){if(n||(n=new Gt([],{})),0===n.segments.length&&n.hasChildren())return Pr(n,a,e);const t=function js(n,a,e){let t=0,r=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return l;const c=n.segments[r],s=e[t];if(Kr(s))break;const o=`${s}`,d=t0&&void 0===o)break;if(o&&d&&"object"==typeof d&&void 0===d.outlets){if(!Tc(o,d,c))return l;t+=2}else{if(!Tc(o,{},c))return l;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}(n,a,e),r=e.slice(t.commandIndex);if(t.match&&t.pathIndex{"string"==typeof l&&(l=[l]),null!==l&&(r[c]=Fs(n.children[c],a,l))}),Ji(n.children,(l,c)=>{void 0===t[c]&&(r[c]=l)}),new Gt(n.segments,r)}}function qs(n,a,e){const t=n.segments.slice(0,a);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(a[t]=qs(new Gt([],{}),0,e))}),a}function vc(n){const a={};return Ji(n,(e,t)=>a[t]=`${e}`),a}function Tc(n,a,e){return n==e.path&&lr(a,e.parameters)}class sh{constructor(a,e,t,r){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=r}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),Eo(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const r=To(e);a.children.forEach(l=>{const c=l.value.outlet;this.deactivateRoutes(l,r[c],t),delete r[c]}),Ji(r,(l,c)=>{this.deactivateRouteAndItsChildren(l,t)})}deactivateRoutes(a,e,t){const r=a.value,l=e?e.value:null;if(r===l)if(r.component){const c=t.getContext(r.outlet);c&&this.deactivateChildRoutes(a,e,c.children)}else this.deactivateChildRoutes(a,e,t);else l&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),r=t&&a.value.component?t.children:e,l=To(a);for(const c of Object.keys(l))this.deactivateRouteAndItsChildren(l[c],r);if(t&&t.outlet){const c=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:c,route:a,contexts:s})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),r=t&&a.value.component?t.children:e,l=To(a);for(const c of Object.keys(l))this.deactivateRouteAndItsChildren(l[c],r);t&&t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated(),t.attachRef=null,t.resolver=null,t.route=null)}activateChildRoutes(a,e,t){const r=To(e);a.children.forEach(l=>{this.activateRoutes(l,r[l.value.outlet],t),this.forwardEvent(new yt(l.value.snapshot))}),a.children.length&&this.forwardEvent(new Ta(a.value.snapshot))}activateRoutes(a,e,t){const r=a.value,l=e?e.value:null;if(Eo(r),r===l)if(r.component){const c=t.getOrCreateContext(r.outlet);this.activateChildRoutes(a,e,c.children)}else this.activateChildRoutes(a,e,t);else if(r.component){const c=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),c.children.onOutletReAttached(s.contexts),c.attachRef=s.componentRef,c.route=s.route.value,c.outlet&&c.outlet.attach(s.componentRef,s.route.value),Eo(s.route.value),this.activateChildRoutes(a,null,c.children)}else{const s=function hf(n){for(let a=n.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),o=s?s.module.componentFactoryResolver:null;c.attachRef=null,c.route=r,c.resolver=o,c.outlet&&c.outlet.activateWith(r,o),this.activateChildRoutes(a,null,c.children)}}else this.activateChildRoutes(a,null,t)}}class Ed{constructor(a,e){this.routes=a,this.module=e}}function Rr(n){return"function"==typeof n}function Ys(n){return n instanceof Qa}const Ws=Symbol("INITIAL_VALUE");function Us(){return(0,Li.w)(n=>(0,yo.a)(n.map(a=>a.pipe((0,Ut.q)(1),hi(Ws)))).pipe(Nn((a,e)=>{let t=!1;return e.reduce((r,l,c)=>r!==Ws?r:(l===Ws&&(t=!0),t||!1!==l&&c!==e.length-1&&!Ys(l)?r:l),a)},Ws),(0,Ft.h)(a=>a!==Ws),(0,Ct.U)(a=>Ys(a)?a:!0===a),(0,Ut.q)(1)))}class Po{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ea,this.attachRef=null}}class ea{constructor(){this.contexts=new Map}onChildOutletCreated(a,e){const t=this.getOrCreateContext(a);t.outlet=e,this.contexts.set(a,t)}onChildOutletDestroyed(a){const e=this.getContext(a);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let e=this.getContext(a);return e||(e=new Po,this.contexts.set(a,e)),e}getContext(a){return this.contexts.get(a)||null}}let Ar=(()=>{class n{constructor(e,t,r,l,c){this.parentContexts=e,this.location=t,this.resolver=r,this.changeDetector=c,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=l||Ot,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 c=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,o=new dh(e,s,this.location.injector);this.activated=this.location.createComponent(c,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ea),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 dh{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===Jn?this.route:a===ea?this.childContexts:this.parent.get(a,e)}}let xc=(()=>{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:[Ar],encapsulation:2}),n})();function Gs(n,a=""){for(let e=0;eXn(t)===a);return e.push(...n.filter(t=>Xn(t)!==a)),e}const mf={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Dd(n,a,e){var t;if(""===a.path)return"full"===a.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},mf):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const l=(a.matcher||ke)(e,n,a);if(!l)return Object.assign({},mf);const c={};Ji(l.posParams,(o,d)=>{c[d]=o.path});const s=l.consumed.length>0?Object.assign(Object.assign({},c),l.consumed[l.consumed.length-1].parameters):c;return{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:s,positionalParamSegments:null!==(t=l.posParams)&&void 0!==t?t:{}}}function vl(n,a,e,t,r="corrected"){if(e.length>0&&function Tl(n,a,e){return e.some(t=>Ni(n,a,t)&&Xn(t)!==Ot)}(n,e,t)){const c=new Gt(a,function Eg(n,a,e,t){const r={};r[Ot]=t,t._sourceSegment=n,t._segmentIndexShift=a.length;for(const l of e)if(""===l.path&&Xn(l)!==Ot){const c=new Gt([],{});c._sourceSegment=n,c._segmentIndexShift=a.length,r[Xn(l)]=c}return r}(n,a,t,new Gt(e,n.children)));return c._sourceSegment=n,c._segmentIndexShift=a.length,{segmentGroup:c,slicedSegments:[]}}if(0===e.length&&function Dg(n,a,e){return e.some(t=>Ni(n,a,t))}(n,e,t)){const c=new Gt(n.segments,function Hd(n,a,e,t,r,l){const c={};for(const s of t)if(Ni(n,e,s)&&!r[Xn(s)]){const o=new Gt([],{});o._sourceSegment=n,o._segmentIndexShift="legacy"===l?n.segments.length:a.length,c[Xn(s)]=o}return Object.assign(Object.assign({},r),c)}(n,a,e,t,n.children,r));return c._sourceSegment=n,c._segmentIndexShift=a.length,{segmentGroup:c,slicedSegments:e}}const l=new Gt(n.segments,n.children);return l._sourceSegment=n,l._segmentIndexShift=a.length,{segmentGroup:l,slicedSegments:e}}function Ni(n,a,e){return(!(n.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}function Sc(n,a,e,t){return!!(Xn(n)===t||t!==Ot&&Ni(a,e,n))&&("**"===n.path||Dd(a,n,e).matched)}function Ro(n,a,e){return 0===a.length&&!n.children[e]}class xl{constructor(a){this.segmentGroup=a||null}}class uh{constructor(a){this.urlTree=a}}function zn(n){return new an.y(a=>a.error(new xl(n)))}function yr(n){return new an.y(a=>a.error(new uh(n)))}function hh(n){return new an.y(a=>a.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class Ea{constructor(a,e,t,r,l){this.configLoader=e,this.urlSerializer=t,this.urlTree=r,this.config=l,this.allowRedirects=!0,this.ngModule=a.get(i.h0i)}apply(){const a=vl(this.urlTree.root,[],[],this.config).segmentGroup,e=new Gt(a.segments,a.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Ot).pipe((0,Ct.U)(l=>this.createUrlTree(Ld(l),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,wn.K)(l=>{if(l instanceof uh)return this.allowRedirects=!1,this.match(l.urlTree);throw l instanceof xl?this.noMatchError(l):l}))}match(a){return this.expandSegmentGroup(this.ngModule,this.config,a.root,Ot).pipe((0,Ct.U)(r=>this.createUrlTree(Ld(r),a.queryParams,a.fragment))).pipe((0,wn.K)(r=>{throw r instanceof xl?this.noMatchError(r):r}))}noMatchError(a){return new Error(`Cannot match any routes. URL Segment: '${a.segmentGroup}'`)}createUrlTree(a,e,t){const r=a.segments.length>0?new Gt([],{[Ot]:a}):a;return new Qa(r,e,t)}expandSegmentGroup(a,e,t,r){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(a,e,t).pipe((0,Ct.U)(l=>new Gt([],l))):this.expandSegment(a,t,e,t.segments,r,!0)}expandChildren(a,e,t){const r=[];for(const l of Object.keys(t.children))"primary"===l?r.unshift(l):r.push(l);return(0,Sn.D)(r).pipe((0,Os.b)(l=>{const c=t.children[l],s=ff(e,l);return this.expandSegmentGroup(a,s,c,l).pipe((0,Ct.U)(o=>({segment:o,outlet:l})))}),Nn((l,c)=>(l[c.outlet]=c.segment,l),{}),function gc(n,a){const e=arguments.length>=2;return t=>t.pipe(n?(0,Ft.h)((r,l)=>n(r,l,t)):Zr.y,Is(1),e?(0,Bs.d)(a):(0,xi.T)(()=>new dl.K))}())}expandSegment(a,e,t,r,l,c){return(0,Sn.D)(t).pipe((0,Os.b)(s=>this.expandSegmentAgainstRoute(a,e,t,s,r,l,c).pipe((0,wn.K)(d=>{if(d instanceof xl)return(0,rt.of)(null);throw d}))),(0,Dr.P)(s=>!!s),(0,wn.K)((s,o)=>{if(s instanceof dl.K||"EmptyError"===s.name){if(Ro(e,r,l))return(0,rt.of)(new Gt([],{}));throw new xl(e)}throw s}))}expandSegmentAgainstRoute(a,e,t,r,l,c,s){return Sc(r,e,l,c)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(a,e,r,l,c):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c):zn(e):zn(e)}expandSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,t,r,c):this.expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,e,t,r){const l=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?yr(l):this.lineralizeSegments(t,l).pipe((0,Vn.z)(c=>{const s=new Gt(c,{});return this.expandSegment(a,s,e,c,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,e,t,r,l,c){const{matched:s,consumedSegments:o,lastChild:d,positionalParamSegments:u}=Dd(e,r,l);if(!s)return zn(e);const h=this.applyRedirectCommands(o,r.redirectTo,u);return r.redirectTo.startsWith("/")?yr(h):this.lineralizeSegments(r,h).pipe((0,Vn.z)(f=>this.expandSegment(a,e,t,f.concat(l.slice(d)),c,!1)))}matchSegmentAgainstRoute(a,e,t,r,l){if("**"===t.path)return t.loadChildren?(t._loadedConfig?(0,rt.of)(t._loadedConfig):this.configLoader.load(a.injector,t)).pipe((0,Ct.U)(f=>(t._loadedConfig=f,new Gt(r,{})))):(0,rt.of)(new Gt(r,{}));const{matched:c,consumedSegments:s,lastChild:o}=Dd(e,t,r);if(!c)return zn(e);const d=r.slice(o);return this.getChildConfig(a,t,r).pipe((0,Vn.z)(h=>{const f=h.module,b=h.routes,{segmentGroup:N,slicedSegments:Q}=vl(e,s,d,b),fe=new Gt(N.segments,N.children);if(0===Q.length&&fe.hasChildren())return this.expandChildren(f,b,fe).pipe((0,Ct.U)(ei=>new Gt(s,ei)));if(0===b.length&&0===Q.length)return(0,rt.of)(new Gt(s,{}));const je=Xn(t)===l;return this.expandSegment(f,fe,b,Q,je?Ot:l,!0).pipe((0,Ct.U)(gt=>new Gt(s.concat(gt.segments),gt.children)))}))}getChildConfig(a,e,t){return e.children?(0,rt.of)(new Ed(e.children,a)):e.loadChildren?void 0!==e._loadedConfig?(0,rt.of)(e._loadedConfig):this.runCanLoadGuards(a.injector,e,t).pipe((0,Vn.z)(r=>r?this.configLoader.load(a.injector,e).pipe((0,Ct.U)(l=>(e._loadedConfig=l,l))):function Ec(n){return new an.y(a=>a.error(Xa(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):(0,rt.of)(new Ed([],a))}runCanLoadGuards(a,e,t){const r=e.canLoad;if(!r||0===r.length)return(0,rt.of)(!0);const l=r.map(c=>{const s=a.get(c);let o;if(function oh(n){return n&&Rr(n.canLoad)}(s))o=s.canLoad(e,t);else{if(!Rr(s))throw new Error("Invalid CanLoad guard");o=s(e,t)}return br(o)});return(0,rt.of)(l).pipe(Us(),(0,Dt.b)(c=>{if(!Ys(c))return;const s=Xa(`Redirecting to "${this.urlSerializer.serialize(c)}"`);throw s.url=c,s}),(0,Ct.U)(c=>!0===c))}lineralizeSegments(a,e){let t=[],r=e.root;for(;;){if(t=t.concat(r.segments),0===r.numberOfChildren)return(0,rt.of)(t);if(r.numberOfChildren>1||!r.children[Ot])return hh(a.redirectTo);r=r.children[Ot]}}applyRedirectCommands(a,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),a,t)}applyRedirectCreatreUrlTree(a,e,t,r){const l=this.createSegmentGroup(a,e.root,t,r);return new Qa(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return Ji(a,(r,l)=>{if("string"==typeof r&&r.startsWith(":")){const s=r.substring(1);t[l]=e[s]}else t[l]=r}),t}createSegmentGroup(a,e,t,r){const l=this.createSegments(a,e.segments,t,r);let c={};return Ji(e.children,(s,o)=>{c[o]=this.createSegmentGroup(a,s,t,r)}),new Gt(l,c)}createSegments(a,e,t,r){return e.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,r):this.findOrReturn(l,t))}findPosParam(a,e,t){const r=t[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${a}'. Cannot find '${e.path}'.`);return r}findOrReturn(a,e){let t=0;for(const r of e){if(r.path===a.path)return e.splice(t),r;t++}return a}}function Ld(n){const a={};for(const t of Object.keys(n.children)){const l=Ld(n.children[t]);(l.segments.length>0||l.hasChildren())&&(a[t]=l)}return function ph(n){if(1===n.numberOfChildren&&n.children[Ot]){const a=n.children[Ot];return new Gt(n.segments.concat(a.segments),a.children)}return n}(new Gt(n.segments,a))}class gf{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class Fe{constructor(a,e){this.component=a,this.route=e}}function cr(n,a,e){const t=n._root;return Da(t,a?a._root:null,e,[t.value])}function ta(n,a,e){const t=function si(n){if(!n)return null;for(let a=n.parent;a;a=a.parent){const e=a.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(a);return(t?t.module.injector:e).get(n)}function Da(n,a,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const l=To(a);return n.children.forEach(c=>{(function fh(n,a,e,t,r={canDeactivateChecks:[],canActivateChecks:[]}){const l=n.value,c=a?a.value:null,s=e?e.getContext(n.value.outlet):null;if(c&&l.routeConfig===c.routeConfig){const o=function Pd(n,a,e){if("function"==typeof e)return e(n,a);switch(e){case"pathParamsChange":return!Lr(n.url,a.url);case"pathParamsOrQueryParamsChange":return!Lr(n.url,a.url)||!lr(n.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mc(n,a)||!lr(n.queryParams,a.queryParams);default:return!Mc(n,a)}}(c,l,l.routeConfig.runGuardsAndResolvers);o?r.canActivateChecks.push(new gf(t)):(l.data=c.data,l._resolvedData=c._resolvedData),Da(n,a,l.component?s?s.children:null:e,t,r),o&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Fe(s.outlet.component,c))}else c&&El(a,s,r),r.canActivateChecks.push(new gf(t)),Da(n,null,l.component?s?s.children:null:e,t,r)})(c,l[c.value.outlet],e,t.concat([c.value]),r),delete l[c.value.outlet]}),Ji(l,(c,s)=>El(c,e.getContext(s),r)),r}function El(n,a,e){const t=To(n),r=n.value;Ji(t,(l,c)=>{El(l,r.component?a?a.children.getContext(c):null:a,e)}),e.canDeactivateChecks.push(new Fe(r.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,r))}class Dc{}function Id(n){return new an.y(a=>a.error(n))}class gh{constructor(a,e,t,r,l,c){this.rootComponentType=a,this.config=e,this.urlTree=t,this.url=r,this.paramsInheritanceStrategy=l,this.relativeLinkResolution=c}recognize(){const a=vl(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,a,Ot);if(null===e)return null;const t=new yc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ot,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Xr(t,e),l=new Ku(this.url,r);return this.inheritParamsAndData(l._root),l}inheritParamsAndData(a){const e=a.value,t=So(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),a.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(a,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(a,e):this.processSegment(a,e,e.segments,t)}processChildren(a,e){const t=[];for(const l of Object.keys(e.children)){const c=e.children[l],s=ff(a,l),o=this.processSegmentGroup(s,c,l);if(null===o)return null;t.push(...o)}const r=Or(t);return function Hc(n){n.sort((a,e)=>a.value.outlet===Ot?-1:e.value.outlet===Ot?1:a.value.outlet.localeCompare(e.value.outlet))}(r),r}processSegment(a,e,t,r){for(const l of a){const c=this.processSegmentAgainstRoute(l,e,t,r);if(null!==c)return c}return Ro(e,t,r)?[]:null}processSegmentAgainstRoute(a,e,t,r){if(a.redirectTo||!Sc(a,e,t,r))return null;let l,c=[],s=[];if("**"===a.path){const b=t.length>0?Mo(t).parameters:{};l=new yc(t,b,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(a),Xn(a),a.component,a,sn(e),Bd(e)+t.length,Lc(a))}else{const b=Dd(e,a,t);if(!b.matched)return null;c=b.consumedSegments,s=t.slice(b.lastChild),l=new yc(c,b.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,_h(a),Xn(a),a.component,a,sn(e),Bd(e)+c.length,Lc(a))}const o=function yf(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(a),{segmentGroup:d,slicedSegments:u}=vl(e,c,s,o.filter(b=>void 0===b.redirectTo),this.relativeLinkResolution);if(0===u.length&&d.hasChildren()){const b=this.processChildren(o,d);return null===b?null:[new Xr(l,b)]}if(0===o.length&&0===u.length)return[new Xr(l,[])];const h=Xn(a)===r,f=this.processSegment(o,d,u,h?Ot:r);return null===f?null:[new Xr(l,f)]}}function Dl(n){const a=n.value.routeConfig;return a&&""===a.path&&void 0===a.redirectTo}function Or(n){const a=[],e=new Set;for(const t of n){if(!Dl(t)){a.push(t);continue}const r=a.find(l=>t.value.routeConfig===l.value.routeConfig);void 0!==r?(r.children.push(...t.children),e.add(r)):a.push(t)}for(const t of e){const r=Or(t.children);a.push(new Xr(t.value,r))}return a.filter(t=>!e.has(t))}function sn(n){let a=n;for(;a._sourceSegment;)a=a._sourceSegment;return a}function Bd(n){let a=n,e=a._segmentIndexShift?a._segmentIndexShift:0;for(;a._sourceSegment;)a=a._sourceSegment,e+=a._segmentIndexShift?a._segmentIndexShift:0;return e-1}function _h(n){return n.data||{}}function Lc(n){return n.resolve||{}}function Io(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function ia(n){return(0,Li.w)(a=>{const e=n(a);return e?(0,Sn.D)(e).pipe((0,Ct.U)(()=>a)):(0,rt.of)(a)})}class bh extends class vf{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}{}const Ll=new i.OlP("ROUTES");class kl{constructor(a,e,t,r){this.injector=a,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=r}load(a,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const r=this.loadModuleFactory(e.loadChildren).pipe((0,Ct.U)(l=>{this.onLoadEndListener&&this.onLoadEndListener(e);const c=l.create(a);return new Ed(vd(c.injector.get(Ll,void 0,i.XFs.Self|i.XFs.Optional)).map(Pi),c)}),(0,wn.K)(l=>{throw e._loader$=void 0,l}));return e._loader$=new Md(r,()=>new Ie.x).pipe(Rs()),e._loader$}loadModuleFactory(a){return br(a()).pipe((0,Vn.z)(e=>e instanceof i.YKP?(0,rt.of)(e):(0,Sn.D)(this.compiler.compileModuleAsync(e))))}}class Tf{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,e){return a}}function xf(n){throw n}function Qn(n,a,e){return a.parse("/")}function Ir(n,a){return(0,rt.of)(null)}const Sf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Pg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mi=(()=>{class n{constructor(e,t,r,l,c,s,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=r,this.location=l,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie.x,this.errorHandler=xf,this.malformedUriErrorHandler=Qn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ir,afterPreactivation:Ir},this.urlHandlingStrategy=new Tf,this.routeReuseStrategy=new bh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=c.get(i.h0i),this.console=c.get(i.c2e);const h=c.get(i.R0b);this.isNgZoneEnabled=h instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(o),this.currentUrlTree=function sf(){return new Qa(new Gt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new kl(c,s,f=>this.triggerEvent(new ji(f)),f=>this.triggerEvent(new yi(f))),this.routerState=xo(this.currentUrlTree,this.rootComponentType),this.transitions=new rn({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,Ft.h)(r=>0!==r.id),(0,Ct.U)(r=>Object.assign(Object.assign({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),(0,Li.w)(r=>{let l=!1,c=!1;return(0,rt.of)(r).pipe((0,Dt.b)(s=>{this.currentNavigation={id:s.id,initialUrl:s.currentRawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Li.w)(s=>{const o=this.browserUrlTree.toString(),d=!this.navigated||s.extractedUrl.toString()!==o||o!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||d)&&this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Nd(s.source)&&(this.browserUrlTree=s.extractedUrl),(0,rt.of)(s).pipe((0,Li.w)(h=>{const f=this.transitions.getValue();return t.next(new J(h.id,this.serializeUrl(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions.getValue()?va.E:Promise.resolve(h)}),function Hg(n,a,e,t){return(0,Li.w)(r=>function Sl(n,a,e,t,r){return new Ea(n,a,e,t,r).apply()}(n,a,e,r.extractedUrl,t).pipe((0,Ct.U)(l=>Object.assign(Object.assign({},r),{urlAfterRedirects:l}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Dt.b)(h=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:h.urlAfterRedirects})}),function Hl(n,a,e,t,r){return(0,Vn.z)(l=>function Af(n,a,e,t,r="emptyOnly",l="legacy"){try{const c=new gh(n,a,e,t,r,l).recognize();return null===c?Id(new Dc):(0,rt.of)(c)}catch(c){return Id(c)}}(n,a,l.urlAfterRedirects,e(l.urlAfterRedirects),t,r).pipe((0,Ct.U)(c=>Object.assign(Object.assign({},l),{targetSnapshot:c}))))}(this.rootComponentType,this.config,h=>this.serializeUrl(h),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Dt.b)(h=>{if("eager"===this.urlUpdateStrategy){if(!h.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(h.urlAfterRedirects,h.rawUrl);this.setBrowserUrl(b,h)}this.browserUrlTree=h.urlAfterRedirects}const f=new ct(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(h.urlAfterRedirects),h.targetSnapshot);t.next(f)}));if(d&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:b,source:N,restoredState:Q,extras:fe}=s,je=new J(f,this.serializeUrl(b),N,Q);t.next(je);const Mt=xo(b,this.rootComponentType).snapshot;return(0,rt.of)(Object.assign(Object.assign({},s),{targetSnapshot:Mt,urlAfterRedirects:b,extras:Object.assign(Object.assign({},fe),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=s.rawUrl,s.resolve(null),va.E}),ia(s=>{const{targetSnapshot:o,id:d,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.beforePreactivation(o,{navigationId:d,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Dt.b)(s=>{const o=new pi(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot);this.triggerEvent(o)}),(0,Ct.U)(s=>Object.assign(Object.assign({},s),{guards:cr(s.targetSnapshot,s.currentSnapshot,this.rootContexts)})),function _f(n,a){return(0,Vn.z)(e=>{const{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:l,canDeactivateChecks:c}}=e;return 0===c.length&&0===l.length?(0,rt.of)(Object.assign(Object.assign({},e),{guardsResult:!0})):function bf(n,a,e,t){return(0,Sn.D)(n).pipe((0,Vn.z)(r=>function Od(n,a,e,t,r){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;if(!l||0===l.length)return(0,rt.of)(!0);const c=l.map(s=>{const o=ta(s,a,r);let d;if(function ch(n){return n&&Rr(n.canDeactivate)}(o))d=br(o.canDeactivate(n,a,e,t));else{if(!Rr(o))throw new Error("Invalid CanDeactivate guard");d=br(o(n,a,e,t))}return d.pipe((0,Dr.P)())});return(0,rt.of)(c).pipe(Us())}(r.component,r.route,e,a,t)),(0,Dr.P)(r=>!0!==r,!0))}(c,t,r,n).pipe((0,Vn.z)(s=>s&&function Cl(n){return"boolean"==typeof n}(s)?function mh(n,a,e,t){return(0,Sn.D)(a).pipe((0,Os.b)(r=>(0,Gr.z)(function Mr(n,a){return null!==n&&a&&a(new ki(n)),(0,rt.of)(!0)}(r.route.parent,t),function Rd(n,a){return null!==n&&a&&a(new Hr(n)),(0,rt.of)(!0)}(r.route,t),function Oo(n,a,e){const t=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(c=>function kd(n){const a=n.routeConfig?n.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:n,guards:a}:null}(c)).filter(c=>null!==c).map(c=>Ca(()=>{const s=c.guards.map(o=>{const d=ta(o,c.node,e);let u;if(function ko(n){return n&&Rr(n.canActivateChild)}(d))u=br(d.canActivateChild(t,n));else{if(!Rr(d))throw new Error("Invalid CanActivateChild guard");u=br(d(t,n))}return u.pipe((0,Dr.P)())});return(0,rt.of)(s).pipe(Us())}));return(0,rt.of)(l).pipe(Us())}(n,r.path,e),function Lg(n,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return(0,rt.of)(!0);const r=t.map(l=>Ca(()=>{const c=ta(l,a,e);let s;if(function lh(n){return n&&Rr(n.canActivate)}(c))s=br(c.canActivate(a,n));else{if(!Rr(c))throw new Error("Invalid CanActivate guard");s=br(c(a,n))}return s.pipe((0,Dr.P)())}));return(0,rt.of)(r).pipe(Us())}(n,r.route,e))),(0,Dr.P)(r=>!0!==r,!0))}(t,l,n,a):(0,rt.of)(s)),(0,Ct.U)(s=>Object.assign(Object.assign({},e),{guardsResult:s})))})}(this.ngModule.injector,s=>this.triggerEvent(s)),(0,Dt.b)(s=>{if(Ys(s.guardsResult)){const d=Xa(`Redirecting to "${this.serializeUrl(s.guardsResult)}"`);throw d.url=s.guardsResult,d}const o=new ai(s.id,this.serializeUrl(s.extractedUrl),this.serializeUrl(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.triggerEvent(o)}),(0,Ft.h)(s=>!!s.guardsResult||(this.restoreHistory(s),this.cancelNavigationTransition(s,""),!1)),ia(s=>{if(s.guards.canActivateChecks.length)return(0,rt.of)(s).pipe((0,Dt.b)(o=>{const d=new Rt(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot);this.triggerEvent(d)}),(0,Li.w)(o=>{let d=!1;return(0,rt.of)(o).pipe(function Mf(n,a){return(0,Vn.z)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return(0,rt.of)(e);let l=0;return(0,Sn.D)(r).pipe((0,Os.b)(c=>function wf(n,a,e,t){return function Cf(n,a,e,t){const r=Io(n);if(0===r.length)return(0,rt.of)({});const l={};return(0,Sn.D)(r).pipe((0,Vn.z)(c=>function Zs(n,a,e,t){const r=ta(n,a,t);return br(r.resolve?r.resolve(a,e):r(a,e))}(n[c],a,e,t).pipe((0,Dt.b)(s=>{l[c]=s}))),Is(1),(0,Vn.z)(()=>Io(l).length===r.length?(0,rt.of)(l):va.E))}(n._resolve,n,a,t).pipe((0,Ct.U)(l=>(n._resolvedData=l,n.data=Object.assign(Object.assign({},n.data),So(n,e).resolve),null)))}(c.route,t,n,a)),(0,Dt.b)(()=>l++),Is(1),(0,Vn.z)(c=>l===r.length?(0,rt.of)(e):va.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Dt.b)({next:()=>d=!0,complete:()=>{d||(this.restoreHistory(o),this.cancelNavigationTransition(o,"At least one route resolver didn't emit any value."))}}))}),(0,Dt.b)(o=>{const d=new jt(o.id,this.serializeUrl(o.extractedUrl),this.serializeUrl(o.urlAfterRedirects),o.targetSnapshot);this.triggerEvent(d)}))}),ia(s=>{const{targetSnapshot:o,id:d,extractedUrl:u,rawUrl:h,extras:{skipLocationChange:f,replaceUrl:b}}=s;return this.hooks.afterPreactivation(o,{navigationId:d,appliedUrlTree:u,rawUrlTree:h,skipLocationChange:!!f,replaceUrl:!!b})}),(0,Ct.U)(s=>{const o=function Sd(n,a,e){const t=is(n,a._root,e?e._root:void 0);return new Qr(t,a)}(this.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return Object.assign(Object.assign({},s),{targetRouterState:o})}),(0,Dt.b)(s=>{this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects)}),((n,a,e)=>(0,Ct.U)(t=>(new sh(a,t.targetRouterState,t.currentRouterState,e).activate(n),t)))(this.rootContexts,this.routeReuseStrategy,s=>this.triggerEvent(s)),(0,Dt.b)({next(){l=!0},complete(){l=!0}}),B(()=>{var s;l||c||this.cancelNavigationTransition(r,`Navigation ID ${r.id} is not equal to the current navigation id ${this.navigationId}`),(null===(s=this.currentNavigation)||void 0===s?void 0:s.id)===r.id&&(this.currentNavigation=null)}),(0,wn.K)(s=>{if(c=!0,function af(n){return n&&n[Cd]}(s)){const o=Ys(s.url);o||(this.navigated=!0,this.restoreHistory(r,!0));const d=new Me(r.id,this.serializeUrl(r.extractedUrl),s.message);t.next(d),o?setTimeout(()=>{const u=this.urlHandlingStrategy.merge(s.url,this.rawUrlTree),h={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Nd(r.source)};this.scheduleNavigation(u,"imperative",null,h,{resolve:r.resolve,reject:r.reject,promise:r.promise})},0):r.resolve(!1)}else{this.restoreHistory(r,!0);const o=new He(r.id,this.serializeUrl(r.extractedUrl),s);t.next(o);try{r.resolve(this.errorHandler(s))}catch(d){r.reject(d)}}return va.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 l={replaceUrl:!0},c=(null===(r=e.state)||void 0===r?void 0:r.navigationId)?e.state:null;if(c){const o=Object.assign({},c);delete o.navigationId,delete o.\u0275routerPageId,0!==Object.keys(o).length&&(l.state=o)}const s=this.parseUrl(e.url);this.scheduleNavigation(s,t,c,l)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Gs(e),this.config=e.map(Pi),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:l,fragment:c,queryParamsHandling:s,preserveFragment:o}=t,d=r||this.routerState.root,u=o?this.currentUrlTree.fragment:c;let h=null;switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),l);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=l||null}return null!==h&&(h=this.removeEmptyProps(h)),function Do(n,a,e,t,r){if(0===e.length)return Ml(a.root,a.root,a,t,r);const l=function ih(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new uf(!0,0,n);let a=0,e=!1;const t=n.reduce((r,l,c)=>{if("object"==typeof l&&null!=l){if(l.outlets){const s={};return Ji(l.outlets,(o,d)=>{s[d]="string"==typeof o?o.split("/"):o}),[...r,{outlets:s}]}if(l.segmentPath)return[...r,l.segmentPath]}return"string"!=typeof l?[...r,l]:0===c?(l.split("/").forEach((s,o)=>{0==o&&"."===s||(0==o&&""===s?e=!0:".."===s?a++:""!=s&&r.push(s))}),r):[...r,l]},[]);return new uf(e,a,t)}(e);if(l.toRoot())return Ml(a.root,new Gt([],{}),a,t,r);const c=function nh(n,a,e){if(n.isAbsolute)return new Cc(a.root,!0,0);if(-1===e.snapshot._lastPathIndex){const l=e.snapshot._urlSegment;return new Cc(l,l===a.root,0)}const t=wc(n.commands[0])?0:1;return function rh(n,a,e){let t=n,r=a,l=e;for(;l>r;){if(l-=r,t=t.parent,!t)throw new Error("Invalid number of '../'");r=t.segments.length}return new Cc(t,!1,r-l)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(l,a,n),s=c.processChildren?Pr(c.segmentGroup,c.index,l.commands):Fs(c.segmentGroup,c.index,l.commands);return Ml(c.segmentGroup,s,a,t,r)}(d,this.currentUrlTree,e,h,null!=u?u:null)}navigateByUrl(e,t={skipLocationChange:!1}){const r=Ys(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function Ef(n){for(let a=0;a{const l=e[r];return null!=l&&(t[r]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ne(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,l,c){var s,o,d;if(this.disposed)return Promise.resolve(!1);const u=this.transitions.value,h=Nd(t)&&u&&!Nd(u.source),f=u.rawUrl.toString()===e.toString(),b=u.id===(null===(s=this.currentNavigation)||void 0===s?void 0:s.id);if(h&&f&&b)return Promise.resolve(!0);let Q,fe,je;c?(Q=c.resolve,fe=c.reject,je=c.promise):je=new Promise((ei,qa)=>{Q=ei,fe=qa});const Mt=++this.navigationId;let gt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),gt=r&&r.\u0275routerPageId?r.\u0275routerPageId:l.replaceUrl||l.skipLocationChange?null!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(d=this.browserPageId)&&void 0!==d?d:0)+1):gt=0,this.setTransition({id:Mt,targetPageId:gt,source:t,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:Q,reject:fe,promise:je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),je.catch(ei=>Promise.reject(ei))}setBrowserUrl(e,t){const r=this.urlSerializer.serialize(e),l=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(r)||t.extras.replaceUrl?this.location.replaceState(r,"",l):this.location.go(r,"",l)}restoreHistory(e,t=!1){var r,l;if("computed"===this.canceledNavigationResolution){const c=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)||0===c?this.currentUrlTree===(null===(l=this.currentNavigation)||void 0===l?void 0:l.finalUrl)&&0===c&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(c)}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 Me(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 n.\u0275fac=function(e){i.$Z()},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();function Nd(n){return"imperative"!==n}let Ha=(()=>{class n{constructor(e,t,r,l,c){this.router=e,this.route=t,this.tabIndexAttribute=r,this.renderer=l,this.el=c,this.commands=null,this.onChanges=new Ie.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const t=this.renderer,r=this.el.nativeElement;null!==e?t.setAttribute(r,"tabindex",e):t.removeAttribute(r,"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:La(this.skipLocationChange),replaceUrl:La(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:La(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),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})(),na=(()=>{class n{constructor(e,t,r){this.router=e,this.route=t,this.locationStrategy=r,this.commands=null,this.href=null,this.onChanges=new Ie.x,this.subscription=e.events.subscribe(l=>{l instanceof ne&&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,r,l,c){if(0!==e||t||r||l||c||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const s={skipLocationChange:La(this.skipLocationChange),replaceUrl:La(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!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:La(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),i.Y36(w.S$))},n.\u0275dir=i.lG2({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.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 La(n){return""===n||!!n}class H{}class O{preload(a,e){return e().pipe((0,wn.K)(()=>(0,rt.of)(null)))}}class z{preload(a,e){return(0,rt.of)(null)}}let G=(()=>{class n{constructor(e,t,r,l){this.router=e,this.injector=r,this.preloadingStrategy=l,this.loader=new kl(r,t,o=>e.triggerEvent(new ji(o)),o=>e.triggerEvent(new yi(o)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ft.h)(e=>e instanceof ne),(0,Os.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 r=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const c=l._loadedConfig;r.push(this.processRoutes(c.module,c.routes))}else l.loadChildren&&!l.canLoad?r.push(this.preloadConfig(e,l)):l.children&&r.push(this.processRoutes(e,l.children));return(0,Sn.D)(r).pipe((0,U.J)(),(0,Ct.U)(l=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,rt.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,Vn.z)(l=>(t._loadedConfig=l,this.processRoutes(l.module,l.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Mi),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(H))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),le=(()=>{class n{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 J?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ne&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Ja&&(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 Ja(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 ot=new i.OlP("ROUTER_CONFIGURATION"),Pt=new i.OlP("ROUTER_FORROOT_GUARD"),ci=[w.Ye,{provide:ml,useClass:Zu},{provide:Mi,useFactory:function $s(n,a,e,t,r,l,c={},s,o){const d=new Mi(null,n,a,e,t,r,vd(l));return s&&(d.urlHandlingStrategy=s),o&&(d.routeReuseStrategy=o),function kc(n,a){n.errorHandler&&(a.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(a.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(a.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(a.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(a.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(a.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(a.canceledNavigationResolution=n.canceledNavigationResolution)}(c,d),c.enableTracing&&d.events.subscribe(u=>{var h,f;null===(h=console.group)||void 0===h||h.call(console,`Router Event: ${u.constructor.name}`),console.log(u.toString()),console.log(u),null===(f=console.groupEnd)||void 0===f||f.call(console)}),d},deps:[ml,ea,w.Ye,i.zs3,i.Sil,Ll,ot,[class Ah{},new i.FiY],[class Bo{},new i.FiY]]},ea,{provide:Jn,useFactory:function Og(n){return n.routerState.root},deps:[Mi]},G,z,O,{provide:ot,useValue:{enableTracing:!1}}];function qi(){return new i.PXZ("Router",Mi)}let wr=(()=>{class n{constructor(e,t){}static forRoot(e,t){return{ngModule:n,providers:[ci,Rg(e),{provide:Pt,useFactory:WA,deps:[[Mi,new i.FiY,new i.tp0]]},{provide:ot,useValue:t||{}},{provide:w.S$,useFactory:YA,deps:[w.lw,[new i.tBr(w.mr),new i.FiY],ot]},{provide:le,useFactory:ns,deps:[Mi,w.EM,ot]},{provide:H,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:z},{provide:i.PXZ,multi:!0,useFactory:qi},[Df,{provide:i.ip1,multi:!0,useFactory:UA,deps:[Df]},{provide:Ig,useFactory:GA,deps:[Df]},{provide:i.tb,multi:!0,useExisting:Ig}]]}}static forChild(e){return{ngModule:n,providers:[Rg(e)]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Pt,8),i.LFG(Mi,8))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();function ns(n,a,e){return e.scrollOffset&&a.setOffset(e.scrollOffset),new le(n,a,e)}function YA(n,a,e={}){return e.useHash?new w.Do(n,a):new w.b0(n,a)}function WA(n){return"guarded"}function Rg(n){return[{provide:i.deG,multi:!0,useValue:n},{provide:Ll,multi:!0,useValue:n}]}let Df=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie.x}appInitializer(){return this.injector.get(w.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const r=new Promise(s=>t=s),l=this.injector.get(Mi),c=this.injector.get(ot);return"disabled"===c.initialNavigation?(l.setUpLocationChangeListener(),t(!0)):"enabled"===c.initialNavigation||"enabledBlocking"===c.initialNavigation?(l.hooks.afterPreactivation=()=>this.initNavigation?(0,rt.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),l.initialNavigation()):t(!0),r})}bootstrapListener(e){const t=this.injector.get(ot),r=this.injector.get(G),l=this.injector.get(le),c=this.injector.get(Mi),s=this.injector.get(i.z2F);e===s.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&c.initialNavigation(),r.setUpPreloading(),l.init(),c.resetRootComponentType(s.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 UA(n){return n.appInitializer.bind(n)}function GA(n){return n.bootstrapListener.bind(n)}const Ig=new i.OlP("Router Initializer"),JA=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function XA(){return(0,i.f3M)(w.K0)}}),QA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ra,Fn=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new i.vpe,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function KA(n){const a=(null==n?void 0:n.toLowerCase())||"";return"auto"===a&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?QA.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(JA,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ka=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();try{ra="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){ra=!1}let Pl,wi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,w.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&&!ra)&&"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})();const Lf=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ty(){if(Pl)return Pl;if("object"!=typeof document||!document)return Pl=new Set(Lf),Pl;let n=document.createElement("input");return Pl=new Set(Lf.filter(a=>(n.setAttribute("type",a),n.type===a))),Pl}let yh,Pc,Js,wh;function aa(n){return function wv(){if(null==yh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>yh=!0}))}finally{yh=yh||!1}return yh}()?n:!!n.capture}function iy(){if(null==Js){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Js=!1,Js;if("scrollBehavior"in document.documentElement.style)Js=!0;else{const n=Element.prototype.scrollTo;Js=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Js}function Mh(){if("object"!=typeof document||!document)return 0;if(null==Pc){const n=document.createElement("div"),a=n.style;n.dir="rtl",a.width="1px",a.overflow="auto",a.visibility="hidden",a.pointerEvents="none",a.position="absolute";const e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Pc=0,0===n.scrollLeft&&(n.scrollLeft=1,Pc=0===n.scrollLeft?1:2),n.remove()}return Pc}function Ch(n){if(function ny(){if(null==wh){const n="undefined"!=typeof document?document.head:null;wh=!(!n||!n.createShadowRoot&&!n.attachShadow)}return wh}()){const a=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}function kf(){let n="undefined"!=typeof document&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const a=n.shadowRoot.activeElement;if(a===n)break;n=a}return n}function sa(n){return n.composedPath?n.composedPath()[0]:n.target}function vh(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function Ln(n,...a){return a.length?a.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Dh=T(8372);function Qg(n){return(0,Ft.h)((a,e)=>n<=e)}function Cr(n,a=Zr.y){return n=null!=n?n:By,(0,_r.e)((e,t)=>{let r,l=!0;e.subscribe((0,En.x)(t,c=>{const s=a(c);(l||!n(r,s))&&(l=!1,r=s,t.next(c))}))})}function By(n,a){return n===a}var Kg=T(5032);function dt(n){return(0,_r.e)((a,e)=>{(0,Ps.Xf)(n).subscribe((0,En.x)(e,()=>e.complete(),Kg.Z)),!e.closed&&a.subscribe(e)})}function $e(n){return null!=n&&"false"!=`${n}`}function Xi(n,a=0){return e1(n)?Number(n):a}function e1(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ic(n){return Array.isArray(n)?n:[n]}function mn(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Qi(n){return n instanceof i.SBq?n.nativeElement:n}let kt=(()=>{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})(),t1=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Qi(e);return new an.y(r=>{const c=this._observeElement(t).subscribe(r);return()=>{c.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new Ie.x,r=this._mutationObserverFactory.create(l=>t.next(l));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 n.\u0275fac=function(e){return new(e||n)(i.LFG(kt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Hh=(()=>{class n{constructor(e,t,r){this._contentObserver=e,this._elementRef=t,this._ngZone=r,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=$e(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Xi(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,Dh.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(t1),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})(),Bc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[kt]}),n})();function Lh(n,a){return(n.getAttribute(a)||"").match(/\S+/g)||[]}const rs="cdk-describedby-message",Nc="cdk-describedby-host";let Ff=0,kh=(()=>{class n{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ff++,this._document=e}describe(e,t,r){if(!this._canBeDescribed(e,t))return;const l=a1(t,r);"string"!=typeof t?(jf(t),this._messageRegistry.set(l,{messageElement:t,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,l)||this._addMessageReference(e,l)}removeDescription(e,t,r){var l;if(!t||!this._isElementNode(e))return;const c=a1(t,r);if(this._isElementDescribedByMessage(e,c)&&this._removeMessageReference(e,c),"string"==typeof t){const s=this._messageRegistry.get(c);s&&0===s.referenceCount&&this._deleteMessageElement(c)}0===(null===(l=this._messagesContainer)||void 0===l?void 0:l.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const t=this._document.querySelectorAll(`[${Nc}="${this._id}"]`);for(let r=0;r0!=r.indexOf(rs));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const r=this._messageRegistry.get(t);(function Pa(n,a,e){const t=Lh(n,a);t.some(r=>r.trim()==e.trim())||(t.push(e.trim()),n.setAttribute(a,t.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Nc,this._id),r.referenceCount++}_removeMessageReference(e,t){const r=this._messageRegistry.get(t);r.referenceCount--,function n1(n,a,e){const r=Lh(n,a).filter(l=>l!=e.trim());r.length?n.setAttribute(a,r.join(" ")):n.removeAttribute(a)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Nc)}_isElementDescribedByMessage(e,t){const r=Lh(e,"aria-describedby"),l=this._messageRegistry.get(t),c=l&&l.messageElement.id;return!!c&&-1!=r.indexOf(c)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const r=null==t?"":`${t}`.trim(),l=e.getAttribute("aria-label");return!(!r||l&&l.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function a1(n,a){return"string"==typeof n?`${a||""}/${n}`:n}function jf(n){n.id||(n.id=`${rs}-${Ff++}`)}class Vy{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ie.x,this._typeaheadSubscription=Wt.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ie.x,this.change=new Ie.x,a instanceof i.n_E&&a.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Dt.b)(e=>this._pressedLetters.push(e)),(0,Dh.b)(a),(0,Ft.h)(()=>this._pressedLetters.length>0),(0,Ct.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let r=1;r!a[l]||this._allowedModifierKeys.indexOf(l)>-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||Ln(a,"shiftKey"))&&(a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],a.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(a){const e=this._getItemsArray(),t="number"==typeof a?a:e.indexOf(a),r=e[t];this._activeItem=null==r?null:r,this._activeItemIndex=t}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const e=this._getItemsArray();for(let t=1;t<=e.length;t++){const r=(this._activeItemIndex+a*t+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,e){const t=this._getItemsArray();if(t[a]){for(;this._skipPredicateFn(t[a]);)if(!t[a+=e])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class Yd extends Vy{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}}class Ol extends Vy{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let Wd=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function lT(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 qf(n){try{return n.frameElement}catch(a){return null}}(function d1(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===l1(t)||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),l=l1(e);return e.hasAttribute("contenteditable")?-1!==l:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function cT(n){let a=n.nodeName.toLowerCase(),e="input"===a&&n.type;return"text"===e||"password"===e||"select"===a||"textarea"===a}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==l:"video"===r?-1!==l&&(null!==l||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function c1(n){return!function Fy(n){return function qy(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function zy(n){let a=n.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(n)||function jy(n){return function o1(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Yy(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(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Yy(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let a=n.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function l1(n){if(!Yy(n))return null;const a=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class Wy{constructor(a,e,t,r,l=!1){this._element=a,this._checker=e,this._ngZone=t,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}destroy(){const a=this._startAnchor,e=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.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(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const e=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){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(a),!!t}return e.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const e=this._getRegionBoundary("start");return e&&e.focus(a),!!e}focusLastTabbableElement(a){const e=this._getRegionBoundary("end");return e&&e.focus(a),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const e=a.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 a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,e){a?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(a)}}let Ph=(()=>{class n{constructor(e,t,r){this._checker=e,this._ngZone=t,this._document=r}create(e,t=!1){return new Wy(e,this._checker,this._ngZone,this._document,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Wd),i.LFG(i.R0b),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Yf(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Wf(n){const a=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const dT=new i.OlP("cdk-input-modality-detector-options"),uT={ignoreKeys:[18,17,224,91,16]},Fo=aa({passive:!0,capture:!0});let Uy=(()=>{class n{constructor(e,t,r,l){this._platform=e,this._mostRecentTarget=null,this._modality=new rn(null),this._lastTouchMs=0,this._onKeydown=c=>{var s,o;(null===(o=null===(s=this._options)||void 0===s?void 0:s.ignoreKeys)||void 0===o?void 0:o.some(d=>d===c.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=sa(c))},this._onMousedown=c=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Yf(c)?"keyboard":"mouse"),this._mostRecentTarget=sa(c))},this._onTouchstart=c=>{Wf(c)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sa(c))},this._options=Object.assign(Object.assign({},uT),l),this.modalityDetected=this._modality.pipe(Qg(1)),this.modalityChanged=this.modalityDetected.pipe(Cr()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Fo),r.addEventListener("mousedown",this._onMousedown,Fo),r.addEventListener("touchstart",this._onTouchstart,Fo)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Fo),document.removeEventListener("mousedown",this._onMousedown,Fo),document.removeEventListener("touchstart",this._onTouchstart,Fo))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(i.R0b),i.LFG(w.K0),i.LFG(dT,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const u1=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Uf(){return null}}),h1=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Gf=(()=>{class n{constructor(e,t,r,l){this._ngZone=t,this._defaultOptions=l,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){const r=this._defaultOptions;let l,c;return 1===t.length&&"number"==typeof t[0]?c=t[0]:[l,c]=t,this.clear(),clearTimeout(this._previousTimeout),l||(l=r&&r.politeness?r.politeness:"polite"),null==c&&r&&(c=r.duration),this._liveElement.setAttribute("aria-live",l),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof c&&(this._previousTimeout=setTimeout(()=>this.clear(),c)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,t;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(t=this._currentResolve)||void 0===t||t.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let l=0;l{class n{constructor(e,t,r,l,c){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 Ie.x,this._rootNodeFocusAndBlurListener=s=>{const o=sa(s),d="focus"===s.type?this._onFocus:this._onBlur;for(let u=o;u;u=u.parentElement)d.call(this,s,u)},this._document=l,this._detectionMode=(null==c?void 0:c.detectionMode)||0}monitor(e,t=!1){const r=Qi(e);if(!this._platform.isBrowser||1!==r.nodeType)return(0,rt.of)(null);const l=Ch(r)||this._getDocument(),c=this._elementInfo.get(r);if(c)return t&&(c.checkChildren=!0),c.subject;const s={checkChildren:t,subject:new Ie.x,rootNode:l};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Qi(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 l=Qi(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([s,o])=>this._originChanged(s,t,o)):(this._setOrigin(t),"function"==typeof l.focus&&l.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),l=sa(e);!r||!r.checkChildren&&t!==l||this._originChanged(t,this._getFocusOrigin(l),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,Ud),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ud)}),this._rootNodeFocusListenerCount.set(t,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(dt(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!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,Ud),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ud),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,l)=>{(l===e||r.checkChildren&&l.contains(e))&&t.push([l,r])}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(wi),i.LFG(Uy),i.LFG(w.K0,8),i.LFG(jo,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const f1="cdk-high-contrast-black-on-white",Zf="cdk-high-contrast-white-on-black",$f="cdk-high-contrast-active";let m1=(()=>{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,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,l=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){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($f),e.remove(f1),e.remove(Zf),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?(e.add($f),e.add(f1)):2===t&&(e.add($f),e.add(Zf))}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Il=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(m1))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Bc]]}),n})();class Bl{}const vr="*";function ti(n,a){return{type:7,name:n,definitions:a,options:{}}}function _t(n,a=null){return{type:4,styles:a,timings:n}}function Rh(n,a=null){return{type:3,steps:n,options:a}}function Xf(n,a=null){return{type:2,steps:n,options:a}}function Ne(n){return{type:6,styles:n,offset:null}}function St(n,a,e){return{type:0,name:n,styles:a,options:e}}function eo(n){return{type:5,steps:n}}function vt(n,a,e=null){return{type:1,expr:n,animation:a,options:e}}function Oh(n=null){return{type:9,options:n}}function la(n,a,e=null){return{type:11,selector:n,animation:a,options:e}}function Kf(n){Promise.resolve(null).then(n)}class Gd{constructor(a=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Kf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class e0{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,r=0;const l=this.players.length;0==l?Kf(()=>this._onFinish()):this.players.forEach(c=>{c.onDone(()=>{++e==l&&this._onFinish()}),c.onDestroy(()=>{++t==l&&this._onDestroy()}),c.onStart(()=>{++r==l&&this._onStart()})}),this.totalTime=this.players.reduce((c,s)=>Math.max(c,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const r=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(r)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function $y(){return"undefined"!=typeof window&&void 0!==window.document}function ur(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function qo(n){switch(n.length){case 0:return new Gd;case 1:return n[0];default:return new e0(n)}}function g1(n,a,e,t,r={},l={}){const c=[],s=[];let o=-1,d=null;if(t.forEach(u=>{const h=u.offset,f=h==o,b=f&&d||{};Object.keys(u).forEach(N=>{let Q=N,fe=u[N];if("offset"!==N)switch(Q=a.normalizePropertyName(Q,c),fe){case"!":fe=r[N];break;case vr:fe=l[N];break;default:fe=a.normalizeStyleValue(N,Q,fe,c)}b[Q]=fe}),f||s.push(b),d=b,o=h}),c.length){const u="\n - ";throw new Error(`Unable to animate due to the following errors:${u}${c.join(u)}`)}return s}function _1(n,a,e,t){switch(a){case"start":n.onStart(()=>t(e&&b1(e,"start",n)));break;case"done":n.onDone(()=>t(e&&b1(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&b1(e,"destroy",n)))}}function b1(n,a,e){const t=e.totalTime,l=Ih(n.element,n.triggerName,n.fromState,n.toState,a||n.phaseName,null==t?n.totalTime:t,!!e.disabled),c=n._data;return null!=c&&(l._data=c),l}function Ih(n,a,e,t,r="",l=0,c){return{element:n,triggerName:a,fromState:e,toState:t,phaseName:r,totalTime:l,disabled:!!c}}function ca(n,a,e){let t;return n instanceof Map?(t=n.get(a),t||n.set(a,t=e)):(t=n[a],t||(t=n[a]=e)),t}function A1(n){const a=n.indexOf(":");return[n.substring(1,a),n.substr(a+1)]}let Zd=(n,a)=>!1,n0=(n,a,e)=>[];(ur()||"undefined"!=typeof Element)&&(Zd=$y()?(n,a)=>{for(;a&&a!==document.documentElement;){if(a===n)return!0;a=a.parentNode||a.host}return!1}:(n,a)=>n.contains(a),n0=(n,a,e)=>{if(e)return Array.from(n.querySelectorAll(a));const t=n.querySelector(a);return t?[t]:[]});let Nl=null,r0=!1;function y1(n){Nl||(Nl=function M1(){return"undefined"!=typeof document?document.body:null}()||{},r0=!!Nl.style&&"WebkitAppearance"in Nl.style);let a=!0;return Nl.style&&!function Jy(n){return"ebkit"==n.substring(1,6)}(n)&&(a=n in Nl.style,!a&&r0&&(a="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Nl.style)),a}const w1=Zd,C1=n0;let a0=(()=>{class n{validateStyleProperty(e){return y1(e)}matchesElement(e,t){return!1}containsElement(e,t){return w1(e,t)}query(e,t,r){return C1(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,l,c,s=[],o){return new Gd(r,l)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),s0=(()=>{class n{}return n.NOOP=new a0,n})();const o0="ng-enter",l0="ng-leave",$d="ng-trigger",Nh=".ng-trigger",v1="ng-animating",c0=".ng-animating";function to(n){if("number"==typeof n)return n;const a=n.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:d0(parseFloat(a[1]),a[2])}function d0(n,a){return"s"===a?1e3*n:n}function Vh(n,a,e){return n.hasOwnProperty("duration")?n:function zh(n,a,e){let r,l=0,c="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return a.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};r=d0(parseFloat(s[1]),s[2]);const o=s[3];null!=o&&(l=d0(parseFloat(o),s[4]));const d=s[5];d&&(c=d)}else r=n;if(!e){let s=!1,o=a.length;r<0&&(a.push("Duration values below 0 are not allowed for this animation step."),s=!0),l<0&&(a.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&a.splice(o,0,`The provided timing value "${n}" is invalid.`)}return{duration:r,delay:l,easing:c}}(n,a,e)}function Yo(n,a={}){return Object.keys(n).forEach(e=>{a[e]=n[e]}),a}function ss(n,a,e={}){if(a)for(let t in n)e[t]=n[t];else Yo(n,e);return e}function Fh(n,a,e){return e?a+":"+e+";":""}function u0(n){let a="";for(let e=0;e{const r=jh(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[r]),n.style[r]=a[t]}),ur()&&u0(n))}function Vl(n,a){n.style&&(Object.keys(a).forEach(e=>{const t=jh(e);n.style[t]=""}),ur()&&u0(n))}function zl(n){return Array.isArray(n)?1==n.length?n[0]:Xf(n):n}const h0=new RegExp("{{\\s*(.+?)\\s*}}","g");function p0(n){let a=[];if("string"==typeof n){let e;for(;e=h0.exec(n);)a.push(e[1]);h0.lastIndex=0}return a}function Jd(n,a,e){const t=n.toString(),r=t.replace(h0,(l,c)=>{let s=a[c];return a.hasOwnProperty(c)||(e.push(`Please provide a value for the animation param ${c}`),s=""),s.toString()});return r==t?n:r}function Xd(n){const a=[];let e=n.next();for(;!e.done;)a.push(e.value),e=n.next();return a}const x1=/-+([a-z0-9])/g;function jh(n){return n.replace(x1,(...a)=>a[1].toUpperCase())}function io(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Br(n,a,e){switch(a.type){case 7:return n.visitTrigger(a,e);case 0:return n.visitState(a,e);case 1:return n.visitTransition(a,e);case 2:return n.visitSequence(a,e);case 3:return n.visitGroup(a,e);case 4:return n.visitAnimate(a,e);case 5:return n.visitKeyframes(a,e);case 6:return n.visitStyle(a,e);case 8:return n.visitReference(a,e);case 9:return n.visitAnimateChild(a,e);case 10:return n.visitAnimateRef(a,e);case 11:return n.visitQuery(a,e);case 12:return n.visitStagger(a,e);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function eM(n,a){return window.getComputedStyle(n)[a]}function S1(n,a){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(t=>function f0(n,a,e){if(":"==n[0]){const o=function Qd(n,a){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 o)return void a.push(o);n=o}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`),a;const r=t[1],l=t[2],c=t[3];a.push(m0(r,c));"<"==l[0]&&!("*"==r&&"*"==c)&&a.push(m0(c,r))}(t,e,a)):e.push(n),e}const Yh=new Set(["true","1"]),zc=new Set(["false","0"]);function m0(n,a){const e=Yh.has(n)||zc.has(n),t=Yh.has(a)||zc.has(a);return(r,l)=>{let c="*"==n||n==r,s="*"==a||a==l;return!c&&e&&"boolean"==typeof r&&(c=r?Yh.has(n):zc.has(n)),!s&&t&&"boolean"==typeof l&&(s=l?Yh.has(a):zc.has(a)),c&&s}}const E1=new RegExp("s*:selfs*,?","g");function _0(n,a,e){return new tM(n).build(a,e)}class tM{constructor(a){this._driver=a}build(a,e){const t=new Fc(e);return this._resetContextStyleTimingState(t),Br(this,zl(a),t)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,e){let t=e.queryCount=0,r=e.depCount=0;const l=[],c=[];return"@"==a.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const o=s,d=o.name;d.toString().split(/\s*,\s*/).forEach(u=>{o.name=u,l.push(this.visitState(o,e))}),o.name=d}else if(1==s.type){const o=this.visitTransition(s,e);t+=o.queryCount,r+=o.depCount,c.push(o)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:l,transitions:c,queryCount:t,depCount:r,options:null}}visitState(a,e){const t=this.visitStyle(a.styles,e),r=a.options&&a.options.params||null;if(t.containsDynamicStyles){const l=new Set,c=r||{};if(t.styles.forEach(s=>{if(Uh(s)){const o=s;Object.keys(o).forEach(d=>{p0(o[d]).forEach(u=>{c.hasOwnProperty(u)||l.add(u)})})}}),l.size){const s=Xd(l.values());e.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${s.join(", ")}`)}}return{type:0,name:a.name,style:t,options:r?{params:r}:null}}visitTransition(a,e){e.queryCount=0,e.depCount=0;const t=Br(this,zl(a.animation),e);return{type:1,matchers:S1(a.expr,e.errors),animation:t,queryCount:e.queryCount,depCount:e.depCount,options:da(a.options)}}visitSequence(a,e){return{type:2,steps:a.steps.map(t=>Br(this,t,e)),options:da(a.options)}}visitGroup(a,e){const t=e.currentTime;let r=0;const l=a.steps.map(c=>{e.currentTime=t;const s=Br(this,c,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:l,options:da(a.options)}}visitAnimate(a,e){const t=function nM(n,a){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return b0(Vh(n,a).duration,0,"");const t=n;if(t.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=b0(0,0,"");return l.dynamic=!0,l.strValue=t,l}return e=e||Vh(t,a),b0(e.duration,e.delay,e.easing)}(a.timings,e.errors);e.currentAnimateTimings=t;let r,l=a.styles?a.styles:Ne({});if(5==l.type)r=this.visitKeyframes(l,e);else{let c=a.styles,s=!1;if(!c){s=!0;const d={};t.easing&&(d.easing=t.easing),c=Ne(d)}e.currentTime+=t.duration+t.delay;const o=this.visitStyle(c,e);o.isEmptyStep=s,r=o}return e.currentAnimateTimings=null,{type:4,timings:t,style:r,options:null}}visitStyle(a,e){const t=this._makeStyleAst(a,e);return this._validateStyleAst(t,e),t}_makeStyleAst(a,e){const t=[];Array.isArray(a.styles)?a.styles.forEach(c=>{"string"==typeof c?c==vr?t.push(c):e.errors.push(`The provided style string value ${c} is not allowed.`):t.push(c)}):t.push(a.styles);let r=!1,l=null;return t.forEach(c=>{if(Uh(c)){const s=c,o=s.easing;if(o&&(l=o,delete s.easing),!r)for(let d in s)if(s[d].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:t,easing:l,offset:a.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(a,e){const t=e.currentAnimateTimings;let r=e.currentTime,l=e.currentTime;t&&l>0&&(l-=t.duration+t.delay),a.styles.forEach(c=>{"string"!=typeof c&&Object.keys(c).forEach(s=>{if(!this._driver.validateStyleProperty(s))return void e.errors.push(`The provided animation property "${s}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],d=o[s];let u=!0;d&&(l!=r&&l>=d.startTime&&r<=d.endTime&&(e.errors.push(`The CSS property "${s}" that exists between the times of "${d.startTime}ms" and "${d.endTime}ms" is also being animated in a parallel animation between the times of "${l}ms" and "${r}ms"`),u=!1),l=d.startTime),u&&(o[s]={startTime:l,endTime:r}),e.options&&function fT(n,a,e){const t=a.params||{},r=p0(n);r.length&&r.forEach(l=>{t.hasOwnProperty(l)||e.push(`Unable to resolve the local animation param ${l} in the given list of values`)})}(c[s],e.options,e.errors)})})}visitKeyframes(a,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 l=0;const c=[];let s=!1,o=!1,d=0;const u=a.steps.map(je=>{const Mt=this._makeStyleAst(je,e);let gt=null!=Mt.offset?Mt.offset:function H1(n){if("string"==typeof n)return null;let a=null;if(Array.isArray(n))n.forEach(e=>{if(Uh(e)&&e.hasOwnProperty("offset")){const t=e;a=parseFloat(t.offset),delete t.offset}});else if(Uh(n)&&n.hasOwnProperty("offset")){const e=n;a=parseFloat(e.offset),delete e.offset}return a}(Mt.styles),ei=0;return null!=gt&&(l++,ei=Mt.offset=gt),o=o||ei<0||ei>1,s=s||ei0&&l{const gt=f>0?Mt==b?1:f*Mt:c[Mt],ei=gt*fe;e.currentTime=N+Q.delay+ei,Q.duration=ei,this._validateStyleAst(je,e),je.offset=gt,t.styles.push(je)}),t}visitReference(a,e){return{type:8,animation:Br(this,zl(a.animation),e),options:da(a.options)}}visitAnimateChild(a,e){return e.depCount++,{type:9,options:da(a.options)}}visitAnimateRef(a,e){return{type:10,animation:this.visitReference(a.animation,e),options:da(a.options)}}visitQuery(a,e){const t=e.currentQuerySelector,r=a.options||{};e.queryCount++,e.currentQuery=a;const[l,c]=function iM(n){const a=!!n.split(/\s*,\s*/).find(e=>":self"==e);return a&&(n=n.replace(E1,"")),n=n.replace(/@\*/g,Nh).replace(/@\w+/g,e=>Nh+"-"+e.substr(1)).replace(/:animating/g,c0),[n,a]}(a.selector);e.currentQuerySelector=t.length?t+" "+l:l,ca(e.collectedStyles,e.currentQuerySelector,{});const s=Br(this,zl(a.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:l,limit:r.limit||0,optional:!!r.optional,includeSelf:c,animation:s,originalSelector:a.selector,options:da(a.options)}}visitStagger(a,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const t="full"===a.timings?{duration:0,delay:0,easing:"full"}:Vh(a.timings,e.errors,!0);return{type:12,animation:Br(this,zl(a.animation),e),timings:t,options:null}}}class Fc{constructor(a){this.errors=a,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 Uh(n){return!Array.isArray(n)&&"object"==typeof n}function da(n){return n?(n=Yo(n)).params&&(n.params=function D1(n){return n?Yo(n):null}(n.params)):n={},n}function b0(n,a,e){return{duration:n,delay:a,easing:e}}function A0(n,a,e,t,r,l,c=null,s=!1){return{type:1,element:n,keyframes:a,preStyleProps:e,postStyleProps:t,duration:r,delay:l,totalTime:r+l,easing:c,subTimeline:s}}class Gh{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,e){let t=this._map.get(a);t||this._map.set(a,t=[]),t.push(...e)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const y0=new RegExp(":enter","g"),k1=new RegExp(":leave","g");function Zh(n,a,e,t,r,l={},c={},s,o,d=[]){return(new P1).buildKeyframes(n,a,e,t,r,l,c,s,o,d)}class P1{buildKeyframes(a,e,t,r,l,c,s,o,d,u=[]){d=d||new Gh;const h=new M0(a,e,d,r,l,u,[]);h.options=o,h.currentTimeline.setStyles([c],null,h.errors,o),Br(this,t,h);const f=h.timelines.filter(b=>b.containsAnimation());if(Object.keys(s).length){let b;for(let N=f.length-1;N>=0;N--){const Q=f[N];if(Q.element===e){b=Q;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([s],null,h.errors,o)}return f.length?f.map(b=>b.buildKeyframes()):[A0(e,[],[],[],0,0,"",!1)]}visitTrigger(a,e){}visitState(a,e){}visitTransition(a,e){}visitAnimateChild(a,e){const t=e.subInstructions.get(e.element);if(t){const r=e.createSubContext(a.options),l=e.currentTimeline.currentTime,c=this._visitSubInstructions(t,r,r.options);l!=c&&e.transformIntoNewTimeline(c)}e.previousNode=a}visitAnimateRef(a,e){const t=e.createSubContext(a.options);t.transformIntoNewTimeline(),this.visitReference(a.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=a}_visitSubInstructions(a,e,t){let l=e.currentTimeline.currentTime;const c=null!=t.duration?to(t.duration):null,s=null!=t.delay?to(t.delay):null;return 0!==c&&a.forEach(o=>{const d=e.appendInstructionToTimeline(o,c,s);l=Math.max(l,d.duration+d.delay)}),l}visitReference(a,e){e.updateOptions(a.options,!0),Br(this,a.animation,e),e.previousNode=a}visitSequence(a,e){const t=e.subContextCount;let r=e;const l=a.options;if(l&&(l.params||l.delay)&&(r=e.createSubContext(l),r.transformIntoNewTimeline(),null!=l.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$h);const c=to(l.delay);r.delayNextStep(c)}a.steps.length&&(a.steps.forEach(c=>Br(this,c,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>t&&r.transformIntoNewTimeline()),e.previousNode=a}visitGroup(a,e){const t=[];let r=e.currentTimeline.currentTime;const l=a.options&&a.options.delay?to(a.options.delay):0;a.steps.forEach(c=>{const s=e.createSubContext(a.options);l&&s.delayNextStep(l),Br(this,c,s),r=Math.max(r,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(c=>e.currentTimeline.mergeTimelineCollectedStyles(c)),e.transformIntoNewTimeline(r),e.previousNode=a}_visitTiming(a,e){if(a.dynamic){const t=a.strValue;return Vh(e.params?Jd(t,e.params,e.errors):t,e.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,e){const t=e.currentAnimateTimings=this._visitTiming(a.timings,e),r=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),r.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(t.duration),this.visitStyle(l,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=a}visitStyle(a,e){const t=e.currentTimeline,r=e.currentAnimateTimings;!r&&t.getCurrentStyleProperties().length&&t.forwardFrame();const l=r&&r.easing||a.easing;a.isEmptyStep?t.applyEmptyStep(l):t.setStyles(a.styles,l,e.errors,e.options),e.previousNode=a}visitKeyframes(a,e){const t=e.currentAnimateTimings,r=e.currentTimeline.duration,l=t.duration,s=e.createSubContext().currentTimeline;s.easing=t.easing,a.styles.forEach(o=>{s.forwardTime((o.offset||0)*l),s.setStyles(o.styles,o.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+l),e.previousNode=a}visitQuery(a,e){const t=e.currentTimeline.currentTime,r=a.options||{},l=r.delay?to(r.delay):0;l&&(6===e.previousNode.type||0==t&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$h);let c=t;const s=e.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let o=null;s.forEach((d,u)=>{e.currentQueryIndex=u;const h=e.createSubContext(a.options,d);l&&h.delayNextStep(l),d===e.element&&(o=h.currentTimeline),Br(this,a.animation,h),h.currentTimeline.applyStylesToKeyframe(),c=Math.max(c,h.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(c),o&&(e.currentTimeline.mergeTimelineCollectedStyles(o),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=a}visitStagger(a,e){const t=e.parentContext,r=e.currentTimeline,l=a.timings,c=Math.abs(l.duration),s=c*(e.currentQueryTotal-1);let o=c*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":o=s-o;break;case"full":o=t.currentStaggerTime}const u=e.currentTimeline;o&&u.delayNextStep(o);const h=u.currentTime;Br(this,a.animation,e),e.previousNode=a,t.currentStaggerTime=r.currentTime-h+(r.startTime-t.currentTimeline.startTime)}}const $h={};class M0{constructor(a,e,t,r,l,c,s,o){this._driver=a,this.element=e,this.subInstructions=t,this._enterClassName=r,this._leaveClassName=l,this.errors=c,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=$h,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Jh(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,e){if(!a)return;const t=a;let r=this.options;null!=t.duration&&(r.duration=to(t.duration)),null!=t.delay&&(r.delay=to(t.delay));const l=t.params;if(l){let c=r.params;c||(c=this.options.params={}),Object.keys(l).forEach(s=>{(!e||!c.hasOwnProperty(s))&&(c[s]=Jd(l[s],c,this.errors))})}}_copyOptions(){const a={};if(this.options){const e=this.options.params;if(e){const t=a.params={};Object.keys(e).forEach(r=>{t[r]=e[r]})}}return a}createSubContext(a=null,e,t){const r=e||this.element,l=new M0(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,t||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=$h,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,e,t){const r={duration:null!=e?e:a.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+a.delay,easing:""},l=new aM(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,r,a.stretchStartingKeyframe);return this.timelines.push(l),r}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,e,t,r,l,c){let s=[];if(r&&s.push(this.element),a.length>0){a=(a=a.replace(y0,"."+this._enterClassName)).replace(k1,"."+this._leaveClassName);let d=this._driver.query(this.element,a,1!=t);0!==t&&(d=t<0?d.slice(d.length+t,d.length):d.slice(0,t)),s.push(...d)}return!l&&0==s.length&&c.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class Jh{constructor(a,e,t,r){this._driver=a,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(a){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+a),e&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,e){return this.applyStylesToKeyframe(),new Jh(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,e){this._localTimelineStyles[a]=e,this._globalTimelineStyles[a]=e,this._styleSummary[a]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||vr,this._currentKeyframe[e]=vr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,e,t,r){e&&(this._previousKeyframe.easing=e);const l=r&&r.params||{},c=function mT(n,a){const e={};let t;return n.forEach(r=>{"*"===r?(t=t||Object.keys(a),t.forEach(l=>{e[l]=vr})):ss(r,!1,e)}),e}(a,this._globalTimelineStyles);Object.keys(c).forEach(s=>{const o=Jd(c[s],l,t);this._pendingStyles[s]=o,this._localTimelineStyles.hasOwnProperty(s)||(this._backFill[s]=this._globalTimelineStyles.hasOwnProperty(s)?this._globalTimelineStyles[s]:vr),this._updateStyle(s,o)})}applyStylesToKeyframe(){const a=this._pendingStyles,e=Object.keys(a);0!=e.length&&(this._pendingStyles={},e.forEach(t=>{this._currentKeyframe[t]=a[t]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const e=this._localTimelineStyles[a];this._pendingStyles[a]=e,this._updateStyle(a,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let e in this._currentKeyframe)a.push(e);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(e=>{const t=this._styleSummary[e],r=a._styleSummary[e];(!t||r.time>t.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const d=ss(s,!0);Object.keys(d).forEach(u=>{const h=d[u];"!"==h?a.add(u):h==vr&&e.add(u)}),t||(d.offset=o/this.duration),r.push(d)});const l=a.size?Xd(a.values()):[],c=e.size?Xd(e.values()):[];if(t){const s=r[0],o=Yo(s);s.offset=0,o.offset=1,r=[s,o]}return A0(this.element,r,l,c,this.duration,this.startTime,this.easing,!1)}}class aM extends Jh{constructor(a,e,t,r,l,c,s=!1){super(a,e,c.delay),this.keyframes=t,this.preStyleProps=r,this.postStyleProps=l,this._stretchStartingKeyframe=s,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:e,duration:t,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],c=t+e,s=e/c,o=ss(a[0],!1);o.offset=0,l.push(o);const d=ss(a[0],!1);d.offset=w0(s),l.push(d);const u=a.length-1;for(let h=1;h<=u;h++){let f=ss(a[h],!1);f.offset=w0((e+f.offset*t)/c),l.push(f)}t=c,e=0,r="",a=l}return A0(this.element,a,this.preStyleProps,this.postStyleProps,t,e,r,!0)}}function w0(n,a=3){const e=Math.pow(10,a-1);return Math.round(n*e)/e}class C0{}class _T extends C0{normalizePropertyName(a,e){return jh(a)}normalizeStyleValue(a,e,t,r){let l="";const c=t.toString().trim();if(bT[e]&&0!==t&&"0"!==t)if("number"==typeof t)l="px";else{const s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(`Please provide a CSS unit value for ${a}:${t}`)}return c+l}}const bT=(()=>function v0(n){const a={};return n.forEach(e=>a[e]=!0),a}("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 R1(n,a,e,t,r,l,c,s,o,d,u,h,f){return{type:0,element:n,triggerName:a,isRemovalTransition:r,fromState:e,fromStyles:l,toState:t,toStyles:c,timelines:s,queriedElements:o,preStyleProps:d,postStyleProps:u,totalTime:h,errors:f}}const Xh={};class T0{constructor(a,e,t){this._triggerName=a,this.ast=e,this._stateStyles=t}match(a,e,t,r){return function AT(n,a,e,t,r){return n.some(l=>l(a,e,t,r))}(this.ast.matchers,a,e,t,r)}buildStyles(a,e,t){const r=this._stateStyles["*"],l=this._stateStyles[a],c=r?r.buildStyles(e,t):{};return l?l.buildStyles(e,t):c}build(a,e,t,r,l,c,s,o,d,u){const h=[],f=this.ast.options&&this.ast.options.params||Xh,N=this.buildStyles(t,s&&s.params||Xh,h),Q=o&&o.params||Xh,fe=this.buildStyles(r,Q,h),je=new Set,Mt=new Map,gt=new Map,ei="void"===r,qa={params:Object.assign(Object.assign({},f),Q)},xs=u?[]:Zh(a,e,this.ast.animation,l,c,N,fe,qa,d,h);let qr=0;if(xs.forEach(uc=>{qr=Math.max(uc.duration+uc.delay,qr)}),h.length)return R1(e,this._triggerName,t,r,ei,N,fe,[],[],Mt,gt,qr,h);xs.forEach(uc=>{const hc=uc.element,_D=ca(Mt,hc,{});uc.preStyleProps.forEach(ju=>_D[ju]=!0);const xg=ca(gt,hc,{});uc.postStyleProps.forEach(ju=>xg[ju]=!0),hc!==e&&je.add(hc)});const dc=Xd(je.values());return R1(e,this._triggerName,t,r,ei,N,fe,xs,dc,Mt,gt,qr)}}class Ra{constructor(a,e,t){this.styles=a,this.defaultParams=e,this.normalizer=t}buildStyles(a,e){const t={},r=Yo(this.defaultParams);return Object.keys(a).forEach(l=>{const c=a[l];null!=c&&(r[l]=c)}),this.styles.styles.forEach(l=>{if("string"!=typeof l){const c=l;Object.keys(c).forEach(s=>{let o=c[s];o.length>1&&(o=Jd(o,r,e));const d=this.normalizer.normalizePropertyName(s,e);o=this.normalizer.normalizeStyleValue(s,d,o,e),t[d]=o})}}),t}}class MT{constructor(a,e,t){this.name=a,this.ast=e,this._normalizer=t,this.transitionFactories=[],this.states={},e.states.forEach(r=>{this.states[r.name]=new Ra(r.style,r.options&&r.options.params||{},t)}),x0(this.states,"true","1"),x0(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new T0(a,r,this.states))}),this.fallbackTransition=function O1(n,a,e){return new T0(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(c,s)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,e,t,r){return this.transitionFactories.find(c=>c.match(a,e,t,r))||null}matchStyles(a,e,t){return this.fallbackTransition.buildStyles(a,e,t)}}function x0(n,a,e){n.hasOwnProperty(a)?n.hasOwnProperty(e)||(n[e]=n[a]):n.hasOwnProperty(e)&&(n[a]=n[e])}const I1=new Gh;class oM{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}register(a,e){const t=[],r=_0(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[a]=r}_buildPlayer(a,e,t){const r=a.element,l=g1(0,this._normalizer,0,a.keyframes,e,t);return this._driver.animate(r,l,a.duration,a.delay,a.easing,[],!0)}create(a,e,t={}){const r=[],l=this._animations[a];let c;const s=new Map;if(l?(c=Zh(this._driver,e,l,o0,l0,{},{},t,I1,r),c.forEach(u=>{const h=ca(s,u.element,{});u.postStyleProps.forEach(f=>h[f]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),c=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);s.forEach((u,h)=>{Object.keys(u).forEach(f=>{u[f]=this._driver.computeStyle(h,f,vr)})});const d=qo(c.map(u=>{const h=s.get(u.element);return this._buildPlayer(u,{},h)}));return this._playersById[a]=d,d.onDestroy(()=>this.destroy(a)),this.players.push(d),d}destroy(a){const e=this._getPlayer(a);e.destroy(),delete this._playersById[a];const t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(a){const e=this._playersById[a];if(!e)throw new Error(`Unable to find the timeline player referenced by ${a}`);return e}listen(a,e,t,r){const l=Ih(e,"","","");return _1(this._getPlayer(a),t,l,r),()=>{}}command(a,e,t,r){if("register"==t)return void this.register(a,r[0]);if("create"==t)return void this.create(a,e,r[0]||{});const l=this._getPlayer(a);switch(t){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(a)}}}const lM="ng-animate-queued",Kd="ng-animate-disabled",uM=[],N1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hM={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ha="__ng_removed";class E0{constructor(a,e=""){this.namespaceId=e;const t=a&&a.hasOwnProperty("value");if(this.value=function H0(n){return null!=n?n:null}(t?a.value:a),t){const l=Yo(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const e=a.params;if(e){const t=this.options.params;Object.keys(e).forEach(r=>{null==t[r]&&(t[r]=e[r])})}}}const Wo="void",Uo=new E0(Wo);class pM{constructor(a,e,t){this.id=a,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Yi(e,this._hostClassName)}listen(a,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 tu(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 l=ca(this._elementListeners,a,[]),c={name:e,phase:t,callback:r};l.push(c);const s=ca(this._engine.statesByElement,a,{});return s.hasOwnProperty(e)||(Yi(a,$d),Yi(a,$d+"-"+e),s[e]=Uo),()=>{this._engine.afterFlush(()=>{const o=l.indexOf(c);o>=0&&l.splice(o,1),this._triggers[e]||delete s[e]})}}register(a,e){return!this._triggers[a]&&(this._triggers[a]=e,!0)}_getTrigger(a){const e=this._triggers[a];if(!e)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return e}trigger(a,e,t,r=!0){const l=this._getTrigger(e),c=new D0(this.id,e,a);let s=this._engine.statesByElement.get(a);s||(Yi(a,$d),Yi(a,$d+"-"+e),this._engine.statesByElement.set(a,s={}));let o=s[e];const d=new E0(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&o&&d.absorbOptions(o.options),s[e]=d,o||(o=Uo),d.value!==Wo&&o.value===d.value){if(!function Yc(n,a){const e=Object.keys(n),t=Object.keys(a);if(e.length!=t.length)return!1;for(let r=0;r{Vl(a,fe),os(a,je)})}return}const f=ca(this._engine.playersByElement,a,[]);f.forEach(Q=>{Q.namespaceId==this.id&&Q.triggerName==e&&Q.queued&&Q.destroy()});let b=l.matchTransition(o.value,d.value,a,d.params),N=!1;if(!b){if(!r)return;b=l.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:e,transition:b,fromState:o,toState:d,player:c,isFallbackTransition:N}),N||(Yi(a,lM),c.onStart(()=>{Zo(a,lM)})),c.onDone(()=>{let Q=this.players.indexOf(c);Q>=0&&this.players.splice(Q,1);const fe=this._engine.playersByElement.get(a);if(fe){let je=fe.indexOf(c);je>=0&&fe.splice(je,1)}}),this.players.push(c),f.push(c),c}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((e,t)=>{delete e[a]}),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(r=>r.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const e=this._engine.playersByElement.get(a);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,e){const t=this._engine.driver.query(a,Nh,!0);t.forEach(r=>{if(r[ha])return;const l=this._engine.fetchNamespacesByElement(r);l.size?l.forEach(c=>c.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(a,e,t,r){const l=this._engine.statesByElement.get(a),c=new Map;if(l){const s=[];if(Object.keys(l).forEach(o=>{if(c.set(o,l[o].value),this._triggers[o]){const d=this.trigger(a,o,Wo,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,a,!0,e,c),t&&qo(s).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const e=this._elementListeners.get(a),t=this._engine.statesByElement.get(a);if(e&&t){const r=new Set;e.forEach(l=>{const c=l.name;if(r.has(c))return;r.add(c);const o=this._triggers[c].fallbackTransition,d=t[c]||Uo,u=new E0(Wo),h=new D0(this.id,c,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:o,fromState:d,toState:u,player:h,isFallbackTransition:!0})})}}removeNode(a,e){const t=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,e),this.triggerLeaveAnimation(a,e,!0))return;let r=!1;if(t.totalAnimations){const l=t.players.length?t.playersByQueriedElement.get(a):[];if(l&&l.length)r=!0;else{let c=a;for(;c=c.parentNode;)if(t.statesByElement.get(c)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(a),r)t.markElementAsRemoved(this.id,a,!1,e);else{const l=a[ha];(!l||l===N1)&&(t.afterFlush(()=>this.clearElementCache(a)),t.destroyInnerAnimations(a),t._onRemovalComplete(a,e))}}insertNode(a,e){Yi(a,this._hostClassName)}drainQueuedTransitions(a){const e=[];return this._queue.forEach(t=>{const r=t.player;if(r.destroyed)return;const l=t.element,c=this._elementListeners.get(l);c&&c.forEach(s=>{if(s.name==t.triggerName){const o=Ih(l,t.triggerName,t.fromState.value,t.toState.value);o._data=a,_1(t.player,s.phase,o,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(t)}),this._queue=[],e.sort((t,r)=>{const l=t.transition.ast.depCount,c=r.transition.ast.depCount;return 0==l||0==c?l-c:this._engine.driver.containsElement(t.element,r.element)?1:-1})}destroy(a){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let e=!1;return this._elementListeners.has(a)&&(e=!0),e=!!this._queue.find(t=>t.element===a)||e,e}}class eu{constructor(a,e,t){this.bodyNode=a,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,l)=>{}}_onRemovalComplete(a,e){this.onRemovalComplete(a,e)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&a.push(t)})}),a}createNamespace(a,e){const t=new pM(a,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[a]=t}_balanceNamespaceList(a,e){const t=this._namespaceList.length-1;if(t>=0){let r=!1;for(let l=t;l>=0;l--)if(this.driver.containsElement(this._namespaceList[l].hostElement,e)){this._namespaceList.splice(l+1,0,a),r=!0;break}r||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(e,a),a}register(a,e){let t=this._namespaceLookup[a];return t||(t=this.createNamespace(a,e)),t}registerTrigger(a,e,t){let r=this._namespaceLookup[a];r&&r.register(e,t)&&this.totalAnimations++}destroy(a,e){if(!a)return;const t=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(t.hostElement),delete this._namespaceLookup[a];const r=this._namespaceList.indexOf(t);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>t.destroy(e))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const e=new Set,t=this.statesByElement.get(a);if(t){const r=Object.keys(t);for(let l=0;l=0&&this.collectedLeaveElements.splice(c,1)}if(a){const c=this._fetchNamespace(a);c&&c.insertNode(e,t)}r&&this.collectEnterElement(e)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,e){e?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Yi(a,Kd)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Zo(a,Kd))}removeNode(a,e,t,r){if(Nr(e)){const l=a?this._fetchNamespace(a):null;if(l?l.removeNode(e,r):this.markElementAsRemoved(a,e,!1,r),t){const c=this.namespacesByHostElement.get(e);c&&c.id!==a&&c.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(a,e,t,r,l){this.collectedLeaveElements.push(e),e[ha]={namespaceId:a,setForRemoval:r,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,e,t,r,l){return Nr(e)?this._fetchNamespace(a).listen(e,t,r,l):()=>{}}_buildInstruction(a,e,t,r,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,t,r,a.fromState.options,a.toState.options,e,l)}destroyInnerAnimations(a){let e=this.driver.query(a,Nh,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(a,c0,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(a){const e=this.playersByElement.get(a);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(a){const e=this.playersByQueriedElement.get(a);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return qo(this.players).onDone(()=>a());a()})}processLeaveNode(a){var e;const t=a[ha];if(t&&t.setForRemoval){if(a[ha]=N1,t.namespaceId){this.destroyInnerAnimations(a);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(a)}this._onRemovalComplete(a,t.setForRemoval)}(null===(e=a.classList)||void 0===e?void 0:e.contains(Kd))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(a=-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?qo(e).onDone(()=>{t.forEach(r=>r())}):t.forEach(r=>r())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,e){const t=new Gh,r=[],l=new Map,c=[],s=new Map,o=new Map,d=new Map,u=new Set;this.disabledNodes.forEach(ht=>{u.add(ht);const wt=this.driver.query(ht,".ng-animate-queued",!0);for(let xt=0;xt{const xt=o0+Q++;N.set(wt,xt),ht.forEach(di=>Yi(di,xt))});const fe=[],je=new Set,Mt=new Set;for(let ht=0;htje.add(di)):Mt.add(wt))}const gt=new Map,ei=iu(f,Array.from(je));ei.forEach((ht,wt)=>{const xt=l0+Q++;gt.set(wt,xt),ht.forEach(di=>Yi(di,xt))}),a.push(()=>{b.forEach((ht,wt)=>{const xt=N.get(wt);ht.forEach(di=>Zo(di,xt))}),ei.forEach((ht,wt)=>{const xt=gt.get(wt);ht.forEach(di=>Zo(di,xt))}),fe.forEach(ht=>{this.processLeaveNode(ht)})});const qa=[],xs=[];for(let ht=this._namespaceList.length-1;ht>=0;ht--)this._namespaceList[ht].drainQueuedTransitions(e).forEach(xt=>{const di=xt.player,nr=xt.element;if(qa.push(di),this.collectedEnterElements.length){const Yr=nr[ha];if(Yr&&Yr.setForMove){if(Yr.previousTriggersValues&&Yr.previousTriggersValues.has(xt.triggerName)){const qu=Yr.previousTriggersValues.get(xt.triggerName),yd=this.statesByElement.get(xt.element);yd&&yd[xt.triggerName]&&(yd[xt.triggerName].value=qu)}return void di.destroy()}}const ol=!h||!this.driver.containsElement(h,nr),Ya=gt.get(nr),Ad=N.get(nr),un=this._buildInstruction(xt,t,Ad,Ya,ol);if(un.errors&&un.errors.length)return void xs.push(un);if(ol)return di.onStart(()=>Vl(nr,un.fromStyles)),di.onDestroy(()=>os(nr,un.toStyles)),void r.push(di);if(xt.isFallbackTransition)return di.onStart(()=>Vl(nr,un.fromStyles)),di.onDestroy(()=>os(nr,un.toStyles)),void r.push(di);const yD=[];un.timelines.forEach(Yr=>{Yr.stretchStartingKeyframe=!0,this.disabledNodes.has(Yr.element)||yD.push(Yr)}),un.timelines=yD,t.append(nr,un.timelines),c.push({instruction:un,player:di,element:nr}),un.queriedElements.forEach(Yr=>ca(s,Yr,[]).push(di)),un.preStyleProps.forEach((Yr,qu)=>{const yd=Object.keys(Yr);if(yd.length){let Yu=o.get(qu);Yu||o.set(qu,Yu=new Set),yd.forEach(yv=>Yu.add(yv))}}),un.postStyleProps.forEach((Yr,qu)=>{const yd=Object.keys(Yr);let Yu=d.get(qu);Yu||d.set(qu,Yu=new Set),yd.forEach(yv=>Yu.add(yv))})});if(xs.length){const ht=[];xs.forEach(wt=>{ht.push(`@${wt.triggerName} has failed due to:\n`),wt.errors.forEach(xt=>ht.push(`- ${xt}\n`))}),qa.forEach(wt=>wt.destroy()),this.reportError(ht)}const qr=new Map,dc=new Map;c.forEach(ht=>{const wt=ht.element;t.has(wt)&&(dc.set(wt,wt),this._beforeAnimationBuild(ht.player.namespaceId,ht.instruction,qr))}),r.forEach(ht=>{const wt=ht.element;this._getPreviousPlayers(wt,!1,ht.namespaceId,ht.triggerName,null).forEach(di=>{ca(qr,wt,[]).push(di),di.destroy()})});const uc=fe.filter(ht=>jl(ht,o,d)),hc=new Map;Go(hc,this.driver,Mt,d,vr).forEach(ht=>{jl(ht,o,d)&&uc.push(ht)});const xg=new Map;b.forEach((ht,wt)=>{Go(xg,this.driver,new Set(ht),o,"!")}),uc.forEach(ht=>{const wt=hc.get(ht),xt=xg.get(ht);hc.set(ht,Object.assign(Object.assign({},wt),xt))});const ju=[],bD=[],AD={};c.forEach(ht=>{const{element:wt,player:xt,instruction:di}=ht;if(t.has(wt)){if(u.has(wt))return xt.onDestroy(()=>os(wt,di.toStyles)),xt.disabled=!0,xt.overrideTotalTime(di.totalTime),void r.push(xt);let nr=AD;if(dc.size>1){let Ya=wt;const Ad=[];for(;Ya=Ya.parentNode;){const un=dc.get(Ya);if(un){nr=un;break}Ad.push(Ya)}Ad.forEach(un=>dc.set(un,nr))}const ol=this._buildAnimation(xt.namespaceId,di,qr,l,xg,hc);if(xt.setRealPlayer(ol),nr===AD)ju.push(xt);else{const Ya=this.playersByElement.get(nr);Ya&&Ya.length&&(xt.parentPlayer=qo(Ya)),r.push(xt)}}else Vl(wt,di.fromStyles),xt.onDestroy(()=>os(wt,di.toStyles)),bD.push(xt),u.has(wt)&&r.push(xt)}),bD.forEach(ht=>{const wt=l.get(ht.element);if(wt&&wt.length){const xt=qo(wt);ht.setRealPlayer(xt)}}),r.forEach(ht=>{ht.parentPlayer?ht.syncPlayerEvents(ht.parentPlayer):ht.destroy()});for(let ht=0;ht!ol.destroyed);nr.length?jc(this,wt,nr):this.processLeaveNode(wt)}return fe.length=0,ju.forEach(ht=>{this.players.push(ht),ht.onDone(()=>{ht.destroy();const wt=this.players.indexOf(ht);this.players.splice(wt,1)}),ht.play()}),ju}elementContainsData(a,e){let t=!1;const r=e[ha];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(a).elementContainsData(e)||t}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,e,t,r,l){let c=[];if(e){const s=this.playersByQueriedElement.get(a);s&&(c=s)}else{const s=this.playersByElement.get(a);if(s){const o=!l||l==Wo;s.forEach(d=>{d.queued||!o&&d.triggerName!=r||c.push(d)})}}return(t||r)&&(c=c.filter(s=>!(t&&t!=s.namespaceId||r&&r!=s.triggerName))),c}_beforeAnimationBuild(a,e,t){const l=e.element,c=e.isRemovalTransition?void 0:a,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const d=o.element,u=d!==l,h=ca(t,d,[]);this._getPreviousPlayers(d,u,c,s,e.toState).forEach(b=>{const N=b.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),b.destroy(),h.push(b)})}Vl(l,e.fromStyles)}_buildAnimation(a,e,t,r,l,c){const s=e.triggerName,o=e.element,d=[],u=new Set,h=new Set,f=e.timelines.map(N=>{const Q=N.element;u.add(Q);const fe=Q[ha];if(fe&&fe.removedBeforeQueried)return new Gd(N.duration,N.delay);const je=Q!==o,Mt=function qc(n){const a=[];return Fl(n,a),a}((t.get(Q)||uM).map(qr=>qr.getRealPlayer())).filter(qr=>!!qr.element&&qr.element===Q),gt=l.get(Q),ei=c.get(Q),qa=g1(0,this._normalizer,0,N.keyframes,gt,ei),xs=this._buildPlayer(N,qa,Mt);if(N.subTimeline&&r&&h.add(Q),je){const qr=new D0(a,s,Q);qr.setRealPlayer(xs),d.push(qr)}return xs});d.forEach(N=>{ca(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>function fM(n,a,e){let t;if(n instanceof Map){if(t=n.get(a),t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&n.delete(a)}}else if(t=n[a],t){if(t.length){const r=t.indexOf(e);t.splice(r,1)}0==t.length&&delete n[a]}return t}(this.playersByQueriedElement,N.element,N))}),u.forEach(N=>Yi(N,v1));const b=qo(f);return b.onDestroy(()=>{u.forEach(N=>Zo(N,v1)),os(o,e.toStyles)}),h.forEach(N=>{ca(r,N,[]).push(b)}),b}_buildPlayer(a,e,t){return e.length>0?this.driver.animate(a.element,e,a.duration,a.delay,a.easing,t):new Gd(a.duration,a.delay)}}class D0{constructor(a,e,t){this.namespaceId=a,this.triggerName=e,this.element=t,this._player=new Gd,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(t=>_1(a,e,void 0,t))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const e=this._player;e.triggerCallback&&a.onStart(()=>e.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,e){ca(this._queuedCallbacks,a,[]).push(e)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const e=this._player;e.triggerCallback&&e.triggerCallback(a)}}function Nr(n){return n&&1===n.nodeType}function jn(n,a){const e=n.style.display;return n.style.display=null!=a?a:"none",e}function Go(n,a,e,t,r){const l=[];e.forEach(o=>l.push(jn(o)));const c=[];t.forEach((o,d)=>{const u={};o.forEach(h=>{const f=u[h]=a.computeStyle(d,h,r);(!f||0==f.length)&&(d[ha]=hM,c.push(d))}),n.set(d,u)});let s=0;return e.forEach(o=>jn(o,l[s++])),c}function iu(n,a){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==a.length)return e;const r=new Set(a),l=new Map;function c(s){if(!s)return 1;let o=l.get(s);if(o)return o;const d=s.parentNode;return o=e.has(d)?d:r.has(d)?1:c(d),l.set(s,o),o}return a.forEach(s=>{const o=c(s);1!==o&&e.get(o).push(s)}),e}function Yi(n,a){var e;null===(e=n.classList)||void 0===e||e.add(a)}function Zo(n,a){var e;null===(e=n.classList)||void 0===e||e.remove(a)}function jc(n,a,e){qo(e).onDone(()=>n.processLeaveNode(a))}function Fl(n,a){for(let e=0;er.add(l)):a.set(n,t),e.delete(n),!0}class no{constructor(a,e,t){this.bodyNode=a,this._driver=e,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(r,l)=>{},this._transitionEngine=new eu(a,e,t),this._timelineEngine=new oM(a,e,t),this._transitionEngine.onRemovalComplete=(r,l)=>this.onRemovalComplete(r,l)}registerTrigger(a,e,t,r,l){const c=a+"-"+r;let s=this._triggerCache[c];if(!s){const o=[],d=_0(this._driver,l,o);if(o.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${o.join("\n - ")}`);s=function yT(n,a,e){return new MT(n,a,e)}(r,d,this._normalizer),this._triggerCache[c]=s}this._transitionEngine.registerTrigger(e,r,s)}register(a,e){this._transitionEngine.register(a,e)}destroy(a,e){this._transitionEngine.destroy(a,e)}onInsert(a,e,t,r){this._transitionEngine.insertNode(a,e,t,r)}onRemove(a,e,t,r){this._transitionEngine.removeNode(a,e,r||!1,t)}disableAnimations(a,e){this._transitionEngine.markElementAsDisabled(a,e)}process(a,e,t,r){if("@"==t.charAt(0)){const[l,c]=A1(t);this._timelineEngine.command(l,e,c,r)}else this._transitionEngine.trigger(a,e,t,r)}listen(a,e,t,r,l){if("@"==t.charAt(0)){const[c,s]=A1(t);return this._timelineEngine.listen(c,e,s,l)}return this._transitionEngine.listen(a,e,t,r,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Uc=(()=>{class n{constructor(e,t,r){this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;let l=n.initialStylesByElement.get(e);l||n.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&os(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(os(this._element,this._initialStyles),this._endStyles&&(os(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Vl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vl(this._element,this._endStyles),this._endStyles=null),os(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function $o(n){let a=null;const e=Object.keys(n);for(let t=0;ta()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,e,t){return a.animate(e,t)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(t=>{"offset"!=t&&(a[t]=this._finished?e[t]:eM(this.element,t))})}this.currentSnapshot=a}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class V1{validateStyleProperty(a){return y1(a)}matchesElement(a,e){return!1}containsElement(a,e){return w1(a,e)}query(a,e,t){return C1(a,e,t)}computeStyle(a,e,t){return window.getComputedStyle(a)[e]}animate(a,e,t,r,l,c=[]){const o={duration:t,delay:r,fill:0==r?"both":"forwards"};l&&(o.easing=l);const d={},u=c.filter(f=>f instanceof k0);(function qh(n,a){return 0===n||0===a})(t,r)&&u.forEach(f=>{let b=f.currentSnapshot;Object.keys(b).forEach(N=>d[N]=b[N])}),e=function Ky(n,a,e){const t=Object.keys(e);if(t.length&&a.length){let l=a[0],c=[];if(t.forEach(s=>{l.hasOwnProperty(s)||c.push(s),l[s]=e[s]}),c.length)for(var r=1;rss(f,!1)),d);const h=function Wc(n,a){let e=null,t=null;return Array.isArray(a)&&a.length?(e=$o(a[0]),a.length>1&&(t=$o(a[a.length-1]))):a&&(e=$o(a)),e||t?new Uc(n,e,t):null}(a,e);return new k0(a,e,o,h)}}let z1=(()=>{class n extends Bl{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 r=Array.isArray(e)?Xf(e):e;return P0(this._renderer,null,t,"register",[r]),new F1(t,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class F1 extends class Jf{}{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new j1(this._id,a,e||{},this._renderer)}}class j1{constructor(a,e,t,r){this.id=a,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){return P0(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){var a,e;return null!==(e=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==e?e:0}}function P0(n,a,e,t,r){return n.setProperty(a,`@@${e}:${t}`,r)}const R0="@.disabled";let mM=(()=>{class n{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=(l,c)=>{const s=null==c?void 0:c.parentNode(l);s&&c.removeChild(s,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let u=this._rendererCache.get(l);return u||(u=new O0("",l,this.engine),this._rendererCache.set(l,u)),u}const c=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(c,s,e,u.name,u)};return t.data.animation.forEach(o),new gM(this,s,l,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(l=>{const[c,s]=l;c(s)}),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 n.\u0275fac=function(e){return new(e||n)(i.LFG(i.FYo),i.LFG(no),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class O0{constructor(a,e,t){this.namespaceId=a,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(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,e){this.delegate.appendChild(a,e),this.engine.onInsert(this.namespaceId,e,a,!1)}insertBefore(a,e,t,r=!0){this.delegate.insertBefore(a,e,t),this.engine.onInsert(this.namespaceId,e,a,r)}removeChild(a,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,t,r){this.delegate.setAttribute(a,e,t,r)}removeAttribute(a,e,t){this.delegate.removeAttribute(a,e,t)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,t,r){this.delegate.setStyle(a,e,t,r)}removeStyle(a,e,t){this.delegate.removeStyle(a,e,t)}setProperty(a,e,t){"@"==e.charAt(0)&&e==R0?this.disableAnimations(a,!!t):this.delegate.setProperty(a,e,t)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,t){return this.delegate.listen(a,e,t)}disableAnimations(a,e){this.engine.disableAnimations(a,e)}}class gM extends O0{constructor(a,e,t,r){super(e,t,r),this.factory=a,this.namespaceId=e}setProperty(a,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&e==R0?this.disableAnimations(a,t=void 0===t||!!t):this.engine.process(this.namespaceId,a,e.substr(1),t):this.delegate.setProperty(a,e,t)}listen(a,e,t){if("@"==e.charAt(0)){const r=function q1(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(a);let l=e.substr(1),c="";return"@"!=l.charAt(0)&&([l,c]=function Y1(n){const a=n.indexOf(".");return[n.substring(0,a),n.substr(a+1)]}(l)),this.engine.listen(this.namespaceId,r,l,c,s=>{this.factory.scheduleListenerCallback(s._data||-1,t,s)})}return this.delegate.listen(a,e,t)}}let _M=(()=>{class n extends no{constructor(e,t,r){super(e.body,t,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(s0),i.LFG(C0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const qn=new i.OlP("AnimationModuleType"),I0=[{provide:Bl,useClass:z1},{provide:C0,useFactory:function bM(){return new _T}},{provide:no,useClass:_M},{provide:i.FYo,useFactory:function W1(n,a,e){return new mM(n,a,e)},deps:[xe,no,i.R0b]}],U1=[{provide:s0,useFactory:()=>new V1},{provide:qn,useValue:"BrowserAnimations"},...I0],AM=[{provide:s0,useClass:a0},{provide:qn,useValue:"NoopAnimations"},...I0];let wT=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?AM:U1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:U1,imports:[de]}),n})();function yM(n,a){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 vT(n,a){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 TT=["*"];let wM=(()=>{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})(),$1=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const CM=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function xT(){return!0}});let ut=(()=>{class n{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!vh()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(m1),i.LFG(CM,8),i.LFG(w.K0))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka],ka]}),n})();function Oa(n){return class extends n{constructor(...a){super(...a),this._disabled=!1}get disabled(){return this._disabled}set disabled(a){this._disabled=$e(a)}}}function Ia(n,a){return class extends n{constructor(...e){super(...e),this.defaultColor=a,this.color=a}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 pa(n){return class extends n{constructor(...a){super(...a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=$e(a)}}}function Jo(n,a=0){return class extends n{constructor(...e){super(...e),this._tabIndex=a,this.defaultTabIndex=a}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Xi(e):this.defaultTabIndex}}}function B0(n){return class extends n{constructor(...a){super(...a),this.stateChanges=new Ie.x,this.errorState=!1}updateErrorState(){const a=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==a&&(this.errorState=l,this.stateChanges.next())}}}function J1(n){return class extends n{constructor(...a){super(...a),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new an.y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(a){a.next(),a.complete()}}}const TM=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function xM(){return(0,i.f3M)(i.soG)}});class Ba{constructor(){this._localeChanges=new Ie.x,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,e){return this.getYear(a)-this.getYear(e)||this.getMonth(a)-this.getMonth(e)||this.getDate(a)-this.getDate(e)}sameDate(a,e){if(a&&e){let t=this.isValid(a),r=this.isValid(e);return t&&r?!this.compareDate(a,e):t==r}return a==e}clampDate(a,e,t){return e&&this.compareDate(a,e)<0?e:t&&this.compareDate(a,t)>0?t:a}}const ru=new i.OlP("mat-date-formats"),SM=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qh(n,a){const e=Array(n);for(let t=0;t{class n extends Ba{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 Qh(12,r=>this._format(t,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qh(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 Qh(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 l=this._createDateWithOverflow(e,t,r);return l.getMonth(),l}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(SM.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 l=new Date;return l.setFullYear(e,t,r),l.setHours(0,0,0,0),l}_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 n.\u0275fac=function(e){return new(e||n)(i.LFG(TM,8),i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const V0={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 DT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ba,useClass:N0}]}),n})(),Kh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:ru,useValue:V0}],imports:[[DT]]}),n})(),au=(()=>{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})(),Gc=(()=>{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 ql(n,a,e){n.nativeElement.classList.toggle(a,e)}let Zc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();class EM{constructor(a,e,t){this._renderer=a,this.element=e,this.config=t,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ep={enterDuration:225,exitDuration:150},tp=aa({passive:!0}),DM=["mousedown","touchstart"],X1=["mouseup","mouseleave","touchend","touchcancel"];class ip{constructor(a,e,t,r){this._target=a,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Qi(t))}fadeInRipple(a,e,t={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},ep),t.animation);t.centered&&(a=r.left+r.width/2,e=r.top+r.height/2);const c=t.radius||function Q1(n,a,e){const t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(a-e.top),Math.abs(a-e.bottom));return Math.sqrt(t*t+r*r)}(a,e,r),s=a-r.left,o=e-r.top,d=l.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=s-c+"px",u.style.top=o-c+"px",u.style.height=2*c+"px",u.style.width=2*c+"px",null!=t.color&&(u.style.backgroundColor=t.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u),function j0(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const h=new EM(this,u,t);return h.state=0,this._activeRipples.add(h),t.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const f=h===this._mostRecentTransientRipple;h.state=1,!t.persistent&&(!f||!this._isPointerDown)&&h.fadeOut()},d),h}fadeOutRipple(a){const e=this._activeRipples.delete(a);if(a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const t=a.element,r=Object.assign(Object.assign({},ep),a.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",a.state=2,this._runTimeoutOutsideZone(()=>{a.state=3,t.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const e=Qi(a);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(DM))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(X1),this._pointerUpEventsRegistered=!0)}_onMousedown(a){const e=Yf(a),t=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_runTimeoutOutsideZone(a,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(a,e))}_registerEvents(a){this._ngZone.runOutsideAngular(()=>{a.forEach(e=>{this._triggerElement.addEventListener(e,this,tp)})})}_removeTriggerEvents(){this._triggerElement&&(DM.forEach(a=>{this._triggerElement.removeEventListener(a,this,tp)}),this._pointerUpEventsRegistered&&X1.forEach(a=>{this._triggerElement.removeEventListener(a,this,tp)}))}}const q0=new i.OlP("mat-ripple-global-options");let hr=(()=>{class n{constructor(e,t,r,l,c){this._elementRef=e,this._animationMode=c,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new ip(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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(wi),i.Y36(q0,8),i.Y36(qn,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})(),Tr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})(),Y0=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(qn,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})(),su=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut]]}),n})();const ou=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),lu=new i.OlP("MatOptgroup");let PM=0;class W0{constructor(a,e=!1){this.source=a,this.isUserInput=e}}let K1=(()=>{class n{constructor(e,t,r,l){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+PM++,this.onSelectionChange=new i.vpe,this._stateChanges=new Ie.x}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=$e(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 r=this._getHostElement();"function"==typeof r.focus&&r.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)&&!Ln(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 W0(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})(),ro=(()=>{class n extends K1{constructor(e,t,r,l){super(e,t,r,l)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(ou,8),i.Y36(lu,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(l){return t._handleKeydown(l)}),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:TT,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,yM,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,vT,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:[Y0,w.O5,hr],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;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 $c(n,a,e){if(e.length){let t=a.toArray(),r=e.toArray(),l=0;for(let c=0;ce+t?Math.max(0,n-t+a):e}let Jc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,w.ez,ut,su]]}),n})();const e_=["mat-button",""],t_=["*"],n_=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],r_=Ia(Oa(pa(class{constructor(n){this._elementRef=n}})));let It=(()=>{class n extends r_{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 l of n_)this._hasHostAttributes(l)&&this._getHostElement().classList.add(l);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(oa),i.Y36(qn,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(hr,5),2&e){let r;i.iGM(r=i.CRH())&&(t.ripple=r.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:e_,ngContentSelectors:t_,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:[hr],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;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;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;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;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})(),ls=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut],ut]}),n})();var a_=T(1144),ao=T(576),gn=T(3268);const s_=["addListener","removeListener"],OM=["addEventListener","removeEventListener"],IM=["on","off"];function Na(n,a,e,t){if((0,ao.m)(e)&&(t=e,e=void 0),t)return Na(n,a,e).pipe((0,gn.Z)(t));const[r,l]=function Xc(n){return(0,ao.m)(n.addEventListener)&&(0,ao.m)(n.removeEventListener)}(n)?OM.map(c=>s=>n[c](a,s,e)):function l_(n){return(0,ao.m)(n.addListener)&&(0,ao.m)(n.removeListener)}(n)?s_.map(o_(n,a)):function c_(n){return(0,ao.m)(n.on)&&(0,ao.m)(n.off)}(n)?IM.map(o_(n,a)):[];if(!r&&(0,a_.z)(n))return(0,Vn.z)(c=>Na(c,a,e))((0,Ps.Xf)(n));if(!r)throw new TypeError("Invalid event target");return new an.y(c=>{const s=(...o)=>c.next(1l(s)})}function o_(n,a){return e=>t=>n[e](a,t)}var d_=T(4408);const cu={schedule(n){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=cu;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const r=a(l=>{e=void 0,n(l)});return new Wt.w0(()=>null==e?void 0:e(r))},requestAnimationFrame(...n){const{delegate:a}=cu;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:a}=cu;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame)(...n)},delegate:void 0};var h_=T(7565);const BM=new class p_ extends h_.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let r;a=a||t.shift();do{if(r=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,r){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw r}}}(class u_ extends d_.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=cu.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(r=>r.id===e)||(cu.cancelAnimationFrame(e),a._scheduled=void 0)}});let fa,U0=1;const rp={};function G0(n){return n in rp&&(delete rp[n],!0)}const cs={setImmediate(n){const a=U0++;return rp[a]=!0,fa||(fa=Promise.resolve()),fa.then(()=>G0(a)&&n()),a},clearImmediate(n){G0(n)}},{setImmediate:Va,clearImmediate:m_}=cs,du={setImmediate(...n){const{delegate:a}=du;return((null==a?void 0:a.setImmediate)||Va)(...n)},clearImmediate(n){const{delegate:a}=du;return((null==a?void 0:a.clearImmediate)||m_)(n)},delegate:void 0},Z0=new class VM extends h_.v{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let r;a=a||t.shift();do{if(r=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,r){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw r}}}(class NM extends d_.o{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=du.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,e,t=0){if(null!=t&&t>0||null==t&&this.delay>0)return super.recycleAsyncId(a,e,t);a.actions.some(r=>r.id===e)||(du.clearImmediate(e),a._scheduled=void 0)}});var ap=T(4986),$0=T(2805);function sp(n,a=ap.z){return function uu(n){return(0,_r.e)((a,e)=>{let t=!1,r=null,l=null,c=!1;const s=()=>{if(null==l||l.unsubscribe(),l=null,t){t=!1;const d=r;r=null,e.next(d)}c&&e.complete()},o=()=>{l=null,c&&e.complete()};a.subscribe((0,En.x)(e,d=>{t=!0,r=d,l||(0,Ps.Xf)(n(d)).subscribe(l=(0,En.x)(e,s,o))},()=>{c=!0,(!t||!l||l.closed)&&e.complete()}))})}(()=>(0,$0.H)(n,a))}let Xo=(()=>{class n{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new Ie.x,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 an.y(t=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(sp(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,rt.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,Ft.h)(l=>!l||r.indexOf(l)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((r,l)=>{this._scrollableContainsElement(l,e)&&t.push(l)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=Qi(t),l=e.getElementRef().nativeElement;do{if(r==l)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Na(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(wi),i.LFG(w.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qo=(()=>{class n{constructor(e,t,r,l){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=l,this._destroyed=new Ie.x,this._elementScrolled=new an.y(c=>this.ngZone.runOutsideAngular(()=>Na(this.elementRef.nativeElement,"scroll").pipe(dt(this._destroyed)).subscribe(c)))}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,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&0!=Mh()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Mh()?e.left=e.right:1==Mh()&&(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;iy()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",r="right",l=this.elementRef.nativeElement;if("top"==e)return l.scrollTop;if("bottom"==e)return l.scrollHeight-l.clientHeight-l.scrollTop;const c=this.dir&&"rtl"==this.dir.value;return"start"==e?e=c?r:t:"end"==e&&(e=c?t:r),c&&2==Mh()?e==t?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:c&&1==Mh()?e==t?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:e==t?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Xo),i.Y36(i.R0b),i.Y36(Fn,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),n})(),so=(()=>{class n{constructor(e,t,r){this._platform=e,this._change=new Ie.x,this._changeListener=l=>{this._change.next(l)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.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,l=r.getBoundingClientRect();return{top:-l.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-l.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(sp(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(wi),i.LFG(i.R0b),i.LFG(w.K0,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),za=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Yl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka,za],ka,za]}),n})();class Q0{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class op extends Q0{constructor(a,e,t,r){super(),this.component=a,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r}}class Qc extends Q0{constructor(a,e,t){super(),this.templateRef=a,this.viewContainerRef=e,this.context=t}get origin(){return this.templateRef.elementRef}attach(a,e=this.context){return this.context=e,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class GM extends Q0{constructor(a){super(),this.element=a instanceof i.SBq?a.nativeElement:a}}class K0{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof op?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof Qc?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof GM?(this._attachedPortal=a,this.attachDomPortal(a)):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(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ZM extends K0{constructor(a,e,t,r,l){super(),this.outletElement=a,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=c=>{const s=c.element,o=this._document.createComment("dom-portal");s.parentNode.insertBefore(o,s),this.outletElement.appendChild(s),this._attachedPortal=c,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(s,o)})},this._document=l}attachComponentPortal(a){const t=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let r;return a.viewContainerRef?(r=a.viewContainerRef.createComponent(t,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=t.create(a.injector||this._defaultInjector||i.zs3.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=a,r}attachTemplatePortal(a){let e=a.viewContainerRef,t=e.createEmbeddedView(a.templateRef,a.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=a,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let em=(()=>{class n extends K0{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=l=>{const c=l.element,s=this._document.createComment("dom-portal");l.setAttachedHost(this),c.parentNode.insertBefore(s,c),this._getRootNode().appendChild(c),this._attachedPortal=l,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(c,s)})},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,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),c=t.createComponent(l,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]),super.setDisposeFn(()=>c.destroy()),this._attachedPortal=e,this._attachedRef=c,this.attached.emit(c),c}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(w.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),n})(),Wl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();var Ri=T(6451);const tm=iy();class A_{constructor(a,e){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=mn(-this._previousScrollPosition.left),a.style.top=mn(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,t=a.style,r=this._document.body.style,l=t.scrollBehavior||"",c=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),tm&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),tm&&(t.scrollBehavior=l,r.scrollBehavior=c)}}_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 y_{constructor(a,e,t,r){this._scrollDispatcher=a,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(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lp{enable(){}disable(){}attach(){}}function hu(n,a){return a.some(e=>n.bottome.bottom||n.righte.right)}function Ko(n,a){return a.some(e=>n.tope.bottom||n.lefte.right)}class QM{constructor(a,e,t,r){this._scrollDispatcher=a,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(a){this._overlayRef=a}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();hu(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 KM=(()=>{class n{constructor(e,t,r,l){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new lp,this.close=c=>new y_(this._scrollDispatcher,this._ngZone,this._viewportRuler,c),this.block=()=>new A_(this._viewportRuler,this._document),this.reposition=c=>new QM(this._scrollDispatcher,this._viewportRuler,this._ngZone,c),this._document=l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Xo),i.LFG(so),i.LFG(i.R0b),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class us{constructor(a){if(this.scrollStrategy=new lp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const e=Object.keys(a);for(const t of e)void 0!==a[t]&&(this[t]=a[t])}}}class UT{constructor(a,e){this.connectionPair=a,this.scrollableViewProperties=e}}class GT{constructor(a,e,t,r,l,c,s,o,d){this._portalOutlet=a,this._host=e,this._pane=t,this._config=r,this._ngZone=l,this._keyboardDispatcher=c,this._document=s,this._location=o,this._outsideClickDispatcher=d,this._backdropElement=null,this._backdropClick=new Ie.x,this._attachments=new Ie.x,this._detachments=new Ie.x,this._locationChanges=Wt.w0.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Ie.x,this._outsidePointerEvents=new Ie.x,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(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(a);return 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 a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){var a;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===(a=this._host)||void 0===a||a.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(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config=Object.assign(Object.assign({},this._config),a),this._updateElementSize()}setDirection(a){this._config=Object.assign(Object.assign({},this._config),{direction:a}),this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=mn(this._config.width),a.height=mn(this._config.height),a.minWidth=mn(this._config.minWidth),a.minHeight=mn(this._config.minHeight),a.maxWidth=mn(this._config.maxWidth),a.maxHeight=mn(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="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(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;!a||(a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500)))}_toggleClasses(a,e,t){const r=Ic(e||[]).filter(l=>!!l);r.length&&(t?a.classList.add(...r):a.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(dt((0,Ri.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()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let bt=(()=>{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||vh()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l{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 a=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,l=[];let c;for(let s of this._preferredPositions){let o=this._getOriginPoint(a,r,s),d=this._getOverlayPoint(o,e,s),u=this._getOverlayFit(d,e,t,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(u,d,t)?l.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!c||c.overlayFit.visibleAreao&&(o=u,s=d)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(c.position,c.originPoint);this._applyPosition(c.position,c.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&hs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(w_),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){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,a);this._applyPosition(a,e)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,e,t){let r,l;if("center"==t.originX)r=a.left+a.width/2;else{const c=this._isRtl()?a.right:a.left,s=this._isRtl()?a.left:a.right;r="start"==t.originX?c:s}return e.left<0&&(r-=e.left),l="center"==t.originY?a.top+a.height/2:"top"==t.originY?a.top:a.bottom,e.top<0&&(l-=e.top),{x:r,y:l}}_getOverlayPoint(a,e,t){let r,l;return r="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height,{x:a.x+r,y:a.y+l}}_getOverlayFit(a,e,t,r){const l=pu(e);let{x:c,y:s}=a,o=this._getOffset(r,"x"),d=this._getOffset(r,"y");o&&(c+=o),d&&(s+=d);let f=0-s,b=s+l.height-t.height,N=this._subtractOverflows(l.width,0-c,c+l.width-t.width),Q=this._subtractOverflows(l.height,f,b),fe=N*Q;return{visibleArea:fe,isCompletelyWithinViewport:l.width*l.height===fe,fitsInViewportVertically:Q===l.height,fitsInViewportHorizontally:N==l.width}}_canFitWithFlexibleDimensions(a,e,t){if(this._hasFlexibleDimensions){const r=t.bottom-e.y,l=t.right-e.x,c=C_(this._overlayRef.getConfig().minHeight),s=C_(this._overlayRef.getConfig().minWidth),d=a.fitsInViewportHorizontally||null!=s&&s<=l;return(a.fitsInViewportVertically||null!=c&&c<=r)&&d}return!1}_pushOverlayOnScreen(a,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const r=pu(e),l=this._viewportRect,c=Math.max(a.x+r.width-l.width,0),s=Math.max(a.y+r.height-l.height,0),o=Math.max(l.top-t.top-a.y,0),d=Math.max(l.left-t.left-a.x,0);let u=0,h=0;return u=r.width<=l.width?d||-c:a.xN&&!this._isInitialRender&&!this._growAfterOpen&&(c=a.y-N/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)f=t.width-a.x+this._viewportMargin,u=a.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)h=a.x,u=t.right-a.x;else{const b=Math.min(t.right-a.x+t.left,a.x),N=this._lastBoundingBoxSize.width;u=2*b,h=a.x-b,u>N&&!this._isInitialRender&&!this._growAfterOpen&&(h=a.x-N/2)}return{top:c,left:h,bottom:s,right:f,width:u,height:l}}_setBoundingBoxStyles(a,e){const t=this._calculateBoundingBoxRect(a,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 l=this._overlayRef.getConfig().maxHeight,c=this._overlayRef.getConfig().maxWidth;r.height=mn(t.height),r.top=mn(t.top),r.bottom=mn(t.bottom),r.width=mn(t.width),r.left=mn(t.left),r.right=mn(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",l&&(r.maxHeight=mn(l)),c&&(r.maxWidth=mn(c))}this._lastBoundingBoxSize=t,hs(this._boundingBox.style,r)}_resetBoundingBoxStyles(){hs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){hs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,e){const t={},r=this._hasExactPosition(),l=this._hasFlexibleDimensions,c=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();hs(t,this._getExactOverlayY(e,a,u)),hs(t,this._getExactOverlayX(e,a,u))}else t.position="static";let s="",o=this._getOffset(e,"x"),d=this._getOffset(e,"y");o&&(s+=`translateX(${o}px) `),d&&(s+=`translateY(${d}px)`),t.transform=s.trim(),c.maxHeight&&(r?t.maxHeight=mn(c.maxHeight):l&&(t.maxHeight="")),c.maxWidth&&(r?t.maxWidth=mn(c.maxWidth):l&&(t.maxWidth="")),hs(this._pane.style,t)}_getExactOverlayY(a,e,t){let r={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),"bottom"===a.overlayY?r.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":r.top=mn(l.y),r}_getExactOverlayX(a,e,t){let c,r={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,t)),c=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===c?r.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":r.left=mn(l.x),r}_getScrollVisibility(){const a=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ko(a,t),isOriginOutsideView:hu(a,t),isOverlayClipped:Ko(e,t),isOverlayOutsideView:hu(e,t)}}_subtractOverflows(a,...e){return e.reduce((t,r)=>t-Math.max(r,0),a)}_getNarrowedViewportRect(){const a=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+a-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:a-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,e){return"x"===e?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&Ic(a).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof i.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const e=a.width||0,t=a.height||0;return{top:a.y,bottom:a.y+t,left:a.x,right:a.x+e,height:t,width:e}}}function hs(n,a){for(let e in a)a.hasOwnProperty(e)&&(n[e]=a[e]);return n}function C_(n){if("number"!=typeof n&&null!=n){const[a,e]=n.split(iw);return e&&"px"!==e?null:parseFloat(a)}return n||null}function pu(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 fu="cdk-global-overlay-wrapper";class Ki{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(a){const e=a.getConfig();this._overlayRef=a,this._width&&!e.width&&a.updateSize({width:this._width}),this._height&&!e.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(fu),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._rightOffset="",this._leftOffset=a,this._justifyContent="flex-start",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._leftOffset="",this._rightOffset=a,this._justifyContent="flex-end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._justifyContent="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:l,maxWidth:c,maxHeight:s}=t,o=!("100%"!==r&&"100vw"!==r||c&&"100%"!==c&&"100vw"!==c),d=!("100%"!==l&&"100vh"!==l||s&&"100%"!==s&&"100vh"!==s);a.position=this._cssPosition,a.marginLeft=o?"0":this._leftOffset,a.marginTop=d?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=this._rightOffset,o?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=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fu),t.justifyContent=t.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let ZT=(()=>{class n{constructor(e,t,r,l){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=l}global(){return new Ki}flexibleConnectedTo(e){return new nw(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(so),i.LFG(w.K0),i.LFG(wi),i.LFG(bt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),im=(()=>{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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rw=(()=>{class n extends im{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{const l=this._attachedOverlays;for(let c=l.length-1;c>-1;c--)if(l[c]._keydownEvents.observers.length>0){const s=l[c]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):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(w.K0),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),aw=(()=>{class n extends im{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=sa(l)},this._clickListener=l=>{const c=sa(l),s="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:c;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let d=o.length-1;d>-1;d--){const u=o[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(c)||u.overlayElement.contains(s))break;const h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(l)):h.next(l)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),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}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(wi),i.LFG(i.R0b,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),v_=0,xr=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=l,this._keyboardDispatcher=c,this._injector=s,this._ngZone=o,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=f}create(e){const t=this._createHostElement(),r=this._createPaneElement(t),l=this._createPortalOutlet(r),c=new us(e);return c.direction=c.direction||this._directionality.value,new GT(l,t,r,c,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-"+v_++,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 ZM(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(KM),i.LFG(bt),i.LFG(i._Vd),i.LFG(ZT),i.LFG(rw),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(w.K0),i.LFG(Fn),i.LFG(w.Ye),i.LFG(aw))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const T_=[{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"}],nm=new i.OlP("cdk-connected-overlay-scroll-strategy");let x_=(()=>{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})(),S_=(()=>{class n{constructor(e,t,r,l,c){this._overlay=e,this._dir=c,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Wt.w0.EMPTY,this._attachSubscription=Wt.w0.EMPTY,this._detachSubscription=Wt.w0.EMPTY,this._positionSubscription=Wt.w0.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 Qc(t,r),this._scrollStrategyFactory=l,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=$e(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=$e(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=$e(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=$e(e)}get push(){return this._push}set push(e){this._push=$e(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=T_);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&&!Ln(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 us({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(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.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 x_?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 b_(n,a=!1){return(0,_r.e)((e,t)=>{let r=0;e.subscribe((0,En.x)(t,l=>{const c=n(l,r++);(c||a)&&t.next(l),!c&&t.complete()}))})}(()=>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(xr),i.Y36(i.Rgc),i.Y36(i.s_b),i.Y36(nm),i.Y36(Fn,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 mu={provide:nm,deps:[xr],useFactory:function sw(n){return()=>n.scrollStrategies.reposition()}};let Kc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[xr,mu],imports:[[ka,Wl,Yl],Yl]}),n})();const ow=["connectionContainer"],cp=["inputContainer"],E_=["label"];function D_(n,a){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 H_(n,a){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 lw(n,a){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 gu(n,a){1&n&&i.Hsn(0,3,["*ngSwitchCase","true"])}function _u(n,a){1&n&&(i.TgZ(0,"span",23),i._uU(1," *"),i.qZA())}function cw(n,a){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,lw,4,1,"ng-container",12),i.YNc(3,gu,1,0,"ng-content",12),i.YNc(4,_u,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 dw(n,a){1&n&&(i.TgZ(0,"div",24),i.Hsn(1,4),i.qZA())}function uw(n,a){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 L_(n,a){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 k_(n,a){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 P_(n,a){if(1&n&&(i.TgZ(0,"div",27),i.YNc(1,k_,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 hw=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R_=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let pw=0;const O_=new i.OlP("MatError");let ed=(()=>{class n{constructor(e,t){this.id="mat-error-"+pw++,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:O_,useExisting:n}])]}),n})();const JT={transitionMessages:ti("transitionMessages",[St("enter",Ne({opacity:1,transform:"translateY(0%)"})),vt("void => enter",[Ne({opacity:0,transform:"translateY(-5px)"}),_t("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let dp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n}),n})(),mw=0;const I_=new i.OlP("MatHint");let B_=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+mw++}}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:I_,useExisting:n}])]}),n})(),Vr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-label"]]}),n})(),gw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["mat-placeholder"]]}),n})();const _w=new i.OlP("MatPrefix"),N_=new i.OlP("MatSuffix");let V_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=i.lG2({type:n,selectors:[["","matSuffix",""]],features:[i._Bn([{provide:N_,useExisting:n}])]}),n})(),am=0;const td=Ia(class{constructor(n){this._elementRef=n}},"primary"),Aw=new i.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),id=new i.OlP("MatFormField");let ln=(()=>{class n extends td{constructor(e,t,r,l,c,s,o){super(e),this._changeDetectorRef=t,this._dir=r,this._defaults=l,this._platform=c,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ie.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+am++,this._labelId="mat-form-field-label-"+am++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=l&&l.appearance?l.appearance:"legacy",this._hideRequiredMarker=!(!l||null==l.hideRequiredMarker)&&l.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=$e(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(hi(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(dt(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,Ri.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(hi(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(hi(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(dt(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,Na(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(l=>"start"===l.align):null,r=this._hintChildren?this._hintChildren.find(l=>"end"===l.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",l=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=t.querySelectorAll(`${r}, ${l}`);for(let h=0;h0?.75*N+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,Bc],ut]}),n})();function bu(n){return n&&"function"==typeof n.connect}class up{applyChanges(a,e,t,r,l){a.forEachOperation((c,s,o)=>{let d,u;if(null==c.previousIndex){const h=t(c,s,o);d=e.createEmbeddedView(h.templateRef,h.context,h.index),u=1}else null==o?(e.remove(s),u=3):(d=e.get(s),e.move(d,o),u=2);l&&l({context:null==d?void 0:d.context,operation:u,record:c})})}detach(){}}class _n{constructor(a=!1,e,t=!0){this._multiple=a,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie.x,e&&e.length&&(a?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...a){this._verifyValueAssignment(a),a.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...a){this._verifyValueAssignment(a),a.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(a){this.isSelected(a)?this.deselect(a):this.select(a)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(a){return this._selection.has(a)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(a){this._multiple&&this.selected&&this._selected.sort(a)}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(a){this.isSelected(a)||(this._multiple||this._unmarkAll(),this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))}_unmarkSelected(a){this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))}_unmarkAll(){this.isEmpty()||this._selection.forEach(a=>this._unmarkSelected(a))}_verifyValueAssignment(a){}}let sm=(()=>{class n{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(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 Au=new i.OlP("_ViewRepeater");var ww=T(4742),om=T(1810);function lm(...n){const a=(0,ul.jO)(n),{args:e,keys:t}=(0,ww.D)(n),r=new an.y(l=>{const{length:c}=e;if(!c)return void l.complete();const s=new Array(c);let o=c,d=c;for(let u=0;u{h||(h=!0,d--),s[u]=f},()=>o--,void 0,()=>{(!o||!h)&&(d||l.next(t?(0,om.n)(t,s):s),l.complete())}))}});return a?r.pipe((0,gn.Z)(a)):r}let cm=(()=>{class n{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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Qsj),i.Y36(i.SBq))},n.\u0275dir=i.lG2({type:n}),n})(),Ul=(()=>{class n extends cm{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Kn=new i.OlP("NgValueAccessor"),vw={provide:Kn,useExisting:(0,i.Gpc)(()=>bn),multi:!0},xw=new i.OlP("CompositionEventMode");let bn=(()=>{class n extends cm{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Tw(){const n=(0,w.q)()?(0,w.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(xw,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(l){return t._handleInput(l.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(l){return t._compositionEnd(l.target.value)})},features:[i._Bn([vw]),i.qOj]}),n})();function oo(n){return null==n||0===n.length}function dm(n){return null!=n&&"number"==typeof n.length}const Cn=new i.OlP("NgValidators"),el=new i.OlP("NgAsyncValidators"),q_=/^(?=.{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 An{static min(a){return function Y_(n){return a=>{if(oo(a.value)||oo(n))return null;const e=parseFloat(a.value);return!isNaN(e)&&e{if(oo(a.value)||oo(n))return null;const e=parseFloat(a.value);return!isNaN(e)&&e>n?{max:{max:n,actual:a.value}}:null}}(a)}static required(a){return hp(a)}static requiredTrue(a){return function pp(n){return!0===n.value?null:{required:!0}}(a)}static email(a){return function um(n){return oo(n.value)||q_.test(n.value)?null:{email:!0}}(a)}static minLength(a){return function fp(n){return a=>oo(a.value)||!dm(a.value)?null:a.value.lengthdm(a.value)&&a.value.length>n?{maxlength:{requiredLength:n,actualLength:a.value.length}}:null}(a)}static pattern(a){return function G_(n){if(!n)return nd;let a,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),a=new RegExp(e)):(e=n.toString(),a=n),t=>{if(oo(t.value))return null;const r=t.value;return a.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(a)}static nullValidator(a){return null}static compose(a){return Ew(a)}static composeAsync(a){return rd(a)}}function hp(n){return oo(n.value)?{required:!0}:null}function nd(n){return null}function Z_(n){return null!=n}function hm(n){const a=(0,i.QGY)(n)?(0,Sn.D)(n):n;return(0,i.CqO)(a),a}function $_(n){let a={};return n.forEach(e=>{a=null!=e?Object.assign(Object.assign({},a),e):a}),0===Object.keys(a).length?null:a}function pm(n,a){return a.map(e=>e(n))}function fm(n){return n.map(a=>function Sw(n){return!n.validate}(a)?a:e=>a.validate(e))}function Ew(n){if(!n)return null;const a=n.filter(Z_);return 0==a.length?null:function(e){return $_(pm(e,a))}}function mm(n){return null!=n?Ew(fm(n)):null}function rd(n){if(!n)return null;const a=n.filter(Z_);return 0==a.length?null:function(e){return lm(pm(e,a).map(hm)).pipe((0,Ct.U)($_))}}function gm(n){return null!=n?rd(fm(n)):null}function Gl(n,a){return null===n?[a]:Array.isArray(n)?[...n,a]:[n,a]}function ad(n){return n._rawValidators}function J_(n){return n._rawAsyncValidators}function X_(n){return n?Array.isArray(n)?n:[n]:[]}function yu(n,a){return Array.isArray(n)?n.includes(a):n===a}function Q_(n,a){const e=X_(a);return X_(n).forEach(r=>{yu(e,r)||e.push(r)}),e}function K_(n,a){return X_(a).filter(e=>!yu(n,e))}class eb{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(a){this._rawValidators=a||[],this._composedValidatorFn=mm(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=gm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a){this.control&&this.control.reset(a)}hasError(a,e){return!!this.control&&this.control.hasError(a,e)}getError(a,e){return this.control?this.control.getError(a,e):null}}class Fa extends eb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class er extends eb{get formDirective(){return null}get path(){return null}}class tb{constructor(a){this._cd=a}is(a){var e,t,r;return"submitted"===a?!!(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[a])}}let Vi=(()=>{class n extends tb{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Fa,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})(),Mu=(()=>{class n extends tb{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(er,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 Am(n,a){return[...a.path,n]}function sd(n,a){gp(n,a),a.valueAccessor.writeValue(n.value),function sb(n,a){a.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ob(n,a)})}(n,a),function Pw(n,a){const e=(t,r)=>{a.valueAccessor.writeValue(t),r&&a.viewToModelUpdate(t)};n.registerOnChange(e),a._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,a),function kw(n,a){a.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ob(n,a),"submit"!==n.updateOn&&n.markAsTouched()})}(n,a),function Mm(n,a){if(a.valueAccessor.setDisabledState){const e=t=>{a.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),a._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,a)}function ym(n,a,e=!0){const t=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(t),a.valueAccessor.registerOnTouched(t)),Tu(n,a),n&&(a._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function vu(n,a){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(a)})}function gp(n,a){const e=ad(n);null!==a.validator?n.setValidators(Gl(e,a.validator)):"function"==typeof e&&n.setValidators([e]);const t=J_(n);null!==a.asyncValidator?n.setAsyncValidators(Gl(t,a.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const r=()=>n.updateValueAndValidity();vu(a._rawValidators,r),vu(a._rawAsyncValidators,r)}function Tu(n,a){let e=!1;if(null!==n){if(null!==a.validator){const r=ad(n);if(Array.isArray(r)&&r.length>0){const l=r.filter(c=>c!==a.validator);l.length!==r.length&&(e=!0,n.setValidators(l))}}if(null!==a.asyncValidator){const r=J_(n);if(Array.isArray(r)&&r.length>0){const l=r.filter(c=>c!==a.asyncValidator);l.length!==r.length&&(e=!0,n.setAsyncValidators(l))}}}const t=()=>{};return vu(a._rawValidators,t),vu(a._rawAsyncValidators,t),e}function ob(n,a){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function lb(n,a){gp(n,a)}function $l(n,a){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(a,e.currentValue)}function wm(n,a){n._syncPendingControls(),a.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function _p(n,a){if(!a)return null;let e,t,r;return Array.isArray(a),a.forEach(l=>{l.constructor===bn?e=l:function cb(n){return Object.getPrototypeOf(n.constructor)===Ul}(l)?t=l:r=l}),r||t||e||null}function bp(n,a){const e=n.indexOf(a);e>-1&&n.splice(e,1)}const xu="VALID",Su="INVALID",Jl="PENDING",od="DISABLED";function Cm(n){return(zr(n)?n.validators:n)||null}function ld(n){return Array.isArray(n)?mm(n):n||null}function vm(n,a){return(zr(a)?a.asyncValidators:n)||null}function yp(n){return Array.isArray(n)?gm(n):n||null}function zr(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Tm=n=>n instanceof Yn,Xl=n=>n instanceof Mp,cd=n=>n instanceof pb;function db(n){return Tm(n)?n.value:n.getRawValue()}function ub(n,a){const e=Xl(n),t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.vHH(1e3,"");if(!t[a])throw new i.vHH(1001,"")}function hb(n,a){Xl(n),n._forEachChild((t,r)=>{if(void 0===a[r])throw new i.vHH(1002,"")})}class dd{constructor(a,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=a,this._rawAsyncValidators=e,this._composedValidatorFn=ld(this._rawValidators),this._composedAsyncValidatorFn=yp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===xu}get invalid(){return this.status===Su}get pending(){return this.status==Jl}get disabled(){return this.status===od}get enabled(){return this.status!==od}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._rawValidators=a,this._composedValidatorFn=ld(a)}setAsyncValidators(a){this._rawAsyncValidators=a,this._composedAsyncValidatorFn=yp(a)}addValidators(a){this.setValidators(Q_(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(Q_(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(K_(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(K_(a,this._rawAsyncValidators))}hasValidator(a){return yu(this._rawValidators,a)}hasAsyncValidator(a){return yu(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=Jl,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=od,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=xu,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},a),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},a),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xu||this.status===Jl)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?od:xu}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=Jl,this._hasOwnPendingAsyncValidator=!0;const e=hm(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,e={}){this.errors=a,this._updateControlsErrors(!1!==e.emitEvent)}get(a){return function Bw(n,a,e){if(null==a||(Array.isArray(a)||(a=a.split(e)),Array.isArray(a)&&0===a.length))return null;let t=n;return a.forEach(r=>{t=Xl(t)?t.controls.hasOwnProperty(r)?t.controls[r]:null:cd(t)&&t.at(r)||null}),t}(this,a,".")}getError(a,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[a]:null}hasError(a,e){return!!this.getError(a,e)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?od:this.errors?Su:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Jl)?Jl:this._anyControlsHaveStatus(Su)?Su:xu}_anyControlsHaveStatus(a){return this._anyControls(e=>e.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_isBoxedValue(a){return"object"==typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){zr(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Yn extends dd{constructor(a=null,e,t){super(Cm(e),vm(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zr(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(a)?a.value:a)}setValue(a,e={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(a,e={}){this.setValue(a,e)}reset(a=this.defaultValue,e={}){this._applyFormState(a),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){bp(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){bp(this._onDisabledChange,a)}_forEachChild(a){}_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(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}class Mp extends dd{constructor(a,e,t){super(Cm(e),vm(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,e){return this.controls[a]?this.controls[a]:(this.controls[a]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(a,e,t={}){this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],e&&this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,e={}){hb(this,a),Object.keys(a).forEach(t=>{ub(this,t),this.controls[t].setValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(Object.keys(a).forEach(t=>{this.controls[t]&&this.controls[t].patchValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a={},e={}){this._forEachChild((t,r)=>{t.reset(a[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(a,e,t)=>(a[t]=db(e),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&a(t,e)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const e of Object.keys(this.controls)){const t=this.controls[e];if(this.contains(e)&&a(t))return!0}return!1}_reduceValue(){return this._reduceChildren({},(a,e,t)=>((e.enabled||this.disabled)&&(a[t]=e.value),a))}_reduceChildren(a,e){let t=a;return this._forEachChild((r,l)=>{t=e(t,r,l)}),t}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class pb extends dd{constructor(a,e,t){super(Cm(e),vm(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[a]}push(a,e={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(a,e,t={}){this.controls.splice(a,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),e&&(this.controls.splice(a,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,e={}){hb(this,a),a.forEach((t,r)=>{ub(this,r),this.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(a.forEach((t,r)=>{this.at(r)&&this.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a=[],e={}){this._forEachChild((t,r)=>{t.reset(a[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(a=>db(a))}clear(a={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_syncPendingControls(){let a=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((e,t)=>{a(e,t)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(e=>e.enabled&&a(e))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}const fb={provide:er,useExisting:(0,i.Gpc)(()=>lo)},ud=(()=>Promise.resolve(null))();let lo=(()=>{class n extends er{constructor(e,t){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.vpe,this.form=new Mp({},mm(e),gm(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ud.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),sd(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ud.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ud.then(()=>{const t=this._findContainer(e.path),r=new Mp({});lb(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ud.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ud.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,wm(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(Cn,10),i.Y36(el,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(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([fb]),i.qOj]}),n})();const Dm={provide:Fa,useExisting:(0,i.Gpc)(()=>fs)},wp=(()=>Promise.resolve(null))();let fs=(()=>{class n extends Fa{constructor(e,t,r,l,c){super(),this._changeDetectorRef=c,this.control=new Yn,this._registered=!1,this.update=new i.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=_p(0,l)}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),$l(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(){sd(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){wp.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;wp.then(()=>{var l;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(l=this._changeDetectorRef)||void 0===l||l.markForCheck()})}_getPath(e){return this._parent?Am(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(er,9),i.Y36(Cn,10),i.Y36(el,10),i.Y36(Kn,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([Dm]),i.qOj,i.TTD]}),n})(),Hm=(()=>{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 Nw={provide:Kn,useExisting:(0,i.Gpc)(()=>Cp),multi:!0};let Cp=(()=>{class n extends Ul{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t.onChange(l.target.value)})("blur",function(){return t.onTouched()})},features:[i._Bn([Nw]),i.qOj]}),n})(),Lm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const vp=new i.OlP("NgModelWithFormControlWarning"),Mb={provide:Fa,useExisting:(0,i.Gpc)(()=>ja)};let ja=(()=>{class n extends Fa{constructor(e,t,r,l){super(),this._ngModelWarningConfig=l,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=_p(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&ym(t,this,!1),sd(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}$l(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ym(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(Cn,10),i.Y36(el,10),i.Y36(Kn,10),i.Y36(vp,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([Mb]),i.qOj,i.TTD]}),n})();const wb={provide:er,useExisting:(0,i.Gpc)(()=>co)};let co=(()=>{class n extends er{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&&(Tu(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 sd(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ym(e.control||null,e,!1),bp(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,wm(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&&(ym(t||null,e),Tm(r)&&(sd(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);lb(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function Rw(n,a){return Tu(n,a)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gp(this.form,this),this._oldForm&&Tu(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Cn,10),i.Y36(el,10))},n.\u0275dir=i.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(l){return t.onSubmit(l)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([wb]),i.qOj,i.TTD]}),n})();const Eu={provide:Fa,useExisting:(0,i.Gpc)(()=>Tp)};let Tp=(()=>{class n extends Fa{constructor(e,t,r,l,c){super(),this._ngModelWarningConfig=c,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=_p(0,l)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),$l(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 Am(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(er,13),i.Y36(Cn,10),i.Y36(el,10),i.Y36(Kn,10),i.Y36(vp,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([Eu]),i.qOj,i.TTD]}),n})(),ms=(()=>{class n{constructor(){this._validator=nd}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):nd,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 ox={provide:Cn,useExisting:(0,i.Gpc)(()=>Fr),multi:!0};let Fr=(()=>{class n extends ms{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function jw(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>hp}enabled(e){return e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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([ox]),i.qOj]}),n})(),qm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Lm]]}),n})(),Sp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[qm]}),n})(),il=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:vp,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[qm]}),n})(),Ym=(()=>{class n{group(e,t=null){const r=this._reduceControls(e);let s,l=null,c=null;return null!=t&&(function lx(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(t)?(l=null!=t.validators?t.validators:null,c=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(l=null!=t.validator?t.validator:null,c=null!=t.asyncValidator?t.asyncValidator:null)),new Mp(r,{asyncValidators:c,updateOn:s,validators:l})}control(e,t,r){return new Yn(e,t,r)}array(e,t,r){const l=e.map(c=>this._createControl(c));return new pb(l,t,r)}_reduceControls(e){const t={};return Object.keys(e).forEach(r=>{t[r]=this._createControl(e[r])}),t}_createControl(e){return Tm(e)||Xl(e)||cd(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:il}),n})();const cx=["trigger"],dx=["panel"];function ux(n,a){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 hx(n,a){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 px(n,a){1&n&&i.Hsn(0,0,["*ngSwitchCase","true"])}function fx(n,a){if(1&n&&(i.TgZ(0,"span",9),i.YNc(1,hx,2,1,"span",10),i.YNc(2,px,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 mx(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",13),i.TgZ(1,"div",14,15),i.NdJ("@transformPanel.done",function(r){return i.CHM(e),i.oxw()._panelDoneAnimatingStream.next(r.toState)})("keydown",function(r){return i.CHM(e),i.oxw()._handleKeydown(r)}),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 Ep=[[["mat-select-trigger"]],"*"],gx=["mat-select-trigger","*"],Dp={transformPanelWrap:ti("transformPanelWrap",[vt("* => void",la("@transformPanel",[Oh()],{optional:!0}))]),transformPanel:ti("transformPanel",[St("void",Ne({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),St("showing",Ne({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),St("showing-multiple",Ne({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),vt("void => *",_t("120ms cubic-bezier(0, 0, 0.2, 1)")),vt("* => void",_t("100ms 25ms linear",Ne({opacity:0})))])};let Rb=0;const Pu=new i.OlP("mat-select-scroll-strategy"),bx=new i.OlP("MAT_SELECT_CONFIG"),Ax={provide:Pu,deps:[xr],useFactory:function Bb(n){return()=>n.scrollStrategies.reposition()}};class yx{constructor(a,e){this.source=a,this.value=e}}const Jw=pa(Jo(Oa(B0(class{constructor(n,a,e,t,r){this._elementRef=n,this._defaultErrorStateMatcher=a,this._parentForm=e,this._parentFormGroup=t,this.ngControl=r}})))),Wm=new i.OlP("MatSelectTrigger");let wx=(()=>{class n extends Jw{constructor(e,t,r,l,c,s,o,d,u,h,f,b,N,Q){var fe,je,Mt;super(c,l,o,d,h),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=r,this._dir=s,this._parentFormField=u,this._liveAnnouncer=N,this._defaultOptions=Q,this._panelOpen=!1,this._compareWith=(gt,ei)=>gt===ei,this._uid="mat-select-"+Rb++,this._triggerAriaLabelledBy=null,this._destroy=new Ie.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Rb++,this._panelDoneAnimatingStream=new Ie.x,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!==(Mt=null===(je=this._defaultOptions)||void 0===je?void 0:je.disableOptionCentering)&&void 0!==Mt&&Mt,this.ariaLabel="",this.optionSelectionChanges=Ca(()=>{const gt=this.options;return gt?gt.changes.pipe(hi(gt),(0,Li.w)(()=>(0,Ri.T)(...gt.map(ei=>ei.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ut.q)(1),(0,Li.w)(()=>this.optionSelectionChanges))}),this.openedChange=new i.vpe,this._openedStream=this.openedChange.pipe((0,Ft.h)(gt=>gt),(0,Ct.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Ft.h)(gt=>!gt),(0,Ct.U)(()=>{})),this.selectionChange=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Q?void 0:Q.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Q.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||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,r,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=$e(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=$e(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Xi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new _n(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Cr(),dt(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(dt(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(hi(null),dt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(void 0!==this._previousControl&&null!==t.disabled&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),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._assignValue(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,r=40===t||38===t||37===t||39===t,l=13===t||32===t,c=this._keyManager;if(!c.isTyping()&&l&&!Ln(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;c.onKeydown(e);const o=this.selected;o&&s!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,r=e.keyCode,l=40===r||38===r,c=t.isTyping();if(l&&e.altKey)e.preventDefault(),this.close();else if(c||13!==r&&32!==r||!t.activeItem||Ln(e))if(!c&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const s=this.options.some(o=>!o.disabled&&!o.selected);this.options.forEach(o=>{o.disabled||(s?o.select():o.deselect())})}else{const s=t.activeItemIndex;t.onKeydown(e),this._multiple&&l&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&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._selectOptionByValue(t)),this._sortValues();else{const t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch(l){return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new Yd(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(dt(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(dt(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,Ri.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(dt(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Ri.T)(...this.options.map(t=>t._stateChanges)).pipe(dt(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==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)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(r=>r.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 r=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_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(so),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(au),i.Y36(i.SBq),i.Y36(Fn,8),i.Y36(lo,8),i.Y36(co,8),i.Y36(id,8),i.Y36(Fa,10),i.$8M("tabindex"),i.Y36(Pu),i.Y36(Gf),i.Y36(bx,8))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(cx,5),i.Gf(dx,5),i.Gf(S_,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.trigger=r.first),i.iGM(r=i.CRH())&&(t.panel=r.first),i.iGM(r=i.CRH())&&(t._overlayDir=r.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})(),Hp=(()=>{class n extends wx{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,r){const l=this._getItemHeight();return Math.min(Math.max(0,l*e-t+l/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(dt(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=$c(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:np((e+t)*r,r,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 yx(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),r=this._isRtl(),l=this.multiple?56:32;let c;if(this.multiple)c=40;else if(this.disableOptionCentering)c=16;else{let d=this._selectionModel.selected[0]||this.options.first;c=d&&d.group?32:16}r||(c*=-1);const s=0-(e.left+c-(r?l:0)),o=e.right+c-t.width+(r?0:l);s>0?c+=s+8:o>0&&(c-=o+8),this._overlayDir.offsetX=Math.round(c),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,r){const l=this._getItemHeight(),c=(l-this._triggerRect.height)/2,s=Math.floor(256/l);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?e*l:this._scrollTop===r?(e-(this._getItemCount()-s))*l+(l-(this._getItemCount()*l-256)%l):t-l/2,Math.round(-1*o-c))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,c=r.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),d=Math.min(this._getItemCount()*t,256)-s-this._triggerRect.height;d>c?this._adjustPanelUp(d,c):s>l?this._adjustPanelDown(s,l,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const r=Math.round(e-t);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,r){const l=Math.round(e-t);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),r=Math.min(t*e,256),c=t*e-r;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=$c(s,this.options,this.optionGroups);const o=r/2;this._scrollTop=this._calculateOverlayScroll(s,o,c),this._offsetY=this._calculateOverlayOffsetY(s,o,c),this._checkOverlayWithinViewport(c)}_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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-select"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,Wm,5),i.Suo(r,ro,5),i.Suo(r,lu,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.customTrigger=l.first),i.iGM(l=i.CRH())&&(t.options=l),i.iGM(l=i.CRH())&&(t.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(l){return t._handleKeydown(l)})("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:dp,useExisting:n},{provide:ou,useExisting:n}]),i.qOj],ngContentSelectors:gx,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(Ep),i.TgZ(0,"div",0,1),i.NdJ("click",function(){return t.toggle()}),i.TgZ(3,"div",2),i.YNc(4,ux,2,1,"span",3),i.YNc(5,fx,3,2,"span",4),i.qZA(),i.TgZ(6,"div",5),i._UZ(7,"div",6),i.qZA(),i.qZA(),i.YNc(8,mx,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 r=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",r)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[x_,w.RF,w.n9,w.ED,S_,w.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{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{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.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-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.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;visibility:hidden}\n'],encapsulation:2,data:{animation:[Dp.transformPanelWrap,Dp.transformPanel]},changeDetection:0}),n})(),ec=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Ax],imports:[[w.ez,Kc,Jc,ut],za,ps,Jc,ut]}),n})();const Sr=new Set;let hd,Um=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Qw}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Xw(n){if(!Sr.has(n))try{hd||(hd=document.createElement("style"),hd.setAttribute("type","text/css"),document.head.appendChild(hd)),hd.sheet&&(hd.sheet.insertRule(`@media ${n} {body{ }}`,0),Sr.add(n))}catch(a){console.error(a)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(wi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Qw(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Gm=(()=>{class n{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new Ie.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Zm(Ic(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){const r=Zm(Ic(e)).map(c=>this._registerQuery(c).observable);let l=(0,yo.a)(r);return l=(0,Gr.z)(l.pipe((0,Ut.q)(1)),l.pipe(Qg(1),(0,Dh.b)(0))),l.pipe((0,Ct.U)(c=>{const s={matches:!1,breakpoints:{}};return c.forEach(({matches:o,query:d})=>{s.matches=s.matches||o,s.breakpoints[d]=o}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),l={observable:new an.y(c=>{const s=o=>this._zone.run(()=>c.next(o));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(hi(t),(0,Ct.U)(({matches:c})=>({query:e,matches:c})),dt(this._destroySubject)),mql:t};return this._queries.set(e,l),l}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Um),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Zm(n){return n.map(a=>a.split(",")).reduce((a,e)=>a.concat(e)).map(a=>a.trim())}const Kw=["tooltip"],zb="tooltip-panel",Fb=aa({passive:!0}),jb=new i.OlP("mat-tooltip-scroll-strategy"),tC={provide:jb,deps:[xr],useFactory:function vx(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},qb=new i.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function iC(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let nC=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f,b){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=l,this._ngZone=c,this._platform=s,this._ariaDescriber=o,this._focusMonitor=d,this._dir=h,this._defaultOptions=f,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 Ie.x,this._scrollStrategy=u,this._document=b,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(dt(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=$e(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Xi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Xi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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(dt(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,Fb)}),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 op(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=t.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.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(){var e;if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe(dt(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${zb}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(dt(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(dt(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!Ln(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const t=e.getConfig().positionStrategy,r=this._getOrigin(),l=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},r.main),l.main)),this._addOffset(Object.assign(Object.assign({},r.fallback),l.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:l,y:c}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:l,originY:c}}}_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:l,y:c}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:l,overlayY:c}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1),dt(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:l}=e;let c;if(c="center"===t?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===t&&"top"===l?"above":"below",c!==this._currentPosition){const s=this._overlayRef;if(s){const o=`${this._cssClassPrefix}-${zb}-`;s.removePanelClass(o+this._currentPosition),s.addPanelClass(o+c)}this._currentPosition=c}}_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",t=>{var r;const l=t.relatedTarget;(!l||!(null===(r=this._overlayRef)||void 0===r?void 0:r.overlayElement.contains(l)))&&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,Fb)})}_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 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})(),tr=(()=>{class n extends nC{constructor(e,t,r,l,c,s,o,d,u,h,f,b){super(e,t,r,l,c,s,o,d,u,h,f,b),this._tooltipComponent=Tx}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xr),i.Y36(i.SBq),i.Y36(Xo),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(wi),i.Y36(kh),i.Y36(oa),i.Y36(jb),i.Y36(Fn,8),i.Y36(qb,8),i.Y36(w.K0))},n.\u0275dir=i.lG2({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[i.qOj]}),n})(),rC=(()=>{class n{constructor(e,t){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ie.x,this._animationsDisabled="NoopAnimations"===t}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const t=this._tooltip.nativeElement,r=this._showAnimation,l=this._hideAnimation;if(t.classList.remove(e?l:r),t.classList.add(e?r:l),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const c=getComputedStyle(t);("0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(qn,8))},n.\u0275dir=i.lG2({type:n}),n})(),Tx=(()=>{class n extends rC{constructor(e,t,r){super(e,r),this._breakpointObserver=t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36(Gm),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,t){if(1&e&&i.Gf(Kw,7),2&e){let r;i.iGM(r=i.CRH())&&(t._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("mouseleave",function(l){return t._handleMouseLeave(l)}),2&e&&i.Udp("zoom",t.isVisible()?1:null)},features:[i.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0,1),i.NdJ("animationend",function(l){return t._handleAnimationEnd(l)}),i.ALo(2,"async"),i._uU(3),i.qZA()),2&e){let r;i.ekj("mat-tooltip-handset",null==(r=i.lcZ(2,4,t._isHandset))?null:r.matches),i.Q6J("ngClass",t.tooltipClass),i.xp6(3),i.Oqu(t.message)}},directives:[w.mk],pipes:[w.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),n})(),nl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[tC],imports:[[Il,w.ez,Kc,ut],ut,za]}),n})();function sC(n,a){if(1&n&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function oC(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",16),i.TgZ(1,"mat-select",17),i.NdJ("selectionChange",function(r){return i.CHM(e),i.oxw(2)._changePageSize(r.value)}),i.YNc(2,sC,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 Yb(n,a){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 Ru(n,a){if(1&n&&(i.TgZ(0,"div",12),i.TgZ(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,oC,3,6,"mat-form-field",14),i.YNc(4,Yb,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 Jm(n,a){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 Wb(n,a){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 Lp=(()=>{class n{constructor(){this.changes=new Ie.x,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 l=e*t;return`${l+1} \u2013 ${l<(r=Math.max(r,0))?Math.min(l+t,r):l+t} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gb={provide:Lp,deps:[[new i.FiY,new i.tp0,Lp]],useFactory:function Ub(n){return n||new Lp}},Ex=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),Dx=Oa(J1(class{}));let Zb=(()=>{class n extends Dx{constructor(e,t,r){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()),r){const{pageSize:l,pageSizeOptions:c,hidePageSize:s,showFirstLastButtons:o}=r;null!=l&&(this._pageSize=l),null!=c&&(this._pageSizeOptions=c),null!=s&&(this._hidePageSize=s),null!=o&&(this._showFirstLastButtons=o)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Xi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Xi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Xi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>Xi(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=$e(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=$e(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})(),$b=(()=>{class n extends Zb{constructor(e,t,r){super(e,t,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Lp),i.Y36(i.sBO),i.Y36(Ex,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,Ru,5,3,"div",2),i.TgZ(3,"div",3),i.TgZ(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,Jm,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,Wb,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:[ln,Hp,ro,It,w.O5,w.sg,tr],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})(),Ou=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[Gb],imports:[[w.ez,ls,ec,nl,ut]]}),n})();var Xm=T(1005);const Hx=["mat-menu-item",""];function Lx(n,a){1&n&&(i.O4$(),i.TgZ(0,"svg",2),i._UZ(1,"polygon",3),i.qZA())}const lC=["*"];function kx(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",0),i.NdJ("keydown",function(r){return i.CHM(e),i.oxw()._handleKeydown(r)})("click",function(){return i.CHM(e),i.oxw().closed.emit("click")})("@transformMenu.start",function(r){return i.CHM(e),i.oxw()._onAnimationStart(r)})("@transformMenu.done",function(r){return i.CHM(e),i.oxw()._onAnimationDone(r)}),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 Qm={transformMenu:ti("transformMenu",[St("void",Ne({opacity:0,transform:"scale(0.8)"})),vt("void => enter",_t("120ms cubic-bezier(0, 0, 0.2, 1)",Ne({opacity:1,transform:"scale(1)"}))),vt("* => void",_t("100ms 25ms linear",Ne({opacity:0})))]),fadeInItems:ti("fadeInItems",[St("showing",Ne({opacity:1})),vt("void => *",[Ne({opacity:0}),_t("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cC=new i.OlP("MatMenuContent"),eg=new i.OlP("MAT_MENU_PANEL"),tg=pa(Oa(class{}));let tc=(()=>{class n extends tg{constructor(e,t,r,l,c){var s;super(),this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=l,this._changeDetectorRef=c,this.role="menuitem",this._hovered=new Ie.x,this._focused=new Ie.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(s=null==l?void 0:l.addItem)||void 0===s||s.call(l,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 l=0;l{class n{constructor(e,t,r,l){this._elementRef=e,this._ngZone=t,this._defaultOptions=r,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.n_E,this._tabSubscription=Wt.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ie.x,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-"+Ix++}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=$e(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=$e(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 Ol(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(hi(this._directDescendantItems),(0,Li.w)(e=>(0,Ri.T)(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var t;const r=this._keyManager;if("enter"===this._panelAnimationState&&(null===(t=r.activeItem)||void 0===t?void 0:t._hasFocus())){const l=e.toArray(),c=Math.max(0,Math.min(l.length-1,r.activeItemIndex||0));l[c]&&!l[c].disabled?r.setActiveItem(c):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(hi(this._directDescendantItems),(0,Li.w)(t=>(0,Ri.T)(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,r=this._keyManager;switch(t){case 27:Ln(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._ngZone.onStable.pipe((0,Ut.q)(1)).subscribe(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,l=Object.keys(this._classList).find(c=>c.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,t=this.yPosition){var r;const l=this._classList;l["mat-menu-before"]="before"===e,l["mat-menu-after"]="after"===e,l["mat-menu-above"]="above"===t,l["mat-menu-below"]="below"===t,null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_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(hi(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(Iu),i.Y36(i.sBO))},n.\u0275dir=i.lG2({type:n,contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,cC,5),i.Suo(r,tc,5),i.Suo(r,tc,4)),2&e){let l;i.iGM(l=i.CRH())&&(t.lazyContent=l.first),i.iGM(l=i.CRH())&&(t._allItems=l),i.iGM(l=i.CRH())&&(t.items=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(i.Rgc,5),2&e){let r;i.iGM(r=i.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"}}),n})(),hC=(()=>{class n extends kp{constructor(e,t,r,l){super(e,t,r,l),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(Iu),i.Y36(i.sBO))},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:eg,useExisting:n}]),i.qOj],ngContentSelectors:lC,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,kx,3,6,"ng-template"))},directives:[w.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;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]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.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:[Qm.transformMenu,Qm.fadeInItems]},changeDetection:0}),n})();const ig=new i.OlP("mat-menu-scroll-strategy"),fC={provide:ig,deps:[xr],useFactory:function pC(n){return()=>n.scrollStrategies.reposition()}},Kb=aa({passive:!0});let eA=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=o,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Wt.w0.EMPTY,this._hoverSubscription=Wt.w0.EMPTY,this._menuCloseSubscription=Wt.w0.EMPTY,this._handleTouchStart=h=>{Wf(h)||(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=l,this._parentMaterialMenu=c instanceof kp?c:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Kb),s&&(s._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,Kb),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 kp&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(dt(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 kp?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe((0,Ft.h)(r=>"void"===r.toState),(0,Ut.q)(1),dt(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 us({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=>{const r="start"===t.connectionPair.overlayX?"after":"before",l="top"===t.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(r,l)):this.menu.setPositionClasses(r,l)})}_setPosition(e){let[t,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,c]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[l,c],[d,u]=[t,r],h=0;this.triggersSubmenu()?(u=t="before"===this.menu.xPosition?"start":"end",r=d="end"===t?"start":"end",h="bottom"===l?8:-8):this.menu.overlapTrigger||(s="top"===l?"bottom":"top",o="top"===c?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:d,overlayY:l,offsetY:h},{originX:r,originY:s,overlayX:u,overlayY:l,offsetY:h},{originX:t,originY:o,overlayX:d,overlayY:c,offsetY:-h},{originX:r,originY:o,overlayX:u,overlayY:c,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,rt.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Ft.h)(c=>c!==this._menuItemInstance),(0,Ft.h)(()=>this._menuOpen)):(0,rt.of)();return(0,Ri.T)(e,r,l,t)}_handleMousedown(e){Yf(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,Ft.h)(e=>e===this._menuItemInstance&&!e.disabled),(0,Xm.g)(0,Z0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof kp&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ut.q)(1),(0,Xm.g)(0,Z0),dt(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Qc(this.menu.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(xr),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(ig),i.Y36(eg,8),i.Y36(tc,10),i.Y36(Fn,8),i.Y36(oa),i.Y36(i.R0b))},n.\u0275dir=i.lG2({type:n,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("mousedown",function(l){return t._handleMousedown(l)})("keydown",function(l){return t._handleKeydown(l)}),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})(),ng=(()=>{class n extends eA{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),fd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[fC],imports:[[w.ez,ut,Tr,Kc],za,ut]}),n})();var Pp=T(2843),tA=T(3099);const iA=["*"];let ic;function md(n){var a;return(null===(a=function Bx(){if(void 0===ic&&(ic=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(ic=n.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return ic}())||void 0===a?void 0:a.createHTML(n))||n}function Bu(n){return Error(`Unable to find icon with the name "${n}"`)}function nA(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function rA(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class nc{constructor(a,e,t){this.url=a,this.svgText=e,this.options=t}}let Rp=(()=>{class n{constructor(e,t,r,l){this._httpClient=e,this._sanitizer=t,this._errorHandler=l,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,l){return this._addSvgIconConfig(e,t,new nc(r,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,l){const c=this._sanitizer.sanitize(i.q3G.HTML,r);if(!c)throw rA(r);const s=md(c);return this._addSvgIconConfig(e,t,new nc("",s,l))}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 nc(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){const l=this._sanitizer.sanitize(i.q3G.HTML,t);if(!l)throw rA(t);const c=md(l);return this._addSvgIconSetConfig(e,new nc("",c,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(i.q3G.RESOURCE_URL,e);if(!t)throw nA(e);const r=this._cachedIconsByUrl.get(t);return r?(0,rt.of)(Op(r)):this._loadSvgIconFromConfig(new nc(e,null)).pipe((0,Dt.b)(l=>this._cachedIconsByUrl.set(t,l)),(0,Ct.U)(l=>Op(l)))}getNamedSvgIcon(e,t=""){const r=aA(t,e);let l=this._svgIconConfigs.get(r);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(t,e),l)return this._svgIconConfigs.set(r,l),this._getSvgFromConfig(l);const c=this._iconSetConfigs.get(t);return c?this._getSvgFromIconSetConfigs(e,c):(0,Pp._)(Bu(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?(0,rt.of)(Op(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,Ct.U)(t=>Op(t)))}_getSvgFromIconSetConfigs(e,t){const r=this._extractIconWithNameFromAnySet(e,t);return r?(0,rt.of)(r):lm(t.filter(c=>!c.svgText).map(c=>this._loadSvgIconSetFromConfig(c).pipe((0,wn.K)(s=>{const d=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,c.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(d)),(0,rt.of)(null)})))).pipe((0,Ct.U)(()=>{const c=this._extractIconWithNameFromAnySet(e,t);if(!c)throw Bu(e);return c}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){const l=t[r];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const c=this._svgElementFromConfig(l),s=this._extractSvgIconFromSet(c,e,l.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe((0,Dt.b)(t=>e.svgText=t),(0,Ct.U)(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?(0,rt.of)(null):this._fetchIcon(e).pipe((0,Dt.b)(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){const l=e.querySelector(`[id="${t}"]`);if(!l)return null;const c=l.cloneNode(!0);if(c.removeAttribute("id"),"svg"===c.nodeName.toLowerCase())return this._setSvgAttributes(c,r);if("symbol"===c.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(c),r);const s=this._svgElementFromString(md(""));return s.appendChild(c),this._setSvgAttributes(s,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(md("")),r=e.attributes;for(let l=0;lmd(u)),B(()=>this._inProgressUrlFetches.delete(s)),(0,tA.B)());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(aA(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;ra?a.pathname+a.search:""}}}),MC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Vx=MC.map(n=>`[${n}]`).join(", "),zx=/^url\(['"]?#(.*?)['"]?\)$/;let Wi=(()=>{class n extends bC{constructor(e,t,r,l,c){super(e),this._iconRegistry=t,this._location=l,this._errorHandler=c,this._inline=!1,this._currentIconFetch=Wt.w0.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=$e(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=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const r=e.childNodes[t];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((r,l)=>{r.forEach(c=>{l.setAttribute(c.name,`url('${e}#${c.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(Vx),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const s=t[l],o=s.getAttribute(c),d=o?o.match(zx):null;if(d){let u=r.get(s);u||(u=[],r.set(s,u)),u.push({name:c,value:d[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,Ut.q)(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${r}! ${l.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Rp),i.$8M("aria-hidden"),i.Y36(AC),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:iA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-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})(),uo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();function _s(n){return!!n&&(n instanceof an.y||(0,ao.m)(n.lift)&&(0,ao.m)(n.subscribe))}var Fx=T(6063);class jx extends Ie.x{constructor(a=1/0,e=1/0,t=Fx.l){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:r,_timestampProvider:l,_windowTime:c}=this;e||(t.push(a),!r&&t.push(l.now()+c)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:r}=this,l=r.slice();for(let c=0;cnew jx(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}class Ip{}let p=(()=>{class n extends Ip{getTranslation(e){return(0,rt.of)({})}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class m{}let g=(()=>{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 _(n,a){if(n===a)return!0;if(null===n||null===a)return!1;if(n!=n&&a!=a)return!0;let r,l,c,e=typeof n;if(e==typeof a&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(a))return!1;for(l in c=Object.create(null),n){if(!_(n[l],a[l]))return!1;c[l]=!0}for(l in a)if(!(l in c)&&void 0!==a[l])return!1;return!0}if(!Array.isArray(a))return!1;if((r=n.length)==a.length){for(l=0;l{v(a[t])?t in n?e[t]=D(n[t],a[t]):Object.assign(e,{[t]:a[t]}):Object.assign(e,{[t]:a[t]})}),e}class L{}let P=(()=>{class n extends L{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(),!y(e)||!y(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,l)=>{let c=this.getValue(t,l);return y(c)?c:r}):e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class F{}let W=(()=>{class n extends F{compile(e,t){return e}compileTranslations(e,t){return e}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();class ee{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 ae=new i.OlP("USE_STORE"),pe=new i.OlP("USE_DEFAULT_LANG"),Ce=new i.OlP("DEFAULT_LANGUAGE"),Ye=new i.OlP("USE_EXTEND");let Le=(()=>{class n{constructor(e,t,r,l,c,s=!0,o=!1,d=!1,u){this.store=e,this.currentLoader=t,this.compiler=r,this.parser=l,this.missingTranslationHandler=c,this.useDefaultLang=s,this.isolate=o,this.extend=d,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}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(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,rt.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(r=>{this.changeLang(e)}),t):(this.changeLang(e),(0,rt.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(wC(1),(0,Ut.q)(1));return this.loadingTranslations=t.pipe((0,Ct.U)(r=>this.compiler.compileTranslations(r,e)),wC(1),(0,Ut.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]?D(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 l;if(t instanceof Array){let c={},s=!1;for(let o of t)c[o]=this.getParsedResult(e,o,r),_s(c[o])&&(s=!0);return s?lm(t.map(d=>_s(c[d])?c[d]:(0,rt.of)(c[d]))).pipe((0,Ct.U)(d=>{let u={};return d.forEach((h,f)=>{u[t[f]]=h}),u})):c}if(e&&(l=this.parser.interpolate(this.parser.getValue(e,t),r)),void 0===l&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),r)),void 0===l){let c={key:t,translateService:this};void 0!==r&&(c.interpolateParams=r),l=this.missingTranslationHandler.handle(c)}return void 0!==l?l:t}get(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,Os.b)(r=>_s(r=this.getParsedResult(r,e,t))?r:(0,rt.of)(r)));{let r=this.getParsedResult(this.translations[this.currentLang],e,t);return _s(r)?r:(0,rt.of)(r)}}getStreamOnTranslationChange(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,Gr.z)(Ca(()=>this.get(e,t)),this.onTranslationChange.pipe((0,Li.w)(r=>{const l=this.getParsedResult(r.translations,e,t);return"function"==typeof l.subscribe?l:(0,rt.of)(l)})))}stream(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');return(0,Gr.z)(Ca(()=>this.get(e,t)),this.onLangChange.pipe((0,Li.w)(r=>{const l=this.getParsedResult(r.translations,e,t);return _s(l)?l:(0,rt.of)(l)})))}instant(e,t){if(!y(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,t);if(_s(r)){if(e instanceof Array){let l={};return e.forEach((c,s)=>{l[e[s]]=e[s]}),l}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 n.\u0275fac=function(e){return new(e||n)(i.LFG(ee),i.LFG(Ip),i.LFG(F),i.LFG(L),i.LFG(m),i.LFG(pe),i.LFG(ae),i.LFG(Ye),i.LFG(Ce))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),me=(()=>{class n{constructor(e,t){this.translate=e,this._ref=t,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(e,t,r){let l=c=>{this.value=void 0!==c?c:e,this.lastKey=e,this._ref.markForCheck()};if(r){let c=this.translate.getParsedResult(r,e,t);_s(c.subscribe)?c.subscribe(l):l(c)}this.translate.get(e,t).subscribe(l)}transform(e,...t){if(!e||!e.length)return e;if(_(e,this.lastKey)&&_(t,this.lastParams))return this.value;let r;if(y(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let l=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(l)}catch(c){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(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,l.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 n.\u0275fac=function(e){return new(e||n)(i.Y36(Le,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})(),pt=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:Ip,useClass:p},e.compiler||{provide:F,useClass:W},e.parser||{provide:L,useClass:P},e.missingTranslationHandler||{provide:m,useClass:g},ee,{provide:ae,useValue:e.isolate},{provide:pe,useValue:e.useDefaultLang},{provide:Ye,useValue:e.extend},{provide:Ce,useValue:e.defaultLanguage},Le]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:Ip,useClass:p},e.compiler||{provide:F,useClass:W},e.parser||{provide:L,useClass:P},e.missingTranslationHandler||{provide:m,useClass:g},{provide:ae,useValue:e.isolate},{provide:pe,useValue:e.useDefaultLang},{provide:Ye,useValue:e.extend},{provide:Ce,useValue:e.defaultLanguage},Le]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Zt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[Ou,fd,uo,ls,pt,w.ez]]}),n})();var mi=T(655);function jr(n,a){}class bs{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const rg={dialogContainer:ti("dialogContainer",[St("void, exit",Ne({opacity:0,transform:"scale(0.7)"})),St("enter",Ne({transform:"none"})),vt("* => enter",Rh([_t("150ms cubic-bezier(0, 0, 0.2, 1)",Ne({transform:"none",opacity:1})),la("@*",Oh(),{optional:!0})])),vt("* => void, * => exit",Rh([_t("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ne({opacity:0})),la("@*",Oh(),{optional:!0})]))])};let ag=(()=>{class n extends K0{constructor(e,t,r,l,c,s,o,d){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=r,this._config=c,this._interactivityChecker=s,this._ngZone=o,this._focusMonitor=d,this._animationStateChanged=new i.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=u=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(u)),this._ariaLabelledBy=c.ariaLabelledBy||null,this._document=l}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=kf())}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(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),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=kf(),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()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=kf();return e===t||e.contains(t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ph),i.Y36(i.sBO),i.Y36(w.K0,8),i.Y36(bs),i.Y36(Wd),i.Y36(i.R0b),i.Y36(oa))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(em,7),2&e){let r;i.iGM(r=i.CRH())&&(t._portalOutlet=r.first)}},features:[i.qOj]}),n})(),sg=(()=>{class n extends ag{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._config.delayFocusTrap&&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()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t._onAnimationStart(l)})("@dialogContainer.done",function(l){return t._onAnimationDone(l)}),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,jr,0,0,"ng-template",0)},directives:[em],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:[rg.dialogContainer]}}),n})(),og=0;class Oi{constructor(a,e,t="mat-dialog-"+og++){this._overlayRef=a,this._containerInstance=e,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie.x,this._afterClosed=new Ie.x,this._beforeClosed=new Ie.x,this._state=0,e._id=t,e._animationStateChanged.pipe((0,Ft.h)(r=>"opened"===r.state),(0,Ut.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,Ft.h)(r=>"closed"===r.state),(0,Ut.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),a.keydownEvents().pipe((0,Ft.h)(r=>27===r.keyCode&&!this.disableClose&&!Ln(r))).subscribe(r=>{r.preventDefault(),Bp(this,"keyboard")}),a.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Bp(this,"mouse")})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,Ft.h)(e=>"closing"===e.state),(0,Ut.q)(1)).subscribe(e=>{this._beforeClosed.next(a),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(a){let e=this._getPositionStrategy();return a&&(a.left||a.right)?a.left?e.left(a.left):e.right(a.right):e.centerHorizontally(),a&&(a.top||a.bottom)?a.top?e.top(a.top):e.bottom(a.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(a="",e=""){return this._overlayRef.updateSize({width:a,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(a){return this._overlayRef.addPanelClass(a),this}removePanelClass(a){return this._overlayRef.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Bp(n,a,e){return void 0!==n._containerInstance&&(n._containerInstance._closeInteractionType=a),n.close(e)}const cn=new i.OlP("MatDialogData"),lg=new i.OlP("mat-dialog-default-options"),qx=new i.OlP("mat-dialog-scroll-strategy"),ND={provide:qx,deps:[xr],useFactory:function BD(n){return()=>n.scrollStrategies.block()}};let VD=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=l,this._overlayContainer=c,this._dialogRefConstructor=o,this._dialogContainerType=d,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie.x,this._afterOpenedAtThisLevel=new Ie.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Ca(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(hi(void 0))),this._scrollStrategy=s}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){t=function zD(n,a){return Object.assign(Object.assign({},a),n)}(t,this._defaultOptions||new bs),t.id&&this.getDialogById(t.id);const r=this._createOverlay(t),l=this._attachDialogContainer(r,t),c=this._attachDialogContent(e,l,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.afterClosed().subscribe(()=>this._removeOpenDialog(c)),this.afterOpened.next(c),l._initializeWithAttachedContent(),c}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()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new us({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 l=i.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:bs,useValue:t}]}),c=new op(this._dialogContainerType,t.viewContainerRef,l,t.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,l){const c=new this._dialogRefConstructor(r,t,l.id);if(e instanceof i.Rgc)t.attachTemplatePortal(new Qc(e,null,{$implicit:l.data,dialogRef:c}));else{const s=this._createInjector(l,c,t),o=t.attachComponentPortal(new op(e,l.viewContainerRef,s,l.componentFactoryResolver));c.componentInstance=o.instance}return c.updateSize(l.width,l.height).updatePosition(l.position),c}_createInjector(e,t,r){const l=e&&e.viewContainerRef&&e.viewContainerRef.injector,c=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!l||!l.get(Fn,null,i.XFs.Optional))&&c.push({provide:Fn,useValue:{value:e.direction,change:(0,rt.of)()}}),i.zs3.create({parent:l||this._injector,providers:c})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,l)=>{r?l.setAttribute("aria-hidden",r):l.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 l=t[r];l!==e&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.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})(),en=(()=>{class n extends VD{constructor(e,t,r,l,c,s,o,d){super(e,t,l,s,o,c,Oi,sg,cn,d)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(xr),i.LFG(i.zs3),i.LFG(w.Ye,8),i.LFG(lg,8),i.LFG(qx),i.LFG(n,12),i.LFG(bt),i.LFG(qn,8))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),FD=0,kn=(()=>{class n{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r,this.id="mat-dialog-title-"+FD++}ngOnInit(){this._dialogRef||(this._dialogRef=function jD(n,a){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?a.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(Oi,8),i.Y36(i.SBq),i.Y36(en))},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})(),Pn=(()=>{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})(),vn=(()=>{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})(),oA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[en,ND],imports:[[Kc,Wl,ut],ut]}),n})();var qD=T(4327);const Np=[5,10,25,100];function Ei(){const n=new bs;return n.disableClose=!0,n.autoFocus=!1,n}function Nu(n){return"virt"===n.namespace.split(":")[4]}const KD=new Intl.Collator("cs",{numeric:!0});function cg(n,a,e){const t=a.active,r=a.direction;return t&&""!==r?n.sort((l,c)=>{const s=e(l,t),o=e(c,t);return KD.compare(s,o)*("asc"===r?1:-1)}):n}function dg(n,a,e,t,r){a=a.toLowerCase();let l="";return e.forEach(c=>{l+=";"+t(n,c)}),r&&(l+=";"+t(n,"uuid")),l.toLowerCase().includes(a)}function Vp(n,a,e){const t=[],r=["checkbox","select","edit","menu","cite","extend","recent"];return a=a.filter(l=>!r.includes(l)),n.forEach(l=>{const c={};a.forEach(s=>{var o;c[s]=(null!==(o=e(l,s))&&void 0!==o?o:"").split('"').join("''").trim()}),t.push(c)}),t}function zp(n,a="csv",e="export"){if("csv"===a){const t=(o,d)=>null===d?"":d,r=Object.keys(n[0]),l=n.map(o=>r.map(d=>JSON.stringify(o[d],t)).join(","));l.unshift(r.join(",").split(" ").join("_").split('"').join("''"));const c=l.join("\r\n"),s=new Blob([c],{type:"text/csv"});(0,qD.saveAs)(s,`${e}.${a}`)}}function Yx(n,a){return n.name.toLowerCase()>a.name.toLowerCase()?1:n.name.toLowerCase()===a.name.toLowerCase()?0:-1}const Ux="GUI_CONFIG.PREF_PAGE_SIZE.";let n2=(()=>{class n{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})(),r2=(()=>{class n{constructor(e){this.guiConfigService=e}getTablePageSize(e){const t=this.guiConfigService.getNumber(Ux+e);if(!isNaN(t))return t;const r=this.guiConfigService.getNumber("GUI_CONFIG.PREF_PAGE_SIZE");return isNaN(r)?10:r}setTablePageSize(e,t){this.guiConfigService.setNumber(Ux+e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(n2))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),a2=(()=>{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 r=i.MAs(5),l=i.MAs(10);i.xp6(1),i.Q6J("matMenuTriggerFor",r),i.xp6(5),i.Q6J("matMenuTriggerFor",l),i.xp6(1),i.hij(" ",i.lcZ(8,3,"SHARED_LIB.PERUN.COMPONENTS.TABLE_OPTIONS.EXPORT_TO_FILE")," ")}},directives:[It,ng,Wi,hC,tc],pipes:[me],styles:[""]}),n})();function s2(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(r){return i.CHM(e),i.oxw().exportData.emit(r)}),i.qZA()}}function o2(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-table-options",6),i.NdJ("exportData",function(r){return i.CHM(e),i.oxw().exportData.emit(r)}),i.qZA()}}const l2=["*"];let As=(()=>{class n{constructor(e){this.tableConfigService=e,this.hideExport=!1,this.pageSizeOptions=Np,this.dataLength=0,this.exportData=new i.vpe,this.pageSize=5}set matPaginator(e){this.paginator=e}ngOnInit(){this.pageSize=this.tableConfigService.getTablePageSize(this.tableId),null===this.pageSizeOptions&&(this.pageSize=5)}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(r2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-table-wrapper"]],viewQuery:function(e,t){if(1&e&&i.Gf($b,7),2&e){let r;i.iGM(r=i.CRH())&&(t.matPaginator=r.first)}},inputs:{hideExport:"hideExport",pageSizeOptions:"pageSizeOptions",dataLength:"dataLength",tableId:"tableId"},outputs:{exportData:"exportData"},ngContentSelectors:l2,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(l){return t.pageChangedTop(l)}),i.qZA(),i.YNc(3,s2,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(l){return t.pageChangedBottom(l)}),i.qZA(),i.YNc(8,o2,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:[$b,w.O5,a2],styles:[""]}),n})();class Gx{static passwordMatchValidator(a){const e=a.get("passwordCtrl").value,t=a.get("passwordAgainCtrl").value;return a.get("passwordAgainCtrl").setErrors(e!==t?{noPasswordMatch:!0}:null),null}static patternValidator(a){return e=>{if(!e.value)return null;let t=0;for(const r of a)t+=r.test(e.value)?1:0;return t>=3?null:{isWeak:!0}}}}let $t=(()=>{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.getProperty("login_namespace_attributes")}getMemberProfileAttributeNames(){return this.getProperty("member_profile_attributes_friendly_names")}setBanding(e){this.branding=e}skipOidc(){return this.getProperty("skip_oidc")}getProperty(e){var t,r;const l=[null===(r=null===(t=this.instanceConfig)||void 0===t?void 0:t.brandings)||void 0===r?void 0:r[this.branding],this.instanceConfig,this.defaultConfig];let c=null;for(const s of l)s&&!c&&(c=s[e]);return c}get(...e){let t;if(""!==this.branding){const r=this.instanceConfig.brandings[this.branding];for(let l=0;l{class n{constructor(e,t,r,l,c){this.injector=e,this.store=t,this.dialog=r,this.route=l,this.oauthService=c,this.loggedIn=!1,setTimeout(()=>{this.router=this.injector.get(Mi),this.startIdpFilterKeeper()}),this.route.queryParams.subscribe(s=>{s.idpFilter&&(this.filterShortname=String(s.idpFilter))})}getClientConfig(){const e=this.setIdpFilter(),l=.5+.25*Math.random(),c=e?{acr_values:e}:{};if(this.store.get("oidc_client","oauth_scopes").split(" ").includes("offline_access")&&this.store.get("oidc_client","oauth_offline_access_consent_prompt")&&(c.prompt="consent"),sessionStorage.getItem("mfa_route")&&(c.acr_values="https://refeds.org/profile/mfa",c.prompt="login",c.max_age="0"),"Linker"===this.store.getProperty("application")){c.prompt="login";const s=function e2(n,a){const e=a.split("&");for(const t of e){const[r,l]=t.split("=");if(r.includes(n))return l}return""}("idphint",location.search.substring(1));s&&(c.idphint=s)}return{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"),clockSkewInSec:1,timeoutFactor:l,userinfoEndpoint:this.store.getProperty("oidc_client").user_info_endpoint_url,customQueryParams:c}}setIdpFilter(){const e=location.search.substring(1).split("&");this.filterShortname=null;const t=this.store.get("oidc_client","filters");if(!t)return null;let r=null;return e.forEach(l=>{const c=l.split("=");"idpFilter"===c[0]&&t[c[1]]&&(this.filterShortname=c[1],r=t[c[1]])}),t.default&&!r?(this.filterShortname="default",t.default):r}loadConfigData(){this.oauthService.configure(this.getClientConfig())}verifyAuth(){const e=location.pathname,t=location.search.substring(1);return"/api-callback"===e?this.handleAuthCallback().then(()=>this.startRefreshToken()).then(()=>this.redirectToOriginDestination()):this.verifyAuthentication(e,t).then(r=>r?this.startRefreshToken():new Promise(l=>l(!1)))}startRefreshToken(){return this.isLoggedInPromise().then(e=>!!e&&(this.oauthService.events.pipe((0,Ft.h)(t=>"token_expires"===t.type&&"access_token"===t.info)).subscribe(()=>{this.refreshAndStoreToken()}),!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()}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 l=[];r&&(l=r.split("&"));const c={};return l.forEach(s=>{const o=s.split("=");c[o[0]]=o[1]}),(!t||"/login"===t)&&(t="/"),sessionStorage.removeItem("auth:redirect"),sessionStorage.removeItem("auth:queryParams"),c.idpFilter&&(this.filterShortname=String(c.idpFilter)),this.router.navigate([t],{queryParams:c,replaceUrl:!0})}getIdpFilter(){return this.filterShortname}startIdpFilterKeeper(){this.router.events.pipe((0,Ft.h)(e=>e instanceof ne)).subscribe(()=>{const e={idpFilter:this.getIdpFilter()};this.router.navigate([],{relativeTo:this.route,queryParams:"default"===e.idpFilter?{}:e,queryParamsHandling:"merge",replaceUrl:!0})})}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")&&!this.isLoggedIn()?this.refreshAndStoreToken().then(()=>Promise.resolve()).catch(()=>Promise.resolve()):Promise.resolve()}refreshAndStoreToken(){return this.oauthService.refreshToken().then(()=>!0,()=>!1)}verifyAuthentication(e,t){return this.oauthService.loadDiscoveryDocument().then(()=>this.tryRefreshToken()).then(()=>this.isLoggedInPromise()).then(r=>"Linker"===this.store.getProperty("application")?(sessionStorage.setItem("auth:queryParams",t),localStorage.removeItem("access_token"),!1):!!r||(this.isPotentiallyValidPath(e)?(sessionStorage.setItem("auth:redirect",e),sessionStorage.setItem("auth:queryParams",t),!1):new Promise((l,c)=>c("Invalid path"))))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.zs3),i.LFG($t),i.LFG(en),i.LFG(Jn),i.LFG(Vu.Ct))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),c2=(()=>{class n{constructor(e){this.dialogRef=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi))},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:[Pn],pipes:[me],styles:[""]}),n})(),CC=(()=>{class n{constructor(e,t,r,l,c,s){this.authService=e,this.storeService=t,this.authResolver=r,this.authzService=l,this.dialog=c,this.router=s,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)):"/service-access"!==location.pathname?(this.authService.loadConfigData(),this.storeService.skipOidc()?new Promise(e=>e(!0)):this.authService.verifyAuth()):void 0}startAuth(){return this.authService.startAuthentication(),Promise.resolve()}loadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{if(null===e.user){const t=Ei();this.dialog.open(c2,t)}else{this.storeService.setPerunPrincipal(e),this.authResolver.init(e);const t=localStorage.getItem("routeAuthGuard");t&&(localStorage.removeItem("routeAuthGuard"),this.router.navigate([t]))}})}simpleLoadPrincipal(){return this.authzService.getPerunPrincipal().toPromise().then(e=>{this.storeService.setPerunPrincipal(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 localStorage.setItem("routeAuthGuard",window.location.pathname),this.startAuth().then(()=>new Promise(()=>{}));{this.setLoginScreen(!0),localStorage.setItem("routeAuthGuard",window.location.pathname);const e=location.search.substr(1).split("&"),t={};for(const r of e){const l=r.split("=");t[l[0]]=l[1]}return void this.router.navigate(["login"],{queryParams:t,queryParamsHandling:"merge"})}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gd),i.LFG($t),i.LFG(ks),i.LFG(Zi),i.LFG(en),i.LFG(Mi))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zx=(()=>{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/authentication-blue.svg",name:"perun-authentication"},{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/PerunWebImages/settings1-blue.svg",name:"perun-settings1"},{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"},{url:"assets/img/PerunWebImages/contact-grey.svg",name:"perun-identity"},{url:"assets/img/PerunWebImages/roles.svg",name:"perun-roles"},{url:"assets/img/PerunWebImages/consent-white.svg",name:"perun-consent-hubs"},{url:"assets/img/PerunWebImages/hierarchical_vo-black.svg",name:"perun-hierarchical-vo"},{url:"assets/img/PerunWebImages/searcher-blue.svg",name:"perun-searcher"},{url:"assets/img/PerunWebImages/propagation-blue.svg",name:"perun-hierarchical-inclusion"},{url:"assets/img/PerunWebImages/verify-grey.svg",name:"perun-verify-grey"},{url:"assets/img/PerunWebImages/info-grey.svg",name:"perun-info-grey"}]}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(Rp),i.LFG(mr))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),d2=(()=>{class n{constructor(e){this.dialogRef=e}close(){this.dialogRef.close(!0)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})(),ug=(()=>{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})(),ir=(()=>{class n{constructor(e){this.translate=e,this.addNotification=new i.vpe,this.defaultErrorDelayMs=5e3,this.defaultSuccessDelayMs=3e3}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,l,c){this.addNotification.emit({type:"error",error:t,description:r,title:e,actionText:void 0===l&&void 0!==r?this.getDefaultActionMessage():l,delay:this.defaultErrorDelayMs,icon:"error_outline",action:c,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}showSuccess(e,t,r,l){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:l,timeStamp:`${(new Date).getHours()}:${(new Date).getMinutes()}`})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Le))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$x=(()=>{class n{constructor(e,t,r,l,c,s){this.authService=e,this.apiRequestConfiguration=t,this.notificator=r,this.store=l,this.dialog=c,this.initAuthService=s}intercept(e,t){const r=this.store.get("api_url");if(e.url.includes("i18n")&&(e=e.clone({setHeaders:{"Cache-control":"no-cache, must-revalidate"}})),void 0!==r&&this.isCallToPerunApi(e.url)&&!this.store.skipOidc()&&!this.authService.isLoggedIn()&&!this.initAuthService.isServiceAccess()&&!this.dialogRefSessionExpiration){const s=Ei();s.width="450px",this.dialogRefSessionExpiration=this.dialog.open(d2,s),this.dialogRefSessionExpiration.afterClosed().subscribe(()=>{B(()=>this.dialogRefSessionExpiration=void 0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.startAuthentication()})}this.initAuthService.isServiceAccess()?e=e.clone({setHeaders:{Authorization:"Basic "+btoa(sessionStorage.getItem("basicUsername")+":"+sessionStorage.getItem("basicPassword"))}}):this.isCallToPerunApi(e.url)&&(e=e.clone({setHeaders:{Authorization:this.authService.getAuthorizationHeaderValue()}}));const l=this.apiRequestConfiguration.shouldHandleError(),c="POST"===e.method&&!this.store.skipOidc()&&this.isNotConsolidatorOrLinker()&&this.isCallToPerunApi(e.url);return t.handle(e).pipe((0,Dt.b)(s=>{s instanceof M.Zn&&c&&this.initAuthService.loadPrincipal()},s=>{const o=this.formatErrors(s,e);return void 0===o?(0,Pp._)(s):l?void this.notificator.showRPCError(o):(0,Pp._)(o)}))}isCallToPerunApi(e){return e.startsWith(this.store.get("api_url"))}formatErrors(e,t){let r;console.error(e);const l=e.error;if(l.errorId&&(r=l),void 0!==r)return r.urlWithParams=t.urlWithParams,r.call=t.url,r.payload=t.body,r}isNotConsolidatorOrLinker(){const e=this.store.getProperty("application");return!("Linker"===e||"Consolidator"===e)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(gd),i.LFG(ug),i.LFG(ir),i.LFG($t),i.LFG(en),i.LFG(CC))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})(),Jx=(()=>{class n{constructor(){this.newNotificationsCount=0,this.notificationData=[]}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})(),u2=(()=>{class n{constructor(e,t,r,l){this.http=e,this.notificator=t,this.authService=r,this.storeService=l}getApiUrl(){return void 0===this.api_url&&(this.api_url=this.storeService.get("api_url")),this.api_url+"/"}getHeaders(){let e=new M.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,wn.K)(l=>this.formatErrors(l,r,null,t)))}put(e,t={},r=!0){const l=`${this.getApiUrl()}${e}`,c=JSON.stringify(t);return this.http.put(l,c,{headers:this.getHeaders()}).pipe((0,wn.K)(s=>this.formatErrors(s,l,c,r)))}post(e,t={},r=!0){const l=`${this.getApiUrl()}${e}`,c=JSON.stringify(t);let s=this.getHeaders();return s=s.set("Content-Type","application/json; charset=utf-8"),this.http.post(l,c,{headers:s}).pipe((0,wn.K)(o=>this.formatErrors(o,l,c,r)))}delete(e,t=!0){const r=`${this.getApiUrl()}${e}`;return this.http.delete(r,{headers:this.getHeaders()}).pipe((0,wn.K)(l=>this.formatErrors(l,r,null,t)))}formatErrors(e,t,r,l){const c=e.error;return c.call=t,c.payload=r,l&&this.notificator.showRPCError(e.error),(0,Pp._)(c)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG(ir),i.LFG(gd),i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vC=(()=>{class n{isAllSelectedWithDisabledCheckbox(e,t,r,l,c,s,o,d){return this.numSelected=e,this.numCanBeSelected=0,this.pageStart=c*r,this.pageEnd=this.pageStart+r,this.pageIterator=0,this.dataLength=""===t?s.data.length:s.filteredData.length,l||(this.modulo=this.dataLength%r,this.pageEnd=0===this.modulo?this.pageStart+r:this.pageStart+this.modulo),s.sortData(s.filteredData,o).forEach(u=>{this.pageStart<=this.pageIterator&&this.pageIterator{d?u(h)&&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"),r=navigator.languages.map(s=>s.split("-")[0]),l=location.search.substring(1).split("&");let c=null;for(const s of l){const o=s.split("=");"lang"===o[0]&&(c=o[1])}return c&&t.includes(c)?c:e&&t.includes(e)?e:r&&t.includes(r[0])?r[0]:"en"}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Jn),i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lA=(()=>{class n{constructor(e){this.storeService=e}static getBrandContainingDomain(e,t){for(const r of e)if(r.newApps.admin===t||r.newApps.profile===t||r.newApps.pwdReset===t||r.newApps.consolidator===t||r.newApps.linker===t)return r;return e[0]}getUrlForOtherApplication(e,t){const l=window.location.href.split("/"),c=l[0]+"//"+l[2],s=n.getBrandContainingDomain(this.storeService.getAppsConfig().brands,c);let o;if(s.newApps[e])o=s.newApps[e],"pwdReset"===e&&(o+=`?login-namespace=${t}`);else switch(o=s.oldGuiDomain+"/fed",e){case"admin":o+="/gui/";break;case"profile":o+="/profile/";break;case"pwdReset":o+=`/pwd-reset/?login-namespace=${t}`}return o}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),h2=(()=>{class n{setEntity(e){this.entity=e}getEntity(){return this.entity}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),p2=(()=>{class n{constructor(e,t,r){this.store=e,this.oauthService=t,this.httpClient=r,this.mfaApiUrl=this.store.getProperty("mfa").api_url}isMfaAvailable(){return this.httpClient.get(this.mfaApiUrl+"mfaAvailable",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}getCategories(){return this.httpClient.get(this.mfaApiUrl+"categories",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}getSettings(){return this.httpClient.get(this.mfaApiUrl+"settings",{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}enforceMfaForAllServices(e){const t=`value=${String(e)}`;return this.httpClient.put(this.mfaApiUrl+"mfaEnforced",t,{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken()}})}updateDetailSettings(e){return this.httpClient.put(this.mfaApiUrl+"settings",e,{headers:{Authorization:"Bearer "+this.oauthService.getAccessToken(),"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t),i.LFG(Vu.Ct),i.LFG(M.eN))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();ti("openClose",[St("open",Ne({overflow:"hidden"})),St("closed",Ne({height:"0px",overflow:"hidden"})),vt("open <=> closed",[_t(".3s ease-in")])]);const f2=ti("flyInOut",[vt(":enter",[Ne({transform:"translateX(100%)"}),_t(".25s")]),vt(":leave",[_t(".5s",Ne({transform:"translateX(100%)"}))])]);ti("rollInOut",[vt(":enter",[Ne({height:"0px"}),_t(".25s")]),vt(":leave",[_t(".25s",Ne({height:"0px"}))])]),ti("routeAnimations",[vt("* => *",[Ne({position:"relative"}),la(":enter",[Ne({width:"100%",opacity:0})],{optional:!0}),la(":leave",[Ne({position:"absolute",width:"100%",opacity:1}),_t("0.15s",Ne({position:"absolute",width:"100%",opacity:0}))],{optional:!0}),la(":enter",[Ne({position:"absolute",width:"100%",opacity:0}),_t("0.15s",Ne({position:"absolute",width:"100%",opacity:1}))],{optional:!0})])]),ti("tagsOpenClose",[St("open",Ne({})),St("closed",Ne({width:"0px",height:"0px"})),vt("open <=> closed",[_t(".3s ease-in")])]),ti("switchAnimations",[vt("true => false",[la(":enter, :leave",Ne({})),Rh([la(":enter",[Ne({transform:"translateX(-100%)"}),_t("1s ease-in-out",Ne({transform:"translateX(0%)"}))],{optional:!0}),la(":leave",[Ne({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Ne({transform:"translateX(100%)"}))],{optional:!0})])]),vt("false => true",[la(":enter, :leave",Ne({})),Rh([la(":enter",[Ne({transform:"translateX(100%)"}),_t("1s ease-in-out",Ne({transform:"translateX(0%)"}))],{optional:!0}),la(":leave",[Ne({transform:"translateX(0%)",position:"absolute"}),_t("1s ease-in-out",Ne({transform:"translateX(-100%)"}))],{optional:!0})])])]),ti("slideInOutLeft",[vt(":enter",[Ne({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Ne({transform:"translateX(0%)"}))]),vt(":leave",[_t("0.5s ease-in",Ne({transform:"translateX(-100%)"}))])]),ti("slideInOutRight",[vt(":enter",[Ne({transform:"translateX(100%)",position:"fixed"}),_t("0.5s ease-in",Ne({transform:"translateX(0%)"}))]),vt(":leave",[Ne({transform:"translateX(-100%)",position:"relative"}),_t("0.5s ease-in",Ne({transform:"translateX(100%)"}))])]);let Xx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez]]}),n})(),cA=(()=>{class n{transform(e){return[e.titleBefore,e.firstName,e.middleName,e.lastName,e.titleAfter].join(" ")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"userFullName",type:n,pure:!0}),n})(),ii=(()=>{class n{constructor(e,t){this.translate=e,this.storage=t}transform(e,t="en"){const r=this.storage.get("custom_labels");if(r)for(const l of r)if(l.label===e)return l[t];return e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le,16),i.Y36($t,16))},n.\u0275pipe=i.Yjl({name:"customTranslate",type:n,pure:!0}),n})();const Qx=aa({passive:!0});let m2=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return va.E;const t=Qi(e),r=this._monitoredElements.get(t);if(r)return r.subject;const l=new Ie.x,c="cdk-text-field-autofilled",s=o=>{"cdk-text-field-autofill-start"!==o.animationName||t.classList.contains(c)?"cdk-text-field-autofill-end"===o.animationName&&t.classList.contains(c)&&(t.classList.remove(c),this._ngZone.run(()=>l.next({target:o.target,isAutofilled:!1}))):(t.classList.add(c),this._ngZone.run(()=>l.next({target:o.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Qx),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:l,unlisten:()=>{t.removeEventListener("animationstart",s,Qx)}}),l}stopMonitoring(e){const t=Qi(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 n.\u0275fac=function(e){return new(e||n)(i.LFG(wi),i.LFG(i.R0b))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dA=(()=>{class n{constructor(e,t,r,l){this._elementRef=e,this._platform=t,this._ngZone=r,this._destroyed=new Ie.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=c=>{this._hasFocus="focus"===c.type},this._document=l,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(e){this._minRows=Xi(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Xi(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=$e(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(()=>{Na(this._getWindow(),"resize").pipe(sp(16),dt(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||"",r=this._platform.FIREFOX,l=r&&this._hasFocus,c=r?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";l&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(c);const s=e.scrollHeight-4;return e.classList.remove(c),l&&(e.style.marginBottom=t),s}_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,r=t.value;if(!e&&this._minRows===this._previousMinRows&&r===this._previousValue)return;const l=this._measureScrollHeight(),c=Math.max(l,this._cachedPlaceholderHeight||0);t.style.height=`${c}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=r,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:r}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wi),i.Y36(i.R0b),i.Y36(w.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})(),Kx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const eS=new i.OlP("MAT_INPUT_VALUE_ACCESSOR"),g2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _2=0;const b2=B0(class{constructor(n,a,e,t){this._defaultErrorStateMatcher=n,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let Rn=(()=>{class n extends b2{constructor(e,t,r,l,c,s,o,d,u,h){super(s,l,c,r),this._elementRef=e,this._platform=t,this._autofillMonitor=d,this._formField=h,this._uid="mat-input-"+_2++,this.focused=!1,this.stateChanges=new Ie.x,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(N=>ty().has(N)),this._iOSKeyupListener=N=>{const Q=N.target;!Q.value&&0===Q.selectionStart&&0===Q.selectionEnd&&(Q.setSelectionRange(1,1),Q.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,b=f.nodeName.toLowerCase();this._inputValueAccessor=o||f,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=f.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=$e(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,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ty().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=$e(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),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}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 l=this._elementRef.nativeElement;this._previousPlaceholder=r,r?l.setAttribute("placeholder",r):l.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){g2.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(wi),i.Y36(Fa,10),i.Y36(lo,8),i.Y36(co,8),i.Y36(au),i.Y36(eS,10),i.Y36(m2),i.Y36(i.R0b),i.Y36(id,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:dp,useExisting:n}]),i.qOj,i.TTD]}),n})(),Fp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[au],imports:[[Kx,ps,ut],Kx,ps]}),n})();function A2(n,a){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 y2(n,a){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 w2=Ia(class{constructor(n){this._elementRef=n}},"primary"),C2=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function v2(){return{diameter:100}}});class Ci extends w2{constructor(a,e,t,r,l,c,s,o){super(a),this._document=t,this._diameter=100,this._value=0,this._resizeSubscription=Wt.w0.EMPTY,this.mode="determinate";const d=Ci._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),d.has(t.head)||d.set(t.head,new Set([100])),this._noopAnimations="NoopAnimations"===r&&!!l&&!l._forceAnimations,"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),l&&(l.diameter&&(this.diameter=l.diameter),l.strokeWidth&&(this.strokeWidth=l.strokeWidth)),e.isBrowser&&e.SAFARI&&s&&c&&o&&(this._resizeSubscription=s.change(150).subscribe(()=>{"indeterminate"===this.mode&&o.run(()=>c.markForCheck())}))}get diameter(){return this._diameter}set diameter(a){this._diameter=Xi(a),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(a){this._strokeWidth=Xi(a)}get value(){return"determinate"===this.mode?this._value:0}set value(a){this._value=Math.max(0,Math.min(100,Xi(a)))}ngOnInit(){const a=this._elementRef.nativeElement;this._styleRoot=Ch(a)||this._document.head,this._attachStyleNode(),a.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const a=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${a} ${a}`}_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(a){var e;const t=50*(null!==(e=a.currentScale)&&void 0!==e?e:1);return`${t}% ${t}%`}_attachStyleNode(){const a=this._styleRoot,e=this._diameter,t=Ci._diameters;let r=t.get(a);if(!r||!r.has(e)){const l=this._document.createElement("style");l.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),l.textContent=this._getAnimationText(),a.appendChild(l),r||(r=new Set,t.set(a,r)),r.add(e)}}_getAnimationText(){const a=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*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Ci._diameters=new WeakMap,Ci.\u0275fac=function(a){return new(a||Ci)(i.Y36(i.SBq),i.Y36(wi),i.Y36(w.K0,8),i.Y36(qn,8),i.Y36(C2),i.Y36(i.sBO),i.Y36(so),i.Y36(i.R0b))},Ci.\u0275cmp=i.Xpm({type:Ci,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,e){2&a&&(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(a,e){1&a&&(i.O4$(),i.TgZ(0,"svg",0,1),i.YNc(2,A2,1,11,"circle",2),i.YNc(3,y2,1,9,"circle",3),i.qZA()),2&a&&(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:[w.RF,w.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 jp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut,w.ez],ut]}),n})(),uA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[uo,w.ez]]}),n})(),x2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[],imports:[[w.ez,ps,nl,il,Fp,pt,jp,uo,uA]]}),n})();class S2{isErrorState(a){return!(!(null==a?void 0:a.invalid)||!(null==a?void 0:a.dirty))}}const tS=(n,a,e,t=500)=>r=>(0,$0.H)(t).pipe((0,Li.w)(()=>(e.dontHandleErrorForNext(),n&&"No namespace"!==n?a.checkPasswordStrength({password:r.value,namespace:n}):(0,rt.of)(null))),(0,Ct.U)(()=>null),(0,wn.K)(l=>{const c=l.error,s={backendError:c.message.substring(c.message.indexOf(":")+1)};return(0,rt.of)(s)}));function E2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," info "),i.qZA())}function D2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," warning "),i.qZA())}function H2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," dangerous "),i.qZA())}function L2(n,a){1&n&&(i.TgZ(0,"mat-icon",2),i._uU(1," check_circle "),i.qZA())}const k2=["*"];let Wn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-alert"]],inputs:{alert_type:"alert_type"},ngContentSelectors:k2,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,E2,2,0,"mat-icon",1),i.YNc(2,D2,2,0,"mat-icon",1),i.YNc(3,H2,2,0,"mat-icon",1),i.YNc(4,L2,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:[w.O5,Wi],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 P2(n,a){1&n&&i._UZ(0,"mat-spinner",12),2&n&&i.Q6J("diameter",18)}function R2(n,a){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 O2(n,a){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 I2(n,a){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 B2(n,a){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 N2(n,a){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 iS=(()=>{class n{constructor(e,t,r){this.translator=e,this.usersManagerService=t,this.store=r,this.passwordRequired=!0,this.tooltipPwdViaEmail=!1,this.tooltipPwdDisabledForNamespace=!1,this.multiLanguage=!1,this.language="en",this.passwordRequirement=null,this.showNewPassword=!1,this.showPasswordConfirm=!1,this.passwordStateMatcher=new S2,this.allPasswordRequirements=this.store.get("password_requirements_help")}ngOnInit(){window.location.href.includes("/profile")?this.usersManagerService.getRichUserWithAttributes(this.store.getPerunPrincipal().userId).subscribe(e=>{var t;const r=e.userAttributes.find(l=>"preferredLanguage"===l.friendlyName);this.language=null!==(t=null==r?void 0:r.value)&&void 0!==t?t:"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(Le),i.Y36(Ti),i.Y36($t))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-form"]],inputs:{formGroup:"formGroup",passwordRequired:"passwordRequired",tooltipPwdViaEmail:"tooltipPwdViaEmail",tooltipPwdDisabledForNamespace:"tooltipPwdDisabledForNamespace",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,P2,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,R2,2,2,"mat-icon",5),i.YNc(8,O2,3,3,"mat-error",6),i.YNc(9,I2,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,B2,3,3,"mat-error",6),i.YNc(18,N2,3,3,"mat-error",6),i.qZA(),i.TgZ(19,"perun-web-apps-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||t.tooltipPwdDisabledForNamespace),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:[Mu,co,ln,tr,Rn,bn,Vi,Tp,Fr,w.O5,Ci,V_,Wi,ed,Vr,Wn],pipes:[me],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 W2(n,a){1&n&&i._UZ(0,"mat-spinner",7)}function U2(n,a){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 G2(n,a){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 Z2(n,a){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(r){return i.CHM(e),i.oxw().subject=r}),i.qZA(),i.YNc(7,U2,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(r){return i.CHM(e),i.oxw().message=r}),i.ALo(14,"translate"),i._uU(15," "),i.qZA(),i.YNc(16,G2,3,3,"mat-error",11),i.qZA(),i.qZA()}if(2&n){const e=i.MAs(6),t=i.MAs(13),r=i.oxw();i.xp6(3),i.Oqu(i.lcZ(4,7,"SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUBJECT")),i.xp6(2),i.Q6J("ngModel",r.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",r.message),i.xp6(4),i.Q6J("ngIf",t.invalid)}}let $2=(()=>{class n{constructor(e,t,r,l,c,s){this.dialogRef=e,this.translate=t,this.notificator=r,this.rtMessages=l,this.data=c,this.storeService=s,this.message="",this.subject="",this.methodRegexp=/(\w+\/\w+)$/g,this.loading=!1}ngOnInit(){var e,t;(null===(t=null===(e=this.data)||void 0===e?void 0:e.error)||void 0===t?void 0:t.errorId)&&(this.subject="".concat(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(()=>{const t="".concat(this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS1"),e.ticketNumber.toString(),this.translate.instant("SHARED_LIB.PERUN.COMPONENTS.BUG_REPORT.SUCCESS2"));this.notificator.showSuccess(t)}),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,"\n","Perun instance: ",e,"\n","Request:\n",this.data.error.urlWithParams,"\n\n"),this.data.error.payload){const r=/"password":".+?"/;let l=JSON.stringify(this.data.error.payload);l=l.replace(r,'"password":"####"'),t=t.concat("Payload:\n"+l+"\n\n")}return t=t.concat("Sent from new Perun Gui, version: ",T(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(Oi),i.Y36(Le),i.Y36(ir),i.Y36(fn),i.Y36(cn),i.Y36($t))},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,W2,1,0,"mat-spinner",1),i.YNc(4,Z2,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:[kn,w.O5,Ci,Pn,ln,Vr,Rn,bn,Fr,Vi,fs,ed,vn,It],pipes:[me],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),J2=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.dialog=t,this.data=r}onCloseClick(){this.dialogRef.close()}onBugReportClick(){this.dialogRef.afterClosed().subscribe(()=>{const e=Ei();e.width="550px",e.data={error:this.data.error},e.autoFocus=!1,this.dialog.open($2,e)}),this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(en),i.Y36(cn))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})();const X2=[[["caption"]],[["colgroup"],["col"]]],Q2=["caption","colgroup, col"];function SC(n){return class extends n{constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(a){const e=this._sticky;this._sticky=$e(a),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}}}const qp=new i.OlP("CDK_TABLE");let Yp=(()=>{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})(),Wp=(()=>{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})(),hA=(()=>{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 iH{}const nH=SC(iH);let rc=(()=>{class n extends nH{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=$e(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(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,Yp,5),i.Suo(r,Wp,5),i.Suo(r,hA,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.cell=l.first),i.iGM(l=i.CRH())&&(t.headerCell=l.first),i.iGM(l=i.CRH())&&(t.footerCell=l.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})();class EC{constructor(a,e){e.nativeElement.classList.add(...a._columnCssClassName)}}let DC=(()=>{class n extends EC{constructor(e,t){super(e,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rc),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})(),HC=(()=>{class n extends EC{constructor(e,t){var r;if(super(e,t),1===(null===(r=e._table)||void 0===r?void 0:r._elementRef.nativeElement.nodeType)){const l=e._table._elementRef.nativeElement.getAttribute("role");t.nativeElement.setAttribute("role","grid"===l||"treegrid"===l?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(rc),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 rS{constructor(){this.tasks=[],this.endTasks=[]}}const LC=new i.OlP("_COALESCED_STYLE_SCHEDULER");let aS=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Ie.x}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 rS,this._getScheduleObservable().pipe(dt(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new rS;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Sn.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})(),kC=(()=>{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 hg?e.headerCell.template:this instanceof pg?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 rH extends kC{}const aH=SC(rH);let hg=(()=>{class n extends aH{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.qOj,i.TTD]}),n})();class sH extends kC{}const oH=SC(sH);let pg=(()=>{class n extends oH{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,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 kC{constructor(e,t,r){super(e,t),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(qp,8))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.qOj]}),n})(),ac=(()=>{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})(),PC=(()=>{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:[ac],encapsulation:2}),n})(),OC=(()=>{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:[ac],encapsulation:2}),n})(),fA=(()=>{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 sS=["top","bottom","left","right"];class lH{constructor(a,e,t,r,l=!0,c=!0,s){this._isNativeHtmlTable=a,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=l,this._needsPositionStickyOnElement=c,this._positionListener=s,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(a,e){const t=[];for(const r of a)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let l=0;l{for(const r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(a,e,t,r=!0){if(!a.length||!this._isBrowser||!e.some(f=>f)&&!t.some(f=>f))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=a[0],c=l.children.length,s=this._getCellWidths(l,r),o=this._getStickyStartColumnPositions(s,e),d=this._getStickyEndColumnPositions(s,t),u=e.lastIndexOf(!0),h=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const f="rtl"===this.direction,b=f?"right":"left",N=f?"left":"right";for(const Q of a)for(let fe=0;fee[fe]?Q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===h?[]:s.slice(h).map((Q,fe)=>t[fe+h]?Q:null).reverse()}))})}stickRows(a,e,t){if(!this._isBrowser)return;const r="bottom"===t?a.slice().reverse():a,l="bottom"===t?e.slice().reverse():e,c=[],s=[],o=[];for(let u=0,h=0;u{var u,h;for(let f=0;f{e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(a,e){for(const r of e)a.style[r]="",a.classList.remove(this._borderCellCss[r]);sS.some(r=>-1===e.indexOf(r)&&a.style[r])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,e,t,r){a.classList.add(this._stickCellCss),r&&a.classList.add(this._borderCellCss[e]),a.style[e]=`${t}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const r of sS)a.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(a,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],r=a.children;for(let l=0;l0;l--)e[l]&&(t[l]=r,r+=a[l]);return t}}const IC=new i.OlP("CDK_SPL");let mA=(()=>{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})(),gA=(()=>{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})(),_A=(()=>{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})(),bA=(()=>{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})(),AA=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f,b){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=c,this._platform=o,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=b,this._onDestroy=new Ie.x,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 rn({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,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=$e(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=$e(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(dt(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(),bu(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,(r,l,c)=>this._getEmbeddedViewArgs(r.item,c),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{t.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&i.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ut.q)(1),dt(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),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const l=this._headerRowDefs.map(c=>c.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,l,"top"),this._headerRowDefs.forEach(c=>c.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const l=this._footerRowDefs.map(c=>c.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(c=>c.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((l,c)=>{this._addStickyColumnStyles([l],this._headerRowDefs[c])}),this._rowDefs.forEach(l=>{const c=[];for(let s=0;s{this._addStickyColumnStyles([l],this._footerRowDefs[c])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const s=r&&r.has(c)?r.get(c):[];if(s.length){const o=s.shift();return o.dataIndex=t,o}return{data:e,rowDef:c,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),yA(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=yA(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=yA(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=yA(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(c,s)=>c||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(e,!1);return l&&this._forceRenderFooterRows(),t||r||l}_switchDataSource(e){this._data=[],bu(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;bu(this.dataSource)?e=this.dataSource.connect(this):_s(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,rt.of)(this.dataSource)),this._renderChangeSubscription=e.pipe(dt(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 r=Array.from(t.columns||[]).map(s=>this._columnDefsByName.get(s)),l=r.map(s=>s.sticky),c=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,l,c,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let r=0;r!l.when||l.when(t,e));else{let l=this._rowDefs.find(c=>c.when&&c.when(t,e))||this._defaultRowDef;l&&r.push(l)}return r}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,r,l={}){const c=e.viewContainer.createEmbeddedView(t.template,l,r);return this._renderCellTemplateForItem(t,l),c}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))ac.mostRecentCellOutlet&&ac.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{const r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)}):[]}_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 r of t){const l=this._document.createElement(r.tag);l.setAttribute("role","rowgroup");for(const c of r.outlets)l.appendChild(c.elementRef.nativeElement);e.appendChild(l)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,r)=>t||r.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 lH(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,rt.of)()).pipe(dt(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 r=this._noDataRowOutlet.viewContainer;if(t){const l=r.createEmbeddedView(e.templateRef),c=l.rootNodes[0];1===l.rootNodes.length&&(null==c?void 0:c.nodeType)===this._document.ELEMENT_NODE&&(c.setAttribute("role","row"),c.classList.add(e._contentClassName))}else r.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(Fn,8),i.Y36(w.K0),i.Y36(wi),i.Y36(Au),i.Y36(LC),i.Y36(so),i.Y36(IC,12),i.Y36(i.R0b,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,fA,5),i.Suo(r,rc,5),i.Suo(r,pA,5),i.Suo(r,hg,5),i.Suo(r,pg,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._noDataRow=l.first),i.iGM(l=i.CRH())&&(t._contentColumnDefs=l),i.iGM(l=i.CRH())&&(t._contentRowDefs=l),i.iGM(l=i.CRH())&&(t._contentHeaderRowDefs=l),i.iGM(l=i.CRH())&&(t._contentFooterRowDefs=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(mA,7),i.Gf(gA,7),i.Gf(_A,7),i.Gf(bA,7)),2&e){let r;i.iGM(r=i.CRH())&&(t._rowOutlet=r.first),i.iGM(r=i.CRH())&&(t._headerRowOutlet=r.first),i.iGM(r=i.CRH())&&(t._footerRowOutlet=r.first),i.iGM(r=i.CRH())&&(t._noDataRowOutlet=r.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:qp,useExisting:n},{provide:Au,useClass:up},{provide:LC,useClass:aS},{provide:IC,useValue:null}])],ngContentSelectors:Q2,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(X2),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[gA,mA,bA,_A],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})();function yA(n,a){return n.concat(Array.from(a))}let dH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Yl]]}),n})();const uH=[[["caption"]],[["colgroup"],["col"]]],hH=["caption","colgroup, col"];let ho=(()=>{class n extends AA{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:Au,useClass:up},{provide:AA,useExisting:n},{provide:qp,useExisting:n},{provide:LC,useClass:aS},{provide:IC,useValue:null}]),i.qOj],ngContentSelectors:hH,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(i.F$t(uH),i.Hsn(0),i.Hsn(1,1),i.GkF(2,0),i.GkF(3,1),i.GkF(4,2),i.GkF(5,3))},directives:[gA,mA,bA,_A],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:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),n})(),ys=(()=>{class n extends Yp{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matCellDef",""]],features:[i._Bn([{provide:Yp,useExisting:n}]),i.qOj]}),n})(),Ms=(()=>{class n extends Wp{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderCellDef",""]],features:[i._Bn([{provide:Wp,useExisting:n}]),i.qOj]}),n})(),ws=(()=>{class n extends rc{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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i._Bn([{provide:rc,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),i.qOj]}),n})(),Cs=(()=>{class n extends DC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),vs=(()=>{class n extends HC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),po=(()=>{class n extends hg{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i._Bn([{provide:hg,useExisting:n}]),i.qOj]}),n})(),fo=(()=>{class n extends pA{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),mo=(()=>{class n extends PC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:PC,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ac],encapsulation:2}),n})(),go=(()=>{class n extends OC{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:OC,useExisting:n}]),i.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&i.GkF(0,0)},directives:[ac],encapsulation:2}),n})(),fg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[dH,ut],ut]}),n})();class rl extends class CH extends class yw{}{constructor(a=[]){super(),this._renderData=new rn([]),this._filter=new rn(""),this._internalPageChanges=new Ie.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const r=e[t];if(e1(r)){const l=Number(r);return l<9007199254740991?l:r}return r},this.sortData=(e,t)=>{const r=t.active,l=t.direction;return r&&""!=l?e.sort((c,s)=>{let o=this.sortingDataAccessor(c,r),d=this.sortingDataAccessor(s,r);const u=typeof o,h=typeof d;u!==h&&("number"===u&&(o+=""),"number"===h&&(d+=""));let f=0;return null!=o&&null!=d?o>d?f=1:o{const r=Object.keys(e).reduce((c,s)=>c+e[s]+"\u25ec","").toLowerCase(),l=t.trim().toLowerCase();return-1!=r.indexOf(l)},this._data=new rn(a),this._updateChangeSubscription()}get data(){return this._data.value}set data(a){a=Array.isArray(a)?a:[],this._data.next(a),this._renderChangesSubscription||this._filterData(a)}get filter(){return this._filter.value}set filter(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(a){this._sort=a,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(a){this._paginator=a,this._updateChangeSubscription()}_updateChangeSubscription(){var a;const e=this._sort?(0,Ri.T)(this._sort.sortChange,this._sort.initialized):(0,rt.of)(null),t=this._paginator?(0,Ri.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,rt.of)(null),l=(0,yo.a)([this._data,this._filter]).pipe((0,Ct.U)(([o])=>this._filterData(o))),c=(0,yo.a)([l,e]).pipe((0,Ct.U)(([o])=>this._orderData(o))),s=(0,yo.a)([c,t]).pipe((0,Ct.U)(([o])=>this._pageData(o)));null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=s.subscribe(o=>this._renderData.next(o))}_filterData(a){return this.filteredData=null==this.filter||""===this.filter?a:a.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(a){return this.sort?this.sortData(a.slice(),this.sort):a}_pageData(a){if(!this.paginator)return a;const e=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(e,e+this.paginator.pageSize)}_updatePaginator(a){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=a,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,t);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var a;null===(a=this._renderChangesSubscription)||void 0===a||a.unsubscribe(),this._renderChangesSubscription=null}}{}function vH(n,a){1&n&&i._UZ(0,"mat-spinner",3)}function TH(n,a){1&n&&i._UZ(0,"th",15)}function xH(n,a){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function SH(n,a){1&n&&i._UZ(0,"tr",17)}function EH(n,a){1&n&&i._UZ(0,"tr",18)}function DH(n,a){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,TH,1,0,"th",8),i.YNc(13,xH,2,1,"td",9),i.BQk(),i.YNc(14,SH,1,0,"tr",10),i.YNc(15,EH,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 HH=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.data=t,this.usersManagerService=r,this.translate=l,this.notificator=c,this.force=!1,this.displayedColumns=["name"],l.get("SHARED_LIB.PERUN.COMPONENTS.REMOVE_USER_EXT_SOURCE.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.theme=this.data.theme,this.dataSource=new rl(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(Oi),i.Y36(cn),i.Y36(Ti),i.Y36(Le),i.Y36(ir))},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,vH,1,0,"mat-spinner",1),i.YNc(6,DH,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();class LH{constructor(a,e){this._document=e;const t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=a,this._document.body.appendChild(t)}copy(){const a=this._textarea;let e=!1;try{if(a){const t=this._document.activeElement;a.select(),a.setSelectionRange(0,a.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch(t){}return e}destroy(){const a=this._textarea;a&&(a.remove(),this._textarea=void 0)}}let kH=(()=>{class n{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new LH(e,this._document)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const PH=new i.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let BC=(()=>{class n{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new i.vpe,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e;const r=this._clipboard.beginCopy(this.text);this._pending.add(r);const l=()=>{const c=r.copy();c||!--t||this._destroyed?(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(c)):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 n.\u0275fac=function(e){return new(e||n)(i.Y36(kH),i.Y36(i.R0b),i.Y36(PH,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})(),lS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),MA=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,dA,Rn,vn,It,BC],pipes:[me],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}"]}),n})(),RH=(()=>{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(Oi),i.Y36(cn))},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(l){return t.attributeValue=l}),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:[kn,Pn,ln,dA,Rn,bn,Vi,fs,vn,It],pipes:[me],styles:[""]}),n})(),OH=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,vn,It],pipes:[me],styles:[""]}),n})();function IH(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",9),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Oqu(e.pendingEmailsMessage)}}function BH(n,a){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 NH=(()=>{class n{constructor(e,t,r,l,c,s){this.dialogRef=e,this.data=t,this.translate=r,this.notificator=l,this.usersManagerService=c,this.authService=s,this.pendingMails=[],r.get("DIALOGS.CHANGE_EMAIL.SUCCESS").subscribe(o=>this.successMessage=o),r.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_BEGIN").subscribe(o=>this.pendingEmailsMessageStart=o),r.get("DIALOGS.CHANGE_EMAIL.PENDING_MAILS_END").subscribe(o=>this.pendingEmailsMessageEnd=o)}ngOnInit(){this.emailControl=new Yn(null,[An.required,An.pattern(/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i)]),this.usersManagerService.getPendingPreferredEmailChanges(this.data.userId).subscribe(e=>{this.pendingMails=e.filter((r,l,c)=>l===c.indexOf(r));let t="";this.pendingMails.forEach(r=>t+=`${r===this.pendingMails[0]?"":", "}${r}`),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(Oi),i.Y36(cn),i.Y36(Le),i.Y36(ir),i.Y36(Ti),i.Y36(gd))},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,IH,2,1,"perun-web-apps-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,BH,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:[kn,Pn,w.O5,Wn,ln,Rn,bn,Fr,Vi,ja,ed,vn,It],pipes:[me,ii],styles:[""]}),n})(),GH=(()=>{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(Oi),i.Y36(Mi))},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,"perun-web-apps-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:[kn,Pn,Wn,vn,It],pipes:[me],styles:[""]}),n})();function ZH(n,a){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 $H(n,a){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 r=i.oxw();return r.showOldPassword=!r.showOldPassword}),i._uU(8),i.qZA(),i.YNc(9,ZH,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 JH(n,a){1&n&&i._UZ(0,"mat-spinner",11)}function XH(n,a){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 QH=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialogRef=e,this.data=t,this._formBuilder=r,this.usersManagerService=l,this.apiRequestConfiguration=c,this.notificator=s,this.translate=o,this.showOldPassword=!1,o.get("SHARED_LIB.PERUN.COMPONENTS.CHANGE_PASSWORD_DIALOG.SUCCESS").subscribe(d=>this.successMessage=d)}ngOnInit(){this.formGroup=this._formBuilder.group({oldPasswordCtrl:["",An.required],passwordCtrl:["",An.required,[tS(this.data.namespace,this.usersManagerService,this.apiRequestConfiguration)]],passwordAgainCtrl:[""]},{validators:Gx.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({login:this.data.login,namespace:this.data.namespace,newPassword:this.newPwd.value,oldPassword:this.oldPwd.value,checkOldPassword:!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(Oi),i.Y36(cn),i.Y36(Ym),i.Y36(Ti),i.Y36(ug),i.Y36(ir),i.Y36(Le))},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,$H,11,9,"form",2),i.YNc(5,JH,1,0,"mat-spinner",3),i.qZA(),i.YNc(6,XH,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:[kn,Pn,w.O5,Hm,Mu,co,ln,Vr,bn,Rn,Vi,Tp,Fr,Wi,V_,ed,iS,Ci,vn,It],pipes:[me],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 KH=["input"],eL=function(n){return{enterDuration:n}},tL=["*"],iL=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function nL(){return{color:"accent"}}});let dS=0;const rL={provide:Kn,useExisting:(0,i.Gpc)(()=>pS),multi:!0};class uS{constructor(a,e){this.source=a,this.value=e}}const hS=new i.OlP("MatRadioGroup");let aL=(()=>{class n{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+dS++,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=$e(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=$e(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})(),pS=(()=>{class n extends aL{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-radio-group"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,fS,5),2&e){let l;i.iGM(l=i.CRH())&&(t._radios=l)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([rL,{provide:hS,useExisting:n}]),i.qOj]}),n})();class sL{constructor(a){this._elementRef=a}}const oL=pa(Jo(sL));let lL=(()=>{class n extends oL{constructor(e,t,r,l,c,s,o,d){super(t),this._changeDetector=r,this._focusMonitor=l,this._radioDispatcher=c,this._providerOverride=o,this._uniqueId="mat-radio-"+ ++dS,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===s,d&&(this.tabIndex=Xi(d,0)),this._removeUniqueSelectionListener=c.listen((u,h)=>{u!==this.id&&h===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=$e(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($e(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=$e(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)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),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())}_updateTabIndex(){var e;const t=this.radioGroup;let r;if(r=t&&t.selected&&!this.disabled?t.selected===this?this.tabIndex:-1:this.tabIndex,r!==this._previousTabIndex){const l=null===(e=this._inputElement)||void 0===e?void 0:e.nativeElement;l&&(l.setAttribute("tabindex",r+""),this._previousTabIndex=r)}}}return n.\u0275fac=function(e){i.$Z()},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&i.Gf(KH,5),2&e){let r;i.iGM(r=i.CRH())&&(t._inputElement=r.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})(),fS=(()=>{class n extends lL{constructor(e,t,r,l,c,s,o,d){super(e,t,r,l,c,s,o,d)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(hS,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(oa),i.Y36(sm),i.Y36(qn,8),i.Y36(iL,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:tL,decls:13,vars:19,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",3,"id","checked","disabled","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(l){return t._onInputInteraction(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1);i.uIk("for",t.inputId),i.xp6(5),i.Q6J("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("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",r)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(17,eL,t._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==t.labelPosition)}},directives:[hr],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-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;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{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.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})(),mS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut],ut]}),n})();function cL(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function dL(n,a){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 uL(n,a){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 hL(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-radio-group",12),i.NdJ("ngModelChange",function(r){return i.CHM(e),i.oxw(2).asyncValidation=r}),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 pL(n,a){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 fL(n,a){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 mL(n,a){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,dL,3,3,"span",9),i.YNc(19,uL,3,3,"span",9),i.YNc(20,hL,10,12,"mat-radio-group",10),i.YNc(21,pL,3,3,"span",9),i.YNc(22,fL,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 gL(n,a){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 _L=(()=>{class n{constructor(e,t,r,l){this.dialogRef=e,this.data=t,this.resourceService=r,this.groupService=l,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(Oi),i.Y36(cn),i.Y36(_i),i.Y36(Hi))},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,cL,1,0,"mat-spinner",1),i.YNc(5,mL,23,17,"div",2),i.YNc(6,gL,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:[kn,w.O5,Ci,Pn,pS,Vi,fs,fS,vn,It],pipes:[me],styles:[".id-font[_ngcontent-%COMP%]{font-size:1rem}"]}),n})();function bL(n,a){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 AL(n,a){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 yL=(()=>{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=Ei();e.width="550px",e.data=this.data,e.autoFocus=!1,this.dialog.open(J2,e).afterClosed().subscribe(()=>{this.closeSelf()})}}closeSelf(){this.inDialog||(this.newNotification&&(this.alreadyClosed=!0),this.notificationStorageService.newNotificationsCount&&this.notificationStorageService.newNotificationsCount--,this.closeNotification.emit())}ngOnInit(){!function YD(n,a){return(0,mi.mG)(this,void 0,void 0,function*(){yield function WD(n){return new Promise(a=>setTimeout(a,n))}(n),a()})}(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(en),i.Y36(Jx))},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,bL,3,1,"div",1),i.TgZ(3,"div",2),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.YNc(6,AL,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:[w.O5,Wi],pipes:[me],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 ML(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-notification",2),i.NdJ("closeNotification",function(){const l=i.CHM(e).index;return i.oxw().removeNotification(l)}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("@flyInOut",void 0),i.xp6(1),i.Q6J("data",e)("newNotification",!0)}}const wL=function(n){return{top:n}};let CL=(()=>{class n{constructor(e,t){this.notificator=e,this.notificationStorageService=t,this.displayWarning=!1,this.minWidth=992,this.notifications=[],this.mobileView=!1,this.notificator.addNotification.subscribe(r=>{this.processNotification(r)}),this.getScreenSize()}getScreenSize(){this.mobileView=window.innerWidth<=this.minWidth}getNotificatorTop(){return this.mobileView?"initial":this.displayWarning?"112px":"64px"}removeNotification(e){this.notifications.splice(e,1)}processNotification(e){this.notifications.push(e),this.notificationStorageService.storeNotification(e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ir),i.Y36(Jx))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-notificator"]],hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,ML,2,3,"div",1),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(2,wL,t.getNotificatorTop())),i.xp6(1),i.Q6J("ngForOf",t.notifications))},directives:[w.PC,w.sg,yL],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:[f2]}}),n})();const vL=["*",[["mat-toolbar-row"]]],TL=["*","mat-toolbar-row"],xL=Ia(class{constructor(n){this._elementRef=n}});let SL=(()=>{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})(),EL=(()=>{class n extends xL{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 n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(wi),i.Y36(w.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,SL,5),2&e){let l;i.iGM(l=i.CRH())&&(t._toolbarRows=l)}},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:TL,decls:2,vars:0,template:function(e,t){1&e&&(i.F$t(vL),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})(),NC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();function gS(n){for(let a in n){let e=n[a]||"";switch(a){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-"+a]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+a]=isNaN(+e)?"0":e}}return n}const VC="inline",wA=["row","column","row-reverse","column-reverse"];function _S(n){let[a,e,t]=function bS(n){var a;n=null!==(a=null==n?void 0:n.toLowerCase())&&void 0!==a?a:"";let[e,t,r]=n.split(" ");return wA.find(l=>l===e)||(e=wA[0]),t===VC&&(t=r!==VC?r:"",r=VC),[e,DL(t),!!r]}(n);return function HL(n,a=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":a||null}}(a,e,t)}function DL(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 kL={provide:i.tb,useFactory:function LL(n,a){return()=>{if((0,w.NF)(a)){const e=Array.from(n.querySelectorAll(`[class*=${AS}]`)),t=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${AS}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(t,"")})}}},deps:[w.K0,i.Lbi],multi:!0},AS="flex-layout-";let zC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[kL]}),n})();class zu{constructor(a=!1,e="all",t="",r="",l=0){this.matches=a,this.mediaQuery=e,this.mqAlias=t,this.suffix=r,this.priority=l,this.property=""}clone(){return new zu(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let PL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,r){const l=this.stylesheet.get(e);l?l.set(t,r):this.stylesheet.set(e,new Map([[t,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const r=this.stylesheet.get(e);let l="";if(r){const c=r.get(t);("number"==typeof c||"string"==typeof c)&&(l=c+"")}return l}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const FC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},_o=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>FC}),Up=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),jC=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function yS(n,a){return n=n?n.clone():new zu,a&&(n.mqAlias=a.alias,n.mediaQuery=a.mediaQuery,n.suffix=a.suffix,n.priority=a.priority),n}class yn{constructor(){this.shouldCache=!0}sideEffect(a,e,t){}}let Ui=(()=>{class n{constructor(e,t,r,l){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=r,this.layoutConfig=l}applyStyleToElement(e,t,r=null){let l={};"string"==typeof t&&(l[t]=r,t=l),l=this.layoutConfig.disableVendorPrefixes?t:gS(t),this._applyMultiValueStyleToElement(l,e)}applyStyleToElements(e,t=[]){const r=this.layoutConfig.disableVendorPrefixes?e:gS(e);t.forEach(l=>{this._applyMultiValueStyleToElement(r,l)})}getFlowDirection(e){const t="flex-direction";let r=this.lookupStyle(e,t);return[r||"row",this.lookupInlineStyle(e,t)||(0,w.PM)(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){var r;return null!==(r=e.getAttribute(t))&&void 0!==r?r:""}lookupInlineStyle(e,t){return(0,w.NF)(this._platformId)?e.style.getPropertyValue(t):function RL(n,a){var e;return null!==(e=MS(n)[a])&&void 0!==e?e:""}(e,t)}lookupStyle(e,t,r=!1){let l="";return e&&((l=this.lookupInlineStyle(e,t))||((0,w.NF)(this._platformId)?r||(l=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(l=this._serverStylesheet.getStyleForElement(e,t)))),l?l.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(r=>{const l=e[r],c=Array.isArray(l)?l:[l];c.sort();for(let s of c)s=s?s+"":"",(0,w.NF)(this._platformId)||!this._serverModuleLoaded?(0,w.NF)(this._platformId)?t.style.setProperty(r,s):OL(t,r,s):this._serverStylesheet.addStyleToElement(t,r,s)})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(PL),i.LFG(Up),i.LFG(i.Lbi),i.LFG(_o))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function OL(n,a,e){a=a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const t=MS(n);t[a]=null!=e?e:"",function IL(n,a){let e="";for(const t in a)a[t]&&(e+=`${t}:${a[t]};`);n.setAttribute("style",e)}(n,t)}function MS(n){const a={},e=n.getAttribute("style");if(e){const t=e.split(/;+/g);for(let r=0;r0){const c=l.indexOf(":");if(-1===c)throw new Error(`Invalid CSS style: ${l}`);a[l.substr(0,c).trim()]=l.substr(c+1).trim()}}}return a}function gg(n,a){return(a&&a.priority||0)-(n&&n.priority||0)}function BL(n,a){return(n.priority||0)-(a.priority||0)}let qC=(()=>{class n{constructor(e,t,r){this._zone=e,this._platformId=t,this._document=r,this.source=new rn(new zu(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,r)=>{t.matches&&e.push(r)}),e}isActive(e){var t;const r=this.registry.get(e);return null!==(t=null==r?void 0:r.matches)&&void 0!==t?t:this.registerQuery(e).some(l=>l.matches)}observe(e,t=!1){if(e&&e.length){const r=this._observable$.pipe((0,Ft.h)(c=>!t||e.indexOf(c.mediaQuery)>-1)),l=new an.y(c=>{const s=this.registerQuery(e);if(s.length){const o=s.pop();s.forEach(d=>{c.next(d)}),this.source.next(o)}c.complete()});return(0,Ri.T)(l,r)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],r=[];return function NL(n,a){const e=n.filter(t=>!wS[t]);if(e.length>0){const t=e.join(", ");try{const r=a.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(a.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`)),a.head.appendChild(r),e.forEach(l=>wS[l]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(l=>{const c=o=>{this._zone.run(()=>this.source.next(new zu(o.matches,l)))};let s=this.registry.get(l);s||(s=this.buildMQL(l),s.addListener(c),this.pendingRemoveListenerFns.push(()=>s.removeListener(c)),this.registry.set(l,s)),s.matches&&r.push(new zu(!0,l))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function VL(n,a){return a&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,(0,w.NF)(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const wS={},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}],CS="(orientation: portrait) and (max-width: 599.98px)",vS="(orientation: landscape) and (max-width: 959.98px)",TS="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",xS="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",SS="(orientation: portrait) and (min-width: 840px)",ES="(orientation: landscape) and (min-width: 1280px)",oc={HANDSET:`${CS}, ${vS}`,TABLET:`${TS} , ${xS}`,WEB:`${SS}, ${ES} `,HANDSET_PORTRAIT:`${CS}`,TABLET_PORTRAIT:`${TS} `,WEB_PORTRAIT:`${SS}`,HANDSET_LANDSCAPE:`${vS}`,TABLET_LANDSCAPE:`${xS}`,WEB_LANDSCAPE:`${ES}`},FL=[{alias:"handset",priority:2e3,mediaQuery:oc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:oc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:oc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:oc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:oc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:oc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:oc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:oc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:oc.WEB_PORTRAIT,overlapping:!0}],jL=/(\.|-|_)/g;function qL(n){let a=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return a.toUpperCase()+e}const GL=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=(0,i.f3M)(jC),a=(0,i.f3M)(_o),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function UL(n,a=[]){const e={};return n.forEach(t=>{e[t.alias]=t}),a.forEach(t=>{e[t.alias]?function sc(n,...a){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of a)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 WL(n){return n.forEach(a=>{a.suffix||(a.suffix=function YL(n){return n.replace(jL,"|").split("|").map(qL).join("")}(a.alias),a.overlapping=!!a.overlapping)}),n}(Object.keys(e).map(t=>e[t]))}((a.disableDefaultBps?[]:zL).concat(a.addOrientationBps?FL:[]),e)}});let YC=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(BL)}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 r;let l=this.findByMap.get(e);return l||(l=null!==(r=this.items.find(t))&&void 0!==r?r:null,this.findByMap.set(e,l)),null!=l?l:null}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(GL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Gp="print",ZL={alias:Gp,mediaQuery:Gp,priority:1e3};let $L=(()=>{class n{constructor(e,t,r){this.breakpoints=e,this.layoutConfig=t,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new JL,this.deactivations=[]}withPrintQuery(e){return[...e,Gp]}isPrintEvent(e){return e.mediaQuery.startsWith(Gp)}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(gg)}updateEvent(e){var t;let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=null!==(t=null==r?void 0:r.mediaQuery)&&void 0!==t?t:""),yS(e,r)}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 zu(!0,Gp))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(r)}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 r=this.breakpoints.findByQuery(t.mediaQuery);if(r){const l=this.formerActivations&&this.formerActivations.includes(r),c=!this.formerActivations&&e.activatedBreakpoints.includes(r);(l||c)&&(this.deactivations.push(r),this.deactivations.sort(gg))}}}}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(YC),i.LFG(_o),i.LFG(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class JL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(a){return a.push(ZL),a.sort(gg),a.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(a){a&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===a.mediaQuery)&&(this.printBreakpoints=function XL(n){var a;return null!==(a=null==n?void 0:n.mediaQuery.startsWith(Gp))&&void 0!==a&&a}(a)?[a,...this.printBreakpoints]:[...this.printBreakpoints,a])}clear(){this.printBreakpoints=[]}}let tn=(()=>{class n{constructor(e,t,r){this.matchMedia=e,this.breakpoints=t,this.hook=r,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 Ie.x,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=yS(e,t);const r=this.activatedBreakpoints.indexOf(t);e.matches&&-1===r?(this._activatedBreakpoints.push(t),this._activatedBreakpoints.sort(gg),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(gg),this.updateStyles())}}init(e,t,r,l,c=[]){DS(this.updateMap,e,t,r),DS(this.clearMap,e,t,l),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,c)}getValue(e,t,r){const l=this.elementMap.get(e);if(l){const c=void 0!==r?l.get(r):this.getActivatedValues(l,t);if(c)return c.get(t)}}hasValue(e,t){const r=this.elementMap.get(e);if(r){const l=this.getActivatedValues(r,t);if(l)return void 0!==l.get(t)||!1}return!1}setValue(e,t,r,l){var c;let s=this.elementMap.get(e);if(s){const d=(null!==(c=s.get(l))&&void 0!==c?c:new Map).set(t,r);s.set(l,d),this.elementMap.set(e,s)}else s=(new Map).set(l,(new Map).set(t,r)),this.elementMap.set(e,s);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe((0,Ft.h)(r=>r.element===e&&r.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const r=new Set(this.elementKeyMap.get(t));let l=this.getActivatedValues(e);l&&l.forEach((c,s)=>{this.updateElement(t,s,c),r.delete(s)}),r.forEach(c=>{if(l=this.getActivatedValues(e,c),l){const s=l.get(c);this.updateElement(t,c,s)}else this.clearElement(t,c)})})}clearElement(e,t){const r=this.clearMap.get(e);if(r){const l=r.get(t);l&&(l(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,r){const l=this.updateMap.get(e);if(l){const c=l.get(t);c&&(c(r),this.subject.next({element:e,key:t,value:r}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(l=>l.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((l,c)=>r.delete(c)),this.elementMap.delete(e))}triggerUpdate(e,t){const r=this.elementMap.get(e);if(r){const l=this.getActivatedValues(r,t);l&&(t?this.updateElement(e,t,l.get(t)):l.forEach((c,s)=>this.updateElement(e,s,c)))}}buildElementKeyMap(e,t){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(t)}watchExtraTriggers(e,t,r){if(r&&r.length){let l=this.watcherMap.get(e);if(l||(l=new Map,this.watcherMap.set(e,l)),!l.get(t)){const s=(0,Ri.T)(...r).subscribe(()=>{const o=this.getValue(e,t);this.updateElement(e,t,o)});l.set(t,s)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let l=0;lt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((0,Dt.b)(this.hook.interceptEvents(this)),(0,Ft.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(qC),i.LFG(YC),i.LFG($L))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DS(n,a,e,t){var r;if(void 0!==t){const l=null!==(r=n.get(a))&&void 0!==r?r:new Map;l.set(e,t),n.set(a,l)}}let dn=(()=>{class n{constructor(e,t,r,l){this.elementRef=e,this.styleBuilder=t,this.styler=r,this.marshal=l,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Ie.x,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 r=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,r)}})}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 r=this.styleBuilder,l=r.shouldCache;let c=this.styleCache.get(e);(!c||!l)&&(c=r.buildStyles(e,t),l&&this.styleCache.set(e,c)),this.mru=Object.assign({},c),this.applyStyleToElement(c),r.sideEffect(e,c,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[r,l]=this.styler.getFlowDirection(e);if(!l&&t){const c=_S(r);this.styler.applyStyleToElements(c,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,r=this.nativeElement){this.styler.applyStyleToElement(r,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(Ui),i.Y36(tn))},n.\u0275dir=i.lG2({type:n,features:[i.TTD]}),n})();class hk{constructor(a,e,t=!0){this.key=a,this.value=e,this.key=t?a.replace(/['"]/g,"").trim():a.trim(),this.value=t?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function PS(n){let a=typeof n;return"object"===a?n.constructor===Array?"array":n.constructor===Set?"set":"object":a}function OS(n){const[a,...e]=n.split(":");return new hk(a,e.join(":"))}function IS(n,a){return a.key&&(n[a.key]=a.value),n}let mk=(()=>{class n extends dn{constructor(e,t,r,l,c,s,o,d,u){var h;super(e,null,t,r),this.sanitizer=l,this.ngStyleInstance=o,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new w.PC(e,c,s)),this.init();const f=null!==(h=this.nativeElement.getAttribute("style"))&&void 0!==h?h:"";this.fallbackStyles=this.buildStyleMap(f),this.isServer=d&&(0,w.PM)(u)}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=r=>{var l;return null!==(l=this.sanitizer.sanitize(i.q3G.STYLE,r))&&void 0!==l?l:""};if(e)switch(PS(e)){case"string":return BS(function pk(n,a=";"){return String(n).trim().split(a).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return BS(e,t);default:return function RS(n,a){let e=[];return"set"===PS(n)?n.forEach(t=>e.push(t)):Object.keys(n).forEach(t=>{e.push(`${t}:${n[t]}`)}),function fk(n,a){return n.map(OS).filter(t=>!!t).map(t=>(a&&(t.value=a(t.value)),t)).reduce(IS,{})}(e,a)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(tn),i.Y36(mr),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(w.PC,10),i.Y36(Up),i.Y36(i.Lbi))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const gk=["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 vA=(()=>{class n extends mk{constructor(){super(...arguments),this.inputs=gk}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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 BS(n,a){return n.map(OS).filter(t=>!!t).map(t=>(a&&(t.value=a(t.value)),t)).reduce(IS,{})}let NS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC]]}),n})();const UC=function(n){return{color:n}};function _k(n,a){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,UC,e.iconColor))}}function bk(n,a){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 Ak=(()=>{class n{constructor(e,t,r,l){this.authService=e,this.authzResolverService=t,this.notificator=r,this.translateService=l}redirectToUrl(){window.open(this.url,"_blank")}onLogOut(){this.authService.logout()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gd),i.Y36(Zi),i.Y36(ir),i.Y36(Le))},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,_k,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,bk,3,3,"button",7),i.qZA()),2&e){const r=i.MAs(12);i.Q6J("ngIf",t.url),i.xp6(5),i.Oqu(t.label),i.xp6(1),i.Q6J("matMenuTriggerFor",r),i.xp6(1),i.Q6J("ngStyle",i.VKq(11,UC,t.iconColor)),i.xp6(2),i.Q6J("ngStyle",i.VKq(13,UC,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:[w.O5,It,ng,tr,Wi,w.PC,hC,tc],pipes:[me],styles:["@media (max-width: 991px){.no-left-padding[_ngcontent-%COMP%]{padding-left:0}}"]}),n})();const VS=function(n){return{color:n}};function yk(n,a){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,VS,e.iconColor))}}function Mk(n,a){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 wk=function(n){return{background:n}},Ck=function(){return[]},vk=function(){return["/"]};let Tk=(()=>{class n{constructor(e,t,r,l){this.storeService=e,this.sanitizer=t,this.translate=r,this.otherApplicationService=l,this.sidenavToggle=new i.vpe,this.hideToggle=!1,this.disableLogo=!1,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.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($t),i.Y36(mr),i.Y36(Le),i.Y36(lA))},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"],["aria-label","Menu","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"],["aria-label","Menu","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,yk,3,3,"button",2),i._UZ(3,"a",3),i.TgZ(4,"p",4),i._uU(5),i.qZA(),i.qZA(),i.YNc(6,Mk,7,0,"div",5),i._UZ(7,"perun-web-apps-header-menu",6),i.qZA()),2&e&&(i.Q6J("ngStyle",i.VKq(13,wk,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,Ck):i.DdM(16,vk)),i.xp6(1),i.Q6J("ngStyle",i.VKq(17,VS,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:[EL,w.PC,vA,w.O5,It,Wi,na,Ak],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})();var zS=T(9718);const TA=["*"],xk=["content"];function Sk(n,a){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 Ek(n,a){1&n&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const Dk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Hk=["mat-drawer","mat-drawer-content","*"];function Lk(n,a){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 kk(n,a){1&n&&(i.TgZ(0,"mat-sidenav-content"),i.Hsn(1,2),i.qZA())}const Pk=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Rk=["mat-sidenav","mat-sidenav-content","*"],FS={transformDrawer:ti("transform",[St("open, open-instant",Ne({transform:"none",visibility:"visible"})),St("void",Ne({"box-shadow":"none",visibility:"hidden"})),vt("void => open-instant",_t("0ms")),vt("void <=> open, open-instant => void",_t("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Ik=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Bk(){return!1}}),GC=new i.OlP("MAT_DRAWER_CONTAINER");let xA=(()=>{class n extends Qo{constructor(e,t,r,l,c){super(r,l,c),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)(()=>qS)),i.Y36(i.SBq),i.Y36(Xo),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:Qo,useExisting:n}]),i.qOj],ngContentSelectors:TA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),jS=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=l,this._ngZone=c,this._interactivityChecker=s,this._doc=o,this._container=d,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new Ie.x,this._animationEnd=new Ie.x,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,Ft.h)(u=>u),(0,Ct.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,Ft.h)(u=>u.fromState!==u.toState&&0===u.toState.indexOf("open")),(0,zS.h)(void 0)),this._closedStream=this.openedChange.pipe((0,Ft.h)(u=>!u),(0,Ct.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,Ft.h)(u=>u.fromState!==u.toState&&"void"===u.toState),(0,zS.h)(void 0)),this._destroyed=new Ie.x,this.onPositionChanged=new i.vpe,this._modeChanged=new Ie.x,this.openedChange.subscribe(u=>{u?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Na(this._elementRef.nativeElement,"keydown").pipe((0,Ft.h)(u=>27===u.keyCode&&!this.disableClose&&!Ln(u)),dt(this._destroyed)).subscribe(u=>this._ngZone.run(()=>{this.close(),u.stopPropagation(),u.preventDefault()}))}),this._animationEnd.pipe(Cr((u,h)=>u.fromState===h.fromState&&u.toState===h.toState)).subscribe(u=>{const{fromState:h,toState:f}=u;(0===f.indexOf("open")&&"void"===h||"void"===f&&0===h.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=$e(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=$e(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle($e(e))}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,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 r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(l=>{this.openedChange.pipe((0,Ut.q)(1)).subscribe(c=>l(c?"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,r=t.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.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(Ph),i.Y36(oa),i.Y36(wi),i.Y36(i.R0b),i.Y36(Wd),i.Y36(w.K0,8),i.Y36(GC,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,t){if(1&e&&i.Gf(xk,5),2&e){let r;i.iGM(r=i.CRH())&&(t._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&i.WFA("@transform.start",function(l){return t._animationStarted.next(l)})("@transform.done",function(l){return t._animationEnd.next(l)}),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:TA,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:[Qo],encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),n})(),qS=(()=>{class n{constructor(e,t,r,l,c,s=!1,o){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=l,this._animationMode=o,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new Ie.x,this._doCheckSubject=new Ie.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new Ie.x,e&&e.change.pipe(dt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),c.change().pipe(dt(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=$e(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:$e(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(hi(this._allDrawers),dt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(hi(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,Dh.b)(10),dt(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 r=this._left._getWidth();e+=r,t-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();t+=r,e-=r}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,Ft.h)(t=>t.fromState!==t.toState),dt(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(dt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(dt(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ut.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(dt((0,Ri.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_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(Fn,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(so),i.Y36(Ik),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,xA,5),i.Suo(r,jS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(xA,5),2&e){let r;i.iGM(r=i.CRH())&&(t._userContent=r.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:GC,useExisting:n}])],ngContentSelectors:Hk,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(Dk),i.YNc(0,Sk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Ek,2,0,"mat-drawer-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[xA,w.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[style*="visibility: hidden"]{display:none}.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})(),ZC=(()=>{class n extends xA{constructor(e,t,r,l,c){super(e,t,r,l,c)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>WS)),i.Y36(i.SBq),i.Y36(Xo),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:Qo,useExisting:n}]),i.qOj],ngContentSelectors:TA,decls:1,vars:0,template:function(e,t){1&e&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),n})(),YS=(()=>{class n extends jS{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=$e(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Xi(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Xi(e)}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:TA,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:[Qo],encapsulation:2,data:{animation:[FS.transformDrawer]},changeDetection:0}),n})(),WS=(()=>{class n extends qS{}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,ZC,5),i.Suo(r,YS,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._content=l.first),i.iGM(l=i.CRH())&&(t._allDrawers=l)}},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:GC,useExisting:n}]),i.qOj],ngContentSelectors:Rk,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(Pk),i.YNc(0,Lk,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,kk,2,0,"mat-sidenav-content",1)),2&e&&(i.Q6J("ngIf",t.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!t._content))},directives:[ZC,w.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[style*="visibility: hidden"]{display:none}.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})(),$C=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,za],za,ut]}),n})(),Nk=(()=>{class n{constructor(e){this.store=e}getSideMenuItems(){const e=this.store.get("displayed_tabs"),t=[];return e.forEach(l=>{switch(l){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"consents":t.push({label:"MENU_ITEMS.CONSENTS",icon:"fact_check",link:"/profile/consents",activatedRegex:"^/profile/consents",tabName:"consents"});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(l=>{const c={icon:"insert_link",link:l.url,activatedRegex:"^/profile/external",tabName:"external",external:!0};this.store.get("supported_languages").forEach(o=>{var d;c[`label_${o}`]=null!==(d=String(l[`label_${o}`]))&&void 0!==d?d:l.label_en}),t.push(c)}),t}}return n.\u0275fac=function(e){return new(e||n)(i.LFG($t))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),JC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})();const XC=["*"],Vk=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],zk=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],GS=Oa(pa(class{})),Wk=pa(class{}),ZS=new i.OlP("MatList"),$S=new i.OlP("MatNavList");let Uk=(()=>{class n extends GS{constructor(){super(...arguments),this._stateChanges=new Ie.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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:$S,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:XC,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),QC=(()=>{class n extends GS{constructor(e){super(),this._elementRef=e,this._stateChanges=new Ie.x,"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:ZS,useExisting:n}]),i.qOj,i.TTD],ngContentSelectors:XC,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}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border: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 .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})(),JS=(()=>{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})(),XS=(()=>{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})(),SA=(()=>{class n extends Wk{constructor(e,t,r,l){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new Ie.x,this._disabled=!1,this._isInteractiveList=!!(r||l&&"action-list"===l._getListType()),this._list=r||l;const c=this._getHostElement();"button"===c.nodeName.toLowerCase()&&!c.hasAttribute("type")&&c.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(dt(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=$e(e)}ngAfterContentInit(){!function z0(n,a,e="mat"){n.changes.pipe(hi(n)).subscribe(({length:t})=>{ql(a,`${e}-2-line`,!1),ql(a,`${e}-3-line`,!1),ql(a,`${e}-multi-line`,!1),2===t||3===t?ql(a,`${e}-${t}-line`,!0):t>3&&ql(a,`${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($S,8),i.Y36(ZS,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,JS,5),i.Suo(r,XS,5),i.Suo(r,Gc,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._avatar=l.first),i.iGM(l=i.CRH())&&(t._icon=l.first),i.iGM(l=i.CRH())&&(t._lines=l)}},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:zk,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(Vk),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:[hr],encapsulation:2,changeDetection:0}),n})(),KC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Zc,Tr,ut,su,w.ez],Zc,ut,su,JC]}),n})(),KS=(()=>{class n{transform(e,t,r){return e[`${r}_${t}`]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"localisedText",type:n,pure:!0}),n})();const Qk=function(n){return{color:n}};function Kk(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",2),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return l.external?c.goToURL(l.link):c.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=a.$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,Qk,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 eP=(()=>{class n{constructor(e,t,r,l){this.sideMenuItemService=e,this.storeService=t,this.router=r,this.translateService=l,this.items=[],this.lang="en",this.textColor=this.storeService.get("theme","sidemenu_text_color"),this.currentUrl=r.url,r.events.subscribe(c=>{c instanceof ne&&(this.currentUrl=c.url)})}ngOnInit(){this.translateService.onLangChange.subscribe(t=>{const{lang:r}=t;this.lang=r});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(Nk),i.Y36($t),i.Y36(Mi),i.Y36(Le))},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,Kk,8,18,"mat-list-item",1),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[Uk,w.sg,SA,hr,w.PC,vA,Ha,Wi],pipes:[KS,me,ii],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 tP(n,a){if(1&n&&(i.TgZ(0,"span",1),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("routerLink",e.routerLink),i.xp6(1),i.Oqu(e.label)}}let iP=(()=>{class n{constructor(e,t,r){this.router=e,this.activatedRoute=t,this.translate=r,this.home={label:"Home",routerLink:"profile"},this.menuItems=[]}ngOnInit(){this.router.events.pipe((0,Ft.h)(e=>e instanceof ne)).subscribe(()=>{this.menuItems=[],this.createBreadcrumbs(this.activatedRoute.root)})}createBreadcrumbs(e,t=""){const r=e.children;0===r.length||"service-access"===r[0].snapshot.routeConfig.path||r.forEach(l=>{const c=l.snapshot.url.map(o=>o.path).join("/");""!==c&&(t+=`/${c}`);const s=this.translate.instant(l.snapshot.data[n.ROUTE_DATA_BREADCRUMB]);return s&&(!this.menuItems[this.menuItems.length-1]||s!==this.menuItems[this.menuItems.length-1].label)&&this.menuItems.push({label:s,routerLink:t}),this.createBreadcrumbs(l,t)})}}return n.ROUTE_DATA_BREADCRUMB="breadcrumb",n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(Jn),i.Y36(Le))},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,tP,3,2,"span",0),2&e&&i.Q6J("ngForOf",t.menuItems)},directives:[w.sg,na],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 nP(n,a){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 rP=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.translate=t,this.notificator=r,this.rtMessages=l,this.storeService=c,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")+String(e.ticketNumber))),this.dialogRef.close()})}getFullEmailBody(){return this.message.concat("\n ","------------------------\n ","Perun instance: ",this.instanceName,"\n ","Sended from new Perun Gui, version: ",T(4147).i8)}close(){this.dialogRef.close()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(Le),i.Y36(ir),i.Y36(fn),i.Y36($t))},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(l){return t.subject=l}),i.qZA(),i.YNc(10,nP,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(l){return t.message=l}),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 r=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",r.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",r.invalid),i.xp6(1),i.hij(" ",i.lcZ(28,23,"SHARED_LIB.PERUN.COMPONENTS.REPORT_ISSUE.SEND")," ")}},directives:[kn,Pn,ln,Vr,Rn,bn,Fr,Vi,fs,w.O5,ed,B_,vn,It],pipes:[me],styles:[".dialog-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]}),n})(),aP=(()=>{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})(),sP=(()=>{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 oP(n,a){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 lP(n,a){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 cP(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,oP,4,7,"a",11),i.ALo(2,"localisedLink"),i.YNc(3,lP,3,3,"span",12),i.ALo(4,"localisedLink"),i.qZA()),2&n){const e=a.$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 dP=function(n){return{"min-height":n}};function uP(n,a){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,cP,5,8,"div",5),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,dP,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}const _d=function(n){return{color:n}};function hP(n,a){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,_d,t.linksTextColor)),i.xp6(1),i.hij(" ",e.icon," ")}}function pP(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"span",21),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw(3).openDialog(r.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,_d,t.linksTextColor)),i.xp6(1),i.hij("",i.Dn7(2,2,e,t.language,"label")," ")}}function fP(n,a){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,_d,t.linksTextColor)),i.xp6(2),i.Oqu(i.Dn7(3,6,e,t.language,"label"))}}function mP(n,a){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,_d,t.linksTextColor)),i.xp6(1),i.Oqu(i.Dn7(2,2,e,t.language,"label"))}}function gP(n,a){if(1&n&&(i.TgZ(0,"div",16),i.YNc(1,hP,2,4,"i",17),i.YNc(2,pP,3,8,"span",18),i.YNc(3,fP,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=a.$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 _P=function(n){return{height:n}};function bP(n,a){if(1&n&&(i.TgZ(0,"div",10),i.YNc(1,gP,7,10,"div",15),i.qZA()),2&n){const e=i.oxw().$implicit,t=i.oxw();i.Q6J("ngStyle",i.VKq(2,_P,t.columnContentHeight+"px")),i.xp6(1),i.Q6J("ngForOf",e.elements)}}function AP(n,a){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,uP,2,4,"div",9),i.YNc(5,bP,2,4,"div",9),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.ekj("my-auto",t.containsLogos),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,_d,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 yP(n,a){if(1&n&&(i.TgZ(0,"span"),i.TgZ(1,"a",6),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=a.index,r=i.oxw();i.xp6(1),i.Q6J("href",e.url,i.LSH)("ngStyle",i.VKq(3,_d,r.copyrightTextColor)),i.xp6(1),i.Oqu(t?", "+e.name:e.name)}}const MP=function(n){return{background:n}};let eE=(()=>{class n{constructor(e,t,r){this.storeService=e,this.translateService=t,this.dialog=r,this.copyrightTextColor=this.storeService.get("theme","footer_copyright_text_color"),this.footerColumns=[],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=T(4147).i8,this.footerColumns=this.storeService.get("footer","columns");for(const e of this.footerColumns)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=Ei();"reportIssue"===e&&(t.width="550px",this.dialog.open(rP,t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Le),i.Y36(en))},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,AP,6,12,"div",2),i.qZA(),i._UZ(3,"hr",3),i.TgZ(4,"div",4),i._uU(5),i.YNc(6,yP,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,MP,t.bgColor)),i.xp6(2),i.Q6J("ngForOf",t.footerColumns),i.xp6(2),i.Q6J("ngStyle",i.VKq(10,_d,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,_d,t.copyrightTextColor)),i.xp6(1),i.Oqu(t.version))},directives:[w.PC,w.sg,w.O5],pipes:[KS,aP,sP],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 wP(n,a){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 CP(n,a){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)}}const vP=function(n){return{color:n}};function TP(n,a){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,vP,e.textColor)),i.xp6(1),i.hij(" ",e.headerTitle," ")}}const xP=function(n,a){return{background:n,color:a}},SP=function(n,a){return{"min-height":n,"background-color":a}};let EP=(()=>{class n{constructor(e,t,r,l){this.storeService=e,this.sanitizer=t,this.preferredLangService=r,this.translateService=l,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($t),i.Y36(mr),i.Y36(TC),i.Y36(Le))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-login-screen-base"]],inputs:{application:"application",headerTitle:"headerTitle"},decls:10,vars:11,consts:[["id","login-nav",1,"mat-elevation-z3",3,"ngStyle"],["class","mt-auto mb-auto",4,"ngIf"],["class","display-flex-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"],[1,"display-flex-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,wP,2,1,"div",1),i.YNc(2,CP,3,1,"div",2),i.YNc(3,TP,2,4,"p",3),i.qZA(),i.TgZ(4,"div",4),i.TgZ(5,"div",5),i.TgZ(6,"div",6),i._UZ(7,"router-outlet"),i.qZA(),i.TgZ(8,"div",7),i._UZ(9,"perun-web-apps-footer"),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.Q6J("ngStyle",i.WLB(5,xP,t.headerBackgroundColor,t.headerTextColor)),i.xp6(1),i.Q6J("ngIf","admin-gui"===t.application||"user-profile"===t.application||"consolidator"===t.application),i.xp6(1),i.Q6J("ngIf","publications"===t.application),i.xp6(1),i.Q6J("ngIf",!!t.headerTitle),i.xp6(2),i.Q6J("ngStyle",i.WLB(8,SP,t.getContentInnerMinHeight(),t.contentBackgroundColor)))},directives:[w.PC,w.O5,Wi,Ar,eE],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}.display-flex-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]}),n})();const DP=["footer"],tE=function(n){return{background:n}},HP=function(n){return{"min-height":n}};function LP(n,a){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,tE,t.sideMenuBgColor))("opened",!t.isMobile()),i.xp6(2),i.Q6J("sideNav",e),i.xp6(1),i.Q6J("ngStyle",i.VKq(8,tE,t.contentBackgroundColor)),i.xp6(1),i.Q6J("ngStyle",i.VKq(10,HP,t.contentHeight))}}function kP(n,a){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 PP=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this.store=e,this.attributesManagerService=t,this.translateService=r,this.initAuth=l,this.changeDetector=c,this.preferredLangService=s,this.titleService=o,this.document=d,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()}getScreenSize(){this.sidebarMode=this.isMobile()?"over":"side"}ngOnInit(){this.translateService.onLangChange.subscribe(e=>{const t=this.store.get("document_title",e.lang);this.titleService.setTitle(t),this.document.documentElement.lang=e.lang}),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=>{var t;const r=e.find(s=>"preferredLanguage"===s.friendlyName),l=null!==(t=null==r?void 0:r.value)&&void 0!==t?t:null,c=this.preferredLangService.getPreferredLanguage(l);this.translateService.use(c)})}isMobile(){return window.innerWidth<=n.minWidth}isServiceLogin(){return!!sessionStorage.getItem("baLogout")}ngAfterViewInit(){var e,t,r,l;const c=null!==(l=null===(r=null===(t=null===(e=this.footer)||void 0===e?void 0:e.nativeElement)||void 0===t?void 0:t.offsetHeight)||void 0===r?void 0:r.toString())&&void 0!==l?l:"0";this.contentHeight="calc(100vh - 84px - "+c+"px)",this.changeDetector.detectChanges()}}return n.minWidth=992,n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(Le),i.Y36(CC),i.Y36(i.sBO),i.Y36(TC),i.Y36(lt),i.Y36(w.K0))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-root"]],viewQuery:function(e,t){if(1&e&&i.Gf(DP,5),2&e){let r;i.iGM(r=i.CRH())&&(t.footer=r.first)}},hostBindings:function(e,t){1&e&&i.NdJ("resize",function(l){return t.getScreenSize(l)},!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,LP,14,12,"ng-template",0),i.YNc(1,kP,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:[w.O5,CL,Tk,WS,YS,w.PC,vA,eP,ZC,iP,Ar,eE,EP],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 iE=T(1158);function RP(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",15),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().index;return i.oxw().removeValue(r)}),i.TgZ(1,"mat-icon"),i._uU(2," indeterminate_check_box "),i.qZA(),i.qZA()}}function OP(n,a){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 l=i.CHM(e).index,c=i.oxw();return c.readonly&&c.attribute.displayName&&c.showValue(c.keys[l],c.attribute.displayName)})("ngModelChange",function(r){const c=i.CHM(e).index;return i.oxw().keys[c]=r}),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 l=i.CHM(e).$implicit,c=i.oxw();return c.readonly&&void 0!==c.attribute.displayName&&c.showValue(l,c.attribute.displayName)})("ngModelChange",function(r){const c=i.CHM(e).index;return i.oxw().values[c]=r}),i.qZA(),i.qZA(),i.YNc(7,RP,3,0,"button",14),i.qZA()}if(2&n){const e=a.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 IP(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function BP(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function NP(n,a){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,IP,2,0,"mat-icon",17),i.YNc(2,BP,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 VP(n,a){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 zP=(()=>{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=new Map(Object.entries(this.attribute.value));for(const[t,r]of e.entries())this.keys.push(t),this.values.push(r)}this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Nu(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:[Hm,Mu,lo,w.sg,ln,Rn,bn,Fr,Vi,fs,w.O5,It,Wi,tr],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 FP=["input"],jP=function(n){return{enterDuration:n}},qP=["*"],YP=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:nE});function nE(){return{color:"accent",clickAction:"check-indeterminate"}}let WP=0;const rE=nE(),UP={provide:Kn,useExisting:(0,i.Gpc)(()=>lc),multi:!0};class GP{}const ZP=Jo(Ia(pa(Oa(class{constructor(n){this._elementRef=n}}))));let lc=(()=>{class n extends ZP{constructor(e,t,r,l,c,s,o){super(e),this._changeDetectorRef=t,this._focusMonitor=r,this._ngZone=l,this._animationMode=s,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++WP,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||rE,this.color=this.defaultColor=this._options.color||rE.color,this.tabIndex=parseInt(c)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=$e(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){const t=$e(e);t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=$e(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=$e(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,r=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(l)},1e3)})}}_emitChangeEvent(){const e=new GP;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,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(e){var t;const r=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,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 r="";switch(e){case 0:if(1===t)r="unchecked-checked";else{if(3!=t)return"";r="unchecked-indeterminate"}break;case 2:r=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_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(oa),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(qn,8),i.Y36(YP,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(i.Gf(FP,5),i.Gf(hr,5)),2&e){let r;i.iGM(r=i.CRH())&&(t._inputElement=r.first),i.iGM(r=i.CRH())&&(t.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",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([UP]),i.qOj],ngContentSelectors:qP,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","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(l){return t._onInteractionEvent(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1),l=i.MAs(13);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!l.textContent||!l.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",r)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,jP,"NoopAnimations"===t._animationMode?0:150))}},directives:[hr,Hh],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;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-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})(),aE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),_g=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Tr,ut,Bc,aE],ut,aE]}),n})(),ev=(()=>{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 XP(n,a){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(r){return i.CHM(e),i.oxw().attribute.value=r}),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 QP(n,a){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 KP=(()=>{class n{constructor(){this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Nu(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,XP,2,4,"mat-checkbox",0),i.YNc(2,QP,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:[w.O5,lc,Vi,fs,Vr],pipes:[ev],styles:[""]}),n})();function tv(n,a,e){for(let t in a)if(a.hasOwnProperty(t)){const r=a[t];r?n.setProperty(t,r,(null==e?void 0:e.has(t))?"important":""):n.removeProperty(t)}return n}function Zp(n,a){const e=a?"":"none";tv(n.style,{"touch-action":a?"":"none","-webkit-user-drag":a?"":"none","-webkit-tap-highlight-color":a?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function sE(n,a,e){tv(n.style,{position:a?"":"fixed",top:a?"":"0",opacity:a?"":"0",left:a?"":"-999em"},e)}function EA(n,a){return a&&"none"!=a?n+" "+a:n}function oE(n){const a=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*a}function iv(n,a){return n.getPropertyValue(a).split(",").map(t=>t.trim())}function nv(n){const a=n.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,height:a.height,x:a.x,y:a.y}}function rv(n,a,e){const{top:t,bottom:r,left:l,right:c}=n;return e>=t&&e<=r&&a>=l&&a<=c}function bg(n,a,e){n.top+=a,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function lE(n,a,e,t){const{top:r,right:l,bottom:c,left:s,width:o,height:d}=n,u=o*a,h=d*a;return t>r-h&&ts-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:nv(e)})})}handleScroll(a){const e=sa(a),t=this.positions.get(e);if(!t)return null;const r=t.scrollPosition;let l,c;if(e===this._document){const d=this.getViewportScrollPosition();l=d.top,c=d.left}else l=e.scrollTop,c=e.scrollLeft;const s=r.top-l,o=r.left-c;return this.positions.forEach((d,u)=>{d.clientRect&&e!==u&&e.contains(u)&&bg(d.clientRect,s,o)}),r.top=l,r.left=c,{top:s,left:o}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function dE(n){const a=n.cloneNode(!0),e=a.querySelectorAll("[id]"),t=n.nodeName.toLowerCase();a.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const o=this._getTargetHandle(s);o&&!this._disabledHandles.has(o)&&!this.disabled&&this._initializeDragSequence(o,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{const o=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging){if(Math.abs(o.x-this._pickupPositionOnPage.x)+Math.abs(o.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const b=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),N=this._dropContainer;if(!b)return void this._endDragSequence(s);(!N||!N.isDragging()&&!N.isReceiving())&&(s.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(s)))}return}s.preventDefault();const d=this._getConstrainedPointerPosition(o);if(this._hasMoved=!0,this._lastKnownPointerPosition=o,this._updatePointerDirectionDelta(d),this._dropContainer)this._updateActiveDropContainer(d,o);else{const u=this._activeTransform;u.x=d.x-this._pickupPositionOnPage.x+this._passiveTransform.x,u.y=d.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(u.x,u.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:d,event:s,distance:this._getDragDistance(d),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){const o=this._getTargetHandle(s);o&&!this._disabledHandles.has(o)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(a).withParent(e.parentDragRef||null),this._parentPositions=new cE(t),c.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(a){const e=$e(a);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Zp(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(a){this._handles=a.map(t=>Qi(t)),this._handles.forEach(t=>Zp(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(a){return this._previewTemplate=a,this}withPlaceholderTemplate(a){return this._placeholderTemplate=a,this}withRootElement(a){const e=Qi(a);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,DA),e.addEventListener("touchstart",this._pointerDown,fE),e.addEventListener("dragstart",this._nativeDragStart,DA)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(a){return this._boundaryElement=a?Qi(a):null,this._resizeSubscription.unsubscribe(),a&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(a){return this._parentDragRef=a,this}dispose(){var a,e;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(a=this._rootElement)||void 0===a||a.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(a){!this._disabledHandles.has(a)&&this._handles.indexOf(a)>-1&&(this._disabledHandles.add(a),Zp(a,!0))}enableHandle(a){this._disabledHandles.has(a)&&(this._disabledHandles.delete(a),Zp(a,this.disabled))}withDirection(a){return this._direction=a,this}_withDropContainer(a){this._dropContainer=a}getFreeDragPosition(){const a=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:a.x,y:a.y}}setFreeDragPosition(a){return this._activeTransform={x:0,y:0},this._passiveTransform.x=a.x,this._passiveTransform.y=a.y,this._dropContainer||this._applyRootElementTransform(a.x,a.y),this}withPreviewContainer(a){return this._previewContainer=a,this}_sortFromLastPointerPosition(){const a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var a,e;null===(a=this._preview)||void 0===a||a.remove(),null===(e=this._previewRef)||void 0===e||e.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var a,e;null===(a=this._placeholder)||void 0===a||a.remove(),null===(e=this._placeholderRef)||void 0===e||e.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(a){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(a),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(a);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(a){Ag(a)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,r=t.parentNode,l=this._placeholder=this._createPlaceholderElement(),c=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();r.insertBefore(c,t),this._initialTransform=t.style.transform||"",this._preview=this._createPreviewElement(),sE(t,!1,av),this._document.body.appendChild(r.replaceChild(l,t)),this._getPreviewInsertionPoint(r,s).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(a,e){this._parentDragRef&&e.stopPropagation();const t=this.isDragging(),r=Ag(e),l=!r&&0!==e.button,c=this._rootElement,s=sa(e),o=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),d=r?Wf(e):Yf(e);if(s&&s.draggable&&"mousedown"===e.type&&e.preventDefault(),t||l||o||d)return;if(this._handles.length){const f=c.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=nv(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(a,e);const h=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:h.x,y:h.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(a){sE(this._rootElement,!0,av),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(a),l=this._getDragDistance(r),c=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:l,dropPoint:r}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:l,dropPoint:r}),e.drop(this,t,this._initialIndex,this._initialContainer,c,l,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:a,y:e},{x:t,y:r}){let l=this._initialContainer._getSiblingContainerFromPosition(this,a,e);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(a,e)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,a,e,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,r),this._dropContainer._sortItem(this,a,e,this._pointerDirectionDelta),this._applyPreviewTransform(a-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const a=this._previewTemplate,e=this.previewClass,t=a?a.template:null;let r;if(t&&a){const l=a.matchSize?this._rootElement.getBoundingClientRect():null,c=a.viewContainer.createEmbeddedView(t,a.context);c.detectChanges(),r=gE(c,this._document),this._previewRef=c,a.matchSize?_E(r,l):r.style.transform=HA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const l=this._rootElement;r=dE(l),_E(r,l.getBoundingClientRect()),this._initialTransform&&(r.style.transform=this._initialTransform)}return tv(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},av),Zp(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(l=>r.classList.add(l)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const a=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(a.left,a.top);const e=function tR(n){const a=getComputedStyle(n),e=iv(a,"transition-property"),t=e.find(s=>"transform"===s||"all"===s);if(!t)return 0;const r=e.indexOf(t),l=iv(a,"transition-duration"),c=iv(a,"transition-delay");return oE(l[r])+oE(c[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const r=c=>{var s;(!c||sa(c)===this._preview&&"transform"===c.propertyName)&&(null===(s=this._preview)||void 0===s||s.removeEventListener("transitionend",r),t(),clearTimeout(l))},l=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const a=this._placeholderTemplate,e=a?a.template:null;let t;return e?(this._placeholderRef=a.viewContainer.createEmbeddedView(e,a.context),this._placeholderRef.detectChanges(),t=gE(this._placeholderRef,this._document)):t=dE(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(a,e){const t=this._rootElement.getBoundingClientRect(),r=a===this._rootElement?null:a,l=r?r.getBoundingClientRect():t,c=Ag(e)?e.targetTouches[0]:e,s=this._getViewportScrollPosition();return{x:l.left-t.left+(c.pageX-l.left-s.left),y:l.top-t.top+(c.pageY-l.top-s.top)}}_getPointerPositionOnPage(a){const e=this._getViewportScrollPosition(),t=Ag(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a,r=t.pageX-e.left,l=t.pageY-e.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=l,s.matrixTransform(c.inverse())}}return{x:r,y:l}}_getConstrainedPointerPosition(a){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:t,y:r}=this.constrainPosition?this.constrainPosition(a,this):a;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(t=this._pickupPositionOnPage.x),this._boundaryRect){const{x:l,y:c}=this._pickupPositionInElement,s=this._boundaryRect,{width:o,height:d}=this._getPreviewRect(),u=s.top+c,h=s.bottom-(d-c);t=mE(t,s.left+l,s.right-(o-l)),r=mE(r,u,h)}return{x:t,y:r}}_updatePointerDirectionDelta(a){const{x:e,y:t}=a,r=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,c=Math.abs(e-l.x),s=Math.abs(t-l.y);return c>this._config.pointerDirectionChangeThreshold&&(r.x=e>l.x?1:-1,l.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=t>l.y?1:-1,l.y=t),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Zp(this._rootElement,a))}_removeRootElementListeners(a){a.removeEventListener("mousedown",this._pointerDown,DA),a.removeEventListener("touchstart",this._pointerDown,fE),a.removeEventListener("dragstart",this._nativeDragStart,DA)}_applyRootElementTransform(a,e){const t=HA(a,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=EA(t,this._initialTransform)}_applyPreviewTransform(a,e){var t;const r=(null===(t=this._previewTemplate)||void 0===t?void 0:t.template)?void 0:this._initialTransform,l=HA(a,e);this._preview.style.transform=EA(l,r)}_getDragDistance(a){const e=this._pickupPositionOnPage;return e?{x:a.x-e.x,y:a.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:a,y:e}=this._passiveTransform;if(0===a&&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 l=t.left-r.left,c=r.right-t.right,s=t.top-r.top,o=r.bottom-t.bottom;t.width>r.width?(l>0&&(a+=l),c>0&&(a-=c)):a=0,t.height>r.height?(s>0&&(e+=s),o>0&&(e-=o)):e=0,(a!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:a})}_getDragStartDelay(a){const e=this.dragStartDelay;return"number"==typeof e?e:Ag(a)?e.touch:e?e.mouse:0}_updateOnScroll(a){const e=this._parentPositions.handleScroll(a);if(e){const t=sa(a);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&bg(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(){var a;return(null===(a=this._parentPositions.positions.get(this._document))||void 0===a?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Ch(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(a,e){const t=this._previewContainer||"global";if("parent"===t)return a;if("global"===t){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Qi(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(a){return this._handles.find(e=>a.target&&(a.target===e||e.contains(a.target)))}}function HA(n,a){return`translate3d(${Math.round(n)}px, ${Math.round(a)}px, 0)`}function mE(n,a,e){return Math.max(a,Math.min(e,n))}function Ag(n){return"t"===n.type[0]}function gE(n,a){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===a.ELEMENT_NODE)return e[0];const t=a.createElement("div");return e.forEach(r=>t.appendChild(r)),t}function _E(n,a){n.style.width=`${a.width}px`,n.style.height=`${a.height}px`,n.style.transform=HA(a.left,a.top)}function bE(n,a,e){const t=yg(a,n.length-1),r=yg(e,n.length-1);if(t===r)return;const l=n[t],c=r!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ie.x,this.entered=new Ie.x,this.exited=new Ie.x,this.dropped=new Ie.x,this.sorted=new Ie.x,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=Wt.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ie.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function eR(n=0,a=ap.z){return n<0&&(n=0),(0,$0.H)(n,n,a)}(0,BM).pipe(dt(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,s=this.autoScrollStep;1===this._verticalScrollDirection?c.scrollBy(0,-s):2===this._verticalScrollDirection&&c.scrollBy(0,s),1===this._horizontalScrollDirection?c.scrollBy(-s,0):2===this._horizontalScrollDirection&&c.scrollBy(s,0)})},this.element=Qi(a),this._document=t,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new cE(t)}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(a,e,t,r){let l;this._draggingStarted(),null==r?(l=this.sortingDisabled?this._draggables.indexOf(a):-1,-1===l&&(l=this._getItemIndexFromPointerPosition(a,e,t))):l=r;const c=this._activeDraggables,s=c.indexOf(a),o=a.getPlaceholderElement();let d=c[l];if(d===a&&(d=c[l+1]),!d&&(null==l||-1===l||l-1&&c.splice(s,1),d&&!this._dragDropRegistry.isDragging(d)){const u=d.getRootElement();u.parentElement.insertBefore(o,u),c.splice(l,0,a)}else Qi(this.element).appendChild(o),c.push(a);o.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})}exit(a){this._reset(),this.exited.next({item:a,container:this})}drop(a,e,t,r,l,c,s){this._reset(),this.dropped.next({item:a,currentIndex:e,previousIndex:t,container:this,previousContainer:r,isPointerOverContainer:l,distance:c,dropPoint:s})}withItems(a){const e=this._draggables;return this._draggables=a,a.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===a.indexOf(r))?this._reset():this._cacheItems()),this}withDirection(a){return this._direction=a,this}connectedTo(a){return this._siblings=a.slice(),this}withOrientation(a){return this._orientation=a,this}withScrollableParents(a){const e=Qi(this.element);return this._scrollableElements=-1===a.indexOf(e)?[e,...a]:a.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(a){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===a):this._draggables.indexOf(a)}isReceiving(){return this._activeSiblings.size>0}_sortItem(a,e,t,r){if(this.sortingDisabled||!this._clientRect||!lE(this._clientRect,.05,e,t))return;const l=this._itemPositions,c=this._getItemIndexFromPointerPosition(a,e,t,r);if(-1===c&&l.length>0)return;const s="horizontal"===this._orientation,o=l.findIndex(fe=>fe.drag===a),d=l[c],h=d.clientRect,f=o>c?1:-1,b=this._getItemOffsetPx(l[o].clientRect,h,f),N=this._getSiblingOffsetPx(o,l,f),Q=l.slice();bE(l,o,c),this.sorted.next({previousIndex:o,currentIndex:c,container:this,item:a}),l.forEach((fe,je)=>{if(Q[je]===fe)return;const Mt=fe.drag===a,gt=Mt?b:N,ei=Mt?a.getPlaceholderElement():fe.drag.getRootElement();fe.offset+=gt,s?(ei.style.transform=EA(`translate3d(${Math.round(fe.offset)}px, 0, 0)`,fe.initialTransform),bg(fe.clientRect,0,gt)):(ei.style.transform=EA(`translate3d(0, ${Math.round(fe.offset)}px, 0)`,fe.initialTransform),bg(fe.clientRect,gt,0))}),this._previousSwap.overlaps=rv(h,e,t),this._previousSwap.drag=d.drag,this._previousSwap.delta=s?r.x:r.y}_startScrollingIfNecessary(a,e){if(this.autoScrollDisabled)return;let t,r=0,l=0;if(this._parentPositions.positions.forEach((c,s)=>{s===this._document||!c.clientRect||t||lE(c.clientRect,.05,a,e)&&([r,l]=function sR(n,a,e,t){const r=ME(a,t),l=wE(a,e);let c=0,s=0;if(r){const o=n.scrollTop;1===r?o>0&&(c=1):n.scrollHeight-o>n.clientHeight&&(c=2)}if(l){const o=n.scrollLeft;1===l?o>0&&(s=1):n.scrollWidth-o>n.clientWidth&&(s=2)}return[c,s]}(s,c.clientRect,a,e),(r||l)&&(t=s))}),!r&&!l){const{width:c,height:s}=this._viewportRuler.getViewportSize(),o={width:c,height:s,top:0,right:c,bottom:s,left:0};r=ME(o,e),l=wE(o,a),t=window}t&&(r!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=l,this._scrollNode=t,(r||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const a=Qi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"",a.scrollSnapType=a.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const a=Qi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(a).clientRect}_cacheItemPositions(){const a="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,initialTransform:t.style.transform||"",clientRect:nv(t)}}).sort((e,t)=>a?e.clientRect.left-t.clientRect.left:e.clientRect.top-t.clientRect.top)}_reset(){this._isDragging=!1;const a=Qi(this.element).style;a.scrollSnapType=a.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{var t;const r=e.getRootElement();if(r){const l=null===(t=this._itemPositions.find(c=>c.drag===e))||void 0===t?void 0:t.initialTransform;r.style.transform=l||""}}),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(a,e,t){const r="horizontal"===this._orientation,l=e[a].clientRect,c=e[a+-1*t];let s=l[r?"width":"height"]*t;if(c){const o=r?"left":"top",d=r?"right":"bottom";-1===t?s-=c.clientRect[o]-l[d]:s+=l[o]-c.clientRect[d]}return s}_getItemOffsetPx(a,e,t){const r="horizontal"===this._orientation;let l=r?e.left-a.left:e.top-a.top;return-1===t&&(l+=r?e.width-a.width:e.height-a.height),l}_shouldEnterAsFirstChild(a,e){if(!this._activeDraggables.length)return!1;const t=this._itemPositions,r="horizontal"===this._orientation;if(t[0].drag!==this._activeDraggables[0]){const c=t[t.length-1].clientRect;return r?a>=c.right:e>=c.bottom}{const c=t[0].clientRect;return r?a<=c.left:e<=c.top}}_getItemIndexFromPointerPosition(a,e,t,r){const l="horizontal"===this._orientation,c=this._itemPositions.findIndex(({drag:s,clientRect:o})=>{if(s===a)return!1;if(r){const d=l?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&d===this._previousSwap.delta)return!1}return l?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&tr._canReceive(a,e,t))}_canReceive(a,e,t){if(!this._clientRect||!rv(this._clientRect,e,t)||!this.enterPredicate(a,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,t);if(!r)return!1;const l=Qi(this.element);return r===l||l.contains(r)}_startReceiving(a,e){const t=this._activeSiblings;!t.has(a)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(t.add(a),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(a){this._activeSiblings.delete(a),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(a=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(a);e&&(this._itemPositions.forEach(({clientRect:t})=>{bg(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 a=Ch(Qi(this.element));this._cachedShadowRoot=a||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const a=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,a))}}function ME(n,a){const{top:e,bottom:t,height:r}=n,l=.05*r;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}function wE(n,a){const{left:e,right:t,width:r}=n,l=.05*r;return a>=e-l&&a<=e+l?1:a>=t-l&&a<=t+l?2:0}const LA=aa({passive:!1,capture:!0});let oR=(()=>{class n{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 Ie.x,this.pointerUp=new Ie.x,this.scroll=new Ie.x,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,LA)})}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,LA)}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:l=>this.pointerUp.next(l),options:!0}).set("scroll",{handler:l=>this.scroll.next(l),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:LA}),r||this._globalListeners.set("mousemove",{handler:l=>this.pointerMove.next(l),options:LA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((l,c)=>{this._document.addEventListener(c,l.handler,l.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 an.y(r=>this._ngZone.runOutsideAngular(()=>{const c=s=>{this._activeDragInstances.length&&r.next(s)};return e.addEventListener("scroll",c,!0),()=>{e.removeEventListener("scroll",c,!0)}}))),(0,Ri.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(w.K0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let sv=(()=>{class n{constructor(e,t,r,l){this._document=e,this._ngZone=t,this._viewportRuler=r,this._dragDropRegistry=l}createDrag(e,t=lR){return new rR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new aR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(w.K0),i.LFG(i.R0b),i.LFG(so),i.LFG(oR))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const CE=new i.OlP("CDK_DRAG_PARENT"),vE=new i.OlP("CdkDropListGroup"),TE=new i.OlP("CDK_DRAG_CONFIG");let cR=0;const xE=new i.OlP("CdkDropList");let dR=(()=>{class n{constructor(e,t,r,l,c,s,o){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=l,this._dir=c,this._group=s,this._destroyed=new Ie.x,this.connectedTo=[],this.id="cdk-drop-list-"+cR++,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,o&&this._assignDefaults(o),this._dropListRef.enterPredicate=(d,u)=>this.enterPredicate(d.data,u.data),this._dropListRef.sortPredicate=(d,u,h)=>this.sortPredicate(d,u.data,h.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),s&&s._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=$e(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(hi(this._dir.value),dt(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=Ic(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(c=>c.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===t.indexOf(r)&&t.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(l=>l.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=$e(this.sortingDisabled),e.autoScrollDisabled=$e(this.autoScrollDisabled),e.autoScrollStep=Xi(this.autoScrollStep,2),e.connectedTo(t.filter(r=>r&&r!==this).map(r=>r._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:r,sortingDisabled:l,listAutoScrollDisabled:c,listOrientation:s}=e;this.disabled=null!=r&&r,this.sortingDisabled=null!=l&&l,this.autoScrollDisabled=null!=c&&c,this.orientation=s||"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(sv),i.Y36(i.sBO),i.Y36(Xo),i.Y36(Fn,8),i.Y36(vE,12),i.Y36(TE,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:vE,useValue:void 0},{provide:xE,useExisting:n}])]}),n})();const SE=new i.OlP("CdkDragHandle"),uR=new i.OlP("CdkDragPlaceholder"),hR=new i.OlP("CdkDragPreview");let fR=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.element=e,this.dropContainer=t,this._ngZone=l,this._viewContainerRef=c,this._dir=o,this._changeDetectorRef=u,this._selfHandle=h,this._parentDrag=f,this._destroyed=new Ie.x,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 an.y(b=>{const N=this._dragRef.moved.pipe((0,Ct.U)(Q=>({source:this,pointerPosition:Q.pointerPosition,event:Q.event,delta:Q.delta,distance:Q.distance}))).subscribe(b);return()=>{N.unsubscribe()}}),this._dragRef=d.createDrag(e,{dragStartThreshold:s&&null!=s.dragStartThreshold?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&null!=s.pointerDirectionChangeThreshold?s.pointerDirectionChangeThreshold:5,zIndex:null==s?void 0:s.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),s&&this._assignDefaults(s),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=$e(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,Ut.q)(1),dt(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,r=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),r&&!r.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 r=t;this.rootElementSelector&&(r=void 0!==t.closest?t.closest(this.rootElementSelector):null===(e=t.parentElement)||void 0===e?void 0:e.closest(this.rootElementSelector)),this._dragRef.withRootElement(r||t)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Qi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,r=this.dragStartDelay,l=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,c=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 r&&r?r:Xi(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(l).withPreviewTemplate(c).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe((0,Ut.q)(1)).subscribe(()=>{var t;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(r.classList.contains("cdk-drag")){e.withParent((null===(t=n._dragInstances.find(l=>l.element.nativeElement===r))||void 0===t?void 0:t._dragRef)||null);break}r=r.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:r,constrainPosition:l,previewClass:c,boundaryElement:s,draggingDisabled:o,rootElementSelector:d,previewContainer:u}=e;this.disabled=null!=o&&o,this.dragStartDelay=r||0,t&&(this.lockAxis=t),l&&(this.constrainPosition=l),c&&(this.previewClass=c),s&&(this.boundaryElement=s),d&&(this.rootElementSelector=d),u&&(this.previewContainer=u)}_setupHandlesListener(){this._handles.changes.pipe(hi(this._handles),(0,Dt.b)(e=>{const t=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),(0,Li.w)(e=>(0,Ri.T)(...e.map(t=>t._stateChanges.pipe(hi(t))))),dt(this._destroyed)).subscribe(e=>{const t=this._dragRef,r=e.element.nativeElement;e.disabled?t.disableHandle(r):t.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(xE,12),i.Y36(w.K0),i.Y36(i.R0b),i.Y36(i.s_b),i.Y36(TE,8),i.Y36(Fn,8),i.Y36(sv),i.Y36(i.sBO),i.Y36(SE,10),i.Y36(CE,12))},n.\u0275dir=i.lG2({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,hR,5),i.Suo(r,uR,5),i.Suo(r,SE,5)),2&e){let l;i.iGM(l=i.CRH())&&(t._previewTemplate=l.first),i.iGM(l=i.CRH())&&(t._placeholderTemplate=l.first),i.iGM(l=i.CRH())&&(t._handles=l)}},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:CE,useExisting:n}]),i.TTD]}),n})(),mR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[sv],imports:[za]}),n})();const gR=["*"],EE=new i.OlP("MatChipRemove"),DE=new i.OlP("MatChipAvatar"),HE=new i.OlP("MatChipTrailingIcon");class _R{constructor(a){this._elementRef=a}}const bR=Jo(Ia(pa(_R),"primary"),-1);let kA=(()=>{class n extends bR{constructor(e,t,r,l,c,s,o,d){super(e),this._ngZone=t,this._changeDetectorRef=c,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 Ie.x,this._onBlur=new Ie.x,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=s.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new ip(this,t,this._chipRippleTarget,r),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=l||{},this._animationsDisabled="NoopAnimations"===o,this.tabIndex=null!=d&&parseInt(d)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=$e(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=$e(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=$e(e)}get removable(){return this._removable}set removable(e){this._removable=$e(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,Ut.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(wi),i.Y36(q0,8),i.Y36(i.sBO),i.Y36(w.K0),i.Y36(qn,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,r){if(1&e&&(i.Suo(r,DE,5),i.Suo(r,HE,5),i.Suo(r,EE,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.avatar=l.first),i.iGM(l=i.CRH())&&(t.trailingIcon=l.first),i.iGM(l=i.CRH())&&(t.removeIcon=l.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&i.NdJ("click",function(l){return t._handleClick(l)})("keydown",function(l){return t._handleKeydown(l)})("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 LE=new i.OlP("mat-chips-default-options");let wR=0,kE=(()=>{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-"+wR++,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=$e(e)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(e){this._disabled=$e(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&&!Ln(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!Ln(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(LE))},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(l){return t._keydown(l)})("keyup",function(l){return t._keyup(l)})("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 CR=B0(class{constructor(n,a,e,t){this._defaultErrorStateMatcher=n,this._parentForm=a,this._parentFormGroup=e,this.ngControl=t}});let vR=0;class TR{constructor(a,e){this.source=a,this.value=e}}let PE=(()=>{class n extends CR{constructor(e,t,r,l,c,s,o){super(s,l,c,o),this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Ie.x,this._uid="mat-chip-list-"+vR++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(d,u)=>d===u,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=$e(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,r,l;return null!==(l=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(An.required))&&void 0!==l&&l}set required(e){this._required=$e(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=$e(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=$e(e),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return(0,Ri.T)(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return(0,Ri.T)(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return(0,Ri.T)(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return(0,Ri.T)(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Ol(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(dt(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(dt(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(hi(null),dt(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 _n(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&&er.deselect()),Array.isArray(e))e.forEach(r=>this._selectValue(r,t)),this._sortValues();else{const r=this._selectValue(e,t);r&&t&&this._keyManager.setActiveItem(r)}}_selectValue(e,t=!0){const r=this.chips.find(l=>null!=l.value&&this._compareWith(l.value,e));return r&&(t?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r}_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(r=>r.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new TR(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,r=this.chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&t._hasFocus&&(this._lastDestroyedChipIndex=r)})}_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(Fn,8),i.Y36(lo,8),i.Y36(co,8),i.Y36(au),i.Y36(Fa,10))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-chip-list"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,kA,5),2&e){let l;i.iGM(l=i.CRH())&&(t.chips=l)}},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(l){return t._keydown(l)}),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:dp,useExisting:n}]),i.qOj],ngContentSelectors:gR,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;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;transform:translateZ(0)}.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})(),ov=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[au,{provide:LE,useValue:{separatorKeyCodes:[13]}}],imports:[[ut]]}),n})();function xR(n,a){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 SR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",10),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().edit(r)}),i._uU(1,"edit"),i.qZA()}}function ER(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-icon",11),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().remove(r)}),i._uU(1,"cancel"),i.qZA()}}function DR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-chip",4),i.NdJ("removed",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.remove(l),c._sendEventToParent()}),i.YNc(1,xR,2,0,"mat-icon",5),i.TgZ(2,"div",6),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.readonly&&void 0!==c.attribute.displayName&&c.showValue(l,c.attribute.displayName)}),i._uU(3),i.qZA(),i.YNc(4,SR,2,0,"mat-icon",7),i.YNc(5,ER,2,0,"mat-icon",8),i.qZA()}if(2&n){const e=a.$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 HR(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"more_horiz"),i.qZA())}function LR(n,a){1&n&&(i.TgZ(0,"mat-icon"),i._uU(1,"keyboard_arrow_up"),i.qZA())}function kR(n,a){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,HR,2,0,"mat-icon",15),i.YNc(4,LR,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 PR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",12),i.TgZ(1,"input",16),i.NdJ("matChipInputTokenEnd",function(r){return i.CHM(e),i.oxw().add(r)})("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 RR=(()=>{class n{constructor(e,t){this.dialog=e,this.changeDetector=t,this.readonly=!1,this.sendEventToParent=new i.vpe,this.selectable=!1,this.removable=!0,this.addOnBlur=!0,this.dragDisabled=!0,this.separatorKeysCodes=[13,188],this.values=[],this.showMore=!1,this.defaultItemsShown=5}ngOnInit(){this.removable=!Nu(this.attribute)&&!this.readonly,null==this.attribute.value&&(this.attribute.value=[]),this.values=this.attribute.value,this.itemsShown=this.readonly?this.values.length:this.defaultItemsShown,this.showMore=this.readonly,this.readonly||(this.readonly=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}add(e){const t=e.input,r=e.value;(r||"").trim()&&(this.attribute.value.push(r.trim()),this.values=this.attribute.value,this.values.length>this.defaultItemsShown&&(this.showMore=!0,this.setItemsShown())),t&&(t.value=""),this.sendEventToParent.emit()}remove(e){const t=Ei();t.width="400px",t.data={name:e},this.dialog.open(OH,t).afterClosed().subscribe(l=>{if(l){const c=this.attribute.value.indexOf(e);this.attribute.value.splice(c,1),this.values=this.attribute.value,this.sendEventToParent.emit(),this.changeDetector.detectChanges()}})}drop(e){this.dragDisabled=!0,bE(this.attribute.value,e.previousIndex,e.currentIndex),this.values=this.attribute.value}edit(e){const t=this.attribute.value.indexOf(e),r=Ei();r.width="600px",r.data={attribute:this.attribute,index:t},this.dialog.open(RH,r).afterClosed().subscribe(c=>{c&&(this.values=this.attribute.value,this.sendEventToParent.emit())})}showValue(e,t){const r=Ei();r.width="350px",r.data={value:e,title:t},this.dialog.open(MA,r)}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(en),i.Y36(i.sBO))},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(l){return t.drop(l),t._sendEventToParent()}),i.YNc(3,DR,6,9,"mat-chip",2),i.YNc(4,kR,5,4,"div",3),i.YNc(5,PR,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:[PE,dR,w.sg,kA,fR,w.O5,Wi,tr,It,ln,Rn,kE],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})(),OR=(()=>{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=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e,t){const r=Ei();r.width="350px",r.data={value:e,title:t},this.dialog.open(MA,r)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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(l){return t.attribute.value=l})("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:[ln,Rn,bn,Vi,fs],pipes:[ev],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.overflow-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis}"]}),n})(),IR=(()=>{class n{constructor(e){this.dialog=e,this.readonly=!1,this.sendEventToParent=new i.vpe}ngOnInit(){this.readonly||(this.readonly=Nu(this.attribute))}_sendEventToParent(){this.sendEventToParent.emit()}showValue(e){const t=Ei();t.width="350px",t.data={value:e.value,title:e.displayName},this.dialog.open(MA,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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(l){return t.attribute.value=l})("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:[ln,Rn,Cp,bn,Vi,fs],styles:[".cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),n})();const BR=["map"];function NR(n,a){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 VR(n,a){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 zR(n,a){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 FR(n,a){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 jR(n,a){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 lv=(()=>{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(BR,5),2&e){let r;i.iGM(r=i.CRH())&&(t.mapComponent=r.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,NR,1,2,"perun-web-apps-attribute-value-boolean",0),i.YNc(2,VR,1,2,"perun-web-apps-attribute-value-list",0),i.TgZ(3,"div",1),i.NdJ("click",function(){return t._sendEventToParent2()}),i.YNc(4,zR,2,2,"perun-web-apps-attribute-value-map",2),i.qZA(),i.YNc(5,FR,1,2,"perun-web-apps-attribute-value-string",0),i.YNc(6,jR,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:[w.O5,KP,RR,zP,OR,IR],styles:[""]}),n})();function qR(n,a){1&n&&i._UZ(0,"mat-spinner",3)}function YR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeLanguage(l)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"uppercase"),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",i.lcZ(2,2,i.lcZ(3,4,"SHARED_LIB.LANGUAGES."+e))," ")}}function WR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",14),i.NdJ("valueChange",function(r){return i.CHM(e),i.oxw(3).currentLang=r}),i.YNc(2,YR,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 UR(n,a){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 GR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-option",16),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeTimeZone(l)}),i._uU(1),i.qZA()}if(2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e," ")}}function ZR(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-form-field",13),i.TgZ(1,"mat-select",19),i.NdJ("valueChange",function(r){return i.CHM(e),i.oxw(3).currentTimezone=r}),i.YNc(2,GR,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 $R(n,a){1&n&&(i.TgZ(0,"p"),i._uU(1,"-"),i.qZA())}function JR(n,a){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 XR(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,$R,2,0,"p",20),i.YNc(2,JR,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 QR(n,a){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,WR,3,2,"mat-form-field",10),i.YNc(6,UR,6,2,"div",11),i.YNc(7,ZR,3,2,"mat-form-field",10),i.YNc(8,XR,3,2,"div",12),i.qZA(),i.qZA()),2&n){const e=a.$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 KR(n,a){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,QR,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 eO=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this.translateService=e,this.dialog=t,this.authzResolverService=r,this.attributesManagerService=l,this.usersManagerService=c,this.route=s,this.router=o,this.notificator=d,this.storeService=u,this.apiRequestConfiguration=h,this.preferredLangService=f,this.currentLang="en",this.languages=this.storeService.get("supported_languages"),this.timeZones=iE.tz.names().filter(b=>!b.startsWith("Etc/")),this.additionalAttributes=[],this.email="",this.fullName="",this.organization="",this.currentTimezone="",e.get("PROFILE_PAGE.MAIL_CHANGE_SUCCESS").subscribe(b=>this.successMessage=b)}ngOnInit(){const e=this.route.snapshot.queryParamMap,t=e.get("token"),r=e.get("u");this.loading=!0,t&&r?(this.apiRequestConfiguration.dontHandleErrorForNext(),this.usersManagerService.validatePreferredEmailChangeWithToken(t,Number.parseInt(r,10)).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.router.navigate([],{replaceUrl:!0}),this.getData()},()=>{const l=Ei();l.width="600px",this.dialog.open(GH,l).afterClosed().subscribe(()=>{this.getData()})})):this.getData()}getData(){this.authzResolverService.getPerunPrincipal().subscribe(e=>{this.userId=e.userId,this.usersManagerService.getRichUserWithAttributes(this.userId).subscribe(t=>{var r,l,c,s,o;this.fullName=(new cA).transform(t);const d=t.userAttributes.find(Q=>"preferredMail"===Q.friendlyName);this.email=null!==(r=null==d?void 0:d.value)&&void 0!==r?r:"-",this.languageAttribute=t.userAttributes.find(Q=>"preferredLanguage"===Q.friendlyName);const u=null!==(c=null===(l=this.languageAttribute)||void 0===l?void 0:l.value)&&void 0!==c?c:null,h=this.preferredLangService.getPreferredLanguage(u);this.translateService.use(h),this.currentLang=h,this.timezoneAttribute=t.userAttributes.find(Q=>"timezone"===Q.friendlyName),this.currentTimezone=null!==(o=null===(s=this.timezoneAttribute)||void 0===s?void 0:s.value)&&void 0!==o?o:"-";const f=this.storeService.get("profile_page_attributes");let b=0;const N=this.storeService.get("supported_languages");f.forEach(Q=>{const fe=t.userAttributes.find(je=>je.friendlyName===Q.friendly_name);fe?(b++,this.addAttribute(fe,Q,N)):this.attributesManagerService.getAttributeDefinitionByName(`urn:perun:user:attribute-def:${Q.is_virtual?"virt":"def"}:${Q.friendly_name}`).subscribe(je=>{this.addAttribute(je,Q,N),b++,this.loading=b!==f.length}),this.loading=b!==f.length})})})}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=Ei();e.width="350px",e.data={userId:this.userId},this.dialog.open(NH,e).afterClosed().subscribe(r=>{r&&this.getEmail()})}getEmail(){this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredMail").subscribe(e=>{var t;this.email=null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"-"})}addAttribute(e,t,r){var l,c;const s={attribute:e};for(const o of r)s[`displayName_${o}`]=(null===(l=null==t?void 0:t[`display_name_${o}`])||void 0===l?void 0:l.length)?t[`display_name_${o}`]:e.displayName,s[`tooltip_${o}`]=null!==(c=t[`tooltip_${o}`])&&void 0!==c?c:"";this.additionalAttributes.push(s)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le),i.Y36(en),i.Y36(Zi),i.Y36(ri),i.Y36(Ti),i.Y36(Jn),i.Y36(Mi),i.Y36(ir),i.Y36($t),i.Y36(ug),i.Y36(TC))},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,qR,1,0,"mat-spinner",1),i.YNc(2,KR,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:[w.O5,Ci,w.sg,tr,w.RF,w.n9,ln,Hp,ro,It,Wi,w.ED,lv],pipes:[me,ii,w.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})(),tO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-focus-on-linker-dialog"]],decls:9,vars:6,consts:[[1,"text-center","custom-dialog"],[1,"align-text-bottom"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div"),i.TgZ(2,"mat-icon",1),i._uU(3," info "),i.qZA(),i._uU(4),i.ALo(5,"translate"),i.qZA(),i.TgZ(6,"div"),i._uU(7),i.ALo(8,"translate"),i.qZA(),i.qZA()),2&e&&(i.xp6(4),i.hij(" ",i.lcZ(5,2,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL")," "),i.xp6(3),i.hij(" ",i.lcZ(8,4,"SHARED_LIB.CONSOLIDATOR.FOCUS_ON_LINKER.MODAL_WARNING")," "))},directives:[Wi],pipes:[me],styles:[".custom-dialog[_ngcontent-%COMP%]{background-color:#000;color:#fffffff2;font-size:1.2rem}"]}),n})(),iO=(()=>{class n{constructor(e,t,r,l){this.otherApplicationsService=e,this.storeService=t,this.oauthService=r,this.dialog=l}openLinkerWindow(e,t){let r=this.otherApplicationsService.getUrlForOtherApplication("linker");this.storeService.getProperty("use_localhost_linker_url")&&(r="http://localhost:4201/");let l=r+"?formerToken="+this.oauthService.getAccessToken();t&&0!==t.length&&(l+="&idphint="+t.toString());const o=window.top,h=window.open(l,"_blank",`width=600,height=600,top=${o.outerHeight/2+o.screenY-300}, left=${o.outerWidth/2+o.screenX-300}`);let f;if(h){const N=Ei();N.width="450px",N.panelClass="noBorderDialog",f=this.dialog.open(tO,N)}window.addEventListener("message",N=>{sessionStorage.setItem("linkedResult",N.data)});const b=setInterval(()=>{if(h.closed){clearInterval(b),f.close();const N=sessionStorage.getItem("linkedResult");sessionStorage.removeItem("linkedResult"),e(N)}},1e3)}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(lA),i.LFG($t),i.LFG(Vu.Ct),i.LFG(en))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nO=["mat-sort-header",""];function rO(n,a){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 aO=["*"],bd=$1.ENTERING+" "+wM.STANDARD_CURVE,$p={indicator:ti("indicator",[St("active-asc, asc",Ne({transform:"translateY(0px)"})),St("active-desc, desc",Ne({transform:"translateY(10px)"})),vt("active-asc <=> active-desc",_t(bd))]),leftPointer:ti("leftPointer",[St("active-asc, asc",Ne({transform:"rotate(-45deg)"})),St("active-desc, desc",Ne({transform:"rotate(45deg)"})),vt("active-asc <=> active-desc",_t(bd))]),rightPointer:ti("rightPointer",[St("active-asc, asc",Ne({transform:"rotate(45deg)"})),St("active-desc, desc",Ne({transform:"rotate(-45deg)"})),vt("active-asc <=> active-desc",_t(bd))]),arrowOpacity:ti("arrowOpacity",[St("desc-to-active, asc-to-active, active",Ne({opacity:1})),St("desc-to-hint, asc-to-hint, hint",Ne({opacity:.54})),St("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Ne({opacity:0})),vt("* => asc, * => desc, * => active, * => hint, * => void",_t("0ms")),vt("* <=> *",_t(bd))]),arrowPosition:ti("arrowPosition",[vt("* => desc-to-hint, * => desc-to-active",_t(bd,eo([Ne({transform:"translateY(-25%)"}),Ne({transform:"translateY(0)"})]))),vt("* => hint-to-desc, * => active-to-desc",_t(bd,eo([Ne({transform:"translateY(0)"}),Ne({transform:"translateY(25%)"})]))),vt("* => asc-to-hint, * => asc-to-active",_t(bd,eo([Ne({transform:"translateY(25%)"}),Ne({transform:"translateY(0)"})]))),vt("* => hint-to-asc, * => active-to-asc",_t(bd,eo([Ne({transform:"translateY(0)"}),Ne({transform:"translateY(-25%)"})]))),St("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Ne({transform:"translateY(0)"})),St("hint-to-desc, active-to-desc, desc",Ne({transform:"translateY(-25%)"})),St("hint-to-asc, active-to-asc, asc",Ne({transform:"translateY(25%)"}))]),allowChildren:ti("allowChildren",[vt("* <=> *",[la("@*",Oh(),{optional:!0})])])};let PA=(()=>{class n{constructor(){this.changes=new Ie.x}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oO={provide:PA,deps:[[new i.FiY,new i.tp0,PA]],useFactory:function sO(n){return n||new PA}},lO=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),cO=J1(Oa(class{}));let Ts=(()=>{class n extends cO{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new Ie.x,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=$e(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,r,l;if(!e)return"";const c=null!==(r=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==r?r:!!(null===(l=this._defaultOptions)||void 0===l?void 0:l.disableClear);let s=function dO(n,a){let e=["asc","desc"];return"desc"==n&&e.reverse(),a||e.push(""),e}(e.start||this.start,c),o=s.indexOf(this.direction)+1;return o>=s.length&&(o=0),s[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(lO,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 uO=Oa(class{});let Mg=(()=>{class n extends uO{constructor(e,t,r,l,c,s,o){super(),this._intl=e,this._changeDetectorRef=t,this._sort=r,this._columnDef=l,this._focusMonitor=c,this._elementRef=s,this._ariaDescriber=o,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=$e(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(".mat-sort-header-container"),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,r;this._sortButton&&(null===(t=this._ariaDescriber)||void 0===t||t.removeDescription(this._sortButton,this._sortActionDescription),null===(r=this._ariaDescriber)||void 0===r||r.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=(0,Ri.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(PA),i.Y36(i.sBO),i.Y36(Ts,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(oa),i.Y36(i.SBq),i.Y36(kh,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(l){return t._handleKeydown(l)})("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:nO,ngContentSelectors:aO,decls:4,vars:7,consts:[[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,rO,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)("role",t._isDisabled()?null:"button"),i.xp6(3),i.Q6J("ngIf",t._renderArrow()))},directives:[w.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:[$p.indicator,$p.leftPointer,$p.rightPointer,$p.arrowOpacity,$p.arrowPosition,$p.allowChildren]},changeDetection:0}),n})(),RA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[oO],imports:[[w.ez,ut]]}),n})(),hO=(()=>{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})(),RE=(()=>{class n{onClick(e){if(1===e.button&&null!=this.perunWebAppsMiddleClickRouterLink){const t=this.perunWebAppsMiddleClickRouterLink.join("/"),r=location.search;window.open(t+r)}}}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(l){return t.onClick(l)})},inputs:{perunWebAppsMiddleClickRouterLink:"perunWebAppsMiddleClickRouterLink"}}),n})(),pO=(()=>{class n{transform(e){var t;const r=e.find(l=>"mail"===l.friendlyName);return null!==(t=null==r?void 0:r.value)&&void 0!==t?t:"N/A"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"getMailFromAttributes",type:n,pure:!0}),n})();function fO(n,a){1&n&&i._UZ(0,"th",18)}function mO(n,a){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(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$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 gO(n,a){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 _O(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.id," ")}}function bO(n,a){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 AO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.ALo(2,"getMailFromAttributes"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.attributes)," ")}}function yO(n,a){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 MO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.extSource.name," ")}}function wO(n,a){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 CO(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.userExtSource.login," ")}}function vO(n,a){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 TO(n,a){if(1&n&&(i.TgZ(0,"td",25),i._uU(1),i.ALo(2,"date"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,e.userExtSource.lastAccess,"d.M.y H:mm:ss")," ")}}function xO(n,a){1&n&&i._UZ(0,"tr",26)}const OE=function(n,a){return["/admin","users",n,"identities",a]};function SO(n,a){if(1&n&&i._UZ(0,"tr",27),2&n){const e=a.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disableRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",t.disableRouting?null:i.WLB(6,OE,t.userId,e.userExtSource.id))("routerLink",t.disableRouting?null:i.WLB(9,OE,t.userId,e.userExtSource.id))}}function EO(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 DO(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 HO=(()=>{class n{constructor(e,t){this.route=e,this.authResolver=t,this.selection=new _n,this.filterValue="",this.displayedColumns=["select","id","mail","extSourceName","login","lastAccess"],this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"id":return e.userExtSource.id.toString();case"mail":{const r=e.attributes.find(l=>"mail"===l.friendlyName);return r?r.value:"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]}}ngOnInit(){this.disableRouting||this.route.parent.params.subscribe(e=>{this.userId=Number(e.userId)}),this.setDataSource()}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new rl(this.userExtSources),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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(Jn),i.Y36(ks))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-user-ext-sources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,fO,1,0,"th",4),i.YNc(5,mO,5,10,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,gO,4,5,"th",7),i.YNc(8,_O,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,bO,4,5,"th",10),i.YNc(11,AO,3,3,"td",8),i.BQk(),i.ynx(12,11),i.YNc(13,yO,4,5,"th",7),i.YNc(14,MO,2,1,"td",8),i.BQk(),i.ynx(15,12),i.YNc(16,wO,4,5,"th",7),i.YNc(17,CO,2,1,"td",8),i.BQk(),i.ynx(18,13),i.YNc(19,vO,4,5,"th",7),i.YNc(20,TO,3,4,"td",14),i.BQk(),i.YNc(21,xO,1,0,"tr",15),i.YNc(22,SO,1,12,"tr",16),i.qZA(),i.qZA(),i.qZA(),i.YNc(23,EO,3,3,"perun-web-apps-alert",17),i.YNc(24,DO,4,5,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,ys,vs,tr,lc,Mg,po,mo,fo,go,RE,Ha,w.O5,Wn],pipes:[me,ii,pO,w.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 LO(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function kO(n,a){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 r=i.oxw(2);return r.removeIdentity(r.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 PO(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"button",5),i.NdJ("click",function(){return i.CHM(e),i.oxw().addIdentity()}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"button",6),i.NdJ("click",function(){i.CHM(e);const r=i.oxw();return r.removeIdentity(r.idpSelection)}),i._uU(6),i.ALo(7,"translate"),i.ALo(8,"customTranslate"),i.qZA(),i._UZ(9,"perun-web-apps-user-ext-sources-list",7),i.YNc(10,kO,14,22,"div",3),i.TgZ(11,"h1",8),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.TgZ(15,"mat-icon",9),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i._uU(18," info_outline "),i.qZA(),i.qZA(),i._UZ(19,"perun-web-apps-user-ext-sources-list",10),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,16,i.lcZ(4,18,"IDENTITIES.ADD"))," "),i.xp6(3),i.Q6J("disabled",0===e.idpSelection.selected.length),i.xp6(1),i.hij(" ",i.lcZ(7,20,i.lcZ(8,22,"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(13,24,i.lcZ(14,26,"IDENTITIES.OTHER"))," "),i.xp6(3),i.Q6J("matTooltip",i.lcZ(16,28,i.lcZ(17,30,"IDENTITIES.OTHER_TOOLTIP"))),i.xp6(4),i.Q6J("userExtSources",e.otherExtSources)("selection",e.otherSelection)("extSourceNameHeader",e.extSourceNameOther)("displayedColumns",e.displayedColumnsOther)("disableRouting",!0)}}let RO=(()=>{class n{constructor(e,t,r,l,c,s,o,d){this.usersManagerService=e,this.storage=t,this.dialog=r,this.attributesManagerService=l,this.translate=c,this.notificator=s,this.registrarManagerService=o,this.openLinkerService=d,this.idpExtSources=[],this.certExtSources=[],this.otherExtSources=[],this.idpSelection=new _n(!0,[]),this.certSelection=new _n(!0,[]),this.otherSelection=new _n(!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(r=>{this.attributesManagerService.getUserExtSourceAttributeByName(r.userExtSource.id,"urn:perun:ues:attribute-def:def:sourceIdPName").subscribe(l=>{(null==l?void 0:l.value)?(r.userExtSource.extSource.name=l.value,t--,this.loading=0!==t,this.addToList(r)):this.attributesManagerService.getUserExtSourceAttributeByName(r.userExtSource.id,"urn:perun:ues:attribute-def:def:IdPOrganizationName").subscribe(c=>{t--,(null==c?void 0:c.value)&&(r.userExtSource.extSource.name=c.value),this.loading=0!==t,this.addToList(r)})})})})}removeIdentity(e){const t=Ei();t.width="600px",t.data={theme:"user-theme",userId:this.userId,extSources:e.selected},this.dialog.open(HH,t).afterClosed().subscribe(l=>{l&&(e.clear(),this.refreshTables())})}addIdentity(){this.storage.getProperty("use_new_consolidator")?this.openLinkerService.openLinkerWindow(e=>{"TOKEN_EXPIRED"===e?location.reload():"OK"===e?(this.notificator.showSuccess(this.translate.instant("IDENTITIES.SUCCESSFULLY_ADDED")),this.refreshTables()):"MESSAGE_SENT_TO_SUPPORT"===e&&this.notificator.showSuccess(this.translate.instant("IDENTITIES.MESSAGE_SENT_TO_SUPPORT"))}):this.registrarManagerService.getConsolidatorToken().subscribe(e=>{const t=this.storage.getPerunPrincipal().extSourceType,r=this.storage.get("consolidator_base_url");window.location.href=`${r}${(null==t?void 0:t.endsWith("X509"))?"cert":"fed"}-ic/ic/?target_url=${window.location.href}&token=${e}`})}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(Ti),i.Y36($t),i.Y36(en),i.Y36(ri),i.Y36(Le),i.Y36(ir),i.Y36(li),i.Y36(iO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-identities-page"]],decls:7,vars:7,consts:[[1,"user-theme"],[1,"page-title"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],["mat-flat-button","","color","accent",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.TgZ(1,"h1",1),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.YNc(5,LO,1,0,"mat-spinner",2),i.YNc(6,PO,20,32,"div",3),i.qZA()),2&e&&(i.xp6(2),i.Oqu(i.lcZ(3,3,i.lcZ(4,5,"IDENTITIES.IDP"))),i.xp6(3),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[w.O5,Ci,It,HO,Wi,tr],pipes:[me,ii],styles:[".center-icon[_ngcontent-%COMP%]{vertical-align:middle;transform:scale(.8)}"]}),n})();const OO=["panel"];function IO(n,a){if(1&n&&(i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA()),2&n){const e=a.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 BO=["*"];let NO=0;class VO{constructor(a,e){this.source=a,this.option=e}}const zO=pa(class{}),IE=new i.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function FO(){return{autoActiveFirstOption:!1}}});let jO=(()=>{class n extends zO{constructor(e,t,r,l){super(),this._changeDetectorRef=e,this._elementRef=t,this._activeOptionChanges=Wt.w0.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-"+NO++,this.inertGroups=(null==l?void 0:l.SAFARI)||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=$e(e)}set classList(e){this._classList=e&&e.length?function Ny(n,a=/\s+/){const e=[];if(null!=n){const t=Array.isArray(n)?n:`${n}`.split(a);for(const r of t){const l=`${r}`.trim();l&&e.push(l)}}return e}(e).reduce((t,r)=>(t[r]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new Yd(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 VO(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(IE),i.Y36(wi))},n.\u0275dir=i.lG2({type:n,viewQuery:function(e,t){if(1&e&&(i.Gf(i.Rgc,7),i.Gf(OO,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.template=r.first),i.iGM(r=i.CRH())&&(t.panel=r.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})(),qO=(()=>{class n extends jO{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,lu,5),i.Suo(r,ro,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.optionGroups=l),i.iGM(l=i.CRH())&&(t.options=l)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[i._Bn([{provide:ou,useExisting:n}]),i.qOj],ngContentSelectors:BO,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,IO,3,4,"ng-template"))},directives:[w.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 BE=new i.OlP("mat-autocomplete-scroll-strategy"),WO={provide:BE,deps:[xr],useFactory:function YO(n){return()=>n.scrollStrategies.reposition()}},UO={provide:Kn,useExisting:(0,i.Gpc)(()=>NE),multi:!0};let GO=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u,h,f){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=l,this._changeDetectorRef=c,this._dir=o,this._formField=d,this._document=u,this._viewportRuler=h,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Wt.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ie.x,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=Ca(()=>{const b=this.autocomplete?this.autocomplete.options:null;return b?b.changes.pipe(hi(b),(0,Li.w)(()=>(0,Ri.T)(...b.map(N=>N.onSelectionChange)))):this._zone.onStable.pipe((0,Ut.q)(1),(0,Li.w)(()=>this.optionSelections))}),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=$e(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._zone.run(()=>{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,Ri.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Ft.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Ft.h)(()=>this._overlayAttached)):(0,rt.of)()).pipe((0,Ct.U)(e=>e instanceof W0?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Ri.T)(Na(this._document,"click"),Na(this._document,"auxclick"),Na(this._document,"touchend")).pipe((0,Ft.h)(e=>{const t=sa(e),r=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!l||!l.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,r=Ln(e);if(27===t&&!r&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,c=38===t||40===t;9===t||c&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):c&&this._canOpen()&&this.openPanel(),(c||this.autocomplete._keyManager.activeItem!==l)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(e){let t=e.target,r=t.value;"number"===t.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._onChange(r),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}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_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,Ut.q)(1)),t=this.autocomplete.options.changes.pipe((0,Dt.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Xm.g)(0));return(0,Ri.T)(e,t).pipe((0,Li.w)(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),r!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,Ut.q)(1)).subscribe(r=>this._setValueAndClose(r))}_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,r=null!=t?t:"";this._formField?this._formField._control.value=r:this._element.nativeElement.value=r,this._previousValue=r}_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 Qc(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(l=>{(27===l.keyCode&&!Ln(l)||38===l.keyCode&&Ln(l,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),l.stopPropagation(),l.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 r=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&r!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var e;return new us({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"}],r=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let c;c="above"===this.position?l:"below"===this.position?t:[...t,...l],e.withPositions(c)}_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,r=$c(e,t.options,t.optionGroups);if(0===e&&1===r)t._setScrollTop(0);else if(t.panel){const l=t.options.toArray()[e];if(l){const c=l._getHostElement(),s=np(c.offsetTop,c.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(s)}}}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(xr),i.Y36(i.s_b),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(BE),i.Y36(Fn,8),i.Y36(id,9),i.Y36(w.K0,8),i.Y36(so),i.Y36(IE,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})(),NE=(()=>{class n extends GO{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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(l){return t._handleInput(l)})("keydown",function(l){return t._handleKeydown(l)})("click",function(){return t._handleClick()}),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?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[i._Bn([UO]),i.qOj]}),n})(),ZO=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[WO],imports:[[Kc,Jc,ut,w.ez],za,Jc,ut]}),n})(),$O=(()=>{class n{transform(e){var t;return null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"never"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"validateExpiration",type:n,pure:!0}),n})();function JO(n,a){1&n&&i._UZ(0,"th",17)}function XO(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",18),i.TgZ(1,"mat-checkbox",19),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.ALo(2,"validateExpiration"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 QO(n,a){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 KO(n,a){if(1&n&&(i.TgZ(0,"td",21),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.entity.name)}}function eI(n,a){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 tI(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.entity.description)}}function iI(n,a){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 nI(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.ALo(2,"validateExpiration"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.expirationAttribute)," ")}}function rI(n,a){1&n&&i._UZ(0,"th",20)}function aI(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",22),i.TgZ(1,"button",24),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().extend(l)}),i.ALo(2,"validateExpiration"),i._uU(3),i.ALo(4,"translate"),i.ALo(5,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 sI(n,a){1&n&&i._UZ(0,"tr",25)}function oI(n,a){1&n&&i._UZ(0,"tr",26)}function lI(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 VE=(()=>{class n{constructor(){this.members=[],this.searchString="",this.selection=new _n(!1,[]),this.displayedColumns=["checkbox","name","description","expirationAttribute","extend"],this.filterValue="",this.extendMembership=new i.vpe,this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){var r,l;switch(t){case"name":return e.entity.name;case"description":return"description"in e.entity?e.entity.description:"";case"expirationAttribute":return null!==(l=null===(r=null==e?void 0:e.expirationAttribute)||void 0===r?void 0:r.value)&&void 0!==l?l:"never";default:return""}}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}ngOnChanges(){this.dataSource=new rl(this.members),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,JO,1,0,"th",4),i.YNc(5,XO,3,5,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,QO,4,5,"th",7),i.YNc(8,KO,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,eI,4,5,"th",7),i.YNc(11,tI,2,1,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,iI,4,5,"th",12),i.YNc(14,nI,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,sI,1,0,"tr",14),i.YNc(19,oI,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,lI,4,5,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,ys,vs,lc,Mg,It,po,mo,fo,go,w.O5,Wn],pipes:[$O,me,ii],styles:[""]}),n})();function cI(n,a){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.Q6J("value",e),i.xp6(1),i.hij(" ",e.name," ")}}function dI(n,a){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(r){return i.CHM(e),i.oxw().filterByVo(r)}),i.TgZ(9,"mat-option",11),i._uU(10),i.ALo(11,"translate"),i.ALo(12,"customTranslate"),i.qZA(),i.YNc(13,cI,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 uI(n,a){1&n&&i._UZ(0,"mat-spinner",14)}function hI(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 fI(n,a){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(r){return i.CHM(e),i.oxw().extendMembership(r)}),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 gI(n,a){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 _I=(()=>{class n{constructor(e,t,r,l,c,s){this.usersService=e,this.memberService=t,this.groupService=r,this.store=l,this.vosManagerService=c,this.attributesManagerService=s,this.loading=!1,this.vos=[],this.myControl=new Yn,this.selection=new _n(!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(hi(""),(0,Ct.U)(t=>this._filter(t))),this.getAllGroups()})}getAllGroups(){this.loading=!0;let e=0,t=0;this.userMemberships=[],this.adminMemberships=[];const r=this.store.getPerunPrincipal().roles.SELF.Member;r.length?t=r.length:this.loading=!1,r.forEach(l=>{t--,this.groupService.getMemberGroups(l).subscribe(c=>{e+=c.length,this.loading=0===e&&0!==t,c.forEach(s=>{this.attributesManagerService.getMemberGroupAttributes(l,s.id).subscribe(o=>{e--,this.userMemberships.push({entity:s,expirationAttribute:o.find(d=>"groupMembershipExpiration"===d.friendlyName)}),this.loading=0!==e})})})}),this.usersService.getGroupsWhereUserIsAdmin(this.userId).subscribe(l=>{l.forEach(c=>{this.adminMemberships.push({entity:c,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(r=>{this.groupService.getMemberGroups(r.id).subscribe(l=>{let c=l.length;this.loading=0!==c,l.forEach(s=>{this.attributesManagerService.getMemberGroupAttributes(r.id,s.id).subscribe(o=>{c--,this.userMemberships.push({entity:s,expirationAttribute:o.find(d=>"groupMembershipExpiration"===d.friendlyName)}),this.loading=0!==c})})})}),this.usersService.getGroupsInVoWhereUserIsAdmin(this.userId,t.id).subscribe(r=>{r.forEach(l=>{this.adminMemberships.push({entity:l,expirationAttribute:null})})})}}extendMembership(e){const t=this.store.get("registrar_base_url"),r=e.entity,l=this.vos.find(c=>c.id===r.voId).shortName;window.location.href=`${t}?vo=${l}&group=${e.entity.shortName}`}_filter(e){const t="string"==typeof e?e.toLowerCase():e.name.toLowerCase();return this.vos.filter(r=>r.name.toLowerCase().includes(t))}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36(Tt),i.Y36(Hi),i.Y36($t),i.Y36(Ds),i.Y36(ri))},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,uI,1,0,"mat-spinner",3),i.YNc(7,hI,4,5,"perun-web-apps-alert",4),i.YNc(8,fI,6,9,"div",5),i.YNc(9,gI,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:[w.O5,ln,Vr,Rn,bn,NE,Vi,ja,qO,ro,w.sg,Ci,Wn,VE],pipes:[me,ii,w.Ov],styles:[""]}),n})();function bI(n,a){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,a){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 Jp=(()=>{class n{constructor(){this.filter=new i.vpe,this.autoFocus=!1,this.formControl=new Yn}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","","data-cy","unfocused-filter",3,"formControl","placeholder",4,"ngIf"],["matInput","","perunWebAppsAutoFocus","","data-cy","auto-focused-filter",3,"formControl","placeholder"],["matInput","","data-cy","unfocused-filter",3,"formControl","placeholder"]],template:function(e,t){1&e&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,bI,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:[ln,w.O5,Rn,bn,hO,Vi,ja],pipes:[me],styles:[".filter-field[_ngcontent-%COMP%]{max-width:350px!important;width:100%!important;min-width:0!important;min-width:initial!important}"]}),n})(),yI=0;const cv=new i.OlP("CdkAccordion");let MI=(()=>{class n{constructor(){this._stateChanges=new Ie.x,this._openCloseAllActions=new Ie.x,this.id="cdk-accordion-"+yI++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=$e(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:cv,useExisting:n}]),i.TTD]}),n})(),wI=0,CI=(()=>{class n{constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Wt.w0.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-"+wI++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((l,c)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===c&&this.id!==l&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=$e(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=$e(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(cv,12),i.Y36(i.sBO),i.Y36(sm))},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:cv,useValue:void 0}])]}),n})(),vI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})();const TI=["body"];function xI(n,a){}const SI=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],EI=["mat-expansion-panel-header","*","mat-action-row"];function DI(n,a){if(1&n&&i._UZ(0,"span",2),2&n){const e=i.oxw();i.Q6J("@indicatorRotate",e._getExpandedState())}}const HI=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],LI=["mat-panel-title","mat-panel-description","*"],dv=new i.OlP("MAT_ACCORDION"),zE="225ms cubic-bezier(0.4,0.0,0.2,1)",FE={indicatorRotate:ti("indicatorRotate",[St("collapsed, void",Ne({transform:"rotate(0deg)"})),St("expanded",Ne({transform:"rotate(180deg)"})),vt("expanded <=> collapsed, void => collapsed",_t(zE))]),bodyExpansion:ti("bodyExpansion",[St("collapsed, void",Ne({height:"0px",visibility:"hidden"})),St("expanded",Ne({height:"*",visibility:"visible"})),vt("expanded <=> collapsed, void => collapsed",_t(zE))])};let wg=(()=>{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})(),kI=0;const jE=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Cg=(()=>{class n extends CI{constructor(e,t,r,l,c,s,o){super(e,t,r),this._viewContainerRef=l,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new Ie.x,this._headerId="mat-expansion-panel-header-"+kI++,this._bodyAnimationDone=new Ie.x,this.accordion=e,this._document=c,this._bodyAnimationDone.pipe(Cr((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{"void"!==d.fromState&&("expanded"===d.toState?this.afterExpand.emit():"collapsed"===d.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=$e(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(hi(null),(0,Ft.h)(()=>this.expanded&&!this._portal),(0,Ut.q)(1)).subscribe(()=>{this._portal=new Qc(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(dv,12),i.Y36(i.sBO),i.Y36(sm),i.Y36(i.s_b),i.Y36(w.K0),i.Y36(qn,8),i.Y36(jE,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,wg,5),2&e){let l;i.iGM(l=i.CRH())&&(t._lazyContent=l.first)}},viewQuery:function(e,t){if(1&e&&i.Gf(TI,5),2&e){let r;i.iGM(r=i.CRH())&&(t._body=r.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:dv,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:EI,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(SI),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(l){return t._bodyAnimationDone.next(l)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,xI,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:[em],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-content[style*="visibility: hidden"] *{visibility:hidden !important}.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 .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],encapsulation:2,data:{animation:[FE.bodyExpansion]},changeDetection:0}),n})();class PI{}const RI=Jo(PI);let vg=(()=>{class n extends RI{constructor(e,t,r,l,c,s,o){super(),this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=l,this._animationMode=s,this._parentChangeSubscription=Wt.w0.EMPTY;const d=e.accordion?e.accordion._stateChanges.pipe((0,Ft.h)(u=>!(!u.hideToggle&&!u.togglePosition))):va.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,Ri.T)(e.opened,e.closed,d,e._inputChanges.pipe((0,Ft.h)(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe((0,Ft.h)(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),c&&(this.expandedHeight=c.expandedHeight,this.collapsedHeight=c.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:Ln(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(Cg,1),i.Y36(i.SBq),i.Y36(oa),i.Y36(i.sBO),i.Y36(jE,8),i.Y36(qn,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(l){return t._keydown(l)}),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:LI,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(HI),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,DI,1,1,"span",1)),2&e&&(i.xp6(4),i.Q6J("ngIf",t._showToggle()))},directives:[w.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:[FE.indicatorRotate]},changeDetection:0}),n})(),OA=(()=>{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})(),IA=(()=>{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=$e(e)}ngAfterContentInit(){this._headers.changes.pipe(hi(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ol(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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275dir=i.lG2({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,vg,5),2&e){let l;i.iGM(l=i.CRH())&&(t._headers=l)}},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:dv,useExisting:n}]),i.qOj]}),n})(),uv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,vI,Wl]]}),n})();function OI(n,a){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 II=(()=>{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,OI,3,3,"mat-icon",0),2&e&&i.Q6J("ngIf",t.recentIds.indexOf(t.id)>-1)},directives:[w.O5,Wi,tr],pipes:[me],styles:[".disabled-icon[_ngcontent-%COMP%]{color:#00000042}"]}),n})();function BI(n,a){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 NI(n,a){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 VI(n,a){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 zI(n,a){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 FI=(()=>{class n{constructor(e){this.dialog=e,this.status="",this.statusChange=new i.vpe}changeStatus(){const e=Ei();e.width="500px",e.data={theme:this.theme,status:this.status,groupId:this.groupId,resourceId:this.resourceId},this.dialog.open(_L,e).afterClosed().subscribe(r=>{r&&this.statusChange.emit()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en))},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,NI,4,3,"span",1),i.YNc(3,VI,4,4,"span",1),i.YNc(4,zI,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:[w.O5,tr,Wi],pipes:[me],styles:[""]}),n})(),jI=(()=>{class n{transform(e){if(null==e)return null;let r="";return e.forEach(function(l){r=r.concat(l.tagName)}),r}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=i.Yjl({name:"resourceTagsToString",type:n,pure:!0}),n})(),qI=(()=>{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 YI(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",24),i.TgZ(1,"mat-checkbox",25),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",26),i.TgZ(1,"span",27),i.ALo(2,"translate"),i.TgZ(3,"mat-checkbox",28),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.itemSelectionToggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$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 UI(n,a){1&n&&(i.TgZ(0,"th",29),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 GI(n,a){if(1&n&&(i.TgZ(0,"td",30),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.id)}}function ZI(n,a){1&n&&i._UZ(0,"th",31)}function $I(n,a){if(1&n&&(i.TgZ(0,"td",32),i._UZ(1,"perun-web-apps-recently-viewed-icon",33),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("recentIds",t.recentIds)("id",e.id)}}function JI(n,a){1&n&&i._UZ(0,"th",31)}function XI(n,a){1&n&&(i.TgZ(0,"mat-icon",35),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 QI(n,a){if(1&n&&(i.TgZ(0,"td",32),i.YNc(1,XI,3,3,"mat-icon",34),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("ngIf",e.sourceGroupId)}}function KI(n,a){1&n&&(i.TgZ(0,"th",29),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 eB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.uIk("data-cy",e.name),i.xp6(1),i.hij(" ",e.name," ")}}function tB(n,a){1&n&&(i.TgZ(0,"th",29),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 iB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.vo.name)}}function nB(n,a){1&n&&(i.TgZ(0,"th",29),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_ID")," "))}function rB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.voId)}}function aB(n,a){1&n&&(i.TgZ(0,"th",29),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 sB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",32),i.TgZ(1,"perun-web-apps-group-resource-status",36),i.NdJ("mouseenter",function(){return i.CHM(e),i.oxw().disabledRouting=!0})("mouseleave",function(){i.CHM(e);const r=i.oxw();return r.disabledRouting=r.disableRouting})("statusChange",function(){return i.CHM(e),i.oxw().refreshTable.emit()}),i.qZA(),i.qZA()}if(2&n){const e=a.$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 oB(n,a){1&n&&(i.TgZ(0,"th",29),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 lB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.facility.name)}}function cB(n,a){1&n&&(i.TgZ(0,"th",29),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_ID")," "))}function dB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.facilityId)}}function uB(n,a){1&n&&(i.TgZ(0,"th",29),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 hB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.ALo(2,"resourceTagsToString"),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,e.resourceTags)," ")}}function pB(n,a){1&n&&(i.TgZ(0,"th",29),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 fB(n,a){if(1&n&&(i.TgZ(0,"td",32),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.description)}}function mB(n,a){1&n&&i._UZ(0,"tr",37)}const gB=function(n){return[n]};function _B(n,a){if(1&n&&(i._UZ(0,"tr",38),i.ALo(1,"getResourceRoute"),i.ALo(2,"getResourceRoute")),2&n){const e=a.$implicit,t=i.oxw();i.ekj("cursor-pointer",!t.disableRouting)("disable-outline",t.disabledRouting),i.Q6J("perunWebAppsMiddleClickRouterLink",i.VKq(12,gB,t.disabledRouting?null:i.xi3(1,6,e,t.routingVo)))("routerLink",t.disabledRouting?null:i.xi3(2,9,e,t.routingVo))}}function bB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",39),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 AB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",39),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 yB=(()=>{class n{constructor(e,t){this.guiAuthResolver=e,this.tableCheckbox=t,this.resources=[],this.selection=new _n(!0,[]),this.disableRouting=!1,this.routingVo=!1,this.displayedColumns=["select","id","recent","indirectResourceAssigment","name","vo","voId","status","facility","facilityId","tags","description"],this.pageSizeOptions=Np,this.groupId=null,this.resourcesToDisableCheckbox=new Set,this.refreshTable=new i.vpe,this.allSelected=new i.vpe,this.removeAuth=!1,this.addAuth=!1,this.getDataForColumnFun=(r,l)=>n.getDataForColumn(r,l,this.recentIds),this.canBeSelected=r=>!this.disableSelect(r)}set matSort(e){this.sort=e}static getDataForColumn(e,t,r){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 r&&r.includes(e.id)?"#".repeat(r.indexOf(e.id)):e.name;case"tags":{if(!e.resourceTags)return e[t];let c="";return e.resourceTags.forEach(function(s){c=c.concat(s.tagName)}),c}case"status":return e.status;case"uuid":return e.uuid;default:return e[t]}}ngOnInit(){this.disabledRouting=this.disableRouting}ngOnChanges(){this.guiAuthResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.setDataSource(),this.setAuth()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,this.getDataForColumnFun),e)}setDataSource(){this.dataSource||(this.dataSource=new rl,this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,this.getDataForColumnFun,!0),this.dataSource.sortData=(e,t)=>cg(e,t,this.getDataForColumnFun)),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,r)=>t&&this.guiAuthResolver.isAuthorized("removeGroupFromResources_Group_List_policy",e.concat([r])),!0),this.addAuth=this.selection.selected.reduce((t,r)=>t&&this.guiAuthResolver.isAuthorized("assignGroupToResources_Group_List_policy",e.concat([r])),!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(ks),i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-resources-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.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:43,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","voId"],["matColumnDef","status"],["matColumnDef","facility"],["matColumnDef","facilityId"],["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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,YI,2,3,"th",4),i.YNc(5,WI,4,9,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,UI,3,3,"th",7),i.YNc(8,GI,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,ZI,1,0,"th",10),i.YNc(11,$I,2,2,"td",11),i.BQk(),i.ynx(12,12),i.YNc(13,JI,1,0,"th",10),i.YNc(14,QI,2,1,"td",11),i.BQk(),i.ynx(15,13),i.YNc(16,KI,3,3,"th",7),i.YNc(17,eB,2,2,"td",11),i.BQk(),i.ynx(18,14),i.YNc(19,tB,3,3,"th",7),i.YNc(20,iB,2,1,"td",11),i.BQk(),i.ynx(21,15),i.YNc(22,nB,3,3,"th",7),i.YNc(23,rB,2,1,"td",11),i.BQk(),i.ynx(24,16),i.YNc(25,aB,3,3,"th",7),i.YNc(26,sB,2,5,"td",11),i.BQk(),i.ynx(27,17),i.YNc(28,oB,3,3,"th",7),i.YNc(29,lB,2,1,"td",11),i.BQk(),i.ynx(30,18),i.YNc(31,cB,3,3,"th",7),i.YNc(32,dB,2,1,"td",11),i.BQk(),i.ynx(33,19),i.YNc(34,uB,3,3,"th",7),i.YNc(35,hB,3,3,"td",11),i.BQk(),i.ynx(36,20),i.YNc(37,pB,3,3,"th",7),i.YNc(38,fB,2,1,"td",11),i.BQk(),i.YNc(39,mB,1,0,"tr",21),i.YNc(40,_B,3,14,"tr",22),i.qZA(),i.qZA(),i.qZA(),i.YNc(41,bB,3,3,"perun-web-apps-alert",23),i.YNc(42,AB,3,3,"perun-web-apps-alert",23)),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(37),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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,tr,Mg,II,w.O5,Wi,FI,po,mo,fo,go,RE,Ha,Wn],pipes:[me,jI,qI],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 MB(n,a){1&n&&i._UZ(0,"mat-spinner",8)}const wB=function(){return["name","description"]};function CB(n,a){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,wB))("disableRouting",!0)}}function vB(n,a){if(1&n&&(i.YNc(0,MB,1,0,"mat-spinner",6),i.YNc(1,CB,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 TB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",4),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw().getMemberData(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,vB,2,2,"ng-template",5),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let xB=(()=>{class n{constructor(e,t,r,l){this.usersManagerService=e,this.membersManagerService=t,this.resourcesManagerService=r,this.storage=l,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(r=>{this.resources=r,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(Ti),i.Y36(Tt),i.Y36(_i),i.Y36($t))},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(l){return t.applyFilter(l)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"mat-accordion"),i.YNc(9,TB,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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,yB],pipes:[me,ii],styles:[""]}),n})();function SB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilter(r)}),i.qZA()}2&n&&i.Q6J("placeholder","ORGANIZATIONS.FILTER")}function EB(n,a){1&n&&i._UZ(0,"mat-spinner",6)}const DB=function(){return["name","expirationAttribute","extend"]};function HB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"perun-web-apps-membership-list",11),i.NdJ("extendMembership",function(r){return i.CHM(e),i.oxw(2).extendMembership(r)}),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,DB))}}function LB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 kB(n,a){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,HB,2,5,"div",9),i.YNc(6,LB,4,5,"perun-web-apps-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 PB(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 RB=function(){return["name"]};function OB(n,a){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,RB))}}function IB(n,a){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,PB,4,5,"perun-web-apps-alert",10),i.YNc(6,OB,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 BB=(()=>{class n{constructor(e,t,r){this.usersService=e,this.store=t,this.membersService=r,this.filterValue="",this.selection=new _n(!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}extendMembership(e){const t=this.store.get("registrar_base_url");window.location.href=`${t}?vo=${e.entity.shortName}`}fillMemberships(e,t){this.membersService.getMembersByUser(this.userId).subscribe(r=>{e.forEach(l=>{const c=r.find(s=>s.voId===l.id);c?this.membersService.getRichMemberWithAttributes(c.id).subscribe(s=>{const o=s.memberAttributes.find(d=>"membershipExpiration"===d.friendlyName);t.push({entity:l,expirationAttribute:o}),this.isEverythingLoaded()}):(t.push({entity:l,expirationAttribute:null}),this.isEverythingLoaded())})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36($t),i.Y36(Tt))},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,SB,1,1,"perun-web-apps-immediate-filter",2),i.YNc(6,EB,1,0,"mat-spinner",3),i.YNc(7,kB,7,7,"div",4),i.YNc(8,IB,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:[w.O5,Jp,Ci,VE,Wn],pipes:[me,ii],styles:[""]}),n})(),NB=(()=>{class n{}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:[Ar],styles:[""]}),n})(),VB=(()=>{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(Oi),i.Y36(cn))},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:[kn,Pn,vn,It,BC],pipes:[me,ii],styles:[".center-text[_ngcontent-%COMP%]{text-align:center}"]}),n})();function zB(n,a){1&n&&i._UZ(0,"mat-spinner",7)}function FB(n,a){1&n&&i._UZ(0,"th",16)}function jB(n,a){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function qB(n,a){1&n&&i._UZ(0,"tr",18)}function YB(n,a){1&n&&i._UZ(0,"tr",19)}function WB(n,a){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,FB,1,0,"th",12),i.YNc(12,jB,2,1,"td",13),i.BQk(),i.YNc(13,qB,1,0,"tr",14),i.YNc(14,YB,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 UB=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.usersManagerService=r,this.displayedColumns=["description"]}ngOnInit(){this.dataSource=new rl(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(Oi),i.Y36(cn),i.Y36(Ti))},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,zB,1,0,"mat-spinner",2),i.qZA(),i.YNc(6,WB,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();function GB(n,a){1&n&&i._UZ(0,"th",12)}function ZB(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",13),i.TgZ(1,"mat-checkbox",14),i.NdJ("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null})("click",function(r){return r.stopPropagation()}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("aria-label",t.checkboxLabel(e))("checked",t.selection.isSelected(e))}}function $B(n,a){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 JB(n,a){if(1&n&&(i.TgZ(0,"td",16),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function XB(n,a){1&n&&i._UZ(0,"tr",17)}function QB(n,a){1&n&&i._UZ(0,"tr",18)}function KB(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-alert",19),i._uU(1),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.hij(" ",e.alertText,"\n")}}let qE=(()=>{class n{constructor(){this.values=[],this.selection=new _n(!1,[]),this.alertText="",this.headerColumnText="",this.displayedColumns=["select","value"]}static getExportDataForColumn(e){return e}ngOnChanges(){this.values=this.values?this.values:[],this.dataSource=new rl(this.values),this.setDataSource()}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getExportDataForColumn),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(As,7),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,GB,1,0,"th",4),i.YNc(5,ZB,2,2,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,$B,2,1,"th",7),i.YNc(8,JB,2,1,"td",8),i.BQk(),i.YNc(9,XB,1,0,"tr",9),i.YNc(10,QB,1,0,"tr",10),i.qZA(),i.qZA(),i.qZA(),i.YNc(11,KB,2,1,"perun-web-apps-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:[As,ho,ws,Ms,Cs,ys,vs,lc,po,mo,fo,go,w.O5,Wn],styles:[".static-column-size[_ngcontent-%COMP%]{width:20px!important}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:100px}"]}),n})();function e3(n,a){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 t3(n,a){1&n&&i._UZ(0,"mat-spinner",11)}let n3=(()=>{class n{constructor(e,t,r,l,c){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.usersManagerService=c,this.altPasswordCtrl=new Yn(null,[An.required]),this.userId=this.store.getPerunPrincipal().userId,this.passwordDescriptions=new Set,this.displayedValues=[],this.selection=new _n(!1,[]),l.get("ALT_PASSWORDS.REMOVE_DIALOG_DESCRIPTION").subscribe(s=>this.removeDialogDescription=s),l.get("ALT_PASSWORDS.REMOVE_DIALOG_TITLE").subscribe(s=>this.removeDialogTitle=s),l.get("ALERTS.NO_ALT_PASSWORDS").subscribe(s=>this.alertText=s),l.get("ALT_PASSWORDS.HEADER_COLUMN").subscribe(s=>this.headerColumnText=s)}ngOnInit(){this.getAltPasswords()}createPassword(){const e=this.generatePassword();this.usersManagerService.createAlternativePassword({user:this.userId,description:this.altPasswordCtrl.value,loginNamespace:"einfra",password:e}).subscribe(()=>{const t=Ei();t.width="600px",t.data={password:e},this.dialog.open(VB,t),this.getAltPasswords(),this.altPasswordCtrl.setValue("")})}generatePassword(){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%&/=?_.,:;\\-";let r="",l=0;const c=t.length;for(;l<16;++l)r+=t.charAt(Math.random()*c);return r.match("((?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])|(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%&/=?_.,:;\\-])).{3,}")||this.generatePassword(),r}alreadyContainsValue(e){return this.passwordDescriptions.has(e)}removeAltPasswords(){const e=Ei();e.width="600px",e.data={description:this.selection.selected,passwordId:this.altPasswordsAttributeValue.get(this.selection.selected[0]),userId:this.userId},this.dialog.open(UB,e).afterClosed().subscribe(r=>{r&&(this.getAltPasswords(),this.selection.clear())})}getAltPasswords(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:altPasswords:einfra").subscribe(e=>{if(e.value){this.altPasswordsAttributeValue=new Map(Object.entries(e.value));const t=this.altPasswordsAttributeValue.keys();this.passwordDescriptions=new Set(t),this.displayedValues=Array.from(this.passwordDescriptions.values())}else this.displayedValues=[];this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le),i.Y36(Ti))},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,"perun-web-apps-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,e3,1,4,"perun-web-apps-string-list",8),i.YNc(27,t3,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:[ln,Rn,bn,Vi,ja,It,Wn,w.O5,qE,Ci],pipes:[me,ii],styles:[""]}),n})();function r3(n,a){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=a.$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 a3=(()=>{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:"face",url:"/profile/settings/localAccount",label:"SETTINGS.LOCAL_ACCOUNT",tabName:"local_acc"},{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($t))},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,r3,7,7,"mat-list-item",0),i.qZA()),2&e&&(i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[QC,w.sg,SA,hr,Ha,Wi],pipes:[me,ii],styles:["mat-list-item[_ngcontent-%COMP%]:hover{background:var(--side-hover)!important;color:var(--side-text-active)!important;cursor:pointer}"]}),n})(),s3=(()=>{class n extends yn{buildStyles(e,{display:t}){const r=_S(e);return Object.assign(Object.assign({},r),{display:"none"===t?t:r.display})}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const o3=["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 l3=(()=>{class n extends dn{constructor(e,t,r,l,c){super(e,r,t,l),this._config=c,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){var t;const l=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(t=WE.get(l))&&void 0!==t?t:new Map,WE.set(l,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:l}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(s3),i.Y36(tn),i.Y36(_o))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})(),YE=(()=>{class n extends l3{constructor(){super(...arguments),this.inputs=o3}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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 WE=new Map;let F3=(()=>{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 a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const j3=["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 q3=(()=>{class n extends dn{constructor(e,t,r,l){super(e,r,t,l),this.DIRECTIVE_KEY="flex-align",this.styleCache=Y3,this.init()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(Ui),i.Y36(F3),i.Y36(tn))},n.\u0275dir=i.lG2({type:n,features:[i.qOj]}),n})();const Y3=new Map;let ZE=(()=>{class n extends q3{constructor(){super(...arguments),this.inputs=j3}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=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})(),$E=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC,ka]]}),n})();function oN(n,a){if(1&n&&(i.TgZ(0,"mat-option",13),i._uU(1),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.Q6J("value",t.selectedUnit),i.xp6(1),i.hij(" ",e," ")}}let lN=(()=>{class n{constructor(e,t,r,l,c){this.dialogRef=e,this.data=t,this.rtMessagesService=r,this.notificator=l,this.translate=c,this.resource="",this.currentQuota="",this.units=["MiB","GiB","TiB"],this.selectedUnit="GiB",c.get("DIALOGS.REQUEST_DATA_QUOTA_CHANGE.SUCCESS").subscribe(s=>this.successMessage=s)}ngOnInit(){this.resource=this.data.resource.name,this.currentQuota=this.data.currentQuota,this.reasonControl=new Yn(null,[An.required]),this.newValueControl=new Yn(null,[An.required,An.pattern("[1-9][0-9]*")])}onCancel(){this.dialogRef.close()}onSubmit(){const r=`QUOTA CHANGE REQUEST\u21b5 \u21b5 User: ${(new cA).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",r).subscribe(()=>{this.notificator.showSuccess(this.successMessage),this.dialogRef.close()})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(cn),i.Y36(fn),i.Y36(ir),i.Y36(Le))},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(l){return t.selectedUnit=l}),i.YNc(26,oN,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:[kn,YE,ZE,ln,Rn,Cp,bn,Fr,Vi,ja,Hp,w.sg,ro,vn,It],pipes:[me,ii],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 cN(n,a){1&n&&i._UZ(0,"mat-spinner",8)}function dN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 uN(n,a){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 r=i.oxw().$implicit,l=i.oxw(3).$implicit;return i.oxw().requestChangeQuota(l,r)}),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 hN(n,a){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 pN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw(4).getResAttributes(l.id)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,uN,15,16,"div",7),i.YNc(5,hN,4,5,"p",7),i.qZA()}if(2&n){const e=a.$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 fN(n,a){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,pN,6,3,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function mN(n,a){if(1&n&&(i.YNc(0,cN,1,0,"mat-spinner",5),i.YNc(1,dN,4,5,"perun-web-apps-alert",6),i.YNc(2,fN,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 gN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw().getMembersResources(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,mN,3,3,"ng-template",4),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.hij(" ",e.name," ")}}let _N=(()=>{class n{constructor(e,t,r,l,c,s){this.store=e,this.usersManagerService=t,this.membersService=r,this.resourcesManagerService=l,this.attributesManagerService=c,this.dialog=s,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(r=>{let l=r.length;l||(this.loading=!1),r.forEach(c=>{this.attributesManagerService.getResourceAttributes(c.id).subscribe(s=>{l--,s.find(o=>"defaultDataQuotas"===o.friendlyName)&&this.resources.push(c),this.loading=0!==l})})})})}getResAttributes(e){this.attributesManagerService.getResourceAttributes(e).subscribe(t=>{let r=t.find(l=>"dataQuotas"===l.friendlyName);if(null==r?void 0:r.value){const l=Object.entries(r.value).map(c=>String(c[1]));this.currentQuota=l[0]}else this.currentQuota="";if(r=t.find(l=>"defaultDataQuotas"===l.friendlyName),null==r?void 0:r.value){const l=Object.entries(r.value).map(c=>String(c[1]));this.defaultQuota=l[0]}else this.defaultQuota="";this.currentQuota||(this.currentQuota=this.defaultQuota),this.parseMarkup()})}requestChangeQuota(e,t){const r=Ei();r.width="400px",r.data={vo:e,resource:t,user:this.user,currentQuota:this.quotasMarkup},this.dialog.open(lN,r)}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}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}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Ti),i.Y36(Tt),i.Y36(_i),i.Y36(ri),i.Y36(en))},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"],[1,"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(l){return t.applyFilter(l)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,gN,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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,Wn,It],pipes:[me,ii],styles:[".color-gray[_ngcontent-%COMP%]{color:gray}"]}),n})();function bN(n,a){1&n&&i._UZ(0,"mat-spinner",8)}function AN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 yN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("closed",function(){return i.CHM(e),i.oxw(4).deselectResource()})("afterExpand",function(){const l=i.CHM(e).$implicit;return i.oxw(4).changeSelectedResource(l)}),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,"mat-checkbox",11),i.NdJ("change",function(){return i.CHM(e),i.oxw(4).setOptOut()}),i.qZA(),i.TgZ(6,"p"),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw(4);i.Q6J("expanded",e.name===t.selectedResource),i.xp6(3),i.hij(" ",e.name," "),i.xp6(2),i.Q6J("checked",t.optOutAttribute&&null!==t.optOutAttribute.value),i.xp6(2),i.Oqu(i.lcZ(8,4,i.lcZ(9,6,"OPT_OUT_MAILING_LISTS.OPT_OUT_LABEL")))}}function MN(n,a){if(1&n&&(i.TgZ(0,"mat-accordion"),i.YNc(1,yN,10,8,"mat-expansion-panel",2),i.qZA()),2&n){const e=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",e.resources)}}function wN(n,a){if(1&n&&(i.YNc(0,bN,1,0,"mat-spinner",5),i.YNc(1,AN,4,5,"perun-web-apps-alert",6),i.YNc(2,MN,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 CN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",3),i.NdJ("closed",function(){return i.CHM(e),i.oxw().deselectVo()})("afterExpand",function(){const l=i.CHM(e).$implicit;return i.oxw().changeSelectedVo(l)}),i.TgZ(1,"mat-expansion-panel-header"),i.TgZ(2,"mat-panel-title"),i._uU(3),i.qZA(),i.qZA(),i.YNc(4,wN,3,3,"ng-template",4),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.Q6J("expanded",e.shortName===t.selectedVo),i.xp6(3),i.hij(" ",e.name," ")}}let vN=(()=>{class n{constructor(e,t,r,l,c,s,o,d,u){this.store=e,this.usersManagerService=t,this.membersService=r,this.resourcesManagerService=l,this.attributesManagerService=c,this.route=s,this.router=o,this.notificator=d,this.translate=u,this.vos=[],this.resources=[],this.optOuts=[],this.filteredVos=[],this.loading=!0,this.selectedVo=null,this.selectedResource=null}ngOnDestroy(){this.router.navigate([],{relativeTo:this.route,queryParams:{vo:null,resource:null},replaceUrl:!0})}ngOnInit(){this.route.queryParams.subscribe(e=>{this.selectedVo=String(e.vo),this.selectedResource=String(e.resource),this.changeOptOut=String(e.action),this.user=this.store.getPerunPrincipal().user,this.usersManagerService.getVosWhereUserIsMember(this.user.id).subscribe(t=>{if(this.vos=t.sort(Yx),this.filteredVos=t,void 0!==this.selectedResource){const r=this.vos.find(l=>l.shortName===this.selectedVo);r&&this.getMailingLists(r)}else if(void 0!==this.selectedVo){const r=this.vos.find(l=>l.shortName===this.selectedVo);r&&(this.getMailingLists(r),this.changeSelectedVo(r))}})}).unsubscribe()}changeSelectedResource(e){this.selectedResource!==e.name&&this.getOptOutAttribute(e),this.changeOptOut&&("subscribe"===this.changeOptOut?this.subscribe():"unsubscribe"===this.changeOptOut&&this.unsubscribe(),this.changeOptOut=null),this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource,action:null},queryParamsHandling:"merge"})}changeSelectedVo(e){this.selectedVo!==e.shortName&&(this.getMailingLists(e),this.selectedResource=null),this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}getMailingLists(e){this.selectedVo=e.shortName,this.loading=!0,this.resources=[],this.membersService.getMemberByUser(e.id,this.user.id).subscribe(t=>{this.resourcesManagerService.getMailingServiceRichResourcesWithMember(t.id).subscribe(r=>{let l=r.length;l||(this.loading=!1),r.forEach(c=>{this.attributesManagerService.getRequiredAttributesMemberResource(t.id,c.id).subscribe(s=>{this.attributesManagerService.getResourceAttributeByName(c.id,"urn:perun:resource:attribute-def:def:disableMailingListOptOut").subscribe(o=>{l--;const d=s.find(u=>"optOutMailingList"===u.friendlyName);d&&"true"!==(null==o?void 0:o.value)&&(this.optOuts.push({resource:c.id,member:t.id,attribute:d}),this.resources.push(c),this.selectedResource===c.name&&(this.getOptOutAttribute(c),this.changeSelectedResource(c))),this.loading=0!==l})})})}),this.resources.sort(Yx)})}getOptOutAttribute(e){this.selectedResource=e.name,this.index=this.resources.indexOf(e),this.optOutAttribute=this.optOuts[this.index].attribute}unsubscribe(){const e=String(this.optOuts[this.index].attribute.value);this.optOuts[this.index].attribute.value="true",this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("OPT_OUT_MAILING_LISTS.UNSUBSCRIBED")+this.selectedResource+".")},()=>{this.optOuts[this.index].attribute.value=e})}subscribe(){const e=String(this.optOuts[this.index].attribute.value);this.optOuts[this.index].attribute.value=null,this.attributesManagerService.setMemberResourceAttribute(this.optOuts[this.index]).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("OPT_OUT_MAILING_LISTS.SUBSCRIBED")+this.selectedResource+".")},()=>{this.optOuts[this.index].attribute.value=e})}setOptOut(){this.optOutAttribute.value?this.subscribe():this.unsubscribe()}applyFilter(e){this.filteredVos=this.vos.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))}deselectVo(){this.loading=!0,this.selectedVo=null,this.selectedResource=null,this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}deselectResource(){this.selectedResource=null,this.router.navigate([],{relativeTo:this.route,queryParams:{vo:this.selectedVo,resource:this.selectedResource},queryParamsHandling:"merge"})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(Ti),i.Y36(Tt),i.Y36(_i),i.Y36(ri),i.Y36(Jn),i.Y36(Mi),i.Y36(ir),i.Y36(Le))},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,"expanded","closed","afterExpand",4,"ngFor","ngForOf"],[3,"expanded","closed","afterExpand"],["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","mr-2",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(l){return t.applyFilter(l)}),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"mat-accordion"),i.YNc(8,CN,5,2,"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:[Jp,IA,w.sg,Cg,vg,OA,wg,w.O5,Ci,Wn,lc],pipes:[me,ii],styles:[""]}),n})();function TN(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function xN(n,a){1&n&&i._UZ(0,"th",17)}function SN(n,a){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e)}}function EN(n,a){1&n&&i._UZ(0,"tr",19)}function DN(n,a){1&n&&i._UZ(0,"tr",20)}function HN(n,a){if(1&n&&(i.TgZ(0,"table",11),i.ynx(1,12),i.YNc(2,xN,1,0,"th",13),i.YNc(3,SN,2,1,"td",14),i.BQk(),i.YNc(4,EN,1,0,"tr",15),i.YNc(5,DN,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 LN(n,a){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,HN,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 NA=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.displayedColumns=["name"]}ngOnInit(){this.dataSource=new rl(this.data.values),this.description=this.data.description,this.title=this.data.title}onCancel(){this.dialogRef.close(!1)}onSubmit(){var e,t;if(this.loading=!0,this.data.doNotShowValues)this.data.attribute.value="";else{let r=null!==(t=null===(e=this.data.attribute)||void 0===e?void 0:e.value)&&void 0!==t?t:[];void 0!==this.data.valueIndex?r.splice(this.data.valueIndex,1):r=r.filter(l=>!this.data.values.find(c=>c===l)),this.data.attribute.value=r}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(Oi),i.Y36(cn),i.Y36(ri))},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,TN,1,0,"mat-spinner",2),i.qZA(),i.YNc(4,LN,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:[kn,w.O5,Ci,Pn,ho,ws,Ms,Cs,ys,vs,po,mo,fo,go,vn,It],pipes:[me,ii],styles:[""]}),n})();function kN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 PN(n,a){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=a.$implicit;i.Q6J("value",e),i.xp6(1),i.Oqu(e)}}function RN(n,a){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(r){const c=i.CHM(e).index;return i.oxw(2).shells[c]=r}),i.YNc(3,PN,2,2,"mat-option",9),i.qZA(),i.qZA(),i.TgZ(4,"button",10),i.NdJ("click",function(){const l=i.CHM(e).index;return i.oxw(2).removeShell(l)}),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.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 ON(n,a){if(1&n&&(i.TgZ(0,"mat-list"),i.YNc(1,RN,8,7,"mat-list-item",6),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("ngForOf",e.shells)}}let IN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.defaultShells=["/bin/bash","/bin/csh","/bin/ksh","/bin/sh","/bin/zsh"],this.shells=[],l.get("PREFERRED_SHELLS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("PREFERRED_SHELLS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c)}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(()=>{})}removeShell(e){const t=Ei();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(NA,t).afterClosed().subscribe(l=>{l&&this.getAttribute()})}changeValue(){this.loading=!0,this.prefShellsAttribute.value=this.shells,this.attributesManagerService.setUserAttribute({user:this.userId,attribute:this.prefShellsAttribute}).subscribe(()=>{this.getAttribute()})}getAttribute(){this.loading=!0,this.attributesManagerService.getUserAttributeByName(this.userId,"urn:perun:user:attribute-def:def:preferredShells").subscribe(e=>{var t,r;this.prefShellsAttribute=e,this.shells=null!==(r=null===(t=this.prefShellsAttribute)||void 0===t?void 0:t.value)&&void 0!==r?r:[],this.loading=!1})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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,"perun-web-apps-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,kN,4,5,"perun-web-apps-alert",3),i.YNc(13,ON,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:[Wn,It,w.O5,QC,w.sg,SA,ln,Hp,ro],pipes:[me,ii],styles:[""]}),n})();function BN(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function NN(n,a){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 VN=(()=>{class n{constructor(e,t,r){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.groups=[]}ngOnInit(){this.inputControl=new Yn(null,An.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=>{var t;const r=null!==(t=null==e?void 0:e.value)&&void 0!==t?t:[];r.push(this.inputControl.value),e.value=r,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(Oi),i.Y36(cn),i.Y36(ri))},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,BN,1,0,"mat-spinner",2),i.YNc(6,NN,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:[kn,w.O5,Ci,Pn,ln,Rn,bn,Fr,Vi,ja,vn,It],pipes:[me,ii],styles:[""]}),n})();function zN(n,a){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 l=i.CHM(e).$implicit;return i.oxw().addGroupName(l)}),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.TgZ(7,"button",4),i.NdJ("click",function(){const r=i.CHM(e),l=r.$implicit,c=r.index;return i.oxw().removeGroupName(l,c)}),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=a.$implicit,t=a.index,r=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===r.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",r.groupNames.get(e))("selection",r.selectionList[t])("alertText",r.alertText)("headerColumnText",r.headerColumnText)}}let FN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,this.namespaces=[],this.userId=this.store.getPerunPrincipal().userId,this.groupNames=new Map,this.groupNameAttributes=[],this.selectionList=[],l.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("PREFERRED_UNIX_GROUP_NAMES.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),l.get("ALERTS.NO_PREFERRED_UNIX_GROUPS").subscribe(c=>this.alertText=c),l.get("PREFERRED_UNIX_GROUP_NAMES.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}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(){this.namespaces.forEach(()=>{this.selectionList.push(new _n(!0,[]))})}getAttribute(e){this.attributesManagerService.getUserAttributeByName(this.userId,`urn:perun:user:attribute-def:def:preferredUnixGroupName-namespace:${e}`).subscribe(t=>{var r;const l=null!==(r=null==t?void 0:t.value)&&void 0!==r?r:[];this.groupNames.set(e,l),this.groupNameAttributes.push(t)})}addGroupName(e){const t=this.groupNames.get(e),r=Ei();r.width="400px",r.data={groups:t,namespace:e,userId:this.userId},this.dialog.open(VN,r).afterClosed().subscribe(c=>{c&&this.getAttribute(e)})}removeGroupName(e,t){const r=Ei();r.width="600px",r.data={values:this.selectionList[t].selected,attribute:this.groupNameAttributes[t],userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,r).afterClosed().subscribe(c=>{c&&(this.selectionList[t].clear(),this.getAttribute(e))})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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,zN,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:[w.sg,It,qE],pipes:[me,ii],styles:[""]}),n})();function jN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 qN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 YN(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 WN=(()=>{class n{constructor(e,t,r,l,c){this.attributesManagerService=e,this.store=t,this.usersManagerService=r,this.notificator=l,this.translate=c,c.get("SAMBA_PASSWORD.SUCCESS_MESSAGE").subscribe(s=>this.successMessage=s),c.get("SAMBA_PASSWORD.SHOW_PWD_TOOLTIP").subscribe(s=>this.showPwdTooltip=s),c.get("SAMBA_PASSWORD.HIDE_PWD_TOOLTIP").subscribe(s=>this.hidePwdTooltip=s)}ngOnInit(){this.userId=this.store.getPerunPrincipal().userId,this.sambaControl=new Yn("",[An.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({user:this.userId,description:e,loginNamespace:"samba-du",password: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(ri),i.Y36($t),i.Y36(Ti),i.Y36(ir),i.Y36(Le))},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,jN,4,5,"perun-web-apps-alert",1),i.YNc(5,qN,4,5,"perun-web-apps-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,YN,4,5,"perun-web-apps-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:[w.O5,Wn,ln,Rn,bn,Vi,ja,It,tr,Wi],pipes:[me,ii],styles:[""]}),n})();function UN(n,a){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 al{constructor(a,e,t){this.dialogRef=a,this.data=e,this.attributesManagerService=t}ngOnInit(){this.sshControl=new Yn(null,[An.required,An.pattern(al.sshKeyPattern)])}onCancel(){this.dialogRef.close(!1)}onSubmit(){var a,e;const t=null!==(e=null===(a=this.data.attribute)||void 0===a?void 0:a.value)&&void 0!==e?e:[],r=this.sshControl.value;t.includes(r)||t.push(r),this.data.attribute.value=t,this.attributesManagerService.setUserAttribute({user:this.data.userId,attribute:this.data.attribute}).subscribe(()=>{this.dialogRef.close(!0)},()=>{t.pop()})}}al.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"],al.sshKeyPattern="^("+al.allowedSshKeys.join("|")+").+$",al.\u0275fac=function(a){return new(a||al)(i.Y36(Oi),i.Y36(cn),i.Y36(ri))},al.\u0275cmp=i.Xpm({type:al,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(a,e){1&a&&(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,UN,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&a&&(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:[kn,Pn,ln,Rn,dA,bn,Fr,Vi,ja,w.O5,ed,vn,It],pipes:[me,ii],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 GN=(()=>{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(Oi),i.Y36(cn))},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:[Rn,dA,vn,It],pipes:[me,ii],styles:[".display-fix[_ngcontent-%COMP%]{overflow:hidden;border:none}*[_ngcontent-%COMP%]:focus{outline:none}"]}),n})();function ZN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"p",5),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showWholeKey(l)}),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 l=i.CHM(e).$implicit;return i.oxw().removeKey(l,!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=a.$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 $N(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-list-item",4),i.TgZ(1,"label",8),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().showWholeKey(l)}),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 l=i.CHM(e).$implicit;return i.oxw().removeKey(l,!0)}),i.TgZ(7,"mat-icon"),i._uU(8," delete "),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(2),i.Oqu(e),i.xp6(1),i.Q6J("cdkCopyToClipboard",e)}}let JN=(()=>{class n{constructor(e,t,r,l){this.store=e,this.attributesManagerService=t,this.dialog=r,this.translateService=l,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 _n(!1,[]),this.selectionAdmin=new _n(!1,[]),l.get("SSH_KEYS.REMOVE_DIALOG_DESCRIPTION").subscribe(c=>this.removeDialogDescription=c),l.get("SSH_KEYS.REMOVE_DIALOG_TITLE").subscribe(c=>this.removeDialogTitle=c),l.get("ALERTS.NO_ALT_PASSWORDS").subscribe(c=>this.alertText=c),l.get("SSH_KEYS.HEADER_COLUMN").subscribe(c=>this.headerColumnText=c)}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=Ei();t.width="850px",t.data={attribute:e?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId},this.dialog.open(al,t).afterClosed().subscribe(l=>{l&&(e?this.getAdminSSH():this.getUserSSH())})}removeKey(e,t){const r=Ei();r.width="600px",r.data={values:[e],attribute:t?this.adminKeyAttribute:this.userKeyAttribute,userId:this.userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,r).afterClosed().subscribe(c=>{c&&(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=Ei();t.width="600px",t.data={value:e},this.dialog.open(GN,t)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36($t),i.Y36(ri),i.Y36(en),i.Y36(Le))},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 w-auto","matRipple","",4,"ngFor","ngForOf"],[1,"page-title","mt-5"],["matRipple","",1,"dark-hover-list-item","w-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,ZN,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,$N,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:[It,QC,w.sg,SA,hr,BC,tr,Wi],pipes:[me,ii],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})(),XN=(()=>{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 QN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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 KN(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"mat-checkbox",20),i.NdJ("click",function(r){return r.stopPropagation()})("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null}),i.ALo(2,"multiWordDataCy"),i.ALo(3,"isVirtualAttribute"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 eV(n,a){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 tV(n,a){if(1&n&&(i.TgZ(0,"td",22),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.id)}}function iV(n,a){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 nV(n,a){if(1&n&&(i.TgZ(0,"td",23),i.TgZ(1,"div",24),i._uU(2),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.s9C("matTooltip",t.getAttributeFullName(e)),i.xp6(1),i.hij(" ",e.displayName," ")}}function rV(n,a){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 aV(n,a){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 l=i.CHM(e).$implicit;return i.oxw().onValueChange(l)}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("attribute",e)("readonly",t.readonly||!e.writable)}}function sV(n,a){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 oV(n,a){if(1&n&&(i.TgZ(0,"td",23),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.description)}}function lV(n,a){1&n&&i._UZ(0,"tr",27)}function cV(n,a){if(1&n&&(i._UZ(0,"tr",28),i.ALo(1,"translate")),2&n){const e=a.$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 dV(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 uV(n,a){if(1&n&&(i.TgZ(0,"perun-web-apps-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 hV=(()=>{class n{constructor(e,t){this.authResolver=e,this.tableCheckbox=t,this.attributes=[],this.selection=new _n(!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=Np}set matSort(e){this.sort=e,this.setDataSource()}static canBeSelected(e){return!Nu(e)&&e.writable}static 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""}}ngOnChanges(){this.authResolver.isPerunAdminOrObserver()||(this.displayedColumns=this.displayedColumns.filter(e=>"id"!==e)),this.dataSource=new rl(function ZD(n){return n.filter(a=>!a.namespace.includes("def:core"))}(this.attributes)),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.displayedColumns=this.displayedColumns.filter(e=>!this.hiddenColumns.includes(e)),this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns.concat("urn"),n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),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,n.canBeSelected)}masterToggle(){this.tableCheckbox.masterToggle(this.isAllSelected(),this.selection,this.filterValue,this.dataSource,this.sort,this.child.paginator.pageSize,this.child.paginator.pageIndex,!0,n.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){n.canBeSelected(e)&&this.selection.select(e)}getAttributeFullName(e){return`${e.namespace}:${e.friendlyName}`}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ks),i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-attributes-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7),i.Gf(lv,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.first),i.iGM(r=i.CRH())&&(t.items=r)}},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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,QN,2,3,"th",4),i.YNc(5,KN,4,8,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,eV,3,3,"th",7),i.YNc(8,tV,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,iV,3,3,"th",7),i.YNc(11,nV,3,2,"td",10),i.BQk(),i.ynx(12,11),i.YNc(13,rV,3,3,"th",12),i.YNc(14,aV,2,2,"td",10),i.BQk(),i.ynx(15,13),i.YNc(16,sV,3,3,"th",7),i.YNc(17,oV,2,1,"td",10),i.BQk(),i.YNc(18,lV,1,0,"tr",14),i.YNc(19,cV,2,5,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.YNc(20,dV,3,3,"perun-web-apps-alert",16),i.YNc(21,uV,3,3,"perun-web-apps-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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,Mg,tr,lv,po,mo,fo,go,w.O5,Wn],pipes:[ev,XN,me],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 pV(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function fV(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function mV(n,a){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 gV(n,a){if(1&n&&(i.YNc(0,fV,1,0,"mat-spinner",3),i.YNc(1,mV,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 _V(n,a){1&n&&i._UZ(0,"mat-spinner",5)}function bV(n,a){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 AV(n,a){if(1&n&&(i.YNc(0,_V,1,0,"mat-spinner",3),i.YNc(1,bV,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 yV(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"mat-expansion-panel",6),i.NdJ("opened",function(){const l=i.CHM(e).$implicit;return i.oxw(2).getMemberData(l)}),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,AV,2,2,"ng-template",7),i.qZA()}if(2&n){const e=a.$implicit;i.xp6(3),i.AsE(" ",i.lcZ(4,2,i.lcZ(5,4,"PRIVACY.DATA")),"",e.name," ")}}function MV(n,a){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,gV,2,2,"ng-template",7),i.qZA(),i.YNc(8,yV,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 wV=(()=>{class n{constructor(e,t,r,l){this.usersManagerService=e,this.membersService=t,this.attributesManagerService=r,this.storage=l,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 cA).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(r=>{this.attributes=r.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(Ti),i.Y36(Tt),i.Y36(ri),i.Y36($t))},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(l){return t.applyFilter(l)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,pV,1,0,"mat-spinner",3),i.YNc(9,MV,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:[Jp,w.O5,Ci,IA,Cg,vg,OA,wg,hV,w.sg],pipes:[me,ii],styles:[""]}),n})(),CV=(()=>{class n{}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:[Ar],styles:[""]}),n})(),EV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),IV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[EV,ut],ut]}),n})(),UV=(()=>{class n{constructor(){this.changes=new Ie.x,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 $V={provide:new i.OlP("mat-datepicker-scroll-strategy"),deps:[xr],useFactory:function ZV(n){return()=>n.scrollStrategies.reposition()}};let gv=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[UV,$V],imports:[[w.ez,ls,Kc,Il,Wl,ut],za]}),n})();new i.OlP("mat-selectsearch-default-options");let rz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,il,ls,_g,uo,jp,nl]]}),n})(),_v=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ut],ut]}),n})(),eD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[Zc,ut],Zc,ut]}),n})(),oz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[ka]]}),n})(),bv=(()=>{class n{constructor(){this.changes=new Ie.x,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 bz={provide:bv,deps:[[new i.FiY,new i.tp0,bv]],useFactory:function _z(n){return n||new bv}};let iD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[bz,au],imports:[[ut,w.ez,Wl,ls,oz,uo,Tr],ut]}),n})(),Cz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ut,Wl,Tr,Bc,Il],ut]}),n})();const vz=["thumbContainer"],Tz=["toggleBar"],xz=["input"],Sz=function(n){return{enterDuration:n}},Ez=["*"],Dz=new i.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Hz=0;const Lz={provide:Kn,useExisting:(0,i.Gpc)(()=>nD),multi:!0};class kz{constructor(a,e){this.source=a,this.checked=e}}const Pz=Jo(Ia(pa(Oa(class{constructor(n){this._elementRef=n}}))));let nD=(()=>{class n extends Pz{constructor(e,t,r,l,c,s){super(e),this._focusMonitor=t,this._changeDetectorRef=r,this.defaults=c,this._onChange=o=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++Hz,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(l)||0,this.color=this.defaultColor=c.color||"accent",this._noopAnimations="NoopAnimations"===s}get required(){return this._required}set required(e){this._required=$e(e)}get checked(){return this._checked}set checked(e){this._checked=$e(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 kz(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(i.SBq),i.Y36(oa),i.Y36(i.sBO),i.$8M("tabindex"),i.Y36(Dz),i.Y36(qn,8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){if(1&e&&(i.Gf(vz,5),i.Gf(Tz,5),i.Gf(xz,5)),2&e){let r;i.iGM(r=i.CRH())&&(t._thumbEl=r.first),i.iGM(r=i.CRH())&&(t._thumbBarEl=r.first),i.iGM(r=i.CRH())&&(t._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,t){2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",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([Lz]),i.qOj],ngContentSelectors:Ez,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(l){return t._onChangeEvent(l)})("click",function(l){return t._onInputClick(l)}),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 r=i.MAs(1),l=i.MAs(12);i.uIk("for",t.inputId),i.xp6(2),i.ekj("mat-slide-toggle-bar-no-side-margin",!l.textContent||!l.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",r)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,Sz,t._noopAnimations?0:150))}},directives:[hr,Hh],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;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})(),rD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({}),n})(),Av=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[rD,Tr,ut,Bc],rD,ut]}),n})(),Iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,_v,JC,uv,ls,eD,_g,uo,fg,oA,jp,ps,Fp,Yl,Sp,il,iD,gv,Kh,$C,KC,fd,NC,RA,Ou,nl,ec,Tr,fg,Av,ov],_v,JC,uv,ls,eD,_g,uo,fg,oA,jp,ps,Fp,Yl,Sp,il,iD,gv,Kh,$C,KC,fd,NC,RA,Ou,nl,ec,Tr,Cz,Av,ov]}),n})(),Bz=(()=>{class n extends N0{format(e,t){return"input"===t?`${e.getDate().toString()}.${(e.getMonth()+1).toString()}.${e.getFullYear()}`:e.toDateString()}}return n.\u0275fac=function(){let a;return function(t){return(a||(a=i.n5z(n)))(t||n)}}(),n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac}),n})();const Nz={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 aD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({providers:[{provide:Ba,useClass:Bz},{provide:ru,useValue:Nz}],imports:[[w.ez,_g,fg,Sp,ov,mR,pt,wr,RA,Ou,jp,uA,uo,fd,ls,nl,ps,il,Fp,Tr,Xx,lS,IV,gv,mS,Jc,ec,rz,Yl,oA,Zt,Iz]]}),n})();function Vz(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 zz(n,a){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 Fz(n,a){if(1&n&&(i.TgZ(0,"td",17),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.friendlyNameParameter)}}function jz(n,a){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 qz(n,a){if(1&n&&(i.TgZ(0,"td",18),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Oqu(e.value)}}function Yz(n,a){1&n&&i._UZ(0,"th",16)}function Wz(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",20),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().resetPassword(l.friendlyNameParameter)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 Uz(n,a){1&n&&i._UZ(0,"th",16)}function Gz(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",19),i.TgZ(1,"button",21),i.NdJ("click",function(){const l=i.CHM(e).$implicit;return i.oxw().changePassword(l)}),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.qZA()}if(2&n){const e=a.$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 Zz(n,a){1&n&&i._UZ(0,"tr",22)}function $z(n,a){1&n&&i._UZ(0,"tr",23)}let Jz=(()=>{class n{constructor(e,t,r,l,c,s,o){this.attributesManagerService=e,this.store=t,this.dialog=r,this.route=l,this.router=c,this.otherApplicationService=s,this.entityStorageService=o,this.authenticationPage=!1,this.filteredNamespaces=new i.vpe,this.logins=[],this.nameSpaces=[]}ngOnInit(){this.userId=this.authenticationPage?this.entityStorageService.getEntity().id:this.store.getPerunPrincipal().userId,this.displayedColumns=this.authenticationPage?["namespace","value","change"]:["namespace","value","reset","change"],this.nameSpaces=this.store.get("password_namespace_attributes").map(e=>{const t=e.split(":");return t[t.length-1]}),this.refreshTable()}refreshTable(){this.attributesManagerService.getLogins(this.userId).subscribe(e=>{if(this.logins=e.filter(t=>this.nameSpaces.includes(t.friendlyNameParameter)),this.filteredNamespaces.emit(e.map(t=>t.friendlyNameParameter)),this.dataSource=new rl(e),!this.authenticationPage){const r=this.route.snapshot.queryParamMap.get("namespace");if(r){const l=this.logins.find(c=>c.friendlyNameParameter===r);l&&this.changePassword(l)}}})}resetPassword(e){window.open(this.otherApplicationService.getUrlForOtherApplication("pwdReset",e),"_blank")}changePassword(e){this.authenticationPage||this.router.navigate([],{queryParams:{namespace:e.friendlyNameParameter},queryParamsHandling:"merge"});const t=Ei();t.width="600px",t.data={login:String(e.value),namespace:e.friendlyName.split(":")[1]},this.dialog.open(QH,t).afterClosed().subscribe(()=>{this.router.navigate([],{queryParams:{namespace:null},queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ri),i.Y36($t),i.Y36(en),i.Y36(Jn),i.Y36(Mi),i.Y36(lA),i.Y36(h2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-password-reset"]],inputs:{authenticationPage:"authenticationPage"},outputs:{filteredNamespaces:"filteredNamespaces"},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,Vz,4,5,"perun-web-apps-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,zz,4,5,"th",7),i.YNc(11,Fz,2,1,"td",8),i.BQk(),i.ynx(12,9),i.YNc(13,jz,4,5,"th",7),i.YNc(14,qz,2,1,"td",10),i.BQk(),i.ynx(15,11),i.YNc(16,Yz,1,0,"th",7),i.YNc(17,Wz,5,6,"td",12),i.BQk(),i.ynx(18,13),i.YNc(19,Uz,1,0,"th",7),i.YNc(20,Gz,5,6,"td",12),i.BQk(),i.YNc(21,Zz,1,0,"tr",14),i.YNc(22,$z,1,0,"tr",15),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",t.authenticationPage?"":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&&!t.authenticationPage),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:[w.O5,Wn,ho,Ts,ws,Ms,Cs,ys,vs,It,po,mo,fo,go],pipes:[me,ii],styles:[".dark-hover-list-item[_ngcontent-%COMP%]:hover{background-color:#0000000d}"]}),n})();function pF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 fF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 mF(n,a){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 gF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 bF=(()=>{class n{constructor(e,t,r,l){this.dialogRef=e,this.data=t,this.attributesManagerService=r,this.store=l,this.newImage=""}ngOnInit(){this.theme=this.data.theme,this.attribute=this.data.attribute,this.newImage=this.attribute.value}handleInputChange(e){var t,r,l;const c=null!==(r=null===(t=e.dataTransfer)||void 0===t?void 0:t.files[0])&&void 0!==r?r:null===(l=e.target)||void 0===l?void 0:l.files[0],o=new FileReader;c.type.match(/image-*/)?(o.onload=this._handleReaderLoaded.bind(this),this.imageType=c.type,o.readAsDataURL(c)):alert("invalid format")}_handleReaderLoaded(e){const t=e.target;let r=100;const l=()=>{c(t.result).then(s=>{r>50&&s.length>6144?(r-=10,l()):(this.newImage=s,this.imgTooLong=this.newImage.length>=6144)}).catch(s=>console.error(s))},c=s=>new Promise((o,d)=>{const u=new Image;u.src=s,u.onload=()=>{const h=document.createElement("canvas");let f=u.width,b=u.height;f>b?f>r&&(b*=r/f,f=r):b>r&&(f*=r/b,b=r),h.width=f,h.height=b;const N=h.getContext("2d");N.drawImage(u,0,0,f,b);const Q=N.canvas.toDataURL();o(Q)},u.onerror=h=>d(h)});l()}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(){function d(f,b,N,Q){Q.beginPath(),Q.rect(20*f,20*b,20,20),Q.fillStyle="rgb("+N.join(",")+")",Q.fill()}this.newImage=function h(){const f=function o(){const f=document.createElement("canvas");f.width=100,f.height=100;const b=f.getContext("2d");return b.beginPath(),b.rect(0,0,100,100),b.fillStyle="#FFFFFF",b.fill(),f}(),b=f.getContext("2d"),N=function u(){const f=[];for(let b=0;b<3;b++){const N=Math.floor(256*Math.random()),Q=Math.max(120,N),fe=Math.min(200,Q);f.push(fe)}return f}();for(let Q=0;Q{class n{constructor(e,t,r,l,c,s,o){this.translate=e,this.attributesManagerService=t,this.store=r,this.oauthService=l,this.authService=c,this.httpClient=s,this.mfaApiService=o,this.mfaAvailable=!1,this.loadingMfa=!1,this.showDetail=!1,this.loadingCategories=!1,this.includeCategories=[],this.excludeRps=[],this.allCategories=!1,this.unchangedSettings=!0,this.unchangedEnforce=!0,this.categories={}}ngOnInit(){this.loadingMfa=!0,this.enableDetailSettings=this.store.getProperty("mfa").enable_detail_settings,this.mfaApiService.isMfaAvailable().subscribe(e=>{this.mfaAvailable=e,e?this.loadMfa():this.loadingMfa=!1},e=>{console.error(e),this.loadingMfa=!1})}loadMfa(){if(sessionStorage.getItem("mfa_route")){const t=sessionStorage.getItem("enforce_mfa");t&&this.changeEnforceMfa("true"===t),sessionStorage.getItem("settings_mfa")&&this.updateDetailSettings()}else{const t=this.store.get("mfa","enforce_mfa_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,t).subscribe(r=>{r.value?(this.enforceMfa=!0,this.toggle.toggle()):this.enforceMfa=!1,this.loadingMfa=!1},r=>{console.error(r),this.loadingMfa=!1})}}getCategoriesAndSettings(){this.loadingCategories=!0,this.mfaApiService.getCategories().subscribe(e=>{this.categories=e,this.getSettings()},e=>{console.error(e),this.loadingCategories=!1})}getSettings(){this.unchangedEnforce?this.mfaApiService.getSettings().subscribe(e=>{0!==e.length&&(e.all?this.allCategories=!0:(this.includeCategories=e.include_categories?e.include_categories:[],this.excludeRps=e.exclude_rps?e.exclude_rps:[])),this.setValuesFromSetting(),this.showDetail=!this.showDetail,this.loadingCategories=!1},e=>{console.error(e),this.loadingCategories=!1}):(this.includeCategories=[],this.allCategories=this.toggle.checked,this.setValuesFromSetting(),this.showDetail=!this.showDetail,this.loadingCategories=!1)}setValuesFromSetting(){if(0===this.includeCategories.length){const e=this.allCategories;for(const t in this.categories){this.categories[t].value=e,this.categories[t].show=!1,this.categories[t].rps_value={};for(const r in this.categories[t].rps)this.categories[t].rps_value[r]=e}}else for(const e in this.categories){this.categories[e].value=this.includeCategories.includes(e),this.categories[e].show=!1,this.categories[e].rps_value={};for(const t in this.categories[e].rps)this.categories[e].rps_value[t]=!!this.categories[e].value&&!this.excludeRps.includes(t)}}showDetailSettings(){this.showDetail||0!==Object.keys(this.categories).length?this.showDetail=!this.showDetail:this.getCategoriesAndSettings()}toggleEnableMfa(){this.unchangedEnforce=!1,this.includeCategories=[],this.allCategories=!this.toggle.checked,this.setValuesFromSetting()}toggleCategory(e,t=!1){if(this.unchangedSettings=!1,this.checkAllCategoriesSelected()&&this.toggle.checked&&!t&&this.toggle.toggle(),e.value=!e.value,!t)for(const r in e.rps_value)e.rps_value[r]=e.value;this.checkAllCategoriesSelected()&&!this.toggle.checked&&!t&&this.toggle.toggle()}checkAllCategoriesSelected(){let e=!0;for(const t in this.categories)this.categories[t].value||(e=!1);return e}toggleRps(e,t){t=String(t),this.unchangedSettings=!1,this.checkAllRpsDeselectedForCategory(String(e.key))&&this.toggleCategory(e.value,!0),this.checkAllRpsSelected()&&this.toggle.toggle(),e.value.rps_value[t]=!e.value.rps_value[t],this.checkAllRpsDeselectedForCategory(String(e.key))&&this.toggleCategory(e.value,!0),this.checkAllRpsSelected()&&this.toggle.toggle()}checkAllRpsDeselectedForCategory(e){let t=!0;for(const r in this.categories[e].rps)this.categories[e].rps_value[r]&&(t=!1);return t}checkAllRpsSelected(){let e=!0;for(const t in this.categories){if(!this.categories[t].value)return!1;for(const r in this.categories[t].rps)this.categories[t].rps_value[r]||(e=!1)}return e}saveSettings(e=!1){this.oauthService.getIdTokenExpiration()-(0,iE.now)()>0&&!e?(this.enforceMfa!==this.toggle.checked&&(this.loadingMfa=!0,this.changeEnforceMfa(this.toggle.checked)),this.unchangedSettings||(this.loadingMfa=!0,this.saveDetailSettings(),this.updateDetailSettings())):(this.saveEnforceMfa(),this.unchangedSettings||this.saveDetailSettings(),this.reAuthenticate())}saveEnforceMfa(){this.enforceMfa!==this.toggle.checked&&sessionStorage.setItem("enforce_mfa",this.toggle.checked.toString())}saveDetailSettings(){let r,e=!0,t=!1;this.includeCategories=[],this.excludeRps=[];for(const l in this.categories)if(this.categories[l].value){t=!0,this.includeCategories.push(l);for(const c in this.categories[l].rps)this.categories[l].rps_value[c]?t=!0:(e=!1,this.excludeRps.push(c))}else e=!1;r=e===t?e?JSON.stringify({all:!0}):"{}":JSON.stringify({include_categories:this.includeCategories,exclude_rps:this.excludeRps}),sessionStorage.setItem("settings_mfa",r)}reAuthenticate(){sessionStorage.setItem("mfa_route","/profile/settings/auth"),this.oauthService.logOut(!0),sessionStorage.setItem("auth:redirect",location.pathname),sessionStorage.setItem("auth:queryParams",location.search.substring(1)),this.authService.loadConfigData(),this.oauthService.loadDiscoveryDocumentAndLogin()}changeEnforceMfa(e){this.mfaApiService.enforceMfaForAllServices(e).subscribe(()=>{e?(this.enforceMfa=!0,this.toggle.checked||this.toggle.toggle()):this.enforceMfa=!1,this.unchangedSettings=!0,this.unchangedEnforce=!0,sessionStorage.removeItem("enforce_mfa"),sessionStorage.removeItem("mfa_route"),this.loadingMfa=!1},t=>{"MFA is required"===t.error.error&&this.saveSettings(!0)})}updateDetailSettings(){const e=sessionStorage.getItem("settings_mfa");this.mfaApiService.updateDetailSettings(e).subscribe(()=>{this.unchangedSettings=!0,this.unchangedEnforce=!0,sessionStorage.removeItem("settings_mfa"),sessionStorage.removeItem("mfa_route"),this.loadingMfa=!1},t=>{"MFA is required"===t.error.error&&this.saveSettings(!0)})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Le),i.Y36(ri),i.Y36($t),i.Y36(Vu.Ct),i.Y36(gd),i.Y36(M.eN),i.Y36(p2))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-mfa-settings"]],viewQuery:function(e,t){if(1&e&&i.Gf(AF,5),2&e){let r;i.iGM(r=i.CRH())&&(t.toggle=r.first)}},decls:18,vars:23,consts:[["class","ml-auto mr-auto mt-2",4,"ngIf"],[3,"hidden"],["matTooltipPosition","right",3,"matTooltip","matTooltipDisabled"],[3,"disabled","toggleChange"],["toggle",""],["mat-icon-button","",1,"ml-2",3,"hidden","disabled","click"],["mat-flat-button","","color","accent",1,"ml-3",3,"disabled","click"],[4,"ngIf"],[1,"ml-auto","mr-auto","mt-2"],[4,"ngFor","ngForOf"],[1,"ml-4",3,"checked","toggleChange"],["mat-icon-button","",3,"click"],[1,"ml-5",3,"checked","toggleChange"]],template:function(e,t){1&e&&(i.YNc(0,yF,1,0,"mat-spinner",0),i.TgZ(1,"div",1),i.TgZ(2,"span",2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.TgZ(5,"mat-slide-toggle",3,4),i.NdJ("toggleChange",function(){return t.toggleEnableMfa()}),i._uU(7),i.ALo(8,"translate"),i.ALo(9,"customTranslate"),i.TgZ(10,"button",5),i.NdJ("click",function(){return t.showDetailSettings()}),i.TgZ(11,"mat-icon"),i._uU(12),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(13,"button",6),i.NdJ("click",function(){return t.saveSettings()}),i._uU(14),i.ALo(15,"translate"),i.qZA(),i.YNc(16,vF,3,3,"div",7),i.YNc(17,TF,1,0,"mat-spinner",0),i.qZA()),2&e&&(i.Q6J("ngIf",t.loadingMfa),i.xp6(1),i.Q6J("hidden",t.loadingMfa),i.xp6(1),i.Q6J("matTooltip",i.lcZ(3,13,i.lcZ(4,15,"AUTHENTICATION.MFA_DISABLED")))("matTooltipDisabled",t.mfaAvailable),i.xp6(3),i.Q6J("disabled",!t.mfaAvailable),i.xp6(2),i.hij("",i.lcZ(8,17,i.lcZ(9,19,"AUTHENTICATION.MFA_TOGGLE"))," "),i.xp6(3),i.Q6J("hidden",!t.enableDetailSettings)("disabled",!t.mfaAvailable),i.xp6(2),i.Oqu(t.showDetail?"keyboard_arrow_up":"keyboard_arrow_down"),i.xp6(1),i.Q6J("disabled",t.unchangedSettings&&t.unchangedEnforce),i.xp6(1),i.hij(" ",i.lcZ(15,21,"AUTHENTICATION.MFA_SAVE")," "),i.xp6(2),i.Q6J("ngIf",t.showDetail),i.xp6(1),i.Q6J("ngIf",t.loadingCategories))},directives:[w.O5,Ci,tr,nD,It,Wi,w.sg],pipes:[me,ii,w.Nd],styles:[""]}),n})();const SF=["toggle"];function EF(n,a){if(1&n&&(i.TgZ(0,"div"),i._UZ(1,"img",9),i.qZA()),2&n){const e=i.oxw(2);i.xp6(1),i.Q6J("src",e.imageSrc,i.LSH)}}function DF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div",5),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,EF,2,1,"div",6),i.TgZ(10,"button",7),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",8),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 HF(n,a){1&n&&i._UZ(0,"mat-spinner",10)}let LF=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialog=e,this.attributesManagerService=t,this.store=r,this.translate=l,this.oauthService=c,this.authService=s,this.notificatorService=o,this.imageSrc="",this.mfaUrl="",this.loadingImg=!1,this.saveImgSuccess="",this.removeImgSuccess="",l.get("AUTHENTICATION.DELETE_IMG_DIALOG_TITLE").subscribe(d=>this.removeDialogTitle=d),l.get("AUTHENTICATION.DELETE_IMG_DIALOG_DESC").subscribe(d=>this.removeDialogDescription=d),l.get("AUTHENTICATION.SAVE_IMG_SUCCESS").subscribe(d=>this.saveImgSuccess=d),l.get("AUTHENTICATION.REMOVE_IMG_SUCCESS").subscribe(d=>this.removeImgSuccess=d)}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.displayImageBlock=this.store.get("mfa","enable_security_image"),this.displayImageBlock&&this.loadImage()}loadImage(){this.loadingImg=!0;const e=this.store.get("mfa","security_image_attribute");this.attributesManagerService.getUserAttributeByName(this.store.getPerunPrincipal().userId,e).subscribe(t=>{t?(this.imgAtt=t,this.imageSrc=this.imgAtt.value):this.attributesManagerService.getAttributeDefinitionByName(e).subscribe(r=>{this.imgAtt=r}),this.loadingImg=!1},t=>{console.error(t),this.loadingImg=!1})}onAddImg(){const e=Ei();e.width="500px",e.data={theme:"user-theme",attribute:this.imgAtt},this.dialog.open(bF,e).afterClosed().subscribe(r=>{r&&(this.notificatorService.showSuccess(this.saveImgSuccess),this.loadImage())})}onDeleteImg(){const e=Ei();e.width="600px",e.data={doNotShowValues:!0,attribute:this.imgAtt,userId:this.store.getPerunPrincipal().userId,title:this.removeDialogTitle,description:this.removeDialogDescription},this.dialog.open(NA,e).afterClosed().subscribe(r=>{r&&(this.notificatorService.showSuccess(this.removeImgSuccess),this.loadImage())})}redirectToMfa(){window.open(this.mfaUrl,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(en),i.Y36(ri),i.Y36($t),i.Y36(Le),i.Y36(Vu.Ct),i.Y36(gd),i.Y36(ir))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-authentication"]],viewQuery:function(e,t){if(1&e&&i.Gf(SF,5),2&e){let r;i.iGM(r=i.CRH())&&(t.toggle=r.first)}},decls:12,vars:11,consts:[[3,"hidden"],["class","mb-5",4,"ngIf"],[1,"page-subtitle"],["mat-flat-button","","color","accent",1,"mb-2",3,"click"],["class","ml-auto mr-auto",4,"ngIf"],[1,"mb-5"],[4,"ngIf"],["color","accent","mat-flat-button","",1,"mr-2","mt-1","action-button",3,"click"],["color","warn","mat-flat-button","",3,"disabled","click"],["alt","",3,"src"],[1,"ml-auto","mr-auto"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.YNc(1,DF,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,"button",3),i.NdJ("click",function(){return t.redirectToMfa()}),i._uU(7),i.ALo(8,"translate"),i.qZA(),i._UZ(9,"br"),i._UZ(10,"perun-web-apps-mfa-settings"),i.qZA(),i.YNc(11,HF,1,0,"mat-spinner",4)),2&e&&(i.Q6J("hidden",t.loadingImg),i.xp6(1),i.Q6J("ngIf",t.displayImageBlock),i.xp6(2),i.Oqu(i.lcZ(4,5,i.lcZ(5,7,"AUTHENTICATION.MFA"))),i.xp6(4),i.hij(" ",i.lcZ(8,9,"AUTHENTICATION.MFA_INFO")," "),i.xp6(4),i.Q6J("ngIf",t.loadingImg))},directives:[w.O5,It,xF,Ci],pipes:[me,ii],styles:[""]}),n})(),kF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[w.ez,ls,uo,wr,aD,pt,ps,il,Fp,uA]]}),n})(),PF=(()=>{class n{constructor(e,t){this.auth=e,this.router=t}ngOnInit(){this.auth.isLoggedIn()&&this.router.navigate(["/home"])}startAuth(){this.auth.startAuthentication()}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(gd),i.Y36(Mi))},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:[It,Wi],pipes:[me],styles:[".login-con[_ngcontent-%COMP%]{padding:120px 0}"]}),n})();function RF(n,a){1&n&&(i.TgZ(0,"perun-web-apps-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 OF=(()=>{class n{constructor(e){this.authzService=e,this.wrongUsernameOrPassword=!1}ngOnInit(){this.usernameCtrl=new Yn(null,[An.required]),this.passwordCtrl=new Yn(null,[An.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(Zi))},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,RF,3,3,"perun-web-apps-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:[w.O5,Wn,ln,Vr,Rn,bn,Fr,Vi,ja,ed,It,Wi],pipes:[me],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})(),IF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-page"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Ar],styles:[""]}),n})();function BF(n,a){1&n&&i._UZ(0,"mat-spinner",4)}function NF(n,a){if(1&n&&(i.TgZ(0,"li"),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.displayName," ")}}function VF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"h1",5),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"div",6),i._uU(6),i.qZA(),i.TgZ(7,"div"),i._uU(8),i.ALo(9,"translate"),i.ALo(10,"customTranslate"),i.TgZ(11,"ul"),i.YNc(12,NF,2,1,"li",7),i.qZA(),i.qZA(),i.TgZ(13,"div",0),i.TgZ(14,"button",8),i.NdJ("click",function(){return i.CHM(e),i.oxw().rejectConsent()}),i._uU(15),i.ALo(16,"translate"),i.ALo(17,"customTranslate"),i.qZA(),i.TgZ(18,"button",9),i.NdJ("click",function(){return i.CHM(e),i.oxw().grantConsent()}),i._uU(19),i.ALo(20,"translate"),i.ALo(21,"customTranslate"),i.qZA(),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.REQUEST.TITLE"))," "),i.xp6(4),i.Oqu(e.consent.consentHub.name),i.xp6(2),i.hij(" ",i.lcZ(9,10,i.lcZ(10,12,"CONSENTS.REQUEST.CONSENT_TEXT_UNSIGNED")),": "),i.xp6(4),i.Q6J("ngForOf",e.consent.attributes),i.xp6(3),i.hij(" ",i.lcZ(16,14,i.lcZ(17,16,"CONSENTS.REQUEST.REJECT_CONSENT_BUTTON"))," "),i.xp6(4),i.hij(" ",i.lcZ(20,18,i.lcZ(21,20,"CONSENTS.REQUEST.GRANT_CONSENT_BUTTON"))," ")}}let zF=(()=>{class n{constructor(e,t,r,l,c,s){this.notificator=e,this.translate=t,this.consentService=r,this.route=l,this.apiRequest=c,this.router=s,this.loading=!1}ngOnInit(){this.loading=!0,this.route.params.subscribe(e=>{const t=Number(e.consentId);this.apiRequest.dontHandleErrorForNext(),this.consentService.getConsentById(t).subscribe(r=>{this.consent=r,"UNSIGNED"!==this.consent.status&&this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"}),this.loading=!1},r=>{this.loading=!1;const l=r.error;"ConsentNotExistsException"!==l.name&&this.notificator.showRPCError(l),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})})})}grantConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"GRANTED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}rejectConsent(){this.loading=!0,this.consentService.changeConsentStatus(this.consent.id,"REVOKED").subscribe(()=>{this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_REJECTED")+this.consent.consentHub.name),this.router.navigate(["/profile","consents"],{queryParamsHandling:"merge"})},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(ir),i.Y36(Le),i.Y36(Di),i.Y36(Jn),i.Y36(ug),i.Y36(Mi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consent-request"]],decls:4,vars:2,consts:[[1,"d-flex"],[1,"card","p-4","mat-elevation-z3","ml-auto","mr-auto"],["class","ml-auto mr-auto",4,"ngIf"],[4,"ngIf"],[1,"ml-auto","mr-auto"],[1,"page-title"],[1,"page-subtitle"],[4,"ngFor","ngForOf"],["mat-flat-button","","color","warn",1,"mr-2","ml-auto",3,"click"],["mat-flat-button","","color","accent",3,"click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.YNc(2,BF,1,0,"mat-spinner",2),i.YNc(3,VF,22,22,"div",3),i.qZA(),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading))},directives:[w.O5,Ci,w.sg,It],pipes:[me,ii],styles:[".minimize-checkbox{font-size:.7rem;color:gray}\n"],encapsulation:2}),n})();function FF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",1),i._uU(2,"priority_high"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_UNSIGNED")),""))}function jF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",1),i._uU(2,"close"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_REVOKED")),""))}function qF(n,a){1&n&&(i.TgZ(0,"span"),i.TgZ(1,"mat-icon",2),i._uU(2,"check"),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"translate"),i.ALo(6,"customTranslate"),i.qZA(),i.qZA()),2&n&&(i.xp6(4),i.hij(" ",i.lcZ(5,1,i.lcZ(6,3,"CONSENTS.STATUS_GRANTED")),""))}let YF=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consent-status"]],inputs:{consentStatus:"consentStatus"},decls:3,vars:3,consts:[[4,"ngIf"],["color","warn"],["color","accent"]],template:function(e,t){1&e&&(i.YNc(0,FF,7,5,"span",0),i.YNc(1,jF,7,5,"span",0),i.YNc(2,qF,7,5,"span",0)),2&e&&(i.Q6J("ngIf","UNSIGNED"===t.consentStatus),i.xp6(1),i.Q6J("ngIf","REVOKED"===t.consentStatus),i.xp6(1),i.Q6J("ngIf","GRANTED"===t.consentStatus))},directives:[w.O5,Wi],pipes:[me,ii],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}"]}),n})();function WF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"th",15),i.TgZ(1,"mat-checkbox",16),i.NdJ("change",function(r){i.CHM(e);const l=i.oxw();return r?l.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())}}function UF(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"td",17),i.TgZ(1,"mat-checkbox",18),i.NdJ("click",function(r){return r.stopPropagation()})("change",function(r){const c=i.CHM(e).$implicit,s=i.oxw();return r?s.selection.toggle(c):null}),i.qZA(),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.xp6(1),i.Q6J("checked",t.selection.isSelected(e))}}function GF(n,a){1&n&&(i.TgZ(0,"th",19),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.CONSENTS_LIST.STATUS"))," "))}function ZF(n,a){if(1&n&&(i.TgZ(0,"td",20),i._UZ(1,"perun-web-apps-consent-status",21),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.Q6J("consentStatus",e.status)}}function $F(n,a){1&n&&(i.TgZ(0,"th",19),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.CONSENTS_LIST.SERVICE_NAME"))," "))}function JF(n,a){if(1&n&&(i.TgZ(0,"td",20),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.consentHub.name," ")}}function XF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.GRANTED_TEXT"))," : "))}function QF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.REVOKED_TEXT"))," : "))}function KF(n,a){1&n&&(i.TgZ(0,"div"),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.CONSENTS_LIST.UNSIGNED_TEXT"))," : "))}function ej(n,a){if(1&n&&(i.TgZ(0,"li"),i._uU(1),i.qZA()),2&n){const e=a.$implicit;i.xp6(1),i.hij(" ",e.displayName," ")}}function tj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().rejectConsent.emit(r.id)}),i._uU(1),i.ALo(2,"translate"),i.ALo(3,"customTranslate"),i.qZA()}if(2&n){const e=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.lcZ(2,1,i.lcZ(3,3,"UNSIGNED"===e.status?"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REJECT_CONSENT_BUTTON":"SHARED_LIB.PERUN.COMPONENTS.CONSENTS_LIST.REVOKE_CONSENT_BUTTON"))," ")}}function ij(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(e);const r=i.oxw().$implicit;return i.oxw().grantConsent.emit(r.id)}),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.CONSENTS_LIST.GRANT_CONSENT_BUTTON"))," "))}function nj(n,a){if(1&n&&(i.TgZ(0,"td",20),i.TgZ(1,"div",22),i.TgZ(2,"div",23),i.YNc(3,XF,4,5,"div",24),i.YNc(4,QF,4,5,"div",24),i.YNc(5,KF,4,5,"div",24),i.TgZ(6,"ul"),i.YNc(7,ej,2,1,"li",25),i.qZA(),i.TgZ(8,"div",26),i.YNc(9,tj,4,5,"button",27),i.YNc(10,ij,4,5,"button",28),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&n){const e=a.$implicit,t=i.oxw();i.uIk("colspan",t.displayedColumns.length),i.xp6(1),i.Q6J("@detailExpand",e===t.expandedConsent?"expanded":"collapsed"),i.xp6(2),i.Q6J("ngIf","GRANTED"===e.status),i.xp6(1),i.Q6J("ngIf","REVOKED"===e.status),i.xp6(1),i.Q6J("ngIf","UNSIGNED"===e.status),i.xp6(2),i.Q6J("ngForOf",e.attributes),i.xp6(2),i.Q6J("ngIf","REVOKED"!==e.status),i.xp6(1),i.Q6J("ngIf","GRANTED"!==e.status)}}function rj(n,a){1&n&&i._UZ(0,"tr",31)}function aj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"tr",32),i.NdJ("click",function(){const l=i.CHM(e).$implicit,c=i.oxw();return c.expandedConsent=c.expandedConsent===l?null:l}),i.qZA()}if(2&n){const e=a.$implicit,t=i.oxw();i.ekj("example-expanded-row",t.expandedConsent===e)}}function sj(n,a){1&n&&i._UZ(0,"tr",33)}function oj(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",34),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.UI.ALERTS.NO_FILTER_RESULTS_ALERT")),"\n"))}function lj(n,a){1&n&&(i.TgZ(0,"perun-web-apps-alert",34),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.CONSENTS_LIST.NO_CONSENTS")),"\n"))}const cj=function(){return["expandedDetail"]};let dj=(()=>{class n{constructor(e){this.tableCheckbox=e,this.filterValue="",this.consents=[],this.selection=new _n(!0,[]),this.displayedColumns=["select","status","name"],this.grantConsent=new i.vpe,this.rejectConsent=new i.vpe,this.pageSizeOptions=Np}set matSort(e){this.sort=e,this.setDataSource()}static getDataForColumn(e,t){switch(t){case"name":return e.consentHub.name;case"status":return e.status;default:return""}}ngOnChanges(){this.dataSource=new rl(this.consents),this.setDataSource()}ngAfterViewInit(){this.dataSource.paginator=this.child.paginator}exportData(e){zp(Vp(this.dataSource.filteredData,this.displayedColumns,n.getDataForColumn),e)}setDataSource(){this.dataSource&&(this.dataSource.filterPredicate=(e,t)=>dg(e,t,this.displayedColumns,n.getDataForColumn),this.dataSource.sortData=(e,t)=>cg(e,t,n.getDataForColumn),this.dataSource.sort=this.sort,this.dataSource.paginator=this.child.paginator,this.dataSource.filter=this.filterValue)}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)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(vC))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-list"]],viewQuery:function(e,t){if(1&e&&(i.Gf(As,7),i.Gf(Ts,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.child=r.first),i.iGM(r=i.CRH())&&(t.matSort=r.first)}},inputs:{filterValue:"filterValue",tableId:"tableId",consents:"consents",selection:"selection",displayedColumns:"displayedColumns"},outputs:{grantConsent:"grantConsent",rejectConsent:"rejectConsent"},features:[i.TTD],decls:19,vars:11,consts:[[1,"card",3,"hidden"],[3,"tableId","dataLength","pageSizeOptions","exportData"],["mat-table","","matSort","","matSortActive","status","matSortDirection","asc","matSortDisableClear","","multiTemplateDataRows","",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","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","dark-hover-list-item consent-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","consent-detail-row",4,"matRowDef","matRowDefColumns"],["alert_type","warn",4,"ngIf"],["mat-header-cell","",1,"align-checkbox"],["color","primary",3,"checked","indeterminate","change"],["mat-cell","",1,"static-column-size","align-checkbox"],["color","primary",3,"checked","click","change"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"consentStatus"],[1,"consent-detail"],[1,"p-3"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"d-flex"],["mat-flat-button","","class","mr-2","color","warn",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","warn",1,"mr-2",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-header-row",""],["mat-row","",1,"dark-hover-list-item","consent-row",3,"click"],["mat-row","",1,"consent-detail-row"],["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(l){return t.exportData(l)}),i.TgZ(2,"table",2),i.ynx(3,3),i.YNc(4,WF,2,2,"th",4),i.YNc(5,UF,2,1,"td",5),i.BQk(),i.ynx(6,6),i.YNc(7,GF,4,5,"th",7),i.YNc(8,ZF,2,1,"td",8),i.BQk(),i.ynx(9,9),i.YNc(10,$F,4,5,"th",7),i.YNc(11,JF,2,1,"td",8),i.BQk(),i.ynx(12,10),i.YNc(13,nj,11,8,"td",8),i.BQk(),i.YNc(14,rj,1,0,"tr",11),i.YNc(15,aj,1,2,"tr",12),i.YNc(16,sj,1,0,"tr",13),i.qZA(),i.qZA(),i.qZA(),i.YNc(17,oj,4,5,"perun-web-apps-alert",14),i.YNc(18,lj,4,5,"perun-web-apps-alert",14)),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(12),i.Q6J("matHeaderRowDef",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",t.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",i.DdM(10,cj)),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:[As,ho,Ts,ws,Ms,Cs,lc,ys,vs,Mg,YF,w.O5,w.sg,It,po,mo,fo,go,Wn],pipes:[me,ii],styles:["tr.consent-detail-row[_ngcontent-%COMP%]{height:0!important}.consent-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{cursor:pointer;border-bottom-width:0!important}.consent-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex;flex-direction:column}th[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%]{padding:0!important}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:1rem!important}"],data:{animation:[ti("detailExpand",[St("collapsed",Ne({height:"0px",minHeight:"0"})),St("expanded",Ne({height:"*"})),vt("expanded <=> collapsed",_t("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),n})();const lD=function(){return["status","name"]};function uj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",4),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilterUnsigned(r)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"perun-web-apps-consents-list",6),i.NdJ("grantConsent",function(r){return i.CHM(e),i.oxw().grantConsent(r)})("rejectConsent",function(r){return i.CHM(e),i.oxw().rejectConsent(r)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.UNSIGNED_CONSENTS"))," "),i.xp6(3),i.Q6J("placeholder",i.lcZ(6,10,i.lcZ(7,12,"CONSENTS.FILTER"))),i.xp6(3),i.Q6J("consents",e.unsignedConsents)("filterValue",e.filterValueUnsigned)("tableId","TABLE_USER_CONSENTS")("displayedColumns",i.DdM(14,lD))}}function hj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",7),i._uU(2),i.ALo(3,"translate"),i.ALo(4,"customTranslate"),i.qZA(),i.TgZ(5,"perun-web-apps-immediate-filter",5),i.NdJ("filter",function(r){return i.CHM(e),i.oxw().applyFilterSigned(r)}),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.TgZ(8,"perun-web-apps-consents-list",8),i.NdJ("grantConsent",function(r){return i.CHM(e),i.oxw().grantConsent(r)})("rejectConsent",function(r){return i.CHM(e),i.oxw().rejectConsent(r)}),i.qZA(),i.qZA()}if(2&n){const e=i.oxw();i.xp6(2),i.hij(" ",i.lcZ(3,6,i.lcZ(4,8,"CONSENTS.PROCESSED_CONSENTS"))," "),i.xp6(3),i.Q6J("placeholder",i.lcZ(6,10,i.lcZ(7,12,"CONSENTS.FILTER"))),i.xp6(3),i.Q6J("consents",e.signedConsents)("tableId","TABLE_USER_CONSENTS")("filterValue",e.filterValueSigned)("displayedColumns",i.DdM(14,lD))}}function pj(n,a){1&n&&i._UZ(0,"mat-spinner",9)}let fj=(()=>{class n{constructor(e,t,r,l,c){this.router=e,this.notificator=t,this.translate=r,this.storeService=l,this.consentService=c,this.loading=!1,this.unsignedConsents=[],this.signedConsents=[],this.filterValueUnsigned="",this.filterValueSigned=""}ngOnInit(){this.loading=!0,this.consentService.getConsentsForUser(this.storeService.getPerunPrincipal().userId).subscribe(e=>{this.unsignedConsents=e.filter(t=>"UNSIGNED"===t.status),this.signedConsents=e.filter(t=>"UNSIGNED"!==t.status),this.loading=!1},()=>this.loading=!1)}grantAll(){this.loading=!0,this.notificator.showSuccess(this.translate.instant("CONSENTS.GRANT_ALL_NOTIFICATION")),this.loading=!1}rejectConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"REVOKED").subscribe(()=>{var t;const r=null!==(t=this.unsignedConsents.find(c=>c.id===e))&&void 0!==t?t:this.signedConsents.find(c=>c.id===e);this.moveConsent(r);const l=this.translate.instant("GRANTED"===r.status?"CONSENTS.CONSENT_REVOKED":"CONSENTS.CONSENT_REJECTED");r.status="REVOKED",this.notificator.showSuccess(l+r.consentHub.name),this.loading=!1},()=>this.loading=!1)}moveConsent(e){"UNSIGNED"===e.status&&(this.signedConsents=[...this.signedConsents,e],this.unsignedConsents=this.unsignedConsents.filter(t=>t.id!==e.id))}grantConsent(e){this.loading=!0,this.consentService.changeConsentStatus(e,"GRANTED").subscribe(()=>{var t;const r=null!==(t=this.unsignedConsents.find(l=>l.id===e))&&void 0!==t?t:this.signedConsents.find(l=>l.id===e);this.moveConsent(r),r.status="GRANTED",this.notificator.showSuccess(this.translate.instant("CONSENTS.CONSENT_GRANTED")+r.consentHub.name),this.loading=!1},()=>this.loading=!1)}applyFilterUnsigned(e){this.filterValueUnsigned=e}applyFilterSigned(e){this.filterValueSigned=e}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Mi),i.Y36(ir),i.Y36(Le),i.Y36($t),i.Y36(Di))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-consents-preview"]],decls:8,vars:8,consts:[[1,"page-title","mt-2"],[1,"user-theme"],[4,"ngIf"],["class","ml-auto mr-auto",4,"ngIf"],[1,"page-subtitle"],[3,"placeholder","filter"],[3,"consents","filterValue","tableId","displayedColumns","grantConsent","rejectConsent"],[1,"page-subtitle","mt-4"],[3,"consents","tableId","filterValue","displayedColumns","grantConsent","rejectConsent"],[1,"ml-auto","mr-auto"]],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,uj,9,15,"div",2),i.YNc(6,hj,9,15,"div",2),i.YNc(7,pj,1,0,"mat-spinner",3),i.qZA()),2&e&&(i.xp6(1),i.hij(" ",i.lcZ(2,4,i.lcZ(3,6,"CONSENTS.TITLE")),"\n"),i.xp6(4),i.Q6J("ngIf",!t.loading&&0!==t.unsignedConsents.length),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(1),i.Q6J("ngIf",t.loading))},directives:[w.O5,Jp,dj,Ci],pipes:[me,ii],styles:[""]}),n})();function mj(n,a){1&n&&i._UZ(0,"mat-spinner",6)}function gj(n,a){if(1&n&&(i.TgZ(0,"div",7),i._UZ(1,"perun-web-apps-password-form",8),i.qZA()),2&n){const e=i.oxw();i.xp6(1),i.Q6J("formGroup",e.pwdForm)("namespace",e.data.namespace)("language",e.lang)}}let _j=(()=>{class n{constructor(e,t,r,l,c,s,o){this.dialogRef=e,this.data=t,this.userManager=r,this.notificator=l,this.translate=c,this.formBuilder=s,this.apiRequestConfiguration=o,this.loading=!1,this.lang=this.translate.currentLang,this.pwdForm=this.formBuilder.group({passwordCtrl:["",An.required,[tS(this.data.namespace,this.userManager,this.apiRequestConfiguration)]],passwordAgainCtrl:["",An.required]},{validators:Gx.passwordMatchValidator})}cancel(){this.dialogRef.close()}activate(){this.loading=!0;const e=this.pwdForm.get("passwordCtrl").value;this.userManager.reservePasswordForUser({user:this.data.userId,namespace:this.data.namespace,password:e}).pipe((0,Li.w)(()=>this.userManager.validatePasswordForUser(this.data.userId,this.data.namespace))).subscribe(()=>{this.notificator.showSuccess(this.translate.instant("DIALOGS.ACTIVATE_LOCAL_ACCOUNT.SUCCESS")),this.dialogRef.close()},()=>this.loading=!1)}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Oi),i.Y36(cn),i.Y36(Ti),i.Y36(ir),i.Y36(Le),i.Y36(Ym),i.Y36(ug))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-activate-local-account-dialog"]],decls:15,vars:18,consts:[["mat-dialog-title",""],["class","ml-auto mr-auto",4,"ngIf"],["mat-dialog-content","","class","dialog-container user-theme",4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","",1,"ml-auto","mr-2",3,"click"],["mat-flat-button","","color","accent",3,"disabled","click"],[1,"ml-auto","mr-auto"],["mat-dialog-content","",1,"dialog-container","user-theme"],[3,"formGroup","namespace","language"]],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,mj,1,0,"mat-spinner",1),i.YNc(5,gj,2,3,"div",2),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.ALo(10,"customTranslate"),i.qZA(),i.TgZ(11,"button",5),i.NdJ("click",function(){return t.activate()}),i._uU(12),i.ALo(13,"translate"),i.ALo(14,"customTranslate"),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,6,i.lcZ(3,8,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.TITLE"))),i.xp6(3),i.Q6J("ngIf",t.loading),i.xp6(1),i.Q6J("ngIf",!t.loading),i.xp6(3),i.hij(" ",i.lcZ(9,10,i.lcZ(10,12,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.CANCEL"))," "),i.xp6(3),i.Q6J("disabled",t.loading||t.pwdForm.invalid),i.xp6(1),i.hij(" ",i.lcZ(13,14,i.lcZ(14,16,"DIALOGS.ACTIVATE_LOCAL_ACCOUNT.ACTIVATE"))," "))},directives:[kn,w.O5,Ci,Pn,iS,Mu,co,vn,It],pipes:[me,ii],styles:[""]}),n})();function bj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).openPwdReset()}),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,"LOCAL_ACCOUNT.CHANGE_PWD"))," "))}function Aj(n,a){if(1&n){const e=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).activateAccount()}),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,"LOCAL_ACCOUNT.ACTIVATE"))," "))}function yj(n,a){if(1&n&&(i.TgZ(0,"div"),i.YNc(1,bj,4,5,"button",3),i.YNc(2,Aj,4,5,"button",3),i.qZA()),2&n){const e=a.ngIf;i.xp6(1),i.Q6J("ngIf",e.exists),i.xp6(1),i.Q6J("ngIf",!e.exists)}}const Mj=function(n){return{exists:n}},wj=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"login",component:PF},{path:"service-access",component:OF},{path:"profile",component:CV,data:{breadcrumb:"MENU_ITEMS.PROFILE"},children:[{path:"",component:eO,data:{breadcrumb:"MENU_ITEMS.PROFILE"}},{path:"identities",component:RO,data:{breadcrumb:"MENU_ITEMS.IDENTITIES"}},{path:"groups",component:_I,data:{breadcrumb:"MENU_ITEMS.GROUPS"}},{path:"services",component:xB,data:{breadcrumb:"MENU_ITEMS.SERVICES"}},{path:"organizations",component:BB,data:{breadcrumb:"MENU_ITEMS.VOS"}},{path:"privacy",component:wV,data:{breadcrumb:"MENU_ITEMS.PRIVACY"}},{path:"consents",component:IF,data:{breadcrumb:"MENU_ITEMS.CONSENTS"},children:[{path:"",component:fj,data:{breadcrumb:"MENU_ITEMS.CONSENTS"}},{path:":consentId",component:zF,data:{breadcrumb:"MENU_ITEMS.CONSENT_REQUEST"}}]},{path:"settings",component:NB,data:{breadcrumb:"MENU_ITEMS.SETTINGS"},children:[{path:"",component:a3,data:{breadcrumb:"MENU_ITEMS.SETTINGS"}},{path:"altPasswords",component:n3,data:{breadcrumb:"SETTINGS.ALTERNATIVE_PASSWORDS"}},{path:"auth",component:LF,data:{breadcrumb:"SETTINGS.AUTHENTICATION"}},{path:"dataQuotas",component:_N,data:{breadcrumb:"SETTINGS.DATA_QUOTAS"}},{path:"localAccount",component:(()=>{class n{constructor(e,t,r,l,c){this.userService=e,this.store=t,this.appUrlService=r,this.dialog=l,this.router=c,this.userId=this.store.getPerunPrincipal().userId,this.namespace=this.store.get("local_account_namespace"),this.loginExists$=this.userService.loginExist(this.userId,this.namespace)}openPwdReset(){let e=this.appUrlService.getUrlForOtherApplication("pwdReset",this.namespace);e+="&reset=true",window.open(e,"_blank")}activateAccount(){const e=Ei();e.width="550px",e.data={userId:this.userId,namespace:this.namespace},this.dialog.open(_j,e).afterClosed().subscribe(()=>{this.router.navigate(["/profile","settings","localAccount"],{queryParamsHandling:"merge"})})}}return n.\u0275fac=function(e){return new(e||n)(i.Y36(Ti),i.Y36($t),i.Y36(lA),i.Y36(en),i.Y36(Mi))},n.\u0275cmp=i.Xpm({type:n,selectors:[["perun-web-apps-settings-local-account"]],decls:10,vars:15,consts:[[1,"page-title"],[1,"page-subtitle"],[4,"ngIf"],["mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",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,"div",1),i._uU(5),i.ALo(6,"translate"),i.ALo(7,"customTranslate"),i.qZA(),i.YNc(8,yj,3,2,"div",2),i.ALo(9,"async")),2&e&&(i.xp6(1),i.Oqu(i.lcZ(2,3,i.lcZ(3,5,"LOCAL_ACCOUNT.TITLE"))),i.xp6(4),i.hij(" ",i.lcZ(6,7,i.lcZ(7,9,"LOCAL_ACCOUNT.DESC")),"\n"),i.xp6(3),i.Q6J("ngIf",i.VKq(13,Mj,i.lcZ(9,11,t.loginExists$))))},directives:[w.O5,It],pipes:[me,ii,w.Ov],styles:[""]}),n})(),data:{breadcrumb:"SETTINGS.LOCAL_ACCOUNT"}},{path:"mailingLists",component:vN,data:{breadcrumb:"SETTINGS.MAILING_LISTS"}},{path:"prefShells",component:IN,data:{breadcrumb:"SETTINGS.PREFERRED_SHELLS"}},{path:"prefGroupNames",component:FN,data:{breadcrumb:"SETTINGS.PREFERRED_UNIX_GROUP_NAMES"}},{path:"sambaPassword",component:WN,data:{breadcrumb:"SETTINGS.SAMBA_PASSWORD"}},{path:"sshKeys",component:JN,data:{breadcrumb:"SETTINGS.SSH_KEYS"}},{path:"passwordReset",component:Jz,data:{breadcrumb:"SETTINGS.PASSWORD_RESET"}}]}]}];let Cj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[wr.forRoot(wj,{preloadingStrategy:O,scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})]]}),n})();class vj{constructor(a,e="/assets/i18n/",t=".json"){this.http=a,this.prefix=e,this.suffix=t}getTranslation(a){return this.http.get(`${this.prefix}${a}${this.suffix}`)}}let Tj=(()=>{class n{constructor(e,t,r,l,c){this.http=e,this.storeService=t,this.authzSevice=r,this.titleService=l,this.utilsService=c}initializeColors(e,t){return new Promise(r=>{t.forEach(l=>{const c=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,c)}),e.forEach(l=>{const c=this.storeService.get("theme",l.configValue);document.documentElement.style.setProperty(l.cssVariable,c),this.setEntityTheme(l.entity,c)}),r()})}setEntityTheme(e,t){const r=function xj(n){return[ma(tinycolor(n).lighten(52),"50"),ma(tinycolor(n).lighten(37),"100"),ma(tinycolor(n).lighten(26),"200"),ma(tinycolor(n).lighten(12),"300"),ma(tinycolor(n).lighten(6),"400"),ma(tinycolor(n),"500"),ma(tinycolor(n).darken(6),"600"),ma(tinycolor(n).darken(12),"700"),ma(tinycolor(n).darken(18),"800"),ma(tinycolor(n).darken(24),"900"),ma(tinycolor(n).lighten(50).saturate(30),"A100"),ma(tinycolor(n).lighten(30).saturate(30),"A200"),ma(tinycolor(n).lighten(10).saturate(15),"A400"),ma(tinycolor(n).lighten(5).saturate(5),"A700")]}(t);for(const l of r){const o=`--${e}-theme-primary-contrast-${l.name}`,d=l.darkContrast?"30,30,30":"255,255,255";document.documentElement.style.setProperty(`--${e}-theme-primary-${l.name}`,`${l.red},${l.green},${l.blue}`),document.documentElement.style.setProperty(o,d)}}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=>{var r;this.storeService.setInstanceConfig(t);const l=document.location.hostname;(null===(r=null==t?void 0:t.brandings)||void 0===r?void 0:r[l])&&this.storeService.setBanding(l),e()},()=>{e()})})}getNoCacheHeaders(){return new M.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","en")),e()})}loadAppsConfig(){return new Promise((e,t)=>{this.utilsService.getAppsConfig().subscribe(r=>{this.storeService.setAppsConfig(r),e()},r=>t(r))})}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(M.eN),i.LFG($t),i.LFG(Zi),i.LFG(lt),i.LFG(Lt))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ma(n,a){const e=tinycolor(n),t=e.toRgb();return{name:a,hex:e.toHexString(),darkContrast:e.isLight(),red:t.r,green:t.g,blue:t.b}}let Sj=(()=>{class n{constructor(e,t,r){this.initAuthService=e,this.appConfigService=t,this.location=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"}]}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(CC),i.LFG(Tj),i.LFG(w.Ye))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[zC]]}),n})(),J4=(()=>{class n{constructor(e,t){(0,w.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:_o,useValue:Object.assign(Object.assign({},FC),e)},{provide:jC,useValue:t,multi:!0},{provide:Up,useValue:!0}]:[{provide:_o,useValue:Object.assign(Object.assign({},FC),e)},{provide:jC,useValue:t,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(i.LFG(Up),i.LFG(i.Lbi))},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[$E,NS,gD],$E,NS,gD]}),n})();const X4=new i.OlP("perun-api-service"),Q4={provide:M.TP,useExisting:(0,i.Gpc)(()=>$x),multi:!0};function K4(n){return new vj(n,"./assets/i18n/",".json")}function eq(n){const a={basePath:n.get("api_url")};return new at(a)}const tq=n=>()=>n.initialize();let iq=(()=>{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(Zx),i.LFG(Le))},n.\u0275mod=i.oAB({type:n,bootstrap:[PP]}),n.\u0275inj=i.cJS({providers:[Zx,{provide:i.ip1,useFactory:tq,multi:!0,deps:[Sj]},{provide:at,useFactory:eq,deps:[$t]},cA,$x,Q4,{provide:X4,useClass:u2},lt,{provide:Vu.Hy,useFactory:()=>localStorage}],imports:[[de,wT,M.JF,pt.forRoot({loader:{provide:Ip,useFactory:K4,deps:[M.eN]}}),Cj,uo,$C,KC,wr,ls,J4,NC,aD,uA,uv,ps,ec,oA,fg,Fp,il,_g,Ou,jp,RA,_v,lS,Xx,ZO,Tr,nl,Av,mS,Sp,kF,Zt,fd,Vu.zr.forRoot(),x2]]}),n})();(0,i.G48)(),Wr().bootstrapModule(iq).catch(n=>console.error(n))},1302:function(j,Y,T){var w;!function(i,S){var x={};!function(i){"use strict";i.__esModule=!0,i.digestLength=32,i.blockSize=64;var S=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 x(ce,ie,te,he,ge){for(var Oe,We,Ze,Ee,ve,Se,mt,Re,Ve,Qe,ue,_e,be;ge>=64;){for(Oe=ie[0],We=ie[1],Ze=ie[2],Ee=ie[3],ve=ie[4],Se=ie[5],mt=ie[6],Re=ie[7],Qe=0;Qe<16;Qe++)ce[Qe]=(255&te[ue=he+4*Qe])<<24|(255&te[ue+1])<<16|(255&te[ue+2])<<8|255&te[ue+3];for(Qe=16;Qe<64;Qe++)ce[Qe]=((_e=((Ve=ce[Qe-2])>>>17|Ve<<15)^(Ve>>>19|Ve<<13)^Ve>>>10)+ce[Qe-7]|0)+((be=((Ve=ce[Qe-15])>>>7|Ve<<25)^(Ve>>>18|Ve<<14)^Ve>>>3)+ce[Qe-16]|0);for(Qe=0;Qe<64;Qe++)_e=(((ve>>>6|ve<<26)^(ve>>>11|ve<<21)^(ve>>>25|ve<<7))+(ve&Se^~ve&mt)|0)+(Re+(S[Qe]+ce[Qe]|0)|0)|0,be=((Oe>>>2|Oe<<30)^(Oe>>>13|Oe<<19)^(Oe>>>22|Oe<<10))+(Oe&We^Oe&Ze^We&Ze)|0,Re=mt,mt=Se,Se=ve,ve=Ee+_e|0,Ee=Ze,Ze=We,We=Oe,Oe=_e+be|0;ie[0]+=Oe,ie[1]+=We,ie[2]+=Ze,ie[3]+=Ee,ie[4]+=ve,ie[5]+=Se,ie[6]+=mt,ie[7]+=Re,he+=64,ge-=64}return he}var E=function(){function ce(){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 ce.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},ce.prototype.clean=function(){for(var ie=0;ie0){for(;this.bufferLength<64&&te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;64===this.bufferLength&&(x(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(te>=64&&(he=x(this.temp,this.state,ie,he,te),te%=64);te>0;)this.buffer[this.bufferLength++]=ie[he++],te--;return this},ce.prototype.finish=function(ie){if(!this.finished){var te=this.bytesHashed,he=this.bufferLength,ge=te/536870912|0,Oe=te<<3,We=te%64<56?64:128;this.buffer[he]=128;for(var Ze=he+1;Ze>>24&255,this.buffer[We-7]=ge>>>16&255,this.buffer[We-6]=ge>>>8&255,this.buffer[We-5]=ge>>>0&255,this.buffer[We-4]=Oe>>>24&255,this.buffer[We-3]=Oe>>>16&255,this.buffer[We-2]=Oe>>>8&255,this.buffer[We-1]=Oe>>>0&255,x(this.temp,this.state,this.buffer,0,We),this.finished=!0}for(Ze=0;Ze<8;Ze++)ie[4*Ze+0]=this.state[Ze]>>>24&255,ie[4*Ze+1]=this.state[Ze]>>>16&255,ie[4*Ze+2]=this.state[Ze]>>>8&255,ie[4*Ze+3]=this.state[Ze]>>>0&255;return this},ce.prototype.digest=function(){var ie=new Uint8Array(this.digestLength);return this.finish(ie),ie},ce.prototype._saveState=function(ie){for(var te=0;tethis.blockSize)(new E).update(ie).finish(te).clean();else for(var he=0;he1&&ie.update(ce),te&&ie.update(te),ie.update(he),ie.finish(ce),he[0]++}i.HMAC=k,i.hash=R,i.default=R,i.hmac=V;var $=new Uint8Array(i.digestLength);i.hkdf=function X(ce,ie,te,he){void 0===ie&&(ie=$),void 0===he&&(he=32);for(var ge=new Uint8Array([1]),Oe=V(ie,ce),We=new k(Oe),Ze=new Uint8Array(We.digestLength),Ee=Ze.length,ve=new Uint8Array(he),Se=0;Se>>24&255,We[1]=mt>>>16&255,We[2]=mt>>>8&255,We[3]=mt>>>0&255,ge.reset(),ge.update(ie),ge.update(We),ge.finish(Ee);for(var Re=0;Re=X.status}function k($){try{$.dispatchEvent(new MouseEvent("click"))}catch(se){var X=document.createEvent("MouseEvents");X.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),$.dispatchEvent(X)}}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,V=R.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),q=R.saveAs||("object"!=typeof window||window!==R?function(){}:"download"in HTMLAnchorElement.prototype&&!V?function($,X,se){var ce=R.URL||R.webkitURL,ie=document.createElement("a");ie.download=X=X||$.name||"download",ie.rel="noopener","string"==typeof $?(ie.href=$,ie.origin===location.origin?k(ie):E(ie.href)?x($,X,se):k(ie,ie.target="_blank")):(ie.href=ce.createObjectURL($),setTimeout(function(){ce.revokeObjectURL(ie.href)},4e4),setTimeout(function(){k(ie)},0))}:"msSaveOrOpenBlob"in navigator?function($,X,se){if(X=X||$.name||"download","string"!=typeof $)navigator.msSaveOrOpenBlob(function S($,X){return void 0===X?X={autoBom:!1}:"object"!=typeof X&&(console.warn("Deprecated: Expected third argument to be a object"),X={autoBom:!X}),X.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob(["\ufeff",$],{type:$.type}):$}($,se),X);else if(E($))x($,X,se);else{var ce=document.createElement("a");ce.href=$,ce.target="_blank",setTimeout(function(){k(ce)})}}:function($,X,se,ce){if((ce=ce||open("","_blank"))&&(ce.document.title=ce.document.body.innerText="downloading..."),"string"==typeof $)return x($,X,se);var ie="application/octet-stream"===$.type,te=/constructor/i.test(R.HTMLElement)||R.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent);if((he||ie&&te||V)&&"undefined"!=typeof FileReader){var ge=new FileReader;ge.onloadend=function(){var Ze=ge.result;Ze=he?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),ce?ce.location.href=Ze:location=Ze,ce=null},ge.readAsDataURL($)}else{var Oe=R.URL||R.webkitURL,We=Oe.createObjectURL($);ce?ce.location=We:location.href=We,ce=null,setTimeout(function(){Oe.revokeObjectURL(We)},4e4)}});R.saveAs=q.saveAs=q,j.exports=q}.apply(Y,[]))&&(j.exports=i)},1158:(j,Y,T)=>{(j.exports=T(7867)).tz.load(T(1128))},7867:function(j,Y,T){var w,i,S;!function(x,E){"use strict";j.exports?j.exports=E(T(5439)):(i=[T(5439)],void 0!==(S="function"==typeof(w=E)?w.apply(Y,i):w)&&(j.exports=S))}(0,function(x){"use strict";void 0===x.version&&x.default&&(x=x.default);var X,k={},R={},V={},q={},$={};(!x||"string"!=typeof x.version)&&gi("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var se=x.version.split("."),ce=+se[0],ie=+se[1];function te(de){return de>96?de-87:de>64?de-29:de-48}function he(de){var Be=0,Ae=de.split("."),Ke=Ae[0],tt=Ae[1]||"",lt=1,Te=0,re=1;for(45===de.charCodeAt(0)&&(Be=1,re=-1);Be= 2.6.0. You are using Moment.js "+x.version+". See momentjs.com"),Ee.prototype={_set:function(de){this.name=de.name,this.abbrs=de.abbrs,this.untils=de.untils,this.offsets=de.offsets,this.population=de.population},_index:function(de){var Ke,Be=+de,Ae=this.untils;for(Ke=0;KeTe&&Jt.moveInvalidForward&&(lt=Te),Be3){var Be=q[ye(de)];if(Be)return Be;gi("Moment Timezone found "+de+" from the Intl api, but did not have that data loaded.")}}catch(oe){}var Kt,Te,re,Ae=function Ve(){var Ke,tt,lt,de=(new Date).getFullYear()-2,Be=new Se(new Date(de,0,1)),Ae=[Be];for(lt=1;lt<48;lt++)(tt=new Se(new Date(de,lt,1))).offset!==Be.offset&&(Ke=Re(Be,tt),Ae.push(Ke),Ae.push(new Se(new Date(Ke.at+6e4)))),Be=tt;for(lt=0;lt<4;lt++)Ae.push(new Se(new Date(de+lt,0,1))),Ae.push(new Se(new Date(de+lt,6,1)));return Ae}(),Ke=Ae.length,tt=function _e(de){var tt,lt,Kt,Be=de.length,Ae={},Ke=[];for(tt=0;tt0?lt[0].zone.name:void 0}()),X},Jt.names=function zt(){var de,Be=[];for(de in q)q.hasOwnProperty(de)&&(k[de]||k[R[de]])&&q[de]&&Be.push(q[de]);return Be.sort()},Jt.Zone=Ee,Jt.unpack=Ze,Jt.unpackBase60=he,Jt.needsOffset=Gi,Jt.moveInvalidForward=!0,Jt.moveAmbiguousForward=!1,Jt.countries=function oi(){return Object.keys(V)},Jt.zonesForCountry=function Xe(de,Be){if(!(de=function Tn(de){return de=de.toUpperCase(),V[de]||null}(de)))return null;var Ae=de.zones.sort();return Be?Ae.map(function(Ke){return{name:Ke,offset:ft(Ke).utcOffset(new Date)}}):Ae};var hn=x.fn;function ga(de){return function(){return this._z?this._z.abbr(this):de.call(this)}}function _a(de){return function(){return this._z=null,de.apply(this,arguments)}}x.tz=Jt,x.defaultZone=null,x.updateOffset=function(de,Be){var Ke,Ae=x.defaultZone;if(void 0===de._z&&(Ae&&Gi(de)&&!de._isUTC&&(de._d=x.utc(de._a)._d,de.utc().add(Ae.parse(de),"minutes")),de._z=Ae),de._z)if(Ke=de._z.utcOffset(de),Math.abs(Ke)<16&&(Ke/=60),void 0!==de.utcOffset){var tt=de._z;de.utcOffset(-Ke,Be),de._z=tt}else de.zone(Ke,Be)},hn.tz=function(de,Be){if(de){if("string"!=typeof de)throw new Error("Time zone name must be a string, got "+de+" ["+typeof de+"]");return this._z=ft(de),this._z?x.updateOffset(this,Be):gi("Moment Timezone has no data for "+de+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},hn.zoneName=ga(hn.zoneName),hn.zoneAbbr=ga(hn.zoneAbbr),hn.utc=_a(hn.utc),hn.local=_a(hn.local),hn.utcOffset=function Wr(de){return function(){return arguments.length>0&&(this._z=null),de.apply(this,arguments)}}(hn.utcOffset),x.tz.setDefault=function(de){return(ce<2||2===ce&&ie<9)&&gi("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+x.version+"."),x.defaultZone=de?ft(de):null,x};var On=x.momentProperties;return"[object Array]"===Object.prototype.toString.call(On)?(On.push("_z"),On.push("_a")):On&&(On._z=null),x})},7088:function(j,Y,T){!function(w){"use strict";w.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(S){return/^nm$/i.test(S)},meridiem:function(S,x,E){return S<12?E?"vm":"VM":E?"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(S){return S+(1===S||8===S||S>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},2502:function(j,Y,T){!function(w){"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},S={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"]},x=function(R){return function(V,q,$,X){var se=i(V),ce=S[R][i(V)];return 2===se&&(ce=ce[q?0:1]),ce.replace(/%d/i,V)}},E=["\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"];w.defineLocale("ar-dz",{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(R){return"\u0645"===R},meridiem:function(R,V,q){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:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(T(5439))},128:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},4519:function(j,Y,T){!function(w){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},S=function(V){return 0===V?0:1===V?1:2===V?2:V%100>=3&&V%100<=10?3:V%100>=11?4:5},x={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(V){return function(q,$,X,se){var ce=S(q),ie=x[V][S(q)];return 2===ce&&(ie=ie[$?0:1]),ie.replace(/%d/i,q)}},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"];w.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(V){return"\u0645"===V},meridiem:function(V,q,$){return V<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(V){return V.replace(/\u060c/g,",")},postformat:function(V){return V.replace(/\d/g,function(q){return i[q]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},5443:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7642:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};w.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(E){return"\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return S[k]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(T(5439))},8592:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7038:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=function(q){return 0===q?0:1===q?1:2===q?2:q%100>=3&&q%100<=10?3:q%100>=11?4:5},E={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(q){return function($,X,se,ce){var ie=x($),te=E[q][x($)];return 2===ie&&(te=te[X?0:1]),te.replace(/%d/i,$)}},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"];w.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(q){return"\u0645"===q},meridiem:function(q,$,X){return q<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(q){return q.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return S[$]}).replace(/\u060c/g,",")},postformat:function(q){return q.replace(/\d/g,function($){return i[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},1213:function(j,Y,T){!function(w){"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"};w.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(x){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(x)},meridiem:function(x,E,k){return x<4?"gec\u0259":x<12?"s\u0259h\u0259r":x<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(x){if(0===x)return x+"-\u0131nc\u0131";var E=x%10;return x+(i[E]||i[x%100-E]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9191:function(j,Y,T){!function(w){"use strict";function S(E,k,R){return"m"===R?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":E+" "+function i(E,k){var R=E.split("_");return k%10==1&&k%100!=11?R[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?R[1]:R[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"}[R],+E)}w.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:S,mm:S,h:S,hh:S,d:"\u0434\u0437\u0435\u043d\u044c",dd:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(E)},meridiem:function(E,k,R){return E<4?"\u043d\u043e\u0447\u044b":E<12?"\u0440\u0430\u043d\u0456\u0446\u044b":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(E,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return E%10!=2&&E%10!=3||E%100==12||E%100==13?E+"-\u044b":E+"-\u0456";case"D":return E+"-\u0433\u0430";default:return E}},week:{dow:1,doy:7}})}(T(5439))},322:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===x?S+"-\u0432\u0438":2===x?S+"-\u0440\u0438":7===x||8===x?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},8042:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5903:function(j,Y,T){!function(w){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};w.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===k?E<4?E:E+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?E:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?E>=3?E:E+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u09b0\u09be\u09a4":E<6?"\u09ad\u09cb\u09b0":E<12?"\u09b8\u0995\u09be\u09b2":E<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<18?"\u09ac\u09bf\u0995\u09be\u09b2":E<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9620:function(j,Y,T){!function(w){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},S={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};w.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(E){return E.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u09b0\u09be\u09a4"===k&&E>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&E<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?E+12:E},meridiem:function(E,k,R){return E<4?"\u09b0\u09be\u09a4":E<10?"\u09b8\u0995\u09be\u09b2":E<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":E<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9645:function(j,Y,T){!function(w){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},S={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};w.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(E){return E.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&E>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&E<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?E+12:E},meridiem:function(E,k,R){return E<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":E<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":E<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":E<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(T(5439))},5020:function(j,Y,T){!function(w){"use strict";function i(te,he,ge){return te+" "+function E(te,he){return 2===he?function k(te){var he={m:"v",b:"v",d:"z"};return void 0===he[te.charAt(0)]?te:he[te.charAt(0)]+te.substring(1)}(te):te}({mm:"munutenn",MM:"miz",dd:"devezh"}[ge],te)}function x(te){return te>9?x(te%10):te}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],V=/^(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,ce=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];w.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:ce,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:ce,monthsRegex:V,monthsShortRegex:V,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 S(te){switch(x(te)){case 1:case 3:case 4:case 5:case 9:return te+" bloaz";default:return te+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(te){return te+(1===te?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(te){return"g.m."===te},meridiem:function(te,he,ge){return te<12?"a.m.":"g.m."}})}(T(5439))},4792:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var R=x+" ";switch(k){case"ss":return R+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return R+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return E?"jedan sat":"jednog sata";case"hh":return R+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return R+(1===x?"dan":"dana");case"MM":return R+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return R+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}w.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}})}(T(5439))},7980:function(j,Y,T){!function(w){"use strict";w.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(S,x){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===x||"W"===x)&&(E="a"),S+E},week:{dow:1,doy:4}})}(T(5439))},7322:function(j,Y,T){!function(w){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},S="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),x=[/^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],E=/^(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(q){return q>1&&q<5&&1!=~~(q/10)}function R(q,$,X,se){var ce=q+" ";switch(X){case"s":return $||se?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return $||se?ce+(k(q)?"sekundy":"sekund"):ce+"sekundami";case"m":return $?"minuta":se?"minutu":"minutou";case"mm":return $||se?ce+(k(q)?"minuty":"minut"):ce+"minutami";case"h":return $?"hodina":se?"hodinu":"hodinou";case"hh":return $||se?ce+(k(q)?"hodiny":"hodin"):ce+"hodinami";case"d":return $||se?"den":"dnem";case"dd":return $||se?ce+(k(q)?"dny":"dn\xed"):ce+"dny";case"M":return $||se?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return $||se?ce+(k(q)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):ce+"m\u011bs\xedci";case"y":return $||se?"rok":"rokem";case"yy":return $||se?ce+(k(q)?"roky":"let"):ce+"lety"}}w.defineLocale("cs",{months:i,monthsShort:S,monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},365:function(j,Y,T){!function(w){"use strict";w.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(S){return S+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(S)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(S)?"\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}})}(T(5439))},2092:function(j,Y,T){!function(w){"use strict";w.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(S){var E="";return S>20?E=40===S||50===S||60===S||80===S||100===S?"fed":"ain":S>0&&(E=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][S]),S+E},week:{dow:1,doy:4}})}(T(5439))},7387:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},9459:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},3694:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},4307:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return E?V[k][0]:V[k][1]}w.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}})}(T(5439))},9659:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("dv",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,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(E){return"\u0789\u078a"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(T(5439))},3460:function(j,Y,T){!function(w){"use strict";w.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(x,E){return x?"string"==typeof E&&/D/.test(E.substring(0,E.indexOf("MMMM")))?this._monthsGenitiveEl[x.month()]:this._monthsNominativeEl[x.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(x,E,k){return x>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(x){return"\u03bc"===(x+"").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(x,E){var k=this._calendarEl[x],R=E&&E.hours();return function i(x){return"undefined"!=typeof Function&&x instanceof Function||"[object Function]"===Object.prototype.toString.call(x)}(k)&&(k=k.apply(E)),k.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}})}(T(5439))},4369:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:4}})}(T(5439))},530:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(T(5439))},9998:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3391:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},5414:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(T(5439))},9615:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:6}})}(T(5439))},1248:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3767:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},4530:function(j,Y,T){!function(w){"use strict";w.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(S){return"p"===S.charAt(0).toLowerCase()},meridiem:function(S,x,E){return S>11?E?"p.t.m.":"P.T.M.":E?"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}})}(T(5439))},8944:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},9116:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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"})}(T(5439))},3609:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},6866:function(j,Y,T){!function(w){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),S="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],E=/^(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;w.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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"})}(T(5439))},6725:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[x+"sekundi",x+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[x+" minuti",x+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[x+" tunni",x+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[x+" kuu",x+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[x+" aasta",x+" aastat"]};return E?V[k][2]?V[k][2]:V[k][1]:R?V[k][0]:V[k][1]}w.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}})}(T(5439))},7931:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6417:function(j,Y,T){!function(w){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},S={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};w.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(E){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(E)},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u06f0-\u06f9]/g,function(k){return S[k]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(T(5439))},944:function(j,Y,T){!function(w){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),S=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function x(R,V,q,$){var X="";switch(q){case"s":return $?"muutaman sekunnin":"muutama sekunti";case"ss":X=$?"sekunnin":"sekuntia";break;case"m":return $?"minuutin":"minuutti";case"mm":X=$?"minuutin":"minuuttia";break;case"h":return $?"tunnin":"tunti";case"hh":X=$?"tunnin":"tuntia";break;case"d":return $?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":X=$?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return $?"kuukauden":"kuukausi";case"MM":X=$?"kuukauden":"kuukautta";break;case"y":return $?"vuoden":"vuosi";case"yy":X=$?"vuoden":"vuotta"}return function E(R,V){return R<10?V?S[R]:i[R]:R}(R,$)+" "+X}w.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:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1766:function(j,Y,T){!function(w){"use strict";w.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(S){return S},week:{dow:1,doy:4}})}(T(5439))},5867:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6848:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}}})}(T(5439))},7773:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return S+(1===S?"er":"e");case"w":case"W":return S+(1===S?"re":"e")}},week:{dow:1,doy:4}})}(T(5439))},1636:function(j,Y,T){!function(w){"use strict";var x=/(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,E=[/^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];w.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:x,monthsShortRegex:x,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:E,longMonthsParse:E,shortMonthsParse:E,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,V){switch(V){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}})}(T(5439))},4940:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),S="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");w.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(E,k){return E?/-MMM-/.test(k)?S[E.month()]:i[E.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(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},1402:function(j,Y,T){!function(w){"use strict";w.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6924:function(j,Y,T){!function(w){"use strict";w.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(V){return V+(1===V?"d":V%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6398:function(j,Y,T){!function(w){"use strict";w.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(S){return 0===S.indexOf("un")?"n"+S:"en "+S},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}})}(T(5439))},2457:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={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:[x+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",x+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[x+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",x+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[x+" \u0935\u0930\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[x+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",x+" \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:[x+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",x+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[x+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?V[k][0]:V[k][1]}w.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(x,E){return"D"===E?x+"\u0935\u0947\u0930":x},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(x,E){return 12===x&&(x=0),"\u0930\u093e\u0924\u0940"===E?x<4?x:x+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===E?x:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===E?x>12?x:x+12:"\u0938\u093e\u0902\u091c\u0947"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"\u0930\u093e\u0924\u0940":x<12?"\u0938\u0915\u093e\u0933\u0940\u0902":x<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":x<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(T(5439))},2545:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V={s:["thoddea sekondamni","thodde sekond"],ss:[x+" sekondamni",x+" sekond"],m:["eka mintan","ek minut"],mm:[x+" mintamni",x+" mintam"],h:["eka voran","ek vor"],hh:[x+" voramni",x+" voram"],d:["eka disan","ek dis"],dd:[x+" disamni",x+" dis"],M:["eka mhoinean","ek mhoino"],MM:[x+" mhoineamni",x+" mhoine"],y:["eka vorsan","ek voros"],yy:[x+" vorsamni",x+" vorsam"]};return R?V[k][0]:V[k][1]}w.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(x,E){return"D"===E?x+"er":x},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(x,E){return 12===x&&(x=0),"rati"===E?x<4?x:x+12:"sokallim"===E?x:"donparam"===E?x>12?x:x+12:"sanje"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"rati":x<12?"sokallim":x<16?"donparam":x<20?"sanje":"rati"}})}(T(5439))},2641:function(j,Y,T){!function(w){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},S={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};w.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(E){return E.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0ab0\u0abe\u0aa4"===k?E<4?E:E+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?E:"\u0aac\u0aaa\u0acb\u0ab0"===k?E>=10?E:E+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0ab0\u0abe\u0aa4":E<10?"\u0ab8\u0ab5\u0abe\u0ab0":E<17?"\u0aac\u0aaa\u0acb\u0ab0":E<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(T(5439))},7536:function(j,Y,T){!function(w){"use strict";w.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(S){return 2===S?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":S+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(S){return 2===S?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":S+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(S){return 2===S?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":S+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(S){return 2===S?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":S%10==0&&10!==S?S+" \u05e9\u05e0\u05d4":S+" \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(S){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(S)},meridiem:function(S,x,E){return S<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":S<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":S<12?E?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":S<18?E?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(T(5439))},6335:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},x=[/^\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];w.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:x,longMonthsParse:x,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(V){return S[V]})},postformat:function(R){return R.replace(/\d/g,function(V){return i[V]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,V){return 12===R&&(R=0),"\u0930\u093e\u0924"===V?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===V?R:"\u0926\u094b\u092a\u0939\u0930"===V?R>=10?R:R+12:"\u0936\u093e\u092e"===V?R+12:void 0},meridiem:function(R,V,q){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}})}(T(5439))},7458:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var R=x+" ";switch(k){case"ss":return R+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return E?"jedna minuta":"jedne minute";case"mm":return R+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return E?"jedan sat":"jednog sata";case"hh":return R+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return R+(1===x?"dan":"dana");case"MM":return R+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return R+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}w.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}})}(T(5439))},6540:function(j,Y,T){!function(w){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function S(k,R,V,q){var $=k;switch(V){case"s":return q||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return $+(q||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(q||R?" perc":" perce");case"mm":return $+(q||R?" perc":" perce");case"h":return"egy"+(q||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return $+(q||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(q||R?" nap":" napja");case"dd":return $+(q||R?" nap":" napja");case"M":return"egy"+(q||R?" h\xf3nap":" h\xf3napja");case"MM":return $+(q||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(q||R?" \xe9v":" \xe9ve");case"yy":return $+(q||R?" \xe9v":" \xe9ve")}return""}function x(k){return(k?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}w.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,R,V){return k<12?!0===V?"de":"DE":!0===V?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return x.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return x.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},5283:function(j,Y,T){!function(w){"use strict";w.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(S){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(S)},meridiem:function(S){return S<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":S<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":S<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(S,x){switch(x){case"DDD":case"w":case"W":case"DDDo":return 1===S?S+"-\u056b\u0576":S+"-\u0580\u0564";default:return S}},week:{dow:1,doy:7}})}(T(5439))},8780:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"siang"===x?S>=11?S:S+12:"sore"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"siang":S<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}})}(T(5439))},4205:function(j,Y,T){!function(w){"use strict";function i(E){return E%100==11||E%10!=1}function S(E,k,R,V){var q=E+" ";switch(R){case"s":return k||V?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(E)?q+(k||V?"sek\xfandur":"sek\xfandum"):q+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(E)?q+(k||V?"m\xedn\xfatur":"m\xedn\xfatum"):k?q+"m\xedn\xfata":q+"m\xedn\xfatu";case"hh":return i(E)?q+(k||V?"klukkustundir":"klukkustundum"):q+"klukkustund";case"d":return k?"dagur":V?"dag":"degi";case"dd":return i(E)?k?q+"dagar":q+(V?"daga":"d\xf6gum"):k?q+"dagur":q+(V?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":V?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(E)?k?q+"m\xe1nu\xf0ir":q+(V?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?q+"m\xe1nu\xf0ur":q+(V?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||V?"\xe1r":"\xe1ri";case"yy":return i(E)?q+(k||V?"\xe1r":"\xe1rum"):q+(k||V?"\xe1r":"\xe1ri")}}w.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:S,ss:S,m:S,mm:S,h:"klukkustund",hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},9985:function(j,Y,T){!function(w){"use strict";w.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(S){return(/^[0-9].+$/.test(S)?"tra":"in")+" "+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",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}})}(T(5439))},4211:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},1003:function(j,Y,T){!function(w){"use strict";w.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(S,x){return"\u5143"===x[1]?1:parseInt(x[1]||S,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(S){return"\u5348\u5f8c"===S},meridiem:function(S,x,E){return S<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(S){return S.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(S){return this.week()!==S.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(S,x){switch(x){case"y":return 1===S?"\u5143\u5e74":S+"\u5e74";case"d":case"D":case"DDD":return S+"\u65e5";default:return S}},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"}})}(T(5439))},420:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"enjing"===x?S:"siyang"===x?S>=11?S:S+12:"sonten"===x||"ndalu"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"enjing":S<15?"siyang":S<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}})}(T(5439))},851:function(j,Y,T){!function(w){"use strict";w.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(S){return S.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(x,E,k){return"\u10d8"===k?E+"\u10e8\u10d8":E+k+"\u10e8\u10d8"})},past:function(S){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(S)?S.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(S)?S.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):S},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(S){return 0===S?S:1===S?S+"-\u10da\u10d8":S<20||S<=100&&S%20==0||S%100==0?"\u10db\u10d4-"+S:S+"-\u10d4"},week:{dow:1,doy:7}})}(T(5439))},6074:function(j,Y,T){!function(w){"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"};w.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(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},3343:function(j,Y,T){!function(w){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},S={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};w.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(E){return"\u179b\u17d2\u1784\u17b6\u1785"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return S[k]})},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(T(5439))},4799:function(j,Y,T){!function(w){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},S={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};w.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(E){return E.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?E<4?E:E+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?E:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?E>=10?E:E+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":E<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":E<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":E<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(E){return E+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(T(5439))},3549:function(j,Y,T){!function(w){"use strict";w.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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\uc77c";case"M":return S+"\uc6d4";case"w":case"W":return S+"\uc8fc";default:return S}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(S){return"\uc624\ud6c4"===S},meridiem:function(S,x,E){return S<12?"\uc624\uc804":"\uc624\ud6c4"}})}(T(5439))},1037:function(j,Y,T){!function(w){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},S={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=["\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"];w.defineLocale("ku",{months:x,monthsShort:x,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,R,V){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(R){return S[R]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(R){return i[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},3125:function(j,Y,T){!function(w){"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"};w.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(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9586:function(j,Y,T){!function(w){"use strict";function i(R,V,q,$){var X={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 V?X[q][0]:X[q][1]}function E(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 V=R%10;return E(0===V?R/10:V)}if(R<1e4){for(;R>=10;)R/=10;return E(R)}return E(R/=1e3)}w.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 S(R){return E(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R},past:function x(R){return E(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}})}(T(5439))},2349:function(j,Y,T){!function(w){"use strict";w.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(S){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===S},meridiem:function(S,x,E){return S<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(S){return"\u0e97\u0eb5\u0ec8"+S}})}(T(5439))},2400:function(j,Y,T){!function(w){"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 x(q,$,X,se){return $?k(X)[0]:se?k(X)[1]:k(X)[2]}function E(q){return q%10==0||q>10&&q<20}function k(q){return i[q].split("_")}function R(q,$,X,se){var ce=q+" ";return 1===q?ce+x(0,$,X[0],se):$?ce+(E(q)?k(X)[1]:k(X)[0]):se?ce+k(X)[1]:ce+(E(q)?k(X)[1]:k(X)[2])}w.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 S(q,$,X,se){return $?"kelios sekund\u0117s":se?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:R,m:x,mm:R,h:x,hh:R,d:x,dd:R,M:x,MM:R,y:x,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(q){return q+"-oji"},week:{dow:1,doy:4}})}(T(5439))},9991:function(j,Y,T){!function(w){"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 S(V,q,$){return $?q%10==1&&q%100!=11?V[2]:V[3]:q%10==1&&q%100!=11?V[0]:V[1]}function x(V,q,$){return V+" "+S(i[$],V,q)}function E(V,q,$){return S(i[$],V,q)}w.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(V,q){return q?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:x,m:E,mm:x,h:E,hh:x,d:E,dd:x,M:E,MM:x,y:E,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8477:function(j,Y,T){!function(w){"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(x,E){return 1===x?E[0]:x>=2&&x<=4?E[1]:E[2]},translate:function(x,E,k){var R=i.words[k];return 1===k.length?E?R[0]:R[1]:x+" "+i.correctGrammaticalCase(x,R)}};w.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}})}(T(5439))},5118:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5943:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10,E=S%100;return 0===S?S+"-\u0435\u0432":0===E?S+"-\u0435\u043d":E>10&&E<20?S+"-\u0442\u0438":1===x?S+"-\u0432\u0438":2===x?S+"-\u0440\u0438":7===x||8===x?S+"-\u043c\u0438":S+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},3849:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===x&&S>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===x||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===x?S+12:S},meridiem:function(S,x,E){return S<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":S<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":S<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":S<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(T(5439))},1977:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){switch(k){case"s":return E?"\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 x+(E?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return x+(E?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return x+(E?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return x+(E?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return x+(E?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return x+(E?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return x}}w.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(x){return"\u04ae\u0425"===x},meridiem:function(x,E,k){return x<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(x,E){switch(E){case"d":case"D":case"DDD":return x+" \u04e9\u0434\u04e9\u0440";default:return x}}})}(T(5439))},6184:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function x(k,R,V,q){var $="";if(R)switch(V){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":$="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":$="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":$="%d \u0924\u093e\u0938";break;case"d":$="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":$="%d \u0926\u093f\u0935\u0938";break;case"M":$="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":$="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u0947"}else switch(V){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":$="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":$="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":$="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":$="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":$="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":$="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":$="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return $.replace(/%d/i,k)}w.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:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return S[R]})},postformat:function(k){return k.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(k,R){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?k>=12?k:k+12:void 0},meridiem:function(k,R,V){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}})}(T(5439))},4524:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"tengahari"===x?S>=11?S:S+12:"petang"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(T(5439))},485:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"pagi"===x?S:"tengahari"===x?S>=11?S:S+12:"petang"===x||"malam"===x?S+12:void 0},meridiem:function(S,x,E){return S<11?"pagi":S<15?"tengahari":S<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}})}(T(5439))},6681:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2024:function(j,Y,T){!function(w){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},S={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};w.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(E){return E.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return S[k]})},postformat:function(E){return E.replace(/\d/g,function(k){return i[k]})},week:{dow:1,doy:4}})}(T(5439))},2688:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},8914:function(j,Y,T){!function(w){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},S={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};w.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(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0930\u093e\u0924\u093f"===k?E<4?E:E+12:"\u092c\u093f\u0939\u093e\u0928"===k?E:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?E>=10?E:E+12:"\u0938\u093e\u0901\u091d"===k?E+12:void 0},meridiem:function(E,k,R){return E<3?"\u0930\u093e\u0924\u093f":E<12?"\u092c\u093f\u0939\u093e\u0928":E<16?"\u0926\u093f\u0909\u0901\u0938\u094b":E<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}})}(T(5439))},2272:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^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],E=/^(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;w.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},1758:function(j,Y,T){!function(w){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),S="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^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],E=/^(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;w.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,V){return R?/-MMM-/.test(V)?S[R.month()]:i[R.month()]:i},monthsRegex:E,monthsShortRegex:E,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:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},1510:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2797:function(j,Y,T){!function(w){"use strict";w.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(S,x){var E=1===S?"r":2===S?"n":3===S?"r":4===S?"t":"\xe8";return("w"===x||"W"===x)&&(E="a"),S+E},week:{dow:1,doy:4}})}(T(5439))},7944:function(j,Y,T){!function(w){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},S={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};w.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(E){return E.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k){return 12===E&&(E=0),"\u0a30\u0a3e\u0a24"===k?E<4?E:E+12:"\u0a38\u0a35\u0a47\u0a30"===k?E:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?E>=10?E:E+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?E+12:void 0},meridiem:function(E,k,R){return E<4?"\u0a30\u0a3e\u0a24":E<10?"\u0a38\u0a35\u0a47\u0a30":E<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":E<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(T(5439))},1605:function(j,Y,T){!function(w){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),S="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),x=[/^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 E(V){return V%10<5&&V%10>1&&~~(V/10)%10!=1}function k(V,q,$){var X=V+" ";switch($){case"ss":return X+(E(V)?"sekundy":"sekund");case"m":return q?"minuta":"minut\u0119";case"mm":return X+(E(V)?"minuty":"minut");case"h":return q?"godzina":"godzin\u0119";case"hh":return X+(E(V)?"godziny":"godzin");case"ww":return X+(E(V)?"tygodnie":"tygodni");case"MM":return X+(E(V)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return X+(E(V)?"lata":"lat")}}w.defineLocale("pl",{months:function(V,q){return V?/D MMMM/.test(q)?S[V.month()]:i[V.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:x,longMonthsParse:x,shortMonthsParse:x,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}})}(T(5439))},3840:function(j,Y,T){!function(w){"use strict";w.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"})}(T(5439))},4225:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},5128:function(j,Y,T){!function(w){"use strict";function i(x,E,k){var V=" ";return(x%100>=20||x>=100&&x%100==0)&&(V=" de "),x+V+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}w.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}})}(T(5439))},5127:function(j,Y,T){!function(w){"use strict";function S(k,R,V){return"m"===V?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+function i(k,R){var V=k.split("_");return R%10==1&&R%100!=11?V[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?V[1]:V[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"}[V],+k)}var x=[/^\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];w.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:x,longMonthsParse:x,shortMonthsParse:x,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:S,m:S,mm:S,h:"\u0447\u0430\u0441",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:S,M:"\u043c\u0435\u0441\u044f\u0446",MM:S,y:"\u0433\u043e\u0434",yy:S},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,R,V){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,R){switch(R){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}})}(T(5439))},2525:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("sd",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},9893:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},3123:function(j,Y,T){!function(w){"use strict";w.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(S){return S+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(S){return"\u0db4.\u0dc0."===S||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===S},meridiem:function(S,x,E){return S>11?E?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":E?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(T(5439))},9635:function(j,Y,T){!function(w){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),S="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function x(R){return R>1&&R<5}function E(R,V,q,$){var X=R+" ";switch(q){case"s":return V||$?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return V||$?X+(x(R)?"sekundy":"sek\xfand"):X+"sekundami";case"m":return V?"min\xfata":$?"min\xfatu":"min\xfatou";case"mm":return V||$?X+(x(R)?"min\xfaty":"min\xfat"):X+"min\xfatami";case"h":return V?"hodina":$?"hodinu":"hodinou";case"hh":return V||$?X+(x(R)?"hodiny":"hod\xedn"):X+"hodinami";case"d":return V||$?"de\u0148":"d\u0148om";case"dd":return V||$?X+(x(R)?"dni":"dn\xed"):X+"d\u0148ami";case"M":return V||$?"mesiac":"mesiacom";case"MM":return V||$?X+(x(R)?"mesiace":"mesiacov"):X+"mesiacmi";case"y":return V||$?"rok":"rokom";case"yy":return V||$?X+(x(R)?"roky":"rokov"):X+"rokmi"}}w.defineLocale("sk",{months:i,monthsShort:S,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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8106:function(j,Y,T){!function(w){"use strict";function i(x,E,k,R){var V=x+" ";switch(k){case"s":return E||R?"nekaj sekund":"nekaj sekundami";case"ss":return V+(1===x?E?"sekundo":"sekundi":2===x?E||R?"sekundi":"sekundah":x<5?E||R?"sekunde":"sekundah":"sekund");case"m":return E?"ena minuta":"eno minuto";case"mm":return V+(1===x?E?"minuta":"minuto":2===x?E||R?"minuti":"minutama":x<5?E||R?"minute":"minutami":E||R?"minut":"minutami");case"h":return E?"ena ura":"eno uro";case"hh":return V+(1===x?E?"ura":"uro":2===x?E||R?"uri":"urama":x<5?E||R?"ure":"urami":E||R?"ur":"urami");case"d":return E||R?"en dan":"enim dnem";case"dd":return V+(1===x?E||R?"dan":"dnem":2===x?E||R?"dni":"dnevoma":E||R?"dni":"dnevi");case"M":return E||R?"en mesec":"enim mesecem";case"MM":return V+(1===x?E||R?"mesec":"mesecem":2===x?E||R?"meseca":"mesecema":x<5?E||R?"mesece":"meseci":E||R?"mesecev":"meseci");case"y":return E||R?"eno leto":"enim letom";case"yy":return V+(1===x?E||R?"leto":"letom":2===x?E||R?"leti":"letoma":x<5?E||R?"leta":"leti":E||R?"let":"leti")}}w.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}})}(T(5439))},8799:function(j,Y,T){!function(w){"use strict";w.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(S){return"M"===S.charAt(0)},meridiem:function(S,x,E){return S<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}})}(T(5439))},2872:function(j,Y,T){!function(w){"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\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\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"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(x,E){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?E[0]:E[1]:E[2]},translate:function(x,E,k,R){var q,V=i.words[k];return 1===k.length?"y"===k&&E?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":R||E?V[0]:V[1]:(q=i.correctGrammaticalCase(x,V),"yy"===k&&E&&"\u0433\u043e\u0434\u0438\u043d\u0443"===q?x+" \u0433\u043e\u0434\u0438\u043d\u0430":x+" "+q)}};w.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},7949:function(j,Y,T){!function(w){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(x,E){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?E[0]:E[1]:E[2]},translate:function(x,E,k,R){var q,V=i.words[k];return 1===k.length?"y"===k&&E?"jedna godina":R||E?V[0]:V[1]:(q=i.correctGrammaticalCase(x,V),"yy"===k&&E&&"godinu"===q?x+" godina":x+" "+q)}};w.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:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},6167:function(j,Y,T){!function(w){"use strict";w.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(S,x,E){return S<11?"ekuseni":S<15?"emini":S<19?"entsambama":"ebusuku"},meridiemHour:function(S,x){return 12===S&&(S=0),"ekuseni"===x?S:"emini"===x?S>=11?S:S+12:"entsambama"===x||"ebusuku"===x?0===S?0:S+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(T(5439))},9713:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?":e":1===x||2===x?":a":":e")},week:{dow:1,doy:4}})}(T(5439))},1982:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2732:function(j,Y,T){!function(w){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},S={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};w.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(E){return E+"\u0bb5\u0ba4\u0bc1"},preparse:function(E){return E.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return S[k]})},postformat:function(E){return E.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(E,k,R){return E<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":E<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":E<10?" \u0b95\u0bbe\u0bb2\u0bc8":E<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":E<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":E<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(E,k){return 12===E&&(E=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?E<2?E:E+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&E>=10?E:E+12},week:{dow:0,doy:6}})}(T(5439))},3636:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===x?S<4?S:S+12:"\u0c09\u0c26\u0c2f\u0c02"===x?S:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===x?S>=10?S:S+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===x?S+12:void 0},meridiem:function(S,x,E){return S<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":S<10?"\u0c09\u0c26\u0c2f\u0c02":S<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":S<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(T(5439))},2115:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9801:function(j,Y,T){!function(w){"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"};w.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(x,E){return 12===x&&(x=0),"\u0448\u0430\u0431"===E?x<4?x:x+12:"\u0441\u0443\u0431\u04b3"===E?x:"\u0440\u04ef\u0437"===E?x>=11?x:x+12:"\u0431\u0435\u0433\u043e\u04b3"===E?x+12:void 0},meridiem:function(x,E,k){return x<4?"\u0448\u0430\u0431":x<11?"\u0441\u0443\u0431\u04b3":x<16?"\u0440\u04ef\u0437":x<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(x){return x+(i[x]||i[x%10]||i[x>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},2868:function(j,Y,T){!function(w){"use strict";w.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(S){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===S},meridiem:function(S,x,E){return S<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"}})}(T(5439))},1310:function(j,Y,T){!function(w){"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"};w.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(x,E){switch(E){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'unjy";var k=x%10;return x+(i[k]||i[x%100-k]||i[x>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},2360:function(j,Y,T){!function(w){"use strict";w.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(S){return S},week:{dow:1,doy:4}})}(T(5439))},6645:function(j,Y,T){!function(w){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function E(V,q,$,X){var se=function k(V){var q=Math.floor(V%1e3/100),$=Math.floor(V%100/10),X=V%10,se="";return q>0&&(se+=i[q]+"vatlh"),$>0&&(se+=(""!==se?" ":"")+i[$]+"maH"),X>0&&(se+=(""!==se?" ":"")+i[X]),""===se?"pagh":se}(V);switch($){case"ss":return se+" lup";case"mm":return se+" tup";case"hh":return se+" rep";case"dd":return se+" jaj";case"MM":return se+" jar";case"yy":return se+" DIS"}}w.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 S(V){var q=V;return-1!==V.indexOf("jaj")?q.slice(0,-3)+"leS":-1!==V.indexOf("jar")?q.slice(0,-3)+"waQ":-1!==V.indexOf("DIS")?q.slice(0,-3)+"nem":q+" pIq"},past:function x(V){var q=V;return-1!==V.indexOf("jaj")?q.slice(0,-3)+"Hu\u2019":-1!==V.indexOf("jar")?q.slice(0,-3)+"wen":-1!==V.indexOf("DIS")?q.slice(0,-3)+"ben":q+" ret"},s:"puS lup",ss:E,m:"wa\u2019 tup",mm:E,h:"wa\u2019 rep",hh:E,d:"wa\u2019 jaj",dd:E,M:"wa\u2019 jar",MM:E,y:"wa\u2019 DIS",yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8374:function(j,Y,T){!function(w){"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"};w.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_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(x,E,k){return x<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(x){return"\xf6s"===x||"\xd6S"===x},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(x,E){switch(E){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'\u0131nc\u0131";var k=x%10;return x+(i[k]||i[x%100-k]||i[x>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},256:function(j,Y,T){!function(w){"use strict";function S(x,E,k,R){var V={s:["viensas secunds","'iensas secunds"],ss:[x+" secunds",x+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[x+" m\xeduts",x+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[x+" \xfeoras",x+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[x+" ziuas",x+" ziuas"],M:["'n mes","'iens mes"],MM:[x+" mesen",x+" mesen"],y:["'n ar","'iens ar"],yy:[x+" ars",x+" ars"]};return R||E?V[k][0]:V[k][1]}w.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(x){return"d'o"===x.toLowerCase()},meridiem:function(x,E,k){return x>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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1631:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},1595:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},6050:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===x||"\u0633\u06d5\u06be\u06d5\u0631"===x||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===x?S:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===x||"\u0643\u06d5\u0686"===x?S+12:S>=11?S:S+12},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return S+"-\u06be\u06d5\u067e\u062a\u06d5";default:return S}},preparse:function(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(T(5439))},5610:function(j,Y,T){!function(w){"use strict";function S(R,V,q){return"m"===q?V?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===q?V?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+function i(R,V){var q=R.split("_");return V%10==1&&V%100!=11?q[0]:V%10>=2&&V%10<=4&&(V%100<10||V%100>=20)?q[1]:q[2]}({ss:V?"\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:V?"\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:V?"\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"}[q],+R)}function E(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}w.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 x(R,V){var q={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?q.nominative.slice(1,7).concat(q.nominative.slice(0,1)):R?q[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(V)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(V)?"genitive":"nominative"][R.day()]:q.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:E("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:E("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:E("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:E("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return E("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return E("[\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:S,m:S,mm:S,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:S,d:"\u0434\u0435\u043d\u044c",dd:S,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:S,y:"\u0440\u0456\u043a",yy:S},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,V,q){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,V){switch(V){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}})}(T(5439))},6077:function(j,Y,T){!function(w){"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"],S=["\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"];w.defineLocale("ur",{months:i,monthsShort:i,weekdays:S,weekdaysShort:S,weekdaysMin:S,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(E){return"\u0634\u0627\u0645"===E},meridiem:function(E,k,R){return E<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(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},2207:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},2862:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},8093:function(j,Y,T){!function(w){"use strict";w.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(S){return/^ch$/i.test(S)},meridiem:function(S,x,E){return S<12?E?"sa":"SA":E?"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(S){return S},week:{dow:1,doy:4}})}(T(5439))},5590:function(j,Y,T){!function(w){"use strict";w.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(S){var x=S%10;return S+(1==~~(S%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9058:function(j,Y,T){!function(w){"use strict";w.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}})}(T(5439))},7908:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:S>=11?S:S+12},meridiem:function(S,x,E){var k=100*S+x;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(S){return S.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(S){return this.week()!==S.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u5468";default:return S}},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}})}(T(5439))},8867:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},1133:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},3291:function(j,Y,T){!function(w){"use strict";w.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(S,x){return 12===S&&(S=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?S:"\u4e2d\u5348"===x?S>=11?S:S+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?S+12:void 0},meridiem:function(S,x,E){var k=100*S+x;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(S,x){switch(x){case"d":case"D":case"DDD":return S+"\u65e5";case"M":return S+"\u6708";case"w":case"W":return S+"\u9031";default:return S}},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"}})}(T(5439))},5439:function(j,Y,T){(j=T.nmd(j)).exports=function(){"use strict";var w,he;function i(){return w.apply(null,arguments)}function x(C){return C instanceof Array||"[object Array]"===Object.prototype.toString.call(C)}function E(C){return null!=C&&"[object Object]"===Object.prototype.toString.call(C)}function k(C,H){return Object.prototype.hasOwnProperty.call(C,H)}function R(C){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(C).length;var H;for(H in C)if(k(C,H))return!1;return!0}function V(C){return void 0===C}function q(C){return"number"==typeof C||"[object Number]"===Object.prototype.toString.call(C)}function $(C){return C instanceof Date||"[object Date]"===Object.prototype.toString.call(C)}function X(C,H){var z,O=[],G=C.length;for(z=0;z>>0;for(z=0;z0)for(O=0;O=0?O?"+":"":"-")+Math.pow(10,Math.max(0,H-z.length)).toString().substr(1)+z}var oi=/(\[[^\[]*\])|(\\)?([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,et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ii={},Tn={};function Xe(C,H,O,z){var G=z;"string"==typeof z&&(G=function(){return this[z]()}),C&&(Tn[C]=G),H&&(Tn[H[0]]=function(){return zt(G.apply(this,arguments),H[1],H[2])}),O&&(Tn[O]=function(){return this.localeData().ordinal(G.apply(this,arguments),C)})}function ni(C){return C.match(/\[[\s\S]/)?C.replace(/^\[|\]$/g,""):C.replace(/\\/g,"")}function Gi(C,H){return C.isValid()?(H=gi(H,C.localeData()),Ii[H]=Ii[H]||function Un(C){var O,z,H=C.match(oi);for(O=0,z=H.length;O=0&&et.test(C);)C=C.replace(et,z),et.lastIndex=0,O-=1;return C}var tt={};function lt(C,H){var O=C.toLowerCase();tt[O]=tt[O+"s"]=tt[H]=C}function Kt(C){return"string"==typeof C?tt[C]||tt[C.toLowerCase()]:void 0}function Te(C){var O,z,H={};for(z in C)k(C,z)&&(O=Kt(z))&&(H[O]=C[z]);return H}var re={};function oe(C,H){re[C]=H}function Pe(C){return C%4==0&&C%100!=0||C%400==0}function Ge(C){return C<0?Math.ceil(C)||0:Math.floor(C)}function De(C){var H=+C,O=0;return 0!==H&&isFinite(H)&&(O=Ge(H)),O}function it(C,H){return function(O){return null!=O?(zi(this,C,O),i.updateOffset(this,H),this):Bt(this,C)}}function Bt(C,H){return C.isValid()?C._d["get"+(C._isUTC?"UTC":"")+H]():NaN}function zi(C,H,O){C.isValid()&&!isNaN(O)&&("FullYear"===H&&Pe(C.year())&&1===C.month()&&29===C.date()?(O=De(O),C._d["set"+(C._isUTC?"UTC":"")+H](O,C.month(),_i(O,C.month()))):C._d["set"+(C._isUTC?"UTC":"")+H](O))}var M,Fi=/\d/,At=/\d\d/,nt=/\d{3}/,Gn=/\d{4}/,Xt=/[+-]?\d{6}/,Ht=/\d\d?/,fr=/\d\d\d\d?/,rr=/\d\d\d\d\d\d?/,Zn=/\d{1,3}/,pc=/\d{1,4}/,Wa=/[+-]?\d{1,6}/,ba=/\d+/,Aa=/[+-]?\d+/,mr=/Z|[+-]\d\d:?\d\d/gi,Ss=/Z|[+-]\d\d(?::?\d\d)?/gi,bo=/[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 qe(C,H,O){M[C]=ue(H)?H:function(z,G){return z&&O?O:H}}function vi(C,H){return k(M,C)?M[C](H._strict,H._locale):new RegExp(function pn(C){return at(C.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(H,O,z,G,le){return O||z||G||le}))}(C))}function at(C){return C.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}M={};var ri={};function Et(C,H){var O,G,z=H;for("string"==typeof C&&(C=[C]),q(H)&&(z=function(le,we){we[H]=De(le)}),G=C.length,O=0;O68?1900:2e3)};var Bn=it("FullYear",!0);function cl(C,H,O,z,G,le,we){var ot;return C<100&&C>=0?(ot=new Date(C+400,H,O,z,G,le,we),isFinite(ot.getFullYear())&&ot.setFullYear(C)):ot=new Date(C,H,O,z,G,le,we),ot}function $a(C){var H,O;return C<100&&C>=0?((O=Array.prototype.slice.call(arguments))[0]=C+400,H=new Date(Date.UTC.apply(null,O)),isFinite(H.getUTCFullYear())&&H.setUTCFullYear(C)):H=new Date(Date.UTC.apply(null,arguments)),H}function Ma(C,H,O){var z=7+H-O;return-(7+$a(C,0,z).getUTCDay()-H)%7+z-1}function or(C,H,O,z,G){var Pt,ci,ot=1+7*(H-1)+(7+O-z)%7+Ma(C,z,G);return ot<=0?ci=Za(Pt=C-1)+ot:ot>Za(C)?(Pt=C+1,ci=ot-Za(C)):(Pt=C,ci=ot),{year:Pt,dayOfYear:ci}}function Ls(C,H,O){var le,we,z=Ma(C.year(),H,O),G=Math.floor((C.dayOfYear()-z-1)/7)+1;return G<1?le=G+wa(we=C.year()-1,H,O):G>wa(C.year(),H,O)?(le=G-wa(C.year(),H,O),we=C.year()+1):(we=C.year(),le=G),{week:le,year:we}}function wa(C,H,O){var z=Ma(C,H,O),G=Ma(C+1,H,O);return(Za(C)-z+G)/7}Xe("w",["ww",2],"wo","week"),Xe("W",["WW",2],"Wo","isoWeek"),lt("week","w"),lt("isoWeek","W"),oe("week",5),oe("isoWeek",5),qe("w",Ht),qe("ww",Ht,At),qe("W",Ht),qe("WW",Ht,At),Zi(["w","ww","W","WW"],function(C,H,O,z){H[z.substr(0,1)]=De(C)});function ks(C,H){return C.slice(H,7).concat(C.slice(0,H))}Xe("d",0,"do","day"),Xe("dd",0,0,function(C){return this.localeData().weekdaysMin(this,C)}),Xe("ddd",0,0,function(C){return this.localeData().weekdaysShort(this,C)}),Xe("dddd",0,0,function(C){return this.localeData().weekdays(this,C)}),Xe("e",0,0,"weekday"),Xe("E",0,0,"isoWeekday"),lt("day","d"),lt("weekday","e"),lt("isoWeekday","E"),oe("day",11),oe("weekday",11),oe("isoWeekday",11),qe("d",Ht),qe("e",Ht),qe("E",Ht),qe("dd",function(C,H){return H.weekdaysMinRegex(C)}),qe("ddd",function(C,H){return H.weekdaysShortRegex(C)}),qe("dddd",function(C,H){return H.weekdaysRegex(C)}),Zi(["dd","ddd","dddd"],function(C,H,O,z){var G=O._locale.weekdaysParse(C,z,O._strict);null!=G?H.d=G:te(O).invalidWeekday=C}),Zi(["d","e","E"],function(C,H,O,z){H[z]=De(C)});var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=bo,rn=bo,yo=bo;function Ps(C,H,O){var z,G,le,we=C.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],z=0;z<7;++z)le=ce([2e3,1]).day(z),this._minWeekdaysParse[z]=this.weekdaysMin(le,"").toLocaleLowerCase(),this._shortWeekdaysParse[z]=this.weekdaysShort(le,"").toLocaleLowerCase(),this._weekdaysParse[z]=this.weekdays(le,"").toLocaleLowerCase();return O?"dddd"===H?-1!==(G=li.call(this._weekdaysParse,we))?G:null:"ddd"===H?-1!==(G=li.call(this._shortWeekdaysParse,we))?G:null:-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:"dddd"===H?-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._shortWeekdaysParse,we))||-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:"ddd"===H?-1!==(G=li.call(this._shortWeekdaysParse,we))||-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._minWeekdaysParse,we))?G:null:-1!==(G=li.call(this._minWeekdaysParse,we))||-1!==(G=li.call(this._weekdaysParse,we))||-1!==(G=li.call(this._shortWeekdaysParse,we))?G:null}function Ct(){function C(qi,wr){return wr.length-qi.length}var le,we,ot,Pt,ci,H=[],O=[],z=[],G=[];for(le=0;le<7;le++)we=ce([2e3,1]).day(le),ot=at(this.weekdaysMin(we,"")),Pt=at(this.weekdaysShort(we,"")),ci=at(this.weekdays(we,"")),H.push(ot),O.push(Pt),z.push(ci),G.push(ot),G.push(Pt),G.push(ci);H.sort(C),O.sort(C),z.sort(C),G.sort(C),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+O.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+H.join("|")+")","i")}function Li(){return this.hours()%12||12}function ul(C,H){Xe(C,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),H)})}function hi(C,H){return H._meridiemParse}Xe("H",["HH",2],0,"hour"),Xe("h",["hh",2],0,Li),Xe("k",["kk",2],0,function Ut(){return this.hours()||24}),Xe("hmm",0,0,function(){return""+Li.apply(this)+zt(this.minutes(),2)}),Xe("hmmss",0,0,function(){return""+Li.apply(this)+zt(this.minutes(),2)+zt(this.seconds(),2)}),Xe("Hmm",0,0,function(){return""+this.hours()+zt(this.minutes(),2)}),Xe("Hmmss",0,0,function(){return""+this.hours()+zt(this.minutes(),2)+zt(this.seconds(),2)}),ul("a",!0),ul("A",!1),lt("hour","h"),oe("hour",13),qe("a",hi),qe("A",hi),qe("H",Ht),qe("h",Ht),qe("k",Ht),qe("HH",Ht,At),qe("hh",Ht,At),qe("kk",Ht,At),qe("hmm",fr),qe("hmmss",rr),qe("Hmm",fr),qe("Hmmss",rr),Et(["H","HH"],3),Et(["k","kk"],function(C,H,O){var z=De(C);H[3]=24===z?0:z}),Et(["a","A"],function(C,H,O){O._isPm=O._locale.isPM(C),O._meridiem=C}),Et(["h","hh"],function(C,H,O){H[3]=De(C),te(O).bigHour=!0}),Et("hmm",function(C,H,O){var z=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z)),te(O).bigHour=!0}),Et("hmmss",function(C,H,O){var z=C.length-4,G=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z,2)),H[5]=De(C.substr(G)),te(O).bigHour=!0}),Et("Hmm",function(C,H,O){var z=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z))}),Et("Hmmss",function(C,H,O){var z=C.length-4,G=C.length-2;H[3]=De(C.substr(0,z)),H[4]=De(C.substr(z,2)),H[5]=De(C.substr(G))});var wn=it("Hours",!0);var Zr,Is={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:Er,monthsShort:bi,week:{dow:0,doy:6},weekdays:Ft,weekdaysMin:rt,weekdaysShort:Sn,meridiemParse:/[ap]\.?m?\.?/i},xi={},Bs={};function gc(C,H){var O,z=Math.min(C.length,H.length);for(O=0;O0;){if(G=B(le.slice(0,O).join("-")))return G;if(z&&z.length>=O&&gc(le,z)>=O-1)break;O--}H++}return Zr}(C)}function He(C){var H,O=C._a;return O&&-2===te(C).overflow&&(H=O[1]<0||O[1]>11?1:O[2]<1||O[2]>_i(O[0],O[1])?2:O[3]<0||O[3]>24||24===O[3]&&(0!==O[4]||0!==O[5]||0!==O[6])?3:O[4]<0||O[4]>59?4:O[5]<0||O[5]>59?5:O[6]<0||O[6]>999?6:-1,te(C)._overflowDayOfYear&&(H<0||H>2)&&(H=2),te(C)._overflowWeeks&&-1===H&&(H=7),te(C)._overflowWeekday&&-1===H&&(H=8),te(C).overflow=H),C}var ct=/^\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)?)?$/,pi=/^\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)?)?$/,ai=/Z|[+-]\d\d(?::?\d\d)?/,Rt=[["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]],jt=[["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/]],ji=/^\/?Date\((-?\d+)/i,yi=/^(?:(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}))$/,ki={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ta(C){var H,O,le,we,ot,Pt,z=C._i,G=ct.exec(z)||pi.exec(z),ci=Rt.length,qi=jt.length;if(G){for(te(C).iso=!0,H=0,O=ci;H7)&&(Pt=!0)):(le=C._locale._week.dow,we=C._locale._week.doy,ci=Ls(Si(),le,we),O=Xa(H.gg,C._a[0],ci.year),z=Xa(H.w,ci.week),null!=H.d?((G=H.d)<0||G>6)&&(Pt=!0):null!=H.e?(G=H.e+le,(H.e<0||H.e>6)&&(Pt=!0)):G=le),z<1||z>wa(O,le,we)?te(C)._overflowWeeks=!0:null!=Pt?te(C)._overflowWeekday=!0:(ot=or(O,z,G,le,we),C._a[0]=ot.year,C._dayOfYear=ot.dayOfYear)}(C),null!=C._dayOfYear&&(we=Xa(C._a[0],G[0]),(C._dayOfYear>Za(we)||0===C._dayOfYear)&&(te(C)._overflowDayOfYear=!0),O=$a(we,0,C._dayOfYear),C._a[1]=O.getUTCMonth(),C._a[2]=O.getUTCDate()),H=0;H<3&&null==C._a[H];++H)C._a[H]=z[H]=G[H];for(;H<7;H++)C._a[H]=z[H]=null==C._a[H]?2===H?1:0:C._a[H];24===C._a[3]&&0===C._a[4]&&0===C._a[5]&&0===C._a[6]&&(C._nextDay=!0,C._a[3]=0),C._d=(C._useUTC?$a:cl).apply(null,z),le=C._useUTC?C._d.getUTCDay():C._d.getDay(),null!=C._tzm&&C._d.setUTCMinutes(C._d.getUTCMinutes()-C._tzm),C._nextDay&&(C._a[3]=24),C._w&&void 0!==C._w.d&&C._w.d!==le&&(te(C).weekdayMismatch=!0)}}function lr(C){if(C._f!==i.ISO_8601)if(C._f!==i.RFC_2822){C._a=[],te(C).empty=!0;var O,z,G,le,we,ci,qi,H=""+C._i,ot=H.length,Pt=0;for(qi=(G=gi(C._f,C._locale).match(oi)||[]).length,O=0;O0&&te(C).unusedInput.push(we),H=H.slice(H.indexOf(z)+z.length),Pt+=z.length),Tn[le]?(z?te(C).empty=!1:te(C).unusedTokens.push(le),ll(le,z,C)):C._strict&&!z&&te(C).unusedTokens.push(le);te(C).charsLeftOver=ot-Pt,H.length>0&&te(C).unusedInput.push(H),C._a[3]<=12&&!0===te(C).bigHour&&C._a[3]>0&&(te(C).bigHour=void 0),te(C).parsedDateParts=C._a.slice(0),te(C).meridiem=C._meridiem,C._a[3]=function $i(C,H,O){var z;return null==O?H:null!=C.meridiemHour?C.meridiemHour(H,O):(null!=C.isPM&&((z=C.isPM(O))&&H<12&&(H+=12),!z&&12===H&&(H=0)),H)}(C._locale,C._a[3],C._meridiem),null!==(ci=te(C).era)&&(C._a[0]=C._locale.erasConvertYear(ci,C._a[0])),ke(C),He(C)}else $r(C);else Ta(C)}function Ji(C){var H=C._i,O=C._f;return C._locale=C._locale||ne(C._l),null===H||void 0===O&&""===H?Oe({nullInput:!0}):("string"==typeof H&&(C._i=H=C._locale.preparse(H)),Se(H)?new ve(He(H)):($(H)?C._d=H:x(O)?function vd(C){var H,O,z,G,le,we,ot=!1,Pt=C._f.length;if(0===Pt)return te(C).invalidFormat=!0,void(C._d=new Date(NaN));for(G=0;Gthis?this:C:Oe()});function Dn(C,H){var O,z;if(1===H.length&&x(H[0])&&(H=H[0]),!H.length)return Si();for(O=H[0],z=1;z=0?new Date(C+400,H,O)-qs:new Date(C,H,O).valueOf()}function Tc(C,H,O){return C<100&&C>=0?Date.UTC(C+400,H,O)-qs:Date.UTC(C,H,O)}function Xn(C,H){return H.erasAbbrRegex(C)}function vl(){var G,le,C=[],H=[],O=[],z=[],we=this.eras();for(G=0,le=we.length;G(le=wa(C,z,G))&&(H=le),uh.call(this,C,H,O,z,G))}function uh(C,H,O,z,G){var le=or(C,H,O,z,G),we=$a(le.year,0,le.dayOfYear);return this.year(we.getUTCFullYear()),this.month(we.getUTCMonth()),this.date(we.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"),qe("N",Xn),qe("NN",Xn),qe("NNN",Xn),qe("NNNN",function ff(C,H){return H.erasNameRegex(C)}),qe("NNNNN",function mf(C,H){return H.erasNarrowRegex(C)}),Et(["N","NN","NNN","NNNN","NNNNN"],function(C,H,O,z){var G=O._locale.erasParse(C,z,O._strict);G?te(O).era=G:te(O).invalidEra=C}),qe("y",ba),qe("yy",ba),qe("yyy",ba),qe("yyyy",ba),qe("yo",function Dd(C,H){return H._eraYearOrdinalRegex||ba}),Et(["y","yy","yyy","yyyy"],0),Et(["yo"],function(C,H,O,z){var G;O._locale._eraYearOrdinalRegex&&(G=C.match(O._locale._eraYearOrdinalRegex)),H[0]=O._locale.eraYearOrdinalParse?O._locale.eraYearOrdinalParse(C,G):parseInt(C,10)}),Xe(0,["gg",2],0,function(){return this.weekYear()%100}),Xe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Hd("gggg","weekYear"),Hd("ggggg","weekYear"),Hd("GGGG","isoWeekYear"),Hd("GGGGG","isoWeekYear"),lt("weekYear","gg"),lt("isoWeekYear","GG"),oe("weekYear",1),oe("isoWeekYear",1),qe("G",Aa),qe("g",Aa),qe("GG",Ht,At),qe("gg",Ht,At),qe("GGGG",pc,Gn),qe("gggg",pc,Gn),qe("GGGGG",Wa,Xt),qe("ggggg",Wa,Xt),Zi(["gggg","ggggg","GGGG","GGGGG"],function(C,H,O,z){H[z.substr(0,2)]=De(C)}),Zi(["gg","GG"],function(C,H,O,z){H[z]=i.parseTwoDigitYear(C)}),Xe("Q",0,"Qo","quarter"),lt("quarter","Q"),oe("quarter",7),qe("Q",Fi),Et("Q",function(C,H){H[1]=3*(De(C)-1)}),Xe("D",["DD",2],"Do","date"),lt("date","D"),oe("date",9),qe("D",Ht),qe("DD",Ht,At),qe("Do",function(C,H){return C?H._dayOfMonthOrdinalParse||H._ordinalParse:H._dayOfMonthOrdinalParseLenient}),Et(["D","DD"],2),Et("Do",function(C,H){H[2]=De(C.match(Ht)[0])});var yr=it("Date",!0);Xe("DDD",["DDDD",3],"DDDo","dayOfYear"),lt("dayOfYear","DDD"),oe("dayOfYear",4),qe("DDD",Zn),qe("DDDD",nt),Et(["DDD","DDDD"],function(C,H,O){O._dayOfYear=De(C)}),Xe("m",["mm",2],0,"minute"),lt("minute","m"),oe("minute",14),qe("m",Ht),qe("mm",Ht,At),Et(["m","mm"],4);var Ec=it("Minutes",!1);Xe("s",["ss",2],0,"second"),lt("second","s"),oe("second",15),qe("s",Ht),qe("ss",Ht,At),Et(["s","ss"],5);var Ea,ph,Sl=it("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()}),lt("millisecond","ms"),oe("millisecond",16),qe("S",Zn,Fi),qe("SS",Zn,At),qe("SSS",Zn,nt),Ea="SSSS";Ea.length<=9;Ea+="S")qe(Ea,ba);function Ld(C,H){H[6]=De(1e3*("0."+C))}for(Ea="S";Ea.length<=9;Ea+="S")Et(Ea,Ld);ph=it("Milliseconds",!1),Xe("z",0,0,"zoneAbbr"),Xe("zz",0,0,"zoneName");var Fe=ve.prototype;function ta(C){return C}Fe.add=Xr,Fe.calendar=function yc(C,H){1===arguments.length&&(arguments[0]?xo(arguments[0])?(C=arguments[0],H=void 0):So(arguments[0])&&(H=arguments[0],C=void 0):(C=void 0,H=void 0));var O=C||Si(),z=Sa(O,this).startOf("day"),G=i.calendarFormat(this,z)||"sameElse",le=H&&(ue(H[G])?H[G].call(this,O):H[G]);return this.format(le||this.localeData().calendar(G,this,Si(O)))},Fe.clone=function Ku(){return new ve(this)},Fe.diff=function th(C,H,O){var z,G,le;if(!this.isValid())return NaN;if(!(z=Sa(C,this)).isValid())return NaN;switch(G=6e4*(z.utcOffset()-this.utcOffset()),H=Kt(H)){case"year":le=yl(this,z)/12;break;case"month":le=yl(this,z);break;case"quarter":le=yl(this,z)/3;break;case"second":le=(this-z)/1e3;break;case"minute":le=(this-z)/6e4;break;case"hour":le=(this-z)/36e5;break;case"day":le=(this-z-G)/864e5;break;case"week":le=(this-z-G)/6048e5;break;default:le=this-z}return O?le:Ge(le)},Fe.endOf=function sh(C){var H,O;if(void 0===(C=Kt(C))||"millisecond"===C||!this.isValid())return this;switch(O=this._isUTC?Tc:vc,C){case"year":H=O(this.year()+1,0,1)-1;break;case"quarter":H=O(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":H=O(this.year(),this.month()+1,1)-1;break;case"week":H=O(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":H=O(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":H=O(this.year(),this.month(),this.date()+1)-1;break;case"hour":H=this._d.valueOf(),H+=js-Lo(H+(this._isUTC?0:this.utcOffset()*Pr),js)-1;break;case"minute":H=this._d.valueOf(),H+=Pr-Lo(H,Pr)-1;break;case"second":H=this._d.valueOf(),H+=1e3-Lo(H,1e3)-1}return this._d.setTime(H),i.updateOffset(this,!0),this},Fe.format=function Ml(C){C||(C=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var H=Gi(this,C);return this.localeData().postformat(H)},Fe.from=function wl(C,H){return this.isValid()&&(Se(C)&&C.isValid()||Si(C).isValid())?kr({to:this,from:C}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Fe.fromNow=function uf(C){return this.from(Si(),C)},Fe.to=function ih(C,H){return this.isValid()&&(Se(C)&&C.isValid()||Si(C).isValid())?kr({from:this,to:C}).locale(this.locale()).humanize(!H):this.localeData().invalidDate()},Fe.toNow=function Cc(C){return this.to(Si(),C)},Fe.get=function Vt(C){return ue(this[C=Kt(C)])?this[C]():this},Fe.invalidAt=function ch(){return te(this).overflow},Fe.isAfter=function eh(C,H){var O=Se(C)?C:Si(C);return!(!this.isValid()||!O.isValid())&&("millisecond"===(H=Kt(H)||"millisecond")?this.valueOf()>O.valueOf():O.valueOf()9999?Gi(O,H?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ue(Date.prototype.toISOString)?H?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Gi(O,"Z")):Gi(O,H?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Fe.inspect=function Kr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var O,z,C="moment",H="";return this.isLocal()||(C=0===this.utcOffset()?"moment.utc":"moment.parseZone",H="Z"),O="["+C+'("]',z=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(O+z+"-MM-DD[T]HH:mm:ss.SSS"+H+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Fe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Fe.toJSON=function oh(){return this.isValid()?this.toISOString():null},Fe.toString=function Do(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Fe.unix=function Ed(){return Math.floor(this.valueOf()/1e3)},Fe.valueOf=function hf(){return this._d.valueOf()-6e4*(this._offset||0)},Fe.creationData=function Ws(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Fe.eraName=function Ar(){var C,H,O,z=this.localeData().eras();for(C=0,H=z.length;Cthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Fe.isLocal=function Bi(){return!!this.isValid()&&!this._isUTC},Fe.isUtcOffset=function Xu(){return!!this.isValid()&&this._isUTC},Fe.isUtc=_l,Fe.isUTC=_l,Fe.zoneAbbr=function Hg(){return this._isUTC?"UTC":""},Fe.zoneName=function gf(){return this._isUTC?"Coordinated Universal Time":""},Fe.dates=Re("dates accessor is deprecated. Use date instead.",yr),Fe.months=Re("months accessor is deprecated. Use month instead",Ga),Fe.years=Re("years accessor is deprecated. Use year instead",Bn),Fe.zone=Re("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function gl(C,H){return null!=C?("string"!=typeof C&&(C=-C),this.utcOffset(C,H),this):-this.utcOffset()}),Fe.isDSTShifted=Re("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function ts(){if(!V(this._isDSTShifted))return this._isDSTShifted;var H,C={};return Ee(C,this),(C=Ji(C))._a?(H=C._isUTC?ce(C._a):Si(C._a),this._isDSTShifted=this.isValid()&&function Gu(C,H,O){var we,z=Math.min(C.length,H.length),G=Math.abs(C.length-H.length),le=0;for(we=0;we0):this._isDSTShifted=!1,this._isDSTShifted});var si=xe.prototype;function Da(C,H,O,z){var G=ne(),le=ce().set(z,H);return G[O](le,C)}function fh(C,H,O){if(q(C)&&(H=C,C=void 0),C=C||"",null!=H)return Da(C,H,O,"month");var z,G=[];for(z=0;z<12;z++)G[z]=Da(C,z,O,"month");return G}function Pd(C,H,O,z){"boolean"==typeof C?(q(H)&&(O=H,H=void 0),H=H||""):(O=H=C,C=!1,q(H)&&(O=H,H=void 0),H=H||"");var we,G=ne(),le=C?G._week.dow:0,ot=[];if(null!=O)return Da(H,(O+le)%7,z,"day");for(we=0;we<7;we++)ot[we]=Da(H,(we+le)%7,z,"day");return ot}si.calendar=function ft(C,H,O){var z=this._calendar[C]||this._calendar.sameElse;return ue(z)?z.call(H,O):z},si.longDateFormat=function hn(C){var H=this._longDateFormat[C],O=this._longDateFormat[C.toUpperCase()];return H||!O?H:(this._longDateFormat[C]=O.match(oi).map(function(z){return"MMMM"===z||"MM"===z||"DD"===z||"dddd"===z?z.slice(1):z}).join(""),this._longDateFormat[C])},si.invalidDate=function _a(){return this._invalidDate},si.ordinal=function de(C){return this._ordinal.replace("%d",C)},si.preparse=ta,si.postformat=ta,si.relativeTime=function Ae(C,H,O,z){var G=this._relativeTime[O];return ue(G)?G(C,H,O,z):G.replace(/%d/i,C)},si.pastFuture=function Ke(C,H){var O=this._relativeTime[C>0?"future":"past"];return ue(O)?O(H):O.replace(/%s/i,H)},si.set=function _e(C){var H,O;for(O in C)k(C,O)&&(ue(H=C[O])?this[O]=H:this["_"+O]=H);this._config=C,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},si.eras=function Us(C,H){var O,z,G,le=this._eras||ne("en")._eras;for(O=0,z=le.length;O=0)return le[z]},si.erasConvertYear=function ea(C,H){var O=C.since<=C.until?1:-1;return void 0===H?i(C.since).year():i(C.since).year()+(H-C.offset)*O},si.erasAbbrRegex=function pf(C){return k(this,"_erasAbbrRegex")||vl.call(this),C?this._erasAbbrRegex:this._erasRegex},si.erasNameRegex=function Sg(C){return k(this,"_erasNameRegex")||vl.call(this),C?this._erasNameRegex:this._erasRegex},si.erasNarrowRegex=function Pi(C){return k(this,"_erasNarrowRegex")||vl.call(this),C?this._erasNarrowRegex:this._erasRegex},si.months=function Ds(C,H){return C?x(this._months)?this._months[C.month()]:this._months[(this._months.isFormat||ya).test(H)?"format":"standalone"][C.month()]:x(this._months)?this._months:this._months.standalone},si.monthsShort=function Ua(C,H){return C?x(this._monthsShort)?this._monthsShort[C.month()]:this._monthsShort[ya.test(H)?"format":"standalone"][C.month()]:x(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},si.monthsParse=function Hs(C,H,O){var z,G,le;if(this._monthsParseExact)return fc.call(this,C,H,O);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),z=0;z<12;z++){if(G=ce([2e3,z]),O&&!this._longMonthsParse[z]&&(this._longMonthsParse[z]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[z]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!O&&!this._monthsParse[z]&&(le="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[z]=new RegExp(le.replace(".",""),"i")),O&&"MMMM"===H&&this._longMonthsParse[z].test(C))return z;if(O&&"MMM"===H&&this._shortMonthsParse[z].test(C))return z;if(!O&&this._monthsParse[z].test(C))return z}},si.monthsRegex=function Ai(C){return this._monthsParseExact?(k(this,"_monthsRegex")||mc.call(this),C?this._monthsStrictRegex:this._monthsRegex):(k(this,"_monthsRegex")||(this._monthsRegex=Lt),this._monthsStrictRegex&&C?this._monthsStrictRegex:this._monthsRegex)},si.monthsShortRegex=function ar(C){return this._monthsParseExact?(k(this,"_monthsRegex")||mc.call(this),C?this._monthsShortStrictRegex:this._monthsShortRegex):(k(this,"_monthsShortRegex")||(this._monthsShortRegex=Ti),this._monthsShortStrictRegex&&C?this._monthsShortStrictRegex:this._monthsShortRegex)},si.week=function Kp(C){return Ls(C,this._week.dow,this._week.doy).week},si.firstDayOfYear=function tf(){return this._week.doy},si.firstDayOfWeek=function ef(){return this._week.dow},si.weekdays=function an(C,H){var O=x(this._weekdays)?this._weekdays:this._weekdays[C&&!0!==C&&this._weekdays.isFormat.test(H)?"format":"standalone"];return!0===C?ks(O,this._week.dow):C?O[C.day()]:O},si.weekdaysMin=function Gr(C){return!0===C?ks(this._weekdaysMin,this._week.dow):C?this._weekdaysMin[C.day()]:this._weekdaysMin},si.weekdaysShort=function dl(C){return!0===C?ks(this._weekdaysShort,this._week.dow):C?this._weekdaysShort[C.day()]:this._weekdaysShort},si.weekdaysParse=function Ca(C,H,O){var z,G,le;if(this._weekdaysParseExact)return Ps.call(this,C,H,O);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),z=0;z<7;z++){if(G=ce([2e3,1]).day(z),O&&!this._fullWeekdaysParse[z]&&(this._fullWeekdaysParse[z]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[z]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[z]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[z]||(le="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[z]=new RegExp(le.replace(".",""),"i")),O&&"dddd"===H&&this._fullWeekdaysParse[z].test(C))return z;if(O&&"ddd"===H&&this._shortWeekdaysParse[z].test(C))return z;if(O&&"dd"===H&&this._minWeekdaysParse[z].test(C))return z;if(!O&&this._weekdaysParse[z].test(C))return z}},si.weekdaysRegex=function En(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&C?this._weekdaysStrictRegex:this._weekdaysRegex)},si.weekdaysShortRegex=function Rs(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=rn),this._weekdaysShortStrictRegex&&C?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},si.weekdaysMinRegex=function Md(C){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Ct.call(this),C?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yo),this._weekdaysMinStrictRegex&&C?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},si.isPM=function wd(C){return"p"===(C+"").toLowerCase().charAt(0)},si.meridiem=function Os(C,H,O){return C>11?O?"pm":"PM":O?"am":"AM"},U("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(C){var H=C%10;return C+(1===De(C%100/10)?"th":1===H?"st":2===H?"nd":3===H?"rd":"th")}}),i.lang=Re("moment.lang is deprecated. Use moment.locale instead.",U),i.langData=Re("moment.langData is deprecated. Use moment.localeData instead.",ne);var Mr=Math.abs;function Oo(C,H,O,z){var G=kr(H,O);return C._milliseconds+=z*G._milliseconds,C._days+=z*G._days,C._months+=z*G._months,C._bubble()}function Id(C){return C<0?Math.floor(C):Math.ceil(C)}function gh(C){return 4800*C/146097}function Hc(C){return 146097*C/4800}function Or(C){return function(){return this.as(C)}}var kg=Or("ms"),sn=Or("s"),Bd=Or("m"),_h=Or("h"),Lc=Or("d"),Hl=Or("w"),Mf=Or("M"),wf=Or("Q"),Cf=Or("y");function ia(C){return function(){return this.isValid()?this._data[C]:NaN}}var Bo=ia("milliseconds"),vf=ia("seconds"),bh=ia("minutes"),Ll=ia("hours"),kl=ia("days"),Ah=ia("months"),Tf=ia("years");var Qn=Math.round,Ir={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sf(C,H,O,z,G){return G.relativeTime(H||1,!!O,C,z)}var Ha=Math.abs;function na(C){return(C>0)-(C<0)||+C}function La(){if(!this.isValid())return this.localeData().invalidDate();var z,G,le,we,Pt,ci,qi,wr,C=Ha(this._milliseconds)/1e3,H=Ha(this._days),O=Ha(this._months),ot=this.asSeconds();return ot?(z=Ge(C/60),G=Ge(z/60),C%=60,z%=60,le=Ge(O/12),O%=12,we=C?C.toFixed(3).replace(/\.?0+$/,""):"",Pt=ot<0?"-":"",ci=na(this._months)!==na(ot)?"-":"",qi=na(this._days)!==na(ot)?"-":"",wr=na(this._milliseconds)!==na(ot)?"-":"",Pt+"P"+(le?ci+le+"Y":"")+(O?ci+O+"M":"")+(H?qi+H+"D":"")+(G||z||C?"T":"")+(G?wr+G+"H":"")+(z?wr+z+"M":"")+(C?wr+we+"S":"")):"P0D"}var qt=Ka.prototype;return qt.isValid=function Qa(){return this._isValid},qt.abs=function Lg(){var C=this._data;return this._milliseconds=Mr(this._milliseconds),this._days=Mr(this._days),this._months=Mr(this._months),C.milliseconds=Mr(C.milliseconds),C.seconds=Mr(C.seconds),C.minutes=Mr(C.minutes),C.hours=Mr(C.hours),C.months=Mr(C.months),C.years=Mr(C.years),this},qt.add=function Od(C,H){return Oo(this,C,H,1)},qt.subtract=function Dc(C,H){return Oo(this,C,H,-1)},qt.as=function yf(C){if(!this.isValid())return NaN;var H,O,z=this._milliseconds;if("month"===(C=Kt(C))||"quarter"===C||"year"===C)switch(H=this._days+z/864e5,O=this._months+gh(H),C){case"month":return O;case"quarter":return O/3;case"year":return O/12}else switch(H=this._days+Math.round(Hc(this._months)),C){case"week":return H/7+z/6048e5;case"day":return H+z/864e5;case"hour":return 24*H+z/36e5;case"minute":return 1440*H+z/6e4;case"second":return 86400*H+z/1e3;case"millisecond":return Math.floor(864e5*H)+z;default:throw new Error("Unknown unit "+C)}},qt.asMilliseconds=kg,qt.asSeconds=sn,qt.asMinutes=Bd,qt.asHours=_h,qt.asDays=Lc,qt.asWeeks=Hl,qt.asMonths=Mf,qt.asQuarters=wf,qt.asYears=Cf,qt.valueOf=function Dl(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*De(this._months/12):NaN},qt._bubble=function Af(){var G,le,we,ot,Pt,C=this._milliseconds,H=this._days,O=this._months,z=this._data;return C>=0&&H>=0&&O>=0||C<=0&&H<=0&&O<=0||(C+=864e5*Id(Hc(O)+H),H=0,O=0),z.milliseconds=C%1e3,G=Ge(C/1e3),z.seconds=G%60,le=Ge(G/60),z.minutes=le%60,we=Ge(le/60),z.hours=we%24,H+=Ge(we/24),O+=Pt=Ge(gh(H)),H-=Id(Hc(Pt)),ot=Ge(O/12),O%=12,z.days=H,z.months=O,z.years=ot,this},qt.clone=function Io(){return kr(this)},qt.get=function Zs(C){return C=Kt(C),this.isValid()?this[C+"s"]():NaN},qt.milliseconds=Bo,qt.seconds=vf,qt.minutes=bh,qt.hours=Ll,qt.days=kl,qt.weeks=function xf(){return Ge(this.days()/7)},qt.months=Ah,qt.years=Tf,qt.humanize=function Nd(C,H){if(!this.isValid())return this.localeData().invalidDate();var G,le,O=!1,z=Ir;return"object"==typeof C&&(H=C,C=!1),"boolean"==typeof C&&(O=C),"object"==typeof H&&(z=Object.assign({},Ir,H),null!=H.s&&null==H.ss&&(z.ss=H.s-1)),le=function Pg(C,H,O,z){var G=kr(C).abs(),le=Qn(G.as("s")),we=Qn(G.as("m")),ot=Qn(G.as("h")),Pt=Qn(G.as("d")),ci=Qn(G.as("M")),qi=Qn(G.as("w")),wr=Qn(G.as("y")),ns=le<=O.ss&&["s",le]||le0,ns[4]=z,Sf.apply(null,ns)}(this,!O,z,G=this.localeData()),O&&(le=G.pastFuture(+this,le)),G.postformat(le)},qt.toISOString=La,qt.toString=La,qt.toJSON=La,qt.locale=nh,qt.localeData=Ho,qt.toIsoString=Re("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",La),qt.lang=rh,Xe("X",0,0,"unix"),Xe("x",0,0,"valueOf"),qe("x",Aa),qe("X",/[+-]?\d+(\.\d{1,3})?/),Et("X",function(C,H,O){O._d=new Date(1e3*parseFloat(C))}),Et("x",function(C,H,O){O._d=new Date(De(C))}),i.version="2.29.4",function S(C){w=C}(Si),i.fn=Fe,i.min=function Jr(){return Dn("isBefore",[].slice.call(arguments,0))},i.max=function Uu(){return Dn("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=ce,i.unix=function cr(C){return Si(1e3*C)},i.months=function El(C,H){return fh(C,H,"months")},i.isDate=$,i.locale=U,i.invalid=Oe,i.duration=kr,i.isMoment=Se,i.weekdays=function bf(C,H,O){return Pd(C,H,O,"weekdays")},i.parseZone=function kd(){return Si.apply(null,arguments).parseZone()},i.localeData=ne,i.isDuration=wo,i.monthsShort=function _f(C,H){return fh(C,H,"monthsShort")},i.weekdaysMin=function Rd(C,H,O){return Pd(C,H,O,"weekdaysMin")},i.defineLocale=I,i.updateLocale=function J(C,H){if(null!=H){var O,z,G=Is;null!=xi[C]&&null!=xi[C].parentLocale?xi[C].set(be(xi[C]._config,H)):(null!=(z=B(C))&&(G=z._config),H=be(G,H),null==z&&(H.abbr=C),(O=new xe(H)).parentLocale=xi[C],xi[C]=O),U(C)}else null!=xi[C]&&(null!=xi[C].parentLocale?(xi[C]=xi[C].parentLocale,C===U()&&U(C)):null!=xi[C]&&delete xi[C]);return xi[C]},i.locales=function Me(){return ye(xi)},i.weekdaysShort=function mh(C,H,O){return Pd(C,H,O,"weekdaysShort")},i.normalizeUnits=Kt,i.relativeTimeRounding=function Mi(C){return void 0===C?Qn:"function"==typeof C&&(Qn=C,!0)},i.relativeTimeThreshold=function Ef(C,H){return void 0!==Ir[C]&&(void 0===H?Ir[C]:(Ir[C]=H,"s"===C&&(Ir.ss=H-1),!0))},i.calendarFormat=function xd(C,H){var O=C.diff(H,"days",!0);return O<-6?"sameElse":O<-1?"lastWeek":O<0?"lastDay":O<1?"sameDay":O<2?"nextDay":O<7?"nextWeek":"sameElse"},i.prototype=Fe,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}()},8306:(j,Y,T)=>{"use strict";T.d(Y,{y:()=>$});var w=T(930),i=T(727),S=T(8822),x=T(4671);var R=T(2416),V=T(576),q=T(2806);let $=(()=>{class ie{constructor(he){he&&(this._subscribe=he)}lift(he){const ge=new ie;return ge.source=this,ge.operator=he,ge}subscribe(he,ge,Oe){const We=function ce(ie){return ie&&ie instanceof w.Lv||function se(ie){return ie&&(0,V.m)(ie.next)&&(0,V.m)(ie.error)&&(0,V.m)(ie.complete)}(ie)&&(0,i.Nn)(ie)}(he)?he:new w.Hp(he,ge,Oe);return(0,q.x)(()=>{const{operator:Ze,source:Ee}=this;We.add(Ze?Ze.call(We,Ee):Ee?this._subscribe(We):this._trySubscribe(We))}),We}_trySubscribe(he){try{return this._subscribe(he)}catch(ge){he.error(ge)}}forEach(he,ge){return new(ge=X(ge))((Oe,We)=>{const Ze=new w.Hp({next:Ee=>{try{he(Ee)}catch(ve){We(ve),Ze.unsubscribe()}},error:We,complete:Oe});this.subscribe(Ze)})}_subscribe(he){var ge;return null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(he)}[S.L](){return this}pipe(...he){return function k(ie){return 0===ie.length?x.y:1===ie.length?ie[0]:function(he){return ie.reduce((ge,Oe)=>Oe(ge),he)}}(he)(this)}toPromise(he){return new(he=X(he))((ge,Oe)=>{let We;this.subscribe(Ze=>We=Ze,Ze=>Oe(Ze),()=>ge(We))})}}return ie.create=te=>new ie(te),ie})();function X(ie){var te;return null!==(te=null!=ie?ie:R.v.Promise)&&void 0!==te?te:Promise}},7579:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>R});var w=T(8306),i=T(727);const x=(0,T(3888).d)(q=>function(){q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=T(8737),k=T(2806);let R=(()=>{class q extends w.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const se=new V(this,this);return se.operator=X,se}_throwIfClosed(){if(this.closed)throw new x}next(X){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const se of this.currentObservers)se.next(X)}})}error(X){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:se}=this;for(;se.length;)se.shift().error(X)}})}complete(){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:se,isStopped:ce,observers:ie}=this;return se||ce?i.Lc:(this.currentObservers=null,ie.push(X),new i.w0(()=>{this.currentObservers=null,(0,E.P)(ie,X)}))}_checkFinalizedStatuses(X){const{hasError:se,thrownError:ce,isStopped:ie}=this;se?X.error(ce):ie&&X.complete()}asObservable(){const X=new w.y;return X.source=this,X}}return q.create=($,X)=>new V($,X),q})();class V extends R{constructor($,X){super(),this.destination=$,this.source=X}next($){var X,se;null===(se=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===se||se.call(X,$)}error($){var X,se;null===(se=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===se||se.call(X,$)}complete(){var $,X;null===(X=null===($=this.destination)||void 0===$?void 0:$.complete)||void 0===X||X.call($)}_subscribe($){var X,se;return null!==(se=null===(X=this.source)||void 0===X?void 0:X.subscribe($))&&void 0!==se?se:i.Lc}}},930:(j,Y,T)=>{"use strict";T.d(Y,{Hp:()=>he,Lv:()=>se});var w=T(576),i=T(727),S=T(2416),x=T(7849),E=T(5032);const k=q("C",void 0,void 0);function q(Ee,ve,Se){return{kind:Ee,value:ve,error:Se}}var $=T(3410),X=T(2806);class se extends i.w0{constructor(ve){super(),this.isStopped=!1,ve?(this.destination=ve,(0,i.Nn)(ve)&&ve.add(this)):this.destination=Ze}static create(ve,Se,mt){return new he(ve,Se,mt)}next(ve){this.isStopped?We(function V(Ee){return q("N",Ee,void 0)}(ve),this):this._next(ve)}error(ve){this.isStopped?We(function R(Ee){return q("E",void 0,Ee)}(ve),this):(this.isStopped=!0,this._error(ve))}complete(){this.isStopped?We(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ve){this.destination.next(ve)}_error(ve){try{this.destination.error(ve)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function ie(Ee,ve){return ce.call(Ee,ve)}class te{constructor(ve){this.partialObserver=ve}next(ve){const{partialObserver:Se}=this;if(Se.next)try{Se.next(ve)}catch(mt){ge(mt)}}error(ve){const{partialObserver:Se}=this;if(Se.error)try{Se.error(ve)}catch(mt){ge(mt)}else ge(ve)}complete(){const{partialObserver:ve}=this;if(ve.complete)try{ve.complete()}catch(Se){ge(Se)}}}class he extends se{constructor(ve,Se,mt){let Re;if(super(),(0,w.m)(ve)||!ve)Re={next:null!=ve?ve:void 0,error:null!=Se?Se:void 0,complete:null!=mt?mt:void 0};else{let Ve;this&&S.v.useDeprecatedNextContext?(Ve=Object.create(ve),Ve.unsubscribe=()=>this.unsubscribe(),Re={next:ve.next&&ie(ve.next,Ve),error:ve.error&&ie(ve.error,Ve),complete:ve.complete&&ie(ve.complete,Ve)}):Re=ve}this.destination=new te(Re)}}function ge(Ee){S.v.useDeprecatedSynchronousErrorHandling?(0,X.O)(Ee):(0,x.h)(Ee)}function We(Ee,ve){const{onStoppedNotification:Se}=S.v;Se&&$.z.setTimeout(()=>Se(Ee,ve))}const Ze={closed:!0,next:E.Z,error:function Oe(Ee){throw Ee},complete:E.Z}},727:(j,Y,T)=>{"use strict";T.d(Y,{Lc:()=>k,w0:()=>E,Nn:()=>R});var w=T(576);const S=(0,T(3888).d)(q=>function(X){q(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map((se,ce)=>`${ce+1}) ${se.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=X});var x=T(8737);class E{constructor($){this.initialTeardown=$,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let $;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const ie of X)ie.remove(this);else X.remove(this);const{initialTeardown:se}=this;if((0,w.m)(se))try{se()}catch(ie){$=ie instanceof S?ie.errors:[ie]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const ie of ce)try{V(ie)}catch(te){$=null!=$?$:[],te instanceof S?$=[...$,...te.errors]:$.push(te)}}if($)throw new S($)}}add($){var X;if($&&$!==this)if(this.closed)V($);else{if($ instanceof E){if($.closed||$._hasParent(this))return;$._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push($)}}_hasParent($){const{_parentage:X}=this;return X===$||Array.isArray(X)&&X.includes($)}_addParent($){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push($),X):X?[X,$]:$}_removeParent($){const{_parentage:X}=this;X===$?this._parentage=null:Array.isArray(X)&&(0,x.P)(X,$)}remove($){const{_finalizers:X}=this;X&&(0,x.P)(X,$),$ instanceof E&&$._removeParent(this)}}E.EMPTY=(()=>{const q=new E;return q.closed=!0,q})();const k=E.EMPTY;function R(q){return q instanceof E||q&&"closed"in q&&(0,w.m)(q.remove)&&(0,w.m)(q.add)&&(0,w.m)(q.unsubscribe)}function V(q){(0,w.m)(q)?q():q.unsubscribe()}},2416:(j,Y,T)=>{"use strict";T.d(Y,{v:()=>w});const w={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(j,Y,T)=>{"use strict";T.d(Y,{a:()=>$});var w=T(8306),i=T(4742),S=T(2076),x=T(4671),E=T(3268),k=T(3269),R=T(1810),V=T(5403),q=T(9672);function $(...ce){const ie=(0,k.yG)(ce),te=(0,k.jO)(ce),{args:he,keys:ge}=(0,i.D)(ce);if(0===he.length)return(0,S.D)([],ie);const Oe=new w.y(function X(ce,ie,te=x.y){return he=>{se(ie,()=>{const{length:ge}=ce,Oe=new Array(ge);let We=ge,Ze=ge;for(let Ee=0;Ee{const ve=(0,S.D)(ce[Ee],ie);let Se=!1;ve.subscribe((0,V.x)(he,mt=>{Oe[Ee]=mt,Se||(Se=!0,Ze--),Ze||he.next(te(Oe.slice()))},()=>{--We||he.complete()}))},he)},he)}}(he,ie,ge?We=>(0,R.n)(ge,We):x.y));return te?Oe.pipe((0,E.Z)(te)):Oe}function se(ce,ie,te){ce?(0,q.f)(te,ce,ie):ie()}},7272:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>E});var w=T(8189),S=T(3269),x=T(2076);function E(...k){return function i(){return(0,w.J)(1)}()((0,x.D)(k,(0,S.yG)(k)))}},515:(j,Y,T)=>{"use strict";T.d(Y,{E:()=>i});const i=new(T(8306).y)(E=>E.complete())},2076:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>mt});var w=T(8421),i=T(9672),S=T(4482),x=T(5403);function E(Re,Ve=0){return(0,S.e)((Qe,ue)=>{Qe.subscribe((0,x.x)(ue,_e=>(0,i.f)(ue,Re,()=>ue.next(_e),Ve),()=>(0,i.f)(ue,Re,()=>ue.complete(),Ve),_e=>(0,i.f)(ue,Re,()=>ue.error(_e),Ve)))})}function k(Re,Ve=0){return(0,S.e)((Qe,ue)=>{ue.add(Re.schedule(()=>Qe.subscribe(ue),Ve))})}var q=T(8306),X=T(2202),se=T(576);function ie(Re,Ve){if(!Re)throw new Error("Iterable cannot be null");return new q.y(Qe=>{(0,i.f)(Qe,Ve,()=>{const ue=Re[Symbol.asyncIterator]();(0,i.f)(Qe,Ve,()=>{ue.next().then(_e=>{_e.done?Qe.complete():Qe.next(_e.value)})},0,!0)})})}var te=T(3670),he=T(8239),ge=T(1144),Oe=T(6495),We=T(2206),Ze=T(4532),Ee=T(3260);function mt(Re,Ve){return Ve?function Se(Re,Ve){if(null!=Re){if((0,te.c)(Re))return function R(Re,Ve){return(0,w.Xf)(Re).pipe(k(Ve),E(Ve))}(Re,Ve);if((0,ge.z)(Re))return function $(Re,Ve){return new q.y(Qe=>{let ue=0;return Ve.schedule(function(){ue===Re.length?Qe.complete():(Qe.next(Re[ue++]),Qe.closed||this.schedule())})})}(Re,Ve);if((0,he.t)(Re))return function V(Re,Ve){return(0,w.Xf)(Re).pipe(k(Ve),E(Ve))}(Re,Ve);if((0,We.D)(Re))return ie(Re,Ve);if((0,Oe.T)(Re))return function ce(Re,Ve){return new q.y(Qe=>{let ue;return(0,i.f)(Qe,Ve,()=>{ue=Re[X.h](),(0,i.f)(Qe,Ve,()=>{let _e,be;try{({value:_e,done:be}=ue.next())}catch(xe){return void Qe.error(xe)}be?Qe.complete():Qe.next(_e)},0,!0)}),()=>(0,se.m)(null==ue?void 0:ue.return)&&ue.return()})}(Re,Ve);if((0,Ee.L)(Re))return function ve(Re,Ve){return ie((0,Ee.Q)(Re),Ve)}(Re,Ve)}throw(0,Ze.z)(Re)}(Re,Ve):(0,w.Xf)(Re)}},8421:(j,Y,T)=>{"use strict";T.d(Y,{Xf:()=>ce});var w=T(655),i=T(1144),S=T(8239),x=T(8306),E=T(3670),k=T(2206),R=T(4532),V=T(6495),q=T(3260),$=T(576),X=T(7849),se=T(8822);function ce(Ee){if(Ee instanceof x.y)return Ee;if(null!=Ee){if((0,E.c)(Ee))return function ie(Ee){return new x.y(ve=>{const Se=Ee[se.L]();if((0,$.m)(Se.subscribe))return Se.subscribe(ve);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ee);if((0,i.z)(Ee))return function te(Ee){return new x.y(ve=>{for(let Se=0;Se{Ee.then(Se=>{ve.closed||(ve.next(Se),ve.complete())},Se=>ve.error(Se)).then(null,X.h)})}(Ee);if((0,k.D)(Ee))return Oe(Ee);if((0,V.T)(Ee))return function ge(Ee){return new x.y(ve=>{for(const Se of Ee)if(ve.next(Se),ve.closed)return;ve.complete()})}(Ee);if((0,q.L)(Ee))return function We(Ee){return Oe((0,q.Q)(Ee))}(Ee)}throw(0,R.z)(Ee)}function Oe(Ee){return new x.y(ve=>{(function Ze(Ee,ve){var Se,mt,Re,Ve;return(0,w.mG)(this,void 0,void 0,function*(){try{for(Se=(0,w.KL)(Ee);!(mt=yield Se.next()).done;)if(ve.next(mt.value),ve.closed)return}catch(Qe){Re={error:Qe}}finally{try{mt&&!mt.done&&(Ve=Se.return)&&(yield Ve.call(Se))}finally{if(Re)throw Re.error}}ve.complete()})})(Ee,ve).catch(Se=>ve.error(Se))})}},6451:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>k});var w=T(8189),i=T(8421),S=T(515),x=T(3269),E=T(2076);function k(...R){const V=(0,x.yG)(R),q=(0,x._6)(R,1/0),$=R;return $.length?1===$.length?(0,i.Xf)($[0]):(0,w.J)(q)((0,E.D)($,V)):S.E}},9646:(j,Y,T)=>{"use strict";T.d(Y,{of:()=>S});var w=T(3269),i=T(2076);function S(...x){const E=(0,w.yG)(x);return(0,i.D)(x,E)}},102:(j,Y,T)=>{"use strict";T.d(Y,{S:()=>k});var w=T(8306),i=T(8421);const{isArray:S}=Array;var E=T(5403);function k(...V){return 1===(V=function x(V){return 1===V.length&&S(V[0])?V[0]:V}(V)).length?(0,i.Xf)(V[0]):new w.y(function R(V){return q=>{let $=[];for(let X=0;$&&!q.closed&&X{if($){for(let ce=0;ce<$.length;ce++)ce!==X&&$[ce].unsubscribe();$=null}q.next(se)})))}}(V))}},2843:(j,Y,T)=>{"use strict";T.d(Y,{_:()=>S});var w=T(8306),i=T(576);function S(x,E){const k=(0,i.m)(x)?x:()=>x,R=V=>V.error(k());return new w.y(E?V=>E.schedule(R,0,V):R)}},2805:(j,Y,T)=>{"use strict";T.d(Y,{H:()=>E});var w=T(8306),i=T(4986),S=T(3532),x=T(1165);function E(k=0,R,V=i.P){let q=-1;return null!=R&&((0,S.K)(R)?V=R:q=R),new w.y($=>{let X=(0,x.q)(k)?+k-V.now():k;X<0&&(X=0);let se=0;return V.schedule(function(){$.closed||($.next(se++),0<=q?this.schedule(void 0,q):$.complete())},X)})}},5403:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>i});var w=T(930);function i(x,E,k,R,V){return new S(x,E,k,R,V)}class S extends w.Lv{constructor(E,k,R,V,q,$){super(E),this.onFinalize=q,this.shouldUnsubscribe=$,this._next=k?function(X){try{k(X)}catch(se){E.error(se)}}:super._next,this._error=V?function(X){try{V(X)}catch(se){E.error(se)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(X){E.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:k}=this;super.unsubscribe(),!k&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},262:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>x});var w=T(8421),i=T(5403),S=T(4482);function x(E){return(0,S.e)((k,R)=>{let $,V=null,q=!1;V=k.subscribe((0,i.x)(R,void 0,void 0,X=>{$=(0,w.Xf)(E(X,x(E)(k))),V?(V.unsubscribe(),V=null,$.subscribe(R)):q=!0})),q&&(V.unsubscribe(),V=null,$.subscribe(R))})}},4351:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>S});var w=T(5577),i=T(576);function S(x,E){return(0,i.m)(E)?(0,w.z)(x,E,1):(0,w.z)(x,1)}},8372:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>x});var w=T(4986),i=T(4482),S=T(5403);function x(E,k=w.z){return(0,i.e)((R,V)=>{let q=null,$=null,X=null;const se=()=>{if(q){q.unsubscribe(),q=null;const ie=$;$=null,V.next(ie)}};function ce(){const ie=X+E,te=k.now();if(te{$=ie,X=k.now(),q||(q=k.schedule(ce,E),V.add(q))},()=>{se(),V.complete()},void 0,()=>{$=q=null}))})}},6590:(j,Y,T)=>{"use strict";T.d(Y,{d:()=>S});var w=T(4482),i=T(5403);function S(x){return(0,w.e)((E,k)=>{let R=!1;E.subscribe((0,i.x)(k,V=>{R=!0,k.next(V)},()=>{R||k.next(x),k.complete()}))})}},1005:(j,Y,T)=>{"use strict";T.d(Y,{g:()=>se});var w=T(4986),i=T(7272),S=T(5698),x=T(4482),E=T(5403),k=T(5032),V=T(9718),q=T(5577);function $(ce,ie){return ie?te=>(0,i.z)(ie.pipe((0,S.q)(1),function R(){return(0,x.e)((ce,ie)=>{ce.subscribe((0,E.x)(ie,k.Z))})}()),te.pipe($(ce))):(0,q.z)((te,he)=>ce(te,he).pipe((0,S.q)(1),(0,V.h)(te)))}var X=T(2805);function se(ce,ie=w.z){const te=(0,X.H)(ce,ie);return $(()=>te)}},9300:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>S});var w=T(4482),i=T(5403);function S(x,E){return(0,w.e)((k,R)=>{let V=0;k.subscribe((0,i.x)(R,q=>x.call(E,q,V++)&&R.next(q)))})}},590:(j,Y,T)=>{"use strict";T.d(Y,{P:()=>R});var w=T(6805),i=T(9300),S=T(5698),x=T(6590),E=T(8068),k=T(4671);function R(V,q){const $=arguments.length>=2;return X=>X.pipe(V?(0,i.h)((se,ce)=>V(se,ce,X)):k.y,(0,S.q)(1),$?(0,x.d)(q):(0,E.T)(()=>new w.K))}},4004:(j,Y,T)=>{"use strict";T.d(Y,{U:()=>S});var w=T(4482),i=T(5403);function S(x,E){return(0,w.e)((k,R)=>{let V=0;k.subscribe((0,i.x)(R,q=>{R.next(x.call(E,q,V++))}))})}},9718:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>i});var w=T(4004);function i(S){return(0,w.U)(()=>S)}},8189:(j,Y,T)=>{"use strict";T.d(Y,{J:()=>S});var w=T(5577),i=T(4671);function S(x=1/0){return(0,w.z)(i.y,x)}},5577:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>V});var w=T(4004),i=T(8421),S=T(4482),x=T(9672),E=T(5403),R=T(576);function V(q,$,X=1/0){return(0,R.m)($)?V((se,ce)=>(0,w.U)((ie,te)=>$(se,ie,ce,te))((0,i.Xf)(q(se,ce))),X):("number"==typeof $&&(X=$),(0,S.e)((se,ce)=>function k(q,$,X,se,ce,ie,te,he){const ge=[];let Oe=0,We=0,Ze=!1;const Ee=()=>{Ze&&!ge.length&&!Oe&&$.complete()},ve=mt=>Oe{ie&&$.next(mt),Oe++;let Re=!1;(0,i.Xf)(X(mt,We++)).subscribe((0,E.x)($,Ve=>{null==ce||ce(Ve),ie?ve(Ve):$.next(Ve)},()=>{Re=!0},void 0,()=>{if(Re)try{for(Oe--;ge.length&&OeSe(Ve)):Se(Ve)}Ee()}catch(Ve){$.error(Ve)}}))};return q.subscribe((0,E.x)($,ve,()=>{Ze=!0,Ee()})),()=>{null==he||he()}}(se,ce,q,X)))}},3099:(j,Y,T)=>{"use strict";T.d(Y,{B:()=>E});var w=T(8421),i=T(7579),S=T(930),x=T(4482);function E(R={}){const{connector:V=(()=>new i.x),resetOnError:q=!0,resetOnComplete:$=!0,resetOnRefCountZero:X=!0}=R;return se=>{let ce,ie,te,he=0,ge=!1,Oe=!1;const We=()=>{null==ie||ie.unsubscribe(),ie=void 0},Ze=()=>{We(),ce=te=void 0,ge=Oe=!1},Ee=()=>{const ve=ce;Ze(),null==ve||ve.unsubscribe()};return(0,x.e)((ve,Se)=>{he++,!Oe&&!ge&&We();const mt=te=null!=te?te:V();Se.add(()=>{he--,0===he&&!Oe&&!ge&&(ie=k(Ee,X))}),mt.subscribe(Se),!ce&&he>0&&(ce=new S.Hp({next:Re=>mt.next(Re),error:Re=>{Oe=!0,We(),ie=k(Ze,q,Re),mt.error(Re)},complete:()=>{ge=!0,We(),ie=k(Ze,$),mt.complete()}}),(0,w.Xf)(ve).subscribe(ce))})(se)}}function k(R,V,...q){if(!0===V)return void R();if(!1===V)return;const $=new S.Hp({next:()=>{$.unsubscribe(),R()}});return V(...q).subscribe($)}},3900:(j,Y,T)=>{"use strict";T.d(Y,{w:()=>x});var w=T(8421),i=T(4482),S=T(5403);function x(E,k){return(0,i.e)((R,V)=>{let q=null,$=0,X=!1;const se=()=>X&&!q&&V.complete();R.subscribe((0,S.x)(V,ce=>{null==q||q.unsubscribe();let ie=0;const te=$++;(0,w.Xf)(E(ce,te)).subscribe(q=(0,S.x)(V,he=>V.next(k?k(ce,he,te,ie++):he),()=>{q=null,se()}))},()=>{X=!0,se()}))})}},5698:(j,Y,T)=>{"use strict";T.d(Y,{q:()=>x});var w=T(515),i=T(4482),S=T(5403);function x(E){return E<=0?()=>w.E:(0,i.e)((k,R)=>{let V=0;k.subscribe((0,S.x)(R,q=>{++V<=E&&(R.next(q),E<=V&&R.complete())}))})}},8505:(j,Y,T)=>{"use strict";T.d(Y,{b:()=>E});var w=T(576),i=T(4482),S=T(5403),x=T(4671);function E(k,R,V){const q=(0,w.m)(k)||R||V?{next:k,error:R,complete:V}:k;return q?(0,i.e)(($,X)=>{var se;null===(se=q.subscribe)||void 0===se||se.call(q);let ce=!0;$.subscribe((0,S.x)(X,ie=>{var te;null===(te=q.next)||void 0===te||te.call(q,ie),X.next(ie)},()=>{var ie;ce=!1,null===(ie=q.complete)||void 0===ie||ie.call(q),X.complete()},ie=>{var te;ce=!1,null===(te=q.error)||void 0===te||te.call(q,ie),X.error(ie)},()=>{var ie,te;ce&&(null===(ie=q.unsubscribe)||void 0===ie||ie.call(q)),null===(te=q.finalize)||void 0===te||te.call(q)}))}):x.y}},8068:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>x});var w=T(6805),i=T(4482),S=T(5403);function x(k=E){return(0,i.e)((R,V)=>{let q=!1;R.subscribe((0,S.x)(V,$=>{q=!0,V.next($)},()=>q?V.complete():V.error(k())))})}function E(){return new w.K}},7414:(j,Y,T)=>{"use strict";T.d(Y,{V:()=>q});var w=T(4986),i=T(1165),S=T(4482),x=T(8421),E=T(3888),k=T(5403),R=T(9672);const V=(0,E.d)(X=>function(ce=null){X(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ce});function q(X,se){const{first:ce,each:ie,with:te=$,scheduler:he=(null!=se?se:w.z),meta:ge=null}=(0,i.q)(X)?{first:X}:"number"==typeof X?{each:X}:X;if(null==ce&&null==ie)throw new TypeError("No timeout provided.");return(0,S.e)((Oe,We)=>{let Ze,Ee,ve=null,Se=0;const mt=Re=>{Ee=(0,R.f)(We,he,()=>{try{Ze.unsubscribe(),(0,x.Xf)(te({meta:ge,lastValue:ve,seen:Se})).subscribe(We)}catch(Ve){We.error(Ve)}},Re)};Ze=Oe.subscribe((0,k.x)(We,Re=>{null==Ee||Ee.unsubscribe(),Se++,We.next(ve=Re),ie>0&&mt(ie)},void 0,void 0,()=>{(null==Ee?void 0:Ee.closed)||null==Ee||Ee.unsubscribe(),ve=null})),!Se&&mt(null!=ce?"number"==typeof ce?ce:+ce-he.now():ie)})}function $(X){throw new V(X)}},4408:(j,Y,T)=>{"use strict";T.d(Y,{o:()=>E});var w=T(727);class i extends w.w0{constructor(R,V){super()}schedule(R,V=0){return this}}const S={setInterval(k,R,...V){const{delegate:q}=S;return(null==q?void 0:q.setInterval)?q.setInterval(k,R,...V):setInterval(k,R,...V)},clearInterval(k){const{delegate:R}=S;return((null==R?void 0:R.clearInterval)||clearInterval)(k)},delegate:void 0};var x=T(8737);class E extends i{constructor(R,V){super(R,V),this.scheduler=R,this.work=V,this.pending=!1}schedule(R,V=0){if(this.closed)return this;this.state=R;const q=this.id,$=this.scheduler;return null!=q&&(this.id=this.recycleAsyncId($,q,V)),this.pending=!0,this.delay=V,this.id=this.id||this.requestAsyncId($,this.id,V),this}requestAsyncId(R,V,q=0){return S.setInterval(R.flush.bind(R,this),q)}recycleAsyncId(R,V,q=0){if(null!=q&&this.delay===q&&!1===this.pending)return V;S.clearInterval(V)}execute(R,V){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const q=this._execute(R,V);if(q)return q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,V){let $,q=!1;try{this.work(R)}catch(X){q=!0,$=X||new Error("Scheduled action threw falsy error")}if(q)return this.unsubscribe(),$}unsubscribe(){if(!this.closed){const{id:R,scheduler:V}=this,{actions:q}=V;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(q,this),null!=R&&(this.id=this.recycleAsyncId(V,R,null)),this.delay=null,super.unsubscribe()}}}},7565:(j,Y,T)=>{"use strict";T.d(Y,{v:()=>S});var w=T(6063);class i{constructor(E,k=i.now){this.schedulerActionCtor=E,this.now=k}schedule(E,k=0,R){return new this.schedulerActionCtor(this,E).schedule(R,k)}}i.now=w.l.now;class S extends i{constructor(E,k=i.now){super(E,k),this.actions=[],this._active=!1,this._scheduled=void 0}flush(E){const{actions:k}=this;if(this._active)return void k.push(E);let R;this._active=!0;do{if(R=E.execute(E.state,E.delay))break}while(E=k.shift());if(this._active=!1,R){for(;E=k.shift();)E.unsubscribe();throw R}}}},4986:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>S,P:()=>x});var w=T(4408);const S=new(T(7565).v)(w.o),x=S},6063:(j,Y,T)=>{"use strict";T.d(Y,{l:()=>w});const w={now:()=>(w.delegate||Date).now(),delegate:void 0}},3410:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>w});const w={setTimeout(i,S,...x){const{delegate:E}=w;return(null==E?void 0:E.setTimeout)?E.setTimeout(i,S,...x):setTimeout(i,S,...x)},clearTimeout(i){const{delegate:S}=w;return((null==S?void 0:S.clearTimeout)||clearTimeout)(i)},delegate:void 0}},2202:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>i});const i=function w(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(j,Y,T)=>{"use strict";T.d(Y,{L:()=>w});const w="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>i});const i=(0,T(3888).d)(S=>function(){S(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(j,Y,T)=>{"use strict";T.d(Y,{jO:()=>x,yG:()=>E,_6:()=>k});var w=T(576),i=T(3532);function S(R){return R[R.length-1]}function x(R){return(0,w.m)(S(R))?R.pop():void 0}function E(R){return(0,i.K)(S(R))?R.pop():void 0}function k(R,V){return"number"==typeof S(R)?R.pop():V}},4742:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>E});const{isArray:w}=Array,{getPrototypeOf:i,prototype:S,keys:x}=Object;function E(R){if(1===R.length){const V=R[0];if(w(V))return{args:V,keys:null};if(function k(R){return R&&"object"==typeof R&&i(R)===S}(V)){const q=x(V);return{args:q.map($=>V[$]),keys:q}}}return{args:R,keys:null}}},8737:(j,Y,T)=>{"use strict";function w(i,S){if(i){const x=i.indexOf(S);0<=x&&i.splice(x,1)}}T.d(Y,{P:()=>w})},3888:(j,Y,T)=>{"use strict";function w(i){const x=i(E=>{Error.call(E),E.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}T.d(Y,{d:()=>w})},1810:(j,Y,T)=>{"use strict";function w(i,S){return i.reduce((x,E,k)=>(x[E]=S[k],x),{})}T.d(Y,{n:()=>w})},2806:(j,Y,T)=>{"use strict";T.d(Y,{x:()=>S,O:()=>x});var w=T(2416);let i=null;function S(E){if(w.v.useDeprecatedSynchronousErrorHandling){const k=!i;if(k&&(i={errorThrown:!1,error:null}),E(),k){const{errorThrown:R,error:V}=i;if(i=null,R)throw V}}else E()}function x(E){w.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=E)}},9672:(j,Y,T)=>{"use strict";function w(i,S,x,E=0,k=!1){const R=S.schedule(function(){x(),k?i.add(this.schedule(null,E)):this.unsubscribe()},E);if(i.add(R),!k)return R}T.d(Y,{f:()=>w})},4671:(j,Y,T)=>{"use strict";function w(i){return i}T.d(Y,{y:()=>w})},1144:(j,Y,T)=>{"use strict";T.d(Y,{z:()=>w});const w=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(j,Y,T)=>{"use strict";T.d(Y,{D:()=>i});var w=T(576);function i(S){return Symbol.asyncIterator&&(0,w.m)(null==S?void 0:S[Symbol.asyncIterator])}},1165:(j,Y,T)=>{"use strict";function w(i){return i instanceof Date&&!isNaN(i)}T.d(Y,{q:()=>w})},576:(j,Y,T)=>{"use strict";function w(i){return"function"==typeof i}T.d(Y,{m:()=>w})},3670:(j,Y,T)=>{"use strict";T.d(Y,{c:()=>S});var w=T(8822),i=T(576);function S(x){return(0,i.m)(x[w.L])}},6495:(j,Y,T)=>{"use strict";T.d(Y,{T:()=>S});var w=T(2202),i=T(576);function S(x){return(0,i.m)(null==x?void 0:x[w.h])}},8239:(j,Y,T)=>{"use strict";T.d(Y,{t:()=>i});var w=T(576);function i(S){return(0,w.m)(null==S?void 0:S.then)}},3260:(j,Y,T)=>{"use strict";T.d(Y,{Q:()=>S,L:()=>x});var w=T(655),i=T(576);function S(E){return(0,w.FC)(this,arguments,function*(){const R=E.getReader();try{for(;;){const{value:V,done:q}=yield(0,w.qq)(R.read());if(q)return yield(0,w.qq)(void 0);yield yield(0,w.qq)(V)}}finally{R.releaseLock()}})}function x(E){return(0,i.m)(null==E?void 0:E.getReader)}},3532:(j,Y,T)=>{"use strict";T.d(Y,{K:()=>i});var w=T(576);function i(S){return S&&(0,w.m)(S.schedule)}},4482:(j,Y,T)=>{"use strict";T.d(Y,{A:()=>i,e:()=>S});var w=T(576);function i(x){return(0,w.m)(null==x?void 0:x.lift)}function S(x){return E=>{if(i(E))return E.lift(function(k){try{return x(k,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(j,Y,T)=>{"use strict";T.d(Y,{Z:()=>x});var w=T(4004);const{isArray:i}=Array;function x(E){return(0,w.U)(k=>function S(E,k){return i(k)?E(...k):E(k)}(E,k))}},5032:(j,Y,T)=>{"use strict";function w(){}T.d(Y,{Z:()=>w})},7849:(j,Y,T)=>{"use strict";T.d(Y,{h:()=>S});var w=T(2416),i=T(3410);function S(x){i.z.setTimeout(()=>{const{onUnhandledError:E}=w.v;if(!E)throw x;E(x)})}},4532:(j,Y,T)=>{"use strict";function w(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}T.d(Y,{z:()=>w})},6700:(j,Y,T)=>{var w={"./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":5283,"./hy-am.js":5283,"./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":2868,"./th.js":2868,"./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(x){var E=S(x);return T(E)}function S(x){if(!T.o(w,x)){var E=new Error("Cannot find module '"+x+"'");throw E.code="MODULE_NOT_FOUND",E}return w[x]}i.keys=function(){return Object.keys(w)},i.resolve=S,j.exports=i,i.id=6700},655:(j,Y,T)=>{"use strict";function V(ue,_e,be,xe){return new(be||(be=Promise))(function(Ue,ft){function zt(Ii){try{et(xe.next(Ii))}catch(Tn){ft(Tn)}}function oi(Ii){try{et(xe.throw(Ii))}catch(Tn){ft(Tn)}}function et(Ii){Ii.done?Ue(Ii.value):function ye(Ue){return Ue instanceof be?Ue:new be(function(ft){ft(Ue)})}(Ii.value).then(zt,oi)}et((xe=xe.apply(ue,_e||[])).next())})}function ge(ue){return this instanceof ge?(this.v=ue,this):new ge(ue)}function Oe(ue,_e,be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,xe=be.apply(ue,_e||[]),Ue=[];return ye={},ft("next"),ft("throw"),ft("return"),ye[Symbol.asyncIterator]=function(){return this},ye;function ft(Xe){xe[Xe]&&(ye[Xe]=function(ni){return new Promise(function(Un,Gi){Ue.push([Xe,ni,Un,Gi])>1||zt(Xe,ni)})})}function zt(Xe,ni){try{!function oi(Xe){Xe.value instanceof ge?Promise.resolve(Xe.value.v).then(et,Ii):Tn(Ue[0][2],Xe)}(xe[Xe](ni))}catch(Un){Tn(Ue[0][3],Un)}}function et(Xe){zt("next",Xe)}function Ii(Xe){zt("throw",Xe)}function Tn(Xe,ni){Xe(ni),Ue.shift(),Ue.length&&zt(Ue[0][0],Ue[0][1])}}function Ze(ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var be,_e=ue[Symbol.asyncIterator];return _e?_e.call(ue):(ue=function se(ue){var _e="function"==typeof Symbol&&Symbol.iterator,be=_e&&ue[_e],xe=0;if(be)return be.call(ue);if(ue&&"number"==typeof ue.length)return{next:function(){return ue&&xe>=ue.length&&(ue=void 0),{value:ue&&ue[xe++],done:!ue}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(ue),be={},xe("next"),xe("throw"),xe("return"),be[Symbol.asyncIterator]=function(){return this},be);function xe(Ue){be[Ue]=ue[Ue]&&function(ft){return new Promise(function(zt,oi){!function ye(Ue,ft,zt,oi){Promise.resolve(oi).then(function(et){Ue({value:et,done:zt})},ft)}(zt,oi,(ft=ue[Ue](ft)).done,ft.value)})}}}T.d(Y,{mG:()=>V,qq:()=>ge,FC:()=>Oe,KL:()=>Ze})},9808:(j,Y,T)=>{"use strict";T.d(Y,{mr:()=>We,Ov:()=>Wu,ez:()=>Li,K0:()=>R,uU:()=>Ie,Do:()=>Ee,Nd:()=>Ps,V_:()=>$,Ye:()=>ve,S$:()=>ge,mk:()=>Ua,sg:()=>Mn,O5:()=>ar,PC:()=>Ls,RF:()=>Bn,n9:()=>sr,ED:()=>cl,b0:()=>Ze,lw:()=>V,gd:()=>Sn,EM:()=>Bs,JF:()=>Dt,NF:()=>Nn,PM:()=>wn,w_:()=>k,bD:()=>Ut,q:()=>S,Mx:()=>Ds,HT:()=>E});var w=T(5e3);let i=null;function S(){return i}function E(B){i||(i=B)}class k{}const R=new w.OlP("DocumentToken");let V=(()=>{class B{historyGo(I){throw new Error("Not implemented")}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275prov=w.Yz7({token:B,factory:function(){return function q(){return(0,w.LFG)(X)}()},providedIn:"platform"}),B})();const $=new w.OlP("Location Initialized");let X=(()=>{class B extends V{constructor(I){super(),this._doc=I,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(I){const J=S().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",I,!1),()=>J.removeEventListener("popstate",I)}onHashChange(I){const J=S().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",I,!1),()=>J.removeEventListener("hashchange",I)}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(I){this.location.pathname=I}pushState(I,J,ne){se()?this._history.pushState(I,J,ne):this.location.hash=ne}replaceState(I,J,ne){se()?this._history.replaceState(I,J,ne):this.location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(I=0){this._history.go(I)}getState(){return this._history.state}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(R))},B.\u0275prov=w.Yz7({token:B,factory:function(){return function ce(){return new X((0,w.LFG)(R))}()},providedIn:"platform"}),B})();function se(){return!!window.history.pushState}function ie(B,U){if(0==B.length)return U;if(0==U.length)return B;let I=0;return B.endsWith("/")&&I++,U.startsWith("/")&&I++,2==I?B+U.substring(1):1==I?B+U:B+"/"+U}function te(B){const U=B.match(/#|\?|$/),I=U&&U.index||B.length;return B.slice(0,I-("/"===B[I-1]?1:0))+B.slice(I)}function he(B){return B&&"?"!==B[0]?"?"+B:B}let ge=(()=>{class B{historyGo(I){throw new Error("Not implemented")}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275prov=w.Yz7({token:B,factory:function(){return function Oe(B){const U=(0,w.LFG)(R).location;return new Ze((0,w.LFG)(V),U&&U.origin||"")}()},providedIn:"root"}),B})();const We=new w.OlP("appBaseHref");let Ze=(()=>{class B extends ge{constructor(I,J){if(super(),this._platformLocation=I,this._removeListenerFns=[],null==J&&(J=this._platformLocation.getBaseHrefFromDOM()),null==J)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=J}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}prepareExternalUrl(I){return ie(this._baseHref,I)}path(I=!1){const J=this._platformLocation.pathname+he(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&I?`${J}${ne}`:J}pushState(I,J,ne,Me){const He=this.prepareExternalUrl(ne+he(Me));this._platformLocation.pushState(I,J,He)}replaceState(I,J,ne,Me){const He=this.prepareExternalUrl(ne+he(Me));this._platformLocation.replaceState(I,J,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformLocation).historyGo)||void 0===ne||ne.call(J,I)}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(V),w.LFG(We,8))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})(),Ee=(()=>{class B extends ge{constructor(I,J){super(),this._platformLocation=I,this._baseHref="",this._removeListenerFns=[],null!=J&&(this._baseHref=J)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}path(I=!1){let J=this._platformLocation.hash;return null==J&&(J="#"),J.length>0?J.substring(1):J}prepareExternalUrl(I){const J=ie(this._baseHref,I);return J.length>0?"#"+J:J}pushState(I,J,ne,Me){let He=this.prepareExternalUrl(ne+he(Me));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.pushState(I,J,He)}replaceState(I,J,ne,Me){let He=this.prepareExternalUrl(ne+he(Me));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.replaceState(I,J,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformLocation).historyGo)||void 0===ne||ne.call(J,I)}}return B.\u0275fac=function(I){return new(I||B)(w.LFG(V),w.LFG(We,8))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})(),ve=(()=>{class B{constructor(I,J){this._subject=new w.vpe,this._urlChangeListeners=[],this._platformStrategy=I;const ne=this._platformStrategy.getBaseHref();this._platformLocation=J,this._baseHref=te(Re(ne)),this._platformStrategy.onPopState(Me=>{this._subject.emit({url:this.path(!0),pop:!0,state:Me.state,type:Me.type})})}path(I=!1){return this.normalize(this._platformStrategy.path(I))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(I,J=""){return this.path()==this.normalize(I+he(J))}normalize(I){return B.stripTrailingSlash(function mt(B,U){return B&&U.startsWith(B)?U.substring(B.length):U}(this._baseHref,Re(I)))}prepareExternalUrl(I){return I&&"/"!==I[0]&&(I="/"+I),this._platformStrategy.prepareExternalUrl(I)}go(I,J="",ne=null){this._platformStrategy.pushState(ne,"",I,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+he(J)),ne)}replaceState(I,J="",ne=null){this._platformStrategy.replaceState(ne,"",I,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+he(J)),ne)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(I=0){var J,ne;null===(ne=(J=this._platformStrategy).historyGo)||void 0===ne||ne.call(J,I)}onUrlChange(I){this._urlChangeListeners.push(I),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)}))}_notifyUrlChangeListeners(I="",J){this._urlChangeListeners.forEach(ne=>ne(I,J))}subscribe(I,J,ne){return this._subject.subscribe({next:I,error:J,complete:ne})}}return B.normalizeQueryParams=he,B.joinWithSlash=ie,B.stripTrailingSlash=te,B.\u0275fac=function(I){return new(I||B)(w.LFG(ge),w.LFG(V))},B.\u0275prov=w.Yz7({token:B,factory:function(){return function Se(){return new ve((0,w.LFG)(ge),(0,w.LFG)(V))}()},providedIn:"root"}),B})();function Re(B){return B.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))(),_e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),be=(()=>((be=be||{})[be.Narrow=0]="Narrow",be[be.Abbreviated=1]="Abbreviated",be[be.Wide=2]="Wide",be[be.Short=3]="Short",be))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),ye=(()=>((ye=ye||{})[ye.Decimal=0]="Decimal",ye[ye.Group=1]="Group",ye[ye.List=2]="List",ye[ye.PercentSign=3]="PercentSign",ye[ye.PlusSign=4]="PlusSign",ye[ye.MinusSign=5]="MinusSign",ye[ye.Exponential=6]="Exponential",ye[ye.SuperscriptingExponent=7]="SuperscriptingExponent",ye[ye.PerMille=8]="PerMille",ye[ye.Infinity=9]="Infinity",ye[ye.NaN=10]="NaN",ye[ye.TimeSeparator=11]="TimeSeparator",ye[ye.CurrencyDecimal=12]="CurrencyDecimal",ye[ye.CurrencyGroup=13]="CurrencyGroup",ye))();function ni(B,U){return tt((0,w.cg1)(B)[w.wAp.DateFormat],U)}function Un(B,U){return tt((0,w.cg1)(B)[w.wAp.TimeFormat],U)}function Gi(B,U){return tt((0,w.cg1)(B)[w.wAp.DateTimeFormat],U)}function gi(B,U){const I=(0,w.cg1)(B),J=I[w.wAp.NumberSymbols][U];if(void 0===J){if(U===ye.CurrencyDecimal)return I[w.wAp.NumberSymbols][ye.Decimal];if(U===ye.CurrencyGroup)return I[w.wAp.NumberSymbols][ye.Group]}return J}const On=w.kL8;function de(B){if(!B[w.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[w.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function tt(B,U){for(let I=U;I>-1;I--)if(void 0!==B[I])return B[I];throw new Error("Locale data API: locale data undefined")}function lt(B){const[U,I]=B.split(":");return{hours:+U,minutes:+I}}const oe=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ze={},Pe=/((?:[^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 Ge=(()=>((Ge=Ge||{})[Ge.Short=0]="Short",Ge[Ge.ShortGMT=1]="ShortGMT",Ge[Ge.Long=2]="Long",Ge[Ge.Extended=3]="Extended",Ge))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),it=(()=>((it=it||{})[it.DayPeriods=0]="DayPeriods",it[it.Days=1]="Days",it[it.Months=2]="Months",it[it.Eras=3]="Eras",it))();function Bt(B,U,I,J){let ne=function qe(B){if(pn(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[ne,Me=1,He=1]=B.split("-").map(ct=>+ct);return zi(ne,Me-1,He)}const I=parseFloat(B);if(!isNaN(B-I))return new Date(I);let J;if(J=B.match(oe))return function vi(B){const U=new Date(0);let I=0,J=0;const ne=B[8]?U.setUTCFullYear:U.setFullYear,Me=B[8]?U.setUTCHours:U.setHours;B[9]&&(I=Number(B[9]+B[10]),J=Number(B[9]+B[11])),ne.call(U,Number(B[1]),Number(B[2])-1,Number(B[3]));const He=Number(B[4]||0)-I,ct=Number(B[5]||0)-J,pi=Number(B[6]||0),ai=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return Me.call(U,He,ct,pi,ai),U}(J)}const U=new Date(B);if(!pn(U))throw new Error(`Unable to convert "${B}" into a date`);return U}(B);U=Vt(I,U)||U;let ct,He=[];for(;U;){if(ct=Pe.exec(U),!ct){He.push(U);break}{He=He.concat(ct.slice(1));const Rt=He.pop();if(!Rt)break;U=Rt}}let pi=ne.getTimezoneOffset();J&&(pi=Es(J,pi),ne=function M(B,U,I){const J=I?-1:1,ne=B.getTimezoneOffset();return function bo(B,U){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+U),B}(B,J*(Es(U,ne)-ne))}(ne,J,!0));let ai="";return He.forEach(Rt=>{const jt=function Ss(B){if(mr[B])return mr[B];let U;switch(B){case"G":case"GG":case"GGG":U=Xt(it.Eras,be.Abbreviated);break;case"GGGG":U=Xt(it.Eras,be.Wide);break;case"GGGGG":U=Xt(it.Eras,be.Narrow);break;case"y":U=nt(De.FullYear,1,0,!1,!0);break;case"yy":U=nt(De.FullYear,2,0,!0,!0);break;case"yyy":U=nt(De.FullYear,3,0,!1,!0);break;case"yyyy":U=nt(De.FullYear,4,0,!1,!0);break;case"Y":U=Aa(1);break;case"YY":U=Aa(2,!0);break;case"YYY":U=Aa(3);break;case"YYYY":U=Aa(4);break;case"M":case"L":U=nt(De.Month,1,1);break;case"MM":case"LL":U=nt(De.Month,2,1);break;case"MMM":U=Xt(it.Months,be.Abbreviated);break;case"MMMM":U=Xt(it.Months,be.Wide);break;case"MMMMM":U=Xt(it.Months,be.Narrow);break;case"LLL":U=Xt(it.Months,be.Abbreviated,_e.Standalone);break;case"LLLL":U=Xt(it.Months,be.Wide,_e.Standalone);break;case"LLLLL":U=Xt(it.Months,be.Narrow,_e.Standalone);break;case"w":U=ba(1);break;case"ww":U=ba(2);break;case"W":U=ba(1,!0);break;case"d":U=nt(De.Date,1);break;case"dd":U=nt(De.Date,2);break;case"c":case"cc":U=nt(De.Day,1);break;case"ccc":U=Xt(it.Days,be.Abbreviated,_e.Standalone);break;case"cccc":U=Xt(it.Days,be.Wide,_e.Standalone);break;case"ccccc":U=Xt(it.Days,be.Narrow,_e.Standalone);break;case"cccccc":U=Xt(it.Days,be.Short,_e.Standalone);break;case"E":case"EE":case"EEE":U=Xt(it.Days,be.Abbreviated);break;case"EEEE":U=Xt(it.Days,be.Wide);break;case"EEEEE":U=Xt(it.Days,be.Narrow);break;case"EEEEEE":U=Xt(it.Days,be.Short);break;case"a":case"aa":case"aaa":U=Xt(it.DayPeriods,be.Abbreviated);break;case"aaaa":U=Xt(it.DayPeriods,be.Wide);break;case"aaaaa":U=Xt(it.DayPeriods,be.Narrow);break;case"b":case"bb":case"bbb":U=Xt(it.DayPeriods,be.Abbreviated,_e.Standalone,!0);break;case"bbbb":U=Xt(it.DayPeriods,be.Wide,_e.Standalone,!0);break;case"bbbbb":U=Xt(it.DayPeriods,be.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":U=Xt(it.DayPeriods,be.Abbreviated,_e.Format,!0);break;case"BBBB":U=Xt(it.DayPeriods,be.Wide,_e.Format,!0);break;case"BBBBB":U=Xt(it.DayPeriods,be.Narrow,_e.Format,!0);break;case"h":U=nt(De.Hours,1,-12);break;case"hh":U=nt(De.Hours,2,-12);break;case"H":U=nt(De.Hours,1);break;case"HH":U=nt(De.Hours,2);break;case"m":U=nt(De.Minutes,1);break;case"mm":U=nt(De.Minutes,2);break;case"s":U=nt(De.Seconds,1);break;case"ss":U=nt(De.Seconds,2);break;case"S":U=nt(De.FractionalSeconds,1);break;case"SS":U=nt(De.FractionalSeconds,2);break;case"SSS":U=nt(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":U=fr(Ge.Short);break;case"ZZZZZ":U=fr(Ge.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":U=fr(Ge.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":U=fr(Ge.Long);break;default:return null}return mr[B]=U,U}(Rt);ai+=jt?jt(ne,I,pi):"''"===Rt?"'":Rt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ai}function zi(B,U,I){const J=new Date(0);return J.setFullYear(B,U,I),J.setHours(0,0,0),J}function Vt(B,U){const I=function ft(B){return(0,w.cg1)(B)[w.wAp.LocaleId]}(B);if(ze[I]=ze[I]||{},ze[I][U])return ze[I][U];let J="";switch(U){case"shortDate":J=ni(B,xe.Short);break;case"mediumDate":J=ni(B,xe.Medium);break;case"longDate":J=ni(B,xe.Long);break;case"fullDate":J=ni(B,xe.Full);break;case"shortTime":J=Un(B,xe.Short);break;case"mediumTime":J=Un(B,xe.Medium);break;case"longTime":J=Un(B,xe.Long);break;case"fullTime":J=Un(B,xe.Full);break;case"short":const ne=Vt(B,"shortTime"),Me=Vt(B,"shortDate");J=Ur(Gi(B,xe.Short),[ne,Me]);break;case"medium":const He=Vt(B,"mediumTime"),ct=Vt(B,"mediumDate");J=Ur(Gi(B,xe.Medium),[He,ct]);break;case"long":const pi=Vt(B,"longTime"),ai=Vt(B,"longDate");J=Ur(Gi(B,xe.Long),[pi,ai]);break;case"full":const Rt=Vt(B,"fullTime"),jt=Vt(B,"fullDate");J=Ur(Gi(B,xe.Full),[Rt,jt])}return J&&(ze[I][U]=J),J}function Ur(B,U){return U&&(B=B.replace(/\{([^}]+)}/g,function(I,J){return null!=U&&J in U?U[J]:I})),B}function Fi(B,U,I="-",J,ne){let Me="";(B<0||ne&&B<=0)&&(ne?B=1-B:(B=-B,Me=I));let He=String(B);for(;He.length0||ct>-I)&&(ct+=I),B===De.Hours)0===ct&&-12===I&&(ct=12);else if(B===De.FractionalSeconds)return function At(B,U){return Fi(B,3).substr(0,U)}(ct,U);const pi=gi(He,ye.MinusSign);return Fi(ct,U,pi,J,ne)}}function Xt(B,U,I=_e.Format,J=!1){return function(ne,Me){return function Ht(B,U,I,J,ne,Me){switch(I){case it.Months:return function et(B,U,I){const J=(0,w.cg1)(B),Me=tt([J[w.wAp.MonthsFormat],J[w.wAp.MonthsStandalone]],U);return tt(Me,I)}(U,ne,J)[B.getMonth()];case it.Days:return function oi(B,U,I){const J=(0,w.cg1)(B),Me=tt([J[w.wAp.DaysFormat],J[w.wAp.DaysStandalone]],U);return tt(Me,I)}(U,ne,J)[B.getDay()];case it.DayPeriods:const He=B.getHours(),ct=B.getMinutes();if(Me){const ai=function Be(B){const U=(0,w.cg1)(B);return de(U),(U[w.wAp.ExtraData][2]||[]).map(J=>"string"==typeof J?lt(J):[lt(J[0]),lt(J[1])])}(U),Rt=function Ae(B,U,I){const J=(0,w.cg1)(B);de(J);const Me=tt([J[w.wAp.ExtraData][0],J[w.wAp.ExtraData][1]],U)||[];return tt(Me,I)||[]}(U,ne,J),jt=ai.findIndex(ji=>{if(Array.isArray(ji)){const[yi,ki]=ji,Ta=He>=yi.hours&&ct>=yi.minutes,Hr=He0?Math.floor(ne/60):Math.ceil(ne/60);switch(B){case Ge.Short:return(ne>=0?"+":"")+Fi(He,2,Me)+Fi(Math.abs(ne%60),2,Me);case Ge.ShortGMT:return"GMT"+(ne>=0?"+":"")+Fi(He,1,Me);case Ge.Long:return"GMT"+(ne>=0?"+":"")+Fi(He,2,Me)+":"+Fi(Math.abs(ne%60),2,Me);case Ge.Extended:return 0===J?"Z":(ne>=0?"+":"")+Fi(He,2,Me)+":"+Fi(Math.abs(ne%60),2,Me);default:throw new Error(`Unknown zone width "${B}"`)}}}function Wa(B){return zi(B.getFullYear(),B.getMonth(),B.getDate()+(4-B.getDay()))}function ba(B,U=!1){return function(I,J){let ne;if(U){const Me=new Date(I.getFullYear(),I.getMonth(),1).getDay()-1,He=I.getDate();ne=1+Math.floor((He+Me)/7)}else{const Me=Wa(I),He=function pc(B){const U=zi(B,0,1).getDay();return zi(B,0,1+(U<=4?4:11)-U)}(Me.getFullYear()),ct=Me.getTime()-He.getTime();ne=1+Math.round(ct/6048e5)}return Fi(ne,B,gi(J,ye.MinusSign))}}function Aa(B,U=!1){return function(I,J){return Fi(Wa(I).getFullYear(),B,gi(J,ye.MinusSign),U)}}const mr={};function Es(B,U){B=B.replace(/:/g,"");const I=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(I)?U:I}function pn(B){return B instanceof Date&&!isNaN(B.valueOf())}class bi{}let Ti=(()=>{class B extends bi{constructor(I){super(),this.locale=I}getPluralCategory(I,J){switch(On(J||this.locale)(I)){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 B.\u0275fac=function(I){return new(I||B)(w.LFG(w.soG))},B.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac}),B})();function Ds(B,U){U=encodeURIComponent(U);for(const I of B.split(";")){const J=I.indexOf("="),[ne,Me]=-1==J?[I,""]:[I.slice(0,J),I.slice(J+1)];if(ne.trim()===U)return decodeURIComponent(Me)}return null}let Ua=(()=>{class B{constructor(I,J,ne,Me){this._iterableDiffers=I,this._keyValueDiffers=J,this._ngEl=ne,this._renderer=Me,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(I){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof I?I.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(I){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof I?I.split(/\s+/):I,this._rawClass&&((0,w.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const I=this._iterableDiffer.diff(this._rawClass);I&&this._applyIterableChanges(I)}else if(this._keyValueDiffer){const I=this._keyValueDiffer.diff(this._rawClass);I&&this._applyKeyValueChanges(I)}}_applyKeyValueChanges(I){I.forEachAddedItem(J=>this._toggleClass(J.key,J.currentValue)),I.forEachChangedItem(J=>this._toggleClass(J.key,J.currentValue)),I.forEachRemovedItem(J=>{J.previousValue&&this._toggleClass(J.key,!1)})}_applyIterableChanges(I){I.forEachAddedItem(J=>{if("string"!=typeof J.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,w.AaK)(J.item)}`);this._toggleClass(J.item,!0)}),I.forEachRemovedItem(J=>this._toggleClass(J.item,!1))}_applyClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(J=>this._toggleClass(J,!0)):Object.keys(I).forEach(J=>this._toggleClass(J,!!I[J])))}_removeClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(J=>this._toggleClass(J,!1)):Object.keys(I).forEach(J=>this._toggleClass(J,!1)))}_toggleClass(I,J){(I=I.trim())&&I.split(/\s+/g).forEach(ne=>{J?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.ZZ4),w.Y36(w.aQg),w.Y36(w.SBq),w.Y36(w.Qsj))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),B})();class Hs{constructor(U,I,J,ne){this.$implicit=U,this.ngForOf=I,this.index=J,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 Mn=(()=>{class B{constructor(I,J,ne){this._viewContainer=I,this._template=J,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(I){this._ngForOf=I,this._ngForOfDirty=!0}set ngForTrackBy(I){this._trackByFn=I}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(I){I&&(this._template=I)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const I=this._ngForOf;!this._differ&&I&&(this._differ=this._differs.find(I).create(this.ngForTrackBy))}if(this._differ){const I=this._differ.diff(this._ngForOf);I&&this._applyChanges(I)}}_applyChanges(I){const J=this._viewContainer;I.forEachOperation((ne,Me,He)=>{if(null==ne.previousIndex)J.createEmbeddedView(this._template,new Hs(ne.item,this._ngForOf,-1,-1),null===He?void 0:He);else if(null==He)J.remove(null===Me?void 0:Me);else if(null!==Me){const ct=J.get(Me);J.move(ct,He),Ga(ct,ne)}});for(let ne=0,Me=J.length;ne{Ga(J.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(I,J){return!0}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(w.ZZ4))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),B})();function Ga(B,U){B.context.$implicit=U.item}let ar=(()=>{class B{constructor(I,J){this._viewContainer=I,this._context=new Ai,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=J}set ngIf(I){this._context.$implicit=this._context.ngIf=I,this._updateView()}set ngIfThen(I){mc("ngIfThen",I),this._thenTemplateRef=I,this._thenViewRef=null,this._updateView()}set ngIfElse(I){mc("ngIfElse",I),this._elseTemplateRef=I,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(I,J){return!0}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),B})();class Ai{constructor(){this.$implicit=null,this.ngIf=null}}function mc(B,U){if(U&&!U.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,w.AaK)(U)}'.`)}class Za{constructor(U,I){this._viewContainerRef=U,this._templateRef=I,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let Bn=(()=>{class B{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(I){this._ngSwitch=I,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(I){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(I)}_matchCase(I){const J=I==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||J,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),J}_updateDefaultCases(I){if(this._defaultViews&&I!==this._defaultUsed){this._defaultUsed=I;for(let J=0;J{class B{constructor(I,J,ne){this.ngSwitch=ne,ne._addCase(),this._view=new Za(I,J)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(Bn,9))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),B})(),cl=(()=>{class B{constructor(I,J,ne){ne._addDefault(new Za(I,J))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.s_b),w.Y36(w.Rgc),w.Y36(Bn,9))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngSwitchDefault",""]]}),B})(),Ls=(()=>{class B{constructor(I,J,ne){this._ngEl=I,this._differs=J,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(I){this._ngStyle=I,!this._differ&&I&&(this._differ=this._differs.find(I).create())}ngDoCheck(){if(this._differ){const I=this._differ.diff(this._ngStyle);I&&this._applyChanges(I)}}_setStyle(I,J){const[ne,Me]=I.split(".");null!=(J=null!=J&&Me?`${J}${Me}`:J)?this._renderer.setStyle(this._ngEl.nativeElement,ne,J):this._renderer.removeStyle(this._ngEl.nativeElement,ne)}_applyChanges(I){I.forEachRemovedItem(J=>this._setStyle(J.key,null)),I.forEachAddedItem(J=>this._setStyle(J.key,J.currentValue)),I.forEachChangedItem(J=>this._setStyle(J.key,J.currentValue))}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.SBq),w.Y36(w.aQg),w.Y36(w.Qsj))},B.\u0275dir=w.lG2({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),B})();function gr(B,U){return new w.vHH(2100,"")}class ef{createSubscription(U,I){return U.subscribe({next:I,error:J=>{throw J}})}dispose(U){U.unsubscribe()}onDestroy(U){U.unsubscribe()}}class tf{createSubscription(U,I){return U.then(I,J=>{throw J})}dispose(U){}onDestroy(U){}}const nf=new tf,rf=new ef;let Wu=(()=>{class B{constructor(I){this._ref=I,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(I){return this._obj?I!==this._obj?(this._dispose(),this.transform(I)):this._latestValue:(I&&this._subscribe(I),this._latestValue)}_subscribe(I){this._obj=I,this._strategy=this._selectStrategy(I),this._subscription=this._strategy.createSubscription(I,J=>this._updateLatestValue(I,J))}_selectStrategy(I){if((0,w.QGY)(I))return nf;if((0,w.F4k)(I))return rf;throw gr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(I,J){I===this._obj&&(this._latestValue=J,this._ref.markForCheck())}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.sBO,16))},B.\u0275pipe=w.Yjl({name:"async",type:B,pure:!1}),B})(),Sn=(()=>{class B{transform(I){if(null==I)return null;if("string"!=typeof I)throw gr();return I.toUpperCase()}}return B.\u0275fac=function(I){return new(I||B)},B.\u0275pipe=w.Yjl({name:"uppercase",type:B,pure:!0}),B})();const rt=new w.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ie=(()=>{class B{constructor(I,J){this.locale=I,this.defaultTimezone=J}transform(I,J="mediumDate",ne,Me){var He;if(null==I||""===I||I!=I)return null;try{return Bt(I,J,Me||this.locale,null!==(He=null!=ne?ne:this.defaultTimezone)&&void 0!==He?He:void 0)}catch(ct){throw gr()}}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.soG,16),w.Y36(rt,24))},B.\u0275pipe=w.Yjl({name:"date",type:B,pure:!0}),B})(),Ps=(()=>{class B{constructor(I){this.differs=I,this.keyValues=[],this.compareFn=Ca}transform(I,J=Ca){if(!I||!(I instanceof Map)&&"object"!=typeof I)return null;this.differ||(this.differ=this.differs.find(I).create());const ne=this.differ.diff(I),Me=J!==this.compareFn;return ne&&(this.keyValues=[],ne.forEachItem(He=>{this.keyValues.push(function Gr(B,U){return{key:B,value:U}}(He.key,He.currentValue))})),(ne||Me)&&(this.keyValues.sort(J),this.compareFn=J),this.keyValues}}return B.\u0275fac=function(I){return new(I||B)(w.Y36(w.aQg,16))},B.\u0275pipe=w.Yjl({name:"keyvalue",type:B,pure:!1}),B})();function Ca(B,U){const I=B.key,J=U.key;if(I===J)return 0;if(void 0===I)return 1;if(void 0===J)return-1;if(null===I)return 1;if(null===J)return-1;if("string"==typeof I&&"string"==typeof J)return I{class B{}return B.\u0275fac=function(I){return new(I||B)},B.\u0275mod=w.oAB({type:B}),B.\u0275inj=w.cJS({providers:[{provide:bi,useClass:Ti}]}),B})();const Ut="browser";function Nn(B){return B===Ut}function wn(B){return"server"===B}let Bs=(()=>{class B{}return B.\u0275prov=(0,w.Yz7)({token:B,providedIn:"root",factory:()=>new Zr((0,w.LFG)(R),window)}),B})();class Zr{constructor(U,I){this.document=U,this.window=I,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const I=function Dr(B,U){const I=B.getElementById(U)||B.getElementsByName(U)[0];if(I)return I;if("function"==typeof B.createTreeWalker&&B.body&&(B.body.createShadowRoot||B.body.attachShadow)){const J=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let ne=J.currentNode;for(;ne;){const Me=ne.shadowRoot;if(Me){const He=Me.getElementById(U)||Me.querySelector(`[name="${U}"]`);if(He)return He}ne=J.nextNode()}}return null}(this.document,U);I&&(this.scrollToElement(I),I.focus())}setHistoryScrollRestoration(U){if(this.supportScrollRestoration()){const I=this.window.history;I&&I.scrollRestoration&&(I.scrollRestoration=U)}}scrollToElement(U){const I=U.getBoundingClientRect(),J=I.left+this.window.pageXOffset,ne=I.top+this.window.pageYOffset,Me=this.offset();this.window.scrollTo(J-Me[0],ne-Me[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const U=gc(this.window.history)||gc(Object.getPrototypeOf(this.window.history));return!(!U||!U.writable&&!U.set)}catch(U){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(U){return!1}}}function gc(B){return Object.getOwnPropertyDescriptor(B,"scrollRestoration")}class Dt{}},520:(j,Y,T)=>{"use strict";T.d(Y,{TP:()=>ft,eN:()=>ye,JF:()=>tt,qT:()=>We,WM:()=>$,LE:()=>ge,Zn:()=>_e});var w=T(9808),i=T(5e3),S=T(9646),x=T(8306),E=T(4351),k=T(9300),R=T(4004);class V{}class q{}class ${constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?this.lazyInit="string"==typeof re?()=>{this.headers=new Map,re.split("\n").forEach(oe=>{const ze=oe.indexOf(":");if(ze>0){const Pe=oe.slice(0,ze),Ge=Pe.toLowerCase(),De=oe.slice(ze+1).trim();this.maybeSetNormalizedName(Pe,Ge),this.headers.has(Ge)?this.headers.get(Ge).push(De):this.headers.set(Ge,[De])}})}:()=>{this.headers=new Map,Object.keys(re).forEach(oe=>{let ze=re[oe];const Pe=oe.toLowerCase();"string"==typeof ze&&(ze=[ze]),ze.length>0&&(this.headers.set(Pe,ze),this.maybeSetNormalizedName(oe,Pe))})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const oe=this.headers.get(re.toLowerCase());return oe&&oe.length>0?oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,oe){return this.clone({name:re,value:oe,op:"a"})}set(re,oe){return this.clone({name:re,value:oe,op:"s"})}delete(re,oe){return this.clone({name:re,value:oe,op:"d"})}maybeSetNormalizedName(re,oe){this.normalizedNames.has(oe)||this.normalizedNames.set(oe,re)}init(){this.lazyInit&&(this.lazyInit instanceof $?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(oe=>{this.headers.set(oe,re.headers.get(oe)),this.normalizedNames.set(oe,re.normalizedNames.get(oe))})}clone(re){const oe=new $;return oe.lazyInit=this.lazyInit&&this.lazyInit instanceof $?this.lazyInit:this,oe.lazyUpdate=(this.lazyUpdate||[]).concat([re]),oe}applyUpdate(re){const oe=re.name.toLowerCase();switch(re.op){case"a":case"s":let ze=re.value;if("string"==typeof ze&&(ze=[ze]),0===ze.length)return;this.maybeSetNormalizedName(re.name,oe);const Pe=("a"===re.op?this.headers.get(oe):void 0)||[];Pe.push(...ze),this.headers.set(oe,Pe);break;case"d":const Ge=re.value;if(Ge){let De=this.headers.get(oe);if(!De)return;De=De.filter(it=>-1===Ge.indexOf(it)),0===De.length?(this.headers.delete(oe),this.normalizedNames.delete(oe)):this.headers.set(oe,De)}else this.headers.delete(oe),this.normalizedNames.delete(oe)}}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(oe=>re(this.normalizedNames.get(oe),this.headers.get(oe)))}}class X{encodeKey(re){return te(re)}encodeValue(re){return te(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const ce=/%(\d[a-f0-9])/gi,ie={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function te(Te){return encodeURIComponent(Te).replace(ce,(re,oe)=>{var ze;return null!==(ze=ie[oe])&&void 0!==ze?ze:re})}function he(Te){return`${Te}`}class ge{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new X,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function se(Te,re){const oe=new Map;return Te.length>0&&Te.replace(/^\?/,"").split("&").forEach(Pe=>{const Ge=Pe.indexOf("="),[De,it]=-1==Ge?[re.decodeKey(Pe),""]:[re.decodeKey(Pe.slice(0,Ge)),re.decodeValue(Pe.slice(Ge+1))],Bt=oe.get(De)||[];Bt.push(it),oe.set(De,Bt)}),oe}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(oe=>{const ze=re.fromObject[oe];this.map.set(oe,Array.isArray(ze)?ze:[ze])})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const oe=this.map.get(re);return oe?oe[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,oe){return this.clone({param:re,value:oe,op:"a"})}appendAll(re){const oe=[];return Object.keys(re).forEach(ze=>{const Pe=re[ze];Array.isArray(Pe)?Pe.forEach(Ge=>{oe.push({param:ze,value:Ge,op:"a"})}):oe.push({param:ze,value:Pe,op:"a"})}),this.clone(oe)}set(re,oe){return this.clone({param:re,value:oe,op:"s"})}delete(re,oe){return this.clone({param:re,value:oe,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const oe=this.encoder.encodeKey(re);return this.map.get(re).map(ze=>oe+"="+this.encoder.encodeValue(ze)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const oe=new ge({encoder:this.encoder});return oe.cloneFrom=this.cloneFrom||this,oe.updates=(this.updates||[]).concat(re),oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const oe=("a"===re.op?this.map.get(re.param):void 0)||[];oe.push(he(re.value)),this.map.set(re.param,oe);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let ze=this.map.get(re.param)||[];const Pe=ze.indexOf(he(re.value));-1!==Pe&&ze.splice(Pe,1),ze.length>0?this.map.set(re.param,ze):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}class We{constructor(){this.map=new Map}set(re,oe){return this.map.set(re,oe),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}function Ee(Te){return"undefined"!=typeof ArrayBuffer&&Te instanceof ArrayBuffer}function ve(Te){return"undefined"!=typeof Blob&&Te instanceof Blob}function Se(Te){return"undefined"!=typeof FormData&&Te instanceof FormData}class Re{constructor(re,oe,ze,Pe){let Ge;if(this.url=oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function Ze(Te){switch(Te){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Pe?(this.body=void 0!==ze?ze:null,Ge=Pe):Ge=ze,Ge&&(this.reportProgress=!!Ge.reportProgress,this.withCredentials=!!Ge.withCredentials,Ge.responseType&&(this.responseType=Ge.responseType),Ge.headers&&(this.headers=Ge.headers),Ge.context&&(this.context=Ge.context),Ge.params&&(this.params=Ge.params)),this.headers||(this.headers=new $),this.context||(this.context=new We),this.params){const De=this.params.toString();if(0===De.length)this.urlWithParams=oe;else{const it=oe.indexOf("?");this.urlWithParams=oe+(-1===it?"?":itFi.set(At,re.setHeaders[At]),zi)),re.setParams&&(Vt=Object.keys(re.setParams).reduce((Fi,At)=>Fi.set(At,re.setParams[At]),Vt)),new Re(ze,Pe,De,{params:Vt,headers:zi,context:Ur,reportProgress:Bt,responseType:Ge,withCredentials:it})}}var Ve=(()=>((Ve=Ve||{})[Ve.Sent=0]="Sent",Ve[Ve.UploadProgress=1]="UploadProgress",Ve[Ve.ResponseHeader=2]="ResponseHeader",Ve[Ve.DownloadProgress=3]="DownloadProgress",Ve[Ve.Response=4]="Response",Ve[Ve.User=5]="User",Ve))();class Qe{constructor(re,oe=200,ze="OK"){this.headers=re.headers||new $,this.status=void 0!==re.status?re.status:oe,this.statusText=re.statusText||ze,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends Qe{constructor(re={}){super(re),this.type=Ve.ResponseHeader}clone(re={}){return new ue({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class _e extends Qe{constructor(re={}){super(re),this.type=Ve.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new _e({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class be extends Qe{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}function xe(Te,re){return{body:re,headers:Te.headers,context:Te.context,observe:Te.observe,params:Te.params,reportProgress:Te.reportProgress,responseType:Te.responseType,withCredentials:Te.withCredentials}}let ye=(()=>{class Te{constructor(oe){this.handler=oe}request(oe,ze,Pe={}){let Ge;if(oe instanceof Re)Ge=oe;else{let Bt,zi;Bt=Pe.headers instanceof $?Pe.headers:new $(Pe.headers),Pe.params&&(zi=Pe.params instanceof ge?Pe.params:new ge({fromObject:Pe.params})),Ge=new Re(oe,ze,void 0!==Pe.body?Pe.body:null,{headers:Bt,context:Pe.context,params:zi,reportProgress:Pe.reportProgress,responseType:Pe.responseType||"json",withCredentials:Pe.withCredentials})}const De=(0,S.of)(Ge).pipe((0,E.b)(Bt=>this.handler.handle(Bt)));if(oe instanceof Re||"events"===Pe.observe)return De;const it=De.pipe((0,k.h)(Bt=>Bt instanceof _e));switch(Pe.observe||"body"){case"body":switch(Ge.responseType){case"arraybuffer":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&!(Bt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Bt.body}));case"blob":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&!(Bt.body instanceof Blob))throw new Error("Response is not a Blob.");return Bt.body}));case"text":return it.pipe((0,R.U)(Bt=>{if(null!==Bt.body&&"string"!=typeof Bt.body)throw new Error("Response is not a string.");return Bt.body}));default:return it.pipe((0,R.U)(Bt=>Bt.body))}case"response":return it;default:throw new Error(`Unreachable: unhandled observe type ${Pe.observe}}`)}}delete(oe,ze={}){return this.request("DELETE",oe,ze)}get(oe,ze={}){return this.request("GET",oe,ze)}head(oe,ze={}){return this.request("HEAD",oe,ze)}jsonp(oe,ze){return this.request("JSONP",oe,{params:(new ge).append(ze,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(oe,ze={}){return this.request("OPTIONS",oe,ze)}patch(oe,ze,Pe={}){return this.request("PATCH",oe,xe(Pe,ze))}post(oe,ze,Pe={}){return this.request("POST",oe,xe(Pe,ze))}put(oe,ze,Pe={}){return this.request("PUT",oe,xe(Pe,ze))}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(V))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();class Ue{constructor(re,oe){this.next=re,this.interceptor=oe}handle(re){return this.interceptor.intercept(re,this.next)}}const ft=new i.OlP("HTTP_INTERCEPTORS");let zt=(()=>{class Te{intercept(oe,ze){return ze.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const Gi=/^\)\]\}',?\n/;let Jt=(()=>{class Te{constructor(oe){this.xhrFactory=oe}handle(oe){if("JSONP"===oe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new x.y(ze=>{const Pe=this.xhrFactory.build();if(Pe.open(oe.method,oe.urlWithParams),oe.withCredentials&&(Pe.withCredentials=!0),oe.headers.forEach((At,nt)=>Pe.setRequestHeader(At,nt.join(","))),oe.headers.has("Accept")||Pe.setRequestHeader("Accept","application/json, text/plain, */*"),!oe.headers.has("Content-Type")){const At=oe.detectContentTypeHeader();null!==At&&Pe.setRequestHeader("Content-Type",At)}if(oe.responseType){const At=oe.responseType.toLowerCase();Pe.responseType="json"!==At?At:"text"}const Ge=oe.serializeBody();let De=null;const it=()=>{if(null!==De)return De;const At=Pe.statusText||"OK",nt=new $(Pe.getAllResponseHeaders()),Gn=function gi(Te){return"responseURL"in Te&&Te.responseURL?Te.responseURL:/^X-Request-URL:/m.test(Te.getAllResponseHeaders())?Te.getResponseHeader("X-Request-URL"):null}(Pe)||oe.url;return De=new ue({headers:nt,status:Pe.status,statusText:At,url:Gn}),De},Bt=()=>{let{headers:At,status:nt,statusText:Gn,url:Xt}=it(),Ht=null;204!==nt&&(Ht=void 0===Pe.response?Pe.responseText:Pe.response),0===nt&&(nt=Ht?200:0);let fr=nt>=200&&nt<300;if("json"===oe.responseType&&"string"==typeof Ht){const rr=Ht;Ht=Ht.replace(Gi,"");try{Ht=""!==Ht?JSON.parse(Ht):null}catch(Zn){Ht=rr,fr&&(fr=!1,Ht={error:Zn,text:Ht})}}fr?(ze.next(new _e({body:Ht,headers:At,status:nt,statusText:Gn,url:Xt||void 0})),ze.complete()):ze.error(new be({error:Ht,headers:At,status:nt,statusText:Gn,url:Xt||void 0}))},zi=At=>{const{url:nt}=it(),Gn=new be({error:At,status:Pe.status||0,statusText:Pe.statusText||"Unknown Error",url:nt||void 0});ze.error(Gn)};let Vt=!1;const Ur=At=>{Vt||(ze.next(it()),Vt=!0);let nt={type:Ve.DownloadProgress,loaded:At.loaded};At.lengthComputable&&(nt.total=At.total),"text"===oe.responseType&&!!Pe.responseText&&(nt.partialText=Pe.responseText),ze.next(nt)},Fi=At=>{let nt={type:Ve.UploadProgress,loaded:At.loaded};At.lengthComputable&&(nt.total=At.total),ze.next(nt)};return Pe.addEventListener("load",Bt),Pe.addEventListener("error",zi),Pe.addEventListener("timeout",zi),Pe.addEventListener("abort",zi),oe.reportProgress&&(Pe.addEventListener("progress",Ur),null!==Ge&&Pe.upload&&Pe.upload.addEventListener("progress",Fi)),Pe.send(Ge),ze.next({type:Ve.Sent}),()=>{Pe.removeEventListener("error",zi),Pe.removeEventListener("abort",zi),Pe.removeEventListener("load",Bt),Pe.removeEventListener("timeout",zi),oe.reportProgress&&(Pe.removeEventListener("progress",Ur),null!==Ge&&Pe.upload&&Pe.upload.removeEventListener("progress",Fi)),Pe.readyState!==Pe.DONE&&Pe.abort()}})}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(w.JF))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();const hn=new i.OlP("XSRF_COOKIE_NAME"),ga=new i.OlP("XSRF_HEADER_NAME");class _a{}let Wr=(()=>{class Te{constructor(oe,ze,Pe){this.doc=oe,this.platform=ze,this.cookieName=Pe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const oe=this.doc.cookie||"";return oe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,w.Mx)(oe,this.cookieName),this.lastCookieString=oe),this.lastToken}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(w.K0),i.LFG(i.Lbi),i.LFG(hn))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),On=(()=>{class Te{constructor(oe,ze){this.tokenService=oe,this.headerName=ze}intercept(oe,ze){const Pe=oe.url.toLowerCase();if("GET"===oe.method||"HEAD"===oe.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return ze.handle(oe);const Ge=this.tokenService.getToken();return null!==Ge&&!oe.headers.has(this.headerName)&&(oe=oe.clone({headers:oe.headers.set(this.headerName,Ge)})),ze.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(_a),i.LFG(ga))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),de=(()=>{class Te{constructor(oe,ze){this.backend=oe,this.injector=ze,this.chain=null}handle(oe){if(null===this.chain){const ze=this.injector.get(ft,[]);this.chain=ze.reduceRight((Pe,Ge)=>new Ue(Pe,Ge),this.backend)}return this.chain.handle(oe)}}return Te.\u0275fac=function(oe){return new(oe||Te)(i.LFG(q),i.LFG(i.zs3))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),Ke=(()=>{class Te{static disable(){return{ngModule:Te,providers:[{provide:On,useClass:zt}]}}static withOptions(oe={}){return{ngModule:Te,providers:[oe.cookieName?{provide:hn,useValue:oe.cookieName}:[],oe.headerName?{provide:ga,useValue:oe.headerName}:[]]}}}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({providers:[On,{provide:ft,useExisting:On,multi:!0},{provide:_a,useClass:Wr},{provide:hn,useValue:"XSRF-TOKEN"},{provide:ga,useValue:"X-XSRF-TOKEN"}]}),Te})(),tt=(()=>{class Te{}return Te.\u0275fac=function(oe){return new(oe||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({providers:[ye,{provide:V,useClass:de},Jt,{provide:q,useExisting:Jt}],imports:[[Ke.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Te})()},5e3:(j,Y,T)=>{"use strict";T.d(Y,{deG:()=>Xn,tb:()=>Ib,AFp:()=>Zw,ip1:()=>Dp,CZH:()=>Lu,hGG:()=>yC,z2F:()=>Ru,sBO:()=>$b,Sil:()=>Wm,_Vd:()=>rd,EJc:()=>Bb,SBq:()=>ad,qLn:()=>Sh,vpe:()=>zr,tBr:()=>Io,XFs:()=>Ae,OlP:()=>Pi,zs3:()=>ua,ZZ4:()=>ic,aQg:()=>Bu,soG:()=>Pu,YKP:()=>rb,h0i:()=>Cu,PXZ:()=>iC,R0b:()=>Sr,FiY:()=>Zs,Lbi:()=>Ob,g9A:()=>Kl,n_E:()=>Xl,Qsj:()=>Q_,FYo:()=>yu,JOm:()=>Qs,q3G:()=>fi,tp0:()=>Bo,Rgc:()=>cd,dDg:()=>Vb,GfV:()=>er,s_b:()=>Yn,ifc:()=>Ge,eFA:()=>tr,G48:()=>Sx,Gpc:()=>X,f3M:()=>_h,_c5:()=>gC,VLi:()=>Fb,c2e:()=>ku,zSh:()=>f0,wAp:()=>bt,vHH:()=>te,EiD:()=>Th,mCW:()=>ka,qzn:()=>kc,JVY:()=>Df,pB0:()=>ZA,eBb:()=>GA,L6k:()=>UA,LAX:()=>Ig,cg1:()=>M_,kL8:()=>ew,yhl:()=>Og,dqk:()=>Vt,sIi:()=>eu,CqO:()=>Y0,QGY:()=>hr,F4k:()=>Tr,RDi:()=>gc,AaK:()=>V,z3N:()=>$s,qOj:()=>Kd,TTD:()=>En,_Bn:()=>hm,xp6:()=>t1,uIk:()=>Zo,Q2q:()=>L0,Tol:()=>G0,Gre:()=>Yl,ekj:()=>U0,Suo:()=>km,Xpm:()=>Wa,lG2:()=>qe,Yz7:()=>ni,cJS:()=>Gi,oAB:()=>Es,Yjl:()=>vi,Y36:()=>Gc,_UZ:()=>tp,GkF:()=>Q1,BQk:()=>j0,ynx:()=>ip,qZA:()=>F0,TgZ:()=>ep,EpF:()=>q0,n5z:()=>ch,Ikx:()=>lp,LFG:()=>sn,$8M:()=>Us,$Z:()=>z0,NdJ:()=>su,CRH:()=>Ab,kcU:()=>Qu,O4$:()=>Xu,oxw:()=>kM,ALo:()=>Ap,lcZ:()=>Su,xi3:()=>Jl,Dn7:()=>od,Hsn:()=>K1,F$t:()=>W0,Q6J:()=>ql,s9C:()=>ro,MGl:()=>$c,hYB:()=>np,DdM:()=>gp,VKq:()=>Tu,WLB:()=>sb,iGM:()=>Lm,MAs:()=>q1,Jf7:()=>py,CHM:()=>lr,oJD:()=>Bg,LSH:()=>Rf,Udp:()=>f_,WFA:()=>ou,d8E:()=>hu,YNc:()=>O0,_uU:()=>g_,Oqu:()=>Xo,hij:()=>Qo,AsE:()=>X0,xDo:()=>__,Gf:()=>bb});var w=T(7579),i=T(727),S=T(8306),x=T(6451),E=T(3099);function k(p){for(let m in p)if(p[m]===k)return m;throw Error("Could not find renamed property on target object.")}function R(p,m){for(const g in m)m.hasOwnProperty(g)&&!p.hasOwnProperty(g)&&(p[g]=m[g])}function V(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(V).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const m=p.toString();if(null==m)return""+m;const g=m.indexOf("\n");return-1===g?m:m.substring(0,g)}function q(p,m){return null==p||""===p?null===m?"":m:null==m||""===m?p:p+" "+m}const $=k({__forward_ref__:k});function X(p){return p.__forward_ref__=X,p.toString=function(){return V(this())},p}function se(p){return ce(p)?p():p}function ce(p){return"function"==typeof p&&p.hasOwnProperty($)&&p.__forward_ref__===X}class te extends Error{constructor(m,g){super(function he(p,m){return`NG0${Math.abs(p)}${m?": "+m:""}`}(m,g)),this.code=m}}function ge(p){return"string"==typeof p?p:null==p?"":String(p)}function Oe(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():ge(p)}function ve(p,m){const g=m?` in ${m}`:"";throw new te(-201,`No provider for ${Oe(p)} found${g}`)}function oi(p,m){null==p&&function et(p,m,g,_){throw new Error(`ASSERTION ERROR: ${p}`+(null==_?"":` [Expected=> ${g} ${_} ${m} <=Actual]`))}(m,p,null,"!=")}function ni(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function Gi(p){return{providers:p.providers||[],imports:p.imports||[]}}function gi(p){return Jt(p,Wr)||Jt(p,de)}function Jt(p,m){return p.hasOwnProperty(m)?p[m]:null}function _a(p){return p&&(p.hasOwnProperty(On)||p.hasOwnProperty(Be))?p[On]:null}const Wr=k({\u0275prov:k}),On=k({\u0275inj:k}),de=k({ngInjectableDef:k}),Be=k({ngInjectorDef:k});var Ae=(()=>((Ae=Ae||{})[Ae.Default=0]="Default",Ae[Ae.Host=1]="Host",Ae[Ae.Self=2]="Self",Ae[Ae.SkipSelf=4]="SkipSelf",Ae[Ae.Optional=8]="Optional",Ae))();let Ke;function lt(p){const m=Ke;return Ke=p,m}function Kt(p,m,g){const _=gi(p);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:g&Ae.Optional?null:void 0!==m?m:void ve(V(p),"Injector")}function re(p){return{toString:p}.toString()}var oe=(()=>((oe=oe||{})[oe.OnPush=0]="OnPush",oe[oe.Default=1]="Default",oe))(),Ge=(()=>{return(p=Ge||(Ge={}))[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom",Ge;var p})();const De="undefined"!=typeof globalThis&&globalThis,it="undefined"!=typeof window&&window,Bt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Vt=De||"undefined"!=typeof global&&global||it||Bt,At={},nt=[],Gn=k({\u0275cmp:k}),Xt=k({\u0275dir:k}),Ht=k({\u0275pipe:k}),fr=k({\u0275mod:k}),rr=k({\u0275fac:k}),Zn=k({__NG_ELEMENT_ID__:k});let pc=0;function Wa(p){return re(()=>{const g={},_={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:g,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||nt,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||Ge.Emulated,id:"c",styles:p.styles||nt,_:null,setInput:null,schemas:p.schemas||null,tView:null},y=p.directives,v=p.features,D=p.pipes;return _.id+=pc++,_.inputs=M(p.inputs,g),_.outputs=M(p.outputs),v&&v.forEach(L=>L(_)),_.directiveDefs=y?()=>("function"==typeof y?y():y).map(Aa):null,_.pipeDefs=D?()=>("function"==typeof D?D():D).map(mr):null,_})}function Aa(p){return pn(p)||function at(p){return p[Xt]||null}(p)}function mr(p){return function ri(p){return p[Ht]||null}(p)}const Ss={};function Es(p){return re(()=>{const m={type:p.type,bootstrap:p.bootstrap||nt,declarations:p.declarations||nt,imports:p.imports||nt,exports:p.exports||nt,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(Ss[p.id]=p.type),m})}function M(p,m){if(null==p)return At;const g={};for(const _ in p)if(p.hasOwnProperty(_)){let y=p[_],v=y;Array.isArray(y)&&(v=y[1],y=y[0]),g[y]=_,m&&(m[y]=v)}return g}const qe=Wa;function vi(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function pn(p){return p[Gn]||null}function Et(p,m){const g=p[fr]||null;if(!g&&!0===m)throw new Error(`Type ${V(p)} does not have '\u0275mod' property.`);return g}function Bn(p){return Array.isArray(p)&&"object"==typeof p[1]}function sr(p){return Array.isArray(p)&&!0===p[1]}function cl(p){return 0!=(8&p.flags)}function $a(p){return 2==(2&p.flags)}function Ma(p){return 1==(1&p.flags)}function or(p){return null!==p.template}function Ls(p){return 0!=(512&p[2])}function Wt(p,m){return p.hasOwnProperty(rr)?p[rr]:null}class _r{constructor(m,g,_){this.previousValue=m,this.currentValue=g,this.firstChange=_}isFirstChange(){return this.firstChange}}function En(){return Rs}function Rs(p){return p.type.prototype.ngOnChanges&&(p.setInput=Ct),Md}function Md(){const p=Ut(this),m=null==p?void 0:p.current;if(m){const g=p.previous;if(g===At)p.previous=m;else for(let _ in m)g[_]=m[_];p.current=null,this.ngOnChanges(m)}}function Ct(p,m,g,_){const y=Ut(p)||function ul(p,m){return p[Li]=m}(p,{previous:At,current:null}),v=y.current||(y.current={}),D=y.previous,L=this.declaredInputs[g],P=D[L];v[L]=new _r(P&&P.currentValue,m,D===At),p[_]=m}En.ngInherit=!0;const Li="__ngSimpleChanges__";function Ut(p){return p[Li]||null}let Zr;function gc(p){Zr=p}function Dr(){return void 0!==Zr?Zr:"undefined"!=typeof document?document:void 0}function Dt(p){return!!p.listen}const B={createRenderer:(p,m)=>Dr()};function I(p){for(;Array.isArray(p);)p=p[0];return p}function Me(p,m){return I(m[p])}function He(p,m){return I(m[p.index])}function pi(p,m){return p.data[m]}function ai(p,m){return p[m]}function Rt(p,m){const g=m[p];return Bn(g)?g:g[0]}function jt(p){return 4==(4&p[2])}function ji(p){return 128==(128&p[2])}function ki(p,m){return null==m?null:p[m]}function Ta(p){p[18]=0}function Hr(p,m){p[5]+=m;let g=p,_=p[3];for(;null!==_&&(1===m&&1===g[5]||-1===m&&0===g[5]);)_[5]+=m,g=_,_=_[3]}const yt={lFrame:Td(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Cd(){return yt.bindingsEnabled}function ke(){return yt.lFrame.lView}function Qt(){return yt.lFrame.tView}function lr(p){return yt.lFrame.contextLView=p,p[8]}function $i(){let p=vd();for(;null!==p&&64===p.type;)p=p.parent;return p}function vd(){return yt.lFrame.currentTNode}function xa(p,m){const g=yt.lFrame;g.currentTNode=p,g.isParent=m}function Ji(){return yt.lFrame.isParent}function br(){yt.lFrame.isParent=!1}function pl(){return yt.isInCheckNoChangesMode}function fl(p){yt.isInCheckNoChangesMode=p}function Dn(){const p=yt.lFrame;let m=p.bindingRootIndex;return-1===m&&(m=p.bindingRootIndex=p.tView.bindingStartIndex),m}function Jr(){return yt.lFrame.bindingIndex}function Ns(){return yt.lFrame.bindingIndex++}function $n(p){const m=yt.lFrame,g=m.bindingIndex;return m.bindingIndex=m.bindingIndex+p,g}function Gt(p,m){const g=yt.lFrame;g.bindingIndex=g.bindingRootIndex=p,wo(m)}function wo(p){yt.lFrame.currentDirectiveIndex=p}function Lr(p){const m=yt.lFrame.currentDirectiveIndex;return-1===m?null:p[m]}function Gu(){return yt.lFrame.currentQueryIndex}function ml(p){yt.lFrame.currentQueryIndex=p}function Zu(p){const m=p[1];return 2===m.type?m.declTNode:1===m.type?p[6]:null}function bc(p,m,g){if(g&Ae.SkipSelf){let y=m,v=p;for(;!(y=y.parent,null!==y||g&Ae.Host||(y=Zu(v),null===y||(v=v[15],10&y.type))););if(null===y)return!1;m=y,p=v}const _=yt.lFrame=es();return _.currentTNode=m,_.lView=p,!0}function Sa(p){const m=es(),g=p[1];yt.lFrame=m,m.currentTNode=g.firstChild,m.lView=p,m.tView=g,m.contextLView=p,m.bindingIndex=g.bindingStartIndex,m.inI18n=!1}function es(){const p=yt.lFrame,m=null===p?null:p.child;return null===m?Td(p):m}function Td(p){const m={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:p,child:null,inI18n:!1};return null!==p&&(p.child=m),m}function gl(){const p=yt.lFrame;return yt.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const $u=gl;function Co(){const p=gl();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function Hn(){return yt.lFrame.selectedIndex}function ts(p){yt.lFrame.selectedIndex=p}function Bi(){const p=yt.lFrame;return pi(p.tView,p.selectedIndex)}function Xu(){yt.lFrame.currentNamespace="svg"}function Qu(){!function lf(){yt.lFrame.currentNamespace=null}()}function bl(p,m){for(let g=m.directiveStart,_=m.directiveEnd;g<_;g++){const v=p.data[g].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:L,ngAfterViewInit:P,ngAfterViewChecked:F,ngOnDestroy:W}=v;D&&(p.contentHooks||(p.contentHooks=[])).push(-g,D),L&&((p.contentHooks||(p.contentHooks=[])).push(g,L),(p.contentCheckHooks||(p.contentCheckHooks=[])).push(g,L)),P&&(p.viewHooks||(p.viewHooks=[])).push(-g,P),F&&((p.viewHooks||(p.viewHooks=[])).push(g,F),(p.viewCheckHooks||(p.viewCheckHooks=[])).push(g,F)),null!=W&&(p.destroyHooks||(p.destroyHooks=[])).push(g,W)}}function Al(p,m,g){Xr(p,m,3,g)}function zs(p,m,g,_){(3&p[2])===g&&Xr(p,m,g,_)}function vo(p,m){let g=p[2];(3&g)===m&&(g&=2047,g+=1,p[2]=g)}function Xr(p,m,g,_){const v=null!=_?_:-1,D=m.length-1;let L=0;for(let P=void 0!==_?65535&p[18]:0;P=_)break}else m[P]<0&&(p[18]+=65536),(L>11>16&&(3&p[2])===m){p[2]+=2048;try{v.call(L)}finally{}}}else try{v.call(L)}finally{}}class xo{constructor(m,g,_){this.factory=m,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=_}}function Eo(p,m,g){const _=Dt(p);let y=0;for(;ym){D=v-1;break}}}for(;v>16}(p),_=m;for(;g>0;)_=_[15],g--;return _}let Ml=!0;function wl(p){const m=Ml;return Ml=p,m}let nh=0;function Ho(p,m){const g=Pr(p,m);if(-1!==g)return g;const _=m[1];_.firstCreatePass&&(p.injectorIndex=m.length,Fs(_.data,p),Fs(m,null),Fs(_.blueprint,null));const y=js(p,m),v=p.injectorIndex;if(yl(y)){const D=Do(y),L=Kr(y,m),P=L[1].data;for(let F=0;F<8;F++)m[v+F]=L[D+F]|P[D+F]}return m[v+8]=y,v}function Fs(p,m){p.push(0,0,0,0,0,0,0,0,m)}function Pr(p,m){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===m[p.injectorIndex+8]?-1:p.injectorIndex}function js(p,m){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let g=0,_=null,y=m;for(;null!==y;){const v=y[1],D=v.type;if(_=2===D?v.declTNode:1===D?y[6]:null,null===_)return-1;if(g++,y=y[15],-1!==_.injectorIndex)return _.injectorIndex|g<<16}return-1}function qs(p,m,g){!function rh(p,m,g){let _;"string"==typeof g?_=g.charCodeAt(0)||0:g.hasOwnProperty(Zn)&&(_=g[Zn]),null==_&&(_=g[Zn]=nh++);const y=255&_;m.data[p+(y>>5)]|=1<=0?255&m:hf:m}(g);if("function"==typeof v){if(!bc(m,p,_))return _&Ae.Host?vc(y,g,_):Tc(m,g,_,y);try{const D=v(_);if(null!=D||_&Ae.Optional)return D;ve(g)}finally{$u()}}else if("number"==typeof v){let D=null,L=Pr(p,m),P=-1,F=_&Ae.Host?m[16][6]:null;for((-1===L||_&Ae.SkipSelf)&&(P=-1===L?js(p,m):m[L+8],-1!==P&&lh(_,!1)?(D=m[1],L=Do(P),m=Kr(P,m)):L=-1);-1!==L;){const W=m[1];if(oh(v,L,W.data)){const ee=Ed(L,m,g,D,_,F);if(ee!==sh)return ee}P=m[L+8],-1!==P&&lh(_,m[1].data[L+8]===F)&&oh(v,L,m)?(D=W,L=Do(P),m=Kr(P,m)):L=-1}}}return Tc(m,g,_,y)}const sh={};function hf(){return new ko($i(),ke())}function Ed(p,m,g,_,y,v){const D=m[1],L=D.data[p+8],W=Rr(L,D,g,null==_?$a(L)&&Ml:_!=D&&0!=(3&L.type),y&Ae.Host&&v===L);return null!==W?Cl(m,D,W,L):sh}function Rr(p,m,g,_,y){const v=p.providerIndexes,D=m.data,L=1048575&v,P=p.directiveStart,W=v>>20,ae=y?L+W:p.directiveEnd;for(let pe=_?L:L+W;pe=P&&Ce.type===g)return pe}if(y){const pe=D[P];if(pe&&or(pe)&&pe.type===g)return P}return null}function Cl(p,m,g,_){let y=p[g];const v=m.data;if(function cf(p){return p instanceof xo}(y)){const D=y;D.resolving&&function We(p,m){const g=m?`. Dependency path: ${m.join(" > ")} > ${p}`:"";throw new te(-200,`Circular dependency in DI detected for ${p}${g}`)}(Oe(v[g]));const L=wl(D.canSeeViewProviders);D.resolving=!0;const P=D.injectImpl?lt(D.injectImpl):null;bc(p,_,Ae.Default);try{y=p[g]=D.factory(void 0,v,p,_),m.firstCreatePass&&g>=_.directiveStart&&function Vs(p,m,g){const{ngOnChanges:_,ngOnInit:y,ngDoCheck:v}=m.type.prototype;if(_){const D=Rs(m);(g.preOrderHooks||(g.preOrderHooks=[])).push(p,D),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,D)}y&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-p,y),v&&((g.preOrderHooks||(g.preOrderHooks=[])).push(p,v),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(p,v))}(g,v[g],m)}finally{null!==P&<(P),wl(L),D.resolving=!1,$u()}}return y}function oh(p,m,g){return!!(g[m+(p>>5)]&1<{const m=p.prototype.constructor,g=m[rr]||Ws(m),_=Object.prototype;let y=Object.getPrototypeOf(p.prototype).constructor;for(;y&&y!==_;){const v=y[rr]||Ws(y);if(v&&v!==g)return v;y=Object.getPrototypeOf(y)}return v=>new v})}function Ws(p){return ce(p)?()=>{const m=Ws(se(p));return m&&m()}:Wt(p)}function Us(p){return function Lo(p,m){if("class"===m)return p.classes;if("style"===m)return p.styles;const g=p.attrs;if(g){const _=g.length;let y=0;for(;y<_;){const v=g[y];if(Mc(v))break;if(0===v)y+=2;else if("number"==typeof v)for(y++;y<_&&"string"==typeof g[y];)y++;else{if(v===m)return g[y+1];y+=2}}}return null}($i(),p)}const ea="__parameters__";function Gs(p,m,g){return re(()=>{const _=function xc(p){return function(...g){if(p){const _=p(...g);for(const y in _)this[y]=_[y]}}}(m);function y(...v){if(this instanceof y)return _.apply(this,v),this;const D=new y(...v);return L.annotation=D,L;function L(P,F,W){const ee=P.hasOwnProperty(ea)?P[ea]:Object.defineProperty(P,ea,{value:[]})[ea];for(;ee.length<=W;)ee.push(null);return(ee[W]=ee[W]||[]).push(D),P}}return g&&(y.prototype=Object.create(g.prototype)),y.prototype.ngMetadataName=p,y.annotationCls=y,y})}class Pi{constructor(m,g){this._desc=m,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=ni({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Xn=new Pi("AnalyzeForEntryComponents");function zn(p,m){void 0===m&&(m=p);for(let g=0;gArray.isArray(g)?yr(g,m):m(g))}function hh(p,m,g){m>=p.length?p.push(g):p.splice(m,0,g)}function Ec(p,m){return m>=p.length-1?p.pop():p.splice(m,1)[0]}function Sl(p,m){const g=[];for(let _=0;_=0?p[1|_]=g:(_=~_,function Ld(p,m,g,_){let y=p.length;if(y==m)p.push(g,_);else if(1===y)p.push(_,p[0]),p[0]=g;else{for(y--,p.push(p[y-1],p[y]);y>m;)p[y]=p[y-2],y--;p[m]=g,p[m+1]=_}}(p,_,m,g)),_}function kd(p,m){const g=ta(p,m);if(g>=0)return p[1|g]}function ta(p,m){return function Da(p,m,g){let _=0,y=p.length>>g;for(;y!==_;){const v=_+(y-_>>1),D=p[v<m?y=v:_=v+1}return~(y<({token:p})),-1),Zs=Hl(Gs("Optional"),8),Bo=Hl(Gs("SkipSelf"),4);let qt,le;function H(p){var m;return(null===(m=function C(){if(void 0===qt&&(qt=null,Vt.trustedTypes))try{qt=Vt.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return qt}())||void 0===m?void 0:m.createHTML(p))||p}function ot(p){var m;return(null===(m=function we(){if(void 0===le&&(le=null,Vt.trustedTypes))try{le=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return le}())||void 0===m?void 0:m.createHTML(p))||p}class qi{constructor(m){this.changingThisBreaksApplicationSecurity=m}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class wr extends qi{getTypeName(){return"HTML"}}class ns extends qi{getTypeName(){return"Style"}}class YA extends qi{getTypeName(){return"Script"}}class WA extends qi{getTypeName(){return"URL"}}class Rg extends qi{getTypeName(){return"ResourceURL"}}function $s(p){return p instanceof qi?p.changingThisBreaksApplicationSecurity:p}function kc(p,m){const g=Og(p);if(null!=g&&g!==m){if("ResourceURL"===g&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${g} (see https://g.co/ng/security#xss)`)}return g===m}function Og(p){return p instanceof qi&&p.getTypeName()||null}function Df(p){return new wr(p)}function UA(p){return new ns(p)}function GA(p){return new YA(p)}function Ig(p){return new WA(p)}function ZA(p){return new Rg(p)}class JA{constructor(m){this.inertDocumentHelper=m}getInertBodyElement(m){m=""+m;try{const g=(new window.DOMParser).parseFromString(H(m),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(m):(g.removeChild(g.firstChild),g)}catch(g){return null}}}class XA{constructor(m){if(this.defaultDoc=m,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const _=this.inertDocument.createElement("body");g.appendChild(_)}}getInertBodyElement(m){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=H(m),g;const _=this.inertDocument.createElement("body");return _.innerHTML=H(m),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(_),_}stripCustomNsAttrs(m){const g=m.attributes;for(let y=g.length-1;0ka(m.trim())).join(", ")),this.buf.push(" ",D,'="',vh(P),'"')}var p;return this.buf.push(">"),!0}endElement(m){const g=m.nodeName.toLowerCase();aa.hasOwnProperty(g)&&!ey.hasOwnProperty(g)&&(this.buf.push(""))}chars(m){this.buf.push(vh(m))}checkClobberedElement(m,g){if(g&&(m.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${m.outerHTML}`);return g}}const kf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sa=/([^\#-~ |!])/g;function vh(p){return p.replace(/&/g,"&").replace(kf,function(m){return"&#"+(1024*(m.charCodeAt(0)-55296)+(m.charCodeAt(1)-56320)+65536)+";"}).replace(sa,function(m){return"&#"+m.charCodeAt(0)+";"}).replace(//g,">")}let Pf;function Th(p,m){let g=null;try{Pf=Pf||function $A(p){const m=new XA(p);return function QA(){try{return!!(new window.DOMParser).parseFromString(H(""),"text/html")}catch(p){return!1}}()?new JA(m):m}(p);let _=m?String(m):"";g=Pf.getInertBodyElement(_);let y=5,v=_;do{if(0===y)throw new Error("Failed to sanitize html because the input is unstable");y--,_=v,v=g.innerHTML,g=Pf.getInertBodyElement(_)}while(_!==v);return H((new Ch).sanitizeChildren(Vd(g)||g))}finally{if(g){const _=Vd(g)||g;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function Vd(p){return"content"in p&&function Cv(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var fi=(()=>((fi=fi||{})[fi.NONE=0]="NONE",fi[fi.HTML=1]="HTML",fi[fi.STYLE=2]="STYLE",fi[fi.SCRIPT=3]="SCRIPT",fi[fi.URL=4]="URL",fi[fi.RESOURCE_URL=5]="RESOURCE_URL",fi))();function Bg(p){const m=Vo();return m?ot(m.sanitize(fi.HTML,p)||""):kc(p,"HTML")?ot($s(p)):Th(Dr(),ge(p))}function Rf(p){const m=Vo();return m?m.sanitize(fi.URL,p)||"":kc(p,"URL")?$s(p):ka(ge(p))}function Vo(){const p=ke();return p&&p[12]}const sy="__ngContext__";function dr(p,m){p[sy]=m}function Of(p){const m=function xh(p){return p[sy]||null}(p);return m?Array.isArray(m)?m:m.lView:null}function Ng(p){return p.ngOriginalError}function Bf(p,...m){p.error(...m)}class Sh{constructor(){this._console=console}handleError(m){const g=this._findOriginalError(m),_=function Iv(p){return p&&p.ngErrorLogger||Bf}(m);_(this._console,"ERROR",m),g&&_(this._console,"ORIGINAL ERROR",g)}_findOriginalError(m){let g=m&&Ng(m);for(;g&&Ng(g);)g=Ng(g);return g||null}}const hy=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Vt))();function py(p){return p.ownerDocument.defaultView}function Xs(p){return p instanceof Function?p():p}var Qs=(()=>((Qs=Qs||{})[Qs.Important=1]="Important",Qs[Qs.DashCase=2]="DashCase",Qs))();function zg(p,m){return undefined(p,m)}function Eh(p){const m=p[3];return sr(m)?m[3]:m}function jg(p){return by(p[13])}function qg(p){return by(p[4])}function by(p){for(;null!==p&&!sr(p);)p=p[4];return p}function Fd(p,m,g,_,y){if(null!=_){let v,D=!1;sr(_)?v=_:Bn(_)&&(D=!0,_=_[0]);const L=I(_);0===p&&null!==g?null==y?vy(m,g,L):Oc(m,g,L,y||null,!0):1===p&&null!==g?Oc(m,g,L,y||null,!0):2===p?function Ly(p,m,g){const _=Nf(p,m);_&&function nT(p,m,g,_){Dt(p)?p.removeChild(m,g,_):m.removeChild(g)}(p,_,m,g)}(m,L,D):3===p&&m.destroyNode(L),null!=v&&function sT(p,m,g,_,y){const v=g[7];v!==I(g)&&Fd(m,p,_,v,y);for(let L=10;L0&&(p[g-1][4]=_[4]);const v=Ec(p,10+m);!function $v(p,m){jd(p,m,m[11],2,null,null),m[0]=null,m[6]=null}(_[1],_);const D=v[19];null!==D&&D.detachView(v[1]),_[3]=null,_[4]=null,_[2]&=-129}return _}function My(p,m){if(!(256&m[2])){const g=m[11];Dt(g)&&g.destroyNode&&jd(p,m,g,3,null,null),function Qv(p){let m=p[13];if(!m)return Gg(p[1],p);for(;m;){let g=null;if(Bn(m))g=m[13];else{const _=m[10];_&&(g=_)}if(!g){for(;m&&!m[4]&&m!==p;)Bn(m)&&Gg(m[1],m),m=m[3];null===m&&(m=p),Bn(m)&&Gg(m[1],m),g=m&&m[4]}m=g}}(m)}}function Gg(p,m){if(!(256&m[2])){m[2]&=-129,m[2]|=256,function iT(p,m){let g;if(null!=p&&null!=(g=p.destroyHooks))for(let _=0;_=0?_[y=F]():_[y=-F].unsubscribe(),v+=2}else{const D=_[y=g[v+1]];g[v].call(D)}if(null!==_){for(let v=y+1;v<_.length;v++)_[v]();m[7]=null}}(p,m),1===m[1].type&&Dt(m[11])&&m[11].destroy();const g=m[17];if(null!==g&&sr(m[3])){g!==m[3]&&yy(g,m);const _=m[19];null!==_&&_.detachView(p)}}}function wy(p,m,g){return function Cy(p,m,g){let _=m;for(;null!==_&&40&_.type;)_=(m=_).parent;if(null===_)return g[0];if(2&_.flags){const y=p.data[_.directiveStart].encapsulation;if(y===Ge.None||y===Ge.Emulated)return null}return He(_,g)}(p,m.parent,g)}function Oc(p,m,g,_,y){Dt(p)?p.insertBefore(m,g,_,y):m.insertBefore(g,_,y)}function vy(p,m,g){Dt(p)?p.appendChild(m,g):m.appendChild(g)}function Ty(p,m,g,_,y){null!==_?Oc(p,m,g,_,y):vy(p,m,g)}function Nf(p,m){return Dt(p)?p.parentNode(m):m.parentNode}function xy(p,m,g){return Ey(p,m,g)}let Ey=function Sy(p,m,g){return 40&p.type?He(p,g):null};function Vf(p,m,g,_){const y=wy(p,_,m),v=m[11],L=xy(_.parent||m[6],_,m);if(null!=y)if(Array.isArray(g))for(let P=0;Pv?"":y[ee+1].toLowerCase();const pe=8&_?ae:null;if(pe&&-1!==Ry(pe,F,0)||2&_&&F!==ae){if(Cr(_))return!1;D=!0}}}}else{if(!D&&!Cr(_)&&!Cr(P))return!1;if(D&&Cr(P))continue;D=!1,_=P|1&_}}return Cr(_)||D}function Cr(p){return 0==(1&p)}function By(p,m,g,_){if(null===m)return-1;let y=0;if(_||!g){let v=!1;for(;y-1)for(g++;g0?'="'+L+'"':"")+"]"}else 8&_?y+="."+D:4&_&&(y+=" "+D);else""!==y&&!Cr(D)&&(m+=Ic(v,y),y=""),_=D,v=v||!Cr(_);g++}return""!==y&&(m+=Ic(v,y)),m}const kt={};function t1(p){Hh(Qt(),ke(),Hn()+p,pl())}function Hh(p,m,g,_){if(!_)if(3==(3&m[2])){const v=p.preOrderCheckHooks;null!==v&&Al(m,v,g)}else{const v=p.preOrderHooks;null!==v&&zs(m,v,0,g)}ts(g)}function qd(p,m){return p<<17|m<<2}function Pa(p){return p>>17&32767}function r1(p){return 2|p}function rs(p){return(131068&p)>>2}function Nc(p,m){return-131069&p|m<<2}function kh(p){return 1|p}function Zf(p,m){const g=p.contentQueries;if(null!==g)for(let _=0;_20&&Hh(p,m,20,pl()),g(_,y)}finally{ts(v)}}function Ne(p,m,g){if(cl(m)){const y=m.directiveEnd;for(let v=m.directiveStart;v0;){const g=p[--m];if("number"==typeof g&&g<0)return g}return 0})(L)!=P&&L.push(P),L.push(_,y,D)}}function r0(p,m){null!==p.hostBindings&&p.hostBindings(1,m)}function M1(p,m){m.flags|=2,(p.components||(p.components=[])).push(m.index)}function C1(p,m,g){if(g){if(m.exportAs)for(let _=0;_0&&to(g)}}function to(p){for(let _=jg(p);null!==_;_=qg(_))for(let y=10;y<_.length;y++){const v=_[y];if(1024&v[2]){const D=v[1];_t(D,v,D.template,v[8])}else v[5]>0&&to(v)}const g=p[1].components;if(null!==g)for(let _=0;_0&&to(y)}}function d0(p,m){const g=Rt(m,p),_=g[1];(function Vh(p,m){for(let g=m.length;gPromise.resolve(null))();function p0(p){return p[7]||(p[7]=[])}function Jd(p){return p.cleanup||(p.cleanup=[])}function Xd(p,m,g){return(null===p||or(p))&&(g=function J(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(g[m.index])),g[11]}function x1(p,m){const g=p[9],_=g?g.get(Sh,null):null;_&&_.handleError(m)}function jh(p,m,g,_,y){for(let v=0;vthis.processProvider(L,m,g)),yr([m],L=>this.processInjectorType(L,[],v)),this.records.set(Vc,Fc(void 0,this));const D=this.records.get(f0);this.scope=null!=D?D.value:null,this.source=y||("object"==typeof m?null:V(m))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(m=>m.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(m,g=Oo,_=Ae.Default){this.assertNotDestroyed();const y=Or(this),v=lt(void 0);try{if(!(_&Ae.SkipSelf)){let L=this.records.get(m);if(void 0===L){const P=function rM(p){return"function"==typeof p||"object"==typeof p&&p instanceof Pi}(m)&&gi(m);L=P&&this.injectableDefInScope(P)?Fc(Wh(m),Qd):null,this.records.set(m,L)}if(null!=L)return this.hydrate(m,L)}return(_&Ae.Self?m0():this.parent).get(m,g=_&Ae.Optional&&g===Oo?null:g)}catch(D){if("NullInjectorError"===D.name){if((D[Dc]=D[Dc]||[]).unshift(V(m)),y)throw D;return function wf(p,m,g,_){const y=p[Dc];throw m[Hc]&&y.unshift(m[Hc]),p.message=function Cf(p,m,g,_=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let y=V(m);if(Array.isArray(m))y=m.map(V).join(" -> ");else if("object"==typeof m){let v=[];for(let D in m)if(m.hasOwnProperty(D)){let L=m[D];v.push(D+":"+("string"==typeof L?JSON.stringify(L):V(L)))}y=`{${v.join(", ")}}`}return`${g}${_?"("+_+")":""}[${y}]: ${p.replace(Af,"\n ")}`}("\n"+p.message,y,g,_),p.ngTokenPath=y,p[Dc]=null,p}(D,m,"R3InjectorError",this.source)}throw D}finally{lt(v),Or(y)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(m=>this.get(m))}toString(){const m=[];return this.records.forEach((_,y)=>m.push(V(y))),`R3Injector[${m.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processInjectorType(m,g,_){if(!(m=se(m)))return!1;let y=_a(m);const v=null==y&&m.ngModule||void 0,D=void 0===v?m:v,L=-1!==_.indexOf(D);if(void 0!==v&&(y=_a(v)),null==y)return!1;if(null!=y.imports&&!L){let W;_.push(D);try{yr(y.imports,ee=>{this.processInjectorType(ee,g,_)&&(void 0===W&&(W=[]),W.push(ee))})}finally{}if(void 0!==W)for(let ee=0;eethis.processProvider(Ce,ae,pe||nt))}}this.injectorDefTypes.add(D);const P=Wt(D)||(()=>new D);this.records.set(D,Fc(P,Qd));const F=y.providers;if(null!=F&&!L){const W=m;yr(F,ee=>this.processProvider(ee,W,F))}return void 0!==v&&void 0!==m.providers}processProvider(m,g,_){let y=da(m=se(m))?m:se(m&&m.provide);const v=function iM(p,m,g){return H1(p)?Fc(void 0,p.useValue):Fc(D1(p),Qd)}(m);if(da(m)||!0!==m.multi)this.records.get(y);else{let D=this.records.get(y);D||(D=Fc(void 0,Qd,!0),D.factory=()=>Lc(D.multi),this.records.set(y,D)),y=m,D.multi.push(m)}this.records.set(y,v)}hydrate(m,g){return g.value===Qd&&(g.value=Yh,g.value=g.factory()),"object"==typeof g.value&&g.value&&function Gh(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(g.value)&&this.onDestroy.add(g.value),g.value}injectableDefInScope(m){if(!m.providedIn)return!1;const g=se(m.providedIn);return"string"==typeof g?"any"===g||g===this.scope:this.injectorDefTypes.has(g)}}function Wh(p){const m=gi(p),g=null!==m?m.factory:Wt(p);if(null!==g)return g;if(p instanceof Pi)throw new te(204,!1);if(p instanceof Function)return function tM(p){const m=p.length;if(m>0)throw Sl(m,"?"),new te(204,!1);const g=function hn(p){const m=p&&(p[Wr]||p[de]);if(m){const g=function ga(p){if(p.hasOwnProperty("name"))return p.name;const m=(""+p).match(/^function\s*([^\s(]+)/);return null===m?"":m[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" 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 "${g}" class.`),m}return null}(p);return null!==g?()=>g.factory(p):()=>new p}(p);throw new te(204,!1)}function D1(p,m,g){let _;if(da(p)){const y=se(p);return Wt(y)||Wh(y)}if(H1(p))_=()=>se(p.useValue);else if(function nM(p){return!(!p||!p.useFactory)}(p))_=()=>p.useFactory(...Lc(p.deps||[]));else if(function Uh(p){return!(!p||!p.useExisting)}(p))_=()=>sn(se(p.useExisting));else{const y=se(p&&(p.useClass||p.provide));if(!function A0(p){return!!p.deps}(p))return Wt(y)||Wh(y);_=()=>new y(...Lc(p.deps))}return _}function Fc(p,m,g=!1){return{factory:p,value:m,multi:g?[]:void 0}}function H1(p){return null!==p&&"object"==typeof p&&yf in p}function da(p){return"function"==typeof p}let ua=(()=>{class p{static create(g,_){var y;if(Array.isArray(g))return g0({name:""},_,g,"");{const v=null!==(y=g.name)&&void 0!==y?y:"";return g0({name:v},g.parent,g.providers,v)}}}return p.THROW_IF_NOT_FOUND=Oo,p.NULL=new S1,p.\u0275prov=ni({token:p,providedIn:"any",factory:()=>sn(Vc)}),p.__NG_ELEMENT_ID__=-1,p})();function oM(p,m){bl(Of(p)[1],$i())}function Kd(p){let m=function B1(p){return Object.getPrototypeOf(p.prototype).constructor}(p.type),g=!0;const _=[p];for(;m;){let y;if(or(p))y=m.\u0275cmp||m.\u0275dir;else{if(m.\u0275cmp)throw new te(903,"");y=m.\u0275dir}if(y){if(g){_.push(y);const D=p;D.inputs=S0(p.inputs),D.declaredInputs=S0(p.declaredInputs),D.outputs=S0(p.outputs);const L=y.hostBindings;L&&N1(p,L);const P=y.viewQuery,F=y.contentQueries;if(P&&dM(p,P),F&&uM(p,F),R(p.inputs,y.inputs),R(p.declaredInputs,y.declaredInputs),R(p.outputs,y.outputs),or(y)&&y.data.animation){const W=p.data;W.animation=(W.animation||[]).concat(y.data.animation)}}const v=y.features;if(v)for(let D=0;D=0;_--){const y=p[_];y.hostVars=m+=y.hostVars,y.hostAttrs=is(y.hostAttrs,g=is(g,y.hostAttrs))}}(_)}function S0(p){return p===At?{}:p===nt?[]:p}function dM(p,m){const g=p.viewQuery;p.viewQuery=g?(_,y)=>{m(_,y),g(_,y)}:m}function uM(p,m){const g=p.contentQueries;p.contentQueries=g?(_,y,v)=>{m(_,y,v),g(_,y,v)}:m}function N1(p,m){const g=p.hostBindings;p.hostBindings=g?(_,y)=>{m(_,y),g(_,y)}:m}let Wo=null;function Uo(){if(!Wo){const p=Vt.Symbol;if(p&&p.iterator)Wo=p.iterator;else{const m=Object.getOwnPropertyNames(Map.prototype);for(let g=0;gL(I(Zt[_.index])):_.index;if(Dt(g)){let Zt=null;if(!L&&P&&(Zt=function LT(p,m,g,_){const y=p.cleanup;if(null!=y)for(let v=0;vP?L[P]:null}"string"==typeof D&&(v+=2)}return null}(p,m,y,_.index)),null!==Zt)(Zt.__ngLastListenerFn__||Zt).__ngNextListenerFn__=v,Zt.__ngLastListenerFn__=v,pe=!1;else{v=lu(_,m,ee,v,!1);const mi=g.listen(st,y,v);ae.push(v,mi),W&&W.push(y,pt,me,me+1)}}else v=lu(_,m,ee,v,!0),st.addEventListener(y,v,D),ae.push(v),W&&W.push(y,pt,me,D)}else v=lu(_,m,ee,v,!1);const Ce=_.outputs;let Ye;if(pe&&null!==Ce&&(Ye=Ce[y])){const Le=Ye.length;if(Le)for(let st=0;st0;)m=m[15],p--;return m}(p,yt.lFrame.contextLView))[8]}(p)}function PM(p,m){let g=null;const _=function dt(p){const m=p.attrs;if(null!=m){const g=m.indexOf(5);if(0==(1&g))return m[g+1]}return null}(p);for(let y=0;y=0}const gn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s_(p){return p.substring(gn.key,gn.keyEnd)}function Na(p,m){const g=gn.textEnd;return g===m?-1:(m=gn.keyEnd=function d_(p,m,g){for(;m32;)m++;return m}(p,gn.key=m,g),Xc(p,m,g))}function Xc(p,m,g){for(;m=0;g=Na(m,g))cr(p,s_(m),!0)}function ds(p,m,g,_){const y=ke(),v=Qt(),D=$n(2);v.firstUpdatePass&&du(v,p,D,_),m!==kt&&jn(y,D,m)&&zM(v,v.data[Hn()],y,y[11],p,y[D+1]=function OT(p,m){return null==p||("string"==typeof m?p+=m:"object"==typeof p&&(p=V($s(p)))),p}(m,g),_,D)}function Va(p,m,g,_){const y=Qt(),v=$n(2);y.firstUpdatePass&&du(y,null,v,_);const D=ke();if(g!==kt&&jn(D,v,g)){const L=y.data[Hn()];if(jM(L,_)&&!m_(y,v)){let P=_?L.classesWithoutHost:L.stylesWithoutHost;null!==P&&(g=q(P,g||"")),Zc(y,L,D,g,_)}else!function RT(p,m,g,_,y,v,D,L){y===kt&&(y=nt);let P=0,F=0,W=0=p.expandoStartIndex}function du(p,m,g,_){const y=p.data;if(null===y[g+1]){const v=y[Hn()],D=m_(p,g);jM(v,_)&&null===m&&!D&&(m=!1),m=function NM(p,m,g,_){const y=Lr(p);let v=_?m.residualClasses:m.residualStyles;if(null===y)0===(_?m.classBindings:m.styleBindings)&&(g=uu(g=ap(null,p,m,g,_),m.attrs,_),v=null);else{const D=m.directiveStylingLast;if(-1===D||p[D]!==y)if(g=ap(y,p,m,g,_),null===v){let P=function VM(p,m,g){const _=g?m.classBindings:m.styleBindings;if(0!==rs(_))return p[Pa(_)]}(p,m,_);void 0!==P&&Array.isArray(P)&&(P=ap(null,p,m,P[1],_),P=uu(P,m.attrs,_),function Z0(p,m,g,_){p[Pa(g?m.classBindings:m.styleBindings)]=_}(p,m,_,P))}else v=function PT(p,m,g){let _;const y=m.directiveEnd;for(let v=1+m.directiveStylingLast;v0)&&(F=!0)}else W=g;if(y)if(0!==P){const ae=Pa(p[L+1]);p[_+1]=qd(ae,L),0!==ae&&(p[ae+1]=Nc(p[ae+1],_)),p[L+1]=function Lh(p,m){return 131071&p|m<<17}(p[L+1],_)}else p[_+1]=qd(L,0),0!==L&&(p[L+1]=Nc(p[L+1],_)),L=_;else p[_+1]=qd(P,0),0===L?L=_:p[P+1]=Nc(p[P+1],_),P=_;F&&(p[_+1]=r1(p[_+1])),a_(p,W,_,!0),a_(p,W,_,!1),function ls(p,m,g,_,y){const v=y?p.residualClasses:p.residualStyles;null!=v&&"string"==typeof m&&ta(v,m)>=0&&(g[_+1]=kh(g[_+1]))}(m,W,p,_,v),D=qd(L,P),v?m.classBindings=D:m.styleBindings=D}(y,v,m,g,D,_)}}function ap(p,m,g,_,y){let v=null;const D=g.directiveEnd;let L=g.directiveStylingLast;for(-1===L?L=g.directiveStart:L++;L0;){const P=p[y],F=Array.isArray(P),W=F?P[1]:P,ee=null===W;let ae=g[y+1];ae===kt&&(ae=ee?nt:void 0);let pe=ee?kd(ae,_):W===_?ae:void 0;if(F&&!J0(pe)&&(pe=kd(P,_)),J0(pe)&&(L=pe,D))return L;const Ce=p[y+1];y=D?Pa(Ce):rs(Ce)}if(null!==m){let P=v?m.residualClasses:m.residualStyles;null!=P&&(L=kd(P,_))}return L}function J0(p){return void 0!==p}function jM(p,m){return 0!=(p.flags&(m?16:32))}function g_(p,m=""){const g=ke(),_=Qt(),y=p+20,v=_.firstCreatePass?Bl(_,y,1,m,null):_.data[y],D=g[y]=function Yg(p,m){return Dt(p)?p.createText(m):p.createTextNode(m)}(g[11],m);Vf(_,g,D,v),xa(v,!1)}function Xo(p){return Qo("",p,""),Xo}function Qo(p,m,g){const _=ke(),y=qc(_,p,m,g);return y!==kt&&io(_,Hn(),y),Qo}function X0(p,m,g,_,y){const v=ke(),D=Fl(v,p,m,g,_,y);return D!==kt&&io(v,Hn(),D),X0}function __(p,m,g,_,y,v,D,L,P,F,W){const ee=ke(),ae=no(ee,p,m,g,_,y,v,D,L,P,F,W);return ae!==kt&&io(ee,Hn(),ae),__}function Yl(p,m,g){Va(cr,cs,qc(ke(),p,m,g),!0)}function lp(p,m,g){const _=ke();return jn(_,Ns(),m)&&ur(Qt(),Bi(),_,p,m,_[11],g,!0),lp}function hu(p,m,g){const _=ke();if(jn(_,Ns(),m)){const v=Qt(),D=Bi();ur(v,D,_,p,m,Xd(Lr(v.data),D,_),g,!0)}return hu}const Ko=void 0;var KM=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["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"]],Ko,[["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"]],Ko,[["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}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QM(p){const g=Math.floor(Math.abs(p)),_=p.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===_?1:5}];let us={};function M_(p){const m=function w_(p){return p.toLowerCase().replace(/_/g,"-")}(p);let g=tw(m);if(g)return g;const _=m.split("-")[0];if(g=tw(_),g)return g;if("en"===_)return KM;throw new Error(`Missing locale data for the locale "${p}".`)}function ew(p){return M_(p)[bt.PluralCase]}function tw(p){return p in us||(us[p]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[p]),us[p]}var bt=(()=>((bt=bt||{})[bt.LocaleId=0]="LocaleId",bt[bt.DayPeriodsFormat=1]="DayPeriodsFormat",bt[bt.DayPeriodsStandalone=2]="DayPeriodsStandalone",bt[bt.DaysFormat=3]="DaysFormat",bt[bt.DaysStandalone=4]="DaysStandalone",bt[bt.MonthsFormat=5]="MonthsFormat",bt[bt.MonthsStandalone=6]="MonthsStandalone",bt[bt.Eras=7]="Eras",bt[bt.FirstDayOfWeek=8]="FirstDayOfWeek",bt[bt.WeekendRange=9]="WeekendRange",bt[bt.DateFormat=10]="DateFormat",bt[bt.TimeFormat=11]="TimeFormat",bt[bt.DateTimeFormat=12]="DateTimeFormat",bt[bt.NumberSymbols=13]="NumberSymbols",bt[bt.NumberFormats=14]="NumberFormats",bt[bt.CurrencyCode=15]="CurrencyCode",bt[bt.CurrencySymbol=16]="CurrencySymbol",bt[bt.CurrencyName=17]="CurrencyName",bt[bt.Currencies=18]="Currencies",bt[bt.Directionality=19]="Directionality",bt[bt.PluralCase=20]="PluralCase",bt[bt.ExtraData=21]="ExtraData",bt))();const hs="en-US";let im=hs;function hp(p,m,g,_,y){if(p=se(p),Array.isArray(p))for(let v=0;v>20;if(da(p)||!p.multi){const pe=new xo(P,y,Gc),Ce=fp(L,m,y?W:W+ae,ee);-1===Ce?(qs(Ho(F,D),v,L),pp(v,p,m.length),m.push(L),F.directiveStart++,F.directiveEnd++,y&&(F.providerIndexes+=1048576),g.push(pe),D.push(pe)):(g[Ce]=pe,D[Ce]=pe)}else{const pe=fp(L,m,W+ae,ee),Ce=fp(L,m,W,W+ae),Ye=pe>=0&&g[pe],Le=Ce>=0&&g[Ce];if(y&&!Le||!y&&!Ye){qs(Ho(F,D),v,L);const st=function Z_(p,m,g,_,y){const v=new xo(p,g,Gc);return v.multi=[],v.index=m,v.componentProviders=0,um(v,y,_&&!g),v}(y?G_:U_,g.length,y,_,P);!y&&Le&&(g[Ce].providerFactory=st),pp(v,p,m.length,0),m.push(L),F.directiveStart++,F.directiveEnd++,y&&(F.providerIndexes+=1048576),g.push(st),D.push(st)}else pp(v,p,pe>-1?pe:Ce,um(g[y?Ce:pe],P,!y&&_));!y&&_&&Le&&g[Ce].componentProviders++}}}function pp(p,m,g,_){const y=da(m),v=function b0(p){return!!p.useClass}(m);if(y||v){const P=(v?se(m.useClass):m).prototype.ngOnDestroy;if(P){const F=p.destroyHooks||(p.destroyHooks=[]);if(!y&&m.multi){const W=F.indexOf(g);-1===W?F.push(g,[_,P]):F[W+1].push(_,P)}else F.push(g,P)}}}function um(p,m,g){return g&&p.componentProviders++,p.multi.push(m)-1}function fp(p,m,g,_){for(let y=g;y<_;y++)if(m[y]===p)return y;return-1}function U_(p,m,g,_){return nd(this.multi,[])}function G_(p,m,g,_){const y=this.multi;let v;if(this.providerFactory){const D=this.providerFactory.componentProviders,L=Cl(g,g[1],this.providerFactory.index,_);v=L.slice(0,D),nd(y,v);for(let P=D;P{g.providersResolver=(_,y)=>function W_(p,m,g){const _=Qt();if(_.firstCreatePass){const y=or(p);hp(g,_.data,_.blueprint,y,!0),hp(m,_.data,_.blueprint,y,!1)}}(_,y?y(p):p,m)}}class pm{}class mm{resolveComponentFactory(m){throw function Sw(p){const m=Error(`No component factory found for ${V(p)}. Did you add it to @NgModule.entryComponents?`);return m.ngComponent=p,m}(m)}}let rd=(()=>{class p{}return p.NULL=new mm,p})();function gm(){return Gl($i(),ke())}function Gl(p,m){return new ad(He(p,m))}let ad=(()=>{class p{constructor(g){this.nativeElement=g}}return p.__NG_ELEMENT_ID__=gm,p})();function J_(p){return p instanceof ad?p.nativeElement:p}class yu{}let Q_=(()=>{class p{}return p.__NG_ELEMENT_ID__=()=>function eb(){const p=ke(),g=Rt($i().index,p);return function K_(p){return p[11]}(Bn(g)?g:p)}(),p})(),Fa=(()=>{class p{}return p.\u0275prov=ni({token:p,providedIn:"root",factory:()=>null}),p})();class er{constructor(m){this.full=m,this.major=m.split(".")[0],this.minor=m.split(".")[1],this.patch=m.split(".").slice(2).join(".")}}const tb=new er("13.2.2"),ib={};function _m(p,m,g,_,y=!1){for(;null!==g;){const v=m[g.index];if(null!==v&&_.push(I(v)),sr(v))for(let L=10;L-1&&(Ug(m,_),Ec(g,_))}this._attachedToViewContainer=!1}My(this._lView[1],this._lView)}onDestroy(m){Kf(this._lView[1],this._lView,null,m)}markForCheck(){Yo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fh(this._lView[1],this._lView,this.context)}checkNoChanges(){!function os(p,m,g){fl(!0);try{Fh(p,m,g)}finally{fl(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new te(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Xv(p,m){jd(p,m,m[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(m){if(this._attachedToViewContainer)throw new te(902,"");this._appRef=m}}class Mu extends Vi{constructor(m){super(m),this._view=m}detectChanges(){u0(this._view)}checkNoChanges(){!function Vl(p){fl(!0);try{u0(p)}finally{fl(!1)}}(this._view)}get context(){return null}}class mp extends rd{constructor(m){super(),this.ngModule=m}resolveComponentFactory(m){const g=pn(m);return new nb(g,this.ngModule)}}function wu(p){const m=[];for(let g in p)p.hasOwnProperty(g)&&m.push({propName:p[g],templateName:g});return m}const bm=new Pi("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hy});class nb extends pm{constructor(m,g){super(),this.componentDef=m,this.ngModule=g,this.componentType=m.type,this.selector=function Qi(p){return p.map(mn).join(",")}(m.selectors),this.ngContentSelectors=m.ngContentSelectors?m.ngContentSelectors:[],this.isBoundToModule=!!g}get inputs(){return wu(this.componentDef.inputs)}get outputs(){return wu(this.componentDef.outputs)}create(m,g,_,y){const v=(y=y||this.ngModule)?function Hw(p,m){return{get:(g,_,y)=>{const v=p.get(g,ib,y);return v!==ib||_===ib?v:m.get(g,_,y)}}}(m,y.injector):m,D=v.get(yu,B),L=v.get(Fa,null),P=D.createRenderer(null,this.componentDef),F=this.componentDef.selectors[0][0]||"div",W=_?function Zy(p,m,g){if(Dt(p))return p.selectRootElement(m,g===Ge.ShadowDom);let _="string"==typeof m?p.querySelector(m):m;return _.textContent="",_}(P,_,this.componentDef.encapsulation):Wg(D.createRenderer(null,this.componentDef),F,function Dw(p){const m=p.toLowerCase();return"svg"===m?"svg":"math"===m?"math":null}(F)),ee=this.componentDef.onPush?576:528,ae=function I1(p,m){return{components:[],scheduler:p||hy,clean:h0,playerHandler:m||null,flags:0}}(),pe=Qf(0,null,null,1,0,null,null,null,null,null),Ce=Il(null,pe,ae,ee,null,null,D,P,L,v);let Ye,Le;Sa(Ce);try{const st=function O1(p,m,g,_,y,v){const D=g[1];g[20]=p;const P=Bl(D,20,2,"#host",null),F=P.mergedAttrs=m.hostAttrs;null!==F&&(qh(P,F,!0),null!==p&&(Eo(y,p,F),null!==P.classes&&Xg(y,p,P.classes),null!==P.styles&&Py(y,p,P.styles)));const W=_.createRenderer(p,m),ee=Il(g,vt(m),null,m.onPush?64:16,g[20],P,_,W,v||null,null);return D.firstCreatePass&&(qs(Ho(P,g),D,m.type),M1(D,P),Xy(P,g.length,1)),zh(g,ee),g[20]=ee}(W,this.componentDef,Ce,D,P);if(W)if(_)Eo(P,W,["ng-version",tb.full]);else{const{attrs:me,classes:pt}=function Ny(p){const m=[],g=[];let _=1,y=2;for(;_0&&Xg(P,W,pt.join(" "))}if(Le=pi(pe,20),void 0!==g){const me=Le.projection=[];for(let pt=0;ptP(D,m)),m.contentQueries){const P=$i();m.contentQueries(1,D,P.directiveStart)}const L=$i();return!v.firstCreatePass||null===m.hostBindings&&null===m.hostAttrs||(ts(L.index),n0(g[1],L,0,L.directiveStart,L.directiveEnd,m),r0(m,D)),D}(st,this.componentDef,Ce,ae,[oM]),ti(pe,Ce,null)}finally{Co()}return new ex(this.componentType,Ye,Gl(Le,Ce),Ce,Le)}}class ex extends class $_{}{constructor(m,g,_,y,v){super(),this.location=_,this._rootLView=y,this._tNode=v,this.instance=g,this.hostView=this.changeDetectorRef=new Mu(y),this.componentType=m}get injector(){return new ko(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(m){this.hostView.onDestroy(m)}}class Cu{}class rb{}const Zl=new Map;class vu extends Cu{constructor(m,g){super(),this._parent=g,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new mp(this);const _=Et(m);this._bootstrapComponents=Xs(_.bootstrap),this._r3Injector=E1(m,g,[{provide:Cu,useValue:this},{provide:rd,useValue:this.componentFactoryResolver}],V(m)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(m)}get(m,g=ua.THROW_IF_NOT_FOUND,_=Ae.Default){return m===ua||m===Cu||m===Vc?this:this._r3Injector.get(m,g,_)}destroy(){const m=this._r3Injector;!m.destroyed&&m.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(m){this.destroyCbs.push(m)}}class Mm extends rb{constructor(m){super(),this.moduleType=m,null!==Et(m)&&function Lw(p){const m=new Set;!function g(_){const y=Et(_,!0),v=y.id;null!==v&&(function ab(p,m,g){if(m&&m!==g)throw new Error(`Duplicate module registered for ${p} - ${V(m)} vs ${V(m.name)}`)}(v,Zl.get(v),_),Zl.set(v,_));const D=Xs(y.imports);for(const L of D)m.has(L)||(m.add(L),g(L))}(p)}(m)}create(m){return new vu(this.moduleType,m)}}function gp(p,m,g){const _=Dn()+p,y=ke();return y[_]===kt?Nr(y,_,g?m.call(g):m()):function tu(p,m){return p[m]}(y,_)}function Tu(p,m,g,_){return cb(ke(),Dn(),p,m,g,_)}function sb(p,m,g,_,y){return wm(ke(),Dn(),p,m,g,_,y)}function $l(p,m){const g=p[m];return g===kt?void 0:g}function cb(p,m,g,_,y,v){const D=m+g;return jn(p,D,y)?Nr(p,D+1,v?_.call(v,y):_(y)):$l(p,D+1)}function wm(p,m,g,_,y,v,D){const L=m+g;return Go(p,L,y,v)?Nr(p,L+2,D?_.call(D,y,v):_(y,v)):$l(p,L+2)}function _p(p,m,g,_,y,v,D,L){const P=m+g;return function iu(p,m,g,_,y){const v=Go(p,m,g,_);return jn(p,m+2,y)||v}(p,P,y,v,D)?Nr(p,P+3,L?_.call(L,y,v,D):_(y,v,D)):$l(p,P+3)}function Ap(p,m){const g=Qt();let _;const y=p+20;g.firstCreatePass?(_=function xu(p,m){if(m)for(let g=m.length-1;g>=0;g--){const _=m[g];if(p===_.name)return _}}(m,g.pipeRegistry),g.data[y]=_,_.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(y,_.onDestroy)):_=g.data[y];const v=_.factory||(_.factory=Wt(_.type)),D=lt(Gc);try{const L=wl(!1),P=v();return wl(L),function gM(p,m,g,_){g>=p.data.length&&(p.data[g]=null,p.blueprint[g]=null),m[g]=_}(g,ke(),y,P),P}finally{lt(D)}}function Su(p,m,g){const _=p+20,y=ke(),v=ai(y,_);return ld(y,_)?cb(y,Dn(),m,v.transform,g,v):v.transform(g)}function Jl(p,m,g,_){const y=p+20,v=ke(),D=ai(v,y);return ld(v,y)?wm(v,Dn(),m,D.transform,g,_,D):D.transform(g,_)}function od(p,m,g,_,y){const v=p+20,D=ke(),L=ai(D,v);return ld(D,v)?_p(D,Dn(),m,L.transform,g,_,y,L):L.transform(g,_,y)}function ld(p,m){return p[1].data[m].pure}function yp(p){return m=>{setTimeout(p,void 0,m)}}const zr=class vm extends w.x{constructor(m=!1){super(),this.__isAsync=m}emit(m){super.next(m)}subscribe(m,g,_){var y,v,D;let L=m,P=g||(()=>null),F=_;if(m&&"object"==typeof m){const ee=m;L=null===(y=ee.next)||void 0===y?void 0:y.bind(ee),P=null===(v=ee.error)||void 0===v?void 0:v.bind(ee),F=null===(D=ee.complete)||void 0===D?void 0:D.bind(ee)}this.__isAsync&&(P=yp(P),L&&(L=yp(L)),F&&(F=yp(F)));const W=super.subscribe({next:L,error:P,complete:F});return m instanceof i.w0&&m.add(W),W}};function Tm(){return this._results[Uo()]()}class Xl{constructor(m=!1){this._emitDistinctChangesOnly=m,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=Uo(),_=Xl.prototype;_[g]||(_[g]=Tm)}get changes(){return this._changes||(this._changes=new zr)}get(m){return this._results[m]}map(m){return this._results.map(m)}filter(m){return this._results.filter(m)}find(m){return this._results.find(m)}reduce(m,g){return this._results.reduce(m,g)}forEach(m){this._results.forEach(m)}some(m){return this._results.some(m)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(m,g){const _=this;_.dirty=!1;const y=zn(m);(this._changesDetected=!function uh(p,m,g){if(p.length!==m.length)return!1;for(let _=0;_{class p{}return p.__NG_ELEMENT_ID__=hb,p})();const db=cd,ub=class extends db{constructor(m,g,_){super(),this._declarationLView=m,this._declarationTContainer=g,this.elementRef=_}createEmbeddedView(m){const g=this._declarationTContainer.tViews,_=Il(this._declarationLView,g,m,16,null,g.declTNode,null,null,null,null);_[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(_[19]=v.createEmbeddedView(g)),ti(g,_,m),new Vi(_)}};function hb(){return dd($i(),ke())}function dd(p,m){return 4&p.type?new ub(m,p,Gl(p,m)):null}let Yn=(()=>{class p{}return p.__NG_ELEMENT_ID__=Mp,p})();function Mp(){return xm($i(),ke())}const pb=Yn,fb=class extends pb{constructor(m,g,_){super(),this._lContainer=m,this._hostTNode=g,this._hostLView=_}get element(){return Gl(this._hostTNode,this._hostLView)}get injector(){return new ko(this._hostTNode,this._hostLView)}get parentInjector(){const m=js(this._hostTNode,this._hostLView);if(yl(m)){const g=Kr(m,this._hostLView),_=Do(m);return new ko(g[1].data[_+8],g)}return new ko(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(m){const g=ud(this._lContainer);return null!==g&&g[m]||null}get length(){return this._lContainer.length-10}createEmbeddedView(m,g,_){const y=m.createEmbeddedView(g||{});return this.insert(y,_),y}createComponent(m,g,_,y,v){const D=m&&!function Ro(p){return"function"==typeof p}(m);let L;if(D)L=g;else{const ee=g||{};L=ee.index,_=ee.injector,y=ee.projectableNodes,v=ee.ngModuleRef}const P=D?m:new nb(pn(m)),F=_||this.parentInjector;if(!v&&null==P.ngModule&&F){const ee=F.get(Cu,null);ee&&(v=ee)}const W=P.create(F,y,void 0,v);return this.insert(W.hostView,L),W}insert(m,g){const _=m._lView,y=_[1];if(function yi(p){return sr(p[3])}(_)){const W=this.indexOf(m);if(-1!==W)this.detach(W);else{const ee=_[3],ae=new fb(ee,ee[6],ee[3]);ae.detach(ae.indexOf(m))}}const v=this._adjustIndex(g),D=this._lContainer;!function Kv(p,m,g,_){const y=10+_,v=g.length;_>0&&(g[y-1][4]=m),_0)_.push(D[L/2]);else{const F=v[L+1],W=m[-P];for(let ee=10;ee{class p{constructor(g){this.appInits=g,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,y)=>{this.resolve=_,this.reject=y})}runInitializers(){if(this.initialized)return;const g=[],_=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let y=0;y{v.subscribe({complete:L,error:P})});g.push(D)}}Promise.all(g).then(()=>{_()}).catch(y=>{this.reject(y)}),0===g.length&&_(),this.initialized=!0}}return p.\u0275fac=function(g){return new(g||p)(sn(Dp,8))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Zw=new Pi("AppId"),Rb={provide:Zw,useFactory:function _x(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kl=new Pi("Platform Initializer"),Ob=new Pi("Platform ID"),Ib=new Pi("appBootstrapListener");let ku=(()=>{class p{log(g){console.log(g)}warn(g){console.warn(g)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Pu=new Pi("LocaleId"),Bb=new Pi("DefaultCurrencyCode");class Jw{constructor(m,g){this.ngModuleFactory=m,this.componentFactories=g}}let Wm=(()=>{class p{compileModuleSync(g){return new Mm(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const _=this.compileModuleSync(g),v=Xs(Et(g).declarations).reduce((D,L)=>{const P=pn(L);return P&&D.push(new nb(P)),D},[]);return new Jw(_,v)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();const Hp=(()=>Promise.resolve(0))();function ec(p){"undefined"==typeof Zone?Hp.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class Sr{constructor({enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zr(!1),this.onMicrotaskEmpty=new zr(!1),this.onStable=new zr(!1),this.onError=new zr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const y=this;y._nesting=0,y._outer=y._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(y._inner=y._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(y._inner=y._inner.fork(Zone.longStackTraceZoneSpec)),y.shouldCoalesceEventChangeDetection=!_&&g,y.shouldCoalesceRunChangeDetection=_,y.lastRequestAnimationFrameId=-1,y.nativeRequestAnimationFrame=function Cx(){let p=Vt.requestAnimationFrame,m=Vt.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&m){const g=p[Zone.__symbol__("OriginalDelegate")];g&&(p=g);const _=m[Zone.__symbol__("OriginalDelegate")];_&&(m=_)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function Qw(p){const m=()=>{!function Xw(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(Vt,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,Gm(p),p.isCheckStableRunning=!0,Um(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),Gm(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,_,y,v,D,L)=>{try{return Zm(p),g.invokeTask(y,v,D,L)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||p.shouldCoalesceRunChangeDetection)&&m(),Nb(p)}},onInvoke:(g,_,y,v,D,L,P)=>{try{return Zm(p),g.invoke(y,v,D,L,P)}finally{p.shouldCoalesceRunChangeDetection&&m(),Nb(p)}},onHasTask:(g,_,y,v)=>{g.hasTask(y,v),_===y&&("microTask"==v.change?(p._hasPendingMicrotasks=v.microTask,Gm(p),Um(p)):"macroTask"==v.change&&(p.hasPendingMacrotasks=v.macroTask))},onHandleError:(g,_,y,v)=>(g.handleError(y,v),p.runOutsideAngular(()=>p.onError.emit(v)),!1)})}(y)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Sr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Sr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(m,g,_){return this._inner.run(m,g,_)}runTask(m,g,_,y){const v=this._inner,D=v.scheduleEventTask("NgZoneEvent: "+y,m,hd,Ep,Ep);try{return v.runTask(D,g,_)}finally{v.cancelTask(D)}}runGuarded(m,g,_){return this._inner.runGuarded(m,g,_)}runOutsideAngular(m){return this._outer.run(m)}}const hd={};function Um(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function Gm(p){p.hasPendingMicrotasks=!!(p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId)}function Zm(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function Nb(p){p._nesting--,Um(p)}class Kw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zr,this.onMicrotaskEmpty=new zr,this.onStable=new zr,this.onError=new zr}run(m,g,_){return m.apply(g,_)}runGuarded(m,g,_){return m.apply(g,_)}runOutsideAngular(m){return m()}runTask(m,g,_,y){return m.apply(g,_)}}let Vb=(()=>{class p{constructor(g){this._ngZone=g,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),g.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:()=>{Sr.assertNotInAngularZone(),ec(()=>{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())ec(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(g)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,_,y){let v=-1;_&&_>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==v),g(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:g,timeoutId:v,updateCb:y})}whenStable(g,_,y){if(y&&!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(g,_,y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(g,_,y){return[]}}return p.\u0275fac=function(g){return new(g||p)(sn(Sr))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})(),eC=(()=>{class p{constructor(){this._applications=new Map,$m.addToWindow(this)}registerApplication(g,_){this._applications.set(g,_)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,_=!0){return $m.findTestabilityInTree(this,g,_)}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();class zb{addToWindow(m){}findTestabilityInTree(m,g,_){return null}}function Fb(p){$m=p}let gs,$m=new zb;const qb=new Pi("AllowMultipleToken");class iC{constructor(m,g){this.name=m,this.token=g}}function tr(p,m,g=[]){const _=`Platform: ${m}`,y=new Pi(_);return(v=[])=>{let D=nl();if(!D||D.injector.get(qb,!1))if(p)p(g.concat(v).concat({provide:y,useValue:!0}));else{const L=g.concat(v).concat({provide:y,useValue:!0},{provide:f0,useValue:"platform"});!function nC(p){if(gs&&!gs.destroyed&&!gs.injector.get(qb,!1))throw new te(400,"");gs=p.get(aC);const m=p.get(Kl,null);m&&m.forEach(g=>g())}(ua.create({providers:L,name:_}))}return function rC(p){const m=nl();if(!m)throw new te(401,"");return m}()}}function nl(){return gs&&!gs.destroyed?gs:null}let aC=(()=>{class p{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,_){const L=function sC(p,m){let g;return g="noop"===p?new Kw:("zone.js"===p?void 0:p)||new Sr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==m?void 0:m.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==m?void 0:m.ngZoneRunCoalescing)}),g}(_?_.ngZone:void 0,{ngZoneEventCoalescing:_&&_.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:_&&_.ngZoneRunCoalescing||!1}),P=[{provide:Sr,useValue:L}];return L.run(()=>{const F=ua.create({providers:P,parent:this.injector,name:g.moduleType.name}),W=g.create(F),ee=W.injector.get(Sh,null);if(!ee)throw new te(402,"");return L.runOutsideAngular(()=>{const ae=L.onError.subscribe({next:pe=>{ee.handleError(pe)}});W.onDestroy(()=>{Jm(this._modules,W),ae.unsubscribe()})}),function oC(p,m,g){try{const _=g();return hr(_)?_.catch(y=>{throw m.runOutsideAngular(()=>p.handleError(y)),y}):_}catch(_){throw m.runOutsideAngular(()=>p.handleError(_)),_}}(ee,L,()=>{const ae=W.injector.get(Lu);return ae.runInitializers(),ae.donePromise.then(()=>(function rw(p){oi(p,"Expected localeId to be defined"),"string"==typeof p&&(im=p.toLowerCase().replace(/_/g,"-"))}(W.injector.get(Pu,hs)||hs),this._moduleDoBootstrap(W),W))})})}bootstrapModule(g,_=[]){const y=Yb({},_);return function jb(p,m,g){const _=new Mm(g);return Promise.resolve(_)}(0,0,g).then(v=>this.bootstrapModuleFactory(v,y))}_moduleDoBootstrap(g){const _=g.injector.get(Ru);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(y=>_.bootstrap(y));else{if(!g.instance.ngDoBootstrap)throw new te(403,"");g.instance.ngDoBootstrap(_)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,"");this._modules.slice().forEach(g=>g.destroy()),this._destroyListeners.forEach(g=>g()),this._destroyed=!0}get destroyed(){return this._destroyed}}return p.\u0275fac=function(g){return new(g||p)(sn(ua))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();function Yb(p,m){return Array.isArray(m)?m.reduce(Yb,p):Object.assign(Object.assign({},p),m)}let Ru=(()=>{class p{constructor(g,_,y,v,D){this._zone=g,this._injector=_,this._exceptionHandler=y,this._componentFactoryResolver=v,this._initStatus=D,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 L=new S.y(F=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{F.next(this._stable),F.complete()})}),P=new S.y(F=>{let W;this._zone.runOutsideAngular(()=>{W=this._zone.onStable.subscribe(()=>{Sr.assertNotInAngularZone(),ec(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,F.next(!0))})})});const ee=this._zone.onUnstable.subscribe(()=>{Sr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{F.next(!1)}))});return()=>{W.unsubscribe(),ee.unsubscribe()}});this.isStable=(0,x.T)(L,P.pipe((0,E.B)()))}bootstrap(g,_){if(!this._initStatus.done)throw new te(405,"");let y;y=g instanceof pm?g:this._componentFactoryResolver.resolveComponentFactory(g),this.componentTypes.push(y.componentType);const v=function tC(p){return p.isBoundToModule}(y)?void 0:this._injector.get(Cu),L=y.create(ua.NULL,[],_||y.selector,v),P=L.location.nativeElement,F=L.injector.get(Vb,null),W=F&&L.injector.get(eC);return F&&W&&W.registerApplication(P,F),L.onDestroy(()=>{this.detachView(L.hostView),Jm(this.components,L),W&&W.unregisterApplication(P)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new te(101,"");try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const _=g;this._views.push(_),_.attachToAppRef(this)}detachView(g){const _=g;Jm(this._views,_),_.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g),this._injector.get(Ib,[]).concat(this._bootstrapListeners).forEach(y=>y(g))}ngOnDestroy(){this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return p.\u0275fac=function(g){return new(g||p)(sn(Sr),sn(ua),sn(Sh),sn(rd),sn(Lu))},p.\u0275prov=ni({token:p,factory:p.\u0275fac}),p})();function Jm(p,m){const g=p.indexOf(m);g>-1&&p.splice(g,1)}let Ub=!0;function Sx(){Ub=!1}let $b=(()=>{class p{}return p.__NG_ELEMENT_ID__=Ou,p})();function Ou(p){return function Xm(p,m,g){if($a(p)&&!g){const _=Rt(p.index,m);return new Vi(_,_)}return 47&p.type?new Vi(m[16],m):null}($i(),ke(),16==(16&p))}class ig{constructor(){}supports(m){return eu(m)}create(m){return new fC(m)}}const pC=(p,m)=>m;class fC{constructor(m){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=m||pC}forEachItem(m){let g;for(g=this._itHead;null!==g;g=g._next)m(g)}forEachOperation(m){let g=this._itHead,_=this._removalsHead,y=0,v=null;for(;g||_;){const D=!_||g&&g.currentIndex{D=this._trackByFn(y,L),null!==g&&Object.is(g.trackById,D)?(_&&(g=this._verifyReinsertion(g,L,D,y)),Object.is(g.item,L)||this._addIdentityChange(g,L)):(g=this._mismatch(g,L,D,y),_=!0),g=g._next,y++}),this.length=y;return this._truncate(g),this.collection=m,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let m;for(m=this._previousItHead=this._itHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._additionsHead;null!==m;m=m._nextAdded)m.previousIndex=m.currentIndex;for(this._additionsHead=this._additionsTail=null,m=this._movesHead;null!==m;m=m._nextMoved)m.previousIndex=m.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(m,g,_,y){let v;return null===m?v=this._itTail:(v=m._prev,this._remove(m)),null!==(m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._reinsertAfter(m,v,y)):null!==(m=null===this._linkedRecords?null:this._linkedRecords.get(_,y))?(Object.is(m.item,g)||this._addIdentityChange(m,g),this._moveAfter(m,v,y)):m=this._addAfter(new Qb(g,_),v,y),m}_verifyReinsertion(m,g,_,y){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==v?m=this._reinsertAfter(v,m._prev,y):m.currentIndex!=y&&(m.currentIndex=y,this._addToMoves(m,y)),m}_truncate(m){for(;null!==m;){const g=m._next;this._addToRemovals(this._unlink(m)),m=g}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(m,g,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(m);const y=m._prevRemoved,v=m._nextRemoved;return null===y?this._removalsHead=v:y._nextRemoved=v,null===v?this._removalsTail=y:v._prevRemoved=y,this._insertAfter(m,g,_),this._addToMoves(m,_),m}_moveAfter(m,g,_){return this._unlink(m),this._insertAfter(m,g,_),this._addToMoves(m,_),m}_addAfter(m,g,_){return this._insertAfter(m,g,_),this._additionsTail=null===this._additionsTail?this._additionsHead=m:this._additionsTail._nextAdded=m,m}_insertAfter(m,g,_){const y=null===g?this._itHead:g._next;return m._next=y,m._prev=g,null===y?this._itTail=m:y._prev=m,null===g?this._itHead=m:g._next=m,null===this._linkedRecords&&(this._linkedRecords=new eA),this._linkedRecords.put(m),m.currentIndex=_,m}_remove(m){return this._addToRemovals(this._unlink(m))}_unlink(m){null!==this._linkedRecords&&this._linkedRecords.remove(m);const g=m._prev,_=m._next;return null===g?this._itHead=_:g._next=_,null===_?this._itTail=g:_._prev=g,m}_addToMoves(m,g){return m.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=m:this._movesTail._nextMoved=m),m}_addToRemovals(m){return null===this._unlinkedRecords&&(this._unlinkedRecords=new eA),this._unlinkedRecords.put(m),m.currentIndex=null,m._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=m,m._prevRemoved=null):(m._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=m),m}_addIdentityChange(m,g){return m.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=m:this._identityChangesTail._nextIdentityChange=m,m}}class Qb{constructor(m,g){this.item=m,this.trackById=g,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 Kb{constructor(){this._head=null,this._tail=null}add(m){null===this._head?(this._head=this._tail=m,m._nextDup=null,m._prevDup=null):(this._tail._nextDup=m,m._prevDup=this._tail,m._nextDup=null,this._tail=m)}get(m,g){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===g||g<=_.currentIndex)&&Object.is(_.trackById,m))return _;return null}remove(m){const g=m._prevDup,_=m._nextDup;return null===g?this._head=_:g._nextDup=_,null===_?this._tail=g:_._prevDup=g,null===this._head}}class eA{constructor(){this.map=new Map}put(m){const g=m.trackById;let _=this.map.get(g);_||(_=new Kb,this.map.set(g,_)),_.add(m)}get(m,g){const y=this.map.get(m);return y?y.get(m,g):null}remove(m){const g=m.trackById;return this.map.get(g).remove(m)&&this.map.delete(g),m}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ng(p,m,g){const _=p.previousIndex;if(null===_)return _;let y=0;return g&&_{if(g&&g.key===y)this._maybeAddToChanges(g,_),this._appendAfter=g,g=g._next;else{const v=this._getOrCreateRecordForKey(y,_);g=this._insertBeforeOrAppend(g,v)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let _=g;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(m,g){if(m){const _=m._prev;return g._next=m,g._prev=_,m._prev=g,_&&(_._next=g),m===this._mapHead&&(this._mapHead=g),this._appendAfter=m,m}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(m,g){if(this._records.has(m)){const y=this._records.get(m);this._maybeAddToChanges(y,g);const v=y._prev,D=y._next;return v&&(v._next=D),D&&(D._prev=v),y._next=null,y._prev=null,y}const _=new tA(m);return this._records.set(m,_),_.currentValue=g,this._addToAdditions(_),_}_reset(){if(this.isDirty){let m;for(this._previousMapHead=this._mapHead,m=this._previousMapHead;null!==m;m=m._next)m._nextPrevious=m._next;for(m=this._changesHead;null!==m;m=m._nextChanged)m.previousValue=m.currentValue;for(m=this._additionsHead;null!=m;m=m._nextAdded)m.previousValue=m.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(m,g){Object.is(g,m.currentValue)||(m.previousValue=m.currentValue,m.currentValue=g,this._addToChanges(m))}_addToAdditions(m){null===this._additionsHead?this._additionsHead=this._additionsTail=m:(this._additionsTail._nextAdded=m,this._additionsTail=m)}_addToChanges(m){null===this._changesHead?this._changesHead=this._changesTail=m:(this._changesTail._nextChanged=m,this._changesTail=m)}_forEach(m,g){m instanceof Map?m.forEach(g):Object.keys(m).forEach(_=>g(m[_],_))}}class tA{constructor(m){this.key=m,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 iA(){return new ic([new ig])}let ic=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(null!=_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||iA()),deps:[[p,new Bo,new Zs]]}}find(g){const _=this.factories.find(y=>y.supports(g));if(null!=_)return _;throw new te(901,"")}}return p.\u0275prov=ni({token:p,providedIn:"root",factory:iA}),p})();function md(){return new Bu([new fd])}let Bu=(()=>{class p{constructor(g){this.factories=g}static create(g,_){if(_){const y=_.factories.slice();g=g.concat(y)}return new p(g)}static extend(g){return{provide:p,useFactory:_=>p.create(g,_||md()),deps:[[p,new Bo,new Zs]]}}find(g){const _=this.factories.find(v=>v.supports(g));if(_)return _;throw new te(901,"")}}return p.\u0275prov=ni({token:p,providedIn:"root",factory:md}),p})();const mC=[new fd],rA=new ic([new ig]),nc=new Bu(mC),gC=tr(null,"core",[{provide:Ob,useValue:"unknown"},{provide:aC,deps:[ua]},{provide:eC,deps:[]},{provide:ku,deps:[]}]),bC=[{provide:Ru,useClass:Ru,deps:[Sr,ua,Sh,rd,Lu]},{provide:bm,deps:[Sr],useFactory:function AC(p){let m=[];return p.onStable.subscribe(()=>{for(;m.length;)m.pop()()}),function(g){m.push(g)}}},{provide:Lu,useClass:Lu,deps:[[new Zs,Dp]]},{provide:Wm,useClass:Wm,deps:[]},Rb,{provide:ic,useFactory:function Nx(){return rA},deps:[]},{provide:Bu,useFactory:function Op(){return nc},deps:[]},{provide:Pu,useFactory:function aA(p){return p||function _C(){return"undefined"!=typeof $localize&&$localize.locale||hs}()},deps:[[new Io(Pu),new Zs,new Bo]]},{provide:Bb,useValue:"USD"}];let yC=(()=>{class p{constructor(g){}}return p.\u0275fac=function(g){return new(g||p)(sn(Ru))},p.\u0275mod=Es({type:p}),p.\u0275inj=Gi({providers:bC}),p})()},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{zr:()=>OAuthModule,Ct:()=>OAuthService,Hy:()=>OAuthStorage});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__(7579),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2076),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(102),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2843),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(9841),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6451),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8505),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(1005),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(590),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(5577),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class j extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return j.\u0275fac=function(){let Y;return function(w){return(Y||(Y=_angular_core__WEBPACK_IMPORTED_MODULE_1__.n5z(j)))(w||j)}}(),j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class j{constructor(){this.data=new Map}getItem(T){return this.data.get(T)}removeItem(T){this.data.delete(T)}setItem(T,w){this.data.set(T,w)}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class ReceivedTokens{}class OAuthEvent{constructor(Y){this.type=Y}}class OAuthSuccessEvent extends OAuthEvent{constructor(Y,T=null){super(Y),this.info=T}}class OAuthInfoEvent extends OAuthEvent{constructor(Y,T=null){super(Y),this.info=T}}class OAuthErrorEvent extends OAuthEvent{constructor(Y,T,w=null){super(Y),this.reason=T,this.params=w}}function b64DecodeUnicode(j){const Y=j.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Y).split("").map(function(T){return"%"+("00"+T.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(j){return btoa(j).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=T=>{location.href=T},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 T=this.inferHashAlgorithm(Y.idTokenHeader),w=yield this.calcHash(Y.accessToken,T),S=base64UrlEncode(w.substr(0,w.length/2)),x=Y.idTokenClaims.at_hash.replace(/=/g,"");return S!==x&&(console.error("exptected at_hash: "+S),console.error("actual at_hash: "+x)),S===x})}inferHashAlgorithm(Y){let T=Y.alg;if(!T.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+T);return"sha-"+T.substr(2)}}let UrlHelperService=(()=>{class j{getHashFragmentParams(T){let w=T||window.location.hash;if(w=decodeURIComponent(w),0!==w.indexOf("#"))return{};const i=w.indexOf("?");return w=w.substr(i>-1?i+1:1),this.parseQueryString(w)}parseQueryString(T){const w={};let i,S,x,E,k,R,V;if(null===T)return w;i=T.split("&");for(let q=0;q>6,S[E++]=128|63&k):k<55296||k>=57344?(S[E++]=224|k>>12,S[E++]=128|k>>6&63,S[E++]=128|63&k):(k=65536+((1023&k)<<10|1023&j.charCodeAt(++w)),S[E++]=240|k>>18,S[E++]=128|k>>12&63,S[E++]=128|k>>6&63,S[E++]=128|63&k);j=S}else{if("object"!==i)throw new Error(ERROR);if(null===j)throw new Error(ERROR);if(ARRAY_BUFFER&&j.constructor===ArrayBuffer)j=new Uint8Array(j);else if(!(Array.isArray(j)||ARRAY_BUFFER&&ArrayBuffer.isView(j)))throw new Error(ERROR)}j.length>64&&(j=new Sha256(Y,!0).update(j).array());var R=[],V=[];for(w=0;w<64;++w){var q=j[w]||0;R[w]=92^q,V[w]=54^q}Sha256.call(this,Y,T),this.update(V),this.oKeyPad=R,this.inner=!0,this.sharedMemory=T}Sha256.prototype.update=function(j){if(!this.finalized){var Y,T=typeof j;if("string"!==T){if("object"!==T)throw new Error(ERROR);if(null===j)throw new Error(ERROR);if(ARRAY_BUFFER&&j.constructor===ArrayBuffer)j=new Uint8Array(j);else if(!(Array.isArray(j)||ARRAY_BUFFER&&ArrayBuffer.isView(j)))throw new Error(ERROR);Y=!0}for(var w,S,i=0,x=j.length,E=this.blocks;i>2]|=j[i]<>2]|=w<>2]|=(192|w>>6)<>2]|=(128|63&w)<=57344?(E[S>>2]|=(224|w>>12)<>2]|=(128|w>>6&63)<>2]|=(128|63&w)<>2]|=(240|w>>18)<>2]|=(128|w>>12&63)<>2]|=(128|w>>6&63)<>2]|=(128|63&w)<=64?(this.block=E[16],this.start=S-64,this.hash(),this.hashed=!0):this.start=S}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 j=this.blocks,Y=this.lastByteIndex;j[16]=this.block,j[Y>>2]|=EXTRA[3&Y],this.block=j[16],Y>=56&&(this.hashed||this.hash(),j[0]=this.block,j[16]=j[1]=j[2]=j[3]=j[4]=j[5]=j[6]=j[7]=j[8]=j[9]=j[10]=j[11]=j[12]=j[13]=j[14]=j[15]=0),j[14]=this.hBytes<<3|this.bytes>>>29,j[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var R,X,ie,te,he,ge,j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=this.blocks;for(R=16;R<64;++R)k[R]=k[R-16]+(((X=k[R-15])>>>7|X<<25)^(X>>>18|X<<14)^X>>>3)+k[R-7]+(((X=k[R-2])>>>17|X<<15)^(X>>>19|X<<13)^X>>>10)<<0;for(ge=Y&T,R=0;R<64;R+=4)this.first?(this.is224?(ie=300032,E=(X=k[0]-1413257819)-150054599<<0,w=X+24177077<<0):(ie=704751109,E=(X=k[0]-210244248)-1521486534<<0,w=X+143694565<<0),this.first=!1):(E=w+(X=E+((i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7))+(i&S^~i&x)+K[R]+k[R])<<0,w=X+(((j>>>2|j<<30)^(j>>>13|j<<19)^(j>>>22|j<<10))+((ie=j&Y)^j&T^ge))<<0),x=T+(X=x+((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&i^~E&S)+K[R+1]+k[R+1])<<0,T=X+(((w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10))+((te=w&j)^w&Y^ie))<<0,S=Y+(X=S+((x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7))+(x&E^~x&i)+K[R+2]+k[R+2])<<0,Y=X+(((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+((he=T&w)^T&j^te))<<0,i=j+(X=i+((S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7))+(S&x^~S&E)+K[R+3]+k[R+3])<<0,j=X+(((Y>>>2|Y<<30)^(Y>>>13|Y<<19)^(Y>>>22|Y<<10))+((ge=Y&T)^Y&w^he))<<0;this.h0=this.h0+j<<0,this.h1=this.h1+Y<<0,this.h2=this.h2+T<<0,this.h3=this.h3+w<<0,this.h4=this.h4+i<<0,this.h5=this.h5+S<<0,this.h6=this.h6+x<<0,this.h7=this.h7+E<<0},Sha256.prototype.hex=function(){this.finalize();var j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=HEX_CHARS[j>>28&15]+HEX_CHARS[j>>24&15]+HEX_CHARS[j>>20&15]+HEX_CHARS[j>>16&15]+HEX_CHARS[j>>12&15]+HEX_CHARS[j>>8&15]+HEX_CHARS[j>>4&15]+HEX_CHARS[15&j]+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[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[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[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[S>>28&15]+HEX_CHARS[S>>24&15]+HEX_CHARS[S>>20&15]+HEX_CHARS[S>>16&15]+HEX_CHARS[S>>12&15]+HEX_CHARS[S>>8&15]+HEX_CHARS[S>>4&15]+HEX_CHARS[15&S]+HEX_CHARS[x>>28&15]+HEX_CHARS[x>>24&15]+HEX_CHARS[x>>20&15]+HEX_CHARS[x>>16&15]+HEX_CHARS[x>>12&15]+HEX_CHARS[x>>8&15]+HEX_CHARS[x>>4&15]+HEX_CHARS[15&x];return this.is224||(k+=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]),k},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var j=this.h0,Y=this.h1,T=this.h2,w=this.h3,i=this.h4,S=this.h5,x=this.h6,E=this.h7,k=[j>>24&255,j>>16&255,j>>8&255,255&j,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,T>>24&255,T>>16&255,T>>8&255,255&T,w>>24&255,w>>16&255,w>>8&255,255&w,i>>24&255,i>>16&255,i>>8&255,255&i,S>>24&255,S>>16&255,S>>8&255,255&S,x>>24&255,x>>16&255,x>>8&255,255&x];return this.is224||k.push(E>>24&255,E>>16&255,E>>8&255,255&E),k},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var j=new ArrayBuffer(this.is224?28:32),Y=new DataView(j);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),j},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var j=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(j),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(j){if("string"!=typeof j)throw new TypeError("expected string");var Y,T=j,w=new Uint8Array(T.length);for(Y=0;Y{class j{calcHash(T,w){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(T)))})}toHashString2(T){let w="";for(let i of T)w+=String.fromCharCode(i);return w}toHashString(T){const w=new Uint8Array(T);let i="";for(let S of w)i+=String.fromCharCode(S);return i}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})(),OAuthService=(()=>{class j extends AuthConfig{constructor(T,w,i,S,x,E,k,R,V,q){var $;super(),this.ngZone=T,this.http=w,this.config=x,this.urlHelper=E,this.logger=k,this.crypto=R,this.dateTimeService=q,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=V,x||(x={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),S&&(this.tokenValidationHandler=S),x&&this.configure(x);try{i?this.setStorage(i):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(X){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",X)}if(this.checkLocalStorageAccessable()){const X=null===($=null==window?void 0:window.navigator)||void 0===$?void 0:$.userAgent;((null==X?void 0:X.includes("MSIE "))||(null==X?void 0:X.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const T="test";try{return void 0!==window.localStorage&&(localStorage.setItem(T,T),localStorage.removeItem(T),!0)}catch(w){return!1}}configure(T){Object.assign(this,new AuthConfig,T),this.config=Object.assign({},new AuthConfig,T),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)(T=>"token_received"===T.type)).subscribe(T=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(T={},w,i=!0){let S=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(x=>{"token_received"===x.type?S=!0:"logout"===x.type&&(S=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(x=>"token_expires"===x.type&&(null==w||"any"===w||x.info===w)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(x=>{S&&this.refreshInternal(T,i).catch(E=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(T,w){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(T,w):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(T=null){return this.loadDiscoveryDocument().then(w=>this.tryLogin(T))}loadDiscoveryDocumentAndLogin(T=null){return this.loadDiscoveryDocumentAndTryLogin(T=T||{}).then(w=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof T.state?T.state:""),!1))}debug(...T){this.showDebugInformation&&this.logger.debug.apply(this.logger,T)}validateUrlFromDiscoveryDocument(T){const w=[],i=this.validateUrlForHttps(T),S=this.validateUrlAgainstIssuer(T);return i||w.push("https for all urls required. Also for urls received by discovery."),S||w.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),w}validateUrlForHttps(T){if(!T)return!0;const w=T.toLowerCase();return!(!1!==this.requireHttps&&(!w.match(/^http:\/\/localhost($|[:\/])/)&&!w.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||w.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(T,w){if(!T)throw new Error(`'${w}' should not be null`);if(!this.validateUrlForHttps(T))throw new Error(`'${w}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(T){return!this.strictDiscoveryDocumentValidation||!T||T.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)(T=>"token_received"===T.type)).subscribe(T=>{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 T=this.getAccessTokenExpiration(),w=this.getAccessTokenStoredAt(),i=this.calcTimeout(w,T);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}setupIdTokenTimer(){const T=this.getIdTokenExpiration(),w=this.getIdTokenStoredAt(),i=this.calcTimeout(w,T);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(S=>{this.ngZone.run(()=>{this.eventsSubject.next(S)})})})}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(T,w){const i=this.dateTimeService.now();return Math.max(0,(w-T)*this.timeoutFactor-(i-T))}setStorage(T){this._storage=T,this.configChanged()}loadDiscoveryDocument(T=null){return new Promise((w,i)=>{T||((T=this.issuer||"").endsWith("/")||(T+="/"),T+=".well-known/openid-configuration"),this.validateUrlForHttps(T)?this.http.get(T).subscribe(S=>{if(!this.validateDiscoveryDocument(S))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void i("discovery_document_validation_error");this.loginUrl=S.authorization_endpoint,this.logoutUrl=S.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=S.grant_types_supported,this.issuer=S.issuer,this.tokenEndpoint=S.token_endpoint,this.userinfoEndpoint=S.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=S.jwks_uri,this.sessionCheckIFrameUrl=S.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(S),this.revocationEndpoint=S.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(x=>{const k=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:S,jwks:x});this.eventsSubject.next(k),w(k)}).catch(x=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",x)),i(x)})},S=>{this.logger.error("error loading discovery document",S),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",S)),i(S)}):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((T,w)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(i=>{this.jwks=i,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),T(i)},i=>{this.logger.error("error loading jwks",i),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",i)),w(i)}):T(null)})}validateDiscoveryDocument(T){let w;return this.skipIssuerCheck||T.issuer===this.issuer?(w=this.validateUrlFromDiscoveryDocument(T.authorization_endpoint),w.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.end_session_endpoint),w.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.token_endpoint),w.length>0&&this.logger.error("error validating token_endpoint in discovery document",w),w=this.validateUrlFromDiscoveryDocument(T.revocation_endpoint),w.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",w),w=this.validateUrlFromDiscoveryDocument(T.userinfo_endpoint),w.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",w),!1):(w=this.validateUrlFromDiscoveryDocument(T.jwks_uri),w.length>0?(this.logger.error("error validating jwks_uri in discovery document",w),!1):(this.sessionChecksEnabled&&!T.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: "+T.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingPasswordFlow(T,w,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((T,w)=>{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(S=>{if(this.debug("userinfo received",JSON.stringify(S)),S.headers.get("content-type").startsWith("application/json")){let x=JSON.parse(S.body);const E=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!E.sub||x.sub!==E.sub))return void w("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");x=Object.assign({},E,x),this._storage.setItem("id_token_claims_obj",JSON.stringify(x)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),T({info:x})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),T(JSON.parse(S.body))},S=>{this.logger.error("error loading user info",S),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",S)),w(S)})})}fetchTokenUsingPasswordFlow(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){return this.fetchTokenUsingGrant("password",{username:T,password:w},i)}fetchTokenUsingGrant(T,w,i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let S=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",T).set("scope",this.scope);if(this.useHttpBasicAuth){const x=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+x)}if(this.useHttpBasicAuth||(S=S.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(S=S.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const x of Object.getOwnPropertyNames(this.customQueryParams))S=S.set(x,this.customQueryParams[x]);for(const x of Object.keys(w))S=S.set(x,w[x]);return i=i.set("Content-Type","application/x-www-form-urlencoded"),new Promise((x,E)=>{this.http.post(this.tokenEndpoint,S,{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(R=>{this.storeIdToken(R),x(k)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),x(k)},k=>{this.logger.error("Error performing ${grantType} flow",k),this.eventsSubject.next(new OAuthErrorEvent("token_error",k)),E(k)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((T,w)=>{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")),S=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.WM).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const x=btoa(`${this.clientId}:${this.dummyClientSecret}`);S=S.set("Authorization","Basic "+x)}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 x of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(x,this.customQueryParams[x]);this.http.post(this.tokenEndpoint,i,{headers:S}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(x=>x.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(x.id_token,x.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(E=>this.storeIdToken(E)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(E=>x)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(x))).subscribe(x=>{this.debug("refresh tokenResponse",x),this.storeAccessTokenResponse(x.access_token,x.refresh_token,x.expires_in||this.fallbackAccessTokenExpirationTimeInSec,x.scope,this.extractRecognizedCustomParameters(x)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),T(x)},x=>{this.logger.error("Error refreshing token",x),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",x)),w(x)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=T=>{const w=this.processMessageEventMessage(T);this.tryLogin({customHashFragment:w,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(i=>this.debug("tryLogin during silent refresh failed",i))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(T={},w=!0){const i=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(T.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 S=this.document.getElementById(this.silentRefreshIFrameName);S&&this.document.body.removeChild(S),this.silentRefreshSubject=i.sub;const x=this.document.createElement("iframe");x.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,w,T).then(q=>{x.setAttribute("src",q),this.silentRefreshShowIFrame||(x.style.display="none"),this.document.body.appendChild(x)});const k=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(q=>q instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),R=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(q=>"token_received"===q.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),V=(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__.S)([k,R,V]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(q=>{if(q instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===q.type||(q=new OAuthErrorEvent("silent_refresh_error",q)),this.eventsSubject.next(q),q;return"token_received"===q.type&&(q=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(q)),q})).toPromise()}initImplicitFlowInPopup(T){return this.initLoginFlowInPopup(T)}initLoginFlowInPopup(T){return T=T||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(w=>new Promise((i,S)=>{let k,E=null;T.windowRef?T.windowRef&&!T.windowRef.closed&&(E=T.windowRef,E.location.href=w):E=window.open(w,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(T));const R=se=>{this.tryLogin({customHashFragment:se,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{q(),i(!0)},ce=>{q(),S(ce)})};E?k=window.setInterval(()=>{(!E||E.closed)&&(q(),S(new OAuthErrorEvent("popup_closed",{})))},500):S(new OAuthErrorEvent("popup_blocked",{}));const q=()=>{window.clearInterval(k),window.removeEventListener("storage",X),window.removeEventListener("message",$),null!==E&&E.close(),E=null},$=se=>{const ce=this.processMessageEventMessage(se);ce&&null!==ce?(window.removeEventListener("storage",X),R(ce)):console.log("false event firing")},X=se=>{"auth_hash"===se.key&&(window.removeEventListener("message",$),R(se.newValue))};window.addEventListener("message",$),window.addEventListener("storage",X)}))}calculatePopupFeatures(T){const w=T.height||470,i=T.width||500,S=window.screenLeft+(window.outerWidth-i)/2;return`location=no,toolbar=no,width=${i},height=${w},top=${window.screenTop+(window.outerHeight-w)/2},left=${S}`}processMessageEventMessage(T){let w="#";if(this.silentRefreshMessagePrefix&&(w+=this.silentRefreshMessagePrefix),!T||!T.data||"string"!=typeof T.data)return;const i=T.data;return i.startsWith(w)?"#"+i.substr(w.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=T=>{const w=T.origin.toLowerCase(),i=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),i.startsWith(w)){switch(T.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",T)}else this.debug("sessionCheckEventListener","wrong origin",w,"expected",i,"event",T)},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(T=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(T=>{this.debug("token refresh after session change worked")}).catch(T=>{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)(T=>"silently_refreshed"===T.type||"silent_refresh_timeout"===T.type||"silent_refresh_error"===T.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(T=>{"silently_refreshed"!==T.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 T=this.document.getElementById(this.sessionCheckIFrameName);T&&this.document.body.removeChild(T);const w=this.document.createElement("iframe");w.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),w.setAttribute("src",this.sessionCheckIFrameUrl),w.style.display="none",this.document.body.appendChild(w),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 T=this.document.getElementById(this.sessionCheckIFrameName);T||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const w=this.getSessionState();w||this.stopSessionCheckTimer(),T.contentWindow.postMessage(this.clientId+" "+w,this.issuer)}createLoginUrl(T="",w="",i="",S=!1,x={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const E=this;let k;k=i||this.redirectUri;const R=yield this.createAndSaveNonce();if(T=T?R+this.config.nonceStateSeparator+encodeURIComponent(T):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 V=E.loginUrl.indexOf("?")>-1?"&":"?";let q=E.scope;this.oidc&&!q.match(/(^|\s)openid($|\s)/)&&(q="openid "+q);let $=E.loginUrl+V+"response_type="+encodeURIComponent(E.responseType)+"&client_id="+encodeURIComponent(E.clientId)+"&state="+encodeURIComponent(T)+"&redirect_uri="+encodeURIComponent(k)+"&scope="+encodeURIComponent(q);if(this.responseType.includes("code")&&!this.disablePKCE){const[X,se]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",se):this._storage.setItem("PKCE_verifier",se),$+="&code_challenge="+X,$+="&code_challenge_method=S256"}w&&($+="&login_hint="+encodeURIComponent(w)),E.resource&&($+="&resource="+encodeURIComponent(E.resource)),E.oidc&&($+="&nonce="+encodeURIComponent(R)),S&&($+="&prompt=none");for(const X of Object.keys(x))$+="&"+encodeURIComponent(X)+"="+encodeURIComponent(x[X]);if(this.customQueryParams)for(const X of Object.getOwnPropertyNames(this.customQueryParams))$+="&"+X+"="+encodeURIComponent(this.customQueryParams[X]);return $})}initImplicitFlowInternal(T="",w=""){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={},S=null;"string"==typeof w?S=w:"object"==typeof w&&(i=w),this.createLoginUrl(T,S,null,!1,i).then(this.config.openUri).catch(x=>{console.error("Error in initImplicitFlow",x),this.inImplicitFlow=!1})}initImplicitFlow(T="",w=""){""!==this.loginUrl?this.initImplicitFlowInternal(T,w):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(i=>"discovery_document_loaded"===i.type)).subscribe(i=>this.initImplicitFlowInternal(T,w))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(T){const w=this;if(T.onTokenReceived){const i={idClaims:w.getIdentityClaims(),idToken:w.getIdToken(),accessToken:w.getAccessToken(),state:w.state};T.onTokenReceived(i)}}storeAccessTokenResponse(T,w,i,S,x){if(this._storage.setItem("access_token",T),S&&!Array.isArray(S)?this._storage.setItem("granted_scopes",JSON.stringify(S.split(" "))):S&&Array.isArray(S)&&this._storage.setItem("granted_scopes",JSON.stringify(S)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),i){const E=1e3*i,R=this.dateTimeService.new().getTime()+E;this._storage.setItem("expires_at",""+R)}w&&this._storage.setItem("refresh_token",w),x&&x.forEach((E,k)=>{this._storage.setItem(k,E)})}tryLogin(T=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(T).then(w=>!0):this.tryLoginImplicitFlow(T)}parseQueryString(T){return T&&0!==T.length?("?"===T.charAt(0)&&(T=T.substr(1)),this.urlHelper.parseQueryString(T)):{}}tryLoginCodeFlow(T=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.mG)(this,void 0,void 0,function*(){const w=(T=T||{}).customHashFragment?T.customHashFragment.substring(1):window.location.search,i=this.getCodePartsFromUrl(w),S=i.code,x=i.state,E=i.session_state;if(!T.preventClearHashAfterLogin){const V=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,V)}let[k,R]=this.parseState(x);if(this.state=R,i.error){this.debug("error trying to login"),this.handleLoginError(T,i);const V=new OAuthErrorEvent("code_error",{},i);return this.eventsSubject.next(V),Promise.reject(V)}if(!T.disableNonceCheck){if(!k)return this.saveRequestedRoute(),Promise.resolve();if(!T.disableOAuth2StateCheck&&!this.validateNonce(k)){const q=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(q),Promise.reject(q)}return this.storeSessionState(E),S&&(yield this.getTokenFromCode(S,T),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const T=this._storage.getItem("requested_route");T&&history.replaceState(null,"",window.location.origin+T)}getCodePartsFromUrl(T){return T&&0!==T.length?("?"===T.charAt(0)&&(T=T.substr(1)),this.urlHelper.parseQueryString(T)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(T,w){let i=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",T).set("redirect_uri",w.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let S;S=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),S?i=i.set("code_verifier",S):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(i,w)}fetchAndProcessToken(T,w){w=w||{},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 S=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+S)}return this.useHttpBasicAuth||(T=T.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(T=T.set("client_secret",this.dummyClientSecret)),new Promise((S,x)=>{if(this.customQueryParams)for(let E of Object.getOwnPropertyNames(this.customQueryParams))T=T.set(E,this.customQueryParams[E]);this.http.post(this.tokenEndpoint,T,{headers:i}).subscribe(E=>{this.debug("refresh 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,w.disableNonceCheck).then(k=>{this.storeIdToken(k),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E)}).catch(k=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",k)),console.error("Error validating tokens"),console.error(k),x(k)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),S(E))},E=>{console.error("Error getting token",E),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",E)),x(E)})})}tryLoginImplicitFlow(T=null){let w;w=(T=T||{}).customHashFragment?this.urlHelper.getHashFragmentParams(T.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",w);const i=w.state;let[S,x]=this.parseState(i);if(this.state=x,w.error){this.debug("error trying to login"),this.handleLoginError(T,w);const q=new OAuthErrorEvent("token_error",{},w);return this.eventsSubject.next(q),Promise.reject(q)}const E=w.access_token,k=w.id_token,R=w.session_state,V=w.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!E||this.requestAccessToken&&!T.disableOAuth2StateCheck&&!i||this.oidc&&!k)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&&!T.disableNonceCheck&&!this.validateNonce(S)){const $=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next($),Promise.reject($)}return this.requestAccessToken&&this.storeAccessTokenResponse(E,null,w.expires_in||this.fallbackAccessTokenExpirationTimeInSec,V),this.oidc?this.processIdToken(k,E,T.disableNonceCheck).then(q=>T.validationHandler?T.validationHandler({accessToken:E,idClaims:q.idTokenClaims,idToken:q.idToken,state:i}).then($=>q):q).then(q=>(this.storeIdToken(q),this.storeSessionState(R),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(T),this.inImplicitFlow=!1,!0)).catch(q=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",q)),this.logger.error("Error validating tokens"),this.logger.error(q),Promise.reject(q))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(T),Promise.resolve(!0))}parseState(T){let w=T,i="";if(T){const S=T.indexOf(this.config.nonceStateSeparator);S>-1&&(w=T.substr(0,S),i=T.substr(S+this.config.nonceStateSeparator.length))}return[w,i]}validateNonce(T){let w;return w=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),w===T||(console.error("Validating access_token failed, wrong state/nonce.",w,T),!1)}storeIdToken(T){this._storage.setItem("id_token",T.idToken),this._storage.setItem("id_token_claims_obj",T.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+T.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(T){this._storage.setItem("session_state",T)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(T,w){T.onLoginError&&T.onLoginError(w),this.clearHashAfterLogin&&!T.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(T=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:T}processIdToken(T,w,i=!1){const S=T.split("."),E=b64DecodeUnicode(this.padBase64(S[0])),k=JSON.parse(E),V=b64DecodeUnicode(this.padBase64(S[1])),q=JSON.parse(V);let $;if($=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(q.aud)){if(q.aud.every(he=>he!==this.clientId)){const he="Wrong audience: "+q.aud.join(",");return this.logger.warn(he),Promise.reject(he)}}else if(q.aud!==this.clientId){const he="Wrong audience: "+q.aud;return this.logger.warn(he),Promise.reject(he)}if(!q.sub){const he="No sub claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==q.sub){const he=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${q.sub}`;return this.logger.warn(he),Promise.reject(he)}if(!q.iat){const he="No iat claim in id_token";return this.logger.warn(he),Promise.reject(he)}if(!this.skipIssuerCheck&&q.iss!==this.issuer){const he="Wrong issuer: "+q.iss;return this.logger.warn(he),Promise.reject(he)}if(!i&&q.nonce!==$){const he="Wrong nonce: "+q.nonce;return this.logger.warn(he),Promise.reject(he)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!q.at_hash){const he="An at_hash is needed!";return this.logger.warn(he),Promise.reject(he)}const X=this.dateTimeService.now(),se=1e3*q.iat,ce=1e3*q.exp,ie=this.getClockSkewInMsec();if(se-ie>=X||ce+ie<=X){const he="Token has expired";return console.error(he),console.error({now:X,issuedAtMSec:se,expiresAtMSec:ce}),Promise.reject(he)}const te={accessToken:w,idToken:T,jwks:this.jwks,idTokenClaims:q,idTokenHeader:k,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(te).then(he=>({idToken:T,idTokenClaims:q,idTokenClaimsJson:V,idTokenHeader:k,idTokenHeaderJson:E,idTokenExpiresAt:ce})):this.checkAtHash(te).then(he=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!he){const ge="Wrong at_hash";return this.logger.warn(ge),Promise.reject(ge)}return this.checkSignature(te).then(ge=>{const We={idToken:T,idTokenClaims:q,idTokenClaimsJson:V,idTokenHeader:k,idTokenHeaderJson:E,idTokenExpiresAt:ce};return this.disableAtHashCheck?We:this.checkAtHash(te).then(Ze=>{if(this.requestAccessToken&&!Ze){const Ee="Wrong at_hash";return this.logger.warn(Ee),Promise.reject(Ee)}return We})})})}getIdentityClaims(){const T=this._storage.getItem("id_token_claims_obj");return T?JSON.parse(T):null}getGrantedScopes(){const T=this._storage.getItem("granted_scopes");return T?JSON.parse(T):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(T){for(;T.length%4!=0;)T+="=";return T}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 T=this._storage.getItem("expires_at"),w=this.dateTimeService.new();return!(T&&parseInt(T,10)=0&&null!==this._storage.getItem(T)?JSON.parse(this._storage.getItem(T)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(T={},w=""){let i=!1;"boolean"==typeof T&&(i=T,T={});const S=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(E=>this._storage.removeItem(E)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||i||!S&&!this.postLogoutRedirectUri)return;let x;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)x=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(S)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let E=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.LE({encoder:new WebHttpUrlEncodingCodec});S&&(E=E.set("id_token_hint",S));const k=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";k&&(E=E.set("post_logout_redirect_uri",k),w&&(E=E.set("state",w)));for(let R in T)E=E.set(R,T[R]);x=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+E.toString()}this.config.openUri(x)}createAndSaveNonce(){const T=this;return this.createNonce().then(function(w){return T.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",w):T._storage.setItem("nonce",w),w})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const T=this.document.getElementById(this.silentRefreshIFrameName);T&&T.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const w=this.document.getElementById(this.sessionCheckIFrameName);w&&w.remove()}createNonce(){return new Promise(T=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let i=45,S="";const x="undefined"==typeof self?null:self.crypto||self.msCrypto;if(x){let E=new Uint8Array(i);x.getRandomValues(E),E.map||(E.map=Array.prototype.map),E=E.map(k=>w.charCodeAt(k%w.length)),S=String.fromCharCode.apply(null,E)}else for(;0"discovery_document_loaded"===i.type)).subscribe(i=>this.initCodeFlowInternal(T,w))}initCodeFlowInternal(T="",w={}){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={},S=null;"string"==typeof w?S=w:"object"==typeof w&&(i=w),this.createLoginUrl(T,S,null,!1,i).then(this.config.openUri).catch(x=>{console.error("Error in initAuthorizationCodeFlow"),console.error(x)})}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 T=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(T,"sha-256")),T]})}extractRecognizedCustomParameters(T){let w=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(i=>{T[i]&&w.set(i,JSON.stringify(T[i]))}),w}revokeTokenAndLogout(T={},w=!1){let i=this.revocationEndpoint,S=this.getAccessToken(),x=this.getRefreshToken();if(!S)return;let E=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 R=btoa(`${this.clientId}:${this.dummyClientSecret}`);k=k.set("Authorization","Basic "+R)}if(this.useHttpBasicAuth||(E=E.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(E=E.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const R of Object.getOwnPropertyNames(this.customQueryParams))E=E.set(R,this.customQueryParams[R]);return new Promise((R,V)=>{let q,$;if(S){let X=E.set("token",S).set("token_type_hint","access_token");q=this.http.post(i,X,{headers:k})}else q=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(x){let X=E.set("token",x).set("token_type_hint","refresh_token");$=this.http.post(i,X,{headers:k})}else $=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);w&&(q=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(X=>0===X.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(X))),$=$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(X=>0===X.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(X)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.a)([q,$]).subscribe(X=>{this.logOut(T),R(X),this.logger.info("Token successfully revoked")},X=>{this.logger.error("Error revoking token",X),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",X)),V(X)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return j.\u0275fac=function(T){return new(T||j)(_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))},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(Y){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(Y)}}let DefaultOAuthInterceptor=(()=>{class j{constructor(T,w,i){this.oAuthService=T,this.errorHandler=w,this.moduleConfig=i}checkUrl(T){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(T):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(w=>T.toLowerCase().startsWith(w.toLowerCase()))}intercept(T,w){const i=T.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)(x=>!!x)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(x=>"token_received"===x.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(x=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(x=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.z)(x=>{if(x){const k=T.headers.set("Authorization","Bearer "+x);T=T.clone({headers:k})}return w.handle(T).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(E=>this.errorHandler.handleError(E)))})):w.handle(T).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(x=>this.errorHandler.handleError(x))):w.handle(T)}}return j.\u0275fac=function(T){return new(T||j)(_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))},j.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Yz7({token:j,factory:j.\u0275fac}),j})();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 j{static forRoot(T=null,w=NullValidationHandler){return{ngModule:j,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:w},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:T},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.TP,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oAB({type:j}),j.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.cJS({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.ez]]}),j})();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:j=>{"use strict";j.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:j=>{"use strict";j.exports={i8:"9.1.0"}}},j=>{j(j.s=7742)}]); \ No newline at end of file